(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-00b34a2c"],{"243a":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chatArea"},[e("bar",{attrs:{num:1,tit:"课堂"},on:{cutPage:function(e){return t.back()}}}),e("iframe",{ref:"iframeRef",staticClass:"ca_iframe",attrs:{allow:"camera *; microphone *;display-capture;midi;encrypted-media;",src:t.src}})],1)},o=[],c=(i("14d9"),i("e9c4"),i("becf")),n={components:{bar:c["a"]},data:function(){return{userId:this.$store.state.user.userinfo.userid,org:this.$store.state.user.userinfo.org,oid:this.$store.state.user.userinfo.organizeid,type:this.$route.query.type,src:"https://cloud.cocorobo.hk/aigpt/#/poc?muti_agent_id=798c3511-6b32-11ef-8ce0-12e77c4cb76b&isPbl=false&session_id=merenduihua444"}},methods:{back:function(){this.$router.push("/pocAiClassroom")}},mounted:function(){1==this.type?(console.log("2.1课程"),this.src="https://cloud.cocorobo.hk/aigpt/#/poc?muti_agent_id=798c3511-6b32-11ef-8ce0-12e77c4cb76b&isPbl=false&session_id=".concat(this.userId,"-21"),console.log("5")):2==this.type&&(console.log("2.2课程"),this.src="https://cloud.cocorobo.hk/aigpt/#/poc?muti_agent_id=a9883cc4-6c3d-11ef-8ce0-12e77c4cb76b&isPbl=false&session_id=".concat(this.userId,"-22"),console.log(3)),window.localStorage.setItem("showDialog",JSON.stringify({type:1,time:(new Date).getTime()}))}},a=n,r=(i("fbd2"),i("2877")),u=Object(r["a"])(a,s,o,!1,null,"20bb0365",null);e["default"]=u.exports},"31e3":function(t,e,i){"use strict";i("66b3")},4693:function(t,e,i){},"66b3":function(t,e,i){},becf:function(t,e,i){"use strict";var s=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)"}},[0!==t.num||0!==t.backPage?e("div",{staticStyle:{position:"absolute",left:"10px"}},[e("van-icon",{attrs:{name:"arrow-left"},on:{click:t.back}})],1):t._e(),""!==t.tit?e("div",{staticClass:"barTitle",staticStyle:{"font-size":"20px"}},[t._v(" "+t._s(t.tit)+" ")]):e("div",[t._t("title")],2),t.setting?e("div",{staticStyle:{position:"absolute",right:"10px"}},[e("van-popover",{attrs:{placement:"bottom-end",trigger:"click"},scopedSlots:t._u([{key:"reference",fn:function(){return[t._t("settingIcon")]},proxy:!0}],null,!0),model:{value:t.showSetting,callback:function(e){t.showSetting=e},expression:"showSetting"}},[t._t("setting")],2)],1):t._e(),e("div",{staticStyle:{position:"absolute",right:"10px"}},[t._t("changeChapter")],2)])},o=[],c=(i("a9e3"),{bind:function(t,e){t.clickOutsideEvent=function(i){t===i.target||t.contains(i.target)||e.value(i)},document.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.removeEventListener("click",t.clickOutsideEvent)}}),n={props:{tit:{type:String,default:""},num:{type:Number,default:0},backPage:{type:Number,default:0},setting:{type:Boolean,default:!1}},directives:{"click-outside":c},data:function(){return{barBackColor:"barBackColor",showSetting:!1}},methods:{back:function(){1==this.backPage?(console.log(this.backPage),this.$router.go(-1)):this.$emit("cutPage")},settingFn:function(){this.showSetting=!this.showSetting}}},a=n,r=(i("31e3"),i("2877")),u=Object(r["a"])(a,s,o,!1,null,"b6c036fa",null);e["a"]=u.exports},fbd2:function(t,e,i){"use strict";i("4693")}}]);