1"use strict";(self.webpackChunkrainweb=self.webpackChunkrainweb||[]).push([["12626"],{64264:function(t,e,n){n.d(e,{Z:function(){return a}}),n(35350);var i=n(18108),a=(0,n(81049).Z)({__name:"textEllipsisShow",props:{content:{type:String,default:""},html:{type:String,default:""},line_clamp:{type:Number,default:1},visible_arrow:{type:Boolean,default:!0},isHtml:{type:Boolean,default:!1},popperClass:{type:String,default:""},placement:{type:String,default:null}},setup:function(t){var e=(0,i.ref)(!1),n=null;function a(){n&&(clearTimeout(n),n=null)}return(0,i.onBeforeUnmount)(function(){a(),n=null}),{__sfc:!0,props:t,visible:e,hideTimer:n,mouseenter:function(t){a();var n=t.target;n.scrollHeight>n.clientHeight&&(e.value=!0)},showPopover:function(){a(),e.value=!0},mouseleave:function(){a(),n=setTimeout(function(){e.value=!1},150)},clearHideTimer:a}}},function(){var t=this._self._c,e=this._self._setupProxy;return t("div",[t("el-popover",{attrs:{"popper-class":"text-ellipsis-popover "+this.popperClass,placement:this.placement||"top-start","visible-arrow":this.visible_arrow,trigger:"manual"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[this.isHtml?[t("p",{staticClass:"content",domProps:{innerHTML:this._s(this.content)},on:{mouseenter:e.showPopover,mouseleave:e.mouseleave}}),this._v(" "),t("p",{staticClass:"ellipse",style:{"--line_clamp":this.line_clamp},attrs:{slot:"reference"},domProps:{innerHTML:this._s(this.content)},on:{mouseenter:e.mouseenter,mouseleave:e.mouseleave},slot:"reference"})]:[t("p",{staticClass:"content",on:{mouseenter:e.showPopover,mouseleave:e.mouseleave}},[this._v("\n "+this._s(this.content)+"\n ")]),this._v(" "),t("p",{staticClass:"ellipse",style:{"--line_clamp":this.line_clamp},attrs:{slot:"reference"},on:{mouseenter:e.mouseenter,mouseleave:e.mouseleave},slot:"reference"},[this._v("\n "+this._s(this.content)+"\n ")])]],2)],1)},[],!1,null,"1917dd92",null).exports},83059:function(t,e,n){n.r(e),n.d(e,{default:function(){return O}}),n(83765),n(63649),n(80764);var i=n(18108),a=n(12884),r=n(47827);n(80287),n(63064),n(42463);var o=n(40859),l=n(25253),s=n(81049),c=(0,s.Z)({__name:"WikiCategoryNav",props:{activeCategory:{type:String,default:""},toolbarState:{type:Object,default:function(){return{viewMode:"markdown",keyword:"",filter1:"",filter2:""}}},knowledgeList:{type:Array,default:function(){return[]}},categoryList:{type:Array,default:function(){return[]}},navList:{type:Array,default:function(){return[]}},showCount:{type:Boolean,default:!1}},emits:["change","toolbar-change","nav-click"],setup:function(t,e){var n=e.emit,a=(0,i.ref)(""),r=(0,i.ref)(null);(0,i.watch)(function(){return t.toolbarState.filter2},function(t){a.value=t||""},{immediate:!0});var s=function(){var t=r.value;t&&t.toggleDropDownVisible(!1)};return{__sfc:!0,props:t,emit:n,categoryValue:a,cascaderRef:r,categoryProps:{checkStrictly:!0,emitPath:!1,value:"id",label:"name",children:"children"},getCategoryOptions:function(){var e=JSON.parse(JSON.stringify(t.categoryList||[]));return e.forEach(function(t){if(t.name=t.category_name||t.name,!t.children||0===t.children.length)return void delete t.children;t.children.forEach(function(t){t.name=t.category_name||t.name})}),e},closeCategoryMenus:s,handleCategoryChange:function(t){n("toolbar-change",{filter2:t||""}),(0,i.nextTick)(function(){s()})},handleCategoryNodeClick:function(t,e){if(e){if(!e.isLeaf){null==(l=r.value)||null==(o=l.panel)||o.handleExpand(e);return}var n,i,o,l,s=null==(i=t.currentTarget)||null==(n=i.closest(".el-cascader-node"))?void 0:n.querySelector(".el-radio__original");if(s)return void s.click();a.value=e.getValueByOption(),r.value.panel.handleCheckChange(a.value)}},clearFilters:function(){t.toolbarState.keyword="",t.toolbarState.filter1="",t.toolbarState.filter2="",n("toolbar-change",t.toolbarState)},labelInput:o.Z,labelSelect:l.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"subject-wiki-show-screen__nav-wrap",on:{click:function(e){return t.$emit("nav-click")}}},[e("div",{staticClass:"subject-wiki-show-screen__nav"},t._l(t.navList,function(n){return e("button",{key:n.key,staticClass:"nav-pill box-center",class:[n.tone,{active:t.activeCategory===n.key}],attrs:{type:"button"},on:{click:function(e){return t.$emit("change",n.key)}}},[e("span",{staticClass:"nav-pill__label"},[t._v(t._s(n.label))]),t._v(" "),t.showCount?e("span",{staticClass:"nav-pill__count"},[t._v("ï¼"+t._s(n.count)+"ï¼")]):t._e()])}),0),t._v(" "),"mcp"!==t.activeCategory?e("div",{staticClass:"subject-wiki-panel nav-toolbar-card box-between",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"nav-toolbar-card__filter"},[e(n.labelInput,{attrs:{"input-value":t.toolbarState.keyword,placeholder:"interactive"===t.activeCategory?"æç´¢æ é¢/说æ/å
³é®è¯":"teaching"===t.activeCategory?"请æç´¢":"请è¾å
¥å
³é®è¯",width:"260px"},on:{change:function(e){return t.$emit("toolbar-change",{keyword:e})}}}),t._v(" "),"teaching"!==t.activeCategory?[e(n.labelSelect,{attrs:{value:t.toolbarState.filter1,options:t.knowledgeList,label:"ç¥è¯ç¹","options-label":"name","options-value":"id",width:"240px"},on:{change:function(e){return t.$emit("toolbar-change",{filter1:e||""})}}}),t._v(" "),e("div",{staticClass:"nav-toolbar-card__category",class:{active:n.categoryValue}},[e("div",{staticClass:"nav-toolbar-card__category-label f13"},[t._v("åç±»")]),t._v(" "),e("el-cascader",{ref:"cascaderRef",staticClass:"nav-toolbar-card__category-cascader",attrs:{"popper-class":"nav-toolbar-card__category-cascader-popper",options:n.getCategoryOptions(),props:n.categoryProps,clearable:"",filterable:"",placeholder:"è¯·éæ©"},on:{change:n.handleCategoryChange},scopedSlots:t._u([{key:"default",fn:function(i){var a=i.node,r=i.data;return[e("span",{staticClass:"nav-toolbar-card__category-node",on:{click:function(t){return t.stopPropagation(),n.handleCategoryNodeClick(t,a)}}},[t._v("\n "+t._s(r.name)+"\n ")])]}}],null,!1,0x718795a1),model:{value:n.categoryValue,callback:function(t){n.categoryValue=t},expression:"categoryValue"}})],1),t._v(" "),e("p",{staticClass:"nav-toolbar-card__filter-clear f15",on:{click:n.clearFilters}},[t._v("\n æ¸
é¤çé\n ")])]:t._e()],2),t._v(" "),e("div",{staticClass:"nav-toolbar-card__mode"},[e("button",{staticClass:"nav-toolbar-card__switch-item",class:{active:"common"===t.toolbarState.viewMode},attrs:{type:"button"},on:{click:function(e){return t.$emit("toolbar-change",{viewMode:"common"})}}},[t._v("\n å¸¸è§æ¾ç¤º\n ")]),t._v(" "),e("button",{staticClass:"nav-toolbar-card__switch-item",class:{active:"markdown"===t.toolbarState.viewMode},attrs:{type:"button"},on:{click:function(e){return t.$emit("toolbar-change",{viewMode:"markdown"})}}},[t._v("\n Markdown\n ")])])]):t._e()])},[],!1,null,"4b5fd447",null).exports,u=(0,s.Z)({__name:"WikiHero",props:{summaryList:{type:Array,default:function(){return[]}}},setup:function(t){return{__sfc:!0}}},function(){var t=this,e=t._self._c;return t._self._setupProxy,e("section",{staticClass:"subject-wiki-show-screen__hero"},[t._m(0),t._v(" "),e("div",{staticClass:"hero-summary-box box-start"},t._l(t.summaryList,function(n,i){return e("article",{key:i,staticClass:"summary-card box-start"},[e("img",{attrs:{src:"https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/ai-subject-wiki-icon".concat(i+1,".png"),alt:""}}),t._v(" "),e("div",[e("div",{staticClass:"summary-card__count"},[t._v(t._s(n.count))]),t._v(" "),e("div",{staticClass:"summary-card__label"},[t._v(t._s(n.label))])])])}),0)])},[function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"hero-title-block box-start"},[t("p",{staticClass:"line"}),this._v(" "),t("h1",{staticClass:"hero-title"},[this._v("å¦ç§ Wiki")])])}],!1,null,"06dd373c",null).exports;n(27281);var v=n(48493),f=n(92511),d=n(51808),p=n(21373),_=n(64264);function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function g(t,e,n,i,a,r,o){try{var l=t[r](o),s=l.value}catch(t){n(t);return}l.done?e(s):Promise.resolve(s).then(i,a)}var b=(0,s.Z)({__name:"WikiImageSection",props:{toolbarState:{type:Object,default:function(){return{viewMode:"markdown",keyword:"",filter1:"",filter2:""}}}},setup:function(t){var e=(0,a._p)("aiSubjectStore").useState,n=e(["subjectInfo"]).subjectInfo,r=(0,i.ref)(null),o=(0,i.ref)(!1),l=(0,i.ref)(!1),s=(0,i.ref)([]),c=(0,i.ref)(1),u=(0,i.ref)(21),b=(0,i.ref)(!1),h=(0,i.ref)(!0),y=(0,i.ref)(!1),w=(0,i.ref)(null),k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(t)?t.length?t.join(","):"":"".concat(t)},C=function(){var e;return(e=function(){var e,i,a,r,l,v,f;return function(t,e){var n,i,a,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=2&c[0]?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(!(a=(a=r.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){r=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(6===c[0]&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t],i=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(d){switch(d.label){case 0:if(!(null==(e=n.value)?void 0:e.agent_id))return s.value=[],[2];1===c.value&&(o.value=!0),i=API.ai_subject_display.get_subject_wiki_image_chunks,a={agent_id:n.value.agent_id,query:t.toolbarState.keyword||"",category:k(t.toolbarState.filter2),knowledge_node:k(t.toolbarState.filter1),sort:"modified",page:c.value,page_size:u.value,uv_id:n.value.university_id||0,platform_id:n.value.platform_id},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,request.get(i,a)];case 2:return v=(null==(l=d.sent().data)?void 0:l.result)||[],(r=s.value).push.apply(r,function(t){if(Array.isArray(t))return m(t)}(v)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(v)||function(t,e){if(t){if("string"==typeof t)return m(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 m(t,e)}}(v)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v.length||(h.value=!1),o.value=!1,b.value=!1,[3,4];case 3:return f=d.sent(),o.value=!1,b.value=!1,console.error("getList",f),[3,4];case 4:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(i,a){var r=e.apply(t,n);function o(t){g(r,i,a,o,l,"next",t)}function l(t){g(r,i,a,o,l,"throw",t)}o(void 0)})})()},x=function(){c.value=1,s.value=[],h.value=!0,l.value=!1,b.value=!1},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map(function(t){return t.name}).join("ã")||"--"},j=function(){var t=r.value;if(t){var e=t.scrollTop,n=t.scrollHeight,i=t.offsetHeight;l.value=e+i+1>=n,e+i+1>=n&&!b.value&&h.value&&(b.value=!0,c.value++,C())}};return(0,i.watch)(function(){var e;return[null==(e=n.value)?void 0:e.agent_id,t.toolbarState.keyword,t.toolbarState.filter1,t.toolbarState.filter2]},function(){x(),C(),r.value&&(r.value.scrollTop=0)},{immediate:!0}),(0,i.watch)(function(){return r.value},function(t,e){null==e||e.removeEventListener("scroll",j),null==t||t.addEventListener("scroll",j)},{immediate:!0}),(0,i.onUnmounted)(function(){var t;null==(t=r.value)||t.removeEventListener("scroll",j)}),{__sfc:!0,useState:e,subjectInfo:n,props:t,scrollRef:r,isLoading:o,showLoading:l,list:s,page:c,pageSize:u,loadingMore:b,more:h,dialogVisible:y,activeItem:w,getFilterValue:k,getList:C,resetList:x,getNames:S,renderMarkdown:function(t){return(0,v.w)(t)},buildMarkdown:function(t){return["**æ é¢**ï¼".concat(t.chunk_name),"**æè¿°**ï¼".concat(t.text||""),"**ç¥è¯ç¹**ï¼".concat(S(t.knowledge_nodes)),"**åç±»**ï¼".concat(S(t.categories))].join("\n\n")},scrollLoadData:j,openItem:function(t){w.value=t,y.value=!0},closeDialog:function(){y.value=!1,w.value=null},empty:f.Z,loading:d.Z,loadingMoreCom:p.Z,textEllipsis:_.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"wiki-image-section"},[n.isLoading?e("div",{staticClass:"loading-box"},[e(n.loading)],1):[n.list.length?e("div",{ref:"scrollRef",staticClass:"wiki-section__scroll"},[e("div",{staticClass:"subject-wiki-grid"},t._l(n.list,function(i){return e("div",{key:i.chunk_id,staticClass:"subject-wiki-card wiki-card flex flex-col justify-between",on:{click:function(t){return n.openItem(i)}}},[e("div",[e("div",{staticClass:"wiki-card__head box-start"},[e("i",{staticClass:"iconfont icon-tupian"}),t._v(" "),e("h3",{staticClass:"wiki-card__title"},[t._v(t._s(i.chunk_name))])]),t._v(" "),e("div",["common"===t.toolbarState.viewMode?e("div",{staticClass:"wiki-card__preview"},[e("img",{attrs:{src:i.preview,alt:""}})]):e("div",{staticClass:"subject-wiki-markdown"},[e("pre",{staticClass:"wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(i)))])])])])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"wiki-card__meta box-start"},[e("p",{staticClass:"subject-wiki-meta-pill box-start"},[t._m(0,!0),t._v(" "),e(n.textEllipsis,{attrs:{"is-html":!1,line_clamp:1,visible_arrow:!0,content:n.getNames(i.knowledge_nodes)}})],1),t._v(" "),e("p",{staticClass:"subject-wiki-meta-pill box-start"},[t._m(1,!0),t._v(" "),e(n.textEllipsis,{attrs:{"is-html":!1,line_clamp:1,visible_arrow:!0,content:n.getNames(i.categories)}})],1)]):t._e()])}),0),t._v(" "),n.showLoading?e(n.loadingMoreCom,{attrs:{list_length:n.list.length,loading_more:n.loadingMore,more:n.more}}):t._e()],1):e(n.empty,{attrs:{text:"ææ æ°æ®"}})],t._v(" "),e("el-dialog",{attrs:{visible:n.dialogVisible,"custom-class":"subject-wiki-markdown-dialog","append-to-body":""},on:{"update:visible":function(t){n.dialogVisible=t}}},[n.activeItem?[e("div",{staticClass:"wiki-dialog-header"},[e("div",{staticClass:"flex justify-between items-center"},[e("p",{staticClass:"wiki-dialog-title"},[t._v("\n "+t._s(n.activeItem.chunk_name)+"\n ")]),t._v(" "),e("p",{staticClass:"wiki-dialog-close box-center",on:{click:n.closeDialog}},[e("i",{staticClass:"iconfont icon-cu-cha"})])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"wiki-card__meta flex"},[e("p",{staticClass:"subject-wiki-meta-pill box-start"},[e("span",{staticClass:"meta-item-title box-start"},[e("i",{staticClass:"iconfont icon-tishi"}),t._v("ç¥è¯ç¹ï¼")]),t._v(" "),e("span",[t._v(t._s(n.getNames(n.activeItem.knowledge_nodes)))])]),t._v(" "),e("p",{staticClass:"subject-wiki-meta-pill box-start"},[e("span",{staticClass:"meta-item-title box-start"},[e("i",{staticClass:"iconfont icon-xuexineirong"}),t._v("åç±»ï¼")]),t._v(" "),e("span",[t._v(t._s(n.getNames(n.activeItem.categories)))])])]):t._e()]),t._v(" "),e("div",{staticClass:"wiki-dialog-content"},["common"===t.toolbarState.viewMode?e("div",{staticClass:"mdit",domProps:{innerHTML:t._s(n.renderMarkdown(n.activeItem.text||""))}}):e("pre",{staticClass:"wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(n.activeItem)))])])])]:t._e()],2)],2)},[function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"meta-item-title box-start"},[t("i",{staticClass:"iconfont icon-tishi"}),this._v("ç¥è¯ç¹ï¼")])},function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"meta-item-title box-start"},[t("i",{staticClass:"iconfont icon-xuexineirong"}),this._v("åç±»ï¼")])}],!1,null,"970
1b733c",null).exports;function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function y(t,e,n,i,a,r,o){try{var l=t[r](o),s=l.value}catch(t){n(t);return}l.done?e(s):Promise.resolve(s).then(i,a)}var w=(0,s.Z)({__name:"WikiInteractiveSection",props:{toolbarState:{type:Object,default:function(){return{viewMode:"markdown",keyword:"",filter1:"",filter2:""}}}},setup:function(t){var e=(0,a._p)("aiSubjectStore").useState,n=e(["subjectInfo"]).subjectInfo,r=(0,i.ref)(null),o=(0,i.ref)(!1),l=(0,i.ref)(!1),s=(0,i.ref)([]),c=(0,i.ref)(1),u=(0,i.ref)(21),v=(0,i.ref)(!1),m=(0,i.ref)(!0),g=(0,i.ref)(!1),b=(0,i.ref)(null),w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(t)?t.length?t.join(","):"":""===t||null==t?"":"".concat(t)},k=function(){var e;return(e=function(){var e,i,a,r,l,f,d;return function(t,e){var n,i,a,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=2&c[0]?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(!(a=(a=r.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){r=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(6===c[0]&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t],i=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(p){switch(p.label){case 0:if(!(null==(e=n.value)?void 0:e.agent_id))return s.value=[],[2];1===c.value&&(o.value=!0),i=API.ai_subject_display.get_subject_wiki_interactive_resources,a={agent_id:n.value.agent_id,query:t.toolbarState.keyword||"",category:w(t.toolbarState.filter2),knowledge_node:w(t.toolbarState.filter1),sort:"modified",page:c.value,page_size:u.value,uv_id:n.value.university_id||0,platform_id:n.value.platform_id},p.label=1;case 1:return p.trys.push([1,3,,4]),[4,request.get(i,a)];case 2:return f=(null==(l=p.sent().data)?void 0:l.result)||[],(r=s.value).push.apply(r,function(t){if(Array.isArray(t))return h(t)}(f)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(f)||function(t,e){if(t){if("string"==typeof t)return h(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 h(t,e)}}(f)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f.length||(m.value=!1),o.value=!1,v.value=!1,[3,4];case 3:return d=p.sent(),o.value=!1,v.value=!1,console.error("getList",d),[3,4];case 4:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(i,a){var r=e.apply(t,n);function o(t){y(r,i,a,o,l,"next",t)}function l(t){y(r,i,a,o,l,"throw",t)}o(void 0)})})()},C=function(){c.value=1,s.value=[],m.value=!0,l.value=!1,v.value=!1},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map(function(t){return t.name}).join("ã")||"--"},S=function(){var t=r.value;if(t){var e=t.scrollTop,n=t.scrollHeight,i=t.offsetHeight;l.value=e+i+1>=n,e+i+1>=n&&!v.value&&m.value&&(v.value=!0,c.value++,k())}};return(0,i.watch)(function(){var t;return[null==(t=n.value)?void 0:t.agent_id]},function(){C(),k(),r.value&&(r.value.scrollTop=0)},{immediate:!0}),(0,i.watch)(function(){return[t.toolbarState.keyword,t.toolbarState.viewMode,t.toolbarState.filter1,t.toolbarState.filter2]},function(){C(),k(),r.value&&(r.value.scrollTop=0)}),(0,i.watch)(function(){return r.value},function(t,e){null==e||e.removeEventListener("scroll",S),null==t||t.addEventListener("scroll",S)},{immediate:!0}),(0,i.onUnmounted)(function(){var t;null==(t=r.value)||t.removeEventListener("scroll",S)}),{__sfc:!0,useState:e,subjectInfo:n,props:t,scrollRef:r,isLoading:o,showLoading:l,list:s,page:c,pageSize:u,loadingMore:v,more:m,dialogVisible:g,activeItem:b,getFilterValue:w,getList:k,resetList:C,openItem:function(t){b.value=t,g.value=!0},closeDialog:function(){g.value=!1,b.value=null},getNames:x,buildMarkdown:function(t){var e;return["**HTML**ï¼".concat(t.url),"**æ é¢**ï¼".concat(t.title),"**说æ**ï¼".concat(t.desc||""),"**å
³é®è¯**ï¼".concat((null==(e=t.keywords)?void 0:e.join("ã"))||""),"**ç¥è¯ç¹**ï¼".concat(x(t.knowledge_nodes)),"**åç±»**ï¼".concat(x(t.categories))].join("\n\n")},scrollLoadData:S,empty:f.Z,loading:d.Z,loadingMoreCom:p.Z,textEllipsis:_.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"wiki-interactive-section"},[n.isLoading?e("div",{staticClass:"loading-box"},[e(n.loading)],1):[n.list.length?e("div",{ref:"scrollRef",staticClass:"wiki-section__scroll"},[e("div",{staticClass:"subject-wiki-grid"},t._l(n.list,function(i){var a;return e("div",{key:i.id,staticClass:"subject-wiki-card wiki-card",on:{click:function(t){return n.openItem(i)}}},[e("div",[e("div",{staticClass:"wiki-card__head box-start"},[e("i",{staticClass:"iconfont icon-duihua1"}),t._v(" "),e("h3",{staticClass:"wiki-card__title"},[t._v(t._s(i.title))])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"interactive-card"},[e("div",{staticClass:"interactive-card__body"},[e("div",{staticClass:"card-content"},[e("iframe",{staticClass:"card-iframe",attrs:{src:i.url,frameborder:"0",scrolling:"no"}})]),t._v(" "),(null==i||null==(a=i.keywords)?void 0:a.length)?e("div",{staticClass:"interactive-card__keywords"},t._l(i.keywords,function(n){return e("span",{key:n,staticClass:"interactive-card__keyword"},[t._v("\n "+t._s(n)+"\n ")])}),0):t._e(),t._v(" "),e("p",{staticClass:"interactive-card__note"},[t._v(t._s(i.desc||"--"))])])]):e("pre",{staticClass:"subject-wiki-markdown wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(i)))])])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"wiki-card__meta box-start"},[e("p",{staticClass:"subject-wiki-meta-pill box-start"},[t._m(0,!0),t._v(" "),e(n.textEllipsis,{attrs:{"is-html":!1,line_clamp:1,visible_arrow:!0,content:n.getNames(i.knowledge_nodes)}})],1),t._v(" "),e("p",{staticClass:"subject-wiki-meta-pill box-start"},[t._m(1,!0),t._v(" "),e(n.textEllipsis,{attrs:{"is-html":!1,line_clamp:1,visible_arrow:!0,content:n.getNames(i.categories)}})],1)]):t._e()])}),0),t._v(" "),n.showLoading?e(n.loadingMoreCom,{attrs:{list_length:n.list.length,loading_more:n.loadingMore,more:n.more}}):t._e()],1):e(n.empty,{attrs:{text:"ææ æ°æ®"}})],t._v(" "),e("el-dialog",{staticClass:"loading-box",attrs:{visible:n.dialogVisible,"custom-class":"common"===t.toolbarState.viewMode?"wiki-interactive-dialog":"subject-wiki-markdown-dialog","append-to-body":""},on:{"update:visible":function(t){n.dialogVisible=t}}},[n.activeItem?["common"===t.toolbarState.viewMode?e("div",{staticClass:"interactive-dialog"},[e("iframe",{staticClass:"interactive-dialog__iframe",attrs:{src:n.activeItem.url,frameborder:"0"}})]):[e("div",{staticClass:"wiki-dialog-header"},[e("div",{staticClass:"flex justify-between items-center"},[e("p",{staticClass:"wiki-dialog-title"},[t._v("\n "+t._s(n.activeItem.chunk_name)+"\n ")]),t._v(" "),e("p",{staticClass:"wiki-dialog-close box-center",on:{click:n.closeDialog}},[e("i",{staticClass:"iconfont icon-cu-cha"})])])]),t._v(" "),e("div",{staticClass:"wiki-dialog-content"},[e("pre",{staticClass:"wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(n.activeItem)))])])])]]:t._e()],2)],2)},[function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"meta-item-title box-start"},[t("i",{staticClass:"iconfont icon-tishi"}),this._v("ç¥è¯ç¹ï¼")])},function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"meta-item-title box-start"},[t("i",{staticClass:"iconfont icon-xuexineirong"}),this._v("åç±»ï¼")])}],!1,null,"4ab123bc",null).exports;function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function C(t,e,n,i,a,r,o){try{var l=t[r](o),s=l.value}catch(t){n(t);return}l.done?e(s):Promise.resolve(s).then(i,a)}var x=(0,s.Z)({__name:"WikiLlmSection",props:{toolbarState:{type:Object,default:function(){return{viewMode:"markdown",keyword:"",filter1:"",filter2:""}}}},setup:function(t){var e=(0,a._p)("aiSubjectStore").useState,n=e(["subjectInfo"]).subjectInfo,r=(0,i.ref)(null),o=(0,i.ref)(!1),l=(0,i.ref)(!1),s=(0,i.ref)([]),c=(0,i.ref)(1),u=(0,i.ref)(21),m=(0,i.ref)(!1),g=(0,i.ref)(!0),b=(0,i.ref)(!1),h=(0,i.ref)(null),y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(t)?t.length?t.join(","):"":""===t||null==t?"":"".concat(t)},w=function(){var e;return(e=function(){var e,i,a,r,l,v,f;return function(t,e){var n,i,a,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=2&c[0]?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(!(a=(a=r.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){r=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(6===c[0]&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t],i=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(d){switch(d.label){case 0:if(!(null==(e=n.value)?void 0:e.agent_id))return s.value=[],[2];1===c.value&&(o.value=!0),i=API.ai_subject_display.get_subject_wiki_llm_chunks,a={agent_id:n.value.agent_id,query:t.toolbarState.keyword||"",category:y(t.toolbarState.filter2),knowledge_node:y(t.toolbarState.filter1),sort:"modified",page:c.value,page_size:u.value,uv_id:n.value.university_id||0,platform_id:n.value.platform_id},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,request.get(i,a)];case 2:return v=(null==(l=d.sent().data)?void 0:l.result)||[],(r=s.value).push.apply(r,function(t){if(Array.isArray(t))return k(t)}(v)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(v)||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)}}(v)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v.length||(g.value=!1),o.value=!1,m.value=!1,[3,4];case 3:return f=d.sent(),o.value=!1,m.value=!1,console.error("getList",f),[3,4];case 4:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(i,a){var r=e.apply(t,n);function o(t){C(r,i,a,o,l,"next",t)}
1function l(t){C(r,i,a,o,l,"throw",t)}o(void 0)})})()},x=function(){c.value=1,s.value=[],g.value=!0,l.value=!1,m.value=!1},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map(function(t){return t.name}).join("ã")||"--"},j=function(){var t=r.value;if(t){var e=t.scrollTop,n=t.scrollHeight,i=t.offsetHeight;l.value=e+i+1>=n,e+i+1>=n&&!m.value&&g.value&&(m.value=!0,c.value++,w())}};return(0,i.watch)(function(){var e;return[null==(e=n.value)?void 0:e.agent_id,t.toolbarState.keyword,t.toolbarState.filter1,t.toolbarState.filter2]},function(){x(),w(),r.value&&(r.value.scrollTop=0)},{immediate:!0}),(0,i.watch)(function(){return r.value},function(t,e){null==e||e.removeEventListener("scroll",j),null==t||t.addEventListener("scroll",j)},{immediate:!0}),(0,i.onUnmounted)(function(){var t;null==(t=r.value)||t.removeEventListener("scroll",j)}),{__sfc:!0,useState:e,subjectInfo:n,props:t,scrollRef:r,isLoading:o,showLoading:l,list:s,page:c,pageSize:u,loadingMore:m,more:g,dialogVisible:b,activeItem:h,getFilterValue:y,getList:w,resetList:x,getNames:S,renderMarkdown:function(t){return(0,v.w)(t)},buildMarkdown:function(t){return["**æ é¢**ï¼".concat(t.chunk_name),"**æè¿°**ï¼".concat(t.text||""),"**ç¥è¯ç¹**ï¼".concat(S(t.knowledge_nodes)),"**åç±»**ï¼".concat(S(t.categories))].join("\n\n")},scrollLoadData:j,openItem:function(t){h.value=t,b.value=!0},closeDialog:function(){b.value=!1,h.value=null},empty:f.Z,loading:d.Z,loadingMoreCom:p.Z,textEllipsis:_.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"wiki-llm-section"},[n.isLoading?e("div",{staticClass:"loading-box"},[e(n.loading)],1):[n.list.length?e("div",{ref:"scrollRef",staticClass:"wiki-section__scroll"},[e("div",{staticClass:"subject-wiki-grid"},t._l(n.list,function(i){return e("div",{key:i.chunk_id,staticClass:"subject-wiki-card wiki-card flex flex-col justify-between",on:{click:function(t){return n.openItem(i)}}},[e("div",[e("div",{staticClass:"wiki-card__head box-start"},[e("i",{staticClass:"iconfont icon-wenzhang"}),t._v(" "),e("h3",{staticClass:"wiki-card__title"},[t._v(t._s(i.chunk_name))])]),t._v(" "),e("div",{staticClass:"subject-wiki-markdown",style:{height:"common"===t.toolbarState.viewMode?"282px":"360px"}},["common"===t.toolbarState.viewMode?e("div",{staticClass:"mdit",domProps:{innerHTML:t._s(n.renderMarkdown(i.text||""))}}):e("pre",{staticClass:"wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(i)))])])])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"wiki-card__meta box-start"},[e("p",{staticClass:"subject-wiki-meta-pill box-start"},[t._m(0,!0),t._v(" "),e(n.textEllipsis,{attrs:{"is-html":!1,line_clamp:1,visible_arrow:!0,content:n.getNames(i.knowledge_nodes)}})],1),t._v(" "),e("p",{staticClass:"subject-wiki-meta-pill box-start"},[t._m(1,!0),t._v(" "),e(n.textEllipsis,{attrs:{"is-html":!1,line_clamp:1,visible_arrow:!0,content:n.getNames(i.categories)}})],1)]):t._e()])}),0),t._v(" "),n.showLoading?e(n.loadingMoreCom,{attrs:{list_length:n.list.length,loading_more:n.loadingMore,more:n.more}}):t._e()],1):e(n.empty,{attrs:{text:"ææ æ°æ®"}})],t._v(" "),e("el-dialog",{attrs:{visible:n.dialogVisible,"custom-class":"subject-wiki-markdown-dialog","append-to-body":""},on:{"update:visible":function(t){n.dialogVisible=t}}},[n.activeItem?[e("div",{staticClass:"wiki-dialog-header"},[e("div",{staticClass:"flex justify-between items-center"},[e("p",{staticClass:"wiki-dialog-title"},[t._v("\n "+t._s(n.activeItem.chunk_name)+"\n ")]),t._v(" "),e("p",{staticClass:"wiki-dialog-close box-center",on:{click:n.closeDialog}},[e("i",{staticClass:"iconfont icon-cu-cha"})])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"wiki-card__meta flex"},[e("p",{staticClass:"subject-wiki-meta-pill box-start"},[e("span",{staticClass:"meta-item-title box-start"},[e("i",{staticClass:"iconfont icon-tishi"}),t._v("ç¥è¯ç¹ï¼")]),t._v(" "),e("span",[t._v(t._s(n.getNames(n.activeItem.knowledge_nodes)))])]),t._v(" "),e("p",{staticClass:"subject-wiki-meta-pill box-start"},[e("span",{staticClass:"meta-item-title box-start"},[e("i",{staticClass:"iconfont icon-xuexineirong"}),t._v("åç±»ï¼")]),t._v(" "),e("span",[t._v(t._s(n.getNames(n.activeItem.categories)))])])]):t._e()]),t._v(" "),e("div",{staticClass:"wiki-dialog-content"},["common"===t.toolbarState.viewMode?e("div",{staticClass:"mdit",domProps:{innerHTML:t._s(n.renderMarkdown(n.activeItem.text||""))}}):e("pre",{staticClass:"wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(n.activeItem)))])])])]:t._e()],2)],2)},[function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"meta-item-title box-start"},[t("i",{staticClass:"iconfont icon-tishi"}),this._v("ç¥è¯ç¹ï¼")])},function(){var t=this._self._c;return this._self._setupProxy,t("span",{staticClass:"meta-item-title box-start"},[t("i",{staticClass:"iconfont icon-xuexineirong"}),this._v("åç±»ï¼")])}],!1,null,null,null).exports;n(56325),n(61657);var S=(0,s.Z)({__name:"WikiMcpSection",emits:["go-interactive"],setup:function(t,e){var n=e.emit;
1return{__sfc:!0,emit:n,list:[{title:"è§£åå¾å¦ä¹ äºå¨",description:"åºäºè§£åå¾ç交äºå¼å¦ä¹ å·¥å
·ï¼æ¯æäººä½åç»ç»å¨å®è¿çº¿é
对ï¼å¼ºåè§£å空é´è®°å¿ï¼",source:"å¦å å¨çº¿",tags:["æå¦äºå¨","èªç MCP"]}],goInteractive:function(){n("go-interactive")},empty:f.Z}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"wiki-mcp-section"},[e("div",{ref:"scrollRef",staticClass:"wiki-section__scroll"},[n.list.length?e("div",{staticClass:"subject-wiki-grid"},t._l(n.list,function(i){return e("div",{key:i.title,staticClass:"subject-wiki-card tool-card",on:{click:n.goInteractive}},[e("div",{staticClass:"wiki-card__head box-start"},[e("i",{staticClass:"iconfont icon-diannao"}),t._v(" "),e("h3",{staticClass:"wiki-card__title"},[t._v(t._s(i.title))])]),t._v(" "),e("p",{staticClass:"tool-card__desc"},[t._v(t._s(i.description))]),t._v(" "),e("div",{staticClass:"tool-card__source"},[t._v(t._s(i.source))]),t._v(" "),e("div",{staticClass:"tool-card__tags box-start"},[e("i",{staticClass:"iconfont icon-tishi"}),t._v("\n "+t._s(i.tags.join("ã")||[])+"\n ")])])}),0):e(n.empty,{attrs:{text:"ææ æ°æ®"}})],1)])},[],!1,null,"068df517",null).exports;function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function M(t){return function(t){if(Array.isArray(t))return j(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 j(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 j(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.")}()}n(44959),n(72775),n(32927),n(35130);var I=(0,s.Z)({__name:"WikiTeachingSection",props:{toolbarState:{type:Object,default:function(){return{viewMode:"markdown",keyword:"",filter1:"",filter2:""}}}},setup:function(t){var e=(0,i.ref)(null),n=(0,i.ref)(!1),a=(0,i.ref)(null),r=[{title:"å¼å¯¼å¼æå¦",scene:"æ¦å¿µçè§£",type:"æå¦çç¥",sections:[{title:"æ ¸å¿ç®æ ",content:"å¼å¯¼ä½ ç¬ç«æèï¼èéç´æ¥ç»åºçæ¡ãæææ¦å¿µãæ¨çç±»é®é¢ï¼æé½å°éè¿åé®ã追é®åç±»æ¯ï¼å¸®ä½ èªå·±åç°å
³é®é»è¾ã"},{title:"工使¹å¼",content:"- æé®ä»£æ¿åçï¼å½ä½ æåºç鮿¶ï¼æä¸ä¼ç´æ¥è§£éï¼èæ¯æåºå¼å¯¼æ§é®é¢ï¼å¦âä½ è§å¯è¿ä»ä¹ç±»ä¼¼ç°è±¡ï¼âï¼ï¼è®©ä½ å
表达èªå·±ççè§£ã\n- 追踪æç»´é¾ï¼æä¼å
³æ³¨ä½ çæ¨çè·¯å¾ï¼å¨å
³é®èç¹ç»äºæç¤ºï¼ä½ä¸ä¼ä»£æ¿ä½ 宿æ¨çã\n- çç¾æç¤ºï¼è¥ä½ çæ¨çæè¯¯ï¼æä¼ç¨é®é¢æ´é²çç¾ï¼å¦â妿æè¿ä¸ªé»è¾ï¼åé¢ä¼åºç°ä»ä¹ç»æï¼âï¼ï¼è䏿¯ç´æ¥çº æ£ã\n- å·©åºç¡®è®¤ï¼å½ä½ æ¥è¿æ£ç¡®çæ¡æ¶ï¼æä¼ç¨è¯å®æ§é®é¢ï¼å¦âè¿ä¸ªç»è®ºè½è§£éåé¢çç°è±¡åï¼âï¼å¸®ä½ å·©åºçè§£ã"},{title:"å䏿¹å¼",content:"- 䏻卿åºä½ çé®é¢ææ¨çè¿ç¨ã\n- 认çæèæ¯ä¸ªå¼å¯¼æ§é®é¢ï¼å°è¯èªå·±å¾åºç»è®ºã\n- ä¸å¿
æ
å¿çéï¼æ¯ä¸ä¸ªéè¯¯é½æ¯è¿ä¸æ¥å¼å¯¼çèµ·ç¹ã"},{title:"éç¨åºæ¯",content:"éåéè¦æ·±å
¥çè§£æºå¶ãé»ç¼é»è¾æ¨ççç¥è¯ç¹ï¼å¦ç
çççãè¯çæºå¶ãè¯ææ¨ççã"}]},{title:"ä¸´åºæç»´è®ç»",scene:"ä¸´åºæç»´",type:"æè½è®ç»",sections:[{title:"æ ¸å¿ç®æ ",content:"å´ç»ä½ æå®çç¾ç
ï¼æå»ºå
¸åç
ä¾ï¼åé¶æ®µå¼å¯¼ä½ åä½é¢å»å¸ä¸æ ·å®æä»è¯æå°æ²»ççå
¨è¿ç¨æ¨çã"},{title:"æ åæµç¨",content:"1. ç
ä¾ä¿¡æ¯ï¼å
ç»åºä¸»è¯ãç°ç
å²ãæ¢å¾å²ã使 ¼æ£æ¥çåå§èµæã\n2. ä¸´åºæç»´é®é¢ï¼é对å½åèµæï¼æåºä¸ä¸ªå¼æ¾æ§é®é¢ï¼ä¾å¦âè¯æèèä»ä¹ï¼ä¾æ®æ¯ä»ä¹ï¼è¿éè¦åªäºæ£æ¥ï¼âï¼ã\n3. ä½ çä½çï¼è¯·åºäºç°æä¿¡æ¯ç»åºä½ çåæå夿ã\n4. åé¦ä¸è§£æï¼æä¼å
è¯ä»·ä½ çåçï¼æåºæ£ç¡®ç¹åéæ¼ç¹ï¼åç»åºå®æ´ççæ¡åè§£æï¼å«å
·ä½ä¾æ®ï¼å¦æåæ åãéåå级ï¼ã\n5. è¿å
¥ä¸ä¸é¶æ®µï¼è¡¥å
æ°çæ£æ¥ç»æææ²»çååºï¼å¼åºä¸ä¸ä¸ªé®é¢ï¼å¾ªç¯æ¨è¿ï¼é常è¦çè¯æã严éç¨åº¦å¤æãæ²»çå³çãé¿æç®¡ççï¼ã"},{title:"å
³é®åå",content:"- æ¯ä¸ªé¶æ®µåªæä¸ä¸ªé®é¢ï¼ä¸ä¼æåéé²åç»ä¿¡æ¯ã\n- è¥ä½ çåçæ¹åé误ï¼
1æä¼å
ç»ä¸å±æç¤ºï¼è®©ä½ ææºä¼èªè¡ä¿®æ£ã\n- è§£æä¼ç»åå
·ä½æºå¶å便®ï¼å¸®å©å½¢æå¯è¿ç§»ç夿æ åã"},{title:"éç¨åºæ¯",content:"å·©åºä¸´åºè¯çæè·¯ï¼æåä»çç¶ãä½å¾å°å³çç宿è½åã"}]},{title:"ä¹ é¢è§£ææå¦",scene:"课åå·©åº",type:"åæå¤ä¹ ",sections:[{title:"æ ¸å¿ç®æ ",content:"é对æ§ä¸å»èé¢ç®ï¼å
è®©ä½ èªä¸»ä½çï¼åéè¿åæ¥ç²¾è®²ï¼å½»åºææé¢ç®èåçé»è¾ï¼å¹¶ä¸²èåºç¡ä¸ä¸´åºã"},{title:"äºå¨é¡ºåº",content:"- ä½ æä¾é¢ç®åï¼è¯·å
说åºä½ çéæ©åçç±ï¼ææä¼è¿å
¥è§£æã\n- è¥ä½ æç¡®æ¾å¼ä½çï¼åç´æ¥è®²è§£ï¼å¦åæä¼çå¾
ä½ çå°è¯ã"},{title:"åæ¥ç²¾è®²ç»æ",content:"1. èç¹å®ä½ï¼æâå¦ç§/ç« è/ç¥è¯ç¹â精确å°å
·ä½èç¹ï¼å¦âè¿å¨ç³»ç»/骨å¦/骨çåç±»âï¼ã\n2. ææ¡å±æ¬¡ï¼æ ¹æ®å¸é²å§åç±»ï¼å¤å®ä¸ºè®°å¿ãçè§£ãåºç¨æåæã\n3. è§£æï¼\n - å
æ»è¿°æ ¸å¿ç¥è¯ç¹ã\n - åææ£ç¡®éé¡¹ä¸ºä½æ£ç¡®ã\n - éä¸åæé误éé¡¹ï¼æåºå
·ä½éå¨åªéï¼å¹¶ç»åºå¯¹åºçæ£ç¡®ç¥è¯ç¹ã\n4. æå±å
容ï¼å°åºç¡å»å¦ä¸ä¸´åºä¸²èï¼å¸®å©ä¸¾ä¸åä¸ï¼ä¸éå¤è§£æã"},{title:"åé¦è¡æ¥",content:"è¿å
¥è§£æåï¼æä¼æç¡®ååºä½ ççæ¡ãéå¯¹äºæåºä¾æ®ï¼ééäºææå
·ä½ç¥è¯ç²åºï¼å¦âæ··æ·äºXXä¸XXçæºå¶âï¼ï¼èéç®åå½ä¸ºâä¸çæâã"},{title:"éç¨åºæ¯",content:"å·é¢å·©åºãèåå²åºï¼å°¤å
¶éåéé¢å¤çã"}]},{title:"å¨å®å¹é
ç»ä¹ ",scene:"课å äºå¨",type:"äºå¨å¼å¯¼",sections:[{title:"æ ¸å¿ç®æ ",content:"éè¿å¾çææ½å¹é
ç»ä¹ ï¼å¸®å©ä½ å¨è§è§ä¸åç¡®è¯å«å¨å®ä½ç½®ï¼å¼ºåè§£å空é´è®°å¿ã"},{title:"äº¤äºæµç¨",content:"1. 确认èå´ï¼ä½ éæç¡®è¯´åºæ³ç»ä¹ çå¨å®æç³»ç»ï¼å¦âå¿èââæ¶åç³»ç»âï¼ï¼æææ¨é对åºç»ä¹ ï¼è¥åªè¯´âæ³ç»ä¹ âï¼æä¼å
询é®å
·ä½èå´ã\n2. ç身å¼å¯¼ï¼æ¨éåï¼æä¼ç»ä¸å¥ç®ç线索ï¼å¦âåæ³ä¸ä¸èå¨è
¹é¨çåªä¸ªè±¡éï¼âï¼ï¼ä½ç»ä¸ç´æ¥è¯´åºå¾çä¸çä½ç½®çæ¡ã\n3. è°ç¨å·¥å
·ï¼æ¨éç»ä¹ å·¥å
·ï¼çæå¹é
é¢ç®ï¼ä½ å¼å§å¨å¾ç䏿æ½ã\n4. ç»ä¹ ä¸ç帮å©ï¼ä½ è¥å¨è¿ç¨ä¸æçæï¼å¦âèåè°è
ºæ»æ¯å䏿¸
âï¼ï¼æä¼ç¨ç¥è¯ç¹æç¤ºãç±»æ¯æåé®ï¼å¦âè°è
ºååäºæè å
³ç³»ç´§å¯ï¼é¡ºçè¿ä¸ªçº¿ç´¢åççâï¼å¼å¯¼ä½ èªè¡å¤æï¼è䏿¯ç´æ¥åè¯ä½ç½®ã\n5. ç»ä¹ ååé¦ï¼ä½ åé¦å®ææ
åµåï¼æä¼é对èå¼±ç¹åç®è¦å·©åºï¼å¹¶è¯¢é®æ¯å¦ç»§ç»å
¶ä»å¨å®ã"},{title:"éè¦è§å",content:"- åä¸å¨å®å¨åä¸ä¼è¯ä¸ä¸é夿¨éï¼é¤éä½ æç¡®è¦æ±â忥䏿¬¡âã\n- è¥ä½ æè¿°èº«ä½ä¸éç严èè¯é¢ï¼æä¼æåç»ä¹ ï¼è½¬ä¸ºæ£å¸¸å¯¹è¯ã\n- å
¨ç¨ä¸æ¿ä»£ä½ å®æææ½ï¼åªåå¼å¯¼ã"},{title:"éç¨åºæ¯",content:"è§£åå¦åºç¡å¦ä¹ ãå¾åè®°å¿å¼ºåãèåå¿«éå®ä½å¤ä¹ ã"}]}],o=(0,i.ref)(M(r)),l=function(){var e=(t.toolbarState.keyword||"").trim().toLowerCase();o.value=r.filter(function(n){var i=!e||[n.title,n.scene,n.type].concat(M(n.sections.map(function(t){return"".concat(t.title," ").concat(t.content)}))).join(" ").toLowerCase().includes(e),a=!t.toolbarState.filter1||n.scene===t.toolbarState.filter1,r=!t.toolbarState.filter2||n.type===t.toolbarState.filter2;return i&&a&&r})};return(0,i.watch)(function(){return[t.toolbarState.keyword,t.toolbarState.filter1,t.toolbarState.filter2]},function(){l(),e.value&&(e.value.scrollTop=0)},{immediate:!0}),{__sfc:!0,props:t,scrollRef:e,dialogVisible:n,activeItem:a,teachingList:r,list:o,setList:l,openItem:function(t){a.value=t,n.value=!0},closeDialog:function(){n.value=!1,a.value=null},renderMarkdown:function(t){return(0,v.w)(t)},buildMarkdown:function(t){var e=t.sections.map(function(t){return"**".concat(t.title,"**\n").concat(t.content)});return e.push("**æå¦åºæ¯**\n".concat(t.scene)),e.push("**ç±»å**\n".concat(t.type)),e.join("\n\n")},buildRenderMarkdown:function(t){return t.sections.map(function(t){return"**".concat(t.title,"**\n\n").concat(t.content)}).join("\n\n")}}}},function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{staticClass:"wiki-teaching-section"},[e("div",{ref:"scrollRef",staticClass:"wiki-section__scroll"},[e("div",{staticClass:"subject-wiki-grid"},t._l(n.list,function(i){return e("div",{key:i.title,staticClass:"subject-wiki-card wiki-card flex flex-col justify-between",on:{click:function(t){return n.openItem(i)}}},[e("div",[e("div",{staticClass:"wiki-card__head box-start"},[e("i",{staticClass:"iconfont icon-jiaoxuefazhan1"}),t._v(" "),e("h3",{staticClass:"wiki-card__title"},[t._v(t._s(i.title))])]),t._v(" "),"common"===t.toolbarState.viewMode?e("div",{staticClass:"subject-wiki-markdown teaching-card__content",domProps:{innerHTML:t._s(n.renderMarkdown(n.buildRenderMarkdown(i)))}}):e("pre",{staticClass:"subject-wiki-markdown wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(i)))])])])])}),0)]),t._v(" "),e("el-dialog",{attrs:{visible:n.dialogVisible,"custom-class":"subject-wiki-markdown-dialog","append-to-body":""},on:{"update:visible":function(t){n.dialogVisible=t}}},[n.activeItem?[e("div",{staticClass:"wiki-dialog-header"},[e("div",{staticClass:"flex justify-between items-center"},[e("p",{staticClass:"wiki-dialog-title"},[t._v("\n "+t._s(n.activeItem.title)+"\n ")]),t._v(" "),e("p",{staticClass:"wiki-dialog-close box-center",on:{click:n.closeDialog}},[e("i",{staticClass:"iconfont icon-cu-cha"})])])]),t._v(" "),e("div",{staticClass:"wiki-dialog-content"},["common"===t.toolbarState.viewMode?e("div",{staticClass:"mdit teaching-dialog__content",domProps:{innerHTML:t._s(n.renderMarkdown(n.buildRenderMarkdown(n.activeItem)))}}):e("pre",{staticClass:"wiki-card__source"},[e("code",[t._v(t._s(n.buildMarkdown(n.activeItem)))])])])]:t._e()],2)],1)},[],!1,null,"758f3e04",null).exports;function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function P(t,e,n,i,a,r,o){try{var l=t[r](o),s=l.value}catch(t){n(t);return}l.done?e(s):Promise.resolve(s).then(i,a)}function $(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function o(t){P(r,i,a,o,l,"next",t)}function l(t){P(r,i,a,o,l,"throw",t)}o(void 0)})}}function A(t){return function(t){if(Array.isArray(t))return L(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 L(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 L(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 E(t,e){var n,i,a,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=2&c[0]?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(!(a=(a=r.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){r=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(6===c[0]&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t],i=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var O=(0,s.Z)({__name:"index",setup:function(t){var e=(0,a._p)("aiSubjectStore").useState,n=e(["subjectInfo","userInfo"]),o=n.subjectInfo,l=n.userInfo,s=(0,i.ref)({}),v=(0,i.ref)(null),f=(0,i.ref)(null),d=(0,i.ref)("llm"),p=(0,i.ref)(null),_=(0,i.ref)(!1),m=(0,i.ref)([{name:"æ ç¥è¯ç¹",id:"-2"}]),g=(0,i.ref)([{name:"æªåç±»",id:"-2"}]),h=(0,i.ref)({llm:{viewMode:"markdown",keyword:"",filter1:"",filter2:""},image:{viewMode:"markdown",keyword:"",filter1:"",filter2:""},interactive:{viewMode:"markdown",keyword:"",filter1:"",filter2:""},teaching:{viewMode:"markdown",keyword:"",filter1:"",filter2:""}}),y=(0,i.computed)(function(){var t,e,n,i,a;return[{key:"llm",label:"LLM Wiki",count:(null==(t=s.value)?void 0:t.total_llm_wiki_chunk)||0},{key:"image",label:"å¾æèµæº",count:(null==(e=s.value)?void 0:e.total_image_text_chunk)||0},{key:"interactive",label:"äºå¨èµæº",count:(null==(n=s.value)?void 0:n.total_interactive_resource)||0},{key:"mcp",label:"MCPå·¥å
·",count:+(null!=(i=l.value)&&!!i.user_id
1)},{key:"teaching",label:"æå¦æ¨¡å¼",count:4*(null!=(a=l.value)&&!!a.user_id)}]}),k=(0,i.computed)(function(){if(!l.value)return!1;var t=l.value,e=t.is_super_role,n=t.is_agent_member,i=t.is_aipm_role;return e||n||i}),C=function(){return $(function(){var t,e;return E(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),t=API.ai_subject_display.get_subject_wiki_overview,e={agent_id:o.value.agent_id,uv_id:o.value.university_id||0,platform_id:o.value.platform_id},[4,request.get(t,e)];case 1:return s.value=n.sent().data||{},[3,3];case 2:return console.error("getOverview",n.sent()),[3,3];case 3:return[2]}})})()},j=function(){return $(function(){var t,e,n;return E(this,function(i){switch(i.label){case 0:m.value=[{name:"æ ç¥è¯ç¹",id:"-2"}],t=API.ai_subject_display.get_subject_wiki_knowledge_points,e={agent_id:o.value.agent_id,query:""},i.label=1;case 1:return i.trys.push([1,3,,4]),[4,request.get(t,e)];case 2:return n=i.sent().data,m.value=A(m.value).concat(A(n||[])),[3,4];case 3:return console.error("getKnowledgeList",i.sent()),[3,4];case 4:return[2]}})})()},M=function(){return $(function(){var t,e,n;return E(this,function(i){switch(i.label){case 0:g.value=[{name:"æªåç±»",id:"-2"}],t=API.ai_subject_display.get_subject_wiki_category,e={system_category_from:"chunk",agent_id:o.value.agent_id},i.label=1;case 1:return i.trys.push([1,3,,4]),[4,request.get(t,e)];case 2:return n=(i.sent().data||[]).map(function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){var i;i=n[e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i})}return t}({name:t.category_name},t)}),g.value=A(g.value).concat(A(n)),[3,4];case 3:return console.error("getCategoryList",i.sent()),[3,4];case 4:return[2]}})})()},L=function(){return $(function(){return E(this,function(t){switch(t.label){case 0:return[4,j()];case 1:return t.sent(),[4,M()];case 2:return t.sent(),[2]}})})()},P=function(){v.value&&v.value.scrollTo({top:v.value.scrollHeight,behavior:"smooth"})},O=function(){P()},T=function(){if(!v.value){_.value=!1;return}var t,e=null==(t=f.value)?void 0:t.querySelector(".subject-wiki-show-screen__hero");if(!e){_.value=!1;return}_.value=v.value.scrollTop>=e.offsetHeight},Z=function(){T()},N=function(){var t,e,n;null==(t=p.value)||t.removeEventListener("scroll",O),p.value=(null==(e=f.value)?void 0:e.querySelector(".wiki-section__scroll"))||null,null==(n=p.value)||n.addEventListener("scroll",O)},V=function(){var t,e;null==(t=v.value)||t.removeEventListener("scroll",Z),null==(e=v.value)||e.addEventListener("scroll",Z)};return(0,i.watch)(function(){var t;return null==(t=o.value)?void 0:t.agent_id},function(){L(),C()},{immediate:!0}),(0,i.watch)(function(){return d.value},function(){return $(function(){return E(this,function(t){switch(t.label){case 0:return[4,(0,i.nextTick)()];case 1:return t.sent(),N(),V(),T(),[2]}})})()},{immediate:!0}),(0,i.onMounted)(function(){var t;(null==(t=l.value)?void 0:t.user_id)||(0,r.Z)({isOpen:!0})}),(0,i.onUnmounted)(function(){var t,e;null==(t=p.value)||t.removeEventListener("scroll",O),null==(e=v.value)||e.removeEventListener("scroll",Z)}),{__sfc:!0,useState:e,subjectInfo:o,userInfo:l,overview:s,subjectWikiScrollScrollRef:v,screenRef:f,activeCategory:d,sectionScrollRef:p,showCount:_,knowledgeList:m,categoryList:g,toolbarStateMap:h,summaryList:y,isPermission:k,getOverview:C,getKnowledgeList:j,getCategoryList:M,getFilterList:L,changeCategory:function(t){d.value=t,h.value[t]&&(h.value[t].keyword="",h.value[t].filter1="",h.value[t].filter2="")},scrollToBottom:P,handleSectionScroll:O,updateShowCount:T,handlePageScroll:Z,bindSectionScroll:N,bindPageScroll:V,WikiCategoryNav:c,WikiHero:u,WikiImageSection:b,WikiInteractiveSection:w,WikiLlmSection:x,WikiMcpSection:S,WikiTeachingSection:I}}},function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{ref:"subjectWikiScrollScrollRef",staticClass:"subject-wiki-scroll"},[e.isPermission?t("div",{ref:"screenRef",staticClass:"subject-wiki-show-screen",class:{"theme-light":"light"===e.subjectInfo.name_info.theme}},[t(e.WikiHero,{attrs:{"summary-list":e.summaryList}}),this._v(" "),t(e.WikiCategoryNav,{attrs:{"show-count":e.showCount,"active-category":e.activeCategory,"toolbar-state":e.toolbarStateMap[e.activeCategory],"knowledge-list":e.knowledgeList,"category-list":e.categoryList,"nav-list":e.summaryList},on:{change:e.changeCategory,"nav-click":e.scrollToBottom,"toolbar-change":function(t){return Object.assign(e.toolbarStateMap[e.activeCategory],t)}}}),this._v(" "),t("section",{staticClass:"subject-wiki-show-screen__content"},["llm"===e.activeCategory?t(e.WikiLlmSection,{attrs:{"toolbar-state":e.toolbarStateMap.llm}}):"image"===e.activeCategory?t(e.WikiImageSection,{attrs:{"toolbar-state":e.toolbarStateMap.image}}):"interactive"===e.activeCategory?t(e.WikiInteractiveSection,{attrs:{"toolbar-state":e.toolbarStateMap.interactive}}):"mcp"===e.activeCategory?t(e.WikiMcpSection,{on:{"go-interactive":function(t){return e.changeCategory("interactive")}}}):"teaching"===e.activeCategory?t(e.WikiTeachingSection,{attrs:{"toolbar-state":e.toolbarStateMap.teaching}}):this._e()],1)],1):t("div",[this._m(0)])])},[function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"no-permission flex flex-col items-center"},[t("img",{attrs:{src:"https://qn-sfe.yuketang.cn/o_1hate1uva1ib617g91u3d1h2t1l669.png",alt:""}}),this._v("\n ææ æ¥çæé\n ")])}],!1,null,"1b4df194",null).exports},92511:function(t,e,n){n.d(e,{Z:function(){return r}}),n(35350);var i=n(18108),a={__name:"empty",props:{text:{type:String,default:i18n.t("DecisionCenter.NoResults")},imgType:{type:Number,default:1},textList:{type:Array,default:function(){return[]}}},setup:function(t){return{__sfc:!0,props:t,imgObj:(0,i.ref)({1:"https://qn-c27.xuetangx.com/17211102761989.png",2:"https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/empty-20250425.png"})}}},r=(0,n(81049).Z)(a,function(){var t=this,e=t._self._c;return e("div",{staticClass:"empty-wrapper"},[e("img",{attrs:{src:t._self._setupProxy.imgObj[t.imgType],alt:""}}),t._v(" "),t.textList.length?e("div",[e("p",{staticClass:"bold f16 no-data-tips"},[t._v(t._s(t.$t("DecisionCenter.NoDataTips")))]),t._v(" "),e("div",{staticClass:"tips-box text-gray-015"},t._l(t.textList,function(n,i){return e("p",{key:i},[e("span",[t._v(t._s(i+1)+".")]),t._v(t._s(n)+"\n ")])}),0)]):e("p",{staticClass:"text"},[t._v(t._s(t.text))])])},[],!1,null,"a498979a",null).exports},40859:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(18108),a={__name:"label-input",props:{inputValue:"",label:{type:String,default:i18n.t("DecisionCenter.Search")},placeholder:{type:String,default:i18n.t("DecisionCenter.SearchQuestioner")},width:{type:String,default:"30%"}},emits:["change"],setup:function(t,e){var n=e.emit,a=(0,i.ref)(""),r=(0,i.ref)(null);return(0,i.watch)(function(){return t.inputValue},function(t){a.value=t}),{__sfc:!0,props:t,inputValueData:a,inputRef:r,emits:n,changeFun:function(){n("change",a.value)},clear:function(){a.value=""}}}},r=(0,n(81049).Z)(a,function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"label-select-wrapper label-select-wrapper-new",style:{width:this.width}},[t("i",{staticClass:"iconfont icon-sousuo"}),this._v(" "),t("div",{staticClass:"select-input-wrapper"},[t("el-input",{ref:"inputRef",attrs:{clearable:"",placeholder:this.placeholder},on:{clear:e.clear,change:e.changeFun},model:{value:e.inputValueData,callback:function(t){e.inputValueData=t},expression:"inputValueData"}})],1)])}
1,[],!1,null,"6e46ccba",null).exports},21373:function(t,e,n){n.d(e,{Z:function(){return r}}),n(35350);var i=n(18108),a={__name:"loading-more",props:{list_length:{type:Number,default:0},loading_more:{type:Boolean,default:!0},more:{type:Boolean,default:!0},loading_more_text:{type:String,default:i18n.t("DecisionCenter.LoadingMore")+"..."},not_more_text:{type:String,default:"ââ "+i18n.t("DecisionCenter.NoMore")+" ââ"}},setup:function(t){var e=(0,i.computed)(function(){return t.list_length&&!t.loading_more&&!t.more});return{__sfc:!0,props:t,noMore:e}}},r=(0,n(81049).Z)(a,function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"loading-more-box",class:{"no-more":e.noMore,"loading-more":this.loading_more}},[this.loading_more?[t("span",{staticClass:"text"},[this._v(this._s(this.loading_more_text))])]:this._e(),this._v(" "),e.noMore?[t("span",{staticClass:"text"},[this._v(this._s(this.not_more_text))])]:this._e()],2)},[],!1,null,"fc4e9970",null).exports},51808:function(t,e,n){n.d(e,{Z:function(){return i}});var i=(0,n(81049).Z)({},function(){var t=this._self._c;return t("div",{staticClass:"loading-wrapper"},[t("img",{attrs:{src:"https://qn-c27.xuetangx.com/17211095503089.png",alt:""}}),this._v(" "),t("p",{staticClass:"loading-text"},[this._v(this._s(this.$t("DecisionCenter.NowLoading"))+"...")])])},[],!1,null,"b85b0f70",null).exports},64101:function(t,e,n){n.d(e,{ol:function(){return _},eJ:function(){return f},Z7:function(){return p},Ab:function(){return d}});var i=n(18108);function a(t,e,n,i){return 3===t.length?t(e,n,i):t(e,n?`${n}/${i}`:i)}function r(t,e){return(0,i.computed)(()=>t.getters[e])}function o(t,e){return function(){return t.commit.apply(t,[e,...arguments])}}function l(t,e){return function(){return t.dispatch.apply(t,[e,...arguments])}}function s(t,e,n,i){if(!n)return{};if(n instanceof Array)return n.reduce((n,r)=>(n[r]=a(i,t,e,r),n),{});let r={};for(let o in n)n.hasOwnProperty(o)&&(r[o]=a(i,t,e,n[o]));return r}function c(){let t=(0,i.getCurrentInstance)();if(!t)throw Error('You must use this function within the "setup()" method, or insert the store as first argument.');let{$store:e}="proxy"in t?t.proxy:t;return e}function u(t,e){return(0,i.computed)(()=>t.state[e])}function v(t,e,n){let a=e.split("/").reduce((t,e)=>t[e],t.state);return(0,i.computed)(()=>a[n])}function f(t,e,n){let i,a,r;return arguments.length>=3?(i=t||c(),a=e||null,r=n||null):2==arguments.length?("string"==typeof t?(i=c(),a=t||null):(i=t||c(),a=null),r=e||null):(i=c(),a=null,r=t||null),s(i,a,r,a?v:u)}function d(t,e,n){let i,a,o;return arguments.length>=3?(i=t||c(),a=e||null,o=n||null):2==arguments.length?("string"==typeof t?(i=c(),a=t||null):(i=t||c(),a=null),o=e||null):(i=c(),a=null,o=t||null),s(i,a,o,r)}function p(t,e,n){let i,a,r;return arguments.length>=3?(i=t||c(),a=e||null,r=n||null):2==arguments.length?("string"==typeof t?(i=c(),a=t||null):(i=t||c(),a=null),r=e||null):(i=c(),a=null,r=t||null),s(i,a,r,o)}function _(t,e,n){let i,a,r;return arguments.length>=3?(i=t||c(),a=e||null,r=n||null):2==arguments.length?("string"==typeof t?(i=c(),a=t||null):(i=t||c(),a=null),r=e||null):(i=c(),a=null,r=t||null),s(i,a,r,l)}},12884:function(t,e,n){n.d(e,{_p:function(){return a}});var i=n(64101);function a(t,e){let n;if(1==arguments.length)e=t;else if(n=t,!e)throw Error("Namespace is missing to provide namespaced helpers");return{useState:t=>(0,i.eJ)(n,e,t),useGetters:t=>(0,i.Ab)(n,e,t),useMutations:t=>(0,i.Z7)(n,e,t),useActions:t=>(0,i.ol)(n,e,t)}}},47827:function(t,e,n){n.d(e,{Z:function(){return a}});var i=n(71778);function a(t){var e=(0,i.S4)()?"yth_login_dialog":"ykt_login_dialog";window.dispatchEvent(new CustomEvent(e,{detail:t}))}},48493:function(t,e,n){n.d(e,{w:function(){return u}}),n(63649),n(44959),n(92287),n(87481),n(42682),n(13794);var i=n(5789),a=n.n(i),r=n(52271),o=n(3055),l=n(96774);function s(t,e){return'<pre class="code-block-wrapper">'+'<code class="hljs code-block-body '.concat(e,'">').concat(t,"</code>")+"</pre>"}var c=new o.Z({html:!0,highlight:function(t,e){if(e&&r.Z.getLanguage(e)){var n=null!=e?e:"";return s(r.Z.highlight(t,{language:n}).value,n)}return s(r.Z.highlightAuto(t).value,"")}});c.use(a(),{blockClass:"katexmath-block rounded-md p10",errorColor:" #cc0000",delimiters:[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\(",right:"\\)",display:!1}],throwOnError:!0}),c.renderer.rules.html_block=function(t,e,n,i,a){var r=t[e].content.trim(),o=RegExp("<span\\s+class=[\"']math\\s+display[\"']>(.*?)<\\/span>","gs");return r.replace(o,function(t,e){return c.render(e)})};var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null===t?"":c.render((0,l.MB)(t))}},96774:function(t,e,n){n.d(e,{MB:function(){return r},bm:function(){return a},e5:function(){return o},zz:function(){return i}}),n(32927),n(35130),n(13794),n(87481),n(92287),n(42682),n(63649);var i=["mp4","wmv","m4v","flv","rmvb","mov","mkv","webm","avo","mpeg","3gp","mp3","wav","m4a","wma","aac","ogg","amr","flac","aiff","leaf_video","leaf_audio","avi"];function a(t){return i.includes(t)||"leaf_live"==t}function r(t){var e=RegExp("\\$\\\\\\[\\s*(.*?)\\s*\\\\\\]\\$","gs");return t&&(t=(t=(t=(t=(t=(t=(t=t.replace(/\\begin\{(equation|align|alignat|gather|CD)\}([\s\S]*?)\\end\{\1\}/g,"\n\n$$$$$2$$$$\n\n")).replace(e,"\n\n$$$$$1$$$$\n\n")).replace(/\\\(\s*(.*?)\s*\\\)/g,"$$$1$$")).replace(/\$\s*(.*?)\s*\$/g,"$$$1$$")).replace(/\mspace/g," ")).replace(/\*\*(.*)\*\*/g,"**$1** ")).replace(/(\$\$)(.+?)(\$\$)|(\$)(.+?)(\$)/g,function(t,e,n,i,a,r,o){return e&&i?"".concat(e).concat(n).concat(i):a&&o?"".concat(a).concat(r).concat(o," "):t})),t}var o=["jpg","jpeg","png","bmp","tif","gif"]}}]);
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.