var Bt=Object.defineProperty,Ft=Object.defineProperties;var Qt=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var Jt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable;var rt=(e,l,o)=>l in e?Bt(e,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[l]=o,Y=(e,l)=>{for(var o in l||(l={}))Jt.call(l,o)&&rt(e,o,l[o]);if(ut)for(var o of ut(l))Xt.call(l,o)&&rt(e,o,l[o]);return e},Oe=(e,l)=>Ft(e,Qt(l));import{c as R,w as J,r as j,o as Xe,a as dt,d as ct,i as pe,t as Ye,h as Ue,b as Ee,p as he,e as pt,E as qe,u as ht,T as ft,f as be,g as Yt,j as Gt,k as Kt,l as Zt,m as mt,n as el,q as tl,s as ll,v as gt,x as ol,y as nl,z as vt,A as k,B as le,C as x,D as s,F as t,G as w,H as S,I as q,J as B,K as X,L as _t,M as We,N as oe,O as Ge,P as E,Q as Ke,R as yt,S as xt,U as al,V as sl,W as we,X as il,Y as ul,Z as rl,_ as dl,$ as cl,a0 as Ze,a1 as bt,a2 as pl,a3 as hl,a4 as fl,a5 as ml,a6 as gl,a7 as vl,a8 as _l,a9 as yl,aa as xl,ab as wt,ac as Pe,ad as Vt,ae as bl,af as wl,ag as Vl,ah as Cl,ai as kl,aj as Te,ak as zl,al as $l}from"./vendor.a94709d5.js";const Sl=function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))n(c);new MutationObserver(c=>{for(const r of c)if(r.type==="childList")for(const d of r.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&n(d)}).observe(document,{childList:!0,subtree:!0});function o(c){const r={};return c.integrity&&(r.integrity=c.integrity),c.referrerpolicy&&(r.referrerPolicy=c.referrerpolicy),c.crossorigin==="use-credentials"?r.credentials="include":c.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(c){if(c.ep)return;c.ep=!0;const r=o(c);fetch(c.href,r)}};Sl();const Ct=Symbol("Vue3DraggableResizable");function kt(e){const l=window.getComputedStyle(e);return{width:parseFloat(l.getPropertyValue("width")),height:parseFloat(l.getPropertyValue("height"))}}function zt(e){return(l,o,n)=>{!l||(typeof o=="string"&&(o=[o]),o.forEach(c=>l[e](c,n,{passive:!1})))}}const Ve=zt("addEventListener"),ie=zt("removeEventListener");function $t(e){if(e&&e.length>0){const l=[];return e.forEach(o=>{St.includes(o)&&!l.includes(o)&&l.push(o)}),l}else return[]}function Ll(){return String(Math.random()).substr(2)+String(Date.now())}function Ml(e,l,o){if(e.disabled.value)return null;const n={row:[],col:[]},{parentWidth:c,parentHeight:r}=l;n.row.push(...e.adsorbRows),n.col.push(...e.adsorbCols),e.adsorbParent.value&&(n.row.push(0,r.value,r.value/2),n.col.push(0,c.value,c.value/2));const d=e.getPositionStore(o);return Object.values(d).forEach(({x:m,y:u,w:V,h:_})=>{n.row.push(u,u+_,u+_/2),n.col.push(m,m+V,m+V/2)}),{row:n.row.reduce((m,u)=>Oe(Y({},m),{[u]:{min:u-5,max:u+5,value:u}}),{}),col:n.col.reduce((m,u)=>Oe(Y({},m),{[u]:{min:u-5,max:u+5,value:u}}),{})}}function K(e){const l=j(e);return[l,n=>(l.value=n,n)]}function Ul(e,l){const[o,n]=K(e.initW),[c,r]=K(e.initH),[d,h]=K(e.x),[m,u]=K(e.y),[V,_]=K(e.active),[p,a]=K(!1),[$,C]=K(!1),[g,z]=K(""),[D,L]=K(1/0),[N,O]=K(1/0),[f,P]=K(e.minW),[v,y]=K(e.minH),M=R(()=>c.value/o.value);return J(o,U=>{l("update:w",U)},{immediate:!0}),J(c,U=>{l("update:h",U)},{immediate:!0}),J(m,U=>{l("update:y",U)}),J(d,U=>{l("update:x",U)}),J(V,(U,ae)=>{l("update:active",U),!ae&&U?l("activated"):ae&&!U&&l("deactivated")}),J(()=>e.active,U=>{_(U)}),{id:Ll(),width:o,height:c,top:m,left:d,enable:V,dragging:p,resizing:$,resizingHandle:g,resizingMaxHeight:N,resizingMaxWidth:D,resizingMinWidth:f,resizingMinHeight:v,aspectRatio:M,setEnable:_,setDragging:a,setResizing:C,setResizingHandle:z,setResizingMaxHeight:O,setResizingMaxWidth:L,setResizingMinWidth:P,setResizingMinHeight:y,setWidth:U=>n(Math.floor(U)),setHeight:U=>r(Math.floor(U)),setTop:U=>u(Math.floor(U)),setLeft:U=>h(Math.floor(U))}}function El(e){const l=j(0),o=j(0);return Xe(()=>{if(e.value&&e.value.parentElement){const{width:n,height:c}=kt(e.value.parentElement);l.value=n,o.value=c}}),{parentWidth:l,parentHeight:o}}function ql(e,l,o){const{width:n,height:c,left:r,top:d,resizingMaxWidth:h,resizingMaxHeight:m,resizingMinWidth:u,resizingMinHeight:V}=o,{setWidth:_,setHeight:p,setTop:a,setLeft:$}=o,{parentWidth:C,parentHeight:g}=l,z={minWidth:R(()=>u.value),minHeight:R(()=>V.value),maxWidth:R(()=>{let L=1/0;return e.parent&&(L=Math.min(C.value,h.value)),L}),maxHeight:R(()=>{let L=1/0;return e.parent&&(L=Math.min(g.value,m.value)),L}),minLeft:R(()=>e.parent?0:-1/0),minTop:R(()=>e.parent?0:-1/0),maxLeft:R(()=>e.parent?C.value-n.value:1/0),maxTop:R(()=>e.parent?g.value-c.value:1/0)},D={setWidth(L){return e.disabledW?n.value:_(Math.min(z.maxWidth.value,Math.max(z.minWidth.value,L)))},setHeight(L){return e.disabledH?c.value:p(Math.min(z.maxHeight.value,Math.max(z.minHeight.value,L)))},setTop(L){return e.disabledY?d.value:a(Math.min(z.maxTop.value,Math.max(z.minTop.value,L)))},setLeft(L){return e.disabledX?r.value:$(Math.min(z.maxLeft.value,Math.max(z.minLeft.value,L)))}};return Y(Y({},z),D)}const et=["mousedown","touchstart"],Ce=["mouseup","touchend"],ke=["mousemove","touchmove"];function je(e){return"touches"in e?[e.touches[0].pageX,e.touches[0].pageY]:[e.pageX,e.pageY]}function jl(e,l,o,n,c,r,d){const{left:h,top:m,width:u,height:V,dragging:_,id:p}=l,{setDragging:a,setEnable:$,setResizing:C,setResizingHandle:g}=l,{setTop:z,setLeft:D}=o;let L=0,N=0,O=0,f=0,P=null;const v=document.documentElement,y=H=>{var te;const G=H.target;((te=e.value)==null?void 0:te.contains(G))||($(!1),a(!1),C(!1),g(""))},M=()=>{a(!1),ie(v,Ce,M),ie(v,ke,U),P=null,r&&(r.updatePosition(p,{x:h.value,y:m.value,w:u.value,h:V.value}),r.setMatchedLine(null))},U=H=>{if(H.preventDefault(),!(_.value&&e.value))return;const[G,te]=je(H),Le=G-O,Me=te-f;let se=L+Le,de=N+Me;if(P!==null){const ce={col:[se,se+u.value/2,se+u.value],row:[de,de+V.value/2,de+V.value]},ge={row:ce.row.map((T,I)=>{let A=null;return Object.values(P.row).forEach(Q=>{T>=Q.min&&T<=Q.max&&(A=Q.value)}),A!==null&&(I===0?de=A:I===1?de=Math.floor(A-V.value/2):I===2&&(de=Math.floor(A-V.value))),A}).filter(T=>T!==null),col:ce.col.map((T,I)=>{let A=null;return Object.values(P.col).forEach(Q=>{T>=Q.min&&T<=Q.max&&(A=Q.value)}),A!==null&&(I===0?se=A:I===1?se=Math.floor(A-u.value/2):I===2&&(se=Math.floor(A-u.value))),A}).filter(T=>T!==null)};r.setMatchedLine(ge)}c("dragging",{x:D(se),y:z(de)})},ae=H=>{!n.value||(a(!0),L=h.value,N=m.value,O=je(H)[0],f=je(H)[1],Ve(v,ke,U),Ve(v,Ce,M),r&&!r.disabled.value&&(P=Ml(r,d,p)))};return J(_,(H,G)=>{!G&&H?(c("drag-start",{x:h.value,y:m.value}),$(!0),a(!0)):(c("drag-end",{x:h.value,y:m.value}),a(!1))}),Xe(()=>{const H=e.value;!H||(H.style.left=h+"px",H.style.top=m+"px",Ve(v,et,y),Ve(H,et,ae))}),dt(()=>{!e.value||(ie(v,et,y),ie(v,Ce,M),ie(v,ke,U))}),{containerRef:e}}function Hl(e,l,o,n,c){const{setWidth:r,setHeight:d,setLeft:h,setTop:m}=l,{width:u,height:V,left:_,top:p,aspectRatio:a}=e,{setResizing:$,setResizingHandle:C,setResizingMaxWidth:g,setResizingMaxHeight:z,setResizingMinWidth:D,setResizingMinHeight:L}=e,{parentWidth:N,parentHeight:O}=o;let f=0,P=0,v=0,y=0,M=0,U=0,ae=1,H="",G="";const te=document.documentElement,Le=ce=>{ce.preventDefault();let[ge,T]=je(ce),I=ge-M,A=T-U,Q=I,ve=A;n.lockAspectRatio&&(I=Math.abs(I),A=I*ae,(Q<0||G==="m"&&ve<0)&&(I=-I,A=-A)),H==="t"?(d(P-A),m(y-(V.value-P))):H==="b"&&d(P+A),G==="l"?(r(f-I),h(v-(u.value-f))):G==="r"&&r(f+I),c("resizing",{x:_.value,y:p.value,w:u.value,h:V.value})},Me=()=>{c("resize-end",{x:_.value,y:p.value,w:u.value,h:V.value}),C(""),$(!1),g(1/0),z(1/0),D(n.minW),L(n.minH),ie(te,ke,Le),ie(te,Ce,Me)},se=(ce,ge)=>{if(!n.resizable)return;ce.stopPropagation(),C(ge),$(!0),H=ge[0],G=ge[1];let T=n.minH,I=n.minW;if(T/I>a.value?I=T/a.value:T=I*a.value,D(I),L(T),parent){let Q=H==="t"?p.value+V.value:O.value-p.value,ve=G==="l"?_.value+u.value:N.value-_.value;n.lockAspectRatio&&(Q/ve{ie(te,Ce,Me),ie(te,ke,Le)}),{handlesFiltered:R(()=>n.resizable?$t(n.handles):[]),resizeHandleDown:se}}function Nl(e,l){const{setWidth:o,setHeight:n,setLeft:c,setTop:r}=l;J(()=>e.w,d=>{o(d)}),J(()=>e.h,d=>{n(d)}),J(()=>e.x,d=>{c(d)}),J(()=>e.y,d=>{r(d)})}const St=["tl","tm","tr","ml","mr","bl","bm","br"],Al={initW:{type:Number,default:null},initH:{type:Number,default:null},w:{type:Number,default:0},h:{type:Number,default:0},x:{type:Number,default:0},y:{type:Number,default:0},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},disabledX:{type:Boolean,default:!1},disabledY:{type:Boolean,default:!1},disabledW:{type:Boolean,default:!1},disabledH:{type:Boolean,default:!1},minW:{type:Number,default:0},minH:{type:Number,default:0},active:{type:Boolean,default:!1},parent:{type:Boolean,default:!1},handles:{type:Array,default:St,validator:e=>$t(e).length===e.length},classNameDraggable:{type:String,default:"draggable"},classNameResizable:{type:String,default:"resizable"},classNameDragging:{type:String,default:"dragging"},classNameResizing:{type:String,default:"resizing"},classNameActive:{type:String,default:"active"},classNameHandle:{type:String,default:"handle"},lockAspectRatio:{type:Boolean,default:!1}},Il=["activated","deactivated","drag-start","resize-start","dragging","resizing","drag-end","resize-end","update:w","update:h","update:x","update:y","update:active"],Rl=ct({name:"Vue3DraggableResizable",props:Al,emits:Il,setup(e,{emit:l}){const o=Ul(e,l),n=pe("identity");let c=null;n===Ct&&(c={updatePosition:pe("updatePosition"),getPositionStore:pe("getPositionStore"),disabled:pe("disabled"),adsorbParent:pe("adsorbParent"),adsorbCols:pe("adsorbCols"),adsorbRows:pe("adsorbRows"),setMatchedLine:pe("setMatchedLine")});const r=j(),d=El(r),h=ql(e,d,o);jl(r,o,h,Ye(e,"draggable"),l,c,d);const m=Hl(o,h,d,e,l);return Nl(e,h),Y(Y(Y(Y({containerRef:r,containerProvider:c},o),d),h),m)},computed:{style(){return{width:this.width+"px",height:this.height+"px",top:this.top+"px",left:this.left+"px"}},klass(){return{[this.classNameActive]:this.enable,[this.classNameDragging]:this.dragging,[this.classNameResizing]:this.resizing,[this.classNameDraggable]:this.draggable,[this.classNameResizable]:this.resizable}}},mounted(){if(!this.containerRef)return;this.containerRef.ondragstart=()=>!1;const{width:e,height:l}=kt(this.containerRef);this.setWidth(this.initW===null?this.w||e:this.initW),this.setHeight(this.initH===null?this.h||l:this.initH),this.containerProvider&&this.containerProvider.updatePosition(this.id,{x:this.left,y:this.top,w:this.width,h:this.height})},render(){return Ue("div",{ref:"containerRef",class:["vdr-container",this.klass],style:this.style},[this.$slots.default&&this.$slots.default(),...this.handlesFiltered.map(e=>Ue("div",{class:["vdr-handle","vdr-handle-"+e,this.classNameHandle,`${this.classNameHandle}-${e}`],style:{display:this.enable?"block":"none"},onMousedown:l=>this.resizeHandleDown(l,e),onTouchstart:l=>this.resizeHandleDown(l,e)}))])}});var Lt=ct({name:"DraggableContainer",props:{disabled:{type:Boolean,default:!0},adsorbParent:{type:Boolean,default:!0},adsorbCols:{type:Array,default:null},adsorbRows:{type:Array,default:null},referenceLineVisible:{type:Boolean,default:!0},referenceLineColor:{type:String,default:"#f00"}},setup(e){const l=Ee({}),o=(m,u)=>{l[m]=u},n=m=>{const u=Object.assign({},l);return m&&delete u[m],u},c=Ee({matchedLine:null}),r=R(()=>c.matchedLine&&c.matchedLine.row||[]),d=R(()=>c.matchedLine&&c.matchedLine.col||[]),h=m=>{c.matchedLine=m};return he("identity",Ct),he("updatePosition",o),he("getPositionStore",n),he("setMatchedLine",h),he("disabled",Ye(e,"disabled")),he("adsorbParent",Ye(e,"adsorbParent")),he("adsorbCols",e.adsorbCols||[]),he("adsorbRows",e.adsorbRows||[]),{matchedRows:r,matchedCols:d}},methods:{renderReferenceLine(){return this.referenceLineVisible?[...this.matchedCols.map(e=>Ue("div",{style:{width:"0",height:"100%",top:"0",left:e+"px",borderLeft:`1px dashed ${this.referenceLineColor}`,position:"absolute"}})),...this.matchedRows.map(e=>Ue("div",{style:{width:"100%",height:"0",left:"0",top:e+"px",borderTop:`1px dashed ${this.referenceLineColor}`,position:"absolute"}}))]:[]}},render(){return Ue("div",{style:{width:"100%",height:"100%",position:"relative"}},[this.$slots.default&&this.$slots.default(),...this.renderReferenceLine()])}});const Be=JSON.parse(localStorage.getItem("userInfo")).token,{ze_id:Dl,zs_id:va,ykl_id:Ol}=JSON.parse(sessionStorage.getItem("ykl_lc"));let ue=j(1/0);const _e=pt.create({baseURL:window.GLOBAL_CONFIG.api,timeout:180*1e3,headers:{"Content-Type":"application/x-www-form-urlencoded"},method:"post"});_e.interceptors.request.use(async e=>{var l,o,n;return((l=e.method)==null?void 0:l.toLocaleLowerCase())==="get"?e.params=Object.assign({token:Be},e.params):e.data=Object.assign({token:Be,client:"web",api:"json",issubmit:((o=e.url)==null?void 0:o.endsWith("add"))||((n=e.url)==null?void 0:n.endsWith("edit"))?"1":void 0},e.data),e},e=>(console.error("request error: ",e),Promise.reject(e)));_e.interceptors.response.use(e=>{var n,c;e.data.code=(c=(n=e.data)==null?void 0:n.code)==null?void 0:c.toString(),e.data.msg=e.data.msg.replaceAll(/<.*?>/g," ");const{code:l,msg:o}=e.data;return l!=="1"&&qe.error(o),e.data},e=>(console.error(`response error: ${e}`),Promise.reject(e)));var Mt=e=>_e.request(e);function Ut(e){const l=new FormData;return Object.keys(e).forEach(o=>l.append(o,e[o])),l}const Wl={empty:pt,default:_e,import:e=>_e(Y({timeout:10*60*1e3,transformRequest:[Ut]},e)),upload:e=>_e(Y({timeout:3*60*1e3,transformRequest:[Ut]},e)),download:e=>_e({timeout:1*60*1e3,method:"get",params:Y({token:Be,limit:1e4,page:1,api:"xls"},e)})},{yzy:Et}=window.GLOBAL_CONFIG;function Pl(){return Mt({url:Et+"/yzy/kmksyjlc/format",data:{ze_id:Dl}})}function Tl(e){const{gid:l,pid:o,cid:n}=JSON.parse(sessionStorage.getItem("StepId")),c=JSON.parse(sessionStorage.getItem("ykl_lc"));return c.processList[l][o][n]=1,Mt({method:"post",url:Et+"/yzy/kmksyjlc/save",data:{api:"json",version:2,token:Be,client:"web",ykl_id:c.ykl_id,yk:{ykl_dtkmb:JSON.stringify(e),ykl_lc:JSON.stringify(c)}}}).then(r=>(r.code==="1"&&sessionStorage.setItem("stepsMap",JSON.stringify(c.processList)),Promise.resolve(r))).catch(()=>{qe({message:"\u64CD\u4F5C\u5931\u8D25",type:"error",grouping:!0})})}const re=j(100),Bl=R(()=>`scale(${(re.value/100).toFixed(2)})`);function Fl(){re.value=qt(re.value+10)}function Ql(){re.value<=10||(re.value=qt(re.value-10))}function qt(e){return e.toFixed(2)*1}const Fe=220,He=j(!0),tt=j(Fe),Jl=ht(tt,{duration:300,transition:ft.easeInOutCubic}),Xl=R(()=>Jl.value+"px");function Yl(){He.value=!0,tt.value=Fe}function Gl(){He.value=!1,tt.value=0}const Qe=300,Ne=j(!0),lt=j(Qe),Kl=ht(lt,{duration:300,transition:ft.easeInOutCubic}),Zl=R(()=>Kl.value+"px");function eo(){Ne.value=!0,lt.value=Qe}function to(){Ne.value=!1,lt.value=0}const Z=Ee([]),ye=j(0);function Je(e){ye.value=e}function lo(){const e=(ye.value+1)%Z.length;Je(e)}function oo(){const e=(ye.value+Z.length-1)%Z.length;Je(e)}const b=j({}),Ae=R(()=>Object.keys(b.value)),jt=j({});function Ie(){const e={};let l={};console.log("updateQuestionMap AreaList :>> ",F),F.value.forEach(o=>{o.questions!=null?o.questions.forEach(n=>e[n._name]=n):l[o.noquestions]=o}),b.value=e,jt.value=l}const Re=R(()=>{let e=0;return Ae.value.forEach(l=>{var o;e+=(o=b.value[l].score)!=null?o:0}),e});J(()=>Re.value,()=>{console.log("\u5206\u503C\u53D8\u5316 : ",typeof ue.value=="number",!isNaN(ue.value),Re.value>ue.value),typeof ue.value=="number"&&!isNaN(ue.value)&&Re.value>ue.value&&be.alert(`\u5F53\u524D\u8BBE\u7F6E\u603B\u5206\u8FBE\u5230 ${Re.value} \u5206,\u8D85\u8FC7\u8BD5\u5377\u603B\u5206 ${ue.value} \u5206`,"\u63D0\u793A")},{immediate:!0});const F=j([]);function no(e){const o=F.value.splice(e,1)[0];if(o.form&&o.form.areatype===10&&!o.disuse)if(o.questions&&o.questions.length>0){const n=o.questions[0];if(Array.isArray(n.follow)&&n.follow.length>0){const c=n.follow[0],r=Oe(Y({},n),{hash:c,follow:n.follow.slice(1)});F.value.find(h=>h.hash===c).questions.push(r),Ie()}}else console.info("\u6CA1\u6709\u627E\u5230\u5BF9\u5E94\u7684\u9898\u76EE");else o.questions&&o.questions.length>0&&Ie()}function ao(){const e={};return F.value.forEach(l=>{e[l.hash]=l}),e}const i=j({}),W=Ee({}),ee=Ee({base:{ttcc_w:20,ttcc_h:12},6:{tmsl:5,thjg:1,xxsl:4,plfx:1},7:{tmsl:5,thjg:1,xxsl:4,plfx:1},8:{tmsl:5,thjg:1,xxsl:2,plfx:1}}),fe=j(0);async function Ht(e,l){try{if(W.mode==="add"&&typeof e=="function"&&!await e())return;fe.value++,W.mode==="add"&&typeof l=="function"&&await l()}catch(o){console.error("error :>> ",o)}}function ot(e,l){fe.value--}function nt(e,l){return e===""||e===void 0?l.toString():e+"_"+l}const De=j(!1);function Nt(e,l){W.idx=e,W.info=l;try{const{paper:o,x:n,y:c,w:r,h:d}=l;W.imgsrc=Z[o].img,l.form?(W.mode="edit",i.value=JSON.parse(JSON.stringify(l.form))):(W.mode="add",i.value={}),De.value=!0}catch(o){console.error(o)}}function At(){var a,$,C,g;F.value[W.idx].form=JSON.parse(JSON.stringify(i.value));const e=F.value[W.idx],{hash:l}=e,o=($=(a=e==null?void 0:e.questions)==null?void 0:a.map(z=>z._name))!=null?$:[],{areatype:n,qsth:c,jsth:r,thjg:d,ssdt:h,rows:m,cols:u,plfx:V,ttcc_w:_,ttcc_h:p}=i.value;if([6,7,8,9,10].includes(n)){if(e.questions=[],[6,7,8].includes(n)){const z=[],D=[];for(let L=c;L<=r;L+=d){const N=nt(h,L);z.push(N),D.push({_name:N,_type:n-5,options:V?u.length:m.length,answer:n===7?[]:void 0,hash:l,idx:(L-c)/d})}z.some(L=>b.value[L]&&!o.some(N=>N===L))?be({title:"\u8B66\u544A",message:"\u5F53\u524D\u5DF2\u5B58\u5728\u76F8\u540C\u8BD5\u9898\u7F16\u53F7\uFF0C\u672C\u6B21\u5212\u5757\u533A\u57DF\u6570\u636E\u5C06\u4F1A\u4FDD\u5B58\uFF0C\u8BD5\u9898\u6570\u636E\u4E0D\u751F\u6548\uFF0C\u8BF7\u8C03\u6574\u597D\u65E7\u9898\u53F7\u91CD\u65B0\u63D0\u4EA4\u8BD5\u9898\u6570\u636E\uFF1F"}).then(()=>{e.disuse=!0}):(e.questions.push(...D),Reflect.deleteProperty(e,"disuse"))}else if(n===9){const z=nt(h,c);b.value[z]&&!o.some(D=>D===z)?be({title:"\u8B66\u544A",message:"\u5F53\u524D\u5DF2\u5B58\u5728\u76F8\u540C\u8BD5\u9898\u7F16\u53F7\uFF0C\u672C\u6B21\u5212\u5757\u533A\u57DF\u6570\u636E\u5C06\u4F1A\u4FDD\u5B58\uFF0C\u8BD5\u9898\u6570\u636E\u4E0D\u751F\u6548\uFF0C\u8BF7\u8C03\u6574\u597D\u65E7\u9898\u53F7\u91CD\u65B0\u63D0\u4EA4\u8BD5\u9898\u6570\u636E\uFF1F"}).then(()=>{e.disuse=!0}):(e.questions.push({_name:z,_type:9-5,options:1,answer:[],hash:l}),Reflect.deleteProperty(e,"disuse"))}else if(n===10){const z=nt(h,c);b.value[z]?b.value[z]._type!==5?be({title:"\u8B66\u544A",message:"\u5F53\u524D\u5DF2\u5B58\u5728\u76F8\u540C\u8BD5\u9898\u7F16\u53F7\uFF0C\u4E14\u672C\u6B21\u8BD5\u9898\u7C7B\u578B\u4E0E\u4E0A\u6B21\u8BD5\u9898\u7C7B\u578B\u4E0D\u5339\u914D\uFF0C\u672C\u6B21\u5212\u5757\u533A\u57DF\u6570\u636E\u5C06\u4F1A\u4FDD\u5B58\uFF0C\u8BD5\u9898\u6570\u636E\u4E0D\u751F\u6548\uFF0C\u8BF7\u8C03\u6574\u597D\u65E7\u9898\u53F7\u91CD\u65B0\u63D0\u4EA4\u8BD5\u9898\u6570\u636E\uFF1F"}).then(()=>{e.disuse=!0}):(b.value[z].follow=(C=b.value[z].follow)!=null?C:[],b.value[z].follow.push(l),Reflect.deleteProperty(e,"disuse")):(e.questions.push({_name:z,_type:10-5,answer:"",hash:l}),Reflect.deleteProperty(e,"disuse"))}}else e.questions=null,e.noquestions=(g=e.noquestions)!=null?g:n;Ie(),It(),De.value=!1}function so(e){be.confirm("\u662F\u5426\u653E\u5F03\u672C\u6B21\u8BBE\u7F6E?").then(()=>{e(),It()}).catch(()=>{})}function It(){fe.value=0,i.value={}}let Rt=0;const Dt=new Image(0,0),at=document.createElement("canvas");at.width=1;at.height=1;Dt.src=at.toDataURL("image/jpeg",0);function io(e){e.dataTransfer.setDragImage(Dt,0,0),Rt=F.value.push({paper:ye.value,x:e.offsetX,y:e.offsetY,w:0,h:0,x2:e.offsetX,y2:e.offsetY,ready:!1,hash:Date.now()})-1}function uo({offsetX:e,offsetY:l}){if(e<0||l<0)return;const o=F.value.length-1,n=F.value[o];n.x2=e,n.y2=l}function ro({offsetX:e,offsetY:l}){if(e<0||l<0)return;const o=F.value.length-1,n=F.value[o];n.x2=e,n.y2=l;const{x:c,y:r,x2:d,y2:h}=n;n.x=Math.min(c,d),n.x2=Math.max(c,d),n.y=Math.min(r,h),n.y2=Math.max(r,h),n.w=n.x2-n.x,n.h=n.y2-n.y,n.ready=!0,Nt(Rt,n)}function co(e){e.preventDefault(),e.dataTransfer.dropEffect="move"}const Ot=j();function po(e,l){Ot.value=e==null?void 0:e.hash}const{width:Wt,height:ho}=Yt(),fo=Wt.value-Fe-Qe-4,mo=R(()=>`${fo}px`);R(()=>ho.value-52-4);const Pt=R(()=>Wt.value-(He.value?Fe:0)-(Ne.value?Qe:0));R(()=>`${Pt.value}px`);J(()=>Pt.value,()=>{});const ze=j(void 0),$e=j(void 0),go=R(()=>`${ze.value}px`);R(()=>`${$e.value}px`);function vo(e){return new Promise(l=>{const o=new Image;o.src=e,o.onload=()=>{ze.value=o.width,$e.value=o.height,l()}})}const{toggle:_o}=Gt();function yo(){window.location.href=location.origin+"/webapps/page/liankao/#/step/"+Ol}const st={},ne={num2opt(e){if(st[e]===void 0){const l=String.fromCharCode(65+e-1);st[e]=l}return st[e]},num2pdopt(e){return["T","F"][e-1]},blank2ans(e){return e.join("\u203B")},multi2ans(e){return e.sort().map(l=>ne.num2opt(l)).sort().join("")},judgeAnsByType(e,l){if(l===1)return ne.num2opt(e);if(l===2)return ne.multi2ans(e);if(l===3)return ne.num2pdopt(e);if(l===4)return ne.blank2ans(e);if(l===5)return e},judgeOptByType(e,l){if(l===1||l===2)return ne.num2opt(e);if(l===3)return ne.num2pdopt(e)}};function xo(){be.confirm("\u662F\u5426\u786E\u8BA4\u7B54\u9898\u5361\u5DF2\u914D\u7F6E\u5B8C\u5168\uFF08\u5305\u62EC\u8BD5\u9898\u5206\u503C\u548C\u7B54\u6848\uFF09\uFF0C\u51C6\u5907\u63D0\u4EA4",{confirmButtonText:"\u786E\u8BA4\u65E0\u8BEF\uFF0C\u63D0\u4EA4",cancelButtonText:"\u6211\u518D\u770B\u770B\uFF0C\u6682\u4E0D\u63D0\u4EA4"}).then(()=>{const e=ze.value<=$e.value?"A4":"A3",l={width:ze.value,height:$e.value,hq_type:[{type:"1",name:"\u5355\u9009\u9898"},{type:"2",name:"\u591A\u9009\u9898"},{type:"3",name:"\u5224\u65AD\u9898"},{type:"4",name:"\u586B\u7A7A\u9898"},{type:"5",name:"\u95EE\u7B54\u8BA1\u7B97\u9898"}],totalPage:Z.length,locationType:0,pages:[{pageNo:1,rotate:e==="A4"?0:270,imge:{width:ze.value,height:$e.value},cut:[],location:0,locationType:0,questions:[],QrCode:{object:{x:0,y:0,width:0,height:0}},studentcode_bar:{object:{x:0,y:0,width:0,height:0}},absent:{x:0,y:0,width:100,height:100},studentcode_fill:{object:[]}},{pageNo:2,rotate:e==="A4"?0:90,imge:{width:ze.value,height:$e.value},cut:[],location:0,locationType:0,questions:[]}].splice(0,Z.length),useQrCode:0,info:{area:F.value}},o=ao(),n=l.pages;Object.entries(jt.value).forEach(([r,d])=>{const h=d.form;if(r*1==1&&(n[d.paper].studentcode_bar={object:{x:d.x,y:d.y,width:d.w,height:d.h}}),r*1==2&&(l.useQrCode=1,n[d.paper].QrCode={object:{x:d.x,y:d.y,width:d.w,height:d.h}}),r*1==4&&(n[d.paper].absent={x:d.x,y:d.y,width:d.w,height:d.h}),r*1==5&&(n[d.paper].disciplinary={x:d.x,y:d.y,width:d.w,height:d.h}),r*1==3){const m={};h.plfx===0?m.object=h.cols.map((u,V)=>({group:h.rows.map((_,p)=>({optName:p,x:d.x+u,y:d.y+_,width:h.ttcc_w,height:h.ttcc_h}))})):m.object=h.rows.map((u,V)=>({group:h.cols.map((_,p)=>({optName:p,x:d.x+_,y:d.y+u,width:h.ttcc_w,height:h.ttcc_h}))})),n[d.paper].studentcode_fill=m}});const c={};console.log("QuestionKeyList :>> ",Ae.value),console.log("AreaHashMap :>> ",o),Ae.value.forEach((r,d)=>{const h=b.value[r],m=[[],[]],u=o[h.hash],V=u.form,_={answer:ne.judgeAnsByType(h.answer,h._type),id:(d+1).toString(),modelId:"topicType"+h._type,name:h._name.replaceAll("_","-"),type:h._type,score:{full:h.score,half_full:0}};if([1,2,3].includes(h._type))h._type===3&&(_.type=1),h._type===2&&(_.score_part=h.score_part.map(({right_num:p,score:a})=>({right_num:p+"",score:a+""}))),c[u.hash]||(n[u.paper].cut.push({x:u.x,y:u.y,width:u.w,height:u.h,name:u.questions.map(({_name:p})=>p).join()}),c[u.hash]=!0),V.plfx?_.opt=V.cols.map((p,a)=>({optName:ne.judgeOptByType(a+1,h._type),x:u.x+p,y:u.y+V.rows[h.idx],width:V.ttcc_w,height:V.ttcc_h})):_.opt=V.rows.map((p,a)=>({optName:ne.judgeOptByType(a+1,h._type),x:u.x+V.cols[h.idx],y:u.y+p,width:V.ttcc_w,height:V.ttcc_h}));else if([4].includes(h._type)){const p={cut:{x:u.x,y:u.y,width:u.w,height:u.h},scorebox:{x:u.x,y:u.y,width:0,height:0,Score:[""],type:h._type},column:2,rowLinHeight:u.h,scoreStyle:""};Object.assign(_,p)}else if([5].includes(h._type)){const p={cut:{x:u.x,y:u.y,width:u.w,height:u.h,linkparm:1},scorebox:{x:u.x,y:u.y,width:0,height:0,type:h._type,limit:h.score,point:h.score>10?1:0},editorId:h._type+"",marktype:h._type};Object.assign(_,p),Array.isArray(h.follow)&&h.follow.forEach(a=>{const $=JSON.parse(JSON.stringify(_)),C=o[a];delete $.scorebox,$.cut={x:C.x,y:C.y,width:C.w,height:C.h,linkparm:0},u.paper===C.paper?m[0].push($):u.paper===C.paper-1?m[1].push($):console.error("\u5B58\u5728\u7B80\u7B54\u9898\u9875\u7801\u95EE\u9898:",C)})}console.log("object :>> "),n[u.paper].questions.push(_),n[u.paper].questions.push(...m[0]),u.paper+1> ",l),Tl(l).then(r=>{r.code==="1"?qe.success("\u4FDD\u5B58\u6210\u529F"):qe.error(r.msg)})}).catch(e=>{console.error(e)})}function bo(){_o()}function wo(e){var l;F.value=(l=e.area)!=null?l:[],Ie()}const Tt={1:"\u6761\u5F62\u7801\u533A\u57DF",2:"\u4E8C\u7EF4\u7801\u533A\u57DF",3:"\u586B\u6D82\u7801\u533A\u57DF",4:"\u7F3A\u8003\u6807\u8BC6\u533A\u57DF",5:"\u8FDD\u7EAA\u6807\u8BC6\u533A\u57DF",6:"\u5355\u9009\u9898\u533A\u57DF",7:"\u591A\u9009\u9898\u533A\u57DF",8:"\u5224\u65AD\u9898\u533A\u57DF",9:"\u586B\u7A7A\u9898\u533A\u57DF",10:"\u7B80\u7B54\u9898\u533A\u57DF"},Vo=Object.entries(Tt).map(([e,l])=>({value:e*1,label:l}));var it=(e,l)=>{const o=e.__vccOpts||e;for(const[n,c]of l)o[n]=c;return o};const xe=e=>(yt("data-v-f0d2c87e"),e=e(),xt(),e),Co={style:{padding:"10px 0px"}},ko={class:"flex justify-end"},zo=E("\u4E0B\u4E00\u6B65"),$o={class:"flex flex-col justify-center"},So={class:"flex justify-between"},Lo=E("\u4E0A\u4E00\u6B65"),Mo=E("\u4E0B\u4E00\u6B65"),Uo={class:"flex flex-col justify-start"},Eo=xe(()=>w("div",{style:{"font-size":"12px","margin-top":"-12px","margin-bottom":"18px"}}," \uFF08\u53EA\u6709\u590D\u5408\u9898\u4E2D\u7684\u5C0F\u9898\u9700\u8981\u8BBE\u7F6E\u8BE5\u9879\uFF0C\u5176\u4ED6\u9898\u76EE\u4E0D\u7528\uFF1B\u540C\u4E00\u7B80\u7B54\u9898\u4E0B\u7684\u5C0F\u9898\u9700\u8981\u8BBE\u7F6E\u76F8\u540C\u7684\u8BE5\u9009\u9879\uFF09",-1)),qo=xe(()=>w("div",{style:{"font-size":"12px","margin-top":"-12px","margin-bottom":"18px"}}," \uFF08\u53EA\u6709\u590D\u5408\u9898\u4E2D\u7684\u5C0F\u9898\u9700\u8981\u8BBE\u7F6E\u8BE5\u9879\uFF0C\u5176\u4ED6\u9898\u76EE\u4E0D\u7528\uFF1B\u540C\u4E00\u7B80\u7B54\u9898\u4E0B\u7684\u5C0F\u9898\u9700\u8981\u8BBE\u7F6E\u76F8\u540C\u7684\u8BE5\u9009\u9879\uFF09",-1)),jo={class:"flex justify-between"},Ho=E("\u4E0A\u4E00\u6B65"),No=E("\u5B8C\u6210"),Ao=["src"],Io={class:"flex",style:{width:"550px"}},Ro={class:"flex flex-col w-200"},Do=xe(()=>w("div",{class:"mb-6"},"\u884C\u5750\u6807\uFF1A",-1)),Oo={class:"mb-6 tagrow"},Wo={class:"flex flex-col w-200"},Po=xe(()=>w("div",{class:"mb-6"},"\u5217\u5750\u6807\uFF1A",-1)),To={class:"mb-6 tagrow"},Bo={class:"flex flex-col w-200"},Fo=xe(()=>w("div",{class:"mb-6"},"\u586B\u6D82\u5C3A\u5BF8\uFF1A",-1)),Qo={class:"mb-6 tagrow"},Jo=xe(()=>w("span",null,"\u5BBD\uFF1A",-1)),Xo={class:"mb-6 tagrow"},Yo=xe(()=>w("span",null,"\u9AD8\uFF1A",-1)),Go={class:"flex justify-between"},Ko=E("\u4E0A\u4E00\u6B65"),Zo=E("\u5B8C\u6210"),en={setup(e){const l=j();function o(){return l.value.validateField("areatype",p=>{if(p)i.value.areatype===3?(i.value.xhws=8,i.value.plfx=0):[6,7,8].includes(i.value.areatype)?(i.value.tmsl=ee[i.value.areatype].tmsl,i.value.thjg=ee[i.value.areatype].thjg,i.value.xxsl=ee[i.value.areatype].xxsl,i.value.plfx=ee[i.value.areatype].plfx):console.info("area type is not support get row & col number");else return!1;return!0})}function n(){i.value.jsth=(i.value.tmsl-1)*i.value.thjg+i.value.qsth}function c(){return l.value.validate(p=>{if(p){i.value.ttcc_w=ee.base.ttcc_w,i.value.ttcc_h=ee.base.ttcc_h;let a,$;i.value.areatype===3?(a=i.value.xhws,$=10):[6,7,8].includes(i.value.areatype)&&(a=i.value.tmsl,$=i.value.xxsl),i.value.plfx===0?(i.value.rows=Array.from({length:$},(C,g)=>Math.round(W.info.h/$*g)),i.value.cols=Array.from({length:a},(C,g)=>Math.round(W.info.w/a*g))):(i.value.rows=Array.from({length:a},(C,g)=>Math.round(W.info.h/a*g)),i.value.cols=Array.from({length:$},(C,g)=>Math.round(W.info.w/$*g)))}else return!1;return!0})}function r(p,a){if(p===1){const $=i.value[a][1]-i.value[a][0];i.value[a].forEach((C,g)=>{i.value[a][g]=i.value[a][0]+$*g})}}function d(p){ee.base.ttcc_w=p}function h(p){ee.base.ttcc_h=p}function m(p){ee[i.value.areatype].tmsl=p}function u(p){ee[i.value.areatype].thjg=p}function V(p){ee[i.value.areatype].xxsl=p}function _(p){ee[i.value.areatype].plfx=p}return(p,a)=>{const $=Kt,C=Zt,g=Ke,z=mt,D=el,L=tl,N=ll,O=gt,f=ol,P=nl,v=vt;return k(),le(v,{width:"720px",modelValue:t(De),"onUpdate:modelValue":a[21]||(a[21]=y=>Ge(De)?De.value=y:null),"before-close":t(so),"append-to-body":"","destroy-on-close":"","close-on-click-modal":!1,draggable:""},{default:x(()=>[s(C,{active:t(fe),simple:"","finish-status":"success"},{default:x(()=>[s($,{title:"\u533A\u57DF\u7C7B\u578B\u8BBE\u7F6E"}),s($,{title:"\u5C5E\u6027\u8BBE\u7F6E"}),s($,{title:"\u5750\u6807\u8BBE\u7F6E"})]),_:1},8,["active"]),w("div",Co,[s(P,{ref_key:"formRef",ref:l,model:t(i),"label-width":"100px","label-suffix":":",size:"small"},{default:x(()=>[t(fe)===0?(k(),S(q,{key:0},[w("div",ko,[s(g,{type:"primary",onClick:a[0]||(a[0]=y=>t(Ht)(o))},{default:x(()=>[zo]),_:1})]),s(z),w("div",$o,[s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"areatype",label:"\u533A\u57DF\u7C7B\u578B"},{default:x(()=>[s(L,{modelValue:t(i).areatype,"onUpdate:modelValue":a[1]||(a[1]=y=>t(i).areatype=y),placeholder:""},{default:x(()=>[(k(!0),S(q,null,B(t(Vo),({label:y,value:M})=>(k(),le(D,{label:y,value:M},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})])],64)):X("",!0),t(fe)===1?(k(),S(q,{key:1},[w("div",So,[s(g,{type:"primary",onClick:a[2]||(a[2]=y=>t(ot)())},{default:x(()=>[Lo]),_:1}),s(g,{type:"primary",onClick:a[3]||(a[3]=y=>t(Ht)(c))},{default:x(()=>[Mo]),_:1})]),s(z),w("div",Uo,[t(i).areatype===3?(k(),S(q,{key:0},[s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"xhws",label:"\u5B66\u53F7\u4F4D\u6570"},{default:x(()=>[s(O,{modelValue:t(i).xhws,"onUpdate:modelValue":a[4]||(a[4]=y=>t(i).xhws=y)},null,8,["modelValue"])]),_:1}),s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"plfx",label:"\u5B66\u53F7\u6392\u5217\u65B9\u5411"},{default:x(()=>[s(L,{modelValue:t(i).plfx,"onUpdate:modelValue":a[5]||(a[5]=y=>t(i).plfx=y),placeholder:""},{default:x(()=>[(k(),S(q,null,B([{label:"\u6A2A\u5411",value:0},{label:"\u7EB5\u5411",value:1}],({label:y,value:M})=>s(D,{label:y,value:M},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})],64)):X("",!0),[6,7,8].includes(t(i).areatype)?(k(),S(q,{key:1},[s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"tmsl",label:"\u9898\u76EE\u6570\u91CF"},{default:x(()=>[s(O,{modelValue:t(i).tmsl,"onUpdate:modelValue":a[6]||(a[6]=y=>t(i).tmsl=y),onChange:m},null,8,["modelValue"])]),_:1}),s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"thjg",label:"\u9898\u53F7\u95F4\u9694"},{default:x(()=>[s(O,{modelValue:t(i).thjg,"onUpdate:modelValue":a[7]||(a[7]=y=>t(i).thjg=y),onChange:u},null,8,["modelValue"])]),_:1}),s(N,{label:"\u6240\u5C5E\u590D\u5408\u9898"},{default:x(()=>[s(O,{modelValue:t(i).ssdt,"onUpdate:modelValue":a[8]||(a[8]=y=>t(i).ssdt=y)},null,8,["modelValue"])]),_:1}),Eo,s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"qsth",label:"\u8D77\u59CB\u9898\u53F7"},{default:x(()=>[s(O,{modelValue:t(i).qsth,"onUpdate:modelValue":a[9]||(a[9]=y=>t(i).qsth=y),onChange:n},null,8,["modelValue"])]),_:1}),s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"jsth",label:"\u7ED3\u675F\u9898\u53F7"},{default:x(()=>[s(O,{modelValue:t(i).jsth,"onUpdate:modelValue":a[10]||(a[10]=y=>t(i).jsth=y)},null,8,["modelValue"])]),_:1}),s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"xxsl",label:"\u9009\u9879\u6570\u91CF"},{default:x(()=>[s(O,{modelValue:t(i).xxsl,"onUpdate:modelValue":a[11]||(a[11]=y=>t(i).xxsl=y),onChange:V},null,8,["modelValue"])]),_:1}),s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"plfx",label:"\u9898\u53F7\u6392\u5217\u65B9\u5411"},{default:x(()=>[s(L,{modelValue:t(i).plfx,"onUpdate:modelValue":a[12]||(a[12]=y=>t(i).plfx=y),placeholder:"",onChange:_},{default:x(()=>[(k(),S(q,null,B([{label:"\u6A2A\u5411",value:0},{label:"\u7EB5\u5411",value:1}],({label:y,value:M})=>s(D,{label:y,value:M},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})],64)):X("",!0),[9,10].includes(t(i).areatype)?(k(),S(q,{key:2},[s(N,{label:"\u6240\u5C5E\u590D\u5408\u9898"},{default:x(()=>[s(O,{modelValue:t(i).ssdt,"onUpdate:modelValue":a[13]||(a[13]=y=>t(i).ssdt=y)},null,8,["modelValue"])]),_:1}),qo,s(N,{rules:{required:!0,message:"\u8BE5\u9879\u4E0D\u80FD\u4E3A\u7A7A"},prop:"qsth",label:"\u8D77\u59CB\u9898\u53F7"},{default:x(()=>[s(O,{modelValue:t(i).qsth,"onUpdate:modelValue":a[14]||(a[14]=y=>t(i).qsth=y)},null,8,["modelValue"])]),_:1})],64)):X("",!0),[3,6,7,8,9,10].includes(t(i).areatype)?X("",!0):(k(),le(f,{key:3,description:"\u65E0\u5176\u4ED6\u914D\u7F6E\u9879"}))])],64)):X("",!0),t(fe)===2?(k(),S(q,{key:2},[w("div",jo,[s(g,{type:"primary",onClick:a[15]||(a[15]=y=>t(ot)())},{default:x(()=>[Ho]),_:1}),s(g,{type:"primary",onClick:t(At)},{default:x(()=>[No]),_:1},8,["onClick"])]),s(z),[3,6,7,8].includes(t(i).areatype)?(k(),S("div",{key:1,class:_t(["flex flex-col",{"flex-col":t(W).info.w>1060-600}])},[w("div",{class:"relative overhide",style:We({width:t(W).info.w+"px",height:t(W).info.h+"px"})},[w("img",{src:t(W).imgsrc,class:"absolute",style:We({left:-t(W).info.x+"px",top:-t(W).info.y+"px"}),alt:""},null,12,Ao),s(t(Lt),null,{default:x(()=>[(k(!0),S(q,null,B(t(i).rows,(y,M)=>(k(),S(q,null,[(k(!0),S(q,null,B(t(i).cols,(U,ae)=>(k(),le(t(Rl),{initW:t(i).ttcc_w,initH:t(i).ttcc_h,x:t(i).cols[ae],"onUpdate:x":H=>t(i).cols[ae]=H,y:t(i).rows[M],"onUpdate:y":H=>t(i).rows[M]=H,w:t(i).ttcc_w,"onUpdate:w":a[16]||(a[16]=H=>t(i).ttcc_w=H),h:t(i).ttcc_h,"onUpdate:h":a[17]||(a[17]=H=>t(i).ttcc_h=H),style:{backgroundColor:"#409eff50"}},null,8,["initW","initH","x","onUpdate:x","y","onUpdate:y","w","h"]))),256))],64))),256))]),_:1})],4),s(z),w("div",Io,[w("div",Ro,[Do,(k(!0),S(q,null,B(t(i).rows,(y,M)=>(k(),S("div",Oo,[w("span",null,"\u7B2C"+oe(M+1)+"\u884C",1),s(O,{size:"small",onChange:U=>r(M,"rows"),modelValue:t(i).rows[M],"onUpdate:modelValue":U=>t(i).rows[M]=U,min:M===0?0:t(i).rows[M-1]+t(i).ttcc_h},null,8,["onChange","modelValue","onUpdate:modelValue","min"])]))),256))]),w("div",Wo,[Po,(k(!0),S(q,null,B(t(i).cols,(y,M)=>(k(),S("div",To,[w("span",null,"\u7B2C"+oe(M+1)+"\u5217",1),s(O,{size:"small",onChange:U=>r(M,"cols"),modelValue:t(i).cols[M],"onUpdate:modelValue":U=>t(i).cols[M]=U,min:M===0?0:t(i).cols[M-1]+t(i).ttcc_w},null,8,["onChange","modelValue","onUpdate:modelValue","min"])]))),256))]),w("div",Bo,[Fo,w("div",Qo,[Jo,s(O,{size:"small",modelValue:t(i).ttcc_w,"onUpdate:modelValue":a[18]||(a[18]=y=>t(i).ttcc_w=y),onChange:d},null,8,["modelValue"])]),w("div",Xo,[Yo,s(O,{size:"small",modelValue:t(i).ttcc_h,"onUpdate:modelValue":a[19]||(a[19]=y=>t(i).ttcc_h=y),onChange:h},null,8,["modelValue"])])])])],2)):(k(),le(f,{key:0,description:"\u65E0\u5176\u4ED6\u914D\u7F6E\u9879"}))],64)):X("",!0),t(fe)===3?(k(),S(q,{key:3},[w("div",Go,[s(g,{type:"primary",onClick:a[20]||(a[20]=y=>t(ot)())},{default:x(()=>[Ko]),_:1}),s(g,{type:"primary",onClick:t(At)},{default:x(()=>[Zo]),_:1},8,["onClick"])]),s(z)],64)):X("",!0)]),_:1},8,["model"])])]),_:1},8,["modelValue","before-close"])}}};var tn=it(en,[["__scopeId","data-v-f0d2c87e"]]);const Se=j(!1);function ln(){try{Ie(),Se.value=!0}catch(e){console.error(e)}}const on=["id"],nn={props:{id:{type:String,default:`tiny-${Date.now()}-${~~(Math.random()*1e4)}`},htmlClass:{default:"",type:String},modelValue:{default:""},plugins:{default(){return["advlist autolink lists link image charmap preview anchor pagebreak","searchreplace wordcount visualblocks visualchars code fullscreen","insertdatetime media nonbreaking save table directionality","template help emoticons"]},type:Array},toolbar1:{default:"formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat",type:String},toolbar2:{default:"",type:String},other_options:{default(){return{}},type:Object}},emits:["update:modelValue"],setup(e,{emit:l}){const o=e,n=j("");J(()=>o.modelValue,(m,u)=>{n.value=m,d()},{immediate:!0});let c=null,r=null;function d(){var u;const m={selector:`#${o.id}`,base_url:((u=window.GLOBAL_CONFIG.tiny)!=null?u:"")+"/tiny",language:"zh-Hans",toolbar1:o.toolbar1,toolbar2:o.toolbar2,plugins:o.plugins.join(" "),autosave_restore_when_empty:!0,init_instance_callback:V=>{V.on("KeyUp",_=>{h()}),V.on("Change",_=>{V.getContent()!==o.modelValue&&h()}),V.on("init",_=>{V.setContent(n.value)}),c=V},images_upload_handler:(V,_)=>{const p=V.blob();return Wl.upload({url:"upload/main/file",data:{filedata:p},onUploadProgress(a){_(~~(a.loaded/a.total*100|0))}}).then(a=>a.code==="1"?window.GLOBAL_CONFIG.oss+a.data.url:"")}};al.init(Object.assign(m,o.other_options))}function h(){r!==null&&clearTimeout(r),r=setTimeout(()=>{},300),l("update:modelValue",c.getContent())}return Xe(()=>{n.value=o.modelValue,d()}),sl(()=>{c.destroy()}),(m,u)=>(k(),S("div",null,[we(w("textarea",{id:e.id,"onUpdate:modelValue":u[0]||(u[0]=V=>n.value=V)},null,8,on),[[il,n.value]])]))}};const me=e=>(yt("data-v-dd48bbca"),e=e(),xt(),e),an={style:{"font-size":"26px","font-weight":"800","margin-bottom":"16px","text-align":"end"}},sn=me(()=>w("span",{style:{"font-size":"12px"}},"\u5F53\u524D\u603B\u5206",-1)),un=me(()=>w("span",{style:{"font-size":"12px"}},"\u8BD5\u5377\u603B\u5206",-1)),rn={style:{display:"flex","justify-content":"space-between","margin-bottom":"6px"}},dn=E("\u5168\u9009/\u5168\u4E0D\u9009"),cn=E("\u6279\u91CF\u8BBE\u7F6E"),pn={style:{"text-align":"right"}},hn=E("\u786E\u8BA4"),fn=E("\u5206\u503C\u8BBE\u7F6E"),mn=E("\u591A\u9009\u9898\u5224\u5206\u89C4\u5219"),gn=E("\u6DFB\u52A0\u89C4\u5219"),vn={style:{"text-align":"left","margin-bottom":"1px"}},_n=E("\u9009\u5BF9"),yn=E("\u9898\u5F97"),xn=E(" \u5206\uFF1B"),bn={class:"q_row"},wn={class:"q_id"},Vn={class:"q_options"},Cn={class:"q_score"},kn=me(()=>w("span",null,"\u5206\u6570\uFF1A",-1)),zn={class:"q_options"},$n={class:"q_score"},Sn=E("\u5224\u5206\u89C4\u5219"),Ln=E("\u6DFB\u52A0\u89C4\u5219"),Mn={style:{"text-align":"left","margin-bottom":"1px"}},Un=E("\u9009\u5BF9 "),En=E("\u9898\u5F97"),qn=E(" \u5206\uFF1B"),jn=me(()=>w("span",null,"\u5206\u6570\uFF1A",-1)),Hn={class:"q_options"},Nn={class:"q_score"},An=me(()=>w("span",null,"\u5206\u6570\uFF1A",-1)),In={class:"q_options tk"},Rn={class:"q_num"},Dn=me(()=>w("span",null,"\u586B\u7A7A\u6570\uFF1A",-1)),On={class:"q_score"},Wn=me(()=>w("span",null,"\u5206\u6570\uFF1A",-1)),Pn={class:"q_options q_text"},Tn={class:"q_score"},Bn=me(()=>w("span",null,"\u5206\u6570\uFF1A",-1)),Fn={style:{"text-align":"center"}},Qn=E("\u786E\u8BA4"),Jn={setup(e){const l=j(!1),o=j(0),n=j([]),c=j({});let r=!1;function d(){r=!r,Ae.value.forEach(_=>{c.value[_]=r})}function h(){Object.keys(c.value).forEach(_=>{c.value[_]===!0&&(b.value[_].score=o.value,b.value[_].score_part=n.value)}),l.value=!1,o.value=0,n.value=[]}J(()=>Se.value,_=>{_||(l.value=!1)});function m(_,p){const a=_.substr(-1).toLocaleUpperCase(),$=a.charCodeAt()-64;$<=b.value[p].options&&$>0&&(b.value[p].answerstr=a,b.value[p].answer=$)}function u(_,p){const $=[...new Set(_.toLocaleUpperCase().split("").map(C=>C.trim()).sort())].map(C=>C.charCodeAt()-64).filter(C=>C<=b.value[p].options&&C>0);b.value[p].answerstr=$.map(C=>String.fromCharCode(C+64)).join(""),b.value[p].answer=$}function V(_,p){const $=_.substr(-1).toLocaleUpperCase().charCodeAt()-64;$===6&&(b.value[p].answerstr="F",b.value[p].answer=2),$===20&&(b.value[p].answerstr="T",b.value[p].answer=1)}return(_,p)=>{const a=Ke,$=mt,C=gt,g=ul,z=rl,D=bt,L=dl,N=cl,O=vt;return k(),le(O,{width:"1060px",modelValue:t(Se),"onUpdate:modelValue":p[5]||(p[5]=f=>Ge(Se)?Se.value=f:null),"append-to-body":"","destroy-on-close":""},{default:x(()=>[w("div",an,[E(oe(t(Re))+" ",1),sn,E(" / "+oe(t(ue))+" ",1),un]),w("div",rn,[s(a,{onClick:d},{default:x(()=>[dn]),_:1}),s(g,{placement:"bottom-end",title:"\u6279\u91CF\u8BBE\u7F6E",width:365,visible:l.value,"onUpdate:visible":p[3]||(p[3]=f=>l.value=f)},{reference:x(()=>[s(a,{onClick:p[0]||(p[0]=f=>l.value=!l.value)},{default:x(()=>[cn]),_:1})]),default:x(()=>[w("div",pn,[s(a,{type:"primary",onClick:h,size:"small"},{default:x(()=>[hn]),_:1})]),s($,{"content-position":"left"},{default:x(()=>[fn]),_:1}),s(C,{min:0,precision:1,modelValue:o.value,"onUpdate:modelValue":p[1]||(p[1]=f=>o.value=f)},null,8,["modelValue"]),s($,{"content-position":"left"},{default:x(()=>[mn]),_:1}),s(a,{style:{"margin-bottom":"4px"},onClick:p[2]||(p[2]=f=>n.value.push({}))},{default:x(()=>[gn]),_:1}),(k(!0),S(q,null,B(n.value,(f,P)=>(k(),S("div",vn,[_n,s(C,{size:"small",min:0,precision:0,modelValue:f.right_num,"onUpdate:modelValue":v=>f.right_num=v},null,8,["modelValue","onUpdate:modelValue"]),yn,s(C,{size:"small",min:0,precision:1,modelValue:f.score,"onUpdate:modelValue":v=>f.score=v},null,8,["modelValue","onUpdate:modelValue"]),xn,s(a,{type:"danger",plain:"",size:"small",icon:t(Ze),onClick:v=>n.value.splice(P,1)},null,8,["icon","onClick"])]))),256))]),_:1},8,["visible"])]),(k(!0),S(q,null,B(t(Ae),(f,P)=>(k(),S("div",{key:P},[w("div",bn,[s(z,{modelValue:c.value[f],"onUpdate:modelValue":v=>c.value[f]=v},{default:x(()=>[w("div",wn,oe(f)+".",1)]),_:2},1032,["modelValue","onUpdate:modelValue"]),t(b)[f]._type===1?(k(),S(q,{key:0},[s(D,{modelValue:t(b)[f].answerstr,placeholder:"\u8F93\u5165\u7B54\u6848\u6216\u4F7F\u7528\u9009\u62E9\u5668",onInput:v=>m(v,f),style:{width:"160px","margin-right":"20px"}},null,8,["modelValue","onInput"]),w("div",Vn,[(k(!0),S(q,null,B(t(b)[f].options,v=>(k(),le(L,{modelValue:t(b)[f].answer,"onUpdate:modelValue":y=>t(b)[f].answer=y,label:v,border:""},{default:x(()=>[E(oe(String.fromCharCode(65+v-1)),1)]),_:2},1032,["modelValue","onUpdate:modelValue","label"]))),256))]),w("div",Cn,[kn,s(C,{min:0,precision:1,modelValue:t(b)[f].score,"onUpdate:modelValue":v=>t(b)[f].score=v},null,8,["modelValue","onUpdate:modelValue"])])],64)):X("",!0),t(b)[f]._type===2?(k(),S(q,{key:1},[s(D,{modelValue:t(b)[f].answerstr,placeholder:"\u8F93\u5165\u7B54\u6848\u6216\u4F7F\u7528\u9009\u62E9\u5668",onInput:v=>u(v,f),style:{width:"160px","margin-right":"20px"}},null,8,["modelValue","onInput"]),w("div",zn,[s(N,{modelValue:t(b)[f].answer,"onUpdate:modelValue":v=>t(b)[f].answer=v},{default:x(()=>[(k(!0),S(q,null,B(t(b)[f].options,v=>(k(),le(z,{label:v,border:""},{default:x(()=>[E(oe(String.fromCharCode(65+v-1)),1)]),_:2},1032,["label"]))),256))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),w("div",$n,[s(g,{placement:"bottom-end",title:"\u5224\u5206\u89C4\u5219",width:370,trigger:"click"},{reference:x(()=>[s(a,{type:"text",style:{"margin-right":"8px"},onClick:v=>{var y;return t(b)[f].score_part=(y=t(b)[f].score_part)!=null?y:[]}},{default:x(()=>[Sn]),_:2},1032,["onClick"])]),default:x(()=>[s(a,{style:{"margin-bottom":"4px"},onClick:v=>t(b)[f].score_part.push({})},{default:x(()=>[Ln]),_:2},1032,["onClick"]),(k(!0),S(q,null,B(t(b)[f].score_part,(v,y)=>(k(),S("div",Mn,[Un,s(C,{size:"small",min:0,precision:0,modelValue:v.right_num,"onUpdate:modelValue":M=>v.right_num=M},null,8,["modelValue","onUpdate:modelValue"]),En,s(C,{size:"small",min:0,precision:1,modelValue:v.score,"onUpdate:modelValue":M=>v.score=M},null,8,["modelValue","onUpdate:modelValue"]),qn,s(a,{type:"danger",plain:"",size:"small",icon:t(Ze),onClick:M=>t(b)[f].score_part.splice(y,1)},null,8,["icon","onClick"])]))),256))]),_:2},1024),jn,s(C,{min:0,precision:1,modelValue:t(b)[f].score,"onUpdate:modelValue":v=>t(b)[f].score=v},null,8,["modelValue","onUpdate:modelValue"])])],64)):X("",!0),t(b)[f]._type===3?(k(),S(q,{key:2},[s(D,{modelValue:t(b)[f].answerstr,placeholder:"\u8F93\u5165\u7B54\u6848\u6216\u4F7F\u7528\u9009\u62E9\u5668",onInput:v=>V(v,f),style:{width:"160px","margin-right":"20px"}},null,8,["modelValue","onInput"]),w("div",Hn,[(k(!0),S(q,null,B(t(b)[f].options,v=>(k(),le(L,{modelValue:t(b)[f].answer,"onUpdate:modelValue":y=>t(b)[f].answer=y,label:v,border:""},{default:x(()=>[E(oe(["T","F"][v-1]),1)]),_:2},1032,["modelValue","onUpdate:modelValue","label"]))),256))]),w("div",Nn,[An,s(C,{min:0,precision:1,modelValue:t(b)[f].score,"onUpdate:modelValue":v=>t(b)[f].score=v},null,8,["modelValue","onUpdate:modelValue"])])],64)):X("",!0),t(b)[f]._type===4?(k(),S(q,{key:3},[w("div",In,[(k(!0),S(q,null,B(t(b)[f].options,v=>(k(),le(D,{modelValue:t(b)[f].answer[v-1],"onUpdate:modelValue":y=>t(b)[f].answer[v-1]=y,class:"tk_input",placeholder:`\u7B2C${v}\u7A7A`},{default:x(()=>[E(oe(v),1)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"]))),256))]),w("div",Rn,[Dn,s(C,{min:0,precision:0,modelValue:t(b)[f].options,"onUpdate:modelValue":v=>t(b)[f].options=v},null,8,["modelValue","onUpdate:modelValue"])]),w("div",On,[Wn,s(C,{min:0,precision:1,modelValue:t(b)[f].score,"onUpdate:modelValue":v=>t(b)[f].score=v},null,8,["modelValue","onUpdate:modelValue"])])],64)):X("",!0),t(b)[f]._type===5?(k(),S(q,{key:4},[w("div",Pn,[s(nn,{modelValue:t(b)[f].answer,"onUpdate:modelValue":v=>t(b)[f].answer=v},null,8,["modelValue","onUpdate:modelValue"])]),w("div",Tn,[Bn,s(C,{min:0,precision:1,modelValue:t(b)[f].score,"onUpdate:modelValue":v=>t(b)[f].score=v},null,8,["modelValue","onUpdate:modelValue"])])],64)):X("",!0)])]))),128)),w("div",Fn,[s(a,{size:"large",type:"primary",onClick:p[4]||(p[4]=f=>Se.value=!1)},{default:x(()=>[Qn]),_:1})])]),_:1},8,["modelValue"])}}};var Xn=it(Jn,[["__scopeId","data-v-dd48bbca"]]);const Yn={class:"container"},Gn={class:"aside la"},Kn=["onClick"],Zn=["src"],ea={class:"main"},ta={class:"toolbar"},la=E("%"),oa=E("\u4E0A\u4E00\u9875"),na=E(" \u4E0B\u4E00\u9875 "),aa=E("\u8FD4\u56DE"),sa=E("\u8BBE\u7F6E\u8BD5\u9898\u7B54\u6848"),ia=E("\u63D0\u4EA4"),ua={class:"handleWrapper"},ra=["src"],da={class:"aside ra"},ca=E("> "),pa={setup(e){pl(r=>({"59d66066":t(Xl),"11fce6c9":t(Zl),"348f5d0f":t(mo),c2836662:t(go),"482c59ac":r.ImageHeightCss,"2e993d62":t(Bl)}));const l=j(!0),o=j(!1);Pl().then(r=>{var m,u,V;const d=(m=r.data)==null?void 0:m.exam,h=(V=(u=r.data)==null?void 0:u.format)==null?void 0:V.info;if(ue.value=d.shijuan_score*1,h!==void 0&&wo(h),!Array.isArray(d.fj_content)||d.fj_content.length===0)throw new Error(0);Z.length=0,d.fj_content.forEach(({url:_,name:p},a)=>{if(typeof _=="string"&&_.length!==0)Z.push({idx:a,img:_,name:p});else throw console.error("\u56FE\u7247url\u9519\u8BEF",_),new Error(0)})}).then(()=>vo(Z[0].img)).then(()=>{l.value=!1,o.value=!0}).then(()=>Je(0)).catch(()=>{qe.error("\u672A\u68C0\u6D4B\u5230\u7B54\u9898\u5361"),l.value=!1});function n(r,d){return r===""||r===void 0?d:r+"_"+d}function c(r){var h,m,u,V,_,p,a,$,C,g;const d=(m=(h=r.row)==null?void 0:h.form)==null?void 0:m.areatype;if(d===void 0)return"\u672A\u8BBE\u7F6E";{const z=Tt[(V=(u=r.row)==null?void 0:u.form)==null?void 0:V.areatype];return[6,7,8].includes(d)?z+" [\u9898\u53F7"+n((_=r.row)==null?void 0:_.form.ssdt,(p=r.row)==null?void 0:p.form.qsth)+"-"+n((a=r.row)==null?void 0:a.form.ssdt,($=r.row)==null?void 0:$.form.jsth)+"]":[9,10].includes(d)?z+" [\u9898\u53F7"+n((C=r.row)==null?void 0:C.form.ssdt,(g=r.row)==null?void 0:g.form.qsth)+"]":z}}return(r,d)=>{const h=hl,m=Ke,u=bt,V=fl,_=ml,p=gl,a=vl,$=_l,C=yl;return k(),le($,{locale:t(xl),zIndex:300},{default:x(()=>[we((k(),S("section",Yn,[l.value?X("",!0):(k(),S(q,{key:0},[w("aside",Gn,[s(h,{class:"scrollbar"},{default:x(()=>[(k(!0),S(q,null,B(t(Z),g=>(k(),S("div",{key:g.idx,class:_t(["paperItem",{actived:t(ye)===g.idx}]),onClick:z=>t(Je)(g.idx)},[w("img",{class:"paperImg",src:g.img,draggable:"false"},null,8,Zn)],10,Kn))),128))]),_:1})]),w("main",ea,[w("div",ta,[we(s(m,{icon:t(wt),onClick:t(Yl)},null,8,["icon","onClick"]),[[Pe,!t(He)]]),we(s(m,{icon:t(Vt),onClick:t(Gl)},null,8,["icon","onClick"]),[[Pe,t(He)]]),w("div",null,[s(m,{icon:t(bl),onClick:t(Ql)},null,8,["icon","onClick"]),s(u,{style:{width:"140px"},modelValue:t(re),"onUpdate:modelValue":d[0]||(d[0]=g=>Ge(re)?re.value=g:null)},{append:x(()=>[la]),_:1},8,["modelValue"]),s(m,{icon:t(wl),onClick:t(Fl)},null,8,["icon","onClick"])]),s(m,{icon:t(Vl),onClick:t(bo)},null,8,["icon","onClick"]),s(_,null,{default:x(()=>[s(m,{icon:t(Cl),onClick:t(oo)},{default:x(()=>[oa]),_:1},8,["icon","onClick"]),s(m,{onClick:t(lo)},{default:x(()=>[na,s(V,{class:"el-icon--right"},{default:x(()=>[s(t(kl))]),_:1})]),_:1},8,["onClick"])]),_:1}),s(m,{onClick:t(yo)},{default:x(()=>[aa]),_:1},8,["onClick"]),s(m,{onClick:t(ln),type:"primary",disabled:!o.value},{default:x(()=>[sa]),_:1},8,["onClick","disabled"]),s(m,{onClick:t(xo),type:"primary",disabled:!o.value},{default:x(()=>[ia]),_:1},8,["onClick","disabled"]),we(s(m,{icon:t(Vt),onClick:t(eo)},null,8,["icon","onClick"]),[[Pe,!t(Ne)]]),we(s(m,{icon:t(wt),onClick:t(to)},null,8,["icon","onClick"]),[[Pe,t(Ne)]])]),w("div",ua,[s(t(Lt),{class:"handleBar",onDragstart:Te(t(io),["stop"]),onDrag:Te(t(uo),["stop"]),onDragend:Te(t(ro),["stop"]),onDragover:Te(t(co),["stop"]),draggable:"true"},{default:x(()=>[w("img",{class:"mainImg",src:t(Z)[t(ye)].img},null,8,ra),(k(!0),S(q,null,B(t(F).filter(g=>g.paper===t(ye)),(g,z)=>(k(),S("div",{style:We({position:"absolute",left:Math.min(g.x,g.x2)+"px",top:Math.min(g.y,g.y2)+"px",width:Math.abs(g.x2-g.x)+"px",height:Math.abs(g.y2-g.y)+"px",backgroundColor:t(Ot)===g.hash?"#409eff80":"#409eff30",zIndex:15})},null,4))),256))]),_:1},8,["onDragstart","onDrag","onDragend","onDragover"])])]),w("aside",da,[s(h,{style:{height:"100%"}},{default:x(()=>[s(a,{data:t(F),"highlight-current-row":"",onCurrentChange:t(po),size:"small"},{default:x(()=>[s(p,{type:"index",label:"\u5E8F\u53F7",width:"44"}),s(p,{label:"\u7C7B\u578B",width:"auto"},{default:x(g=>[w("span",{style:We(g.row.disuse&&"text-decoration:line-through;color:var(--el-text-color-disabled)")},oe(c(g)),5)]),_:1}),ca,s(p,{prop:"paper",label:"\u9875\u7801",width:"44"},{default:x(g=>[w("span",null,oe(g.row.paper+1),1)]),_:1}),s(p,{fixed:"right",label:"\u64CD\u4F5C",width:"60"},{default:x(g=>[s(m,{type:"text",size:"small",icon:t(zl),onClick:z=>t(Nt)(g.$index,g.row)},null,8,["icon","onClick"]),s(m,{type:"text",size:"small",icon:t(Ze),onClick:z=>t(no)(g.$index)},null,8,["icon","onClick"])]),_:1})]),_:1},8,["data","onCurrentChange"])]),_:1})]),s(tn),s(Xn)],64))])),[[C,l.value]])]),_:1},8,["locale"])}}};var ha=it(pa,[["__scopeId","data-v-67bd98a2"]]);const fa=$l(ha);fa.mount("#app");