0&&e.stroke()}}function ln(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.x c(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(Ar({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(Ar({start:g,end:d,loop:f,count:o,style:p})),m}function Nr(e,t){let n=[],r=e.segments;for(let i=0;i 0&&e.stroke()}}function ln(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.x c(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(Ar({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(Ar({start:g,end:d,loop:f,count:o,style:p})),m}function Nr(e,t){let n=[],r=e.segments;for(let i=0;i 上传 STEP/STP 产品件,完成自动分模、工程建议与导出 上传 STEP/STP 产品件,完成自动分模、工程建议与导出{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});Ie(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=Ze(e),c=Ho(e,this._lastEvent,n,s);n&&(this._lastEvent=null,F(i.onHover,[e,o,this],this),s&&F(i.onClick,[e,o,this],this));let l=!Ie(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function Wo(){return I(Uo.instances,e=>e._plugins.invalidate())}function Go(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,H(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,H(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*H(r-n));if(u===`round`)e.arc(i,a,t,n-L/2,r+L/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+L/2)+i,c=-o*Math.sin(n+L/2)+a,l=o*Math.cos(r+L/2)+i,u=o*Math.sin(r+L/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function Ko(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+z,r-z),e.closePath(),e.clip()}function qo(e){return Cn(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Jo(e,t,n,r){let i=qo(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return U(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:U(i.innerStart,0,o),innerEnd:U(i.innerEnd,0,o)}}function Yo(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Xo(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/L)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=Jo(t,f,d,_-g),S=d-v,C=d-y,w=g+v/S,T=_-y/C,E=f+b,D=f+x,ee=g+b/E,O=_-x/D;if(e.beginPath(),a){let t=(w+T)/2;if(e.arc(o,s,d,w,t),e.arc(o,s,d,t,T),y>0){let t=Yo(C,T,o,s);e.arc(t.x,t.y,y,T,_+z)}let n=Yo(D,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=Yo(D,O,o,s);e.arc(t.x,t.y,x,_+z,O+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=Yo(E,ee,o,s);e.arc(t.x,t.y,b,ee+Math.PI,g-z)}let i=Yo(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=Yo(S,w,o,s);e.arc(t.x,t.y,v,g-z,w)}}else{e.moveTo(o,s);let t=Math.cos(w)*d+o,n=Math.sin(w)*d+s;e.lineTo(t,n);let r=Math.cos(T)*d+o,i=Math.sin(T)*d+s;e.lineTo(r,i)}e.closePath()}function Zo(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Xo(e,t,n,r,c,i);for(let t=0;t=L&&p===0&&u!==`miter`&&Go(e,t,h),a||(Xo(e,t,n,r,h,i),e.stroke())}var $o=class extends Fa{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=pt(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=P(l,o-a),f=gt(r,a,o)&&a!==o,p=d>=R||f,m=W(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>R?Math.floor(n/R):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(L,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Zo(e,this,s,i,a),Qo(e,this,s,i,a),e.restore()}};function es(e,t,n=t){e.lineCap=P(n.borderCapStyle,t.borderCapStyle),e.setLineDash(P(n.borderDash,t.borderDash)),e.lineDashOffset=P(n.borderDashOffset,t.borderDashOffset),e.lineJoin=P(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=P(n.borderWidth,t.borderWidth),e.strokeStyle=P(n.borderColor,t.borderColor)}function ts(e,t,n){e.lineTo(n.x,n.y)}function ns(e){return e.stepped?fn:e.tension||e.cubicInterpolationMode===`monotone`?pn:ts}function rs(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=in.length){for(c=0;c{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});Ie(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=Ze(e),c=Ho(e,this._lastEvent,n,s);n&&(this._lastEvent=null,F(i.onHover,[e,o,this],this),s&&F(i.onClick,[e,o,this],this));let l=!Ie(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function Wo(){return I(Uo.instances,e=>e._plugins.invalidate())}function Go(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,H(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,H(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*H(r-n));if(u===`round`)e.arc(i,a,t,n-L/2,r+L/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+L/2)+i,c=-o*Math.sin(n+L/2)+a,l=o*Math.cos(r+L/2)+i,u=o*Math.sin(r+L/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function Ko(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+z,r-z),e.closePath(),e.clip()}function qo(e){return Cn(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Jo(e,t,n,r){let i=qo(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return U(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:U(i.innerStart,0,o),innerEnd:U(i.innerEnd,0,o)}}function Yo(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Xo(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/L)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=Jo(t,f,d,_-g),S=d-v,C=d-y,w=g+v/S,T=_-y/C,E=f+b,D=f+x,ee=g+b/E,O=_-x/D;if(e.beginPath(),a){let t=(w+T)/2;if(e.arc(o,s,d,w,t),e.arc(o,s,d,t,T),y>0){let t=Yo(C,T,o,s);e.arc(t.x,t.y,y,T,_+z)}let n=Yo(D,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=Yo(D,O,o,s);e.arc(t.x,t.y,x,_+z,O+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=Yo(E,ee,o,s);e.arc(t.x,t.y,b,ee+Math.PI,g-z)}let i=Yo(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=Yo(S,w,o,s);e.arc(t.x,t.y,v,g-z,w)}}else{e.moveTo(o,s);let t=Math.cos(w)*d+o,n=Math.sin(w)*d+s;e.lineTo(t,n);let r=Math.cos(T)*d+o,i=Math.sin(T)*d+s;e.lineTo(r,i)}e.closePath()}function Zo(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Xo(e,t,n,r,c,i);for(let t=0;t=L&&p===0&&u!==`miter`&&Go(e,t,h),a||(Xo(e,t,n,r,h,i),e.stroke())}var $o=class extends Fa{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=pt(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=P(l,o-a),f=gt(r,a,o)&&a!==o,p=d>=R||f,m=W(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>R?Math.floor(n/R):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(L,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Zo(e,this,s,i,a),Qo(e,this,s,i,a),e.restore()}};function es(e,t,n=t){e.lineCap=P(n.borderCapStyle,t.borderCapStyle),e.setLineDash(P(n.borderDash,t.borderDash)),e.lineDashOffset=P(n.borderDashOffset,t.borderDashOffset),e.lineJoin=P(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=P(n.borderWidth,t.borderWidth),e.strokeStyle=P(n.borderColor,t.borderColor)}function ts(e,t,n){e.lineTo(n.x,n.y)}function ns(e){return e.stepped?fn:e.tension||e.cubicInterpolationMode===`monotone`?pn:ts}function rs(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=i注塑模 STP 分析
注塑模 STP 分析
3D 预览
未生成3D 预览
未生成=t||n<0||d&&r>=a}function _(){var e=Qv();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Qv())}function x(){var e=Qv(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}function ry(e,t,n){(n!==void 0&&!gp(e[t],n)||n===void 0&&!(t in e))&&hp(e,t,n)}function iy(e){return tf(e)&&Tp(e)}function ay(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}function oy(e){return yp(e,jm(e))}function sy(e,t,n,r,i,a,o){var s=ay(e,n),c=ay(t,n),l=o.get(c);if(l){ry(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=of(c),p=!f&&Vp(c),m=!f&&!p&&bm(c);u=c,f||p||m?of(s)?u=s:iy(s)?u=Qf(s):p?(d=!1,u=$h(c,!0)):m?(d=!1,u=Lg(c,!0)):u=[]:Fh(c)||Ip(c)?(u=s,Ip(s)?u=oy(s):(!hf(s)||jf(s))&&(u=i_(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),ry(e,n,u)}function cy(e,t,n,r,i){e!==t&&Jv(t,function(a,o){if(i||=new Kh,hf(a))sy(e,t,o,n,cy,r,i);else{var s=r?r(ay(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),ry(e,o,s)}},jm)}function ly(e,t,n){for(var r=-1,i=e==null?0:e.length;++r1,t}),yp(e,ug(e),n),r&&(n=U_(n,ky|Ay|jy,Oy));for(var i=t.length;i--;)Dy(n,t[i]);return n});function Ny(e,t,n,r){if(!hf(e))return e;t=_h(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i=Vy){var l=t?null:By(e);if(l)return rv(l);o=!1,i=Q_,c=new X_}else c=t?[]:s;outer:for(;++re===void 0,Gy=e=>typeof e==`boolean`,Ky=e=>typeof e==`number`,qy=e=>!e&&e!==0||b(e)&&e.length===0||D(e)&&!Object.keys(e).length,Jy=e=>typeof Element>`u`?!1:e instanceof Element,Yy=e=>Sy(e),Xy=e=>T(e)?!Number.isNaN(Number(e)):!1,Zy=e=>e===window,Qy=e=>Object.keys(e),$y=e=>Object.entries(e),eb=(e,t,n)=>({get value(){return xh(e,t,n)},set value(n){Ly(e,t,n)}}),tb=`__epPropKey`,Z=e=>e,nb=e=>D(e)&&!!e.__epPropKey,rb=(e,t)=>{if(!D(e)||nb(e))return e;let{values:n,required:r,default:i,type:a,validator:o}=e,s={type:a,required:!!r,validator:n||o?r=>{let a=!1,s=[];if(n&&(s=Array.from(n),y(e,`default`)&&s.push(i),a||=s.includes(r)),o&&(a||=o(r)),!a&&s.length>0){let e=[...new Set(s)].map(e=>JSON.stringify(e)).join(`, `);Oo(`Invalid prop: validation failed${t?` for prop "${t}"`:``}. Expected one of [${e}], got value ${JSON.stringify(r)}.`)}return a}:void 0,[tb]:!0};return y(e,`default`)&&(s.default=i),s},Q=e=>yy(Object.entries(e).map(([e,t])=>[e,rb(t,e)])),ib=Q({zIndex:{type:Z([Number,String]),default:100},target:{type:String,default:``},offset:{type:Number,default:0},position:{type:String,values:[`top`,`bottom`],default:`top`},teleported:Boolean,appendTo:{type:Z([String,Object]),default:`body`}}),ab={scroll:({scrollTop:e,fixed:t})=>Ky(e)&&Gy(t),[Fd]:e=>Gy(e)},ob=class extends Error{constructor(e){super(e),this.name=`ElementPlusError`}};function sb(e,t){throw new ob(`[${e}] ${t}`)}function cb(e,t){{let n=T(e)?new ob(`[${e}] ${t}`):e;console.warn(n)}}var lb=[`class`,`style`],ub=/^on[A-Z]/,db=(e={})=>{let{excludeListeners:t=!1,excludeKeys:n}=e,r=Y(()=>(n?.value||[]).concat(lb)),i=so();return i?Y(()=>yy(Object.entries(i.proxy?.$attrs).filter(([e])=>!r.value.includes(e)&&!(t&&ub.test(e))))):(cb(`use-attrs`,`getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function`),Y(()=>({})))};function fb(e,t){let n=ln();return rr(()=>{n.value=e()},{...t,flush:t?.flush??`sync`}),Xt(n)}function pb(e,t){return Pe()?(Fe(e,t),!0):!1}var mb=new WeakMap,hb=(...e)=>{let t=e[0],n=so()?.proxy??Pe();if(n==null&&!er())throw Error(`injectLocal must be called in setup`);return n&&mb.has(n)&&t in mb.get(n)?mb.get(n)[t]:z(...e)},gb=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var _b=e=>e!==void 0,vb=e=>e!=null,yb=Object.prototype.toString,bb=e=>yb.call(e)===`[object Object]`,xb=(e,t,n)=>Math.min(n,Math.max(t,e)),Sb=()=>{},Cb=wb();function wb(){var e,t;return gb&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Tb(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function Eb(e,t={}){let n,r,i=Sb,a=e=>{clearTimeout(e),i(),i=Sb},o;return s=>{let c=pn(e),l=pn(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function Db(...e){let t=0,n,r=!0,i=Sb,a,o,s,c,l;!cn(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[o,s=!0,c=!0,l=!1]=e;let u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=Sb)};return e=>{let d=pn(o),f=Date.now()-t,p=()=>a=e();return u(),d<=0?(t=Date.now(),p()):(f>d?(t=Date.now(),(c||!r)&&p()):s&&(a=new Promise((e,a)=>{i=l?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),u()},Math.max(0,d-f))})),!c&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,a)}}function Ob(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function kb(e){return Array.isArray(e)?e:[e]}function Ab(e){return e||so()}function jb(e){return Jt(cn(e)?new Proxy({},{get(t,n,r){return I(Reflect.get(e.value,n,r))},set(t,n,r){return cn(e.value[n])&&!cn(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function Mb(e){return jb(Y(e))}function Nb(e,t=200,n={}){return Tb(Eb(t,n),e)}function Pb(e,t=200,n={}){let r=F(pn(e)),i=Nb(()=>{r.value=e.value},t,n);return B(e,()=>i()),Zt(r)}function Fb(e,t=200,n=!1,r=!0,i=!1){return Tb(Db(t,n,r,i),e)}function Ib(e,t=!0,n){Ab(n)?Xr(e,n):t?e():L(e)}function Lb(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=ln(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},pn(t))}return r&&(a.value=!0,gb&&l()),pb(c),{isPending:Zt(a),start:l,stop:c}}function Rb(e,t,n){return B(e,t,{...n,immediate:!0})}var zb=gb?window:void 0,Bb=gb?window.document:void 0;gb&&window.navigator,gb&&window.location;function Vb(e){let t=pn(e);return t?.$el??t}function Hb(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=Y(()=>{let t=kb(pn(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Rb(()=>[n.value?.map(e=>Vb(e))??[zb].filter(e=>e!=null),kb(pn(n.value?e[1]:e[0])),kb(I(n.value?e[2]:e[1])),pn(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=bb(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Ub=!1;function Wb(e,t,n={}){let{window:r=zb,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:Sb,cancel:Sb,trigger:Sb}:Sb;if(Cb&&!Ub){Ub=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,Sb,e)),r.document.documentElement.addEventListener(`click`,Sb,e)}let c=!0,l=e=>pn(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=Vb(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=pn(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=pn(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=Vb(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},p=!1,m=[Hb(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),Hb(r,`pointerdown`,t=>{let n=Vb(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&Hb(r,`blur`,n=>{setTimeout(()=>{let i=Vb(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function Gb(){let e=ln(!1),t=so();return t&&Xr(()=>{e.value=!0},t),e}function Kb(e){let t=Gb();return Y(()=>(t.value,!!e()))}function qb(e,t,n={}){let{window:r=zb,...i}=n,a,o=Kb(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=B(Y(()=>{let t=kb(pn(e)).map(Vb).filter(vb);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return pb(u),{isSupported:o,stop:u,takeRecords:l}}function Jb(e,t,n={}){let{window:r=zb,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return Sb;let o,s=e=>{o?.(),o=e},c=rr(()=>{let n=Vb(e);if(n){let{stop:e}=qb(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return pb(l),l}function Yb(e={}){let{window:t=zb,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(var t;e?.shadowRoot;)e=e==null||(t=e.shadowRoot)==null?void 0:t.activeElement;return e},o=ln(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};Hb(t,`blur`,e=>{e.relatedTarget===null&&s()},e),Hb(t,`focus`,s,e)}return r&&Jb(o,s,{document:i}),s(),o}var Xb=Symbol(`vueuse-ssr-width`);function Zb(){let e=er()?hb(Xb,null):null;return typeof e==`number`?e:void 0}function Qb(e,t={}){let{window:n=zb,ssrWidth:r=Zb()}=t,i=Kb(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=ln(typeof r==`number`),o=ln(),s=ln(!1);return rr(()=>{if(a.value){a.value=!i.value,s.value=pn(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=Ob(n[1])),i&&a&&(a=r<=Ob(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(pn(e)),s.value=o.value.matches)}),Hb(o,`change`,e=>{s.value=e.matches},{passive:!0}),Y(()=>s.value)}function $b(e){return JSON.parse(JSON.stringify(e))}function ex(e,t,n={}){let{window:r=zb,initialValue:i,observe:a=!1}=n,o=ln(i),s=Y(()=>{var e;return Vb(t)||(r==null||(e=r.document)==null?void 0:e.documentElement)});function c(){let t=pn(e),n=pn(s);n&&r&&t&&(o.value=r.getComputedStyle(n).getPropertyValue(t)?.trim()||o.value||i)}return a&&qb(s,c,{attributeFilter:[`style`,`class`],window:r}),B([s,()=>pn(e)],(e,t)=>{t[0]&&t[1]&&t[0].style.removeProperty(t[1]),c()},{immediate:!0}),B([o,s],([t,n])=>{let r=pn(e);n?.style&&r&&(t==null?n.style.removeProperty(r):n.style.setProperty(r,t))},{immediate:!0}),o}function tx(e={}){let{document:t=Bb}=e;if(!t)return ln(`visible`);let n=ln(t.visibilityState);return Hb(t,`visibilitychange`,()=>{n.value=t.visibilityState},{passive:!0}),n}function nx(e,t,n={}){let{window:r=zb,...i}=n,a,o=Kb(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=B(Y(()=>{let t=pn(e);return Array.isArray(t)?t.map(e=>Vb(e)):[Vb(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return pb(l),{isSupported:o,stop:l}}function rx(e,t={}){let{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:a=!0,updateTiming:o=`sync`}=t,s=ln(0),c=ln(0),l=ln(0),u=ln(0),d=ln(0),f=ln(0),p=ln(0),m=ln(0);function h(){let t=Vb(e);if(!t){n&&(s.value=0,c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0);return}let r=t.getBoundingClientRect();s.value=r.height,c.value=r.bottom,l.value=r.left,u.value=r.right,d.value=r.top,f.value=r.width,p.value=r.x,m.value=r.y}function g(){o===`sync`?h():o===`next-frame`&&requestAnimationFrame(()=>h())}return nx(e,g),B(()=>Vb(e),e=>!e&&g()),qb(e,g,{attributeFilter:[`style`,`class`]}),i&&Hb(`scroll`,g,{capture:!0,passive:!0}),r&&Hb(`resize`,g,{passive:!0}),Ib(()=>{a&&g()}),{height:s,bottom:c,left:l,right:u,top:d,width:f,x:p,y:m,update:g}}function ix(e,t={width:0,height:0},n={}){let{window:r=zb,box:i=`content-box`}=n,a=Y(()=>{var t;return(t=Vb(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),o=ln(t.width),s=ln(t.height),{stop:c}=nx(e,([t])=>{let n=i===`border-box`?t.borderBoxSize:i===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&a.value){let t=Vb(e);if(t){let e=t.getBoundingClientRect();o.value=e.width,s.value=e.height}}else if(n){let e=kb(n);o.value=e.reduce((e,{inlineSize:t})=>e+t,0),s.value=e.reduce((e,{blockSize:t})=>e+t,0)}else o.value=t.contentRect.width,s.value=t.contentRect.height},n);Ib(()=>{let n=Vb(e);n&&(o.value=`offsetWidth`in n?n.offsetWidth:t.width,s.value=`offsetHeight`in n?n.offsetHeight:t.height)});let l=B(()=>Vb(e),e=>{o.value=e?t.width:0,s.value=e?t.height:0});function u(){c(),l()}return{width:o,height:s,stop:u}}function ax(e,t,n={}){let{root:r,rootMargin:i,threshold:a=0,window:o=zb,immediate:s=!0}=n,c=Kb(()=>o&&`IntersectionObserver`in o),l=Y(()=>kb(pn(e)).map(Vb).filter(vb)),u=Sb,d=ln(s),f=c.value?B(()=>[l.value,Vb(r),pn(i),d.value],([e,n,r])=>{if(u(),!d.value||!e.length)return;let i=new IntersectionObserver(t,{root:Vb(n),rootMargin:r,threshold:a});e.forEach(e=>e&&i.observe(e)),u=()=>{i.disconnect(),u=Sb}},{immediate:s,flush:`post`}):Sb,p=()=>{u(),f(),d.value=!1};return pb(p),{isSupported:c,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function ox(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=so(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):$b(e):e,g=()=>_b(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=F(g()),r=!1;return B(()=>e[t],e=>{r||(r=!0,n.value=h(e),L(()=>r=!1))}),B(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}else return Y({get(){return g()},set(e){_(e)}})}function sx(e={}){let{window:t=zb}=e;if(!t)return ln(!1);let n=ln(t.document.hasFocus()),r={passive:!0};return Hb(t,`blur`,()=>{n.value=!1},r),Hb(t,`focus`,()=>{n.value=!0},r),n}function cx(e={}){let{window:t=zb,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:a=!0,type:o=`inner`}=e,s=ln(n),c=ln(r),l=()=>{if(t)if(o===`outer`)s.value=t.outerWidth,c.value=t.outerHeight;else if(o===`visual`&&t.visualViewport){let{width:e,height:n,scale:r}=t.visualViewport;s.value=Math.round(e*r),c.value=Math.round(n*r)}else a?(s.value=t.innerWidth,c.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};l(),Ib(l);let u={passive:!0};return Hb(`resize`,l,u),t&&o===`visual`&&t.visualViewport&&Hb(t.visualViewport,`resize`,l,u),i&&B(Qb(`(orientation: portrait)`),()=>l()),{width:s,height:c}}function lx(){let e=ln(),t=F(0),n=Y(()=>({minWidth:`${Math.max(t.value,11)}px`}));return nx(e,()=>{t.value=e.value?.getBoundingClientRect().width??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}var ux=({from:e,replacement:t,scope:n,version:r,ref:i,type:a=`API`},o)=>{B(()=>I(o),o=>{o&&cb(n,`[${a}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
+For more detail, please visit: ${i}
+`)},{immediate:!0})},dx=`a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])`,fx=e=>typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot,px=e=>typeof Element>`u`?!1:e instanceof Element,mx=e=>getComputedStyle(e).position===`fixed`?!1:e.offsetParent!==null,hx=e=>Array.from(e.querySelectorAll(dx)).filter(e=>gx(e)&&mx(e)),gx=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute(`tabIndex`)!==null)return!0;if(e.tabIndex<0||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`)return!1;switch(e.nodeName){case`A`:return!!e.href&&e.rel!==`ignore`;case`INPUT`:return!(e.type===`hidden`||e.type===`file`);case`BUTTON`:case`SELECT`:case`TEXTAREA`:return!0;default:return!1}},_x=function(e,t,...n){let r;r=t.includes(`mouse`)||t.includes(`click`)?`MouseEvents`:t.includes(`key`)?`KeyboardEvent`:`HTMLEvents`;let i=document.createEvent(r);return i.initEvent(t,...n),e.dispatchEvent(i),e},vx=e=>!e.getAttribute(`aria-owns`),yx=(e,t,n)=>{let{parentNode:r}=e;if(!r)return null;let i=r.querySelectorAll(n);return i[Array.prototype.indexOf.call(i,e)+t]||null},bx=(e,t)=>{if(!e||!e.focus)return;let n=!1;px(e)&&!gx(e)&&!e.getAttribute(`tabindex`)&&(e.setAttribute(`tabindex`,`-1`),n=!0),e.focus(t),px(e)&&n&&e.removeAttribute(`tabindex`)},xx=e=>{e&&(bx(e),!vx(e)&&e.click())},Sx=()=>gb&&/firefox/i.test(window.navigator.userAgent),Cx=()=>gb&&/android/i.test(window.navigator.userAgent),wx=(e=``)=>e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`),Tx=e=>ce(e),Ex=`utils/dom/style`,Dx=(e=``)=>e.split(` `).filter(e=>!!e.trim()),Ox=(e,t)=>{if(!e||!t)return!1;if(t.includes(` `))throw Error(`className should not contain space.`);return e.classList.contains(t)},kx=(e,t)=>{!e||!t.trim()||e.classList.add(...Dx(t))},Ax=(e,t)=>{!e||!t.trim()||e.classList.remove(...Dx(t))},jx=(e,t)=>{if(!gb||!e||!t||fx(e))return``;let n=ae(t);n===`float`&&(n=`cssFloat`);try{let t=e.style[n];if(t)return t;let r=document.defaultView?.getComputedStyle(e,``);return r?r[n]:``}catch{return e.style[n]}},Mx=(e,t,n)=>{if(!(!e||!t))if(D(t))$y(t).forEach(([t,n])=>Mx(e,t,n));else{let r=ae(t);e.style[r]=n}};function Nx(e,t=`px`){if(!e&&e!==0)return``;if(Ky(e)||Xy(e))return`${e}${t}`;if(T(e))return e;cb(Ex,`binding value must be a string or number`)}var Px=(e,t,n,r)=>{let i={offsetX:0,offsetY:0},a=F(!1),o=(t,n)=>{if(e.value){let{offsetX:a,offsetY:o}=i,s=e.value.getBoundingClientRect(),c=Math.max(s.left,0),l=Math.max(s.top,0),u=s.width,d=s.height,f=document.documentElement.clientWidth,p=document.documentElement.clientHeight,m=-c+a,h=-l+o,g=f-c-u+a,_=p-l-(d