webpackJsonp([45],{CCn6:function(t,e,n){"use strict";vara=n("7+uW"),o=(n("eqfM"),n("/QYm")),i=n("//Fk"),r=n.n(i),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),f=n("YaEn"),d=n("sf/l");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(t){vare=localStorage.getItem("cc_token");if(t.headers["Content-Type"]||(t.headers={"Content-Type":"application/json"}),e&&(t.headers.token=e),"get"===t.method&&"/api/admin/login"!==t.url){t.params=t.params||{},t.params.v="06271600";varn=JSON.parse(u()(t.params));for(varainn)null===n[a]&&(n[a]=""),"string"==typeofn[a]&&(t.params[a]=t.params[a].replace(/(^\s*)|(\s*$)/g,""),n[a]=n[a].replace(/(^\s*)|(\s*$)/g,"")),n[a]=h()(n[a].toString());n.sing="singsingenglish21000",d.a.getUrlParam().chang_test_user_id,t.params.param_token=h()(u()(n)),t.params.v="06271600"}elseif("/api/admin/login"!==t.url){t.data=t.data||{},t.data.v="06271600";varo=JSON.parse(u()(t.data));for(variino)null===o[i]&&(o[i]=""),"string"==typeofo[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),o[i]=o[i].replace(/(^\s*)|(\s*$)/g,"")),o[i]=h()(o[i].toString());o.sing="singsingenglish21000",d.a.getUrlParam().chang_test_user_id,t.data.param_token=h()(u()(o)),t.data.v="06271600"}returnt},function(t){returnr.a.reject(t)}),s.a.interceptors.response.use(function(t){return501===t.data.code&&f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),t},function(t){returnr.a.reject(t)}),n.d(e,"c",function(){returng}),n.d(e,"Q",function(){returny}),n.d(e,"q",function(){returnw}),n.d(e,"I",function(){returnv}),n.d(e,"T",function(){returnb}),n.d(e,"X",function(){return_}),n.d(e,"W",function(){return$}),n.d(e,"i",function(){returnS}),n.d(e,"j",function(){returnP}),n.d(e,"N",function(){returnk}),n.d(e,"w",function(){returnN}),n.d(e,"o",function(){returnT}),n.d(e,"v",function(){returnI}),n.d(e,"K",function(){returnU}),n.d(e,"_1",function(){returnx}),n.d(e,"s",function(){returnO}),n.d(e,"A",function(){returnA}),n.d(e,"B",function(){returnD}),n.d(e,"O",function(){returnE}),n.d(e,"H",function(){returnM}),n.d(e,"m",function(){returnR}),n.d(e,"r",function(){returnC}),n.d(e,"u",function(){returnj}),n.d(e,"t",function(){returnL}),n.d(e,"Z",function(){returnq}),n.d(e,"e",function(){returnW}),n.d(e,"S",function(){returnY}),n.d(e,"J",function(){returnQ}),n.d(e,"b",function(){returnG}),n.d(e,"h",function(){returnB}),n.d(e,"C",function(){returnJ}),n.d(e,"D",function(){returnK}),n.d(e,"E",function(){returnV}),n.d(e,"L",function(){returnF}),n.d(e,"M",function(){returnH}),n.d(e,"a",function(){returnX}),n.d(e,"P",function(){returnz}),n.d(e,"U",function(){returnZ}),n.d(e,"p",function(){returntt}),n.d(e,"n",function(){returnet}),n.d(e,"V",function(){returnnt}),n.d(e,"k",function(){returnat}),n.d(e,"l",function(){returnot}),n.d(e,"G",function(){returnit}),n.d(e,"x",function(){returnrt}),n.d(e,"z",function(){returnct}),n.d(e,"y",function(){returnut}),n.d(e,"_2",function(){returnlt}),n.d(e,"d",function(){returnst}),n.d(e,"g",function(){returnpt}),n.d(e,"f",function(){returnht}),n.d(e,"_0",function(){returnft}),n.d(e,"R",function(){returndt}),n.d(e,"Y",function(){returnmt}),n.d(e,"F",function(){returngt});varm="https://wechat.changchangenglish.com/";a.default.prototype.$post=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$fetch=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.get(t,{params:e}).then(function(t){if(200===t.data.code)n(t.data.data);elseif(501===t.data.code){a(t.data);vare={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),e.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}elseif(503===t.data.code)a(t.data);elseif(506===t.data.code){a(t.data);vari={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),i.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}elsea(t.data),Object(o.a)(t.data.msg)}).catch(function(t){a(t)})})},a.default.prototype.$patch=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$put=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$del=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$upload=function(t,e){returnnewr.a(function(n,a){vari=parseInt(Number(e.file.size)/Number(10485760)+1),r=0;!functionc(){varu=newFormData,l=e.file.slice(1024*r*1024*10,1024*(r+1)*1024*10);u.append("chunk",r),u.append("file_name",e.file.name),u.append("count",i),u.append("type",e.type),u.append("file",l),s.a.post(t,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(t){}}).then(function(t){200===t.data.code?r+1<i?(r++,c()):(r=0,n(t.data.data)):Object(o.a)(t.data.msg)}).catch(function(t){a(t)})}()})},a.default.prototype.$ret2=function(t){returnnewr.a(function(e,n){s.a.get(t).then(function(t){e(t.data)}).catch(function(t){n(t)})})};varg=function(t,e){returna.default.prototype.$fetch("/api/client/banner/list/"+t,e)},y=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",t)},w=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+t)},v=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},b=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",t)},_=function(t){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",t)},$=function(t){returna.default.prototype.$post(m+"api/client/user/starActivity/address",t)},S=function(t,e){returna.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+e,t)},P=function(t){returna.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",t)},k=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},N=function(t,e){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+t,e)},T=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+t)},I=function(t,e,n){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+t+"/"+e+"/"+n)},U=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},x=function(t,e,n,o){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+t+"/"+e+"/"+n,o)},O=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+t)},A=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+t)},D=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",t)},E=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report")},M=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",t)},R=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:t})},C=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",t)},j=function(t,e){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+e,t)},L=function(t,e){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+e,t)},q=function(t){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",t)},W=function(t){returna.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",t)},Y=function(t,e){returna.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",t)},Q=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",t)},G=function(t){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",t)},B=function(t){returna.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+t)},J=function(t){returna.default.prototype.$fetch("/api/client/user/watch/report/"+t)},K=function(){returna.default.prototype.$fetch("/api/client/share/goods")},V=function(t){returna.default.prototype.$fetch("/api/public/short/url",t)},F=function(){returna.default.prototype.$fetch("/api/client/user/last/integral")},H=function(t){returna.default.prototype.$fetch("/api/client/user/integral",t)},X=function(t){returna.default.prototype.$put("/api/client/user/mobile/bind/exchange",t)},z=function(t){returna.default.prototype.$fetch("/api/client/yunji/config",t)},Z=function(t){returna.default.prototype.$post("/api/client/user/add/class/"+t)},tt=function(){returna.default.prototype.$fetch("/api/client/user/course/status")},et=function(t){returnt?a.default.prototype.$fetch("/api/client/user/course/info",{periods_id:t}):a.default.prototype.$fetch("/api/client/user/course/info")},nt=function(t){returna.default.prototype.$put("/api/client/me/set",t)},at=function(t,e){returna.default.prototype.$fetch("/api/client/course/automation/list/"+t+"/"+e)},ot=function(){returna.default.prototype.$fetch("/api/client/recommend/conversion/goods")},it=function(){returna.default.prototype.$fetch("/api/client/user/last/integral")},rt=function(){returna.default.prototype.$fetch("/api/client/user/luckDraw")},ct=function(){returna.default.prototype.$fetch("/api/client/user/luckDraw/judge")},ut=function(){returna.default.prototype.$fetch("/api/client/user/luckDraw/rand")},lt=function(){returna.default.prototype.$fetch("/api/client/user/unbind/sub")},st=function(t){returna.default.prototype.$fetch("/api/client/user/bind/sub/"+t)},pt=function(){returna.default.prototype.$fetch("/api/client/user/generate/authorization")},ht=function(){returna.default.prototype.$fetch("/api/client/user/bind/chance")},ft=function(){returna.default.prototype.$fetch("/api/client/user/sub/info")},dt=function(t){returna.default.prototype.$fetch("/api/client/user/main/info/"+t)},mt=function(t){returna.default.prototype.$fetch("/api/client/user/click/link/"+t)},gt=function(){returna.default.prototype.$fetch("/api/client/user/starActivity")}},IcnI:function(t,e,n){"use strict";vara=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(t,e){t.token=e,localStorage.setItem("cc_token",e)},transitionGo:function(t){t.transitionName="slide-left"},transitionBack:function(t){t.transitionName="slide-right"},isMobile:function(t,e){t.isMobile=e},isWatchDetail:function(t,e){t.watchDetail=e},isClassQuery:function(t,e){t.classQuery=e},isCouponShadow:function(t,e){t.couponShadow=e}});a.default.use(o.a);e.a=newo.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1},mutations:i,actions:{setToken:function(t,e){(0,t.commit)("setToken",e)},isMobile:function(t,e){(0,t.commit)("isMobile",e)},setWatchDetail:function(t,e){(0,t.commit)("isWatchDetail",e)},setClassQuery:function(t,e){(0,t.commit)("isClassQuery",e)},setCouponShadow:function(t,e){(0,t.commit)("isCouponShadow",e)}}})},JKiR:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("mMXg");vara=n("qYlo"),o=(n("qVvv"),n("8aUD")),i=(n("3Lne"),n("SSsa")),r=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){vart=this.$createElement,e=this._self._c||t;returne("div",{attrs:{id:"app"}},[e("transition",{attrs:{name:"fade"}},[this._v(">\n "),e("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};vars=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(t){n("U6p7")},null,null).exports,p=n("YaEn"),h=n("IcnI"),f=n("Au9i"),d=n.n(f),m=n("wvfG"),g=n.n(m),y=n("uYVh"),w=n.n(y),v=(n("d8/S"),n("bOdI")),b=n.n(v),_=n("GQaK"),$={props:{probeType:{type:Number,default:1},click:{type:Boolean,default:!0},listenScroll:{type:Boolean,default:!1},data:{type:Array,default:null},pullup:{type:Boolean,default:!1},pulldown:{type:Boolean,default:!1},beforeScroll:{type:Boolean,default:!1},refreshDelay:{type:Number,default:100},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){vart=this;setTimeout(function(){t._initScroll()},20)},methods:b()({_initScroll:function(){vart=this;if(this.$refs.wrapper){if(this.scroll=new_.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){vare=this;this.scroll.on("scroll",function(t){e.$emit("scroll",t)})}this.pullup&&this.scroll.on("scrollEnd",function(){t.scroll.y<=t.scroll.maxScrollY+10&&t.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(e){e.y>50&&t.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScroll")})}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(t,e,n){this.scroll&&this.scroll.scrollTo(t,e,n)},scrollToElement:function(t,e){this.scroll&&this.scroll.scrollToElement(t,e)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){vart=this;setTimeout(function(){t.refresh()},this.refreshDelay)}}},S={render:function(){vart=this.$createElement;return(this._self._c||t)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};varP=n("VU/8")($,S,!1,function(t){n("PPRt")},"data-v-a6e3a066",null).exports;u.default.config.productionTip=!1,u.default.prototype.$sa=w.a,u.default.prototype.$sa.init({server_url:"http://47.107.250.38:8106/sa?project=production",show_log:!1,heatmap:{clickmap:"default",scroll_notice_map:"default"},is_track_single_page:!0}),u.default.prototype.$sa.quick("autoTrack"),u.default.use(d.a),u.default.use(g.a),u.default.use(a.a).use(o.a).use(i.a).use(r.a).use(c.a),u.default.component("scroll",P),p.a.beforeEach(function(t,e,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),newu.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(t){if(null==this)thrownewTypeError("Array.prototype.find called on null or undefined");if("function"!=typeoft)thrownewTypeError("predicate must be a function");for(vare,n=Object(this),a=n.length>>>0,o=arguments[1],i=0;i<a;i++)if(e=n[i],t.call(o,e,i,n))returne})},PPRt:function(t,e){},U6p7:function(t,e){},YaEn:function(t,e,n){"use strict";vara=n("mvHQ"),o=n.n(a),i=n("7+uW"),r=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");i.default.use(u.a);varh={versions:function(){vart=navigator.userAgent;navigator.appVersion;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Linux")>-1,iPhone:t.indexOf("iPhone")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1==t.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},f=window.navigator.userAgent.toLowerCase(),d=newu.a({routes:[{path:"/",name:"index",component:function(t){returnPromise.all([n.e(0),n.e(16)]).then(function(){vare=[n("dAjm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,title:"唱唱启蒙"}},{path:"/orderTrans",name:"orderTrans",component:function(t){returnn.e(14).then(function(){vare=[n("qPDM")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(t){returnn.e(12).then(function(){vare=[n("784L")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(t){returnPromise.all([n.e(0),n.e(35)]).then(function(){vare=[n("JxbE")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(t){returnn.e(18).then(function(){vare=[n("9K06")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/address",name:"Address",component:function(t){returnPromise.all([n.e(0),n.e(31)]).then(function(){vare=[n("kZy8")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(t){returnPromise.all([n.e(0),n.e(36)]).then(function(){vare=[n("TEQG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(t){returnn.e(7).then(function(){vare=[n("De9k")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(t){returnPromise.all([n.e(0),n.e(25)]).then(function(){vare=[n("YaSr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(t){returnPromise.all([n.e(0),n.e(26)]).then(function(){vare=[n("v+uu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(t){returnPromise.all([n.e(0),n.e(27)]).then(function(){vare=[n("xi8t")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(t){returnn.e(43).then(function(){vare=[n("2tJf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(t){returnPromise.all([n.e(0),n.e(42)]).then(function(){vare=[n("sj+b")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(t){returnPromise.all([n.e(0),n.e(15)]).then(function(){vare=[n("UFvj")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(t){returnPromise.all([n.e(0),n.e(21)]).then(function(){vare=[n("IKJm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(t){returnn.e(22).then(function(){vare=[n("RaOr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(t){returnPromise.all([n.e(0),n.e(1)]).then(function(){vare=[n("4t0V")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/star",name:"star",component:function(t){returnPromise.all([n.e(0),n.e(3)]).then(function(){vare=[n("riDf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(t){returnPromise.all([n.e(0),n.e(8)]).then(function(){vare=[n("54Ry")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(t){returnPromise.all([n.e(0),n.e(40)]).then(function(){vare=[n("P3Wy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(t){returnPromise.all([n.e(0),n.e(20)]).then(function(){vare=[n("HgUD")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(t){returnPromise.all([n.e(0),n.e(19)]).then(function(){vare=[n("R7Pr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(t){returnPromise.all([n.e(0),n.e(37)]).then(function(){vare=[n("Eg0l")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(t){returnn.e(32).then(function(){vare=[n("sA+T")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(t){returnPromise.all([n.e(0),n.e(28)]).then(function(){vare=[n("bNYG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(t){returnPromise.all([n.e(0),n.e(2)]).then(function(){vare=[n("Y1ei")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(t){returnPromise.all([n.e(0),n.e(11)]).then(function(){vare=[n("IF8E")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(t){returnPromise.all([n.e(0),n.e(41)]).then(function(){vare=[n("w9eS")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(t){returnPromise.all([n.e(0),n.e(6)]).then(function(){vare=[n("3QU7")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(t){returnn.e(30).then(function(){vare=[n("wSE2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(t){returnn.e(24).then(function(){vare=[n("/Vxk")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(t){returnPromise.all([n.e(0),n.e(4)]).then(function(){vare=[n("yYpN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(t){returnPromise.all([n.e(0),n.e(9)]).then(function(){vare=[n("aRHX")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(t){returnn.e(17).then(function(){vare=[n("eZU3")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(t){returnPromise.all([n.e(0),n.e(10)]).then(function(){vare=[n("PTpu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(t){returnn.e(23).then(function(){vare=[n("nmbt")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(t){returnPromise.all([n.e(0),n.e(13)]).then(function(){vare=[n("VPne")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(t){returnPromise.all([n.e(0),n.e(38)]).then(function(){vare=[n("6IIy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(t){returnn.e(29).then(function(){vare=[n("SLI2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(t){returnPromise.all([n.e(0),n.e(33)]).then(function(){vare=[n("f0iw")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(t){returnPromise.all([n.e(0),n.e(5)]).then(function(){vare=[n("NVDN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(t){returnPromise.all([n.e(0),n.e(34)]).then(function(){vare=[n("5QmN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"*",component:function(t){returnPromise.all([n.e(0),n.e(39)]).then(function(){vare=[n("Zazt")];t.apply(null,e)}.bind(this)).catch(n.oe)}}]});d.beforeEach(function(t,e,n){i.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==f.match(/MicroMessenger/i)||"_sq_"==f.match(/_SQ_/i)?"noWechat"==t.name&&(t.query.url?n(decodeURIComponent(t.query.url)):n({name:"index"})):"noWechat"!==t.name&&n({name:"noWechat",query:{url:encodeURIComponent(t.fullPath)}}),r.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",t.name;vara=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){vart=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(t)}elsen()};if("author"===t.name||"bindMobile"===t.name||"noWechat"===t.name||"inspectorActivit"===t.name)n();elseif(window.location.href.indexOf("token")>-1&&"index"===t.name){varu=c.a.getUrlParam().token||t.query.token;r.a.dispatch("setToken",u),Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(t){localStorage.getItem("userDesc")&&a()})}elseif(localStorage.getItem("cc_token"))r.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),a()):Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(){localStorage.getItem("userDesc")&&a()});else{varl={retUrl:t.fullPath};localStorage.setItem("retUrl",t.fullPath),window.location.href.indexOf("gdt_vid")>-1&&localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),t.meta.noNew?(l.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"):window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1"}}),e.a=d},"d8/S":function(t,e){},eh36:function(t,e){},hW8u:function(t,e){},nsZj:function(t,e){},"sf/l":function(t,e,n){"use strict";e.a={dateFmt:function(t,e){varn={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(varain/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)newRegExp("("+a+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[a]:("00"+n[a]).substr((""+n[a]).length)));returne},getUrlParam:function(){vart=location.search,e=newObject;if(-1!=t.indexOf("?"))for(varn=t.substr(1).split("&"),a=0;a<n.length;a++)e[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);returne},toDataURL:function(t,e){varn=newXMLHttpRequest;n.onload=function(){vart=newFileReader;t.onloadend=function(){e(t.result)},t.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",t,!0),n.send()},getParamhref:function(){vart=location.href,e=newObject;if(-1!=t.indexOf("?"))for(varn=t.substr(t.indexOf("?")+1).split("&"),a=0;a<n.length;a++)e[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);returne},leftTimer:function(t,e){if(t>newDate)varn=t-newDate;else{e&&clearInterval(e);n=0}vara=parseInt(n/1e3/60/60/24,10),o=parseInt(n/1e3/60/60%24,10),i=parseInt(n/1e3/60%60,10),r=parseInt(n/1e3%60,10);returna=this.checkTime(a),o=this.checkTime(o),i=this.checkTime(i),r=this.checkTime(r),a>0?a+"天":o>=0||i>=0||r>=0?o+":"+i+":"+r:void0},checkTime:function(t){returnt<10&&(t="0"+t),t}}},zSLJ:function(t,e,n){"use strict"}},["NHnr"]);
\ No newline at end of file
webpackJsonp([45],{CCn6:function(t,e,n){"use strict";vara=n("7+uW"),o=(n("eqfM"),n("/QYm")),i=n("//Fk"),r=n.n(i),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),f=n("YaEn"),d=n("sf/l");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(t){vare=localStorage.getItem("cc_token");if(t.headers["Content-Type"]||(t.headers={"Content-Type":"application/json"}),e&&(t.headers.token=e),"get"===t.method&&"/api/admin/login"!==t.url){t.params=t.params||{},t.params.v="06281600";varn=JSON.parse(u()(t.params));for(varainn)null===n[a]&&(n[a]=""),"string"==typeofn[a]&&(t.params[a]=t.params[a].replace(/(^\s*)|(\s*$)/g,""),n[a]=n[a].replace(/(^\s*)|(\s*$)/g,"")),n[a]=h()(n[a].toString());n.sing="singsingenglish21000",d.a.getUrlParam().chang_test_user_id,t.params.param_token=h()(u()(n)),t.params.v="06281600"}elseif("/api/admin/login"!==t.url){t.data=t.data||{},t.data.v="06281600";varo=JSON.parse(u()(t.data));for(variino)null===o[i]&&(o[i]=""),"string"==typeofo[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),o[i]=o[i].replace(/(^\s*)|(\s*$)/g,"")),o[i]=h()(o[i].toString());o.sing="singsingenglish21000",d.a.getUrlParam().chang_test_user_id,t.data.param_token=h()(u()(o)),t.data.v="06281600"}returnt},function(t){returnr.a.reject(t)}),s.a.interceptors.response.use(function(t){return501===t.data.code&&f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),t},function(t){returnr.a.reject(t)}),n.d(e,"c",function(){returng}),n.d(e,"Q",function(){returny}),n.d(e,"q",function(){returnw}),n.d(e,"I",function(){returnv}),n.d(e,"T",function(){returnb}),n.d(e,"X",function(){return_}),n.d(e,"W",function(){return$}),n.d(e,"i",function(){returnS}),n.d(e,"j",function(){returnP}),n.d(e,"N",function(){returnk}),n.d(e,"w",function(){returnN}),n.d(e,"o",function(){returnT}),n.d(e,"v",function(){returnI}),n.d(e,"K",function(){returnU}),n.d(e,"_1",function(){returnx}),n.d(e,"s",function(){returnO}),n.d(e,"A",function(){returnA}),n.d(e,"B",function(){returnD}),n.d(e,"O",function(){returnE}),n.d(e,"H",function(){returnM}),n.d(e,"m",function(){returnR}),n.d(e,"r",function(){returnC}),n.d(e,"u",function(){returnj}),n.d(e,"t",function(){returnL}),n.d(e,"Z",function(){returnq}),n.d(e,"e",function(){returnW}),n.d(e,"S",function(){returnY}),n.d(e,"J",function(){returnQ}),n.d(e,"b",function(){returnG}),n.d(e,"h",function(){returnB}),n.d(e,"C",function(){returnJ}),n.d(e,"D",function(){returnK}),n.d(e,"E",function(){returnV}),n.d(e,"L",function(){returnF}),n.d(e,"M",function(){returnH}),n.d(e,"a",function(){returnX}),n.d(e,"P",function(){returnz}),n.d(e,"U",function(){returnZ}),n.d(e,"p",function(){returntt}),n.d(e,"n",function(){returnet}),n.d(e,"V",function(){returnnt}),n.d(e,"k",function(){returnat}),n.d(e,"l",function(){returnot}),n.d(e,"G",function(){returnit}),n.d(e,"x",function(){returnrt}),n.d(e,"z",function(){returnct}),n.d(e,"y",function(){returnut}),n.d(e,"_2",function(){returnlt}),n.d(e,"d",function(){returnst}),n.d(e,"g",function(){returnpt}),n.d(e,"f",function(){returnht}),n.d(e,"_0",function(){returnft}),n.d(e,"R",function(){returndt}),n.d(e,"Y",function(){returnmt}),n.d(e,"F",function(){returngt});varm="https://wechat.changchangenglish.com/";a.default.prototype.$post=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$fetch=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.get(t,{params:e}).then(function(t){if(200===t.data.code)n(t.data.data);elseif(501===t.data.code){a(t.data);vare={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),e.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}elseif(503===t.data.code)a(t.data);elseif(506===t.data.code){a(t.data);vari={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),i.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}elsea(t.data),Object(o.a)(t.data.msg)}).catch(function(t){a(t)})})},a.default.prototype.$patch=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$put=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$del=function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};returnnewr.a(function(n,a){s.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$upload=function(t,e){returnnewr.a(function(n,a){vari=parseInt(Number(e.file.size)/Number(10485760)+1),r=0;!functionc(){varu=newFormData,l=e.file.slice(1024*r*1024*10,1024*(r+1)*1024*10);u.append("chunk",r),u.append("file_name",e.file.name),u.append("count",i),u.append("type",e.type),u.append("file",l),s.a.post(t,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(t){}}).then(function(t){200===t.data.code?r+1<i?(r++,c()):(r=0,n(t.data.data)):Object(o.a)(t.data.msg)}).catch(function(t){a(t)})}()})},a.default.prototype.$ret2=function(t){returnnewr.a(function(e,n){s.a.get(t).then(function(t){e(t.data)}).catch(function(t){n(t)})})};varg=function(t,e){returna.default.prototype.$fetch("/api/client/banner/list/"+t,e)},y=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",t)},w=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+t)},v=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},b=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",t)},_=function(t){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",t)},$=function(t){returna.default.prototype.$post(m+"api/client/user/starActivity/address",t)},S=function(t,e){returna.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+e,t)},P=function(t){returna.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",t)},k=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},N=function(t,e){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+t,e)},T=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+t)},I=function(t,e,n){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+t+"/"+e+"/"+n)},U=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},x=function(t,e,n,o){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+t+"/"+e+"/"+n,o)},O=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+t)},A=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+t)},D=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",t)},E=function(){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report")},M=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",t)},R=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:t})},C=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",t)},j=function(t,e){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+e,t)},L=function(t,e){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+e,t)},q=function(t){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",t)},W=function(t){returna.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",t)},Y=function(t,e){returna.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",t)},Q=function(t){returna.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",t)},G=function(t){returna.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",t)},B=function(t){returna.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+t)},J=function(t){returna.default.prototype.$fetch("/api/client/user/watch/report/"+t)},K=function(){returna.default.prototype.$fetch("/api/client/share/goods")},V=function(t){returna.default.prototype.$fetch("/api/public/short/url",t)},F=function(){returna.default.prototype.$fetch("/api/client/user/last/integral")},H=function(t){returna.default.prototype.$fetch("/api/client/user/integral",t)},X=function(t){returna.default.prototype.$put("/api/client/user/mobile/bind/exchange",t)},z=function(t){returna.default.prototype.$fetch("/api/client/yunji/config",t)},Z=function(t){returna.default.prototype.$post("/api/client/user/add/class/"+t)},tt=function(){returna.default.prototype.$fetch("/api/client/user/course/status")},et=function(t){returnt?a.default.prototype.$fetch("/api/client/user/course/info",{periods_id:t}):a.default.prototype.$fetch("/api/client/user/course/info")},nt=function(t){returna.default.prototype.$put("/api/client/me/set",t)},at=function(t,e){returna.default.prototype.$fetch("/api/client/course/automation/list/"+t+"/"+e)},ot=function(){returna.default.prototype.$fetch("/api/client/recommend/conversion/goods")},it=function(){returna.default.prototype.$fetch("/api/client/user/last/integral")},rt=function(){returna.default.prototype.$fetch("/api/client/user/luckDraw")},ct=function(){returna.default.prototype.$fetch("/api/client/user/luckDraw/judge")},ut=function(){returna.default.prototype.$fetch("/api/client/user/luckDraw/rand")},lt=function(){returna.default.prototype.$fetch("/api/client/user/unbind/sub")},st=function(t){returna.default.prototype.$fetch("/api/client/user/bind/sub/"+t)},pt=function(){returna.default.prototype.$fetch("/api/client/user/generate/authorization")},ht=function(){returna.default.prototype.$fetch("/api/client/user/bind/chance")},ft=function(){returna.default.prototype.$fetch("/api/client/user/sub/info")},dt=function(t){returna.default.prototype.$fetch("/api/client/user/main/info/"+t)},mt=function(t){returna.default.prototype.$fetch("/api/client/user/click/link/"+t)},gt=function(){returna.default.prototype.$fetch("/api/client/user/starActivity")}},IcnI:function(t,e,n){"use strict";vara=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(t,e){t.token=e,localStorage.setItem("cc_token",e)},transitionGo:function(t){t.transitionName="slide-left"},transitionBack:function(t){t.transitionName="slide-right"},isMobile:function(t,e){t.isMobile=e},isWatchDetail:function(t,e){t.watchDetail=e},isClassQuery:function(t,e){t.classQuery=e},isCouponShadow:function(t,e){t.couponShadow=e}});a.default.use(o.a);e.a=newo.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1},mutations:i,actions:{setToken:function(t,e){(0,t.commit)("setToken",e)},isMobile:function(t,e){(0,t.commit)("isMobile",e)},setWatchDetail:function(t,e){(0,t.commit)("isWatchDetail",e)},setClassQuery:function(t,e){(0,t.commit)("isClassQuery",e)},setCouponShadow:function(t,e){(0,t.commit)("isCouponShadow",e)}}})},JKiR:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("mMXg");vara=n("qYlo"),o=(n("qVvv"),n("8aUD")),i=(n("3Lne"),n("SSsa")),r=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){vart=this.$createElement,e=this._self._c||t;returne("div",{attrs:{id:"app"}},[e("transition",{attrs:{name:"fade"}},[this._v(">\n "),e("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};vars=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(t){n("U6p7")},null,null).exports,p=n("YaEn"),h=n("IcnI"),f=n("Au9i"),d=n.n(f),m=n("wvfG"),g=n.n(m),y=n("uYVh"),w=n.n(y),v=(n("d8/S"),n("bOdI")),b=n.n(v),_=n("GQaK"),$={props:{probeType:{type:Number,default:1},click:{type:Boolean,default:!0},listenScroll:{type:Boolean,default:!1},data:{type:Array,default:null},pullup:{type:Boolean,default:!1},pulldown:{type:Boolean,default:!1},beforeScroll:{type:Boolean,default:!1},refreshDelay:{type:Number,default:100},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){vart=this;setTimeout(function(){t._initScroll()},20)},methods:b()({_initScroll:function(){vart=this;if(this.$refs.wrapper){if(this.scroll=new_.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){vare=this;this.scroll.on("scroll",function(t){e.$emit("scroll",t)})}this.pullup&&this.scroll.on("scrollEnd",function(){t.scroll.y<=t.scroll.maxScrollY+10&&t.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(e){e.y>50&&t.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScroll")})}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(t,e,n){this.scroll&&this.scroll.scrollTo(t,e,n)},scrollToElement:function(t,e){this.scroll&&this.scroll.scrollToElement(t,e)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){vart=this;setTimeout(function(){t.refresh()},this.refreshDelay)}}},S={render:function(){vart=this.$createElement;return(this._self._c||t)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};varP=n("VU/8")($,S,!1,function(t){n("PPRt")},"data-v-a6e3a066",null).exports;u.default.config.productionTip=!1,u.default.prototype.$sa=w.a,u.default.prototype.$sa.init({server_url:"http://47.107.250.38:8106/sa?project=production",show_log:!1,heatmap:{clickmap:"default",scroll_notice_map:"default"},is_track_single_page:!0}),u.default.prototype.$sa.quick("autoTrack"),u.default.use(d.a),u.default.use(g.a),u.default.use(a.a).use(o.a).use(i.a).use(r.a).use(c.a),u.default.component("scroll",P),p.a.beforeEach(function(t,e,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),newu.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(t){if(null==this)thrownewTypeError("Array.prototype.find called on null or undefined");if("function"!=typeoft)thrownewTypeError("predicate must be a function");for(vare,n=Object(this),a=n.length>>>0,o=arguments[1],i=0;i<a;i++)if(e=n[i],t.call(o,e,i,n))returne})},PPRt:function(t,e){},U6p7:function(t,e){},YaEn:function(t,e,n){"use strict";vara=n("mvHQ"),o=n.n(a),i=n("7+uW"),r=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");i.default.use(u.a);varh={versions:function(){vart=navigator.userAgent;navigator.appVersion;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Linux")>-1,iPhone:t.indexOf("iPhone")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1==t.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},f=window.navigator.userAgent.toLowerCase(),d=newu.a({routes:[{path:"/",name:"index",component:function(t){returnPromise.all([n.e(0),n.e(16)]).then(function(){vare=[n("dAjm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,title:"唱唱启蒙"}},{path:"/orderTrans",name:"orderTrans",component:function(t){returnn.e(14).then(function(){vare=[n("qPDM")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(t){returnn.e(12).then(function(){vare=[n("784L")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(t){returnPromise.all([n.e(0),n.e(35)]).then(function(){vare=[n("JxbE")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(t){returnn.e(18).then(function(){vare=[n("9K06")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/address",name:"Address",component:function(t){returnPromise.all([n.e(0),n.e(31)]).then(function(){vare=[n("kZy8")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(t){returnPromise.all([n.e(0),n.e(36)]).then(function(){vare=[n("TEQG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(t){returnn.e(7).then(function(){vare=[n("De9k")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(t){returnPromise.all([n.e(0),n.e(25)]).then(function(){vare=[n("YaSr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(t){returnPromise.all([n.e(0),n.e(26)]).then(function(){vare=[n("v+uu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(t){returnPromise.all([n.e(0),n.e(27)]).then(function(){vare=[n("xi8t")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(t){returnn.e(43).then(function(){vare=[n("2tJf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(t){returnPromise.all([n.e(0),n.e(42)]).then(function(){vare=[n("sj+b")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(t){returnPromise.all([n.e(0),n.e(15)]).then(function(){vare=[n("UFvj")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(t){returnPromise.all([n.e(0),n.e(21)]).then(function(){vare=[n("IKJm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(t){returnn.e(22).then(function(){vare=[n("RaOr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(t){returnPromise.all([n.e(0),n.e(1)]).then(function(){vare=[n("4t0V")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/star",name:"star",component:function(t){returnPromise.all([n.e(0),n.e(3)]).then(function(){vare=[n("riDf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(t){returnPromise.all([n.e(0),n.e(8)]).then(function(){vare=[n("54Ry")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(t){returnPromise.all([n.e(0),n.e(40)]).then(function(){vare=[n("P3Wy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(t){returnPromise.all([n.e(0),n.e(20)]).then(function(){vare=[n("HgUD")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(t){returnPromise.all([n.e(0),n.e(19)]).then(function(){vare=[n("R7Pr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(t){returnPromise.all([n.e(0),n.e(37)]).then(function(){vare=[n("Eg0l")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(t){returnn.e(32).then(function(){vare=[n("sA+T")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(t){returnPromise.all([n.e(0),n.e(28)]).then(function(){vare=[n("bNYG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(t){returnPromise.all([n.e(0),n.e(2)]).then(function(){vare=[n("Y1ei")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(t){returnPromise.all([n.e(0),n.e(11)]).then(function(){vare=[n("IF8E")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(t){returnPromise.all([n.e(0),n.e(41)]).then(function(){vare=[n("w9eS")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(t){returnPromise.all([n.e(0),n.e(6)]).then(function(){vare=[n("3QU7")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(t){returnn.e(30).then(function(){vare=[n("wSE2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(t){returnn.e(24).then(function(){vare=[n("/Vxk")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(t){returnPromise.all([n.e(0),n.e(4)]).then(function(){vare=[n("yYpN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(t){returnPromise.all([n.e(0),n.e(9)]).then(function(){vare=[n("aRHX")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(t){returnn.e(17).then(function(){vare=[n("eZU3")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(t){returnPromise.all([n.e(0),n.e(10)]).then(function(){vare=[n("PTpu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(t){returnn.e(23).then(function(){vare=[n("nmbt")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(t){returnPromise.all([n.e(0),n.e(13)]).then(function(){vare=[n("VPne")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(t){returnPromise.all([n.e(0),n.e(38)]).then(function(){vare=[n("6IIy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(t){returnn.e(29).then(function(){vare=[n("SLI2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(t){returnPromise.all([n.e(0),n.e(33)]).then(function(){vare=[n("f0iw")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(t){returnPromise.all([n.e(0),n.e(5)]).then(function(){vare=[n("NVDN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(t){returnPromise.all([n.e(0),n.e(34)]).then(function(){vare=[n("5QmN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"*",component:function(t){returnPromise.all([n.e(0),n.e(39)]).then(function(){vare=[n("Zazt")];t.apply(null,e)}.bind(this)).catch(n.oe)}}]});d.beforeEach(function(t,e,n){i.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==f.match(/MicroMessenger/i)||"_sq_"==f.match(/_SQ_/i)?"noWechat"==t.name&&(t.query.url?n(decodeURIComponent(t.query.url)):n({name:"index"})):"noWechat"!==t.name&&n({name:"noWechat",query:{url:encodeURIComponent(t.fullPath)}}),r.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",t.name;vara=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){vart=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(t)}elsen()};if("author"===t.name||"bindMobile"===t.name||"noWechat"===t.name||"inspectorActivit"===t.name)n();elseif(window.location.href.indexOf("token")>-1&&"index"===t.name){varu=c.a.getUrlParam().token||t.query.token;r.a.dispatch("setToken",u),Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(t){localStorage.getItem("userDesc")&&a()})}elseif(localStorage.getItem("cc_token"))r.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),a()):Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(){localStorage.getItem("userDesc")&&a()});else{varl={retUrl:t.fullPath};localStorage.setItem("retUrl",t.fullPath),window.location.href.indexOf("gdt_vid")>-1&&localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),t.meta.noNew?(l.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"):window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1"}}),e.a=d},"d8/S":function(t,e){},eh36:function(t,e){},hW8u:function(t,e){},nsZj:function(t,e){},"sf/l":function(t,e,n){"use strict";e.a={dateFmt:function(t,e){varn={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(varain/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)newRegExp("("+a+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[a]:("00"+n[a]).substr((""+n[a]).length)));returne},getUrlParam:function(){vart=location.search,e=newObject;if(-1!=t.indexOf("?"))for(varn=t.substr(1).split("&"),a=0;a<n.length;a++)e[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);returne},toDataURL:function(t,e){varn=newXMLHttpRequest;n.onload=function(){vart=newFileReader;t.onloadend=function(){e(t.result)},t.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",t,!0),n.send()},getParamhref:function(){vart=location.href,e=newObject;if(-1!=t.indexOf("?"))for(varn=t.substr(t.indexOf("?")+1).split("&"),a=0;a<n.length;a++)e[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);returne},leftTimer:function(t,e){if(t>newDate)varn=t-newDate;else{e&&clearInterval(e);n=0}vara=parseInt(n/1e3/60/60/24,10),o=parseInt(n/1e3/60/60%24,10),i=parseInt(n/1e3/60%60,10),r=parseInt(n/1e3%60,10);returna=this.checkTime(a),o=this.checkTime(o),i=this.checkTime(i),r=this.checkTime(r),a>0?a+"天":o>=0||i>=0||r>=0?o+":"+i+":"+r:void0},checkTime:function(t){returnt<10&&(t="0"+t),t}}},zSLJ:function(t,e,n){"use strict"}},["NHnr"]);