yqform-h5 0.1.30 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12288,7 +12288,7 @@ const OE = {
12288
12288
  created() {
12289
12289
  this.item.type === "rate" && (this.rateValue = 1), this.initDependValue(), this.item.type === "phone" && this.item.autoFill && this.item.autoFill.auto && this.item.autoFill.config && (this.textValue = this.item.autoFill.config()), this.item.type === "identity" && !this.item.emsg && (this.item.emsg = "身份证格式不正确");
12290
12290
  }
12291
- }, wl = (e) => (sd("data-v-c5135f27"), e = e(), ld(), e), DE = {
12291
+ }, wl = (e) => (sd("data-v-2666bb90"), e = e(), ld(), e), DE = {
12292
12292
  key: 0,
12293
12293
  class: "form-item-container"
12294
12294
  }, PE = {
@@ -12477,6 +12477,7 @@ function Sx(e, t, n, o, a, s) {
12477
12477
  disabled: s.disableItem,
12478
12478
  modelValue: a.checkboxValue,
12479
12479
  "onUpdate:modelValue": t[4] || (t[4] = (O) => a.checkboxValue = O),
12480
+ max: Number(n.item.max),
12480
12481
  onChange: s.dependChange
12481
12482
  }, {
12482
12483
  default: Xe(() => [
@@ -12492,7 +12493,7 @@ function Sx(e, t, n, o, a, s) {
12492
12493
  }, 1032, ["name"]))), 128))
12493
12494
  ]),
12494
12495
  _: 1
12495
- }, 8, ["disabled", "modelValue", "onChange"])) : _e("", !0),
12496
+ }, 8, ["disabled", "modelValue", "max", "onChange"])) : _e("", !0),
12496
12497
  n.item.type === "slider" ? (ne(), le("div", YE, [
12497
12498
  ye("div", QE, be(n.item.range.min), 1),
12498
12499
  b(x, {
@@ -12898,7 +12899,7 @@ function Sx(e, t, n, o, a, s) {
12898
12899
  }, 8, ["show"])
12899
12900
  ])) : _e("", !0);
12900
12901
  }
12901
- const cm = /* @__PURE__ */ po(OE, [["render", Sx], ["__scopeId", "data-v-c5135f27"]]);
12902
+ const cm = /* @__PURE__ */ po(OE, [["render", Sx], ["__scopeId", "data-v-2666bb90"]]);
12902
12903
  /*!
12903
12904
  * vue-draggable-next v2.2.0
12904
12905
  * (c) 2023 Anish George
@@ -30,7 +30,7 @@ function print() { __p += __j.call(arguments, '') }
30
30
  `)+ne+`return __p
31
31
  }`;var Ne=K2(function(){return He(S,me+"return "+ne).apply(n,V)});if(Ne.source=ne,rd(Ne))throw Ne;return Ne}function cV(r){return Ke(r).toLowerCase()}function uV(r){return Ke(r).toUpperCase()}function dV(r,i,c){if(r=Ke(r),r&&(c||i===n))return Zh(r);if(!r||!(i=en(i)))return r;var m=In(r),y=In(i),S=em(m,y),V=tm(m,y)+1;return Br(m,S,V).join("")}function fV(r,i,c){if(r=Ke(r),r&&(c||i===n))return r.slice(0,rm(r)+1);if(!r||!(i=en(i)))return r;var m=In(r),y=tm(m,In(i))+1;return Br(m,0,y).join("")}function hV(r,i,c){if(r=Ke(r),r&&(c||i===n))return r.replace(ru,"");if(!r||!(i=en(i)))return r;var m=In(r),y=em(m,In(i));return Br(m,y).join("")}function mV(r,i){var c=K,m=P;if(Je(i)){var y="separator"in i?i.separator:y;c="length"in i?Te(i.length):c,m="omission"in i?en(i.omission):m}r=Ke(r);var S=r.length;if(Fo(r)){var V=In(r);S=V.length}if(c>=S)return r;var B=c-Lo(m);if(B<1)return m;var U=V?Br(V,0,B).join(""):r.slice(0,B);if(y===n)return U+m;if(V&&(B+=U.length-B),od(y)){if(r.slice(B).search(y)){var J,ee=U;for(y.global||(y=vu(y.source,Ke(Ch.exec(y))+"g")),y.lastIndex=0;J=y.exec(ee);)var ne=J.index;U=U.slice(0,ne===n?B:ne)}}else if(r.indexOf(en(y),B)!=B){var le=U.lastIndexOf(y);le>-1&&(U=U.slice(0,le))}return U+m}function gV(r){return r=Ke(r),r&&k7.test(r)?r.replace(bh,Kx):r}var pV=Yo(function(r,i,c){return r+(c?" ":"")+i.toUpperCase()}),ld=Ym("toUpperCase");function z2(r,i,c){return r=Ke(r),i=c?n:i,i===n?Mx(r)?$x(r):Tx(r):r.match(i)||[]}var K2=Be(function(r,i){try{return Jt(r,n,i)}catch(c){return rd(c)?c:new ke(c)}}),yV=ar(function(r,i){return hn(i,function(c){c=Wn(c),or(r,c,td(r[c],r))}),r});function bV(r){var i=r==null?0:r.length,c=ye();return r=i?je(r,function(m){if(typeof m[1]!="function")throw new mn(u);return[c(m[0]),m[1]]}):[],Be(function(m){for(var y=-1;++y<i;){var S=r[y];if(Jt(S[0],this,m))return Jt(S[1],this,m)}})}function wV(r){return K_(pn(r,p))}function sd(r){return function(){return r}}function vV(r,i){return r==null||r!==r?i:r}var CV=$m(),EV=$m(!0);function Yt(r){return r}function cd(r){return xm(typeof r=="function"?r:pn(r,p))}function xV(r){return Sm(pn(r,p))}function _V(r,i){return km(r,pn(i,p))}var SV=Be(function(r,i){return function(c){return Ki(c,r,i)}}),kV=Be(function(r,i){return function(c){return Ki(r,c,i)}});function ud(r,i,c){var m=bt(i),y=Ml(i,m);c==null&&!(Je(i)&&(y.length||!m.length))&&(c=i,i=r,r=this,y=Ml(i,bt(i)));var S=!(Je(c)&&"chain"in c)||!!c.chain,V=sr(r);return hn(y,function(B){var U=i[B];r[B]=U,V&&(r.prototype[B]=function(){var J=this.__chain__;if(S||J){var ee=r(this.__wrapped__),ne=ee.__actions__=Wt(this.__actions__);return ne.push({func:U,args:arguments,thisArg:r}),ee.__chain__=J,ee}return U.apply(r,kr([this.value()],arguments))})}),r}function AV(){return Ct._===this&&(Ct._=Zx),this}function dd(){}function IV(r){return r=Te(r),Be(function(i){return Am(i,r)})}var VV=Wu(je),TV=Wu(Gh),NV=Wu(hu);function Y2(r){return qu(r)?mu(Wn(r)):lS(r)}function BV(r){return function(i){return r==null?n:Jr(r,i)}}var DV=qm(),OV=qm(!0);function fd(){return[]}function hd(){return!1}function PV(){return{}}function RV(){return""}function FV(){return!0}function LV(r,i){if(r=Te(r),r<1||r>Z)return[];var c=$,m=Vt(r,$);i=ye(i),r-=$;for(var y=yu(m,i);++c<r;)i(c);return y}function MV(r){return Ie(r)?je(r,Wn):tn(r)?[r]:Wt(d2(Ke(r)))}function UV(r){var i=++Xx;return Ke(r)+i}var HV=Yl(function(r,i){return r+i},0),WV=zu("ceil"),zV=Yl(function(r,i){return r/i},1),KV=zu("floor");function YV(r){return r&&r.length?Ll(r,Yt,Iu):n}function QV(r,i){return r&&r.length?Ll(r,ye(i,2),Iu):n}function $V(r){return Xh(r,Yt)}function GV(r,i){return Xh(r,ye(i,2))}function qV(r){return r&&r.length?Ll(r,Yt,Bu):n}function jV(r,i){return r&&r.length?Ll(r,ye(i,2),Bu):n}var XV=Yl(function(r,i){return r*i},1),JV=zu("round"),ZV=Yl(function(r,i){return r-i},0);function e8(r){return r&&r.length?pu(r,Yt):0}function t8(r,i){return r&&r.length?pu(r,ye(i,2)):0}return E.after=xA,E.ary=E2,E.assign=uI,E.assignIn=R2,E.assignInWith=os,E.assignWith=dI,E.at=fI,E.before=x2,E.bind=td,E.bindAll=yV,E.bindKey=_2,E.castArray=PA,E.chain=w2,E.chunk=KS,E.compact=YS,E.concat=QS,E.cond=bV,E.conforms=wV,E.constant=sd,E.countBy=eA,E.create=hI,E.curry=S2,E.curryRight=k2,E.debounce=A2,E.defaults=mI,E.defaultsDeep=gI,E.defer=_A,E.delay=SA,E.difference=$S,E.differenceBy=GS,E.differenceWith=qS,E.drop=jS,E.dropRight=XS,E.dropRightWhile=JS,E.dropWhile=ZS,E.fill=ek,E.filter=nA,E.flatMap=iA,E.flatMapDeep=aA,E.flatMapDepth=lA,E.flatten=g2,E.flattenDeep=tk,E.flattenDepth=nk,E.flip=kA,E.flow=CV,E.flowRight=EV,E.fromPairs=rk,E.functions=EI,E.functionsIn=xI,E.groupBy=sA,E.initial=ik,E.intersection=ak,E.intersectionBy=lk,E.intersectionWith=sk,E.invert=SI,E.invertBy=kI,E.invokeMap=uA,E.iteratee=cd,E.keyBy=dA,E.keys=bt,E.keysIn=Kt,E.map=Jl,E.mapKeys=II,E.mapValues=VI,E.matches=xV,E.matchesProperty=_V,E.memoize=es,E.merge=TI,E.mergeWith=F2,E.method=SV,E.methodOf=kV,E.mixin=ud,E.negate=ts,E.nthArg=IV,E.omit=NI,E.omitBy=BI,E.once=AA,E.orderBy=fA,E.over=VV,E.overArgs=IA,E.overEvery=TV,E.overSome=NV,E.partial=nd,E.partialRight=I2,E.partition=hA,E.pick=DI,E.pickBy=L2,E.property=Y2,E.propertyOf=BV,E.pull=fk,E.pullAll=y2,E.pullAllBy=hk,E.pullAllWith=mk,E.pullAt=gk,E.range=DV,E.rangeRight=OV,E.rearg=VA,E.reject=pA,E.remove=pk,E.rest=TA,E.reverse=Zu,E.sampleSize=bA,E.set=PI,E.setWith=RI,E.shuffle=wA,E.slice=yk,E.sortBy=EA,E.sortedUniq=_k,E.sortedUniqBy=Sk,E.split=iV,E.spread=NA,E.tail=kk,E.take=Ak,E.takeRight=Ik,E.takeRightWhile=Vk,E.takeWhile=Tk,E.tap=Yk,E.throttle=BA,E.thru=Xl,E.toArray=D2,E.toPairs=M2,E.toPairsIn=U2,E.toPath=MV,E.toPlainObject=P2,E.transform=FI,E.unary=DA,E.union=Nk,E.unionBy=Bk,E.unionWith=Dk,E.uniq=Ok,E.uniqBy=Pk,E.uniqWith=Rk,E.unset=LI,E.unzip=ed,E.unzipWith=b2,E.update=MI,E.updateWith=UI,E.values=Go,E.valuesIn=HI,E.without=Fk,E.words=z2,E.wrap=OA,E.xor=Lk,E.xorBy=Mk,E.xorWith=Uk,E.zip=Hk,E.zipObject=Wk,E.zipObjectDeep=zk,E.zipWith=Kk,E.entries=M2,E.entriesIn=U2,E.extend=R2,E.extendWith=os,ud(E,E),E.add=HV,E.attempt=K2,E.camelCase=YI,E.capitalize=H2,E.ceil=WV,E.clamp=WI,E.clone=RA,E.cloneDeep=LA,E.cloneDeepWith=MA,E.cloneWith=FA,E.conformsTo=UA,E.deburr=W2,E.defaultTo=vV,E.divide=zV,E.endsWith=QI,E.eq=Tn,E.escape=$I,E.escapeRegExp=GI,E.every=tA,E.find=rA,E.findIndex=h2,E.findKey=pI,E.findLast=oA,E.findLastIndex=m2,E.findLastKey=yI,E.floor=KV,E.forEach=v2,E.forEachRight=C2,E.forIn=bI,E.forInRight=wI,E.forOwn=vI,E.forOwnRight=CI,E.get=id,E.gt=HA,E.gte=WA,E.has=_I,E.hasIn=ad,E.head=p2,E.identity=Yt,E.includes=cA,E.indexOf=ok,E.inRange=zI,E.invoke=AI,E.isArguments=to,E.isArray=Ie,E.isArrayBuffer=zA,E.isArrayLike=zt,E.isArrayLikeObject=at,E.isBoolean=KA,E.isBuffer=Dr,E.isDate=YA,E.isElement=QA,E.isEmpty=$A,E.isEqual=GA,E.isEqualWith=qA,E.isError=rd,E.isFinite=jA,E.isFunction=sr,E.isInteger=V2,E.isLength=ns,E.isMap=T2,E.isMatch=XA,E.isMatchWith=JA,E.isNaN=ZA,E.isNative=eI,E.isNil=nI,E.isNull=tI,E.isNumber=N2,E.isObject=Je,E.isObjectLike=it,E.isPlainObject=ji,E.isRegExp=od,E.isSafeInteger=rI,E.isSet=B2,E.isString=rs,E.isSymbol=tn,E.isTypedArray=$o,E.isUndefined=oI,E.isWeakMap=iI,E.isWeakSet=aI,E.join=ck,E.kebabCase=qI,E.last=bn,E.lastIndexOf=uk,E.lowerCase=jI,E.lowerFirst=XI,E.lt=lI,E.lte=sI,E.max=YV,E.maxBy=QV,E.mean=$V,E.meanBy=GV,E.min=qV,E.minBy=jV,E.stubArray=fd,E.stubFalse=hd,E.stubObject=PV,E.stubString=RV,E.stubTrue=FV,E.multiply=XV,E.nth=dk,E.noConflict=AV,E.noop=dd,E.now=Zl,E.pad=JI,E.padEnd=ZI,E.padStart=eV,E.parseInt=tV,E.random=KI,E.reduce=mA,E.reduceRight=gA,E.repeat=nV,E.replace=rV,E.result=OI,E.round=JV,E.runInContext=L,E.sample=yA,E.size=vA,E.snakeCase=oV,E.some=CA,E.sortedIndex=bk,E.sortedIndexBy=wk,E.sortedIndexOf=vk,E.sortedLastIndex=Ck,E.sortedLastIndexBy=Ek,E.sortedLastIndexOf=xk,E.startCase=aV,E.startsWith=lV,E.subtract=ZV,E.sum=e8,E.sumBy=t8,E.template=sV,E.times=LV,E.toFinite=cr,E.toInteger=Te,E.toLength=O2,E.toLower=cV,E.toNumber=wn,E.toSafeInteger=cI,E.toString=Ke,E.toUpper=uV,E.trim=dV,E.trimEnd=fV,E.trimStart=hV,E.truncate=mV,E.unescape=gV,E.uniqueId=UV,E.upperCase=pV,E.upperFirst=ld,E.each=v2,E.eachRight=C2,E.first=p2,ud(E,function(){var r={};return Un(E,function(i,c){Ye.call(E.prototype,c)||(r[c]=i)}),r}(),{chain:!1}),E.VERSION=a,hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){E[r].placeholder=E}),hn(["drop","take"],function(r,i){Oe.prototype[r]=function(c){c=c===n?1:yt(Te(c),0);var m=this.__filtered__&&!i?new Oe(this):this.clone();return m.__filtered__?m.__takeCount__=Vt(c,m.__takeCount__):m.__views__.push({size:Vt(c,$),type:r+(m.__dir__<0?"Right":"")}),m},Oe.prototype[r+"Right"]=function(c){return this.reverse()[r](c).reverse()}}),hn(["filter","map","takeWhile"],function(r,i){var c=i+1,m=c==Y||c==H;Oe.prototype[r]=function(y){var S=this.clone();return S.__iteratees__.push({iteratee:ye(y,3),type:c}),S.__filtered__=S.__filtered__||m,S}}),hn(["head","last"],function(r,i){var c="take"+(i?"Right":"");Oe.prototype[r]=function(){return this[c](1).value()[0]}}),hn(["initial","tail"],function(r,i){var c="drop"+(i?"":"Right");Oe.prototype[r]=function(){return this.__filtered__?new Oe(this):this[c](1)}}),Oe.prototype.compact=function(){return this.filter(Yt)},Oe.prototype.find=function(r){return this.filter(r).head()},Oe.prototype.findLast=function(r){return this.reverse().find(r)},Oe.prototype.invokeMap=Be(function(r,i){return typeof r=="function"?new Oe(this):this.map(function(c){return Ki(c,r,i)})}),Oe.prototype.reject=function(r){return this.filter(ts(ye(r)))},Oe.prototype.slice=function(r,i){r=Te(r);var c=this;return c.__filtered__&&(r>0||i<0)?new Oe(c):(r<0?c=c.takeRight(-r):r&&(c=c.drop(r)),i!==n&&(i=Te(i),c=i<0?c.dropRight(-i):c.take(i-r)),c)},Oe.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Oe.prototype.toArray=function(){return this.take($)},Un(Oe.prototype,function(r,i){var c=/^(?:filter|find|map|reject)|While$/.test(i),m=/^(?:head|last)$/.test(i),y=E[m?"take"+(i=="last"?"Right":""):i],S=m||/^find/.test(i);y&&(E.prototype[i]=function(){var V=this.__wrapped__,B=m?[1]:arguments,U=V instanceof Oe,J=B[0],ee=U||Ie(V),ne=function(De){var Pe=y.apply(E,kr([De],B));return m&&le?Pe[0]:Pe};ee&&c&&typeof J=="function"&&J.length!=1&&(U=ee=!1);var le=this.__chain__,me=!!this.__actions__.length,we=S&&!le,Ne=U&&!me;if(!S&&ee){V=Ne?V:new Oe(this);var ve=r.apply(V,B);return ve.__actions__.push({func:Xl,args:[ne],thisArg:n}),new gn(ve,le)}return we&&Ne?r.apply(this,B):(ve=this.thru(ne),we?m?ve.value()[0]:ve.value():ve)})}),hn(["pop","push","shift","sort","splice","unshift"],function(r){var i=xl[r],c=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);E.prototype[r]=function(){var y=arguments;if(m&&!this.__chain__){var S=this.value();return i.apply(Ie(S)?S:[],y)}return this[c](function(V){return i.apply(Ie(V)?V:[],y)})}}),Un(Oe.prototype,function(r,i){var c=E[i];if(c){var m=c.name+"";Ye.call(Wo,m)||(Wo[m]=[]),Wo[m].push({name:i,func:c})}}),Wo[Kl(n,x).name]=[{name:"wrapper",func:n}],Oe.prototype.clone=g_,Oe.prototype.reverse=p_,Oe.prototype.value=y_,E.prototype.at=Qk,E.prototype.chain=$k,E.prototype.commit=Gk,E.prototype.next=qk,E.prototype.plant=Xk,E.prototype.reverse=Jk,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=Zk,E.prototype.first=E.prototype.head,Fi&&(E.prototype[Fi]=jk),E},Mo=Gx();$r?(($r.exports=Mo)._=Mo,cu._=Mo):Ct._=Mo}).call(uo)}(ca,ca.exports);var C4=ca.exports;const Vf=Af(C4);function E4(){return Math.random().toString(36).substr(2,6)}function x4(){return"key"+E4()}function _4(e){return/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}(\d|X|x)$/.test(e)}function ri(e){e=e.replace(/^data:image\/(png|jpg|jpeg|gif|bmp);base64,/,"");const t=atob(e);let n=t.length;const a=new Uint8Array(n);for(let u=0;u<n;u++)a[u]=t.charCodeAt(u);const l=(a.length/1024).toFixed(2),s=(l/1024).toFixed(2);return{kb:l,mb:s}}function Tf(e,t){const n=new Image;let a=400,l=400;const{mb:s,kb:u}=ri(e.url);console.log("[ init size ] >",s,u);function f(h){if(s<=1){if(h>1e3)return 500}else if(s<=3){if(h>2e3)return 500;if(h>1e3)return 400}else if(h>1e3)return 600;return 200}n.onload=function(){const h=document.createElement("canvas");let d=n.width,g=n.height;u<100?(a=d,l=g):(a=f(d),l=f(g)),d>a?(g*=a/d,d=a):g>l&&(d*=l/g,g=l),h.height=g,h.width=d;let p=h.getContext("2d");p.clearRect(0,0,d,g),p.drawImage(n,0,0,d,g);const w=h.toDataURL(e.type),{kb:_,mb:v}=ri(w);_&&v&&console.log("[ after size ] >",v,_),t(w)},n.src=e.url}function Nf(e,t){return function(){return e.apply(t,arguments)}}const{toString:S4}=Object.prototype,{getPrototypeOf:Bs}=Object,ua=(e=>t=>{const n=S4.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pn=e=>(e=e.toLowerCase(),t=>ua(t)===e),da=e=>t=>typeof t===e,{isArray:fo}=Array,oi=da("undefined");function k4(e){return e!==null&&!oi(e)&&e.constructor!==null&&!oi(e.constructor)&&sn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bf=Pn("ArrayBuffer");function A4(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bf(e.buffer),t}const I4=da("string"),sn=da("function"),Df=da("number"),fa=e=>e!==null&&typeof e=="object",V4=e=>e===!0||e===!1,ha=e=>{if(ua(e)!=="object")return!1;const t=Bs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},T4=Pn("Date"),N4=Pn("File"),B4=Pn("Blob"),D4=Pn("FileList"),O4=e=>fa(e)&&sn(e.pipe),P4=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||sn(e.append)&&((t=ua(e))==="formdata"||t==="object"&&sn(e.toString)&&e.toString()==="[object FormData]"))},R4=Pn("URLSearchParams"),F4=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ii(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let a,l;if(typeof e!="object"&&(e=[e]),fo(e))for(a=0,l=e.length;a<l;a++)t.call(null,e[a],a,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),u=s.length;let f;for(a=0;a<u;a++)f=s[a],t.call(null,e[f],f,e)}}function Of(e,t){t=t.toLowerCase();const n=Object.keys(e);let a=n.length,l;for(;a-- >0;)if(l=n[a],t===l.toLowerCase())return l;return null}const Pf=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Rf=e=>!oi(e)&&e!==Pf;function Ds(){const{caseless:e}=Rf(this)&&this||{},t={},n=(a,l)=>{const s=e&&Of(t,l)||l;ha(t[s])&&ha(a)?t[s]=Ds(t[s],a):ha(a)?t[s]=Ds({},a):fo(a)?t[s]=a.slice():t[s]=a};for(let a=0,l=arguments.length;a<l;a++)arguments[a]&&ii(arguments[a],n);return t}const L4=(e,t,n,{allOwnKeys:a}={})=>(ii(t,(l,s)=>{n&&sn(l)?e[s]=Nf(l,n):e[s]=l},{allOwnKeys:a}),e),M4=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),U4=(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},H4=(e,t,n,a)=>{let l,s,u;const f={};if(t=t||{},e==null)return t;do{for(l=Object.getOwnPropertyNames(e),s=l.length;s-- >0;)u=l[s],(!a||a(u,e,t))&&!f[u]&&(t[u]=e[u],f[u]=!0);e=n!==!1&&Bs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},W4=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return a!==-1&&a===n},z4=e=>{if(!e)return null;if(fo(e))return e;let t=e.length;if(!Df(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},K4=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bs(Uint8Array)),Y4=(e,t)=>{const a=(e&&e[Symbol.iterator]).call(e);let l;for(;(l=a.next())&&!l.done;){const s=l.value;t.call(e,s[0],s[1])}},Q4=(e,t)=>{let n;const a=[];for(;(n=e.exec(t))!==null;)a.push(n);return a},$4=Pn("HTMLFormElement"),G4=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,l){return a.toUpperCase()+l}),Ff=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),q4=Pn("RegExp"),Lf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};ii(n,(l,s)=>{t(l,s,e)!==!1&&(a[s]=l)}),Object.defineProperties(e,a)},j4=e=>{Lf(e,(t,n)=>{if(sn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const a=e[n];if(sn(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},X4=(e,t)=>{const n={},a=l=>{l.forEach(s=>{n[s]=!0})};return fo(e)?a(e):a(String(e).split(t)),n},J4=()=>{},Z4=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Os="abcdefghijklmnopqrstuvwxyz",Mf="0123456789",Uf={DIGIT:Mf,ALPHA:Os,ALPHA_DIGIT:Os+Os.toUpperCase()+Mf},ey=(e=16,t=Uf.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n};function ty(e){return!!(e&&sn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ny=e=>{const t=new Array(10),n=(a,l)=>{if(fa(a)){if(t.indexOf(a)>=0)return;if(!("toJSON"in a)){t[l]=a;const s=fo(a)?[]:{};return ii(a,(u,f)=>{const h=n(u,l+1);!oi(h)&&(s[f]=h)}),t[l]=void 0,s}}return a};return n(e,0)},ry=Pn("AsyncFunction"),X={isArray:fo,isArrayBuffer:Bf,isBuffer:k4,isFormData:P4,isArrayBufferView:A4,isString:I4,isNumber:Df,isBoolean:V4,isObject:fa,isPlainObject:ha,isUndefined:oi,isDate:T4,isFile:N4,isBlob:B4,isRegExp:q4,isFunction:sn,isStream:O4,isURLSearchParams:R4,isTypedArray:K4,isFileList:D4,forEach:ii,merge:Ds,extend:L4,trim:F4,stripBOM:M4,inherits:U4,toFlatObject:H4,kindOf:ua,kindOfTest:Pn,endsWith:W4,toArray:z4,forEachEntry:Y4,matchAll:Q4,isHTMLForm:$4,hasOwnProperty:Ff,hasOwnProp:Ff,reduceDescriptors:Lf,freezeMethods:j4,toObjectSet:X4,toCamelCase:G4,noop:J4,toFiniteNumber:Z4,findKey:Of,global:Pf,isContextDefined:Rf,ALPHABET:Uf,generateString:ey,isSpecCompliantForm:ty,toJSONObject:ny,isAsyncFn:ry,isThenable:e=>e&&(fa(e)||sn(e))&&sn(e.then)&&sn(e.catch)};function Re(e,t,n,a,l){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),a&&(this.request=a),l&&(this.response=l)}X.inherits(Re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Hf=Re.prototype,Wf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Wf[e]={value:e}}),Object.defineProperties(Re,Wf),Object.defineProperty(Hf,"isAxiosError",{value:!0}),Re.from=(e,t,n,a,l,s)=>{const u=Object.create(Hf);return X.toFlatObject(e,u,function(h){return h!==Error.prototype},f=>f!=="isAxiosError"),Re.call(u,e.message,t,n,a,l),u.cause=e,u.name=e.name,s&&Object.assign(u,s),u};const oy=null;function Ps(e){return X.isPlainObject(e)||X.isArray(e)}function zf(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function Kf(e,t,n){return e?e.concat(t).map(function(l,s){return l=zf(l),!n&&s?"["+l+"]":l}).join(n?".":""):t}function iy(e){return X.isArray(e)&&!e.some(Ps)}const ay=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function ma(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,C){return!X.isUndefined(C[b])});const a=n.metaTokens,l=n.visitor||g,s=n.dots,u=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(l))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(X.isDate(v))return v.toISOString();if(!h&&X.isBlob(v))throw new Re("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(v)||X.isTypedArray(v)?h&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function g(v,b,C){let x=v;if(v&&!C&&typeof v=="object"){if(X.endsWith(b,"{}"))b=a?b:b.slice(0,-2),v=JSON.stringify(v);else if(X.isArray(v)&&iy(v)||(X.isFileList(v)||X.endsWith(b,"[]"))&&(x=X.toArray(v)))return b=zf(b),x.forEach(function(I,A){!(X.isUndefined(I)||I===null)&&t.append(u===!0?Kf([b],A,s):u===null?b:b+"[]",d(I))}),!1}return Ps(v)?!0:(t.append(Kf(C,b,s),d(v)),!1)}const p=[],w=Object.assign(ay,{defaultVisitor:g,convertValue:d,isVisitable:Ps});function _(v,b){if(!X.isUndefined(v)){if(p.indexOf(v)!==-1)throw Error("Circular reference detected in "+b.join("."));p.push(v),X.forEach(v,function(x,k){(!(X.isUndefined(x)||x===null)&&l.call(t,x,X.isString(k)?k.trim():k,b,w))===!0&&_(x,b?b.concat(k):[k])}),p.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return _(e),t}function Yf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function Rs(e,t){this._pairs=[],e&&ma(e,this,t)}const Qf=Rs.prototype;Qf.append=function(t,n){this._pairs.push([t,n])},Qf.toString=function(t){const n=t?function(a){return t.call(this,a,Yf)}:Yf;return this._pairs.map(function(l){return n(l[0])+"="+n(l[1])},"").join("&")};function ly(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $f(e,t,n){if(!t)return e;const a=n&&n.encode||ly,l=n&&n.serialize;let s;if(l?s=l(t,n):s=X.isURLSearchParams(t)?t.toString():new Rs(t,n).toString(a),s){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class sy{constructor(){this.handlers=[]}use(t,n,a){return this.handlers.push({fulfilled:t,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(a){a!==null&&t(a)})}}const Gf=sy,qf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},cy=typeof URLSearchParams<"u"?URLSearchParams:Rs,uy=typeof FormData<"u"?FormData:null,dy=typeof Blob<"u"?Blob:null,fy=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),hy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Rn={isBrowser:!0,classes:{URLSearchParams:cy,FormData:uy,Blob:dy},isStandardBrowserEnv:fy,isStandardBrowserWebWorkerEnv:hy,protocols:["http","https","file","blob","url","data"]};function my(e,t){return ma(e,new Rn.classes.URLSearchParams,Object.assign({visitor:function(n,a,l,s){return Rn.isNode&&X.isBuffer(n)?(this.append(a,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function gy(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function py(e){const t={},n=Object.keys(e);let a;const l=n.length;let s;for(a=0;a<l;a++)s=n[a],t[s]=e[s];return t}function jf(e){function t(n,a,l,s){let u=n[s++];const f=Number.isFinite(+u),h=s>=n.length;return u=!u&&X.isArray(l)?l.length:u,h?(X.hasOwnProp(l,u)?l[u]=[l[u],a]:l[u]=a,!f):((!l[u]||!X.isObject(l[u]))&&(l[u]=[]),t(n,a,l[u],s)&&X.isArray(l[u])&&(l[u]=py(l[u])),!f)}if(X.isFormData(e)&&X.isFunction(e.entries)){const n={};return X.forEachEntry(e,(a,l)=>{t(gy(a),l,n,0)}),n}return null}const yy={"Content-Type":void 0};function by(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}const ga={transitional:qf,adapter:["xhr","http"],transformRequest:[function(t,n){const a=n.getContentType()||"",l=a.indexOf("application/json")>-1,s=X.isObject(t);if(s&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return l&&l?JSON.stringify(jf(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(s){if(a.indexOf("application/x-www-form-urlencoded")>-1)return my(t,this.formSerializer).toString();if((f=X.isFileList(t))||a.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return ma(f?{"files[]":t}:t,h&&new h,this.formSerializer)}}return s||l?(n.setContentType("application/json",!1),by(t)):t}],transformResponse:[function(t){const n=this.transitional||ga.transitional,a=n&&n.forcedJSONParsing,l=this.responseType==="json";if(t&&X.isString(t)&&(a&&!this.responseType||l)){const u=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(t)}catch(f){if(u)throw f.name==="SyntaxError"?Re.from(f,Re.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rn.classes.FormData,Blob:Rn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};X.forEach(["delete","get","head"],function(t){ga.headers[t]={}}),X.forEach(["post","put","patch"],function(t){ga.headers[t]=X.merge(yy)});const Fs=ga,wy=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),vy=e=>{const t={};let n,a,l;return e&&e.split(`
32
32
  `).forEach(function(u){l=u.indexOf(":"),n=u.substring(0,l).trim().toLowerCase(),a=u.substring(l+1).trim(),!(!n||t[n]&&wy[n])&&(n==="set-cookie"?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t},Xf=Symbol("internals");function ai(e){return e&&String(e).trim().toLowerCase()}function pa(e){return e===!1||e==null?e:X.isArray(e)?e.map(pa):String(e)}function Cy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}const Ey=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ls(e,t,n,a,l){if(X.isFunction(a))return a.call(this,t,n);if(l&&(t=n),!!X.isString(t)){if(X.isString(a))return t.indexOf(a)!==-1;if(X.isRegExp(a))return a.test(t)}}function xy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function _y(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{value:function(l,s,u){return this[a].call(this,t,l,s,u)},configurable:!0})})}class ya{constructor(t){t&&this.set(t)}set(t,n,a){const l=this;function s(f,h,d){const g=ai(h);if(!g)throw new Error("header name must be a non-empty string");const p=X.findKey(l,g);(!p||l[p]===void 0||d===!0||d===void 0&&l[p]!==!1)&&(l[p||h]=pa(f))}const u=(f,h)=>X.forEach(f,(d,g)=>s(d,g,h));return X.isPlainObject(t)||t instanceof this.constructor?u(t,n):X.isString(t)&&(t=t.trim())&&!Ey(t)?u(vy(t),n):t!=null&&s(n,t,a),this}get(t,n){if(t=ai(t),t){const a=X.findKey(this,t);if(a){const l=this[a];if(!n)return l;if(n===!0)return Cy(l);if(X.isFunction(n))return n.call(this,l,a);if(X.isRegExp(n))return n.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ai(t),t){const a=X.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||Ls(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let l=!1;function s(u){if(u=ai(u),u){const f=X.findKey(a,u);f&&(!n||Ls(a,a[f],f,n))&&(delete a[f],l=!0)}}return X.isArray(t)?t.forEach(s):s(t),l}clear(t){const n=Object.keys(this);let a=n.length,l=!1;for(;a--;){const s=n[a];(!t||Ls(this,this[s],s,t,!0))&&(delete this[s],l=!0)}return l}normalize(t){const n=this,a={};return X.forEach(this,(l,s)=>{const u=X.findKey(a,s);if(u){n[u]=pa(l),delete n[s];return}const f=t?xy(s):String(s).trim();f!==s&&delete n[s],n[f]=pa(l),a[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return X.forEach(this,(a,l)=>{a!=null&&a!==!1&&(n[l]=t&&X.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
33
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);return n.forEach(l=>a.set(l)),a}static accessor(t){const a=(this[Xf]=this[Xf]={accessors:{}}).accessors,l=this.prototype;function s(u){const f=ai(u);a[f]||(_y(l,u),a[f]=!0)}return X.isArray(t)?t.forEach(s):s(t),this}}ya.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.freezeMethods(ya.prototype),X.freezeMethods(ya);const Qn=ya;function Ms(e,t){const n=this||Fs,a=t||n,l=Qn.from(a.headers);let s=a.data;return X.forEach(e,function(f){s=f.call(n,s,l.normalize(),t?t.status:void 0)}),l.normalize(),s}function Jf(e){return!!(e&&e.__CANCEL__)}function li(e,t,n){Re.call(this,e??"canceled",Re.ERR_CANCELED,t,n),this.name="CanceledError"}X.inherits(li,Re,{__CANCEL__:!0});function Sy(e,t,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):t(new Re("Request failed with status code "+n.status,[Re.ERR_BAD_REQUEST,Re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ky=Rn.isStandardBrowserEnv?function(){return{write:function(n,a,l,s,u,f){const h=[];h.push(n+"="+encodeURIComponent(a)),X.isNumber(l)&&h.push("expires="+new Date(l).toGMTString()),X.isString(s)&&h.push("path="+s),X.isString(u)&&h.push("domain="+u),f===!0&&h.push("secure"),document.cookie=h.join("; ")},read:function(n){const a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ay(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Iy(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Zf(e,t){return e&&!Ay(t)?Iy(e,t):t}const Vy=Rn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let a;function l(s){let u=s;return t&&(n.setAttribute("href",u),u=n.href),n.setAttribute("href",u),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=l(window.location.href),function(u){const f=X.isString(u)?l(u):u;return f.protocol===a.protocol&&f.host===a.host}}():function(){return function(){return!0}}();function Ty(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ny(e,t){e=e||10;const n=new Array(e),a=new Array(e);let l=0,s=0,u;return t=t!==void 0?t:1e3,function(h){const d=Date.now(),g=a[s];u||(u=d),n[l]=h,a[l]=d;let p=s,w=0;for(;p!==l;)w+=n[p++],p=p%e;if(l=(l+1)%e,l===s&&(s=(s+1)%e),d-u<t)return;const _=g&&d-g;return _?Math.round(w*1e3/_):void 0}}function e0(e,t){let n=0;const a=Ny(50,250);return l=>{const s=l.loaded,u=l.lengthComputable?l.total:void 0,f=s-n,h=a(f),d=s<=u;n=s;const g={loaded:s,total:u,progress:u?s/u:void 0,bytes:f,rate:h||void 0,estimated:h&&u&&d?(u-s)/h:void 0,event:l};g[t?"download":"upload"]=!0,e(g)}}const ba={http:oy,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,a){let l=e.data;const s=Qn.from(e.headers).normalize(),u=e.responseType;let f;function h(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}X.isFormData(l)&&(Rn.isStandardBrowserEnv||Rn.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(_+":"+v))}const g=Zf(e.baseURL,e.url);d.open(e.method.toUpperCase(),$f(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=Qn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),b={data:!u||u==="text"||u==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};Sy(function(x){n(x),h()},function(x){a(x),h()},b),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(a(new Re("Request aborted",Re.ECONNABORTED,e,d)),d=null)},d.onerror=function(){a(new Re("Network Error",Re.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||qf;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),a(new Re(v,b.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,e,d)),d=null},Rn.isStandardBrowserEnv){const _=(e.withCredentials||Vy(g))&&e.xsrfCookieName&&ky.read(e.xsrfCookieName);_&&s.set(e.xsrfHeaderName,_)}l===void 0&&s.setContentType(null),"setRequestHeader"in d&&X.forEach(s.toJSON(),function(v,b){d.setRequestHeader(b,v)}),X.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),u&&u!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",e0(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",e0(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=_=>{d&&(a(!_||_.type?new li(null,e,d):_),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const w=Ty(g);if(w&&Rn.protocols.indexOf(w)===-1){a(new Re("Unsupported protocol "+w+":",Re.ERR_BAD_REQUEST,e));return}d.send(l||null)})}};X.forEach(ba,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const By={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let n,a;for(let l=0;l<t&&(n=e[l],!(a=X.isString(n)?ba[n.toLowerCase()]:n));l++);if(!a)throw a===!1?new Re(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(X.hasOwnProp(ba,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!X.isFunction(a))throw new TypeError("adapter is not a function");return a},adapters:ba};function Us(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new li(null,e)}function t0(e){return Us(e),e.headers=Qn.from(e.headers),e.data=Ms.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),By.getAdapter(e.adapter||Fs.adapter)(e).then(function(a){return Us(e),a.data=Ms.call(e,e.transformResponse,a),a.headers=Qn.from(a.headers),a},function(a){return Jf(a)||(Us(e),a&&a.response&&(a.response.data=Ms.call(e,e.transformResponse,a.response),a.response.headers=Qn.from(a.response.headers))),Promise.reject(a)})}const n0=e=>e instanceof Qn?e.toJSON():e;function ho(e,t){t=t||{};const n={};function a(d,g,p){return X.isPlainObject(d)&&X.isPlainObject(g)?X.merge.call({caseless:p},d,g):X.isPlainObject(g)?X.merge({},g):X.isArray(g)?g.slice():g}function l(d,g,p){if(X.isUndefined(g)){if(!X.isUndefined(d))return a(void 0,d,p)}else return a(d,g,p)}function s(d,g){if(!X.isUndefined(g))return a(void 0,g)}function u(d,g){if(X.isUndefined(g)){if(!X.isUndefined(d))return a(void 0,d)}else return a(void 0,g)}function f(d,g,p){if(p in t)return a(d,g);if(p in e)return a(void 0,d)}const h={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(d,g)=>l(n0(d),n0(g),!0)};return X.forEach(Object.keys(Object.assign({},e,t)),function(g){const p=h[g]||l,w=p(e[g],t[g],g);X.isUndefined(w)&&p!==f||(n[g]=w)}),n}const r0="1.4.0",Hs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hs[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const o0={};Hs.transitional=function(t,n,a){function l(s,u){return"[Axios v"+r0+"] Transitional option '"+s+"'"+u+(a?". "+a:"")}return(s,u,f)=>{if(t===!1)throw new Re(l(u," has been removed"+(n?" in "+n:"")),Re.ERR_DEPRECATED);return n&&!o0[u]&&(o0[u]=!0,console.warn(l(u," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,u,f):!0}};function Dy(e,t,n){if(typeof e!="object")throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let l=a.length;for(;l-- >0;){const s=a[l],u=t[s];if(u){const f=e[s],h=f===void 0||u(f,s,e);if(h!==!0)throw new Re("option "+s+" must be "+h,Re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Re("Unknown option "+s,Re.ERR_BAD_OPTION)}}const Ws={assertOptions:Dy,validators:Hs},mr=Ws.validators;class wa{constructor(t){this.defaults=t,this.interceptors={request:new Gf,response:new Gf}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ho(this.defaults,n);const{transitional:a,paramsSerializer:l,headers:s}=n;a!==void 0&&Ws.assertOptions(a,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),l!=null&&(X.isFunction(l)?n.paramsSerializer={serialize:l}:Ws.assertOptions(l,{encode:mr.function,serialize:mr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u;u=s&&X.merge(s.common,s[n.method]),u&&X.forEach(["delete","get","head","post","put","patch","common"],v=>{delete s[v]}),n.headers=Qn.concat(u,s);const f=[];let h=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(h=h&&b.synchronous,f.unshift(b.fulfilled,b.rejected))});const d=[];this.interceptors.response.forEach(function(b){d.push(b.fulfilled,b.rejected)});let g,p=0,w;if(!h){const v=[t0.bind(this),void 0];for(v.unshift.apply(v,f),v.push.apply(v,d),w=v.length,g=Promise.resolve(n);p<w;)g=g.then(v[p++],v[p++]);return g}w=f.length;let _=n;for(p=0;p<w;){const v=f[p++],b=f[p++];try{_=v(_)}catch(C){b.call(this,C);break}}try{g=t0.call(this,_)}catch(v){return Promise.reject(v)}for(p=0,w=d.length;p<w;)g=g.then(d[p++],d[p++]);return g}getUri(t){t=ho(this.defaults,t);const n=Zf(t.baseURL,t.url);return $f(n,t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(t){wa.prototype[t]=function(n,a){return this.request(ho(a||{},{method:t,url:n,data:(a||{}).data}))}}),X.forEach(["post","put","patch"],function(t){function n(a){return function(s,u,f){return this.request(ho(f||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:u}))}}wa.prototype[t]=n(),wa.prototype[t+"Form"]=n(!0)});const va=wa;class zs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const a=this;this.promise.then(l=>{if(!a._listeners)return;let s=a._listeners.length;for(;s-- >0;)a._listeners[s](l);a._listeners=null}),this.promise.then=l=>{let s;const u=new Promise(f=>{a.subscribe(f),s=f}).then(l);return u.cancel=function(){a.unsubscribe(s)},u},t(function(s,u,f){a.reason||(a.reason=new li(s,u,f),n(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new zs(function(l){t=l}),cancel:t}}}const Oy=zs;function Py(e){return function(n){return e.apply(null,n)}}function Ry(e){return X.isObject(e)&&e.isAxiosError===!0}const Ks={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ks).forEach(([e,t])=>{Ks[t]=e});const Fy=Ks;function i0(e){const t=new va(e),n=Nf(va.prototype.request,t);return X.extend(n,va.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(l){return i0(ho(e,l))},n}const ut=i0(Fs);ut.Axios=va,ut.CanceledError=li,ut.CancelToken=Oy,ut.isCancel=Jf,ut.VERSION=r0,ut.toFormData=ma,ut.AxiosError=Re,ut.Cancel=ut.CanceledError,ut.all=function(t){return Promise.all(t)},ut.spread=Py,ut.isAxiosError=Ry,ut.mergeConfig=ho,ut.AxiosHeaders=Qn,ut.formToJSON=e=>jf(X.isHTMLForm(e)?new FormData(e):e),ut.HttpStatusCode=Fy,ut.default=ut;const si=ut,Ly=`${{VITE_DOMAIN_URL:"",VITE_ENV:"prod",VITE_VIDEO_APP_ID:"1500014793",BASE_URL:"/",MODE:"prod",DEV:!1,PROD:!0,SSR:!1}.VITE_DOMAIN_URL}`,Ys=3e4;si.defaults.withCredentials=!0,si.defaults.baseURL=Ly;const a0=(e,t,n,a)=>new Promise((l,s)=>{var g;const u=t.indexOf("services")==-1;let f=window.location.pathname.split("/")[2];(!f||f=="null")&&(f="zcsk");const h=localStorage.getItem(f),d=(g=JSON.parse(h))==null?void 0:g.Authorization;d&&(a={...a,Authorization:"Bearer "+(d&&d.indexOf('"')!=-1?d.substring(1,d.length-1):d)}),e=="post"||e=="put"?si({url:t,method:e,data:n,timeout:Ys,headers:a}).then(p=>{if(u)l(p.data);else{const w=p.data;w.code===0?l(w.data):s(w)}}).catch(p=>{s(p),console.error("error",p)}):e=="get"?si.get(t,{params:n,timeout:Ys,headers:a}).then(p=>{if(u)l(p.data);else{const w=p.data;w.code===0?l(w.data):s(w)}}).catch(p=>{s(p),console.error("error",p)}):si.delete(t,{data:n,timeout:Ys,headers:a}).then(p=>{if(u)l(p.data);else{const w=p.data;w.code===0?l(w.data):s(w)}}).catch(p=>{s(p),console.error("error",p)})}),My="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADICAYAAABS39xVAAAAAXNSR0IArs4c6QAAD05JREFUeF7tnQtz2yoQRuU4btJO//8v7TRO29h31hM6KldIi4AFxGHG00d4nl1/WRCC09vb230iQQACEOiAwAnB6sBKdBECEHgQQLBwBAhAoBsCCFY3pqKjEIAAgoUPQAAC3RBAsLoxFR2FAAQQLHwAAhDohgCC1Y2p6CgEIIBg4QMQgEA3BBCsbkxFRyEAAQQLH4AABLohgGB1Yyo6CgEIIFj4AAQg0A0BBKsbU9FRCEAAwcIHIACBbgg0IVjn83k6nU6Pz9PTUzfw6CgEjk7gfr9Pt9vt8ZG/y6dmqipYX758QaBqWp+2IRBJ4OPjY/rz50814aoiWBJFXS6XR0RFggAE+iIgUdbv378fUZd1Mhes5+fnST4kCECgbwISacnHMpkKlkRULy8vluOjLQhAoCABa9EyFSzWrAp6DlVDoBKB9/d3szUtM8FiKljJm2gWAoUJWEZZZoJFdFXYa6geAhUJXK9Xk9ZNBIu1KxNb0ggEqhGwmhYiWNVMTMMQOA4B2eYge7RKJxPBYv2qtBmpHwJ1CVitYyFYde1M6xA4BAEE6xBmZBAQGIMAgjWGnRklBA5BAME6hBkZBATGIIBgjWFnRgmBQxBAsA5hRgYBgTEIIFhj2JlRQuAQBBCsQ5iRQ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ySuLivbbqDDLjfMCIB8fUkrxcHDNueKLdLie3bdGu0xrkqFvIsP9pzi/8aa85oEq9Zo45BsytPVeqDDIQk9slbwkJ9razVLF6tXvcrlXkqDuQ8znbtbb2/KF+SB8K5j7U7RDBuH+tl0Caj2O0h3Frw6s0g3xdD8Os4Zzy1G3mm9dnLQS0NrxKMgigF6lFN03gaLH3SDcIe5EmzPAWyBZ7j2SDsBdp0x8tv/BVz2JtS2PuVGGbMisTdevvsfIMMgy1DuR6zpRhmXJprNWGn66WylyWQcahFp9HSs25tt1cJqRdrLiL0cEki07OcxYyarPEcntggD3HE+nZPchjDU+Haopc7CGVDGnMQOvPHC/pnG2QJ6P8OqJ5WBLPF4nGonWqbtV3cnn/ebmXw3GcMCaHMTPI43PJeEQzjZKciD1ewMWk75BvapBnw64DOelEPnKma4/Sfz80jaFIDcQgz96ZDCtJD+RksZHfh7/3CzmSnsMwRW7sinSy6jay2gwLRDv5h8MoPbVwg+ibwpJkIB4DNEi8nLBFgRigQQIlg02JxwANEi8nbFEgBmiQQMlgU+IxQIPEywlbFIgBGiRQMtiUeAzQIPFywhYFYoAGCZQMNiUeA/8C7NKGbiGTgIIAAAAASUVORK5CYII=",g8="",Wy={name:"FormItem",components:{InputBox:gd},emits:["selectItem","getIndex"],inject:["addFile","toPay"],props:{item:{type:Object,required:!0},itemIndex:{type:Number,required:!0},editItem:{type:Boolean,required:!0},currentKey:{type:String,required:!1},currentPageIndex:{type:Number,required:!1},form:{type:Object},noAnswer:{type:String,required:!1},dependValues:{type:Array,required:!1,default:function(){return[]}},inPc:{type:Boolean},answer:{type:Object},init:{type:Boolean},enableForbid:{type:Boolean}},data(){var e;return{showDialog:!1,areaList:v4,areaCode:"",typeMap:{integer:"digit",float:"number",instant:"time",phone:"tel",password:"password"},pickerOption:[],numberType:["integer","float","phone"],textType:["instant","text","period","password","identity"],textArr:["instant","area","text","integer","float","period","phone","password","identity"],useField:["text","integer","float","phone","password","identity"],noTitleTip:["text","integer","float","phone","password","instant","period","area","picker","customPicker","identity"],showTitleLimit:["text","integer","float","password"],textValue:"",textEmsg:"",switchValue:!1,radioValue:"",checkboxValue:[],fileList:[],doneFile:[],pickerSelected:{},customPicker:{},timeValue:(e=this.item.range)!=null&&e.min?this.minDate1:new Date,defaultDate:[],rateValue:0,sliderValue:0,pickerVisible:!1,cusPickerVisible:!1,cusSearchValue:"",timeVisible:!1,areaVisible:!1,calendarVisible:!1,payValue:{pay:!1,date:""},noAnswerKey:"",loadCustom:!1,optionEmpty:!1,pickerTop:{width:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",justifyContent:"space-between"},idFront:[],frontImg:null,idBack:[],backImg:null,showSign:!1,signImg:""}},watch:{textValue(e){if((e==null?void 0:e.length)>0&&this.noAnswerKey&&(this.noAnswerKey=""),this.showTitleLimit.includes(this.item.type)){const{min:t,max:n}=this.item.range;if(this.item.type==="text"||this.item.type==="password"){const a=e.length;t&&a<t*1?this.item.type==="text"?this.textEmsg=`不能少于${t}个字`:this.item.type==="password"&&(this.textEmsg=`不能少于${t}个字符`):n&&a>n*1?this.item.type==="text"?this.textEmsg=`不能大于${n}个字`:this.item.type==="password"&&(this.textEmsg=`不能大于${n}个字符`):this.textEmsg=""}else(this.item.type==="integer"||this.item.type==="float")&&(t&&e*1<t*1?this.textEmsg=`不能小于${t}`:n&&e*1>n*1?this.textEmsg=`不能大于${n}`:this.textEmsg="")}this.dependChange()},rateValue(){this.dependChange()},sliderValue(){this.dependChange()},switchValue(){this.setDependValue({gid:this.gid,key:this.item.key,value:this.switchValue})},timeValue(e){console.log("newTime",e)},doneFile:{handler(e){console.log("donfile change",e),this.dependChange()},deep:!0},noAnswer:{handler(e){this.noAnswerKey=e},immedeiate:!0},isShow:{handler(e){if(!e){this.item.type==="radio"&&(this.radioValue=""),this.item.type==="checkbox"&&(this.checkboxValue=[]);const t=this.dependValues.findIndex(n=>n.key===this.item.key);t>-1&&this.dependValues[t]&&this.dependValues.splice(t,1)}},immediate:!0},answer:{handler(e){e&&this.initDependValue()}},init(){this.initDependValue()}},computed:{maxlength(){return this.item.limit?"maxlength":""},maxCount(){return this.item.limit?"max-count":""},minDate(){var e;return(e=this.item.range)!=null&&e.min?new Date(this.item.range.min):new Date(sa(new Date).add(-30,"year").format("YYYY-MM-DD"))},maxDate(){var e;return(e=this.item.range)!=null&&e.max?new Date(this.item.range.max):new Date(sa(new Date).add(20,"year").format("YYYY-MM-DD"))},minDate1(){var t;let e=new Date;return(t=this.item.range)!=null&&t.min?new Date(this.item.range.min):new Date(e.setFullYear(e.getFullYear()-100))},maxDate1(){var t;let e=new Date;return(t=this.item.range)!=null&&t.max?new Date(this.item.range.max):new Date(e.setFullYear(e.getFullYear()+100))},readonly(){return["picker","instant","period","area"].includes(this.item.type)},showLabel(){return["text","integer","float","phone","password","picker","instant","period","area"].includes(this.item.type)},isShow(){return this.item.depends.length?this.item.depends.some(e=>{const t=this.dependValues.find(a=>e.item===a.key&&e.group===a.gid);return e==null?void 0:e.vals.find(a=>Array.isArray(t==null?void 0:t.value)?t.value.some(l=>l===a.id):a.id===(t==null?void 0:t.value))}):!0},gid(){return this.form.groups.find(e=>e.items.find(t=>t.key===this.item.key)).gid},currentPage(){return this.form.groups[this.currentPageIndex]},teleport(){return this.inPc?"#yqform_pop_container":"body"},disableItem(){return this.enableForbid&&this.item.noModify}},methods:{handleChange(e){this.item.type==="float"&&e.target.value&&(this.textValue=(e.target.value*1).toFixed(this.item.range.digits*1))},handleClick(){this.$emit("selectItem",this.item.key)},itemClick(){switch(this.item.type){case"picker":this.pickerVisible=!this.pickerVisible;break;case"instant":this.timeVisible=!0;break;case"period":this.calendarVisible=!0;break;case"area":this.areaVisible=!0;break;case"customPicker":this.cusPickerVisible=!0;break}},closeCusPicker(){this.cusPickerVisible=!1,this.cusSearchValue="",this.loadCustom=!1},searchCus(){var s;let e=this.cusSearchValue;const t=this.item.spec.request,n=this.item.spec.response,a={};let l;this.loadCustom=!0,((s=t.params)==null?void 0:s.length)>0&&t.params.forEach(u=>{a[u.name]=u.value}),a[t.page.param]=t.page.value,a[t.size.param]=t.size.value,a[t.keyword.param]=e,console.log("params >>",a),a0(t.method,t.url,a).then(u=>{if(l=u.totalPages,this.item.options=[],e===""&&(l=2),l===0)this.loadCustom=!1,this.optionEmpty=!0;else for(let f=0;f<l;f++)this.item.options=[],this.optionEmpty=!1,a[t.page.param]=f,a[t.size.param]=t.size.value,a[t.keyword.param]=e,a0(t.method,t.url,a).then(h=>{if(n.list.indexOf(".")===-1)h[n.list].forEach(d=>{let g={id:d[n.item.id],content:d[n.item.name]};this.item.options.push(g),this.$refs.cusPicker.setColumnValues(0,this.item.options)});else{let d=n.list.split("."),g;for(let p=0;p<d.length;p++)console.log(d[p]),g=n[d[p]];g.forEach(p=>{let w={id:p[n.item.id],name:p[n.item.name]};console.log("obj >>",p),this.item.options.push(w)})}this.loadCustom=!1}).catch(h=>{this.loadCustom=!1,console.log(h)})}).catch(u=>{console.log("[ err ] >",u),this.loadCustom=!1,this.$toast({message:"出错了",position:"bottom"})})},handlePopupConfirm(e){switch(this.item.type){case"picker":this.textValue=e.content,this.pickerSelected=e,this.pickerVisible=!1;break;case"instant":this.textValue=e,this.timeVisible=!1;break;case"area":this.textValue=e.map(t=>t.name).join(""),this.areaVisible=!1;break;case"customPicker":this.customPicker=e,this.textValue=e.content,this.cusPickerVisible=!1}},dateTimeConfirm(e){this.textValue=sa(e).format("YYYY/MM/DD HH:mm:ss"),this.timeVisible=!1},calendarConfirm(e){this.textValue=e.map(t=>sa(t).format("YYYY-MM-DD")).join(" - "),this.calendarVisible=!this.calendarVisible},handleRemoveItem(){this.showDialog=!0},removeItem(e){const t=this.form.groups[this.currentPageIndex].items.findIndex(n=>n.key===e);this.form.groups[this.currentPageIndex].items.splice(t,1)},handleCopyItem(){const e=Vf.cloneDeep(this.item);e.key=x4(),this.form.groups[this.currentPageIndex].items.splice(this.itemIndex+1,0,e)},confirmDelete(){this.removeItem(this.item.key),this.showDialog=!1},beforeReadFile(e){if(e.size>this.item.size*1024*1024){let t="";return e.type.includes("image")?t="图片大小不符合要求":t="文件大小不符合要求",this.$toast.fail(t),!1}else return!0},afterReadFile(e){Array.isArray(e)?e.forEach(t=>{this.handleFileUpload(t)}):this.handleFileUpload(e)},pushFile(e){this.doneFile.push(e)},handleFileUpload(e){this.addFile(e,this.itemIndex)},deleteFile(e){let t=e.file,n=this.doneFile.findIndex(a=>a.path===(t==null?void 0:t.path)||a.url===(t==null?void 0:t.url)||a.url===(e==null?void 0:e.url));return console.log("deleteFile index >>",n,t,e),n!==-1?(this.doneFile.splice(n,1),!0):!1},setDependValue(e){const t=this.dependValues.findIndex(n=>n.key===e.key);t>-1?this.dependValues[t]&&this.dependValues.splice(t,1,e):this.dependValues.push(e)},dependChange(){let e;const t=this.item.type;t==="radio"?(e=this.radioValue,this.noAnswerKey&&(this.noAnswerKey="")):t==="checkbox"?(e=this.checkboxValue,this.noAnswerKey&&(this.noAnswerKey="")):t==="switch"?e=this.switchValue:this.textArr.includes(t)&&t!=="area"?e=this.textValue:t==="rate"?(e=this.rateValue,this.noAnswerKey&&(this.noAnswerKey="")):t==="slider"?e=this.sliderValue:t==="area"?e={code:this.areaCode,value:this.textValue}:t==="image"||t==="file"?(e=Vf.cloneDeep(this.doneFile),this.noAnswerKey&&(this.noAnswerKey="")):t==="picker"?e=this.pickerSelected:t==="customPicker"?e=this.customPicker:t==="pay"?e=this.payValue:t==="sign"?e=this.signImg:t==="idPicture"&&(e={front:this.frontImg,back:this.backImg},console.log("[ value ] >",e)),this.setDependValue({gid:this.gid,key:this.item.key,value:e})},initDependValue(){if(this.dependValues.length>0){const e=this.currentPage.gid,t=this.item.type;this.dependValues.forEach(n=>{n.gid===e&&n.key===this.item.key&&n.value&&(t==="radio"?this.radioValue=n.value:t==="checkbox"?this.checkboxValue=n.value:t==="picker"?(this.pickerSelected=n.value,this.textValue=n.value.content):t==="switch"?this.switchValue=n.value:this.textType.includes(t)?(this.textValue=n.value,t==="instant"&&(this.timeValue=new Date(n.value)),t==="period"&&n.value.length>0&&(this.defaultDate.push(new Date(n.value.slice(0,10))),this.defaultDate.push(new Date(n.value.slice(13))))):this.numberType.includes(t)?t==="float"?this.textValue=(n.value*1).toFixed(this.item.digits):this.textValue=n.value*1:t==="rate"?this.rateValue=n.value:t==="slider"?this.sliderValue=n.value*1:t==="area"?(this.areaCode=n.value.code,this.textValue=n.value.value):t==="image"?(this.fileList=n.value,this.doneFile=n.value):t==="file"?(n.value.forEach(a=>{const l={url:a.url,file:new File([],a.name,{})};this.fileList.push(l)}),this.doneFile=n.value):t==="customPicker"?(this.textValue=n.value.content,this.customPicker=n.value):t==="pay"?this.payValue=n.value:t==="sign"?this.signImg=n.value:t==="idPicture"&&(this.frontImg=n.value.front,this.backImg=n.value.back,this.idFront=[{...this.frontImg}],this.idBack=[{...this.backImg}]))})}this.item.type==="switch"?this.setDependValue({gid:this.gid,key:this.item.key,value:this.switchValue}):this.item.type==="rate"?this.setDependValue({gid:this.gid,key:this.item.key,value:this.rateValue}):this.item.type==="slider"&&this.setDependValue({gid:this.gid,key:this.item.key,value:this.sliderValue})},clickPay(){this.toPay(this.item,e=>{if(e){let t={pay:!0,amount:this.item.amount,date:e.date,desc:this.form.spec.name+this.item.title};this.payValue=Object.assign({},t,e),this.dependChange()}})},beforeReadFront(e){console.log("[ file ] >",e);const t=new FileReader;t.onload=n=>{Tf({url:n.target.result,type:e.type},a=>{if(!a)return!1;const{kb:l}=ri(a);return l>100?(this.$toast.fail("图片太大了"),!1):(this.frontImg={url:a,type:e.type,isImage:!0},this.idFront.push(this.frontImg),this.dependChange(),!0)})},t.readAsDataURL(e)},beforeReadBack(e){console.log("[ file ] >",e);const t=new FileReader;t.onload=n=>{Tf({url:n.target.result,type:e.type},a=>{if(!a)return!1;const{kb:l}=ri(a);return l>80?(this.$toast.fail("图片太大了"),!1):(this.backImg={url:a,type:e.type,isImage:!0},this.idBack.push(this.backImg),this.dependChange(),!0)})},t.readAsDataURL(e)},readImg(){console.log("[ this.frontImg, this.backImg ] >",this.frontImg,this.backImg)},deleteFrontPic(){this.frontImg=null,this.idFront=[],this.dependChange()},deleteBackPic(){this.backImg=null,this.idBack=[],this.dependChange()},openSign(){this.showSign=!0,this.noAnswerKey=""},closeSign(){this.showSign=!1,this.$refs.esign.reset()},resetSign(){this.$refs.esign.reset()},saveSign(){this.$refs.esign.generate().then(e=>{const{kb:t,mb:n}=ri(e);console.log("[ sign size ] >",t,n),this.signImg=e,this.showSign=!1,this.dependChange()}).catch(e=>{console.log("[ err ] >",e)})}},created(){this.item.type==="rate"&&(this.rateValue=1),this.initDependValue(),this.item.type==="phone"&&this.item.autoFill&&this.item.autoFill.auto&&this.item.autoFill.config&&(this.textValue=this.item.autoFill.config()),this.item.type==="identity"&&!this.item.emsg&&(this.item.emsg="身份证格式不正确")}},Ca=e=>(o.pushScopeId("data-v-c5135f27"),e=e(),o.popScopeId(),e),zy={key:0,class:"form-item-container"},Ky={key:0,class:"require-icon"},Yy={class:"title"},Qy={key:2,class:"checkbox-title"},$y={class:"subtitle"},Gy={key:0,class:"tip"},qy={key:1,class:"switch-box"},jy={class:"switch-btn"},Xy={class:"text"},Jy={key:0,class:"placeholder"},Zy={key:1,class:"time-text"},e5={class:"icon"},t5={key:3,class:"input-text"},n5={key:0,class:"error-message"},r5={key:6,class:"slider-box"},o5={class:"left-num"},i5={class:"custom-button"},a5={class:"right-num"},l5={key:7,class:"rate-box"},s5={class:"text"},c5={key:0,class:"placeholder"},u5={key:1,class:"time-text"},d5={class:"icon"},f5={key:11,class:"uploader-tips"},h5={class:"text"},m5={key:0,class:"placeholder"},g5={key:1,class:"time-text"},p5={class:"icon"},y5={key:0},b5={key:1},w5={class:"pay-amount"},v5={key:14,class:"id-picture"},C5=Ca(()=>o.createElementVNode("div",{class:"id-picture-box"},[o.createElementVNode("img",{src:My,alt:""}),o.createElementVNode("p",null,"身份证正面")],-1)),E5=Ca(()=>o.createElementVNode("div",{class:"id-picture-box"},[o.createElementVNode("img",{src:Uy,alt:""}),o.createElementVNode("p",null,"身份证反面")],-1)),x5={key:15,class:"sign"},_5={key:0},S5=["src"],k5={key:16,class:"noAnswer"},A5={key:17,class:"operation"},I5=[Ca(()=>o.createElementVNode("img",{class:"oper-icon",src:Hy,alt:"复制"},null,-1))],V5={class:"sign-container"},T5={class:"sign-options"},N5={class:"dialog-container"},B5=Ca(()=>o.createElementVNode("div",{class:"dialog-message"},"是否确认删除当前题目?",-1)),D5={class:"confirm-btn"},O5={class:"btn-con left"},P5={class:"btn-con"};function R5(e,t,n,a,l,s){const u=o.resolveComponent("van-switch"),f=o.resolveComponent("van-icon"),h=o.resolveComponent("van-field"),d=o.resolveComponent("van-radio"),g=o.resolveComponent("van-radio-group"),p=o.resolveComponent("van-checkbox"),w=o.resolveComponent("van-checkbox-group"),_=o.resolveComponent("van-slider"),v=o.resolveComponent("van-rate"),b=o.resolveComponent("van-uploader"),C=o.resolveComponent("van-button"),x=b4,k=gd,I=o.resolveComponent("van-datetime-picker"),A=o.resolveComponent("van-popup"),N=o.resolveComponent("van-calendar"),D=o.resolveComponent("van-area"),R=o.resolveComponent("van-picker"),q=o.resolveComponent("van-search"),z=o.resolveComponent("van-empty"),K=o.resolveComponent("vueEsign");return s.isShow?(o.openBlock(),o.createElementBlock("div",zy,[o.createVNode(k,{active:n.item.key===n.currentKey&&n.editItem},{default:o.withCtx(()=>{var P,j;return[o.createElementVNode("div",{class:"quest-box",onClick:t[16]||(t[16]=(...T)=>s.handleClick&&s.handleClick(...T))},[n.item.required?(o.openBlock(),o.createElementBlock("div",Ky,"*")):o.createCommentVNode("",!0),o.createElementVNode("div",Yy,[l.showTitleLimit.includes(n.item.type)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.item.range.max!==""&&n.item.range.min!==""?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.item.title)+" ("+o.toDisplayString(n.item.range.min)+"至"+o.toDisplayString(n.item.range.max)+" "+o.toDisplayString(n.item.type==="text"||n.item.type==="password"?"字":"")+" "+o.toDisplayString(n.item.type==="float"&&n.item.range.digits?`且保留${n.item.range.digits}位小数`:"")+") ",1)],64)):n.item.range.max!==""?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(n.item.title)+" ("+o.toDisplayString(n.item.range.max)+" "+o.toDisplayString(n.item.type==="text"||n.item.type==="password"?"字":"")+" 以内"+o.toDisplayString(n.item.type==="float"&&n.item.range.digits?`且保留${n.item.range.digits}位小数`:"")+") ",1)],64)):n.item.range.min!==""?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.item.title)+" ("+o.toDisplayString(n.item.range.min)+" "+o.toDisplayString(n.item.type==="text"||n.item.type==="password"?"字":"")+" 以上"+o.toDisplayString(n.item.type==="float"&&n.item.range.digits?`且保留${n.item.range.digits}位小数`:"")+") ",1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createTextVNode(o.toDisplayString(n.item.title),1)],64))],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(n.item.title),1)],64)),n.item.type==="checkbox"?(o.openBlock(),o.createElementBlock("span",Qy," [多选] ")):o.createCommentVNode("",!0)]),o.createElementVNode("div",$y,[o.createTextVNode(o.toDisplayString(n.item.subtitle)+" ",1),!l.noTitleTip.includes(n.item.type)&&n.item.placeholder?(o.openBlock(),o.createElementBlock("span",Gy,o.toDisplayString(`(${n.item.placeholder})`),1)):o.createCommentVNode("",!0)]),n.item.type==="switch"?(o.openBlock(),o.createElementBlock("div",qy,[o.createElementVNode("div",jy,[o.createVNode(u,{modelValue:l.switchValue,"onUpdate:modelValue":t[0]||(t[0]=T=>l.switchValue=T),disabled:s.disableItem},null,8,["modelValue","disabled"])])])):o.createCommentVNode("",!0),n.item.type==="picker"?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(["picker-box",s.disableItem?"forbidden":""])},[o.createElementVNode("div",{class:"picker-text-area",onClick:t[1]||(t[1]=(...T)=>s.itemClick&&s.itemClick(...T))},[o.createElementVNode("div",Xy,[l.textValue?(o.openBlock(),o.createElementBlock("span",Zy,o.toDisplayString(l.textValue),1)):(o.openBlock(),o.createElementBlock("span",Jy,o.toDisplayString(n.item.placeholder),1))]),o.createElementVNode("div",e5,[l.pickerVisible?(o.openBlock(),o.createBlock(f,{key:0,name:"arrow-up"})):(o.openBlock(),o.createBlock(f,{key:1,name:"arrow-down"}))])])],2)):o.createCommentVNode("",!0),l.useField.includes(n.item.type)?(o.openBlock(),o.createElementBlock("div",t5,[o.createVNode(h,o.normalizeProps({modelValue:l.textValue,"onUpdate:modelValue":t[2]||(t[2]=T=>l.textValue=T),placeholder:n.item.placeholder,rules:[{required:n.item.required,message:n.item.emsg||"当前项不能为空"}],[s.maxlength||""]:n.item.limit,readonly:s.readonly,disabled:s.disableItem,type:l.typeMap[n.item.type]??"text",onChange:s.handleChange}),null,16,["modelValue","placeholder","rules","readonly","disabled","type","onChange"]),l.textEmsg&&!l.noAnswerKey?(o.openBlock(),o.createElementBlock("div",n5,[o.createVNode(f,{name:"close",class:"close-icon"}),o.createTextVNode(" "+o.toDisplayString(l.textEmsg),1)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.item.type==="radio"?(o.openBlock(),o.createBlock(g,{key:4,disabled:s.disableItem,modelValue:l.radioValue,"onUpdate:modelValue":t[3]||(t[3]=T=>l.radioValue=T),onChange:s.dependChange},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.item.options,T=>(o.openBlock(),o.createBlock(d,{key:T.id,name:T.id},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(T.content)+" ",1)]),_:2},1032,["name"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):o.createCommentVNode("",!0),n.item.type==="checkbox"?(o.openBlock(),o.createBlock(w,{key:5,disabled:s.disableItem,modelValue:l.checkboxValue,"onUpdate:modelValue":t[4]||(t[4]=T=>l.checkboxValue=T),onChange:s.dependChange},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.item.options,T=>(o.openBlock(),o.createBlock(p,{key:T.key,name:T.id,shape:"square"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(T.content),1)]),_:2},1032,["name"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):o.createCommentVNode("",!0),n.item.type==="slider"?(o.openBlock(),o.createElementBlock("div",r5,[o.createElementVNode("div",o5,o.toDisplayString(n.item.range.min),1),o.createVNode(_,{disabled:s.disableItem,modelValue:l.sliderValue,"onUpdate:modelValue":t[5]||(t[5]=T=>l.sliderValue=T),max:(P=n.item.range)==null?void 0:P.max,min:(j=n.item.range)==null?void 0:j.min},{button:o.withCtx(()=>[o.createElementVNode("div",i5,o.toDisplayString(l.sliderValue),1)]),_:1},8,["disabled","modelValue","max","min"]),o.createElementVNode("div",a5,o.toDisplayString(n.item.range.max),1)])):o.createCommentVNode("",!0),n.item.type==="rate"?(o.openBlock(),o.createElementBlock("div",l5,[o.createVNode(v,{disabled:s.disableItem,count:n.item.size,modelValue:l.rateValue,"onUpdate:modelValue":t[6]||(t[6]=T=>l.rateValue=T)},null,8,["disabled","count","modelValue"])])):o.createCommentVNode("",!0),n.item.type==="instant"||n.item.type==="period"||n.item.type==="area"?(o.openBlock(),o.createElementBlock("div",{key:8,class:o.normalizeClass(["time-box",s.disableItem?"forbidden":""]),onClick:t[7]||(t[7]=(...T)=>s.itemClick&&s.itemClick(...T))},[o.createElementVNode("div",s5,[l.textValue?(o.openBlock(),o.createElementBlock("span",u5,o.toDisplayString(l.textValue),1)):(o.openBlock(),o.createElementBlock("span",c5,o.toDisplayString(n.item.placeholder),1))]),o.createElementVNode("div",d5,[o.createVNode(f,{name:"arrow"})])],2)):o.createCommentVNode("",!0),n.item.type==="image"?(o.openBlock(),o.createBlock(b,o.normalizeProps({key:9,modelValue:l.fileList,"onUpdate:modelValue":t[8]||(t[8]=T=>l.fileList=T),multiple:"",disabled:s.disableItem,[s.maxCount||""]:n.item.limit,"max-size":n.item.size*1024*1024,accept:n.item.accept,"before-read":s.beforeReadFile,"after-read":s.afterReadFile,"before-delete":s.deleteFile}),null,16,["modelValue","disabled","max-size","accept","before-read","after-read","before-delete"])):o.createCommentVNode("",!0),n.item.type==="file"?(o.openBlock(),o.createBlock(b,o.normalizeProps({key:10,modelValue:l.fileList,"onUpdate:modelValue":t[9]||(t[9]=T=>l.fileList=T),multiple:"",disabled:s.disableItem,[s.maxCount||""]:n.item.limit,"max-size":n.item.size*1024*1024,accept:n.item.accept,"before-read":s.beforeReadFile,"after-read":s.afterReadFile,"before-delete":s.deleteFile}),{default:o.withCtx(()=>[n.item.type==="file"?(o.openBlock(),o.createBlock(C,{key:0,disabled:s.disableItem,icon:"plus",type:"primary"},{default:o.withCtx(()=>[o.createTextVNode(" 上传文件 ")]),_:1},8,["disabled"])):o.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled","max-size","accept","before-read","after-read","before-delete"])):o.createCommentVNode("",!0),(n.item.type==="file"||n.item.type==="image")&&n.item.uploadTip?(o.openBlock(),o.createElementBlock("div",f5,o.toDisplayString(n.item.uploadTip),1)):o.createCommentVNode("",!0),n.item.type==="customPicker"?(o.openBlock(),o.createElementBlock("div",{key:12,class:o.normalizeClass(["picker-box",s.disableItem?"forbidden":""])},[o.createElementVNode("div",{class:"picker-text-area",onClick:t[10]||(t[10]=(...T)=>s.itemClick&&s.itemClick(...T))},[o.createElementVNode("div",h5,[l.textValue?(o.openBlock(),o.createElementBlock("span",g5,o.toDisplayString(l.textValue),1)):(o.openBlock(),o.createElementBlock("span",m5,o.toDisplayString(n.item.placeholder),1))]),o.createElementVNode("div",p5,[l.cusPickerVisible?(o.openBlock(),o.createBlock(f,{key:0,name:"arrow-up"})):(o.openBlock(),o.createBlock(f,{key:1,name:"arrow-down"}))])])],2)):o.createCommentVNode("",!0),n.item.type==="pay"?(o.openBlock(),o.createElementBlock("div",{key:13,class:o.normalizeClass(["pay-box",s.disableItem?"forbidden":""])},[o.createElementVNode("div",null,[l.payValue.pay?(o.openBlock(),o.createElementBlock("span",y5,"已支付")):(o.openBlock(),o.createElementBlock("span",b5,"支付金额")),o.createTextVNode(": "),o.createElementVNode("span",w5,o.toDisplayString(n.item.amount),1),o.createTextVNode("元 ")]),l.payValue.pay?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,class:"click-button",onClick:t[11]||(t[11]=(...T)=>s.clickPay&&s.clickPay(...T))},"去支付"))],2)):o.createCommentVNode("",!0),n.item.type==="idPicture"?(o.openBlock(),o.createElementBlock("div",v5,[o.createVNode(b,{modelValue:l.idFront,"onUpdate:modelValue":t[12]||(t[12]=T=>l.idFront=T),maxCount:1,beforeRead:s.beforeReadFront,"after-read":s.readImg,"before-delete":s.deleteFrontPic},{default:o.withCtx(()=>[C5]),_:1},8,["modelValue","beforeRead","after-read","before-delete"]),o.createVNode(b,{modelValue:l.idBack,"onUpdate:modelValue":t[13]||(t[13]=T=>l.idBack=T),maxCount:1,beforeRead:s.beforeReadBack,"after-read":s.readImg,"before-delete":s.deleteBackPic},{default:o.withCtx(()=>[E5]),_:1},8,["modelValue","beforeRead","after-read","before-delete"])])):o.createCommentVNode("",!0),n.item.type==="sign"?(o.openBlock(),o.createElementBlock("div",x5,[o.createElementVNode("button",{class:"click-button",onClick:t[14]||(t[14]=(...T)=>s.openSign&&s.openSign(...T))},[l.signImg?(o.openBlock(),o.createElementBlock("span",_5,"重新")):o.createCommentVNode("",!0),o.createTextVNode("签名")]),l.signImg?(o.openBlock(),o.createElementBlock("img",{key:0,src:l.signImg,alt:""},null,8,S5)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),l.noAnswerKey===n.item.key?(o.openBlock(),o.createElementBlock("div",k5,[o.createVNode(f,{name:"close",class:"close-icon"}),o.createTextVNode(" "+o.toDisplayString(n.item.emsg?n.item.emsg:"当前项不能为空"),1)])):o.createCommentVNode("",!0),n.editItem?(o.openBlock(),o.createElementBlock("div",A5,[o.createVNode(x,{class:"item",effect:"dark",content:"复制该题目",placement:"top"},{default:o.withCtx(()=>[o.createElementVNode("div",{class:"oper-icon",onClick:t[15]||(t[15]=o.withModifiers((...T)=>s.handleCopyItem&&s.handleCopyItem(...T),["stop"]))},I5)]),_:1}),o.createVNode(x,{class:"item",effect:"dark",content:"长按拖动",placement:"top"},{default:o.withCtx(()=>[o.createVNode(f,{class:"oper-icon move",name:"sort"})]),_:1}),o.createVNode(x,{class:"item",effect:"dark",content:"点击删除",placement:"top"},{default:o.withCtx(()=>[o.createVNode(f,{class:"oper-icon",name:"delete-o",onClick:o.withModifiers(s.handleRemoveItem,["stop"])},null,8,["onClick"])]),_:1})])):o.createCommentVNode("",!0)])]}),_:1},8,["active"]),n.item.type==="instant"?(o.openBlock(),o.createBlock(A,{key:0,teleport:s.teleport,show:l.timeVisible,"onUpdate:show":t[19]||(t[19]=P=>l.timeVisible=P),round:"",position:"bottom"},{default:o.withCtx(()=>[o.createVNode(I,{modelValue:l.timeValue,"onUpdate:modelValue":t[17]||(t[17]=P=>l.timeValue=P),title:"选择时间",type:"datetime","min-date":s.minDate1,"max-date":s.maxDate1,onConfirm:s.dateTimeConfirm,onCancel:t[18]||(t[18]=P=>l.timeVisible=!1)},null,8,["modelValue","min-date","max-date","onConfirm"])]),_:1},8,["teleport","show"])):n.item.type==="period"?(o.openBlock(),o.createBlock(N,{key:1,teleport:s.teleport,show:l.calendarVisible,"onUpdate:show":t[20]||(t[20]=P=>l.calendarVisible=P),"allow-same-day":"",type:"range","default-date":l.defaultDate,"min-date":s.minDate,"max-date":s.maxDate,onConfirm:s.calendarConfirm,onCancel:t[21]||(t[21]=P=>l.calendarVisible=!1)},null,8,["teleport","show","default-date","min-date","max-date","onConfirm"])):n.item.type==="area"?(o.openBlock(),o.createBlock(A,{key:2,teleport:s.teleport,show:l.areaVisible,"onUpdate:show":t[24]||(t[24]=P=>l.areaVisible=P),round:"",position:"bottom"},{default:o.withCtx(()=>[o.createVNode(D,{title:"标题",modelValue:l.areaCode,"onUpdate:modelValue":t[22]||(t[22]=P=>l.areaCode=P),"area-list":l.areaList,onConfirm:s.handlePopupConfirm,onCancel:t[23]||(t[23]=P=>l.areaVisible=!1)},null,8,["modelValue","area-list","onConfirm"])]),_:1},8,["teleport","show"])):n.item.type==="picker"?(o.openBlock(),o.createBlock(A,{key:3,teleport:s.teleport,show:l.pickerVisible,"onUpdate:show":t[26]||(t[26]=P=>l.pickerVisible=P),round:"",position:"bottom"},{default:o.withCtx(()=>[o.createVNode(R,{columns:n.item.options,"columns-field-names":{text:"content"},onCancel:t[25]||(t[25]=P=>l.pickerVisible=!1),onConfirm:s.handlePopupConfirm},null,8,["columns","onConfirm"])]),_:1},8,["teleport","show"])):n.item.type==="customPicker"?(o.openBlock(),o.createBlock(A,{key:4,teleport:s.teleport,show:l.cusPickerVisible,"onUpdate:show":t[28]||(t[28]=P=>l.cusPickerVisible=P),round:"",position:"bottom",style:{height:"50%",overflow:"hidden"}},{default:o.withCtx(()=>[o.createVNode(R,{ref:"cusPicker",class:"custom-picker",columns:n.item.options,"columns-field-names":{text:"content"},loading:l.loadCustom,style:{padding:"0 10px"},onCancel:s.closeCusPicker,onConfirm:s.handlePopupConfirm},{"columns-top":o.withCtx(()=>[o.createElementVNode("div",{style:o.normalizeStyle(l.pickerTop)},[o.createVNode(q,{style:{flex:"1"},modelValue:l.cusSearchValue,"onUpdate:modelValue":t[27]||(t[27]=P=>l.cusSearchValue=P),shape:"round",placeholder:"请输入搜索关键词"},null,8,["modelValue"]),o.createVNode(C,{style:{width:"60px"},type:"primary",size:"small",onClick:s.searchCus},{default:o.withCtx(()=>[o.createTextVNode("搜索")]),_:1},8,["onClick"])],4),l.optionEmpty?(o.openBlock(),o.createBlock(z,{key:0,description:"暂无信息"})):o.createCommentVNode("",!0)]),_:1},8,["columns","loading","onCancel","onConfirm"])]),_:1},8,["teleport","show"])):o.createCommentVNode("",!0),o.createVNode(A,{teleport:s.teleport,show:l.showSign,"onUpdate:show":t[31]||(t[31]=P=>l.showSign=P),onClose:s.closeSign},{default:o.withCtx(()=>[o.createElementVNode("div",V5,[o.createVNode(K,{class:"sign-area",ref:"esign",width:300,height:200,isCrop:!0},null,512),o.createElementVNode("div",T5,[o.createElementVNode("div",{class:"btn",onClick:t[29]||(t[29]=(...P)=>s.resetSign&&s.resetSign(...P))},"清空"),o.createElementVNode("div",{class:"btn",onClick:t[30]||(t[30]=(...P)=>s.saveSign&&s.saveSign(...P))},"确定")])])]),_:1},8,["teleport","show","onClose"]),o.createVNode(A,{show:l.showDialog,"onUpdate:show":t[33]||(t[33]=P=>l.showDialog=P),round:""},{default:o.withCtx(()=>[o.createElementVNode("div",N5,[B5,o.createElementVNode("div",D5,[o.createElementVNode("div",O5,[o.createVNode(C,{type:"default",onClick:t[32]||(t[32]=P=>l.showDialog=!1)},{default:o.withCtx(()=>[o.createTextVNode("取消")]),_:1})]),o.createElementVNode("div",P5,[o.createVNode(C,{plain:"",type:"info",onClick:s.confirmDelete},{default:o.withCtx(()=>[o.createTextVNode("确认")]),_:1},8,["onClick"])])])])]),_:1},8,["show"])])):o.createCommentVNode("",!0)}const l0=no(Wy,[["render",R5],["__scopeId","data-v-c5135f27"]]);/*!
33
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);return n.forEach(l=>a.set(l)),a}static accessor(t){const a=(this[Xf]=this[Xf]={accessors:{}}).accessors,l=this.prototype;function s(u){const f=ai(u);a[f]||(_y(l,u),a[f]=!0)}return X.isArray(t)?t.forEach(s):s(t),this}}ya.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.freezeMethods(ya.prototype),X.freezeMethods(ya);const Qn=ya;function Ms(e,t){const n=this||Fs,a=t||n,l=Qn.from(a.headers);let s=a.data;return X.forEach(e,function(f){s=f.call(n,s,l.normalize(),t?t.status:void 0)}),l.normalize(),s}function Jf(e){return!!(e&&e.__CANCEL__)}function li(e,t,n){Re.call(this,e??"canceled",Re.ERR_CANCELED,t,n),this.name="CanceledError"}X.inherits(li,Re,{__CANCEL__:!0});function Sy(e,t,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):t(new Re("Request failed with status code "+n.status,[Re.ERR_BAD_REQUEST,Re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ky=Rn.isStandardBrowserEnv?function(){return{write:function(n,a,l,s,u,f){const h=[];h.push(n+"="+encodeURIComponent(a)),X.isNumber(l)&&h.push("expires="+new Date(l).toGMTString()),X.isString(s)&&h.push("path="+s),X.isString(u)&&h.push("domain="+u),f===!0&&h.push("secure"),document.cookie=h.join("; ")},read:function(n){const a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ay(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Iy(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Zf(e,t){return e&&!Ay(t)?Iy(e,t):t}const Vy=Rn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let a;function l(s){let u=s;return t&&(n.setAttribute("href",u),u=n.href),n.setAttribute("href",u),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=l(window.location.href),function(u){const f=X.isString(u)?l(u):u;return f.protocol===a.protocol&&f.host===a.host}}():function(){return function(){return!0}}();function Ty(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ny(e,t){e=e||10;const n=new Array(e),a=new Array(e);let l=0,s=0,u;return t=t!==void 0?t:1e3,function(h){const d=Date.now(),g=a[s];u||(u=d),n[l]=h,a[l]=d;let p=s,w=0;for(;p!==l;)w+=n[p++],p=p%e;if(l=(l+1)%e,l===s&&(s=(s+1)%e),d-u<t)return;const _=g&&d-g;return _?Math.round(w*1e3/_):void 0}}function e0(e,t){let n=0;const a=Ny(50,250);return l=>{const s=l.loaded,u=l.lengthComputable?l.total:void 0,f=s-n,h=a(f),d=s<=u;n=s;const g={loaded:s,total:u,progress:u?s/u:void 0,bytes:f,rate:h||void 0,estimated:h&&u&&d?(u-s)/h:void 0,event:l};g[t?"download":"upload"]=!0,e(g)}}const ba={http:oy,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,a){let l=e.data;const s=Qn.from(e.headers).normalize(),u=e.responseType;let f;function h(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}X.isFormData(l)&&(Rn.isStandardBrowserEnv||Rn.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(_+":"+v))}const g=Zf(e.baseURL,e.url);d.open(e.method.toUpperCase(),$f(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=Qn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),b={data:!u||u==="text"||u==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};Sy(function(x){n(x),h()},function(x){a(x),h()},b),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(a(new Re("Request aborted",Re.ECONNABORTED,e,d)),d=null)},d.onerror=function(){a(new Re("Network Error",Re.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||qf;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),a(new Re(v,b.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,e,d)),d=null},Rn.isStandardBrowserEnv){const _=(e.withCredentials||Vy(g))&&e.xsrfCookieName&&ky.read(e.xsrfCookieName);_&&s.set(e.xsrfHeaderName,_)}l===void 0&&s.setContentType(null),"setRequestHeader"in d&&X.forEach(s.toJSON(),function(v,b){d.setRequestHeader(b,v)}),X.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),u&&u!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",e0(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",e0(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=_=>{d&&(a(!_||_.type?new li(null,e,d):_),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const w=Ty(g);if(w&&Rn.protocols.indexOf(w)===-1){a(new Re("Unsupported protocol "+w+":",Re.ERR_BAD_REQUEST,e));return}d.send(l||null)})}};X.forEach(ba,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const By={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let n,a;for(let l=0;l<t&&(n=e[l],!(a=X.isString(n)?ba[n.toLowerCase()]:n));l++);if(!a)throw a===!1?new Re(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(X.hasOwnProp(ba,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!X.isFunction(a))throw new TypeError("adapter is not a function");return a},adapters:ba};function Us(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new li(null,e)}function t0(e){return Us(e),e.headers=Qn.from(e.headers),e.data=Ms.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),By.getAdapter(e.adapter||Fs.adapter)(e).then(function(a){return Us(e),a.data=Ms.call(e,e.transformResponse,a),a.headers=Qn.from(a.headers),a},function(a){return Jf(a)||(Us(e),a&&a.response&&(a.response.data=Ms.call(e,e.transformResponse,a.response),a.response.headers=Qn.from(a.response.headers))),Promise.reject(a)})}const n0=e=>e instanceof Qn?e.toJSON():e;function ho(e,t){t=t||{};const n={};function a(d,g,p){return X.isPlainObject(d)&&X.isPlainObject(g)?X.merge.call({caseless:p},d,g):X.isPlainObject(g)?X.merge({},g):X.isArray(g)?g.slice():g}function l(d,g,p){if(X.isUndefined(g)){if(!X.isUndefined(d))return a(void 0,d,p)}else return a(d,g,p)}function s(d,g){if(!X.isUndefined(g))return a(void 0,g)}function u(d,g){if(X.isUndefined(g)){if(!X.isUndefined(d))return a(void 0,d)}else return a(void 0,g)}function f(d,g,p){if(p in t)return a(d,g);if(p in e)return a(void 0,d)}const h={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(d,g)=>l(n0(d),n0(g),!0)};return X.forEach(Object.keys(Object.assign({},e,t)),function(g){const p=h[g]||l,w=p(e[g],t[g],g);X.isUndefined(w)&&p!==f||(n[g]=w)}),n}const r0="1.4.0",Hs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hs[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const o0={};Hs.transitional=function(t,n,a){function l(s,u){return"[Axios v"+r0+"] Transitional option '"+s+"'"+u+(a?". "+a:"")}return(s,u,f)=>{if(t===!1)throw new Re(l(u," has been removed"+(n?" in "+n:"")),Re.ERR_DEPRECATED);return n&&!o0[u]&&(o0[u]=!0,console.warn(l(u," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,u,f):!0}};function Dy(e,t,n){if(typeof e!="object")throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let l=a.length;for(;l-- >0;){const s=a[l],u=t[s];if(u){const f=e[s],h=f===void 0||u(f,s,e);if(h!==!0)throw new Re("option "+s+" must be "+h,Re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Re("Unknown option "+s,Re.ERR_BAD_OPTION)}}const Ws={assertOptions:Dy,validators:Hs},mr=Ws.validators;class wa{constructor(t){this.defaults=t,this.interceptors={request:new Gf,response:new Gf}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ho(this.defaults,n);const{transitional:a,paramsSerializer:l,headers:s}=n;a!==void 0&&Ws.assertOptions(a,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),l!=null&&(X.isFunction(l)?n.paramsSerializer={serialize:l}:Ws.assertOptions(l,{encode:mr.function,serialize:mr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u;u=s&&X.merge(s.common,s[n.method]),u&&X.forEach(["delete","get","head","post","put","patch","common"],v=>{delete s[v]}),n.headers=Qn.concat(u,s);const f=[];let h=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(h=h&&b.synchronous,f.unshift(b.fulfilled,b.rejected))});const d=[];this.interceptors.response.forEach(function(b){d.push(b.fulfilled,b.rejected)});let g,p=0,w;if(!h){const v=[t0.bind(this),void 0];for(v.unshift.apply(v,f),v.push.apply(v,d),w=v.length,g=Promise.resolve(n);p<w;)g=g.then(v[p++],v[p++]);return g}w=f.length;let _=n;for(p=0;p<w;){const v=f[p++],b=f[p++];try{_=v(_)}catch(C){b.call(this,C);break}}try{g=t0.call(this,_)}catch(v){return Promise.reject(v)}for(p=0,w=d.length;p<w;)g=g.then(d[p++],d[p++]);return g}getUri(t){t=ho(this.defaults,t);const n=Zf(t.baseURL,t.url);return $f(n,t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(t){wa.prototype[t]=function(n,a){return this.request(ho(a||{},{method:t,url:n,data:(a||{}).data}))}}),X.forEach(["post","put","patch"],function(t){function n(a){return function(s,u,f){return this.request(ho(f||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:u}))}}wa.prototype[t]=n(),wa.prototype[t+"Form"]=n(!0)});const va=wa;class zs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const a=this;this.promise.then(l=>{if(!a._listeners)return;let s=a._listeners.length;for(;s-- >0;)a._listeners[s](l);a._listeners=null}),this.promise.then=l=>{let s;const u=new Promise(f=>{a.subscribe(f),s=f}).then(l);return u.cancel=function(){a.unsubscribe(s)},u},t(function(s,u,f){a.reason||(a.reason=new li(s,u,f),n(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new zs(function(l){t=l}),cancel:t}}}const Oy=zs;function Py(e){return function(n){return e.apply(null,n)}}function Ry(e){return X.isObject(e)&&e.isAxiosError===!0}const Ks={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ks).forEach(([e,t])=>{Ks[t]=e});const Fy=Ks;function i0(e){const t=new va(e),n=Nf(va.prototype.request,t);return X.extend(n,va.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(l){return i0(ho(e,l))},n}const ut=i0(Fs);ut.Axios=va,ut.CanceledError=li,ut.CancelToken=Oy,ut.isCancel=Jf,ut.VERSION=r0,ut.toFormData=ma,ut.AxiosError=Re,ut.Cancel=ut.CanceledError,ut.all=function(t){return Promise.all(t)},ut.spread=Py,ut.isAxiosError=Ry,ut.mergeConfig=ho,ut.AxiosHeaders=Qn,ut.formToJSON=e=>jf(X.isHTMLForm(e)?new FormData(e):e),ut.HttpStatusCode=Fy,ut.default=ut;const si=ut,Ly=`${{VITE_DOMAIN_URL:"",VITE_ENV:"prod",VITE_VIDEO_APP_ID:"1500014793",BASE_URL:"/",MODE:"prod",DEV:!1,PROD:!0,SSR:!1}.VITE_DOMAIN_URL}`,Ys=3e4;si.defaults.withCredentials=!0,si.defaults.baseURL=Ly;const a0=(e,t,n,a)=>new Promise((l,s)=>{var g;const u=t.indexOf("services")==-1;let f=window.location.pathname.split("/")[2];(!f||f=="null")&&(f="zcsk");const h=localStorage.getItem(f),d=(g=JSON.parse(h))==null?void 0:g.Authorization;d&&(a={...a,Authorization:"Bearer "+(d&&d.indexOf('"')!=-1?d.substring(1,d.length-1):d)}),e=="post"||e=="put"?si({url:t,method:e,data:n,timeout:Ys,headers:a}).then(p=>{if(u)l(p.data);else{const w=p.data;w.code===0?l(w.data):s(w)}}).catch(p=>{s(p),console.error("error",p)}):e=="get"?si.get(t,{params:n,timeout:Ys,headers:a}).then(p=>{if(u)l(p.data);else{const w=p.data;w.code===0?l(w.data):s(w)}}).catch(p=>{s(p),console.error("error",p)}):si.delete(t,{data:n,timeout:Ys,headers:a}).then(p=>{if(u)l(p.data);else{const w=p.data;w.code===0?l(w.data):s(w)}}).catch(p=>{s(p),console.error("error",p)})}),My="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADICAYAAABS39xVAAAAAXNSR0IArs4c6QAAD05JREFUeF7tnQtz2yoQRuU4btJO//8v7TRO29h31hM6KldIi4AFxGHG00d4nl1/WRCC09vb230iQQACEOiAwAnB6sBKdBECEHgQQLBwBAhAoBsCCFY3pqKjEIAAgoUPQAAC3RBAsLoxFR2FAAQQLHwAAhDohgCC1Y2p6CgEIIBg4QMQgEA3BBCsbkxFRyEAAQQLH4AABLohgGB1Yyo6CgEIIFj4AAQg0A0BBKsbU9FRCEAAwcIHIACBbgg0IVjn83k6nU6Pz9PTUzfw6CgEjk7gfr9Pt9vt8ZG/y6dmqipYX758QaBqWp+2IRBJ4OPjY/rz50814aoiWBJFXS6XR0RFggAE+iIgUdbv378fUZd1Mhes5+fnST4kCECgbwISacnHMpkKlkRULy8vluOjLQhAoCABa9EyFSzWrAp6DlVDoBKB9/d3szUtM8FiKljJm2gWAoUJWEZZZoJFdFXYa6geAhUJXK9Xk9ZNBIu1KxNb0ggEqhGwmhYiWNVMTMMQOA4B2eY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6MQZRKQpIktJ+HY7MzcFbyqvOoNk7mx4d7ZU1V+iuGpoM3K7nBr4GTCoBPzbn+vrvpNPqaDnvOJPjcXyaQzkbsSXsyI2rWWxSqsMMuMb4Ka641ipfb81mc8f6u1ySuLivbbqDDLjfMCIB8fUkrxcHDNueKLdLie3bdGu0xrkqFvIsP9pzi/8aa85oEq9Zo45BsytPVeqDDIQk9slbwkJ9razVLF6tXvcrlXkqDuQ8znbtbb2/KF+SB8K5j7U7RDBuH+tl0Caj2O0h3Frw6s0g3xdD8Os4Zzy1G3mm9dnLQS0NrxKMgigF6lFN03gaLH3SDcIe5EmzPAWyBZ7j2SDsBdp0x8tv/BVz2JtS2PuVGGbMisTdevvsfIMMgy1DuR6zpRhmXJprNWGn66WylyWQcahFp9HSs25tt1cJqRdrLiL0cEki07OcxYyarPEcntggD3HE+nZPchjDU+Haopc7CGVDGnMQOvPHC/pnG2QJ6P8OqJ5WBLPF4nGonWqbtV3cnn/ebmXw3GcMCaHMTPI43PJeEQzjZKciD1ewMWk75BvapBnw64DOelEPnKma4/Sfz80jaFIDcQgz96ZDCtJD+RksZHfh7/3CzmSnsMwRW7sinSy6jay2gwLRDv5h8MoPbVwg+ibwpJkIB4DNEi8nLBFgRigQQIlg02JxwANEi8nbFEgBmiQQMlgU+IxQIPEywlbFIgBGiRQMtiUeAzQIPFywhYFYoAGCZQMNiUeA/8C7NKGbiGTgIIAAAAASUVORK5CYII=",g8="",Wy={name:"FormItem",components:{InputBox:gd},emits:["selectItem","getIndex"],inject:["addFile","toPay"],props:{item:{type:Object,required:!0},itemIndex:{type:Number,required:!0},editItem:{type:Boolean,required:!0},currentKey:{type:String,required:!1},currentPageIndex:{type:Number,required:!1},form:{type:Object},noAnswer:{type:String,required:!1},dependValues:{type:Array,required:!1,default:function(){return[]}},inPc:{type:Boolean},answer:{type:Object},init:{type:Boolean},enableForbid:{type:Boolean}},data(){var e;return{showDialog:!1,areaList:v4,areaCode:"",typeMap:{integer:"digit",float:"number",instant:"time",phone:"tel",password:"password"},pickerOption:[],numberType:["integer","float","phone"],textType:["instant","text","period","password","identity"],textArr:["instant","area","text","integer","float","period","phone","password","identity"],useField:["text","integer","float","phone","password","identity"],noTitleTip:["text","integer","float","phone","password","instant","period","area","picker","customPicker","identity"],showTitleLimit:["text","integer","float","password"],textValue:"",textEmsg:"",switchValue:!1,radioValue:"",checkboxValue:[],fileList:[],doneFile:[],pickerSelected:{},customPicker:{},timeValue:(e=this.item.range)!=null&&e.min?this.minDate1:new Date,defaultDate:[],rateValue:0,sliderValue:0,pickerVisible:!1,cusPickerVisible:!1,cusSearchValue:"",timeVisible:!1,areaVisible:!1,calendarVisible:!1,payValue:{pay:!1,date:""},noAnswerKey:"",loadCustom:!1,optionEmpty:!1,pickerTop:{width:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",justifyContent:"space-between"},idFront:[],frontImg:null,idBack:[],backImg:null,showSign:!1,signImg:""}},watch:{textValue(e){if((e==null?void 0:e.length)>0&&this.noAnswerKey&&(this.noAnswerKey=""),this.showTitleLimit.includes(this.item.type)){const{min:t,max:n}=this.item.range;if(this.item.type==="text"||this.item.type==="password"){const a=e.length;t&&a<t*1?this.item.type==="text"?this.textEmsg=`不能少于${t}个字`:this.item.type==="password"&&(this.textEmsg=`不能少于${t}个字符`):n&&a>n*1?this.item.type==="text"?this.textEmsg=`不能大于${n}个字`:this.item.type==="password"&&(this.textEmsg=`不能大于${n}个字符`):this.textEmsg=""}else(this.item.type==="integer"||this.item.type==="float")&&(t&&e*1<t*1?this.textEmsg=`不能小于${t}`:n&&e*1>n*1?this.textEmsg=`不能大于${n}`:this.textEmsg="")}this.dependChange()},rateValue(){this.dependChange()},sliderValue(){this.dependChange()},switchValue(){this.setDependValue({gid:this.gid,key:this.item.key,value:this.switchValue})},timeValue(e){console.log("newTime",e)},doneFile:{handler(e){console.log("donfile change",e),this.dependChange()},deep:!0},noAnswer:{handler(e){this.noAnswerKey=e},immedeiate:!0},isShow:{handler(e){if(!e){this.item.type==="radio"&&(this.radioValue=""),this.item.type==="checkbox"&&(this.checkboxValue=[]);const t=this.dependValues.findIndex(n=>n.key===this.item.key);t>-1&&this.dependValues[t]&&this.dependValues.splice(t,1)}},immediate:!0},answer:{handler(e){e&&this.initDependValue()}},init(){this.initDependValue()}},computed:{maxlength(){return this.item.limit?"maxlength":""},maxCount(){return this.item.limit?"max-count":""},minDate(){var e;return(e=this.item.range)!=null&&e.min?new Date(this.item.range.min):new Date(sa(new Date).add(-30,"year").format("YYYY-MM-DD"))},maxDate(){var e;return(e=this.item.range)!=null&&e.max?new Date(this.item.range.max):new Date(sa(new Date).add(20,"year").format("YYYY-MM-DD"))},minDate1(){var t;let e=new Date;return(t=this.item.range)!=null&&t.min?new Date(this.item.range.min):new Date(e.setFullYear(e.getFullYear()-100))},maxDate1(){var t;let e=new Date;return(t=this.item.range)!=null&&t.max?new Date(this.item.range.max):new Date(e.setFullYear(e.getFullYear()+100))},readonly(){return["picker","instant","period","area"].includes(this.item.type)},showLabel(){return["text","integer","float","phone","password","picker","instant","period","area"].includes(this.item.type)},isShow(){return this.item.depends.length?this.item.depends.some(e=>{const t=this.dependValues.find(a=>e.item===a.key&&e.group===a.gid);return e==null?void 0:e.vals.find(a=>Array.isArray(t==null?void 0:t.value)?t.value.some(l=>l===a.id):a.id===(t==null?void 0:t.value))}):!0},gid(){return this.form.groups.find(e=>e.items.find(t=>t.key===this.item.key)).gid},currentPage(){return this.form.groups[this.currentPageIndex]},teleport(){return this.inPc?"#yqform_pop_container":"body"},disableItem(){return this.enableForbid&&this.item.noModify}},methods:{handleChange(e){this.item.type==="float"&&e.target.value&&(this.textValue=(e.target.value*1).toFixed(this.item.range.digits*1))},handleClick(){this.$emit("selectItem",this.item.key)},itemClick(){switch(this.item.type){case"picker":this.pickerVisible=!this.pickerVisible;break;case"instant":this.timeVisible=!0;break;case"period":this.calendarVisible=!0;break;case"area":this.areaVisible=!0;break;case"customPicker":this.cusPickerVisible=!0;break}},closeCusPicker(){this.cusPickerVisible=!1,this.cusSearchValue="",this.loadCustom=!1},searchCus(){var s;let e=this.cusSearchValue;const t=this.item.spec.request,n=this.item.spec.response,a={};let l;this.loadCustom=!0,((s=t.params)==null?void 0:s.length)>0&&t.params.forEach(u=>{a[u.name]=u.value}),a[t.page.param]=t.page.value,a[t.size.param]=t.size.value,a[t.keyword.param]=e,console.log("params >>",a),a0(t.method,t.url,a).then(u=>{if(l=u.totalPages,this.item.options=[],e===""&&(l=2),l===0)this.loadCustom=!1,this.optionEmpty=!0;else for(let f=0;f<l;f++)this.item.options=[],this.optionEmpty=!1,a[t.page.param]=f,a[t.size.param]=t.size.value,a[t.keyword.param]=e,a0(t.method,t.url,a).then(h=>{if(n.list.indexOf(".")===-1)h[n.list].forEach(d=>{let g={id:d[n.item.id],content:d[n.item.name]};this.item.options.push(g),this.$refs.cusPicker.setColumnValues(0,this.item.options)});else{let d=n.list.split("."),g;for(let p=0;p<d.length;p++)console.log(d[p]),g=n[d[p]];g.forEach(p=>{let w={id:p[n.item.id],name:p[n.item.name]};console.log("obj >>",p),this.item.options.push(w)})}this.loadCustom=!1}).catch(h=>{this.loadCustom=!1,console.log(h)})}).catch(u=>{console.log("[ err ] >",u),this.loadCustom=!1,this.$toast({message:"出错了",position:"bottom"})})},handlePopupConfirm(e){switch(this.item.type){case"picker":this.textValue=e.content,this.pickerSelected=e,this.pickerVisible=!1;break;case"instant":this.textValue=e,this.timeVisible=!1;break;case"area":this.textValue=e.map(t=>t.name).join(""),this.areaVisible=!1;break;case"customPicker":this.customPicker=e,this.textValue=e.content,this.cusPickerVisible=!1}},dateTimeConfirm(e){this.textValue=sa(e).format("YYYY/MM/DD HH:mm:ss"),this.timeVisible=!1},calendarConfirm(e){this.textValue=e.map(t=>sa(t).format("YYYY-MM-DD")).join(" - "),this.calendarVisible=!this.calendarVisible},handleRemoveItem(){this.showDialog=!0},removeItem(e){const t=this.form.groups[this.currentPageIndex].items.findIndex(n=>n.key===e);this.form.groups[this.currentPageIndex].items.splice(t,1)},handleCopyItem(){const e=Vf.cloneDeep(this.item);e.key=x4(),this.form.groups[this.currentPageIndex].items.splice(this.itemIndex+1,0,e)},confirmDelete(){this.removeItem(this.item.key),this.showDialog=!1},beforeReadFile(e){if(e.size>this.item.size*1024*1024){let t="";return e.type.includes("image")?t="图片大小不符合要求":t="文件大小不符合要求",this.$toast.fail(t),!1}else return!0},afterReadFile(e){Array.isArray(e)?e.forEach(t=>{this.handleFileUpload(t)}):this.handleFileUpload(e)},pushFile(e){this.doneFile.push(e)},handleFileUpload(e){this.addFile(e,this.itemIndex)},deleteFile(e){let t=e.file,n=this.doneFile.findIndex(a=>a.path===(t==null?void 0:t.path)||a.url===(t==null?void 0:t.url)||a.url===(e==null?void 0:e.url));return console.log("deleteFile index >>",n,t,e),n!==-1?(this.doneFile.splice(n,1),!0):!1},setDependValue(e){const t=this.dependValues.findIndex(n=>n.key===e.key);t>-1?this.dependValues[t]&&this.dependValues.splice(t,1,e):this.dependValues.push(e)},dependChange(){let e;const t=this.item.type;t==="radio"?(e=this.radioValue,this.noAnswerKey&&(this.noAnswerKey="")):t==="checkbox"?(e=this.checkboxValue,this.noAnswerKey&&(this.noAnswerKey="")):t==="switch"?e=this.switchValue:this.textArr.includes(t)&&t!=="area"?e=this.textValue:t==="rate"?(e=this.rateValue,this.noAnswerKey&&(this.noAnswerKey="")):t==="slider"?e=this.sliderValue:t==="area"?e={code:this.areaCode,value:this.textValue}:t==="image"||t==="file"?(e=Vf.cloneDeep(this.doneFile),this.noAnswerKey&&(this.noAnswerKey="")):t==="picker"?e=this.pickerSelected:t==="customPicker"?e=this.customPicker:t==="pay"?e=this.payValue:t==="sign"?e=this.signImg:t==="idPicture"&&(e={front:this.frontImg,back:this.backImg},console.log("[ value ] >",e)),this.setDependValue({gid:this.gid,key:this.item.key,value:e})},initDependValue(){if(this.dependValues.length>0){const e=this.currentPage.gid,t=this.item.type;this.dependValues.forEach(n=>{n.gid===e&&n.key===this.item.key&&n.value&&(t==="radio"?this.radioValue=n.value:t==="checkbox"?this.checkboxValue=n.value:t==="picker"?(this.pickerSelected=n.value,this.textValue=n.value.content):t==="switch"?this.switchValue=n.value:this.textType.includes(t)?(this.textValue=n.value,t==="instant"&&(this.timeValue=new Date(n.value)),t==="period"&&n.value.length>0&&(this.defaultDate.push(new Date(n.value.slice(0,10))),this.defaultDate.push(new Date(n.value.slice(13))))):this.numberType.includes(t)?t==="float"?this.textValue=(n.value*1).toFixed(this.item.digits):this.textValue=n.value*1:t==="rate"?this.rateValue=n.value:t==="slider"?this.sliderValue=n.value*1:t==="area"?(this.areaCode=n.value.code,this.textValue=n.value.value):t==="image"?(this.fileList=n.value,this.doneFile=n.value):t==="file"?(n.value.forEach(a=>{const l={url:a.url,file:new File([],a.name,{})};this.fileList.push(l)}),this.doneFile=n.value):t==="customPicker"?(this.textValue=n.value.content,this.customPicker=n.value):t==="pay"?this.payValue=n.value:t==="sign"?this.signImg=n.value:t==="idPicture"&&(this.frontImg=n.value.front,this.backImg=n.value.back,this.idFront=[{...this.frontImg}],this.idBack=[{...this.backImg}]))})}this.item.type==="switch"?this.setDependValue({gid:this.gid,key:this.item.key,value:this.switchValue}):this.item.type==="rate"?this.setDependValue({gid:this.gid,key:this.item.key,value:this.rateValue}):this.item.type==="slider"&&this.setDependValue({gid:this.gid,key:this.item.key,value:this.sliderValue})},clickPay(){this.toPay(this.item,e=>{if(e){let t={pay:!0,amount:this.item.amount,date:e.date,desc:this.form.spec.name+this.item.title};this.payValue=Object.assign({},t,e),this.dependChange()}})},beforeReadFront(e){console.log("[ file ] >",e);const t=new FileReader;t.onload=n=>{Tf({url:n.target.result,type:e.type},a=>{if(!a)return!1;const{kb:l}=ri(a);return l>100?(this.$toast.fail("图片太大了"),!1):(this.frontImg={url:a,type:e.type,isImage:!0},this.idFront.push(this.frontImg),this.dependChange(),!0)})},t.readAsDataURL(e)},beforeReadBack(e){console.log("[ file ] >",e);const t=new FileReader;t.onload=n=>{Tf({url:n.target.result,type:e.type},a=>{if(!a)return!1;const{kb:l}=ri(a);return l>80?(this.$toast.fail("图片太大了"),!1):(this.backImg={url:a,type:e.type,isImage:!0},this.idBack.push(this.backImg),this.dependChange(),!0)})},t.readAsDataURL(e)},readImg(){console.log("[ this.frontImg, this.backImg ] >",this.frontImg,this.backImg)},deleteFrontPic(){this.frontImg=null,this.idFront=[],this.dependChange()},deleteBackPic(){this.backImg=null,this.idBack=[],this.dependChange()},openSign(){this.showSign=!0,this.noAnswerKey=""},closeSign(){this.showSign=!1,this.$refs.esign.reset()},resetSign(){this.$refs.esign.reset()},saveSign(){this.$refs.esign.generate().then(e=>{const{kb:t,mb:n}=ri(e);console.log("[ sign size ] >",t,n),this.signImg=e,this.showSign=!1,this.dependChange()}).catch(e=>{console.log("[ err ] >",e)})}},created(){this.item.type==="rate"&&(this.rateValue=1),this.initDependValue(),this.item.type==="phone"&&this.item.autoFill&&this.item.autoFill.auto&&this.item.autoFill.config&&(this.textValue=this.item.autoFill.config()),this.item.type==="identity"&&!this.item.emsg&&(this.item.emsg="身份证格式不正确")}},Ca=e=>(o.pushScopeId("data-v-2666bb90"),e=e(),o.popScopeId(),e),zy={key:0,class:"form-item-container"},Ky={key:0,class:"require-icon"},Yy={class:"title"},Qy={key:2,class:"checkbox-title"},$y={class:"subtitle"},Gy={key:0,class:"tip"},qy={key:1,class:"switch-box"},jy={class:"switch-btn"},Xy={class:"text"},Jy={key:0,class:"placeholder"},Zy={key:1,class:"time-text"},e5={class:"icon"},t5={key:3,class:"input-text"},n5={key:0,class:"error-message"},r5={key:6,class:"slider-box"},o5={class:"left-num"},i5={class:"custom-button"},a5={class:"right-num"},l5={key:7,class:"rate-box"},s5={class:"text"},c5={key:0,class:"placeholder"},u5={key:1,class:"time-text"},d5={class:"icon"},f5={key:11,class:"uploader-tips"},h5={class:"text"},m5={key:0,class:"placeholder"},g5={key:1,class:"time-text"},p5={class:"icon"},y5={key:0},b5={key:1},w5={class:"pay-amount"},v5={key:14,class:"id-picture"},C5=Ca(()=>o.createElementVNode("div",{class:"id-picture-box"},[o.createElementVNode("img",{src:My,alt:""}),o.createElementVNode("p",null,"身份证正面")],-1)),E5=Ca(()=>o.createElementVNode("div",{class:"id-picture-box"},[o.createElementVNode("img",{src:Uy,alt:""}),o.createElementVNode("p",null,"身份证反面")],-1)),x5={key:15,class:"sign"},_5={key:0},S5=["src"],k5={key:16,class:"noAnswer"},A5={key:17,class:"operation"},I5=[Ca(()=>o.createElementVNode("img",{class:"oper-icon",src:Hy,alt:"复制"},null,-1))],V5={class:"sign-container"},T5={class:"sign-options"},N5={class:"dialog-container"},B5=Ca(()=>o.createElementVNode("div",{class:"dialog-message"},"是否确认删除当前题目?",-1)),D5={class:"confirm-btn"},O5={class:"btn-con left"},P5={class:"btn-con"};function R5(e,t,n,a,l,s){const u=o.resolveComponent("van-switch"),f=o.resolveComponent("van-icon"),h=o.resolveComponent("van-field"),d=o.resolveComponent("van-radio"),g=o.resolveComponent("van-radio-group"),p=o.resolveComponent("van-checkbox"),w=o.resolveComponent("van-checkbox-group"),_=o.resolveComponent("van-slider"),v=o.resolveComponent("van-rate"),b=o.resolveComponent("van-uploader"),C=o.resolveComponent("van-button"),x=b4,k=gd,I=o.resolveComponent("van-datetime-picker"),A=o.resolveComponent("van-popup"),N=o.resolveComponent("van-calendar"),D=o.resolveComponent("van-area"),R=o.resolveComponent("van-picker"),q=o.resolveComponent("van-search"),z=o.resolveComponent("van-empty"),K=o.resolveComponent("vueEsign");return s.isShow?(o.openBlock(),o.createElementBlock("div",zy,[o.createVNode(k,{active:n.item.key===n.currentKey&&n.editItem},{default:o.withCtx(()=>{var P,j;return[o.createElementVNode("div",{class:"quest-box",onClick:t[16]||(t[16]=(...T)=>s.handleClick&&s.handleClick(...T))},[n.item.required?(o.openBlock(),o.createElementBlock("div",Ky,"*")):o.createCommentVNode("",!0),o.createElementVNode("div",Yy,[l.showTitleLimit.includes(n.item.type)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.item.range.max!==""&&n.item.range.min!==""?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.item.title)+" ("+o.toDisplayString(n.item.range.min)+"至"+o.toDisplayString(n.item.range.max)+" "+o.toDisplayString(n.item.type==="text"||n.item.type==="password"?"字":"")+" "+o.toDisplayString(n.item.type==="float"&&n.item.range.digits?`且保留${n.item.range.digits}位小数`:"")+") ",1)],64)):n.item.range.max!==""?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(n.item.title)+" ("+o.toDisplayString(n.item.range.max)+" "+o.toDisplayString(n.item.type==="text"||n.item.type==="password"?"字":"")+" 以内"+o.toDisplayString(n.item.type==="float"&&n.item.range.digits?`且保留${n.item.range.digits}位小数`:"")+") ",1)],64)):n.item.range.min!==""?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.item.title)+" ("+o.toDisplayString(n.item.range.min)+" "+o.toDisplayString(n.item.type==="text"||n.item.type==="password"?"字":"")+" 以上"+o.toDisplayString(n.item.type==="float"&&n.item.range.digits?`且保留${n.item.range.digits}位小数`:"")+") ",1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createTextVNode(o.toDisplayString(n.item.title),1)],64))],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(n.item.title),1)],64)),n.item.type==="checkbox"?(o.openBlock(),o.createElementBlock("span",Qy," [多选] ")):o.createCommentVNode("",!0)]),o.createElementVNode("div",$y,[o.createTextVNode(o.toDisplayString(n.item.subtitle)+" ",1),!l.noTitleTip.includes(n.item.type)&&n.item.placeholder?(o.openBlock(),o.createElementBlock("span",Gy,o.toDisplayString(`(${n.item.placeholder})`),1)):o.createCommentVNode("",!0)]),n.item.type==="switch"?(o.openBlock(),o.createElementBlock("div",qy,[o.createElementVNode("div",jy,[o.createVNode(u,{modelValue:l.switchValue,"onUpdate:modelValue":t[0]||(t[0]=T=>l.switchValue=T),disabled:s.disableItem},null,8,["modelValue","disabled"])])])):o.createCommentVNode("",!0),n.item.type==="picker"?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(["picker-box",s.disableItem?"forbidden":""])},[o.createElementVNode("div",{class:"picker-text-area",onClick:t[1]||(t[1]=(...T)=>s.itemClick&&s.itemClick(...T))},[o.createElementVNode("div",Xy,[l.textValue?(o.openBlock(),o.createElementBlock("span",Zy,o.toDisplayString(l.textValue),1)):(o.openBlock(),o.createElementBlock("span",Jy,o.toDisplayString(n.item.placeholder),1))]),o.createElementVNode("div",e5,[l.pickerVisible?(o.openBlock(),o.createBlock(f,{key:0,name:"arrow-up"})):(o.openBlock(),o.createBlock(f,{key:1,name:"arrow-down"}))])])],2)):o.createCommentVNode("",!0),l.useField.includes(n.item.type)?(o.openBlock(),o.createElementBlock("div",t5,[o.createVNode(h,o.normalizeProps({modelValue:l.textValue,"onUpdate:modelValue":t[2]||(t[2]=T=>l.textValue=T),placeholder:n.item.placeholder,rules:[{required:n.item.required,message:n.item.emsg||"当前项不能为空"}],[s.maxlength||""]:n.item.limit,readonly:s.readonly,disabled:s.disableItem,type:l.typeMap[n.item.type]??"text",onChange:s.handleChange}),null,16,["modelValue","placeholder","rules","readonly","disabled","type","onChange"]),l.textEmsg&&!l.noAnswerKey?(o.openBlock(),o.createElementBlock("div",n5,[o.createVNode(f,{name:"close",class:"close-icon"}),o.createTextVNode(" "+o.toDisplayString(l.textEmsg),1)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.item.type==="radio"?(o.openBlock(),o.createBlock(g,{key:4,disabled:s.disableItem,modelValue:l.radioValue,"onUpdate:modelValue":t[3]||(t[3]=T=>l.radioValue=T),onChange:s.dependChange},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.item.options,T=>(o.openBlock(),o.createBlock(d,{key:T.id,name:T.id},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(T.content)+" ",1)]),_:2},1032,["name"]))),128))]),_:1},8,["disabled","modelValue","onChange"])):o.createCommentVNode("",!0),n.item.type==="checkbox"?(o.openBlock(),o.createBlock(w,{key:5,disabled:s.disableItem,modelValue:l.checkboxValue,"onUpdate:modelValue":t[4]||(t[4]=T=>l.checkboxValue=T),max:Number(n.item.max),onChange:s.dependChange},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.item.options,T=>(o.openBlock(),o.createBlock(p,{key:T.key,name:T.id,shape:"square"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(T.content),1)]),_:2},1032,["name"]))),128))]),_:1},8,["disabled","modelValue","max","onChange"])):o.createCommentVNode("",!0),n.item.type==="slider"?(o.openBlock(),o.createElementBlock("div",r5,[o.createElementVNode("div",o5,o.toDisplayString(n.item.range.min),1),o.createVNode(_,{disabled:s.disableItem,modelValue:l.sliderValue,"onUpdate:modelValue":t[5]||(t[5]=T=>l.sliderValue=T),max:(P=n.item.range)==null?void 0:P.max,min:(j=n.item.range)==null?void 0:j.min},{button:o.withCtx(()=>[o.createElementVNode("div",i5,o.toDisplayString(l.sliderValue),1)]),_:1},8,["disabled","modelValue","max","min"]),o.createElementVNode("div",a5,o.toDisplayString(n.item.range.max),1)])):o.createCommentVNode("",!0),n.item.type==="rate"?(o.openBlock(),o.createElementBlock("div",l5,[o.createVNode(v,{disabled:s.disableItem,count:n.item.size,modelValue:l.rateValue,"onUpdate:modelValue":t[6]||(t[6]=T=>l.rateValue=T)},null,8,["disabled","count","modelValue"])])):o.createCommentVNode("",!0),n.item.type==="instant"||n.item.type==="period"||n.item.type==="area"?(o.openBlock(),o.createElementBlock("div",{key:8,class:o.normalizeClass(["time-box",s.disableItem?"forbidden":""]),onClick:t[7]||(t[7]=(...T)=>s.itemClick&&s.itemClick(...T))},[o.createElementVNode("div",s5,[l.textValue?(o.openBlock(),o.createElementBlock("span",u5,o.toDisplayString(l.textValue),1)):(o.openBlock(),o.createElementBlock("span",c5,o.toDisplayString(n.item.placeholder),1))]),o.createElementVNode("div",d5,[o.createVNode(f,{name:"arrow"})])],2)):o.createCommentVNode("",!0),n.item.type==="image"?(o.openBlock(),o.createBlock(b,o.normalizeProps({key:9,modelValue:l.fileList,"onUpdate:modelValue":t[8]||(t[8]=T=>l.fileList=T),multiple:"",disabled:s.disableItem,[s.maxCount||""]:n.item.limit,"max-size":n.item.size*1024*1024,accept:n.item.accept,"before-read":s.beforeReadFile,"after-read":s.afterReadFile,"before-delete":s.deleteFile}),null,16,["modelValue","disabled","max-size","accept","before-read","after-read","before-delete"])):o.createCommentVNode("",!0),n.item.type==="file"?(o.openBlock(),o.createBlock(b,o.normalizeProps({key:10,modelValue:l.fileList,"onUpdate:modelValue":t[9]||(t[9]=T=>l.fileList=T),multiple:"",disabled:s.disableItem,[s.maxCount||""]:n.item.limit,"max-size":n.item.size*1024*1024,accept:n.item.accept,"before-read":s.beforeReadFile,"after-read":s.afterReadFile,"before-delete":s.deleteFile}),{default:o.withCtx(()=>[n.item.type==="file"?(o.openBlock(),o.createBlock(C,{key:0,disabled:s.disableItem,icon:"plus",type:"primary"},{default:o.withCtx(()=>[o.createTextVNode(" 上传文件 ")]),_:1},8,["disabled"])):o.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled","max-size","accept","before-read","after-read","before-delete"])):o.createCommentVNode("",!0),(n.item.type==="file"||n.item.type==="image")&&n.item.uploadTip?(o.openBlock(),o.createElementBlock("div",f5,o.toDisplayString(n.item.uploadTip),1)):o.createCommentVNode("",!0),n.item.type==="customPicker"?(o.openBlock(),o.createElementBlock("div",{key:12,class:o.normalizeClass(["picker-box",s.disableItem?"forbidden":""])},[o.createElementVNode("div",{class:"picker-text-area",onClick:t[10]||(t[10]=(...T)=>s.itemClick&&s.itemClick(...T))},[o.createElementVNode("div",h5,[l.textValue?(o.openBlock(),o.createElementBlock("span",g5,o.toDisplayString(l.textValue),1)):(o.openBlock(),o.createElementBlock("span",m5,o.toDisplayString(n.item.placeholder),1))]),o.createElementVNode("div",p5,[l.cusPickerVisible?(o.openBlock(),o.createBlock(f,{key:0,name:"arrow-up"})):(o.openBlock(),o.createBlock(f,{key:1,name:"arrow-down"}))])])],2)):o.createCommentVNode("",!0),n.item.type==="pay"?(o.openBlock(),o.createElementBlock("div",{key:13,class:o.normalizeClass(["pay-box",s.disableItem?"forbidden":""])},[o.createElementVNode("div",null,[l.payValue.pay?(o.openBlock(),o.createElementBlock("span",y5,"已支付")):(o.openBlock(),o.createElementBlock("span",b5,"支付金额")),o.createTextVNode(": "),o.createElementVNode("span",w5,o.toDisplayString(n.item.amount),1),o.createTextVNode("元 ")]),l.payValue.pay?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,class:"click-button",onClick:t[11]||(t[11]=(...T)=>s.clickPay&&s.clickPay(...T))},"去支付"))],2)):o.createCommentVNode("",!0),n.item.type==="idPicture"?(o.openBlock(),o.createElementBlock("div",v5,[o.createVNode(b,{modelValue:l.idFront,"onUpdate:modelValue":t[12]||(t[12]=T=>l.idFront=T),maxCount:1,beforeRead:s.beforeReadFront,"after-read":s.readImg,"before-delete":s.deleteFrontPic},{default:o.withCtx(()=>[C5]),_:1},8,["modelValue","beforeRead","after-read","before-delete"]),o.createVNode(b,{modelValue:l.idBack,"onUpdate:modelValue":t[13]||(t[13]=T=>l.idBack=T),maxCount:1,beforeRead:s.beforeReadBack,"after-read":s.readImg,"before-delete":s.deleteBackPic},{default:o.withCtx(()=>[E5]),_:1},8,["modelValue","beforeRead","after-read","before-delete"])])):o.createCommentVNode("",!0),n.item.type==="sign"?(o.openBlock(),o.createElementBlock("div",x5,[o.createElementVNode("button",{class:"click-button",onClick:t[14]||(t[14]=(...T)=>s.openSign&&s.openSign(...T))},[l.signImg?(o.openBlock(),o.createElementBlock("span",_5,"重新")):o.createCommentVNode("",!0),o.createTextVNode("签名")]),l.signImg?(o.openBlock(),o.createElementBlock("img",{key:0,src:l.signImg,alt:""},null,8,S5)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),l.noAnswerKey===n.item.key?(o.openBlock(),o.createElementBlock("div",k5,[o.createVNode(f,{name:"close",class:"close-icon"}),o.createTextVNode(" "+o.toDisplayString(n.item.emsg?n.item.emsg:"当前项不能为空"),1)])):o.createCommentVNode("",!0),n.editItem?(o.openBlock(),o.createElementBlock("div",A5,[o.createVNode(x,{class:"item",effect:"dark",content:"复制该题目",placement:"top"},{default:o.withCtx(()=>[o.createElementVNode("div",{class:"oper-icon",onClick:t[15]||(t[15]=o.withModifiers((...T)=>s.handleCopyItem&&s.handleCopyItem(...T),["stop"]))},I5)]),_:1}),o.createVNode(x,{class:"item",effect:"dark",content:"长按拖动",placement:"top"},{default:o.withCtx(()=>[o.createVNode(f,{class:"oper-icon move",name:"sort"})]),_:1}),o.createVNode(x,{class:"item",effect:"dark",content:"点击删除",placement:"top"},{default:o.withCtx(()=>[o.createVNode(f,{class:"oper-icon",name:"delete-o",onClick:o.withModifiers(s.handleRemoveItem,["stop"])},null,8,["onClick"])]),_:1})])):o.createCommentVNode("",!0)])]}),_:1},8,["active"]),n.item.type==="instant"?(o.openBlock(),o.createBlock(A,{key:0,teleport:s.teleport,show:l.timeVisible,"onUpdate:show":t[19]||(t[19]=P=>l.timeVisible=P),round:"",position:"bottom"},{default:o.withCtx(()=>[o.createVNode(I,{modelValue:l.timeValue,"onUpdate:modelValue":t[17]||(t[17]=P=>l.timeValue=P),title:"选择时间",type:"datetime","min-date":s.minDate1,"max-date":s.maxDate1,onConfirm:s.dateTimeConfirm,onCancel:t[18]||(t[18]=P=>l.timeVisible=!1)},null,8,["modelValue","min-date","max-date","onConfirm"])]),_:1},8,["teleport","show"])):n.item.type==="period"?(o.openBlock(),o.createBlock(N,{key:1,teleport:s.teleport,show:l.calendarVisible,"onUpdate:show":t[20]||(t[20]=P=>l.calendarVisible=P),"allow-same-day":"",type:"range","default-date":l.defaultDate,"min-date":s.minDate,"max-date":s.maxDate,onConfirm:s.calendarConfirm,onCancel:t[21]||(t[21]=P=>l.calendarVisible=!1)},null,8,["teleport","show","default-date","min-date","max-date","onConfirm"])):n.item.type==="area"?(o.openBlock(),o.createBlock(A,{key:2,teleport:s.teleport,show:l.areaVisible,"onUpdate:show":t[24]||(t[24]=P=>l.areaVisible=P),round:"",position:"bottom"},{default:o.withCtx(()=>[o.createVNode(D,{title:"标题",modelValue:l.areaCode,"onUpdate:modelValue":t[22]||(t[22]=P=>l.areaCode=P),"area-list":l.areaList,onConfirm:s.handlePopupConfirm,onCancel:t[23]||(t[23]=P=>l.areaVisible=!1)},null,8,["modelValue","area-list","onConfirm"])]),_:1},8,["teleport","show"])):n.item.type==="picker"?(o.openBlock(),o.createBlock(A,{key:3,teleport:s.teleport,show:l.pickerVisible,"onUpdate:show":t[26]||(t[26]=P=>l.pickerVisible=P),round:"",position:"bottom"},{default:o.withCtx(()=>[o.createVNode(R,{columns:n.item.options,"columns-field-names":{text:"content"},onCancel:t[25]||(t[25]=P=>l.pickerVisible=!1),onConfirm:s.handlePopupConfirm},null,8,["columns","onConfirm"])]),_:1},8,["teleport","show"])):n.item.type==="customPicker"?(o.openBlock(),o.createBlock(A,{key:4,teleport:s.teleport,show:l.cusPickerVisible,"onUpdate:show":t[28]||(t[28]=P=>l.cusPickerVisible=P),round:"",position:"bottom",style:{height:"50%",overflow:"hidden"}},{default:o.withCtx(()=>[o.createVNode(R,{ref:"cusPicker",class:"custom-picker",columns:n.item.options,"columns-field-names":{text:"content"},loading:l.loadCustom,style:{padding:"0 10px"},onCancel:s.closeCusPicker,onConfirm:s.handlePopupConfirm},{"columns-top":o.withCtx(()=>[o.createElementVNode("div",{style:o.normalizeStyle(l.pickerTop)},[o.createVNode(q,{style:{flex:"1"},modelValue:l.cusSearchValue,"onUpdate:modelValue":t[27]||(t[27]=P=>l.cusSearchValue=P),shape:"round",placeholder:"请输入搜索关键词"},null,8,["modelValue"]),o.createVNode(C,{style:{width:"60px"},type:"primary",size:"small",onClick:s.searchCus},{default:o.withCtx(()=>[o.createTextVNode("搜索")]),_:1},8,["onClick"])],4),l.optionEmpty?(o.openBlock(),o.createBlock(z,{key:0,description:"暂无信息"})):o.createCommentVNode("",!0)]),_:1},8,["columns","loading","onCancel","onConfirm"])]),_:1},8,["teleport","show"])):o.createCommentVNode("",!0),o.createVNode(A,{teleport:s.teleport,show:l.showSign,"onUpdate:show":t[31]||(t[31]=P=>l.showSign=P),onClose:s.closeSign},{default:o.withCtx(()=>[o.createElementVNode("div",V5,[o.createVNode(K,{class:"sign-area",ref:"esign",width:300,height:200,isCrop:!0},null,512),o.createElementVNode("div",T5,[o.createElementVNode("div",{class:"btn",onClick:t[29]||(t[29]=(...P)=>s.resetSign&&s.resetSign(...P))},"清空"),o.createElementVNode("div",{class:"btn",onClick:t[30]||(t[30]=(...P)=>s.saveSign&&s.saveSign(...P))},"确定")])])]),_:1},8,["teleport","show","onClose"]),o.createVNode(A,{show:l.showDialog,"onUpdate:show":t[33]||(t[33]=P=>l.showDialog=P),round:""},{default:o.withCtx(()=>[o.createElementVNode("div",N5,[B5,o.createElementVNode("div",D5,[o.createElementVNode("div",O5,[o.createVNode(C,{type:"default",onClick:t[32]||(t[32]=P=>l.showDialog=!1)},{default:o.withCtx(()=>[o.createTextVNode("取消")]),_:1})]),o.createElementVNode("div",P5,[o.createVNode(C,{plain:"",type:"info",onClick:s.confirmDelete},{default:o.withCtx(()=>[o.createTextVNode("确认")]),_:1},8,["onClick"])])])])]),_:1},8,["show"])])):o.createCommentVNode("",!0)}const l0=no(Wy,[["render",R5],["__scopeId","data-v-2666bb90"]]);/*!
34
34
  * vue-draggable-next v2.2.0
35
35
  * (c) 2023 Anish George
36
36
  * @license MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yqform-h5",
3
3
  "private": false,
4
- "version": "0.1.30",
4
+ "version": "0.1.31",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --mode devp",
@@ -39,5 +39,8 @@
39
39
  "unplugin-auto-import": "^0.16.6",
40
40
  "unplugin-vue-components": "^0.25.1",
41
41
  "vite": "^4.4.5"
42
+ },
43
+ "volta": {
44
+ "node": "16.20.2"
42
45
  }
43
46
  }