1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
(function(){var e={2685:function(){window._iconfont_svg_string_4573698='<svg><symbol id="icon-yuyin" viewBox="0 0 1024 1024"><path d="M512 742.4c-131.413333 0-238.933333-107.52-238.933333-238.933333v-204.8c0-131.413333 107.52-238.933333 238.933333-238.933334s238.933333 107.52 238.933333 238.933334v204.8c0 131.413333-107.52 238.933333-238.933333 238.933333z m0-614.4c-93.866667 0-170.666667 76.8-170.666667 170.666667v204.8c0 93.866667 76.8 170.666667 170.666667 170.666666s170.666667-76.8 170.666667-170.666666v-204.8c0-93.866667-76.8-170.666667-170.666667-170.666667z" fill="#3793DF" ></path><path d="M512 844.8c-187.733333 0-341.333333-153.6-341.333333-341.333333 0-18.773333 15.36-34.133333 34.133333-34.133334s34.133333 15.36 34.133333 34.133334c0 150.186667 122.88 273.066667 273.066667 273.066666s273.066667-122.88 273.066667-273.066666c0-18.773333 15.36-34.133333 34.133333-34.133334s34.133333 15.36 34.133333 34.133334c0 187.733333-153.6 341.333333-341.333333 341.333333z" fill="#3793DF" ></path><path d="M512 930.133333c-18.773333 0-34.133333-15.36-34.133333-34.133333v-68.266667c0-18.773333 15.36-34.133333 34.133333-34.133333s34.133333 15.36 34.133333 34.133333v68.266667c0 18.773333-15.36 34.133333-34.133333 34.133333z" fill="#3793DF" ></path><path d="M853.333333 964.266667H170.666667c-18.773333 0-34.133333-15.36-34.133334-34.133334s15.36-34.133333 34.133334-34.133333h682.666666c18.773333 0 34.133333 15.36 34.133334 34.133333s-15.36 34.133333-34.133334 34.133334z" fill="#3793DF" ></path><path d="M580.266667 264.533333h-136.533334c-18.773333 0-34.133333-15.36-34.133333-34.133333s15.36-34.133333 34.133333-34.133333h136.533334c18.773333 0 34.133333 15.36 34.133333 34.133333s-15.36 34.133333-34.133333 34.133333zM580.266667 435.2h-136.533334c-18.773333 0-34.133333-15.36-34.133333-34.133333s15.36-34.133333 34.133333-34.133334h136.533334c18.773333 0 34.133333 15.36 34.133333 34.133334s-15.36 34.133333-34.133333 34.133333zM580.266667 605.866667h-136.533334c-18.773333 0-34.133333-15.36-34.133333-34.133334s15.36-34.133333 34.133333-34.133333h136.533334c18.773333 0 34.133333 15.36 34.133333 34.133333s-15.36 34.133333-34.133333 34.133334z" fill="#EB4AF4" ></path></symbol><symbol id="icon-xianshi" viewBox="0 0 1039 1024"><path d="M520.677966 906.365348c-254.553672 0-462.824859-146.561205-462.824859-327.834275s208.271186-327.834275 462.824859-327.834275 462.824859 146.561205 462.824859 327.834275-208.271186 327.834275-462.824859 327.834275z m0-578.531073c-212.12806 0-385.687382 111.849341-385.687382 250.696798s173.559322 250.696798 385.687382 250.696799 385.687382-111.849341 385.687382-250.696799c0-136.919021-173.559322-250.696798-385.687382-250.696798z" fill="#388CEB" ></path><path d="M520.677966 752.090395c-96.421846 0-173.559322-77.137476-173.559322-173.559322s77.137476-173.559322 173.559322-173.559322 173.559322 77.137476 173.559322 173.559322-77.137476 173.559322-173.559322 173.559322z m0-269.981167c-53.996234 0-96.421846 42.425612-96.421845 96.421845s42.425612 96.421846 96.421845 96.421846 96.421846-42.425612 96.421846-96.421846c0-52.067797-42.425612-96.421846-96.421846-96.421845z" fill="#E78E00" ></path></symbol><symbol id="icon-yujing" viewBox="0 0 1024 1024"><path d="M493.12 640V474.88H352L524.8 256v139.52H672L493.12 640z" fill="#0082FF" ></path><path d="M736 702.72V352a224 224 0 0 0-448 0v350.72h448z m-576 128V352a352 352 0 0 1 704 0v478.72H160z" fill="#0082FF" ></path><path d="M32 896h960v128H32z" fill="#0082FF" ></path></symbol><symbol id="icon-tubiaoji_tupianshibie" viewBox="0 0 1024 1024"><path d="M230.3 206.04m78.86 0l448.4 0q78.86 0 78.86 78.86l0 448.4q0 78.86-78.86 78.86l-448.4 0q-78.86 0-78.86-78.86l0-448.4q0-78.86 78.86-78.86Z" fill="#EFEFEF" ></path><path d="M140.6 354.84a16 16 0 0 1-16-16v-222a16 16 0 0 1 16-16h245.82a16 16 0 0 1 0 32H156.6v206a16 16 0 0 1-16 16zM386.42 912.78H140.6a16 16 0 0 1-16-16V629.6a16 16 0 0 1 32 0v251.18h229.82a16 16 0 0 1 0 32zM920.6 912.78H677.16a16 16 0 0 1 0-32H904.6V629.6a16 16 0 0 1 32 0v267.18a16 16 0 0 1-16 16zM920.6 354.84a16 16 0 0 1-16-16v-206H677.16a16 16 0 0 1 0-32H920.6a16 16 0 0 1 16 16v222a16 16 0 0 1-16 16z" fill="#18659E" ></path><path d="M775.38 696.96H288.44V316.58h486.94v380.38z" fill="#FFFFFF" ></path><path d="M775.38 712.96H288.44a16 16 0 0 1-16-16V316.58a16 16 0 0 1 16-16h486.94a16 16 0 0 1 16 16v380.38a16 16 0 0 1-16 16z m-470.94-32h454.94V332.58H304.44z" fill="#18659E" ></path><path d="M410.36 431.04l-121.92 120.76v145.16h486.94v-162.94 101.96l-121.94-116.46-103.9 79.2-139.18-167.68z" fill="#99D1FF" ></path><path d="M775.38 712.96H288.44a16 16 0 0 1-16-16V551.8a16 16 0 0 1 4.74-11.36l122-120.76a16 16 0 0 1 23.58 1.14L552 576.68l91.7-69.9a16 16 0 0 1 20.76 1.16l94.88 90.62V534a16 16 0 0 1 32 0v162.94a16 16 0 0 1-15.96 16.02z m-470.94-32h454.94v-38.14l-107.1-102.28-93.04 70.92a16 16 0 0 1-22-2.5l-128-154.24-104.76 103.76z" fill="#18659E" ></path><path d="M639.72 431.04m-47.06 0a47.06 47.06 0 1 0 94.12 0 47.06 47.06 0 1 0-94.12 0Z" fill="#99D1FF" ></path><path d="M639.72 494a63.06 63.06 0 1 1 63.06-63.06A63.12 63.12 0 0 1 639.72 494z m0-94.1a31.06 31.06 0 1 0 31.06 31.06A31.08 31.08 0 0 0 639.72 400z" fill="#18659E" ></path></symbol></svg>',function(e){var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss");t=t.getAttribute("data-disable-injectsvg");if(!t){var o,i,a,r,c,l=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}o=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_4573698,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?l(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),o()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=o,r=e.document,c=!1,s(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,u())})}function u(){c||(c=!0,a())}function s(){try{r.documentElement.doScroll("left")}catch(t){return void setTimeout(s,50)}u()}}(window)},6335:function(e,t,n){"use strict";n(4114),n(6095);var o=n(5130),i=n(6768);function a(e,t){const n=(0,i.g2)("router-view");return(0,i.uX)(),(0,i.Wv)(n)}var r=n(1241);const c={},l=(0,r.A)(c,[["render",a]]);var u=l,s=n(1387),d=n(782);const f=[{path:"/login",name:"login",component:()=>Promise.all([n.e(960),n.e(233),n.e(718),n.e(193)]).then(n.bind(n,6193))},{path:"/reset",name:"reset",component:()=>Promise.all([n.e(960),n.e(233),n.e(718),n.e(239)]).then(n.bind(n,5239))},{path:"/",name:"home",component:()=>Promise.all([n.e(960),n.e(506),n.e(419)]).then(n.bind(n,2869))},{path:"/recognition",name:"recognition",component:()=>Promise.all([n.e(960),n.e(233),n.e(506),n.e(718),n.e(149),n.e(619)]).then(n.bind(n,696))},{path:"/info",name:"info",component:()=>Promise.all([n.e(960),n.e(233),n.e(506),n.e(149),n.e(928)]).then(n.bind(n,3133))},{path:"/warning",name:"warning",component:()=>Promise.all([n.e(960),n.e(506),n.e(772)]).then(n.bind(n,1351))},{path:"/Footer",name:"Footer",component:()=>Promise.all([n.e(960),n.e(769)]).then(n.bind(n,6769))}],h=(0,s.aE)({history:(0,s.Bt)(),routes:f});h.beforeEach(((e,t,n)=>{const o=(0,d.Pj)();"/login"===e.path||o.state.isAuthenticated?n():n("/login")}));var p=h,m=(0,d.y$)({state:{isAuthenticated:!1},mutations:{setAuthenticated(e,t){e.isAuthenticated=t}},actions:{login({commit:e},t){e("setAuthenticated",!0)}},modules:{}});n(8628),n(2685);function v(){"192.168.4.1"===window.location.hostname?(console.log("in local"),g()):b()}function g(){m.state.isAuthenticated||p.push("/login")}function b(){m.commit("setAuthenticated",!0)}const y=(0,o.Ef)(u);v(),y.use(m).use(p).mount("#app")}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.m=e,function(){var e=[];n.O=function(t,o,i,a){if(!o){var r=1/0;for(s=0;s<e.length;s++){o=e[s][0],i=e[s][1],a=e[s][2];for(var c=!0,l=0;l<o.length;l++)(!1&a||r>=a)&&Object.keys(n.O).every((function(e){return n.O[e](o[l])}))?o.splice(l--,1):(c=!1,a<r&&(r=a));if(c){e.splice(s--,1);var u=i();void 0!==u&&(t=u)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[o,i,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{149:"2f4f7417",193:"256e1126",233:"a1cddea4",239:"1c6f4606",419:"a70e3c85",506:"70402c53",619:"a1ca49f9",718:"62d77b72",769:"9bee6fb6",772:"ea12d9e4",928:"aebea282",960:"29de40e4"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{193:"0c29947b",239:"fd5d7b06",419:"832a40ea",619:"93201e95",718:"dc007c1e",769:"522c5d34",772:"fdf33262",928:"e3bab1c5",960:"56b57727"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="set-vue:";n.l=function(o,i,a,r){if(e[o])e[o].push(i);else{var c,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var d=u[s];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==t+a){c=d;break}}c||(l=!0,c=document.createElement("script"),c.charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+a),c.src=o),e[o]=[i];var f=function(t,n){c.onerror=c.onload=null,clearTimeout(h);var i=e[o];if(delete e[o],c.parentNode&&c.parentNode.removeChild(c),i&&i.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),l&&document.head.appendChild(c)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.p=""}(),function(){if("undefined"!==typeof document){var e=function(e,t,o,i,a){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",n.nc&&(r.nonce=n.nc);var c=function(n){if(r.onerror=r.onload=null,"load"===n.type)i();else{var o=n&&n.type,c=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+c+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=c,r.parentNode&&r.parentNode.removeChild(r),a(l)}};return r.onerror=r.onload=c,r.href=t,o?o.parentNode.insertBefore(r,o.nextSibling):document.head.appendChild(r),r},t=function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var i=n[o],a=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var r=document.getElementsByTagName("style");for(o=0;o<r.length;o++){i=r[o],a=i.getAttribute("data-href");if(a===e||a===t)return i}},o=function(o){return new Promise((function(i,a){var r=n.miniCssF(o),c=n.p+r;if(t(r,c))return i();e(o,c,null,i,a)}))},i={524:0};n.f.miniCss=function(e,t){var n={193:1,239:1,419:1,619:1,718:1,769:1,772:1,928:1,960:1};i[e]?t.push(i[e]):0!==i[e]&&n[e]&&t.push(i[e]=o(e).then((function(){i[e]=0}),(function(t){throw delete i[e],t})))}}}(),function(){var e={524:0};n.f.j=function(t,o){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)o.push(i[2]);else{var a=new Promise((function(n,o){i=e[t]=[n,o]}));o.push(i[2]=a);var r=n.p+n.u(t),c=new Error,l=function(o){if(n.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){var a=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+r+")",c.name="ChunkLoadError",c.type=a,c.request=r,i[1](c)}};n.l(r,l,"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,o){var i,a,r=o[0],c=o[1],l=o[2],u=0;if(r.some((function(t){return 0!==e[t]}))){for(i in c)n.o(c,i)&&(n.m[i]=c[i]);if(l)var s=l(n)}for(t&&t(o);u<r.length;u++)a=r[u],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return n.O(s)},o=self["webpackChunkset_vue"]=self["webpackChunkset_vue"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var o=n.O(void 0,[504],(function(){return n(6335)}));o=n.O(o)})(); |