@vitejs/devtools-rolldown 0.1.21 → 0.1.23

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.
Files changed (89) hide show
  1. package/dist/index.mjs +83 -47
  2. package/dist/nitro.json +2 -2
  3. package/dist/public/200.html +1 -1
  4. package/dist/public/404.html +1 -1
  5. package/dist/public/_nuxt/-nSv7b_c2.js +1 -0
  6. package/dist/public/_nuxt/{ChjPWTWV.js → B6PLDwAm.js} +2 -2
  7. package/dist/public/_nuxt/BGfhRWSX.js +1 -0
  8. package/dist/public/_nuxt/BNZzKgvO.js +7 -0
  9. package/dist/public/_nuxt/BNrUSHd9.js +1 -0
  10. package/dist/public/_nuxt/BRoY9F4B.js +1 -0
  11. package/dist/public/_nuxt/Ba06j5HF.js +1 -0
  12. package/dist/public/_nuxt/BdES0TNB.js +1 -0
  13. package/dist/public/_nuxt/C4TkllWS.js +1 -0
  14. package/dist/public/_nuxt/C9xBafiu.js +1 -0
  15. package/dist/public/_nuxt/CGpzF1Fi.js +1 -0
  16. package/dist/public/_nuxt/CSmrzcuw.js +1 -0
  17. package/dist/public/_nuxt/CZ4Hed_B.js +1 -0
  18. package/dist/public/_nuxt/CiUxnt4q.js +1 -0
  19. package/dist/public/_nuxt/CtfgqrR6.js +1 -0
  20. package/dist/public/_nuxt/CwkL5c9p.js +1 -0
  21. package/dist/public/_nuxt/D0ELUVmr.js +1 -0
  22. package/dist/public/_nuxt/D2fxAMpL.js +1 -0
  23. package/dist/public/_nuxt/D5Xmlx1F.js +1 -0
  24. package/dist/public/_nuxt/D7E3leYJ.js +1 -0
  25. package/dist/public/_nuxt/DJiAfyJ9.js +1 -0
  26. package/dist/public/_nuxt/DS9O9jUU.js +1 -0
  27. package/dist/public/_nuxt/DYWABjKK.js +1 -0
  28. package/dist/public/_nuxt/DiwqOTKG.js +1 -0
  29. package/dist/public/_nuxt/DuyiIaXF.js +1 -0
  30. package/dist/public/_nuxt/FMlLtEkh.js +1 -0
  31. package/dist/public/_nuxt/I45WLXVn.js +1 -0
  32. package/dist/public/_nuxt/{CKlr0Tan.js → LBCmYgDk.js} +1 -1
  33. package/dist/public/_nuxt/MF_ZggB1.js +1 -0
  34. package/dist/public/_nuxt/{BqiFImA_.js → WhNLRjQY.js} +1 -1
  35. package/dist/public/_nuxt/_z5g9W2Q.js +1 -0
  36. package/dist/public/_nuxt/a5P2pi4b.js +1 -0
  37. package/dist/public/_nuxt/builds/latest.json +1 -1
  38. package/dist/public/_nuxt/builds/meta/4b89da51-8485-4b1c-9d33-36610376f0b4.json +1 -0
  39. package/dist/public/_nuxt/dedBpiqn.js +1 -0
  40. package/dist/public/_nuxt/{entry.hZ2mUD7T.css → entry.CuajcsxN.css} +1 -1
  41. package/dist/public/_nuxt/error-404.3xPYxf32.css +1 -0
  42. package/dist/public/_nuxt/error-500.CUtwZWQI.css +1 -0
  43. package/dist/public/_nuxt/rtwgPkwM2.js +1 -0
  44. package/dist/public/index.html +1 -1
  45. package/package.json +9 -13
  46. package/dist/public/_nuxt/20hUiP46.js +0 -1
  47. package/dist/public/_nuxt/5tvbNeKa.js +0 -1
  48. package/dist/public/_nuxt/BAyxWnhM2.js +0 -1
  49. package/dist/public/_nuxt/BOT9W_ZD.js +0 -1
  50. package/dist/public/_nuxt/BP8IEXpL.js +0 -1
  51. package/dist/public/_nuxt/BQIt7f6-2.js +0 -1
  52. package/dist/public/_nuxt/BTfiKBAm.js +0 -1
  53. package/dist/public/_nuxt/BTkQJesx.js +0 -1
  54. package/dist/public/_nuxt/BdFYEjeH.js +0 -1
  55. package/dist/public/_nuxt/BdMtzkAy2.js +0 -1
  56. package/dist/public/_nuxt/BleX7Loz.js +0 -2
  57. package/dist/public/_nuxt/C5iGLYf8.js +0 -1
  58. package/dist/public/_nuxt/CAMw8o6X.js +0 -1
  59. package/dist/public/_nuxt/CBfhMqaX.js +0 -1
  60. package/dist/public/_nuxt/CJdYjM__.js +0 -1
  61. package/dist/public/_nuxt/CK6Xn-O82.js +0 -1
  62. package/dist/public/_nuxt/CMgL1OO02.js +0 -1
  63. package/dist/public/_nuxt/CUBdwZVs.js +0 -3
  64. package/dist/public/_nuxt/CWusIlaG.js +0 -1
  65. package/dist/public/_nuxt/CbQbsbZd.js +0 -1
  66. package/dist/public/_nuxt/Cc25hvIa.js +0 -1
  67. package/dist/public/_nuxt/CgIVM_ZA.js +0 -1
  68. package/dist/public/_nuxt/CvnFxGBE.js +0 -1
  69. package/dist/public/_nuxt/CxYeQaBW.js +0 -1
  70. package/dist/public/_nuxt/Cz_QngRP.js +0 -1
  71. package/dist/public/_nuxt/D355zo8J.js +0 -1
  72. package/dist/public/_nuxt/D8ugdtv-.js +0 -1
  73. package/dist/public/_nuxt/DRDotB3_.js +0 -1
  74. package/dist/public/_nuxt/D_SWqqpX.js +0 -1
  75. package/dist/public/_nuxt/ENNcF9U5.js +0 -1
  76. package/dist/public/_nuxt/O6CYpA302.js +0 -1
  77. package/dist/public/_nuxt/Vqydp92h.js +0 -4
  78. package/dist/public/_nuxt/bqLEejUC.js +0 -1
  79. package/dist/public/_nuxt/builds/meta/41dbd68d-0fb6-46b9-8488-2655f3bf60fa.json +0 -1
  80. package/dist/public/_nuxt/error-404.DGENu4tq.css +0 -1
  81. package/dist/public/_nuxt/error-500.Dafb1iMn.css +0 -1
  82. package/dist/public/_nuxt/jP7hav2h.js +0 -1
  83. package/dist/public/_nuxt/q8es4sx12.js +0 -1
  84. package/dist/public/_nuxt/x1vnwfQM.js +0 -1
  85. package/dist/public/_nuxt/zt8ARaaw.js +0 -1
  86. /package/dist/public/_nuxt/{CqfNwh25.js → BkPBhH2x.js} +0 -0
  87. /package/dist/public/_nuxt/{DoJ6DaKu.js → DWG474Ej.js} +0 -0
  88. /package/dist/public/_nuxt/{D1iwru-F2.js → DYINlKP5.js} +0 -0
  89. /package/dist/public/_nuxt/{BUwCbG2W.js → tBStlNYu.js} +0 -0
@@ -0,0 +1 @@
1
+ import{Ft as e,Ht as t,Mt as n,Vt as r,b as i,bt as a,cn as o,d as s,hn as c,ln as l,pn as u,un as d,w as f,wt as p,xt as m}from"#entry";import{t as h}from"./tBStlNYu.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:n=.5,maxScale:r=2}={}){let a=o(1);function s(t,i,o){let s=u(e);if(!s)return;let{left:c,top:l,width:d,height:f}=s.getBoundingClientRect(),p=i??c+d/2,m=o??l+f/2,h=p-c,g=m-l,_=a.value;a.value=Math.max(n,Math.min(r,_+t));let v=a.value/_;s.scrollLeft=(s.scrollLeft+h)*v-h,s.scrollTop=(s.scrollTop+g)*v-g}function c(e){if(u(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 d(e=.2){s(e*-1)}return i(e,`wheel`,c),{scale:a,zoom:s,zoomIn:l,zoomOut:d}}var X=Symbol.for(`ViteDevToolsModuleGraphState`),Z=ge().x(e=>e[0]).y(e=>e[1]),Q=_e().x(e=>e[0]).y(e=>e[1]);function ye(e,t){return!e.target||!e.source?null:t?e.target.x<=e.source.x?Q({source:[e.source.x+c(t.width)/2-c(t.linkOffset),e.source.y],target:[e.target.x-c(t.width)/2+c(t.linkOffset),e.target.y]}):Z({source:[e.source.x+c(t.width)/2-c(t.linkOffset),e.source.y],target:[e.target.x-c(t.width)/2+c(t.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(e){let n=.4,r=o(),i=o(window.innerWidth),s=o(window.innerHeight),c=l(new Map),u=l(new Set),p=o(!0),m=l(new Map),h=d([]),g=d([]),_=l(new Map),v=l(new Map),y=a(()=>{let t=new Map;for(let n of e.modules.value)t.set(n.id,n);return t}),{control:b}=f(),{scale:x,zoomIn:S,zoomOut:C}=ve(r,{wheel:b,minScale:n,maxScale:2});function w(e,t=!0){c.get(e)?.scrollIntoView({block:`center`,inline:`center`,behavior:t?`smooth`:`instant`})}let T=e.generateGraph({isFirstCalculateGraph:p,hierarchy:D,tree:z,nodesRefMap:c,container:r,modulesMap:y,nodes:h,links:g,scale:x,nodesMap:_,linksMap:v,width:i,height:s,childToParentMap:m,focusOn:w,collapsedNodes:u,spacing:e.spacing});t(X,{spacing:e.spacing,calculateGraph:T,isFirstCalculateGraph:p,container:r,width:i,height:s,scale:x,nodes:h,links:g,nodesRefMap:c,collapsedNodes:u,childToParentMap:m,ZOOM_MIN:n,ZOOM_MAX:2,zoomIn:S,zoomOut:C})}function $(){return n(X)}function Se(t){let{nodesRefMap:r,container:i,calculateGraph:a,collapsedNodes:s}=n(X),l=o(!1);function u(t,n){e(()=>{e(()=>{let e=r.get(t);if(e&&n&&i.value){let t=i.value.getBoundingClientRect(),r=e.getBoundingClientRect(),a=r.left-t.left-n.x,o=r.top-t.top-n.y;i.value.scrollLeft+=a,i.value.scrollTop+=o}})})}function d(e){if(l.value)return;l.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}}s.has(e)?s.delete(e):s.add(e),a(),n&&u(e,n),l.value=!1}function f(){l.value||(l.value=!0,s.clear(),a(),setTimeout(()=>{l.value=!1},300))}function p(){l.value||(l.value=!0,c(t.modules).forEach(e=>{e.imports.length>0&&s.add(e.id)}),a(),setTimeout(()=>{l.value=!1},300))}return{isGraphNodeToggling:l,toggleNode:d,expandAll:f,collapseAll:p}}function Ce(){let{scale:e,zoomIn:t,zoomOut:r,ZOOM_MIN:i,ZOOM_MAX:a}=n(X);return s([`-`,`_`],e=>{e.ctrlKey&&r()}),s([`=`,`+`],e=>{e.ctrlKey&&t()}),{ZOOM_MIN:i,ZOOM_MAX:a,scale:e,zoomIn:t,zoomOut:r}}function we(){let{container:e}=n(X),t=o(!1),r=0,a=0;function s(){i(e,`mousedown`,n=>{let i=e.value.getBoundingClientRect(),o=i.right-n.clientX,s=i.bottom-n.clientY;o<=20||s<=20||(t.value=!0,r=e.value.scrollLeft+n.pageX,a=e.value.scrollTop+n.pageY)}),i(e,`contextmenu`,e=>e.preventDefault()),i(`mouseleave`,()=>t.value=!1),i(`mouseup`,()=>t.value=!1),i(`mousemove`,n=>{t.value&&(n.preventDefault(),e.value.scrollLeft=r-n.pageX,e.value.scrollTop=a-n.pageY)})}return{init:s,isGrabbing:t}}var Te={},Ee={type:`button`,"w-8":``,"h-8":``,"rounded-full":``,flex:``,"items-center":``,"justify-center":``,hover:`bg-active op100`,op50:``,title:`Close`,"aria-label":`Close`};function De(e,t){return r(),p(`button`,Ee,[...t[0]||=[m(`div`,{"i-ph-x":``},null,-1)]])}var Oe=h(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{Ct as e,Dt as t,Et as n,Ot as r,St as i,Ut as a,Vt as o,bt as s,gn as c,hn as l,tn as u,vt as d,wt as f,xt as p,yn as m}from"#entry";import{t as h}from"./CGpzF1Fi.js";import{r as g,t as _}from"./CtfgqrR6.js";import{t as v}from"./BRoY9F4B.js";import{t as y}from"./DiwqOTKG.js";import{t as b}from"./DJiAfyJ9.js";var x={flex:`~ col gap-2`,p6:``},S={flex:`~ gap-2`},C={border:`~ base rounded`,p4:``,grid:`~ cols-[max-content_160px_2fr] gap-2 items-center`},w={"font-mono":``,truncate:``},T=[`datetime`],E={key:4},D={border:`~ base rounded`,p4:``,grid:`~ cols-[max-content_1fr] gap-2 items-center`},O={flex:`~ wrap gap-2`},k=r({__name:`index`,props:{session:{}},setup(r){let k=r,A=s(()=>[{title:`Build ID`,value:k.session.id,icon:`i-ph-hash-duotone`},{title:`Created At`,value:new Date(k.session.meta.timestamp),icon:`i-ph-clock-duotone`},{title:`Build Duration`,value:k.session.buildDuration,icon:`i-ph-timer-duotone`,type:`duration`},{title:`Directory`,value:k.session.meta.cwd,icon:`i-ph-folder-duotone`},{title:`Total Modules`,value:k.session.modulesList.length,icon:`i-ph-files-duotone`},{title:`Plugins`,value:k.session.meta.plugins.length,icon:`i-ph-plugs-duotone`},{title:`Platform`,value:k.session.meta.platform,icon:`i-ph-cpu-duotone`,type:`badge`},{title:`Format`,value:k.session.meta.format,icon:`i-ph-file-duotone`,type:`badge`}]);return(s,j)=>{let M=h,N=_;return o(),f(`div`,x,[p(`div`,S,[t(M,{"btn-action":``,to:{path:`/`}},{default:u(()=>[...j[0]||=[p(`div`,{"i-ph-arrow-bend-up-left-duotone":``},null,-1),n(` Re-select Session `,-1)]]),_:1})]),j[1]||=p(`div`,{op50:``,"mt-10":``},` Meta Info `,-1),p(`div`,C,[(o(!0),f(d,null,a(A.value,e=>(o(),f(d,{key:e.title},[p(`div`,{class:c(e.icon)},null,2),p(`div`,null,m(e.title),1),p(`div`,w,[e.value instanceof Date?(o(),f(`time`,{key:0,datetime:e.value.toISOString()},m(e.value.toLocaleString()),9,T)):e.type===`badge`?(o(),i(g,{key:1,text:String(e.value),py1:``},null,8,[`text`])):e.type===`duration`?(o(),i(v,{key:2,duration:+e.value},null,8,[`duration`])):typeof e.value==`number`?(o(),i(y,{key:3,number:e.value,py1:``,"rounded-full":``,"inline-block":``,"text-sm":``},null,8,[`number`])):(o(),f(`span`,E,m(e.value),1))])],64))),128))]),j[2]||=p(`div`,{op50:``,"mt-4":``},` Build Entries `,-1),p(`div`,D,[(o(!0),f(d,null,a(k.session.meta.inputs,e=>(o(),f(d,{key:e},[t(g,{text:e.name||``},null,8,[`text`]),t(N,{id:e.filename||``,session:r.session,link:!0},null,8,[`id`,`session`])],64))),128))]),j[3]||=p(`div`,{op50:``,"mt-4":``},` Views `,-1),p(`div`,O,[(o(!0),f(d,null,a(l(b),t=>(o(),f(d,{key:t.to},[t.category===`session`?(o(),i(M,{key:0,"btn-action":``,to:{path:t.to},flex:`~ col`,"min-w-40":``,p4:``},{default:u(()=>[p(`div`,{class:c(t.icon),"text-2xl":``},null,2),n(` `+m(t.title),1)]),_:2},1032,[`to`])):e(``,!0)],64))),128))])])}}});export{k as default};
@@ -1 +1 @@
1
- {"id":"41dbd68d-0fb6-46b9-8488-2655f3bf60fa","timestamp":1778225948077}
1
+ {"id":"4b89da51-8485-4b1c-9d33-36610376f0b4","timestamp":1778756265326}
@@ -0,0 +1 @@
1
+ {"id":"4b89da51-8485-4b1c-9d33-36610376f0b4","timestamp":1778756265326,"prerendered":[]}
@@ -0,0 +1 @@
1
+ import{C as e,Ct as t,Et as n,Ot as r,Vt as i,Wt as a,bt as o,gn as s,wt as c,xt as l,yn as u}from"#entry";import{t as d}from"./BkPBhH2x.js";var f={"text-xs":``,op75:``,"ml-0.4":``},p={key:0,"text-xs":``,ml1:``,"op-fade":``,border:`l base`,pl1:``},m=1e3,h=Object.assign(r({__name:`FileSizeBadge`,props:{bytes:{},colorize:{type:Boolean,default:!0},digits:{default:2},percent:{type:Boolean,default:!0},total:{},icon:{},percentRatio:{default:.5}},setup(e){let r=e,h=m**2,g=[[80*m,`color-scale-neutral`],[500*m,`color-scale-low`],[1*h,`color-scale-medium`],[10*h,`color-scale-high`],[20*h,`color-scale-critical`]],_=o(()=>{if(!r.colorize)return g[0];let e=r.bytes||0;for(let[t,n]of g)if(e<t)return n;return g.at(-1)?.[1]}),v=o(()=>r.total?(r.bytes||0)*100/r.total:0),y=o(()=>d(r.bytes||0,r.digits));return(r,o)=>e.bytes?(i(),c(`div`,{key:0,class:s([_.value,`px-0.4em py-0.2em font-mono line-height-none bg-gray:5 dark:bg-gray:4 flex items-center`])},[e.icon?(i(),c(`div`,{key:0,class:s([e.icon,`mr-1`])},null,2)):t(``,!0),n(` `+u(y.value[0]),1),l(`span`,f,u(y.value[1]),1),a(r.$slots,`after`,{},()=>[e.percent&&v.value>e.percentRatio?(i(),c(`span`,p,u(+v.value.toFixed(1))+`%`,1)):t(``,!0)])],2)):t(``,!0)}}),{__name:`DisplayFileSizeBadge`}),g=e(`rolldown-devtools-settings`,{codeviewerLineWrap:!1,codeviewerDiffPanelSize:50,flowExpandResolveId:!0,flowExpandTransforms:!0,flowExpandLoads:!0,flowExpandChunks:!0,flowExpandAssets:!0,flowShowAllTransforms:!1,flowShowAllLoads:!1,moduleGraphViewType:`list`,assetViewType:`list`,chartAnimation:!0,moduleDetailsViewType:`flow`,pluginDetailsViewType:`flow`,pluginDetailsTableFields:null,pluginDetailsModuleTypes:null,pluginDetailsDurationSortType:``,pluginDetailSelectedHook:``,chunkViewType:`list`,pluginDetailsShowType:`all`,packageViewType:`table`,packageSizeSortType:``},{mergeDefaults:!0});function _(e){let t=new Map;return new Proxy(e.value,{get(e,n){return t.has(n)||t.set(n,o({get(){return e[n]},set(t){e[n]=t}})),t.get(n)}})}var v=_(g);export{v as n,h as r,g as t};