{const{slotScopeIds:L}=w;L&&(B=B?B.concat(L):L);const S=a(b),P=m(s(b),w,S,M,E,B,R);return P&&mo(P)&&P.data==="]"?s(w.anchor=P):(Qt=!0,l(w.anchor=u("]"),S,P),P)},$=(b,w,M,E,B,R)=>{if(Qt=!0,w.el=null,R){const P=C(b);for(;;){const D=s(b);if(D&&D!==P)i(D);else break}}const L=s(b),S=a(b);return i(b),r(null,w,S,L,M,E,go(S),B),L},C=b=>{let w=0;for(;b;)if(b=s(b),b&&mo(b)&&(b.data==="["&&w++,b.data==="]")){if(w===0)return s(b);w--}return b};return[c,d]}const Fe=Nl;function j4(e){return n1(e)}function U4(e){return n1(e,D4)}function n1(e,t){const r=wc();r.__VUE__=!0;const{insert:n,remove:o,patchProp:s,createElement:a,createText:i,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:h,setScopeId:m=Ye,insertStaticContent:v}=e,$=(y,x,A,T=null,V=null,N=null,X=!1,I=null,U=!!x.dynamicChildren)=>{if(y===x)return;y&&!Tt(y,x)&&(T=W(y),je(y,V,N,!0),y=null),x.patchFlag===-2&&(U=!1,x.dynamicChildren=null);const{type:O,ref:te,shapeFlag:Z}=x;switch(O){case nn:C(y,x,A,T);break;case Qe:b(y,x,A,T);break;case Bn:y==null&&w(x,A,T,X);break;case Ae:F(y,x,A,T,V,N,X,I,U);break;default:Z&1?B(y,x,A,T,V,N,X,I,U):Z&6?Q(y,x,A,T,V,N,X,I,U):(Z&64||Z&128)&&O.process(y,x,A,T,V,N,X,I,U,de)}te!=null&&V&&Go(te,y&&y.ref,N,x||y,!x)},C=(y,x,A,T)=>{if(y==null)n(x.el=i(x.children),A,T);else{const V=x.el=y.el;x.children!==y.children&&u(V,x.children)}},b=(y,x,A,T)=>{y==null?n(x.el=l(x.children||""),A,T):x.el=y.el},w=(y,x,A,T)=>{[y.el,y.anchor]=v(y.children,x,A,T,y.el,y.anchor)},M=({el:y,anchor:x},A,T)=>{let V;for(;y&&y!==x;)V=h(y),n(y,A,T),y=V;n(x,A,T)},E=({el:y,anchor:x})=>{let A;for(;y&&y!==x;)A=h(y),o(y),y=A;o(x)},B=(y,x,A,T,V,N,X,I,U)=>{X=X||x.type==="svg",y==null?R(x,A,T,V,N,X,I,U):P(y,x,V,N,X,I,U)},R=(y,x,A,T,V,N,X,I)=>{let U,O;const{type:te,props:Z,shapeFlag:H,transition:Y,dirs:ae}=y;if(U=y.el=a(y.type,N,Z&&Z.is,Z),H&8?c(U,y.children):H&16&&S(y.children,U,null,T,V,N&&te!=="foreignObject",X,I),ae&&St(y,null,T,"created"),Z){for(const be in Z)be!=="value"&&!Tn(be)&&s(U,be,null,Z[be],N,y.children,T,V,K);"value"in Z&&s(U,"value",null,Z.value),(O=Z.onVnodeBeforeMount)&&tt(O,T,y)}L(U,y,y.scopeId,X,T),ae&&St(y,null,T,"beforeMount");const ve=(!V||V&&!V.pendingBranch)&&Y&&!Y.persisted;ve&&Y.beforeEnter(U),n(U,x,A),((O=Z&&Z.onVnodeMounted)||ve||ae)&&Fe(()=>{O&&tt(O,T,y),ve&&Y.enter(U),ae&&St(y,null,T,"mounted")},V)},L=(y,x,A,T,V)=>{if(A&&m(y,A),T)for(let N=0;Nln(u,i))?n.push(i):r.push(i));const l=e.matched[a];l&&(t.matched.find(u=>ln(u,l))||o.push(l))}return[r,n,o]}function Ca(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[r,n]=e;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(n!==void 0&&typeof n!="function")throw new Error("[nuxt] [useState] init must be a function: "+n);const o="$s"+r,s=Pe(),a=Vr(s.payload.state,o);if(a.value===void 0&&n){const i=n();if(Ce(i))return s.payload.state[o]=i,i;a.value=i}return a}const qf=decodeURIComponent,Wf=encodeURIComponent,Yf=/; */,$o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Kf(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");let r={},n=t||{},o=e.split(Yf),s=n.decode||qf;for(let a=0;as&&(n=n/r*s,r=s),n>s&&(r=r/n*s,n=s),this.checkOrientationImage(e,this.orientation,r,n)})},e.onerror=()=>{this.$emit("img-load","error")},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var r=URL.createObjectURL(this.response);e.src=r},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var r={x:this.touches[0].clientX,y:this.touches[0].clientY},n={x:e.touches[0].clientX,y:e.touches[0].clientY},o={x:this.touches[1].clientX,y:this.touches[1].clientY},s={x:e.touches[1].clientX,y:e.touches[1].clientY},a=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),i=Math.sqrt(Math.pow(n.x-s.x,2)+Math.pow(n.y-s.y,2)),l=i-a,u=1;u=u/this.trueWidth>u/this.trueHeight?u/this.trueHeight:u/this.trueWidth,u=u>.1?.1:u;var c=u*l;if(!this.touchNow){if(this.touchNow=!0,l>0?t+=Math.abs(c):l<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,r="clientY"in e?e.clientY:e.touches[0].clientY,n,o;n=t-this.moveX,o=r-this.moveY,this.$nextTick(()=>{if(this.centerBox){let s=this.getImgAxis(n,o,this.scale),a=this.getCropAxis(),i=this.trueHeight*this.scale,l=this.trueWidth*this.scale,u,c,d,h;switch(this.rotate){case 1:case-1:case 3:case-3:u=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(i-l)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(l-i)/2,d=u-i+this.cropW,h=c-l+this.cropH;break;default:u=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,d=u-l+this.cropW,h=c-i+this.cropH;break}s.x1>=a.x1&&(n=u),s.y1>=a.y1&&(o=c),s.x2<=a.x2&&(n=d),s.y2<=a.y2&&(o=h)}this.x=n,this.y=o,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var r=e.deltaY||e.wheelDelta,n=navigator.userAgent.indexOf("Firefox");r=n>0?r*30:r,this.isIE&&(r=-r);var o=this.coe;o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth;var s=o*r;s<0?t+=Math.abs(s):t>Math.abs(s)&&(t-=Math.abs(s));let a=s<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var r=20;if(r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth,e=e*r,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,r="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var n=t-this.cropX,o=r-this.cropY;if(n>0?(this.cropW=n+this.cropChangeX>this.w?this.w-this.cropChangeX:n,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(n)>this.w?this.cropChangeX:Math.abs(n),this.cropOffsertX=this.cropChangeX+n>0?this.cropChangeX+n:0),!this.fixed)o>0?(this.cropH=o+this.cropChangeY>this.h?this.h-this.cropChangeY:o,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(o)>this.h?this.cropChangeY:Math.abs(o),this.cropOffsertY=this.cropChangeY+o>0?this.cropChangeY+o:0);else{var s=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];s+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],n>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=s,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,r,n,o){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=r,this.changeCropTypeX=n,this.changeCropTypeY=o,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,r="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let n=this.w,o=this.h,s=0,a=0;if(this.centerBox){let i=this.getImgAxis(),l=i.x2,u=i.y2;s=i.x1>0?i.x1:0,a=i.y1>0?i.y1:0,n>l&&(n=l),o>u&&(o=u)}this.$nextTick(()=>{var i=t-this.cropX,l=r-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-i>0?(this.cropW=n-this.cropChangeX-i<=n-s?this.cropOldW-i:this.cropOldW+this.cropChangeX-s,this.cropOffsertX=n-this.cropChangeX-i<=n-s?this.cropChangeX+i:s):(this.cropW=Math.abs(i)+this.cropChangeX<=n?Math.abs(i)-this.cropOldW:n-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+i>0?(this.cropW=this.cropOldW+i+this.cropOffsertX<=n?this.cropOldW+i:n-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=n-this.cropChangeX+Math.abs(i+this.cropOldW)<=n-s?Math.abs(i+this.cropOldW):this.cropChangeX-s,this.cropOffsertX=n-this.cropChangeX+Math.abs(i+this.cropOldW)<=n-s?this.cropChangeX-Math.abs(i+this.cropOldW):s))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-l>0?(this.cropH=o-this.cropChangeY-l<=o-a?this.cropOldH-l:this.cropOldH+this.cropChangeY-a,this.cropOffsertY=o-this.cropChangeY-l<=o-a?this.cropChangeY+l:a):(this.cropH=Math.abs(l)+this.cropChangeY<=o?Math.abs(l)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+l>0?(this.cropH=this.cropOldH+l+this.cropOffsertY<=o?this.cropOldH+l:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(l+this.cropOldH)<=o-a?Math.abs(l+this.cropOldH):this.cropChangeY-a,this.cropOffsertY=o-this.cropChangeY+Math.abs(l+this.cropOldH)<=o-a?this.cropChangeY-Math.abs(l+this.cropOldH):a))),this.canChangeX&&this.fixed){var u=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];u+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0]):this.cropH=u}if(this.canChangeY&&this.fixed){var c=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];c+this.cropOffsertX>n?(this.cropW=n-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=c}})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:r}=this,n=new Array;return Array.isArray[r]?n=r:n=[r,r],e=parseFloat(n[0]),t=parseFloat(n[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop(){this.cropW===0&&this.cropH===0&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,r="clientY"in e?e.clientY:e.touches[0].clientY,n,o;n=t-this.cropOffsertX,o=r-this.cropOffsertY,this.cropX=n,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let r=0,n=0;e&&(e.preventDefault(),r="clientX"in e?e.clientX:e.touches[0].clientX,n="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let o,s,a=r-this.cropX,i=n-this.cropY;if(t&&(a=this.cropOffsertX,i=this.cropOffsertY),a<=0?o=0:a+this.cropW>this.w?o=this.w-this.cropW:o=a,i<=0?s=0:i+this.cropH>this.h?s=this.h-this.cropH:s=i,this.centerBox){let l=this.getImgAxis();o<=l.x1&&(o=l.x1),o+this.cropW>l.x2&&(o=l.x2-this.cropW),s<=l.y1&&(s=l.y1),s+this.cropH>l.y2&&(s=l.y2-this.cropH)}this.cropOffsertX=o,this.cropOffsertY=s,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,r){e=e||this.x,t=t||this.y,r=r||this.scale;let n={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*r,s=this.trueHeight*r;switch(this.rotate){case 0:n.x1=e+this.trueWidth*(1-r)/2,n.x2=n.x1+this.trueWidth*r,n.y1=t+this.trueHeight*(1-r)/2,n.y2=n.y1+this.trueHeight*r;break;case 1:case-1:case 3:case-3:n.x1=e+this.trueWidth*(1-r)/2+(o-s)/2,n.x2=n.x1+this.trueHeight*r,n.y1=t+this.trueHeight*(1-r)/2+(s-o)/2,n.y2=n.y1+this.trueWidth*r;break;default:n.x1=e+this.trueWidth*(1-r)/2,n.x2=n.x1+this.trueWidth*r,n.y1=t+this.trueHeight*(1-r)/2,n.y2=n.y1+this.trueHeight*r;break}return n},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),r=new Image,n=this.rotate,o=this.trueWidth,s=this.trueHeight,a=this.cropOffsertX,i=this.cropOffsertY;r.onload=()=>{if(this.cropW!==0){let c=t.getContext("2d"),d=1;this.high&!this.full&&(d=window.devicePixelRatio),this.enlarge!==1&!this.full&&(d=Math.abs(Number(this.enlarge)));let h=this.cropW*d,m=this.cropH*d,v=o*this.scale*d,$=s*this.scale*d,C=(this.x-a+this.trueWidth*(1-this.scale)/2)*d,b=(this.y-i+this.trueHeight*(1-this.scale)/2)*d;switch(u(h,m),c.save(),n){case 0:this.full?(u(h/this.scale,m/this.scale),c.drawImage(r,C/this.scale,b/this.scale,v/this.scale,$/this.scale)):c.drawImage(r,C,b,v,$);break;case 1:case-3:this.full?(u(h/this.scale,m/this.scale),C=C/this.scale+(v/this.scale-$/this.scale)/2,b=b/this.scale+($/this.scale-v/this.scale)/2,c.rotate(n*90*Math.PI/180),c.drawImage(r,b,-C-$/this.scale,v/this.scale,$/this.scale)):(C=C+(v-$)/2,b=b+($-v)/2,c.rotate(n*90*Math.PI/180),c.drawImage(r,b,-C-$,v,$));break;case 2:case-2:this.full?(u(h/this.scale,m/this.scale),c.rotate(n*90*Math.PI/180),C=C/this.scale,b=b/this.scale,c.drawImage(r,-C-v/this.scale,-b-$/this.scale,v/this.scale,$/this.scale)):(c.rotate(n*90*Math.PI/180),c.drawImage(r,-C-v,-b-$,v,$));break;case 3:case-1:this.full?(u(h/this.scale,m/this.scale),C=C/this.scale+(v/this.scale-$/this.scale)/2,b=b/this.scale+($/this.scale-v/this.scale)/2,c.rotate(n*90*Math.PI/180),c.drawImage(r,-b-v/this.scale,C,v/this.scale,$/this.scale)):(C=C+(v-$)/2,b=b+($-v)/2,c.rotate(n*90*Math.PI/180),c.drawImage(r,-b-v,C,v,$));break;default:this.full?(u(h/this.scale,m/this.scale),c.drawImage(r,C/this.scale,b/this.scale,v/this.scale,$/this.scale)):c.drawImage(r,C,b,v,$)}c.restore()}else{let c=o*this.scale,d=s*this.scale,h=t.getContext("2d");switch(h.save(),n){case 0:u(c,d),h.drawImage(r,0,0,c,d);break;case 1:case-3:u(d,c),h.rotate(n*90*Math.PI/180),h.drawImage(r,0,-d,c,d);break;case 2:case-2:u(c,d),h.rotate(n*90*Math.PI/180),h.drawImage(r,-c,-d,c,d);break;case 3:case-1:u(d,c),h.rotate(n*90*Math.PI/180),h.drawImage(r,-c,0,c,d);break;default:u(c,d),h.drawImage(r,0,0,c,d)}h.restore()}e(t)};var l=this.img.substr(0,4);l!=="data"&&(r.crossOrigin="Anonymous"),r.src=this.imgs;function u(c,d){t.width=Math.round(c),t.height=Math.round(d)}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(r=>e(r),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,r=this.scale;var n={};n.div={width:`${e}px`,height:`${t}px`};let o=(this.x-this.cropOffsertX)/r,s=(this.y-this.cropOffsertY)/r,a=0;n.w=e,n.h=t,n.url=this.imgs,n.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${r})translate3d(${o}px, ${s}px, ${a}px)rotateZ(${this.rotate*90}deg)`},n.html=`
+
+