27163bb.js 124 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,function(e,t,n){"use strict";n.d(t,"k",(function(){return w})),n.d(t,"m",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"e",(function(){return x})),n.d(t,"b",(function(){return j})),n.d(t,"s",(function(){return k})),n.d(t,"g",(function(){return S})),n.d(t,"h",(function(){return C})),n.d(t,"d",(function(){return $})),n.d(t,"r",(function(){return E})),n.d(t,"j",(function(){return P})),n.d(t,"t",(function(){return A})),n.d(t,"o",(function(){return R})),n.d(t,"q",(function(){return D})),n.d(t,"f",(function(){return L})),n.d(t,"c",(function(){return I})),n.d(t,"i",(function(){return M})),n.d(t,"p",(function(){return N})),n.d(t,"a",(function(){return G})),n.d(t,"v",(function(){return K})),n.d(t,"n",(function(){return X})),n.d(t,"u",(function(){return J}));n(15),n(37),n(30),n(31);var r=n(20),o=n(7),c=n(9),l=n(27),d=(n(40),n(18),n(295),n(12),n(24),n(60),n(21),n(36),n(32),n(28),n(41),n(160),n(102),n(103),n(84),n(85),n(300),n(86),n(71),n(2)),f=n(50);function h(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function w(e){d.default.config.errorHandler&&d.default.config.errorHandler(e)}function y(e){return e.then((function(e){return e.default||e}))}function O(e){return e.$options&&"function"==typeof e.$options.fetch&&!e.$options.fetch.length}function x(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.$children||[],o=v(r);try{for(o.s();!(t=o.n()).done;){var c=t.value;c.$fetch?n.push(c):c.$children&&x(c,n)}}catch(e){o.e(e)}finally{o.f()}return n}function j(e,t){if(t||!e.options.__hasNuxtData){var n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),m(m({},data),t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function k(e){return e.options&&e._Ctor===e||(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=d.default.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file)),e}function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map((function(e,r){return Object.keys(e[n]).map((function(o){return t&&t.push(r),e[n][o]}))})))}function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return S(e,t,"instances")}function $(e,t){return Array.prototype.concat.apply([],e.matched.map((function(e,n){return Object.keys(e.components).reduce((function(r,o){return e.components[o]?r.push(t(e.components[o],e.instances[o],e,o,n)):delete e.components[o],r}),[])})))}function E(e,t){return Promise.all($(e,function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n,r,o,c){var l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof n||n.options){e.next=11;break}return e.prev=1,e.next=4,n();case 4:n=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),e.t0&&"ChunkLoadError"===e.t0.name&&"undefined"!=typeof window&&window.sessionStorage&&(l=Date.now(),(!(d=parseInt(window.sessionStorage.getItem("nuxt-reload")))||d+6e4<l)&&(window.sessionStorage.setItem("nuxt-reload",l),window.location.reload(!0))),e.t0;case 11:return o.components[c]=n=k(n),e.abrupt("return","function"==typeof t?t(n,r,o,c):n);case 13:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t,n,r,o){return e.apply(this,arguments)}}()))}function P(e){return T.apply(this,arguments)}function T(){return(T=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,E(t);case 4:return e.abrupt("return",m(m({},t),{},{meta:S(t).map((function(e,n){return m(m({},e.options.meta),(t.matched[n]||{}).meta)}))}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(e,t){return V.apply(this,arguments)}function V(){return(V=Object(o.a)(regeneratorRuntime.mark((function e(t,n){var o,c,d,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.context||(t.context={isStatic:!0,isDev:!1,isHMR:!1,app:t,store:t.store,payload:n.payload,error:n.error,base:t.router.options.base,env:{NODE_ENV:"production"}},n.req&&(t.context.req=n.req),n.res&&(t.context.res=n.res),n.ssrContext&&(t.context.ssrContext=n.ssrContext),t.context.redirect=function(e,path,n){if(e){t.context._redirected=!0;var o=Object(r.a)(path);if("number"==typeof e||"undefined"!==o&&"object"!==o||(n=path||{},path=e,o=Object(r.a)(path),e=302),"object"===o&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=Object(f.d)(path,n),window.location.replace(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:n,status:e})}},t.context.nuxtState=window.__NUXT__),e.next=3,Promise.all([P(n.route),P(n.from)]);case 3:o=e.sent,c=Object(l.a)(o,2),d=c[0],h=c[1],n.route&&(t.context.route=d),n.from&&(t.context.from=h),t.context.next=n.next,t.context._redirected=!1,t.context._errored=!1,t.context.isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{};case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():D(e[0],t).then((function(){return R(e.slice(1),t)}))}function D(e,t){var n;return(n=2===e.length?new Promise((function(n){e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))})):e(t))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function L(base,e){if("hash"===e)return window.location.hash.replace(/^#\//,"");base=decodeURI(base).slice(0,-1);var path=decodeURI(window.location.pathname);base&&path.startsWith(base)&&(path=path.slice(base.length));var t=(path||"/")+window.location.search+window.location.hash;return Object(f.c)(t)}function I(e,t){return function(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"===Object(r.a)(e[i])&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",W(t)));return function(t,r){for(var path="",data=t||{},o=(r||{}).pretty?U:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if("string"!=typeof l){var d=data[l.name||"pathMatch"],f=void 0;if(null==d){if(l.optional){l.partial&&(path+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(Array.isArray(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(f=o(d[h]),!n[c].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");path+=(0===h?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?H(d):o(d),!n[c].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');path+=l.prefix+f}}else path+=l}return path}}(function(e,t){var n,r=[],o=0,c=0,path="",l=t&&t.delimiter||"/";for(;null!=(n=B.exec(e));){var d=n[0],f=n[1],h=n.index;if(path+=e.slice(c,h),c=h+d.length,f)path+=f[1];else{var m=e[c],v=n[2],_=n[3],w=n[4],y=n[5],O=n[6],x=n[7];path&&(r.push(path),path="");var j=null!=v&&null!=m&&m!==v,k="+"===O||"*"===O,S="?"===O||"*"===O,C=n[2]||l,pattern=w||y;r.push({name:_||o++,prefix:v||"",delimiter:C,optional:S,repeat:k,partial:j,asterisk:Boolean(x),pattern:pattern?F(pattern):x?".*":"[^"+z(C)+"]+?"})}}c<e.length&&(path+=e.substr(c));path&&r.push(path);return r}(e,t),t)}function M(e,t){var n={},r=m(m({},e),t);for(var o in r)String(e[o])!==String(t[o])&&(n[o]=!0);return n}function N(e){var t;if(e.message||"string"==typeof e)t=e.message||e;else try{t=JSON.stringify(e,null,2)}catch(n){t="[".concat(e.constructor.name,"]")}return m(m({},e),{},{message:t,statusCode:e.statusCode||e.status||e.response&&e.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(e){window.onNuxtReadyCbs.push(e)};var B=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function U(e,t){var n=t?/[?#]/g:/[/?#]/g;return encodeURI(e).replace(n,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function H(e){return U(e,!0)}function z(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function F(e){return e.replace(/([=!:$/()])/g,"\\$1")}function W(e){return e&&e.sensitive?"":"i"}function G(e,t,n){e.$options[t]||(e.$options[t]=[]),e.$options[t].includes(n)||e.$options[t].push(n)}var K=f.b,X=(f.e,f.a);function J(e){try{window.history.scrollRestoration=e}catch(e){}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(12),n(32),n(41);var r=n(2),o=n(26),c=n(186);r.default.use(o.a);var l=n(335),d=l.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),r=l(t);return e[n]=r.default,e}),{}),f=new o.a.Store({state:function(){return{domainConfig:{api:"",siteUrl:"",rooterUrl:"",jishuinUrl:""}}},modules:d,getters:c.default,mutations:{updateDomainConfig:function(e,t){e.domainConfig={api:t.api,siteUrl:t.siteUrl,jishuinUrl:t.jishuinUrl,rooterUrl:t.rooterUrl}}}});t.default=function(){return f}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return Ye})),n.d(t,"a",(function(){return A}));n(21),n(15),n(18),n(30),n(31);var r=n(7),o=n(9),c=(n(40),n(24),n(60),n(12),n(41),n(2)),l=n(26),d=n(264),f=n(190),h=n.n(f),m=n(83),v=n.n(m),_=n(39),w=n(50),y=n(1);"scrollRestoration"in window.history&&(Object(y.u)("manual"),window.addEventListener("beforeunload",(function(){Object(y.u)("auto")})),window.addEventListener("load",(function(){Object(y.u)("manual")})));function O(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function x(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?O(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):O(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var j=function(){};c.default.use(_.c);var k={mode:"history",base:"/",linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,n){var r=!1,o=e!==t;n?r=n:o&&function(e){var t=Object(y.g)(e);if(1===t.length){var n=t[0].options;return!1!==(void 0===n?{}:n).scrollToTop}return t.some((function(e){var t=e.options;return t&&t.scrollToTop}))}(e)&&(r={x:0,y:0});var c=window.$nuxt;return(!o||e.path===t.path&&e.hash!==t.hash)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(t){c.$once("triggerScroll",(function(){if(e.hash){var n=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(r)}))}))},routes:[{path:"/login",component:function(){return Object(y.m)(n.e(4).then(n.bind(null,681)))},name:"login"},{path:"/main",component:function(){return Object(y.m)(n.e(5).then(n.bind(null,678)))},children:[{path:"",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(43)]).then(n.bind(null,682)))},name:"main-index"},{path:"404",component:function(){return Object(y.m)(n.e(6).then(n.bind(null,788)))},name:"main-index-404"},{path:"account_manager",component:function(){return Object(y.m)(n.e(7).then(n.bind(null,683)))},name:"main-index-account_manager"},{path:"admin_user",component:function(){return Object(y.m)(n.e(8).then(n.bind(null,684)))},name:"main-index-admin_user"},{path:"artificial_order",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(9)]).then(n.bind(null,685)))},name:"main-index-artificial_order"},{path:"artificial_orders",component:function(){return Object(y.m)(n.e(10).then(n.bind(null,686)))},name:"main-index-artificial_orders"},{path:"artificial_payment_add",component:function(){return Object(y.m)(n.e(11).then(n.bind(null,687)))},name:"main-index-artificial_payment_add"},{path:"balance_change",component:function(){return Object(y.m)(n.e(12).then(n.bind(null,688)))},name:"main-index-balance_change"},{path:"cancel_account",component:function(){return Object(y.m)(n.e(13).then(n.bind(null,689)))},name:"main-index-cancel_account"},{path:"card_conf",component:function(){return Object(y.m)(n.e(14).then(n.bind(null,690)))},name:"main-index-card_conf"},{path:"cash_form",component:function(){return Object(y.m)(n.e(15).then(n.bind(null,691)))},name:"main-index-cash_form"},{path:"category",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(16)]).then(n.bind(null,692)))},name:"main-index-category"},{path:"cats",component:function(){return Object(y.m)(n.e(17).then(n.bind(null,693)))},name:"main-index-cats"},{path:"cert_check",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(18)]).then(n.bind(null,694)))},name:"main-index-cert_check"},{path:"cert_count",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(19)]).then(n.bind(null,695)))},name:"main-index-cert_count"},{path:"cert_edit",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(20)]).then(n.bind(null,696)))},name:"main-index-cert_edit"},{path:"cert_pro",component:function(){return Object(y.m)(n.e(21).then(n.bind(null,697)))},name:"main-index-cert_pro"},{path:"chat_users",component:function(){return Object(y.m)(n.e(22).then(n.bind(null,698)))},name:"main-index-chat_users"},{path:"cloud_balance",component:function(){return Object(y.m)(n.e(23).then(n.bind(null,699)))},name:"main-index-cloud_balance"},{path:"cloud_developer",component:function(){return Object(y.m)(n.e(24).then(n.bind(null,700)))},name:"main-index-cloud_developer"},{path:"cloud_job",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(25)]).then(n.bind(null,701)))},name:"main-index-cloud_job"},{path:"company_vip",component:function(){return Object(y.m)(n.e(26).then(n.bind(null,702)))},name:"main-index-company_vip"},{path:"cps_manage",component:function(){return Object(y.m)(n.e(27).then(n.bind(null,703)))},name:"main-index-cps_manage"},{path:"cunxinbao",component:function(){return Object(y.m)(n.e(28).then(n.bind(null,704)))},name:"main-index-cunxinbao"},{path:"data",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(29)]).then(n.bind(null,705)))},name:"main-index-data"},{path:"data_sc",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(30)]).then(n.bind(null,706)))},name:"main-index-data_sc"},{path:"dev_check",component:function(){return Object(y.m)(n.e(31).then(n.bind(null,707)))},name:"main-index-dev_check"},{path:"dev_check_detail",component:function(){return Object(y.m)(n.e(32).then(n.bind(null,708)))},name:"main-index-dev_check_detail"},{path:"dev_show",component:function(){return Object(y.m)(n.e(33).then(n.bind(null,709)))},name:"main-index-dev_show"},{path:"dynamic",component:function(){return Object(y.m)(n.e(34).then(n.bind(null,710)))},name:"main-index-dynamic"},{path:"dynamic_comment",component:function(){return Object(y.m)(n.e(35).then(n.bind(null,711)))},name:"main-index-dynamic_comment"},{path:"dynamic_type",component:function(){return Object(y.m)(n.e(36).then(n.bind(null,712)))},name:"main-index-dynamic_type"},{path:"free_work",component:function(){return Object(y.m)(n.e(37).then(n.bind(null,713)))},name:"main-index-free_work"},{path:"freework_level",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(38)]).then(n.bind(null,679)))},name:"main-index-freework_level"},{path:"freework_level_info",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(39)]).then(n.bind(null,714)))},name:"main-index-freework_level_info"},{path:"gongmall",component:function(){return Object(y.m)(n.e(40).then(n.bind(null,715)))},name:"main-index-gongmall"},{path:"group",component:function(){return Object(y.m)(n.e(41).then(n.bind(null,716)))},name:"main-index-group"},{path:"group_list",component:function(){return Object(y.m)(n.e(42).then(n.bind(null,717)))},name:"main-index-group_list"},{path:"invoice_audit",component:function(){return Object(y.m)(n.e(44).then(n.bind(null,718)))},name:"main-index-invoice_audit"},{path:"jishuquan",component:function(){return Object(y.m)(n.e(45).then(n.bind(null,719)))},name:"main-index-jishuquan"},{path:"job",component:function(){return Object(y.m)(n.e(46).then(n.bind(null,720)))},name:"main-index-job"},{path:"jobs",component:function(){return Object(y.m)(n.e(47).then(n.bind(null,721)))},name:"main-index-jobs"},{path:"jobs_behalf_post",component:function(){return Object(y.m)(n.e(48).then(n.bind(null,722)))},name:"main-index-jobs_behalf_post"},{path:"jobs_publish_company",component:function(){return Object(y.m)(n.e(49).then(n.bind(null,723)))},name:"main-index-jobs_publish_company"},{path:"kaifabao",component:function(){return Object(y.m)(n.e(58).then(n.bind(null,724)))},name:"main-index-kaifabao"},{path:"kaifawu_contact",component:function(){return Object(y.m)(n.e(59).then(n.bind(null,725)))},name:"main-index-kaifawu_contact"},{path:"nav_add",component:function(){return Object(y.m)(n.e(60).then(n.bind(null,726)))},name:"main-index-nav_add"},{path:"nav_list",component:function(){return Object(y.m)(n.e(61).then(n.bind(null,727)))},name:"main-index-nav_list"},{path:"occupation_setting",component:function(){return Object(y.m)(n.e(62).then(n.bind(null,728)))},name:"main-index-occupation_setting"},{path:"orders",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(63)]).then(n.bind(null,680)))},name:"main-index-orders"},{path:"orders_detail",component:function(){return Object(y.m)(n.e(64).then(n.bind(null,729)))},name:"main-index-orders_detail"},{path:"orders_frozen",component:function(){return Object(y.m)(n.e(65).then(n.bind(null,730)))},name:"main-index-orders_frozen"},{path:"outsource_bill",component:function(){return Object(y.m)(n.e(66).then(n.bind(null,731)))},name:"main-index-outsource_bill"},{path:"page_item",component:function(){return Object(y.m)(n.e(67).then(n.bind(null,732)))},name:"main-index-page_item"},{path:"page_manage",component:function(){return Object(y.m)(n.e(68).then(n.bind(null,733)))},name:"main-index-page_manage"},{path:"persona",component:function(){return Object(y.m)(n.e(69).then(n.bind(null,734)))},name:"main-index-persona"},{path:"present_job_apply",component:function(){return Object(y.m)(n.e(70).then(n.bind(null,735)))},name:"main-index-present_job_apply"},{path:"project_form",component:function(){return Object(y.m)(n.e(71).then(n.bind(null,736)))},name:"main-index-project_form"},{path:"publish_present",component:function(){return Object(y.m)(n.e(72).then(n.bind(null,737)))},name:"main-index-publish_present"},{path:"publish_recruit",component:function(){return Object(y.m)(n.e(73).then(n.bind(null,738)))},name:"main-index-publish_recruit"},{path:"qingtuanbao",component:function(){return Object(y.m)(n.e(74).then(n.bind(null,739)))},name:"main-index-qingtuanbao"},{path:"quick_manage",component:function(){return Object(y.m)(n.e(75).then(n.bind(null,740)))},name:"main-index-quick_manage"},{path:"recruit_manage",component:function(){return Object(y.m)(n.e(76).then(n.bind(null,741)))},name:"main-index-recruit_manage"},{path:"recuit_purchase_conf",component:function(){return Object(y.m)(n.e(77).then(n.bind(null,742)))},name:"main-index-recuit_purchase_conf"},{path:"remark_list",component:function(){return Object(y.m)(n.e(78).then(n.bind(null,743)))},name:"main-index-remark_list"},{path:"report_business",component:function(){return Object(y.m)(n.e(79).then(n.bind(null,744)))},name:"main-index-report_business"},{path:"report_cash",component:function(){return Object(y.m)(n.e(80).then(n.bind(null,745)))},name:"main-index-report_cash"},{path:"sale",component:function(){return Object(y.m)(n.e(81).then(n.bind(null,746)))},name:"main-index-sale"},{path:"sale_detail",component:function(){return Object(y.m)(n.e(82).then(n.bind(null,747)))},name:"main-index-sale_detail"},{path:"sale_order",component:function(){return Object(y.m)(n.e(83).then(n.bind(null,748)))},name:"main-index-sale_order"},{path:"sale_vod_edit",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(84)]).then(n.bind(null,749)))},name:"main-index-sale_vod_edit"},{path:"sale_vod_manage",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(85)]).then(n.bind(null,750)))},name:"main-index-sale_vod_manage"},{path:"sale_vod_publish",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(86)]).then(n.bind(null,751)))},name:"main-index-sale_vod_publish"},{path:"send",component:function(){return Object(y.m)(n.e(87).then(n.bind(null,752)))},name:"main-index-send"},{path:"send_add",component:function(){return Object(y.m)(n.e(88).then(n.bind(null,753)))},name:"main-index-send_add"},{path:"solution",component:function(){return Object(y.m)(n.e(89).then(n.bind(null,754)))},name:"main-index-solution"},{path:"solution_detail",component:function(){return Object(y.m)(n.e(90).then(n.bind(null,755)))},name:"main-index-solution_detail"},{path:"solution_manage",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(91)]).then(n.bind(null,756)))},name:"main-index-solution_manage"},{path:"special_add",component:function(){return Object(y.m)(n.e(92).then(n.bind(null,757)))},name:"main-index-special_add"},{path:"special_list",component:function(){return Object(y.m)(n.e(93).then(n.bind(null,758)))},name:"main-index-special_list"},{path:"stats",component:function(){return Object(y.m)(n.e(94).then(n.bind(null,759)))},name:"main-index-stats"},{path:"task",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(95)]).then(n.bind(null,760)))},name:"main-index-task"},{path:"test",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0),n.e(96)]).then(n.bind(null,761)))},name:"main-index-test"},{path:"user_bank_order",component:function(){return Object(y.m)(n.e(97).then(n.bind(null,762)))},name:"main-index-user_bank_order"},{path:"user_bills",component:function(){return Object(y.m)(n.e(98).then(n.bind(null,763)))},name:"main-index-user_bills"},{path:"user_cards_list",component:function(){return Object(y.m)(n.e(99).then(n.bind(null,764)))},name:"main-index-user_cards_list"},{path:"user_credit_item",component:function(){return Object(y.m)(n.e(100).then(n.bind(null,765)))},name:"main-index-user_credit_item"},{path:"user_credit_list",component:function(){return Object(y.m)(n.e(101).then(n.bind(null,766)))},name:"main-index-user_credit_list"},{path:"user_credit_setting",component:function(){return Object(y.m)(n.e(102).then(n.bind(null,767)))},name:"main-index-user_credit_setting"},{path:"user_homepwd",component:function(){return Object(y.m)(n.e(103).then(n.bind(null,768)))},name:"main-index-user_homepwd"},{path:"user_namecard",component:function(){return Object(y.m)(n.e(104).then(n.bind(null,769)))},name:"main-index-user_namecard"},{path:"user_search",component:function(){return Object(y.m)(n.e(105).then(n.bind(null,770)))},name:"main-index-user_search"},{path:"user_workfile_list",component:function(){return Object(y.m)(n.e(106).then(n.bind(null,771)))},name:"main-index-user_workfile_list"},{path:"user_workfile_remark",component:function(){return Object(y.m)(n.e(107).then(n.bind(null,772)))},name:"main-index-user_workfile_remark"},{path:"vip_info",component:function(){return Object(y.m)(n.e(108).then(n.bind(null,773)))},name:"main-index-vip_info"},{path:"vip_manager",component:function(){return Object(y.m)(n.e(109).then(n.bind(null,774)))},name:"main-index-vip_manager"},{path:"vip_order",component:function(){return Object(y.m)(n.e(110).then(n.bind(null,775)))},name:"main-index-vip_order"},{path:"vip_setting",component:function(){return Object(y.m)(n.e(111).then(n.bind(null,776)))},name:"main-index-vip_setting"},{path:"wage_details",component:function(){return Object(y.m)(n.e(112).then(n.bind(null,777)))},name:"main-index-wage_details"},{path:"wage_settlement",component:function(){return Object(y.m)(n.e(113).then(n.bind(null,778)))},name:"main-index-wage_settlement"},{path:"wait_expend",component:function(){return Object(y.m)(n.e(114).then(n.bind(null,779)))},name:"main-index-wait_expend"},{path:"weight_restore",component:function(){return Object(y.m)(n.e(115).then(n.bind(null,780)))},name:"main-index-weight_restore"},{path:"withdraw",component:function(){return Object(y.m)(n.e(116).then(n.bind(null,781)))},name:"main-index-withdraw"},{path:"work_bill",component:function(){return Object(y.m)(n.e(117).then(n.bind(null,782)))},name:"main-index-work_bill"},{path:"work_statistics",component:function(){return Object(y.m)(n.e(118).then(n.bind(null,783)))},name:"main-index-work_statistics"},{path:"workorder",component:function(){return Object(y.m)(n.e(119).then(n.bind(null,784)))},name:"main-index-workorder"},{path:"works",component:function(){return Object(y.m)(n.e(120).then(n.bind(null,785)))},name:"main-index-works"},{path:"yy_data",component:function(){return Object(y.m)(n.e(121).then(n.bind(null,786)))},name:"main-index-yy_data"},{path:"add/category_create",component:function(){return Object(y.m)(n.e(0).then(n.bind(null,667)))},name:"main-index-add-category_create"},{path:"add/task_create",component:function(){return Object(y.m)(n.e(0).then(n.bind(null,669)))},name:"main-index-add-task_create"},{path:"add/task_info",component:function(){return Object(y.m)(Promise.all([n.e(1),n.e(0)]).then(n.bind(null,549)))},name:"main-index-add-task_info"},{path:"add/task_log",component:function(){return Object(y.m)(n.e(0).then(n.bind(null,668)))},name:"main-index-add-task_log"},{path:"js/admin_user",component:function(){return Object(y.m)(n.e(50).then(n.bind(null,670)))},name:"main-index-js-admin_user"},{path:"js/group",component:function(){return Object(y.m)(n.e(51).then(n.bind(null,671)))},name:"main-index-js-group"},{path:"js/nav_list",component:function(){return Object(y.m)(n.e(52).then(n.bind(null,672)))},name:"main-index-js-nav_list"},{path:"js/sale",component:function(){return Object(y.m)(n.e(53).then(n.bind(null,673)))},name:"main-index-js-sale"},{path:"js/sale_order",component:function(){return Object(y.m)(n.e(54).then(n.bind(null,674)))},name:"main-index-js-sale_order"},{path:"js/special_list",component:function(){return Object(y.m)(n.e(55).then(n.bind(null,675)))},name:"main-index-js-special_list"},{path:"js/user_bank_order",component:function(){return Object(y.m)(n.e(56).then(n.bind(null,676)))},name:"main-index-js-user_bank_order"},{path:"js/user_workfile_list",component:function(){return Object(y.m)(n.e(57).then(n.bind(null,677)))},name:"main-index-js-user_workfile_list"}]},{path:"/",component:function(){return Object(y.m)(n.e(3).then(n.bind(null,787)))},name:"index"}],fallback:!1};function S(e,t){var base=t._app&&t._app.basePath||k.base,n=new _.c(x(x({},k),{},{base:base})),r=n.push;n.push=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j,n=arguments.length>2?arguments[2]:void 0;return r.call(this,e,t,n)};var o=n.resolve.bind(n);return n.resolve=function(e,t,n){return"string"==typeof e&&(e=Object(w.c)(e)),o(e,t,n)},n}var C={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(e,t){var n=t.parent,data=t.data,r=t.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,d=n.$nuxt.nuxt.defaultTransition,f=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&f++,n=n.$parent;data.nuxtChildDepth=f;var h=l[f]||d,m={};$.forEach((function(e){void 0!==h[e]&&(m[e]=h[e])}));var v={};E.forEach((function(e){"function"==typeof h[e]&&(v[e]=h[e].bind(c))}));var _=v.beforeEnter;if(v.beforeEnter=function(e){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),_)return _.call(c,e)},!1===h.css){var w=v.leave;(!w||w.length<2)&&(v.leave=function(e,t){w&&w.call(c,e),c.$nextTick(t)})}var y=o("routerView",data);return r.keepAlive&&(y=o("keep-alive",{props:r.keepAliveProps},[y])),o("transition",{props:m,on:v},[y])}},$=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],E=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],P={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0"}]}}},T=(n(305),n(4)),A=Object(T.a)(P,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"__nuxt-error-page"},[t("div",{staticClass:"error"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[t("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),e._v(" "),t("div",{staticClass:"title"},[e._v(e._s(e.message))]),e._v(" "),404===e.statusCode?t("p",{staticClass:"description"},[void 0===e.$route?t("a",{staticClass:"error-link",attrs:{href:"/"}}):t("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[e._v("Back to the home page")])],1):e._e(),e._v(" "),e._m(0)])])}),[function(){var e=this._self._c;return e("div",{staticClass:"logo"},[e("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt")])])}],!1,null,null,null).exports,V=n(27),R=(n(84),n(85),{name:"Nuxt",components:{NuxtChild:C,NuxtError:A},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(y.c)(this.$route.matched[0].path)(this.$route.params);var e=Object(V.a)(this.$route.matched,1)[0];if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var n=t.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(e){var t=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return t.errorFromNuxtError=!1})),e("div",{},[e("h2","An error occurred while showing the error page"),e("p","Unfortunately an error occurred and while showing the error page another error occurred"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return t.displayingNuxtError=!1})),e(A,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),D=(n(28),n(37),n(36),n(32),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var e=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return e.startTimer()}),this.throttle):this.startTimer(),this},set:function(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get:function(){return this.percent},increase:function(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease:function(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var e=this;return this.clear(),setTimeout((function(){e.show=!1,e.$nextTick((function(){e.percent=0,e.reversed=!1}))}),500),this},fail:function(e){return this.canSucceed=!1,this},startTimer:function(){var e=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){e.skipTimerCount>0?e.skipTimerCount--:(e.reversed?e.decrease(e._cut):e.increase(e._cut),e.continuous&&(e.percent>=100||e.percent<=0)&&(e.skipTimerCount=1,e.reversed=!e.reversed))}),100)}},render:function(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),L=(n(306),Object(T.a)(D,undefined,undefined,!1,null,null,null).exports),I=(n(307),n(308),n(309),n(126)),M=n(58),N=n(124),B=n(129),U=n(125),H=n(133),z=n(127),F=n(139),W=n(137),G=n(135),K=n(136),X=n(128),J=n(138),Q=(n(191),n(20));n(141),n(328),n(192),n(103);function Y(e,t){return!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}var Z={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},data:function(){return{show:!1}},computed:{theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){var t,n;e&&!this.clickNotClose&&this.addEventClick(),e?Y(t=document.body,n="showRightPanel")||(t.className+=" "+n):function(e,t){if(Y(e,t)){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}(document.body,"showRightPanel")}},mounted:function(){this.insertToBody()},beforeDestroy:function(){this.$refs.rightPanel.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){e.target.closest(".rightPanel")||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,body=document.querySelector("body");body.insertBefore(e,body.firstChild)}}},ee=(n(331),n(332),Object(T.a)(Z,(function(){var e=this,t=e._self._c;return t("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[t("div",{staticClass:"rightPanel-background"}),e._v(" "),t("div",{staticClass:"rightPanel"},[t("div",{staticClass:"handle-button",style:{top:e.buttonTop+"px","background-color":e.theme},on:{click:function(t){e.show=!e.show}}},[t("i",{class:e.show?"el-icon-close":"el-icon-setting"})]),e._v(" "),t("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])}),[],!1,null,"3ffc6b80",null).exports);function te(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function ne(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?te(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):te(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var re={name:"Layout",components:{AppMain:M.a,Navbar:M.b,RightPanel:ee,Settings:M.e,Sidebar:M.f,TagsView:M.g},mixins:[],computed:ne(ne({},Object(l.c)({sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},showSettings:function(e){return e.settings.showSettings},needTagsView:function(e){return e.settings.tagsView},fixedHeader:function(e){return e.settings.fixedHeader}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}}),methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},ie=(n(333),Object(T.a)(re,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?t("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),t("Sidebar",{staticClass:"sidebar-container"}),e._v(" "),t("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView}},[t("div",{class:{"fixed-header":e.fixedHeader}},[t("Navbar")],1),e._v(" "),t("AppMain")],1)],1)}),[],!1,null,null,null).exports),oe=(n(334),Object(T.a)({},(function(){var e=this._self._c;return e("div",[e("nuxt")],1)}),[],!1,null,null,null).exports),ae=n(49),se=document.body,ce={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&ae.default.dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){this.$_isMobile()&&(ae.default.dispatch("app/toggleDevice","mobile"),ae.default.dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){return se.getBoundingClientRect().width-1<992},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();ae.default.dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&ae.default.dispatch("app/closeSideBar",{withoutAnimation:!0})}}}};function ue(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return le(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function le(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var de={"_components/AppMain":Object(y.s)(I.a),"_components/index":Object(y.s)(M.h),"_components/Navbar":Object(y.s)(N.a),"_components/Select/selectFilterable":Object(y.s)(B.a),"_components/Settings/index":Object(y.s)(U.a),"_components/Sidebar/FixiOSBug":Object(y.s)(H.a),"_components/Sidebar/index":Object(y.s)(z.a),"_components/Sidebar/Item":Object(y.s)(F.a),"_components/Sidebar/Link":Object(y.s)(W.a),"_components/Sidebar/Logo":Object(y.s)(G.a),"_components/Sidebar/SidebarItem":Object(y.s)(K.a),"_components/TagsView/index":Object(y.s)(X.a),"_components/TagsView/ScrollPane":Object(y.s)(J.a),_default:Object(y.s)(ie),_empty:Object(y.s)(oe),"_mixin/ResizeHandler":Object(y.s)(ce)},fe={render:function(e,t){var n=e("NuxtLoading",{ref:"loading"}),r=e(this.layout||"nuxt"),o=e("div",{domProps:{id:"__layout"},key:this.layoutName},[r]),c=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(e){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return e("div",{domProps:{id:"__nuxt"}},[n,c])},data:function(){return{isOnline:!0,layout:null,layoutName:"",nbFetching:0}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){this.$root.$options.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$loading=e.$refs.loading;case 1:case"end":return t.stop()}}),t)})))()},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline},isFetching:function(){return this.nbFetching>0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=Object(y.h)(e.$route)).length){t.next=3;break}return t.abrupt("return");case 3:return e.$loading.start(),r=n.map((function(t){var p=[];if(t.$options.fetch&&t.$options.fetch.length&&p.push(Object(y.q)(t.$options.fetch,e.context)),t.$fetch)p.push(t.$fetch());else{var n,r=ue(Object(y.e)(t.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(e){r.e(e)}finally{r.f()}}return t.$options.asyncData&&p.push(Object(y.q)(t.$options.asyncData,e.context).then((function(e){for(var n in e)c.default.set(t.$data,n,e[n])}))),Promise.all(p)})),t.prev=5,t.next=8,Promise.all(r);case 8:t.next=15;break;case 10:t.prev=10,t.t0=t.catch(5),e.$loading.fail(t.t0),Object(y.k)(t.t0),e.error(t.t0);case 15:e.$loading.finish();case 16:case"end":return t.stop()}}),t,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var e=(A.options||A).layout;"function"==typeof e&&(e=e(this.context)),this.setLayout(e)}},setLayout:function(e){return e&&de["_"+e]||(e="default"),this.layoutName=e,this.layout=de["_"+e],this.layout},loadLayout:function(e){return e&&de["_"+e]||(e="default"),Promise.resolve(de["_"+e])}},components:{NuxtLoading:L}};n(71);function he(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}c.default.use(l.a);var me=["state","getters","actions","mutations"],be={};(be=function(e,t){if((e=e.default||e).commit)throw new Error("[nuxt] ".concat(t," should export a method that returns a Vuex instance."));return"function"!=typeof e&&(e=Object.assign({},e)),ge(e,t)}(n(49),"store/index.js")).modules=be.modules||{},_e(n(186),"getters.js"),_e(n(228),"modules/app.js"),_e(n(229),"modules/errorLog.js"),_e(n(230),"modules/permission.js"),_e(n(231),"modules/settings.js"),_e(n(232),"modules/tagsView.js"),_e(n(262),"modules/user.js");var ve=be instanceof Function?be:function(){return new l.a.Store(Object.assign({strict:!1},be))};function ge(e,t){if(e.state&&"function"!=typeof e.state){console.warn("'state' should be a method that returns an object in ".concat(t));var n=Object.assign({},e.state);e=Object.assign({},e,{state:function(){return n}})}return e}function _e(e,t){e=e.default||e;var n=t.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(t);if(e="state"===r?function(e,t){if("function"!=typeof e){console.warn("".concat(t," should export a method that returns an object"));var n=Object.assign({},e);return function(){return n}}return ge(e,t)}(e,o):ge(e,o),me.includes(r)){var c=r;ye(we(be,n,{isProperty:!0}),e,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l,d=we(be,n),f=he(me);try{for(f.s();!(l=f.n()).done;){var h=l.value;ye(d,e[h],h)}}catch(e){f.e(e)}finally{f.f()}!1===e.namespaced&&delete d.namespaced}}function we(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!t.length||o&&1===t.length)return e;var c=t.shift();return e.modules[c]=e.modules[c]||{},e.modules[c].namespaced=!0,e.modules[c].modules=e.modules[c].modules||{},we(e.modules[c],t,{isProperty:o})}function ye(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}var Oe=n(48),xe=n.n(Oe),je=n(269);function ke(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function Se(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ke(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):ke(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function Ce(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return $e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $e(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}for(var Ee={setBaseURL:function(e){this.defaults.baseURL=e},setHeader:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",o=Ce(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!t)return void delete this.defaults.headers[c][e];this.defaults.headers[c][e]=t}}catch(e){o.e(e)}finally{o.f()}},setToken:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",r,n)},onRequest:function(e){this.interceptors.request.use((function(t){return e(t)||t}))},onResponse:function(e){this.interceptors.response.use((function(t){return e(t)||t}))},onRequestError:function(e){this.interceptors.request.use(void 0,(function(t){return e(t)||Promise.reject(t)}))},onResponseError:function(e){this.interceptors.response.use(void 0,(function(t){return e(t)||Promise.reject(t)}))},onError:function(e){this.onRequestError(e),this.onResponseError(e)},create:function(e){return Ve(Object(je.a)(e,this.defaults))}},Pe=function(){var e=Ae[Te];Ee["$"+e]=function(){return this[e].apply(this,arguments).then((function(e){return e&&e.data}))}},Te=0,Ae=["request","delete","get","head","options","post","put","patch"];Te<Ae.length;Te++)Pe();var Ve=function(e){var t=xe.a.create(e);return t.CancelToken=xe.a.CancelToken,t.isCancel=xe.a.isCancel,function(e){for(var t in Ee)e[t]=Ee[t].bind(e)}(t),t.onRequest((function(e){e.headers=Se(Se({},t.defaults.headers.common),e.headers)})),Re(t),t},Re=function(e){var t={finish:function(){},start:function(){},fail:function(){},set:function(){}},n=function(){var e="undefined"!=typeof window&&window.$nuxt;return e&&e.$loading&&e.$loading.set?e.$loading:t},r=0;e.onRequest((function(e){e&&!1===e.progress||r++})),e.onResponse((function(e){e&&e.config&&!1===e.config.progress||--r<=0&&(r=0,n().finish())})),e.onError((function(e){e&&e.config&&!1===e.config.progress||(r--,xe.a.isCancel(e)?r<=0&&(r=0,n().finish()):(n().fail(),n().finish()))}));var o=function(e){if(r&&e.total){var progress=100*e.loaded/(e.total*r);n().set(Math.min(100,progress))}};e.defaults.onUploadProgress=o,e.defaults.onDownloadProgress=o},De=function(e,t){var n=e.$config&&e.$config.axios||{},r=n.browserBaseURL||n.browserBaseUrl||n.baseURL||n.baseUrl||"http://localhost:3001/";var o=Ve({baseURL:r,headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}});e.$axios=o,t("axios",o)},Le=n(82),Ie=n.n(Le),Me=n(187),Ne=n.n(Me),Be=function(){c.default.use(Ie.a,{locale:Ne.a})},qe=function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(path,data,t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,He("get",path,data,t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Ue=function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(path){var data,t,n,element,r,o=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n in data=o.length>1&&void 0!==o[1]?o[1]:{},o.length>2?o[2]:void 0,t="",data)data.hasOwnProperty(n)&&((element=data[n])||0===element)&&(t+="".concat(n,"=").concat(encodeURIComponent(element),"&"));return t=t.slice(0,t.length-1),e.next=7,He("post",path,t,{config:{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}});case 7:return r=e.sent,e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),He=function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(t,path,data){var n,body,r,o,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.length>3&&void 0!==l[3]?l[3]:{},body={url:""+path,data:data,method:t,params:data},n.config&&Object.assign(body,n.config,{params:""}),ze({body:body}),e.next=8,xe.a.request(body);case 8:if(r=e.sent,o=r.data,"object"!==Object(Q.a)(o)&&(o=JSON.parse(o)),1!==o.status){e.next=15;break}return e.abrupt("return",o);case 15:if(-99!==o.status){e.next=20;break}return location.href="/login",e.abrupt("return");case 20:return c.default.prototype.$message.error(o.info),o.status=0,e.abrupt("return",o);case 23:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),ze=function(e){Object.keys(e)[0]};c.default.prototype.$get=qe,c.default.prototype.$post=Ue,c.default.prototype.$request=He;var Fe=n(188),We=n.n(Fe),Ge=(n(414),n(415),n(270)),Ke=n.n(Ge);function Xe(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function Je(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Xe(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):Xe(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}We.a.Quill.register("modules/imageResize",Ke.a),c.default.use(We.a),c.default.component(h.a.name,h.a),c.default.component(v.a.name,Je(Je({},v.a),{},{render:function(e,t){return v.a._warned||(v.a._warned=!0,console.warn("<no-ssr> has been deprecated and will be removed in Nuxt 3, please use <client-only> instead")),v.a.render(e,t)}})),c.default.component(C.name,C),c.default.component("NChild",C),c.default.component(R.name,R),Object.defineProperty(c.default.prototype,"$nuxt",{get:function(){var e=this.$root.$options.$nuxt;return e||"undefined"==typeof window?e:window.$nuxt},configurable:!0}),c.default.use(d.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Qe={name:"page",mode:"out-in",appear:!0,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};l.a.Store.prototype.registerModule;function Ye(e){return Ze.apply(this,arguments)}function Ze(){return Ze=Object(r.a)(regeneratorRuntime.mark((function e(t){var n,o,l,d,f,h,path,m,v=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject('".concat(e,"', value) has no value provided"));d[e="$"+e]=t,d.context[e]||(d.context[e]=t),l[e]=d[e];var n="__nuxt_"+e+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,e)||Object.defineProperty(c.default.prototype,e,{get:function(){return this.$root.$options[e]}})})))},n=v.length>1&&void 0!==v[1]?v[1]:{},e.next=4,S(0,n);case 4:return o=e.sent,(l=ve(t)).$router=o,d=Je({head:{title:"程序员客栈后台",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"程序员客栈后台"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"}],style:[],script:[]},store:l,router:o,nuxt:{defaultTransition:Qe,transitions:[Qe],setTransitions:function(e){return Array.isArray(e)||(e=[e]),e=e.map((function(e){return e=e?"string"==typeof e?Object.assign({},Qe,{name:e}):Object.assign({},Qe,e):Qe})),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error:function(e){e=e||null,d.context._errored=Boolean(e),e=e?Object(y.p)(e):null;var n=d.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=e,t&&(t.nuxt.error=e),e}}},fe),l.app=d,f=t?t.next:function(e){return d.router.push(e)},t?h=o.resolve(t.url).route:(path=Object(y.f)(o.options.base,o.options.mode),h=o.resolve(path).route),e.next=13,Object(y.t)(d,{store:l,route:h,next:f,error:d.nuxt.error.bind(d),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,ssrContext:t});case 13:return m("config",n),window.__NUXT__&&window.__NUXT__.state&&l.replaceState(window.__NUXT__.state),d.context.enablePreview=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d.previewData=Object.assign({},e),m("preview",e)},e.next=19,De(d.context,m);case 19:return e.next=22,Be(d.context);case 22:e.next=25;break;case 25:e.next=28;break;case 28:return d.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},e.next=31,new Promise((function(e,t){if(!o.resolve(d.context.route.fullPath).route.matched.length)return e();o.replace(d.context.route.fullPath,e,(function(n){if(!n._isRouter)return t(n);if(2!==n.type)return e();var c=o.afterEach(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(n,r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,Object(y.j)(n);case 3:d.context.route=t.sent,d.context.params=n.params||{},d.context.query=n.query||{},c(),e();case 8:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())}))}));case 31:return e.abrupt("return",{store:l,app:d,router:o});case 32:case"end":return e.stop()}}),e)}))),Ze.apply(this,arguments)}},,,,,,,function(e,t,n){"use strict";var r=n(126);n.d(t,"a",(function(){return r.a}));var o=n(124);n.d(t,"b",(function(){return o.a}));var c=n(125);n.d(t,"e",(function(){return c.a}));var l=n(127);n.d(t,"f",(function(){return l.a}));var d=n(128);n.d(t,"g",(function(){return d.a}));var f=n(129);n.d(t,"c",(function(){return f.a})),t.h={}},,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return f}));var r=n(35),o=n.n(r),c="Admin-Token";function l(){return o.a.get(c)}function d(e){return o.a.set(c,e)}function f(){return o.a.remove(c)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(12);function r(path){return/^(https?:|mailto:|tel:)/.test(path)}},,function(e,t){e.exports={title:"程序员客栈后台",showSettings:!0,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,errorLog:"production"}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.a=[{title:"管理中心",icon:"location",path:"",subs:[{title:"管理中心",path:"https://www.proginn.com/rooter"}]},{title:"财务-管理",icon:"coin",path:"",subs:[{title:"订单中心",path:"/main/orders"},{title:"人工订单",path:"/main/artificial_orders"},{title:"支付宝提现管理",path:"/main/withdraw",hidden:!1},{title:"领薪宝提现管理",path:"/main/kaifabao",hidden:!1},{title:"冻结订单",path:"/main/orders_frozen",hidden:!1}]},{title:"财务-报表",icon:"coin",path:"",subs:[{title:"月度营业额报表",path:"/main/report_business"},{title:"月度现金流报表",path:"/main/report_cash"},{title:"待支出订单报表",path:"/main/wait_expend",hidden:!1},{title:"项目详情",path:"/main/project_form",hidden:!0},{title:"存薪宝",path:"/main/cunxinbao"}]},{title:"运营",icon:"service",path:"",subs:[{title:"云端开发者展示",path:"/main/dev_show"},{title:"搜索数据管理",path:"/main/user_search"},{title:"作品数据管理",path:"/main/work_statistics"},{title:"会员直通车",path:"/main/quick_manage"},{title:"设置主页访问密码",path:"/main/user_homepwd"},{title:"客服工单",path:"/main/workorder"},{title:"名片夹",path:"/main/user_namecard"},{title:"运营数据",path:"/main/stats"}]},{title:"项目",icon:"s-management",path:"",subs:[{title:"查看联系方式",path:"/main/user_cards_list"},{title:"自由工作",path:"/main/free_work"},{title:"技术信用",path:"/main/user_credit_list"},{title:"资源商城",path:"/main/user_workfile_list"},{title:"服务审核",path:"/main/sale"},{title:"服务订单",path:"/main/sale_order"},{title:"技术圈",path:"/main/jishuquan"},{title:"技术信用详情",path:"/main/user_credit_item",hidden:!0},{title:"技术信用配置",path:"/main/user_credit_setting",hidden:!0},{title:"解决方案",path:"/main/solution"},{title:"开发屋管理",path:"/main/solution_manage"},{title:"企业入驻审核",path:"/main/solution_detail",hidden:!0},{title:"兼职招聘",path:"/main/jobs"},{title:"兼职招聘详情",path:"/main/job",hidden:!0},{title:"云端工作",path:"/main/cloud_job"},{title:"协作群组",path:"/main/group_list"},{title:"工猫结算订单",path:"/main/gongmall"},{title:"CPS",path:"/main/cps_manage"},{title:"驻场招聘信息",path:"/main/publish_present",hidden:!0},{title:"驻场招聘申请列表",path:"/main/present_job_apply",hidden:!0},{title:"技术服务商管理列表",path:"/main/company_vip"},{title:"人力外包",path:"/main/recruit_manage"}]},{title:"用户与认证",icon:"s-check",path:"",subs:[{title:"开发者管理",path:"/main/cats"},{title:"开发者审核",path:"/main/dev_check"},{title:"认证开发者",path:"/main/cert_check"},{title:"认证产品",path:"/main/cert_pro"},{title:"账号注销",path:"/main/cancel_account"},{title:"客户管理",path:"/main/account_manager"},{title:"权重恢复",path:"/main/weight_restore"}]},{title:"会员",icon:"user-solid",path:"",subs:[{title:"会员管理",path:"/main/vip_manager"},{title:"会员订单",path:"/main/vip_order"},{title:"会员设置",path:"/main/vip_setting"}]},{title:"网站配置",icon:"setting",path:"",subs:[{title:"职业技能配置",path:"/main/occupation_setting"},{title:"导航二级配置",path:"/main/nav_list"}]},{title:"权限管理",icon:"setting",path:"",subs:[{title:"角色管理",path:"/main/group"},{title:"用户管理",path:"/main/user"},{title:"菜单管理",path:"/main/menu",hidden:!0}]}]},function(e,t,n){"use strict";n(21),n(15),n(18),n(30),n(31);var r=n(7),o=n(9),c=(n(40),n(26)),l=(n(160),n(24),n(266)),d=n(123);function f(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function h(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}for(var m={},v=0,_=d.a.length;v<_;v++)for(var w=d.a[v],y=w.subs,O=0,x=y.length;O<x;O++)m[y[O].path]=[h({},w),h({},y[O])];var j={data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.name})),t=e[0];this.isDashboard(t)||(e=[{path:"/",title:"Home",redirect:"noRedirect"}].concat(e)),this.levelList=[{path:"/",title:"首页"}].concat(m[t.path]),this.levelList=this.levelList.filter((function(e){return!!e})),console.log(this.levelList)},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="".toLocaleLowerCase()},pathCompile:function(path){var e=this.$route.params;return l.default.compile(path)(e)},handleLink:function(e){var t=e.redirect,path=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(path))}}},k=(n(312),n(4)),S=Object(k.a)(j,(function(){var e=this,t=e._self._c;return t("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[t("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(n,r){return t("el-breadcrumb-item",{key:n.path},["noRedirect"===n.redirect||r==e.levelList.length-1?t("span",{staticClass:"no-redirect"},[e._v(e._s(n.title))]):t("a",{on:{click:function(t){return t.preventDefault(),e.handleLink(n)}}},[e._v(e._s(n.title))])])})),1)],1)}),[],!1,null,"051ae504",null).exports,C={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},$=(n(313),Object(k.a)(C,(function(){var e=this,t=e._self._c;return t("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[t("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[t("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])}),[],!1,null,"571a2ee0",null).exports),E={name:"ErrorLog",data:function(){return{dialogTableVisible:!1}},computed:{errorLogs:function(){return this.$store.getters.errorLogs}},methods:{clearAll:function(){this.dialogTableVisible=!1,this.$store.dispatch("errorLog/clearErrorLog")}}},P=(n(314),Object(k.a)(E,(function(){var e=this,t=e._self._c;return e.errorLogs.length>0?t("div",[t("el-badge",{staticStyle:{"line-height":"25px","margin-top":"-5px"},attrs:{"is-dot":!0},nativeOn:{click:function(t){e.dialogTableVisible=!0}}},[t("el-button",{staticStyle:{padding:"8px 10px"},attrs:{size:"small",type:"danger"}})],1),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogTableVisible,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.dialogTableVisible=t}}},[t("div",{attrs:{slot:"title"},slot:"title"},[t("span",{staticStyle:{"padding-right":"10px"}},[e._v("Error Log")]),e._v(" "),t("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-delete"},on:{click:e.clearAll}},[e._v("Clear All")])],1),e._v(" "),t("el-table",{attrs:{data:e.errorLogs,border:""}},[t("el-table-column",{attrs:{label:"Message"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.row;return[t("div",[t("span",{staticClass:"message-title"},[e._v("Msg:")]),e._v(" "),t("el-tag",{attrs:{type:"danger"}},[e._v(e._s(r.err.message))])],1),e._v(" "),t("br"),e._v(" "),t("div",[t("span",{staticClass:"message-title",staticStyle:{"padding-right":"10px"}},[e._v("Info:")]),e._v(" "),t("el-tag",{attrs:{type:"warning"}},[e._v(e._s(r.vm.$vnode.tag)+" error in "+e._s(r.info))])],1),e._v(" "),t("br"),e._v(" "),t("div",[t("span",{staticClass:"message-title",staticStyle:{"padding-right":"16px"}},[e._v("Url:")]),e._v(" "),t("el-tag",{attrs:{type:"success"}},[e._v(e._s(r.url))])],1)]}}],null,!1,913571674)}),e._v(" "),t("el-table-column",{attrs:{label:"Stack"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.err.stack))]}}],null,!1,993936120)})],1)],1)],1):e._e()}),[],!1,null,"ea208bbc",null).exports),T=n(59),A=n.n(T),V={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!A.a.enabled)return this.$message({message:"you browser can not work",type:"warning"}),!1;A.a.toggle()},change:function(){this.isFullscreen=A.a.isFullscreen},init:function(){A.a.enabled&&A.a.on("change",this.change)},destroy:function(){A.a.enabled&&A.a.off("change",this.change)}}},R=(n(315),Object(k.a)(V,(function(){return(0,this._self._c)("div")}),[],!1,null,"4d4ad723",null).exports),D=(n(41),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),L=Object(k.a)(D,(function(){var e=this,t=e._self._c;return t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[t("div"),e._v(" "),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(n){return t("el-dropdown-item",{key:n.value,attrs:{disabled:e.size===n.value,command:n.value}},[e._v("\n "+e._s(n.label)+"\n ")])})),1)],1)}),[],!1,null,null,null).exports,I=(n(102),n(14)),M=(n(28),n(12),n(37),n(36),n(32),n(267)),N=n.n(M),B=n(81),U=n.n(B);function H(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var F={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this;this.$router.push(e.path),this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new N.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=[],c=H(e);try{for(c.s();!(t=c.n()).done;){var l=t.value;if(!l.hidden){var data={path:U.a.resolve(n,l.path),title:Object(I.a)(r)};if(l.meta&&l.meta.title&&(data.title=[].concat(Object(I.a)(data.title),[l.meta.title]),"noRedirect"!==l.redirect&&o.push(data)),l.children){var d=this.generateRoutes(l.children,data.path,data.title);d.length>=1&&(o=[].concat(Object(I.a)(o),Object(I.a)(d)))}}}}catch(e){c.e(e)}finally{c.f()}return o},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]}}},W=F;n(316);function G(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}var K={components:{Breadcrumb:S,Hamburger:$,ErrorLog:P,Screenfull:R,SizeSelect:L,Search:Object(k.a)(W,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"header-search",class:{show:e.show}},[t("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return t("el-option",{key:e.path,attrs:{value:e,label:e.title.join(" > ")}})})),1)],1)}),[],!1,null,"c136f25a",null).exports},data:function(){return console.log(this.$store.state),{avatar:this.$store.state.user.avatar,direction:"rtl",drawer:!1,id:0,type:0}},computed:function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?G(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):G(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({},Object(c.b)(["sidebar","device"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},add_:function(){this.$router.push("/main/task?action=add&time="+Math.random())},logout:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:console.log(e.$store.state.domainConfig.siteUrl+"/rooter/quit?next=".concat(e.$route.fullPath)),window.location.href=e.$store.state.domainConfig.siteUrl+"/rooter/quit?next=".concat(e.$route.fullPath);case 2:case"end":return t.stop()}}),t)})))()}}},X=K,J=(n(317),Object(k.a)(X,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar"},[t("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),e._v(" "),t("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),e._v(" "),t("div",{staticClass:"right-menu",staticStyle:{display:"flex"}},[t("div",[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.add_(0,0)}}},[e._v("创建工单")])],1),e._v(" "),"mobile"!==e.device?[t("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}}),e._v(" "),t("error-log",{staticClass:"errLog-container right-menu-item hover-effect"}),e._v(" "),t("screenfull",{staticClass:"right-menu-item hover-effect",attrs:{id:"screenfull"}}),e._v(" "),t("el-tooltip",{attrs:{content:"Global Size",effect:"dark",placement:"bottom"}},[t("size-select",{staticClass:"right-menu-item hover-effect",attrs:{id:"size-select"}})],1)]:e._e(),e._v(" "),t("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[t("div",{staticClass:"avatar-wrapper"},[t("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),e._v(" "),t("i",{staticClass:"el-icon-caret-bottom"})]),e._v(" "),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("router-link",{attrs:{to:"/"}},[t("el-dropdown-item",[e._v("Dashboard")])],1),e._v(" "),t("el-dropdown-item",{attrs:{divided:""}},[t("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v("Log Out")])])],1)],1)],2)],1)}),[],!1,null,"d707ce10",null));t.a=J.exports},function(e,t,n){"use strict";var r=n(7),o=(n(40),n(41),n(18),n(28),n(103),n(12),n(84),n(85),n(191),n(320).version),c="#409EFF",l={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,l,d,f,h,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=t.chalk?t.theme:c,"string"==typeof e){n.next=3;break}return n.abrupt("return");case 3:if(l=t.getThemeCluster(e.replace("#","")),d=t.getThemeCluster(r.replace("#","")),console.log(l,d),f=t.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),h=function(e,n){return function(){var r=t.getThemeCluster(c.replace("#","")),o=t.updateStyle(t[e],r,l),d=document.getElementById(n);d||((d=document.createElement("style")).setAttribute("id",n),document.head.appendChild(d)),d.innerText=o}},t.chalk){n.next=12;break}return m="https://unpkg.com/element-ui@".concat(o,"/lib/theme-chalk/index.css"),n.next=12,t.getCSSString(m,"chalk");case 12:h("chalk","chalk-style")(),[].slice.call(document.querySelectorAll("style")).filter((function(style){var text=style.innerText;return new RegExp(r,"i").test(text)&&!/Chalk Variables/.test(text)})).forEach((function(style){var e=style.innerText;"string"==typeof e&&(style.innerText=t.updateStyle(e,d,l))})),t.$emit("change",e),f.close();case 18:case"end":return n.stop()}}),n)})))()}},methods:{updateStyle:function(style,e,t){var n=style;return e.forEach((function(e,r){n=n.replace(new RegExp(e,"ig"),t[r])})),n},getCSSString:function(e,t){var n=this;return new Promise((function(r){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&200===o.status&&(n[t]=o.responseText.replace(/@font-face{[^}]+}/,""),r())},o.open("GET",e),o.send()}))},getThemeCluster:function(e){for(var t,n,r,o,c,l=[e],i=0;i<=9;i++)l.push((t=e,n=Number((i/10).toFixed(2)),r=void 0,o=void 0,c=void 0,r=parseInt(t.slice(0,2),16),o=parseInt(t.slice(2,4),16),c=parseInt(t.slice(4,6),16),0===n?[r,o,c].join(","):(r+=Math.round(n*(255-r)),o+=Math.round(n*(255-o)),c+=Math.round(n*(255-c)),r=r.toString(16),o=o.toString(16),c=c.toString(16),"#".concat(r).concat(o).concat(c))));return l.push(function(e,t){var n=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),o=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),r=Math.round((1-t)*r),o=Math.round((1-t)*o),n=n.toString(16),r=r.toString(16),o=o.toString(16),"#".concat(n).concat(r).concat(o)}(e,.1)),l}}},d=(n(321),n(4)),f={components:{ThemePicker:Object(d.a)(l,(function(){var e=this;return(0,e._self._c)("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})}),[],!1,null,null,null).exports},data:function(){return{}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e})}}},h=(n(322),Object(d.a)(f,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"drawer-container"},[t("div",[t("h3",{staticClass:"drawer-title"},[e._v("Page style setting")]),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v("Theme Color")]),e._v(" "),t("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v("Open Tags-View")]),e._v(" "),t("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v("Fixed Header")]),e._v(" "),t("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v("Sidebar Logo")]),e._v(" "),t("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1)])])}),[],!1,null,"22800621",null));t.a=h.exports},function(e,t,n){"use strict";var r={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},o=(n(310),n(311),n(4)),component=Object(o.a)(r,(function(){var e=this._self._c;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("keep-alive",{attrs:{include:this.cachedViews}},[e("nuxt")],1)],1)],1)}),[],!1,null,"94ee082e",null);t.a=component.exports},function(e,t,n){"use strict";n(21),n(15),n(18),n(30),n(31);var r=n(9),o=n(7),c=(n(40),n(26)),l=n(135),d=n(136),f=n(268),h=n.n(f);n(123);function m(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function v(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var _={data:function(){return{permission_routes:[]}},mounted:function(){this.getAuth()},methods:{getAuth:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/api/admin/auth/get");case 2:(n=t.sent)&&1===n.status&&(e.permission_routes=n.data.list);case 4:case"end":return t.stop()}}),t)})))()}},components:{SidebarItem:d.a,Logo:l.a},computed:v(v({},Object(c.b)(["sidebar"])),{},{activeMenu:function(){var e=this.$route,meta=e.meta,path=e.path;return meta.activeMenu?meta.activeMenu:path},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return h.a},isCollapse:function(){return!this.sidebar.opened}})},w=n(4),component=Object(w.a)(_,(function(){var e=this,t=e._self._c;return t("div",{class:{"has-logo":e.showLogo}},[e.showLogo?t("logo",{attrs:{collapse:e.isCollapse}}):e._e(),e._v(" "),t("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.permission_routes,(function(e){return t("sidebar-item",{key:e.path+Math.random(),attrs:{item:e,isNest:!0,"base-path":e.path}})})),1)],1)],1)}),[],!1,null,null,null);t.a=component.exports},function(e,t,n){"use strict";n(21),n(15),n(18),n(30),n(31),n(12),n(37),n(36),n(32);var r=n(14),o=n(9),c=(n(24),n(41),n(28),n(138)),l=n(81),d=n.n(l);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function m(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function v(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var _={components:{ScrollPane:c.a},data:function(){return{visible:!1,top:0,left:0,selectedTag:{},affixTags:[]}},computed:{visitedViews:function(){return this.$store.state.tagsView.visitedViews},routes:function(){return this.$store.state.permission.routes}},watch:{$route:function(){this.addTags(),this.moveToCurrentTag()},visible:function(e){e?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){this.initTags(),this.addTags()},methods:{isActive:function(e){return e.path===this.$route.path},filterAffixTags:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var c=d.a.resolve(n,e.path);o.push({fullPath:c,path:c,name:e.name,meta:v({},e.meta)})}if(e.children){var l=t.filterAffixTags(e.children,e.path);l.length>=1&&(o=[].concat(Object(r.a)(o),Object(r.a)(l)))}})),o},initTags:function(){var e,t=f(this.affixTags=this.filterAffixTags(this.routes));try{for(t.s();!(e=t.n()).done;){var n=e.value;n.name&&this.$store.dispatch("tagsView/addVisitedView",n)}}catch(e){t.e(e)}finally{t.f()}},addTags:function(){return this.$route.name&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,r=f(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(o),o.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(e){r.e(e)}finally{r.f()}}))},refreshSelectedTag:function(view){var e=this;this.$store.dispatch("tagsView/delCachedView",view).then((function(){var t=view.fullPath;e.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}))},closeSelectedTag:function(view){var e=this;this.$store.dispatch("tagsView/delView",view).then((function(t){var n=t.visitedViews;e.isActive(view)&&e.toLastView(n,view)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(view){var e=this;this.$store.dispatch("tagsView/delAllViews").then((function(t){var n=t.visitedViews;e.affixTags.some((function(e){return e.path===view.path}))||e.toLastView(n,view)}))},toLastView:function(e,view){var t=e.slice(-1)[0];t?this.$router.push(t):"Dashboard"===view.name?this.$router.replace({path:"/redirect"+view.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=this.$el.getBoundingClientRect().left,r=this.$el.offsetWidth-105,o=t.clientX-n+15;this.left=o>r?r:o,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1}}},w=_,y=(n(326),n(327),n(4)),component=Object(y.a)(w,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[t("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,(function(n){return t("router-link",{key:n.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(n)?"active":"",attrs:{to:{path:n.path,query:n.query,fullPath:n.fullPath},tag:"span"},nativeOn:{mouseup:function(t){return"button"in t&&1!==t.button?null:e.closeSelectedTag(n)},contextmenu:function(t){return t.preventDefault(),e.openMenu(n,t)}}},[e._v("\n "+e._s(n.title)+"\n "),n.meta.affix?e._e():t("span",{staticClass:"el-icon-close",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.closeSelectedTag(n)}}})])})),1),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[t("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("Refresh")]),e._v(" "),e.selectedTag.meta&&e.selectedTag.meta.affix?e._e():t("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("Close")]),e._v(" "),t("li",{on:{click:e.closeOthersTags}},[e._v("Close Others")]),e._v(" "),t("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("Close All")])])],1)}),[],!1,null,"3edef373",null);t.a=component.exports},function(e,t,n){"use strict";var r={props:{selectData:Object}},o=n(4),component=Object(o.a)(r,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"selectFilterable",staticStyle:{width:"100%"},attrs:{id:"selectFilterable"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{remote:"",multiple:"",filterable:"","multiple-limit":5,"reserve-keyword":"",placeholder:"请选择"},model:{value:e.selectData.value,callback:function(t){e.$set(e.selectData,"value",t)},expression:"selectData.value"}},e._l(e.selectData.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)}),[],!1,null,null,null);t.a=component.exports},,,,function(e,t,n){"use strict";t.a={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}}},function(e,t,n){"use strict";(function(e){n(12);var r=n(48),o=n.n(r),c=n(82),l=n(49),d=(n(70),o.a.create({baseURL:e.env.VUE_APP_BASE_API,timeout:5e3}));d.interceptors.request.use((function(e){return e}),(function(e){return console.log(e),Promise.reject(e)})),d.interceptors.response.use((function(e){var t=e.data;return 1!==t.status?(-99!==re.status&&Object(c.Message)({message:t.message||"Error",type:"error",duration:5e3}),50008!==t.code&&50012!==t.code&&50014!==t.code||c.MessageBox.confirm("You have been logged out, you can cancel to stay on this page, or log in again","Confirm logout",{confirmButtonText:"Re-Login",cancelButtonText:"Cancel",type:"warning"}).then((function(){l.default.dispatch("user/resetToken").then((function(){location.reload()}))})),Promise.reject(new Error(t.message||"Error"))):t}),(function(e){return console.log("err"+e),Object(c.Message)({message:e.message,type:"error",duration:5e3}),Promise.reject(e)})),t.a=d}).call(this,n(113))},function(e,t,n){"use strict";var r={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"Proginn Admin",logo:"https://stacdn.proginn.com/image/common/logo3.png"}}},o=(n(323),n(4)),component=Object(o.a)(r,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[t("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?t("a",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{href:"/main"}},[e.logo?t("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e()]):t("a",{key:"expand",staticClass:"sidebar-logo-link",attrs:{href:"/main"}},[e.logo?t("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e()])])],1)}),[],!1,null,"4618b4d3",null);t.a=component.exports},function(e,t,n){"use strict";n(21),n(15),n(30),n(31);var r=n(9),o=(n(18),n(81)),c=n.n(o),l=n(99),d=n(139),f=n(137),h=n(133);function m(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function v(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var _={name:"SidebarItem",components:{Item:d.a,AppLink:f.a},mixins:[h.a],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1!==r.length&&(0===r.length&&(this.onlyOneChild=v(v({},n),{},{path:"",noShowingChildren:!0}),!0))},resolvePath:function(e){return Object(l.a)(e)?e:Object(l.a)(this.basePath)?this.basePath:c.a.resolve(this.basePath,e)}}},w=_,y=n(4),component=Object(y.a)(w,(function(){var e=this,t=e._self._c;return e.item.hidden?e._e():t("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.subs,e.item)||e.onlyOneChild.subs&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?t("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.title),"popper-append-to-body":""}},[t("template",{slot:"title"},[e.item?t("item",{attrs:{icon:e.item&&e.item.icon,title:e.item.title}}):e._e()],1),e._v(" "),e._l(e.item.subs,(function(n){return t("sidebar-item",{key:n.title+Math.random(),staticClass:"nest-menu",attrs:{"is-nest":!0,item:n,"base-path":e.resolvePath(n.path)}})}))],2):[e.onlyOneChild?t("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[t("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[t("item",{attrs:{icon:e.onlyOneChild.icon||e.item&&e.item.icon,title:e.onlyOneChild.title}})],1)],1):e._e()]],2)}),[],!1,null,null,null);t.a=component.exports},function(e,t,n){"use strict";var r=n(99),o={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(r.a)(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},c=n(4),component=Object(c.a)(o,(function(){var e=this;return(0,e._self._c)("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)}),[],!1,null,null,null);t.a=component.exports},function(e,t,n){"use strict";n(324);var r={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el.offsetWidth,n=this.scrollWrapper,r=this.$parent.$refs.tag,o=null,c=null;if(r.length>0&&(o=r[0],c=r[r.length-1]),o===e)n.scrollLeft=0;else if(c===e)n.scrollLeft=n.scrollWidth-t;else{var l=r.findIndex((function(t){return t===e})),d=r[l-1],f=r[l+1],h=f.$el.offsetLeft+f.$el.offsetWidth+4,m=d.$el.offsetLeft-4;h>n.scrollLeft+t?n.scrollLeft=h-t:m<n.scrollLeft&&(n.scrollLeft=m)}}}},o=(n(325),n(4)),component=Object(o.a)(r,(function(){var e=this;return(0,e._self._c)("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll.apply(null,arguments)}}},[e._t("default")],2)}),[],!1,null,"b991e648",null);t.a=component.exports},function(e,t,n){"use strict";var r={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,r=n.icon,title=n.title,o=[];return r&&o.push(e("i",{class:"svg-icon el-icon-"+r})),title&&o.push(e("span",{slot:"title"},[title])),o}},o=n(4),component=Object(o.a)(r,undefined,undefined,!1,null,null,null);t.a=component.exports},function(e,t,n){"use strict";n(86),n(71),n(60),n(18),n(12),n(28),n(24),n(15),n(37),n(36),n(32);var r=n(2);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){d=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(d)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var l=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},d=window.cancelIdleCallback||function(e){clearTimeout(e)},f=window.IntersectionObserver&&new window.IntersectionObserver((function(e){e.forEach((function(e){var t=e.intersectionRatio,link=e.target;t<=0||!link.__prefetch||link.__prefetch()}))}));t.a={name:"NuxtLink",extends:r.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=l(this.observe,{timeout:2e3}))},beforeDestroy:function(){d(this.handleId),this.__observed&&(f.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){f&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),f.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var e=navigator.connection;return!(this.$nuxt.isOffline||e&&((e.effectiveType||"").includes("2g")||e.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(e){return e.components.default})).filter((function(e){return"function"==typeof e&&!e.options&&!e.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){f.unobserve(this.$el);var e,t=o(this.getPrefetchComponents());try{for(t.s();!(e=t.n()).done;){var n=e.value,r=n();r instanceof Promise&&r.catch((function(){})),n.__prefetched=!0}}catch(e){t.e(e)}finally{t.f()}}}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(24);t.default={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permission_routes:function(e){return e.permission.routes},errorLogs:function(e){return e.errorLog.logs}}},,,function(e,t,n){"use strict";var r={};r.initialize=n(292),r.initialize=r.initialize.default||r.initialize,t.a=r},,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},,function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(35),o=n.n(r),c={sidebar:{opened:!o.a.get("sidebarStatus")||!!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:o.a.get("size")||"medium"},l={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){o.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,o.a.set("size",t)}};t.default={namespaced:!0,state:c,mutations:l,actions:{toggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},toggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)},setSize:function(e,t){(0,e.commit)("SET_SIZE",t)}}}},function(e,t,n){"use strict";n.r(t);t.default={namespaced:!0,state:{logs:[]},mutations:{ADD_ERROR_LOG:function(e,t){e.logs.push(t)},CLEAR_ERROR_LOG:function(e){e.logs.splice(0)}},actions:{addErrorLog:function(e,t){(0,e.commit)("ADD_ERROR_LOG",t)},clearErrorLog:function(e){(0,e.commit)("CLEAR_ERROR_LOG")}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"filterAsyncRoutes",(function(){return l}));n(21),n(15),n(18),n(30),n(31);var r=n(9),o=(n(86),n(71),n(12),n(39));function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function l(e,t){var n=[];return e.forEach((function(e){var o=function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({},e);(function(e,t){return!t.meta||!t.meta.roles||e.some((function(e){return t.meta.roles.includes(e)}))})(t,o)&&(o.children&&(o.children=l(o.children,t)),n.push(o))})),n}var d={SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=o.constantRoutes.concat(t)}},f={generateRoutes:function(e,t){var n=e.commit;return new Promise((function(e){var r;r=t.includes("admin")?o.asyncRoutes||[]:l(o.asyncRoutes,t),n("SET_ROUTES",r),e(r)}))}};t.default={namespaced:!0,state:{routes:[],addRoutes:[]},mutations:d,actions:f}},function(e,t,n){"use strict";n.r(t);var r=n(101),o=n.n(r),c={showSettings:o.a.showSettings,tagsView:o.a.tagsView,fixedHeader:o.a.fixedHeader,sidebarLogo:o.a.sidebarLogo};t.default={namespaced:!0,state:c,mutations:{CHANGE_SETTING:function(e,t){var n=t.key,r=t.value;e.hasOwnProperty(n)&&(e[n]=r)}},actions:{changeSetting:function(e,data){(0,e.commit)("CHANGE_SETTING",data)}}}},function(e,t,n){"use strict";n.r(t);var r=n(14),o=n(27);n(86),n(71),n(24),n(12),n(32),n(18),n(28),n(15),n(37),n(36);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var d={ADD_VISITED_VIEW:function(e,view){e.visitedViews.some((function(e){return e.path===view.path}))||e.visitedViews.push(Object.assign({},view,{title:view.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,view){e.cachedViews.includes(view.name)||view.meta.noCache||e.cachedViews.push(view.name)},DEL_VISITED_VIEW:function(e,view){var t,n=c(e.visitedViews.entries());try{for(n.s();!(t=n.n()).done;){var r=Object(o.a)(t.value,2),i=r[0];if(r[1].path===view.path){e.visitedViews.splice(i,1);break}}}catch(e){n.e(e)}finally{n.f()}},DEL_CACHED_VIEW:function(e,view){var t,n=c(e.cachedViews);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(i===view.name){var r=e.cachedViews.indexOf(i);e.cachedViews.splice(r,1);break}}}catch(e){n.e(e)}finally{n.f()}},DEL_OTHERS_VISITED_VIEWS:function(e,view){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===view.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,view){var t,n=c(e.cachedViews);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(i===view.name){var r=e.cachedViews.indexOf(i);e.cachedViews=e.cachedViews.slice(r,r+1);break}}}catch(e){n.e(e)}finally{n.f()}},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,view){var t,n=c(e.visitedViews);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.path===view.path){r=Object.assign(r,view);break}}}catch(e){n.e(e)}finally{n.f()}}},f={addView:function(e,view){var t=e.dispatch;t("addVisitedView",view),t("addCachedView",view)},addVisitedView:function(e,view){(0,e.commit)("ADD_VISITED_VIEW",view)},addCachedView:function(e,view){(0,e.commit)("ADD_CACHED_VIEW",view)},delView:function(e,view){var t=e.dispatch,n=e.state;return new Promise((function(e){t("delVisitedView",view),t("delCachedView",view),e({visitedViews:Object(r.a)(n.visitedViews),cachedViews:Object(r.a)(n.cachedViews)})}))},delVisitedView:function(e,view){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_VISITED_VIEW",view),e(Object(r.a)(n.visitedViews))}))},delCachedView:function(e,view){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_CACHED_VIEW",view),e(Object(r.a)(n.cachedViews))}))},delOthersViews:function(e,view){var t=e.dispatch,n=e.state;return new Promise((function(e){t("delOthersVisitedViews",view),t("delOthersCachedViews",view),e({visitedViews:Object(r.a)(n.visitedViews),cachedViews:Object(r.a)(n.cachedViews)})}))},delOthersVisitedViews:function(e,view){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_OTHERS_VISITED_VIEWS",view),e(Object(r.a)(n.visitedViews))}))},delOthersCachedViews:function(e,view){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_OTHERS_CACHED_VIEWS",view),e(Object(r.a)(n.cachedViews))}))},delAllViews:function(e,view){var t=e.dispatch,n=e.state;return new Promise((function(e){t("delAllVisitedViews",view),t("delAllCachedViews",view),e({visitedViews:Object(r.a)(n.visitedViews),cachedViews:Object(r.a)(n.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(r.a)(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(r.a)(n.cachedViews))}))},updateVisitedView:function(e,view){(0,e.commit)("UPDATE_VISITED_VIEW",view)}};t.default={namespaced:!0,state:{visitedViews:[],cachedViews:[]},mutations:d,actions:f}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(7),o=(n(40),n(24),n(12),n(134));var c=n(70),l=n(39),d={token:Object(c.a)(),name:"",avatar:"https://picsum.photos/80/80",introduction:"",roles:[]},f={SET_TOKEN:function(e,t){e.token=t},SET_INTRODUCTION:function(e,t){e.introduction=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){console.log("set--------avatar-----"),console.log(t),e.avatar=t},SET_ROLES:function(e,t){e.roles=t}},h={login:function(e,t){var n=e.commit,r=t.username,l=t.password;return new Promise((function(e,t){var data;(data={username:r.trim(),password:l},Object(o.a)({url:"/user/login",method:"post",data:data})).then((function(t){var data=t.data;n("SET_TOKEN",data.token),Object(c.c)(data.token),e()})).catch((function(e){t(e)}))}))},getInfo:function(e){var t=e.commit,n=e.state;return new Promise((function(e,r){var c;(c=n.token,Object(o.a)({url:"/api/user/getInfo",method:"get",params:{token:c}})).then((function(n){var data=n.data;console.log(data),data||r("Verification failed, please Login again.");var o=data.roles,c=data.name,l=data.icon_url,d=data.introduction;t("SET_ROLES",o),t("SET_NAME",c),t("SET_AVATAR",l),t("SET_INTRODUCTION",d),e(data)})).catch((function(e){console.log(e),console.log("+ssssssssssssssssssssssssssssssssssssssssss"),r(e)}))}))},logout:function(e){var t=e.commit,n=e.state;return new Promise((function(e,r){(n.token,Object(o.a)({url:"/user/logout",method:"post"})).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),Object(c.b)(),Object(l.resetRouter)(),e()})).catch((function(e){r(e)}))}))},resetToken:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),t("SET_ROLES",[]),Object(c.b)(),e()}))},changeRoles:function(e,t){var n=e.commit,o=e.dispatch;return new Promise(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(r){var d,f,h,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n("SET_TOKEN",d=t+"-token"),Object(c.c)(d),e.next=5,o("getInfo");case 5:return f=e.sent,h=f.roles,Object(l.resetRouter)(),e.next=10,o("permission/generateRoutes",h,{root:!0});case 10:m=e.sent,l.c.addRoutes(m),o("tagsView/delAllViews",null,{root:!0}),r();case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}};t.default={namespaced:!0,state:d,mutations:f,actions:h}},,,,,,function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},,,function(e,t,n){"use strict";var r=n(7),o=(n(40),n(12),n(2)),c=n(1),l=window.__NUXT__;function d(){if(!this._hydrated)return this.$fetch()}function f(){if((e=this).$vnode&&e.$vnode.elm&&e.$vnode.elm.dataset&&e.$vnode.elm.dataset.fetchKey){var e;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var t in data)o.default.set(this.$data,t,data[t])}}function h(){var e=this;return this._fetchPromise||(this._fetchPromise=m.call(this).then((function(){delete e._fetchPromise}))),this._fetchPromise}function m(){return v.apply(this,arguments)}function v(){return(v=Object(r.a)(regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,t=null,n=Date.now(),e.prev=6,e.next=9,this.$options.fetch.call(this);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(6),t=Object(c.p)(e.t0);case 15:if(!((r=this._fetchDelay-(Date.now()-n))>0)){e.next=19;break}return e.next=19,new Promise((function(e){return setTimeout(e,r)}));case 19:this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return e.stop()}}),e,this,[[6,11]])})))).apply(this,arguments)}t.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=h.bind(this),Object(c.a)(this,"created",f),Object(c.a)(this,"beforeMount",d))}}},,,function(e,t,n){e.exports=n(275)},function(e,t,n){"use strict";n.r(t),function(e){n(28),n(15),n(37);var t=n(20),r=n(7),o=(n(151),n(282),n(287),n(289),n(40),n(24),n(18),n(21),n(86),n(71),n(60),n(36),n(12),n(32),n(2)),c=n(263),l=n(189),d=n(1),f=n(51),h=n(271),m=n(140);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}o.default.__nuxt__fetch__mixin__||(o.default.mixin(h.a),o.default.__nuxt__fetch__mixin__=!0),o.default.component(m.a.name,m.a),o.default.component("NLink",m.a),e.fetch||(e.fetch=c.a);var w,y,O=[],x=window.__NUXT__||{},j=x.config||{};j._app&&(n.p=Object(d.v)(j._app.cdnURL,j._app.assetsPath)),Object.assign(o.default.config,{silent:!0,performance:!1});var k=o.default.config.errorHandler||console.error;function S(e,t,n){for(var r=function(component){var e=function(component,e){if(!component||!component.options||!component.options[e])return{};var option=component.options[e];if("function"==typeof option){for(var t=arguments.length,n=new Array(t>2?t-2:0),r=2;r<t;r++)n[r-2]=arguments[r];return option.apply(void 0,n)}return option}(component,"transition",t,n)||{};return"string"==typeof e?{name:e}:e},o=n?Object(d.g)(n):[],c=Math.max(e.length,o.length),l=[],f=function(i){var t=Object.assign({},r(e[i])),n=Object.assign({},r(o[i]));Object.keys(t).filter((function(e){return void 0!==t[e]&&!e.toLowerCase().includes("leave")})).forEach((function(e){n[e]=t[e]})),l.push(n)},i=0;i<c;i++)f(i);return l}function C(e,t,n){return $.apply(this,arguments)}function $(){return($=Object(r.a)(regeneratorRuntime.mark((function e(t,n,r){var o,c,l,f,h=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._routeChanged=Boolean(w.nuxt.err)||n.name!==t.name,this._paramChanged=!this._routeChanged&&n.path!==t.path,this._queryChanged=!this._paramChanged&&n.fullPath!==t.fullPath,this._diffQuery=this._queryChanged?Object(d.i)(t.query,n.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),e.prev=5,!this._queryChanged){e.next=12;break}return e.next=9,Object(d.r)(t,(function(e,t){return{Component:e,instance:t}}));case 9:o=e.sent,o.some((function(e){var r=e.Component,o=e.instance,c=r.options.watchQuery;return!0===c||(Array.isArray(c)?c.some((function(e){return h._diffQuery[e]})):"function"==typeof c&&c.apply(o,[t.query,n.query]))}))&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();case 12:r(),e.next=26;break;case 15:if(e.prev=15,e.t0=e.catch(5),c=e.t0||{},l=c.statusCode||c.status||c.response&&c.response.status||500,f=c.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(f)){e.next=23;break}return window.location.reload(!0),e.abrupt("return");case 23:this.error({statusCode:l,message:f}),this.$nuxt.$emit("routeChanged",t,n,c),r();case 26:case"end":return e.stop()}}),e,this,[[5,15]])})))).apply(this,arguments)}function E(e,t){return x.serverRendered&&t&&Object(d.b)(e,t),e._Ctor=e,e}function P(e){return Object(d.d)(e,function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(t,n,r,o,c){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof t||t.options){e.next=4;break}return e.next=3,t();case 3:t=e.sent;case 4:return l=E(Object(d.s)(t),x.data?x.data[c]:null),r.components[o]=l,e.abrupt("return",l);case 7:case"end":return e.stop()}}),e)})));return function(t,n,r,o,c){return e.apply(this,arguments)}}())}function T(e,t,n){var r=this,o=["initialize"],c=!1;if(void 0!==n&&(o=[],(n=Object(d.s)(n)).options.middleware&&(o=o.concat(n.options.middleware)),e.forEach((function(e){e.options.middleware&&(o=o.concat(e.options.middleware))}))),o=o.map((function(e){return"function"==typeof e?e:("function"!=typeof l.a[e]&&(c=!0,r.error({statusCode:500,message:"Unknown middleware "+e})),l.a[e])})),!c)return Object(d.o)(o,t)}function A(e,t,n){return V.apply(this,arguments)}function V(){return V=Object(r.a)(regeneratorRuntime.mark((function e(t,n,o){var c,l,h,m,_,y,x,j,k,C,$,E,P,A,V,R=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){e.next=2;break}return e.abrupt("return",o());case 2:return!1,t===n?(O=[],!0):(c=[],O=Object(d.g)(n,c).map((function(e,i){return Object(d.c)(n.matched[c[i]].path)(n.params)}))),l=!1,h=function(path){n.path===path.path&&R.$loading.finish&&R.$loading.finish(),n.path!==path.path&&R.$loading.pause&&R.$loading.pause(),l||(l=!0,o(path))},e.next=8,Object(d.t)(w,{route:t,from:n,next:h.bind(this)});case 8:if(this._dateLastError=w.nuxt.dateErr,this._hadError=Boolean(w.nuxt.err),m=[],(_=Object(d.g)(t,m)).length){e.next=27;break}return e.next=15,T.call(this,_,w.context);case 15:if(!l){e.next=17;break}return e.abrupt("return");case 17:return y=(f.a.options||f.a).layout,e.next=20,this.loadLayout("function"==typeof y?y.call(f.a,w.context):y);case 20:return x=e.sent,e.next=23,T.call(this,_,w.context,x);case 23:if(!l){e.next=25;break}return e.abrupt("return");case 25:return w.context.error({statusCode:404,message:"This page could not be found"}),e.abrupt("return",o());case 27:return _.forEach((function(e){e._Ctor&&e._Ctor.options&&(e.options.asyncData=e._Ctor.options.asyncData,e.options.fetch=e._Ctor.options.fetch)})),this.setTransitions(S(_,t,n)),e.prev=29,e.next=32,T.call(this,_,w.context);case 32:if(!l){e.next=34;break}return e.abrupt("return");case 34:if(!w.context._errored){e.next=36;break}return e.abrupt("return",o());case 36:return"function"==typeof(j=_[0].options.layout)&&(j=j(w.context)),e.next=40,this.loadLayout(j);case 40:return j=e.sent,e.next=43,T.call(this,_,w.context,j);case 43:if(!l){e.next=45;break}return e.abrupt("return");case 45:if(!w.context._errored){e.next=47;break}return e.abrupt("return",o());case 47:k=!0,e.prev=48,C=v(_),e.prev=50,C.s();case 52:if(($=C.n()).done){e.next=63;break}if("function"==typeof(E=$.value).options.validate){e.next=56;break}return e.abrupt("continue",61);case 56:return e.next=58,E.options.validate(w.context);case 58:if(k=e.sent){e.next=61;break}return e.abrupt("break",63);case 61:e.next=52;break;case 63:e.next=68;break;case 65:e.prev=65,e.t0=e.catch(50),C.e(e.t0);case 68:return e.prev=68,C.f(),e.finish(68);case 71:e.next=77;break;case 73:return e.prev=73,e.t1=e.catch(48),this.error({statusCode:e.t1.statusCode||"500",message:e.t1.message}),e.abrupt("return",o());case 77:if(k){e.next=80;break}return this.error({statusCode:404,message:"This page could not be found"}),e.abrupt("return",o());case 80:return e.next=82,Promise.all(_.map(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(r,i){var o,c,l,f,h,v,_,y,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r._path=Object(d.c)(t.matched[m[i]].path)(t.params),r._dataRefresh=!1,o=r._path!==O[i],R._routeChanged&&o?r._dataRefresh=!0:R._paramChanged&&o?(c=r.options.watchParam,r._dataRefresh=!1!==c):R._queryChanged&&(!0===(l=r.options.watchQuery)?r._dataRefresh=!0:Array.isArray(l)?r._dataRefresh=l.some((function(e){return R._diffQuery[e]})):"function"==typeof l&&(P||(P=Object(d.h)(t)),r._dataRefresh=l.apply(P[i],[t.query,n.query]))),R._hadError||!R._isMounted||r._dataRefresh){e.next=6;break}return e.abrupt("return");case 6:return f=[],h=r.options.asyncData&&"function"==typeof r.options.asyncData,v=Boolean(r.options.fetch)&&r.options.fetch.length,_=h&&v?30:45,h&&((y=Object(d.q)(r.options.asyncData,w.context)).then((function(e){Object(d.b)(r,e),R.$loading.increase&&R.$loading.increase(_)})),f.push(y)),R.$loading.manual=!1===r.options.loading,v&&((p=r.options.fetch(w.context))&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then((function(e){R.$loading.increase&&R.$loading.increase(_)})),f.push(p)),e.abrupt("return",Promise.all(f));case 14:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 82:l||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),o()),e.next=99;break;case 85:if(e.prev=85,e.t2=e.catch(29),"ERR_REDIRECT"!==(A=e.t2||{}).message){e.next=90;break}return e.abrupt("return",this.$nuxt.$emit("routeChanged",t,n,A));case 90:return O=[],Object(d.k)(A),"function"==typeof(V=(f.a.options||f.a).layout)&&(V=V(w.context)),e.next=96,this.loadLayout(V);case 96:this.error(A),this.$nuxt.$emit("routeChanged",t,n,A),o();case 99:case"end":return e.stop()}}),e,this,[[29,85],[48,73],[50,65,68,71]])}))),V.apply(this,arguments)}function R(e,n){Object(d.d)(e,(function(e,n,r,c){return"object"!==Object(t.a)(e)||e.options||((e=o.default.extend(e))._Ctor=e,r.components[c]=e),e}))}function D(e){var t=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(t=!1);var n=t?(f.a.options||f.a).layout:e.matched[0].components.default.options.layout;"function"==typeof n&&(n=n(w.context)),this.setLayout(n)}function L(e){e._hadError&&e._dateLastError===e.$options.nuxt.dateErr&&e.error()}function I(e,t){var n=this;if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var r=Object(d.h)(e),c=Object(d.g)(e),l=!1;o.default.nextTick((function(){r.forEach((function(e,i){if(e&&!e._isDestroyed&&e.constructor._dataRefresh&&c[i]===e.constructor&&!0!==e.$vnode.data.keepAlive&&"function"==typeof e.constructor.options.data){var t=e.constructor.options.data.call(e);for(var n in t)o.default.set(e.$data,n,t[n]);l=!0}})),l&&window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),L(n)}))}}function M(e){window.onNuxtReadyCbs.forEach((function(t){"function"==typeof t&&t(e)})),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(e),y.afterEach((function(t,n){o.default.nextTick((function(){return e.$nuxt.$emit("routeChanged",t,n)}))}))}function N(){return(N=Object(r.a)(regeneratorRuntime.mark((function e(t){var n,r,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w=t.app,y=t.router,t.store,n=new o.default(w),r=function(){n.$mount("#__nuxt"),y.afterEach(R),y.afterEach(D.bind(n)),y.afterEach(I.bind(n)),o.default.nextTick((function(){M(n)}))},e.next=7,Promise.all(P(w.context.route));case 7:if(c=e.sent,n.setTransitions=n.$options.nuxt.setTransitions.bind(n),c.length&&(n.setTransitions(S(c,y.currentRoute)),O=y.currentRoute.matched.map((function(e){return Object(d.c)(e.path)(y.currentRoute.params)}))),n.$loading={},x.error&&n.error(x.error),y.beforeEach(C.bind(n)),y.beforeEach(A.bind(n)),!x.serverRendered||!Object(d.n)(x.routePath,n.context.route.path)){e.next=16;break}return e.abrupt("return",r());case 16:return l=function(){R(y.currentRoute,y.currentRoute),D.call(n,y.currentRoute),L(n),r()},e.next=19,new Promise((function(e){return setTimeout(e,0)}));case 19:A.call(n,y.currentRoute,y.currentRoute,(function(path){if(path){var e=y.afterEach((function(t,n){e(),l()}));y.push(path,void 0,(function(e){e&&k(e)}))}else l()}));case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(f.b)(null,x.config).then((function(e){return N.apply(this,arguments)})).catch(k)}.call(this,n(52))},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(103);t.default=function(e){console.log("initialize.........");var t="";console.log("client side............");(t=document.location.href).indexOf("https://"),document.cookie;var n=new RegExp("((?<branch>[a-z0-9_\\-]+)\\.)?(?<env>(www|user|prod|test|local|local-rooter|test-jishuin|test-rooter|prod-jishuin|prod-rooter|rooter|jishuin|job|kaifain|test-job|test-kaifain))\\.proginn\\.com(\\:(?<port>\\d+))?","i").exec(t).groups,r="",o="",c="",l="";if(n){var d=n.branch,f=n.env;n.port;switch(f){case"www":default:r="https://www.proginn.com",l="https://www.proginn.com",o="https://jishuin.proginn.com",c="https://rooter.proginn.com";break;case"test":case"test-jishuin":case"test-rooter":r="https://"+d+".test.proginn.com",l="https://"+d+".test.proginn.com",o="https://"+d+".test-jishuin.proginn.com",c="https://"+d+".test-rooter.proginn.com";break;case"local":case"local-rooter":r="http://local.proginn.com",l="http://local.proginn.com",o="http://jishuin.local.proginn.com",c="http://rooter.local.proginn.com";break;case"prod":case"prod-jishuin":case"prod-rooter":r="https://"+d+".prod.proginn.com",l="https://"+d+".prod.proginn.com",o="https://"+d+".prod-jishuin.proginn.com",c="https://"+d+".prod-rooter.proginn.com"}}else r="https://www.proginn.com",l="https://www.proginn.com",o="https://jishuin.proginn.com",c="https://rooter.proginn.com";e.store.dispatch("user/getInfo"),e.store.commit("updateDomainConfig",{api:r,siteUrl:l,jishuinUrl:o,rooterUrl:c})}},,,,,,,,,,,,,function(e,t,n){"use strict";n(207)},function(e,t,n){"use strict";n(208)},,function(e,t,n){},function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},function(e,t,n){"use strict";n(209)},function(e,t,n){"use strict";n(210)},function(e,t,n){"use strict";n(211)},function(e,t,n){"use strict";n(212)},function(e,t,n){"use strict";n(213)},function(e,t,n){"use strict";n(214)},function(e,t,n){"use strict";n(215)},function(e,t,n){"use strict";n(216)},,,,function(e,t,n){"use strict";n(217)},function(e,t,n){"use strict";n(218)},function(e,t,n){"use strict";n(219)},,function(e,t,n){"use strict";n(220)},function(e,t,n){"use strict";n(221)},function(e,t,n){"use strict";n(222)},,,,function(e,t,n){"use strict";n(224)},function(e,t,n){"use strict";n(225)},function(e,t,n){"use strict";n(226)},function(e,t,n){"use strict";n(227)},function(e,t,n){var map={"./app.js":228,"./errorLog.js":229,"./permission.js":230,"./settings.js":231,"./tagsView.js":232,"./user.js":262};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(map,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return map[e]}r.keys=function(){return Object.keys(map)},r.resolve=o,e.exports=r,r.id=335}],[[274,122,1]]]);