!function(){var e=["knowledgePointList"];function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function c(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){c(a,n,o,i,l,"next",e)}function l(e){c(a,n,o,i,l,"throw",e)}i(void 0)}))}}var s=document.createElement("style");s.innerHTML='._courseList_10zvf_1{min-height:100vh;background-color:#fff;background-image:linear-gradient(180deg,#FFE8CE 0%,rgba(251,233,213,0) 5.28rem);padding:.26667rem 0;box-sizing:border-box}._periodContent_10zvf_8{display:flex;padding:.53333rem}._periodContent_10zvf_8 ._cover_10zvf_12{position:relative;width:2.85333rem;min-height:3.46667rem;margin-right:.8rem;border-radius:.10667rem .21333rem .21333rem .10667rem;box-shadow:0 .05333rem .16rem rgba(221,168,133,.67);overflow:hidden;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAMAAAAPdrEwAAABOFBMVEUAAAC0tLTT09PU1NTt7e3////T09P////T09P////T09P////X19f////U1NTU1NTT09PT09PU1NTU1NTV1dXT09PU1NTU1NTV1dXZ2dn+/v7R0dH////////KysrIyMjT09O0tLTU1NS0tLTU1NS0tLTT09PT09PT09PU1NTU1NTU1NTT09O2trbU1NTV1dXV1dXW1tbV1dXW1tbV1dXJycm4uLj///+0tLT///+0tLT////p6em0tLT4+Pj///+2trb///+1tbX///+0tLT////T09P5+fn+/v63t7e8v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9uHJbZqPhk7jTjrTI4ezO+EkY8wUBW4Y6tgCSPvNxtDLnOzOhEw2HAvt7Hj2oZ28/EApHyRtpvjwPBY/8B5Ot9O1u2b2eTds6x8nr4tZtmx6vfWvXN9nCA/9RMHR+aZ5sohEji+YfnN0/51L6d+cAAAAASUVORK5CYII=);background-repeat:no-repeat;background-position:center;background-size:50%;flex-shrink:0}._periodContent_10zvf_8 ._cover_10zvf_12>img{display:block;width:100%;min-height:3.73333rem;opacity:0;transition:opacity .3s}._periodContent_10zvf_8 ._cover_10zvf_12 .van-image__loading{position:relative;min-height:3.46667rem;animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}._periodContent_10zvf_8 ._cover_10zvf_12:before{content:"";position:absolute;left:.13333rem;width:.13333rem;height:100%;background:linear-gradient(270deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.03) 100%);box-shadow:0 .05333rem .16rem rgba(0,0,0,.2);z-index:1}._periodContent_10zvf_8 ._contentTitle_10zvf_48{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;padding-bottom:.21333rem}._periodContent_10zvf_8 ._contentLabel_10zvf_55{font-size:.32rem;font-weight:400;color:#606060;line-height:.53333rem}._periodTitle_10zvf_61{display:flex;align-items:center;padding:.53333rem .53333rem 0}._periodTitle_10zvf_61 ._pIcon_10zvf_66{width:.53333rem;height:.53333rem;margin-right:.16rem}._periodTitle_10zvf_61 ._pTitle_10zvf_71{font-size:.42667rem;font-weight:600;color:#7c3d12;margin-right:.21333rem}._periodTitle_10zvf_61 ._pNum_10zvf_77{font-size:.32rem;font-weight:400;color:#838383}._periodList_10zvf_82 .van-cell-group--inset{margin:0}._periodList_10zvf_82 .van-cell-group,._periodList_10zvf_82 .van-cell{background:transparent}._periodList_10zvf_82 .van-cell{padding:.48rem .53333rem}._periodList_10zvf_82 .van-cell:after{left:.53333rem;right:.53333rem;border-color:#f2f2f2;transform:none}._periodList_10zvf_82 .van-cell .van-cell__title{padding-right:.21333rem}._periodList_10zvf_82 .van-cell .van-cell__title span{font-size:.4rem;font-weight:600;color:#333;line-height:.56rem;word-break:break-all}._periodList_10zvf_82 .van-cell .van-cell__title .van-cell__label{font-size:.32rem;font-weight:400;color:#aaa;line-height:.45333rem;margin:0}._periodList_10zvf_82 .van-cell .van-cell__value{flex:inherit;flex-shrink:0}._periodList_10zvf_82 ._baseBtn_10zvf_119{width:1.94667rem;height:.69333rem;line-height:1;color:#fff;font-size:.34667rem;font-weight:500;border:0;border-radius:.34667rem;flex-shrink:0}._periodList_10zvf_82 ._baseBtn_10zvf_119 .van-button__text{white-space:nowrap}._periodList_10zvf_82 ._baseBtn_10zvf_119._look_10zvf_133{background:linear-gradient(180deg,#FFAB71 0%,#FF6E45 100%)}._periodList_10zvf_82 ._baseBtn_10zvf_119._down_10zvf_136{background:linear-gradient(180deg,#80C6FF 0%,#4296FF 100%)}._periodList_10zvf_82 ._baseBtn_10zvf_119._disable_10zvf_139{opacity:1;background:linear-gradient(180deg,#D3D3D3 0%,#8F8F8F 100%)}._periodItem_10zvf_143{width:.96rem;height:1.06667rem;margin-right:.21333rem;flex-shrink:0}._periodItem_10zvf_143 img{width:100%;height:100%;display:block}._courseDialog_10zvf_154 ._iconCross_10zvf_154{position:absolute;top:.26667rem;right:.26667rem;font-size:.58667rem;color:#ccc;z-index:99}\n',document.head.appendChild(s),System.register(["./index-legacy.47bc1690.js","./useFee-legacy.0dcbcb40.js","./icon-list-legacy.9f593695.js","./index-legacy.b364d9e6.js","./index-legacy.bab9fe30.js","./index-legacy.92a01198.js"],(function(t){"use strict";var n,a,c,s,u,d,f,p,v,m,g,h,b,y,_,A,w,z,T,L,C,j,O,k,S,x,D,U,I;return{setters:[function(e){n=e.d,a=e.ah,c=e.ag,s=e.f,u=e.r,d=e.$,f=e.bG,p=e.b3,v=e.bI,m=e.a0,g=e.c,h=e.aj,b=e.q,y=e.bF,_=e.F,A=e.g,w=e.B,z=e.ak,T=e.a$,L=e.a5,C=e.al,j=e.m,O=e.b9,k=e.e},function(e){S=e.h},function(e){x=e.i},function(e){D=e.O},function(e){U=e.C},function(e){I=e.C}],execute:function(){var P={courseList:"_courseList_10zvf_1",periodContent:"_periodContent_10zvf_8",cover:"_cover_10zvf_12",contentTitle:"_contentTitle_10zvf_48",contentLabel:"_contentLabel_10zvf_55",periodTitle:"_periodTitle_10zvf_61",pIcon:"_pIcon_10zvf_66",pTitle:"_pTitle_10zvf_71",pNum:"_pNum_10zvf_77",periodList:"_periodList_10zvf_82",baseBtn:"_baseBtn_10zvf_119",look:"_look_10zvf_133",down:"_down_10zvf_136",disable:"_disable_10zvf_139",periodItem:"_periodItem_10zvf_143",courseDialog:"_courseDialog_10zvf_154",iconCross:"_iconCross_10zvf_154"};t("default",n({name:"courseList",setup:function(){var t=a();c();var n=s(),H=u({titleOpacity:0,catchStatus:!1,catchItem:{},loading:!0,detail:{cover:"",name:"",des:""},list:[]}),F=function(){var e=l(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.get("".concat(A.platformApi,"/lessonCourseware/detail/").concat(t.query.id));case 2:null!=(r=e.sent)&&r.data&&(H.detail.cover=r.data.coverImg,H.detail.name=r.data.name,H.detail.des=r.data.lessonTargetDesc);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){var a=l(regeneratorRuntime.mark((function a(){var c,l,s;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(H.loading=!0,!t.query.courseScheduleId){a.next=13;break}return a.prev=2,a.next=5,j.post(A.platformApi+"/courseSchedule/getCoursewareDetail",{params:{courseScheduleId:t.query.courseScheduleId,coursewareId:t.query.id}});case 5:c=a.sent,Array.isArray(null==c?void 0:c.data)&&(H.list=c.data),a.next=11;break;case 9:a.prev=9,a.t0=a.catch(2);case 11:a.next=27;break;case 13:return a.prev=13,a.next=16,j.post(A.platformApi+"/courseSchedule/myCoursewareDetail/"+t.query.id);case 16:if(l=a.sent,!Array.isArray(null==l?void 0:l.data)){a.next=23;break}return l.data.forEach((function(t){var r=t.knowledgePointList;i(t,e);(r||[]).forEach((function(e){e.materialList=[].concat(o(e.materialList||[]),o(B(e.children||[]))),e.children=null}))})),a.next=21,X(l.data);case 21:s=a.sent,H.list=n.isApp?l.data.map((function(e){var t=s.find((function(t){return t.lessonCoursewareDetailId==e.lessonCoursewareDetailId})),n=r({},e);return t&&(n.hasCache=t.hasCache),n})):l.data;case 23:a.next=27;break;case 25:a.prev=25,a.t1=a.catch(13);case 27:H.loading=!1;case 28:case"end":return a.stop()}}),a,null,[[2,9],[13,25]])})));return function(){return a.apply(this,arguments)}}(),B=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return t.forEach((function(t){t.materialList&&t.materialList.length>0&&r.push.apply(r,o(t.materialList||[])),t.children&&t.children.length>0&&r.push.apply(r,o(e(t.children||[])))})),r};d((function(){F(),E(),f("downloadCoursewareToCache",q)})),p((function(){v("downloadCoursewareToCache",q)}));var V=function(){var e=l(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.knowledgePointList){e.next=3;break}return O({message:"该课件暂无知识点"}),e.abrupt("return");case 3:if("select"!==t.query.code){e.next=7;break}return console.log("选择课时"),W(r),e.abrupt("return");case 7:if(r.hasCache){e.next=19;break}if(S()){e.next=11;break}return e.abrupt("return");case 11:if(1!=r.downloadStatus){e.next=13;break}return e.abrupt("return");case 13:if(3!=r.downloadStatus){e.next=16;break}return Q(r),e.abrupt("return");case 16:return H.catchStatus=!0,H.catchItem=r,e.abrupt("return");case 19:R(r);case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(e){k({api:"openWebView",content:{url:"".concat(location.origin).concat(location.pathname,"#/coursewarePlay?id=").concat(e.lessonCoursewareDetailId,"&source=my-course"),orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,showLoadingAnim:!0}})},X=function(e){return s().isApp?new Promise((function(t){k({api:"checkCoursewareCache",content:{data:e}},(function(e){var r;if(null==e||null===(r=e.content)||void 0===r||!r.data)return[];t(e.content.data)}))})):Promise.resolve(e)},Q=function(){var e=l(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.isApp){e.next=5;break}return e.next=3,k({api:"downloadCoursewareToCache",content:{data:t}});case 3:return r=e.sent,e.abrupt("return",r);case 5:return e.abrupt("return",!0);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=function(e){var t;if(null!=e&&null!==(t=e.content)&&void 0!==t&&t.lessonCoursewareDetailId){var r=e.content,n=r.lessonCoursewareDetailId,o=r.downloadStatus,a=r.progress,i=H.list.find((function(e){return e.lessonCoursewareDetailId==n}));i&&(i.downloadStatus=o,i.progress=a,2==o&&(i.hasCache=1,i.progress=100))}},W=function(){var e=l(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,j.post(A.platformApi+"/courseSchedule/setCoursewareDetail",{params:{courseScheduleId:t.query.courseScheduleId,coursewareDetailId:r.lessonCoursewareDetailId}});case 3:200===e.sent.code&&k({api:"back"}),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return m("scroll",(function(e){var t=window.scrollY||window.pageYOffset||document.documentElement.scrollTop;H.titleOpacity=t>100?1:t/100})),function(){var e;return g("div",{class:P.courseList},[g(h,{border:!1,background:"rgba(255,255,255, ".concat(H.titleOpacity,")"),color:"rgba(124, 61, 18, 1)",title:"教材详情"},null),g("div",{class:P.periodContent},[g("div",{class:P.cover},[g("img",{src:H.detail.cover,onLoad:function(e){e.target&&(e.target.style.opacity=1)}},null)]),g("div",null,[g("div",{class:P.contentTitle},[H.detail.name]),g("div",{class:P.contentLabel},[b("教学目标:"),H.detail.des])])]),g(y,{name:"van-fade"},{default:function(){return[!H.loading&&g(_,null,[g("div",{key:"periodTitle",class:P.periodTitle},[g("img",{class:P.pIcon,src:x},null),g("div",{class:P.pTitle},[b("课程列表")]),g("div",{class:P.pNum},[b("共"),H.list.length,b("课")])]),g("div",{key:"list",class:P.periodList},[g(U,{inset:!0},(r=e=H.list.map((function(e){var r=e.lockFlag||("select"==t.query.code||"STUDENT"==A.platformType)&&!e.unlock,o="select"===t.query.code;return g(I,{border:!0,center:!0,title:e.coursewareDetailName,label:n.isStudent?"":"已使用".concat(e.useNum||0,"次"),onClick:function(){return!r&&V(e)}},{icon:function(){return g("div",{class:P.periodItem},[g("div",{class:P.periodItemModel},[g("img",{src:r?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABQCAMAAACNtsODAAABfVBMVEUAAAC4ppC0oozPup/YvaW6ppG2pY+5p5K/q5W5pZC7qJPCsJfHtZ3bwqrmzLO4noC6n4G2nX+5oIC/pIS5n3+7ooLCp4fHrYrbwpLmzJmyoIuymXv///+jPBKycTyybjqyZDeyej+yajmynoiyfUCyeD6yYTayXDOygEGydT2ysrKydz6yaDiyXjWyWjKyYzayVzKyczyvjnWybDmyZjeyoY2yVTGyYDWyUzD69vOyg0KlQRfQoIaynYSyr63QpojQo4elQxjQxrmymoGlQBXm0MDbvaTbt6HQqYuykHT29PGyqZ+ymH+yhmS9ilqyhEOyUS/8+/nn1MSyrKWypJWylH2yknrJnHaykW2ye1y9f1ayiVKvc0/27umylnWxgGSyjmLBi2Kyilmybk+yfky0e0SybkTmyr3Hu6uyp5qyi3Cyh2uydFa9dFGqa0uyhkmybT/t39Lt3tHQwbHHtqXBmnbHkXC9g1iycEayZkGpWzenVzOmVDCmUy2kRh7zn8pAAAAAGnRSTlMA6vI1J+Dd27e1eHFgFQrq4N3bt7V4cWAVCv6+ZUYAAAPBSURBVFjDpdj3UxpBFMDxA3tPL+sKygViDjESIeQSURMiijWW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xSZAKi4cQQ7UdFNfmJgaXJBbXILYInyVJWk0JTXIRoxJQ88Nq7lmcxGDm9yUudRaCT3At3fj6zcqKrFIH+7OF/AeSU8r/HR6enH7O7ezsfmtu7olEIqG+nSApjQ6UOjnd2vo6NzE+3t3dPTI11TU93dnZMTamOKFQKBxO46CtubkJSN4ZGZnq6sozHR2q0xcO9y6goCA4wBQ5wBScFixEl8M7bDnMwUKC0yk4wIAz+GV7ezuLgKij2x5wBgfj7/1+/2+5LKTTnkihPeBEo3nI/7g8BAzddbEs6sSj0ehzHFTaHnU5zHmKhPjdEhxg4nFwYlhI3HXeieaZ2AASAoZ3gCmshzqtSAgcYASnV3DQ0LTS5ua8k8tFWJuBUZ0AEuLKWiFkIceVRR0sxLVHJpDsLl8WOA+RENeeIP3Lx0zBCYCDhoBhbQZIiby+xzmPkFB+OT30zgCIJb07AA4w4LQhIe1j5iCyFgOGOlhIc3o5KBijZYHT/gwHcYdLg4JnqtPejoW4Q1GAljOsLHASCSTEXYUMWjwP8M4QEqLtyR+KuEwgqTO2623MaUJC3FnPKp8Q23VoD3WwEHdnZI6OMoWvp40xTU+wUItwZwRKHCwk3hmU4R00xK7mmOqwNidUJ5lEQuKdwS+HOTNISHPEXVeZ/n4kxLWHHQrBmekfxULAiOtJCOvBQ8AMFLVHcZLMUaA/6bLQP74ezZn8efXr6hMpD9Hl6Duj4Ewu4n5oae1R2jwktAcYLET2hLJKnZcvkNByplVv14FhDhaCyKmFV8tv360fb5xvXlxefm9K8s4PWQ/Cvh4+5OXjjY3Ni80s0YOc5EbipM8s83HRh5/5WOlT1Hzc9HFsPh76XDefCsvNNMlKRxrm46VDFtOxOejYx3Sq1UGUyVRpozFTqfRxwzoTsdn58aGJ9dgRA01Mf3yIESuirGoTQ18tVq+DA5BjaDFOl9XtEcbQfwHGW9g4LDWccAAAAABJRU5ErkJggg=="},null)])])},value:function(){return g(_,null,[o?g(w,{disabled:r,class:[P.baseBtn,r?P.disable:P.look]},{default:function(){return[b("选择")]}}):e.knowledgePointList?g(_,null,[e.hasCache?g(w,{disabled:r,class:[P.baseBtn,r?P.disable:P.look]},{default:function(){return[b("查看")]}}):g(w,{disabled:r,class:[P.baseBtn,r?P.disable:P.down,e.downloadStatus?P.downing:""]},{default:function(){return[1===e.downloadStatus?"".concat(e.progress||0,"%"):2===e.downloadStatus?"成功":3===e.downloadStatus?"重试":"下载"]}})]):""])}})})),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!C(r)?e:{default:function(){return[e]}}))])])];var r}}),H.loading&&g(D,null,null),!H.loading&&!H.list.length&&g(z,{tips:"暂无内容"},null),g(T,{show:H.catchStatus,"onUpdate:show":function(e){return H.catchStatus=e},showCancelButton:!0,message:"当前课程没有缓存,是否缓存?",closeOnClickOverlay:!0,class:P.courseDialog,onConfirm:function(){Q(H.catchItem)},onCancel:function(){R(H.catchItem)}},{title:function(){return g(L,{name:"cross",class:P.iconCross,onClick:function(){return H.catchStatus=!1}},null)}})])}}}))}}}))}();