diff --git a/css/style.css b/css/style.css
index 7abfef6..9ec9e1c 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1 +1 @@
-:root{--footer-height: 20px;--font-size: 12px;--padd: 25px;--lineS: 1.2;--innerPadd: 10px;--termSize: 45%;--termOption: calc(10% + 50px);--theme-bg-color: #000;--theme-primary-color: #fff;--theme-secondary-color: rgb(240, 240, 240);--theme-color-muted: #506882;--theme-text-color: #000000;--theme-extra-color: #fff;--theme-border-color: rgba(0, 0, 0, 0.3);--theme-caret-color: #000000;--theme-alert-color: rgba(0, 0, 0, 0.8);--theme-cristal-color: rgba(0, 0, 0, 0.3);--theme-footer-color: rgba(0, 0, 0, 0.8)}@media screen and (max-width: 600px){:root{--termOption: 20%}}*{box-sizing:border-box;padding:0;margin:0;font-family:"Source Code Pro","Courier New",Courier,"SFMono-Regular",Consolas,Liberation Mono,Menlo,monospace !important;font-size:var(--font-size)}.scroll{opacity:0;background-color:#000;z-index:99;position:absolute;left:0;top:0}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}body{background-color:var(--theme-bg-color);color:var(--theme-text-color);width:100vw;height:100vh}body.row-resize,body.row-resize *{cursor:row-resize !important}body.col-resize,body.col-resize *{cursor:col-resize !important}body a{display:inline-block;padding:2px;text-decoration:none;color:inherit;cursor:pointer}body a:hover{background:#666;color:#fff !important}body.dark>main div.textarea textarea,body.dark>main div.textarea pre,body.dark>main div.textarea code,body.dark>main div.textarea .line-numbers-rows,body.funky>main div.textarea textarea,body.funky>main div.textarea pre,body.funky>main div.textarea code,body.funky>main div.textarea .line-numbers-rows,body.twilight>main div.textarea textarea,body.twilight>main div.textarea pre,body.twilight>main div.textarea code,body.twilight>main div.textarea .line-numbers-rows,body.solarized>main div.textarea textarea,body.solarized>main div.textarea pre,body.solarized>main div.textarea code,body.solarized>main div.textarea .line-numbers-rows,body.night>main div.textarea textarea,body.night>main div.textarea pre,body.night>main div.textarea code,body.night>main div.textarea .line-numbers-rows,body.zll>main div.textarea textarea,body.zll>main div.textarea pre,body.zll>main div.textarea code,body.zll>main div.textarea .line-numbers-rows,body.other>main div.textarea textarea,body.other>main div.textarea pre,body.other>main div.textarea code,body.other>main div.textarea .line-numbers-rows{line-height:var(--lineS) !important}body.dark{--theme-bg-color: #fff;--theme-primary-color: #000;--theme-secondary-color: rgb(50, 50, 50);--theme-color-muted: #c9c9c9;--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: rgba(255, 255, 255, 0.5);--theme-caret-color: #fff;--theme-alert-color: rgba(255, 255, 255, 0.8);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 0.8)}body.funky{--theme-bg-color: #fff;--theme-primary-color: #10142f;--theme-secondary-color: #121e69;--theme-color-muted: #c9c9c9;--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: #fff;--theme-caret-color: #ff0;--theme-alert-color: rgba(255, 255, 255, 1);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 0.8)}body.twilight{--theme-bg-color: #fff;--theme-primary-color: #1f1f1f;--theme-secondary-color: #2c2c2c;--theme-color-muted: #e7e7e7;--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: rgba(200, 200, 200, 0.3);--theme-caret-color: #dd4a68;--theme-alert-color: rgba(255, 255, 255, 1);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 0.8)}body.solarized{--theme-bg-color: rgba(203, 75, 22, 0.3);--theme-primary-color: #fffdd6;--theme-secondary-color: #fffa9a;--theme-color-muted: #000;--theme-text-color: #000;--theme-extra-color: #fff;--theme-border-color: rgba(203, 75, 22, 0.3);--theme-caret-color: #2aa198;--theme-alert-color: rgba(0, 0, 0, 1);--theme-cristal-color: rgba(0, 0, 0, 0.3);--theme-footer-color: rgba(0, 0, 0, 1)}body.night,body.zll{--theme-bg-color: #000;--theme-primary-color: #272b31;--theme-secondary-color: #17191c;--theme-color-muted: rgb(120, 120, 120);--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: rgba(255, 255, 255, 0.4);--theme-alert-color: rgba(255, 255, 255, 1);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 1);--theme-caret-color: #433695}body.twilight>main div.textarea>div .line-numbers-rows>span.current:before,body.night>main div.textarea>div .line-numbers-rows>span.current:before,body.zll>main div.textarea>div .line-numbers-rows>span.current:before{color:#fff}body>main{display:flex;flex-direction:column;height:calc(100vh - var(--footer-height));overflow:hidden}body>main div.textarea{display:grid;grid-template-columns:repeat(auto-fit, 2fr);grid-gap:2px;width:100vw;flex:1;height:calc(100% - var(--termSize))}@media screen and (min-width: 800px){body>main div.textarea{grid-template-columns:repeat(auto-fit, minmax(max(215px, 45vw), 2fr))}body>main div.textarea.odd-3 .w-2{grid-column:span 2}body>main div.textarea.odd-4 .w-3{grid-column:span 2}}@media screen and (max-width: 800px){body>main div.textarea{grid-template-columns:repeat(auto-fit, 2fr)}}body>main div.textarea>div{flex:1;position:relative;background-color:var(--theme-primary-color)}body>main div.textarea>div .line-numbers-rows{z-index:1;width:var(--padd) !important;padding:10px 0 calc(10px + var(--font-size)) 0 !important;text-align:right;height:-moz-min-content;height:min-content;border-right:.5px solid var(--theme-border-color);line-height:normal !important;background-color:var(--theme-secondary-color);overflow:hidden}body>main div.textarea>div .line-numbers-rows>span{counter-increment:linenumber}body>main div.textarea>div .line-numbers-rows>span:before{content:counter(linenumber);display:block;color:var(--theme-color-muted);padding:0 5px 0 3px}body>main div.textarea>div .line-numbers-rows>span.current:before{background-color:var(--theme-caret-color);color:var(--theme-primary-color)}body>main div.textarea>div textarea{border:none;resize:none;outline:none;white-space:pre;z-index:2;background-color:rgba(0,0,0,0);color:rgba(0,0,0,0);caret-color:var(--theme-caret-color);padding:10px 10px 10px calc(var(--padd) + var(--innerPadd)) !important}body>main div.textarea>div pre{z-index:0;margin:0 !important;background-color:rgba(0,0,0,0) !important;padding:10px 10px calc(10px + var(--font-size)) calc(var(--padd) + var(--innerPadd)) !important}body>main div.textarea>div pre code{color:var(--theme-text-color);text-shadow:none;line-height:var(--lineS) !important}body>main div.textarea>div textarea,body>main div.textarea>div pre,body>main div.textarea>div .line-numbers-rows{position:absolute;transition:all .5s,background-color 0s;line-height:var(--lineS) !important;top:0;width:100%;left:0;height:100%}body>main div#terminal{display:none;height:var(--termSize);border-top:2px solid var(--theme-border-color);background-color:var(--theme-primary-color);position:relative;scroll-behavior:smooth}body>main div#terminal.open{display:block}body>main div#terminal #scroll-height{width:100%;height:5px;transform:translateY(-2px);cursor:row-resize}body>main div#terminal>header{position:absolute;top:0;left:0;display:flex;width:100%;justify-content:space-between;z-index:2;align-items:center;border-bottom:.5px solid var(--theme-border-color);background-color:var(--theme-secondary-color)}body>main div#terminal>header a{padding:5px}body>main div#terminal>header a:hover{background:var(--theme-text-color);color:var(--theme-primary-color) !important}body>main div#terminal>header a.close-terminal{padding:5px 10px}body>main div#terminal>main{z-index:1;display:flex;width:100%;height:100%;position:relative;padding:25px 0 0 0}body>main div#terminal>main>#terminal-main{width:calc(100% - var(--termOption));overflow:auto;padding:10px 10px 80px 10px}body>main div#terminal>main>#terminal-main:focus{outline:none}body>main div#terminal>main>#terminal-main #terminal-main-input{position:relative}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-main-command{display:inline;word-break:break-all;outline:none;visibility:visible}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-caret{padding:0;outline:none;border:.5px solid var(--theme-caret-color);outline:none;background-color:rgba(0,0,0,0);display:inline-block;height:100%;color:rgba(0,0,0,0)}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-caret:hover{background-color:rgba(0,0,0,0)}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-caret.blink{background-color:var(--theme-caret-color)}body>main div#terminal>main>#terminal-main #terminal-main-history>.terminal-input{display:flex}body>main div#terminal>main>#terminal-fast-option{position:relative;width:var(--termOption);border-left:.5px solid var(--theme-border-color);background-color:var(--theme-secondary-color)}body>main div#terminal>main>#terminal-fast-option #scroll-width{height:100%;width:5px;transform:translateX(-1px);cursor:col-resize}body>main div#terminal>main>#terminal-fast-option>a{display:block;padding:10px;width:100%}body>main div#terminal>main>#terminal-fast-option>a:hover{background:var(--theme-text-color);color:var(--theme-primary-color) !important}body .hidden-tab{position:fixed;z-index:99;right:0;transform:translateX(calc(100% - 15px));transition:.5s;bottom:calc(var(--footer-height) + 10px);background-color:var(--theme-text-color);border-radius:5px 0 0 5px;padding-left:15px;cursor:pointer}body .hidden-tab.terminal-opened{bottom:calc(var(--footer-height) + var(--termSize) + 10px)}body .hidden-tab:hover,body .hidden-tab.demo{transform:translateX(0)}body .hidden-tab a{padding:15px;color:var(--theme-extra-color)}body .hidden-tab a:hover{color:var(--theme-primary-color)}body .alert-modal{visibility:hidden;position:fixed;z-index:100;top:0;left:50%;transform:translate(-50%, -100%);opacity:0;transition:.2s;background-color:var(--theme-alert-color);border-radius:2px}body .alert-modal p{color:var(--theme-extra-color);padding:10px}body .alert-modal.active{transform:translate(-50%, 0%);visibility:visible;opacity:1;transition:.2s}body .container-modal{display:none;position:fixed;z-index:101;top:0;left:0;height:100vh;width:100vw;align-items:center;justify-content:center}body .container-modal.show{display:flex}body .container-modal .bg-event{width:100%;height:100%;position:absolute;background-color:var(--theme-cristal-color);z-index:-1}body .container-modal .prompt-modal{background-color:var(--theme-primary-color);min-width:320px;max-width:500px}body .container-modal .prompt-modal .modal-text{padding:10px}body .container-modal .prompt-modal .code{padding-left:10px;padding-right:10px;min-height:10px;position:relative}body .container-modal .prompt-modal .code pre{padding:5px;max-width:400px;max-height:100px;overflow:hidden;background-color:var(--theme-secondary-color) !important}body .container-modal .prompt-modal .code::after{content:"";position:absolute;left:0;width:100%;height:max(30px,100%);bottom:0;z-index:9;background:linear-gradient(rgba(255, 255, 255, 0), var(--theme-primary-color))}body .container-modal .prompt-modal .option-modal{display:flex;align-items:center;justify-content:end;background-color:var(--theme-text-color)}body .container-modal .prompt-modal .option-modal a{color:var(--theme-extra-color);cursor:pointer;margin-left:5px}body>footer{background-color:var(--theme-footer-color);color:var(--theme-extra-color);width:100vw;position:fixed;z-index:99;bottom:0;left:0}body>footer .nav-text-offer{display:none}body>footer .nav-text-offer input{border:1px solid var(--theme-primary-color);background:rgba(0,0,0,0);width:calc(100vw - 11em);text-overflow:ellipsis;color:inherit;margin-left:1px}body>footer .nav-text-offer input:focus{outline:none}body>footer .nav-default{display:flex;justify-content:space-between}body>footer .nav-default .generate-url{text-align:right}body>footer.text-offer .nav-default{display:none}body>footer.text-offer .nav-text-offer{display:block}@media only screen and (max-width: 600px){body>footer .nav-default{justify-content:space-around}body .mobile-unshow{display:none}}@media only screen and (min-width: 600px){body .desktop-unshow{display:none}}@media only screen and (max-width: 1100px){body .tablet-unshow{display:none}}/*# sourceMappingURL=style.css.map */
\ No newline at end of file
+:root{--footer-height: 20px;--font-size: 12px;--padd: 25px;--lineS: 1.2;--innerPadd: 10px;--termSize: 45%;--termOption: calc(10% + 50px);--theme-bg-color: #000;--theme-primary-color: #fff;--theme-secondary-color: rgb(240, 240, 240);--theme-color-muted: #506882;--theme-text-color: #000000;--theme-extra-color: #fff;--theme-border-color: rgba(0, 0, 0, 0.3);--theme-caret-color: #000000;--theme-alert-color: rgba(0, 0, 0, 0.8);--theme-cristal-color: rgba(0, 0, 0, 0.3);--theme-footer-color: rgba(0, 0, 0, 0.8)}@media screen and (max-width: 600px){:root{--termOption: 20%}}*{box-sizing:border-box;padding:0;margin:0;font-family:"Source Code Pro","Courier New",Courier,"SFMono-Regular",Consolas,Liberation Mono,Menlo,monospace !important;font-size:var(--font-size)}.scroll{opacity:0;background-color:#000;z-index:99;position:absolute;left:0;top:0}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}body{background-color:var(--theme-bg-color);color:var(--theme-text-color);width:100vw;height:100vh}body.row-resize,body.row-resize *{cursor:row-resize !important}body.col-resize,body.col-resize *{cursor:col-resize !important}body a{display:inline-block;padding:2px;text-decoration:none;color:inherit;cursor:pointer}body a:hover{background:#666;color:#fff !important}body.dark>main div.textarea textarea,body.dark>main div.textarea pre,body.dark>main div.textarea code,body.dark>main div.textarea .line-numbers-rows,body.funky>main div.textarea textarea,body.funky>main div.textarea pre,body.funky>main div.textarea code,body.funky>main div.textarea .line-numbers-rows,body.twilight>main div.textarea textarea,body.twilight>main div.textarea pre,body.twilight>main div.textarea code,body.twilight>main div.textarea .line-numbers-rows,body.solarized>main div.textarea textarea,body.solarized>main div.textarea pre,body.solarized>main div.textarea code,body.solarized>main div.textarea .line-numbers-rows,body.night>main div.textarea textarea,body.night>main div.textarea pre,body.night>main div.textarea code,body.night>main div.textarea .line-numbers-rows,body.zll>main div.textarea textarea,body.zll>main div.textarea pre,body.zll>main div.textarea code,body.zll>main div.textarea .line-numbers-rows,body.other>main div.textarea textarea,body.other>main div.textarea pre,body.other>main div.textarea code,body.other>main div.textarea .line-numbers-rows{line-height:var(--lineS) !important}body.dark{--theme-bg-color: #fff;--theme-primary-color: #000;--theme-secondary-color: rgb(50, 50, 50);--theme-color-muted: #c9c9c9;--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: rgba(255, 255, 255, 0.5);--theme-caret-color: #fff;--theme-alert-color: rgba(255, 255, 255, 0.8);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 0.8)}body.funky{--theme-bg-color: #fff;--theme-primary-color: #10142f;--theme-secondary-color: #121e69;--theme-color-muted: #c9c9c9;--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: #fff;--theme-caret-color: #ff0;--theme-alert-color: rgba(255, 255, 255, 1);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 0.8)}body.twilight{--theme-bg-color: #fff;--theme-primary-color: #1f1f1f;--theme-secondary-color: #2c2c2c;--theme-color-muted: #e7e7e7;--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: rgba(200, 200, 200, 0.3);--theme-caret-color: #dd4a68;--theme-alert-color: rgba(255, 255, 255, 1);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 0.8)}body.solarized{--theme-bg-color: rgba(203, 75, 22, 0.3);--theme-primary-color: #fffdd6;--theme-secondary-color: #fffa9a;--theme-color-muted: #000;--theme-text-color: #000;--theme-extra-color: #fff;--theme-border-color: rgba(203, 75, 22, 0.3);--theme-caret-color: #2aa198;--theme-alert-color: rgba(0, 0, 0, 1);--theme-cristal-color: rgba(0, 0, 0, 0.3);--theme-footer-color: rgba(0, 0, 0, 1)}body.night,body.zll{--theme-bg-color: #000;--theme-primary-color: #272b31;--theme-secondary-color: #17191c;--theme-color-muted: rgb(120, 120, 120);--theme-text-color: #fff;--theme-extra-color: #000;--theme-border-color: rgba(255, 255, 255, 0.4);--theme-alert-color: rgba(255, 255, 255, 1);--theme-cristal-color: rgba(255, 255, 255, 0.3);--theme-footer-color: rgba(255, 255, 255, 1);--theme-caret-color: #433695}body.twilight>main div.textarea>div .line-numbers-rows>span.current:before,body.night>main div.textarea>div .line-numbers-rows>span.current:before,body.zll>main div.textarea>div .line-numbers-rows>span.current:before{color:#fff}body>main{display:flex;flex-direction:column;height:calc(100vh - var(--footer-height));overflow:hidden}body>main div.textarea{display:grid;grid-template-columns:repeat(auto-fit, 2fr);grid-gap:2px;width:100vw;flex:1;height:calc(100% - var(--termSize))}@media screen and (min-width: 800px){body>main div.textarea{grid-template-columns:repeat(auto-fit, minmax(max(215px, 45vw), 2fr))}body>main div.textarea.odd-3 .w-2{grid-column:span 2}body>main div.textarea.odd-4 .w-3{grid-column:span 2}}@media screen and (max-width: 800px){body>main div.textarea{grid-template-columns:repeat(auto-fit, 2fr)}}body>main div.textarea>div{flex:1;position:relative;background-color:var(--theme-primary-color)}body>main div.textarea>div .top-w-bar{display:flex;justify-content:space-between;position:relative;right:0;top:0;z-index:5;background-color:var(--theme-secondary-color);border-bottom:.5px solid var(--theme-border-color)}body>main div.textarea>div .top-w-bar .title-w-bar{padding:3px;padding-left:10px}body>main div.textarea>div .top-w-bar .close-w-bar{display:flex;justify-content:end}body>main div.textarea>div .top-w-bar .close-w-bar a{padding:3px}body>main div.textarea>div .top-w-bar .close-w-bar a:hover{background:var(--theme-text-color);color:var(--theme-primary-color) !important}body>main div.textarea>div .top-w-bar .close-w-bar a.close-terminal{padding:5px 10px}body>main div.textarea>div .code-group{position:relative;height:calc(100% - 22px)}body>main div.textarea>div .code-group .line-numbers-rows{z-index:1;width:var(--padd) !important;padding:10px 0 calc(10px + var(--font-size)) 0 !important;text-align:right;height:-moz-min-content;height:min-content;border-right:.5px solid var(--theme-border-color);line-height:normal !important;background-color:var(--theme-secondary-color);overflow:hidden}body>main div.textarea>div .code-group .line-numbers-rows>span{counter-increment:linenumber}body>main div.textarea>div .code-group .line-numbers-rows>span:before{content:counter(linenumber);display:block;color:var(--theme-color-muted);padding:0 5px 0 3px}body>main div.textarea>div .code-group .line-numbers-rows>span.current:before{background-color:var(--theme-caret-color);color:var(--theme-primary-color)}body>main div.textarea>div .code-group textarea{border:none;resize:none;outline:none;white-space:pre;z-index:2;background-color:rgba(0,0,0,0);color:rgba(0,0,0,0);caret-color:var(--theme-caret-color);padding:10px 10px 10px calc(var(--padd) + var(--innerPadd)) !important}body>main div.textarea>div .code-group pre{z-index:0;margin:0 !important;background-color:rgba(0,0,0,0) !important;padding:10px 10px calc(10px + var(--font-size)) calc(var(--padd) + var(--innerPadd)) !important}body>main div.textarea>div .code-group pre code{color:var(--theme-text-color);text-shadow:none;line-height:var(--lineS) !important}body>main div.textarea>div .code-group textarea,body>main div.textarea>div .code-group pre,body>main div.textarea>div .code-group .line-numbers-rows{position:absolute;transition:all .5s,background-color 0s;line-height:var(--lineS) !important;top:0;width:100%;left:0;height:100%}body>main div#terminal{display:none;height:var(--termSize);border-top:2px solid var(--theme-border-color);background-color:var(--theme-primary-color);position:relative;scroll-behavior:smooth;z-index:2}body>main div#terminal.open{display:block}body>main div#terminal #scroll-height{width:100%;height:5px;transform:translateY(-2px);cursor:row-resize}body>main div#terminal>header{position:absolute;top:0;left:0;display:flex;width:100%;justify-content:space-between;z-index:2;align-items:center;border-bottom:.5px solid var(--theme-border-color);background-color:var(--theme-secondary-color)}body>main div#terminal>header a{padding:5px}body>main div#terminal>header a:hover{background:var(--theme-text-color);color:var(--theme-primary-color) !important}body>main div#terminal>header a.close-terminal{padding:5px 10px}body>main div#terminal>main{z-index:1;display:flex;width:100%;height:100%;position:relative;padding:25px 0 0 0}body>main div#terminal>main>#terminal-main{width:calc(100% - var(--termOption));overflow:auto;padding:10px 10px 80px 10px}body>main div#terminal>main>#terminal-main:focus{outline:none}body>main div#terminal>main>#terminal-main #terminal-main-input{position:relative}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-main-command{display:inline;word-break:break-all;outline:none;visibility:visible}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-caret{padding:0;outline:none;border:.5px solid var(--theme-caret-color);outline:none;background-color:rgba(0,0,0,0);display:inline-block;height:100%;color:rgba(0,0,0,0)}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-caret:hover{background-color:rgba(0,0,0,0)}body>main div#terminal>main>#terminal-main #terminal-main-input #terminal-caret.blink{background-color:var(--theme-caret-color)}body>main div#terminal>main>#terminal-main #terminal-main-history>.terminal-input{display:flex}body>main div#terminal>main>#terminal-fast-option{position:relative;width:var(--termOption);border-left:.5px solid var(--theme-border-color);background-color:var(--theme-secondary-color)}body>main div#terminal>main>#terminal-fast-option #scroll-width{height:100%;width:5px;transform:translateX(-1px);cursor:col-resize}body>main div#terminal>main>#terminal-fast-option>a{display:block;padding:10px;width:100%}body>main div#terminal>main>#terminal-fast-option>a:hover{background:var(--theme-text-color);color:var(--theme-primary-color) !important}body .hidden-tab{position:fixed;z-index:99;right:0;transform:translateX(calc(100% - 15px));transition:.5s;bottom:calc(var(--footer-height) + 10px);background-color:var(--theme-text-color);border-radius:5px 0 0 5px;padding-left:15px;cursor:pointer}body .hidden-tab.terminal-opened{bottom:calc(var(--footer-height) + var(--termSize) + 10px)}body .hidden-tab:hover,body .hidden-tab.demo{transform:translateX(0)}body .hidden-tab a{padding:15px;color:var(--theme-extra-color)}body .hidden-tab a:hover{color:var(--theme-primary-color)}body .alert-modal{visibility:hidden;position:fixed;z-index:100;top:0;left:50%;transform:translate(-50%, -100%);opacity:0;transition:.2s;background-color:var(--theme-alert-color);border-radius:2px}body .alert-modal p{color:var(--theme-extra-color);padding:10px}body .alert-modal.active{transform:translate(-50%, 0%);visibility:visible;opacity:1;transition:.2s}body .container-modal{display:none;position:fixed;z-index:101;top:0;left:0;height:100vh;width:100vw;align-items:center;justify-content:center}body .container-modal.show{display:flex}body .container-modal .bg-event{width:100%;height:100%;position:absolute;background-color:var(--theme-cristal-color);z-index:-1}body .container-modal .prompt-modal{background-color:var(--theme-primary-color);min-width:320px;max-width:500px}body .container-modal .prompt-modal .modal-text{padding:10px}body .container-modal .prompt-modal .code{padding-left:10px;padding-right:10px;min-height:10px;position:relative}body .container-modal .prompt-modal .code pre{padding:5px;max-width:400px;max-height:100px;overflow:hidden;background-color:var(--theme-secondary-color) !important}body .container-modal .prompt-modal .code::after{content:"";position:absolute;left:0;width:100%;height:max(30px,100%);bottom:0;z-index:9;background:linear-gradient(rgba(255, 255, 255, 0), var(--theme-primary-color))}body .container-modal .prompt-modal .option-modal{display:flex;align-items:center;justify-content:end;background-color:var(--theme-text-color)}body .container-modal .prompt-modal .option-modal a{color:var(--theme-extra-color);cursor:pointer;margin-left:5px}body>footer{background-color:var(--theme-footer-color);color:var(--theme-extra-color);width:100vw;position:fixed;z-index:99;bottom:0;left:0}body>footer .nav-text-offer{display:none}body>footer .nav-text-offer input{border:1px solid var(--theme-primary-color);background:rgba(0,0,0,0);width:calc(100vw - 11em);text-overflow:ellipsis;color:inherit;margin-left:1px}body>footer .nav-text-offer input:focus{outline:none}body>footer .nav-default{display:flex;justify-content:space-between}body>footer .nav-default .generate-url{text-align:right}body>footer.text-offer .nav-default{display:none}body>footer.text-offer .nav-text-offer{display:block}@media only screen and (max-width: 600px){body>footer .nav-default{justify-content:space-around}body .mobile-unshow{display:none}}@media only screen and (min-width: 600px){body .desktop-unshow{display:none}}@media only screen and (max-width: 1100px){body .tablet-unshow{display:none}}/*# sourceMappingURL=style.css.map */
\ No newline at end of file
diff --git a/css/style.css.map b/css/style.css.map
index 4019a1d..51592ba 100644
--- a/css/style.css.map
+++ b/css/style.css.map
@@ -1 +1 @@
-{"version":3,"sources":["../scss/style.scss"],"names":[],"mappings":"AACA,MACI,qBAAA,CAEA,iBAAA,CAEA,YAAA,CACA,YAAA,CACA,iBAAA,CAEA,eAAA,CACA,8BAAA,CAQA,sBAAA,CACA,2BAAA,CACA,2CAAA,CACA,4BAAA,CACA,2BAAA,CACA,yBAAA,CACA,wCAAA,CACA,4BAAA,CACA,uCAAA,CACA,yCAAA,CACA,wCAAA,CAhBA,qCAZJ,MAaQ,iBAAA,CAAA,CAiBR,EACI,qBAAA,CACA,SAAA,CACA,QAAA,CAEA,wHAAA,CAGA,0BAAA,CAEJ,QACI,SAAA,CACA,qBAAA,CACA,UAAA,CACA,iBAAA,CACA,MAAA,CACA,KAAA,CAEJ,WACI,0BAAA,CACE,wBAAA,CAEG,qBAAA,CAEK,gBAAA,CAKd,KAsBI,sCAAA,CACA,6BAAA,CACA,WAAA,CACA,YAAA,CAvBI,kCACI,4BAAA,CAIJ,kCACI,4BAAA,CAGR,OACI,oBAAA,CACA,WAAA,CACA,oBAAA,CACA,aAAA,CACA,cAAA,CACA,aACI,eAAA,CACA,qBAAA,CAWI,+jCACI,mCAAA,CAOhB,UACI,sBAAA,CACA,2BAAA,CACA,wCAAA,CACA,4BAAA,CACA,wBAAA,CACA,yBAAA,CACA,8CAAA,CACA,yBAAA,CACA,6CAAA,CACA,+CAAA,CACA,8CAAA,CAGJ,WACI,sBAAA,CACA,8BAAA,CACA,gCAAA,CACA,4BAAA,CACA,wBAA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ACA,QAAA,CACA,gCAAA,CACA,SAAA,CACA,cAAA,CACA,yCAAA,CACA,iBAAA,CACA,oBACI,8BAAA,CACA,YAAA,CAEJ,yBACI,6BAAA,CACA,kBAAA,CACA,SAAA,CACA,cAAA,CAIR,sBACI,YAAA,CACA,cAAA,CACA,WAAA,CACA,KAAA,CACA,MAAA,CACA,YAAA,CACA,WAAA,CACA,kBAAA,CACA,sBAAA,CACA,2BACI,YAAA,CAEJ,gCACI,UAAA,CACA,WAAA,CACA,iBAAA,CACA,2CAAA,CACA,UAAA,CAEJ,oCACI,2CAAA,CACA,eAAA,CACA,eAAA,CACA,gDACI,YAAA,CAEJ,0CACI,iBAAA,CACA,kBAAA,CACA,eAAA,CACA,iBAAA,CACA,8CACI,WAAA,CACA,eAAA,CACA,gBAAA,CACA,eAAA,CACA,wDAAA,CAEJ,iDACI,UAAA,CACA,iBAAA,CACA,MAAA,CACA,UAAA,CACA,qBAAA,CACA,QAAA,CACA,SAAA,CACA,8EAAA,CAGR,kDACI,YAAA,CACA,kBAAA,CACA,mBAAA,CACA,wCAAA,CACA,oDACI,8BAAA,CACA,cAAA,CACA,eAAA,CAMhB,YACI,0CAAA,CACA,8BAAA,CACA,WAAA,CACA,cAAA,CACA,UAAA,CACA,QAAA,CACA,MAAA,CACA,4BACI,YAAA,CACA,kCAEI,2CAAA,CACA,wBAAA,CACA,wBAAA,CACA,sBAAA,CACA,aAAA,CACA,eAAA,CACA,wCACI,YAAA,CAIZ,yBACI,YAAA,CACA,6BAAA,CACA,uCACI,gBAAA,CAIJ,oCACI,YAAA,CAEJ,uCACI,aAAA,CAQZ,0CAEQ,yBACI,4BAAA,CAIR,oBACI,YAAA,CAAA,CAGR,0CACI,qBACI,YAAA,CAAA,CAGR,2CACI,oBACI,YAAA,CAAA","file":"style.css"}
\ No newline at end of file
+{"version":3,"sources":["../scss/style.scss"],"names":[],"mappings":"AACA,MACI,qBAAA,CAEA,iBAAA,CAEA,YAAA,CACA,YAAA,CACA,iBAAA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R,sBACI,YAAA,CACA,cAAA,CACA,WAAA,CACA,KAAA,CACA,MAAA,CACA,YAAA,CACA,WAAA,CACA,kBAAA,CACA,sBAAA,CACA,2BACI,YAAA,CAEJ,gCACI,UAAA,CACA,WAAA,CACA,iBAAA,CACA,2CAAA,CACA,UAAA,CAEJ,oCACI,2CAAA,CACA,eAAA,CACA,eAAA,CACA,gDACI,YAAA,CAEJ,0CACI,iBAAA,CACA,kBAAA,CACA,eAAA,CACA,iBAAA,CACA,8CACI,WAAA,CACA,eAAA,CACA,gBAAA,CACA,eAAA,CACA,wDAAA,CAEJ,iDACI,UAAA,CACA,iBAAA,CACA,MAAA,CACA,UAAA,CACA,qBAAA,CACA,QAAA,CACA,SAAA,CACA,8EAAA,CAGR,kDACI,YAAA,CACA,kBAAA,CACA,mBAAA,CACA,wCAAA,CACA,oDACI,8BAAA,CACA,cAAA,CACA,eAAA,CAMhB,YACI,0CAAA,CACA,8BAAA,CACA,WAAA,CACA,cAAA,CACA,UAAA,CACA,QAAA,CACA,MAAA,CACA,4BACI,YAAA,CACA,kCAEI,2CAAA,CACA,wBAAA,CACA,wBAAA,CACA,sBAAA,CACA,aAAA,CACA,eAAA,CACA,wCACI,YAAA,CAIZ,yBACI,YAAA,CACA,6BAAA,CACA,uCACI,gBAAA,CAIJ,oCACI,YAAA,CAEJ,uCACI,aAAA,CAQZ,0CAEQ,yBACI,4BAAA,CAIR,oBACI,YAAA,CAAA,CAGR,0CACI,qBACI,YAAA,CAAA,CAGR,2CACI,oBACI,YAAA,CAAA","file":"style.css"}
\ No newline at end of file
diff --git a/js/min/script.min.js b/js/min/script.min.js
index cc06533..36eefd9 100644
--- a/js/min/script.min.js
+++ b/js/min/script.min.js
@@ -1 +1 @@
-let setTabSize=t=>{document.querySelectorAll(".textarea div pre code").forEach(e=>{e.style.tabSize=""+(0!=t?t:4),e.style.MozTabSize=""+(0!=t?t:4)}),tabSize=t},tabSize=4,tabRegex=/\t/g;const ThemeArr=["light","dark","funky","twilight","solarized","night","zll"];let THEME_={importTheme:e=>{var t=new FileReader;const r=document.querySelector("#terminal-main-history");t.readAsText(e.files[0],"UTF-8"),t.onload=e=>{let t=e.target.result,o="";try{for(var n in t=JSON.parse(t),document.body.removeAttribute("class"),document.body.classList.add(t.class),localStorage.setItem("theme",t.class),delete t.class,t)document.body.style.setProperty(n,t[n]);localStorage.setItem("customTheme",JSON.stringify(t))}catch(e){o="Error: Cannot parse JSON"}e=document.createElement("div");e.classList.add("terminal-output"),e.innerHTML=o,r.appendChild(e),terminal.scrollTop=terminal.scrollHeight},t.onerror=()=>{var e=document.createElement("div");e.classList.add("terminal-output"),e.innerHTML="Error: Cannot read file content",r.appendChild(e),terminal.scrollTop=terminal.scrollHeight}},exportTheme:()=>{var e,t={"--theme-bg-color":"","--theme-primary-color":"","--theme-secondary-color":"","--theme-color-muted":"","--theme-text-color":"","--theme-extra-color":"","--theme-border-color":"","--theme-caret-color":"","--theme-alert-color":"","--theme-cristal-color":"","--theme-footer-color":""};for(e in t)t[e]=document.body.style.getPropertyValue(e);t.class=document.body.classList[0],saveToFile("PasteCodeTheme.json",JSON.stringify(t))}},TMP_ID=0;function Out(e){document.querySelector("#"+TMP_ID).innerHTML+=e+"
"}function saveToFile(e,t){var o;"saveAs"in window?(o=new Blob([t],{type:"text/plain;charset=utf-8"}),saveAs(o,e)):((o=document.createElement("a")).setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o))}window.addEventListener("load",()=>{var l=new LZMA("./js/src/lzma_worker.js");const s={url:document.location,base64:"undefined",_get:{},localStorage:{fileMemory:"paste-code",autoExecuteFlag:"paste-code-auto-execute"}},d={parent:document.querySelector(".textarea"),max:4,min:1,label:"Window",current:0,focus:0,visible:0,windows:[],codeWindow:[],windows_value:[],lineActive:[]};let a=e=>{document.querySelector(".alert-modal").classList.add("active"),document.querySelector(".alert-modal-text").textContent=e,setTimeout(function(){document.querySelector(".alert-modal").classList.remove("active")},5e3)};const u=e=>{var e=e.value.split("\n")[0];return!!e.match(/[\!|\?]/)&&((e=(e=e.split(/[\!|\?]/))[e.length-1].toLowerCase().trim()).includes("--\x3e")?e.replace("--\x3e","").trim():e)},c=e=>{var t=d.windows.indexOf(e),o=d.codeWindow[t],n=e.value.split("\n"),r=u(e);r&&o.setAttribute("class","language-"+r),tabRegex.test(e.value)&&(e.value=e.value.replaceAll(tabRegex," ".repeat(tabSize))),o.innerHTML=e.value.replaceAll(new RegExp("&","g"),"&").replaceAll(new RegExp("<","g"),"<"),Prism.highlightElement(o),document.querySelector(".w-"+t).style.setProperty("--padd",100<=n.length?1e3<=n.length?1e4<=n.length?"55px":"45px":"35px":"25px"),e.parentElement.querySelector(".line-numbers-rows").innerHTML=Array(n.length).fill("").join(""),e===document.activeElement&&m(e)},m=(e,t=-1)=>{var o=e.value.substring(0,e.selectionStart).split("\n").length,n=e.parentElement.querySelector(".line-numbers-rows");o+t{e=e.parentElement.querySelector(".line-numbers-rows");Array.from(e.children).forEach(e=>{e.classList.remove("current")})};function h(){var e;d.parent.classList.remove("odd-3"),d.parent.classList.remove("odd-4"),3==d.visible&&(3==d.current?d.parent.classList.add("odd-3"):(!(e=["none"==d.windows[2].parentElement.style.display,"none"==d.windows[3].parentElement.style.display])[0]&&e[1]&&d.parent.classList.add("odd-3"),d.parent.classList.add("odd-4")))}const w=()=>{if(d.current{var e=n.classList[0].replace("w-","");d.focus=e});var t;window.addEventListener("dblclick",function(e){t=setTimeout(function(){t=null},400)}),window.addEventListener("click",function(e){if(t&&(clearTimeout(t),t=null,1document.querySelector(".hidden-tab").classList.remove("demo"),1e3),n.style.display="none",d.visible--,h();let t=document.createElement("a");t.onclick=e=>{n.style.display="block",t.remove(),d.focus=n.classList[0].replace("w-",""),d.visible++,h()};let o;try{o=n.querySelector("pre").classList[0].replace("language-","")}catch(e){o=""}t.innerHTML=`[${0",document.createElement("textarea"));return i.setAttribute("class","textarea-main"),i.setAttribute("spellcheck","false"),i.setAttribute("outline","none"),i.setAttribute("autofill","false"),i.setAttribute("autocorrect","off"),i.setAttribute("autocapitalize","off"),i.setAttribute("autocomplete","off"),i.setAttribute("wrap","off"),i.setAttribute("aria-label","Paste Code"),i.setAttribute("tabindex","0"),i.addEventListener("input",()=>c(i)),i.addEventListener("mouseup",()=>m(i)),("ontouchstart"in window||0m(i)),i.addEventListener("scroll",()=>{l.scrollTo(i.scrollLeft,i.scrollTop),r.scrollTo(i.scrollLeft,i.scrollTop)}),i.addEventListener("keydown",e=>{var t,o=(e,t)=>{var o=i.selectionStart;i.value=i.value.substring(0,o)+e+i.value.substring(i.selectionEnd),i.selectionStart=i.selectionEnd=o+t,c(i)},n=("Tab"!=e.key&&9!=e.keyCode&&9!=e.which||(e.preventDefault(),i.selectionStart!=i.selectionEnd?(n=i.selectionStart,r=i.selectionEnd,t=i.value.substring(n,r),i.value=0==n?" ".repeat(tabSize)+t.replaceAll("\n","\n"+" ".repeat(tabSize))+i.value.substring(r):i.value.substring(0,n)+" ".repeat(tabSize)+t.replaceAll("\n","\n"+" ".repeat(tabSize))+i.value.substring(r),c(i),i.setSelectionRange(n,r+tabSize*(t.split("\n").length-1))):o(" ".repeat(tabSize),tabSize)),{"(":")","[":"]","{":"}",'"':'"',"'":"'","`":"`"}),r=(e.key in n&&o(n[e.key],0),(l.classList[0]??"").replace("language-","").toUpperCase());"<"!=e.key||"HTML"!=r&&"XML"!=r||o(">",0),"ArrowUp"!=e.key&&38!=e.keyCode&&38!=e.which||m(i,delay=-2),"ArrowDown"!=e.key&&40!=e.keyCode&&40!=e.which||m(i,delay=0),"Backspace"!=e.key&&8!=e.keyCode&&8!=e.which||(t=i.selectionStart,i.value.substring(t-tabSize,t)==" ".repeat(tabSize)&&(i.value=i.value.substring(0,t-tabSize+1)+i.value.substring(t),c(i),i.selectionStart=i.selectionEnd=t-tabSize+1)),(e.altKey&&"l"==e.key||e.altKey&&76==e.keyCode||e.altKey&&76==e.which)&&(e.preventDefault(),n=i.value.substring(0,i.selectionStart).lastIndexOf("\n")+1,r=i.value.substring(i.selectionEnd).indexOf("\n")+i.selectionEnd,r+=r==i.value.length-1?1:0,i.setSelectionRange(n,r)),e.ctrlKey&&"s"===e.key&&(e.preventDefault(),L("url",!0,e=>{try{localStorage.setItem(s.localStorage.fileMemory,e),a("Content saved successfully")}catch(e){a("Error saving")}}))}),i.addEventListener("keyup",e=>{"Enter"!=e.key&&13!=e.keyCode&&13!=e.which&&"ArrowUp"!=e.key&&38!=e.keyCode&&38!=e.which&&"ArrowDown"!=e.key&&40!=e.keyCode&&40!=e.which&&"ArrowLeft"!=e.key&&37!=e.keyCode&&37!=e.which&&"ArrowRight"!=e.key&&39!=e.keyCode&&39!=e.which||m(i)}),i.addEventListener("focusout",()=>{p(i)}),l.appendChild(o),n.appendChild(r),n.appendChild(i),n.appendChild(l),d.parent.appendChild(n),d.windows.push(i),d.current++,d.visible++,d.parent.classList.remove("odd-3"),d.parent.classList.remove("odd-4"),h(),2!=d.current&&4!=d.current||((e=document.createElement("div")).classList.add("LR"),e.classList.add("LR-1"),n.appendChild(e)),2!=d.current&&3!=d.current&&4!=d.current||((e=document.createElement("div")).classList.add("TB"),e.classList.add("TB-"+(d.current-2)),n.appendChild(e)),d.codeWindow.push(o),n.classList.add("w-"+(d.current-1)),!0}0document.querySelector(".hidden-tab").classList.remove("demo"),1e3))},g=()=>{if(d.current>d.min&&d.visible>d.min){for(;;){if("none"!=d.windows[d.focus].parentElement.style.display)break;0==d.focus?d.focus=d.current-1:d.focus--}const t=()=>{d.parent.removeChild(d.windows[d.focus].parentElement),d.windows=d.windows.filter((e,t)=>t!=d.focus),d.codeWindow=d.codeWindow.filter((e,t)=>t!=d.focus),d.current--,d.visible--,h(),d.windows.forEach((e,t)=>{e.parentElement.classList.remove(...e.parentElement.classList),e.parentElement.classList.add("w-"+t)}),document.querySelector(".hidden-tab").classList.add("demo"),setTimeout(()=>document.querySelector(".hidden-tab").classList.remove("demo"),1e3)};document.querySelector(".modal-text").textContent="Are you sure you want to remove the window ["+d.focus+"]?",document.querySelector(".container-modal .code").innerHTML="",document.querySelector(".container-modal .code").appendChild(d.codeWindow[d.focus].parentElement.cloneNode(!0)),document.querySelector(".container-modal").classList.add("show"),document.getElementById("confirm-modal").onclick=t,window.onkeydown=e=>{"Enter"!=e.key&&13!=e.keyCode&&"Enter"!=e.code&&13!=e.which||(t(),document.querySelector(".container-modal").classList.remove("show"),window.onkeydown=null)}}},v=()=>document.querySelector("body > footer").classList.remove("text-offer"),b=e=>{var t;return"touchstart"==e.type||"touchmove"==e.type||"touchend"==e.type||"touchcancel"==e.type?(t=(t=void 0===e.originalEvent?e:e.originalEvent).touches[0]||t.changedTouches[0],x=t.pageX,y=t.pageY):"mousedown"!=e.type&&"mouseup"!=e.type&&"mousemove"!=e.type&&"mouseover"!=e.type&&"mouseout"!=e.type&&"mouseenter"!=e.type&&"mouseleave"!=e.type||(x=e.clientX,y=e.clientY),{x:x,y:y}},S=(t,o,n=!1,r=null)=>{let l="y"===o;var e=b(t);let i,a,c,s=(c=n?(i=r,a=l?.9*window.innerHeight:.5*window.innerWidth,l?.1*window.innerHeight:.1*window.innerWidth):(i=l?document.querySelector("#terminal"):document.querySelector("#terminal-fast-option"),a=l?.8*window.innerHeight:.5*window.innerWidth,l?.2*window.innerHeight:.1*window.innerWidth),i.getBoundingClientRect()[l?"height":"width"]),d=e[o];e=e=>{["touchstart","touchmove","touchend","touchcancel"].includes(t.type)||e.preventDefault();e=b(e),document.body.classList.add(l?"row-resize":"col-resize"),document.body.classList.add("no-select"),e=s-(e[o]-d);e>c&&ef(o,n),window.ontouchend=()=>f(o,n)},f=(e,t=!1)=>{e="y"===e;document.body.classList.remove(e?"row-resize":"col-resize"),document.body.classList.remove("no-select"),window.onmousemove=null,window.ontouchmove=null,window.onmouseup=null,window.ontouchend=null,t||localStorage.setItem(e?"terminalHeight":"terminalOptWidth",e?terminal.parentElement.parentElement.getBoundingClientRect().height:document.querySelector("#terminal-fast-option").getBoundingClientRect().width)},L=(o,n=!1,r)=>{d.windows.forEach((e,t)=>d.windows_value[t]=e.value),l.compress(JSON.stringify(d.windows_value),1,(t,e)=>{if(e)alert("Failed to compress data: "+e);else{let e=new FileReader;e.onload=function(){var t=e.result.substr(e.result.indexOf(",")+1);if(n)r(t);else{let e="https://"+s.url.host+s.url.pathname+"#"+t;"true"==localStorage.getItem(s.localStorage.autoExecuteFlag)&&(e+="?execute=true");t="markdown"===o?"[paste]("+e+")":e;navigator.clipboard.writeText(t),document.querySelector(".nav-text-offer input").value=t,document.querySelector("body > footer").classList.add("text-offer")}},e.readAsDataURL(new Blob([new Uint8Array(t)]))}})};let E;const i=()=>{window.addEventListener("keydown",e=>{((e.metaKey||e.ctrlKey||e.altKey)&&"t"==e.key||(e.metaKey||e.ctrlKey||e.altKey)&&84==e.keyCode||(e.metaKey||e.ctrlKey||e.altKey)&&84==e.which)&&(e.preventDefault(),E())});const e=e=>{ThemeArr.includes(e)||(e=ThemeArr[0]),document.body.classList.remove(...ThemeArr),document.body.classList.add(e),localStorage.setItem("theme",e)};document.querySelector(".invert-color").addEventListener("click",()=>{document.body.classList.contains("dark")?e("light"):e("dark")}),0==d.current&&w(),document.querySelector("#add-w").addEventListener("click",w),document.querySelector("#remove-w").addEventListener("click",g),document.querySelectorAll(".generate-url").forEach(t=>{t.addEventListener("click",()=>{var e=t.getAttribute("data-type");L(e)})}),document.querySelector("a.cancel-url").addEventListener("click",v),document.querySelector("a.copy-url").addEventListener("click",()=>{document.querySelector(".nav-text-offer input").select(),document.execCommand("copy"),v()});const t=()=>{document.querySelector(".container-modal").classList.remove("show"),window.onkeydown=null},n=(document.querySelector(".container-modal .bg-event").addEventListener("click",t),["confirm-modal","cancel-modal"].forEach(e=>document.getElementById(e).addEventListener("click",t)),E=(e="toggle")=>{switch(e){case"open":document.querySelector("#terminal").classList.add("open"),o.focus(),document.querySelector(".hidden-tab").classList.add("terminal-opened");break;case"close":document.querySelector("#terminal").classList.remove("open"),document.querySelector(".hidden-tab").classList.remove("terminal-opened");break;case"toggle":document.querySelector("#terminal").classList.toggle("open"),o.focus(),document.querySelector(".hidden-tab").classList.toggle("terminal-opened")}localStorage.setItem("terminal",!!document.querySelector("#terminal").classList.contains("open"))},(e=null)=>{a.historyPosition=0;var t=document.createElement("div");t.classList.add("terminal-input"),t.innerHTML=document.querySelector("#terminal-main-input").innerHTML,i.appendChild(t),t.removeChild(t.querySelector("button")),c.exec(e??r.innerText).then(e=>{var t;a.position=0,r.innerHTML="",(!e[0]||0E("open")),document.querySelector("#close-t").addEventListener("click",()=>E("close")),o.addEventListener("focus",()=>{o.scrollTop=o.scrollHeight,l.classList.add("blink")}),o.addEventListener("blur",()=>l.classList.remove("blink")),o.addEventListener("keydown",e=>{var t;e.ctrlKey||e.metaKey||e.altKey||(e.preventDefault(),1==e.key.length&&(a.position+=1,r.innerText=r.innerText.slice(0,a.position-1)+e.key+r.innerText.slice(a.position-1))),"ArrowLeft"==e.key&&(a.position-=0=t.length?0:1:a.historyPosition<=0?0:-1,t=t[t.length-a.historyPosition],r.innerText=t||"",a.position=r.innerText.length),"v"==e.key&&(e.ctrlKey||e.metaKey)&&navigator.clipboard.readText().then(e=>{r.innerText=r.innerText.slice(0,a.position-1)+e+r.innerText.slice(a.position-1),a.position+=e.length}),"Backspace"!=e.key&&"Delete"!=e.key||(r.innerText=r.innerText.slice(0,a.position-1)+r.innerText.slice(a.position),a.position-=0==a.position?0:1),"Enter"!=e.key&&"Return"!=e.key&&"NumpadEnter"!=e.key||n()}),document.querySelectorAll(".terminal-option").forEach(o=>{o.addEventListener("click",()=>{return e=o.getAttribute("data-option"),t={add:["window add 1",1],remove:["window remove 1",1],exit:["exit",1],clear:["cls",1],help:["help",1],reset:["config reset",1],import:["config set ",0],export:["config get",1]},r.innerHTML=t[e][0],a.position=r.innerText.length,void(t[e][1]&&n());var e,t})}),["mousedown","touchstart"].forEach(e=>{document.querySelector("#scroll-height.terminal").addEventListener(e,e=>S(e,"y")),document.querySelector("#scroll-width.terminal-opt").addEventListener(e,e=>S(e,"x"))}),new Terminal({terminal:{main:o,input:r,output:i,caret:l,toggleFnc:E,config:a},window:{add:w,remove:g,config:d,getLang:u},theme:{list:ThemeArr,set:e},root:s}));if("execute"in s._get&&"true"==s._get.execute){document.querySelector(".modal-text").innerHTML="The auto-execute is enabled. This action could be dangerous.
Do you want to execute it?",document.querySelector(".container-modal .code").innerHTML="",document.querySelector(".container-modal .code").appendChild(d.codeWindow[0].parentElement.cloneNode(!0)),document.querySelector(".container-modal").classList.add("show");let t=()=>{E("open"),n("run 0")};document.getElementById("confirm-modal").onclick=t,window.onkeydown=e=>{"Enter"!=e.key&&13!=e.keyCode&&"Enter"!=e.code&&13!=e.which||(t(),document.querySelector(".container-modal").classList.remove("show"),window.onkeydown=null)}}};(fn=async()=>{var e=()=>{if((r??"").split("&").forEach(e=>{e=e.split("=");s._get[e[0]]=e[1]}),i(),localStorage.getItem("theme")&&document.body.classList.add(localStorage.getItem("theme")),localStorage.getItem("customTheme")){var e,t=JSON.parse(localStorage.getItem("customTheme"));for(e in t)document.body.style.setProperty(e,t[e])}var o,n;localStorage.getItem("terminalHeight")&&(n=parseFloat(localStorage.getItem("terminalHeight")),o=.8*window.innerHeight,.2*window.innerHeight{e=await(await fetch("data:application/octet-stream;base64,"+e)).blob();let t=new FileReader;t.onload=function(){var e=Array.from(new Uint8Array(t.result));l.decompress(e,function(e,t){t&&alert("Failed to decompress data: "+t);try{var o=JSON.parse(e);"object"==typeof o&&o.forEach((e,t)=>{w(),d.windows[t].value=e,c(d.windows[t])})}catch(t){alert("Failed to writing data: "+t)}n()})},t.readAsArrayBuffer(e)})(s.base64,e)})()});
\ No newline at end of file
+let setTabSize=t=>{document.querySelectorAll(".textarea div pre code").forEach(e=>{e.style.tabSize=""+(0!=t?t:4),e.style.MozTabSize=""+(0!=t?t:4)}),tabSize=t},tabSize=4,tabRegex=/\t/g;const ThemeArr=["light","dark","funky","twilight","solarized","night","zll"];let THEME_={importTheme:e=>{var t=new FileReader;const r=document.querySelector("#terminal-main-history");t.readAsText(e.files[0],"UTF-8"),t.onload=e=>{let t=e.target.result,n="";try{for(var o in t=JSON.parse(t),document.body.removeAttribute("class"),document.body.classList.add(t.class),localStorage.setItem("theme",t.class),delete t.class,t)document.body.style.setProperty(o,t[o]);localStorage.setItem("customTheme",JSON.stringify(t))}catch(e){n="Error: Cannot parse JSON"}e=document.createElement("div");e.classList.add("terminal-output"),e.innerHTML=n,r.appendChild(e),terminal.scrollTop=terminal.scrollHeight},t.onerror=()=>{var e=document.createElement("div");e.classList.add("terminal-output"),e.innerHTML="Error: Cannot read file content",r.appendChild(e),terminal.scrollTop=terminal.scrollHeight}},exportTheme:()=>{var e,t={"--theme-bg-color":"","--theme-primary-color":"","--theme-secondary-color":"","--theme-color-muted":"","--theme-text-color":"","--theme-extra-color":"","--theme-border-color":"","--theme-caret-color":"","--theme-alert-color":"","--theme-cristal-color":"","--theme-footer-color":""};for(e in t)t[e]=document.body.style.getPropertyValue(e);t.class=document.body.classList[0],saveToFile("PasteCodeTheme.json",JSON.stringify(t))}},TMP_ID=0;function Out(e){document.querySelector("#"+TMP_ID).innerHTML+=e+"
"}function saveToFile(e,t){var n;"saveAs"in window?(n=new Blob([t],{type:"text/plain;charset=utf-8"}),saveAs(n,e)):((n=document.createElement("a")).setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),n.setAttribute("download",e),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n))}window.addEventListener("load",()=>{var l=new LZMA("./js/src/lzma_worker.js");const u={url:document.location,base64:"undefined",_get:{},localStorage:{fileMemory:"paste-code",autoExecuteFlag:"paste-code-auto-execute"}},m={parent:document.querySelector(".textarea"),max:4,min:1,label:"Window",current:0,focus:0,visible:0,windows:[],codeWindow:[],windows_value:[],lineActive:[]};let p=e=>{document.querySelector(".alert-modal").classList.add("active"),document.querySelector(".alert-modal-text").textContent=e,setTimeout(function(){document.querySelector(".alert-modal").classList.remove("active")},5e3)};const s=e=>{var e=e.value.split("\n")[0];return!!e.match(/[\!|\?]/)&&((e=(e=e.split(/[\!|\?]/))[e.length-1].toLowerCase().trim()).includes("--\x3e")?e.replace("--\x3e","").trim():e)},h=e=>{var t=m.windows.indexOf(e),n=m.codeWindow[t],o=e.parentElement.parentElement,r=e.value.split("\n"),l=s(e);l?(n.setAttribute("class","language-"+l),o.querySelector(".title-w-bar").innerText=`window: ${t} - lang: `+l):o.querySelector(".title-w-bar").innerText="window: "+t,tabRegex.test(e.value)&&(e.value=e.value.replaceAll(tabRegex," ".repeat(tabSize))),n.innerHTML=e.value.replaceAll(new RegExp("&","g"),"&").replaceAll(new RegExp("<","g"),"<"),Prism.highlightElement(n),document.querySelector(".w-"+t).style.setProperty("--padd",100<=r.length?1e3<=r.length?1e4<=r.length?"55px":"45px":"35px":"25px"),e.parentElement.querySelector(".line-numbers-rows").innerHTML=Array(r.length).fill("").join(""),e===document.activeElement&&w(e)},w=(e,t=-1)=>{var n=e.value.substring(0,e.selectionStart).split("\n").length,o=e.parentElement.querySelector(".line-numbers-rows");n+t{e=e.parentElement.querySelector(".line-numbers-rows");Array.from(e.children).forEach(e=>{e.classList.remove("current")})};function v(){var e;m.parent.classList.remove("odd-3"),m.parent.classList.remove("odd-4"),3==m.visible&&(3==m.current?m.parent.classList.add("odd-3"):(!(e=["none"==m.windows[2].parentElement.parentElement.style.display,"none"==m.windows[3].parentElement.parentElement.style.display])[0]&&e[1]&&m.parent.classList.add("odd-3"),m.parent.classList.add("odd-4")))}const d=()=>{if(m.current{m.focus=o});var e=document.createElement("div"),t=(e.classList.add("top-w-bar"),document.createElement("div")),n=(t.classList.add("title-w-bar"),t.innerText="window: "+o,document.createElement("div")),r=(n.classList.add("close-w-bar"),document.createElement("a")),l=(r.classList.add("close-w"),r.innerText="[close]",r.addEventListener("click",()=>{if(1document.querySelector(".hidden-tab").classList.remove("demo"),1e3),i.style.display="none",m.visible--,v();let t=document.createElement("a");t.onclick=e=>{i.style.display="block",t.remove(),m.focus=o,m.visible++,v()};let n;try{n=i.querySelector("pre").classList[0].replace("language-","")}catch(e){n=""}t.innerHTML=`[${0",document.createElement("textarea"));return d.setAttribute("class","textarea-main"),d.setAttribute("spellcheck","false"),d.setAttribute("outline","none"),d.setAttribute("autofill","false"),d.setAttribute("autocorrect","off"),d.setAttribute("autocapitalize","off"),d.setAttribute("autocomplete","off"),d.setAttribute("wrap","off"),d.setAttribute("aria-label","Paste Code"),d.setAttribute("tabindex","0"),d.addEventListener("input",()=>h(d)),d.addEventListener("mouseup",()=>w(d)),("ontouchstart"in window||0w(d)),d.addEventListener("scroll",()=>{c.scrollTo(d.scrollLeft,d.scrollTop),s.scrollTo(d.scrollLeft,d.scrollTop)}),d.addEventListener("keydown",e=>{var t,n=(e,t)=>{var n=d.selectionStart;d.value=d.value.substring(0,n)+e+d.value.substring(d.selectionEnd),d.selectionStart=d.selectionEnd=n+t,h(d)},o=("Tab"!=e.key&&9!=e.keyCode&&9!=e.which||(e.preventDefault(),d.selectionStart!=d.selectionEnd?(o=d.selectionStart,r=d.selectionEnd,t=d.value.substring(o,r),d.value=0==o?" ".repeat(tabSize)+t.replaceAll("\n","\n"+" ".repeat(tabSize))+d.value.substring(r):d.value.substring(0,o)+" ".repeat(tabSize)+t.replaceAll("\n","\n"+" ".repeat(tabSize))+d.value.substring(r),h(d),d.setSelectionRange(o,r+tabSize*(t.split("\n").length-1))):n(" ".repeat(tabSize),tabSize)),{"(":")","[":"]","{":"}",'"':'"',"'":"'","`":"`"}),r=(e.key in o&&n(o[e.key],0),(c.classList[0]??"").replace("language-","").toUpperCase());"<"!=e.key||"HTML"!=r&&"XML"!=r||n(">",0),"ArrowUp"!=e.key&&38!=e.keyCode&&38!=e.which||w(d,delay=-2),"ArrowDown"!=e.key&&40!=e.keyCode&&40!=e.which||w(d,delay=0),"Backspace"!=e.key&&8!=e.keyCode&&8!=e.which||(t=d.selectionStart,d.value.substring(t-tabSize,t)==" ".repeat(tabSize)&&(d.value=d.value.substring(0,t-tabSize+1)+d.value.substring(t),h(d),d.selectionStart=d.selectionEnd=t-tabSize+1)),(e.altKey&&"l"==e.key||e.altKey&&76==e.keyCode||e.altKey&&76==e.which)&&(e.preventDefault(),o=d.value.substring(0,d.selectionStart).lastIndexOf("\n")+1,r=d.value.substring(d.selectionEnd).indexOf("\n")+d.selectionEnd,r+=r==d.value.length-1?1:0,d.setSelectionRange(o,r)),e.ctrlKey&&"s"===e.key&&(e.preventDefault(),k("url",!0,e=>{try{localStorage.setItem(u.localStorage.fileMemory,e),p("Content saved successfully")}catch(e){p("Error saving")}}))}),d.addEventListener("keyup",e=>{"Enter"!=e.key&&13!=e.keyCode&&13!=e.which&&"ArrowUp"!=e.key&&38!=e.keyCode&&38!=e.which&&"ArrowDown"!=e.key&&40!=e.keyCode&&40!=e.which&&"ArrowLeft"!=e.key&&37!=e.keyCode&&37!=e.which&&"ArrowRight"!=e.key&&39!=e.keyCode&&39!=e.which||w(d)}),d.addEventListener("focusout",()=>{g(d)}),n.appendChild(r),e.appendChild(t),e.appendChild(n),c.appendChild(a),l.appendChild(s),l.appendChild(d),l.appendChild(c),i.appendChild(e),i.appendChild(l),m.parent.appendChild(i),m.windows.push(d),m.visible++,m.parent.classList.remove("odd-3"),m.parent.classList.remove("odd-4"),v(),2!=m.current&&4!=m.current||((r=document.createElement("div")).classList.add("LR"),r.classList.add("LR-1"),i.appendChild(r)),2!=m.current&&3!=m.current&&4!=m.current||((t=document.createElement("div")).classList.add("TB"),t.classList.add("TB-"+(m.current-2)),i.appendChild(t)),m.codeWindow.push(a),i.classList.add("w-"+(m.current-1)),!0}0document.querySelector(".hidden-tab").classList.remove("demo"),1e3))},b=()=>{if(m.current>m.min&&m.visible>m.min){for(;;){if("none"!=m.windows[m.focus].parentElement.parentElement.style.display)break;0==m.focus?m.focus=m.current-1:m.focus--}const t=()=>{m.parent.removeChild(m.windows[m.focus].parentElement.parentElement),m.windows=m.windows.filter((e,t)=>t!=m.focus),m.codeWindow=m.codeWindow.filter((e,t)=>t!=m.focus),m.current--,m.visible--,v(),console.log(m.windows),m.windows.forEach((e,t)=>{e.parentElement.parentElement.classList.remove(...e.parentElement.parentElement.classList),e.parentElement.parentElement.classList.add("w-"+t)}),document.querySelector(".hidden-tab").classList.add("demo"),setTimeout(()=>document.querySelector(".hidden-tab").classList.remove("demo"),1e3)};document.querySelector(".modal-text").textContent="Are you sure you want to remove the window ["+m.focus+"]?",document.querySelector(".container-modal .code").innerHTML="",document.querySelector(".container-modal .code").appendChild(m.codeWindow[m.focus].parentElement.cloneNode(!0)),document.querySelector(".container-modal").classList.add("show"),document.getElementById("confirm-modal").onclick=t,window.onkeydown=e=>{"Enter"!=e.key&&13!=e.keyCode&&"Enter"!=e.code&&13!=e.which||(t(),document.querySelector(".container-modal").classList.remove("show"),window.onkeydown=null)}}},S=()=>document.querySelector("body > footer").classList.remove("text-offer"),f=e=>{var t;return"touchstart"==e.type||"touchmove"==e.type||"touchend"==e.type||"touchcancel"==e.type?(t=(t=void 0===e.originalEvent?e:e.originalEvent).touches[0]||t.changedTouches[0],x=t.pageX,y=t.pageY):"mousedown"!=e.type&&"mouseup"!=e.type&&"mousemove"!=e.type&&"mouseover"!=e.type&&"mouseout"!=e.type&&"mouseenter"!=e.type&&"mouseleave"!=e.type||(x=e.clientX,y=e.clientY),{x:x,y:y}},L=(t,n,o=!1,r=null)=>{let l="y"===n;var e=f(t);let a,i,c,s=(c=o?(a=r,i=l?.9*window.innerHeight:.5*window.innerWidth,l?.1*window.innerHeight:.1*window.innerWidth):(a=l?document.querySelector("#terminal"):document.querySelector("#terminal-fast-option"),i=l?.8*window.innerHeight:.5*window.innerWidth,l?.2*window.innerHeight:.1*window.innerWidth),a.getBoundingClientRect()[l?"height":"width"]),d=e[n];e=e=>{["touchstart","touchmove","touchend","touchcancel"].includes(t.type)||e.preventDefault();e=f(e),document.body.classList.add(l?"row-resize":"col-resize"),document.body.classList.add("no-select"),e=s-(e[n]-d);e>c&&eE(n,o),window.ontouchend=()=>E(n,o)},E=(e,t=!1)=>{e="y"===e;document.body.classList.remove(e?"row-resize":"col-resize"),document.body.classList.remove("no-select"),window.onmousemove=null,window.ontouchmove=null,window.onmouseup=null,window.ontouchend=null,t||localStorage.setItem(e?"terminalHeight":"terminalOptWidth",e?terminal.parentElement.parentElement.getBoundingClientRect().height:document.querySelector("#terminal-fast-option").getBoundingClientRect().width)},k=(n,o=!1,r)=>{m.windows.forEach((e,t)=>m.windows_value[t]=e.value),l.compress(JSON.stringify(m.windows_value),1,(t,e)=>{if(e)alert("Failed to compress data: "+e);else{let e=new FileReader;e.onload=function(){var t=e.result.substr(e.result.indexOf(",")+1);if(o)r(t);else{let e="https://"+u.url.host+u.url.pathname+"#"+t;"true"==localStorage.getItem(u.localStorage.autoExecuteFlag)&&(e+="?execute=true");t="markdown"===n?"[paste]("+e+")":e;navigator.clipboard.writeText(t),document.querySelector(".nav-text-offer input").value=t,document.querySelector("body > footer").classList.add("text-offer")}},e.readAsDataURL(new Blob([new Uint8Array(t)]))}})};let T;const a=()=>{window.addEventListener("keydown",e=>{((e.metaKey||e.ctrlKey||e.altKey)&&"t"==e.key||(e.metaKey||e.ctrlKey||e.altKey)&&84==e.keyCode||(e.metaKey||e.ctrlKey||e.altKey)&&84==e.which)&&(e.preventDefault(),T())});const e=e=>{ThemeArr.includes(e)||(e=ThemeArr[0]),document.body.classList.remove(...ThemeArr),document.body.classList.add(e),localStorage.setItem("theme",e)};document.querySelector(".invert-color").addEventListener("click",()=>{document.body.classList.contains("dark")?e("light"):e("dark")}),0==m.current&&d(),document.querySelector("#add-w").addEventListener("click",d),document.querySelector("#remove-w").addEventListener("click",b),document.querySelectorAll(".generate-url").forEach(t=>{t.addEventListener("click",()=>{var e=t.getAttribute("data-type");k(e)})}),document.querySelector("a.cancel-url").addEventListener("click",S),document.querySelector("a.copy-url").addEventListener("click",()=>{document.querySelector(".nav-text-offer input").select(),document.execCommand("copy"),S()});const t=()=>{document.querySelector(".container-modal").classList.remove("show"),window.onkeydown=null},o=(document.querySelector(".container-modal .bg-event").addEventListener("click",t),["confirm-modal","cancel-modal"].forEach(e=>document.getElementById(e).addEventListener("click",t)),T=(e="toggle")=>{switch(e){case"open":document.querySelector("#terminal").classList.add("open"),n.focus(),document.querySelector(".hidden-tab").classList.add("terminal-opened");break;case"close":document.querySelector("#terminal").classList.remove("open"),document.querySelector(".hidden-tab").classList.remove("terminal-opened");break;case"toggle":document.querySelector("#terminal").classList.toggle("open"),n.focus(),document.querySelector(".hidden-tab").classList.toggle("terminal-opened")}localStorage.setItem("terminal",!!document.querySelector("#terminal").classList.contains("open"))},(e=null)=>{i.historyPosition=0;var t=document.createElement("div");t.classList.add("terminal-input"),t.innerHTML=document.querySelector("#terminal-main-input").innerHTML,a.appendChild(t),t.removeChild(t.querySelector("button")),c.exec(e??r.innerText).then(e=>{var t;i.position=0,r.innerHTML="",(!e[0]||0T("open")),document.querySelector("#close-t").addEventListener("click",()=>T("close")),n.addEventListener("focus",()=>{n.scrollTop=n.scrollHeight,l.classList.add("blink")}),n.addEventListener("blur",()=>l.classList.remove("blink")),n.addEventListener("keydown",e=>{var t;e.ctrlKey||e.metaKey||e.altKey||(e.preventDefault(),1==e.key.length&&(i.position+=1,r.innerText=r.innerText.slice(0,i.position-1)+e.key+r.innerText.slice(i.position-1))),"ArrowLeft"==e.key&&(i.position-=0=t.length?0:1:i.historyPosition<=0?0:-1,t=t[t.length-i.historyPosition],r.innerText=t||"",i.position=r.innerText.length),"v"==e.key&&(e.ctrlKey||e.metaKey)&&navigator.clipboard.readText().then(e=>{r.innerText=r.innerText.slice(0,i.position-1)+e+r.innerText.slice(i.position-1),i.position+=e.length}),"Backspace"!=e.key&&"Delete"!=e.key||(r.innerText=r.innerText.slice(0,i.position-1)+r.innerText.slice(i.position),i.position-=0==i.position?0:1),"Enter"!=e.key&&"Return"!=e.key&&"NumpadEnter"!=e.key||o()}),document.querySelectorAll(".terminal-option").forEach(n=>{n.addEventListener("click",()=>{return e=n.getAttribute("data-option"),t={add:["window add 1",1],remove:["window remove 1",1],exit:["exit",1],clear:["cls",1],help:["help",1],reset:["config reset",1],import:["config set ",0],export:["config get",1]},r.innerHTML=t[e][0],i.position=r.innerText.length,void(t[e][1]&&o());var e,t})}),["mousedown","touchstart"].forEach(e=>{document.querySelector("#scroll-height.terminal").addEventListener(e,e=>L(e,"y")),document.querySelector("#scroll-width.terminal-opt").addEventListener(e,e=>L(e,"x"))}),new Terminal({terminal:{main:n,input:r,output:a,caret:l,toggleFnc:T,config:i},window:{add:d,remove:b,config:m,getLang:s},theme:{list:ThemeArr,set:e},root:u}));if("execute"in u._get&&"true"==u._get.execute){document.querySelector(".modal-text").innerHTML="The auto-execute is enabled. This action could be dangerous.
Do you want to execute it?",document.querySelector(".container-modal .code").innerHTML="",document.querySelector(".container-modal .code").appendChild(m.codeWindow[0].parentElement.cloneNode(!0)),document.querySelector(".container-modal").classList.add("show");let t=()=>{T("open"),o("run 0")};document.getElementById("confirm-modal").onclick=t,window.onkeydown=e=>{"Enter"!=e.key&&13!=e.keyCode&&"Enter"!=e.code&&13!=e.which||(t(),document.querySelector(".container-modal").classList.remove("show"),window.onkeydown=null)}}};(fn=async()=>{var e=()=>{if((r??"").split("&").forEach(e=>{e=e.split("=");u._get[e[0]]=e[1]}),a(),localStorage.getItem("theme")&&document.body.classList.add(localStorage.getItem("theme")),localStorage.getItem("customTheme")){var e,t=JSON.parse(localStorage.getItem("customTheme"));for(e in t)document.body.style.setProperty(e,t[e])}var n,o;localStorage.getItem("terminalHeight")&&(o=parseFloat(localStorage.getItem("terminalHeight")),n=.8*window.innerHeight,.2*window.innerHeight{e=await(await fetch("data:application/octet-stream;base64,"+e)).blob();let t=new FileReader;t.onload=function(){var e=Array.from(new Uint8Array(t.result));l.decompress(e,function(e,t){t&&alert("Failed to decompress data: "+t);try{var n=JSON.parse(e);"object"==typeof n&&n.forEach((e,t)=>{d(),m.windows[t].value=e,h(m.windows[t])})}catch(t){alert("Failed to writing data: "+t)}o()})},t.readAsArrayBuffer(e)})(u.base64,e)})()});
\ No newline at end of file
diff --git a/js/src/script.js b/js/src/script.js
index ab22489..e691046 100644
--- a/js/src/script.js
+++ b/js/src/script.js
@@ -237,15 +237,19 @@ window.addEventListener('load', () => {
const index = WINDOW_CONFIG.windows.indexOf(window);
// Get code window
const codeWindow = WINDOW_CONFIG.codeWindow[index];
+ const windowParent = window.parentElement.parentElement;
const _LINES = window.value.split('\n')
// Get lang and set
let language = _getLang(window);
- if(language)
+ if(language) {
// Set language
codeWindow.setAttribute('class', `language-${language}`);
+ windowParent.querySelector('.title-w-bar').innerText = `window: ${index} - lang: ${language}`;
+ } else {
+ windowParent.querySelector('.title-w-bar').innerText = `window: ${index}`;
+ }
-
if (tabRegex.test(window.value))
window.value = window.value.replaceAll(tabRegex, " ".repeat(tabSize));
@@ -318,8 +322,8 @@ window.addEventListener('load', () => {
// If w-2 is open and w-4
// The focus span 2 is for w-2
let hide = [
- WINDOW_CONFIG.windows[2].parentElement.style.display == 'none',
- WINDOW_CONFIG.windows[3].parentElement.style.display == 'none'
+ WINDOW_CONFIG.windows[2].parentElement.parentElement.style.display == 'none',
+ WINDOW_CONFIG.windows[3].parentElement.parentElement.style.display == 'none'
];
// Check
@@ -334,36 +338,38 @@ window.addEventListener('load', () => {
const addWindow = () => {
if (WINDOW_CONFIG.current < WINDOW_CONFIG.max) {
// Add window
+ WINDOW_CONFIG.current++;
+ let indexW = WINDOW_CONFIG.current-1;
// Add window to array
const windowParent = document.createElement('div');
windowParent.addEventListener('click', () => {
- let index = windowParent.classList[0].replace('w-', '');
-
// Set focus
- WINDOW_CONFIG.focus = index;
+ WINDOW_CONFIG.focus = indexW;
});
- var timer, // timer required to reset
- timeout = 400; // timer reset in ms
+ const topWBar = document.createElement('div');
+ topWBar.classList.add("top-w-bar");
- window.addEventListener("dblclick", function (evt) {
- timer = setTimeout(function () {
- timer = null;
- }, timeout);
- });
- window.addEventListener("click", function (evt) {
- if (timer) {
- clearTimeout(timer);
- timer = null;
-
- // Triple click
- // Get focus and close window
- if (WINDOW_CONFIG.visible > 1) {
- document.querySelector('.hidden-tab').classList.add('demo');
- setTimeout(() => document.querySelector('.hidden-tab').classList.remove('demo'), 1000);
- windowParent.style.display = 'none';
- WINDOW_CONFIG.visible--;
+ //
+ const titleWBar = document.createElement('div');
+ titleWBar.classList.add("title-w-bar");
+ titleWBar.innerText = `window: ${indexW}`;
+
+ const closeWBar = document.createElement('div');
+ closeWBar.classList.add("close-w-bar");
+
+ //
+ const closeWindow = document.createElement('a');
+ closeWindow.classList.add("close-w");
+ closeWindow.innerText = "[close]";
+ closeWindow.addEventListener('click', () => {
+ // Get focus and close window
+ if (WINDOW_CONFIG.visible > 1) {
+ document.querySelector('.hidden-tab').classList.add('demo');
+ setTimeout(() => document.querySelector('.hidden-tab').classList.remove('demo'), 1000);
+ windowParent.style.display = 'none';
+ WINDOW_CONFIG.visible--;
// Odd
visibilityFullSpan();
@@ -373,22 +379,26 @@ window.addEventListener('load', () => {
windowParent.style.display = 'block';
a.remove();
- WINDOW_CONFIG.focus = windowParent.classList[0].replace('w-', '');
- WINDOW_CONFIG.visible++;
+ WINDOW_CONFIG.focus = indexW;
+ WINDOW_CONFIG.visible++;
- visibilityFullSpan(true);
- }
- let lang;
- try {
- lang = windowParent.querySelector('pre').classList[0].replace('language-', '');
- } catch(e) {
- lang = '';
- }
- a.innerHTML = `[${(lang.length > 0 && lang != 'none') ? `${lang.toUpperCase()}-${WINDOW_CONFIG.focus}` : WINDOW_CONFIG.focus}]`
- document.querySelector('.hidden-tab').appendChild(a);
+ visibilityFullSpan(true);
}
+ let lang;
+ try {
+ lang = windowParent.querySelector('pre').classList[0].replace('language-', '');
+ } catch(e) {
+ lang = '';
+ }
+ a.innerHTML = `[${(lang.length > 0 && lang != 'none') ? `${lang.toUpperCase()}-${indexW}` : indexW}]`
+ document.querySelector('.hidden-tab').appendChild(a);
}
});
+
+
+ // Textarea group
+ const codeGroup = document.createElement('div');
+ codeGroup.classList.add("code-group");
//
const codeWindow = document.createElement('pre');
codeWindow.setAttribute('aria-hidden', 'true');
@@ -618,13 +628,19 @@ window.addEventListener('load', () => {
// Insert
+ closeWBar.appendChild(closeWindow);
+ topWBar.appendChild(titleWBar);
+ topWBar.appendChild(closeWBar);
codeWindow.appendChild(code);
- windowParent.appendChild(lineNumbers);
- windowParent.appendChild(newWindow);
- windowParent.appendChild(codeWindow);
+ //
+ codeGroup.appendChild(lineNumbers);
+ codeGroup.appendChild(newWindow);
+ codeGroup.appendChild(codeWindow);
+ //
+ windowParent.appendChild(topWBar);
+ windowParent.appendChild(codeGroup);
WINDOW_CONFIG.parent.appendChild(windowParent);
WINDOW_CONFIG.windows.push(newWindow);
- WINDOW_CONFIG.current++;
WINDOW_CONFIG.visible++;
WINDOW_CONFIG.parent.classList.remove('odd-3');
WINDOW_CONFIG.parent.classList.remove('odd-4');
@@ -682,7 +698,7 @@ window.addEventListener('load', () => {
if (WINDOW_CONFIG.current > WINDOW_CONFIG.min && WINDOW_CONFIG.visible > WINDOW_CONFIG.min) {
// Remove last visible window
do {
- if (WINDOW_CONFIG.windows[WINDOW_CONFIG.focus].parentElement.style.display != 'none')
+ if (WINDOW_CONFIG.windows[WINDOW_CONFIG.focus].parentElement.parentElement.style.display != 'none')
break;
@@ -694,7 +710,7 @@ window.addEventListener('load', () => {
const removeOnce = () => {
// ---- Remove window
- WINDOW_CONFIG.parent.removeChild(WINDOW_CONFIG.windows[WINDOW_CONFIG.focus].parentElement);
+ WINDOW_CONFIG.parent.removeChild(WINDOW_CONFIG.windows[WINDOW_CONFIG.focus].parentElement.parentElement);
// Remove from array resetting index
WINDOW_CONFIG.windows = WINDOW_CONFIG.windows.filter((win, index) => index != WINDOW_CONFIG.focus);
// Remove code window ISSUE #7 and #13 resetting index
@@ -707,10 +723,11 @@ window.addEventListener('load', () => {
// Update class
//console.log(WINDOW_CONFIG.windows, WINDOW_CONFIG.codeWindow); // ISSUE #13
+ console.log(WINDOW_CONFIG.windows);
WINDOW_CONFIG.windows.forEach((win, index) => {
// Remove all classlist
- win.parentElement.classList.remove(...win.parentElement.classList);
- win.parentElement.classList.add(`w-${index}`);
+ win.parentElement.parentElement.classList.remove(...win.parentElement.parentElement.classList);
+ win.parentElement.parentElement.classList.add(`w-${index}`);
});
document.querySelector('.hidden-tab').classList.add('demo');
setTimeout(() => document.querySelector('.hidden-tab').classList.remove('demo'), 1000);
diff --git a/scss/style.scss b/scss/style.scss
index a3efb76..9f350dd 100644
--- a/scss/style.scss
+++ b/scss/style.scss
@@ -251,66 +251,101 @@ body{
flex: 1;
position: relative;
background-color: var(--theme-primary-color);
- .line-numbers-rows{
- z-index: 1;
- width: var(--padd) !important;
- padding: 10px 0 calc(10px + var(--font-size)) 0 !important;
- text-align: right;
- height: min-content;
- border-right: .5px solid var(--theme-border-color);
- line-height: normal !important;
- background-color: var(--theme-secondary-color); // rgb(240, 240, 240);
- overflow: hidden;
- > span{
- counter-increment: linenumber;
- &:before{
- content: counter(linenumber);
- display: block;
- color: var(--theme-color-muted); // #506882;
- padding: 0 5px 0 3px;
- // color: #f92672;
- // transition: .1s ease-out;
- }
- &.current:before{
- background-color: var(--theme-caret-color); // #000000;
- color: var(--theme-primary-color); // #fff;
+
+ .top-w-bar {
+ display: flex;
+ justify-content: space-between;
+ position: relative;
+ right: 0;
+ top: 0;
+ z-index: 5;
+ background-color: var(--theme-secondary-color);
+ border-bottom: .5px solid var(--theme-border-color);
+ .title-w-bar {
+ padding: 3px;
+ padding-left: 10px;
+ }
+ .close-w-bar {
+ display: flex;
+ justify-content: end;
+ a{
+ padding: 3px;
+
+ &:hover{
+ background: var(--theme-text-color);
+ color: var(--theme-primary-color) !important;
+ }
+ &.close-terminal{
+ padding: 5px 10px;
+ }
}
}
}
- textarea{
- border: none;
- resize: none;
- outline: none;
- white-space: pre;
- z-index: 2;
- background-color: transparent;
- color: transparent;
- // color: rgba(rgb(255, 255, 255), 0.8);
- caret-color: var(--theme-caret-color);
- padding: 10px 10px 10px calc(var(--padd) + var(--innerPadd)) !important;
- }
- pre{
- z-index: 0;
- margin: 0 !important;
- background-color: transparent !important;
- padding: 10px 10px calc(10px + var(--font-size)) calc(var(--padd) + var(--innerPadd)) !important;
- // height: calc(100% - 16px) !important;
-
- code{
- color: var(--theme-text-color);
- text-shadow: none;
+
+ .code-group {
+ position: relative;
+ height: calc(100% - 22px);
+ .line-numbers-rows{
+ z-index: 1;
+ width: var(--padd) !important;
+ padding: 10px 0 calc(10px + var(--font-size)) 0 !important;
+ text-align: right;
+ height: min-content;
+ border-right: .5px solid var(--theme-border-color);
+ line-height: normal !important;
+ background-color: var(--theme-secondary-color); // rgb(240, 240, 240);
+ overflow: hidden;
+ > span{
+ counter-increment: linenumber;
+ &:before{
+ content: counter(linenumber);
+ display: block;
+ color: var(--theme-color-muted); // #506882;
+ padding: 0 5px 0 3px;
+ // color: #f92672;
+ // transition: .1s ease-out;
+ }
+ &.current:before{
+ background-color: var(--theme-caret-color); // #000000;
+ color: var(--theme-primary-color); // #fff;
+ }
+ }
+ }
+ textarea{
+ border: none;
+ resize: none;
+ outline: none;
+ white-space: pre;
+ z-index: 2;
+ background-color: transparent;
+ color: transparent;
+ // color: rgba(rgb(255, 255, 255), 0.8);
+ caret-color: var(--theme-caret-color);
+ padding: 10px 10px 10px calc(var(--padd) + var(--innerPadd)) !important;
+ }
+ pre{
+ z-index: 0;
+ margin: 0 !important;
+ background-color: transparent !important;
+ padding: 10px 10px calc(10px + var(--font-size)) calc(var(--padd) + var(--innerPadd)) !important;
+ // height: calc(100% - 16px) !important;
+
+ code{
+ color: var(--theme-text-color);
+ text-shadow: none;
+ line-height: var(--lineS) !important;
+ }
+ }
+ textarea, pre, .line-numbers-rows{
+ position: absolute;
+ transition: all 0.5s, background-color 0s;
line-height: var(--lineS) !important;
+ top: 0;
+ width: 100%;
+ left: 0;
+ height: 100%;
}
}
- textarea, pre, .line-numbers-rows{
- position: absolute;
- transition: all 0.5s, background-color 0s;
- line-height: var(--lineS) !important;
- top: 0;
- width: 100%;
- left: 0;
- height: 100%;
- }
}
}
div#terminal{
@@ -330,6 +365,7 @@ body{
background-color: var(--theme-primary-color);
position: relative;
scroll-behavior: smooth;
+ z-index: 2;
> header{
position: absolute;
top: 0;