PageSourceSearch

https://fe-static-yuketang.yuketang.cn/fe/static/web/1.2.315/js/14958.a6afd46a.js

js yuketang.cn collected 2026-09-28 09:24:56 UTC 18,570 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkrainweb=self.webpackChunkrainweb||[]).push([["14958"],{60343:function(t,e,n){n.r(e),n.d(e,{default:function(){return c}}),n(35350),n(63649),n(82997),n(42463);var r=n(18108),o=n(12884),i=n(80698),a=n(78156);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var c=(0,n(81049).Z)({__name:"detail",props:{curGraphId:{type:[String,Number],default:""},simple:{type:Boolean,default:!1}},emits:["canvasClick"],setup:function(t,e){var n=e.emit,c=(0,o._p)("aiResultStore").useState,s=c(["theme","mode","isyth"]),u=s.theme,f=s.mode,p=s.isyth,m=(0,i.V)().route,d=(0,r.ref)(!0),h={"--graph-question-card-bg-0":"rgba(182, 177, 255, 0.15)","--graph-question-card-bg-1":"rgba(148, 191, 255, 0.15)","--graph-question-card-bg-2":"rgba(133, 236, 240, 0.15)","--graph-question-card-bg-3":"rgba(118, 219, 152, 0.15)","--graph-question-card-bg-4":"rgba(121, 209, 244, 0.15)","--graph-question-card-text-1":"rgba(73, 90, 127, 1)","--graph-question-card-text-2":"rgba(83, 99, 132, 1)"},g=function(){return{0:{fill:"l(290) 0.0614:".concat(v("--match-5-0")," 0.9854:").concat(v("--match-5-3")),lineStroke:"".concat(v("--match-3-3-30"))},1:{fill:"l(290) 0.0614:".concat(v("--match-1-0")," 0.9854:").concat(v("--match-1-2")),lineStroke:"".concat(v("--match-1-2-30"))},2:{fill:"l(290) 0.0614:".concat(v("--match-3-0")," 0.9854:").concat(v("--match-3-3")),lineStroke:"".concat(v("--match-3-3-30"))},3:{fill:"l(290) 0.0614:".concat(v("--match-5-0")," 0.9854:").concat(v("--match-5-3")),lineStroke:"".concat(v("--match-3-3-30"))},4:{fill:"l(290) 0.0614:".concat(v("--match-1-0")," 0.9854:").concat(v("--match-1-2")),lineStroke:"".concat(v("--match-1-2-30"))}}};function v(t){return getComputedStyle(document.querySelector("#ai-result-display-theme")).getPropertyValue(t)}var y=function(){var t={theme:u.value,noTitle:!0,emptyImage:"https://fe-static-yuketang.yuketang.cn/fe/static/assets/rainweb/ai-result-display/images/".concat(u.value,"/graph/graph-empty-image.png"),commonStyle:g(u.value)};return Object.entries(h).forEach(function(e){var n=function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n,r,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(t);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==e);a=!0);}catch(t){l=!0,r=t}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,2)||function(t,e){if(t){if("string"==typeof t)return l(t,2);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)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];t[r]=v(r)||o}),t},b=(0,r.ref)(y());return(0,r.onMounted)(function(){d.value=!1}),{__sfc:!0,useState:c,theme:u,mode:f,isyth:p,route:m,loading:d,props:t,emits:n,themeColorDefault:h,getThemeColorMap:g,getVariableFromCSS:v,getThemeData:y,themeColorOptions:b,gotoEdit:function(){p.value?window.open("/pro/pro-ai-workspace/".concat(m.params.agent_id,"/ai-course-model/quality-graph/").concat(m.params.id,"?from=display")):window.open("/v2/web/ai-workspace/".concat(m.params.agent_id,"/ai-course-model/quality-graph/").concat(m.params.id,"?from=display"))},canvasClick:function(){console.log("canvasClick:问题图谱"),n("canvasClick")},qualityGraph:a.default}}},function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"ai-result-display-quality-model-detail",class:{"is-edit":2===e.mode}},[e.loading?this._e():t(e.qualityGraph,{attrs:{"is-preview-mode":!0,"is-ai-result-display":!0,"theme-color-options":e.themeColorOptions,"cur-graph-id":this.curGraphId,simple:this.simple},on:{canvasClick:e.canvasClick}}),this._v(" "),2!==e.mode||this.simple?this._e():t("div",{staticClass:"edit-btn cursor-pointer",on:{click:e.gotoEdit}},[t("div",{staticClass:"edit-btn-inner"}
1,[t("i",{staticClass:"iconfont icon-bianji-bi cursor-pointer ml5"}),this._v(this._s(this.$t("AiResultDisplay.AiApplicationCardEdit"))+"\n    ")])])],1)},[],!1,null,"cb156f92",null).exports},84408:function(t,e,n){n.d(e,{Z:function(){return o}}),n(80287);var r=n(42798),o=(0,n(81049).Z)({data:function(){return{status:0,file:{},is_show_file:!1}},props:["templateConfig"],filters:{formatSize:function(t){function e(t,e){return Math.round(t*Math.pow(10,e))/Math.pow(10,e)}var n=0x10000000000;return t>0x10000000000?e(t/n,1)+" TB":t>(n/=1024)?e(t/n,1)+" GB":t>(n/=1024)?e(t/n,1)+" MB":t>1024?Math.round(t/1024)+" KB":t+" B"}},watch:{"templateConfig.visible":function(t){var e=this;t?((0,r.rJ)(),this.is_show_file=!1,this.file={},this.status=0,this.templateConfig.isSaving=!1,this.$nextTick(function(){e.$refs.upload.clearFiles()})):(0,r.hE)()}},methods:{changeUpload:function(t,e){return this.is_show_file=!0,this.file=t,!0},delFile:function(){this.is_show_file=!1,this.file={},this.$refs.upload.clearFiles()},batchImport:function(t){this.templateConfig.isSaving||this.$emit("importFinish",t.file)},submitUpload:function(){this.$refs.upload.submit()},cancel:function(){this.templateConfig.visible=!1,this.$emit("cancel")},handleDownload:function(){this.$emit("beforeDownload");var t=document.createElement("a");t.href=this.templateConfig.template_url,t.click(),this.$emit("afterDownload")}},mounted:function(){}},function(){var t=this,e=t._self._c;return e("el-dialog",{staticClass:"import-excel-dialog",attrs:{title:"",visible:t.templateConfig.visible,width:"410px"},on:{"update:visible":function(e){return t.$set(t.templateConfig,"visible",e)}}},[e("span",{attrs:{slot:"title"},slot:"title"},[e("span",{staticClass:"f18 color3"},[t._v(t._s(t.templateConfig.title))]),t._v(" "),t.templateConfig.title_tip?e("span",{staticClass:"f12 color-9b"},[t._v(t._s(t.templateConfig.title_tip))]):t._e()]),t._v(" "),e("span",[e("div",{staticClass:"cover"},[e("el-upload",{directives:[{name:"show",rawName:"v-show",value:!t.is_show_file,expression:"!is_show_file"}],ref:"upload",staticClass:"import",attrs:{action:t.templateConfig.upload_url,accept:".xlsx, .xls","show-file-list":!1,"on-change":t.changeUpload,"http-request":t.batchImport,"auto-upload":!1}},[e("div",{attrs:{slot:"trigger"},slot:"trigger"},[e("img",{staticClass:"notHoverStyle",attrs:{src:"https://qn-sfe.yuketang.cn/o_1hv69ffg715qv1jlo1en0h9i1rb7e.png"}}),t._v(" "),e("img",{staticClass:"hoverStyle",attrs:{src:"https://qn-sfe.yuketang.cn/o_1hv69c9l31ojdscg1cbrc631ts99.png"}}),t._v(" "),e("div",{staticClass:"f16 color-9b mt5"},[t._v("上传excel表格")]),t._v(" "),e("div",{staticClass:"f12 color-9b mt10"},[t._v("\n            "+t._s(t.templateConfig.template_tip)+"\n          ")])])]),t._v(" "),t.is_show_file?e("div",{staticClass:"show-file"},[e("i",{staticClass:"icon-xls iconfont xls-et"}),t._v(" "),e("div",{staticClass:"name f16 color6 mt10"},[e("span",{staticClass:"name-text ellipsis"},[t._v(t._s(t.file.name))]),t._v(" "),e("span",{staticClass:"del-text f14 pointer ml10",on:{click:t.delFile}},[t._v("删除")])])]):t._e()],1),t._v(" "),t._t("bottom"),t._v(" "),e("div",{staticClass:"template mt20"},[e("span",{staticClass:"f14 color3"},[t._v(t._s(t.templateConfig.template_name))]),e("a",{staticClass:"download fr f12 pointer",on:{click:t.handleDownload}},[t._v("下载")])])],2),t._v(" "),e("span",{staticClass:"dialog-footer common-buttons",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"btn-default",on:{click:t.cancel}},[t._v("取消")]),t._v(" "),e("el-button",{staticClass:"btn-primary",attrs:{disabled:!t.is_show_file,loading:t.templateConfig.isSaving},on:{click:t.submitUpload}},[t._v("确定")])],1)])},[],!1,null,"792603c2",null).exports},64101:function(t,e,n){n.d(e,{ol:function(){return h},eJ:function(){return p},Z7:function(){return d},Ab:function(){return m}});var r=n(18108);function o(t,e,n,r){return 3===t.length?t(e,n,r):t(e,n?`${n}/${r}`:r)}function i(t,e){return(0,r.computed)(()=>t.getters[e])}function a(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 c(t,e,n,r){if(!n)return{};if(n instanceof Array)return n.reduce((n,i)=>(n[i]=o(r,t,e,i),n),{});let i={};for(let a in n)n.hasOwnProperty(a)&&(i[a]=o(r,t,e,n[a]));return i}function s(){let t=(0,r.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,r.computed)(()=>t.state[e])}function f(t,e,n){let o=e.split("/").reduce((t,e)=>t[e],t.state);return(0,r.computed)(()=>o[n])}function p(t,e,n){let r,o,i;return arguments.length>=3?(r=t||s(),o=e||null,i=n||null):2==arguments.length?("string"==typeof t?(r=s(),o=t||null):(r=t||s(),o=null),i=e||null):(r=s(),o=null,i=t||null),c(r,o,i,o?f:u)}function m(t,e,n){let r,o,a;return arguments.length>=3?(r=t||s(),o=e||null,a=n||null):2==arguments.length?("string"==typeof t?(r=s(),o=t||null):(r=t||s(),o=null),a=e||null):(r=s(),o=null,a=t||null),c(r,o,a,i)}function d(t,e,n){let r,o,i;return arguments.length>=3?(r=t||s(),o=e||null,i=n||null):2==arguments.length?("string"==typeof t?(r=s(),o=t||null):(r=t||s(),o=null),i=e||null):(r=s(),o=null,i=t||null),c(r,o,i,a)}function h(t,e,n){let r,o,i;return arguments.length>=3?(r=t||s(),o=e||null,i=n||null):2==arguments.length?("string"==typeof t?(r=s(),o=t||null):(r=t||s(),o=null),i=e||null):(r=s(),o=null,i=t||null),c(r,o,i,l)}},12884:function(t,e,n){n.d(e,{_p:function(){return o}});var r=n(64101);function o(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,r.eJ)(n,e,t),useGetters:t=>(0,r.Ab)(n,e,t),useMutations:t=>(0,r.Z7)(n,e,t),useActions:t=>(0,r.ol)(n,e,t)}}},80698:function(t,e,n){n.d(e,{V:function(){return l}}),n(80287),n(13794),n(87481);var r=n(31242),o=n(18108);function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}function a(t,e){if(!e)return null;
1var n,r,o="string"==typeof e?{name:e}:e;return o.name||o.path?(n=i({},o),r=r={params:i({},t.params,o.params),query:i({},t.query,o.query)},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n.push.apply(n,r)}return n})(Object(r)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))}),n):null}function l(){var t=(0,r.yj)(),e=(0,r.tv)();return{query:t.query,params:t.params,dynamicParams:(0,o.computed)(function(){return t.params}),router:e,route:t,go:function(t){return e.push(t)},goByReplace:function(t){return e.replace(t)},back:function(){if(window.history.length>1)return void e.back();var n=function(t,e){var n,r=a(t,null==(n=t.meta)?void 0:n.backFallback);if(r)return r;for(var o=t.matched||[],i=o.length-2;i>=0;i-=1){var l=o[i];if(null==l?void 0:l.name){var c=a(t,l.name),s=e.resolve(c).route;if(s.name!==t.name||s.fullPath!==t.fullPath)return c}}return null}(t,e);if(n)return e.replace(n);e.back()},reload:function(t){e.replace(t),(0,o.nextTick)(function(){window.location.reload()})}}}},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 r=n(5789),o=n.n(r),i=n(52271),a=n(3055),l=n(96774);function c(t,e){return'<pre class="code-block-wrapper">'+'<code class="hljs code-block-body '.concat(e,'">').concat(t,"</code>")+"</pre>"}var s=new a.Z({html:!0,highlight:function(t,e){if(e&&i.Z.getLanguage(e)){var n=null!=e?e:"";return c(i.Z.highlight(t,{language:n}).value,n)}return c(i.Z.highlightAuto(t).value,"")}});s.use(o(),{blockClass:"katexmath-block rounded-md p10",errorColor:" #cc0000",delimiters:[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\(",right:"\\)",display:!1}],throwOnError:!0}),s.renderer.rules.html_block=function(t,e,n,r,o){var i=t[e].content.trim(),a=RegExp("<span\\s+class=[\"']math\\s+display[\"']>(.*?)<\\/span>","gs");return i.replace(a,function(t,e){return s.render(e)})};var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null===t?"":s.render((0,l.MB)(t))}},96774:function(t,e,n){n.d(e,{MB:function(){return i},bm:function(){return o},e5:function(){return a},zz:function(){return r}}),n(32927),n(35130),n(13794),n(87481),n(92287),n(42682),n(63649);var r=["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 o(t){return r.includes(t)||"leaf_live"==t}function i(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,r,o,i,a){return e&&r?"".concat(e).concat(n).concat(r):o&&a?"".concat(o).concat(i).concat(a," "):t})),t}var a=["jpg","jpeg","png","bmp","tif","gif"]},42798:function(t,e,n){function r(){if(window.self!==window.top)try{var t=window.parent.document.querySelector("#ai-workspace-global-mask");t&&(t.style.display="block",window.parent.document.querySelector("#ai-workspace-spa").style.zIndex="9999")}catch(t){return console.log(t),!1}}function o(){if(window.self!==window.top)try{var t=window.parent.document.querySelector("#ai-workspace-global-mask");t&&(t.style.display="none",window.parent.document.querySelector("#ai-workspace-spa").style.zIndex="9")}catch(t){return console.log(t),!1}}n.d(e,{hE:function(){return o},rJ:function(){return r}})},35104:function(t,e,n){n.d(e,{BU:function(){return p},NQ:function(){return s},UI:function(){return f},Uv:function(){return a},We:function(){return l},a7:function(){return c},qy:function(){return i},rj:function(){return u}}),n(86067),n(42463),n(52042),n(87481),n(32927),n(35130),n(63649);var r=n(229),o=n.n(r);function i(t,e){return new Promise(function(n,r){var o=API.knowledge_graph.get_draft_leaf_by_release_id;request.get(o,{release_id:t,leaf_id:e}).then(function(t){t.success&&n(t.data.draft.leaf_id)}).catch(function(t){r(t)})})}function a(t){return new Promise(function(e,n){var r=document.createElement("video");r.crossOrigin="anonymous",r.src=t,r.width=352,r.height=198,r.preload=!0,r.currentTime=1,r.addEventListener("loadeddata",function(){var t=document.createElement("canvas"),n=r.width,o=r.height;t.width=n,t.height=o,t.getContext("2d").drawImage(r,0,0,n,o),e(t.toDataURL("image/jpeg"))}),r.addEventListener("error",function(){e("")})})}function l(t){var e=["零","一","二","三","四","五","六","七","八","九"],n=["","十","百","千","万","亿"];if(0===t)return e[0];for(var r="",o=0;t>0;){var i=t%10;0!==i?r=e[i]+n[o]+r:r&&r[0]!==e[0]&&(r=e[i]+r),t=Math.floor(t/10),o++}return r.length>=2&&"一"===r[0]&&"十"===r[1]&&(r=r.slice(1)),r}function c(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if("string"==typeof(t=""+t)&&("#"==t.charAt(0)&&(t=t.substring(1)),3==t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),/^[0-9a-fA-F]{6}$/.test(t)))return e=parseInt(t.substr(0,2),16),"rgb("+e+","+parseInt(t.substr(2,2),16)+","+parseInt(t.substr(4,2),16)+","+n+")"}function s(t){return["pdf","doc","docx","wps","xls","xlsx","csv","ppt","pptx","txt","rtf","mp4","wmv","mov","mp3","wav","jpg","jpeg","png","bmp","tif","gif"].includes(t)?"#icon--".concat(t):"#icon-20-qita"}function u(t){return["pdf","doc","docx","wps","xls","xlsx","csv","ppt","pptx","jsonl","txt","rtf","mp4","wmv","m4v","flv","rmvb","mov","mkv","webm","avo","mpeg","3gp","mp3","wav","m4a","wma","aac","ogg","amr","flac","aiff","jpg","jpeg","png","bmp","tif","gif","md"].includes(t)?"#icon-".concat("3gp"==t?"a-3gp":t):"#icon-tongyonggeshi"}function f(t){return new Promise(function(e,n){var r=function(){var e=c*a,n=e+a>=t.size?t.size:e+a;u.readAsArrayBuffer(i.call(t,e,n))},i=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,a=2097152,l=Math.ceil(t.size/a),c=0,s=new(o()).ArrayBuffer,u=ne
1w FileReader;u.onload=function(t){s.append(t.target.result),++c<l?r():e(s.end())},u.onerror=function(){n(Error("oops, something went wrong."))},r()})}function p(t){function e(t,e){return Math.round(t*Math.pow(10,e))/Math.pow(10,e)}var n=0x10000000000;return t>0x10000000000?e(t/n,1)+" TB":t>(n/=1024)?e(t/n,1)+" GB":t>(n/=1024)?e(t/n,1)+" MB":t>1024?Math.round(t/1024)+" KB":t+" B"}},92085:function(t,e,n){var r=n(24961),o=n(8984),i=n(14716),a=n(33864),l=n(3481),c=function(t,e,n,s,u,f,p,m){for(var d,h,g=u,v=0,y=!!p&&a(p,m);v<s;)v in n&&(d=y?y(n[v],v,e):n[v],f>0&&r(d)?(h=o(d),g=c(t,e,d,h,g,f-1)-1):(i(g+1),l(t,g,d)),g++),v++;return g};t.exports=c},4008:function(t,e,n){var r=n(39409),o=n(32539),i=n(11788);r({target:"Array",proto:!0},{fill:o}),i("fill")},76556:function(t,e,n){var r=n(39409),o=n(22826).find,i=n(11788),a="find",l=!0;a in[]&&[,][a](function(){l=!1}),r({target:"Array",proto:!0,forced:l},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},57952:function(t,e,n){var r=n(39409),o=n(96037),i=n(56830),a=n(55504),l=n(52376),c=n(34387),s=n(58275),u=n(90160),f=n(40263),p=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=s(this,l("Promise")),n=c(t);return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}}),!o&&c(i)){var m=l("Promise").prototype.finally;p.finally!==m&&f(p,"finally",m,{unsafe:!0})}},43896:function(t,e,n){n.d(e,{Z:function(){return r}});function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}}}]);

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.