diff --git a/assets/index-C86dyG_v.css b/assets/index-BzMQn2t8.css similarity index 88% rename from assets/index-C86dyG_v.css rename to assets/index-BzMQn2t8.css index 3053ee3..675b9d4 100644 --- a/assets/index-C86dyG_v.css +++ b/assets/index-BzMQn2t8.css @@ -1 +1 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:#fff;max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:#6495ed;text-decoration:underline;font-weight:500}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)):hover{color:#4f7fd8}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.glass-input{border-radius:.5rem;border-width:1px;border-color:#ffffff1a;background-color:#ffffff0d;padding:.5rem 1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.glass-input::-moz-placeholder{color:#ffffff80}.glass-input::placeholder{color:#ffffff80}.glass-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.absolute{position:absolute}.relative{position:relative}.-right-2{right:-.5rem}.-top-2{top:-.5rem}.right-2{right:.5rem}.top-2{top:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-12{margin-top:3rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-24{height:6rem}.h-32{height:8rem}.h-7{height:1.75rem}.h-fit{height:-moz-fit-content;height:fit-content}.min-h-\[40px\]{min-height:40px}.min-h-screen{min-height:100vh}.w-full{width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-\[\#6495ed\]\/20{border-color:#6495ed33}.border-white\/10{border-color:#ffffff1a}.border-white\/20{border-color:#fff3}.border-white\/30{border-color:#ffffff4d}.bg-\[\#0a0a0a\]{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity, 1))}.bg-\[\#6495ed\]{--tw-bg-opacity: 1;background-color:rgb(100 149 237 / var(--tw-bg-opacity, 1))}.bg-\[\#6495ed\]\/20{background-color:#6495ed33}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/20{background-color:#0003}.bg-black\/30{background-color:#0000004d}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.bg-white\/5{background-color:#ffffff0d}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-center{text-align:center}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\[\#6495ed\]{--tw-text-opacity: 1;color:rgb(100 149 237 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/60{color:#fff9}.text-white\/80{color:#fffc}.text-white\/90{color:#ffffffe6}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.placeholder-white\/50::-moz-placeholder{color:#ffffff80}.placeholder-white\/50::placeholder{color:#ffffff80}.opacity-0{opacity:0}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-\[\#4f7fd8\]:hover{--tw-bg-opacity: 1;background-color:rgb(79 127 216 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#6495ed\]\/30:hover{background-color:#6495ed4d}.hover\:bg-\[\#6495ed\]\/80:hover{background-color:#6495edcc}.hover\:bg-white\/10:hover{background-color:#ffffff1a}.hover\:bg-white\/20:hover{background-color:#fff3}.hover\:text-\[\#4f7fd8\]:hover{--tw-text-opacity: 1;color:rgb(79 127 216 / var(--tw-text-opacity, 1))}.hover\:text-purple-300:hover{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-yellow-400:hover{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[\#6495ed\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(100 149 237 / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.prose-img\:m-1 :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){margin:.25rem}.prose-img\:inline-block :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){display:inline-block}@media (min-width: 1024px){.lg\:sticky{position:sticky}.lg\:top-8{top:2rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}} +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:#fff;max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:#6495ed;text-decoration:underline;font-weight:500}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)):hover{color:#4f7fd8}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.glass-input{border-radius:.5rem;border-width:1px;border-color:#ffffff1a;background-color:#ffffff0d;padding:.5rem 1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.glass-input::-moz-placeholder{color:#ffffff80}.glass-input::placeholder{color:#ffffff80}.glass-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.absolute{position:absolute}.relative{position:relative}.-right-2{right:-.5rem}.-top-2{top:-.5rem}.right-2{right:.5rem}.top-2{top:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-12{margin-top:3rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-24{height:6rem}.h-32{height:8rem}.h-7{height:1.75rem}.h-fit{height:-moz-fit-content;height:fit-content}.min-h-\[40px\]{min-height:40px}.min-h-screen{min-height:100vh}.w-full{width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-\[\#6495ed\]\/20{border-color:#6495ed33}.border-white\/10{border-color:#ffffff1a}.border-white\/20{border-color:#fff3}.border-white\/30{border-color:#ffffff4d}.bg-\[\#0a0a0a\]{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity, 1))}.bg-\[\#6495ed\]{--tw-bg-opacity: 1;background-color:rgb(100 149 237 / var(--tw-bg-opacity, 1))}.bg-\[\#6495ed\]\/20{background-color:#6495ed33}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/20{background-color:#0003}.bg-black\/30{background-color:#0000004d}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.bg-white\/5{background-color:#ffffff0d}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-center{text-align:center}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\[\#6495ed\]{--tw-text-opacity: 1;color:rgb(100 149 237 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/60{color:#fff9}.text-white\/80{color:#fffc}.text-white\/90{color:#ffffffe6}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.placeholder-white\/50::-moz-placeholder{color:#ffffff80}.placeholder-white\/50::placeholder{color:#ffffff80}.opacity-0{opacity:0}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.drop-shadow-\[0_0_10px_\#6495ed\]{--tw-drop-shadow: drop-shadow(0 0 10px #6495ed);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-\[\#4f7fd8\]:hover{--tw-bg-opacity: 1;background-color:rgb(79 127 216 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#6495ed\]\/30:hover{background-color:#6495ed4d}.hover\:bg-\[\#6495ed\]\/80:hover{background-color:#6495edcc}.hover\:bg-white\/10:hover{background-color:#ffffff1a}.hover\:bg-white\/20:hover{background-color:#fff3}.hover\:text-\[\#4f7fd8\]:hover{--tw-text-opacity: 1;color:rgb(79 127 216 / var(--tw-text-opacity, 1))}.hover\:text-purple-300:hover{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-yellow-400:hover{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[\#6495ed\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(100 149 237 / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.prose-img\:m-1 :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){margin:.25rem}.prose-img\:inline-block :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){display:inline-block}@media (min-width: 1024px){.lg\:sticky{position:sticky}.lg\:top-8{top:2rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}} diff --git a/assets/index-C4Il5glj.js b/assets/index-Gv7My5-S.js similarity index 93% rename from assets/index-C4Il5glj.js rename to assets/index-Gv7My5-S.js index fb698a6..c0e4d1a 100644 --- a/assets/index-C4Il5glj.js +++ b/assets/index-Gv7My5-S.js @@ -117,19 +117,19 @@ Error generating stack: `+l.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ng=be("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);function Pg({skills:e,onChange:n}){const[t,r]=ve.useState("Programming Languages"),i=o=>{r(t===o?null:o)},l=o=>{e.includes(o)?n(e.filter(u=>u!==o)):n([...e,o])};return v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-white",children:"Skills"}),v.jsx("div",{className:"flex flex-wrap gap-3 mb-6 min-h-[40px]",children:e.map((o,u)=>v.jsx(fg,{skill:o,onRemove:()=>n(e.filter((s,a)=>a!==u))},u))}),v.jsx("div",{className:"space-y-4",children:Object.entries(pg).map(([o,u])=>v.jsxs("div",{className:"border border-white/10 rounded-lg overflow-hidden",children:[v.jsxs("button",{className:"w-full px-4 py-3 flex items-center justify-between bg-white/5 hover:bg-white/10 transition-colors",onClick:()=>i(o),children:[v.jsx("span",{className:"font-medium text-white",children:o}),t===o?v.jsx(yg,{className:"text-white/60",size:20}):v.jsx(gg,{className:"text-white/60",size:20})]}),t===o&&v.jsx("div",{className:"p-4 bg-black/20",children:v.jsx("div",{className:"flex flex-wrap gap-2",children:u.map(s=>v.jsx("button",{onClick:()=>l(s),className:`px-3 py-1.5 rounded-lg text-sm transition-colors ${e.includes(s)?"bg-[#6495ed] text-white":"bg-white/5 text-white/80 hover:bg-white/10"}`,children:s},s))})})]},o))})]})}function _g({socialLinks:e,onChange:n}){return v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(wg,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"GitHub Profile URL",value:e.github||"",onChange:t=>n({...e,github:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(Cg,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"LinkedIn Profile URL",value:e.linkedin||"",onChange:t=>n({...e,linkedin:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(Ng,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"Twitter Profile URL",value:e.twitter||"",onChange:t=>n({...e,twitter:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(kg,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"Website URL",value:e.website||"",onChange:t=>n({...e,website:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]})]})}function zg({data:e,onChange:n}){return v.jsxs("div",{className:"space-y-6 p-6",children:[v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-[#6495ed]",children:"Profile Information"}),v.jsxs("div",{className:"space-y-4",children:[v.jsx("input",{type:"text",placeholder:"Your Name",value:e.name||"",onChange:t=>n({...e,name:t.target.value}),className:"w-full bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"}),v.jsx("input",{type:"text",placeholder:"Professional Title",value:e.title||"",onChange:t=>n({...e,title:t.target.value}),className:"w-full bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"}),v.jsx("textarea",{placeholder:"About You",value:e.about||"",onChange:t=>n({...e,about:t.target.value}),className:"w-full bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed] h-32"})]})]}),v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-[#6495ed]",children:"Social Links"}),v.jsx(_g,{socialLinks:e.socialLinks,onChange:t=>n({...e,socialLinks:t})})]}),v.jsx(Pg,{skills:e.skills,onChange:t=>n({...e,skills:t})})]})}const Tg={javascript:"F7DF1E",typescript:"007ACC",react:"61DAFB",vue:"4FC08D",angular:"DD0031",node:"339933",python:"3776AB",java:"007396",spring:"6DB33F",go:"00ADD8",rust:"000000",cpp:"00599C",docker:"2496ED",kubernetes:"326CE5",aws:"232F3E",azure:"0089D6",gcp:"4285F4"};function jg(e){const n=e.toLowerCase().replace(/\s+/g,""),t=Tg[n]||"555555";return`https://img.shields.io/badge/${e}-${t}?style=for-the-badge&logo=${n}&logoColor=white`}const Ig={github:{icon:"github",color:"181717",label:"GitHub"},linkedin:{icon:"linkedin",color:"0A66C2",label:"LinkedIn"},twitter:{icon:"twitter",color:"1DA1F2",label:"Twitter"},website:{icon:"globe",color:"4CAF50",label:"Website"}};function Lg(e,n){const t=Ig[e.toLowerCase()];return t?`[![${t.label}](https://img.shields.io/badge/${t.label}-${t.color}?style=for-the-badge&logo=${t.icon})](${n})`:""}function Dg(e){return[`![GitHub Stats](https://github-readme-stats.vercel.app/api?username=${e}&show_icons=true&theme=nord)`,`![GitHub Streak](https://github-readme-streak-stats.herokuapp.com/?user=${e}&theme=nord)`,`![Top Languages](https://github-readme-stats.vercel.app/api/top-langs/?username=${e}&layout=compact&theme=nord)`,`![Profile Views](https://komarev.com/ghpvc/?username=${e}&color=blueviolet&style=for-the-badge)`]}function Ag(e,n,t){return e.type==="custom"&&e.customUrl?e.customUrl:`https://capsule-render.vercel.app/api?${new URLSearchParams({type:e.type,color:e.color,height:e.height.toString(),section:"header",text:n,fontSize:"50",fontAlignY:"35",desc:t||"",descAlignY:"50"}).toString()}`}function Fg(e){const n=[],t=Ag(e.banner,e.name,e.title);n.push(`
+ */const Ng=be("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);function Pg({skills:e,onChange:n}){const[t,r]=ve.useState("Programming Languages"),i=o=>{r(t===o?null:o)},l=o=>{e.includes(o)?n(e.filter(u=>u!==o)):n([...e,o])};return v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-white",children:"Skills"}),v.jsx("div",{className:"flex flex-wrap gap-3 mb-6 min-h-[40px]",children:e.map((o,u)=>v.jsx(fg,{skill:o,onRemove:()=>n(e.filter((s,a)=>a!==u))},u))}),v.jsx("div",{className:"space-y-4",children:Object.entries(pg).map(([o,u])=>v.jsxs("div",{className:"border border-white/10 rounded-lg overflow-hidden",children:[v.jsxs("button",{className:"w-full px-4 py-3 flex items-center justify-between bg-white/5 hover:bg-white/10 transition-colors",onClick:()=>i(o),children:[v.jsx("span",{className:"font-medium text-white",children:o}),t===o?v.jsx(yg,{className:"text-white/60",size:20}):v.jsx(gg,{className:"text-white/60",size:20})]}),t===o&&v.jsx("div",{className:"p-4 bg-black/20",children:v.jsx("div",{className:"flex flex-wrap gap-2",children:u.map(s=>v.jsx("button",{onClick:()=>l(s),className:`px-3 py-1.5 rounded-lg text-sm transition-colors ${e.includes(s)?"bg-[#6495ed] text-white":"bg-white/5 text-white/80 hover:bg-white/10"}`,children:s},s))})})]},o))})]})}function _g({socialLinks:e,onChange:n}){return v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(wg,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"GitHub Profile URL",value:e.github||"",onChange:t=>n({...e,github:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(Cg,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"LinkedIn Profile URL",value:e.linkedin||"",onChange:t=>n({...e,linkedin:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(Ng,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"Twitter Profile URL",value:e.twitter||"",onChange:t=>n({...e,twitter:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[v.jsx(kg,{className:"text-[#6495ed]",size:20}),v.jsx("input",{type:"text",placeholder:"Website URL",value:e.website||"",onChange:t=>n({...e,website:t.target.value}),className:"flex-1 bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"})]})]})}function zg({data:e,onChange:n}){return v.jsxs("div",{className:"space-y-6 p-6",children:[v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-[#6495ed] text-center",children:"Profile Information"}),v.jsxs("div",{className:"space-y-4",children:[v.jsx("input",{type:"text",placeholder:"Your Name",value:e.name||"",onChange:t=>n({...e,name:t.target.value}),className:"w-full bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed] drop-shadow-[0_0_10px_#6495ed]"}),v.jsx("input",{type:"text",placeholder:"Professional Title",value:e.title||"",onChange:t=>n({...e,title:t.target.value}),className:"w-full bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed] drop-shadow-[0_0_10px_#6495ed]"}),v.jsx("textarea",{placeholder:"About You",value:e.about||"",onChange:t=>n({...e,about:t.target.value}),className:"w-full bg-white/5 border border-[#6495ed]/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed] h-32 drop-shadow-[0_0_10px_#6495ed]"})]})]}),v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-[#6495ed]",children:"Social Links"}),v.jsx(_g,{socialLinks:e.socialLinks,onChange:t=>n({...e,socialLinks:t})})]}),v.jsx(Pg,{skills:e.skills,onChange:t=>n({...e,skills:t})})]})}const Tg={javascript:"F7DF1E",typescript:"007ACC",react:"61DAFB",vue:"4FC08D",angular:"DD0031",node:"339933",python:"3776AB",java:"007396",spring:"6DB33F",go:"00ADD8",rust:"000000",cpp:"00599C",docker:"2496ED",kubernetes:"326CE5",aws:"232F3E",azure:"0089D6",gcp:"4285F4"};function jg(e){const n=e.toLowerCase().replace(/\s+/g,""),t=Tg[n]||"555555";return`https://img.shields.io/badge/${e}-${t}?style=for-the-badge&logo=${n}&logoColor=white`}const Ig={github:{icon:"github",color:"181717",label:"GitHub"},linkedin:{icon:"linkedin",color:"0A66C2",label:"LinkedIn"},twitter:{icon:"twitter",color:"1DA1F2",label:"Twitter"},website:{icon:"globe",color:"4CAF50",label:"Website"}};function Lg(e,n){const t=Ig[e.toLowerCase()];return t?`[![${t.label}](https://img.shields.io/badge/${t.label}-${t.color}?style=for-the-badge&logo=${t.icon})](${n})`:""}function Dg(e){return[`![GitHub Stats](https://github-readme-stats.vercel.app/api?username=${e}&show_icons=true&theme=nord)`,`![GitHub Streak](https://github-readme-streak-stats.herokuapp.com/?user=${e}&theme=nord)`,`![Top Languages](https://github-readme-stats.vercel.app/api/top-langs/?username=${e}&layout=compact&theme=nord)`,`![Profile Views](https://komarev.com/ghpvc/?username=${e}&color=#6495ed&style=for-the-badge)`]}function Ag(e,n,t){return e.type==="custom"&&e.customUrl?e.customUrl:`https://capsule-render.vercel.app/api?${new URLSearchParams({type:e.type,color:e.color,height:e.height.toString(),section:"header",text:n,fontSize:"50",fontAlignY:"35",desc:t||"",descAlignY:"50"}).toString()}`}function Fg(e){const n=[],t=Ag(e.banner,e.name,e.title);n.push(`
header -
`),(e.name||e.title)&&n.push(`# ${e.name}${e.title?` | ${e.title}`:""}`),e.about&&n.push(e.about);const r=Object.entries(e.socialLinks).filter(([i,l])=>l).map(([i,l])=>Lg(i,l));if(r.length>0&&n.push(`
+
`),(e.name||e.title)&&n.push(`
${e.name}${e.title?` | ${e.title}`:""}
`),e.about&&n.push(`

${e.about}

`);const r=Object.entries(e.socialLinks).filter(([i,l])=>l).map(([i,l])=>Lg(i,l));if(r.length>0&&n.push(`
${r.join(" ")} -
`),e.skills.length>0&&n.push(`## 🛠 Skills +
`),e.skills.length>0&&n.push(`

🛠 Skills

${e.skills.map(i=>`![${i}](${jg(i)})`).join(" ")} -
`),e.workExperience.length>0&&n.push(`## 💼 Work Experience +`),e.workExperience.length>0&&n.push(`

💼 Work Experience

${e.workExperience.map(Rg).join(` @@ -186,4 +186,4 @@ ${e.technologies.length>0?"**Technologies:** "+e.technologies.join(", "):""}`}fu `});++r0&&t.push({type:"text",value:` `}),t}function vc(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function xc(e,n){const t=Rv(e,n),r=t.one(e,void 0),i=Nv(t),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:` -`},i),l}function Uv(e,n){return e&&"run"in e?async function(t,r){const i=xc(t,{file:r,...n});await e.run(i,r)}:function(t,r){return xc(t,{file:r,...e||n})}}function wc(e){if(e)throw e}var Oi=Object.prototype.hasOwnProperty,zd=Object.prototype.toString,kc=Object.defineProperty,Sc=Object.getOwnPropertyDescriptor,Cc=function(n){return typeof Array.isArray=="function"?Array.isArray(n):zd.call(n)==="[object Array]"},Ec=function(n){if(!n||zd.call(n)!=="[object Object]")return!1;var t=Oi.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&Oi.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||Oi.call(n,i)},Nc=function(n,t){kc&&t.name==="__proto__"?kc(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},Pc=function(n,t){if(t==="__proto__")if(Oi.call(n,t)){if(Sc)return Sc(n,t).value}else return;return n[t]},$v=function e(){var n,t,r,i,l,o,u=arguments[0],s=1,a=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},s=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});so.length;let s;u&&o.push(i);try{s=e.apply(this,o)}catch(a){const c=a;if(u&&t)throw c;return i(c)}u||(s&&s.then&&typeof s.then=="function"?s.then(l,i):s instanceof Error?i(s):l(s))}function i(o,...u){t||(t=!0,n(o,...u))}function l(o){i(null,o)}}const yn={basename:Wv,dirname:Qv,extname:Kv,join:Gv,sep:"/"};function Wv(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');ti(e);let t=0,r=-1,i=e.length,l;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let o=-1,u=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),u>-1&&(e.codePointAt(i)===n.codePointAt(u--)?u<0&&(r=i):(u=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function Qv(e){if(ti(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function Kv(e){ti(e);let n=e.length,t=-1,r=0,i=-1,l=0,o;for(;n--;){const u=e.codePointAt(n);if(u===47){if(o){r=n+1;break}continue}t<0&&(o=!0,t=n+1),u===46?i<0?i=n:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function Gv(...e){let n=-1,t;for(;++n0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function qv(e,n){let t="",r=0,i=-1,l=0,o=-1,u,s;for(;++o<=e.length;){if(o2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",r=0):(t=t.slice(0,s),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,o):t=e.slice(i+1,o),r=o-i-1;i=o,l=0}else u===46&&l>-1?l++:l=-1}return t}function ti(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Xv={cwd:Zv};function Zv(){return"/"}function hu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Jv(e){if(typeof e=="string")e=new URL(e);else if(!hu(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return ex(e)}function ex(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t0){let[p,...w]=c;const k=r[d][1];du(k)&&du(p)&&(p=oo(!0,k,p)),r[d]=[a,p,...w]}}}}const ix=new Es().freeze();function co(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function fo(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function po(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zc(e){if(!du(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Tc(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Ci(e){return lx(e)?e:new Td(e)}function lx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ox(e){return typeof e=="string"||ux(e)}function ux(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const sx="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",jc=[],Ic={allowDangerousHtml:!0},ax=/^(https?|ircs?|mailto|xmpp)$/i,cx=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function fx(e){const n=e.allowedElements,t=e.allowElement,r=e.children||"",i=e.className,l=e.components,o=e.disallowedElements,u=e.rehypePlugins||jc,s=e.remarkPlugins||jc,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ic}:Ic,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||px,p=ix().use(Q0).use(s).use(Uv,a).use(u),w=new Td;typeof r=="string"&&(w.value=r);for(const m of cx)Object.hasOwn(e,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+sx+m.id,void 0);const k=p.parse(w);let T=p.runSync(k,w);return i&&(T={type:"element",tagName:"div",properties:{className:i},children:T.type==="root"?T.children:[T]}),_d(T,h),Ey(T,{Fragment:v.Fragment,components:l,ignoreInvalidStyle:!0,jsx:v.jsx,jsxs:v.jsxs,passKeys:!0,passNode:!0});function h(m,y,C){if(m.type==="raw"&&C&&typeof y=="number")return c?C.children.splice(y,1):C.children[y]={type:"text",value:m.value},y;if(m.type==="element"){let N;for(N in ro)if(Object.hasOwn(ro,N)&&Object.hasOwn(m.properties,N)){const S=m.properties[N],z=ro[N];(z===null||z.includes(m.tagName))&&(m.properties[N]=d(String(S||""),N,m))}}if(m.type==="element"){let N=n?!n.includes(m.tagName):o?o.includes(m.tagName):!1;if(!N&&t&&typeof y=="number"&&(N=!t(m,y,C)),N&&C&&typeof y=="number")return f&&m.children?C.children.splice(y,1,...m.children):C.children.splice(y,1),y}}}function px(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n<0||i>-1&&n>i||t>-1&&n>t||r>-1&&n>r||ax.test(e.slice(0,n))?e:""}function dx({data:e}){const n=Fg(e);return v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-white",children:"Preview"}),v.jsxs("div",{className:"mb-8",children:[v.jsxs("div",{className:"flex items-center justify-between mb-2",children:[v.jsx("h3",{className:"text-lg font-medium text-white/80",children:"Raw Markdown"}),v.jsx(Mg,{text:n})]}),v.jsx("div",{className:"bg-black/30 p-4 rounded-lg overflow-x-auto",children:v.jsx("pre",{className:"text-sm text-white/90",children:v.jsx("code",{children:n})})})]}),v.jsxs("div",{children:[v.jsx("h3",{className:"text-lg font-medium text-white/80 mb-2",children:"Rendered Preview"}),v.jsx("div",{className:"prose prose-invert max-w-none bg-black/30 p-4 rounded-lg prose-img:inline-block prose-img:m-1",children:v.jsx(fx,{children:n})})]})]})}const hx="https://api.github.com";async function mx(e){try{const n=await fetch(`${hx}/users/${e}`);if(!n.ok)throw new Error("Failed to fetch GitHub profile");return await n.json()}catch(n){throw console.error("Error fetching GitHub profile:",n),n}}function gx({onProfileLoad:e}){const[n,t]=ve.useState(""),[r,i]=ve.useState(!1),[l,o]=ve.useState(""),u=async()=>{if(n.trim()){i(!0),o("");try{const s=await mx(n);e({name:s.name||n,about:s.bio||"",location:s.location||"",socialLinks:{github:s.html_url,website:s.blog||"",twitter:s.twitter_username?`https://twitter.com/${s.twitter_username}`:""}})}catch{o("Failed to fetch GitHub profile")}finally{i(!1)}}};return v.jsxs("div",{className:"flex flex-col gap-2",children:[v.jsxs("div",{className:"flex gap-2",children:[v.jsx("input",{type:"text",placeholder:"Enter GitHub username",value:n,onChange:s=>t(s.target.value),onKeyPress:s=>s.key==="Enter"&&u(),className:"flex-1 bg-white/5 border border-white/10 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"}),v.jsxs("button",{onClick:u,disabled:r,className:"px-4 py-2 bg-[#6495ed] rounded-lg hover:bg-[#4f7fd8] transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[v.jsx(Eg,{size:20}),r?"Loading...":"Fetch"]})]}),l&&v.jsx("p",{className:"text-red-400 text-sm",children:l})]})}function yx({experiences:e,onChange:n}){const[t,r]=ve.useState(!1),i=o=>{n([...e,o]),r(!1)},l=o=>{n(e.filter((u,s)=>s!==o))};return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex justify-between items-center mb-4",children:[v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Work Experience"}),v.jsxs("button",{onClick:()=>r(!0),className:"flex items-center gap-2 px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:[v.jsx(as,{size:16}),"Add Experience"]})]}),v.jsxs("div",{className:"space-y-4",children:[e.map((o,u)=>v.jsxs("div",{className:"p-4 bg-white/5 rounded-lg relative group",children:[v.jsx("button",{onClick:()=>l(u),className:"absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity",children:v.jsx(cs,{className:"text-red-400 hover:text-red-500",size:16})}),v.jsxs("div",{className:"flex justify-between mb-2",children:[v.jsxs("div",{children:[v.jsx("h3",{className:"font-medium text-white",children:o.position}),v.jsx("p",{className:"text-white/60",children:o.company})]}),v.jsxs("div",{className:"text-sm text-white/60",children:[o.startDate," - ",o.current?"Present":o.endDate]})]}),v.jsx("p",{className:"text-white/80 text-sm mb-2",children:o.description}),v.jsx("div",{className:"flex flex-wrap gap-2",children:o.technologies.map((s,a)=>v.jsx("span",{className:"px-2 py-1 bg-white/10 rounded text-xs text-white/80",children:s},a))})]},u)),t&&v.jsx(vx,{onSubmit:i,onCancel:()=>r(!1)})]})]})}function vx({onSubmit:e,onCancel:n}){const[t,r]=ve.useState({company:"",position:"",startDate:"",endDate:"",current:!1,description:"",technologies:[]});return v.jsxs("form",{onSubmit:i=>{i.preventDefault(),e(t)},className:"p-4 bg-white/5 rounded-lg space-y-4",children:[v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"text",placeholder:"Position",value:t.position,onChange:i=>r({...t,position:i.target.value}),className:"glass-input",required:!0}),v.jsx("input",{type:"text",placeholder:"Company",value:t.company,onChange:i=>r({...t,company:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"month",placeholder:"Start Date",value:t.startDate,onChange:i=>r({...t,startDate:i.target.value}),className:"glass-input",required:!0}),!t.current&&v.jsx("input",{type:"month",placeholder:"End Date",value:t.endDate,onChange:i=>r({...t,endDate:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("input",{type:"checkbox",id:"current",checked:t.current,onChange:i=>r({...t,current:i.target.checked}),className:"rounded border-white/20 bg-white/5"}),v.jsx("label",{htmlFor:"current",className:"text-sm text-white/80",children:"I currently work here"})]}),v.jsx("textarea",{placeholder:"Description",value:t.description,onChange:i=>r({...t,description:i.target.value}),className:"glass-input h-24",required:!0}),v.jsx("input",{type:"text",placeholder:"Technologies (comma-separated)",value:t.technologies.join(", "),onChange:i=>r({...t,technologies:i.target.value.split(",").map(l=>l.trim()).filter(Boolean)}),className:"glass-input"}),v.jsxs("div",{className:"flex justify-end gap-2",children:[v.jsx("button",{type:"button",onClick:n,className:"px-3 py-1.5 bg-white/10 rounded-lg hover:bg-white/20 transition-colors",children:"Cancel"}),v.jsx("button",{type:"submit",className:"px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:"Save"})]})]})}function xx({education:e,onChange:n}){const[t,r]=ve.useState(!1),i=o=>{n([...e,o]),r(!1)},l=o=>{n(e.filter((u,s)=>s!==o))};return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex justify-between items-center mb-4",children:[v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Education"}),v.jsxs("button",{onClick:()=>r(!0),className:"flex items-center gap-2 px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:[v.jsx(as,{size:16}),"Add Education"]})]}),v.jsxs("div",{className:"space-y-4",children:[e.map((o,u)=>v.jsxs("div",{className:"p-4 bg-white/5 rounded-lg relative group",children:[v.jsx("button",{onClick:()=>l(u),className:"absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity",children:v.jsx(cs,{className:"text-red-400 hover:text-red-500",size:16})}),v.jsxs("div",{className:"flex justify-between mb-2",children:[v.jsxs("div",{children:[v.jsxs("h3",{className:"font-medium text-white",children:[o.degree," in ",o.field]}),v.jsx("p",{className:"text-white/60",children:o.institution})]}),v.jsxs("div",{className:"text-sm text-white/60",children:[o.startDate," - ",o.current?"Present":o.endDate]})]}),v.jsx("p",{className:"text-white/80 text-sm",children:o.description})]},u)),t&&v.jsx(wx,{onSubmit:i,onCancel:()=>r(!1)})]})]})}function wx({onSubmit:e,onCancel:n}){const[t,r]=ve.useState({institution:"",degree:"",field:"",startDate:"",endDate:"",current:!1,description:""});return v.jsxs("form",{onSubmit:i=>{i.preventDefault(),e(t)},className:"p-4 bg-white/5 rounded-lg space-y-4",children:[v.jsx("input",{type:"text",placeholder:"Institution",value:t.institution,onChange:i=>r({...t,institution:i.target.value}),className:"glass-input w-full",required:!0}),v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"text",placeholder:"Degree",value:t.degree,onChange:i=>r({...t,degree:i.target.value}),className:"glass-input",required:!0}),v.jsx("input",{type:"text",placeholder:"Field of Study",value:t.field,onChange:i=>r({...t,field:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"month",placeholder:"Start Date",value:t.startDate,onChange:i=>r({...t,startDate:i.target.value}),className:"glass-input",required:!0}),!t.current&&v.jsx("input",{type:"month",placeholder:"End Date",value:t.endDate,onChange:i=>r({...t,endDate:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("input",{type:"checkbox",id:"current-education",checked:t.current,onChange:i=>r({...t,current:i.target.checked}),className:"rounded border-white/20 bg-white/5"}),v.jsx("label",{htmlFor:"current-education",className:"text-sm text-white/80",children:"I am currently studying here"})]}),v.jsx("textarea",{placeholder:"Description",value:t.description,onChange:i=>r({...t,description:i.target.value}),className:"glass-input h-24"}),v.jsxs("div",{className:"flex justify-end gap-2",children:[v.jsx("button",{type:"button",onClick:n,className:"px-3 py-1.5 bg-white/10 rounded-lg hover:bg-white/20 transition-colors",children:"Cancel"}),v.jsx("button",{type:"submit",className:"px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:"Save"})]})]})}function kx({projects:e,onChange:n}){const[t,r]=ve.useState(!1),i=u=>{n([...e,u]),r(!1)},l=u=>{n(e.filter((s,a)=>a!==u))},o=u=>{const s=[...e];s[u]={...s[u],featured:!s[u].featured},n(s)};return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex justify-between items-center mb-4",children:[v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Projects"}),v.jsxs("button",{onClick:()=>r(!0),className:"flex items-center gap-2 px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:[v.jsx(as,{size:16}),"Add Project"]})]}),v.jsxs("div",{className:"space-y-4",children:[e.map((u,s)=>v.jsxs("div",{className:"p-4 bg-white/5 rounded-lg relative group",children:[v.jsxs("div",{className:"absolute top-2 right-2 flex gap-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[v.jsx("button",{onClick:()=>o(s),className:`${u.featured?"text-yellow-400":"text-white/60"} hover:text-yellow-400`,children:v.jsx(ba,{size:16,fill:u.featured?"currentColor":"none"})}),v.jsx("button",{onClick:()=>l(s),children:v.jsx(cs,{className:"text-red-400 hover:text-red-500",size:16})})]}),v.jsxs("div",{className:"mb-2",children:[v.jsxs("h3",{className:"font-medium text-white flex items-center gap-2",children:[u.name,u.featured&&v.jsx(ba,{size:14,className:"text-yellow-400",fill:"currentColor"})]}),v.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-purple-400 hover:text-purple-300",children:u.url})]}),v.jsx("p",{className:"text-white/80 text-sm mb-2",children:u.description}),v.jsx("div",{className:"flex flex-wrap gap-2",children:u.technologies.map((a,c)=>v.jsx("span",{className:"px-2 py-1 bg-white/10 rounded text-xs text-white/80",children:a},c))})]},s)),t&&v.jsx(Sx,{onSubmit:i,onCancel:()=>r(!1)})]})]})}function Sx({onSubmit:e,onCancel:n}){const[t,r]=ve.useState({name:"",description:"",url:"",technologies:[],featured:!1});return v.jsxs("form",{onSubmit:i=>{i.preventDefault(),e(t)},className:"p-4 bg-white/5 rounded-lg space-y-4",children:[v.jsx("input",{type:"text",placeholder:"Project Name",value:t.name,onChange:i=>r({...t,name:i.target.value}),className:"glass-input w-full",required:!0}),v.jsx("input",{type:"url",placeholder:"Project URL",value:t.url,onChange:i=>r({...t,url:i.target.value}),className:"glass-input w-full",required:!0}),v.jsx("textarea",{placeholder:"Description",value:t.description,onChange:i=>r({...t,description:i.target.value}),className:"glass-input h-24",required:!0}),v.jsx("input",{type:"text",placeholder:"Technologies (comma-separated)",value:t.technologies.join(", "),onChange:i=>r({...t,technologies:i.target.value.split(",").map(l=>l.trim()).filter(Boolean)}),className:"glass-input"}),v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("input",{type:"checkbox",id:"featured",checked:t.featured,onChange:i=>r({...t,featured:i.target.checked}),className:"rounded border-white/20 bg-white/5"}),v.jsx("label",{htmlFor:"featured",className:"text-sm text-white/80",children:"Featured project"})]}),v.jsxs("div",{className:"flex justify-end gap-2",children:[v.jsx("button",{type:"button",onClick:n,className:"px-3 py-1.5 bg-white/10 rounded-lg hover:bg-white/20 transition-colors",children:"Cancel"}),v.jsx("button",{type:"submit",className:"px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:"Save"})]})]})}function Cx({banner:e,onChange:n}){const[t,r]=ve.useState(e.type==="custom"),i=[{value:"waving",label:"Waving"},{value:"slice",label:"Slice"},{value:"cylinder",label:"Cylinder"},{value:"rect",label:"Rectangle"},{value:"custom",label:"Custom URL"}],l=[{value:"gradient",label:"Purple Gradient"},{value:"0:EEFF00,100:a82da8",label:"Gold to Purple"},{value:"0:FF0000,100:00FF00",label:"Red to Green"},{value:"0:3498db,100:2980b9",label:"Blue Shades"}];return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[v.jsx(Sg,{size:24,className:"text-[#6495ed]"}),v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Banner Settings"})]}),v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Banner Style"}),v.jsx("select",{value:e.type,onChange:o=>{r(o.target.value==="custom"),n({...e,type:o.target.value})},className:"glass-input w-full bg-black text-white border border-white/30 rounded-md",children:i.map(o=>v.jsx("option",{value:o.value,children:o.label},o.value))})]}),t?v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Custom Banner URL"}),v.jsx("input",{type:"url",value:e.customUrl||"",onChange:o=>n({...e,customUrl:o.target.value}),placeholder:"https://example.com/banner.png",className:"glass-input w-full"})]}):v.jsxs(v.Fragment,{children:[v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Color Theme"}),v.jsx("select",{value:e.color,onChange:o=>n({...e,color:o.target.value}),className:"glass-input w-full bg-black text-white border border-white/30 rounded-md",children:l.map(o=>v.jsx("option",{value:o.value,children:o.label},o.value))})]}),v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Height (px)"}),v.jsx("input",{type:"number",value:e.height,onChange:o=>n({...e,height:Number(o.target.value)}),min:"100",max:"400",step:"10",className:"glass-input w-full bg-black text-white border border-white/30 rounded-md"})]})]})]})]})}const Ex={name:"",title:"",about:"",location:"",socialLinks:{github:"",linkedin:"",twitter:"",website:""},skills:[],workExperience:[],education:[],certifications:[],projects:[],stats:!0,contact:"",customSections:[],banner:{type:"waving",color:"gradient",height:200}};function Nx(){const[e,n]=ve.useState(Ex),t=r=>{n(i=>({...i,...r}))};return v.jsx("div",{className:"min-h-screen bg-[#0a0a0a]",children:v.jsxs("div",{className:"container mx-auto px-4 py-8",children:[v.jsxs("header",{className:"text-center mb-12",children:[v.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[v.jsx(xg,{size:40,className:"text-[#6495ed]"}),v.jsx("h1",{className:"text-4xl font-bold text-white",children:"README Generator"})]}),v.jsx("p",{className:"text-[#6495ed]",children:"Create your perfect GitHub profile README in minutes"}),v.jsx("div",{className:"mt-8 max-w-md mx-auto",children:v.jsx(gx,{onProfileLoad:t})})]}),v.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[v.jsxs("div",{className:"space-y-6",children:[v.jsx(zg,{data:e,onChange:n}),v.jsx(Cx,{banner:e.banner,onChange:r=>n({...e,banner:r})}),v.jsx(yx,{experiences:e.workExperience,onChange:r=>n({...e,workExperience:r})}),v.jsx(xx,{education:e.education,onChange:r=>n({...e,education:r})}),v.jsx(kx,{projects:e.projects,onChange:r=>n({...e,projects:r})})]}),v.jsx("div",{className:"lg:sticky lg:top-8 h-fit",children:v.jsx(dx,{data:e})})]}),v.jsx("footer",{className:"mt-12 text-center text-sm text-gray-400",children:v.jsxs("p",{children:["Created with ❤️ by",v.jsx("a",{href:"https://github.com/eshanized",target:"_blank",rel:"noopener noreferrer",className:"text-[#6495ed] hover:text-[#4f7fd8] ml-1",children:"eshanized"})]})})]})})}Wp(document.getElementById("root")).render(v.jsx(ve.StrictMode,{children:v.jsx(Nx,{})})); +`},i),l}function Uv(e,n){return e&&"run"in e?async function(t,r){const i=xc(t,{file:r,...n});await e.run(i,r)}:function(t,r){return xc(t,{file:r,...e||n})}}function wc(e){if(e)throw e}var Oi=Object.prototype.hasOwnProperty,zd=Object.prototype.toString,kc=Object.defineProperty,Sc=Object.getOwnPropertyDescriptor,Cc=function(n){return typeof Array.isArray=="function"?Array.isArray(n):zd.call(n)==="[object Array]"},Ec=function(n){if(!n||zd.call(n)!=="[object Object]")return!1;var t=Oi.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&Oi.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||Oi.call(n,i)},Nc=function(n,t){kc&&t.name==="__proto__"?kc(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},Pc=function(n,t){if(t==="__proto__")if(Oi.call(n,t)){if(Sc)return Sc(n,t).value}else return;return n[t]},$v=function e(){var n,t,r,i,l,o,u=arguments[0],s=1,a=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},s=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});so.length;let s;u&&o.push(i);try{s=e.apply(this,o)}catch(a){const c=a;if(u&&t)throw c;return i(c)}u||(s&&s.then&&typeof s.then=="function"?s.then(l,i):s instanceof Error?i(s):l(s))}function i(o,...u){t||(t=!0,n(o,...u))}function l(o){i(null,o)}}const yn={basename:Wv,dirname:Qv,extname:Kv,join:Gv,sep:"/"};function Wv(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');ti(e);let t=0,r=-1,i=e.length,l;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let o=-1,u=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),u>-1&&(e.codePointAt(i)===n.codePointAt(u--)?u<0&&(r=i):(u=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function Qv(e){if(ti(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function Kv(e){ti(e);let n=e.length,t=-1,r=0,i=-1,l=0,o;for(;n--;){const u=e.codePointAt(n);if(u===47){if(o){r=n+1;break}continue}t<0&&(o=!0,t=n+1),u===46?i<0?i=n:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function Gv(...e){let n=-1,t;for(;++n0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function qv(e,n){let t="",r=0,i=-1,l=0,o=-1,u,s;for(;++o<=e.length;){if(o2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",r=0):(t=t.slice(0,s),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,o):t=e.slice(i+1,o),r=o-i-1;i=o,l=0}else u===46&&l>-1?l++:l=-1}return t}function ti(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Xv={cwd:Zv};function Zv(){return"/"}function hu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Jv(e){if(typeof e=="string")e=new URL(e);else if(!hu(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return ex(e)}function ex(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t0){let[p,...w]=c;const k=r[d][1];du(k)&&du(p)&&(p=oo(!0,k,p)),r[d]=[a,p,...w]}}}}const ix=new Es().freeze();function co(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function fo(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function po(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zc(e){if(!du(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Tc(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Ci(e){return lx(e)?e:new Td(e)}function lx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ox(e){return typeof e=="string"||ux(e)}function ux(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const sx="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",jc=[],Ic={allowDangerousHtml:!0},ax=/^(https?|ircs?|mailto|xmpp)$/i,cx=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function fx(e){const n=e.allowedElements,t=e.allowElement,r=e.children||"",i=e.className,l=e.components,o=e.disallowedElements,u=e.rehypePlugins||jc,s=e.remarkPlugins||jc,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ic}:Ic,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||px,p=ix().use(Q0).use(s).use(Uv,a).use(u),w=new Td;typeof r=="string"&&(w.value=r);for(const m of cx)Object.hasOwn(e,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+sx+m.id,void 0);const k=p.parse(w);let T=p.runSync(k,w);return i&&(T={type:"element",tagName:"div",properties:{className:i},children:T.type==="root"?T.children:[T]}),_d(T,h),Ey(T,{Fragment:v.Fragment,components:l,ignoreInvalidStyle:!0,jsx:v.jsx,jsxs:v.jsxs,passKeys:!0,passNode:!0});function h(m,y,C){if(m.type==="raw"&&C&&typeof y=="number")return c?C.children.splice(y,1):C.children[y]={type:"text",value:m.value},y;if(m.type==="element"){let N;for(N in ro)if(Object.hasOwn(ro,N)&&Object.hasOwn(m.properties,N)){const S=m.properties[N],z=ro[N];(z===null||z.includes(m.tagName))&&(m.properties[N]=d(String(S||""),N,m))}}if(m.type==="element"){let N=n?!n.includes(m.tagName):o?o.includes(m.tagName):!1;if(!N&&t&&typeof y=="number"&&(N=!t(m,y,C)),N&&C&&typeof y=="number")return f&&m.children?C.children.splice(y,1,...m.children):C.children.splice(y,1),y}}}function px(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n<0||i>-1&&n>i||t>-1&&n>t||r>-1&&n>r||ax.test(e.slice(0,n))?e:""}function dx({data:e}){const n=Fg(e);return v.jsxs(et,{className:"p-6",children:[v.jsx("h2",{className:"text-xl font-semibold mb-4 text-[#6495ed]",children:"Preview"}),v.jsxs("div",{className:"mb-8",children:[v.jsxs("div",{className:"flex items-center justify-between mb-2",children:[v.jsx("h3",{className:"text-lg font-medium text-white/80",children:"Raw Markdown"}),v.jsx(Mg,{text:n})]}),v.jsx("div",{className:"bg-black/30 p-4 rounded-lg overflow-x-auto",children:v.jsx("pre",{className:"text-sm text-white/90",children:v.jsx("code",{children:n})})})]}),v.jsxs("div",{children:[v.jsx("h3",{className:"text-lg font-medium text-white/80 mb-2",children:"Rendered Preview"}),v.jsx("div",{className:"prose prose-invert max-w-none bg-black/30 p-4 rounded-lg prose-img:inline-block prose-img:m-1",children:v.jsx(fx,{children:n})})]})]})}const hx="https://api.github.com";async function mx(e){try{const n=await fetch(`${hx}/users/${e}`);if(!n.ok)throw new Error("Failed to fetch GitHub profile");return await n.json()}catch(n){throw console.error("Error fetching GitHub profile:",n),n}}function gx({onProfileLoad:e}){const[n,t]=ve.useState(""),[r,i]=ve.useState(!1),[l,o]=ve.useState(""),u=async()=>{if(n.trim()){i(!0),o("");try{const s=await mx(n);e({name:s.name||n,about:s.bio||"",location:s.location||"",socialLinks:{github:s.html_url,website:s.blog||"",twitter:s.twitter_username?`https://twitter.com/${s.twitter_username}`:""}})}catch{o("Failed to fetch GitHub profile")}finally{i(!1)}}};return v.jsxs("div",{className:"flex flex-col gap-2",children:[v.jsxs("div",{className:"flex gap-2",children:[v.jsx("input",{type:"text",placeholder:"Enter GitHub username",value:n,onChange:s=>t(s.target.value),onKeyPress:s=>s.key==="Enter"&&u(),className:"flex-1 bg-white/5 border border-white/10 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-[#6495ed]"}),v.jsxs("button",{onClick:u,disabled:r,className:"px-4 py-2 bg-[#6495ed] rounded-lg hover:bg-[#4f7fd8] transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[v.jsx(Eg,{size:20}),r?"Loading...":"Fetch"]})]}),l&&v.jsx("p",{className:"text-red-400 text-sm",children:l})]})}function yx({experiences:e,onChange:n}){const[t,r]=ve.useState(!1),i=o=>{n([...e,o]),r(!1)},l=o=>{n(e.filter((u,s)=>s!==o))};return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex justify-between items-center mb-4",children:[v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Work Experience"}),v.jsxs("button",{onClick:()=>r(!0),className:"flex items-center gap-2 px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:[v.jsx(as,{size:16}),"Add Experience"]})]}),v.jsxs("div",{className:"space-y-4",children:[e.map((o,u)=>v.jsxs("div",{className:"p-4 bg-white/5 rounded-lg relative group",children:[v.jsx("button",{onClick:()=>l(u),className:"absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity",children:v.jsx(cs,{className:"text-red-400 hover:text-red-500",size:16})}),v.jsxs("div",{className:"flex justify-between mb-2",children:[v.jsxs("div",{children:[v.jsx("h3",{className:"font-medium text-white",children:o.position}),v.jsx("p",{className:"text-white/60",children:o.company})]}),v.jsxs("div",{className:"text-sm text-white/60",children:[o.startDate," - ",o.current?"Present":o.endDate]})]}),v.jsx("p",{className:"text-white/80 text-sm mb-2",children:o.description}),v.jsx("div",{className:"flex flex-wrap gap-2",children:o.technologies.map((s,a)=>v.jsx("span",{className:"px-2 py-1 bg-white/10 rounded text-xs text-white/80",children:s},a))})]},u)),t&&v.jsx(vx,{onSubmit:i,onCancel:()=>r(!1)})]})]})}function vx({onSubmit:e,onCancel:n}){const[t,r]=ve.useState({company:"",position:"",startDate:"",endDate:"",current:!1,description:"",technologies:[]});return v.jsxs("form",{onSubmit:i=>{i.preventDefault(),e(t)},className:"p-4 bg-white/5 rounded-lg space-y-4",children:[v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"text",placeholder:"Position",value:t.position,onChange:i=>r({...t,position:i.target.value}),className:"glass-input",required:!0}),v.jsx("input",{type:"text",placeholder:"Company",value:t.company,onChange:i=>r({...t,company:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"month",placeholder:"Start Date",value:t.startDate,onChange:i=>r({...t,startDate:i.target.value}),className:"glass-input",required:!0}),!t.current&&v.jsx("input",{type:"month",placeholder:"End Date",value:t.endDate,onChange:i=>r({...t,endDate:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("input",{type:"checkbox",id:"current",checked:t.current,onChange:i=>r({...t,current:i.target.checked}),className:"rounded border-white/20 bg-white/5"}),v.jsx("label",{htmlFor:"current",className:"text-sm text-white/80",children:"I currently work here"})]}),v.jsx("textarea",{placeholder:"Description",value:t.description,onChange:i=>r({...t,description:i.target.value}),className:"glass-input h-24",required:!0}),v.jsx("input",{type:"text",placeholder:"Technologies (comma-separated)",value:t.technologies.join(", "),onChange:i=>r({...t,technologies:i.target.value.split(",").map(l=>l.trim()).filter(Boolean)}),className:"glass-input"}),v.jsxs("div",{className:"flex justify-end gap-2",children:[v.jsx("button",{type:"button",onClick:n,className:"px-3 py-1.5 bg-white/10 rounded-lg hover:bg-white/20 transition-colors",children:"Cancel"}),v.jsx("button",{type:"submit",className:"px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:"Save"})]})]})}function xx({education:e,onChange:n}){const[t,r]=ve.useState(!1),i=o=>{n([...e,o]),r(!1)},l=o=>{n(e.filter((u,s)=>s!==o))};return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex justify-between items-center mb-4",children:[v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Education"}),v.jsxs("button",{onClick:()=>r(!0),className:"flex items-center gap-2 px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:[v.jsx(as,{size:16}),"Add Education"]})]}),v.jsxs("div",{className:"space-y-4",children:[e.map((o,u)=>v.jsxs("div",{className:"p-4 bg-white/5 rounded-lg relative group",children:[v.jsx("button",{onClick:()=>l(u),className:"absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity",children:v.jsx(cs,{className:"text-red-400 hover:text-red-500",size:16})}),v.jsxs("div",{className:"flex justify-between mb-2",children:[v.jsxs("div",{children:[v.jsxs("h3",{className:"font-medium text-white",children:[o.degree," in ",o.field]}),v.jsx("p",{className:"text-white/60",children:o.institution})]}),v.jsxs("div",{className:"text-sm text-white/60",children:[o.startDate," - ",o.current?"Present":o.endDate]})]}),v.jsx("p",{className:"text-white/80 text-sm",children:o.description})]},u)),t&&v.jsx(wx,{onSubmit:i,onCancel:()=>r(!1)})]})]})}function wx({onSubmit:e,onCancel:n}){const[t,r]=ve.useState({institution:"",degree:"",field:"",startDate:"",endDate:"",current:!1,description:""});return v.jsxs("form",{onSubmit:i=>{i.preventDefault(),e(t)},className:"p-4 bg-white/5 rounded-lg space-y-4",children:[v.jsx("input",{type:"text",placeholder:"Institution",value:t.institution,onChange:i=>r({...t,institution:i.target.value}),className:"glass-input w-full",required:!0}),v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"text",placeholder:"Degree",value:t.degree,onChange:i=>r({...t,degree:i.target.value}),className:"glass-input",required:!0}),v.jsx("input",{type:"text",placeholder:"Field of Study",value:t.field,onChange:i=>r({...t,field:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[v.jsx("input",{type:"month",placeholder:"Start Date",value:t.startDate,onChange:i=>r({...t,startDate:i.target.value}),className:"glass-input",required:!0}),!t.current&&v.jsx("input",{type:"month",placeholder:"End Date",value:t.endDate,onChange:i=>r({...t,endDate:i.target.value}),className:"glass-input",required:!0})]}),v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("input",{type:"checkbox",id:"current-education",checked:t.current,onChange:i=>r({...t,current:i.target.checked}),className:"rounded border-white/20 bg-white/5"}),v.jsx("label",{htmlFor:"current-education",className:"text-sm text-white/80",children:"I am currently studying here"})]}),v.jsx("textarea",{placeholder:"Description",value:t.description,onChange:i=>r({...t,description:i.target.value}),className:"glass-input h-24"}),v.jsxs("div",{className:"flex justify-end gap-2",children:[v.jsx("button",{type:"button",onClick:n,className:"px-3 py-1.5 bg-white/10 rounded-lg hover:bg-white/20 transition-colors",children:"Cancel"}),v.jsx("button",{type:"submit",className:"px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:"Save"})]})]})}function kx({projects:e,onChange:n}){const[t,r]=ve.useState(!1),i=u=>{n([...e,u]),r(!1)},l=u=>{n(e.filter((s,a)=>a!==u))},o=u=>{const s=[...e];s[u]={...s[u],featured:!s[u].featured},n(s)};return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex justify-between items-center mb-4",children:[v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Projects"}),v.jsxs("button",{onClick:()=>r(!0),className:"flex items-center gap-2 px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:[v.jsx(as,{size:16}),"Add Project"]})]}),v.jsxs("div",{className:"space-y-4",children:[e.map((u,s)=>v.jsxs("div",{className:"p-4 bg-white/5 rounded-lg relative group",children:[v.jsxs("div",{className:"absolute top-2 right-2 flex gap-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[v.jsx("button",{onClick:()=>o(s),className:`${u.featured?"text-yellow-400":"text-white/60"} hover:text-yellow-400`,children:v.jsx(ba,{size:16,fill:u.featured?"currentColor":"none"})}),v.jsx("button",{onClick:()=>l(s),children:v.jsx(cs,{className:"text-red-400 hover:text-red-500",size:16})})]}),v.jsxs("div",{className:"mb-2",children:[v.jsxs("h3",{className:"font-medium text-white flex items-center gap-2",children:[u.name,u.featured&&v.jsx(ba,{size:14,className:"text-yellow-400",fill:"currentColor"})]}),v.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-purple-400 hover:text-purple-300",children:u.url})]}),v.jsx("p",{className:"text-white/80 text-sm mb-2",children:u.description}),v.jsx("div",{className:"flex flex-wrap gap-2",children:u.technologies.map((a,c)=>v.jsx("span",{className:"px-2 py-1 bg-white/10 rounded text-xs text-white/80",children:a},c))})]},s)),t&&v.jsx(Sx,{onSubmit:i,onCancel:()=>r(!1)})]})]})}function Sx({onSubmit:e,onCancel:n}){const[t,r]=ve.useState({name:"",description:"",url:"",technologies:[],featured:!1});return v.jsxs("form",{onSubmit:i=>{i.preventDefault(),e(t)},className:"p-4 bg-white/5 rounded-lg space-y-4",children:[v.jsx("input",{type:"text",placeholder:"Project Name",value:t.name,onChange:i=>r({...t,name:i.target.value}),className:"glass-input w-full",required:!0}),v.jsx("input",{type:"url",placeholder:"Project URL",value:t.url,onChange:i=>r({...t,url:i.target.value}),className:"glass-input w-full",required:!0}),v.jsx("textarea",{placeholder:"Description",value:t.description,onChange:i=>r({...t,description:i.target.value}),className:"glass-input h-24",required:!0}),v.jsx("input",{type:"text",placeholder:"Technologies (comma-separated)",value:t.technologies.join(", "),onChange:i=>r({...t,technologies:i.target.value.split(",").map(l=>l.trim()).filter(Boolean)}),className:"glass-input"}),v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("input",{type:"checkbox",id:"featured",checked:t.featured,onChange:i=>r({...t,featured:i.target.checked}),className:"rounded border-white/20 bg-white/5"}),v.jsx("label",{htmlFor:"featured",className:"text-sm text-white/80",children:"Featured project"})]}),v.jsxs("div",{className:"flex justify-end gap-2",children:[v.jsx("button",{type:"button",onClick:n,className:"px-3 py-1.5 bg-white/10 rounded-lg hover:bg-white/20 transition-colors",children:"Cancel"}),v.jsx("button",{type:"submit",className:"px-3 py-1.5 bg-[#6495ed] rounded-lg hover:bg-[#6495ed]/80 transition-colors",children:"Save"})]})]})}function Cx({banner:e,onChange:n}){const[t,r]=ve.useState(e.type==="custom"),i=[{value:"waving",label:"Waving"},{value:"slice",label:"Slice"},{value:"cylinder",label:"Cylinder"},{value:"rect",label:"Rectangle"},{value:"custom",label:"Custom URL"}],l=[{value:"gradient",label:"Purple Gradient"},{value:"0:EEFF00,100:a82da8",label:"Gold to Purple"},{value:"0:FF0000,100:00FF00",label:"Red to Green"},{value:"0:3498db,100:2980b9",label:"Blue Shades"}];return v.jsxs(et,{className:"p-6",children:[v.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[v.jsx(Sg,{size:24,className:"text-[#6495ed]"}),v.jsx("h2",{className:"text-xl font-semibold text-white",children:"Banner Settings"})]}),v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Banner Style"}),v.jsx("select",{value:e.type,onChange:o=>{r(o.target.value==="custom"),n({...e,type:o.target.value})},className:"glass-input w-full bg-black text-white border border-white/30 rounded-md",children:i.map(o=>v.jsx("option",{value:o.value,children:o.label},o.value))})]}),t?v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Custom Banner URL"}),v.jsx("input",{type:"url",value:e.customUrl||"",onChange:o=>n({...e,customUrl:o.target.value}),placeholder:"https://example.com/banner.png",className:"glass-input w-full"})]}):v.jsxs(v.Fragment,{children:[v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Color Theme"}),v.jsx("select",{value:e.color,onChange:o=>n({...e,color:o.target.value}),className:"glass-input w-full bg-black text-white border border-white/30 rounded-md",children:l.map(o=>v.jsx("option",{value:o.value,children:o.label},o.value))})]}),v.jsxs("div",{children:[v.jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Height (px)"}),v.jsx("input",{type:"number",value:e.height,onChange:o=>n({...e,height:Number(o.target.value)}),min:"100",max:"400",step:"10",className:"glass-input w-full bg-black text-white border border-white/30 rounded-md"})]})]})]})]})}const Ex={name:"",title:"",about:"",location:"",socialLinks:{github:"",linkedin:"",twitter:"",website:""},skills:[],workExperience:[],education:[],certifications:[],projects:[],stats:!0,contact:"",customSections:[],banner:{type:"waving",color:"gradient",height:200}};function Nx(){const[e,n]=ve.useState(Ex),t=r=>{n(i=>({...i,...r}))};return v.jsx("div",{className:"min-h-screen bg-[#0a0a0a]",children:v.jsxs("div",{className:"container mx-auto px-4 py-8",children:[v.jsxs("header",{className:"text-center mb-12",children:[v.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[v.jsx(xg,{size:40,className:"text-[#6495ed]"}),v.jsx("h1",{className:"text-4xl font-bold text-white",children:"README Generator"})]}),v.jsx("p",{className:"text-[#6495ed]",children:"Create your perfect GitHub profile README in minutes"}),v.jsx("div",{className:"mt-8 max-w-md mx-auto",children:v.jsx(gx,{onProfileLoad:t})})]}),v.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[v.jsxs("div",{className:"space-y-6",children:[v.jsx(zg,{data:e,onChange:n}),v.jsx(Cx,{banner:e.banner,onChange:r=>n({...e,banner:r})}),v.jsx(yx,{experiences:e.workExperience,onChange:r=>n({...e,workExperience:r})}),v.jsx(xx,{education:e.education,onChange:r=>n({...e,education:r})}),v.jsx(kx,{projects:e.projects,onChange:r=>n({...e,projects:r})})]}),v.jsx("div",{className:"lg:sticky lg:top-8 h-fit",children:v.jsx(dx,{data:e})})]}),v.jsx("footer",{className:"mt-12 text-center text-sm text-gray-400",children:v.jsxs("p",{children:["Created with ❤️ by",v.jsx("a",{href:"https://github.com/eshanized",target:"_blank",rel:"noopener noreferrer",className:"text-[#6495ed] hover:text-[#4f7fd8] ml-1",children:"eshanized"})]})})]})})}Wp(document.getElementById("root")).render(v.jsx(ve.StrictMode,{children:v.jsx(Nx,{})})); diff --git a/index.html b/index.html index d5d8671..769ce2c 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ README Generator - - + +