(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a798536"],{"2c05":function(e,n,t){"use strict";t.r(n);var r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div")},u=[],a=t("1da1"),o=(t("99af"),t("96cf"),t("2ff5")),c=t("60fe"),i={name:"JumpApplet",data:function(){return{phone:"",agentCode:""}},created:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.phone=null===(t=e.$route.params)||void 0===t?void 0:t.phone,e.phone){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.getAgentInfo();case 5:e.generateurl();case 6:case"end":return n.stop()}}),n)})))()},methods:{generateurl:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function n(){var t,r,u,a,i,p;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r="",c["p"]&&(r="iOS"),c["o"]&&(r="Android"),u={appId:null===(t=e.$route.params)||void 0===t?void 0:t.appid,queryStr:"c=".concat(e.agentCode,"&i=").concat(e.phone,"&f=").concat(r)},n.next=6,Object(o["d"])(u);case 6:if(a=n.sent,i=a.code,p=a.data,200===i){n.next=11;break}return n.abrupt("return");case 11:location.href=p.openlink;case 12:case"end":return n.stop()}}),n)})))()},getAgentInfo:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function n(){var t,r,u;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.phone){n.next=2;break}return n.abrupt("return");case 2:return t={phone:e.phone},n.next=5,Object(o["e"])(t);case 5:r=n.sent,u=r.data,e.agentCode=null===u||void 0===u?void 0:u.code;case 8:case"end":return n.stop()}}),n)})))()}}},p=i,s=t("2877"),f=Object(s["a"])(p,r,u,!1,null,null,null);n["default"]=f.exports},"2ff5":function(e,n,t){"use strict";t.d(n,"j",(function(){return u})),t.d(n,"l",(function(){return a})),t.d(n,"e",(function(){return o})),t.d(n,"b",(function(){return c})),t.d(n,"m",(function(){return i})),t.d(n,"c",(function(){return p})),t.d(n,"n",(function(){return s})),t.d(n,"a",(function(){return f})),t.d(n,"d",(function(){return d})),t.d(n,"k",(function(){return l})),t.d(n,"i",(function(){return v})),t.d(n,"h",(function(){return g})),t.d(n,"g",(function(){return h})),t.d(n,"f",(function(){return m}));t("1da1"),t("96cf");var r=t("284b"),u=function(e){return r["a"].post("/appv2/course/getCoursesDetails",e)},a=function(e){return r["a"].post("/appv2/course/courseDetail",e)},o=function(e){return r["a"].post("/appv2/user/getUserAgentCode",e)},c=function(e){return r["a"].post("/appv2/payment/clientPayOrder",e)},i=function(e){return r["a"].post("/appv2/payment/getWeChatPayConfig",e)},p=function(e){return r["a"].post("/appv2/payment/clientWechatPayOrder",e)},s=function(e){return r["a"].post("/appv2/login/webShareLogin",e)},f=function(e){return r["a"].post("/appv2/order/clientCreateOrder",e)},d=function(e){return r["a"].post("/applet/invite/generateurl",e)},l=function(e){return r["a"].post("/appv2/payment/getFree",e)},v=function(e){return r["a"].post("/appv2/course/modules",e)},g=function(e){return r["a"].post("/appv2/course/module/stages",e)},h=function(e){return r["a"].post("/appv2/course/module/contents",e)},m=function(e){return r["a"].post("/appv2/course/module/catalogues",e)}}}]);