@vitejs/devtools-rolldown 0.0.0-alpha.31 → 0.0.0-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +45 -48
- package/dist/nitro.json +2 -2
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/6TUvuKw-.js +1 -0
- package/dist/public/_nuxt/B9ATRPQ7.js +1 -0
- package/dist/public/_nuxt/B9O9mwcz.js +1 -0
- package/dist/public/_nuxt/BYYOuuQ8.js +1 -0
- package/dist/public/_nuxt/Bb89bWCj.js +1 -0
- package/dist/public/_nuxt/BlOp-aa0.js +1 -0
- package/dist/public/_nuxt/By3-Oigm.js +1 -0
- package/dist/public/_nuxt/C3g8Qo0F.js +1 -0
- package/dist/public/_nuxt/C4ZBTBfN.js +1 -0
- package/dist/public/_nuxt/C56jC-Rb.js +1 -0
- package/dist/public/_nuxt/{DWqpanCf.js → CBrsTh9c.js} +1 -1
- package/dist/public/_nuxt/CMcxTY2l.js +1 -0
- package/dist/public/_nuxt/CavFgEiy.js +1 -0
- package/dist/public/_nuxt/Ckamtj1Q.js +1 -0
- package/dist/public/_nuxt/Cs9u2aM3.js +1 -0
- package/dist/public/_nuxt/D1SGgpeJ.js +1 -0
- package/dist/public/_nuxt/D4Jp6GBh.js +1 -0
- package/dist/public/_nuxt/D68gMgDN.js +33 -0
- package/dist/public/_nuxt/D8SB5Fj6.js +1 -0
- package/dist/public/_nuxt/DG5LouYQ.js +1 -0
- package/dist/public/_nuxt/DGPFtmYw.js +1 -0
- package/dist/public/_nuxt/DKKnluDw.js +1 -0
- package/dist/public/_nuxt/DTB_fvd1.js +1 -0
- package/dist/public/_nuxt/Daqw8s3u.js +1 -0
- package/dist/public/_nuxt/{DataVirtualList.lGV_3v2U.css → DataVirtualList.BMBI8CMU.css} +1 -1
- package/dist/public/_nuxt/DdkVNznP.js +1 -0
- package/dist/public/_nuxt/DicSvcoI.js +2 -0
- package/dist/public/_nuxt/DmCbLhAV.js +1 -0
- package/dist/public/_nuxt/Dy45_BSj.js +1 -0
- package/dist/public/_nuxt/EoT68z9_.js +1 -0
- package/dist/public/_nuxt/OLyU6pOh.js +1 -0
- package/dist/public/_nuxt/Vyw3NrOX.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/64b3b8a7-2713-4a0b-a273-f1b096d1de48.json +1 -0
- package/dist/public/_nuxt/{entry.DdvO8KcZ.css → entry.DQK1Fncc.css} +1 -1
- package/dist/public/_nuxt/error-404.2Q-XfgR7.css +1 -0
- package/dist/public/_nuxt/error-500.3QnkDFAn.css +1 -0
- package/dist/public/_nuxt/hK0Xv1bA.js +1 -0
- package/dist/public/_nuxt/vcHT-ufV.js +1 -0
- package/dist/public/_nuxt/zkWX764r.js +4 -0
- package/dist/public/index.html +1 -1
- package/package.json +10 -10
- package/dist/public/_nuxt/3sT_Mqwt.js +0 -1
- package/dist/public/_nuxt/BEUq-UW3.js +0 -4
- package/dist/public/_nuxt/BEpRBuI9.js +0 -1
- package/dist/public/_nuxt/BG553MBL.js +0 -1
- package/dist/public/_nuxt/BItNXqww.js +0 -1
- package/dist/public/_nuxt/BMh47W-N.js +0 -1
- package/dist/public/_nuxt/BMmSp6LE.js +0 -1
- package/dist/public/_nuxt/BdaRSTg9.js +0 -1
- package/dist/public/_nuxt/Bxdwnne9.js +0 -1
- package/dist/public/_nuxt/C0MXIEj-.js +0 -1
- package/dist/public/_nuxt/C2A6ZQPm.js +0 -1
- package/dist/public/_nuxt/C2Zt-inO.js +0 -1
- package/dist/public/_nuxt/CANF8ydB.js +0 -1
- package/dist/public/_nuxt/CBwDxyfP.js +0 -1
- package/dist/public/_nuxt/CKFsAdVO.js +0 -1
- package/dist/public/_nuxt/CPkXrqff.js +0 -1
- package/dist/public/_nuxt/CW-j5nS4.js +0 -1
- package/dist/public/_nuxt/CYKzVNOW.js +0 -1
- package/dist/public/_nuxt/CpJiZ7L0.js +0 -1
- package/dist/public/_nuxt/Cpi4HmhC.js +0 -1
- package/dist/public/_nuxt/CwTV8WCc.js +0 -1
- package/dist/public/_nuxt/DJuT7S78.js +0 -33
- package/dist/public/_nuxt/DKwP4h99.js +0 -1
- package/dist/public/_nuxt/DYSe0ST1.js +0 -1
- package/dist/public/_nuxt/DYuLlkFe.js +0 -2
- package/dist/public/_nuxt/DhDTn9QE.js +0 -1
- package/dist/public/_nuxt/Dt2e24SL.js +0 -1
- package/dist/public/_nuxt/KIwTgGRl.js +0 -1
- package/dist/public/_nuxt/PqwTuo4u.js +0 -1
- package/dist/public/_nuxt/aluAR0E9.js +0 -1
- package/dist/public/_nuxt/builds/meta/c3b49d3b-f6ca-40c5-9720-595d68833c92.json +0 -1
- package/dist/public/_nuxt/error-404.CsiTjEPF.css +0 -1
- package/dist/public/_nuxt/error-500.956VVnGk.css +0 -1
- package/dist/public/_nuxt/wHgnrW62.js +0 -1
- package/dist/public/_nuxt/wMowadUl.js +0 -1
- /package/dist/public/_nuxt/{DVE8edJM.js → BmEqTRfc.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-58347f79]{display:grid}.mb-2[data-v-58347f79]{margin-bottom:.5rem}.mb-4[data-v-58347f79]{margin-bottom:1rem}.max-w-520px[data-v-58347f79]{max-width:520px}.min-h-screen[data-v-58347f79]{min-height:100vh}.w-full[data-v-58347f79]{width:100%}.flex[data-v-58347f79]{display:flex}.place-content-center[data-v-58347f79]{place-content:center}.items-center[data-v-58347f79]{align-items:center}.justify-center[data-v-58347f79]{justify-content:center}.overflow-hidden[data-v-58347f79]{overflow:hidden}.bg-white[data-v-58347f79]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-58347f79]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-58347f79]{text-align:center}.text-\[80px\][data-v-58347f79]{font-size:80px}.text-2xl[data-v-58347f79]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-58347f79]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-58347f79]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-58347f79]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-58347f79]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-58347f79]{font-weight:500}.font-semibold[data-v-58347f79]{font-weight:600}.leading-none[data-v-58347f79]{line-height:1}.tracking-wide[data-v-58347f79]{letter-spacing:.025em}.font-sans[data-v-58347f79]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-58347f79]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-58347f79]{text-decoration-line:underline}.underline-offset-3[data-v-58347f79]{text-underline-offset:3px}.antialiased[data-v-58347f79]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-58347f79]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-58347f79]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-58347f79]{font-size:110px}.sm\:text-3xl[data-v-58347f79]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-28bcd31f]{display:grid}.mb-2[data-v-28bcd31f]{margin-bottom:.5rem}.mb-4[data-v-28bcd31f]{margin-bottom:1rem}.max-w-520px[data-v-28bcd31f]{max-width:520px}.min-h-screen[data-v-28bcd31f]{min-height:100vh}.place-content-center[data-v-28bcd31f]{place-content:center}.overflow-hidden[data-v-28bcd31f]{overflow:hidden}.bg-white[data-v-28bcd31f]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-28bcd31f]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-28bcd31f]{text-align:center}.text-\[80px\][data-v-28bcd31f]{font-size:80px}.text-2xl[data-v-28bcd31f]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-28bcd31f]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-28bcd31f]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-28bcd31f]{font-weight:600}.leading-none[data-v-28bcd31f]{line-height:1}.tracking-wide[data-v-28bcd31f]{letter-spacing:.025em}.font-sans[data-v-28bcd31f]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-28bcd31f]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-28bcd31f]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-28bcd31f]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-28bcd31f]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-28bcd31f]{font-size:110px}.sm\:text-3xl[data-v-28bcd31f]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G as e,Ht as t,It as n,K as r,Lt as i,Rt as a,Vt as o,Y as s,ft as c,ot as l,rt as u,ut as d}from"#entry";import{t as f}from"./C3MbbcWQ.js";import{i as p,l as m,s as h}from"./vcHT-ufV.js";function g(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function _(){return this.eachAfter(g)}function v(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this}function y(e,t){for(var n=this,r=[n],i,a,o=-1;n=r.pop();)if(e.call(t,n,++o,this),i=n.children)for(a=i.length-1;a>=0;--a)r.push(i[a]);return this}function b(e,t){for(var n=this,r=[n],i=[],a,o,s,c=-1;n=r.pop();)if(i.push(n),a=n.children)for(o=0,s=a.length;o<s;++o)r.push(a[o]);for(;n=i.pop();)e.call(t,n,++c,this);return this}function x(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r}function S(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})}function C(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function w(e){for(var t=this,n=T(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function T(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function ee(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function te(){return Array.from(this)}function ne(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function E(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*re(){var e=this,t,n=[e],r,i,a;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(i=0,a=r.length;i<a;++i)n.push(r[i]);while(n.length)}function D(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=A)):t===void 0&&(t=k);for(var n=new N(e),r,i=[n],a,o,s,c;r=i.pop();)if((o=t(r.data))&&(c=(o=Array.from(o)).length))for(r.children=o,s=c-1;s>=0;--s)i.push(a=o[s]=new N(o[s])),a.parent=r,a.depth=r.depth+1;return n.eachBefore(M)}function O(){return D(this).eachBefore(j)}function k(e){return e.children}function A(e){return Array.isArray(e)?e[1]:null}function j(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function M(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function N(e){this.data=e,this.depth=this.height=0,this.parent=null}N.prototype=D.prototype={constructor:N,count:_,each:v,eachAfter:b,eachBefore:y,find:x,sum:S,sort:C,path:w,ancestors:ee,descendants:te,leaves:ne,links:E,copy:O,[Symbol.iterator]:re};function P(e,t){return e.parent===t.parent?1:2}function F(e){var t=e.children;return t?t[0]:e.t}function I(e){var t=e.children;return t?t[t.length-1]:e.t}function ie(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function ae(e){for(var t=0,n=0,r=e.children,i=r.length,a;--i>=0;)a=r[i],a.z+=t,a.m+=t,t+=a.s+(n+=a.c)}function oe(e,t,n){return e.a.parent===t.parent?e.a:n}function L(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}L.prototype=Object.create(N.prototype);function R(e){for(var t=new L(e,0),n,r=[t],i,a,o,s;n=r.pop();)if(a=n._.children)for(n.children=Array(s=a.length),o=s-1;o>=0;--o)r.push(i=n.children[o]=new L(a[o],o)),i.parent=n;return(t.parent=new L(null,0)).children=[t],t}function z(){var e=P,t=1,n=1,r=null;function i(i){var s=R(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(c);else{var l=i,u=i,d=i;i.eachBefore(function(e){e.x<l.x&&(l=e),e.x>u.x&&(u=e),e.depth>d.depth&&(d=e)});var f=l===u?1:e(l,u)/2,p=f-l.x,m=t/(u.x+f+p),h=n/(d.depth||1);i.eachBefore(function(e){e.x=(e.x+p)*m,e.y=e.depth*h})}return i}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){ae(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+e(t._,i._));t.parent.A=s(t,i,t.parent.A||r[0])}function o(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(t,n,r){if(n){for(var i=t,a=t,o=n,s=i.parent.children[0],c=i.m,l=a.m,u=o.m,d=s.m,f;o=I(o),i=F(i),o&&i;)s=F(s),a=I(a),a.a=t,f=o.z+u-i.z-c+e(o._,i._),f>0&&(ie(oe(o,t,r),t,f),c+=f,l+=f),u+=o.m,c+=i.m,d+=s.m,l+=a.m;o&&!I(a)&&(a.t=o,a.m+=u-l),i&&!F(s)&&(s.t=i,s.m+=c-d,r=t)}return r}function c(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function B(e){return function(){return e}}var V=Math.PI,H=2*V,U=1e-6,W=H-U;function G(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function K(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return G;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var q=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?G:K(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>U)if(!(Math.abs(u*s-c*l)>U)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((V-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>U&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>U||Math.abs(this._y1-l)>U)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%H+H),d>W?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>U&&this._append`A${n},${n},0,${+(d>=V)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function se(){return new q}se.prototype=q.prototype;function ce(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new q(t)}var le=Array.prototype.slice;function ue(e){return e[0]}function de(e){return e[1]}var J=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function fe(e){return new J(e,!0)}function pe(e){return new J(e,!1)}function me(e){return e.source}function he(e){return e.target}function Y(e){let t=me,n=he,r=ue,i=de,a=null,o=null,s=ce(c);function c(){let c,l=le.call(arguments),u=t.apply(this,l),d=n.apply(this,l);if(a??(o=e(c=s())),o.lineStart(),l[0]=u,o.point(+r.apply(this,l),+i.apply(this,l)),l[0]=d,o.point(+r.apply(this,l),+i.apply(this,l)),o.lineEnd(),c)return o=null,c+``||null}return c.source=function(e){return arguments.length?(t=e,c):t},c.target=function(e){return arguments.length?(n=e,c):n},c.x=function(e){return arguments.length?(r=typeof e==`function`?e:B(+e),c):r},c.y=function(e){return arguments.length?(i=typeof e==`function`?e:B(+e),c):i},c.context=function(t){return arguments.length?(t==null?a=o=null:o=e(a=t),c):a},c}function ge(){return Y(fe)}function _e(){return Y(pe)}function ve(e,{wheel:t=!0,minScale:r=.5,maxScale:i=2}={}){let a=n(1);function s(t,n,s){let c=o(e);if(!c)return;let{left:l,top:u,width:d,height:f}=c.getBoundingClientRect(),p=n??l+d/2,m=s??u+f/2,h=p-l,g=m-u,_=a.value;a.value=Math.max(r,Math.min(i,_+t));let v=a.value/_;c.scrollLeft=(c.scrollLeft+h)*v-h,c.scrollTop=(c.scrollTop+g)*v-g}function c(e){if(o(t)){e.preventDefault();let t=.2;s(e.deltaY<0?t:t*-1,e.clientX,e.clientY)}else e.ctrlKey&&(e.preventDefault(),s(e.deltaY*.004*-1,e.clientX,e.clientY))}function l(e=.2){s(e)}function u(e=.2){s(e*-1)}return h(e,`wheel`,c),{scale:a,zoom:s,zoomIn:l,zoomOut:u}}var X=Symbol.for(`ViteDevToolsModuleGraphState`);const Z=ge().x(e=>e[0]).y(e=>e[1]),Q=_e().x(e=>e[0]).y(e=>e[1]);function ye(e,n){return!e.target||!e.source?null:n?e.target.x<=e.source.x?Q({source:[e.source.x+t(n.width)/2-t(n.linkOffset),e.source.y],target:[e.target.x-t(n.width)/2+t(n.linkOffset),e.target.y]}):Z({source:[e.source.x+t(n.width)/2-t(n.linkOffset),e.source.y],target:[e.target.x-t(n.width)/2+t(n.linkOffset),e.target.y]}):e.target.x<=e.source.x?Q({source:[e.source.x,e.source.y],target:[e.target.x,e.target.y]}):Z({source:[e.source.x,e.source.y],target:[e.target.x,e.target.y]})}function be(e){return`stroke-#8885`}function xe(t){let r=.4,o=n(),s=n(window.innerWidth),l=n(window.innerHeight),u=i(new Map),d=i(new Set),f=n(!0),p=i(new Map),h=a([]),g=a([]),_=i(new Map),v=i(new Map),y=e(()=>{let e=new Map;for(let n of t.modules.value)e.set(n.id,n);return e}),{control:b}=m(),{scale:x,zoomIn:S,zoomOut:C}=ve(o,{wheel:b,minScale:r,maxScale:2});function w(e,t=!0){u.get(e)?.scrollIntoView({block:`center`,inline:`center`,behavior:t?`smooth`:`instant`})}let T=t.generateGraph({isFirstCalculateGraph:f,hierarchy:D,tree:z,nodesRefMap:u,container:o,modulesMap:y,nodes:h,links:g,scale:x,nodesMap:_,linksMap:v,width:s,height:l,childToParentMap:p,focusOn:w,collapsedNodes:d,spacing:t.spacing});c(X,{spacing:t.spacing,calculateGraph:T,isFirstCalculateGraph:f,container:o,width:s,height:l,scale:x,nodes:h,links:g,nodesRefMap:u,collapsedNodes:d,childToParentMap:p,ZOOM_MIN:r,ZOOM_MAX:2,zoomIn:S,zoomOut:C})}function $(){return u(X)}function Se(e){let{nodesRefMap:r,container:i,calculateGraph:a,collapsedNodes:o}=u(X),s=n(!1);function c(e,t){l(()=>{l(()=>{let n=r.get(e);if(n&&t&&i.value){let e=i.value.getBoundingClientRect(),r=n.getBoundingClientRect(),a=r.left-e.left-t.x,o=r.top-e.top-t.y;i.value.scrollLeft+=a,i.value.scrollTop+=o}})})}function d(e){if(s.value)return;s.value=!0;let t=r.get(e),n=null;if(t&&i.value){let e=i.value.getBoundingClientRect(),r=t.getBoundingClientRect();n={x:r.left-e.left,y:r.top-e.top}}o.has(e)?o.delete(e):o.add(e),a(),n&&c(e,n),s.value=!1}function f(){s.value||(s.value=!0,o.clear(),a(),setTimeout(()=>{s.value=!1},300))}function p(){s.value||(s.value=!0,t(e.modules).forEach(e=>{e.imports.length>0&&o.add(e.id)}),a(),setTimeout(()=>{s.value=!1},300))}return{isGraphNodeToggling:s,toggleNode:d,expandAll:f,collapseAll:p}}function Ce(){let{scale:e,zoomIn:t,zoomOut:n,ZOOM_MIN:r,ZOOM_MAX:i}=u(X);return p([`-`,`_`],e=>{e.ctrlKey&&n()}),p([`=`,`+`],e=>{e.ctrlKey&&t()}),{ZOOM_MIN:r,ZOOM_MAX:i,scale:e,zoomIn:t,zoomOut:n}}function we(){let{container:e}=u(X),t=n(!1),r=0,i=0;function a(){h(e,`mousedown`,n=>{let a=e.value.getBoundingClientRect(),o=a.right-n.clientX,s=a.bottom-n.clientY;o<=20||s<=20||(t.value=!0,r=e.value.scrollLeft+n.pageX,i=e.value.scrollTop+n.pageY)}),h(e,`contextmenu`,e=>e.preventDefault()),h(`mouseleave`,()=>t.value=!1),h(`mouseup`,()=>t.value=!1),h(`mousemove`,n=>{t.value&&(n.preventDefault(),e.value.scrollLeft=r-n.pageX,e.value.scrollTop=i-n.pageY)})}return{init:a,isGrabbing:t}}var Te={},Ee={"w-8":``,"h-8":``,"rounded-full":``,flex:``,"items-center":``,"justify-center":``,hover:`bg-active op100`,op50:``,title:`Close`};function De(e,t){return d(),s(`button`,Ee,[...t[0]||=[r(`div`,{"i-ph-x":``},null,-1)]])}var Oe=f(Te,[[`render`,De]]);export{we as a,Se as c,be as i,xe as n,Ce as o,ye as r,$ as s,Oe as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{At as e,Ct as t,Ft as n,G as r,Ht as i,It as a,Nt as o,Pt as s,Rt as c,Vt as l,ct as u,et as d,jt as f,kt as p,ot as m,wt as h,zt as g}from"#entry";function _(e,n,r={}){let i,a,o,s=!0,c=()=>{s=!0,o()};t(e,c,{flush:`sync`,...r});let l=typeof n==`function`?n:n.get,u=typeof n==`function`?void 0:n.set,d=p((e,t)=>(a=e,o=t,{get(){return s&&=(i=l(i),!1),a(),i},set(e){u?.(e)}}));return d.trigger=c,d}function v(t,n){return e()?(o(t,n),!0):!1}var y=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var b=e=>e!==void 0,x=Object.prototype.toString,S=e=>x.call(e)===`[object Object]`,C=()=>{},w=T();function T(){var e,t;return y&&!!(!((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 E(...e){if(e.length!==1)return g(...e);let t=e[0];return typeof t==`function`?n(p(()=>({get:t,set:C}))):a(t)}function D(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}var O=e=>e();function k(e,t={}){let n,r,i=C,a=e=>{clearTimeout(e),i(),i=C},o;return s=>{let c=l(e),u=l(t.maxWait);return n&&a(n),c<=0||u!==void 0&&u<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,l)=>{i=t.rejectOnCancel?l:e,o=s,u&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},u)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function A(e=O,t={}){let{initialState:r=`active`}=t,i=E(r===`active`);function a(){i.value=!1}function o(){i.value=!0}return{isActive:n(i),pause:a,resume:o,eventFilter:(...t)=>{i.value&&e(...t)}}}function j(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function M(e){return Array.isArray(e)?e:[e]}function ee(e){return e||d()}function N(e,n,r={}){let{eventFilter:i=O,...a}=r;return t(e,D(i,n),a)}function te(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=A(r,{initialState:i});return{stop:N(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function ne(e,t=!0,n){ee(n)?u(e,n):t?e():m(e)}function P(e,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let c=null,u=[new Promise(o=>{c=t(e,e=>{r(e)!==n&&(c?c():m(()=>c?.()),o(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&u.push(j(o,s).then(()=>l(e)).finally(()=>c?.())),Promise.race(u)}function i(i,a){if(!f(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:s=!1,timeout:c,throwOnTimeout:u}=a??{},d=null,p=[new Promise(r=>{d=t([e,i],([e,t])=>{n!==(e===t)&&(d?d():m(()=>d?.()),r(e))},{flush:o,deep:s,immediate:!0})})];return c!=null&&p.push(j(c,u).then(()=>l(e)).finally(()=>(d?.(),l(e)))),Promise.race(p)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function s(e){return i(void 0,e)}function c(e){return r(Number.isNaN,e)}function u(e,t){return r(t=>{let n=Array.from(t);return n.includes(e)||n.includes(l(e))},t)}function d(e){return p(1,e)}function p(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray(l(e))?{toMatch:r,toContains:u,changed:d,changedTimes:p,get not(){return P(e,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:c,toBeUndefined:s,changed:d,changedTimes:p,get not(){return P(e,!n)}}}function re(e){return P(e)}function F(e=!1,t={}){let{truthyValue:n=!0,falsyValue:r=!1}=t,i=f(e),a=c(e);function o(e){if(arguments.length)return a.value=e,a.value;{let e=l(n);return a.value=a.value===e?l(r):e,a.value}}return i?o:[a,o]}function ie(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return N(e,t,{...a,eventFilter:k(r,{maxWait:i})})}function ae(e,n,r){return t(e,n,{...r,immediate:!0})}function oe(e,t,n){let i;i=f(n)?{evaluating:n}:n||{};let{lazy:o=!1,flush:s=`sync`,evaluating:l=void 0,shallow:u=!0,onError:d=globalThis.reportError??C}=i,p=c(!o),m=u?c(t):a(t),g=0;return h(async t=>{if(!p.value)return;g++;let n=g,r=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{let i=await e(e=>{t(()=>{l&&(l.value=!1),r||e()})});n===g&&(m.value=i)}catch(e){d(e)}finally{l&&n===g&&(l.value=!1),r=!0}},{flush:s}),o?r(()=>(p.value=!0,m.value)):m}var I=y?window:void 0;y&&window.document,y&&window.navigator,y&&window.location;function L(e){let t=l(e);return t?.$el??t}function R(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=r(()=>{let t=M(l(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return ae(()=>[n.value?.map(e=>L(e))??[I].filter(e=>e!=null),M(l(n.value?e[1]:e[0])),M(i(n.value?e[2]:e[1])),l(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=S(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 z=!1;function B(e,t,n={}){let{window:r=I,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:C,cancel:C,trigger:C}:C;if(w&&!z){z=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,C,e)),r.document.documentElement.addEventListener(`click`,C,e)}let c=!0,u=e=>l(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=L(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let t=l(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let n=l(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 p=n=>{let r=L(e);if(n.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!u(n)),!c){c=!0;return}t(n)}},m=!1,h=[R(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),R(r,`pointerdown`,t=>{let n=L(e);c=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&R(r,`blur`,n=>{setTimeout(()=>{let i=L(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function V(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function H(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=I,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=V(t);return R(i,a,e=>{e.repeat&&l(s)||c(e)&&n(e)},o)}function U(e,t,n={}){return H(e,t,{...n,eventName:`keydown`})}function W(e,t,n={}){return H(e,t,{...n,eventName:`keypress`})}function G(e,t,n){let{immediate:r=!0,delay:i=0,onError:o=globalThis.reportError??C,onSuccess:s=C,resetOnExecute:u=!0,shallow:d=!0,throwError:f}=n??{},p=d?c(t):a(t),m=c(!1),h=c(!1),g=c(void 0),_=0;async function v(n=0,...r){let i=_+=1;u&&(p.value=l(t)),g.value=void 0,m.value=!1,h.value=!0,n>0&&await j(n);let a=typeof e==`function`?e(...r):e;try{let e=await a;return i===_&&(p.value=e,m.value=!0),s(e),e}catch(e){if(i===_&&(g.value=e),o(e),f)throw e}finally{i===_&&(h.value=!1)}}r&&v(i);let y={state:p,isReady:m,isLoading:h,error:g,execute:v,executeImmediate:(...e)=>v(0,...e)};function b(){return new Promise((e,t)=>{re(h).toBe(!1).then(()=>e(y)).catch(t)})}return{...y,then(e,t){return b().then(e,t)}}}function K(e){return JSON.parse(JSON.stringify(e))}var q=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},J=`__vueuse_ssr_handlers__`,se=ce();function ce(){return J in q||(q[J]=q[J]||{}),q[J]}function le(e,t){return se[e]||t}function ue(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var de={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Y=`vueuse-storage`;function fe(e,n,i,o={}){let{flush:s=`pre`,deep:u=!0,listenToStorageChanges:d=!0,writeDefaults:f=!0,mergeDefaults:p=!1,shallow:h,window:g=I,eventFilter:_,onError:v=e=>{console.error(e)},initOnMounted:y}=o,b=(h?c:a)(typeof n==`function`?n():n),x=r(()=>l(e));if(!i)try{i=le(`getDefaultStorage`,()=>I?.localStorage)()}catch(e){v(e)}if(!i)return b;let S=l(n),C=ue(S),w=o.serializer??de[C],{pause:T,resume:E}=te(b,e=>k(e),{flush:s,deep:u,eventFilter:_});t(x,()=>j(),{flush:s});let D=!1;g&&d&&(i instanceof Storage?R(g,`storage`,e=>{y&&!D||j(e)},{passive:!0}):R(g,Y,e=>{y&&!D||M(e)})),y?ne(()=>{D=!0,j()}):j();function O(e,t){if(g){let n={key:x.value,oldValue:e,newValue:t,storageArea:i};g.dispatchEvent(i instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(Y,{detail:n}))}}function k(e){try{let t=i.getItem(x.value);if(e==null)O(t,null),i.removeItem(x.value);else{let n=w.write(e);t!==n&&(i.setItem(x.value,n),O(t,n))}}catch(e){v(e)}}function A(e){let t=e?e.newValue:i.getItem(x.value);if(t==null)return f&&S!=null&&i.setItem(x.value,w.write(S)),S;if(!e&&p){let e=w.read(t);return typeof p==`function`?p(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function j(e){if(!(e&&e.storageArea!==i)){if(e&&e.key==null){b.value=S;return}if(!(e&&e.key!==x.value)){T();try{let t=w.write(b.value);(e===void 0||e?.newValue!==t)&&(b.value=A(e))}catch(e){v(e)}finally{e?m(E):E()}}}}function M(e){j(e.detail)}return b}function pe(e,n){let i=c(p()),a=E(e),o=r({get(){let e=a.value,t=n?.getIndexOf?n.getIndexOf(i.value,e):e.indexOf(i.value);return t<0&&(t=n?.fallbackIndex??0),t},set(e){s(e)}});function s(e){let t=a.value,n=t.length,r=t[(e%n+n)%n];return i.value=r,r}function u(e=1){return s(o.value+e)}function d(e=1){return u(e)}function f(e=1){return u(-e)}function p(){return l(n?.initialValue??l(e)[0])??void 0}return t(a,()=>s(o.value)),{state:i,index:o,next:d,prev:f,go:s}}function X(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function me(e,t,n={}){let{window:r=I}=n;return fe(e,t,r?.localStorage,n)}var he={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function Z(e={}){let{reactive:t=!1,target:n=I,aliasMap:i=he,passive:a=!0,onEventFired:o=C}=e,u=s(new Set),d={toJSON(){return{}},current:u},f=t?s(d):d,p=new Set,m=new Map([[`Meta`,p],[`Shift`,new Set],[`Alt`,new Set]]),h=new Set;function g(e,n){e in f&&(t?f[e]=n:f[e].value=n)}function _(){u.clear();for(let e of h)g(e,!1)}function v(e,t,n){if(!(!e||typeof t.getModifierState!=`function`)){for(let[e,r]of m)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function y(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=m.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(u.delete(e),g(e,!1))}),r.clear()}function b(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?u.add(n):u.delete(n));for(let e of r)h.add(e),g(e,t);v(t,e,[...u,...r]),y(t,n),n===`meta`&&!t&&(p.forEach(e=>{u.delete(e),g(e,!1)}),p.clear())}}R(n,`keydown`,e=>(b(e,!0),o(e)),{passive:a}),R(n,`keyup`,e=>(b(e,!1),o(e)),{passive:a}),R(`blur`,_,{passive:a}),R(`focus`,_,{passive:a});let x=new Proxy(f,{get(e,n,a){if(typeof n!=`string`)return Reflect.get(e,n,a);if(n=n.toLowerCase(),n in i&&(n=i[n]),!(n in f))if(/[+_-]/.test(n)){let e=n.split(/[+_-]/g).map(e=>e.trim());f[n]=r(()=>e.map(e=>l(x[e])).every(Boolean))}else f[n]=c(!1);let o=Reflect.get(e,n,a);return t?l(o):o}});return x}var ge={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function _e(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:r=!1,initialValue:i={x:0,y:0},window:a=I,target:o=a,scroll:s=!0,eventFilter:l}=e,u=null,d=0,f=0,p=c(i.x),m=c(i.y),h=c(null),g=typeof t==`function`?t:ge[t],_=e=>{let t=g(e);u=e,t&&([p.value,m.value]=t,h.value=`mouse`),a&&(d=a.scrollX,f=a.scrollY)},v=e=>{if(e.touches.length>0){let t=g(e.touches[0]);t&&([p.value,m.value]=t,h.value=`touch`)}},y=()=>{if(!u||!a)return;let e=g(u);u instanceof MouseEvent&&e&&(p.value=e[0]+a.scrollX-d,m.value=e[1]+a.scrollY-f)},b=()=>{p.value=i.x,m.value=i.y},x=l?e=>l(()=>_(e),{}):e=>_(e),S=l?e=>l(()=>v(e),{}):e=>v(e),C=l?()=>l(()=>y(),{}):()=>y();if(o){let e={passive:!0};R(o,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(R(o,[`touchstart`,`touchmove`],S,e),r&&R(o,`touchend`,b,e)),s&&t===`page`&&R(a,`scroll`,C,e)}return{x:p,y:m,sourceType:h}}function Q(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:Q(t)}}function ve(e){let t=e||window.event,n=t.target;return Q(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var $=new WeakMap;function ye(e,n=!1){let i=c(n),a=null,o=``;t(E(e),e=>{let t=X(l(e));if(t){let e=t;if($.get(e)||$.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(o=e.style.overflow),e.style.overflow===`hidden`)return i.value=!0;if(i.value)return e.style.overflow=`hidden`}},{immediate:!0});let s=()=>{let t=X(l(e));!t||i.value||(w&&(a=R(t,`touchmove`,e=>{ve(e)},{passive:!1})),t.style.overflow=`hidden`,i.value=!0)},u=()=>{let t=X(l(e));!t||!i.value||(w&&a?.(),t.style.overflow=o,$.delete(t),i.value=!1)};return v(u),r({get(){return i.value},set(e){e?s():u()}})}function be(e,n,i,o={}){var s,c;let{clone:l=!1,passive:u=!1,eventName:f,deep:p=!1,defaultValue:h,shouldEmit:g}=o,_=d(),v=i||_?.emit||(_==null||(s=_.$emit)==null?void 0:s.bind(_))||(_==null||(c=_.proxy)==null||(c=c.$emit)==null?void 0:c.bind(_?.proxy)),y=f;n||=`modelValue`,y||=`update:${n.toString()}`;let x=e=>l?typeof l==`function`?l(e):K(e):e,S=()=>b(e[n])?x(e[n]):h,C=e=>{g?g(e)&&v(y,e):v(y,e)};if(u){let r=a(S()),i=!1;return t(()=>e[n],e=>{i||(i=!0,r.value=x(e),m(()=>i=!1))}),t(r,t=>{!i&&(t!==e[n]||p)&&C(t)},{deep:p}),r}else return r({get(){return S()},set(e){C(e)}})}export{G as a,me as c,ye as d,be as f,ie as h,W as i,Z as l,F as m,B as n,pe as o,_ as p,U as r,R as s,oe as t,_e as u};
|