1"use strict";(self.webpackChunkrainweb=self.webpackChunkrainweb||[]).push([["22202"],{56388:function(t,n,e){e.r(n),e.d(n,{default:function(){return a}}),e(52042),e(32927),e(35130),e(63649),e(13794),e(87481);var r=e(18108),u=e(31242),l=e(64101);function o(t,n,e,r,u,l,o){try{var a=t[l](o),i=a.value}catch(t){e(t);return}a.done?n(i):Promise.resolve(i).then(r,u)}var a=(0,e(81049).Z)({__name:"entry-iframe",setup:function(t){var n=(0,u.tv)(),e=(0,u.yj)(),a=(0,l.eJ)(["hasAICourseId"]).hasAICourseId,i=e.fullPath.slice(13),c=(0,r.ref)("");function s(){var t;return(t=function(){var t,n,e,r,u,l,o,s;return function(t,n){var e,r,u,l={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(i){var c=[a,i];if(e)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(l=0)),l;)try{if(e=1,r&&(u=2&c[0]?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[2&c[0],u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,r=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(!(u=(u=l.trys).length>0&&u[u.length-1])&&(6===c[0]||2===c[0])){l=0;continue}if(3===c[0]&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(6===c[0]&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=n.call(t,l)}catch(t){c=[6,t],r=0}finally{e=u=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(f){switch(f.label){case 0:if(t=-1!==a.value?a.value:"",i.includes("/"))return[3,2];return[4,request.get("/c27/online_courseware/ykt/agent/")];case 1:l=void 0===(u=(r=f.sent().data).results)?[]:u,t=(null==(n=(void 0===(o=r.recently_list)?[]:o)[0])?void 0:n.id)||(null==(e=l[0])?void 0:e.id),f.label=2;case 2:return s=i.includes("/")?i:"/".concat(t),c.value="/ai-workspace".concat(s),[2]}})},function(){var n=this,e=arguments;return new Promise(function(r,u){var l=t.apply(n,e);function a(t){o(l,r,u,a,i,"next",t)}function i(t){o(l,r,u,a,i,"throw",t)}a(void 0)})})()}function f(t){var r=t.data,u=t.origin;if(r&&"ai-workspace"===r.source&&u===location.origin){if(r.path===e.fullPath.slice(13))return;n.replace({path:"/ai-workspace".concat(r.path)}).catch(function(){})}}return(0,r.watch)(function(){return e.fullPath},function(t){("/ai-workspace"===t||"/ai-workspace/"===t||"/ai-workspace/ai-edu-center/"===t||"/ai-workspace/subject-co-build/"===t)&&location.reload()}),(0,r.onMounted)(function(){s(),window.addEventListener("message",f)}),(0,r.onBeforeUnmount)(function(){window.removeEventListener("message",f)}),{__sfc:!0,router:n,route:e,hasAICourseId:a,pathStartIdx:13,segment:i,iframeURL:c,iframeInit:s,handleIFrameRouteChange:f}}},function(){var t=this._self._c,n=this._self._setupProxy;return t("div",{staticStyle:{height:"100%"}},[t("div",{staticClass:"mask-cover",attrs:{id:"ai-workspace-global-mask"}}),this._v(" "),t("iframe",{staticClass:"ai-workspace-spa",attrs:{id:"ai-workspace-spa",src:n.iframeURL}})])},[],!1,null,"a1d5c01e",null).exports},64101:function(t,n,e){e.d(n,{ol:function(){return v},eJ:function(){return p},Z7:function(){return d},Ab:function(){return h}});var r=e(18108);function u(t,n,e,r){return 3===t.length?t(n,e,r):t(n,e?`${e}/${r}`:r)}function l(t,n){return(0,r.computed)(()=>t.getters[n])}function o(t,n){return function(){return t.commit.apply(t,[n,...arguments])}}function a(t,n){return function(){return t.dispatch.apply(t,[n,...arguments])}}function i(t,n,e,r){if(!e)return{};if(e instanceof Array)return e.reduce((e,l)=>(e[l]=u(r,t,n,l),e),{});let l={};for(let o in e)e.hasOwnProperty(o)&&(l[o]=u(r,t,n,e[o]));return l}function c(){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:n}="proxy"in t?t.proxy:t;return n}function s(t,n){return(0,r.computed)(()=>t.state[n])}function f(t,n,e){let u=n.split("/").reduce((t,n)=>t[n],t.state);return(0,r.computed)(()=>u[e])}function p(t,n,e){let r,u,l;return arguments.length>=3?(r=t||c(),u=n||null,l=e||null):2==arguments.length?("string"==typeof t?(r=c(),u=t||null):(r=t||c(),u=null),l=n||null):(r=c(),u=null,l=t||null),i(r,u,l,u?f:s)}function h(t,n,e){let r,u,o;return arguments.length>=3?(r=t||c(),u=n||null,o=e||null):2==arguments.length?("string"==typeof t?(r=c(),u=t||null):(r=t||c(),u=null),o=n||null):(r=c(),u=null,o=t||null),i(r,u,o,l)}function d(t,n,e){let r,u,l;return arguments.length>=3?(r=t||c(),u=n||null,l=e||null):2==arguments.length?("string"==typeof t?(r=c(),u=t||null):(r=t||c(),u=null),l=n||null):(r=c(),u=null,l=t||null),i(r,u,l,o)}function v(t,n,e){let r,u,l;return arguments.length>=3?(r=t||c(),u=n||null,l=e||null):2==arguments.length?("string"==typeof t?(r=c(),u=t||null):(r=t||c(),u=null),l=n||null):(r=c(),u=null,l=t||null),i(r,u,l,a)}}}]);
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.