You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2 lines
171 KiB

(function(t){function e(e){for(var s,n,r=e[0],l=e[1],c=e[2],u=0,h=[];u<r.length;u++)n=r[u],Object.prototype.hasOwnProperty.call(i,n)&&i[n]&&h.push(i[n][0]),i[n]=0;for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&(t[s]=l[s]);d&&d(e);while(h.length)h.shift()();return o.push.apply(o,c||[]),a()}function a(){for(var t,e=0;e<o.length;e++){for(var a=o[e],s=!0,r=1;r<a.length;r++){var l=a[r];0!==i[l]&&(s=!1)}s&&(o.splice(e--,1),t=n(n.s=a[0]))}return t}var s={},i={app:0},o=[];function n(e){if(s[e])return s[e].exports;var a=s[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=s,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(a,s,function(e){return t[e]}.bind(null,s));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/";var r=window["webpackJsonp"]=window["webpackJsonp"]||[],l=r.push.bind(r);r.push=e,r=r.slice();for(var c=0;c<r.length;c++)e(r[c]);var d=l;o.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"034f":function(t,e,a){"use strict";a("64a9")},"0db6":function(t,e,a){},"0ed5":function(t,e,a){t.exports=a.p+"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14/fdYJ3SiiS1n04uLgH2GPbT/DHtp7lj3k8zh9BP8+YcoZ/mDK2fZsxEP73TjQC1n2ZLD7Wf5soTx38/DVt+ZgUqHQlA+eGeMUR87PJfGQo3trcWQ5w4ceLE4covD6NT8cdAqtUAAAAASUVORK5CYII="},4678:function(t,e,a){var s={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(t){var e=o(t);return a(e)}function o(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=o,t.exports=i,i.id="4678"},4788:function(t,e,a){"use strict";a("5f73")},"4c44":function(t,e,a){},"546d":function(t,e,a){"use strict";a("f67a")},"55b7":function(t,e,a){"use strict";a("603c")},"56d7":function(t,e,a){"use strict";a.r(e);var s=a("2b0e"),i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"container-fluid",attrs:{id:"app"}},[!0===t.warning?s("div",[s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 order-first "},[s("br")]),s("div",{staticClass:"col-8 order-last"},[s("br"),s("h2",[t._v(" Welcome to Swarmlab-venus! ")]),s("br"),t._v("\n\n\t\t\t\t\t\tYou are now "),s("b",[t._v("connected to the local Swarmlab client.")]),s("br"),t._v("\n\t\t\t\t\t\tThat means that "),s("b",[t._v("at the moment you are offline")]),t._v(" and can only "),s("b",[t._v("work locally on your PC.")]),s("br"),s("br"),t._v("\n\n\t\t\t\t\t\tTo "),s("u",[t._v("connect to the server")]),t._v(" please "),s("i",[t._v('visit the "Network->Join" Menu and click on "connect".')]),s("br"),s("br"),s("b",[t._v("DISCLAMER:")]),s("br"),t._v('\n\t\t\t\t\t\tWhen connecting to other "Networks" '),s("b",[t._v("your host is becoming part of a network")]),t._v(" of multiple other computers that are also connected.\n\t\t\t\t\t\t"),s("br"),t._v("\n\t\t\t\t\t\tThis means that communication between those hosts is unlimited (no firewall).\n\t\t\t\t\t\t"),s("br"),s("br"),t._v("\n\n\t\t\t\t\t\tSince docker is a contained virtual environment this is "),s("b",[t._v("VERY SAFE")]),s("br"),s("br"),s("b",[t._v("BUT")]),s("br"),t._v("\n\t\t\t\t\t\tto be absolutely secure, like when connecting to any network:\n\t\t\t\t\t\t"),s("br"),s("ul",[s("li",[t._v("\n\t\t\t\t\t\t\t\tplease make sure "),s("b",[t._v("your passwords are strong")]),t._v(" (and obviously "),s("b",[t._v("change all defaults")]),t._v(" like the ones provided for the downloadable docker images or our labs, since they are publicly available)\n\n\t\t\t\t\t\t\t ")]),s("li",[t._v("\n\t\t\t\t\t\t\t\tdon't connect to hosts you don't trust (e.g. when using the hybrid only trust relliable sources)\n\t\t\t\t\t\t\t ")]),s("li",[t._v("\n\t\t\t\t\t\t\t\tbe aware that you are in a public network (like an airport e.g.) and act accordingly\n\t\t\t\t\t\t\t ")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-5 order-first "},[s("b",[t._v("You can always check your connection status at the top right")])]),s("div",{staticClass:"col-7 order-last"},[s("img",{attrs:{src:a("a2af"),alt:"..."}})])]),s("br"),s("br"),s("h4",{staticClass:"text-warning"},[t._v(" \n Please make sure all users on your system have a strong password!\n ")]),s("h5",{staticClass:"text-info"},[s("span",{staticClass:"text-dark"},[t._v("Advice:")]),t._v(" If at all unsure (e.g. "),s("span",{staticClass:"text-primary"},[t._v("if your machine has personal data on it")]),t._v(") you can ofcourse use our image and launch a virtual machine to be absolutely isolated.\n ")]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 order-first "},[s("br")]),s("div",{staticClass:"col-8 order-last"},[s("div",{staticClass:"input-group"},[s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-danger",attrs:{round:"",type:"button"},on:{click:t.setWarning}},[t._v("\n\t\t\t\t\t\t\t\t\tYes I understad and will be careful")])])])])])])])])],1):s("div",[s("nav",{staticClass:"navbar navbar-light navbar-expand-md bg-light justify-content-md-center justify-content-start"},[s("b-navbar-brand",{staticClass:"logo simple-text ti-swarmlab text-secondary"},[t._v("\n Swarmlab.io\n ")]),s("div",{staticClass:"navbar-collapse collapse justify-content-between align-items-center w-100",attrs:{id:"collapsingNavbar2"}},[s("ul",{staticClass:"navbar-nav mx-auto text-md-center text-left"},[s("b-nav-item",{attrs:{href:"https://git.swarmlab.io:3000",target:"_swarmlabgit"}},[t._v(" Swarmlab_git ")]),t._m(0),t._m(1),t._m(2),s("b-nav-item",{attrs:{href:"https://gitter.im/swarmlab-hybrid/community",target:"_gitter"}},[t._v(" Join_us_on_Gitter ")]),s("b-nav-item",{attrs:{href:"https://vimeo.com/showcase/7887267",target:"_vimeo"}},[t._v(" Follow_us_on_Vimeo ")])],1),s("ul",{staticClass:"nav navbar-nav flex-row justify-content-md-center justify-content-start flex-nowrap"},["close"===t.issocket?s("b-nav-item",{on:{click:function(e){return t.onAction("connect")}}},[t._v("Agent reconnect")]):s("b-nav-item",[t._v("Agent")]),"close"===t.issocket?s("li",{staticClass:"nav-item"},[s("a",{staticClass:"ti-link nav-link text-danger",attrs:{href:"#",title:"You are disconnected from hybrid_agent"},on:{click:function(e){return t.onAction("connect")}}})]):s("li",{staticClass:"nav-item"},[s("a",{staticClass:"ti-link nav-link text-success",attrs:{href:"#",title:"You are connected hybrid_agent"}})]),s("b-nav-item")],1)])],1),s("b-row",[s("b-col",{attrs:{cols:"12"}},[s("div",{staticClass:"d-flex",attrs:{id:"wrapper"}},["max"==t.sidemenou?s("div",{staticClass:" bg-light border-right",staticStyle:{width:"15rem"},attrs:{id:"sidebar-wrapper"}},[s("div",{staticClass:"list-group list-group-flush"},[s("b-list-group-item",{directives:[{name:"b-toggle",rawName:"v-b-toggle.hybrid-dashboard",modifiers:{"hybrid-dashboard":!0}}],staticClass:"ti-dashboard list-group-item list-group-item-action",class:{active:t.isActive("dashboard")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Dashboard"},on:{click:[function(e){return t.setActive("dashboard","")},function(e){return t.hybrid("dashboard")}]}},[t._v(" Dashboard")]),s("b-collapse",{staticClass:"m-subm",attrs:{id:"hybrid-dashboard",accordion:"m-sidebar",role:"tabpanel"}},[s("b-list-group-item",{staticClass:"ti-view-grid m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("dashboard_dashboard")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"dashboard"},on:{click:function(e){return t.setActive("dashboard","dashboard_dashboard")}}},[t._v(" Dashoard")])],1),s("b-list-group-item",{directives:[{name:"b-toggle",rawName:"v-b-toggle.hybrid-hybrid",modifiers:{"hybrid-hybrid":!0}}],staticClass:"ti-loop list-group-item list-group-item-action",class:{active:t.isActive("hybrid")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Local"},on:{click:[function(e){return t.setActive("hybrid","")},function(e){return t.hybrid("manage_service")}]}},[t._v(" Network")]),s("b-collapse",{staticClass:"m-subm",attrs:{id:"hybrid-hybrid",accordion:"m-sidebar",role:"tabpanel"}},[s("b-list-group-item",{staticClass:"ti-target m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("hybrid_instances")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Hybrid"},on:{click:[function(e){return t.setActive("hybrid","hybrid_instances")},function(e){return t.hybrid("manage_service")}]}},[t._v(" Join")]),s("b-list-group-item",{staticClass:"ti-cloud-up m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("hybrid_deploy")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Deploy"},on:{click:[function(e){return t.setActive("hybrid","hybrid_deploy")},function(e){return t.hybrid("manage_deploy")}]}},[t._v(" Deploy")])],1),s("b-list-group-item",{directives:[{name:"b-toggle",rawName:"v-b-toggle.hybrid-builders",modifiers:{"hybrid-builders":!0}}],staticClass:"ti-stats-up list-group-item list-group-item-action",class:{active:t.isActive("builders")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Private"},on:{click:[function(e){return t.setActive("builders","")},function(e){return t.hybrid("stats")}]}},[t._v(" Stats")]),s("b-collapse",{staticClass:"m-subm",attrs:{id:"hybrid-builders",accordion:"m-sidebar",role:"tabpanel"}},[s("b-list-group-item",{staticClass:" ti-stats-up m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("hybrid_builders")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"build_vmware"},on:{click:[function(e){return t.setActive("builders","hybrid_builders")},function(e){return t.hybrid("stats")}]}},[t._v(" stats")])],1),s("b-list-group-item",{staticClass:"ti-angle-double-left list-group-item list-group-item-action",class:{active:t.isActive("menou-min")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"menou-min",title:"Minimize"},on:{click:function(e){return t.onActionMenu("min")}}})],1)]):t._e(),"min"==t.sidemenou?s("div",{staticClass:" bg-light border-right",attrs:{id:"sidebar-wrapper1"}},[s("div",{staticClass:"list-group list-group-flush"},[s("b-list-group-item",{directives:[{name:"b-toggle",rawName:"v-b-toggle.hybrid-dashboard1",modifiers:{"hybrid-dashboard1":!0}}],staticClass:"ti-dashboard list-group-item list-group-item-action",class:{active:t.isActive("dashboard")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Dashboard",title:"Dashboard"},on:{click:[function(e){return t.setActive("dashboard","")},function(e){return t.hybrid("dashboard")}]}}),s("b-collapse",{staticClass:"m-subm",attrs:{id:"hybrid-dashboard1",accordion:"m-sidebar",role:"tabpanel"}},[s("b-list-group-item",{staticClass:"ti-view-grid m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("dashboard_dashboard")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"dashboard",title:"Dashboard"},on:{click:function(e){return t.setActive("dashboard","dashboard_dashboard")}}})],1),s("b-list-group-item",{directives:[{name:"b-toggle",rawName:"v-b-toggle.hybrid-hybrid1",modifiers:{"hybrid-hybrid1":!0}}],staticClass:"ti-loop list-group-item list-group-item-action",class:{active:t.isActive("hybrid")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Local",title:"Hybrid"},on:{click:[function(e){return t.setActive("hybrid","")},function(e){return t.hybrid("manage_service")}]}}),s("b-collapse",{staticClass:"m-subm",attrs:{id:"hybrid-hybrid1",accordion:"m-sidebar",role:"tabpanel"}},[s("b-list-group-item",{staticClass:"ti-target m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("hybrid_instances")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Hybrid",title:"Zones"},on:{click:[function(e){return t.setActive("hybrid","hybrid_instances")},function(e){return t.hybrid("manage_service")}]}}),s("b-list-group-item",{staticClass:"ti-cloud-up m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("hybrid_deploy")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Deploy",title:"Deploy"},on:{click:[function(e){return t.setActive("hybrid","hybrid_deploy")},function(e){return t.hybrid("manage_deploy")}]}})],1),s("b-list-group-item",{directives:[{name:"b-toggle",rawName:"v-b-toggle.hybrid-builders1",modifiers:{"hybrid-builders1":!0}}],staticClass:"ti-stats-up list-group-item list-group-item-action",class:{active:t.isActive("builders")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"Private",title:"Stats"},on:{click:[function(e){return t.setActive("builders","")},function(e){return t.hybrid("stats")}]}}),s("b-collapse",{staticClass:"m-subm",attrs:{id:"hybrid-builders1",accordion:"m-sidebar",role:"tabpanel"}},[s("b-list-group-item",{staticClass:" ti-stats-up m-subm-listgroup list-group-item list-group-item-action",class:{active:t.isActiveSub("hybrid_builders")},staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"build_vmware",title:"Show stats"},on:{click:[function(e){return t.setActive("builders","hybrid_builders")},function(e){return t.hybrid("stats")}]}})],1),s("b-list-group-item",{staticClass:"ti-angle-double-right list-group-item list-group-item-action",staticStyle:{cursor:"pointer"},attrs:{variant:"light",name:"menou-max",title:"Maximize"},on:{click:function(e){return t.onActionMenu("max")}}})],1)]):t._e(),s("div",{staticClass:"w-100 p-3",staticStyle:{"background-color":"#eee"}},["dashboard"==t.hybridmenou?s("view-dashboard",{staticStyle:{"background-color":"#f8f9fa"}}):t._e(),"manage_service"==t.hybridmenou?s("manage-services",{key:t.componentKeyreload,staticStyle:{"background-color":"#f8f9fa"}}):t._e(),"manage_deploy"==t.hybridmenou?s("manage-deploy",{staticStyle:{"background-color":"#f8f9fa"}}):t._e(),s("connect-server",{directives:[{name:"show",rawName:"v-show",value:"connect-server"==t.hybridmenou,expression:"hybridmenou == 'connect-server'"}],staticStyle:{"background-color":"#f8f9fa"}}),"stats"==t.hybridmenou?s("manage-stats",{key:t.componentKeybuilders,staticStyle:{"background-color":"#f8f9fa"}}):t._e()],1)])])],1),s("footer",{staticClass:"footer"},[s("div",{staticClass:"container",staticStyle:{"max-width":"75%"},attrs:{id:"appfooter"}},[t._m(3),t._v("\n\t\t\t\t  |   \n "),s("a",{staticClass:"text-info",attrs:{href:"https://www.gnu.org/licenses/agpl-3.0.html",target:"_blank"}},[t._v(" ©")]),t._v("\n\t\t\t\t  Coded with  \n "),s("i",{staticClass:"ti-heart"}),t._v("   by\n "),s("a",{staticClass:"text-info",attrs:{href:"https://git.swarmlab.io:3000/zeus",target:"_blank"}},[t._v("   zeus")]),t._v(" \n\t\t\t\t- Released under the\n "),s("a",{staticClass:"text-info",attrs:{href:"https://www.gnu.org/licenses/agpl-3.0.html",target:"_blank"}},[t._v("   GNU AGPL License")]),t._v("  | \n\t\t\t\t"),s("a",{staticClass:"text-info",attrs:{href:"#"},on:{click:function(e){return t.showdiscl()}}},[t._v("Disclaimer and Notices")]),"llo"==t.hybridmenou||"dashboard"==t.hybridmenou?s("span",[t._v("\n\t\t\t\t  |   \n\t\t\t\t")]):t._e(),"llo"==t.hybridmenou||"dashboard"==t.hybridmenou?s("a",{staticClass:"external text text-info",attrs:{rel:"nofollow",href:"https://letsgolarval.wordpress.com/open-art/",target:"newl"}},[t._v("\n\t\t\t\tLinux Penguin\n\t\t\t")]):t._e(),"llo"==t.hybridmenou||"dashboard"==t.hybridmenou?s("span",[t._v("\n\t\t\t\t\tby Rebekah Yoder / \n\t\t\t\t")]):t._e(),"llo"==t.hybridmenou||"dashboard"==t.hybridmenou?s("a",{staticClass:"external text text-info",attrs:{rel:"nofollow",href:"https://creativecommons.org/licenses/by/2.0/",target:"newl"}},[t._v("BY-SA\n\t\t\t")]):t._e()])])],1)])},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"#"}},[t._v("\n -\n ")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"nav-item my-auto"},[a("a",{staticClass:"nav-link navbar-brand mx-0 d-none d-md-inline",attrs:{href:""}},[t._v("Venus")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"#"}},[t._v("\n -\n ")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"jsl10n",attrs:{"data-jsl10n":"license"}},[t._v("Content is available under the \n\t\t\t\t"),a("a",{staticClass:"text-info",attrs:{href:"https://creativecommons.org/licenses/by-sa/3.0/",target:"_blank"}},[t._v("Creative Commons License")])])}],n=(a("e454"),a("2f62")),r=a("5f5b"),l=a("bc3a"),c=a.n(l);const d={swarmlab_url_80:"https://api.swarmlab.io",url_80:"http://localhost:8085",url_443:"https://localhost:8085"};var u={namespaced:!0,state:{token:"",socketStatus:"close",status:{},statusswarmlab:{},config:{}},getters:{getsocketStatus(t,e){return t.socketStatus},gettoken(t,e){return t.token},getlog(t,e){return t.log},getconfig(t,e){return t.config},getstatus(t,e){return t.status},getstatusswarmlab(t,e){return t.statusswarmlab}},mutations:{set_socketStatus(t,e){t.socketStatus=e},set_token(t,e){t.token=e},set_status(t,e){t.status=e},add_log(t,e){t.log.push(e)},add_config(t,e){t.config=e},add_statusswarmlab(t,e){console.log("status server "+JSON.stringify(e)),t.statusswarmlab=e}},actions:{addstatusswarmlab({commit:t},e){t("add_statusswarmlab",e)},addconfig({commit:t},e){t("add_config",e)},addlog({commit:t},e){var a={};a.message=e.log.log.message,a.tailed_path=e.log.log.tailed_path,a.date=e.log.date,t("add_log",a)},setsocketStatus({commit:t},e){t("set_socketStatus",e.status)},settoken({commit:t},e){t("set_token",e.token)},setstatus({commit:t},e){t("set_status",e.status)},async swarmlabstart({commit:t,rootGetters:e},a){try{var s=a.token,i={action:a.action},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/run";await c.a.post(n,i,o)}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async oncompletiontracking({commit:t,rootGetters:e},a){try{var s=a.token,i={action:a.action,track:a.track,course:a.course,chapter:a.chapter,evaluation:a.evaluation},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/completiontracking",i,o);"invalid_token"==n.error&&console.log(n)}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async getcompletion({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={course:a.course,chapter:a.chapter},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}};const t=await c.a.get("https://api.swarmlab.io/getcompletion",o);return t}catch(n){"invalid_token"==n.error&&(window.location.href="https://api-login.swarmlab.io:8089")}},async getevents({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={begin:a.begin,end:a.end},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}};const t=await c.a.get("https://api.swarmlab.io/getswarmlabevents",o);return t}catch(n){"invalid_token"==n.error&&(window.location.href="https://api-login.swarmlab.io:8089")}},async swarmlabhybridapi({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i=a,o={pipeline:i},n={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},r=await c.a.post("https://api.swarmlab.io/swarmlabhybridapi",o,n);return r}catch(l){"invalid_token"==l.error&&(window.location.href="https://api-login.swarmlab.io:8089"),console.error(l)}},async getprogress({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={course:a.course},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}};const t=await c.a.get("https://api.swarmlab.io/getprogress",o);return t}catch(n){"invalid_token"==n.error&&(window.location.href="https://api-login.swarmlab.io:8089")}},async swarmlabhybridadd({commit:t,rootGetters:e},a){try{var s=a.token,i={action:a.action,nodename:a.nodename,nodeip:a.nodeip,nodeid:a.nodeid,noderole:a.noderole,nodezones:a.nodezones,nodedesc:a.nodedesc},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridadd",i,o);"invalid_token"==n.error&&console.log(n)}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async swarmlabhybridrm({commit:t,rootGetters:e},a){try{var s=a.token,i={action:a.action,nodename:a.nodename,nodeip:a.nodeip,nodeid:a.nodeid,noderole:a.noderole,nodezones:a.nodezones,nodedesc:a.nodedesc},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridrm",i,o);"invalid_token"==n.error&&console.log(n)}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async getmountinfo({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a.instance},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getmountinfo",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getservicesinfo({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a.instance},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getservicesinfo",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getnetworks({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getnetworks",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async hybrid_join_start({commit:t,rootGetters:e},a){try{var s=a.token,i={publickey:a.publickey,endpointport:a.endpointport,bootstrapstackid:a.bootstrapstackid,serverip:a.serverip,netmask:a.netmask,peer_ip:a.peer_ip,allowedips:a.allowedips,privatekey:a.privatekey},o={headers:{"content-type":"application/json",Authorization:"Bearer "+s}},n=d.url_80+"/hybrid_join_start",r=await c.a.post(n,i,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async hybrid_join_connect({commit:t,rootGetters:e},a){try{var s=a.token,i={action:a.action,bootstrapstackid:a.bootstrapstackid},o={headers:{"content-type":"application/json",Authorization:"Bearer "+s}},n=d.url_80+"/hybrid_join_connect",r=await c.a.post(n,i,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async updatenetworks({commit:t,rootGetters:e},a){try{var s=a.token,i={network:a.networks,defaultnetwork:a.defaultnetwork,container:a.container},o={headers:{"content-type":"application/json",Authorization:"Bearer "+s}},n=d.url_80+"/updatenetworks",r=await c.a.post(n,i,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async getlogs({commit:t,rootGetters:e},a){try{var s=a.token,i={container:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getlogs",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getswgdata({commit:t,rootGetters:e},a){try{var s=a.token,i={stackid:a.stackid,publickey:a.publickey},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getwginterfacesstats",r=await c.a.get(n,o);return r}catch(h){if("Request failed with status code 401"!=h.message&&!/401/i.test(h.message)){var l={ERROR_str:h,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}var u={labels:["2021-05-13-13:20","2021-05-13-13:21","2021-05-13-13:22","2021-05-13-13:23","2021-05-13-13:24","2021-05-13-13:25","2021-05-13-13:26","2021-05-13-13:27","2021-05-13-13:28","2021-05-13-13:29","2021-05-13-13:30","2021-05-13-13:31"],datasets:[{label:"In",backgroundColor:"#f87979",data:[70,20,12,39,100,40,95,80,80,20,12,101]},{label:"Out",backgroundColor:"#A5CC82",data:[205,408,188,190,58,200,190,400,164,254,290,201]}]};return u},async getserviceshybridstatus({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapnameid:a.bootstrapnameid,bootstrapstackname:a.bootstrapstackname},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getserviceshybridstatus",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getservicesstatus({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a.instance},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getservicesstatus",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async rmbuildstatus({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a.instance},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/rmbuildstatus",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getbuildstatus({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a.instance},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getbuildstatus",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getstoragestatus({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a.instance},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/getstoragestatus",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async create_config({commit:t,rootGetters:e},a){try{var s=a.token,i={value:a.value},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/create_config",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async rmswarmlablocal({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/rm_swarmlab",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async rmswarmlablocalstorage({commit:t,rootGetters:e},a){try{var s=a.token,i={instance:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/rm_swarmlabstorage",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async save_llo_asciidoctmp({commit:t,rootGetters:e},a){try{var s=a.token,i={code:a},o={headers:{"content-type":"application/json",Authorization:"Bearer "+s}},n=d.url_80+"/save_course_ascii",r=await c.a.post(n,i,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async getstoragesudoprepare({commit:t,rootGetters:e},a){try{var s=a.token,i={storagename:a},o={headers:{"content-type":"application/json",Authorization:"Bearer "+s}},n=d.url_80+"/check_storage_sudorun",r=await c.a.post(n,i,o);return console.log("error "+JSON.stringify(r)),r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async getstoragesudopreparestop({commit:t,rootGetters:e},a){try{var s=a.token,i={storagename:a},o={headers:{"content-type":"application/json",Authorization:"Bearer "+s}},n=d.url_80+"/check_storage_sudostop",r=await c.a.post(n,i,o);return console.log("error "+JSON.stringify(r)),r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async get_llo_course_ascii({commit:t,rootGetters:e},a){try{var s=a.token,i={dir:a.dir,file:a.file},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/get_course_ascii",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}}},async get_llo_course({commit:t,rootGetters:e},a){try{var s=a.token,i={course:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/get_course",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async get_config({commit:t,rootGetters:e},a){try{var s=a.token,i={value:"get"},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=d.url_80+"/get_config",r=await c.a.get(n,o);return r}catch(u){if("Request failed with status code 401"!=u.message&&!/401/i.test(u.message)){var l={ERROR_str:u,ERROR:"yes"};return l}window.location.href="https://api-login.swarmlab.io:8089"}},async getswarmlabinfo({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={swarmlabname:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}};const t=await c.a.get("https://api.swarmlab.io/getswarmlabhybridservicesinfo",o);return t}catch(n){"invalid_token"==n.error&&(window.location.href="https://api-login.swarmlab.io:8089")}},async getswarmlabstorageinfo({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={swarmlabname:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}};const t=await c.a.get("https://api.swarmlab.io/getswarmlabhybridstorageinfo",o);return t}catch(n){"invalid_token"==n.error&&(window.location.href="https://api-login.swarmlab.io:8089")}},async getswarmlabmicroserviceinfo({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={swarmlabname:a},o={params:i,headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}};const t=await c.a.get("https://api.swarmlab.io/getswarmlabhybridmicroserviceinfo",o);return t}catch(n){"invalid_token"==n.error&&(window.location.href="https://api-login.swarmlab.io:8089")}},async wg_invite({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapstackid:a.bootstrapstackid,action:"join"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabwgadminuserinvite",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async hybrid_join({commit:t,rootGetters:e},a){try{var s=a.token,i={node:a.node,bootstrapstackid:a.bootstrapstackid,bootstrapnameid:a.bootstrapnameid,action:"join"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridjoinstackwg",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async hybrid_leave({commit:t,rootGetters:e},a){try{var s=a.token,i={node:a.node,bootstrapstackid:a.bootstrapstackid,bootstrapnameid:a.bootstrapnameid,action:"leave"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridjoinstack",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async swarmlabhybridconfig({commit:t,rootGetters:e},a){try{var s=a.token,i={action:"add"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridconfiginfo",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async hybrid_servicerm({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapstackid:a.bootstrapstackid,bootstrapnameid:a.bootstrapnameid,action:"servicesrm"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridrmservice",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async stackrmwg({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapstackid:a.bootstrapstackid,action:"stackrm"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridrmstackwg",i,o);return"invalid_token"==n.error&&(console.log(n),console.log(JSON.stringify(n))),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async wg_servicerestart({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapnameid:a.bootstrapnameid,action:"stackrestart"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridrestartservicewg",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async create_vpn({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={wg:a.wg};console.log(`params--------${s}------------------ `+JSON.stringify(i));var o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/addwghybridiserver",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async hybrid_servicelog({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapnameid:a.bootstrapnameid,action:"stackrestlog"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridlogservice",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async wg_invite_accept({commit:t,rootGetters:e},a){try{var s=a.token,i={wg:a.wg,action:a.action},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/wguseraccept",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async wg_servicelog({commit:t,rootGetters:e},a){try{var s=a.token,i={bootstrapnameid:a.bootstrapnameid,action:"stackrestlog"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridlogservicewg",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async swarmlabhybridjoin({commit:t,rootGetters:e},a){try{var s=a.token,i={swarmlabservice:"ondemand_test_spitifgdfgdfkngkndfkngkdfngkdfk",action:"join"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/swarmlabhybridjoin",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}},async adddeploy({commit:t,rootGetters:e},a){try{var s=e["pipelineLLO/gettoken"],i={deploy:a.wg,action:"deploy"},o={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer "+s}},n=await c.a.post("https://api.swarmlab.io/adddeployhybridwg",i,o);return"invalid_token"==n.error&&console.log(n),n}catch(l){if("Request failed with status code 401"!=l.message&&!/401/i.test(l.message)){var r={ERROR_str:l,ERROR:"yes"};return r}window.location.href="https://api-login.swarmlab.io:8089"}}}},h=a("ecee"),p=a("c074"),b=a("f2d1"),m=a("ad3d");a("f9e3"),a("2dd8");s["default"].use(n["a"]),s["default"].use(r["a"]),s["default"].component("font-awesome-icon",m["a"]),h["d"].add(p["d"],p["e"],p["c"],p["b"],p["a"],b["b"],b["c"],b["d"],p["f"],b["a"]),h["b"].watch();var w=new n["a"].Store({modules:{pipelineLLO:u},state:{},getters:{},mutations:{}}),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[t.$slots.image?a("div",{staticClass:"card-image"},[t._t("image")],2):t._e(),t.$slots.header||t.title?a("div",{staticClass:"card-header"},[t._t("header",[a("h4",{staticClass:"card-title"},[t._v(t._s(t.title))]),t.subTitle?a("p",{staticClass:"card-category"},[t._v(t._s(t.subTitle))]):t._e()])],2):t._e(),t.$slots.default?a("div",{staticClass:"card-body"},[t._t("default")],2):t._e(),t._t("raw-content"),t.$slots.footer?a("div",{staticClass:"card-footer"},[a("hr"),t._t("footer")],2):t._e()],2)},g=[],v={name:"card",props:{title:String,subTitle:String}},y=v,A=a("2877"),k=Object(A["a"])(y,f,g,!1,null,null,null),C=k.exports,_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-7 order-first "},[a("br"),a("myconnect-server"),t.ishybridlab?a("hybrid-lab"):t._e()],1),a("div",{staticClass:"col-5 order-last"},[a("br"),a("zones-view")],1)])])},x=[],O=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("0ed5"),alt:"..."}})]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Swarmlab hybrid zones config")])])]),s("br"),s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("add")}}},[t._v("\n Add Network Node")])]),s("input",{directives:[{name:"model",rawName:"v-model",value:t.searchFor,expression:"searchFor"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Search"},domProps:{value:t.searchFor},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.setFilter(e)},input:function(e){e.target.composing||(t.searchFor=e.target.value)}}}),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:t.setFilter}},[t._v("\n Go")])]),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button"},on:{click:t.resetFilter}},[t._v("\n Reset")])])]),t.nodeadmin?s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("br"),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 order-first pr-md-1"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.nodename,expression:"nodename"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Name"},domProps:{value:t.nodename},on:{input:function(e){e.target.composing||(t.nodename=e.target.value)}}})]),s("div",{staticClass:"col-3 pr-md-1"},[t.nodeadminupdate?s("ValidationProvider",{ref:"provider",attrs:{name:"nodeid",rules:"required|alpha_num"},scopedSlots:t._u([{key:"default",fn:function(e){e.valid,e.errors,e.ariaMsg,e.ariaInput;return[s("input",{directives:[{name:"model",rawName:"v-model",value:t.nodeid,expression:"nodeid"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"NodeId",disabled:""},domProps:{value:t.nodeid},on:{input:function(e){e.target.composing||(t.nodeid=e.target.value)}}})]}}],null,!1,1653130323)}):s("ValidationProvider",{ref:"provider",attrs:{name:"nodeid",rules:"required|alpha_num"},scopedSlots:t._u([{key:"default",fn:function(e){e.valid;var a=e.errors;e.ariaMsg,e.ariaInput;return[s("input",{directives:[{name:"model",rawName:"v-model",value:t.nodeid,expression:"nodeid"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"NodeId","data-vv-as":'"Node id"',"data-vv-value-path":"nodeid","data-vv-name":"nodeid"},domProps:{value:t.nodeid},on:{input:function(e){e.target.composing||(t.nodeid=e.target.value)}}}),s("span",[t._v(t._s(a[0]))])]}}],null,!1,3037502831)})],1),s("div",{staticClass:"col-3 pr-md-1"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.nodeip,expression:"nodeip"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"IP"},domProps:{value:t.nodeip},on:{input:function(e){e.target.composing||(t.nodeip=e.target.value)}}})])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 order-first pr-md-1"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.noderole,expression:"noderole"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Role"},domProps:{value:t.noderole},on:{input:function(e){e.target.composing||(t.noderole=e.target.value)}}})]),s("div",{staticClass:"col-3 pr-md-1"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.nodezones,expression:"nodezones"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Zones"},domProps:{value:t.nodezones},on:{input:function(e){e.target.composing||(t.nodezones=e.target.value)}}})]),s("div",{staticClass:"col-3 pr-md-1"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.nodedesc,expression:"nodedesc"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"nodedesc"},domProps:{value:t.nodedesc},on:{input:function(e){e.target.composing||(t.nodedesc=e.target.value)}}})])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 pr-md-1"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-append"},[t.nodeadminupdate?s("button",{staticClass:"btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("update")}}},[t._v("\n update")]):s("button",{staticClass:"btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("addserver")}}},[t._v("\n add")])]),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("cancel")}}},[t._v("\n Cancel")])])])])])]):t._e(),s("vuetable",{key:t.vuetablekeyc,ref:"vuetable",attrs:{"api-url":t.apiurl,"api-mode":!0,"http-options":t.httpOptions,fields:t.fields,"item-actions":t.itemActions,"sort-order":t.sortOrder,"show-sort-icons":!0,"multi-sort":t.multiSort,"per-page":t.perpage,"pagination-path":"links.pagination","pagination-component":t.paginationComponent,"append-params":t.moreParams,"wrapper-class":"vuetable-wrapper","loading-class":"loading","detail-row-id":"id",css:t.css.table},on:{"vuetable:pagination-data":t.onPaginationData,"vuetable:load-success":t.loadsuccess,"vuetable:load-error":t.onLoadError},scopedSlots:t._u([{key:"actions",fn:function(e){return[s("div",{staticClass:"table-button-container"},[s("button",{staticClass:"ti-pencil btn btn-outline-secondary btn-sm",on:{click:function(a){return t.onAction("edit",e.rowData,e.rowIndex)}}}),s("button",{staticClass:"ti-trash btn btn-outline-secondary btn-sm",attrs:{round:""},on:{click:function(a){return t.onAction("rm",e.rowData,e.rowIndex)}}})])]}}])}),s("div",{staticClass:"vuetable-pagination ui basic segment grid"},[s("vuetable-pagination-info",{ref:"paginationInfo",attrs:{css:t.css.paginationInfo}}),s("vuetable-pagination",{ref:"pagination",attrs:{css:t.css.pagination},on:{"vuetable-pagination:change-page":t.onChangePage}})],1)],1)],1)},R=[],B=a("af52"),S=a("127e"),I=a("3568"),E=a("b3c5"),L=a("7bb1"),N=a("4c93");Object(L["b"])("alpha_num",N["a"]),Object(L["b"])("required",{...N["c"],message:"This field is required"});var j={components:{card:C,Vuetable:B["Vuetable"],VuetablePagination:I["a"],VuetablePaginationInfo:S["a"],VuetablePaginationDropdown:B["VuetablePaginationDropdown"]},props:{},data(){return{token:"",valid:!1,nodeadmin:!1,nodeadminupdate:!1,rowdata:{},nodename:"",nodeid:"",nodeip:"",noderole:"",nodezones:"",nodedesc:"",playbookInfo:{},token:"",playbook:{title:"",name:"",description:""},container:{name:"",view:0},pipeline:{},selected:"",options:[{text:"Packages",value:"packages"},{text:"Images",value:"images"},{text:"Scripts",value:"scripts"}],showModal:!1,visibility:[],active:!1,vuetablekeyc:0,fielddata:{},fields:[{name:"name",title:'<span class="orange"></span>Name',sortField:"name",titleClass:"text-center aligned",visible:!0,dataClass:"center aligned",width:"20%"},{name:"nodeid",title:'<span class="text-warning">nodeid</span>',titleClass:"text-center aligned",sortField:"nodeid",visible:!0,width:"20%"},{name:"ip",title:'<span class="orange"></span>IP',titleClass:"text-center aligned",sortField:"swarmlabname",visible:!0,width:"13%"},{name:"role",title:'<span class="orange"></span>Role',titleClass:"text-center aligned",sortField:"role",visible:!0,width:"15%",formatter(t){const e=/^ondemand_playground/.test(t);if(e){var a='<p class="text-warning">Playground</p>';return a}a='<p class="text-info">Lab</p>';return a}},{name:"zones",title:'<span class="text-warning">Zones</span>',sortField:"zones",titleClass:"text-center aligned",visible:!0,width:"20%"},{name:"status",title:'<span class="orange"></span>Status',titleClass:"text-center aligned",sortField:"status",visible:!0,width:"5%"},{name:"__slot:actions",title:"Actions",titleClass:"text-center aligned",dataClass:"text-center aligned",width:"10%"},{name:"_id",title:'<span class="orange"></span>mongo',visible:!1}],apiurl:d.swarmlab_url_80+"/getswarmlabhybrid",css:E["a"],perpage:9,searchFor:"",sortOrder:[{field:"pipelinename",direction:"asc"}],multiSort:!0,paginationComponent:"vuetable-pagination",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"hybrid"}}},mounted(){},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{onError(t,e){var a=e,s="<h5>Bootstrap "+t+"</h5>";this.$swal({type:t,html:s+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},setFilter(){this.moreParams={filter:this.searchFor,type:this.selected},s["default"].nextTick(()=>this.$refs.vuetable.refresh())},resetFilter(){this.moreParams={},this.searchFor="",s["default"].nextTick(()=>this.$refs.vuetable.refresh())},onPaginationData(t){this.$refs.pagination.setPaginationData(t),this.$refs.paginationInfo.setPaginationData(t)},onChangePage(t){this.$refs.vuetable.changePage(t)},editRow(t){alert("You clicked edit on"+JSON.stringify(t))},async onAction(t,e,a){await w.dispatch("pipelineLLO/swarmlabhybridjoin",{token:this.token,action:"join"});if("edit"==t)this.nodeadmin=!0,this.nodeadminupdate=!0,this.nodeid=e.nodeid,this.nodeip=e.ip,this.nodename=e.name,this.noderole=e.role,this.nodezones=e.zones,this.nodedesc=e.description;else if("update"==t){if(await this.$refs.provider.validate().then(t=>{t.valid?this.valid=!0:this.valid=!1}),this.valid){await w.dispatch("pipelineLLO/swarmlabhybridadd",{token:this.token,action:"add",nodeid:this.nodeid,nodeip:this.nodeip,nodename:this.nodename,noderole:this.noderole,nodezones:this.nodezones,nodedesc:this.nodedesc});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}}else if("rm"==t)this.rowdata=e,this.$swal({type:"info",html:"info",showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Yes, Delete it!"}).then(t=>{this.rmAndClose(t)});else if("add"==t)this.nodeadmin=!0,this.nodeadminupdate=!1;else if("addserver"==t){if(await this.$refs.provider.validate().then(t=>{t.valid?this.valid=!0:this.valid=!1}),this.valid){this.nodeadmin=!1,this.nodeadminupdate=!1;await w.dispatch("pipelineLLO/swarmlabhybridadd",{token:this.token,action:"add",nodeid:this.nodeid,nodeip:this.nodeip,nodename:this.nodename,noderole:this.noderole,nodezones:this.nodezones,nodedesc:this.nodedesc});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}}else"cancel"==t&&(this.nodeadmin=!1,this.nodeadminupdate=!1)},async rmAndClose(t){await w.dispatch("pipelineLLO/getswarmlabhybridinfo",{token:this.token,nodezones:this.rowdata.zones});if(t.value){await w.dispatch("pipelineLLO/swarmlabhybridrm",{token:this.token,action:"rm",nodeid:this.rowdata.nodeid,nodeip:this.rowdata.ip,nodename:this.rowdata.name,noderole:this.rowdata.role,nodezones:this.rowdata.zones,nodedesc:this.rowdata.description});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}},async addAndClose(t){},refreshVuetable(){this.$nextTick(()=>{this.vuetablekeyc+=1})},playbookinfoShow(t){return this.visibility[t]=!0},playbookinfo(t){return this.playbookInfo=t},rowClicked(t,e){return{html:!0,title:()=>"Hello <b>Popover:</b> "+ ++this.counter,content:()=>"The date is:<br><em>"+new Date+"</em>"}},loadsuccess(t){var e=t.data.data;this.fielddata=e;e.length},onLoadError(t){"401"==t.response.status&&(window.location.href="https://api-login.swarmlab.io:8089",s["default"].nextTick(()=>window.location.href="https://api-login.swarmlab.io:8089"))}},actions:{}},D=j,T=(a("55b7"),Object(A["a"])(D,O,R,!1,null,null,null)),P=T.exports,F=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-header",staticStyle:{"max-height":"100%"},attrs:{title:"Hybrid API Request"}},[a("b-row",[a("b-col",{attrs:{cols:"12"}},[a("table",{staticClass:"table table-bordered"},[a("tbody",[a("tr",[a("th",{staticClass:"text-center",attrs:{scope:"row"}},[t._v("\n Project\n ")]),a("td",[a("div",{staticClass:"input-group input-group-sm sm-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.swarmlabhybridapi.project,expression:"swarmlabhybridapi.project"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Project Name (Alphanumeric characters, dashes and underscores, NOT spaces)"},domProps:{value:t.swarmlabhybridapi.project},on:{input:function(e){e.target.composing||t.$set(t.swarmlabhybridapi,"project",e.target.value)}}}),a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"ti-info btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:function(e){return t.showinfo("Project")}}})])])])]),a("tr",[a("th",{staticClass:"text-center",attrs:{scope:"row"}},[t._v("\n Category\n ")]),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.swarmlabhybridapi.faculty,expression:"swarmlabhybridapi.faculty"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Project Category"},domProps:{value:t.swarmlabhybridapi.faculty},on:{input:function(e){e.target.composing||t.$set(t.swarmlabhybridapi,"faculty",e.target.value)}}})])]),a("tr",[a("th",{staticClass:"text-center",attrs:{scope:"row"}},[t._v("\n Description\n ")]),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.swarmlabhybridapi.desc,expression:"swarmlabhybridapi.desc"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"What is the purpose of the project?"},domProps:{value:t.swarmlabhybridapi.desc},on:{input:function(e){e.target.composing||t.$set(t.swarmlabhybridapi,"desc",e.target.value)}}})])])])])])],1),a("b-row",[a("b-col",{attrs:{cols:"12"}},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:t.getApi}},[t._v(" Request hybrid API \n ")])])])],1)],1)},G=[],z={components:{},props:{},data(){return{swarmlabhybridapi:{labservices:"services"}}},mounted(){},beforeDestroy(){},computed:{},methods:{showinfo(t){if("Project"==t){var e='We use that "Name" to retrieve the corresponding key values <br> The name assigned here will be needed to connect you to Swarmlab Server. <br> The ProjectName can only contain alphanumeric characters, dashes or underscores.';this.$swal({type:"info",html:e,showCloseButton:!1,showLoaderOnConfirm:!1,allowOutsideClick:!1,showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!1,confirmButtonText:"Ok!"})}},async getApi(){console.log("getApi");var t=await w.dispatch("pipelineLLO/swarmlabhybridapi",{lab:this.swarmlabhybridapi});if(console.log(JSON.stringify(t)),"ok"==t.data.action){var e="<h5>OK</h5>";this.$swal({type:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,focusCancel:!0})}else{e="<h5>Error</h5>";this.$swal({type:"error",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,focusCancel:!0})}}},actions:{}},V=z,Y=(a("546d"),Object(A["a"])(V,F,G,!1,null,null,null)),M=Y.exports,q=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("0ed5"),alt:"..."}})]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Swarmlab hybrid-agent config")])])]),s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("br")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Node ID")])]),s("div",{staticClass:"col-9"},[s("i",[t._v(t._s(t.CONFIG.nodeid))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Swarmlab key")])]),s("div",{staticClass:"col-9"},[s("i",[t._v(t._s(t.CONFIG.workerkey))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Swarmlab PublicKey")])]),s("div",{staticClass:"col-9"},[s("i",[t._v(t._s(t.CONFIG.swarmlab_public_wgkey))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Swarmlab ip")])]),s("div",{staticClass:"col-3"},[s("i",[t._v(t._s(t.CONFIG.server_ip))])]),s("div",{staticClass:"col-2"},[s("b",[t._v("Local IP")])]),s("div",{staticClass:"col-4"},[s("i",[t._v(t._s(t.CONFIG.wg_ip))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Private key")])]),s("div",{staticClass:"col-3"},[s("i",[t._v(t._s(t.CONFIG.privatekey))])]),s("div",{staticClass:"col-2"},[s("b",[t._v("Public key")])]),s("div",{staticClass:"col-4"},[s("i",[t._v(t._s(t.CONFIG.publickey))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[s("br")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-4"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"ti-settings btn btn-outline-info",attrs:{round:"",type:"button",title:"Load config"},on:{click:function(e){return t.onAction("load")}}},[t._v(" Load Settings\n ")])]),s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"ti-widget btn btn-outline-info",attrs:{round:"",type:"button",title:"Save config"},on:{click:function(e){return t.onAction("vpn")}}},[t._v(" Create vpn\n ")])])])]),s("div",{staticClass:"col-1"},[s("div",{staticClass:"input-group input-group-sm sm-3"})]),s("div",{staticClass:"col-7 text-right"},[s("div",{staticClass:"input-group input-group-sm sm-3 text-right"},[s("div",{staticClass:"input-group-append text-right"},[s("button",{staticClass:"ti-link btn btn-outline-success",attrs:{round:"",type:"button",title:"Connect"},on:{click:function(e){return t.onAction("connect")}}},[t._v(" Connect\n ")]),s("button",{staticClass:"ti-unlink btn btn-outline-warning",attrs:{round:"",type:"button",title:"Connect"},on:{click:function(e){return t.onAction("disconnect")}}},[t._v(" Disconnect\n ")]),t.isconnect?s("button",{staticClass:"ti-link btn btn-outline-success",attrs:{round:"",type:"button",title:"Connect"}},[t._v(" Status online\n ")]):s("button",{staticClass:"ti-unlink btn btn-outline-warning",attrs:{round:"",type:"button",title:"Connect"}},[t._v(" Status offline\n ")])])])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[t.ishybridlab?s("button",{staticClass:"ti-key btn btn-outline-info",attrs:{round:"",type:"button",title:"Api keys"},on:{click:function(e){return t.onAction("apikeyopen")}}},[t._v(" Enable the Swarmlab hybrid API\n ")]):s("button",{staticClass:"ti-layout-media-overlay-alt btn btn-outline-warning",attrs:{round:"",type:"button",title:"Api keys"},on:{click:function(e){return t.onAction("apikeyclose")}}},[t._v(" Enable the Swarmlab hybrid API\n ")]),s("button",{staticClass:"ti-info btn btn-outline-success",attrs:{round:"",type:"button",title:"HowTo"},on:{click:function(e){return t.onAction("register")}}})])])])])])],1)},U=[],J={components:{card:C},props:{},data(){return{isconnect:!1,ishybridlab:!0,isstatus:!1,CONFIG:{status:"",privatekey:"",publickey:"",server_ip:"",nodeid:"",workerkey:"",allowed_ips:"",swarmlab_public_wgkey:"",wg_ip:"",swarm_ip:"",wg_port:""},token:""}},mounted(){this.$root.$on("hybrid_connect_server_view",t=>{this.CONFIG.status=t.status,this.CONFIG.workerkey=t.workerkey,this.CONFIG.swarmlab_public_wgkey=t.swarmlab_public_wgkey,this.CONFIG.server_ip=t.server_ip,this.CONFIG.allowed_ips=t.allowed_ips,this.CONFIG.wg_port=t.wg_port,this.CONFIG.wg_ip=t.wg_ip,this.CONFIG.swarm_ip=t.swarm_ip,this.CONFIG.privatekey=t.privatekey,this.CONFIG.publickey=t.publickey,"on"==this.CONFIG.status?this.isstatus=!0:"off"==this.CONFIG.status&&(this.isstatus=!1)}),this.$root.$on("hybrid_server_status",t=>{this.serverstatus()})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_connect_server_view"),this.$root.$off("hybrid_server_status")},computed:{},methods:{async serverstatus(t){var e=w.getters["pipelineLLO/getstatus"];"active"==e.data.swarmlab&&"Online"==e.data.hybrid?(this.isstatus=!0,this.isconnect=!0,this.CONFIG.nodeid=e.data.swarmlabid):(this.isstatus=!1,this.isconnect=!1,this.CONFIG.nodeid="null")},async onAction(t){if("load"==t){var e=await w.dispatch("pipelineLLO/swarmlabhybridconfig",{token:this.token});this.CONFIG.status=e.data.data.status,this.CONFIG.workerkey=e.data.data.workerkey,this.CONFIG.swarmlab_public_wgkey=e.data.data.wg_public,this.CONFIG.server_ip=e.data.data.endpoint,this.CONFIG.allowed_ips=e.data.data.allowed_ip,this.CONFIG.wg_port=e.data.data.wg_port,this.CONFIG.wg_ip=e.data.data.wg_ip,this.CONFIG.swarm_ip=e.data.data.swarm_ip,this.CONFIG.privatekey=e.data.data.privatekey,this.CONFIG.publickey=e.data.data.publickey,"on"==this.CONFIG.status?this.isstatus=!0:"off"==this.CONFIG.status&&(this.isstatus=!1),this.onAction("save")}else if("apikeyopen"==t)this.ishybridlab=!1,this.$root.$emit("hybrid_lab_keyview","open");else if("apikeyclose"==t)this.ishybridlab=!0,this.$root.$emit("hybrid_lab_keyview","close");else if("connect"==t){e=await w.dispatch("pipelineLLO/get_config",{token:this.token});this.isconnect=!0;var a=e.data.data;if(e.data.error_msg="ok"){var s='<span class="text-success">sudo /bin/bash ';s+=a.trim(),s+="/hybrid/connect/join.sh </span>"}else s="no exec file";var i='<h4>Swarmlab Connect</h4> <h6 class="text-warning"> You are about to connect with others. Be Careful </h6> <h5><i>Copy-and-run-command </i></h5> <br>';this.$swal({type:"info",html:i+s,icon:"info",showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0})}else if("vpn"==t){e=await w.dispatch("pipelineLLO/create_vpn",{value:this.CONFIG});console.log("start vpn "+JSON.stringify(e))}else if("save"==t)e=await w.dispatch("pipelineLLO/create_config",{token:this.token,value:this.CONFIG});else if("disconnect"==t){e=await w.dispatch("pipelineLLO/get_config",{token:this.token}),a=e.data.data;if(e.data.error_msg="ok"){s='<span class="text-success">sudo /bin/bash ';s+=a.trim(),s+="/hybrid/connect/leave.sh </span>"}else s="no exec file";i="<h4>Swarmlab Disconnect</h4> <h5><i>Copy-and-run-command </i></h5> <br>";this.$swal({type:"info",icon:"info",html:i+s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0})}else if("register"==t){s="Before you begin\n <br>\n Before you start using the Swarmlab Hybrid API, you need a hybrid enabled account and the Swarmlab API enabled. \n <br>\n To learn more, see Get Started with Hybrid Platform. \n ",i="<h5>Get API Key's</h5><br>";this.$swal({type:"info",html:i+s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0})}}},actions:{}},H=J,W=(a("cd6e"),Object(A["a"])(H,q,U,!1,null,null,null)),K=W.exports,$={components:{HybridLab:M,ZonesView:P,card:C,MyconnectServer:K},data(){return{loading:!1,ishybridlab:!1,consoleView:"off",productIndex:1}},mounted(){this.$root.$on("hybrid_lab_keyview",t=>{"open"==t?this.ishybridlab=!0:"close"==t&&(this.ishybridlab=!1)})},beforeDestroy(){this.$root.$off("hybrid_lab_keyview")},created(){}},Q=$,Z=Object(A["a"])(Q,_,x,!1,null,null,null),X=Z.exports,tt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-12 order-first "},[a("br"),a("myconnect-manage-server")],1)])])},et=[],at=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("f467"),alt:"..."}})]),s("v-wait",{attrs:{for:"myRunwg"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v("\n Enter Network...\n ")])])],2),s("b-container",{attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Swarmlab venus - Join Network")])])]),s("br"),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.bootstrapstackid&&t.hybridshowdata.userstatus&&t.hybridshowdata.status?s("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionHybrid("stack-start")}}},[t._v("\n Start Network\n ")]):t._e()])]),s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.bootstrapstackid&&t.hybridshowdata.userstatus&&t.hybridshowdata.status?s("button",{staticClass:"btn btn-outline-danger",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionHybrid("stack-stop")}}},[t._v("\n Leave Network\n ")]):t._e()])]),s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.bootstrapstackid&&null===t.hybridshowdata.userstatus?s("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionHybrid("service-invite")}}},[t._v("\n Request Access\n ")]):s("span")])]),s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"})])]),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Instances\n ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.Replicas)+"\n ")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n Image \n ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapimage)+"\n ")])]):t._e(),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Names\n ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapname)+"\n ")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n EndAt\n ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapdateend)+"\n ")])]):t._e(),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Networks\n ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapnetwork)+"\n ")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n BeginAt\n ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapdatebegin)+"\n ")])]):t._e(),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Status\n ")]),t.hybridshowdata.status?s("div",{staticClass:"col-3 text-secondary"},[s("span",{staticClass:"ti-check text-success"})]):s("div",{staticClass:"col-3 text-secondary"},[s("span")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n Ports\n ")]),0!=t.hybridshowdata.ports?s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.ports)+"\n ")]):s("div",{staticClass:"col-4 text-secondary"})]):t._e()]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.searchFor,expression:"searchFor"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Search By StackName"},domProps:{value:t.searchFor},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.setFilter(e)},input:function(e){e.target.composing||(t.searchFor=e.target.value)}}}),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:t.setFilter}},[t._v("\n\t\t\t\t\tGo")])]),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button"},on:{click:t.resetFilter}},[t._v("\n\t\t\t\t\tReset")])])]),s("vuetable",{key:t.vuetablekey1,ref:"vuetable",attrs:{"api-url":t.apiurl,"api-mode":!0,"http-options":t.httpOptions,fields:t.fields,"item-actions":t.itemActions,"sort-order":t.sortOrder,"show-sort-icons":!0,"multi-sort":t.multiSort,"per-page":t.perpage,"pagination-path":"links.pagination","pagination-component":t.paginationComponent,"append-params":t.moreParams,"wrapper-class":"vuetable-wrapper","loading-class":"loading","detail-row-id":"id",css:t.css.table},on:{"vuetable:pagination-data":t.onPaginationData,"vuetable:load-success":t.loadsuccess,"vuetable:load-error":t.onLoadError},scopedSlots:t._u([{key:"actionslocal",fn:function(e){return s("div",{},[s("div",{staticClass:"d-flex justify-content-center"},[t.testactionrowindex[e.rowData.bootstrapstackid]?s("button",{staticClass:"ti-thumb-up btn btn-info btn-sm",attrs:{title:"Remove Stack",disabled:"",round:""}}):s("button",{staticClass:"ti-thumb-down btn btn-secondary btn-sm",attrs:{title:"Remove Stack",disabled:"",round:""}})])])}},{key:"actions",fn:function(e){return s("div",{},[s("div",{staticClass:"d-flex justify-content-center"},[t.actionrowindex==e.rowIndex?s("button",{staticClass:"ti-more-alt btn btn-secondary btn-sm",attrs:{round:""},on:{click:function(a){return t.onAction("run-more",e.rowData,e.rowIndex)}}}):s("button",{staticClass:"ti-more btn btn-outline-secondary btn-sm",attrs:{round:""},on:{click:function(a){return t.onAction("run-more",e.rowData,e.rowIndex)}}})])])}}])}),s("div",{staticClass:"vuetable-pagination ui basic segment grid"},[s("vuetable-pagination-info",{ref:"paginationInfo",attrs:{css:t.css.paginationInfo}}),s("vuetable-pagination",{ref:"pagination",attrs:{css:t.css.pagination},on:{"vuetable-pagination:change-page":t.onChangePage}})],1)],1)],1)},st=[],it={components:{card:C,Vuetable:B["Vuetable"],VuetablePagination:I["a"],VuetablePaginationInfo:S["a"],VuetablePaginationDropdown:B["VuetablePaginationDropdown"]},props:{},data(){return{testactionrowindex:{},actionrowindex:"",playbookInfo:{},hybridshowdata:{},server_wg_public:"",server_wg_port:"",server_wg_userprivate:"",token:"",CONFIG:{},isstatus:"",playbook:{title:"",name:"",description:""},container:{name:"",view:0},pipeline:{},selected:"hybrid",options:[{text:"Packages",value:"packages"},{text:"Images",value:"images"},{text:"Scripts",value:"scripts"}],showModal:!1,visibility:[],active:!1,vuetablekey1:0,fielddata:{},fields:[{name:"bootstrapname",title:'<span class="orange"></span>Name',sortField:"bootstrapname",visible:!0,dataClass:"text-left text-wrap text-break break-word",width:"20%"},{name:"bootstrapstackname",title:'<span class="orange"></span>StackName',sortField:"bootstrapstackname",visible:!0,dataClass:"left aligned w-25",width:"15%",callback:t=>t},{name:"bootstrapstackid",title:'<span class="orange"></span>StackID',sortField:"bootstrapstackid",visible:!0,dataClass:"left aligned w-25",width:"13%",callback:t=>((async()=>{var e=await this.checkactionrowindex(t);console.log(e.data.data+t),"yes"==e.data.data?this.$set(this.testactionrowindex,t,!0):this.$set(this.testactionrowindex,t,!1)})(),t)},{name:"_id",title:'<span class="orange"></span>mongo',visible:!1},{name:"bootstrapdatebegin5",title:'<span class="orange"></span>Begin',sortField:"bootstrapdatebegin5",titleClass:"center aligned",visible:!0,width:"10%"},{name:"bootstrapdateend",title:'<span class="orange"></span>End',sortField:"bootstrapdateend",titleClass:"center aligned",visible:!0,width:"15%"},{name:"userstatus",title:'<span class="orange"></span>Accept',sortField:"userstatus",titleClass:"center aligned",visible:!0,width:"5%",callback:function(t){if(1==t){var e='<span class="ti-check text-success"> </span>';return e}e="<span> </span>";return e}},{name:"status",title:'<span class="orange"></span>Status',sortField:"status",titleClass:"center aligned",visible:!0,width:"5%",callback:function(t){if(1==t){var e='<span class="ti-check text-success"> </span>';return e}e="<span> </span>";return e}},{name:"ID",sortField:"ID",titleClass:"center aligned",dataClass:"left aligned w-25",visible:!1,width:"15%"},{name:"__slot:actionslocal",title:" Join",titleClass:"center aligned",dataClass:"center aligned",width:"5%",callback:"getstatus"},{name:"__slot:actions",title:"Actions",titleClass:"center aligned",dataClass:"center aligned",width:"5%"}],apiurl:d.swarmlab_url_80+"/swarmlabhybridbootstrapservicesallwg",css:E["a"],perpage:10,searchFor:"",sortOrder:[{field:"bootstrapdatebegin5",direction:"desc"}],multiSort:!0,paginationComponent:"vuetable-pagination",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"scripts",tutor:"yes"}}},mounted(){this.$root.$on("hybrid_refresh_bootstrap_view",()=>{s["default"].nextTick(()=>this.$refs.vuetable.refresh())})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_refresh_bootstrap_view")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{async checkactionrowindex(t){var e={};e.token=this.token,e.bootstrapstackname="swarmlabwg-"+t;var a=await w.dispatch("pipelineLLO/getserviceshybridstatus",e);return a},async onActionHybrid(t){if(this.CONFIG=await w.getters["pipelineLLO/getstatusswarmlab"],"Online"==this.CONFIG.hybrid?this.isstatus=!0:this.isstatus=!1,"stack-stop"==t){var e="<h5>This will leave the stack with the name<b> "+this.hybridshowdata.bootstrapstackname+"</b> </h5>";this.$swal({type:"Info",title:"Info!",icon:"warning",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"}).then(t=>{this.onActionHybrid_stackrm(t)})}else if("stack-start"==t){console.log("stack-start "+JSON.stringify(this.hybridshowdata));var a=await w.dispatch("pipelineLLO/hybrid_join",{token:this.token,node:this.hybridshowdata.bootstrapstackid,bootstrapstackid:this.hybridshowdata.bootstrapstackid,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh()),this.server_wg_public=a.data.data.data.server_public,this.server_wg_port=a.data.data.data.server_port,this.server_wg_userprivate=a.data.data.data.user_private,this.server_wg_usernetmask=a.data.data.data.user_netmask,this.server_wg_userip=a.data.data.data.user_ip,this.server_wg_usernetwork=a.data.data.data.user_network,this.server_wg_bootstrapstackid=this.hybridshowdata.bootstrapstackid,console.log("---for hybrid_join_start--------- "+JSON.stringify(a.data)),this.$wait.start("myRunwg");var i=await w.dispatch("pipelineLLO/hybrid_join_start",{publickey:this.server_wg_public,endpointport:this.server_wg_port,bootstrapstackid:this.server_wg_bootstrapstackid,netmask:this.server_wg_usernetmask,peer_ip:this.server_wg_userip,serverip:"83.212.78.14",allowedips:`${this.server_wg_usernetwork}/${this.server_wg_usernetmask}`,privatekey:this.server_wg_userprivate});if(this.$wait.end("myRunwg"),"ok"==i.data.action){this.$wait.start("myRunwg");await w.dispatch("pipelineLLO/hybrid_join_connect",{action:"connect",bootstrapstackid:this.server_wg_bootstrapstackid});this.$wait.end("myRunwg"),this.refreshVuetable()}}else if("service-invite"==t){console.log("status "+this.isstatus),console.log(this.hybridshowdata.bootstrapstackid);a=await w.dispatch("pipelineLLO/wg_invite",{token:this.token,bootstrapstackid:this.hybridshowdata.bootstrapstackid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}else if("service-info"==t){var o=this.hybridshowdata.bootstrapurl;e=`<h5>You will be redirected to the README page of the repository (OUTSIDE Swarmlab-Hybrid)<br> \n<a href="${o}" target="new">click here to continue</a>\n</h5>\n<br>\n`;this.$swal({type:"Info",title:"README",icon:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}},async onActionHybrid_stackrm(t){if(console.log(JSON.stringify(t)),t.isConfirmed){this.$wait.start("myRunwg");await w.dispatch("pipelineLLO/hybrid_join_connect",{action:"disconnect",bootstrapstackid:this.hybridshowdata.bootstrapstackid});this.$wait.end("myRunwg"),this.refreshVuetable()}},onError(t,e){var a=e,s="<h5>Bootstrap "+t+"</h5>";this.$swal({type:t,html:s+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},setFilter(){this.moreParams={filter:this.searchFor,type:this.selected},s["default"].nextTick(()=>this.$refs.vuetable.refresh())},resetFilter(){this.moreParams={},this.searchFor="",s["default"].nextTick(()=>this.$refs.vuetable.refresh())},onPaginationData(t){this.$refs.pagination.setPaginationData(t),this.$refs.paginationInfo.setPaginationData(t)},onChangePage(t){this.$refs.vuetable.changePage(t)},editRow(t){alert("You clicked edit on"+JSON.stringify(t))},async onAction(t,e,a){this.actionrowindex=a,"view-item"==t||("run-more"==t?this.hybridshowdata=e:"delete-item"==t&&this.$swal({type:"info",html:info+winfo,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Yes, Delete it!"}))},refreshVuetable(){this.$nextTick(()=>{this.vuetablekey1+=1})},playbookinfoShow(t){return this.visibility[t]=!0},playbookinfo(t){return this.playbookInfo=t},rowClicked(t,e){return{html:!0,title:()=>"Hello <b>Popover:</b> "+ ++this.counter,content:()=>"The date is:<br><em>"+new Date+"</em>"}},loadsuccess(t){if(t.data.data){var e=t.data.data;this.fielddata=e;e.length;1}else{e="";this.fielddata=e;e.length;1}},onLoadError(t){"401"==t.response.status&&(window.location.href="https://api-login.swarmlab.io:8089",s["default"].nextTick(()=>window.location.href="https://api-login.swarmlab.io:8089"))}},actions:{}},ot=it,nt=(a("4788"),Object(A["a"])(ot,at,st,!1,null,null,null)),rt=nt.exports,lt={components:{card:C,MyconnectManageServer:rt},data(){return{loading:!1,consoleView:"off",productIndex:1}},mounted(){},beforeDestroy(){},created(){}},ct=lt,dt=Object(A["a"])(ct,tt,et,!1,null,null,null),ut=dt.exports,ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-5 order-first "},[a("br"),a("build-stats")],1),a("div",{staticClass:"col-7 order-last "},[a("br"),a("view-network")],1)])])},pt=[],bt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loaded?a("reactive-line-chart",{attrs:{"chart-data":t.chartData,options:t.options,styles:t.myStyles}}):t._e(),a("div",{attrs:{id:"myChart"}})],1)},mt=[],wt=a("1fca");const{reactiveProp:ft}=wt["b"];var gt,vt,yt={extends:wt["a"],mixins:[ft],props:["options"],mounted(){this.renderChart(this.chartData,this.options)}},At=yt,kt=Object(A["a"])(At,gt,vt,!1,null,null,null),Ct=kt.exports,_t={name:"LineChartContainer",components:{ReactiveLineChart:Ct},data(){return{loaded:!1,width:300,height:300,wginterface:{},chartData:null,options:{scales:{yAxes:[{stacked:!0,lineTension:1,steppedLine:!0,gridLines:{display:!1}}],xAxes:[{distribution:"linear",stacked:!0,min:0,beginAtZero:!0,gridLines:{display:!0}}]},legend:{display:!0},responsive:!0,spanGaps:!1,maintainAspectRatio:!1}}},methods:{async generateData(){try{var t={};t.ip=""+this.wginterface.ip,t.stackid=""+this.wginterface.stackid,t.publickey=""+this.wginterface.publickey;var e=await w.dispatch("pipelineLLO/getswgdata",t);console.log("return from wgstats "+JSON.stringify(e)),this.chartData=e.data,this.loaded=!0}catch(a){console.error(a)}}},mounted(){this.$root.$on("hybrid_wg_showstats",t=>{this.wginterface=t,this.generateData(),console.log("stats ")})},beforeDestroy(){this.$root.$off("hybrid_wg_showstats")},computed:{myStyles(){return{height:this.height+"px",position:"relative"}}}},xt=_t,Ot=Object(A["a"])(xt,bt,mt,!1,null,null,null),Rt=Ot.exports,Bt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("ddb5"),alt:"..."}})]),s("v-wait",{attrs:{for:"myRunInstancetutor"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v("\n Enter Lab_room...\n ")])])],2),s("b-container",{attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Network Interfaces")])])]),s("br"),s("vuetable",{key:t.vuetablekey1a,ref:"vuetable",attrs:{"api-url":t.apiurl,"api-mode":!0,"http-options":t.httpOptions,fields:t.fields,"item-actions":t.itemActions,"sort-order":t.sortOrder,"show-sort-icons":!0,"multi-sort":t.multiSort,"per-page":t.perpage,"pagination-path":"links.pagination","pagination-component":t.paginationComponent,"append-params":t.moreParams,"wrapper-class":"vuetable-wrapper","loading-class":"loading","detail-row-id":"id",css:t.css.table},on:{"vuetable:pagination-data":t.onPaginationData,"vuetable:load-success":t.loadsuccess,"vuetable:load-error":t.onLoadError},scopedSlots:t._u([{key:"actionslocal",fn:function(e){return s("div",{},[s("div",{staticClass:"d-flex justify-content-center"},[t.testactionrowindex[e.rowData.bootstrapnameid]?s("button",{staticClass:"ti-thumb-up btn btn-info btn-sm",attrs:{title:"Disable user",disabled:"",round:""}}):s("button",{staticClass:"ti-thumb-down btn btn-secondary btn-sm",attrs:{title:"Enable user",disabled:"",round:""}})])])}},{key:"actions",fn:function(e){return s("div",{},[s("div",{staticClass:"d-flex justify-content-center"},[t.testactionrowindex[e.rowData._id]?s("button",{staticClass:" ti-eye btn btn-info btn-sm",attrs:{round:"",title:"Close"},on:{click:function(a){return t.onAction("view-item",e.rowData,e.rowIndex)}}}):s("button",{staticClass:" ti-eye btn btn-outline-secondary btn-sm",attrs:{round:"",title:"Show"},on:{click:function(a){return t.onAction("view-item",e.rowData,e.rowIndex)}}})])])}}])}),s("div",{staticClass:"vuetable-pagination ui basic segment grid"},[s("vuetable-pagination-info",{ref:"paginationInfo",attrs:{css:t.css.paginationInfo}}),s("vuetable-pagination",{ref:"pagination",attrs:{css:t.css.pagination},on:{"vuetable-pagination:change-page":t.onChangePage}})],1)],1)],1)},St=[],It={components:{card:C,Vuetable:B["Vuetable"],VuetablePagination:I["a"],VuetablePaginationInfo:S["a"],VuetablePaginationDropdown:B["VuetablePaginationDropdown"]},props:{},data(){return{testactionrowindex:[],actionrowindex:"",playbookInfo:{},hybridshowdata:{},bootstrapname:"",server_wg_public:"",server_wg_port:"",server_wg_userprivate:"",token:"",CONFIG:{},isstatus:"",playbook:{title:"",name:"",description:""},container:{name:"",view:0},pipeline:{},selected:"hybrid",options:[{text:"Packages",value:"packages"},{text:"Images",value:"images"},{text:"Scripts",value:"scripts"}],showModal:!1,visibility:[],active:!1,vuetablekey1a:0,fielddata:{},fields:[{name:"ip",title:'<span class="orange"></span>Interface',sortField:"",visible:!0,dataClass:"text-left text-wrap text-break break-word",width:"50%",callback:t=>t},{name:"stackid",title:'<span class="orange"></span>Stackid',sortField:"stackid",visible:!0,dataClass:"left aligned w-25",width:"35%",callback:t=>t},{name:"bootstrapstackid",title:'<span class="orange"></span>StackID',sortField:"bootstrapstackid",visible:!1,dataClass:"left aligned w-25",width:"5%",callback:t=>{for(var e=0;e<this.fielddata.length;e++){var a=this.fielddata[e].bootstrapstackid;if(a==t){var s={};s.bootstrapnameid=this.fielddata[e].bootstrapnameid,s.bootstrapstackname=this.fielddata[e].bootstrapstackname,this.checkactionrowindex(s)}}return t}},{name:"_id",title:'<span class="orange"></span>mongo',visible:!1},{name:"bootstrapdatebegin5",title:'<span class="orange"></span>Begin',sortField:"bootstrapdatebegin5",titleClass:"center aligned",visible:!1,width:"10%"},{name:"bootstrapdateend",title:'<span class="orange"></span>End',sortField:"bootstrapdateend",titleClass:"center aligned",visible:!1,width:"95%"},{name:"status",title:'<span class="orange"></span>Status',sortField:"status",titleClass:"center aligned",visible:!1,width:"5%",callback:function(t){if(1==t){var e='<span class="ti-check text-success"> </span>';return e}e="<span> </span>";return e}},{name:"ID",sortField:"ID",titleClass:"center aligned",dataClass:"left aligned w-25",visible:!1,width:"15%"},{name:"__slot:actions",title:"Actions",titleClass:"center aligned",dataClass:"center aligned",width:"5%"}],apiurl:d.url_80+"/getwginterfaces",css:E["a"],perpage:10,searchFor:"",sortOrder:[{field:"user",direction:"desc"}],multiSort:!0,paginationComponent:"vuetable-pagination",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"wg",tutor:"yes"}}},mounted(){this.$root.$on("hybrid_wg_showuser",t=>{console.log("-----table--- "+JSON.stringify(t.data)),this.moreParams={filter:t.data.bootstrapstackid,type:"wg"},this.bootstrapname=t.data.bootstrapstackname,this.refreshVuetable()})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_wg_showuser")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{async checkactionrowindex(t){var e={};e.token=this.token,e.bootstrapnameid=t.bootstrapnameid,e.status=t.status,e.bootstrapstackname=t.bootstrapstackname;var a=t.bootstrapnameid;console.log("res18 1 "+JSON.stringify(e)),1==e.status?(s["default"].set(this.testactionrowindex,t.bootstrapnameid,a),console.log("res8 YES "+JSON.stringify(e))):(console.log("res8 NO "+JSON.stringify(e)),s["default"].delete(this.testactionrowindex,t.bootstrapnameid)),console.log("res18 all "+JSON.stringify(this.testactionrowindex))},async onActionHybrid(t){if(this.CONFIG=await w.getters["pipelineLLO/getstatusswarmlab"],"Online"==this.CONFIG.hybrid?this.isstatus=!0:this.isstatus=!1,"stack-stop"==t){var e="<h5>This will leave the stack with the name<b> "+this.hybridshowdata.bootstrapstackname+"</b> </h5>";this.$swal({type:"Info",title:"Info!",icon:"warning",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"}).then(t=>{this.onActionHybrid_stackrm(t)})}else if("stack-start"==t){console.log("stack-start "+JSON.stringify(this.hybridshowdata));var a=await w.dispatch("pipelineLLO/hybrid_join",{token:this.token,node:this.hybridshowdata.bootstrapstackid,bootstrapstackid:this.hybridshowdata.bootstrapstackid,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh()),this.server_wg_public=a.data.data.data.server_public,this.server_wg_port=a.data.data.data.server_port,this.server_wg_userprivate=a.data.data.data.user_private,this.server_wg_usernetmask=a.data.data.data.user_netmask,this.server_wg_userip=a.data.data.data.user_ip,this.server_wg_usernetwork=a.data.data.data.user_network;var i=await w.dispatch("pipelineLLO/hybrid_join_start",{publickey:this.server_wg_public,endpointport:this.server_wg_port,netmask:this.server_wg_usernetmask,peer_ip:this.server_wg_userip,serverip:"83.212.78.14",allowedips:`${this.server_wg_usernetwork}/${this.server_wg_usernetmask}`,privatekey:this.server_wg_userprivate});if("ok"==i.data.action)await w.dispatch("pipelineLLO/hybrid_join_connect",{action:"connect"});console.log("stack-start "+JSON.stringify(i)),console.log(JSON.stringify(a))}else if("service-invite"==t){console.log("status "+this.isstatus),console.log(this.hybridshowdata.bootstrapstackid);a=await w.dispatch("pipelineLLO/wg_invite",{token:this.token,bootstrapstackid:this.hybridshowdata.bootstrapstackid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}else if("service-info"==t){var o=this.hybridshowdata.bootstrapurl;e=`<h5>You will be redirected to the README page of the repository (OUTSIDE Swarmlab-Hybrid)<br> \n<a href="${o}" target="new">click here to continue</a>\n</h5>\n<br>\n`;this.$swal({type:"Info",title:"README",icon:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}},async onActionHybrid_stackrm(t){if(t.isConfirmed&&"1"==this.isstatus){await w.dispatch("pipelineLLO/hybrid_leave",{token:this.token,node:this.CONFIG.swarmlabid,bootstrapstackid:this.hybridshowdata.bootstrapstackid,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}},onError(t,e){var a=e,s="<h5>Bootstrap "+t+"</h5>";this.$swal({type:t,html:s+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},setFilter(){this.moreParams={filter:this.searchFor,type:this.selected},s["default"].nextTick(()=>this.$refs.vuetable.refresh())},resetFilter(){this.moreParams={},this.searchFor="",s["default"].nextTick(()=>this.$refs.vuetable.refresh())},onPaginationData(t){this.$refs.pagination.setPaginationData(t),this.$refs.paginationInfo.setPaginationData(t)},onChangePage(t){this.$refs.vuetable.changePage(t)},editRow(t){alert("You clicked edit on"+JSON.stringify(t))},async onAction(t,e,a){if(this.actionrowindex=a,"view-item"==t){this.hybridshowdata=e,console.log("index111 "+JSON.stringify(this.hybridshowdata));var s={};s.stackid=this.hybridshowdata.stackid,s.ip=this.hybridshowdata.ip,s.publickey=this.hybridshowdata.publickey,this.$root.$emit("hybrid_wg_showstats",s)}else if("adduser"==t){this.hybridshowdata=e,console.log("-------hybrid invite------- "+JSON.stringify(this.hybridshowdata));await w.dispatch("pipelineLLO/wg_invite_accept",{token:this.token,action:"add",wg:this.hybridshowdata});this.refreshVuetable()}else if("rmuser"==t){this.hybridshowdata=e;await w.dispatch("pipelineLLO/wg_invite_accept",{token:this.token,action:"rm",wg:this.hybridshowdata});this.refreshVuetable()}},refreshVuetable(){this.$nextTick(()=>{this.vuetablekey1a+=1})},playbookinfoShow(t){return this.visibility[t]=!0},playbookinfo(t){return this.playbookInfo=t},rowClicked(t,e){return{html:!0,title:()=>"Hello <b>Popover:</b> "+ ++this.counter,content:()=>"The date is:<br><em>"+new Date+"</em>"}},loadsuccess(t){if(t.data.data){var e=t.data.data;this.fielddata=e;e.length;1}else{e="";this.fielddata=e;e.length;1}},onLoadError(t){"401"==t.response.status&&(window.location.href="https://api-login.swarmlab.io:8089",s["default"].nextTick(()=>window.location.href="https://api-login.swarmlab.io:8089"))}},actions:{}},Et=It,Lt=(a("7eb7"),Object(A["a"])(Et,Bt,St,!1,null,null,null)),Nt=Lt.exports,jt={components:{ViewNetwork:Rt,card:C,BuildStats:Nt},data(){return{loading:!1,consoleView:"off",productIndex:1}},mounted(){},beforeDestroy(){},created(){}},Dt=jt,Tt=Object(A["a"])(Dt,ht,pt,!1,null,null,null),Pt=Tt.exports,Ft=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-6 order-first "},[a("br"),a("mydeploy-manage-bootstrap")],1),a("div",{staticClass:"col-6 order-last"},[a("br"),a("mydeploy-manage-view")],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:!0===t.hybridshowuser,expression:"hybridshowuser===true"}],staticClass:"row"},[a("div",{staticClass:"col-12 order-first "},[a("request-network")],1)])])},Gt=[],zt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("5ed1"),alt:"..."}})]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Swarmlab Venus - Build Your Network")])])]),s("br"),s("b-row",[s("b-col",{attrs:{cols:"6"}},[s("ValidationProvider",{ref:"hybrid_image",attrs:{name:"NetworkDesc",rules:"required|alpha_num_image"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;e.ariaMsg,e.ariaInput,e.valid,e.invalid;return[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.deploy.image,expression:"deploy.image"}],staticClass:"form-control",class:{"is-valid":1==t.isDeployValid.image,"is-invalid":2==t.isDeployValid.image},attrs:{type:"text",name:"Image","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Project Name"},domProps:{value:t.deploy.image},on:{keyup:function(e){return t.isValid("image")},input:function(e){e.target.composing||t.$set(t.deploy,"image",e.target.value)}}}),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"ti-info btn btn-outline-secondary",attrs:{round:"",type:"button"},on:{click:function(e){return t.showInfo("image")}}})])]),s("span",{staticClass:"hybrid-field-error"},[t._v(t._s(a[0]))])]}}])})],1),s("b-col",{attrs:{cols:"6"}},[s("ValidationProvider",{ref:"hybrid_stackname",attrs:{name:"StackName",rules:"required|alpha_num_name"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;e.ariaMsg,e.ariaInput,e.valid,e.invalid;return[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.deploy.stackname,expression:"deploy.stackname"}],staticClass:"form-control",class:{"is-valid":1==t.isDeployValid.stackname,"is-invalid":2==t.isDeployValid.stackname},attrs:{type:"text",name:"StackName","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"VPN StackName"},domProps:{value:t.deploy.stackname},on:{keyup:function(e){return t.isValid("stackname")},input:function(e){e.target.composing||t.$set(t.deploy,"stackname",e.target.value)}}}),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"ti-info btn btn-outline-secondary",attrs:{round:"",type:"button"},on:{click:function(e){return t.showInfo("stackname")}}})])]),s("span",{staticClass:"hybrid-field-error"},[t._v(t._s(a[0]))])]}}])})],1)],1),s("b-row",[s("b-col",{attrs:{cols:"6"}},[s("div",{staticClass:"input-group input-group-sm mb-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"}},[t._v("Start date ")])]),s("date-picker",{attrs:{type:"date",autocomplete:"off",format:"YYYY-MM-DD",lang:"en"},model:{value:t.deploy.startdate,callback:function(e){t.$set(t.deploy,"startdate",e)},expression:"deploy.startdate"}})],1)]),s("b-col",{attrs:{cols:"6"}},[s("div",{staticClass:"input-group input-group-sm mb-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"}},[t._v("Start time")])]),s("date-picker",{attrs:{type:"time",format:"HH:mm","show-hour":"","show-minute":"","time-picker-options":t.timePickerOptions,lang:"en"},model:{value:t.deploy.starttime,callback:function(e){t.$set(t.deploy,"starttime",e)},expression:"deploy.starttime"}})],1)])],1),s("b-row",[s("b-col",{attrs:{cols:"6"}},[s("div",{staticClass:"input-group input-group-sm mb-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"}},[t._v("End date ")])]),s("date-picker",{attrs:{type:"date",autocomplete:"off",format:"YYYY-MM-DD",lang:"en"},model:{value:t.deploy.enddate,callback:function(e){t.$set(t.deploy,"enddate",e)},expression:"deploy.enddate"}})],1)]),s("b-col",{attrs:{cols:"6"}},[s("div",{staticClass:"input-group input-group-sm mb-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"}},[t._v("End time")])]),s("date-picker",{attrs:{type:"time",format:"HH:mm","show-hour":"","show-minute":"","time-picker-options":t.timePickerOptions,lang:"en"},model:{value:t.deploy.endtime,callback:function(e){t.$set(t.deploy,"endtime",e)},expression:"deploy.endtime"}})],1)])],1),s("b-row",[s("b-col",{attrs:{cols:"6"}},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"ti-cloud-up btn btn-outline-success",attrs:{round:"",type:"button",title:"Deploy"},on:{click:function(e){return t.add_deploy()}}},[t._v(" Create Network\n\t\t\t\t\t\t\t\t\t\t\t")])])])]),s("b-col",{attrs:{cols:"2"}}),s("b-col",{attrs:{cols:"4"}})],1)],1)],1)},Vt=[],Yt=a("ec45");a("411c");Object(L["b"])("alpha_num",N["a"]),Object(L["b"])("mybetween",N["b"]),Object(L["b"])("mybetween",{message:"The {_field_} field must be a number: 1-65535"}),Object(L["b"])("alpha_num_image",t=>{var e=new RegExp(/^[A-Za-z0-9\:\.\-\_\/]+$/,"i");return!!e.test(t)||"The {_field_} field may contain alphabetic characters, numbers, colons, hyphens, slashes, dots and underscores"}),Object(L["b"])("alpha_num_name",t=>{if(t.length<16){var e=new RegExp(/^[A-Za-z0-9]+$/,"i");if(e.test(t))return!0}return"The {_field_} field may contain alphabetic characters and numbers (< 16 )"}),Object(L["b"])("alpha_num_cpu",t=>{var e=new RegExp(/^(?!0\d)\d+(?:\.\d{1})?$/);return!!e.test(t)||"The {_field_} field may contain numbers and dots e.g 0.5"}),Object(L["b"])("alpha_num_memory",t=>{var e=new RegExp(/^[0-9]+$/,"i");return!!e.test(t)||"The {_field_} field may contain numbers e.g 500"}),Object(L["b"])("alpha_url",t=>{var e=new RegExp(/https?:\/\/(git\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/,"i");return!!e.test(t)||"The {_field_} field may contain url"}),Object(L["b"])("required",{...N["c"],message:"This field is required"});var Mt={components:{DatePicker:Yt["a"],ValidationProvider:L["a"],card:C},props:{},data(){return{isHybridError:!1,isHybridSuccess:!1,token:"",timePickerOptions:{start:"00:00",step:"00:30",end:"23:30"},deploy:{usersjoin:!0,startdate:3,enddate:3,starttime:3,endtime:3},isDeployValid:{image:3,stackname:3},wgserverup:"",wgserversettings:"",isDeployError:{}}},mounted(){},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){},computed:{},methods:{async add_deploy(){var t=Object.entries(this.deploy),e=new Promise((e,a)=>{t.forEach((t,a,s)=>{this.isValid(s[a][0]),a===s.length-1&&e()})});e.then(()=>{(async()=>{var t=!0,e=!0;for(const[n,r]of Object.entries(this.isDeployValid))console.log(`${n}: ${r}`),1!=r&&(t=!1);for(const[n,r]of Object.entries(this.deploy))console.log(`deploy ${n}: ${r}`),"startdate"!=n&&"enddate"!=n&&"starttime"!=n&&"endtime"!=n||(console.log(`${n}: ${r}`),3==r&&(e=!1));if(t&&e){var a={};a.name=this.deploy.image,a.stackname=this.deploy.stackname,a.startdate=this.deploy.startdate,a.enddate=this.deploy.enddate,a.starttime=this.deploy.starttime,a.endtime=this.deploy.endtime;var s=await w.dispatch("pipelineLLO/create_vpn",{wg:a});if("yes"==s.data.wgnetworkexist){var i=`<h5>The network "${this.deploy.stackname}" exist</h5> Please remove it before trying again! <br><br>See also in "Manage your Networks" table`;this.$swal({type:"Info",title:"Info!",icon:"info",html:i,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}else{var o=await w.dispatch("pipelineLLO/adddeploy",{wg:a});o.data.data.error?console.log("from server2 "+JSON.stringify(o)):(this.wgserverup=o.data.data.data,this.wgserversettings=o.data.data.data,console.log("from server3 "+JSON.stringify(o))),this.$root.$emit("wg_refresh_bootstrap_view"),console.log("ok");i='<h5>The deploy process is started</h5> Please wait for it to finish before trying again! <br><br>See also in "Manage your Networks" table';this.$swal({type:"Info",title:"Info!",icon:"info",html:i,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}}else{i="Missing required fields";this.$swal({type:"Info",title:"Info!",icon:"info",html:i,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}})()})},async showInfo(t){if("image"==t)var e="<h5>To start, first put a <b>name</b> or something that gives away the subject of your project.\n </h5>\n <br>\n<br>\n The field may contain alphabetic characters, numbers, colons, hyphens, slashes, dots and underscores\n";else if("stackname"==t)e="<h5>To start, we need to have a <b>Network Stack Name </b> <br>\n<br> This will bring up all the services, volumes, networks and everything else <br> in an isolated environment.\n</h6>\n<br>\n<br>\n The field may contain alphabetic characters and numbers\n";else if("network"==t)e="<h5>To start, we need to have a <b>Network </b> <br>\n<br> This will bring up all the services, volumes, networks and everything else <br> in an isolated network environment.\n<br>\n<br>\nServices running inside any of this networks containers have access (not limited by any firewall) to all other services.\n<br>\n</h5>\n<br>\n<br>\n The field may contain alphabetic characters and numbers\n\n";else if("url"==t)e="<h5><b>Git Repo url </b></h5>\n<br> The location of the file describing your service. (most comonly README)</br> \n<br>\n</br>\n</h5>\n<br>\n<br>\n The field may contain any valid url BUT it must be under https://git.swarmlab.io\n";else if("networkport"==t)e="<h5><b>Network Port </b></h5>\n<br> \n<h5>\nBy default, when you create a container, <b>it does not publish any of its ports to the outside world. </b>\n<br>\nTo make a port available to Services which are not connected to the Stack network, we use this port. \n</h5>\n<br>\n<h5>\n<u>\nTo make a service available we have to know the port number used by these service inside the container.\n</u>\n<br>\n<b>Please insert that here.</b>\n</h5>\n<br>\n<br>\n(The port for outside connections is automatically generated and you dont have to worry about it!)\n<br>\n<br>\n The field may contain numbers\n";else if("cpu"==t)e="<h5>To start, we need to have a <b>CPU </b> Limit <br>\n<br> Limit the specific CPUs or cores a container can use\n</h6>\n<br>\n<br>\nThe field may contain numbers and dots e.g 0.5\n";else if("memory"==t)e="<h5>To start, we need to have a <b>Memory </b> Limit \n<br> <br> Limit the specific Memoty a container can use <br> \ne.g 200\n<br> \n(MB)\n</h6>\n<br>\n<br>\n<h6>\n<i>\nIt is important <b>not</b> to allow a running container to consume too much of the host machine’s memory.\n</i>\n</h6>\n<br>\n<br>\n The field may contain numbers\n";else if("name"==t)e="<h5>To start, we need to have a <b>Name </b><br> \nThis name is only for your own use. The system completely disregards it!\n</h5>\n<br>\n<br>\n The field may contain alphabetic characters and numbers\n";this.$swal({type:"Info",title:"Info!",icon:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},async isValid(t){if("image"==t){var e=await this.$refs.hybrid_image.validate();1==e.valid?this.isDeployValid.image=1:this.isDeployValid.image=2}else if("stackname"==t){e=await this.$refs.hybrid_stackname.validate();1==e.valid?this.isDeployValid.stackname=1:this.isDeployValid.stackname=2}else if("network"==t){e=await this.$refs.hybrid_network.validate();1==e.valid?this.isDeployValid.network=1:this.isDeployValid.network=2}else if("url"==t){e=await this.$refs.hybrid_url.validate();1==e.valid?this.isDeployValid.url=1:this.isDeployValid.url=2}else if("networkport"==t){e=await this.$refs.hybrid_networkport.validate();1==e.valid?this.isDeployValid.networkport=1:this.isDeployValid.networkport=2}else if("cpu"==t){e=await this.$refs.hybrid_cpu.validate();1==e.valid?this.isDeployValid.cpu=1:this.isDeployValid.cpu=2}else if("memory"==t){e=await this.$refs.hybrid_memory.validate();1==e.valid?this.isDeployValid.memory=1:this.isDeployValid.memory=2}else if("name"==t){e=await this.$refs.hybrid_name.validate();1==e.valid?this.isDeployValid.name=1:this.isDeployValid.name=2}}},actions:{}},qt=Mt,Ut=(a("aa1b"),Object(A["a"])(qt,zt,Vt,!1,null,null,null)),Jt=Ut.exports,Ht=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:0==t.hybridshowlog,expression:"hybridshowlog==false"}],staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("f467"),alt:"..."}})]),s("v-wait",{attrs:{for:"myRunInstancetutor"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v("\n Enter Lab_room...\n ")])])],2),s("b-container",{attrs:{fluid:""}},[s("div",{directives:[{name:"show",rawName:"v-show",value:0==t.hybridshowlog,expression:"hybridshowlog==false"}],staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Manage your Networks")])])]),s("br"),s("div",{directives:[{name:"show",rawName:"v-show",value:t.hybridshowlog,expression:"hybridshowlog"}],staticClass:"row"},[s("div",{staticClass:"col-12"},[s("log-view")],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.bootstrapstackname&&0==t.hybridshowlog?s("button",{staticClass:"btn btn-outline-info",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionLog(1)}}},[t._v("\n Show logs\n ")]):t._e(),t.hybridshowdata.bootstrapstackname&&1==t.hybridshowlog?s("button",{staticClass:"btn btn-outline-warning",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionLog(2)}}},[t._v("\n Close logs\n ")]):t._e()])]),s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.bootstrapstackname&&0==t.hybridshowuser?s("button",{staticClass:"btn btn-outline-info",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionUser(1)}}},[t._v("\n Show users\n ")]):t._e(),t.hybridshowdata.bootstrapstackname&&1==t.hybridshowuser?s("button",{staticClass:"btn btn-outline-warning",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionUser(2)}}},[t._v("\n Close users\n ")]):t._e()])]),s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.bootstrapstackname?s("button",{staticClass:"btn btn-outline-danger",attrs:{round:"",type:"button"},on:{click:function(e){return t.onActionHybrid("stack-stop")}}},[t._v("\n Remove Network\n ")]):t._e()])]),s("div",{staticClass:"col-3 text-info"},[s("div",{staticClass:"input-group-prepend"})])]),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Instances\n ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.Replicas)+"\n ")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n Image \n ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapimage)+"\n ")])]):t._e(),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Names\n ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapname)+"\n ")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n EndAt\n ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapdateend)+"\n ")])]):t._e(),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Networks\n ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapnetwork)+"\n ")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n BeginAt\n ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.bootstrapdatebegin)+"\n ")])]):t._e(),t.hybridshowdata.bootstrapstackname?s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v("\n Status\n ")]),t.hybridshowdata.status?s("div",{staticClass:"col-3 text-secondary"},[s("span",{staticClass:"ti-check text-success"})]):s("div",{staticClass:"col-3 text-secondary"},[s("span")]),s("div",{staticClass:"col-2 text-info"},[t._v("\n Ports\n ")]),0!=t.hybridshowdata.ports?s("div",{staticClass:"col-4 text-secondary"},[t._v("\n "+t._s(t.hybridshowdata.ports)+"\n ")]):s("div",{staticClass:"col-4 text-secondary"})]):t._e()]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.searchFor,expression:"searchFor"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Search By StackName"},domProps:{value:t.searchFor},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.setFilter(e)},input:function(e){e.target.composing||(t.searchFor=e.target.value)}}}),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:t.setFilter}},[t._v("\n\t\t\t\t\tGo")])]),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button"},on:{click:t.resetFilter}},[t._v("\n\t\t\t\t\tReset")])])]),s("vuetable",{key:t.vuetablekeyd,ref:"vuetable",attrs:{"api-url":t.apiurl,"api-mode":!0,"http-options":t.httpOptions,fields:t.fields,"item-actions":t.itemActions,"sort-order":t.sortOrder,"show-sort-icons":!0,"multi-sort":t.multiSort,"per-page":t.perpage,"pagination-path":"links.pagination","pagination-component":t.paginationComponent,"append-params":t.moreParams,"wrapper-class":"vuetable-wrapper","loading-class":"loading","detail-row-id":"id",css:t.css.table},on:{"vuetable:pagination-data":t.onPaginationData,"vuetable:load-success":t.loadsuccess,"vuetable:load-error":t.onLoadError},scopedSlots:t._u([{key:"actions",fn:function(e){return s("div",{},[t.actionrowindex==e.rowIndex?s("button",{staticClass:"ti-more-alt btn btn-secondary btn-sm",attrs:{round:""},on:{click:function(a){return t.onAction("run-more",e.rowData,e.rowIndex)}}}):s("button",{staticClass:"ti-more btn btn-outline-secondary btn-sm",attrs:{round:""},on:{click:function(a){return t.onAction("run-more",e.rowData,e.rowIndex)}}})])}}])}),s("div",{staticClass:"vuetable-pagination ui basic segment grid"},[s("vuetable-pagination-info",{ref:"paginationInfo",attrs:{css:t.css.paginationInfo}}),s("vuetable-pagination",{ref:"pagination",attrs:{css:t.css.pagination},on:{"vuetable-pagination:change-page":t.onChangePage}})],1)],1)],1)},Wt=[],Kt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("3606"),alt:"..."}})]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:" col text-center"},[s("v-wait",{attrs:{for:"myRunInstance1"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c"),width:"50",height:"50"}}),t._v("\n\t\t\t\t\tLab_Instance...\n\t\t\t\t")])])],2),t.extenderror?s("button",{staticClass:"btn btn-outline-danger btn-sm",attrs:{type:"button",round:""},on:{click:function(e){return t.runextenderror()}}},[t._v("\n Error: max depth exceeded")]):t._e(),t.tryConsole?s("button",{staticClass:"btn btn-outline-warning btn-sm",attrs:{type:"button",round:""},on:{click:function(e){return t.clear()}}},[t._v("\n Clear")]):t._e(),s("button",{staticClass:"btn btn-outline-info btn-sm",attrs:{type:"button",round:"",disabled:""}},[t._v("\n Console")]),"sublime"==t.cmOptions.keyMap?s("button",{staticClass:"btn btn-outline-info btn-sm",attrs:{type:"button",round:""},on:{click:t.infoFilter}},[t._v("\n i")]):t._e()],1),s("div",{staticClass:"codemirror"},[s("codemirror",{ref:"myCm",attrs:{value:t.code,options:t.cmOptions},on:{cursorActivity:t.onCmCursorActivity,ready:t.onCmReady,focus:t.onCmFocus,input:t.onCmCodeChange}})],1)])],1)},$t=[],Qt=a("8f94"),Zt=(a("c4e3"),a("21a6"),a("a7be"),a("eb8f"),a("b866"),a("31c5"),a("9b74"),a("f6b6"),a("3c98"),a("9c7b"),a("715d"),a("b933"),a("23de"),a("02f0"),a("8c33"),a("7289"),a("2aed"),a("d72f"),a("0b6c"),a("9a48"),a("75f8"),a("697e"),a("aedd"),a("164b"),a("4895"),a("cbc8"),a("8d70"),a("9f09"),a("a2c1"),a("56b3"),a("d7d5"),{components:{card:C,codemirror:Qt["codemirror"]},data(){return{socketonline:!1,extenderror:!1,tryConsole:!1,ssl:{},getinfo:"",token:"",swarmlabname:"",code:"",editchoice:"",optionsedit:[{text:"code",value:"code"},{text:"text",value:"text"}],llodesc:[{llo_url:"",llo_name:"",llo_author:"",llo_intro:""}],llo:[{id:0,rm:!1,data_info:"Asciidoc \n",data_code:"#Your source code",data_service:"",code_datafile:"url",code_name:"",code_exec:"",code_options:"",code_mime:"",code_info:"",code_code:"",code_codeout:"",code_codeoutput:"console",points:"",challenge_question:"",code_challenge_question:"",challenge_answer:"",challenge_answer_hint:"",code_challenge_answer_hint:"",challenge_answer_source:"",challenge_answer_code_out:"",challenge_answer_code:"",code_challenge_answer_code:""}],searchLLO:[],searchLLOactive:!1,ADOC_html_code:"",challenge:[],action:"",tryLLO:[],service:"os2",active:0,activecount:0,remove:"",activeField:"",bootstrap:!1,firstbootstrap:0,htmlasciitmp:"",datafile:"https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master/0_netstat/data",datadir:"0_netstat/data",LearningObject:"",showllo:!0,showlloedit:!0,selected:"sublime",options:[{text:"vim",value:"vim"},{text:"sublime",value:"sublime"}],optionsmime:[{text:"sh",value:"bash"},{text:"javascript",value:"javascript"},{text:"python",value:"python"},{text:"php",value:"php"},{text:"sql",value:"sq;"},{text:"xml",value:"xml"},{text:"c",value:"c"}],pValidate:!1,cmOptions:{tabSize:2,styleActiveLine:!0,lineNumbers:!1,lineSeparator:"\n",line:!0,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],highlightSelectionMatches:{showToken:/\w/,annotateScrollbar:!0},styleSelectedText:!0,mode:"shell",hintOptions:{completeSingle:!1},keyMap:"sublime",matchBrackets:!0,showCursorWhenSelecting:!0,indentUnit:this.ADOC_html_code,lineWrapping:!0,theme:"idea",refresh:!0,readOnly:!0,autofocus:!1,extraKeys:{Ctrl:"autocomplete"}},ADOC_html:[]}},methods:{clear(){this.tryConsole=!1,this.code=""},async getdata(){var t=this.getinfo;await w.dispatch("pipelineLLO/get_data",{code:t})},async showactive(t){this.topwindow(t)},onCmReady(t){t.on("change",(t,e)=>{}),t.on("keypress",()=>{t.showHint({completeSingle:!1})})},onCmCursorActivity(t,e,a){},onCmFocus(t){},onCmCodeChange(t){this.code=t},handleChange(){},setKeymap(){this.cmOptions.keyMap=this.selected},infoFilter(){var t="<h3>Playbook Images</h3>",e='<table class="table table-striped table-sm "><tr><td class="text-left">Shift-Tab</td> <td class="text-left">indentLess</td></tr><tr><td class="text-left">Alt-Q</td> <td class="text-left">wrapLines</td></tr><tr><td class="text-left">Ctrl-Up</td> <td class="text-left">scrollLineUp</td></tr><tr><td class="text-left">Ctrl-Down</td> <td class="text-left">scrollLineDown</td></tr><tr><td class="text-left">Ctrl-L</td> <td class="text-left">selectLine</td></tr><tr><td class="text-left">Esc</td> <td class="text-left">singleSelectionTop</td></tr><tr><td class="text-left">Ctrl-Enter</td> <td class="text-left">insertLineAfter</td></tr><tr><td class="text-left">Ctrl-D</td> <td class="text-left">selectNextOccurrence</td></tr><tr><td class="text-left">Shift-Ctrl-Space</td> <td class="text-left">selectScope</td></tr><tr><td class="text-left">Shift-Ctrl-M</td> <td class="text-left">selectBetweenBrackets</td></tr><tr><td class="text-left">Ctrl-M</td> <td class="text-left">goToBracket</td></tr><tr><td class="text-left">Ctrl-K Ctrl-Y</td> <td class="text-left">sublimeYank</td></tr><tr><td class="text-left">Ctrl-K Ctrl-C</td> <td class="text-left">showInCenter</td></tr><tr><td class="text-left">Ctrl-K Ctrl-G</td> <td class="text-left">clearBookmarks</td></tr><tr><td class="text-left">Ctrl-K Ctrl-Backspace</td> <td class="text-left">delLineLeft</td></tr><tr><td class="text-left">Ctrl-K Ctrl-0</td> <td class="text-left">unfoldAll</td></tr><tr><td class="text-left">Ctrl-K Ctrl-J</td> <td class="text-left">unfoldAll</td></tr><tr><td class="text-left">Ctrl-Alt-Up</td> <td class="text-left">addCursorToPrevLine</td></tr><tr><td class="text-left">Ctrl-Alt-Down</td> <td class="text-left">addCursorToNextLine</td></tr><tr><td class="text-left">Ctrl-F3</td> <td class="text-left">findUnder</td></tr><tr><td class="text-left">Shift-Ctrl-F3</td> <td class="text-left">findUnderPrevious</td></tr><tr><td class="text-left">Shift-Ctrl-[</td> <td class="text-left">fold</td></tr><tr><td class="text-left">Shift-Ctrl-]</td> <td class="text-left">unfold</td></tr><tr><td class="text-left">Ctrl-F</td> <td class="text-left">find</td></tr></table>',a=(t="","");this.$swal({title:"<strong>Key bindings</strong>",type:"info",html:e+t+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1})}},computed:{codemirror(){return this.$refs.myCm.codemirror}},mounted(){this.$root.$on("hybrid_server_log_status",t=>{this.$nextTick((function(){"off"==t?this.socketonline=!1:"on"==t&&(this.socketonline=!0)}))}),this.$root.$on("hybrid_server_log_in",t=>{console.log("logsemiton "+JSON.stringify(t)),this.code+=t,this.code+="\n",this.tryConsole=!0})},beforeDestroy(){this.$root.$off("hybrid_server_log_status"),this.$root.$off("hybrid_server_log_in")},created(){this.token=new URL(location.href).searchParams.get("token"),this.swarmlabname=new URL(location.href).searchParams.get("pipelinename")}}),Xt=Zt,te=(a("f101"),Object(A["a"])(Xt,Kt,$t,!1,null,null,null)),ee=te.exports,ae={components:{card:C,Vuetable:B["Vuetable"],VuetablePagination:I["a"],VuetablePaginationInfo:S["a"],VuetablePaginationDropdown:B["VuetablePaginationDropdown"],LogView:ee},props:{},data(){return{hybridshowlog:!1,hybridshowuser:!1,actionrowindex:"",playbookInfo:{},hybridshowdata:{},token:"",playbook:{title:"",name:"",description:""},container:{name:"",view:0},pipeline:{},selected:"hybrid",options:[{text:"Packages",value:"packages"},{text:"Images",value:"images"},{text:"Scripts",value:"scripts"}],showModal:!1,visibility:[],active:!1,vuetablekeyd:0,fielddata:{},fields:[{name:"bootstrapname",title:'<span class="orange"></span>Name',sortField:"bootstrapname",visible:!0,dataClass:"text-left text-wrap text-break break-word",width:"15%"},{name:"bootstrapstackname",title:'<span class="orange"></span>StackName',sortField:"bootstrapstackname",visible:!0,dataClass:"left aligned w-25",width:"15%"},{name:"_id",title:'<span class="orange"></span>mongo',visible:!1},{name:"bootstrapdatebegin5",title:'<span class="orange"></span>Begin',sortField:"bootstrapdatebegin5",titleClass:"center aligned",visible:!0,width:"10%"},{name:"bootstrapdateend",title:'<span class="orange"></span>End',sortField:"bootstrapdateend",titleClass:"center aligned",visible:!0,width:"10%"},{name:"ID",sortField:"ID",titleClass:"center aligned",dataClass:"left aligned w-25",visible:!1,width:"15%"},{name:"__slot:actions",title:"Actions",titleClass:"center aligned",dataClass:"center aligned",width:"5%"}],apiurl:d.swarmlab_url_80+"/swarmlabhybridbootstrapserviceswg",css:E["a"],perpage:5,searchFor:"",sortOrder:[{field:"bootstrapdatebegin5",direction:"desc"}],multiSort:!0,paginationComponent:"vuetable-pagination",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"scripts",tutor:"yes"}}},mounted(){this.$root.$on("wg_refresh_bootstrap_view",()=>{s["default"].nextTick(()=>this.$refs.vuetable.refresh())})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("wg_refresh_bootstrap_view")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{async onActionUser(t){if(1==t){this.hybridshowuser=!0;var e={};e.hybridshowuser=this.hybridshowuser,e.data=this.hybridshowdata,this.$root.$emit("hybrid_wg_showuser",e)}else if(2==t){this.hybridshowuser=!1;e={};e.hybridshowuser=this.hybridshowuser,e.data=this.hybridshowdata,this.$root.$emit("hybrid_wg_showuser",e)}},async onActionLog(t){if(1==t){var e=await w.dispatch("pipelineLLO/wg_servicelog",{token:this.token,bootstrapnameid:this.hybridshowdata.bootstrapnameid}),a=e.data.data.data;if("ok"==e.data.data.errorexec_msg&&e.data.data.data)this.hybridshowlog=!0,this.$root.$emit("hybrid_server_log_in",a);else{var s="No logs are available";this.$swal({type:"Info",title:"LOG",icon:"info",html:s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}}else 2==t&&(this.hybridshowlog=!1)},async onActionHybrid(t){if("stack-stop"==t){var e="<h5>This will remove the network with the name<b> "+this.hybridshowdata.bootstrapstackname+"</b> <br><br> Users, networks, and secrets associated with the stack will be removed. </h5>";this.$swal({type:"Info",title:"Info!",icon:"warning",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"}).then(t=>{this.onActionHybrid_stackrm(t)})}else if("service-stop"==t){var a=await w.dispatch("pipelineLLO/hybrid_servicerm",{token:this.token,bootstrapstackid:this.hybridshowdata.bootstrapstackid,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}else if("service-restart"==t){a=await w.dispatch("pipelineLLO/wg_servicerestart",{token:this.token,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh());e="";e="ok"==a.data.data.errorexec_msg?"<h5>Update existing service: ok!</h5>":"<h5>Update existing service: error!</h5>",this.$swal({type:"Info",title:"INFO",icon:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}},async onActionHybrid_stackrm(t){if(t.isConfirmed){await w.dispatch("pipelineLLO/stackrmwg",{token:this.token,bootstrapstackid:this.hybridshowdata.bootstrapstackid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}},onError(t,e){var a=e,s="<h5>Bootstrap "+t+"</h5>";this.$swal({type:t,html:s+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},setFilter(){this.moreParams={filter:this.searchFor,type:this.selected},s["default"].nextTick(()=>this.$refs.vuetable.refresh())},resetFilter(){this.moreParams={},this.searchFor="",s["default"].nextTick(()=>this.$refs.vuetable.refresh())},onPaginationData(t){this.$refs.pagination.setPaginationData(t),this.$refs.paginationInfo.setPaginationData(t)},onChangePage(t){this.$refs.vuetable.changePage(t)},editRow(t){alert("You clicked edit on"+JSON.stringify(t))},async onAction(t,e,a){this.actionrowindex=a,"view-item"==t||("run-more"==t?this.hybridshowdata=e:"delete-item"==t&&this.$swal({type:"info",html:info+winfo,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Yes, Delete it!"}))},refreshVuetable(){this.$nextTick(()=>{this.vuetablekeyd+=1})},playbookinfoShow(t){return this.visibility[t]=!0},playbookinfo(t){return this.playbookInfo=t},rowClicked(t,e){return{html:!0,title:()=>"Hello <b>Popover:</b> "+ ++this.counter,content:()=>"The date is:<br><em>"+new Date+"</em>"}},loadsuccess(t){if(t.data.data){var e=t.data.data;this.fielddata=e;e.length;1}else{e="",e.length;1}},onLoadError(t){"401"==t.response.status&&(window.location.href="https://api-login.swarmlab.io:8089",s["default"].nextTick(()=>window.location.href="https://api-login.swarmlab.io:8089"))}},actions:{}},se=ae,ie=(a("7296"),Object(A["a"])(se,Ht,Wt,!1,null,null,null)),oe=ie.exports,ne=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("v-wait",{attrs:{for:"myRunInstancetutor"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v("\n Enter Lab_room...\n ")])])],2),s("b-container",{attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Network - "+t._s(t.bootstrapname))])])]),s("br"),s("vuetable",{key:t.vuetablekey1a,ref:"vuetable",attrs:{"api-url":t.apiurl,"api-mode":!0,"http-options":t.httpOptions,fields:t.fields,"item-actions":t.itemActions,"sort-order":t.sortOrder,"show-sort-icons":!0,"multi-sort":t.multiSort,"per-page":t.perpage,"pagination-path":"links.pagination","pagination-component":t.paginationComponent,"append-params":t.moreParams,"wrapper-class":"vuetable-wrapper","loading-class":"loading","detail-row-id":"id",css:t.css.table},on:{"vuetable:pagination-data":t.onPaginationData,"vuetable:load-success":t.loadsuccess,"vuetable:load-error":t.onLoadError},scopedSlots:t._u([{key:"actionslocal",fn:function(e){return s("div",{},[s("div",{staticClass:"d-flex justify-content-center"},[t.testactionrowindex[e.rowData.bootstrapnameid]?s("button",{staticClass:"ti-thumb-up btn btn-info btn-sm",attrs:{title:"Disable user",disabled:"",round:""}}):s("button",{staticClass:"ti-thumb-down btn btn-secondary btn-sm",attrs:{title:"Enable user",disabled:"",round:""}})])])}},{key:"actions",fn:function(e){return s("div",{},[s("div",{staticClass:"d-flex justify-content-center"},[t.testactionrowindex[e.rowData._id]?s("button",{staticClass:" ti-eye btn btn-info btn-sm",attrs:{round:"",title:"Disable"},on:{click:function(a){return t.onAction("rmuser",e.rowData,e.rowIndex)}}}):s("button",{staticClass:" ti-eye btn btn-outline-secondary btn-sm",attrs:{round:"",title:"Enable"},on:{click:function(a){return t.onAction("adduser",e.rowData,e.rowIndex)}}})])])}}])}),s("div",{staticClass:"vuetable-pagination ui basic segment grid"},[s("vuetable-pagination-info",{ref:"paginationInfo",attrs:{css:t.css.paginationInfo}}),s("vuetable-pagination",{ref:"pagination",attrs:{css:t.css.pagination},on:{"vuetable-pagination:change-page":t.onChangePage}})],1)],1)],1)},re=[],le={components:{card:C,Vuetable:B["Vuetable"],VuetablePagination:I["a"],VuetablePaginationInfo:S["a"],VuetablePaginationDropdown:B["VuetablePaginationDropdown"]},props:{},data(){return{testactionrowindex:[],actionrowindex:"",playbookInfo:{},hybridshowdata:{},bootstrapname:"",server_wg_public:"",server_wg_port:"",server_wg_userprivate:"",token:"",CONFIG:{},isstatus:"",playbook:{title:"",name:"",description:""},container:{name:"",view:0},pipeline:{},selected:"hybrid",options:[{text:"Packages",value:"packages"},{text:"Images",value:"images"},{text:"Scripts",value:"scripts"}],showModal:!1,visibility:[],active:!1,vuetablekey1a:0,fielddata:{},fields:[{name:"user",title:'<span class="orange"></span>User',sortField:"user",visible:!0,dataClass:"text-left text-wrap text-break break-word",width:"90%",callback:t=>{for(var e=0;e<this.fielddata.length;e++){var a=this.fielddata[e].user;if(a==t){var s={};s.bootstrapnameid=this.fielddata[e]._id,s.status=this.fielddata[e].status,s.bootstrapstackname=this.fielddata[e].user,this.checkactionrowindex(s)}}return t}},{name:"status",title:'<span class="orange"></span>Status',sortField:"status",visible:!0,dataClass:"left aligned w-25",width:"5%",callback:t=>{if(1==t){var e='\n <button\n class="ti-thumb-up btn btn-info btn-sm"\n title="Disable user"\n disabled\n round\n >\n </button>';return e}e='\n <button\n class="ti-thumb-down btn btn-secondary btn-sm"\n title="Disable user"\n disabled\n round\n >\n </button>';return e}},{name:"bootstrapstackid",title:'<span class="orange"></span>StackID',sortField:"bootstrapstackid",visible:!1,dataClass:"left aligned w-25",width:"5%",callback:t=>{for(var e=0;e<this.fielddata.length;e++){var a=this.fielddata[e].bootstrapstackid;if(a==t){var s={};s.bootstrapnameid=this.fielddata[e].bootstrapnameid,s.bootstrapstackname=this.fielddata[e].bootstrapstackname,this.checkactionrowindex(s)}}return t}},{name:"_id",title:'<span class="orange"></span>mongo',visible:!1},{name:"bootstrapdatebegin5",title:'<span class="orange"></span>Begin',sortField:"bootstrapdatebegin5",titleClass:"center aligned",visible:!1,width:"10%"},{name:"bootstrapdateend",title:'<span class="orange"></span>End',sortField:"bootstrapdateend",titleClass:"center aligned",visible:!1,width:"95%"},{name:"status",title:'<span class="orange"></span>Status',sortField:"status",titleClass:"center aligned",visible:!1,width:"5%",callback:function(t){if(1==t){var e='<span class="ti-check text-success"> </span>';return e}e="<span> </span>";return e}},{name:"ID",sortField:"ID",titleClass:"center aligned",dataClass:"left aligned w-25",visible:!1,width:"15%"},{name:"__slot:actions",title:"Actions",titleClass:"center aligned",dataClass:"center aligned",width:"5%"}],apiurl:d.swarmlab_url_80+"/swarmlabhybridgetinvite",css:E["a"],perpage:10,searchFor:"",sortOrder:[{field:"user",direction:"desc"}],multiSort:!0,paginationComponent:"vuetable-pagination",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"wg",tutor:"yes"}}},mounted(){this.$root.$on("hybrid_wg_showuser",t=>{console.log("-----table--- "+JSON.stringify(t.data)),this.moreParams={filter:t.data.bootstrapstackid,type:"wg"},this.bootstrapname=t.data.bootstrapstackname,this.refreshVuetable()})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_wg_showuser")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{async checkactionrowindex(t){var e={};e.token=this.token,e.bootstrapnameid=t.bootstrapnameid,e.status=t.status,e.bootstrapstackname=t.bootstrapstackname;var a=t.bootstrapnameid;console.log("res18 1 "+JSON.stringify(e)),1==e.status?(s["default"].set(this.testactionrowindex,t.bootstrapnameid,a),console.log("res8 YES "+JSON.stringify(e))):(console.log("res8 NO "+JSON.stringify(e)),s["default"].delete(this.testactionrowindex,t.bootstrapnameid)),console.log("res18 all "+JSON.stringify(this.testactionrowindex))},async onActionHybrid(t){if(this.CONFIG=await w.getters["pipelineLLO/getstatusswarmlab"],"Online"==this.CONFIG.hybrid?this.isstatus=!0:this.isstatus=!1,"stack-stop"==t){var e="<h5>This will leave the stack with the name<b> "+this.hybridshowdata.bootstrapstackname+"</b> </h5>";this.$swal({type:"Info",title:"Info!",icon:"warning",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"}).then(t=>{this.onActionHybrid_stackrm(t)})}else if("stack-start"==t){console.log("stack-start "+JSON.stringify(this.hybridshowdata));var a=await w.dispatch("pipelineLLO/hybrid_join",{token:this.token,node:this.hybridshowdata.bootstrapstackid,bootstrapstackid:this.hybridshowdata.bootstrapstackid,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh()),this.server_wg_public=a.data.data.data.server_public,this.server_wg_port=a.data.data.data.server_port,this.server_wg_userprivate=a.data.data.data.user_private,this.server_wg_usernetmask=a.data.data.data.user_netmask,this.server_wg_userip=a.data.data.data.user_ip,this.server_wg_usernetwork=a.data.data.data.user_network;var i=await w.dispatch("pipelineLLO/hybrid_join_start",{publickey:this.server_wg_public,endpointport:this.server_wg_port,netmask:this.server_wg_usernetmask,peer_ip:this.server_wg_userip,serverip:"83.212.78.14",allowedips:`${this.server_wg_usernetwork}/${this.server_wg_usernetmask}`,privatekey:this.server_wg_userprivate});if("ok"==i.data.action)await w.dispatch("pipelineLLO/hybrid_join_connect",{action:"connect"});console.log("stack-start "+JSON.stringify(i)),console.log(JSON.stringify(a))}else if("service-invite"==t){console.log("status "+this.isstatus),console.log(this.hybridshowdata.bootstrapstackid);a=await w.dispatch("pipelineLLO/wg_invite",{token:this.token,bootstrapstackid:this.hybridshowdata.bootstrapstackid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}else if("service-info"==t){var o=this.hybridshowdata.bootstrapurl;e=`<h5>You will be redirected to the README page of the repository (OUTSIDE Swarmlab-Hybrid)<br> \n<a href="${o}" target="new">click here to continue</a>\n</h5>\n<br>\n`;this.$swal({type:"Info",title:"README",icon:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}},async onActionHybrid_stackrm(t){if(t.isConfirmed&&"1"==this.isstatus){await w.dispatch("pipelineLLO/hybrid_leave",{token:this.token,node:this.CONFIG.swarmlabid,bootstrapstackid:this.hybridshowdata.bootstrapstackid,bootstrapnameid:this.hybridshowdata.bootstrapnameid});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}},onError(t,e){var a=e,s="<h5>Bootstrap "+t+"</h5>";this.$swal({type:t,html:s+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},setFilter(){this.moreParams={filter:this.searchFor,type:this.selected},s["default"].nextTick(()=>this.$refs.vuetable.refresh())},resetFilter(){this.moreParams={},this.searchFor="",s["default"].nextTick(()=>this.$refs.vuetable.refresh())},onPaginationData(t){this.$refs.pagination.setPaginationData(t),this.$refs.paginationInfo.setPaginationData(t)},onChangePage(t){this.$refs.vuetable.changePage(t)},editRow(t){alert("You clicked edit on"+JSON.stringify(t))},async onAction(t,e,a){if(this.actionrowindex=a,"view-item"==t);else if("adduser"==t){this.hybridshowdata=e,console.log("-------hybrid invite------- "+JSON.stringify(this.hybridshowdata));var s=await w.dispatch("pipelineLLO/wg_invite_accept",{token:this.token,action:"add",wg:this.hybridshowdata});console.log("-------hybrid invite action ------- "+JSON.stringify(s)),this.refreshVuetable()}else if("rmuser"==t){this.hybridshowdata=e,console.log("-------hybrid invite------- "+JSON.stringify(this.hybridshowdata));s=await w.dispatch("pipelineLLO/wg_invite_accept",{token:this.token,action:"rm",wg:this.hybridshowdata});this.refreshVuetable(),console.log("-------hybrid invite action ------- "+JSON.stringify(s))}else"delete-item"==t&&this.$swal({type:"info",html:info+winfo,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Yes, Delete it!"})},refreshVuetable(){this.$nextTick(()=>{this.vuetablekey1a+=1})},playbookinfoShow(t){return this.visibility[t]=!0},playbookinfo(t){return this.playbookInfo=t},rowClicked(t,e){return{html:!0,title:()=>"Hello <b>Popover:</b> "+ ++this.counter,content:()=>"The date is:<br><em>"+new Date+"</em>"}},loadsuccess(t){if(t.data.data){var e=t.data.data;this.fielddata=e;e.length;1}else{e="";this.fielddata=e;e.length;1}},onLoadError(t){"401"==t.response.status&&(window.location.href="https://api-login.swarmlab.io:8089",s["default"].nextTick(()=>window.location.href="https://api-login.swarmlab.io:8089"))}},actions:{}},ce=le,de=(a("a928"),Object(A["a"])(ce,ne,re,!1,null,null,null)),ue=de.exports,he={components:{card:C,MydeployManageBootstrap:Jt,RequestNetwork:ue,MydeployManageView:oe},data(){return{loading:!1,consoleView:"off",hybridshowuser:!1,productIndex:1}},mounted(){this.$root.$on("hybrid_wg_showuser",t=>{this.hybridshowuser=t.hybridshowuser,console.log("view "+this.hybridshowuser)})},beforeDestroy(){this.$root.$off("hybrid_wg_showuser")},created(){}},pe=he,be=Object(A["a"])(pe,Ft,Gt,!1,null,null,null),me=be.exports,we=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-8 order-first "},[s("br"),s("calendar-view-events-dashboard")],1),s("div",{staticClass:"col-4 order-last"},[s("br"),s("b-container",{directives:[{name:"show",rawName:"v-show",value:1==t.hybridshowlog,expression:"hybridshowlog==1"}],attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("img",{staticClass:"border-white w-75 p-3",attrs:{src:a("574b"),alt:"..."}})])])]),s("calendar-view-events",{directives:[{name:"show",rawName:"v-show",value:2==t.hybridshowlog,expression:"hybridshowlog==2"}]})],1)])])},fe=[],ge=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:1==t.hybridshowlog,expression:"hybridshowlog==true"}],staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("9f0c"),alt:"..."}})]),s("v-wait",{attrs:{for:"myRunInstancetutor"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v("\n Enter Lab_room...\n ")])])],2),s("b-container",{attrs:{fluid:""}},[s("div",{directives:[{name:"show",rawName:"v-show",value:1==t.hybridshowlog,expression:"hybridshowlog==true"}],staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("table",{staticClass:"table table-hover"},[s("tbody",[s("tr",[s("th",{attrs:{scope:"row"}},[t._v("Title")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.title)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("Type")]),s("td",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.type)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),s("td",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.lang)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("Description")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.desc)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("More info")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.url)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("Level")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.Level)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("Prerequisites")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.Prerequisites)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("startDate")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.startDate)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("endDate")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.endDate)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),s("tr",[s("th",{attrs:{scope:"row"}},[t._v("url")]),s("td",{attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.labtext.originalItem.urltype)+"\n\t\t\t\t\t\t\t\t\t\t\t")])])])])])])])],1)},ve=[],ye={components:{card:C},props:{},data(){return{hybridshowlog:!1,labtext:{originalItem:{}},token:""}},mounted(){this.$root.$on("hybrid_labobject_view",t=>{this.hybridshowlog=!0,this.labtext=t})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_labobject_view")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{},actions:{}},Ae=ye,ke=(a("e24e"),Object(A["a"])(Ae,ge,ve,!1,null,null,null)),Ce=ke.exports,_e=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("9704"),alt:"..."}})]),s("v-wait",{attrs:{for:"myRunInstancetutor"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v("\n Enter Lab_room...\n ")])])],2),s("b-container",{attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("h5",[t._v("Swarmlab-venus "),s("u",[t._v("Network Virtualization")])])])]),s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("h5",[t._v("on-demand network environments")]),s("p",[s("b",[t._v("private - public - hybrid ")])])])]),s("br"),s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-3"}),s("div",{staticClass:"col-6"},[s("h5",[s("b",[t._v("on-demand sandbox environments")])]),s("ul",{staticClass:"list-group list-group-flush "},[s("li",{staticClass:"list-group-item list-group-item list-group-item-action list-group-item-light"},[t._v("Virtual Labroom ")]),s("li",{staticClass:"list-group-item list-group-item list-group-item-action list-group-item-light"},[t._v(" Virtual Classroom ")]),s("li",{staticClass:"list-group-item list-group-item list-group-item-action list-group-item-light"},[t._v("Proof-of-Concept (POC)")])])]),s("div",{staticClass:"col-3"})])])],1)},xe=[],Oe={components:{card:C},props:{},data(){return{hybridshowlog:!1,labtext:{originalItem:{}},token:""}},mounted(){this.$root.$on("hybrid_labobject_view",t=>{this.hybridshowlog=!0,this.labtext=t})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_labobject_view")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{},actions:{}},Re=Oe,Be=(a("1a67"),Object(A["a"])(Re,_e,xe,!1,null,null,null)),Se=Be.exports,Ie={components:{card:C,CalendarViewEvents:Ce,CalendarViewEventsDashboard:Se},data(){return{hybridshowlog:1,loading:!1,consoleView:"off",productIndex:1}},mounted(){this.$root.$on("hybrid_labobject_view",t=>{this.hybridshowlog=2})},beforeDestroy(){},created(){}},Ee=Ie,Le=Object(A["a"])(Ee,we,fe,!1,null,null,null),Ne=Le.exports,je={name:"app",components:{card:C,ViewDashboard:Ne,ConnectServer:X,ManageServices:ut,ManageStats:Pt,ManageDeploy:me},data(){return{warning:!0,componentKeyreload:1,componentKeyreload1:1,componentKeyreload2:1,componentKeyreload3:1,componentKeybuilders:1,setStatusAgent:"",checkconnect:"",issocket:!1,isconnect:!1,activeItem:"",activeItemSub:"",sidemenou:"max",hybridmenou:"dashboard",show:!0,token:"",SwarmabAsciiLabTemplate:""}},mounted(){this.$root.$on("hybrid_server_status",t=>{this.serverstatus()})},beforeMount(){this.socketopen(),this.socketauthenticate()},beforeDestroy(){this.$root.$off("hybrid_server_status")},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token");w.dispatch("pipelineLLO/settoken",{token:this.token})},methods:{setWarning(){this.warning=!1},async onAction(t){if("check"==t){if(this.$socket.disconnected)var e="close";else if(this.$socket.connected)e="open";if(this.isconnect)var a="open";else a="close";var s="Status<br>";s+="Agent is "+e+"<br>",s+="Server is "+a,this.$swal({type:"info",html:s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showCancelButton:!0,showLoaderOnConfirm:!1,focusCancel:!0,confirmButtonText:"Yes, Reconnect!"}).then(t=>{this.reconnenting(t)})}else"connect"==t&&window.location.reload()},async reconnenting(t){t.value&&(this.componentKeyreload+=1,this.componentKeyreload1+=1,this.componentKeyreload2+=1,this.componentKeyreload3+=1,this.componentKeybuilders+=1)},async serverstatus(t){var e=w.getters["pipelineLLO/getstatus"];"active"==e.data.swarmlab&&"Online"==e.data.hybrid?this.isconnect=!0:this.isconnect=!1},onActionMenu(t){"max"==t?this.sidemenou="max":"min"==t&&(this.sidemenou="min")},hybrid(t){this.hybridmenou=t,console.log(t),"bootstrap"==t?this.$root.$emit("hybrid_refresh_dockerservices"):"dashboard"==t?console.log("dashboard "+t):"connect-server"==t?this.$root.$emit("hybrid_connect_server"):"llo"==t?console.log("llo "+t):"services"==t&&this.$root.$emit("hybrid_refresh_availableservices")},isActive:function(t){return this.activeItem===t},isActiveSub:function(t){return this.activeItemSub===t},setActive:function(t,e){this.activeItem=t,this.activeItemSub=e},showdiscl(){var t='<code class="precode text-info" >Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:';t+="<br>",t+="<br>",t+="1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.",t+="<br>",t+="<br>",t+="2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.",t+="<br>",t+="<br>",t+="3. Neither the name of Swarmlab.io nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.",t+="<br>",t+="<br>",t+="THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</code>";let e='<div class="text-left" style="height: 550px; overflow-y: scroll;"><b><p>'+t+"</p></b></div>";this.$swal({type:"Info",title:"Legal Disclaimer and Notices",icon:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},async socketopen(){this.$socket.client.open(),this.$socket.client.connect()},async socketauthenticate(){this.$socket.client.emit("authenticate",this.token)},async socketreconnect(){await this.socketopen();this.socketauthenticate()},async socketclose(){this.$socket.client.close()}},computed:{socketStatus(){return w.getters["pipelineLLO/getsocketStatus"]}},watch:{socketStatus(t){this.issocket=t}},sockets:{connect(){console.log("socket connected socketdatasend"),this.issocket="open"},error(t){this.issocket="close"},connect_error(t){console.log("socket connect_error "+JSON.stringify(t)),this.issocket="close",this.socketopen(),this.socketreconnect()},disconnect(t){this.issocket="close",this.socketreconnect()},connect_timeout(t){this.issocket="close",this.socketreconnect()},reconnect(t){console.log("socket reconnect attemptNumber "+JSON.stringify(t)),this.socketreconnect()},reconnect_attempt(t){console.log("socket reconnect_attempt "+JSON.stringify(t)),this.socketreconnect()},reconnecting(t){console.log("socket reconnecting "+JSON.stringify(t)),this.socketreconnect()},reconnect_error(t){this.issocket="close",this.socketreconnect()},unauthorized(t){this.issocket="close"},socket_id_emit(t){this.issocket="open"},async message_err(t){console.log(" message_err "+JSON.stringify(t))},async message_close(t){console.log(" message_close "+JSON.stringify(t))}}},De=je,Te=(a("034f"),Object(A["a"])(De,i,o,!1,null,null,null)),Pe=Te.exports,Fe=a("5886"),Ge=(a("4413"),a("f2d6")),ze=a.n(Ge),Ve=(a("c059"),a("f87c")),Ye=a("8e27");s["default"].use(Fe["a"]),s["default"].use(ze.a);var Me=d.url_80;const qe=Object(Ye["io"])(Me,{autoConnect:!0,reconnection:!0,reconnectionDelay:500,maxReconnectionAttempts:1/0,pingInterval:25e3,pingTimeout:6e4,transports:["websocket","polling"],secure:!0,rejectUnauthorized:!1});s["default"].use(Ve["a"],qe),s["default"].use(r["b"]);s["default"].component("ValidationProvider",L["a"]),s["default"].config.productionTip=!1,new s["default"]({el:"#app",store:w,wait:new ze.a,render:t=>t(Pe)})},"574b":function(t,e,a){t.exports=a.p+"img/venus1.826d0774.png"},"5ed1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH5QQbCzgJmtO9cQAAAiFJREFUeNrlWlu2wyAIDNRddT9dVPfTZfX0/ubk+kBlAGN+W4VhkJfSYfA93p9f75rv60kWuvGx+ZcQTCPYO3uR5v6EcvGzkr1H4AqwtF7DEMn6bEfzOLYA36OglH0tItJqrLtmATT4EfbNDNCrzCqewlZgWnFAm33peo7ApAb43BrJPowEf13/fT3JqsSVYkgezNeMgJD7eH9+JZmhegGk0Ut7M1KRHnfXBi+VzRHAe3rY9u0w37nMlXgB7wK09BvvxH74NOhmgAjse1WIjAAyCsYjdXIE4BpGGF1Hs0egJViyd24PqU4l+dL1hLq0mJ0ES/bQMD6NMoSo6XvYlOrU0odyPbtnJydplTUJmQpaXjMDTT0pEmiUEWqeQ5EAe9QHFAWklyFoxSZI9XZ41S5QKxPQym2wRiHEEWd36NSXzQJ3iAUj5Td7tqIRjMfe/bgX+8V5wA6ecMZoekfnzX6OXK61m3fyhhKWf6XwzHQmIvstErNpcHbMFB38+bo8tf6Q2xBliBrAmad2NaM1CyGrxwy98aZ3TFaafKk9SUVOlmuyRnQrpkHNAensWBvZD1TrgAiKIxuhq97T0T6KIUaJU0130Z7ASfSDRnhtgyACLaEEWqW+WTns5dJWx6UlJx3Gn/fVW9cR0BI+yzYyKMNufUcKJq0pT4/B3XK4VUMVzgDRbpRpddCzMYZWBKwZYGlF0Jp1xFIeALkej37+0RXjH+Ju1ERSh/vYAAAAAElFTkSuQmCC"},"5f73":function(t,e,a){},"603c":function(t,e,a){},"64a9":function(t,e,a){},7296:function(t,e,a){"use strict";a("954b")},"7eb7":function(t,e,a){"use strict";a("9e59")},"8cd7":function(t,e,a){},"954b":function(t,e,a){},9704:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH5QUGCiwWp6SrFAAACG9JREFUeNrt3c1x2zoUBlCToy6ycxXpJZt0kkkn3qQXV5Fd6lBWfpPn8Q8IAsQF7jm7N/MiSyS/Dxe0LD08AAAAAAAAAACr2ByCfB6fnu+9Hvv396+uKQXAyiFXDAoAYVcICgCBVwgKAKFXBgoAoVcGCgChVwYKAMFXBAoAoVcGCoAYwe8dmFGvTREoAMEPGoisr1sBcFkIZrvwHQ8FIPgucMdIAQi+C9pxUwAuYBdwx2OpBBSAC9ZxdVwVgAs0+3F2jBWAi9Jxd8wVgIvQ8c99/F18Lrz05yPzuXARuticm8TnxsV40QUm+M6TAnBR4XwpABcSzp0CcAER+jxmOIcuUheN85n4fLpYXSzObeLz6oIVfuc48fl10Qq/c534PLtwT1wUgq8EFIDwowQUgP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wwH7Jngx8gPeQxpPEs2nhQIYZUCtF+8gdsfrL/9N8R75TYYDGJcPc8SvQ9T7CyPGKtY80HfOdfmr0/vc8Q3lDx8ixqzOY74JnBs0xvKsx/jOwmipdnUWM22tH4fTxRFC8vj/hx0XdncNPES7OoMZtqfI0v/NUcEwz8kbER4mVZ1JhNtP0Nly7p8bIWoz0T9Nwi3hTn/S1jyL30jTCd9pf+ozwWZ8Bdwg1w9xFe0jW2dp7d02M2x63R+NWNv/OH0N50SNeUswfeGNOnw93KTv+9uZbfHJtbvTkX9wpw+/EgFnWmzLp7EZ92vJT2r2g519TrYPw4bzuPnu7M+1r76ojT36quXJb+vVpZDQP+LJptfLdi+sq6M/3BuryzQHs9PfQPKZX1IP7PpeF/z5hv/aPXhhI3QhZ9E8TfRDBdZRNZ5E1QP/lfCNM/b2fdxDqov/i/QKZ/3GrfCM2VH4nTv3U08T/C1I2vVCqVSqVSqVQqlUqlUqlUKpVKpVKpVCqVSqWy2dy583/z2anbdD5tZgAAAABJRU5ErkJggg=="},a2af:function(t,e,a){t.exports=a.p+"img/warning.f9cebb9b.png"},a928:function(t,e,a){"use strict";a("c6a8")},aa1b:function(t,e,a){"use strict";a("4c44")},ba22:function(t,e,a){},c059:function(t,e,a){},c6a8:function(t,e,a){},cd6e:function(t,e,a){"use strict";a("d4d8")},cf1c:function(t,e,a){t.exports=a.p+"img/loading.f4404720.gif"},d4d8:function(t,e,a){},ddb5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH5QUODSYFGQ48KgAACXpJREFUeNrtnVtsFNcZx39nbey1196C4xs2BgfM3YSALUiAUkEKaQLsgFIaSoXSCKmt0laiUduoD1WpKrWiVaU+0KrKW4Lq1CHUrFOURKhBhWAItxJqwBBXtsHLxcbGWXuN76cPGwEbr8ka9jKz8/2f0MycncP8f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o7H+UO/66eDvhRdfvg6ln0s6+g0tLReSWkd12npPUovWm5dKdmhm2bN+DnqVt1FKQPoNd+H5WSikpNQxeWM/fom0x2TKDZlc0dx+iSr5nDI2xpa+GFi0dJXfsL1OTHg/0pmIa7o4UK1czwUApNfeHLxVZmDfKTGd2UzF6EXrn13rm/UsSljkBCwj+E+WxcPCuGeBbNRE0MfS9PN9WjPq6GzgaYvia0wY1zMBiAxd9Gz1+OcrpCp4TGs6iT1eBvpjMjtJ6Au7+VVGcWVG5Bz6pEpTlDz9vVjjp7EC7U0JWVSyDt3qfe0of6yfVfh+lr0IufH/X4+v3nHv6smRu9aSH7CzMHSHEVhD23Hh6i9vAJ8wAQTwg8S8pRrvC1enRfAPxfmNedmWNGhmi1hc8/9fbFKSfCdxZ0wA8Bf+hGl3vM/yeA91BdQswHE1cIUU4XOF1xbzses8O2dbnB5cYqckRKSkw02G/7+3A9PJSw0Z/428CbLbIS09VuvggQryigTlYH52sbj3517J2Ejf6ERwBv8SbUOzvRVxrQ/k77GN8XQPsagzUPXRUJ7cuXjnL5kJS19WWRXP4YZHNFNM9LFEjO0S8RQETEmb5EgeQb/eMCQCBIPvNlChAx7sUeiQLJM/ofCgCBIHnMf2gABILkMF9yABGP9AcfiQLWHv2PDIBAYG3zowKAQGBd86MGgEBgTfOjCoBAYD3zow6AQGAt82MCgEBgHfNjBoCAYA3zYw6AQGBe4+MGgEBgXvPjBoBAYE7z4wqAgGAu4xMGgEBgHvMTBoCAkHjjTQGA3UEwQ10mUxWItAsIZirMacoKockKghkrspq6RGyygGDmUryWqRFsRRisUIPZckWizQ6C1QpvW75KeKKBsHql9aQsEx8rKJKxrP7/ATX3xI0TR52WAAAAAElFTkSuQmCC"},e24e:function(t,e,a){"use strict";a("ba22")},e454:function(t,e,a){},f101:function(t,e,a){"use strict";a("8cd7")},f467:function(t,e,a){t.exports=a.p+"img/hybrid-1.852eef88.png"},f67a:function(t,e,a){}});
//# sourceMappingURL=app.865eea28.js.map