Files
ArchiSteamFarm/docs/js/app.js

12 lines
226 KiB
JavaScript
Raw Normal View History

2018-04-27 20:27:33 +02:00
!function(e){function n(n){for(var t,a,o=n[0],i=n[1],s=0,l=[];s<o.length;s++)a=o[s],r[a]&&l.push(r[a][0]),r[a]=0;for(t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t]);for(c&&c(n);l.length;)l.shift()()}var t={},r={5:0};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var n=[],t=r[e];if(0!==t)if(t)n.push(t[2]);else{var o=new Promise(function(n,a){t=r[e]=[n,a]});n.push(t[2]=o);var i=document.getElementsByTagName("head")[0],s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=function(e){return a.p+"js/"+e+".chunk.js"}(e);var c=setTimeout(function(){l({type:"timeout",target:s})},12e4);function l(n){s.onerror=s.onload=null,clearTimeout(c);var t=r[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,i=new Error("Loading chunk "+e+" failed.\n("+a+": "+o+")");i.type=a,i.request=o,t[1](i)}r[e]=void 0}}s.onerror=s.onload=l,i.appendChild(s)}return Promise.all(n)},a.m=e,a.c=t,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},a.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="",a.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],i=o.push.bind(o);o.push=n,o=o.slice();for(var s=0;s<o.length;s++)n(o[s]);var c=i;a(a.s=58)}([function(e,n,t){var r=t(50);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,t(8).default)("b827ac86",r,!1,{})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={name:"app",data:function(){return{}}}},function(e,n,t){"use strict";t.r(n);var r=t(1),a=t.n(r);for(var o in r)"default"!==o&&function(e){t.d(n,e,function(){return r[e]})}(o);n.default=a.a},function(e,n){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},function(e,n,t){"use strict";var r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("div",{staticClass:"head"},[e._m(0),e._v(" "),t("h1",{staticClass:"text-center",domProps:{innerHTML:e._s(e.$t("app.name"))}})]),e._v(" "),t("div",{staticClass:"menu"},[t("ul",[t("li",[t("router-link",{attrs:{to:{name:"home"},"active-class":"active",exact:""},domProps:{innerHTML:e._s(e.$t("link.home"))}})],1),e._v(" "),t("li",[t("router-link",{attrs:{to:{name:"asf-config"},"active-class":"active"},domProps:{innerHTML:e._s(e.$t("link.asf"))}})],1),e._v(" "),t("li",[t("router-link",{attrs:{to:{name:"bot-config"},"active-class":"active"},domProps:{innerHTML:e._s(e.$t("link.bot"))}})],1)])]),e._v(" "),t("router-view")],1)},a=[function(){var e=this.$createElement,n=this._self._c||e;return n("a",{staticClass:"logo",attrs:{href:"#"}},[n("img",{attrs:{src:t(52),alt:"asf logo"}})])}];r._withStripped=!0,t.d(n,"a",function(){return r}),t.d(n,"b",function(){return a})},function(e,n,t){"use strict";function r(e,n,t,r,a,o,i,s){var c,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=t,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,n){return c.call(n),u(e,n)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}t.d(n,"a",function(){return r})},function(e,n){e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=functio
/*!
* Vue.js v2.5.16
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
2018-06-04 00:28:25 +02:00
var r=Object.freeze({});function a(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function d(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var n=parseFloat(e);return isNaN(n)?e:n}function m(e,n){for(var t=Object.create(null),r=e.split(","),a=0;a<r.length;a++)t[r[a]]=!0;return n?function(e){return t[e.toLowerCase()]}:function(e){return t[e]}}var h=m("slot,component",!0),g=m("key,ref,slot,slot-scope,is");function v(e,n){if(e.length){var t=e.indexOf(n);if(t>-1)return e.splice(t,1)}}var b=Object.prototype.hasOwnProperty;function A(e,n){return b.call(e,n)}function y(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}}var w=/-(\w)/g,x=y(function(e){return e.replace(w,function(e,n){return n?n.toUpperCase():""})}),k=y(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),_=/\B([A-Z])/g,S=y(function(e){return e.replace(_,"-$1").toLowerCase()}),C=Function.prototype.bind?function(e,n){return e.bind(n)}:function(e,n){function t(t){var r=arguments.length;return r?r>1?e.apply(n,arguments):e.call(n,t):e.call(n)}return t._length=e.length,t};function F(e,n){n=n||0;for(var t=e.length-n,r=new Array(t);t--;)r[t]=e[t+n];return r}function $(e,n){for(var t in n)e[t]=n[t];return e}function j(e){for(var n={},t=0;t<e.length;t++)e[t]&&$(n,e[t]);return n}function O(e,n,t){}var T=function(e,n,t){return!1},z=function(e){return e};function E(e,n){if(e===n)return!0;var t=c(e),r=c(n);if(!t||!r)return!t&&!r&&String(e)===String(n);try{var a=Array.isArray(e),o=Array.isArray(n);if(a&&o)return e.length===n.length&&e.every(function(e,t){return E(e,n[t])});if(a||o)return!1;var i=Object.keys(e),s=Object.keys(n);return i.length===s.length&&i.every(function(t){return E(e[t],n[t])})}catch(e){return!1}}function I(e,n){for(var t=0;t<e.length;t++)if(E(e[t],n))return t;return-1}function P(e){var n=!1;return function(){n||(n=!0,e.apply(this,arguments))}}var D="data-server-rendered",L=["component","directive","filter"],M=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:T,isReservedAttr:T,isUnknownElement:T,getTagNamespace:O,parsePlatformTagName:z,mustUseProp:T,_lifecycleHooks:M};function N(e,n,t,r){Object.defineProperty(e,n,{value:t,enumerable:!!r,writable:!0,configurable:!0})}var R,H=/[^\w.$]/,U="__proto__"in{},J="undefined"!=typeof window,V="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Q=V&&WXEnvironment.platform.toLowerCase(),q=J&&window.navigator.userAgent.toLowerCase(),G=q&&/msie|trident/.test(q),K=q&&q.indexOf("msie 9.0")>0,W=q&&q.indexOf("edge/")>0,Y=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===Q),Z=(q&&/chrome\/\d+/.test(q),{}.watch),X=!1;if(J)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var ne=function(){return void 0===R&&(R=!J&&!V&&void 0!==e&&"server"===e.process.env.VUE_ENV),R},te=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ae="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=O,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addS
2018-04-27 20:27:33 +02:00
/*!
* vue-i18n v7.6.0
* (c) 2018 kazuya kawaguchi
* Released under the MIT License.
*/function r(e,n){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),n&&console.warn(n.stack))}function a(e){return null!==e&&"object"==typeof e}t.r(n);var o=Object.prototype.toString,i="[object Object]";function s(e){return o.call(e)===i}function c(e){return null===e||void 0===e}function l(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var t=null,r=null;return 1===e.length?a(e[0])||Array.isArray(e[0])?r=e[0]:"string"==typeof e[0]&&(t=e[0]):2===e.length&&("string"==typeof e[0]&&(t=e[0]),(a(e[1])||Array.isArray(e[1]))&&(r=e[1])),{locale:t,params:r}}function u(e){return JSON.parse(JSON.stringify(e))}var d=Object.prototype.hasOwnProperty;function f(e,n){return d.call(e,n)}function p(e){for(var n=arguments,t=Object(e),r=1;r<arguments.length;r++){var o=n[r];if(void 0!==o&&null!==o){var i=void 0;for(i in o)f(o,i)&&(a(o[i])?t[i]=p(t[i],o[i]):t[i]=o[i])}}return t}var m,h="undefined"!=typeof Intl&&void 0!==Intl.DateTimeFormat,g="undefined"!=typeof Intl&&void 0!==Intl.NumberFormat,v={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n){if(e.i18n instanceof D){if(e.__i18n)try{var n={};e.__i18n.forEach(function(e){n=p(n,JSON.parse(e))}),Object.keys(n).forEach(function(t){e.i18n.mergeLocaleMessage(t,n[t])})}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0}else if(s(e.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof D&&(e.i18n.root=this.$root.$i18n,e.i18n.formatter=this.$root.$i18n.formatter,e.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,e.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn),e.__i18n)try{var t={};e.__i18n.forEach(function(e){t=p(t,JSON.parse(e))}),e.i18n.messages=t}catch(e){}this._i18n=new D(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0,(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof D?(this._i18n=this.$root.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0):e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof D&&(this._i18n=e.parent.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){this._i18n&&(this._subscribing&&(this._i18n.unsubscribeDataChanging(this),delete this._subscribing),this._i18nWatcher&&(this._i18nWatcher(),delete this._i18nWatcher),this._localeWatcher&&(this._localeWatcher(),delete this._localeWatcher),this._i18n=null)}},b={name:"i18n",functional:!0,props:{tag:{type:String,default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,n){var t=n.props,a=n.data,o=n.children,i=n.parent.$i18n;if(o=(o||[]).filter(function(e){return e.tag||(e.text=e.text.trim())}),!i)return o;var s=t.path,c=t.locale,l={},u=t.places||{},d=Array.isArray(u)?u.length>0:Object.keys(u).length>0,f=o.every(function(e){if(e.data&&e.data.attrs){var n=e.data.attrs.place;return void 0!==n&&""!==n}});return d&&o.length>0&&!f&&r("If places prop is set, all child elements must have place prop set."),Array.isArray(u)?u.forEach(function(e,n){l[n]=e}):Object.keys(u).forEach(function(e){l[e]=u[e]}),o.forEach(function(e,n){var t=f?""+e.data.attrs.place:""+n;l[t]=e}),e(t.tag,a,i.i(s,c,l))}};function A(e,n,t){w(e,t)&&x(e,n,t)}function y(e,n,t,r){w(e,t)&&(function(e,n){var t=n.context;return e._locale===t.$i18n.locale}(e,t)&&function e(n,t){if(n===t)return!0;var r=a(n),o=a(t);if(!r||!o)return!r&&!o&&String(n)===String(t);try{var i=Array.isArray(n),s=Array.isArray(t);if(i&&s)return n.length===t.length&&n.every(function(n,r){return e(n,t[r])});if(i||s)return!1;var c=Object.keys(n),l=Object.keys(t);return c.length===l.length&&c.every(function(r){return e(n[r],t[r])})}catch(e){return!1}}(n.value,n.oldValue)||x(e,n,t))}function w(e,n){var t=n.context;return t?!!t.$i18n||(r("not exist VueI18n instance in Vue instance"),!1):(r("not exist Vue instance in VNode context"),!1)}function x(e,n,t){var a=function