!function(){function t(e){return t="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(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(z){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),c=new E(n||[]);return i(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(z){return{type:"throw",arg:z}}}r.wrap=f;var h={};function d(){}function g(){}function v(){}var y={};s(y,c,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(O([])));w&&w!==n&&o.call(w,c)&&(y=w);var b=v.prototype=d.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(e,r){function n(i,a,c,u){var l=p(e[i],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function k(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=N(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function N(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(l){return void r(l)}c.done?e(u):Promise.resolve(u).then(n,o)}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e750,g()}),500),window.addEventListener("resize",v)}));var v=function(){g()};l((function(){window.removeEventListener("resize",v)}));var y=function(){r.step>=3?m():(r.step=r.step+1,g())},m=function(){var t=JSON.parse(localStorage.getItem("guideInfo")||"{}");t?t.woring=!0:t={woring:!0},localStorage.setItem("guideInfo",JSON.stringify(t)),n.value=!1};return function(){return s(f,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",N.guidePopup],show:n.value,"onUpdate:show":function(t){return n.value=t}},{default:function(){return[s("div",{class:N.content,onClick:function(){return y()}},[r.step!=r.steps.length-1&&s("div",{class:N.backBtn,onClick:function(t){t.stopPropagation(),m()}},[p("跳过")]),s("div",{class:N.box,style:o(o({},r.box),r.steps[r.step].boxStyle),id:"modeType-".concat(r.step)},[r.steps.map((function(t,e){var n,o,i,a;return s("div",{onClick:function(t){return t.stopPropagation()},class:N.item,style:"bottom"==t.type?{display:e===r.step?"":"none",left:"".concat(null===(n=t.eleRect)||void 0===n?void 0:n.left,"px"),top:"".concat(null===(o=r.box)||void 0===o?void 0:o.height)}:{display:e===r.step?"":"none",left:"".concat(null===(i=t.eleRect)||void 0===i?void 0:i.left,"px"),top:"".concat(null===(a=t.eleRect)||void 0===a?void 0:a.top,"px")}},[s("img",{class:N.img,style:t.imgStyle,src:t.img},null),s("img",{class:N.iconHead,style:t.handStyle,src:k("indexDot.png")},null),s("div",{class:N.btns,style:t.btnsStyle},[r.step+1==r.steps.length?s(h,null,[s(d,{class:N.btn,round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:function(){r.step=0,g()}},{default:function(){return[p("再看一遍")]}}),s(d,{class:[N.btn,N.endBtn],round:!0,type:"primary",onClick:function(){return m()}},{default:function(){return[p("完成")]}})]):s(d,{class:N.btn,round:!0,type:"primary",onClick:function(){return y()}},{default:function(){return[p("下一步 ("),r.step+1,p("/"),r.steps.length,p(")")]}})])])}))])])]}})}}});t("default",i({name:"wroing-book",setup:function(){var t=g(),n=function(){var n,o=(n=e().mark((function r(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.post("/edu-app/studentUnitExamination/errorEdition",{hideLoading:!1,data:{page:1,rows:50}});case 3:n=e.sent,(n.data||{}).total>0?t.push({path:"/error-question-mode"}):setTimeout((function(){x("暂无错题")}),100),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),r,null,[[0,9]])})),function(){var t=this,e=arguments;return new Promise((function(o,i){var a=n.apply(t,e);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();return function(){return s("div",{class:E},[s(j,{position:"top"},{default:function(){return[s(v,{border:!1,background:"transparent"},{content:function(){return s("div",{class:O},[s("i",{onClick:function(){y().isApp?m({api:"goBack"}):t.back()},class:["van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow",L]},null),s("span",{class:z},[s("i",null,null)])])}})]}}),s("div",{class:A},[s(_,w({id:"woring-0"},{lazyLoad:!0,src:U,class:Y,onClick:function(){return t.push("wroing-stat")}}),null),s(_,w({id:"woring-1"},{lazyLoad:!0,src:C,class:Y,onClick:n}),null),s(_,w({id:"woring-2"},{lazyLoad:!0,src:R,class:Y,onClick:function(){return t.push("ai-exam")}}),null)]),s(P,null,null)])}}}))}}}))}();