!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 i=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,i,a){try{var c=e[i](a),s=c.value}catch(l){return void r(l)}c.done?t(s):Promise.resolve(s).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,s,"next",e)}function s(e){c(i,n,o,a,s,"throw",e)}a(void 0)}))}}var l=document.createElement("style");l.innerHTML='._courseList_1twh5_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_1twh5_8{display:flex;padding:.53333rem}._periodContent_1twh5_8 ._cover_1twh5_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_1twh5_8 ._cover_1twh5_12>img{display:block;width:100%;min-height:3.73333rem;opacity:0;transition:opacity .3s}._periodContent_1twh5_8 ._cover_1twh5_12 .van-image__loading{position:relative;min-height:3.46667rem;animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}._periodContent_1twh5_8 ._cover_1twh5_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_1twh5_8 ._contentTitle_1twh5_48{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;padding-bottom:.21333rem}._periodContent_1twh5_8 ._contentLabel_1twh5_55{font-size:.32rem;font-weight:400;color:#606060;line-height:.53333rem}._periodTitle_1twh5_61{display:flex;align-items:center;padding:.53333rem .53333rem 0}._periodTitle_1twh5_61 ._pIcon_1twh5_66{width:.53333rem;height:.53333rem;margin-right:.16rem}._periodTitle_1twh5_61 ._pTitle_1twh5_71{font-size:.42667rem;font-weight:600;color:#7c3d12;margin-right:.21333rem}._periodTitle_1twh5_61 ._pNum_1twh5_77{font-size:.32rem;font-weight:400;color:#838383}._periodList_1twh5_82 .van-cell-group--inset{margin:0}._periodList_1twh5_82 .van-cell-group,._periodList_1twh5_82 .van-cell{background:transparent}._periodList_1twh5_82 .van-cell{padding:.48rem .53333rem}._periodList_1twh5_82 .van-cell:after{left:.53333rem;right:.53333rem;border-color:#f2f2f2;transform:none}._periodList_1twh5_82 .van-cell .van-cell__title{padding-right:.21333rem}._periodList_1twh5_82 .van-cell .van-cell__title span{font-size:.4rem;font-weight:600;color:#333;line-height:.56rem;word-break:break-all}._periodList_1twh5_82 .van-cell .van-cell__title .van-cell__label{font-size:.32rem;font-weight:400;color:#aaa;line-height:.45333rem;margin:0}._periodList_1twh5_82 .van-cell .van-cell__value{flex:inherit;flex-shrink:0}._periodList_1twh5_82 ._baseBtn_1twh5_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_1twh5_82 ._baseBtn_1twh5_119 .van-button__text{white-space:nowrap}._periodList_1twh5_82 ._baseBtn_1twh5_119._look_1twh5_133{background:linear-gradient(180deg,#FFAB71 0%,#FF6E45 100%)}._periodList_1twh5_82 ._baseBtn_1twh5_119._down_1twh5_136{background:linear-gradient(180deg,#80C6FF 0%,#4296FF 100%)}._periodList_1twh5_82 ._baseBtn_1twh5_119._disable_1twh5_139{opacity:1;background:linear-gradient(180deg,#D3D3D3 0%,#8F8F8F 100%)}._periodItem_1twh5_143{width:.96rem;height:1.06667rem;margin-right:.21333rem;flex-shrink:0}._periodItem_1twh5_143 img{width:100%;height:100%;display:block}._courseDialog_1twh5_154 ._iconCross_1twh5_154{position:absolute;top:.26667rem;right:.26667rem;font-size:.58667rem;color:#ccc;z-index:99}._periodItemModel_1twh5_162{position:relative}._periodItemModel_1twh5_162 ._periodTip_1twh5_165{position:absolute;left:-.18667rem;top:0;max-height:.4rem;display:block;-o-object-fit:contain;object-fit:contain}\n',document.head.appendChild(l),System.register(["./index-legacy.90c82f08.js","./useFee-legacy.c571cc3c.js","./icon-list-legacy.9f593695.js","./index-legacy.c6e5fda1.js","./index-legacy.55839436.js","./index-legacy.f3e5e283.js"],(function(t){"use strict";var n,i,c,l,u,d,p,h,f,m,w,g,_,b,y,A,v,T,L,j,C,O,S,k,x,D,I,U,P;return{setters:[function(e){n=e.d,i=e.ah,c=e.ag,l=e.f,u=e.r,d=e.$,p=e.bG,h=e.b3,f=e.bI,m=e.a0,w=e.c,g=e.aj,_=e.q,b=e.bF,y=e.F,A=e.g,v=e.B,T=e.ak,L=e.a$,j=e.a5,C=e.al,O=e.m,S=e.b9,k=e.e},function(e){x=e.h},function(e){D=e.i},function(e){I=e.O},function(e){U=e.C},function(e){P=e.C}],execute:function(){var H={courseList:"_courseList_1twh5_1",periodContent:"_periodContent_1twh5_8",cover:"_cover_1twh5_12",contentTitle:"_contentTitle_1twh5_48",contentLabel:"_contentLabel_1twh5_55",periodTitle:"_periodTitle_1twh5_61",pIcon:"_pIcon_1twh5_66",pTitle:"_pTitle_1twh5_71",pNum:"_pNum_1twh5_77",periodList:"_periodList_1twh5_82",baseBtn:"_baseBtn_1twh5_119",look:"_look_1twh5_133",down:"_down_1twh5_136",disable:"_disable_1twh5_139",periodItem:"_periodItem_1twh5_143",courseDialog:"_courseDialog_1twh5_154",iconCross:"_iconCross_1twh5_154",periodItemModel:"_periodItemModel_1twh5_162",periodTip:"_periodTip_1twh5_165"};t("default",n({name:"courseList",setup:function(){var t=i();c();var n=l(),F=u({titleOpacity:0,catchStatus:!1,catchItem:{},loading:!0,detail:{cover:"",name:"",des:""},list:[]}),E=function(){var e=s(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.get("".concat(A.platformApi,"/lessonCourseware/detail/").concat(t.query.id));case 2:null!=(r=e.sent)&&r.data&&(F.detail.cover=r.data.coverImg,F.detail.name=r.data.name,F.detail.des=r.data.lessonTargetDesc);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(){var i=s(regeneratorRuntime.mark((function i(){var c,s,l;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(F.loading=!0,!t.query.courseScheduleId){i.next=13;break}return i.prev=2,i.next=5,O.post(A.platformApi+"/courseSchedule/getCoursewareDetail",{params:{courseScheduleId:t.query.courseScheduleId,coursewareId:t.query.id}});case 5:c=i.sent,Array.isArray(null==c?void 0:c.data)&&(F.list=c.data),i.next=11;break;case 9:i.prev=9,i.t0=i.catch(2);case 11:i.next=27;break;case 13:return i.prev=13,i.next=16,O.post(A.platformApi+"/courseSchedule/myCoursewareDetail/"+t.query.id);case 16:if(s=i.sent,!Array.isArray(null==s?void 0:s.data)){i.next=23;break}return s.data.forEach((function(t){var r=t.knowledgePointList;a(t,e);(r||[]).forEach((function(e){e.materialList=[].concat(o(e.materialList||[]),o(B(e.children||[]))),e.children=null}))})),i.next=21,X(s.data);case 21:l=i.sent,F.list=n.isApp?s.data.map((function(e){var t=l.find((function(t){return t.lessonCoursewareDetailId==e.lessonCoursewareDetailId})),n=r({},e);return t&&(n.hasCache=t.hasCache),n})):s.data;case 23:i.next=27;break;case 25:i.prev=25,i.t1=i.catch(13);case 27:F.loading=!1;case 28:case"end":return i.stop()}}),i,null,[[2,9],[13,25]])})));return function(){return i.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(){E(),z(),p("downloadCoursewareToCache",q)})),h((function(){f("downloadCoursewareToCache",q)}));var V=function(){var e=s(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 S({message:"该课件暂无知识点"}),e.abrupt("return");case 3:if("select"!==t.query.code){e.next=7;break}return console.log("选择课时"),M(r),e.abrupt("return");case 7:if(r.hasCache){e.next=21;break}if("0"===String(r.accessScope)){e.next=13;break}if(x()){e.next=13;break}return e.abrupt("return");case 13:if(1!=r.downloadStatus){e.next=15;break}return e.abrupt("return");case 15:if(3!=r.downloadStatus){e.next=18;break}return Q(r),e.abrupt("return");case 18:return F.catchStatus=!0,F.catchItem=r,e.abrupt("return");case 21:R(r);case 22: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 l().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=s(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,i=r.progress,a=F.list.find((function(e){return e.lessonCoursewareDetailId==n}));a&&(a.downloadStatus=o,a.progress=i,2==o&&(a.hasCache=1,a.progress=100))}},M=function(){var e=s(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,O.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;F.titleOpacity=t>100?1:t/100})),function(){var e;return w("div",{class:H.courseList},[w(g,{border:!1,background:"rgba(255,255,255, ".concat(F.titleOpacity,")"),color:"rgba(124, 61, 18, 1)",title:"教材详情"},null),w("div",{class:H.periodContent},[w("div",{class:H.cover},[w("img",{src:F.detail.cover,onLoad:function(e){e.target&&(e.target.style.opacity=1)}},null)]),w("div",null,[w("div",{class:H.contentTitle},[F.detail.name]),w("div",{class:H.contentLabel},[_("教学目标:"),F.detail.des])])]),w(b,{name:"van-fade"},{default:function(){return[!F.loading&&w(y,null,[w("div",{key:"periodTitle",class:H.periodTitle},[w("img",{class:H.pIcon,src:D},null),w("div",{class:H.pTitle},[_("课程列表")]),w("div",{class:H.pNum},[_("共"),F.list.length,_("课")])]),w("div",{key:"list",class:H.periodList},[w(U,{inset:!0},(r=e=F.list.map((function(e){var r=e.lockFlag||("select"==t.query.code||"STUDENT"==A.platformType)&&!e.unlock,o="select"===t.query.code;return w(P,{border:!0,center:!0,title:e.coursewareDetailName,label:n.isStudent?"":"已使用".concat(e.useNum||0,"次"),onClick:function(){return!r&&V(e)}},{icon:function(){return w("div",{class:H.periodItem},[w("div",{class:H.periodItemModel},[w("img",{src:r?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABQCAMAAACNtsODAAABfVBMVEUAAAC4ppC0oozPup/YvaW6ppG2pY+5p5K/q5W5pZC7qJPCsJfHtZ3bwqrmzLO4noC6n4G2nX+5oIC/pIS5n3+7ooLCp4fHrYrbwpLmzJmyoIuymXv///+jPBKycTyybjqyZDeyej+yajmynoiyfUCyeD6yYTayXDOygEGydT2ysrKydz6yaDiyXjWyWjKyYzayVzKyczyvjnWybDmyZjeyoY2yVTGyYDWyUzD69vOyg0KlQRfQoIaynYSyr63QpojQo4elQxjQxrmymoGlQBXm0MDbvaTbt6HQqYuykHT29PGyqZ+ymH+yhmS9ilqyhEOyUS/8+/nn1MSyrKWypJWylH2yknrJnHaykW2ye1y9f1ayiVKvc0/27umylnWxgGSyjmLBi2Kyilmybk+yfky0e0SybkTmyr3Hu6uyp5qyi3Cyh2uydFa9dFGqa0u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UGUyVRpozFTqfRxwzoTsdn58aGJ9dgRA01Mf3yIESuirGoTQ18tVq+DA5BjaDFOl9XtEcbQfwHGW9g4LDWccAAAAABJRU5ErkJggg=="},null),!r&&"0"===String(e.accessScope)&&w("img",{class:H.periodTip,src:"./assets/iconTip.b920d616.png"},null)])])},value:function(){return w(y,null,[o?w(v,{disabled:r,class:[H.baseBtn,r?H.disable:H.look]},{default:function(){return[_("选择")]}}):e.knowledgePointList?w(y,null,[e.hasCache?w(v,{disabled:r,class:[H.baseBtn,r?H.disable:H.look]},{default:function(){return[_("查看")]}}):w(v,{disabled:r,class:[H.baseBtn,r?H.disable:H.down,e.downloadStatus?H.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}}),F.loading&&w(I,null,null),!F.loading&&!F.list.length&&w(T,{tips:"暂无内容"},null),w(L,{show:F.catchStatus,"onUpdate:show":function(e){return F.catchStatus=e},showCancelButton:!0,message:"当前课程没有缓存,是否缓存?",closeOnClickOverlay:!0,class:H.courseDialog,onConfirm:function(){Q(F.catchItem)},onCancel:function(){R(F.catchItem)}},{title:function(){return w(j,{name:"cross",class:H.iconCross,onClick:function(){return F.catchStatus=!1}},null)}})])}}}))}}}))}();