diff --git a/dev/img/edifier.jpg b/dev/img/edifier.jpg new file mode 100644 index 0000000..df08cf8 Binary files /dev/null and b/dev/img/edifier.jpg differ diff --git a/dev/img/huawei.png b/dev/img/huawei.png new file mode 100644 index 0000000..5660bb3 Binary files /dev/null and b/dev/img/huawei.png differ diff --git a/dev/img/ipad.jpg b/dev/img/ipad.jpg new file mode 100644 index 0000000..3cae644 Binary files /dev/null and b/dev/img/ipad.jpg differ diff --git a/dev/img/kindle.jpg b/dev/img/kindle.jpg new file mode 100644 index 0000000..9e7aa0e Binary files /dev/null and b/dev/img/kindle.jpg differ diff --git a/dev/img/mbp.jpg b/dev/img/mbp.jpg new file mode 100644 index 0000000..a7f0037 Binary files /dev/null and b/dev/img/mbp.jpg differ diff --git a/dev/img/secrit.jpg b/dev/img/secrit.jpg new file mode 100644 index 0000000..459514a Binary files /dev/null and b/dev/img/secrit.jpg differ diff --git a/dev/img/spark.jpg b/dev/img/spark.jpg new file mode 100644 index 0000000..05a55b7 Binary files /dev/null and b/dev/img/spark.jpg differ diff --git a/dev/index.html b/dev/index.html new file mode 100644 index 0000000..60934ca --- /dev/null +++ b/dev/index.html @@ -0,0 +1,17 @@ + + +
+ + + +0&&d.multiplyScalar(t),e.staticMoving?w.copy(b):w.y+=(b.y-w.y)*this.dynamicDampingFactor)},this.panCamera=(R=new i,N=new r,q=new r,function(){R.copy(k).sub(E),R.lengthSq()&&(R.multiplyScalar(d.length()*e.panSpeed),q.copy(d).cross(e.object.up).setLength(R.x),q.add(N.copy(e.object.up).setLength(R.y)),e.object.position.add(q),e.target.add(q),e.staticMoving?E.copy(k):E.add(R.subVectors(k,E).multiplyScalar(e.dynamicDampingFactor)))}),this.checkDistances=function(){e.noZoom&&e.noPan||(d.lengthSq()>e.maxDistance*e.maxDistance&&(e.object.position.addVectors(e.target,d.setLength(e.maxDistance)),w.copy(b)),d.lengthSq() d?Q(e,o,r,!0,!1,p):N(t,l,a,o,r,i,s,u,p)},U=(e,t,l,a,o,r,i,s,u)=>{let c=0;const d=t.length;let p=e.length-1,f=d-1;for(;c<=p&&c<=f;){const n=e[c],a=t[c]=u?Za(t[c]):Xa(t[c]);if(!za(n,a))break;w(n,a,l,null,o,r,i,s,u),c++}for(;c<=p&&c<=f;){const n=e[p],a=t[f]=u?Za(t[f]):Xa(t[f]);if(!za(n,a))break;w(n,a,l,null,o,r,i,s,u),p--,f--}if(c>p){if(c<=f){const e=f+1,n=e ((e,t,n)=>{const{items:l,lastVisitedIndex:a}=t;return(a>0?l[a].offset:0)>=n?zR(e,t,0,a,n):HR(e,t,Math.max(0,a),n)})(e,n,t),getStopIndexForStartIndex:(e,t,n,l)=>{const{height:a,total:o,layout:r,width:i}=e,s=RR(r)?i:a,u=FR(e,t,l),c=n+s;let d=u.offset+u.size,p=t;for(;p {const l=hD(e,t,n,"column");return[l.size,l.offset]},getRowPosition:(e,t,n)=>{const l=hD(e,t,n,"row");return[l.size,l.offset]},getColumnOffset:(e,t,n,l,a,o)=>xD(e,t,n,l,a,"column",o),getRowOffset:(e,t,n,l,a,o)=>xD(e,t,n,l,a,"row",o),getColumnStartIndexForOffset:(e,t,n)=>gD(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,l)=>{const a=hD(e,t,l,"column"),o=n+e.width;let r=a.offset+a.size,i=t;for(;i>8&255]+n[t>>16&255]+n[t>>24&255]+"-"+n[255&e]+n[e>>8&255]+"-"+n[e>>16&15|64]+n[e>>24&255]+"-"+n[63&i|128]+n[i>>8&255]+"-"+n[i>>16&255]+n[i>>24&255]+n[255&s]+n[s>>8&255]+n[s>>16&255]+n[s>>24&255]).toLowerCase()}function u(t,e,i){return Math.max(e,Math.min(i,t))}class l{constructor(t=0,e=0){l.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,i=this.y,s=t.elements;return this.x=s[0]*e+s[3]*i+s[6],this.y=s[1]*e+s[4]*i+s[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=u(this.x,t.x,e.x),this.y=u(this.y,t.y,e.y),this}clampScalar(t,e){return this.x=u(this.x,t,e),this.y=u(this.y,t,e),this}clampLength(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar(u(i,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const i=this.dot(t)/e;return Math.acos(u(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,i=this.y-t.y;return e*e+i*i}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const i=Math.cos(e),s=Math.sin(e),r=this.x-t.x,n=this.y-t.y;return this.x=r*i-n*s+t.x,this.y=r*s+n*i+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class c{constructor(t=0,e=0,i=0,s=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=i,this._w=s}static slerpFlat(t,e,i,s,r,n,h){let a=i[s+0],o=i[s+1],u=i[s+2],l=i[s+3];const c=r[n+0],d=r[n+1],p=r[n+2],m=r[n+3];if(0===h)return t[e+0]=a,t[e+1]=o,t[e+2]=u,void(t[e+3]=l);if(1===h)return t[e+0]=c,t[e+1]=d,t[e+2]=p,void(t[e+3]=m);if(l!==m||a!==c||o!==d||u!==p){let t=1-h;const e=a*c+o*d+u*p+l*m,i=e>=0?1:-1,s=1-e*e;if(s>Number.EPSILON){const r=Math.sqrt(s),n=Math.atan2(r,e*i);t=Math.sin(t*n)/r,h=Math.sin(h*n)/r}const r=h*i;if(a=a*t+c*r,o=o*t+d*r,u=u*t+p*r,l=l*t+m*r,t===1-h){const t=1/Math.sqrt(a*a+o*o+u*u+l*l);a*=t,o*=t,u*=t,l*=t}}t[e]=a,t[e+1]=o,t[e+2]=u,t[e+3]=l}static multiplyQuaternionsFlat(t,e,i,s,r,n){const h=i[s],a=i[s+1],o=i[s+2],u=i[s+3],l=r[n],c=r[n+1],d=r[n+2],p=r[n+3];return t[e]=h*p+u*l+a*d-o*c,t[e+1]=a*p+u*c+o*l-h*d,t[e+2]=o*p+u*d+h*c-a*l,t[e+3]=u*p-h*l-a*c-o*d,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,i,s){return this._x=t,this._y=e,this._z=i,this._w=s,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e=!0){const i=t._x,s=t._y,r=t._z,n=t._order,h=Math.cos,a=Math.sin,o=h(i/2),u=h(s/2),l=h(r/2),c=a(i/2),d=a(s/2),p=a(r/2);switch(n){case"XYZ":this._x=c*u*l+o*d*p,this._y=o*d*l-c*u*p,this._z=o*u*p+c*d*l,this._w=o*u*l-c*d*p;break;case"YXZ":this._x=c*u*l+o*d*p,this._y=o*d*l-c*u*p,this._z=o*u*p-c*d*l,this._w=o*u*l+c*d*p;break;case"ZXY":this._x=c*u*l-o*d*p,this._y=o*d*l+c*u*p,this._z=o*u*p+c*d*l,this._w=o*u*l-c*d*p;break;case"ZYX":this._x=c*u*l-o*d*p,this._y=o*d*l+c*u*p,this._z=o*u*p-c*d*l,this._w=o*u*l+c*d*p;break;case"YZX":this._x=c*u*l+o*d*p,this._y=o*d*l+c*u*p,this._z=o*u*p-c*d*l,this._w=o*u*l-c*d*p;break;case"XZY":this._x=c*u*l-o*d*p,this._y=o*d*l-c*u*p,this._z=o*u*p+c*d*l,this._w=o*u*l+c*d*p}return!0===e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const i=e/2,s=Math.sin(i);return this._x=t.x*s,this._y=t.y*s,this._z=t.z*s,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,i=e[0],s=e[4],r=e[8],n=e[1],h=e[5],a=e[9],o=e[2],u=e[6],l=e[10],c=i+h+l;if(c>0){const t=.5/Math.sqrt(c+1);this._w=.25/t,this._x=(u-a)*t,this._y=(r-o)*t,this._z=(n-s)*t}else if(i>h&&i>l){const t=2*Math.sqrt(1+i-h-l);this._w=(u-a)/t,this._x=.25*t,this._y=(s+n)/t,this._z=(r+o)/t}else if(h>l){const t=2*Math.sqrt(1+h-i-l);this._w=(r-o)/t,this._x=(s+n)/t,this._y=.25*t,this._z=(a+u)/t}else{const t=2*Math.sqrt(1+l-i-h);this._w=(n-s)/t,this._x=(r+o)/t,this._y=(a+u)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let i=t.dot(e)+1;return i<1e-8?(i=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=i):(this._x=0,this._y=-t.z,this._z=t.y,this._w=i)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=i),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(u(this.dot(t),-1,1)))}rotateTowards(t,e){const i=this.angleTo(t);if(0===i)return this;const s=Math.min(1,e/i);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const i=t._x,s=t._y,r=t._z,n=t._w,h=e._x,a=e._y,o=e._z,u=e._w;return this._x=i*u+n*h+s*o-r*a,this._y=s*u+n*a+r*h-i*o,this._z=r*u+n*o+i*a-s*h,this._w=n*u-i*h-s*a-r*o,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const i=this._x,s=this._y,r=this._z,n=this._w;let h=n*t._w+i*t._x+s*t._y+r*t._z;if(h<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,h=-h):this.copy(t),h>=1)return this._w=n,this._x=i,this._y=s,this._z=r,this;const a=1-h*h;if(a<=Number.EPSILON){const t=1-e;return this._w=t*n+e*this._w,this._x=t*i+e*this._x,this._y=t*s+e*this._y,this._z=t*r+e*this._z,this.normalize(),this}const o=Math.sqrt(a),u=Math.atan2(o,h),l=Math.sin((1-e)*u)/o,c=Math.sin(e*u)/o;return this._w=n*l+this._w*c,this._x=i*l+this._x*c,this._y=s*l+this._y*c,this._z=r*l+this._z*c,this._onChangeCallback(),this}slerpQuaternions(t,e,i){return this.copy(t).slerp(e,i)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),i=Math.random(),s=Math.sqrt(1-i),r=Math.sqrt(i);return this.set(s*Math.sin(t),s*Math.cos(t),r*Math.sin(e),r*Math.cos(e))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class d{constructor(t=0,e=0,i=0){d.prototype.isVector3=!0,this.x=t,this.y=e,this.z=i}set(t,e,i){return void 0===i&&(i=this.z),this.x=t,this.y=e,this.z=i,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(m.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(m.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,i=this.y,s=this.z,r=t.elements;return this.x=r[0]*e+r[3]*i+r[6]*s,this.y=r[1]*e+r[4]*i+r[7]*s,this.z=r[2]*e+r[5]*i+r[8]*s,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,i=this.y,s=this.z,r=t.elements,n=1/(r[3]*e+r[7]*i+r[11]*s+r[15]);return this.x=(r[0]*e+r[4]*i+r[8]*s+r[12])*n,this.y=(r[1]*e+r[5]*i+r[9]*s+r[13])*n,this.z=(r[2]*e+r[6]*i+r[10]*s+r[14])*n,this}applyQuaternion(t){const e=this.x,i=this.y,s=this.z,r=t.x,n=t.y,h=t.z,a=t.w,o=2*(n*s-h*i),u=2*(h*e-r*s),l=2*(r*i-n*e);return this.x=e+a*o+n*l-h*u,this.y=i+a*u+h*o-r*l,this.z=s+a*l+r*u-n*o,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,i=this.y,s=this.z,r=t.elements;return this.x=r[0]*e+r[4]*i+r[8]*s,this.y=r[1]*e+r[5]*i+r[9]*s,this.z=r[2]*e+r[6]*i+r[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=u(this.x,t.x,e.x),this.y=u(this.y,t.y,e.y),this.z=u(this.z,t.z,e.z),this}clampScalar(t,e){return this.x=u(this.x,t,e),this.y=u(this.y,t,e),this.z=u(this.z,t,e),this}clampLength(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar(u(i,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this.z=t.z+(e.z-t.z)*i,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const i=t.x,s=t.y,r=t.z,n=e.x,h=e.y,a=e.z;return this.x=s*a-r*h,this.y=r*n-i*a,this.z=i*h-s*n,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const i=t.dot(this)/e;return this.copy(t).multiplyScalar(i)}projectOnPlane(t){return p.copy(this).projectOnVector(t),this.sub(p)}reflect(t){return this.sub(p.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const i=this.dot(t)/e;return Math.acos(u(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,i=this.y-t.y,s=this.z-t.z;return e*e+i*i+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,i){const s=Math.sin(e)*t;return this.x=s*Math.sin(i),this.y=Math.cos(e)*t,this.z=s*Math.cos(i),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,i){return this.x=t*Math.sin(e),this.y=i,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),i=this.setFromMatrixColumn(t,1).length(),s=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=i,this.z=s,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}setFromColor(t){return this.x=t.r,this.y=t.g,this.z=t.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=2*Math.random()-1,i=Math.sqrt(1-e*e);return this.x=i*Math.cos(t),this.y=e,this.z=i*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const p=new d,m=new c;class y{constructor(t,e,i,s,r,n,h,a,o){y.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==t&&this.set(t,e,i,s,r,n,h,a,o)}set(t,e,i,s,r,n,h,a,o){const u=this.elements;return u[0]=t,u[1]=s,u[2]=h,u[3]=e,u[4]=r,u[5]=a,u[6]=i,u[7]=n,u[8]=o,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],this}extractBasis(t,e,i){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const i=t.elements,s=e.elements,r=this.elements,n=i[0],h=i[3],a=i[6],o=i[1],u=i[4],l=i[7],c=i[2],d=i[5],p=i[8],m=s[0],y=s[3],x=s[6],_=s[1],f=s[4],g=s[7],M=s[2],v=s[5],b=s[8];return r[0]=n*m+h*_+a*M,r[3]=n*y+h*f+a*v,r[6]=n*x+h*g+a*b,r[1]=o*m+u*_+l*M,r[4]=o*y+u*f+l*v,r[7]=o*x+u*g+l*b,r[2]=c*m+d*_+p*M,r[5]=c*y+d*f+p*v,r[8]=c*x+d*g+p*b,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],i=t[1],s=t[2],r=t[3],n=t[4],h=t[5],a=t[6],o=t[7],u=t[8];return e*n*u-e*h*o-i*r*u+i*h*a+s*r*o-s*n*a}invert(){const t=this.elements,e=t[0],i=t[1],s=t[2],r=t[3],n=t[4],h=t[5],a=t[6],o=t[7],u=t[8],l=u*n-h*o,c=h*a-u*r,d=o*r-n*a,p=e*l+i*c+s*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const m=1/p;return t[0]=l*m,t[1]=(s*o-u*i)*m,t[2]=(h*i-s*n)*m,t[3]=c*m,t[4]=(u*e-s*a)*m,t[5]=(s*r-h*e)*m,t[6]=d*m,t[7]=(i*a-o*e)*m,t[8]=(n*e-i*r)*m,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,i,s,r,n,h){const a=Math.cos(r),o=Math.sin(r);return this.set(i*a,i*o,-i*(a*n+o*h)+n+t,-s*o,s*a,-s*(-o*n+a*h)+h+e,0,0,1),this}scale(t,e){return this.premultiply(x.makeScale(t,e)),this}rotate(t){return this.premultiply(x.makeRotation(-t)),this}translate(t,e){return this.premultiply(x.makeTranslation(t,e)),this}makeTranslation(t,e){return t.isVector2?this.set(1,0,t.x,0,1,t.y,0,0,1):this.set(1,0,t,0,1,e,0,0,1),this}makeRotation(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,-i,0,i,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){const e=this.elements,i=t.elements;for(let s=0;s<9;s++)if(e[s]!==i[s])return!1;return!0}fromArray(t,e=0){for(let i=0;i<9;i++)this.elements[i]=t[i+e];return this}toArray(t=[],e=0){const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t}clone(){return(new this.constructor).fromArray(this.elements)}}const x=new y;function _(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}function f(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}let g;class M{static getDataURL(t,e="image/png"){if(/^data:/i.test(t.src))return t.src;if("undefined"==typeof HTMLCanvasElement)return t.src;let i;if(t instanceof HTMLCanvasElement)i=t;else{void 0===g&&(g=_("canvas")),g.width=t.width,g.height=t.height;const e=g.getContext("2d");t instanceof ImageData?e.putImageData(t,0,0):e.drawImage(t,0,0,t.width,t.height),i=g}return i.toDataURL(e)}static sRGBToLinear(t){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=_("canvas");e.width=t.width,e.height=t.height;const i=e.getContext("2d");i.drawImage(t,0,0,t.width,t.height);const s=i.getImageData(0,0,t.width,t.height),r=s.data;for(let t=0;t0){s.children=[];for(let e=0;e>1,e[n[i]]0&&(t[l]=n[o-1]),n[o]=l)}}o=n.length,r=n[o-1];for(;o-- >0;)n[o]=r,r=t[r];return n}(C):n;for(g=S.length-1,c=b-1;c>=0;c--){const e=h+c,n=t[e],p=e+1(n[e]||"").split(", "),a=l(`${Io}Delay`),o=l(`${Io}Duration`),r=qo(a,o),i=l(`${$o}Delay`),s=l(`${$o}Duration`),u=qo(i,s);let c=null,d=0,p=0;t===Io?r>0&&(c=Io,d=r,p=o.length):t===$o?u>0&&(c=$o,d=u,p=s.length):(d=Math.max(r,u),c=d>0?r>u?Io:$o:null,p=c?c===Io?o.length:s.length:0);return{type:c,timeout:d,propCount:p,hasTransform:c===Io&&/\b(transform|all)(,|$)/.test(l(`${Io}Property`).toString())}}function qo(e,t){for(;e.length=0&&(s=-1),s>-1&&(l=t.slice(0,s),o=t.slice(s+1,i>-1?i:t.length),a=e(o)),i>-1&&(l=l||t.slice(0,i),r=t.slice(i,t.length)),l=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),a=l[l.length-1];".."!==a&&"."!==a||l.push("");let o,r,i=n.length-1;for(o=0;o{t.isLeaf||t.setChecked(!1,!1),e(t)})};e(n)}}else n.checked&&!a[s]&&n.setChecked(!1,!1)}}setCheckedNodes(e,t=!1){const n=this.key,l={};e.forEach(e=>{l[(e||{})[n]]=!0}),this._setCheckedKeys(n,t,l)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,l={};e.forEach(e=>{l[e]=!0}),this._setCheckedKeys(n,t,l)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)})}setChecked(e,t,n){const l=this.getNode(e);l&&l.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){var n;const l=e[this.key],a=this.nodesMap[l];this.setCurrentNode(a),t&&this.currentNode&&this.currentNode.level>1&&(null==(n=this.currentNode.parent)||n.expand(null,!0))}setCurrentNodeKey(e,t=!0){var n;if(this.currentNodeKey=e,tv(e))return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const l=this.getNode(e);l&&(this.setCurrentNode(l),t&&this.currentNode&&this.currentNode.level>1&&(null==(n=this.currentNode.parent)||n.expand(null,!0)))}}const kz="RootTree",Cz="NodeInstance",Sz="TreeNodeMap",Ez=zn({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=vu("tree"),n=Kl(Cz),l=Kl(kz);return()=>{const a=e.node,{data:o,store:r}=a;return e.renderContent?e.renderContent(wo,{_self:n,node:a,data:o,store:r}):gl(l.ctx.slots,"default",{node:a,data:o},()=>[wo(IV,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[a.label])])}}});var _z=Nh(Ez,[["__file","tree-node-content.vue"]]);function Oz(e){const t=Kl(Sz,null),n={treeNodeExpand:t=>{var n;e.node!==t&&(null==(n=e.node)||n.collapse())},children:[]};return t&&t.children.push(n),jl(Sz,n),{broadcastExpanded:t=>{if(e.accordion)for(const e of n.children)e.treeNodeExpand(t)}}}const Tz=Symbol("dragEvents");const Iz=zn({name:"ElTreeNode",components:{ElCollapseTransition:zS,ElCheckbox:mC,NodeContent:_z,ElIcon:om,Loading:Mm},props:{node:{type:wz,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=vu("tree"),{broadcastExpanded:l}=Oz(e),a=Kl(kz),o=St(!1),r=St(!1),i=St(),s=St(),u=St(),c=Kl(Tz),d=ao();jl(Cz,d),e.node.expanded&&(o.value=!0,r.value=!0);const p=a.props.props.children||"children";ha(()=>{var t;const n=null==(t=e.node.data)?void 0:t[p];return n&&[...n]},()=>{e.node.updateChildren()}),ha(()=>e.node.indeterminate,t=>{v(e.node.checked,t)}),ha(()=>e.node.checked,t=>{v(t,e.node.indeterminate)}),ha(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),ha(()=>e.node.expanded,e=>{en(()=>o.value=e),e&&(r.value=!0)});const f=e=>vz(a.props.nodeKey,e.data),v=(t,n)=>{i.value===t&&s.value===n||a.ctx.emit("check-change",e.node.data,t,n),i.value=t,s.value=n},g=()=>{e.node.isLeaf||(o.value?(a.ctx.emit("node-collapse",e.node.data,e.node,d),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,d)}))},y=t=>{e.node.setChecked(t,!(null==a?void 0:a.props.checkStrictly)),en(()=>{const t=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})})};return{ns:n,node$:u,tree:a,expanded:o,childNodeRendered:r,oldChecked:i,oldIndeterminate:s,getNodeKey:f,getNodeClass:t=>{const n=e.props.class;if(!n)return{};let l;if(h(n)){const{data:e}=t;l=n(e,t)}else l=n;return m(l)?{[l]:!0}:l},handleSelectChange:v,handleClick:t=>{hz(a.store,a.ctx.emit,()=>{var t;if(null==(t=null==a?void 0:a.props)?void 0:t.nodeKey){const t=f(e.node);a.store.value.setCurrentNodeKey(t)}else a.store.value.setCurrentNode(e.node)}),a.currentNode.value=e.node,a.props.expandOnClickNode&&g(),(a.props.checkOnClickNode||e.node.isLeaf&&a.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&y(!e.node.checked),a.ctx.emit("node-click",e.node.data,e.node,d,t)},handleContextMenu:t=>{var n;(null==(n=a.instance.vnode.props)?void 0:n.onNodeContextmenu)&&(t.stopPropagation(),t.preventDefault()),a.ctx.emit("node-contextmenu",t,e.node.data,e.node,d)},handleExpandIconClick:g,handleCheckChange:y,handleChildNodeExpand:(e,t,n)=>{l(t),a.ctx.emit("node-expand",e,t,n)},handleDragStart:t=>{a.props.draggable&&c.treeNodeDragStart({event:t,treeNode:e})},handleDragOver:t=>{t.preventDefault(),a.props.draggable&&c.treeNodeDragOver({event:t,treeNode:{$el:u.value,node:e.node}})},handleDrop:e=>{e.preventDefault()},handleDragEnd:e=>{a.props.draggable&&c.treeNodeDragEnd(e)},CaretRight:hm}}});const $z=zn({name:"ElTree",components:{ElTreeNode:Nh(Iz,[["render",function(e,t,n,l,a,o){const r=ul("el-icon"),i=ul("el-checkbox"),s=ul("loading"),u=ul("node-content"),c=ul("el-tree-node"),d=ul("el-collapse-transition");return pn((La(),Va("div",{ref:"node$",class:j([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:Vr(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:Vr(e.handleDragStart,["stop"]),onDragover:Vr(e.handleDragOver,["stop"]),onDragend:Vr(e.handleDragEnd,["stop"]),onDrop:Vr(e.handleDrop,["stop"])},[Ka("div",{class:j(e.ns.be("node","content")),style:V({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(La(),Pa(r,{key:0,class:j([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:Vr(e.handleExpandIconClick,["stop"])},{default:dn(()=>[(La(),Pa(dl(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):Ga("v-if",!0),e.showCheckbox?(La(),Pa(i,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:Vr(()=>{},["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):Ga("v-if",!0),e.node.loading?(La(),Pa(r,{key:2,class:j([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:dn(()=>[Wa(s)]),_:1},8,["class"])):Ga("v-if",!0),Wa(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),Wa(d,null,{default:dn(()=>[!e.renderAfterExpand||e.childNodeRendered?pn((La(),Va("div",{key:0,class:j(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:Vr(()=>{},["stop"])},[(La(!0),Va(Ta,null,hl(e.node.childNodes,t=>(La(),Pa(c,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,["aria-expanded","onClick"])),[[Zo,e.expanded]]):Ga("v-if",!0)]),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[Zo,e.node.visible]])}],["__file","tree-node.vue"]])},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:{type:Function},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:Function},allowDrop:{type:Function},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:Zm}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=ih(),l=vu("tree"),a=Kl(bM,null),o=St(new xz({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));o.value.initialize();const r=St(o.value.root),i=St(null),s=St(null),u=St(null),{broadcastExpanded:c}=Oz(e),{dragState:d}=function({props:e,ctx:t,el$:n,dropIndicator$:l,store:a}){const o=vu("tree"),r=St({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return jl(Tz,{treeNodeDragStart:({event:n,treeNode:l})=>{if(n.dataTransfer){if(h(e.allowDrag)&&!e.allowDrag(l.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(KE){}r.value.draggingNode=l,t.emit("node-drag-start",l.node,n)}},treeNodeDragOver:({event:a,treeNode:i})=>{if(!a.dataTransfer)return;const s=i,u=r.value.dropNode;u&&u.node.id!==s.node.id&&Vh(u.$el,o.is("drop-inner"));const c=r.value.draggingNode;if(!c||!s)return;let d=!0,p=!0,f=!0,v=!0;h(e.allowDrop)&&(d=e.allowDrop(c.node,s.node,"prev"),v=p=e.allowDrop(c.node,s.node,"inner"),f=e.allowDrop(c.node,s.node,"next")),a.dataTransfer.dropEffect=p||d||f?"move":"none",(d||p||f)&&(null==u?void 0:u.node.id)!==s.node.id&&(u&&t.emit("node-drag-leave",c.node,u.node,a),t.emit("node-drag-enter",c.node,s.node,a)),r.value.dropNode=d||p||f?s:null,s.node.nextSibling===c.node&&(f=!1),s.node.previousSibling===c.node&&(d=!1),s.node.contains(c.node,!1)&&(p=!1),(c.node===s.node||c.node.contains(s.node))&&(d=!1,p=!1,f=!1);const m=s.$el,g=m.querySelector(`.${o.be("node","content")}`).getBoundingClientRect(),y=n.value.getBoundingClientRect();let b;const w=d?p?.25:f?.45:1:-1,x=f?p?.75:d?.55:0:1;let k=-9999;const C=a.clientY-g.top;b=Cr.message:null);return u.appContext=Xf(t)?fW._context:t,u.props.onDestroy=()=>{Kr(null,s)},Kr(u,s),dW[n].push({vm:u}),i.appendChild(s.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};rW.forEach(e=>{fW[e]=(t={},n)=>((m(t)||Fa(t))&&(t={message:t}),fW({...t,type:e},n))}),fW.closeAll=function(){for(const e of Object.values(dW))e.forEach(({vm:e})=>{e.component.exposed.visible.value=!1})},fW._context=null;var vW=((e=[])=>({version:"2.10.4",install:(t,n)=>{t[su]||(t[su]=!0,e.forEach(e=>t.use(e)),n&&Eh(n,t,!0))}}))([...hK,...[CK,LK,UK,oW,Qh(fW,"$notify"),yN]]);const hW=function(){const e=ne(!0),t=e.run(()=>St({}));let n=[],l=[];const a=wt({install(e){Ur(a),a._a=e,e.provide(Yr,a),e.config.globalProperties.$pinia=a,l.forEach(e=>n.push(e)),l=[]},use(e){return this._a?n.push(e):l.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}();hW.use(xi);const mW=Wr(Ci);mW.use(iu),mW.use(vW),mW.use(hW),mW.mount("#app");export{Ya as A,ou as B,pn as C,$r as D,UK as E,Ta as F,Ao as T,ki as _,Ka as a,It as b,Va as c,Wa as d,ui as e,St as f,bo as g,Qn as h,nl as i,V as j,Ga as k,Wr as l,dt as m,j as n,La as o,hl as p,Vr as q,ul as r,Jn as s,X as t,au as u,en as v,ha as w,dn as x,lk as y,ak as z};
diff --git a/dev/static/js/index-c12a00e6.js b/dev/static/js/index-c12a00e6.js
new file mode 100644
index 0000000..1457f3f
--- /dev/null
+++ b/dev/static/js/index-c12a00e6.js
@@ -0,0 +1 @@
+import{_ as a,f as e,g as t,w as s,h as l,v as n,o as i,c,a as o,t as u,n as r,F as v,p as d,q as m,d as g,x as p,T as k,k as f}from"./index-77fd5149.js";import{s as h}from"./request-eed9b906.js";const y="https://dbqb.nfdxy.net/devLotApi";const b={class:"interactive-container"},x={class:"top-section"},S={class:"main-title"},w={class:"activity-period"},T={class:"main-interactive-area"},C={class:"stock-content"},$={class:"stock-card us-card"},I={class:"card-content us-content"},M={class:"progress-section"},_={class:"time-markers"},q={class:"boost-section"},A={key:0,class:"boost-success-container"},j={class:"modal-background"},D={class:"modal-text"},F={class:"rules-list"},H=a({__name:"index",setup(a){const H=e(!1),L=e("加载中..."),z=e(null),E=e(null),R=a=>{if(!a)return"";const e=new Date(a);return`${e.getFullYear()}/${String(e.getMonth()+1).padStart(2,"0")}/${String(e.getDate()).padStart(2,"0")}`};async function Y(){try{const a=await h({url:`${y}/api/funding/getActivity`,method:"post",headers:{ApiToken:localStorage.getItem("localToken")}});if(200===a.code){const{activityId:e,data:t,startTime:s,endTime:l,totalcount:i}=a.data;if(z.value=e,s&&l){const a=R(s),e=R(l);L.value=`${a}~${e}`}else L.value="时间待定";if(t&&t.length>1){const a=t[0];if(E.value=a.marketId,V.value=a.market,"已助力"===a.marketStatus?O.value=!0:O.value=!1,void 0!==a.marketCount){const e=a.marketCount||0;if(e>=4200)H.value=!0,W.value=0;else{H.value=!1;const a=15;let t=0;if(e<=1200)t=Math.floor(e/100);else{t=12;const a=e-1200;t+=Math.floor(a/1e3)}const s=Math.max(0,a-t);W.value=s}n(()=>{sa()})}}}else L.value=a.message}catch(a){L.value="网络错误"}}const B=e(null),G=e(0),J=()=>{B.value&&(G.value=B.value.offsetHeight)},K=t(()=>[0,3,6,9,12,15]);e(!1);const N=e(null),O=e(!1),P=e(!1),Q=e(!1),U=e(!1),V=e(),W=e(15),X=e(15),Z=t(()=>((a,e=15)=>{const t=e-a;return Math.max(t/e*100,0)})(W.value,X.value)),aa=t(()=>Math.max(0,W.value)),ea=t(()=>W.value<=3),ta=t(()=>X.value-W.value);s([W],()=>{n(()=>{sa()})});const sa=()=>{const a=document.querySelector(".us-content .progress-fill");a&&(a.style.height=`${Z.value}%`)};l(()=>{P.value=!0,n(()=>{let a="";a=(a=>{const e=window.location.search.substring(1).split("&");for(let t=0;t(j(n,(n,o)=>{r&&h(n)?e[o]=t(n,r):e[o]=n},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let s,i,a;const c={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)a=s[i],o&&!o(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==n&&r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[o]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:_,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:B,freezeMethods:e=>{B(e,(t,n)=>{if(h(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];h(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return u(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:x,global:C,isContextDefined:N,isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[s]&&e[o])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=u(e)?[]:{};return j(e,(e,t)=>{const s=n(e,r+1);!f(s)&&(o[t]=s)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:k,isThenable:e=>e&&(y(e)||h(e))&&h(e.then)&&h(e.catch),setImmediate:D,asap:H,isIterable:e=>null!=e&&h(e[o])};function W(e,t,n,r,o){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),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}J.inherits(W,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:J.toJSONObject(this.config),code:this.code,status:this.status}}});const K=W.prototype,V={};["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=>{V[e]={value:e}}),Object.defineProperties(W,V),Object.defineProperty(K,"isAxiosError",{value:!0}),W.from=(e,t,n,r,o,s)=>{const i=Object.create(K);return J.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),W.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};function $(e){return J.isPlainObject(e)||J.isArray(e)}function X(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function G(e,t,n){return e?e.concat(t).map(function(e,t){return e=X(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const Q=J.toFlatObject(J,{},null,function(e){return/^is[A-Z]/.test(e)});function Z(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!J.isUndefined(t[e])})).metaTokens,o=n.visitor||l,s=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(J.isDate(e))return e.toISOString();if(J.isBoolean(e))return e.toString();if(!a&&J.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(e)||J.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(J.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(J.isArray(e)&&function(e){return J.isArray(e)&&!e.some($)}(e)||(J.isFileList(e)||J.endsWith(n,"[]"))&&(a=J.toArray(e)))return n=X(n),a.forEach(function(e,r){!J.isUndefined(e)&&null!==e&&t.append(!0===i?G([n],r,s):null===i?n:n+"[]",c(e))}),!1;return!!$(e)||(t.append(G(o,n,s),c(e)),!1)}const u=[],f=Object.assign(Q,{defaultVisitor:l,convertValue:c,isVisitable:$});if(!J.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!J.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),J.forEach(n,function(n,s){!0===(!(J.isUndefined(n)||null===n)&&o.call(t,n,J.isString(s)?s.trim():s,r,f))&&e(n,r?r.concat(s):[s])}),u.pop()}}(e),t}function Y(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ee(e,t){this._pairs=[],e&&Z(e,this,t)}const te=ee.prototype;function ne(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function re(e,t,n){if(!t)return e;const r=n&&n.encode||ne;J.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(s=o?o(t,n):J.isURLSearchParams(t)?t.toString():new ee(t,n).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Y)}:Y;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const oe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){J.forEach(this.handlers,function(t){null!==t&&e(t)})}},se={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ie={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ee,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ae="undefined"!=typeof window&&"undefined"!=typeof document,ce="object"==typeof navigator&&navigator||void 0,le=ae&&(!ce||["ReactNative","NativeScript","NS"].indexOf(ce.product)<0),ue="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,fe=ae&&window.location.href||"http://localhost",de={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ae,hasStandardBrowserEnv:le,hasStandardBrowserWebWorkerEnv:ue,navigator:ce,origin:fe},Symbol.toStringTag,{value:"Module"})),...ie};function pe(e){function t(e,n,r,o){let s=e[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=e.length;if(s=!s&&J.isArray(r)?r.length:s,a)return J.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!i;r[s]&&J.isObject(r[s])||(r[s]=[]);return t(e,n,r[s],o)&&J.isArray(r[s])&&(r[s]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r