Commit c2c77253 by zhanghaozhe

通用popup组件

parent 183e350f
......@@ -56,11 +56,11 @@
"aist-share.js": "/mrstatic/js/aist-share.e19f0e93.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.e19f0e93.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.44facd03.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.63059f82.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.63059f82.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.bc5b91a7.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.bc5b91a7.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.e60367d5.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.f693c517.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.f693c517.chunk.js.map",
"blessing-rank.js": "/mrstatic/js/blessing-rank.8f42f1bc.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.8f42f1bc.chunk.js.map",
"coupons.css": "/mrstatic/css/coupons.ff6280ad.chunk.css",
"coupons.js": "/mrstatic/js/coupons.209341b7.chunk.js",
"coupons.js.map": "/mrstatic/js/coupons.209341b7.chunk.js.map",
......@@ -74,8 +74,8 @@
"detail.js": "/mrstatic/js/detail.e08da2c8.chunk.js",
"detail.js.map": "/mrstatic/js/detail.e08da2c8.chunk.js.map",
"main.css": "/mrstatic/css/main.b1f8779d.chunk.css",
"main.js": "/mrstatic/js/main.e36509e8.chunk.js",
"main.js.map": "/mrstatic/js/main.e36509e8.chunk.js.map",
"main.js": "/mrstatic/js/main.2551d025.chunk.js",
"main.js.map": "/mrstatic/js/main.2551d025.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.a5a13d80.chunk.css",
"myorders.js": "/mrstatic/js/myorders.66fd0439.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.66fd0439.chunk.js.map",
......@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.dd7556e0.chunk.css",
"purchased.js": "/mrstatic/js/purchased.c50976fa.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.c50976fa.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.d6aa7090.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.d6aa7090.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.cb46d4f0.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.cb46d4f0.js.map",
"search.css": "/mrstatic/css/search.fab97849.chunk.css",
"search.js": "/mrstatic/js/search.a5aa0699.chunk.js",
"search.js.map": "/mrstatic/js/search.a5aa0699.chunk.js.map",
......@@ -166,6 +166,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.2b03e08a1496b76f3860faefc92e68c9.js": "/precache-manifest.2b03e08a1496b76f3860faefc92e68c9.js",
"precache-manifest.3c6199e9bcbcc3e5a443f698a1beeb6a.js": "/precache-manifest.3c6199e9bcbcc3e5a443f698a1beeb6a.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/36.aebbab68.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.b1f8779d.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(c){function e(e){for(var r,t,a=e[0],n=e[1],o=e[2],d=0,i=[];d<a.length;d++)t=a[d],l[t]&&i.push(l[t][0]),l[t]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(c[r]=n[r]);for(b&&b(e);i.length;)i.shift()();return s.push.apply(s,o||[]),f()}function f(){for(var e,r=0;r<s.length;r++){for(var t=s[r],a=!0,n=1;n<t.length;n++){var o=t[n];0!==l[o]&&(a=!1)}a&&(s.splice(r--,1),e=p(p.s=t[0]))}return e}var t={},u={30:0},l={30:0},s=[];function p(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return c[e].call(r.exports,r,r.exports,p),r.l=!0,r.exports}p.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[s]&&e.push(u[s]=new Promise(function(e,a){for(var r="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"5ed15c7e",3:"16611a91",4:"fc53c3d0",5:"f2f19957",6:"16a64650",7:"85889ffd",8:"2e7d81ca",9:"f2cc3163",10:"16611a91",11:"31d6cfe0",12:"35f475a1",13:"31d6cfe0",14:"e5315535",15:"cda7a495",16:"bb7c3056",17:"278ad3b1",18:"3a4dbb7a",19:"ca49c1cb",20:"44facd03",21:"e60367d5",22:"ff6280ad",23:"6f3a01ca",24:"039d87dd",25:"21c1cdea",27:"a5a13d80",28:"e1adc61c",29:"dd7556e0",31:"fab97849",32:"f09a5959",33:"b002c899",34:"49988cae",35:"1f56370b",37:"50547718",38:"2471f477",39:"0bb224f2",40:"ecbb6f9a",41:"18c88f1f",42:"eb90513f"}[s]+".chunk.css",n=p.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var d=(c=t[o]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(d===r||d===n))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var c;if((d=(c=i[o]).getAttribute("data-href"))===r||d===n)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var r=e&&e.target&&e.target.src||n,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],f.parentNode.removeChild(f),a(t)},f.href=n,document.getElementsByTagName("head")[0].appendChild(f)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"68702d14",1:"7868465e",2:"d3e2cd60",3:"26d6e431",4:"b0a8f8d7",5:"a5fc5a6c",6:"62163a85",7:"a489524f",8:"004614da",9:"2f6557b3",10:"fd2d286b",11:"4b9a86c3",12:"dae531e6",13:"73b4702f",14:"1e36500f",15:"3e215e45",16:"65d2df63",17:"95afc5ca",18:"09c79db5",19:"e19f0e93",20:"63059f82",21:"f693c517",22:"209341b7",23:"0fdfbdeb",24:"d880492b",25:"e08da2c8",27:"66fd0439",28:"da7c8cba",29:"c50976fa",31:"a5aa0699",32:"ff8f11fd",33:"052d4402",34:"527cf639",35:"57a6ff2d",37:"37ea025e",38:"4040a47b",39:"e992e05b",40:"ea26256d",41:"b64fac49",42:"56b97824"}[s]+".chunk.js",a=function(e){o.onerror=o.onload=null,clearTimeout(d);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src,n=new Error("Loading chunk "+s+" failed.\n("+t+": "+a+")");n.type=t,n.request=a,r[1](n)}l[s]=void 0}};var d=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(e)},p.m=c,p.c=t,p.d=function(e,r,t){p.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(r,e){if(1&e&&(r=p(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(p.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)p.d(t,a,function(e){return r[e]}.bind(null,a));return t},p.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(r,"a",r),r},p.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},p.p="/",p.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],a=r.push.bind(r);r.push=e,r=r.slice();for(var n=0;n<r.length;n++)e(r[n]);var b=a;f()}([])</script><script src="/mrstatic/js/36.b15362cb.chunk.js"></script><script src="/mrstatic/js/main.e36509e8.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/36.aebbab68.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.b1f8779d.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(c){function e(e){for(var r,t,a=e[0],n=e[1],o=e[2],d=0,i=[];d<a.length;d++)t=a[d],l[t]&&i.push(l[t][0]),l[t]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(c[r]=n[r]);for(b&&b(e);i.length;)i.shift()();return s.push.apply(s,o||[]),f()}function f(){for(var e,r=0;r<s.length;r++){for(var t=s[r],a=!0,n=1;n<t.length;n++){var o=t[n];0!==l[o]&&(a=!1)}a&&(s.splice(r--,1),e=p(p.s=t[0]))}return e}var t={},u={30:0},l={30:0},s=[];function p(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return c[e].call(r.exports,r,r.exports,p),r.l=!0,r.exports}p.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[s]&&e.push(u[s]=new Promise(function(e,a){for(var r="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"5ed15c7e",3:"16611a91",4:"fc53c3d0",5:"f2f19957",6:"16a64650",7:"85889ffd",8:"2e7d81ca",9:"f2cc3163",10:"16611a91",11:"31d6cfe0",12:"35f475a1",13:"31d6cfe0",14:"e5315535",15:"cda7a495",16:"bb7c3056",17:"278ad3b1",18:"3a4dbb7a",19:"ca49c1cb",20:"44facd03",21:"e60367d5",22:"ff6280ad",23:"6f3a01ca",24:"039d87dd",25:"21c1cdea",27:"a5a13d80",28:"e1adc61c",29:"dd7556e0",31:"fab97849",32:"f09a5959",33:"b002c899",34:"49988cae",35:"1f56370b",37:"50547718",38:"2471f477",39:"0bb224f2",40:"ecbb6f9a",41:"18c88f1f",42:"eb90513f"}[s]+".chunk.css",n=p.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var d=(c=t[o]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(d===r||d===n))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var c;if((d=(c=i[o]).getAttribute("data-href"))===r||d===n)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var r=e&&e.target&&e.target.src||n,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],f.parentNode.removeChild(f),a(t)},f.href=n,document.getElementsByTagName("head")[0].appendChild(f)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"68702d14",1:"7868465e",2:"d3e2cd60",3:"26d6e431",4:"b0a8f8d7",5:"a5fc5a6c",6:"62163a85",7:"a489524f",8:"004614da",9:"2f6557b3",10:"fd2d286b",11:"4b9a86c3",12:"dae531e6",13:"73b4702f",14:"1e36500f",15:"3e215e45",16:"65d2df63",17:"95afc5ca",18:"09c79db5",19:"e19f0e93",20:"bc5b91a7",21:"8f42f1bc",22:"209341b7",23:"0fdfbdeb",24:"d880492b",25:"e08da2c8",27:"66fd0439",28:"da7c8cba",29:"c50976fa",31:"a5aa0699",32:"ff8f11fd",33:"052d4402",34:"527cf639",35:"57a6ff2d",37:"37ea025e",38:"4040a47b",39:"e992e05b",40:"ea26256d",41:"b64fac49",42:"56b97824"}[s]+".chunk.js",a=function(e){o.onerror=o.onload=null,clearTimeout(d);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src,n=new Error("Loading chunk "+s+" failed.\n("+t+": "+a+")");n.type=t,n.request=a,r[1](n)}l[s]=void 0}};var d=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(e)},p.m=c,p.c=t,p.d=function(e,r,t){p.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(r,e){if(1&e&&(r=p(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(p.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)p.d(t,a,function(e){return r[e]}.bind(null,a));return t},p.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(r,"a",r),r},p.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},p.p="/",p.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],a=r.push.bind(r);r.push=e,r=r.slice();for(var n=0;n<r.length;n++)e(r[n]);var b=a;f()}([])</script><script src="/mrstatic/js/36.b15362cb.chunk.js"></script><script src="/mrstatic/js/main.2551d025.chunk.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1172:function(e,t,a){},1173:function(e,t,a){},1174:function(e,t,a){},1175:function(e,t,a){},1176:function(e,t,a){},1177:function(e,t,a){},1178:function(e,t,a){},1179:function(e,t,a){},1180:function(e,t,a){},1181:function(e,t,a){},1182:function(e,t,a){},1183:function(e,t,a){},1184:function(e,t,a){},1185:function(e,t,a){},1186:function(e,t,a){},1187:function(e,t,a){},1221:function(e,t,a){"use strict";a.r(t);var n=a(20),s=(a(39),a(12)),o=a.n(s),c=a(5),r=a(7),i=a(6),l=a(8),u=a(9),m=a(0),d=a.n(m),p=a(623),_=a.n(p),h=a(3),b=a(15),f=a(40),v=(a(1172),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).state={rules:["\u2022\t\u62bd\u5956\u7684\u6b21\u6570\u53ef\u901a\u8fc7\u79ef\u798f\u6c14\u83b7\u5f97\uff0c\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u62bd\u5956\u7684\u6b21\u6570\u8d8a\u591a;","\u2022\t\u672c\u6b21\u62bd\u5956\u5f62\u5f0f\u4e3a\u5f00\u5956\u5236\uff0c\u4e0b\u4e00\u65f6\u6bb5\u5f00\u542f\u62bd\u5956\u524d\u4f1a\u516c\u5e03\u4e0a\u4e00\u6b21\u4e2d\u5956\u7ed3\u679c\u53ca\u540d\u5355\uff0c\u53ef\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u53ca\u65f6\u83b7\u53d6\u4e2d\u5956\u7ed3\u679c\uff0c\u63d0\u9192\u53c2\u4e0e\u4e0b\u6b21\u62bd\u5956;","\u2022\t\u6bcf\u4e2a\u65f6\u6bb5\u4ec5\u53ef\u4f7f\u7528\u4e00\u6b21\u62bd\u5956\u673a\u4f1a\uff0c\u6bcf\u65e5\u62bd\u5956\u6b21\u6570\u9650\u5f53\u65e5\u7528\uff0c\u62bd\u5956\u6b21\u6570\u4e0d\u7d2f\u52a0\u81f3\u6b21\u65e5;","\u2022\t\u4e2d\u5956\u540e\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c\u4e0d\u586b\u5199\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","\u2022\t\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u6240\u6709\u3002"]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.state.rules,t=this.props.handleToHide;return d.a.createElement("div",{className:"rule-popup__container"},d.a.createElement("div",{className:"rule-popup"},d.a.createElement("h2",{className:"rule-popup__title"},"\u6d3b\u52a8\u89c4\u5219"),d.a.createElement("ul",{className:"rule-popup__list"},e.map(function(e,t){return d.a.createElement("li",{className:"rule-popup__item",key:t},e)}))),d.a.createElement("i",{className:"iconfont iconiconfront-2",onClick:t}))}}]),t}(m.Component)),E=(a(1173),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchCourseData=function(){Promise.all([h.d.get("".concat(API.home,"/sys/browse/blessing/courses")),h.d.get("".concat(API.home,"/sys/user/blessing"))]).then(function(e){var t=e[0].data,n=t.code,s=t.data,o=e[1].data.data.today_browsed_courses||[];200===n&&a.setState({courseList:s.map(function(e){return o.some(function(t){return t==e.course_id})?Object.assign({},e,{blessing:2}):e})})})},a.toCourseDetail=function(e){console.log(a.props);var t=a.props,n=t.isLogin,s=t.history,o=t.toLogin;if(n)if(Object(h.c)("version")){var c=0;c=e.blessing?2:1;var r={courseId:e.course_id,type:c};Object(h.a)("toCourse",r)}else s.push("/detail?id=".concat(e.course_id,"&ac=11"));else o()},a.state={courseList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseData()}},{key:"render",value:function(){var e=this,t=this.state.courseList,a=this.props.handleToHide;return d.a.createElement("div",{className:"course-popup__container"},d.a.createElement("div",{className:"course-popup"},d.a.createElement("h2",{className:"course-popup__title"},"\u6307\u5b9a\u8bfe\u7a0b"),d.a.createElement("div",{className:"course-popup__list"},t.map(function(t){return d.a.createElement("span",{className:"course-popup__item",key:t.course_id,onClick:function(){e.toCourseDetail(t)}},d.a.createElement("span",{className:"course-popup__name"},t.course_title),t.blessing&&d.a.createElement("span",null,"+2\u70b9"))}))),d.a.createElement("i",{className:"iconfont iconiconfront-2",onClick:a}))}}]),t}(m.Component)),g=(a(1174),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).state={recordList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/ai_test/get_user_testinfo")).then(function(t){var a=t.data,n=a.code,s=a.data.user_test_record;200===n&&e.setState({recordList:s})})}},{key:"render",value:function(){var e=this.state.recordList,t=this.props.handleToHide;return d.a.createElement("div",{className:"record__mark"},d.a.createElement("div",{className:"gift__record"},d.a.createElement("div",{className:"close__button",onClick:t},d.a.createElement("i",{className:"icon iconfont iconiconfront-77"})),d.a.createElement("p",{className:"mark__title"},"\u6d4b\u8bd5\u8bb0\u5f55"),d.a.createElement("p",{className:"mark__tip"},"\u591a\u6b21\u6d4b\u8bd5\u4fdd\u7559\u6700\u9ad8\u5206\uff0c\u53ef\u67e5\u770b\u6700\u8fd1\u4e00\u6b21\u7b54\u9898\u8bb0\u5f55"),d.a.createElement("div",null,d.a.createElement("div",{className:"table__head"},d.a.createElement("span",{className:"tr"},"\u6d4b\u8bd5\u65f6\u95f4"),d.a.createElement("span",{className:"tr"},"\u5206\u6570"),d.a.createElement("span",{className:"tr"},"\u64cd\u4f5c")),d.a.createElement("div",{className:"table__body"},e.map(function(e,t){return d.a.createElement("div",{className:"tr__container",key:t},d.a.createElement("span",{className:"tr"},e.submit_time),d.a.createElement("span",{className:"tr"},e.score),d.a.createElement("span",{className:"tr"},0===t?d.a.createElement("a",{href:"/levelTest/report?id=".concat(e.id)},"\u6d4b\u8bd5\u8bb0\u5f55"):null))})))))}}]),t}(m.Component)),y=a(17),N=a.n(y);a(1175);var j,C=function(e){return function(t){function a(){return Object(c.a)(this,a),Object(i.a)(this,Object(l.a)(a).apply(this,arguments))}return Object(u.a)(a,t),Object(r.a)(a,[{key:"render",value:function(){return d.a.createElement("div",{className:"list-frame"},d.a.createElement("div",{className:"list-frame__content"},d.a.createElement(e,this.props)))}}]),a}(m.Component)},k=(a(1176),function(e){function t(){return Object(c.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,n=e.id;return d.a.createElement("div",{className:"course-container"},d.a.createElement("div",{className:"course__cover"},d.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(n)}})),this.props.children)}}]),t}(m.Component)),O=(a(1177),function(e){function t(){return Object(c.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.text,a=e.size,n=e.styles,s=e.id,o=a?"list-header--".concat(a):"";return d.a.createElement("div",{id:s,className:N()("list-header",o),style:n},d.a.createElement("i",{className:"list-header__decorate","data-position":"left"}),t?d.a.createElement("h2",{className:"list-header__content"},t):this.props.children,d.a.createElement("i",{className:"list-header__decorate","data-position":"right"}))}}]),t}(m.Component)),x=(a(1178),a(37)),w=a.n(x),L=C(function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchAICourse=function(e){var t=a.state,n=t.basic,s=t.advanced,o=t.higher,c=t.expand;h.d.get("".concat(API.home,"/sys/ai_grow_up_courses/").concat(e)).then(function(t){var r=t.data,i=r.code,l=r.data;200===i&&(l.length>4?("one"===e&&a.setState({basic:Object.assign({},n,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"two"===e&&a.setState({advanced:Object.assign({},s,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"three"===e&&a.setState({higher:Object.assign({},o,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"four"===e&&a.setState({expand:Object.assign({},c,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})})):("one"===e&&a.setState({basic:Object.assign({},n,{isMore:!1,course:l,courseList:l})}),"two"===e&&a.setState({advanced:Object.assign({},s,{isMore:!1,course:l,courseList:l})}),"three"===e&&a.setState({higher:Object.assign({},o,{isMore:!1,course:l,courseList:l})}),"four"===e&&a.setState({expand:Object.assign({},c,{isMore:!1,course:l,courseList:l})})))})},a.fetchCourseData=function(){var e=a.state,t=e.group,n=e.training;h.d.get("".concat(API.home,"/sys/preheat_data")).then(function(e){var s=e.data,o=s.code,c=s.data;200===o&&(c.excellent_course.length>2?a.setState({group:Object.assign({},t,{isMore:!0,course:c.excellent_course.filter(function(e,t){return t<2}),courseList:c.excellent_course})}):a.setState({group:Object.assign({},t,{isMore:!1,course:c.excellent_course,courseList:c.excellent_course})}),c.ai_elite_courses.length>2?a.setState({training:Object.assign({},n,{isMore:!0,course:c.ai_elite_courses.filter(function(e,t){return t<2}),courseList:c.ai_elite_courses})}):a.setState({training:Object.assign({},n,{isMore:!1,course:c.ai_elite_courses,courseList:c.ai_elite_courses})}))})},a.handleToMore=function(e){var t={};a.state[e].isMore?(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList,courseList:a.state[e].courseList},a.setState(Object(n.a)({},t))):(t[e]="group"===e||"training"===e?{isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<2}),courseList:a.state[e].courseList}:{isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList},a.setState(Object(n.a)({},t)))},a.toQQque=function(){Object(h.c)("version")?Object(h.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="https://q.url.cn/AB8aue?_type=wpa&qidian=true"},a.toCourse=function(e){var t=a.props.history;if(Object(h.c)("version")){var n={courseId:e,type:0};Object(h.a)("toCourse",n)}else t.push("/detail?id=".concat(e))},a.state={basic:{course:[],courseList:[],isMore:!1},advanced:{course:[],courseList:[],isMore:!1},higher:{course:[],courseList:[],isMore:!1},expand:{course:[],courseList:[],isMore:!1},group:{course:[],courseList:[],isMore:!1},training:{course:[],courseList:[],isMore:!1}},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseData(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four")}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isApp===e.isApp||(this.fetchCourseData(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four"),!1)}},{key:"toReceiveCoupon",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=this.props,c=s.isLogin,r=s.toLogin;alert(w.a.get("uid")),c?h.d.post("".concat(API.home,"/sys/activity/coupon/receive"),{course_id:e}).then(function(s){var c=s.data,r=c.code,i=c.msg;if(200===r){o.a.info("\u9886\u53d6\u6210\u529f\uff5e",2,null,!1);var l={};l[a]={isMore:t.state[a].isMore,course:t.state[a].course.map(function(t){return t.course_id===e?Object.assign({},t,{course_status:2}):t}),courseList:t.state[a].courseList.map(function(t){return t.course_id===e?Object.assign({},t,{course_status:2}):t})},t.setState(Object(n.a)({},l))}else o.a.info(i,2,null,!1)}):r()}},{key:"render",value:function(){var e=this,t=this.props.isFormal,a=this.state,n=a.basic,s=a.advanced,o=a.higher,c=a.expand,r=a.group,i=a.training;return d.a.createElement("div",{className:"boutique-course"},d.a.createElement(O,{text:"\u96c6\u8bad\u8425\u3001\u5c31\u4e1a\u73ed",size:"middle",styles:{margin:"20px 0 15px"}}),r.course&&r.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{"data-layout":"row"},r.course.map(function(t){return d.a.createElement(k,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},d.a.createElement("div",{className:"coupon-course__footer"},d.a.createElement("a",{onClick:function(){return e.toQQque()},className:"course-button"},"\u7acb\u62a2\u8d85\u4f4e\u56e2\u8d2d\u4ef7")))})),r.courseList&&r.courseList.length>2&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("group")}},r.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),d.a.createElement(O,{text:"AI\u7279\u8bad\u8425",size:"middle",styles:{margin:"0 0 15px"}}),i.course&&i.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{"data-layout":"row"},i.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"training")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),i.courseList&&i.courseList.length>2&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("training")}},i.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),d.a.createElement(O,{text:"AI\u6210\u957f\u4e4b\u8def",size:"middle",styles:{margin:"0 0 15px"}}),n.course&&n.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u57fa\u7840"),d.a.createElement("div",{"data-layout":"row"},n.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"basic")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),n.courseList&&n.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("basic")}},n.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),s.course&&s.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u8fdb\u9636"),d.a.createElement("div",{"data-layout":"row"},s.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"advanced")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),s.courseList&&s.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("advanced")}},s.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),o.course&&o.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u9ad8\u9636"),d.a.createElement("div",{"data-layout":"row"},o.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"higher")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),o.courseList&&o.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("higher")}},o.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),c.course&&c.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u6269\u5c55"),d.a.createElement("div",{"data-layout":"row"},c.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"expand")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),c.courseList&&c.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("expand")}},c.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")))}}]),t}(m.Component)),S=(a(1179),function(e){function t(){return Object(c.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return d.a.createElement("div",{className:"share__container"},h.b.isWeixin&&d.a.createElement("div",{className:"share__row"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/throw_icon.png"})),d.a.createElement("div",{className:"share__content"},d.a.createElement("p",{className:"share__text"},"\u5206\u4eab\u6d3b\u52a8\u9875\u5230\u670b\u53cb\u5708\u3001qq\u3001\u5fae\u535a\u5206\u522b"),d.a.createElement("div",{className:"share__rule"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/add2.png"}),d.a.createElement("span",null,"\uff08\u6bcf\u4e2a\u5e73\u53f0\u6bcf\u5929\u4e00\u6b21\uff09"))))}}]),t}(m.Component)),A=(a(158),a(91)),I=a.n(A),T=(a(1180),C(function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchActivityPrize=function(){h.d.get("".concat(API.home,"/sys/activity/prize_data")).then(function(e){var t=e.data,n=t.code,s=t.data.list,o=void 0===s?[]:s;200===n&&a.setState({tabs:o.map(function(e){return{title:e.date}}),prizes:o})})},a.state={tabs:[],prizes:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchActivityPrize()}},{key:"render",value:function(){var e=this.state,t=e.tabs,a=e.prizes;return d.a.createElement("div",{className:"luck-draw__container"},d.a.createElement(I.a,{swipeable:!1,tabs:t,tabBarBackgroundColor:"transparent",tabBarUnderlineStyle:{display:"none"}},a.map(function(e,t){var a=e.son;return d.a.createElement("div",{className:"tab__body",key:t},a.map(function(e){return d.a.createElement("div",{key:e.id},d.a.createElement("h2",{className:"prize__label"},d.a.createElement("i",{className:"prize__label-icon"}),d.a.createElement("span",null,e.time)),d.a.createElement("div",{className:"prize__content"},e.data.map(function(t,a){return d.a.createElement("div",{className:"prize__container",key:"".concat(e.id,"-").concat(a)},d.a.createElement("div",{className:"prize__image"},d.a.createElement("img",{src:t.img,alt:"image"})),d.a.createElement("p",{className:"prize__desc"},t.name),d.a.createElement("p",{className:"prize__desc"},"\uff08*",t.num,"\uff09"))})))}))})))}}]),t}(m.Component))),M=a(22),P=(a(1181),C(Object(M.b)(function(e){var t=e.user;return{uid:t&&t.data&&t.data.uid?t.data.uid:""}})(j=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).qqToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("QQshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=qq&utm_medium=11&utm_campaign=QQ11&utm_content=11&utm_term=11"),a.fetchUserBlessing(3,function(){a.handleToAddBlessing(3)})):n.push("/passport")},a.wechatToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("WXshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=1&utm_medium=1&utm_campaign=11&utm_content=1&utm_term=1"),a.fetchUserBlessing(1,function(){a.handleToAddBlessing(1)})):n.push("/passport")},a.weiboToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("WBshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=sina&utm_medium=11&utm_campaign=sina11&utm_content=1&utm_term=11"),a.fetchUserBlessing(2,function(){a.handleToAddBlessing(2)})):n.push("/passport")},a.handleToAddBlessing=function(e){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:e,type:3}).then(function(e){200===e.data.code&&o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1)})},a.handleToInvite=function(){var e=a.props,t=e.uid,n=e.history;t?n.push("/invite"):Object(h.c)("version")?Object(h.a)("toLogin"):n.push("/passport")},a.state={rules:["app/h5/pc\u7aef\u6d3b\u52a8\u9875\u7b7e\u5230+5\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u5929\u4e00\u6b21\uff09","\u5173\u6ce8\u4e03\u6708\u5728\u7ebf\u5fae\u4fe1\u670d\u52a1\u53f7+30\u70b9\u798f\u6c14\u503c\uff08\u4ec5\u9650\u4e00\u6b21\uff09","\u5206\u4eab\u6d3b\u52a8\u9875\u5230\u670b\u53cb\u5708\u3001qq\uff0c\u5206\u522b+2\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u4e2a\u5e73\u53f0\u6bcf\u5929\u4e00\u6b21\uff09","\u6d4f\u89c8\u6307\u5b9a\u8bfe\u7a0b\u8be6\u60c5\u9875\uff0c\u4e00\u95e8\u8bfe\u7a0b+2\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u5929\u4e00\u6b21\uff09","\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c+10\u70b9\u798f\u6c14\u503c/\u4eba\uff08\u65e0\u4e0a\u9650\uff09","\u6d3b\u52a8\u671f\u95f4\u6bcf\u8d2d\u4e70\u4e00\u95e8\u8bfe\u7a0b+20\u70b9\u798f\u6c14\u503c"],welfareRuleList:[{range:"50~100",rules:[{id:1,text:"1.\u6bcf\u5929\u4e00\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb2\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf11\u3001\u6ee11111\u51cf111\u3002"}]},{range:"101~190",rules:[{id:1,text:"1.\u6bcf\u5929\u4e24\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb3\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf31\u3001\u6ee11111\u51cf211\uff1b"},{id:4,text:"4.AI\u6c34\u5e73\u6d4b\u8bd5\u589e\u52a01\u6b21\u3002"}]},{range:">190",rules:[{id:1,text:"1.\u6bcf\u5929\u4e09\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb4\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf51\u3001\u6ee11111\u51cf411\uff1b"},{id:4,text:"4.AI\u6c34\u5e73\u6d4b\u8bd5\u589e\u52a02\u6b21\u3002"}]}],seconds:5},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"fetchUserBlessing",value:function(e,t){var a=this,n=this.props,s=n.handleToShowShare,c=n.handleToHideShare,r=this.state.seconds;h.d.get("".concat(API.home,"/sys/user/blessing")).then(function(n){var i=n.data,l=i.code,u=i.data;200===l&&(u.today_shared_platforms.some(function(t){return t===e})?o.a.info("\u4eca\u65e5\u5df2\u5206\u4eab\uff0c\u8bb0\u5f97\u660e\u5929\u6765~",2,null,!1):(s(),a.shareTimer=setInterval(function(){a.setState({seconds:--r},function(){0===r&&("function"===typeof t&&t(),c(),clearInterval(a.shareTimer))})},1e3)))})}},{key:"render",value:function(){var e=this,t=this.props,a=t.isSign,n=t.userInfo,s=n.blessingVal,o=void 0===s?0:s,c=n.buyBlessing,r=void 0===c?0:c,i=n.inviteBlessing,l=void 0===i?0:i,u=n.isFollow,m=void 0===u?0:u,p=t.isLogin,_=t.handleToShowNotice,h=t.handleToShowList,b=(t.handleToShow,t.toLogin),f=t.toSection,v=this.state,E=v.rules,g=v.welfareRuleList;v.seconds;return d.a.createElement("div",{className:"collect-blessing"},p?d.a.createElement(O,{text:"\u6211\u7684\u798f\u6c14\u503c\uff1a ".concat(o,"\u5206"),size:"middle",styles:{margin:"20px 0 0 0"}}):d.a.createElement(O,{size:"middle",styles:{margin:"20px 0 0 0"}},d.a.createElement("span",{className:"text_nologin"},"\u6211\u7684\u798f\u6c14\u503c\uff1a"),d.a.createElement("span",{onClick:b,className:"login__btn"},"\u767b\u5f55")),d.a.createElement("p",{className:"activity__over"},"\u6d3b\u52a8\u7ed3\u675f\u524d\u798f\u6c14\u699c\u524d50\u540d\u53ef\u83b7\u5956\u54c1\u4e00\u4efd"),g.map(function(e,t){return d.a.createElement("div",{className:"rules__item",key:t},d.a.createElement("div",{className:"item__left"},d.a.createElement("div",{className:"tip__bubble"},d.a.createElement("div",{className:"tip__text"},"\u798f\u6c14\u503c"),d.a.createElement("div",{className:"tip__style"})),d.a.createElement("div",{className:"range__number"},e.range)),d.a.createElement("div",{className:"item__right"},e.rules.map(function(e){return d.a.createElement("p",{key:e.id},e.text,d.a.createElement("span",null,e.des))})))}),d.a.createElement(O,{text:"\u798f\u6c14\u503c\u79ef\u6512\u89c4\u5219",size:"middle",styles:{margin:"30px 0 0"}}),E.map(function(t,n){return d.a.createElement("div",{className:"collect-blessing__item",key:n},d.a.createElement("i",{className:"collect-blessing__num"},n+1),d.a.createElement("p",{className:"collect-blessing__title"},t),0===n&&d.a.createElement(d.a.Fragment,null,p&&a?d.a.createElement("a",{className:"collect-blessing__content","data-status":"done"},"+5\u70b9",d.a.createElement("br",null),"\u798f\u6c14\u503c"):d.a.createElement("span",{onClick:b,className:"collect-blessing__content"},"\u70b9\u51fb",d.a.createElement("br",null),"\u7b7e\u5230")),1===n&&d.a.createElement(d.a.Fragment,null,1===m?d.a.createElement("a",{className:"collect-blessing__content","data-status":"done",onClick:_},"\u5df2\u52a030\u70b9"):d.a.createElement("a",{className:"collect-blessing__content",onClick:_},"\u5173\u6ce8",d.a.createElement("br",null),"\u4e8c\u7ef4\u7801")),2===n&&d.a.createElement("div",{className:"collect-blessing__content","data-layout":"column"},d.a.createElement("p",{className:"collect-blessing__label"},"\u53bb\u5206\u4eab"),d.a.createElement("div",{className:"collect-blessing__share"},d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"qq",onClick:e.qqToShare}),d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"wechat",onClick:e.wechatToShare}),d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"weibo",onClick:e.weiboToShare}))),3===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:h},"\u6d4f\u89c8\u8bfe\u7a0b",d.a.createElement("br",null),"\u8be6\u60c5\u9875"),4===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:e.handleToInvite},d.a.createElement("span",null,"\u9080\u8bf7\u94fe\u63a5"),l>0&&d.a.createElement("i",null,"\u5df2\u52a0",l,"\u70b9")),5===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:f},d.a.createElement("span",null,"\u53bb\u9009\u8bfe"),r>0&&d.a.createElement("i",null,"\u5df2\u52a0",r,"\u70b9")))}))}}]),t}(m.Component))||j)),D=(a(1182),a(48)),U=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchAICourse=function(){h.d.get("".concat(API.home,"/sys/pre_coursee")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;200===n?a.setState({courseData:s.filter(function(e,t){return t<4}),courseDataAll:s}):o.a.info(c,2)})},a.expandPaydj=function(e){var t=a.props,n=t.user;t.history;n&&n.data&&n.data.uid?Object(h.c)("version")?Object(h.a)("earnestMoney",e):a.props.history.push("/deposit-order?oid=".concat(e,"&source=",2),{id:e,isexpand:1,sourcenum:2}):Object(h.c)("version")?Object(h.a)("toLogin"):a.props.history.push("/passport/login")},a.expandPaywk=function(e,t,n){var s=a.props,c=s.user;s.history;c&&c.data&&c.data.uid?Date.parse(new Date)/1e3>=t?Object(h.c)("version")?Object(h.a)("TailMoney"):a.props.history.push("/final-deposit-order?source=1",{id:e,sourcenum:1}):o.a.info("\u4ed8\u5c3e\u6b3e\u65f6\u95f4\u5c06\u5728"+n+"\u5f00\u542f",2):Object(h.c)("version")?Object(h.a)("toLogin"):a.props.history.push("/passport/login")},a.tostudy=function(e){if(Object(h.c)("version")){var t={courseId:e,type:0};Object(h.a)("toCourse",t)}else a.props.history.push("/getDetail?id=".concat(e))},a.showMoreData=function(){a.setState({isShowMore:!a.state.isShowMore,courseData:a.state.isShowMore?a.state.courseDataAll.filter(function(e,t){return t<4}):a.state.courseDataAll})},a.state={courseData:[],isShowMore:!1},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchAICourse()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isApp===e.isApp||(this.fetchAICourse(),!1)}},{key:"render",value:function(){var e=this.state,t=e.courseData,a=e.isShowMore;return d.a.createElement("div",{className:"reserve-course-module"},d.a.createElement(R,{courseData:t,expandPaydj:this.expandPaydj,expandPaywk:this.expandPaywk,tostudy:this.tostudy}),d.a.createElement("button",{className:"more-button",onClick:this.showMoreData},a?"\u6536\u8d77":"\u5c55\u5f00\u66f4\u591a"))}}]),t}(m.Component);function R(e){var t=e.courseData,a=e.expandPaydj,n=e.expandPaywk,s=e.tostudy;return d.a.createElement("div",{className:"course-list"},d.a.createElement("ul",null,t.map(function(e,t){return d.a.createElement("li",{className:"course-item-box",key:t},d.a.createElement("a",{onClick:function(){return s(e.course_id)}},d.a.createElement("div",{className:"top"},d.a.createElement("div",{className:"square"},d.a.createElement("p",{className:"circular"},"\u5230\u624b\u6700\u4f4e\xa5",d.a.createElement("span",null,Number(e.price)-Number(e.deduction_amount)-Number(e.limit_amount)))),d.a.createElement("img",{className:"course-img",src:e.image_name,alt:""}))),d.a.createElement("p",{className:"count-price"},"=\u539f\u4ef7\xa5",e.price,d.a.createElement("span",null,"-\u62b5\u6263\xa5",d.a.createElement("i",null,e.deduction_amount)),d.a.createElement("span",null,"-\u81a8\u80c0\u5238\xa5",d.a.createElement("i",null,e.limit_amount))),d.a.createElement("div",{className:"btn"},0===e.is_buy&&d.a.createElement("button",{className:"to-expand-buy1",onClick:function(){return a(e.course_id)}},"\u7acb\u5373\u4ed8\u5b9a\u91d1"),1===e.is_buy&&d.a.createElement("button",{className:"to-expand-buy2",onClick:function(){return n(e.course_id,e.start_timestamp,e.final_start_time)}},"\u7acb\u5373\u4ed8\u5c3e\u6b3e"),2===e.is_buy&&d.a.createElement("button",{className:"to-study",onClick:function(){return s(e.course_id)}},"\u5f00\u59cb\u5b66\u4e60")))})))}var z,B=C(Object(M.b)(function(e){return{user:e.user}})(Object(D.g)(U))),q=(a(1183),C(function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).startTest=function(){var e=a.props,t=(e.history,e.isLogin),n=e.toLogin;t?window.location.href="".concat(API.m,"/levelTest/test"):n()},a.state={testNumber:12345,number:1,prizeListUrl:[{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top1.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top2.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top3-4.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top5-7.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top8-10.png"}]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.props.isLogin&&h.d.get("".concat(API.home,"/sys/ai_test/get_user_testinfo")).then(function(t){var a=t.data,n=a.code,s=a.data,o=s.user_test_total,c=s.user_residue_number;200===n&&e.setState({testNumber:o,number:c})})}},{key:"render",value:function(){var e=this.state,t=e.testNumber,a=(e.number,e.prizeListUrl);this.props.isLogin;return d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{className:"level__test_module"},d.a.createElement("div",{className:"start__test",onClick:this.startTest},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/test_icon.png"}),d.a.createElement("div",{className:"button__text"},d.a.createElement("p",null,"\u70b9\u51fb\u6d4b\u8bd5"))),d.a.createElement("div",{className:"test__number"},"\u5df2\u6709",d.a.createElement("span",{className:"number"},t),"\u4eba\u53c2\u52a0\u6d4b\u8bd5"),d.a.createElement("div",{className:"prize__rules"},d.a.createElement("div",{className:"prize__title"},"\u2014 \u6d3b\u52a8\u5956\u54c1 \u2014"),d.a.createElement("div",{className:"prize__list"},a.map(function(e,t){return d.a.createElement("div",{className:"prize__container",key:t},d.a.createElement("img",{src:e.url}))})),d.a.createElement("div",{className:"prize__title"},"\u2014 \u6d3b\u52a8\u89c4\u5219 \u2014"),d.a.createElement("div",{className:"rules__text"},d.a.createElement("p",null,"1. 11\u67085\u65e5\u81f311\u670813\u65e5\u4e4b\u95f4\u6bcf\u4eba\u6709\u4e00\u6b21\u6d4b\u8bd5\u673a\u4f1a\uff0c\u53ef\u901a\u8fc7\u201c\u96c6\u798f\u6c14\u201d\u6d3b\u52a8\u989d\u5916\u83b7\u5f972\u6b21\u6d4b\u8bd5\u673a\u4f1a\uff1b"),d.a.createElement("p",null,"2. \u5355\u6b21\u6d4b\u8bd5\u65f6\u95f4\u4e3a\u4e00\u5c0f\u65f6\uff0c\u8d85\u65f6\u81ea\u52a8\u63d0\u4ea4\u8bd5\u5377\uff1b"),d.a.createElement("p",null,"3. \u8bd5\u5377\u5185\u5bb9\u4e3aPython\u57fa\u7840\uff088\u9053\u9898*3\u5206\uff09\u3001\u673a\u5668\u5b66\u4e60\uff0812\u9053\u9898*3\u5206\uff09\u3001\u6df1\u5ea6\u5b66\u4e60\uff0810\u9053\u9898*4\u5206\uff09\uff0c\u603b\u5206100\u5206\uff1b"),d.a.createElement("p",null,"4. \u65e0\u56fa\u5b9a\u8bd5\u5377\uff0c\u53c2\u4e0e\u6d4b\u8bd5\u65f6\u4ece\u8bd5\u9898\u5e93\u4e2d\u968f\u673a\u62bd\u9898\u7ec4\u5377\uff1b"),d.a.createElement("p",null,"5. \u6392\u884c\u699c\u5b9e\u65f6\u66f4\u65b0\uff0c\u5206\u6570\u76f8\u540c\u5219\u7528\u65f6\u77ed\u8005\u6392\u540d\u66f4\u9ad8\uff0c\u591a\u6b21\u6d4b\u8bd5\u4fdd\u7559\u6700\u9ad8\u5206\uff1b"),d.a.createElement("p",null,"6. \u5982\u53d1\u73b0\u67d0\u8d26\u53f7\u6709\u4f5c\u5f0a\u5acc\u7591\uff0c\u4e03\u6708\u5728\u7ebf\u6709\u6743\u6e05\u7a7a\u8d26\u53f7\u6d4b\u8bd5\u6210\u7ee9\uff1b"),d.a.createElement("p",null,"7. \u6d3b\u52a8\u6700\u7ec8\u89e3\u91ca\u6743\u5f52\u4e03\u6708\u5728\u7ebf\u6240\u6709\u3002")))))}}]),t}(m.Component))),F=(a(1184),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).formart=function(e){var t,a,n,s=1e3*e;return t="".concat(parseInt(s/36e5)).padStart(2,0),a="".concat(parseInt((s-36e5*t)/6e4)).padStart(2,0),n="".concat(parseInt((s-36e5*t-6e4*a)/1e3)).padStart(2,0),"".concat(a,"'").concat(n,'"')},a.state={rankList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/ai_test/ranking/10")).then(function(t){var a=t.data.data;200===t.data.code&&e.setState({rankList:a.rankings})})}},{key:"render",value:function(){var e=this,t=this.state.rankList;return d.a.createElement(d.a.Fragment,null,d.a.createElement(O,{text:"\u6d4b\u8bd5\u6392\u884c\u699c",styles:{margin:"20px 0 10px"},size:"middle"}),d.a.createElement("div",{className:"sort__rules"},"\u4ec5\u663e\u793a\u524d10\u540d"),d.a.createElement("div",{className:"rank__list_module"},d.a.createElement("div",{className:"rank__table_head"},d.a.createElement("div",{className:"table_head table_head__sort"},"\u6392\u540d"),d.a.createElement("div",{className:"table_head table_head__user_info"},"\u7528\u6237"),d.a.createElement("div",{className:"table_head table_head__time"},"\u7528\u65f6"),d.a.createElement("div",{className:"table_head table_head__score"},"\u6210\u7ee9"),d.a.createElement("div",{className:"table_head table_head__prize"},"\u5956\u54c1")),d.a.createElement("div",{className:"rank__table_body"},t.map(function(t,a){return d.a.createElement("div",{className:"table__tr",key:a},d.a.createElement("div",{className:"table__body table_head__sort"},a>2?a+1:null),d.a.createElement("div",{className:"table__body table_head__user_info"},d.a.createElement("img",{className:"user__avatar",src:t.avatar}),d.a.createElement("span",{className:"user__name"},t.user_name)),d.a.createElement("div",{className:"table__body table_head__time"},e.formart(t.cost_time)),d.a.createElement("div",{className:"table__body table_head__score"},t.score),d.a.createElement("div",{className:"table__body table_head__prize"},t.prize))}))))}}]),t}(m.Component)),H=(a(1185),a(26)),Q=(a(716),a(1186),Object(M.b)(function(e){return{user:e.user}})(z=function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={tabs:[],lives:{},preheatLives:[],today:"",isApp:Object(h.c)("version")},a.toLiveRoom=function(e){a.state.isApp?Object(h.a)("toLiveRoom",e):window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.makeSubscribe=function(e){var t=a.props,n=t.user,s=t.history;n.hasError&&s.push("/passport/login"),h.d.get("".concat(API.home,"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data;200==t.code?_.a.toDataURL(t.data.url,function(e,t){Object(H.h)({title:"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6",content:d.a.createElement("img",{id:"live-qr-code",src:t,alt:""})})}):o.a.info(t.msg,2,null,!1)})},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/get_live_info")).then(function(t){var a=t.data;if(200==a.code){var n,s,c=a.data.data_active.reduce(function(e,t){return t.date in e?e[t.date].push(t):e[t.date]=[t],e},{});e.props.isFormal?(n=Object.keys(c).map(function(e){return{title:e}}),s=Object(f.uniqBy)(a.data.data_active,function(e){return e.date}).findIndex(function(e){return e.is_today})):(n=a.data.data_hot.map(function(e){return{title:e.date}}),s=a.data.data_hot.findIndex(function(e){return e.is_today})),e.setState({tabs:n,lives:c,today:s,preheatLives:a.data.data_hot})}else o.a.info(a.msg,2,null,!1)})}},{key:"render",value:function(){var e=this,t=this.state,a=t.tabs,n=t.lives,s=t.preheatLives,o=t.today;return d.a.createElement("div",{id:"live"},d.a.createElement("div",{className:"title"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),d.a.createElement("span",null,"\u5927\u5496\u76f4\u64ad"),d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),d.a.createElement("div",{className:"live-container"},""!==o&&d.a.createElement(I.a,{tabs:a,tabBarBackgroundColor:"transparent",tabBarActiveTextColor:"#5600DF",tabBarInactiveTextColor:"#FFF604",tabBarUnderlineStyle:{display:"none"},initialPage:o,swipeable:!1},this.props.isFormal?a.map(function(t,a){var s=n[t.title];return d.a.createElement("div",{key:a},s.map(function(t,a){return d.a.createElement(Y,{item:t,key:a,makeSubscribe:e.makeSubscribe})}))}):s.map(function(t,a){return d.a.createElement("div",{key:a},s.map(function(t,a){return d.a.createElement(Y,{key:a,item:t,makeSubscribe:e.makeSubscribe})}))}))))}}]),t}(m.Component))||z);function Y(e){var t=e.item,a=e.makeSubscribe;return d.a.createElement("div",{className:"content"},t.is_teacher?d.a.createElement("div",{className:"tag teacher"},"\u8bb2\u5e08\u5206\u4eab"):d.a.createElement("div",{className:"tag student"},"\u5b66\u5458\u5206\u4eab"),d.a.createElement("div",{className:"person-info"},d.a.createElement("div",{className:"left"},d.a.createElement("img",{src:t.avatar,alt:"\u5934\u50cf",className:"avatar"})),d.a.createElement("div",{className:"right"},d.a.createElement("div",{className:"name"},"\u8bb2\u5e08\uff1a",t.teacher),d.a.createElement("div",{className:"profession"},t.teacher_desc))),d.a.createElement("div",{className:"title"},t.title),d.a.createElement("div",{className:"time"},"\u76f4\u64ad\u65f6\u95f4\uff1a",t.time),d.a.createElement("div",{className:"outline"},d.a.createElement("div",{className:"outline-title"},"\u5185\u5bb9\u5927\u7eb2\uff1a"),d.a.createElement("ul",null,t.content.map(function(e,t){return d.a.createElement("li",{key:t},e)}))),t.on_live?d.a.createElement("button",{className:"on-living",onClick:this.toLiveRoom.bind(this,t.live_id)},"\u6b63\u5728\u76f4\u64ad"):t.is_end?d.a.createElement("button",{className:"subscribed"},"\u5df2\u7ed3\u675f"):t.is_subscribe?d.a.createElement("button",{className:"subscribed"},"\u5df2\u9884\u7ea6"):d.a.createElement("button",{className:"subscribe",onClick:a.bind(this,t.live_id)},"\u7acb\u5373\u9884\u7ea6"))}var V=Object(D.g)(Q),W=(a(1187),function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).navTop=183,a.prevY=0,a.state={navs:[{text:"\u79ef\u798f\u6c14",id:"lucky-value"},{text:"\u5e78\u8fd0\u5927\u62bd\u5956",id:"lucky-draw"},{text:"\u9884\u4ed8\u5b9a\u91d1",id:"deposit"},{text:"\u7cbe\u54c1\u7279\u60e0",id:"best-courses"},{text:"AI\u6d4b\u8bd5",id:"ai-test"},{text:"\u5927\u5496\u76f4\u64ad",id:"live"}],index:0},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.toSection,a=e.navs,n=e.index;return d.a.createElement("div",{id:"main-banner"},d.a.createElement("div",{className:"banner"}),d.a.createElement("nav",{id:"main-nav"},d.a.createElement("ul",null,a.map(function(e,a){return d.a.createElement("li",{key:a,className:n===a?"active":""},d.a.createElement("a",{href:"#".concat(e.id),onClick:function(e){return t(a,e)}},e.text))}))))}}]),t}(m.Component)),X=a(30),J=a(156),G=a(24),K=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(J.addDays)(new Date,90);a.state.userInfoList.map(function(t,a){o.a.info(t.uid),w.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),w.a.get("token")&&w.a.get("uid")&&(a.fetchUserBlessing(),a.setState({isApp:!0})),a.props.setCurrentUser(a.transformUser(a.state.userInfoList))},a.transformUser=function(e){var t;return e.map(function(e,a){t={hasError:!1,data:{username:e.uname,avatar:e.avatar_file,token:e.token,uid:e.uid},isFetching:!1}}),t},a.getActiveIndex=function(e,t){for(var a=0,n=e.length;a<n;a++)if(e[a]>t)return a?Math.abs(t-e[a])<Math.abs(t-e[a-1])?a:a-1:a},a.fetchMoudleId=function(e){var t=a.state.navs;return Object(f.findIndex)(t,function(t){return t.id===e})},a.setInitialNavActiveStatus=function(){new MutationObserver(Object(f.debounce)(function(e,t){var n=a.state.navs.map(function(e){return document.querySelector("#".concat(e.id))});if(n.every(function(e){return e})){var s=n.map(function(e){return e.offsetTop}),o=a.getActiveIndex(s,window.pageYOffset);a.setState({index:o,navsTop:s},function(){a.calcNavActive(),t.disconnect()})}},30)).observe(document.querySelector("#blessing-preheat"),{childList:!0,subtree:!0})},a.initNav=function(e){var t=a.state.navs;e&&a.setState({navs:t.filter(function(e){return"deposit"!==e.id})})},a.fetchMoudleId=function(e){var t=a.state.navs;return Object(f.findIndex)(t,function(t){return t.id===e})},a.fetchUserBlessing=function(){var e=a.state.userInfo;h.d.get("".concat(API.home,"/sys/user/blessing")).then(function(t){var n=t.data,s=n.code,o=n.data;200===s&&(a.setState({isSign:!!o.today_signed,isFormal:o.is_activity,userInfo:Object.assign({},e,{isFollow:o.subscribed,blessingVal:o.user_blessing_value,buyBlessing:o.types_total_blessing_value&&o.types_total_blessing_value.buy_course?o.types_total_blessing_value.buy_course:0,inviteBlessing:o.types_total_blessing_value&&o.types_total_blessing_value.invite?o.types_total_blessing_value.invite:0})}),alert(w.a.get("uid")),1===o.is_login&&a.handleToSign(),a.initNav(o.is_activity))})},a.handleToAddBlessing=function(e){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:e,type:3}).then(function(e){200===e.data.code&&o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1)})},a.handleToSign=function(){h.d.post("".concat(API.home,"/sys/add/blessing"),{type:1}).then(function(e){200===e.data.code&&(a.setState({isSign:!0}),o.a.info("+5\u70b9\u798f\u6c14\u503c~",2,null,!1))})},a.handleToHide=function(e){var t={};t[e]=!1,a.setState(Object(n.a)({},t))},a.handleToShow=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=!a.props.user.hasError;if(t&&!s)a.toLogin();else{var o={};o[e]=!0,a.setState(Object(n.a)({},o))}},a.handleToShowNotice=function(){h.d.get("".concat(API["base-api"],"/sys/activity/create_blessing_qrcode")).then(function(e){var t=e.data,n=t.errno,s=t.data;200===n?_.a.toDataURL(s.url,{width:120,height:120,margin:1}).then(function(e){Object(H.h)({title:"",content:d.a.createElement("img",{src:e,alt:"barcode",className:"qr-code"}),className:"invite-popup"})}).catch(function(e){console.error(e)}):4030!==n&&4040!==n||a.toLogin()})},a.toLogin=function(){var e=a.props.history;Object(h.c)("version")?Object(h.a)("toLogin"):e.push("/passport")},a.onCopy=function(){o.a.info("\u590d\u5236\u6210\u529f",2,null,!1)},a.toSection=function(e,t){var n=a.state.navs;t.preventDefault();var s=document.querySelector("#".concat(n[e].id)).offsetTop;a.setState({index:e}),window.scrollTo({top:s-60,left:0})},a.calcNavActive=function(){var e,t=a.state,n=t.navs,s=t.index,o=window.scrollY,c=o>a.prevY?"up":"down";e="up"===c?s+1>=n.length?s:s+1:s-1<=0?0:s-1;var r=document.querySelector("#".concat(n[e].id)),i=document.querySelector("#main-nav");if(r){var l=r.offsetTop;o<=a.navTop?i.classList.remove("fixed"):!i.classList.contains("fixed")&&i.classList.add("fixed"),"up"===c?o+30+30>=l&&a.setState({index:e}):o+30+20<=l&&a.setState({index:e}),a.prevY=o}},a.navTop=183,a.prevY=0,a.state={userInfoList:[],isRule:!1,isCourse:!1,inviteUrl:"",inviteVisible:!1,joinLotteryVisible:!1,timelineShareVisible:!1,showRecordList:!1,isFormal:!1,isServer:!1,serverUrl:"",shareMark:!1,userInfo:{},isSign:!1,navs:[{text:"\u79ef\u798f\u6c14",id:"lucky-value"},{text:"\u5e78\u8fd0\u5927\u62bd\u5956",id:"lucky-draw"},{text:"\u9884\u4ed8\u5b9a\u91d1",id:"deposit"},{text:"\u7cbe\u54c1\u7279\u60e0",id:"best-courses"},{text:"AI\u6d4b\u8bd5",id:"ai-test"},{text:"\u5927\u5496\u76f4\u64ad",id:"live"}],index:0,userHasError:e.user.hasError,isApp:!1},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.fetchUserBlessing(),this.setInitialNavActiveStatus(),window.addEventListener("scroll",Object(f.throttle)(this.calcNavActive,100)),Object(h.f)()&&Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:window.location.href,imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),window.loginInfo=function(t){e.loginInfo(t)},window.getNewData=function(t){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:"",type:4}).then(function(e){200===e.data.code&&o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1)}),e.fetchUserBlessing()},window.QQWXWBshare=function(t){0!=t&&e.handleToAddBlessing(t),e.fetchUserBlessing()}}},{key:"render",value:function(){var e=this,t=this.state,a=t.navs,n=t.userInfo,s=t.isRule,o=t.isCourse,c=t.isFormal,r=t.isSign,i=t.showRecordList,l=t.shareMark,u=t.index,m=t.isApp,p=this.props.history,_=!this.props.user.hasError;return d.a.createElement("div",{id:"blessing-preheat"},d.a.createElement(W,{isFormal:c,navs:a,toSection:this.toSection,index:u}),d.a.createElement(O,{id:"lucky-value",text:"\u79ef\u798f\u6c14\uff0c\u4eab\u53d7\u66f4\u591a\u798f\u5229",styles:{margin:"60px 0 15px"}}),d.a.createElement(b.b,{className:"luck-draw__button",to:"/blessingRank"},"\u798f\u6c14\u6392\u884c\u699c>"),d.a.createElement(P,{isSign:r,userInfo:n,isLogin:_,history:this.props.history,toSection:function(t){return e.toSection(e.fetchMoudleId("best-courses"),t)},handleToShowList:function(){return e.handleToShow("isCourse")},handleToShowNotice:this.handleToShowNotice,handleToShow:this.handleToShow,toLogin:this.toLogin,handleToShowShare:function(){return e.handleToShow("shareMark")},handleToHideShare:function(){return e.handleToHide("shareMark")}}),d.a.createElement(O,{id:"lucky-draw",text:"\u5e78\u8fd0\u5927\u62bd\u5956",styles:{margin:"30px 0 10px"}}),d.a.createElement("p",{className:"luck-draw__tip"},"- \u5c06\u4e8e11\u670811\u65e510\u70b9\u5f00\u542f -"),d.a.createElement("button",{className:"luck-draw__button",onClick:function(){return e.handleToShow("isRule")}},"\u6d3b\u52a8\u89c4\u5219>"),d.a.createElement(T,null),0===c&&d.a.createElement(d.a.Fragment,null,d.a.createElement(O,{id:"deposit",text:"\u9884\u4ed81\u5143\u5b9a\u91d1\uff0c\u6700\u9ad8\u53ef\u7701100\u5143",styles:{margin:"30px 0 15px"}}),d.a.createElement(B,{isApp:m})),d.a.createElement(O,{id:"best-courses",text:"\u7cbe\u54c1\u8bfe\u7a0b\u7279\u60e0\u4e13\u533a",styles:{margin:"30px 0 15px"}}),d.a.createElement(L,{isApp:m,isFormal:c,isLogin:_,history:this.props.history,toLogin:this.toLogin}),s&&d.a.createElement(v,{handleToHide:function(){return e.handleToHide("isRule")}}),o&&d.a.createElement(E,{toLogin:this.toLogin,history:p,isLogin:_,handleToHide:function(){return e.handleToHide("isCourse")}}),i&&d.a.createElement(g,{handleToHide:function(){return e.handleToHide("showRecordList")}}),l&&d.a.createElement(S,null),d.a.createElement(O,{id:"ai-test",text:"\u5168\u56fdAI\u5de5\u7a0b\u5e08\u6c34\u5e73\u6d4b\u8bd5",styles:{margin:"30px 0 15px"}}),d.a.createElement("div",{className:"test__record",onClick:function(){return e.handleToShow("showRecordList",!0)}},"\u6d4b\u8bd5\u8bb0\u5f55>"),d.a.createElement(q,{history:p,isLogin:_,toLogin:this.toLogin}),d.a.createElement(F,null),d.a.createElement(V,{isFormal:c}))}}]),t}(m.Component);t.default=Object(G.d)(Object(M.b)(function(e){return{user:e.user}},{setCurrentUser:X.g,startFetchUser:X.h}))(K)},716:function(e,t,a){"use strict";var n=a(717).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},717:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},s=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),o=r(a(0)),c=r(a(718));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(t.CopyToClipboard=function(e){function t(){var e,a,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var s=arguments.length,r=Array(s),l=0;l<s;l++)r[l]=arguments[l];return a=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),n.onClick=function(e){var t=n.props,a=t.text,s=t.onCopy,r=t.children,i=t.options,l=o.default.Children.only(r),u=(0,c.default)(a,i);s&&s(a,u),l&&l.props&&"function"===typeof l.props.onClick&&l.props.onClick(e)},i(n,a)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.PureComponent),s(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),a=function(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(e,["text","onCopy","options","children"]),s=o.default.Children.only(t);return o.default.cloneElement(s,n({},a,{onClick:this.onClick}))}}]),t}()).defaultProps={onCopy:void 0,options:void 0}},718:function(e,t,a){"use strict";var n=a(719),s="Copy to clipboard: #{key}, Enter";e.exports=function(e,t){var a,o,c,r,i,l,u=!1;t||(t={}),a=t.debug||!1;try{if(c=n(),r=document.createRange(),i=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(a){a.stopPropagation(),t.format&&(a.preventDefault(),a.clipboardData.clearData(),a.clipboardData.setData(t.format,e))}),document.body.appendChild(l),r.selectNodeContents(l),i.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(m){a&&console.error("unable to copy using execCommand: ",m),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),u=!0}catch(m){a&&console.error("unable to copy using clipboardData: ",m),a&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:s),window.prompt(o,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(r):i.removeAllRanges()),l&&document.body.removeChild(l),c()}return u}},719:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,a=[],n=0;n<e.rangeCount;n++)a.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||a.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}}]);
//# sourceMappingURL=blessing-preheat.63059f82.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1172:function(e,t,a){},1173:function(e,t,a){},1174:function(e,t,a){},1175:function(e,t,a){},1176:function(e,t,a){},1177:function(e,t,a){},1178:function(e,t,a){},1179:function(e,t,a){},1180:function(e,t,a){},1181:function(e,t,a){},1182:function(e,t,a){},1183:function(e,t,a){},1184:function(e,t,a){},1185:function(e,t,a){},1186:function(e,t,a){},1187:function(e,t,a){},1221:function(e,t,a){"use strict";a.r(t);var n=a(20),s=(a(39),a(12)),o=a.n(s),c=a(5),r=a(7),i=a(6),l=a(8),u=a(9),m=a(0),d=a.n(m),p=a(623),_=a.n(p),h=a(3),b=a(15),f=a(40),v=(a(1172),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).state={rules:["\u2022\t\u62bd\u5956\u7684\u6b21\u6570\u53ef\u901a\u8fc7\u79ef\u798f\u6c14\u83b7\u5f97\uff0c\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u62bd\u5956\u7684\u6b21\u6570\u8d8a\u591a;","\u2022\t\u672c\u6b21\u62bd\u5956\u5f62\u5f0f\u4e3a\u5f00\u5956\u5236\uff0c\u4e0b\u4e00\u65f6\u6bb5\u5f00\u542f\u62bd\u5956\u524d\u4f1a\u516c\u5e03\u4e0a\u4e00\u6b21\u4e2d\u5956\u7ed3\u679c\u53ca\u540d\u5355\uff0c\u53ef\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u53ca\u65f6\u83b7\u53d6\u4e2d\u5956\u7ed3\u679c\uff0c\u63d0\u9192\u53c2\u4e0e\u4e0b\u6b21\u62bd\u5956;","\u2022\t\u6bcf\u4e2a\u65f6\u6bb5\u4ec5\u53ef\u4f7f\u7528\u4e00\u6b21\u62bd\u5956\u673a\u4f1a\uff0c\u6bcf\u65e5\u62bd\u5956\u6b21\u6570\u9650\u5f53\u65e5\u7528\uff0c\u62bd\u5956\u6b21\u6570\u4e0d\u7d2f\u52a0\u81f3\u6b21\u65e5;","\u2022\t\u4e2d\u5956\u540e\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c\u4e0d\u586b\u5199\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","\u2022\t\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u6240\u6709\u3002"]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.state.rules,t=this.props.handleToHide;return d.a.createElement("div",{className:"rule-popup__container"},d.a.createElement("div",{className:"rule-popup"},d.a.createElement("h2",{className:"rule-popup__title"},"\u6d3b\u52a8\u89c4\u5219"),d.a.createElement("ul",{className:"rule-popup__list"},e.map(function(e,t){return d.a.createElement("li",{className:"rule-popup__item",key:t},e)}))),d.a.createElement("i",{className:"iconfont iconiconfront-2",onClick:t}))}}]),t}(m.Component)),E=(a(1173),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchCourseData=function(){Promise.all([h.d.get("".concat(API.home,"/sys/browse/blessing/courses")),h.d.get("".concat(API.home,"/sys/user/blessing"))]).then(function(e){var t=e[0].data,n=t.code,s=t.data,o=e[1].data.data.today_browsed_courses||[];200===n&&a.setState({courseList:s.map(function(e){return o.some(function(t){return t==e.course_id})?Object.assign({},e,{blessing:2}):e})})})},a.toCourseDetail=function(e){console.log(a.props);var t=a.props,n=t.isLogin,s=t.history,o=t.toLogin;if(n)if(Object(h.c)("version")){var c=0;c=e.blessing?2:1;var r={courseId:e.course_id,type:c};Object(h.a)("toCourse",r)}else s.push("/detail?id=".concat(e.course_id,"&ac=11"));else o()},a.state={courseList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseData()}},{key:"render",value:function(){var e=this,t=this.state.courseList,a=this.props.handleToHide;return d.a.createElement("div",{className:"course-popup__container"},d.a.createElement("div",{className:"course-popup"},d.a.createElement("h2",{className:"course-popup__title"},"\u6307\u5b9a\u8bfe\u7a0b"),d.a.createElement("div",{className:"course-popup__list"},t.map(function(t){return d.a.createElement("span",{className:"course-popup__item",key:t.course_id,onClick:function(){e.toCourseDetail(t)}},d.a.createElement("span",{className:"course-popup__name"},t.course_title),t.blessing&&d.a.createElement("span",null,"+2\u70b9"))}))),d.a.createElement("i",{className:"iconfont iconiconfront-2",onClick:a}))}}]),t}(m.Component)),g=(a(1174),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).state={recordList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/ai_test/get_user_testinfo")).then(function(t){var a=t.data,n=a.code,s=a.data.user_test_record;200===n&&e.setState({recordList:s})})}},{key:"render",value:function(){var e=this.state.recordList,t=this.props.handleToHide;return d.a.createElement("div",{className:"record__mark"},d.a.createElement("div",{className:"gift__record"},d.a.createElement("div",{className:"close__button",onClick:t},d.a.createElement("i",{className:"icon iconfont iconiconfront-77"})),d.a.createElement("p",{className:"mark__title"},"\u6d4b\u8bd5\u8bb0\u5f55"),d.a.createElement("p",{className:"mark__tip"},"\u591a\u6b21\u6d4b\u8bd5\u4fdd\u7559\u6700\u9ad8\u5206\uff0c\u53ef\u67e5\u770b\u6700\u8fd1\u4e00\u6b21\u7b54\u9898\u8bb0\u5f55"),d.a.createElement("div",null,d.a.createElement("div",{className:"table__head"},d.a.createElement("span",{className:"tr"},"\u6d4b\u8bd5\u65f6\u95f4"),d.a.createElement("span",{className:"tr"},"\u5206\u6570"),d.a.createElement("span",{className:"tr"},"\u64cd\u4f5c")),d.a.createElement("div",{className:"table__body"},e.map(function(e,t){return d.a.createElement("div",{className:"tr__container",key:t},d.a.createElement("span",{className:"tr"},e.submit_time),d.a.createElement("span",{className:"tr"},e.score),d.a.createElement("span",{className:"tr"},0===t?d.a.createElement("a",{href:"/levelTest/report?id=".concat(e.id)},"\u6d4b\u8bd5\u8bb0\u5f55"):null))})))))}}]),t}(m.Component)),y=a(17),N=a.n(y);a(1175);var j,C=function(e){return function(t){function a(){return Object(c.a)(this,a),Object(i.a)(this,Object(l.a)(a).apply(this,arguments))}return Object(u.a)(a,t),Object(r.a)(a,[{key:"render",value:function(){return d.a.createElement("div",{className:"list-frame"},d.a.createElement("div",{className:"list-frame__content"},d.a.createElement(e,this.props)))}}]),a}(m.Component)},k=(a(1176),function(e){function t(){return Object(c.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,n=e.id;return d.a.createElement("div",{className:"course-container"},d.a.createElement("div",{className:"course__cover"},d.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(n)}})),this.props.children)}}]),t}(m.Component)),O=(a(1177),function(e){function t(){return Object(c.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.text,a=e.size,n=e.styles,s=e.id,o=a?"list-header--".concat(a):"";return d.a.createElement("div",{id:s,className:N()("list-header",o),style:n},d.a.createElement("i",{className:"list-header__decorate","data-position":"left"}),t?d.a.createElement("h2",{className:"list-header__content"},t):this.props.children,d.a.createElement("i",{className:"list-header__decorate","data-position":"right"}))}}]),t}(m.Component)),x=(a(1178),a(37)),w=a.n(x),L=C(function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchAICourse=function(e){var t=a.state,n=t.basic,s=t.advanced,o=t.higher,c=t.expand;h.d.get("".concat(API.home,"/sys/ai_grow_up_courses/").concat(e)).then(function(t){var r=t.data,i=r.code,l=r.data;200===i&&(l.length>4?("one"===e&&a.setState({basic:Object.assign({},n,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"two"===e&&a.setState({advanced:Object.assign({},s,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"three"===e&&a.setState({higher:Object.assign({},o,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"four"===e&&a.setState({expand:Object.assign({},c,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})})):("one"===e&&a.setState({basic:Object.assign({},n,{isMore:!1,course:l,courseList:l})}),"two"===e&&a.setState({advanced:Object.assign({},s,{isMore:!1,course:l,courseList:l})}),"three"===e&&a.setState({higher:Object.assign({},o,{isMore:!1,course:l,courseList:l})}),"four"===e&&a.setState({expand:Object.assign({},c,{isMore:!1,course:l,courseList:l})})))})},a.fetchCourseData=function(){var e=a.state,t=e.group,n=e.training;h.d.get("".concat(API.home,"/sys/preheat_data")).then(function(e){var s=e.data,o=s.code,c=s.data;200===o&&(c.excellent_course.length>2?a.setState({group:Object.assign({},t,{isMore:!0,course:c.excellent_course.filter(function(e,t){return t<2}),courseList:c.excellent_course})}):a.setState({group:Object.assign({},t,{isMore:!1,course:c.excellent_course,courseList:c.excellent_course})}),c.ai_elite_courses.length>2?a.setState({training:Object.assign({},n,{isMore:!0,course:c.ai_elite_courses.filter(function(e,t){return t<2}),courseList:c.ai_elite_courses})}):a.setState({training:Object.assign({},n,{isMore:!1,course:c.ai_elite_courses,courseList:c.ai_elite_courses})}))})},a.handleToMore=function(e){var t={};a.state[e].isMore?(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList,courseList:a.state[e].courseList},a.setState(Object(n.a)({},t))):(t[e]="group"===e||"training"===e?{isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<2}),courseList:a.state[e].courseList}:{isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList},a.setState(Object(n.a)({},t)))},a.toQQque=function(){Object(h.c)("version")?Object(h.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="https://q.url.cn/AB8aue?_type=wpa&qidian=true"},a.toCourse=function(e){var t=a.props.history;if(Object(h.c)("version")){var n={courseId:e,type:0};Object(h.a)("toCourse",n)}else t.push("/detail?id=".concat(e))},a.state={basic:{course:[],courseList:[],isMore:!1},advanced:{course:[],courseList:[],isMore:!1},higher:{course:[],courseList:[],isMore:!1},expand:{course:[],courseList:[],isMore:!1},group:{course:[],courseList:[],isMore:!1},training:{course:[],courseList:[],isMore:!1}},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseData(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four")}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isApp===e.isApp||(this.fetchCourseData(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four"),!1)}},{key:"toReceiveCoupon",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=this.props,c=s.isLogin,r=s.toLogin;c?h.d.post("".concat(API.home,"/sys/activity/coupon/receive"),{course_id:e}).then(function(s){var c=s.data,r=c.code,i=c.msg;if(200===r){o.a.info("\u9886\u53d6\u6210\u529f\uff5e",2,null,!1);var l={};l[a]={isMore:t.state[a].isMore,course:t.state[a].course.map(function(t){return t.course_id===e?Object.assign({},t,{course_status:2}):t}),courseList:t.state[a].courseList.map(function(t){return t.course_id===e?Object.assign({},t,{course_status:2}):t})},t.setState(Object(n.a)({},l))}else o.a.info(i,2,null,!1)}):r()}},{key:"render",value:function(){var e=this,t=this.props.isFormal,a=this.state,n=a.basic,s=a.advanced,o=a.higher,c=a.expand,r=a.group,i=a.training;return d.a.createElement("div",{className:"boutique-course"},d.a.createElement(O,{text:"\u96c6\u8bad\u8425\u3001\u5c31\u4e1a\u73ed",size:"middle",styles:{margin:"20px 0 15px"}}),r.course&&r.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{"data-layout":"row"},r.course.map(function(t){return d.a.createElement(k,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},d.a.createElement("div",{className:"coupon-course__footer"},d.a.createElement("a",{onClick:function(){return e.toQQque()},className:"course-button"},"\u7acb\u62a2\u8d85\u4f4e\u56e2\u8d2d\u4ef7")))})),r.courseList&&r.courseList.length>2&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("group")}},r.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),d.a.createElement(O,{text:"AI\u7279\u8bad\u8425",size:"middle",styles:{margin:"0 0 15px"}}),i.course&&i.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{"data-layout":"row"},i.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"training")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),i.courseList&&i.courseList.length>2&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("training")}},i.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),d.a.createElement(O,{text:"AI\u6210\u957f\u4e4b\u8def",size:"middle",styles:{margin:"0 0 15px"}}),n.course&&n.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u57fa\u7840"),d.a.createElement("div",{"data-layout":"row"},n.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"basic")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),n.courseList&&n.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("basic")}},n.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),s.course&&s.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u8fdb\u9636"),d.a.createElement("div",{"data-layout":"row"},s.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"advanced")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),s.courseList&&s.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("advanced")}},s.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),o.course&&o.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u9ad8\u9636"),d.a.createElement("div",{"data-layout":"row"},o.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"higher")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),o.courseList&&o.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("higher")}},o.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),c.course&&c.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u6269\u5c55"),d.a.createElement("div",{"data-layout":"row"},c.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"expand")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},(1===a.course_status||2===a.course_status)&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),c.courseList&&c.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("expand")}},c.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")))}}]),t}(m.Component)),S=(a(1179),function(e){function t(){return Object(c.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return d.a.createElement("div",{className:"share__container"},h.b.isWeixin&&d.a.createElement("div",{className:"share__row"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/throw_icon.png"})),d.a.createElement("div",{className:"share__content"},d.a.createElement("p",{className:"share__text"},"\u5206\u4eab\u6d3b\u52a8\u9875\u5230\u670b\u53cb\u5708\u3001qq\u3001\u5fae\u535a\u5206\u522b"),d.a.createElement("div",{className:"share__rule"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/add2.png"}),d.a.createElement("span",null,"\uff08\u6bcf\u4e2a\u5e73\u53f0\u6bcf\u5929\u4e00\u6b21\uff09"))))}}]),t}(m.Component)),A=(a(158),a(91)),I=a.n(A),T=(a(1180),C(function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchActivityPrize=function(){h.d.get("".concat(API.home,"/sys/activity/prize_data")).then(function(e){var t=e.data,n=t.code,s=t.data.list,o=void 0===s?[]:s;200===n&&a.setState({tabs:o.map(function(e){return{title:e.date}}),prizes:o})})},a.state={tabs:[],prizes:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchActivityPrize()}},{key:"render",value:function(){var e=this.state,t=e.tabs,a=e.prizes;return d.a.createElement("div",{className:"luck-draw__container"},d.a.createElement(I.a,{swipeable:!1,tabs:t,tabBarBackgroundColor:"transparent",tabBarUnderlineStyle:{display:"none"}},a.map(function(e,t){var a=e.son;return d.a.createElement("div",{className:"tab__body",key:t},a.map(function(e){return d.a.createElement("div",{key:e.id},d.a.createElement("h2",{className:"prize__label"},d.a.createElement("i",{className:"prize__label-icon"}),d.a.createElement("span",null,e.time)),d.a.createElement("div",{className:"prize__content"},e.data.map(function(t,a){return d.a.createElement("div",{className:"prize__container",key:"".concat(e.id,"-").concat(a)},d.a.createElement("div",{className:"prize__image"},d.a.createElement("img",{src:t.img,alt:"image"})),d.a.createElement("p",{className:"prize__desc"},t.name),d.a.createElement("p",{className:"prize__desc"},"\uff08*",t.num,"\uff09"))})))}))})))}}]),t}(m.Component))),M=a(22),P=(a(1181),C(Object(M.b)(function(e){var t=e.user;return{uid:t&&t.data&&t.data.uid?t.data.uid:""}})(j=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).qqToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("QQshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=qq&utm_medium=11&utm_campaign=QQ11&utm_content=11&utm_term=11"),a.fetchUserBlessing(3,function(){a.handleToAddBlessing(3)})):n.push("/passport")},a.wechatToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("WXshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=1&utm_medium=1&utm_campaign=11&utm_content=1&utm_term=1"),a.fetchUserBlessing(1,function(){a.handleToAddBlessing(1)})):n.push("/passport")},a.weiboToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("WBshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=sina&utm_medium=11&utm_campaign=sina11&utm_content=1&utm_term=11"),a.fetchUserBlessing(2,function(){a.handleToAddBlessing(2)})):n.push("/passport")},a.handleToAddBlessing=function(e){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:e,type:3}).then(function(e){200===e.data.code&&o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1)})},a.handleToInvite=function(){var e=a.props,t=e.uid,n=e.history;t?n.push("/invite"):Object(h.c)("version")?Object(h.a)("toLogin"):n.push("/passport")},a.state={rules:["app/h5/pc\u7aef\u6d3b\u52a8\u9875\u7b7e\u5230+5\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u5929\u4e00\u6b21\uff09","\u5173\u6ce8\u4e03\u6708\u5728\u7ebf\u5fae\u4fe1\u670d\u52a1\u53f7+30\u70b9\u798f\u6c14\u503c\uff08\u4ec5\u9650\u4e00\u6b21\uff09","\u5206\u4eab\u6d3b\u52a8\u9875\u5230\u670b\u53cb\u5708\u3001qq\uff0c\u5206\u522b+2\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u4e2a\u5e73\u53f0\u6bcf\u5929\u4e00\u6b21\uff09","\u6d4f\u89c8\u6307\u5b9a\u8bfe\u7a0b\u8be6\u60c5\u9875\uff0c\u4e00\u95e8\u8bfe\u7a0b+2\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u5929\u4e00\u6b21\uff09","\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c+10\u70b9\u798f\u6c14\u503c/\u4eba\uff08\u65e0\u4e0a\u9650\uff09","\u6d3b\u52a8\u671f\u95f4\u6bcf\u8d2d\u4e70\u4e00\u95e8\u8bfe\u7a0b+20\u70b9\u798f\u6c14\u503c"],welfareRuleList:[{range:"50~100",rules:[{id:1,text:"1.\u6bcf\u5929\u4e00\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb2\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf11\u3001\u6ee11111\u51cf111\u3002"}]},{range:"101~190",rules:[{id:1,text:"1.\u6bcf\u5929\u4e24\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb3\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf31\u3001\u6ee11111\u51cf211\uff1b"},{id:4,text:"4.AI\u6c34\u5e73\u6d4b\u8bd5\u589e\u52a01\u6b21\u3002"}]},{range:">190",rules:[{id:1,text:"1.\u6bcf\u5929\u4e09\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb4\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf51\u3001\u6ee11111\u51cf411\uff1b"},{id:4,text:"4.AI\u6c34\u5e73\u6d4b\u8bd5\u589e\u52a02\u6b21\u3002"}]}],seconds:5},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"fetchUserBlessing",value:function(e,t){var a=this,n=this.props,s=n.handleToShowShare,c=n.handleToHideShare,r=this.state.seconds;h.d.get("".concat(API.home,"/sys/user/blessing")).then(function(n){var i=n.data,l=i.code,u=i.data;200===l&&(u.today_shared_platforms.some(function(t){return t===e})?o.a.info("\u4eca\u65e5\u5df2\u5206\u4eab\uff0c\u8bb0\u5f97\u660e\u5929\u6765~",2,null,!1):(s(),a.shareTimer=setInterval(function(){a.setState({seconds:--r},function(){0===r&&("function"===typeof t&&t(),c(),clearInterval(a.shareTimer))})},1e3)))})}},{key:"render",value:function(){var e=this,t=this.props,a=t.isSign,n=t.userInfo,s=n.blessingVal,o=void 0===s?0:s,c=n.buyBlessing,r=void 0===c?0:c,i=n.inviteBlessing,l=void 0===i?0:i,u=n.isFollow,m=void 0===u?0:u,p=t.isLogin,_=t.handleToShowNotice,h=t.handleToShowList,b=(t.handleToShow,t.toLogin),f=t.toSection,v=this.state,E=v.rules,g=v.welfareRuleList;v.seconds;return d.a.createElement("div",{className:"collect-blessing"},p?d.a.createElement(O,{text:"\u6211\u7684\u798f\u6c14\u503c\uff1a ".concat(o,"\u5206"),size:"middle",styles:{margin:"20px 0 0 0"}}):d.a.createElement(O,{size:"middle",styles:{margin:"20px 0 0 0"}},d.a.createElement("span",{className:"text_nologin"},"\u6211\u7684\u798f\u6c14\u503c\uff1a"),d.a.createElement("span",{onClick:b,className:"login__btn"},"\u767b\u5f55")),d.a.createElement("p",{className:"activity__over"},"\u6d3b\u52a8\u7ed3\u675f\u524d\u798f\u6c14\u699c\u524d50\u540d\u53ef\u83b7\u5956\u54c1\u4e00\u4efd"),g.map(function(e,t){return d.a.createElement("div",{className:"rules__item",key:t},d.a.createElement("div",{className:"item__left"},d.a.createElement("div",{className:"tip__bubble"},d.a.createElement("div",{className:"tip__text"},"\u798f\u6c14\u503c"),d.a.createElement("div",{className:"tip__style"})),d.a.createElement("div",{className:"range__number"},e.range)),d.a.createElement("div",{className:"item__right"},e.rules.map(function(e){return d.a.createElement("p",{key:e.id},e.text,d.a.createElement("span",null,e.des))})))}),d.a.createElement(O,{text:"\u798f\u6c14\u503c\u79ef\u6512\u89c4\u5219",size:"middle",styles:{margin:"30px 0 0"}}),E.map(function(t,n){return d.a.createElement("div",{className:"collect-blessing__item",key:n},d.a.createElement("i",{className:"collect-blessing__num"},n+1),d.a.createElement("p",{className:"collect-blessing__title"},t),0===n&&d.a.createElement(d.a.Fragment,null,p&&a?d.a.createElement("a",{className:"collect-blessing__content","data-status":"done"},"+5\u70b9",d.a.createElement("br",null),"\u798f\u6c14\u503c"):d.a.createElement("span",{onClick:b,className:"collect-blessing__content"},"\u70b9\u51fb",d.a.createElement("br",null),"\u7b7e\u5230")),1===n&&d.a.createElement(d.a.Fragment,null,1===m?d.a.createElement("a",{className:"collect-blessing__content","data-status":"done",onClick:_},"\u5df2\u52a030\u70b9"):d.a.createElement("a",{className:"collect-blessing__content",onClick:_},"\u5173\u6ce8",d.a.createElement("br",null),"\u4e8c\u7ef4\u7801")),2===n&&d.a.createElement("div",{className:"collect-blessing__content","data-layout":"column"},d.a.createElement("p",{className:"collect-blessing__label"},"\u53bb\u5206\u4eab"),d.a.createElement("div",{className:"collect-blessing__share"},d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"qq",onClick:e.qqToShare}),d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"wechat",onClick:e.wechatToShare}),d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"weibo",onClick:e.weiboToShare}))),3===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:h},"\u6d4f\u89c8\u8bfe\u7a0b",d.a.createElement("br",null),"\u8be6\u60c5\u9875"),4===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:e.handleToInvite},d.a.createElement("span",null,"\u9080\u8bf7\u94fe\u63a5"),l>0&&d.a.createElement("i",null,"\u5df2\u52a0",l,"\u70b9")),5===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:f},d.a.createElement("span",null,"\u53bb\u9009\u8bfe"),r>0&&d.a.createElement("i",null,"\u5df2\u52a0",r,"\u70b9")))}))}}]),t}(m.Component))||j)),D=(a(1182),a(48)),R=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchAICourse=function(){h.d.get("".concat(API.home,"/sys/pre_coursee")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;200===n?a.setState({courseData:s.filter(function(e,t){return t<4}),courseDataAll:s}):o.a.info(c,2)})},a.expandPaydj=function(e){var t=a.props,n=t.user;t.history;n&&n.data&&n.data.uid?Object(h.c)("version")?Object(h.a)("earnestMoney",e):a.props.history.push("/deposit-order?oid=".concat(e,"&source=",2),{id:e,isexpand:1,sourcenum:2}):Object(h.c)("version")?Object(h.a)("toLogin"):a.props.history.push("/passport/login")},a.expandPaywk=function(e,t,n){var s=a.props,c=s.user;s.history;c&&c.data&&c.data.uid?Date.parse(new Date)/1e3>=t?Object(h.c)("version")?Object(h.a)("TailMoney"):a.props.history.push("/final-deposit-order?source=1",{id:e,sourcenum:1}):o.a.info("\u4ed8\u5c3e\u6b3e\u65f6\u95f4\u5c06\u5728"+n+"\u5f00\u542f",2):Object(h.c)("version")?Object(h.a)("toLogin"):a.props.history.push("/passport/login")},a.tostudy=function(e){if(Object(h.c)("version")){var t={courseId:e,type:0};Object(h.a)("toCourse",t)}else a.props.history.push("/getDetail?id=".concat(e))},a.showMoreData=function(){a.setState({isShowMore:!a.state.isShowMore,courseData:a.state.isShowMore?a.state.courseDataAll.filter(function(e,t){return t<4}):a.state.courseDataAll})},a.state={courseData:[],isShowMore:!1},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchAICourse()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isApp===e.isApp||(this.fetchAICourse(),!1)}},{key:"render",value:function(){var e=this.state,t=e.courseData,a=e.isShowMore;return d.a.createElement("div",{className:"reserve-course-module"},d.a.createElement(U,{courseData:t,expandPaydj:this.expandPaydj,expandPaywk:this.expandPaywk,tostudy:this.tostudy}),d.a.createElement("button",{className:"more-button",onClick:this.showMoreData},a?"\u6536\u8d77":"\u5c55\u5f00\u66f4\u591a"))}}]),t}(m.Component);function U(e){var t=e.courseData,a=e.expandPaydj,n=e.expandPaywk,s=e.tostudy;return d.a.createElement("div",{className:"course-list"},d.a.createElement("ul",null,t.map(function(e,t){return d.a.createElement("li",{className:"course-item-box",key:t},d.a.createElement("a",{onClick:function(){return s(e.course_id)}},d.a.createElement("div",{className:"top"},d.a.createElement("div",{className:"square"},d.a.createElement("p",{className:"circular"},"\u5230\u624b\u6700\u4f4e\xa5",d.a.createElement("span",null,Number(e.price)-Number(e.deduction_amount)-Number(e.limit_amount)))),d.a.createElement("img",{className:"course-img",src:e.image_name,alt:""}))),d.a.createElement("p",{className:"count-price"},"=\u539f\u4ef7\xa5",e.price,d.a.createElement("span",null,"-\u62b5\u6263\xa5",d.a.createElement("i",null,e.deduction_amount)),d.a.createElement("span",null,"-\u81a8\u80c0\u5238\xa5",d.a.createElement("i",null,e.limit_amount))),d.a.createElement("div",{className:"btn"},0===e.is_buy&&d.a.createElement("button",{className:"to-expand-buy1",onClick:function(){return a(e.course_id)}},"\u7acb\u5373\u4ed8\u5b9a\u91d1"),1===e.is_buy&&d.a.createElement("button",{className:"to-expand-buy2",onClick:function(){return n(e.course_id,e.start_timestamp,e.final_start_time)}},"\u7acb\u5373\u4ed8\u5c3e\u6b3e"),2===e.is_buy&&d.a.createElement("button",{className:"to-study",onClick:function(){return s(e.course_id)}},"\u5f00\u59cb\u5b66\u4e60")))})))}var z,B=C(Object(M.b)(function(e){return{user:e.user}})(Object(D.g)(R))),q=(a(1183),C(function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).startTest=function(){var e=a.props,t=(e.history,e.isLogin),n=e.toLogin;t?window.location.href="".concat(API.m,"/levelTest/test"):n()},a.state={testNumber:12345,number:1,prizeListUrl:[{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top1.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top2.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top3-4.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top5-7.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top8-10.png"}]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.props.isLogin&&h.d.get("".concat(API.home,"/sys/ai_test/get_user_testinfo")).then(function(t){var a=t.data,n=a.code,s=a.data,o=s.user_test_total,c=s.user_residue_number;200===n&&e.setState({testNumber:o,number:c})})}},{key:"render",value:function(){var e=this.state,t=e.testNumber,a=(e.number,e.prizeListUrl);this.props.isLogin;return d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{className:"level__test_module"},d.a.createElement("div",{className:"start__test",onClick:this.startTest},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/test_icon.png"}),d.a.createElement("div",{className:"button__text"},d.a.createElement("p",null,"\u70b9\u51fb\u6d4b\u8bd5"))),d.a.createElement("div",{className:"test__number"},"\u5df2\u6709",d.a.createElement("span",{className:"number"},t),"\u4eba\u53c2\u52a0\u6d4b\u8bd5"),d.a.createElement("div",{className:"prize__rules"},d.a.createElement("div",{className:"prize__title"},"\u2014 \u6d3b\u52a8\u5956\u54c1 \u2014"),d.a.createElement("div",{className:"prize__list"},a.map(function(e,t){return d.a.createElement("div",{className:"prize__container",key:t},d.a.createElement("img",{src:e.url}))})),d.a.createElement("div",{className:"prize__title"},"\u2014 \u6d3b\u52a8\u89c4\u5219 \u2014"),d.a.createElement("div",{className:"rules__text"},d.a.createElement("p",null,"1. 11\u67085\u65e5\u81f311\u670813\u65e5\u4e4b\u95f4\u6bcf\u4eba\u6709\u4e00\u6b21\u6d4b\u8bd5\u673a\u4f1a\uff0c\u53ef\u901a\u8fc7\u201c\u96c6\u798f\u6c14\u201d\u6d3b\u52a8\u989d\u5916\u83b7\u5f972\u6b21\u6d4b\u8bd5\u673a\u4f1a\uff1b"),d.a.createElement("p",null,"2. \u5355\u6b21\u6d4b\u8bd5\u65f6\u95f4\u4e3a\u4e00\u5c0f\u65f6\uff0c\u8d85\u65f6\u81ea\u52a8\u63d0\u4ea4\u8bd5\u5377\uff1b"),d.a.createElement("p",null,"3. \u8bd5\u5377\u5185\u5bb9\u4e3aPython\u57fa\u7840\uff088\u9053\u9898*3\u5206\uff09\u3001\u673a\u5668\u5b66\u4e60\uff0812\u9053\u9898*3\u5206\uff09\u3001\u6df1\u5ea6\u5b66\u4e60\uff0810\u9053\u9898*4\u5206\uff09\uff0c\u603b\u5206100\u5206\uff1b"),d.a.createElement("p",null,"4. \u65e0\u56fa\u5b9a\u8bd5\u5377\uff0c\u53c2\u4e0e\u6d4b\u8bd5\u65f6\u4ece\u8bd5\u9898\u5e93\u4e2d\u968f\u673a\u62bd\u9898\u7ec4\u5377\uff1b"),d.a.createElement("p",null,"5. \u6392\u884c\u699c\u5b9e\u65f6\u66f4\u65b0\uff0c\u5206\u6570\u76f8\u540c\u5219\u7528\u65f6\u77ed\u8005\u6392\u540d\u66f4\u9ad8\uff0c\u591a\u6b21\u6d4b\u8bd5\u4fdd\u7559\u6700\u9ad8\u5206\uff1b"),d.a.createElement("p",null,"6. \u5982\u53d1\u73b0\u67d0\u8d26\u53f7\u6709\u4f5c\u5f0a\u5acc\u7591\uff0c\u4e03\u6708\u5728\u7ebf\u6709\u6743\u6e05\u7a7a\u8d26\u53f7\u6d4b\u8bd5\u6210\u7ee9\uff1b"),d.a.createElement("p",null,"7. \u6d3b\u52a8\u6700\u7ec8\u89e3\u91ca\u6743\u5f52\u4e03\u6708\u5728\u7ebf\u6240\u6709\u3002")))))}}]),t}(m.Component))),F=(a(1184),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).formart=function(e){var t,a,n,s=1e3*e;return t="".concat(parseInt(s/36e5)).padStart(2,0),a="".concat(parseInt((s-36e5*t)/6e4)).padStart(2,0),n="".concat(parseInt((s-36e5*t-6e4*a)/1e3)).padStart(2,0),"".concat(a,"'").concat(n,'"')},a.state={rankList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/ai_test/ranking/10")).then(function(t){var a=t.data.data;200===t.data.code&&e.setState({rankList:a.rankings})})}},{key:"render",value:function(){var e=this,t=this.state.rankList;return d.a.createElement(d.a.Fragment,null,d.a.createElement(O,{text:"\u6d4b\u8bd5\u6392\u884c\u699c",styles:{margin:"20px 0 10px"},size:"middle"}),d.a.createElement("div",{className:"sort__rules"},"\u4ec5\u663e\u793a\u524d10\u540d"),d.a.createElement("div",{className:"rank__list_module"},d.a.createElement("div",{className:"rank__table_head"},d.a.createElement("div",{className:"table_head table_head__sort"},"\u6392\u540d"),d.a.createElement("div",{className:"table_head table_head__user_info"},"\u7528\u6237"),d.a.createElement("div",{className:"table_head table_head__time"},"\u7528\u65f6"),d.a.createElement("div",{className:"table_head table_head__score"},"\u6210\u7ee9"),d.a.createElement("div",{className:"table_head table_head__prize"},"\u5956\u54c1")),d.a.createElement("div",{className:"rank__table_body"},t.map(function(t,a){return d.a.createElement("div",{className:"table__tr",key:a},d.a.createElement("div",{className:"table__body table_head__sort"},a>2?a+1:null),d.a.createElement("div",{className:"table__body table_head__user_info"},d.a.createElement("img",{className:"user__avatar",src:t.avatar}),d.a.createElement("span",{className:"user__name"},t.user_name)),d.a.createElement("div",{className:"table__body table_head__time"},e.formart(t.cost_time)),d.a.createElement("div",{className:"table__body table_head__score"},t.score),d.a.createElement("div",{className:"table__body table_head__prize"},t.prize))}))))}}]),t}(m.Component)),H=(a(1185),a(26)),Q=(a(716),a(1186),Object(M.b)(function(e){return{user:e.user}})(z=function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={tabs:[],lives:{},preheatLives:[],today:"",isApp:Object(h.c)("version")},a.toLiveRoom=function(e){a.state.isApp?Object(h.a)("toLiveRoom",e):window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.makeSubscribe=function(e){var t=a.props,n=t.user,s=t.history;n.hasError&&s.push("/passport/login"),h.d.get("".concat(API.home,"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data;200==t.code?_.a.toDataURL(t.data.url,function(e,t){Object(H.h)({title:"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6",content:d.a.createElement("img",{id:"live-qr-code",src:t,alt:""})})}):o.a.info(t.msg,2,null,!1)})},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/get_live_info")).then(function(t){var a=t.data;if(200==a.code){var n,s,c=a.data.data_active.reduce(function(e,t){return t.date in e?e[t.date].push(t):e[t.date]=[t],e},{});e.props.isFormal?(n=Object.keys(c).map(function(e){return{title:e}}),s=Object(f.uniqBy)(a.data.data_active,function(e){return e.date}).findIndex(function(e){return e.is_today})):(n=a.data.data_hot.map(function(e){return{title:e.date}}),s=a.data.data_hot.findIndex(function(e){return e.is_today})),e.setState({tabs:n,lives:c,today:s,preheatLives:a.data.data_hot})}else o.a.info(a.msg,2,null,!1)})}},{key:"render",value:function(){var e=this,t=this.state,a=t.tabs,n=t.lives,s=t.preheatLives,o=t.today;return d.a.createElement("div",{id:"live"},d.a.createElement("div",{className:"title"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),d.a.createElement("span",null,"\u5927\u5496\u76f4\u64ad"),d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),d.a.createElement("div",{className:"live-container"},""!==o&&d.a.createElement(I.a,{tabs:a,tabBarBackgroundColor:"transparent",tabBarActiveTextColor:"#5600DF",tabBarInactiveTextColor:"#FFF604",tabBarUnderlineStyle:{display:"none"},initialPage:o,swipeable:!1},this.props.isFormal?a.map(function(t,a){var s=n[t.title];return d.a.createElement("div",{key:a},s.map(function(t,a){return d.a.createElement(V,{item:t,key:a,makeSubscribe:e.makeSubscribe})}))}):s.map(function(t,a){return d.a.createElement("div",{key:a},s.map(function(t,a){return d.a.createElement(V,{key:a,item:t,makeSubscribe:e.makeSubscribe,toLiveRoom:e.toLiveRoom})}))}))))}}]),t}(m.Component))||z);function V(e){var t=e.item,a=e.makeSubscribe,n=e.toLiveRoom;return d.a.createElement("div",{className:"content"},t.is_teacher?d.a.createElement("div",{className:"tag teacher"},"\u8bb2\u5e08\u5206\u4eab"):d.a.createElement("div",{className:"tag student"},"\u5b66\u5458\u5206\u4eab"),d.a.createElement("div",{className:"person-info"},d.a.createElement("div",{className:"left"},d.a.createElement("img",{src:t.avatar,alt:"\u5934\u50cf",className:"avatar"})),d.a.createElement("div",{className:"right"},d.a.createElement("div",{className:"name"},"\u8bb2\u5e08\uff1a",t.teacher),d.a.createElement("div",{className:"profession"},t.teacher_desc))),d.a.createElement("div",{className:"title"},t.title),d.a.createElement("div",{className:"time"},"\u76f4\u64ad\u65f6\u95f4\uff1a",t.time),d.a.createElement("div",{className:"outline"},d.a.createElement("div",{className:"outline-title"},"\u5185\u5bb9\u5927\u7eb2\uff1a"),d.a.createElement("ul",null,t.content.map(function(e,t){return d.a.createElement("li",{key:t},e)}))),t.on_live?d.a.createElement("button",{className:"on-living",onClick:function(){n(t.live_id)}},"\u6b63\u5728\u76f4\u64ad"):t.is_end?d.a.createElement("button",{className:"subscribed"},"\u5df2\u7ed3\u675f"):t.is_subscribe?d.a.createElement("button",{className:"subscribed"},"\u5df2\u9884\u7ea6"):d.a.createElement("button",{className:"subscribe",onClick:a.bind(this,t.live_id)},"\u7acb\u5373\u9884\u7ea6"))}var Y=Object(D.g)(Q),W=(a(1187),function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).navTop=183,a.prevY=0,a.state={navs:[{text:"\u79ef\u798f\u6c14",id:"lucky-value"},{text:"\u5e78\u8fd0\u5927\u62bd\u5956",id:"lucky-draw"},{text:"\u9884\u4ed8\u5b9a\u91d1",id:"deposit"},{text:"\u7cbe\u54c1\u7279\u60e0",id:"best-courses"},{text:"AI\u6d4b\u8bd5",id:"ai-test"},{text:"\u5927\u5496\u76f4\u64ad",id:"live"}],index:0},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.toSection,a=e.navs,n=e.index;return d.a.createElement("div",{id:"main-banner"},d.a.createElement("div",{className:"banner"}),d.a.createElement("nav",{id:"main-nav"},d.a.createElement("ul",null,a.map(function(e,a){return d.a.createElement("li",{key:a,className:n===a?"active":""},d.a.createElement("a",{href:"#".concat(e.id),onClick:function(e){return t(a,e)}},e.text))}))))}}]),t}(m.Component)),X=a(30),J=a(156),G=a(24),K=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(J.addDays)(new Date,90);a.state.userInfoList.map(function(t,a){w.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),w.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),w.a.get("token")&&w.a.get("uid")&&(a.fetchUserBlessing(),a.setState({isApp:!0})),a.props.setCurrentUser(a.transformUser(a.state.userInfoList))},a.transformUser=function(e){var t;return e.map(function(e,a){t={hasError:!1,data:{username:e.uname,avatar:e.avatar_file,token:e.token,uid:e.uid},isFetching:!1}}),t},a.getActiveIndex=function(e,t){for(var a=0,n=e.length;a<n;a++)if(e[a]>t)return a?Math.abs(t-e[a])<Math.abs(t-e[a-1])?a:a-1:a},a.fetchMoudleId=function(e){var t=a.state.navs;return Object(f.findIndex)(t,function(t){return t.id===e})},a.setInitialNavActiveStatus=function(){new MutationObserver(Object(f.debounce)(function(e,t){var n=a.state.navs.map(function(e){return document.querySelector("#".concat(e.id))});if(n.every(function(e){return e})){var s=n.map(function(e){return e.offsetTop}),o=a.getActiveIndex(s,window.pageYOffset);a.setState({index:o,navsTop:s},function(){a.calcNavActive(),t.disconnect()})}},30)).observe(document.querySelector("#blessing-preheat"),{childList:!0,subtree:!0})},a.initNav=function(e){var t=a.state.navs;e&&a.setState({navs:t.filter(function(e){return"deposit"!==e.id})})},a.fetchMoudleId=function(e){var t=a.state.navs;return Object(f.findIndex)(t,function(t){return t.id===e})},a.fetchUserBlessing=function(){var e=a.state.userInfo;h.d.get("".concat(API.home,"/sys/user/blessing")).then(function(t){var n=t.data,s=n.code,o=n.data;200===s&&(a.setState({isSign:!!o.today_signed,isFormal:o.is_activity,userInfo:Object.assign({},e,{isFollow:o.subscribed,blessingVal:o.user_blessing_value,buyBlessing:o.types_total_blessing_value&&o.types_total_blessing_value.buy_course?o.types_total_blessing_value.buy_course:0,inviteBlessing:o.types_total_blessing_value&&o.types_total_blessing_value.invite?o.types_total_blessing_value.invite:0})}),1===o.is_login&&a.handleToSign(),a.initNav(o.is_activity))})},a.handleToAddBlessing=function(e){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:e,type:3}).then(function(e){200===e.data.code&&o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1)})},a.handleToSign=function(){var e=a.state.userInfo;h.d.post("".concat(API.home,"/sys/add/blessing"),{type:1}).then(function(t){200===t.data.code&&(a.setState({isSign:!0,userInfo:Object.assign({},e,{blessingVal:e.blessingVal+5})}),o.a.info("+5\u70b9\u798f\u6c14\u503c~",2,null,!1))})},a.handleToHide=function(e){var t={};t[e]=!1,a.setState(Object(n.a)({},t))},a.handleToShow=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=!a.props.user.hasError;if(t&&!s)a.toLogin();else{var o={};o[e]=!0,a.setState(Object(n.a)({},o))}},a.handleToShowNotice=function(){h.d.get("".concat(API["base-api"],"/sys/activity/create_blessing_qrcode")).then(function(e){var t=e.data,n=t.errno,s=t.data;200===n?_.a.toDataURL(s.url,{width:120,height:120,margin:1}).then(function(e){Object(H.h)({title:"",content:d.a.createElement("img",{src:e,alt:"barcode",className:"qr-code"}),className:"invite-popup"})}).catch(function(e){console.error(e)}):4030!==n&&4040!==n||a.toLogin()})},a.toLogin=function(){var e=a.props.history;Object(h.c)("version")?Object(h.a)("toLogin"):e.push("/passport")},a.onCopy=function(){o.a.info("\u590d\u5236\u6210\u529f",2,null,!1)},a.toSection=function(e,t){var n=a.state.navs;t.preventDefault();var s=document.querySelector("#".concat(n[e].id)).offsetTop;a.setState({index:e}),window.scrollTo({top:s-60,left:0})},a.calcNavActive=function(){var e,t=a.state,n=t.navs,s=t.index,o=window.scrollY,c=o>a.prevY?"up":"down";e="up"===c?s+1>=n.length?s:s+1:s-1<=0?0:s-1;var r=document.querySelector("#".concat(n[e].id)),i=document.querySelector("#main-nav");if(r){var l=r.offsetTop;o<=a.navTop?i.classList.remove("fixed"):!i.classList.contains("fixed")&&i.classList.add("fixed"),"up"===c?o+30+30>=l&&a.setState({index:e}):o+30+20<=l&&a.setState({index:e}),a.prevY=o}},a.navTop=183,a.prevY=0,a.state={userInfoList:[],isRule:!1,isCourse:!1,inviteUrl:"",inviteVisible:!1,joinLotteryVisible:!1,timelineShareVisible:!1,showRecordList:!1,isFormal:!1,isServer:!1,serverUrl:"",shareMark:!1,userInfo:{},isSign:!1,navs:[{text:"\u79ef\u798f\u6c14",id:"lucky-value"},{text:"\u5e78\u8fd0\u5927\u62bd\u5956",id:"lucky-draw"},{text:"\u9884\u4ed8\u5b9a\u91d1",id:"deposit"},{text:"\u7cbe\u54c1\u7279\u60e0",id:"best-courses"},{text:"AI\u6d4b\u8bd5",id:"ai-test"},{text:"\u5927\u5496\u76f4\u64ad",id:"live"}],index:0,userHasError:e.user.hasError,isApp:!1},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.fetchUserBlessing(),this.setInitialNavActiveStatus(),window.addEventListener("scroll",Object(f.throttle)(this.calcNavActive,100)),Object(h.f)()&&Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:window.location.href,imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),window.loginInfo=function(t){e.loginInfo(t)},window.getNewData=function(t){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:"",type:4}).then(function(t){200===t.data.code&&(o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1),e.fetchUserBlessing())})},window.QQWXWBshare=function(t){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:t,type:3}).then(function(t){200===t.data.code&&(o.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1),e.fetchUserBlessing())})}}},{key:"render",value:function(){var e=this,t=this.state,a=t.navs,n=t.userInfo,s=t.isRule,o=t.isCourse,c=t.isFormal,r=t.isSign,i=t.showRecordList,l=t.shareMark,u=t.index,m=t.isApp,p=this.props.history,_=!this.props.user.hasError;return d.a.createElement("div",{id:"blessing-preheat"},d.a.createElement(W,{isFormal:c,navs:a,toSection:this.toSection,index:u}),d.a.createElement(O,{id:"lucky-value",text:"\u79ef\u798f\u6c14\uff0c\u4eab\u53d7\u66f4\u591a\u798f\u5229",styles:{margin:"60px 0 15px"}}),d.a.createElement(b.b,{className:"luck-draw__button",to:"/blessingRank"},"\u798f\u6c14\u6392\u884c\u699c>"),d.a.createElement(P,{isSign:r,userInfo:n,isLogin:_,history:this.props.history,toSection:function(t){return e.toSection(e.fetchMoudleId("best-courses"),t)},handleToShowList:function(){return e.handleToShow("isCourse")},handleToShowNotice:this.handleToShowNotice,handleToShow:this.handleToShow,toLogin:this.toLogin,handleToShowShare:function(){return e.handleToShow("shareMark")},handleToHideShare:function(){return e.handleToHide("shareMark")}}),d.a.createElement(O,{id:"lucky-draw",text:"\u5e78\u8fd0\u5927\u62bd\u5956",styles:{margin:"30px 0 10px"}}),d.a.createElement("p",{className:"luck-draw__tip"},"- \u5c06\u4e8e11\u670811\u65e510\u70b9\u5f00\u542f -"),d.a.createElement("button",{className:"luck-draw__button",onClick:function(){return e.handleToShow("isRule")}},"\u6d3b\u52a8\u89c4\u5219>"),d.a.createElement(T,null),0===c&&d.a.createElement(d.a.Fragment,null,d.a.createElement(O,{id:"deposit",text:"\u9884\u4ed81\u5143\u5b9a\u91d1\uff0c\u6700\u9ad8\u53ef\u7701100\u5143",styles:{margin:"30px 0 15px"}}),d.a.createElement(B,{isApp:m})),d.a.createElement(O,{id:"best-courses",text:"\u7cbe\u54c1\u8bfe\u7a0b\u7279\u60e0\u4e13\u533a",styles:{margin:"30px 0 15px"}}),d.a.createElement(L,{isApp:m,isFormal:c,isLogin:_,history:this.props.history,toLogin:this.toLogin}),s&&d.a.createElement(v,{handleToHide:function(){return e.handleToHide("isRule")}}),o&&d.a.createElement(E,{toLogin:this.toLogin,history:p,isLogin:_,handleToHide:function(){return e.handleToHide("isCourse")}}),i&&d.a.createElement(g,{handleToHide:function(){return e.handleToHide("showRecordList")}}),l&&d.a.createElement(S,null),d.a.createElement(O,{id:"ai-test",text:"\u5168\u56fdAI\u5de5\u7a0b\u5e08\u6c34\u5e73\u6d4b\u8bd5",styles:{margin:"30px 0 15px"}}),d.a.createElement("div",{className:"test__record",onClick:function(){return e.handleToShow("showRecordList",!0)}},"\u6d4b\u8bd5\u8bb0\u5f55>"),d.a.createElement(q,{history:p,isLogin:_,toLogin:this.toLogin}),d.a.createElement(F,null),d.a.createElement(Y,{isFormal:c}))}}]),t}(m.Component);t.default=Object(G.d)(Object(M.b)(function(e){return{user:e.user}},{setCurrentUser:X.g,startFetchUser:X.h}))(K)},716:function(e,t,a){"use strict";var n=a(717).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},717:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},s=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),o=r(a(0)),c=r(a(718));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(t.CopyToClipboard=function(e){function t(){var e,a,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var s=arguments.length,r=Array(s),l=0;l<s;l++)r[l]=arguments[l];return a=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),n.onClick=function(e){var t=n.props,a=t.text,s=t.onCopy,r=t.children,i=t.options,l=o.default.Children.only(r),u=(0,c.default)(a,i);s&&s(a,u),l&&l.props&&"function"===typeof l.props.onClick&&l.props.onClick(e)},i(n,a)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.PureComponent),s(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),a=function(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(e,["text","onCopy","options","children"]),s=o.default.Children.only(t);return o.default.cloneElement(s,n({},a,{onClick:this.onClick}))}}]),t}()).defaultProps={onCopy:void 0,options:void 0}},718:function(e,t,a){"use strict";var n=a(719),s="Copy to clipboard: #{key}, Enter";e.exports=function(e,t){var a,o,c,r,i,l,u=!1;t||(t={}),a=t.debug||!1;try{if(c=n(),r=document.createRange(),i=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(a){a.stopPropagation(),t.format&&(a.preventDefault(),a.clipboardData.clearData(),a.clipboardData.setData(t.format,e))}),document.body.appendChild(l),r.selectNodeContents(l),i.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(m){a&&console.error("unable to copy using execCommand: ",m),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),u=!0}catch(m){a&&console.error("unable to copy using clipboardData: ",m),a&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:s),window.prompt(o,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(r):i.removeAllRanges()),l&&document.body.removeChild(l),c()}return u}},719:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,a=[],n=0;n<e.rangeCount;n++)a.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||a.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}}]);
//# sourceMappingURL=blessing-preheat.bc5b91a7.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1170:function(e,a,t){},1171:function(e,a,t){},1230:function(e,a,t){"use strict";t.r(a);var n,r=t(5),s=t(7),c=t(6),l=t(8),d=t(9),m=t(0),o=t.n(m),i=t(22),u=t(3),_=t(26),p=t(20),f=(t(39),t(12)),b=t.n(f),h=t(40),E=t(19),k=(t(1170),function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).fetchUserAddress=function(){var e=t.state.addressInfo;u.d.get("".concat(API.home,"/sys/user_address_info")).then(function(a){var n=a.data,r=n.code,s=n.data;n.msg;200===r&&t.setState({addressInfo:Object.assign({},e,{name:s.name,phone:s.phone,address:s.address}),isLoading:!0})})},t.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.props.handleToHide;u.d.post("".concat(API.home,"/sys/collect_info"),e).then(function(e){var t=e.data,n=t.code,r=t.msg;200===n?a():b.a.info(r,2,null,!1)})},t.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,a=this.state,t=a.isLoading,n=a.addressInfo;return o.a.createElement(o.a.Fragment,null,t&&o.a.createElement(E.d,{initialValues:Object(p.a)({},n),validate:function(e){var a=e.name,t=e.phone,n=e.address,r={};return a||(r.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(t)||(r.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(r.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),r},onSubmit:function(a){e.handleToSubmit(a)},render:function(e){var a=e.errors;return o.a.createElement(E.c,{className:"address-form"},o.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),o.a.createElement(E.b,{name:"name",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),a.name&&o.a.createElement("p",{className:"address-form__tip"},a.name))}}),o.a.createElement(E.b,{name:"phone",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),a.phone&&o.a.createElement("p",{className:"address-form__tip"},a.phone))}}),o.a.createElement(E.b,{name:"address",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),a.address&&o.a.createElement("p",{className:"address-form__tip"},a.address))}}),o.a.createElement("button",{className:"address-form__submit","data-status":Object(h.isEmpty)(a)?"do":"",type:"submit"},"\u63d0\u4ea4"))}}))}}]),a}(m.Component)),N=(t(1171),Object(i.b)(function(e){return{uid:e.user.data.uid||""}})(n=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).popupInstance=null,t.fetchRankData=function(){u.d.get("".concat(API.home,"/sys/blessing/ranking")).then(function(e){var a=e.data,n=a.code,r=a.data;200===n&&t.setState({rankList:r})})},t.handleToSwitch=function(e){var a=t.props,n=a.history,r=a.uid;e&&!r?n.push("/passport"):e&&!t.popupInstance?t.popupInstance=Object(_.h)({title:"\u6536\u8d27\u4fe1\u606f",content:o.a.createElement(k,{handleToHide:function(){return t.handleToSwitch(!1)}})}):(t.popupInstance.close(),t.popupInstance=null)},t.formatString=function(e,a){return e.length>a?"".concat(e.substr(0,a),"..."):e},t.state={rankList:[],rules:["1\u3001\u6392\u884c\u699c\u540d\u6b21\u4ee52019\u5e7411\u670813\u65e524\u70b9\u4e03\u6708\u5728\u7ebf\u516c\u5e03\u7684\u6392\u884c\u699c\u4e3a\u51c6\uff0c\u699c\u5355\u786e\u8ba4\u540e\uff0c\u5f97\u5956\u5c0f\u4f19\u4f34\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c7\u4e2a\u81ea\u7136\u65e5\u5185\u4e0d\u586b\u5199\uff0c\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","2\u3001\u798f\u6c14\u503c\u53ea\u5728\u672c\u6d3b\u52a8\u671f\u95f4\u4eab\u53d7\u62bd\u5956\u3001\u63d0\u9ad8\u4e2d\u5956\u6982\u7387\u3001\u8d2d\u8bfe\u4f18\u5316\u3001\u589e\u52a0AI\u6c34\u5e73\u6d4b\u8bd5\u7b49\u798f\u5229\uff1b","3\u3001\u5982\u6709\u53d1\u73b0\u6076\u610f\u5237\u699c\uff0c\u5237\u865a\u5047\u6570\u636e\u7b49\u884c\u4e3a\u5c06\u53d6\u6d88\u5176\u9886\u5956\u8d44\u683c\uff1b","4\u3001\u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709\u3002"]},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchRankData()}},{key:"render",value:function(){var e=this,a=this.state,t=a.rankList,n=a.rules;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"rank__banner"}),o.a.createElement("div",{className:"rank__body"},o.a.createElement("button",{className:"rank__address",onClick:function(){return e.handleToSwitch(!0)}},"\u586b\u5199\u6536\u8d27\u5730\u5740>"),o.a.createElement("div",{className:"rank__table"},o.a.createElement("dl",{className:"rank__table-header"},o.a.createElement("dd",{className:"rank__table-column"},"\u6392\u540d"),o.a.createElement("dd",{className:"rank__table-column"},"\u7528\u6237"),o.a.createElement("dd",{className:"rank__table-column"},"\u6210\u7ee9"),o.a.createElement("dd",{className:"rank__table-column"},"\u5956\u54c1")),t.map(function(a,t){return o.a.createElement("dl",{className:"rank__table-body",key:t},o.a.createElement("dd",{className:"rank__table-column"},t<3?o.a.createElement("i",{className:"rank__table-num","data-num":t+1}):t+1),o.a.createElement("dd",{className:"rank__table-column"},o.a.createElement("div",{className:"rank__table-user"},o.a.createElement("i",{className:"rank__table-portrait",style:{backgroundImage:"url(".concat(a.head_image,")")}}),o.a.createElement("span",null,e.formatString(a.user_name,5)))),o.a.createElement("dd",{className:"rank__table-column"},a.blessing_value),o.a.createElement("dd",{className:"rank__table-column"},e.formatString(a.prize_name,7)))})),o.a.createElement("div",{className:"rank__rule"},o.a.createElement("h2",{className:"rank__rule-title"},"\u6d3b\u52a8\u89c4\u5219"),n.map(function(e,a){return o.a.createElement("p",{className:"rank__rule-desc",key:a},e)}))))}}]),a}(m.Component))||n);a.default=N}}]);
//# sourceMappingURL=blessing-rank.8f42f1bc.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/blessingPreheat/addressPopup/index.js","components/blessingRank/index.js"],"names":["AddressPopup","props","_this","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","fetchUserAddress","addressInfo","state","http","get","concat","API","home","then","res","_res$data","data","code","msg","setState","assign","name","phone","address","isLoading","handleToSubmit","params","arguments","length","undefined","handleToHide","post","_res$data2","toast_default","a","info","_this2","_this$state","react_default","createElement","Fragment","formik_esm","initialValues","objectSpread","validate","_ref","errors","test","onSubmit","values","render","_ref2","className","_ref3","field","type","placeholder","_ref4","_ref5","data-status","isEmpty","Component","BlessingRank","connect","uid","user","popupInstance","fetchRankData","rankList","handleToSwitch","bool","_this$props","history","push","Popup","title","content","blessingPreheat_addressPopup","close","formatString","str","len","substr","rules","onClick","map","item","index","key","data-num","style","backgroundImage","head_image","user_name","blessing_value","prize_name"],"mappings":"kRAsJeA,uBA9Ib,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAgBRQ,iBAAmB,WAAM,IACfC,EAAgBR,EAAKS,MAArBD,YACRE,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,2BAA8CC,KAAK,SAAAC,GAAO,IAAAC,EAC9BD,EAAIE,KAAvBC,EADiDF,EACjDE,KAAMD,EAD2CD,EAC3CC,KAD2CD,EACrCG,IACN,MAATD,GACFnB,EAAKqB,SAAS,CACZb,YAAaP,OAAOqB,OAAO,GAAId,EAAa,CAC1Ce,KAAML,EAAKK,KACXC,MAAON,EAAKM,MACZC,QAASP,EAAKO,UAEhBC,WAAW,OA5BA1B,EAkCnB2B,eAAiB,WAAiB,IAAhBC,EAAgBC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAP,GACjBG,EAAiBhC,EAAKD,MAAtBiC,aACRtB,IAAKuB,KAAL,GAAArB,OAAaC,IAAIC,KAAjB,qBAA0Cc,GAAQb,KAAK,SAAAC,GAAO,IAAAkB,EACxClB,EAAIE,KAAjBC,EADqDe,EACrDf,KAAMC,EAD+Cc,EAC/Cd,IACA,MAATD,EACFa,IAE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EAAAK,cAAA,MAAIa,UAAU,mBAAmBoC,IAAKD,GACpCjD,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBAEVmC,EAAQ,EAEJjD,EAAAJ,EAAAK,cAAA,KAAGa,UAAU,kBAAkBqC,WAAUF,EAAQ,IAEjDA,EAAQ,GAGhBjD,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBACZd,EAAAJ,EAAAK,cAAA,OAAKa,UAAU,oBACbd,EAAAJ,EAAAK,cAAA,KAAGa,UAAU,uBAAuBsC,MAAO,CAACC,gBAAe,OAAAjF,OAAS4E,EAAKM,WAAd,QAC3DtD,EAAAJ,EAAAK,cAAA,YAAOH,EAAK2C,aAAaO,EAAKO,UAAW,MAG7CvD,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBAAsBkC,EAAKQ,gBACzCxD,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBAAsBhB,EAAK2C,aAAaO,EAAKS,WAAY,QAOjFzD,EAAAJ,EAAAK,cAAA,OAAKa,UAAU,cACbd,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,oBAAd,4BAEE+B,EAAME,IAAI,SAACC,EAAMC,GAAP,OACRjD,EAAAJ,EAAAK,cAAA,KAAGa,UAAU,kBAAkBoC,IAAKD,GAAQD,eAhGjCzB,kBA0GZC","file":"mrstatic/js/blessing-rank.8f42f1bc.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { isEmpty } from 'lodash';\nimport { http } from '@/utils';\nimport { Formik, Form, Field } from 'formik';\nimport { Toast } from \"antd-mobile\";\nimport './index.scss';\n\nclass AddressPopup extends Component {\n constructor(props) {\n super(props)\n this.state = {\n isLoading: false,\n addressInfo: {\n name: '',\n phone: '',\n address: '',\n },\n }\n }\n\n componentDidMount() {\n this.fetchUserAddress();\n }\n\n // 获取收货信息\n fetchUserAddress = () => {\n const { addressInfo } = this.state;\n http.get(`${API.home}/sys/user_address_info`).then(res => {\n const {code, data, msg} = res.data;\n if (code === 200) {\n this.setState({\n addressInfo: Object.assign({}, addressInfo, {\n name: data.name,\n phone: data.phone,\n address: data.address,\n }),\n isLoading: true,\n });\n }\n });\n }\n\n handleToSubmit = (params = {}) => {\n const { handleToHide } = this.props;\n http.post(`${API.home}/sys/collect_info`, params).then(res => {\n const {code, msg} = res.data;\n if (code === 200) {\n handleToHide();\n } else {\n Toast.info(msg, 2, null, false);\n }\n });\n }\n\n render() {\n const { isLoading, addressInfo } = this.state;\n return (\n <>\n {\n isLoading &&\n <Formik\n initialValues={{ \n ...addressInfo\n }}\n validate={({name, phone, address}) => {\n const errors = {};\n\n if (!name) {\n errors.name = '请输入收件人';\n }\n if(!/^1[3-9]\\d{9}$/.test(phone)) {\n errors.phone = '请填写正确格式的手机号';\n }\n if (!address) {\n errors.address = '请输入收货地址';\n }\n\n return errors;\n }}\n onSubmit={(values) => {\n this.handleToSubmit(values);\n }}\n render={({errors}) => (\n <Form className=\"address-form\">\n <p className=\"address-form__desc\">请及时填写收货信息,获得实物奖品后将第一时间为您邮寄</p>\n <Field \n name=\"name\"\n render={({ field }) => (\n <div className=\"address-form__item\">\n <input\n {...field}\n className=\"address-form__ipt\"\n type=\"text\"\n placeholder=\"收件人\"\n />\n {\n errors.name &&\n <p className=\"address-form__tip\">{errors.name}</p>\n }\n </div>\n )}\n />\n <Field \n name=\"phone\"\n render={({ field }) => (\n <div className=\"address-form__item\">\n <input\n {...field}\n className=\"address-form__ipt\"\n type=\"text\"\n placeholder=\"联系方式\"\n />\n {\n errors.phone &&\n <p className=\"address-form__tip\">{errors.phone}</p>\n }\n </div>\n )}\n />\n <Field \n name=\"address\"\n render={({ field }) => (\n <div className=\"address-form__item\">\n <input\n {...field}\n className=\"address-form__ipt\"\n type=\"text\"\n placeholder=\"收货地址\"\n />\n {\n errors.address &&\n <p className=\"address-form__tip\">{errors.address}</p>\n }\n </div>\n )}\n />\n <button \n className=\"address-form__submit\" \n data-status={isEmpty(errors)? 'do' : ''}\n type=\"submit\"\n >提交</button>\n </Form>\n )}\n />\n }\n </>\n );\n }\n}\n\nexport default AddressPopup;","import React, { Component } from 'react'\nimport { connect } from 'react-redux'\nimport { http } from \"@/utils\"\nimport { Popup } from '@/common'\nimport AddressPopup from './../blessingPreheat/addressPopup/index'\nimport './index.scss'\n\n@connect(({user}) => (\n {\n uid: user.data.uid || ''\n }\n))\nclass BlessingRank extends Component {\n popupInstance = null\n constructor(props) {\n super(props)\n this.state = {\n rankList: [],\n rules: [\n '1、排行榜名次以2019年11月13日24点七月在线公布的排行榜为准,榜单确认后,得奖小伙伴请及时填写邮寄信息,7个自然日内不填写,视为主动放弃奖品;',\n '2、福气值只在本活动期间享受抽奖、提高中奖概率、购课优化、增加AI水平测试等福利;',\n '3、如有发现恶意刷榜,刷虚假数据等行为将取消其领奖资格;',\n '4、本活动解释权归北京七月在线科技有限公司所有。',\n ],\n }\n }\n\n componentDidMount() {\n this.fetchRankData()\n }\n\n fetchRankData = () => {\n http.get(`${API.home}/sys/blessing/ranking`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n rankList: data,\n })\n }\n })\n }\n\n handleToSwitch = (bool) => {\n const {history, uid} = this.props\n if (bool && !uid) {\n history.push('/passport')\n } else {\n if (bool && !this.popupInstance) {\n this.popupInstance = Popup({\n title: '收货信息',\n content: <AddressPopup handleToHide={() => this.handleToSwitch(false)}/>\n })\n } else {\n this.popupInstance.close()\n this.popupInstance = null\n }\n }\n }\n\n formatString = (str, len) => {\n return str.length > len ? `${str.substr(0, len)}...` : str\n }\n\n render() {\n const {rankList, rules} = this.state\n return (\n <>\n <div className=\"rank__banner\"></div>\n <div className=\"rank__body\">\n <button className=\"rank__address\" onClick={() => this.handleToSwitch(true)}>填写收货地址></button>\n <div className=\"rank__table\">\n <dl className=\"rank__table-header\">\n <dd className=\"rank__table-column\">排名</dd>\n <dd className=\"rank__table-column\">用户</dd>\n <dd className=\"rank__table-column\">成绩</dd>\n <dd className=\"rank__table-column\">奖品</dd>\n </dl>\n {\n rankList.map((item, index) => {\n return (\n <dl className=\"rank__table-body\" key={index}>\n <dd className=\"rank__table-column\">\n {\n index < 3\n ? (\n <i className=\"rank__table-num\" data-num={index + 1}></i>\n )\n : index + 1\n }\n </dd>\n <dd className=\"rank__table-column\">\n <div className=\"rank__table-user\">\n <i className=\"rank__table-portrait\" style={{backgroundImage: `url(${item.head_image})`}}></i>\n <span>{this.formatString(item.user_name, 5)}</span>\n </div>\n </dd>\n <dd className=\"rank__table-column\">{item.blessing_value}</dd>\n <dd className=\"rank__table-column\">{this.formatString(item.prize_name, 7)}</dd>\n </dl>\n )\n })\n }\n\n </div>\n <div className=\"rank__rule\">\n <h2 className=\"rank__rule-title\">活动规则</h2>\n {\n rules.map((item, index) => (\n <p className=\"rank__rule-desc\" key={index}>{item}</p>\n ))\n }\n </div>\n </div>\n </>\n )\n }\n}\n\nexport default BlessingRank\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1170:function(e,a,t){},1171:function(e,a,t){},1230:function(e,a,t){"use strict";t.r(a);var n,r=t(5),s=t(7),c=t(6),l=t(8),d=t(9),m=t(0),o=t.n(m),i=t(22),u=t(3),_=t(26),f=t(20),b=(t(39),t(12)),h=t.n(b),p=t(40),E=t(19),k=(t(1170),function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).fetchUserAddress=function(){var e=t.state.addressInfo;u.d.get("".concat(API.home,"/sys/user_address_info")).then(function(a){var n=a.data,r=n.code,s=n.data;n.msg;200===r&&t.setState({addressInfo:Object.assign({},e,{name:s.name,phone:s.phone,address:s.address}),isLoading:!0})})},t.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.props.handleToHide;u.d.post("".concat(API.home,"/sys/collect_info"),e).then(function(e){var t=e.data,n=t.code,r=t.msg;200===n?a():h.a.info(r,2,null,!1)})},t.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,a=this.state,t=a.isLoading,n=a.addressInfo;return o.a.createElement(o.a.Fragment,null,t&&o.a.createElement(E.d,{initialValues:Object(f.a)({},n),validate:function(e){var a=e.name,t=e.phone,n=e.address,r={};return a||(r.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(t)||(r.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(r.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),r},onSubmit:function(a){e.handleToSubmit(a)},render:function(e){var a=e.errors;return o.a.createElement(E.c,{className:"address-form"},o.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),o.a.createElement(E.b,{name:"name",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),a.name&&o.a.createElement("p",{className:"address-form__tip"},a.name))}}),o.a.createElement(E.b,{name:"phone",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),a.phone&&o.a.createElement("p",{className:"address-form__tip"},a.phone))}}),o.a.createElement(E.b,{name:"address",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),a.address&&o.a.createElement("p",{className:"address-form__tip"},a.address))}}),o.a.createElement("button",{className:"address-form__submit","data-status":Object(p.isEmpty)(a)?"do":"",type:"submit"},"\u63d0\u4ea4"))}}))}}]),a}(m.Component)),N=(t(1171),Object(i.b)(function(e){return{uid:e.user.data.uid||""}})(n=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).fetchRankData=function(){u.d.get("".concat(API.home,"/sys/blessing/ranking")).then(function(e){var a=e.data,n=a.code,r=a.data;200===n&&t.setState({rankList:r})})},t.handleToSwitch=function(e){var a=t.props,n=a.history,r=a.uid;e&&!r?n.push("/passport"):Object(_.h)({title:"\u6536\u8d27\u4fe1\u606f",content:o.a.createElement(k,{handleToHide:function(){return t.handleToSwitch(!1)}})})},t.formatString=function(e,a){return e.length>a?"".concat(e.substr(0,a),"..."):e},t.state={rankList:[],rules:["1\u3001\u6392\u884c\u699c\u540d\u6b21\u4ee52019\u5e7411\u670813\u65e524\u70b9\u4e03\u6708\u5728\u7ebf\u516c\u5e03\u7684\u6392\u884c\u699c\u4e3a\u51c6\uff0c\u699c\u5355\u786e\u8ba4\u540e\uff0c\u5f97\u5956\u5c0f\u4f19\u4f34\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c7\u4e2a\u81ea\u7136\u65e5\u5185\u4e0d\u586b\u5199\uff0c\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","2\u3001\u798f\u6c14\u503c\u53ea\u5728\u672c\u6d3b\u52a8\u671f\u95f4\u4eab\u53d7\u62bd\u5956\u3001\u63d0\u9ad8\u4e2d\u5956\u6982\u7387\u3001\u8d2d\u8bfe\u4f18\u5316\u3001\u589e\u52a0AI\u6c34\u5e73\u6d4b\u8bd5\u7b49\u798f\u5229\uff1b","3\u3001\u5982\u6709\u53d1\u73b0\u6076\u610f\u5237\u699c\uff0c\u5237\u865a\u5047\u6570\u636e\u7b49\u884c\u4e3a\u5c06\u53d6\u6d88\u5176\u9886\u5956\u8d44\u683c\uff1b","4\u3001\u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709\u3002"]},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchRankData()}},{key:"render",value:function(){var e=this,a=this.state,t=a.rankList,n=a.rules;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"rank__banner"}),o.a.createElement("div",{className:"rank__body"},o.a.createElement("button",{className:"rank__address",onClick:function(){return e.handleToSwitch(!0)}},"\u586b\u5199\u6536\u8d27\u5730\u5740>"),o.a.createElement("div",{className:"rank__table"},o.a.createElement("dl",{className:"rank__table-header"},o.a.createElement("dd",{className:"rank__table-column"},"\u6392\u540d"),o.a.createElement("dd",{className:"rank__table-column"},"\u7528\u6237"),o.a.createElement("dd",{className:"rank__table-column"},"\u6210\u7ee9"),o.a.createElement("dd",{className:"rank__table-column"},"\u5956\u54c1")),t.map(function(a,t){return o.a.createElement("dl",{className:"rank__table-body",key:t},o.a.createElement("dd",{className:"rank__table-column"},t<3?o.a.createElement("i",{className:"rank__table-num","data-num":t+1}):t+1),o.a.createElement("dd",{className:"rank__table-column"},o.a.createElement("div",{className:"rank__table-user"},o.a.createElement("i",{className:"rank__table-portrait",style:{backgroundImage:"url(".concat(a.head_image,")")}}),o.a.createElement("span",null,e.formatString(a.user_name,5)))),o.a.createElement("dd",{className:"rank__table-column"},a.blessing_value),o.a.createElement("dd",{className:"rank__table-column"},e.formatString(a.prize_name,7)))})),o.a.createElement("div",{className:"rank__rule"},o.a.createElement("h2",{className:"rank__rule-title"},"\u6d3b\u52a8\u89c4\u5219"),n.map(function(e,a){return o.a.createElement("p",{className:"rank__rule-desc",key:a},e)}))))}}]),a}(m.Component))||n);a.default=N}}]);
//# sourceMappingURL=blessing-rank.f693c517.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/blessingPreheat/addressPopup/index.js","components/blessingRank/index.js"],"names":["AddressPopup","props","_this","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","fetchUserAddress","addressInfo","state","http","get","concat","API","home","then","res","_res$data","data","code","msg","setState","assign","name","phone","address","isLoading","handleToSubmit","params","arguments","length","undefined","handleToHide","post","_res$data2","toast_default","a","info","_this2","_this$state","react_default","createElement","Fragment","formik_esm","initialValues","objectSpread","validate","_ref","errors","test","onSubmit","values","render","_ref2","className","_ref3","field","type","placeholder","_ref4","_ref5","data-status","isEmpty","Component","BlessingRank","connect","uid","user","fetchRankData","rankList","handleToSwitch","bool","_this$props","history","push","Popup","title","content","blessingPreheat_addressPopup","formatString","str","len","substr","rules","onClick","map","item","index","key","data-num","style","backgroundImage","head_image","user_name","blessing_value","prize_name"],"mappings":"kRAsJeA,uBA9Ib,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAgBRQ,iBAAmB,WAAM,IACfC,EAAgBR,EAAKS,MAArBD,YACRE,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,2BAA8CC,KAAK,SAAAC,GAAO,IAAAC,EAC9BD,EAAIE,KAAvBC,EADiDF,EACjDE,KAAMD,EAD2CD,EAC3CC,KAD2CD,EACrCG,IACN,MAATD,GACFnB,EAAKqB,SAAS,CACZb,YAAaP,OAAOqB,OAAO,GAAId,EAAa,CAC1Ce,KAAML,EAAKK,KACXC,MAAON,EAAKM,MACZC,QAASP,EAAKO,UAEhBC,WAAW,OA5BA1B,EAkCnB2B,eAAiB,WAAiB,IAAhBC,EAAgBC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAP,GACjBG,EAAiBhC,EAAKD,MAAtBiC,aACRtB,IAAKuB,KAAL,GAAArB,OAAaC,IAAIC,KAAjB,qBAA0Cc,GAAQb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,cAAA,MAAIa,UAAU,mBAAmBkC,IAAKD,GACpC/C,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBAEViC,EAAQ,EAEJ/C,EAAAJ,EAAAK,cAAA,KAAGa,UAAU,kBAAkBmC,WAAUF,EAAQ,IAEjDA,EAAQ,GAGhB/C,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBACZd,EAAAJ,EAAAK,cAAA,OAAKa,UAAU,oBACbd,EAAAJ,EAAAK,cAAA,KAAGa,UAAU,uBAAuBoC,MAAO,CAACC,gBAAe,OAAA/E,OAAS0E,EAAKM,WAAd,QAC3DpD,EAAAJ,EAAAK,cAAA,YAAOH,EAAKyC,aAAaO,EAAKO,UAAW,MAG7CrD,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBAAsBgC,EAAKQ,gBACzCtD,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,sBAAsBhB,EAAKyC,aAAaO,EAAKS,WAAY,QAOjFvD,EAAAJ,EAAAK,cAAA,OAAKa,UAAU,cACbd,EAAAJ,EAAAK,cAAA,MAAIa,UAAU,oBAAd,4BAEE6B,EAAME,IAAI,SAACC,EAAMC,GAAP,OACR/C,EAAAJ,EAAAK,cAAA,KAAGa,UAAU,kBAAkBkC,IAAKD,GAAQD,eA3FjCvB,kBAqGZC","file":"mrstatic/js/blessing-rank.f693c517.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { isEmpty } from 'lodash';\nimport { http } from '@/utils';\nimport { Formik, Form, Field } from 'formik';\nimport { Toast } from \"antd-mobile\";\nimport './index.scss';\n\nclass AddressPopup extends Component {\n constructor(props) {\n super(props)\n this.state = {\n isLoading: false,\n addressInfo: {\n name: '',\n phone: '',\n address: '',\n },\n }\n }\n\n componentDidMount() {\n this.fetchUserAddress();\n }\n\n // 获取收货信息\n fetchUserAddress = () => {\n const { addressInfo } = this.state;\n http.get(`${API.home}/sys/user_address_info`).then(res => {\n const {code, data, msg} = res.data;\n if (code === 200) {\n this.setState({\n addressInfo: Object.assign({}, addressInfo, {\n name: data.name,\n phone: data.phone,\n address: data.address,\n }),\n isLoading: true,\n });\n }\n });\n }\n\n handleToSubmit = (params = {}) => {\n const { handleToHide } = this.props;\n http.post(`${API.home}/sys/collect_info`, params).then(res => {\n const {code, msg} = res.data;\n if (code === 200) {\n handleToHide();\n } else {\n Toast.info(msg, 2, null, false);\n }\n });\n }\n\n render() {\n const { isLoading, addressInfo } = this.state;\n return (\n <>\n {\n isLoading &&\n <Formik\n initialValues={{ \n ...addressInfo\n }}\n validate={({name, phone, address}) => {\n const errors = {};\n\n if (!name) {\n errors.name = '请输入收件人';\n }\n if(!/^1[3-9]\\d{9}$/.test(phone)) {\n errors.phone = '请填写正确格式的手机号';\n }\n if (!address) {\n errors.address = '请输入收货地址';\n }\n\n return errors;\n }}\n onSubmit={(values) => {\n this.handleToSubmit(values);\n }}\n render={({errors}) => (\n <Form className=\"address-form\">\n <p className=\"address-form__desc\">请及时填写收货信息,获得实物奖品后将第一时间为您邮寄</p>\n <Field \n name=\"name\"\n render={({ field }) => (\n <div className=\"address-form__item\">\n <input\n {...field}\n className=\"address-form__ipt\"\n type=\"text\"\n placeholder=\"收件人\"\n />\n {\n errors.name &&\n <p className=\"address-form__tip\">{errors.name}</p>\n }\n </div>\n )}\n />\n <Field \n name=\"phone\"\n render={({ field }) => (\n <div className=\"address-form__item\">\n <input\n {...field}\n className=\"address-form__ipt\"\n type=\"text\"\n placeholder=\"联系方式\"\n />\n {\n errors.phone &&\n <p className=\"address-form__tip\">{errors.phone}</p>\n }\n </div>\n )}\n />\n <Field \n name=\"address\"\n render={({ field }) => (\n <div className=\"address-form__item\">\n <input\n {...field}\n className=\"address-form__ipt\"\n type=\"text\"\n placeholder=\"收货地址\"\n />\n {\n errors.address &&\n <p className=\"address-form__tip\">{errors.address}</p>\n }\n </div>\n )}\n />\n <button \n className=\"address-form__submit\" \n data-status={isEmpty(errors)? 'do' : ''}\n type=\"submit\"\n >提交</button>\n </Form>\n )}\n />\n }\n </>\n );\n }\n}\n\nexport default AddressPopup;","import React, { Component } from 'react'\nimport { connect } from 'react-redux'\nimport { http } from \"@/utils\"\nimport { Popup } from '@/common'\nimport AddressPopup from './../blessingPreheat/addressPopup/index'\nimport './index.scss'\n\n@connect(({user}) => (\n {\n uid: user.data.uid || ''\n }\n))\nclass BlessingRank extends Component {\n constructor(props) {\n super(props)\n this.state = {\n rankList: [],\n rules: [\n '1、排行榜名次以2019年11月13日24点七月在线公布的排行榜为准,榜单确认后,得奖小伙伴请及时填写邮寄信息,7个自然日内不填写,视为主动放弃奖品;',\n '2、福气值只在本活动期间享受抽奖、提高中奖概率、购课优化、增加AI水平测试等福利;',\n '3、如有发现恶意刷榜,刷虚假数据等行为将取消其领奖资格;',\n '4、本活动解释权归北京七月在线科技有限公司所有。',\n ],\n }\n }\n\n componentDidMount() {\n this.fetchRankData()\n }\n\n fetchRankData = () => {\n http.get(`${API.home}/sys/blessing/ranking`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n rankList: data,\n })\n }\n })\n }\n\n handleToSwitch = (bool) => {\n const {history, uid} = this.props\n if (bool && !uid) {\n history.push('/passport')\n } else {\n Popup({\n title: '收货信息',\n content: <AddressPopup handleToHide={() => this.handleToSwitch(false)}/>\n\n })\n }\n }\n\n formatString = (str, len) => {\n return str.length > len ? `${str.substr(0, len)}...` : str\n }\n\n render() {\n const {rankList, rules} = this.state\n return (\n <>\n <div className=\"rank__banner\"></div>\n <div className=\"rank__body\">\n <button className=\"rank__address\" onClick={() => this.handleToSwitch(true)}>填写收货地址></button>\n <div className=\"rank__table\">\n <dl className=\"rank__table-header\">\n <dd className=\"rank__table-column\">排名</dd>\n <dd className=\"rank__table-column\">用户</dd>\n <dd className=\"rank__table-column\">成绩</dd>\n <dd className=\"rank__table-column\">奖品</dd>\n </dl>\n {\n rankList.map((item, index) => {\n return (\n <dl className=\"rank__table-body\" key={index}>\n <dd className=\"rank__table-column\">\n {\n index < 3\n ? (\n <i className=\"rank__table-num\" data-num={index + 1}></i>\n )\n : index + 1\n }\n </dd>\n <dd className=\"rank__table-column\">\n <div className=\"rank__table-user\">\n <i className=\"rank__table-portrait\" style={{backgroundImage: `url(${item.head_image})`}}></i>\n <span>{this.formatString(item.user_name, 5)}</span>\n </div>\n </dd>\n <dd className=\"rank__table-column\">{item.blessing_value}</dd>\n <dd className=\"rank__table-column\">{this.formatString(item.prize_name, 7)}</dd>\n </dl>\n )\n })\n }\n\n </div>\n <div className=\"rank__rule\">\n <h2 className=\"rank__rule-title\">活动规则</h2>\n {\n rules.map((item, index) => (\n <p className=\"rank__rule-desc\" key={index}>{item}</p>\n ))\n }\n </div>\n </div>\n </>\n )\n }\n}\n\nexport default BlessingRank\n"],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){function r(r){for(var a,n,i=r[0],c=r[1],f=r[2],s=0,l=[];s<i.length;s++)n=i[s],o[n]&&l.push(o[n][0]),o[n]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(r);l.length;)l.shift()();return d.push.apply(d,f||[]),t()}function t(){for(var e,r=0;r<d.length;r++){for(var t=d[r],a=!0,n=1;n<t.length;n++){var c=t[n];0!==o[c]&&(a=!1)}a&&(d.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={30:0},o={30:0},d=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"5ed15c7e",3:"16611a91",4:"fc53c3d0",5:"f2f19957",6:"16a64650",7:"85889ffd",8:"2e7d81ca",9:"f2cc3163",10:"16611a91",11:"31d6cfe0",12:"35f475a1",13:"31d6cfe0",14:"e5315535",15:"cda7a495",16:"bb7c3056",17:"278ad3b1",18:"3a4dbb7a",19:"ca49c1cb",20:"44facd03",21:"e60367d5",22:"ff6280ad",23:"6f3a01ca",24:"039d87dd",25:"21c1cdea",27:"a5a13d80",28:"e1adc61c",29:"dd7556e0",31:"fab97849",32:"f09a5959",33:"b002c899",34:"49988cae",35:"1f56370b",37:"50547718",38:"2471f477",39:"0bb224f2",40:"ecbb6f9a",41:"18c88f1f",42:"eb90513f"}[e]+".chunk.css",o=i.p+a,d=document.getElementsByTagName("link"),c=0;c<d.length;c++){var f=(u=d[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(f===a||f===o))return r()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var u;if((f=(u=s[c]).getAttribute("data-href"))===a||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,d=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");d.request=a,delete n[e],l.parentNode.removeChild(l),t(d)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var d,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"68702d14",1:"7868465e",2:"d3e2cd60",3:"26d6e431",4:"b0a8f8d7",5:"a5fc5a6c",6:"62163a85",7:"a489524f",8:"004614da",9:"2f6557b3",10:"fd2d286b",11:"4b9a86c3",12:"dae531e6",13:"73b4702f",14:"1e36500f",15:"3e215e45",16:"65d2df63",17:"95afc5ca",18:"09c79db5",19:"e19f0e93",20:"63059f82",21:"f693c517",22:"209341b7",23:"0fdfbdeb",24:"d880492b",25:"e08da2c8",27:"66fd0439",28:"da7c8cba",29:"c50976fa",31:"a5aa0699",32:"ff8f11fd",33:"052d4402",34:"527cf639",35:"57a6ff2d",37:"37ea025e",38:"4040a47b",39:"e992e05b",40:"ea26256d",41:"b64fac49",42:"56b97824"}[e]+".chunk.js"}(e),d=function(r){c.onerror=c.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,d=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");d.type=a,d.request=n,t[1](d)}o[e]=void 0}};var f=setTimeout(function(){d({type:"timeout",target:c})},12e4);c.onerror=c.onload=d,document.head.appendChild(c)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],f=c.push.bind(c);c.push=r,c=c.slice();for(var s=0;s<c.length;s++)r(c[s]);var u=f;t()}([]);
//# sourceMappingURL=runtime~main.d6aa7090.js.map
\ No newline at end of file
!function(e){function r(r){for(var a,n,i=r[0],c=r[1],f=r[2],s=0,l=[];s<i.length;s++)n=i[s],o[n]&&l.push(o[n][0]),o[n]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(r);l.length;)l.shift()();return d.push.apply(d,f||[]),t()}function t(){for(var e,r=0;r<d.length;r++){for(var t=d[r],a=!0,n=1;n<t.length;n++){var c=t[n];0!==o[c]&&(a=!1)}a&&(d.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={30:0},o={30:0},d=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"5ed15c7e",3:"16611a91",4:"fc53c3d0",5:"f2f19957",6:"16a64650",7:"85889ffd",8:"2e7d81ca",9:"f2cc3163",10:"16611a91",11:"31d6cfe0",12:"35f475a1",13:"31d6cfe0",14:"e5315535",15:"cda7a495",16:"bb7c3056",17:"278ad3b1",18:"3a4dbb7a",19:"ca49c1cb",20:"44facd03",21:"e60367d5",22:"ff6280ad",23:"6f3a01ca",24:"039d87dd",25:"21c1cdea",27:"a5a13d80",28:"e1adc61c",29:"dd7556e0",31:"fab97849",32:"f09a5959",33:"b002c899",34:"49988cae",35:"1f56370b",37:"50547718",38:"2471f477",39:"0bb224f2",40:"ecbb6f9a",41:"18c88f1f",42:"eb90513f"}[e]+".chunk.css",o=i.p+a,d=document.getElementsByTagName("link"),c=0;c<d.length;c++){var f=(u=d[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(f===a||f===o))return r()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var u;if((f=(u=s[c]).getAttribute("data-href"))===a||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,d=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");d.request=a,delete n[e],l.parentNode.removeChild(l),t(d)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var d,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"68702d14",1:"7868465e",2:"d3e2cd60",3:"26d6e431",4:"b0a8f8d7",5:"a5fc5a6c",6:"62163a85",7:"a489524f",8:"004614da",9:"2f6557b3",10:"fd2d286b",11:"4b9a86c3",12:"dae531e6",13:"73b4702f",14:"1e36500f",15:"3e215e45",16:"65d2df63",17:"95afc5ca",18:"09c79db5",19:"e19f0e93",20:"bc5b91a7",21:"8f42f1bc",22:"209341b7",23:"0fdfbdeb",24:"d880492b",25:"e08da2c8",27:"66fd0439",28:"da7c8cba",29:"c50976fa",31:"a5aa0699",32:"ff8f11fd",33:"052d4402",34:"527cf639",35:"57a6ff2d",37:"37ea025e",38:"4040a47b",39:"e992e05b",40:"ea26256d",41:"b64fac49",42:"56b97824"}[e]+".chunk.js"}(e),d=function(r){c.onerror=c.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,d=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");d.type=a,d.request=n,t[1](d)}o[e]=void 0}};var f=setTimeout(function(){d({type:"timeout",target:c})},12e4);c.onerror=c.onload=d,document.head.appendChild(c)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],f=c.push.bind(c);c.push=r,c=c.slice();for(var s=0;s<c.length;s++)r(c[s]);var u=f;t()}([]);
//# sourceMappingURL=runtime~main.cb46d4f0.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","30","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","12","14","15","16","17","18","19","20","21","22","23","24","25","27","28","29","31","32","33","34","35","37","38","39","40","41","42","Promise","resolve","reject","href","11","13","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAAQ,EAAA,GAGAC,EAAA,CACAC,GAAA,GAMAtB,EAAA,CACAsB,GAAA,GAGAb,EAAA,GAQA,SAAAS,EAAA1B,GAGA,GAAA4B,EAAA5B,GACA,OAAA4B,EAAA5B,GAAA+B,QAGA,IAAAC,EAAAJ,EAAA5B,GAAA,CACAK,EAAAL,EACAiC,GAAA,EACAF,QAAA,IAUA,OANAjB,EA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C,MAAA,WAExD7H,OAAAuH,eAAAlG,EAAA,cAAiDwG,OAAA,KAQjD7G,EAAA8G,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAA7G,EAAA6G,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAjI,OAAAkI,OAAA,MAGA,GAFAlH,EAAA0G,EAAAO,GACAjI,OAAAuH,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAA7G,EAAAmG,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAjH,EAAAqH,EAAA,SAAA/G,GACA,IAAA+F,EAAA/F,KAAA0G,WACA,WAA2B,OAAA1G,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAmG,EAAAE,EAAA,IAAAA,GACAA,GAIArG,EAAAsG,EAAA,SAAAgB,EAAAC,GAAsD,OAAAvI,OAAAC,UAAAC,eAAAC,KAAAmI,EAAAC,IAGtDvH,EAAAuD,EAAA,IAGAvD,EAAAwH,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAA3I,KAAAqI,KAAAM,GACAA,EAAA3I,KAAAX,EACAsJ,IAAAG,QACA,QAAAlJ,EAAA,EAAgBA,EAAA+I,EAAA7I,OAAuBF,IAAAP,EAAAsJ,EAAA/I,IACvC,IAAAU,EAAAuI,EAIAnI","file":"mrstatic/js/runtime~main.d6aa7090.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t30: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t30: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"3\":\"Activity\",\"4\":\"BargainMiddlePage\",\"5\":\"Classify\",\"6\":\"Country\",\"7\":\"CourseList\",\"8\":\"DrawDocument\",\"9\":\"Examination\",\"10\":\"Invite\",\"11\":\"MyEdit\",\"12\":\"Order\",\"13\":\"Orderinfo\",\"14\":\"PayOrder\",\"15\":\"Preferential\",\"16\":\"SearchResult\",\"17\":\"ShareCourse\",\"18\":\"ShopCart\",\"19\":\"aist-share\",\"20\":\"blessing-preheat\",\"21\":\"blessing-rank\",\"22\":\"coupons\",\"23\":\"deposit-order\",\"24\":\"deposit-pay-order\",\"25\":\"detail\",\"27\":\"myorders\",\"28\":\"prize-winner-list\",\"29\":\"purchased\",\"31\":\"search\",\"32\":\"shareposter\",\"33\":\"study\",\"34\":\"togroup\",\"35\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"68702d14\",\"1\":\"7868465e\",\"2\":\"d3e2cd60\",\"3\":\"26d6e431\",\"4\":\"b0a8f8d7\",\"5\":\"a5fc5a6c\",\"6\":\"62163a85\",\"7\":\"a489524f\",\"8\":\"004614da\",\"9\":\"2f6557b3\",\"10\":\"fd2d286b\",\"11\":\"4b9a86c3\",\"12\":\"dae531e6\",\"13\":\"73b4702f\",\"14\":\"1e36500f\",\"15\":\"3e215e45\",\"16\":\"65d2df63\",\"17\":\"95afc5ca\",\"18\":\"09c79db5\",\"19\":\"e19f0e93\",\"20\":\"63059f82\",\"21\":\"f693c517\",\"22\":\"209341b7\",\"23\":\"0fdfbdeb\",\"24\":\"d880492b\",\"25\":\"e08da2c8\",\"27\":\"66fd0439\",\"28\":\"da7c8cba\",\"29\":\"c50976fa\",\"31\":\"a5aa0699\",\"32\":\"ff8f11fd\",\"33\":\"052d4402\",\"34\":\"527cf639\",\"35\":\"57a6ff2d\",\"37\":\"37ea025e\",\"38\":\"4040a47b\",\"39\":\"e992e05b\",\"40\":\"ea26256d\",\"41\":\"b64fac49\",\"42\":\"56b97824\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"12\":1,\"14\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"27\":1,\"28\":1,\"29\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"3\":\"Activity\",\"4\":\"BargainMiddlePage\",\"5\":\"Classify\",\"6\":\"Country\",\"7\":\"CourseList\",\"8\":\"DrawDocument\",\"9\":\"Examination\",\"10\":\"Invite\",\"11\":\"MyEdit\",\"12\":\"Order\",\"13\":\"Orderinfo\",\"14\":\"PayOrder\",\"15\":\"Preferential\",\"16\":\"SearchResult\",\"17\":\"ShareCourse\",\"18\":\"ShopCart\",\"19\":\"aist-share\",\"20\":\"blessing-preheat\",\"21\":\"blessing-rank\",\"22\":\"coupons\",\"23\":\"deposit-order\",\"24\":\"deposit-pay-order\",\"25\":\"detail\",\"27\":\"myorders\",\"28\":\"prize-winner-list\",\"29\":\"purchased\",\"31\":\"search\",\"32\":\"shareposter\",\"33\":\"study\",\"34\":\"togroup\",\"35\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"5ed15c7e\",\"3\":\"16611a91\",\"4\":\"fc53c3d0\",\"5\":\"f2f19957\",\"6\":\"16a64650\",\"7\":\"85889ffd\",\"8\":\"2e7d81ca\",\"9\":\"f2cc3163\",\"10\":\"16611a91\",\"11\":\"31d6cfe0\",\"12\":\"35f475a1\",\"13\":\"31d6cfe0\",\"14\":\"e5315535\",\"15\":\"cda7a495\",\"16\":\"bb7c3056\",\"17\":\"278ad3b1\",\"18\":\"3a4dbb7a\",\"19\":\"ca49c1cb\",\"20\":\"44facd03\",\"21\":\"e60367d5\",\"22\":\"ff6280ad\",\"23\":\"6f3a01ca\",\"24\":\"039d87dd\",\"25\":\"21c1cdea\",\"27\":\"a5a13d80\",\"28\":\"e1adc61c\",\"29\":\"dd7556e0\",\"31\":\"fab97849\",\"32\":\"f09a5959\",\"33\":\"b002c899\",\"34\":\"49988cae\",\"35\":\"1f56370b\",\"37\":\"50547718\",\"38\":\"2471f477\",\"39\":\"0bb224f2\",\"40\":\"ecbb6f9a\",\"41\":\"18c88f1f\",\"42\":\"eb90513f\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","30","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","12","14","15","16","17","18","19","20","21","22","23","24","25","27","28","29","31","32","33","34","35","37","38","39","40","41","42","Promise","resolve","reject","href","11","13","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OA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AGtDvH,EAAAuD,EAAA,IAGAvD,EAAAwH,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAA3I,KAAAqI,KAAAM,GACAA,EAAA3I,KAAAX,EACAsJ,IAAAG,QACA,QAAAlJ,EAAA,EAAgBA,EAAA+I,EAAA7I,OAAuBF,IAAAP,EAAAsJ,EAAA/I,IACvC,IAAAU,EAAAuI,EAIAnI","file":"mrstatic/js/runtime~main.cb46d4f0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t30: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t30: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"3\":\"Activity\",\"4\":\"BargainMiddlePage\",\"5\":\"Classify\",\"6\":\"Country\",\"7\":\"CourseList\",\"8\":\"DrawDocument\",\"9\":\"Examination\",\"10\":\"Invite\",\"11\":\"MyEdit\",\"12\":\"Order\",\"13\":\"Orderinfo\",\"14\":\"PayOrder\",\"15\":\"Preferential\",\"16\":\"SearchResult\",\"17\":\"ShareCourse\",\"18\":\"ShopCart\",\"19\":\"aist-share\",\"20\":\"blessing-preheat\",\"21\":\"blessing-rank\",\"22\":\"coupons\",\"23\":\"deposit-order\",\"24\":\"deposit-pay-order\",\"25\":\"detail\",\"27\":\"myorders\",\"28\":\"prize-winner-list\",\"29\":\"purchased\",\"31\":\"search\",\"32\":\"shareposter\",\"33\":\"study\",\"34\":\"togroup\",\"35\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"68702d14\",\"1\":\"7868465e\",\"2\":\"d3e2cd60\",\"3\":\"26d6e431\",\"4\":\"b0a8f8d7\",\"5\":\"a5fc5a6c\",\"6\":\"62163a85\",\"7\":\"a489524f\",\"8\":\"004614da\",\"9\":\"2f6557b3\",\"10\":\"fd2d286b\",\"11\":\"4b9a86c3\",\"12\":\"dae531e6\",\"13\":\"73b4702f\",\"14\":\"1e36500f\",\"15\":\"3e215e45\",\"16\":\"65d2df63\",\"17\":\"95afc5ca\",\"18\":\"09c79db5\",\"19\":\"e19f0e93\",\"20\":\"bc5b91a7\",\"21\":\"8f42f1bc\",\"22\":\"209341b7\",\"23\":\"0fdfbdeb\",\"24\":\"d880492b\",\"25\":\"e08da2c8\",\"27\":\"66fd0439\",\"28\":\"da7c8cba\",\"29\":\"c50976fa\",\"31\":\"a5aa0699\",\"32\":\"ff8f11fd\",\"33\":\"052d4402\",\"34\":\"527cf639\",\"35\":\"57a6ff2d\",\"37\":\"37ea025e\",\"38\":\"4040a47b\",\"39\":\"e992e05b\",\"40\":\"ea26256d\",\"41\":\"b64fac49\",\"42\":\"56b97824\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"12\":1,\"14\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"27\":1,\"28\":1,\"29\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"3\":\"Activity\",\"4\":\"BargainMiddlePage\",\"5\":\"Classify\",\"6\":\"Country\",\"7\":\"CourseList\",\"8\":\"DrawDocument\",\"9\":\"Examination\",\"10\":\"Invite\",\"11\":\"MyEdit\",\"12\":\"Order\",\"13\":\"Orderinfo\",\"14\":\"PayOrder\",\"15\":\"Preferential\",\"16\":\"SearchResult\",\"17\":\"ShareCourse\",\"18\":\"ShopCart\",\"19\":\"aist-share\",\"20\":\"blessing-preheat\",\"21\":\"blessing-rank\",\"22\":\"coupons\",\"23\":\"deposit-order\",\"24\":\"deposit-pay-order\",\"25\":\"detail\",\"27\":\"myorders\",\"28\":\"prize-winner-list\",\"29\":\"purchased\",\"31\":\"search\",\"32\":\"shareposter\",\"33\":\"study\",\"34\":\"togroup\",\"35\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"5ed15c7e\",\"3\":\"16611a91\",\"4\":\"fc53c3d0\",\"5\":\"f2f19957\",\"6\":\"16a64650\",\"7\":\"85889ffd\",\"8\":\"2e7d81ca\",\"9\":\"f2cc3163\",\"10\":\"16611a91\",\"11\":\"31d6cfe0\",\"12\":\"35f475a1\",\"13\":\"31d6cfe0\",\"14\":\"e5315535\",\"15\":\"cda7a495\",\"16\":\"bb7c3056\",\"17\":\"278ad3b1\",\"18\":\"3a4dbb7a\",\"19\":\"ca49c1cb\",\"20\":\"44facd03\",\"21\":\"e60367d5\",\"22\":\"ff6280ad\",\"23\":\"6f3a01ca\",\"24\":\"039d87dd\",\"25\":\"21c1cdea\",\"27\":\"a5a13d80\",\"28\":\"e1adc61c\",\"29\":\"dd7556e0\",\"31\":\"fab97849\",\"32\":\"f09a5959\",\"33\":\"b002c899\",\"34\":\"49988cae\",\"35\":\"1f56370b\",\"37\":\"50547718\",\"38\":\"2471f477\",\"39\":\"0bb224f2\",\"40\":\"ecbb6f9a\",\"41\":\"18c88f1f\",\"42\":\"eb90513f\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
......@@ -16,16 +16,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.d3e2cd60.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "849a0949f11302fca697",
"url": "/mrstatic/js/Activity.26d6e431.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "dee58536ac8aa1de8e83",
......@@ -148,16 +148,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.4040a47b.chunk.js"
},
{
"revision": "728dd6eb1d7eb08c6f54",
"url": "/mrstatic/js/blessing-preheat.63059f82.chunk.js"
"revision": "94db819aa76073a6081e",
"url": "/mrstatic/js/blessing-preheat.bc5b91a7.chunk.js"
},
{
"revision": "c982f3139ceef0937352",
"url": "/mrstatic/js/37.37ea025e.chunk.js"
},
{
"revision": "83728571a1d30652599d",
"url": "/mrstatic/js/blessing-rank.f693c517.chunk.js"
"revision": "88056a07083c858b0159",
"url": "/mrstatic/js/blessing-rank.8f42f1bc.chunk.js"
},
{
"revision": "1b8cf42afd72e33ab350",
......@@ -196,8 +196,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/shareposter.ff8f11fd.chunk.js"
},
{
"revision": "2efe9af65df51656d09d",
"url": "/mrstatic/js/main.e36509e8.chunk.js"
"revision": "528e6bab1a34716dc6db",
"url": "/mrstatic/js/main.2551d025.chunk.js"
},
{
"revision": "cb506ee46c5fa0b1a95f",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.66fd0439.chunk.js"
},
{
"revision": "22ed7f2f5ea3c5b817af",
"url": "/mrstatic/js/runtime~main.d6aa7090.js"
"revision": "2aacbf883d40070521b4",
"url": "/mrstatic/js/runtime~main.cb46d4f0.js"
},
{
"revision": "1b5604b889bd9e9aada7",
......@@ -256,7 +256,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/detail.21c1cdea.chunk.css"
},
{
"revision": "2efe9af65df51656d09d",
"revision": "528e6bab1a34716dc6db",
"url": "/mrstatic/css/main.b1f8779d.chunk.css"
},
{
......@@ -280,7 +280,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/37.50547718.chunk.css"
},
{
"revision": "83728571a1d30652599d",
"revision": "88056a07083c858b0159",
"url": "/mrstatic/css/blessing-rank.e60367d5.chunk.css"
},
{
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.2471f477.chunk.css"
},
{
"revision": "728dd6eb1d7eb08c6f54",
"revision": "94db819aa76073a6081e",
"url": "/mrstatic/css/blessing-preheat.44facd03.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.5ed15c7e.chunk.css"
},
{
"revision": "4c132a638990337d40e615895fa5b21f",
"revision": "d2fff7384a5ba2d6a5bbc71c8d9185d4",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.2b03e08a1496b76f3860faefc92e68c9.js"
"/precache-manifest.3c6199e9bcbcc3e5a443f698a1beeb6a.js"
);
workbox.clientsClaim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment