window.__require=function e(t,o,n){function c(r,i){if(!o[r]){if(!t[r]){var a=r.split("/");if(a=a[a.length-1],!t[a]){var u="function"==typeof __require&&__require;if(!i&&u)return u(a,!0);if(s)return s(a,!0);throw new Error("Cannot find module '"+r+"'")}}var l=o[r]={exports:{}};t[r][0].call(l.exports,function(e){return c(t[r][1][e]||e)},l,l.exports,e,t,o,n)}return o[r].exports}for(var s="function"==typeof __require&&__require,r=0;r<n.length;r++)c(n[r]);return c}({Head:[function(e,t,o){"use strict";cc._RF.push(t,"dea35xZ8a5Klay0nWKyhT0G","Head");var n=e("route/Route");cc.Class({extends:n,properties:{},start:function(){}}),cc._RF.pop()},{"route/Route":void 0}],HelloWorld:[function(e,t,o){"use strict";cc._RF.push(t,"280c3rsZJJKnZ9RqbALVwtK","HelloWorld"),cc.Class({extends:cc.Component,properties:{label:{default:null,type:cc.Label},text:"Hello, World!"},onLoad:function(){this.label.string=this.text,cc.director.loadScene("Home")},update:function(e){}}),cc._RF.pop()},{}],NGame:[function(e,t,o){"use strict";cc._RF.push(t,"eecf3AqAoREpYBVO5cyXEpK","NGame");cc.Class({extends:cc.Component,properties:{},sets:function(e,t){cc.sys.localStorage.setItem(e,t)},gets:function(e){return cc.sys.localStorage.getItem(e)},remove:function(e){cc.sys.localStorage.removeItem(e)},Http:function(){},onLoad:function(){},start:function(){}}),cc._RF.pop()},{}],Nloading:[function(e,t,o){"use strict";cc._RF.push(t,"1e53flnS9tCurqrG9X1evFY","Nloading");var n=e("Head");cc.Class({extends:n,properties:{jdt:cc.Sprite},onLoad:function(){this.loading()},onKeyDown:function(){console.log("\u662f\u5feb\u5feb\u5feb")},loading:function(){cc.director.loadScene("Home")},start:function(){}}),cc._RF.pop()},{Head:"Head"}],Route:[function(e,t,o){"use strict";cc._RF.push(t,"797f3IlG+dA3LvsFv3r+fA7","Route");var n=e("NGame");cc.Class({extends:n,properties:{},getoken:function(e,t){var o=this;this.Http("/web/login/getoken",{userid:e},function(e){var t=e.data;if(1==t.bool){o.sets("token",t.token);var n=JSON.stringify(t);o.sets("user",n)}else{o.sets("token",t.token);var c=JSON.stringify(t);o.sets("user",c)}})},login:function(e){var t=this,o=this.getsParam("shop_token")?this.getsParam("shop_token"):1;this.Http("/web/login/logins",{shop_token:o},function(o){if(console.log("\u767b\u5f55\u6570\u636e",o),1==o.code){t.sets("token",o.data.token);var n=JSON.stringify(o.data);t.sets("user",n)}e(o)})}}),cc._RF.pop()},{NGame:"NGame"}]},{},["Head","HelloWorld","NGame","Nloading","Route"]);