1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08782d6e","chunk-83f95e2e"],{"00b0":function(t,e,a){"use strict";a("3b6f")},"04ca":function(t,e,a){"use strict";a("b67f")},"0647":function(t,e,a){},"0823":function(t,a,i){"use strict";i.r(a);var s=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"allPage"},[e("homePage",{directives:[{name:"show",rawName:"v-show",value:1==t.page,expression:"page == 1"}],ref:"homePageRef",attrs:{page:t.page,baseMessageLoading:t.baseMessageLoading,classList:t.classList,tid:t.tid,bmData:t.bmData,imageList:t.imageList},on:{cutPage:t.cutPage}}),2==t.page?e("bindFrom",{ref:"bindFromRef",attrs:{page:t.page,testData:t.bmData.jsonData.testData?t.bmData.jsonData.testData:{}},on:{cutPage:t.cutPage}}):t._e(),3==t.page?e("classInfo",{directives:[{name:"loading",rawName:"v-loading",value:t.baseMessageLoading,expression:"baseMessageLoading"}],ref:"classInfoRef",attrs:{page:t.page,tid:t.tid,bmData:t.bmData,imageList:t.imageList},on:{cutPage:t.cutPage}}):t._e(),5==t.page&&t.userId?e("stencilled",{ref:"stencilledRef",attrs:{page:t.page},on:{cutPage:t.cutPage}}):t._e(),6==t.page?e("editTel",{ref:"editTelRef",attrs:{dataList:t.dataList,page:t.page},on:{cutPage:t.cutPage}}):t._e(),e("outcome",{directives:[{name:"show",rawName:"v-show",value:8==t.page,expression:"page == 8"}],ref:"outcomeRef",attrs:{page:t.page,bmData:t.bmData,loading:[t.currencyLoading,t.scienceLoading,t.extendLoading],analysisList:t.analysisList,fileId:t.fileId,dataList:t.dataList,tid:t.tid},on:{cutPage:t.cutPage}})],1)},n=[],o=i("5530"),r=i("c7eb"),c=i("1da1"),l=(i("4de4"),i("7db0"),i("c740"),i("a15b"),i("d81d"),i("14d9"),i("b0c0"),i("e9c4"),i("b64b"),i("d3b7"),i("3ca3"),i("159b"),i("ddb0"),i("caad"),function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"observe"},[e("div",{staticClass:"top"},[e("div",{staticClass:"Title"},[e("div",[t._v("课堂观察")]),e("span",{on:{click:function(e){return e.stopPropagation(),t.exitLogin.apply(null,arguments)}}},[t._v("退出")])]),t._m(0)]),t._m(1),e("div",{staticClass:"FunctionalArea"},[t.tid?e("div",{staticClass:"tit"},[e("div",[t._v(t._s(t.bmData.jsonData?t.bmData.jsonData.courseName:""))]),e("span",{on:{click:function(e){return t.cutPage(2)}}},[e("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:t.bmData&&t.bmData.jsonData.testData?"#3681FC":"black","fill-opacity":t.bmData&&t.bmData.jsonData.testData?"1":"0.4",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M11.06 12.8722C11.25 12.8722 11.41 12.9422 11.56 13.0822C11.7 13.2222 11.77 13.3822 11.77 13.5722C11.77 13.7622 11.7 13.9222 11.56 14.0722L8.04 17.5922C7.65 17.9822 7.21 18.2722 6.73 18.4722C6.25 18.6722 5.75 18.7622 5.24 18.7622C4.73 18.7622 4.22 18.6622 3.74 18.4722C3.26 18.2822 2.82 17.9822 2.43 17.6022C2.05 17.2222 1.75 16.7822 1.55 16.3022C1.35 15.8222 1.25 15.3122 1.25 14.7822C1.25 14.2522 1.35 13.7422 1.55 13.2622C1.75 12.7822 2.04 12.3522 2.42 11.9722L5.94 8.45219C6.08 8.32219 6.25 8.25219 6.44 8.25219C6.63 8.25219 6.79 8.32219 6.93 8.46219C7.07 8.60219 7.14 8.76219 7.14 8.95219C7.14 9.14219 7.07 9.30219 6.94 9.45219L3.42 12.9722C3.17 13.2222 2.99 13.5022 2.86 13.8122C2.74 14.1222 2.67 14.4522 2.67 14.8022C2.67 15.1522 2.73 15.4722 2.87 15.7822C3 16.0922 3.19 16.3622 3.43 16.6122C3.67 16.8622 3.95 17.0522 4.26 17.1822C4.57 17.3122 4.9 17.3822 5.25 17.3822C5.59 17.3822 5.92 17.3122 6.23 17.1822C6.54 17.0522 6.81 16.8622 7.06 16.6122L10.58 13.0922C10.71 12.9422 10.88 12.8722 11.06 12.8722ZM1.46 7.86219C1.33 7.72219 1.26 7.56219 1.26 7.36219C1.26 7.16219 1.32 7.00219 1.46 6.86219C1.59 6.72219 1.76 6.65219 1.97 6.65219H4.8C5 6.65219 5.16 6.72219 5.29 6.86219C5.42 7.00219 5.49 7.16219 5.49 7.36219C5.49 7.56219 5.42 7.72219 5.29 7.86219C5.16 8.00219 5 8.07219 4.8 8.07219H1.97C1.76 8.07219 1.59 8.00219 1.46 7.86219ZM2.21 3.22219C2.07 3.08219 2 2.91219 2 2.72219C2 2.53219 2.07 2.37219 2.21 2.22219C2.35 2.08219 2.52 2.01219 2.71 2.01219C2.9 2.01219 3.06 2.08219 3.21 2.22219L5.2 4.22219C5.34 4.36219 5.41 4.53219 5.41 4.72219C5.41 4.91219 5.34 5.07219 5.2 5.22219C5.06 5.36219 4.89 5.43219 4.7 5.43219C4.51 5.43219 4.35 5.36219 4.2 5.22219L2.21 3.22219ZM6.86 5.29219C6.73 5.16219 6.66 4.99219 6.65 4.78219V1.95219C6.66 1.75219 6.73 1.59219 6.86 1.45219C6.99 1.31219 7.16 1.24219 7.36 1.24219C7.56 1.24219 7.73 1.31219 7.86 1.45219C7.99 1.59219 8.06 1.75219 8.07 1.95219V4.78219C8.06 4.98219 7.99 5.14219 7.86 5.28219C7.73 5.42219 7.57 5.49219 7.37 5.49219C7.15 5.49219 6.99 5.42219 6.86 5.29219ZM18.75 5.24219C18.75 6.30219 18.36 7.24219 17.58 8.04219L14.08 11.5622C13.92 11.6922 13.75 11.7622 13.56 11.7622C13.37 11.7622 13.21 11.6922 13.07 11.5522C12.93 11.4122 12.86 11.2522 12.86 11.0622C12.86 10.8722 12.92 10.7122 13.06 10.5622L16.58 7.04219C16.83 6.79219 17.01 6.52219 17.14 6.21219C17.26 5.90219 17.33 5.58219 17.33 5.23219C17.33 4.89219 17.27 4.56219 17.14 4.24219C17.02 3.93219 16.83 3.65219 16.58 3.40219C16.05 2.91219 15.44 2.66219 14.75 2.66219C14.06 2.66219 13.46 2.91219 12.94 3.40219L9.43 6.93219C9.29 7.07219 9.12 7.14219 8.93 7.14219C8.74 7.14219 8.58 7.07219 8.43 6.93219C8.29 6.79219 8.22 6.62219 8.22 6.43219C8.22 6.24219 8.29 6.08219 8.43 5.93219L11.95 2.41219C12.77 1.63219 13.71 1.24219 14.76 1.24219C15.81 1.24219 16.75 1.63219 17.57 2.41219C18.36 3.24219 18.75 4.18219 18.75 5.24219ZM13.15 14.7222C13.29 14.8622 13.36 15.0222 13.36 15.2222V18.0522C13.36 18.2522 13.29 18.4122 13.15 18.5522C13.01 18.6922 12.84 18.7622 12.64 18.7622C12.44 18.7622 12.27 18.6922 12.14 18.5522C12.01 18.4122 11.94 18.2522 11.94 18.0522V15.2222C11.94 15.0222 12 14.8622 12.14 14.7222C12.27 14.5822 12.44 14.5122 12.65 14.5122C12.85 14.5122 13.02 14.5822 13.15 14.7222ZM18.54 12.1422C18.67 12.2822 18.74 12.4522 18.74 12.6522C18.74 12.8522 18.67 13.0222 18.54 13.1522C18.41 13.2822 18.25 13.3522 18.05 13.3522H15.22C15.01 13.3522 14.84 13.2822 14.71 13.1522C14.58 13.0222 14.51 12.8522 14.51 12.6522C14.51 12.4522 14.57 12.2822 14.71 12.1422C14.84 12.0022 15.01 11.9322 15.22 11.9322H18.05C18.24 11.9322 18.4 12.0022 18.54 12.1422ZM17.81 16.7822C17.94 16.9422 18.01 17.1122 18.01 17.3022C18.01 17.4922 17.94 17.6522 17.8 17.7922C17.66 17.9322 17.49 18.0022 17.31 18.0022C17.13 18.0022 16.96 17.9322 16.82 17.8022L14.8 15.7822C14.66 15.6422 14.59 15.4722 14.59 15.2822C14.59 15.0922 14.66 14.9322 14.8 14.7922C14.94 14.6522 15.11 14.5822 15.3 14.5822C15.49 14.5722 15.65 14.6422 15.8 14.7922L17.81 16.7822Z"}})])])]):e("div",{staticClass:"tit"}),t.tid?e("div",{staticClass:"teaInfo",on:{click:function(e){return t.cutPage(3)}}},[e("div",{staticClass:"teaName"},[t._v(t._s(t.bmData.jsonData?t.bmData.jsonData.teacherName:""))]),t.bmData.jsonData&&t.bmData.jsonData.grade?e("div",{staticClass:"classInfo"},[t._v(t._s(t.bmData.jsonData.grade))]):t._e(),t.bmData.jsonData&&t.bmData.jsonData.subject?e("div",{staticClass:"classInfo"},[t._v(t._s(t.bmData.jsonData.subject))]):t._e(),e("img",{attrs:{src:i("3fd6"),alt:""}})]):e("div",{staticClass:"teaInfo"}),e("div",{staticClass:"chat"},[t.tid?e("div",{staticClass:"transcriptionArea"},[e("div",{staticClass:"ta_btn"},[e("span",[[0].includes(t.showTranscriptType)?e("img",{attrs:{src:i("74a4")}}):e("img",{attrs:{src:i("c171")},on:{click:function(e){return e.stopPropagation(),t.changeTranscriptType(0)}}})]),e("span",[[1].includes(t.showTranscriptType)?e("img",{attrs:{src:i("1398")}}):e("img",{attrs:{src:i("9fea")},on:{click:function(e){return e.stopPropagation(),t.changeTranscriptType(1)}}})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:0==t.showTranscriptType,expression:"showTranscriptType == 0"}],ref:"transcriptionDataRef",staticClass:"chatTxt",domProps:{textContent:t._s(t.bmData.jsonData?t.bmData.jsonData.transcriptionData:"")}}),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.showTranscriptType,expression:"showTranscriptType == 1"}],staticClass:"editorBarData"},[t.bmData.jsonData?[t._e(),e("EditorBar",{model:{value:t.bmData.jsonData.editorBarData.content,callback:function(e){t.$set(t.bmData.jsonData.editorBarData,"content",e)},expression:"bmData.jsonData.editorBarData.content"}})]:t._e()],2)]):t._e(),!t.imageList.jsonData||0==t.imageList.jsonData.fileList.length||[1,2,3].includes(t.recordedForm.status)?e("img",{attrs:{src:i("ca23"),alt:""}}):t._e(),[1,2,3].includes(t.recordedForm.status)?e("div",{staticClass:"time"},[t._v(" "+t._s(t.recordedForm.time)+" ")]):e("div",{staticClass:"time"}),t.imageList.jsonData&&0!=t.imageList.jsonData.fileList.length&&![1,2,3].includes(t.recordedForm.status)?e("div",{staticClass:"sourceFile"},[t.imageList.jsonData&&0!=t.imageList.jsonData.fileList.length?e("mini-audio",{staticClass:"audio_class",attrs:{"audio-source":t.imageList.jsonData.fileList[0].url}}):t._e()],1):t._e()]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.recordedForm.loading,expression:"recordedForm.loading"}],staticClass:"controlArea"},[e("div",{staticClass:"ca_left"},[e("img",{attrs:{src:i("1c98"),alt:""},on:{click:t.goChat}}),e("van-popover",{attrs:{placement:"top",trigger:"click"},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:i("2482"),alt:""}})]},proxy:!0}]),model:{value:t.changeLanguageShow,callback:function(e){t.changeLanguageShow=e},expression:"changeLanguageShow"}},[e("div",{staticClass:"languageList"},t._l(t.languageList,(function(a,i){return e("div",{key:i,class:[t.choiceLanguageIndex==a.index?"l_active":""],on:{click:function(e){return e.stopPropagation(),t.changeLanguageFn(a.index)}}},[t._v(" "+t._s(a.label)+" ")])})),0)])],1),e("div",{staticClass:"recordBtn"},[[1,2].includes(t.recordedForm.status)?e("img",{attrs:{src:i("0e68"),alt:""},on:{click:t.endRecord}}):t._e(),[0,3].includes(t.recordedForm.status)?e("img",{attrs:{src:i("1659"),alt:""},on:{click:t.startRecord}}):t._e()]),e("div",{staticClass:"ca_right"},[[1].includes(t.recordedForm.status)?e("img",{staticStyle:{transform:"scale(1.1,1.1)"},attrs:{src:i("219d"),alt:""},on:{click:function(e){return e.stopPropagation(),t.stopRecord.apply(null,arguments)}}}):t._e(),[2].includes(t.recordedForm.status)?e("img",{attrs:{src:i("0ccf"),alt:""},on:{click:function(e){return e.stopPropagation(),t.reStartRecord.apply(null,arguments)}}}):t._e(),[0,3].includes(t.recordedForm.status)?e("img",{staticStyle:{transform:"scale(.8,.8)"},attrs:{src:i("f735"),alt:""},on:{click:function(e){return e.stopPropagation(),t.uploadFileFn.apply(null,arguments)}}}):t._e(),e("div",{staticStyle:{position:"relative"},on:{click:t.historyBtn}},[e("span",{staticStyle:{position:"absolute",top:"-3px",right:"-6px",color:"rgba(54, 129, 252, 1)",width:"15px","font-size":"10px"}},[t._v(t._s(t.classList.length))]),e("img",{staticStyle:{transform:"scale(.8,.8)"},attrs:{src:i("4dde"),alt:""}})])])]),e("div",{staticClass:"selectBtn"},[e("div",[e("van-popover",{attrs:{placement:"top-start"},scopedSlots:t._u([{key:"reference",fn:function(){return[e("button",{staticClass:"btn1",attrs:{disabled:t.isParse},on:{click:function(e){return e.stopPropagation(),t.showAddNewCourse()}}},[t._v(" 创建课堂 "),t.isParse?e("div",{staticClass:"one"}):t._e()])]},proxy:!0}]),model:{value:t.addNewCourseShow,callback:function(e){t.addNewCourseShow=e},expression:"addNewCourseShow"}},[e("div",{staticClass:"addNewCourse"},[e("div",{staticClass:"addNewCourseBtn",on:{click:function(e){return e.stopPropagation(),t.cutPage(5)}}},[t._v("选择模板创建")]),e("div",{staticClass:"addNewCourseBtn",on:{click:function(e){return e.stopPropagation(),t.createDefaultCourse()}}},[t._v("默认模板创建")])])])],1),e("div",[e("button",{staticClass:"btn2",attrs:{disabled:t.isParse},on:{click:function(e){return t.cutPage(8)}}},[t._v(" 查看分析 "),t.isParse?e("div",{staticClass:"one"}):t._e()])])])]),e("van-action-sheet",{directives:[{name:"loading",rawName:"v-loading",value:t.historyListLoading,expression:"historyListLoading"}],attrs:{title:"历史课堂"},model:{value:t.historyShow,callback:function(e){t.historyShow=e},expression:"historyShow"}},[e("div",{staticClass:"historyList"},t._l(t.classList,(function(a,s){return e("div",{key:s,staticClass:"con"},[e("div",{class:["tit",t.tid==a.value?"titActive":""],on:{click:function(e){return t.changeTidFn(a)}}},[t._v(t._s(a.label))]),e("van-popover",{attrs:{placement:"bottom-end",trigger:"click"},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:i("2912"),alt:""}})]},proxy:!0}],null,!0),model:{value:a.show,callback:function(e){t.$set(a,"show",e)},expression:"item.show"}},[e("div",{staticClass:"abu"},[e("div",{staticClass:"abuBtn",on:{click:function(e){return e.stopPropagation(),t.editClass(a)}}},[e("img",{attrs:{src:i("bd69"),alt:""}}),e("span",[t._v("重命名")])]),e("div",{staticClass:"abuBtn",on:{click:function(e){return e.stopPropagation(),t.delClass(a)}}},[e("img",{attrs:{src:i("e153"),alt:""}}),e("span",[t._v("删除")])])])]),e("van-popover",{staticClass:"editPopover",attrs:{placement:"left-end",trigger:"click"},model:{value:a.edit,callback:function(e){t.$set(a,"edit",e)},expression:"item.edit"}},[e("van-cell-group",[e("van-field",{staticClass:"ecn_field",attrs:{disabled:t.historyListLoading,center:"",label:"名称:",placeholder:"请输入新的课堂名称"},scopedSlots:t._u([{key:"button",fn:function(){return[e("van-button",{attrs:{disabled:t.historyListLoading,size:"small",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.onEdit(a)}}},[t._v("确定修改")])]},proxy:!0}],null,!0),model:{value:a.newLabel,callback:function(e){t.$set(a,"newLabel",e)},expression:"item.newLabel"}})],1)],1)],1)})),0)]),e("iframe",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"iiframe",attrs:{allow:"camera *; microphone *;display-capture;midi;encrypted-media;",src:"https://beta.cloud.cocorobo.cn/browser/public/index.html"}})],1)}),d=[function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:i("8099"),alt:""}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"brief"},[e("div",{staticClass:"txt"},[t._v("您好,我是 CocoClass 课堂观察")]),e("div",{staticClass:"txt2"},[t._v("基于课堂录音和实录文稿进行分析,为您提供不同启发。")])])}],u=(i("e17f"),i("2241")),p=(i("99af"),i("a9e3"),i("ac1f"),i("00b4"),i("25f0"),i("4d90"),i("498a"),i("c24f")),h=i("2ef0"),g=i.n(h),f=i("369b"),m=i.n(f),v=(i("5038"),i("1b56")),A=function(){var t=this,e=t._self._c;return e("div",{staticClass:"editor cont"},[e("div",{ref:"toolbar",staticClass:"toolbar"}),e("div",{ref:"editor",staticClass:"text"}),t._t("default"),t.proVisible?e("div",{staticClass:"mask"},[t._m(0)]):t._e()],2)},b=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"progressBox"},[e("div",{staticClass:"lbox"},[e("img",{attrs:{src:i("78ad")}}),t._v("上传中,请稍后 ")])])}],C=(i("5319"),i("6fad")),D=i.n(C),w=(i("5c96"),{name:"editoritem",data:function(){return{editor:null,info_:null,proVisible:!1,progress:0}},model:{prop:"value",event:"change"},props:{value:{type:String,default:""},isClear:{type:Boolean,default:!1},placeholder:{type:String,default:"请输入正文"},showGetTextLoading:{type:Boolean,default:!1}},watch:{isClear:function(t){t&&(this.editor.txt.clear(),this.info_=null)},value:function(t){t!==this.editor.txt.html()&&this.editor.txt.html(this.value)}},mounted:function(){this.seteditor(),this.editor.txt.html(this.value)},methods:{seteditor:function(){var t=this;this.editor=new D.a(this.$refs.toolbar,this.$refs.editor),this.editor.config.menuFixed=!1,this.editor.config.menus=["head","bold","fontSize","image","table","undo","redo"],this.editor.config.pasteFilterStyle=!1,this.editor.config.pasteIgnoreImg=!1,this.editor.config.showLinkImg=!1,this.editor.config.placeholder=this.placeholder;var e=this;this.editor.config.customUploadImg=function(t,a){for(var i=0,s=0;s<t.length;s++){var n=t[s],o={accessKeyId:"AKIATLPEDU37QV5CHLMH",secretAccessKey:"Q2SQw37HfolS7yeaR1Ndpy9Jl4E2YZKUuuy2muZR"};window.AWS.config.update(o),window.AWS.config.region="cn-northwest-1";var r=new window.AWS.S3({params:{Bucket:"ccrb"}});if(e.proVisible=!0,n){var c={Key:n.name.split(".")[0]+(new Date).getTime()+"."+n.name.split(".")[n.name.split(".").length-1],ContentType:n.type,Body:n,"Access-Control-Allow-Credentials":"*",ACL:"public-read"},l={partSize:2147483648,queueSize:2,leavePartsOnError:!0};r.upload(c,l).on("httpUploadProgress",(function(t){})).send((function(s,n){i++,(i==t.length-1||i>t.length-1)&&(e.proVisible=!1),s?e.$message.error("上传失败"):a(n.Location)}))}}},this.editor.config.pasteTextHandle=function(t){if(""==t&&!t)return"";var e=t;return e=e.replace(/<xml>[\s\S]*?<\/xml>/gi,""),e=e.replace(/<style>[\s\S]*?<\/style>/gi,""),e=e.replace(/<\/?[^>]*>/g,""),e=e.replace(/[ | ]*\n/g,"\n"),e=e.replace(/ /gi,""),e},this.editor.config.onchange=function(e){t.info_=e,t.$emit("change",t.info_)},this.editor.create()}}}),y=w,I=(i("ae45"),i("2877")),x=Object(I["a"])(y,A,b,!1,null,"1693e0e4",null),j=x.exports,S=i("b532"),L=function(t){return new Promise((function(e,a){var i={accessKeyId:"AKIATLPEDU37QV5CHLMH",secretAccessKey:"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"};window.AWS.config.update(i),window.AWS.config.region="cn-northwest-1";var s=t,n="";n=-1!=s.indexOf("https://view.officeapps.live.com/op/view.aspx?src=")?s.split("https://view.officeapps.live.com/op/view.aspx?src=")[1]:s;var o=new window.AWS.S3({params:{Bucket:"ccrb"}}),r=decodeURIComponent(n.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1]),c={Bucket:"ccrb",Key:r};o.getObject(c,(function(t,a){if(t)console.log(t,t.stack),e({data:1});else{var i=a.Body.toString("utf-8");e({data:i})}}))}))},k={props:{page:{type:Number,default:1},classList:{type:Array,default:function(){return[]}},bmData:{type:Object,default:function(){}},tid:{type:String,default:""},imageList:{type:Object,default:function(){}}},components:{EditorBar:j},data:function(){return{isParse:!1,loading:!1,showTranscriptType:0,showEditorBarDataPopover:!1,recordedForm:{time:"00:00:00",status:0,timer:null,timeDuration:0,audioBlob:[],startTime:0,endTime:0,textList:[],loading:!1},historyShow:!1,uploadFileLoading:!1,abuShowId:"",historyListLoading:!1,addNewCourseShow:!1,changeLanguageShow:!1,languageList:[{index:13,label:"英语"},{index:3,label:"粤语"},{index:2,label:"普通话"}],choiceLanguageIndex:2}},methods:{changeTranscriptType:function(t){this.showTranscriptType=t},saveEditorBarFn:function(){var t=this;u["a"].confirm({title:"保存",message:"确定保存转录文稿?"}).then((function(){console.log("保存"),t.showEditorBarDataPopover=!1})).catch((function(){console.log("不保存"),t.showEditorBarDataPopover=!0}))},speakerCodingFn:function(){var t=this;u["a"].confirm({title:"说话人编码",message:"确定获取说话人编码?"}).then((function(){console.log("获取说话人编码"),t.showEditorBarDataPopover=!1})).catch((function(){console.log("不获取"),t.showEditorBarDataPopover=!0}))},behaviorCodingFn:function(){var t=this;u["a"].confirm({title:"行为编码",message:"确定获取行为编码?"}).then((function(){console.log("获取行为编码"),t.showEditorBarDataPopover=!1})).catch((function(){console.log("不获取"),t.showEditorBarDataPopover=!0}))},changeLanguageFn:function(t){if(this.isParse)return this.$toast("正在录音中...");this.choiceLanguageIndex=t,this.changeLanguageShow=!1},goChat:function(){this.$router.push({path:"/aiChat",query:{}})},historyBtn:function(){this.historyShow=!0},cutPage:function(t){if(!this.isParse)return[2,3,8].includes(t)&&!this.tid?this.$toast("请先选择或创建课堂"):void this.$emit("cutPage",t)},showAddNewCourse:function(){if(this.isParse)return this.addNewCourseShow=!1;this.addNewCourseShow=!this.addNewCourseShow},createDefaultCourse:function(){var t=this;u["a"].confirm({title:"创建课堂",message:"确定使用默认模板来创建新的课堂?"}).then((function(){t.$parent.addNewCourseByDefault(),t.addNewCourseShow=!1})).catch((function(){console.log("不创建")}))},ctrlRecord:function(){this.isParse=!this.isParse},endRecord:function(){var t=this;if(this.recordedForm.loading)return this.$toast("请稍等");if([1].includes(this.recordedForm.status)){var e=this.$refs["iiframe"];e.contentWindow.window.document.getElementById("scenarioStopButton").click(),e.contentWindow.onSessionStopped=function(a,i){t.recordedForm.status=3,t.$toast("已结束录音"),clearInterval(t.recordedForm.timer),console.log("结束录音👇"),console.log("结束录音",i),t.recordedForm.audioBlob.push(i.preaudio);var s=new Blob(t.recordedForm.audioBlob,{type:"audio/wav"}),n=new File([s],"recordedFile.wav",{type:"text/plain"});t.uploadFile(n,{changeText:!1,flag:!0}),e.contentWindow.onSessionStopped=null,e.contentWindow.onRecognizedResult=null}}else if([2].includes(this.recordedForm.status)){this.recordedForm.status=3,clearInterval(this.recordedForm.timer);var a=new Blob(this.recordedForm.audioBlob,{type:"audio/wav"}),i=new File([a],"recordedFile.wav",{type:"text/plain"});this.uploadFile(i,{changeText:!1,flag:!0})}},startRecord:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.recordedForm.loading)return this.$toast("请稍等");if(!this.tid)return u["a"].confirm({title:"创建课堂并录音",message:"确定使用默认模板来创建新的课堂并开始录音?"}).then((function(){return t.$parent.addNewCourseByDefault().then((function(e){t.startRecord(!1)}))})).catch((function(t){console.log("不创建")}));if(this.uploadFileLoading)return this.$toast("请稍等...");if([0].includes(this.recordedForm.status)){if(e)return u["a"].confirm({title:"开始录音",message:"确定开始录音?"}).then((function(){t.startRecord(!1)})).catch((function(t){console.log(t),console.log("不录音")}));console.log("开始录音");var a=this.$refs["iiframe"];a.contentWindow.window.document.getElementById("languageOptions").selectedIndex=this.choiceLanguageIndex,a.contentWindow.testdoContinuousPronunciationAssessment(),this.recordedForm.status=1,this.showTranscriptType=1,this.$toast("已开始录音"),this.recordedForm.timer=setInterval((function(){t.recordedForm.timeDuration+=1,t.recordedForm.time=t.updateRecordedTime({duration:t.recordedForm.timeDuration})}),1e3);var i=!0;this.recordedForm.textList=[],this.recordedForm.timeDuration=0,this.recordedForm.startTime=1,this.recordedForm.endTime=0,a.contentWindow.onRecognizedResult=function(e){t.recordedForm.endTime=t.recordedForm.timeDuration,i&&(t.$parent.bmData.jsonData.editorBarData.type="0",i=!1,t.uploadFileLoading=!1,t.$parent.bmData.jsonData.transcriptionData="",t.$parent.bmData.jsonData.editorBarData.content="",t.recordedForm.textList=[]);var a=e.privText;if(void 0!=a&&"undefined"!=a){console.log("👇转译对象👇"),console.log(e),console.log("👇转译结果👇"),console.log(a),t.recordedForm.textList.push({value:a,startTime:t.updateRecordedTime({duration:t.recordedForm.startTime}),endTime:t.updateRecordedTime({duration:t.recordedForm.endTime}),time:t.updateRecordedTime({duration:t.recordedForm.endTime-t.recordedForm.startTime})}),t.recordedForm.startTime=t.recordedForm.timeDuration+1,t.$parent.bmData.jsonData.transcriptionData+=a,t.$nextTick((function(){return t.$refs.transcriptionDataRef.scrollTop=t.$refs.transcriptionDataRef.scrollHeight}));var s='<table border="0" width="100%" cellpadding="0" cellspacing="0" style="text-align: center"><tbody><tr><th>序号</th><th>开始时间</th><th>结束时间</th><th>发言内容</th><th>时长</th><th>说话人身份</th><th>行为编码</th></tr>';t.recordedForm.textList.forEach((function(t,e){s+="<tr><td>".concat(e+1,"</td><td>").concat(t.startTime,"</td><td>").concat(t.endTime,"</td><td>").concat(t.value,"</td><td>").concat(t.time,"</td><td></td><td></td></tr>")})),s+="<tr><td></td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>",t.$parent.bmData.jsonData.editorBarData.content=s}}}else[1,2].includes(this.recordedForm.status)?this.$toast.fail("正在录音中"):this.$toast("请稍等...")},stopRecord:function(){var t=this;if(this.recordedForm.loading)return this.$toast("请稍等...");if([1].includes(this.recordedForm.status)){this.recordedForm.loading=!0;var e=this.$refs["iiframe"];e.contentWindow.window.document.getElementById("scenarioStopButton").click(),e.contentWindow.onSessionStopped=function(a,i){t.recordedForm.status=2,t.$toast("已停止录音"),clearInterval(t.recordedForm.timer),console.log("停止录音👇"),console.log("停止录音",i),t.recordedForm.audioBlob.push(i.preaudio),e.contentWindow.onSessionStopped=null,e.contentWindow.onRecognizedResult=null,t.recordedForm.loading=!1}}else console.log("状态错误")},reStartRecord:function(){var t=this;if([2].includes(this.recordedForm.status)){this.recordedForm.loading=!0;var e=this.$refs["iiframe"];e.contentWindow.window.document.getElementById("languageOptions").selectedIndex=this.choiceLanguageIndex,e.contentWindow.testdoContinuousPronunciationAssessment(),this.recordedForm.status=1,this.showTranscriptType=1,this.$toast("已继续录音"),this.recordedForm.loading=!1,this.recordedForm.timer=setInterval((function(){t.recordedForm.timeDuration+=1,t.recordedForm.time=t.updateRecordedTime({duration:t.recordedForm.timeDuration})}),1e3),e.contentWindow.onRecognizedResult=function(e){t.recordedForm.endTime=t.recordedForm.timeDuration;var a=e.privText;if(void 0!=a&&"undefined"!=a){console.log("👇转译对象👇"),console.log(e),console.log("👇转译结果👇"),console.log(a),t.recordedForm.textList.push({value:a,startTime:t.updateRecordedTime({duration:t.recordedForm.startTime}),endTime:t.updateRecordedTime({duration:t.recordedForm.endTime}),time:t.updateRecordedTime({duration:t.recordedForm.endTime-t.recordedForm.startTime})}),t.recordedForm.startTime=t.recordedForm.timeDuration+1,t.$parent.bmData.jsonData.transcriptionData+=a;var i='<table border="0" width="100%"\tcellpadding="0"\tcellspacing="0" style="text-align: center"><tbody><tr><th>序号</th><th>开始时间</th><th>结束时间</th><th>发言内容</th><th>时长</th><th>说话人身份</th><th>行为编码</th></tr>';t.recordedForm.textList.forEach((function(t,e){i+="<tr><td>".concat(e+1,"</td><td>").concat(t.startTime,"</td><td>").concat(t.endTime,"</td><td>").concat(t.value,"</td><td>").concat(t.time,"</td><td></td><td></td></tr>")})),i+="<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>",t.$parent.bmData.jsonData.editorBarData.content=i}}}else console.log("状态错误")},uploadFileFn:function(){var t=this;if(!this.tid)return u["a"].confirm({title:"创建课堂并上传文件",message:"确定使用默认模板来创建新的课堂并上传文件?"}).then((function(){return t.$parent.addNewCourseByDefault().then((function(e){t.uploadFileFn()}))})).catch((function(t){console.log("不创建")}));if(this.uploadFileLoading)return this.$toast("请稍等...");var e=document.createElement("input");e.type="file",e.accept=".wav,.txt,.pdf,.xlsx,.doc,.docx,.csv",e.click(),e.onchange=function(){t.uploadFileLoading=!0;var a=e.files[0];if(!/\.(wav|txt|pdf|xlsx|doc|docx|csv)$/i.test(a.name))return t.uploadFileLoading=!1,t.$toast.error("请上传.wav,.txt,.pdf,.xlsx,.doc,.docx,.csv格式的文件");t.uploadFile(a,{changeText:!0,flag:!0})}},uploadFile:function(t,e){var a=e.changeText,i=void 0===a||a,s=e.flag,n=void 0===s||s,o={accessKeyId:"AKIATLPEDU37QV5CHLMH",secretAccessKey:"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"};window.AWS.config.update(o),window.AWS.config.region="cn-northwest-1";var r=new window.AWS.S3({params:{Bucket:"ccrb"}}),c=this;if(t){this.loading=!0;var l={Key:t.name.split(".")[0]+(new Date).getTime()+"."+t.name.split(".")[t.name.split(".").length-1],ContentType:t.type,Body:t,"Access-Control-Allow-Credentials":"*",ACL:"public-read"},d={partSize:2147483648,queueSize:2,leavePartsOnError:!0};r.upload(l,d).on("httpUploadProgress",(function(t){})).send((function(e,a){if(e)c.$toast.fail("上传失败"),c.uploadFileLoading=!1,c.loading=!1;else{var s=/\.(mp3|wav|ogg|flac|m4a)$/i,o=/\.(txt|csv)$/i,r=/\.(pdf|xlsx|doc|docx)$/i;if(s.test(a.Location))return i&&c.wavFileGetText(t),c.$parent.changeAudioUrl(a),c.loading=!1,c.recordedForm.audioBlob=[],c.recordedForm.time="00:00:00",c.recordedForm.timeDuration=0,c.recordedForm.textList=[],void c.$parent.saveEditorBar();Object(v["r"])({url:a.Location}).then((function(t){var e=t.FunctionResponse;e.result&&e.result.id?(c.$parent.changeFileId(e.result.id),c.uploadFileLoading=!1,o.test(a.Location)?L(a.Location).then((function(t){c.controlsStatus=2,c.showIndexPage=!1,c.pageStatus=2,c.$parent.bmData.jsonData.editorBarData.type="0";var e=S.Converter({from:"hk",to:"cn"});if(n){var a=m.a.parse(t.data,{header:!1}).data;a=a.filter((function(t){return g.a.get(t,0)!=e("序号")}));var i='<table border="0" width="100%" cellpadding="0" cellspacing="0" style="text-align: center"><tbody><tr><th>序号</th><th>开始时间</th><th>结束时间</th><th>发言内容</th><th>时长</th><th>说话人身份</th><th>行为编码</th></tr>'.concat(a.map((function(t){return"<tr><td>".concat(g.a.get(t,0,""),"</td><td>").concat(g.a.get(t,1,""),"</td><td>").concat(g.a.get(t,2,""),"</td><td>").concat(g.a.get(t,3,""),"</td><td>").concat(g.a.get(t,4,""),"</td><td>").concat(g.a.get(t,5,""),"</td><td>").concat(g.a.get(t,6,""),"</td></tr>")})).join("\n"),"</tbody></table>");c.$parent.bmData.jsonData.editorBarData.content=i}else c.$parent.bmData.jsonData.editorBarData.content=t.data;c.$parent.bmData.jsonData.editorBarData.url="",c.$parent.saveEditorBar()})):r.test(a.Location)&&(c.$parent.bmData.jsonData.editorBarData.type="1",c.$parent.bmData.jsonData.editorBarData.url=a.Location,c.$parent.bmData.jsonData.editorBarData.content="",c.$parent.saveEditorBar()),c.loading=!1):c.$toast.fail("修改fileId失败")})).catch((function(t){c.uploadFileLoading=!1,console.log(t),c.$toast.fail("获取fileId失败")}))}}))}},analysis:function(){this.$router.push({path:"/outcome",query:{}})},changeTidFn:function(t){this.historyShow=!1,this.$parent.changeTid(t.value)},editClass:function(t){var e=this.$parent.classList.findIndex((function(e){return e.id==t.id}));-1!==e&&(this.$parent.classList[e].edit=!0,this.$parent.classList[e].show=!1)},delClass:function(t){var e=this;if(this.historyListLoading)return this.$toast("请稍等...");u["a"].confirm({title:"删除课堂",message:'确定删除 "'.concat(t.label,'" 这个课堂?')}).then((function(){e.$parent.delClass(t)})).catch((function(){console.log("不删除")}))},onEdit:function(t){if(this.historyListLoading)return this.$toast("请稍等...");""!=t.newLabel.trim()?this.$parent.editClassName(t):this.$toast("请输入新的课堂名称")},exitLogin:function(){var t=this;this.$dialog({message:"是否退出"+this.$store.state.user.userinfo.username+"账号",showCancelButton:!0,beforeClose:function(e,a){"confirm"===e?Object(p["c"])().then((function(e){t.$toast({message:"退出成功",type:"success"}),t.$store.dispatch("user/logout"),window.location.reload(),a()})).catch((function(t){console.error(t),a()})):a()}})},updateRecordedTime:function(t){var e=t.duration,a=Math.floor(e/3600),i=Math.floor(e%3600/60),s=Math.floor(e%60);return"".concat(a.toString().padStart(2,"0"),":").concat(i.toString().padStart(2,"0"),":").concat(s.toString().padStart(2,"0"))},wavFileGetText:function(t){var a=this,i=!0,s=[],n=this.$refs["iiframe"];n.contentWindow.window.document.getElementById("languageOptions").selectedIndex=this.choiceLanguageIndex,this.bmData.jsonData.transcriptionData="",n.contentWindow.onRecognizedResult=function(){i&&(a.bmData.jsonData.editorBarData.type="0",i=!1,a.uploadFileLoading=!1,a.bmData.jsonData.transcriptionData="",a.bmData.jsonData.editorBarData.content="",s=[]);var t=e.privText;console.log("👇转译对象👇"),console.log(e),console.log("👇转译结果👇"),console.log(t),s.push({value:t,startTime:"",endTime:"",time:""}),a.bmData.jsonData.transcriptionData+=t;var n='\n\t\t\t\t<table\n\t\t\t\t\t\tborder="0"\n\t\t\t\t\t\twidth="100%"\n\t\t\t\t\t\tcellpadding="0"\n\t\t\t\t\t\tcellspacing="0"\n\t\t\t\t\t\tstyle="text-align: center"\n\t\t\t\t\t>\n\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<th>序号</th>\n\t\t\t\t\t\t\t\t<th>开始时间</th>\n\t\t\t\t\t\t\t\t<th>结束时间</th>\n\t\t\t\t\t\t\t\t<th>发言内容</th>\n\t\t\t\t\t\t\t\t<th>时长</th>\n\t\t\t\t\t\t\t\t<th>说话人身份</th>\n\t\t\t\t\t\t\t\t<th>行为编码</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t';s.forEach((function(t,e){n+="<tr>\n\t\t\t\t\t\t\t<td>".concat(e+1,"</td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td>").concat(t.value,"</td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t</tr>")})),n+="\n\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t\t<td></td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>",a.bmData.jsonData.editorBarData.content=n},n.contentWindow.onSessionStopped=function(t){console.log("转译完成"),console.log(t),this.$toast.success("转译完成"),this.saveEditorBar()},n.contentWindow.doContinuousPronunciationAssessment("",{files:[t]})}}},B=k,T=(i("779a"),Object(I["a"])(B,l,d,!1,null,"e1d753d2",null)),E=T.exports,P=(i("841c"),function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"bindFrom"},[e("bar",{attrs:{tit:"绑定表单",backPage:0},on:{cutPage:t.cutPage}}),e("div",{staticStyle:{height:"55px",width:"100%"}}),e("div",{staticClass:"selectInp"},[e("van-search",{attrs:{shape:"round",placeholder:"搜索表单"},model:{value:t.selectValue,callback:function(e){t.selectValue=e},expression:"selectValue"}}),e("span",{on:{click:function(e){return e.stopPropagation(),t.search()}}},[t._v("搜索")])],1),e("div",{ref:"listRef",staticClass:"con",on:{scroll:function(e){return t.handlerScroll(e)}}},t._l(t.dataList,(function(a,i){return e("div",{key:i,staticClass:"conBlock",on:{click:function(e){return e.stopPropagation(),t.choice(a)}}},[e("fromList",{attrs:{data:a,index:i+1,isChoice:t.choiceCourseId?t.choiceCourseId:t.testData.testId}})],1)})),0),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"bot"},[e("div",{class:["botBtn",t.choiceCourseId?"":"botBtnDisabled"],on:{click:function(e){return e.stopPropagation(),t.bindFrom()}}},[t._v("确认绑定")])])],1)}),O=[],F=i("2909"),N=i("2a32"),U=i("6bdf"),Q={components:{bar:N["a"],fromList:U["a"]},props:{tid:{type:String,default:""},page:{type:Number,default:1},testData:{type:Object,default:function(){}}},data:function(){return{selectValue:"",dataList:[],loading:!1,choiceCourseId:"",oid:this.$store.state.user.userinfo.organizeid,org:this.$store.state.user.userinfo.org,userId:this.$store.state.user.userinfo.userid,PageData:{page:1,pageSize:10}}},watch:{selectValue:function(t){this.flag=!1}},methods:{choice:function(t){this.choiceCourseId=t.courseId},cutPage:function(){this.$emit("cutPage",1)},search:function(){this.PageData.page=1,this.flag=!0,this.dataList=[],this.getData()},bindFrom:function(){var t=this;if(this.choiceCourseId&&!this.loading){var e=this.dataList.find((function(e){return e.courseId==t.choiceCourseId}));if(e){if(e.courseId==this.testData.testId)return this.$toast.fail("该课堂已绑定该表单");var a={testId:e.courseId,checkUrl:"https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=".concat(e.courseId,"&userid=").concat(this.userId,"&oid=").concat(this.oid,"&org=").concat(this.org,"&tcid=").concat(this.tid,"&isN=1&role=0&type=2,"),doUrl:"https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/doTest?cid=".concat(e.courseId,"&userid=").concat(this.userId,"&oid=").concat(this.oid,"&org=").concat(this.org,"&tcid=").concat(this.tid,"&isN=1&role=0&type=2")};this.loading=!0,this.$parent.bmData.jsonData.testData=a,this.$parent.saveData(this.$parent.bmData).then((function(e){t.$toast.success("绑定表单成功"),t.loading=!1}))}}},getData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!this.loading){1==e&&(this.PageData.page+=1);var a={ype:4,uid:this.userId,oid:this.oid,org:this.org,typea:"",typeb:"",typec:"",typed:"",typef:"",typeE:"",cu:"",cn:this.flag?this.selectValue:"",page:this.PageData.page,pageSize:this.PageData.pageSize};this.loading=!0,Object(v["e"])(a).then((function(e){var a,i=e[0];i.length>0?(a=t.dataList).push.apply(a,Object(F["a"])(i)):t.PageData.page-=1;t.loading=!1})).catch((function(e){t.$toast.fail("获取表单失败"),t.loading=!1}))}},handlerScroll:function(t){var e=t.target,a=e.scrollTop,i=e.clientHeight,s=e.scrollHeight,n=a+i+1;n>=s&&this.getData(1)}},mounted:function(){this.getData()}},R=Q,K=(i("9086"),Object(I["a"])(R,P,O,!1,null,"7817330a",null)),J=K.exports,M=function(){var t=this,e=t._self._c;return e("div",{staticClass:"classInfo"},[e("bar",{attrs:{tit:"课程信息设置",backPage:0},on:{cutPage:t.cutPage}}),e("div",{staticStyle:{height:"55px",width:"100%"}}),e("div",{staticClass:"cellList"},[e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("课程名称")]),e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.bmData.jsonData.courseName,expression:"bmData.jsonData.courseName"}],attrs:{type:"text",placeholder:"请输入课程名称"},domProps:{value:t.bmData.jsonData.courseName},on:{change:function(e){return t.changeData()},input:function(e){e.target.composing||t.$set(t.bmData.jsonData,"courseName",e.target.value)}}})])]),e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("学生人数")]),e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.bmData.jsonData.studentNum,expression:"bmData.jsonData.studentNum"}],attrs:{type:"number",placeholder:"请输入学生人数"},domProps:{value:t.bmData.jsonData.studentNum},on:{change:function(e){return t.changeData()},input:function(e){e.target.composing||t.$set(t.bmData.jsonData,"studentNum",e.target.value)}}})])]),e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("授课老师")]),e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.bmData.jsonData.teacherName,expression:"bmData.jsonData.teacherName"}],attrs:{type:"text",placeholder:"请输入授课老师"},domProps:{value:t.bmData.jsonData.teacherName},on:{change:function(e){return t.changeData()},input:function(e){e.target.composing||t.$set(t.bmData.jsonData,"teacherName",e.target.value)}}})])]),e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("授课时间")]),e("div",{on:{click:function(e){t.showTime=!0}}},[t.bmData.jsonData.time?e("span",[t._v(t._s(t.bmData.jsonData.time))]):e("span",[t._v("请选择")]),e("van-icon",{attrs:{name:"arrow"}})],1)]),e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("授课年级")]),e("div",{on:{click:function(e){t.showGrade=!0}}},[t.bmData.jsonData.grade?e("span",[t._v(t._s(t.bmData.jsonData.grade))]):e("span",[t._v("请选择")]),e("van-icon",{attrs:{name:"arrow"}})],1)]),e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("授课科目")]),e("div",{on:{click:function(e){t.showSubject=!0}}},[t.bmData.jsonData.subject?e("span",[t._v(t._s(t.bmData.jsonData.subject))]):e("span",[t._v("请选择")]),e("van-icon",{attrs:{name:"arrow"}})],1)]),e("div",{staticClass:"cellB"},[e("div",{staticClass:"tit"},[t._v("教材版本")]),e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.bmData.jsonData.textbook,expression:"bmData.jsonData.textbook"}],attrs:{type:"text",placeholder:"请输入教程版本"},domProps:{value:t.bmData.jsonData.textbook},on:{change:function(e){return t.changeData()},input:function(e){e.target.composing||t.$set(t.bmData.jsonData,"textbook",e.target.value)}}})])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.imageLoading,expression:"imageLoading"}],staticClass:"cellC"},[e("div",{staticClass:"tit"},[t._v("课堂图片")]),t.imageList.jsonData.fileList1.length?e("div",[e("van-image",{attrs:{width:"2rem",height:"2rem",fit:"cover",src:t.imageList.jsonData.fileList1[0].url},on:{click:function(e){return e.stopPropagation(),t.previewImage(t.imageList.jsonData.fileList1[0].url)}}}),e("span",{staticClass:"setting",on:{click:function(e){return e.stopPropagation(),t.delImage("fileList1")}}},[e("img",{attrs:{src:i("7230")}})])],1):t._e(),t.imageList.jsonData.fileList2.length?e("div",[e("van-image",{attrs:{width:"2rem",height:"2rem",fit:"cover",src:t.imageList.jsonData.fileList2[0].url},on:{click:function(e){return e.stopPropagation(),t.previewImage(t.imageList.jsonData.fileList2[0].url)}}}),e("span",{staticClass:"setting",on:{click:function(e){return e.stopPropagation(),t.delImage("fileList2")}}},[e("img",{attrs:{src:i("7230")}})])],1):t._e(),t.imageList.jsonData.fileList3.length?e("div",[e("van-image",{attrs:{width:"2rem",height:"2rem",fit:"cover",src:t.imageList.jsonData.fileList3[0].url},on:{click:function(e){return e.stopPropagation(),t.previewImage(t.imageList.jsonData.fileList3[0].url)}}}),e("span",{staticClass:"setting",on:{click:function(e){return e.stopPropagation(),t.delImage("fileList3")}}},[e("img",{attrs:{src:i("7230")}})])],1):t._e(),t.imageList.jsonData.fileList1.length&&t.imageList.jsonData.fileList2.length&&t.imageList.jsonData.fileList3.length?t._e():e("div",{staticClass:"upload",on:{click:function(e){return e.stopPropagation(),t.addImage()}}},[e("van-image",{attrs:{src:i("c015")}})],1)]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.videoLoading,expression:"videoLoading"}],staticClass:"cellC"},[e("div",{staticClass:"tit"},[t._v("课堂视频")]),t.imageList.jsonData.videoList.length?e("div",[e("van-image",{attrs:{width:"3rem",height:"2rem",fit:"cover",src:i("ed54")},on:{click:function(e){return e.stopPropagation(),t.showVideoDialog()}}}),e("span",{staticClass:"setting",on:{click:function(e){return e.stopPropagation(),t.delVideo()}}},[e("img",{attrs:{src:i("7230")}})])],1):t._e(),t.imageList.jsonData.videoList.length||t.progressData.uploadVideo?t._e():e("div",{staticClass:"upload",staticStyle:{width:"3rem",height:"2rem"},on:{click:function(e){return e.stopPropagation(),t.addVideo()}}},[e("van-image",{attrs:{src:i("c015")}})],1),!t.imageList.jsonData.videoList.length&&t.progressData.uploadVideo?e("div",{staticStyle:{width:"3rem",height:"2rem"}},[e("van-image",{attrs:{width:"3rem",height:"2rem",src:i("ea71")}}),e("div",{staticClass:"progress"},[e("div",[t._v(t._s(t.progressData.value)+"%")]),t.progressData.stop?e("span",[t._v("已暂停")]):e("span",[t._v("上传中...")]),e("div",{staticClass:"bar"},[e("div",{style:{width:t.progressData.value+"%"}})])]),e("span",{staticClass:"setting"},[e("img",{attrs:{src:i("7230")},on:{click:function(e){return e.stopPropagation(),t.delUploadVideo()}}}),t.progressData.stop?t._e():e("img",{attrs:{src:i("3dcb")},on:{click:function(e){return e.stopPropagation(),t.stopUploadVideo()}}}),t.progressData.stop?e("img",{attrs:{src:i("cd73")},on:{click:function(e){return e.stopPropagation(),t.startUploadVideo()}}}):t._e()])],1):t._e()]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.NephogramLoading,expression:"NephogramLoading"}],staticClass:"cellC"},[e("div",{staticClass:"tit"},[t._v("词云图")]),t.imageList.jsonData.NephogramList.length?e("div",{staticStyle:{width:"3rem",height:"2rem"}},[e("eChartsView",{attrs:{data:t.imageList.jsonData.NephogramList[0]}}),e("span",{staticClass:"setting",on:{click:function(e){return e.stopPropagation(),t.delNephogram()}}},[e("img",{attrs:{src:i("7230")}})])],1):e("div",{staticClass:"upload",staticStyle:{width:"3rem",height:"2rem"},on:{click:function(e){return e.stopPropagation(),t.addNephogram()}}},[e("van-image",{staticStyle:{width:".5rem",height:".5rem"},attrs:{src:i("c814")}})],1)])]),e("van-action-sheet",{attrs:{title:"授课时间"},model:{value:t.showTime,callback:function(e){t.showTime=e},expression:"showTime"}},[e("van-datetime-picker",{attrs:{type:"datetime",title:"","min-date":t.minDate,"max-date":t.maxDate,formatter:t.formatter},on:{confirm:t.onConfirmTime,cancel:t.onCancelTime},model:{value:t.showTimeValue,callback:function(e){t.showTimeValue=e},expression:"showTimeValue"}})],1),e("van-action-sheet",{attrs:{title:"授课年级"},model:{value:t.showGrade,callback:function(e){t.showGrade=e},expression:"showGrade"}},[e("van-picker",{attrs:{"show-toolbar":!0,columns:t.gradeList},on:{confirm:t.onConfirmGrade,cancel:t.onCancelGrade}})],1),e("van-action-sheet",{attrs:{title:"授课科目"},model:{value:t.showSubject,callback:function(e){t.showSubject=e},expression:"showSubject"}},[e("van-picker",{attrs:{"show-toolbar":t.showSubject,columns:t.subjectList},on:{confirm:t.onConfirmSubject,cancel:t.onCancelSubject}})],1),t.progressData.uploadVideo?e("uploadFile",{ref:"uploadFileRef",on:{progressUpdate:t.videoProgressUpdate,delUpload:t.videoDelUpload,success:t.updateVideoSuccess,startUpload:t.videoStartUpload}}):t._e(),e("van-dialog",{attrs:{title:"视频查看","show-cancel-button":""},model:{value:t.showVideo,callback:function(e){t.showVideo=e},expression:"showVideo"}},[t.option.sources&&t.showVideo?e("div",{staticClass:"showVideoDialogBox"},[e("video-player",{staticStyle:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center"},attrs:{playsinline:!0,options:t.option}})],1):t._e()])],1)},V=[],q=i("ade3"),_=(i("4662"),i("28a2")),Y=(i("5b81"),function(){var t=this,e=t._self._c;return e("div",{ref:"chartRef",staticClass:"chart",attrs:{id:"charts_canvas"}})}),G=[],H=i("313e"),W=(i("87a1"),{props:{data:{type:Object,default:function(){}}},data:function(){return{chartObj:null,chartData:null}},watch:{data:function(){this.getChartData()}},methods:{getChartData:function(){var t=this;this.chartObj=H["init"](this.$refs.chartRef),this.chartObj.setOption(this.data),window.addEventListener("resize",(function(){t.chartObj.resize()}))}},mounted:function(){this.getChartData()}}),z=W,X=(i("3c3f"),Object(I["a"])(z,Y,G,!1,null,"585fb6d0",null)),Z=X.exports,$=function(){var t=this,e=t._self._c;return e("div",{staticClass:"uploadBox"})},tt=[],et=(i("fb6a"),i("2532"),{emits:["progressUpdate"],data:function(){return{bucket:"",bucketname:"ccrb",uploadid:"",partsize:10485760,filestate:{status:"",percent:""},file:null,flag:!0}},watch:{filestate:{handler:function(t){this.$emit("progressUpdate",t)},immediate:!0,deep:!0}},methods:{initMultipartUpload:function(t,e){var a=this;return Object(c["a"])(Object(r["a"])().mark((function i(){var s,n;return Object(r["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return s={Bucket:a.bucketname,Key:t,ContentType:e.type,ACL:"public-read"},i.next=3,a.bucket.createMultipartUpload(s).promise();case 3:return n=i.sent,i.abrupt("return",n.UploadId);case 5:case"end":return i.stop()}}),i)})))()},uploadPart:function(t,e,a,i,s,n){var o=this;return Object(c["a"])(Object(r["a"])().mark((function c(){var l,d;return Object(r["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(o.flag){r.next=2;break}return r.abrupt("return");case 2:return l={Bucket:o.bucketname,Key:e,PartNumber:i,UploadId:a,Body:t.slice(s,n)},r.next=5,o.bucket.uploadPart(l).promise();case 5:return d=r.sent,r.abrupt("return",{ETag:d.ETag,PartNumber:i});case 7:case"end":return r.stop()}}),c)})))()},completeMultipartUpload:function(t,e,a){var i=this;return Object(c["a"])(Object(r["a"])().mark((function s(){var n;return Object(r["a"])().wrap((function(s){while(1)switch(s.prev=s.next){case 0:if(i.flag){s.next=2;break}return s.abrupt("return");case 2:return n={Bucket:i.bucketname,Key:e,MultipartUpload:{Parts:t},UploadId:a},s.next=5,i.bucket.completeMultipartUpload(n).promise();case 5:return s.abrupt("return",s.sent);case 6:case"end":return s.stop()}}),s)})))()},abortMultipartUpload:function(t,e){var a=this;return Object(c["a"])(Object(r["a"])().mark((function i(){var s;return Object(r["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return s={Bucket:a.bucketname,Key:t,UploadId:e},i.next=3,a.bucket.abortMultipartUpload(s).promise();case 3:i.sent,a.$emit("delUpload");case 5:case"end":return i.stop()}}),i)})))()},init:function(){var t=this;return Object(c["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={accessKeyId:"AKIATLPEDU37QV5CHLMH",secretAccessKey:"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",region:"cn-northwest-1"},window.AWS.config.update(a),t.bucket=new window.AWS.S3({params:{Bucket:t.bucketname}}),e.abrupt("return",t.bucket);case 4:case"end":return e.stop()}}),e)})))()},getawscheckpoint:function(t){var e=this;return Object(c["a"])(Object(r["a"])().mark((function a(){var i,s;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.bucket.listMultipartUploads({Bucket:e.bucketname,Prefix:t}).promise();case 3:if(s=a.sent,!s.Uploads.length){a.next=9;break}return e.uploadid=s.Uploads[s.Uploads.length-1].UploadId,a.next=8,e.bucket.listParts({Bucket:e.bucketname,Key:t,UploadId:e.uploadid}).promise();case 8:i=a.sent;case 9:a.next=14;break;case 11:a.prev=11,a.t0=a["catch"](0),console.log(a.t0);case 14:return a.abrupt("return",{uploadid:e.uploadid,partsinfo:i});case 15:case"end":return a.stop()}}),a,null,[[0,11]])})))()},awsuploadpart:function(t,e,a,i,s){var n=this;return Object(c["a"])(Object(r["a"])().mark((function t(){var o,c,l,d,u,p,h,g;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:o=[],c=i.map((function(t){return o.push(t.PartNumber),{PartNumber:t.PartNumber,ETag:t.ETag}})),d=0,u=0,p=Math.ceil(e.size/n.partsize),o.length&&(n.filestate.status="processing",n.filestate.percent=parseInt(100*c.length/p)),h=0;case 7:if(!(h<p)){t.next=29;break}if(n.flag){t.next=10;break}return t.abrupt("break",29);case 10:if(d=h*n.partsize,u=(h+1)*n.partsize,o.includes(h+1)){t.next=26;break}return t.next=15,n.uploadPart(e,s,a,h+1,d,u);case 15:if(l=t.sent,null==l.ETag){t.next=23;break}c.push(l),o.push(l.PartNumber),n.filestate.status="processing",n.filestate.percent=parseInt(100*c.length/p),t.next=26;break;case 23:return n.filestate.status="fail",n.stopUpload(),t.abrupt("return");case 26:h++,t.next=7;break;case 29:if(!n.flag){t.next=35;break}return t.next=32,n.completeMultipartUpload(c,s,a);case 32:return g=t.sent,n.filestate.status="success",t.abrupt("return",g);case 35:case"end":return t.stop()}}),t)})))()},awsupload:function(t){var e=this;return Object(c["a"])(Object(r["a"])().mark((function a(){var i,s,n,o,l,d;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i=t.file,s=void 0===i?e.file:i,n=t.keyName,o=t.folderName,s){a.next=3;break}return a.abrupt("return",e.$message.error("请上传文件"));case 3:e.init(),l="",l=n||(o?"".concat(o,"/").concat(s.name):"".concat(s.name.split(".")[0]+(new Date).getTime()+"."+s.name.split(".")[s.name.split(".").length-1])),e.filestate={percent:0,status:"start"},e.filestate.percent=0,e.filestate.status="start",e.file=s,d={Bucket:e.bucketname,Key:l},e.flag=!0;try{e.bucket.headObject(d,function(){var t=Object(c["a"])(Object(r["a"])().mark((function t(a,i){var n,o,c,d,u,p,h;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!a){t.next=28;break}return t.next=3,e.getawscheckpoint(l,e.bucket);case 3:if(n=t.sent,o=n.uploadid,c=n.partsinfo,!o){t.next=16;break}return e.$emit("startUpload",{key:l,uploadid:o}),e.flag=!0,t.next=11,e.awsuploadpart(e.filestate,s,o,c.Parts,l);case 11:if(d=t.sent,!e.flag&&100!=e.filestate.percent){t.next=14;break}return t.abrupt("return",e.$emit("success",{data:d,key:l,uploadid:o}));case 14:t.next=26;break;case 16:return t.next=18,e.initMultipartUpload(l,s);case 18:return u=t.sent,e.$emit("startUpload",{key:l,uploadid:u}),e.flag=!0,t.next=23,e.awsuploadpart(e.filestate,s,u,[],l);case 23:if(p=t.sent,!e.flag&&100!=e.filestate.percent){t.next=26;break}return t.abrupt("return",e.$emit("success",{data:p,key:l,uploadid:u}));case 26:t.next=35;break;case 28:if(!i){t.next=35;break}if(e.filestate.percent=100,e.filestate.status="success",h="https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/".concat(l),e.file=null,!e.flag){t.next=35;break}return t.abrupt("return",e.$emit("success",{data:{Key:l,Location:h,ETag:i.ETag,size:i.ContentLength,ServerSideEncryption:i.ServerSideEncryption,Bucket:e.bucketname}}));case 35:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}())}catch(u){e.filestate.status="error",e.stopUpload(),console.log(u)}case 13:case"end":return a.stop()}}),a)})))()},stopUpload:function(){this.filestate.status="stop",this.flag=!1}},mounted:function(){this.bucket="",this.file=null}}),at=et,it=(i("f3b8"),Object(I["a"])(at,$,tt,!1,null,"09684a0d",null)),st=it.exports,nt=i("11c1"),ot={components:{bar:N["a"],eChartsView:Z,uploadFile:st},props:{page:{type:Number,default:1},bmData:{type:Object,default:function(){}},tid:{type:String,default:""},imageList:{type:Object,default:function(){}}},data:function(){return{minDate:new Date(2024,0,1),maxDate:new Date(2028,10,1),currentDate:new Date,changeTime:"",selectValue:"",value:"",show:!1,showTime:!1,showGrade:!1,showSubject:!1,videoLoading:!1,imageLoading:!1,showVideo:!1,NephogramLoading:!1,showTimeValue:this.bmData.jsonData.time,dateTime:"",gradeList:["小学一年级","小学二年级","小学三年级","小学四年级","小学五年级","小学六年级","初中一年级","初中二年级","初中三年级","高中一年级","高中二年级","高中三年级"],subjectList:["语文","数学","英语","科学","信息技术","心理","物理","化学","生物","历史","地理","通用技术","政治","STEM","美术","音乐","其他"],option:{playbackRates:[.7,1,1.5,2],autoplay:!1,muted:!1,loop:!1,preload:"auto",language:"zh-CN",aspectRatio:"16:9",fluid:!0,sources:"",notSupportedMessage:"此视频暂无法播放,请稍后再试",controlBar:{timeDivider:!0,durationDisplay:!0,remainingTimeDisplay:!1,fullscreenToggle:!0}},progressData:{stop:!1,uploadVideo:!1,value:0,status:"",key:"",uploadid:""}}},methods:{changeData:function(){this.$parent.saveData(this.bmData)},onConfirmTime:function(t){var e=new Date(t),a=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),r=String(e.getSeconds()).padStart(2,"0");this.bmData.jsonData.time="".concat(a,"-").concat(i,"-").concat(s," ").concat(n,":").concat(o,":").concat(r),this.showTime=!1,this.$parent.saveData(this.bmData)},onCancelTime:function(){this.showTime=!1},cutPage:function(){this.$emit("cutPage",1)},formatter:function(t,e){return"year"===t?e+"年":"month"===t?e+"月":"day"===t?e+"日":"hour"===t?e+"时":"minute"===t?e+"分":e},onConfirmGrade:function(t){this.bmData.jsonData.grade=t,this.changeData(),this.showGrade=!1},onCancelGrade:function(){this.showGrade=!1,console.log("取消")},onConfirmSubject:function(t){this.bmData.jsonData.subject=t,this.changeData(),this.showSubject=!1},onCancelSubject:function(){this.showSubject=!1,console.log("取消")},previewImage:function(t){Object(_["a"])([t])},addImage:function(){var t=this;if(!this.tid)return this.$toast.fail("请先选择课堂");var e=document.createElement("input");e.type="file",e.accept="image/*",e.click(),e.onchange=function(){t.imageLoading=!0;var a=e.files[0],i={accessKeyId:"AKIATLPEDU37QV5CHLMH",secretAccessKey:"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"};window.AWS.config.update(i),window.AWS.config.region="cn-northwest-1";var s=new window.AWS.S3({params:{Bucket:"ccrb"}}),n=t;if(a){var o={Key:a.name.split(".")[0]+(new Date).getTime()+"."+a.name.split(".")[a.name.split(".").length-1],ContentType:a.type,Body:a,"Access-Control-Allow-Credentials":"*",ACL:"public-read"},r={partSize:2147483648,queueSize:2,leavePartsOnError:!0};s.upload(o,r).on("httpUploadProgress",(function(t){})).send((function(t,e){if(t)n.$toast.fail("上传图片失败"),n.imageLoading=!1;else{var a="";0==n.imageList.jsonData.fileList1.length?a="fileList1":0==n.imageList.jsonData.fileList2.length?a="fileList2":0==n.imageList.jsonData.fileList3.length&&(a="fileList3"),a?(n.imageList.jsonData[a]=[{name:e.key,status:"success",uid:"1",url:e.Location}],n.$parent.saveData(n.imageList).then((function(t){n.imageLoading=!1,n.$toast.success("上传图片成功")}))):n.$toast.fail("上传图片失败")}}))}}},delImage:function(t){var e=this;u["a"].confirm({title:"删除课堂图片",message:"确定删除课堂图片?"}).then((function(){e.imageLoading=!0,e.imageList.jsonData[t]=[],e.$parent.saveData(e.imageList).then((function(t){e.imageLoading=!1,e.$toast.success("成功删除图片")}))})).catch((function(){console.log("不删除")}))},showVideoDialog:function(){this.option.sources=this.imageList.jsonData.videoList[0].url,this.showVideo=!0},addVideo:function(){var t=this;if(!this.tid)return this.$toast.fail("请选择课堂");var e=document.createElement("input");e.type="file",e.accept="video/*",e.click(),e.onchange=function(){t.progressData.uploadVideo=!0,t.progressData.stop=!1,t.progressData.status="",t.progressData.value=0;var a=e.files[0];t.$nextTick((function(){t.$refs.uploadFileRef.awsupload({file:a,folderName:t.tid})}))}},delVideo:function(){var t=this;u["a"].confirm({title:"删除课堂视频",message:"确定删除该视频?"}).then((function(){t.videoLoading=!0,t.imageList.jsonData.videoList=[],t.$parent.saveData(t.imageList).then((function(e){t.videoLoading=!1,t.$toast.success("成功删除视频")}))})).catch((function(){console.log("不删除")}))},videoStartUpload:function(t){var e=t.key,a=t.uploadid;this.progressData.uploadid=a,this.progressData.key=e,this.progressData.status="start"},updateVideoSuccess:function(t){var e=this;if(t.data){this.progressData.uploadVideo=!1,this.progressData.stop=!1,this.progressData.uploadid="",this.progressData.status="",this.progressData.value=0;var a=t.data;this.$refs.uploadFileRef.file=null,this.videoLoading=!0,this.imageList.jsonData.videoList=[{name:a.Key,status:"success",uid:"qgt",url:a.Location}],this.$parent.saveData(this.imageList).then((function(t){e.videoLoading=!1,e.$toast.success("上传视频成功")}))}},videoProgressUpdate:function(t){"processing"==t.status?(this.progressData.value=t.percent,this.progressData.status=t.status):"fail"==t.status?(this.progressData.value=t.percent,this.progressData.status=t.status,this.$toast.fail("上传发生错误,请点击继续上传"),this.$refs.uploadFileRef.stopUpload()):"success"==t.status?(this.progressData.value=t.percent,this.progressData.status=t.status,this.$refs.uploadFileRef.stopUpload()):"error"==t.status&&(this.progressData.stop=!0,this.progressData.status=t.status,this.$refs.uploadFileRef.stopUpload(),this.$toast.fail("传发生错误,请重新上传")),console.log(this.progressData)},videoDelUpload:function(t){this.progressData.uploadVideo=!1,this.progressData.uploadid="",this.progressData.key="",this.progressData.status="",this.progressData.stop=!1,this.progressData.value=0,this.$toast.success("已删除视频")},stopUploadVideo:function(){this.$refs.uploadFileRef.stopUpload(),this.progressData.stop=!0,this.$toast.success("已停止上传")},startUploadVideo:function(){this.$refs.uploadFileRef.file&&this.progressData.key?this.$refs.uploadFileRef.awsupload({keyName:this.progressData.key}):this.addVideo(),this.progressData.stop=!1},delUploadVideo:function(){this.$refs.uploadFileRef.stopUpload(),this.$refs.uploadFileRef.abortMultipartUpload(this.progressData.key,this.progressData.uploadid)},addNephogram:function(){var t=this;if(!this.tid)return this.$toast.fail("请选择课堂");if(this.NephogramLoading)return this.$toast("请稍等...");this.NephogramLoading=!0;var e='NOTICE\nLanguage: Please use the same language as the user requirement, if the user speaks Chinese, the specific text of your answer should also be in Chinese.\nATTENTION: Use \'##\' to SPLIT SECTIONS, not \'#\'. Output format carefully referenced "Format example".\nInstruction: Based on the context, follow "Format example", write content.\n\n## 任务\n\n请基于以下课堂实录文本(大约5000字),提炼出20-30个关键词,用于绘制词云图。请给出相应的关键词,关键词出现的频次,词云图上的大小。请确保输出的关键字准确反映课堂实录的主要内容和主题。\n\n## 要求\n\n1. **提取关键词**:从提供的课堂实录文本中提取出20-30个最具代表性的关键字。关键词应该涵盖课堂实录中的主要概念、重要术语和核心主题。尽量选择多样化的关键词,避免过于集中在某一个主题或概念上。\n2. **词频统计**:计算每个关键字在文本中出现的频率。\n3. **词汇大小**:根据词频数量,确定每个关键字在词云图中的大小。词频越高,词汇大小数值越大,数值范围1-100。\n4. **输出格式**:输出结果应包含每个关键字、对应的词频数量以及词汇大小数值。\n\n## 输出格式\n\n### 输出格式\n\n[\n\t{"value":1,"name":"氯化钠","textStyle":{"color":"#ee7959"}},\n\t{"value":2,"name":"溶液","textStyle":{"color":"#db9b34"}},\n\t{"value":1,"name":"实验","textStyle":{"color":"#9d9d82"}},\n\t{"value":3,"name":"质量分数","textStyle":{"color":"#ea5514"}},\n\t{"value":1,"name":"溶质","textStyle":{"color":"#c8161d"}},\n\t{"value":2,"name":"氢氧化钠","textStyle":{"color":"#e60012"}},\n\t{"value":1,"name":"溶解度","textStyle":{"color":"#1e2732"}},\n\t{"value":4,"name":"饱和溶液","textStyle":{"color":"#e3adb9"}}\n]\n\n请仅仅输出表头,输出关键词和相应的内容,无需其它任何说明文字。\n冒号、逗号等符号均使用英文字符。\n\n### 输出示例\n\n[\n\t{"value":1,"name":"氯化钠","textStyle":{"color":"#ee7959"}},\n\t{"value":2,"name":"溶液","textStyle":{"color":"#db9b34"}},\n\t{"value":1,"name":"实验","textStyle":{"color":"#9d9d82"}},\n\t{"value":3,"name":"质量分数","textStyle":{"color":"#ea5514"}},\n\t{"value":1,"name":"溶质","textStyle":{"color":"#c8161d"}},\n\t{"value":2,"name":"氢氧化钠","textStyle":{"color":"#e60012"}},\n\t{"value":1,"name":"溶解度","textStyle":{"color":"#1e2732"}},\n\t{"value":4,"name":"饱和溶液","textStyle":{"color":"#e3adb9"}}\n]\n\n## 课堂实录 \n'.concat(this.bmData.jsonData.editorBarData?this.bmData.jsonData.editorBarData.content:"","\n"),a=Object(nt["v4"])(),i={model:"gpt-4o-2024-08-06",temperature:0,max_tokens:4096,top_p:1,frequency_penalty:0,presence_penalty:0,messages:[{role:"user",content:e}],uid:a,mind_map_question:"",stream:!1};Object(v["a"])(i).then((function(e){var a=e.FunctionResponse.choices[0],i=a.message.content;i=i.replaceAll("```json","").replaceAll("```","");var s=JSON.parse(i);t.imageList.jsonData.NephogramList=[{tooltip:{show:!1},series:[Object(q["a"])(Object(q["a"])(Object(q["a"])({type:"wordCloud",sizeRange:[14,38],rotationRange:[0,0],keepAspect:!1,shape:"circle",left:"center",top:"center",right:null,bottom:null,width:"90%",height:"90%"},"rotationRange",[-90,90]),"rotationStep",45),"data",s)]}],t.$parent.saveData(t.imageList).then((function(e){t.NephogramLoading=!1,t.$toast.success("生成词云图成功")}))})).catch((function(e){console.log(e),t.$toast.fail("生成词云图失败"),t.NephogramLoading=!1}))},delNephogram:function(){var t=this;u["a"].confirm({title:"删除词云图",message:"确定删除该词云图?"}).then((function(){t.NephogramLoading=!0,t.imageList.jsonData.NephogramList=[],t.$parent.saveData(t.imageList).then((function(e){t.NephogramLoading=!1,t.$toast.success("成功删除词云图")}))})).catch((function(){console.log("不删除")}))}}},rt=ot,ct=(i("823f"),Object(I["a"])(rt,M,V,!1,null,"4137e928",null)),lt=ct.exports,dt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"stencilled"},[e("bar",{attrs:{tit:"模版中心",backPage:0},on:{cutPage:t.cutPage}}),e("div",{staticStyle:{height:"55px",width:"100%"}}),e("div",{staticClass:"selectInp"},[e("van-search",{attrs:{shape:"round",placeholder:"搜索表单"},model:{value:t.selectValue,callback:function(e){t.selectValue=e},expression:"selectValue"}}),e("span",{on:{click:function(e){return e.stopPropagation(),t.getData()}}},[t._v("搜索")])],1),e("div",{staticClass:"sortList"},[e("div",{class:[0==t.tagIndex?"sortActive":""],on:{click:function(e){return e.stopPropagation(),t.changeTagIndex(0)}}},[t._v("社区")]),e("div",{class:[1==t.tagIndex?"sortActive":""],on:{click:function(e){return e.stopPropagation(),t.changeTagIndex(1)}}},[t._v("我的")]),e("div",{class:[2==t.tagIndex?"sortActive":""],on:{click:function(e){return e.stopPropagation(),t.changeTagIndex(2)}}},[t._v("收藏")]),e("div",{staticClass:"sortImg",on:{click:t.reveal}},[e("img",{attrs:{src:i("fb38"),alt:""}}),t._v(" 筛选")])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"stencilList"},t._l(t.templateData,(function(a,i){return e("div",{key:a.id,staticStyle:{"margin-bottom":"15px"},on:{click:function(e){return t.choiceTemplate(a)}}},[e("stencilledCon",{attrs:{data:a,isChoice:t.choiceTemplateId==a.id,tagSubjectList:t.tagSubjectList,collectData:t.collectData}})],1)})),0),e("div",{staticClass:"botBtn"},[e("div",{class:["btn",t.choiceTemplateId?"":"btnDisabled"],on:{click:function(e){return t.getAnalysisAndUse()}}},[t._v(" 使用该模版创建课堂 ")])]),e("van-action-sheet",{attrs:{title:"全部筛选"},model:{value:t.sortShow,callback:function(e){t.sortShow=e},expression:"sortShow"}},[e("div",{staticClass:"actionCon"},[e("div",{staticClass:"sheetTit"},[t._v("学科")]),e("div",{staticClass:"claList"},t._l(t.tagSubjectList,(function(a,i){return e("div",{key:i,class:["ListBlc",t.tagSubject2==a.value?"ListBlcActive":""],on:{click:function(e){e.stopPropagation(),t.tagSubject2=a.value}}},[t._v(" "+t._s(a.label)+" ")])})),0),e("div",{staticClass:"actionBtn"},[e("div",{staticClass:"btn",on:{click:function(e){return e.stopPropagation(),t.revealReset.apply(null,arguments)}}},[t._v("重置")]),e("div",{staticClass:"btn btn1",on:{click:function(e){return e.stopPropagation(),t.revealSubmit.apply(null,arguments)}}},[t._v("确认")])])])]),e("van-action-sheet",{directives:[{name:"loading",rawName:"v-loading",value:t.saveTemplateLoading,expression:"saveTemplateLoading"}],attrs:{title:t.analysisDetail?t.analysisDetail.name:"预览模板"},on:{closed:t.closeSheet},model:{value:t.templateShow,callback:function(e){t.templateShow=e},expression:"templateShow"}},[t.templateShow&&t.analysisDetail?e("div",{staticClass:"actionTel"},[e("div",{staticClass:"telCon"},[e("div",{staticClass:"telConCell"},[e("div",{staticClass:"tit"},[e("div",[t._v("通用课堂分析")])]),e("div",{staticClass:"list"},t._l(t.analysisDetail.tips.filter((function(t){return 0==t.Type})),(function(a,s){return e("div",{directives:[{name:"show",rawName:"v-show",value:2!==a.tIndex,expression:"item.tIndex !== 2"}],key:s+"-0",staticClass:"cell"},[e("div",[t._v(t._s(a.jsonData.name))]),t.isEditTel?e("span",{on:{click:function(e){return e.stopPropagation(),t.delTips(a,s,0)}}},[e("img",{attrs:{src:i("867c")}})]):t._e()])})),0)]),e("div",{staticClass:"telConCell"},[e("div",{staticClass:"tit"},[e("div",[t._v("学科课堂分析")])]),e("div",{staticClass:"list"},t._l(t.analysisDetail.tips.filter((function(t){return 1==t.Type})),(function(a,s){return e("div",{key:s+"-1",staticClass:"cell"},[e("div",[t._v(" "+t._s(a.jsonData.name)+" ")]),t.isEditTel?e("span",{on:{click:function(e){return e.stopPropagation(),t.delTips(a,s,1)}}},[e("img",{attrs:{src:i("867c")}})]):t._e()])})),0)]),e("div",{staticClass:"telConCell"},[e("div",{staticClass:"tit"},[e("div",[t._v("扩展课堂分析")])]),e("div",{staticClass:"list"},t._l(t.analysisDetail.tips.filter((function(t){return 2==t.Type})),(function(a,s){return e("div",{key:s+"-2",staticClass:"cell"},[e("div",[t._v(t._s(a.jsonData.name))]),t.isEditTel?e("span",{on:{click:function(e){return e.stopPropagation(),t.delTips(a,s,2)}}},[e("img",{attrs:{src:i("867c")}})]):t._e()])})),0)])]),e("div",{staticClass:"actionBtn"},[t.userId!==t.analysisDetail.userid||t.isEditTel?t._e():e("div",{staticClass:"btn",on:{click:function(e){return t.editTel(!0)}}},[t._v("编辑模板")]),t.isEditTel||t.defaultData&&t.defaultData.id===t.analysisDetail.id?t._e():e("div",{staticClass:"btn",on:{click:function(e){return e.stopPropagation(),t.setDefaultTemplate(t.analysisDetail)}}},[t._v(" 设为默认 ")]),t.isEditTel?t._e():e("div",{staticClass:"btn btn1",on:{click:function(e){return e.stopPropagation(),t.useAnalysis(t.analysisDetail)}}},[t._v("使用模板")]),t.userId===t.analysisDetail.userid&&t.isEditTel?e("div",{staticClass:"btn",on:{click:function(e){return t.editTel(!1)}}},[t._v("取消编辑")]):t._e(),t.isEditTel?e("div",{staticClass:"btn btn1",on:{click:function(e){return e.stopPropagation(),t.saveTemplate.apply(null,arguments)}}},[t._v("保存模板")]):t._e()])]):t._e()])],1)},ut=[],pt=(i("a434"),function(){var t=this,e=t._self._c;return e("div",{class:["stencilledCon",t.isChoice?"stencilledConActive":""]},[e("div",{staticClass:"top"},[e("div",{staticClass:"tit"},[e("img",{attrs:{src:i("f116"),alt:""}}),t._v(t._s(t.data.name))]),e("div",{staticClass:"btn"},[-1==t.collectData.findIndex((function(e){return e.id==t.data.id}))?e("img",{attrs:{src:i("a845"),alt:""},on:{click:function(e){return e.stopPropagation(),t.collect(0)}}}):e("img",{attrs:{src:i("b5d3"),alt:""},on:{click:function(e){return e.stopPropagation(),t.collect(1)}}}),e("div",{staticClass:"btnTxt",on:{click:function(e){return e.stopPropagation(),t.PerTel.apply(null,arguments)}}},[t._v("预览")])])]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.data.detail)+" ")]),e("div",{staticClass:"bom"},[e("div",[t._v(t._s(t.data.use)+"人已使用")]),e("div",[t._v(t._s(t.tagSubjectList.find((function(e){return e.value==t.data.type}))?t.tagSubjectList.find((function(e){return e.value==t.data.type})).label:""))])])])}),ht=[],gt={props:{data:{type:Object,default:{}},tagSubjectList:{type:Array,default:function(){return[]}},collectData:{type:Array,default:[]},isChoice:{type:Boolean,default:!1}},data:function(){return{}},methods:{PerTel:function(){this.$parent.previewTel(this.data)},collect:function(t){this.$parent.collect(t,this.data)}}},ft=gt,mt=(i("adaf"),Object(I["a"])(ft,pt,ht,!1,null,"29e59ef6",null)),vt=mt.exports,At={components:{bar:N["a"],stencilledCon:vt},props:{page:{type:Number,default:1}},data:function(){return{selectValue:"",sortShow:!1,abuShow:!1,loading:!1,saveTemplateLoading:!1,templateShow:!1,defaultData:null,tagIndex:0,templateData:[],collectData:[],tagSubject:"",tagSubject2:"",userId:this.$store.state.user.userinfo.userid,analysisDetail:null,choiceTemplateId:"",tagSubjectList:[{value:"1",label:"语文"},{value:"2",label:"数学"},{value:"3",label:"英语"},{value:"4",label:"科学"},{value:"5",label:"物理"},{value:"6",label:"化学"},{value:"7",label:"生物"},{value:"8",label:"历史"},{value:"9",label:"地理"},{value:"10",label:"政治"}],previewData:null,isEditTel:!1}},methods:{changeTagIndex:function(t){this.tagIndex=t,this.choiceTemplateId="",this.getData()},cutPage:function(){this.$emit("cutPage",1)},editTel:function(t){var e=this;this.isEditTel=t,t||u["a"].confirm({title:"放弃修改",message:"确定放弃修改内容?"}).then((function(){e.previewTel(e.analysisDetail)})).catch((function(){e.isEditTel=!0}))},reveal:function(){this.tagSubject2=this.tagSubject,this.sortShow=!0},revealSubmit:function(){this.tagSubject=this.tagSubject2,this.sortShow=!1,this.getData()},revealReset:function(){this.tagSubject="",this.tagSubject2=""},previewTel:function(t){var e=this;this.loading=!0,Object(v["g"])({uid:this.userId,cid:t.id,st:0}).then((function(t){var a=t[0][0];a?(a.tips=JSON.parse(a.tips),e.analysisDetail=a,e.templateShow=!0):e.$toast.fail("获取模板详细为空")})).catch((function(t){console.log(t),e.$toast.fail("获取模板详细失败")})).finally((function(t){e.loading=!1}))},getMyselfData:function(){var t=this;this.loading=!0,this.templateData=[];var e={uid:this.userId,txt:this.selectValue,sub:this.tagSubject,type1:1};Object(v["h"])(e).then((function(e){var a=e[0];t.templateData=a})).catch((function(e){console.log(e),t.$toast.fail("获取数据失败")})).finally((function(){t.loading=!1}))},getCollectData:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.loading=!0,e&&(this.templateData=[]);var a={uid:this.userId,txt:this.selectValue,sub:this.tagSubject,type1:2};Object(v["h"])(a).then((function(a){var i=a[0];e&&(t.templateData=i),t.collectData=i})).catch((function(e){console.log(e),t.$toast.fail("获取数据失败")})).finally((function(){t.loading=!1}))},getPublicData:function(){var t=this;this.loading=!0,this.templateData=[];var e={uid:this.userId,txt:this.selectValue,sub:this.tagSubject,type1:0};Object(v["h"])(e).then((function(e){var a=e[0];t.templateData=a})).catch((function(e){console.log(e),t.$toast.fail("获取数据失败")})).finally((function(){t.loading=!1}))},getDefaultTemplate:function(){var t=this,e={uid:this.userId};Object(v["f"])(e).then((function(e){var a=e[0][0];t.defaultData=a})).catch((function(e){t.$toast.fail("获取默认模板失败"),console.log(e)}))},getData:function(){0==this.tagIndex?this.getPublicData():1==this.tagIndex?this.getMyselfData():2==this.tagIndex&&this.getCollectData()},closeSheet:function(){this.analysisDetail=null,this.isEditTel=!1},collect:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1?arguments[1]:void 0;this.loading=!0;var i=0==e?a.id:this.collectData.filter((function(t){return t.id==a.id}))[0].id2;Object(v["o"])([{uid:this.userId,cid:i,type:e}]).then((function(t){})).catch((function(e){t.$toast.fail("操作失败")})).finally((function(e){t.loading=!1,2==t.tagIndex?t.getCollectData():t.getCollectData(!1)}))},delTips:function(t,e,a){var i=this;u["a"].confirm({title:"删除分析",message:'确定删除 "'.concat(t.jsonData.name,'" 这个分析?')}).then((function(){var e=i.analysisDetail.tips.findIndex((function(e){return JSON.stringify(e)===JSON.stringify(t)}));if(-1!=e){var a=JSON.parse(JSON.stringify(i.analysisDetail.tips));a.splice(e,1),i.analysisDetail.tips=a}})).catch((function(){console.log("不删除")}))},saveTemplate:function(){var t=this;if(this.saveTemplateLoading=!0,this.analysisDetail.userid!==this.userId)return this.isEditTel=!1,this.$toast.fail("您没有权限修改此模板");var e=[{uid:this.userId,cid:this.analysisDetail.id,title:this.analysisDetail.name,jsonData:JSON.stringify(this.analysisDetail.tips)}];Object(v["p"])(e).then((function(e){t.$toast.success("保存成功"),t.isEditTel=!1})).catch((function(e){console.log(e),t.$toast.fail("保存失败")})).finally((function(e){t.saveTemplateLoading=!1}))},choiceTemplate:function(t){if(this.choiceTemplateId==t.id)return this.choiceTemplateId="";this.choiceTemplateId=t.id},useAnalysis:function(t){var e=this;u["a"].confirm({title:"使用模板",message:'确定使用 "'.concat(t.name,'" 这个模板来创建课堂?')}).then((function(){Object(v["g"])({uid:e.userId,cid:t.id,st:1}).then((function(t){var a=i("b532"),s=a.Converter({from:"hk",to:"cn"}),n=t[0][0];n.tips=JSON.parse(n.tips);var o=[];n.tips.forEach((function(t){if(s("词频词汇分析")!=s(t.jsonData.name)){var e={jsonData:t.jsonData,type:t.Type,index:t.tIndex};o.push(e)}})),e.$parent.addNewCourseByTemplate(o),e.cutPage(1)})).catch((function(t){e.$toast.fail("获取默认模板失败"),console.log(t)}))})).catch((function(){console.log("不使用")}))},getAnalysisAndUse:function(){var t=this;if(!this.choiceTemplateId)return this.$toast("请先选择模板");var e=this.templateData.find((function(e){return e.id==t.choiceTemplateId}));e&&this.useAnalysis(e)},setDefaultTemplate:function(t){var e=this;u["a"].confirm({title:"设为默认模板",message:'确定将 "'.concat(t.name,'" 这个模板设为默认模板?')}).then((function(){var a=[{uid:e.userId,tid:t.id}];e.saveTemplateLoading=!0,Object(v["n"])(a).then((function(t){1==t?e.$toast.success("设置默认模板成功"):e.$toast.fail("设置默认模板失败"),e.getDefaultTemplate()})).catch((function(t){e.$toast.fail("设置默认模板失败"),console.log(t),e.getDefaultTemplate()})).finally((function(t){e.saveTemplateLoading=!1}))})).catch((function(){console.log("不设置")}))}},mounted:function(){this.getData(),this.getCollectData(!1),this.getDefaultTemplate()}},bt=At,Ct=(i("00b0"),Object(I["a"])(bt,dt,ut,!1,null,"64abbf7c",null)),Dt=Ct.exports,wt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"editTel"},[e("bar",{attrs:{tit:"编辑模板",backPage:0},on:{cutPage:t.cutPage}}),e("div",{staticStyle:{height:"55px",width:"100%"}}),e("div",{staticClass:"TelList"},t._l(5,(function(a){return e("div",{key:a,staticClass:"telConCell"},[e("div",{staticClass:"tit"},[e("div",[t._v("通用课堂分析")]),e("div",{staticStyle:{color:"rgba(54, 129, 252, 1)"},on:{click:t.addTel}},[t._v("添加模块")])]),t._l(5,(function(a){return e("div",{key:a+"a",staticClass:"list"},[e("van-swipe-cell",{scopedSlots:t._u([{key:"right",fn:function(){return[e("van-button",{staticClass:"delete-button",attrs:{square:"",text:"删除",type:"danger"}})]},proxy:!0}],null,!0)},[e("div",{staticClass:"cell"},[t._v("omo智慧课堂分析")])])],1)}))],2)})),0),e("div",{staticClass:"bot"},[e("div",{staticClass:"botBtn",on:{click:t.saveTel}},[t._v("另存为模板")])]),e("van-popup",{model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[e("div",{staticClass:"popupCon"},[e("div",{staticClass:"tit"},[t._v("模板信息")]),e("div",{staticClass:"bri"},[t._v("请根据提示补充模版信息")]),e("div",[e("el-input",{attrs:{placeholder:"模版名称"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),e("el-input",{attrs:{type:"textarea",rows:3,resize:"none",placeholder:"模版简介"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),e("el-select",{attrs:{placeholder:"所属学科"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"switch"},[e("span",{staticStyle:{"margin-right":"5px"}},[t._v("公开到社区")]),e("el-switch",{attrs:{"active-color":"rgba(54, 129, 252, 1)"},model:{value:t.switchValue,callback:function(e){t.switchValue=e},expression:"switchValue"}})],1)]),e("div",{staticClass:"btnS"},[e("div",{on:{click:t.cancell}},[t._v("取消")]),e("div",{staticStyle:{color:"rgba(54, 129, 252, 1)"},on:{click:t.saveInfo}},[t._v("保存")])])])],1)},yt=[],It={components:{bar:N["a"]},data:function(){return{showPopup:!1,input:"",switchValue:!1,options:[{value:"选项1",label:"黄金糕"},{value:"选项2",label:"双皮奶"}],value:""}},methods:{cutPage:function(){this.$emit("cutPage",5)},cancell:function(){this.showPopup=!1},saveInfo:function(){this.$message.success("模版已保存"),this.showPopup=!1},addTel:function(){this.$emit("cutPage",7)},saveTel:function(){this.showPopup=!0},getData:function(){}}},xt=It,jt=(i("5e97"),Object(I["a"])(xt,wt,yt,!1,null,"c9bc325e",null)),St=jt.exports,Lt=i("8b58"),kt=i("b703"),Bt={components:{homePage:E,bindFrom:J,classInfo:lt,stencilled:Dt,editTel:St,addTel:Lt["a"],outcome:kt["default"]},data:function(){return{userId:this.$store.state.user.id,page:1,loading:!1,currencyLoading:!0,baseMessageLoading:!0,scienceLoading:!0,extendLoading:!0,classList:[],bmData:{id:"",tId:"",tIndex:0,jsonData:{activity_methods:"",activity_structure:"",classroom_resources:"",courseName:"",name:"",studentNum:0,subject:"",textbook:"",transcriptionData:"",editorBarData:{type:"0",content:"",url:""}}},imageList:{},dataList:[],tid:"",fileId:"",fileIdId:"",actionTypesMap:{},analysisList:[{title:"OMO智慧课堂分析",brief:"多维度分析课堂整体情况",value:"4cc367c1-0076-11ef-aaca-12e77c4cb76b",type:0,sum:157},{title:"教学阶段九事件分析",brief:"使用加涅九事件分析教学环节",value:"5e0466b3-0075-11ef-aaca-12e77c4cb76b",type:0,sum:540},{title:"布鲁姆问题分类",brief:"不同认知层次问题分布情况",value:"eac63117-00a7-11ef-aaca-12e77c4cb76b",type:0,sum:405},{title:"麦卡锡问题分类",brief:"不同类型问题分布情况",value:"18545cf7-0125-11ef-aaca-12e77c4cb76b",type:0,sum:360},{title:"学生回答情况",brief:"学生回答情况分析",value:"2c6ede88-0125-11ef-aaca-12e77c4cb76b",type:0,sum:206},{title:"S-T分析:课堂时间分配",brief:"多维度分析课堂整体情况",value:"st1",type:0,sum:451},{title:"S-T分析:师生互动分析",brief:"多维度分析课堂整体情况",value:"st2",type:0,sum:342},{title:"S-T分析:教学模式分析",brief:"多维度分析课堂整体情况",value:"st3",type:0,sum:143},{title:"课堂活动类型",brief:"识别特定的课堂活动类型",value:"41d2d2d4-0125-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:430},{title:"学科核心素养发展",brief:"分析与学科核心素养的匹配情况",value:"a6c0b92b-06de-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:234},{title:"科学教育目标分析",brief:"分析四类科学教育目标的情况",value:"d6cd48ab-0125-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:513},{title:"PORTAAL课堂观察",brief:"使用PORTAAL框架分析科学课堂",value:"8ab07d41-e143-11ee-aaca-12e77c4cb76b",subject:"科学",type:1,sum:173},{title:"UTOP课堂观察",brief:"使用UTOP框架分析科学课堂",value:"8e3a389b-014f-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:329},{title:"L-PST模型",brief:"使用L-PST框架分析科学课堂",value:"e649112e-0150-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:421},{title:"RTOP课堂观察",brief:"使用RTOP框架分析科学课堂",value:"68265b18-0151-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:527},{title:"课程质量评价",brief:"多维度分析课堂整体情况",value:"25e53379-0152-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:391},{title:"SCOP课堂观察",brief:"使用SCOP框架分析科学课堂",value:"d0c76d35-0152-11ef-aaca-12e77c4cb76b",subject:"科学",type:1,sum:407},{title:"KWL教学策略",brief:"分析课前、课中、课后的教学成果",value:"a5d8664b-1748-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:135},{title:"LICC课堂观察",brief:"崔允漷教授团队的观察框架",value:"9e8e6356-1769-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:614},{title:"读思达教学法",brief:"分析课堂阅读、思考、表达的情况",value:"d139ed78-176c-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:346},{title:"教学内容分析",brief:"从教学内容角度观课评教",value:"9e8e6356-1769-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:527},{title:"提问策略分析",brief:"基于提问观察表分析课堂提问",value:"eb815b01-1769-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:389},{title:"教师反馈分析",brief:"分析语文课堂师生言语互动行为",value:"55ae5176-176a-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:319},{title:"师生互动分析",brief:"分析语文课堂四种不同的互动状态",value:"8e4b6b48-176a-11ef-aaca-12e77c4cb76b",subject:"语文",type:1,sum:191},{title:"5E课程改编",brief:"基于5E教学模型设计一堂课",value:"f757826e-0125-11ef-aaca-12e77c4cb76b",type:2,sum:510},{title:"5EX课程改编",brief:"基于5EX教学模型设计一堂课",value:"0b6b08b7-0126-11ef-aaca-12e77c4cb76b",type:2,sum:611},{title:"C-POTE课程改编",brief:"C-POTE课程改编",value:"6b4a9650-48be-11ef-936b-12e77c4cb76b",type:2,sum:165}]}},methods:{cutPage:function(t){this.page=t},getCourseList:function(){var t=this;return this.loading=!0,new Promise((function(e,a){Object(v["i"])({userid:t.userId}).then((function(a){var i=a.FunctionResponse.result,s=[];try{s=i?JSON.parse(i):[]}catch(o){s=[]}if(s.length<=0)return t.loading=!1,void e();var n=s.map((function(t){return t.jsonData=t.jsonData?JSON.parse(t.jsonData):{},{label:t.jsonData.courseName?t.jsonData.courseName:"".concat(t.tId,"课堂"),value:t.tId,id:t.id,newLabel:t.jsonData.courseName?t.jsonData.courseName:"".concat(t.tId,"课堂"),show:!1,edit:!1}}));n=n.filter((function(t){return""!=t.label&&""!=t.tId})),t.classList=n,t.loading=!1,e()})).catch((function(a){console.log(a),e(),t.$message.error("获取课堂列表失败")}))}))},changeTid:function(t){var e=this;return Object(c["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e.tid!=t){a.next=2;break}return a.abrupt("return");case 2:if(i=e.tid!==t,e.tid=t,i&&e.getData(),e.getFileIdId(),e.tid){a.next=9;break}return e.actionTypesMap=void 0,a.abrupt("return");case 9:return a.next=11,e.loadActionTypesMap();case 11:if(e.actionTypesMap=a.sent,e.actionTypesMap){a.next=18;break}return a.next=15,e.insertActionTypes();case 15:return a.next=17,e.loadActionTypesMap();case 17:e.actionTypesMap=a.sent;case 18:case"end":return a.stop()}}),a)})))()},editClassName:function(t){var e=this,a=this.classList.findIndex((function(e){return e.id==t.id}));-1!=a&&(this.tid==t.value?(this.$refs.homePageRef.historyListLoading=!0,this.bmData.jsonData.courseName=t.newLabel,this.saveData(this.bmData).then((function(i){e.$refs.homePageRef.historyListLoading=!1,e.classList[a].label=t.newLabel,e.classList[a].edit=!1,e.classList[a].show=!1,e.loading=!1,e.$toast.success("修改成功")}))):(this.$refs.homePageRef.historyListLoading=!0,Object(v["j"])({tid:t.value,type:0}).then((function(i){var s=i.FunctionResponse.result;s=JSON.parse(s);var n=s.find((function(t){return 0==t.tIndex}));n.jsonData=JSON.parse(n.jsonData),n.jsonData.courseName=t.newLabel,e.saveData(n).then((function(i){e.classList[a].label=t.newLabel,e.classList[a].edit=!1,e.classList[a].show=!1,e.loading=!1,e.$refs.homePageRef.historyListLoading=!1,e.$toast.success("修改成功")}))})).catch((function(t){console.log(t),e.$toast.fail("修改失败")}))))},delClass:function(t){var e=this;this.$refs.homePageRef.historyListLoading=!0,Object(v["c"])({tid:t.id}).then((function(a){e.$toast.success("删除成功"),e.getCourseList().then((function(a){t.value==e.tid&&(e.tid="",e.fileId="",e.fileIdId="",e.dataList=[],e.bmData={id:"",tId:"",tIndex:0,jsonData:{activity_methods:"",activity_structure:"",classroom_resources:"",courseName:"",name:"",studentNum:0,subject:"",textbook:"",transcriptionData:"",editorBarData:{type:"0",content:"",url:""}}},e.imageList={}),e.$refs.homePageRef.historyListLoading=!1}))}))},saveData:function(t){return new Promise((function(e,a){Object(v["q"])({id:t.id,json_data:JSON.stringify(t.jsonData)}).then((function(t){e()})).catch((function(t){console.log(t),console.log("保存失败"),e()}))}))},getCurrencyAndBaseMessageData:function(){var t=this;return new Promise((function(e){t.tid&&(t.loading=!0,t.currencyLoading=!0,t.baseMessageLoading=!0,Object(v["j"])({tid:t.tid,type:"0"}).then((function(a){var i,s=a.FunctionResponse.result.length?JSON.parse(a.FunctionResponse.result):[],n=s.find((function(t){return 0==t.tIndex}));n.jsonData=JSON.parse(n.jsonData),!n.jsonData.time&&(n.jsonData.time=""),!n.jsonData.editorBarData&&(n.jsonData.editorBarData={type:"0",content:"",url:""}),!n.jsonData.transcriptionData&&(n.jsonData.transcriptionData="");var o=s.find((function(t){return 1==t.tIndex}));o.jsonData=JSON.parse(o.jsonData),o.jsonData.videoList||(o.jsonData.videoList=[]),o.jsonData.NephogramList||(o.jsonData.NephogramList=[]);for(var r=[],c=2;c<s.length;c++){var l=s[c];l.jsonData=JSON.parse(l.jsonData),r.push(l)}(i=t.dataList).push.apply(i,r),t.bmData=n,t.imageList=o,t.baseMessageLoading=!1,t.currencyLoading=!1,t.loading=!1,e()})).catch((function(a){console.log(a),t.$toast.fail("获取通用分析失败"),e()})))}))},getScienceData:function(){var t=this;return new Promise((function(e){t.tid&&(t.scienceLoading=!0,Object(v["j"])({tid:t.tid,type:"1"}).then((function(a){var i,s=a.FunctionResponse.result.length?JSON.parse(a.FunctionResponse.result):[];if(0==s.length)return t.scienceLoading=!1;for(var n=[],o=0;o<s.length;o++){var r=s[o];r.jsonData=JSON.parse(r.jsonData),n.push(r)}(i=t.dataList).push.apply(i,n),t.scienceLoading=!1,e()})).catch((function(a){console.log(a),t.$toast.fail("获取科学分析失败"),e()})))}))},getExtendData:function(){var t=this;return new Promise((function(e){t.tid&&(t.extendLoading=!0,Object(v["j"])({tid:t.tid,type:"2"}).then((function(a){var i,s=a.FunctionResponse.result.length?JSON.parse(a.FunctionResponse.result):[];if(0==s.length)return t.extendLoading=!1;for(var n=[],o=0;o<s.length;o++){var r=s[o];r.jsonData=JSON.parse(r.jsonData),n.push(r)}(i=t.dataList).push.apply(i,n),t.extendLoading=!1,e()})).catch((function(a){console.log(a),t.$toast("获取扩展分析失败"),e()})))}))},getData:function(){var t=this;return this.dataList=[],this.imageList={},new Promise((function(e){Promise.all([t.getCurrencyAndBaseMessageData(),t.getScienceData(),t.getExtendData()]).then((function(t){console.log("所有分析获取完成"),e()}))}))},delAnalysis:function(t){var e=this;this.tid&&(this.currencyLoading=!0,this.baseMessageLoading=!0,this.scienceLoading=!0,this.extendLoading=!0,Object(v["d"])({id:t.id,type:t.Type,tid:this.tid}).then((function(a){e.dataList=e.dataList.filter((function(e){return e.id!=t.id})),e.$toast.success("删除成功"),e.currencyLoading=!1,e.baseMessageLoading=!1,e.scienceLoading=!1,e.extendLoading=!1})).catch((function(t){e.$toast.fail("删除失败"),e.currencyLoading=!1,e.baseMessageLoading=!1,e.scienceLoading=!1,e.extendLoading=!1})))},editAnalysis:function(t){this.tid&&(this.baseMessageLoading=!0,this.scienceLoading=!0,this.extendLoading=!0,editObsRequest({id:t.id,type:t.Type,tid:this.tid}).then((function(t){})))},addNewCourseByDefault:function(){var t=this,e=i("b532"),a=e.Converter({from:"hk",to:"cn"});return new Promise((function(e,i){var s={uid:t.userId};t.loading=!0,Object(v["f"])(s).then((function(i){var s=i[0][0];if(s){t.loading=!0,s.tips=JSON.parse(s.tips);var n=[];s.tips.forEach((function(t){if(a("词频词汇分析")!=a(t.jsonData.name)){var e={jsonData:t.jsonData,type:t.Type,index:t.tIndex};n.push(e)}})),t.loading=!1,t.addNewCourseByTemplate(n).then((function(t){e()}))}else t.loading=!1,t.$toast.fail("获取模板详细为空")}))}))},addNewCourseByTemplate:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!(e.length<=0)){var a=i("b532"),s=a.Converter({from:"hk",to:"cn"});return new Promise((function(a,i){t.loading=!0;var n=Object(nt["v4"])(),o={tid:n,userid:t.userId,template:e};Object(v["l"])(o).then((function(e){var i=e.FunctionResponse;s(i.message)==s("创建成功")?(t.changeTid(n),Object(v["m"])({tid:o.tid,type:10,index:0,json_data:JSON.stringify({file_ids:""}),userid:t.userId}).then((function(e){var i=e.FunctionResponse;s(i.message)==s("创建成功")?(t.loading=!1,t.$nextTick((function(){t.getCourseList().then((function(t){})),t.getFileIdId(),a()}))):t.$toast.fail("创建fileIds失败")}))):s(i.message)==s("tid重复")?(t.$toast.fail("该课堂已存在"),t.loading=!1):(t.$toast.fail("创建失败"),t.loading=!1)}))}))}},getFileIdId:function(){var t=this;if(this.tid){var e={tid:this.tid,type:"10"};this.fileIdId="",this.fileId="",Object(v["j"])(e).then((function(e){var a=e.FunctionResponse.result.length?JSON.parse(e.FunctionResponse.result):[];a.length<=0||(t.fileIdId=a[0].id,""!=a[0].jsonData?t.fileId=JSON.parse(a[0].jsonData).file_ids:t.fileId="")}))}},changeFileId:function(t){var e=this,a={id:this.fileIdId,jsonData:{file_ids:t}};this.saveData(a).then((function(t){console.log("更改并保存fileID成功"),e.getFileIdId()})).catch((function(t){console.log("更改并保存fileID失败",t)}))},changeAudioUrl:function(t){var e=this;this.imageList.jsonData.fileList=[];var a={name:t.key,status:"success",uid:"1",url:t.Location};this.imageList.jsonData.fileList.push(a),this.saveData(this.imageList).then((function(t){e.$toast.success("更换录音文件成功")}))},saveEditorBar:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.tid)return this.$toast.fail("请选择课堂");if("0"==this.bmData.jsonData.editorBarData.type&&e&&this.bmData.jsonData.editorBarData.content){var a=JSON.parse(JSON.stringify(this.bmData.jsonData.editorBarData)),i=a.content,s=new Blob([i],{type:"text/plain;charset=utf-8"});return s.lastModifiedDate=new Date,s.name="".concat(this.tid,"-classroomObservation.txt"),this.$refs.homePageRef.uploadFile(s,{changeText:!1,flag:!1})}var n=0,o=0,r=[],c=[];if(0==this.bmData.jsonData.editorBarData.type){var l=this.bmData.jsonData.editorBarData.content,d=document.createRange().createContextualFragment(l),u=d.querySelectorAll("table tbody tr");u.forEach((function(t,e){while(t.cells.length>7)t.removeChild(t.lastElementChild);var a=t.cells[6]&&t.removeChild(t.cells[6]);r.push(t.outerHTML),0!=e&&(""!=t.cells[3].textContent&&(n+=1,o+=t.cells[3].textContent.length),c.push(g.a.get(a,"textContent","")))}))}'<table\n\t\t\t\t\tborder="0"\n\t\t\t\t\twidth="100%"\n\t\t\t\t\tcellpadding="0"\n\t\t\t\t\tcellspacing="0"\n\t\t\t\t\tstyle="text-align: center"\n\t\t\t\t>\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t'.concat(r.join(""),"\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t\t");this.bmData.jsonData.editorBarData.sentenceNum=n,this.bmData.jsonData.editorBarData.wordsNum=o;var p=this.dataList.find((function(t){return 0==t.Type&&2==t.tIndex}));p&&(p.jsonData.wordCountNum=n,p.jsonData.wordNum=o,this.saveData(p).then((function(t){console.log("词频词汇分析已保存")}))),this.saveData(this.bmData).then((function(e){console.log("转录问稿已保存"),t.loading=!1})),this.actionTypesMap.jsonData["default"]=c,this.saveActionTypesMap()},loadActionTypesMap:function(){var t=this;return Object(c["a"])(Object(r["a"])().mark((function e(){var a,i,s;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(v["j"])({tid:t.tid,type:"11"});case 2:if(a=e.sent,i=g.a.get(a,["FunctionResponse","result"],"[]"),!(i instanceof Array)){e.next=6;break}return e.abrupt("return",void 0);case 6:return s=g.a.get(JSON.parse(i),0),e.abrupt("return",Object(o["a"])(Object(o["a"])({},s),{},{jsonData:JSON.parse(s.jsonData)}));case 8:case"end":return e.stop()}}),e)})))()},insertActionTypes:function(){var t=this;return Object(c["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(v["m"])({tid:t.tid,type:"11",json_data:JSON.stringify({default:[]}),index:0,userid:t.userId});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},saveActionTypesMap:function(){var t=this;return Object(c["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(v["q"])({id:t.actionTypesMap.id,json_data:JSON.stringify(t.actionTypesMap.jsonData)});case 3:return e.abrupt("return",e.sent);case 6:e.prev=6,e.t0=e["catch"](0),console.error(e.t0),t.$toast(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))()}},mounted:function(){this.getCourseList().then((function(t){}))}},Tt=Bt,Et=(i("b659"),Object(I["a"])(Tt,s,n,!1,null,"2f6b6da0",null));a["default"]=Et.exports},"0c61":function(t,e,a){t.exports=a.p+"static/img/success.eec0767c.svg"},"0ccf":function(t,e,a){t.exports=a.p+"static/img/start.1fdf063c.svg"},"0e68":function(t,e,a){t.exports=a.p+"static/img/endLang.21e19a13.svg"},1398:function(t,e,a){t.exports=a.p+"static/img/zhuanlu2.80e00c1d.svg"},1659:function(t,e,a){t.exports=a.p+"static/img/recording.6353378c.svg"},"18a2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEE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2AvzyUEZbTYrAqYReKbyXDSaiaRoCACZE6+cJpxLATjaodkQWpCWgRTGGAnAuAdmwyfp0yOk0BbyimDipE8YkkwLAn5KQhoBx+o7Fn5CQaQEgbQmZFwDSlJALASAtCbkRANKQkEQA+lwmBwJ6+yB4xGd+K4/6s2vNctiy7bxOSCrAWQbgxQ32TLFzriEigsS70gO4EBCnbyB4Iy4fVexyyev+2ai2rjIhUwJ2+GtDXuYckGFwQN51XItq6WJOyKAAO5JKCLsIPMndougnukwIAEkkTIUAEFfC1AgAcSRMlQBgK2HqBAAbCVMpANjUCdgenzoBwEbCId/PUyEAJJHwlKZAALCR4P8jiLMUvhWeGwGgZNH2fxrOhn8kjkisS3QHjudKALCRgF8eu8CVgWN+EVEryB3KoABgIwEbne8kjlOwiG8Slyh8BflMGSVOxWjzpzHjrCATxyYT+uCOB2WEn1wIAHEkgFEiciMAxJUAIAIT4j7amQcgAyvAC4l7u+cLCgoKCgoKCnLNT+LozqzhT+jPAAAAAElFTkSuQmCC"},"19e9":function(t,e,a){"use strict";a("be03")},"1a2b":function(t,e,a){},"1b56":function(t,e,a){"use strict";a.d(e,"i",(function(){return p})),a.d(e,"q",(function(){return h})),a.d(e,"b",(function(){return g})),a.d(e,"j",(function(){return f})),a.d(e,"c",(function(){return m})),a.d(e,"d",(function(){return v})),a.d(e,"l",(function(){return A})),a.d(e,"m",(function(){return b})),a.d(e,"a",(function(){return C})),a.d(e,"e",(function(){return D})),a.d(e,"h",(function(){return w})),a.d(e,"f",(function(){return y})),a.d(e,"g",(function(){return I})),a.d(e,"o",(function(){return x})),a.d(e,"p",(function(){return j})),a.d(e,"n",(function(){return S})),a.d(e,"k",(function(){return L})),a.d(e,"r",(function(){return k}));a("e7e5");var i=a("d399"),s=(a("d3b7"),a("bc3a")),n=a.n(s),o=a("4360"),r=a("4328"),c=a.n(r),l=n.a.create({});l.interceptors.request.use((function(t){return t.hideloading||i["a"].loading({forbidClick:!0}),"post"===t.method&&-1==t.url.indexOf("gpt4.cocorobo.cn")&&(t.data=c.a.stringify(t.data)),-1!=t.url.indexOf("gpt4.cocorobo.cn")&&(t.headers={"Content-Type":"application/json"},t.data=t.data),o["a"].getters.token&&(t.headers["X-Token"]=""),t}),(function(t){return console.log(t),Promise.reject(t)})),l.interceptors.response.use((function(t){i["a"].clear();var e=t.data;return e.status&&200!==e.status?(401===e.status&&o["a"].dispatch("FedLogOut").then((function(){location.reload()})),Promise.reject(e||"error")):Promise.resolve(e)}),(function(t){return i["a"].clear(),console.log("err"+t),Promise.reject(t)}));var d=l,u=a("b775");function p(t){return d({url:"https://gpt4.cocorobo.cn/get_classroom_observation_all",method:"post",data:t,hideloading:!0})}function h(t){return d({url:"https://gpt4.cocorobo.cn/update_classroom_observation",method:"post",data:t,hideloading:!0})}function g(t){return d({url:"https://gpt4.cocorobo.cn/ai_agent_park_chat",method:"post",data:t,hideloading:!0})}function f(t){return d({url:"https://gpt4.cocorobo.cn/get_classroom_observation_new",method:"post",data:t,hideloading:!0})}function m(t){return d({url:"https://gpt4.cocorobo.cn/update_classroom_observation_isdel",method:"post",data:t,hideloading:!0})}function v(t){return d({url:"https://gpt4.cocorobo.cn/delete_classroom_observation",method:"post",data:t,hideloading:!0})}function A(t){return d({url:"https://gpt4.cocorobo.cn/insert_classroom_observation_template",method:"post",data:t,hideloading:!0})}function b(t){return d({url:"https://gpt4.cocorobo.cn/insert_classroom_observation",method:"post",data:t,hideloading:!0})}function C(t){return d({url:"https://gpt4.cocorobo.cn/chat",method:"post",data:t,hideloading:!0})}function D(t){return Object(u["a"])({url:"/selectTesttCourse3",method:"get",params:t,hideloading:!0})}function w(t){return Object(u["a"])({url:"/selectClassroomTemplate",method:"get",params:t,hideloading:!0})}function y(t){return Object(u["a"])({url:"/selectClassroomDefault",method:"get",params:t,hideloading:!0})}function I(t){return Object(u["a"])({url:"/selectClassroomTemplateDetail",method:"get",params:t,hideloading:!0})}function x(t){return Object(u["a"])({url:"/updateClassroomTemplateCollect",method:"post",data:t,hideloading:!0})}function j(t){return Object(u["a"])({url:"/updateClassroomTemplateData",method:"post",data:t,hideloading:!0})}function S(t){return Object(u["a"])({url:"/updateClassroomDefault",method:"post",data:t,hideloading:!0})}function L(t){return Object(u["a"])({url:"/insertClassroomTemplate",method:"post",data:t,hideloading:!0})}function k(t){return d({url:"https://gpt4.cocorobo.cn/upload_file_knowledge",method:"put",data:t,hideloading:!0})}},"1c98":function(t,e,a){t.exports=a.p+"static/img/rootper.9b6fb302.svg"},"219d":function(t,e,a){t.exports=a.p+"static/img/suspend.939ecb0b.svg"},"242c":function(t,e,a){},2482:function(t,e,a){t.exports=a.p+"static/img/langcut.71a38c3f.svg"},"285a":function(t,e,a){},2912:function(t,e,a){t.exports=a.p+"static/img/colD.5fc8524d.svg"},"2a32":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bar",style:{background:t.num?"#005CCD":"#f9f9f9",color:t.num?"#fff":"rgba(0, 0, 0, 0.90)"}},[t.num?t._e():e("div",{staticStyle:{position:"absolute",left:"10px"}},[e("van-icon",{attrs:{name:"arrow-left"},on:{click:t.back}})],1),e("div",{staticStyle:{"font-size":"16px"}},[t._v(" "+t._s(t.tit)+" ")])])},s=[],n=(a("a9e3"),{props:{tit:{type:String,default:""},num:{type:Number,default:0},backPage:{type:Number,default:0}},data:function(){return{barBackColor:"barBackColor"}},methods:{back:function(){1==this.backPage?(console.log(this.backPage),this.$router.go(-1)):this.$emit("cutPage")}}}),o=n,r=(a("04ca"),a("2877")),c=Object(r["a"])(o,i,s,!1,null,"130c282e",null);e["a"]=c.exports},3065:function(t,e,a){"use strict";a("cff3")},"3b6f":function(t,e,a){},"3c3f":function(t,e,a){"use strict";a("812e")},"3dcb":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC6FJREFUeF7tnWt62zgMRSPvwu1imq4szcqSLib1LqQpEyujOpb4AkmQOPnTb8YS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lpovdFxVDrJdNJCEhrD/47Q05Gp3sfZCzBP3/pPfdwWa4VBbYm1FBRJfivX7eeuHgCHKqS2xgCQkfP0e0wMcXTjImgI4Sb8w3K5c207VkbJdOAjN+xhwaN2pGgoQdzG4SX/A9FJSfXG7/qT+WDGQ9BO5nkqqYQBZL4TnJXpB6bGkGg4Q3EQnIL2WVEMCwk6XHkhGcI2tmt3tYvlSgd7Ep1CZz0cDY1VpOEBwkzIAHI06Sjl17xqHBQRQyoMyqmsMXWLtpQWllxwwFsAYvsQCFDkgPpNlml4fHh6ez+ez+9fEz/AlFqDk57Elxxh6mzclFSi97qvmoJjn+ffpdHq15BgAskORA8V9NE3TUwpoo5xj2S1M7mKlJK41WIBiP0vM9iCh4DhYTqfTj2VZHkPP6eG4FQq3VssllC9WAOJTaPP55XJ5nOf5sUdg6CkiAr05FEDSdHs/ay3FNAJzdQi3TFPbshnhvHsqgAgrurqMG7Y0OCsE627TeimUTHJBBRA5LQ9HcuBsD3Cl2r0THFQu4befua3W22OBoE7gAKSOzszSqQIA0mngWHYdBQCkjs7M0qkCANJp4Fh2HQUApI7OzNKpAgDSaeBYdh0FAKSOzszSqQIA0mngWHYdBf4DJUCsUMNdx4sAAAAASUVORK5CYII="},"3fd6":function(t,e,a){t.exports=a.p+"static/img/fillInfo.6cebb241.svg"},"430a":function(t,e,a){t.exports=a.p+"static/img/generate.abe8fb11.svg"},4626:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABgSURBVHgBzY7LDYAwDEMNYg32YB7EBDABAzAQG7AHi7SHXvp5VS5V+yRLlhM5kXozQf55rUn2e21q+UHpKoHfnEFENp8rywd4WQtu8OYCE2MX7ODNBS/4iKWQXUHEo6Fwo88LUBpYALEAAAAASUVORK5CYII="},"4b30":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABACAYAAABFqxrgAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJwSURBVHgB7Zq/MjRBFMWP7yOwiYAQmRUiEJBKSUm9gvIKUp6BVEoiIJUSkghWIJEICCTuMTtltFm7e/vOmN66v6pTO7O1VdNz+t6+/WcBx3Ecx3Ecx3Gc9GmLtlAx/9FspkW7onXRq+gRFZCCCTSgJVoWzYg6ojcYkooJOXOiDdGY6B5GpGZCThuGKZKqCcQsRVI2ISc6RUbBhBx1ioySCUSVImOoDr7Akmi+e62BLzULPeeis34/qsKENWS910YzeEZmxHWvH4zDDvbYDprz8jmT6BOJVpHA0XkbzeNOdIIsGnpiYQIXOJsl33OUZgiybHX6NaQHjKp9DA+fdYwBS2ZsOjACQgP48peiq+51naieHWMC8yxMAfbAIXS9HstAoV9GjAlhmPLhB6i/9/ncU9ENlGhNYBmcDhrCCKjbAJa+6LTTmrCBn42pMwXUoV+GxoS5rnLYkGvUQ3Tol6ExYSG47zstNcIk9MvQmLAS3Jvt8PTANPTL0JgwWbjWToIGhQYfoWL+YXiK40Hd1aASNCaMHG4CdCYUx4AZjAAaEzqFa84aW0ic2EggS0gcjQnhbG2YjdBGojGBtbtYGtto3pbaUGi33CdEi4V7XnP98I4E0ZrAw41VfA2K/JyC8cKmLrQmsMdZJcITY5bMeyQWETEnUHmVKKYFjWCEVL2mMCX2GI69zrlCcT3B1GCE5Oa8wfhPFdZYnTtwx/m3/xaxmvy1EXz+Mb5P9j6xPIbjviON0J471gE7Yy/80vJUmhWD1YH7DS00czr9guxc4hvWR/MMuVtkc4YnfE2qJrr6S9iWC9EDHMdxHMdxHMdxFHwAY/J01BLFm0EAAAAASUVORK5CYII="},"4dde":function(t,e,a){t.exports=a.p+"static/img/book.0ba218ea.svg"},5350:function(t,e,a){},5940:function(t,e,a){"use strict";a("b5d9")},"5e97":function(t,e,a){"use strict";a("285a")},"601e":function(t,e,a){"use strict";a("6367")},6367:function(t,e,a){},"64cd":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADVSURBVHgB7ZQxCsIwFIZfrCYIDkK7uWSoJWMHlY4ewRvYK3gSvYE9UnuCdhEcLHRtS/tMhoKD4FNUUPpNP+H9Scj/8gB6/h5GLZTSn/KR2AO0UNX1LsviguIbAhEhRAiIobmT1oleOlB8AyDCmia+p9+KUoFUMpDws6j5MvS81fYZj0UtNJsjY0fddhvbnmV5fkooPnLIX+GVJ/o45AwMpk2diTO9FGfSLzaQM3DdxRrbNkXOU6U11Uc+wLIsv9N4ox9BnkVlWUaccx+QYVWNI+jp6bgCKQA1ASDIIk4AAAAASUVORK5CYII="},"6bdf":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fromList",class:{choice:t.isChoice==t.data.courseId}},[e("div",{staticClass:"fromCol",staticStyle:{"text-align":"center",width:"15%"}},[t._v(t._s(t.index))]),e("div",{staticClass:"fromCol",staticStyle:{flex:"1","font-size":"16px","font-weight":"600"}},[t._v(t._s(t.data.title))]),e("div",{staticClass:"perName"},[t._v(t._s(t.data.uname))])])},s=[],n=(a("a9e3"),{props:{data:{type:Object,default:function(){}},index:{type:Number,default:0},isChoice:{type:String,default:""}},data:function(){return{}}}),o=n,r=(a("5940"),a("2877")),c=Object(r["a"])(o,i,s,!1,null,"f2e526c0",null);e["a"]=c.exports},7230:function(t,e,a){t.exports=a.p+"static/img/delFile.b454d74e.svg"},"74a4":function(t,e,a){t.exports=a.p+"static/img/Vector2.ff06493b.svg"},7773:function(t,e,a){},"779a":function(t,e,a){"use strict";a("7773")},"78ad":function(t,e){t.exports="data:image/gif;base64,R0lGODlhgACAAKIAAP///93d3bu7u5mZmQAA/wAAAAAAAAAAACH/C05FVFNDQVBFMi4wA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qVqyrcvBsazRpH3jmC7yD98OCBF2iEXjBKmsAJsWHDQKmw571l8my+16v+CweEwum8+hgHrNbrvbtrd8znbR73MVfg838f8BeoB7doN0cYZvaIuMjY6PkJGSk2gClgJml5pjmp2YYJ6dX6GeXaShWaeoVqqlU62ir7CXqbOWrLafsrNctjIDwAMWvC7BwRWtNsbGFKc+y8fNsTrQ0dK3QtXAYtrCYd3eYN3c49/a5NVj5eLn5u3s6e7x8NDo9fbL+Mzy9/T5+tvUzdN3Zp+GBAAh+QQJBQAEACwCAAIAfAB8AAAD/0i63P4wykmrvTjrzbv/YCiOZGmeaKqubOu+cCzPdArcQK2TOL7/nl4PSMwIfcUk5YhUOh3M5nNKiOaoWCuWqt1Ou16l9RpOgsvEMdocXbOZ7nQ7DjzTaeq7zq6P5fszfIASAYUBIYKDDoaGIImKC4ySH3OQEJKYHZWWi5iZG0ecEZ6eHEOio6SfqCaqpaytrpOwJLKztCO2jLi1uoW8Ir6/wCHCxMG2x7muysukzb230M6H09bX2Nna29zd3t/g4cAC5OXm5+jn3Ons7eba7vHt2fL16tj2+QL0+vXw/e7WAUwnrqDBgwgTKlzIsKHDh2gGSBwAccHEixAvaqTYcFCjRoYeNyoM6REhyZIHT4o0qPIjy5YTTcKUmHImx5cwE85cmJPnSYckK66sSAAj0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gwxZJAAA7"},8099:function(t,e,a){t.exports=a.p+"static/img/CocoClass.5a23c819.png"},"812e":function(t,e,a){},"823f":function(t,e,a){"use strict";a("90b9")},8345:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGbSURBVHgBtVU7TsNAEJ3ZmCClQOlozQ2MBCglHIKaIA6QtBQIIwracAEgNYfAdUAiR3BLRURHPjvsWN7N2tjKOomfZK/Xmn1vZz9vAGoGugQdh9NANQEC+twnoFg14/ewOV41tlQgCKndFLJHRH0V1C4Ji1Hg4HchhuMQJ84CnXB2KhGf1acPbogl0eVHuBOtFOjczy+khBdYBwK6oxtvWCqQzvwNNoDK5MzOxAgka46LT3BfljLEU2oc6j0R+u8uzbpbIGf4TZj3dccIkBA9WAP7ewBPV43kMUDsZQTSc+5DRTD5w3kjaXNop5wmgwAqwib/+gG4fl3kIsRSQN9QGzrtgtkVknNrA4F8I+AyyyrkmTz4lXpLBnqgTViFnAATTi/t/zMtTaAJudUZuMxcXbmE01y0k7v5NxSYWn6Z3MghHt16B/yx3AOix6JIm9CRHFBKw1WLVbSUVUR5q2DvYMuFDcEckVUbMseUXZBIri0i1Nh8TSgsOEfKtkVdBUeD94QdNjVBvyiGACaoDkcLvEFUpWTmsUnRrx1/blrUr7ougugAAAAASUVORK5CYII="},"867c":function(t,e,a){t.exports=a.p+"static/img/del.deec6809.svg"},"86f1":function(t,e,a){"use strict";a("8c4d")},"8b18":function(t,e,a){},"8b58":function(t,e,a){"use strict";a("caad"),a("2532");var i=function(){var t=this,e=t._self._c;return t.show?e("div",{staticClass:"stencilled"},[e("bar",{staticStyle:{"z-index":"1000"},attrs:{tit:"添加模块",backPage:0},on:{cutPage:function(e){return t.close()}}}),e("div",{staticClass:"selectInp"},[e("van-search",{attrs:{shape:"round",placeholder:"搜索表单"},model:{value:t.selectValue,callback:function(e){t.selectValue=e},expression:"selectValue"}}),e("span",[t._v("搜索")])],1),e("div",{staticClass:"sortList"},[e("div",{class:[0==t.showIndex?"sl_active":""],on:{click:function(e){e.stopPropagation(),t.showIndex=0}}},[t._v("通用")]),e("div",{class:[1==t.showIndex?"sl_active":""],on:{click:function(e){e.stopPropagation(),t.showIndex=1}}},[t._v("学科")]),e("div",{class:[2==t.showIndex?"sl_active":""],on:{click:function(e){e.stopPropagation(),t.showIndex=2}}},[t._v("扩展")])]),e("div",{staticClass:"stencilList"},t._l(t.showDataList,(function(a,i){return e("div",{key:a.value+i,staticStyle:{"margin-bottom":"15px"}},[e("addStencil",{attrs:{data:a,isChoice:t.choiceList.includes(a.value)}})],1)})),0),e("div",{staticClass:"botBtn"},[e("div",{class:["btn",0==t.choiceList.length?"b_disabled":""],on:{click:function(e){return e.stopPropagation(),t.addYes.apply(null,arguments)}}},[t._v(" 添加("+t._s(t.choiceList.length)+") ")])])],1):t._e()},s=[],n=(a("e17f"),a("2241")),o=(a("4de4"),a("14d9"),a("e9c4"),a("b64b"),a("d3b7"),a("2a32")),r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"stencilledCon",on:{click:function(e){return e.stopPropagation(),t.$parent.addChoice(t.data.value)}}},[e("div",{staticClass:"top"},[e("div",{staticClass:"tit",domProps:{textContent:t._s(t.data.title)}}),e("div",{staticClass:"btn"},[t.isChoice?e("img",{attrs:{src:a("8345"),alt:""}}):t._e()])]),e("div",{staticClass:"con",domProps:{textContent:t._s(t.data.brief)}}),e("div",{staticClass:"bom"},[e("div",[t._v(t._s(t.data.sum)+"人已使用")])])])},c=[],l={props:{data:{type:Object,default:function(){}},isChoice:{type:Boolean,default:!1}},data:function(){return{}},methods:{}},d=l,u=(a("19e9"),a("2877")),p=Object(u["a"])(d,r,c,!1,null,"7b2f5c60",null),h=p.exports,g={components:{bar:o["a"],addStencil:h},props:{data:{type:Array,default:function(){return[]}}},computed:{showDataList:function(){var t=this,e=[];return e=this.data.filter((function(e){return e.type==t.showIndex&&-1!=e.title.indexOf(t.selectValue)})),e}},data:function(){return{selectValue:"",dataList:[],tagSubject:"",show:!1,showIndex:0,choiceList:[]}},methods:{open:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.show=!0,this.showIndex=t,this.choiceList=[]},close:function(){this.show=!1},addYes:function(){var t=this;if(0==this.choiceList.length)return this.$toast("请选择你需要添加的分析");n["a"].confirm({title:"确定添加分析",message:"确定添加 ".concat(this.choiceList.length," 个分析吗?")}).then((function(e){t.$emit("success",t.choiceList)})).catch((function(t){console.log("不添加")}))},addChoice:function(t){this.choiceList.includes(t)?this.choiceList=this.choiceList.filter((function(e){return e!=t})):this.choiceList.push(t)}},mounted:function(){this.dataList=JSON.parse(JSON.stringify(this.data))}},f=g,m=(a("b076"),Object(u["a"])(f,i,s,!1,null,"69c2098c",null));e["a"]=m.exports},"8c4d":function(t,e,a){},9086:function(t,e,a){"use strict";a("242c")},"90b9":function(t,e,a){},"9fea":function(t,e,a){t.exports=a.p+"static/img/zhuanlu.4fd57c72.svg"},a845:function(t,e,a){t.exports=a.p+"static/img/collect1.3bc9ad1d.svg"},adaf:function(t,e,a){"use strict";a("0647")},ae45:function(t,e,a){"use strict";a("5350")},b076:function(t,e,a){"use strict";a("8b18")},b1fb:function(t,e,a){"use strict";a("1a2b")},b5d3:function(t,e,a){t.exports=a.p+"static/img/collect2.bb3b96ab.svg"},b5d9:function(t,e,a){},b659:function(t,e,a){"use strict";a("f968")},b67f:function(t,e,a){},b703:function(t,a,i){"use strict";i.r(a);i("b0c0");var s=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.saveLoading,expression:"saveLoading"}],staticClass:"outcome"},[e("bar",{attrs:{tit:"分析结果",backPage:0},on:{cutPage:function(e){return t.cutPage(1)}}}),e("div",{staticClass:"sortList"},[e("div",{class:[0==t.showIndex?"sortActive":""],on:{click:function(e){return e.stopPropagation(),t.changeShowIndex(0)}}},[t._v("通用")]),e("div",{class:[1==t.showIndex?"sortActive":""],on:{click:function(e){return e.stopPropagation(),t.changeShowIndex(1)}}},[t._v("学科")]),e("div",{class:[2==t.showIndex?"sortActive":""],on:{click:function(e){return e.stopPropagation(),t.changeShowIndex(2)}}},[t._v("扩展")]),e("span",{on:{click:function(e){return e.stopPropagation(),t.addAnalysis.apply(null,arguments)}}},[t._v("+")])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading[t.showIndex],expression:"loading[showIndex]"}],staticClass:"stencilList"},t._l(t.dataList,(function(a,i){return 0!=a.Type||2!=a.tIndex?e("analysisItem",{directives:[{name:"show",rawName:"v-show",value:t.showIndex===a.Type,expression:"showIndex === item.Type"}],key:a.id,ref:"analysisItemRef",refInFor:!0,attrs:{data:a,analysisList:t.analysisList,bmData:t.bmData,fileId:t.fileId}}):t._e()})),1),e("div",{staticClass:"botBtn"},[e("div",{staticClass:"shareBtn",on:{click:function(e){return e.stopPropagation(),t.share()}}},[e("img",{attrs:{src:i("dbb5"),alt:""}}),e("span",[t._v("分享")])]),e("div",{staticClass:"bb_box"},[e("div",{staticClass:"btn",on:{click:function(e){return e.stopPropagation(),t.saveTemplate()}}},[t._v(" 保存模板 ")]),e("div",{staticClass:"btn",on:{click:function(e){return e.stopPropagation(),t.AllAnalysis()}}},[t._v(" 一键分析 ")]),e("div",{staticClass:"btn",on:{click:function(e){return e.stopPropagation(),t.viewTheReport()}}},[t._v(" 查看报告 ")])])]),e("van-popup",{model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[e("div",{staticClass:"popupCon"},[e("div",{staticClass:"tit"},[t._v("模板信息")]),e("div",{staticClass:"bri"},[t._v("请根据提示补充模版信息")]),e("div",[e("el-input",{attrs:{placeholder:"模版名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}),e("el-input",{attrs:{type:"textarea",rows:3,resize:"none",placeholder:"模版简介"},model:{value:t.form.brief,callback:function(e){t.$set(t.form,"brief",e)},expression:"form.brief"}}),e("el-select",{staticStyle:{"z-index":"2026"},attrs:{placeholder:"所属学科"},model:{value:t.form.subject,callback:function(e){t.$set(t.form,"subject",e)},expression:"form.subject"}},t._l(t.subjectList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"switch"},[e("span",{staticStyle:{"margin-right":"5px"}},[t._v("公开到社区")]),e("el-switch",{attrs:{"active-color":"rgba(54, 129, 252, 1)"},model:{value:t.form.per,callback:function(e){t.$set(t.form,"per",e)},expression:"form.per"}})],1)]),e("div",{staticClass:"btnS"},[e("div",{on:{click:t.cancelSaveTemplate}},[t._v("取消")]),e("div",{staticStyle:{color:"rgba(54, 129, 252, 1)"},on:{click:t.saveInfo}},[t._v("保存")])])]),e("van-popup",{model:{value:t.sharePopup,callback:function(e){t.sharePopup=e},expression:"sharePopup"}},[e("div",{staticClass:"saveBox"},[e("div",{staticClass:"sb_imgArea"},[e("span",{ref:"qrCodeUrl",staticClass:"qrcodeUrl"})]),e("div",{staticClass:"sb_inputArea"},[e("el-input",{staticClass:"sc_fu_input",staticStyle:{color:"black"},attrs:{disabled:""},model:{value:t.origin,callback:function(e){t.origin=e},expression:"origin"}},[e("template",{slot:"append"},[e("div",{staticClass:"sc_fu_copyBtn",on:{click:function(e){return e.stopPropagation(),t.copy(t.origin)}}},[t._v(" 复制链接 ")])])],2)],1)]),e("div",{staticClass:"btnS"},[e("div",{on:{click:function(e){t.sharePopup=!1}}},[t._v("取消")]),e("div",{staticStyle:{color:"rgba(54, 129, 252, 1)"},on:{click:function(e){t.sharePopup=!1}}},[t._v("确定")])])]),t.showReport?e("div",{staticClass:"o_report"},[e("div",{staticClass:"o_r_top"},[e("span",[t._v("查看报告")]),e("div",{on:{click:function(e){e.stopPropagation(),t.showReport=!1}}},[t._v("×")])]),e("div",{staticClass:"o_r_box"},[t.origin?e("iframe",{attrs:{src:t.origin,width:"100%",height:"100%"}}):t._e()])]):t._e(),e("addTel",{ref:"addTelRef",attrs:{data:t.analysisList},on:{success:t.addAnalysisByList}})],1)},n=[],o=(i("e17f"),i("2241")),r=(i("4de4"),i("7db0"),i("14d9"),i("4e82"),i("e9c4"),i("a9e3"),i("b64b"),i("d3b7"),i("25f0"),i("3ca3"),i("498a"),i("159b"),i("ddb0"),i("2a32")),c=(i("caad"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"outcomeCon"},[e("div",{staticStyle:{height:"50px",display:"flex","justify-content":"space-between","align-items":"center"},on:{click:t.showItem}},[e("div",{staticClass:"oc_title"},[t.show?e("van-icon",{attrs:{name:"arrow-down"}}):e("van-icon",{attrs:{name:"arrow"}}),e("span",{staticClass:"tit"},[t._v(t._s(t.data.jsonData?t.data.jsonData.name:""))])],1),[0].includes(t.status)?e("van-popover",{attrs:{placement:"bottom-end"},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:i("64cd"),alt:""},on:{click:function(e){return e.stopPropagation(),t.abuShowItem.apply(null,arguments)}}})]},proxy:!0}],null,!1,40715985),model:{value:t.abuShow,callback:function(e){t.abuShow=e},expression:"abuShow"}},[e("div",{staticClass:"abu"},[e("div",{staticClass:"abuBtn",on:{click:function(e){return e.stopPropagation(),t.del()}}},[e("img",{attrs:{src:i("4626"),alt:""}}),e("span",[t._v("删除")])])])]):t._e(),[1,2,3].includes(t.status)?e("div",{staticClass:"oc_status"},[[1].includes(t.status)?e("div",[e("img",{attrs:{src:i("430a")}}),e("span",[t._v("优化中...")])]):t._e(),[2].includes(t.status)?e("div",[e("span",{staticStyle:{color:"#e60012"}},[t._v("生成失败")])]):t._e(),[3].includes(t.status)?e("div",[e("img",{attrs:{src:i("0c61")}}),e("span",{staticStyle:{color:"#17C469"}},[t._v("生成成功")])]):t._e()]):t._e()],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},[e("div",{staticClass:"brief"},[t._v(" "+t._s(t.data.jsonData?t.data.jsonData.result:"")+" ")]),e("div",{staticClass:"content"},[e("mdView",{attrs:{text:t.data.jsonData?t.data.jsonData.content:""}})],1),t.data.jsonData.eChartData&&t.show?e("div",{staticClass:"eChart"},[e("eChartTemplate",{ref:"eChartTemplateRef",staticStyle:{"max-height":"600px","max-width":"600px",width:"100%",height:"400px",margin:"auto"},attrs:{data:t.data.jsonData.eChartData}})],1):t._e(),t.data.jsonData.RT&&t.data.jsonData.CH?e("div",{staticClass:"teacherMode"},[e("img",{attrs:{src:i("ce08")}}),e("div",[e("span",[t._v("RT="+t._s(t.data.jsonData.RT))]),e("span",[t._v("CH="+t._s(t.data.jsonData.CH))])])]):t._e(),[0,2,3].includes(t.status)?e("div",{staticClass:"outcomeBtn"},[e("div",{class:[0==t.historyIndex?"ob_no":""],on:{click:function(e){return e.stopPropagation(),t.down()}}},[e("img",{staticStyle:{transform:"rotateY(180deg)"},attrs:{src:i("4b30"),alt:""}}),e("span",[t._v("撤销")])]),e("div",{class:[t.historyIndex>=t.history.length-1?"ob_no":""],on:{click:function(e){return e.stopPropagation(),t.up()}}},[e("img",{attrs:{src:i("4b30"),alt:""}}),e("span",[t._v("恢复")])]),e("div",{on:{click:function(e){return e.stopPropagation(),t.optimize()}}},[e("img",{attrs:{src:i("18a2"),alt:""}}),e("span",[t._v("优化")])])]):t._e()])])}),l=[],d=i("2909"),u=(i("99af"),i("0481"),i("13d5"),i("a434"),i("4069"),i("b680"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"mdView"},[e("vue-markdown",{attrs:{source:t.markdownContent}})],1)}),p=[],h=i("9ce6"),g=i.n(h),f={components:{VueMarkdown:g.a},props:{url:{type:String,default:""},text:{type:String,default:""}},data:function(){return{markdownContent:""}},watch:{text:function(){this.markdownContent=this.text}},methods:{getMarkdown:function(){if(this.text)return this.markdownContent=this.text;this.url}},mounted:function(){this.getMarkdown()}},m=f,v=(i("86f1"),i("2877")),A=Object(v["a"])(m,u,p,!1,null,"463580a9",null),b=A.exports,C=i("11c1"),D=i("1b56"),w=function(){var t=this,e=t._self._c;return e("div",{ref:"chartRef",staticClass:"chart",attrs:{id:"charts_canvas"}})},y=[],I=i("313e"),x={props:{data:{type:Object,default:function(){}}},data:function(){return{chartObj:null,chartData:null}},watch:{data:function(){this.getChartData()}},methods:{getChartData:function(){var t=this;this.chartObj=I["init"](this.$refs.chartRef),this.chartObj.setOption(this.data),window.addEventListener("resize",(function(){t.resize()}))},resize:function(){this.chartObj.resize()}},mounted:function(){this.getChartData()}},j=x,S=(i("3065"),Object(v["a"])(j,w,y,!1,null,"c6edeb6e",null)),L=S.exports,k={props:{data:{type:Object,default:function(){}},analysisList:{type:Array,default:function(){return[]}},bmData:{type:Object,default:function(){}},fileId:{type:String,default:""}},components:{mdView:b,eChartTemplate:L},data:function(){return{show:!1,abuShow:!1,historyIndex:0,history:[],userId:this.$store.state.user.id,status:0}},methods:{showItem:function(){if(![0,2,3].includes(this.status))return this.$toast("正在优化中...");this.show=!this.show,this.status=0,this.$refs.eChartTemplateRef&&console.log("优化")},abuShowItem:function(){this.abuShow=!0},up:function(){this.historyIndex<this.history.length-1&&(this.historyIndex++,this.data.jsonData=JSON.parse(JSON.stringify(this.history[this.historyIndex])),this.data.json_data=JSON.stringify(this.data.jsonData),this.saveData(this.data).then((function(t){console.log("保存成功")})))},down:function(){this.historyIndex>0&&(this.historyIndex--,this.data.jsonData=JSON.parse(JSON.stringify(this.history[this.historyIndex])),this.data.json_data=JSON.stringify(this.data.jsonData),this.saveData(this.data).then((function(t){console.log("保存成功")})))},optimize:function(){var t=this;this.show=!1,this.status=1;var e=this.analysisList.find((function(e){return e.title==t.data.jsonData.name}));if(!e.value)return this.status=2,this.$toast.fail("未找到对应的AI助手");var a="使用文件检索的方式完整的去分析文件内容,并请完全按照要求输出。";if(["st1","st2","st3"].includes(e.value))return this.optimize2(e.value);"6b4a9650-48be-11ef-936b-12e77c4cb76b"==e.value&&(a="使用文件检索的方式完整的去分析文件内容,并基于以下的课堂基本内容,使用cpote课程设计模型改编一堂同主题的课程。\n课堂名称:".concat(this.bmData.courseName," 搜课年级:").concat(this.bmData.grade," 授课科目:").concat(this.bmData.subject));var i={assistant_id:e?e.value:null,message:a,session_name:Object(C["v4"])(),userId:this.userId,file_ids:this.fileId?[this.fileId]:"",model:"gpt-4o-2024-08-06"};Object(D["b"])(i).then((function(e){var a=e.FunctionResponse,i=JSON.parse(JSON.stringify(t.data));i.jsonData.content=a.message,i.jsonData.dataFileList=[],i.jsonData.fileList=[],i.json_data=JSON.stringify(i.jsonData),0==t.history.length?t.history.push(i.jsonData):t.history.splice(t.historyIndex+1,0,i.jsonData),t.up(),t.status=3})).catch((function(e){console.log(e),t.status=2}))},optimize2:function(t){if(0!=this.bmData.jsonData.editorBarData.type)return this.status=2,this.$toast.fail("请上传表格形式的转录文稿");try{var a=[],i=this.bmData.jsonData.editorBarData.content,s=document.createElement("div");s.innerHTML=i;var n=s.querySelectorAll("table tbody tr");if(n.forEach((function(t,e){if(0!=e&&t.cells[0].innerText&&"序号"!=t.cells[0].innerText){var i={index:t.cells[0].innerText,startTime:t.cells[1].innerText,endTime:t.cells[2].innerText,message:t.cells[3].innerText,time:t.cells[4].innerText,role:t.cells[5].innerText,behavior:t.cells[6].innerText};a.push(i)}})),0==a.length)return this.status=2,this.$toast.fail("未找到表格数据");if("st1"==t)this.getTimeAllocationData(a);else if("st2"==t)this.getInteractionAnalysisData(a);else{if("st3"!=t)return this.status=2,this.$toast.fail("未找到对应的分析");this.getTeachingModeData(a)}}catch(e){return console.log(e),this.status=2}},getTimeAllocationData:function(t){var e=this;this.status=1;var a=t.reduce((function(t,a){return"学生"==a.role?t[1].value+=e.convertToSeconds(a.time):"老师"==a.role&&(t[0].value+=e.convertToSeconds(a.time)),t}),[{value:0,name:"老师"},{value:0,name:"学生"}]),i={tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {d}%"},legend:{top:"5%",left:"center"},series:[{name:"课堂时间分配",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:40,fontWeight:"bold"}},labelLine:{show:!1},data:a}]},s=JSON.parse(JSON.stringify(this.data));s.jsonData.eChartData=i,s.json_data=JSON.stringify(s.jsonData),0==this.history.length?this.history.push(s.jsonData):this.history.splice(this.historyIndex+1,0,s.jsonData),this.up(),this.status=3},getInteractionAnalysisData:function(t){var e=this;this.status=1;var a=[0,0],i=[];t.forEach((function(t){return"老师"==t.role?a[0]+=e.convertToSeconds(t.time):"学生"==t.role&&(a[1]+=e.convertToSeconds(t.time)),i.push(JSON.parse(JSON.stringify(a)))}));var s=i.flat(),n=Math.max.apply(Math,Object(d["a"])(s)),o=100*Math.ceil(n/100),r={xAxis:{name:"老师",nameLocation:"end",scale:!0,min:0,max:o},yAxis:{name:"学生",nameLocation:"end",scale:!0,min:0,max:o},grid:{containLabel:!0},series:[{name:"数据",step:"start",data:i,type:"line"},{name:"对角线",type:"line",data:[[0,0],[o,o]],lineStyle:{type:"dashed"},markLine:{symbol:["none","none"]}}]},c=JSON.parse(JSON.stringify(this.data));c.jsonData.eChartData=r,c.json_data=JSON.stringify(c.jsonData),0==this.history.length?this.history.push(c.jsonData):this.history.splice(this.historyIndex+1,0,c.jsonData),this.up(),this.status=3},getTeachingModeData:function(t){var e=this;this.status=1;var a=0,i=0,s="老师",n=0;console.log(t),t.forEach((function(o,r){0==r?s=o.role:t.length-1==r?s==o.role?(a+=e.convertToSeconds(t[r-1].time),a+=e.convertToSeconds(o.time)):r>=2&&t[r-2].role==t[r-1].role?a+=e.convertToSeconds(t[r-1].time):s=o.role:s==o.role||r>=2&&t[r-2].role==t[r-1].role?a+=e.convertToSeconds(t[r-1].time):s=o.role,"老师"==o.role&&(n+=e.convertToSeconds(o.time)),i+=e.convertToSeconds(o.time)}));var o=(n/i).toFixed(2),r=(a/i).toFixed(2),c=JSON.parse(JSON.stringify(this.data));c.jsonData.RT=o,c.jsonData.CH=r,c.json_data=JSON.stringify(c.jsonData),0==this.history.length?this.history.push(c.jsonData):this.history.splice(this.historyIndex+1,0,c.jsonData),this.up(),this.status=3},saveData:function(t){return new Promise((function(e,a){Object(D["q"])({id:t.id,json_data:JSON.stringify(t.jsonData)}).then((function(t){e()})).catch((function(t){console.log(t),console.log("保存失败"),e()}))}))},del:function(){this.$parent.delItem(this.data)},convertToSeconds:function(t){var e=t.split(":"),a=3600*+e[0]+60*+e[1]+ +e[2];return a}},mounted:function(){this.historyIndex=0,this.history.push(JSON.parse(JSON.stringify(this.data.jsonData)))}},B=k,T=(i("601e"),Object(v["a"])(B,c,l,!1,null,"0c20c038",null)),E=T.exports,P=i("d044"),O=i.n(P),F=i("8b58"),N=i("b532"),U={components:{bar:r["a"],analysisItem:E,addTel:F["a"]},props:{page:{type:Number,default:1},dataList:{type:Array,default:function(){return[]}},loading:{type:Array,default:function(){return[!0,!0,!0]}},analysisList:{type:Array,default:function(){return[]}},bmData:{type:Object,default:function(){}},fileId:{type:String,default:""},tid:{type:String,default:""}},data:function(){return{userId:this.$store.state.user.id,abuShow:!1,cellShow:!1,showPopup:!1,sharePopup:!1,showIndex:0,saveLoading:!1,form:{name:"",brief:"",subject:"",pre:!1},subjectList:[{value:"1",label:"语文"},{value:"2",label:"数学"},{value:"3",label:"英语"},{value:"4",label:"科学"},{value:"5",label:"物理"},{value:"6",label:"化学"},{value:"7",label:"生物"},{value:"8",label:"历史"},{value:"9",label:"地理"},{value:"10",label:"政治"}],origin:"",showReport:!1}},methods:{cutPage:function(t){this.$emit("cutPage",t)},addAnalysis:function(){this.$refs.addTelRef.open(this.showIndex)},ctrlShow:function(){this.cellShow=!this.cellShow},showAbu:function(){this.abuShow=!0},changeShowIndex:function(t){this.showIndex=t},delItem:function(t){var e=this;o["a"].confirm({title:"删除分析",message:'确定删除 "'.concat(t.jsonData.name,'" 这个分析?')}).then((function(){e.$parent.delAnalysis(t)})).catch((function(){console.log("不删除")}))},share:function(){var t=this;this.sharePopup=!0,this.$nextTick((function(){var e="https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid=".concat(t.tid);t.origin=e,t.$refs.qrCodeUrl.innerHTML="";new O.a(t.$refs.qrCodeUrl,{text:e,width:250,height:250,colorDark:"#000000",colorLight:"#ffffff",correctLevel:O.a.CorrectLevel.H})}))},copy:function(t){var e=document.createElement("textarea");e.value=t,e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.$toast.success("复制成功")},viewTheReport:function(){this.showReport=!0;var t="https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid=".concat(this.tid);this.origin=t},AllAnalysis:function(){if(!this.fileId)return this.$toast("请先上传文件或者录音");this.$refs.analysisItemRef.forEach((function(t){t.optimize()})),this.$toast.success("一键分析成功")},saveTemplate:function(){this.showPopup=!this.showPopup},cancelSaveTemplate:function(){this.form={name:"",brief:"",subject:"",per:!1},this.showPopup=!1},saveInfo:function(){var t=this;if(!this.form.name.trim())return this.$toast.fail("请填写模板名称");if(!this.form.subject.trim())return this.$toast.fail("请选择科目");this.saveLoading=!0;var e=JSON.parse(JSON.stringify(this.dataList)),a=[];e.forEach((function(t){0==t.Type&&2==t.tIndex||(t.jsonData.content="",t.jsonData.dataFileList=[],t.jsonData.fileList=[],t.createtime="",t.id="",t.tId="",t.userid="",a.push(t))}));var i=[{title:this.form.name,subject:this.form.subject,uid:this.userId,brief:this.form.brief,per:this.form.per?1:0,jsonData:JSON.stringify(a)}];Object(D["k"])(i).then((function(e){t.$toast.success("保存为模板成功"),t.cancelSaveTemplate(),t.saveLoading=!1})).catch((function(e){t.$toast.fail("另存为模板失败"),console.log(e)}))},addAnalysisByList:function(t){var e=this;this.saveLoading=!0,this.$refs.addTelRef.close();var a=[];t.forEach((function(t,i){a.push(e.addAnalysisItem(t,i))})),Promise.all(a).then((function(){e.saveLoading=!1,e.$toast.success("添加成功")}))},addAnalysisItem:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise((function(i){var s=N.Converter({from:"hk",to:"cn"}),n=e.analysisList.find((function(e){return e.value==t})),o=e.dataList.filter((function(t){return t.Type==n.type})).sort((function(t,e){return new Date(t.createtime)-new Date(e.createtime)}));o=o.length?o[o.length-1]:null;var r=o?o.tIndex+1:0==n.type?2:0,c={index:r+a,userid:e.userId,json_data:JSON.stringify({name:n.title,result:"",fileList:[],dataFileList:[],content:""}),tid:e.tid,type:n.type.toString()};Object(D["m"])(c).then((function(t){var a=t.FunctionResponse;if(a.message&&s(a.message)==s("创建成功")){var o=JSON.parse(a.result)[0];o.jsonData=JSON.parse(o.jsonData),e.$parent.dataList.push(o),e.$nextTick((function(){e.$refs.analysisItemRef.forEach((function(t){t.data.id===o.id&&t.optimize()}))})),i()}else e.$toast.fail('"'.concat(n.title,'"添加失败')),i()}))}))}}},Q=U,R=(i("b1fb"),Object(v["a"])(Q,s,n,!1,null,"52a0d8b4",null));a["default"]=R.exports},bd69:function(t,e,a){t.exports=a.p+"static/img/edit.2fab757d.svg"},be03:function(t,e,a){},c015:function(t,e,a){t.exports=a.p+"static/img/Union.953680c6.svg"},c171:function(t,e,a){t.exports=a.p+"static/img/Vector.50ca25c5.svg"},c25d:function(t,e,a){},c814:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACrdJREFUeF7tnW2WmzgQRcnK0r0jdpBkB+wonZVlWh7ch/jYgKQqVB/Xv2ZyJFn16t0uSRj4NvFBARR4qcA3tEEBFHitAIDgDhTYUQBAsAcKAAgeQIE2BaggbbrRK4kCAJIk0YTZpgCAtOlGryQKAEiSRBNmmwIA0qYbvZIoACCbRM/z/LYsy0eS3BPmCQUAZBVpnuef0zT9KP+7LAu6nDBPhiYYYZqmLRxr0t+pJBnsfxxjekCewFFUA5Bj76RokRqQeZ5/T9P09iTTAJLC/sdBpgVkBw4qyLFv0rRICcgBHACSxv7HgaYD5AQcAHLsmzQtUgFyEg4ASWP/40BTAFIuAK7XOJ5tyJ+pxCb92DspWoQHZIWjnFbVfACkRq3AbUMD0ggHS6zAhq8NLSwgHXAASK2LArcPCUgnHAAS2PC1oYUD5MVPR2p1YQ9Sq1jQ9qEAEYKDChLU7C1hhQFEEA4AaXFS0D4hABGGA0CCmr0lLPeAKMABIC1OCtrHNSBKcABIULO3hOUWEEU4io6/Pu8TSXVvOndQPsfHJSDKcLT8oYnYp/yB+LMJ7CMjRO4AAQ4TLJYKWx5uUR50EfrjChDgMOnFr0oTERg3gFTcy2HSRYkmddu/RVmOuQAEOFzidass3quKeUCAwyUcj5P+5RUU04AARwg4tkG4A8UsIGzIw8Hh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27Hxes/3JZje89JirrGUgTE9QHK5YAYhSSq7y3F5XKZOwSQFZIrj4AtGSXzXNxBMgwQIEnLiStIhgJyt4jy+jetEw0H7gYSE4CwLzFsZb2puYDEDCAsufScaHhk85CYAoQll2Er603NNCQmAdksub5//lyknHbxia2AWUjMAkI1iU3EY3RWX4NhHhBASQEKFUQqzRwJSylpZhzTN1q5qSCP6QQUMwbvmYhpOEpgbgF5WHqxme+x6Zi+5uEIAcg2t1SVMU5v+Faze47HWNxXkGfJ2bwamMrS4F7lLm7gCFdBXiV2A8z2DUrKPmD4Jwq4giMNIE82+OXi4/YCJJVGn2d3cKQF5KwX5nnOdBW/VFeteF3CASBnSUnQTvGAwy0cAJLA+GdDVALENRwActY9CdopAOIeDgBJYPyzIQoDEgIOADnrngTtBAEJ8UTFe8pDXihM4GfxEIUACQUHFUTcZn4HFAAkHBwA4tfP4jPvBCQkHAAibjO/A3YAEhYOAPHrZ/GZNwBSnmNcTqtCv16CTbq41XwOWAmIi3s5JDIBIBIqBhijApA0cLDECmBsqRBOApIKDgCRcleAcU4Akg4OAAlgbKkQDgAJ89ORWr3Yg9QqFrT9DiBp4aCCBDV7S1gvAEkNB4C0OClon/Xuyd+b8NLDASBBzd4S1gMgwLGKyB6kxU2B+xRQol8dr0kfgNSoRdt0CgBIupQTcI0CAFKjFm3TKQAg6VJOwDUKAEiNWrRNpwCApEs5AdcoACA1atE2nQIAki7lBFyjAIDUqEXbdAoASLqUE3CNAv8BceFZFASacrMAAAAASUVORK5CYII="},ca23:function(t,e,a){t.exports=a.p+"static/img/waveanimation.ba30fb70.png"},cd73:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC6tJREFUeF7tnWF61DgMhpu5ReAwtCcrnAz2MNBbTPbxtIEwTBLZlm3ZevfH7sPWcexPeueTEk+ZnvgHBVBgV4EJbVAABfYVABCyAwUOFAAQ0gMFAIQcQIE0BXCQNN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Y+PxKhb/ahJzOL4ZXQxavU51jIcph1kG26OyveZ/Eer/vgrtL/N8/z7r9K2uEvTDrIVjKMpFtMnbU1W+41Hu+kGEPqStGS0dpX1kuper64AWRePm1hL+/P11PwW4Plq5CO6BAQ3kQfYwsieSqohHGTdBE+5LKT//hp6acQPHybYlli2OkoumU41R/XsGludui2xHgUbUGoi8PheI7jGsICsvcnlcvmyLMtz+3Txs4LRwFgjN5SDbNMRN6kH5yjl1CPFhgWER8LlARkZjOEd5D49cBQ9YDyA4Q4QHCUPkFF7jDNVhi+x9gQIjhJ+Nk3T65lInn/uFQy3DvKo9AKUfz8CvIMBIA9swburAMWDDwrP5cPR3r3AAhTHBLjtQWI+GEaDBSjk0QcQuVa3keGA5PV6vb2l76HB/4AhLPdb+Jf1b/BFhqP4cABRkHh1mNZHXDYwAIRCXG8fgkrzMM2dAsFpwv9a3SbAE/6ce0ZsheB6vf4X5rtcLrfvdOMMZVIQQMroGj3rCtR6IQkfLWGRCwCkiKxMOooCADJKJNlHEQUApIisTDqKAgAySiTZRxEFAKSIrEw6igL/A//ICTI5gAgeAAAAAElFTkSuQmCC"},ce08:function(t,e,a){t.exports=a.p+"static/img/rt-ch.5bf72bb5.png"},cff3:function(t,e,a){},dbb5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFiSURBVHgB7ZU/S8NAGMafS7x2K44uFScXQbIodJHWxcXBycVBcHKuXyB+AI27aBUc/Awu1cWKCIqgdRFEdHCLVWhrLed7JNXYtJBcrlt/8PDmcsl7f97LE2DAmEhGjrRMypAeoRmH9BqQA40s+EmLfrvot3PQRCdhkOCAvxhQo+LHja54Bw1kSSf4v/99azCCeMi93/Gv1/w4BW9FFSRkE95M5eyzUV9ivW5a9pfFmeFQZ54euamW5t2Pp7NJ6tol2YgBCyevT3DGr6nDhRCHYGy13ayN3+/lV+pvt8eISegUpYW5RMlHDWEWLm1uG6JVMNMZY3r9agwK9D2mja6oSmiAJuMHFNwUa5dn7ZadYrz83XgXD0eLHAr0LPIMFZl8sMSYsITAaXV/LvP5fC63aJu0hQHRsYcLxDimcexafkgv+LPoGjyb1m7XcvZyFZGsQpWhXUci0i+TIRmyFtrsWokf61JuD4bzuNYAAAAASUVORK5CYII="},e153:function(t,e,a){t.exports=a.p+"static/img/del2.3a9b5cf5.svg"},ea71:function(t,e,a){t.exports=a.p+"static/img/videoFile.8b2406f2.svg"},ed54:function(t,e,a){t.exports=a.p+"static/img/isVideo.1182258a.png"},f116:function(t,e,a){t.exports=a.p+"static/img/science.7dc68dfe.svg"},f3b8:function(t,e,a){"use strict";a("c25d")},f735:function(t,e,a){t.exports=a.p+"static/img/uploadFile.3a39e310.svg"},f968:function(t,e,a){},fb38:function(t,e,a){t.exports=a.p+"static/img/filter.162e29c1.svg"}}]);
|