1"use strict";(self.webpackChunkrainweb=self.webpackChunkrainweb||[]).push([["22276"],{56316:function(t,e,n){n.r(e),n.d(e,{default:function(){return r}}),n(6966);var r=(0,n(81049).Z)({name:"errorPage",data:function(){return{}},props:{},components:{},computed:{},filters:{},methods:{}},function(){var t=this._self._c;return t("div",{staticClass:"Errorpage-view"},[t("div",{staticClass:"content"},[t("img",{attrs:{src:"https://qn-sfe.yuketang.cn/o_1cmrpffkeq51bteo4m1p7a1epp9.png",alt:""}}),this._v(" "),t("p",[this._v(this._s(this.$t("pc.common.pageError")))])])])},[],!1,null,"3e00d51b",null).exports},83513:function(t,e,n){n.r(e),n.d(e,{default:function(){return m}}),n(13794),n(87481),n(63649),n(86067),n(42463),n(13054),n(88761),n(60668),n(35286),n(20573),n(16446);var r=n(18108),s=n(31242),a=n(20815),i=n(56316),o=n(27541),l=n(86369);n(35350);var c=n(81049),u=(0,c.Z)({name:"watchPlayStatusText",data:function(){return{}},props:{liveStreamWatched:Boolean,playbackWatched:Boolean,signInStatus:Number,showDetail:Boolean},components:{},computed:{signInText:function(){return this.signInStatus?this.$t("pc.studentLog.signedIn"):this.$t("pc.studentLog.absence")},liveText:function(){return this.liveStreamWatched?this.$t("pc.studentLog.liveViewed"):this.$t("pc.studentLog.liveNotViewed")},replayText:function(){return this.playbackWatched?this.$t("pc.studentLog.replayViewed"):this.$t("pc.studentLog.replayNotViewed")}},methods:{getLiveReplayStyleClass:function(t,e){return t&&e?{live:"color-blue",replay:"color-blue"}:t&&!e?{live:"color-blue",replay:"color-default"}:!t&&e?{live:"color-default",replay:"color-blue"}:{live:"color-red",replay:"color-red"}}}},function(){var t=this._self._c;return t("div",{staticClass:"color-default box-center"},[t("span",{staticClass:"box-center sign-status",class:this.signInStatus?"color-blue":"color-red"},[t("i",{staticClass:"iconfont",class:this.signInStatus?"icon-qiandaoordaokeshuai":"icon-qiandao-queqin1"}),this._v("\n "+this._s(this.signInText)+"\n ")]),this._v(" "),this.showDetail?t("span",{staticClass:"sep-line"}):this._e(),this._v(" "),this.showDetail?[t("span",{staticClass:"watch-status-text",class:this.getLiveReplayStyleClass(this.liveStreamWatched,this.playbackWatched).live},[this._v(this._s(this.liveText))]),this._v(" "),t("span",{staticStyle:{margin:"0 4px"}},[this._v("/")]),this._v(" "),t("span",{staticClass:"watch-status-text",class:this.getLiveReplayStyleClass(this.liveStreamWatched,this.playbackWatched).replay},[this._v(this._s(this.replayText))])]:this._e()],2)},[],!1,null,"4fb709a2",null).exports;function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e,n,r,s,a,i){try{var o=t[a](i),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(r,s)}function d(t){return function(){var e=this,n=arguments;return new Promise(function(r,s){var a=t.apply(e,n);function i(t){h(a,r,s,i,o,"next",t)}function o(t){h(a,r,s,i,o,"throw",t)}i(void 0)})}}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}function v(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n.push.apply(n,r)}return n}
1)(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,r,s=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=s){var a=[],i=!0,o=!1;try{for(s=s.call(t);!(i=(n=s.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){var n,r,s,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=o(0),i.throw=o(1),i.return=o(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(s=2&c[0]?r.return:c[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,c[1])).done)return s;switch(r=0,s&&(c=[2&c[0],s.value]),c[0]){case 0:case 1:s=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(s=(s=a.trys).length>0&&s[s.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!s||c[1]>s[0]&&c[1]<s[3])){a.label=c[1];break}if(6===c[0]&&a.label<s[1]){a.label=s[1],s=c;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(c);break}s[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],r=0}finally{n=s=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var m=(0,c.Z)({__name:"student",setup:function(t){var e=(0,s.yj)(),n=(0,s.tv)(),c=e.params,f=c.lessonid,h=c.classroomid,m=c.activityid,g=e.query.hide_return,_=(0,r.ref)(!1),w=(0,r.ref)(!1),C=(0,r.ref)(!1),S=(0,r.ref)(""),O=(0,r.ref)(null),x=(0,r.ref)({}),k=(0,r.ref)(null);function I(){return d(function(){var t,e,n,r,s,a,i,c,u,h,d;return b(this,function(b){switch(b.label){case 0:return b.trys.push([0,3,,4]),[4,l.Z.get("/api/v3/classroom-report/student/lesson-info",{lesson_id:f})];case 1:if(!(s=null==(r=b.sent())||null==(t=r.data)?void 0:t.identityId))return[2];return a={lesson_id:f,user_id:s},[4,Promise.all([o.Z.get("/v/lesson/get_live_and_replay_finish_detail",v(p({},a),{review:!1})),o.Z.get("/v/lesson/get_live_and_replay_finish_detail",v(p({},a),{review:!0}))])];case 2:if(c=(i=y.apply(void 0,[b.sent(),2]))[0],u=i[1],h=(null==c||null==(e=c.data)?void 0:e.live_and_replay_detail)||[],d=(null==u||null==(n=u.data)?void 0:n.live_and_replay_detail)||[],!(null==c?void 0:c.success)||!(null==u?void 0:u.success)||!h.length||!d.length)return[2];return k.value={finishLive:h.every(function(t){return 1===t.completed}),finishReplay:d.every(function(t){return 1===t.completed})},[3,4];case 3:return console.error("fetchBigClassWatchStatus:",b.sent()),[3,4];case 4:return[2]}})})()}function j(){return d(function(){var t,e;return b(this,function(n){switch(n.label){case 0:t="/api/v3/classroom-report/lesson/basic-info",e={lesson_id:f},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,l.Z.get(t,e)];case 2:return[2,n.sent().data];case 3:return console.error("fetchLessonBasic:",n.sent()),[2,{oldVersion:!0}];case 4:return[2]}})})()}return(0,r.onMounted)(function(){return d(function(){var t,e,r,s,a,i,o;return b(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,3,4]),[4,j()];case 1:if(e=(t=l.sent()).lessonName,r=t.start,s=t.oldVersion,a=t.classroomId,i=t.activityId,x.value=o=function(t,e){if(null==t)return{};var n,r,s=function(t,e){if(null==t)return{};var n,r,s={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(s[n]=t[n]);return s}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}(t,["lessonName","start","oldVersion","classroomId","activityId"]),o.showPlayback||I(),s)return n.replace({name:"student-container-v3",params:{classroomid:a||h,lessonid:f,activityid:i||m}}),[2];return O.value={lessonName:e,start:r},S.value="/m/v2/lesson/student/".concat(f),[3,4];case 2:return console.error("è¯¾å æ¥ååå§åæ¥é",l.sent()),w.value=!0,[3,4];case 3:return _.value=!0,[7];case 4:return[2]}})})()}),{__sfc:!0,route:e,router:n,lessonId:f,_classroomId:h,_activityId:m,hideReturn:g,headerLoaded:_,hasError:w,iframeLoaded:C,iframeURL:S,lessonInfo:O,moreInfo:x,bigClassWatchStatus:k,fetchBigClassWatchStatus:I,fetchLessonBasic:j,formatLessonTime:function(t){return new Date(t).format("yyyy-MM-dd/hh:mm/EE")},handleOldVersion:function(){n.push({name:"student-container-v3",params:{classroomid:h,lessonid:f,activityid:m},query:{hide_return:g}})},onClickBack:function(){n.back()},Loading:a.Z,ErrorPage:i.default,watchPlayStatusText:u}}},function(){var t=this._self._c,e=this._self._setupProxy;return e.headerLoaded?t("div",[e.hasError?t("div",{staticClass:"h-screen"},[t(e.ErrorPage)],1):[t("header",{staticClass:"lesson-header box-between"},[t("div",{staticClass:"lesson-header-left box-start"},[e.hideReturn?this._e():[t("span",{staticClass:"back-btn box-start",on:{click:e.onClickBack}},[t("i",{staticClass:"iconfont icon-jiantoudan-xiangzuo-fanhui"}),this._v("\n è¿å\n ")]),this._v(" "),t("span",{staticClass:"separator"})],this._v(" "),t("h2",{staticClass:"lesson-title"},[this._v(this._s(e.lessonInfo.lessonName))]),this._v(" "),t("p",{staticClass:"lesson-time"},[this._v("å¼è¯¾æ¶é´ï¼"+this._s(e.formatLessonTime(e.lessonInfo.start)))])],2),this._v(" "),t("div",{staticClass:"box-start",staticStyle:{"white-space":"nowrap"}},[t(e.watchPlayStatusText,{attrs:{"live-stream-watched":e.bigClassWatchStatus?e.bigClassWatchStatus.finishLive:e.moreInfo.finishLive,"playback-watched":e.bigClassWatchStatus?e.bigClassWatchStatus.finishReplay:e.moreInfo.finishReplay,"sign-in-status":e.moreInfo.valid,"show-detail":!!(e.moreInfo.showPlayback||e.bigClassWatchStatus)}}),this._v(" "),t("span",{staticClass:"sep-line"}),this._v(" "),t("span",{staticClass:"old-version-btn box-start",on:{click:e.handleOldVersion}},[t("i",{staticClass:"iconfont icon-qiehuan"}),this._v("\n è¿åæ§ç\n ")])],1)]),this._v(" "),t("iframe",{staticClass:"lesson-report-mobile",attrs:{src:e.iframeURL},on:{load:function(t){e.iframeLoaded=!0}}})]],2):t(e.Loading)},[],!1,null,"67dff388",null).exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.