omar-musayev 1.0.4 → 1.0.5

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/cli.js CHANGED
@@ -1,27 +1,29 @@
1
1
  #!/usr/bin/env node
2
- var q=(u,e)=>()=>(u&&(e=u(u=0)),e);var X=q(()=>{});var uu=q(()=>{});var hu=q(()=>{X();uu()});var Nu,Hu,du,_u,eu=q(()=>{Nu=Object.defineProperty,Hu=Object.getOwnPropertyNames,du=(u,e)=>function(){return u&&(e=(0,u[Hu(u)[0]])(u=0)),e},_u=(u,e)=>{for(var t in e)Nu(u,t,{get:e[t],enumerable:!0})}});function Du(u){let e=u.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function au(){let u=process.env;return u.NO_COLOR!==void 0?"none":u.TERM_PROGRAM==="Apple_Terminal"?"256":u.COLORTERM==="truecolor"||u.COLORTERM==="24bit"?"truecolor":u.TERM_PROGRAM==="iTerm.app"||u.TERM_PROGRAM==="WezTerm"||u.TERM_PROGRAM==="vscode"||u.TERM_PROGRAM==="Hyper"||u.TERM_PROGRAM==="WarpTerminal"||u.WT_SESSION!==void 0?u.COLORTERM?"truecolor":"256":u.TERM?.includes("256color")?"256":u.TERM?"16":"none"}var T=au();function Lu(u,e,t){if(u===e&&e===t)return u<8?16:u>248?231:Math.round((u-8)/247*24)+232;let n=Math.round(u/255*5),o=Math.round(e/255*5),r=Math.round(t/255*5);return 16+36*n+6*o+r}var Tu=[{r:0,g:0,b:0,code:30},{r:170,g:0,b:0,code:31},{r:0,g:170,b:0,code:32},{r:170,g:170,b:0,code:33},{r:0,g:0,b:170,code:34},{r:170,g:0,b:170,code:35},{r:0,g:170,b:170,code:36},{r:170,g:170,b:170,code:37},{r:85,g:85,b:85,code:90},{r:255,g:85,b:85,code:91},{r:85,g:255,b:85,code:92},{r:255,g:255,b:85,code:93},{r:85,g:85,b:255,code:94},{r:255,g:85,b:255,code:95},{r:85,g:255,b:255,code:96},{r:255,g:255,b:255,code:97}];function Ou(u,e,t){let n=30,o=1/0;for(let r of Tu){let s=u-r.r,l=e-r.g,d=t-r.b,c=s*s+l*l+d*d;c<o&&(o=c,n=r.code)}return n}function i(u){if(T==="none")return"";let e=Du(u);return e?T==="16"?`\x1B[${Ou(e.r,e.g,e.b)}m`:T==="256"?`\x1B[38;5;${Lu(e.r,e.g,e.b)}m`:`\x1B[38;2;${e.r};${e.g};${e.b}m`:""}var a=T==="none"?"":"\x1B[0m",v=T==="none"?"":"\x1B[1m",O=T==="none"?"":"\x1B[2m",j=T==="none"?"":"\x1B[3m",N=T==="none"?"":"\x1B[4m",cu=T==="none"?"":"\x1B[7m",Ru=class{renderers=new Map;focusableTypes=new Set;register(u,e,t=!1){this.renderers.set(u,e),t&&this.focusableTypes.add(u)}getRenderer(u){return this.renderers.get(u)}isFocusable(u){return this.focusableTypes.has(u)}has(u){return this.renderers.has(u)}},C=new Ru;function H(u){return u<32||u===127||u>=768&&u<=879||u===8203||u===8204||u===8205||u===173||u===65279||u>=6832&&u<=6911||u>=7616&&u<=7679||u>=8400&&u<=8447||u>=65056&&u<=65071||u>=65024&&u<=65039||u>=917760&&u<=917999?0:u>=19968&&u<=40959||u>=13312&&u<=19903||u>=131072&&u<=173791||u>=173824&&u<=177983||u>=177984&&u<=178207||u>=63744&&u<=64255||u>=12288&&u<=12351||u>=12352&&u<=12447||u>=12448&&u<=12543||u>=44032&&u<=55215||u>=4352&&u<=4447||u>=65281&&u<=65376||u>=65504&&u<=65510||u>=127744&&u<=129535||u>=129536&&u<=129647||u>=129648&&u<=129791?2:(u>=9984&&u<=10175||u>=9728&&u<=9983,1)}function b(u){let e=z(u),t=0;for(let n of e)t+=H(n.codePointAt(0)??0);return t}function lu(u,e){return i(e)+u+a}function S(u,e,t="left"){let n=b(u),o=Math.max(0,e-n);switch(t){case"center":{let r=Math.floor(o/2),s=o-r;return" ".repeat(r)+u+" ".repeat(s)}case"right":return" ".repeat(o)+u;default:return u+" ".repeat(o)}}function z(u){return u.replace(/\x1b\[[0-9;]*m/g,"")}function B(u,e){if(!u)return"";if(b(u)<=e)return u;let t=0,n="",o=!1;for(let r of u){if(r==="\x1B"){o=!0,n+=r;continue}if(o){n+=r,r==="m"&&(o=!1);continue}let s=H(r.codePointAt(0)??0);if(t+s>=e){n+="\u2026";break}n+=r,t+=s}return n+a}function L(u,e){if(e<=0)return[];let t=u.split(`
3
- `),n=[];for(let o of t){if(o.length===0){n.push("");continue}let r=o.split(" "),s="",l=0;for(let d of r){let c=b(d);if(c>e){s&&(n.push(s),s="",l=0);let f="",h=0;for(let p of d){let _=H(p.codePointAt(0)??0);h+_>e&&f&&(n.push(f),f="",h=0),f+=p,h+=_}s=f,l=h;continue}l===0?(s=d,l=c):l+1+c<=e?(s+=" "+d,l+=1+c):(n.push(s),s=d,l=c)}s&&n.push(s)}return n.length>0?n:[""]}function ku(u,e){let t=u.split(`
4
- `);if(t.length===0)throw new Error(`parseFLF: empty font data for "${e}"`);let n=t[0];if(!n.startsWith("flf2"))throw new Error(`parseFLF: invalid FLF header for "${e}": ${n}`);let o=n.charAt(5),r=n.slice(6).trim().split(/\s+/),s=parseInt(r[0],10),l=parseInt(r[4],10)||0;if(isNaN(s)||s<=0)throw new Error(`parseFLF: invalid height in header for "${e}"`);let d=1+l,c={},f=new Set;for(let _=65;_<=90;_++)f.add(_);for(let _=48;_<=57;_++)f.add(_);f.add(32);let h="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";for(let _ of h)f.add(_.charCodeAt(0));let p=d;for(let _=32;_<=126&&!(p+s>t.length);_++){let m=[];for(let F=0;F<s;F++){let g=t[p+F]??"";g.endsWith("@@")?g=g.slice(0,-2):g.endsWith("@")&&(g=g.slice(0,-1)),o&&o!==" "&&(g=g.split(o).join(" ")),m.push(g)}if(p+=s,f.has(_)){let F=String.fromCharCode(_);c[F]=m}}return{name:e,height:s,chars:c}}function Y(u){return u.toLowerCase().replace(/[\s_]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")}function $u(u){return!Array.isArray(u)&&Array.isArray(u.art)}function Wu(u){if(Array.isArray(u))return!1;let e=u;return e.small!==void 0||e.medium!==void 0||e.large!==void 0||e.art!==void 0||e.author!==void 0||e.source!==void 0}var Yu=class{fonts=new Map;scenes=new Map;icons=new Map;patterns=new Map;register(u,e,t,n="custom"){let o=Y(e);switch(u){case"font":{this.fonts.has(o)&&process.stderr.write(`[art-registry] warning: font "${o}" overwritten (source: ${n})
5
- `);let r;typeof t=="string"?r=ku(t,o):r=t,this.fonts.set(o,{font:r,source:n,author:void 0});break}case"scene":{this.scenes.has(o)&&process.stderr.write(`[art-registry] warning: scene "${o}" overwritten (source: ${n})
6
- `);let r;if(Array.isArray(t))r={art:t,source:n};else if($u(t))r={...t,source:t.source??n};else throw new Error(`Invalid scene data for "${e}"`);this.scenes.set(o,{scene:r,source:n});break}case"icon":{this.icons.has(o)&&process.stderr.write(`[art-registry] warning: icon "${o}" overwritten (source: ${n})
7
- `);let r;if(Array.isArray(t))r=ju(t,n);else if(Wu(t))r={...t,source:t.source??n};else throw new Error(`Invalid icon data for "${e}"`);this.icons.set(o,{icon:r,source:n});break}case"pattern":{this.patterns.has(o)&&process.stderr.write(`[art-registry] warning: pattern "${o}" overwritten (source: ${n})
8
- `);let r=t;this.patterns.set(o,{pattern:{...r,source:r.source??n},source:n});break}}}get(u,e){let t=Y(e),n=this.mapFor(u),o=n.get(t);if(o)return this.unwrapEntry(u,o);if(e.includes("/")){let r=Y(e.replace("/","-")),s=n.get(r);if(s)return this.unwrapEntry(u,s)}for(let[r,s]of n)if(r.endsWith(`-${t}`)||r.endsWith(`/${t}`))return this.unwrapEntry(u,s);return null}has(u,e){return this.get(u,e)!==null}list(u){if(u)return Array.from(this.mapFor(u).keys()).sort();let e=new Set;for(let t of this.fonts.keys())e.add(t);for(let t of this.scenes.keys())e.add(t);for(let t of this.icons.keys())e.add(t);for(let t of this.patterns.keys())e.add(t);return Array.from(e).sort()}getInfo(u,e){let t=Y(e),o=this.mapFor(u).get(t);if(!o)return null;let r={name:t,type:u,source:""};switch(u){case"font":{let s=o;r.source=s.source,r.author=s.author;break}case"scene":{let s=o;r.source=s.source,r.author=s.scene.author,r.description=s.scene.description;break}case"icon":{let s=o;r.source=s.source,r.author=s.icon.author;break}case"pattern":{let s=o;r.source=s.source,r.author=s.pattern.author;break}}return r}loadPack(u){let e=`pack:${u.name}`;if(u.fonts){for(let[t,n]of Object.entries(u.fonts))if(this.register("font",t,n,e),u.author){let o=Y(t),r=this.fonts.get(o);r&&!r.author&&(r.author=u.author)}}if(u.scenes)for(let[t,n]of Object.entries(u.scenes))this.register("scene",t,n,e);if(u.icons)for(let[t,n]of Object.entries(u.icons))this.register("icon",t,n,e);if(u.patterns)for(let[t,n]of Object.entries(u.patterns))this.register("pattern",t,n,e)}clear(){this.fonts.clear(),this.scenes.clear(),this.icons.clear(),this.patterns.clear()}mapFor(u){switch(u){case"font":return this.fonts;case"scene":return this.scenes;case"icon":return this.icons;case"pattern":return this.patterns}}unwrapEntry(u,e){switch(u){case"font":return e.font;case"scene":return e.scene;case"icon":return e.icon;case"pattern":return e.pattern}}};function ju(u,e){let t=u.length,n={source:e};return t<=4?n.small=u:t<=6?n.medium=u:n.large=u,n}var fu=new Yu;var iu={single:{topLeft:"\u250C",topRight:"\u2510",bottomLeft:"\u2514",bottomRight:"\u2518",horizontal:"\u2500",vertical:"\u2502",teeLeft:"\u2524",teeRight:"\u251C",teeUp:"\u2534",teeDown:"\u252C",cross:"\u253C"},double:{topLeft:"\u2554",topRight:"\u2557",bottomLeft:"\u255A",bottomRight:"\u255D",horizontal:"\u2550",vertical:"\u2551",teeLeft:"\u2563",teeRight:"\u2560",teeUp:"\u2569",teeDown:"\u2566",cross:"\u256C"},rounded:{topLeft:"\u256D",topRight:"\u256E",bottomLeft:"\u2570",bottomRight:"\u256F",horizontal:"\u2500",vertical:"\u2502",teeLeft:"\u2524",teeRight:"\u251C",teeUp:"\u2534",teeDown:"\u252C",cross:"\u253C"},heavy:{topLeft:"\u250F",topRight:"\u2513",bottomLeft:"\u2517",bottomRight:"\u251B",horizontal:"\u2501",vertical:"\u2503",teeLeft:"\u252B",teeRight:"\u2523",teeUp:"\u253B",teeDown:"\u2533",cross:"\u254B"},dashed:{topLeft:"\u250C",topRight:"\u2510",bottomLeft:"\u2514",bottomRight:"\u2518",horizontal:"\u2504",vertical:"\u2506",teeLeft:"\u2524",teeRight:"\u251C",teeUp:"\u2534",teeDown:"\u252C",cross:"\u253C"},ascii:{topLeft:"+",topRight:"+",bottomLeft:"+",bottomRight:"+",horizontal:"-",vertical:"|",teeLeft:"+",teeRight:"+",teeUp:"+",teeDown:"+",cross:"+"},none:{topLeft:" ",topRight:" ",bottomLeft:" ",bottomRight:" ",horizontal:" ",vertical:" ",teeLeft:" ",teeRight:" ",teeUp:" ",teeDown:" ",cross:" "}};function K(u){return iu[u??"rounded"]??iu.rounded}hu();X();uu();eu();import{EventEmitter as Zu}from"events";import{EventEmitter as e2}from"events";var Ku={};_u(Ku,{defaultTheme:()=>ou,themes:()=>Q});var Q,ou,ru=du({"src/style/theme.ts"(){"use strict";Q={cyberpunk:{accent:"#ff2a6d",accentDim:"#b91d4f",text:"#05d9e8",muted:"#0abdc6",subtle:"#01579b",success:"#05d9e8",warning:"#d1f7ff",error:"#ff2a6d",border:"#01579b",bg:"#01012b"},dracula:{accent:"#ff79c6",accentDim:"#bd93f9",text:"#f8f8f2",muted:"#6272a4",subtle:"#44475a",success:"#50fa7b",warning:"#f1fa8c",error:"#ff5555",border:"#6272a4",bg:"#282a36"},nord:{accent:"#88c0d0",accentDim:"#5e81ac",text:"#eceff4",muted:"#81a1c1",subtle:"#4c566a",success:"#a3be8c",warning:"#ebcb8b",error:"#bf616a",border:"#4c566a",bg:"#2e3440"},monokai:{accent:"#f92672",accentDim:"#ae81ff",text:"#f8f8f2",muted:"#75715e",subtle:"#49483e",success:"#a6e22e",warning:"#e6db74",error:"#f92672",border:"#75715e",bg:"#272822"},solarized:{accent:"#268bd2",accentDim:"#2aa198",text:"#839496",muted:"#657b83",subtle:"#586e75",success:"#859900",warning:"#b58900",error:"#dc322f",border:"#586e75",bg:"#002b36"},gruvbox:{accent:"#fe8019",accentDim:"#d65d0e",text:"#ebdbb2",muted:"#a89984",subtle:"#504945",success:"#b8bb26",warning:"#fabd2f",error:"#fb4934",border:"#504945",bg:"#282828"},catppuccin:{accent:"#f5c2e7",accentDim:"#cba6f7",text:"#cdd6f4",muted:"#a6adc8",subtle:"#45475a",success:"#a6e3a1",warning:"#f9e2af",error:"#f38ba8",border:"#585b70",bg:"#1e1e2e"},tokyoNight:{accent:"#7aa2f7",accentDim:"#bb9af7",text:"#c0caf5",muted:"#565f89",subtle:"#3b4261",success:"#9ece6a",warning:"#e0af68",error:"#f7768e",border:"#3b4261",bg:"#1a1b26"},rosePine:{accent:"#ebbcba",accentDim:"#c4a7e7",text:"#e0def4",muted:"#908caa",subtle:"#6e6a86",success:"#9ccfd8",warning:"#f6c177",error:"#eb6f92",border:"#6e6a86",bg:"#191724"},hacker:{accent:"#00ff41",accentDim:"#008f11",text:"#00ff41",muted:"#008f11",subtle:"#003b00",success:"#00ff41",warning:"#ccff00",error:"#ff0000",border:"#008f11",bg:"#0d0208"}},ou=Q.dracula}});var pu=!1,mu=new Set,J=null,tu=new Map,Ju=new Map;function gu(u,e){tu.has(u)||tu.set(u,new Set),tu.get(u).add(e)}var Qu=0,Fu=null;function su(u){let e=`state-${Qu++}`,t={...u},n=new Map,o=new Set,r=!1,s=new Map;function l(f,h,p){if(r){s.set(f,{newVal:h,oldVal:p});return}let _=n.get(f);if(_)for(let m of _)m(h,p);for(let m of o)m(f,h);Fu?.()}function d(){let f=new Map(s);s.clear();for(let[h,{newVal:p,oldVal:_}]of f){let m=n.get(h);if(m)for(let F of m)F(p,_);for(let F of o)F(h,p)}f.size>0&&Fu?.()}let c={_id:e,get(f){if(f===void 0){if(pu&&(J===null||J===e))for(let h of Object.keys(t))mu.add(h),gu(e,h);return{...t}}return pu&&(J===null||J===e)&&(mu.add(f),gu(e,f)),t[f]},set(f,h){let p=t[f];p!==h&&(t[f]=h,l(f,h,p))},update(f,h){let p=t[f],_=h(p);p!==_&&(t[f]=_,l(f,_,p))},batch(f){r=!0;try{f()}finally{r=!1,d()}},on(f,h){return f==="*"?(o.add(h),()=>o.delete(h)):(n.has(f)||n.set(f,new Set),n.get(f).add(h),()=>n.get(f)?.delete(h))},keys(){return Object.keys(t)}};return Ju.set(e,c),c}ru();var Xu=class extends Zu{started=!1;rawModeWas;start(){this.started||(this.started=!0,process.stdin.isTTY&&(this.rawModeWas=process.stdin.isRaw,process.stdin.setRawMode(!0)),process.stdin.resume(),process.stdin.setEncoding("utf-8"),process.stdin.on("data",this.handleData))}stop(){this.started&&(this.started=!1,process.stdin.removeListener("data",this.handleData),process.stdin.isTTY&&this.rawModeWas!==void 0&&process.stdin.setRawMode(this.rawModeWas),process.stdin.pause())}handleData=u=>{for(let e of u2(u))this.emit("keypress",e)}};function u2(u){let e=[];if(u==="\x1B[A")e.push(I("up","",!1,!1,!1,u));else if(u==="\x1B[B")e.push(I("down","",!1,!1,!1,u));else if(u==="\x1B[C")e.push(I("right","",!1,!1,!1,u));else if(u==="\x1B[D")e.push(I("left","",!1,!1,!1,u));else if(u==="\r"||u===`
9
- `)e.push(I("return","",!1,!1,!1,u));else if(u==="\x1B")e.push(I("escape","",!1,!1,!1,u));else if(u==="\x7F"||u==="\b")e.push(I("backspace","",!1,!1,!1,u));else if(u===" ")e.push(I("tab","",!1,!1,!1,u));else if(u==="\x1B[Z")e.push(I("tab","",!1,!1,!0,u));else if(u==="\x1B[3~")e.push(I("delete","",!1,!1,!1,u));else if(u==="\x1B[H"||u==="\x1B[1~"||u==="\x1BOH")e.push(I("home","",!1,!1,!1,u));else if(u==="\x1B[F"||u==="\x1B[4~"||u==="\x1BOF")e.push(I("end","",!1,!1,!1,u));else if(u===" ")e.push(I("space"," ",!1,!1,!1,u));else for(let t=0;t<u.length;t++){let n=u[t],o=n.charCodeAt(0);if(o<=26&&o>0){let r=String.fromCharCode(o+96);e.push(I(r,n,!0,!1,!1,n))}else e.push(I(n,n,!1,!1,!1,n))}return e}function I(u,e,t,n,o,r){return{name:u,char:e,ctrl:t,meta:n,shift:o,sequence:r}}var g8=new Xu,t2=class extends e2{_size;constructor(){super(),this._size=this.measure(),process.stdout.on("resize",()=>{this._size=this.measure(),this.emit("resize",this._size)}),typeof process.on=="function"&&process.on("SIGWINCH",()=>{this._size=this.measure(),this.emit("resize",this._size)})}get size(){return this._size}get columns(){return this._size.columns}get rows(){return this._size.rows}measure(){return{columns:process.stdout.columns||80,rows:process.stdout.rows||24}}},b8=new t2;var n2=class{listeners=new Map;on(u,e){return this.listeners.has(u)||this.listeners.set(u,new Set),this.listeners.get(u).add(e),()=>this.off(u,e)}off(u,e){this.listeners.get(u)?.delete(e)}emit(u,...e){this.listeners.get(u)?.forEach(t=>{try{t(...e)}catch{}})}once(u,e){let t=(...n)=>{this.off(u,t),e(...n)};return this.on(u,t)}removeAll(u){u?this.listeners.delete(u):this.listeners.clear()}},C8=new n2;var o2=class{animations=new Map;timer=null;fps=30;running=!1;start(){if(this.running)return;this.running=!0;let u=Math.floor(1e3/this.fps);this.timer=setInterval(()=>this.tick(),u)}stop(){this.running=!1,this.timer&&(clearInterval(this.timer),this.timer=null),this.animations.clear()}add(u,e,t,n){this.animations.set(u,{id:u,totalFrames:e,onFrame:t,onComplete:n,currentFrame:0}),this.running||this.start()}remove(u){this.animations.delete(u),this.animations.size===0&&this.stop()}tick(){let u=[];for(let[e,t]of this.animations)t.onFrame(t.currentFrame,t.totalFrames,t.currentFrame/this.fps),t.currentFrame++,t.currentFrame>=t.totalFrames&&(u.push(e),t.onComplete?.());for(let e of u)this.animations.delete(e);this.animations.size===0&&this.stop()}get isRunning(){return this.running}get activeCount(){return this.animations.size}},w8=new o2;var r2="__terminaltui_api_base_url__";function s2(){return globalThis[r2]??null}function Cu(u){let e=s2();return u.startsWith("/")&&e?`${e}${u}`:u}var i2=class{entries=new Map;get(u){let e=this.entries.get(u);if(e){if(Date.now()-e.timestamp>e.ttl){this.entries.delete(u);return}return e.data}}set(u,e,t){this.entries.set(u,{data:e,timestamp:Date.now(),ttl:t})}has(u){return this.get(u)!==void 0}delete(u){this.entries.delete(u)}clear(){this.entries.clear()}},y8=new i2;function M(u,e){let t=e.margin??0,n=typeof e.border=="boolean"?e.border?1:0:e.border??0,o=e.padding??0,r=t*2+n*2+o*2,s=Math.max(0,u-r);return{allocated:u,margin:t,border:n,padding:o,content:s}}var A={card:{padding:1,border:!0,margin:0},text:{padding:0,border:!1,margin:0},hero:{padding:0,border:!1,margin:0},table:{padding:0,border:!0,margin:0},quote:{padding:1,border:!0,margin:1},badge:{padding:0,border:!1,margin:0},progressBar:{padding:0,border:!1,margin:0},link:{padding:0,border:!1,margin:0},list:{padding:0,border:!1,margin:0},section:{padding:0,border:!1,margin:0},divider:{padding:0,border:!1,margin:0},spacer:{padding:0,border:!1,margin:0},timeline:{padding:1,border:!0,margin:1},gallery:{padding:0,border:!1,margin:0},image:{padding:0,border:!0,margin:0},markdown:{padding:0,border:!1,margin:0},menu:{padding:0,border:!1,margin:0},accordion:{padding:2,border:!1,margin:0},tabs:{padding:2,border:!1,margin:0},scrollView:{padding:0,border:!1,margin:0},textInput:{padding:1,border:!0,margin:0},textArea:{padding:1,border:!0,margin:0},select:{padding:1,border:!0,margin:0},checkbox:{padding:0,border:!1,margin:0},toggle:{padding:0,border:!1,margin:0},radioGroup:{padding:0,border:!1,margin:0},numberInput:{padding:1,border:!0,margin:0},searchInput:{padding:1,border:!0,margin:0},button:{padding:2,border:!0,margin:1},form:{padding:1,border:!0,margin:0},box:{padding:0,border:!1,margin:0}};function a2(u,e){let t=u.border??e.borderStyle??"rounded",n=K(t),o=u.width??e.width,r=u.padding??1,s=Math.max(0,Math.floor((o-2)/2)),l=Math.min(r,s),d=M(o,{border:!0,padding:l}),c=d.content,f=u.borderColor??e.theme.border,h=[],p=Math.max(0,d.allocated-d.border*2);if(u.title){let g=` ${u.title} `,y="";u.titleRight&&(y=` ${u.titleRight} `);let x=Math.max(0,p-b(g)-b(y)-1);h.push(i(f)+n.topLeft+n.horizontal+a+i(e.theme.accent)+g+a+i(f)+n.horizontal.repeat(x)+(y?a+i(e.theme.muted)+y+a+i(f):"")+n.topRight+a)}else h.push(i(f)+n.topLeft+n.horizontal.repeat(p)+n.topRight+a);let _=[];for(let g of u.content)_.push(g);let m=u.height?Math.max(0,u.height-2):_.length+(l>0,0),F=Math.max(m,_.length);for(let g=0;g<F;g++){let y=_[g]??"",x=" ".repeat(l);h.push(i(f)+n.vertical+a+x+S(y,c)+x+i(f)+n.vertical+a),u.midSeparatorAfter!==void 0&&g===u.midSeparatorAfter&&h.push(i(f)+n.teeRight+n.horizontal.repeat(p)+n.teeLeft+a)}return h.push(i(f)+n.bottomLeft+n.horizontal.repeat(p)+n.bottomRight+a),h}function c2(u,e,t){let o=M(e.width,A.text).content,r=e.theme;return t==="markdown"?l2(u,o,r):L(u,o).map(s=>lu(s,r.text))}function l2(u,e,t){let n=[],o=u.split(/\n\n+/);for(let r of o){let s=r.trim();if(!s)continue;let l=s.split(`
10
- `);for(let d of l){let c=d.trim();if(!c)continue;if(c.startsWith("#")){let p=c.match(/^(#+)\s+(.*)/);if(p){let _=p[2];n.push(v+i(t.accent)+_+a);continue}}if(c.match(/^[-*]\s/)){let p=c.replace(/^[-*]\s+/,""),_=nu(p,t),m=bu(p),F=L(m,e-2);for(let g=0;g<F.length;g++){let y=g===0?"\u2022 ":" ",x=g===0?nu(F[g],t):i(t.text)+F[g]+a;n.push(i(t.text)+y+x+a)}continue}let f=bu(c),h=L(f,e);for(let p of h)n.push(i(t.text)+nu(p,t)+a)}n.push("")}return n.length>0&&n[n.length-1]===""&&n.pop(),n}function nu(u,e){let t=u;return t=t.replace(/\*\*(.+?)\*\*/g,(n,o)=>v+i(e.accent)+o+a+i(e.text)),t=t.replace(/\*(.+?)\*/g,(n,o)=>j+o+a+i(e.text)),t=t.replace(/`(.+?)`/g,(n,o)=>i(e.warning)+o+a+i(e.text)),t}function bu(u){return u.replace(/\*\*(.+?)\*\*/g,"$1").replace(/\*(.+?)\*/g,"$1").replace(/`(.+?)`/g,"$1")}function wu(u,e){let t=e.theme,o=M(e.width,A.card).content,r=[],s=e.focused?"\u25C6":"\u25C7",l=u.title??"";if(u.subtitle){let d=s+" ",c=u.subtitle,f=b(d)+b(l)+1+b(c);if(f>o){let h=Math.max(1,o-b(d)),p=Math.min(b(c),Math.max(4,Math.floor(h/2))),_=B(c,p),m=z(_),F=Math.max(1,h-1-b(m)),g=B(l,F),y=z(g),x=b(d)+b(y)+b(m),R=Math.max(1,o-x);r.push(i(t.accent)+s+" "+v+g+a+" ".repeat(R)+i(t.muted)+_+a)}else{let h=Math.max(1,o-f);r.push(i(t.accent)+s+" "+v+l+a+" ".repeat(h)+i(t.muted)+u.subtitle+a)}}else{let d=s+" ";if(b(d)+b(l)>o){let c=Math.max(1,o-b(d)),f=B(l,c);r.push(i(t.accent)+s+" "+v+f+a)}else r.push(i(t.accent)+s+" "+v+l+a)}if(u.body){let d=L(u.body,o);for(let c of d)r.push(i(t.text)+c+a)}if(u.tags&&u.tags.length>0){r.push("");let d="",c="";for(let f=0;f<u.tags.length;f++){let p="["+u.tags[f]+"]",_=i(t.warning)+p+a;b(d)===0?(d=p,c=_):b(d)+1+b(p)<=o?(d+=" "+p,c+=" "+_):(r.push(c),d=p,c=_)}c&&r.push(c)}return a2({content:r,width:e.width,border:u.border??e.borderStyle??"rounded",padding:1,borderColor:e.focused?e.theme.accent:void 0},e)}function f2(u,e,t){let n=[],o=e.theme,r=M(e.width,A.timeline),s=e.width,l=r.content;for(let d=0;d<u.length;d++){let c=u[d],f=d===0,h=d===u.length-1,p=f?"\u25CF":"\u25CB",_=i(o.accent)+" "+p+" "+a,m=r.content,F;if(c.subtitle)if((c.title+" \xB7 "+c.subtitle).length>m){let y=m-c.title.length-3;y>0?F=_+i(o.accent)+v+c.title+a+i(o.muted)+" \xB7 "+B(c.subtitle,y)+a:F=_+i(o.accent)+v+B(c.title,m)+a}else F=_+i(o.accent)+v+c.title+a+i(o.muted)+" \xB7 "+c.subtitle+a;else F=_+i(o.accent)+v+B(c.title,m)+a;if(n.push(F),c.period&&n.push(i(o.border)+" \u2502 "+a+i(o.muted)+O+c.period+a),c.description){let g=L(c.description,l);for(let y of g)n.push(i(o.border)+" \u2502 "+a+i(o.text)+y+a)}h||n.push(i(o.border)+" \u2502"+a)}return n}function h2(u,e,t,n){let o=t.theme,r=M(t.width,A.progressBar),s=n?.max??100,l=n?.showPercent??!0,d=Number.isFinite(e)?e:0,c=Math.min(100,Math.max(0,d/s*100)),f=l?5:0,h=Math.max(4,Math.floor(r.content*.4)),p=Math.min(b(u)+2,h),_=Math.max(5,r.content-p-f-2),m=Math.round(c/100*_),F=_-m,g;c>=70?g=o.success:c>=40?g=o.warning:g=o.error;let y=b(u)>p-2?B(u,p-2):u,x=i(o.text)+S(y,p)+a,R=i(g)+"\u2588".repeat(m)+a,Z=i(o.subtle)+"\u2591".repeat(F)+a,V=l?i(o.muted)+` ${Math.round(c)}%`+a:"";return[x+R+Z+V]}function d2(u,e,t){let n=t.theme,o=[],r=u.length,s=M(t.width,A.table),l=u.map((_,m)=>Math.max(b(_),...e.map(g=>b(g[m]??"")))+2),d=Math.max(r,s.content-(r-1)),c=l.reduce((_,m)=>_+m,0);if(c>d){for(let m=0;m<l.length;m++)l[m]=Math.max(2,Math.floor(l[m]/c*d));let _=l.reduce((m,F)=>m+F,0);for(;_>d;){let m=0;for(let F=1;F<l.length;F++)l[F]>l[m]&&(m=F);if(l[m]<=2)break;l[m]--,_--}}let f=t.borderStyle??"single",h=K(f);o.push(i(n.border)+h.topLeft+l.map(_=>h.horizontal.repeat(_)).join(h.teeDown)+h.topRight+a);let p=u.map((_,m)=>{let F=" "+_,g=l[m]-1,y=b(F)>g?B(F,g)+" ":S(F,l[m]);return i(n.accent)+v+y+a});o.push(i(n.border)+h.vertical+a+p.join(i(n.border)+h.vertical+a)+i(n.border)+h.vertical+a),o.push(i(n.border)+h.teeRight+l.map(_=>h.horizontal.repeat(_)).join(h.cross)+h.teeLeft+a);for(let _ of e){let m=_.map((F,g)=>{let y=" "+(F??""),x=l[g]-1,R=b(y)>x?B(y,x)+" ":S(y,l[g]);return i(n.text)+R+a});o.push(i(n.border)+h.vertical+a+m.join(i(n.border)+h.vertical+a)+i(n.border)+h.vertical+a)}return o.push(i(n.border)+h.bottomLeft+l.map(_=>h.horizontal.repeat(_)).join(h.teeUp)+h.bottomRight+a),o}function _2(u,e,t,n){let o=t.theme,r=n?.icon??"\u2192",s=n?.focused??t.focused??!1,d=M(t.width,A.link).content;if(s){let g=" \u276F "+r+" ",y=" ",x=b(g),R=d-x;if(R<=0)return[i(o.accent)+v+B(g,d)+a];let Z=b(u)+b(y)+b(e);if(x+Z<=d)return[i(o.accent)+v+g+N+u+a+i(o.muted)+O+y+e+a];let V=d-x-b(u)-b(y);if(V>=4){let Su=B(e,V);return[i(o.accent)+v+g+N+u+a+i(o.muted)+O+y+Su+a]}let Eu=B(u,R);return[i(o.accent)+v+g+N+Eu+a]}let c=" "+r+" ",f=" ",h=b(c),p=d-h;if(p<=0)return[i(o.text)+B(c,d)+a];let _=b(u)+b(f)+b(e);if(h+_<=d)return[i(o.text)+c+u+a+i(o.subtle)+O+f+e+a];let m=d-h-b(u)-b(f);if(m>=4){let g=B(e,m);return[i(o.text)+c+u+a+i(o.subtle)+O+f+g+a]}let F=B(u,p);return[i(o.text)+c+F+a]}function p2(u,e){let t=u.theme,n=e?.color??t.border,r=M(u.width,A.divider).content;if(e?.style==="label"&&e.label){let l=Math.max(0,r-8),d=e.label;d.length>l&&(d=d.slice(0,Math.max(0,l-1))+"\u2026");let c=` ${d} `,f=Math.max(0,r-c.length-4),h=Math.floor(f/2),p=f-h;return[i(n)+"\u2500\u2500"+"\u2500".repeat(h)+a+i(t.muted)+c+a+i(n)+"\u2500".repeat(p)+"\u2500\u2500"+a]}let s="\u2500";return e?.style==="dashed"?s="\u2504":e?.style==="dotted"?s="\xB7":e?.style==="double"&&(s="\u2550"),[i(n)+s.repeat(r)+a]}function m2(u=1){return Array(Math.max(0,u)).fill("")}function g2(u,e,t){let n=e.theme,o=t?.style??"border",s=M(e.width,A.quote).content,l=[],d=L(`"${u}"`,s);if(o==="border"){for(let c of d)l.push(i(n.accent)+" \u2502 "+a+j+i(n.text)+c+a);if(t?.attribution){let c="\u2014 "+t.attribution;b(c)>s&&(c=c.substring(0,s-1)+"\u2026");let f=Math.max(0,s-b(c));l.push(i(n.accent)+" \u2502 "+a+i(n.muted)+O+" ".repeat(f)+c+a)}}else if(o==="fancy"){l.push(i(n.accent)+" \u250C"+"\u2500".repeat(s+2)+"\u2510"+a);for(let c of d)l.push(i(n.accent)+" \u2502 "+a+j+i(n.text)+c+" ".repeat(Math.max(0,s-b(c)))+a+i(n.accent)+" \u2502"+a);if(t?.attribution){let c="\u2014 "+t.attribution,f=Math.max(0,s-b(c));l.push(i(n.accent)+" \u2502 "+a+" ".repeat(f)+i(n.muted)+c+a+i(n.accent)+" \u2502"+a)}l.push(i(n.accent)+" \u2514"+"\u2500".repeat(s+2)+"\u2518"+a)}else{for(let c of d)l.push(" "+j+i(n.text)+c+a);t?.attribution&&l.push(" "+i(n.muted)+O+"\u2014 "+t.attribution+a)}return l}function F2(u,e,t){let n=M(e.width,A.badge),o=t?.color??e.theme.warning;return(t?.style??"outline")==="filled"?cu+i(o)+` ${u} `+a:i(o)+`[${u}]`+a}function b2(u,e){let t=e.theme,n=[],r=M(e.width,A.hero).content;n.push("");let s=L(u.title,r);for(let l of s){let d=i(t.accent)+v+l+a;n.push(S(d,r,"center"))}if(n.push(""),u.subtitle){let l=L(u.subtitle,r);for(let d of l){let c=i(t.text)+d+a;n.push(S(c,r,"center"))}n.push("")}if(u.cta){let l=i(t.accent)+v+N+u.cta.label+a;n.push(S(l,r,"center")),n.push("")}if(u.art){let l=u.art.split(`
11
- `);for(let d of l)n.push(S(i(t.muted)+d+a,r,"center"))}return n.push(""),n}function C2(u,e,t){let n=M(e.width,A.list),o=e.theme,r=t??"bullet",s={bullet:()=>"\u2022",number:c=>`${c+1}.`,dash:()=>"\u2500",check:()=>"\u2713",arrow:()=>"\u2192"},l=s[r]??s.bullet,d=[];for(let c=0;c<u.length;c++){let h=` ${l(c)} `,p=" ".repeat(h.length),_=Math.max(1,n.content-h.length),m=L(u[c],_);for(let F=0;F<m.length;F++)F===0?d.push(i(o.accent)+h+a+i(o.text)+m[F]+a):d.push(p+i(o.text)+m[F]+a)}return d}function w2(u,e,t){let n=M(e.width,A.image),o=Math.min(t?.width??Math.min(40,n.content),n.content),r=Math.floor(o/3),s=e.theme,l=[];l.push(i(s.border)+"\u250C"+"\u2500".repeat(o)+"\u2510"+a);for(let d=0;d<r;d++)if(d===Math.floor(r/2)){let c=`[Image: ${u}]`,f=Math.max(0,o-b(c)),h=Math.floor(f/2),p=f-h;l.push(i(s.border)+"\u2502"+a+" ".repeat(h)+i(s.muted)+c+a+" ".repeat(p)+i(s.border)+"\u2502"+a)}else l.push(i(s.border)+"\u2502"+" ".repeat(o)+"\u2502"+a);return l.push(i(s.border)+"\u2514"+"\u2500".repeat(o)+"\u2518"+a),l}function y2(u,e,t){let n=M(e.width,A.gallery),o=t?.columns??Math.min(3,Math.max(1,Math.floor(n.content/30))),r=t?.scrollIndex??0,s=e.theme,l=Math.floor((n.content-(o-1)*2)/o);for(;l<20&&o>1;)o--,l=Math.floor((n.content-(o-1)*2)/o);let c=u.slice(r,r+o).map(p=>wu(p,{...e,width:l})),f=Math.max(0,...c.map(p=>p.length)),h=[];for(let p=0;p<f;p++){let _=c.map(m=>{let F=m[p]??"";return S(F,l)});h.push(_.join(" "))}if(u.length>o){let p=i(s.muted)+O+` \u25C2 ${r+1}-${Math.min(r+o,u.length)} of ${u.length} \u25B8`+a;h.push(S(p,n.content,"center"))}return h}C.register("text",(u,e)=>c2(u.content,e,u.style));C.register("list",(u,e)=>C2(u.items,e,u.style));C.register("quote",(u,e)=>g2(u.text,e,{attribution:u.attribution,style:u.style}));C.register("table",(u,e)=>d2(u.headers,u.rows,e));C.register("progressBar",(u,e)=>h2(u.label,u.value,e,{max:u.max,showPercent:u.showPercent}));C.register("badge",(u,e)=>[F2(u.text,e,{color:u.color,style:u.style})]);C.register("image",(u,e)=>w2(u.path,e,{width:u.width,mode:u.mode}));C.register("divider",(u,e)=>p2(e,{style:u.style,label:u.label,color:u.color}));C.register("spacer",u=>m2(u.lines));C.register("custom",(u,e)=>u.render(e.width,e.theme));C.register("card",(u,e)=>wu(u,e),!0);C.register("link",(u,e)=>_2(u.label,u.url,e,{icon:u.icon}),!0);C.register("hero",(u,e)=>b2(u,e),!0);C.register("tabs",(u,e)=>[],!0);C.register("accordion",(u,e)=>[],!0);C.register("timeline",(u,e)=>f2(u.items,e,u.style));C.register("gallery",(u,e)=>y2(u.items,e,{columns:u.columns}));C.register("textInput",(u,e)=>[],!0);C.register("textArea",(u,e)=>[],!0);C.register("select",(u,e)=>[],!0);C.register("checkbox",(u,e)=>[],!0);C.register("toggle",(u,e)=>[],!0);C.register("radioGroup",(u,e)=>[],!0);C.register("numberInput",(u,e)=>[],!0);C.register("searchInput",(u,e)=>[],!0);C.register("button",(u,e)=>[],!0);C.register("columns",(u,e)=>[]);C.register("rows",(u,e)=>[]);C.register("split",(u,e)=>[]);C.register("grid",(u,e)=>[]);C.register("panel",(u,e)=>[]);C.register("box",(u,e)=>[]);C.register("row",(u,e)=>[]);C.register("container",(u,e)=>[]);eu();function vu(u){if(!u.name)throw new Error("Site config must have a name");if(!u.pages||u.pages.length===0)throw new Error("Site must have at least one page");for(let e of u.pages)if(!e.id)throw new Error(`Page must have an id: ${JSON.stringify(e)}`);return{config:u}}function D(u,e){return{id:u,...e}}function w(u){return{type:"card",...u}}function xu(u,e){return{type:"list",items:u,style:e}}function Bu(u){return{type:"hero",...u}}function U(u,e,t){return{type:"link",label:u,url:e,icon:t?.icon}}function k(u){return{type:"text",content:u.replace(/\n\s+/g,`
12
- `),style:"markdown"}}function P(u,e){return typeof u=="string"&&u!=="solid"&&u!=="dashed"&&u!=="dotted"&&u!=="double"&&u!=="label"?{type:"divider",style:"label",label:u}:{type:"divider",style:u,label:e}}function Iu(u){return{type:"textInput",...u}}function Mu(u){return{type:"button",...u}}function Au(u){let e={type:"form",...u};for(let t of e.fields)t.type==="button"&&(t._formId=e.id);return e}ru();var yu=0;function Pu(u,e){return typeof u=="function"?{type:"dynamic",render:u,_dynamicId:`dynamic-${yu++}`}:{type:"dynamic",deps:u,render:e,_dynamicId:`dynamic-${yu++}`}}async function W(u){try{let e=new AbortController,t=u.timeout?setTimeout(()=>e.abort(),u.timeout):null,n={method:u.method??"GET",headers:{"Content-Type":"application/json",...u.headers},signal:e.signal};u.body&&u.method!=="GET"&&(n.body=typeof u.body=="string"?u.body:JSON.stringify(u.body));let o=await fetch(Cu(u.url),n);t&&clearTimeout(t);let r=null;return(o.headers.get("content-type")??"").includes("application/json")?r=await o.json():r=await o.text(),o.ok?{data:r,error:null,status:o.status,ok:!0}:{data:r,error:new Error(`HTTP ${o.status}: ${o.statusText}`),status:o.status,ok:!1}}catch(e){return{data:null,error:e instanceof Error?e:new Error(String(e)),status:0,ok:!1}}}async function $(u){return W(u)}$.get=(u,e)=>W({url:u,method:"GET",headers:e});$.post=(u,e,t)=>W({url:u,method:"POST",body:e,headers:t});$.put=(u,e,t)=>W({url:u,method:"PUT",body:e,headers:t});$.delete=(u,e)=>W({url:u,method:"DELETE",headers:e});$.patch=(u,e,t)=>W({url:u,method:"PATCH",body:e,headers:t});var E=su({conversation:"",loading:!1,history:[]});async function G(u){let e=u["ai-prompt"];if(!e||!e.trim())return{error:"Type a message first"};let t=E.get("history");E.set("loading",!0),E.set("conversation",E.get("conversation")+`
13
- **You:** ${e}
14
-
15
- *thinking...*
16
- `);try{let n=await $.post("https://theomar.me/api/chat",{messages:[...t,{role:"user",content:e}]});if(n.ok&&n.data?.message?.content){let o=n.data.message.content,r=[...t,{role:"user",content:e},{role:"assistant",content:o}];E.set("history",r);let s="";for(let l of r)l.role==="user"?s+=`
17
- **You:** ${l.content}
18
- `:s+=`
19
- **Omar:** ${l.content}
20
- `;E.set("conversation",s)}else E.set("conversation",E.get("conversation").replace(`*thinking...*
21
- `,`**Omar:** sorry, something went wrong. try again?
22
- `))}catch{E.set("conversation",E.get("conversation").replace(`*thinking...*
23
- `,`**Omar:** couldn't reach the server right now. try again in a bit?
24
- `))}return E.set("loading",!1),{success:"Message sent"}}var x5=vu({name:"Omar Musayev",tagline:"AI Engineer & Full Stack Developer",banner:{text:"OMAR",font:"ANSI Shadow",gradient:["#ff6b00","#ff9500"]},theme:"cyberpunk",borders:"rounded",animations:{boot:!0,transitions:"fade",exitMessage:"// Session terminated. See you later!"},menu:{order:["home","resume","projects","blogs","omar-ai"],labels:{"omar-ai":"OmarAi"},icons:{resume:"\u25C6",projects:"\u25A3",blogs:"\u2726","omar-ai":">"}},pages:[D("home",{title:"Home",content:[Bu({title:"Omar Musayev",subtitle:"AI Engineer & Full Stack Developer | Purdue University | 4.0 GPA"}),P("About"),w({title:"About Me",body:"I'm a double major in Artificial Intelligence and Mathematics at Purdue University with a 4.0 GPA. Passionate about starting new projects, finishing what I can, and learning along the way. I love building things\u2014especially with AI\u2014and exploring how tech can solve real-world problems."}),P("Skills"),xu(["Multi-Agentic Systems","LLM Fine-Tuning","RAG Pipelines","Prompt Engineering","Computer Vision","NLP","TensorFlow","PyTorch","LangChain","Neural Networks","Reinforcement Learning","Time Series Forecasting","Python","JavaScript","React","Next.js","Node.js","SQL","Git","Java","C++"],"check"),P("Contact"),U("Website","https://theomar.me",{icon:"\u25C6"}),U("Email","mailto:omar.musayev.v.2@gmail.com",{icon:"\u2709"}),U("LinkedIn","https://linkedin.com/in/omar-musayev-267195286/",{icon:"\u25C9"}),U("Instagram","https://instagram.com/omar.musayev/",{icon:"\u2605"})]}),D("resume",{title:"Resume",icon:"\u25C6",content:[P("Experience"),w({title:"Purdue LaunchPad",subtitle:"Website Chair & Organizer \u2014 West Lafayette, IN | 2025 \u2013 Present",body:"Website Chair and Organizer for Purdue's largest CS/DS mentorship community. LaunchPad is a one-on-one, semester-long mentorship program that pairs incoming students with upperclassmen, guiding them in building technical projects and fostering community through events and skill-building workshops."}),w({title:"COP-29 (UNFCCC)",subtitle:"ICT Technician \u2014 Baku, Azerbaijan | November 2024",body:"Selected as one of 50 technicians from ~15,000 applicants for a 55,000-attendee conference. Tracked and maintained 1,000+ laptops, set up presentation equipment, assisted broadcasters/guests with technical issues, and coordinated daily patches and team memos."}),w({title:"Payriff",subtitle:"AI Intern \u2014 Baku, Azerbaijan | June 2024 \u2013 September 2024",body:"Developed an AI-driven credit-scoring solution integrating data from banks and mobile providers. Built an AI chatbot to explain Payriff service APIs, streamlining developer onboarding."}),w({title:"U\u015Faqlar\u0131m\u0131za \xD6yr\u0259d\u0259k",subtitle:"Lead Developer \u2014 Baku, Azerbaijan | January 2024 \u2013 Present",body:"Led development of a comprehensive website for a youth-led NGO supporting underprivileged children; published resources and promoted educational initiatives across Azerbaijan."}),P("Volunteering"),w({title:"F1 Baku City Circuit",subtitle:"Workforce Team Member \u2014 Baku, Azerbaijan | June 2022",body:"Oversaw volunteer check-in/out and punctuality for ~1,500 volunteers; resolved operational issues throughout race weekend."}),w({title:"European Azerbaijan School",subtitle:"CAS Team Member \u2014 Baku, Azerbaijan | September 2024 \u2013 Ongoing",body:"Participated in environmental cleanup of beaches, mountains, and lakes in Azerbaijan."}),P("Honors & Awards"),w({title:"Purdue Dean's List",subtitle:"2025",body:"Named to the Purdue University Dean's List for academic excellence."}),w({title:"Purdue Semester Honors",subtitle:"2025",body:"Awarded Semester Honors at Purdue University for outstanding academic performance."}),w({title:"Azerbaijan Olympiad in Informatics",subtitle:"Silver Medal \u2014 2022",body:"Recognized among top participants for outstanding performance in computer algorithms."}),w({title:"IELTS",subtitle:"Score: 8.5 \u2014 2024",body:"Achieved an 8.5 overall, with perfect scores in reading and listening."}),w({title:"SAT Superscore",subtitle:"Score: 1520 \u2014 2024",body:"Achieved a 1520 SAT superscore (780 Math, 740 Reading/Writing)."}),P("Education"),w({title:"B.S. in Artificial Intelligence & Mathematics",subtitle:"Purdue University, College of Science \u2014 August 2025 \u2013 Ongoing",body:"Double major in Artificial Intelligence and Mathematics. 4.0 GPA. Dean's List and Semester Honors recipient."}),w({title:"International Baccalaureate",subtitle:"European Azerbaijan School \u2014 2022 \u2013 2024",body:"IBDP Subjects: Math AA HL, Business Management HL, Computer Science HL, English A SL, Physics SL, Spanish AB Initio. MYP: 7/7 from M23 Personal Project."}),w({title:"Pre-College: Introduction to Machine Learning for Astronomy",subtitle:"Harvard University \u2014 June \u2013 July 2024, Boston, MA",body:"Applied machine learning algorithms to contemporary astronomical problems."}),w({title:"Pre-College: Data Science and Machine Learning 2",subtitle:"Columbia University \u2014 July \u2013 August 2024, New York, NY",body:"Advanced course on data science and machine learning using Python and statistical methods."}),w({title:"Physics for Scientists and Engineers: Mechanics",subtitle:"University of California, Los Angeles (UCLA) \u2014 August \u2013 September 2024, Online",body:"5-unit credit course covering fundamental mechanics for scientists and engineers."}),w({title:"Artificial Intelligence and Machine Learning",subtitle:"Stanford University \u2014 July \u2013 August 2023, Palo Alto, CA",body:"NVIDIA DLI program using the Jetson Nano; hands-on AI/ML projects."}),w({title:"AI Scholars Program",subtitle:"Inspirit AI \u2014 August 2023, Online",body:"Certificate program covering modern AI concepts and practical applications."})]}),D("projects",{title:"Projects",icon:"\u25A3",content:[P("Projects"),w({title:"TerminalTUI",subtitle:"Creator & Lead Developer \u2014 Developer Tool \u2014 2025",body:"A TypeScript framework for building interactive terminal user interfaces with 1,500+ downloads on npm. Converts declarative TypeScript into fully interactive TUI applications runnable via a single npx command. Features 30+ pre-built UI components, a 12-column responsive grid system, spatial arrow-key navigation, 10 color themes, an ASCII art engine, file-based routing, reactive state management, and form handling. Includes 2,185+ tests.",url:"https://www.npmjs.com/package/terminaltui",tags:["TypeScript","CLI","Framework"]}),w({title:"Adneural",subtitle:"Creator & Lead Developer \u2014 AI Project \u2014 2025",body:"A platform connecting computational neuroscience with social simulation for pre-launch advertising analysis. Predicts how ads will perform neurologically and socially before launch by combining Meta TRIBE v2 brain encoding (trained on 450 hours of fMRI data) with MiroFish/OASIS multi-agent social simulation (200 personality-diverse agents). Features Neo4j GraphRAG integrating 22 neuroscience papers, LangGraph diagnostic analysis, and Three.js brain visualization. Built with Next.js 15, React 19, FastAPI, and OpenRouter.",url:"https://github.com/OmarMusayev/Adneural",tags:["AI","Neuroscience","Next.js"]}),w({title:"Ushaqlarimiza Oyredek Website",subtitle:"Lead Developer \u2014 Web Development \u2014 2024",body:"Served as the Lead Developer for a youth-led NGO focused on providing education to underprivileged children and fostering a passion for learning among youth.",url:"https://ushaqlarimizaoyredek.com",tags:["Web Development"]}),w({title:"World Temperature Forecasting",subtitle:"Researcher & Developer \u2014 AI Project \u2014 2024",body:"Designed a time series model using LSTMs to predict global temperatures, aiding planning and combating climate change.",tags:["AI","LSTM","Time Series"]}),w({title:"AI Handwriting Generator",subtitle:"Developer \u2014 AI Project \u2014 May 2023",body:"A web application that generates realistic handwritten text using deep learning. Features two neural network approaches: a 3-layer LSTM with Gaussian attention for style transfer, and a 6-layer Transformer decoder that tokenizes strokes into polar coordinates. Users can draw on a canvas to capture their own handwriting style and generate personalized text. Built with PyTorch, FastAPI, and JavaScript.",url:"https://hand-magic.com",tags:["AI","Deep Learning","PyTorch"]}),w({title:"AI Jigsaw Puzzle Solver",subtitle:"Lead Developer \u2014 AI Project \u2014 Apr 2023",body:"Created an AI-driven jigsaw puzzle solver that automatically assembles pieces using computer vision techniques.",url:"https://tinyurl.com/PuzzleSolvers",tags:["AI","Computer Vision"]})]}),D("blogs",{title:"Blogs",icon:"\u2726",content:[P("Dev Logs"),w({title:"OmarAi Dev Log 1",subtitle:"September 8, 2024",body:"Starting on the journey to making an AI Large Language Model (LLM) that can replicate my speech",action:{navigate:"blog-1"}}),w({title:"OmarAi Dev Log 2",subtitle:"September 12, 2024",body:"Tinkering around with Omar AI to get better results",action:{navigate:"blog-2"}}),w({title:"OmarAi Dev Log 3",subtitle:"September 14, 2024",body:"Testing out the model",action:{navigate:"blog-3"}}),w({title:"OmarAi Dev Log 4",subtitle:"September 18, 2024",body:"Creating the UI",action:{navigate:"blog-4"}}),w({title:"OmarAi Dev Log 5",subtitle:"October 2, 2024",body:"The Launch",action:{navigate:"blog-5"}})]}),D("blog-1",{title:"OmarAi Dev Log 1",content:[k(`# OmarAi Dev Log 1
2
+ var Lu=(u,e)=>()=>(u&&(e=u(u=0)),e);var Ku=Lu(()=>{});var Ju=Lu(()=>{});var o8=Lu(()=>{Ku();Ju()});var Qu,L5,r8,O5,s8,i8,R5,a8,Zu=Lu(()=>{Qu=Object.defineProperty,L5=Object.getOwnPropertyDescriptor,r8=Object.getOwnPropertyNames,O5=Object.prototype.hasOwnProperty,s8=(u,e)=>function(){return u&&(e=(0,u[r8(u)[0]])(u=0)),e},i8=(u,e)=>{for(var t in e)Qu(u,t,{get:e[t],enumerable:!0})},R5=(u,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of r8(e))!O5.call(u,o)&&o!==t&&Qu(u,o,{get:()=>e[o],enumerable:!(n=L5(e,o))||n.enumerable});return u},a8=u=>R5(Qu({},"__esModule",{value:!0}),u)});var U2={name:"Larry 3D",height:9,chars:{A:[" ______ ","/\\ _ \\ ","\\ \\ \\L\\ \\ "," \\ \\ __ \\ "," \\ \\ \\/\\ \\ "," \\ \\_\\ \\_\\"," \\/_/\\/_/"," "," "],B:[" ____ ","/\\ _`\\ ","\\ \\ \\L\\ \\ "," \\ \\ _ <' "," \\ \\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],C:[" ____ ","/\\ _`\\ ","\\ \\ \\/\\_\\ "," \\ \\ \\/_/_ "," \\ \\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],D:[" ____ ","/\\ _`\\ ","\\ \\ \\/\\ \\ "," \\ \\ \\ \\ \\ "," \\ \\ \\_\\ \\"," \\ \\____/"," \\/___/ "," "," "],E:[" ____ ","/\\ _`\\ ","\\ \\ \\L\\_\\ "," \\ \\ _\\L "," \\ \\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],F:[" ____ ","/\\ _`\\ ","\\ \\ \\L\\_\\"," \\ \\ _\\/"," \\ \\ \\/ "," \\ \\_\\ "," \\/_/ "," "," "],G:[" ____ ","/\\ _`\\ ","\\ \\ \\L\\_\\ "," \\ \\ \\L_L "," \\ \\ \\/, \\"," \\ \\____/"," \\/___/ "," "," "],H:[" __ __ ","/\\ \\/\\ \\ ","\\ \\ \\_\\ \\ "," \\ \\ _ \\ "," \\ \\ \\ \\ \\ "," \\ \\_\\ \\_\\"," \\/_/\\/_/"," "," "],I:[" ______ ","/\\__ _\\ ","\\/_/\\ \\/ "," \\ \\ \\ "," \\_\\ \\__ "," /\\_____\\"," \\/_____/"," "," "],J:[" _____ ","/\\___ \\ ","\\/__/\\ \\ "," _\\ \\ \\ "," /\\ \\_\\ \\"," \\ \\____/"," \\/___/ "," "," "],K:[" __ __ ","/\\ \\/\\ \\ ","\\ \\ \\/'/' "," \\ \\ , < "," \\ \\ \\\\`\\ "," \\ \\_\\ \\_\\"," \\/_/\\/_/"," "," "],L:[" __ ","/\\ \\ ","\\ \\ \\ "," \\ \\ \\ __ "," \\ \\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],M:[" "," /'\\_/`\\ ","/\\ \\ ","\\ \\ \\__\\ \\ "," \\ \\ \\_/\\ \\ "," \\ \\_\\\\ \\_\\"," \\/_/ \\/_/"," "," "],N:[" __ __ ","/\\ \\/\\ \\ ","\\ \\ `\\\\ \\ "," \\ \\ , ` \\ "," \\ \\ \\`\\ \\ "," \\ \\_\\ \\_\\"," \\/_/\\/_/"," "," "],O:[" _____ ","/\\ __`\\ ","\\ \\ \\/\\ \\ "," \\ \\ \\ \\ \\ "," \\ \\ \\_\\ \\ "," \\ \\_____\\"," \\/_____/"," "," "],P:[" ____ ","/\\ _`\\ ","\\ \\ \\L\\ \\"," \\ \\ ,__/"," \\ \\ \\/ "," \\ \\_\\ "," \\/_/ "," "," "],Q:[" _____ ","/\\ __`\\ ","\\ \\ \\/\\ \\ "," \\ \\ \\ \\ \\ "," \\ \\ \\\\'\\\\ "," \\ \\___\\_\\"," \\/__//_/"," "," "],R:[" ____ ","/\\ _`\\ ","\\ \\ \\L\\ \\ "," \\ \\ , / "," \\ \\ \\\\ \\ "," \\ \\_\\ \\_\\"," \\/_/\\/ /"," "," "],S:[" ____ ","/\\ _`\\ ","\\ \\,\\L\\_\\ "," \\/_\\__ \\ "," /\\ \\L\\ \\ "," \\ `\\____\\"," \\/_____/"," "," "],T:[" ______ ","/\\__ _\\ ","\\/_/\\ \\/ "," \\ \\ \\ "," \\ \\ \\ "," \\ \\_\\"," \\/_/"," "," "],U:[" __ __ ","/\\ \\/\\ \\ ","\\ \\ \\ \\ \\ "," \\ \\ \\ \\ \\ "," \\ \\ \\_\\ \\ "," \\ \\_____\\"," \\/_____/"," "," "],V:[" __ __ ","/\\ \\/\\ \\ ","\\ \\ \\ \\ \\ "," \\ \\ \\ \\ \\ "," \\ \\ \\_/ \\"," \\ `\\___/"," `\\/__/ "," "," "],W:[" __ __ ","/\\ \\ __/\\ \\ ","\\ \\ \\/\\ \\ \\ \\ "," \\ \\ \\ \\ \\ \\ \\ "," \\ \\ \\_/ \\_\\ \\"," \\ `\\___x___/"," '\\/__//__/ "," "," "],X:[" __ __ ","/\\ \\ /\\ \\ ","\\ `\\`\\/'/' "," `\\/ > < "," \\/'/\\`\\ "," /\\_\\\\ \\_\\"," \\/_/ \\/_/"," "," "],Y:[" __ __ ","/\\ \\ /\\ \\","\\ `\\`\\\\/'/"," `\\ `\\ /' "," `\\ \\ \\ "," \\ \\_\\"," \\/_/"," "," "],Z:[" ________ ","/\\_____ \\ ","\\/____//'/' "," //'/' "," //'/'___ "," /\\_______\\"," \\/_______/"," "," "],0:[" __ "," /'__`\\ ","/\\ \\/\\ \\ ","\\ \\ \\ \\ \\ "," \\ \\ \\_\\ \\"," \\ \\____/"," \\/___/ "," "," "],1:[" _ "," /' \\ ","/\\_, \\ ","\\/_/\\ \\ "," \\ \\ \\ "," \\ \\_\\"," \\/_/"," "," "],2:[" ___ "," /'___`\\ ","/\\_\\ /\\ \\ ","\\/_/// /__ "," // /_\\ \\"," /\\______/"," \\/_____/ "," "," "],3:[" __ "," /'__`\\ ","/\\_\\L\\ \\ ","\\/_/_\\_<_ "," /\\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],4:[" __ __ ","/\\ \\\\ \\ ","\\ \\ \\\\ \\ "," \\ \\ \\\\ \\_ "," \\ \\__ ,__\\"," \\/_/\\_\\_/"," \\/_/ "," "," "],5:[" ______ ","/\\ ___\\ ","\\ \\ \\__/ "," \\ \\___``\\ "," \\/\\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],6:[" ____ "," /'___\\ ","/\\ \\__/ ","\\ \\ _``\\ "," \\ \\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],7:[" ________ ","/\\_____ \\","\\/___//'/'"," /' /' "," /' /' "," /\\_/ "," \\// "," "," "],8:[" __ "," /'_ `\\ ","/\\ \\L\\ \\ ","\\/_> _ <_ "," /\\ \\L\\ \\"," \\ \\____/"," \\/___/ "," "," "],9:[" __ "," /'_ `\\ ","/\\ \\L\\ \\ ","\\ \\___, \\ "," \\/__,/\\ \\ "," \\ \\_\\"," \\/_/"," "," "]," ":[" "," "," "," "," "," "," "," "," "],"!":[" __ ","/\\ \\ ","\\ \\ \\ "," \\ \\ \\ "," \\ \\_\\ "," \\/\\_\\"," \\/_/"," "," "],'"':[" __ __ ","/\\ \\\\ \\ ","\\ \\_\\\\_\\ "," \\/_//_/ "," "," "," "," "," "],"#":[" __ __ "," _\\ \\\\ \\__ ","/\\__ _ _\\ ","\\/_L\\ \\\\ \\L_ "," /\\_ _ _\\"," \\/_/\\_\\\\_\\/"," \\/_//_/ "," "," "],$:[" __ ","/\\ \\_ ","\\/'__`\\ ","/\\ \\_\\_\\ ","\\ \\____ \\ "," \\/\\ \\_\\ \\"," \\ `\\_ _/"," `\\_/\\_\\"," \\/_/"],"%":[" __ __ ","/\\_\\ / / ","\\/_/ / / "," / / "," / / __ "," /_/ /\\_\\"," /_/ \\/_/"," "," "],"&":[" ____ ","/| _ \\ ","|/\\ | "," \\// __`\\/\\ "," /| \\L> <_"," | \\_____/\\/"," \\/____/\\/ "," "," "],"'":[" __ ","/\\ \\ ","\\ \\/ "," \\/ "," "," "," "," "," "],"(":[" _ "," /' \\ ","/\\ ,/' ","\\ \\ \\ "," \\ \\ `\\ "," \\ `\\__\\"," `\\/_/ "," "," "],")":[" __ ","/\\ `\\ ","\\`\\ \\ "," `\\`\\ \\ "," `\\/' \\"," /\\__/"," \\/_/ "," "," "],"*":[" __ "," _\\ \\ _ ","/\\_` ' \\ ","\\/_> <_ "," /\\_, ,_\\"," \\/_/\\_\\/"," \\/_/ "," "," "],"+":[" __ "," /\\ \\ "," \\_\\ \\___ ","/\\___ __\\","\\/__/\\ \\_/"," \\ \\_\\ "," \\/_/ "," "," "],",":[" "," "," "," "," __ ","/\\ \\","\\ \\/"," \\/ "," "],"-":[" "," "," "," _______ ","/\\______\\","\\/______/"," "," "," "],".":[" "," "," "," "," __ ","/\\_\\","\\/_/"," "," "],"/":[" __"," / /"," / / "," / / "," / / "," /_/ ","/_/ "," "," "],":":[" "," "," __ ","/\\_\\ ","\\/_/_ "," /\\_\\"," \\/_/"," "," "],";":[" "," "," __ ","/\\_\\ ","\\/_/_ "," /\\ \\"," \\ \\/"," \\/ "," "],"<":[" ___ "," / / "," / / ","/< < ","\\ `\\ `\\ "," `\\ `\\_|"," `\\// "," "," "],"=":[" "," _______ ","/\\______\\ ","\\/______/_ "," /\\______\\"," \\/______/"," "," "," "],">":[" __ ","/\\ `\\ ","\\ `\\ `\\ "," `\\ > >"," / / "," /\\_/ "," \\// "," "," "],"?":[" _ "," /'_`\\ ","/\\_\\/\\`\\","\\/_//'/'"," /\\_\\ "," \\/\\_\\"," \\/_/"," "," "],"@":[" "," __ "," /'_`\\_ "," /'/'_` \\ ","/\\ \\ \\L\\ \\ ","\\ \\ `\\__,_\\"," \\ `\\_____\\"," `\\/_____/"," "],"[":[" ____ ","/\\ _\\ ","\\ \\ \\/ "," \\ \\ \\ "," \\ \\ \\_ "," \\ \\___\\"," \\/___/"," "," "],"\\":[" __ ","/\\ `\\ ","\\`\\ `\\ ","`\\`\\ `\\ "," `\\`\\ `\\ "," `\\`\\__\\"," `\\/__/"," "," "],"]":[" ____ ","/\\__ \\ ","\\/_/\\ \\ "," \\ \\ \\ "," \\_\\ \\ "," /\\___\\"," \\/___/"," "," "],"^":[" __ "," / `\\ ","/\\_/\\_\\ ","\\//\\// "," "," "," "," "," "],_:[" "," "," "," "," "," "," _______ "," /\\______\\"," \\/______/"],"{":[" _ "," /' \\"," \\ ,/'"," <' \\ ","< \\ `\\ "," \\`\\__\\"," \\/__/"," "," "],"|":[" __ ","/\\ \\ ","\\ \\ \\ "," \\ \\ \\ "," \\ \\ \\ "," \\ \\ \\ "," \\ \\ \\ "," \\ \\_\\"," \\/_/"],"}":[" __ ","/\\ `\\ ","\\`\\ \\ "," \\ \\ `>"," //' \\ ","/\\__/' ","\\/_/ "," "," "],"~":[" _ _ "," /' \\/' \\ ","/\\_/\\__// ","\\//\\/__/ "," "," "," "," "," "]}};var G2={name:"Colossal",height:11,chars:{A:[" d8888 "," d88888 "," d88P888 "," d88P 888 "," d88P 888 "," d88P 888 "," d8888888888 ","d88P 888 "," "," "," "],B:["888888b. ",'888 "88b ',"888 .88P ","8888888K. ",'888 "Y88b ',"888 888 ","888 d88P ",'8888888P" '," "," "," "],C:[" .d8888b. ","d88P Y88b ","888 888 ","888 ","888 ","888 888 ","Y88b d88P ",' "Y8888P" '," "," "," "],D:["8888888b. ",'888 "Y88b ',"888 888 ","888 888 ","888 888 ","888 888 ","888 .d88P ",'8888888P" '," "," "," "],E:["8888888888 ","888 ","888 ","8888888 ","888 ","888 ","888 ","8888888888 "," "," "," "],F:["8888888888 ","888 ","888 ","8888888 ","888 ","888 ","888 ","888 "," "," "," "],G:[" .d8888b. ","d88P Y88b ","888 888 ","888 ","888 88888 ","888 888 ","Y88b d88P ",' "Y8888P88 '," "," "," "],H:["888 888 ","888 888 ","888 888 ","8888888888 ","888 888 ","888 888 ","888 888 ","888 888 "," "," "," "],I:["8888888 "," 888 "," 888 "," 888 "," 888 "," 888 "," 888 ","8888888 "," "," "," "],J:[" 888888 ",' "88b '," 888 "," 888 "," 888 "," 888 "," 88P "," 888 "," .d88P ",' .d88P" ','888P" '],K:["888 d8P ","888 d8P ","888 d8P ","888d88K ","8888888b ","888 Y88b ","888 Y88b ","888 Y88b "," "," "," "],L:["888 ","888 ","888 ","888 ","888 ","888 ","888 ","88888888 "," "," "," "],M:["888b d888 ","8888b d8888 ","88888b.d88888 ","888Y88888P888 ","888 Y888P 888 ","888 Y8P 888 ",'888 " 888 ',"888 888 "," "," "," "],N:["888b 888 ","8888b 888 ","88888b 888 ","888Y88b 888 ","888 Y88b888 ","888 Y88888 ","888 Y8888 ","888 Y888 "," "," "," "],O:[" .d88888b. ",'d88P" "Y88b ',"888 888 ","888 888 ","888 888 ","888 888 ","Y88b. .d88P ",' "Y88888P" '," "," "," "],P:["8888888b. ","888 Y88b ","888 888 ","888 d88P ",'8888888P" ',"888 ","888 ","888 "," "," "," "],Q:[" .d88888b. ",'d88P" "Y88b ',"888 888 ","888 888 ","888 888 ","888 Y8b 888 ","Y88b.Y8b88P ",' "Y888888" '," Y8b "," "," "],R:["8888888b. ","888 Y88b ","888 888 ","888 d88P ",'8888888P" ',"888 T88b ","888 T88b ","888 T88b "," "," "," "],S:[" .d8888b. ","d88P Y88b ","Y88b. ",' "Y888b. ',' "Y88b. ',' "888 ',"Y88b d88P ",' "Y8888P" '," "," "," "],T:["88888888888 "," 888 "," 888 "," 888 "," 888 "," 888 "," 888 "," 888 "," "," "," "],U:["888 888 ","888 888 ","888 888 ","888 888 ","888 888 ","888 888 ","Y88b. .d88P ",' "Y88888P" '," "," "," "],V:["888 888 ","888 888 ","888 888 ","Y88b d88P "," Y88b d88P "," Y88o88P "," Y888P "," Y8P "," "," "," "],W:["888 888 ","888 o 888 ","888 d8b 888 ","888 d888b 888 ","888d88888b888 ","88888P Y88888 ","8888P Y8888 ","888P Y888 "," "," "," "],X:["Y88b d88P "," Y88b d88P "," Y88o88P "," Y888P "," d888b "," d88888b "," d88P Y88b ","d88P Y88b "," "," "," "],Y:["Y88b d88P "," Y88b d88P "," Y88o88P "," Y888P "," 888 "," 888 "," 888 "," 888 "," "," "," "],Z:["8888888888P "," d88P "," d88P "," d88P "," d88P "," d88P "," d88P ","d8888888888 "," "," "," "],0:[" .d8888b. ","d88P Y88b ","888 888 ","888 888 ","888 888 ","888 888 ","Y88b d88P ",' "Y8888P" '," "," "," "],1:[" d888 ","d8888 "," 888 "," 888 "," 888 "," 888 "," 888 ","8888888 "," "," "," "],2:[" .d8888b. ","d88P Y88b "," 888 "," .d88P ",' .od888P" ','d88P" ','888" ',"888888888 "," "," "," "],3:[" .d8888b. ","d88P Y88b "," .d88P ",' 8888" ',' "Y8b. ',"888 888 ","Y88b d88P ",' "Y8888P" '," "," "," "],4:[" d8888 "," d8P888 "," d8P 888 "," d8P 888 ","d88 888 ","8888888888 "," 888 "," 888 "," "," "," "],5:["888888888 ","888 ","888 ","8888888b. ",' "Y88b '," 888 ","Y88b d88P ",' "Y8888P" '," "," "," "],6:[" .d8888b. ","d88P Y88b ","888 ","888d888b. ",'888P "Y88b ',"888 888 ","Y88b d88P ",' "Y8888P" '," "," "," "],7:["8888888888 "," d88P "," d88P "," d88P "," 88888888 "," d88P "," d88P ","d88P "," "," "," "],8:[" .d8888b. ","d88P Y88b ","Y88b. d88P ",' "Y88888" ','.d8P""Y8b. ',"888 888 ","Y88b d88P ",' "Y8888P" '," "," "," "],9:[" .d8888b. ","d88P Y88b ","888 888 ","Y88b. d888 ",' "Y888P888 '," 888 ","Y88b d88P ",' "Y8888P" '," "," "," "]," ":[" "," "," "," "," "," "," "," "," "," "," "],"!":["888 ","888 ","888 ","888 ","888 ","Y8P ",' " ',"888 "," "," "," "],'"':["88 88 ","8P 8P ",'" " '," "," "," "," "," "," "," "," "],"#":[" 888 888 "," 888 888 ","888888888888 "," 888 888 "," 888 888 ","888888888888 "," 888 888 "," 888 888 "," "," "," "],$:[" 88 "," .d88888b. ",'d88P 88"88b ',"Y88b.88 ",' "Y88888b. ',' 88"88b ',"Y88b 88.88P ",' "Y88888P" '," 88 "," "," "],"%":["d88b d88P ","Y88P d88P "," d88P "," d88P "," d88P "," d88P "," d88P d88b ","d88P Y88P "," "," "," "],"&":[" .d8888b. ",'d88P "88b ',"Y88b. d88P ",' "Y8888P" ',".d88P88K.d88P ",'888" Y888P" ',"Y88b .d8888b ",' "Y8888P" Y88b'," "," "," "],"'":["d8b ","88P ","8P ",'" '," "," "," "," "," "," "," "],"(":[" .d88 ",' d88P" ',"d88P ","888 ","888 ","Y88b "," Y88b. ",' "Y88 '," "," "," "],")":["88b. ",'"Y88b '," Y88b "," 888 "," 888 "," d88P ",".d88P ",'88P" '," "," "," "],"*":[" "," o "," d8b "," d888b ",'"Y888888888P"',' "Y88888P" ',' d88P"Y88b ',' dP" "Yb '," "," "," "],"+":[" "," "," "," 888 ","8888888 "," 888 "," "," "," "," "," "],",":[" "," "," "," "," "," ","d8b ","88P ","8P ",'" '," "],"-":[" "," "," "," "," ","888888 "," "," "," "," "," "],".":[" "," "," "," "," "," ","d8b ","Y8P "," "," "," "],"/":[" d88P "," d88P "," d88P "," d88P "," d88P "," d88P "," d88P ","d88P "," "," "," "],":":[" "," "," ","d8b ","Y8P "," ","d8b ","Y8P "," "," "," "],";":[" "," "," ","d8b ","Y8P "," ","d8b ","88P ","8P ",'" '," "],"<":[" d88P "," d88P "," d88P ","d88P ","Y88b "," Y88b "," Y88b "," Y88b "," "," "," "],"=":[" "," "," ","888888 "," ","888888 "," "," "," "," "," "],">":["Y88b "," Y88b "," Y88b "," Y88b "," d88P "," d88P "," d88P ","d88P "," "," "," "],"?":[" .d8888b. ","d88P Y88b "," .d88P ",' .d88P" ',' 888" '," 888 "," "," 888 "," "," "," "],"@":[" .d8888888b. ",'d88P" "Y88b ',"888 d8b 888 ","888 888 888 ","888 888bd88P ",'888 Y8888P" ',"Y88b. .d8 ",' "Y88888888P" '," "," "," "],"[":["8888888 ","888 ","888 ","888 ","888 ","888 ","888 ","8888888 "," "," "," "],"\\":["Y88b "," Y88b "," Y88b "," Y88b "," Y88b "," Y88b "," Y88b "," Y88b "," "," "," "],"]":["8888888 "," 888 "," 888 "," 888 "," 888 "," 888 "," 888 ","8888888 "," "," "," "],"^":[" o "," d8b "," d888b ",' d8P"Y8b '," "," "," "," "," "," "," "],_:[" "," "," "," "," "," "," ","88888888 "," "," "," "],"{":[" .d888 ",' d88P" '," 888 ",".888 ","888( ",'"888 '," 888 "," Y88b. ",' "Y888 '," "," "],"|":[" 888 "," 888 "," 888 "," 888 "," "," 888 "," 888 "," 888 "," 888 "," "," "],"}":["888b. ",' "Y88b '," 888 "," 888. "," )888 ",' 888" '," 888 "," .d88P ",'888P" '," "," "],"~":[" "," "," d888b d88 ","d888888888P ","88P Y888P "," "," "," "," "," "," "]}};var V2={name:"Isometric1",height:11,chars:{A:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /::\\~\\:\\ \\ "," /:/\\:\\ \\:\\__\\"," \\/__\\:\\/:/ /"," \\::/ / "," /:/ / "," /:/ / "," \\/__/ "],B:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /::\\~\\:\\__\\ "," /:/\\:\\ \\:|__|"," \\:\\~\\:\\/:/ /"," \\:\\ \\::/ / "," \\:\\/:/ / "," \\::/__/ "," ~~ "],C:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /:/ \\:\\ \\ "," /:/__/ \\:\\__\\"," \\:\\ \\ \\/__/"," \\:\\ \\ "," \\:\\ \\ "," \\:\\__\\ "," \\/__/ "],D:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /:/ \\:\\__\\ "," /:/__/ \\:|__|"," \\:\\ \\ /:/ /"," \\:\\ /:/ / "," \\:\\/:/ / "," \\::/__/ "," ~~ "],E:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /::\\~\\:\\ \\ "," /:/\\:\\ \\:\\__\\"," \\:\\~\\:\\ \\/__/"," \\:\\ \\:\\__\\ "," \\:\\ \\/__/ "," \\:\\__\\ "," \\/__/ "],F:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /::\\~\\:\\ \\ "," /:/\\:\\ \\:\\__\\"," \\/__\\:\\ \\/__/"," \\:\\__\\ "," \\/__/ "," "," "],G:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /:/ \\:\\ \\ "," /:/__/_\\:\\__\\"," \\:\\ /\\ \\/__/"," \\:\\ \\:\\__\\ "," \\:\\/:/ / "," \\::/ / "," \\/__/ "],H:[" ___ "," /\\__\\ "," /:/ / "," /:/__/ "," /::\\ \\ ___ "," /:/\\:\\ /\\__\\"," \\/__\\:\\/:/ /"," \\::/ / "," /:/ / "," /:/ / "," \\/__/ "],I:[" "," ___ "," /\\ \\ "," \\:\\ \\ "," /::\\__\\"," __/:/\\/__/"," /\\/:/ / "," \\::/__/ "," \\:\\__\\ "," \\/__/ "," "],J:[" ___ "," /\\ \\ "," \\:\\ \\ "," ___ /::\\__\\"," /\\ /:/\\/__/"," \\:\\/:/ / "," \\::/ / "," \\/__/ "," "," "," "],K:[" ___ "," /\\__\\ "," /:/ / "," /:/__/ "," /::\\__\\____ "," /:/\\:::::\\__\\"," \\/_|:|~~|~ "," |:| | "," |:| | "," |:| | "," \\|__| "],L:[" ___ "," /\\__\\"," /:/ /"," /:/ / "," /:/ / "," /:/__/ "," \\:\\ \\ "," \\:\\ \\ "," \\:\\ \\ "," \\:\\__\\"," \\/__/"],M:[" ___ "," /\\__\\ "," /::| | "," /:|:| | "," /:/|:|__|__ "," /:/ |::::\\__\\"," \\/__/~~/:/ /"," /:/ / "," /:/ / "," /:/ / "," \\/__/ "],N:[" ___ "," /\\__\\ "," /::| | "," /:|:| | "," /:/|:| |__ "," /:/ |:| /\\__\\"," \\/__|:|/:/ /"," |:/:/ / "," |::/ / "," /:/ / "," \\/__/ "],O:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /:/ \\:\\ \\ "," /:/__/ \\:\\__\\"," \\:\\ \\ /:/ /"," \\:\\ /:/ / "," \\:\\/:/ / "," \\::/ / "," \\/__/ "],P:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /::\\~\\:\\ \\ "," /:/\\:\\ \\:\\__\\"," \\/__\\:\\/:/ /"," \\::/ / "," \\/__/ "," "," "],Q:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," \\:\\~\\:\\ \\ "," \\:\\ \\:\\__\\"," \\:\\/:/ /"," \\::/ / "," /:/ / "," /:/ / "," \\/__/ "],R:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\:\\ \\ "," /::\\~\\:\\ \\ "," /:/\\:\\ \\:\\__\\"," \\/_|::\\/:/ /"," |:|::/ / "," |:|\\/__/ "," |:| | "," \\|__| "],S:[" ___ "," /\\ \\ "," /::\\ \\ "," /:/\\ \\ \\ "," _\\:\\~\\ \\ \\ "," /\\ \\:\\ \\ \\__\\"," \\:\\ \\:\\ \\/__/"," \\:\\ \\:\\__\\ "," \\:\\/:/ / "," \\::/ / "," \\/__/ "],T:[" ___ "," /\\ \\ "," \\:\\ \\ "," \\:\\ \\ "," /::\\ \\ "," /:/\\:\\__\\"," /:/ \\/__/"," /:/ / "," \\/__/ "," "," "],U:[" ___ "," /\\__\\ "," /:/ / "," /:/ / "," /:/ / ___ "," /:/__/ /\\__\\"," \\:\\ \\ /:/ /"," \\:\\ /:/ / "," \\:\\/:/ / "," \\::/ / "," \\/__/ "],V:[" ___ "," /\\__\\ "," /:/ / "," /:/ / "," /:/__/ ___ "," |:| | /\\__\\"," |:| |/:/ /"," |:|__/:/ / "," \\::::/__/ "," ~~~~ "," "],W:[" ___ "," /\\__\\ "," /:/ _/_ "," /:/ /\\__\\ "," /:/ /:/ _/_ "," /:/_/:/ /\\__\\"," \\:\\/:/ /:/ /"," \\::/_/:/ / "," \\:\\/:/ / "," \\::/ / "," \\/__/ "],X:[" ___ "," |\\__\\ "," |:| | "," |:| | "," |:|__|__ "," ____/::::\\__\\"," \\::::/~~/~ "," ~~|:|~~| "," |:| | "," |:| | "," \\|__| "],Y:[" ___ "," |\\__\\ "," |:| | "," |:| | "," |:|__|__ "," /::::\\__\\"," /:/~~/~ "," /:/ / "," \\/__/ "," "," "],Z:[" ___ "," /\\ \\ "," \\:\\ \\ "," \\:\\ \\ "," \\:\\ \\ "," _______\\:\\__\\"," \\::::::::/__/"," \\:\\~~\\~~ "," \\:\\ \\ "," \\:\\__\\ "," \\/__/ "],0:[" "," "," "," "," "," "," "," "," "," "," "],1:[" "," "," "," "," "," "," "," "," "," "," "],2:[" "," "," "," "," "," "," "," "," "," "," "],3:[" "," "," "," "," "," "," "," "," "," "," "],4:[" "," "," "," "," "," "," "," "," "," "," "],5:[" "," "," "," "," "," "," "," "," "," "," "],6:[" "," "," "," "," "," "," "," "," "," "," "],7:[" "," "," "," "," "," "," "," "," "," "," "],8:[" "," "," "," "," "," "," "," "," "," "," "],9:[" "," "," "," "," "," "," "," "," "," "," "]," ":[" "," "," "," "," "," "," "," "," "," "," "],"!":[" "," "," "," "," "," "," "," "," "," "," "],"-":[" "," "," "," "," "," "," "," "," "," "," "],".":[" "," "," "," "," "," "," "," "," "," "," "],":":[" "," "," "," "," "," "," "," "," "," "," "],"[":[" ___ "," /\\ \\ "," /::\\ \\ "," /::::\\ \\ "," /::::::\\ \\ "," /:::LS:::\\__\\"," \\::1994::/ /"," \\::::::/ / "," \\::::/ / "," \\::/ / "," \\/__/ "],_:[" "," "," "," "," "," "," "," "," "," "," "]}};var q2={name:"DOS Rebel",height:10,chars:{A:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 "," "," "],B:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],C:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 \u2591\u2591\u2591 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588"," \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],D:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],E:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588"," \u2591\u2588\u2588\u2588 \u2588 \u2591 "," \u2591\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2588 "," \u2591\u2588\u2588\u2588 \u2591 \u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],F:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2588"," \u2591\u2588\u2588\u2588 \u2588 \u2591 "," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2588 "," \u2591\u2588\u2588\u2588 \u2591 "," \u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2591\u2591\u2591 "," "," "],G:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 \u2591\u2591\u2591 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],H:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 "," "," "],I:[" \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 "," "," "],J:[" \u2588\u2588\u2588\u2588\u2588"," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],K:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2591 "," \u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591 "," "," "],L:[" \u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],M:[" \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2591\u2591 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 "," "," "],N:[" \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 "," "," "],O:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],P:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2591\u2591\u2591 "," "," "],Q:[" \u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2588\u2588\u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588"," \u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591 "," "," "],R:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 "," "," "],S:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2591\u2591 ","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],T:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2588\u2591\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2588","\u2591 \u2591\u2588\u2588\u2588 \u2591 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591 "," "," "],U:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],V:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591 "," "," "],W:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591 \u2591\u2591\u2591 "," "," "],X:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 "," "," "],Y:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591 "," "," "],Z:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 ","\u2591 \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588 "," \u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588 \u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],0:[" \u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],1:[" \u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 "," "," "],2:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 \u2591\u2588\u2588\u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591 "," \u2588\u2588\u2588 \u2588","\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],3:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 \u2591\u2588\u2588\u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],4:[" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2588"," \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588"," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588\u2591\u2588"," \u2591\u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591 "," "," "],5:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2588","\u2591\u2588\u2588\u2588 \u2591 ","\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],6:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2591\u2591 ","\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],7:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 \u2588\u2588\u2588 "," \u2588\u2588\u2588 "," \u2588\u2588\u2588 "," \u2588\u2588\u2588 "," \u2588\u2588\u2588 "," \u2591\u2591\u2591 "," "," "],8:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],9:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588"," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "]," ":[" "," "," "," "," "," "," "," "," "," "],"!":[" \u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 "," \u2588\u2588\u2588","\u2591\u2591\u2591 "," "," "],'"':[" \u2588\u2588 \u2588\u2588","\u2591\u2588\u2588\u2591\u2588\u2588","\u2591\u2591 \u2591\u2591 "," "," "," "," "," "," "," "],"#":[" \u2588\u2588\u2588 \u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2591 \u2591\u2591\u2591 "," "," "," "," "],$:[" \u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591 "," \u2591\u2591\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591 "," "," "],"%":[" \u2588\u2588\u2588 \u2588\u2588\u2588"," \u2591\u2591\u2591 \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 \u2588\u2588\u2588 ","\u2591\u2591\u2591 \u2591\u2591\u2591 "," "," "],"&":[" \u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588\u2588"," \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591 "," "," "],"'":[" \u2588\u2588"," \u2588\u2588\u2588","\u2591\u2591\u2591 "," "," "," "," "," "," "," "],"(":[" \u2588\u2588\u2588"," \u2588\u2588\u2588 "," \u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588"," \u2591\u2591\u2591 "," "," "],")":[" \u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588"," \u2588\u2588\u2588 "," \u2588\u2588\u2591 ","\u2591\u2591\u2591 "," "," "],"*":[" \u2588\u2588\u2588 "," \u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2588\u2588\u2588","\u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 \u2591\u2588\u2588\u2588 \u2591\u2591\u2591 "," \u2591\u2591\u2591 "," "," "],"+":[" "," \u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591 "," \u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591 "," "," "," "],",":[" "," "," "," "," "," "," \u2588\u2588"," \u2588\u2588 ","\u2591\u2591 "," "],"-":[" "," "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "," "," "," "],".":[" "," "," "," "," "," "," \u2588\u2588","\u2591\u2591 "," "," "],"/":[" \u2588\u2588\u2588"," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 ","\u2591\u2591\u2591 "," "," "],":":[" "," "," \u2588\u2588","\u2591\u2591 "," "," "," \u2588\u2588","\u2591\u2591 "," "," "],";":[" "," "," "," "," \u2588\u2588"," \u2591\u2591 "," \u2588\u2588"," \u2588\u2588 ","\u2591\u2591 "," "],"<":[" \u2588\u2588\u2588"," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 ","\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588"," \u2591\u2591\u2591 "," "," "],"=":[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "," "," "],">":[" \u2588\u2588\u2588 ","\u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 "," \u2588\u2588\u2588\u2591 ","\u2591\u2591\u2591 "," "," "],"?":[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 \u2591\u2588\u2588\u2588"," \u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2588\u2588\u2588\u2591\u2591\u2591 "," \u2591\u2591\u2591 "," \u2588\u2588\u2588 "," \u2591\u2591\u2591 "," "," "],"@":[" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591 ","\u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588\u2591\u2591\u2591 \u2591\u2588\u2588\u2588","\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "," \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],"[":[" \u2588\u2588\u2588\u2588\u2588","\u2591\u2588\u2588\u2588\u2591 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588 ","\u2591\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 "," "," "],"\\":[" \u2588\u2588\u2588 ","\u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588"," \u2591\u2591\u2591 "," "," "],"]":[" \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588"," \u2591\u2588\u2588\u2588"," \u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591 "," "," "],"^":[" \u2588\u2588 "," \u2588\u2588\u2588\u2588 "," \u2588\u2588\u2591\u2591\u2588\u2588","\u2591\u2591 \u2591\u2591 "," "," "," "," "," "," "],_:[" "," "," "," "," "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "," "," "],"{":[" \u2588\u2588\u2588"," \u2588\u2588\u2591 "," \u2588\u2588 "," \u2588\u2588\u2588 ","\u2591\u2591\u2591\u2588\u2588 "," \u2591\u2591\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588"," \u2591\u2591\u2591 "," "," "],"|":[" \u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2588\u2588\u2588","\u2591\u2591\u2591 "," "," "],"}":[" \u2588\u2588\u2588 ","\u2591\u2591\u2591\u2588\u2588 "," \u2591\u2591\u2588\u2588 "," \u2591\u2591\u2588\u2588\u2588"," \u2588\u2588\u2591 "," \u2588\u2588 "," \u2588\u2588\u2588 ","\u2591\u2591\u2591 "," "," "],"~":[" "," \u2588\u2588\u2588 \u2588\u2588\u2588"," \u2588\u2588\u2588\u2591\u2588\u2588\u2588\u2591 ","\u2591\u2591\u2591 \u2591\u2591\u2591 "," "," "," "," "," "," "]}};var K2={name:"Ghost",height:9,chars:{A:[" ('-. "," ( OO ).-. "," / . --. / "," | \\-. \\ ",".-'-' | | "," \\| |_.' | "," | .-. | "," | | | | "," `--' `--' "],B:[".-. .-') ","\\ ( OO ) "," ;-----.\\ "," | .-. | "," | '-' /_) "," | .-. `. "," | | \\ | "," | '--' / "," `------' "],C:[" "," "," .-----. "," ' .--./ "," | |('-. "," /_) |OO ) "," || |`-'| ","(_' '--'\\ "," `-----' "],D:[" _ .-') _ ","( ( OO) ) "," \\ .'_ "," ,`'--..._) "," | | \\ ' "," | | ' | "," | | / : "," | '--' / "," `-------' "],E:[" ('-. "," _( OO) ","(,------. "," | .---' "," | | ","(| '--. "," | .--' "," | `---. "," `------' "],F:[" "," "," ,------. ","('-| _.---' ","(OO|(_\\ ","/ | '--. ","\\_)| .--' "," \\| |_) "," `--' "],G:[" "," "," ,----. "," ' .-./-') "," | |_( O- ) "," | | .--, \\ ","(| | '. (_/ "," | '--' | "," `------' "],H:[" ('-. .-. ","( OO ) / ",",--. ,--. ","| | | | ","| .| | ","| | ","| .-. | ","| | | | ","`--' `--' "],I:[" "," "," ,-.-') "," | |OO) "," | | \\ "," | |(_/ "," ,| |_.' ","(_| | "," `--' "],J:[" "," "," ,--. "," .-')| ,| ","( OO |(_| ","| `-'| | ",",--. | | ","| '-' / "," `-----' "],K:[".-. .-') ","\\ ( OO ) ",",--. ,--. ","| .' / ","| /, ","| ' _) ","| . \\ ","| |\\ \\ ","`--' '--' "],L:[" "," "," ,--. "," | |.-') "," | | OO ) "," | |`-' | ","(| '---.' "," | | "," `------' "],M:[" _ .-') ","( '.( OO )_ "," ,--. ,--.)"," | `.' | "," | | "," | |'.'| | "," | | | | "," | | | | "," `--' `--' "],N:[" .-') _ "," ( OO ) ) ",",--./ ,--,' ","| \\ | |\\ ","| \\| | ) ","| . |/ ","| |\\ | ","| | \\ | ","`--' `--' "],O:[" "," "," .-'),-----. ","( OO' .-. '","/ | | | |","\\_) | |\\| |"," \\ | | | |"," `' '-' '"," `-----' "],P:[" _ (`-. "," ( (OO ) "," _.` \\ ","(__...--'' "," | / | | "," | |_.' | "," | .___.' "," | | "," `--' "],Q:[" .-') "," .( OO) "," (_)---\\_) "," ' .-. ' "," ,| | | | ","(_| | | | "," | | | | "," ' '-' '-."," `-----'--'"],R:[" _ .-') ","( \\( -O ) "," ,------. "," | /`. ' "," | / | | "," | |_.' | "," | . '.' "," | |\\ \\ "," `--' '--' "],S:[" .-') "," ( OO ). ","(_)---\\_) ","/ _ | ","\\ :` `. "," '..`''.) ",".-._) \\ ","\\ / "," `-----' "],T:[" .-') _ ","( OO) ) ","/ '._ ","|'--...__) ","'--. .--' "," | | "," | | "," | | "," `--' "],U:[" "," "," ,--. ,--. "," | | | | "," | | | .-') "," | |_|( OO )"," | | | `-' /","(' '-'(_.-' "," `-----' "],V:[" (`-. "," _(OO )_ ",",--(_/ ,. \\","\\ \\ /(__/"," \\ \\ / / "," \\ ' /, "," \\ /__)"," \\ / "," `-' "],W:[" (`\\ .-') /`"," `.( OO ),'",",--./ .--. ","| | | ","| | | |, ","| |.'.| |_)","| | ","| ,'. | ","'--' '--' "],X:[") (`-. "," ( OO ). ","(_/. \\_)-. "," \\ `.' / "," \\ /\\ "," \\ \\ | "," .' \\_) "," / .'. \\ ","'--' '--' "],Y:[" "," "," ,--. ,--."," \\ `.' / "," .-') / ","(OO \\ / "," | / /\\_ "," `-./ /.__) "," `--' "],Z:[" .-') _ "," ( OO) ) ",",(_)----. ","| | ","'--. / ","(_/ / "," / /___ ","| | ","`--------' "],0:[" "," "," .----. "," / .. \\ ",". / \\ . ","| | ' | ","' \\ / ' "," \\ `' / "," `---'' "],1:[" "," "," .---. ","/_ | "," | | "," | | "," | | "," | | "," `---' "],2:[" "," "," .-----. ","/ ,-. \\ ","'-' | | "," .' / "," .' /__ ","| | ","`-------' "],3:[" "," "," .-----. ","/ -. \\ ","'-' _' | "," |_ < ",".-. | | ","\\ `-' / "," `----'' "],4:[" "," "," .---. "," / . | "," / /| | "," / / | |_ ","/ '-' | ","`----| |-' "," `--' "],5:[" "," ",".------. ","| ___| ","| '--. ","`---. '. ",".- | | ","| `-' / "," `----'' "],6:[" "," "," ,--. "," / .' ",". / -. ","| .-. ' ","' \\ | | ","\\ `' / "," `----' "],7:[" "," ",".--------. ","| __ ' ","`--' . / "," / / "," . / "," / / "," `--' "],8:[" "," "," .-----. "," / .-. \\ ","| \\_.' / "," / .-. '. ","| | | | "," \\ '-' / "," `----'' "],9:[" "," "," .----. "," / ,. \\ ","| | \\ | "," ' `-' ' "," `- / ' "," ,' / "," `---' "]," ":[" "," "," "," "," "," "," "," "," "],"!":[",---. ","| | ","| | ","| | ","| | ","| .' ","`--' ",".--. ","'--' "],'"':[" ",",--.,--. ","\\ |\\ | "," `-' `-' "," "," "," "," "," "],"#":[" "," ,-. ,-. "," | | | | ",",--| |-| |--.","'--| |-| |--'","'--| |-| |--'"," | | | | "," `-' `-' "," "],$:[" ,-. "," .-| |-. ","| | |_/ ","\\ | |. "," '-| | '. ",".- | | | ","| `| | / "," `-| |'` "," `-' "],"%":[" ,-. "," ,--. / / "," '--'/ / "," / / "," / / "," / / "," / / ,--. ","/ / '--' ","`-' "],"&":[" "," .-----. ","/ .-. \\ ","| \\_.' / ","/ .-. ',-. ","| | | . /_ ","\\ '-' _.__)"," `----'' "," "],"'":[" ",",--. ","\\ | "," `-' "," "," "," "," "," "],"(":[" ,-. "," / | ","' .' ","| | ","| | ","| | ","' '. "," \\ | "," `-' "],")":[",-. ","| \\ ","'. ' "," | | "," | | "," | | ",".' ' ","| / ","`-' "],"*":[" "," .-. "," .-,| |,-. "," _\\ ' ' /_ ","(__ __) "," / . . \\ "," `-'| |`-' "," `-' "," "],"+":[" "," "," ,-. "," | | ",",---| |---. ","'---| |---' "," | | "," `-' "," "],",":[" "," "," "," "," "," "," ",".-. ","',/ "],"-":[" "," "," "," .-') "," _( OO) ","(,------. "," '------' "," "," "],".":[" "," "," "," "," "," "," ",".-. ","`-' "],"/":[" ,-. "," / / "," / / "," / / "," / / "," / / "," / / ","/ / ","`-' "],":":[" "," ",".-. ","`-' "," ",".-. ","`-' "," "," "],";":[" "," ",".-. ","'-' "," ",".-. ","',/ "," "," "],"<":[" "," ,-. "," / / "," / / ","/ / ","\\ \\ "," \\ \\ "," \\ \\ "," `-' "],"=":[" "," ",",-----. ","'-----' "," ",",-----. ","'-----' "," "," "],">":[" ",",-. "," \\ \\ "," \\ \\ "," \\ \\ "," / / "," / / "," / / ","`-' "],"?":[" ,------. ","' .--. ' ","| | | | ","'--' | | "," __. | "," | .' "," |___| "," .---. "," '---' "],"@":[" "," "," ____ "," .' __ \\ ","/ .' \\ | ","| | (_/ | ","\\ `.__.'\\ "," `.___ .' "," "],"[":[",----. ","| | ","| .-' ","| | ","| | ","| | ","| '-. ","| | ","`----' "],"\\":[",-. ","\\ \\ "," \\ \\ "," \\ \\ "," \\ \\ "," \\ \\ "," \\ \\ "," \\ \\ "," `-' "],"]":[",----. ","| | ","`-. | "," | | "," | | "," | | ",".-' | ","| | ","`----' "],"^":[" "," "," ,---. "," / \\ \\ ","`--' `--' "," "," "," "," "],_:[" "," "," "," "," "," (`-. "," (OO )_ ",",------.) ","`------' "],"{":[" ,--. "," | | "," | .' "," .' / ","< < "," `. \\ "," | '. "," | | "," `--' "],"|":[",-. ","| | ","| | ","| | ","| | ","| | ","| | ","| | ","`-' "],"}":[",--. ","| | ","'. | "," \\ ` "," > > "," / . ",".' | ","| | ","`--' "],"~":[" "," .--, "," .--' / "," / ---` ","`--' "," "," "," "," "]}};var J2={name:"Bloody",height:10,chars:{A:[" \u2584\u2584\u2584 ","\u2592\u2588\u2588\u2588\u2588\u2584 ","\u2592\u2588\u2588 \u2580\u2588\u2584 ","\u2591\u2588\u2588\u2584\u2584\u2584\u2584\u2588\u2588 "," \u2593\u2588 \u2593\u2588\u2588\u2592"," \u2592\u2592 \u2593\u2592\u2588\u2591"," \u2592 \u2592\u2592 \u2591"," \u2591 \u2592 "," \u2591 \u2591"," "],B:[" \u2584\u2584\u2584\u2584 ","\u2593\u2588\u2588\u2588\u2588\u2588\u2584 ","\u2592\u2588\u2588\u2592 \u2584\u2588\u2588","\u2592\u2588\u2588\u2591\u2588\u2580 ","\u2591\u2593\u2588 \u2580\u2588\u2593","\u2591\u2592\u2593\u2588\u2588\u2588\u2580\u2592","\u2592\u2591\u2592 \u2591 "," \u2591 \u2591 "," \u2591 "," \u2591 "],C:[" \u2584\u2588\u2588\u2588\u2588\u2584 ","\u2592\u2588\u2588\u2580 \u2580\u2588 ","\u2592\u2593\u2588 \u2584 ","\u2592\u2593\u2593\u2584 \u2584\u2588\u2588\u2592","\u2592 \u2593\u2588\u2588\u2588\u2580 \u2591","\u2591 \u2591\u2592 \u2592 \u2591"," \u2591 \u2592 ","\u2591 ","\u2591 \u2591 ","\u2591 "],D:["\u2593\u2588\u2588\u2588\u2588\u2588\u2584 ","\u2592\u2588\u2588\u2580 \u2588\u2588\u258C","\u2591\u2588\u2588 \u2588\u258C","\u2591\u2593\u2588\u2584 \u258C","\u2591\u2592\u2588\u2588\u2588\u2588\u2593 "," \u2592\u2592\u2593 \u2592 "," \u2591 \u2592 \u2592 "," \u2591 \u2591 \u2591 "," \u2591 "," \u2591 "],E:["\u2593\u2588\u2588\u2588\u2588\u2588 ","\u2593\u2588 \u2580 ","\u2592\u2588\u2588\u2588 ","\u2592\u2593\u2588 \u2584 ","\u2591\u2592\u2588\u2588\u2588\u2588\u2592","\u2591\u2591 \u2592\u2591 \u2591"," \u2591 \u2591 \u2591"," \u2591 "," \u2591 \u2591"," "],F:[" \u2588\u2588\u2588\u2588\u2588\u2592","\u2593\u2588\u2588 \u2592 ","\u2592\u2588\u2588\u2588\u2588 \u2591 ","\u2591\u2593\u2588\u2592 \u2591 ","\u2591\u2592\u2588\u2591 "," \u2592 \u2591 "," \u2591 "," \u2591 \u2591 "," "," "],G:[" \u2584\u2588\u2588\u2588\u2588 "," \u2588\u2588\u2592 \u2580\u2588\u2592","\u2592\u2588\u2588\u2591\u2584\u2584\u2584\u2591","\u2591\u2593\u2588 \u2588\u2588\u2593","\u2591\u2592\u2593\u2588\u2588\u2588\u2580\u2592"," \u2591\u2592 \u2592 "," \u2591 \u2591 ","\u2591 \u2591 \u2591 "," \u2591 "," "],H:[" \u2588\u2588\u2591 \u2588\u2588 ","\u2593\u2588\u2588\u2591 \u2588\u2588\u2592","\u2592\u2588\u2588\u2580\u2580\u2588\u2588\u2591","\u2591\u2593\u2588 \u2591\u2588\u2588 ","\u2591\u2593\u2588\u2592\u2591\u2588\u2588\u2593"," \u2592 \u2591\u2591\u2592\u2591\u2592"," \u2592 \u2591\u2592\u2591 \u2591"," \u2591 \u2591\u2591 \u2591"," \u2591 \u2591 \u2591"," "],I:[" \u2588\u2588\u2593","\u2593\u2588\u2588\u2592","\u2592\u2588\u2588\u2592","\u2591\u2588\u2588\u2591","\u2591\u2588\u2588\u2591","\u2591\u2593 "," \u2592 \u2591"," \u2592 \u2591"," \u2591 "," "],J:[" \u2584\u2584\u2584\u2588\u2588\u2580\u2580\u2580"," \u2592\u2588\u2588 "," \u2591\u2588\u2588 ","\u2593\u2588\u2588\u2584\u2588\u2588\u2593 "," \u2593\u2588\u2588\u2588\u2592 "," \u2592\u2593\u2592\u2592\u2591 "," \u2592 \u2591\u2592\u2591 "," \u2591 \u2591 \u2591 "," \u2591 \u2591 "," "],K:[" \u2588\u2588 \u2584\u2588\u2580"," \u2588\u2588\u2584\u2588\u2592 ","\u2593\u2588\u2588\u2588\u2584\u2591 ","\u2593\u2588\u2588 \u2588\u2584 ","\u2592\u2588\u2588\u2592 \u2588\u2584","\u2592 \u2592\u2592 \u2593\u2592","\u2591 \u2591\u2592 \u2592\u2591","\u2591 \u2591\u2591 \u2591 ","\u2591 \u2591 "," "],L:[" \u2588\u2588\u2593 ","\u2593\u2588\u2588\u2592 ","\u2592\u2588\u2588\u2591 ","\u2592\u2588\u2588\u2591 ","\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592","\u2591 \u2592\u2591\u2593 \u2591","\u2591 \u2591 \u2592 \u2591"," \u2591 \u2591 "," \u2591 \u2591"," "],M:[" \u2588\u2588\u2588\u2584 \u2584\u2588\u2588\u2588\u2593","\u2593\u2588\u2588\u2592\u2580\u2588\u2580 \u2588\u2588\u2592","\u2593\u2588\u2588 \u2593\u2588\u2588\u2591","\u2592\u2588\u2588 \u2592\u2588\u2588 ","\u2592\u2588\u2588\u2592 \u2591\u2588\u2588\u2592","\u2591 \u2592\u2591 \u2591 \u2591","\u2591 \u2591 \u2591","\u2591 \u2591 "," \u2591 "," "],N:[" \u2588\u2588\u2588\u2584 \u2588 "," \u2588\u2588 \u2580\u2588 \u2588 ","\u2593\u2588\u2588 \u2580\u2588 \u2588\u2588\u2592","\u2593\u2588\u2588\u2592 \u2590\u258C\u2588\u2588\u2592","\u2592\u2588\u2588\u2591 \u2593\u2588\u2588\u2591","\u2591 \u2592\u2591 \u2592 \u2592 ","\u2591 \u2591\u2591 \u2591 \u2592\u2591"," \u2591 \u2591 \u2591 "," \u2591 "," "],O:[" \u2592\u2588\u2588\u2588\u2588\u2588 ","\u2592\u2588\u2588\u2592 \u2588\u2588\u2592","\u2592\u2588\u2588\u2591 \u2588\u2588\u2592","\u2592\u2588\u2588 \u2588\u2588\u2591","\u2591 \u2588\u2588\u2588\u2588\u2593\u2592\u2591","\u2591 \u2592\u2591\u2592\u2591\u2592\u2591 "," \u2591 \u2592 \u2592\u2591 ","\u2591 \u2591 \u2591 \u2592 "," \u2591 \u2591 "," "],P:[" \u2588\u2588\u2593\u2588\u2588\u2588 ","\u2593\u2588\u2588\u2591 \u2588\u2588\u2592","\u2593\u2588\u2588\u2591 \u2588\u2588\u2593\u2592","\u2592\u2588\u2588\u2584\u2588\u2593\u2592 \u2592","\u2592\u2588\u2588\u2592 \u2591 \u2591","\u2592\u2593\u2592\u2591 \u2591 \u2591","\u2591\u2592 \u2591 ","\u2591\u2591 "," "," "],Q:[" \u2588\u2588\u2588\u2588\u2588 ","\u2592\u2588\u2588\u2593 \u2588\u2588\u2592","\u2592\u2588\u2588\u2592 \u2588\u2588\u2591","\u2591\u2588\u2588 \u2588\u2580 \u2591","\u2591\u2592\u2588\u2588\u2588\u2592\u2588\u2584 ","\u2591\u2591 \u2592\u2592\u2591 \u2592 "," \u2591 \u2592\u2591 \u2591 "," \u2591 \u2591 "," \u2591 "," "],R:[" \u2588\u2588\u2580\u2588\u2588\u2588 ","\u2593\u2588\u2588 \u2592 \u2588\u2588\u2592","\u2593\u2588\u2588 \u2591\u2584\u2588 \u2592","\u2592\u2588\u2588\u2580\u2580\u2588\u2584 ","\u2591\u2588\u2588\u2593 \u2592\u2588\u2588\u2592","\u2591 \u2592\u2593 \u2591\u2592\u2593\u2591"," \u2591\u2592 \u2591 \u2592\u2591"," \u2591\u2591 \u2591 "," \u2591 "," "],S:[" \u2588\u2588\u2588\u2588\u2588\u2588 ","\u2592\u2588\u2588 \u2592 ","\u2591 \u2593\u2588\u2588\u2584 "," \u2592 \u2588\u2588\u2592","\u2592\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2592","\u2592 \u2592\u2593\u2592 \u2592 \u2591","\u2591 \u2591\u2592 \u2591 \u2591","\u2591 \u2591 \u2591 "," \u2591 "," "],T:["\u2584\u2584\u2584\u2588\u2588\u2588\u2588\u2588\u2593","\u2593 \u2588\u2588\u2592 \u2593\u2592","\u2592 \u2593\u2588\u2588\u2591 \u2592\u2591","\u2591 \u2593\u2588\u2588\u2593 \u2591 "," \u2592\u2588\u2588\u2592 \u2591 "," \u2592 \u2591\u2591 "," \u2591 "," \u2591 "," "," "],U:[" \u2588 \u2588\u2588 "," \u2588\u2588 \u2593\u2588\u2588\u2592","\u2593\u2588\u2588 \u2592\u2588\u2588\u2591","\u2593\u2593\u2588 \u2591\u2588\u2588\u2591","\u2592\u2592\u2588\u2588\u2588\u2588\u2588\u2593 ","\u2591\u2592\u2593\u2592 \u2592 \u2592 ","\u2591\u2591\u2592\u2591 \u2591 \u2591 "," \u2591\u2591\u2591 \u2591 \u2591 "," \u2591 "," "],V:[" \u2588\u2588\u2592 \u2588\u2593","\u2593\u2588\u2588\u2591 \u2588\u2592"," \u2593\u2588\u2588 \u2588\u2592\u2591"," \u2592\u2588\u2588 \u2588\u2591\u2591"," \u2592\u2580\u2588\u2591 "," \u2591 \u2590\u2591 "," \u2591 \u2591\u2591 "," \u2591\u2591 "," \u2591 "," \u2591 "],W:[" \u2588 \u2588\u2591","\u2593\u2588\u2591 \u2588 \u2591\u2588\u2591","\u2592\u2588\u2591 \u2588 \u2591\u2588 ","\u2591\u2588\u2591 \u2588 \u2591\u2588 ","\u2591\u2591\u2588\u2588\u2592\u2588\u2588\u2593 ","\u2591 \u2593\u2591\u2592 \u2592 "," \u2592 \u2591 \u2591 "," \u2591 \u2591 "," \u2591 "," "],X:["\u2592\u2588\u2588 \u2588\u2588\u2592","\u2592\u2592 \u2588 \u2588 \u2592\u2591","\u2591\u2591 \u2588 \u2591"," \u2591 \u2588 \u2588 \u2592 ","\u2592\u2588\u2588\u2592 \u2592\u2588\u2588\u2592","\u2592\u2592 \u2591 \u2591\u2593 \u2591","\u2591\u2591 \u2591\u2592 \u2591"," \u2591 \u2591 "," \u2591 \u2591 "," "],Y:["\u2593\u2588\u2588 \u2588\u2588\u2593"," \u2592\u2588\u2588 \u2588\u2588\u2592"," \u2592\u2588\u2588 \u2588\u2588\u2591"," \u2591 \u2590\u2588\u2588\u2593\u2591"," \u2591 \u2588\u2588\u2592\u2593\u2591"," \u2588\u2588\u2592\u2592\u2592 "," \u2593\u2588\u2588 \u2591\u2592\u2591 "," \u2592 \u2592 \u2591\u2591 "," \u2591 \u2591 "," \u2591 \u2591 "],Z:["\u2592\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2592","\u2592 \u2592 \u2592 \u2584\u2580\u2591","\u2591 \u2592 \u2584\u2580\u2592\u2591 "," \u2584\u2580\u2592 \u2591","\u2592\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2592","\u2591\u2592\u2592 \u2593\u2591\u2592\u2591\u2592","\u2591\u2591\u2592 \u2592 \u2591 \u2592","\u2591 \u2591 \u2591 \u2591 \u2591"," \u2591 \u2591 ","\u2591 "],0:[" "," "," "," "," "," "," "," "," "," "],1:[" "," "," "," "," "," "," "," "," "," "],2:[" "," "," "," "," "," "," "," "," "," "],3:[" "," "," "," "," "," "," "," "," "," "],4:[" "," "," "," "," "," "," "," "," "," "],5:[" "," "," "," "," "," "," "," "," "," "],6:[" "," "," "," "," "," "," "," "," "," "],7:[" "," "," "," "," "," "," "," "," "," "],8:[" "," "," "," "," "," "," "," "," "," "],9:[" "," "," "," "," "," "," "," "," "," "]," ":[" "," "," "," "," "," "," "," "," "," "],"!":[" \u2590\u2588\u2588\u258C "," \u2590\u2588\u2588\u258C "," \u2590\u2588\u2588\u258C "," \u2593\u2588\u2588\u2592 "," \u2592\u2584\u2584 "," \u2591\u2580\u2580\u2592 "," \u2591 \u2591 "," \u2591 "," \u2591 "," "],"-":[" "," "," "," "," "," "," "," "," "," "],".":[" "," "," "," "," \u2588\u2588\u2593 "," \u2592\u2593\u2592 "," \u2591\u2592 "," \u2591 "," \u2591 "," \u2591 "],":":[" "," "," "," "," "," "," "," "," "," "],_:[" "," "," "," "," "," "," "," "," "," "]}};var Q2={name:"Electronic",height:12,chars:{A:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2580 "," "],B:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C ","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C ","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C "," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],C:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],D:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C ","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C "," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],E:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],F:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C "," \u2580 "," "],G:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u258C \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u258C\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u258C \u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],H:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2580 "," "],I:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580 "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2584\u2584\u2584\u2584\u2588\u2591\u2588\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],J:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2580 "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C "," \u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],K:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C ","\u2590\u2591\u258C\u2590\u2591\u258C ","\u2590\u2591\u258C\u2591\u258C ","\u2590\u2591\u2591\u258C ","\u2590\u2591\u258C\u2591\u258C ","\u2590\u2591\u258C\u2590\u2591\u258C ","\u2590\u2591\u258C \u2590\u2591\u258C ","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2580 "," "],L:[" \u2584 ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],M:[" \u2584\u2584 \u2584\u2584 ","\u2590\u2591\u2591\u258C \u2590\u2591\u2591\u258C","\u2590\u2591\u258C\u2591\u258C \u2590\u2591\u2590\u2591\u258C","\u2590\u2591\u258C\u2590\u2591\u258C \u2590\u2591\u258C\u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2580 \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2580 "," "],N:[" \u2584\u2584 \u2584 ","\u2590\u2591\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C\u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u2591\u258C"," \u2580 \u2580\u2580 "," "],O:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],P:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C "," \u2580 "," "],Q:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580 "," \u2590\u2591\u258C "," \u2580 "," "],R:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580 ","\u2590\u2591\u258C \u2590\u2591\u258C ","\u2590\u2591\u258C \u2590\u2591\u258C ","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2580 "," "],S:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],T:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580 "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2580 "," "],U:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],V:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2580 "," "],W:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2584 \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C\u2590\u2591\u258C \u2590\u2591\u258C\u2590\u2591\u258C","\u2590\u2591\u258C\u2591\u258C \u2590\u2591\u2590\u2591\u258C","\u2590\u2591\u2591\u258C \u2590\u2591\u2591\u258C"," \u2580\u2580 \u2580\u2580 "," "],X:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C ","\u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2580 "," "],Y:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580 "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2580 "," "],Z:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],0:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 "," \u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C ","\u2590\u2591\u2588\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C\u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u2588\u2591\u258C"," \u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C "," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],1:[" \u2584\u2584\u2584\u2584 "," \u2584\u2588\u2591\u2591\u2591\u2591\u258C "," \u2590\u2591\u2591\u258C\u2590\u2591\u2591\u258C "," \u2580\u2580 \u2590\u2591\u2591\u258C "," \u2590\u2591\u2591\u258C "," \u2590\u2591\u2591\u258C "," \u2590\u2591\u2591\u258C "," \u2590\u2591\u2591\u258C "," \u2584\u2584\u2584\u2584\u2588\u2591\u2591\u2588\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],2:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],3:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],4:[" \u2584 \u2584 ","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2590\u2591\u258C"," \u2590\u2591\u258C"," \u2580 "," "],5:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],6:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 ","\u2590\u2591\u258C ","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],7:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2580 "," "],8:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C"," \u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C ","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "],9:[" \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C","\u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u258C"," \u2590\u2591\u258C"," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "]," ":[" "," "," "," "," "," "," "," "," "," "," "," "],"!":[" \u2584 ","\u2590\u2591\u258C","\u2590\u2591\u258C","\u2590\u2591\u258C","\u2590\u2591\u258C","\u2590\u2591\u258C","\u2590\u2591\u258C"," \u2580 "," \u2584 ","\u2590\u2591\u258C"," \u2580 "," "],"#":[" \u2584 \u2584 "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2584\u2588\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u2588\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580 "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2584\u2588\u2591\u2588\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2591\u2588\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580 "," \u2590\u2591\u258C \u2590\u2591\u258C "," \u2580 \u2580 "," "],$:[" \u2584 "," \u2584\u2584\u2584\u2584\u2588\u2591\u2588\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C","\u2590\u2591\u2588\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580 ","\u2590\u2591\u2588\u2584\u2584\u2588\u2591\u2588\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2588\u2591\u258C"," \u2584\u2584\u2584\u2584\u2588\u2591\u2588\u2584\u2584\u2588\u2591\u258C","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2588\u2591\u2588\u2580\u2580\u2580\u2580 "," \u2580 "," "],"%":[" \u2584"," \u2584 \u2590\u2591"," \u2590\u2591\u258C \u2590\u2591\u258C"," \u2580 \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C \u2584 "," \u2590\u2591\u258C \u2590\u2591\u258C","\u2590\u2591\u258C \u2580 "," \u2580 "," "],"*":[" \u2584 \u2584 \u2584 ","\u2590\u2591\u258C\u2590\u2591\u258C\u2590\u2591\u258C"," \u2590\u2591\u2590\u2591\u258C\u2591\u258C "," \u2590\u2591 \u2591\u258C "," \u2584\u2584\u2588\u2591\u2588\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2588\u2591\u2588\u2580\u2580 "," \u2590\u2591 \u2591\u258C "," \u2590\u2591\u2590\u2591\u258C\u2591\u258C ","\u2590\u2591\u258C\u2590\u2591\u258C\u2590\u2591\u258C"," \u2580 \u2580 \u2580 "," "],"-":[" "," "," "," "," \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 ","\u2590\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u258C"," \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 "," "," "," "," "," "],".":[" "," "," "," "," "," "," "," "," \u2584 ","\u2590\u2591\u258C"," \u2580 "," "],":":[" "," "," "," "," "," "," "," "," "," "," "," "],"<":[" \u2584 "," \u2590\u2591\u258C"," \u2590\u2591\u258C "," \u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C ","\u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C"," \u2580"," "],">":[" \u2584 ","\u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C "," \u2590\u2591\u258C"," \u2590\u2591\u258C"," \u2590\u2591\u258C"," \u2590\u2591\u258C "," \u2590\u2591\u258C ","\u2590\u2591\u258C "," \u2580 "," "],"^":[" \u2584 "," \u2590\u2591\u258C "," \u2590\u2591\u2590\u2591\u258C "," \u2590\u2591\u258C \u2590\u2591\u258C ","\u2590\u2591\u258C \u2590\u2591\u258C "," \u2580 \u2580 "," "," "," "," "," "," "],_:[" "," "," "," "," "," "," "," "," "," "," "," "]}};var Z2={name:"Sub-Zero",height:6,chars:{A:[" ______ ","/\\ __ \\ ","\\ \\ __ \\ "," \\ \\_\\ \\_\\ "," \\/_/\\/_/ "," "],B:[" ______ ","/\\ == \\ ","\\ \\ __< "," \\ \\_____\\ "," \\/_____/ "," "],C:[" ______ ","/\\ ___\\ ","\\ \\ \\____ "," \\ \\_____\\ "," \\/_____/ "," "],D:[" _____ ","/\\ __-. ","\\ \\ \\/\\ \\ "," \\ \\____- "," \\/____/ "," "],E:[" ______ ","/\\ ___\\ ","\\ \\ __\\ "," \\ \\_____\\ "," \\/_____/ "," "],F:[" ______ ","/\\ ___\\ ","\\ \\ __\\ "," \\ \\_\\ "," \\/_/ "," "],G:[" ______ ","/\\ ___\\ ","\\ \\ \\__ \\ "," \\ \\_____\\ "," \\/_____/ "," "],H:[" __ __ ","/\\ \\_\\ \\ ","\\ \\ __ \\ "," \\ \\_\\ \\_\\ "," \\/_/\\/_/ "," "],I:[" __ ","/\\ \\ ","\\ \\ \\ "," \\ \\_\\ "," \\/_/ "," "],J:[" __ "," /\\ \\ "," _\\_\\ \\ ","/\\_____\\ ","\\/_____/ "," "],K:[" __ __ ","/\\ \\/ / ",'\\ \\ _"-. '," \\ \\_\\ \\_\\ "," \\/_/\\/_/ "," "],L:[" __ ","/\\ \\ ","\\ \\ \\____ "," \\ \\_____\\ "," \\/_____/ "," "],M:[" __ __ ",'/\\ "-./ \\ ',"\\ \\ \\-./\\ \\ "," \\ \\_\\ \\ \\_\\ "," \\/_/ \\/_/ "," "],N:[" __ __ ",'/\\ "-.\\ \\ ',"\\ \\ \\-. \\ ",' \\ \\_\\\\"\\_\\ '," \\/_/ \\/_/ "," "],O:[" ______ ","/\\ __ \\ ","\\ \\ \\/\\ \\ "," \\ \\_____\\ "," \\/_____/ "," "],P:[" ______ ","/\\ == \\ ","\\ \\ _-/ "," \\ \\_\\ "," \\/_/ "," "],Q:[" ______ ","/\\ __ \\ ","\\ \\ \\/\\_\\ "," \\ \\___\\_\\ "," \\/___/_/ "," "],R:[" ______ ","/\\ == \\ ","\\ \\ __< "," \\ \\_\\ \\_\\ "," \\/_/ /_/ "," "],S:[" ______ ","/\\ ___\\ ","\\ \\___ \\ "," \\/\\_____\\ "," \\/_____/ "," "],T:[" ______ ","/\\__ _\\ ","\\/_/\\ \\/ "," \\ \\_\\ "," \\/_/ "," "],U:[" __ __ ","/\\ \\/\\ \\ ","\\ \\ \\_\\ \\ "," \\ \\_____\\ "," \\/_____/ "," "],V:[" __ __ ","/\\ \\ / / ","\\ \\ \\'/ "," \\ \\__| "," \\/_/ "," "],W:[" __ __ ","/\\ \\ _ \\ \\ ",'\\ \\ \\/ ".\\ \\ ',' \\ \\__/".~\\_\\ '," \\/_/ \\/_/ "," "],X:[" __ __ ","/\\_\\_\\_\\ ","\\/_/\\_\\/_ "," /\\_\\/\\_\\ "," \\/_/\\/_/ "," "],Y:[" __ __ ","/\\ \\_\\ \\ ","\\ \\____ \\ "," \\/\\_____\\ "," \\/_____/ "," "],Z:[" ______ ","/\\___ \\ ","\\/_/ /__ "," /\\_____\\ "," \\/_____/ "," "],0:[" "," "," "," "," "," "],1:[" "," "," "," "," "," "],2:[" "," "," "," "," "," "],3:[" "," "," "," "," "," "],4:[" "," "," "," "," "," "],5:[" "," "," "," "," "," "],6:[" "," "," "," "," "," "],7:[" "," "," "," "," "," "],8:[" "," "," "," "," "," "],9:[" "," "," "," "," "," "]," ":[" "," "," "," "," "," "],"!":[" "," "," "," "," "," "],"-":[" "," "," "," "," "," "],".":[" "," "," "," "," "," "],":":[" "," "," "," "," "," "],_:[" "," "," "," "," "," "]}};function Ou(u){let e=u.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function p5(u,e,t){return"#"+[u,e,t].map(n=>n.toString(16).padStart(2,"0")).join("")}function u8(){let u=process.env;return u.NO_COLOR!==void 0?"none":u.TERM_PROGRAM==="Apple_Terminal"?"256":u.COLORTERM==="truecolor"||u.COLORTERM==="24bit"?"truecolor":u.TERM_PROGRAM==="iTerm.app"||u.TERM_PROGRAM==="WezTerm"||u.TERM_PROGRAM==="vscode"||u.TERM_PROGRAM==="Hyper"||u.TERM_PROGRAM==="WarpTerminal"||u.WT_SESSION!==void 0?u.COLORTERM?"truecolor":"256":u.TERM?.includes("256color")?"256":u.TERM?"16":"none"}var V=u8();function Nu(u){V=u}function e8(u,e,t){if(u===e&&e===t)return u<8?16:u>248?231:Math.round((u-8)/247*24)+232;let n=Math.round(u/255*5),o=Math.round(e/255*5),r=Math.round(t/255*5);return 16+36*n+6*o+r}var m5=[{r:0,g:0,b:0,code:30},{r:170,g:0,b:0,code:31},{r:0,g:170,b:0,code:32},{r:170,g:170,b:0,code:33},{r:0,g:0,b:170,code:34},{r:170,g:0,b:170,code:35},{r:0,g:170,b:170,code:36},{r:170,g:170,b:170,code:37},{r:85,g:85,b:85,code:90},{r:255,g:85,b:85,code:91},{r:85,g:255,b:85,code:92},{r:255,g:255,b:85,code:93},{r:85,g:85,b:255,code:94},{r:255,g:85,b:255,code:95},{r:85,g:255,b:255,code:96},{r:255,g:255,b:255,code:97}];function t8(u,e,t){let n=30,o=1/0;for(let r of m5){let s=u-r.r,i=e-r.g,a=t-r.b,c=s*s+i*i+a*a;c<o&&(o=c,n=r.code)}return n}function h(u){if(V==="none")return"";let e=Ou(u);return e?V==="16"?`\x1B[${t8(e.r,e.g,e.b)}m`:V==="256"?`\x1B[38;5;${e8(e.r,e.g,e.b)}m`:`\x1B[38;2;${e.r};${e.g};${e.b}m`:""}function Hu(u){if(V==="none")return"";let e=Ou(u);return e?V==="16"?`\x1B[${t8(e.r,e.g,e.b)+10}m`:V==="256"?`\x1B[48;5;${e8(e.r,e.g,e.b)}m`:`\x1B[48;2;${e.r};${e.g};${e.b}m`:""}function g5(u,e,t){let n=Ou(u),o=Ou(e);if(!n||!o)return u;let r=Math.round(n.r+(o.r-n.r)*t),s=Math.round(n.g+(o.g-n.g)*t),i=Math.round(n.b+(o.b-n.b)*t);return p5(r,s,i)}function zu(u,e){if(u.length===0)return[];if(u.length===1)return Array(e).fill(u[0]);let t=[];for(let n=0;n<e;n++){let o=e<=1?0:n/(e-1)*(u.length-1),r=Math.min(Math.floor(o),u.length-2),s=o-r;t.push(g5(u[r],u[Math.min(r+1,u.length-1)],s))}return t}var d=V==="none"?"":"\x1B[0m",v=V==="none"?"":"\x1B[1m",L=V==="none"?"":"\x1B[2m",du=V==="none"?"":"\x1B[3m",wu=V==="none"?"":"\x1B[4m",Uu=V==="none"?"":"\x1B[7m",F5=class{renderers=new Map;focusableTypes=new Set;register(u,e,t=!1){this.renderers.set(u,e),t&&this.focusableTypes.add(u)}getRenderer(u){return this.renderers.get(u)}isFocusable(u){return this.focusableTypes.has(u)}has(u){return this.renderers.has(u)}},A=new F5;function cu(u){return u<32||u===127||u>=768&&u<=879||u===8203||u===8204||u===8205||u===173||u===65279||u>=6832&&u<=6911||u>=7616&&u<=7679||u>=8400&&u<=8447||u>=65056&&u<=65071||u>=65024&&u<=65039||u>=917760&&u<=917999?0:u>=19968&&u<=40959||u>=13312&&u<=19903||u>=131072&&u<=173791||u>=173824&&u<=177983||u>=177984&&u<=178207||u>=63744&&u<=64255||u>=12288&&u<=12351||u>=12352&&u<=12447||u>=12448&&u<=12543||u>=44032&&u<=55215||u>=4352&&u<=4447||u>=65281&&u<=65376||u>=65504&&u<=65510||u>=127744&&u<=129535||u>=129536&&u<=129647||u>=129648&&u<=129791?2:(u>=9984&&u<=10175||u>=9728&&u<=9983,1)}function y(u){let e=yu(u),t=0;for(let n of e)t+=cu(n.codePointAt(0)??0);return t}function n8(u,e){return h(e)+u+d}function q(u,e,t="left"){let n=y(u),o=Math.max(0,e-n);switch(t){case"center":{let r=Math.floor(o/2),s=o-r;return" ".repeat(r)+u+" ".repeat(s)}case"right":return" ".repeat(o)+u;default:return u+" ".repeat(o)}}function yu(u){return u.replace(/\x1b\[[0-9;]*m/g,"")}function O(u,e){if(!u)return"";if(y(u)<=e)return u;let t=0,n="",o=!1;for(let r of u){if(r==="\x1B"){o=!0,n+=r;continue}if(o){n+=r,r==="m"&&(o=!1);continue}let s=cu(r.codePointAt(0)??0);if(t+s>=e){n+="\u2026";break}n+=r,t+=s}return n+d}function K(u,e){if(e<=0)return[];let t=u.split(`
3
+ `),n=[];for(let o of t){if(o.length===0){n.push("");continue}let r=o.split(" "),s="",i=0;for(let a of r){let c=y(a);if(c>e){s&&(n.push(s),s="",i=0);let l="",f=0;for(let _ of a){let p=cu(_.codePointAt(0)??0);f+p>e&&l&&(n.push(l),l="",f=0),l+=_,f+=p}s=l,i=f;continue}i===0?(s=a,i=c):i+1+c<=e?(s+=" "+a,i+=1+c):(n.push(s),s=a,i=c)}s&&n.push(s)}return n.length>0?n:[""]}var b5={name:"ANSI Shadow",height:6,chars:{A:[" \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2550\u255D \u255A\u2550\u255D"],B:["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u255A\u2550\u2550\u2550\u2550\u2550\u255D "],C:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2551 ","\u2588\u2588\u2551 ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557"," \u255A\u2550\u2550\u2550\u2550\u2550\u255D"],D:["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u255A\u2550\u2550\u2550\u2550\u2550\u255D "],E:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u255D ","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],F:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u255D ","\u2588\u2588\u2551 ","\u255A\u2550\u255D "],G:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D ","\u2588\u2588\u2551 \u2588\u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u2550\u255D "],H:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2550\u255D \u255A\u2550\u255D"],I:["\u2588\u2588\u2557","\u2588\u2588\u2551","\u2588\u2588\u2551","\u2588\u2588\u2551","\u2588\u2588\u2551","\u255A\u2550\u255D"],J:[" \u2588\u2588\u2557"," \u2588\u2588\u2551"," \u2588\u2588\u2551","\u2588\u2588 \u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u255D "],K:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2554\u255D","\u2588\u2588\u2588\u2588\u2588\u2554\u255D ","\u2588\u2588\u2554\u2550\u2588\u2588\u2557 ","\u2588\u2588\u2551 \u2588\u2588\u2557","\u255A\u2550\u255D \u255A\u2550\u255D"],L:["\u2588\u2588\u2557 ","\u2588\u2588\u2551 ","\u2588\u2588\u2551 ","\u2588\u2588\u2551 ","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],M:["\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2551","\u2588\u2588\u2554\u2588\u2588\u2588\u2588\u2554\u2588\u2588\u2551","\u2588\u2588\u2551\u255A\u2588\u2588\u2554\u255D\u2588\u2588\u2551","\u2588\u2588\u2551 \u255A\u2550\u255D \u2588\u2588\u2551","\u255A\u2550\u255D \u255A\u2550\u255D"],N:["\u2588\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551","\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551","\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551","\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551","\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D"],O:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u2550\u255D "],P:["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u2588\u2588\u2554\u2550\u2550\u2550\u255D ","\u2588\u2588\u2551 ","\u255A\u2550\u255D "],Q:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2580\u2580\u2550\u255D "],R:["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2550\u255D \u255A\u2550\u255D"],S:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],T:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D"," \u2588\u2588\u2551 "," \u2588\u2588\u2551 "," \u2588\u2588\u2551 "," \u255A\u2550\u255D "],U:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u2550\u255D "],V:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D"," \u255A\u2588\u2588\u2588\u2588\u2554\u255D "," \u255A\u2550\u2550\u2550\u255D "],W:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2557 \u2588\u2588\u2551","\u2588\u2588\u2551\u2588\u2588\u2588\u2557\u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2554\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u255D\u255A\u2550\u2550\u255D "],X:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u255A\u2588\u2588\u2557\u2588\u2588\u2554\u255D"," \u255A\u2588\u2588\u2588\u2554\u255D "," \u2588\u2588\u2554\u2588\u2588\u2557 ","\u2588\u2588\u2554\u255D \u2588\u2588\u2557","\u255A\u2550\u255D \u255A\u2550\u255D"],Y:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D"," \u255A\u2588\u2588\u2588\u2588\u2554\u255D "," \u255A\u2588\u2588\u2554\u255D "," \u2588\u2588\u2551 "," \u255A\u2550\u255D "],Z:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2588\u2588\u2588\u2554\u255D"," \u2588\u2588\u2588\u2554\u255D "," \u2588\u2588\u2588\u2554\u255D ","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],0:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2551 \u2588\u2588\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u2550\u255D "],1:[" \u2588\u2588\u2557","\u2588\u2588\u2588\u2551","\u255A\u2588\u2588\u2551"," \u2588\u2588\u2551"," \u2588\u2588\u2551"," \u255A\u2550\u255D"],2:["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2557"," \u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u2588\u2588\u2554\u2550\u2550\u2550\u255D ","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],3:["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2557"," \u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u255A\u2550\u2550\u2550\u2550\u2550\u255D "],4:["\u2588\u2588\u2557 \u2588\u2588\u2557","\u2588\u2588\u2551 \u2588\u2588\u2551","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551"," \u2588\u2588\u2551"," \u255A\u2550\u255D"],5:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],6:[" \u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u255D "],7:["\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551"," \u2588\u2588\u2554\u255D"," \u2588\u2588\u2554\u255D "," \u2588\u2588\u2551 "," \u255A\u2550\u255D "],8:[" \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u255D "],9:[" \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2551"," \u255A\u2550\u2550\u2550\u2588\u2588\u2551"," \u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u255D "]," ":[" "," "," "," "," "," "],".":[" "," "," "," ","\u2588\u2588\u2557","\u255A\u2550\u255D"],"!":["\u2588\u2588\u2557","\u2588\u2588\u2551","\u2588\u2588\u2551","\u255A\u2550\u255D","\u2588\u2588\u2557","\u255A\u2550\u255D"],"-":[" "," ","\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u255D"," "," "],_:[" "," "," "," ","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"],":":[" ","\u2588\u2588\u2557","\u255A\u2550\u255D","\u2588\u2588\u2557","\u255A\u2550\u255D"," "],"'":["\u2588\u2588\u2557","\u255A\u2588\u2551"," \u255A\u255D"," "," "," "],",":[" "," "," "," ","\u2584\u2588\u2557","\u255A\u2550\u255D"],"/":[" \u2588\u2588\u2557"," \u2588\u2588\u2554\u255D"," \u2588\u2588\u2554\u255D "," \u2588\u2588\u2554\u255D ","\u2588\u2588\u2554\u255D ","\u255A\u2550\u255D "],"?":["\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ","\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2557"," \u2584\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2588\u2551 "," \u2588\u2588\u2588\u2588\u2551 "," \u255A\u2550\u2550\u2550\u255D "],"+":[" "," \u2588\u2588\u2557 ","\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2588\u2588\u2554\u2550\u255D"," \u255A\u2550\u255D "," "],"=":[" ","\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u255A\u2550\u2550\u2550\u2550\u2550\u255D"," "],"@":[" \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2551","\u2588\u2588\u2554\u2550\u2550\u2550\u255D\u2551","\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u255D "],"#":[" \u2588\u2588\u2557\u2588\u2588\u2557 ","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u255A\u2588\u2588\u2554\u2588\u2588\u2554\u255D","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u255A\u2588\u2588\u2554\u2588\u2588\u2554\u255D"," \u255A\u2550\u255D\u255A\u2550\u255D "],"&":[" \u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2554\u2550\u2588\u2588\u2557 ","\u255A\u2588\u2588\u2588\u2588\u2554\u255D ","\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557","\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D"," \u255A\u2550\u2550\u2550\u2550\u255D "],"(":[" \u2588\u2588\u2557","\u2588\u2588\u2554\u255D","\u2588\u2588\u2551 ","\u2588\u2588\u2551 ","\u255A\u2588\u2588\u2557"," \u255A\u2550\u255D"],")":["\u2588\u2588\u2557 ","\u255A\u2588\u2588\u2557"," \u2588\u2588\u2551"," \u2588\u2588\u2551","\u2588\u2588\u2554\u255D","\u255A\u2550\u255D "],"*":[" ","\u2584\u2588\u2557\u2588\u2584 ","\u255A\u2588\u2588\u2588\u2554\u255D","\u2584\u2588\u2588\u2588\u2584\u2557","\u255A\u2588\u2554\u255D\u2588\u255D"," "],"%":["\u2588\u2588\u2557\u2588\u2588\u2557 ","\u255A\u2550\u255D\u2588\u2588\u2554\u255D"," \u2588\u2588\u2554\u255D "," \u2588\u2588\u2554\u255D ","\u2588\u2588\u2554\u255D\u2588\u2588\u2557","\u255A\u2550\u255D\u255A\u2550\u255D "]}},C5={name:"Block",height:4,chars:{A:["\u2584\u2588\u2584 ","\u2588 \u2588 ","\u2588\u2588\u2588 ","\u2588 \u2588 "],B:["\u2588\u2588\u2584 ","\u2588\u2584\u2588 ","\u2588 \u2588 ","\u2588\u2588\u2580 "],C:["\u2584\u2588\u2588 ","\u2588 ","\u2588 ","\u2580\u2588\u2588 "],D:["\u2588\u2588\u2584 ","\u2588 \u2588 ","\u2588 \u2588 ","\u2588\u2588\u2580 "],E:["\u2588\u2588\u2588 ","\u2588\u2584 ","\u2588\u2580 ","\u2588\u2588\u2588 "],F:["\u2588\u2588\u2588 ","\u2588\u2584 ","\u2588 ","\u2588 "],G:["\u2584\u2588\u2588 ","\u2588 ","\u2588\u2584\u2588 ","\u2580\u2588\u2588 "],H:["\u2588 \u2588 ","\u2588\u2588\u2588 ","\u2588 \u2588 ","\u2588 \u2588 "],I:["\u2588\u2588\u2588 "," \u2588 "," \u2588 ","\u2588\u2588\u2588 "],J:[" \u2588\u2588 "," \u2588 ","\u2588 \u2588 ","\u2580\u2588\u2580 "],K:["\u2588\u2584\u2588 ","\u2588\u2588 ","\u2588\u2580\u2588 ","\u2588 \u2588 "],L:["\u2588 ","\u2588 ","\u2588 ","\u2588\u2588\u2588 "],M:["\u2588\u2584\u2584\u2588 ","\u2588\u2580\u2580\u2588 ","\u2588 \u2588 ","\u2588 \u2588 "],N:["\u2588\u2584 \u2588 ","\u2588\u2580\u2588\u2588 ","\u2588 \u2580\u2588 ","\u2588 \u2588 "],O:["\u2584\u2588\u2584 ","\u2588 \u2588 ","\u2588 \u2588 ","\u2580\u2588\u2580 "],P:["\u2588\u2588\u2584 ","\u2588 \u2588 ","\u2588\u2588\u2580 ","\u2588 "],Q:["\u2584\u2588\u2584 ","\u2588 \u2588 ","\u2588\u2584\u2588 ","\u2580 \u2580\u2588"],R:["\u2588\u2588\u2584 ","\u2588 \u2588 ","\u2588\u2588\u2580 ","\u2588 \u2588 "],S:["\u2584\u2588\u2588 ","\u2588\u2584 "," \u2580\u2588 ","\u2588\u2588\u2580 "],T:["\u2588\u2588\u2588\u2588 "," \u2588\u2588 "," \u2588\u2588 "," \u2588\u2588 "],U:["\u2588 \u2588 ","\u2588 \u2588 ","\u2588 \u2588 ","\u2580\u2588\u2580 "],V:["\u2588 \u2588 ","\u2588 \u2588 ","\u2580\u2584\u2584\u2580 "," \u2580\u2580 "],W:["\u2588 \u2588 ","\u2588 \u2588 ","\u2588\u2584\u2584\u2588 ","\u2580 \u2580 "],X:["\u2588 \u2588 ","\u2580\u2588\u2580 ","\u2584\u2588\u2584 ","\u2588 \u2588 "],Y:["\u2588 \u2588 ","\u2580\u2588\u2580 "," \u2588 "," \u2588 "],Z:["\u2588\u2588\u2588 "," \u2584\u2588 ","\u2588\u2580 ","\u2588\u2588\u2588 "],0:["\u2584\u2588\u2584 ","\u2588 \u2588 ","\u2588 \u2588 ","\u2580\u2588\u2580 "],1:[" \u2588 ","\u2588\u2588 "," \u2588 ","\u2588\u2588\u2588 "],2:["\u2584\u2588\u2584 "," \u2584\u2588 ","\u2588\u2580 ","\u2588\u2588\u2588 "],3:["\u2588\u2588\u2584 "," \u2584\u2588 "," \u2580\u2588 ","\u2588\u2588\u2580 "],4:["\u2588 \u2588 ","\u2588\u2588\u2588 "," \u2588 "," \u2588 "],5:["\u2588\u2588\u2588 ","\u2588\u2584 "," \u2580\u2588 ","\u2588\u2588\u2580 "],6:["\u2584\u2588\u2588 ","\u2588\u2584 ","\u2588 \u2588 ","\u2580\u2588\u2580 "],7:["\u2588\u2588\u2588 "," \u2588 "," \u2588 ","\u2588 "],8:["\u2584\u2588\u2584 ","\u2580\u2588\u2580 ","\u2584\u2588\u2584 ","\u2580\u2588\u2580 "],9:["\u2584\u2588\u2584 ","\u2588 \u2588 ","\u2580\u2588\u2588 "," \u2584\u2588 "]," ":[" "," "," "," "],".":[" "," "," ","\u2580 "],"!":["\u2588 ","\u2588 "," ","\u2580 "],"-":[" ","\u2584\u2584\u2584 "," "," "],":":[" ","\u2580 "," ","\u2580 "],_:[" "," "," ","\u2584\u2584\u2584 "]}},w5={name:"Slant",height:5,chars:{A:[" ___ "," / | "," / /| | ","/ ___ | ","/_/ |_| "],B:[" ___ "," / _ ) "," / _ | ","/ /_) | ","\\____/ "],C:[" _____ "," / ___/ ","/ / ","\\ \\___ "," \\____/ "],D:[" ___ "," / _ \\ "," / // / ","/ /\\_/ ","\\___/ "],E:[" ____ "," / __/ "," / _/ ","/___/ "," "],F:[" ____ "," / __/ "," / _/ ","/_/ "," "],G:[" _____ "," / ___/ ","/ (_ / ","\\___/ "," "],H:[" __ __ "," / // / "," / _ / ","/_//_/ "," "],I:[" __ "," / / "," / / ","/_/ "," "],J:[" __ "," __ / / ","/ /_/ / ","\\____/ "," "],K:[" __ __ "," / //_/ "," / ,< ","/_/|_| "," "],L:[" __ "," / / "," / /__ ","/____/ "," "],M:[" __ __ "," / |/ | "," / /|_/ / ","/_/ /_/ "," "],N:[" _ __ "," / |/ / "," / / ","/_/|_/ "," "],O:[" ____ "," / __ \\ ","/ /_/ / ","\\____/ "," "],P:[" ___ "," / _ \\ "," / ___/ ","/_/ "," "],Q:[" ____ "," / __ \\ ","/ /_/ / ","\\___\\_\\ "," "],R:[" ___ "," / _ \\ "," / , _/ ","/_/|_| "," "],S:[" ____ "," / __/ "," \\__ \\ ","/____/ "," "],T:[" ______ ","/_ __/ "," / / ","/_/ "," "],U:[" __ __ "," / / / / ","/ /_/ / ","\\____/ "," "],V:[" _ __ ","| | / / ","| |/ / ","|___/ "," "],W:[" _ __ ","| | /| / / ","| |/ |/ / ","|__/|__/ "," "],X:[" _ __ "," | |/ / "," _> < ","/_/|_| "," "],Y:["__ __ ","\\ \\ / / "," \\_ / "," /_/ "," "],Z:[" ____ ","/_ / "," / /_ ","/___/ "," "]," ":[" "," "," "," "," "],0:[" __ ","/ /\\ ","\\/_/ "," "," "],1:[" _ ","/ | ","| | ","|_| "," "],2:[" __ ","|_ | ","/ _/ ","\\__| "," "],3:[" __ ","|_ / "," _|\\ ","|__/ "," "],4:[" _ _ ","| | |","|_ |"," |_|"," "],5:[" __ ","| _| ","\\_ \\ ","|__/ "," "],6:[" __ ","/ _| ","| _ |","\\__/ "," "],7:[" ___ ","|_ / "," / / ","/_/ "," "],8:[" __ ","(_ ) ","/ _ |","\\__/ "," "],9:[" __ ","/ _ \\","\\_, /","/___/"," "],".":[" "," "," _ ","(_) "," "],"!":[" _ ","| | ","|_| ","(_) "," "],"-":[" "," "," _____ "," "," "],":":[" "," _ ","(_) ","(_) "," "],_:[" "," "," "," ______ "," "]}},y5={name:"Calvin S",height:4,chars:{A:[" ___ ","| . |","| |","|_|_|"],B:[" ___ ","| . >","| . >","|___>"],C:[" ___ ","| _>","| <_ ","|___>"],D:[" ___ ","| . \\ ","| | | ","|___/ "],E:[" ___ ","| __>","| _> ","|___>"],F:[" ___ ","| __>","| _> ","|_| "],G:[" ___ ","| . >","| . |","|___|"],H:[" _ _ ","| || |","| >< |","|_||_|"],I:[" _ ","| |","| |","|_|"],J:[" _ "," | |","|_| |","|___|"],K:[" _ _ ","| |/ >","| |\\ >","|_| \\_>"],L:[" _ ","| | ","| |_ ","|___| "],M:[" _ _ ","| ' ' |","| . . |","|_|_|_|"],N:[" _ _ ","| \\| |","| . |","|_|\\_|"],O:[" ___ ","| . |","| . |","|___|"],P:[" ___ ","| . >","| _>","|_| "],Q:[" ___ ","| . |","| . |","|_\\_\\"],R:[" ___ ","| . >","| >","|_\\_>"],S:[" ___ ","| __>","<__. |","<___>"],T:[" ___ ","|_ _|"," | | "," |_| "],U:[" _ _ ","| || |","| || |","|____>"],V:[" _ _ ","| || |","\\ \\/ /"," \\__/ "],W:[" _ _ ","| | | |","| |/\\| |","\\_/\\_/ "],X:[" _ _ ","\\ \\/ /"," > < ","/_/\\_\\"],Y:[" _ _ ","\\ \\/ /"," \\ / "," \\/ "],Z:[" ___ ","|_ |"," / / ","|___|"]," ":[" "," "," "," "],0:[" ___ ","| . |","| . |","|___|"],1:[" _ ","| | ","| | ","|_| "],2:[" ___ ","|_ |","| _/|","|___|"],3:[" ___ ","|__ \\ "," __) |","|___/ "],4:[" _ _ ","| | |","|_ |"," |_|"],5:[" ___ ","| __|","|__ |","|___|"],6:[" _ "," / | ","| _ |","|___|"],7:[" ___ ","|_ |"," | |"," |_|"],8:[" ___ ","| _ |","| _ |","|___|"],9:[" ___ ","| _ |","|__ |","|___|"],".":[" "," "," "," ."],"!":[" ! "," ! "," "," ! "],"-":[" "," "," --- "," "],":":[" "," : "," "," : "],_:[" "," "," "," ___ "]}},x5={name:"Small",height:4,chars:{A:[" "," /\\ ","/--\\"," "],B:[" __ ","|__)","|__)"," "],C:[" __ ","| ","|__ "," "],D:[" __ ","| \\","|_/"," "],E:[" __ ","|_ ","|__"," "],F:[" __ ","|_ ","| "," "],G:[" __ ","/ _ ","\\_|"," "],H:[" ","|__|","| |"," "],I:[" _ ","| |","|_|"," "],J:[" _ "," | ","\\_| "," "],K:[" ","|/ ","|\\ "," "],L:[" ","| ","|__ "," "],M:[" ","|\\/|","| | "," "],N:[" ","|\\ | ","| \\| "," "],O:[" __ ","/ \\","\\__/"," "],P:[" __ ","|__)","| "," "],Q:[" __ ","/ \\","\\_\\/"," "],R:[" __ ","|__)","|\\ "," "],S:[" __ ","(__ "," __)"," "],T:["___ "," | "," | "," "],U:[" ","| |","\\__/"," "],V:[" ","\\ / "," \\/ "," "],W:[" ","\\ /"," \\/\\/ "," "],X:[" ","\\/ ","/\\ "," "],Y:[" ","\\_/ "," | "," "],Z:["___ "," _/ ","/__ "," "]," ":[" "," "," "," "],0:[" _ ","/ \\","\\_/"," "],1:[" "," /|"," |"," "],2:[" _ "," _)","(_ "," "],3:[" _ "," _)"," _)"," "],4:[" ","|_|"," | "," "],5:[" _ ","|_ "," _)"," "],6:[" _ ","|_ ","|_)"," "],7:["__ "," / ","/ "," "],8:[" _ ","(_)","(_)"," "],9:[" _ ","(_|"," _|"," "],".":[" "," ",". "," "],"!":[" ","! ",". "," "],"-":[" "," ","--- "," "],":":[" ",": ",": "," "],_:[" "," "," ","___ "]}},v5={name:"Ogre",height:5,chars:{A:[" _ "," / \\ ","/ _ \\ ","| |_| |","|_| |_|"],B:[" ___ ","| _ ) ","| _ \\ ","|____/ "," "],C:[" ___ "," / __| ","| (__ "," \\___| "," "],D:[" ___ ","| _ \\ ","| | | ","|___/ "," "],E:[" ___ ","| __| ","| _| ","|___| "," "],F:[" ___ ","| __| ","| _| ","|_| "," "],G:[" ___ "," / __| ","| |___ "," \\____| "," "],H:[" _ _ ","| || | ","| __ | ","|_||_| "," "],I:[" ___ ","|_ _| "," | | ","|___| "," "],J:[" _ "," | | "," | | ","|__/ "," "],K:[" _ _ ","| |/ / ","| ' < ","|_|\\_\\ "," "],L:[" _ ","| | ","| |__ ","|____| "," "],M:[" __ __ ","| \\/ | ","| |\\/| | ","|_| |_| "," "],N:[" _ _ ","| \\ | | ","| .\\| | ","|_|\\_| "," "],O:[" ___ "," / _ \\ ","| |_| |"," \\___/ "," "],P:[" ___ ","| _ \\ ","| _/ ","|_| "," "],Q:[" ___ "," / _ \\ ","| |_| |"," \\__\\_\\"," "],R:[" ___ ","| _ \\ ","| / ","|_\\_\\ "," "],S:[" ___ ","/ __| ","\\__ \\ ","|___/ "," "],T:[" _____ ","|_ _| "," | | "," |_| "," "],U:[" _ _ ","| || | ","| \\/ | "," \\__/ "," "],V:["__ __ ","\\ \\ / / "," \\ V / "," \\_/ "," "],W:["__ __ ","\\ \\ / / "," \\ \\/\\/ / "," \\_/\\_/ "," "],X:["__ __ ","\\ \\/ / "," > < ","/_/\\_\\ "," "],Y:["__ __ ","\\ \\ / / "," \\_ / "," |_| "," "],Z:[" ____ ","|_ / "," / / ","/____| "," "]," ":[" "," "," "," "," "],0:[" __ "," / \\ ","| () |"," \\__/ "," "],1:[" _ ","/ | ","| | ","|_| "," "],2:[" ___ ","|_ ) "," / / ","/___| "," "],3:[" ___ ","|__ / "," |_ \\ ","|___/ "," "],4:[" _ _ ","| | | ","|_ | "," |_| "," "],5:[" ___ ","| __| ","|__ \\ ","|___/ "," "],6:[" __ "," / / ","| _ \\ "," \\__/ "," "],7:[" ____ ","|__ |"," / / "," /_/ "," "],8:[" __ "," / _ \\","| (_) |"," \\___/ "," "],9:[" __ "," / _ \\","| (_) |"," \\__, |"," /_/ "],".":[" "," "," _ ","(_)"," "],"!":[" _ ","| | ","|_| ","(_) "," "],"-":[" "," "," _____ ","|_____|"," "],":":[" "," _ ","(_) ","(_) "," "],_:[" "," "," "," ______ ","|______|"]}},B5={"ANSI Shadow":b5,Block:C5,Slant:w5,"Calvin S":y5,Small:x5,Ogre:v5,"DOS Rebel":q2,Ghost:K2,Bloody:J2,Electronic:Q2,"Sub-Zero":Z2,"Larry 3D":U2,Colossal:G2,Isometric1:V2},ju=B5,I5="ANSI Shadow";function M5(u,e){let t=u.split(`
4
+ `);if(t.length===0)throw new Error(`parseFLF: empty font data for "${e}"`);let n=t[0];if(!n.startsWith("flf2"))throw new Error(`parseFLF: invalid FLF header for "${e}": ${n}`);let o=n.charAt(5),r=n.slice(6).trim().split(/\s+/),s=parseInt(r[0],10),i=parseInt(r[4],10)||0;if(isNaN(s)||s<=0)throw new Error(`parseFLF: invalid height in header for "${e}"`);let a=1+i,c={},l=new Set;for(let p=65;p<=90;p++)l.add(p);for(let p=48;p<=57;p++)l.add(p);l.add(32);let f="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";for(let p of f)l.add(p.charCodeAt(0));let _=a;for(let p=32;p<=126&&!(_+s>t.length);p++){let m=[];for(let g=0;g<s;g++){let F=t[_+g]??"";F.endsWith("@@")?F=F.slice(0,-2):F.endsWith("@")&&(F=F.slice(0,-1)),o&&o!==" "&&(F=F.split(o).join(" ")),m.push(F)}if(_+=s,l.has(p)){let g=String.fromCharCode(p);c[g]=m}}return{name:e,height:s,chars:c}}function Cu(u){return u.toLowerCase().replace(/[\s_]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")}function A5(u){return!Array.isArray(u)&&Array.isArray(u.art)}function P5(u){if(Array.isArray(u))return!1;let e=u;return e.small!==void 0||e.medium!==void 0||e.large!==void 0||e.art!==void 0||e.author!==void 0||e.source!==void 0}var E5=class{fonts=new Map;scenes=new Map;icons=new Map;patterns=new Map;register(u,e,t,n="custom"){let o=Cu(e);switch(u){case"font":{this.fonts.has(o)&&process.stderr.write(`[art-registry] warning: font "${o}" overwritten (source: ${n})
5
+ `);let r;typeof t=="string"?r=M5(t,o):r=t,this.fonts.set(o,{font:r,source:n,author:void 0});break}case"scene":{this.scenes.has(o)&&process.stderr.write(`[art-registry] warning: scene "${o}" overwritten (source: ${n})
6
+ `);let r;if(Array.isArray(t))r={art:t,source:n};else if(A5(t))r={...t,source:t.source??n};else throw new Error(`Invalid scene data for "${e}"`);this.scenes.set(o,{scene:r,source:n});break}case"icon":{this.icons.has(o)&&process.stderr.write(`[art-registry] warning: icon "${o}" overwritten (source: ${n})
7
+ `);let r;if(Array.isArray(t))r=S5(t,n);else if(P5(t))r={...t,source:t.source??n};else throw new Error(`Invalid icon data for "${e}"`);this.icons.set(o,{icon:r,source:n});break}case"pattern":{this.patterns.has(o)&&process.stderr.write(`[art-registry] warning: pattern "${o}" overwritten (source: ${n})
8
+ `);let r=t;this.patterns.set(o,{pattern:{...r,source:r.source??n},source:n});break}}}get(u,e){let t=Cu(e),n=this.mapFor(u),o=n.get(t);if(o)return this.unwrapEntry(u,o);if(e.includes("/")){let r=Cu(e.replace("/","-")),s=n.get(r);if(s)return this.unwrapEntry(u,s)}for(let[r,s]of n)if(r.endsWith(`-${t}`)||r.endsWith(`/${t}`))return this.unwrapEntry(u,s);return null}has(u,e){return this.get(u,e)!==null}list(u){if(u)return Array.from(this.mapFor(u).keys()).sort();let e=new Set;for(let t of this.fonts.keys())e.add(t);for(let t of this.scenes.keys())e.add(t);for(let t of this.icons.keys())e.add(t);for(let t of this.patterns.keys())e.add(t);return Array.from(e).sort()}getInfo(u,e){let t=Cu(e),o=this.mapFor(u).get(t);if(!o)return null;let r={name:t,type:u,source:""};switch(u){case"font":{let s=o;r.source=s.source,r.author=s.author;break}case"scene":{let s=o;r.source=s.source,r.author=s.scene.author,r.description=s.scene.description;break}case"icon":{let s=o;r.source=s.source,r.author=s.icon.author;break}case"pattern":{let s=o;r.source=s.source,r.author=s.pattern.author;break}}return r}loadPack(u){let e=`pack:${u.name}`;if(u.fonts){for(let[t,n]of Object.entries(u.fonts))if(this.register("font",t,n,e),u.author){let o=Cu(t),r=this.fonts.get(o);r&&!r.author&&(r.author=u.author)}}if(u.scenes)for(let[t,n]of Object.entries(u.scenes))this.register("scene",t,n,e);if(u.icons)for(let[t,n]of Object.entries(u.icons))this.register("icon",t,n,e);if(u.patterns)for(let[t,n]of Object.entries(u.patterns))this.register("pattern",t,n,e)}clear(){this.fonts.clear(),this.scenes.clear(),this.icons.clear(),this.patterns.clear()}mapFor(u){switch(u){case"font":return this.fonts;case"scene":return this.scenes;case"icon":return this.icons;case"pattern":return this.patterns}}unwrapEntry(u,e){switch(u){case"font":return e.font;case"scene":return e.scene;case"icon":return e.icon;case"pattern":return e.pattern}}};function S5(u,e){let t=u.length,n={source:e};return t<=4?n.small=u:t<=6?n.medium=u:n.large=u,n}var Gu=new E5;var X2={single:{topLeft:"\u250C",topRight:"\u2510",bottomLeft:"\u2514",bottomRight:"\u2518",horizontal:"\u2500",vertical:"\u2502",teeLeft:"\u2524",teeRight:"\u251C",teeUp:"\u2534",teeDown:"\u252C",cross:"\u253C"},double:{topLeft:"\u2554",topRight:"\u2557",bottomLeft:"\u255A",bottomRight:"\u255D",horizontal:"\u2550",vertical:"\u2551",teeLeft:"\u2563",teeRight:"\u2560",teeUp:"\u2569",teeDown:"\u2566",cross:"\u256C"},rounded:{topLeft:"\u256D",topRight:"\u256E",bottomLeft:"\u2570",bottomRight:"\u256F",horizontal:"\u2500",vertical:"\u2502",teeLeft:"\u2524",teeRight:"\u251C",teeUp:"\u2534",teeDown:"\u252C",cross:"\u253C"},heavy:{topLeft:"\u250F",topRight:"\u2513",bottomLeft:"\u2517",bottomRight:"\u251B",horizontal:"\u2501",vertical:"\u2503",teeLeft:"\u252B",teeRight:"\u2523",teeUp:"\u253B",teeDown:"\u2533",cross:"\u254B"},dashed:{topLeft:"\u250C",topRight:"\u2510",bottomLeft:"\u2514",bottomRight:"\u2518",horizontal:"\u2504",vertical:"\u2506",teeLeft:"\u2524",teeRight:"\u251C",teeUp:"\u2534",teeDown:"\u252C",cross:"\u253C"},ascii:{topLeft:"+",topRight:"+",bottomLeft:"+",bottomRight:"+",horizontal:"-",vertical:"|",teeLeft:"+",teeRight:"+",teeUp:"+",teeDown:"+",cross:"+"},none:{topLeft:" ",topRight:" ",bottomLeft:" ",bottomRight:" ",horizontal:" ",vertical:" ",teeLeft:" ",teeRight:" ",teeUp:" ",teeDown:" ",cross:" "}};function lu(u){return X2[u??"rounded"]??X2.rounded}function Vu(u,e={},t){let n=e.font??"ANSI Shadow",r=Gu.get("font",n)??ju[n]??ju[I5];if(!r)return[u];let s=u.toUpperCase(),i=Array(r.height).fill("");for(let l of s){let f=r.chars[l]??r.chars[" "]??Array(r.height).fill(" "),_=Math.max(0,...f.map(p=>(p??"").length));for(let p=0;p<r.height;p++){let m=f[p]??"";i[p]+=m+" ".repeat(Math.max(0,_-m.length))}}for(i=i.map(l=>l.trimEnd());i.length>0&&i[i.length-1]==="";)i.pop();let a=Math.max(0,...i.map(l=>l.length));i=i.map(l=>l+" ".repeat(Math.max(0,a-l.length)));let c=e.width??t;return c!==void 0&&Math.max(0,...i.map(f=>y(f)))>c?[u]:(e.shadow&&(i=D5(i)),e.border&&e.border!=="none"&&(i=T5(i,e.border)),i)}function D5(u){let e=[];for(let n=0;n<u.length;n++)e.push(u[n]+" ");let t=Math.max(0,...u.map(n=>y(n)));return e.push(" "+"\u2591".repeat(t)),e}function T5(u,e){let t=lu(e),n=Math.max(0,...u.map(s=>y(s))),o=n+2,r=[];r.push(t.topLeft+t.horizontal.repeat(o)+t.topRight);for(let s of u){let i=s+" ".repeat(Math.max(0,n-y(s)));r.push(t.vertical+" "+i+" "+t.vertical)}return r.push(t.bottomLeft+t.horizontal.repeat(o)+t.bottomRight),r}function qu(u,e){if(u.length===0)return u;let t=Math.max(0,...u.map(r=>y(r))),n=Math.max(0,Math.floor((e-t)/2)),o=" ".repeat(n);return u.map(r=>{if(y(r)>e){let i=0,a="",c=!1;for(let l of r){if(l==="\x1B"){c=!0,a+=l;continue}if(c){a+=l,l==="m"&&(c=!1);continue}let f=cu(l.codePointAt(0)??0);if(i+f>e)break;a+=l,i+=f}return a+"\x1B[0m"}return o+r})}o8();Ku();Ju();Zu();import{readFileSync as W5,existsSync as j5}from"fs";import{resolve as N5}from"path";import{EventEmitter as U5}from"events";import{EventEmitter as q5}from"events";import{createServer as oe}from"http";import{exec as gt}from"child_process";var b8={};i8(b8,{defaultTheme:()=>Eu,themes:()=>Pu});var Pu,Eu,Yu=s8({"src/style/theme.ts"(){"use strict";Pu={cyberpunk:{accent:"#ff2a6d",accentDim:"#b91d4f",text:"#05d9e8",muted:"#0abdc6",subtle:"#01579b",success:"#05d9e8",warning:"#d1f7ff",error:"#ff2a6d",border:"#01579b",bg:"#01012b"},dracula:{accent:"#ff79c6",accentDim:"#bd93f9",text:"#f8f8f2",muted:"#6272a4",subtle:"#44475a",success:"#50fa7b",warning:"#f1fa8c",error:"#ff5555",border:"#6272a4",bg:"#282a36"},nord:{accent:"#88c0d0",accentDim:"#5e81ac",text:"#eceff4",muted:"#81a1c1",subtle:"#4c566a",success:"#a3be8c",warning:"#ebcb8b",error:"#bf616a",border:"#4c566a",bg:"#2e3440"},monokai:{accent:"#f92672",accentDim:"#ae81ff",text:"#f8f8f2",muted:"#75715e",subtle:"#49483e",success:"#a6e22e",warning:"#e6db74",error:"#f92672",border:"#75715e",bg:"#272822"},solarized:{accent:"#268bd2",accentDim:"#2aa198",text:"#839496",muted:"#657b83",subtle:"#586e75",success:"#859900",warning:"#b58900",error:"#dc322f",border:"#586e75",bg:"#002b36"},gruvbox:{accent:"#fe8019",accentDim:"#d65d0e",text:"#ebdbb2",muted:"#a89984",subtle:"#504945",success:"#b8bb26",warning:"#fabd2f",error:"#fb4934",border:"#504945",bg:"#282828"},catppuccin:{accent:"#f5c2e7",accentDim:"#cba6f7",text:"#cdd6f4",muted:"#a6adc8",subtle:"#45475a",success:"#a6e3a1",warning:"#f9e2af",error:"#f38ba8",border:"#585b70",bg:"#1e1e2e"},tokyoNight:{accent:"#7aa2f7",accentDim:"#bb9af7",text:"#c0caf5",muted:"#565f89",subtle:"#3b4261",success:"#9ece6a",warning:"#e0af68",error:"#f7768e",border:"#3b4261",bg:"#1a1b26"},rosePine:{accent:"#ebbcba",accentDim:"#c4a7e7",text:"#e0def4",muted:"#908caa",subtle:"#6e6a86",success:"#9ccfd8",warning:"#f6c177",error:"#eb6f92",border:"#6e6a86",bg:"#191724"},hacker:{accent:"#00ff41",accentDim:"#008f11",text:"#00ff41",muted:"#008f11",subtle:"#003b00",success:"#00ff41",warning:"#ccff00",error:"#ff0000",border:"#008f11",bg:"#0d0208"}},Eu=Pu.dracula}}),k5=null;function c8(u){k5=u}var l8=!1,f8=new Set,Ru=null,Xu=new Map,$5=new Map;function h8(u,e){Xu.has(u)||Xu.set(u,new Set),Xu.get(u).add(e)}var Y5=0,s2=null;function d8(u){s2=u}function d2(u){let e=`state-${Y5++}`,t={...u},n=new Map,o=new Set,r=!1,s=new Map;function i(l,f,_){if(r){s.set(l,{newVal:f,oldVal:_});return}let p=n.get(l);if(p)for(let m of p)m(f,_);for(let m of o)m(l,f);s2?.()}function a(){let l=new Map(s);s.clear();for(let[f,{newVal:_,oldVal:p}]of l){let m=n.get(f);if(m)for(let g of m)g(_,p);for(let g of o)g(f,_)}l.size>0&&s2?.()}let c={_id:e,get(l){if(l===void 0){if(l8&&(Ru===null||Ru===e))for(let f of Object.keys(t))f8.add(f),h8(e,f);return{...t}}return l8&&(Ru===null||Ru===e)&&(f8.add(l),h8(e,l)),t[l]},set(l,f){let _=t[l];_!==f&&(t[l]=f,i(l,f,_))},update(l,f){let _=t[l],p=f(_);_!==p&&(t[l]=p,i(l,p,_))},batch(l){r=!0;try{l()}finally{r=!1,a()}},on(l,f){return l==="*"?(o.add(f),()=>o.delete(f)):(n.has(l)||n.set(l,new Set),n.get(l).add(f),()=>n.get(l)?.delete(f))},keys(){return Object.keys(t)}};return $5.set(e,c),c}function H5(u){let e={};for(let t of u.split(`
9
+ `)){let n=t.trim();if(!n||n.startsWith("#"))continue;let o=n.indexOf("=");if(o<0)continue;let r=n.substring(0,o).trim(),s=n.substring(o+1).trim();if(s.startsWith('"')&&s.endsWith('"')||s.startsWith("'")&&s.endsWith("'"))s=s.slice(1,-1);else{let i=s.indexOf(" #");i>=0&&(s=s.substring(0,i).trim())}e[r]=s}return e}function _2(u){let e=u??process.cwd(),t=process.env.NODE_ENV??"",n=[".env",".env.local"];t==="production"?n.push(".env.production"):t==="development"&&n.push(".env.development");for(let o of n){let r=N5(e,o);if(j5(r))try{let s=W5(r,"utf-8"),i=H5(s);for(let[a,c]of Object.entries(i))process.env[a]===void 0&&(process.env[a]=c)}catch{}}}Yu();function z5(){let u=!!process.stdout.isTTY,e=process.env,t=e.TERM_PROGRAM??"",n=t==="Apple_Terminal",o=t||e.TERM||"unknown",r="none";e.NO_COLOR!==void 0?r="none":u&&(n?r="256":e.COLORTERM==="truecolor"||e.COLORTERM==="24bit"||t==="iTerm.app"||t==="Hyper"||t==="WezTerm"||t==="WarpTerminal"||e.WT_SESSION!==void 0||e.TERM?.includes("24bit")||e.TERM?.includes("truecolor")?r="truecolor":e.TERM?.includes("256color")?r="256":u&&(r="16"));let s=e.LANG?.includes("UTF-8")||e.LANG?.includes("utf8")||e.LC_ALL?.includes("UTF-8")||t==="iTerm.app"||t==="WezTerm"||e.WT_SESSION!==void 0||process.platform==="darwin";return{colorDepth:r,unicode:!!s,columns:process.stdout.columns||80,rows:process.stdout.rows||24,isTTY:u,terminalName:o,isAppleTerminal:n}}var G5=class extends U5{started=!1;rawModeWas;start(){this.started||(this.started=!0,process.stdin.isTTY&&(this.rawModeWas=process.stdin.isRaw,process.stdin.setRawMode(!0)),process.stdin.resume(),process.stdin.setEncoding("utf-8"),process.stdin.on("data",this.handleData))}stop(){this.started&&(this.started=!1,process.stdin.removeListener("data",this.handleData),process.stdin.isTTY&&this.rawModeWas!==void 0&&process.stdin.setRawMode(this.rawModeWas),process.stdin.pause())}handleData=u=>{for(let e of V5(u))this.emit("keypress",e)}};function V5(u){let e=[];if(u==="\x1B[A")e.push(H("up","",!1,!1,!1,u));else if(u==="\x1B[B")e.push(H("down","",!1,!1,!1,u));else if(u==="\x1B[C")e.push(H("right","",!1,!1,!1,u));else if(u==="\x1B[D")e.push(H("left","",!1,!1,!1,u));else if(u==="\r"||u===`
10
+ `)e.push(H("return","",!1,!1,!1,u));else if(u==="\x1B")e.push(H("escape","",!1,!1,!1,u));else if(u==="\x7F"||u==="\b")e.push(H("backspace","",!1,!1,!1,u));else if(u===" ")e.push(H("tab","",!1,!1,!1,u));else if(u==="\x1B[Z")e.push(H("tab","",!1,!1,!0,u));else if(u==="\x1B[3~")e.push(H("delete","",!1,!1,!1,u));else if(u==="\x1B[H"||u==="\x1B[1~"||u==="\x1BOH")e.push(H("home","",!1,!1,!1,u));else if(u==="\x1B[F"||u==="\x1B[4~"||u==="\x1BOF")e.push(H("end","",!1,!1,!1,u));else if(u===" ")e.push(H("space"," ",!1,!1,!1,u));else for(let t=0;t<u.length;t++){let n=u[t],o=n.charCodeAt(0);if(o<=26&&o>0){let r=String.fromCharCode(o+96);e.push(H(r,n,!0,!1,!1,n))}else e.push(H(n,n,!1,!1,!1,n))}return e}function H(u,e,t,n,o,r){return{name:u,char:e,ctrl:t,meta:n,shift:o,sequence:r}}var u2=new G5,e2="__terminaltui_screen__",K5=class extends q5{_size;constructor(){super(),this._size=this.measure()}get size(){return this._size}get columns(){return this._size.columns}get rows(){return this._size.rows}attachListeners(){let u=()=>{this._size=this.measure(),this.emit("resize",this._size)};process.stdout.on("resize",u),typeof process.on=="function"&&process.on("SIGWINCH",u)}measure(){return{columns:process.stdout.columns||80,rows:process.stdout.rows||24}}},vu;globalThis[e2]?vu=globalThis[e2]:(vu=new K5,vu.attachListeners(),globalThis[e2]=vu);var C8=vu;function eu(){return C8.size}var J5=class{listeners=new Map;on(u,e){return this.listeners.has(u)||this.listeners.set(u,new Set),this.listeners.get(u).add(e),()=>this.off(u,e)}off(u,e){this.listeners.get(u)?.delete(e)}emit(u,...e){this.listeners.get(u)?.forEach(t=>{try{t(...e)}catch{}})}once(u,e){let t=(...n)=>{this.off(u,t),e(...n)};return this.on(u,t)}removeAll(u){u?this.listeners.delete(u):this.listeners.clear()}},_8=new J5,Q5=class{pages=[];_currentPage="";history=[];get currentPage(){return this._currentPage}get currentIndex(){return this.pages.indexOf(this._currentPage)}get pageCount(){return this.pages.length}registerPages(u){this.pages=[...u]}navigate(u){return this.pages.includes(u)?(this.history.push(this._currentPage),this._currentPage=u,_8.emit("navigate",{from:this.history[this.history.length-1],to:u}),!0):!1}navigateByIndex(u){return u<0||u>=this.pages.length?!1:this._currentPage===this.pages[u]?!0:this.navigate(this.pages[u])}back(){if(this.history.length===0)return!1;let u=this.history.pop(),e=this._currentPage;return this._currentPage=u,_8.emit("navigate",{from:e,to:u}),!0}home(){return this._currentPage===""||(this.history=[],this._currentPage=""),!0}isHome(){return this._currentPage===""}getPageId(u){return this.pages[u]}getAllPages(){return[...this.pages]}},Z5=class{items=[];_focusIndex=0;get focusedId(){return this.items[this._focusIndex]}get focusIndex(){return this._focusIndex}set focusIndex(u){u>=0&&u<this.items.length&&(this._focusIndex=u)}setItems(u){this.items=[...u],this._focusIndex>=this.items.length&&(this._focusIndex=Math.max(0,this.items.length-1))}focusNext(){if(this.items.length!==0)return this._focusIndex=(this._focusIndex+1)%this.items.length,this.items[this._focusIndex]}focusPrev(){if(this.items.length!==0)return this._focusIndex=(this._focusIndex-1+this.items.length)%this.items.length,this.items[this._focusIndex]}focusFirst(){return this._focusIndex=0,this.items[0]}focusLast(){return this._focusIndex=Math.max(0,this.items.length-1),this.items[this._focusIndex]}isFocused(u){return this.items[this._focusIndex]===u}get count(){return this.items.length}},X5=class{animations=new Map;timer=null;fps=30;running=!1;start(){if(this.running)return;this.running=!0;let u=Math.floor(1e3/this.fps);this.timer=setInterval(()=>this.tick(),u)}stop(){this.running=!1,this.timer&&(clearInterval(this.timer),this.timer=null),this.animations.clear()}add(u,e,t,n){this.animations.set(u,{id:u,totalFrames:e,onFrame:t,onComplete:n,currentFrame:0}),this.running||this.start()}remove(u){this.animations.delete(u),this.animations.size===0&&this.stop()}tick(){let u=[];for(let[e,t]of this.animations)t.onFrame(t.currentFrame,t.totalFrames,t.currentFrame/this.fps),t.currentFrame++,t.currentFrame>=t.totalFrames&&(u.push(e),t.onComplete?.());for(let e of u)this.animations.delete(e);this.animations.size===0&&this.stop()}get isRunning(){return this.running}get activeCount(){return this.animations.size}},ue=new X5,ee=class{_mode="navigation";_editingId=null;get mode(){return this._mode}get editingId(){return this._editingId}get isEditing(){return this._mode==="editing"}get isNavigating(){return this._mode==="navigation"}enterEdit(u){this._mode="editing",this._editingId=u}exitEdit(){this._mode="navigation",this._editingId=null}reset(){this._mode="navigation",this._editingId=null}},te=class{_notifications=[];get current(){return this.prune(),this._notifications[0]??null}get all(){return this.prune(),[...this._notifications]}success(u,e=3e3){this._notifications.push({message:u,type:"success",createdAt:Date.now(),duration:e})}error(u,e=4e3){this._notifications.push({message:u,type:"error",createdAt:Date.now(),duration:e})}info(u,e=3e3){this._notifications.push({message:u,type:"info",createdAt:Date.now(),duration:e})}prune(){let u=Date.now(),e=this._notifications.length;return this._notifications=this._notifications.filter(t=>u-t.createdAt<t.duration),this._notifications.length!==e}clear(){this._notifications=[]}},ne=class{states=new Map;refreshTimers=new Map;getState(u){return this.states.get(u)}needsLoad(u){let e=this.states.get(u);return!e||e.status==="loading"}load(u,e,t){this.states.get(u)?.status!=="loading"&&(this.states.set(u,{status:"loading"}),e().then(o=>{this.states.set(u,{status:"loaded",content:o,lastLoadTime:Date.now()}),t()}).catch(o=>{this.states.set(u,{status:"error",error:o instanceof Error?o:new Error(String(o))}),t()}))}setupRefresh(u,e,t,n){this.clearRefresh(u);let o=setInterval(()=>{let r=this.states.get(u);t().then(s=>{this.states.set(u,{status:"loaded",content:s,lastLoadTime:Date.now()}),n()}).catch(s=>{r?.content?this.states.set(u,{...r,lastLoadTime:Date.now()}):this.states.set(u,{status:"error",error:s instanceof Error?s:new Error(String(s))}),n()})},e);this.refreshTimers.set(u,o)}clearRefresh(u){let e=this.refreshTimers.get(u);e&&(clearInterval(e),this.refreshTimers.delete(u))}reload(u,e,t){this.states.delete(u),this.load(u,e,t)}cleanup(){for(let u of this.refreshTimers.values())clearInterval(u);this.refreshTimers.clear()}reset(u){this.states.delete(u),this.clearRefresh(u)}};function re(u){let e=u.indexOf(" ");if(e===-1)throw new Error(`Invalid API route key: "${u}". Expected format: "METHOD /path"`);let t=u.slice(0,e).toUpperCase(),n=u.slice(e+1).trim();if(!n.startsWith("/"))throw new Error(`API route path must start with "/": "${u}"`);let o=[],r=n.replace(/:(\w+)/g,(i,a)=>(o.push(a),"([^/]+)")),s=new RegExp(`^${r}$`);return{method:t,pattern:s,paramNames:o}}function se(u){let e=[];for(let[t,n]of Object.entries(u)){let{method:o,pattern:r,paramNames:s}=re(t);e.push({method:o,pattern:r,paramNames:s,handler:n})}return e}function ie(u,e,t){for(let n of u){if(n.method!==e)continue;let o=t.match(n.pattern);if(!o)continue;let r={};return n.paramNames.forEach((s,i)=>{r[s]=decodeURIComponent(o[i+1])}),{route:n,params:r}}return null}var w8=class{routes=[];server=null;port=0;registerRoutes(u){this.routes=se(u)}async start(){return new Promise((u,e)=>{this.server=oe((t,n)=>{this.handleRequest(t,n)}),this.server.on("error",e),this.server.listen(0,"127.0.0.1",()=>{let t=this.server.address();this.port=typeof t=="object"&&t?t.port:0,u(this.port)})})}async stop(){if(this.server)return new Promise(u=>{this.server.close(()=>u())})}getPort(){return this.port}getBaseUrl(){return`http://127.0.0.1:${this.port}`}async handleRequest(u,e){let t=new URL(u.url||"/",`http://127.0.0.1:${this.port}`),n=(u.method||"GET").toUpperCase(),o=t.pathname;if(e.setHeader("Access-Control-Allow-Origin","*"),e.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, PATCH, OPTIONS"),e.setHeader("Access-Control-Allow-Headers","Content-Type"),e.setHeader("Content-Type","application/json"),n==="OPTIONS"){e.writeHead(204),e.end();return}let r=ie(this.routes,n,o);if(!r){e.writeHead(404),e.end(JSON.stringify({error:"Not found"}));return}let s={};t.searchParams.forEach((c,l)=>{s[l]=c});let i;["POST","PUT","PATCH"].includes(n)&&(i=await this.parseBody(u));let a={method:n,path:o,params:r.params,query:s,body:i,headers:u.headers};try{let c=await r.route.handler(a),l=JSON.stringify(c);e.writeHead(200),e.end(l)}catch(c){let l=c?.message||"Internal server error";e.writeHead(500),e.end(JSON.stringify({error:l}))}}parseBody(u){return new Promise((e,t)=>{let n="";u.on("data",o=>{n+=o.toString()}),u.on("end",()=>{if(!n){e(void 0);return}try{e(JSON.parse(n))}catch{e(n)}}),u.on("error",t)})}},i2="__terminaltui_api_base_url__";function a2(u){u?globalThis[i2]=u:delete globalThis[i2]}function ae(){return globalThis[i2]??null}function y8(u){let e=ae();return u.startsWith("/")&&e?`${e}${u}`:u}var ce=class{entries=new Map;get(u){let e=this.entries.get(u);if(e){if(Date.now()-e.timestamp>e.ttl){this.entries.delete(u);return}return e.data}}set(u,e,t){this.entries.set(u,{data:e,timestamp:Date.now(),ttl:t})}has(u){return this.get(u)!==void 0}delete(u){this.entries.delete(u)}clear(){this.entries.clear()}},pn=new ce,le="__terminaltui_fetcher_registry__";function x8(){let u=globalThis[le];if(u){for(let e of u.values())e.destroy();u.clear()}}function fe(u){let e=u??"";return{value:e,cursorPos:typeof e=="string"?e.length:0,error:null,open:!1,highlightIndex:0,scrollOffset:0}}function he(u,e){return u.name==="q"&&!u.ctrl||u.name==="c"&&u.ctrl?"quit":u.name==="escape"?e?"quit":"back":u.name==="backspace"?e?null:"back":u.name==="up"||u.name==="k"?"up":u.name==="down"||u.name==="j"?"down":u.name==="left"||u.name==="h"?"left":u.name==="right"||u.name==="l"?"right":u.name==="return"?"select":u.char===":"||u.char==="/"?"command":u.name==="tab"?u.shift?"up":"down":u.char==="g"&&!u.shift&&!u.ctrl?"home":u.char==="G"||u.char==="g"&&u.shift?"pageDown":u.char>="1"&&u.char<="9"?`jump${u.char}`:null}function ku(u,e,t){let n=t.find(i=>i.focusIndex===u);if(!n)return null;let o=t.filter(i=>i.focusIndex===u?!1:de(n,i,e));if(o.length===0)return null;let r=o[0],s=p8(n,r,e);for(let i=1;i<o.length;i++){let a=p8(n,o[i],e);a<s&&(r=o[i],s=a)}return r.focusIndex}function de(u,e,t){switch(t){case"right":return e.x>u.x;case"left":return e.x+e.width<u.x+u.width;case"down":return e.y>u.y;case"up":return e.y+e.height<u.y+u.height}}function p8(u,e,t){let n=u.x+u.width/2,o=u.y+u.height/2,r=e.x+e.width/2,s=e.y+e.height/2,i,a;return t==="left"||t==="right"?(i=Math.abs(r-n),a=Math.abs(s-o)):(i=Math.abs(s-o),a=Math.abs(r-n)),i+a*2}function E(u,e){let t=e.margin??0,n=typeof e.border=="boolean"?e.border?1:0:e.border??0,o=e.padding??0,r=t*2+n*2+o*2,s=Math.max(0,u-r);return{allocated:u,margin:t,border:n,padding:o,content:s}}var D={card:{padding:1,border:!0,margin:0},text:{padding:0,border:!1,margin:0},hero:{padding:0,border:!1,margin:0},table:{padding:0,border:!0,margin:0},quote:{padding:1,border:!0,margin:1},badge:{padding:0,border:!1,margin:0},progressBar:{padding:0,border:!1,margin:0},link:{padding:0,border:!1,margin:0},list:{padding:0,border:!1,margin:0},section:{padding:0,border:!1,margin:0},divider:{padding:0,border:!1,margin:0},spacer:{padding:0,border:!1,margin:0},timeline:{padding:1,border:!0,margin:1},gallery:{padding:0,border:!1,margin:0},image:{padding:0,border:!0,margin:0},markdown:{padding:0,border:!1,margin:0},menu:{padding:0,border:!1,margin:0},accordion:{padding:2,border:!1,margin:0},tabs:{padding:2,border:!1,margin:0},scrollView:{padding:0,border:!1,margin:0},textInput:{padding:1,border:!0,margin:0},textArea:{padding:1,border:!0,margin:0},select:{padding:1,border:!0,margin:0},checkbox:{padding:0,border:!1,margin:0},toggle:{padding:0,border:!1,margin:0},radioGroup:{padding:0,border:!1,margin:0},numberInput:{padding:1,border:!0,margin:0},searchInput:{padding:1,border:!0,margin:0},button:{padding:2,border:!0,margin:1},form:{padding:1,border:!0,margin:0},box:{padding:0,border:!1,margin:0}};function iu(u,e){let t=u.border??e.borderStyle??"rounded",n=lu(t),o=u.width??e.width,r=u.padding??1,s=Math.max(0,Math.floor((o-2)/2)),i=Math.min(r,s),a=E(o,{border:!0,padding:i}),c=a.content,l=u.borderColor??e.theme.border,f=[],_=Math.max(0,a.allocated-a.border*2);if(u.title){let F=` ${u.title} `,b="";u.titleRight&&(b=` ${u.titleRight} `);let C=Math.max(0,_-y(F)-y(b)-1);f.push(h(l)+n.topLeft+n.horizontal+d+h(e.theme.accent)+F+d+h(l)+n.horizontal.repeat(C)+(b?d+h(e.theme.muted)+b+d+h(l):"")+n.topRight+d)}else f.push(h(l)+n.topLeft+n.horizontal.repeat(_)+n.topRight+d);let p=[];for(let F of u.content)p.push(F);let m=u.height?Math.max(0,u.height-2):p.length+(i>0,0),g=Math.max(m,p.length);for(let F=0;F<g;F++){let b=p[F]??"",C=" ".repeat(i);f.push(h(l)+n.vertical+d+C+q(b,c)+C+h(l)+n.vertical+d),u.midSeparatorAfter!==void 0&&F===u.midSeparatorAfter&&f.push(h(l)+n.teeRight+n.horizontal.repeat(_)+n.teeLeft+d)}return f.push(h(l)+n.bottomLeft+n.horizontal.repeat(_)+n.bottomRight+d),f}function v8(u,e){if(!u.resultMessage)return[];let t=e.theme,n=E(e.width,D.form),o,r;switch(u.resultType){case"success":o="\u2713",r=t.success;break;case"error":o="\u2717",r=t.error;break;default:o="\u2139",r=t.accent;break}let s=[h(r)+o+" "+u.resultMessage+d];return iu({content:s,width:e.width,border:e.borderStyle??"rounded",padding:1,borderColor:r},e)}function _e(u){let e=[];for(let t of u)"id"in t&&t.type!=="form"&&t.type!=="button"&&e.push(t.id);return e}function p2(u){switch(u.type){case"textInput":case"textArea":return u.defaultValue??"";case"select":case"radioGroup":return u.defaultValue??"";case"checkbox":case"toggle":return u.defaultValue??!1;case"numberInput":return u.defaultValue??0;case"searchInput":return"";default:return}}function m8(u,e){let t=u.toLowerCase(),n=e.toLowerCase(),o=0;for(let r=0;r<n.length&&o<t.length;r++)n[r]===t[o]&&o++;return o===t.length}function c2(u,e,t){if(!e)return u.slice(0,t);let n=[];for(let o of u){let r=m8(e,o.label),s=o.keywords?.some(a=>m8(e,a))??!1,i=o.label.toLowerCase().includes(e.toLowerCase());if(r||s){let a=i?2:r?1:0;n.push({label:o.label,value:o.value,score:a})}}return n.sort((o,r)=>r.score-o.score),n.slice(0,t).map(o=>({label:o.label,value:o.value}))}function pe(u,e,t){let n=t.theme,o=[],r=!!t.focused,s=e.editing,a=E(t.width,D.searchInput).content,c=u.label??"",l="\u{1F50D}";c&&o.push(h(r?n.accent:n.text)+v+" "+c+d);let f;if(e.query.length===0&&!s)f=h(n.subtle)+L+(u.placeholder??"Search...")+d;else if(s){let b=Math.min(e.cursorPos,e.query.length),C=e.query.substring(0,b),w=e.query.substring(b);f=h(n.text)+C+h(n.accent)+"\u2588"+d+h(n.text)+w+d}else f=h(n.text)+e.query+d;let _=[f],p=u.maxResults??5;if(s||e.query.length>0){let b=e.filteredItems;if(b.length===0)_.push(h(n.subtle)+L+"No results"+d);else for(let C=0;C<b.length;C++){let w=b[C],x=C===e.highlightIndex,B=x?"\u276F ":" ",I=x?n.accent:n.text,P=O(w.label,Math.max(1,a-2));_.push(h(I)+(x?v:"")+B+P+d)}}let m=r?n.accent:n.border,g=_.length>1,F=iu({content:_,width:t.width,border:t.borderStyle??"rounded",padding:1,borderColor:m,midSeparatorAfter:g?0:void 0},t);return o.push(...F),o}function me(u,e,t){let n=u.getInputState(e.id,e.defaultValue??""),o=n.value,r=n.cursorPos;if(t.name==="escape"){u.validateInput(e),u.inputMode.exitEdit();return}if(t.name==="return"){u.validateInput(e),u.inputMode.exitEdit(),u.pageFocusNext();return}if(t.name==="up"){u.validateInput(e),u.inputMode.exitEdit(),u.pageFocusPrev();return}if(t.name==="down"){u.validateInput(e),u.inputMode.exitEdit(),u.pageFocusNext();return}t.name==="backspace"?r>0&&(o=o.substring(0,r-1)+o.substring(r),r--):t.name==="delete"?r<o.length&&(o=o.substring(0,r)+o.substring(r+1)):t.name==="left"?r>0&&r--:t.name==="right"?r<o.length&&r++:t.name==="home"?r=0:t.name==="end"?r=o.length:t.char&&t.char.length===1&&!t.ctrl&&t.name!=="tab"&&(!e.maxLength||o.length<e.maxLength)&&(o=o.substring(0,r)+t.char+o.substring(r),r++),e.transform&&(o=e.transform(o),r=Math.min(r,o.length));let s=n.value!==o;n.value=o,n.cursorPos=r,n.error=null,s&&e.onChange&&e.onChange(o)}function ge(u,e,t){let n=u.getInputState(e.id,e.defaultValue??""),o=n.value,r=n.cursorPos;if(t.name==="escape"){u.validateInput(e),u.inputMode.exitEdit();return}if(t.name==="return")(!e.maxLength||o.length<e.maxLength)&&(o=o.substring(0,r)+`
11
+ `+o.substring(r),r++);else if(t.name==="backspace")r>0&&(o=o.substring(0,r-1)+o.substring(r),r--);else if(t.name==="delete")r<o.length&&(o=o.substring(0,r)+o.substring(r+1));else if(t.name==="left")r>0&&r--;else if(t.name==="right")r<o.length&&r++;else if(t.name==="up"){let i=o.substring(0,r).split(`
12
+ `);if(i.length>1){let a=i[i.length-1].length,c=i[i.length-2],l=Math.min(a,c.length);r=i.slice(0,-1).join(`
13
+ `).length-c.length+l,r<0&&(r=0)}}else if(t.name==="down"){let i=o.substring(0,r),a=o.substring(r),c=i.lastIndexOf(`
14
+ `)+1,l=r-c,f=a.indexOf(`
15
+ `);if(f>=0){let _=a.substring(f+1),p=_.indexOf(`
16
+ `),m=p>=0?p:_.length,g=Math.min(l,m);r=r+f+1+g}}else if(t.name==="home")r=o.substring(0,r).lastIndexOf(`
17
+ `)+1;else if(t.name==="end"){let a=o.substring(r).indexOf(`
18
+ `);r=a>=0?r+a:o.length}else t.char&&t.char.length===1&&!t.ctrl&&t.name!=="tab"&&(!e.maxLength||o.length<e.maxLength)&&(o=o.substring(0,r)+t.char+o.substring(r),r++);let s=n.value!==o;n.value=o,n.cursorPos=r,n.error=null,s&&e.onChange&&e.onChange(o)}function Fe(u,e,t){let n=u.getInputState(e.id,e.defaultValue??"");if(t.name==="escape"){n.open=!1,u.inputMode.exitEdit();return}if(!n.open){if(t.name==="return"){n.open=!0;let o=e.options.findIndex(r=>r.value===n.value);n.highlightIndex=o>=0?o:0}return}if(t.name==="up")n.highlightIndex=Math.max(0,n.highlightIndex-1);else if(t.name==="down")n.highlightIndex=Math.min(e.options.length-1,n.highlightIndex+1);else if(t.name==="return"){let o=e.options[n.highlightIndex];o&&(n.value=o.value,e.onChange?.(o.value)),n.open=!1,u.inputMode.exitEdit()}}function be(u,e,t){let n=u.getInputState(e.id,e.defaultValue??0),o=e.step??1,r=e.min??-1/0,s=e.max??1/0;if(t.name==="escape"){u.inputMode.exitEdit();return}if(t.name==="return"||t.name==="up"||t.name==="down"){u.inputMode.exitEdit(),t.name==="up"&&u.pageFocusPrev(),t.name==="down"&&u.pageFocusNext();return}if(t.name==="left"||t.char==="-")n.value=Math.max(r,n.value-o);else if(t.name==="right"||t.char==="+")n.value=Math.min(s,n.value+o);else if(t.char&&/[0-9]/.test(t.char)){let i=String(n.value)==="0"?t.char:String(n.value)+t.char,a=parseInt(i,10);isNaN(a)||(n.value=Math.max(r,Math.min(s,a)))}else if(t.name==="backspace"){let i=String(n.value).slice(0,-1);n.value=i?Math.max(r,Math.min(s,parseInt(i,10)||0)):0}}function Ce(u,e,t){let n=u.getInputState(e.id,""),o=n.value,r=n.cursorPos;if(t.name==="escape")return u.inputMode.exitEdit(),{};if(t.name==="return"){let s=e.maxResults??10,a=c2(e.items,o,s)[n.highlightIndex];return u.inputMode.exitEdit(),a?{action:"search",selected:a}:{}}if(t.name==="up")return n.highlightIndex=Math.max(0,n.highlightIndex-1),{};if(t.name==="down"){let s=e.maxResults??10,i=c2(e.items,o,s);return n.highlightIndex=Math.min(i.length-1,n.highlightIndex+1),{}}return t.name==="backspace"?r>0&&(o=o.substring(0,r-1)+o.substring(r),r--):t.name==="left"?r>0&&r--:t.name==="right"?r<o.length&&r++:t.char&&t.char.length===1&&!t.ctrl&&t.name!=="tab"&&(o=o.substring(0,r)+t.char+o.substring(r),r++),n.value=o,n.cursorPos=r,n.highlightIndex=0,{}}function we(u,e,t){let n=u.getInputState(e.id,e.defaultValue??"");if(t.name==="escape"){u.inputMode.exitEdit();return}if(t.name==="up"){n.highlightIndex>0?n.highlightIndex--:(u.inputMode.exitEdit(),u.pageFocusPrev());return}if(t.name==="down"){n.highlightIndex<e.options.length-1?n.highlightIndex++:(u.inputMode.exitEdit(),u.pageFocusNext());return}if(t.name==="return"||t.name==="space"){let o=e.options[n.highlightIndex];o&&(n.value=o.value,e.onChange?.(o.value));return}}function ye(u,e){if(e.name==="escape"){u.commandMode=!1,u.commandBuffer="",u.render();return}if(e.name==="return"){u.executeCommand(u.commandBuffer),u.commandMode=!1,u.commandBuffer="",u.render();return}if(e.name==="backspace"){u.commandBuffer=u.commandBuffer.slice(0,-1),u.render();return}if(e.char&&e.char.length===1&&!e.ctrl){u.commandBuffer+=e.char,u.render();return}}function xe(u,e){let t=u.router.isHome();if(!t){let o=u.getFocusedInputBlock();if(o&&u.isTextEntryType(o.type)&&u.isAutoEditKey(e)){let r=o.id;u.inputMode.enterEdit(r),u.getInputState(r,p2(o)),u.handleEditMode(e),u.render();return}}let n=he(e,t);if(n)switch(n){case"quit":u.stop();break;case"back":u.router.back()&&(u.scrollOffset=0,u.pageFocusIndex=0,u.pageScrollOffset=0,u.pageFocusItems=[],u.focusRects=[],u.inputMode.reset(),u.render());break;case"up":if(t)u.focus.focusPrev();else{let o=ku(u.pageFocusIndex,"up",u.focusRects);o!==null?u.pageFocusIndex=o:u.pageFocusPrev()}u.render();break;case"down":if(t)u.focus.focusNext();else{let o=ku(u.pageFocusIndex,"down",u.focusRects);o!==null?u.pageFocusIndex=o:u.pageFocusNext()}u.render();break;case"left":if(!t){let o=u.pageFocusItems[u.pageFocusIndex];if(o?.kind==="block"&&o.block.type==="tabs"){let r=o.block,s=r.items.map(a=>a.label).join(","),i=u.tabState.get(s)??0;u.tabState.set(s,i>0?i-1:r.items.length-1)}else{let r=ku(u.pageFocusIndex,"left",u.focusRects);r!==null?u.pageFocusIndex=r:u.router.back()&&(u.scrollOffset=0,u.pageFocusIndex=0,u.pageScrollOffset=0,u.pageFocusItems=[],u.focusRects=[],u.inputMode.reset())}}u.render();break;case"right":if(t){let o=u.focus.focusedId;o&&u.navigateToPage(o)}else{let o=u.pageFocusItems[u.pageFocusIndex];if(o?.kind==="block"&&o.block.type==="tabs"){let r=o.block,s=r.items.map(a=>a.label).join(","),i=u.tabState.get(s)??0;u.tabState.set(s,(i+1)%r.items.length)}else{let r=ku(u.pageFocusIndex,"right",u.focusRects);r!==null&&(u.pageFocusIndex=r)}}u.render();break;case"select":if(t){let o=u.focus.focusedId;o&&u.navigateToPage(o)}else u.handlePageSelect();u.render();break;case"home":u.router.isHome()||(u.pageFocusIndex=0,u.pageScrollOffset=0),u.render();break;case"pageDown":!u.router.isHome()&&u.pageFocusItems.length>0&&(u.pageFocusIndex=u.pageFocusItems.length-1),u.render();break;case"command":u.commandMode=!0,u.commandBuffer="",u.render();break;default:if(n.startsWith("jump")){let o=parseInt(n.replace("jump",""));if(u.router.isHome()){let r=o-1;if(r<u.focus.count){u.focus.focusIndex=r;let s=u.router.getPageId(r);s&&u.navigateToPage(s)}}u.render()}break}}function ve(u,e){let t=u.getFocusedInputBlock();if(!t){u.inputMode.exitEdit(),u.render();return}switch(t.type){case"textInput":me(u,t,e);break;case"textArea":ge(u,t,e);break;case"select":Fe(u,t,e);break;case"numberInput":be(u,t,e);break;case"searchInput":{let n=Ce(u,t,e);n.action==="search"&&n.selected&&Be(u,t,n.selected);break}case"radioGroup":we(u,t,e);break;default:e.name==="escape"&&u.inputMode.exitEdit();break}u.render()}function au(u){return u.toLowerCase().replace(/[^a-z0-9]/g,"")}function Be(u,e,t){if((e.action??(e.onSelect?"callback":"navigate"))==="callback"&&e.onSelect){e.onSelect(t.value);return}let o=t.value,r=u.site.pages.find(c=>c.id===o);if(r){u.router.navigate(o),u.enterPage(),u.showFeedback(`\u2192 ${r.title}`),u.render();return}if(t2(u,o,t.label)){u.showFeedback(t.label),u.render();return}let i=u.getCurrentPage(),a=i?typeof i.content=="function"?u.resolvedPageContent.get(i.id):i.content:null;if(a&&Bu(u,a,o,t.label)){u.render(),setTimeout(()=>{t2(u,o,t.label),u.showFeedback(t.label),u.render()},50);return}for(let c of u.site.pages){if(c.id===u.router.currentPage)continue;let l=typeof c.content=="function"?u.resolvedPageContent.get(c.id):c.content;if(l&&J(o,t.label,l)){u.router.navigate(c.id),u.enterPage(),t2(u,o,t.label),u.showFeedback(`\u2192 ${c.title} \u203A ${t.label}`),u.render();return}}e.onSelect&&e.onSelect(o),u.showFeedback(t.label)}function uu(u,e,t){if(!u)return!1;let n=au(u);return u.toLowerCase().includes(e)||n.includes(t)||t.includes(n)}function t2(u,e,t){let n=e.toLowerCase(),o=au(e),r=t.toLowerCase(),s=au(t);for(let a=0;a<u.pageFocusItems.length;a++){let c=u.pageFocusItems[a];if(c.kind==="block"){let l=c.block;if("id"in l&&l.id===e||l.type==="card"&&(uu(l.title,n,o)||uu(l.subtitle,n,o)||uu(l.title,s,s)||uu(l.subtitle,s,s))||l.type==="link"&&uu(l.label,n,o)||l.type==="hero"&&uu(l.title,n,o))return u.pageFocusIndex=a,!0}if(c.kind==="accordion-item"){let l=c.accordion.items[c.itemIndex].label,f=l.toLowerCase().replace(/[^a-z0-9]/g,""),_=n.replace(/[^a-z0-9]/g,"");if(l.toLowerCase().includes(n)||f.includes(_)||_.includes(f)||l.toLowerCase().startsWith(r.split(" \u2014 ")[0]?.trim().toLowerCase()??"\0")){u.pageFocusIndex=a;let p=c.accordion.items.map(m=>m.label).join(",");return u.accordionState.set(p,c.itemIndex),!0}}if(c.kind==="timeline-item"&&c.timeline.items[c.itemIndex].title.toLowerCase().includes(n))return u.pageFocusIndex=a,!0}let i=u.getCurrentPage();if(i){let a=typeof i.content=="function"?u.resolvedPageContent.get(i.id):i.content;if(a){let c=Ie(a,e,t,u);if(c>=0)return u.pageFocusIndex=c,!0}}return!1}function Bu(u,e,t,n){let o=t.toLowerCase(),r=au(t);for(let s of e){if(s.type==="tabs"){let i=s;for(let a=0;a<i.items.length;a++){let c=i.items[a].content;if(J(t,n,c)){let l=i.items.map(f=>f.label).join(",");return u.tabState.set(l,a),!0}}}if(s.type==="section"&&s.content&&Bu(u,s.content,t,n))return!0;if(s.type==="columns"){for(let i of s.panels)if(Bu(u,i.content,t,n))return!0}if(s.type==="split"){let i=s;if(Bu(u,i.config.first,t,n)||Bu(u,i.config.second,t,n))return!0}}return!1}function Ie(u,e,t,n){let o=e.toLowerCase(),r=au(e),s=au(t),i=0;for(let a of u)if(a.type==="grid"){let c=a;for(let l of c.config.items){let f=W(l.content);if(l.title&&(uu(l.title,o,r)||uu(l.title,s,s)))return i;i+=f}}else if(a.type==="columns")for(let c of a.panels){let l=W(c.content);if(c.title&&(uu(c.title,o,r)||uu(c.title,s,s)))return i;i+=l}else if(a.type==="split"){let c=a;i+=W(c.config.first),i+=W(c.config.second)}else if(a.type==="rows")for(let c of a.panels)i+=W(c.content);else i+=W([a]);return-1}function W(u){let e=0;for(let t of u)if(["card","link","hero","textInput","textArea","select","checkbox","toggle","radioGroup","numberInput","searchInput","button"].includes(t.type))e++;else if(t.type==="accordion")e+=t.items.length;else if(t.type==="timeline")e+=t.items.length;else if(t.type==="tabs")e++;else if(t.type==="section")e+=W(t.content);else if(t.type==="form")e+=W(t.fields);else if(t.type==="columns")for(let n of t.panels)e+=W(n.content);else if(t.type==="rows")for(let n of t.panels)e+=W(n.content);else if(t.type==="split")e+=W(t.config.first),e+=W(t.config.second);else if(t.type==="grid")for(let n of t.config.items)e+=W(n.content);else if(t.type==="panel")e+=W(t.config.content);else if(t.type==="box")e+=W(t.config.children);else if(t.type==="row")for(let n of t.cols)e+=W(n.content);else t.type==="container"&&(e+=W(t.content));return e}function J(u,e,t){let n=u.toLowerCase(),o=au(u);for(let r of t){if("id"in r&&r.id===u||r.type==="card"&&(uu(r.title,n,o)||uu(r.subtitle,n,o)))return!0;if(r.type==="link"){let s=au(r.label);if(r.label.toLowerCase().includes(n)||s.includes(o)||o.includes(s))return!0}if(r.type==="accordion")for(let s of r.items){let i=s.label.toLowerCase().replace(/[^a-z0-9]/g,"");if(s.label.toLowerCase().includes(n)||i.includes(o)||o.includes(i))return!0}if(r.type==="timeline"){for(let s of r.items)if(s.title.toLowerCase().includes(n))return!0}if(r.type==="section"&&J(u,e,r.content)||r.type==="form"&&J(u,e,r.fields))return!0;if(r.type==="columns"){for(let s of r.panels)if(J(u,e,s.content))return!0}if(r.type==="rows"){for(let s of r.panels)if(J(u,e,s.content))return!0}if(r.type==="split"){let s=r;if(J(u,e,s.config.first)||J(u,e,s.config.second))return!0}if(r.type==="grid"){for(let s of r.config.items)if(J(u,e,s.content))return!0}if(r.type==="panel"&&J(u,e,r.config.content)||r.type==="box"&&J(u,e,r.config.children))return!0;if(r.type==="row"){for(let s of r.cols)if(J(u,e,s.content))return!0}if(r.type==="container"&&J(u,e,r.content))return!0}return!1}function Me(u,e){if(e.length===0)return u;if(e.length===1)return u.map(o=>h(e[0])+o+d);let t=Math.max(...u.map(o=>o.length),2),n=zu(e,t);return u.map(o=>{let r="",s=!1;for(let i=0;i<o.length;i++)o[i]===" "?(s&&(r+=d,s=!1),r+=" "):(r+=h(n[i])+o[i],s=!0);return r+d})}var Ae={dots:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],bars:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u2588","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E","\u258F"],braille:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"],circle:["\u25D0","\u25D3","\u25D1","\u25D2"],bounce:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"],line:["-","\\","|","/"]};function l2(u,e){let t=Ae[u];return t[e%t.length]}function f2(u,e,t){let n=[],o=t.theme,r=E(t.width,D.menu);for(let s=0;s<u.length;s++){let i=u[s],a=s===e,c=i.icon??"\u25C6",f=` [${`${s+1}`}]`;if(a){let p=Math.max(1,r.content-7-y(f)),m=O(i.label,p),g=h(o.accent)+"\u276F"+d,F=h(o.accent)+v+` ${c} `+d,b=h(o.accent)+v+m+d,C=h(o.muted)+L+f+d;n.push(` ${g}${F}${b}${C}`)}else{let p=Math.max(1,r.content-7-y(f)),m=O(i.label,p),g=h(o.muted)+` ${c} `+d,F=h(o.text)+m+d,b=h(o.subtle)+L+f+d;n.push(` ${g}${F}${b}`)}}return n}function B8(u,e){if(u===void 0||u==="auto")return"auto";if(typeof u=="number")return u;if(typeof u=="string"&&u.endsWith("%")){let n=parseFloat(u);if(!isNaN(n))return Math.floor(n/100*e)}let t=parseInt(u,10);return isNaN(t)?"auto":t}function I8(u,e,t){let n=Math.max(0,e-t),o=0,r=0;for(let a of u)a==="auto"?r++:o+=a;if(o>n&&o>0&&r===0){let a=n/o;return u.map(c=>Math.max(0,c==="auto"?0:Math.floor(c*a)))}let s=Math.max(0,n-o),i=r>0?Math.floor(s/r):0;return u.map(a=>Math.max(0,a==="auto"?i:a))}var Pe=10,Ee=3,$u=3;function Au(u,e,t){if(u.length===0)return[];if(u.length===1)return[{x:0,y:0,width:e,height:t,panel:u[0]}];let o=(u.length-1)*$u,r=Math.max(0,e-o),s=u.map(l=>B8(l.width,r)),i=I8(s,e,o),a=[],c=0;for(let l=0;l<u.length;l++)a.push({x:c,y:0,width:i[l],height:t,panel:u[l]}),c+=i[l],l<u.length-1&&(c+=$u);return a}function m2(u,e,t){if(u.length===0)return[];if(u.length===1)return[{x:0,y:0,width:e,height:t,panel:u[0]}];let n=u.length-1,o=u.map(a=>B8(a.height,t)),r=I8(o,t,n),s=[],i=0;for(let a=0;a<u.length;a++)s.push({x:0,y:i,width:e,height:r[a],panel:u[a]}),i+=r[a],a<u.length-1&&(i+=1);return s}function h2(u,e,t){let n=u.ratio??50,r=u.border!==!1?$u:0;if(u.direction==="horizontal"){let s=Math.floor((e-r)*n/100),i=e-s-r;return[{x:0,y:0,width:s,height:t,panel:{content:u.first}},{x:s+r,y:0,width:i,height:t,panel:{content:u.second}}]}else{let s=Math.floor((t-r)*n/100),i=t-s-r;return[{x:0,y:0,width:e,height:s,panel:{content:u.first}},{x:0,y:s+r,width:e,height:i,panel:{content:u.second}}]}}function M8(u,e,t){let{cols:n,items:o,gap:r=1}=u;if(o.length===0||n<=0)return[];let s=u.rows??Math.ceil(o.length/n),i=Math.max(Pe,Math.floor((e-r*(n-1))/n)),a=Math.max(Ee,Math.floor((t-r*(s-1))/s)),c=[];for(let l=0;l<o.length;l++){let f=l%n,_=Math.floor(l/n);if(_>=s)break;c.push({x:f*(i+r),y:_*(a+r),width:i,height:a,panel:o[l]})}return c}function _u(u,e){let n=u*20+(u-1);return e<n}function A8(u,e,t){let o=u;for(;o>1&&!(Math.floor((e-t*(o-1))/o)>=20);)o--;return Math.max(1,o)}var Se=12;function g2(u){return u<60?"xs":u<90?"sm":u<120?"md":"lg"}function F2(u,e,t){let n=e;return n==="xs"&&u.xs!==void 0?u.xs:(n==="xs"||n==="sm")&&u.sm!==void 0?u.sm:(n==="xs"||n==="sm"||n==="md")&&u.md!==void 0?u.md:u.lg!==void 0&&n==="lg"?u.lg:u.span??t}function P8(u,e,t=1,n=e){if(u.length===0)return[];let o=g2(n),r=Math.max(1,Math.floor(Se/u.length)),s=u.map(_=>F2(_,o,r)),i=s.reduce((_,p)=>_+p,0),a=u.length>1?(u.length-1)*$u:0,c=Math.max(0,e-a),l=u.map((_,p)=>Math.max(1,Math.floor(s[p]/i*c))),f=c-l.reduce((_,p)=>_+p,0);for(let _=0;_<l.length&&f>0;_++)l[_]++,f--;return u.map((_,p)=>({content:_.content,width:l[p],padding:_.padding}))}function E8(u,e,t,n){let o=[];return N(u,0,0,e,t,o,{value:0},n),o}function N(u,e,t,n,o,r,s,i){let a=t;for(let c of u)switch(c.type){case"columns":{let l=c;if(_u(l.panels.length,n))for(let f of l.panels){let _=xu(f);a=N(f.content,e+_.dx,a+_.dy,n-_.dw,o-_.dh,r,s,i),a+=2}else{let f=Au(l.panels,n,o);for(let p=0;p<f.length;p++){let m=f[p],g=xu(l.panels[p]);N(l.panels[p].content,e+m.x+g.dx,a+g.dy,m.width-g.dw,m.height-g.dh,r,s,i)}let _=f.length>0?Math.max(...f.map(p=>p.height)):0;a+=_+1}break}case"rows":{let l=c,f=m2(l.panels,n,o);for(let p=0;p<f.length;p++){let m=f[p],g=xu(l.panels[p]);N(l.panels[p].content,e+m.x+g.dx,a+m.y+g.dy,m.width-g.dw,m.height-g.dh,r,s,i)}let _=f.length>0?f[f.length-1].y+f[f.length-1].height:0;a+=_+1;break}case"split":{let f=c.config,m=f.direction==="horizontal"&&_u(2,n)?{...f,direction:"vertical"}:f,g=h2(m,n,o),F=[f.first,f.second];for(let C=0;C<g.length;C++){let w=g[C];N(F[C],e+w.x,a+w.y,w.width,w.height,r,s,i)}let b=g.length>0?Math.max(...g.map(C=>C.y+C.height)):0;a+=b+1;break}case"grid":{let l=c,f=l.config.gap??1,_=A8(l.config.cols,n,f),p={...l.config,cols:_},m=M8(p,n,o);for(let F=0;F<m.length;F++){let b=m[F],C=l.config.items[F];if(!C)continue;let w=xu(C);N(C.content,e+b.x+w.dx,a+b.y+w.dy,b.width-w.dw,b.height-w.dh,r,s,i)}let g=m.length>0?Math.max(...m.map(F=>F.y+F.height)):0;a+=g+1;break}case"panel":{let l=c,f=xu(l.config);a=N(l.config.content,e+f.dx,a+f.dy,n-f.dw,o-f.dh,r,s,i),a+=1;break}case"box":{let l=c.config,f=l.direction??"column",_=l.gap??0,p=l.children??[];if(f==="row"){let m=p.map(g=>g.type==="box"?{content:[g],width:g.config?.width,height:g.config?.height,padding:g.config?.padding}:{content:[g]});if(_u(m.length,n))for(let g of m)a=N(g.content,e,a,n,o,r,s,i),a+=_||1;else{let g=Au(m,n,o);for(let b=0;b<g.length;b++){let C=g[b];N(m[b].content,e+C.x,a,C.width,C.height,r,s,i)}let F=g.length>0?Math.max(...g.map(b=>b.height)):0;a+=F+1}}else{for(let m=0;m<p.length;m++)m>0&&_>0&&(a+=_),a=N([p[m]],e,a,n,o,r,s,i);a+=1}break}case"row":{let l=c,f=l.gap??1,_=l.cols,p=g2(n),m=Math.max(1,Math.floor(12/_.length)),g=_.map(C=>F2(C,p,m)),F=[[]],b=0;for(let C=0;C<_.length;C++){let w=_[C].offset??0,x=g[C]+w;b+x>12&&F[F.length-1].length>0&&(F.push([]),b=0),F[F.length-1].push(_[C]),b+=x}for(let C of F){let w=P8(C,n,f,n);if(_u(w.length,n))for(let x of w)a=N(x.content,e,a,n,o,r,s,i),a+=2;else{let x=Au(w,n,o);for(let I=0;I<x.length;I++){let P=x[I];N(w[I].content,e+P.x,a,P.width,P.height,r,s,i)}let B=x.length>0?Math.max(...x.map(I=>I.height)):0;a+=B+1}}break}case"container":{let l=c,f=l.padding??0,_=l.maxWidth??n,p=Math.max(1,Math.min(n,_)-f*2),m=n-p,g=l.center!==!1?Math.floor(m/2):f;a=N(l.content,e+g,a,p,o,r,s,i),a+=1;break}case"section":a+=3,a=N(c.content,e,a,n,o,r,s,i);break;case"form":a=N(c.fields,e,a,n,o,r,s,i);break;case"dynamic":{let l=i(c);a=N(l,e,a,n,o,r,s,i);break}case"accordion":{for(let l=0;l<c.items.length;l++)r.push({focusIndex:s.value,x:e,y:a,width:n,height:2}),s.value++,a+=2;a+=1;break}case"timeline":{for(let l=0;l<c.items.length;l++)r.push({focusIndex:s.value,x:e,y:a,width:n,height:3}),s.value++,a+=3;a+=1;break}case"tabs":{r.push({focusIndex:s.value,x:e,y:a,width:n,height:3}),s.value++,a+=4;break}default:{let l=A.isFocusable(c.type),f=De(c,n);l&&(r.push({focusIndex:s.value,x:e,y:a,width:n,height:f}),s.value++),a+=f+1}}return a}function De(u,e){switch(u.type){case"card":{let t=3;return u.subtitle&&t++,u.body&&(t+=Math.ceil(u.body.length/Math.max(1,e-6))+1),u.tags&&u.tags.length>0&&t++,Math.max(3,t)}case"link":return 1;case"hero":return 5;case"textInput":return 3;case"textArea":return(u.rows??3)+2;case"select":return 2;case"checkbox":return 1;case"toggle":return 1;case"radioGroup":return(u.options?.length??2)+1;case"numberInput":return 2;case"searchInput":return 3;case"button":return 1;case"text":return Math.max(1,Math.ceil((u.content?.length??0)/Math.max(1,e))+1);case"table":return(u.rows?.length??0)+3;case"list":return(u.items?.length??0)+1;case"divider":return 1;case"spacer":return u.lines??1;case"quote":return 3;case"badge":return 1;case"image":return 10;case"progressBar":return 2;case"gallery":return 8;default:return 3}}function xu(u){let e=u.border===!0||typeof u.border=="string"&&u.border!=="none"&&u.border!=="left"&&u.border!=="right"&&u.border!=="top"&&u.border!=="bottom",t=u.padding??0,n=!!u.title&&!e,o=e?1:0,r=n?1:0;return{dx:o+t,dy:o+t+r,dw:(o+t)*2,dh:(o+t)*2+r}}function Te(u,e,t){let o=E(t.width,{padding:1,border:!0}).content,r=[];if(e.messages.length===0&&!e.loading){if(u.suggestedQuestions&&u.suggestedQuestions.length>0){r.push(h(t.theme.muted)+L+" Try asking:"+d);for(let c of u.suggestedQuestions)r.push(h(t.theme.subtle)+" "+c+d);r.push("")}}else for(let c of e.messages){if(c.role==="user")r.push(h(t.theme.accent)+v+" You: "+d+h(t.theme.text)+c.content+d);else{let l=K(c.content,Math.max(1,o-6));r.push(h(t.theme.muted)+v+" AI: "+d+h(t.theme.text)+l[0]+d);for(let f=1;f<l.length;f++)r.push(" "+h(t.theme.text)+l[f]+d)}r.push("")}e.loading&&(r.push(h(t.theme.accent)+" ..."+d),r.push("")),e.error&&(r.push(h(t.theme.error)+" "+e.error+d),r.push(""));let s=u.placeholder??"Type a message...",i=e.input||(t.editing?"":h(t.theme.subtle)+s+d),a=t.editing?h(t.theme.accent)+v+" > "+d:h(t.theme.muted)+" > "+d;return r.push(a+i),r}function S8(u,e,t){let o=E(e.width,D.text).content,r=e.theme;return t==="markdown"?Le(u,o,r):K(u,o).map(s=>n8(s,r.text))}function Le(u,e,t){let n=[],o=u.split(/\n\n+/);for(let r of o){let s=r.trim();if(!s)continue;let i=s.split(`
19
+ `);for(let a of i){let c=a.trim();if(!c)continue;if(c.startsWith("#")){let _=c.match(/^(#+)\s+(.*)/);if(_){let p=_[2];n.push(v+h(t.accent)+p+d);continue}}if(c.match(/^[-*]\s/)){let _=c.replace(/^[-*]\s+/,""),p=n2(_,t),m=g8(_),g=K(m,e-2);for(let F=0;F<g.length;F++){let b=F===0?"\u2022 ":" ",C=F===0?n2(g[F],t):h(t.text)+g[F]+d;n.push(h(t.text)+b+C+d)}continue}let l=g8(c),f=K(l,e);for(let _ of f)n.push(h(t.text)+n2(_,t)+d)}n.push("")}return n.length>0&&n[n.length-1]===""&&n.pop(),n}function n2(u,e){let t=u;return t=t.replace(/\*\*(.+?)\*\*/g,(n,o)=>v+h(e.accent)+o+d+h(e.text)),t=t.replace(/\*(.+?)\*/g,(n,o)=>du+o+d+h(e.text)),t=t.replace(/`(.+?)`/g,(n,o)=>h(e.warning)+o+d+h(e.text)),t}function g8(u){return u.replace(/\*\*(.+?)\*\*/g,"$1").replace(/\*(.+?)\*/g,"$1").replace(/`(.+?)`/g,"$1")}function b2(u,e){let t=e.theme,o=E(e.width,D.card).content,r=[],s=e.focused?"\u25C6":"\u25C7",i=u.title??"";if(u.subtitle){let a=s+" ",c=u.subtitle,l=y(a)+y(i)+1+y(c);if(l>o){let f=Math.max(1,o-y(a)),_=Math.min(y(c),Math.max(4,Math.floor(f/2))),p=O(c,_),m=yu(p),g=Math.max(1,f-1-y(m)),F=O(i,g),b=yu(F),C=y(a)+y(b)+y(m),w=Math.max(1,o-C);r.push(h(t.accent)+s+" "+v+F+d+" ".repeat(w)+h(t.muted)+p+d)}else{let f=Math.max(1,o-l);r.push(h(t.accent)+s+" "+v+i+d+" ".repeat(f)+h(t.muted)+u.subtitle+d)}}else{let a=s+" ";if(y(a)+y(i)>o){let c=Math.max(1,o-y(a)),l=O(i,c);r.push(h(t.accent)+s+" "+v+l+d)}else r.push(h(t.accent)+s+" "+v+i+d)}if(u.body){let a=K(u.body,o);for(let c of a)r.push(h(t.text)+c+d)}if(u.tags&&u.tags.length>0){r.push("");let a="",c="";for(let l=0;l<u.tags.length;l++){let _="["+u.tags[l]+"]",p=h(t.warning)+_+d;y(a)===0?(a=_,c=p):y(a)+1+y(_)<=o?(a+=" "+_,c+=" "+p):(r.push(c),a=_,c=p)}c&&r.push(c)}return iu({content:r,width:e.width,border:u.border??e.borderStyle??"rounded",padding:1,borderColor:e.focused?e.theme.accent:void 0},e)}function D8(u,e,t){let n=[],o=e.theme,r=E(e.width,D.timeline),s=e.width,i=r.content;for(let a=0;a<u.length;a++){let c=u[a],l=a===0,f=a===u.length-1,_=l?"\u25CF":"\u25CB",p=h(o.accent)+" "+_+" "+d,m=r.content,g;if(c.subtitle)if((c.title+" \xB7 "+c.subtitle).length>m){let b=m-c.title.length-3;b>0?g=p+h(o.accent)+v+c.title+d+h(o.muted)+" \xB7 "+O(c.subtitle,b)+d:g=p+h(o.accent)+v+O(c.title,m)+d}else g=p+h(o.accent)+v+c.title+d+h(o.muted)+" \xB7 "+c.subtitle+d;else g=p+h(o.accent)+v+O(c.title,m)+d;if(n.push(g),c.period&&n.push(h(o.border)+" \u2502 "+d+h(o.muted)+L+c.period+d),c.description){let F=K(c.description,i);for(let b of F)n.push(h(o.border)+" \u2502 "+d+h(o.text)+b+d)}f||n.push(h(o.border)+" \u2502"+d)}return n}function T8(u,e,t,n){let o=t.theme,r=E(t.width,D.progressBar),s=n?.max??100,i=n?.showPercent??!0,a=Number.isFinite(e)?e:0,c=Math.min(100,Math.max(0,a/s*100)),l=i?5:0,f=Math.max(4,Math.floor(r.content*.4)),_=Math.min(y(u)+2,f),p=Math.max(5,r.content-_-l-2),m=Math.round(c/100*p),g=p-m,F;c>=70?F=o.success:c>=40?F=o.warning:F=o.error;let b=y(u)>_-2?O(u,_-2):u,C=h(o.text)+q(b,_)+d,w=h(F)+"\u2588".repeat(m)+d,x=h(o.subtle)+"\u2591".repeat(g)+d,B=i?h(o.muted)+` ${Math.round(c)}%`+d:"";return[C+w+x+B]}function L8(u,e,t){let n=t.theme,o=[],r=u.length,s=E(t.width,D.table),i=u.map((p,m)=>Math.max(y(p),...e.map(F=>y(F[m]??"")))+2),a=Math.max(r,s.content-(r-1)),c=i.reduce((p,m)=>p+m,0);if(c>a){for(let m=0;m<i.length;m++)i[m]=Math.max(2,Math.floor(i[m]/c*a));let p=i.reduce((m,g)=>m+g,0);for(;p>a;){let m=0;for(let g=1;g<i.length;g++)i[g]>i[m]&&(m=g);if(i[m]<=2)break;i[m]--,p--}}let l=t.borderStyle??"single",f=lu(l);o.push(h(n.border)+f.topLeft+i.map(p=>f.horizontal.repeat(p)).join(f.teeDown)+f.topRight+d);let _=u.map((p,m)=>{let g=" "+p,F=i[m]-1,b=y(g)>F?O(g,F)+" ":q(g,i[m]);return h(n.accent)+v+b+d});o.push(h(n.border)+f.vertical+d+_.join(h(n.border)+f.vertical+d)+h(n.border)+f.vertical+d),o.push(h(n.border)+f.teeRight+i.map(p=>f.horizontal.repeat(p)).join(f.cross)+f.teeLeft+d);for(let p of e){let m=p.map((g,F)=>{let b=" "+(g??""),C=i[F]-1,w=y(b)>C?O(b,C)+" ":q(b,i[F]);return h(n.text)+w+d});o.push(h(n.border)+f.vertical+d+m.join(h(n.border)+f.vertical+d)+h(n.border)+f.vertical+d)}return o.push(h(n.border)+f.bottomLeft+i.map(p=>f.horizontal.repeat(p)).join(f.teeUp)+f.bottomRight+d),o}function O8(u,e,t,n){let o=t.theme,r=n?.icon??"\u2192",s=n?.focused??t.focused??!1,a=E(t.width,D.link).content;if(s){let F=" \u276F "+r+" ",b=" ",C=y(F),w=a-C;if(w<=0)return[h(o.accent)+v+O(F,a)+d];let x=y(u)+y(b)+y(e);if(C+x<=a)return[h(o.accent)+v+F+wu+u+d+h(o.muted)+L+b+e+d];let B=a-C-y(u)-y(b);if(B>=4){let P=O(e,B);return[h(o.accent)+v+F+wu+u+d+h(o.muted)+L+b+P+d]}let I=O(u,w);return[h(o.accent)+v+F+wu+I+d]}let c=" "+r+" ",l=" ",f=y(c),_=a-f;if(_<=0)return[h(o.text)+O(c,a)+d];let p=y(u)+y(l)+y(e);if(f+p<=a)return[h(o.text)+c+u+d+h(o.subtle)+L+l+e+d];let m=a-f-y(u)-y(l);if(m>=4){let F=O(e,m);return[h(o.text)+c+u+d+h(o.subtle)+L+l+F+d]}let g=O(u,_);return[h(o.text)+c+g+d]}function R8(u,e){let t=u.theme,n=e?.color??t.border,r=E(u.width,D.divider).content;if(e?.style==="label"&&e.label){let i=Math.max(0,r-8),a=e.label;a.length>i&&(a=a.slice(0,Math.max(0,i-1))+"\u2026");let c=` ${a} `,l=Math.max(0,r-c.length-4),f=Math.floor(l/2),_=l-f;return[h(n)+"\u2500\u2500"+"\u2500".repeat(f)+d+h(t.muted)+c+d+h(n)+"\u2500".repeat(_)+"\u2500\u2500"+d]}let s="\u2500";return e?.style==="dashed"?s="\u2504":e?.style==="dotted"?s="\xB7":e?.style==="double"&&(s="\u2550"),[h(n)+s.repeat(r)+d]}function k8(u=1){return Array(Math.max(0,u)).fill("")}function $8(u,e,t){let n=e.theme,o=t?.style??"border",s=E(e.width,D.quote).content,i=[],a=K(`"${u}"`,s);if(o==="border"){for(let c of a)i.push(h(n.accent)+" \u2502 "+d+du+h(n.text)+c+d);if(t?.attribution){let c="\u2014 "+t.attribution;y(c)>s&&(c=c.substring(0,s-1)+"\u2026");let l=Math.max(0,s-y(c));i.push(h(n.accent)+" \u2502 "+d+h(n.muted)+L+" ".repeat(l)+c+d)}}else if(o==="fancy"){i.push(h(n.accent)+" \u250C"+"\u2500".repeat(s+2)+"\u2510"+d);for(let c of a)i.push(h(n.accent)+" \u2502 "+d+du+h(n.text)+c+" ".repeat(Math.max(0,s-y(c)))+d+h(n.accent)+" \u2502"+d);if(t?.attribution){let c="\u2014 "+t.attribution,l=Math.max(0,s-y(c));i.push(h(n.accent)+" \u2502 "+d+" ".repeat(l)+h(n.muted)+c+d+h(n.accent)+" \u2502"+d)}i.push(h(n.accent)+" \u2514"+"\u2500".repeat(s+2)+"\u2518"+d)}else{for(let c of a)i.push(" "+du+h(n.text)+c+d);t?.attribution&&i.push(" "+h(n.muted)+L+"\u2014 "+t.attribution+d)}return i}function Y8(u,e,t){let n=E(e.width,D.badge),o=t?.color??e.theme.warning;return(t?.style??"outline")==="filled"?Uu+h(o)+` ${u} `+d:h(o)+`[${u}]`+d}function W8(u,e){let t=e.theme,n=[],r=E(e.width,D.hero).content;n.push("");let s=K(u.title,r);for(let i of s){let a=h(t.accent)+v+i+d;n.push(q(a,r,"center"))}if(n.push(""),u.subtitle){let i=K(u.subtitle,r);for(let a of i){let c=h(t.text)+a+d;n.push(q(c,r,"center"))}n.push("")}if(u.cta){let i=h(t.accent)+v+wu+u.cta.label+d;n.push(q(i,r,"center")),n.push("")}if(u.art){let i=u.art.split(`
20
+ `);for(let a of i)n.push(q(h(t.muted)+a+d,r,"center"))}return n.push(""),n}function j8(u,e,t){let n=E(e.width,D.list),o=e.theme,r=t??"bullet",s={bullet:()=>"\u2022",number:c=>`${c+1}.`,dash:()=>"\u2500",check:()=>"\u2713",arrow:()=>"\u2192"},i=s[r]??s.bullet,a=[];for(let c=0;c<u.length;c++){let f=` ${i(c)} `,_=" ".repeat(f.length),p=Math.max(1,n.content-f.length),m=K(u[c],p);for(let g=0;g<m.length;g++)g===0?a.push(h(o.accent)+f+d+h(o.text)+m[g]+d):a.push(_+h(o.text)+m[g]+d)}return a}function N8(u,e,t){let n=E(e.width,D.image),o=Math.min(t?.width??Math.min(40,n.content),n.content),r=Math.floor(o/3),s=e.theme,i=[];i.push(h(s.border)+"\u250C"+"\u2500".repeat(o)+"\u2510"+d);for(let a=0;a<r;a++)if(a===Math.floor(r/2)){let c=`[Image: ${u}]`,l=Math.max(0,o-y(c)),f=Math.floor(l/2),_=l-f;i.push(h(s.border)+"\u2502"+d+" ".repeat(f)+h(s.muted)+c+d+" ".repeat(_)+h(s.border)+"\u2502"+d)}else i.push(h(s.border)+"\u2502"+" ".repeat(o)+"\u2502"+d);return i.push(h(s.border)+"\u2514"+"\u2500".repeat(o)+"\u2518"+d),i}function H8(u,e,t){let n=E(e.width,D.gallery),o=t?.columns??Math.min(3,Math.max(1,Math.floor(n.content/30))),r=t?.scrollIndex??0,s=e.theme,i=Math.floor((n.content-(o-1)*2)/o);for(;i<20&&o>1;)o--,i=Math.floor((n.content-(o-1)*2)/o);let c=u.slice(r,r+o).map(_=>b2(_,{...e,width:i})),l=Math.max(0,...c.map(_=>_.length)),f=[];for(let _=0;_<l;_++){let p=c.map(m=>{let g=m[_]??"";return q(g,i)});f.push(p.join(" "))}if(u.length>o){let _=h(s.muted)+L+` \u25C2 ${r+1}-${Math.min(r+o,u.length)} of ${u.length} \u25B8`+d;f.push(q(_,n.content,"center"))}return f}A.register("text",(u,e)=>S8(u.content,e,u.style));A.register("list",(u,e)=>j8(u.items,e,u.style));A.register("quote",(u,e)=>$8(u.text,e,{attribution:u.attribution,style:u.style}));A.register("table",(u,e)=>L8(u.headers,u.rows,e));A.register("progressBar",(u,e)=>T8(u.label,u.value,e,{max:u.max,showPercent:u.showPercent}));A.register("badge",(u,e)=>[Y8(u.text,e,{color:u.color,style:u.style})]);A.register("image",(u,e)=>N8(u.path,e,{width:u.width,mode:u.mode}));A.register("divider",(u,e)=>R8(e,{style:u.style,label:u.label,color:u.color}));A.register("spacer",u=>k8(u.lines));A.register("custom",(u,e)=>u.render(e.width,e.theme));A.register("card",(u,e)=>b2(u,e),!0);A.register("link",(u,e)=>O8(u.label,u.url,e,{icon:u.icon}),!0);A.register("hero",(u,e)=>W8(u,e),!0);A.register("tabs",(u,e)=>[],!0);A.register("accordion",(u,e)=>[],!0);A.register("timeline",(u,e)=>D8(u.items,e,u.style));A.register("gallery",(u,e)=>H8(u.items,e,{columns:u.columns}));A.register("textInput",(u,e)=>[],!0);A.register("textArea",(u,e)=>[],!0);A.register("select",(u,e)=>[],!0);A.register("checkbox",(u,e)=>[],!0);A.register("toggle",(u,e)=>[],!0);A.register("radioGroup",(u,e)=>[],!0);A.register("numberInput",(u,e)=>[],!0);A.register("searchInput",(u,e)=>[],!0);A.register("button",(u,e)=>[],!0);A.register("columns",(u,e)=>[]);A.register("rows",(u,e)=>[]);A.register("split",(u,e)=>[]);A.register("grid",(u,e)=>[]);A.register("panel",(u,e)=>[]);A.register("box",(u,e)=>[]);A.register("row",(u,e)=>[]);A.register("container",(u,e)=>[]);function Oe(u,e,t,n){let o=t.theme,r=t.focused??!1,s=[],i=E(t.width,D.accordion);for(let a=0;a<u.length;a++){let c=u[a],l=a===e,f=l?"\u25BE":"\u25B8",_=r&&(l||e<0&&a===0),p=Math.max(0,i.content-2),m=O(c.label,p),g=l||_?o.accent:o.text,F=_?"\u276F ":" ";if(s.push(h(g)+v+`${F}${f} ${m}`+d),l){let b=n(c.content,{...t,width:i.content,focused:!1});for(let C of b)s.push(" "+C);s.push("")}}return s}function Re(u,e,t,n){let o=t.theme,r=[],s=E(t.width,D.tabs),i=" ";for(let c=0;c<u.length;c++){let l=u[c];c===e?i+=Uu+h(o.accent)+` ${l.label} `+d+" ":i+=h(o.muted)+`[${l.label}]`+d+" "}r.push(i),r.push(h(o.border)+" "+"\u2500".repeat(Math.max(0,s.content))+d);let a=u[e];if(a){let c=n(a.content,{...t,width:s.content});for(let l of c)r.push(" "+l)}return r}function ke(u,e,t){let n=t.theme,o=[],r=!!t.focused,s=e.editing;o.push(h(r?n.accent:n.text)+v+" "+u.label+d);let a=E(t.width,D.textInput).content,c,l=e.value;if(l.length===0&&!s?c=h(n.subtle)+L+(u.placeholder??"")+d:u.mask&&l.length>0?c=h(n.text)+"\u25CF".repeat(l.length)+d:c=h(n.text)+l+d,s){let p=Math.min(e.cursorPos,l.length),m;u.mask?m="\u25CF".repeat(l.length):m=l;let g=Math.max(1,a-1),F=0;p>g&&(F=p-g);let b=F+g,C=m.substring(F,b),w=p-F,x=C.substring(0,w),B=w<C.length?C[w]:" ",I=C.substring(w+1);c=h(n.text)+x+h(n.accent)+v+"\u2588"+d+h(n.text)+I+d,w>=C.length&&(c=h(n.text)+C+h(n.accent)+"\u2588"+d)}let f=r?n.accent:n.border,_=iu({content:[c],width:t.width,border:t.borderStyle??"rounded",padding:1,borderColor:f},t);return o.push(..._),e.error&&o.push(h(n.error)+" \u2717 "+e.error+d),o}function $e(u,e,t){let n=t.theme,o=[],r=!!t.focused,s=e.editing,i=u.rows??4,c=E(t.width,D.textArea).content;o.push(h(r?n.accent:n.text)+v+" "+u.label+d);let l=e.value,f=l.split(`
21
+ `),_=[],p=[];for(let x=0;x<f.length;x++)if(f[x].length===0)_.push(""),p.push({origLine:x,origCol:0});else{let B=K(f[x],c);for(let I of B)_.push(I),p.push({origLine:x,origCol:0})}let m=0,g=0;if(s){let x=e.cursorPos;for(let B=0;B<f.length;B++){if(x<=f[B].length){let I=0;for(let P=0;P<_.length;P++)if(p[P].origLine===B){if(x<=_[P].length){m=P,g=x;break}if(x-=_[P].length,x>0&&P+1<_.length&&p[P+1]?.origLine===B)continue;m=P,g=_[P].length;break}break}x-=f[B].length+1}}let F=e.scrollOffset;s&&(m<F?F=m:m>=F+i&&(F=m-i+1)),F=Math.max(0,Math.min(F,Math.max(0,_.length-i)));let b=[];for(let x=0;x<i;x++){let B=F+x;if(B<_.length){let I=_[B];if(s&&B===m){let P=I.substring(0,g),R=I.substring(g);I=h(n.text)+P+h(n.accent)+"\u2588"+d+h(n.text)+R+d}else I=h(n.text)+I+d;if(_.length>i){let P=Math.max(1,Math.floor(i*i/_.length)),R=Math.floor(F*i/_.length);x>=R&&x<R+P}b.push(I)}else b.push("")}l.length===0&&!s&&u.placeholder&&(b[0]=h(n.subtle)+L+u.placeholder+d);let C=r?n.accent:n.border,w=iu({content:b,width:t.width,border:t.borderStyle??"rounded",padding:1,borderColor:C},t);return o.push(...w),e.error&&o.push(h(n.error)+" \u2717 "+e.error+d),o}function Ye(u,e,t){let n=t.theme,o=[],r=!!t.focused,i=E(t.width,D.select).content;o.push(h(r?n.accent:n.text)+v+" "+u.label+d);let a=u.options.find(C=>C.value===e.value),c=a?.label??u.placeholder??"Choose an option...",l=a?n.text:n.subtle,f=e.open?"\u25B4":"\u25BE",_=h(n.muted)+f+d,p=Math.max(1,i-2),m=O(c,p),g=y(m),F=Math.max(1,i-g-1),b=h(l)+m+d+" ".repeat(F)+_;if(e.open){let C=[b],w=0;for(let I=0;I<u.options.length;I++){let P=u.options[I],R=I===e.highlightIndex,Y=R?"\u276F ":" ",T=R?n.accent:n.text,k=O(P.label,Math.max(1,i-2));C.push(h(T)+(R?v:"")+Y+k+d)}let x=r?n.accent:n.border,B=iu({content:C,width:t.width,border:t.borderStyle??"rounded",padding:1,borderColor:x,midSeparatorAfter:w},t);o.push(...B)}else{let C=r?n.accent:n.border,w=iu({content:[b],width:t.width,border:t.borderStyle??"rounded",padding:1,borderColor:C},t);o.push(...w)}return o}function We(u,e,t){let n=t.theme,o=!!t.focused,r=E(t.width,D.checkbox),s=e?"\u2611":"\u2610",i=e||o?n.accent:n.muted,a=o?n.accent:n.text;return[h(i)+(o?v:"")+" "+s+d+h(a)+" "+u.label+d]}function je(u,e,t){let n=t.theme,o=!!t.focused,r=E(t.width,D.toggle),s=u.onLabel??"On",i=u.offLabel??"Off",a=o?n.accent:n.text,c,l;return e?(c=h(n.accent)+"\u25CB\u2500\u2500\u2500\u2500\u25CF"+d,l=h(n.accent)+v+" "+s+d):(c=h(n.muted)+"\u25CF\u2500\u2500\u2500\u2500\u25CB"+d,l=h(n.muted)+L+" "+i+d),[h(a)+(o?v:"")+" "+u.label+d+" "+c+l]}function Ne(u,e,t){let n=t.theme,o=[],r=!!t.focused,s=E(t.width,D.radioGroup);o.push(h(r?n.accent:n.text)+v+" "+u.label+d);for(let i=0;i<u.options.length;i++){let a=u.options[i],c=a.value===e.value,l=r&&i===e.highlightIndex,f=c?"\u25C9":"\u25CB",_=c||l?n.accent:n.muted,p=l?n.accent:n.text;o.push(h(_)+(l?v:"")+" "+f+d+h(p)+" "+a.label+d)}return o}function He(u,e,t){let n=t.theme,o=[],r=!!t.focused,s=e.editing,a=E(t.width,D.numberInput).content;o.push(h(r?n.accent:n.text)+v+" "+u.label+d);let c=h(r?n.accent:n.muted)+"\u25C2"+d,l=h(r?n.accent:n.muted)+"\u25B8"+d,f;s&&e.textBuffer.length>0?f=h(n.text)+e.textBuffer+h(n.accent)+"\u2588"+d:f=h(n.text)+v+String(e.value)+d;let _=c+" "+f+" "+l,p=r?n.accent:n.border,m=iu({content:[_],width:t.width,border:t.borderStyle??"rounded",padding:1,borderColor:p},t);return o.push(...m),o}function ze(u,e,t){let n=e.theme,o=!!e.focused,r=t||u.loading,s=u.style??"secondary",i,a;switch(s){case"primary":i=n.accent,a="\u25C6";break;case"danger":i=n.error,a="\u25C6";break;default:i=n.border,a="";break}let c;if(r){let C=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"];c=C[Math.floor(Date.now()/100)%C.length]+" "+u.label}else a?c=a+" "+u.label:c=u.label;let l=E(e.width,D.button),f=2,_=Math.max(1,l.content);y(c)>_&&(c=O(c,_));let m=y(c)+f*2,g=lu(e.borderStyle??"rounded"),F=[],b=" ";if(o&&s==="primary")F.push(b+h(i)+g.topLeft+g.horizontal.repeat(m)+g.topRight+d),F.push(b+h(i)+g.vertical+d+Hu(i)+h("#000000")+v+" ".repeat(f)+c+" ".repeat(f)+d+h(i)+g.vertical+d),F.push(b+h(i)+g.bottomLeft+g.horizontal.repeat(m)+g.bottomRight+d);else if(o)F.push(b+h(i)+v+g.topLeft+g.horizontal.repeat(m)+g.topRight+d),F.push(b+h(i)+v+g.vertical+d+h(i)+v+" ".repeat(f)+c+" ".repeat(f)+d+h(i)+v+g.vertical+d),F.push(b+h(i)+v+g.bottomLeft+g.horizontal.repeat(m)+g.bottomRight+d);else{let C=s==="danger"?i:n.border,w=s==="primary"?i:n.text;F.push(b+h(C)+g.topLeft+g.horizontal.repeat(m)+g.topRight+d),F.push(b+h(C)+g.vertical+d+h(w)+" ".repeat(f)+c+" ".repeat(f)+d+h(C)+g.vertical+d),F.push(b+h(C)+g.bottomLeft+g.horizontal.repeat(m)+g.bottomRight+d)}return F}function gu(u,e,t){let{width:n,height:o,active:r=!1,renderContent:s}=t;if(n<=0||o<=0)return[];let i=u.border===!0||typeof u.border=="string"&&u.border!=="none",a=typeof u.border=="string"&&["single","double","rounded","heavy","dashed","ascii","none"].includes(u.border)?u.border:"rounded",c=lu(i?a:"none"),l=u.padding??0,f=!!u.title&&!i,_=f?1:0,p=i?2:0,m=i?2:0,g=Math.max(0,n-p-l*2),F=Math.max(0,o-m-l*2-_);if(g<=0||F<=0){let T=[];for(let k=0;k<o;k++)T.push(" ".repeat(n));return T}let b={...e,width:g,panelHeight:F},w=s(u.content,b).slice(0,F),x=[],B=" ".repeat(l);for(let T=0;T<F;T++){let k=T<w.length?w[T]:"",U=y(k),S=Math.max(0,g-U);x.push(B+k+" ".repeat(S)+B)}let I=r?e.theme.accent:e.theme.border,P=r?e.theme.accent:e.theme.muted,R=T=>h(I)+T+d,Y=[];if(i){let T=n-2;if(u.title){let k=` ${u.title} `,U=y(k),S=Math.max(0,T-U-1);Y.push(R(c.topLeft+c.horizontal)+h(P)+v+k+d+R(c.horizontal.repeat(S)+c.topRight))}else Y.push(R(c.topLeft+c.horizontal.repeat(T)+c.topRight));for(let k of x)Y.push(R(c.vertical)+k+R(c.vertical));Y.push(R(c.bottomLeft+c.horizontal.repeat(T)+c.bottomRight))}else{if(f){let T=u.title,k=y(T),U="\u2500".repeat(Math.min(k+2,g));Y.push(h(P)+v+T+d+" ".repeat(Math.max(0,n-k)))}for(let T of x)Y.push(T)}for(;Y.length<o;)Y.push(" ".repeat(n));return Y.length>o&&(Y.length=o),Y.map(T=>{let k=y(T);return k>n?O(T,n):k<n?T+" ".repeat(n-k):T})}function z8(u,e,t){let{panels:n}=u;if(n.length===0)return[];let{availableHeight:o,activePanelIndex:r=-1,renderContent:s}=t,i=e.width;if(_u(n.length,i))return Ue(n,e,t);let a=Au(n,i,o);return C2(a,e,i,o,r,s)}function Ue(u,e,t){let{availableHeight:n,activePanelIndex:o=-1,renderContent:r}=t,s=m2(u,e.width,n),i=[];for(let a=0;a<s.length;a++){let c=s[a],l=gu(c.panel,e,{width:c.width,height:c.height,active:a===o,renderContent:r});i.push(...l),a<s.length-1&&i.push(h(e.theme.border)+"\u2500".repeat(e.width)+d)}return i}function C2(u,e,t,n,o,r){let s=[];for(let a=0;a<u.length;a++){let c=u[a],l={...e,width:c.width},f=gu(c.panel,l,{width:c.width,height:c.height,active:a===o,renderContent:r});s.push(f)}if(u.length>1&&u[0].y===u[1].y){let a=Math.max(...s.map(l=>l.length)),c=[];for(let l=0;l<a;l++){let f="";for(let _=0;_<u.length;_++){let p=s[_][l]??" ".repeat(u[_].width);if(_>0){let m=" "+h(e.theme.border)+"\u2502"+d+" ";f+=m}f+=p}c.push(f)}return c}else{let a=[];for(let c=0;c<s.length;c++)a.push(...s[c]),c<s.length-1&&a.push(h(e.theme.border)+"\u2500".repeat(t)+d);return a}}function Ge(u,e,t){let{panels:n}=u;if(n.length===0)return[];let{availableHeight:o,activePanelIndex:r=-1,renderContent:s}=t,i=m2(n,e.width,o),a=[];for(let c=0;c<i.length;c++){let l=i[c],f=gu(l.panel,e,{width:l.width,height:l.height,active:c===r,renderContent:s});a.push(...f),c<i.length-1&&a.push(h(e.theme.border)+"\u2500".repeat(e.width)+d)}return a}function Ve(u,e,t){let{config:n}=u,{availableHeight:o,activePanelIndex:r=-1,renderContent:s}=t;if(n.direction==="horizontal"&&_u(2,e.width)){let a=h2({...n,direction:"vertical"},e.width,o),c=[];for(let l=0;l<a.length;l++){let f=a[l],_=gu(f.panel,e,{width:f.width,height:f.height,active:l===r,renderContent:s});c.push(..._),l===0&&n.border!==!1&&c.push(h(e.theme.border)+"\u2500".repeat(e.width)+d)}return c}let i=h2(n,e.width,o);return C2(i,e,e.width,o,r,s)}function qe(u,e,t){let{config:n}=u,{availableHeight:o,activePanelIndex:r=-1,renderContent:s}=t;if(n.items.length===0)return[];let i=n.gap??1,a=A8(n.cols,e.width,i),c={...n,cols:a},l=M8(c,e.width,o);if(l.length===0)return[];let f=[];for(let F=0;F<l.length;F++){let b=l[F],C={...e,width:b.width},w=gu(b.panel,C,{width:b.width,height:b.height,active:F===r,renderContent:s});f.push(w)}let _=c.rows??Math.ceil(n.items.length/a),p=l[0]?.height??0,m=l[0]?.width??0,g=[];for(let F=0;F<_;F++){if(F>0)for(let b=0;b<i;b++)g.push("");for(let b=0;b<p;b++){let C="";for(let w=0;w<a;w++){let x=F*a+w;if(w>0&&(C+=" ".repeat(i)),x<f.length){let B=f[x][b]??" ".repeat(m);C+=B}else C+=" ".repeat(m)}g.push(C)}}return g}function Su(u,e){let t=e._dynamicId??"",n=u.dynamicCache.get(t);if(n)return n;try{let o=e.render(),r=Array.isArray(o)?o:[o];return t&&u.dynamicCache.set(t,r),r}catch{return[]}}function Ke(u){u.dynamicCache.clear()}function U8(u){return A.isFocusable(u.type)}function Q(u,e,t){let n=[];for(let o of e){let r=t;u.currentFocusedBlock&&o===u.currentFocusedBlock&&(r={...t,focused:!0});let s=fu(u,o,r);n.push(...s),n.push("")}return n.length>0&&n[n.length-1]===""&&n.pop(),n}function fu(u,e,t){switch(e.type){case"text":return S8(e.content,t,e.style);case"card":return b2(e,t);case"timeline":return D8(e.items,t,e.style);case"table":return L8(e.headers,e.rows,t);case"list":return j8(e.items,t,e.style);case"quote":return $8(e.text,t,{attribution:e.attribution,style:e.style});case"hero":return W8(e,t);case"gallery":{let n=JSON.stringify(e.items.map(r=>r.title)),o=u.galleryState.get(n)??0;return H8(e.items,t,{columns:e.columns,scrollIndex:o})}case"tabs":{let n=e.items.map(r=>r.label).join(","),o=u.tabState.get(n)??0;return Re(e.items,o,t,(r,s)=>Q(u,r,s))}case"accordion":{let n=e.items.map(r=>r.label).join(","),o=u.accordionState.get(n)??-1;return Oe(e.items,o,t,(r,s)=>Q(u,r,s))}case"link":return O8(e.label,e.url,t,{icon:e.icon});case"progressBar":return T8(e.label,e.value,t,{max:e.max,showPercent:e.showPercent});case"badge":return[Y8(e.text,t,{color:e.color,style:e.style})];case"image":return N8(e.path,t,{width:e.width,mode:e.mode});case"divider":return R8(t,{style:e.style,label:e.label,color:e.color});case"spacer":return k8(e.lines);case"section":{let n=E(t.width,D.section),o=[];return o.push(h(t.theme.accent)+v+" "+e.title+d),o.push(h(t.theme.border)+" "+"\u2500".repeat(Math.max(0,n.content-4))+d),o.push(""),o.push(...Q(u,e.content,t)),o}case"custom":return e.render(t.width,t.theme);case"textInput":{let n=u.getInputState(e.id,e.defaultValue??"");return ke(e,{value:n.value,cursorPos:n.cursorPos,editing:!!t.editing,error:n.error},t)}case"textArea":{let n=u.getInputState(e.id,e.defaultValue??"");return $e(e,{value:n.value,cursorPos:n.cursorPos,editing:!!t.editing,error:n.error,scrollOffset:n.scrollOffset},t)}case"select":{let n=u.getInputState(e.id,e.defaultValue??"");return Ye(e,{value:n.value,open:n.open,highlightIndex:n.highlightIndex},t)}case"checkbox":{let n=u.getInputState(e.id,e.defaultValue??!1);return We(e,n.value,t)}case"toggle":{let n=u.getInputState(e.id,e.defaultValue??!1);return je(e,n.value,t)}case"radioGroup":{let n=u.getInputState(e.id,e.defaultValue??"");return Ne(e,{value:n.value,highlightIndex:n.highlightIndex},t)}case"numberInput":{let n=u.getInputState(e.id,e.defaultValue??0);return He(e,{value:n.value,editing:!!t.editing,textBuffer:""},t)}case"searchInput":{let n=u.getInputState(e.id,""),o=e.maxResults??10,r=c2(e.items,n.value,o);return pe(e,{query:n.value,cursorPos:n.cursorPos,editing:!!t.editing,highlightIndex:n.highlightIndex,filteredItems:r},t)}case"button":{let n=u.buttonLoading.get(e.label)??!1;return ze(e,t,n)}case"form":{let n=Q(u,e.fields,t),o=u.formResults.get(e.id);return o&&(n.push(""),n.push(...v8({resultMessage:o.message,resultType:o.type},t))),n}case"asyncContent":return[];case"dynamic":{let n=Su(u,e);return Q(u,n,t)}case"columns":{let{rows:n}=eu(),o=Math.max(10,n-8),r=e,s=pu(r.panels.map(i=>i.content),u.currentFocusedBlock);return z8(r,t,{availableHeight:o,activePanelIndex:s,renderContent:(i,a)=>Q(u,i,a)})}case"rows":{let{rows:n}=eu(),o=Math.max(10,n-8),r=e,s=pu(r.panels.map(i=>i.content),u.currentFocusedBlock);return Ge(r,t,{availableHeight:o,activePanelIndex:s,renderContent:(i,a)=>Q(u,i,a)})}case"split":{let{rows:n}=eu(),o=Math.max(10,n-8),r=e,s=pu([r.config.first,r.config.second],u.currentFocusedBlock);return Ve(r,t,{availableHeight:o,activePanelIndex:s,renderContent:(i,a)=>Q(u,i,a)})}case"grid":{let{rows:n}=eu(),o=Math.max(10,n-8),r=e,s=pu(r.config.items.map(i=>i.content),u.currentFocusedBlock);return qe(r,t,{availableHeight:o,activePanelIndex:s,renderContent:(i,a)=>Q(u,i,a)})}case"panel":{let{rows:n}=eu(),o=Math.max(10,n-8);return gu(e.config,t,{width:t.width,height:o,renderContent:(r,s)=>Q(u,r,s)})}case"box":return Je(u,e,t);case"row":return Qe(u,e,t);case"container":return Xe(u,e,t);case"menu":return Ze(u,e,t);case"chat":{let n=e,o=u.getInputState(n.id,{messages:[],input:"",cursorPos:0,loading:!1,error:null}),r={messages:o.value?.messages??[],input:o.value?.input??o.value??"",cursorPos:o.cursorPos??0,loading:o.value?.loading??!1,error:o.value?.error??null};return Te(n,r,t)}default:return[]}}function pu(u,e){if(!e)return-1;for(let t=0;t<u.length;t++)if(X(u[t],e))return t;return-1}function X(u,e){for(let t of u){if(t===e)return!0;if(t.type==="columns"){for(let n of t.panels)if(X(n.content,e))return!0}else if(t.type==="rows"){for(let n of t.panels)if(X(n.content,e))return!0}else if(t.type==="split"){let n=t.config;if(X(n.first,e)||X(n.second,e))return!0}else if(t.type==="grid"){for(let n of t.config.items)if(X(n.content,e))return!0}else if(t.type==="panel"){if(X(t.config.content,e))return!0}else if(t.type==="section"){if(X(t.content,e))return!0}else if(t.type==="form"){if(X(t.fields,e))return!0}else if(t.type==="box"){if(X(t.config.children,e))return!0}else if(t.type==="row"){for(let n of t.cols)if(X(n.content,e))return!0}else if(t.type==="container"&&X(t.content,e))return!0}return!1}function Je(u,e,t){let{config:n}=e,o=n.direction??"column",r=n.gap??0,{rows:s}=eu(),i=Math.max(10,s-8);if(o==="row"){let a=n.children.map(l=>l.type==="box"?{content:[l],width:l.config.width,height:l.config.height,padding:l.config.padding}:{content:[l]}),c=pu(a.map(l=>l.content),u.currentFocusedBlock);return z8({type:"columns",panels:a},t,{availableHeight:i,activePanelIndex:c,renderContent:(l,f)=>Q(u,l,f)})}else{let a=[];for(let c=0;c<n.children.length;c++){if(c>0&&r>0)for(let _=0;_<r;_++)a.push("");let l=n.children[c],f=t;u.currentFocusedBlock&&l===u.currentFocusedBlock&&(f={...t,focused:!0}),a.push(...fu(u,l,f))}return a}}function Qe(u,e,t){let{cols:n,gap:o=1}=e;if(n.length===0)return[];let{rows:r,columns:s}=eu(),i=Math.max(10,r-8),a=g2(s),c=Math.max(1,Math.floor(12/n.length)),l=n.map(m=>F2(m,a,c)),f=[[]],_=0;for(let m=0;m<n.length;m++){let g=n[m].offset??0,F=l[m]+g;_+F>12&&f[f.length-1].length>0&&(f.push([]),_=0),f[f.length-1].push({col:n[m],span:l[m]}),_+=F}let p=[];for(let m of f){let g=m.map(x=>x.col),F=P8(g,t.width,o,s),b=pu(F.map(x=>x.content),u.currentFocusedBlock),C=Au(F,t.width,i),w=C2(C,t,t.width,i,b,(x,B)=>Q(u,x,B));for(;w.length>0;){let B=w[w.length-1].replace(/\x1b\[[0-9;]*m/g,"");if(/^[\s\u2502\u2506\u250a\u2503]*$/.test(B))w.pop();else break}p.length>0&&p.push(""),p.push(...w)}return p}function Ze(u,e,t){let n=[];if(e.items&&e.items.length>0)n=e.items.map(o=>({label:o.label,icon:o.icon,id:o.page}));else if(e.source==="auto"){let o=u._fileRouter;if(o)n=o.getMenuItems().map(s=>({label:s.label,icon:s.icon,id:s.page}));else{let r=u.site;r?.pages&&(n=r.pages.filter(s=>typeof s.title=="string").map(s=>({label:s.title,icon:s.icon,id:s.id})))}}return f2(n,0,t)}function Xe(u,e,t){let n=e.padding??0,o=e.maxWidth??t.width,r=Math.max(1,Math.min(t.width,o)-n*2),s={...t,width:r},i=[];for(let a of e.content){let c=s;u.currentFocusedBlock&&a===u.currentFocusedBlock&&(c={...s,focused:!0});let l=fu(u,a,c),f=e.center!==!1,_=t.width-r,p=f?Math.floor(_/2):n,m=" ".repeat(p);for(let g of l)i.push(m+g);i.push("")}return i.length>0&&i[i.length-1]===""&&i.pop(),i}function ut(u,e,t){let n=t.theme;return[h(n.accent)+v+u+d+h(n.text)+e+d+h(n.muted)+"\u2588"+d]}function et(u,e){let t=0,n="",o=!1;for(let r of u){if(r==="\x1B"){o=!0,n+=r;continue}if(o){n+=r,r==="m"&&(o=!1);continue}let s=cu(r.codePointAt(0)??0);if(t+s>e)break;n+=r,t+=s}return n+"\x1B[0m"}function G8(u,e){return{width:Math.min(e,100),theme:u.theme,borderStyle:u.borderStyle}}function tt(u,e,t,n){let o="\x1B[H";for(let r=0;r<n;r++){if(o+="\x1B[2K",r<e.length){let s=e[r];y(s)>t?o+=et(s,t):o+=s}r<n-1&&(o+=`
22
+ `)}if(u.commandMode)o+=`\x1B[${n};1H\x1B[2K`,o+=ut(":",u.commandBuffer,G8(u,t)).join("");else{let r=u.notifications.current;if(r){o+=`\x1B[${n};1H\x1B[2K`;let s,i;switch(r.type){case"success":s=u.theme.success,i="\u2713";break;case"error":s=u.theme.error,i="\u2717";break;default:s=u.theme.accent,i="\u2139";break}o+=h(s)+" "+i+" "+r.message+d}else u.feedbackMessage&&(o+=`\x1B[${n};1H\x1B[2K`,o+=h(u.theme.success)+" "+u.feedbackMessage+d)}o+=u.inputMode.isEditing?"\x1B[?25h":"\x1B[?25l",process.stdout.write(o)}function nt(u){Ke(u);let e=u.getCurrentPage();if(e&&!u.router.isHome()){let s=u.getPageContent(e);if(s){let i=u.pageFocusIndex;u.pageFocusItems=u.collectFocusItems(s),u.pageFocusIndex=Math.min(i,Math.max(0,u.pageFocusItems.length-1)),u.registerForms(s);let a=eu(),c=Math.min(120,a.columns-2),l=Math.max(10,a.rows-8);u.focusRects=E8(s,c,l,f=>Su(u,f))}}let{columns:t,rows:n}=eu(),o=[],r=G8(u,t);u.router.isHome()?ot(u,o,r,t,n):rt(u,o,r,t,n),tt(u,o,t,n)}function ot(u,e,t,n,o){let r=t.width,s=Math.max(0,Math.floor((n-r)/2)),i=" ".repeat(s);if(u.site.banner){let f=Vu(u.site.banner.text,{font:u.site.banner.font});if(f=qu(f,r),u.site.banner.gradient?f=Me(f,u.site.banner.gradient):f=f.map(_=>h(u.theme.accent)+_+d),!u.bootComplete&&u.site.animations?.boot){let _=Math.floor(u.bootFrame/30*f.length);f=f.slice(0,_)}e.push("");for(let _ of f)e.push(i+_)}else{e.push("");let f=h(u.theme.accent)+v+u.site.name+d;e.push(i+q(f,r,"center"))}if(e.push(""),u.site.tagline){let f=h(u.theme.muted)+du+u.site.tagline+d;e.push(i+q(f,r,"center")),e.push("")}e.push(i+h(u.theme.border)+"\u2500".repeat(r)+d),e.push("");let a=u.site.pages.find(f=>f.id==="home"),c=a?u.getPageContent(a):null;if(c?Iu(c):!1){if(c){let f=Math.max(1,r-1),_={...t,width:f};for(let p of c){let m=fu(u,p,_);for(let g of m)e.push(i+" "+g);e.push("")}}}else{let f;u.site.menu?.items&&u.site.menu.items.length>0?f=u.site.menu.items.map(p=>({label:p.label,icon:p.icon,id:p.page})):u._fileRouter?f=u._fileRouter.getMenuItems().map(m=>({label:m.label,icon:m.icon,id:m.page})):f=u.site.pages.filter(p=>typeof p.title=="string"&&!p._hidden).map(p=>({label:p.title,icon:p.icon,id:p.id}));let _;if(!u.bootComplete&&u.site.animations?.boot){let p=Math.max(0,Math.floor((u.bootFrame-15)/3));_=f2(f.slice(0,p),u.focus.focusIndex,t)}else _=f2(f,u.focus.focusIndex,t);for(let p of _)e.push(i+p)}e.push(""),e.push(i+h(u.theme.border)+"\u2500".repeat(r)+d),e.push(""),e.push(i+h(u.theme.subtle)+L+" \u2191\u2193 navigate \u23CE select q quit : command"+d),u.site.handle&&(e.push(""),e.push(i+h(u.theme.subtle)+L+" "+u.site.handle+d))}function Iu(u){for(let e of u){if(e.type==="menu"||e.type==="section"&&Iu(e.content))return!0;if(e.type==="columns"){for(let t of e.panels)if(Iu(t.content))return!0}if(e.type==="split"){let t=e.config;if(Iu(t.first)||Iu(t.second))return!0}}return!1}function ru(u,e){if(u===e)return!0;if(u.type==="columns"){for(let t of u.panels)for(let n of t.content)if(ru(n,e))return!0}else if(u.type==="rows"){for(let t of u.panels)for(let n of t.content)if(ru(n,e))return!0}else if(u.type==="split"){let t=u.config;for(let n of t.first)if(ru(n,e))return!0;for(let n of t.second)if(ru(n,e))return!0}else if(u.type==="grid"){for(let t of u.config.items)for(let n of t.content)if(ru(n,e))return!0}else if(u.type==="box"){for(let t of u.config.children)if(ru(t,e))return!0}else if(u.type==="row"){for(let t of u.cols)for(let n of t.content)if(ru(n,e))return!0}else if(u.type==="container"){for(let t of u.content)if(ru(t,e))return!0}return!1}function rt(u,e,t,n,o){let r=u.getCurrentPage();if(!r)return;let s=u.getPageContent(r),i=t.width,a=Math.max(0,Math.floor((n-i)/2)),c=" ".repeat(a);if(s===null){let U=r.loading??"Loading...";e.push("");let S=h(u.theme.subtle)+L+"\u2190 back"+d,$=h(u.theme.accent)+v+(r.icon?r.icon+" ":"")+u.resolvePageTitle(r)+d;e.push(c+S+" "+$),e.push(c+h(u.theme.border)+"\u2500".repeat(i)+d),e.push("");let su=l2("dots",Math.floor(Date.now()/80));e.push(c+" "+h(u.theme.accent)+su+d+h(u.theme.muted)+" "+U+d);return}u.pageFocusItems.length===0&&s.length>0&&u.initializePageContent(s);let l=u.pageFocusItems[u.pageFocusIndex],f=[],_=-1,p=-1;u.currentFocusedBlock=l?.kind==="block"?l.block:void 0;let m=U=>!!l&&l.kind==="block"&&l.block===U,g=U=>!l||l.kind!=="accordion-item"||l.accordion!==U?-1:l.itemIndex,F=h(u.theme.accent)+"\u258C"+d,b=Math.max(1,i-1),C={...t,width:b},w=U=>{for(let S of U){if(S.type==="section"){let $=E(b,D.section);f.push(h(C.theme.accent)+v+" "+S.title+d),f.push(h(C.theme.border)+" "+"\u2500".repeat(Math.max(0,$.content-4))+d),f.push(""),w(S.content)}else if(S.type==="form"){w(S.fields);let $=u.formResults.get(S.id);if($){for(let su of v8({resultMessage:$.message,resultType:$.type},C))f.push(" "+su);f.push("")}}else if(S.type==="dynamic"){w(Su(u,S));continue}else if(S.type==="asyncContent")at(u,S,f,C,w);else if(S.type==="accordion")st(u,S,f,C,b,g,F,_,p,($,su)=>{_=$,p=su});else if(S.type==="timeline")it(u,S,f,C,b,l,F,_,p,($,su)=>{_=$,p=su});else{let $=m(S),H2=(S.type==="columns"||S.type==="rows"||S.type==="split"||S.type==="grid"||S.type==="box"||S.type==="row"||S.type==="container")&&!$&&!!u.currentFocusedBlock&&ru(S,u.currentFocusedBlock);($||H2)&&(_=f.length);let h5=U8(S),d5=$&&u.inputMode.isEditing,_5=$?{...C,focused:!0,editing:d5}:C,z2=fu(u,S,_5);if(h5&&$)for(let Wu of z2)f.push(F+Wu);else for(let Wu of z2)f.push(" "+Wu);($||H2)&&(p=f.length)}f.push("")}};w(s),f.length>0&&f[f.length-1]===""&&f.pop();let x=4,B=3,I=Math.max(1,o-x-B);_>=0&&(_<u.pageScrollOffset?u.pageScrollOffset=Math.max(0,_):p>u.pageScrollOffset+I&&(u.pageScrollOffset=Math.max(0,p-I))),u.pageScrollOffset=Math.min(u.pageScrollOffset,Math.max(0,f.length-I));let P=0,R=0;u.pageFocusItems.length>0&&(P=u.pageFocusIndex,R=u.pageFocusItems.length-1-u.pageFocusIndex),e.push(""),e.push(c+h(u.theme.subtle)+L+"\u2190 back"+d+" "+h(u.theme.accent)+v+(r.icon?r.icon+" ":"")+u.resolvePageTitle(r)+d),e.push(c+h(u.theme.border)+"\u2500".repeat(i)+d),u.pageScrollOffset>0&&P>0?e.push(c+h(u.theme.subtle)+L+" \u2191 "+P+" item"+(P>1?"s":"")+" above"+d):u.pageScrollOffset>0?e.push(c+h(u.theme.subtle)+L+" \u2191 more above"+d):e.push("");for(let U of f.slice(u.pageScrollOffset,u.pageScrollOffset+I))e.push(c+U);for(;e.length<o-B;)e.push("");let Y=u.pageScrollOffset+I<f.length;R>0?e.push(c+h(u.theme.subtle)+L+" \u2193 "+R+" item"+(R>1?"s":"")+" below"+d):Y?e.push(c+h(u.theme.subtle)+L+" \u2193 more below"+d):e.push(""),e.push(c+h(u.theme.border)+"\u2500".repeat(i)+d);let T=u.router.currentIndex+1,k=u.router.pageCount;u.inputMode.isEditing?e.push(c+h(u.theme.accent)+v+" \u2500\u2500 Editing \u2500\u2500"+d+h(u.theme.subtle)+L+" Type to input Esc done ["+T+"/"+k+"]"+d):e.push(c+h(u.theme.subtle)+L+" \u2191\u2193 navigate \u23CE select \u2190 back q quit ["+T+"/"+k+"]"+d)}function st(u,e,t,n,o,r,s,i,a,c){let l=r(e),f=e.items.map(p=>p.label).join(","),_=u.accordionState.get(f)??-1;for(let p=0;p<e.items.length;p++){let m=e.items[p],g=l===p,F=p===_,b=-1,C=-1;g&&(b=t.length);let w=F?"\u25BE":"\u25B8",x=F||g?n.theme.accent:n.theme.text,B=E(o,D.accordion),I=Math.max(0,B.content-2),P=h(x)+v+` ${w} ${m.label.length>I?m.label.substring(0,I-1)+"\u2026":m.label}`+d;if(t.push(g?s+P:" "+P),F){let R={...n,width:B.content,focused:!1};for(let Y of m.content)for(let T of fu(u,Y,R))t.push(" "+T);t.push("")}g&&(C=t.length,c(b,C))}}function it(u,e,t,n,o,r,s,i,a,c){let l=r?.kind==="timeline-item"&&r.timeline===e?r.itemIndex:-1;for(let f=0;f<e.items.length;f++){let _=e.items[f],p=l===f,m=f===e.items.length-1,g=-1,F=-1;p&&(g=t.length);let b=p?"\u25CF":"\u25CB",C=_.title;_.subtitle&&(C+=" \xB7 "+_.subtitle);let w=p?n.theme.accent:n.theme.border,x=p?n.theme.accent:n.theme.text;if(t.push(" "+h(w)+" "+b+" "+d+h(x)+v+C+d),(_.period||_.date)&&t.push(" "+h(n.theme.border)+" \u2502 "+d+h(n.theme.muted)+L+(_.period??_.date)+d),_.description){let B=E(o,D.timeline);for(let I of K(_.description,B.content))t.push(" "+h(n.theme.border)+" \u2502 "+d+h(n.theme.text)+I+d)}m||t.push(" "+h(n.theme.border)+" \u2502"+d),p&&(F=t.length,c(g,F))}}function at(u,e,t,n,o){let r=e._asyncId??"async-anon",s=u.asyncManager.getState(r);if(!s){u.asyncManager.load(r,e.load,()=>u.render());let i=l2("dots",Math.floor(Date.now()/80));t.push(" "+h(n.theme.accent)+i+d+h(n.theme.muted)+" "+(e.loading??"Loading...")+d);return}if(s.status==="loading"){let i=l2("dots",Math.floor(Date.now()/80));t.push(" "+h(n.theme.accent)+i+d+h(n.theme.muted)+" "+(e.loading??"Loading...")+d),setTimeout(()=>u.render(),100);return}if(s.status==="error"){e.fallback?o(e.fallback):t.push(" "+h(n.theme.error)+"\u26A0 "+(s.error?.message??"Failed to load content")+d);return}s.content&&o(s.content)}async function ct(u,e){for(let t of u){let n=await t(e);if(n&&"redirect"in n)return n}}function V8(u,e,t){let n=u.site.pages.find(r=>r.id===e);if(n||(n=u.site.pages.find(r=>{if(!r.id.includes("["))return!1;let s=r.id.replace(/\/\[.*?\].*$/,"");return e===s||e.startsWith(s+"/")})),!n){typeof process<"u"&&process.stderr&&process.stderr.write(`[terminaltui] navigate: page '${e}' not found. Available: ${u.site.pages.map(r=>r.id).join(", ")}
23
+ `);return}let o=[...u.site.middleware??[],...n.middleware??[]];o.length>0?ct(o,{page:e,params:t??{},state:null}).then(r=>{if(r&&"redirect"in r){V8(u,r.redirect,r.params);return}o2(u,e,t)}).catch(()=>{o2(u,e,t)}):o2(u,e,t)}function o2(u,e,t){let n=u.router.currentPage;u.router.navigate(e),u.currentParams=t??{},u.scrollOffset=0,q8(u),u.site.onNavigate&&u.site.onNavigate(n,e,t),u.render()}function q8(u){u.pageFocusIndex=0,u.pageScrollOffset=0,u.pageFocusItems=[],u.focusRects=[],u.inputMode.reset(),u.formRegistry.clear();let e=J8(u);if(!e)return;let t=u.site.pages.find(o=>o.id===e.id);if(t&&typeof t.title=="function"){lt(u,t);return}let n=e.content;if(typeof n=="function"){ft(u,e);return}mu(u,n)}function lt(u,e){let t=u.currentParams,n=`route-${e.id}-${JSON.stringify(t)}`,o=async()=>{let r=e.content(t);return r instanceof Promise?await r:r};u.asyncManager.load(n,o,()=>{let r=u.asyncManager.getState(n);if(r?.status==="loaded"&&r.content)u.resolvedPageContent.set(e.id,r.content),mu(u,r.content);else if(r?.status==="error"&&e.onError){let s=e.onError(r.error,t);u.resolvedPageContent.set(e.id,s),mu(u,s)}u.render()})}function ft(u,e){let t=`page-${e.id}`,n=e.content;u.asyncManager.load(t,n,()=>{let o=u.asyncManager.getState(t);if(o?.status==="loaded"&&o.content)u.resolvedPageContent.set(e.id,o.content),mu(u,o.content);else if(o?.status==="error"&&e.onError){let r=e.onError(o.error);u.resolvedPageContent.set(e.id,r),mu(u,r)}u.render()}),e.refreshInterval&&u.asyncManager.setupRefresh(t,e.refreshInterval,n,()=>{let o=u.asyncManager.getState(t);if(o?.status==="loaded"&&o.content){u.resolvedPageContent.set(e.id,o.content);let r=u.pageFocusIndex;u.pageFocusItems=z(u,o.content),u.pageFocusIndex=Math.min(r,Math.max(0,u.pageFocusItems.length-1)),G(u,o.content),K8(u,o.content)}u.render()})}function mu(u,e){u.pageFocusItems=z(u,e),G(u,e),K8(u,e)}function K8(u,e){let{columns:t}=eu(),n=Math.min(120,t-2),{rows:o}=eu(),r=Math.max(10,o-8);u.focusRects=E8(e,n,r,s=>Su(u,s))}function G(u,e){for(let t of e)if(t.type==="form")u.formRegistry.set(t.id,t),G(u,t.fields);else if(t.type==="section")G(u,t.content);else if(t.type==="columns")for(let n of t.panels)G(u,n.content);else if(t.type==="rows")for(let n of t.panels)G(u,n.content);else if(t.type==="split"){let n=t;G(u,n.config.first),G(u,n.config.second)}else if(t.type==="grid")for(let n of t.config.items)G(u,n.content);else if(t.type==="panel")G(u,t.config.content);else if(t.type==="box")G(u,t.config.children);else if(t.type==="row")for(let n of t.cols)G(u,n.content);else t.type==="container"&&G(u,t.content)}function ht(u,e){let t=u.site.pages.find(n=>n.id===e.id);return t&&typeof t.title=="function"?t.title(u.currentParams):e.title}function dt(u,e){return typeof e.content=="function"?u.resolvedPageContent.get(e.id)??null:e.content}function z(u,e){let t=[];for(let n of e)switch(n.type){case"card":case"link":case"hero":t.push({kind:"block",block:n});break;case"textInput":case"textArea":case"select":case"checkbox":case"toggle":case"radioGroup":case"numberInput":case"searchInput":case"button":case"chat":t.push({kind:"block",block:n});break;case"accordion":for(let o=0;o<n.items.length;o++)t.push({kind:"accordion-item",accordion:n,itemIndex:o});break;case"timeline":for(let o=0;o<n.items.length;o++)t.push({kind:"timeline-item",timeline:n,itemIndex:o});break;case"tabs":t.push({kind:"block",block:n});break;case"section":t.push(...z(u,n.content));break;case"form":t.push(...z(u,n.fields));break;case"dynamic":{let o=Su(u,n);t.push(...z(u,o));break}case"columns":{let o=n;for(let r of o.panels)t.push(...z(u,r.content));break}case"rows":{let o=n;for(let r of o.panels)t.push(...z(u,r.content));break}case"split":{let o=n;t.push(...z(u,o.config.first)),t.push(...z(u,o.config.second));break}case"grid":{let o=n;for(let r of o.config.items)t.push(...z(u,r.content));break}case"panel":{let o=n;t.push(...z(u,o.config.content));break}case"box":{let o=n;t.push(...z(u,o.config.children));break}case"row":{let o=n;for(let r of o.cols)t.push(...z(u,r.content));break}case"container":{let o=n;t.push(...z(u,o.content));break}default:break}return t}function _t(u){if(u.pageFocusItems.length===0){u.pageScrollOffset++;return}u.pageFocusIndex<u.pageFocusItems.length-1?u.pageFocusIndex++:u.pageScrollOffset++}function pt(u){if(u.pageFocusItems.length===0){u.pageScrollOffset>0&&u.pageScrollOffset--;return}u.pageFocusIndex>0?u.pageFocusIndex--:u.pageScrollOffset>0&&u.pageScrollOffset--}function J8(u){let e=u.site.pages.find(t=>t.id===u.router.currentPage);if(e)return e}function Mu(u,e){u.feedbackMessage=e,u.feedbackTimer&&clearTimeout(u.feedbackTimer),u.feedbackTimer=setTimeout(()=>{u.feedbackMessage="",u.render()},2e3),u.render()}function mt(u,e){let t=e.trim().toLowerCase();if(t==="q"||t==="quit"){u.stop();return}if(t.startsWith("theme ")){let n=t.slice(6).trim(),{themes:o}=(Yu(),a8(b8));o[n]?(u.theme=o[n],Mu(u,`Theme: ${n}`)):Mu(u,`Unknown theme: ${n}`);return}if(u.site.easterEggs?.commands?.[t]){let n=u.site.easterEggs.commands[t];typeof n=="string"?Mu(u,n):n();return}Mu(u,`Unknown command: ${e}`)}function r2(u){return new Promise((e,t)=>{let n=process.platform,o;n==="darwin"?o=`open "${u}"`:n==="win32"?o=`start "" "${u}"`:o=`xdg-open "${u}"`,gt(o,r=>{r?t(r):e()})})}function Ft(u){let e=u.pageFocusItems[u.pageFocusIndex];if(!e)return;if(e.kind==="accordion-item"){let o=e.accordion.items.map(s=>s.label).join(","),r=u.accordionState.get(o)??-1;u.accordionState.set(o,r===e.itemIndex?-1:e.itemIndex);return}if(e.kind==="timeline-item")return;let t=e.block;if(t.type==="textInput"||t.type==="textArea"||t.type==="numberInput"||t.type==="searchInput"){let n=t.id;u.inputMode.enterEdit(n),u.getInputState(n,p2(t));return}if(t.type==="select"){let n=t.id,o=u.getInputState(n,t.defaultValue??"");u.inputMode.enterEdit(n),o.open=!0;let r=t.options.findIndex(s=>s.value===o.value);o.highlightIndex=r>=0?r:0;return}if(t.type==="radioGroup"){let n=t.id,o=u.getInputState(n,t.defaultValue??"");u.inputMode.enterEdit(n);let r=t.options.findIndex(s=>s.value===o.value);o.highlightIndex=r>=0?r:0;return}if(t.type==="checkbox"||t.type==="toggle"){let n=t.id,o=u.getInputState(n,t.defaultValue??!1);o.value=!o.value,t.onChange?.(o.value);return}if(t.type==="button"){bt(u,t);return}if(t.type==="link"){u.showFeedback(`Opening ${t.url}...`),r2(t.url).catch(()=>{});return}if(t.type==="card"&&t.url){u.showFeedback(`Opening ${t.url}...`),r2(t.url).catch(()=>{});return}if(t.type==="card"&&t.action){Ct(u,t);return}if(t.type==="tabs"){let n=t.items.map(r=>r.label).join(","),o=u.tabState.get(n)??0;u.tabState.set(n,(o+1)%t.items.length);return}if(t.type==="hero"&&t.cta?.url){u.showFeedback(`Opening ${t.cta.url}...`),r2(t.cta.url).catch(()=>{});return}}function bt(u,e){if(e._formId){wt(u,e._formId);return}if(e.onPress){let t=e.onPress();if(t&&typeof t.then=="function"){let n=e.label;u.buttonLoading.set(n,!0),u.render(),t.then(o=>{u.buttonLoading.delete(n),F8(u,o),u.render()}).catch(o=>{u.buttonLoading.delete(n),u.notifications.error(o instanceof Error?o.message:String(o)),u.render()})}else t&&F8(u,t),u.render()}}function Ct(u,e){if(!e.action)return;if(e.action.navigate){u.navigateToPage(e.action.navigate,e.action.params);return}if(e.action.confirm&&u.showFeedback("Action triggered"),!e.action.onPress)return;let t=e.action.onPress();t&&typeof t.then=="function"&&t.then(()=>u.render()).catch(()=>u.render())}function F8(u,e){!e||typeof e!="object"||("success"in e?u.notifications.success(e.success):"error"in e?u.notifications.error(e.error):"info"in e&&u.notifications.info(e.info))}function Q8(u,e){if(e.type==="textInput"){let t=e;if(t.validate){let n=u.getInputState(t.id,t.defaultValue??""),o=t.validate(n.value);return n.error=o,o===null}}else if(e.type==="textArea"){let t=e;if(t.validate){let n=u.getInputState(t.id,t.defaultValue??""),o=t.validate(n.value);return n.error=o,o===null}}return!0}async function wt(u,e){let t=u.formRegistry.get(e);if(!t)return;let n=_e(t.fields),o=-1;for(let a=0;a<t.fields.length;a++){let c=t.fields[a];Q8(u,c)||o<0&&(o=a)}if(o>=0){let c=t.fields[o].id;if(c)for(let l=0;l<u.pageFocusItems.length;l++){let f=u.pageFocusItems[l];if(f.kind==="block"&&"id"in f.block&&f.block.id===c){u.pageFocusIndex=l;break}}u.render();return}let r={};for(let a of n){let c=u.inputStates.get(a);r[a]=c?.value??void 0}let s=t.fields.find(a=>a.type==="button"),i=s?s.label:"";i&&u.buttonLoading.set(i,!0),u.render();try{let a=await t.onSubmit(r);i&&u.buttonLoading.delete(i),"success"in a?(u.formResults.set(e,{message:a.success,type:"success"}),u.notifications.success(a.success),t.resetOnSubmit&&Z8(u,t)):"error"in a?(u.formResults.set(e,{message:a.error,type:"error"}),u.notifications.error(a.error)):"info"in a&&(u.formResults.set(e,{message:a.info,type:"info"}),u.notifications.info(a.info))}catch(a){i&&u.buttonLoading.delete(i);let c=a instanceof Error?a.message:"An error occurred";u.formResults.set(e,{message:c,type:"error"}),u.notifications.error(c)}u.render(),setTimeout(()=>{u.formResults.delete(e),u.render()},5e3)}function Z8(u,e){for(let t of e.fields)if("id"in t&&t.type!=="button"){let n=t.id,o=p2(t),r=u.inputStates.get(n);r&&(r.value=o,r.cursorPos=typeof o=="string"?o.length:0,r.error=null,r.open=!1,r.highlightIndex=0,r.scrollOffset=0)}}var X8=class{site;theme;router;focus;borderStyle;scrollOffset=0;commandMode=!1;commandBuffer="";feedbackMessage="";feedbackTimer=null;accordionState=new Map;tabState=new Map;galleryState=new Map;pageFocusIndex=0;pageFocusItems=[];pageScrollOffset=0;bootComplete=!1;bootFrame=0;bootTimer=null;inputMode=new ee;inputStates=new Map;formResults=new Map;buttonLoading=new Map;notifications=new te;notificationTimer=null;asyncManager=new ne;resolvedPageContent=new Map;formRegistry=new Map;currentParams={};dynamicCache=new Map;apiServer=null;focusRects=[];constructor(u){this.site=u.config,this.theme=this.resolveTheme(u.config.theme),this.borderStyle=u.config.borders??"rounded",this.router=new Q5,this.focus=new Z5;let e=u.config.pages.map(n=>n.id);this.router.registerPages(e);let t=u.config.pages.filter(n=>typeof n.title=="string"&&!n._hidden).map(n=>n.id);this.focus.setItems(t)}resolveTheme(u){return u?typeof u=="string"?Pu[u]??Eu:u:Eu}async start(){_2(),this.site.api&&Object.keys(this.site.api).length>0&&(this.apiServer=new w8,this.apiServer.registerRoutes(this.site.api),await this.apiServer.start(),a2(this.apiServer.getBaseUrl()));let u=z5();Nu(u.colorDepth),d8(()=>this.render());let e=null;if(globalThis.__terminaltui_render_callback__=()=>{e||(e=setTimeout(()=>{e=null,this.render()},0))},c8((t,n)=>this.navigateToPage(t,n)),this.site.onInit)try{await this.site.onInit({state:null,navigate:(t,n)=>this.navigateToPage(t,n)})}catch(t){console.error("[terminaltui] onInit error:",t)}this.setupTerminal(),C8.on("resize",()=>this.render()),u2.on("keypress",t=>this.handleKey(t)),u2.start(),this.notificationTimer=setInterval(()=>{this.notifications.prune()&&this.render()},500),this.site.animations?.boot?this.runBootAnimation():(this.bootComplete=!0,this.render())}setupTerminal(){process.stdout.write("\x1B[?1049h"),process.stdout.write("\x1B[?25l"),process.stdout.write("\x1B[2J"),process.stdout.write("\x1B[H");let u=()=>this.cleanup();process.on("SIGINT",u),process.on("SIGTERM",u),process.on("uncaughtException",e=>{this.cleanup(),console.error(e),process.exit(1)})}cleanup(){u2.stop(),ue.stop(),this.asyncManager.cleanup(),this.bootTimer&&clearInterval(this.bootTimer),this.feedbackTimer&&clearTimeout(this.feedbackTimer),this.notificationTimer&&clearInterval(this.notificationTimer),x8(),this.apiServer&&(this.apiServer.stop(),a2(null)),delete globalThis.__terminaltui_render_callback__,process.stdout.write("\x1B[?25h"),process.stdout.write("\x1B[?1049l"),process.stdout.write("\x1B[0m")}async stop(){if(this.site.onExit)try{await this.site.onExit({state:null,navigate:()=>{}})}catch{}if(d8(null),c8(null),this.site.animations?.exitMessage){let{columns:u,rows:e}=eu();process.stdout.write("\x1B[2J\x1B[H");let t=this.site.animations.exitMessage,n=Math.floor(e/2),o=Math.max(0,Math.floor((u-y(t))/2));process.stdout.write(`\x1B[${n};${o}H`),process.stdout.write(h(this.theme.accent)+v+t+d),await new Promise(r=>setTimeout(r,800))}this.cleanup(),process.exit(0)}runBootAnimation(){this.bootComplete=!1,this.bootFrame=0;let u=30;this.bootTimer=setInterval(()=>{this.bootFrame++,this.render(),this.bootFrame>=u&&(this.bootTimer&&clearInterval(this.bootTimer),this.bootTimer=null,this.bootComplete=!0,this.render())},33)}handleKey(u){if(this.commandMode){ye(this,u);return}if(this.inputMode.isEditing){this.handleEditMode(u);return}xe(this,u)}handleEditMode(u){ve(this,u)}render(){nt(this)}navigateToPage(u,e){V8(this,u,e)}enterPage(){q8(this)}getCurrentPage(){return J8(this)}getPageContent(u){return dt(this,u)}resolvePageTitle(u){return ht(this,u)}collectFocusItems(u){return z(this,u)}initializePageContent(u){mu(this,u)}registerForms(u){G(this,u)}pageFocusNext(){_t(this)}pageFocusPrev(){pt(this)}handlePageSelect(){Ft(this)}showFeedback(u){Mu(this,u)}executeCommand(u){mt(this,u)}validateInput(u){return Q8(this,u)}renderBlock(u,e){return fu(this,u,e)}isBlockFocusable(u){return U8(u)}renderContentBlocks(u,e){return Q(this,u,e)}getInputState(u,e){let t=this.inputStates.get(u);return t||(t=fe(e),this.inputStates.set(u,t)),t}getFocusedInputBlock(){let u=this.pageFocusItems[this.pageFocusIndex];if(!u||u.kind!=="block")return null;let e=u.block;return["textInput","textArea","select","checkbox","toggle","radioGroup","numberInput","searchInput","button"].includes(e.type)?e:null}getFocusedInputId(){let u=this.getFocusedInputBlock();return u?u.id??null:null}isTextEntryType(u){return u==="textInput"||u==="textArea"||u==="searchInput"||u==="numberInput"}isAutoEditKey(u){return!!(u.char&&u.char.length===1&&!u.ctrl&&!["up","down","left","right","escape","return","delete","home","end","tab"].includes(u.name)||u.name==="space"||u.name==="backspace")}resetForm(u){let e=this.formRegistry.get(u);e&&(Z8(this,e),this.render())}clearField(u){let e=this.inputStates.get(u);e&&(e.value="",e.cursorPos=0,e.error=null,this.render())}};async function w2(u){await new X8(u).start()}Zu();function t5(u){if(!u.name)throw new Error("Site config must have a name");if(!u.pages||u.pages.length===0)throw new Error("Site must have at least one page");for(let e of u.pages)if(!e.id)throw new Error(`Page must have an id: ${JSON.stringify(e)}`);return{config:u}}function ou(u,e){return{id:u,...e}}function M(u){return{type:"card",...u}}function n5(u,e){return{type:"list",items:u,style:e}}function o5(u){return{type:"hero",...u}}function Du(u,e,t){return{type:"link",label:u,url:e,icon:t?.icon}}function r5(u){return{type:"text",content:u,style:"plain"}}function tu(u){return{type:"text",content:u.replace(/\n\s+/g,`
24
+ `),style:"markdown"}}function j(u,e){return typeof u=="string"&&u!=="solid"&&u!=="dashed"&&u!=="dotted"&&u!=="double"&&u!=="label"?{type:"divider",style:"label",label:u}:{type:"divider",style:u,label:e}}function s5(u){return{type:"textInput",...u}}function i5(u){return{type:"button",...u}}function a5(u){let e={type:"form",...u};for(let t of e.fields)t.type==="button"&&(t._formId=e.id);return e}Yu();var u5=0;function c5(u,e){return typeof u=="function"?{type:"dynamic",render:u,_dynamicId:`dynamic-${u5++}`}:{type:"dynamic",deps:u,render:e,_dynamicId:`dynamic-${u5++}`}}async function Fu(u){try{let e=new AbortController,t=u.timeout?setTimeout(()=>e.abort(),u.timeout):null,n={method:u.method??"GET",headers:{"Content-Type":"application/json",...u.headers},signal:e.signal};u.body&&u.method!=="GET"&&(n.body=typeof u.body=="string"?u.body:JSON.stringify(u.body));let o=await fetch(y8(u.url),n);t&&clearTimeout(t);let r=null;return(o.headers.get("content-type")??"").includes("application/json")?r=await o.json():r=await o.text(),o.ok?{data:r,error:null,status:o.status,ok:!0}:{data:r,error:new Error(`HTTP ${o.status}: ${o.statusText}`),status:o.status,ok:!1}}catch(e){return{data:null,error:e instanceof Error?e:new Error(String(e)),status:0,ok:!1}}}async function hu(u){return Fu(u)}hu.get=(u,e)=>Fu({url:u,method:"GET",headers:e});hu.post=(u,e,t)=>Fu({url:u,method:"POST",body:e,headers:t});hu.put=(u,e,t)=>Fu({url:u,method:"PUT",body:e,headers:t});hu.delete=(u,e)=>Fu({url:u,method:"DELETE",headers:e});hu.patch=(u,e,t)=>Fu({url:u,method:"PATCH",body:e,headers:t});var e5=!1;function yt(){if(!e5){e5=!0;try{_2()}catch{}}}function l5(u){if("name"in u&&typeof u.name=="string"){let o=u;if(!o.name)throw new Error("defineConfig() config must have a name");return o}let e=u;yt();let t={},n=[];for(let[o,r]of Object.entries(e)){let s=process.env[r.env];s!==void 0?t[o]=r.transform?r.transform(s):s:r.default!==void 0?t[o]=r.default:r.required?n.push(`Missing required environment variable: ${r.env} (config key: ${o})`):t[o]=void 0}if(n.length>0)throw new Error(`[terminaltui] Configuration errors:
25
+ ${n.join(`
26
+ `)}`);return{get(o){return t[o]},getAll(){return{...t}}}}var f5=l5({name:"Omar Musayev",tagline:"AI Engineer & Full Stack Developer",banner:{text:"OMAR",font:"ANSI Shadow",gradient:["#ff6b00","#ff9500"]},theme:"cyberpunk",borders:"rounded",animations:{boot:!0,transitions:"fade",exitMessage:"// Session terminated. See you later!"}});var y2={hidden:!0};function x2(){return[tu(`# OmarAi Dev Log 1
25
27
  *September 8, 2024*
26
28
 
27
29
  Hello Everybody,
@@ -86,7 +88,7 @@ After doing this, I put my new data into the GPT-4o-2024-08-06 model fine-tuning
86
88
 
87
89
  I will update you guys on the results in the next dev log.
88
90
 
89
- See you guys later!!`)]}),D("blog-2",{title:"OmarAi Dev Log 2",content:[k(`# OmarAi Dev Log 2
91
+ See you guys later!!`)]}var v2={hidden:!0};function B2(){return[tu(`# OmarAi Dev Log 2
90
92
  *September 12, 2024*
91
93
 
92
94
  Hello Everybody,
@@ -111,7 +113,7 @@ The next step was using an algorithm to comb over the new data and make sure all
111
113
 
112
114
  After the data was ready, I put it into gpt-o4 api for fine tuning and went to sleep to see the results the next day.
113
115
 
114
- I will keep you guys updated on how it turns out.`)]}),D("blog-3",{title:"OmarAi Dev Log 3",content:[k(`# OmarAi Dev Log 3
116
+ I will keep you guys updated on how it turns out.`)]}var I2={hidden:!0};function M2(){return[tu(`# OmarAi Dev Log 3
115
117
  *September 14, 2024*
116
118
 
117
119
  Hello Everybody,
@@ -136,7 +138,7 @@ Here was the system prompt for Omar-AI:
136
138
 
137
139
  This prompt seemed to work and for now training the model was finished. Up next is building a UI for the model.
138
140
 
139
- See You guys later!`)]}),D("blog-4",{title:"OmarAi Dev Log 4",content:[k(`# OmarAi Dev Log 4
141
+ See You guys later!`)]}var A2={hidden:!0};function P2(){return[tu(`# OmarAi Dev Log 4
140
142
  *September 18, 2024*
141
143
 
142
144
  Creating the UI for OmarAI was definitely a journey and I am going to explain it here.
@@ -151,7 +153,7 @@ For this reason, I ended up opening a new backend project in python where I put
151
153
 
152
154
  This way I had finally made a functional chatbot within my website.
153
155
 
154
- Omar Musayev`)]}),D("blog-5",{title:"OmarAi Dev Log 5",content:[k(`# OmarAi Dev Log 5
156
+ Omar Musayev`)]}var E2={hidden:!0};function S2(){return[tu(`# OmarAi Dev Log 5
155
157
  *October 2, 2024*
156
158
 
157
159
  Hello everyone!
@@ -166,4 +168,16 @@ Speaking of protocols, I made sure to refine them for both security and personal
166
168
 
167
169
  Finally, I experimented with building models based on Llama, MPT, and Falcon. While each has its strengths\u2014like Llama's efficient performance or Falcon's open-source flexibility\u2014I discovered that GPT-based models still deliver the best overall user experience in terms of coherence, creativity, and ease of deployment for my specific needs. In the future, I may consider a hybrid approach that leverages the benefits of multiple architectures, but for now, I'm happy with where OmarAI stands.
168
170
 
169
- As I continue to refine and improve OmarAI, I'm grateful for everyone's feedback and support. Seeing people interact with an AI version of me has been both surreal and enlightening. There's still room to grow, but for now, I'm proud of the progress we've made and excited for what's next. Stay tuned for more updates, and feel free to keep sending feedback my way!`)]}),D("omar-ai",{title:"OmarAi",icon:">",content:[w({title:"OmarAi",body:"AI version of Omar Musayev. Ask me anything about Omar's projects, education, skills, or experience."}),P("Suggested Questions"),w({title:"What projects has Omar worked on?",action:{onPress:()=>G({"ai-prompt":"What projects has Omar worked on?"})}}),w({title:"Tell me about Omar's education",action:{onPress:()=>G({"ai-prompt":"Tell me about Omar's education"})}}),w({title:"What are Omar's AI skills?",action:{onPress:()=>G({"ai-prompt":"What are Omar's AI skills?"})}}),w({title:"What is Omar's work experience?",action:{onPress:()=>G({"ai-prompt":"What is Omar's work experience?"})}}),P("Conversation"),Pu(()=>{let u=E.get("conversation");return u?k(u):k("Press Enter on a question above, or type your own below.")}),P("Ask a Question"),Au({id:"omar-ai-form",onSubmit:G,fields:[Iu({id:"ai-prompt",label:"Your Message",placeholder:"Ask Omar anything..."}),Mu({label:"Send",style:"primary"})]})]})]});export{x5 as default};
171
+ As I continue to refine and improve OmarAI, I'm grateful for everyone's feedback and support. Seeing people interact with an AI version of me has been both surreal and enlightening. There's still room to grow, but for now, I'm proud of the progress we've made and excited for what's next. Stay tuned for more updates, and feel free to keep sending feedback my way!`)]}var D2={label:"Blogs",order:3,icon:"\u2726"};function T2(){return[j("Dev Logs"),M({title:"OmarAi Dev Log 1",subtitle:"September 8, 2024",body:"Starting on the journey to making an AI Large Language Model (LLM) that can replicate my speech",action:{navigate:"blog-1"}}),M({title:"OmarAi Dev Log 2",subtitle:"September 12, 2024",body:"Tinkering around with Omar AI to get better results",action:{navigate:"blog-2"}}),M({title:"OmarAi Dev Log 3",subtitle:"September 14, 2024",body:"Testing out the model",action:{navigate:"blog-3"}}),M({title:"OmarAi Dev Log 4",subtitle:"September 18, 2024",body:"Creating the UI",action:{navigate:"blog-4"}}),M({title:"OmarAi Dev Log 5",subtitle:"October 2, 2024",body:"The Launch",action:{navigate:"blog-5"}})]}var L2={order:0};function O2(){return[o5({title:"Omar Musayev",subtitle:"AI Engineer & Full Stack Developer | Purdue University | 4.0 GPA"}),j("About"),M({title:"About Me",body:"I'm a double major in Artificial Intelligence and Mathematics at Purdue University with a 4.0 GPA. Passionate about starting new projects, finishing what I can, and learning along the way. I love building things\u2014especially with AI\u2014and exploring how tech can solve real-world problems."}),j("Skills"),n5(["Multi-Agentic Systems","LLM Fine-Tuning","RAG Pipelines","Prompt Engineering","Computer Vision","NLP","TensorFlow","PyTorch","LangChain","Neural Networks","Reinforcement Learning","Time Series Forecasting","Python","JavaScript","React","Next.js","Node.js","SQL","Git","Java","C++"],"check"),j("Contact"),Du("Website","https://theomar.me",{icon:"\u25C6"}),Du("Email","mailto:omar.musayev.v.2@gmail.com",{icon:"\u2709"}),Du("LinkedIn","https://linkedin.com/in/omar-musayev-267195286/",{icon:"\u25C9"}),Du("Instagram","https://instagram.com/omar.musayev/",{icon:"\u2605"})]}var R2={label:"OmarAi",order:4,icon:">"},nu=d2({conversation:"",loading:!1,history:[]});async function Tu(u){let e=u["ai-prompt"];if(!e||!e.trim())return{error:"Type a message first"};let t=nu.get("history");nu.set("loading",!0),nu.set("conversation",nu.get("conversation")+`
172
+ **You:** ${e}
173
+
174
+ *thinking...*
175
+ `);try{let n=await hu.post("https://theomar.me/api/chat",{messages:[...t,{role:"user",content:e}]});if(n.ok&&n.data?.message?.content){let o=n.data.message.content,r=[...t,{role:"user",content:e},{role:"assistant",content:o}];nu.set("history",r);let s="";for(let i of r)i.role==="user"?s+=`
176
+ **You:** ${i.content}
177
+ `:s+=`
178
+ **Omar:** ${i.content}
179
+ `;nu.set("conversation",s)}else nu.set("conversation",nu.get("conversation").replace(`*thinking...*
180
+ `,`**Omar:** sorry, something went wrong. try again?
181
+ `))}catch{nu.set("conversation",nu.get("conversation").replace(`*thinking...*
182
+ `,`**Omar:** couldn't reach the server right now. try again in a bit?
183
+ `))}return nu.set("loading",!1),{success:"Message sent"}}function k2(){return[M({title:"OmarAi",body:"AI version of Omar Musayev. Ask me anything about Omar's projects, education, skills, or experience."}),j("Suggested Questions"),M({title:"What projects has Omar worked on?",action:{onPress:()=>Tu({"ai-prompt":"What projects has Omar worked on?"})}}),M({title:"Tell me about Omar's education",action:{onPress:()=>Tu({"ai-prompt":"Tell me about Omar's education"})}}),M({title:"What are Omar's AI skills?",action:{onPress:()=>Tu({"ai-prompt":"What are Omar's AI skills?"})}}),M({title:"What is Omar's work experience?",action:{onPress:()=>Tu({"ai-prompt":"What is Omar's work experience?"})}}),j("Conversation"),c5(()=>{let u=nu.get("conversation");return u?tu(u):r5("Press Enter on a question above, or type your own below.")}),j("Ask a Question"),a5({id:"omar-ai-form",onSubmit:Tu,fields:[s5({id:"ai-prompt",label:"Your Message",placeholder:"Ask Omar anything..."}),i5({label:"Send",style:"primary"})]})]}var $2={label:"Projects",order:2,icon:"\u25A3"};function Y2(){return[j("Projects"),M({title:"TerminalTUI",subtitle:"Creator & Lead Developer \u2014 Developer Tool \u2014 2025",body:"A TypeScript framework for building interactive terminal user interfaces with 1,500+ downloads on npm. Converts declarative TypeScript into fully interactive TUI applications runnable via a single npx command. Features 30+ pre-built UI components, a 12-column responsive grid system, spatial arrow-key navigation, 10 color themes, an ASCII art engine, file-based routing, reactive state management, and form handling. Includes 2,185+ tests.",url:"https://www.npmjs.com/package/terminaltui",tags:["TypeScript","CLI","Framework"]}),M({title:"Adneural",subtitle:"Creator & Lead Developer \u2014 AI Project \u2014 2025",body:"A platform connecting computational neuroscience with social simulation for pre-launch advertising analysis. Predicts how ads will perform neurologically and socially before launch by combining Meta TRIBE v2 brain encoding (trained on 450 hours of fMRI data) with MiroFish/OASIS multi-agent social simulation (200 personality-diverse agents). Features Neo4j GraphRAG integrating 22 neuroscience papers, LangGraph diagnostic analysis, and Three.js brain visualization. Built with Next.js 15, React 19, FastAPI, and OpenRouter.",url:"https://github.com/OmarMusayev/Adneural",tags:["AI","Neuroscience","Next.js"]}),M({title:"Ushaqlarimiza Oyredek Website",subtitle:"Lead Developer \u2014 Web Development \u2014 2024",body:"Served as the Lead Developer for a youth-led NGO focused on providing education to underprivileged children and fostering a passion for learning among youth.",url:"https://ushaqlarimizaoyredek.com",tags:["Web Development"]}),M({title:"World Temperature Forecasting",subtitle:"Researcher & Developer \u2014 AI Project \u2014 2024",body:"Designed a time series model using LSTMs to predict global temperatures, aiding planning and combating climate change.",tags:["AI","LSTM","Time Series"]}),M({title:"AI Handwriting Generator",subtitle:"Developer \u2014 AI Project \u2014 May 2023",body:"A web application that generates realistic handwritten text using deep learning. Features two neural network approaches: a 3-layer LSTM with Gaussian attention for style transfer, and a 6-layer Transformer decoder that tokenizes strokes into polar coordinates. Users can draw on a canvas to capture their own handwriting style and generate personalized text. Built with PyTorch, FastAPI, and JavaScript.",url:"https://hand-magic.com",tags:["AI","Deep Learning","PyTorch"]}),M({title:"AI Jigsaw Puzzle Solver",subtitle:"Lead Developer \u2014 AI Project \u2014 Apr 2023",body:"Created an AI-driven jigsaw puzzle solver that automatically assembles pieces using computer vision techniques.",url:"https://tinyurl.com/PuzzleSolvers",tags:["AI","Computer Vision"]})]}var W2={label:"Resume",order:1,icon:"\u25C6"};function j2(){return[j("Experience"),M({title:"Purdue LaunchPad",subtitle:"Website Chair & Organizer \u2014 West Lafayette, IN | 2025 \u2013 Present",body:"Website Chair and Organizer for Purdue's largest CS/DS mentorship community. LaunchPad is a one-on-one, semester-long mentorship program that pairs incoming students with upperclassmen, guiding them in building technical projects and fostering community through events and skill-building workshops."}),M({title:"COP-29 (UNFCCC)",subtitle:"ICT Technician \u2014 Baku, Azerbaijan | November 2024",body:"Selected as one of 50 technicians from ~15,000 applicants for a 55,000-attendee conference. Tracked and maintained 1,000+ laptops, set up presentation equipment, assisted broadcasters/guests with technical issues, and coordinated daily patches and team memos."}),M({title:"Payriff",subtitle:"AI Intern \u2014 Baku, Azerbaijan | June 2024 \u2013 September 2024",body:"Developed an AI-driven credit-scoring solution integrating data from banks and mobile providers. Built an AI chatbot to explain Payriff service APIs, streamlining developer onboarding."}),M({title:"U\u015Faqlar\u0131m\u0131za \xD6yr\u0259d\u0259k",subtitle:"Lead Developer \u2014 Baku, Azerbaijan | January 2024 \u2013 Present",body:"Led development of a comprehensive website for a youth-led NGO supporting underprivileged children; published resources and promoted educational initiatives across Azerbaijan."}),j("Volunteering"),M({title:"F1 Baku City Circuit",subtitle:"Workforce Team Member \u2014 Baku, Azerbaijan | June 2022",body:"Oversaw volunteer check-in/out and punctuality for ~1,500 volunteers; resolved operational issues throughout race weekend."}),M({title:"European Azerbaijan School",subtitle:"CAS Team Member \u2014 Baku, Azerbaijan | September 2024 \u2013 Ongoing",body:"Participated in environmental cleanup of beaches, mountains, and lakes in Azerbaijan."}),j("Honors & Awards"),M({title:"Purdue Dean's List",subtitle:"2025",body:"Named to the Purdue University Dean's List for academic excellence."}),M({title:"Purdue Semester Honors",subtitle:"2025",body:"Awarded Semester Honors at Purdue University for outstanding academic performance."}),M({title:"Azerbaijan Olympiad in Informatics",subtitle:"Silver Medal \u2014 2022",body:"Recognized among top participants for outstanding performance in computer algorithms."}),M({title:"IELTS",subtitle:"Score: 8.5 \u2014 2024",body:"Achieved an 8.5 overall, with perfect scores in reading and listening."}),M({title:"SAT Superscore",subtitle:"Score: 1520 \u2014 2024",body:"Achieved a 1520 SAT superscore (780 Math, 740 Reading/Writing)."}),j("Education"),M({title:"B.S. in Artificial Intelligence & Mathematics",subtitle:"Purdue University, College of Science \u2014 August 2025 \u2013 Ongoing",body:"Double major in Artificial Intelligence and Mathematics. 4.0 GPA. Dean's List and Semester Honors recipient."}),M({title:"International Baccalaureate",subtitle:"European Azerbaijan School \u2014 2022 \u2013 2024",body:"IBDP Subjects: Math AA HL, Business Management HL, Computer Science HL, English A SL, Physics SL, Spanish AB Initio. MYP: 7/7 from M23 Personal Project."}),M({title:"Pre-College: Introduction to Machine Learning for Astronomy",subtitle:"Harvard University \u2014 June \u2013 July 2024, Boston, MA",body:"Applied machine learning algorithms to contemporary astronomical problems."}),M({title:"Pre-College: Data Science and Machine Learning 2",subtitle:"Columbia University \u2014 July \u2013 August 2024, New York, NY",body:"Advanced course on data science and machine learning using Python and statistical methods."}),M({title:"Physics for Scientists and Engineers: Mechanics",subtitle:"University of California, Los Angeles (UCLA) \u2014 August \u2013 September 2024, Online",body:"5-unit credit course covering fundamental mechanics for scientists and engineers."}),M({title:"Artificial Intelligence and Machine Learning",subtitle:"Stanford University \u2014 July \u2013 August 2023, Palo Alto, CA",body:"NVIDIA DLI program using the Jetson Nano; hands-on AI/ML projects."}),M({title:"AI Scholars Program",subtitle:"Inspirit AI \u2014 August 2023, Online",body:"Certificate program covering modern AI concepts and practical applications."})]}async function N2(u){let{message:e,history:t}=u.body,n=[];if(t&&Array.isArray(t))for(let o of t)n.push({role:o.role,content:o.content});n.push({role:"user",content:e});try{let o=await fetch("https://theomar.me/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:n})});return o.ok?{response:(await o.json()).message?.content??"hmm, didn't get a response. try again?"}:{response:"sorry, something went wrong on my end. try again?"}}catch{return{response:"couldn't reach the server right now. try again in a bit?"}}}var bu={};typeof void 0=="function"&&(bu["GET /api/chat"]=void 0);typeof N2=="function"&&(bu["POST /api/chat"]=N2);typeof void 0=="function"&&(bu["PUT /api/chat"]=void 0);typeof void 0=="function"&&(bu["DELETE /api/chat"]=void 0);typeof void 0=="function"&&(bu["PATCH /api/chat"]=void 0);var xt=[ou("blog-1",{title:(y2||{}).label||"Blog 1",icon:(y2||{}).icon,_hidden:!0,content:async()=>x2()}),ou("blog-2",{title:(v2||{}).label||"Blog 2",icon:(v2||{}).icon,_hidden:!0,content:async()=>B2()}),ou("blog-3",{title:(I2||{}).label||"Blog 3",icon:(I2||{}).icon,_hidden:!0,content:async()=>M2()}),ou("blog-4",{title:(A2||{}).label||"Blog 4",icon:(A2||{}).icon,_hidden:!0,content:async()=>P2()}),ou("blog-5",{title:(E2||{}).label||"Blog 5",icon:(E2||{}).icon,_hidden:!0,content:async()=>S2()}),ou("blogs",{title:(D2||{}).label||"Blogs",icon:(D2||{}).icon,_hidden:!1,content:async()=>T2()}),ou("home",{title:(L2||{}).label||"Home",icon:(L2||{}).icon,_hidden:!1,content:async()=>O2()}),ou("omar-ai",{title:(R2||{}).label||"Omar Ai",icon:(R2||{}).icon,_hidden:!1,content:async()=>k2()}),ou("projects",{title:($2||{}).label||"Projects",icon:($2||{}).icon,_hidden:!1,content:async()=>Y2()}),ou("resume",{title:(W2||{}).label||"Resume",icon:(W2||{}).icon,_hidden:!1,content:async()=>j2()})],vt=t5({...f5,pages:xt,api:bu});await w2(vt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omar-musayev",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Omar Musayev's portfolio — right in your terminal. Browse projects, read blog posts, chat with OmarAI.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "author": "Omar Musayev <omar.musayev.v.2@gmail.com> (https://theomar.me)",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "terminaltui": "^1.0.9"
24
+ "terminaltui": "^1.4.0"
25
25
  },
26
26
  "scripts": {
27
27
  "dev": "npx terminaltui dev",
package/dist/_entry.ts DELETED
@@ -1,23 +0,0 @@
1
- // Auto-generated entry point for file-based routing build
2
- import config from "/Users/omar/WebstormProjects/retro-web-2/tui/config.ts";
3
- import { runFileBasedSite } from "terminaltui";
4
-
5
- // Pre-import all page files so they're included in the bundle
6
- import * as _page0 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/blog-1.ts";
7
- import * as _page1 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/blog-2.ts";
8
- import * as _page2 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/blog-3.ts";
9
- import * as _page3 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/blog-4.ts";
10
- import * as _page4 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/blog-5.ts";
11
- import * as _page5 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/blogs.ts";
12
- import * as _page6 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/home.ts";
13
- import * as _page7 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/omar-ai.ts";
14
- import * as _page8 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/projects.ts";
15
- import * as _page9 from "/Users/omar/WebstormProjects/retro-web-2/tui/pages/resume.ts";
16
- import * as _api0 from "/Users/omar/WebstormProjects/retro-web-2/tui/api/chat.ts";
17
-
18
- await runFileBasedSite({
19
- config,
20
- pagesDir: "/Users/omar/WebstormProjects/retro-web-2/tui/pages",
21
- apiDir: "/Users/omar/WebstormProjects/retro-web-2/tui/api",
22
- outDir: "/Users/omar/WebstormProjects/retro-web-2/tui/.terminaltui",
23
- });