@sma1lboy/rove 0.9.307 → 0.9.308-next.458

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 (77) hide show
  1. package/dist/cli/{chunk-gvqpdhrx.js → chunk-0kkee6sj.js} +2 -2
  2. package/dist/cli/{chunk-vbq0gh7a.js → chunk-0mbe6ag9.js} +1 -1
  3. package/dist/cli/{chunk-4drrctpt.js → chunk-0rffqvag.js} +2 -2
  4. package/dist/cli/{chunk-mpg3km6m.js → chunk-1af32mg7.js} +1 -1
  5. package/dist/cli/{chunk-crnfw9tg.js → chunk-1tdca3cn.js} +1 -1
  6. package/dist/cli/{chunk-00qmedzm.js → chunk-1w7f9mbx.js} +1 -1
  7. package/dist/cli/{chunk-8xaeybn6.js → chunk-26yve83p.js} +1 -1
  8. package/dist/cli/{chunk-pw484p7h.js → chunk-39rn20pf.js} +1 -1
  9. package/dist/cli/{chunk-chd7ac6d.js → chunk-3h7tc668.js} +1 -1
  10. package/dist/cli/{chunk-qdqkefy1.js → chunk-3jpt7be5.js} +1 -1
  11. package/dist/cli/{chunk-kj9ecwp3.js → chunk-4e5k5sek.js} +2 -2
  12. package/dist/cli/{chunk-0qkbtdkf.js → chunk-4ghhgyq2.js} +1 -1
  13. package/dist/cli/{chunk-23684z1k.js → chunk-4mj47dk3.js} +1 -1
  14. package/dist/cli/{chunk-c7373vn9.js → chunk-4myc34a0.js} +1 -1
  15. package/dist/cli/{chunk-hvvp922k.js → chunk-4zae7xn6.js} +1 -1
  16. package/dist/cli/{chunk-ycjaznhz.js → chunk-51zva1y3.js} +1 -1
  17. package/dist/cli/{chunk-2tgr6qzw.js → chunk-5g9hbkq5.js} +2 -2
  18. package/dist/cli/{chunk-86szempt.js → chunk-5r8v89qz.js} +1 -1
  19. package/dist/cli/{chunk-enttnysa.js → chunk-5t4dggxf.js} +1 -1
  20. package/dist/cli/{chunk-4enb5fbt.js → chunk-6s6cz4vf.js} +1 -1
  21. package/dist/cli/{chunk-af9qtrm0.js → chunk-7j4qsbg4.js} +1 -1
  22. package/dist/cli/{chunk-j8e3ch8f.js → chunk-7pdnn9d8.js} +1 -1
  23. package/dist/cli/{chunk-94dbkj4r.js → chunk-7zksk1t6.js} +1 -1
  24. package/dist/cli/chunk-81axh7y2.js +3 -0
  25. package/dist/cli/{chunk-fa899p00.js → chunk-88hjwpzw.js} +1 -1
  26. package/dist/cli/{chunk-53qngaz2.js → chunk-8g1dkra6.js} +1 -1
  27. package/dist/cli/{chunk-jkrtbm14.js → chunk-9h7zv8ge.js} +1 -1
  28. package/dist/cli/{chunk-n2avgbe1.js → chunk-a1jdqcqq.js} +1 -1
  29. package/dist/cli/{chunk-gscmmm5k.js → chunk-a4kqnhy9.js} +1 -1
  30. package/dist/cli/{chunk-zd47wexr.js → chunk-adfxyz0h.js} +1 -1
  31. package/dist/cli/{chunk-w7d6sg08.js → chunk-b523a35f.js} +1 -1
  32. package/dist/cli/{chunk-b8qenb74.js → chunk-daepgv4q.js} +1 -1
  33. package/dist/cli/{chunk-ba6nwnp2.js → chunk-dc0sectg.js} +1 -1
  34. package/dist/cli/{chunk-pnsnk3bq.js → chunk-djkqvbxx.js} +1 -1
  35. package/dist/cli/{chunk-ff4mqsvb.js → chunk-dqatj3x0.js} +1 -1
  36. package/dist/cli/{chunk-r4yhdnwn.js → chunk-feeh04rh.js} +1 -1
  37. package/dist/cli/{chunk-tywfrkf5.js → chunk-fqyja8kw.js} +1 -1
  38. package/dist/cli/{chunk-gy30mccq.js → chunk-g3h0m06y.js} +1 -1
  39. package/dist/cli/{chunk-6ncva9jm.js → chunk-h0s8vdyf.js} +1 -1
  40. package/dist/cli/{chunk-3vydmskq.js → chunk-hk3tds7a.js} +1 -1
  41. package/dist/cli/{chunk-as9fk4ge.js → chunk-hqpsm9v4.js} +1 -1
  42. package/dist/cli/{chunk-q604954w.js → chunk-k77jjpfs.js} +1 -1
  43. package/dist/cli/{chunk-c276egr8.js → chunk-kxfxn5ys.js} +1 -1
  44. package/dist/cli/{chunk-jba8whk5.js → chunk-n6vy964p.js} +1 -1
  45. package/dist/cli/{chunk-xg4bcxdm.js → chunk-n9e31hs7.js} +1 -1
  46. package/dist/cli/{chunk-kbmjx4qm.js → chunk-nj9qv55y.js} +1 -1
  47. package/dist/cli/{chunk-pspz5wdw.js → chunk-nmgvpvm0.js} +1 -1
  48. package/dist/cli/{chunk-34fs2a0y.js → chunk-ntmypfsy.js} +1 -1
  49. package/dist/cli/{chunk-v4sdjmxq.js → chunk-p3tkczs9.js} +1 -1
  50. package/dist/cli/{chunk-hf5t4fkg.js → chunk-pg1g9sq7.js} +6 -6
  51. package/dist/cli/{chunk-5g2788gz.js → chunk-qad5kas1.js} +1 -1
  52. package/dist/cli/{chunk-j8yk2b9e.js → chunk-qk7te5tx.js} +1 -1
  53. package/dist/cli/{chunk-gks7q8yb.js → chunk-r1zh9snn.js} +1 -1
  54. package/dist/cli/{chunk-3j202sdr.js → chunk-r7wcpkc8.js} +1 -1
  55. package/dist/cli/{chunk-sg927a3n.js → chunk-rh6kjc4w.js} +1 -1
  56. package/dist/cli/{chunk-bmb2dsqf.js → chunk-scqj49fg.js} +1 -1
  57. package/dist/cli/{chunk-r8s8q12t.js → chunk-srgdpqtc.js} +2 -2
  58. package/dist/cli/{chunk-079zk9kp.js → chunk-tj77gkzk.js} +1 -1
  59. package/dist/cli/{chunk-ansebjem.js → chunk-tv3yyrm1.js} +1 -1
  60. package/dist/cli/{chunk-g3njx5g8.js → chunk-vfzwggkc.js} +1 -1
  61. package/dist/cli/{chunk-00kv8t1v.js → chunk-vjpe5s4v.js} +1 -1
  62. package/dist/cli/{chunk-c4tgjhb8.js → chunk-w9wa22mj.js} +1 -1
  63. package/dist/cli/{chunk-9t6gsy5x.js → chunk-wadea4v3.js} +1 -1
  64. package/dist/cli/{chunk-gyrjk0vf.js → chunk-wjx8kehz.js} +1 -1
  65. package/dist/cli/{chunk-p87q2kty.js → chunk-x92jx8wb.js} +1 -1
  66. package/dist/cli/{chunk-5k614jcg.js → chunk-yc3bt3gy.js} +1 -1
  67. package/dist/cli/{chunk-a5zeh32h.js → chunk-zq7gk3te.js} +2 -2
  68. package/dist/cli/{chunk-7enycv4f.js → chunk-zvcfhx1n.js} +1 -1
  69. package/dist/cli/index.js +3 -3
  70. package/dist/cli/rove.js +1 -1
  71. package/dist/web/assets/index-eWC9hC7P.js +84 -0
  72. package/dist/web/assets/{term-mount-BvGYGQds.js → term-mount-BCYKRvTf.js} +1 -1
  73. package/dist/web/index.html +1 -1
  74. package/dist/web/relay/index.html +4 -4
  75. package/package.json +1 -1
  76. package/dist/cli/chunk-61b8tafs.js +0 -3
  77. package/dist/web/assets/index-DNE1RJFD.js +0 -84
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/addon-canvas-CY8shz_h.js","assets/rolldown-runtime-hePW80VL.js"])))=>i.map(i=>d[i]);
2
- import{r as e}from"./rolldown-runtime-hePW80VL.js";import{_ as t,a as n,b as r,c as i,d as a,f as o,g as s,h as c,i as l,l as u,m as d,n as f,o as p,p as m,r as h,s as g,t as _,u as v,v as y,x as ee,y as te}from"./index-DNE1RJFD.js";var b=0,x=0,S=0,C=0,w;(e=>{function t(e,t,n,r){return r===void 0?`#${k(e)}${k(t)}${k(n)}`:`#${k(e)}${k(t)}${k(n)}${k(r)}`}e.toCss=t;function n(e,t,n,r=255){return(e<<24|t<<16|n<<8|r)>>>0}e.toRgba=n;function r(t,n,r,i){return{css:e.toCss(t,n,r,i),rgba:e.toRgba(t,n,r,i)}}e.toColor=r})(w||={});var T;(e=>{function t(e,t){if(C=(t.rgba&255)/255,C===1)return{css:t.css,rgba:t.rgba};let n=t.rgba>>24&255,r=t.rgba>>16&255,i=t.rgba>>8&255,a=e.rgba>>24&255,o=e.rgba>>16&255,s=e.rgba>>8&255;return b=a+Math.round((n-a)*C),x=o+Math.round((r-o)*C),S=s+Math.round((i-s)*C),{css:w.toCss(b,x,S),rgba:w.toRgba(b,x,S)}}e.blend=t;function n(e){return(e.rgba&255)==255}e.isOpaque=n;function r(e,t,n){let r=O.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return w.toColor(r>>24&255,r>>16&255,r>>8&255)}e.ensureContrastRatio=r;function i(e){let t=(e.rgba|255)>>>0;return[b,x,S]=O.toChannels(t),{css:w.toCss(b,x,S),rgba:t}}e.opaque=i;function a(e,t){return C=Math.round(t*255),[b,x,S]=O.toChannels(e.rgba),{css:w.toCss(b,x,S,C),rgba:w.toRgba(b,x,S,C)}}e.opacity=a;function o(e,t){return C=e.rgba&255,a(e,C*t/255)}e.multiplyOpacity=o;function s(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}e.toColorRGB=s})(T||={});var E;(e=>{let t,n;try{let e=document.createElement(`canvas`);e.width=1,e.height=1;let r=e.getContext(`2d`,{willReadFrequently:!0});r&&(t=r,t.globalCompositeOperation=`copy`,n=t.createLinearGradient(0,0,1,1))}catch{}function r(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return b=parseInt(e.slice(1,2).repeat(2),16),x=parseInt(e.slice(2,3).repeat(2),16),S=parseInt(e.slice(3,4).repeat(2),16),w.toColor(b,x,S);case 5:return b=parseInt(e.slice(1,2).repeat(2),16),x=parseInt(e.slice(2,3).repeat(2),16),S=parseInt(e.slice(3,4).repeat(2),16),C=parseInt(e.slice(4,5).repeat(2),16),w.toColor(b,x,S,C);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}let r=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(r)return b=parseInt(r[1]),x=parseInt(r[2]),S=parseInt(r[3]),C=Math.round((r[5]===void 0?1:parseFloat(r[5]))*255),w.toColor(b,x,S,C);if(!t||!n||(t.fillStyle=n,t.fillStyle=e,typeof t.fillStyle!=`string`)||(t.fillRect(0,0,1,1),[b,x,S,C]=t.getImageData(0,0,1,1).data,C!==255))throw Error(`css.toColor: Unsupported css format`);return{rgba:w.toRgba(b,x,S,C),css:e}}e.toColor=r})(E||={});var D;(e=>{function t(e){return n(e>>16&255,e>>8&255,e&255)}e.relativeLuminance=t;function n(e,t,n){let r=e/255,i=t/255,a=n/255,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,s=i<=.03928?i/12.92:((i+.055)/1.055)**2.4,c=a<=.03928?a/12.92:((a+.055)/1.055)**2.4;return o*.2126+s*.7152+c*.0722}e.relativeLuminance2=n})(D||={});var O;(e=>{function t(e,t){if(C=(t&255)/255,C===1)return t;let n=t>>24&255,r=t>>16&255,i=t>>8&255,a=e>>24&255,o=e>>16&255,s=e>>8&255;return b=a+Math.round((n-a)*C),x=o+Math.round((r-o)*C),S=s+Math.round((i-s)*C),w.toRgba(b,x,S)}e.blend=t;function n(e,t,n){let a=D.relativeLuminance(e>>8),o=D.relativeLuminance(t>>8);if(ne(a,o)<n){if(o<a){let o=r(e,t,n),s=ne(a,D.relativeLuminance(o>>8));if(s<n){let r=i(e,t,n);return s>ne(a,D.relativeLuminance(r>>8))?o:r}return o}let s=i(e,t,n),c=ne(a,D.relativeLuminance(s>>8));if(c<n){let i=r(e,t,n);return c>ne(a,D.relativeLuminance(i>>8))?s:i}return s}}e.ensureContrastRatio=n;function r(e,t,n){let r=e>>24&255,i=e>>16&255,a=e>>8&255,o=t>>24&255,s=t>>16&255,c=t>>8&255,l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));for(;l<n&&(o>0||s>0||c>0);)o-=Math.max(0,Math.ceil(o*.1)),s-=Math.max(0,Math.ceil(s*.1)),c-=Math.max(0,Math.ceil(c*.1)),l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));return(o<<24|s<<16|c<<8|255)>>>0}e.reduceLuminance=r;function i(e,t,n){let r=e>>24&255,i=e>>16&255,a=e>>8&255,o=t>>24&255,s=t>>16&255,c=t>>8&255,l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));for(;l<n&&(o<255||s<255||c<255);)o=Math.min(255,o+Math.ceil((255-o)*.1)),s=Math.min(255,s+Math.ceil((255-s)*.1)),c=Math.min(255,c+Math.ceil((255-c)*.1)),l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));return(o<<24|s<<16|c<<8|255)>>>0}e.increaseLuminance=i;function a(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}e.toChannels=a})(O||={});function k(e){let t=e.toString(16);return t.length<2?`0`+t:t}function ne(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}var A=Object.freeze((()=>{let e=[E.toColor(`#2e3436`),E.toColor(`#cc0000`),E.toColor(`#4e9a06`),E.toColor(`#c4a000`),E.toColor(`#3465a4`),E.toColor(`#75507b`),E.toColor(`#06989a`),E.toColor(`#d3d7cf`),E.toColor(`#555753`),E.toColor(`#ef2929`),E.toColor(`#8ae234`),E.toColor(`#fce94f`),E.toColor(`#729fcf`),E.toColor(`#ad7fa8`),E.toColor(`#34e2e2`),E.toColor(`#eeeeec`)],t=[0,95,135,175,215,255];for(let n=0;n<216;n++){let r=t[n/36%6|0],i=t[n/6%6|0],a=t[n%6];e.push({css:w.toCss(r,i,a),rgba:w.toRgba(r,i,a)})}for(let t=0;t<24;t++){let n=8+t*10;e.push({css:w.toCss(n,n,n),rgba:w.toRgba(n,n,n)})}return e})());function j(e,t,n){return Math.max(t,Math.min(e,n))}function M(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`}return e}var re=class{constructor(e){this._buffer=e}serialize(e,t){let n=this._buffer.getNullCell(),r=this._buffer.getNullCell(),i=n,a=e.start.y,o=e.end.y,s=e.start.x,c=e.end.x;this._beforeSerialize(o-a,a,o);for(let t=a;t<=o;t++){let a=this._buffer.getLine(t);if(a){let o=t===e.start.y?s:0,l=t===e.end.y?c:a.length;for(let e=o;e<l;e++){let o=a.getCell(e,i===n?r:n);if(!o){console.warn(`Can't get cell at row=${t}, col=${e}`);continue}this._nextCell(o,i,t,e),i=o}}this._rowEnd(t,t===o)}return this._afterSerialize(),this._serializeString(t)}_nextCell(e,t,n,r){}_rowEnd(e,t){}_beforeSerialize(e,t,n){}_afterSerialize(){}_serializeString(e){return``}};function ie(e,t){return e.getFgColorMode()===t.getFgColorMode()&&e.getFgColor()===t.getFgColor()}function ae(e,t){return e.getBgColorMode()===t.getBgColorMode()&&e.getBgColor()===t.getBgColor()}function oe(e,t){return e.isInverse()===t.isInverse()&&e.isBold()===t.isBold()&&e.isUnderline()===t.isUnderline()&&e.isOverline()===t.isOverline()&&e.isBlink()===t.isBlink()&&e.isInvisible()===t.isInvisible()&&e.isItalic()===t.isItalic()&&e.isDim()===t.isDim()&&e.isStrikethrough()===t.isStrikethrough()}var se=class extends re{constructor(e,t){super(e),this._terminal=t,this._rowIndex=0,this._allRows=[],this._allRowSeparators=[],this._currentRow=``,this._nullCellCount=0,this._cursorStyle=this._buffer.getNullCell(),this._cursorStyleRow=0,this._cursorStyleCol=0,this._backgroundCell=this._buffer.getNullCell(),this._firstRow=0,this._lastCursorRow=0,this._lastCursorCol=0,this._lastContentCursorRow=0,this._lastContentCursorCol=0,this._thisRowLastChar=this._buffer.getNullCell(),this._thisRowLastSecondChar=this._buffer.getNullCell(),this._nextRowFirstChar=this._buffer.getNullCell()}_beforeSerialize(e,t,n){this._allRows=Array(e),this._lastContentCursorRow=t,this._lastCursorRow=t,this._firstRow=t}_rowEnd(e,t){this._nullCellCount>0&&!ae(this._cursorStyle,this._backgroundCell)&&(this._currentRow+=`\x1B[${this._nullCellCount}X`);let n=``;if(!t){e-this._firstRow>=this._terminal.rows&&this._buffer.getLine(this._cursorStyleRow)?.getCell(this._cursorStyleCol,this._backgroundCell);let t=this._buffer.getLine(e),r=this._buffer.getLine(e+1);if(!r.isWrapped)n=`\r
2
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{_ as t,a as n,b as r,c as i,d as a,f as o,g as s,h as c,i as l,l as u,m as d,n as f,o as p,p as m,r as h,s as g,t as _,u as v,v as y,x as ee,y as te}from"./index-eWC9hC7P.js";var b=0,x=0,S=0,C=0,w;(e=>{function t(e,t,n,r){return r===void 0?`#${k(e)}${k(t)}${k(n)}`:`#${k(e)}${k(t)}${k(n)}${k(r)}`}e.toCss=t;function n(e,t,n,r=255){return(e<<24|t<<16|n<<8|r)>>>0}e.toRgba=n;function r(t,n,r,i){return{css:e.toCss(t,n,r,i),rgba:e.toRgba(t,n,r,i)}}e.toColor=r})(w||={});var T;(e=>{function t(e,t){if(C=(t.rgba&255)/255,C===1)return{css:t.css,rgba:t.rgba};let n=t.rgba>>24&255,r=t.rgba>>16&255,i=t.rgba>>8&255,a=e.rgba>>24&255,o=e.rgba>>16&255,s=e.rgba>>8&255;return b=a+Math.round((n-a)*C),x=o+Math.round((r-o)*C),S=s+Math.round((i-s)*C),{css:w.toCss(b,x,S),rgba:w.toRgba(b,x,S)}}e.blend=t;function n(e){return(e.rgba&255)==255}e.isOpaque=n;function r(e,t,n){let r=O.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return w.toColor(r>>24&255,r>>16&255,r>>8&255)}e.ensureContrastRatio=r;function i(e){let t=(e.rgba|255)>>>0;return[b,x,S]=O.toChannels(t),{css:w.toCss(b,x,S),rgba:t}}e.opaque=i;function a(e,t){return C=Math.round(t*255),[b,x,S]=O.toChannels(e.rgba),{css:w.toCss(b,x,S,C),rgba:w.toRgba(b,x,S,C)}}e.opacity=a;function o(e,t){return C=e.rgba&255,a(e,C*t/255)}e.multiplyOpacity=o;function s(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}e.toColorRGB=s})(T||={});var E;(e=>{let t,n;try{let e=document.createElement(`canvas`);e.width=1,e.height=1;let r=e.getContext(`2d`,{willReadFrequently:!0});r&&(t=r,t.globalCompositeOperation=`copy`,n=t.createLinearGradient(0,0,1,1))}catch{}function r(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return b=parseInt(e.slice(1,2).repeat(2),16),x=parseInt(e.slice(2,3).repeat(2),16),S=parseInt(e.slice(3,4).repeat(2),16),w.toColor(b,x,S);case 5:return b=parseInt(e.slice(1,2).repeat(2),16),x=parseInt(e.slice(2,3).repeat(2),16),S=parseInt(e.slice(3,4).repeat(2),16),C=parseInt(e.slice(4,5).repeat(2),16),w.toColor(b,x,S,C);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}let r=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(r)return b=parseInt(r[1]),x=parseInt(r[2]),S=parseInt(r[3]),C=Math.round((r[5]===void 0?1:parseFloat(r[5]))*255),w.toColor(b,x,S,C);if(!t||!n||(t.fillStyle=n,t.fillStyle=e,typeof t.fillStyle!=`string`)||(t.fillRect(0,0,1,1),[b,x,S,C]=t.getImageData(0,0,1,1).data,C!==255))throw Error(`css.toColor: Unsupported css format`);return{rgba:w.toRgba(b,x,S,C),css:e}}e.toColor=r})(E||={});var D;(e=>{function t(e){return n(e>>16&255,e>>8&255,e&255)}e.relativeLuminance=t;function n(e,t,n){let r=e/255,i=t/255,a=n/255,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,s=i<=.03928?i/12.92:((i+.055)/1.055)**2.4,c=a<=.03928?a/12.92:((a+.055)/1.055)**2.4;return o*.2126+s*.7152+c*.0722}e.relativeLuminance2=n})(D||={});var O;(e=>{function t(e,t){if(C=(t&255)/255,C===1)return t;let n=t>>24&255,r=t>>16&255,i=t>>8&255,a=e>>24&255,o=e>>16&255,s=e>>8&255;return b=a+Math.round((n-a)*C),x=o+Math.round((r-o)*C),S=s+Math.round((i-s)*C),w.toRgba(b,x,S)}e.blend=t;function n(e,t,n){let a=D.relativeLuminance(e>>8),o=D.relativeLuminance(t>>8);if(ne(a,o)<n){if(o<a){let o=r(e,t,n),s=ne(a,D.relativeLuminance(o>>8));if(s<n){let r=i(e,t,n);return s>ne(a,D.relativeLuminance(r>>8))?o:r}return o}let s=i(e,t,n),c=ne(a,D.relativeLuminance(s>>8));if(c<n){let i=r(e,t,n);return c>ne(a,D.relativeLuminance(i>>8))?s:i}return s}}e.ensureContrastRatio=n;function r(e,t,n){let r=e>>24&255,i=e>>16&255,a=e>>8&255,o=t>>24&255,s=t>>16&255,c=t>>8&255,l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));for(;l<n&&(o>0||s>0||c>0);)o-=Math.max(0,Math.ceil(o*.1)),s-=Math.max(0,Math.ceil(s*.1)),c-=Math.max(0,Math.ceil(c*.1)),l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));return(o<<24|s<<16|c<<8|255)>>>0}e.reduceLuminance=r;function i(e,t,n){let r=e>>24&255,i=e>>16&255,a=e>>8&255,o=t>>24&255,s=t>>16&255,c=t>>8&255,l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));for(;l<n&&(o<255||s<255||c<255);)o=Math.min(255,o+Math.ceil((255-o)*.1)),s=Math.min(255,s+Math.ceil((255-s)*.1)),c=Math.min(255,c+Math.ceil((255-c)*.1)),l=ne(D.relativeLuminance2(o,s,c),D.relativeLuminance2(r,i,a));return(o<<24|s<<16|c<<8|255)>>>0}e.increaseLuminance=i;function a(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}e.toChannels=a})(O||={});function k(e){let t=e.toString(16);return t.length<2?`0`+t:t}function ne(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}var A=Object.freeze((()=>{let e=[E.toColor(`#2e3436`),E.toColor(`#cc0000`),E.toColor(`#4e9a06`),E.toColor(`#c4a000`),E.toColor(`#3465a4`),E.toColor(`#75507b`),E.toColor(`#06989a`),E.toColor(`#d3d7cf`),E.toColor(`#555753`),E.toColor(`#ef2929`),E.toColor(`#8ae234`),E.toColor(`#fce94f`),E.toColor(`#729fcf`),E.toColor(`#ad7fa8`),E.toColor(`#34e2e2`),E.toColor(`#eeeeec`)],t=[0,95,135,175,215,255];for(let n=0;n<216;n++){let r=t[n/36%6|0],i=t[n/6%6|0],a=t[n%6];e.push({css:w.toCss(r,i,a),rgba:w.toRgba(r,i,a)})}for(let t=0;t<24;t++){let n=8+t*10;e.push({css:w.toCss(n,n,n),rgba:w.toRgba(n,n,n)})}return e})());function j(e,t,n){return Math.max(t,Math.min(e,n))}function M(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`}return e}var re=class{constructor(e){this._buffer=e}serialize(e,t){let n=this._buffer.getNullCell(),r=this._buffer.getNullCell(),i=n,a=e.start.y,o=e.end.y,s=e.start.x,c=e.end.x;this._beforeSerialize(o-a,a,o);for(let t=a;t<=o;t++){let a=this._buffer.getLine(t);if(a){let o=t===e.start.y?s:0,l=t===e.end.y?c:a.length;for(let e=o;e<l;e++){let o=a.getCell(e,i===n?r:n);if(!o){console.warn(`Can't get cell at row=${t}, col=${e}`);continue}this._nextCell(o,i,t,e),i=o}}this._rowEnd(t,t===o)}return this._afterSerialize(),this._serializeString(t)}_nextCell(e,t,n,r){}_rowEnd(e,t){}_beforeSerialize(e,t,n){}_afterSerialize(){}_serializeString(e){return``}};function ie(e,t){return e.getFgColorMode()===t.getFgColorMode()&&e.getFgColor()===t.getFgColor()}function ae(e,t){return e.getBgColorMode()===t.getBgColorMode()&&e.getBgColor()===t.getBgColor()}function oe(e,t){return e.isInverse()===t.isInverse()&&e.isBold()===t.isBold()&&e.isUnderline()===t.isUnderline()&&e.isOverline()===t.isOverline()&&e.isBlink()===t.isBlink()&&e.isInvisible()===t.isInvisible()&&e.isItalic()===t.isItalic()&&e.isDim()===t.isDim()&&e.isStrikethrough()===t.isStrikethrough()}var se=class extends re{constructor(e,t){super(e),this._terminal=t,this._rowIndex=0,this._allRows=[],this._allRowSeparators=[],this._currentRow=``,this._nullCellCount=0,this._cursorStyle=this._buffer.getNullCell(),this._cursorStyleRow=0,this._cursorStyleCol=0,this._backgroundCell=this._buffer.getNullCell(),this._firstRow=0,this._lastCursorRow=0,this._lastCursorCol=0,this._lastContentCursorRow=0,this._lastContentCursorCol=0,this._thisRowLastChar=this._buffer.getNullCell(),this._thisRowLastSecondChar=this._buffer.getNullCell(),this._nextRowFirstChar=this._buffer.getNullCell()}_beforeSerialize(e,t,n){this._allRows=Array(e),this._lastContentCursorRow=t,this._lastCursorRow=t,this._firstRow=t}_rowEnd(e,t){this._nullCellCount>0&&!ae(this._cursorStyle,this._backgroundCell)&&(this._currentRow+=`\x1B[${this._nullCellCount}X`);let n=``;if(!t){e-this._firstRow>=this._terminal.rows&&this._buffer.getLine(this._cursorStyleRow)?.getCell(this._cursorStyleCol,this._backgroundCell);let t=this._buffer.getLine(e),r=this._buffer.getLine(e+1);if(!r.isWrapped)n=`\r
3
3
  `,this._lastCursorRow=e+1,this._lastCursorCol=0;else{n=``;let i=t.getCell(t.length-1,this._thisRowLastChar),a=t.getCell(t.length-2,this._thisRowLastSecondChar),o=r.getCell(0,this._nextRowFirstChar),s=o.getWidth()>1,c=!1;(o.getChars()&&s?this._nullCellCount<=1:this._nullCellCount<=0)&&((i.getChars()||i.getWidth()===0)&&ae(i,o)&&(c=!0),s&&(a.getChars()||a.getWidth()===0)&&ae(i,o)&&ae(a,o)&&(c=!0)),c||(n=`-`.repeat(this._nullCellCount+1),n+=`\x1B[1D\x1B[1X`,this._nullCellCount>0&&(n+=`\x1B[A`,n+=`\x1B[${t.length-this._nullCellCount}C`,n+=`\x1B[${this._nullCellCount}X`,n+=`\x1B[${t.length-this._nullCellCount}D`,n+=`\x1B[B`),this._lastContentCursorRow=e+1,this._lastContentCursorCol=0,this._lastCursorRow=e+1,this._lastCursorCol=0)}}this._allRows[this._rowIndex]=this._currentRow,this._allRowSeparators[this._rowIndex++]=n,this._currentRow=``,this._nullCellCount=0}_diffStyle(e,t){let n=[],r=!ie(e,t),i=!ae(e,t),a=!oe(e,t);if(r||i||a){if(e.isAttributeDefault())t.isAttributeDefault()||n.push(0);else{if(r){let t=e.getFgColor();e.isFgRGB()?n.push(38,2,t>>>16&255,t>>>8&255,t&255):e.isFgPalette()?t>=16?n.push(38,5,t):n.push(t&8?90+(t&7):30+(t&7)):n.push(39)}if(i){let t=e.getBgColor();e.isBgRGB()?n.push(48,2,t>>>16&255,t>>>8&255,t&255):e.isBgPalette()?t>=16?n.push(48,5,t):n.push(t&8?100+(t&7):40+(t&7)):n.push(49)}a&&(e.isInverse()!==t.isInverse()&&n.push(e.isInverse()?7:27),e.isBold()!==t.isBold()&&n.push(e.isBold()?1:22),e.isUnderline()!==t.isUnderline()&&n.push(e.isUnderline()?4:24),e.isOverline()!==t.isOverline()&&n.push(e.isOverline()?53:55),e.isBlink()!==t.isBlink()&&n.push(e.isBlink()?5:25),e.isInvisible()!==t.isInvisible()&&n.push(e.isInvisible()?8:28),e.isItalic()!==t.isItalic()&&n.push(e.isItalic()?3:23),e.isDim()!==t.isDim()&&n.push(e.isDim()?2:22),e.isStrikethrough()!==t.isStrikethrough()&&n.push(e.isStrikethrough()?9:29))}}return n}_nextCell(e,t,n,r){if(e.getWidth()===0)return;let i=e.getChars()===``,a=this._diffStyle(e,this._cursorStyle);if(i?!ae(this._cursorStyle,e):a.length>0){this._nullCellCount>0&&(ae(this._cursorStyle,this._backgroundCell)||(this._currentRow+=`\x1B[${this._nullCellCount}X`),this._currentRow+=`\x1B[${this._nullCellCount}C`,this._nullCellCount=0),this._lastContentCursorRow=this._lastCursorRow=n,this._lastContentCursorCol=this._lastCursorCol=r,this._currentRow+=`\x1B[${a.join(`;`)}m`;let e=this._buffer.getLine(n);e!==void 0&&(e.getCell(r,this._cursorStyle),this._cursorStyleRow=n,this._cursorStyleCol=r)}i?this._nullCellCount+=e.getWidth():(this._nullCellCount>0&&(ae(this._cursorStyle,this._backgroundCell)||(this._currentRow+=`\x1B[${this._nullCellCount}X`),this._currentRow+=`\x1B[${this._nullCellCount}C`,this._nullCellCount=0),this._currentRow+=e.getChars(),this._lastContentCursorRow=this._lastCursorRow=n,this._lastContentCursorCol=this._lastCursorCol=r+e.getWidth())}_serializeString(e){let t=this._allRows.length;this._buffer.length-this._firstRow<=this._terminal.rows&&(t=this._lastContentCursorRow+1-this._firstRow,this._lastCursorCol=this._lastContentCursorCol,this._lastCursorRow=this._lastContentCursorRow);let n=``;for(let e=0;e<t;e++)n+=this._allRows[e],e+1<t&&(n+=this._allRowSeparators[e]);if(!e){let e=this._buffer.baseY+this._buffer.cursorY,t=this._buffer.cursorX;(e!==this._lastCursorRow||t!==this._lastCursorCol)&&((e=>{e>0?n+=`\x1B[${e}B`:e<0&&(n+=`\x1B[${-e}A`)})(e-this._lastCursorRow),(e=>{e>0?n+=`\x1B[${e}C`:e<0&&(n+=`\x1B[${-e}D`)})(t-this._lastCursorCol))}let r=this._terminal._core._inputHandler._curAttrData,i=this._diffStyle(r,this._cursorStyle);return i.length>0&&(n+=`\x1B[${i.join(`;`)}m`),n}},ce=class{activate(e){this._terminal=e}_serializeBufferByScrollback(e,t,n){let r=t.length,i=n===void 0?r:j(n+e.rows,0,r);return this._serializeBufferByRange(e,t,{start:r-i,end:r-1},!1)}_serializeBufferByRange(e,t,n,r){return new se(t,e).serialize({start:{x:0,y:typeof n.start==`number`?n.start:n.start.line},end:{x:e.cols,y:typeof n.end==`number`?n.end:n.end.line}},r)}_serializeBufferAsHTML(e,t){let n=e.buffer.active,r=new le(n,e,t),i=t.onlySelection??!1,a=t.range;if(a)return r.serialize({start:{x:a.startCol,y:(a.startLine,a.startLine)},end:{x:e.cols,y:(a.endLine,a.endLine)}});if(!i){let i=n.length,a=t.scrollback,o=a===void 0?i:j(a+e.rows,0,i);return r.serialize({start:{x:0,y:i-o},end:{x:e.cols,y:i-1}})}let o=this._terminal?.getSelectionPosition();return o===void 0?``:r.serialize({start:{x:o.start.x,y:o.start.y},end:{x:o.end.x,y:o.end.y}})}_serializeModes(e){let t=``,n=e.modes;if(n.applicationCursorKeysMode&&(t+=`\x1B[?1h`),n.applicationKeypadMode&&(t+=`\x1B[?66h`),n.bracketedPasteMode&&(t+=`\x1B[?2004h`),n.insertMode&&(t+=`\x1B[4h`),n.originMode&&(t+=`\x1B[?6h`),n.reverseWraparoundMode&&(t+=`\x1B[?45h`),n.sendFocusMode&&(t+=`\x1B[?1004h`),n.wraparoundMode===!1&&(t+=`\x1B[?7l`),n.mouseTrackingMode!==`none`)switch(n.mouseTrackingMode){case`x10`:t+=`\x1B[?9h`;break;case`vt200`:t+=`\x1B[?1000h`;break;case`drag`:t+=`\x1B[?1002h`;break;case`any`:t+=`\x1B[?1003h`}return t}serialize(e){if(!this._terminal)throw Error(`Cannot use addon until it has been loaded`);let t=e?.range?this._serializeBufferByRange(this._terminal,this._terminal.buffer.normal,e.range,!0):this._serializeBufferByScrollback(this._terminal,this._terminal.buffer.normal,e?.scrollback);if(!e?.excludeAltBuffer&&this._terminal.buffer.active.type===`alternate`){let e=this._serializeBufferByScrollback(this._terminal,this._terminal.buffer.alternate,void 0);t+=`\x1B[?1049h\x1B[H${e}`}return e?.excludeModes||(t+=this._serializeModes(this._terminal)),t}serializeAsHTML(e){if(!this._terminal)throw Error(`Cannot use addon until it has been loaded`);return this._serializeBufferAsHTML(this._terminal,e||{})}dispose(){}},le=class extends re{constructor(e,t,n){super(e),this._terminal=t,this._options=n,this._currentRow=``,this._htmlContent=``,this._ansiColors=t._core._themeService?t._core._themeService.colors.ansi:A}_padStart(e,t,n){return t>>=0,n??=` `,e.length>t?e:(t-=e.length,t>n.length&&(n+=n.repeat(t/n.length)),n.slice(0,t)+e)}_beforeSerialize(e,t,n){this._htmlContent+=`<html><body><!--StartFragment--><pre>`;let r=`#000000`,i=`#ffffff`;(this._options.includeGlobalBackground??!1)&&(r=this._terminal.options.theme?.foreground??`#ffffff`,i=this._terminal.options.theme?.background??`#000000`);let a=[];a.push(`color: `+r+`;`),a.push(`background-color: `+i+`;`),a.push(`font-family: `+this._terminal.options.fontFamily+`;`),a.push(`font-size: `+this._terminal.options.fontSize+`px;`),this._htmlContent+=`<div style='`+a.join(` `)+`'>`}_afterSerialize(){this._htmlContent+=`</div>`,this._htmlContent+=`</pre><!--EndFragment--></body></html>`}_rowEnd(e,t){this._htmlContent+=`<div><span>`+this._currentRow+`</span></div>`,this._currentRow=``}_getHexColor(e,t){let n=t?e.getFgColor():e.getBgColor();if(t?e.isFgRGB():e.isBgRGB())return`#`+[n>>16&255,n>>8&255,n&255].map(e=>this._padStart(e.toString(16),2,`0`)).join(``);if(t?e.isFgPalette():e.isBgPalette())return this._ansiColors[n].css}_diffStyle(e,t){let n=[],r=!ie(e,t),i=!ae(e,t),a=!oe(e,t);if(r||i||a){let t=this._getHexColor(e,!0);t&&n.push(`color: `+t+`;`);let r=this._getHexColor(e,!1);return r&&n.push(`background-color: `+r+`;`),e.isInverse()&&n.push(`color: #000000; background-color: #BFBFBF;`),e.isBold()&&n.push(`font-weight: bold;`),e.isUnderline()&&e.isOverline()?n.push(`text-decoration: overline underline;`):e.isUnderline()?n.push(`text-decoration: underline;`):e.isOverline()&&n.push(`text-decoration: overline;`),e.isBlink()&&n.push(`text-decoration: blink;`),e.isInvisible()&&n.push(`visibility: hidden;`),e.isItalic()&&n.push(`font-style: italic;`),e.isDim()&&n.push(`opacity: 0.5;`),e.isStrikethrough()&&n.push(`text-decoration: line-through;`),n}}_nextCell(e,t,n,r){if(e.getWidth()===0)return;let i=e.getChars()===``,a=this._diffStyle(e,t);a&&(this._currentRow+=a.length===0?`</span><span>`:`</span><span style='`+a.join(` `)+`'>`),i?this._currentRow+=` `:this._currentRow+=M(e.getChars())}_serializeString(){return this._htmlContent}},ue=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],de=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],N;function fe(e,t){let n=0,r=t.length-1,i;if(e<t[0][0]||e>t[r][1])return!1;for(;r>=n;)if(i=n+r>>1,e>t[i][1])n=i+1;else if(e<t[i][0])r=i-1;else return!0;return!1}var pe=class{constructor(){if(this.version=`6`,!N){N=new Uint8Array(65536),N.fill(1),N[0]=0,N.fill(0,1,32),N.fill(0,127,160),N.fill(2,4352,4448),N[9001]=2,N[9002]=2,N.fill(2,11904,42192),N[12351]=1,N.fill(2,44032,55204),N.fill(2,63744,64256),N.fill(2,65040,65050),N.fill(2,65072,65136),N.fill(2,65280,65377),N.fill(2,65504,65511);for(let e=0;e<ue.length;++e)N.fill(0,ue[e][0],ue[e][1]+1)}}wcwidth(e){return e<32?0:e<127?1:e<65536?N[e]:fe(e,de)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1}charProperties(e,t){let n=this.wcwidth(e),r=n===0&&t!==0;if(r){let e=Ze.extractWidth(t);e===0?r=!1:e>n&&(n=e)}return Ze.createPropertyValue(0,n,r)}},me=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?ye.isErrorNoTelemetry(e)?new ye(e.message+`
4
4
 
5
5
  `+e.stack):Error(e.message+`
@@ -11,7 +11,7 @@
11
11
  <meta name="apple-mobile-web-app-capable" content="yes" />
12
12
  <meta name="apple-mobile-web-app-title" content="rove" />
13
13
  <title>rove</title>
14
- <script type="module" crossorigin src="/assets/index-DNE1RJFD.js"></script>
14
+ <script type="module" crossorigin src="/assets/index-eWC9hC7P.js"></script>
15
15
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
16
16
  <link rel="stylesheet" crossorigin href="/assets/index-B2rowAIL.css">
17
17
  </head>