From 86aca0b6ee02c1ad83dd3277fa19a6393e84bcd1 Mon Sep 17 00:00:00 2001 From: seguinleo Date: Wed, 10 Jan 2024 18:19:06 +0100 Subject: [PATCH] v24.1.2 --- CHANGELOG.txt | 4 + README.md | 6 +- src/.editorconfig | 13 + src/Dockerfile | 2 +- src/assets/css/style.css | 2 +- src/assets/css/style.css.map | 2 +- src/assets/js/purify.min.js | 4 +- src/assets/js/script.js | 37 ++ src/assets/js/scriptConnect.js | 44 +- src/assets/js/showdown.min.js | 2 +- src/assets/php/getSharedNote.php | 5 +- src/assets/php/publicNote.php | 2 +- src/assets/sass/style.scss | 722 ++++++++++++++++++++----------- src/de/index.php | 15 +- src/docker-compose.yml | 2 +- src/en/index.php | 15 +- src/es/index.php | 15 +- src/index.php | 17 +- src/package-lock.json | 12 +- src/package.json | 4 +- src/share/scriptPublic.js | 6 +- src/share/stylePublic.css | 121 +++--- 22 files changed, 704 insertions(+), 348 deletions(-) create mode 100644 src/.editorconfig diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0168934..ff71415 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +#----v24.1.2----# +-Add accent color customization +-Improve UI/UX + #----v24.1.1----# -Better local use -Improve code structure diff --git a/README.md b/README.md index 42a95e9..ddb26ac 100644 --- a/README.md +++ b/README.md @@ -30,14 +30,14 @@ When I was looking for a note-taking application, I faced several difficulties: ## Features All notes are encrypted with ``AES-256-GCM``. -The user can save and edit notes, change color, copy, export and use Markdown/HTML. The user can create tasks lists, tables, links, code blocks, etc. The user can also search for notes by title or add categories. Read my [Markdown guide](https://github.com/seguinleo/Bloc-notes/wiki/Markdown). +The user can save and edit notes, change color, copy, export and use Markdown/HTML5. The user can create tasks lists, tables, links, code blocks, etc. The user can also search for notes by title or add categories. Read my [Markdown guide](https://github.com/seguinleo/Bloc-notes/wiki/Markdown). The user can also sign in to sync all notes between their devices or browsers in a secure database. The user can also make a note public and share it via a random URL. No email is required, only a username and a strong password. This website is a PWA (Progressive Web App), the user can install it as an application. Service Worker has automatic updates. ## Design -The website is fully responsible for mobile devices. The icons come from [Fontawesome](https://github.com/FortAwesome/Font-Awesome). The website is also accessible for people with disabilities thanks to high-contrast colors, ARIA modules and focusable elements. A light/dark mode is also available. +The website is fully responsible for mobile devices. The icons come from [Fontawesome](https://github.com/FortAwesome/Font-Awesome). The website is also accessible for people with disabilities thanks to high-contrast colors, ARIA modules and focusable elements. A light/dark mode is also available and the user can choose the accent color of the entire page. ## Security and Privacy The user's connection for online sync is maintained by a secure cookie. The website is hosted in France by OVHcloud. The server is always up to date with the latest security patches. @@ -66,7 +66,7 @@ If you find [issues](https://github.com/seguinleo/Bloc-notes/issues), [vulnerabi ## For developers Documentation: [W3C](https://www.w3.org/), [MDN Web Docs](https://developer.mozilla.org/en-US/), [OWASP](https://cheatsheetseries.owasp.org/), [PHP Delusions](https://phpdelusions.net/) -Technologies: JavaScript, PHP and MySQL +Technologies: JavaScript, PHP8+ and MySQL Dependencies: ESLint, PHP_CodeSniffer, Sass, [DOMPurify](https://github.com/cure53/DOMPurify) and [Showdownjs](https://github.com/showdownjs/showdown) (modified) diff --git a/src/.editorconfig b/src/.editorconfig new file mode 100644 index 0000000..e8aea27 --- /dev/null +++ b/src/.editorconfig @@ -0,0 +1,13 @@ +[*.{html,css,scss,js,jsx,ts,tsx,vue}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +end_of_line = lf +insert_final_newline = true + +[*.php] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true +end_of_line = lf +insert_final_newline = true diff --git a/src/Dockerfile b/src/Dockerfile index 33d82dd..09ddcc6 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.2-apache +FROM php:8.3-apache COPY . /var/www/html/ diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 6205060..485c30d 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -1 +1 @@ -@keyframes slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@font-face{font-family:OpenSans;font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/OpenSans.woff2") format("woff2")}@font-face{font-family:OpenSans;font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/OpenSans-700.woff2") format("woff2")}html{scroll-behavior:smooth;-webkit-tap-highlight-color:rgba(0,0,0,0);scrollbar-color:rgba(100,100,125,.5) rgba(0,0,0,0);font-family:OpenSans,sans-serif}*{margin:0;box-sizing:border-box}::-webkit-scrollbar-thumb{background:rgba(100,100,125,.5)}::-webkit-scrollbar{width:5px;height:5px}::placeholder{opacity:1}h1{font-size:1.2rem}h2{font-size:1.1rem}h3{font-size:1rem}table{border-collapse:collapse;text-align:center;border:1px solid #000;margin:10px 0}table thead{background:rgba(100,100,125,.2)}table th,table td{padding:4px 8px;border:1px solid #000}a{text-decoration:none;font-weight:700}kbd{border-radius:5px;margin:0 2px;font-size:.8rem;font-weight:700;padding:2px 4px}header{padding:10px}header .fa-xmark{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;transition:.1s}header .fa-xmark:hover{background:rgba(100,100,125,.2)}pre,code{background:#383a59;color:#8be9fd;border-radius:5px;padding:0 2px;white-space:break-spaces}li{margin-left:-1.4rem}img{max-width:100%;height:auto;border-radius:10px}#noscript{padding:4px}nav{top:0;left:0;right:0;text-align:center;position:fixed;z-index:2;-webkit-user-select:none;user-select:none}nav h1{display:none}nav .log-in,nav .manage-account{font-size:2rem}nav div{margin:10px 2rem;display:inline-flex;align-items:center;vertical-align:middle}nav #divSearch{width:300px;height:50px;border-radius:10px;padding:0 10px}nav #divSearch:focus-within{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2)}nav #divSearch i{font-size:1rem;margin:0 5px}nav #divSearch input{width:180px;border:none;border-radius:24px;padding:0 10px}nav #divSearch input:focus{outline:none}nav #last-sync{font-size:.8rem}nav #last-sync i{margin:0 5px;cursor:pointer}main{margin:86px auto 2rem;padding:0 2rem 0 414px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2rem}#sideBar{position:fixed;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none;left:0;top:70px;bottom:0;width:382px;padding:1rem;border-radius:1rem;margin:1rem}#sideBar #listNotes{flex-grow:1;overflow-y:auto}#sideBar #listNotes p{margin:5px 0;padding:5px;border-radius:0 1rem 1rem 0;font-size:.8rem;font-weight:700;overflow:hidden;cursor:pointer}#sideBar #listNotes p:hover,#sideBar #listNotes p:focus{outline:none;background:rgba(100,100,125,.2)}#sideBar #listNotes p:hover .titleList,#sideBar #listNotes p:focus .titleList{display:none}#sideBar #listNotes p:hover .dateList,#sideBar #listNotes p:focus .dateList{display:inline-flex}#sideBar #listNotes p .category{background:rgba(100,100,125,.2);padding:4px 8px;margin:0 8px 0 0;border-radius:24px}#sideBar #listNotes p .titleList{display:inline-flex}#sideBar #listNotes p .dateList{display:none}#sideBar #close-sidebar{display:none}#sideBar button{margin:1rem auto}#sidebar-indicator{position:fixed;height:20vh;width:4px;border-radius:5px;background:rgba(100,100,125,.5);left:4px;top:50%;transform:translate(-50%, -50%)}input{font-family:OpenSans,sans-serif}input[type=text],input[type=password],input[type=search],input[type=number],input[type=date],select{height:50px;width:100%;font-size:1rem;padding:0 1rem}input[type=text]:disabled,input[type=password]:disabled{cursor:not-allowed;opacity:.6}input[type=radio],input[type=checkbox]{margin-right:10px}input[type=checkbox]{pointer-events:none}select,option{font-family:Arial,sans-serif}textarea{font-family:OpenSans,sans-serif;font-size:1rem;height:35vh;width:100%;min-height:200px;max-height:600px;resize:vertical;padding:10px}button{font-family:OpenSans,sans-serif;font-size:1rem;cursor:pointer;width:100%;height:50px;border:none;padding:0 1rem;transition:.1s}button:disabled{cursor:not-allowed}form{margin:10px 0}.note{position:relative;display:flex;flex-direction:column;justify-content:space-between;border-radius:1rem;clip-path:polygon(1rem 0, 100% 0, 100% 100%, 0 100%, 0 1rem);transition:clip-path .4s;width:350px;line-height:2;padding:10px 1rem}.note:hover,.note:focus{clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0)}.note:hover .bottom-content,.note:focus .bottom-content{visibility:visible;opacity:1}.note:after{position:absolute;content:"";top:0;left:0;width:1rem;height:1rem;border-radius:0 0 1rem;transition:transform .4s}.note:hover:after,.note:focus:after{transform:translate(-100%, -100%)}.note:focus-within .bottom-content{visibility:visible;opacity:1}.note .title{text-align:right;font-weight:700;margin:0 10px}.note a{text-decoration:underline}.note a:hover{text-decoration:none}.note .details{max-height:420px;overflow-x:hidden;overflow-y:auto;overflow-wrap:break-word;word-break:break-word;padding:0 4px;font-size:.9rem;font-weight:700}.note .bottom-content{-webkit-user-select:none;user-select:none;margin-top:5px;text-align:center;opacity:0;visibility:hidden;transition:opacity .1s}.note .bottom-content:focus-within{opacity:1;visibility:visible}.note .bottom-content i{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin:0 5px;width:30px;height:30px;border-radius:50%;transition:.1s}.note .bottom-content i:hover{background:rgba(100,100,125,.2)}.linkp{cursor:pointer;font-weight:700}.body-fullscreen{overflow:hidden}.fullscreen{position:fixed;z-index:3;width:100vw;min-height:100vh;margin:auto;inset:0;border-radius:5px}.fullscreen .title{text-align:center}.fullscreen .details{max-height:100%}.popup .content,input,textarea,select,button{border-radius:10px}#colors{display:flex;justify-content:center;min-height:26px}#colors span{width:20px;height:20px;margin:0 10px;border-radius:50%;cursor:pointer;transition:.1s}#colors span.selected{width:26px;height:26px}#connect-box,#create-box,#manage-popup-box,#settings-popup-box,#public-note-popup-box,#private-note-popup-box,#note-popup-box,#sort-popup-box,#filter-popup-box{display:none;position:fixed;top:0;left:0;z-index:2;height:100vh;width:100vw;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}#connect-box .popup,#create-box .popup,#manage-popup-box .popup,#settings-popup-box .popup,#public-note-popup-box .popup,#private-note-popup-box .popup,#note-popup-box .popup,#sort-popup-box .popup,#filter-popup-box .popup{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:3;overflow-y:auto;transform:translate(-50%, -50%)}#connect-box.show,#create-box.show,#manage-popup-box.show,#settings-popup-box.show,#note-popup-box.show,#public-note-popup-box.show,#private-note-popup-box.show,#sort-popup-box.show,#filter-popup-box.show{display:flex}.content{width:500px;max-width:98vw;padding:5px 1rem}#note-popup-box .content{width:900px}.row{margin-bottom:10px}.category{margin:2px 1px;display:inline-flex}.category span{padding:4px 8px;border-radius:24px;cursor:pointer}.category input[type=radio]{display:none}.switch{position:relative;display:inline-flex;vertical-align:middle;width:4rem;height:2rem;margin:0 5px}.switch input{opacity:0;width:0;height:0}.switch input:checked+.slider:before{left:2rem}.switch input:disabled+.slider{cursor:not-allowed}.switch .slider{position:absolute;cursor:pointer;border-radius:2rem;inset:0}.switch .slider:before{position:absolute;content:"";border-radius:50%;height:2rem;width:2rem;box-shadow:1px 1px 3px rgba(0,0,0,.2)}.version{text-align:right;font-size:.8rem;margin:0 5px}.fa-eye-slash{margin:10px}#newVersion{-webkit-user-select:none;user-select:none;border:2px dashed rgba(100,100,125,.2);text-align:center;border-radius:1rem;margin:10px 0;padding-bottom:1.5rem;font-size:.9rem}#newVersion header{padding:4px;text-align:left}#newVersion p{margin:.5rem}#language{width:50px;height:40px;vertical-align:middle;padding:0}#textareaLength{font-size:.8rem}#genPsswd{margin:10px auto}#genPsswd input{margin:10px auto;width:65%}#genPsswd button{margin:10px auto;width:15%}.delete-account{font-weight:700;cursor:pointer}#settings{font-size:1.2rem;vertical-align:middle;margin-right:1rem}#legal,#license{font-size:.8rem}#successNotification,#errorNotification{position:fixed;top:1rem;right:2rem;text-align:center;font-weight:700;max-width:300px;padding:10px;border-radius:5px;color:#fff;display:none;z-index:999}#successNotification{background:#1c7f1d}#errorNotification{background:#a93b3b}#copyNotification{position:fixed;top:1rem;right:2rem;text-align:center;font-weight:700;max-width:125px;padding:10px;border-radius:5px;display:none;z-index:999}#copyNotification.show{display:flex}#copyNoteLink{margin:auto;border-radius:20px;text-align:center;padding:10px;font-weight:700;word-break:break-all;cursor:pointer}#btnTheme{font-size:1.2rem;width:36px;height:36px;border-radius:48px;border:none;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:.1s}#btnTheme:focus{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2)}#btnSort,#btnFilter{position:fixed;right:1.5rem;font-size:1.2rem;width:36px;height:36px;border-radius:48px;border:none;display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:2;transition:.1s}#btnSort:focus,#btnFilter:focus{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2)}#btnSort{top:135px}#btnFilter{top:195px}.task-list-item{list-style-type:none;margin-left:-2.4rem}@media(min-width: 901px){#iconFloatAdd,#sidebar-indicator{display:none}}@media(max-width: 900px){nav{position:fixed;margin:0}nav div{margin:10px 5px}nav #divSearch{width:60%}nav #divSearch input{width:80%;padding:5px}nav #divSearch .linkp{margin:0}nav #last-sync{display:none}main{padding:0 0 5rem;gap:10px}#iconFloatAdd{position:fixed;bottom:2rem;right:2rem;z-index:2;width:60px;height:60px;font-size:1.4rem;border-radius:48px;display:flex;justify-content:center;align-items:center}kbd{display:none}#sideBar{display:none;width:95vw;margin:0;top:0;border-radius:0 1rem 1rem 0;animation:slide-right .3s ease-in-out}#sideBar button{display:none}#sideBar .titleList{max-width:140px}#sideBar.show{display:flex;z-index:3;animation:slide-left .3s ease-in-out}.note{width:100%;max-height:300px;margin:0 10px}.note .bottom-content{visibility:visible;opacity:1}.note .title{font-size:1.1rem}.note .details{overflow:hidden}.fullscreen{min-height:100vh;inset:auto;top:0}.fullscreen .details{overflow:auto}#colors span{margin:0 4px}.bottom-content i{margin:0 2px}#copyNotification.show{display:none}}html.dark{background:#000;color:#c6c6c6;accent-color:#8ab4f8}html.dark ::placeholder{color:#c6c6c6}html.dark a{color:#8ab4f8}html.dark kbd{background:#171717}html.dark nav{background:#171717}html.dark nav #divSearch{background:#000}html.dark nav #divSearch input{background:#000;border:none}html.dark nav #divSearch input:focus{outline:none}html.dark #sideBar{background:#171717}html.dark input,html.dark textarea,html.dark select{border:2px solid #000}html.dark input:focus,html.dark textarea:focus,html.dark select:focus{outline:#8ab4f8 solid 2px}html.dark button{color:#000;background:#8ab4f8}html.dark button:hover,html.dark button:focus{background:#9ec3ff}html.dark button:disabled{background:#c6c6c6}html.dark .linkp{color:#8ab4f8}html.dark .popup .content,html.dark input,html.dark textarea,html.dark select{background:#171717;color:#c6c6c6}html.dark #colors span{border:1px solid #000}html.dark .Rouge a,html.dark .Orange a,html.dark .Jaune a,html.dark .Vert a,html.dark .Cyan a,html.dark .BleuCiel a,html.dark .Bleu a,html.dark .Violet a,html.dark .Rose a{color:#000}html.dark .Noir{background:#171717}html.dark .category span{background:#000}html.dark .category input[type=radio]:checked+span{background:#8ab4f8;color:#000}html.dark .switch input:checked+.slider{background:#8ab4f8}html.dark .switch input:disabled+.slider:before{background:#c6c6c6}html.dark .switch .slider{background:#000}html.dark .switch .slider:before{background:#fff}html.dark #note-popup-box,html.dark #create-box,html.dark #manage-popup-box,html.dark #settings-popup-box,html.dark #connect-box,html.dark #private-note-popup-box,html.dark #public-note-popup-box,html.dark #sort-popup-box,html.dark #filter-popup-box{background:rgba(0,0,0,.5)}html.dark #noscript{background:#fe7575;color:#000}html.dark .warning{color:#fe7575}html.dark #btnTheme{background:#000;color:#c6c6c6}html.dark #language{border:none;background:#171717}html.dark #copyNotification{background:#000;color:#c6c6c6}html.dark #copyNoteLink{background:#000}html.dark #copyNoteLink:hover{opacity:.8}html.dusk{background:#272342;color:#cecbe3;accent-color:#8ab4f8}html.dusk ::placeholder{color:#cecbe3}html.dusk a{color:#8ab4f8}html.dusk kbd{background:#1c1936}html.dusk nav{background:#1c1936}html.dusk nav #divSearch{background:#272342}html.dusk nav #divSearch input{background:#272342;border:none}html.dusk nav #divSearch input:focus{outline:none}html.dusk #sideBar{background:#1c1936}html.dusk input,html.dusk textarea,html.dusk select{border:2px solid #1c1936}html.dusk input:focus,html.dusk textarea:focus,html.dusk select:focus{outline:#8ab4f8 solid 2px}html.dusk button{color:#272342;background:#8ab4f8}html.dusk button:hover,html.dusk button:focus{background:#9ec3ff}html.dusk button:disabled{background:#cecbe3}html.dusk .linkp{color:#8ab4f8}html.dusk .popup .content,html.dusk input,html.dusk textarea,html.dusk select{background:#272342;color:#cecbe3}html.dusk #colors span{border:1px solid #1c1936}html.dusk .Rouge a,html.dusk .Orange a,html.dusk .Jaune a,html.dusk .Vert a,html.dusk .Cyan a,html.dusk .BleuCiel a,html.dusk .Bleu a,html.dusk .Violet a,html.dusk .Rose a{color:#272342}html.dusk .Noir{background:#1c1936}html.dusk .category span{background:#1c1936}html.dusk .category input[type=radio]:checked+span{background:#8ab4f8;color:#000}html.dusk .switch input:checked+.slider{background:#8ab4f8}html.dusk .switch input:disabled+.slider:before{background:#c6c6c6}html.dusk .switch .slider{background:#1c1936}html.dusk .switch .slider:before{background:#cecbe3}html.dusk #note-popup-box,html.dusk #create-box,html.dusk #manage-popup-box,html.dusk #settings-popup-box,html.dusk #connect-box,html.dusk #private-note-popup-box,html.dusk #public-note-popup-box,html.dusk #sort-popup-box,html.dusk #filter-popup-box{background:rgba(0,0,0,.5)}html.dusk #noscript{background:#fe7575;color:#000}html.dusk .warning{color:#fe7575}html.dusk #btnTheme{background:#272342;color:#cecbe3}html.dusk #language{border:none;background:#1c1936}html.dusk #copyNotification{background:#272342;color:#cecbe3}html.dusk #copyNoteLink{background:#1c1936}html.dusk #copyNoteLink:hover{opacity:.8}html.light{background:#fff;color:#171717;accent-color:#2b5790}html.light ::placeholder{color:#171717}html.light a{color:#2b5790}html.light kbd{background:#eee}html.light input,html.light textarea,html.light select{border:2px solid #c6c6c6}html.light input:focus,html.light textarea:focus,html.light select:focus{outline:#2b5790 solid 2px}html.light nav{background:#eee}html.light nav #divSearch{background:#fff}html.light nav #divSearch input{background:#fff;border:none}html.light nav #divSearch input:focus{outline:none}html.light #sideBar{background:#eee}html.light button{color:#fff;background:#2b5790}html.light button:hover,html.light button:focus{background:#34629f}html.light button:disabled{background:#c6c6c6;color:#000}html.light .linkp{color:#2b5790}html.light .popup .content,html.light input,html.light textarea,html.light select{background:#fff;color:#171717}html.light #colors span{border:1px solid #c6c6c6}html.light .Rouge a,html.light .Orange a,html.light .Jaune a,html.light .Vert a,html.light .Cyan a,html.light .BleuCiel a,html.light .Bleu a,html.light .Violet a,html.light .Rose a{color:#000}html.light .Noir{background:#eee}html.light .category span{background:#eee}html.light .category input[type=radio]:checked+span{background:#9ec3ff}html.light .switch input:checked+.slider{background:#2b5790}html.light .switch input:disabled+.slider:before{background:#c6c6c6}html.light .switch .slider{background:#eee}html.light .switch .slider:before{background:#fff}html.light #note-popup-box,html.light #create-box,html.light #manage-popup-box,html.light #settings-popup-box,html.light #connect-box,html.light #private-note-popup-box,html.light #public-note-popup-box,html.light #sort-popup-box,html.light #filter-popup-box{background:rgba(220,220,220,.5)}html.light #noscript{background:#a93b3b;color:#fff}html.light .warning{color:#a93b3b}html.light #copyNotification{background:#fff;color:#171717}html.light #copyNoteLink{background:#eee}html.light #copyNoteLink:hover{opacity:.8}html.light #btnTheme{background:#fff;color:#171717}html.light #language{border:none;background:none}.note:after{box-shadow:2px 2px 2px rgba(0,0,0,.2)}.Rouge{background:#fd948a}.Orange{background:#ffc65c}.Jaune{background:#fdf488}.Vert{background:#d6fe9d}.Cyan{background:#bbfdec}.BleuCiel{background:#d2eff7}.Bleu{background:#b4caf6}.Violet{background:#d1acff}.Rose{background:#fdd0e7}.Rouge,.Orange,.Jaune,.Vert,.Cyan,.BleuCiel,.Bleu,.Violet,.Rose{color:#000}.bold{font-weight:700}.italic{font-style:italic}.underline{text-decoration:underline}.strikethrough{text-decoration:line-through}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}.align-justify{text-align:justify}/*# sourceMappingURL=style.css.map */ +@keyframes slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@font-face{font-family:OpenSans;font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/OpenSans.woff2") format("woff2")}@font-face{font-family:OpenSans;font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/OpenSans-700.woff2") format("woff2")}html{scroll-behavior:smooth;-webkit-tap-highlight-color:rgba(0,0,0,0);scrollbar-color:rgba(100,100,100,.5) rgba(0,0,0,0);font-family:OpenSans,sans-serif}*{margin:0;box-sizing:border-box}::-webkit-scrollbar-thumb{background:rgba(100,100,100,.5)}::-webkit-scrollbar{width:5px;height:5px}::placeholder{opacity:1}h1{font-size:1.2rem}h2{font-size:1.1rem}h3{font-size:1rem}table{border-collapse:collapse;text-align:center;border:1px solid #000;margin:10px 0}table thead{background:rgba(100,100,100,.2)}table th,table td{padding:4px 8px;border:1px solid #000}a{text-decoration:none;font-weight:700}kbd{border-radius:5px;margin:0 2px;font-size:.8rem;font-weight:700;padding:2px 4px;box-shadow:1px 1px 3px rgba(0,0,0,.2)}blockquote{border-left:3px solid rgba(100,100,100,.5);padding-left:10px}header{padding:10px}header .fa-xmark{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;transition:.1s}header .fa-xmark:hover{background:rgba(100,100,100,.2)}pre{margin:10px auto}pre,code{background:#000;color:#fff;border-radius:4px;padding:4px;white-space:break-spaces}li{margin-left:-1.4rem}img{max-width:100%;height:auto;border-radius:10px}#noscript{padding:4px}nav{top:0;left:0;right:0;text-align:center;position:fixed;z-index:2;-webkit-user-select:none;user-select:none}nav h1{display:none}nav .log-in,nav .manage-account{font-size:2rem}nav div{margin:10px 2rem;display:inline-flex;align-items:center;vertical-align:middle}nav #divSearch{width:300px;height:50px;border-radius:10px;padding:0 10px}nav #divSearch:focus-within{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2)}nav #divSearch i{font-size:1rem;margin:0 5px}nav #divSearch input{width:180px;border:none;border-radius:24px;padding:0 10px}nav #divSearch input:focus{outline:none}nav #last-sync{font-size:.8rem}nav #last-sync i{margin:0 5px;cursor:pointer}main{margin:86px auto 2rem;padding:0 2rem 0 414px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2rem}#sideBar{position:fixed;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none;left:0;top:70px;bottom:0;width:382px;padding:1rem;border-radius:1rem;margin:1rem}#sideBar #listNotes{flex-grow:1;overflow-y:auto}#sideBar #listNotes p{margin:5px 0;padding:5px;border-radius:0 1rem 1rem 0;font-size:.8rem;font-weight:700;overflow:hidden;cursor:pointer}#sideBar #listNotes p:hover,#sideBar #listNotes p:focus{outline:none;background:rgba(100,100,100,.2)}#sideBar #listNotes p:hover .titleList,#sideBar #listNotes p:focus .titleList{display:none}#sideBar #listNotes p:hover .dateList,#sideBar #listNotes p:focus .dateList{display:inline-flex}#sideBar #listNotes p .category{background:rgba(100,100,100,.2);padding:4px 8px;margin:0 8px 0 0;border-radius:24px}#sideBar #listNotes p .titleList{display:inline-flex;align-items:baseline}#sideBar #listNotes p .dateList{display:none}#sideBar #close-sidebar{display:none}#sideBar button{margin:1rem auto}#sidebar-indicator{position:fixed;height:20vh;width:4px;border-radius:5px;background:rgba(100,100,100,.5);left:4px;top:50%;transform:translate(-50%, -50%)}input{font-family:OpenSans,sans-serif}input[type=text],input[type=password],input[type=search],input[type=number],input[type=date],select{height:50px;width:100%;font-size:1rem;padding:0 1rem}input[type=text]:disabled,input[type=password]:disabled{cursor:not-allowed;opacity:.6}input[type=radio],input[type=checkbox]{margin-right:10px;vertical-align:middle}input[type=checkbox]{pointer-events:none}input[type=text]:focus,input[type=password]:focus,textarea:focus{outline:2px solid rgba(100,100,100,.5)}.task-list-item input[type=checkbox]:checked+label{text-decoration:line-through}select,option{font-family:Arial,sans-serif}textarea{font-family:OpenSans,sans-serif;font-size:1rem;height:35vh;width:100%;min-height:200px;max-height:600px;resize:vertical;padding:10px}button{font-family:OpenSans,sans-serif;font-size:1rem;cursor:pointer;width:100%;height:50px;border:none;padding:0 1rem;transition:.1s}button:disabled{cursor:not-allowed}form{margin:10px 0}.note{position:relative;display:flex;flex-direction:column;border-radius:1rem;clip-path:polygon(1rem 0, 100% 0, 100% 100%, 0 100%, 0 1rem);transition:clip-path .4s;max-width:50vw;line-height:2;padding:10px 1rem}.note:hover,.note:focus{clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0)}.note:hover .bottom-content,.note:focus .bottom-content{visibility:visible;opacity:1}.note:after{position:absolute;content:"";top:0;left:0;width:1rem;height:1rem;border-radius:0 0 1rem;transition:transform .4s}.note:hover:after,.note:focus:after{transform:translate(-100%, -100%)}.note:focus-within .bottom-content{visibility:visible;opacity:1}.note .title{text-align:right;font-weight:700;margin:0 10px}.note a{text-decoration:underline}.note a:hover{text-decoration:none}.note .details{max-height:420px;overflow-x:hidden;overflow-y:auto;overflow-wrap:break-word;word-break:break-word;padding:0 4px;font-size:.9rem;font-weight:700}.note .bottom-content{-webkit-user-select:none;user-select:none;margin-top:5px;text-align:center;opacity:0;visibility:hidden;transition:opacity .1s}.note .bottom-content:focus-within{opacity:1;visibility:visible}.note .bottom-content i{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin:0 5px;width:30px;height:30px;border-radius:50%;transition:.1s}.note .bottom-content i:hover{background:rgba(100,100,100,.2)}.linkp{cursor:pointer;font-weight:700}.body-fullscreen{overflow:hidden}.fullscreen{position:fixed;z-index:3;width:100vw;max-width:100vw;min-height:100vh;margin:auto;inset:0;border-radius:5px}.fullscreen .title{text-align:center;margin-bottom:1rem}.fullscreen .details{max-height:100%}.popup .content,input,textarea,select,button{border-radius:10px}#colors,#accent-colors{display:flex;align-items:center;min-height:30px}#colors span,#accent-colors span{width:20px;height:20px;margin:0 10px;border-radius:50%;cursor:pointer;transition:.1s}#colors span.selected,#accent-colors span.selected{width:28px;height:28px}#colors{justify-content:center}#connect-box,#create-box,#manage-popup-box,#settings-popup-box,#public-note-popup-box,#private-note-popup-box,#note-popup-box,#sort-popup-box,#filter-popup-box{display:none;position:fixed;top:0;left:0;z-index:2;height:100vh;width:100vw;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}#connect-box .popup,#create-box .popup,#manage-popup-box .popup,#settings-popup-box .popup,#public-note-popup-box .popup,#private-note-popup-box .popup,#note-popup-box .popup,#sort-popup-box .popup,#filter-popup-box .popup{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:3;overflow-y:auto;transform:translate(-50%, -50%)}#connect-box.show,#create-box.show,#manage-popup-box.show,#settings-popup-box.show,#note-popup-box.show,#public-note-popup-box.show,#private-note-popup-box.show,#sort-popup-box.show,#filter-popup-box.show{display:flex}.content{width:500px;max-width:98vw;padding:5px 1rem}#note-popup-box .content{width:900px}.row{margin-bottom:10px}.category{margin:2px 1px;display:inline-flex}.category span{padding:4px 8px;border-radius:24px;cursor:pointer}.category input[type=radio]{display:none}.switch{position:relative;display:inline-flex;vertical-align:middle;width:4rem;height:2rem;margin:0 5px}.switch input{opacity:0;width:0;height:0}.switch input:checked+.slider:before{left:2rem}.switch input:disabled+.slider{cursor:not-allowed}.switch .slider{position:absolute;cursor:pointer;border-radius:2rem;inset:0}.switch .slider:before{position:absolute;content:"";border-radius:50%;height:2rem;width:2rem;box-shadow:1px 1px 3px rgba(0,0,0,.2)}.version{text-align:right;font-size:.8rem;margin:0 5px}#newVersion{-webkit-user-select:none;user-select:none;border:2px dashed rgba(100,100,100,.5);text-align:center;border-radius:1rem;margin:10px 0;padding-bottom:1.5rem;font-size:.9rem}#newVersion header{padding:4px;text-align:left}#newVersion p{margin:.5rem}#language{width:50px;height:40px;vertical-align:middle;padding:0}#textareaLength{font-size:.8rem}#genPsswd{margin:10px auto}#genPsswd input{margin:10px auto;width:65%}#genPsswd button{margin:10px auto;width:15%}.delete-account{font-weight:700;cursor:pointer}#settings{font-size:1.2rem;vertical-align:middle;margin-right:1rem}#legal,#license{font-size:.8rem}#successNotification,#errorNotification{position:fixed;top:1rem;right:2rem;text-align:center;font-weight:700;max-width:320px;padding:10px;border-radius:5px;color:#fff;display:none;z-index:999}#successNotification{background:#1c7f1d}#errorNotification{background:#a93b3b}#copyNotification{position:fixed;top:1rem;right:2rem;text-align:center;font-weight:700;max-width:125px;padding:10px;border-radius:5px;display:none;z-index:999}#copyNotification.show{display:flex}#copyNoteLink{margin:auto;border-radius:20px;text-align:center;padding:10px;font-weight:700;word-break:break-all;cursor:pointer}#btnTheme{font-size:1.2rem;width:36px;height:36px;border-radius:48px;border:none;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:.1s}#btnTheme:focus{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2)}#btnSort,#btnFilter{position:fixed;right:1.5rem;font-size:1.2rem;width:36px;height:36px;border-radius:48px;border:none;display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:2;transition:.1s}#btnSort:focus,#btnFilter:focus{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2)}#btnSort{top:135px}#btnFilter{top:195px}.task-list-item{margin-left:-2.4rem;pointer-events:none}@media(min-width: 901px){#iconFloatAdd,#sidebar-indicator{display:none}}@media(max-width: 900px){nav{position:fixed;margin:0}nav div{margin:10px 5px}nav #divSearch{width:60%}nav #divSearch input{width:80%;padding:5px}nav #divSearch .linkp{margin:0}nav #divSearch kbd{display:none}nav #last-sync{display:none}main{padding:0 0 5rem;gap:10px}#iconFloatAdd{position:fixed;bottom:2rem;right:2rem;z-index:2;width:60px;height:60px;font-size:1.4rem;border-radius:48px;display:flex;justify-content:center;align-items:center}#sideBar{display:none;width:95vw;margin:0;top:0;border-radius:0 1rem 1rem 0;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 2px 6px 0 rgba(0,0,0,.2);animation:slide-right .3s ease-in-out}#sideBar button{display:none}#sideBar .titleList{max-width:140px}#sideBar.show{display:flex;z-index:3;animation:slide-left .3s ease-in-out}.note{width:100%;max-width:100vw;max-height:300px;margin:0 10px}.note .bottom-content{visibility:visible;opacity:1}.note .title{font-size:1.1rem}.note .details{overflow:hidden}.fullscreen{min-height:100vh;inset:auto;top:0}.fullscreen .details{overflow:auto}#colors span,#accent-colors span{margin:0 4px}.bottom-content i{margin:0 2px}#copyNotification.show{display:none}}html.dark{background:#000;color:#c6c6c6}html.dark .accentBlue{accent-color:#8ab4f8}html.dark .accentBlue ::selection{background:#8ab4f8;color:#000}html.dark .accentBlue a,html.dark .accentBlue .linkp{color:#8ab4f8}html.dark .accentBlue button,html.dark .accentBlue input[type=radio]:checked+span,html.dark .accentBlue .switch input:checked+.slider{background:#8ab4f8}html.dark .accentGreen{accent-color:#8af8a4}html.dark .accentGreen ::selection{background:#8af8a4;color:#000}html.dark .accentGreen a,html.dark .accentGreen .linkp{color:#8af8a4}html.dark .accentGreen button,html.dark .accentGreen input[type=radio]:checked+span,html.dark .accentGreen .switch input:checked+.slider{background:#8af8a4}html.dark .accentYellow{accent-color:#f8f48a}html.dark .accentYellow ::selection{background:#f8f48a;color:#000}html.dark .accentYellow a,html.dark .accentYellow .linkp{color:#f8f48a}html.dark .accentYellow button,html.dark .accentYellow input[type=radio]:checked+span,html.dark .accentYellow .switch input:checked+.slider{background:#f8f48a}html.dark .accentPink{accent-color:#f68af8}html.dark .accentPink ::selection{background:#f68af8;color:#000}html.dark .accentPink a,html.dark .accentPink .linkp{color:#f68af8}html.dark .accentPink button,html.dark .accentPink input[type=radio]:checked+span,html.dark .accentPink .switch input:checked+.slider{background:#f68af8}html.dark .accentBlueSpan{background:#8ab4f8}html.dark .accentGreenSpan{background:#8af8a4}html.dark .accentYellowSpan{background:#f8f48a}html.dark .accentPinkSpan{background:#f68af8}html.dark ::placeholder{color:#c6c6c6}html.dark kbd{background:#171717}html.dark nav{background:#171717}html.dark nav #divSearch{background:#000}html.dark nav #divSearch input{background:#000;border:none}html.dark nav #divSearch input:focus{outline:none}html.dark #sideBar{background:#171717}html.dark input,html.dark textarea,html.dark select{border:2px solid #000}html.dark button{color:#000}html.dark button:disabled{background:#c6c6c6}html.dark .popup .content,html.dark input,html.dark textarea,html.dark select{background:#171717;color:#c6c6c6}html.dark #colors span,html.dark #accent-colors span{border:1px solid #000}html.dark .Rouge a,html.dark .Orange a,html.dark .Jaune a,html.dark .Vert a,html.dark .Cyan a,html.dark .BleuCiel a,html.dark .Bleu a,html.dark .Violet a,html.dark .Rose a{color:#000}html.dark .Noir{background:#171717}html.dark .category span{background:#000}html.dark .category input[type=radio]:checked+span{color:#000}html.dark .switch input:disabled+.slider:before{background:#c6c6c6}html.dark .switch .slider{background:#000}html.dark .switch .slider:before{background:#fff}html.dark #note-popup-box,html.dark #create-box,html.dark #manage-popup-box,html.dark #settings-popup-box,html.dark #connect-box,html.dark #private-note-popup-box,html.dark #public-note-popup-box,html.dark #sort-popup-box,html.dark #filter-popup-box{background:rgba(0,0,0,.5)}html.dark #noscript{background:#fe7575;color:#000}html.dark .linkp.warning{color:#fe7575}html.dark #btnTheme{background:#000;color:#c6c6c6}html.dark #language{border:none;background:#171717}html.dark #copyNotification{background:#000;color:#c6c6c6}html.dark #copyNoteLink{background:#000}html.dark #copyNoteLink:hover{opacity:.8}html.dusk{background:#272342;color:#cecbe3}html.dusk .accentBlue{accent-color:#8ab4f8}html.dusk .accentBlue ::selection{background:#8ab4f8;color:#000}html.dusk .accentBlue a,html.dusk .accentBlue .linkp{color:#8ab4f8}html.dusk .accentBlue button,html.dusk .accentBlue input[type=radio]:checked+span,html.dusk .accentBlue .switch input:checked+.slider{background:#8ab4f8}html.dusk .accentGreen{accent-color:#8af8a4}html.dusk .accentGreen ::selection{background:#8af8a4;color:#000}html.dusk .accentGreen a,html.dusk .accentGreen .linkp{color:#8af8a4}html.dusk .accentGreen button,html.dusk .accentGreen input[type=radio]:checked+span,html.dusk .accentGreen .switch input:checked+.slider{background:#8af8a4}html.dusk .accentYellow{accent-color:#f8f48a}html.dusk .accentYellow ::selection{background:#f8f48a;color:#000}html.dusk .accentYellow a,html.dusk .accentYellow .linkp{color:#f8f48a}html.dusk .accentYellow button,html.dusk .accentYellow input[type=radio]:checked+span,html.dusk .accentYellow .switch input:checked+.slider{background:#f8f48a}html.dusk .accentPink{accent-color:#f68af8}html.dusk .accentPink ::selection{background:#f68af8;color:#000}html.dusk .accentPink a,html.dusk .accentPink .linkp{color:#f68af8}html.dusk .accentPink button,html.dusk .accentPink input[type=radio]:checked+span,html.dusk .accentPink .switch input:checked+.slider{background:#f68af8}html.dusk .accentBlueSpan{background:#8ab4f8}html.dusk .accentGreenSpan{background:#8af8a4}html.dusk .accentYellowSpan{background:#f8f48a}html.dusk .accentPinkSpan{background:#f68af8}html.dusk ::placeholder{color:#cecbe3}html.dusk kbd{background:#1c1936}html.dusk nav{background:#1c1936}html.dusk nav #divSearch{background:#272342}html.dusk nav #divSearch input{background:#272342;border:none}html.dusk nav #divSearch input:focus{outline:none}html.dusk #sideBar{background:#1c1936}html.dusk input,html.dusk textarea,html.dusk select{border:2px solid #1c1936}html.dusk button{color:#272342}html.dusk button:disabled{background:#cecbe3}html.dusk .popup .content,html.dusk input,html.dusk textarea,html.dusk select{background:#272342;color:#cecbe3}html.dusk #colors span,html.dusk #accent-colors span{border:1px solid #1c1936}html.dusk .Rouge a,html.dusk .Orange a,html.dusk .Jaune a,html.dusk .Vert a,html.dusk .Cyan a,html.dusk .BleuCiel a,html.dusk .Bleu a,html.dusk .Violet a,html.dusk .Rose a{color:#272342}html.dusk .Noir{background:#1c1936}html.dusk .category span{background:#1c1936}html.dusk .category input[type=radio]:checked+span{color:#000}html.dusk .switch input:disabled+.slider:before{background:#c6c6c6}html.dusk .switch .slider{background:#1c1936}html.dusk .switch .slider:before{background:#cecbe3}html.dusk #note-popup-box,html.dusk #create-box,html.dusk #manage-popup-box,html.dusk #settings-popup-box,html.dusk #connect-box,html.dusk #private-note-popup-box,html.dusk #public-note-popup-box,html.dusk #sort-popup-box,html.dusk #filter-popup-box{background:rgba(0,0,0,.5)}html.dusk #noscript{background:#fe7575;color:#000}html.dusk .linkp.warning{color:#fe7575}html.dusk #btnTheme{background:#272342;color:#cecbe3}html.dusk #language{border:none;background:#1c1936}html.dusk #copyNotification{background:#272342;color:#cecbe3}html.dusk #copyNoteLink{background:#1c1936}html.dusk #copyNoteLink:hover{opacity:.8}html.light{background:#fff;color:#171717}html.light .accentBlue{accent-color:#2b5790}html.light .accentBlue ::selection{background:#2b5790;color:#fff}html.light .accentBlue a,html.light .accentBlue .linkp{color:#2b5790}html.light .accentBlue button,html.light .accentBlue input[type=radio]:checked+span,html.light .accentBlue .switch input:checked+.slider{background:#2b5790}html.light .accentGreen{accent-color:#146727}html.light .accentGreen ::selection{background:#146727;color:#fff}html.light .accentGreen a,html.light .accentGreen .linkp{color:#146727}html.light .accentGreen button,html.light .accentGreen input[type=radio]:checked+span,html.light .accentGreen .switch input:checked+.slider{background:#146727}html.light .accentYellow{accent-color:#a25c00}html.light .accentYellow ::selection{background:#a25c00;color:#fff}html.light .accentYellow a,html.light .accentYellow .linkp{color:#a25c00}html.light .accentYellow button,html.light .accentYellow input[type=radio]:checked+span,html.light .accentYellow .switch input:checked+.slider{background:#a25c00}html.light .accentPink{accent-color:#942796}html.light .accentPink ::selection{background:#942796;color:#fff}html.light .accentPink a,html.light .accentPink .linkp{color:#942796}html.light .accentPink button,html.light .accentPink input[type=radio]:checked+span,html.light .accentPink .switch input:checked+.slider{background:#942796}html.light .accentBlueSpan{background:#2b5790}html.light .accentGreenSpan{background:#146727}html.light .accentYellowSpan{background:#a25c00}html.light .accentPinkSpan{background:#942796}html.light ::placeholder{color:#171717}html.light kbd{background:#eee}html.light input,html.light textarea,html.light select{border:2px solid #c6c6c6}html.light nav{background:#eee}html.light nav #divSearch{background:#fff}html.light nav #divSearch input{background:#fff;border:none}html.light nav #divSearch input:focus{outline:none}html.light #sideBar{background:#eee}html.light button{color:#fff}html.light button:disabled{background:#c6c6c6;color:#000}html.light .popup .content,html.light input,html.light textarea,html.light select{background:#fff;color:#171717}html.light #colors span,html.light #accent-colors span{border:1px solid #c6c6c6}html.light .Rouge a,html.light .Orange a,html.light .Jaune a,html.light .Vert a,html.light .Cyan a,html.light .BleuCiel a,html.light .Bleu a,html.light .Violet a,html.light .Rose a{color:#000}html.light .Noir{background:#eee}html.light .category span{background:#eee}html.light .switch input:disabled+.slider:before{background:#c6c6c6}html.light .switch .slider{background:#eee}html.light .switch .slider:before{background:#fff}html.light #note-popup-box,html.light #create-box,html.light #manage-popup-box,html.light #settings-popup-box,html.light #connect-box,html.light #private-note-popup-box,html.light #public-note-popup-box,html.light #sort-popup-box,html.light #filter-popup-box{background:rgba(220,220,220,.5)}html.light #noscript{background:#a93b3b;color:#fff}html.light .linkp.warning{color:#a93b3b}html.light #copyNotification{background:#fff;color:#171717}html.light #copyNoteLink{background:#eee}html.light #copyNoteLink:hover{opacity:.8}html.light #btnTheme{background:#fff;color:#171717}html.light #language{border:none;background:none}.note:after{box-shadow:2px 2px 2px rgba(0,0,0,.2)}.Rouge{background:#fd948a}.Orange{background:#ffc65c}.Jaune{background:#fdf488}.Vert{background:#d6fe9d}.Cyan{background:#bbfdec}.BleuCiel{background:#d2eff7}.Bleu{background:#b4caf6}.Violet{background:#d1acff}.Rose{background:#fdd0e7}.Rouge,.Orange,.Jaune,.Vert,.Cyan,.BleuCiel,.Bleu,.Violet,.Rose{color:#000}.bold{font-weight:700}.italic{font-style:italic}.underline{text-decoration:underline}.strikethrough{text-decoration:line-through}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}.align-justify{text-align:justify}.float-left{float:left}.float-right{float:right}.d-block{display:block}.d-inline{display:inline}.d-inline-block{display:inline-block}/*# sourceMappingURL=style.css.map */ diff --git a/src/assets/css/style.css.map b/src/assets/css/style.css.map index ea6d525..722a926 100644 --- a/src/assets/css/style.css.map +++ b/src/assets/css/style.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../sass/style.scss"],"names":[],"mappings":"AAaA,sBACE,GACE,4BAGF,KACE,yBAIJ,uBACE,GACE,2BAGF,KACE,yBAIJ,WACE,qBACA,kBACA,gBACA,kBACA,mDAGF,WACE,qBACA,kBACA,gBACA,kBACA,uDAGF,KACE,uBACA,0CACA,mDACA,gCAGF,EACE,SACA,sBAGF,0BACE,gCAGF,oBACE,UACA,WAGF,cACE,UAGF,GACE,iBAGF,GACE,iBAGF,GACE,eAGF,MACE,yBACA,kBACA,sBACA,cAEA,YACE,gCAGF,kBAEE,gBACA,sBAIJ,EACE,qBACA,gBAGF,IACE,kBACA,aACA,gBACA,gBACA,gBAGF,OACE,aAEA,iBACE,eACA,oBACA,mBACA,uBACA,WACA,YACA,kBACA,eAEA,uBACE,gCAKN,SAEE,mBACA,cACA,kBACA,cACA,yBAGF,GACE,oBAGF,IACE,eACA,YACA,mBAGF,UACE,YAGF,IACE,MACA,OACA,QACA,kBACA,eACA,UACA,yBACA,iBAEA,OACE,aAGF,gCAEE,eAGF,QACE,iBACA,oBACA,mBACA,sBAGF,eACE,YACA,YACA,mBACA,eAEA,4BACE,iEAGF,iBACE,eACA,aAGF,qBACE,YACA,YACA,mBACA,eAEA,2BACE,aAKN,eACE,gBAEA,iBACE,aACA,eAKN,KACE,sBACA,uBACA,aACA,uBACA,mBACA,eACA,SAGF,SACE,eACA,aACA,sBACA,yBACA,iBACA,OACA,SACA,SACA,YACA,aACA,mBACA,YAEA,oBACE,YACA,gBAEA,sBACE,aACA,YACA,4BACA,gBACA,gBACA,gBACA,eAEA,wDAEE,aACA,gCAEA,8EACE,aAGF,4EACE,oBAIJ,gCACE,gCACA,gBACA,iBACA,mBAGF,iCACE,oBAGF,gCACE,aAKN,wBACE,aAGF,gBACE,iBAIJ,mBACE,eACA,YACA,UACA,kBACA,gCACA,SACA,QACA,gCAGF,MACE,gCAGF,oGAME,YACA,WACA,eACA,eAGF,wDAEE,mBACA,WAGF,uCAEE,kBAGF,qBACE,oBAGF,cAEE,6BAGF,SACE,gCACA,eACA,YACA,WACA,iBACA,iBACA,gBACA,aAGF,OACE,gCACA,eACA,eACA,WACA,YACA,YACA,eACA,eAEA,gBACE,mBAIJ,KACE,cAGF,MACE,kBACA,aACA,sBACA,8BACA,mBACA,6DACA,yBACA,YACA,cACA,kBAEA,wBAEE,uDAEA,wDACE,mBACA,UAIJ,YACE,kBACA,WACA,MACA,OACA,WACA,YACA,uBACA,yBAGF,oCAEE,kCAIA,mCACE,mBACA,UAIJ,aACE,iBACA,gBACA,cAGF,QACE,0BAEA,cACE,qBAIJ,eACE,iBACA,kBACA,gBACA,yBACA,sBACA,cACA,gBACA,gBAGF,sBACE,yBACA,iBACA,eACA,kBACA,UACA,kBACA,uBAEA,mCACE,UACA,mBAGF,wBACE,oBACA,mBACA,uBACA,eACA,aACA,WACA,YACA,kBACA,eAEA,8BACE,gCAMR,OACE,eACA,gBAGF,iBACE,gBAGF,YACE,eACA,UACA,YACA,iBACA,YACA,QACA,kBAEA,mBACE,kBAGF,qBACE,gBAIJ,6CAKE,mBAGF,QACE,aACA,uBACA,gBAEA,aACE,WACA,YACA,cACA,kBACA,eACA,eAGF,sBACE,WACA,YAIJ,gKASE,aACA,eACA,MACA,OACA,UACA,aACA,YACA,mCACA,2BAEA,+NACE,yBACA,iBACA,kBACA,QACA,SACA,UACA,gBACA,gCAIJ,6MASE,aAGF,SACE,YACA,eACA,iBAGF,yBACE,YAGF,KACE,mBAGF,UACE,eACA,oBAEA,eACE,gBACA,mBACA,eAGF,4BACE,aAIJ,QACE,kBACA,oBACA,sBACA,WACA,YACA,aAEA,cACE,UACA,QACA,SAGE,qCACE,UAIJ,+BACE,mBAIJ,gBACE,kBACA,eACA,mBACA,QAEA,uBACE,kBACA,WACA,kBACA,YACA,WACA,sCAKN,SACE,iBACA,gBACA,aAGF,cACE,YAGF,YACE,yBACA,iBACA,uCACA,kBACA,mBACA,cACA,sBACA,gBAEA,mBACE,YACA,gBAGF,cACE,aAIJ,UACE,WACA,YACA,sBACA,UAGF,gBACE,gBAGF,UACE,iBAEA,gBACE,iBACA,UAGF,iBACE,iBACA,UAIJ,gBACE,gBACA,eAGF,UACE,iBACA,sBACA,kBAGF,gBAEE,gBAGF,wCAEE,eACA,SACA,WACA,kBACA,gBACA,gBACA,aACA,kBACA,MA/sBQ,KAgtBR,aACA,YAGF,qBACE,mBAGF,mBACE,mBAGF,kBACE,eACA,SACA,WACA,kBACA,gBACA,gBACA,aACA,kBACA,aACA,YAEA,uBACE,aAIJ,cACE,YACA,mBACA,kBACA,aACA,gBACA,qBACA,eAGF,UACE,iBACA,WACA,YACA,mBACA,YACA,aACA,uBACA,mBACA,eACA,eAEA,gBACE,iEAIJ,oBAEE,eACA,aACA,iBACA,WACA,YACA,mBACA,YACA,aACA,uBACA,mBACA,eACA,UACA,eAEA,gCACE,iEAIJ,SACE,UAGF,WACE,UAGF,gBACE,qBACA,oBAGF,yBAEE,iCAEE,cAIJ,yBAEE,IACE,eACA,SAEA,QACE,gBAGF,eACE,UAEA,qBACE,UACA,YAGF,sBACE,SAIJ,eACE,aAIJ,KACE,iBACA,SAGF,cACE,eACA,YACA,WACA,UACA,WACA,YACA,iBACA,mBACA,aACA,uBACA,mBAGF,IACE,aAGF,SACE,aACA,WACA,SACA,MACA,4BACA,sCAEA,gBACE,aAGF,oBACE,gBAIJ,cACE,aACA,UACA,qCAGF,MACE,WACA,iBACA,cAEA,sBACE,mBACA,UAGF,aACE,iBAGF,eACE,gBAIJ,YACE,iBACA,WACA,MAEA,qBACE,cAIJ,aACE,aAGF,kBACE,aAGF,uBACE,cAIJ,UACE,WA96BQ,KA+6BR,MA76BQ,QA86BR,aA76BQ,QA+6BR,wBACE,MAj7BM,QAo7BR,YACE,MAp7BM,QAu7BR,cACE,WA17BM,QA67BR,cACE,WA97BM,QAg8BN,yBACE,WAl8BI,KAo8BJ,+BACE,WAr8BE,KAs8BF,YAEA,qCACE,aAMR,mBACE,WA/8BM,QAk9BR,oDAGE,sBAEA,sEACE,0BAIJ,iBACE,MA99BM,KA+9BN,WA59BM,QA89BN,8CAEE,WA/9BI,QAk+BN,0BACE,WAr+BI,QAy+BR,iBACE,MAz+BM,QA4+BR,8EAIE,WAl/BM,QAm/BN,MAl/BM,QAq/BR,uBACE,sBAYA,4KACE,MArgCI,KAygCR,gBACE,WAzgCM,QA6gCN,yBACE,WA/gCI,KAmhCJ,mDACE,WAjhCE,QAkhCF,MArhCE,KA6hCJ,wCACE,WA3hCE,QA+hCF,gDACE,WAjiCA,QAsiCN,0BACE,WAziCI,KA2iCJ,iCACE,WAriCE,KA0iCR,0PASE,0BAGF,oBACE,mBACA,MA/jCM,KAkkCR,mBACE,cAGF,oBACE,WAvkCM,KAwkCN,MAtkCM,QAykCR,oBACE,YACA,WA5kCM,QA+kCR,4BACE,WAjlCM,KAklCN,MAhlCM,QAmlCR,wBACE,WAtlCM,KAwlCN,8BACE,WAKN,UACE,WArlCQ,QAslCR,MArlCQ,QAslCR,aA9lCQ,QAgmCR,wBACE,MAzlCM,QA4lCR,YACE,MArmCM,QAwmCR,cACE,WAnmCM,QAsmCR,cACE,WAvmCM,QAymCN,yBACE,WAzmCI,QA2mCJ,+BACE,WA5mCE,QA6mCF,YAEA,qCACE,aAMR,mBACE,WAxnCM,QA2nCR,oDAGE,yBAEA,sEACE,0BAIJ,iBACE,MAroCM,QAsoCN,WA7oCM,QA+oCN,8CAEE,WAhpCI,QAmpCN,0BACE,WA7oCI,QAipCR,iBACE,MA1pCM,QA6pCR,8EAIE,WA1pCM,QA2pCN,MA1pCM,QA6pCR,uBACE,yBAYA,4KACE,MA5qCI,QAgrCR,gBACE,WAlrCM,QAsrCN,yBACE,WAvrCI,QA2rCJ,mDACE,WAlsCE,QAmsCF,MAtsCE,KA8sCJ,wCACE,WA5sCE,QAgtCF,gDACE,WAltCA,QAutCN,0BACE,WAjtCI,QAmtCJ,iCACE,WAltCE,QAutCR,0PASE,0BAGF,oBACE,mBACA,MAhvCM,KAmvCR,mBACE,cAGF,oBACE,WA9uCM,QA+uCN,MA9uCM,QAivCR,oBACE,YACA,WArvCM,QAwvCR,4BACE,WAxvCM,QAyvCN,MAxvCM,QA2vCR,wBACE,WA9vCM,QAgwCN,8BACE,WAKN,WACE,WAzwCQ,KA0wCR,MAhxCQ,QAixCR,aA7wCQ,QA+wCR,yBACE,MApxCM,QAuxCR,aACE,MApxCM,QAuxCR,eACE,WArxCM,KAwxCR,uDAGE,yBAEA,yEACE,0BAIJ,eACE,WAnyCM,KAqyCN,0BACE,WAvyCI,KAyyCJ,gCACE,WA1yCE,KA2yCF,YAEA,sCACE,aAMR,oBACE,WApzCM,KAuzCR,kBACE,MAzzCM,KA0zCN,WA5zCM,QA8zCN,gDAEE,WA/zCI,QAk0CN,2BACE,WAv0CI,QAw0CJ,MA10CI,KA80CR,kBACE,MA10CM,QA60CR,kFAIE,WA/0CM,KAg1CN,MAt1CM,QAy1CR,wBACE,yBAYA,qLACE,MAx2CI,KA42CR,iBACE,WAr2CM,KAy2CN,0BACE,WA12CI,KA82CJ,oDACE,WAn3CE,QA23CJ,yCACE,WA33CE,QA+3CF,iDACE,WAn4CA,QAw4CN,2BACE,WAn4CI,KAq4CJ,kCACE,WAv4CE,KA44CR,mQASE,gCAGF,qBACE,mBACA,MA15CM,KA65CR,oBACE,cAGF,6BACE,WAl6CM,KAm6CN,MAz6CM,QA46CR,yBACE,WAt6CM,KAw6CN,+BACE,WAIJ,qBACE,WA/6CM,KAg7CN,MAt7CM,QAy7CR,qBACE,YACA,gBAIJ,YACE,sCAGF,OACE,mBAGF,QACE,mBAGF,OACE,mBAGF,MACE,mBAGF,MACE,mBAGF,UACE,mBAGF,MACE,mBAGF,QACE,mBAGF,MACE,mBAGF,gEASE,MAj/CQ,KAo/CV,MACE,gBAGF,QACE,kBAGF,WACE,0BAGF,eACE,6BAGF,YACE,gBAGF,cACE,kBAGF,aACE,iBAGF,eACE","file":"style.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../sass/style.scss"],"names":[],"mappings":"AASA,sBACE,GACE,4BAGF,KACE,yBAIJ,uBACE,GACE,2BAGF,KACE,yBAIJ,WACE,qBACA,kBACA,gBACA,kBACA,mDAGF,WACE,qBACA,kBACA,gBACA,kBACA,uDAGF,KACE,uBACA,0CACA,mDACA,gCAGF,EACE,SACA,sBAGF,0BACE,gCAGF,oBACE,UACA,WAGF,cACE,UAGF,GACE,iBAGF,GACE,iBAGF,GACE,eAGF,MACE,yBACA,kBACA,sBACA,cAEA,YACE,gCAGF,kBAEE,gBACA,sBAIJ,EACE,qBACA,gBAGF,IACE,kBACA,aACA,gBACA,gBACA,gBACA,sCAGF,WACE,2CACA,kBAGF,OACE,aAEA,iBACE,eACA,oBACA,mBACA,uBACA,WACA,YACA,kBACA,eAEA,uBACE,gCAKN,IACE,iBAGF,SAEE,gBACA,WACA,kBACA,YACA,yBAGF,GACE,oBAGF,IACE,eACA,YACA,mBAGF,UACE,YAGF,IACE,MACA,OACA,QACA,kBACA,eACA,UACA,yBACA,iBAEA,OACE,aAGF,gCAEE,eAGF,QACE,iBACA,oBACA,mBACA,sBAGF,eACE,YACA,YACA,mBACA,eAEA,4BACE,iEAGF,iBACE,eACA,aAGF,qBACE,YACA,YACA,mBACA,eAEA,2BACE,aAKN,eACE,gBAEA,iBACE,aACA,eAKN,KACE,sBACA,uBACA,aACA,uBACA,mBACA,eACA,SAGF,SACE,eACA,aACA,sBACA,yBACA,iBACA,OACA,SACA,SACA,YACA,aACA,mBACA,YAEA,oBACE,YACA,gBAEA,sBACE,aACA,YACA,4BACA,gBACA,gBACA,gBACA,eAEA,wDAEE,aACA,gCAEA,8EACE,aAGF,4EACE,oBAIJ,gCACE,gCACA,gBACA,iBACA,mBAGF,iCACE,oBACA,qBAGF,gCACE,aAKN,wBACE,aAGF,gBACE,iBAIJ,mBACE,eACA,YACA,UACA,kBACA,gCACA,SACA,QACA,gCAGF,MACE,gCAGF,oGAME,YACA,WACA,eACA,eAGF,wDAEE,mBACA,WAGF,uCAEE,kBACA,sBAGF,qBACE,oBAMA,iEACE,uCAIJ,mDACE,6BAGF,cAEE,6BAGF,SACE,gCACA,eACA,YACA,WACA,iBACA,iBACA,gBACA,aAGF,OACE,gCACA,eACA,eACA,WACA,YACA,YACA,eACA,eAEA,gBACE,mBAIJ,KACE,cAGF,MACE,kBACA,aACA,sBACA,mBACA,6DACA,yBACA,eACA,cACA,kBAEA,wBAEE,uDAEA,wDACE,mBACA,UAIJ,YACE,kBACA,WACA,MACA,OACA,WACA,YACA,uBACA,yBAGF,oCAEE,kCAGF,mCACE,mBACA,UAGF,aACE,iBACA,gBACA,cAGF,QACE,0BAEA,cACE,qBAIJ,eACE,iBACA,kBACA,gBACA,yBACA,sBACA,cACA,gBACA,gBAGF,sBACE,yBACA,iBACA,eACA,kBACA,UACA,kBACA,uBAEA,mCACE,UACA,mBAGF,wBACE,oBACA,mBACA,uBACA,eACA,aACA,WACA,YACA,kBACA,eAEA,8BACE,gCAMR,OACE,eACA,gBAGF,iBACE,gBAGF,YACE,eACA,UACA,YACA,gBACA,iBACA,YACA,QACA,kBAEA,mBACE,kBACA,mBAGF,qBACE,gBAIJ,6CAKE,mBAGF,uBAEE,aACA,mBACA,gBAEA,iCACE,WACA,YACA,cACA,kBACA,eACA,eAGF,mDACE,WACA,YAIJ,QACE,uBAGF,gKASE,aACA,eACA,MACA,OACA,UACA,aACA,YACA,mCACA,2BAEA,+NACE,yBACA,iBACA,kBACA,QACA,SACA,UACA,gBACA,gCAIJ,6MASE,aAGF,SACE,YACA,eACA,iBAGF,yBACE,YAGF,KACE,mBAGF,UACE,eACA,oBAEA,eACE,gBACA,mBACA,eAGF,4BACE,aAIJ,QACE,kBACA,oBACA,sBACA,WACA,YACA,aAEA,cACE,UACA,QACA,SAEA,qCACE,UAGF,+BACE,mBAIJ,gBACE,kBACA,eACA,mBACA,QAEA,uBACE,kBACA,WACA,kBACA,YACA,WACA,sCAKN,SACE,iBACA,gBACA,aAGF,YACE,yBACA,iBACA,uCACA,kBACA,mBACA,cACA,sBACA,gBAEA,mBACE,YACA,gBAGF,cACE,aAIJ,UACE,WACA,YACA,sBACA,UAGF,gBACE,gBAGF,UACE,iBAEA,gBACE,iBACA,UAGF,iBACE,iBACA,UAIJ,gBACE,gBACA,eAGF,UACE,iBACA,sBACA,kBAGF,gBAEE,gBAGF,wCAEE,eACA,SACA,WACA,kBACA,gBACA,gBACA,aACA,kBACA,MAruBO,KAsuBP,aACA,YAGF,qBACE,mBAGF,mBACE,mBAGF,kBACE,eACA,SACA,WACA,kBACA,gBACA,gBACA,aACA,kBACA,aACA,YAEA,uBACE,aAIJ,cACE,YACA,mBACA,kBACA,aACA,gBACA,qBACA,eAGF,UACE,iBACA,WACA,YACA,mBACA,YACA,aACA,uBACA,mBACA,eACA,eAEA,gBACE,iEAIJ,oBAEE,eACA,aACA,iBACA,WACA,YACA,mBACA,YACA,aACA,uBACA,mBACA,eACA,UACA,eAEA,gCACE,iEAIJ,SACE,UAGF,WACE,UAGF,gBACE,oBACA,oBAGF,yBAEE,iCAEE,cAIJ,yBAEE,IACE,eACA,SAEA,QACE,gBAGF,eACE,UAEA,qBACE,UACA,YAGF,sBACE,SAGF,mBACE,aAIJ,eACE,aAIJ,KACE,iBACA,SAGF,cACE,eACA,YACA,WACA,UACA,WACA,YACA,iBACA,mBACA,aACA,uBACA,mBAGF,SACE,aACA,WACA,SACA,MACA,4BACA,iEACA,sCAEA,gBACE,aAGF,oBACE,gBAIJ,cACE,aACA,UACA,qCAGF,MACE,WACA,gBACA,iBACA,cAEA,sBACE,mBACA,UAGF,aACE,iBAGF,eACE,gBAIJ,YACE,iBACA,WACA,MAEA,qBACE,cAIJ,iCAEE,aAGF,kBACE,aAGF,uBACE,cAIJ,UACE,WAn8BO,KAo8BP,MAl8BO,QAo8BP,sBACE,qBAEA,kCACE,mBACA,WAGF,qDAEE,cAGF,sIAGE,mBAIJ,uBACE,qBAEA,mCACE,mBACA,WAGF,uDAEE,cAGF,yIAGE,mBAIJ,wBACE,qBAEA,oCACE,mBACA,WAGF,yDAEE,cAGF,4IAGE,mBAIJ,sBACE,qBAEA,kCACE,mBACA,WAGF,qDAEE,cAGF,sIAGE,mBAIJ,0BACE,mBAGF,2BACE,mBAGF,4BACE,mBAGF,0BACE,mBAGF,wBACE,MAriCK,QAwiCP,cACE,WA1iCK,QA6iCP,cACE,WA9iCK,QAgjCL,yBACE,WAljCG,KAojCH,+BACE,WArjCC,KAsjCD,YAEA,qCACE,aAMR,mBACE,WA/jCK,QAkkCP,oDAGE,sBAGF,iBACE,MA1kCK,KA4kCL,0BACE,WA3kCG,QA+kCP,8EAIE,WAplCK,QAqlCL,MAplCK,QAulCP,qDAEE,sBAYA,4KACE,MAxmCG,KA4mCP,gBACE,WA5mCK,QAgnCL,yBACE,WAlnCG,KAqnCL,mDACE,MAtnCG,KA2nCL,gDACE,WA1nCG,QA6nCL,0BACE,WAhoCG,KAkoCH,iCACE,WAhoCC,KAqoCP,0PASE,0BAGF,oBACE,mBACA,MAtpCK,KAypCP,yBACE,cAGF,oBACE,WA9pCK,KA+pCL,MA7pCK,QAgqCP,oBACE,YACA,WAnqCK,QAsqCP,4BACE,WAxqCK,KAyqCL,MAvqCK,QA0qCP,wBACE,WA7qCK,KA+qCL,8BACE,WAKN,UACE,WAhrCO,QAirCP,MAhrCO,QAkrCP,sBACE,qBAEA,kCACE,mBACA,WAGF,qDAEE,cAGF,sIAGE,mBAIJ,uBACE,qBAEA,mCACE,mBACA,WAGF,uDAEE,cAGF,yIAGE,mBAIJ,wBACE,qBAEA,oCACE,mBACA,WAGF,yDAEE,cAGF,4IAGE,mBAIJ,sBACE,qBAEA,kCACE,mBACA,WAGF,qDAEE,cAGF,sIAGE,mBAIJ,0BACE,mBAGF,2BACE,mBAGF,4BACE,mBAGF,0BACE,mBAGF,wBACE,MAnxCK,QAsxCP,cACE,WAzxCK,QA4xCP,cACE,WA7xCK,QA+xCL,yBACE,WA/xCG,QAiyCH,+BACE,WAlyCC,QAmyCD,YAEA,qCACE,aAMR,mBACE,WA9yCK,QAizCP,oDAGE,yBAGF,iBACE,MAvzCK,QAyzCL,0BACE,WAzzCG,QA6zCP,8EAIE,WAl0CK,QAm0CL,MAl0CK,QAq0CP,qDAEE,yBAYA,4KACE,MAr1CG,QAy1CP,gBACE,WA31CK,QA+1CL,yBACE,WAh2CG,QAm2CL,mDACE,MAz2CG,KA82CL,gDACE,WA72CG,QAg3CL,0BACE,WA92CG,QAg3CH,iCACE,WA/2CC,QAo3CP,0PASE,0BAGF,oBACE,mBACA,MAz4CK,KA44CP,yBACE,cAGF,oBACE,WA34CK,QA44CL,MA34CK,QA84CP,oBACE,YACA,WAl5CK,QAq5CP,4BACE,WAr5CK,QAs5CL,MAr5CK,QAw5CP,wBACE,WA35CK,QA65CL,8BACE,WAKN,WACE,WAt6CO,KAu6CP,MAz6CO,QA26CP,uBACE,qBAEA,mCACE,mBACA,WAGF,uDAEE,cAGF,yIAGE,mBAIJ,wBACE,qBAEA,oCACE,mBACA,WAGF,yDAEE,cAGF,4IAGE,mBAIJ,yBACE,qBAEA,qCACE,mBACA,WAGF,2DAEE,cAGF,+IAGE,mBAIJ,uBACE,qBAEA,mCACE,mBACA,WAGF,uDAEE,cAGF,yIAGE,mBAIJ,2BACE,mBAGF,4BACE,mBAGF,6BACE,mBAGF,2BACE,mBAGF,yBACE,MA5gDK,QA+gDP,eACE,WA7gDK,KAghDP,uDAGE,yBAGF,eACE,WAvhDK,KAyhDL,0BACE,WA3hDG,KA6hDH,gCACE,WA9hDC,KA+hDD,YAEA,sCACE,aAMR,oBACE,WAxiDK,KA2iDP,kBACE,MA7iDK,KA+iDL,2BACE,WAjjDG,QAkjDH,MApjDG,KAwjDP,kFAIE,WAzjDK,KA0jDL,MA5jDK,QA+jDP,uDAEE,yBAYA,qLACE,MA/kDG,KAmlDP,iBACE,WAhlDK,KAolDL,0BACE,WArlDG,KA0lDL,iDACE,WA7lDG,QAgmDL,2BACE,WA/lDG,KAimDH,kCACE,WAnmDC,KAwmDP,mQASE,gCAGF,qBACE,mBACA,MAtnDK,KAynDP,0BACE,cAGF,6BACE,WA9nDK,KA+nDL,MAjoDK,QAooDP,yBACE,WAloDK,KAooDL,+BACE,WAIJ,qBACE,WA3oDK,KA4oDL,MA9oDK,QAipDP,qBACE,YACA,gBAIJ,YACE,sCAGF,OACE,mBAGF,QACE,mBAGF,OACE,mBAGF,MACE,mBAGF,MACE,mBAGF,UACE,mBAGF,MACE,mBAGF,QACE,mBAGF,MACE,mBAGF,gEASE,MAzsDO,KA4sDT,MACE,gBAGF,QACE,kBAGF,WACE,0BAGF,eACE,6BAGF,YACE,gBAGF,cACE,kBAGF,aACE,iBAGF,eACE,mBAGF,YACE,WAGF,aACE,YAGF,SACE,cAGF,UACE,eAGF,gBACE","file":"style.css"} \ No newline at end of file diff --git a/src/assets/js/purify.min.js b/src/assets/js/purify.min.js index 93b20a6..9f09011 100644 --- a/src/assets/js/purify.min.js +++ b/src/assets/js/purify.min.js @@ -1,2 +1,2 @@ -/*! @license DOMPurify 3.0.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.7/LICENSE */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),f=b(Array.prototype.push),p=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function S(e){for(let t=0;t/gm),z=a(/\${[\w\W]*}/gm),B=a(/^data-[\-\w.\u00B7-\uFFFF]/),W=a(/^aria-[\-\w]+$/),G=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),j=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i);var X=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:H,TMPLIT_EXPR:z,DATA_ATTR:B,ARIA_ATTR:W,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:j,DOCTYPE_NAME:q});const K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var $=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K();const o=e=>t(e);if(o.version="3.0.7",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:_,Node:b,Element:S,NodeFilter:F,NamedNodeMap:H=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:z,DOMParser:B,trustedTypes:W}=n,Y=S.prototype,j=w(Y,"cloneNode"),$=w(Y,"nextSibling"),Z=w(Y,"childNodes"),J=w(Y,"parentNode");if("function"==typeof _){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let Q,ee="";const{implementation:te,createNodeIterator:ne,createDocumentFragment:oe,getElementsByTagName:re}=r,{importNode:ie}=a;let ae={};o.isSupported="function"==typeof e&&"function"==typeof J&&te&&void 0!==te.createHTMLDocument;const{MUSTACHE_EXPR:le,ERB_EXPR:ce,TMPLIT_EXPR:se,DATA_ATTR:ue,ARIA_ATTR:me,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:pe}=X;let{IS_ALLOWED_URI:de}=X,he=null;const ge=N({},[...D,...L,...v,...k,...O]);let Te=null;const ye=N({},[...I,...M,...U,...P]);let Ee=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,_e=null,be=!0,Ne=!0,Se=!1,Re=!0,we=!1,De=!1,Le=!1,ve=!1,xe=!1,ke=!1,Ce=!1,Oe=!0,Ie=!1;const Me="user-content-";let Ue=!0,Pe=!1,Fe={},He=null;const ze=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Be=null;const We=N({},["audio","video","img","source","image","track"]);let Ge=null;const Ye=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),je="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1999/xhtml";let Ke=Xe,Ve=!1,$e=null;const Ze=N({},[je,qe,Xe],d);let Je=null;const Qe=["application/xhtml+xml","text/html"],et="text/html";let tt=null,nt=null;const ot=r.createElement("form"),rt=function(e){return e instanceof RegExp||e instanceof Function},it=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!nt||nt!==e){if(e&&"object"==typeof e||(e={}),e=R(e),Je=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?et:e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Je?d:p,he="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,tt):ge,Te="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,tt):ye,$e="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,d):Ze,Ge="ADD_URI_SAFE_ATTR"in e?N(R(Ye),e.ADD_URI_SAFE_ATTR,tt):Ye,Be="ADD_DATA_URI_TAGS"in e?N(R(We),e.ADD_DATA_URI_TAGS,tt):We,He="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,tt):ze,Ae="FORBID_TAGS"in e?N({},e.FORBID_TAGS,tt):{},_e="FORBID_ATTR"in e?N({},e.FORBID_ATTR,tt):{},Fe="USE_PROFILES"in e&&e.USE_PROFILES,be=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,we=e.SAFE_FOR_TEMPLATES||!1,De=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,ke=e.RETURN_DOM_FRAGMENT||!1,Ce=e.RETURN_TRUSTED_TYPE||!1,ve=e.FORCE_BODY||!1,Oe=!1!==e.SANITIZE_DOM,Ie=e.SANITIZE_NAMED_PROPS||!1,Ue=!1!==e.KEEP_CONTENT,Pe=e.IN_PLACE||!1,de=e.ALLOWED_URI_REGEXP||G,Ke=e.NAMESPACE||Xe,Ee=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&rt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&rt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(Ne=!1),ke&&(xe=!0),Fe&&(he=N({},O),Te=[],!0===Fe.html&&(N(he,D),N(Te,I)),!0===Fe.svg&&(N(he,L),N(Te,M),N(Te,P)),!0===Fe.svgFilters&&(N(he,v),N(Te,M),N(Te,P)),!0===Fe.mathMl&&(N(he,k),N(Te,U),N(Te,P))),e.ADD_TAGS&&(he===ge&&(he=R(he)),N(he,e.ADD_TAGS,tt)),e.ADD_ATTR&&(Te===ye&&(Te=R(Te)),N(Te,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&N(Ge,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(He===ze&&(He=R(He)),N(He,e.FORBID_CONTENTS,tt)),Ue&&(he["#text"]=!0),De&&N(he,["html","head","body"]),he.table&&(N(he,["tbody"]),delete Ae.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=e.TRUSTED_TYPES_POLICY,ee=Q.createHTML("")}else void 0===Q&&(Q=V(W,c)),null!==Q&&"string"==typeof ee&&(ee=Q.createHTML(""));i&&i(e),nt=e}},at=N({},["mi","mo","mn","ms","mtext"]),lt=N({},["foreignobject","desc","title","annotation-xml"]),ct=N({},["title","style","font","a","script"]),st=N({},[...L,...v,...x]),ut=N({},[...k,...C]),mt=function(e){let t=J(e);t&&t.tagName||(t={namespaceURI:Ke,tagName:"template"});const n=p(e.tagName),o=p(t.tagName);return!!$e[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Xe?"svg"===n:t.namespaceURI===je?"svg"===n&&("annotation-xml"===o||at[o]):Boolean(st[n]):e.namespaceURI===je?t.namespaceURI===Xe?"math"===n:t.namespaceURI===qe?"math"===n&<[o]:Boolean(ut[n]):e.namespaceURI===Xe?!(t.namespaceURI===qe&&!lt[o])&&(!(t.namespaceURI===je&&!at[o])&&(!ut[n]&&(ct[n]||!st[n]))):!("application/xhtml+xml"!==Je||!$e[e.namespaceURI]))},ft=function(e){f(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},pt=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Te[e])if(xe||ke)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},dt=function(e){let t=null,n=null;if(ve)e=""+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Je&&Ke===Xe&&(e=''+e+"");const o=Q?Q.createHTML(e):e;if(Ke===Xe)try{t=(new B).parseFromString(o,Je)}catch(e){}if(!t||!t.documentElement){t=te.createDocument(Ke,"template",null);try{t.documentElement.innerHTML=Ve?ee:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Ke===Xe?re.call(t,De?"html":"body")[0]:De?t.documentElement:i},ht=function(e){return ne.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT,null)},gt=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof H)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof b&&e instanceof b},yt=function(e,t,n){ae[e]&&u(ae[e],(e=>{e.call(o,t,n,nt)}))},Et=function(e){let t=null;if(yt("beforeSanitizeElements",e,null),gt(e))return ft(e),!0;const n=tt(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:n,allowedTags:he}),e.hasChildNodes()&&!Tt(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return ft(e),!0;if(!he[n]||Ae[n]){if(!Ae[n]&&_t(n)){if(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,n))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))return!1}if(Ue&&!He[n]){const t=J(e)||e.parentNode,n=Z(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o)t.insertBefore(j(n[o],!0),$(e))}}return ft(e),!0}return e instanceof S&&!mt(e)?(ft(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(we&&3===e.nodeType&&(t=e.textContent,u([le,ce,se],(e=>{t=g(t,e," ")})),e.textContent!==t&&(f(o.removed,{element:e.cloneNode()}),e.textContent=t)),yt("afterSanitizeElements",e,null),!1):(ft(e),!0)},At=function(e,t,n){if(Oe&&("id"===t||"name"===t)&&(n in r||n in ot))return!1;if(Ne&&!_e[t]&&E(ue,t));else if(be&&E(me,t));else if(!Te[t]||_e[t]){if(!(_t(e)&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&E(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||"is"===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,n)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))))return!1}else if(Ge[t]);else if(E(de,g(n,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Be[e]){if(Se&&!E(fe,g(n,pe,"")));else if(n)return!1}else;return!0},_t=function(e){return e.indexOf("-")>0},bt=function(e){yt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Te};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=tt(a);let f="value"===a?c:y(c);if(n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,n),f=n.attrValue,n.forceKeepAttr)continue;if(pt(a,e),!n.keepAttr)continue;if(!Re&&E(/\/>/i,f)){pt(a,e);continue}we&&u([le,ce,se],(e=>{f=g(f,e," ")}));const p=tt(e.nodeName);if(At(p,s,f)){if(!Ie||"id"!==s&&"name"!==s||(pt(a,e),f=Me+f),Q&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(l);else switch(W.getAttributeType(p,s)){case"TrustedHTML":f=Q.createHTML(f);break;case"TrustedScriptURL":f=Q.createScriptURL(f)}try{l?e.setAttributeNS(l,a,f):e.setAttribute(a,f),m(o.removed)}catch(e){}}}yt("afterSanitizeAttributes",e,null)},Nt=function e(t){let n=null;const o=ht(t);for(yt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)yt("uponSanitizeShadowNode",n,null),Et(n)||(n.content instanceof s&&e(n.content),bt(n));yt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(Ve=!e,Ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Le||it(t),o.removed=[],"string"==typeof e&&(Pe=!1),Pe){if(e.nodeName){const t=tt(e.nodeName);if(!he[t]||Ae[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=dt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!xe&&!we&&!De&&-1===e.indexOf("<"))return Q&&Ce?Q.createHTML(e):e;if(n=dt(e),!n)return xe?null:Ce?ee:""}n&&ve&&ft(n.firstChild);const c=ht(Pe?e:n);for(;i=c.nextNode();)Et(i)||(i.content instanceof s&&Nt(i.content),bt(i));if(Pe)return e;if(xe){if(ke)for(l=oe.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Te.shadowroot||Te.shadowrootmode)&&(l=ie.call(a,l,!0)),l}let m=De?n.outerHTML:n.innerHTML;return De&&he["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(q,n.ownerDocument.doctype.name)&&(m="\n"+m),we&&u([le,ce,se],(e=>{m=g(m,e," ")})),Q&&Ce?Q.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};it(e),Le=!0},o.clearConfig=function(){nt=null,Le=!1},o.isValidAttribute=function(e,t,n){nt||it({});const o=tt(e),r=tt(t);return At(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(ae[e]=ae[e]||[],f(ae[e],t))},o.removeHook=function(e){if(ae[e])return m(ae[e])},o.removeHooks=function(e){ae[e]&&(ae[e]=[])},o.removeAllHooks=function(){ae={}},o}();return $})); +/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),f=b(Array.prototype.push),p=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function S(e){for(let t=0;t/gm),z=a(/\${[\w\W]*}/gm),B=a(/^data-[\-\w.\u00B7-\uFFFF]/),W=a(/^aria-[\-\w]+$/),G=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),j=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i);var X=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:H,TMPLIT_EXPR:z,DATA_ATTR:B,ARIA_ATTR:W,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:j,DOCTYPE_NAME:q});const K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var $=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K();const o=e=>t(e);if(o.version="3.0.8",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:_,Node:b,Element:S,NodeFilter:F,NamedNodeMap:H=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:z,DOMParser:B,trustedTypes:W}=n,Y=S.prototype,j=w(Y,"cloneNode"),$=w(Y,"nextSibling"),Z=w(Y,"childNodes"),J=w(Y,"parentNode");if("function"==typeof _){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let Q,ee="";const{implementation:te,createNodeIterator:ne,createDocumentFragment:oe,getElementsByTagName:re}=r,{importNode:ie}=a;let ae={};o.isSupported="function"==typeof e&&"function"==typeof J&&te&&void 0!==te.createHTMLDocument;const{MUSTACHE_EXPR:le,ERB_EXPR:ce,TMPLIT_EXPR:se,DATA_ATTR:ue,ARIA_ATTR:me,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:pe}=X;let{IS_ALLOWED_URI:de}=X,he=null;const ge=N({},[...D,...L,...v,...k,...O]);let Te=null;const ye=N({},[...I,...M,...U,...P]);let Ee=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,_e=null,be=!0,Ne=!0,Se=!1,Re=!0,we=!1,De=!1,Le=!1,ve=!1,xe=!1,ke=!1,Ce=!1,Oe=!0,Ie=!1;const Me="user-content-";let Ue=!0,Pe=!1,Fe={},He=null;const ze=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Be=null;const We=N({},["audio","video","img","source","image","track"]);let Ge=null;const Ye=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),je="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1999/xhtml";let Ke=Xe,Ve=!1,$e=null;const Ze=N({},[je,qe,Xe],d);let Je=null;const Qe=["application/xhtml+xml","text/html"],et="text/html";let tt=null,nt=null;const ot=r.createElement("form"),rt=function(e){return e instanceof RegExp||e instanceof Function},it=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!nt||nt!==e){if(e&&"object"==typeof e||(e={}),e=R(e),Je=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?et:e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Je?d:p,he="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,tt):ge,Te="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,tt):ye,$e="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,d):Ze,Ge="ADD_URI_SAFE_ATTR"in e?N(R(Ye),e.ADD_URI_SAFE_ATTR,tt):Ye,Be="ADD_DATA_URI_TAGS"in e?N(R(We),e.ADD_DATA_URI_TAGS,tt):We,He="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,tt):ze,Ae="FORBID_TAGS"in e?N({},e.FORBID_TAGS,tt):{},_e="FORBID_ATTR"in e?N({},e.FORBID_ATTR,tt):{},Fe="USE_PROFILES"in e&&e.USE_PROFILES,be=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,we=e.SAFE_FOR_TEMPLATES||!1,De=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,ke=e.RETURN_DOM_FRAGMENT||!1,Ce=e.RETURN_TRUSTED_TYPE||!1,ve=e.FORCE_BODY||!1,Oe=!1!==e.SANITIZE_DOM,Ie=e.SANITIZE_NAMED_PROPS||!1,Ue=!1!==e.KEEP_CONTENT,Pe=e.IN_PLACE||!1,de=e.ALLOWED_URI_REGEXP||G,Ke=e.NAMESPACE||Xe,Ee=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&rt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&rt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(Ne=!1),ke&&(xe=!0),Fe&&(he=N({},O),Te=[],!0===Fe.html&&(N(he,D),N(Te,I)),!0===Fe.svg&&(N(he,L),N(Te,M),N(Te,P)),!0===Fe.svgFilters&&(N(he,v),N(Te,M),N(Te,P)),!0===Fe.mathMl&&(N(he,k),N(Te,U),N(Te,P))),e.ADD_TAGS&&(he===ge&&(he=R(he)),N(he,e.ADD_TAGS,tt)),e.ADD_ATTR&&(Te===ye&&(Te=R(Te)),N(Te,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&N(Ge,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(He===ze&&(He=R(He)),N(He,e.FORBID_CONTENTS,tt)),Ue&&(he["#text"]=!0),De&&N(he,["html","head","body"]),he.table&&(N(he,["tbody"]),delete Ae.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=e.TRUSTED_TYPES_POLICY,ee=Q.createHTML("")}else void 0===Q&&(Q=V(W,c)),null!==Q&&"string"==typeof ee&&(ee=Q.createHTML(""));i&&i(e),nt=e}},at=N({},["mi","mo","mn","ms","mtext"]),lt=N({},["foreignobject","desc","title","annotation-xml"]),ct=N({},["title","style","font","a","script"]),st=N({},[...L,...v,...x]),ut=N({},[...k,...C]),mt=function(e){let t=J(e);t&&t.tagName||(t={namespaceURI:Ke,tagName:"template"});const n=p(e.tagName),o=p(t.tagName);return!!$e[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Xe?"svg"===n:t.namespaceURI===je?"svg"===n&&("annotation-xml"===o||at[o]):Boolean(st[n]):e.namespaceURI===je?t.namespaceURI===Xe?"math"===n:t.namespaceURI===qe?"math"===n&<[o]:Boolean(ut[n]):e.namespaceURI===Xe?!(t.namespaceURI===qe&&!lt[o])&&(!(t.namespaceURI===je&&!at[o])&&(!ut[n]&&(ct[n]||!st[n]))):!("application/xhtml+xml"!==Je||!$e[e.namespaceURI]))},ft=function(e){f(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},pt=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Te[e])if(xe||ke)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},dt=function(e){let t=null,n=null;if(ve)e=""+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Je&&Ke===Xe&&(e=''+e+"");const o=Q?Q.createHTML(e):e;if(Ke===Xe)try{t=(new B).parseFromString(o,Je)}catch(e){}if(!t||!t.documentElement){t=te.createDocument(Ke,"template",null);try{t.documentElement.innerHTML=Ve?ee:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Ke===Xe?re.call(t,De?"html":"body")[0]:De?t.documentElement:i},ht=function(e){return ne.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT,null)},gt=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof H)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof b&&e instanceof b},yt=function(e,t,n){ae[e]&&u(ae[e],(e=>{e.call(o,t,n,nt)}))},Et=function(e){let t=null;if(yt("beforeSanitizeElements",e,null),gt(e))return ft(e),!0;const n=tt(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:n,allowedTags:he}),e.hasChildNodes()&&!Tt(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return ft(e),!0;if(!he[n]||Ae[n]){if(!Ae[n]&&_t(n)){if(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,n))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))return!1}if(Ue&&!He[n]){const t=J(e)||e.parentNode,n=Z(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o)t.insertBefore(j(n[o],!0),$(e))}}return ft(e),!0}return e instanceof S&&!mt(e)?(ft(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(we&&3===e.nodeType&&(t=e.textContent,u([le,ce,se],(e=>{t=g(t,e," ")})),e.textContent!==t&&(f(o.removed,{element:e.cloneNode()}),e.textContent=t)),yt("afterSanitizeElements",e,null),!1):(ft(e),!0)},At=function(e,t,n){if(Oe&&("id"===t||"name"===t)&&(n in r||n in ot))return!1;if(Ne&&!_e[t]&&E(ue,t));else if(be&&E(me,t));else if(!Te[t]||_e[t]){if(!(_t(e)&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&E(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||"is"===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,n)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))))return!1}else if(Ge[t]);else if(E(de,g(n,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Be[e]){if(Se&&!E(fe,g(n,pe,"")));else if(n)return!1}else;return!0},_t=function(e){return e.indexOf("-")>0},bt=function(e){yt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Te};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=tt(a);let f="value"===a?c:y(c);if(n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,n),f=n.attrValue,n.forceKeepAttr)continue;if(pt(a,e),!n.keepAttr)continue;if(!Re&&E(/\/>/i,f)){pt(a,e);continue}we&&u([le,ce,se],(e=>{f=g(f,e," ")}));const p=tt(e.nodeName);if(At(p,s,f)){if(!Ie||"id"!==s&&"name"!==s||(pt(a,e),f=Me+f),Q&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(l);else switch(W.getAttributeType(p,s)){case"TrustedHTML":f=Q.createHTML(f);break;case"TrustedScriptURL":f=Q.createScriptURL(f)}try{l?e.setAttributeNS(l,a,f):e.setAttribute(a,f),m(o.removed)}catch(e){}}}yt("afterSanitizeAttributes",e,null)},Nt=function e(t){let n=null;const o=ht(t);for(yt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)yt("uponSanitizeShadowNode",n,null),Et(n)||(n.content instanceof s&&e(n.content),bt(n));yt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(Ve=!e,Ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Le||it(t),o.removed=[],"string"==typeof e&&(Pe=!1),Pe){if(e.nodeName){const t=tt(e.nodeName);if(!he[t]||Ae[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=dt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!xe&&!we&&!De&&-1===e.indexOf("<"))return Q&&Ce?Q.createHTML(e):e;if(n=dt(e),!n)return xe?null:Ce?ee:""}n&&ve&&ft(n.firstChild);const c=ht(Pe?e:n);for(;i=c.nextNode();)Et(i)||(i.content instanceof s&&Nt(i.content),bt(i));if(Pe)return e;if(xe){if(ke)for(l=oe.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Te.shadowroot||Te.shadowrootmode)&&(l=ie.call(a,l,!0)),l}let m=De?n.outerHTML:n.innerHTML;return De&&he["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(q,n.ownerDocument.doctype.name)&&(m="\n"+m),we&&u([le,ce,se],(e=>{m=g(m,e," ")})),Q&&Ce?Q.createHTML(m):m},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};it(e),Le=!0},o.clearConfig=function(){nt=null,Le=!1},o.isValidAttribute=function(e,t,n){nt||it({});const o=tt(e),r=tt(t);return At(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(ae[e]=ae[e]||[],f(ae[e],t))},o.removeHook=function(e){if(ae[e])return m(ae[e])},o.removeHooks=function(e){ae[e]&&(ae[e]=[])},o.removeAllHooks=function(){ae={}},o}();return $})); diff --git a/src/assets/js/script.js b/src/assets/js/script.js index 1e33b0d..588f3ce 100644 --- a/src/assets/js/script.js +++ b/src/assets/js/script.js @@ -12,6 +12,7 @@ const popupBoxSettings = document.querySelector('#settings-popup-box'); const titleNote = noteBox.querySelector('#title'); const contentNote = noteBox.querySelector('#content'); const colors = document.querySelectorAll('#colors span'); +const accentColors = document.querySelectorAll('#accent-colors span'); const forms = document.querySelectorAll('form'); const sideBar = document.querySelector('#sideBar'); const metaTheme = document.querySelectorAll('.themecolor'); @@ -31,6 +32,19 @@ if (localStorage.getItem('theme') === 'light') { }); buttonTheme.className = 'fa-solid fa-star'; } +if (localStorage.getItem('accent_color') === 'pink') { + document.querySelector('body').classList = 'accentPink'; + document.querySelector('#accent-colors .accentPinkSpan').classList.add('selected'); +} else if (localStorage.getItem('accent_color') === 'green') { + document.querySelector('body').classList = 'accentGreen'; + document.querySelector('#accent-colors .accentGreenSpan').classList.add('selected'); +} else if (localStorage.getItem('accent_color') === 'yellow') { + document.querySelector('body').classList = 'accentYellow'; + document.querySelector('#accent-colors .accentYellowSpan').classList.add('selected'); +} else { + document.querySelector('body').classList = 'accentBlue'; + document.querySelector('#accent-colors .accentBlueSpan').classList.add('selected'); +} if (localStorage.getItem('version') === 'hide') document.querySelector('#newVersion').style.display = 'none'; if (localStorage.getItem('sort_notes') === null) localStorage.setItem('sort_notes', '3'); @@ -470,6 +484,29 @@ colors.forEach((span, index) => { if (index === 0) span.classList.add('selected'); }); +accentColors.forEach((span) => { + span.addEventListener('click', (event) => { + accentColors.forEach((e) => e.classList.remove('selected')); + event.target.classList.add('selected'); + if (span.classList.contains('accentPinkSpan')) { + document.querySelector('body').classList = 'accentPink'; + localStorage.setItem('accent_color', 'pink'); + } else if (span.classList.contains('accentGreenSpan')) { + document.querySelector('body').classList = 'accentGreen'; + localStorage.setItem('accent_color', 'green'); + } else if (span.classList.contains('accentYellowSpan')) { + document.querySelector('body').classList = 'accentYellow'; + localStorage.setItem('accent_color', 'yellow'); + } else { + document.querySelector('body').classList = 'accentBlue'; + localStorage.setItem('accent_color', 'blue'); + } + }); + span.addEventListener('keydown', (event) => { + if (event.key === 'Enter') span.click(); + }); +}); + document.querySelectorAll('header i').forEach((e) => { e.addEventListener('click', () => { isUpdate = false; diff --git a/src/assets/js/scriptConnect.js b/src/assets/js/scriptConnect.js index 48cf9b1..d025c72 100644 --- a/src/assets/js/scriptConnect.js +++ b/src/assets/js/scriptConnect.js @@ -14,6 +14,7 @@ const publicNote = document.querySelector('#public-note-popup-box'); const titleNote = noteBox.querySelector('#title'); const contentNote = noteBox.querySelector('#content'); const colors = document.querySelectorAll('#colors span'); +const accentColors = document.querySelectorAll('#accent-colors span'); const forms = document.querySelectorAll('form'); const sideBar = document.querySelector('#sideBar'); const metaTheme = document.querySelectorAll('.themecolor'); @@ -32,6 +33,19 @@ if (localStorage.getItem('theme') === 'light') { }); buttonTheme.className = 'fa-solid fa-star'; } +if (localStorage.getItem('accent_color') === 'pink') { + document.querySelector('body').classList = 'accentPink'; + document.querySelector('#accent-colors .accentPinkSpan').classList.add('selected'); +} else if (localStorage.getItem('accent_color') === 'green') { + document.querySelector('body').classList = 'accentGreen'; + document.querySelector('#accent-colors .accentGreenSpan').classList.add('selected'); +} else if (localStorage.getItem('accent_color') === 'yellow') { + document.querySelector('body').classList = 'accentYellow'; + document.querySelector('#accent-colors .accentYellowSpan').classList.add('selected'); +} else { + document.querySelector('body').classList = 'accentBlue'; + document.querySelector('#accent-colors .accentBlueSpan').classList.add('selected'); +} if (localStorage.getItem('version') === 'hide') document.querySelector('#newVersion').style.display = 'none'; if (localStorage.getItem('sort_notes') === null) localStorage.setItem('sort_notes', '3'); @@ -189,6 +203,10 @@ const showNotes = async () => { paragraph.setAttribute('role', 'button'); titleSpan.classList.add('titleList'); titleSpan.textContent = title; + if (link !== '') { + titleSpan.appendChild(document.createElement('i')); + titleSpan.querySelector('i').classList.add('fa-solid', 'fa-link'); + } dateSpan.classList.add('dateList'); dateSpan.textContent = date; @@ -367,8 +385,7 @@ const noteAccess = (id, link) => { publicNote.classList.add('show'); document.querySelector('#idNotePrivate').value = id; document.querySelector('#linkNotePrivate').value = link; - const baseURL = window.location.href.replace('/en', '').replace('/de', '').replace('/es', ''); - document.querySelector('#copyNoteLink').textContent = `${baseURL}share/${link}/`; + document.querySelector('#copyNoteLink').textContent = `localhost/seguinleo-notes/share/${link}`; publicNote.querySelector('i').focus(); } }; @@ -591,6 +608,29 @@ colors.forEach((span, index) => { if (index === 0) span.classList.add('selected'); }); +accentColors.forEach((span) => { + span.addEventListener('click', (event) => { + accentColors.forEach((e) => e.classList.remove('selected')); + event.target.classList.add('selected'); + if (span.classList.contains('accentPinkSpan')) { + document.querySelector('body').classList = 'accentPink'; + localStorage.setItem('accent_color', 'pink'); + } else if (span.classList.contains('accentGreenSpan')) { + document.querySelector('body').classList = 'accentGreen'; + localStorage.setItem('accent_color', 'green'); + } else if (span.classList.contains('accentYellowSpan')) { + document.querySelector('body').classList = 'accentYellow'; + localStorage.setItem('accent_color', 'yellow'); + } else { + document.querySelector('body').classList = 'accentBlue'; + localStorage.setItem('accent_color', 'blue'); + } + }); + span.addEventListener('keydown', (event) => { + if (event.key === 'Enter') span.click(); + }); +}); + document.querySelector('#copyNoteLink').addEventListener('click', async () => { const link = document.querySelector('#copyNoteLink').textContent; const notification = document.querySelector('#copyNotification'); diff --git a/src/assets/js/showdown.min.js b/src/assets/js/showdown.min.js index 0f04445..e6b9f16 100644 --- a/src/assets/js/showdown.min.js +++ b/src/assets/js/showdown.min.js @@ -1,2 +1,2 @@ /*! showdown v 2.1.0 - 21-04-2022 */ -!function(){function a(e){"use strict";var r={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(r));var t,a={};for(t in r)r.hasOwnProperty(t)&&(a[t]=r[t].defaultValue);return a}var x={},t={},d={},p=a(!0),h="vanilla",_={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e,r=a(!0),t={};for(e in r)r.hasOwnProperty(e)&&(t[e]=!0);return t}()};function g(e,r){"use strict";var t=r?"Error in "+r+" extension->":"Error in unnamed extension",a={valid:!0,error:""};x.helper.isArray(e)||(e=[e]);for(var n=0;n").replace(/&/g,"&")};function u(e,r,t,a){"use strict";var n,s,o,i=-1<(a=a||"").indexOf("g"),l=new RegExp(r+"|"+t,"g"+a.replace(/g/g,"")),c=new RegExp(r,a.replace(/g/g,"")),u=[];do{for(n=0;p=l.exec(e);)if(c.test(p[0]))n++||(o=(s=l.lastIndex)-p[0].length);else if(n&&!--n){var d=p.index+p[0].length,p={left:{start:o,end:s},match:{start:s,end:p.index},right:{start:p.index,end:d},wholeMatch:{start:o,end:d}};if(u.push(p),!i)return u}}while(n&&(l.lastIndex=s));return u}function s(u){"use strict";return function(e,r,t,a,n,s,o){var i=t=t.replace(x.helper.regexes.asteriskDashAndColon,x.helper.escapeCharactersCallback),l="",c="",r=r||"",o=o||"";return/^www\./i.test(t)&&(t=t.replace(/^www\./i,"http://www.")),u.excludeTrailingPunctuationFromURLs&&s&&(l=s),r+'"+i+""+l+o}}function o(n,s){"use strict";return function(e,r,t){var a="mailto:";return r=r||"",t=x.subParser("unescapeSpecialChars")(t,n,s),n.encodeEmails?(a=x.helper.encodeEmailAddress(a+t),t=x.helper.encodeEmailAddress(t)):a+=t,r+''+t+""}}x.helper.matchRecursiveRegExp=function(e,r,t,a){"use strict";for(var n=u(e,r,t,a),s=[],o=0;o>=0,t=String(t||" "),e.length>r?String(e):((r-=e.length)>t.length&&(t+=t.repeat(r/t.length)),String(e)+t.slice(0,r))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),x.helper.regexes={asteriskDashAndColon:/([*_:~])/g},x.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤"},x.Converter=function(e){"use strict";var r,t,n={},i=[],l=[],o={},a=h,s={parsed:{},raw:"",format:""};for(r in e=e||{},p)p.hasOwnProperty(r)&&(n[r]=p[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);function c(e,r){if(r=r||null,x.helper.isString(e)){if(r=e=x.helper.stdExtName(e),x.extensions[e]){console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!");var t=x.extensions[e],a=e;if("function"==typeof t&&(t=t(new x.Converter)),x.helper.isArray(t)||(t=[t]),!(a=g(t,a)).valid)throw Error(a.error);for(var n=0;n[ \t]+¨NBSP;<"),!r){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");r=window.document}for(var r=r.createElement("div"),t=(r.innerHTML=e,{preList:function(e){for(var r=e.querySelectorAll("pre"),t=[],a=0;a'}else t.push(r[a].innerHTML),r[a].innerHTML="",r[a].setAttribute("prenum",a.toString());return t}(r)}),a=(!function e(r){for(var t=0;t? ?(['"].*['"])?\)$/m))a="";else if(!a){if(a="#"+(t=t||r.toLowerCase().replace(/ ?\n/g," ")),x.helper.isUndefined(l.gUrls[t]))return e;a=l.gUrls[t],x.helper.isUndefined(l.gTitles[t])||(o=l.gTitles[t])}return e='"}return e=(e=(e=(e=(e=l.converter._dispatch("anchors.before",e,i,l)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),i.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,t,a,n){if("\\"===t)return r+a;if(!x.helper.isString(i.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");t="";return r+'"+a+""})),e=l.converter._dispatch("anchors.after",e,i,l)});var i=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,l=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,c=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,f=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi;x.subParser("autoLinks",function(e,r,t){"use strict";return e=(e=(e=t.converter._dispatch("autoLinks.before",e,r,t)).replace(c,s(r))).replace(f,o(r,t)),e=t.converter._dispatch("autoLinks.after",e,r,t)}),x.subParser("simplifiedAutoLinks",function(e,r,t){"use strict";return r.simplifiedAutoLink?(e=t.converter._dispatch("simplifiedAutoLinks.before",e,r,t),e=(e=r.excludeTrailingPunctuationFromURLs?e.replace(l,s(r)):e.replace(i,s(r))).replace(m,o(r,t)),t.converter._dispatch("simplifiedAutoLinks.after",e,r,t)):e}),x.subParser("blockGamut",function(e,r,t){"use strict";return e=t.converter._dispatch("blockGamut.before",e,r,t),e=x.subParser("blockQuotes")(e,r,t),e=x.subParser("headers")(e,r,t),e=x.subParser("horizontalRule")(e,r,t),e=x.subParser("lists")(e,r,t),e=x.subParser("codeBlocks")(e,r,t),e=x.subParser("tables")(e,r,t),e=x.subParser("hashHTMLBlocks")(e,r,t),e=x.subParser("paragraphs")(e,r,t),e=t.converter._dispatch("blockGamut.after",e,r,t)}),x.subParser("blockQuotes",function(e,r,t){"use strict";e=t.converter._dispatch("blockQuotes.before",e,r,t);var a=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return r.splitAdjacentBlockquotes&&(a=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=(e+="\n\n").replace(a,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=x.subParser("githubCodeBlocks")(e,r,t),e=(e=(e=x.subParser("blockGamut")(e,r,t)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(e,r){return r.replace(/^  /gm,"¨0").replace(/¨0/g,"")}),x.subParser("hashBlock")("
\n"+e+"\n
",r,t)}),e=t.converter._dispatch("blockQuotes.after",e,r,t)}),x.subParser("codeBlocks",function(e,n,s){"use strict";e=s.converter._dispatch("codeBlocks.before",e,n,s);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,r,t){var a="\n",r=x.subParser("outdent")(r,n,s);return r=x.subParser("encodeCode")(r,n,s),r="
"+(r=(r=(r=x.subParser("detab")(r,n,s)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+(a=n.omitExtraWLInCodeBlocks?"":a)+"
",x.subParser("hashBlock")(r,n,s)+t})).replace(/¨0/,""),e=s.converter._dispatch("codeBlocks.after",e,n,s)}),x.subParser("codeSpans",function(e,n,s){"use strict";return e=(e=void 0===(e=s.converter._dispatch("codeSpans.before",e,n,s))?"":e).replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,t,a){return a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),a=r+""+(a=x.subParser("encodeCode")(a,n,s))+"",a=x.subParser("hashHTMLSpans")(a,n,s)}),e=s.converter._dispatch("codeSpans.after",e,n,s)}),x.subParser("completeHTMLDocument",function(e,r,t){"use strict";if(!r.completeHTMLDocument)return e;e=t.converter._dispatch("completeHTMLDocument.before",e,r,t);var a,n="html",s="\n",o="",i='\n',l="",c="";for(a in void 0!==t.metadata.parsed.doctype&&(s="\n","html"!==(n=t.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='')),t.metadata.parsed)if(t.metadata.parsed.hasOwnProperty(a))switch(a.toLowerCase()){case"doctype":break;case"title":o=""+t.metadata.parsed.title+"\n";break;case"charset":i="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":l=' lang="'+t.metadata.parsed[a]+'"',c+='\n';break;default:c+='\n'}return e=s+"\n\n"+o+i+c+"\n\n"+e.trim()+"\n\n",e=t.converter._dispatch("completeHTMLDocument.after",e,r,t)}),x.subParser("detab",function(e,r,t){"use strict";return e=(e=(e=(e=(e=(e=t.converter._dispatch("detab.before",e,r,t)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,r){for(var t=r,a=4-t.length%4,n=0;n/g,">"),e=t.converter._dispatch("encodeAmpsAndAngles.after",e,r,t)}),x.subParser("encodeBackslashEscapes",function(e,r,t){"use strict";return e=(e=(e=t.converter._dispatch("encodeBackslashEscapes.before",e,r,t)).replace(/\\(\\)/g,x.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,x.helper.escapeCharactersCallback),e=t.converter._dispatch("encodeBackslashEscapes.after",e,r,t)}),x.subParser("encodeCode",function(e,r,t){"use strict";return e=(e=t.converter._dispatch("encodeCode.before",e,r,t)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,x.helper.escapeCharactersCallback),e=t.converter._dispatch("encodeCode.after",e,r,t)}),x.subParser("escapeSpecialCharsWithinTagAttributes",function(e,r,t){"use strict";return e=(e=(e=t.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,r,t)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,x.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,x.helper.escapeCharactersCallback)}),e=t.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,r,t)}),x.subParser("githubCodeBlocks",function(e,s,o){"use strict";return s.ghCodeBlocks?(e=o.converter._dispatch("githubCodeBlocks.before",e,s,o),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,r,t,a){var n=s.omitExtraWLInCodeBlocks?"":"\n";return a=x.subParser("encodeCode")(a,s,o),a="
"+(a=(a=(a=x.subParser("detab")(a,s,o)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+n+"
",a=x.subParser("hashBlock")(a,s,o),"\n\n¨G"+(o.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"})).replace(/¨0/,""),o.converter._dispatch("githubCodeBlocks.after",e,s,o)):e}),x.subParser("hashBlock",function(e,r,t){"use strict";return e=(e=t.converter._dispatch("hashBlock.before",e,r,t)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(t.gHtmlBlocks.push(e)-1)+"K\n\n",e=t.converter._dispatch("hashBlock.after",e,r,t)}),x.subParser("hashCodeTags",function(e,n,s){"use strict";e=s.converter._dispatch("hashCodeTags.before",e,n,s);return e=x.helper.replaceRecursiveRegExp(e,function(e,r,t,a){t=t+x.subParser("encodeCode")(r,n,s)+a;return"¨C"+(s.gHtmlSpans.push(t)-1)+"C"},"]*>","","gim"),e=s.converter._dispatch("hashCodeTags.after",e,n,s)}),x.subParser("hashElement",function(e,r,t){"use strict";return function(e,r){return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(t.gHtmlBlocks.push(r)-1)+"K\n\n"}}),x.subParser("hashHTMLBlocks",function(e,r,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,r,n);function t(e,r,t,a){return-1!==t.search(/\bmarkdown\b/)&&(e=t+n.converter.makeHtml(r)+a),"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}var a=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"];r.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,r){return"<"+r+">"}));for(var s=0;s]*>)","im"),i="<"+a[s]+"\\b[^>]*>",l="";-1!==(c=x.helper.regexIndexOf(e,o));){var c=x.helper.splitAtIndex(e,c),u=x.helper.replaceRecursiveRegExp(c[1],t,i,l,"im");if(u===c[1])break;e=c[0].concat(u)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,x.subParser("hashElement")(e,r,n)),e=(e=x.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,x.subParser("hashElement")(e,r,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,r,n)}),x.subParser("hashHTMLSpans",function(e,r,t){"use strict";function a(e){return"¨C"+(t.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=t.converter._dispatch("hashHTMLSpans.before",e,r,t)).replace(/<[^>]+?\/>/gi,a)).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,a)).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,a)).replace(/<[^>]+?>/gi,a),e=t.converter._dispatch("hashHTMLSpans.after",e,r,t)}),x.subParser("unhashHTMLSpans",function(e,r,t){"use strict";e=t.converter._dispatch("unhashHTMLSpans.before",e,r,t);for(var a=0;a]*>\\s*]*>","^ {0,3}\\s*
","gim"),e=s.converter._dispatch("hashPreCodeTags.after",e,n,s)}),x.subParser("headers",function(e,n,s){"use strict";e=s.converter._dispatch("headers.before",e,n,s);var o=isNaN(parseInt(n.headerLevelStart))?1:parseInt(n.headerLevelStart),r=n.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,t=n.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm,r=(e=(e=e.replace(r,function(e,r){var t=x.subParser("spanGamut")(r,n,s),r=n.noHeaderId?"":' id="'+i(r)+'"',r=""+t+"";return x.subParser("hashBlock")(r,n,s)})).replace(t,function(e,r){var t=x.subParser("spanGamut")(r,n,s),r=n.noHeaderId?"":' id="'+i(r)+'"',a=o+1,r=""+t+"";return x.subParser("hashBlock")(r,n,s)}),n.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm);function i(e){var r=e=n.customizedHeaderId&&(r=e.match(/\{([^{]+?)}\s*$/))&&r[1]?r[1]:e,e=x.helper.isString(n.prefixHeaderId)?n.prefixHeaderId:!0===n.prefixHeaderId?"section-":"";return n.rawPrefixHeaderId||(r=e+r),r=(n.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,""):n.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-"):r.replace(/[^\w]/g,"")).toLowerCase(),n.rawPrefixHeaderId&&(r=e+r),s.hashLinkCounts[r]?r=r+"-"+s.hashLinkCounts[r]++:s.hashLinkCounts[r]=1,r}return e=e.replace(r,function(e,r,t){var a=t,a=(n.customizedHeaderId&&(a=t.replace(/\s?\{([^{]+?)}\s*$/,"")),x.subParser("spanGamut")(a,n,s)),t=n.noHeaderId?"":' id="'+i(t)+'"',r=o-1+r.length,t=""+a+"";return x.subParser("hashBlock")(t,n,s)}),e=s.converter._dispatch("headers.after",e,n,s)}),x.subParser("horizontalRule",function(e,r,t){"use strict";e=t.converter._dispatch("horizontalRule.before",e,r,t);var a=x.subParser("hashBlock")("
",r,t);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,a)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,a)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,a),e=t.converter._dispatch("horizontalRule.after",e,r,t)}),x.subParser("images",function(e,r,d){"use strict";function l(e,r,t,a,n,s,o,i){var l=d.gUrls,c=d.gTitles,u=d.gDimensions;if(t=t.toLowerCase(),i=i||"",-1? ?(['"].*['"])?\)$/m))a="";else if(""===a||null===a){if(a="#"+(t=""!==t&&null!==t?t:r.toLowerCase().replace(/ ?\n/g," ")),x.helper.isUndefined(l[t]))return e;a=l[t],x.helper.isUndefined(c[t])||(i=c[t]),x.helper.isUndefined(u[t])||(n=u[t].width,s=u[t].height)}r=r.replace(/"/g,""").replace(x.helper.regexes.asteriskDashAndColon,x.helper.escapeCharactersCallback);e=''+r+'"}return e=(e=(e=(e=(e=(e=d.converter._dispatch("images.before",e,r,d)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,l)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,r,t,a,n,s,o,i){return l(e,r,t,a=a.replace(/\s/g,""),n,s,0,i)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,l)).replace(/!\[([^\[\]]+)]()()()()()/g,l),e=d.converter._dispatch("images.after",e,r,d)}),x.subParser("italicsAndBold",function(e,r,t){"use strict";return e=t.converter._dispatch("italicsAndBold.before",e,r,t),e=r.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return""+r+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return""+r+""})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,r){return""+r+""}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,r){return/\S$/.test(r)?""+r+"":e}),e=r.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,r,t){return r+""+t+""})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,r,t){return r+""+t+""})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,r,t){return r+""+t+""}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,r){return/\S$/.test(r)?""+r+"":e}),e=t.converter._dispatch("italicsAndBold.after",e,r,t)}),x.subParser("lists",function(e,d,c){"use strict";function p(e,r){c.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var t=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,l=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return d.disableForced4SpacesIndentedSublists&&(t=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(t,function(e,r,t,a,n,s,o){o=o&&""!==o.trim();var n=x.subParser("outdent")(n,d,c),i="";return s&&d.tasklists&&(i=' class="task-list-item"',n=n.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='"+(n=(n=r||-1\n"})).replace(/¨0/g,""),c.gListLevel--,e=r?e.replace(/\s+$/,""):e}function h(e,r){if("ol"===r){r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function n(n,s,o){var e,i=d.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=d.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===s?i:l,u="";return-1!==n.search(c)?function e(r){var t=r.search(c),a=h(n,s);-1!==t?(u+="\n\n<"+s+a+">\n"+p(r.slice(0,t),!!o)+"\n",c="ul"===(s="ul"===s?"ol":"ul")?i:l,e(r.slice(t))):u+="\n\n<"+s+a+">\n"+p(r,!!o)+"\n"}(n):(e=h(n,s),u="\n\n<"+s+e+">\n"+p(n,!!o)+"\n"),u}return e=c.converter._dispatch("lists.before",e,d,c),e+="¨0",e=(e=c.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t){return n(r,-1"),i+="

",n.push(i))}for(s=n.length,o=0;o]*>\s*]*>/.test(c)&&(u=!0)}n[o]=c}return e=(e=(e=n.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.converter._dispatch("paragraphs.after",e,r,t)}),x.subParser("runExtension",function(e,r,t,a){"use strict";return e.filter?r=e.filter(r,a.converter,t):e.regex&&((a=e.regex)instanceof RegExp||(a=new RegExp(a,"g")),r=r.replace(a,e.replace)),r}),x.subParser("spanGamut",function(e,r,t){"use strict";return e=t.converter._dispatch("spanGamut.before",e,r,t),e=x.subParser("codeSpans")(e,r,t),e=x.subParser("escapeSpecialCharsWithinTagAttributes")(e,r,t),e=x.subParser("encodeBackslashEscapes")(e,r,t),e=x.subParser("images")(e,r,t),e=x.subParser("anchors")(e,r,t),e=x.subParser("autoLinks")(e,r,t),e=x.subParser("simplifiedAutoLinks")(e,r,t),e=x.subParser("emoji")(e,r,t),e=x.subParser("underline")(e,r,t),e=x.subParser("italicsAndBold")(e,r,t),e=x.subParser("strikethrough")(e,r,t),e=x.subParser("ellipsis")(e,r,t),e=x.subParser("hashHTMLSpans")(e,r,t),e=x.subParser("encodeAmpsAndAngles")(e,r,t),r.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=t.converter._dispatch("spanGamut.after",e,r,t)}),x.subParser("strikethrough",function(e,t,a){"use strict";return t.strikethrough&&(e=(e=a.converter._dispatch("strikethrough.before",e,t,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return r=r,""+(r=t.simplifiedAutoLink?x.subParser("simplifiedAutoLinks")(r,t,a):r)+""}),e=a.converter._dispatch("strikethrough.after",e,t,a)),e}),x.subParser("stripLinkDefinitions",function(i,l,c){"use strict";function e(e,r,t,a,n,s,o){return r=r.toLowerCase(),i.toLowerCase().split(r).length-1<2?e:(t.match(/^data:.+?\/.+?;base64,/)?c.gUrls[r]=t.replace(/\s/g,""):c.gUrls[r]=x.subParser("encodeAmpsAndAngles")(t,l,c),s?s+o:(o&&(c.gTitles[r]=o.replace(/"|'/g,""")),l.parseImgDimensions&&a&&n&&(c.gDimensions[r]={width:a,height:n}),""))}return i=(i=(i=(i+="¨0").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,e)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,e)).replace(/¨0/,"")}),x.subParser("tables",function(e,y,P){"use strict";if(!y.tables)return e;function r(e){for(var r=e.split("\n"),t=0;t"+(n=x.subParser("spanGamut")(n,y,P))+"\n"));for(t=0;t"+x.subParser("spanGamut")(i,y,P)+"\n"));h.push(_)}for(var m=d,f=h,b="\n\n\n",w=m.length,k=0;k\n\n\n",k=0;k\n";for(var v=0;v\n"}return b+="\n
\n"}return e=(e=(e=(e=P.converter._dispatch("tables.before",e,y,P)).replace(/\\(\|)/g,x.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,r)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,r),e=P.converter._dispatch("tables.after",e,y,P)}),x.subParser("underline",function(e,r,t){"use strict";return r.underline?(e=t.converter._dispatch("underline.before",e,r,t),e=(e=r.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return""+r+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return""+r+""}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/(_)/g,x.helper.escapeCharactersCallback),t.converter._dispatch("underline.after",e,r,t)):e}),x.subParser("unescapeSpecialChars",function(e,r,t){"use strict";return e=(e=t.converter._dispatch("unescapeSpecialChars.before",e,r,t)).replace(/¨E(\d+)E/g,function(e,r){r=parseInt(r);return String.fromCharCode(r)}),e=t.converter._dispatch("unescapeSpecialChars.after",e,r,t)}),x.subParser("makeMarkdown.blockquote",function(e,r){"use strict";var t="";if(e.hasChildNodes())for(var a=e.childNodes,n=a.length,s=0;s ")}),x.subParser("makeMarkdown.codeBlock",function(e,r){"use strict";var t=e.getAttribute("language"),e=e.getAttribute("precodenum");return"```"+t+"\n"+r.preList[e]+"\n```"}),x.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),x.subParser("makeMarkdown.emphasis",function(e,r){"use strict";var t="";if(e.hasChildNodes()){t+="*";for(var a=e.childNodes,n=a.length,s=0;s",e.hasAttribute("width")&&e.hasAttribute("height")&&(r+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"),r}),x.subParser("makeMarkdown.links",function(e,r){"use strict";var t="";if(e.hasChildNodes()&&e.hasAttribute("href")){for(var a=e.childNodes,n=a.length,t="[",s=0;s"),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"}return t}),x.subParser("makeMarkdown.list",function(e,r,t){"use strict";var a="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,s=n.length,o=e.getAttribute("start")||1,i=0;i"+r.preList[e]+""}),x.subParser("makeMarkdown.strikethrough",function(e,r){"use strict";var t="";if(e.hasChildNodes()){t+="~~";for(var a=e.childNodes,n=a.length,s=0;str>th"),s=e.querySelectorAll("tbody>tr"),o=0;o/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});"function"==typeof define&&define.amd?define(function(){"use strict";return x}):"undefined"!=typeof module&&module.exports?module.exports=x:this.showdown=x}.call(this); +!function(){function a(e){"use strict";var r={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(r));var t,a={};for(t in r)r.hasOwnProperty(t)&&(a[t]=r[t].defaultValue);return a}var x={},t={},d={},p=a(!0),h="vanilla",_={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e,r=a(!0),t={};for(e in r)r.hasOwnProperty(e)&&(t[e]=!0);return t}()};function g(e,r){"use strict";var t=r?"Error in "+r+" extension->":"Error in unnamed extension",a={valid:!0,error:""};x.helper.isArray(e)||(e=[e]);for(var n=0;n").replace(/&/g,"&")};function u(e,r,t,a){"use strict";var n,s,o,i=-1<(a=a||"").indexOf("g"),l=new RegExp(r+"|"+t,"g"+a.replace(/g/g,"")),c=new RegExp(r,a.replace(/g/g,"")),u=[];do{for(n=0;p=l.exec(e);)if(c.test(p[0]))n++||(o=(s=l.lastIndex)-p[0].length);else if(n&&!--n){var d=p.index+p[0].length,p={left:{start:o,end:s},match:{start:s,end:p.index},right:{start:p.index,end:d},wholeMatch:{start:o,end:d}};if(u.push(p),!i)return u}}while(n&&(l.lastIndex=s));return u}function s(u){"use strict";return function(e,r,t,a,n,s,o){var i=t=t.replace(x.helper.regexes.asteriskDashAndColon,x.helper.escapeCharactersCallback),l="",c="",r=r||"",o=o||"";return/^www\./i.test(t)&&(t=t.replace(/^www\./i,"http://www.")),u.excludeTrailingPunctuationFromURLs&&s&&(l=s),r+'"+i+""+l+o}}function o(n,s){"use strict";return function(e,r,t){var a="mailto:";return r=r||"",t=x.subParser("unescapeSpecialChars")(t,n,s),n.encodeEmails?(a=x.helper.encodeEmailAddress(a+t),t=x.helper.encodeEmailAddress(t)):a+=t,r+''+t+""}}x.helper.matchRecursiveRegExp=function(e,r,t,a){"use strict";for(var n=u(e,r,t,a),s=[],o=0;o>=0,t=String(t||" "),e.length>r?String(e):((r-=e.length)>t.length&&(t+=t.repeat(r/t.length)),String(e)+t.slice(0,r))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),x.helper.regexes={asteriskDashAndColon:/([*_:~])/g},x.Converter=function(e){"use strict";var r,t,n={},i=[],l=[],o={},a=h,s={parsed:{},raw:"",format:""};for(r in e=e||{},p)p.hasOwnProperty(r)&&(n[r]=p[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);function c(e,r){if(r=r||null,x.helper.isString(e)){if(r=e=x.helper.stdExtName(e),x.extensions[e]){console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!");var t=x.extensions[e],a=e;if("function"==typeof t&&(t=t(new x.Converter)),x.helper.isArray(t)||(t=[t]),!(a=g(t,a)).valid)throw Error(a.error);for(var n=0;n[ \t]+¨NBSP;<"),!r){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");r=window.document}for(var r=r.createElement("div"),t=(r.innerHTML=e,{preList:function(e){for(var r=e.querySelectorAll("pre"),t=[],a=0;a'}else t.push(r[a].innerHTML),r[a].innerHTML="",r[a].setAttribute("prenum",a.toString());return t}(r)}),a=(!function e(r){for(var t=0;t? ?(['"].*['"])?\)$/m))a="";else if(!a){if(a="#"+(t=t||r.toLowerCase().replace(/ ?\n/g," ")),x.helper.isUndefined(l.gUrls[t]))return e;a=l.gUrls[t],x.helper.isUndefined(l.gTitles[t])||(o=l.gTitles[t])}return e='"}return e=(e=(e=(e=(e=l.converter._dispatch("anchors.before",e,i,l)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),i.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,t,a,n){if("\\"===t)return r+a;if(!x.helper.isString(i.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");t="";return r+'"+a+""})),e=l.converter._dispatch("anchors.after",e,i,l)});var i=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,l=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,c=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,f=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi;x.subParser("autoLinks",function(e,r,t){"use strict";return e=(e=(e=t.converter._dispatch("autoLinks.before",e,r,t)).replace(c,s(r))).replace(f,o(r,t)),e=t.converter._dispatch("autoLinks.after",e,r,t)}),x.subParser("simplifiedAutoLinks",function(e,r,t){"use strict";return r.simplifiedAutoLink?(e=t.converter._dispatch("simplifiedAutoLinks.before",e,r,t),e=(e=r.excludeTrailingPunctuationFromURLs?e.replace(l,s(r)):e.replace(i,s(r))).replace(m,o(r,t)),t.converter._dispatch("simplifiedAutoLinks.after",e,r,t)):e}),x.subParser("blockGamut",function(e,r,t){"use strict";return e=t.converter._dispatch("blockGamut.before",e,r,t),e=x.subParser("blockQuotes")(e,r,t),e=x.subParser("headers")(e,r,t),e=x.subParser("horizontalRule")(e,r,t),e=x.subParser("lists")(e,r,t),e=x.subParser("codeBlocks")(e,r,t),e=x.subParser("tables")(e,r,t),e=x.subParser("hashHTMLBlocks")(e,r,t),e=x.subParser("paragraphs")(e,r,t),e=t.converter._dispatch("blockGamut.after",e,r,t)}),x.subParser("blockQuotes",function(e,r,t){"use strict";e=t.converter._dispatch("blockQuotes.before",e,r,t);var a=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return r.splitAdjacentBlockquotes&&(a=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=(e+="\n\n").replace(a,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=x.subParser("githubCodeBlocks")(e,r,t),e=(e=(e=x.subParser("blockGamut")(e,r,t)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(e,r){return r.replace(/^  /gm,"¨0").replace(/¨0/g,"")}),x.subParser("hashBlock")("
\n"+e+"\n
",r,t)}),e=t.converter._dispatch("blockQuotes.after",e,r,t)}),x.subParser("codeBlocks",function(e,n,s){"use strict";e=s.converter._dispatch("codeBlocks.before",e,n,s);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,r,t){var a="\n",r=x.subParser("outdent")(r,n,s);return r=x.subParser("encodeCode")(r,n,s),r="
"+(r=(r=(r=x.subParser("detab")(r,n,s)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+(a=n.omitExtraWLInCodeBlocks?"":a)+"
",x.subParser("hashBlock")(r,n,s)+t})).replace(/¨0/,""),e=s.converter._dispatch("codeBlocks.after",e,n,s)}),x.subParser("codeSpans",function(e,n,s){"use strict";return e=(e=void 0===(e=s.converter._dispatch("codeSpans.before",e,n,s))?"":e).replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,t,a){return a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),a=r+""+(a=x.subParser("encodeCode")(a,n,s))+"",a=x.subParser("hashHTMLSpans")(a,n,s)}),e=s.converter._dispatch("codeSpans.after",e,n,s)}),x.subParser("completeHTMLDocument",function(e,r,t){"use strict";if(!r.completeHTMLDocument)return e;e=t.converter._dispatch("completeHTMLDocument.before",e,r,t);var a,n="html",s="\n",o="",i='\n',l="",c="";for(a in void 0!==t.metadata.parsed.doctype&&(s="\n","html"!==(n=t.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='')),t.metadata.parsed)if(t.metadata.parsed.hasOwnProperty(a))switch(a.toLowerCase()){case"doctype":break;case"title":o=""+t.metadata.parsed.title+"\n";break;case"charset":i="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":l=' lang="'+t.metadata.parsed[a]+'"',c+='\n';break;default:c+='\n'}return e=s+"\n\n"+o+i+c+"\n\n"+e.trim()+"\n\n",e=t.converter._dispatch("completeHTMLDocument.after",e,r,t)}),x.subParser("detab",function(e,r,t){"use strict";return e=(e=(e=(e=(e=(e=t.converter._dispatch("detab.before",e,r,t)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,r){for(var t=r,a=4-t.length%4,n=0;n/g,">"),e=t.converter._dispatch("encodeAmpsAndAngles.after",e,r,t)}),x.subParser("encodeBackslashEscapes",function(e,r,t){"use strict";return e=(e=(e=t.converter._dispatch("encodeBackslashEscapes.before",e,r,t)).replace(/\\(\\)/g,x.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,x.helper.escapeCharactersCallback),e=t.converter._dispatch("encodeBackslashEscapes.after",e,r,t)}),x.subParser("encodeCode",function(e,r,t){"use strict";return e=(e=t.converter._dispatch("encodeCode.before",e,r,t)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,x.helper.escapeCharactersCallback),e=t.converter._dispatch("encodeCode.after",e,r,t)}),x.subParser("escapeSpecialCharsWithinTagAttributes",function(e,r,t){"use strict";return e=(e=(e=t.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,r,t)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,x.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,x.helper.escapeCharactersCallback)}),e=t.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,r,t)}),x.subParser("githubCodeBlocks",function(e,s,o){"use strict";return s.ghCodeBlocks?(e=o.converter._dispatch("githubCodeBlocks.before",e,s,o),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,r,t,a){var n=s.omitExtraWLInCodeBlocks?"":"\n";return a=x.subParser("encodeCode")(a,s,o),a="
"+(a=(a=(a=x.subParser("detab")(a,s,o)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+n+"
",a=x.subParser("hashBlock")(a,s,o),"\n\n¨G"+(o.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"})).replace(/¨0/,""),o.converter._dispatch("githubCodeBlocks.after",e,s,o)):e}),x.subParser("hashBlock",function(e,r,t){"use strict";return e=(e=t.converter._dispatch("hashBlock.before",e,r,t)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(t.gHtmlBlocks.push(e)-1)+"K\n\n",e=t.converter._dispatch("hashBlock.after",e,r,t)}),x.subParser("hashCodeTags",function(e,n,s){"use strict";e=s.converter._dispatch("hashCodeTags.before",e,n,s);return e=x.helper.replaceRecursiveRegExp(e,function(e,r,t,a){t=t+x.subParser("encodeCode")(r,n,s)+a;return"¨C"+(s.gHtmlSpans.push(t)-1)+"C"},"]*>","","gim"),e=s.converter._dispatch("hashCodeTags.after",e,n,s)}),x.subParser("hashElement",function(e,r,t){"use strict";return function(e,r){return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(t.gHtmlBlocks.push(r)-1)+"K\n\n"}}),x.subParser("hashHTMLBlocks",function(e,r,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,r,n);function t(e,r,t,a){return-1!==t.search(/\bmarkdown\b/)&&(e=t+n.converter.makeHtml(r)+a),"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}var a=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"];r.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,r){return"<"+r+">"}));for(var s=0;s]*>)","im"),i="<"+a[s]+"\\b[^>]*>",l="";-1!==(c=x.helper.regexIndexOf(e,o));){var c=x.helper.splitAtIndex(e,c),u=x.helper.replaceRecursiveRegExp(c[1],t,i,l,"im");if(u===c[1])break;e=c[0].concat(u)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,x.subParser("hashElement")(e,r,n)),e=(e=x.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,x.subParser("hashElement")(e,r,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,r,n)}),x.subParser("hashHTMLSpans",function(e,r,t){"use strict";function a(e){return"¨C"+(t.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=t.converter._dispatch("hashHTMLSpans.before",e,r,t)).replace(/<[^>]+?\/>/gi,a)).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,a)).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,a)).replace(/<[^>]+?>/gi,a),e=t.converter._dispatch("hashHTMLSpans.after",e,r,t)}),x.subParser("unhashHTMLSpans",function(e,r,t){"use strict";e=t.converter._dispatch("unhashHTMLSpans.before",e,r,t);for(var a=0;a]*>\\s*]*>","^ {0,3}\\s*
","gim"),e=s.converter._dispatch("hashPreCodeTags.after",e,n,s)}),x.subParser("headers",function(e,n,s){"use strict";e=s.converter._dispatch("headers.before",e,n,s);var o=isNaN(parseInt(n.headerLevelStart))?1:parseInt(n.headerLevelStart),r=n.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,t=n.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm,r=(e=(e=e.replace(r,function(e,r){var t=x.subParser("spanGamut")(r,n,s),r=n.noHeaderId?"":' id="'+i(r)+'"',r=""+t+"";return x.subParser("hashBlock")(r,n,s)})).replace(t,function(e,r){var t=x.subParser("spanGamut")(r,n,s),r=n.noHeaderId?"":' id="'+i(r)+'"',a=o+1,r=""+t+"";return x.subParser("hashBlock")(r,n,s)}),n.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm);function i(e){var r=e=n.customizedHeaderId&&(r=e.match(/\{([^{]+?)}\s*$/))&&r[1]?r[1]:e,e=x.helper.isString(n.prefixHeaderId)?n.prefixHeaderId:!0===n.prefixHeaderId?"section-":"";return n.rawPrefixHeaderId||(r=e+r),r=(n.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,""):n.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-"):r.replace(/[^\w]/g,"")).toLowerCase(),n.rawPrefixHeaderId&&(r=e+r),s.hashLinkCounts[r]?r=r+"-"+s.hashLinkCounts[r]++:s.hashLinkCounts[r]=1,r}return e=e.replace(r,function(e,r,t){var a=t,a=(n.customizedHeaderId&&(a=t.replace(/\s?\{([^{]+?)}\s*$/,"")),x.subParser("spanGamut")(a,n,s)),t=n.noHeaderId?"":' id="'+i(t)+'"',r=o-1+r.length,t=""+a+"";return x.subParser("hashBlock")(t,n,s)}),e=s.converter._dispatch("headers.after",e,n,s)}),x.subParser("horizontalRule",function(e,r,t){"use strict";e=t.converter._dispatch("horizontalRule.before",e,r,t);var a=x.subParser("hashBlock")("
",r,t);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,a)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,a)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,a),e=t.converter._dispatch("horizontalRule.after",e,r,t)}),x.subParser("images",function(e,r,d){"use strict";function l(e,r,t,a,n,s,o,i){var l=d.gUrls,c=d.gTitles,u=d.gDimensions;if(t=t.toLowerCase(),i=i||"",-1? ?(['"].*['"])?\)$/m))a="";else if(""===a||null===a){if(a="#"+(t=""!==t&&null!==t?t:r.toLowerCase().replace(/ ?\n/g," ")),x.helper.isUndefined(l[t]))return e;a=l[t],x.helper.isUndefined(c[t])||(i=c[t]),x.helper.isUndefined(u[t])||(n=u[t].width,s=u[t].height)}r=r.replace(/"/g,""").replace(x.helper.regexes.asteriskDashAndColon,x.helper.escapeCharactersCallback);e=''+r+'"}return e=(e=(e=(e=(e=(e=d.converter._dispatch("images.before",e,r,d)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,l)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,r,t,a,n,s,o,i){return l(e,r,t,a=a.replace(/\s/g,""),n,s,0,i)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,l)).replace(/!\[([^\[\]]+)]()()()()()/g,l),e=d.converter._dispatch("images.after",e,r,d)}),x.subParser("italicsAndBold",function(e,r,t){"use strict";return e=t.converter._dispatch("italicsAndBold.before",e,r,t),e=r.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return""+r+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return""+r+""})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,r){return""+r+""}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/ _([^\s_][\s\S]*?)_/g,function(e,r){return/\S$/.test(r)?""+r+"":e}),e=r.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,r,t){return r+""+t+""})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,r,t){return r+""+t+""})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,r,t){return r+""+t+""}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,r){return/\S$/.test(r)?""+r+"":e}),e=t.converter._dispatch("italicsAndBold.after",e,r,t)}),x.subParser("lists",function(e,d,c){"use strict";function p(e,r){c.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var t=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,l=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return d.disableForced4SpacesIndentedSublists&&(t=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(t,function(e,r,t,a,n,s,o){o=o&&""!==o.trim();var n=x.subParser("outdent")(n,d,c),i="";return s&&d.tasklists&&(i=' class="task-list-item"',n=n.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='"+(n=(n=r||-1\n"})).replace(/¨0/g,""),c.gListLevel--,e=r?e.replace(/\s+$/,""):e}function h(e,r){if("ol"===r){r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function n(n,s,o){var e,i=d.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=d.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===s?i:l,u="";return-1!==n.search(c)?function e(r){var t=r.search(c),a=h(n,s);-1!==t?(u+="\n\n<"+s+a+">\n"+p(r.slice(0,t),!!o)+"\n",c="ul"===(s="ul"===s?"ol":"ul")?i:l,e(r.slice(t))):u+="\n\n<"+s+a+">\n"+p(r,!!o)+"\n"}(n):(e=h(n,s),u="\n\n<"+s+e+">\n"+p(n,!!o)+"\n"),u}return e=c.converter._dispatch("lists.before",e,d,c),e+="¨0",e=(e=c.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t){return n(r,-1"),i+="

",n.push(i))}for(s=n.length,o=0;o]*>\s*]*>/.test(c)&&(u=!0)}n[o]=c}return e=(e=(e=n.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.converter._dispatch("paragraphs.after",e,r,t)}),x.subParser("runExtension",function(e,r,t,a){"use strict";return e.filter?r=e.filter(r,a.converter,t):e.regex&&((a=e.regex)instanceof RegExp||(a=new RegExp(a,"g")),r=r.replace(a,e.replace)),r}),x.subParser("spanGamut",function(e,r,t){"use strict";return e=t.converter._dispatch("spanGamut.before",e,r,t),e=x.subParser("codeSpans")(e,r,t),e=x.subParser("escapeSpecialCharsWithinTagAttributes")(e,r,t),e=x.subParser("encodeBackslashEscapes")(e,r,t),e=x.subParser("images")(e,r,t),e=x.subParser("anchors")(e,r,t),e=x.subParser("autoLinks")(e,r,t),e=x.subParser("simplifiedAutoLinks")(e,r,t),e=x.subParser("emoji")(e,r,t),e=x.subParser("underline")(e,r,t),e=x.subParser("italicsAndBold")(e,r,t),e=x.subParser("strikethrough")(e,r,t),e=x.subParser("ellipsis")(e,r,t),e=x.subParser("hashHTMLSpans")(e,r,t),e=x.subParser("encodeAmpsAndAngles")(e,r,t),r.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=t.converter._dispatch("spanGamut.after",e,r,t)}),x.subParser("strikethrough",function(e,t,a){"use strict";return t.strikethrough&&(e=(e=a.converter._dispatch("strikethrough.before",e,t,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return r=r,""+(r=t.simplifiedAutoLink?x.subParser("simplifiedAutoLinks")(r,t,a):r)+""}),e=a.converter._dispatch("strikethrough.after",e,t,a)),e}),x.subParser("stripLinkDefinitions",function(i,l,c){"use strict";function e(e,r,t,a,n,s,o){return r=r.toLowerCase(),i.toLowerCase().split(r).length-1<2?e:(t.match(/^data:.+?\/.+?;base64,/)?c.gUrls[r]=t.replace(/\s/g,""):c.gUrls[r]=x.subParser("encodeAmpsAndAngles")(t,l,c),s?s+o:(o&&(c.gTitles[r]=o.replace(/"|'/g,""")),l.parseImgDimensions&&a&&n&&(c.gDimensions[r]={width:a,height:n}),""))}return i=(i=(i=(i+="¨0").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,e)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,e)).replace(/¨0/,"")}),x.subParser("tables",function(e,y,P){"use strict";if(!y.tables)return e;function r(e){for(var r=e.split("\n"),t=0;t"+(n=x.subParser("spanGamut")(n,y,P))+"\n"));for(t=0;t"+x.subParser("spanGamut")(i,y,P)+"\n"));h.push(_)}for(var m=d,f=h,b="\n\n\n",w=m.length,k=0;k\n\n\n",k=0;k\n";for(var v=0;v\n"}return b+="\n
\n"}return e=(e=(e=(e=P.converter._dispatch("tables.before",e,y,P)).replace(/\\(\|)/g,x.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,r)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,r),e=P.converter._dispatch("tables.after",e,y,P)}),x.subParser("underline",function(e,r,t){"use strict";return r.underline?(e=t.converter._dispatch("underline.before",e,r,t),e=(e=r.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return""+r+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return""+r+""}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?""+r+"":e})).replace(/(_)/g,x.helper.escapeCharactersCallback),t.converter._dispatch("underline.after",e,r,t)):e}),x.subParser("unescapeSpecialChars",function(e,r,t){"use strict";return e=(e=t.converter._dispatch("unescapeSpecialChars.before",e,r,t)).replace(/¨E(\d+)E/g,function(e,r){r=parseInt(r);return String.fromCharCode(r)}),e=t.converter._dispatch("unescapeSpecialChars.after",e,r,t)}),x.subParser("makeMarkdown.blockquote",function(e,r){"use strict";var t="";if(e.hasChildNodes())for(var a=e.childNodes,n=a.length,s=0;s ")}),x.subParser("makeMarkdown.codeBlock",function(e,r){"use strict";var t=e.getAttribute("language"),e=e.getAttribute("precodenum");return"```"+t+"\n"+r.preList[e]+"\n```"}),x.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),x.subParser("makeMarkdown.emphasis",function(e,r){"use strict";var t="";if(e.hasChildNodes()){t+="*";for(var a=e.childNodes,n=a.length,s=0;s",e.hasAttribute("width")&&e.hasAttribute("height")&&(r+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"),r}),x.subParser("makeMarkdown.links",function(e,r){"use strict";var t="";if(e.hasChildNodes()&&e.hasAttribute("href")){for(var a=e.childNodes,n=a.length,t="[",s=0;s"),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"}return t}),x.subParser("makeMarkdown.list",function(e,r,t){"use strict";var a="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,s=n.length,o=e.getAttribute("start")||1,i=0;i"+r.preList[e]+""}),x.subParser("makeMarkdown.strikethrough",function(e,r){"use strict";var t="";if(e.hasChildNodes()){t+="~~";for(var a=e.childNodes,n=a.length,s=0;str>th"),s=e.querySelectorAll("tbody>tr"),o=0;o/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});"function"==typeof define&&define.amd?define(function(){"use strict";return x}):"undefined"!=typeof module&&module.exports?module.exports=x:this.showdown=x}.call(this); diff --git a/src/assets/php/getSharedNote.php b/src/assets/php/getSharedNote.php index 83d8b25..e8a576e 100644 --- a/src/assets/php/getSharedNote.php +++ b/src/assets/php/getSharedNote.php @@ -29,14 +29,13 @@ $encryption = new Encryption\Encryption(); try { - $query = $PDO->prepare("SELECT title,content,dateNote,color FROM notes WHERE link=:NoteLink LIMIT 1"); + $query = $PDO->prepare("SELECT title,content,dateNote FROM notes WHERE link=:NoteLink LIMIT 1"); $query->execute([':NoteLink' => $noteLink]); $row = $query->fetch(); $items[] = [ 'title' => $encryption->decryptData($row['title'], $key), 'content' => $encryption->decryptData($row['content'], $key), - 'date' => $row['dateNote'], - 'color' => $row['color'] + 'date' => $row['dateNote'] ]; } catch (Exception $e) { http_response_code(404); diff --git a/src/assets/php/publicNote.php b/src/assets/php/publicNote.php index 65f728c..0d0e78b 100644 --- a/src/assets/php/publicNote.php +++ b/src/assets/php/publicNote.php @@ -44,7 +44,7 @@ $indexContent = << - + diff --git a/src/assets/sass/style.scss b/src/assets/sass/style.scss index ef63005..219f194 100644 --- a/src/assets/sass/style.scss +++ b/src/assets/sass/style.scss @@ -1,15 +1,11 @@ -$color01: #000000; -$color02: #171717; -$color03: #c6c6c6; -$color04: #8ab4f8; -$color05: #9ec3ff; -$color06: #2b5790; -$color07: #34629f; -$color08: #ffffff; -$color09: #eeeeee; -$color10: #1c1936; -$color11: #272342; -$color12: #cecbe3; +$color1: #000000; +$color2: #171717; +$color3: #c6c6c6; +$color4: #ffffff; +$color5: #eeeeee; +$color6: #1c1936; +$color7: #272342; +$color8: #cecbe3; @keyframes slide-left { 0% { @@ -50,7 +46,7 @@ $color12: #cecbe3; html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; - scrollbar-color: rgba(100, 100, 125, 50%) rgba(0, 0, 0, 0); + scrollbar-color: rgba(100, 100, 100, 50%) rgba(0, 0, 0, 0); font-family: OpenSans, sans-serif; } @@ -60,7 +56,7 @@ html { } ::-webkit-scrollbar-thumb { - background: rgba(100, 100, 125, 50%); + background: rgba(100, 100, 100, 50%); } ::-webkit-scrollbar { @@ -87,17 +83,17 @@ h3 { table { border-collapse: collapse; text-align: center; - border: 1px solid $color01; + border: 1px solid $color1; margin: 10px 0; thead { - background: rgba(100, 100, 125, 20%); + background: rgba(100, 100, 100, 20%); } th, td { padding: 4px 8px; - border: 1px solid $color01; + border: 1px solid $color1; } } @@ -112,6 +108,12 @@ kbd { font-size: .8rem; font-weight: 700; padding: 2px 4px; + box-shadow: 1px 1px 3px rgba(0, 0, 0, 20%); +} + +blockquote { + border-left: 3px solid rgba(100, 100, 100, 50%); + padding-left: 10px; } header { @@ -128,17 +130,21 @@ header { transition: .1s; &:hover { - background: rgba(100, 100, 125, 20%); + background: rgba(100, 100, 100, 20%); } } } +pre { + margin: 10px auto; +} + pre, code { - background: #383a59; - color: #8be9fd; - border-radius: 5px; - padding: 0 2px; + background: #000000; + color: #ffffff; + border-radius: 4px; + padding: 4px; white-space: break-spaces; } @@ -259,7 +265,7 @@ main { &:hover, &:focus { outline: none; - background: rgba(100, 100, 125, 20%); + background: rgba(100, 100, 100, 20%); .titleList { display: none; @@ -271,7 +277,7 @@ main { } .category { - background: rgba(100, 100, 125, 20%); + background: rgba(100, 100, 100, 20%); padding: 4px 8px; margin: 0 8px 0 0; border-radius: 24px; @@ -279,6 +285,7 @@ main { .titleList { display: inline-flex; + align-items: baseline; } .dateList { @@ -301,7 +308,7 @@ main { height: 20vh; width: 4px; border-radius: 5px; - background: rgba(100, 100, 125, 50%); + background: rgba(100, 100, 100, 50%); left: 4px; top: 50%; transform: translate(-50%, -50%); @@ -332,12 +339,25 @@ input[type="password"]:disabled { input[type="radio"], input[type="checkbox"] { margin-right: 10px; + vertical-align: middle; } input[type="checkbox"] { pointer-events: none; } +input[type="text"], +input[type="password"], +textarea { + &:focus { + outline: 2px solid rgba(100, 100, 100, 50%); + } +} + +.task-list-item input[type="checkbox"]:checked+label { + text-decoration: line-through; +} + select, option { font-family: Arial, sans-serif; @@ -377,11 +397,10 @@ form { position: relative; display: flex; flex-direction: column; - justify-content: space-between; border-radius: 1rem; clip-path: polygon(1rem 0, 100% 0, 100% 100%, 0 100%, 0 1rem); transition: clip-path .4s; - width: 350px; + max-width: 50vw; line-height: 2; padding: 10px 1rem; @@ -411,11 +430,9 @@ form { transform: translate(-100%, -100%); } - &:focus-within { - .bottom-content { - visibility: visible; - opacity: 1; - } + &:focus-within .bottom-content { + visibility: visible; + opacity: 1; } .title { @@ -469,7 +486,7 @@ form { transition: .1s; &:hover { - background: rgba(100, 100, 125, 20%); + background: rgba(100, 100, 100, 20%); } } } @@ -488,6 +505,7 @@ form { position: fixed; z-index: 3; width: 100vw; + max-width: 100vw; min-height: 100vh; margin: auto; inset: 0; @@ -495,6 +513,7 @@ form { .title { text-align: center; + margin-bottom: 1rem; } .details { @@ -510,10 +529,11 @@ button { border-radius: 10px; } -#colors { +#colors, +#accent-colors { display: flex; - justify-content: center; - min-height: 26px; + align-items: center; + min-height: 30px; span { width: 20px; @@ -525,11 +545,15 @@ button { } span.selected { - width: 26px; - height: 26px; + width: 28px; + height: 28px; } } +#colors { + justify-content: center; +} + #connect-box, #create-box, #manage-popup-box, @@ -615,10 +639,8 @@ button { width: 0; height: 0; - &:checked+.slider { - &:before { - left: 2rem; - } + &:checked+.slider:before { + left: 2rem; } &:disabled+.slider { @@ -649,14 +671,10 @@ button { margin: 0 5px; } -.fa-eye-slash { - margin: 10px; -} - #newVersion { -webkit-user-select: none; user-select: none; - border: 2px dashed rgba(100, 100, 125, 20%); + border: 2px dashed rgba(100, 100, 100, 50%); text-align: center; border-radius: 1rem; margin: 10px 0; @@ -721,10 +739,10 @@ button { right: 2rem; text-align: center; font-weight: 700; - max-width: 300px; + max-width: 320px; padding: 10px; border-radius: 5px; - color: $color08; + color: $color4; display: none; z-index: 999; } @@ -811,8 +829,8 @@ button { } .task-list-item { - list-style-type: none; margin-left: -2.4rem; + pointer-events: none; } @media (min-width: 901px) { @@ -844,6 +862,10 @@ button { .linkp { margin: 0; } + + kbd { + display: none; + } } #last-sync { @@ -870,16 +892,13 @@ button { align-items: center; } - kbd { - display: none; - } - #sideBar { display: none; width: 95vw; margin: 0; top: 0; border-radius: 0 1rem 1rem 0; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 20%), 0 2px 6px 0 rgba(0, 0, 0, 20%); animation: slide-right .3s ease-in-out; button { @@ -899,6 +918,7 @@ button { .note { width: 100%; + max-width: 100vw; max-height: 300px; margin: 0 10px; @@ -926,7 +946,8 @@ button { } } - #colors span { + #colors span, + #accent-colors span { margin: 0 4px; } @@ -940,30 +961,121 @@ button { } html.dark { - background: $color01; - color: $color03; - accent-color: $color04; + background: $color1; + color: $color3; - ::placeholder { - color: $color03; + .accentBlue { + accent-color: #8ab4f8; + + ::selection { + background: #8ab4f8; + color: #000000; + } + + a, + .linkp { + color: #8ab4f8; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #8ab4f8; + } } - a { - color: $color04; + .accentGreen { + accent-color: #8af8a4; + + ::selection { + background: #8af8a4; + color: #000000; + } + + a, + .linkp { + color: #8af8a4; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #8af8a4; + } + } + + .accentYellow { + accent-color: #f8f48a; + + ::selection { + background: #f8f48a; + color: #000000; + } + + a, + .linkp { + color: #f8f48a; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #f8f48a; + } + } + + .accentPink { + accent-color: #f68af8; + + ::selection { + background: #f68af8; + color: #000000; + } + + a, + .linkp { + color: #f68af8; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #f68af8; + } + } + + .accentBlueSpan { + background: #8ab4f8; + } + + .accentGreenSpan { + background: #8af8a4; + } + + .accentYellowSpan { + background: #f8f48a; + } + + .accentPinkSpan { + background: #f68af8; + } + + ::placeholder { + color: $color3; } kbd { - background: $color02; + background: $color2; } nav { - background: $color02; + background: $color2; #divSearch { - background: $color01; + background: $color1; input { - background: $color01; + background: $color1; border: none; &:focus { @@ -974,47 +1086,34 @@ html.dark { } #sideBar { - background: $color02; + background: $color2; } input, textarea, select { - border: 2px solid $color01; - - &:focus { - outline: $color04 solid 2px; - } + border: 2px solid $color1; } button { - color: $color01; - background: $color04; - - &:hover, - &:focus { - background: $color05; - } + color: $color1; &:disabled { - background: $color03; + background: $color3; } } - .linkp { - color: $color04; - } - .popup .content, input, textarea, select { - background: $color02; - color: $color03; + background: $color2; + color: $color3; } - #colors span { - border: 1px solid $color01; + #colors span, + #accent-colors span { + border: 1px solid $color1; } .Rouge, @@ -1027,46 +1126,34 @@ html.dark { .Violet, .Rose { a { - color: $color01; + color: $color1; } } .Noir { - background: $color02; + background: $color2; } .category { span { - background: $color01; + background: $color1; } - input[type="radio"] { - &:checked+span { - background: $color04; - color: $color01; - } + input[type="radio"]:checked+span { + color: $color1; } } .switch { - input { - - &:checked+.slider { - background: $color04; - } - - &:disabled+.slider { - &:before { - background: $color03; - } - } + input:disabled+.slider:before { + background: $color3; } .slider { - background: $color01; + background: $color1; &:before { - background: $color08; + background: $color4; } } } @@ -1085,30 +1172,30 @@ html.dark { #noscript { background: #fe7575; - color: $color01; + color: $color1; } - .warning { + .linkp.warning { color: #fe7575; } #btnTheme { - background: $color01; - color: $color03; + background: $color1; + color: $color3; } #language { border: none; - background: $color02; + background: $color2; } #copyNotification { - background: $color01; - color: $color03; + background: $color1; + color: $color3; } #copyNoteLink { - background: $color01; + background: $color1; &:hover { opacity: .8; @@ -1117,30 +1204,121 @@ html.dark { } html.dusk { - background: $color11; - color: $color12; - accent-color: $color04; + background: $color7; + color: $color8; - ::placeholder { - color: $color12; + .accentBlue { + accent-color: #8ab4f8; + + ::selection { + background: #8ab4f8; + color: #000000; + } + + a, + .linkp { + color: #8ab4f8; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #8ab4f8; + } } - a { - color: $color04; + .accentGreen { + accent-color: #8af8a4; + + ::selection { + background: #8af8a4; + color: #000000; + } + + a, + .linkp { + color: #8af8a4; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #8af8a4; + } + } + + .accentYellow { + accent-color: #f8f48a; + + ::selection { + background: #f8f48a; + color: #000000; + } + + a, + .linkp { + color: #f8f48a; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #f8f48a; + } + } + + .accentPink { + accent-color: #f68af8; + + ::selection { + background: #f68af8; + color: #000000; + } + + a, + .linkp { + color: #f68af8; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #f68af8; + } + } + + .accentBlueSpan { + background: #8ab4f8; + } + + .accentGreenSpan { + background: #8af8a4; + } + + .accentYellowSpan { + background: #f8f48a; + } + + .accentPinkSpan { + background: #f68af8; + } + + ::placeholder { + color: $color8; } kbd { - background: $color10; + background: $color6; } nav { - background: $color10; + background: $color6; #divSearch { - background: $color11; + background: $color7; input { - background: $color11; + background: $color7; border: none; &:focus { @@ -1151,47 +1329,34 @@ html.dusk { } #sideBar { - background: $color10; + background: $color6; } input, textarea, select { - border: 2px solid $color10; - - &:focus { - outline: $color04 solid 2px; - } + border: 2px solid $color6; } button { - color: $color11; - background: $color04; - - &:hover, - &:focus { - background: $color05; - } + color: $color7; &:disabled { - background: $color12; + background: $color8; } } - .linkp { - color: $color04; - } - .popup .content, input, textarea, select { - background: $color11; - color: $color12; + background: $color7; + color: $color8; } - #colors span { - border: 1px solid $color10; + #colors span, + #accent-colors span { + border: 1px solid $color6; } .Rouge, @@ -1204,46 +1369,34 @@ html.dusk { .Violet, .Rose { a { - color: $color11; + color: $color7; } } .Noir { - background: $color10; + background: $color6; } .category { span { - background: $color10; + background: $color6; } - input[type="radio"] { - &:checked+span { - background: $color04; - color: $color01; - } + input[type="radio"]:checked+span { + color: $color1; } } .switch { - input { - - &:checked+.slider { - background: $color04; - } - - &:disabled+.slider { - &:before { - background: $color03; - } - } + input:disabled+.slider:before { + background: $color3; } .slider { - background: $color10; + background: $color6; &:before { - background: $color12; + background: $color8; } } } @@ -1262,30 +1415,30 @@ html.dusk { #noscript { background: #fe7575; - color: $color01; + color: $color1; } - .warning { + .linkp.warning { color: #fe7575; } #btnTheme { - background: $color11; - color: $color12; + background: $color7; + color: $color8; } #language { border: none; - background: $color10; + background: $color6; } #copyNotification { - background: $color11; - color: $color12; + background: $color7; + color: $color8; } #copyNoteLink { - background: $color10; + background: $color6; &:hover { opacity: .8; @@ -1294,40 +1447,127 @@ html.dusk { } html.light { - background: $color08; - color: $color02; - accent-color: $color06; + background: $color4; + color: $color2; - ::placeholder { - color: $color02; + .accentBlue { + accent-color: #2b5790; + + ::selection { + background: #2b5790; + color: #ffffff; + } + + a, + .linkp { + color: #2b5790; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #2b5790; + } } - a { - color: $color06; + .accentGreen { + accent-color: #146727; + + ::selection { + background: #146727; + color: #ffffff; + } + + a, + .linkp { + color: #146727; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #146727; + } + } + + .accentYellow { + accent-color: #a25c00; + + ::selection { + background: #a25c00; + color: #ffffff; + } + + a, + .linkp { + color: #a25c00; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #a25c00; + } + } + + .accentPink { + accent-color: #942796; + + ::selection { + background: #942796; + color: #ffffff; + } + + a, + .linkp { + color: #942796; + } + + button, + input[type="radio"]:checked+span, + .switch input:checked+.slider { + background: #942796; + } + } + + .accentBlueSpan { + background: #2b5790; + } + + .accentGreenSpan { + background: #146727; + } + + .accentYellowSpan { + background: #a25c00; + } + + .accentPinkSpan { + background: #942796; + } + + ::placeholder { + color: $color2; } kbd { - background: $color09; + background: $color5; } input, textarea, select { - border: 2px solid $color03; - - &:focus { - outline: $color06 solid 2px; - } + border: 2px solid $color3; } nav { - background: $color09; + background: $color5; #divSearch { - background: $color08; + background: $color4; input { - background: $color08; + background: $color4; border: none; &:focus { @@ -1338,38 +1578,29 @@ html.light { } #sideBar { - background: $color09; + background: $color5; } button { - color: $color08; - background: $color06; - - &:hover, - &:focus { - background: $color07; - } + color: $color4; &:disabled { - background: $color03; - color: $color01; + background: $color3; + color: $color1; } } - .linkp { - color: $color06; - } - .popup .content, input, textarea, select { - background: $color08; - color: $color02; + background: $color4; + color: $color2; } - #colors span { - border: 1px solid $color03; + #colors span, + #accent-colors span { + border: 1px solid $color3; } .Rouge, @@ -1382,45 +1613,30 @@ html.light { .Violet, .Rose { a { - color: $color01; + color: $color1; } } .Noir { - background: $color09; + background: $color5; } .category { span { - background: $color09; - } - - input[type="radio"] { - &:checked+span { - background: $color05; - } + background: $color5; } } .switch { - input { - - &:checked+.slider { - background: $color06; - } - - &:disabled+.slider { - &:before { - background: $color03; - } - } + input:disabled+.slider:before { + background: $color3; } .slider { - background: $color09; + background: $color5; &:before { - background: $color08; + background: $color4; } } } @@ -1439,20 +1655,20 @@ html.light { #noscript { background: #a93b3b; - color: $color08; + color: $color4; } - .warning { + .linkp.warning { color: #a93b3b; } #copyNotification { - background: $color08; - color: $color02; + background: $color4; + color: $color2; } #copyNoteLink { - background: $color09; + background: $color5; &:hover { opacity: .8; @@ -1460,8 +1676,8 @@ html.light { } #btnTheme { - background: $color08; - color: $color02; + background: $color4; + color: $color2; } #language { @@ -1519,7 +1735,7 @@ html.light { .Bleu, .Violet, .Rose { - color: $color01; + color: $color1; } .bold { @@ -1553,3 +1769,23 @@ html.light { .align-justify { text-align: justify; } + +.float-left { + float: left; +} + +.float-right { + float: right; +} + +.d-block { + display: block; +} + +.d-inline { + display: inline; +} + +.d-inline-block { + display: inline-block; +} diff --git a/src/de/index.php b/src/de/index.php index 173ed96..4e060ef 100644 --- a/src/de/index.php +++ b/src/de/index.php @@ -86,7 +86,7 @@
-

v24.1.1🎉

+

v24.1.2🎉

Bloc-notes wurde aktualisiert!

@@ -310,6 +310,14 @@ +
+
+ + + + +
+
@@ -332,6 +340,9 @@
+
+ +
Abmelden
diff --git a/src/docker-compose.yml b/src/docker-compose.yml index 05eacc3..34ab386 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -9,5 +9,5 @@ services: db: image: mysql:8.0 environment: - MYSQL_DATABASE: notes + MYSQL_DATABASE: seguinleo-notes MYSQL_USER: root diff --git a/src/en/index.php b/src/en/index.php index 2f79c3f..1b3df6e 100644 --- a/src/en/index.php +++ b/src/en/index.php @@ -86,7 +86,7 @@
-

v24.1.1🎉

+

v24.1.2🎉

Bloc-notes has been updated!

@@ -310,6 +310,14 @@ +
+
+ + + + +
+
@@ -332,6 +340,9 @@
+
+ +
Sign out
diff --git a/src/es/index.php b/src/es/index.php index 71f82bb..e66fbee 100644 --- a/src/es/index.php +++ b/src/es/index.php @@ -86,7 +86,7 @@
-

v24.1.1🎉

+

v24.1.2🎉

¡Bloc-notes ha sido actualizado!

@@ -310,6 +310,14 @@ +
+
+ + + + +
+
@@ -332,6 +340,9 @@
+
+ +
Desconectarse
diff --git a/src/index.php b/src/index.php index df01b3b..b6dec7c 100644 --- a/src/index.php +++ b/src/index.php @@ -38,7 +38,7 @@ - +