1"use strict";(self.webpackChunkrainweb=self.webpackChunkrainweb||[]).push([["20258"],{58245:function(t,e,n){n.d(e,{N:function(){return u},y:function(){return d}});var s=null,i=null;function a(t,e){void 0===e&&(e={});var n=document.createElement(t);return Object.keys(e).forEach(function(t){n[t]=e[t]}),n}function r(t,e,n){return(window.getComputedStyle(t,n||null)||{display:"none"})[e]}function o(t){if(!document.documentElement.contains(t))return{detached:!0,rendered:!1};for(var e=t;e!==document;){if("none"===r(e,"display"))return{detached:!1,rendered:!1};e=e.parentNode}return{detached:!1,rendered:!0}}var l=0,c=null;function u(t,e){if(t.__resize_mutation_handler__||(t.__resize_mutation_handler__=_.bind(t)),!t.__resize_listeners__){if(t.__resize_listeners__=[],window.ResizeObserver){var n=t.offsetWidth,s=t.offsetHeight,i=new ResizeObserver(function(){(t.__resize_observer_triggered__||(t.__resize_observer_triggered__=!0,t.offsetWidth!==n||t.offsetHeight!==s))&&f(t)}),u=o(t),d=u.detached,h=u.rendered;t.__resize_observer_triggered__=!1===d&&!1===h,t.__resize_observer__=i,i.observe(t)}else if(t.attachEvent&&t.addEventListener)t.__resize_legacy_resize_handler__=function(){f(t)},t.attachEvent("onresize",t.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);else if(l||(w='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',(D=document.createElement("style")).styleSheet?D.styleSheet.cssText=w:D.appendChild(document.createTextNode(w)),(document.querySelector("head")||document.body).appendChild(D),c=D),(b=r(g=t,"position"))&&"static"!==b||(g.style.position="relative"),g.__resize_old_position__=b,g.__resize_last__={},m=a("div",{className:"resize-triggers"}),C=a("div",{className:"resize-expand-trigger"}),y=a("div"),x=a("div",{className:"resize-contract-trigger"}),C.appendChild(y),m.appendChild(C),m.appendChild(x),g.appendChild(m),g.__resize_triggers__={triggers:m,expand:C,expandChild:y,contract:x},v(g),g.addEventListener("scroll",p,!0),g.__resize_last__={width:g.offsetWidth,height:g.offsetHeight},t.__resize_rendered__=o(t).rendered,window.MutationObserver){var g,b,m,C,y,x,w,D,k=new MutationObserver(t.__resize_mutation_handler__);k.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t.__resize_mutation_observer__=k}}t.__resize_listeners__.push(e),l++}function d(t,e){var n=t.__resize_listeners__;if(n){if(e&&n.splice(n.indexOf(e),1),!n.length||!e){if(t.detachEvent&&t.removeEventListener){t.detachEvent("onresize",t.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);return}t.__resize_observer__?(t.__resize_observer__.unobserve(t),t.__resize_observer__.disconnect(),t.__resize_observer__=null):(t.__resize_mutation_observer__&&(t.__resize_mutation_observer__.disconnect(),t.__resize_mutation_observer__=null),t.removeEventListener("scroll",p),t.removeChild(t.__resize_triggers__.triggers),t.__resize_triggers__=null),t.__resize_listeners__=null}--l||!c||c.parentNode.removeChild(c)}}function _(){var t=o(this),e=t.rendered,n=t.detached;e!==this.__resize_rendered__&&(!n&&this.__resize_triggers__&&(v(this),this.addEventListener("scroll",p,!0)),this.__resize_rendered__=e,f(this))}function p(){var t,e,n=this;v(this),this.__resize_raf__&&(t=this.__resize_raf__,i||(i=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),i(t)),this.__resize_raf__=(e=function(){var t,e,s,i,a,r=(e=(t=n.__resize_last__).width,s=t.height,i=n.offsetWidth,a=n.offsetHeight,i!==e||a!==s?{width:i,height:a}:null);r&&(n.__resize_last__=r,f(n))},s||(s=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),s(e))}function f(t){t&&t.__resize_listeners__&&t.__resize_listeners__.forEach(function(e){e.call(t,t)})}function v(t){var e=t.__resize_triggers__,n=e.expand,s=e.expandChild,i=e.contract,a=i.scrollWidth,r=i.scrollHeight,o=n.offsetWidth,l=n.offsetHeight,c=n.scrollWidth,u=n.scrollHeight;i.scrollLeft=a,i.scrollTop=r,s.style.width=o+1+"px",s.style.height=l+1+"px",n.scrollLeft=c,n.scrollTop=u}},76670:function(t,e,n){n.d(e,{ZP:function(){return b}});var s=n(84538),i=n(36817),a=n(91593),r=n(58245),o=function(){return(o=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var l=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"],c=/^on[^a-z]/,u=function(t){return c.test(t)};function d(t,e){var n=(0,s.dq)(t)?(0,s.SU)(t):t;return n&&"object"==typeof n&&"value"in n?n.value||e:n||e}var _=null,p="x-vue-echarts",f=[],v=[];!function(t,e){if(t&&"undefined"!=typeof document){var n,s=!0===e.prepend?"prepend":"append",
1i=!0===e.singleTag,a="string"==typeof e.container?document.querySelector(e.container):document.getElementsByTagName("head")[0];if(i){var r=f.indexOf(a);-1===r&&(v[r=f.push(a)-1]={}),n=v[r]&&v[r][s]?v[r][s]:v[r][s]=o()}else n=o();65279===t.charCodeAt(0)&&(t=t.substring(1)),n.styleSheet?n.styleSheet.cssText+=t:n.appendChild(document.createTextNode(t))}function o(){var t=document.createElement("style");if(t.setAttribute("type","text/css"),e.attributes)for(var n=Object.keys(e.attributes),i=0;i<n.length;i++)t.setAttribute(n[i],e.attributes[n[i]]);var r="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(r,t),t}}("x-vue-echarts{display:flex;flex-direction:column;width:100%;height:100%;min-width:0}\n.vue-echarts-inner{flex-grow:1;min-width:0;width:auto!important;height:auto!important}\n",{});var h=function(){if(null!=_)return _;if("undefined"==typeof HTMLElement||"undefined"==typeof customElements)return _=!1;try{Function("tag","class EChartsElement extends HTMLElement {\n __dispose = null;\n\n disconnectedCallback() {\n if (this.__dispose) {\n this.__dispose();\n this.__dispose = null;\n }\n }\n}\n\nif (customElements.get(tag) == null) {\n customElements.define(tag, EChartsElement);\n}\n")(p)}catch(t){return _=!1}return _=!0}();s.eR&&s.eR.config.ignoredElements.push(p);var g=/(^&?~?!?)native:/,b=(0,s.aZ)({name:"echarts",props:o(o({option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean},{autoresize:[Boolean,Object]}),{loading:Boolean,loadingOptions:Object}),emits:{},inheritAttrs:!1,setup:function(t,e){var n,c,_,p,f=e.attrs,v=(0,s.XI)(),b=(0,s.XI)(),m=(0,s.XI)(),C=(0,s.XI)(),y=(0,s.f3)("ecTheme",null),x=(0,s.f3)("ecInitOptions",null),w=(0,s.f3)("ecUpdateOptions",null),D=(0,s.BK)(t),k=D.autoresize,S=D.manualUpdate,O=D.loading,L=D.loadingOptions,A=(0,s.Fl)(function(){return C.value||t.option||null}),F=(0,s.Fl)(function(){return t.theme||d(y,{})}),T=(0,s.Fl)(function(){return t.initOptions||d(x,{})}),z=(0,s.Fl)(function(){return t.updateOptions||d(w,{})}),E=(0,s.Fl)(function(){var t={};for(var e in f)u(e)||(t[e]=f[e]);return t}),P={},I=(0,s.FN)().proxy.$listeners,$={};function j(e){if(b.value){var n=m.value=(0,i.S1)(b.value,F.value,T.value);t.group&&(n.group=t.group),Object.keys($).forEach(function(t){var e=$[t];if(e){var s=t.toLowerCase();"~"===s.charAt(0)&&(s=s.substring(1),e.__once__=!0);var i=n;if(0===s.indexOf("zr:")&&(i=n.getZr(),s=s.substring(3)),e.__once__){delete e.__once__;var a=e;e=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];a.apply(void 0,t),i.off(s,e)}}i.on(s,e)}}),k.value?(0,s.Y3)(function(){n&&!n.isDisposed()&&n.resize(),a()}):a()}function a(){var t=e||A.value;t&&n.setOption(t,z.value)}}function N(){m.value&&(m.value.dispose(),m.value=void 0)}I?Object.keys(I).forEach(function(t){g.test(t)?P[t.replace(g,"$1")]=I[t]:$[t]=I[t]}):Object.keys(f).filter(function(t){return u(t)}).forEach(function(t){var e=t.charAt(2).toLowerCase()+t.slice(3);0!==e.indexOf("native:")?("Once"===e.substring(e.length-4)&&(e="~".concat(e.substring(0,e.length-4))),$[e]=f[t]):P["on".concat(e.charAt(7).toUpperCase()).concat(e.slice(8))]=f[t]});var R=null;(0,s.YP)(S,function(e){"function"==typeof R&&(R(),R=null),e||(R=(0,s.YP)(function(){return t.option},function(t,e){t&&(m.value?m.value.setOption(t,o({notMerge:t!==e},z.value)):j())},{deep:!0}))},{immediate:!0}),(0,s.YP)([F,T],function(){N(),j()},{deep:!0}),(0,s.m0)(function(){t.group&&m.value&&(m.value.group=t.group)});var Z=(n=Object.create(null),l.forEach(function(t){n[t]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!m.value)throw Error("ECharts is not initialized yet.");return m.value[t].apply(m.value,e)}}),n);return c=(0,s.f3)("ecLoadingOptions",{}),_=(0,s.Fl)(function(){return o(o({},d(c,{})),null==L?void 0:L.value)}),(0,s.m0)(function(){var t=m.value;t&&(O.value?t.showLoading(_.value):t.hideLoading())}),p=null,(0,s.YP)([b,m,k],function(t,e,n){var s=t[0],i=t[1],o=t[2];if(s&&i&&o){var l=!0===o?{}:o,c=l.throttle,u=void 0===c?100:c,d=l.onResize,_=function(){i.resize(),null==d||d()};p=u?(0,a.P2)(_,u):_,(0,r.N)(s,p)}n(function(){s&&p&&(0,r.y)(s,p)})}),(0,s.bv)(function(){j()}),(0,s.Jd)(function(){h&&v.value?v.value.__dispose=N:N()}),o({chart:m,root:v,inner:b,setOption:function(e,n){t.manualUpdate&&(C.value=e),m.value?m.value.setOption(e,n||{}):j(e)},nonEventAttrs:E,nativeListeners:P},Z)},render:function(){var t=s.eR?{attrs:this.nonEventAttrs,on:this.nativeListeners}:o(o({},this.nonEventAttrs),this.nativeListeners);return t.ref="root",t.class=t.class?["echarts"].concat(t.class):"echarts",(0,s.h)(p,t,[(0,s.h)("div",{ref:"inner",class:"vue-echarts-inner"})])}})},49916:function(t,e,n){n.d(e,{Z:function(){return F}}),n(35350),n(63649),n(32927),n(35130),n(42463),n(76556),n(86067),n(13054),n(88761),n(60668),n(80764),n(13794),n(87481),n(63064),n(72775),n(27281);var s=n(92511),i=n(25253),a=n(51808),r=n(35052),o=n(18108),l=n(81049),c=(0,l.Z)({__name:"high-frequency-issues",props:{issuesList:{type:Array,default:function(){return[]}},isLoading:{type:Boolean,default:!0}},emits:["change"],setup:function(t,e){var n=e.emit,l="en"===i18n.locale,c=(0,o.toRefs)(t),u=c.issuesList,d=c.isLoading,_=(0,o.ref)("-1");return{__sfc:!0,isEn:l,emits:n,props:t,issuesList:u,isLoading:d,selectType:_,selectTypeList:(0,o.ref)([{value:"-1",label:i18n.t("DecisionCenter.AllTypes")},{value:"3",label:i18n.t("DecisionCenter.RecommendQuestion")},{value:"2",label:i18n.t("DecisionCenter.InstructionQuestion")},{value:"1",label:i18n.t("DecisionCenter.FreeQuestion")}]),changeTypeFun:function(t){_.value=t,n("change",t)},empty:s.Z,labelSelect:i.Z,loading:a.Z,enLang:r.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"high-frequency-issues-wrapper"},[e("div",{staticClass:"title"},[e("img",{staticClass:"icon",attrs:{src:"https://qn-st0.yuketang.cn/16508729001235.png",alt:""}}),t._v(" "),e("p",{staticClass:"f16"},[t._v(t._s(t.$t("DecisionCenter.StudentHighFrequency")))])]),t._v(" "),e(n.labelSelect,{staticClass:"select-type",attrs:{value:n.selectType,options:n.selectTypeList,clearable:!1,label:"",optionsLabel:"label",optionsValue:"value",width:"96px"},on:{change:n.changeTypeFun}}),t._v(" "),e("div",{staticClass:"issues-content"},[n.isLoading?e(n.loading):[n.issuesList.length?[e("div",{staticClass:"issues-list"},t._l(n.issuesList,function(s,i){return e("div",{key:i,staticClass:"issues-item box-start",class:0==i?"purple":1==i?"blue":2==i?"green":""},[e("span",{staticClass:"order"},[t._v(t._s(i+1))]),t._v(" "),e("p",{staticClass:"question f14 text-gray-001 ellipsis-2"},[t._v("\n "+t._s(s.summary_content)+"\n ")]),t._v(" "),e("p",{staticClass:"tag f12"}
1,[t._v("\n "+t._s((n.isEn?n.enLang[s.question_type]:s.question_type)||s.question_type)+"\n ")]),t._v(" "),e("p",{staticClass:"number box-center"},[e("span",{staticClass:"f13 text-gray-002"},[t._v(t._s(t.$t("DecisionCenter.Questioning")))]),t._v(" "),e("span",{staticClass:"f13 w26 text-gray-002"},[t._v(t._s(s.question_count))]),t._v(" "),e("span",{staticClass:"f13 text-gray-002"},[t._v(t._s(t.$t("DecisionCenter.times")))])])])}),0),t._v(" "),100==n.issuesList.length?e("p",{staticClass:"more f13 text-gray-003"},[t._v("\n --\n "),t._v(t._s(t.$t("DecisionCenter.DataLimit100"))+" --\n ")]):t._e()]:e(n.empty)]],2)],1)},[],!1,null,"4ad88657",null).exports,u=(0,l.Z)({__name:"usage-overview",props:{content:{type:Object,default:function(){}},isLoading:{type:Boolean,default:!0}},setup:function(t){return{__sfc:!0,isEn:"en"===i18n.locale,props:t,loading:a.Z}}},function(){var t,e,n,s,i,a,r,o,l,c,u,d,_,p,f,v,h,g,b,m,C,y,x,w,D,k,S,O,L,A=this._self._c,F=this._self._setupProxy;return A("div",{staticClass:"usage-overview",class:{"en-usage-overview":F.isEn}},[this.isLoading?A(F.loading):[A("img",{staticClass:"img-bg",attrs:{src:"https://static-cdn.xuetangx.com/xtassets/used-cover-bg3.png",alt:""}}),this._v(" "),A("div",{staticClass:"center-num-box box-center"},[A("div",{staticClass:"num-box box-center"},[A("p",{staticClass:"f22 numfamily bold"},[this._v(this._s(null==(t=this.content)?void 0:t.total_user_use))]),this._v(" "),A("p",{staticClass:"f14"},[this._v(this._s(this.$t("DecisionCenter.TotalUsageTimes")))])])]),this._v(" "),A("div",{staticClass:"first-row-box box-between"},[A("div",{staticClass:"column-box box-end"},[A("div",{staticClass:"num-box"},[A("p",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(e=this.content)?void 0:e.total_classroom))]),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.UsageRound")))])]),this._v(" "),A("img",{attrs:{src:"https://static-cdn.xuetangx.com/xtassets/usage-cover-1.png",alt:""}})]),this._v(" "),A("div",{staticClass:"column-box box-start"},[A("img",{attrs:{src:"https://static-cdn.xuetangx.com/xtassets/usage-cover-4.png",alt:""}}),this._v(" "),A("div",{staticClass:"num-box"},[A("p",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(n=this.content)?void 0:n.total_student_use))]),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.StudentUsageFrequency")))])]),this._v(" "),A("div",{staticClass:"num-box"},[A("p",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(s=this.content)?void 0:s.avg_student_use))]),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.AverageUsageCount")))])])])]),this._v(" "),A("div",{staticClass:"second-row-box box-between"},[A("div",{staticClass:"column-box box-end"},[A("div",{staticClass:"num-box"},[A("p",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(i=this.content)?void 0:i.total_student))]),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.UsageStudents")))])]),this._v(" "),A("div",{staticClass:"num-box"},[A("p",{staticClass:"f17 numfamily bold"},[this._v("\n "+this._s(null==(a=this.content)?void 0:a.total_classroom_student)+"\n ")]),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.SelectedStudents")))])]),this._v(" "),A("div",{staticClass:"num-box"},[A("p",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(r=this.content)?void 0:r.rate_student_use))]),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.StudentUsageRate")))])]),this._v(" "),A("img",{attrs:{src:"https://static-cdn.xuetangx.com/xtassets/usage-cover-2.png",alt:""}})]),this._v(" "),A("div",{staticClass:"column-box box-start"},[A("img",{attrs:{src:"https://static-cdn.xuetangx.com/xtassets/usage-cover-3.png",alt:""}}),this._v(" "),A("div",{staticClass:"num-box"},[A("p",{staticClass:"time box-center"},[(null==(l=this.content)||null==(o=l.total_student_use_duration)?void 0:o.hour)?[A("span",{staticClass:"f17 numfamily bold"},[this._v(this._s(this.content.total_student_use_duration.hour))]),A("span",{staticClass:"f14"},[this._v(this._s(this.$t("DecisionCenter.Hour")))])]:this._e(),this._v(" "),((null==(u=this.content)||null==(c=u.total_student_use_duration)?void 0:c.minute)||!(null==(_=this.content)||null==(d=_.total_student_use_duration)?void 0:d.hour))&&(null==(f=this.content)||null==(p=f.total_student_use_duration)?void 0:p.hour)<1e4?[A("span",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(h=this.content)||null==(v=h.total_student_use_duration)?void 0:v.minute))]),A("span",{staticClass:"f14"},[this._v(this._s(this.$t("DecisionCenter.Minute")))])]:this._e()],2),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.StudentUsageDuration")))])]),this._v(" "),A("div",{staticClass:"num-box"},[A("p",{staticClass:"time box-center"},[(null==(b=this.content)||null==(g=b.avg_student_use_duration)?void 0:g.hour)?[A("span",{staticClass:"f17 numfamily bold"}
1,[this._v(this._s(null==(C=this.content)||null==(m=C.avg_student_use_duration)?void 0:m.hour))]),A("span",{staticClass:"f14"},[this._v(this._s(this.$t("DecisionCenter.Hour")))])]:this._e(),this._v(" "),((null==(x=this.content)||null==(y=x.avg_student_use_duration)?void 0:y.minute)||!(null==(D=this.content)||null==(w=D.avg_student_use_duration)?void 0:w.hour))&&(null==(S=this.content)||null==(k=S.avg_student_use_duration)?void 0:k.hour)<1e4?[A("span",{staticClass:"f17 numfamily bold"},[this._v(this._s(null==(L=this.content)||null==(O=L.avg_student_use_duration)?void 0:O.minute))]),A("span",{staticClass:"f14"},[this._v(this._s(this.$t("DecisionCenter.Minute")))])]:this._e()],2),this._v(" "),A("p",{staticClass:"f13 text-gray-002"},[this._v(this._s(this.$t("DecisionCenter.AverageUsageDuration")))])])])])]],2)},[],!1,null,"1af09ee6",null).exports,d=n(31242),_=n(6966),p=n(73121);function f(t,e,n,s,i,a,r){try{var o=t[a](r),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(s,i)}var v=(0,l.Z)({__name:"usage-data-tabs",props:{moocData:{type:Array,default:function(){return[]}},campusData:{type:Array,default:function(){return[]}},allData:{type:Array,default:function(){return[]}},courseList:{type:Array,default:function(){return[]}}},setup:function(t){var e="https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/ai-mooc/",n={all:"".concat(e,"bg-all-1.png"),campus:"".concat(e,"bg-xiaonei-1.png")},s=(0,_.LS)(),i=["rain","envning","env-example"].includes(s),a=!!["envning","env-example"].includes(s),r=(0,d.yj)(),l="/ai-workspace/ai-result-display",c=(0,o.ref)("all"),u=(0,o.ref)(null),v=(0,o.ref)(0),h=(0,o.ref)(null),g=0,b=(0,o.computed)(function(){return t.courseList[v.value]||{}}),m=(0,o.computed)(function(){return({all:t.allData,mooc:t.moocData,campus:t.campusData})[c.value]||[]}),C=(0,o.computed)(function(){return n[c.value]||""}),y=(0,o.computed)(function(){return!i||null!==h.value&&9!==h.value});function x(t){var e;return(e=function(){var e,n;return function(t,e){var n,s,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(a=0)),a;)try{if(n=1,s&&(i=2&c[0]?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,s=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],s=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(s){switch(s.label){case 0:if(e=++g,h.value=null,!i||!t)return[2];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,p.ZP.get("/c27/online_courseware/agent/".concat(t,"/init_info/"))];case 2:if(n=s.sent().data,e!==g)return[2];return h.value=Number(null==n?void 0:n.level),[3,4];case 3:if(s.sent(),e!==g)return[2];return[3,4];case 4:return h.value||(h.value=0),[2]}})},function(){var t=this,n=arguments;return new Promise(function(s,i){var a=e.apply(t,n);function r(t){f(a,s,i,r,o,"next",t)}function o(t){f(a,s,i,r,o,"throw",t)}r(void 0)})})()}return(0,o.watch)(function(){return t.courseList.length},function(){v.value=0}),(0,o.watch)(function(){return r.params.course_id},function(t){x(t)},{immediate:!0}),{__sfc:!0,assetBaseUrl:e,staticBannerMap:n,platformKey:s,shouldCheckAgentLevel:i,isEnv:a,route:r,isDevelopment:!1,basePath:l,props:t,activeTab:c,carouselRef:u,currentCourseIndex:v,agentLevel:h,latestAgentLevelRequestId:g,tabs:[{key:"all",label:"å
¨é¨"},{key:"mooc",label:"æ
课"},{key:"campus",label:"æ ¡å
"}],currentCourse:b,activeData:m,activeStaticBannerImage:C,showAiCourseButton:y,getAgentLevel:x,formatValue:function(t){return t||0===t?t:0},goto:function(t){(null==t?void 0:t.product_sign)&&window.open((a?"https://xt-envning.rainclassroom.com/course/":"https://www.xuetangx.com/course/")+t.product_sign)},gotoAiCourse:function(){var t=r.params.course_id;t&&window.open("".concat(window.location.origin).concat(l,"/").concat(encodeURIComponent(t)),"_blank")},goNext:function(){var t;null==(t=u.value)||t.next()},goPrev:function(){var t;null==(t=u.value)||t.prev()},onCarouselChange:function(t){v.value=t}}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"ai-usage-data-tabs"},[e("div",{staticClass:"ai-usage-data-tabs__banner"},[e("div",{staticClass:"ai-usage-data-tabs__header"},[t._m(0),t._v(" "),e("span",{staticClass:"ai-usage-data-tabs__title"},[t._v("æ°æ®æ¦è§")]),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__tab-list"},t._l(n.tabs,function(s,i){var a;return e("button",{key:s.key,class:["ai-usage-data-tabs__tab",{"is-active":s.key===n.activeTab,"is-before-active":(null==(a=n.tabs[i+1])?void 0:a.key)===n.activeTab}],attrs:{type:"button"},on:{click:function(t){n.activeTab=s.key}}},[t._v("\n "+t._s(s.label)+"\n ")])}),0)]),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__content"},[e("div",{staticClass:"ai-usage-data-tabs__data"},t._l(n.activeData,function(s,i){return e("div",{key:"".concat(n.activeTab,"-").concat(i),staticClass:"ai-usage-data-tabs__item"},[e("div",{staticClass:"ai-usage-data-tabs__icon-wrapper box-center"},[e("img",{attrs:{src:n.assetBaseUrl+s.icon,alt:""}})]),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__shadow"},[e("img",{attrs:{src:n.assetBaseUrl+"shadow.png",alt:""}})]),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__label"},[t._v(t._s(s.label))]),t._v(" "),"duration"!==s.type?e("div",{staticClass:"ai-usage-data-tabs__value"},[t._v("\n "+t._s(n.formatValue(s.num))+"\n ")]):e("div",{staticClass:"ai-usage-data-tabs__value ai-usage-data-tabs__value--duration"},[s.hour?[e("span",{staticClass:"ai-usage-data-tabs__duration-num"},[t._v(t._s(s.hour))]),t._v(" "),e("span",{staticClass:"ai-usage-data-tabs__duration-unit"},[t._v(t._s(t.$t("DecisionCenter.Hour")))])]:t._e(),t._v(" "),(s.minute||!s.hour)&&s.hour<1e4?[e("span",{staticClass:"ai-usage-data-tabs__duration-num"},[t._v(t._s(s.minute||0))]),t._v(" "),e("span",{staticClass:"ai-usage-data-tabs__duration-unit"},[t._v(t._s(t.$t("DecisionCenter.Minute")))])]:t._e()],2)])}),0),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__side"},[e("transition",{attrs:{name:"ai-usage-data-tabs__banner-fade"}},["mooc"!==n.activeTab?e("div",{key:n.activeTab,staticClass:"ai-usage-data-tabs__static-banner"},[e("img",{attrs:{src:n.activeStaticBannerImage,alt:""}}),t._v(" "),n.showAiCourseButton?e("button",{staticClass:"ai-usage-data-tabs__carousel-pointer ai-usage-data-tabs__carousel-pointer--ai-course flex justify-between items-center",attrs:{type:"button"},on:{click:n.gotoAiCourse}}
1,[e("span",{staticClass:"ai-usage-data-tabs__carousel-pointer-text flex items-center"},[e("span",{staticClass:"ai-usage-data-tabs__text"},[t._v("æ¥çAI课ç¨")])])]):t._e()]):e("div",{key:"mooc",staticClass:"ai-usage-data-tabs__mooc-banner"},[e("el-carousel",{ref:"carouselRef",attrs:{"indicator-position":"none",arrow:"never"},on:{change:n.onCarouselChange}},t._l(t.courseList,function(s){return e("el-carousel-item",{key:s.id},[e("div",{staticClass:"ai-usage-data-tabs__product-cover-wrapper",on:{click:function(t){return n.goto(s)}}},[s.product_cover?e("img",{staticClass:"ai-usage-data-tabs__product-cover",attrs:{src:s.product_cover,alt:""}}):t._e(),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__product-mask",style:{"--mask-color":s.color||"#FFF"}})])])}),1),t._v(" "),t.courseList.length?e("div",{staticClass:"ai-usage-data-tabs__carousel-pointer flex justify-between items-center"},[e("div",{staticClass:"ai-usage-data-tabs__carousel-icon box-center",on:{click:n.goPrev}},[e("i",{staticClass:"iconfont icon-jiantoudan-xiangzuo"})]),t._v(" "),e("span",{staticClass:"ai-usage-data-tabs__carousel-pointer-text flex items-center"},[e("span",{staticClass:"ai-usage-data-tabs__text"},[t._v(t._s(n.currentCourse.product_name))]),t._v(" "),e("span",{staticClass:"ai-usage-data-tabs__count"},[t._v("ï¼"+t._s(n.currentCourseIndex+1)+"/"+t._s(t.courseList.length)+"ï¼")])]),t._v(" "),e("div",{staticClass:"ai-usage-data-tabs__carousel-icon box-center",on:{click:n.goNext}},[e("i",{staticClass:"iconfont icon-jiantoudan-xiangyou"})])]):t._e()],1)])],1)])])])},[function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"ai-usage-data-tabs__decor",attrs:{"aria-hidden":"true"}},[t("img",{attrs:{src:"https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/ai-mooc/title-icon.svg",alt:""}})])}],!1,null,"64386878",null).exports,h=n(76067),g=n(35613),b=n(48905);function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,s=Array(e);n<e;n++)s[n]=t[n];return s}function C(t,e,n,s,i,a,r){try{var o=t[a](r),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(s,i)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,s,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a=[],r=!0,o=!1;try{for(i=i.call(t);!(r=(n=i.next()).done)&&(a.push(n.value),!e||a.length!==e);r=!0);}catch(t){o=!0,s=t}finally{try{r||null==i.return||i.return()}finally{if(o)throw s}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e,n){return"#".concat((0x1000000+(t<<16)+(e<<8)+n).toString(16).slice(1))}function w(t){var e=parseInt(t.slice(1),16);return[e>>16&255,e>>8&255,255&e]}function x(t,e,n){return"#"+[t,e,n].map(function(t){var e=t.toString(16);return 1===e.length?"0"+e:e}).join("").toUpperCase()}n(25874),n(56325),n(61657),n(79136),n(42682),n(52042),n(72646);var D=n(80637);function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,s=Array(e);n<e;n++)s[n]=t[n];return s}function S(t,e,n,s,i,a,r){try{var o=t[a](r),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(s,i)}function O(t){return function(){var e=this,n=arguments;return new Promise(function(s,i){var a=t.apply(e,n);function r(t){S(a,s,i,r,o,"next",t)}function o(t){S(a,s,i,r,o,"throw",t)}r(void 0)})}}function L(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return k(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){var n,s,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(a=0)),a;)try{if(n=1,s&&(i=2&c[0]?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,s=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],s=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var F=(0,l.Z)({__name:"ai-usage",props:{showTabs:{type:Boolean,default:!1},resourceId:{type:[Number,String],default:0}},setup:function(t){var e=(0,d.yj)(),n=e.params.course_id,s=(0,o.computed)(function(){return t.showTabs||"1"==="".concat(e.query.show_tabs)}),a=(0,o.computed)(function(){return t.resourceId||e.query.resource_id||0}),r=!!["envning","env-example"].includes((0,_.LS)()),l=(0,o.ref)(null),f=(0,o.ref)(!0),m=(0,o.ref)([{label:i18n.t("DecisionCenter.UsageRound"),num:"",icon:"使ç¨è½®æ¬¡.png",key:"roun
1d_count"},{label:i18n.t("DecisionCenter.EnrollmentCount"),num:"",icon:"é课人次.png",key:"student_count"},{label:i18n.t("DecisionCenter.KnowledgePoint"),num:"",icon:"ç¥è¯ç¹.png",key:"kg_node_cnt"},{label:i18n.t("DecisionCenter.AiUsageStudents"),num:"",icon:"AI使ç¨å¦ç.png",key:"total_student"},{label:i18n.t("DecisionCenter.AIUsageTimes"),num:"",icon:"AIä½¿ç¨æ¬¡æ°.png",key:"total_student_use"},{label:i18n.t("DecisionCenter.AiUsageDuration"),hour:"",minute:"",icon:"AIä½¿ç¨æ¶é¿.png",key:"1",type:"duration"}]),k=(0,o.ref)([]),S=(0,o.ref)(0),F=(0,o.computed)(function(){return k.value[S.value]||{}}),T=(0,o.ref)({}),z=(0,o.computed)(function(){return V(T.value)}),E=(0,o.computed)(function(){return H(m.value,T.value)}),P=(0,o.ref)({}),I=(0,o.reactive)({overview_block:{},isLoading:!1,question_type_block:[],feedback_state_block:[]}),$=(0,o.reactive)({issuesType:-1,issuesList:[],isLoading:!0}),j=(0,o.computed)(function(){var t=[];return N.value?U.value?t=[U.value]:B.value.forEach(function(e){t.push(e.classroom_id)}):R.value.forEach(function(e){e.classroom_details.forEach(function(e){t.push(e.classroom_id)})}),!t.length}),N=(0,o.ref)(""),R=(0,o.ref)([]),Z=(0,o.ref)(""),M=(0,o.ref)([]),U=(0,o.ref)(""),B=(0,o.ref)([]),q=(0,o.ref)(""),G=(0,o.ref)([]),W=(0,o.ref)([{code:1,name:i18n.t("DecisionCenter.LearningCompanionTitle"),routerName:"1",tabLabel:i18n.t("DecisionCenter.LearningCompanionTitle")},{code:2,name:i18n.t("DecisionCenter.KnowledgeGraphTitle"),routerName:"2",tabLabel:i18n.t("DecisionCenter.KnowledgeGraphTitle")}]);function K(t,e){return Number((t.find(function(t){return t.key===e})||{}).num)||0}function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.total_ai_using_duration||{};return[{label:"æ ¡å
è¿è¡å¦æ",num:t.total_term||0,icon:"æ ¡å
è¿è¡å¦æ.png",key:"total_term"},{label:"æ ¡å
åºç¨ç级",num:t.total_classroom||0,icon:"æ ¡å
åºç¨ç级.png",key:"total_classroom"},{label:i18n.t("DecisionCenter.EnrollmentCount"),num:t.total_choose||0,icon:"é课人次.png",key:"total_choose"},{label:i18n.t("DecisionCenter.AiUsageStudents"),num:t.total_ai_using_people||0,icon:"AI使ç¨å¦ç.png",key:"total_ai_using_people"},{label:i18n.t("DecisionCenter.AIUsageTimes"),num:t.total_ai_using_times||0,icon:"AIä½¿ç¨æ¬¡æ°.png",key:"total_ai_using_times"},{label:i18n.t("DecisionCenter.AiUsageDuration"),hour:e.hour||0,minute:e.minute||0,icon:"AIä½¿ç¨æ¶é¿.png",key:"total_ai_using_duration",type:"duration"}]}function H(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.total_ai_using_duration||{},s=t.find(function(t){return"1"===t.key})||{},i=60*(Number(s.hour)||0)+(Number(s.minute)||0)+60*(Number(n.hour)||0)+(Number(n.minute)||0);return[{label:i18n.t("DecisionCenter.UsageRound"),num:K(t,"round_count"),icon:"使ç¨è½®æ¬¡.png",key:"round_count"},{label:i18n.t("DecisionCenter.EnrollmentCount"),num:K(t,"student_count")+(Number(e.total_choose)||0),icon:"é课人次.png",key:"student_count"},{label:i18n.t("DecisionCenter.KnowledgePoint"),num:K(t,"kg_node_cnt"),icon:"ç¥è¯ç¹.png",key:"kg_node_cnt"},{label:i18n.t("DecisionCenter.AiUsageStudents"),num:K(t,"total_student")+(Number(e.total_ai_using_people)||0),icon:"AI使ç¨å¦ç.png",key:"total_student"},{label:i18n.t("DecisionCenter.AIUsageTimes"),num:K(t,"total_student_use")+(Number(e.total_ai_using_times)||0),icon:"AIä½¿ç¨æ¬¡æ°.png",key:"total_student_use"},{label:i18n.t("DecisionCenter.AiUsageDuration"),hour:Math.floor(i/60),minute:i%60,icon:"AIä½¿ç¨æ¶é¿.png",key:"total_duration",type:"duration"}]}function X(){return O(function(){return A(this,function(t){switch(t.label){case 0:if(!s.value)return[2];return[4,p.ZP.get(D.Z.ai_mooc_status.get_campus_overview,{agent_id:n})];case 1:return T.value=t.sent().data||{},[2]}})})()}function Q(){return O(function(){return A(this,function(t){switch(t.label){case 0:return[4,Promise.all(k.value.map(function(t){return O(function(){var e;return A(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(e=function(){var e,i,a,r,o,l,c,u,d,_,p,f,v,h,g,b,m,C,D,k,S,O,L,A,F,T,z,E,P;return function(t,e){var n,s,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(a=0)),a;)try{if(n=1,s&&(i=2&c[0]?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,s=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],s=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(I){switch(I.label){case 0:var $;return I.trys.push([0,2,,3]),[4,($=t,new Promise(function(t,e){var n=new Image;n.crossOrigin="Anonymous",n.onload=function(){return t(n)},n.onerror=function(){return e(Error("å¾çå 载失败"))},n.src=$}))];case 1:for(e=I.sent(),a=(i=document.createElement("canvas")).getContext("2d",{willReadFrequently:!0}),r=Math.min(500/e.width,500/e.height,1),i.width=Math.floor(e.width*r),i.height=Math.floor(e.height*r),a.drawImage(e,0,0,i.width,i.height),o=a.getImageData(0,0,i.width,i.height).data,l=new Map,c=0,u="#000000",_=Math.max(0,d=i.height-n);_<i.height;_++)for(p=0;p<i.width;p++)if(v=o[f=(_*i.width+p)*4],h=o[f+1],g=o[f+2],!(o[f+3]<128)){b=!1,m=!0,C=!1,D=void 0;try{for(k=l[Symbol.iterator]();!(m=(S=k.next()).done);m=!0)if(L=(O=y(S.value,2))[0],A=O[1],T=(F=y(w(L),3))[0],z=F[1],E=F[2],Math.abs(v-T)<=s&&Math.abs(h-z)<=s&&Math.abs(g-E)<=s){l.set(L,A+1),A+1>c&&(c=A+1,u=L),b=!0;break}}catch(t){C=!0,D=t}finally{try{m||null==k.return||k.return()}finally{if(C)throw D}}b||(P=x(v,h,g),l.set(P,1),0===c&&(c=1,u=P))}return[2,w(u).join(",")];case 2:return console.error("Error in getEdgeDominantColor:",I.sent()),[2,"0, 0, 0"];case 3:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(s,i){var a=e.apply(t,n);function r(t){C(a,s,i,r,o,"next",t)}function o(t){C(a,s,i,r,o,"throw",t)}r(void 0)})})()}(t.product_cover)];case 1:return t.color=n.sent(),[3,3];case 2:return e=n.sent(),console.error("è·åé¢è²å¤±è´¥ï¼".concat(t.product_cover),e),t.color="#FFFFFF",[3,3];case 3:return[2]}})})()}))];case 1:return t.sent(),console.log("ææé¢è²å·²æ´æ°"),k.value=L(k.value),[2]}})})()}function J(){return O(function(){var t;return A(this,function(e){switch(e.label){case 0:return[4,p.ZP.get(D.Z.ai_mooc_status.get_used_info.replace("{agent_id}",n))];case 1:return k.value=(t=e.sent().data).product_list||[],m.value.forEach(function(e){var n;e.num=null!=(n=t[e.key])?n:e.num}),m.value=L(m.value),Q(),[2]}})})()}function Y(){return O(function(){var t;return A(this,function(e){switch(e.label){case 0:return[4,p.ZP.get(D.Z.ai_mooc_status.get_kg_node_cnt.replace("{agent_id}",n))];case 1:return t=e.sent().data,m.value.forEach(function(e){var n;e.num=null!=(n=t[e.key])?n:e.num}),m.value=L(m.value),[2]}})})()}function tt(){return O(function(){var t,e,s,i,a;return A(this,function(r){switch(r.label){case 0:return[4,p.ZP.get(D.Z.ai_mooc_status.get_selsect_list.replace("{agent_id}",n))];
1case 1:return R.value=JSON.parse(JSON.stringify(i=r.sent().data)),R.value.forEach(function(t){t.classroom_details.length>0&&t.classroom_details.unshift({classroom_id:"",classroom_name:i18n.t("DecisionCenter.All")})}),R.value.length>0&&(N.value=R.value[0].resource_id,B.value=R.value[0].classroom_details||[],U.value=(null==(a=R.value[0].classroom_details[0])?void 0:a.classroom_id)||""),M.value=JSON.parse(JSON.stringify(i)),Z.value=(null==(t=M.value[0])?void 0:t.resource_id)||"",G.value=(null==(e=M.value[0])?void 0:e.classroom_details)||[],q.value=(null==(s=G.value[0])?void 0:s.classroom_id)||"",f.value=!1,ts(),ti(),tn(),q.value&&te(),[2]}})})()}function te(){return O(function(){return A(this,function(t){switch(t.label){case 0:return[4,p.ZP.get(D.Z.ai_mooc_status.get_graph_statistics.replace("{agent_id}",n),{resource_id:Z.value,classroom_id:q.value})];case 1:return P.value=t.sent().data,[2]}})})()}function tn(){return O(function(){var t,e;return A(this,function(s){switch(s.label){case 0:return t=[],R.value.forEach(function(e){e.classroom_details.filter(function(t){return""!==t.classroom_id}).forEach(function(e){t.push(e.classroom_id)})}),[4,p.ZP.get(D.Z.ai_mooc_status.get_ball_statistics,{agent_id:n,classroom_ids:t.join(","),resource_id:a.value})];case 1:if(e=s.sent().data,!t.length)return[2];return m.value[3].num=e.overview_block[m.value[3].key],m.value[4].num=e.overview_block[m.value[4].key],m.value[5].hour=e.overview_block.total_student_use_duration.hour,m.value[5].minute=e.overview_block.total_student_use_duration.minute,[2]}})})()}function ts(){return O(function(){var t,e;return A(this,function(s){switch(s.label){case 0:if(t=[],N.value?U.value?t=[U.value]:B.value.filter(function(t){return""!==t.classroom_id}).forEach(function(e){t.push(e.classroom_id)}):R.value.forEach(function(e){e.classroom_details.forEach(function(e){t.push(e.classroom_id)})}),!t.length)return[2];return I.isLoading=!0,[4,p.ZP.get(D.Z.ai_mooc_status.get_ball_statistics,{agent_id:n,classroom_ids:t.join(","),resource_id:a.value})];case 1:return I.overview_block=(e=s.sent().data).overview_block,I.feedback_state_block=e.feedback_state_block,I.question_type_block=e.question_type_block,I.isLoading=!1,[2]}})})()}function ti(){return O(function(){var t;return A(this,function(e){switch(e.label){case 0:if(t=[],N.value?U.value?t=[U.value]:B.value.filter(function(t){return""!==t.classroom_id}).forEach(function(e){t.push(e.classroom_id)}):R.value.forEach(function(e){e.classroom_details.forEach(function(e){t.push(e.classroom_id)})}),!t.length)return[2];return $.isLoading=!0,[4,p.ZP.get(D.Z.ai_mooc_status.get_mooc_hot_questions,{agent_id:n,classroom_ids:t.join(","),question_type:$.issuesType})];case 1:return $.issuesList=e.sent().data.data,$.isLoading=!1,[2]}})})()}var ta=(0,o.ref)(W.value[0].routerName);function tr(t){q.value=t,t&&te()}return(0,o.onMounted)(function(){J(),Y(),tt(),X()}),{__sfc:!0,props:t,route:e,agentId:n,showDataTabs:s,normalizedResourceId:a,isEnv:r,carouselRef:l,isLoading:f,statisticsData:m,courseList:k,currentCourseIndex:S,currentCourse:F,campusOverviewData:T,campusStatisticsData:z,allStatisticsData:E,graphStatisticsData:P,overviewData:I,issuesData:$,noClass:j,selectResource:N,selectResourceList:R,selectResourceGraph:Z,selectResourceListGraph:M,selectClass:U,selectClassList:B,selectClassGraph:q,selectClassListGraph:G,tabList:W,getStatisticNum:K,buildCampusStatisticsData:V,buildAllStatisticsData:H,getCampusOverview:X,setColor:Q,getUsedInfo:J,getKnowledgeNodeCnt:Y,getSelectList:tt,getGraphStatistics:te,getBallStatisticsAllData:tn,getBallStatistics:ts,getHotQuestions:ti,currentTab:ta,tabClick:function(t){ta.value=t},goto:function(t){window.open((r?"https://xt-envning.rainclassroom.com/course/":"https://www.xuetangx.com/course/")+t.product_sign)},goNext:function(){var t;null==(t=l.value)||t.next()},goPrev:function(){var t;null==(t=l.value)||t.prev()},onQuestionTypeChange:function(t){$.issuesType=t,ti()},onCarouselChange:function(t){S.value=t},onSelectResourceChange:function(t){if(t){var e;N.value=t,U.value="",B.value=(null==(e=R.value.find(function(e){return e.resource_id===t}))?void 0:e.classroom_details)||[]}else N.value="",U.value="",B.value=[];ts(),ti()},onSelectClassChange:function(t){U.value=t,ts(),ti()},onSelectResourceChangeGraph:function(t){var e,n;Z.value=t,G.value=(null==(e=M.value.find(function(e){return e.resource_id===t}))?void 0:e.classroom_details)||[],q.value=(null==(n=G.value[0])?void 0:n.classroom_id)||"",tr(q.value)},onSelectClassChangeGraph:tr,HighFrequencyIssues:c,UsageOverview:u,UsageDataTabs:v,QuestionType:h.Z,BuildAndPublish:g.Z,headerTabCom:b.Z,labelSelect:i.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"ai-usage"},[n.showDataTabs&&n.normalizedResourceId?e(n.UsageDataTabs,{attrs:{"mooc-data":n.statisticsData,"campus-data":n.campusStatisticsData,"all-data":n.allStatisticsData,"course-list":n.courseList}}):e("div",{staticClass:"ai-usage__top flex"},[e("div",{staticClass:"ai-usage__top-left"},t._l(n.statisticsData,function(s,i){return e("div",{key:i,staticClass:"ai-usage__item"},[e("div",{staticClass:"ai-usage__icon-wrapper box-center"},[e("img",{attrs:{src:"https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/ai-mooc/"+s.icon,alt:""}})]),t._v(" "),e("div",{staticClass:"ai-usage__shadow"},[e("img",{attrs:{src:"https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/ai-mooc/shadow.png",alt:""}})]),t._v(" "),e("div",{staticClass:"ai-usage__label"},[t._v(t._s(s.label))]),t._v(" "),i<n.statisticsData.length-1?e("div",{staticClass:"ai-usage__value"},[t._v("\n "+t._s(s.num)+"\n ")]):e("div",[s.hour?[e("span",{staticClass:"f17 numfamily bold"},[t._v(t._s(s.hour))]),e("span",{staticClass:"f14"},[t._v(t._s(t.$t("DecisionCenter.Hour")))])]:t._e(),t._v(" "),(s.minute||!s.hour)&&s.hour<1e4?[e("span",{staticClass:"f17 numfamily bold"},[t._v(t._s(s.minute))]),e("span",{staticClass:"f14"},[t._v(t._s(t.$t("DecisionCenter.Minute")))])]:t._e()],2)])}),0),t._v(" "),n.courseList.length?e("div",{staticClass:"ai-usage__top-right"},[e("el-carousel",{ref:"carouselRef",attrs:{"indicator-position":"none",arrow:"never"},on:{change:n.onCarouselChange}},t._l(n.courseList,function(s){return e("el-carousel-item",{key:s.id},[e("div",{staticClass:"ai-usage__product_cover-wrapper",on:{click:function(t){return n.goto(s)}}},[s.product_cover?e("img",{staticClass:"ai-usage__product_cover",attrs:{src:s.product_cover,alt:""}}):t._e(),t._v(" "),e("div",{staticClass:"ai-usage____product_mask",style:{"--mask-color":s.color||"#FFF"}})])])}),1),t._v(" "),e("div",{staticClass:"ai-usage__carousel-pointer flex justify-between items-center"},[e("div",{staticClass:"ai-usage__icon-wrapper box-center",on:{click:n.goPrev}},[e("i",{staticClass:"iconfont icon-jiantoudan-xiangzuo"})]),t._v(" "),e("span",{staticClass:"ai-usage__carousel-pointer-text flex items-center"},[e("span",{staticClass:"ai-usage__text"},[t._v(t._s(n.currentCourse.product_name))]),t._v(" "),e("span",{staticClass:"ai-usage__count"},[t._v("ï¼"+t._s(n.currentCourseIndex+1)+"/"+t._s(n.courseList.length)+"ï¼")])]),t._v(" "),e("div",{staticClass:"ai-usage__icon-wrapper box-center",on:{click:n.goNext}},[e("i",{staticClass:"iconfont icon-jiantoudan-xiangyou"}
1)])])],1):t._e()]),t._v(" "),e("div",{staticClass:"ai-usage__center"},[e("div",{staticClass:"ai-usage__center-header flex"},[e("div",{staticClass:"ai-usage__tab-wrapper"},[e(n.headerTabCom,{attrs:{"tab-list":n.tabList,"current-tab":n.currentTab},on:{tabClick:n.tabClick}})],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"1"==n.currentTab,expression:"currentTab == '1'"}],staticClass:"ai-usage__select-wrapper"},[e(n.labelSelect,{attrs:{value:n.selectResource,options:n.selectResourceList,clearable:!1,label:t.$t("DecisionCenter.MOOC"),"options-label":"resource_name","options-value":"resource_id",width:"240px"},on:{change:n.onSelectResourceChange}}),t._v(" "),e(n.labelSelect,{staticStyle:{"margin-left":"8px"},attrs:{value:n.selectClass,options:n.selectClassList,clearable:!1,label:t.$t("DecisionCenter.Round"),"options-label":"classroom_name","options-value":"classroom_id",width:"240px"},on:{change:n.onSelectClassChange}})],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"2"==n.currentTab,expression:"currentTab == '2'"}],staticClass:"ai-usage__select-wrapper"},[e(n.labelSelect,{attrs:{value:n.selectResourceGraph,options:n.selectResourceListGraph,clearable:!1,label:t.$t("DecisionCenter.MOOC"),"options-label":"resource_name","options-value":"resource_id",width:"240px"},on:{change:n.onSelectResourceChangeGraph}}),t._v(" "),e(n.labelSelect,{staticStyle:{"margin-left":"8px"},attrs:{value:n.selectClassGraph,options:n.selectClassListGraph,clearable:!1,label:t.$t("DecisionCenter.Round"),"options-label":"classroom_name","options-value":"classroom_id",width:"240px"},on:{change:n.onSelectClassChangeGraph}})],1)]),t._v(" "),e("div",{staticClass:"ai-usage__content-wrapper",style:{height:"1"==n.currentTab?"726px":"528px"}},[e("div",{class:["ai-usage__content","1"==n.currentTab?"active":"inactive"]},[n.noClass?e("div",{staticClass:"ai-usage__no-query"},[n.isLoading?t._e():e("div",[t._v(t._s(t.$t("DecisionCenter.PleaseSelectClass")))])]):[e("div",{staticClass:"ai-usage__usage-overview-box"},[e(n.UsageOverview,{attrs:{content:n.overviewData.overview_block,"is-loading":n.overviewData.isLoading}})],1),t._v(" "),e("div",{staticClass:"ai-usage__student-question-box ai-usage__border-box box-start"},[e("div",{staticClass:"ai-usage__board ai-usage__high-issues ai-usage__left-border"},[e(n.HighFrequencyIssues,{attrs:{"issues-list":n.issuesData.issuesList,"is-loading":n.issuesData.isLoading},on:{change:n.onQuestionTypeChange}})],1),t._v(" "),e("div",{staticClass:"ai-usage__board ai-usage__question-type ai-usage__right-border"},[e("div",{staticClass:"ai-usage__title"},[e("img",{staticClass:"ai-usage__icon",attrs:{src:"https://qn-st0.yuketang.cn/16508729001235.png",alt:""}}),t._v(" "),e("p",{staticClass:"f16"},[t._v(t._s(t.$t("DecisionCenter.QuestionType1")))])]),t._v(" "),e(n.QuestionType,{key:n.selectResource+"-"+n.selectClass,attrs:{content:n.overviewData.question_type_block,"is-loading":n.overviewData.isLoading},on:{change:n.onQuestionTypeChange}})],1)])]],2),t._v(" "),e("div",{class:["ai-usage__content","2"==n.currentTab?"active":"inactive"]},[n.selectClassGraph?[e(n.BuildAndPublish,{attrs:{"prop-data":n.graphStatisticsData,"data-source":2}})]:e("div",{staticClass:"ai-usage__no-query"},[n.isLoading?t._e():e("div",[t._v(t._s(t.$t("DecisionCenter.PleaseSelectClass")))])])],2)])])],1)},[],!1,null,"3e7b310a",null).exports},69068:function(t,e,n){n.r(e),n.d(e,{default:function(){return b}}),n(13794),n(87481),n(72775),n(42463),n(80764);var s=n(48905),i=n(18108),a=n(31242),r=n(49916);n(32927),n(35130);var o=n(6966),l=n(31977);function c(t,e,n,s,i,a,r){try{var o=t[a](r),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(s,i)}function u(t){return function(){var e=this,n=arguments;return new Promise(function(s,i){var a=t.apply(e,n);function r(t){c(a,s,i,r,o,"next",t)}function o(t){c(a,s,i,r,o,"throw",t)}r(void 0)})}}function d(t,e){var n,s,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(a=0)),a;)try{if(n=1,s&&(i=2&c[0]?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,s=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],s=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var _=n(81049),p=(0,_.Z)({__name:"goto",props:{visible:{type:Boolean,default:!1},list:{type:Array,default:function(){return[]}}},emits:["close"],setup:function(t,e){var n=e.emit,s=(0,a.yj)(),r=s.params.course_id,c=(0,i.toRefs)(t),_=c.visible,p=c.list,f=(0,i.ref)(!1),v=!!["envning","env-example"].includes((0,o.LS)()),h=function(t){return u(function(){return d(this,function(e){switch(e.label){case 0:return[4,g(t)];case 1:return e.sent(),[2]}})})()},g=function(t){return u(function(){var e;return d(this,function(n){switch(n.label){case 0:return[4,request.get(API.ai_mooc_status.open_auth,{source_id:t.source_id,c
1ourse_id:t.course_id,public:1})];case 1:return e=n.sent().data,window.open(e.replace("?","/statistic?")),[2]}})})()};return(0,i.onMounted)(function(){1==p.value.length?(f.value=!1,n("close",1e3),h(p.value.at(0))):f.value=!0}),{__sfc:!0,route:s,agentId:r,emits:n,props:t,visible:_,list:p,displayVisible:f,isEnv:v,gotoNext:h,openAuth:g,Teleport:l.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.Teleport,{attrs:{to:"body"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:n.visible&&n.displayVisible,expression:"visible && displayVisible"}],staticClass:"base-dialog-wrapper"},[e("div",{staticClass:"mask-cover"}),t._v(" "),e("div",{staticClass:"dialog"},[e("section",{staticClass:"top box-between"},[e("p",{staticClass:"title"},[t._v(t._s(t.$t("DecisionCenter.EnterMOOCRun")))]),t._v(" "),e("div",{staticClass:"top-close-btn pointer box-center",on:{click:function(e){return t.$emit("close")}}},[e("i",{staticClass:"iconfont icon-cuowu"})])]),t._v(" "),e("section",{staticClass:"content-wrap"},[e("div",{staticClass:"goto"},[n.list.length>0?e("div",{staticClass:"goto-list"},[e("div",{staticClass:"goto-list__tips"},[t._v(t._s(t.$t("DecisionCenter.PleaseSelectDestination"))+"ï¼")]),t._v(" "),e("div",{staticClass:"goto-list__wrapper"},t._l(n.list,function(s,i){return e("div",{key:i,staticClass:"goto-item__wrapper",on:{click:function(t){return n.gotoNext(s)}}},[e("div",{staticClass:"goto-list__item box-between"},[e("div",{staticClass:"goto-item__left flex flex-col"},[e("div",{staticClass:"goto-item__name"},[t._v("\n "+t._s(s.resource_name)+"\n ")])]),t._v(" "),e("i",{staticClass:"iconfont icon-jiantoudan-xiangyou"})])])}),0)]):t._e()])]),t._v(" "),e("section",{staticClass:"dialog-footer"})])])])},[],!1,null,"ba674c4a",null).exports,f=n(95689);function v(t,e,n,s,i,a,r){try{var o=t[a](r),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(s,i)}function h(t){return function(){var e=this,n=arguments;return new Promise(function(s,i){var a=t.apply(e,n);function r(t){v(a,s,i,r,o,"next",t)}function o(t){v(a,s,i,r,o,"throw",t)}r(void 0)})}}function g(t,e){var n,s,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(a=0)),a;)try{if(n=1,s&&(i=2&c[0]?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,s=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],s=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var b=(0,_.Z)({__name:"index",props:{menus:{type:Array,default:function(){return[]}}},setup:function(t){var e=(0,a.yj)(),n=e.params.course_id,o=(0,i.ref)(!1),l=(0,i.ref)(""),c=(0,i.ref)([]),u=(0,i.ref)([{tabLabel:i18n.t("DecisionCenter.AiUsage"),routerName:"1"},{tabLabel:i18n.t("DecisionCenter.MOOCRun"),routerName:"2"},{tabLabel:i18n.t("DecisionCenter.ManageMOOC"),routerName:"3"}]),d=(0,i.ref)("1"),_=(0,i.ref)(-1);function v(){return h(function(){var t;return g(this,function(e){switch(e.label){case 0:return[4,request.get(API.ai_mooc_status.get_show_ai_status.replace("{agent_id}",n))];case 1:return t=e.sent().data,_.value=1,t.status||(u.value=u.value.filter(function(t){return"2"!=t.routerName})),[2]}})})()}function b(){return h(function(){return g(this,function(t){switch(t.label){case 0:return[4,request.get(API.ai_mooc_status.get_selsect_list.replace("{agent_id}",n))];case 1:return c.value=t.sent().data.filter(function(t){var e;return(null==(e=t.classroom_details)?void 0:e.length)>0}).map(function(t){return{product_sign:t.classroom_details.at(-1).product_sign,course_sign:t.classroom_details.at(-1).course_sign,classroom_id:t.classroom_details.at(-1).classroom_id,course_id:t.classroom_details.at(-1).course_id,source_id:t.resource_id,resource_name:t.resource_name}}),[2]}})})()}var m=null;function C(){return h(function(){var t;return g(this,function(e){switch(e.label){case 0:return[4,request.get(API.ai_mooc_status.get_time)];case 1:return t=e.sent().data,l.value=i18n.t("DecisionCenter.DataDeadline",{time:t.update_datetime+":00"}),[2]}})})()}return(0,i.onMounted)(function(){v(),b(),C()}),(0,i.onBeforeUnmount)(function(){m&&clearTimeout(m)}
1),{__sfc:!0,route:e,agentId:n,props:t,visible:o,deadlineTime:l,gotoList:c,tabList:u,currentTab:d,showMoocStatus:_,tabClick:function(t){d.value=t,"2"==t&&(o.value=!0)},getShowAiStatus:v,getList:b,timer:m,onClose:function(t){m&&clearTimeout(m),m=setTimeout(function(){o.value=!1,d.value="1"},t)},getTime:C,headerTabCom:s.Z,AiUsage:r.Z,goto:p,MoocManage:f.Z}}},function(){var t=this._self._c,e=this._self._setupProxy;return -1!=e.showMoocStatus?t("div",{staticClass:"opeartion-details-wrapper"},[1==e.showMoocStatus?t("div",{staticClass:"header-tab-box"},[t(e.headerTabCom,{attrs:{"tab-list":e.tabList,"current-tab":e.currentTab,"end-time":e.deadlineTime},on:{tabClick:e.tabClick}})],1):this._e(),this._v(" "),t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"content"},[t(e.AiUsage,{directives:[{name:"show",rawName:"v-show",value:"1"==e.currentTab,expression:"currentTab == '1'"}]}),this._v(" "),t(e.MoocManage,{directives:[{name:"show",rawName:"v-show",value:"3"==e.currentTab,expression:"currentTab == '3'"}]})],1)]),this._v(" "),e.visible?t(e.goto,{attrs:{visible:e.visible,list:e.gotoList},on:{close:e.onClose}}):this._e()],1):this._e()},[],!1,null,"64fcc242",null).exports},95689:function(t,e,n){n.d(e,{Z:function(){return l}}),n(32927),n(35130),n(13794),n(87481);var s=n(17514),i=n(6966),a=n(18108),r=n(31242);function o(t,e,n,s,i,a,r){try{var o=t[a](r),l=o.value}catch(t){n(t);return}o.done?e(l):Promise.resolve(l).then(s,i)}var l=(0,n(81049).Z)({__name:"mooc-manage",setup:function(t){var e=(0,r.yj)(),n=e.params.course_id,l=(0,a.ref)([]),c=!!["envning","env-example"].includes((0,i.LS)());function u(){var t;return(t=function(){var t;return function(t,e){var n,s,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return r.next=o(0),r.throw=o(1),r.return=o(2),"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(o){return function(l){var c=[o,l];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(a=0)),a;)try{if(n=1,s&&(i=2&c[0]?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,s=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],s=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return[4,request.get(API.ai_mooc_status.get_open_info.replace("{agent_id}",n))];case 1:return l.value=(null==(t=e.sent().data)?void 0:t.items)||[],[2]}})},function(){var e=this,n=arguments;return new Promise(function(s,i){var a=t.apply(e,n);function r(t){o(a,s,i,r,l,"next",t)}function l(t){o(a,s,i,r,l,"throw",t)}r(void 0)})})()}return(0,a.onMounted)(function(){u()}),{__sfc:!0,route:e,agentId:n,tableData:l,isEnv:c,gotoGraph:function(t){window.open((c?"https://studio-envning.rainclassroom.com/pro/editcoursemanage/knowledgegraph/":"https://next-studio.xuetangx.com/pro/editcoursemanage/knowledgegraph/")+t.result[0].resource_id)},gotoStudent:function(t){window.open((c?"https://xt-envning.rainclassroom.com/course/":"https://www.xuetangx.com/course/")+t.product_sign)},getTableData:u,statusClass:function(t){return"å¼è¯¾ä¸"===t?"blue":"æªå¼è¯¾"===t?"yellow":""},Title:s.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"mooc-manage"},[e(n.Title,{attrs:{title:t.$t("DecisionCenter.MOOCWithAiApplication")}},[e("div",{staticClass:"custom-table"},[e("div",{staticClass:"table-row table-header"},[e("div",{staticClass:"table-cell"},[t._v(t._s(t.$t("DecisionCenter.CourseName")))]),t._v(" "),e("div",{staticClass:"table-cell"},[t._v(t._s(t.$t("DecisionCenter.ClassDisplayName")))]),t._v(" "),e("div",{staticClass:"table-cell justify-center"},[t._v(t._s(t.$t("DecisionCenter.CourseStatus")))]),t._v(" "),e("div",{staticClass:"table-cell justify-center"},[t._v(t._s(t.$t("DecisionCenter.GoToXuetangOnline")))])]),t._v(" "),t._l(n.tableData,function(s,i){return e("div",{key:i,staticClass:"table-row"},[e("div",{staticClass:"table-cell"},[e("span",[t._v(t._s(s.product_name))])]),t._v(" "),e("div",{staticClass:"table-cell table-cell-merge"},t._l(s.result,function(s){return e("div",{staticClass:"table-cell-merge-row"},[e("div",{staticClass:"table-cell"},[e("span",[t._v(t._s(s.classroom_name))])]),t._v(" "),e("div",{staticClass:"table-cell justify-center"},[e("div",{staticClass:"flex items-center justify-center"},[e("div",{staticClass:"status-dot",class:n.statusClass(s.classroom_status)}),t._v("\n "+t._s(s.classroom_status)+"\n ")])])])}),0),t._v(" "),e("div",{staticClass:"table-cell box-center"},[e("div",{staticClass:"box-center"},[e("div",{staticClass:"text-btn",on:{click:function(t){return n.gotoGraph(s)}}},[t._v(t._s(t.$t("DecisionCenter.ManageKnowledgeGraph"))+"\n ")]),t._v(" "),e("div",{staticClass:"text-btn",on:{click:function(t){return n.gotoStudent(s)}}},[t._v(t._s(t.$t("DecisionCenter.ViewStudentEnd"))+"\n ")])])])])})],2),t._v(" "),e("div",{staticClass:"desc flex"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("DecisionCenter.Instructions")))]),t._v(" "),e("div",{staticClass:"content"},[e("div",{staticClass:"item"},[t._v("\n "+t._s(t.$t("DecisionCenter.Mooc24hAiCompanionSync"))+"\n ")]),t._v(" "),e("div",{staticClass:"item"},[t._v("\n "+t._s(t.$t("DecisionCenter.MoocKnowledgeGraphManagement"))+"\n ")])])])])],1
1)},[],!1,null,"768bfc96",null).exports},76067:function(t,e,n){n.d(e,{Z:function(){return r}}),n(63649),n(80287),n(80764);var s=n(35346),i=n(51808),a=n(18108),r=(0,n(81049).Z)({__name:"question-type",props:{content:{type:Array,default:function(){return[]}},isLoading:{type:Boolean,default:!0}},setup:function(t){var e="en"===i18n.locale,n=(0,a.ref)({æ¨èé®é¢:{en:i18n.t("DecisionCenter.RecommendQuestion")},æä»¤é®é¢:{en:i18n.t("DecisionCenter.InstructionQuestion")},èªç±é®ç:{en:i18n.t("DecisionCenter.FreeQuestion")},èµææ¥è¯¢:{en:i18n.t("DecisionCenter.DataQuery")}}),r=(0,a.ref)([["#ABE1FF","#BFE9FF"],["#58DCED","#8BEDF9"],["#B58EFF","#D0B7FF"],["#6EAFFF","#5BC4FF"]]),o=(0,a.computed)(function(){return t.content.map(function(t,s){var i,a,o;return a=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),s.forEach(function(e){var s;s=n[e],e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s})}return t}({},t),o=o={name:e?null==(i=n.value[t.name])?void 0:i.en:t.name||t.name,color:r.value[s]},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n.push.apply(n,s)}return n})(Object(o)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(o,t))}),a})});return{__sfc:!0,isEn:e,props:t,Lang:n,colorList:r,list:o,config:{roseType:"radius",radius:"100%",formatFun:function(t){var e='\n <div style="display:flex;align-items: center;" class="tooltip-box">\n <i style="width:8px;height:8px;margin-right:6px;background: ';return 2==t.data.color.length?e+="linear-gradient(\n 135deg,\n ".concat(t.data.color[0]," 0%,\n ").concat(t.data.color[1]," 100%\n )"):e+="".concat(t.data.color[0]),e+=';"></i>\n <p class="f14 bold text-gray-001">'.concat(t.data.name,'</p>\n </div>\n <div class="content" style="display:flex;margin-left:16px;margin-top:4px">\n <p class="f14 bold text-gray-001" style="margin-right:19px;">').concat(Math.round(Math.pow(t.data.value,3.999999)),'</p>\n <p class="text-gray-002 f12">').concat(t.data.percent,"</p>\n </div>\n ")}},pieCharts:s.Z,loading:i.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"question-type-wrapper box-center",class:{"en-question-type-wrapper":n.isEn}},[t.isLoading?e(n.loading):[e("div",{staticClass:"charts-con"},[e(n.pieCharts,{attrs:{data:n.list,config:n.config}})],1),t._v(" "),e("div",{staticClass:"pie-legend-list"},t._l(n.list,function(n,s){return e("div",{key:s,staticClass:"legend-item"},[e("div",{staticClass:"title-box box-start"},[e("span",{staticClass:"block",style:{background:"linear-gradient(180deg, ".concat(n.color[0]," 6.25%, ").
1concat(n.color[1]," 106.25%)")}}),t._v(" "),e("p",{staticClass:"title f13 text-gray-015"},[t._v(t._s(n.name))])]),t._v(" "),e("div",{staticClass:"num-box box-between"},[e("p",{staticClass:"f13 bold text-gray-001 numfamily"},[t._v(t._s(n.percent))]),t._v(" "),e("p",{staticClass:"f13 text-gray-002"},[t._v(t._s(n.value))])])])}),0)]],2)},[],!1,null,"645b1d4a",null).exports},35613:function(t,e,n){n.d(e,{Z:function(){return a}}),n(35350),n(81080),n(63649),n(35621),n(87481),n(72775),n(42463),n(13794);var s=n(50108),i={name:"buildAndPublish",props:{dataSource:{type:Number,default:1},propData:{type:Object,default:function(){return{}}},classroomId:{type:Number,default:0},graphId:{type:Number,default:0}},data:function(){var t=this;return{barData:[],columnChartOption:{type:"useResClass",dataZoomLenth:8,xrotate:0,showFiledArr:["unpublished_point","published_point"],showXFiled:"name",formatXFun:function(t){switch(t.split("-")[0]){case"video":return i18n.t("DecisionCenter.Video");case"tuwen":return i18n.t("DecisionCenter.Graphic");case"taolun":return i18n.t("DecisionCenter.Discuss");case"zuoye":return i18n.t("DecisionCenter.Homework");case"kaoshi":return i18n.t("DecisionCenter.Exam");case"kejian":return i18n.t("DecisionCenter.Cards");case"shijuan":return i18n.t("DecisionCenter.Examination");case"ziceti":return i18n.t("DecisionCenter.SelfQuestions")}}
1,grid:{right:0,bottom:-40,left:50,top:40,width:"93%",height:"75%"},nameTextStylePadding:[0,0,10,-50],axisLabelPadding:[0,0,5,100],barWidth:40,borderWidth:0,notLegend:!0,emphasisShadowColor:"rgba(189, 231, 255, 1)",emphasisShadowBlur:20,tooltipFun:function(e){var n=t.barData.filter(function(t){return t.text==e[0].axisValue})[0],s='\n <div class="tooltip-div" style="row-gap: 4px;display: flex;flex-direction: column;">\n <div style="display:flex;" class="flexbox spacebetween">\n <p style="color:#2B2E35;font-size: 14px;font-weight:600;margin-right:8px">'.concat(e[0].axisValue).concat(i18n.t("DecisionCenter.LearningUnit"),"</p><p style=\"font-size:14px;color:#2B2E35;font-weight:700;font-family: 'LINE Seed JP App_OTF';\">").concat(e[0].data+e[1].data,'<span style="font-size:12px;color:#656A72;font-weight:400">ï¼').concat(i18n.t("DecisionCenter.CoveringKnowledgePoints",{node:n.nodes}),"ï¼</span></p>\n </div>");return e.forEach(function(t,e){s+='<div class="flexbox spacebetween">\n <div class="flexbox left-title">\n <p class="circle" style="width:8px;height:8px;border-radius:50%;background:'.concat(t.color.colorStops[0].color,';margin-right:6px"></p>\n <p style="color:#656A72;font-size: 12px;font-weight:400;">').concat(t.seriesName,"</p>\n </div>\n <p style=\"font-size:14px;color:#2B2E35;font-weight:700;font-family: 'LINE Seed JP App_OTF';\">").concat(t.data,'<span style="font-size:12px;color:#656A72;font-weight:400">ï¼').concat(i18n.t("DecisionCenter.CoveringKnowledgePoints",{node:e?n.published_nodes:n.not_published_nodes}),"ï¼</span></p>\n </div>")}),s+="\n </div>\n "}},textColor:{itemGap:0,textColor:"#656A72",axisLineColor:"rgba(45, 74, 148, 0.07)",axisLineType:"dashed",legendColor:"#666",axisLabelColor:"#ABB0BF",backgroundColor:"#fff",fillerColor:"#EEF0F5",borderColor:"#EEF0F5",handleStyle:"#C7C8CB",columnborderColor:"#fff"},columnNameList:[i18n.t("DecisionCenter.Unpublished"),i18n.t("DecisionCenter.Published")],colorList:[["#79CFFF","#A1DEFF"],["#01ADC3","#22CADF"]],funnelData:[{name:"classroom_num",prop:i18n.t("DecisionCenter.RelatedKnowledgePoints"),value:0,rate:0},{name:"hybrid_classroom_num",prop:i18n.t("DecisionCenter.PublishKnowledgePoints"),value:0,rate:0},{name:"integrated_classroom_num",prop:i18n.t("DecisionCenter.LearnKnowledgePoints"),value:0,rate:0}],funnelColors:[["#79CFFF","#A1DEFF"],["#675FFF","#A77DFF"],["#01ADC3","#22CADF"]],contextualData:{}}},computed:{isEn:function(){return"en"===i18n.locale}},components:{TackedColumnChart:n(9860).Z,FunnelChart:s.Z},watch:{propData:{handler:function(t,e){t&&this.transformData(t)},deep:!0,immediate:!0},classroomId:{handler:function(t,e){t&&1==this.dataSource&&this.getData()}},graphId:{handler:function(t,e){t&&1==this.dataSource&&this.getData()}}},mounted:function(){1==this.dataSource&&this.getData()},methods:{getData:function(){var t=this,e=API.knowledge_graph.get_class_construction,n={};this.classroomId&&(n.classroom_id=this.classroomId),request.get(e.replace(/\{pk\}/g,this.graphId),n).then(function(e){e.success&&t.transformData(e.data)})},transformData:function(t){this.contextualData=t,this.funnelData=[{name:"classroom_num",prop:i18n.t("DecisionCenter.RelatedKnowledgePoints"),value:t.kg_leaf_node_num||0,rate:t.kg_leaf_node_num_ratio||0,tips:i18n.t("DecisionCenter.RelatedKnowledgePointsDesc")},{name:"hybrid_classroom_num",prop:i18n.t("DecisionCenter.PublishKnowledgePoints"),value:t.kg_publish_leaf_node_num||0,rate:t.kg_publish_leaf_node_num_ratio||0,tips:i18n.t("DecisionCenter.PublishKnowledgePointsDesc")},{name:"integrated_classroom_num",prop:i18n.t("DecisionCenter.LearnKnowledgePoints"),value:t.kg_learn_node_num||0,rate:t.kg_learn_node_num_ratio||0,tips:i18n.t("DecisionCenter.LearnKnowledgePointsDesc")}],this.barData=[],(t.published_video_cnt||t.not_published_video_cnt)&&this.barData.push({name:"video",text:i18n.t("DecisionCenter.Video"),published_point:t.published_video_cnt||0,unpublished_point:t.not_published_video_cnt||0,nodes:(null==t?void 0:t.video_covered_nodes)||0,not_published_nodes:t.not_published_video_no
1des||0,published_nodes:t.published_video_nodes||0}),(t.not_published_article_cnt||t.published_article_cnt)&&this.barData.push({name:"tuwen",text:i18n.t("DecisionCenter.Graphic"),published_point:t.published_article_cnt||0,unpublished_point:t.not_published_article_cnt||0,nodes:(null==t?void 0:t.article_covered_nodes)||0,not_published_nodes:t.not_published_article_nodes||0,published_nodes:t.published_article_nodes||0}),(t.published_discussion_cnt||t.not_published_discussion_cnt)&&this.barData.push({name:"taolun",text:i18n.t("DecisionCenter.Discuss"),published_point:t.published_discussion_cnt||0,unpublished_point:t.not_published_discussion_cnt||0,nodes:(null==t?void 0:t.discussion_coverd_nodes)||0,not_published_nodes:t.not_published_discussion_nodes||0,published_nodes:t.published_discussion_nodes||0}),(t.published_exercise_cnt||t.not_published_exercise_cnt)&&this.barData.push({name:"zuoye",text:i18n.t("DecisionCenter.Homework"),published_point:t.published_exercise_cnt||0,unpublished_point:t.not_published_exercise_cnt||0,nodes:(null==t?void 0:t.exercise_covered_nodes)||0,not_published_nodes:t.not_published_exercise_nodes||0,published_nodes:t.published_exercise_nodes||0}),(t.published_exam_cnt||t.not_published_exam_cnt)&&this.barData.push({name:"kaoshi",text:i18n.t("DecisionCenter.Exam"),published_point:t.published_exam_cnt||0,unpublished_point:t.not_published_exam_cnt||0,nodes:t.exam_covered_nodes||0,not_published_nodes:t.not_published_exam_nodes||0,published_nodes:t.published_exam_nodes||0}),(t.published_collection_cnt||t.not_published_collection_cnt)&&this.barData.push({name:"kejian",text:i18n.t("DecisionCenter.Cards"),published_point:t.published_collection_cnt||0,unpublished_point:t.not_published_collection_cnt||0,nodes:(null==t?void 0:t.ykt_collection_covered_nodes)||0,not_published_nodes:t.not_published_ykt_collection_nodes||0,published_nodes:t.published_ykt_collection_nodes||0}),(t.published_ykt_paper_cnt||t.not_published_ykt_paper_cnt)&&this.barData.push({name:"shijuan",text:i18n.t("DecisionCenter.Examination"),published_point:t.published_ykt_paper_cnt||0,unpublished_point:t.not_published_ykt_paper_cnt||0,nodes:(null==t?void 0:t.ykt_paper_covered_nodes)||0,not_published_nodes:t.not_published_ykt_paper_nodes||0,published_nodes:t.published_ykt_paper_nodes||0})}}},a=(0,n(81049).Z)(i,function(){var t=this,e=t._self._c;return e("div",{staticClass:"build-and-publish-box",class:{"en-build-and-publish-box":t.isEn}},[e("div",{staticClass:"left-wrapper"},[e("div",{staticClass:"unit-box"},[e("div",{staticClass:"unit-item purple-item block"},[e("div",{staticClass:"left-img-num"},[e("img",{attrs:{src:"https://qn-next.xuetangx.com/17199883982562.png",alt:""}}),t._v(" "),e("div",{staticClass:"num-box"},[e("div",{staticClass:"text-lg text-gray-003 flex items-center"},[e("p",{staticClass:"mt3r10"},[t._v(t._s(t.$t("DecisionCenter.LearningUnit")))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom-start",width:"200","visible-arrow":!1,title:t.$t("DecisionCenter.LearningUnit"),trigger:"hover"}},[e("i",{staticClass:"iconfont icon-wenorshuoming",attrs:{slot:"reference"},slot:"reference"}),t._v(" "),e("div",{staticClass:"el-popover-content"},[t._v("\n "+t._s(t.$t("DecisionCenter.LearningUnitDesc"))+"\n ")])])],1),t._v(" "),e("p",{staticClass:"text-4xl text-gray-001 font-bold numfamily"},[t._v("\n "+t._s(t.contextualData.kg_total_leaf_num||0)+"\n ")])])]),t._v(" "),e("div",{staticClass:"right-circle-progress"},[e("el-progress",{attrs:{type:"circle",percentage:Number((100*(t.contextualData.leaf_node_coverage||0)).toFixed()),width:80,"stroke-width":10,"show-text":!1}}),t._v(" "),e("svg",{attrs:{width:"100%",height:"100%"}},[e("defs",[e("linearGradient",{attrs:{id:"colors-purple",x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[e("stop",{staticStyle:{"stop-color":"#675fff"},attrs:{offset:"0%","stop-opacity":"1"}}),t._v(" "),e("stop",{staticStyle:{"stop-color":"#a77dff"},attrs:{offset:"100%","stop-opacity":"1"}})],1)],1)]),t._v(" "),e("div",{staticClass:"num-box"},[e("p",{staticClass:"text-gray-003 text-center"},[t._v(t._s(t.$t("DecisionCenter.Coverage")))]),t._v(" "),e("p",{staticClass:"flexbox"},[e("span",{staticClass:"text-2xl text-gray-001 font-bold text-center numfamily"},[t._v(t._s((100*(t.contextualData.leaf_node_coverage||0)).toFixed()))]),t._v(" "),e("span",{staticClass:"text-base text-gray-001 font-bold unit"}
1,[t._v("%")])])])],1)]),t._v(" "),e("div",{staticClass:"unit-item blue-item block"},[e("div",{staticClass:"left-img-num"},[e("img",{attrs:{src:"https://qn-next.xuetangx.com/17199883712469.png",alt:""}}),t._v(" "),e("div",{staticClass:"num-box"},[e("div",{staticClass:"text-lg text-gray-003 flex items-center"},[e("p",{staticClass:"mt3r10"},[t._v(t._s(t.$t("DecisionCenter.SelfExercises")))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom-start",width:"200","visible-arrow":!1,trigger:"hover"}},[e("i",{staticClass:"iconfont icon-wenorshuoming",attrs:{slot:"reference"},slot:"reference"}),t._v(" "),e("div",{staticClass:"el-popover-content"},[t._v("\n "+t._s(t.$t("DecisionCenter.SelfExercisesDesc"))+"\n ")])])],1),t._v(" "),e("p",{staticClass:"text-4xl text-gray-001 font-bold numfamily"},[t._v("\n "+t._s(t.contextualData.all_problem_num||0)+"\n ")])])]),t._v(" "),e("div",{staticClass:"right-circle-progress"},[e("el-progress",{attrs:{type:"circle",percentage:Number((100*(t.contextualData.problem_node_coverage||0)).toFixed()),width:80,"stroke-width":10,"show-text":!1}}),t._v(" "),e("svg",{attrs:{width:"100%",height:"100%"}},[e("defs",[e("linearGradient",{attrs:{id:"colors",x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[e("stop",{staticStyle:{"stop-color":"#236eff"},attrs:{offset:"0%","stop-opacity":"1"}}),t._v(" "),e("stop",{staticStyle:{"stop-color":"#2eb4ff"},attrs:{offset:"100%","stop-opacity":"1"}})],1)],1)]),t._v(" "),e("div",{staticClass:"num-box"},[e("p",{staticClass:"text-gray-003 text-center"},[t._v(t._s(t.$t("DecisionCenter.Coverage")))]),t._v(" "),e("p",{staticClass:"flexbox"},[e("span",{staticClass:"text-2xl text-gray-001 font-bold text-center numfamily"},[t._v(t._s((100*(t.contextualData.problem_node_coverage||0)).toFixed()))]),t._v(" "),e("span",{staticClass:"text-base text-gray-001 font-bold unit"},[t._v("%")])])])],1)])]),t._v(" "),e("div",{staticClass:"construction-publishing-box block"},[e("div",{staticClass:"flex title-box"},[e("img",{attrs:{src:"https://proxt-cdn.xuetangx.com/fe-proxtassets/xuetangXGr/240701/point.png",alt:""}}),t._v(" "),e("p",{staticClass:"text-xl text-gray-001 font-semibold mt1"},[t._v("\n "+t._s(t.$t("DecisionCenter.ConstructionPublishing"))+"\n ")]),t._v(" "),e("el-popover",{attrs:{placement:"bottom-start",width:"200","visible-arrow":!1,title:t.$t("DecisionCenter.ConstructionPublishing"),trigger:"hover"}},[e("i",{staticClass:"iconfont icon-wenorshuoming",attrs:{slot:"reference"},slot:"reference"}),t._v(" "),e("div",{staticClass:"el-popover-content"},[t._v("\n "+t._s(t.$t("DecisionCenter.ConstructionPublishingDesc"))+"\n ")])])],1),t._v(" "),t.barData.length?e("div",{staticClass:"construction-publishing-column"},[e("TackedColumnChart",{attrs:{text:"",colorList:t.colorList,barData:t.barData,chartOptions:t.columnChartOption,nameList:t.columnNameList,textColor:t.textColor}}),t._v(" "),e("div",{staticClass:"legend-list"},[e("div",{staticClass:"legend-item"},[e("p",{staticClass:"circle unpublish"}),t._v(" "),e("p",{staticClass:"text text-base text-gray-004"},[t._v(t._s(t.$t("DecisionCenter.Unpublished")))])]),t._v(" "),e("div",{staticClass:"legend-item"},[e("p",{staticClass:"circle published"}),t._v(" "),e("p",{staticClass:"text text-base text-gray-004"},[t._v(t._s(t.$t("DecisionCenter.Published")))])])])],1):e("div",{staticClass:"empty-box"},[e("img",{attrs:{src:"https://static-cdn.xuetangx.com/xtassets/empty.png",alt:""}}),t._v(" "),e("p",{staticClass:"text-gray-003 text-lg"},[t._v(t._s(t.$t("DecisionCenter.NoDataTips")))])])])]),t._v(" "),e("div",{staticClass:"knowledge-point-data-wrapper block"},[e("div",{staticClass:"text-xl text-gray-001 font-semibold title-box"},[e("img",{attrs:{src:"https://proxt-cdn.xuetangx.com/fe-proxtassets/xuetangXGr/240701/point.png",alt:""}}),t._v(t._s(t.$t("DecisionCenter.KnowledgePointData"))+"\n ")]),t._v(" "),e("div",{staticClass:"total-box"},[e("div",{staticClass:"total-text"},[e("p",{staticClass:"text-gray-002 text-lg text-center"},[t._v("\n "+t._s(t.$t("DecisionCenter.KnowledgePointCount"))+"ï¼"+t._s(t.$t("DecisionCenter.Pieces"))+"ï¼\n ")]),t._v(" "),e("el-popover",{attrs:{placement:"bottom-start",width:"200","visible-arrow":!1,title:t.$t("DecisionCenter.KnowledgePointCount"),trigger:"hover"}}
1,[e("i",{staticClass:"iconfont icon-wenorshuoming",attrs:{slot:"reference"},slot:"reference"}),t._v(" "),e("div",{staticClass:"el-popover-content"},[t._v("\n "+t._s(t.$t("DecisionCenter.KnowledgePointCountDesc"))+"\n ")])])],1),t._v(" "),e("p",{staticClass:"text-gray-001 text-4xl text-center font-bold"},[t._v("\n "+t._s(t.contextualData.kg_total_node_num||0)+"\n ")])]),t._v(" "),e("div",{staticClass:"knowledge-point-data-funnel"},[e("FunnelChart",{attrs:{funnelData:t.funnelData,colors:t.funnelColors}})],1),t._v(" "),e("div",{staticClass:"funnel-list"},t._l(t.funnelData,function(n,s){return e("div",{key:s,staticClass:"funnel-item"},[e("div",{staticClass:"flexbox"},[e("p",{staticClass:"circle",style:{background:"linear-gradient(180deg, ".concat(t.funnelColors[s][0]," 0%, ").concat(t.funnelColors[s][1]," 100%")}}),t._v(" "),e("div",{staticClass:"title text-base text-gray-002 flex items-center"},[e("p",{staticClass:"mt1"},[t._v(t._s(n.prop))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom-start",width:"200","visible-arrow":!1,title:n.prop,trigger:"hover"}},[e("i",{staticClass:"iconfont icon-wenorshuoming",attrs:{slot:"reference"},slot:"reference"}),t._v(" "),e("div",{staticClass:"el-popover-content"},[t._v(t._s(n.tips))])])],1)]),t._v(" "),e("p",{staticClass:"numfamily text-lg font-bold text-gray-001"},[t._v("\n "+t._s(n.value)+"\n ")])])}),0)])])},[],!1,null,"de09d700",null).exports},50108:function(t,e,n){n.d(e,{Z:function(){return u}}),n(35350),n(56325),n(61657),n(42463),n(79136),n(13054),n(88761),n(60668),n(80287);var s=n(76670),i=n(65334),a=n(59779),r=n(97304),o=n(71887);(0,i.D)([a.N,r.N,o.N]);var l=n(86277),c={name:"FunnelChart",components:{VChart:s.ZP},props:{funnelData:{type:Array},colors:{type:Array,default:function(){return[]}},typeText:{type:String,default:"teach"},labelShow:{type:Boolean,default:!0},gap:{type:Number,default:0},options:{type:Object,default:function(){return{}}}},data:function(){return{funnel:{series:[{type:"funnel",left:"8%",top:10,bottom:60,width:"80%",height:"85%",min:0,max:100,minSize:"20%",maxSize:"100%",sort:"descending",label:{show:!0,position:"inside",color:"#fff",fontSize:12,fontWeight:700,fontFamily:"Futura"},itemStyle:{borderWidth:0,color:""},emphasis:{label:{fontSize:14}},gap:this.gap,data:[]}]},chartInstance:null,resizeObserver:null}},watch:{funnelData:{handler:function(){this.setfunnelData()},deep:!0}},mounted:function(){var t=this;this.initResizeObserver(),this.$refs.funnel&&this.$refs.funnel.dispose(),this.$nextTick(function(){t.setfunnelData()})},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=null},methods:{initResizeObserver:function(){var t=this;window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(function(e){var n=!0,s=!1,i=void 0;try{for(var a,r=e[Symbol.iterator]();!(n=(a=r.next()).done);n=!0)!function(t){if(null==t)throw TypeError("Cannot destructure "+t)}(a.value),t.$nextTick(function(){t.resize()})}catch(t){s=!0,i=t}finally{try{n||null==r.return||r.return()}finally{if(s)throw i}}}),this.resizeObserver.observe(this.$el))},setfunnelData:function(){var t=this;this.$nextTick(function(){t.funnel.series[0].data=[],t.funnelData.length&&t.funnelData.forEach(function(e,n){t.funnel.series[0].data.push({value:e.rate,name:e.name,itemStyle:{color:new l.graphic.LinearGradient(0,0,0,1,[{offset:0,color:t.colors[n][0]},{offset:1,color:t.colors[n][1]}],!1)},label:{show:t.labelShow,color:"#fff"}}),t.colors[n][2]&&(t.funnel.series[0].data[n].label.color=t.colors[n][2]),t.funnel.series[0].label.formatter=function(e){return t.options.labelFun?t.options.labelFun(e):e.value+"%"}}),setTimeout(function(){t.$refs.funnel&&(t.chartInstance=l.init(t.$refs.funnel.$el,null,{renderer:"svg"}),t.chartInstance.setOption(t.funnel),t.resize(),setTimeout(function(){t.resize()},500))},500)})},resize:function(){var t;null==(t=this.chartInstance)||t.resize()}}},u=(0,n(81049).Z)(c,function(){var t=this._self._c;return t("div",{staticClass:"funnel-chart"},[t("v-chart",{ref:"funnel",attrs:{options:this.funnel,"auto-resize":""}})],1)},[],!1,null,"047eca41",null).exports},9860:function(t,e,n){n.d(e,{Z:function(){return p}}),n(35350),n(56325),n(61657),n(42463),n(79136),n(13054),n(88761),n(60668),n(63649),n(35621),n(87481),n(47482),n(27281),n(80287);var s=n(61689),i=n(97304),a=n(71887),r=n(54624),o=n(4652),l=n(63579),c=n(65334),u=n(76670);(0,c.D)([s.N,i.N,a.N,r.N,o.N,l.N]);var d=n(86277),_={name:"UseResourceClass",components:{chart:u.ZP},props:{text:{type:String,default:function(){return"ç级ï¼ä¸ªï¼"}},barData:Array,nameList:{type:Array,default:function(){return["使ç¨èªå»ºèµæºç级æ°","使ç¨å¼è¿èµæºç级æ°"]}},colorList:{type:Array,default:function(){return[["#675FFF","#A77DFF"],["#01ADC4","#22CADF"]]}},chartOptions:{type:Object,default:function(){return{}}},num:{type:Number,default:2},showFiledArr:{type:Array,default:function(){return[]}},textColor:{type:Object,default:function(){return{itemGap:0,textColor:"#656A72",axisLineColor:"#EFF0F5",legendColor:"#666",axisLabelColor:"#90949D",backgroundColor:"#fff",fillerColor:"#EEF0F5",borderColor:"#EEF0F5",handleStyle:"#C7C8CB",columnborderColor:"#fff"}}}},data:function(){return{options:{title:{text:"",textStyle:{color:this.textColor.textColor,fontSize:12,fontWeight:400,fontFamily:"PingFang SC"}},grid:{left:10,right:0,top:44,containLabel:!0},legend:{show:!this.chartOptions.notLegend,top:0,right:0,itemGap:26,itemWidth:8,itemHeight:8,icon:"rect",textStyle:{color:this.textColor.legendColor,fontSize:12},data:[]}
1,xAxis:{type:"category",data:[],axisLine:{show:!1,lineStyle:{color:this.textColor.axisLineColor}},boundaryGap:!0,axisTick:{show:!1},axisLabel:{color:this.textColor.axisLabelColor,fontSize:12,margin:10,fontFamily:"PingFang SC",rotate:0},axisPointer:{type:"none"}},yAxis:{minInterval:1,boundaryGap:["0%","20%"],axisLine:{show:!1},axisTick:{alignWithLabel:!0,show:!1},splitLine:{show:!0,lineStyle:{color:this.textColor.axisLineColor,type:this.textColor.axisLineType}},axisLabel:{color:this.textColor.axisLabelColor,show:!0,inside:!1,margin:16,verticalAlign:"middle",fontSize:12,fontFamily:"PingFang SC"},splitNumber:3,nameTextStyle:{padding:[0,0,5,-50],color:this.textColor.textColor,fontSize:12,fontWeight:400,fontFamily:"PingFang SC"}},series:[],tooltip:{show:!0,trigger:"axis",backgroundColor:this.textColor.backgroundColor,padding:[8,16,8,16],extraCssText:"text-align:left; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);",textStyle:{fontSize:12,fontWeight:"normal",color:"#666"},showContent:!0}},chartInstance:null,resizeObserver:null}},computed:{params:function(){return{barData:this.barData,nameList:this.nameList,colorList:this.colorList,showFiledArr:this.show
1FiledArr}}},watch:{params:{handler:function(t){t&&this.setBar()},deep:!0}},created:function(){},mounted:function(){var t=this;this.initResizeObserver(),this.$nextTick(function(){t.init()})},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=null},methods:{initResizeObserver:function(){var t=this;window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(function(e){var n=!0,s=!1,i=void 0;try{for(var a,r=e[Symbol.iterator]();!(n=(a=r.next()).done);n=!0)!function(t){if(null==t)throw TypeError("Cannot destructure "+t)}(a.value),t.$nextTick(function(){t.resize()})}catch(t){s=!0,i=t}finally{try{n||null==r.return||r.return()}finally{if(s)throw i}}}),this.resizeObserver.observe(this.$el))},init:function(){this.$refs.bar&&this.$refs.bar.dispose(),this.setBar()},formatTime:function(t){var e=new Date(1e3*t),n=e.getMonth()+1>9?e.getMonth()+1:"0"+(e.getMonth()+1),s=e.getDate()>9?e.getDate():"0"+e.getDate();return"".concat(n,".").concat(s)},setBar:function(){var t=this,e=this,n=60;this.$nextTick(function(){t.options.xAxis.data=[];for(var s=0;s<t.num;s++)t.options.series[s]={name:"",type:"bar",stack:"Ad",barWidth:e.chartOptions.barWidth||10,itemStyle:{shadowBlur:0,shadowColor:e.chartOptions.emphasisShadowColor||""},emphasis:{itemStyle:{shadowBlur:e.chartOptions.emphasisShadowBlur||0,shadowColor:e.chartOptions.emphasisShadowColor||""}},data:[]},t.options.legend.data[s]={name:""};var i=e.chartOptions.showFiledArr?e.chartOptions.showFiledArr:e.showFiledArr;t.barData.length&&t.barData.forEach(function(n){t.options.xAxis.data.push(e.chartOptions.formatXFun?e.chartOptions.formatXFun(n[e.chartOptions.showXFiled?e.chartOptions.showXFiled:"timestamp"]):e.formatTime(n[e.chartOptions.showXFiled?e.chartOptions.showXFiled:"timestamp"]));for(var s=0;s<t.num;s++)t.options.series[s].data.push(n[i[s]])}),t.textColor.itemGap?t.options.legend.itemGap=t.textColor.itemGap:t.num>=5&&(t.options.legend.itemGap=14),("date"==e.chartOptions.showXFiled||"time_d"==e.chartOptions.showXFiled||"publish_date"==e.chartOptions.showXFiled)&&t.options.series.forEach(function(e){t.options.xAxis.data.length>40?e.barWidth=5:t.options.xAxis.data.length>10?e.barWidth=7:e.barWidth=10}),t.options.tooltip.formatter=function(t){if(e.chartOptions.tooltipFun)return e.chartOptions.tooltipFun(t);var n=t[0].axisValue.split("."),s=[];return n.length>1&&"teachActive_large"==e.chartOptions.type?s.push('<span style="font-weight:400;font-size:11px;color:#E3E9FF;">'.concat(n[0],"æ").concat(n[1],"æ¥</span>")):s.push('<span class="color001 fw6 f14">'.concat(t[0].axisValue,"</span>")),t.forEach(function(t){var n="";n="teachActive_large"==e.chartOptions.type?'<div class="flexbox tooltip-div spacebetween">\n <p class="flexbox" style="margin-right:10px"><i style="background:linear-gradient(180deg, '.concat(e.colorList[t.seriesIndex][0]," 0%, ").concat(e.colorList[t.seriesIndex][1],' 100%)" class="tooltip-rect"></i><span style="font-weight:400;font-size:11px;color:#E3E9FF;">').concat(t.seriesName,'</span></p>\n <span style="font-weight:600;font-size:11px;color:#E3E9FF;" class="mr2">').concat(t.value,"</span>\n </div>"):'<div class="flexbox tooltip-div spacebetween">\n <p class="flexbox" style="margin-right:10px"><i style="background:linear-gradient(180deg, '.concat(e.colorList[t.seriesIndex][0]," 0%, ").concat(e.colorList[t.seriesIndex][1],' 100%)" class="tooltip-rect"></i><span class="color002 fw4 f12">').concat(t.seriesName,'</span></p>\n <span class="fontFutura fw7 color001 mr2">').concat(t.value,"</span>\n </div>"),s.push(n)}),t.length>4&&(s.splice(1,0,'<div class="echarts-tooltip">'),s.push("</div>")),s.join("")},e.chartOptions.xrotate&&(e.options.xAxis.axisLabel.rotate=e.chartOptions.xrotate,e.options.xAxis.axisLabel.align="center",e.options.xAxis.axisLabel.margin=40),t.options.series.forEach(function(t,n,s){s[n].name=e.nameList[n],s[n].itemStyle.color=new d.graphic.LinearGradient(0,0,0,1,[{offset:0,color:e.colorList[n][0]},{offset:1,color:e.colorList[n][1]}],!1)}),t.options.legend.data.forEach(function(t,n,s){s[n].name=e.nameList[n]}),t.chartOptions.dataZoomLenth&&(n=t.chartOptions.dataZoomLenth),60==n||t.barData.length>n?(t.options.dataZoom=[{type:"inside",startValue:60==n&&t.barData.length<n?0:t.barData.length-parseInt(n),endValue:t.barData.length,zoomOnMouseWheel:!1,moveOnMouseWheel:!1,moveOnMouseMove:!0},{type:"slider",show:!0,startValue:60==n&&t.barData.length<n?0:t.barData.length-parseInt(n),endValue:t.barData.length,height:12,handleSize:12,showDataShadow:!1,bottom:0,textStyle:{color:"transparent"},fillerColor:e.textColor.fillerColor,borderColor:e.textColor.borderColor,handleStyle:{color:e.textColor.handleStyle}}],t.options.grid.bottom=e.chartOptions.xrotate?-10:30,t.$refs.bar&&t.$refs.bar.clear()):(t.options.dataZoom=null,t.$refs.bar&&t.$refs.bar.clear(),t.options.grid.bottom=e.chartOptions.xrotate?-30:10),t.chartOptions.grid&&(t.options.grid=t.chartOptions.grid),t.chartOptions.axisLabelPadding&&(t.options.yAxis.axisLabel.padding=t.chartOptions.axisLabelPadding),t.chartOptions.nameTextStylePadding?(t.options.yAxis.nameTextStyle.padding=t.chartOptions.nameTextStylePadding,t.options.yAxis.name=t.text):t.options.title.text=t.text,t.chartOptions.nameTextStyleAlign&&(t.options.yAxis.axisLabel.align=t.chartOptions.nameTextStyleAlign),setTimeout(function(){e.$refs.bar&&(e.chartInstance=d.init(e.$refs.bar.$el,null,{renderer:"svg"}),e.chartInstance.setOption(e.options),setTimeout(function(){e.resize()},500),e.resize())},500)})},resize:function(){var t;null==(t=this.chartInstance)||t.resize()}}},p=(0,n(81049).Z)(_,function(){var t=this._self._c;return t("div",{staticClass:"useResourceClass"},[this.barData.length?[t("chart",{ref:"bar",attrs:{"auto-resize":""}})]:t("div",{staticClass:"noData"},[t("img",{attrs:{src:"https://qn-st0.yuketang.cn/16569864103202.png",alt:""}}),this._v(" "),t("p",[this._v(this._s(this.$t("DecisionCenter.NoDataTips")))])])],2)},[],!1,null,null,null).exports},17514:function(t,e,n){n.d(e,{Z:function(){return s}});var s=(0,n(81049).Z)({__name:"border",props:{title:{type:String,default:""},routeName:{type:String,default:""}},emits:["goPage"],setup:function(t,e){var n=e.emit;return t.title,t.routeName,{__sfc:!0,emits:n,goPage:function(){n("goPage")}}}},function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"border-box"},[t("div",{staticClass:"title",class:{hover:this.routeName}},[t("img",{staticClass:"icon",attrs:{src:"https://qn-st0.yuketang.cn/16508729001235.png",alt:""}}),this._v(" "),t("p",{staticClass:"f16",on:{click:e.goPage}},[this._v("\n "+this._s(this.title)+"\n ")])]),this._v(" "),this._t("default")],2)},[],!1,null,"5bc79c5d",null).exports},48905:function(t,e,n){n.d(e,{Z:function(){return i}}),n(93292),n(87481);var s=n(18108),i=(0,n(81049).Z)({__name:"header-tab",props:{currentTab:{type:String,default:""},tabList:{type:Array,default:function(){return[]}},endTime:{type:String,default:""}},emits:["tabClick"],setup:function(t,e){var n=e.emit,i="en"===i18n.locale,a=(0,s.ref)(null),r=(0,s.ref)("");function o(){(0,s.nextTick)(function(){var t=a.value.$el.querySelector(".el-tabs__item.is-active"),e=a.value.$el.querySelector(".el-tabs__active-bar");(0,s.nextTick)(function(){if(t){var n=window.getComputedStyle(t),s=+n.paddingLeft.match(/\d+/)[0],i=+n.paddingRight.match(/\d+/)[0],a=+n.width.match(/\d+/)[0],r=t.offsetLeft+(a-s-i-24)/2+s;e.style.transform="translateX("+r+"px)"}})})}return(0,s.watch)(function(){return t.currentTab},function(t){r.value=t,o()},{immediate:!0}),(0,s.watch)(function(){return t.tabList.length},function(t){t&&(0,s.nextTick)(function(){o()})}),{__sfc:!0,isEn:i,props:t,emits:n,tabRef:a,currentData:r,tabClickFun:function(){o(),n("tabClick",r.value)},resetActivePosition:o}}},function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"header-tab-wrapper"},[t("el-tabs",{ref:"tabRef",on:{"tab-click":e.tabClickFun},model:{value:e.currentData,callback:function(t){e.currentData=t},expression:"currentData"}},this._l(this.tabList,function(n,s){return t("el-tab-pane",{key:s,staticClass:"tab-pane",attrs:{label:(e.isEn?n.enName:n.tabLabel)||n.tabLabel,name:n.routerName}})}),1),this._v(" "),this.endTime?t("p",{staticClass:"deadline f12"},[this._v("â "+this._s(this.endTime)+" â")]):this._e()],1)},[],!1,null,"027e0bb0",null).exports},47482:function(t,e,n){var s=n(39409),i=n(75711),a=n(4537),r=n(95460),o=n(8984),l=n(12404),c=n(14716),u=n(53304),d=n(3481),_=n(51932),p=n(11691)("splice"),f=Math.max,v=Math.min;s({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var n,s,p,h,g,b,m=i(this),C=o(m),y=a(t,C),x=arguments.length;for(0===x?n=s=0:1===x?(n=0,s=C-y):(n=x-2,s=v(f(r(e),0),C-y)),c(C+n-s),p=u(m,s),h=0;h<s;h++)(g=y+h)in m&&d(p,h,m[g]);if(l(p,s),n<s){for(h=y;h<C-s;h++)g=h+s,b=h+n,g in m?m[b]=m[g]:_(m,b);for(h=C;h>C-s+n;h--)_(m,h-1)}else if(n>s)for(h=C-s;h>y;h--)g=h+s-1,b=h+n-1,g in m?m[b]=m[g]:_(m,b);for(h=0;h<n;h++)m[h+y]=arguments[h+2];return l(m,C-s+n),p}})},86277:function(t,e,n){n.r(e),n.d(e,{Axis:function(){return s.RD},ChartView:function(){return s.TA},ComponentModel:function(){return s.tF},ComponentView:function(){return s.Ir},List:function(){return s.aV},Model:function(){return s.Hn},PRIORITY:function(){return s.Hr},SeriesModel:function(){return s.wJ},color:function(){return s.$_},connect:function(){return s.$j},dataTool:function(){return s.Ok},dependencies:function(){return s.HO},disConnect:function(){return s.eU},disconnect:function(){return s.zP},dispose:function(){return s.B9},env:function(){return s.OB},extendChartView:function(){return s.Zy},extendComponentModel:function(){return s.tv},extendComponentView:function(){return s.Sp},extendSeriesModel:function(){return s.Zr},format:function(){return s.WU},getCoordinateSystemDimensions:function(){return s.wL},getInstanceByDom:function(){return s.JE},getInstanceById:function(){return s.rp}
1,getMap:function(){return s.FU},graphic:function(){return s.Q},helper:function(){return s._y},init:function(){return s.S1},innerDrawElementOnCanvas:function(){return s.z$},matrix:function(){return s.pI},number:function(){return s.Rx},parseGeoJSON:function(){return s.Nu},parseGeoJson:function(){return s.pQ},registerAction:function(){return s.zl},registerCoordinateSystem:function(){return s.RS},registerLayout:function(){return s.qR},registerLoading:function(){return s.yn},registerLocale:function(){return s.I2},registerMap:function(){return s.je},registerPostInit:function(){return s.sq},registerPostUpdate:function(){return s.Br},registerPreprocessor:function(){return s.ds},registerProcessor:function(){return s.Pu},registerTheme:function(){return s.aW},registerTransform:function(){return s.rV},registerUpdateLifecycle:function(){return s.YK},registerVisual:function(){return s.Og},setCanvasCreator:function(){return s.jQ},setPlatformAPI:function(){return s.g2},throttle:function(){return s.P2},time:function(){return s.XV},use:function(){return s.D$},util:function(){return s.D5},vector:function(){return s.xr},version:function(){return s.i8},zrUtil:function(){return s.gf},zrender:function(){return s.x_}});var s=n(20394),i=n(65334),a=n(36817),r=n(99359),o=n(69630),l=n(55602);(0,i.D)([r.N,o.N]),e.default={init:function(){return a.S1.apply(null,arguments)}},(0,i.D)(l.T)},84538:function(t,e,n){n.d(e,{BK:function(){return s.toRefs},FN:function(){return s.getCurrentInstance},Fl:function(){return s.computed},Jd:function(){return s.onBeforeUnmount},SU:function(){return s.unref},XI:function(){return s.shallowRef},Y3:function(){return s.nextTick},YP:function(){return s.watch},aZ:function(){return s.defineComponent},bv:function(){return s.onMounted},dq:function(){return s.isRef},eR:function(){return i},f3:function(){return s.inject},h:function(){return s.h},m0:function(){return s.watchEffect}});var s=n(18108),i=s.default;s.default.util.warn}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.