(function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));return r},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="",n(n.s=0)})({0:function(t,e,n){t.exports=n("56d7")},"00ee":function(t,e,n){var r=n("b622"),a=r("toStringTag"),i={};i[a]="z",t.exports="[object z]"===String(i)},"00fd":function(t,e,n){var r=n("9e69"),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,s=r?r.toStringTag:void 0;function u(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(u){}var a=o.call(t);return r&&(e?t[s]=n:delete t[s]),a}t.exports=u},"019f":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-group",[n("vui-group-item",{attrs:{label:"Hard drive:"}},[n("vui-progress",{staticClass:"vui-progress",class:{good:!t.lowHardDrive,average:t.lowHardDrive},attrs:{max:t.s.disk_size,value:t.s.disk_used}},[t._v(t._s(t.s.disk_used)+"GQ / "+t._s(t.s.disk_size)+"GQ")])],1)],1),t.s.queue_size?[n("h2",[t._v("Queue")]),n("table",{staticClass:"queue-list"},[t._m(0),t._l(t.queue,(function(e){return n("tr",{key:e.filename},[n("td",{staticClass:"name"},[t._v(t._s(e.filename))]),n("td",[n("vui-progress",{staticClass:"vui-progress",attrs:{max:e.size,value:e.progress}},[t._v(t._s(e.progress)+"GQ / "+t._s(e.size)+"GQ")])],1),n("td",{staticClass:"action"},[n("vui-button",{attrs:{params:{cancel:e.filename}}},[t._v("Cancel")])],1)])}))],2)]:t._e(),n("h2",[t._v("Available Programs")]),n("vui-input-search",{staticStyle:{float:"right"},attrs:{input:t.unrestrictedPrograms,keys:["name","filename","desc"],autofocus:""},model:{value:t.search_results,callback:function(e){t.search_results=e},expression:"search_results"}}),n("vui-group",[t._l(t.search_results,(function(e){return[n("vui-group-item",{key:e.filename,attrs:{label:"Program name:"}},[n("b",[t._v(t._s(e.name))])]),n("vui-group-item",{key:e.filename,attrs:{label:"File name:"}},[t._v(t._s(e.filename)+" ("+t._s(e.size)+" GQ)")]),n("vui-group-item",{key:e.filename,attrs:{label:"Description:"}},[t._v(t._s(e.desc))]),n("vui-group-item",{key:e.filename,attrs:{label:"File controls:"}},[n("vui-button",{class:{danger:!t.canDownload(e)},attrs:{params:{download:e.filename}}},[t._v("Download")])],1),n("td",{key:e.filename,attrs:{colspan:"2"}},[n("hr")])]}))],2)],2)},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v("Name")]),n("th",[t._v("Progress")]),n("th",[t._v("Action")])])}];n("a4d3"),n("e01a"),n("d28b"),n("4de4"),n("a630"),n("e260"),n("d81d"),n("fb6a"),n("b0c0"),n("4fad"),n("d3b7"),n("25f0"),n("3ca3"),n("ddb0");function i(t,e){return l(t)||c(t,e)||s(t,e)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n.8},queue:function(){var t=this;return Object.entries(this.s.queue).map((function(e){var n=i(e,2),r=n[0],a=n[1],o=t.s.available[r];return o.progress=a,o.filename=r,o}))}},methods:{canDownload:function(t){return!(t.size+this.s.queue_size+this.s.disk_used>this.s.disk_size)}}},f=d,v=(n("3bab"),n("2877")),p=Object(v["a"])(f,r,a,!1,null,"a4703c50",null);e["default"]=p.exports},"025e":function(t,e,n){"use strict";n("a15b"),n("13d5"),n("ac1f"),n("1276");var r=n("c0d6");e["a"]={sendToTopicRaw:function(t){var e=[];for(var n in t)if(Array.isArray(t[n]))for(var r in t[n])e.push(encodeURIComponent(n)+"="+encodeURIComponent(r));else e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));var a=new XMLHttpRequest,i="?"+e.join("&");a.open("GET",i,!0),a.send()},sendToTopic:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={src:r["a"].state.uiref,vueuihrefjson:JSON.stringify(t)};e&&(n["vueuistateupdate"]=r["a"].getStatePushDataString()),this.sendToTopicRaw(n)},dotNotationRead:function(t,e){return e.split(".").reduce((function(t,e){return t[e]}),t)}}},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}}},"0481":function(t,e,n){"use strict";var r=n("23e7"),a=n("a2bf"),i=n("7b0b"),o=n("50c4"),s=n("a691"),u=n("65f0");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=o(e.length),r=u(e,0);return r.length=a(r,e,e,n,0,void 0===t?1:s(t)),r}})},"0566":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.new_own_tag,expression:"new_own_tag"}],attrs:{placeholder:t.own_tag},domProps:{value:t.new_own_tag},on:{input:function(e){e.target.composing||(t.new_own_tag=e.target.value)}}}),n("vui-button",{attrs:{params:{tag:t.new_own_tag}}},[t._v("Set GPS Tag")]),n("br"),n("input",{directives:[{name:"model",rawName:"v-model",value:t.add_track_tag,expression:"add_track_tag"}],domProps:{value:t.add_track_tag},on:{input:function(e){e.target.composing||(t.add_track_tag=e.target.value)}}}),n("vui-button",{attrs:{params:{add_tag:t.add_track_tag}}},[t._v("Track New Tag")]),n("br"),n("vui-button",{attrs:{params:{add_all:1}}},[t._v("Track All")]),n("vui-button",{attrs:{params:{clear_all:1}}},[t._v("Untrack All")]),n("hr"),n("table",[t._m(0),t._l(t.tracking_list,(function(e){return n("tr",{key:e.tag},[n("td",[t._v(" "+t._s(e.tag)+" ")]),n("td",[t._v(" "+t._s(e.pos_x)+", "+t._s(e.pos_y)+", "+t._s(e.pos_z)+" ")]),n("td",[t._v(" "+t._s(e.area)+" ")]),e.tag!=t.own_tag?n("vui-button",{attrs:{params:{remove_tag:e.tag}}},[t._v("Untrack")]):n("td")],1)}))],2)],1)},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v("GPS Tag")]),n("th",[t._v("Location")]),n("th",[t._v("Area")]),n("th",[t._v("Remove")])])}],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},"057f":function(t,e,n){var r=n("fc6a"),a=n("241c").f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(e){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==i.call(t)?s(t):a(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),a=n("d1e7"),i=n("5c6c"),o=n("fc6a"),s=n("c04e"),u=n("5135"),c=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=o(t),e=s(e,!0),c)try{return l(t,e)}catch(n){}if(u(t,e))return i(!a.f.call(t,e),t[e])}},"07ac":function(t,e,n){var r=n("23e7"),a=n("6f53").values;r({target:"Object",stat:!0},{values:function(t){return a(t)}})},"07c3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("i",[t._v("Welcome to computer configuration utility. Please consult your system administrator if you have any questions about your device.")]),n("hr"),n("h2",[t._v("Power Supply")]),n("vui-item",{attrs:{label:"Battery Status:"}},[t.battery?n("span",[t._v("Active")]):n("span",[t._v("Not Available")])]),t.battery?n("vui-item",{attrs:{label:"Battery Rating:"}},[t._v(t._s(t.battery.rating))]):t._e(),t.battery?n("vui-item",{attrs:{label:"Battery Charge:"}},[n("vui-progress",{attrs:{value:t.battery.percent}},[t._v(t._s(t.battery.percent)+"%")])],1):t._e(),n("vui-item",{attrs:{label:"Power Usage:"}},[t._v(t._s(t.power_usage)+"W")]),n("h2",[t._v("File System")]),t.battery?n("vui-item",{attrs:{label:"Used Capacity:"}},[n("vui-progress",{attrs:{value:t.disk_used,min:"0",max:t.disk_size}},[t._v(t._s(t.disk_used)+"GQ / "+t._s(t.disk_size)+"GQ")])],1):t._e(),n("h2",[t._v("Computer Components")]),t._l(t.hardware,(function(e,r){return n("div",{key:r},[n("h3",[t._v(t._s(r))]),n("vui-item",{attrs:{label:"State:"}},[e.enabled?n("span",[t._v("Enabled")]):n("span",[t._v("Disabled")])]),n("vui-item",{attrs:{label:"Power Usage:"}},[t._v(t._s(e.power_usage)+"W")]),e.critical?t._e():n("vui-item",{attrs:{label:"Toggle Component:"}},[n("vui-button",{attrs:{params:{PC_enable_component:r},disabled:!!e.enabled}},[t._v("ON")]),n("vui-button",{attrs:{params:{PC_disable_component:r},disabled:!e.enabled}},[t._v("OFF")])],1)],1)})),n("i",[t._v("NTOS v2.0.4b Copyright NanoTrasen 2557 - 2559")])],2)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},"0851":function(t,e,n){"use strict";var r=n("1c92"),a=n.n(r);a.a},"09cd":function(t,e,n){"use strict";var r=n("bfa1"),a=n.n(r);a.a},"0cfb":function(t,e,n){var r=n("83ab"),a=n("d039"),i=n("cc12");t.exports=!r&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0e1a":function(t,e,n){},"0ea6":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.passcode,expression:"passcode"}],attrs:{placeholder:"Enter passcode...",autofocus:""},domProps:{value:t.passcode},on:{input:function(e){e.target.composing||(t.passcode=e.target.value)}}}),n("vui-button",{attrs:{params:{set_passcode:t.passcode}}},[t._v("Set")]),n("vui-button",{attrs:{params:{lock:1}}},[t._v("Lock")])],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},"0ec3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"tooltip label"},[t._t("label",[t._v(t._s(t.label))]),n("div",{staticClass:"tooltip content"},[t._t("default")],2)],2)},a=[],i={props:{label:{type:String,default:""}}},o=i,s=(n("09cd"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"4ea2a2b3",null);e["default"]=u.exports},1062:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.invalid?n("div",{staticClass:"center"},[t.nocons?n("span",{staticClass:"red"},[t._v("Error: No scanner bed detected!")]):t.occupied?t.ipc?n("span",{staticClass:"red"},[t._v("Error: Object in scanner bed interfering with sensor array.")]):t.noscan?n("span",{staticClass:"red"},[t._v("Error: No diagnostics profile installed for this species.")]):n("span",{staticClass:"red"},[t._v("Error: Unknown error.")]):n("span",{staticClass:"red"},[t._v("No occupant detected.")])]):n("table",{staticClass:"bodyscanner"},[n("div",{staticClass:"row"},[n("div",{staticClass:"column"},[n("h3",[t._v("Patient Status")]),n("hr"),n("vui-group",[n("vui-group-item",{attrs:{label:"Name:"}},[t._v(t._s(t.name))]),n("vui-group-item",{attrs:{label:"Status:"}},[n("span",{style:{color:t.consciousnessLabel(t.stat)}},[t._v(t._s(t.consciousnessText(t.stat)))])]),n("vui-group-item",{attrs:{label:"Species:"}},[t._v(t._s(t.species))]),n("vui-group-item",{attrs:{label:"Brain Activity:"}},[n("span",{style:{color:t.brainLabel(t.brain_activity)}},[t._v(t._s(t.brainText(t.brain_activity)))])]),t.stat<2?[n("vui-group-item",{attrs:{label:"Physical Trauma:"}},[n("span",{style:{color:t.damageLabel(t.bruteLoss)}},[t._v(t._s(t.bruteLoss))])]),n("vui-group-item",{attrs:{label:"Oxygen Deprivation:"}},[n("span",{style:{color:t.damageLabel(t.oxyLoss)}},[t._v(t._s(t.oxyLoss))])]),n("vui-group-item",{attrs:{label:"Organ Failure:"}},[n("span",{style:{color:t.damageLabel(t.toxLoss)}},[t._v(t._s(t.toxLoss))])]),n("vui-group-item",{attrs:{label:"Burn Severity:"}},[n("span",{style:{color:t.damageLabel(t.fireLoss)}},[t._v(t._s(t.fireLoss))])])]:t._e()],2),n("hr"),n("vui-group",[n("vui-group-item",{attrs:{label:"Radation Level:"}},[t._v(t._s(Math.round(t.rads)))]),n("vui-group-item",{attrs:{label:"Genetic Damage:"}},[t._v(t._s(t.cloneLoss))]),n("vui-group-item",{attrs:{label:"Est. Paralysis Level:"}},[t._v(t._s(t.paralysis)),t.paralysis?n("span",[t._v(" (~"+t._s(Math.round(t.paralysis/4))+" seconds left)")]):t._e()]),n("vui-group-item",{attrs:{label:"Body Temperature:"}},[t._v(t._s(t.bodytemp)+" K (~ "+t._s(Math.round(t.bodytemp-273.15))+" C)")])],1),t.hasvirus||t.hastgvirus?n("div",[n("hr"),n("h3",[t._v("Pathogen Analysis:")]),n("hr"),t.hasvirus?n("vui-group",[n("vui-group-item",{staticClass:"bad",attrs:{label:"Viral Status:"}},[t._v("Present")])],1):t.hastgvirus?n("vui-group",t._l(t.tgvirus,(function(e){return n("div",{key:e.name},[n("vui-group-item",{attrs:{label:"Viral Status:"}},[t._v(" "+t._s(e.form)+" Detected")]),n("vui-group-item",{attrs:{label:"Name"}},[t._v(" "+t._s(e.name)+" ")]),n("vui-group-item",{attrs:{label:"Type"}},[t._v(" "+t._s(e.spread)+" ")]),n("vui-group-item",{attrs:{label:"Stage"}},[t._v(" "+t._s(e.stage)+" of "+t._s(e.max_stages)+" ")]),n("vui-group-item",{attrs:{label:"Possible Cure"}},[t._v(" "+t._s(e.cure)+" ")])],1)})),0):n("vui-group",[n("vui-group-item",{staticClass:"good",attrs:{label:"Virus Status:"}},[t._v(" Not Detected ")])],1)],1):t._e(),n("hr"),n("h3",[t._v("Blood Status")]),n("hr"),n("vui-group",[n("vui-group-item",{style:{color:t.getPressureClass(t.blood_pressure_level)},attrs:{label:"BP:"}},[t._v(" "+t._s(t.blood_pressure)+" ")]),n("vui-group-item",{attrs:{label:"Blood Oxygenation:"}},[t._v(" "+t._s(Math.round(t.blood_o2))+"% ")]),Math.round(t.norepiAmt)?n("vui-group-item",{attrs:{label:"Inaprovaline:"}},[t._v(" "+t._s(Math.round(t.norepiAmt))+" unit(s)")]):t._e(),Math.round(t.soporAmt)?n("vui-group-item",{attrs:{label:"Soporific:"}},[t._v(" "+t._s(Math.round(t.soporAmt))+" unit(s)")]):t._e(),Math.round(t.bicardAmt)?n("vui-group-item",{attrs:{label:"Bicaridine:"}},[t._v(" "+t._s(Math.round(t.bicardAmt))+" unit(s)")]):t._e(),Math.round(t.dermAmt)?n("vui-group-item",{attrs:{label:"Dermaline:"}},[t._v(" "+t._s(Math.round(t.dermAmt))+" unit(s)")]):t._e(),Math.round(t.dexAmt)?n("vui-group-item",{attrs:{label:"Dexalin:"}},[t._v(" "+t._s(Math.round(t.dexAmt))+" unit(s)")]):t._e(),Math.round(t.otherAmt)?n("vui-group-item",{attrs:{label:"Other:"}},[t._v(" "+t._s(Math.round(t.otherAmt))+" unit(s)")]):t._e()],1)],1),n("div",{staticClass:"column"},[t.hasmissing?t._l(t.missingparts,(function(e){return n("div",{key:e.name},[n("vui-group-item",[t._v(" "+t._s(e)+" ")])],1)})):t._e(),n("h3",[t._v("Internal Organ Status")]),n("hr"),n("table",[t._m(0),t._l(t.organs,(function(e){return n("tr",{key:e.name},["none"!=e.damage||e.hasWounds?[n("td",[t._v(" "+t._s(t.capitalizeFirstLetter(e.name))+" ")]),n("td",[n("span",{style:{color:t.damageLabel(e.damage)}},[t._v(" "+t._s(e.damage))])]),n("td",t._l(e.wounds,(function(e){return n("div",{key:e.name,staticClass:"bad"},[t._v(" "+t._s(e)+" ")])})),0)]:t._e()],2)}))],2),n("hr"),n("h3",[t._v("External Bodypart Status")]),n("hr"),n("table",[t._m(1),t._l(t.bodyparts,(function(e){return n("tr",{key:e.name},["none"!=e.bruteDmg||"none"!=e.burnDmg||e.hasWounds?[n("td",[t._v(" "+t._s(t.capitalizeFirstLetter(e.name))+" ")]),n("td",[n("span",{style:{color:t.damageLabel(e.bruteDmg)}},[t._v(" "+t._s(e.bruteDmg)+" ")]),t._v(" / "),n("span",{style:{color:t.damageLabel(e.burnDmg)}},[t._v(" "+t._s(e.burnDmg)+" ")])]),n("td",t._l(e.wounds,(function(e){return n("div",{key:e.name},[t._v(" "+t._s(e)+" ")])})),0)]:t._e()],2)}))],2)],2),n("h3",[t._v("Actions")]),n("vui-button",{staticClass:"center",attrs:{params:{print:1}}},[t._v("Print Report")])],1)])])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v("Organ")]),n("th",[t._v("Trauma")]),n("th",[t._v("Wounds")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v("Organ")]),n("th",[t._v("Physical / Burn Trauma")]),n("th",[t._v("Wounds")])])}],i=(n("99af"),n("fb6a"),n("d3b7"),n("25f0"),{data:function(){return this.$root.$data.state},methods:{capitalizeFirstLetter:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},consciousnessLabel:function(t){switch(t){case 0:return"LimeGreen";case 1:return"OrangeRed";case 2:return"Crimson"}},consciousnessText:function(t){switch(t){case 0:return"Conscious";case 1:return"Unconscious";case 2:return"DEAD"}},brainLabel:function(t){switch(t){case 0:return"Crimson";case-1:return"LightSkyBlue";default:return t<=50?"Crimson":t<=80?"Orange":"LimeGreen"}},brainText:function(t){switch(t){case 0:return"none, patient is braindead";case-1:return"ERROR - Nonstandard biology";default:return t.toString().concat("%")}},damageLabel:function(t){return"extreme"==t||t<20?"Crimson":"severe"==t||t<40?"OrangeRed":"significant"==t||t<60?"Tomato":"moderate"==t||t<80?"Orange":"minor"==t||t<100?"LawnGreen":"LimeGreen"},getPressureClass:function(t){switch(t){case 1:return"Crimson";case 2:return"LimeGreen";case 3:return"LawnGreen";case 4:return"Crimson";default:return"LightSkyBlue"}}}}),o=i,s=(n("a3fd"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"965dc4d2",null);e["default"]=u.exports},"10d4":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-item",{attrs:{label:"Turret Status:",balance:.4}},[n("vui-button",{class:{red:t.settings.enabled},attrs:{params:{command:"enable",value:1,turret_ref:t.tref}}},[t._v("Enabled")]),n("vui-button",{class:{selected:!t.settings.enabled},attrs:{params:{command:"enable",value:0,turret_ref:t.tref}}},[t._v("Disabled")])],1),t.settings.is_lethal?n("vui-item",{attrs:{label:"Lethal Mode:",balance:.4}},[n("vui-button",{class:{red:t.settings.lethal&&t.settings.can_switch},attrs:{disabled:!t.settings.can_switch,params:{command:"lethal",value:1,turret_ref:t.tref}}},[t._v("On")]),n("vui-button",{class:{selected:!t.settings.lethal&&t.settings.can_switch},attrs:{disabled:!t.settings.can_switch,params:{command:"lethal",value:0,turret_ref:t.tref}}},[t._v("Off")])],1):t._e(),t._l(t.settings.settings,(function(e,r){return n("vui-item",{key:e.id,attrs:{label:e.category,balance:.4}},[n("vui-button",{class:{selected:e.value},attrs:{params:{command:r,value:1,turret_ref:t.tref}}},[t._v("On")]),n("vui-button",{class:{selected:!e.value},attrs:{params:{command:r,value:0,turret_ref:t.tref}}},[t._v("Off")])],1)}))],2)},a=[],i={props:{settings:{type:Object,default:function(){}},tref:{type:String,default:"this"}}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},1253:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"displayBar"},[n("div",{staticClass:"displayBarFill",style:{width:t.percentage+"%"}},[n("span",[t._t("default")],2)])])},a=[],i=(n("a9e3"),{props:{value:{type:Number,default:50},max:{type:Number,default:100},min:{type:Number,default:0}},computed:{percentage:function(){return(Math.min(this.max,Math.max(this.value,this.min))-this.min)/(this.max-this.min)*100}}}),o=i,s=(n("d0db"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"0c63b5f7",null);e["default"]=u.exports},"126d":function(t,e,n){var r=n("6da8"),a=n("aaec"),i=n("d094");function o(t){return a(t)?i(t):r(t)}t.exports=o},1276:function(t,e,n){"use strict";var r=n("d784"),a=n("44e7"),i=n("825a"),o=n("1d80"),s=n("4840"),u=n("8aa5"),c=n("50c4"),l=n("14c3"),d=n("9263"),f=n("d039"),v=[].push,p=Math.min,m=4294967295,h=!f((function(){return!RegExp(m,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(o(this)),i=void 0===n?m:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!a(t))return e.call(r,t,i);var s,u,c,l=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=new RegExp(t.source,f+"g");while(s=d.call(h,r)){if(u=h.lastIndex,u>p&&(l.push(r.slice(p,s.index)),s.length>1&&s.index=i))break;h.lastIndex===s.index&&h.lastIndex++}return p===r.length?!c&&h.test("")||l.push(""):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var a=o(this),i=void 0==e?void 0:e[t];return void 0!==i?i.call(e,a,n):r.call(String(a),e,n)},function(t,a){var o=n(r,t,this,a,r!==e);if(o.done)return o.value;var d=i(t),f=String(this),v=s(d,RegExp),_=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(h?"y":"g"),b=new v(h?d:"^(?:"+d.source+")",g),y=void 0===a?m:a>>>0;if(0===y)return[];if(0===f.length)return null===l(b,f)?[f]:[];var w=0,x=0,$=[];while(xt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?arguments[1]:void 0)}})},"14c3":function(t,e,n){var r=n("c6b6"),a=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var i=n.call(t,e);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},"14e9":function(t,e,n){"use strict";var r=n("f89c"),a=n.n(r);a.a},1503:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.spawnpoint,expression:"!spawnpoint"}],staticClass:"tagselector"},t._l(t.tags,(function(e,r){return n("vui-button",{key:r,class:{selected:t.current_tag==r},on:{click:function(e){t.current_tag=r}}},[t._v(t._s(r)+" ("+t._s(e)+")")])})),1),n("hr",{directives:[{name:"show",rawName:"v-show",value:!t.spawnpoint,expression:"!spawnpoint"}]}),n("table",[t._m(0),t._l(t.spawners,(function(e,r){return n("tr",{directives:[{name:"show",rawName:"v-show",value:t.showEntry(e),expression:"showEntry(data)"}],key:r},[n("td",[t._v(t._s(e.name))]),n("td",[t._v(t._s(e.desc))]),e.max_count>0?n("td",[t._v(t._s(e.max_count-e.count)+" / "+t._s(e.max_count))]):n("td",[t._v("∞")]),n("td",{staticClass:"action"},[n("vui-button",{attrs:{disabled:0!==e.cant_spawn,params:{spawn:r,spawnpoint:t.spawnpoint},icon:"star"}},[t._v("Spawn")]),1==e.can_edit?n("vui-button",{attrs:{disabled:1==e.enabled,params:{enable:r}}},[t._v("Enable")]):t._e(),1==e.can_edit?n("vui-button",{attrs:{disabled:0==e.enabled,params:{disable:r}}},[t._v("Disable")]):t._e()],1)])}))],2)])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v("Name")]),n("th",[t._v("Description")]),n("th",[t._v("Available Slots")]),n("th",{staticClass:"action"},[t._v("Actions")])])}],i=(n("4de4"),n("5db7"),n("4160"),n("c975"),n("73d9"),n("07ac"),n("159b"),{data:function(){return this.$root.$data.state},computed:{tags:function(){var t=Object.values(this.spawners).flatMap((function(t){return t.tags})),e={All:Object.values(this.spawners).length};return t.filter((function(t,e,n){return n.indexOf(t)===e})).forEach((function(n){e[n]=t.filter((function(t){return t==n})).length})),e}},methods:{showEntry:function(t){return this.spawnpoint?!!Object.prototype.hasOwnProperty.apply(t,"spawnpoints")&&!t.spawnpoints.indexOf(this.spawnpoint):!t.tags.indexOf(this.current_tag)||"All"==this.current_tag}}}),o=i,s=(n("b2d8"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"779ac49e",null);e["default"]=u.exports},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("17c2"),o=n("9112");for(var s in a){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{o(c,"forEach",i)}catch(l){c.forEach=i}}},1650:function(t,e,n){},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=n("ae40"),o=a("forEach"),s=i("forEach");t.exports=o&&s?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"18aa":function(t,e,n){},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622"),a=r("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[a]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(u){}return n}},"1c92":function(t,e,n){},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),a=n("b622"),i=n("2d00"),o=a("species");t.exports=function(t){return i>=51||!r((function(){var e=[],n=e.constructor={};return n[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"203b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.active?n("div",[n("view-records-general",{attrs:{"hide-advanced":""}},[n("vui-group-item",{attrs:{label:"Blood type:"}},[n("view-records-field",{attrs:{editable:(2&t.editable)>0,path:"active.medical.blood_type"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.$root.$data.state,"editingvalue",e.target.multiple?n:n[0])}}},t._l(t.choices.medical.blood_type,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(t._s(e))])})),0)])],1),n("vui-group-item",{attrs:{label:"DNA:"}},[n("view-records-field",{attrs:{editable:(2&t.editable)>0,path:"active.medical.blood_dna"}})],1),n("vui-group-item",{attrs:{label:"Disabilities:"}},[n("view-records-field",{attrs:{editable:(2&t.editable)>0,path:"active.medical.disabilities"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1),n("vui-group-item",{attrs:{label:"Allergies:"}},[n("view-records-field",{attrs:{editable:(2&t.editable)>0,path:"active.medical.allergies"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1),n("vui-group-item",{attrs:{label:"Diseases:"}},[n("view-records-field",{attrs:{editable:(2&t.editable)>0,path:"active.medical.diseases"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1),n("vui-group-item",{attrs:{label:"Comments:"}},[t._l(t.active.medical.comments,(function(e){return n("div",{key:e},[t._v(t._s(e)+" "),(2&t.editable)>0?n("vui-button",{staticClass:"danger",attrs:{params:{removefromrecord:{value:e,key:["active","medical","comments"]}},icon:"trash-alt"}}):t._e()],1)})),0==t.active.medical.comments.length?n("div",[t._v("There are no comments.")]):t._e(),(2&t.editable)>0?n("view-records-field",{attrs:{"edit-button":"Add"},on:{save:function(e){return t.add("active.medical.comments",e)}}}):t._e()],2),n("vui-group-item",{attrs:{label:"Notes:"}},[n("view-records-field",{attrs:{editable:(2&t.editable)>0,path:"active.medical.notes"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1)],1)],1):t._e()},a=[],i=(n("ac1f"),n("1276"),n("025e")),o={data:function(){return this.$root.$data.state},methods:{add:function(t,e){i["a"].sendToTopic({addtorecord:{value:e,key:t.split(".")}})}}},s=o,u=n("2877"),c=Object(u["a"])(s,r,a,!1,null,null,null);e["default"]=c.exports},"207c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-group",[n("vui-group-item",{attrs:{label:"Microphone:"}},[n("vui-button",{class:{selected:t.listening},attrs:{params:{talk:1,nowindow:1}}},[t._v("On")]),n("vui-button",{class:{selected:!t.listening},attrs:{params:{talk:1,nowindow:1}}},[t._v("Off")])],1),n("vui-group-item",{attrs:{label:"Frequency:"}},[n("vui-button",{attrs:{params:{freq:-10,nowindow:1}}},[t._v("--")]),n("vui-button",{attrs:{params:{freq:-2,nowindow:1}}},[t._v("-")]),n("span",[t._v(t._s(t.frequency))]),n("vui-button",{attrs:{params:{freq:2,nowindow:1}}},[t._v("+")]),n("vui-button",{attrs:{params:{freq:10,nowindow:1}}},[t._v("++")])],1),t._l(t.channels,(function(e,r){return n("vui-group-item",{key:r,attrs:{label:r}},[n("vui-button",{class:{selected:e},attrs:{params:{channel:t.value.name,listen:1,nowindow:1}}},[t._v("On")]),n("vui-button",{class:{selected:!e},attrs:{params:{channel:t.value.name,listen:1,nowindow:1}}},[t._v("Off")])],1)}))],2)],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},"20a6":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.passcode,expression:"passcode"}],attrs:{placeholder:"Enter passcode...",autofocus:""},domProps:{value:t.passcode},on:{input:function(e){e.target.composing||(t.passcode=e.target.value)}}}),n("vui-button",{attrs:{params:{passcode:t.passcode}}},[t._v("Submit")])],1)},a=[],i={data:function(){return{passcode:""}}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},"210c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._l(t.subButtons,(function(e){return n("vui-button",{key:"-"+e,attrs:{disabled:t.val-et.max},on:{click:function(n){return t.onUpdatedValue(e)}}},[t._v("+")])}))],2)},a=[],i=(n("a9e3"),n("8a79"),n("c0d6")),o={props:{value:{type:Number,default:0},buttonCount:{type:Number,default:1},min:{type:Number,default:0},max:{type:Number,default:100},pushState:{type:Boolean,default:!0},width:{type:String,default:"10em"},decimalPlaces:{type:Number,default:0}},data:function(){return{val:this.value}},computed:{subButtons:function(){if(!this.buttonCount)return[];for(var t=[],e=this.buttonCount-1;e>=0;e--)t.push(Math.pow(10,e));return t},addButtons:function(){if(!this.buttonCount)return[];for(var t=[],e=0;ethis.max&&(t=this.max),ta?0:a+e),n=n>a?a:n,n<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;var i=Array(a);while(++r=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(a=r[1]))),t.exports=a&&+a},"2fa9":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.active?n("div",[t.$root.$data.assets["front"]?n("div",{staticClass:"photos"},[n("vui-img",{attrs:{name:"front"}}),n("br"),n("vui-img",{attrs:{name:"side"}})],1):t._e(),n("vui-group",[n("vui-group-item",{attrs:{label:"ID:"}},[t._v(t._s(t.active.id))]),n("vui-group-item",{attrs:{label:"Name:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.name"}})],1),n("vui-group-item",{attrs:{label:"Age:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.age"}})],1),n("vui-group-item",{attrs:{label:"Sex:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.sex"}})],1),n("vui-group-item",{attrs:{label:"Rank:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.rank"}})],1),n("vui-group-item",{attrs:{label:"Physical Status:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.physical_status"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.$root.$data.state,"editingvalue",e.target.multiple?n:n[0])}}},t._l(t.choices.physical_status,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(t._s(e))])})),0)])],1),n("vui-group-item",{attrs:{label:"Mental Status:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.mental_status"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.$root.$data.state,"editingvalue",e.target.multiple?n:n[0])}}},t._l(t.choices.mental_status,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(t._s(e))])})),0)])],1),n("vui-group-item",{attrs:{label:"Fingerprint:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.fingerprint"}})],1),!t.hideAdvanced&&1&t.avaivabletypes?[n("vui-group-item",{attrs:{label:"Species:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.species"}})],1),n("vui-group-item",{attrs:{label:"Citizenship:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.citizenship"}})],1),n("vui-group-item",{attrs:{label:"Religion:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.religion"}})],1),n("vui-group-item",{attrs:{label:"Employer:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.employer"}})],1),n("vui-group-item",{attrs:{label:"Employment/skills summary:"}},[n("view-records-field",{attrs:{editable:(1&t.editable)>0,path:"active.notes"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1),n("vui-group-item",{attrs:{label:"CCIA Notes:"}},[t._v(t._s(t.active.ccia_record))]),n("vui-group-item",{attrs:{label:"CCIA Actions:"}},t._l(t.active.ccia_actions,(function(e){return n("div",{key:e[0]},[n("h5",[t._v(t._s(e[0])+" "),n("i",[t._v("("+t._s(e[1])+")")])]),n("div",{domProps:{innerHTML:t._s(e[3].replace("\r\n","
"))}}),n("vui-button",{attrs:{params:{_openurl:e[4]}}},[t._v("Open")])],1)})),0)]:t._e(),t._t("default")],2),!t.hideAdvanced&&1&t.editable?n("vui-button",{staticClass:"danger",attrs:{params:{deleterecord:1},icon:"trash-alt"}},[t._v("Delete record")]):t._e()],1):t._e()},a=[],i=(n("ac1f"),n("5319"),{data:function(){return this.$root.$data.state},props:{hideAdvanced:{type:Boolean,default:!1}},filters:{replace:function(t,e,n){return t.replace(e,n)}}}),o=i,s=(n("bb33"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"085e2812",null);e["default"]=u.exports},3270:function(t,e,n){"use strict";var r=n("7b42"),a=n.n(r);a.a},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},3468:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.read?n("vui-group",[n("vui-group-item",{attrs:{label:"Pressure:"}},[t._v(" "+t._s(t.press.toFixed(1))+" ")]),n("vui-group-item",{attrs:{label:"Temperature:"}},[t._v(" "+t._s(t.temp.toFixed(1))+" K ("+t._s(t.tempC.toFixed(1))+"°C) ")]),n("vui-group-item",{attrs:{label:"Gases:"}},[t.gas.oxygen?n("span",{staticClass:"complist"},[t._v(t._s(t.gas.oxygen.toFixed(2))+" O"),n("sub",[t._v("2")])]):t._e(),t.gas.nitrogen?n("span",{staticClass:"complist"},[t._v(t._s(t.gas.nitrogen.toFixed(2))+" N")]):t._e(),t.gas.carbon_dioxide?n("span",{staticClass:"complist"},[t._v(t._s(t.gas.carbon_dioxide.toFixed(2))+" CO"),n("sub",[t._v("2"),n("sub")])]):t._e(),t.gas.phoron?n("span",{staticClass:"complist"},[t._v(t._s(t.gas.phoron.toFixed(2))+" PH")]):t._e(),t.gas.sleeping_agent?n("span",{staticClass:"complist"},[t._v(t._s(t.gas.sleeping_agent.toFixed(2))+" SA")]):t._e()])],1):n("span",{staticClass:"bad"},[t._v("Unable to obtain air reading!")])],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=(n("fd5c"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"664f2b03",null);e["default"]=u.exports},"34ac":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.editing?[t._t("default",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.gdata.state.editingvalue,expression:"gdata.state.editingvalue"}],domProps:{value:t.gdata.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.gdata.state,"editingvalue",e.target.value)}}})]),n("vui-button",{attrs:{icon:"check"},on:{click:t.save}})]:[n("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.rvalue))]),t._v(" "),t.reditable||t.editButton?n("vui-button",{staticStyle:{"white-space":"pre-wrap"},attrs:{icon:"pen"},on:{click:t.beginEditing}},[t._v(t._s(t.editbtnname))]):t._e()]],2)},a=[],i=(n("ac1f"),n("5319"),n("1276"),n("025e")),o={data:function(){return{editing:!1,gdata:this.$root.$data,startEditHandler:null}},props:{value:{type:String,default:""},path:{type:String,default:null},editable:{type:Boolean,default:!1},editButton:{type:String,default:null}},computed:{reditable:function(){return!!this.path&&this.editable},rvalue:function(){return this.path?i["a"].dotNotationRead(this.gdata.state,this.path):this.value},editbtnname:function(){return this.editButton?this.editButton:""}},methods:{beginEditing:function(){var t=this;(this.reditable||this.editButton)&&(this.$root.$emit("record-field-start-editing"),this.gdata.state.editingvalue=this.rvalue,this.startEditHandler=function(){t.endEditing()},this.$root.$on("record-field-start-editing",this.startEditHandler),this.editing=!0)},endEditing:function(){(this.reditable||this.editButton)&&(this.editing=!1,this.$root.$off("record-field-start-editing",this.startEditHandler))},save:function(){(this.reditable||this.editButton)&&(this.endEditing(),this.editButton?this.$emit("save",this.gdata.state.editingvalue):i["a"].sendToTopic({editrecord:{value:this.gdata.state.editingvalue,key:this.path.split(".")}}))}},filters:{replace:function(t,e,n){return t.replace(e,n)}}},s=o,u=(n("3270"),n("2877")),c=Object(u["a"])(s,r,a,!1,null,"e071fda6",null);e["default"]=c.exports},"35a1":function(t,e,n){var r=n("f5df"),a=n("3f8c"),i=n("b622"),o=i("iterator");t.exports=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||a[r(t)]}},3729:function(t,e,n){var r=n("9e69"),a=n("00fd"),i=n("29f3"),o="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;function c(t){return null==t?void 0===t?s:o:u&&u in Object(t)?a(t):i(t)}t.exports=c},"37e8":function(t,e,n){var r=n("83ab"),a=n("9bf2"),i=n("825a"),o=n("df75");t.exports=r?Object.defineProperties:function(t,e){i(t);var n,r=o(e),s=r.length,u=0;while(s>u)a.f(t,n=r[u++],e[n]);return t}},3831:function(t,e,n){"use strict";var r=n("9e80"),a=n.n(r);a.a},3851:function(t,e,n){var r={"./header/default.vue":"f3ce","./header/minimal.vue":"d657","./header/modular-computer.vue":"4709","./view/admin/permissions-panel.vue":"86eb","./view/admin/player-panel.vue":"3930","./view/console/atmocontrol/injector.vue":"614c","./view/console/atmocontrol/main.vue":"86ad","./view/console/atmocontrol/supermatter.vue":"df0b","./view/console/atmocontrol/tank.vue":"508b","./view/devices/gps/gps.vue":"0566","./view/devices/quikpay/confirmation.vue":"47db","./view/devices/quikpay/main.vue":"4678","./view/machinery/cooking/microwave.vue":"a589","./view/machinery/power/pacman.vue":"3910","./view/manifest.vue":"f264","./view/mcomputer/chemcodex.vue":"ec72","./view/mcomputer/medical/sensors.vue":"f309","./view/mcomputer/pai/atmosphere.vue":"3468","./view/mcomputer/pai/directives.vue":"d3c6","./view/mcomputer/pai/doorjack.vue":"3b8a","./view/mcomputer/pai/radio.vue":"207c","./view/mcomputer/pai/signaler.vue":"c939","./view/mcomputer/security/penalcontroller.vue":"2c9a","./view/mcomputer/system/config.vue":"07c3","./view/mcomputer/system/downloader.vue":"019f","./view/mcomputer/system/main.vue":"13c9","./view/mcomputer/system/manager.vue":"d3c8","./view/medical/bodyscanner.vue":"1062","./view/misc/doors.vue":"3a07","./view/misc/ghostspawner.vue":"1503","./view/misc/maglock-config.vue":"0ea6","./view/misc/maglock.vue":"20a6","./view/misc/pai/recruit.vue":"9324","./view/misc/voting.vue":"e31d","./view/paperwork/fax.vue":"9556","./view/paperwork/photocopier.vue":"6a01","./view/records/field.vue":"34ac","./view/records/general.vue":"2fa9","./view/records/incident.vue":"256f","./view/records/list-locked.vue":"c0f7","./view/records/list-virus.vue":"8385","./view/records/list.vue":"ac4c","./view/records/login.vue":"a8bb","./view/records/main.vue":"cf32","./view/records/medical.vue":"203b","./view/records/security.vue":"b6db","./view/records/virus.vue":"73f5","./view/turrets/control-part.vue":"10d4","./view/turrets/control.vue":"fb48","./view/wanalyzer/analyzer.vue":"407e","./vui/button.vue":"5aa2","./vui/group-item.vue":"2704","./vui/group.vue":"48f3","./vui/img.vue":"810a","./vui/input/numeric.vue":"210c","./vui/input/search.vue":"419b","./vui/item.vue":"faf6","./vui/progress.vue":"1253","./vui/tooltip.vue":"0ec3"};function a(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}a.keys=function(){return Object.keys(r)},a.resolve=i,t.exports=a,a.id="3851"},3910:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",[t._v("Status")]),n("vui-group",[n("vui-group-item",{attrs:{label:"Generator Status:"}},[t.active?n("span",{staticClass:"good"},[t._v("Online")]):n("span",{staticClass:"average"},[t._v("Offline")])]),n("vui-group-item",{attrs:{label:"Generator Control:"}},[t.active?n("vui-button",{attrs:{params:{action:"disable"},icon:"power-off"}},[t._v("STOP")]):n("vui-button",{attrs:{params:{action:"enable"},disabled:!!t.is_broken,icon:"power-off"}},[t._v("START")])],1)],1),n("h3",[t._v("Fuel")]),n("vui-group",[n("vui-group-item",{attrs:{label:"Fuel Type:"}},[t._v(t._s(t.fuel.fuel_type))]),n("vui-group-item",{attrs:{label:"Fuel Level:"}},[n("vui-progress",{attrs:{value:t.fuel.fuel_stored,max:t.fuel.fuel_capacity}},[t._v(t._s(Math.round(t.fuel.fuel_stored/t.fuel.fuel_capacity*100))+"%")])],1),n("vui-group-item",{class:{bad:0==t.fuel.fuel_stored,good:t.fuel.fuel_stored>0}},[t._v(t._s(t.fuel.fuel_stored)+" cm³ / "+t._s(t.fuel.fuel_capacity)+" cm³")]),t.fuel.fuel_usage>0&&t.active?n("vui-group-item",{attrs:{label:"Fuel Usage:"}},[t._v(t._s(t.fuel.fuel_usage)+" cm³/s - ("+t._s(Math.round(t.fuel.fuel_stored/t.fuel.fuel_usage))+" s remaining)")]):t._e(),n("vui-group-item",{attrs:{label:"Control:"}},[n("vui-button",{attrs:{params:{action:"eject"},disabled:!(!t.is_broken&&!t.is_ai),icon:"eject"}},[t._v("EJECT FUEL")])],1)],1),n("h3",[t._v("Output")]),n("vui-group",[n("vui-group-item",{attrs:{label:"Power Setting:"}},[n("span",{class:{bad:t.output_set>t.output_safe,good:t.output_set<=t.output_safe}},[t._v(t._s(t.output_set)+" / "+t._s(t.output_max)+" ("+t._s(t.output_watts)+" W)")])]),n("vui-group-item",{attrs:{label:"Control:"}},[n("vui-button",{attrs:{params:{action:"higher_power"},disabled:t.output_set==t.output_max}},[t._v("+")]),n("vui-button",{attrs:{params:{action:"lower_power"},disabled:t.output_set==t.output_min}},[t._v("-")])],1)],1),n("h3",[t._v("Temperature")]),n("vui-group",[n("vui-group-item",{attrs:{label:"Temperature:"}},[n("vui-progress",{class:t.getTemperatureClass(t.temperature_current),attrs:{value:t.temperature_current,min:t.temperature_min,max:1.5*t.temperature_max}},[t._v(t._s(Math.max(t.temperature_min,t.temperature_current))+"C")])],1),n("vui-group-item",{attrs:{label:"Generator Status:"}},[t.temperature_overheat>50?n("span",{staticClass:"bad"},[t._v("DANGER: CRITICAL OVERHEAT! Deactivate generator immediately!")]):t.temperature_overheat>20?n("span",{staticClass:"average"},[t._v("WARNING: Overheating!")]):t.temperature_overheat>1?n("span",{staticClass:"average"},[t._v("Temperature High")]):n("span",{staticClass:"good"},[t._v("Optimal")])])],1)],1)},a=[],i={data:function(){return this.$root.$data.state},methods:{getTemperatureClass:function(t){return t<.8*this.$root.$data.state.temperature_max?"good":t0},staticStyle:{width:"12em"},attrs:{value:t.gs.wtime,min:t.s.plua_main,max:t.s.plu_main||10}},[t._v(" "+t._s(t.mainMsg)+" ")]),n("vui-button",{attrs:{disabled:0!=t.s.plu_main,params:{command:"main_power"}}},[t._v("Interrupt")])],1),n("vui-group-item",{attrs:{label:"Backup power:"}},[n("vui-progress",{class:{good:0==t.s.plu_back||0==t.s.plu_main,bad:-1==t.s.plu_back&&0!=t.s.plu_main,average:t.s.plu_back>0},staticStyle:{width:"12em"},attrs:{value:t.gs.wtime,min:t.s.plua_back,max:t.s.plu_back||10}},[t._v(" "+t._s(t.backupMsg)+" ")]),n("vui-button",{attrs:{disabled:0!=t.s.plu_back,params:{command:"backup_power"}}},[t._v("Interrupt")])],1),n("vui-group-item",{attrs:{label:"Electrified status:"}},[n("vui-progress",{class:{good:0==t.s.ele,bad:-1==t.s.ele,average:t.s.ele>0},staticStyle:{width:"12em"},attrs:{value:t.gs.wtime,min:t.s.elea,max:t.s.ele||10}},[t._v(" "+t._s(t.eleMsg)+" ")]),n("vui-button",{attrs:{disabled:0==t.s.ele,params:{command:"electrify_permanently",activate:0}}},[t._v("R")]),t.s.isai?t._e():[n("vui-button",{attrs:{disabled:t.s.ele>0,params:{command:"electrify_temporary",activate:1}}},[t._v("T")]),n("vui-button",{attrs:{disabled:-1==t.s.ele,params:{command:"electrify_permanently",activate:1}}},[t._v("P")])]],2),n("vui-group-item"),t._l(t.commands,(function(e,r){return n("vui-group-item",{key:r,attrs:{label:e.n+":"}},[n("vui-button",{class:{on:t.s[r]},staticStyle:{"min-width":"6em"},attrs:{params:{command:r,activate:e.i?1:0}}},[t._v(t._s(e.et||"Enabled"))]),n("vui-button",{class:{on:!t.s[r]&&!e.d,danger:!t.s[r]&&e.d},staticStyle:{"min-width":"6em"},attrs:{disabled:!!(e.a&&t.s.isai||t.isAdmin),params:{command:r,activate:e.i?0:1}}},[t._v(t._s(e.dt||"Disabled"))])],1)}))],2)],1)},a=[],i={data:function(){var t=this.$root.$data,e=t.state;return{gs:t,s:e,commands:{idscan:{n:"IdScan",i:!0},bolts:{n:"Bolts",et:"Raised",dt:"Dropped",a:!0},lights:{n:"Bolt Lights",i:!0},safeties:{n:"Safeties",et:"Nominal",dt:"Overridden",d:!0},timing:{n:"Timing",et:"Nominal",dt:"Overridden",d:!0},open:{n:"Door State",et:"Opened",dt:"Closed",i:1}}}},computed:{mainMsg:function(){return this.getPowerStatusMessage(this.s.plu_main,this.gs.wtime)},backupMsg:function(){return this.getPowerStatusMessage(this.s.plu_back,this.gs.wtime)},eleMsg:function(){if(0==this.s.ele)return"Safe";if(-1==this.s.ele)return"Permanently";var t=Math.max(Math.round((this.s.ele-this.gs.wtime)/10),0);return"".concat(t,"s left")}},methods:{getPowerStatusMessage:function(t,e){if(-1==t)return"Offline";if(0==t)return"Online";var n=Math.max(Math.round((t-e)/10),0);return"Interrupted, ".concat(n,"s left")}}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},"3b8a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-group",[n("vui-group-item",{attrs:{label:"Cable:"}},[t.connected?n("span",[t._v("Connected")]):t.extended?n("span",[t._v("Extended")]):n("vui-button",{attrs:{params:{extend:1}}},[t._v("Retracted")])],1),t.connected?n("vui-group-item",{attrs:{label:"Hack:"}},[t.ishacking?[n("vui-progress",{attrs:{max:1e3,value:t.progress}},[t._v(t._s(t.progress/10)+"%")]),n("vui-button",{attrs:{params:{cancel:1}}},[t._v("Cancel")])]:n("vui-button",{attrs:{params:{hack:1}}},[t._v("Start")])],2):t.aborted?n("vui-group-item",[n("div",{staticClass:"bad"},[t._v("Hack aborted!")])]):t._e()],1)],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,"2c69059a",null);e["default"]=u.exports},"3bab":function(t,e,n){"use strict";var r=n("9e79"),a=n.n(r);a.a},"3bb1":function(t,e,n){"use strict";var r=n("2b55"),a=n.n(r);a.a},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,a=n("69f3"),i=n("7dd0"),o="String Iterator",s=a.set,u=a.getterFor(o);i(String,"String",(function(t){s(this,{type:o,string:String(t),index:0})}),(function(){var t,e=u(this),n=e.string,a=e.index;return a>=n.length?{value:void 0,done:!0}:(t=r(n,a),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},4069:function(t,e,n){var r=n("44d2");r("flat")},"407e":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("b",[t._v("Analyzing "+t._s(t.name)+" ")]),n("br"),t.$root.$data.assets["icon"]?n("div",[n("vui-img",{attrs:{name:"icon"}})],1):t._e(),1==t.item?n("div",[n("table",{staticClass:"other"},[n("tr",[n("td",[t._v(" Damage type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.damage_type)+" ")])]),n("tr",[n("td",[t._v(" Item's estimated force-rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.force)+" points")])]),n("tr",[n("td",[t._v(" Item's estimated throw force-rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.throw_force)+" points ")])]),1==t.energy?[n("tr",[n("td",[t._v(" Item's estimated force-rating when activated: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.active_force)+" points ")])]),n("tr",[n("td",[t._v(" Item's estimated throw force-rating when activated: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.active_throw_force)+" points")])]),n("tr",[n("td",[t._v(" Base block chance is: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.base_block_chance)+"% ")])]),n("tr",[n("td",[t._v(" Base reflect chance is: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.base_reflectchance)+"% ")])]),n("tr",[n("td",[t._v(" Item's estimated shield rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.shield_power)+" points")])]),n("tr",[n("td",[t._v(" Can block bullets: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.can_block)+" ")])])]:t._e(),n("tr",[n("td",[t._v(" Is sharp:")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.sharp)+" ")])]),n("tr",[n("td",[t._v(" Chance to dismember: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.edge)+" ")])]),n("tr",[n("td",[t._v(" Item's estimated armor penetration rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.penetration)+" points")])])],2)]):t._e(),1==t.gun?n("div",{staticClass:"active_energy"},[n("table",{staticClass:"other"},[n("tr",[n("td",[t._v(" Maximum shots: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.max_shots)+" ")])]),n("tr",[n("td",[t._v(" Burst: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.burst)+" ")])]),n("tr",[n("td",[t._v(" Self recharge: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.recharge)+" ")])]),n("tr",[n("td",[t._v(" Recharge time: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.recharge_time)+" ")])]),n("tr",[n("td",[t._v(" Reliability: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.reliability)+" ")])]),n("br"),n("b",[t._v("First projectile information: ")]),n("br"),n("tr",[n("td",[t._v(" Projectile's estimated damage rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.damage)+" points")])]),n("tr",[n("td",[t._v(" Projectile's Damage type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.damage_type)+" ")])]),n("tr",[n("td",[t._v(" Projectile's estimated armor penetration rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.armor_penetration)+" points")])]),n("tr",[n("td",[t._v(" Projectile's armor damage type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.check_armor)+" ")])]),n("tr",[n("td",[t._v(" Projectile's shrapnel type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.shrapnel_type)+" ")])]),n("tr",[n("td",[t._v(" Stun: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.stun)+" ")])]),t.secondary_damage?[n("br"),n("b",[t._v("Second projectile information: ")]),n("br"),n("tr",[n("td",[t._v(" Projectile's estimated damage rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.secondary_damage)+" points")])]),n("tr",[n("td",[t._v(" Projectile's damage type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.secondary_damage_type)+" ")])]),n("tr",[n("td",[t._v(" Projectile's estimated armor penetration rating: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.secondary_armor_penetration)+" points")])]),n("tr",[n("td",[t._v(" Projectile's armor damage type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.secondary_check_armor)+" ")])]),n("tr",[n("td",[t._v(" Projectile's shrapnel type: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.secondary_shrapnel_type)+" ")])]),n("tr",[n("td",[t._v(" Stun: ")]),t._v(" "),n("td",{staticClass:"right"},[t._v(" "+t._s(t.secondary_stun)+" ")])])]:t._e()],2)]):t._e(),t.gun_mods?n("div",[n("br"),n("b",[t._v("Modular gun information: ")]),n("br"),n("table",{staticClass:"modular"},[t._m(0),t._l(t.gun_mods,(function(e,r){return n("tr",{key:r},[n("td",[t._v(t._s(r))]),t._l(e,(function(r,a){return n("td",{key:a},[t._v(" "+t._s(e[a])+" ")])}))],2)}))],2)]):t._e()])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v(" Name ")]),n("th",[t._v(" Reliability ")]),n("th",[t._v(" Damage modifier ")]),n("th",[t._v(" Fire delay modifier ")]),n("th",[t._v(" Number of shots modifier ")]),n("th",[t._v(" Burst modifier ")]),n("th",[t._v(" Accuracy modifier ")]),n("th",[t._v(" Repair tool ")])])}],i={data:function(){return this.$root.$data.state}},o=i,s=(n("a206"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"4bd3d7b3",null);e["default"]=u.exports},4128:function(t,e,n){"use strict";var r=n("1352"),a=n.n(r);a.a},4160:function(t,e,n){"use strict";var r=n("23e7"),a=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"419b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchValue,expression:"searchValue"}],attrs:{type:"text",placeholder:"Search..."},domProps:{value:t.searchValue},on:{input:function(e){e.target.composing||(t.searchValue=e.target.value)}}})},a=[],i=(n("e260"),n("d81d"),n("a9e3"),n("d3b7"),n("ac1f"),n("841c"),n("ddb0"),n("ffe7")),o=n.n(i),s={data:function(){return{fuse:null,searchValue:""}},mounted:function(){this.onFieldUpdate(this.searchValue)},props:{keys:{type:Array,default:function(){return[]}},includeScore:{type:Boolean,default:!1},threshold:{type:Number,default:.6},input:{type:Array,default:function(){return[]}},value:{type:Array,default:function(){return[]}}},watch:{keys:function(){this.fuse=null},includeScore:function(){this.fuse=null},threshold:function(){this.fuse=null},input:function(){this.onFieldUpdate(this.searchValue)},searchValue:function(t){this.onFieldUpdate(t)}},methods:{onFieldUpdate:function(t){this.initFuse();var e=this.fuse.search(t);0==e.length&&(e=this.includeScore?this.input.map((function(t){return{item:t,score:0}})):this.input),this.$emit("input",e)},initFuse:function(){if(null==this.fuse){var t={shouldSort:!0,findAllMatches:!0,keys:this.keys,includeScore:this.includeScore,threshold:this.threshold};this.fuse=new o.a(this.input,t)}else this.fuse.setCollection(this.input)}}},u=s,c=n("2877"),l=Object(c["a"])(u,r,a,!1,null,null,null);e["default"]=l.exports},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),a=n("c6b6"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),a=n("7c73"),i=n("9bf2"),o=r("unscopables"),s=Array.prototype;void 0==s[o]&&i.f(s,o,{configurable:!0,value:a(null)}),t.exports=function(t){s[o][t]=!0}},"44e7":function(t,e,n){var r=n("861d"),a=n("c6b6"),i=n("b622"),o=i("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==a(t))}},4678:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._l(t.items,(function(e,r){return n("div",{key:r,staticStyle:{clear:"both"}},[t._v(" "+t._s(r)+": "+t._s(e)+" Credits "),n("div",{staticStyle:{float:"right"}},[n("vui-input-numeric",{attrs:{width:"2em"},model:{value:t.selection[r],callback:function(e){t.$set(t.selection,r,e)},expression:"selection[name]"}}),1==t.editmode?n("vui-button",{attrs:{params:{remove:r},width:"3em"}},[t._v("Delete")]):t._e()],1)])})),1==t.editmode?n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.tmp_name,expression:"tmp_name"}],domProps:{value:t.tmp_name},on:{input:function(e){e.target.composing||(t.tmp_name=e.target.value)}}}),n("vui-input-numeric",{attrs:{width:"3em","button-count":2},model:{value:t.tmp_price,callback:function(e){t.tmp_price=e},expression:"tmp_price"}}),n("vui-button",{attrs:{params:{add:{name:t.tmp_name,price:t.tmp_price}}}},[t._v("Add")]),n("vui-button",{attrs:{params:{accountselect:1},width:"3em"}},[t._v("Select Destination Account")])],1):t._e(),n("vui-button",{attrs:{params:{locking:1},width:"3em"}},[t._v("Toggle Lock")]),n("vui-button",{attrs:{params:{confirm:t.selection}}},[t._v("Confirm Selection")])],2)},a=[],i=n("025e"),o={data:function(){return this.$root.$data.state},methods:{accountChange:function(t){i["a"].sendToTopic({changeaccount:t})}}},s=o,u=n("2877"),c=Object(u["a"])(s,r,a,!1,null,null,null);e["default"]=c.exports},4709:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header-default",[n("div",{staticClass:"maincont"},[t.state._PC.batteryicon&&t.state._PC.showbatteryicon?n("img",{staticClass:"valign",attrs:{src:t.state._PC.batteryicon}}):t._e(),t.state._PC.batterypercent&&t.state._PC.showbatteryicon?n("b",{staticClass:"valign"},[t._v(t._s(t.state._PC.batterypercent))]):t._e(),t.state._PC.ntneticon?n("img",{staticClass:"valign",attrs:{img:"",src:t.state._PC.ntneticon}}):t._e(),t.state._PC.apclinkicon?n("img",{staticClass:"valign",attrs:{img:"",src:t.state._PC.apclinkicon}}):t._e(),n("div",{staticStyle:{float:"right"}},[n("vui-button",{attrs:{params:{PC_shutdown:1}}},[t._v("Shutdown")]),t.state._PC.showexitprogram?[n("vui-button",{attrs:{params:{PC_exit:1}}},[t._v("Exit Program")]),n("vui-button",{attrs:{params:{PC_minimize:1}}},[t._v("Minimize Program")])]:t._e()],2)])])},a=[],i={data:function(){return this.$root.$data}},o=i,s=(n("68bc"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"407221fa",null);e["default"]=u.exports},4795:function(t,e,n){var r=n("23e7"),a=n("da84"),i=n("342f"),o=[].slice,s=/MSIE .\./.test(i),u=function(t){return function(e,n){var r=arguments.length>2,a=r?o.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,a)}:e,n)}};r({global:!0,bind:!0,forced:s},{setTimeout:u(a.setTimeout),setInterval:u(a.setInterval)})},"47db":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",[t._v(" Selected Products:")]),t._l(t.items,(function(e,r){return n("div",{key:r},[t.selection[r]&&t.selection[r]>0?n("span",[t._v(" "+t._s(t.selection[r])+"x "+t._s(r)+": at "+t._s(e*t.selection[r])+" Credits ")]):t._e()])})),n("h3",[t._v(" Total: "+t._s(t.priceSum))]),n("h4",[t._v("Destination Account: "+t._s(t.destinationact))]),n("h3",[t._v("Please swipe your ID to pay.")]),n("vui-button",{attrs:{params:{return:1},width:"3em"}},[t._v("Return to order menu")])],2)},a=[],i=(n("13d5"),n("b64b"),{data:function(){return this.$root.$data.state},computed:{priceSum:function(){var t=this;return Object.keys(this.selection).reduce((function(e,n){return isNaN(e)?t.items[n]*t.selection[n]:e+t.items[n]*t.selection[n]}))}}}),o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},4840:function(t,e,n){var r=n("825a"),a=n("1c0b"),i=n("b622"),o=i("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||void 0==(n=r(i)[o])?e:a(n)}},"48f3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},a=[],i=(n("d44d"),n("2877")),o={},s=Object(i["a"])(o,r,a,!1,null,"b2030120",null);e["default"]=s.exports},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4caa":function(t,e,n){var r=n("a919"),a=n("76dd"),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",c=o+s+u,l="["+c+"]",d=RegExp(l,"g");function f(t){return t=a(t),t&&t.replace(i,r).replace(d,"")}t.exports=f},"4d4a":function(t,e,n){"use strict";var r=n("2665"),a=n.n(r);a.a},"4d64":function(t,e,n){var r=n("fc6a"),a=n("50c4"),i=n("23cb"),o=function(t){return function(e,n,o){var s,u=r(e),c=a(u.length),l=i(o,c);if(t&&n!=n){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=n("ae40"),s=i("filter"),u=o("filter");r({target:"Array",proto:!0,forced:!s||!u},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),a=n("7b0b"),i=n("9bdd"),o=n("e95a"),s=n("50c4"),u=n("8418"),c=n("35a1");t.exports=function(t){var e,n,l,d,f,v,p=a(t),m="function"==typeof this?this:Array,h=arguments.length,_=h>1?arguments[1]:void 0,g=void 0!==_,b=c(p),y=0;if(g&&(_=r(_,h>2?arguments[2]:void 0,2)),void 0==b||m==Array&&o(b))for(e=s(p.length),n=new m(e);e>y;y++)v=g?_(p[y],y):p[y],u(n,y,v);else for(d=b.call(p),f=d.next,n=new m;!(l=f.call(d)).done;y++)v=g?i(d,_,[l.value,y],!0):l.value,u(n,y,v);return n.length=y,n}},"4fad":function(t,e,n){var r=n("23e7"),a=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(t){return a(t)}})},"508b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",[t._v("Tank Control System")]),t.state["input"]?n("div",[n("vui-item",{attrs:{balance:.65,label:"Input:"}},[t.state["input"].power?n("span",[t._v("Injecting")]):n("span",[t._v("On Hold")]),t._v(" "),n("vui-button",{attrs:{params:{in_toggle_injector:1},icon:"power-off"}},[t._v("Toggle Power")])],1),n("vui-item",{attrs:{balance:.65,label:"Flow Rate Limit:"}},[t._v(t._s(t.state["input"].rate)+" L/s")]),n("vui-item",{attrs:{balance:.65,label:"Command:"}},[n("vui-input-numeric",{attrs:{width:"3em","button-count":3,max:t.state.maxrate},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.s({in_set_flowrate:t.state["input"].setrate})}},model:{value:t.state["input"].setrate,callback:function(e){t.$set(t.state["input"],"setrate",e)},expression:"state['input'].setrate"}}),n("br"),n("vui-button",{attrs:{"push-state":"",params:{in_set_flowrate:t.state["input"].setrate}}},[t._v("Set Flow Rate")])],1)],1):n("vui-button",{attrs:{params:{in_refresh_status:1}}},[t._v("Search for input port")]),t.state["output"]?n("div",{staticStyle:{"margin-top":"2em"}},[n("vui-item",{attrs:{balance:.65,label:"Output:"}},[t.state["output"].power?n("span",[t._v("Open")]):n("span",[t._v("On Hold")]),t._v(" "),n("vui-button",{attrs:{params:{out_toggle_power:1},icon:"power-off"}},[t._v("Toggle Power")])],1),n("vui-item",{attrs:{balance:.65,label:"Max Output Pressure:"}},[t._v(t._s(t.state["output"].pressure)+" kPa")]),n("vui-item",{attrs:{balance:.65,label:"Command:"}},[n("vui-input-numeric",{attrs:{width:"5em","button-count":4,"decimal-places":2,max:t.state.maxpressure},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.s({out_set_pressure:t.state["output"].setpressure})}},model:{value:t.state["output"].setpressure,callback:function(e){t.$set(t.state["output"],"setpressure",e)},expression:"state['output'].setpressure"}}),n("br"),n("vui-button",{attrs:{"push-state":"",params:{out_set_pressure:t.state["output"].setpressure}}},[t._v("Set Pressure")])],1)],1):n("vui-button",{attrs:{params:{out_refresh_status:1}}},[t._v("Search for output port")])],1)},a=[],i=n("025e"),o={data:function(){return this.$root.$data},methods:{s:function(t){i["a"].sendToTopic(t)}}},s=o,u=n("2877"),c=Object(u["a"])(s,r,a,!1,null,null,null);e["default"]=c.exports},"50c4":function(t,e,n){var r=n("a691"),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5319:function(t,e,n){"use strict";var r=n("d784"),a=n("825a"),i=n("7b0b"),o=n("50c4"),s=n("a691"),u=n("1d80"),c=n("8aa5"),l=n("14c3"),d=Math.max,f=Math.min,v=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,h=function(t){return void 0===t?t:String(t)};r("replace",2,(function(t,e,n,r){var _=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=r.REPLACE_KEEPS_$0,b=_?"$":"$0";return[function(n,r){var a=u(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,a,r):e.call(String(a),n,r)},function(t,r){if(!_&&g||"string"===typeof r&&-1===r.indexOf(b)){var i=n(e,t,this,r);if(i.done)return i.value}var u=a(t),v=String(this),p="function"===typeof r;p||(r=String(r));var m=u.global;if(m){var w=u.unicode;u.lastIndex=0}var x=[];while(1){var $=l(u,v);if(null===$)break;if(x.push($),!m)break;var C=String($[0]);""===C&&(u.lastIndex=c(v,o(u.lastIndex),w))}for(var k="",S=0,O=0;O=S&&(k+=v.slice(S,E)+I,S=E+A.length)}return k+v.slice(S)}];function y(t,n,r,a,o,s){var u=r+t.length,c=a.length,l=m;return void 0!==o&&(o=i(o),l=p),e.call(s,l,(function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=o[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>c){var d=v(l/10);return 0===d?e:d<=c?void 0===a[d-1]?i.charAt(1):a[d-1]+i.charAt(1):e}s=a[l-1]}return void 0===s?"":s}))}}))},5692:function(t,e,n){var r=n("c430"),a=n("c6cd");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56d7":function(t,e,n){"use strict";n.r(e),function(t){n("4160"),n("e260"),n("d3b7"),n("ac1f"),n("5319"),n("159b"),n("ddb0"),n("4795");var e=n("a026"),r=n("8103"),a=n.n(r),i=n("bba4"),o=n.n(i),s=n("c0d6"),u=(n("e008"),n("3851"));if(u.keys().forEach((function(t){var n=u(t),r=a()(o()(t.replace(/^\.\/(.*)\.\w+$/,"$1")));e["a"].component(r,n.default||n)})),e["a"].config.productionTip=!1,t.Vue=e["a"],t.receiveUIState=function(t){s["a"].loadState(JSON.parse(t))},document.getElementById("app")){var c=JSON.parse(document.getElementById("initialstate").innerHTML);s["a"].loadState(c),window.__wtimetimer=window.setInterval((function(){s["a"].state.wtime+=2}),200),new e["a"]({data:s["a"].state,template:"

Javascript loaded, stylesheets has failed to load. Click here to load.

",computed:{componentName:function(){return"?"!=this.$root.$data.active.charAt(0)?"view-"+this.$root.$data.active:null},templateString:function(){return"?"==this.$root.$data.active.charAt(0)?"
"+this.$root.$data.active.substr(1)+"
":null}},watch:{state:{handler:function(){s["a"].pushState()},deep:!0}}}).$mount("#app")}document.getElementById("header")&&new e["a"]({data:s["a"].state}).$mount("#header"),document.getElementById("dapp")&&new e["a"]({data:s["a"].state,template:"

Debug this UI with inspector by opening URL in your browser:

{{url}}

Current data of UI:

{{ JSON.stringify(this.$root.$data, null, '    ') }}
",methods:{stop:function(){window.clearInterval(window.__wtimetimer)}},computed:{url:function(){return window.location.href}}}).$mount("#dapp")}.call(this,n("c8ba"))},"56ef":function(t,e,n){var r=n("d066"),a=n("241c"),i=n("7418"),o=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=a.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},"585a":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("c8ba"))},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),a=n("5899"),i="["+a+"]",o=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),u=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(s,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},"592e":function(t,e,n){},"5a34":function(t,e,n){var r=n("44e7");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5aa2":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"button",attrs:{disabled:t.$root.$data.status<2||this.disabled},on:{click:function(e){return t.senddata()}}},[t.icon?n("div",{staticClass:"uiIcon16",class:"ic-"+t.icon}):t._e(),n("span",[t._t("default")],2)])},a=[],i=n("c0d6"),o=n("025e"),s={props:{icon:{type:String,default:""},params:{type:Object,default:null},unsafeParams:{type:Object,default:null},pushState:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{senddata:function(){this.$root.$data.status<2||this.disabled||(this.$emit("click"),this.unsafeParams&&o["a"].sendToTopicRaw(this.unsafeParams),this.params?o["a"].sendToTopic(this.params,this.pushState):this.pushState&&i["a"].pushState())}}},u=s,c=(n("0851"),n("2877")),l=Object(c["a"])(u,r,a,!1,null,"acaec0ae",null);e["default"]=l.exports},"5ae5":function(t,e,n){},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5db7":function(t,e,n){"use strict";var r=n("23e7"),a=n("a2bf"),i=n("7b0b"),o=n("50c4"),s=n("1c0b"),u=n("65f0");r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=o(n.length);return s(t),e=u(n,0),e.length=a(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},"614c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",[t._v("Fuel Injection System")]),t.state["device"]?[n("vui-item",{attrs:{label:"Input:"}},[t.state.device.power?n("span",[t._v("Injecting")]):n("span",[t._v("On Hold")]),n("vui-button",{attrs:{params:{in_toggle_injector:1}}},[t._v("Toggle Power")])],1),n("vui-item",{attrs:{label:"Rate:"}},[t._v(t._s(t.state.device.rate)+" L/s")]),n("vui-item",{attrs:{label:"Automated Fuel Injection:"}},[t.state.device.automation?n("vui-button",{attrs:{params:{toggle_automation:1}}},[t._v("Engaged")]):n("vui-button",{attrs:{params:{toggle_automation:1}}},[t._v("Disengaged")])],1),n("vui-item",{attrs:{label:"Inject:"}},[t.state.device.automation?[t._v("Controls Locked Out")]:[n("vui-button",{attrs:{params:{toggle_injector:1},icon:"power-off"}},[t._v("Toggle Power")]),n("vui-button",{attrs:{params:{injection:1}}},[t._v("Inject (1 Cycle)")])]],2)]:n("vui-button",{attrs:{params:{in_refresh_status:1}}},[t._v("Search for device")])],2)},a=[],i={data:function(){return this.$root.$data}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},6547:function(t,e,n){var r=n("a691"),a=n("1d80"),i=function(t){return function(e,n){var i,o,s=String(a(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?t?s.charAt(u):i:t?s.slice(u,u+2):o-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(t,e,n){var r=n("861d"),a=n("e8b5"),i=n("b622"),o=i("species");t.exports=function(t,e){var n;return a(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?r(n)&&(n=n[o],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},6747:function(t,e){var n=Array.isArray;t.exports=n},6836:function(t,e,n){},"68bc":function(t,e,n){"use strict";var r=n("9cd6"),a=n.n(r);a.a},"69f3":function(t,e,n){var r,a,i,o=n("7f9a"),s=n("da84"),u=n("861d"),c=n("9112"),l=n("5135"),d=n("f772"),f=n("d012"),v=s.WeakMap,p=function(t){return i(t)?a(t):r(t,{})},m=function(t){return function(e){var n;if(!u(e)||(n=a(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(o){var h=new v,_=h.get,g=h.has,b=h.set;r=function(t,e){return b.call(h,t,e),e},a=function(t){return _.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var y=d("state");f[y]=!0,r=function(t,e){return c(t,y,e),e},a=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:r,get:a,has:i,enforce:p,getterFor:m}},"6a01":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.state.toner?n("span",[t._v("Current toner level: "+t._s(t.state.toner))]):t._e(),n("br"),t.state.gotitem?n("vui-button",{attrs:{params:{remove:1}}},[t._v("Remove Item")]):t._e(),n("br"),t.state.toner?[t.state.gotitem?[n("div",{staticClass:"itemLabel copylabel"},[t._v("Copies to print:")]),n("div",{staticClass:"copyBlock"},[n("vui-input-numeric",{attrs:{width:"2.5em",min:1,max:t.state.maxcopies},model:{value:t.state.copies,callback:function(e){t.$set(t.state,"copies",e)},expression:"state.copies"}}),n("br"),n("vui-button",{attrs:{"push-state":"",params:{copy:1}}},[t._v("Copy")])],1)]:[n("h3",[t._v("Please insert something to copy.")])],n("br"),t.state.isAI?n("vui-button",{attrs:{params:{aipic:1}}},[t._v("Print photo from database")]):t._e()]:[n("h2",[t._v("Please insert a new toner cartridge!")])]],2)},a=[],i={data:function(){return this.$root.$data}},o=i,s=(n("7dc4"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"927b9430",null);e["default"]=u.exports},"6ac0":function(t,e){function n(t,e,n,r){var a=-1,i=null==t?0:t.length;r&&i&&(n=t[++a]);while(++al)n=u[l++],r&&!o.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}};t.exports={entries:s(!0),values:s(!1)}},7156:function(t,e,n){var r=n("861d"),a=n("d2bb");t.exports=function(t,e,n){var i,o;return a&&"function"==typeof(i=e.constructor)&&i!==n&&r(o=i.prototype)&&o!==n.prototype&&a(t,o),t}},"73d9":function(t,e,n){var r=n("44d2");r("flatMap")},"73f5":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("vui-group",[n("vui-group-item",{attrs:{label:"ID:"}},[t._v(t._s(t.active_virus.id))]),n("vui-group-item",{attrs:{label:"Description:"},domProps:{innerHTML:t._s(t.active_virus.description)}}),n("vui-group-item",{attrs:{label:"Notes:"}},[n("view-records-field",{attrs:{editable:(32&t.editable)>0,path:"active_virus.notes"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1)],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),a=n("5135"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},7559:function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function r(t){return t.match(n)||[]}t.exports=r},"76dd":function(t,e,n){var r=n("ce86");function a(t){return null==t?"":r(t)}t.exports=a},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7948:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,a=Array(r);while(++n",f="<",v="prototype",p="script",m=l("IE_PROTO"),h=function(){},_=function(t){return f+p+d+t+f+"/"+p+d},g=function(t){t.write(_("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=c("iframe"),n="java"+p+":";return e.style.display="none",u.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(_("document.F=Object")),t.close(),t.F},y=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}y=r?g(r):b();var t=o.length;while(t--)delete y[v][o[t]];return y()};s[m]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h[v]=a(t),n=new h,h[v]=null,n[m]=t):n=y(),void 0===e?n:i(n,e)}},"7dc4":function(t,e,n){"use strict";var r=n("592e"),a=n.n(r);a.a},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),a=n("9ed3"),i=n("e163"),o=n("d2bb"),s=n("d44e"),u=n("9112"),c=n("6eeb"),l=n("b622"),d=n("c430"),f=n("3f8c"),v=n("ae93"),p=v.IteratorPrototype,m=v.BUGGY_SAFARI_ITERATORS,h=l("iterator"),_="keys",g="values",b="entries",y=function(){return this};t.exports=function(t,e,n,l,v,w,x){a(n,e,l);var $,C,k,S=function(t){if(t===v&&j)return j;if(!m&&t in E)return E[t];switch(t){case _:return function(){return new n(this,t)};case g:return function(){return new n(this,t)};case b:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",A=!1,E=t.prototype,T=E[h]||E["@@iterator"]||v&&E[v],j=!m&&T||S(v),P="Array"==e&&E.entries||T;if(P&&($=i(P.call(new t)),p!==Object.prototype&&$.next&&(d||i($)===p||(o?o($,p):"function"!=typeof $[h]&&u($,h,y)),s($,O,!0,!0),d&&(f[O]=y))),v==g&&T&&T.name!==g&&(A=!0,j=function(){return T.call(this)}),d&&!x||E[h]===j||u(E,h,j),f[e]=j,v)if(C={values:S(g),keys:w?j:S(_),entries:S(b)},x)for(k in C)(m||A||!(k in E))&&c(E,k,C[k]);else r({target:e,proto:!0,forced:m||A},C);return C}},"7dff":function(t,e,n){},"7e8e":function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function r(t){return n.test(t)}t.exports=r},"7f9a":function(t,e,n){var r=n("da84"),a=n("8925"),i=r.WeakMap;t.exports="function"===typeof i&&/native code/.test(a(i))},8103:function(t,e,n){var r=n("d194"),a=r("toUpperCase");t.exports=a},"810a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("img",{attrs:{src:t.source},on:{error:function(e){return t.failedToLoad()}}})},a=[],i=(n("99af"),n("b0c0"),n("a9e3"),n("4795"),{props:{name:{type:String,default:""},maxTries:{type:Number,default:10}},computed:{sourceBuster:function(){return this.failsToLoad&&this.failsToLoad1?arguments[1]:void 0,r=i(e.length),a=void 0===n?r:d(i(n),r),u=String(t);return l?l.call(e,u,a):e.slice(a-u.length,a)===u}})},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),a=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return a.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r=n("ad6d"),a=n("9f7f"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,u=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),c=a.UNSUPPORTED_Y||a.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],d=u||l||c;d&&(s=function(t){var e,n,a,s,d=this,f=c&&d.sticky,v=r.call(d),p=d.source,m=0,h=t;return f&&(v=v.replace("y",""),-1===v.indexOf("g")&&(v+="g"),h=String(t).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==t[d.lastIndex-1])&&(p="(?: "+p+")",h=" "+h,m++),n=new RegExp("^(?:"+p+")",v)),l&&(n=new RegExp("^"+p+"$(?!\\s)",v)),u&&(e=d.lastIndex),a=i.call(f?n:d,h),f?a?(a.input=a.input.slice(m),a[0]=a[0].slice(m),a.index=d.lastIndex,d.lastIndex+=a[0].length):d.lastIndex=0:u&&a&&(d.lastIndex=d.global?a.index+a[0].length:e),l&&a&&a.length>1&&o.call(a[0],n,(function(){for(s=1;s0}}}),o=i,s=(n("af89"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"c4dbe0aa",null);e["default"]=u.exports},"94ca":function(t,e,n){var r=n("d039"),a=/#|\.prototype\./,i=function(t,e){var n=s[o(t)];return n==c||n!=u&&("function"==typeof e?r(e):!!e)},o=i.normalize=function(t){return String(t).replace(a,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},9556:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"item"},[n("div",{staticClass:"itemLabel"},[t._v("Confirm identity:")]),n("div",{staticClass:"itemContent"},[n("vui-button",{attrs:{params:{scan:1},icon:"eject"}},[t.state.idname?n("span",[t._v(t._s(t.state.idname))]):n("span",[t._v("--------")])])],1)]),t.state.auth?n("div",{staticStyle:{"margin-top":"24px",clear:"both"}},[n("b",[t._v("Logged in to:")]),t._v(" "+t._s(t.state.bossname)+" Quantum Entanglement Network "),t.remaining_cooldown<=0?[n("vui-item",{attrs:{label:"Sending to:"}},[n("select",{directives:[{name:"model",rawName:"v-model.lazy",value:t.state.destination,expression:"state.destination",modifiers:{lazy:!0}}],staticClass:"button",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.state,"destination",e.target.multiple?n:n[0])}}},t._l(t.state.departiments,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(t._s(e))])})),0)]),t.state.paper?[n("vui-item",{attrs:{label:"Currently sending:"}},[t._v(t._s(t.state.paper))]),n("vui-button",{attrs:{"push-state":"",params:{send:1}}},[t._v("Send")])]:n("span",[t._v("Please insert paper to send via secure connection.")])]:n("span",[n("b",[t._v("Transmitter arrays realigning. Please stand by. "+t._s(t._f("roundRemaining")(t.remaining_cooldown))+" seconds remaining.")])])],2):t._e(),t.state.paper?n("vui-button",{attrs:{params:{remove:1}}},[t._v("Remove item")]):t._e(),n("h3",[t._v("PDAs to notify:")]),t._l(t.state.alertpdas,(function(e){return n("div",{key:e.ref},[t._v(" "+t._s(e.name)+" "),n("vui-button",{attrs:{params:{unlink:e.ref}}},[t._v("Unlink")])],1)})),t.state.alertpdas.length<=0?n("div",[t._v("No PDAs are linked.")]):t._e(),n("vui-button",{attrs:{params:{linkpda:1}}},[t._v("Add PDA to Notify")])],2)},a=[],i={data:function(){return this.$root.$data},computed:{remaining_cooldown:function(){return this.state.cooldownend-this.wtime}},filters:{roundRemaining:function(t){return Math.round(t/10)}}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,"4b0e320e",null);e["default"]=u.exports},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("d039"),i=n("e8b5"),o=n("861d"),s=n("7b0b"),u=n("50c4"),c=n("8418"),l=n("65f0"),d=n("1dde"),f=n("b622"),v=n("2d00"),p=f("isConcatSpreadable"),m=9007199254740991,h="Maximum allowed index exceeded",_=v>=51||!a((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=d("concat"),b=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:i(t)},y=!_||!g;r({target:"Array",proto:!0,forced:y},{concat:function(t){var e,n,r,a,i,o=s(this),d=l(o,0),f=0;for(e=-1,r=arguments.length;em)throw TypeError(h);for(n=0;n=m)throw TypeError(h);c(d,f++,i)}return d.length=f,d}})},"9bdd":function(t,e,n){var r=n("825a");t.exports=function(t,e,n,a){try{return a?e(r(n)[0],n[1]):e(n)}catch(o){var i=t["return"];throw void 0!==i&&r(i.call(t)),o}}},"9bf2":function(t,e,n){var r=n("83ab"),a=n("0cfb"),i=n("825a"),o=n("c04e"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=o(e,!0),i(n),a)try{return s(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9cd6":function(t,e,n){},"9e69":function(t,e,n){var r=n("2b3e"),a=r.Symbol;t.exports=a},"9e79":function(t,e,n){},"9e80":function(t,e,n){},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,a=n("7c73"),i=n("5c6c"),o=n("d44e"),s=n("3f8c"),u=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=a(r,{next:i(1,n)}),o(t,c,!1,!0),s[c]=u,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function a(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=a("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=a("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a026:function(t,e,n){"use strict";(function(t){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function l(t){return"[object Object]"===c.call(t)}function d(t){return"[object RegExp]"===c.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function v(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),a=0;a-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function x(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var $=/-(\w)/g,C=x((function(t){return t.replace($,(function(t,e){return e?e.toUpperCase():""}))})),k=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),S=/\B([A-Z])/g,O=x((function(t){return t.replace(S,"-$1").toLowerCase()}));function A(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function E(t,e){return t.bind(e)}var T=Function.prototype.bind?E:A;function j(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function P(t,e){for(var n in e)t[n]=e[n];return t}function N(t){for(var e={},n=0;n0,at=et&&et.indexOf("edge/")>0,it=(et&&et.indexOf("android"),et&&/iphone|ipad|ipod|ios/.test(et)||"ios"===tt),ot=(et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et),et&&et.match(/firefox\/(\d+)/)),st={}.watch,ut=!1;if(Y)try{var ct={};Object.defineProperty(ct,"passive",{get:function(){ut=!0}}),window.addEventListener("test-passive",null,ct)}catch(Xc){}var lt=function(){return void 0===Z&&(Z=!Y&&!Q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),Z},dt=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var vt,pt="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);vt="undefined"!==typeof Set&&ft(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var mt=I,ht=0,_t=function(){this.id=ht++,this.subs=[]};_t.prototype.addSub=function(t){this.subs.push(t)},_t.prototype.removeSub=function(t){b(this.subs,t)},_t.prototype.depend=function(){_t.target&&_t.target.addDep(this)},_t.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(i&&!w(a,"default"))o=!1;else if(""===o||o===O(t)){var u=ne(String,a.type);(u<0||s0&&(o=Ee(o,(e||"")+"_"+n),Ae(o[0])&&Ae(c)&&(l[u]=Ct(c.text+o[0].text),o.shift()),l.push.apply(l,o)):s(o)?Ae(c)?l[u]=Ct(c.text+o):""!==o&&l.push(Ct(o)):Ae(o)&&Ae(c)?l[u]=Ct(c.text+o.text):(i(t._isVList)&&a(o.tag)&&r(o.key)&&a(e)&&(o.key="__vlist"+e+"_"+n+"__"),l.push(o)));return l}function Te(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function je(t){var e=Pe(t.$options.inject,t);e&&(jt(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),jt(!0))}function Pe(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t):Object.keys(t),a=0;a0,o=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var u in a={},t)t[u]&&"$"!==u[0]&&(a[u]=Le(e,u,t[u]))}else a={};for(var c in e)c in a||(a[c]=Re(e,c));return t&&Object.isExtensible(t)&&(t._normalized=a),W(a,"$stable",o),W(a,"$key",s),W(a,"$hasNormal",i),a}function Le(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Oe(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Re(t,e){return function(){return t[e]}}function De(t,e){var n,r,i,o,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,i=t.length;r1?j(n):n;for(var r=j(arguments,1),a='event handler for "'+t+'"',i=0,o=n.length;idocument.createEvent("Event").timeStamp&&(Zn=function(){return Xn.now()})}function Yn(){var t,e;for(Jn=Zn(),qn=!0,zn.sort((function(t,e){return t.id-e.id})),Wn=0;WnWn&&zn[n].id>t.id)n--;zn.splice(n+1,0,t)}else zn.push(t);Gn||(Gn=!0,he(Yn))}}var rr=0,ar=function(t,e,n,r,a){this.vm=t,a&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++rr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new vt,this.newDepIds=new vt,this.expression="","function"===typeof e?this.getter=e:(this.getter=J(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};ar.prototype.get=function(){var t;bt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Xc){if(!this.user)throw Xc;re(Xc,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ge(t),yt(),this.cleanupDeps()}return t},ar.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ar.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ar.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():nr(this)},ar.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Xc){re(Xc,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ar.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ar.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ar.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:I,set:I};function or(t,e,n){ir.get=function(){return this[e][n]},ir.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ir)}function sr(t){t._watchers=[];var e=t.$options;e.props&&ur(t,e.props),e.methods&&hr(t,e.methods),e.data?cr(t):Mt(t._data={},!0),e.computed&&fr(t,e.computed),e.watch&&e.watch!==st&&_r(t,e.watch)}function ur(t,e){var n=t.$options.propsData||{},r=t._props={},a=t.$options._propKeys=[],i=!t.$parent;i||jt(!1);var o=function(i){a.push(i);var o=Yt(i,e,n,t);Lt(r,i,o),i in t||or(t,"_props",i)};for(var s in e)o(s);jt(!0)}function cr(t){var e=t.$options.data;e=t._data="function"===typeof e?lr(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,a=(t.$options.methods,n.length);while(a--){var i=n[a];0,r&&w(r,i)||q(i)||or(t,"_data",i)}Mt(e,!0)}function lr(t,e){bt();try{return t.call(e,e)}catch(Xc){return re(Xc,e,"data()"),{}}finally{yt()}}var dr={lazy:!0};function fr(t,e){var n=t._computedWatchers=Object.create(null),r=lt();for(var a in e){var i=e[a],o="function"===typeof i?i:i.get;0,r||(n[a]=new ar(t,o||I,I,dr)),a in t||vr(t,a,i)}}function vr(t,e,n){var r=!lt();"function"===typeof n?(ir.get=r?pr(e):mr(n),ir.set=I):(ir.get=n.get?r&&!1!==n.cache?pr(e):mr(n.get):I,ir.set=n.set||I),Object.defineProperty(t,e,ir)}function pr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),_t.target&&e.depend(),e.value}}function mr(t){return function(){return t.call(this,this)}}function hr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:T(e[n],t)}function _r(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var a=0;a-1)return this;var n=j(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Or(t){t.mixin=function(t){return this.options=Zt(this.options,t),this}}function Ar(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,a=t._Ctor||(t._Ctor={});if(a[r])return a[r];var i=t.name||n.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Zt(n.options,t),o["super"]=n,o.options.props&&Er(o),o.options.computed&&Tr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,z.forEach((function(t){o[t]=n[t]})),i&&(o.options.components[i]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=P({},o.options),a[r]=o,o}}function Er(t){var e=t.options.props;for(var n in e)or(t.prototype,"_props",n)}function Tr(t){var e=t.options.computed;for(var n in e)vr(t.prototype,n,e[n])}function jr(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Pr(t){return t&&(t.Ctor.options.name||t.tag)}function Nr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Ir(t,e){var n=t.cache,r=t.keys,a=t._vnode;for(var i in n){var o=n[i];if(o){var s=Pr(o.componentOptions);s&&!e(s)&&Mr(n,i,r,a)}}}function Mr(t,e,n,r){var a=t[e];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),t[e]=null,b(n,e)}wr(kr),br(kr),jn(kr),Mn(kr),yn(kr);var Lr=[String,RegExp,Array],Rr={name:"keep-alive",abstract:!0,props:{include:Lr,exclude:Lr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Mr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Ir(t,(function(t){return Nr(e,t)}))})),this.$watch("exclude",(function(e){Ir(t,(function(t){return!Nr(e,t)}))}))},render:function(){var t=this.$slots.default,e=kn(t),n=e&&e.componentOptions;if(n){var r=Pr(n),a=this,i=a.include,o=a.exclude;if(i&&(!r||!Nr(i,r))||o&&r&&Nr(o,r))return e;var s=this,u=s.cache,c=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;u[l]?(e.componentInstance=u[l].componentInstance,b(c,l),c.push(l)):(u[l]=e,c.push(l),this.max&&c.length>parseInt(this.max)&&Mr(u,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Dr={KeepAlive:Rr};function Fr(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:mt,extend:P,mergeOptions:Zt,defineReactive:Lt},t.set=Rt,t.delete=Dt,t.nextTick=he,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,Dr),Sr(t),Or(t),Ar(t),jr(t)}Fr(kr),Object.defineProperty(kr.prototype,"$isServer",{get:lt}),Object.defineProperty(kr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kr,"FunctionalRenderContext",{value:Qe}),kr.version="2.6.11";var Ur=h("style,class"),Br=h("input,textarea,option,select,progress"),zr=function(t,e,n){return"value"===n&&Br(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Hr=h("contenteditable,draggable,spellcheck"),Vr=h("events,caret,typing,plaintext-only"),Gr=function(t,e){return Zr(e)||"false"===e?"false":"contenteditable"===t&&Vr(e)?e:"true"},qr=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wr="http://www.w3.org/1999/xlink",Kr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Jr=function(t){return Kr(t)?t.slice(6,t.length):""},Zr=function(t){return null==t||!1===t};function Xr(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Yr(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Yr(e,n.data));return Qr(e.staticClass,e.class)}function Yr(t,e){return{staticClass:ta(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Qr(t,e){return a(t)||a(e)?ta(t,ea(e)):""}function ta(t,e){return t?e?t+" "+e:t:e||""}function ea(t){return Array.isArray(t)?na(t):u(t)?ra(t):"string"===typeof t?t:""}function na(t){for(var e,n="",r=0,i=t.length;r-1?la[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:la[t]=/HTMLUnknownElement/.test(e.toString())}var fa=h("text,number,password,search,email,tel,url");function va(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pa(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function ma(t,e){return document.createElementNS(aa[t],e)}function ha(t){return document.createTextNode(t)}function _a(t){return document.createComment(t)}function ga(t,e,n){t.insertBefore(e,n)}function ba(t,e){t.removeChild(e)}function ya(t,e){t.appendChild(e)}function wa(t){return t.parentNode}function xa(t){return t.nextSibling}function $a(t){return t.tagName}function Ca(t,e){t.textContent=e}function ka(t,e){t.setAttribute(e,"")}var Sa=Object.freeze({createElement:pa,createElementNS:ma,createTextNode:ha,createComment:_a,insertBefore:ga,removeChild:ba,appendChild:ya,parentNode:wa,nextSibling:xa,tagName:$a,setTextContent:Ca,setStyleScope:ka}),Oa={create:function(t,e){Aa(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Aa(t,!0),Aa(e))},destroy:function(t){Aa(t,!0)}};function Aa(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?b(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Ea=new wt("",{},[]),Ta=["create","activate","update","remove","destroy"];function ja(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&Pa(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Pa(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||fa(r)&&fa(i)}function Na(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,a(i)&&(o[i]=r);return o}function Ia(t){var e,n,o={},u=t.modules,c=t.nodeOps;for(e=0;em?(d=r(n[g+1])?null:n[g+1].elm,$(t,d,n,p,g,i)):p>g&&k(e,f,m)}function A(t,e,n,r){for(var i=n;i-1?Ga(t,e,n):qr(e)?Zr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Hr(e)?t.setAttribute(e,Gr(e,n)):Kr(e)?Zr(n)?t.removeAttributeNS(Wr,Jr(e)):t.setAttributeNS(Wr,e,n):Ga(t,e,n)}function Ga(t,e,n){if(Zr(n))t.removeAttribute(e);else{if(nt&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var qa={create:Ha,update:Ha};function Wa(t,e){var n=e.elm,i=e.data,o=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Xr(e),u=n._transitionClasses;a(u)&&(s=ta(s,ea(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ka,Ja,Za,Xa,Ya,Qa,ti={create:Wa,update:Wa},ei=/[\w).+\-_$\]]/;function ni(t){var e,n,r,a,i,o=!1,s=!1,u=!1,c=!1,l=0,d=0,f=0,v=0;for(r=0;r=0;p--)if(m=t.charAt(p)," "!==m)break;m&&ei.test(m)||(c=!0)}}else void 0===a?(v=r+1,a=t.slice(0,r).trim()):h();function h(){(i||(i=[])).push(t.slice(v,r).trim()),v=r+1}if(void 0===a?a=t.slice(0,r).trim():0!==v&&h(),i)for(r=0;r-1?{exp:t.slice(0,Xa),key:'"'+t.slice(Xa+1)+'"'}:{exp:t,key:null};Ja=t,Xa=Ya=Qa=0;while(!wi())Za=yi(),xi(Za)?Ci(Za):91===Za&&$i(Za);return{exp:t.slice(0,Ya),key:t.slice(Ya+1,Qa)}}function yi(){return Ja.charCodeAt(++Xa)}function wi(){return Xa>=Ka}function xi(t){return 34===t||39===t}function $i(t){var e=1;Ya=Xa;while(!wi())if(t=yi(),xi(t))Ci(t);else if(91===t&&e++,93===t&&e--,0===e){Qa=Xa;break}}function Ci(t){var e=t;while(!wi())if(t=yi(),t===e)break}var ki,Si="__r",Oi="__c";function Ai(t,e,n){n;var r=e.value,a=e.modifiers,i=t.tag,o=t.attrsMap.type;if(t.component)return _i(t,r,a),!1;if("select"===i)ji(t,r,a);else if("input"===i&&"checkbox"===o)Ei(t,r,a);else if("input"===i&&"radio"===o)Ti(t,r,a);else if("input"===i||"textarea"===i)Pi(t,r,a);else{if(!V.isReservedTag(i))return _i(t,r,a),!1}return!0}function Ei(t,e,n){var r=n&&n.number,a=vi(t,"value")||"null",i=vi(t,"true-value")||"true",o=vi(t,"false-value")||"false";oi(t,"checked","Array.isArray("+e+")?_i("+e+","+a+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),di(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+a+")":a)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+gi(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+gi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+gi(e,"$$c")+"}",null,!0)}function Ti(t,e,n){var r=n&&n.number,a=vi(t,"value")||"null";a=r?"_n("+a+")":a,oi(t,"checked","_q("+e+","+a+")"),di(t,"change",gi(e,a),null,!0)}function ji(t,e,n){var r=n&&n.number,a='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",i="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",o="var $$selectedVal = "+a+";";o=o+" "+gi(e,i),di(t,"change",o,null,!0)}function Pi(t,e,n){var r=t.attrsMap.type,a=n||{},i=a.lazy,o=a.number,s=a.trim,u=!i&&"range"!==r,c=i?"change":"range"===r?Si:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),o&&(l="_n("+l+")");var d=gi(e,l);u&&(d="if($event.target.composing)return;"+d),oi(t,"value","("+e+")"),di(t,c,d,null,!0),(s||o)&&di(t,"blur","$forceUpdate()")}function Ni(t){if(a(t[Si])){var e=nt?"change":"input";t[e]=[].concat(t[Si],t[e]||[]),delete t[Si]}a(t[Oi])&&(t.change=[].concat(t[Oi],t.change||[]),delete t[Oi])}function Ii(t,e,n){var r=ki;return function a(){var i=e.apply(null,arguments);null!==i&&Ri(t,a,n,r)}}var Mi=ue&&!(ot&&Number(ot[1])<=53);function Li(t,e,n,r){if(Mi){var a=Jn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=a||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}ki.addEventListener(t,e,ut?{capture:n,passive:r}:n)}function Ri(t,e,n,r){(r||ki).removeEventListener(t,e._wrapper||e,n)}function Di(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},a=t.data.on||{};ki=e.elm,Ni(n),xe(n,a,Li,Ri,Ii,e.context),ki=void 0}}var Fi,Ui={create:Di,update:Di};function Bi(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,o=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in a(u.__ob__)&&(u=e.data.domProps=P({},u)),s)n in u||(o[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=i;var c=r(i)?"":String(i);zi(o,c)&&(o.value=c)}else if("innerHTML"===n&&oa(o.tagName)&&r(o.innerHTML)){Fi=Fi||document.createElement("div"),Fi.innerHTML=""+i+"";var l=Fi.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(l.firstChild)o.appendChild(l.firstChild)}else if(i!==s[n])try{o[n]=i}catch(Xc){}}}}function zi(t,e){return!t.composing&&("OPTION"===t.tagName||Hi(t,e)||Vi(t,e))}function Hi(t,e){var n=!0;try{n=document.activeElement!==t}catch(Xc){}return n&&t.value!==e}function Vi(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Gi={create:Bi,update:Bi},qi=x((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Wi(t){var e=Ki(t.style);return t.staticStyle?P(t.staticStyle,e):e}function Ki(t){return Array.isArray(t)?N(t):"string"===typeof t?qi(t):t}function Ji(t,e){var n,r={};if(e){var a=t;while(a.componentInstance)a=a.componentInstance._vnode,a&&a.data&&(n=Wi(a.data))&&P(r,n)}(n=Wi(t.data))&&P(r,n);var i=t;while(i=i.parent)i.data&&(n=Wi(i.data))&&P(r,n);return r}var Zi,Xi=/^--/,Yi=/\s*!important$/,Qi=function(t,e,n){if(Xi.test(e))t.style.setProperty(e,n);else if(Yi.test(n))t.style.setProperty(O(e),n.replace(Yi,""),"important");else{var r=eo(e);if(Array.isArray(n))for(var a=0,i=n.length;a-1?e.split(ao).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ao).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function so(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&P(e,uo(t.name||"v")),P(e,t),e}return"string"===typeof t?uo(t):void 0}}var uo=x((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),co=Y&&!rt,lo="transition",fo="animation",vo="transition",po="transitionend",mo="animation",ho="animationend";co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(vo="WebkitTransition",po="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(mo="WebkitAnimation",ho="webkitAnimationEnd"));var _o=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function go(t){_o((function(){_o(t)}))}function bo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),io(t,e))}function yo(t,e){t._transitionClasses&&b(t._transitionClasses,e),oo(t,e)}function wo(t,e,n){var r=$o(t,e),a=r.type,i=r.timeout,o=r.propCount;if(!a)return n();var s=a===lo?po:ho,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=o&&c()};setTimeout((function(){u0&&(n=lo,l=o,d=i.length):e===fo?c>0&&(n=fo,l=c,d=u.length):(l=Math.max(o,c),n=l>0?o>c?lo:fo:null,d=n?n===lo?i.length:u.length:0);var f=n===lo&&xo.test(r[vo+"Property"]);return{type:n,timeout:l,propCount:d,hasTransform:f}}function Co(t,e){while(t.length1}function To(t,e){!0!==e.data.show&&So(e)}var jo=Y?{create:To,activate:To,remove:function(t,e){!0!==t.data.show?Oo(t,e):e()}}:{},Po=[qa,ti,Ui,Gi,ro,jo],No=Po.concat(za),Io=Ia({nodeOps:Sa,modules:No});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&zo(t,"input")}));var Mo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?$e(n,"postpatch",(function(){Mo.componentUpdated(t,e,n)})):Lo(t,e,n.context),t._vOptions=[].map.call(t.options,Fo)):("textarea"===n.tag||fa(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Uo),t.addEventListener("compositionend",Bo),t.addEventListener("change",Bo),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Lo(t,e,n.context);var r=t._vOptions,a=t._vOptions=[].map.call(t.options,Fo);if(a.some((function(t,e){return!D(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Do(t,a)})):e.value!==e.oldValue&&Do(e.value,a);i&&zo(t,"change")}}}};function Lo(t,e,n){Ro(t,e,n),(nt||at)&&setTimeout((function(){Ro(t,e,n)}),0)}function Ro(t,e,n){var r=e.value,a=t.multiple;if(!a||Array.isArray(r)){for(var i,o,s=0,u=t.options.length;s-1,o.selected!==i&&(o.selected=i);else if(D(Fo(o),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));a||(t.selectedIndex=-1)}}function Do(t,e){return e.every((function(e){return!D(e,t)}))}function Fo(t){return"_value"in t?t._value:t.value}function Uo(t){t.target.composing=!0}function Bo(t){t.target.composing&&(t.target.composing=!1,zo(t.target,"input"))}function zo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ho(t){return!t.componentInstance||t.data&&t.data.transition?t:Ho(t.componentInstance._vnode)}var Vo={bind:function(t,e,n){var r=e.value;n=Ho(n);var a=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&a?(n.data.show=!0,So(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,a=e.oldValue;if(!r!==!a){n=Ho(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?So(n,(function(){t.style.display=t.__vOriginalDisplay})):Oo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,a){a||(t.style.display=t.__vOriginalDisplay)}},Go={model:Mo,show:Vo},qo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Wo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Wo(kn(e.children)):t}function Ko(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var a=n._parentListeners;for(var i in a)e[C(i)]=a[i];return e}function Jo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Zo(t){while(t=t.parent)if(t.data.transition)return!0}function Xo(t,e){return e.key===t.key&&e.tag===t.tag}var Yo=function(t){return t.tag||Cn(t)},Qo=function(t){return"show"===t.name},ts={name:"transition",props:qo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Yo),n.length)){0;var r=this.mode;0;var a=n[0];if(Zo(this.$vnode))return a;var i=Wo(a);if(!i)return a;if(this._leaving)return Jo(t,a);var o="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?o+"comment":o+i.tag:s(i.key)?0===String(i.key).indexOf(o)?i.key:o+i.key:i.key;var u=(i.data||(i.data={})).transition=Ko(this),c=this._vnode,l=Wo(c);if(i.data.directives&&i.data.directives.some(Qo)&&(i.data.show=!0),l&&l.data&&!Xo(i,l)&&!Cn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=P({},u);if("out-in"===r)return this._leaving=!0,$e(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Jo(t,a);if("in-out"===r){if(Cn(i))return c;var f,v=function(){f()};$e(u,"afterEnter",v),$e(u,"enterCancelled",v),$e(d,"delayLeave",(function(t){f=t}))}}return a}}},es=P({tag:String,moveClass:String},qo);delete es.mode;var ns={props:es,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var a=Nn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,a(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],o=Ko(this),s=0;su&&(s.push(i=t.slice(u,a)),o.push(JSON.stringify(i)));var c=ni(r[1].trim());o.push("_s("+c+")"),s.push({"@binding":c}),u=a+r[0].length}return u\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,$s=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Cs="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+G.source+"]*",ks="((?:"+Cs+"\\:)?"+Cs+")",Ss=new RegExp("^<"+ks),Os=/^\s*(\/?)>/,As=new RegExp("^<\\/"+ks+"[^>]*>"),Es=/^]+>/i,Ts=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Ms=/&(?:lt|gt|quot|amp|#39);/g,Ls=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Rs=h("pre,textarea",!0),Ds=function(t,e){return t&&Rs(t)&&"\n"===e[0]};function Fs(t,e){var n=e?Ls:Ms;return t.replace(n,(function(t){return Is[t]}))}function Us(t,e){var n,r,a=[],i=e.expectHTML,o=e.isUnaryTag||M,s=e.canBeLeftOpenTag||M,u=0;while(t){if(n=t,r&&Ps(r)){var c=0,l=r.toLowerCase(),d=Ns[l]||(Ns[l]=new RegExp("([\\s\\S]*?)(]*>)","i")),f=t.replace(d,(function(t,n,r){return c=r.length,Ps(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ds(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));u+=t.length-f.length,t=f,S(l,u-c,u)}else{var v=t.indexOf("<");if(0===v){if(Ts.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),u,u+p+3),$(p+3);continue}}if(js.test(t)){var m=t.indexOf("]>");if(m>=0){$(m+2);continue}}var h=t.match(Es);if(h){$(h[0].length);continue}var _=t.match(As);if(_){var g=u;$(_[0].length),S(_[1],g,u);continue}var b=C();if(b){k(b),Ds(b.tagName,t)&&$(1);continue}}var y=void 0,w=void 0,x=void 0;if(v>=0){w=t.slice(v);while(!As.test(w)&&!Ss.test(w)&&!Ts.test(w)&&!js.test(w)){if(x=w.indexOf("<",1),x<0)break;v+=x,w=t.slice(v)}y=t.substring(0,v)}v<0&&(y=t),y&&$(y.length),e.chars&&y&&e.chars(y,u-y.length,u)}if(t===n){e.chars&&e.chars(t);break}}function $(e){u+=e,t=t.substring(e)}function C(){var e=t.match(Ss);if(e){var n,r,a={tagName:e[1],attrs:[],start:u};$(e[0].length);while(!(n=t.match(Os))&&(r=t.match($s)||t.match(xs)))r.start=u,$(r[0].length),r.end=u,a.attrs.push(r);if(n)return a.unarySlash=n[1],$(n[0].length),a.end=u,a}}function k(t){var n=t.tagName,u=t.unarySlash;i&&("p"===r&&ws(n)&&S(r),s(n)&&r===n&&S(n));for(var c=o(n)||!!u,l=t.attrs.length,d=new Array(l),f=0;f=0;o--)if(a[o].lowerCasedTag===s)break}else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)e.end&&e.end(a[c].tag,n,i);a.length=o,r=o&&a[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}S()}var Bs,zs,Hs,Vs,Gs,qs,Ws,Ks,Js=/^@|^v-on:/,Zs=/^v-|^@|^:|^#/,Xs=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ys=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qs=/^\(|\)$/g,tu=/^\[.*\]$/,eu=/:(.*)$/,nu=/^:|^\.|^v-bind:/,ru=/\.[^.\]]+(?=[^\]]*$)/g,au=/^v-slot(:|$)|^#/,iu=/[\r\n]/,ou=/\s+/g,su=x(gs.decode),uu="_empty_";function cu(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Tu(e),rawAttrsMap:{},parent:n,children:[]}}function lu(t,e){Bs=e.warn||ai,qs=e.isPreTag||M,Ws=e.mustUseProp||M,Ks=e.getTagNamespace||M;var n=e.isReservedTag||M;(function(t){return!!t.component||!n(t.tag)}),Hs=ii(e.modules,"transformNode"),Vs=ii(e.modules,"preTransformNode"),Gs=ii(e.modules,"postTransformNode"),zs=e.delimiters;var r,a,i=[],o=!1!==e.preserveWhitespace,s=e.whitespace,u=!1,c=!1;function l(t){if(d(t),u||t.processed||(t=vu(t,e)),i.length||t===r||r.if&&(t.elseif||t.else)&&wu(r,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)bu(t,a);else{if(t.slotScope){var n=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[n]=t}a.children.push(t),t.parent=a}t.children=t.children.filter((function(t){return!t.slotScope})),d(t),t.pre&&(u=!1),qs(t.tag)&&(c=!1);for(var o=0;o|^function(?:\s+[\w$]+)?\s*\(/,tc=/\([^)]*?\);*$/,ec=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,nc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},rc={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ac=function(t){return"if("+t+")return null;"},ic={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ac("$event.target !== $event.currentTarget"),ctrl:ac("!$event.ctrlKey"),shift:ac("!$event.shiftKey"),alt:ac("!$event.altKey"),meta:ac("!$event.metaKey"),left:ac("'button' in $event && $event.button !== 0"),middle:ac("'button' in $event && $event.button !== 1"),right:ac("'button' in $event && $event.button !== 2")};function oc(t,e){var n=e?"nativeOn:":"on:",r="",a="";for(var i in t){var o=sc(t[i]);t[i]&&t[i].dynamic?a+=i+","+o+",":r+='"'+i+'":'+o+","}return r="{"+r.slice(0,-1)+"}",a?n+"_d("+r+",["+a.slice(0,-1)+"])":n+r}function sc(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return sc(t)})).join(",")+"]";var e=ec.test(t.value),n=Qu.test(t.value),r=ec.test(t.value.replace(tc,""));if(t.modifiers){var a="",i="",o=[];for(var s in t.modifiers)if(ic[s])i+=ic[s],nc[s]&&o.push(s);else if("exact"===s){var u=t.modifiers;i+=ac(["ctrl","shift","alt","meta"].filter((function(t){return!u[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else o.push(s);o.length&&(a+=uc(o)),i&&(a+=i);var c=e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value;return"function($event){"+a+c+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function uc(t){return"if(!$event.type.indexOf('key')&&"+t.map(cc).join("&&")+")return null;"}function cc(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=nc[t],r=rc[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function lc(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function dc(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}}var fc={on:lc,bind:dc,cloak:I},vc=function(t){this.options=t,this.warn=t.warn||ai,this.transforms=ii(t.modules,"transformCode"),this.dataGenFns=ii(t.modules,"genData"),this.directives=P(P({},fc),t.directives);var e=t.isReservedTag||M;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function pc(t,e){var n=new vc(e),r=t?mc(t,n):'_c("div")';return{render:"with(this){return "+r+"}",staticRenderFns:n.staticRenderFns}}function mc(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return hc(t,e);if(t.once&&!t.onceProcessed)return _c(t,e);if(t.for&&!t.forProcessed)return yc(t,e);if(t.if&&!t.ifProcessed)return gc(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return Ic(t,e);var n;if(t.component)n=Mc(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=wc(t,e));var a=t.inlineTemplate?null:Ac(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(a?","+a:"")+")"}for(var i=0;i>>0}function Sc(t){return 1===t.type&&("slot"===t.tag||t.children.some(Sc))}function Oc(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return gc(t,e,Oc,"null");if(t.for&&!t.forProcessed)return yc(t,e,Oc);var r=t.slotScope===uu?"":String(t.slotScope),a="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Ac(t,e)||"undefined")+":undefined":Ac(t,e)||"undefined":mc(t,e))+"}",i=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+a+i+"}"}function Ac(t,e,n,r,a){var i=t.children;if(i.length){var o=i[0];if(1===i.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?e.maybeComponent(o)?",1":",0":"";return""+(r||mc)(o,e)+s}var u=n?Ec(i,e.maybeComponent):0,c=a||jc;return"["+i.map((function(t){return c(t,e)})).join(",")+"]"+(u?","+u:"")}}function Ec(t,e){for(var n=0,r=0;r':'
',Bc.innerHTML.indexOf(" ")>0}var qc=!!Y&&Gc(!1),Wc=!!Y&&Gc(!0),Kc=x((function(t){var e=va(t);return e&&e.innerHTML})),Jc=kr.prototype.$mount;function Zc(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}kr.prototype.$mount=function(t,e){if(t=t&&va(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"===typeof r)"#"===r.charAt(0)&&(r=Kc(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=Zc(t));if(r){0;var a=Vc(r,{outputSourceRange:!1,shouldDecodeNewlines:qc,shouldDecodeNewlinesForHref:Wc,delimiters:n.delimiters,comments:n.comments},this),i=a.render,o=a.staticRenderFns;n.render=i,n.staticRenderFns=o}}return Jc.call(this,t,e)},kr.compile=Vc,e["a"]=kr}).call(this,n("c8ba"))},a15b:function(t,e,n){"use strict";var r=n("23e7"),a=n("44ad"),i=n("fc6a"),o=n("a640"),s=[].join,u=a!=Object,c=o("join",",");r({target:"Array",proto:!0,forced:u||!c},{join:function(t){return s.call(i(this),void 0===t?",":t)}})},a206:function(t,e,n){"use strict";var r=n("7dff"),a=n.n(r);a.a},a2bf:function(t,e,n){"use strict";var r=n("e8b5"),a=n("50c4"),i=n("0366"),o=function(t,e,n,s,u,c,l,d){var f,v=u,p=0,m=!!l&&i(l,d,3);while(p0&&r(f))v=o(t,e,f,a(f.length),v,c-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[v]=f}v++}p++}return v};t.exports=o},a2de:function(t,e,n){},a3fd:function(t,e,n){"use strict";var r=n("18aa"),a=n.n(r);a.a},a4d3:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d066"),o=n("c430"),s=n("83ab"),u=n("4930"),c=n("fdbf"),l=n("d039"),d=n("5135"),f=n("e8b5"),v=n("861d"),p=n("825a"),m=n("7b0b"),h=n("fc6a"),_=n("c04e"),g=n("5c6c"),b=n("7c73"),y=n("df75"),w=n("241c"),x=n("057f"),$=n("7418"),C=n("06cf"),k=n("9bf2"),S=n("d1e7"),O=n("9112"),A=n("6eeb"),E=n("5692"),T=n("f772"),j=n("d012"),P=n("90e3"),N=n("b622"),I=n("e538"),M=n("746f"),L=n("d44e"),R=n("69f3"),D=n("b727").forEach,F=T("hidden"),U="Symbol",B="prototype",z=N("toPrimitive"),H=R.set,V=R.getterFor(U),G=Object[B],q=a.Symbol,W=i("JSON","stringify"),K=C.f,J=k.f,Z=x.f,X=S.f,Y=E("symbols"),Q=E("op-symbols"),tt=E("string-to-symbol-registry"),et=E("symbol-to-string-registry"),nt=E("wks"),rt=a.QObject,at=!rt||!rt[B]||!rt[B].findChild,it=s&&l((function(){return 7!=b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=K(G,e);r&&delete G[e],J(t,e,n),r&&t!==G&&J(G,e,r)}:J,ot=function(t,e){var n=Y[t]=b(q[B]);return H(n,{type:U,tag:t,description:e}),s||(n.description=e),n},st=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},ut=function(t,e,n){t===G&&ut(Q,e,n),p(t);var r=_(e,!0);return p(n),d(Y,r)?(n.enumerable?(d(t,F)&&t[F][r]&&(t[F][r]=!1),n=b(n,{enumerable:g(0,!1)})):(d(t,F)||J(t,F,g(1,{})),t[F][r]=!0),it(t,r,n)):J(t,r,n)},ct=function(t,e){p(t);var n=h(e),r=y(n).concat(pt(n));return D(r,(function(e){s&&!dt.call(n,e)||ut(t,e,n[e])})),t},lt=function(t,e){return void 0===e?b(t):ct(b(t),e)},dt=function(t){var e=_(t,!0),n=X.call(this,e);return!(this===G&&d(Y,e)&&!d(Q,e))&&(!(n||!d(this,e)||!d(Y,e)||d(this,F)&&this[F][e])||n)},ft=function(t,e){var n=h(t),r=_(e,!0);if(n!==G||!d(Y,r)||d(Q,r)){var a=K(n,r);return!a||!d(Y,r)||d(n,F)&&n[F][r]||(a.enumerable=!0),a}},vt=function(t){var e=Z(h(t)),n=[];return D(e,(function(t){d(Y,t)||d(j,t)||n.push(t)})),n},pt=function(t){var e=t===G,n=Z(e?Q:h(t)),r=[];return D(n,(function(t){!d(Y,t)||e&&!d(G,t)||r.push(Y[t])})),r};if(u||(q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),n=function(t){this===G&&n.call(Q,t),d(this,F)&&d(this[F],e)&&(this[F][e]=!1),it(this,e,g(1,t))};return s&&at&&it(G,e,{configurable:!0,set:n}),ot(e,t)},A(q[B],"toString",(function(){return V(this).tag})),A(q,"withoutSetter",(function(t){return ot(P(t),t)})),S.f=dt,k.f=ut,C.f=ft,w.f=x.f=vt,$.f=pt,I.f=function(t){return ot(N(t),t)},s&&(J(q[B],"description",{configurable:!0,get:function(){return V(this).description}}),o||A(G,"propertyIsEnumerable",dt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),D(y(nt),(function(t){M(t)})),r({target:U,stat:!0,forced:!u},{for:function(t){var e=String(t);if(d(tt,e))return tt[e];var n=q(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(d(et,t))return et[t]},useSetter:function(){at=!0},useSimple:function(){at=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:lt,defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:vt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:l((function(){$.f(1)}))},{getOwnPropertySymbols:function(t){return $.f(m(t))}}),W){var mt=!u||l((function(){var t=q();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}));r({target:"JSON",stat:!0,forced:mt},{stringify:function(t,e,n){var r,a=[t],i=1;while(arguments.length>i)a.push(arguments[i++]);if(r=e,(v(e)||void 0!==t)&&!st(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!st(e))return e}),a[1]=e,W.apply(null,a)}})}q[B][z]||O(q[B],z,q[B].valueOf),L(q,U),j[F]=!0},a589:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.on?[t.pastHalfTime?[t.ingredientsPresent?t.failed?n("p",[t._v("Something doesn't look right...")]):n("p",[t._v("It's cooking nicely!")]):n("p",[t._v("There's nothing inside. Microwave's working, though!")])]:n("p",[t._v("It's starting to cook...")]),n("vui-progress",{attrs:{value:t.$root.$data.wtime,min:t.start_time,max:t.start_time+t.cook_time}}),n("vui-button",{staticClass:"danger danger-control",attrs:{icon:"exclamation-triangle",params:{abort:1}}},[t._v("Abort!")])]:[n("h4",[t._v("Ingredients")]),n("ul",[t.ingredientsPresent?t._e():n("li",[t._v("The microwave is empty!")]),t._l(t.cookingobjs,(function(e,r){return n("li",{key:r},[n("vui-button",{attrs:{params:{eject:r}}},[t._v(" "+t._s(r)+" • "+t._s(e)+" ")])],1)})),t._l(t.cookingreas,(function(e,r){return n("li",{key:r},[n("vui-button",{attrs:{params:{eject:r}}},[t._v(" "+t._s(r)+" • "+t._s(e)+" units ")])],1)}))],2),n("vui-button",{staticClass:"danger danger-control",attrs:{icon:"trash",params:{eject_all:1}}},[t._v("Eject All")]),n("vui-button",{staticClass:"control",attrs:{params:{cook:1}}},[t._v("Cook!")])]],2)},a=[],i=(n("b64b"),{data:function(){return this.$root.$data.state},computed:{ingredientsPresent:function(){return Object.keys(this.cookingobjs).length>0||Object.keys(this.cookingreas).length>0},pastHalfTime:function(){return this.$root.$data.wtime>this.start_time+this.cook_time/2}}}),o=i,s=(n("e48d"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"2005209a",null);e["default"]=u.exports},a630:function(t,e,n){var r=n("23e7"),a=n("4df4"),i=n("1c7e"),o=!i((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:o},{from:a})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a8bb:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._v(" You are not authenticated. Please login to continue. "),n("vui-button",{attrs:{params:{login:1}}},[t._v("Login")])],1)},a=[],i=n("2877"),o={},s=Object(i["a"])(o,r,a,!1,null,null,null);e["default"]=s.exports},a919:function(t,e,n){var r=n("ddc6"),a={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(a);t.exports=i},a9ae:function(t,e,n){},a9e3:function(t,e,n){"use strict";var r=n("83ab"),a=n("da84"),i=n("94ca"),o=n("6eeb"),s=n("5135"),u=n("c6b6"),c=n("7156"),l=n("c04e"),d=n("d039"),f=n("7c73"),v=n("241c").f,p=n("06cf").f,m=n("9bf2").f,h=n("58a8").trim,_="Number",g=a[_],b=g.prototype,y=u(f(b))==_,w=function(t){var e,n,r,a,i,o,s,u,c=l(t,!1);if("string"==typeof c&&c.length>2)if(c=h(c),e=c.charCodeAt(0),43===e||45===e){if(n=c.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+c}for(i=c.slice(2),o=i.length,s=0;sa)return NaN;return parseInt(i,r)}return+c};if(i(_,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var x,$=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof $&&(y?d((function(){b.valueOf.call(n)})):u(n)!=_)?c(new g(w(e)),n,$):w(e)},C=r?v(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;C.length>k;k++)s(g,x=C[k])&&!s($,x)&&m($,x,p(g,x));$.prototype=b,b.constructor=$,o(a,_,$)}},aaec:function(t,e){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",o=r+a+i,s="\\ufe0e\\ufe0f",u="\\u200d",c=RegExp("["+u+n+o+s+"]");function l(t){return c.test(t)}t.exports=l},ab13:function(t,e,n){var r=n("b622"),a=r("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[a]=!1,"/./"[t](e)}catch(r){}}return!1}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),a=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},ac4c:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-input-search",{staticStyle:{display:"block"},attrs:{input:t.records,keys:["id","name","rank","sex","age","fingerprint","blood","dna"]},model:{value:t.filtered,callback:function(e){t.filtered=e},expression:"filtered"}}),t._l(t.filtered,(function(e){return n("div",{key:e.id},[n("vui-button",{attrs:{params:{setactive:e.id},"push-state":""},on:{click:function(e){t.state.activeview=t.state.defaultview}}},[t._v(t._s(e.id)+": "+t._s(e.name)+" ("+t._s(e.rank)+")")])],1)})),(1&t.editable)>0?n("vui-button",{attrs:{params:{newrecord:1},"push-state":""},on:{click:function(e){t.state.activeview=t.state.defaultview}}},[t._v("New record")]):t._e()],2)},a=[],i=(n("07ac"),{data:function(){return{state:this.$root.$data.state,filtered:[]}},computed:{records:function(){return Object.values(this.state.allrecords)}}}),o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,n){var r=n("83ab"),a=n("d039"),i=n("5135"),o=Object.defineProperty,s={},u=function(t){throw t};t.exports=function(t,e){if(i(s,t))return s[t];e||(e={});var n=[][t],c=!!i(e,"ACCESSORS")&&e.ACCESSORS,l=i(e,0)?e[0]:u,d=i(e,1)?e[1]:void 0;return s[t]=!!n&&!a((function(){if(c&&!r)return!0;var t={length:-1};c?o(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,l,d)}))}},ae93:function(t,e,n){"use strict";var r,a,i,o=n("e163"),s=n("9112"),u=n("5135"),c=n("b622"),l=n("c430"),d=c("iterator"),f=!1,v=function(){return this};[].keys&&(i=[].keys(),"next"in i?(a=o(o(i)),a!==Object.prototype&&(r=a)):f=!0),void 0==r&&(r={}),l||u(r,d)||s(r,d,v),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},af89:function(t,e,n){"use strict";var r=n("6836"),a=n.n(r);a.a},b041:function(t,e,n){"use strict";var r=n("00ee"),a=n("f5df");t.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),a=n("9bf2").f,i=Function.prototype,o=i.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in i)&&a(i,u,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(t){return""}}})},b20a:function(t,e,n){var r=n("6ac0"),a=n("4caa"),i=n("ea72"),o="['’]",s=RegExp(o,"g");function u(t){return function(e){return r(i(a(e).replace(s,"")),t,"")}}t.exports=u},b2d8:function(t,e,n){"use strict";var r=n("fae9"),a=n.n(r);a.a},b3da:function(t,e,n){"use strict";var r=n("5ae5"),a=n.n(r);a.a},b622:function(t,e,n){var r=n("da84"),a=n("5692"),i=n("5135"),o=n("90e3"),s=n("4930"),u=n("fdbf"),c=a("wks"),l=r.Symbol,d=u?l:l&&l.withoutSetter||o;t.exports=function(t){return i(c,t)||(s&&i(l,t)?c[t]=l[t]:c[t]=d("Symbol."+t)),c[t]}},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),s=o((function(){i(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(t){return i(a(t))}})},b6db:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.active?n("view-records-general",{attrs:{"hide-advanced":""}},[n("vui-group-item",{attrs:{label:"Criminal Status:"}},[n("view-records-field",{attrs:{editable:(4&t.editable)>0,path:"active.security.criminal"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.$root.$data.state,"editingvalue",e.target.multiple?n:n[0])}}},t._l(t.choices.criminal_status,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(t._s(e))])})),0)])],1),n("vui-group-item",{attrs:{label:"Crimes:"}},[n("view-records-field",{attrs:{editable:(4&t.editable)>0,path:"active.security.crimes"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1),n("vui-group-item",{attrs:{label:"Comments:"}},[t._l(t.active.security.comments,(function(e){return n("div",{key:e},[t._v(t._s(e)+" "),(4&t.editable)>0?n("vui-button",{staticClass:"danger",attrs:{params:{removefromrecord:{value:e,key:["active","security","comments"]}},icon:"trash-alt"}}):t._e()],1)})),0==t.active.security.comments.length?n("div",[t._v("There are no comments.")]):t._e(),(4&t.editable)>0?n("view-records-field",{attrs:{"edit-button":"Add"},on:{save:function(e){return t.add("active.security.comments",e)}}}):t._e()],2),n("vui-group-item",{attrs:{label:"Notes:"}},[n("view-records-field",{attrs:{editable:(4&t.editable)>0,path:"active.security.notes"}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.$root.$data.state.editingvalue,expression:"$root.$data.state.editingvalue"}],domProps:{value:t.$root.$data.state.editingvalue},on:{input:function(e){e.target.composing||t.$set(t.$root.$data.state,"editingvalue",e.target.value)}}})])],1),n("vui-group-item",{attrs:{label:"Incidents:"}},[t._l(t.active.security.incidents,(function(e,r){return n("div",{key:r,staticClass:"incidents"},[n("view-records-incident",{attrs:{incident:e}}),r+1$;$++)if((f||$ in y)&&(_=y[$],g=w(_,$,b),t))if(e)k[$]=g;else if(g)switch(t){case 3:return!0;case 5:return _;case 6:return $;case 2:u.call(k,_)}else if(l)return!1;return d?-1:c||l?l:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},bb33:function(t,e,n){"use strict";var r=n("861e"),a=n.n(r);a.a},bba4:function(t,e,n){var r=n("e9a7"),a=n("b20a"),i=a((function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)}));t.exports=i},bfa1:function(t,e,n){},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!r(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},c0d6:function(t,e,n){"use strict";n("4160"),n("b64b"),n("159b");e["a"]={debug:!1,state:{assets:[],state:{},active:"",uiref:"",status:2,wtime:0},loadState:function(t){var e=this;this.isUpdating=!0,this.lastUpdateTime=Date.now(),this.debug&&console.log("Loaded state with",t),this.state.assets=t.assets,Object.keys(t.state).forEach((function(n){e.state.state[n]=t.state[n]})),this.state.active=t.active,this.state.uiref=t.uiref,this.state.status=t.status,this.state.title=t.title,this.state.wtime=t.wtime,this.isUpdating=!1},isUpdating:!1,lastUpdateTime:null,getStatePushString:function(){return"vueuistateupdate="+encodeURIComponent(this.getStatePushDataString())},getStatePushDataString:function(){return JSON.stringify(this.state)},pushState:function(){if(!(this.isUpdating||Date.now()-this.lastUpdateTime<100)){var t=new XMLHttpRequest;t.open("GET","?src="+this.state.uiref+"&vueuipushonly=1&"+this.getStatePushString(),!0),t.send()}}}},c0f7:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-input-search",{attrs:{input:t.records,keys:["id","name","rank"]},model:{value:t.filtered,callback:function(e){t.filtered=e},expression:"filtered"}}),t._l(t.filtered,(function(e){return n("div",{key:e.id},[n("vui-button",{attrs:{params:{setactive_locked:e.id},"push-state":""},on:{click:function(e){t.activeview=t.defaultview}}},[t._v(t._s(e.id)+": "+t._s(e.name))])],1)}))],2)},a=[],i=(n("07ac"),{data:function(){return{state:this.$root.$data.state,filtered:[]}},computed:{records:function(){return Object.values(this.state.allrecords_locked)}}}),o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},c32f:function(t,e,n){var r=n("2b10");function a(t,e,n){var a=t.length;return n=void 0===n?a:n,!e&&n>=a?t:r(t,e,n)}t.exports=a},c430:function(t,e){t.exports=!1},c4f9:function(t,e,n){},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6c8:function(t,e,n){},c6cd:function(t,e,n){var r=n("da84"),a=n("ce4e"),i="__core-js_shared__",o=r[i]||a(i,{});t.exports=o},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},c939:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-group",[n("vui-group-item",{attrs:{label:"Frequency:"}},[n("vui-button",{attrs:{params:{freq:-10}}},[t._v("--")]),n("vui-button",{attrs:{params:{freq:-2}}},[t._v("-")]),n("span",{staticClass:"value-setting"},[t._v(t._s(t.frequency))]),n("vui-button",{attrs:{params:{freq:2}}},[t._v("+")]),n("vui-button",{attrs:{params:{freq:10}}},[t._v("++")])],1),n("vui-group-item",{attrs:{label:"Code:"}},[n("vui-button",{attrs:{params:{code:-10}}},[t._v("--")]),n("vui-button",{attrs:{params:{code:-2}}},[t._v("-")]),n("span",{staticClass:"value-setting"},[t._v(t._s(t.code))]),n("vui-button",{attrs:{params:{code:2}}},[t._v("+")]),n("vui-button",{attrs:{params:{code:10}}},[t._v("++")])],1),n("vui-group-item",[n("vui-button",{attrs:{params:{send:1}}},[t._v("Send")])],1)],1)],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=(n("4d4a"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"c7841158",null);e["default"]=u.exports},c975:function(t,e,n){"use strict";var r=n("23e7"),a=n("4d64").indexOf,i=n("a640"),o=n("ae40"),s=[].indexOf,u=!!s&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),l=o("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!c||!l},{indexOf:function(t){return u?s.apply(this,arguments)||0:a(this,t,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,e,n){var r=n("5135"),a=n("fc6a"),i=n("4d64").indexOf,o=n("d012");t.exports=function(t,e){var n,s=a(t),u=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&c.push(n);while(e.length>u)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},cc12:function(t,e,n){var r=n("da84"),a=n("861d"),i=r.document,o=a(i)&&a(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84"),a=n("9112");t.exports=function(t,e){try{a(r,t,e)}catch(n){r[t]=e}return e}},ce86:function(t,e,n){var r=n("9e69"),a=n("7948"),i=n("6747"),o=n("ffd6"),s=1/0,u=r?r.prototype:void 0,c=u?u.toString:void 0;function l(t){if("string"==typeof t)return t;if(i(t))return a(t,l)+"";if(o(t))return c?c.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}t.exports=l},cf32:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[7&t.avaivabletypes?n("vui-button",{class:{selected:"list"==t.activeview},on:{click:function(e){t.activeview="list"}}},[t._v("List")]):t._e(),8&t.avaivabletypes?n("vui-button",{class:{selected:"list-locked"==t.activeview},on:{click:function(e){t.activeview="list-locked"}}},[t._v("List (Locked)")]):t._e(),32&t.avaivabletypes?n("vui-button",{class:{selected:"list-virus"==t.activeview},on:{click:function(e){t.activeview="list-virus"}}},[t._v("List (Virus)")]):t._e(),t.active?[1&t.avaivabletypes?n("vui-button",{class:{selected:"general"==t.activeview},on:{click:function(e){t.activeview="general"}}},[t._v("General")]):t._e(),4&t.avaivabletypes?n("vui-button",{class:{selected:"security"==t.activeview},attrs:{disabled:!t.active.security},on:{click:function(e){t.activeview="security"}}},[t._v("Security")]):t._e(),2&t.avaivabletypes?n("vui-button",{class:{selected:"medical"==t.activeview},attrs:{disabled:!t.active.medical},on:{click:function(e){t.activeview="medical"}}},[t._v("Medical")]):t._e(),n("vui-button",{attrs:{params:{setactive:"null"},"push-state":""},on:{click:function(e){t.activeview="list"}}},[t._v("Unload record")]),t.canprint?n("vui-button",{attrs:{params:{print:"active"}}},[t._v("Print")]):t._e()]:t._e(),t.active_virus?[n("vui-button",{class:{selected:"virus"==t.activeview},on:{click:function(e){t.activeview="virus"}}},[t._v("Virus")]),n("vui-button",{attrs:{params:{setactive_virus:"null"},"push-state":""},on:{click:function(e){t.activeview="list-virus"}}},[t._v("Unload record")]),t.canprint?n("vui-button",{attrs:{params:{print:"active_virus"}}},[t._v("Print")]):t._e()]:t._e(),n("vui-button",{attrs:{params:{logout:1}}},[t._v("Logout")])],2),n("hr"),t.activeview?n("view-records-"+t.activeview,{tag:"component"}):t._e()],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("428f"),a=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(a[t]):r[t]&&r[t][e]||a[t]&&a[t][e]}},d07a:function(t,e,n){"use strict";var r=n("7b3c"),a=n.n(r);a.a},d094:function(t,e){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",o=r+a+i,s="\\ufe0e\\ufe0f",u="["+n+"]",c="["+o+"]",l="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+l+")",f="[^"+n+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",h=d+"?",_="["+s+"]?",g="(?:"+m+"(?:"+[f,v,p].join("|")+")"+_+h+")*",b=_+h+g,y="(?:"+[f+c+"?",c,v,p,u].join("|")+")",w=RegExp(l+"(?="+l+")|"+y+b,"g");function x(t){return t.match(w)||[]}t.exports=x},d0db:function(t,e,n){"use strict";var r=n("c4f9"),a=n.n(r);a.a},d194:function(t,e,n){var r=n("c32f"),a=n("aaec"),i=n("126d"),o=n("76dd");function s(t){return function(e){e=o(e);var n=a(e)?i(e):void 0,s=n?n[0]:e.charAt(0),u=n?r(n,1).join(""):e.slice(1);return s[t]()+u}}t.exports=s},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,i=a&&!r.call({1:2},1);e.f=i?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},d233:function(t,e,n){},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),a=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),a(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),a=n("6eeb"),i=n("b041");r||a(Object.prototype,"toString",i,{unsafe:!0})},d3c6:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("vui-group",[n("vui-group-item",{attrs:{label:"Master:"}},[t.master?[t._v(" "+t._s(t.master)+" ("+t._s(t.dna)+") "),n("vui-button",{attrs:{params:{getdna:1}}},[t._v("Request carrier DNA sample")])]:n("span",[t._v("None")])],2),n("vui-group-item",{attrs:{label:"Prime Directive:"}},[t._v(t._s(t.prime))]),n("vui-group-item",{attrs:{label:"Supplemental Directive(s):"}},[t.supplemental?n("span",[t._v(t._s(t.supplemental))]):n("span",[t._v("None")])]),n("vui-group-item",[n("i",[t._v('Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.')]),n("br"),n("b",[t._v("Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability.")])])],1)],1)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},d3c8:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("i",[t._v("Welcome to NT IT client manager")]),n("hr"),n("div",[t._v("This is the Client Management Application of the Nanotrasen IT Department. It is used ensure that the clients comply with the corporate IT policy, enroll new clients and manage clients remotely")]),n("br"),n("h2",[t._v("Status")]),n("vui-item",{attrs:{label:"Enrollment Status:"}},[0==t.enrollment_status?n("span",[t._v("Unconfigured")]):1==t.enrollment_status?n("span",[t._v("Work Device")]):2==t.enrollment_status?n("span",[t._v("Private Device")]):n("span",[t._v("Unknown")])]),1==t.enrollment_status?[n("vui-item",{attrs:{label:"Policy Compliance Status:"}},[t._v("Compliant")]),n("vui-item",{attrs:{label:"Remote Management Status:"}},[t._v("Active")])]:t._e(),0==t.enrollment_status?[n("h2",[t._v("Device Enrollment")]),n("vui-item",{attrs:{label:"Device Type:"}},[n("vui-button",{class:{selected:1==t.device_type},on:{click:function(e){t.device_type=1}}},[t._v("Company")]),n("vui-button",{class:{selected:2==t.device_type},on:{click:function(e){t.device_type=2}}},[t._v("Private")])],1),1==t.device_type?n("vui-item",{attrs:{label:"Device Preset:"}},t._l(t.presets,(function(e,r){return n("vui-button",{key:r,class:{selected:t.device_preset==r},on:{click:function(e){t.device_preset=r}}},[t._v(t._s(e.name))])})),1):t._e(),n("vui-item",{attrs:{label:"Enroll Device:"}},[n("vui-button",{attrs:{disabled:0==t.device_type||1==t.device_type&&""==t.device_preset||0==t.ntnet_status,params:{enroll:{type:t.device_type,preset:t.device_preset}}}},[t._v("Confirm")]),0==t.ntnet_status?n("div",{staticStyle:{color:"red"}},[t._v("NTNET unavailable. Unable to enroll device.")]):t._e()],1)]:t._e()],2)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},d44d:function(t,e,n){"use strict";var r=n("d233"),a=n.n(r);a.a},d44e:function(t,e,n){var r=n("9bf2").f,a=n("5135"),i=n("b622"),o=i("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},d587:function(t,e,n){"use strict";var r=n("a9ae"),a=n.n(r);a.a},d58f:function(t,e,n){var r=n("1c0b"),a=n("7b0b"),i=n("44ad"),o=n("50c4"),s=function(t){return function(e,n,s,u){r(n);var c=a(e),l=i(c),d=o(c.length),f=t?d-1:0,v=t?-1:1;if(s<2)while(1){if(f in l){u=l[f],f+=v;break}if(f+=v,t?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:d>f;f+=v)f in l&&(u=n(u,l[f],f,c));return u}};t.exports={left:s(!1),right:s(!0)}},d657:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uiTitleWrapper",attrs:{unselectable:"on"}},[t._t("default"),n("div",{staticClass:"uiTitleText",attrs:{unselectable:"on"}},[t._v(t._s(t.title))])],2)},a=[],i={data:function(){return this.$root.$data}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),a=n("d039"),i=n("b622"),o=n("9263"),s=n("9112"),u=i("species"),c=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),d=i("replace"),f=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),v=!a((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,d){var p=i(t),m=!a((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=m&&!a((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!m||!h||"replace"===t&&(!c||!l||f)||"split"===t&&!v){var _=/./[p],g=n(p,""[t],(function(t,e,n,r,a){return e.exec===o?m&&!a?{done:!0,value:_.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=g[0],y=g[1];r(String.prototype,t,b),r(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}d&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").map,i=n("1dde"),o=n("ae40"),s=i("map"),u=o("map");r({target:"Array",proto:!0,forced:!s||!u},{map:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("e260"),o=n("9112"),s=n("b622"),u=s("iterator"),c=s("toStringTag"),l=i.values;for(var d in a){var f=r[d],v=f&&f.prototype;if(v){if(v[u]!==l)try{o(v,u,l)}catch(m){v[u]=l}if(v[c]||o(v,c,d),a[d])for(var p in i)if(v[p]!==i[p])try{o(v,p,i[p])}catch(m){v[p]=i[p]}}}},ddc6:function(t,e){function n(t){return function(e){return null==t?void 0:t[e]}}t.exports=n},df0b:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",[t._v("Core Cooling Control System")]),t.state["input"]?n("div",[n("vui-item",{attrs:{label:"Input:"}},[t.state["input"].power?n("span",[t._v("Injecting")]):n("span",[t._v("On Hold")]),t._v(" "),n("vui-button",{attrs:{params:{in_toggle_injector:1},icon:"power-off"}},[t._v("Toggle Power")])],1),n("vui-item",{attrs:{label:"Flow Rate Limit:"}},[t._v(t._s(t.state["input"].rate)+" L/s")]),n("vui-item",{attrs:{label:"Command:"}},[n("vui-input-numeric",{attrs:{width:"3em","button-count":3,max:t.state.maxrate},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.s({in_set_flowrate:t.state["input"].setrate})}},model:{value:t.state["input"].setrate,callback:function(e){t.$set(t.state["input"],"setrate",e)},expression:"state['input'].setrate"}}),n("br"),n("vui-button",{attrs:{"push-state":"",params:{in_set_flowrate:t.state["input"].setrate}}},[t._v("Set Flow Rate")])],1)],1):n("vui-button",{attrs:{params:{in_refresh_status:1}}},[t._v("Search for input port")]),t.state["output"]?n("div",{staticStyle:{"margin-top":"2em"}},[n("vui-item",{attrs:{label:"Core Outpump:"}},[t.state["output"].power?n("span",[t._v("Open")]):n("span",[t._v("On Hold")]),t._v(" "),n("vui-button",{attrs:{params:{out_toggle_power:1},icon:"power-off"}},[t._v("Toggle Power")])],1),n("vui-item",{attrs:{label:"Min Core Pressure:"}},[t._v(t._s(t.state["output"].pressure)+" kPa")]),n("vui-item",{attrs:{label:"Command:"}},[n("vui-input-numeric",{attrs:{width:"5em","button-count":3,"decimal-places":2,max:t.state.maxpressure},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.s({out_set_pressure:t.state["output"].setpressure})}},model:{value:t.state["output"].setpressure,callback:function(e){t.$set(t.state["output"],"setpressure",e)},expression:"state['output'].setpressure"}}),n("br"),n("vui-button",{attrs:{"push-state":"",params:{out_set_pressure:t.state["output"].setpressure}}},[t._v("Set Pressure")])],1)],1):n("vui-button",{attrs:{params:{out_refresh_status:1}}},[t._v("Search for output port")])],1)},a=[],i=n("025e"),o={data:function(){return this.$root.$data},methods:{s:function(t){i["a"].sendToTopic(t)}}},s=o,u=n("2877"),c=Object(u["a"])(s,r,a,!1,null,null,null);e["default"]=c.exports},df75:function(t,e,n){var r=n("ca84"),a=n("7839");t.exports=Object.keys||function(t){return r(t,a)}},e008:function(t,e,n){},e01a:function(t,e,n){"use strict";var r=n("23e7"),a=n("83ab"),i=n("da84"),o=n("5135"),s=n("861d"),u=n("9bf2").f,c=n("e893"),l=i.Symbol;if(a&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var d={},f=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof f?new l(t):void 0===t?l():l(t);return""===t&&(d[e]=!0),e};c(f,l);var v=f.prototype=l.prototype;v.constructor=f;var p=v.toString,m="Symbol(test)"==String(l("test")),h=/^Symbol\((.*)\)[^)]+$/;u(v,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(o(d,t))return"";var n=m?e.slice(7,-1):e.replace(h,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},e163:function(t,e,n){var r=n("5135"),a=n("7b0b"),i=n("f772"),o=n("e177"),s=i("IE_PROTO"),u=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=a(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),a=n("44d2"),i=n("3f8c"),o=n("69f3"),s=n("7dd0"),u="Array Iterator",c=o.set,l=o.getterFor(u);t.exports=s(Array,"Array",(function(t,e){c(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},e31d:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.mode?[n("h2",[t._v("Vote: "+t._s(t.question))]),t._v(" Time Left: "+t._s(t.reman)+" s"),n("hr"),n("table",[n("tr",[n("th",[t._v("Choices")]),n("th",[t._v("Votes")]),"gamemode"==t.mode?n("th",[t._v("Minimum Players")]):t._e()]),t._l(t.uichoices,(function(e,r){return n("tr",{key:r},[n("td",{staticStyle:{"text-align":"left"}},[n("vui-button",{class:{on:r==t.voted},attrs:{params:{action:"vote",vote:r}}},[t._v(t._s(e.name))])],1),n("td",[t._v(t._s(e.votes))]),e.extra?n("td",[t._v(t._s(e.extra))]):t._e()])}))],2),n("hr"),t.isstaff?[n("vui-button",{attrs:{params:{action:"cancel"}}},[t._v("Cancel")])]:t._e()]:[n("h2",[t._v("Start a vote:")]),n("hr"),n("ul",[n("li",[n("vui-button",{attrs:{disabled:!t.isstaff&&!t.allow_vote_restart,params:{action:"restart"}}},[t._v("Restart")])],1),n("li",[n("vui-button",{attrs:{disabled:!t.isstaff&&!t.allow_vote_restart,params:{action:"crew_transfer"}}},[t._v("Crew Transfer")]),(t.isstaff||t.allow_vote_restart)&&t.is_code_red?n("span",[t._v("(Disallowed, Code Red or above)")]):t._e(),t.isstaff?n("vui-button",{class:{on:t.allow_vote_restart},attrs:{params:{action:"toggle_restart"}}},[t._v("Toggle Restart / Crew Transfer voting")]):t._e()],1),n("li",[n("vui-button",{attrs:{disabled:!t.isstaff&&!t.allow_vote_mode,params:{action:"gamemode"}}},[t._v("GameMode")]),t.isstaff?n("vui-button",{class:{on:t.allow_vote_mode},attrs:{params:{action:"toggle_gamemode"}}},[t._v("Toggle GameMode voting")]):t._e()],1),n("li",[n("vui-button",{attrs:{disabled:!t.allow_extra_antags,params:{action:"add_antagonist"}}},[t._v("Add Antagonist Type")])],1),n("li",[n("vui-button",{attrs:{disabled:!t.isstaff,params:{action:"custom"}}},[t._v("Custom")])],1)])]],2)},a=[];n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var o={data:function(){return this.$root.$data.state},computed:{uichoices:function(){return"object"===i(this.choices)?this.choices:{}},reman:function(){return Math.round((this.endtime-this.$root.$data.wtime)/10)}}},s=o,u=(n("8928"),n("2877")),c=Object(u["a"])(s,r,a,!1,null,"8bcc2668",null);e["default"]=c.exports},e48d:function(t,e,n){"use strict";var r=n("1650"),a=n.n(r);a.a},e538:function(t,e,n){var r=n("b622");e.f=r},e893:function(t,e,n){var r=n("5135"),a=n("56ef"),i=n("06cf"),o=n("9bf2");t.exports=function(t,e){for(var n=a(e),s=o.f,u=i.f,c=0;ct.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?n("div",{staticClass:"item center",class:t.getPressureClass(e.tpressure)},[t._v(t._s(e.pressure))]):n("div",{staticClass:"item center"},[t._v("N/A")]),n("div",{staticClass:"item center",class:t.getOxyClass(e.oxyg)},[t._v(t._s(t.toOxyLabel(e.oxyg)))]),n("div",{staticClass:"item center"},[e.stype>1?n("span",[t._v(t._s(t.roundTemp(e.bodytemp)))]):t._e()]),e.stype>2?n("div",{staticClass:"item right"},[t._v(t._s(e.area)+" ("+t._s(e.x)+", "+t._s(e.y)+", "+t._s(e.z)+")")]):n("div",{staticClass:"item right"},[t._v("Not Available")]),t.isAI?n("div",{staticClass:"item right"},[n("vui-button",{attrs:{params:{track:e.ref},disabled:e.stype<3}},[t._v("Track")])],1):t._e()])}))],2)])},a=[],i={data:function(){return this.$root.$data.state},methods:{roundTemp:function(t){return Math.round(10*t)/10},toOxyLabel:function(t){switch(t){case 5:return"increased";case 4:return"normal";case 3:return"low";case 2:return"very low";case 1:return"extremely low";default:return"N/A"}},getOxyClass:function(t){switch(t){case 5:return"highlight";case 4:return"good";case 3:return"average";case 2:return"bad";case 1:return"bad";default:return"neutral"}},getPulseClass:function(t){switch(t){case 0:return"bad";case 1:return"average";case 2:return"good";case 3:return"highlight";case 4:return"average";case 5:return"bad";default:return"neutral"}},getPressureClass:function(t){switch(t){case 1:return"bad";case 2:return"good";case 3:return"average";case 4:return"bad";default:return"neutral"}},getChargeClass:function(t){return t>10?"highlight":"bad"}}},o=i,s=(n("d07a"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"78753123",null);e["default"]=u.exports},f3b3:function(t,e,n){"use strict";var r=n("21e9"),a=n.n(r);a.a},f3ce:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uiTitleWrapper",attrs:{unselectable:"on"}},[t._t("default"),n("div",{staticStyle:{clear:"both"}},[n("div",{staticClass:"uiStatusIcon uiIcon24",class:t.statusClass,attrs:{unselectable:"on"}}),n("div",{staticClass:"uiTitleText",attrs:{unselectable:"on"}},[t._v(t._s(t.title))]),n("div",{staticClass:"uiTitleFluff",attrs:{unselectable:"on"}})])],2)},a=[],i={data:function(){return this.$root.$data},computed:{statusClass:function(){return 2==this.status?"uiStatusGood":1==this.status?"uiStatusAverage":"uiStatusBad"}}},o=i,s=(n("14e9"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},f4d9:function(t,e){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",o=r+a+i,s="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",c="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",d="\\u2000-\\u206f",f=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",v="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\ufe0e\\ufe0f",m=c+l+d+f,h="['’]",_="["+m+"]",g="["+o+"]",b="\\d+",y="["+s+"]",w="["+u+"]",x="[^"+n+m+b+s+u+v+"]",$="\\ud83c[\\udffb-\\udfff]",C="(?:"+g+"|"+$+")",k="[^"+n+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",A="["+v+"]",E="\\u200d",T="(?:"+w+"|"+x+")",j="(?:"+A+"|"+x+")",P="(?:"+h+"(?:d|ll|m|re|s|t|ve))?",N="(?:"+h+"(?:D|LL|M|RE|S|T|VE))?",I=C+"?",M="["+p+"]?",L="(?:"+E+"(?:"+[k,S,O].join("|")+")"+M+I+")*",R="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",D="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",F=M+I+L,U="(?:"+[y,S,O].join("|")+")"+F,B=RegExp([A+"?"+w+"+"+P+"(?="+[_,A,"$"].join("|")+")",j+"+"+N+"(?="+[_,A+T,"$"].join("|")+")",A+"?"+T+"+"+P,A+"+"+N,D,R,b,U].join("|"),"g");function z(t){return t.match(B)||[]}t.exports=z},f5df:function(t,e,n){var r=n("00ee"),a=n("c6b6"),i=n("b622"),o=i("toStringTag"),s="Arguments"==a(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(n){}};t.exports=r?a:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=Object(t),o))?n:s?a(e):"Object"==(r=a(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),a=n("90e3"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=a(t))}},f7b3:function(t,e,n){"use strict";var r=n("829a"),a=n.n(r);a.a},f89c:function(t,e,n){},fae9:function(t,e,n){},faf6:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"item"},[n("div",{staticClass:"itemLabel",style:{width:100*(1-t.balance)+"%"}},[t._v(t._s(t.label))]),n("div",{staticClass:"itemContent",style:{width:100*t.balance+"%"}},[t._t("default")],2)])},a=[],i=(n("a9e3"),{name:"vui-item",props:{label:{type:String,default:""},balance:{type:Number,default:.6}}}),o=i,s=(n("4128"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"191776dc",null);e["default"]=u.exports},fb48:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",[t._v("Group Turret controls:")]),n("div",{staticClass:"item"},[n("div",{staticClass:"itemLabelWide"},[t._v(" Behaviour controls are "+t._s(t.settings.locked?"locked":"unlocked")+". ")])]),n("view-turrets-control-part",{attrs:{settings:t.$data}}),n("h2",[t._v("List of turrets and individual controls:")]),t._l(t.turrets,(function(e){return n("div",{key:e.name},[n("h4",[t._v(t._s(e.name))]),n("view-turrets-control-part",{attrs:{settings:e.settings,tref:e.ref}})],1)}))],2)},a=[],i={data:function(){return this.$root.$data.state}},o=i,s=n("2877"),u=Object(s["a"])(o,r,a,!1,null,null,null);e["default"]=u.exports},fb6a:function(t,e,n){"use strict";var r=n("23e7"),a=n("861d"),i=n("e8b5"),o=n("23cb"),s=n("50c4"),u=n("fc6a"),c=n("8418"),l=n("b622"),d=n("1dde"),f=n("ae40"),v=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),h=[].slice,_=Math.max;r({target:"Array",proto:!0,forced:!v||!p},{slice:function(t,e){var n,r,l,d=u(this),f=s(d.length),v=o(t,f),p=o(void 0===e?f:e,f);if(i(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?a(n)&&(n=n[m],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return h.call(d,v,p);for(r=new(void 0===n?Array:n)(_(p-v,0)),l=0;v1)throw new Error('"weight" property in key must bein the range of [0, 1)');i=null==i?d:Math.max(i,d),a=null==a?d:Math.min(a,d),this._keyWeights[l]=d,o+=d}if(o>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(t,'"'));var n=this._prepareSearchers(t),r=n.tokenSearchers,a=n.fullSearcher,i=this._search(r,a);return this._computeScore(i),this.options.shouldSort&&this._sort(i),e.limit&&"number"==typeof e.limit&&(i=i.slice(0,e.limit)),this._format(i)}},{key:"_prepareSearchers",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=[];if(this.options.tokenize)for(var n=t.split(this.options.tokenSeparator),r=0,a=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=this.list,r={},a=[];if("string"==typeof n[0]){for(var i=0,o=n.length;i-1&&(E=(E+c)/2),n._log("Score average:",E);var T=!n.options.tokenize||!n.options.matchAllTokens||l>=d.length;if(n._log("\nCheck Matches: ".concat(T)),(s||v.isMatch)&&T){var j={key:r,arrayIndex:e,value:a,score:E};n.options.includeMatches&&(j.matchedIndices=v.matchedIndices);var P=p[o];P?P.output.push(j):(p[o]={item:i,output:[j]},h.push(p[o]))}}else if(u(a))for(var N=0,I=a.length;N0?Number.EPSILON:l.score;u*=Math.pow(v,f)}i.score=u,this._log(i)}}},{key:"_sort",value:function(t){this._log("\n\nSorting...."),t.sort(this.options.sortFn)}},{key:"_format",value:function(t){var e=[];if(this.options.verbose){var n=[];this._log("\n\nOutput:\n\n",JSON.stringify(t,(function(t,e){if("object"===r(e)&&null!==e){if(-1!==n.indexOf(e))return;n.push(e)}return e}),2)),n=null}var a=[];this.options.includeMatches&&a.push((function(t,e){var n=t.output;e.matches=[];for(var r=0,a=n.length;r-1&&(o.arrayIndex=i.arrayIndex),e.matches.push(o)}}})),this.options.includeScore&&a.push((function(t,e){e.score=t.score}));for(var i=0,o=t.length;iu)return a(t,this.pattern,c);var l=this.options,d=l.location,f=l.distance,v=l.threshold,p=l.findAllMatches,m=l.minMatchCharLength;return i(t,this.pattern,this.patternAlphabet,{location:d,distance:f,threshold:v,findAllMatches:p,minMatchCharLength:m,includeMatches:r})}}])&&r(e.prototype,n),s&&r(e,s),t}();t.exports=s},function(t,e){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;t.exports=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,a=new RegExp(e.replace(n,"\\$&").replace(r,"|")),i=t.match(a),o=!!i,s=[];if(o)for(var u=0,c=i.length;u=I;R-=1){var D=R-1,F=n[t.charAt(D)];if(F&&($[D]=1),L[R]=(L[R+1]<<1|1)&F,0!==j&&(L[R]|=(O[R+1]|O[R])<<1|1|O[R+1]),L[R]&T&&(A=r(e,{errors:j,currentLocation:D,expectedLocation:g,distance:c}))<=y){if(y=A,(w=D)<=g)break;I=Math.max(1,2*g-w)}}if(r(e,{errors:j+1,currentLocation:g,expectedLocation:g,distance:c})>y)break;O=L}var U={isMatch:w>=0,score:0===A?.001:A};return _&&(U.matchedIndices=a($,m)),U}},function(t,e){t.exports=function(t,e){var n=e.errors,r=void 0===n?0:n,a=e.currentLocation,i=void 0===a?0:a,o=e.expectedLocation,s=void 0===o?0:o,u=e.distance,c=void 0===u?100:u,l=r/t.length,d=Math.abs(s-i);return c?l+d/c:d?1:l}},function(t,e){t.exports=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,a=-1,i=0,o=t.length;i=e&&n.push([r,a]),r=-1)}return t[i-1]&&i-r>=e&&n.push([r,i-1]),n}},function(t,e){t.exports=function(t){for(var e={},n=t.length,r=0;r