Commit b3732e15 by wangshuo

打包

parent 1d2d8ba5
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
"coupons.js": "/static/js/coupons.32d91de9.chunk.js", "coupons.js": "/static/js/coupons.32d91de9.chunk.js",
"coupons.js.map": "/static/js/coupons.32d91de9.chunk.js.map", "coupons.js.map": "/static/js/coupons.32d91de9.chunk.js.map",
"detail.css": "/static/css/detail.1970e6cf.chunk.css", "detail.css": "/static/css/detail.1970e6cf.chunk.css",
"detail.js": "/static/js/detail.c6453dca.chunk.js", "detail.js": "/static/js/detail.625c9b7d.chunk.js",
"detail.js.map": "/static/js/detail.c6453dca.chunk.js.map", "detail.js.map": "/static/js/detail.625c9b7d.chunk.js.map",
"main.css": "/static/css/main.95f34d95.chunk.css", "main.css": "/static/css/main.95f34d95.chunk.css",
"main.js": "/static/js/main.03d12cb9.chunk.js", "main.js": "/static/js/main.03d12cb9.chunk.js",
"main.js.map": "/static/js/main.03d12cb9.chunk.js.map", "main.js.map": "/static/js/main.03d12cb9.chunk.js.map",
...@@ -51,8 +51,8 @@ ...@@ -51,8 +51,8 @@
"purchased.css": "/static/css/purchased.a14c858f.chunk.css", "purchased.css": "/static/css/purchased.a14c858f.chunk.css",
"purchased.js": "/static/js/purchased.a499871a.chunk.js", "purchased.js": "/static/js/purchased.a499871a.chunk.js",
"purchased.js.map": "/static/js/purchased.a499871a.chunk.js.map", "purchased.js.map": "/static/js/purchased.a499871a.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.b4b1f832.js", "runtime~main.js": "/static/js/runtime~main.0d89f196.js",
"runtime~main.js.map": "/static/js/runtime~main.b4b1f832.js.map", "runtime~main.js.map": "/static/js/runtime~main.0d89f196.js.map",
"search.css": "/static/css/search.59d9773d.chunk.css", "search.css": "/static/css/search.59d9773d.chunk.css",
"search.js": "/static/js/search.a10701e0.chunk.js", "search.js": "/static/js/search.a10701e0.chunk.js",
"search.js.map": "/static/js/search.a10701e0.chunk.js.map", "search.js.map": "/static/js/search.a10701e0.chunk.js.map",
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
"togroup.js": "/static/js/togroup.a76a3571.chunk.js", "togroup.js": "/static/js/togroup.a76a3571.chunk.js",
"togroup.js.map": "/static/js/togroup.a76a3571.chunk.js.map", "togroup.js.map": "/static/js/togroup.a76a3571.chunk.js.map",
"video.css": "/static/css/video.0984720e.chunk.css", "video.css": "/static/css/video.0984720e.chunk.css",
"video.js": "/static/js/video.697a686f.chunk.js", "video.js": "/static/js/video.2ba17ea7.chunk.js",
"video.js.map": "/static/js/video.697a686f.chunk.js.map", "video.js.map": "/static/js/video.2ba17ea7.chunk.js.map",
"static/css/24.62b6292a.chunk.css": "/static/css/24.62b6292a.chunk.css", "static/css/24.62b6292a.chunk.css": "/static/css/24.62b6292a.chunk.css",
"static/js/24.86a86b36.chunk.js": "/static/js/24.86a86b36.chunk.js", "static/js/24.86a86b36.chunk.js": "/static/js/24.86a86b36.chunk.js",
"static/js/24.86a86b36.chunk.js.map": "/static/js/24.86a86b36.chunk.js.map", "static/js/24.86a86b36.chunk.js.map": "/static/js/24.86a86b36.chunk.js.map",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"static/js/31.29632a76.chunk.js": "/static/js/31.29632a76.chunk.js", "static/js/31.29632a76.chunk.js": "/static/js/31.29632a76.chunk.js",
"static/js/31.29632a76.chunk.js.map": "/static/js/31.29632a76.chunk.js.map", "static/js/31.29632a76.chunk.js.map": "/static/js/31.29632a76.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.63919ffffa7240e63c1746428262fdd8.js": "/precache-manifest.63919ffffa7240e63c1746428262fdd8.js", "precache-manifest.15390223bd7395b74cb43360ecec5ad1.js": "/precache-manifest.15390223bd7395b74cb43360ecec5ad1.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/24.62b6292a.chunk.css.map": "/static/css/24.62b6292a.chunk.css.map", "static/css/24.62b6292a.chunk.css.map": "/static/css/24.62b6292a.chunk.css.map",
"static/css/26.b8256974.chunk.css.map": "/static/css/26.b8256974.chunk.css.map", "static/css/26.b8256974.chunk.css.map": "/static/css/26.b8256974.chunk.css.map",
......
<!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="/static/css/24.62b6292a.chunk.css" rel="stylesheet"><link href="/static/css/main.95f34d95.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(f){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,i=[];c<n.length;c++)t=n[c],l[t]&&i.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(f[r]=a[r]);for(h&&h(e);i.length;)i.shift()();return u.push.apply(u,o||[]),d()}function d(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(u.splice(r--,1),e=p(p.s=t[0]))}return e}var t={},s={18:0},l={18:0},u=[];function p(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,p),r.l=!0,r.exports}p.e=function(u){var e=[];s[u]?e.push(s[u]):0!==s[u]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[u]&&e.push(s[u]=new Promise(function(e,n){for(var r="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[u]||u)+"."+{0:"f15334d9",1:"6f1b147b",2:"2444c6c2",3:"58508f31",4:"02475a25",5:"31d6cfe0",6:"5199031c",7:"31d6cfe0",8:"4a91788c",9:"aced1689",10:"d246922c",11:"f39ca42e",12:"01bc9663",13:"c48c0144",14:"1970e6cf",16:"1dbd49e2",17:"a14c858f",19:"59d9773d",20:"728e4385",21:"8e1bd2b5",22:"acc61e40",23:"0984720e",25:"31d6cfe0",26:"b8256974",27:"31d6cfe0",28:"415f421f",29:"fd1b61f1",30:"44620a41",31:"ffbe0560"}[u]+".chunk.css",a=p.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(f=t[o]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(c===r||c===a))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var f;if((c=(f=i[o]).getAttribute("data-href"))===r||c===a)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+u+" failed.\n("+r+")");t.request=r,delete s[u],d.parentNode.removeChild(d),n(t)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)}).then(function(){s[u]=0}));var t=l[u];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[u]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[u]||u)+"."+{0:"d8bb172c",1:"63329319",2:"f13847f4",3:"947fa78f",4:"7713915d",5:"98497c0f",6:"6102c2d5",7:"1d26f717",8:"8f7c5463",9:"061171dd",10:"d3f64477",11:"535850f6",12:"062aaeb3",13:"32d91de9",14:"c6453dca",16:"c38a691f",17:"a499871a",19:"a10701e0",20:"6f0b8364",21:"3d4d0ff0",22:"a76a3571",23:"697a686f",25:"403aae65",26:"f7b80738",27:"33496196",28:"88036717",29:"42d40869",30:"b92758f1",31:"29632a76"}[u]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[u];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+u+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[u]=void 0}};var c=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},p.m=f,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 n in r)p.d(t,n,function(e){return r[e]}.bind(null,n));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||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var h=n;d()}([])</script><script src="/static/js/24.86a86b36.chunk.js"></script><script src="/static/js/main.03d12cb9.chunk.js"></script></body></html> <!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="/static/css/24.62b6292a.chunk.css" rel="stylesheet"><link href="/static/css/main.95f34d95.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(f){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,i=[];c<n.length;c++)t=n[c],l[t]&&i.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(f[r]=a[r]);for(h&&h(e);i.length;)i.shift()();return u.push.apply(u,o||[]),d()}function d(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(u.splice(r--,1),e=p(p.s=t[0]))}return e}var t={},s={18:0},l={18:0},u=[];function p(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,p),r.l=!0,r.exports}p.e=function(u){var e=[];s[u]?e.push(s[u]):0!==s[u]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[u]&&e.push(s[u]=new Promise(function(e,n){for(var r="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[u]||u)+"."+{0:"f15334d9",1:"6f1b147b",2:"2444c6c2",3:"58508f31",4:"02475a25",5:"31d6cfe0",6:"5199031c",7:"31d6cfe0",8:"4a91788c",9:"aced1689",10:"d246922c",11:"f39ca42e",12:"01bc9663",13:"c48c0144",14:"1970e6cf",16:"1dbd49e2",17:"a14c858f",19:"59d9773d",20:"728e4385",21:"8e1bd2b5",22:"acc61e40",23:"0984720e",25:"31d6cfe0",26:"b8256974",27:"31d6cfe0",28:"415f421f",29:"fd1b61f1",30:"44620a41",31:"ffbe0560"}[u]+".chunk.css",a=p.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(f=t[o]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(c===r||c===a))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var f;if((c=(f=i[o]).getAttribute("data-href"))===r||c===a)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+u+" failed.\n("+r+")");t.request=r,delete s[u],d.parentNode.removeChild(d),n(t)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)}).then(function(){s[u]=0}));var t=l[u];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[u]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[u]||u)+"."+{0:"d8bb172c",1:"63329319",2:"f13847f4",3:"947fa78f",4:"7713915d",5:"98497c0f",6:"6102c2d5",7:"1d26f717",8:"8f7c5463",9:"061171dd",10:"d3f64477",11:"535850f6",12:"062aaeb3",13:"32d91de9",14:"625c9b7d",16:"c38a691f",17:"a499871a",19:"a10701e0",20:"6f0b8364",21:"3d4d0ff0",22:"a76a3571",23:"2ba17ea7",25:"403aae65",26:"f7b80738",27:"33496196",28:"88036717",29:"42d40869",30:"b92758f1",31:"29632a76"}[u]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[u];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+u+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[u]=void 0}};var c=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},p.m=f,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 n in r)p.d(t,n,function(e){return r[e]}.bind(null,n));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||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var h=n;d()}([])</script><script src="/static/js/24.86a86b36.chunk.js"></script><script src="/static/js/main.03d12cb9.chunk.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
...@@ -104,12 +104,12 @@ self.__precacheManifest = [ ...@@ -104,12 +104,12 @@ self.__precacheManifest = [
"url": "/static/js/coupons.32d91de9.chunk.js" "url": "/static/js/coupons.32d91de9.chunk.js"
}, },
{ {
"revision": "0466d5a3df62b44a0f7d", "revision": "590b5adbbd4fda254e87",
"url": "/static/css/detail.1970e6cf.chunk.css" "url": "/static/css/detail.1970e6cf.chunk.css"
}, },
{ {
"revision": "0466d5a3df62b44a0f7d", "revision": "590b5adbbd4fda254e87",
"url": "/static/js/detail.c6453dca.chunk.js" "url": "/static/js/detail.625c9b7d.chunk.js"
}, },
{ {
"revision": "d098e46d3a97eb5e191c", "revision": "d098e46d3a97eb5e191c",
...@@ -136,8 +136,8 @@ self.__precacheManifest = [ ...@@ -136,8 +136,8 @@ self.__precacheManifest = [
"url": "/static/js/BargainMiddlePage.d8bb172c.chunk.js" "url": "/static/js/BargainMiddlePage.d8bb172c.chunk.js"
}, },
{ {
"revision": "ce837a52732f455e0abd", "revision": "5e1e2c12aacc1b61745c",
"url": "/static/js/runtime~main.b4b1f832.js" "url": "/static/js/runtime~main.0d89f196.js"
}, },
{ {
"revision": "1f851421d43b507e18c7", "revision": "1f851421d43b507e18c7",
...@@ -172,12 +172,12 @@ self.__precacheManifest = [ ...@@ -172,12 +172,12 @@ self.__precacheManifest = [
"url": "/static/js/togroup.a76a3571.chunk.js" "url": "/static/js/togroup.a76a3571.chunk.js"
}, },
{ {
"revision": "7e1a83f9c4c5ac5b221f", "revision": "a311b2a44729a0911c19",
"url": "/static/css/video.0984720e.chunk.css" "url": "/static/css/video.0984720e.chunk.css"
}, },
{ {
"revision": "7e1a83f9c4c5ac5b221f", "revision": "a311b2a44729a0911c19",
"url": "/static/js/video.697a686f.chunk.js" "url": "/static/js/video.2ba17ea7.chunk.js"
}, },
{ {
"revision": "80011994e30adf599e5f47fcc81bc06d", "revision": "80011994e30adf599e5f47fcc81bc06d",
...@@ -212,16 +212,16 @@ self.__precacheManifest = [ ...@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.88036717.chunk.js" "url": "/static/js/28.88036717.chunk.js"
}, },
{ {
"revision": "cd1c41437a2e35a283e4b16b620a8c9e", "revision": "145742789ab409c81f28938b15b5dee7",
"url": "/static/media/iconfont.cd1c4143.eot" "url": "/static/media/iconfont.14574278.ttf"
}, },
{ {
"revision": "fdfb0cdf952362e414b6", "revision": "fdfb0cdf952362e414b6",
"url": "/static/js/29.42d40869.chunk.js" "url": "/static/js/29.42d40869.chunk.js"
}, },
{ {
"revision": "145742789ab409c81f28938b15b5dee7", "revision": "cd1c41437a2e35a283e4b16b620a8c9e",
"url": "/static/media/iconfont.14574278.ttf" "url": "/static/media/iconfont.cd1c4143.eot"
}, },
{ {
"revision": "0c5f488d07ad05ac082e", "revision": "0c5f488d07ad05ac082e",
...@@ -260,7 +260,7 @@ self.__precacheManifest = [ ...@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.62b6292a.chunk.css" "url": "/static/css/24.62b6292a.chunk.css"
}, },
{ {
"revision": "f8bc26c7235a2191ab7b0b5b9f383832", "revision": "e65f5d9938bc8d85da659f2a19b2b8b2",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.63919ffffa7240e63c1746428262fdd8.js" "/precache-manifest.15390223bd7395b74cb43360ecec5ad1.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
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 n,a,i=r[0],f=r[1],u=r[2],d=0,l=[];d<i.length;d++)a=i[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function i(r){if(n[r])return n[r].exports;var t=n[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=[];a[e]?r.push(a[e]):0!==a[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"f15334d9",1:"6f1b147b",2:"2444c6c2",3:"58508f31",4:"02475a25",5:"31d6cfe0",6:"5199031c",7:"31d6cfe0",8:"4a91788c",9:"aced1689",10:"d246922c",11:"f39ca42e",12:"01bc9663",13:"c48c0144",14:"1970e6cf",16:"1dbd49e2",17:"a14c858f",19:"59d9773d",20:"728e4385",21:"8e1bd2b5",22:"acc61e40",23:"0984720e",25:"31d6cfe0",26:"b8256974",27:"31d6cfe0",28:"415f421f",29:"fd1b61f1",30:"44620a41",31:"ffbe0560"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var u=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var s;if((u=(s=d[f]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"d8bb172c",1:"63329319",2:"f13847f4",3:"947fa78f",4:"7713915d",5:"98497c0f",6:"6102c2d5",7:"1d26f717",8:"8f7c5463",9:"061171dd",10:"d3f64477",11:"535850f6",12:"062aaeb3",13:"32d91de9",14:"c6453dca",16:"c38a691f",17:"a499871a",19:"a10701e0",20:"6f0b8364",21:"3d4d0ff0",22:"a76a3571",23:"697a686f",25:"403aae65",26:"f7b80738",27:"33496196",28:"88036717",29:"42d40869",30:"b92758f1",31:"29632a76"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},i.m=e,i.c=n,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 n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));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 f=window.webpackJsonp=window.webpackJsonp||[],u=f.push.bind(f);f.push=r,f=f.slice();for(var d=0;d<f.length;d++)r(f[d]);var s=u;t()}([]); !function(e){function r(r){for(var n,a,i=r[0],f=r[1],u=r[2],d=0,l=[];d<i.length;d++)a=i[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function i(r){if(n[r])return n[r].exports;var t=n[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=[];a[e]?r.push(a[e]):0!==a[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"f15334d9",1:"6f1b147b",2:"2444c6c2",3:"58508f31",4:"02475a25",5:"31d6cfe0",6:"5199031c",7:"31d6cfe0",8:"4a91788c",9:"aced1689",10:"d246922c",11:"f39ca42e",12:"01bc9663",13:"c48c0144",14:"1970e6cf",16:"1dbd49e2",17:"a14c858f",19:"59d9773d",20:"728e4385",21:"8e1bd2b5",22:"acc61e40",23:"0984720e",25:"31d6cfe0",26:"b8256974",27:"31d6cfe0",28:"415f421f",29:"fd1b61f1",30:"44620a41",31:"ffbe0560"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var u=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var s;if((u=(s=d[f]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"d8bb172c",1:"63329319",2:"f13847f4",3:"947fa78f",4:"7713915d",5:"98497c0f",6:"6102c2d5",7:"1d26f717",8:"8f7c5463",9:"061171dd",10:"d3f64477",11:"535850f6",12:"062aaeb3",13:"32d91de9",14:"625c9b7d",16:"c38a691f",17:"a499871a",19:"a10701e0",20:"6f0b8364",21:"3d4d0ff0",22:"a76a3571",23:"2ba17ea7",25:"403aae65",26:"f7b80738",27:"33496196",28:"88036717",29:"42d40869",30:"b92758f1",31:"29632a76"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},i.m=e,i.c=n,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 n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));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 f=window.webpackJsonp=window.webpackJsonp||[],u=f.push.bind(f);f.push=r,f=f.slice();for(var d=0;d<f.length;d++)r(f[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.b4b1f832.js.map //# sourceMappingURL=runtime~main.0d89f196.js.map
\ No newline at end of file \ 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","18","exports","module","l","e","promises","0","1","2","3","4","6","8","9","10","11","12","13","14","16","17","19","20","21","22","23","26","28","29","30","31","Promise","resolve","reject","href","5","7","25","27","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,IAAA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IAAAI,EAAAtH,OAAAuH,OAAA,MAGA,GAFAvG,EAAA+F,EAAAO,GACAtH,OAAA4G,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAlG,EAAAwF,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAtG,EAAA0G,EAAA,SAAApG,GACA,IAAAoF,EAAApF,KAAA+F,WACA,WAA2B,OAAA/F,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAwF,EAAAE,EAAA,IAAAA,GACAA,GAIA1F,EAAA2F,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5H,OAAAC,UAAAC,eAAAC,KAAAwH,EAAAC,IAGtD5G,EAAA4C,EAAA,IAGA5C,EAAA6G,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhI,KAAA0H,KAAAM,GACAA,EAAAhI,KAAAX,EACA2I,IAAAG,QACA,QAAAvI,EAAA,EAAgBA,EAAAoI,EAAAlI,OAAuBF,IAAAP,EAAA2I,EAAApI,IACvC,IAAAU,EAAA4H,EAIAxH","file":"static/js/runtime~main.b4b1f832.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\t18: 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\t18: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({\"0\":\"BargainMiddlePage\",\"1\":\"Classify\",\"2\":\"CourseList\",\"3\":\"DrawDocument\",\"4\":\"Examination\",\"5\":\"MyEdit\",\"6\":\"Order\",\"7\":\"Orderinfo\",\"8\":\"PayOrder\",\"9\":\"Preferential\",\"10\":\"SearchResult\",\"11\":\"ShopCart\",\"12\":\"aist-share\",\"13\":\"coupons\",\"14\":\"detail\",\"16\":\"myorders\",\"17\":\"purchased\",\"19\":\"search\",\"20\":\"shareposter\",\"21\":\"study\",\"22\":\"togroup\",\"23\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"d8bb172c\",\"1\":\"63329319\",\"2\":\"f13847f4\",\"3\":\"947fa78f\",\"4\":\"7713915d\",\"5\":\"98497c0f\",\"6\":\"6102c2d5\",\"7\":\"1d26f717\",\"8\":\"8f7c5463\",\"9\":\"061171dd\",\"10\":\"d3f64477\",\"11\":\"535850f6\",\"12\":\"062aaeb3\",\"13\":\"32d91de9\",\"14\":\"c6453dca\",\"16\":\"c38a691f\",\"17\":\"a499871a\",\"19\":\"a10701e0\",\"20\":\"6f0b8364\",\"21\":\"3d4d0ff0\",\"22\":\"a76a3571\",\"23\":\"697a686f\",\"25\":\"403aae65\",\"26\":\"f7b80738\",\"27\":\"33496196\",\"28\":\"88036717\",\"29\":\"42d40869\",\"30\":\"b92758f1\",\"31\":\"29632a76\"}[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 = {\"0\":1,\"1\":1,\"2\":1,\"3\":1,\"4\":1,\"6\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"13\":1,\"14\":1,\"16\":1,\"17\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"26\":1,\"28\":1,\"29\":1,\"30\":1,\"31\":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 = \"static/css/\" + ({\"0\":\"BargainMiddlePage\",\"1\":\"Classify\",\"2\":\"CourseList\",\"3\":\"DrawDocument\",\"4\":\"Examination\",\"5\":\"MyEdit\",\"6\":\"Order\",\"7\":\"Orderinfo\",\"8\":\"PayOrder\",\"9\":\"Preferential\",\"10\":\"SearchResult\",\"11\":\"ShopCart\",\"12\":\"aist-share\",\"13\":\"coupons\",\"14\":\"detail\",\"16\":\"myorders\",\"17\":\"purchased\",\"19\":\"search\",\"20\":\"shareposter\",\"21\":\"study\",\"22\":\"togroup\",\"23\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"f15334d9\",\"1\":\"6f1b147b\",\"2\":\"2444c6c2\",\"3\":\"58508f31\",\"4\":\"02475a25\",\"5\":\"31d6cfe0\",\"6\":\"5199031c\",\"7\":\"31d6cfe0\",\"8\":\"4a91788c\",\"9\":\"aced1689\",\"10\":\"d246922c\",\"11\":\"f39ca42e\",\"12\":\"01bc9663\",\"13\":\"c48c0144\",\"14\":\"1970e6cf\",\"16\":\"1dbd49e2\",\"17\":\"a14c858f\",\"19\":\"59d9773d\",\"20\":\"728e4385\",\"21\":\"8e1bd2b5\",\"22\":\"acc61e40\",\"23\":\"0984720e\",\"25\":\"31d6cfe0\",\"26\":\"b8256974\",\"27\":\"31d6cfe0\",\"28\":\"415f421f\",\"29\":\"fd1b61f1\",\"30\":\"44620a41\",\"31\":\"ffbe0560\"}[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":""} {"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","18","exports","module","l","e","promises","0","1","2","3","4","6","8","9","10","11","12","13","14","16","17","19","20","21","22","23","26","28","29","30","31","Promise","resolve","reject","href","5","7","25","27","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,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F,EAAA,cAAiD6F,OAAA,KAQjDlG,EAAAmG,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAlG,EAAAkG,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAtH,OAAAuH,OAAA,MAGA,GAFAvG,EAAA+F,EAAAO,GACAtH,OAAA4G,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAlG,EAAAwF,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAtG,EAAA0G,EAAA,SAAApG,GACA,IAAAoF,EAAApF,KAAA+F,WACA,WAA2B,OAAA/F,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAwF,EAAAE,EAAA,IAAAA,GACAA,GAIA1F,EAAA2F,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5H,OAAAC,UAAAC,eAAAC,KAAAwH,EAAAC,IAGtD5G,EAAA4C,EAAA,IAGA5C,EAAA6G,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhI,KAAA0H,KAAAM,GACAA,EAAAhI,KAAAX,EACA2I,IAAAG,QACA,QAAAvI,EAAA,EAAgBA,EAAAoI,EAAAlI,OAAuBF,IAAAP,EAAA2I,EAAApI,IACvC,IAAAU,EAAA4H,EAIAxH","file":"static/js/runtime~main.0d89f196.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\t18: 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\t18: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({\"0\":\"BargainMiddlePage\",\"1\":\"Classify\",\"2\":\"CourseList\",\"3\":\"DrawDocument\",\"4\":\"Examination\",\"5\":\"MyEdit\",\"6\":\"Order\",\"7\":\"Orderinfo\",\"8\":\"PayOrder\",\"9\":\"Preferential\",\"10\":\"SearchResult\",\"11\":\"ShopCart\",\"12\":\"aist-share\",\"13\":\"coupons\",\"14\":\"detail\",\"16\":\"myorders\",\"17\":\"purchased\",\"19\":\"search\",\"20\":\"shareposter\",\"21\":\"study\",\"22\":\"togroup\",\"23\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"d8bb172c\",\"1\":\"63329319\",\"2\":\"f13847f4\",\"3\":\"947fa78f\",\"4\":\"7713915d\",\"5\":\"98497c0f\",\"6\":\"6102c2d5\",\"7\":\"1d26f717\",\"8\":\"8f7c5463\",\"9\":\"061171dd\",\"10\":\"d3f64477\",\"11\":\"535850f6\",\"12\":\"062aaeb3\",\"13\":\"32d91de9\",\"14\":\"625c9b7d\",\"16\":\"c38a691f\",\"17\":\"a499871a\",\"19\":\"a10701e0\",\"20\":\"6f0b8364\",\"21\":\"3d4d0ff0\",\"22\":\"a76a3571\",\"23\":\"2ba17ea7\",\"25\":\"403aae65\",\"26\":\"f7b80738\",\"27\":\"33496196\",\"28\":\"88036717\",\"29\":\"42d40869\",\"30\":\"b92758f1\",\"31\":\"29632a76\"}[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 = {\"0\":1,\"1\":1,\"2\":1,\"3\":1,\"4\":1,\"6\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"13\":1,\"14\":1,\"16\":1,\"17\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"26\":1,\"28\":1,\"29\":1,\"30\":1,\"31\":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 = \"static/css/\" + ({\"0\":\"BargainMiddlePage\",\"1\":\"Classify\",\"2\":\"CourseList\",\"3\":\"DrawDocument\",\"4\":\"Examination\",\"5\":\"MyEdit\",\"6\":\"Order\",\"7\":\"Orderinfo\",\"8\":\"PayOrder\",\"9\":\"Preferential\",\"10\":\"SearchResult\",\"11\":\"ShopCart\",\"12\":\"aist-share\",\"13\":\"coupons\",\"14\":\"detail\",\"16\":\"myorders\",\"17\":\"purchased\",\"19\":\"search\",\"20\":\"shareposter\",\"21\":\"study\",\"22\":\"togroup\",\"23\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"f15334d9\",\"1\":\"6f1b147b\",\"2\":\"2444c6c2\",\"3\":\"58508f31\",\"4\":\"02475a25\",\"5\":\"31d6cfe0\",\"6\":\"5199031c\",\"7\":\"31d6cfe0\",\"8\":\"4a91788c\",\"9\":\"aced1689\",\"10\":\"d246922c\",\"11\":\"f39ca42e\",\"12\":\"01bc9663\",\"13\":\"c48c0144\",\"14\":\"1970e6cf\",\"16\":\"1dbd49e2\",\"17\":\"a14c858f\",\"19\":\"59d9773d\",\"20\":\"728e4385\",\"21\":\"8e1bd2b5\",\"22\":\"acc61e40\",\"23\":\"0984720e\",\"25\":\"31d6cfe0\",\"26\":\"b8256974\",\"27\":\"31d6cfe0\",\"28\":\"415f421f\",\"29\":\"fd1b61f1\",\"30\":\"44620a41\",\"31\":\"ffbe0560\"}[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 \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{1177:function(e,t,a){"use strict";a.r(t);a(43);var n,c=a(14),i=a.n(c),s=a(7),r=a(8),o=a(10),l=a(9),d=a(11),u=(a(257),a(99)),m=a.n(u),p=a(0),h=a.n(p),v=a(162),f=(a(786),a(18)),y=a(51),b=a(4),E=a(20),g=(a(62),a(787),a(647)),S=function(e){var t=e.item;return h.a.createElement("div",{className:"bottom"},h.a.createElement("span",{className:"price"},"\xa5",t.price1),h.a.createElement("span",{className:"stale-price"},"\xa5",t.price0))},_=Object(E.b)()(n=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={num:10,list:[],courseId:null},a.getRecommendation=function(){b.c.get("".concat(API.home,"/m/play/recommend_course/").concat(a.props.vCourseId,"?num=").concat(a.state.num)).then(function(e){var t=e.data;200===t.code?a.setState({list:Array.isArray(t.data)?t.data:[]}):i.a.info(t.msg)})},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a}return Object(d.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.getRecommendation()}},{key:"render",value:function(){var e=this;return this.state.list.length?h.a.createElement("div",{className:"recommendation"},h.a.createElement("div",{className:"title"},"\u76f8\u5173\u63a8\u8350"),h.a.createElement("ul",null,this.state.list.map(function(t){var a=h.a.createElement("div",{className:"info"},h.a.createElement("p",{className:"title text-overflow-1"},t.course_title),h.a.createElement("p",{className:"des text-overflow-2"},t.simpledescription),h.a.createElement(S,{item:t}));return h.a.createElement(g.a,{key:t.course_id,img:t.image_name,handleClick:e.toCourseDetail,info:a,id:t.course_id})}))):null}}]),t}(p.PureComponent))||n,I=(a(788),a(15)),N=a.n(I),w=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).handleClick=function(e){a.props.selectVideo(e)},a}return Object(d.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this;return h.a.createElement("div",{className:"video-catalog"},h.a.createElement("ul",null,this.props.videoCatalog.map(function(t,a){return h.a.createElement("li",{key:t.id,className:N()({active:e.props.activeIndex===a})},h.a.createElement("div",{className:"video-title",onClick:e.handleClick.bind(e,a)},h.a.createElement("span",{className:"title"},t.name),h.a.createElement("span",{className:"duration"},t.duration),h.a.createElement("i",{className:N()("iconfont",[0===t.video_auth?"iconiconfront-74":"iconplay_hovericon"])})),t.practice&&t.practice.qid?h.a.createElement(f.b,{to:{pathname:"/campTest",search:"?keshi_id=".concat(t.id,"&qid=").concat(t.practice.qid)}},h.a.createElement("div",{className:"exercise"},"\u8bfe\u540e\u7ec3\u4e60\uff1a",t.practice.title,h.a.createElement("i",{className:N()("iconfont",t.video_auth?t.practice.is_tested?"iconiconfront-3":"":"iconiconfront-74")}))):null)})))}}]),t}(p.Component),k=(a(789),a(791)),P=a.n(k),x=(a(792),function(e){function t(){return Object(s.a)(this,t),Object(o.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props.datum;return h.a.createElement("div",{className:"datum-catalog"},h.a.createElement("p",{className:"prompt"},"\u8bfe\u7a0b\u8d44\u6599\u8bf7\u5230PC\u7aef\u64ad\u653e\u9875\u4e0b\u8f7d"),h.a.createElement(P.a,null,e&&e.length&&e.map(function(e,t){return h.a.createElement(P.a.Panel,{header:e.dir_name,key:t},e.files.map(function(e){return h.a.createElement("div",{key:e.file_id,className:"file-name"},e.file_name)}))})))}}]),t}(p.Component));x.defaultProps={datum:[{dir_name:"",files:[{file_name:"",file_id:0}]}]};var O=x,j=a(1155),C=(a(838),a(30)),A=a(41),R=a.n(A),D=a(839),T=a.n(D),L=a(660),B=m.a.alert;function W(e){return e.isShow&&h.a.createElement("div",{className:"progress-share-modal-wrapper"},h.a.createElement("div",{className:"progress-share-modal"},h.a.createElement("div",{className:"title"},"\u6bcf\u65e5\u6253\u5361"),h.a.createElement("ul",{className:"progress-container"},h.a.createElement("li",null,h.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),h.a.createElement("div",{className:"number"},h.a.createElement("span",{className:"num"},e.data.learn_day_count),"\u5929")),h.a.createElement("li",null,h.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),h.a.createElement("div",{className:"number"},h.a.createElement("span",{className:"num"},parseFloat(e.data.action_power)),"%"))),h.a.createElement("div",{className:"share-container"},h.a.createElement("div",{className:"title"},"\u5206\u4eab\u5230"),h.a.createElement("ul",null,h.a.createElement("li",{className:"share-icon"},h.a.createElement("a",{style:{display:"block"},href:e.data.url},h.a.createElement("div",{className:"icon"},h.a.createElement("i",{className:"iconfont iconweixinzhifu"})),h.a.createElement("div",{className:"text"},"\u5fae\u4fe1\u597d\u53cb"))),h.a.createElement("li",{className:"share-icon"},h.a.createElement("a",{style:{display:"block"},href:e.data.url},h.a.createElement("div",{className:"icon"},h.a.createElement("i",{className:"iconfont iconpengyouquaniconx"})),h.a.createElement("div",{className:"text"},"\u670b\u53cb\u5708"))))),h.a.createElement("i",{className:"iconfont iconiconfront-2 close",onClick:e.closeShareModal})))}var M=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).previousPlaybackRate=1,a.currentPlaybackRate=1,a.reconnect=!0,a.state={title:"",courseId:null,videoList:[],datum:[],currentVideoSrc:"",activeIndex:0,isAuth:!0,course:null,salePrice:null,vCourseId:null,isLoading:!0,isShowShareModal:!1,shareData:{},singleBox:!1,singMess:""},a.tobuy=function(){b.c.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(Object(b.b)("id"),"]")).then(function(e){0===e.data.errno?a.props.history.push("/order?id=".concat(Object(b.b)("id")),{simple:1}):i.a.info(e.data.msg,2)})},a.toSingleset=function(e){a.setState({singleBox:!0,singMess:e})},a.boxHide=function(e){a.setState({singleBox:e})},a.setupRecord=function(){a.recordSocket=T()(API.record,{transports:["websocket"],forceNew:!0}),a.recordSocket.on("seek",function(e){a.player.currentTime(e)}),a.recordTimer=setInterval(function(){a.sendRecord()},5e3)},a.sendRecord=function(){a.recordSocket&&a.player&&a.recordSocket.emit("addRecord",a.recordUserInfo())},a.recordUserInfo=function(){return{uid:a.props.user.data.uid,course_id:a.courseID,video_id:a.state.videoList[a.state.activeIndex].id,video_time:parseInt(a.player.currentTime()),plat:5}},a.setupWS=function(){a.ws=new WebSocket(API["process-api"]),a.ws.addEventListener("error",function(){a.ws=null}),a.ws.addEventListener("close",function(){a.reconnect&&(a.ws=null,setTimeout(function(){a.setupWS()},1e3)),clearInterval(a.timer)}),a.ws.addEventListener("message",function(e){4040==JSON.parse(e.data).code&&(a.reconnect=!1)})},a.sendMessage=function(e){a.ws&&a.ws.send(JSON.stringify(e))},a.getShareProgressInfo=function(){b.c.get("".concat(API["base-api"],"/m/aist/share_data/").concat(a.courseID,"/").concat(a.state.videoList[a.state.activeIndex].id)).then(function(e){var t=e.data;200==t.errno&&a.setState({shareData:t.data,isShowShareModal:!0})})},a.countSchedule=function(){a.sendMessage({mtype:"count_schedule",uid:a.props.user.data.uid,token:a.token,platform:5})},a.sendWatchTime=function(e,t){var n=a.state,c=n.videoList,i=n.activeIndex,s=n.vCourseId;a.sendMessage({mtype:"watch_time",rate:t,time:e,video_id:c[i].id,course_id:a.courseID,v_course_id:s,uid:a.props.user.data.uid,token:a.token,platform:0})},a.setupTimer=function(){a.count=0,a.watchSec=0,clearInterval(a.timer),a.timer=setInterval(function(){a.player&&a.player.player()&&(5===a.count?(a.sendWatchTime(a.watchSec,a.currentPlaybackRate),a.count=a.watchSec=0):(!a.player.paused()&&a.watchSec++,a.count++))},1e3)},a.initializePlayer=function(){window.HELP_IMPROVE_VIDEOJS=!1,a.player=Object(j.a)(a.video,{controls:!0,preload:"auto",bigPlayButton:!0,textTrackDisplay:!1,posterImage:!1,errorDisplay:!1,playbackRates:["0.75","1","1.5","2"],controlBar:{pictureInPictureToggle:!1}}),a.player.on("ready",function(){a.recordSocket.emit("load",a.recordUserInfo())}),a.player.on("ratechange",function(){a.currentPlaybackRate=a.player.playbackRate(),a.sendWatchTime(a.watchSec,a.previousPlaybackRate),a.count=a.watchSec=0,a.previousPlaybackRate=a.currentPlaybackRate}),a.player.on("ended",function(){a.sendWatchTime(a.watchSec,a.currentPlaybackRate),a.getShareProgressInfo(),clearInterval(a.timer)}),a.player.on("seeked",function(){a.sendRecord()})},a.sendLastRecord=function(){b.c.post("".concat(API.home,"/m/course/record_last_video"),{v_course_id:a.state.course.v_course_id,video_id:a.state.videoList[a.state.activeIndex].id})},a.selectVideo=function(e){e!==a.state.activeIndex&&(a.countSchedule(),a.setState({activeIndex:e},function(){a.hasAuth()&&(a.setPlayerSrc(a.state.videoList[e].play_url),a.sendLastRecord(),a.playVideo())}))},a.getVideoList=function(){var e="";e=Object(b.b)("video_id")?"".concat(API.home,"/m/course/play/").concat(a.courseID+"?video_id="+Object(b.b)("video_id")):"".concat(API.home,"/m/course/play/").concat(a.courseID),b.c.get(e).then(function(e){var t=e.data;200===t.code?a.setState(function(e){return{videoList:t.data.lessons,currentVideoSrc:t.data.lessons[e.activeIndex].play_url,course:t.data.course,courseId:t.data.course.course_id,vCourseId:t.data.course.v_course_id,title:t.data.course.course_title,isLoading:!1}},function(){a.state.course.is_aist&&(a.setupWS(),a.setupTimer()),a.lessonAvailable()?a.hasAuth()?Promise.resolve().then(function(){a.initializePlayer(),a.playWithAuth()}):a.getCoursePrice():B("\u6682\u65e0\u89c6\u9891","",[{text:"OK",onPress:function(){a.props.history.push("/")}}])}):i.a.info(t.msg)})},a.setPlayerSrc=function(e){a.player||a.initializePlayer(),a.player.src({src:e,type:"application/x-mpegURL"})},a.playVideo=function(){a.player.play()},a.lessonAvailable=function(){var e=a.state,t=e.videoList,n=e.course,c=t.findIndex(function(e){return e.id==n.last_video_id});return a.setState({activeIndex:c}),0!==t[c].video_size},a.getCoursePrice=function(){b.c.get("".concat(API.home,"/sys/course/price/").concat(Object(b.b)("id"))).then(function(e){var t=e.data;200===t.code&&a.setState({salePrice:t.data.sale_price})})},a.playWithAuth=function(){var e=a.state,t=e.videoList,n=e.activeIndex;a.hasAuth()&&a.setPlayerSrc(t[n].play_url)},a.hasAuth=function(){var e=a.state,t=e.course,n=e.videoList,c=n.findIndex(function(e){return e.id==t.last_video_id});return a.setState({activeIndex:c}),n[c].video_auth?(a.setState({isAuth:!0}),!0):(a.setState({isAuth:!1}),!1)},a}return Object(d.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=window.location;"https:"!==e.protocol?(this.courseID=Object(b.b)("id"),this.courseID?(this.setState({courseId:this.courseID}),this.token=R.a.get("token"),this.getVideoList(),this.getDatumCatalog(),this.setupRecord()):this.props.history.replace("/")):e.replace("http"+e.href.slice(5))}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose(),clearInterval(this.timer),this.ws&&this.ws.close(),this.ws=null,clearInterval(this.recordTimer),this.recordSocket&&this.recordSocket.close(),this.recordSocket=null}},{key:"getDatumCatalog",value:function(){var e=this;b.c.get("".concat(API.home,"/m/course/data/").concat(this.courseID)).then(function(t){var a=t.data;200===a.code?e.setState({datum:a.data}):i.a.info(a.msg)})}},{key:"render",value:function(){var e=this,t=this.props,a=t.match,n=t.location,c=this.state,i=c.videoList,s=c.activeIndex,r=c.isAuth,o=c.salePrice,l=c.course;return h.a.createElement("div",{className:"play"},h.a.createElement(v.a,{title:this.state.title,arrow:!0}),h.a.createElement(C.f,{isLoading:this.state.isLoading},h.a.createElement("div",{className:"video"},h.a.createElement("video",{className:"video-js",ref:function(t){return e.video=t}},h.a.createElement("source",{src:"/",type:"application/x-mpegURL"})),!r&&!!i[s].is_class&&h.a.createElement("div",{className:"purchase-box"},h.a.createElement("div",{className:"hint"},"\u60a8\u5c1a\u672a\u8d2d\u4e70\u8be5\u8bfe\u65f6\uff0c\u8bf7\u8d2d\u4e70\u540e\u5b66\u4e60\u3002"),h.a.createElement("div",{className:"btns"},h.a.createElement("button",{type:"button",onClick:this.tobuy,className:"purchase-class"},"\xa5",o," \u8d2d\u4e70\u8bfe\u7a0b"),h.a.createElement("button",{type:"button",onClick:this.toSingleset.bind(this,i[s]),className:"purchase-episode"},"\xa5",i.length&&i[s].class_price," \u8d2d\u4e70\u5355\u96c6"))),!r&&!!l.is_aist&&h.a.createElement("div",{className:"is-aist-box"},h.a.createElement("i",{className:"iconfont iconiconfront-21"}),h.a.createElement("p",{className:"time"},i[s].aist_start_time),h.a.createElement("p",{className:"time"},"\u8bf7\u8010\u5fc3\u7b49\u5f85..."))),h.a.createElement("div",{className:"tab"},h.a.createElement("div",null,h.a.createElement(f.c,{to:{pathname:"".concat(a.url,"/video"),search:"?id=".concat(this.courseID)},replace:!0,activeClassName:"active"},"\u89c6\u9891")),h.a.createElement("div",null,h.a.createElement(f.c,{to:{pathname:"".concat(a.url,"/datum"),search:"?id=".concat(this.courseID)},replace:!0,activeClassName:"active"},"\u8d44\u6599"))),h.a.createElement(L.a,{singleBox:this.state.singleBox,boxHide:this.boxHide,data:this.state.singMess,videoId:this.state.singMess.id,title:this.state.singMess.course_tile})),h.a.createElement(y.d,null,h.a.createElement(y.a,{exact:!0,from:"/play",to:{pathname:"/play/video",search:n.search}}),h.a.createElement(y.b,{path:"".concat(a.path,"/video"),render:function(t){return h.a.createElement(w,Object.assign({activeIndex:e.state.activeIndex,selectVideo:e.selectVideo,videoCatalog:i},t))}}),h.a.createElement(y.b,{path:"".concat(a.path,"/datum"),render:function(t){return h.a.createElement(O,Object.assign({},t,{datum:e.state.datum}))}})),h.a.createElement(y.b,{render:function(t){return e.state.vCourseId?h.a.createElement(_,Object.assign({},t,{vCourseId:e.state.vCourseId})):null}}),h.a.createElement(W,{isShow:this.state.isShowShareModal,closeShareModal:function(){return e.setState({isShowShareModal:!1})},data:this.state.shareData}))}}]),t}(p.Component);t.default=Object(E.b)(function(e){return{user:e.user}},null)(M)},647:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(648);t.a=function(e){return c.a.createElement("li",{className:"v-list-base-item",onClick:e.handleClick.bind(void 0,e.id)},c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"cover"},e.status,c.a.createElement("img",{src:e.img,alt:""})),e.info),e.tab)}},648:function(e,t,a){},660:function(e,t,a){"use strict";a(43);var n=a(14),c=a.n(n),i=a(7),s=a(8),r=a(10),o=a(9),l=a(11),d=a(156),u=a(0),m=a.n(u),p=(a(661),a(4)),h=a(18),v=a(51),f=a(17),y=a(20),b=a(157),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).check=function(e){a.setState({payType:e})},a.toBuy=function(){p.c.get("".concat(API.home,"/sys/createClassOrder/").concat(a.props.data.video_id)).then(function(e){200===e.data.code?(a.setState({orderId:e.data.data.order_id}),"1"===a.state.payType?a.alipayPay(e.data.data.order_id):a.weixinPay(e.data.data.order_id)):c.a.info(e.data.msg,2)})},a.weixinPay=function(e){p.a.isWeixin?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb&oid="+e).toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":p.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(t){0===t.data.errno?window.location.href=t.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1&oid="+e).toLowerCase():c.a.info(t.data.msg,2)})},a.alipayPay=function(e){p.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?window.location=e.data.data.url:c.a.info(e.data.msg,2)})},a.onBridgeReady=function(e){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?this.payCallback():alert("\u652f\u4ed8\u5931\u8d25")})},a.isweixinPay=function(){var e=Object(d.a)(Object(d.a)(a)),t=Object(p.b)("code");if(t){if(!Object(p.b)("oid"))return;p.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(p.b)("oid"),"/code/").concat(t)).then(function(t){if(0===t.data.errno){var a=function(){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n.appId,timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.package,signType:n.signType,paySign:n.paySign},function(t){"get_brand_wcpay_request:ok"==t.err_msg?(c.a.info("\u652f\u4ed8\u6210\u529f",2),e.intervalPayStatus=setInterval(function(){var t=this;p.c.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(p.b)("oid"))).then(function(a){c.a.info(a.data.errno,2),401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,p.c.get("".concat(API["base-api"],"/sys/orderStatus/").concat(Object(p.b)("oid"))).then(function(e){c.a.info(e.data.data.errno,2),"200"==e.data.data.errno?t.setState({status:6}):"201"==e.data.data.errno?t.setState({status:4}):"202"==e.data.data.errno?t.setState({status:3}):"203"==e.data.data.errno?t.setState({nowPrice:e.data.data.data.now_price,laterPrice:e.data.data.data.three_day_later_price,status:2}):c.a.info(e.data.data.msg,2)}))})},1e3)):alert("\u652f\u4ed8\u5931\u8d25")})},n=t.data.data;"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",a,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",a),document.attachEvent("onWeixinJSBridgeReady",a)):a()}else c.a.info(t.data.msg,2)})}},a.payCallback=function(){var e=Object(d.a)(Object(d.a)(a));e.intervalPayStatus=setInterval(function(){var t=this;p.c.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(p.b)("oid"))).then(function(a){401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,p.c.get("".concat(API["base-api"],"/sys/orderStatus/").concat(Object(p.b)("oid"))).then(function(e){"200"==e.data.data.errno?t.setState({status:6}):"201"==e.data.data.errno?t.setState({status:4}):"202"==e.data.data.errno?t.setState({status:3}):"203"==e.data.data.errno?t.setState({nowPrice:e.data.data.data.now_price,laterPrice:e.data.data.data.three_day_later_price,status:2}):c.a.info(e.data.data.msg,2)}))})},1e3)},a.toBuyAll=function(){},a.zerobuyReceive=function(){c.a.success("\u8d2d\u4e70\u5168\u96c6\u6210\u529f",3),a.colse()},a.zerogroupBuy=function(){a.getOrderId()},a.getOrderId=function(){var e={course_id:Object(p.b)("id")};p.c.post("".concat(API["base-api"],"/pdd/sys"),e).then(function(e){0===e.data.errno?(a.setState({groupOrderId:e.data.data.order_id}),a.getOrderStatus(e.data.data.order_id)):c.a.info(e.data.msg,2)})},a.getOrderStatus=function(e){p.c.get("".concat(API.home,"/m/pdd/order_status/").concat(e)).then(function(e){200===e.data.code?a.getTime(e.data.data.pdd_order_id):c.a.info(e.data.msg,2)})},a.getTime=function(e){p.c.get("".concat(API.home,"/m/pdd_order_end_time/").concat(e)).then(function(e){200===e.data.code?a.setState({endTime:e.data.data.end_time,status:7}):c.a.info(e.data.msg,2)})},a.toGroup=function(){a.props.history.push("/togroup?id=".concat(a.state.groupOrderId))},a.colse=function(){a.props.boxHide(!1),a.setState({status:1})},a.state={status:1,orderId:"",nowPrice:"",laterPrice:"",hour:"",min:"",sec:"",endTime:"",groupOrderId:"",payType:"0"},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){(1===Object(p.b)("is_class")||Object(p.b)("weixinpay"))&&this.payCallback(),p.a.isWeixin&&this.isweixinPay()}},{key:"render",value:function(){var e=this;if(this.state.endTime){var t=1e3*this.state.endTime,a=Date.now();setInterval(function(){t-=1e3;var n=Object(b.differenceInSeconds)(new Date(t),a)%60,c=Object(b.differenceInMinutes)(new Date(t),a)%60,i=Object(b.differenceInHours)(new Date(t),a)%24;e.setState({hour:i,min:c,sec:n})},1e3)}return m.a.createElement("div",null,this.props.singleBox&&m.a.createElement("div",{className:"popup-box"},1===this.state.status&&m.a.createElement("div",{className:"content singleset-payment"},m.a.createElement("div",{className:"price-box"},m.a.createElement("span",null,"\u5b9e\u4ed8\u6b3e\uff1a"),m.a.createElement("p",null,this.props.data.class_price,"\u5143")),m.a.createElement("div",{className:"course-info"},m.a.createElement("p",{className:"text-overflow-1"},m.a.createElement("span",null,"\u8bfe\u7a0b\uff1a"),this.props.title),m.a.createElement("p",{className:"text-overflow-1"},m.a.createElement("span",null,"\u8bfe\u65f6\uff1a"),this.props.data.name)),m.a.createElement("div",{className:"payment-type"},m.a.createElement("label",null,"\u652f\u4ed8\u65b9\u5f0f\uff1a"),!p.a.isWeixin&&m.a.createElement("p",{onClick:this.check.bind(this,"1")},m.a.createElement("i",{className:"iconfont iconalipay"}),m.a.createElement("span",null,"\u652f\u4ed8\u5b9d"),m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5 redio ".concat("1"===this.state.payType?"redioed":"")})),m.a.createElement("p",{onClick:this.check.bind(this,"0")},m.a.createElement("i",{className:"iconfont iconweixinzhifu buy"}),m.a.createElement("span",null,"\u5fae\u4fe1\u652f\u4ed8"),m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5 redio ".concat("0"===this.state.payType?"redioed":"")}))),m.a.createElement("div",{className:"btn btn-18B4ED",onClick:this.toBuy},"\u786e\u8ba4\u8d2d\u4e70")),2===this.state.status&&m.a.createElement("div",{className:"content payment-success"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement("div",{className:"dec"},"\xb7 3\u5929\u5185\u8d2d\u4e70\u5168\u96c6\uff0c\u53ef\u76f4\u63a5\u62b5\u6263\u8be5\u96c6\u8d39\u7528\uff0c",this.state.nowPrice,"\u5143\u8d2d\u4e70\u3002"),m.a.createElement("div",{className:"dec"},"\xb7 \u8d85\u8fc73\u5929\uff0c\u6309\u7167\u672a\u591f\u96c6\u6570/\u5168\u90e8\u96c6\u6570\u7b49\u6bd4\u4f8b\u8ba1\u8d39\uff0c",this.state.laterPrice,"\u5143\u8d2d\u4e70\u5168\u96c6\u3002"),m.a.createElement(h.b,{to:"/play/video?id=".concat(this.props.vcourseId,"&video_id=").concat(this.props.data.video_id),className:"btn btn-18B4ED"},"\u5f00\u59cb\u5b66\u4e60"),m.a.createElement("div",{className:"btn btn-FF4000",onclick:this.toBuyAll()},"\uffe5",this.state.nowPrice,"\u8d2d\u4e70\u5168\u96c6")),3===this.state.status&&m.a.createElement("div",{className:"content zero"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement("div",{className:"dec"},"\xb7 \u606d\u559c\u60a8\u83b7\u5f970\u5143\u62fc\u56e2\u8d2d\u4e70\u5269\u4f59\u8bfe\u65f6\u7684\u673a\u4f1a\u3002"),m.a.createElement("div",{className:"btn btn-FF4000",onClick:this.zerogroupBuy},"0\u5143\u53c2\u56e2")),4===this.state.status&&m.a.createElement("div",{className:"content zero"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement("div",{className:"dec"},"\xb7 \u606d\u559c\u60a8\u83b7\u5f970\u5143\u8d2d\u4e70\u5269\u4f59\u8bfe\u65f6\u7684\u673a\u4f1a\u3002"),m.a.createElement("div",{className:"btn btn-FF4000",onClick:this.zerobuyReceive},"0\u5143\u8d2d")),6===this.state.status&&m.a.createElement("div",{className:"content zero"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement(h.b,{to:"/play/video?id=".concat(this.props.vcourseId,"&video_id=").concat(this.props.data.video_id),className:"btn btn-18B4ED"},"\u53bb\u5b66\u4e60")),7===this.state.status&&m.a.createElement("div",{className:"content group"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u53c2\u56e2\u6210\u529f")),m.a.createElement("div",{className:"group-img"},m.a.createElement("img",{src:this.props.user.data.avatar,alt:""}),m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/images/weekend/train7/ellipsis.png",alt:""}),m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/images/weekend/train7/ellipsis.png",alt:""})),m.a.createElement("div",{className:"btn-l btn-FF4000",onClick:this.toGroup},"\u5269\u4f59",String(this.state.hour).padStart(2,0),"\uff1a",String(this.state.min).padStart(2,0),"\uff1a",String(this.state.sec).padStart(2,0),"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2")),m.a.createElement("i",{onClick:this.colse,className:"iconfont iconiconfront-2 close"})))}}]),t}(u.Component);t.a=Object(f.d)(Object(y.b)(function(e){return{user:e.user}},null),v.g)(E)},661:function(e,t,a){},786:function(e,t,a){},787:function(e,t,a){},788:function(e,t,a){},792:function(e,t,a){},794:function(e,t){},862:function(e,t){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[23],{1177:function(e,t,a){"use strict";a.r(t);a(43);var n,c=a(14),i=a.n(c),s=a(7),r=a(8),o=a(10),l=a(9),d=a(11),u=(a(257),a(99)),m=a.n(u),p=a(0),h=a.n(p),v=a(162),f=(a(786),a(18)),y=a(51),b=a(4),E=a(20),g=(a(62),a(787),a(647)),S=function(e){var t=e.item;return h.a.createElement("div",{className:"bottom"},h.a.createElement("span",{className:"price"},"\xa5",t.price1),h.a.createElement("span",{className:"stale-price"},"\xa5",t.price0))},_=Object(E.b)()(n=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={num:10,list:[],courseId:null},a.getRecommendation=function(){b.c.get("".concat(API.home,"/m/play/recommend_course/").concat(a.props.vCourseId,"?num=").concat(a.state.num)).then(function(e){var t=e.data;200===t.code?a.setState({list:Array.isArray(t.data)?t.data:[]}):i.a.info(t.msg)})},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a}return Object(d.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.getRecommendation()}},{key:"render",value:function(){var e=this;return this.state.list.length?h.a.createElement("div",{className:"recommendation"},h.a.createElement("div",{className:"title"},"\u76f8\u5173\u63a8\u8350"),h.a.createElement("ul",null,this.state.list.map(function(t){var a=h.a.createElement("div",{className:"info"},h.a.createElement("p",{className:"title text-overflow-1"},t.course_title),h.a.createElement("p",{className:"des text-overflow-2"},t.simpledescription),h.a.createElement(S,{item:t}));return h.a.createElement(g.a,{key:t.course_id,img:t.image_name,handleClick:e.toCourseDetail,info:a,id:t.course_id})}))):null}}]),t}(p.PureComponent))||n,I=(a(788),a(15)),N=a.n(I),w=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).handleClick=function(e){a.props.selectVideo(e)},a}return Object(d.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this;return h.a.createElement("div",{className:"video-catalog"},h.a.createElement("ul",null,this.props.videoCatalog.map(function(t,a){return h.a.createElement("li",{key:t.id,className:N()({active:e.props.activeIndex===a})},h.a.createElement("div",{className:"video-title",onClick:e.handleClick.bind(e,a)},h.a.createElement("span",{className:"title"},t.name),h.a.createElement("span",{className:"duration"},t.duration),h.a.createElement("i",{className:N()("iconfont",[0===t.video_auth?"iconiconfront-74":"iconplay_hovericon"])})),t.practice&&t.practice.qid?h.a.createElement(f.b,{to:{pathname:"/campTest",search:"?keshi_id=".concat(t.id,"&qid=").concat(t.practice.qid)}},h.a.createElement("div",{className:"exercise"},"\u8bfe\u540e\u7ec3\u4e60\uff1a",t.practice.title,h.a.createElement("i",{className:N()("iconfont",t.video_auth?t.practice.is_tested?"iconiconfront-3":"":"iconiconfront-74")}))):null)})))}}]),t}(p.Component),k=(a(789),a(791)),P=a.n(k),x=(a(792),function(e){function t(){return Object(s.a)(this,t),Object(o.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props.datum;return h.a.createElement("div",{className:"datum-catalog"},h.a.createElement("p",{className:"prompt"},"\u8bfe\u7a0b\u8d44\u6599\u8bf7\u5230PC\u7aef\u64ad\u653e\u9875\u4e0b\u8f7d"),h.a.createElement(P.a,null,e&&e.length&&e.map(function(e,t){return h.a.createElement(P.a.Panel,{header:e.dir_name,key:t},e.files.map(function(e){return h.a.createElement("div",{key:e.file_id,className:"file-name"},e.file_name)}))})))}}]),t}(p.Component));x.defaultProps={datum:[{dir_name:"",files:[{file_name:"",file_id:0}]}]};var O=x,j=a(1155),C=(a(838),a(30)),A=a(41),R=a.n(A),D=a(839),T=a.n(D),L=a(660),B=m.a.alert;function W(e){return e.isShow&&h.a.createElement("div",{className:"progress-share-modal-wrapper"},h.a.createElement("div",{className:"progress-share-modal"},h.a.createElement("div",{className:"title"},"\u6bcf\u65e5\u6253\u5361"),h.a.createElement("ul",{className:"progress-container"},h.a.createElement("li",null,h.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),h.a.createElement("div",{className:"number"},h.a.createElement("span",{className:"num"},e.data.learn_day_count),"\u5929")),h.a.createElement("li",null,h.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),h.a.createElement("div",{className:"number"},h.a.createElement("span",{className:"num"},parseFloat(e.data.action_power)),"%"))),h.a.createElement("div",{className:"share-container"},h.a.createElement("div",{className:"title"},"\u5206\u4eab\u5230"),h.a.createElement("ul",null,h.a.createElement("li",{className:"share-icon"},h.a.createElement("a",{style:{display:"block"},href:e.data.url},h.a.createElement("div",{className:"icon"},h.a.createElement("i",{className:"iconfont iconweixinzhifu"})),h.a.createElement("div",{className:"text"},"\u5fae\u4fe1\u597d\u53cb"))),h.a.createElement("li",{className:"share-icon"},h.a.createElement("a",{style:{display:"block"},href:e.data.url},h.a.createElement("div",{className:"icon"},h.a.createElement("i",{className:"iconfont iconpengyouquaniconx"})),h.a.createElement("div",{className:"text"},"\u670b\u53cb\u5708"))))),h.a.createElement("i",{className:"iconfont iconiconfront-2 close",onClick:e.closeShareModal})))}var M=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).previousPlaybackRate=1,a.currentPlaybackRate=1,a.reconnect=!0,a.state={title:"",courseId:null,videoList:[],datum:[],currentVideoSrc:"",activeIndex:0,isAuth:!0,course:null,salePrice:null,vCourseId:null,isLoading:!0,isShowShareModal:!1,shareData:{},singleBox:!1,singMess:""},a.tobuy=function(){b.c.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(Object(b.b)("id"),"]")).then(function(e){0===e.data.errno?a.props.history.push("/order?id=".concat(Object(b.b)("id")),{simple:1}):i.a.info(e.data.msg,2)})},a.toSingleset=function(e){a.setState({singleBox:!0,singMess:e})},a.boxHide=function(e){a.setState({singleBox:e})},a.setupRecord=function(){a.recordSocket=T()(API.record,{transports:["websocket"],forceNew:!0}),a.recordSocket.on("seek",function(e){a.player.currentTime(e)}),a.recordTimer=setInterval(function(){a.sendRecord()},5e3)},a.sendRecord=function(){a.recordSocket&&a.player&&a.recordSocket.emit("addRecord",a.recordUserInfo())},a.recordUserInfo=function(){return{uid:a.props.user.data.uid,course_id:a.courseID,video_id:a.state.videoList[a.state.activeIndex].id,video_time:parseInt(a.player.currentTime()),plat:5}},a.setupWS=function(){a.ws=new WebSocket(API["process-api"]),a.ws.addEventListener("error",function(){a.ws=null}),a.ws.addEventListener("close",function(){a.reconnect&&(a.ws=null,setTimeout(function(){a.setupWS()},1e3)),clearInterval(a.timer)}),a.ws.addEventListener("message",function(e){4040==JSON.parse(e.data).code&&(a.reconnect=!1)})},a.sendMessage=function(e){a.ws&&a.ws.send(JSON.stringify(e))},a.getShareProgressInfo=function(){b.c.get("".concat(API["base-api"],"/m/aist/share_data/").concat(a.courseID,"/").concat(a.state.videoList[a.state.activeIndex].id)).then(function(e){var t=e.data;200==t.errno&&a.setState({shareData:t.data,isShowShareModal:!0})})},a.countSchedule=function(){a.sendMessage({mtype:"count_schedule",uid:a.props.user.data.uid,token:a.token,platform:5})},a.sendWatchTime=function(e,t){var n=a.state,c=n.videoList,i=n.activeIndex,s=n.vCourseId;a.sendMessage({mtype:"watch_time",rate:t,time:e,video_id:c[i].id,course_id:a.courseID,v_course_id:s,uid:a.props.user.data.uid,token:a.token,platform:0})},a.setupTimer=function(){a.count=0,a.watchSec=0,clearInterval(a.timer),a.timer=setInterval(function(){a.player&&a.player.player()&&(5===a.count?(a.sendWatchTime(a.watchSec,a.currentPlaybackRate),a.count=a.watchSec=0):(!a.player.paused()&&a.watchSec++,a.count++))},1e3)},a.initializePlayer=function(){window.HELP_IMPROVE_VIDEOJS=!1,a.player=Object(j.a)(a.video,{controls:!0,preload:"auto",bigPlayButton:!0,textTrackDisplay:!1,posterImage:!1,errorDisplay:!1,playbackRates:["0.75","1","1.5","2"],controlBar:{pictureInPictureToggle:!1}}),a.player.on("ready",function(){a.recordSocket.emit("load",a.recordUserInfo())}),a.player.on("ratechange",function(){a.currentPlaybackRate=a.player.playbackRate(),a.sendWatchTime(a.watchSec,a.previousPlaybackRate),a.count=a.watchSec=0,a.previousPlaybackRate=a.currentPlaybackRate}),a.player.on("ended",function(){a.sendWatchTime(a.watchSec,a.currentPlaybackRate),a.getShareProgressInfo(),clearInterval(a.timer)}),a.player.on("seeked",function(){a.sendRecord()})},a.sendLastRecord=function(){b.c.post("".concat(API.home,"/m/course/record_last_video"),{v_course_id:a.state.course.v_course_id,video_id:a.state.videoList[a.state.activeIndex].id})},a.selectVideo=function(e){e!==a.state.activeIndex&&(a.countSchedule(),a.setState({activeIndex:e},function(){a.hasAuth()&&(a.setPlayerSrc(a.state.videoList[e].play_url),a.sendLastRecord(),a.playVideo())}))},a.getVideoList=function(){var e="";e=Object(b.b)("video_id")?"".concat(API.home,"/m/course/play/").concat(a.courseID+"?video_id="+Object(b.b)("video_id")):"".concat(API.home,"/m/course/play/").concat(a.courseID),b.c.get(e).then(function(e){var t=e.data;200===t.code?a.setState(function(e){return{videoList:t.data.lessons,currentVideoSrc:t.data.lessons[e.activeIndex].play_url,course:t.data.course,courseId:t.data.course.course_id,vCourseId:t.data.course.v_course_id,title:t.data.course.course_title,isLoading:!1}},function(){a.state.course.is_aist&&(a.setupWS(),a.setupTimer()),a.lessonAvailable()?a.hasAuth()?Promise.resolve().then(function(){a.initializePlayer(),a.playWithAuth()}):a.getCoursePrice():B("\u6682\u65e0\u89c6\u9891","",[{text:"OK",onPress:function(){a.props.history.push("/")}}])}):i.a.info(t.msg)})},a.setPlayerSrc=function(e){a.player||a.initializePlayer(),a.player.src({src:e,type:"application/x-mpegURL"})},a.playVideo=function(){a.player.play()},a.lessonAvailable=function(){var e=a.state,t=e.videoList,n=e.course,c=t.findIndex(function(e){return e.id==n.last_video_id});return a.setState({activeIndex:c}),0!==t[c].video_size},a.getCoursePrice=function(){b.c.get("".concat(API.home,"/sys/course/price/").concat(Object(b.b)("id"))).then(function(e){var t=e.data;200===t.code&&a.setState({salePrice:t.data.sale_price})})},a.playWithAuth=function(){var e=a.state,t=e.videoList,n=e.activeIndex;a.hasAuth()&&a.setPlayerSrc(t[n].play_url)},a.hasAuth=function(){var e=a.state,t=e.course,n=e.videoList,c=n.findIndex(function(e){return e.id==t.last_video_id});return a.setState({activeIndex:c}),n[c].video_auth?(a.setState({isAuth:!0}),!0):(a.setState({isAuth:!1}),!1)},a}return Object(d.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=window.location;"https:"!==e.protocol?(this.courseID=Object(b.b)("id"),this.courseID?(this.setState({courseId:this.courseID}),this.token=R.a.get("token"),this.getVideoList(),this.getDatumCatalog(),this.setupRecord()):this.props.history.replace("/")):e.replace("http"+e.href.slice(5))}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose(),clearInterval(this.timer),this.ws&&this.ws.close(),this.ws=null,clearInterval(this.recordTimer),this.recordSocket&&this.recordSocket.close(),this.recordSocket=null}},{key:"getDatumCatalog",value:function(){var e=this;b.c.get("".concat(API.home,"/m/course/data/").concat(this.courseID)).then(function(t){var a=t.data;200===a.code?e.setState({datum:a.data}):i.a.info(a.msg)})}},{key:"render",value:function(){var e=this,t=this.props,a=t.match,n=t.location,c=this.state,i=c.videoList,s=c.activeIndex,r=c.isAuth,o=c.salePrice,l=c.course;return h.a.createElement("div",{className:"play"},h.a.createElement(v.a,{title:this.state.title,arrow:!0}),h.a.createElement(C.f,{isLoading:this.state.isLoading},h.a.createElement("div",{className:"video"},h.a.createElement("video",{className:"video-js",ref:function(t){return e.video=t}},h.a.createElement("source",{src:"/",type:"application/x-mpegURL"})),!r&&!!i[s].is_class&&h.a.createElement("div",{className:"purchase-box"},h.a.createElement("div",{className:"hint"},"\u60a8\u5c1a\u672a\u8d2d\u4e70\u8be5\u8bfe\u65f6\uff0c\u8bf7\u8d2d\u4e70\u540e\u5b66\u4e60\u3002"),h.a.createElement("div",{className:"btns"},h.a.createElement("button",{type:"button",onClick:this.tobuy,className:"purchase-class"},"\xa5",o," \u8d2d\u4e70\u8bfe\u7a0b"),h.a.createElement("button",{type:"button",onClick:this.toSingleset.bind(this,i[s]),className:"purchase-episode"},"\xa5",i.length&&i[s].class_price," \u8d2d\u4e70\u5355\u96c6"))),!r&&!!l.is_aist&&h.a.createElement("div",{className:"is-aist-box"},h.a.createElement("i",{className:"iconfont iconiconfront-21"}),h.a.createElement("p",{className:"time"},i[s].aist_start_time),h.a.createElement("p",{className:"time"},"\u8bf7\u8010\u5fc3\u7b49\u5f85..."))),h.a.createElement("div",{className:"tab"},h.a.createElement("div",null,h.a.createElement(f.c,{to:{pathname:"".concat(a.url,"/video"),search:"?id=".concat(this.courseID)},replace:!0,activeClassName:"active"},"\u89c6\u9891")),h.a.createElement("div",null,h.a.createElement(f.c,{to:{pathname:"".concat(a.url,"/datum"),search:"?id=".concat(this.courseID)},replace:!0,activeClassName:"active"},"\u8d44\u6599"))),h.a.createElement(L.a,{singleBox:this.state.singleBox,boxHide:this.boxHide,data:this.state.singMess,videoId:this.state.singMess.id,title:this.state.singMess.course_tile})),h.a.createElement(y.d,null,h.a.createElement(y.a,{exact:!0,from:"/play",to:{pathname:"/play/video",search:n.search}}),h.a.createElement(y.b,{path:"".concat(a.path,"/video"),render:function(t){return h.a.createElement(w,Object.assign({activeIndex:e.state.activeIndex,selectVideo:e.selectVideo,videoCatalog:i},t))}}),h.a.createElement(y.b,{path:"".concat(a.path,"/datum"),render:function(t){return h.a.createElement(O,Object.assign({},t,{datum:e.state.datum}))}})),h.a.createElement(y.b,{render:function(t){return e.state.vCourseId?h.a.createElement(_,Object.assign({},t,{vCourseId:e.state.vCourseId})):null}}),h.a.createElement(W,{isShow:this.state.isShowShareModal,closeShareModal:function(){return e.setState({isShowShareModal:!1})},data:this.state.shareData}))}}]),t}(p.Component);t.default=Object(E.b)(function(e){return{user:e.user}},null)(M)},647:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(648);t.a=function(e){return c.a.createElement("li",{className:"v-list-base-item",onClick:e.handleClick.bind(void 0,e.id)},c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"cover"},e.status,c.a.createElement("img",{src:e.img,alt:""})),e.info),e.tab)}},648:function(e,t,a){},660:function(e,t,a){"use strict";a(43);var n=a(14),c=a.n(n),i=a(7),s=a(8),r=a(10),o=a(9),l=a(11),d=a(156),u=a(0),m=a.n(u),p=(a(661),a(4)),h=a(18),v=a(51),f=a(17),y=a(20),b=a(157),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).check=function(e){a.setState({payType:e})},a.toBuy=function(){p.c.get("".concat(API.home,"/sys/createClassOrder/").concat(a.props.data.video_id)).then(function(e){200===e.data.code?(a.setState({orderId:e.data.data.order_id}),"1"===a.state.payType?a.alipayPay(e.data.data.order_id):a.weixinPay(e.data.data.order_id)):c.a.info(e.data.msg,2)})},a.weixinPay=function(e){p.a.isWeixin?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb&oid="+e).toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":p.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(t){0===t.data.errno?window.location.href=t.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1&oid="+e).toLowerCase():c.a.info(t.data.msg,2)})},a.alipayPay=function(e){p.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?window.location=e.data.data.url:c.a.info(e.data.msg,2)})},a.onBridgeReady=function(e){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?this.payCallback():alert("\u652f\u4ed8\u5931\u8d25")})},a.isweixinPay=function(){var e=Object(d.a)(Object(d.a)(a)),t=Object(p.b)("code");if(t){if(!Object(p.b)("oid"))return;p.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(p.b)("oid"),"/code/").concat(t)).then(function(t){if(0===t.data.errno){var a=function(){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n.appId,timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.package,signType:n.signType,paySign:n.paySign},function(t){"get_brand_wcpay_request:ok"==t.err_msg?(c.a.info("\u652f\u4ed8\u6210\u529f",2),e.intervalPayStatus=setInterval(function(){var t=this;p.c.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(p.b)("oid"))).then(function(a){c.a.info(a.data.errno,2),401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,p.c.get("".concat(API["base-api"],"/class_order_status/").concat(Object(p.b)("oid"))).then(function(e){c.a.info(e.data.data.errno,2),"200"==e.data.data.errno?t.setState({status:6}):"201"==e.data.data.errno?t.setState({status:4}):"202"==e.data.data.errno?t.setState({status:3}):"203"==e.data.data.errno?t.setState({nowPrice:e.data.data.data.now_price,laterPrice:e.data.data.data.three_day_later_price,status:2}):c.a.info(e.data.data.msg,2)}))})},1e3)):alert("\u652f\u4ed8\u5931\u8d25")})},n=t.data.data;"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",a,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",a),document.attachEvent("onWeixinJSBridgeReady",a)):a()}else c.a.info(t.data.msg,2)})}},a.payCallback=function(){var e=Object(d.a)(Object(d.a)(a));e.intervalPayStatus=setInterval(function(){var t=this;p.c.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(p.b)("oid"))).then(function(a){401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,p.c.get("".concat(API["base-api"],"/sys/orderStatus/").concat(Object(p.b)("oid"))).then(function(e){"200"==e.data.data.errno?t.setState({status:6}):"201"==e.data.data.errno?t.setState({status:4}):"202"==e.data.data.errno?t.setState({status:3}):"203"==e.data.data.errno?t.setState({nowPrice:e.data.data.data.now_price,laterPrice:e.data.data.data.three_day_later_price,status:2}):c.a.info(e.data.data.msg,2)}))})},1e3)},a.toBuyAll=function(){},a.zerobuyReceive=function(){c.a.success("\u8d2d\u4e70\u5168\u96c6\u6210\u529f",3),a.colse()},a.zerogroupBuy=function(){a.getOrderId()},a.getOrderId=function(){var e={course_id:Object(p.b)("id")};p.c.post("".concat(API["base-api"],"/pdd/sys"),e).then(function(e){0===e.data.errno?(a.setState({groupOrderId:e.data.data.order_id}),a.getOrderStatus(e.data.data.order_id)):c.a.info(e.data.msg,2)})},a.getOrderStatus=function(e){p.c.get("".concat(API.home,"/m/pdd/order_status/").concat(e)).then(function(e){200===e.data.code?a.getTime(e.data.data.pdd_order_id):c.a.info(e.data.msg,2)})},a.getTime=function(e){p.c.get("".concat(API.home,"/m/pdd_order_end_time/").concat(e)).then(function(e){200===e.data.code?a.setState({endTime:e.data.data.end_time,status:7}):c.a.info(e.data.msg,2)})},a.toGroup=function(){a.props.history.push("/togroup?id=".concat(a.state.groupOrderId))},a.colse=function(){a.props.boxHide(!1),a.setState({status:1})},a.state={status:1,orderId:"",nowPrice:"",laterPrice:"",hour:"",min:"",sec:"",endTime:"",groupOrderId:"",payType:"0"},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){(1===Object(p.b)("is_class")||Object(p.b)("weixinpay"))&&this.payCallback(),p.a.isWeixin&&this.isweixinPay()}},{key:"render",value:function(){var e=this;if(this.state.endTime){var t=1e3*this.state.endTime,a=Date.now();setInterval(function(){t-=1e3;var n=Object(b.differenceInSeconds)(new Date(t),a)%60,c=Object(b.differenceInMinutes)(new Date(t),a)%60,i=Object(b.differenceInHours)(new Date(t),a)%24;e.setState({hour:i,min:c,sec:n})},1e3)}return m.a.createElement("div",null,this.props.singleBox&&m.a.createElement("div",{className:"popup-box"},1===this.state.status&&m.a.createElement("div",{className:"content singleset-payment"},m.a.createElement("div",{className:"price-box"},m.a.createElement("span",null,"\u5b9e\u4ed8\u6b3e\uff1a"),m.a.createElement("p",null,this.props.data.class_price,"\u5143")),m.a.createElement("div",{className:"course-info"},m.a.createElement("p",{className:"text-overflow-1"},m.a.createElement("span",null,"\u8bfe\u7a0b\uff1a"),this.props.title),m.a.createElement("p",{className:"text-overflow-1"},m.a.createElement("span",null,"\u8bfe\u65f6\uff1a"),this.props.data.name)),m.a.createElement("div",{className:"payment-type"},m.a.createElement("label",null,"\u652f\u4ed8\u65b9\u5f0f\uff1a"),!p.a.isWeixin&&m.a.createElement("p",{onClick:this.check.bind(this,"1")},m.a.createElement("i",{className:"iconfont iconalipay"}),m.a.createElement("span",null,"\u652f\u4ed8\u5b9d"),m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5 redio ".concat("1"===this.state.payType?"redioed":"")})),m.a.createElement("p",{onClick:this.check.bind(this,"0")},m.a.createElement("i",{className:"iconfont iconweixinzhifu buy"}),m.a.createElement("span",null,"\u5fae\u4fe1\u652f\u4ed8"),m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5 redio ".concat("0"===this.state.payType?"redioed":"")}))),m.a.createElement("div",{className:"btn btn-18B4ED",onClick:this.toBuy},"\u786e\u8ba4\u8d2d\u4e70")),2===this.state.status&&m.a.createElement("div",{className:"content payment-success"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement("div",{className:"dec"},"\xb7 3\u5929\u5185\u8d2d\u4e70\u5168\u96c6\uff0c\u53ef\u76f4\u63a5\u62b5\u6263\u8be5\u96c6\u8d39\u7528\uff0c",this.state.nowPrice,"\u5143\u8d2d\u4e70\u3002"),m.a.createElement("div",{className:"dec"},"\xb7 \u8d85\u8fc73\u5929\uff0c\u6309\u7167\u672a\u591f\u96c6\u6570/\u5168\u90e8\u96c6\u6570\u7b49\u6bd4\u4f8b\u8ba1\u8d39\uff0c",this.state.laterPrice,"\u5143\u8d2d\u4e70\u5168\u96c6\u3002"),m.a.createElement(h.b,{to:"/play/video?id=".concat(this.props.vcourseId,"&video_id=").concat(this.props.data.video_id),className:"btn btn-18B4ED"},"\u5f00\u59cb\u5b66\u4e60"),m.a.createElement("div",{className:"btn btn-FF4000",onclick:this.toBuyAll()},"\uffe5",this.state.nowPrice,"\u8d2d\u4e70\u5168\u96c6")),3===this.state.status&&m.a.createElement("div",{className:"content zero"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement("div",{className:"dec"},"\xb7 \u606d\u559c\u60a8\u83b7\u5f970\u5143\u62fc\u56e2\u8d2d\u4e70\u5269\u4f59\u8bfe\u65f6\u7684\u673a\u4f1a\u3002"),m.a.createElement("div",{className:"btn btn-FF4000",onClick:this.zerogroupBuy},"0\u5143\u53c2\u56e2")),4===this.state.status&&m.a.createElement("div",{className:"content zero"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement("div",{className:"dec"},"\xb7 \u606d\u559c\u60a8\u83b7\u5f970\u5143\u8d2d\u4e70\u5269\u4f59\u8bfe\u65f6\u7684\u673a\u4f1a\u3002"),m.a.createElement("div",{className:"btn btn-FF4000",onClick:this.zerobuyReceive},"0\u5143\u8d2d")),6===this.state.status&&m.a.createElement("div",{className:"content zero"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u8d2d\u4e70\u6210\u529f")),m.a.createElement(h.b,{to:"/play/video?id=".concat(this.props.vcourseId,"&video_id=").concat(this.props.data.video_id),className:"btn btn-18B4ED"},"\u53bb\u5b66\u4e60")),7===this.state.status&&m.a.createElement("div",{className:"content group"},m.a.createElement("div",{className:"header"},m.a.createElement("i",{className:"iconfont icondanseshixintubiao-5"}),m.a.createElement("span",null,"\u53c2\u56e2\u6210\u529f")),m.a.createElement("div",{className:"group-img"},m.a.createElement("img",{src:this.props.user.data.avatar,alt:""}),m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/images/weekend/train7/ellipsis.png",alt:""}),m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/images/weekend/train7/ellipsis.png",alt:""})),m.a.createElement("div",{className:"btn-l btn-FF4000",onClick:this.toGroup},"\u5269\u4f59",String(this.state.hour).padStart(2,0),"\uff1a",String(this.state.min).padStart(2,0),"\uff1a",String(this.state.sec).padStart(2,0),"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2")),m.a.createElement("i",{onClick:this.colse,className:"iconfont iconiconfront-2 close"})))}}]),t}(u.Component);t.a=Object(f.d)(Object(y.b)(function(e){return{user:e.user}},null),v.g)(E)},661:function(e,t,a){},786:function(e,t,a){},787:function(e,t,a){},788:function(e,t,a){},792:function(e,t,a){},794:function(e,t){},862:function(e,t){}}]);
//# sourceMappingURL=video.697a686f.chunk.js.map //# sourceMappingURL=video.2ba17ea7.chunk.js.map
\ No newline at end of file \ No newline at end of file
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