(function(){var e={61:function(){!function(){function e(e,t,n){return e.getAttribute(t)||n}function t(e){return document.getElementsByTagName(e)}function n(){var n=t("script"),r=n.length,o=n[r-1];return{l:r,z:e(o,"zIndex",-1),o:e(o,"opacity",.5),c:e(o,"color","0,0,0"),n:e(o,"count",99)}}function r(){i=c.width=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,u=c.height=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}function o(){var e,t,n,r,c,l;f.clearRect(0,0,i,u),h.forEach((function(o,d){for(o.x+=o.xa,o.y+=o.ya,o.xa*=o.x>i||o.x<0?-1:1,o.ya*=o.y>u||o.y<0?-1:1,f.fillRect(o.x-.5,o.y-.5,1,1),t=d+1;t=e.max/2&&(o.x-=.03*r,o.y-=.03*c),n=(e.max-l)/e.max,f.beginPath(),f.lineWidth=n/2,f.strokeStyle="rgba("+s.c+","+(n+.2)+")",f.moveTo(o.x,o.y),f.lineTo(e.x,e.y),f.stroke()))})),d(o)}var i,u,a,c=document.createElement("canvas"),s=n(),l="c_n"+s.l,f=c.getContext("2d"),d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/45)},m=Math.random,p={x:null,y:null,max:2e4};c.id=l,c.style.cssText="position:fixed;top:0;left:0;z-index:"+s.z+";opacity:"+s.o,t("body")[0].appendChild(c),r(),window.onresize=r,window.onmousemove=function(e){e=e||window.event,p.x=e.clientX,p.y=e.clientY},window.onmouseout=function(){p.x=null,p.y=null};for(var h=[],v=0;s.n>v;v++){var g=m()*i,y=m()*u,w=2*m()-1,b=2*m()-1;h.push({x:g,y:y,xa:w,ya:b,max:6e3})}a=h.concat([p]),setTimeout((function(){o()}),100)}()},343:function(e,t,n){"use strict";var r=n(5647),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view"),n("el-backtop")],1)},i=[],u=(n(61),{name:"app",created(){this.$notify({title:"欢迎来到吃啥-智能菜谱推荐系统",message:"学习交流所用,切勿作其他用途",position:"top-left",type:"success",duration:8e3});var e=JSON.parse(window.localStorage.getItem("userMenuRecord"));e||window.localStorage.setItem("userMenuRecord",JSON.stringify([]))},mounted(){var e=this.$cookies.get("token");e&&(window.sessionStorage.setItem("user",JSON.stringify(e)),this.$router.push("/eat"))}}),a=u,c=n(5471),s=(0,c.Z)(a,o,i,!1,null,null,null),l=s.exports,f=n(8128);r["default"].use(f.Z);const d=()=>n.e(450).then(n.bind(n,5450)),m=()=>n.e(279).then(n.bind(n,279)),p=()=>n.e(401).then(n.bind(n,1401)),h=new f.Z({routes:[{path:"/",redirect:"/home"},{path:"/login",component:m},{path:"/home",component:d,redirect:"/eat",children:[{path:"/eat",component:p}]}]});h.beforeEach(((e,t,n)=>{const r=JSON.parse(window.sessionStorage.getItem("user"));"/eat"===e.path?null!==r?n():n("/login"):n()}));var v=h,g=n(6490);r["default"].use(g.ZP);var y=new g.ZP.Store({state:{userInfoVisible:!1,userMenuRecordDrawerVisible:!1,userName:""},mutations:{SetUserInfoVisible(e,t){e.userInfoVisible=t},SetUserMenuRecordDrawerVisible(e,t){e.userMenuRecordDrawerVisible=t},SetUserName(e,t){e.userName=t}}}),w=n(174),b=n.n(w);r["default"].use(b());var x=n(2081),S=n.n(x),k=n(3854),O=n.n(k),E=n(2246),T=n.n(E);r["default"].use(T()),r["default"].config.productionTip=!1,S().interceptors.request.use((e=>(O().start(),e))),S().interceptors.response.use((e=>(O().done(),e))),r["default"].prototype.$http=S(),S().defaults.baseURL="/api",new r["default"]({router:v,store:y,render:e=>e(l)}).$mount("#app")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.m=e,function(){var e=[];n.O=function(t,r,o,i){if(!r){var u=1/0;for(l=0;l=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[c])}))?r.splice(c--,1):(a=!1,i0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,o,i]}}(),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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{279:"689686ad",401:"0c0acf06",450:"615bf015"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+".4a465870.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="eatwhat:";n.l=function(r,o,i,u){if(e[r])e[r].push(o);else{var a,c;if(void 0!==i)for(var s=document.getElementsByTagName("script"),l=0;l