├── json.sqlite ├── views ├── markdown │ ├── test.md │ └── index.md ├── partials │ ├── external.ejs │ └── navbar.ejs ├── 404.ejs └── index.ejs ├── public ├── script.js ├── style.css ├── darkmode-js.min.js └── bootstrap.min.js ├── .glitch-assets ├── package.json ├── server.js ├── README.md └── shrinkwrap.yaml /json.sqlite: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/markdown/test.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Test 3 | desc: Test 4 | --- 5 | 6 | :crush: 7 | :cry: 8 | 9 | ```js 10 | const p = 1 + 1 11 | ``` -------------------------------------------------------------------------------- /views/partials/external.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /public/script.js: -------------------------------------------------------------------------------- 1 | const db = localStorage 2 | 3 | db.setItem('theme', 'dark') 4 | 5 | 6 | function setDarkMode(isDark) { 7 | if(isDark) { 8 | document.body.setAttribute('id', 'darkmode') 9 | } else { 10 | document.body.setAttribute('id', '') 11 | db.delete('theme') 12 | } 13 | } 14 | 15 | const darkmode = new Darkmode(); 16 | if (darkmode.isActivated()) { 17 | document.getElementById("dark-toggle").checked = true; 18 | } 19 | else { 20 | document.getElementById("dark-toggle").checked = false; 21 | } -------------------------------------------------------------------------------- /views/404.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | <%= statusCode %> 10 | 11 | 12 | 13 | 14 | 15 |

404 Not Found

16 | <%- include('./partials/external') %> 17 | 18 | -------------------------------------------------------------------------------- /public/style.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bg: #171712; 3 | } 4 | 5 | * { 6 | box-sizing: border-box; 7 | 8 | } 9 | 10 | #darkmode { 11 | background-color: #171712; 12 | color: black; 13 | } 14 | 15 | body content { 16 | font-family: sans-serif; 17 | line-height: 1.5em; 18 | color: white; 19 | background: #5e5c44; 20 | } 21 | 22 | .top { 23 | text-align: center; 24 | } 25 | 26 | .mart { 27 | margin-top: 3px; 28 | } 29 | 30 | .marti { 31 | margin-top: 3px; 32 | } 33 | 34 | .desc { 35 | color: #454241 36 | } 37 | 38 | post { 39 | text-indent: 30px; 40 | } 41 | 42 | .notFound { 43 | color: white; 44 | } 45 | 46 | .notFoundBody { 47 | background-color: var(--bg) 48 | } -------------------------------------------------------------------------------- /views/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | <%= title + ' - ' + process.env.NAME %> 10 | 11 | 12 | 13 | 14 | 15 | 16 | <%- include('./partials/navbar') %> 17 |

<%= title %>

18 |
<%= desc %>
19 |


20 | 21 | <%- post %> 22 | <%- include('./partials/external') %> 23 | 24 |
25 | 26 | -------------------------------------------------------------------------------- /.glitch-assets: -------------------------------------------------------------------------------- 1 | {"name":"drag-in-files.svg","date":"2016-10-22T16:17:49.954Z","url":"https://cdn.hyperdev.com/drag-in-files.svg","type":"image/svg","size":7646,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/drag-in-files.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(102, 153, 205)","uuid":"adSBq97hhhpFNUna"} 2 | {"name":"click-me.svg","date":"2016-10-23T16:17:49.954Z","url":"https://cdn.hyperdev.com/click-me.svg","type":"image/svg","size":7116,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/click-me.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(243, 185, 186)","uuid":"adSBq97hhhpFNUnb"} 3 | {"name":"paste-me.svg","date":"2016-10-24T16:17:49.954Z","url":"https://cdn.hyperdev.com/paste-me.svg","type":"image/svg","size":7242,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/paste-me.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(42, 179, 185)","uuid":"adSBq97hhhpFNUnc"} 4 | {"uuid":"adSBq97hhhpFNUna","deleted":true} 5 | {"uuid":"adSBq97hhhpFNUnb","deleted":true} 6 | {"uuid":"adSBq97hhhpFNUnc","deleted":true} 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "//1": "describes your app and its dependencies", 3 | "//2": "https://docs.npmjs.com/files/package.json", 4 | "//3": "updating this file will download and update your packages", 5 | "name": "hello-express", 6 | "version": "0.0.1", 7 | "description": "A simple Node app built on Express, instantly up and running.", 8 | "main": "server.js", 9 | "scripts": { 10 | "start": "node server.js" 11 | }, 12 | "dependencies": { 13 | "express": "^4.17.1", 14 | "markdown-it": "^11.0.1", 15 | "body-parser": "^1.19.0", 16 | "gray-matter": "^4.0.2", 17 | "ejs": "^3.1.5", 18 | "highlight.js": "^10.2.0", 19 | "markdown-it-highlight": "^0.2.0", 20 | "quick.db": "^7.1.2", 21 | "markdown-it-emoji": "^1.4.0", 22 | "markdown-it-highlightjs": "^3.2.0", 23 | "highlightjs-cypher": "^1.1.0", 24 | "animate.css": "^4.1.1" 25 | }, 26 | "engines": { 27 | "node": "12.x" 28 | }, 29 | "repository": { 30 | "url": "https://glitch.com/edit/#!/hello-express" 31 | }, 32 | "license": "MIT", 33 | "keywords": [ 34 | "node", 35 | "glitch", 36 | "express" 37 | ] 38 | } -------------------------------------------------------------------------------- /views/partials/navbar.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/markdown/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Home 3 | description: How To use 4 | --- 5 | 6 | ## Indonesia 7 | 8 | - Pergi ke .env > Edit Variable NAME > Beri Value nama-project-mu 9 | 10 | 1. Remix project di [Glitch](https://glitch.com/edit/#!/md-project) atau clone Repo ini 11 | 2. Kalo mau buat artikel di views/markdown 12 | 3. Kalo mau ubah sistem nya di server.js 13 | 4. Kalo mau ubah tampilan page html nya di views/index.ejs 14 | 5. Kalo mau ubah kayak css, javascript di public/ 15 | 6. Kalo mau tambah partials / komponen di views/partials. Ntar pakenya tinggal `<%- include('./partials/nama-komponen') %>` 16 | 7. btw kalo mau bikin partials / komponen formatnya harus `.ejs` 17 | 18 | > dah itu aja kalo mau lebih tinggal tambahin sendiri 19 | 20 | # INGAT INI HANYA STARTER PACK 21 | --- 22 | # English 23 | 24 | - Go to .env > Edit Variable NAME > Give Value name-of-your-project 25 | 26 | 1. Remix my Project on [Glitch](https://glitch.com/edit/#!/md-project) or clone this Repo 27 | 2. If you want to create an article on views/markdown 28 | 3. If you want to change the system in server.js 29 | 4. If you want to change the appearance of the html page in views/index.ejs 30 | 5. If you want to change it like css, javascript is public/ 31 | 6. If you want to add a partials/component to views/part. You just use it by adding a line of this code `<% - include ('./partials/component-name')%>` 32 | 7. Btw if you want to make partials/component, the format must be `.ejs` 33 | 34 | > if you want more, just add it yourself 35 | 36 | # THIS IS JUST A STARTER PACK 37 | 38 | --- 39 | Emoji Format: 40 | 1. :cry: = `:cry: ` 41 | 2. :wink: = `:wink:` 42 | 3. :-) = `:-)` 43 | 4. :laughing: = `:laughing:` 44 | 5. :yum: = `:yum:` 45 | 6. :-( = `:-(` 46 | 7. 8-) = `8-)` 47 | 8. ;) = `;)` 48 | 49 | > Full Emoji Format in: [Github](https://gist.github.com/rxaviers/7360908) -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const app = express(); 3 | const path = require('path'); 4 | const bodyParser = require('body-parser'); 5 | const matter = require('gray-matter'); 6 | const hljs = require('highlight.js'); 7 | const mdih = require('markdown-it-highlightjs'); 8 | const md = require('markdown-it')({ html: true }); 9 | const mdEmoji = require('markdown-it-emoji/light'); 10 | const ejs = require('ejs'); 11 | const db = require('quick.db'); 12 | 13 | app.use(express.static('public')); 14 | app.use(bodyParser.urlencoded({ extended: true })); 15 | app.use(bodyParser.json()); 16 | app.set("views", path.join(__dirname, "views")); 17 | app.set("view engine", "ejs"); 18 | md.use(mdEmoji) 19 | md.use(mdih, { 20 | inline: true, 21 | register: { 22 | cypher: require('highlightjs-cypher') 23 | } 24 | }) 25 | 26 | 27 | app.get('/blog/:article', (req, res) => { 28 | const file = matter.read(__dirname + '/views/markdown/' + req.params.article + '.md'); 29 | let content = file.content 30 | let result = md.render(content); 31 | 32 | res.render("index", { 33 | post: result, 34 | title: file.data.title, 35 | desc: file.data.description, 36 | html: true 37 | }) 38 | }) 39 | 40 | app.get('/', (req, res) => { 41 | const file = matter.read(__dirname + '/views/markdown/index.md'); 42 | let content = file.content 43 | let result = md.render(content); 44 | 45 | res.render("index", { 46 | post: result, 47 | title: file.data.title, 48 | desc: file.data.description, 49 | image: file.data.image, 50 | html: true 51 | }) 52 | }) 53 | 54 | app.get('/blog', (req, res) => { 55 | res.status(404).render('404', { 56 | statusCode: 404 57 | }) 58 | }) 59 | 60 | 61 | const listener = app.listen(process.env.PORT, () => { 62 | console.log("Your app is listening on port " + listener.address().port); 63 | }); 64 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Indonesia 2 | 3 | # ADA KENDALA PADA GLITCH JADI SEMENTARA IMPORT REPO INI KE GLITCH 4 | ### Cara import repo ke glitch 5 | ![Step 1](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2Fstep-1.PNG?v=1600681227718) 6 | 7 | ![Step 2](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2Fstep-2.PNG?v=1600681231985) 8 | 9 | ![Step 3](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2Fstep-3.PNG?v=1600681236679) 10 | 11 | ![Step 4](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2FScreenshot%20(38).png?v=1600681258555) 12 | 13 | ![Step 5](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2FScreenshot%20(39).png?v=1600681264200) 14 | 15 | 16 | - Pergi ke .env > Edit Variable NAME > Beri Value nama-project-mu 17 | 18 | 1. Remix project di [Glitch](https://glitch.com/edit/#!/md-project) atau clone Repo ini 19 | 2. Kalo mau buat artikel di views/markdown 20 | 3. Kalo mau ubah sistem nya di server.js 21 | 4. Kalo mau ubah tampilan page html nya di views/index.ejs 22 | 5. Kalo mau ubah kayak css, javascript di public/ 23 | 6. Kalo mau tambah partials / komponen di views/partials. Ntar pakenya tinggal `<%- include('./partials/nama-komponen') %>` 24 | 7. btw kalo mau bikin partials / komponen formatnya harus `.ejs` 25 | 26 | > dah itu aja kalo mau lebih tinggal tambahin sendiri 27 | 28 | # INGAT INI HANYA STARTER PACK 29 | --- 30 | # English 31 | # THERE ARE CONSTRAINTS ON THE GLITCH WHILE IMPORTING THIS REPO TO GLITCH 32 | ### How to import repo to glitch 33 | ![Step 1](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2Fstep-1.PNG?v=1600681227718) 34 | 35 | ![Step 2](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2Fstep-2.PNG?v=1600681231985) 36 | 37 | ![Step 3](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2Fstep-3.PNG?v=1600681236679) 38 | 39 | ![Step 4](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2FScreenshot%20(38).png?v=1600681258555) 40 | 41 | ![Step 5](https://cdn.glitch.com/d98dcd9f-9f69-4cce-8387-02125b8d692e%2FScreenshot%20(39).png?v=1600681264200) 42 | 43 | - Go to .env > Edit Variable NAME > Give Value name-of-your-project 44 | 45 | 1. Remix my Project on [Glitch](https://glitch.com/edit/#!/md-project) or clone this Repo 46 | 2. If you want to create an article on views/markdown 47 | 3. If you want to change the system in server.js 48 | 4. If you want to change the appearance of the html page in views/index.ejs 49 | 5. If you want to change it like css, javascript is public/ 50 | 6. If you want to add a partials/component to views/part. You just use it by adding a line of this code `<% - include ('./partials/component-name')%>` 51 | 7. Btw if you want to make partials/component, the format must be `.ejs` 52 | 53 | > if you want more, just add it yourself 54 | 55 | # THIS IS JUST A STARTER PACK 56 | 57 | --- 58 | Emoji Format: 59 | 1. :cry: = `:cry: ` 60 | 2. :wink: = `:wink:` 61 | 3. :-) = `:-)` 62 | 4. :laughing: = `:laughing:` 63 | 5. :yum: = `:yum:` 64 | 6. :-( = `:-(` 65 | 7. 8-) = `8-)` 66 | 8. ;) = `;)` 67 | 68 | > Full Emoji Format in: [Github](https://gist.github.com/rxaviers/7360908) 69 | -------------------------------------------------------------------------------- /public/darkmode-js.min.js: -------------------------------------------------------------------------------- 1 | !(function(e, t) { 2 | "object" == typeof exports && "object" == typeof module 3 | ? (module.exports = t()) 4 | : "function" == typeof define && define.amd 5 | ? define("darkmode-js", [], t) 6 | : "object" == typeof exports 7 | ? (exports["darkmode-js"] = t()) 8 | : (e["darkmode-js"] = t()); 9 | })("undefined" != typeof self ? self : this, function() { 10 | return (function(e) { 11 | var t = {}; 12 | function n(o) { 13 | if (t[o]) return t[o].exports; 14 | var r = (t[o] = { i: o, l: !1, exports: {} }); 15 | return e[o].call(r.exports, r, r.exports, n), (r.l = !0), r.exports; 16 | } 17 | return ( 18 | (n.m = e), 19 | (n.c = t), 20 | (n.d = function(e, t, o) { 21 | n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: o }); 22 | }), 23 | (n.r = function(e) { 24 | "undefined" != typeof Symbol && 25 | Symbol.toStringTag && 26 | Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), 27 | Object.defineProperty(e, "__esModule", { value: !0 }); 28 | }), 29 | (n.t = function(e, t) { 30 | if ((1 & t && (e = n(e)), 8 & t)) return e; 31 | if (4 & t && "object" == typeof e && e && e.__esModule) return e; 32 | var o = Object.create(null); 33 | if ( 34 | (n.r(o), 35 | Object.defineProperty(o, "default", { enumerable: !0, value: e }), 36 | 2 & t && "string" != typeof e) 37 | ) 38 | for (var r in e) 39 | n.d( 40 | o, 41 | r, 42 | function(t) { 43 | return e[t]; 44 | }.bind(null, r) 45 | ); 46 | return o; 47 | }), 48 | (n.n = function(e) { 49 | var t = 50 | e && e.__esModule 51 | ? function() { 52 | return e.default; 53 | } 54 | : function() { 55 | return e; 56 | }; 57 | return n.d(t, "a", t), t; 58 | }), 59 | (n.o = function(e, t) { 60 | return Object.prototype.hasOwnProperty.call(e, t); 61 | }), 62 | (n.p = ""), 63 | n((n.s = 0)) 64 | ); 65 | })([ 66 | function(e, t, n) { 67 | "use strict"; 68 | Object.defineProperty(t, "__esModule", { value: !0 }), 69 | (t.default = void 0); 70 | var o = (function(e) { 71 | if (e && e.__esModule) return e; 72 | var t = {}; 73 | if (null != e) 74 | for (var n in e) 75 | if (Object.prototype.hasOwnProperty.call(e, n)) { 76 | var o = 77 | Object.defineProperty && Object.getOwnPropertyDescriptor 78 | ? Object.getOwnPropertyDescriptor(e, n) 79 | : {}; 80 | o.get || o.set ? Object.defineProperty(t, n, o) : (t[n] = e[n]); 81 | } 82 | return (t.default = e), t; 83 | })(n(1)); 84 | var r = o.default; 85 | (t.default = r), 86 | o.IS_BROWSER && 87 | (function(e) { 88 | e.Darkmode = o.default; 89 | })(window), 90 | (e.exports = t.default); 91 | }, 92 | function(e, t, n) { 93 | "use strict"; 94 | function o(e, t) { 95 | for (var n = 0; n < t.length; n++) { 96 | var o = t[n]; 97 | (o.enumerable = o.enumerable || !1), 98 | (o.configurable = !0), 99 | "value" in o && (o.writable = !0), 100 | Object.defineProperty(e, o.key, o); 101 | } 102 | } 103 | Object.defineProperty(t, "__esModule", { value: !0 }), 104 | (t.default = t.IS_BROWSER = void 0); 105 | var r = "undefined" != typeof window; 106 | t.IS_BROWSER = r; 107 | var a = (function() { 108 | function e(t) { 109 | if ( 110 | ((function(e, t) { 111 | if (!(e instanceof t)) 112 | throw new TypeError("Cannot call a class as a function"); 113 | })(this, e), 114 | r) 115 | ) { 116 | t = Object.assign( 117 | {}, 118 | { 119 | bottom: "32px", 120 | right: "32px", 121 | left: "unset", 122 | time: "0.3s", 123 | mixColor: "#fff", 124 | backgroundColor: "#fff", 125 | buttonColorDark: "#100f2c", 126 | buttonColorLight: "#fff", 127 | label: "", 128 | saveInCookies: !0, 129 | autoMatchOsTheme: !0 130 | }, 131 | t 132 | ); 133 | var n = "\n .darkmode-layer {\n position: fixed;\n pointer-events: none;\n background: " 134 | .concat(t.mixColor, ";\n transition: all ") 135 | .concat( 136 | t.time, 137 | " ease;\n mix-blend-mode: difference;\n }\n\n .darkmode-layer--button {\n width: 2.9rem;\n height: 2.9rem;\n border-radius: 50%;\n right: " 138 | ) 139 | .concat(t.right, ";\n bottom: ") 140 | .concat(t.bottom, ";\n left: ") 141 | .concat( 142 | t.left, 143 | ";\n }\n\n .darkmode-layer--simple {\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n transform: scale(1) !important;\n }\n\n .darkmode-layer--expanded {\n transform: scale(100);\n border-radius: 0;\n }\n\n .darkmode-layer--no-transition {\n transition: none;\n }\n\n .darkmode-toggle {\n background: " 144 | ) 145 | .concat( 146 | t.buttonColorDark, 147 | ";\n width: 3rem;\n height: 3rem;\n position: fixed;\n border-radius: 50%;\n border:none;\n right: " 148 | ) 149 | .concat(t.right, ";\n bottom: ") 150 | .concat(t.bottom, ";\n left: ") 151 | .concat( 152 | t.left, 153 | ";\n cursor: pointer;\n transition: all 0.5s ease;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .darkmode-toggle--white {\n background: " 154 | ) 155 | .concat( 156 | t.buttonColorLight, 157 | ";\n }\n\n .darkmode-toggle--inactive {\n display: none;\n }\n\n .darkmode-background {\n background: " 158 | ) 159 | .concat( 160 | t.backgroundColor, 161 | ";\n position: fixed;\n pointer-events: none;\n z-index: -10;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n }\n\n img, .darkmode-ignore {\n isolation: isolate;\n display: inline-block;\n }\n\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .darkmode-toggle {display: none !important}\n }\n\n @supports (-ms-ime-align:auto), (-ms-accelerator:true) {\n .darkmode-toggle {display: none !important}\n }\n " 162 | ), 163 | o = document.createElement("div"), 164 | a = document.createElement("button"), 165 | d = document.createElement("div"); 166 | (a.innerHTML = t.label), 167 | a.classList.add("darkmode-toggle--inactive"), 168 | o.classList.add("darkmode-layer"), 169 | d.classList.add("darkmode-background"); 170 | var i = "true" === window.localStorage.getItem("darkmode"), 171 | s = 172 | t.autoMatchOsTheme && 173 | window.matchMedia("(prefers-color-scheme: dark)").matches, 174 | l = null === window.localStorage.getItem("darkmode"); 175 | ((!0 === i && t.saveInCookies) || (l && s)) && 176 | (o.classList.add( 177 | "darkmode-layer--expanded", 178 | "darkmode-layer--simple", 179 | "darkmode-layer--no-transition" 180 | ), 181 | a.classList.add("darkmode-toggle--white"), 182 | document.body.classList.add("darkmode--activated")), 183 | document.body.insertBefore(a, document.body.firstChild), 184 | document.body.insertBefore(o, document.body.firstChild), 185 | document.body.insertBefore(d, document.body.firstChild), 186 | this.addStyle(n), 187 | (this.button = a), 188 | (this.layer = o), 189 | (this.saveInCookies = t.saveInCookies), 190 | (this.time = t.time); 191 | } 192 | } 193 | var t, n, a; 194 | return ( 195 | (t = e), 196 | (n = [ 197 | { 198 | key: "addStyle", 199 | value: function(e) { 200 | var t = document.createElement("link"); 201 | t.setAttribute("rel", "stylesheet"), 202 | t.setAttribute("type", "text/css"), 203 | t.setAttribute( 204 | "href", 205 | "data:text/css;charset=UTF-8," + encodeURIComponent(e) 206 | ), 207 | document.head.appendChild(t); 208 | } 209 | }, 210 | { 211 | key: "showWidget", 212 | value: function() { 213 | var e = this; 214 | if (r) { 215 | var t = this.button, 216 | n = this.layer, 217 | o = 1e3 * parseFloat(this.time); 218 | t.classList.add("darkmode-toggle"), 219 | t.classList.remove("darkmode-toggle--inactive"), 220 | n.classList.add("darkmode-layer--button"), 221 | t.addEventListener("click", function() { 222 | var r = e.isActivated(); 223 | r 224 | ? (n.classList.remove("darkmode-layer--simple"), 225 | t.setAttribute("disabled", !0), 226 | setTimeout(function() { 227 | n.classList.remove("darkmode-layer--no-transition"), 228 | n.classList.remove("darkmode-layer--expanded"), 229 | t.removeAttribute("disabled"); 230 | }, 1)) 231 | : (n.classList.add("darkmode-layer--expanded"), 232 | t.setAttribute("disabled", !0), 233 | setTimeout(function() { 234 | n.classList.add("darkmode-layer--no-transition"), 235 | n.classList.add("darkmode-layer--simple"), 236 | t.removeAttribute("disabled"); 237 | }, o)), 238 | t.classList.toggle("darkmode-toggle--white"), 239 | document.body.classList.toggle("darkmode--activated"), 240 | window.localStorage.setItem("darkmode", !r); 241 | }); 242 | } 243 | } 244 | }, 245 | { 246 | key: "toggle", 247 | value: function() { 248 | if (r) { 249 | var e = this.layer, 250 | t = this.isActivated(); 251 | e.classList.toggle("darkmode-layer--simple"), 252 | document.body.classList.toggle("darkmode--activated"), 253 | window.localStorage.setItem("darkmode", !t); 254 | } 255 | } 256 | }, 257 | { 258 | key: "isActivated", 259 | value: function() { 260 | return r 261 | ? document.body.classList.contains("darkmode--activated") 262 | : null; 263 | } 264 | } 265 | ]) && o(t.prototype, n), 266 | a && o(t, a), 267 | e 268 | ); 269 | })(); 270 | t.default = a; 271 | } 272 | ]); 273 | }); 274 | -------------------------------------------------------------------------------- /shrinkwrap.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | animate.css: 4.1.1 3 | body-parser: 1.19.0 4 | ejs: 3.1.5 5 | express: 4.17.1 6 | gray-matter: 4.0.2 7 | highlight.js: 10.2.0 8 | highlightjs-cypher: 1.1.1 9 | markdown-it: 11.0.1 10 | markdown-it-emoji: 1.4.0 11 | markdown-it-highlight: 0.2.0 12 | markdown-it-highlightjs: 3.2.0 13 | quick.db: 7.1.2 14 | packages: 15 | /accepts/1.3.7: 16 | dependencies: 17 | mime-types: 2.1.27 18 | negotiator: 0.6.2 19 | dev: false 20 | engines: 21 | node: '>= 0.6' 22 | resolution: 23 | integrity: sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== 24 | /animate.css/4.1.1: 25 | dev: false 26 | resolution: 27 | integrity: sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ== 28 | /ansi-regex/2.1.1: 29 | dev: false 30 | engines: 31 | node: '>=0.10.0' 32 | resolution: 33 | integrity: sha1-w7M6te42DYbg5ijwRorn7yfWVN8= 34 | /ansi-regex/3.0.0: 35 | dev: false 36 | engines: 37 | node: '>=4' 38 | resolution: 39 | integrity: sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= 40 | /ansi-styles/3.2.1: 41 | dependencies: 42 | color-convert: 1.9.3 43 | dev: false 44 | engines: 45 | node: '>=4' 46 | resolution: 47 | integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== 48 | /aproba/1.2.0: 49 | dev: false 50 | resolution: 51 | integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== 52 | /are-we-there-yet/1.1.5: 53 | dependencies: 54 | delegates: 1.0.0 55 | readable-stream: 2.3.7 56 | dev: false 57 | resolution: 58 | integrity: sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== 59 | /argparse/1.0.10: 60 | dependencies: 61 | sprintf-js: 1.0.3 62 | dev: false 63 | resolution: 64 | integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== 65 | /array-flatten/1.1.1: 66 | dev: false 67 | resolution: 68 | integrity: sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= 69 | /async/0.9.2: 70 | dev: false 71 | resolution: 72 | integrity: sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0= 73 | /balanced-match/1.0.0: 74 | dev: false 75 | resolution: 76 | integrity: sha1-ibTRmasr7kneFk6gK4nORi1xt2c= 77 | /base64-js/1.3.1: 78 | dev: false 79 | resolution: 80 | integrity: sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g== 81 | /better-sqlite3/6.0.1: 82 | dependencies: 83 | bindings: 1.5.0 84 | integer: 3.0.1 85 | prebuild-install: 5.3.5 86 | tar: 4.4.10 87 | dev: false 88 | requiresBuild: true 89 | resolution: 90 | integrity: sha512-4aV1zEknM9g1a6B0mVBx1oIlmYioEJ8gSS3J6EpN1b1bKYEE+N5lmpmXHKNKTi0qjHziSd7XrXwHl1kpqvEcHQ== 91 | /bindings/1.5.0: 92 | dependencies: 93 | file-uri-to-path: 1.0.0 94 | dev: false 95 | resolution: 96 | integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== 97 | /bl/4.0.3: 98 | dependencies: 99 | buffer: 5.6.0 100 | inherits: 2.0.4 101 | readable-stream: 3.6.0 102 | dev: false 103 | resolution: 104 | integrity: sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg== 105 | /body-parser/1.19.0: 106 | dependencies: 107 | bytes: 3.1.0 108 | content-type: 1.0.4 109 | debug: 2.6.9 110 | depd: 1.1.2 111 | http-errors: 1.7.2 112 | iconv-lite: 0.4.24 113 | on-finished: 2.3.0 114 | qs: 6.7.0 115 | raw-body: 2.4.0 116 | type-is: 1.6.18 117 | dev: false 118 | engines: 119 | node: '>= 0.8' 120 | resolution: 121 | integrity: sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw== 122 | /brace-expansion/1.1.11: 123 | dependencies: 124 | balanced-match: 1.0.0 125 | concat-map: 0.0.1 126 | dev: false 127 | resolution: 128 | integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 129 | /buffer/5.6.0: 130 | dependencies: 131 | base64-js: 1.3.1 132 | ieee754: 1.1.13 133 | dev: false 134 | resolution: 135 | integrity: sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== 136 | /bytes/3.1.0: 137 | dev: false 138 | engines: 139 | node: '>= 0.8' 140 | resolution: 141 | integrity: sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== 142 | /chalk/2.4.2: 143 | dependencies: 144 | ansi-styles: 3.2.1 145 | escape-string-regexp: 1.0.5 146 | supports-color: 5.5.0 147 | dev: false 148 | engines: 149 | node: '>=4' 150 | resolution: 151 | integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== 152 | /chownr/1.1.4: 153 | dev: false 154 | resolution: 155 | integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== 156 | /code-point-at/1.1.0: 157 | dev: false 158 | engines: 159 | node: '>=0.10.0' 160 | resolution: 161 | integrity: sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= 162 | /color-convert/1.9.3: 163 | dependencies: 164 | color-name: 1.1.3 165 | dev: false 166 | resolution: 167 | integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== 168 | /color-name/1.1.3: 169 | dev: false 170 | resolution: 171 | integrity: sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= 172 | /concat-map/0.0.1: 173 | dev: false 174 | resolution: 175 | integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= 176 | /console-control-strings/1.1.0: 177 | dev: false 178 | resolution: 179 | integrity: sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= 180 | /content-disposition/0.5.3: 181 | dependencies: 182 | safe-buffer: 5.1.2 183 | dev: false 184 | engines: 185 | node: '>= 0.6' 186 | resolution: 187 | integrity: sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g== 188 | /content-type/1.0.4: 189 | dev: false 190 | engines: 191 | node: '>= 0.6' 192 | resolution: 193 | integrity: sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== 194 | /cookie-signature/1.0.6: 195 | dev: false 196 | resolution: 197 | integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw= 198 | /cookie/0.4.0: 199 | dev: false 200 | engines: 201 | node: '>= 0.6' 202 | resolution: 203 | integrity: sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== 204 | /core-util-is/1.0.2: 205 | dev: false 206 | resolution: 207 | integrity: sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= 208 | /debug/2.6.9: 209 | dependencies: 210 | ms: 2.0.0 211 | dev: false 212 | resolution: 213 | integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 214 | /decompress-response/4.2.1: 215 | dependencies: 216 | mimic-response: 2.1.0 217 | dev: false 218 | engines: 219 | node: '>=8' 220 | resolution: 221 | integrity: sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw== 222 | /deep-extend/0.6.0: 223 | dev: false 224 | engines: 225 | node: '>=4.0.0' 226 | resolution: 227 | integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== 228 | /delegates/1.0.0: 229 | dev: false 230 | resolution: 231 | integrity: sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= 232 | /depd/1.1.2: 233 | dev: false 234 | engines: 235 | node: '>= 0.6' 236 | resolution: 237 | integrity: sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= 238 | /destroy/1.0.4: 239 | dev: false 240 | resolution: 241 | integrity: sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= 242 | /detect-libc/1.0.3: 243 | dev: false 244 | engines: 245 | node: '>=0.10' 246 | hasBin: true 247 | resolution: 248 | integrity: sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= 249 | /ee-first/1.1.1: 250 | dev: false 251 | resolution: 252 | integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= 253 | /ejs/3.1.5: 254 | dependencies: 255 | jake: 10.8.2 256 | dev: false 257 | engines: 258 | node: '>=0.10.0' 259 | hasBin: true 260 | resolution: 261 | integrity: sha512-dldq3ZfFtgVTJMLjOe+/3sROTzALlL9E34V4/sDtUd/KlBSS0s6U1/+WPE1B4sj9CXHJpL1M6rhNJnc9Wbal9w== 262 | /encodeurl/1.0.2: 263 | dev: false 264 | engines: 265 | node: '>= 0.8' 266 | resolution: 267 | integrity: sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= 268 | /end-of-stream/1.4.4: 269 | dependencies: 270 | once: 1.4.0 271 | dev: false 272 | resolution: 273 | integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== 274 | /entities/2.0.3: 275 | dev: false 276 | resolution: 277 | integrity: sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ== 278 | /escape-html/1.0.3: 279 | dev: false 280 | resolution: 281 | integrity: sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= 282 | /escape-string-regexp/1.0.5: 283 | dev: false 284 | engines: 285 | node: '>=0.8.0' 286 | resolution: 287 | integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= 288 | /esprima/4.0.1: 289 | dev: false 290 | engines: 291 | node: '>=4' 292 | hasBin: true 293 | resolution: 294 | integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== 295 | /etag/1.8.1: 296 | dev: false 297 | engines: 298 | node: '>= 0.6' 299 | resolution: 300 | integrity: sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= 301 | /expand-template/2.0.3: 302 | dev: false 303 | engines: 304 | node: '>=6' 305 | resolution: 306 | integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== 307 | /express/4.17.1: 308 | dependencies: 309 | accepts: 1.3.7 310 | array-flatten: 1.1.1 311 | body-parser: 1.19.0 312 | content-disposition: 0.5.3 313 | content-type: 1.0.4 314 | cookie: 0.4.0 315 | cookie-signature: 1.0.6 316 | debug: 2.6.9 317 | depd: 1.1.2 318 | encodeurl: 1.0.2 319 | escape-html: 1.0.3 320 | etag: 1.8.1 321 | finalhandler: 1.1.2 322 | fresh: 0.5.2 323 | merge-descriptors: 1.0.1 324 | methods: 1.1.2 325 | on-finished: 2.3.0 326 | parseurl: 1.3.3 327 | path-to-regexp: 0.1.7 328 | proxy-addr: 2.0.6 329 | qs: 6.7.0 330 | range-parser: 1.2.1 331 | safe-buffer: 5.1.2 332 | send: 0.17.1 333 | serve-static: 1.14.1 334 | setprototypeof: 1.1.1 335 | statuses: 1.5.0 336 | type-is: 1.6.18 337 | utils-merge: 1.0.1 338 | vary: 1.1.2 339 | dev: false 340 | engines: 341 | node: '>= 0.10.0' 342 | resolution: 343 | integrity: sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g== 344 | /extend-shallow/2.0.1: 345 | dependencies: 346 | is-extendable: 0.1.1 347 | dev: false 348 | engines: 349 | node: '>=0.10.0' 350 | resolution: 351 | integrity: sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= 352 | /file-uri-to-path/1.0.0: 353 | dev: false 354 | resolution: 355 | integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== 356 | /filelist/1.0.1: 357 | dependencies: 358 | minimatch: 3.0.4 359 | dev: false 360 | resolution: 361 | integrity: sha512-8zSK6Nu0DQIC08mUC46sWGXi+q3GGpKydAG36k+JDba6VRpkevvOWUW5a/PhShij4+vHT9M+ghgG7eM+a9JDUQ== 362 | /finalhandler/1.1.2: 363 | dependencies: 364 | debug: 2.6.9 365 | encodeurl: 1.0.2 366 | escape-html: 1.0.3 367 | on-finished: 2.3.0 368 | parseurl: 1.3.3 369 | statuses: 1.5.0 370 | unpipe: 1.0.0 371 | dev: false 372 | engines: 373 | node: '>= 0.8' 374 | resolution: 375 | integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== 376 | /forwarded/0.1.2: 377 | dev: false 378 | engines: 379 | node: '>= 0.6' 380 | resolution: 381 | integrity: sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ= 382 | /fresh/0.5.2: 383 | dev: false 384 | engines: 385 | node: '>= 0.6' 386 | resolution: 387 | integrity: sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= 388 | /fs-constants/1.0.0: 389 | dev: false 390 | resolution: 391 | integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== 392 | /fs-minipass/1.2.7: 393 | dependencies: 394 | minipass: 2.9.0 395 | dev: false 396 | resolution: 397 | integrity: sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== 398 | /gauge/2.7.4: 399 | dependencies: 400 | aproba: 1.2.0 401 | console-control-strings: 1.1.0 402 | has-unicode: 2.0.1 403 | object-assign: 4.1.1 404 | signal-exit: 3.0.3 405 | string-width: 1.0.2 406 | strip-ansi: 3.0.1 407 | wide-align: 1.1.3 408 | dev: false 409 | resolution: 410 | integrity: sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= 411 | /github-from-package/0.0.0: 412 | dev: false 413 | resolution: 414 | integrity: sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4= 415 | /gray-matter/4.0.2: 416 | dependencies: 417 | js-yaml: 3.14.0 418 | kind-of: 6.0.3 419 | section-matter: 1.0.0 420 | strip-bom-string: 1.0.0 421 | dev: false 422 | engines: 423 | node: '>=6.0' 424 | resolution: 425 | integrity: sha512-7hB/+LxrOjq/dd8APlK0r24uL/67w7SkYnfwhNFwg/VDIGWGmduTDYf3WNstLW2fbbmRwrDGCVSJ2isuf2+4Hw== 426 | /has-flag/3.0.0: 427 | dev: false 428 | engines: 429 | node: '>=4' 430 | resolution: 431 | integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0= 432 | /has-unicode/2.0.1: 433 | dev: false 434 | resolution: 435 | integrity: sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= 436 | /highlight.js/10.2.0: 437 | dev: false 438 | resolution: 439 | integrity: sha512-OryzPiqqNCfO/wtFo619W+nPYALM6u7iCQkum4bqRmmlcTikOkmlL06i009QelynBPAlNByTQU6cBB2cOBQtCw== 440 | /highlight.js/9.18.3: 441 | dev: false 442 | resolution: 443 | integrity: sha512-zBZAmhSupHIl5sITeMqIJnYCDfAEc3Gdkqj65wC1lpI468MMQeeQkhcIAvk+RylAkxrCcI9xy9piHiXeQ1BdzQ== 444 | /highlightjs-cypher/1.1.1: 445 | dev: false 446 | resolution: 447 | integrity: sha512-clBIGVAI4s/f+SLcoBN0Hf5rtt/xt8pA7qdFU/04IGZUQZTYmggq3zYo67zGZfMyPPY9ju0060Y5kVPoVIe45g== 448 | /http-errors/1.7.2: 449 | dependencies: 450 | depd: 1.1.2 451 | inherits: 2.0.3 452 | setprototypeof: 1.1.1 453 | statuses: 1.5.0 454 | toidentifier: 1.0.0 455 | dev: false 456 | engines: 457 | node: '>= 0.6' 458 | resolution: 459 | integrity: sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg== 460 | /http-errors/1.7.3: 461 | dependencies: 462 | depd: 1.1.2 463 | inherits: 2.0.4 464 | setprototypeof: 1.1.1 465 | statuses: 1.5.0 466 | toidentifier: 1.0.0 467 | dev: false 468 | engines: 469 | node: '>= 0.6' 470 | resolution: 471 | integrity: sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== 472 | /iconv-lite/0.4.24: 473 | dependencies: 474 | safer-buffer: 2.1.2 475 | dev: false 476 | engines: 477 | node: '>=0.10.0' 478 | resolution: 479 | integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== 480 | /ieee754/1.1.13: 481 | dev: false 482 | resolution: 483 | integrity: sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== 484 | /inherits/2.0.3: 485 | dev: false 486 | resolution: 487 | integrity: sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= 488 | /inherits/2.0.4: 489 | dev: false 490 | resolution: 491 | integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 492 | /ini/1.3.5: 493 | dev: false 494 | resolution: 495 | integrity: sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== 496 | /integer/3.0.1: 497 | dependencies: 498 | bindings: 1.5.0 499 | prebuild-install: 5.3.5 500 | dev: false 501 | requiresBuild: true 502 | resolution: 503 | integrity: sha512-OqtER6W2GIJTIcnT5o2B/pWGgvurnVOYs4OZCgay40QEIbMTnNq4R0KSaIw1TZyFtPWjm5aNM+pBBMTfc3exmw== 504 | /ipaddr.js/1.9.1: 505 | dev: false 506 | engines: 507 | node: '>= 0.10' 508 | resolution: 509 | integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== 510 | /is-extendable/0.1.1: 511 | dev: false 512 | engines: 513 | node: '>=0.10.0' 514 | resolution: 515 | integrity: sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= 516 | /is-fullwidth-code-point/1.0.0: 517 | dependencies: 518 | number-is-nan: 1.0.1 519 | dev: false 520 | engines: 521 | node: '>=0.10.0' 522 | resolution: 523 | integrity: sha1-754xOG8DGn8NZDr4L95QxFfvAMs= 524 | /is-fullwidth-code-point/2.0.0: 525 | dev: false 526 | engines: 527 | node: '>=4' 528 | resolution: 529 | integrity: sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= 530 | /isarray/1.0.0: 531 | dev: false 532 | resolution: 533 | integrity: sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= 534 | /jake/10.8.2: 535 | dependencies: 536 | async: 0.9.2 537 | chalk: 2.4.2 538 | filelist: 1.0.1 539 | minimatch: 3.0.4 540 | dev: false 541 | hasBin: true 542 | resolution: 543 | integrity: sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A== 544 | /js-yaml/3.14.0: 545 | dependencies: 546 | argparse: 1.0.10 547 | esprima: 4.0.1 548 | dev: false 549 | hasBin: true 550 | resolution: 551 | integrity: sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== 552 | /kind-of/6.0.3: 553 | dev: false 554 | engines: 555 | node: '>=0.10.0' 556 | resolution: 557 | integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== 558 | /linkify-it/3.0.2: 559 | dependencies: 560 | uc.micro: 1.0.6 561 | dev: false 562 | resolution: 563 | integrity: sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ== 564 | /lodash.flow/3.5.0: 565 | dev: false 566 | resolution: 567 | integrity: sha1-h79AKSuM+D5OjOGjrkIJ4gBxZ1o= 568 | /lodash/4.17.19: 569 | dev: false 570 | resolution: 571 | integrity: sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== 572 | /markdown-it-emoji/1.4.0: 573 | dev: false 574 | resolution: 575 | integrity: sha1-m+4OmpkKljupbfaYDE/dsF37Tcw= 576 | /markdown-it-highlight/0.2.0: 577 | dependencies: 578 | highlight.js: 9.18.3 579 | dev: false 580 | resolution: 581 | integrity: sha512-VpJBiZSa3beosuxpynyKY1y1Nd/axF95UdSyiPjGtI1IKa+WK46M1GvN5R3Tcf4ZQjCmrGdGls6UBP8P0MMuwg== 582 | /markdown-it-highlightjs/3.2.0: 583 | dependencies: 584 | highlight.js: 9.18.3 585 | lodash.flow: 3.5.0 586 | dev: false 587 | resolution: 588 | integrity: sha512-QaSD7zCjAuB1Qa6GLfxcv7uB7svTvXGAiJ2LJShQRaJIWEjkQUAIDv+vsANe4F5J2lPJuOdXf7oIRXe0JFJg2g== 589 | /markdown-it/11.0.1: 590 | dependencies: 591 | argparse: 1.0.10 592 | entities: 2.0.3 593 | linkify-it: 3.0.2 594 | mdurl: 1.0.1 595 | uc.micro: 1.0.6 596 | dev: false 597 | hasBin: true 598 | resolution: 599 | integrity: sha512-aU1TzmBKcWNNYvH9pjq6u92BML+Hz3h5S/QpfTFwiQF852pLT+9qHsrhM9JYipkOXZxGn+sGH8oyJE9FD9WezQ== 600 | /mdurl/1.0.1: 601 | dev: false 602 | resolution: 603 | integrity: sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4= 604 | /media-typer/0.3.0: 605 | dev: false 606 | engines: 607 | node: '>= 0.6' 608 | resolution: 609 | integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= 610 | /merge-descriptors/1.0.1: 611 | dev: false 612 | resolution: 613 | integrity: sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= 614 | /methods/1.1.2: 615 | dev: false 616 | engines: 617 | node: '>= 0.6' 618 | resolution: 619 | integrity: sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= 620 | /mime-db/1.44.0: 621 | dev: false 622 | engines: 623 | node: '>= 0.6' 624 | resolution: 625 | integrity: sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== 626 | /mime-types/2.1.27: 627 | dependencies: 628 | mime-db: 1.44.0 629 | dev: false 630 | engines: 631 | node: '>= 0.6' 632 | resolution: 633 | integrity: sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w== 634 | /mime/1.6.0: 635 | dev: false 636 | engines: 637 | node: '>=4' 638 | hasBin: true 639 | resolution: 640 | integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== 641 | /mimic-response/2.1.0: 642 | dev: false 643 | engines: 644 | node: '>=8' 645 | resolution: 646 | integrity: sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== 647 | /minimatch/3.0.4: 648 | dependencies: 649 | brace-expansion: 1.1.11 650 | dev: false 651 | resolution: 652 | integrity: sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== 653 | /minimist/1.2.5: 654 | dev: false 655 | resolution: 656 | integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== 657 | /minipass/2.9.0: 658 | dependencies: 659 | safe-buffer: 5.2.1 660 | yallist: 3.1.1 661 | dev: false 662 | resolution: 663 | integrity: sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== 664 | /minizlib/1.3.3: 665 | dependencies: 666 | minipass: 2.9.0 667 | dev: false 668 | resolution: 669 | integrity: sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== 670 | /mkdirp-classic/0.5.3: 671 | dev: false 672 | resolution: 673 | integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== 674 | /mkdirp/0.5.5: 675 | dependencies: 676 | minimist: 1.2.5 677 | dev: false 678 | hasBin: true 679 | resolution: 680 | integrity: sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== 681 | /ms/2.0.0: 682 | dev: false 683 | resolution: 684 | integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= 685 | /ms/2.1.1: 686 | dev: false 687 | resolution: 688 | integrity: sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== 689 | /napi-build-utils/1.0.2: 690 | dev: false 691 | resolution: 692 | integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== 693 | /negotiator/0.6.2: 694 | dev: false 695 | engines: 696 | node: '>= 0.6' 697 | resolution: 698 | integrity: sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== 699 | /node-abi/2.19.1: 700 | dependencies: 701 | semver: 5.7.1 702 | dev: false 703 | resolution: 704 | integrity: sha512-HbtmIuByq44yhAzK7b9j/FelKlHYISKQn0mtvcBrU5QBkhoCMp5bu8Hv5AI34DcKfOAcJBcOEMwLlwO62FFu9A== 705 | /noop-logger/0.1.1: 706 | dev: false 707 | resolution: 708 | integrity: sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI= 709 | /npmlog/4.1.2: 710 | dependencies: 711 | are-we-there-yet: 1.1.5 712 | console-control-strings: 1.1.0 713 | gauge: 2.7.4 714 | set-blocking: 2.0.0 715 | dev: false 716 | resolution: 717 | integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== 718 | /number-is-nan/1.0.1: 719 | dev: false 720 | engines: 721 | node: '>=0.10.0' 722 | resolution: 723 | integrity: sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= 724 | /object-assign/4.1.1: 725 | dev: false 726 | engines: 727 | node: '>=0.10.0' 728 | resolution: 729 | integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= 730 | /on-finished/2.3.0: 731 | dependencies: 732 | ee-first: 1.1.1 733 | dev: false 734 | engines: 735 | node: '>= 0.8' 736 | resolution: 737 | integrity: sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= 738 | /once/1.4.0: 739 | dependencies: 740 | wrappy: 1.0.2 741 | dev: false 742 | resolution: 743 | integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 744 | /parseurl/1.3.3: 745 | dev: false 746 | engines: 747 | node: '>= 0.8' 748 | resolution: 749 | integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== 750 | /path-to-regexp/0.1.7: 751 | dev: false 752 | resolution: 753 | integrity: sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= 754 | /prebuild-install/5.3.5: 755 | dependencies: 756 | detect-libc: 1.0.3 757 | expand-template: 2.0.3 758 | github-from-package: 0.0.0 759 | minimist: 1.2.5 760 | mkdirp: 0.5.5 761 | napi-build-utils: 1.0.2 762 | node-abi: 2.19.1 763 | noop-logger: 0.1.1 764 | npmlog: 4.1.2 765 | pump: 3.0.0 766 | rc: 1.2.8 767 | simple-get: 3.1.0 768 | tar-fs: 2.1.0 769 | tunnel-agent: 0.6.0 770 | which-pm-runs: 1.0.0 771 | dev: false 772 | engines: 773 | node: '>=6' 774 | hasBin: true 775 | resolution: 776 | integrity: sha512-YmMO7dph9CYKi5IR/BzjOJlRzpxGGVo1EsLSUZ0mt/Mq0HWZIHOKHHcHdT69yG54C9m6i45GpItwRHpk0Py7Uw== 777 | /process-nextick-args/2.0.1: 778 | dev: false 779 | resolution: 780 | integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== 781 | /proxy-addr/2.0.6: 782 | dependencies: 783 | forwarded: 0.1.2 784 | ipaddr.js: 1.9.1 785 | dev: false 786 | engines: 787 | node: '>= 0.10' 788 | resolution: 789 | integrity: sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw== 790 | /pump/3.0.0: 791 | dependencies: 792 | end-of-stream: 1.4.4 793 | once: 1.4.0 794 | dev: false 795 | resolution: 796 | integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== 797 | /qs/6.7.0: 798 | dev: false 799 | engines: 800 | node: '>=0.6' 801 | resolution: 802 | integrity: sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== 803 | /quick.db/7.1.2: 804 | dependencies: 805 | better-sqlite3: 6.0.1 806 | lodash: 4.17.19 807 | dev: false 808 | resolution: 809 | integrity: sha512-ItAgjP6CHlC8XN4AAc+K24jDxRmAkkIe5TQp6xyXF5QCCgFlpaknpA3OyLTQ4Dw0c7yq28bcD6SVc7ML/1T/DQ== 810 | /range-parser/1.2.1: 811 | dev: false 812 | engines: 813 | node: '>= 0.6' 814 | resolution: 815 | integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== 816 | /raw-body/2.4.0: 817 | dependencies: 818 | bytes: 3.1.0 819 | http-errors: 1.7.2 820 | iconv-lite: 0.4.24 821 | unpipe: 1.0.0 822 | dev: false 823 | engines: 824 | node: '>= 0.8' 825 | resolution: 826 | integrity: sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q== 827 | /rc/1.2.8: 828 | dependencies: 829 | deep-extend: 0.6.0 830 | ini: 1.3.5 831 | minimist: 1.2.5 832 | strip-json-comments: 2.0.1 833 | dev: false 834 | hasBin: true 835 | resolution: 836 | integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== 837 | /readable-stream/2.3.7: 838 | dependencies: 839 | core-util-is: 1.0.2 840 | inherits: 2.0.4 841 | isarray: 1.0.0 842 | process-nextick-args: 2.0.1 843 | safe-buffer: 5.1.2 844 | string_decoder: 1.1.1 845 | util-deprecate: 1.0.2 846 | dev: false 847 | resolution: 848 | integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== 849 | /readable-stream/3.6.0: 850 | dependencies: 851 | inherits: 2.0.4 852 | string_decoder: 1.3.0 853 | util-deprecate: 1.0.2 854 | dev: false 855 | engines: 856 | node: '>= 6' 857 | resolution: 858 | integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== 859 | /safe-buffer/5.1.2: 860 | dev: false 861 | resolution: 862 | integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== 863 | /safe-buffer/5.2.1: 864 | dev: false 865 | resolution: 866 | integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== 867 | /safer-buffer/2.1.2: 868 | dev: false 869 | resolution: 870 | integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== 871 | /section-matter/1.0.0: 872 | dependencies: 873 | extend-shallow: 2.0.1 874 | kind-of: 6.0.3 875 | dev: false 876 | engines: 877 | node: '>=4' 878 | resolution: 879 | integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA== 880 | /semver/5.7.1: 881 | dev: false 882 | hasBin: true 883 | resolution: 884 | integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== 885 | /send/0.17.1: 886 | dependencies: 887 | debug: 2.6.9 888 | depd: 1.1.2 889 | destroy: 1.0.4 890 | encodeurl: 1.0.2 891 | escape-html: 1.0.3 892 | etag: 1.8.1 893 | fresh: 0.5.2 894 | http-errors: 1.7.3 895 | mime: 1.6.0 896 | ms: 2.1.1 897 | on-finished: 2.3.0 898 | range-parser: 1.2.1 899 | statuses: 1.5.0 900 | dev: false 901 | engines: 902 | node: '>= 0.8.0' 903 | resolution: 904 | integrity: sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg== 905 | /serve-static/1.14.1: 906 | dependencies: 907 | encodeurl: 1.0.2 908 | escape-html: 1.0.3 909 | parseurl: 1.3.3 910 | send: 0.17.1 911 | dev: false 912 | engines: 913 | node: '>= 0.8.0' 914 | resolution: 915 | integrity: sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== 916 | /set-blocking/2.0.0: 917 | dev: false 918 | resolution: 919 | integrity: sha1-BF+XgtARrppoA93TgrJDkrPYkPc= 920 | /setprototypeof/1.1.1: 921 | dev: false 922 | resolution: 923 | integrity: sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== 924 | /signal-exit/3.0.3: 925 | dev: false 926 | resolution: 927 | integrity: sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== 928 | /simple-concat/1.0.1: 929 | dev: false 930 | resolution: 931 | integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== 932 | /simple-get/3.1.0: 933 | dependencies: 934 | decompress-response: 4.2.1 935 | once: 1.4.0 936 | simple-concat: 1.0.1 937 | dev: false 938 | resolution: 939 | integrity: sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA== 940 | /sprintf-js/1.0.3: 941 | dev: false 942 | resolution: 943 | integrity: sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= 944 | /statuses/1.5.0: 945 | dev: false 946 | engines: 947 | node: '>= 0.6' 948 | resolution: 949 | integrity: sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= 950 | /string-width/1.0.2: 951 | dependencies: 952 | code-point-at: 1.1.0 953 | is-fullwidth-code-point: 1.0.0 954 | strip-ansi: 3.0.1 955 | dev: false 956 | engines: 957 | node: '>=0.10.0' 958 | resolution: 959 | integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= 960 | /string-width/2.1.1: 961 | dependencies: 962 | is-fullwidth-code-point: 2.0.0 963 | strip-ansi: 4.0.0 964 | dev: false 965 | engines: 966 | node: '>=4' 967 | resolution: 968 | integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== 969 | /string_decoder/1.1.1: 970 | dependencies: 971 | safe-buffer: 5.1.2 972 | dev: false 973 | resolution: 974 | integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== 975 | /string_decoder/1.3.0: 976 | dependencies: 977 | safe-buffer: 5.2.1 978 | dev: false 979 | resolution: 980 | integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== 981 | /strip-ansi/3.0.1: 982 | dependencies: 983 | ansi-regex: 2.1.1 984 | dev: false 985 | engines: 986 | node: '>=0.10.0' 987 | resolution: 988 | integrity: sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= 989 | /strip-ansi/4.0.0: 990 | dependencies: 991 | ansi-regex: 3.0.0 992 | dev: false 993 | engines: 994 | node: '>=4' 995 | resolution: 996 | integrity: sha1-qEeQIusaw2iocTibY1JixQXuNo8= 997 | /strip-bom-string/1.0.0: 998 | dev: false 999 | engines: 1000 | node: '>=0.10.0' 1001 | resolution: 1002 | integrity: sha1-5SEekiQ2n7uB1jOi8ABE3IztrZI= 1003 | /strip-json-comments/2.0.1: 1004 | dev: false 1005 | engines: 1006 | node: '>=0.10.0' 1007 | resolution: 1008 | integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo= 1009 | /supports-color/5.5.0: 1010 | dependencies: 1011 | has-flag: 3.0.0 1012 | dev: false 1013 | engines: 1014 | node: '>=4' 1015 | resolution: 1016 | integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== 1017 | /tar-fs/2.1.0: 1018 | dependencies: 1019 | chownr: 1.1.4 1020 | mkdirp-classic: 0.5.3 1021 | pump: 3.0.0 1022 | tar-stream: 2.1.4 1023 | dev: false 1024 | resolution: 1025 | integrity: sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg== 1026 | /tar-stream/2.1.4: 1027 | dependencies: 1028 | bl: 4.0.3 1029 | end-of-stream: 1.4.4 1030 | fs-constants: 1.0.0 1031 | inherits: 2.0.4 1032 | readable-stream: 3.6.0 1033 | dev: false 1034 | engines: 1035 | node: '>=6' 1036 | resolution: 1037 | integrity: sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw== 1038 | /tar/4.4.10: 1039 | dependencies: 1040 | chownr: 1.1.4 1041 | fs-minipass: 1.2.7 1042 | minipass: 2.9.0 1043 | minizlib: 1.3.3 1044 | mkdirp: 0.5.5 1045 | safe-buffer: 5.2.1 1046 | yallist: 3.1.1 1047 | dev: false 1048 | engines: 1049 | node: '>=4.5' 1050 | resolution: 1051 | integrity: sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA== 1052 | /toidentifier/1.0.0: 1053 | dev: false 1054 | engines: 1055 | node: '>=0.6' 1056 | resolution: 1057 | integrity: sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== 1058 | /tunnel-agent/0.6.0: 1059 | dependencies: 1060 | safe-buffer: 5.2.1 1061 | dev: false 1062 | resolution: 1063 | integrity: sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= 1064 | /type-is/1.6.18: 1065 | dependencies: 1066 | media-typer: 0.3.0 1067 | mime-types: 2.1.27 1068 | dev: false 1069 | engines: 1070 | node: '>= 0.6' 1071 | resolution: 1072 | integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== 1073 | /uc.micro/1.0.6: 1074 | dev: false 1075 | resolution: 1076 | integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== 1077 | /unpipe/1.0.0: 1078 | dev: false 1079 | engines: 1080 | node: '>= 0.8' 1081 | resolution: 1082 | integrity: sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= 1083 | /util-deprecate/1.0.2: 1084 | dev: false 1085 | resolution: 1086 | integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= 1087 | /utils-merge/1.0.1: 1088 | dev: false 1089 | engines: 1090 | node: '>= 0.4.0' 1091 | resolution: 1092 | integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= 1093 | /vary/1.1.2: 1094 | dev: false 1095 | engines: 1096 | node: '>= 0.8' 1097 | resolution: 1098 | integrity: sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= 1099 | /which-pm-runs/1.0.0: 1100 | dev: false 1101 | resolution: 1102 | integrity: sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= 1103 | /wide-align/1.1.3: 1104 | dependencies: 1105 | string-width: 2.1.1 1106 | dev: false 1107 | resolution: 1108 | integrity: sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== 1109 | /wrappy/1.0.2: 1110 | dev: false 1111 | resolution: 1112 | integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 1113 | /yallist/3.1.1: 1114 | dev: false 1115 | resolution: 1116 | integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== 1117 | registry: 'https://registry.npmjs.org/' 1118 | shrinkwrapMinorVersion: 9 1119 | shrinkwrapVersion: 3 1120 | specifiers: 1121 | animate.css: ^4.1.1 1122 | body-parser: ^1.19.0 1123 | ejs: ^3.1.5 1124 | express: ^4.17.1 1125 | gray-matter: ^4.0.2 1126 | highlight.js: ^10.2.0 1127 | highlightjs-cypher: ^1.1.0 1128 | markdown-it: ^11.0.1 1129 | markdown-it-emoji: ^1.4.0 1130 | markdown-it-highlight: ^0.2.0 1131 | markdown-it-highlightjs: ^3.2.0 1132 | quick.db: ^7.1.2 1133 | -------------------------------------------------------------------------------- /public/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v5.0.0-alpha1 (https://getbootstrap.com/) 3 | * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 5 | */ 6 | !(function(t, e) { 7 | "object" == typeof exports && "undefined" != typeof module 8 | ? (module.exports = e(require("popper.js"))) 9 | : "function" == typeof define && define.amd 10 | ? define(["popper.js"], e) 11 | : ((t = t || self).bootstrap = e(t.Popper)); 12 | })(this, function(t) { 13 | "use strict"; 14 | function e(t, e) { 15 | for (var n = 0; n < e.length; n++) { 16 | var i = e[n]; 17 | (i.enumerable = i.enumerable || !1), 18 | (i.configurable = !0), 19 | "value" in i && (i.writable = !0), 20 | Object.defineProperty(t, i.key, i); 21 | } 22 | } 23 | function n(t, n, i) { 24 | return n && e(t.prototype, n), i && e(t, i), t; 25 | } 26 | function i(t, e, n) { 27 | return ( 28 | e in t 29 | ? Object.defineProperty(t, e, { 30 | value: n, 31 | enumerable: !0, 32 | configurable: !0, 33 | writable: !0 34 | }) 35 | : (t[e] = n), 36 | t 37 | ); 38 | } 39 | function o(t, e) { 40 | var n = Object.keys(t); 41 | if (Object.getOwnPropertySymbols) { 42 | var i = Object.getOwnPropertySymbols(t); 43 | e && 44 | (i = i.filter(function(e) { 45 | return Object.getOwnPropertyDescriptor(t, e).enumerable; 46 | })), 47 | n.push.apply(n, i); 48 | } 49 | return n; 50 | } 51 | function s(t) { 52 | for (var e = 1; e < arguments.length; e++) { 53 | var n = null != arguments[e] ? arguments[e] : {}; 54 | e % 2 55 | ? o(Object(n), !0).forEach(function(e) { 56 | i(t, e, n[e]); 57 | }) 58 | : Object.getOwnPropertyDescriptors 59 | ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) 60 | : o(Object(n)).forEach(function(e) { 61 | Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e)); 62 | }); 63 | } 64 | return t; 65 | } 66 | t = t && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; 67 | var r, 68 | a, 69 | l, 70 | c, 71 | u = function(t) { 72 | do { 73 | t += Math.floor(1e6 * Math.random()); 74 | } while (document.getElementById(t)); 75 | return t; 76 | }, 77 | h = function(t) { 78 | var e = t.getAttribute("data-target"); 79 | if (!e || "#" === e) { 80 | var n = t.getAttribute("href"); 81 | e = n && "#" !== n ? n.trim() : null; 82 | } 83 | return e; 84 | }, 85 | f = function(t) { 86 | var e = h(t); 87 | return e && document.querySelector(e) ? e : null; 88 | }, 89 | d = function(t) { 90 | var e = h(t); 91 | return e ? document.querySelector(e) : null; 92 | }, 93 | g = function(t) { 94 | if (!t) return 0; 95 | var e = window.getComputedStyle(t), 96 | n = e.transitionDuration, 97 | i = e.transitionDelay, 98 | o = parseFloat(n), 99 | s = parseFloat(i); 100 | return o || s 101 | ? ((n = n.split(",")[0]), 102 | (i = i.split(",")[0]), 103 | 1e3 * (parseFloat(n) + parseFloat(i))) 104 | : 0; 105 | }, 106 | p = function(t) { 107 | t.dispatchEvent(new Event("transitionend")); 108 | }, 109 | m = function(t) { 110 | return (t[0] || t).nodeType; 111 | }, 112 | _ = function(t, e) { 113 | var n = !1, 114 | i = e + 5; 115 | t.addEventListener("transitionend", function e() { 116 | (n = !0), t.removeEventListener("transitionend", e); 117 | }), 118 | setTimeout(function() { 119 | n || p(t); 120 | }, i); 121 | }, 122 | v = function(t, e, n) { 123 | Object.keys(n).forEach(function(i) { 124 | var o, 125 | s = n[i], 126 | r = e[i], 127 | a = 128 | r && m(r) 129 | ? "element" 130 | : null == (o = r) 131 | ? "" + o 132 | : {}.toString 133 | .call(o) 134 | .match(/\s([a-z]+)/i)[1] 135 | .toLowerCase(); 136 | if (!new RegExp(s).test(a)) 137 | throw new Error( 138 | t.toUpperCase() + 139 | ': Option "' + 140 | i + 141 | '" provided type "' + 142 | a + 143 | '" but expected type "' + 144 | s + 145 | '".' 146 | ); 147 | }); 148 | }, 149 | b = function(t) { 150 | if (!t) return !1; 151 | if (t.style && t.parentNode && t.parentNode.style) { 152 | var e = getComputedStyle(t), 153 | n = getComputedStyle(t.parentNode); 154 | return ( 155 | "none" !== e.display && 156 | "none" !== n.display && 157 | "hidden" !== e.visibility 158 | ); 159 | } 160 | return !1; 161 | }, 162 | y = function() { 163 | return function() {}; 164 | }, 165 | w = function(t) { 166 | return t.offsetHeight; 167 | }, 168 | E = function() { 169 | var t = window.jQuery; 170 | return t && !document.body.hasAttribute("data-no-jquery") ? t : null; 171 | }, 172 | k = 173 | ((r = {}), 174 | (a = 1), 175 | { 176 | set: function(t, e, n) { 177 | void 0 === t.key && ((t.key = { key: e, id: a }), a++), 178 | (r[t.key.id] = n); 179 | }, 180 | get: function(t, e) { 181 | if (!t || void 0 === t.key) return null; 182 | var n = t.key; 183 | return n.key === e ? r[n.id] : null; 184 | }, 185 | delete: function(t, e) { 186 | if (void 0 !== t.key) { 187 | var n = t.key; 188 | n.key === e && (delete r[n.id], delete t.key); 189 | } 190 | } 191 | }), 192 | T = function(t, e, n) { 193 | k.set(t, e, n); 194 | }, 195 | L = function(t, e) { 196 | return k.get(t, e); 197 | }, 198 | C = function(t, e) { 199 | k.delete(t, e); 200 | }, 201 | A = Element.prototype.querySelectorAll, 202 | S = Element.prototype.querySelector, 203 | O = 204 | ((l = new CustomEvent("Bootstrap", { cancelable: !0 })), 205 | (c = document.createElement("div")).addEventListener( 206 | "Bootstrap", 207 | function() { 208 | return null; 209 | } 210 | ), 211 | l.preventDefault(), 212 | c.dispatchEvent(l), 213 | l.defaultPrevented), 214 | D = /:scope\b/; 215 | (function() { 216 | var t = document.createElement("div"); 217 | try { 218 | t.querySelectorAll(":scope *"); 219 | } catch (t) { 220 | return !1; 221 | } 222 | return !0; 223 | })() || 224 | ((A = function(t) { 225 | if (!D.test(t)) return this.querySelectorAll(t); 226 | var e = Boolean(this.id); 227 | e || (this.id = u("scope")); 228 | var n = null; 229 | try { 230 | (t = t.replace(D, "#" + this.id)), (n = this.querySelectorAll(t)); 231 | } finally { 232 | e || this.removeAttribute("id"); 233 | } 234 | return n; 235 | }), 236 | (S = function(t) { 237 | if (!D.test(t)) return this.querySelector(t); 238 | var e = A.call(this, t); 239 | return void 0 !== e[0] ? e[0] : null; 240 | })); 241 | var I = E(), 242 | N = /[^.]*(?=\..*)\.|.*/, 243 | j = /\..*/, 244 | P = /::\d+$/, 245 | x = {}, 246 | R = 1, 247 | H = { mouseenter: "mouseover", mouseleave: "mouseout" }, 248 | B = [ 249 | "click", 250 | "dblclick", 251 | "mouseup", 252 | "mousedown", 253 | "contextmenu", 254 | "mousewheel", 255 | "DOMMouseScroll", 256 | "mouseover", 257 | "mouseout", 258 | "mousemove", 259 | "selectstart", 260 | "selectend", 261 | "keydown", 262 | "keypress", 263 | "keyup", 264 | "orientationchange", 265 | "touchstart", 266 | "touchmove", 267 | "touchend", 268 | "touchcancel", 269 | "pointerdown", 270 | "pointermove", 271 | "pointerup", 272 | "pointerleave", 273 | "pointercancel", 274 | "gesturestart", 275 | "gesturechange", 276 | "gestureend", 277 | "focus", 278 | "blur", 279 | "change", 280 | "reset", 281 | "select", 282 | "submit", 283 | "focusin", 284 | "focusout", 285 | "load", 286 | "unload", 287 | "beforeunload", 288 | "resize", 289 | "move", 290 | "DOMContentLoaded", 291 | "readystatechange", 292 | "error", 293 | "abort", 294 | "scroll" 295 | ]; 296 | function M(t, e) { 297 | return (e && e + "::" + R++) || t.uidEvent || R++; 298 | } 299 | function Q(t) { 300 | var e = M(t); 301 | return (t.uidEvent = e), (x[e] = x[e] || {}), x[e]; 302 | } 303 | function U(t, e, n) { 304 | void 0 === n && (n = null); 305 | for (var i = Object.keys(t), o = 0, s = i.length; o < s; o++) { 306 | var r = t[i[o]]; 307 | if (r.originalHandler === e && r.delegationSelector === n) return r; 308 | } 309 | return null; 310 | } 311 | function F(t, e, n) { 312 | var i = "string" == typeof e, 313 | o = i ? n : e, 314 | s = t.replace(j, ""), 315 | r = H[s]; 316 | return r && (s = r), B.indexOf(s) > -1 || (s = t), [i, o, s]; 317 | } 318 | function W(t, e, n, i, o) { 319 | if ("string" == typeof e && t) { 320 | n || ((n = i), (i = null)); 321 | var s = F(e, n, i), 322 | r = s[0], 323 | a = s[1], 324 | l = s[2], 325 | c = Q(t), 326 | u = c[l] || (c[l] = {}), 327 | h = U(u, a, r ? n : null); 328 | if (h) h.oneOff = h.oneOff && o; 329 | else { 330 | var f = M(a, e.replace(N, "")), 331 | d = r 332 | ? (function(t, e, n) { 333 | return function i(o) { 334 | for ( 335 | var s = t.querySelectorAll(e), r = o.target; 336 | r && r !== this; 337 | r = r.parentNode 338 | ) 339 | for (var a = s.length; a--; ) 340 | if (s[a] === r) 341 | return i.oneOff && q.off(t, o.type, n), n.apply(r, [o]); 342 | return null; 343 | }; 344 | })(t, n, i) 345 | : (function(t, e) { 346 | return function n(i) { 347 | return n.oneOff && q.off(t, i.type, e), e.apply(t, [i]); 348 | }; 349 | })(t, n); 350 | (d.delegationSelector = r ? n : null), 351 | (d.originalHandler = a), 352 | (d.oneOff = o), 353 | (d.uidEvent = f), 354 | (u[f] = d), 355 | t.addEventListener(l, d, r); 356 | } 357 | } 358 | } 359 | function V(t, e, n, i, o) { 360 | var s = U(e[n], i, o); 361 | s && (t.removeEventListener(n, s, Boolean(o)), delete e[n][s.uidEvent]); 362 | } 363 | var q = { 364 | on: function(t, e, n, i) { 365 | W(t, e, n, i, !1); 366 | }, 367 | one: function(t, e, n, i) { 368 | W(t, e, n, i, !0); 369 | }, 370 | off: function(t, e, n, i) { 371 | if ("string" == typeof e && t) { 372 | var o = F(e, n, i), 373 | s = o[0], 374 | r = o[1], 375 | a = o[2], 376 | l = a !== e, 377 | c = Q(t), 378 | u = "." === e.charAt(0); 379 | if (void 0 === r) { 380 | u && 381 | Object.keys(c).forEach(function(n) { 382 | !(function(t, e, n, i) { 383 | var o = e[n] || {}; 384 | Object.keys(o).forEach(function(s) { 385 | if (s.indexOf(i) > -1) { 386 | var r = o[s]; 387 | V(t, e, n, r.originalHandler, r.delegationSelector); 388 | } 389 | }); 390 | })(t, c, n, e.slice(1)); 391 | }); 392 | var h = c[a] || {}; 393 | Object.keys(h).forEach(function(n) { 394 | var i = n.replace(P, ""); 395 | if (!l || e.indexOf(i) > -1) { 396 | var o = h[n]; 397 | V(t, c, a, o.originalHandler, o.delegationSelector); 398 | } 399 | }); 400 | } else { 401 | if (!c || !c[a]) return; 402 | V(t, c, a, r, s ? n : null); 403 | } 404 | } 405 | }, 406 | trigger: function(t, e, n) { 407 | if ("string" != typeof e || !t) return null; 408 | var i, 409 | o = e.replace(j, ""), 410 | s = e !== o, 411 | r = B.indexOf(o) > -1, 412 | a = !0, 413 | l = !0, 414 | c = !1, 415 | u = null; 416 | return ( 417 | s && 418 | I && 419 | ((i = I.Event(e, n)), 420 | I(t).trigger(i), 421 | (a = !i.isPropagationStopped()), 422 | (l = !i.isImmediatePropagationStopped()), 423 | (c = i.isDefaultPrevented())), 424 | r 425 | ? (u = document.createEvent("HTMLEvents")).initEvent(o, a, !0) 426 | : (u = new CustomEvent(e, { bubbles: a, cancelable: !0 })), 427 | void 0 !== n && 428 | Object.keys(n).forEach(function(t) { 429 | Object.defineProperty(u, t, { 430 | get: function() { 431 | return n[t]; 432 | } 433 | }); 434 | }), 435 | c && 436 | (u.preventDefault(), 437 | O || 438 | Object.defineProperty(u, "defaultPrevented", { 439 | get: function() { 440 | return !0; 441 | } 442 | })), 443 | l && t.dispatchEvent(u), 444 | u.defaultPrevented && void 0 !== i && i.preventDefault(), 445 | u 446 | ); 447 | } 448 | }, 449 | z = "alert", 450 | K = (function() { 451 | function t(t) { 452 | (this._element = t), this._element && T(t, "bs.alert", this); 453 | } 454 | var e = t.prototype; 455 | return ( 456 | (e.close = function(t) { 457 | var e = this._element; 458 | t && (e = this._getRootElement(t)); 459 | var n = this._triggerCloseEvent(e); 460 | null === n || n.defaultPrevented || this._removeElement(e); 461 | }), 462 | (e.dispose = function() { 463 | C(this._element, "bs.alert"), (this._element = null); 464 | }), 465 | (e._getRootElement = function(t) { 466 | return d(t) || t.closest(".alert"); 467 | }), 468 | (e._triggerCloseEvent = function(t) { 469 | return q.trigger(t, "close.bs.alert"); 470 | }), 471 | (e._removeElement = function(t) { 472 | var e = this; 473 | if ((t.classList.remove("show"), t.classList.contains("fade"))) { 474 | var n = g(t); 475 | q.one(t, "transitionend", function() { 476 | return e._destroyElement(t); 477 | }), 478 | _(t, n); 479 | } else this._destroyElement(t); 480 | }), 481 | (e._destroyElement = function(t) { 482 | t.parentNode && t.parentNode.removeChild(t), 483 | q.trigger(t, "closed.bs.alert"); 484 | }), 485 | (t.jQueryInterface = function(e) { 486 | return this.each(function() { 487 | var n = L(this, "bs.alert"); 488 | n || (n = new t(this)), "close" === e && n[e](this); 489 | }); 490 | }), 491 | (t.handleDismiss = function(t) { 492 | return function(e) { 493 | e && e.preventDefault(), t.close(this); 494 | }; 495 | }), 496 | (t.getInstance = function(t) { 497 | return L(t, "bs.alert"); 498 | }), 499 | n(t, null, [ 500 | { 501 | key: "VERSION", 502 | get: function() { 503 | return "5.0.0-alpha1"; 504 | } 505 | } 506 | ]), 507 | t 508 | ); 509 | })(); 510 | q.on( 511 | document, 512 | "click.bs.alert.data-api", 513 | '[data-dismiss="alert"]', 514 | K.handleDismiss(new K()) 515 | ); 516 | var X = E(); 517 | if (X) { 518 | var Y = X.fn[z]; 519 | (X.fn[z] = K.jQueryInterface), 520 | (X.fn[z].Constructor = K), 521 | (X.fn[z].noConflict = function() { 522 | return (X.fn[z] = Y), K.jQueryInterface; 523 | }); 524 | } 525 | var $ = (function() { 526 | function t(t) { 527 | (this._element = t), T(t, "bs.button", this); 528 | } 529 | var e = t.prototype; 530 | return ( 531 | (e.toggle = function() { 532 | this._element.setAttribute( 533 | "aria-pressed", 534 | this._element.classList.toggle("active") 535 | ); 536 | }), 537 | (e.dispose = function() { 538 | C(this._element, "bs.button"), (this._element = null); 539 | }), 540 | (t.jQueryInterface = function(e) { 541 | return this.each(function() { 542 | var n = L(this, "bs.button"); 543 | n || (n = new t(this)), "toggle" === e && n[e](); 544 | }); 545 | }), 546 | (t.getInstance = function(t) { 547 | return L(t, "bs.button"); 548 | }), 549 | n(t, null, [ 550 | { 551 | key: "VERSION", 552 | get: function() { 553 | return "5.0.0-alpha1"; 554 | } 555 | } 556 | ]), 557 | t 558 | ); 559 | })(); 560 | q.on(document, "click.bs.button.data-api", '[data-toggle="button"]', function( 561 | t 562 | ) { 563 | t.preventDefault(); 564 | var e = t.target.closest('[data-toggle="button"]'), 565 | n = L(e, "bs.button"); 566 | n || (n = new $(e)), n.toggle(); 567 | }); 568 | var G = E(); 569 | if (G) { 570 | var Z = G.fn.button; 571 | (G.fn.button = $.jQueryInterface), 572 | (G.fn.button.Constructor = $), 573 | (G.fn.button.noConflict = function() { 574 | return (G.fn.button = Z), $.jQueryInterface; 575 | }); 576 | } 577 | function J(t) { 578 | return ( 579 | "true" === t || 580 | ("false" !== t && 581 | (t === Number(t).toString() 582 | ? Number(t) 583 | : "" === t || "null" === t 584 | ? null 585 | : t)) 586 | ); 587 | } 588 | function tt(t) { 589 | return t.replace(/[A-Z]/g, function(t) { 590 | return "-" + t.toLowerCase(); 591 | }); 592 | } 593 | var et = { 594 | setDataAttribute: function(t, e, n) { 595 | t.setAttribute("data-" + tt(e), n); 596 | }, 597 | removeDataAttribute: function(t, e) { 598 | t.removeAttribute("data-" + tt(e)); 599 | }, 600 | getDataAttributes: function(t) { 601 | if (!t) return {}; 602 | var e = s({}, t.dataset); 603 | return ( 604 | Object.keys(e).forEach(function(t) { 605 | e[t] = J(e[t]); 606 | }), 607 | e 608 | ); 609 | }, 610 | getDataAttribute: function(t, e) { 611 | return J(t.getAttribute("data-" + tt(e))); 612 | }, 613 | offset: function(t) { 614 | var e = t.getBoundingClientRect(); 615 | return { 616 | top: e.top + document.body.scrollTop, 617 | left: e.left + document.body.scrollLeft 618 | }; 619 | }, 620 | position: function(t) { 621 | return { top: t.offsetTop, left: t.offsetLeft }; 622 | }, 623 | toggleClass: function(t, e) { 624 | t && 625 | (t.classList.contains(e) 626 | ? t.classList.remove(e) 627 | : t.classList.add(e)); 628 | } 629 | }, 630 | nt = { 631 | matches: function(t, e) { 632 | return t.matches(e); 633 | }, 634 | find: function(t, e) { 635 | var n; 636 | return ( 637 | void 0 === e && (e = document.documentElement), 638 | (n = []).concat.apply(n, A.call(e, t)) 639 | ); 640 | }, 641 | findOne: function(t, e) { 642 | return void 0 === e && (e = document.documentElement), S.call(e, t); 643 | }, 644 | children: function(t, e) { 645 | var n, 646 | i = (n = []).concat.apply(n, t.children); 647 | return i.filter(function(t) { 648 | return t.matches(e); 649 | }); 650 | }, 651 | parents: function(t, e) { 652 | for ( 653 | var n = [], i = t.parentNode; 654 | i && i.nodeType === Node.ELEMENT_NODE && 3 !== i.nodeType; 655 | 656 | ) 657 | this.matches(i, e) && n.push(i), (i = i.parentNode); 658 | return n; 659 | }, 660 | prev: function(t, e) { 661 | for (var n = t.previousElementSibling; n; ) { 662 | if (n.matches(e)) return [n]; 663 | n = n.previousElementSibling; 664 | } 665 | return []; 666 | }, 667 | next: function(t, e) { 668 | for (var n = t.nextElementSibling; n; ) { 669 | if (this.matches(n, e)) return [n]; 670 | n = n.nextElementSibling; 671 | } 672 | return []; 673 | } 674 | }, 675 | it = "carousel", 676 | ot = ".bs.carousel", 677 | st = { 678 | interval: 5e3, 679 | keyboard: !0, 680 | slide: !1, 681 | pause: "hover", 682 | wrap: !0, 683 | touch: !0 684 | }, 685 | rt = { 686 | interval: "(number|boolean)", 687 | keyboard: "boolean", 688 | slide: "(boolean|string)", 689 | pause: "(string|boolean)", 690 | wrap: "boolean", 691 | touch: "boolean" 692 | }, 693 | at = { TOUCH: "touch", PEN: "pen" }, 694 | lt = (function() { 695 | function t(t, e) { 696 | (this._items = null), 697 | (this._interval = null), 698 | (this._activeElement = null), 699 | (this._isPaused = !1), 700 | (this._isSliding = !1), 701 | (this.touchTimeout = null), 702 | (this.touchStartX = 0), 703 | (this.touchDeltaX = 0), 704 | (this._config = this._getConfig(e)), 705 | (this._element = t), 706 | (this._indicatorsElement = nt.findOne( 707 | ".carousel-indicators", 708 | this._element 709 | )), 710 | (this._touchSupported = 711 | "ontouchstart" in document.documentElement || 712 | navigator.maxTouchPoints > 0), 713 | (this._pointerEvent = Boolean(window.PointerEvent)), 714 | this._addEventListeners(), 715 | T(t, "bs.carousel", this); 716 | } 717 | var e = t.prototype; 718 | return ( 719 | (e.next = function() { 720 | this._isSliding || this._slide("next"); 721 | }), 722 | (e.nextWhenVisible = function() { 723 | !document.hidden && b(this._element) && this.next(); 724 | }), 725 | (e.prev = function() { 726 | this._isSliding || this._slide("prev"); 727 | }), 728 | (e.pause = function(t) { 729 | t || (this._isPaused = !0), 730 | nt.findOne( 731 | ".carousel-item-next, .carousel-item-prev", 732 | this._element 733 | ) && (p(this._element), this.cycle(!0)), 734 | clearInterval(this._interval), 735 | (this._interval = null); 736 | }), 737 | (e.cycle = function(t) { 738 | t || (this._isPaused = !1), 739 | this._interval && 740 | (clearInterval(this._interval), (this._interval = null)), 741 | this._config && 742 | this._config.interval && 743 | !this._isPaused && 744 | (this._interval = setInterval( 745 | (document.visibilityState 746 | ? this.nextWhenVisible 747 | : this.next 748 | ).bind(this), 749 | this._config.interval 750 | )); 751 | }), 752 | (e.to = function(t) { 753 | var e = this; 754 | this._activeElement = nt.findOne( 755 | ".active.carousel-item", 756 | this._element 757 | ); 758 | var n = this._getItemIndex(this._activeElement); 759 | if (!(t > this._items.length - 1 || t < 0)) 760 | if (this._isSliding) 761 | q.one(this._element, "slid.bs.carousel", function() { 762 | return e.to(t); 763 | }); 764 | else { 765 | if (n === t) return this.pause(), void this.cycle(); 766 | var i = t > n ? "next" : "prev"; 767 | this._slide(i, this._items[t]); 768 | } 769 | }), 770 | (e.dispose = function() { 771 | q.off(this._element, ot), 772 | C(this._element, "bs.carousel"), 773 | (this._items = null), 774 | (this._config = null), 775 | (this._element = null), 776 | (this._interval = null), 777 | (this._isPaused = null), 778 | (this._isSliding = null), 779 | (this._activeElement = null), 780 | (this._indicatorsElement = null); 781 | }), 782 | (e._getConfig = function(t) { 783 | return (t = s(s({}, st), t)), v(it, t, rt), t; 784 | }), 785 | (e._handleSwipe = function() { 786 | var t = Math.abs(this.touchDeltaX); 787 | if (!(t <= 40)) { 788 | var e = t / this.touchDeltaX; 789 | (this.touchDeltaX = 0), e > 0 && this.prev(), e < 0 && this.next(); 790 | } 791 | }), 792 | (e._addEventListeners = function() { 793 | var t = this; 794 | this._config.keyboard && 795 | q.on(this._element, "keydown.bs.carousel", function(e) { 796 | return t._keydown(e); 797 | }), 798 | "hover" === this._config.pause && 799 | (q.on(this._element, "mouseenter.bs.carousel", function(e) { 800 | return t.pause(e); 801 | }), 802 | q.on(this._element, "mouseleave.bs.carousel", function(e) { 803 | return t.cycle(e); 804 | })), 805 | this._config.touch && 806 | this._touchSupported && 807 | this._addTouchEventListeners(); 808 | }), 809 | (e._addTouchEventListeners = function() { 810 | var t = this, 811 | e = function(e) { 812 | t._pointerEvent && at[e.pointerType.toUpperCase()] 813 | ? (t.touchStartX = e.clientX) 814 | : t._pointerEvent || (t.touchStartX = e.touches[0].clientX); 815 | }, 816 | n = function(e) { 817 | t._pointerEvent && 818 | at[e.pointerType.toUpperCase()] && 819 | (t.touchDeltaX = e.clientX - t.touchStartX), 820 | t._handleSwipe(), 821 | "hover" === t._config.pause && 822 | (t.pause(), 823 | t.touchTimeout && clearTimeout(t.touchTimeout), 824 | (t.touchTimeout = setTimeout(function(e) { 825 | return t.cycle(e); 826 | }, 500 + t._config.interval))); 827 | }; 828 | nt.find(".carousel-item img", this._element).forEach(function(t) { 829 | q.on(t, "dragstart.bs.carousel", function(t) { 830 | return t.preventDefault(); 831 | }); 832 | }), 833 | this._pointerEvent 834 | ? (q.on(this._element, "pointerdown.bs.carousel", function(t) { 835 | return e(t); 836 | }), 837 | q.on(this._element, "pointerup.bs.carousel", function(t) { 838 | return n(t); 839 | }), 840 | this._element.classList.add("pointer-event")) 841 | : (q.on(this._element, "touchstart.bs.carousel", function(t) { 842 | return e(t); 843 | }), 844 | q.on(this._element, "touchmove.bs.carousel", function(e) { 845 | return (function(e) { 846 | e.touches && e.touches.length > 1 847 | ? (t.touchDeltaX = 0) 848 | : (t.touchDeltaX = e.touches[0].clientX - t.touchStartX); 849 | })(e); 850 | }), 851 | q.on(this._element, "touchend.bs.carousel", function(t) { 852 | return n(t); 853 | })); 854 | }), 855 | (e._keydown = function(t) { 856 | if (!/input|textarea/i.test(t.target.tagName)) 857 | switch (t.key) { 858 | case "ArrowLeft": 859 | t.preventDefault(), this.prev(); 860 | break; 861 | case "ArrowRight": 862 | t.preventDefault(), this.next(); 863 | } 864 | }), 865 | (e._getItemIndex = function(t) { 866 | return ( 867 | (this._items = 868 | t && t.parentNode ? nt.find(".carousel-item", t.parentNode) : []), 869 | this._items.indexOf(t) 870 | ); 871 | }), 872 | (e._getItemByDirection = function(t, e) { 873 | var n = "next" === t, 874 | i = "prev" === t, 875 | o = this._getItemIndex(e), 876 | s = this._items.length - 1; 877 | if (((i && 0 === o) || (n && o === s)) && !this._config.wrap) 878 | return e; 879 | var r = (o + ("prev" === t ? -1 : 1)) % this._items.length; 880 | return -1 === r 881 | ? this._items[this._items.length - 1] 882 | : this._items[r]; 883 | }), 884 | (e._triggerSlideEvent = function(t, e) { 885 | var n = this._getItemIndex(t), 886 | i = this._getItemIndex( 887 | nt.findOne(".active.carousel-item", this._element) 888 | ); 889 | return q.trigger(this._element, "slide.bs.carousel", { 890 | relatedTarget: t, 891 | direction: e, 892 | from: i, 893 | to: n 894 | }); 895 | }), 896 | (e._setActiveIndicatorElement = function(t) { 897 | if (this._indicatorsElement) { 898 | for ( 899 | var e = nt.find(".active", this._indicatorsElement), n = 0; 900 | n < e.length; 901 | n++ 902 | ) 903 | e[n].classList.remove("active"); 904 | var i = this._indicatorsElement.children[this._getItemIndex(t)]; 905 | i && i.classList.add("active"); 906 | } 907 | }), 908 | (e._slide = function(t, e) { 909 | var n, 910 | i, 911 | o, 912 | s = this, 913 | r = nt.findOne(".active.carousel-item", this._element), 914 | a = this._getItemIndex(r), 915 | l = e || (r && this._getItemByDirection(t, r)), 916 | c = this._getItemIndex(l), 917 | u = Boolean(this._interval); 918 | if ( 919 | ("next" === t 920 | ? ((n = "carousel-item-left"), 921 | (i = "carousel-item-next"), 922 | (o = "left")) 923 | : ((n = "carousel-item-right"), 924 | (i = "carousel-item-prev"), 925 | (o = "right")), 926 | l && l.classList.contains("active")) 927 | ) 928 | this._isSliding = !1; 929 | else if (!this._triggerSlideEvent(l, o).defaultPrevented && r && l) { 930 | if ( 931 | ((this._isSliding = !0), 932 | u && this.pause(), 933 | this._setActiveIndicatorElement(l), 934 | this._element.classList.contains("slide")) 935 | ) { 936 | l.classList.add(i), w(l), r.classList.add(n), l.classList.add(n); 937 | var h = parseInt(l.getAttribute("data-interval"), 10); 938 | h 939 | ? ((this._config.defaultInterval = 940 | this._config.defaultInterval || this._config.interval), 941 | (this._config.interval = h)) 942 | : (this._config.interval = 943 | this._config.defaultInterval || this._config.interval); 944 | var f = g(r); 945 | q.one(r, "transitionend", function() { 946 | l.classList.remove(n, i), 947 | l.classList.add("active"), 948 | r.classList.remove("active", i, n), 949 | (s._isSliding = !1), 950 | setTimeout(function() { 951 | q.trigger(s._element, "slid.bs.carousel", { 952 | relatedTarget: l, 953 | direction: o, 954 | from: a, 955 | to: c 956 | }); 957 | }, 0); 958 | }), 959 | _(r, f); 960 | } else 961 | r.classList.remove("active"), 962 | l.classList.add("active"), 963 | (this._isSliding = !1), 964 | q.trigger(this._element, "slid.bs.carousel", { 965 | relatedTarget: l, 966 | direction: o, 967 | from: a, 968 | to: c 969 | }); 970 | u && this.cycle(); 971 | } 972 | }), 973 | (t.carouselInterface = function(e, n) { 974 | var i = L(e, "bs.carousel"), 975 | o = s(s({}, st), et.getDataAttributes(e)); 976 | "object" == typeof n && (o = s(s({}, o), n)); 977 | var r = "string" == typeof n ? n : o.slide; 978 | if ((i || (i = new t(e, o)), "number" == typeof n)) i.to(n); 979 | else if ("string" == typeof r) { 980 | if (void 0 === i[r]) 981 | throw new TypeError('No method named "' + r + '"'); 982 | i[r](); 983 | } else o.interval && o.ride && (i.pause(), i.cycle()); 984 | }), 985 | (t.jQueryInterface = function(e) { 986 | return this.each(function() { 987 | t.carouselInterface(this, e); 988 | }); 989 | }), 990 | (t.dataApiClickHandler = function(e) { 991 | var n = d(this); 992 | if (n && n.classList.contains("carousel")) { 993 | var i = s( 994 | s({}, et.getDataAttributes(n)), 995 | et.getDataAttributes(this) 996 | ), 997 | o = this.getAttribute("data-slide-to"); 998 | o && (i.interval = !1), 999 | t.carouselInterface(n, i), 1000 | o && L(n, "bs.carousel").to(o), 1001 | e.preventDefault(); 1002 | } 1003 | }), 1004 | (t.getInstance = function(t) { 1005 | return L(t, "bs.carousel"); 1006 | }), 1007 | n(t, null, [ 1008 | { 1009 | key: "VERSION", 1010 | get: function() { 1011 | return "5.0.0-alpha1"; 1012 | } 1013 | }, 1014 | { 1015 | key: "Default", 1016 | get: function() { 1017 | return st; 1018 | } 1019 | } 1020 | ]), 1021 | t 1022 | ); 1023 | })(); 1024 | q.on( 1025 | document, 1026 | "click.bs.carousel.data-api", 1027 | "[data-slide], [data-slide-to]", 1028 | lt.dataApiClickHandler 1029 | ), 1030 | q.on(window, "load.bs.carousel.data-api", function() { 1031 | for ( 1032 | var t = nt.find('[data-ride="carousel"]'), e = 0, n = t.length; 1033 | e < n; 1034 | e++ 1035 | ) 1036 | lt.carouselInterface(t[e], L(t[e], "bs.carousel")); 1037 | }); 1038 | var ct = E(); 1039 | if (ct) { 1040 | var ut = ct.fn[it]; 1041 | (ct.fn[it] = lt.jQueryInterface), 1042 | (ct.fn[it].Constructor = lt), 1043 | (ct.fn[it].noConflict = function() { 1044 | return (ct.fn[it] = ut), lt.jQueryInterface; 1045 | }); 1046 | } 1047 | var ht = "collapse", 1048 | ft = { toggle: !0, parent: "" }, 1049 | dt = { toggle: "boolean", parent: "(string|element)" }, 1050 | gt = (function() { 1051 | function t(t, e) { 1052 | (this._isTransitioning = !1), 1053 | (this._element = t), 1054 | (this._config = this._getConfig(e)), 1055 | (this._triggerArray = nt.find( 1056 | '[data-toggle="collapse"][href="#' + 1057 | t.id + 1058 | '"],[data-toggle="collapse"][data-target="#' + 1059 | t.id + 1060 | '"]' 1061 | )); 1062 | for ( 1063 | var n = nt.find('[data-toggle="collapse"]'), i = 0, o = n.length; 1064 | i < o; 1065 | i++ 1066 | ) { 1067 | var s = n[i], 1068 | r = f(s), 1069 | a = nt.find(r).filter(function(e) { 1070 | return e === t; 1071 | }); 1072 | null !== r && 1073 | a.length && 1074 | ((this._selector = r), this._triggerArray.push(s)); 1075 | } 1076 | (this._parent = this._config.parent ? this._getParent() : null), 1077 | this._config.parent || 1078 | this._addAriaAndCollapsedClass(this._element, this._triggerArray), 1079 | this._config.toggle && this.toggle(), 1080 | T(t, "bs.collapse", this); 1081 | } 1082 | var e = t.prototype; 1083 | return ( 1084 | (e.toggle = function() { 1085 | this._element.classList.contains("show") ? this.hide() : this.show(); 1086 | }), 1087 | (e.show = function() { 1088 | var e = this; 1089 | if ( 1090 | !this._isTransitioning && 1091 | !this._element.classList.contains("show") 1092 | ) { 1093 | var n, i; 1094 | this._parent && 1095 | 0 === 1096 | (n = nt 1097 | .find(".show, .collapsing", this._parent) 1098 | .filter(function(t) { 1099 | return "string" == typeof e._config.parent 1100 | ? t.getAttribute("data-parent") === e._config.parent 1101 | : t.classList.contains("collapse"); 1102 | })).length && 1103 | (n = null); 1104 | var o = nt.findOne(this._selector); 1105 | if (n) { 1106 | var s = n.filter(function(t) { 1107 | return o !== t; 1108 | }); 1109 | if ( 1110 | (i = s[0] ? L(s[0], "bs.collapse") : null) && 1111 | i._isTransitioning 1112 | ) 1113 | return; 1114 | } 1115 | if ( 1116 | !q.trigger(this._element, "show.bs.collapse").defaultPrevented 1117 | ) { 1118 | n && 1119 | n.forEach(function(e) { 1120 | o !== e && t.collapseInterface(e, "hide"), 1121 | i || T(e, "bs.collapse", null); 1122 | }); 1123 | var r = this._getDimension(); 1124 | this._element.classList.remove("collapse"), 1125 | this._element.classList.add("collapsing"), 1126 | (this._element.style[r] = 0), 1127 | this._triggerArray.length && 1128 | this._triggerArray.forEach(function(t) { 1129 | t.classList.remove("collapsed"), 1130 | t.setAttribute("aria-expanded", !0); 1131 | }), 1132 | this.setTransitioning(!0); 1133 | var a = "scroll" + (r[0].toUpperCase() + r.slice(1)), 1134 | l = g(this._element); 1135 | q.one(this._element, "transitionend", function() { 1136 | e._element.classList.remove("collapsing"), 1137 | e._element.classList.add("collapse", "show"), 1138 | (e._element.style[r] = ""), 1139 | e.setTransitioning(!1), 1140 | q.trigger(e._element, "shown.bs.collapse"); 1141 | }), 1142 | _(this._element, l), 1143 | (this._element.style[r] = this._element[a] + "px"); 1144 | } 1145 | } 1146 | }), 1147 | (e.hide = function() { 1148 | var t = this; 1149 | if ( 1150 | !this._isTransitioning && 1151 | this._element.classList.contains("show") && 1152 | !q.trigger(this._element, "hide.bs.collapse").defaultPrevented 1153 | ) { 1154 | var e = this._getDimension(); 1155 | (this._element.style[e] = 1156 | this._element.getBoundingClientRect()[e] + "px"), 1157 | w(this._element), 1158 | this._element.classList.add("collapsing"), 1159 | this._element.classList.remove("collapse", "show"); 1160 | var n = this._triggerArray.length; 1161 | if (n > 0) 1162 | for (var i = 0; i < n; i++) { 1163 | var o = this._triggerArray[i], 1164 | s = d(o); 1165 | s && 1166 | !s.classList.contains("show") && 1167 | (o.classList.add("collapsed"), 1168 | o.setAttribute("aria-expanded", !1)); 1169 | } 1170 | this.setTransitioning(!0); 1171 | this._element.style[e] = ""; 1172 | var r = g(this._element); 1173 | q.one(this._element, "transitionend", function() { 1174 | t.setTransitioning(!1), 1175 | t._element.classList.remove("collapsing"), 1176 | t._element.classList.add("collapse"), 1177 | q.trigger(t._element, "hidden.bs.collapse"); 1178 | }), 1179 | _(this._element, r); 1180 | } 1181 | }), 1182 | (e.setTransitioning = function(t) { 1183 | this._isTransitioning = t; 1184 | }), 1185 | (e.dispose = function() { 1186 | C(this._element, "bs.collapse"), 1187 | (this._config = null), 1188 | (this._parent = null), 1189 | (this._element = null), 1190 | (this._triggerArray = null), 1191 | (this._isTransitioning = null); 1192 | }), 1193 | (e._getConfig = function(t) { 1194 | return ( 1195 | ((t = s(s({}, ft), t)).toggle = Boolean(t.toggle)), v(ht, t, dt), t 1196 | ); 1197 | }), 1198 | (e._getDimension = function() { 1199 | return this._element.classList.contains("width") ? "width" : "height"; 1200 | }), 1201 | (e._getParent = function() { 1202 | var t = this, 1203 | e = this._config.parent; 1204 | m(e) 1205 | ? (void 0 === e.jquery && void 0 === e[0]) || (e = e[0]) 1206 | : (e = nt.findOne(e)); 1207 | var n = '[data-toggle="collapse"][data-parent="' + e + '"]'; 1208 | return ( 1209 | nt.find(n, e).forEach(function(e) { 1210 | var n = d(e); 1211 | t._addAriaAndCollapsedClass(n, [e]); 1212 | }), 1213 | e 1214 | ); 1215 | }), 1216 | (e._addAriaAndCollapsedClass = function(t, e) { 1217 | if (t) { 1218 | var n = t.classList.contains("show"); 1219 | e.length && 1220 | e.forEach(function(t) { 1221 | n 1222 | ? t.classList.remove("collapsed") 1223 | : t.classList.add("collapsed"), 1224 | t.setAttribute("aria-expanded", n); 1225 | }); 1226 | } 1227 | }), 1228 | (t.collapseInterface = function(e, n) { 1229 | var i = L(e, "bs.collapse"), 1230 | o = s( 1231 | s(s({}, ft), et.getDataAttributes(e)), 1232 | "object" == typeof n && n ? n : {} 1233 | ); 1234 | if ( 1235 | (!i && 1236 | o.toggle && 1237 | "string" == typeof n && 1238 | /show|hide/.test(n) && 1239 | (o.toggle = !1), 1240 | i || (i = new t(e, o)), 1241 | "string" == typeof n) 1242 | ) { 1243 | if (void 0 === i[n]) 1244 | throw new TypeError('No method named "' + n + '"'); 1245 | i[n](); 1246 | } 1247 | }), 1248 | (t.jQueryInterface = function(e) { 1249 | return this.each(function() { 1250 | t.collapseInterface(this, e); 1251 | }); 1252 | }), 1253 | (t.getInstance = function(t) { 1254 | return L(t, "bs.collapse"); 1255 | }), 1256 | n(t, null, [ 1257 | { 1258 | key: "VERSION", 1259 | get: function() { 1260 | return "5.0.0-alpha1"; 1261 | } 1262 | }, 1263 | { 1264 | key: "Default", 1265 | get: function() { 1266 | return ft; 1267 | } 1268 | } 1269 | ]), 1270 | t 1271 | ); 1272 | })(); 1273 | q.on( 1274 | document, 1275 | "click.bs.collapse.data-api", 1276 | '[data-toggle="collapse"]', 1277 | function(t) { 1278 | "A" === t.target.tagName && t.preventDefault(); 1279 | var e = et.getDataAttributes(this), 1280 | n = f(this); 1281 | nt.find(n).forEach(function(t) { 1282 | var n, 1283 | i = L(t, "bs.collapse"); 1284 | i 1285 | ? (null === i._parent && 1286 | "string" == typeof e.parent && 1287 | ((i._config.parent = e.parent), (i._parent = i._getParent())), 1288 | (n = "toggle")) 1289 | : (n = e), 1290 | gt.collapseInterface(t, n); 1291 | }); 1292 | } 1293 | ); 1294 | var pt = E(); 1295 | if (pt) { 1296 | var mt = pt.fn[ht]; 1297 | (pt.fn[ht] = gt.jQueryInterface), 1298 | (pt.fn[ht].Constructor = gt), 1299 | (pt.fn[ht].noConflict = function() { 1300 | return (pt.fn[ht] = mt), gt.jQueryInterface; 1301 | }); 1302 | } 1303 | var _t = "dropdown", 1304 | vt = new RegExp("ArrowUp|ArrowDown|Escape"), 1305 | bt = { 1306 | offset: 0, 1307 | flip: !0, 1308 | boundary: "scrollParent", 1309 | reference: "toggle", 1310 | display: "dynamic", 1311 | popperConfig: null 1312 | }, 1313 | yt = { 1314 | offset: "(number|string|function)", 1315 | flip: "boolean", 1316 | boundary: "(string|element)", 1317 | reference: "(string|element)", 1318 | display: "string", 1319 | popperConfig: "(null|object)" 1320 | }, 1321 | wt = (function() { 1322 | function e(t, e) { 1323 | (this._element = t), 1324 | (this._popper = null), 1325 | (this._config = this._getConfig(e)), 1326 | (this._menu = this._getMenuElement()), 1327 | (this._inNavbar = this._detectNavbar()), 1328 | this._addEventListeners(), 1329 | T(t, "bs.dropdown", this); 1330 | } 1331 | var i = e.prototype; 1332 | return ( 1333 | (i.toggle = function() { 1334 | if ( 1335 | !this._element.disabled && 1336 | !this._element.classList.contains("disabled") 1337 | ) { 1338 | var t = this._element.classList.contains("show"); 1339 | e.clearMenus(), t || this.show(); 1340 | } 1341 | }), 1342 | (i.show = function() { 1343 | if ( 1344 | !( 1345 | this._element.disabled || 1346 | this._element.classList.contains("disabled") || 1347 | this._menu.classList.contains("show") 1348 | ) 1349 | ) { 1350 | var n = e.getParentFromElement(this._element), 1351 | i = { relatedTarget: this._element }; 1352 | if ( 1353 | !q.trigger(this._element, "show.bs.dropdown", i).defaultPrevented 1354 | ) { 1355 | if (!this._inNavbar) { 1356 | if (void 0 === t) 1357 | throw new TypeError( 1358 | "Bootstrap's dropdowns require Popper.js (https://popper.js.org)" 1359 | ); 1360 | var o = this._element; 1361 | "parent" === this._config.reference 1362 | ? (o = n) 1363 | : m(this._config.reference) && 1364 | ((o = this._config.reference), 1365 | void 0 !== this._config.reference.jquery && 1366 | (o = this._config.reference[0])), 1367 | "scrollParent" !== this._config.boundary && 1368 | n.classList.add("position-static"), 1369 | (this._popper = new t( 1370 | o, 1371 | this._menu, 1372 | this._getPopperConfig() 1373 | )); 1374 | } 1375 | var s; 1376 | if ( 1377 | "ontouchstart" in document.documentElement && 1378 | !n.closest(".navbar-nav") 1379 | ) 1380 | (s = []).concat 1381 | .apply(s, document.body.children) 1382 | .forEach(function(t) { 1383 | return q.on(t, "mouseover", null, function() {}); 1384 | }); 1385 | this._element.focus(), 1386 | this._element.setAttribute("aria-expanded", !0), 1387 | et.toggleClass(this._menu, "show"), 1388 | et.toggleClass(this._element, "show"), 1389 | q.trigger(n, "shown.bs.dropdown", i); 1390 | } 1391 | } 1392 | }), 1393 | (i.hide = function() { 1394 | if ( 1395 | !this._element.disabled && 1396 | !this._element.classList.contains("disabled") && 1397 | this._menu.classList.contains("show") 1398 | ) { 1399 | var t = e.getParentFromElement(this._element), 1400 | n = { relatedTarget: this._element }; 1401 | q.trigger(t, "hide.bs.dropdown", n).defaultPrevented || 1402 | (this._popper && this._popper.destroy(), 1403 | et.toggleClass(this._menu, "show"), 1404 | et.toggleClass(this._element, "show"), 1405 | q.trigger(t, "hidden.bs.dropdown", n)); 1406 | } 1407 | }), 1408 | (i.dispose = function() { 1409 | C(this._element, "bs.dropdown"), 1410 | q.off(this._element, ".bs.dropdown"), 1411 | (this._element = null), 1412 | (this._menu = null), 1413 | this._popper && (this._popper.destroy(), (this._popper = null)); 1414 | }), 1415 | (i.update = function() { 1416 | (this._inNavbar = this._detectNavbar()), 1417 | this._popper && this._popper.scheduleUpdate(); 1418 | }), 1419 | (i._addEventListeners = function() { 1420 | var t = this; 1421 | q.on(this._element, "click.bs.dropdown", function(e) { 1422 | e.preventDefault(), e.stopPropagation(), t.toggle(); 1423 | }); 1424 | }), 1425 | (i._getConfig = function(t) { 1426 | return ( 1427 | (t = s( 1428 | s( 1429 | s({}, this.constructor.Default), 1430 | et.getDataAttributes(this._element) 1431 | ), 1432 | t 1433 | )), 1434 | v(_t, t, this.constructor.DefaultType), 1435 | t 1436 | ); 1437 | }), 1438 | (i._getMenuElement = function() { 1439 | return nt.next(this._element, ".dropdown-menu")[0]; 1440 | }), 1441 | (i._getPlacement = function() { 1442 | var t = this._element.parentNode, 1443 | e = "bottom-start"; 1444 | return ( 1445 | t.classList.contains("dropup") 1446 | ? ((e = "top-start"), 1447 | this._menu.classList.contains("dropdown-menu-right") && 1448 | (e = "top-end")) 1449 | : t.classList.contains("dropright") 1450 | ? (e = "right-start") 1451 | : t.classList.contains("dropleft") 1452 | ? (e = "left-start") 1453 | : this._menu.classList.contains("dropdown-menu-right") && 1454 | (e = "bottom-end"), 1455 | e 1456 | ); 1457 | }), 1458 | (i._detectNavbar = function() { 1459 | return Boolean(this._element.closest(".navbar")); 1460 | }), 1461 | (i._getOffset = function() { 1462 | var t = this, 1463 | e = {}; 1464 | return ( 1465 | "function" == typeof this._config.offset 1466 | ? (e.fn = function(e) { 1467 | return ( 1468 | (e.offsets = s( 1469 | s({}, e.offsets), 1470 | t._config.offset(e.offsets, t._element) || {} 1471 | )), 1472 | e 1473 | ); 1474 | }) 1475 | : (e.offset = this._config.offset), 1476 | e 1477 | ); 1478 | }), 1479 | (i._getPopperConfig = function() { 1480 | var t = { 1481 | placement: this._getPlacement(), 1482 | modifiers: { 1483 | offset: this._getOffset(), 1484 | flip: { enabled: this._config.flip }, 1485 | preventOverflow: { boundariesElement: this._config.boundary } 1486 | } 1487 | }; 1488 | return ( 1489 | "static" === this._config.display && 1490 | (t.modifiers.applyStyle = { enabled: !1 }), 1491 | s(s({}, t), this._config.popperConfig) 1492 | ); 1493 | }), 1494 | (e.dropdownInterface = function(t, n) { 1495 | var i = L(t, "bs.dropdown"); 1496 | if ( 1497 | (i || (i = new e(t, "object" == typeof n ? n : null)), 1498 | "string" == typeof n) 1499 | ) { 1500 | if (void 0 === i[n]) 1501 | throw new TypeError('No method named "' + n + '"'); 1502 | i[n](); 1503 | } 1504 | }), 1505 | (e.jQueryInterface = function(t) { 1506 | return this.each(function() { 1507 | e.dropdownInterface(this, t); 1508 | }); 1509 | }), 1510 | (e.clearMenus = function(t) { 1511 | if (!t || (2 !== t.button && ("keyup" !== t.type || "Tab" === t.key))) 1512 | for ( 1513 | var n = nt.find('[data-toggle="dropdown"]'), i = 0, o = n.length; 1514 | i < o; 1515 | i++ 1516 | ) { 1517 | var s = e.getParentFromElement(n[i]), 1518 | r = L(n[i], "bs.dropdown"), 1519 | a = { relatedTarget: n[i] }; 1520 | if ((t && "click" === t.type && (a.clickEvent = t), r)) { 1521 | var l = r._menu; 1522 | if (n[i].classList.contains("show")) 1523 | if ( 1524 | !( 1525 | t && 1526 | (("click" === t.type && 1527 | /input|textarea/i.test(t.target.tagName)) || 1528 | ("keyup" === t.type && "Tab" === t.key)) && 1529 | l.contains(t.target) 1530 | ) 1531 | ) 1532 | if (!q.trigger(s, "hide.bs.dropdown", a).defaultPrevented) { 1533 | var c; 1534 | if ("ontouchstart" in document.documentElement) 1535 | (c = []).concat 1536 | .apply(c, document.body.children) 1537 | .forEach(function(t) { 1538 | return q.off(t, "mouseover", null, function() {}); 1539 | }); 1540 | n[i].setAttribute("aria-expanded", "false"), 1541 | r._popper && r._popper.destroy(), 1542 | l.classList.remove("show"), 1543 | n[i].classList.remove("show"), 1544 | q.trigger(s, "hidden.bs.dropdown", a); 1545 | } 1546 | } 1547 | } 1548 | }), 1549 | (e.getParentFromElement = function(t) { 1550 | return d(t) || t.parentNode; 1551 | }), 1552 | (e.dataApiKeydownHandler = function(t) { 1553 | if ( 1554 | !(/input|textarea/i.test(t.target.tagName) 1555 | ? "Space" === t.key || 1556 | ("Escape" !== t.key && 1557 | (("ArrowDown" !== t.key && "ArrowUp" !== t.key) || 1558 | t.target.closest(".dropdown-menu"))) 1559 | : !vt.test(t.key)) && 1560 | (t.preventDefault(), 1561 | t.stopPropagation(), 1562 | !this.disabled && !this.classList.contains("disabled")) 1563 | ) { 1564 | var n = e.getParentFromElement(this), 1565 | i = this.classList.contains("show"); 1566 | if ("Escape" === t.key) 1567 | return ( 1568 | (this.matches('[data-toggle="dropdown"]') 1569 | ? this 1570 | : nt.prev(this, '[data-toggle="dropdown"]')[0] 1571 | ).focus(), 1572 | void e.clearMenus() 1573 | ); 1574 | if (i && "Space" !== t.key) { 1575 | var o = nt 1576 | .find( 1577 | ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", 1578 | n 1579 | ) 1580 | .filter(b); 1581 | if (o.length) { 1582 | var s = o.indexOf(t.target); 1583 | "ArrowUp" === t.key && s > 0 && s--, 1584 | "ArrowDown" === t.key && s < o.length - 1 && s++, 1585 | o[(s = -1 === s ? 0 : s)].focus(); 1586 | } 1587 | } else e.clearMenus(); 1588 | } 1589 | }), 1590 | (e.getInstance = function(t) { 1591 | return L(t, "bs.dropdown"); 1592 | }), 1593 | n(e, null, [ 1594 | { 1595 | key: "VERSION", 1596 | get: function() { 1597 | return "5.0.0-alpha1"; 1598 | } 1599 | }, 1600 | { 1601 | key: "Default", 1602 | get: function() { 1603 | return bt; 1604 | } 1605 | }, 1606 | { 1607 | key: "DefaultType", 1608 | get: function() { 1609 | return yt; 1610 | } 1611 | } 1612 | ]), 1613 | e 1614 | ); 1615 | })(); 1616 | q.on( 1617 | document, 1618 | "keydown.bs.dropdown.data-api", 1619 | '[data-toggle="dropdown"]', 1620 | wt.dataApiKeydownHandler 1621 | ), 1622 | q.on( 1623 | document, 1624 | "keydown.bs.dropdown.data-api", 1625 | ".dropdown-menu", 1626 | wt.dataApiKeydownHandler 1627 | ), 1628 | q.on(document, "click.bs.dropdown.data-api", wt.clearMenus), 1629 | q.on(document, "keyup.bs.dropdown.data-api", wt.clearMenus), 1630 | q.on( 1631 | document, 1632 | "click.bs.dropdown.data-api", 1633 | '[data-toggle="dropdown"]', 1634 | function(t) { 1635 | t.preventDefault(), 1636 | t.stopPropagation(), 1637 | wt.dropdownInterface(this, "toggle"); 1638 | } 1639 | ), 1640 | q.on(document, "click.bs.dropdown.data-api", ".dropdown form", function(t) { 1641 | return t.stopPropagation(); 1642 | }); 1643 | var Et = E(); 1644 | if (Et) { 1645 | var kt = Et.fn[_t]; 1646 | (Et.fn[_t] = wt.jQueryInterface), 1647 | (Et.fn[_t].Constructor = wt), 1648 | (Et.fn[_t].noConflict = function() { 1649 | return (Et.fn[_t] = kt), wt.jQueryInterface; 1650 | }); 1651 | } 1652 | var Tt = { backdrop: !0, keyboard: !0, focus: !0, show: !0 }, 1653 | Lt = { 1654 | backdrop: "(boolean|string)", 1655 | keyboard: "boolean", 1656 | focus: "boolean", 1657 | show: "boolean" 1658 | }, 1659 | Ct = (function() { 1660 | function t(t, e) { 1661 | (this._config = this._getConfig(e)), 1662 | (this._element = t), 1663 | (this._dialog = nt.findOne(".modal-dialog", t)), 1664 | (this._backdrop = null), 1665 | (this._isShown = !1), 1666 | (this._isBodyOverflowing = !1), 1667 | (this._ignoreBackdropClick = !1), 1668 | (this._isTransitioning = !1), 1669 | (this._scrollbarWidth = 0), 1670 | T(t, "bs.modal", this); 1671 | } 1672 | var e = t.prototype; 1673 | return ( 1674 | (e.toggle = function(t) { 1675 | return this._isShown ? this.hide() : this.show(t); 1676 | }), 1677 | (e.show = function(t) { 1678 | var e = this; 1679 | if (!this._isShown && !this._isTransitioning) { 1680 | this._element.classList.contains("fade") && 1681 | (this._isTransitioning = !0); 1682 | var n = q.trigger(this._element, "show.bs.modal", { 1683 | relatedTarget: t 1684 | }); 1685 | this._isShown || 1686 | n.defaultPrevented || 1687 | ((this._isShown = !0), 1688 | this._checkScrollbar(), 1689 | this._setScrollbar(), 1690 | this._adjustDialog(), 1691 | this._setEscapeEvent(), 1692 | this._setResizeEvent(), 1693 | q.on( 1694 | this._element, 1695 | "click.dismiss.bs.modal", 1696 | '[data-dismiss="modal"]', 1697 | function(t) { 1698 | return e.hide(t); 1699 | } 1700 | ), 1701 | q.on(this._dialog, "mousedown.dismiss.bs.modal", function() { 1702 | q.one(e._element, "mouseup.dismiss.bs.modal", function(t) { 1703 | t.target === e._element && (e._ignoreBackdropClick = !0); 1704 | }); 1705 | }), 1706 | this._showBackdrop(function() { 1707 | return e._showElement(t); 1708 | })); 1709 | } 1710 | }), 1711 | (e.hide = function(t) { 1712 | var e = this; 1713 | if ( 1714 | (t && t.preventDefault(), 1715 | this._isShown && !this._isTransitioning) && 1716 | !q.trigger(this._element, "hide.bs.modal").defaultPrevented 1717 | ) { 1718 | this._isShown = !1; 1719 | var n = this._element.classList.contains("fade"); 1720 | if ( 1721 | (n && (this._isTransitioning = !0), 1722 | this._setEscapeEvent(), 1723 | this._setResizeEvent(), 1724 | q.off(document, "focusin.bs.modal"), 1725 | this._element.classList.remove("show"), 1726 | q.off(this._element, "click.dismiss.bs.modal"), 1727 | q.off(this._dialog, "mousedown.dismiss.bs.modal"), 1728 | n) 1729 | ) { 1730 | var i = g(this._element); 1731 | q.one(this._element, "transitionend", function(t) { 1732 | return e._hideModal(t); 1733 | }), 1734 | _(this._element, i); 1735 | } else this._hideModal(); 1736 | } 1737 | }), 1738 | (e.dispose = function() { 1739 | [window, this._element, this._dialog].forEach(function(t) { 1740 | return q.off(t, ".bs.modal"); 1741 | }), 1742 | q.off(document, "focusin.bs.modal"), 1743 | C(this._element, "bs.modal"), 1744 | (this._config = null), 1745 | (this._element = null), 1746 | (this._dialog = null), 1747 | (this._backdrop = null), 1748 | (this._isShown = null), 1749 | (this._isBodyOverflowing = null), 1750 | (this._ignoreBackdropClick = null), 1751 | (this._isTransitioning = null), 1752 | (this._scrollbarWidth = null); 1753 | }), 1754 | (e.handleUpdate = function() { 1755 | this._adjustDialog(); 1756 | }), 1757 | (e._getConfig = function(t) { 1758 | return (t = s(s({}, Tt), t)), v("modal", t, Lt), t; 1759 | }), 1760 | (e._showElement = function(t) { 1761 | var e = this, 1762 | n = this._element.classList.contains("fade"), 1763 | i = nt.findOne(".modal-body", this._dialog); 1764 | (this._element.parentNode && 1765 | this._element.parentNode.nodeType === Node.ELEMENT_NODE) || 1766 | document.body.appendChild(this._element), 1767 | (this._element.style.display = "block"), 1768 | this._element.removeAttribute("aria-hidden"), 1769 | this._element.setAttribute("aria-modal", !0), 1770 | this._element.setAttribute("role", "dialog"), 1771 | (this._element.scrollTop = 0), 1772 | i && (i.scrollTop = 0), 1773 | n && w(this._element), 1774 | this._element.classList.add("show"), 1775 | this._config.focus && this._enforceFocus(); 1776 | var o = function() { 1777 | e._config.focus && e._element.focus(), 1778 | (e._isTransitioning = !1), 1779 | q.trigger(e._element, "shown.bs.modal", { relatedTarget: t }); 1780 | }; 1781 | if (n) { 1782 | var s = g(this._dialog); 1783 | q.one(this._dialog, "transitionend", o), _(this._dialog, s); 1784 | } else o(); 1785 | }), 1786 | (e._enforceFocus = function() { 1787 | var t = this; 1788 | q.off(document, "focusin.bs.modal"), 1789 | q.on(document, "focusin.bs.modal", function(e) { 1790 | document === e.target || 1791 | t._element === e.target || 1792 | t._element.contains(e.target) || 1793 | t._element.focus(); 1794 | }); 1795 | }), 1796 | (e._setEscapeEvent = function() { 1797 | var t = this; 1798 | this._isShown 1799 | ? q.on(this._element, "keydown.dismiss.bs.modal", function(e) { 1800 | t._config.keyboard && "Escape" === e.key 1801 | ? (e.preventDefault(), t.hide()) 1802 | : t._config.keyboard || 1803 | "Escape" !== e.key || 1804 | t._triggerBackdropTransition(); 1805 | }) 1806 | : q.off(this._element, "keydown.dismiss.bs.modal"); 1807 | }), 1808 | (e._setResizeEvent = function() { 1809 | var t = this; 1810 | this._isShown 1811 | ? q.on(window, "resize.bs.modal", function() { 1812 | return t._adjustDialog(); 1813 | }) 1814 | : q.off(window, "resize.bs.modal"); 1815 | }), 1816 | (e._hideModal = function() { 1817 | var t = this; 1818 | (this._element.style.display = "none"), 1819 | this._element.setAttribute("aria-hidden", !0), 1820 | this._element.removeAttribute("aria-modal"), 1821 | this._element.removeAttribute("role"), 1822 | (this._isTransitioning = !1), 1823 | this._showBackdrop(function() { 1824 | document.body.classList.remove("modal-open"), 1825 | t._resetAdjustments(), 1826 | t._resetScrollbar(), 1827 | q.trigger(t._element, "hidden.bs.modal"); 1828 | }); 1829 | }), 1830 | (e._removeBackdrop = function() { 1831 | this._backdrop.parentNode.removeChild(this._backdrop), 1832 | (this._backdrop = null); 1833 | }), 1834 | (e._showBackdrop = function(t) { 1835 | var e = this, 1836 | n = this._element.classList.contains("fade") ? "fade" : ""; 1837 | if (this._isShown && this._config.backdrop) { 1838 | if ( 1839 | ((this._backdrop = document.createElement("div")), 1840 | (this._backdrop.className = "modal-backdrop"), 1841 | n && this._backdrop.classList.add(n), 1842 | document.body.appendChild(this._backdrop), 1843 | q.on(this._element, "click.dismiss.bs.modal", function(t) { 1844 | e._ignoreBackdropClick 1845 | ? (e._ignoreBackdropClick = !1) 1846 | : t.target === t.currentTarget && 1847 | e._triggerBackdropTransition(); 1848 | }), 1849 | n && w(this._backdrop), 1850 | this._backdrop.classList.add("show"), 1851 | !n) 1852 | ) 1853 | return void t(); 1854 | var i = g(this._backdrop); 1855 | q.one(this._backdrop, "transitionend", t), _(this._backdrop, i); 1856 | } else if (!this._isShown && this._backdrop) { 1857 | this._backdrop.classList.remove("show"); 1858 | var o = function() { 1859 | e._removeBackdrop(), t(); 1860 | }; 1861 | if (this._element.classList.contains("fade")) { 1862 | var s = g(this._backdrop); 1863 | q.one(this._backdrop, "transitionend", o), _(this._backdrop, s); 1864 | } else o(); 1865 | } else t(); 1866 | }), 1867 | (e._triggerBackdropTransition = function() { 1868 | var t = this; 1869 | if ("static" === this._config.backdrop) { 1870 | if ( 1871 | q.trigger(this._element, "hidePrevented.bs.modal") 1872 | .defaultPrevented 1873 | ) 1874 | return; 1875 | this._element.classList.add("modal-static"); 1876 | var e = g(this._element); 1877 | q.one(this._element, "transitionend", function() { 1878 | t._element.classList.remove("modal-static"); 1879 | }), 1880 | _(this._element, e), 1881 | this._element.focus(); 1882 | } else this.hide(); 1883 | }), 1884 | (e._adjustDialog = function() { 1885 | var t = 1886 | this._element.scrollHeight > document.documentElement.clientHeight; 1887 | !this._isBodyOverflowing && 1888 | t && 1889 | (this._element.style.paddingLeft = this._scrollbarWidth + "px"), 1890 | this._isBodyOverflowing && 1891 | !t && 1892 | (this._element.style.paddingRight = this._scrollbarWidth + "px"); 1893 | }), 1894 | (e._resetAdjustments = function() { 1895 | (this._element.style.paddingLeft = ""), 1896 | (this._element.style.paddingRight = ""); 1897 | }), 1898 | (e._checkScrollbar = function() { 1899 | var t = document.body.getBoundingClientRect(); 1900 | (this._isBodyOverflowing = 1901 | Math.round(t.left + t.right) < window.innerWidth), 1902 | (this._scrollbarWidth = this._getScrollbarWidth()); 1903 | }), 1904 | (e._setScrollbar = function() { 1905 | var t = this; 1906 | if (this._isBodyOverflowing) { 1907 | nt 1908 | .find(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top") 1909 | .forEach(function(e) { 1910 | var n = e.style.paddingRight, 1911 | i = window.getComputedStyle(e)["padding-right"]; 1912 | et.setDataAttribute(e, "padding-right", n), 1913 | (e.style.paddingRight = 1914 | parseFloat(i) + t._scrollbarWidth + "px"); 1915 | }), 1916 | nt.find(".sticky-top").forEach(function(e) { 1917 | var n = e.style.marginRight, 1918 | i = window.getComputedStyle(e)["margin-right"]; 1919 | et.setDataAttribute(e, "margin-right", n), 1920 | (e.style.marginRight = 1921 | parseFloat(i) - t._scrollbarWidth + "px"); 1922 | }); 1923 | var e = document.body.style.paddingRight, 1924 | n = window.getComputedStyle(document.body)["padding-right"]; 1925 | et.setDataAttribute(document.body, "padding-right", e), 1926 | (document.body.style.paddingRight = 1927 | parseFloat(n) + this._scrollbarWidth + "px"); 1928 | } 1929 | document.body.classList.add("modal-open"); 1930 | }), 1931 | (e._resetScrollbar = function() { 1932 | nt 1933 | .find(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top") 1934 | .forEach(function(t) { 1935 | var e = et.getDataAttribute(t, "padding-right"); 1936 | void 0 !== e && 1937 | (et.removeDataAttribute(t, "padding-right"), 1938 | (t.style.paddingRight = e)); 1939 | }), 1940 | nt.find(".sticky-top").forEach(function(t) { 1941 | var e = et.getDataAttribute(t, "margin-right"); 1942 | void 0 !== e && 1943 | (et.removeDataAttribute(t, "margin-right"), 1944 | (t.style.marginRight = e)); 1945 | }); 1946 | var t = et.getDataAttribute(document.body, "padding-right"); 1947 | void 0 === t 1948 | ? (document.body.style.paddingRight = "") 1949 | : (et.removeDataAttribute(document.body, "padding-right"), 1950 | (document.body.style.paddingRight = t)); 1951 | }), 1952 | (e._getScrollbarWidth = function() { 1953 | var t = document.createElement("div"); 1954 | (t.className = "modal-scrollbar-measure"), 1955 | document.body.appendChild(t); 1956 | var e = t.getBoundingClientRect().width - t.clientWidth; 1957 | return document.body.removeChild(t), e; 1958 | }), 1959 | (t.jQueryInterface = function(e, n) { 1960 | return this.each(function() { 1961 | var i = L(this, "bs.modal"), 1962 | o = s( 1963 | s(s({}, Tt), et.getDataAttributes(this)), 1964 | "object" == typeof e && e ? e : {} 1965 | ); 1966 | if ((i || (i = new t(this, o)), "string" == typeof e)) { 1967 | if (void 0 === i[e]) 1968 | throw new TypeError('No method named "' + e + '"'); 1969 | i[e](n); 1970 | } else o.show && i.show(n); 1971 | }); 1972 | }), 1973 | (t.getInstance = function(t) { 1974 | return L(t, "bs.modal"); 1975 | }), 1976 | n(t, null, [ 1977 | { 1978 | key: "VERSION", 1979 | get: function() { 1980 | return "5.0.0-alpha1"; 1981 | } 1982 | }, 1983 | { 1984 | key: "Default", 1985 | get: function() { 1986 | return Tt; 1987 | } 1988 | } 1989 | ]), 1990 | t 1991 | ); 1992 | })(); 1993 | q.on(document, "click.bs.modal.data-api", '[data-toggle="modal"]', function( 1994 | t 1995 | ) { 1996 | var e = this, 1997 | n = d(this); 1998 | ("A" !== this.tagName && "AREA" !== this.tagName) || t.preventDefault(), 1999 | q.one(n, "show.bs.modal", function(t) { 2000 | t.defaultPrevented || 2001 | q.one(n, "hidden.bs.modal", function() { 2002 | b(e) && e.focus(); 2003 | }); 2004 | }); 2005 | var i = L(n, "bs.modal"); 2006 | if (!i) { 2007 | var o = s(s({}, et.getDataAttributes(n)), et.getDataAttributes(this)); 2008 | i = new Ct(n, o); 2009 | } 2010 | i.show(this); 2011 | }); 2012 | var At = E(); 2013 | if (At) { 2014 | var St = At.fn.modal; 2015 | (At.fn.modal = Ct.jQueryInterface), 2016 | (At.fn.modal.Constructor = Ct), 2017 | (At.fn.modal.noConflict = function() { 2018 | return (At.fn.modal = St), Ct.jQueryInterface; 2019 | }); 2020 | } 2021 | var Ot = [ 2022 | "background", 2023 | "cite", 2024 | "href", 2025 | "itemtype", 2026 | "longdesc", 2027 | "poster", 2028 | "src", 2029 | "xlink:href" 2030 | ], 2031 | Dt = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi, 2032 | It = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i, 2033 | Nt = { 2034 | "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], 2035 | a: ["target", "href", "title", "rel"], 2036 | area: [], 2037 | b: [], 2038 | br: [], 2039 | col: [], 2040 | code: [], 2041 | div: [], 2042 | em: [], 2043 | hr: [], 2044 | h1: [], 2045 | h2: [], 2046 | h3: [], 2047 | h4: [], 2048 | h5: [], 2049 | h6: [], 2050 | i: [], 2051 | img: ["src", "srcset", "alt", "title", "width", "height"], 2052 | li: [], 2053 | ol: [], 2054 | p: [], 2055 | pre: [], 2056 | s: [], 2057 | small: [], 2058 | span: [], 2059 | sub: [], 2060 | sup: [], 2061 | strong: [], 2062 | u: [], 2063 | ul: [] 2064 | }; 2065 | function jt(t, e, n) { 2066 | var i; 2067 | if (!t.length) return t; 2068 | if (n && "function" == typeof n) return n(t); 2069 | for ( 2070 | var o = new window.DOMParser().parseFromString(t, "text/html"), 2071 | s = Object.keys(e), 2072 | r = (i = []).concat.apply(i, o.body.querySelectorAll("*")), 2073 | a = function(t, n) { 2074 | var i, 2075 | o = r[t], 2076 | a = o.nodeName.toLowerCase(); 2077 | if (-1 === s.indexOf(a)) 2078 | return o.parentNode.removeChild(o), "continue"; 2079 | var l = (i = []).concat.apply(i, o.attributes), 2080 | c = [].concat(e["*"] || [], e[a] || []); 2081 | l.forEach(function(t) { 2082 | (function(t, e) { 2083 | var n = t.nodeName.toLowerCase(); 2084 | if (-1 !== e.indexOf(n)) 2085 | return ( 2086 | -1 === Ot.indexOf(n) || 2087 | Boolean(t.nodeValue.match(Dt) || t.nodeValue.match(It)) 2088 | ); 2089 | for ( 2090 | var i = e.filter(function(t) { 2091 | return t instanceof RegExp; 2092 | }), 2093 | o = 0, 2094 | s = i.length; 2095 | o < s; 2096 | o++ 2097 | ) 2098 | if (n.match(i[o])) return !0; 2099 | return !1; 2100 | })(t, c) || o.removeAttribute(t.nodeName); 2101 | }); 2102 | }, 2103 | l = 0, 2104 | c = r.length; 2105 | l < c; 2106 | l++ 2107 | ) 2108 | a(l); 2109 | return o.body.innerHTML; 2110 | } 2111 | var Pt = "tooltip", 2112 | xt = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), 2113 | Rt = ["sanitize", "whiteList", "sanitizeFn"], 2114 | Ht = { 2115 | animation: "boolean", 2116 | template: "string", 2117 | title: "(string|element|function)", 2118 | trigger: "string", 2119 | delay: "(number|object)", 2120 | html: "boolean", 2121 | selector: "(string|boolean)", 2122 | placement: "(string|function)", 2123 | offset: "(number|string|function)", 2124 | container: "(string|element|boolean)", 2125 | fallbackPlacement: "(string|array)", 2126 | boundary: "(string|element)", 2127 | sanitize: "boolean", 2128 | sanitizeFn: "(null|function)", 2129 | whiteList: "object", 2130 | popperConfig: "(null|object)" 2131 | }, 2132 | Bt = { 2133 | AUTO: "auto", 2134 | TOP: "top", 2135 | RIGHT: "right", 2136 | BOTTOM: "bottom", 2137 | LEFT: "left" 2138 | }, 2139 | Mt = { 2140 | animation: !0, 2141 | template: 2142 | '', 2143 | trigger: "hover focus", 2144 | title: "", 2145 | delay: 0, 2146 | html: !1, 2147 | selector: !1, 2148 | placement: "top", 2149 | offset: 0, 2150 | container: !1, 2151 | fallbackPlacement: "flip", 2152 | boundary: "scrollParent", 2153 | sanitize: !0, 2154 | sanitizeFn: null, 2155 | whiteList: Nt, 2156 | popperConfig: null 2157 | }, 2158 | Qt = { 2159 | HIDE: "hide.bs.tooltip", 2160 | HIDDEN: "hidden.bs.tooltip", 2161 | SHOW: "show.bs.tooltip", 2162 | SHOWN: "shown.bs.tooltip", 2163 | INSERTED: "inserted.bs.tooltip", 2164 | CLICK: "click.bs.tooltip", 2165 | FOCUSIN: "focusin.bs.tooltip", 2166 | FOCUSOUT: "focusout.bs.tooltip", 2167 | MOUSEENTER: "mouseenter.bs.tooltip", 2168 | MOUSELEAVE: "mouseleave.bs.tooltip" 2169 | }, 2170 | Ut = (function() { 2171 | function e(e, n) { 2172 | if (void 0 === t) 2173 | throw new TypeError( 2174 | "Bootstrap's tooltips require Popper.js (https://popper.js.org)" 2175 | ); 2176 | (this._isEnabled = !0), 2177 | (this._timeout = 0), 2178 | (this._hoverState = ""), 2179 | (this._activeTrigger = {}), 2180 | (this._popper = null), 2181 | (this.element = e), 2182 | (this.config = this._getConfig(n)), 2183 | (this.tip = null), 2184 | this._setListeners(), 2185 | T(e, this.constructor.DATA_KEY, this); 2186 | } 2187 | var i = e.prototype; 2188 | return ( 2189 | (i.enable = function() { 2190 | this._isEnabled = !0; 2191 | }), 2192 | (i.disable = function() { 2193 | this._isEnabled = !1; 2194 | }), 2195 | (i.toggleEnabled = function() { 2196 | this._isEnabled = !this._isEnabled; 2197 | }), 2198 | (i.toggle = function(t) { 2199 | if (this._isEnabled) 2200 | if (t) { 2201 | var e = this.constructor.DATA_KEY, 2202 | n = L(t.target, e); 2203 | n || 2204 | ((n = new this.constructor( 2205 | t.target, 2206 | this._getDelegateConfig() 2207 | )), 2208 | T(t.target, e, n)), 2209 | (n._activeTrigger.click = !n._activeTrigger.click), 2210 | n._isWithActiveTrigger() 2211 | ? n._enter(null, n) 2212 | : n._leave(null, n); 2213 | } else { 2214 | if (this.getTipElement().classList.contains("show")) 2215 | return void this._leave(null, this); 2216 | this._enter(null, this); 2217 | } 2218 | }), 2219 | (i.dispose = function() { 2220 | clearTimeout(this._timeout), 2221 | C(this.element, this.constructor.DATA_KEY), 2222 | q.off(this.element, this.constructor.EVENT_KEY), 2223 | q.off( 2224 | this.element.closest(".modal"), 2225 | "hide.bs.modal", 2226 | this._hideModalHandler 2227 | ), 2228 | this.tip && this.tip.parentNode.removeChild(this.tip), 2229 | (this._isEnabled = null), 2230 | (this._timeout = null), 2231 | (this._hoverState = null), 2232 | (this._activeTrigger = null), 2233 | this._popper && this._popper.destroy(), 2234 | (this._popper = null), 2235 | (this.element = null), 2236 | (this.config = null), 2237 | (this.tip = null); 2238 | }), 2239 | (i.show = function() { 2240 | var e = this; 2241 | if ("none" === this.element.style.display) 2242 | throw new Error("Please use show on visible elements"); 2243 | if (this.isWithContent() && this._isEnabled) { 2244 | var n = q.trigger(this.element, this.constructor.Event.SHOW), 2245 | i = (function t(e) { 2246 | if (!document.documentElement.attachShadow) return null; 2247 | if ("function" == typeof e.getRootNode) { 2248 | var n = e.getRootNode(); 2249 | return n instanceof ShadowRoot ? n : null; 2250 | } 2251 | return e instanceof ShadowRoot 2252 | ? e 2253 | : e.parentNode 2254 | ? t(e.parentNode) 2255 | : null; 2256 | })(this.element), 2257 | o = 2258 | null === i 2259 | ? this.element.ownerDocument.documentElement.contains( 2260 | this.element 2261 | ) 2262 | : i.contains(this.element); 2263 | if (n.defaultPrevented || !o) return; 2264 | var s = this.getTipElement(), 2265 | r = u(this.constructor.NAME); 2266 | s.setAttribute("id", r), 2267 | this.element.setAttribute("aria-describedby", r), 2268 | this.setContent(), 2269 | this.config.animation && s.classList.add("fade"); 2270 | var a = 2271 | "function" == typeof this.config.placement 2272 | ? this.config.placement.call(this, s, this.element) 2273 | : this.config.placement, 2274 | l = this._getAttachment(a); 2275 | this._addAttachmentClass(l); 2276 | var c, 2277 | h = this._getContainer(); 2278 | if ( 2279 | (T(s, this.constructor.DATA_KEY, this), 2280 | this.element.ownerDocument.documentElement.contains(this.tip) || 2281 | h.appendChild(s), 2282 | q.trigger(this.element, this.constructor.Event.INSERTED), 2283 | (this._popper = new t(this.element, s, this._getPopperConfig(l))), 2284 | s.classList.add("show"), 2285 | "ontouchstart" in document.documentElement) 2286 | ) 2287 | (c = []).concat 2288 | .apply(c, document.body.children) 2289 | .forEach(function(t) { 2290 | q.on(t, "mouseover", function() {}); 2291 | }); 2292 | var f = function() { 2293 | e.config.animation && e._fixTransition(); 2294 | var t = e._hoverState; 2295 | (e._hoverState = null), 2296 | q.trigger(e.element, e.constructor.Event.SHOWN), 2297 | "out" === t && e._leave(null, e); 2298 | }; 2299 | if (this.tip.classList.contains("fade")) { 2300 | var d = g(this.tip); 2301 | q.one(this.tip, "transitionend", f), _(this.tip, d); 2302 | } else f(); 2303 | } 2304 | }), 2305 | (i.hide = function() { 2306 | var t = this, 2307 | e = this.getTipElement(), 2308 | n = function() { 2309 | "show" !== t._hoverState && 2310 | e.parentNode && 2311 | e.parentNode.removeChild(e), 2312 | t._cleanTipClass(), 2313 | t.element.removeAttribute("aria-describedby"), 2314 | q.trigger(t.element, t.constructor.Event.HIDDEN), 2315 | t._popper.destroy(); 2316 | }; 2317 | if ( 2318 | !q.trigger(this.element, this.constructor.Event.HIDE) 2319 | .defaultPrevented 2320 | ) { 2321 | var i; 2322 | if ( 2323 | (e.classList.remove("show"), 2324 | "ontouchstart" in document.documentElement) 2325 | ) 2326 | (i = []).concat 2327 | .apply(i, document.body.children) 2328 | .forEach(function(t) { 2329 | return q.off(t, "mouseover", y); 2330 | }); 2331 | if ( 2332 | ((this._activeTrigger.click = !1), 2333 | (this._activeTrigger.focus = !1), 2334 | (this._activeTrigger.hover = !1), 2335 | this.tip.classList.contains("fade")) 2336 | ) { 2337 | var o = g(e); 2338 | q.one(e, "transitionend", n), _(e, o); 2339 | } else n(); 2340 | this._hoverState = ""; 2341 | } 2342 | }), 2343 | (i.update = function() { 2344 | null !== this._popper && this._popper.scheduleUpdate(); 2345 | }), 2346 | (i.isWithContent = function() { 2347 | return Boolean(this.getTitle()); 2348 | }), 2349 | (i.getTipElement = function() { 2350 | if (this.tip) return this.tip; 2351 | var t = document.createElement("div"); 2352 | return ( 2353 | (t.innerHTML = this.config.template), 2354 | (this.tip = t.children[0]), 2355 | this.tip 2356 | ); 2357 | }), 2358 | (i.setContent = function() { 2359 | var t = this.getTipElement(); 2360 | this.setElementContent( 2361 | nt.findOne(".tooltip-inner", t), 2362 | this.getTitle() 2363 | ), 2364 | t.classList.remove("fade", "show"); 2365 | }), 2366 | (i.setElementContent = function(t, e) { 2367 | if (null !== t) 2368 | return "object" == typeof e && m(e) 2369 | ? (e.jquery && (e = e[0]), 2370 | void (this.config.html 2371 | ? e.parentNode !== t && ((t.innerHTML = ""), t.appendChild(e)) 2372 | : (t.textContent = e.textContent))) 2373 | : void (this.config.html 2374 | ? (this.config.sanitize && 2375 | (e = jt( 2376 | e, 2377 | this.config.whiteList, 2378 | this.config.sanitizeFn 2379 | )), 2380 | (t.innerHTML = e)) 2381 | : (t.textContent = e)); 2382 | }), 2383 | (i.getTitle = function() { 2384 | var t = this.element.getAttribute("data-original-title"); 2385 | return ( 2386 | t || 2387 | (t = 2388 | "function" == typeof this.config.title 2389 | ? this.config.title.call(this.element) 2390 | : this.config.title), 2391 | t 2392 | ); 2393 | }), 2394 | (i._getPopperConfig = function(t) { 2395 | var e = this; 2396 | return s( 2397 | s( 2398 | {}, 2399 | { 2400 | placement: t, 2401 | modifiers: { 2402 | offset: this._getOffset(), 2403 | flip: { behavior: this.config.fallbackPlacement }, 2404 | arrow: { element: "." + this.constructor.NAME + "-arrow" }, 2405 | preventOverflow: { boundariesElement: this.config.boundary } 2406 | }, 2407 | onCreate: function(t) { 2408 | t.originalPlacement !== t.placement && 2409 | e._handlePopperPlacementChange(t); 2410 | }, 2411 | onUpdate: function(t) { 2412 | return e._handlePopperPlacementChange(t); 2413 | } 2414 | } 2415 | ), 2416 | this.config.popperConfig 2417 | ); 2418 | }), 2419 | (i._addAttachmentClass = function(t) { 2420 | this.getTipElement().classList.add("bs-tooltip-" + t); 2421 | }), 2422 | (i._getOffset = function() { 2423 | var t = this, 2424 | e = {}; 2425 | return ( 2426 | "function" == typeof this.config.offset 2427 | ? (e.fn = function(e) { 2428 | return ( 2429 | (e.offsets = s( 2430 | s({}, e.offsets), 2431 | t.config.offset(e.offsets, t.element) || {} 2432 | )), 2433 | e 2434 | ); 2435 | }) 2436 | : (e.offset = this.config.offset), 2437 | e 2438 | ); 2439 | }), 2440 | (i._getContainer = function() { 2441 | return !1 === this.config.container 2442 | ? document.body 2443 | : m(this.config.container) 2444 | ? this.config.container 2445 | : nt.findOne(this.config.container); 2446 | }), 2447 | (i._getAttachment = function(t) { 2448 | return Bt[t.toUpperCase()]; 2449 | }), 2450 | (i._setListeners = function() { 2451 | var t = this; 2452 | this.config.trigger.split(" ").forEach(function(e) { 2453 | if ("click" === e) 2454 | q.on( 2455 | t.element, 2456 | t.constructor.Event.CLICK, 2457 | t.config.selector, 2458 | function(e) { 2459 | return t.toggle(e); 2460 | } 2461 | ); 2462 | else if ("manual" !== e) { 2463 | var n = 2464 | "hover" === e 2465 | ? t.constructor.Event.MOUSEENTER 2466 | : t.constructor.Event.FOCUSIN, 2467 | i = 2468 | "hover" === e 2469 | ? t.constructor.Event.MOUSELEAVE 2470 | : t.constructor.Event.FOCUSOUT; 2471 | q.on(t.element, n, t.config.selector, function(e) { 2472 | return t._enter(e); 2473 | }), 2474 | q.on(t.element, i, t.config.selector, function(e) { 2475 | return t._leave(e); 2476 | }); 2477 | } 2478 | }), 2479 | (this._hideModalHandler = function() { 2480 | t.element && t.hide(); 2481 | }), 2482 | q.on( 2483 | this.element.closest(".modal"), 2484 | "hide.bs.modal", 2485 | this._hideModalHandler 2486 | ), 2487 | this.config.selector 2488 | ? (this.config = s( 2489 | s({}, this.config), 2490 | {}, 2491 | { trigger: "manual", selector: "" } 2492 | )) 2493 | : this._fixTitle(); 2494 | }), 2495 | (i._fixTitle = function() { 2496 | var t = typeof this.element.getAttribute("data-original-title"); 2497 | (this.element.getAttribute("title") || "string" !== t) && 2498 | (this.element.setAttribute( 2499 | "data-original-title", 2500 | this.element.getAttribute("title") || "" 2501 | ), 2502 | this.element.setAttribute("title", "")); 2503 | }), 2504 | (i._enter = function(t, e) { 2505 | var n = this.constructor.DATA_KEY; 2506 | (e = e || L(t.target, n)) || 2507 | ((e = new this.constructor(t.target, this._getDelegateConfig())), 2508 | T(t.target, n, e)), 2509 | t && 2510 | (e._activeTrigger["focusin" === t.type ? "focus" : "hover"] = !0), 2511 | e.getTipElement().classList.contains("show") || 2512 | "show" === e._hoverState 2513 | ? (e._hoverState = "show") 2514 | : (clearTimeout(e._timeout), 2515 | (e._hoverState = "show"), 2516 | e.config.delay && e.config.delay.show 2517 | ? (e._timeout = setTimeout(function() { 2518 | "show" === e._hoverState && e.show(); 2519 | }, e.config.delay.show)) 2520 | : e.show()); 2521 | }), 2522 | (i._leave = function(t, e) { 2523 | var n = this.constructor.DATA_KEY; 2524 | (e = e || L(t.target, n)) || 2525 | ((e = new this.constructor(t.target, this._getDelegateConfig())), 2526 | T(t.target, n, e)), 2527 | t && 2528 | (e._activeTrigger[ 2529 | "focusout" === t.type ? "focus" : "hover" 2530 | ] = !1), 2531 | e._isWithActiveTrigger() || 2532 | (clearTimeout(e._timeout), 2533 | (e._hoverState = "out"), 2534 | e.config.delay && e.config.delay.hide 2535 | ? (e._timeout = setTimeout(function() { 2536 | "out" === e._hoverState && e.hide(); 2537 | }, e.config.delay.hide)) 2538 | : e.hide()); 2539 | }), 2540 | (i._isWithActiveTrigger = function() { 2541 | for (var t in this._activeTrigger) 2542 | if (this._activeTrigger[t]) return !0; 2543 | return !1; 2544 | }), 2545 | (i._getConfig = function(t) { 2546 | var e = et.getDataAttributes(this.element); 2547 | return ( 2548 | Object.keys(e).forEach(function(t) { 2549 | -1 !== Rt.indexOf(t) && delete e[t]; 2550 | }), 2551 | t && 2552 | "object" == typeof t.container && 2553 | t.container.jquery && 2554 | (t.container = t.container[0]), 2555 | "number" == 2556 | typeof (t = s( 2557 | s(s({}, this.constructor.Default), e), 2558 | "object" == typeof t && t ? t : {} 2559 | )).delay && (t.delay = { show: t.delay, hide: t.delay }), 2560 | "number" == typeof t.title && (t.title = t.title.toString()), 2561 | "number" == typeof t.content && (t.content = t.content.toString()), 2562 | v(Pt, t, this.constructor.DefaultType), 2563 | t.sanitize && 2564 | (t.template = jt(t.template, t.whiteList, t.sanitizeFn)), 2565 | t 2566 | ); 2567 | }), 2568 | (i._getDelegateConfig = function() { 2569 | var t = {}; 2570 | if (this.config) 2571 | for (var e in this.config) 2572 | this.constructor.Default[e] !== this.config[e] && 2573 | (t[e] = this.config[e]); 2574 | return t; 2575 | }), 2576 | (i._cleanTipClass = function() { 2577 | var t = this.getTipElement(), 2578 | e = t.getAttribute("class").match(xt); 2579 | null !== e && 2580 | e.length > 0 && 2581 | e 2582 | .map(function(t) { 2583 | return t.trim(); 2584 | }) 2585 | .forEach(function(e) { 2586 | return t.classList.remove(e); 2587 | }); 2588 | }), 2589 | (i._handlePopperPlacementChange = function(t) { 2590 | var e = t.instance; 2591 | (this.tip = e.popper), 2592 | this._cleanTipClass(), 2593 | this._addAttachmentClass(this._getAttachment(t.placement)); 2594 | }), 2595 | (i._fixTransition = function() { 2596 | var t = this.getTipElement(), 2597 | e = this.config.animation; 2598 | null === t.getAttribute("x-placement") && 2599 | (t.classList.remove("fade"), 2600 | (this.config.animation = !1), 2601 | this.hide(), 2602 | this.show(), 2603 | (this.config.animation = e)); 2604 | }), 2605 | (e.jQueryInterface = function(t) { 2606 | return this.each(function() { 2607 | var n = L(this, "bs.tooltip"), 2608 | i = "object" == typeof t && t; 2609 | if ( 2610 | (n || !/dispose|hide/.test(t)) && 2611 | (n || (n = new e(this, i)), "string" == typeof t) 2612 | ) { 2613 | if (void 0 === n[t]) 2614 | throw new TypeError('No method named "' + t + '"'); 2615 | n[t](); 2616 | } 2617 | }); 2618 | }), 2619 | (e.getInstance = function(t) { 2620 | return L(t, "bs.tooltip"); 2621 | }), 2622 | n(e, null, [ 2623 | { 2624 | key: "VERSION", 2625 | get: function() { 2626 | return "5.0.0-alpha1"; 2627 | } 2628 | }, 2629 | { 2630 | key: "Default", 2631 | get: function() { 2632 | return Mt; 2633 | } 2634 | }, 2635 | { 2636 | key: "NAME", 2637 | get: function() { 2638 | return Pt; 2639 | } 2640 | }, 2641 | { 2642 | key: "DATA_KEY", 2643 | get: function() { 2644 | return "bs.tooltip"; 2645 | } 2646 | }, 2647 | { 2648 | key: "Event", 2649 | get: function() { 2650 | return Qt; 2651 | } 2652 | }, 2653 | { 2654 | key: "EVENT_KEY", 2655 | get: function() { 2656 | return ".bs.tooltip"; 2657 | } 2658 | }, 2659 | { 2660 | key: "DefaultType", 2661 | get: function() { 2662 | return Ht; 2663 | } 2664 | } 2665 | ]), 2666 | e 2667 | ); 2668 | })(), 2669 | Ft = E(); 2670 | if (Ft) { 2671 | var Wt = Ft.fn[Pt]; 2672 | (Ft.fn[Pt] = Ut.jQueryInterface), 2673 | (Ft.fn[Pt].Constructor = Ut), 2674 | (Ft.fn[Pt].noConflict = function() { 2675 | return (Ft.fn[Pt] = Wt), Ut.jQueryInterface; 2676 | }); 2677 | } 2678 | var Vt = "popover", 2679 | qt = new RegExp("(^|\\s)bs-popover\\S+", "g"), 2680 | zt = s( 2681 | s({}, Ut.Default), 2682 | {}, 2683 | { 2684 | placement: "right", 2685 | trigger: "click", 2686 | content: "", 2687 | template: 2688 | '' 2689 | } 2690 | ), 2691 | Kt = s(s({}, Ut.DefaultType), {}, { content: "(string|element|function)" }), 2692 | Xt = { 2693 | HIDE: "hide.bs.popover", 2694 | HIDDEN: "hidden.bs.popover", 2695 | SHOW: "show.bs.popover", 2696 | SHOWN: "shown.bs.popover", 2697 | INSERTED: "inserted.bs.popover", 2698 | CLICK: "click.bs.popover", 2699 | FOCUSIN: "focusin.bs.popover", 2700 | FOCUSOUT: "focusout.bs.popover", 2701 | MOUSEENTER: "mouseenter.bs.popover", 2702 | MOUSELEAVE: "mouseleave.bs.popover" 2703 | }, 2704 | Yt = (function(t) { 2705 | var e, i; 2706 | function o() { 2707 | return t.apply(this, arguments) || this; 2708 | } 2709 | (i = t), 2710 | ((e = o).prototype = Object.create(i.prototype)), 2711 | (e.prototype.constructor = e), 2712 | (e.__proto__ = i); 2713 | var s = o.prototype; 2714 | return ( 2715 | (s.isWithContent = function() { 2716 | return this.getTitle() || this._getContent(); 2717 | }), 2718 | (s.setContent = function() { 2719 | var t = this.getTipElement(); 2720 | this.setElementContent( 2721 | nt.findOne(".popover-header", t), 2722 | this.getTitle() 2723 | ); 2724 | var e = this._getContent(); 2725 | "function" == typeof e && (e = e.call(this.element)), 2726 | this.setElementContent(nt.findOne(".popover-body", t), e), 2727 | t.classList.remove("fade", "show"); 2728 | }), 2729 | (s._addAttachmentClass = function(t) { 2730 | this.getTipElement().classList.add("bs-popover-" + t); 2731 | }), 2732 | (s._getContent = function() { 2733 | return ( 2734 | this.element.getAttribute("data-content") || this.config.content 2735 | ); 2736 | }), 2737 | (s._cleanTipClass = function() { 2738 | var t = this.getTipElement(), 2739 | e = t.getAttribute("class").match(qt); 2740 | null !== e && 2741 | e.length > 0 && 2742 | e 2743 | .map(function(t) { 2744 | return t.trim(); 2745 | }) 2746 | .forEach(function(e) { 2747 | return t.classList.remove(e); 2748 | }); 2749 | }), 2750 | (o.jQueryInterface = function(t) { 2751 | return this.each(function() { 2752 | var e = L(this, "bs.popover"), 2753 | n = "object" == typeof t ? t : null; 2754 | if ( 2755 | (e || !/dispose|hide/.test(t)) && 2756 | (e || ((e = new o(this, n)), T(this, "bs.popover", e)), 2757 | "string" == typeof t) 2758 | ) { 2759 | if (void 0 === e[t]) 2760 | throw new TypeError('No method named "' + t + '"'); 2761 | e[t](); 2762 | } 2763 | }); 2764 | }), 2765 | (o.getInstance = function(t) { 2766 | return L(t, "bs.popover"); 2767 | }), 2768 | n(o, null, [ 2769 | { 2770 | key: "VERSION", 2771 | get: function() { 2772 | return "5.0.0-alpha1"; 2773 | } 2774 | }, 2775 | { 2776 | key: "Default", 2777 | get: function() { 2778 | return zt; 2779 | } 2780 | }, 2781 | { 2782 | key: "NAME", 2783 | get: function() { 2784 | return Vt; 2785 | } 2786 | }, 2787 | { 2788 | key: "DATA_KEY", 2789 | get: function() { 2790 | return "bs.popover"; 2791 | } 2792 | }, 2793 | { 2794 | key: "Event", 2795 | get: function() { 2796 | return Xt; 2797 | } 2798 | }, 2799 | { 2800 | key: "EVENT_KEY", 2801 | get: function() { 2802 | return ".bs.popover"; 2803 | } 2804 | }, 2805 | { 2806 | key: "DefaultType", 2807 | get: function() { 2808 | return Kt; 2809 | } 2810 | } 2811 | ]), 2812 | o 2813 | ); 2814 | })(Ut), 2815 | $t = E(); 2816 | if ($t) { 2817 | var Gt = $t.fn[Vt]; 2818 | ($t.fn[Vt] = Yt.jQueryInterface), 2819 | ($t.fn[Vt].Constructor = Yt), 2820 | ($t.fn[Vt].noConflict = function() { 2821 | return ($t.fn[Vt] = Gt), Yt.jQueryInterface; 2822 | }); 2823 | } 2824 | var Zt = "scrollspy", 2825 | Jt = { offset: 10, method: "auto", target: "" }, 2826 | te = { offset: "number", method: "string", target: "(string|element)" }, 2827 | ee = (function() { 2828 | function t(t, e) { 2829 | var n = this; 2830 | (this._element = t), 2831 | (this._scrollElement = "BODY" === t.tagName ? window : t), 2832 | (this._config = this._getConfig(e)), 2833 | (this._selector = 2834 | this._config.target + 2835 | " .nav-link," + 2836 | this._config.target + 2837 | " .list-group-item," + 2838 | this._config.target + 2839 | " .dropdown-item"), 2840 | (this._offsets = []), 2841 | (this._targets = []), 2842 | (this._activeTarget = null), 2843 | (this._scrollHeight = 0), 2844 | q.on(this._scrollElement, "scroll.bs.scrollspy", function(t) { 2845 | return n._process(t); 2846 | }), 2847 | this.refresh(), 2848 | this._process(), 2849 | T(t, "bs.scrollspy", this); 2850 | } 2851 | var e = t.prototype; 2852 | return ( 2853 | (e.refresh = function() { 2854 | var t = this, 2855 | e = 2856 | this._scrollElement === this._scrollElement.window 2857 | ? "offset" 2858 | : "position", 2859 | n = "auto" === this._config.method ? e : this._config.method, 2860 | i = "position" === n ? this._getScrollTop() : 0; 2861 | (this._offsets = []), 2862 | (this._targets = []), 2863 | (this._scrollHeight = this._getScrollHeight()), 2864 | nt 2865 | .find(this._selector) 2866 | .map(function(t) { 2867 | var e, 2868 | o = f(t); 2869 | if ((o && (e = nt.findOne(o)), e)) { 2870 | var s = e.getBoundingClientRect(); 2871 | if (s.width || s.height) return [et[n](e).top + i, o]; 2872 | } 2873 | return null; 2874 | }) 2875 | .filter(function(t) { 2876 | return t; 2877 | }) 2878 | .sort(function(t, e) { 2879 | return t[0] - e[0]; 2880 | }) 2881 | .forEach(function(e) { 2882 | t._offsets.push(e[0]), t._targets.push(e[1]); 2883 | }); 2884 | }), 2885 | (e.dispose = function() { 2886 | C(this._element, "bs.scrollspy"), 2887 | q.off(this._scrollElement, ".bs.scrollspy"), 2888 | (this._element = null), 2889 | (this._scrollElement = null), 2890 | (this._config = null), 2891 | (this._selector = null), 2892 | (this._offsets = null), 2893 | (this._targets = null), 2894 | (this._activeTarget = null), 2895 | (this._scrollHeight = null); 2896 | }), 2897 | (e._getConfig = function(t) { 2898 | if ( 2899 | "string" != 2900 | typeof (t = s(s({}, Jt), "object" == typeof t && t ? t : {})) 2901 | .target && 2902 | m(t.target) 2903 | ) { 2904 | var e = t.target.id; 2905 | e || ((e = u(Zt)), (t.target.id = e)), (t.target = "#" + e); 2906 | } 2907 | return v(Zt, t, te), t; 2908 | }), 2909 | (e._getScrollTop = function() { 2910 | return this._scrollElement === window 2911 | ? this._scrollElement.pageYOffset 2912 | : this._scrollElement.scrollTop; 2913 | }), 2914 | (e._getScrollHeight = function() { 2915 | return ( 2916 | this._scrollElement.scrollHeight || 2917 | Math.max( 2918 | document.body.scrollHeight, 2919 | document.documentElement.scrollHeight 2920 | ) 2921 | ); 2922 | }), 2923 | (e._getOffsetHeight = function() { 2924 | return this._scrollElement === window 2925 | ? window.innerHeight 2926 | : this._scrollElement.getBoundingClientRect().height; 2927 | }), 2928 | (e._process = function() { 2929 | var t = this._getScrollTop() + this._config.offset, 2930 | e = this._getScrollHeight(), 2931 | n = this._config.offset + e - this._getOffsetHeight(); 2932 | if ((this._scrollHeight !== e && this.refresh(), t >= n)) { 2933 | var i = this._targets[this._targets.length - 1]; 2934 | this._activeTarget !== i && this._activate(i); 2935 | } else { 2936 | if ( 2937 | this._activeTarget && 2938 | t < this._offsets[0] && 2939 | this._offsets[0] > 0 2940 | ) 2941 | return (this._activeTarget = null), void this._clear(); 2942 | for (var o = this._offsets.length; o--; ) { 2943 | this._activeTarget !== this._targets[o] && 2944 | t >= this._offsets[o] && 2945 | (void 0 === this._offsets[o + 1] || t < this._offsets[o + 1]) && 2946 | this._activate(this._targets[o]); 2947 | } 2948 | } 2949 | }), 2950 | (e._activate = function(t) { 2951 | (this._activeTarget = t), this._clear(); 2952 | var e = this._selector.split(",").map(function(e) { 2953 | return ( 2954 | e + '[data-target="' + t + '"],' + e + '[href="' + t + '"]' 2955 | ); 2956 | }), 2957 | n = nt.findOne(e.join(",")); 2958 | n.classList.contains("dropdown-item") 2959 | ? (nt 2960 | .findOne(".dropdown-toggle", n.closest(".dropdown")) 2961 | .classList.add("active"), 2962 | n.classList.add("active")) 2963 | : (n.classList.add("active"), 2964 | nt.parents(n, ".nav, .list-group").forEach(function(t) { 2965 | nt.prev(t, ".nav-link, .list-group-item").forEach(function(t) { 2966 | return t.classList.add("active"); 2967 | }), 2968 | nt.prev(t, ".nav-item").forEach(function(t) { 2969 | nt.children(t, ".nav-link").forEach(function(t) { 2970 | return t.classList.add("active"); 2971 | }); 2972 | }); 2973 | })), 2974 | q.trigger(this._scrollElement, "activate.bs.scrollspy", { 2975 | relatedTarget: t 2976 | }); 2977 | }), 2978 | (e._clear = function() { 2979 | nt.find(this._selector) 2980 | .filter(function(t) { 2981 | return t.classList.contains("active"); 2982 | }) 2983 | .forEach(function(t) { 2984 | return t.classList.remove("active"); 2985 | }); 2986 | }), 2987 | (t.jQueryInterface = function(e) { 2988 | return this.each(function() { 2989 | var n = L(this, "bs.scrollspy"); 2990 | if ( 2991 | (n || (n = new t(this, "object" == typeof e && e)), 2992 | "string" == typeof e) 2993 | ) { 2994 | if (void 0 === n[e]) 2995 | throw new TypeError('No method named "' + e + '"'); 2996 | n[e](); 2997 | } 2998 | }); 2999 | }), 3000 | (t.getInstance = function(t) { 3001 | return L(t, "bs.scrollspy"); 3002 | }), 3003 | n(t, null, [ 3004 | { 3005 | key: "VERSION", 3006 | get: function() { 3007 | return "5.0.0-alpha1"; 3008 | } 3009 | }, 3010 | { 3011 | key: "Default", 3012 | get: function() { 3013 | return Jt; 3014 | } 3015 | } 3016 | ]), 3017 | t 3018 | ); 3019 | })(); 3020 | q.on(window, "load.bs.scrollspy.data-api", function() { 3021 | nt.find('[data-spy="scroll"]').forEach(function(t) { 3022 | return new ee(t, et.getDataAttributes(t)); 3023 | }); 3024 | }); 3025 | var ne = E(); 3026 | if (ne) { 3027 | var ie = ne.fn[Zt]; 3028 | (ne.fn[Zt] = ee.jQueryInterface), 3029 | (ne.fn[Zt].Constructor = ee), 3030 | (ne.fn[Zt].noConflict = function() { 3031 | return (ne.fn[Zt] = ie), ee.jQueryInterface; 3032 | }); 3033 | } 3034 | var oe = (function() { 3035 | function t(t) { 3036 | (this._element = t), T(this._element, "bs.tab", this); 3037 | } 3038 | var e = t.prototype; 3039 | return ( 3040 | (e.show = function() { 3041 | var t = this; 3042 | if ( 3043 | !( 3044 | (this._element.parentNode && 3045 | this._element.parentNode.nodeType === Node.ELEMENT_NODE && 3046 | this._element.classList.contains("active")) || 3047 | this._element.classList.contains("disabled") 3048 | ) 3049 | ) { 3050 | var e, 3051 | n = d(this._element), 3052 | i = this._element.closest(".nav, .list-group"); 3053 | if (i) { 3054 | var o = 3055 | "UL" === i.nodeName || "OL" === i.nodeName 3056 | ? ":scope > li > .active" 3057 | : ".active"; 3058 | e = (e = nt.find(o, i))[e.length - 1]; 3059 | } 3060 | var s = null; 3061 | if ( 3062 | (e && 3063 | (s = q.trigger(e, "hide.bs.tab", { 3064 | relatedTarget: this._element 3065 | })), 3066 | !( 3067 | q.trigger(this._element, "show.bs.tab", { relatedTarget: e }) 3068 | .defaultPrevented || 3069 | (null !== s && s.defaultPrevented) 3070 | )) 3071 | ) { 3072 | this._activate(this._element, i); 3073 | var r = function() { 3074 | q.trigger(e, "hidden.bs.tab", { relatedTarget: t._element }), 3075 | q.trigger(t._element, "shown.bs.tab", { relatedTarget: e }); 3076 | }; 3077 | n ? this._activate(n, n.parentNode, r) : r(); 3078 | } 3079 | } 3080 | }), 3081 | (e.dispose = function() { 3082 | C(this._element, "bs.tab"), (this._element = null); 3083 | }), 3084 | (e._activate = function(t, e, n) { 3085 | var i = this, 3086 | o = (!e || ("UL" !== e.nodeName && "OL" !== e.nodeName) 3087 | ? nt.children(e, ".active") 3088 | : nt.find(":scope > li > .active", e))[0], 3089 | s = n && o && o.classList.contains("fade"), 3090 | r = function() { 3091 | return i._transitionComplete(t, o, n); 3092 | }; 3093 | if (o && s) { 3094 | var a = g(o); 3095 | o.classList.remove("show"), q.one(o, "transitionend", r), _(o, a); 3096 | } else r(); 3097 | }), 3098 | (e._transitionComplete = function(t, e, n) { 3099 | if (e) { 3100 | e.classList.remove("active"); 3101 | var i = nt.findOne(":scope > .dropdown-menu .active", e.parentNode); 3102 | i && i.classList.remove("active"), 3103 | "tab" === e.getAttribute("role") && 3104 | e.setAttribute("aria-selected", !1); 3105 | } 3106 | (t.classList.add("active"), 3107 | "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), 3108 | w(t), 3109 | t.classList.contains("fade") && t.classList.add("show"), 3110 | t.parentNode && t.parentNode.classList.contains("dropdown-menu")) && 3111 | (t.closest(".dropdown") && 3112 | nt.find(".dropdown-toggle").forEach(function(t) { 3113 | return t.classList.add("active"); 3114 | }), 3115 | t.setAttribute("aria-expanded", !0)); 3116 | n && n(); 3117 | }), 3118 | (t.jQueryInterface = function(e) { 3119 | return this.each(function() { 3120 | var n = L(this, "bs.tab") || new t(this); 3121 | if ("string" == typeof e) { 3122 | if (void 0 === n[e]) 3123 | throw new TypeError('No method named "' + e + '"'); 3124 | n[e](); 3125 | } 3126 | }); 3127 | }), 3128 | (t.getInstance = function(t) { 3129 | return L(t, "bs.tab"); 3130 | }), 3131 | n(t, null, [ 3132 | { 3133 | key: "VERSION", 3134 | get: function() { 3135 | return "5.0.0-alpha1"; 3136 | } 3137 | } 3138 | ]), 3139 | t 3140 | ); 3141 | })(); 3142 | q.on( 3143 | document, 3144 | "click.bs.tab.data-api", 3145 | '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', 3146 | function(t) { 3147 | t.preventDefault(), (L(this, "bs.tab") || new oe(this)).show(); 3148 | } 3149 | ); 3150 | var se = E(); 3151 | if (se) { 3152 | var re = se.fn.tab; 3153 | (se.fn.tab = oe.jQueryInterface), 3154 | (se.fn.tab.Constructor = oe), 3155 | (se.fn.tab.noConflict = function() { 3156 | return (se.fn.tab = re), oe.jQueryInterface; 3157 | }); 3158 | } 3159 | var ae = { animation: "boolean", autohide: "boolean", delay: "number" }, 3160 | le = { animation: !0, autohide: !0, delay: 500 }, 3161 | ce = (function() { 3162 | function t(t, e) { 3163 | (this._element = t), 3164 | (this._config = this._getConfig(e)), 3165 | (this._timeout = null), 3166 | this._setListeners(), 3167 | T(t, "bs.toast", this); 3168 | } 3169 | var e = t.prototype; 3170 | return ( 3171 | (e.show = function() { 3172 | var t = this; 3173 | if (!q.trigger(this._element, "show.bs.toast").defaultPrevented) { 3174 | this._config.animation && this._element.classList.add("fade"); 3175 | var e = function() { 3176 | t._element.classList.remove("showing"), 3177 | t._element.classList.add("show"), 3178 | q.trigger(t._element, "shown.bs.toast"), 3179 | t._config.autohide && 3180 | (t._timeout = setTimeout(function() { 3181 | t.hide(); 3182 | }, t._config.delay)); 3183 | }; 3184 | if ( 3185 | (this._element.classList.remove("hide"), 3186 | w(this._element), 3187 | this._element.classList.add("showing"), 3188 | this._config.animation) 3189 | ) { 3190 | var n = g(this._element); 3191 | q.one(this._element, "transitionend", e), _(this._element, n); 3192 | } else e(); 3193 | } 3194 | }), 3195 | (e.hide = function() { 3196 | var t = this; 3197 | if ( 3198 | this._element.classList.contains("show") && 3199 | !q.trigger(this._element, "hide.bs.toast").defaultPrevented 3200 | ) { 3201 | var e = function() { 3202 | t._element.classList.add("hide"), 3203 | q.trigger(t._element, "hidden.bs.toast"); 3204 | }; 3205 | if ( 3206 | (this._element.classList.remove("show"), this._config.animation) 3207 | ) { 3208 | var n = g(this._element); 3209 | q.one(this._element, "transitionend", e), _(this._element, n); 3210 | } else e(); 3211 | } 3212 | }), 3213 | (e.dispose = function() { 3214 | clearTimeout(this._timeout), 3215 | (this._timeout = null), 3216 | this._element.classList.contains("show") && 3217 | this._element.classList.remove("show"), 3218 | q.off(this._element, "click.dismiss.bs.toast"), 3219 | C(this._element, "bs.toast"), 3220 | (this._element = null), 3221 | (this._config = null); 3222 | }), 3223 | (e._getConfig = function(t) { 3224 | return ( 3225 | (t = s( 3226 | s(s({}, le), et.getDataAttributes(this._element)), 3227 | "object" == typeof t && t ? t : {} 3228 | )), 3229 | v("toast", t, this.constructor.DefaultType), 3230 | t 3231 | ); 3232 | }), 3233 | (e._setListeners = function() { 3234 | var t = this; 3235 | q.on( 3236 | this._element, 3237 | "click.dismiss.bs.toast", 3238 | '[data-dismiss="toast"]', 3239 | function() { 3240 | return t.hide(); 3241 | } 3242 | ); 3243 | }), 3244 | (t.jQueryInterface = function(e) { 3245 | return this.each(function() { 3246 | var n = L(this, "bs.toast"); 3247 | if ( 3248 | (n || (n = new t(this, "object" == typeof e && e)), 3249 | "string" == typeof e) 3250 | ) { 3251 | if (void 0 === n[e]) 3252 | throw new TypeError('No method named "' + e + '"'); 3253 | n[e](this); 3254 | } 3255 | }); 3256 | }), 3257 | (t.getInstance = function(t) { 3258 | return L(t, "bs.toast"); 3259 | }), 3260 | n(t, null, [ 3261 | { 3262 | key: "VERSION", 3263 | get: function() { 3264 | return "5.0.0-alpha1"; 3265 | } 3266 | }, 3267 | { 3268 | key: "DefaultType", 3269 | get: function() { 3270 | return ae; 3271 | } 3272 | }, 3273 | { 3274 | key: "Default", 3275 | get: function() { 3276 | return le; 3277 | } 3278 | } 3279 | ]), 3280 | t 3281 | ); 3282 | })(), 3283 | ue = E(); 3284 | if (ue) { 3285 | var he = ue.fn.toast; 3286 | (ue.fn.toast = ce.jQueryInterface), 3287 | (ue.fn.toast.Constructor = ce), 3288 | (ue.fn.toast.noConflict = function() { 3289 | return (ue.fn.toast = he), ce.jQueryInterface; 3290 | }); 3291 | } 3292 | return { 3293 | Alert: K, 3294 | Button: $, 3295 | Carousel: lt, 3296 | Collapse: gt, 3297 | Dropdown: wt, 3298 | Modal: Ct, 3299 | Popover: Yt, 3300 | ScrollSpy: ee, 3301 | Tab: oe, 3302 | Toast: ce, 3303 | Tooltip: Ut 3304 | }; 3305 | }); 3306 | //# sourceMappingURL=bootstrap.min.js.map 3307 | --------------------------------------------------------------------------------