├── contribute.md ├── docs └── example.png ├── README.md ├── css ├── bootstrap-reboot.min.css ├── bootstrap-reboot.css ├── bootstrap-reboot.min.css.map ├── bootstrap-grid.min.css └── bootstrap-grid.css ├── index.html ├── test └── testDriver.js └── js ├── popper.min.js ├── functionaldeps.js └── bootstrap.min.js /contribute.md: -------------------------------------------------------------------------------- 1 | # TODO 2 | 3 | * TODO: Add Contribution guidelines 4 | -------------------------------------------------------------------------------- /docs/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjo129/functionalDependencyCalculator/HEAD/docs/example.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Functional Dependency Calculator 2 | 3 | A simple web based tool for exploring functional dependencies. 4 | Live version is availabe here: 5 | https://arjo129.github.io/functionalDependencyCalculator/index.html 6 | 7 | 8 | ![example_page_pv](docs/example.png) 9 | 10 | # Features 11 | 12 | - Calculate Attribute Closure (F+) of FDs via [superkey identification](js/functionaldeps.js#L117) 13 | - Calculate FD Closure via [powerset construction](js/functionaldeps.js#L161) 14 | - Calculate Minimal Cover via [attribute reduction](js/functionaldeps.js#L556) 15 | - Check Normal Forms (2NF, 3NF, BCNF) via [normal form decomposition](js/functionaldeps.js#L352) 16 | 17 | - Display all possible dependencies 18 | - Highlight Candidate Keys, Super Keys, and Trivial Dependencies 19 | 20 | 21 | - Cross-platform (Linux, MacOS, BSDs, Windows) 22 | - Extremely lightweight 23 | - Offline calculation 24 | 25 | # Non-Features 26 | 27 | - Show calculation steps 28 | - Chase Test 29 | - Show normalized FDs 30 | - Lossless Join Decomposition 31 | 32 | 33 | # Installation 34 | 35 | See [functionalDependencyCalculator](https://arjo129.github.io/functionalDependencyCalculator/index.html) for live version 36 | 37 | This method requires [Node js](https://nodejs.org/en/download/) 38 | 39 | On Windows & Unix: 40 | 41 | ```bash 42 | git clone https://github.com/arjo129/functionalDependencyCalculator 43 | cd functionalDependencyCalculator 44 | 45 | npm install --global http-server 46 | http-server -d false -p 8080 47 | ``` 48 | 49 | ## Usage 50 | 51 | After installation, a webserver should open on localhost with the specified port. 52 | Visit [http://localhost:8080](http://localhost:8080) to view the functional server 53 | 54 | ## Contributing 55 | 56 | See [contributing](contribute.md) for guidelines. 57 | -------------------------------------------------------------------------------- /css/bootstrap-reboot.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/) 3 | * Copyright 2011-2018 The Bootstrap Authors 4 | * Copyright 2011-2018 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important} 8 | /*# sourceMappingURL=bootstrap-reboot.min.css.map */ -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Functional Dependencies Checker 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 |
21 | 22 |
23 |
24 |
25 |
26 | 27 | 28 |
29 |
30 | 38 | 50 |
51 |
52 |
53 | 56 | 57 |
58 | 59 | 60 | -------------------------------------------------------------------------------- /css/bootstrap-reboot.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/) 3 | * Copyright 2011-2018 The Bootstrap Authors 4 | * Copyright 2011-2018 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */ 8 | *, 9 | *::before, 10 | *::after { 11 | box-sizing: border-box; 12 | } 13 | 14 | html { 15 | font-family: sans-serif; 16 | line-height: 1.15; 17 | -webkit-text-size-adjust: 100%; 18 | -ms-text-size-adjust: 100%; 19 | -ms-overflow-style: scrollbar; 20 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 21 | } 22 | 23 | @-ms-viewport { 24 | width: device-width; 25 | } 26 | 27 | article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { 28 | display: block; 29 | } 30 | 31 | body { 32 | margin: 0; 33 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; 34 | font-size: 1rem; 35 | font-weight: 400; 36 | line-height: 1.5; 37 | color: #212529; 38 | text-align: left; 39 | background-color: #fff; 40 | } 41 | 42 | [tabindex="-1"]:focus { 43 | outline: 0 !important; 44 | } 45 | 46 | hr { 47 | box-sizing: content-box; 48 | height: 0; 49 | overflow: visible; 50 | } 51 | 52 | h1, h2, h3, h4, h5, h6 { 53 | margin-top: 0; 54 | margin-bottom: 0.5rem; 55 | } 56 | 57 | p { 58 | margin-top: 0; 59 | margin-bottom: 1rem; 60 | } 61 | 62 | abbr[title], 63 | abbr[data-original-title] { 64 | text-decoration: underline; 65 | -webkit-text-decoration: underline dotted; 66 | text-decoration: underline dotted; 67 | cursor: help; 68 | border-bottom: 0; 69 | } 70 | 71 | address { 72 | margin-bottom: 1rem; 73 | font-style: normal; 74 | line-height: inherit; 75 | } 76 | 77 | ol, 78 | ul, 79 | dl { 80 | margin-top: 0; 81 | margin-bottom: 1rem; 82 | } 83 | 84 | ol ol, 85 | ul ul, 86 | ol ul, 87 | ul ol { 88 | margin-bottom: 0; 89 | } 90 | 91 | dt { 92 | font-weight: 700; 93 | } 94 | 95 | dd { 96 | margin-bottom: .5rem; 97 | margin-left: 0; 98 | } 99 | 100 | blockquote { 101 | margin: 0 0 1rem; 102 | } 103 | 104 | dfn { 105 | font-style: italic; 106 | } 107 | 108 | b, 109 | strong { 110 | font-weight: bolder; 111 | } 112 | 113 | small { 114 | font-size: 80%; 115 | } 116 | 117 | sub, 118 | sup { 119 | position: relative; 120 | font-size: 75%; 121 | line-height: 0; 122 | vertical-align: baseline; 123 | } 124 | 125 | sub { 126 | bottom: -.25em; 127 | } 128 | 129 | sup { 130 | top: -.5em; 131 | } 132 | 133 | a { 134 | color: #007bff; 135 | text-decoration: none; 136 | background-color: transparent; 137 | -webkit-text-decoration-skip: objects; 138 | } 139 | 140 | a:hover { 141 | color: #0056b3; 142 | text-decoration: underline; 143 | } 144 | 145 | a:not([href]):not([tabindex]) { 146 | color: inherit; 147 | text-decoration: none; 148 | } 149 | 150 | a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { 151 | color: inherit; 152 | text-decoration: none; 153 | } 154 | 155 | a:not([href]):not([tabindex]):focus { 156 | outline: 0; 157 | } 158 | 159 | pre, 160 | code, 161 | kbd, 162 | samp { 163 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 164 | font-size: 1em; 165 | } 166 | 167 | pre { 168 | margin-top: 0; 169 | margin-bottom: 1rem; 170 | overflow: auto; 171 | -ms-overflow-style: scrollbar; 172 | } 173 | 174 | figure { 175 | margin: 0 0 1rem; 176 | } 177 | 178 | img { 179 | vertical-align: middle; 180 | border-style: none; 181 | } 182 | 183 | svg { 184 | overflow: hidden; 185 | vertical-align: middle; 186 | } 187 | 188 | table { 189 | border-collapse: collapse; 190 | } 191 | 192 | caption { 193 | padding-top: 0.75rem; 194 | padding-bottom: 0.75rem; 195 | color: #6c757d; 196 | text-align: left; 197 | caption-side: bottom; 198 | } 199 | 200 | th { 201 | text-align: inherit; 202 | } 203 | 204 | label { 205 | display: inline-block; 206 | margin-bottom: 0.5rem; 207 | } 208 | 209 | button { 210 | border-radius: 0; 211 | } 212 | 213 | button:focus { 214 | outline: 1px dotted; 215 | outline: 5px auto -webkit-focus-ring-color; 216 | } 217 | 218 | input, 219 | button, 220 | select, 221 | optgroup, 222 | textarea { 223 | margin: 0; 224 | font-family: inherit; 225 | font-size: inherit; 226 | line-height: inherit; 227 | } 228 | 229 | button, 230 | input { 231 | overflow: visible; 232 | } 233 | 234 | button, 235 | select { 236 | text-transform: none; 237 | } 238 | 239 | button, 240 | html [type="button"], 241 | [type="reset"], 242 | [type="submit"] { 243 | -webkit-appearance: button; 244 | } 245 | 246 | button::-moz-focus-inner, 247 | [type="button"]::-moz-focus-inner, 248 | [type="reset"]::-moz-focus-inner, 249 | [type="submit"]::-moz-focus-inner { 250 | padding: 0; 251 | border-style: none; 252 | } 253 | 254 | input[type="radio"], 255 | input[type="checkbox"] { 256 | box-sizing: border-box; 257 | padding: 0; 258 | } 259 | 260 | input[type="date"], 261 | input[type="time"], 262 | input[type="datetime-local"], 263 | input[type="month"] { 264 | -webkit-appearance: listbox; 265 | } 266 | 267 | textarea { 268 | overflow: auto; 269 | resize: vertical; 270 | } 271 | 272 | fieldset { 273 | min-width: 0; 274 | padding: 0; 275 | margin: 0; 276 | border: 0; 277 | } 278 | 279 | legend { 280 | display: block; 281 | width: 100%; 282 | max-width: 100%; 283 | padding: 0; 284 | margin-bottom: .5rem; 285 | font-size: 1.5rem; 286 | line-height: inherit; 287 | color: inherit; 288 | white-space: normal; 289 | } 290 | 291 | progress { 292 | vertical-align: baseline; 293 | } 294 | 295 | [type="number"]::-webkit-inner-spin-button, 296 | [type="number"]::-webkit-outer-spin-button { 297 | height: auto; 298 | } 299 | 300 | [type="search"] { 301 | outline-offset: -2px; 302 | -webkit-appearance: none; 303 | } 304 | 305 | [type="search"]::-webkit-search-cancel-button, 306 | [type="search"]::-webkit-search-decoration { 307 | -webkit-appearance: none; 308 | } 309 | 310 | ::-webkit-file-upload-button { 311 | font: inherit; 312 | -webkit-appearance: button; 313 | } 314 | 315 | output { 316 | display: inline-block; 317 | } 318 | 319 | summary { 320 | display: list-item; 321 | cursor: pointer; 322 | } 323 | 324 | template { 325 | display: none; 326 | } 327 | 328 | [hidden] { 329 | display: none !important; 330 | } 331 | /*# sourceMappingURL=bootstrap-reboot.css.map */ -------------------------------------------------------------------------------- /test/testDriver.js: -------------------------------------------------------------------------------- 1 | var fdlib = require("../js/functionaldeps"); 2 | 3 | var assert = require('assert'); 4 | 5 | describe('RelationalSchema', function() { 6 | describe('#minimize()', function() { 7 | it('should be able to minimize the key {a,b,c} given an FD of {a,b}->{c}', function() { 8 | var fd = new fdlib.FunctionalDependency(["a","b"], ["c"]); 9 | var relationalSchema = new fdlib.RelationalSchema([fd]); 10 | var minimized = relationalSchema.minimize(["a","b","c"]); 11 | minimized.sort(); 12 | assert.equal(minimized.length, 2); 13 | assert.equal(minimized[0], "a"); 14 | assert.equal(minimized[1], "b"); 15 | }); 16 | }); 17 | 18 | describe('#lookUpAttributeClosure()', function() { 19 | it('returns full RHS of attribute closure', function() { 20 | var fd = new fdlib.FunctionalDependency(["a","b"], ["c"]); 21 | var relationalSchema = new fdlib.RelationalSchema([fd]); 22 | var minimized = relationalSchema.lookUpAttributeClosure(["a","b"]); 23 | minimized.sort(); 24 | assert.equal(minimized.length, 3); 25 | }); 26 | 27 | it('returns 0 if element is not in attribute clocure', function() { 28 | var fd = new fdlib.FunctionalDependency(["a","b"], ["c"]); 29 | var relationalSchema = new fdlib.RelationalSchema([fd]); 30 | var count = relationalSchema.lookUpAttributeClosure(["d"]); 31 | assert.equal(count.length, 0); 32 | }); 33 | }); 34 | 35 | describe('#candidateKeys', function () { 36 | it('check list of potential candidate keys', function () { 37 | var fd1 = new fdlib.FunctionalDependency(["a"], ["b","c","d"]); 38 | var fd2 = new fdlib.FunctionalDependency(["b","c"], ["a","d"]); 39 | var fd3 = new fdlib.FunctionalDependency(["d"], ["b"]); 40 | 41 | var relationalSchema = new fdlib.RelationalSchema([fd1,fd2,fd3]); 42 | var results = relationalSchema.candidateKeys(); 43 | assert.equal(results.length, 3); 44 | for(var i = 0; i < results.length; i++){ 45 | var implies = relationalSchema.lookUpAttributeClosure(results[i]); 46 | assert.equal(implies.length, 4); //Check all are keys 47 | } 48 | }); 49 | }); 50 | describe('#isThirdNF', function () { 51 | it('Correctly classifies relation as 3NF but not BCNF', function () { 52 | var fd1 = new fdlib.FunctionalDependency(["a"], ["b","c","d"]); 53 | var fd2 = new fdlib.FunctionalDependency(["b","c"], ["a","d"]); 54 | var fd3 = new fdlib.FunctionalDependency(["d"], ["b"]); 55 | var relationalSchema = new fdlib.RelationalSchema([fd1,fd2,fd3]); 56 | assert.equal(relationalSchema.isSecondNF(), true); 57 | assert.equal(relationalSchema.isThirdNF(), true); 58 | assert.equal(relationalSchema.isBCNF(), false); 59 | }); 60 | }); 61 | 62 | describe('#isSecondNF', function () { 63 | it('Correctly classifies relation as not 2nf', function () { 64 | var fd1 = new fdlib.FunctionalDependency(["a", "d"], ["b","c"]); 65 | var fd2 = new fdlib.FunctionalDependency(["d"], ["b"]); 66 | var relationalSchema = new fdlib.RelationalSchema([fd1,fd2]); 67 | assert.equal(relationalSchema.isSecondNF(), false); 68 | }); 69 | it('Correctly classifies relation as 2nf', function () { 70 | var fd1 = new fdlib.FunctionalDependency(["a", "d"], ["b","c"]); 71 | var relationalSchema = new fdlib.RelationalSchema([fd1]); 72 | assert.equal(relationalSchema.isSecondNF(), true); 73 | }); 74 | }); 75 | 76 | describe('#equals', function () { 77 | it('Correctly identifies identical relations', function () { 78 | var fd1 = new fdlib.FunctionalDependency(["a", "d"], ["b","c"]); 79 | var fd2 = new fdlib.FunctionalDependency(["b"], ["a"]); 80 | var relationalSchema = new fdlib.RelationalSchema([fd1,fd2]); 81 | 82 | var fd11 = new fdlib.FunctionalDependency(["a", "d"], ["b","c"]); 83 | var fd12 = new fdlib.FunctionalDependency(["b"], ["a"]); 84 | var relationalSchema2 = new fdlib.RelationalSchema([fd12,fd11]); 85 | 86 | assert.equal(relationalSchema.equals(relationalSchema2), true); 87 | }); 88 | 89 | it('Correctly identifies unequal relations', function () { 90 | var fd1 = new fdlib.FunctionalDependency(["a", "d"], ["b","c"]); 91 | var fd2 = new fdlib.FunctionalDependency(["b"], ["a"]); 92 | var relationalSchema = new fdlib.RelationalSchema([fd1,fd2]); 93 | 94 | var fd11 = new fdlib.FunctionalDependency(["a", "d"], ["b","c"]); 95 | var relationalSchema2 = new fdlib.RelationalSchema([fd11]); 96 | 97 | assert.equal(relationalSchema.equals(relationalSchema2), false); 98 | }); 99 | 100 | it('Correctly identifies relations with same closure but different description', function () { 101 | var fd1 = new fdlib.FunctionalDependency(["a"], ["b"]); 102 | var fd2 = new fdlib.FunctionalDependency(["a","b"], ["b"]); 103 | var relationalSchema = new fdlib.RelationalSchema([fd1,fd2]); 104 | 105 | var fd11 = new fdlib.FunctionalDependency(["a"], ["b"]); 106 | var relationalSchema2 = new fdlib.RelationalSchema([fd11]); 107 | assert.equal(relationalSchema.equals(relationalSchema2), true); 108 | }); 109 | }) 110 | 111 | }); 112 | 113 | describe('FunctionalDependency', function () { 114 | describe('#isTrivial', function () { 115 | it('An FD of form b->b is trivial correctly', function () { 116 | var fd1 = new fdlib.FunctionalDependency(["b"], ["b"]); 117 | assert.equal(fd1.isTrivial(), true); 118 | }); 119 | it('An FD of form ab->b is trivial correctly', function () { 120 | var fd1 = new fdlib.FunctionalDependency(["a","b"], ["b"]); 121 | assert.equal(fd1.isTrivial(), true); 122 | }); 123 | it('An FD of form a->b is not trivial correctly', function () { 124 | var fd1 = new fdlib.FunctionalDependency(["a"], ["b"]); 125 | assert.equal(fd1.isTrivial(), false); 126 | }); 127 | }); 128 | 129 | describe('#decomposeRHS', function () { 130 | it('An FD of form b->ba is decomposed correctly', function () { 131 | var fd1 = new fdlib.FunctionalDependency(["b"], ["a","c"]); 132 | assert.equal(fd1.decomposeRHS().length,2); 133 | }); 134 | }) 135 | }); 136 | 137 | -------------------------------------------------------------------------------- /js/popper.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) Federico Zivolo 2018 3 | Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). 4 | */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?re:10===e?pe:re||pe}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1=o.clientWidth&&n>=o.clientHeight}),l=0a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=$,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!q(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-us[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,y=t(e.instance.popper),w=parseFloat(y['margin'+f],10),E=parseFloat(y['border'+f+'Width'],10),v=b-e.offsets.popper[m]-w-E;return v=J(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,Z(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case he.FLIP:p=[n,i];break;case he.CLOCKWISE:p=V(n);break;case he.COUNTERCLOCKWISE:p=V(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=$,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)f(l.top)||'bottom'===n&&f(a.top)f(o.right),g=f(a.top)f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,y=-1!==['top','bottom'].indexOf(n),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),w&&(r=G(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=C(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.right` in some cases.\n@at-root {\n @-ms-viewport {\n width: device-width;\n }\n}\n\n// stylelint-disable selector-list-comma-newline-after\n// Shim for \"new\" HTML5 structural elements to display correctly (IE10, older browsers)\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Set an explicit initial text-align value so that we can later use the\n// the `inherit` value on things like `` elements.\n\nbody {\n margin: 0; // 1\n font-family: $font-family-base;\n font-size: $font-size-base;\n font-weight: $font-weight-base;\n line-height: $line-height-base;\n color: $body-color;\n text-align: left; // 3\n background-color: $body-bg; // 2\n}\n\n// Suppress the focus outline on elements that cannot be accessed via keyboard.\n// This prevents an unwanted focus outline from appearing around elements that\n// might still respond to pointer events.\n//\n// Credit: https://github.com/suitcss/base\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\n\n// Content grouping\n//\n// 1. Add the correct box sizing in Firefox.\n// 2. Show the overflow in Edge and IE.\n\nhr {\n box-sizing: content-box; // 1\n height: 0; // 1\n overflow: visible; // 2\n}\n\n\n//\n// Typography\n//\n\n// Remove top margins from headings\n//\n// By default, `

`-`

` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n// stylelint-disable selector-list-comma-newline-after\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: $headings-margin-bottom;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `

`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n// Abbreviations\n//\n// 1. Remove the bottom border in Firefox 39-.\n// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Duplicate behavior to the data-* attribute for our tooltip plugin\n\nabbr[title],\nabbr[data-original-title] { // 4\n text-decoration: underline; // 2\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n border-bottom: 0; // 1\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // Undo browser default\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic; // Add the correct font style in Android 4.3-\n}\n\n// stylelint-disable font-weight-notation\nb,\nstrong {\n font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari\n}\n// stylelint-enable font-weight-notation\n\nsmall {\n font-size: 80%; // Add the correct font size in all browsers\n}\n\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n//\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n//\n// Links\n//\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n background-color: transparent; // Remove the gray background on active links in IE 10.\n -webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.\n\n @include hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href)\n// which have not been made explicitly keyboard-focusable (without tabindex).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n\n @include hover-focus {\n color: inherit;\n text-decoration: none;\n }\n\n &:focus {\n outline: 0;\n }\n}\n\n\n//\n// Code\n//\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-monospace;\n font-size: 1em; // Correct the odd `em` font sizing in all browsers.\n}\n\npre {\n // Remove browser default top margin\n margin-top: 0;\n // Reset browser default of `1em` to use `rem`s\n margin-bottom: 1rem;\n // Don't allow content to break outside\n overflow: auto;\n // We have @viewport set which causes scrollbars to overlap content in IE11 and Edge, so\n // we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n -ms-overflow-style: scrollbar;\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type styles).\n margin: 0 0 1rem;\n}\n\n\n//\n// Images and content\n//\n\nimg {\n vertical-align: middle;\n border-style: none; // Remove the border on images inside links in IE 10-.\n}\n\nsvg {\n // Workaround for the SVG overflow bug in IE10/11 is still required.\n // See https://github.com/twbs/bootstrap/issues/26878\n overflow: hidden;\n vertical-align: middle;\n}\n\n\n//\n// Tables\n//\n\ntable {\n border-collapse: collapse; // Prevent double borders\n}\n\ncaption {\n padding-top: $table-cell-padding;\n padding-bottom: $table-cell-padding;\n color: $table-caption-color;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n // Matches default `` alignment by inheriting from the ``, or the\n // closest parent with a set `text-align`.\n text-align: inherit;\n}\n\n\n//\n// Forms\n//\n\nlabel {\n // Allow labels to use `margin` for spacing.\n display: inline-block;\n margin-bottom: $label-margin-bottom;\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n//\n// Details at https://github.com/twbs/bootstrap/issues/24093\nbutton {\n border-radius: 0;\n}\n\n// Work around a Firefox/IE bug where the transparent `button` background\n// results in a loss of the default `button` focus styles.\n//\n// Credit: https://github.com/suitcss/base/\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // Remove the margin in Firefox and Safari\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible; // Show the overflow in Edge\n}\n\nbutton,\nselect {\n text-transform: none; // Remove the inheritance of text transform in Firefox\n}\n\n// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n// controls in Android 4.\n// 2. Correct the inability to style clickable types in iOS and Safari.\nbutton,\nhtml [type=\"button\"], // 1\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; // 2\n}\n\n// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box; // 1. Add the correct box sizing in IE 10-\n padding: 0; // 2. Remove the padding in IE 10-\n}\n\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n // Remove the default appearance of temporal inputs to avoid a Mobile Safari\n // bug where setting a custom line-height prevents text from being vertically\n // centered within the input.\n // See https://bugs.webkit.org/show_bug.cgi?id=139848\n // and https://github.com/twbs/bootstrap/issues/11266\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto; // Remove the default vertical scrollbar in IE.\n // Textareas should really only resize vertically so they don't break their (horizontal) containers.\n resize: vertical;\n}\n\nfieldset {\n // Browsers set a default `min-width: min-content;` on fieldsets,\n // unlike e.g. `

`s, which have `min-width: 0;` by default.\n // So we reset that to ensure fieldsets behave more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359\n // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements\n min-width: 0;\n // Reset the default outline behavior of fieldsets so they don't affect page layout.\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n// 1. Correct the text wrapping in Edge and IE.\n// 2. Correct the color inheritance from `fieldset` elements in IE.\nlegend {\n display: block;\n width: 100%;\n max-width: 100%; // 1\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit; // 2\n white-space: normal; // 1\n}\n\nprogress {\n vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.\n}\n\n// Correct the cursor style of increment and decrement buttons in Chrome.\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n // This overrides the extra rounded corners on search inputs in iOS so that our\n // `.form-control` class can properly style them. Note that this cannot simply\n // be added to `.form-control` as it's not specific enough. For details, see\n // https://github.com/twbs/bootstrap/issues/11586.\n outline-offset: -2px; // 2. Correct the outline style in Safari.\n -webkit-appearance: none;\n}\n\n//\n// Remove the inner padding and cancel buttons in Chrome and Safari on macOS.\n//\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n//\n// 1. Correct the inability to style clickable types in iOS and Safari.\n// 2. Change font properties to `inherit` in Safari.\n//\n\n::-webkit-file-upload-button {\n font: inherit; // 2\n -webkit-appearance: button; // 1\n}\n\n//\n// Correct element displays\n//\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item; // Add the correct display in all browsers\n cursor: pointer;\n}\n\ntemplate {\n display: none; // Add the correct display in IE\n}\n\n// Always hide an element with the `hidden` HTML attribute (from PureCSS).\n// Needed for proper display in IE 10-.\n[hidden] {\n display: none !important;\n}\n","/*!\n * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n@-ms-viewport {\n width: device-width;\n}\n\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n text-align: left;\n background-color: #fff;\n}\n\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -.25em;\n}\n\nsup {\n top: -.5em;\n}\n\na {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n}\n\na:hover {\n color: #0056b3;\n text-decoration: underline;\n}\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):focus {\n outline: 0;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n -ms-overflow-style: scrollbar;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 0.5rem;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n/*# sourceMappingURL=bootstrap-reboot.css.map */","/*!\n * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n@-ms-viewport {\n width: device-width;\n}\n\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n text-align: left;\n background-color: #fff;\n}\n\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -.25em;\n}\n\nsup {\n top: -.5em;\n}\n\na {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n}\n\na:hover {\n color: #0056b3;\n text-decoration: underline;\n}\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):focus {\n outline: 0;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n -ms-overflow-style: scrollbar;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 0.5rem;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n\n/*# sourceMappingURL=bootstrap-reboot.css.map */","// Hover mixin and `$enable-hover-media-query` are deprecated.\n//\n// Originally added during our alphas and maintained during betas, this mixin was\n// designed to prevent `:hover` stickiness on iOS-an issue where hover styles\n// would persist after initial touch.\n//\n// For backward compatibility, we've kept these mixins and updated them to\n// always return their regular pseudo-classes instead of a shimmed media query.\n//\n// Issue: https://github.com/twbs/bootstrap/issues/25195\n\n@mixin hover {\n &:hover { @content; }\n}\n\n@mixin hover-focus {\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin plain-hover-focus {\n &,\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin hover-focus-active {\n &:hover,\n &:focus,\n &:active {\n @content;\n }\n}\n"]} -------------------------------------------------------------------------------- /css/bootstrap-grid.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grid v4.1.3 (https://getbootstrap.com/) 3 | * Copyright 2011-2018 The Bootstrap Authors 4 | * Copyright 2011-2018 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */@-ms-viewport{width:device-width}html{box-sizing:border-box;-ms-overflow-style:scrollbar}*,::after,::before{box-sizing:inherit}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;min-height:1px;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}} 7 | /*# sourceMappingURL=bootstrap-grid.min.css.map */ -------------------------------------------------------------------------------- /js/functionaldeps.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This class is the container for Functional Dependencies. 3 | * @param lhs left hand side of the functional dependencies, should be an array of strings 4 | * @param rhs right hand side of the functional dependencies, should be an array of strings 5 | * @constructor 6 | */ 7 | function FunctionalDependency(lhs, rhs){ 8 | lhs.sort(); 9 | rhs.sort(); 10 | this.lhs = lhs; 11 | this.rhs = rhs; 12 | 13 | /** 14 | * Checks if the parameters of the other functional dependency is the same as the one on the LHS 15 | * @param other 16 | * @returns {boolean} 17 | */ 18 | this.equals = function(other) { 19 | if(!Array.isArray(other.lhs) || !Array.isArray(this.lhs)) 20 | return false; 21 | 22 | if(!Array.isArray(other.rhs) || !Array.isArray(this.rhs)) 23 | return false; 24 | 25 | if(other.lhs.length !== this.lhs.length) 26 | return false; 27 | 28 | for(var i = 0; i < this.lhs.length; i++){ 29 | if(other.lhs[i] !== this.lhs[i]) return false; 30 | } 31 | 32 | if(other.rhs.length !== this.rhs.length) 33 | return false; 34 | 35 | for(var i = 0; i < this.rhs.length; i++){ 36 | if(other.rhs[i] !== this.rhs[i]) return false; 37 | } 38 | }; 39 | 40 | this.toString = function () { 41 | str = "{"; 42 | for(var i = 0 ; i < this.lhs.length; i++){ 43 | str += this.lhs[i]; 44 | if(i+1 !== this.lhs.length) 45 | str += ", "; 46 | } 47 | str += "}->{"; 48 | for(var i = 0 ; i < this.rhs.length; i++){ 49 | str += this.rhs[i]; 50 | if(i+1 !== this.rhs.length) 51 | str += ", "; 52 | } 53 | str += "}"; 54 | return str; 55 | }; 56 | 57 | this.toLatex = function () { 58 | str = "\\{ "; 59 | for(var i = 0 ; i < this.lhs.length; i++){ 60 | str += this.lhs[i]; 61 | if(i+1 !== this.lhs.length) 62 | str += ", "; 63 | } 64 | str += "\\} \\rightarrow \\{ "; 65 | for(var i = 0 ; i < this.rhs.length; i++){ 66 | str += this.rhs[i]; 67 | if(i+1 !== this.rhs.length) 68 | str += ", "; 69 | } 70 | str += "\\}"; 71 | return str; 72 | }; 73 | 74 | this.isTrivial = function () { 75 | return isSubset(this.rhs,new Set(this.lhs)); 76 | }; 77 | 78 | this.decomposeRHS = function (){ 79 | var fds = []; 80 | var lhs = this.lhs; 81 | this.rhs.forEach(function (val) { 82 | fds.push(new FunctionalDependency(lhs,[val])); 83 | }); 84 | return fds; 85 | } 86 | 87 | } 88 | 89 | /** 90 | * Represents a Relational Schema 91 | * @param fdList - list of functional dependencies. 92 | * @constructor 93 | */ 94 | function RelationalSchema(fdList){ 95 | this.functionalDependencies = fdList; 96 | this._attrClosure = null; 97 | this._functionClosure = null; 98 | this._candidateKeys = null; 99 | 100 | /** 101 | * This returns the attributes within the schema. 102 | * @returns {Set} of attributes. 103 | */ 104 | this.extractAttributes = function () { 105 | var attributeSet = new Set([]); 106 | for(var i = 0; i < this.functionalDependencies.length; i++){ 107 | for(var j = 0; j < this.functionalDependencies[i].lhs.length; j++){ 108 | attributeSet.add(this.functionalDependencies[i].lhs[j]); 109 | } 110 | for(var j = 0; j < this.functionalDependencies[i].rhs.length; j++){ 111 | attributeSet.add(this.functionalDependencies[i].rhs[j]); 112 | } 113 | } 114 | return attributeSet; 115 | }; 116 | 117 | /** 118 | * This function calculates the attribute closure of a relational schema. 119 | * @param attributeSet - set of attributes 120 | */ 121 | this.attributeClosure = function (attributeSet) { 122 | var closure = attributeSet; 123 | var prev_length = 0; 124 | while(closure.size !== prev_length){ 125 | prev_length = closure.size; 126 | for(var i = 0; i < this.functionalDependencies.length; i++){ 127 | if(isSubset(this.functionalDependencies[i].lhs, closure)){ 128 | for(var j = 0; j < this.functionalDependencies[i].rhs.length; j++){ 129 | closure.add(this.functionalDependencies[i].rhs[j]) 130 | } 131 | } 132 | } 133 | } 134 | return closure; 135 | }; 136 | 137 | /** 138 | * Returns all possible attribute closures within the schema 139 | */ 140 | this.allAttributeClosures = function () { 141 | 142 | if(this._attrClosure !== null) 143 | return this._attrClosure; 144 | 145 | var attributes = this.extractAttributes(); 146 | var attrArray = []; 147 | attributes.forEach( function(attr){ 148 | attrArray.push(attr) 149 | }); 150 | powSet = powerSet(attrArray); 151 | var allClosures = []; 152 | for(var i = 0; i < powSet.length; i++) 153 | allClosures.push([powSet[i].sort(), this.attributeClosure(new Set(powSet[i]))]); 154 | 155 | this._attrClosure = allClosures; 156 | 157 | return allClosures; 158 | }; 159 | 160 | /** 161 | * Returns the functional dependency closure on F+ 162 | */ 163 | this.closure = function () { 164 | 165 | if(this._functionClosure !== null) 166 | return this._functionClosure; 167 | 168 | var attrClosure = this.allAttributeClosures(); 169 | var Fplus = []; 170 | for(var i = 0; i < attrClosure.length; i++){ 171 | 172 | if(attrClosure[i].length === 0) 173 | continue; 174 | 175 | var left = attrClosure[i][0]; 176 | var right = []; 177 | 178 | attrClosure[i][1].forEach(function (val) { 179 | right.push(val); 180 | }); 181 | 182 | var options = powerSet(right); 183 | 184 | for(var j = 0; j < options.length; j++){ 185 | if(options[j].length > 0) 186 | Fplus.push(new FunctionalDependency(left, options[j])); 187 | } 188 | } 189 | 190 | this._functionClosure = Fplus; 191 | 192 | return Fplus; 193 | }; 194 | 195 | /** 196 | * Looks up the possible attributes given a current set. 197 | * @param key 198 | * @returns {Array} 199 | */ 200 | this.lookUpAttributeClosure = function(key) { 201 | var attrClosure = this.allAttributeClosures(); 202 | for(var i = 0; i < attrClosure.length; i++){ 203 | if(arrayEquals(attrClosure[i][0].sort(), key.sort())){ 204 | return setToArray(attrClosure[i][1]); 205 | } 206 | } 207 | return []; 208 | }; 209 | 210 | /** 211 | * Minimizes a key 212 | * @param key 213 | * @returns {*} 214 | */ 215 | this.minimize = function (key) { 216 | var closureLength = this.extractAttributes().size; 217 | for(var i = 0; i < key.length; i++){ 218 | var newKey = key.slice(); 219 | newKey.splice(i,1); 220 | if(closureLength === this.lookUpAttributeClosure(newKey).length){ 221 | return this.minimize(newKey); 222 | } 223 | } 224 | return key; 225 | }; 226 | 227 | /** 228 | * Checks if a key can be further minimized 229 | * @param key 230 | * @returns {boolean} 231 | */ 232 | this.canMinimize = function (key) { 233 | var closureLength = this.extractAttributes().size; 234 | for(var i = 0; i < key.length; i++){ 235 | var newKey = key.slice(); 236 | newKey.splice(i,1); 237 | if(closureLength === this.lookUpAttributeClosure(newKey).length){ 238 | return true; 239 | } 240 | } 241 | return false; 242 | }; 243 | 244 | /** 245 | * Minimize a certain relation with cover. 246 | * @param key 247 | * @param cover 248 | * @returns {*} 249 | */ 250 | this.minimizeWithCover = function (key, cover) { 251 | for(var i = 0; i < key.length; i++){ 252 | var newKey = key.slice(); 253 | newKey.splice(i,1); 254 | if(arrayEquals(this.lookUpAttributeClosure(newKey).sort(),cover.sort())){ 255 | return this.minimizeWithCover(newKey, cover); 256 | } 257 | } 258 | return key; 259 | }; 260 | 261 | /** 262 | * Returns all candidate keys 263 | */ 264 | this.candidateKeys = function(){ 265 | 266 | if(this._candidateKeys !== null) 267 | return this._candidateKeys; 268 | 269 | var candidateKeyList = [this.minimize(setToArray(this.extractAttributes()))]; 270 | var closure = this.closure(); 271 | for(var i = 0 ; i < candidateKeyList.length; i++){ 272 | for(var j = 0; j < closure.length; j++){ 273 | var potentialKey = setUnion(new Set(closure[j].lhs), new Set(setDifference(new Set(candidateKeyList[i]), new Set(closure[j].rhs)))); 274 | var found = false; 275 | for(var k = 0; k < candidateKeyList.length; k++){ 276 | if(isSubset(candidateKeyList[k], new Set(potentialKey))) 277 | found = true; 278 | } 279 | 280 | if(!found){ 281 | candidateKeyList.push(this.minimize(potentialKey).sort()); 282 | } 283 | 284 | } 285 | } 286 | 287 | this._candidateKeys = candidateKeyList; 288 | 289 | return candidateKeyList; 290 | }; 291 | 292 | this.primeAttributes = function () { 293 | var attributes = new Set(); 294 | var candidateKeys = this.candidateKeys(); 295 | for(var i = 0; i < candidateKeys.length; i++){ 296 | candidateKeys[i].forEach(function (val) { 297 | attributes.add(val); 298 | }); 299 | } 300 | return attributes; 301 | }; 302 | 303 | /** 304 | * Returns all superkeys 305 | */ 306 | this.superKeys = function(){ 307 | var candidateKeyList = []; 308 | var numberOfAttributes = this.extractAttributes().size; 309 | var attrClosure = this.allAttributeClosures(); 310 | attrClosure.sort(function (a, b) { return b[0].length - a[0].length }); 311 | attrClosure.reverse(); 312 | for(var i = 0; i < attrClosure.length; i++){ 313 | var rhs = []; 314 | attrClosure[i][1].forEach(function (val) { 315 | rhs.push(val); 316 | }); 317 | 318 | if(rhs.length === numberOfAttributes) { 319 | candidateKeyList.push(attrClosure[i][0]); 320 | } 321 | } 322 | return candidateKeyList; 323 | }; 324 | 325 | this.isProperSubsetCK = function (fd) { 326 | var candidateKeys = this.candidateKeys(); 327 | for(var j = 0; j < candidateKeys.length; j++){ 328 | if(isProperSubset(fd.lhs, new Set(candidateKeys[j]))) { 329 | return true; 330 | } 331 | } 332 | return false; 333 | }; 334 | 335 | this.hasPrimeAttr = function (fd) { 336 | var primeAttributes = this.primeAttributes(); 337 | for(var j = 0; j < fd.rhs.length; j++){ 338 | if(!primeAttributes.has(fd.rhs[j])) { 339 | return false; 340 | } 341 | } 342 | return true; 343 | }; 344 | /** 345 | * Returns true if is in second nf 346 | * i.e. 347 | * Given X->A in F+ 348 | * X->A is trivial 349 | * or X is not a proper subset of candidate keys 350 | * or A is part of some candidate key 351 | */ 352 | this.isSecondNF = function() { 353 | var fdClosure = this.closure(); 354 | 355 | 356 | for(var i = 0 ; i < fdClosure.length; i++){ 357 | 358 | if(fdClosure[i].isTrivial()) 359 | continue; 360 | 361 | if(!this.isProperSubsetCK(fdClosure[i])) 362 | continue; 363 | 364 | 365 | if(this.hasPrimeAttr(fdClosure[i])) 366 | continue; 367 | 368 | console.log(fdClosure[i]+" Violated 2NF"); 369 | return false; 370 | } 371 | return true; 372 | }; 373 | 374 | /** 375 | * Checks is relation is in third normal form 376 | * i.e. 377 | * Given X->A in F+ 378 | * X->A is trivial 379 | * X is a superkey for R 380 | * A is part of some candidate key 381 | */ 382 | this.isThirdNF = function () { 383 | var fdClosure = this.closure(); 384 | var superKeys = this.superKeys(); 385 | var primeAttributes = this.primeAttributes(); 386 | for(var i = 0 ; i < fdClosure.length; i++){ 387 | 388 | if(fdClosure[i].isTrivial()) 389 | continue; 390 | 391 | var isSuperKey = false; 392 | for(var j = 0; j < superKeys.length; j++) { 393 | if(fdClosure[i].lhs.length !== superKeys[j].length) 394 | continue; 395 | 396 | var ident = true; 397 | superKeys[j].sort(); 398 | fdClosure[i].lhs.sort(); 399 | 400 | for(var k = 0; k < superKeys[j].length; k++){ 401 | if(superKeys[j][k] !== fdClosure[i].lhs[k]){ 402 | ident = false; 403 | } 404 | } 405 | if(ident) isSuperKey = true; 406 | } 407 | if(isSuperKey) continue; 408 | 409 | for(var j = 0; j < fdClosure[i].rhs.length; j++){ 410 | if(!fdClosure[i].lhs.includes(fdClosure[i].rhs[j]) && !primeAttributes.has(fdClosure[i].rhs[j])) 411 | return false; 412 | } 413 | } 414 | return true; 415 | }; 416 | 417 | /** 418 | * Checks is relation is in Boyce-Codd normal form 419 | * i.e. 420 | * Given X->A in F+ 421 | * X->A is trivial 422 | * X->A is a super key 423 | */ 424 | this.isBCNF = function () { 425 | var fdClosure = this.closure(); 426 | var superKeys = this.superKeys(); 427 | for(var i = 0 ; i < fdClosure.length; i++){ 428 | 429 | if(fdClosure[i].isTrivial()) 430 | continue; 431 | 432 | var isSuperKey = false; 433 | for(var j = 0; j < superKeys.length; j++) { 434 | if(fdClosure[i].lhs.length !== superKeys[j].length) 435 | continue; 436 | 437 | var ident = true; 438 | superKeys[j].sort(); 439 | fdClosure[i].lhs.sort(); 440 | 441 | for(var k = 0; k < superKeys[j].length; k++){ 442 | if(superKeys[j][k] !== fdClosure[i].lhs[k]){ 443 | ident = false; 444 | } 445 | } 446 | if(ident) isSuperKey = true; 447 | } 448 | if(isSuperKey) continue; 449 | 450 | return false; 451 | } 452 | return true; 453 | }; 454 | 455 | /** 456 | * Checks if a FunctionalDependency violates 2NF 457 | * @param fd 458 | * @returns {boolean} 459 | */ 460 | this.violates2NF = function (fd) { 461 | if(fd.isTrivial()) 462 | return false; 463 | 464 | if(!this.isProperSubsetCK(fd)) 465 | return false; 466 | 467 | if(this.hasPrimeAttr(fd)) 468 | return false; 469 | 470 | return true; 471 | }; 472 | 473 | /** 474 | * Checks if a FunctionalDependency violates 3NF 475 | * @param fd 476 | * @returns {boolean} 477 | */ 478 | this.violates3NF = function (fd) { 479 | var superKeys = this.superKeys(); 480 | var primeAttributes = this.primeAttributes(); 481 | if(fd.isTrivial()) 482 | return false; 483 | 484 | var isSuperKey = false; 485 | for(var j = 0; j < superKeys.length; j++) { 486 | if(fd.lhs.length !== superKeys[j].length) 487 | continue; 488 | 489 | var ident = true; 490 | superKeys[j].sort(); 491 | fd.lhs.sort(); 492 | 493 | for(var k = 0; k < superKeys[j].length; k++){ 494 | if(superKeys[j][k] !== fd.lhs[k]){ 495 | ident = false; 496 | } 497 | } 498 | if(ident) isSuperKey = true; 499 | } 500 | if(isSuperKey) return false; 501 | 502 | for(var j = 0; j < fd.rhs.length; j++){ 503 | if(!primeAttributes.has(fd.rhs[j])) 504 | return true; 505 | } 506 | }; 507 | 508 | /** 509 | * Given an FunctionalDependency check if it violates BCNF 510 | * @param fd 511 | * @returns {boolean} 512 | */ 513 | this.violatesBCNF = function (fd) { 514 | var superKeys = this.superKeys(); 515 | 516 | if(fd.isTrivial()) 517 | return false; 518 | 519 | var isSuperKey = false; 520 | for(var j = 0; j < superKeys.length; j++) { 521 | if(fd.lhs.length !== superKeys[j].length) 522 | continue; 523 | 524 | var ident = true; 525 | superKeys[j].sort(); 526 | fd.lhs.sort(); 527 | 528 | for(var k = 0; k < superKeys[j].length; k++){ 529 | if(superKeys[j][k] !== fd.lhs[k]){ 530 | ident = false; 531 | } 532 | } 533 | if(ident) isSuperKey = true; 534 | } 535 | if(isSuperKey) return false; 536 | 537 | return true; 538 | }; 539 | 540 | /** 541 | * Eliminates unnecessary dependencies. 542 | * @param dependencies 543 | * @returns {*} 544 | */ 545 | this.eliminateDependencies = function(dependencies) { 546 | for(var i = 0; i < dependencies.length; i++){ 547 | var tmpCopy = dependencies.slice(); 548 | var dep =tmpCopy.splice(i,1); 549 | if(this.equals(new RelationalSchema(tmpCopy))) 550 | return this.eliminateDependencies(tmpCopy); 551 | } 552 | return dependencies; 553 | }; 554 | 555 | /** 556 | * Calculates the minimal cover of a set 557 | * @returns {RelationalSchema} 558 | */ 559 | this.minimalCover = function () { 560 | 561 | var simplifiedRHS = []; 562 | for (var i = 0; i < fdList.length; i++) { 563 | var decomp = fdList[i].decomposeRHS(); 564 | decomp.forEach(function (value) { 565 | if (!value.isTrivial()) simplifiedRHS.push(value); 566 | }); 567 | } 568 | 569 | var simplifiedLHS = []; 570 | for (var i = 0; i < simplifiedRHS.length; i++) { 571 | var newLHS = this.minimizeWithCover(simplifiedRHS[i].lhs,this.lookUpAttributeClosure(simplifiedRHS[i].lhs)); 572 | simplifiedLHS.push(new FunctionalDependency(newLHS, simplifiedRHS[i].rhs)); 573 | } 574 | 575 | return new RelationalSchema(this.eliminateDependencies(simplifiedLHS)); 576 | 577 | }; 578 | 579 | this.project = function (atrributes) { 580 | }; 581 | 582 | this.decomposeTo3NF = function () { 583 | 584 | }; 585 | 586 | this.decomposeToBCNF = function () { 587 | 588 | }; 589 | /** 590 | * Checks if to relational schemas are equal 591 | * @param other 592 | * @returns {boolean} 593 | */ 594 | this.equals = function (other) { 595 | if(other.constructor !== this.constructor) 596 | return false; 597 | 598 | var othersAttributeClosures = other.allAttributeClosures(); 599 | var myAttributeClosures = this.allAttributeClosures(); 600 | 601 | if(othersAttributeClosures.length !== myAttributeClosures.length) 602 | return false; 603 | 604 | othersAttributeClosures.sort(function (a, b) { 605 | var dist = b[0].length - a[0].length; 606 | if(dist !== 0) 607 | return dist; 608 | else 609 | return (""+b[0]).localeCompare(""+a[0]); 610 | }); 611 | 612 | myAttributeClosures.sort(function (a, b) { 613 | var dist = b[0].length - a[0].length; 614 | if(dist !== 0) 615 | return dist; 616 | else 617 | return (""+b[0]).localeCompare(""+a[0]); 618 | }); 619 | 620 | for(var i = 0; i < myAttributeClosures.length; i++){ 621 | if(""+othersAttributeClosures[i][0] !== ""+myAttributeClosures[i][0]) 622 | return false; 623 | 624 | var o1 = setToArray(othersAttributeClosures[i][1]).sort(); 625 | var o2 = setToArray(myAttributeClosures[i][1]).sort(); 626 | 627 | if(o1.length !== o2.length) 628 | return false; 629 | 630 | for(var j = 0; j < o1.length; j++){ 631 | if(o1[j] !== o2[j]) 632 | return false; 633 | } 634 | } 635 | return true; 636 | }; 637 | 638 | /** 639 | * Convert to latex 640 | */ 641 | this.toLatex = function () { 642 | var str = "\\{ "; 643 | for(var i = 0; i < fdList.length; i++){ 644 | str += fdList[i].toLatex(); 645 | if(i + 1 !== fdList.length) 646 | str += ", \\allowbreak"; 647 | } 648 | str += "\\}"; 649 | return str; 650 | }; 651 | } 652 | 653 | /** 654 | * Check if two arrays are the same. WTF does JS not have an in-built method for this? 655 | * @param arr1 656 | * @param arr2 657 | */ 658 | function arrayEquals(arr1, arr2){ 659 | 660 | if(arr1.length !== arr2.length) 661 | return false; 662 | 663 | for(var i = 0 ; i < arr1.length; i++){ 664 | if(arr1[i] !== arr2[i]) 665 | return false; 666 | } 667 | 668 | return true; 669 | } 670 | 671 | /** 672 | * Convert a set to array 673 | */ 674 | function setToArray(set){ 675 | var arr = []; 676 | set.forEach(function (val) { 677 | arr.push(val); 678 | }); 679 | return arr; 680 | } 681 | /** 682 | * Check if a subset is a subset of another set 683 | * @param subset - The set you are checking 684 | * @param superset - The super set 685 | * @returns {boolean} 686 | */ 687 | function isSubset(subset, superset){ 688 | for(var i = 0; i < subset.length; i++){ 689 | if(!superset.has(subset[i])){ 690 | return false; 691 | } 692 | } 693 | return true; 694 | } 695 | 696 | /** 697 | * Proper subset 698 | * @param subset 699 | * @param superset 700 | */ 701 | function isProperSubset(subset, superset) { 702 | return (subset.length < superset.size) && isSubset(subset,superset); 703 | } 704 | 705 | 706 | /** 707 | * Find the set difference between two sets. i.e. set1 - set2 708 | * @param set1 709 | * @param set2 710 | */ 711 | function setDifference(set1, set2) { 712 | var newSet = []; 713 | set1.forEach(function (val) { 714 | if(!set2.has(val)){ 715 | newSet.push(val); 716 | } 717 | }); 718 | return newSet; 719 | } 720 | 721 | /** 722 | * Find the set union between two sets 723 | * @param set1 724 | * @param set2 725 | */ 726 | function setUnion(set1, set2) { 727 | var newSet = new Set(); 728 | set1.forEach(function (val) { 729 | newSet.add(val); 730 | }); 731 | set2.forEach(function (val) { 732 | newSet.add(val); 733 | }); 734 | var asArray = []; 735 | newSet.forEach(function (val) { 736 | asArray.push(val); 737 | }); 738 | return asArray; 739 | } 740 | 741 | /** 742 | * Returns the prowerSet of a list 743 | * @param lst - the list 744 | * @returns {Array} 745 | */ 746 | function powerSet(lst) { 747 | function fork(i, t) { 748 | if (i === lst.length) { 749 | result.push(t); 750 | return; 751 | } 752 | fork(i + 1, t.concat([lst[i]])); 753 | fork(i + 1, t); 754 | } 755 | var result = []; 756 | fork(0, []); 757 | return result; 758 | } 759 | 760 | 761 | 762 | var ParserStates = { 763 | no_input: 1, 764 | in_lhs: 2, 765 | in_rhs: 3, 766 | in_arrow: 4, 767 | expect_rhs: 5, 768 | expect_comma: 6, 769 | expect_arrow: 7 770 | }; 771 | 772 | /** 773 | * Function parses all the string attributes 774 | * @param input - String with functional dependencies 775 | */ 776 | function parseAttributes(input){ 777 | var curr_state = ParserStates.no_input; 778 | var lhs = []; 779 | var rhs = []; 780 | var fds = []; 781 | var curr_token = ""; 782 | for(i = 0; i < input.length; i++){ 783 | if(curr_state === ParserStates.no_input){ 784 | if(input[i] === "{"){ 785 | curr_state = ParserStates.in_lhs; 786 | } else if(input[i] !== " "){ 787 | throw "Format Error!! Expected a functional dependency {a,b}->{c} instead found token: "+i; 788 | } 789 | } 790 | 791 | else if(curr_state === ParserStates.in_lhs) { 792 | if(input[i] === ","){ 793 | lhs.push(curr_token); 794 | curr_token = ""; 795 | } else if(input[i] === "}") { 796 | if(curr_token === "") { 797 | throw "Format error!! Expected something between the comma and brace!" 798 | } 799 | lhs.push(curr_token); 800 | curr_token = ""; 801 | curr_state = ParserStates.expect_arrow; 802 | } else if(input[i] !== " ") { 803 | curr_token += input[i]; 804 | } 805 | } 806 | 807 | else if(curr_state === ParserStates.expect_arrow) { 808 | if(input[i] === "-"){ 809 | curr_state = ParserStates.in_arrow; 810 | } else if (input[i] !== " "){ 811 | throw "Format Error!! An arrow -> instead found token: " + input[i] + i + "IN_ARROW"; 812 | } 813 | } 814 | 815 | else if(curr_state === ParserStates.in_arrow) { 816 | if(input[i] !== ">") { 817 | throw "Format Error!! An arrow -> instead found token: -" + input[i]; 818 | } else { 819 | curr_state = ParserStates.expect_rhs; 820 | } 821 | } 822 | 823 | else if(curr_state === ParserStates.expect_rhs){ 824 | if(input[i] === "{"){ 825 | curr_state = ParserStates.in_rhs; 826 | } else if(input[i] !== " "){ 827 | throw "Format Error!! Expected a functional dependency {a,b}->{c} instead found token: " + input[i]; 828 | } 829 | 830 | } 831 | 832 | else if(curr_state === ParserStates.in_rhs) { 833 | if(input[i] === ","){ 834 | rhs.push(curr_token); 835 | curr_token = ""; 836 | } else if(input[i] === "}") { 837 | curr_state = ParserStates.expect_comma; 838 | if(curr_token === "") { 839 | throw "Format error!! Expected something between the comma and brace!" 840 | } 841 | 842 | rhs.push(curr_token); 843 | curr_token = ""; 844 | console.log("creating FD " + lhs + "->"+ rhs); 845 | fds.push(new FunctionalDependency(lhs,rhs)); 846 | lhs = []; 847 | rhs = []; 848 | } else if(input[i] !== " ") { 849 | curr_token += input[i]; 850 | } 851 | } 852 | 853 | else if(curr_state === ParserStates.expect_comma){ 854 | if(input[i] === ","){ 855 | curr_state = ParserStates.no_input; 856 | } else if(input[i] !== " "){ 857 | throw "Format Error!! Only spaces and commas should separate FDs instead found " + input[i]; 858 | } 859 | } 860 | } 861 | 862 | return fds; 863 | } 864 | 865 | /** 866 | * Renders the attribute closures and marks them as and when they are needed. 867 | * @param attrs - The attribute closure. 868 | * @param numberOfAttributes - The number of attributes in the relation. 869 | * @param relation - The relation of interest 870 | */ 871 | function renderAttributeClosures(attrs, numberOfAttributes, relation){ 872 | var htmlString = "
    "; 873 | attrs.sort(function (a, b) { 874 | var dist = b[0].length - a[0].length; 875 | if(dist !== 0) 876 | return dist; 877 | else 878 | return (""+b[0]).localeCompare(""+a[0]); 879 | }); 880 | attrs.reverse(); 881 | for(var i = 0; i < attrs.length; i++){ 882 | htmlString += "
  • "; 883 | var latexString = "\\{ "; 884 | for(var j = 0; j < attrs[i][0].length; j++){ 885 | latexString += attrs[i][0][j]; 886 | if(j + 1 !== attrs[i][0].length){ 887 | latexString += ", "; 888 | } 889 | } 890 | latexString += "\\}+ = \\{"; 891 | 892 | var rhs = []; 893 | attrs[i][1].forEach(function (val) { 894 | rhs.push(val); 895 | }); 896 | 897 | 898 | for(j = 0; j < rhs.length; j++){ 899 | latexString += rhs[j]; 900 | if(j + 1 !== rhs.length){ 901 | latexString += ", "; 902 | } 903 | } 904 | latexString += "\\}"; 905 | 906 | htmlString += katex.renderToString(latexString, { 907 | throwOnError: false 908 | }); 909 | 910 | if(rhs.length === numberOfAttributes){ 911 | if(!relation.canMinimize(attrs[i][0])){ 912 | htmlString += "Candidate Key"; 913 | } 914 | else { 915 | htmlString += "Super Key"; 916 | } 917 | } 918 | 919 | htmlString += "
  • "; 920 | } 921 | htmlString += "
"; 922 | document.getElementById("attribute_closures").innerHTML = htmlString; 923 | } 924 | 925 | /** 926 | * Renders F+, when given a set of FD. 927 | * @param closure 928 | * @param relation 929 | */ 930 | function renderFunctionalClosure(closure, relation){ 931 | var htmlString = "

The following elements are in F+:

    "; 932 | var secondnf = relation.isSecondNF(); 933 | var thirdnf = relation.isThirdNF(); 934 | for(var i = 0 ; i < closure.length; i++){ 935 | htmlString += "
  • "; 936 | htmlString += katex.renderToString(closure[i].toLatex(), { 937 | throwOnError: false 938 | }); 939 | if(closure[i].isTrivial()){ 940 | htmlString += "Trivial"; 941 | } 942 | 943 | if(!secondnf){ 944 | if(relation.violates2NF(closure[i])){ 945 | htmlString += "violates 2NF"; 946 | } 947 | } else { 948 | if(!thirdnf){ 949 | if(relation.violates3NF(closure[i])){ 950 | htmlString += "violates 3NF"; 951 | } 952 | } else { 953 | if(relation.violatesBCNF(closure[i])){ 954 | htmlString += "violates BCNF"; 955 | } 956 | } 957 | } 958 | 959 | htmlString += "
  • "; 960 | } 961 | htmlString += "
"; 962 | document.getElementById("fd_closure").innerHTML = htmlString; 963 | } 964 | 965 | function renderNF(warning, id){ 966 | if(warning) { 967 | try { 968 | document.getElementById(id).classList.add("list-group-item-success"); 969 | document.getElementById(id).classList.remove("list-group-item-danger"); 970 | } catch (e) { 971 | } 972 | 973 | } else { 974 | try { 975 | document.getElementById(id).classList.add("list-group-item-danger"); 976 | document.getElementById(id).classList.remove("list-group-item-success"); 977 | } catch (e) { 978 | } 979 | } 980 | } 981 | 982 | try { 983 | window.onload = function (ev) { 984 | var input = document.getElementById("functional_deps"); 985 | input.addEventListener("change", function (evt) { 986 | try { 987 | fds = parseAttributes(input.value); 988 | var relationalSchema = new RelationalSchema(fds); 989 | var attributeClosures = relationalSchema.allAttributeClosures(); 990 | renderAttributeClosures(attributeClosures, relationalSchema.extractAttributes().size, relationalSchema); 991 | renderFunctionalClosure(relationalSchema.closure(), relationalSchema); 992 | renderNF(relationalSchema.isSecondNF(), "2NF"); 993 | renderNF(relationalSchema.isThirdNF(), "3NF"); 994 | renderNF(relationalSchema.isBCNF(), "BCNF"); 995 | document.getElementById("errorbox").innerHTML = ""; 996 | document.getElementById("min_cover").innerHTML = katex.renderToString(relationalSchema.minimalCover().toLatex(), { 997 | throwOnError: false 998 | }); 999 | } catch (e) { 1000 | console.error("Failed to parse input" + e); 1001 | document.getElementById("errorbox").innerHTML = e; 1002 | } 1003 | }); 1004 | }; 1005 | } catch (e){ 1006 | console.log("Running in headless mode on node"); 1007 | module.exports = {}; 1008 | module.exports.FunctionalDependency= FunctionalDependency; 1009 | module.exports.RelationalSchema = RelationalSchema; 1010 | } 1011 | -------------------------------------------------------------------------------- /css/bootstrap-grid.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grid v4.1.3 (https://getbootstrap.com/) 3 | * Copyright 2011-2018 The Bootstrap Authors 4 | * Copyright 2011-2018 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | @-ms-viewport { 8 | width: device-width; 9 | } 10 | 11 | html { 12 | box-sizing: border-box; 13 | -ms-overflow-style: scrollbar; 14 | } 15 | 16 | *, 17 | *::before, 18 | *::after { 19 | box-sizing: inherit; 20 | } 21 | 22 | .container { 23 | width: 100%; 24 | padding-right: 15px; 25 | padding-left: 15px; 26 | margin-right: auto; 27 | margin-left: auto; 28 | } 29 | 30 | @media (min-width: 576px) { 31 | .container { 32 | max-width: 540px; 33 | } 34 | } 35 | 36 | @media (min-width: 768px) { 37 | .container { 38 | max-width: 720px; 39 | } 40 | } 41 | 42 | @media (min-width: 992px) { 43 | .container { 44 | max-width: 960px; 45 | } 46 | } 47 | 48 | @media (min-width: 1200px) { 49 | .container { 50 | max-width: 1140px; 51 | } 52 | } 53 | 54 | .container-fluid { 55 | width: 100%; 56 | padding-right: 15px; 57 | padding-left: 15px; 58 | margin-right: auto; 59 | margin-left: auto; 60 | } 61 | 62 | .row { 63 | display: -ms-flexbox; 64 | display: flex; 65 | -ms-flex-wrap: wrap; 66 | flex-wrap: wrap; 67 | margin-right: -15px; 68 | margin-left: -15px; 69 | } 70 | 71 | .no-gutters { 72 | margin-right: 0; 73 | margin-left: 0; 74 | } 75 | 76 | .no-gutters > .col, 77 | .no-gutters > [class*="col-"] { 78 | padding-right: 0; 79 | padding-left: 0; 80 | } 81 | 82 | .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, 83 | .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, 84 | .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, 85 | .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, 86 | .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, 87 | .col-xl-auto { 88 | position: relative; 89 | width: 100%; 90 | min-height: 1px; 91 | padding-right: 15px; 92 | padding-left: 15px; 93 | } 94 | 95 | .col { 96 | -ms-flex-preferred-size: 0; 97 | flex-basis: 0; 98 | -ms-flex-positive: 1; 99 | flex-grow: 1; 100 | max-width: 100%; 101 | } 102 | 103 | .col-auto { 104 | -ms-flex: 0 0 auto; 105 | flex: 0 0 auto; 106 | width: auto; 107 | max-width: none; 108 | } 109 | 110 | .col-1 { 111 | -ms-flex: 0 0 8.333333%; 112 | flex: 0 0 8.333333%; 113 | max-width: 8.333333%; 114 | } 115 | 116 | .col-2 { 117 | -ms-flex: 0 0 16.666667%; 118 | flex: 0 0 16.666667%; 119 | max-width: 16.666667%; 120 | } 121 | 122 | .col-3 { 123 | -ms-flex: 0 0 25%; 124 | flex: 0 0 25%; 125 | max-width: 25%; 126 | } 127 | 128 | .col-4 { 129 | -ms-flex: 0 0 33.333333%; 130 | flex: 0 0 33.333333%; 131 | max-width: 33.333333%; 132 | } 133 | 134 | .col-5 { 135 | -ms-flex: 0 0 41.666667%; 136 | flex: 0 0 41.666667%; 137 | max-width: 41.666667%; 138 | } 139 | 140 | .col-6 { 141 | -ms-flex: 0 0 50%; 142 | flex: 0 0 50%; 143 | max-width: 50%; 144 | } 145 | 146 | .col-7 { 147 | -ms-flex: 0 0 58.333333%; 148 | flex: 0 0 58.333333%; 149 | max-width: 58.333333%; 150 | } 151 | 152 | .col-8 { 153 | -ms-flex: 0 0 66.666667%; 154 | flex: 0 0 66.666667%; 155 | max-width: 66.666667%; 156 | } 157 | 158 | .col-9 { 159 | -ms-flex: 0 0 75%; 160 | flex: 0 0 75%; 161 | max-width: 75%; 162 | } 163 | 164 | .col-10 { 165 | -ms-flex: 0 0 83.333333%; 166 | flex: 0 0 83.333333%; 167 | max-width: 83.333333%; 168 | } 169 | 170 | .col-11 { 171 | -ms-flex: 0 0 91.666667%; 172 | flex: 0 0 91.666667%; 173 | max-width: 91.666667%; 174 | } 175 | 176 | .col-12 { 177 | -ms-flex: 0 0 100%; 178 | flex: 0 0 100%; 179 | max-width: 100%; 180 | } 181 | 182 | .order-first { 183 | -ms-flex-order: -1; 184 | order: -1; 185 | } 186 | 187 | .order-last { 188 | -ms-flex-order: 13; 189 | order: 13; 190 | } 191 | 192 | .order-0 { 193 | -ms-flex-order: 0; 194 | order: 0; 195 | } 196 | 197 | .order-1 { 198 | -ms-flex-order: 1; 199 | order: 1; 200 | } 201 | 202 | .order-2 { 203 | -ms-flex-order: 2; 204 | order: 2; 205 | } 206 | 207 | .order-3 { 208 | -ms-flex-order: 3; 209 | order: 3; 210 | } 211 | 212 | .order-4 { 213 | -ms-flex-order: 4; 214 | order: 4; 215 | } 216 | 217 | .order-5 { 218 | -ms-flex-order: 5; 219 | order: 5; 220 | } 221 | 222 | .order-6 { 223 | -ms-flex-order: 6; 224 | order: 6; 225 | } 226 | 227 | .order-7 { 228 | -ms-flex-order: 7; 229 | order: 7; 230 | } 231 | 232 | .order-8 { 233 | -ms-flex-order: 8; 234 | order: 8; 235 | } 236 | 237 | .order-9 { 238 | -ms-flex-order: 9; 239 | order: 9; 240 | } 241 | 242 | .order-10 { 243 | -ms-flex-order: 10; 244 | order: 10; 245 | } 246 | 247 | .order-11 { 248 | -ms-flex-order: 11; 249 | order: 11; 250 | } 251 | 252 | .order-12 { 253 | -ms-flex-order: 12; 254 | order: 12; 255 | } 256 | 257 | .offset-1 { 258 | margin-left: 8.333333%; 259 | } 260 | 261 | .offset-2 { 262 | margin-left: 16.666667%; 263 | } 264 | 265 | .offset-3 { 266 | margin-left: 25%; 267 | } 268 | 269 | .offset-4 { 270 | margin-left: 33.333333%; 271 | } 272 | 273 | .offset-5 { 274 | margin-left: 41.666667%; 275 | } 276 | 277 | .offset-6 { 278 | margin-left: 50%; 279 | } 280 | 281 | .offset-7 { 282 | margin-left: 58.333333%; 283 | } 284 | 285 | .offset-8 { 286 | margin-left: 66.666667%; 287 | } 288 | 289 | .offset-9 { 290 | margin-left: 75%; 291 | } 292 | 293 | .offset-10 { 294 | margin-left: 83.333333%; 295 | } 296 | 297 | .offset-11 { 298 | margin-left: 91.666667%; 299 | } 300 | 301 | @media (min-width: 576px) { 302 | .col-sm { 303 | -ms-flex-preferred-size: 0; 304 | flex-basis: 0; 305 | -ms-flex-positive: 1; 306 | flex-grow: 1; 307 | max-width: 100%; 308 | } 309 | .col-sm-auto { 310 | -ms-flex: 0 0 auto; 311 | flex: 0 0 auto; 312 | width: auto; 313 | max-width: none; 314 | } 315 | .col-sm-1 { 316 | -ms-flex: 0 0 8.333333%; 317 | flex: 0 0 8.333333%; 318 | max-width: 8.333333%; 319 | } 320 | .col-sm-2 { 321 | -ms-flex: 0 0 16.666667%; 322 | flex: 0 0 16.666667%; 323 | max-width: 16.666667%; 324 | } 325 | .col-sm-3 { 326 | -ms-flex: 0 0 25%; 327 | flex: 0 0 25%; 328 | max-width: 25%; 329 | } 330 | .col-sm-4 { 331 | -ms-flex: 0 0 33.333333%; 332 | flex: 0 0 33.333333%; 333 | max-width: 33.333333%; 334 | } 335 | .col-sm-5 { 336 | -ms-flex: 0 0 41.666667%; 337 | flex: 0 0 41.666667%; 338 | max-width: 41.666667%; 339 | } 340 | .col-sm-6 { 341 | -ms-flex: 0 0 50%; 342 | flex: 0 0 50%; 343 | max-width: 50%; 344 | } 345 | .col-sm-7 { 346 | -ms-flex: 0 0 58.333333%; 347 | flex: 0 0 58.333333%; 348 | max-width: 58.333333%; 349 | } 350 | .col-sm-8 { 351 | -ms-flex: 0 0 66.666667%; 352 | flex: 0 0 66.666667%; 353 | max-width: 66.666667%; 354 | } 355 | .col-sm-9 { 356 | -ms-flex: 0 0 75%; 357 | flex: 0 0 75%; 358 | max-width: 75%; 359 | } 360 | .col-sm-10 { 361 | -ms-flex: 0 0 83.333333%; 362 | flex: 0 0 83.333333%; 363 | max-width: 83.333333%; 364 | } 365 | .col-sm-11 { 366 | -ms-flex: 0 0 91.666667%; 367 | flex: 0 0 91.666667%; 368 | max-width: 91.666667%; 369 | } 370 | .col-sm-12 { 371 | -ms-flex: 0 0 100%; 372 | flex: 0 0 100%; 373 | max-width: 100%; 374 | } 375 | .order-sm-first { 376 | -ms-flex-order: -1; 377 | order: -1; 378 | } 379 | .order-sm-last { 380 | -ms-flex-order: 13; 381 | order: 13; 382 | } 383 | .order-sm-0 { 384 | -ms-flex-order: 0; 385 | order: 0; 386 | } 387 | .order-sm-1 { 388 | -ms-flex-order: 1; 389 | order: 1; 390 | } 391 | .order-sm-2 { 392 | -ms-flex-order: 2; 393 | order: 2; 394 | } 395 | .order-sm-3 { 396 | -ms-flex-order: 3; 397 | order: 3; 398 | } 399 | .order-sm-4 { 400 | -ms-flex-order: 4; 401 | order: 4; 402 | } 403 | .order-sm-5 { 404 | -ms-flex-order: 5; 405 | order: 5; 406 | } 407 | .order-sm-6 { 408 | -ms-flex-order: 6; 409 | order: 6; 410 | } 411 | .order-sm-7 { 412 | -ms-flex-order: 7; 413 | order: 7; 414 | } 415 | .order-sm-8 { 416 | -ms-flex-order: 8; 417 | order: 8; 418 | } 419 | .order-sm-9 { 420 | -ms-flex-order: 9; 421 | order: 9; 422 | } 423 | .order-sm-10 { 424 | -ms-flex-order: 10; 425 | order: 10; 426 | } 427 | .order-sm-11 { 428 | -ms-flex-order: 11; 429 | order: 11; 430 | } 431 | .order-sm-12 { 432 | -ms-flex-order: 12; 433 | order: 12; 434 | } 435 | .offset-sm-0 { 436 | margin-left: 0; 437 | } 438 | .offset-sm-1 { 439 | margin-left: 8.333333%; 440 | } 441 | .offset-sm-2 { 442 | margin-left: 16.666667%; 443 | } 444 | .offset-sm-3 { 445 | margin-left: 25%; 446 | } 447 | .offset-sm-4 { 448 | margin-left: 33.333333%; 449 | } 450 | .offset-sm-5 { 451 | margin-left: 41.666667%; 452 | } 453 | .offset-sm-6 { 454 | margin-left: 50%; 455 | } 456 | .offset-sm-7 { 457 | margin-left: 58.333333%; 458 | } 459 | .offset-sm-8 { 460 | margin-left: 66.666667%; 461 | } 462 | .offset-sm-9 { 463 | margin-left: 75%; 464 | } 465 | .offset-sm-10 { 466 | margin-left: 83.333333%; 467 | } 468 | .offset-sm-11 { 469 | margin-left: 91.666667%; 470 | } 471 | } 472 | 473 | @media (min-width: 768px) { 474 | .col-md { 475 | -ms-flex-preferred-size: 0; 476 | flex-basis: 0; 477 | -ms-flex-positive: 1; 478 | flex-grow: 1; 479 | max-width: 100%; 480 | } 481 | .col-md-auto { 482 | -ms-flex: 0 0 auto; 483 | flex: 0 0 auto; 484 | width: auto; 485 | max-width: none; 486 | } 487 | .col-md-1 { 488 | -ms-flex: 0 0 8.333333%; 489 | flex: 0 0 8.333333%; 490 | max-width: 8.333333%; 491 | } 492 | .col-md-2 { 493 | -ms-flex: 0 0 16.666667%; 494 | flex: 0 0 16.666667%; 495 | max-width: 16.666667%; 496 | } 497 | .col-md-3 { 498 | -ms-flex: 0 0 25%; 499 | flex: 0 0 25%; 500 | max-width: 25%; 501 | } 502 | .col-md-4 { 503 | -ms-flex: 0 0 33.333333%; 504 | flex: 0 0 33.333333%; 505 | max-width: 33.333333%; 506 | } 507 | .col-md-5 { 508 | -ms-flex: 0 0 41.666667%; 509 | flex: 0 0 41.666667%; 510 | max-width: 41.666667%; 511 | } 512 | .col-md-6 { 513 | -ms-flex: 0 0 50%; 514 | flex: 0 0 50%; 515 | max-width: 50%; 516 | } 517 | .col-md-7 { 518 | -ms-flex: 0 0 58.333333%; 519 | flex: 0 0 58.333333%; 520 | max-width: 58.333333%; 521 | } 522 | .col-md-8 { 523 | -ms-flex: 0 0 66.666667%; 524 | flex: 0 0 66.666667%; 525 | max-width: 66.666667%; 526 | } 527 | .col-md-9 { 528 | -ms-flex: 0 0 75%; 529 | flex: 0 0 75%; 530 | max-width: 75%; 531 | } 532 | .col-md-10 { 533 | -ms-flex: 0 0 83.333333%; 534 | flex: 0 0 83.333333%; 535 | max-width: 83.333333%; 536 | } 537 | .col-md-11 { 538 | -ms-flex: 0 0 91.666667%; 539 | flex: 0 0 91.666667%; 540 | max-width: 91.666667%; 541 | } 542 | .col-md-12 { 543 | -ms-flex: 0 0 100%; 544 | flex: 0 0 100%; 545 | max-width: 100%; 546 | } 547 | .order-md-first { 548 | -ms-flex-order: -1; 549 | order: -1; 550 | } 551 | .order-md-last { 552 | -ms-flex-order: 13; 553 | order: 13; 554 | } 555 | .order-md-0 { 556 | -ms-flex-order: 0; 557 | order: 0; 558 | } 559 | .order-md-1 { 560 | -ms-flex-order: 1; 561 | order: 1; 562 | } 563 | .order-md-2 { 564 | -ms-flex-order: 2; 565 | order: 2; 566 | } 567 | .order-md-3 { 568 | -ms-flex-order: 3; 569 | order: 3; 570 | } 571 | .order-md-4 { 572 | -ms-flex-order: 4; 573 | order: 4; 574 | } 575 | .order-md-5 { 576 | -ms-flex-order: 5; 577 | order: 5; 578 | } 579 | .order-md-6 { 580 | -ms-flex-order: 6; 581 | order: 6; 582 | } 583 | .order-md-7 { 584 | -ms-flex-order: 7; 585 | order: 7; 586 | } 587 | .order-md-8 { 588 | -ms-flex-order: 8; 589 | order: 8; 590 | } 591 | .order-md-9 { 592 | -ms-flex-order: 9; 593 | order: 9; 594 | } 595 | .order-md-10 { 596 | -ms-flex-order: 10; 597 | order: 10; 598 | } 599 | .order-md-11 { 600 | -ms-flex-order: 11; 601 | order: 11; 602 | } 603 | .order-md-12 { 604 | -ms-flex-order: 12; 605 | order: 12; 606 | } 607 | .offset-md-0 { 608 | margin-left: 0; 609 | } 610 | .offset-md-1 { 611 | margin-left: 8.333333%; 612 | } 613 | .offset-md-2 { 614 | margin-left: 16.666667%; 615 | } 616 | .offset-md-3 { 617 | margin-left: 25%; 618 | } 619 | .offset-md-4 { 620 | margin-left: 33.333333%; 621 | } 622 | .offset-md-5 { 623 | margin-left: 41.666667%; 624 | } 625 | .offset-md-6 { 626 | margin-left: 50%; 627 | } 628 | .offset-md-7 { 629 | margin-left: 58.333333%; 630 | } 631 | .offset-md-8 { 632 | margin-left: 66.666667%; 633 | } 634 | .offset-md-9 { 635 | margin-left: 75%; 636 | } 637 | .offset-md-10 { 638 | margin-left: 83.333333%; 639 | } 640 | .offset-md-11 { 641 | margin-left: 91.666667%; 642 | } 643 | } 644 | 645 | @media (min-width: 992px) { 646 | .col-lg { 647 | -ms-flex-preferred-size: 0; 648 | flex-basis: 0; 649 | -ms-flex-positive: 1; 650 | flex-grow: 1; 651 | max-width: 100%; 652 | } 653 | .col-lg-auto { 654 | -ms-flex: 0 0 auto; 655 | flex: 0 0 auto; 656 | width: auto; 657 | max-width: none; 658 | } 659 | .col-lg-1 { 660 | -ms-flex: 0 0 8.333333%; 661 | flex: 0 0 8.333333%; 662 | max-width: 8.333333%; 663 | } 664 | .col-lg-2 { 665 | -ms-flex: 0 0 16.666667%; 666 | flex: 0 0 16.666667%; 667 | max-width: 16.666667%; 668 | } 669 | .col-lg-3 { 670 | -ms-flex: 0 0 25%; 671 | flex: 0 0 25%; 672 | max-width: 25%; 673 | } 674 | .col-lg-4 { 675 | -ms-flex: 0 0 33.333333%; 676 | flex: 0 0 33.333333%; 677 | max-width: 33.333333%; 678 | } 679 | .col-lg-5 { 680 | -ms-flex: 0 0 41.666667%; 681 | flex: 0 0 41.666667%; 682 | max-width: 41.666667%; 683 | } 684 | .col-lg-6 { 685 | -ms-flex: 0 0 50%; 686 | flex: 0 0 50%; 687 | max-width: 50%; 688 | } 689 | .col-lg-7 { 690 | -ms-flex: 0 0 58.333333%; 691 | flex: 0 0 58.333333%; 692 | max-width: 58.333333%; 693 | } 694 | .col-lg-8 { 695 | -ms-flex: 0 0 66.666667%; 696 | flex: 0 0 66.666667%; 697 | max-width: 66.666667%; 698 | } 699 | .col-lg-9 { 700 | -ms-flex: 0 0 75%; 701 | flex: 0 0 75%; 702 | max-width: 75%; 703 | } 704 | .col-lg-10 { 705 | -ms-flex: 0 0 83.333333%; 706 | flex: 0 0 83.333333%; 707 | max-width: 83.333333%; 708 | } 709 | .col-lg-11 { 710 | -ms-flex: 0 0 91.666667%; 711 | flex: 0 0 91.666667%; 712 | max-width: 91.666667%; 713 | } 714 | .col-lg-12 { 715 | -ms-flex: 0 0 100%; 716 | flex: 0 0 100%; 717 | max-width: 100%; 718 | } 719 | .order-lg-first { 720 | -ms-flex-order: -1; 721 | order: -1; 722 | } 723 | .order-lg-last { 724 | -ms-flex-order: 13; 725 | order: 13; 726 | } 727 | .order-lg-0 { 728 | -ms-flex-order: 0; 729 | order: 0; 730 | } 731 | .order-lg-1 { 732 | -ms-flex-order: 1; 733 | order: 1; 734 | } 735 | .order-lg-2 { 736 | -ms-flex-order: 2; 737 | order: 2; 738 | } 739 | .order-lg-3 { 740 | -ms-flex-order: 3; 741 | order: 3; 742 | } 743 | .order-lg-4 { 744 | -ms-flex-order: 4; 745 | order: 4; 746 | } 747 | .order-lg-5 { 748 | -ms-flex-order: 5; 749 | order: 5; 750 | } 751 | .order-lg-6 { 752 | -ms-flex-order: 6; 753 | order: 6; 754 | } 755 | .order-lg-7 { 756 | -ms-flex-order: 7; 757 | order: 7; 758 | } 759 | .order-lg-8 { 760 | -ms-flex-order: 8; 761 | order: 8; 762 | } 763 | .order-lg-9 { 764 | -ms-flex-order: 9; 765 | order: 9; 766 | } 767 | .order-lg-10 { 768 | -ms-flex-order: 10; 769 | order: 10; 770 | } 771 | .order-lg-11 { 772 | -ms-flex-order: 11; 773 | order: 11; 774 | } 775 | .order-lg-12 { 776 | -ms-flex-order: 12; 777 | order: 12; 778 | } 779 | .offset-lg-0 { 780 | margin-left: 0; 781 | } 782 | .offset-lg-1 { 783 | margin-left: 8.333333%; 784 | } 785 | .offset-lg-2 { 786 | margin-left: 16.666667%; 787 | } 788 | .offset-lg-3 { 789 | margin-left: 25%; 790 | } 791 | .offset-lg-4 { 792 | margin-left: 33.333333%; 793 | } 794 | .offset-lg-5 { 795 | margin-left: 41.666667%; 796 | } 797 | .offset-lg-6 { 798 | margin-left: 50%; 799 | } 800 | .offset-lg-7 { 801 | margin-left: 58.333333%; 802 | } 803 | .offset-lg-8 { 804 | margin-left: 66.666667%; 805 | } 806 | .offset-lg-9 { 807 | margin-left: 75%; 808 | } 809 | .offset-lg-10 { 810 | margin-left: 83.333333%; 811 | } 812 | .offset-lg-11 { 813 | margin-left: 91.666667%; 814 | } 815 | } 816 | 817 | @media (min-width: 1200px) { 818 | .col-xl { 819 | -ms-flex-preferred-size: 0; 820 | flex-basis: 0; 821 | -ms-flex-positive: 1; 822 | flex-grow: 1; 823 | max-width: 100%; 824 | } 825 | .col-xl-auto { 826 | -ms-flex: 0 0 auto; 827 | flex: 0 0 auto; 828 | width: auto; 829 | max-width: none; 830 | } 831 | .col-xl-1 { 832 | -ms-flex: 0 0 8.333333%; 833 | flex: 0 0 8.333333%; 834 | max-width: 8.333333%; 835 | } 836 | .col-xl-2 { 837 | -ms-flex: 0 0 16.666667%; 838 | flex: 0 0 16.666667%; 839 | max-width: 16.666667%; 840 | } 841 | .col-xl-3 { 842 | -ms-flex: 0 0 25%; 843 | flex: 0 0 25%; 844 | max-width: 25%; 845 | } 846 | .col-xl-4 { 847 | -ms-flex: 0 0 33.333333%; 848 | flex: 0 0 33.333333%; 849 | max-width: 33.333333%; 850 | } 851 | .col-xl-5 { 852 | -ms-flex: 0 0 41.666667%; 853 | flex: 0 0 41.666667%; 854 | max-width: 41.666667%; 855 | } 856 | .col-xl-6 { 857 | -ms-flex: 0 0 50%; 858 | flex: 0 0 50%; 859 | max-width: 50%; 860 | } 861 | .col-xl-7 { 862 | -ms-flex: 0 0 58.333333%; 863 | flex: 0 0 58.333333%; 864 | max-width: 58.333333%; 865 | } 866 | .col-xl-8 { 867 | -ms-flex: 0 0 66.666667%; 868 | flex: 0 0 66.666667%; 869 | max-width: 66.666667%; 870 | } 871 | .col-xl-9 { 872 | -ms-flex: 0 0 75%; 873 | flex: 0 0 75%; 874 | max-width: 75%; 875 | } 876 | .col-xl-10 { 877 | -ms-flex: 0 0 83.333333%; 878 | flex: 0 0 83.333333%; 879 | max-width: 83.333333%; 880 | } 881 | .col-xl-11 { 882 | -ms-flex: 0 0 91.666667%; 883 | flex: 0 0 91.666667%; 884 | max-width: 91.666667%; 885 | } 886 | .col-xl-12 { 887 | -ms-flex: 0 0 100%; 888 | flex: 0 0 100%; 889 | max-width: 100%; 890 | } 891 | .order-xl-first { 892 | -ms-flex-order: -1; 893 | order: -1; 894 | } 895 | .order-xl-last { 896 | -ms-flex-order: 13; 897 | order: 13; 898 | } 899 | .order-xl-0 { 900 | -ms-flex-order: 0; 901 | order: 0; 902 | } 903 | .order-xl-1 { 904 | -ms-flex-order: 1; 905 | order: 1; 906 | } 907 | .order-xl-2 { 908 | -ms-flex-order: 2; 909 | order: 2; 910 | } 911 | .order-xl-3 { 912 | -ms-flex-order: 3; 913 | order: 3; 914 | } 915 | .order-xl-4 { 916 | -ms-flex-order: 4; 917 | order: 4; 918 | } 919 | .order-xl-5 { 920 | -ms-flex-order: 5; 921 | order: 5; 922 | } 923 | .order-xl-6 { 924 | -ms-flex-order: 6; 925 | order: 6; 926 | } 927 | .order-xl-7 { 928 | -ms-flex-order: 7; 929 | order: 7; 930 | } 931 | .order-xl-8 { 932 | -ms-flex-order: 8; 933 | order: 8; 934 | } 935 | .order-xl-9 { 936 | -ms-flex-order: 9; 937 | order: 9; 938 | } 939 | .order-xl-10 { 940 | -ms-flex-order: 10; 941 | order: 10; 942 | } 943 | .order-xl-11 { 944 | -ms-flex-order: 11; 945 | order: 11; 946 | } 947 | .order-xl-12 { 948 | -ms-flex-order: 12; 949 | order: 12; 950 | } 951 | .offset-xl-0 { 952 | margin-left: 0; 953 | } 954 | .offset-xl-1 { 955 | margin-left: 8.333333%; 956 | } 957 | .offset-xl-2 { 958 | margin-left: 16.666667%; 959 | } 960 | .offset-xl-3 { 961 | margin-left: 25%; 962 | } 963 | .offset-xl-4 { 964 | margin-left: 33.333333%; 965 | } 966 | .offset-xl-5 { 967 | margin-left: 41.666667%; 968 | } 969 | .offset-xl-6 { 970 | margin-left: 50%; 971 | } 972 | .offset-xl-7 { 973 | margin-left: 58.333333%; 974 | } 975 | .offset-xl-8 { 976 | margin-left: 66.666667%; 977 | } 978 | .offset-xl-9 { 979 | margin-left: 75%; 980 | } 981 | .offset-xl-10 { 982 | margin-left: 83.333333%; 983 | } 984 | .offset-xl-11 { 985 | margin-left: 91.666667%; 986 | } 987 | } 988 | 989 | .d-none { 990 | display: none !important; 991 | } 992 | 993 | .d-inline { 994 | display: inline !important; 995 | } 996 | 997 | .d-inline-block { 998 | display: inline-block !important; 999 | } 1000 | 1001 | .d-block { 1002 | display: block !important; 1003 | } 1004 | 1005 | .d-table { 1006 | display: table !important; 1007 | } 1008 | 1009 | .d-table-row { 1010 | display: table-row !important; 1011 | } 1012 | 1013 | .d-table-cell { 1014 | display: table-cell !important; 1015 | } 1016 | 1017 | .d-flex { 1018 | display: -ms-flexbox !important; 1019 | display: flex !important; 1020 | } 1021 | 1022 | .d-inline-flex { 1023 | display: -ms-inline-flexbox !important; 1024 | display: inline-flex !important; 1025 | } 1026 | 1027 | @media (min-width: 576px) { 1028 | .d-sm-none { 1029 | display: none !important; 1030 | } 1031 | .d-sm-inline { 1032 | display: inline !important; 1033 | } 1034 | .d-sm-inline-block { 1035 | display: inline-block !important; 1036 | } 1037 | .d-sm-block { 1038 | display: block !important; 1039 | } 1040 | .d-sm-table { 1041 | display: table !important; 1042 | } 1043 | .d-sm-table-row { 1044 | display: table-row !important; 1045 | } 1046 | .d-sm-table-cell { 1047 | display: table-cell !important; 1048 | } 1049 | .d-sm-flex { 1050 | display: -ms-flexbox !important; 1051 | display: flex !important; 1052 | } 1053 | .d-sm-inline-flex { 1054 | display: -ms-inline-flexbox !important; 1055 | display: inline-flex !important; 1056 | } 1057 | } 1058 | 1059 | @media (min-width: 768px) { 1060 | .d-md-none { 1061 | display: none !important; 1062 | } 1063 | .d-md-inline { 1064 | display: inline !important; 1065 | } 1066 | .d-md-inline-block { 1067 | display: inline-block !important; 1068 | } 1069 | .d-md-block { 1070 | display: block !important; 1071 | } 1072 | .d-md-table { 1073 | display: table !important; 1074 | } 1075 | .d-md-table-row { 1076 | display: table-row !important; 1077 | } 1078 | .d-md-table-cell { 1079 | display: table-cell !important; 1080 | } 1081 | .d-md-flex { 1082 | display: -ms-flexbox !important; 1083 | display: flex !important; 1084 | } 1085 | .d-md-inline-flex { 1086 | display: -ms-inline-flexbox !important; 1087 | display: inline-flex !important; 1088 | } 1089 | } 1090 | 1091 | @media (min-width: 992px) { 1092 | .d-lg-none { 1093 | display: none !important; 1094 | } 1095 | .d-lg-inline { 1096 | display: inline !important; 1097 | } 1098 | .d-lg-inline-block { 1099 | display: inline-block !important; 1100 | } 1101 | .d-lg-block { 1102 | display: block !important; 1103 | } 1104 | .d-lg-table { 1105 | display: table !important; 1106 | } 1107 | .d-lg-table-row { 1108 | display: table-row !important; 1109 | } 1110 | .d-lg-table-cell { 1111 | display: table-cell !important; 1112 | } 1113 | .d-lg-flex { 1114 | display: -ms-flexbox !important; 1115 | display: flex !important; 1116 | } 1117 | .d-lg-inline-flex { 1118 | display: -ms-inline-flexbox !important; 1119 | display: inline-flex !important; 1120 | } 1121 | } 1122 | 1123 | @media (min-width: 1200px) { 1124 | .d-xl-none { 1125 | display: none !important; 1126 | } 1127 | .d-xl-inline { 1128 | display: inline !important; 1129 | } 1130 | .d-xl-inline-block { 1131 | display: inline-block !important; 1132 | } 1133 | .d-xl-block { 1134 | display: block !important; 1135 | } 1136 | .d-xl-table { 1137 | display: table !important; 1138 | } 1139 | .d-xl-table-row { 1140 | display: table-row !important; 1141 | } 1142 | .d-xl-table-cell { 1143 | display: table-cell !important; 1144 | } 1145 | .d-xl-flex { 1146 | display: -ms-flexbox !important; 1147 | display: flex !important; 1148 | } 1149 | .d-xl-inline-flex { 1150 | display: -ms-inline-flexbox !important; 1151 | display: inline-flex !important; 1152 | } 1153 | } 1154 | 1155 | @media print { 1156 | .d-print-none { 1157 | display: none !important; 1158 | } 1159 | .d-print-inline { 1160 | display: inline !important; 1161 | } 1162 | .d-print-inline-block { 1163 | display: inline-block !important; 1164 | } 1165 | .d-print-block { 1166 | display: block !important; 1167 | } 1168 | .d-print-table { 1169 | display: table !important; 1170 | } 1171 | .d-print-table-row { 1172 | display: table-row !important; 1173 | } 1174 | .d-print-table-cell { 1175 | display: table-cell !important; 1176 | } 1177 | .d-print-flex { 1178 | display: -ms-flexbox !important; 1179 | display: flex !important; 1180 | } 1181 | .d-print-inline-flex { 1182 | display: -ms-inline-flexbox !important; 1183 | display: inline-flex !important; 1184 | } 1185 | } 1186 | 1187 | .flex-row { 1188 | -ms-flex-direction: row !important; 1189 | flex-direction: row !important; 1190 | } 1191 | 1192 | .flex-column { 1193 | -ms-flex-direction: column !important; 1194 | flex-direction: column !important; 1195 | } 1196 | 1197 | .flex-row-reverse { 1198 | -ms-flex-direction: row-reverse !important; 1199 | flex-direction: row-reverse !important; 1200 | } 1201 | 1202 | .flex-column-reverse { 1203 | -ms-flex-direction: column-reverse !important; 1204 | flex-direction: column-reverse !important; 1205 | } 1206 | 1207 | .flex-wrap { 1208 | -ms-flex-wrap: wrap !important; 1209 | flex-wrap: wrap !important; 1210 | } 1211 | 1212 | .flex-nowrap { 1213 | -ms-flex-wrap: nowrap !important; 1214 | flex-wrap: nowrap !important; 1215 | } 1216 | 1217 | .flex-wrap-reverse { 1218 | -ms-flex-wrap: wrap-reverse !important; 1219 | flex-wrap: wrap-reverse !important; 1220 | } 1221 | 1222 | .flex-fill { 1223 | -ms-flex: 1 1 auto !important; 1224 | flex: 1 1 auto !important; 1225 | } 1226 | 1227 | .flex-grow-0 { 1228 | -ms-flex-positive: 0 !important; 1229 | flex-grow: 0 !important; 1230 | } 1231 | 1232 | .flex-grow-1 { 1233 | -ms-flex-positive: 1 !important; 1234 | flex-grow: 1 !important; 1235 | } 1236 | 1237 | .flex-shrink-0 { 1238 | -ms-flex-negative: 0 !important; 1239 | flex-shrink: 0 !important; 1240 | } 1241 | 1242 | .flex-shrink-1 { 1243 | -ms-flex-negative: 1 !important; 1244 | flex-shrink: 1 !important; 1245 | } 1246 | 1247 | .justify-content-start { 1248 | -ms-flex-pack: start !important; 1249 | justify-content: flex-start !important; 1250 | } 1251 | 1252 | .justify-content-end { 1253 | -ms-flex-pack: end !important; 1254 | justify-content: flex-end !important; 1255 | } 1256 | 1257 | .justify-content-center { 1258 | -ms-flex-pack: center !important; 1259 | justify-content: center !important; 1260 | } 1261 | 1262 | .justify-content-between { 1263 | -ms-flex-pack: justify !important; 1264 | justify-content: space-between !important; 1265 | } 1266 | 1267 | .justify-content-around { 1268 | -ms-flex-pack: distribute !important; 1269 | justify-content: space-around !important; 1270 | } 1271 | 1272 | .align-items-start { 1273 | -ms-flex-align: start !important; 1274 | align-items: flex-start !important; 1275 | } 1276 | 1277 | .align-items-end { 1278 | -ms-flex-align: end !important; 1279 | align-items: flex-end !important; 1280 | } 1281 | 1282 | .align-items-center { 1283 | -ms-flex-align: center !important; 1284 | align-items: center !important; 1285 | } 1286 | 1287 | .align-items-baseline { 1288 | -ms-flex-align: baseline !important; 1289 | align-items: baseline !important; 1290 | } 1291 | 1292 | .align-items-stretch { 1293 | -ms-flex-align: stretch !important; 1294 | align-items: stretch !important; 1295 | } 1296 | 1297 | .align-content-start { 1298 | -ms-flex-line-pack: start !important; 1299 | align-content: flex-start !important; 1300 | } 1301 | 1302 | .align-content-end { 1303 | -ms-flex-line-pack: end !important; 1304 | align-content: flex-end !important; 1305 | } 1306 | 1307 | .align-content-center { 1308 | -ms-flex-line-pack: center !important; 1309 | align-content: center !important; 1310 | } 1311 | 1312 | .align-content-between { 1313 | -ms-flex-line-pack: justify !important; 1314 | align-content: space-between !important; 1315 | } 1316 | 1317 | .align-content-around { 1318 | -ms-flex-line-pack: distribute !important; 1319 | align-content: space-around !important; 1320 | } 1321 | 1322 | .align-content-stretch { 1323 | -ms-flex-line-pack: stretch !important; 1324 | align-content: stretch !important; 1325 | } 1326 | 1327 | .align-self-auto { 1328 | -ms-flex-item-align: auto !important; 1329 | align-self: auto !important; 1330 | } 1331 | 1332 | .align-self-start { 1333 | -ms-flex-item-align: start !important; 1334 | align-self: flex-start !important; 1335 | } 1336 | 1337 | .align-self-end { 1338 | -ms-flex-item-align: end !important; 1339 | align-self: flex-end !important; 1340 | } 1341 | 1342 | .align-self-center { 1343 | -ms-flex-item-align: center !important; 1344 | align-self: center !important; 1345 | } 1346 | 1347 | .align-self-baseline { 1348 | -ms-flex-item-align: baseline !important; 1349 | align-self: baseline !important; 1350 | } 1351 | 1352 | .align-self-stretch { 1353 | -ms-flex-item-align: stretch !important; 1354 | align-self: stretch !important; 1355 | } 1356 | 1357 | @media (min-width: 576px) { 1358 | .flex-sm-row { 1359 | -ms-flex-direction: row !important; 1360 | flex-direction: row !important; 1361 | } 1362 | .flex-sm-column { 1363 | -ms-flex-direction: column !important; 1364 | flex-direction: column !important; 1365 | } 1366 | .flex-sm-row-reverse { 1367 | -ms-flex-direction: row-reverse !important; 1368 | flex-direction: row-reverse !important; 1369 | } 1370 | .flex-sm-column-reverse { 1371 | -ms-flex-direction: column-reverse !important; 1372 | flex-direction: column-reverse !important; 1373 | } 1374 | .flex-sm-wrap { 1375 | -ms-flex-wrap: wrap !important; 1376 | flex-wrap: wrap !important; 1377 | } 1378 | .flex-sm-nowrap { 1379 | -ms-flex-wrap: nowrap !important; 1380 | flex-wrap: nowrap !important; 1381 | } 1382 | .flex-sm-wrap-reverse { 1383 | -ms-flex-wrap: wrap-reverse !important; 1384 | flex-wrap: wrap-reverse !important; 1385 | } 1386 | .flex-sm-fill { 1387 | -ms-flex: 1 1 auto !important; 1388 | flex: 1 1 auto !important; 1389 | } 1390 | .flex-sm-grow-0 { 1391 | -ms-flex-positive: 0 !important; 1392 | flex-grow: 0 !important; 1393 | } 1394 | .flex-sm-grow-1 { 1395 | -ms-flex-positive: 1 !important; 1396 | flex-grow: 1 !important; 1397 | } 1398 | .flex-sm-shrink-0 { 1399 | -ms-flex-negative: 0 !important; 1400 | flex-shrink: 0 !important; 1401 | } 1402 | .flex-sm-shrink-1 { 1403 | -ms-flex-negative: 1 !important; 1404 | flex-shrink: 1 !important; 1405 | } 1406 | .justify-content-sm-start { 1407 | -ms-flex-pack: start !important; 1408 | justify-content: flex-start !important; 1409 | } 1410 | .justify-content-sm-end { 1411 | -ms-flex-pack: end !important; 1412 | justify-content: flex-end !important; 1413 | } 1414 | .justify-content-sm-center { 1415 | -ms-flex-pack: center !important; 1416 | justify-content: center !important; 1417 | } 1418 | .justify-content-sm-between { 1419 | -ms-flex-pack: justify !important; 1420 | justify-content: space-between !important; 1421 | } 1422 | .justify-content-sm-around { 1423 | -ms-flex-pack: distribute !important; 1424 | justify-content: space-around !important; 1425 | } 1426 | .align-items-sm-start { 1427 | -ms-flex-align: start !important; 1428 | align-items: flex-start !important; 1429 | } 1430 | .align-items-sm-end { 1431 | -ms-flex-align: end !important; 1432 | align-items: flex-end !important; 1433 | } 1434 | .align-items-sm-center { 1435 | -ms-flex-align: center !important; 1436 | align-items: center !important; 1437 | } 1438 | .align-items-sm-baseline { 1439 | -ms-flex-align: baseline !important; 1440 | align-items: baseline !important; 1441 | } 1442 | .align-items-sm-stretch { 1443 | -ms-flex-align: stretch !important; 1444 | align-items: stretch !important; 1445 | } 1446 | .align-content-sm-start { 1447 | -ms-flex-line-pack: start !important; 1448 | align-content: flex-start !important; 1449 | } 1450 | .align-content-sm-end { 1451 | -ms-flex-line-pack: end !important; 1452 | align-content: flex-end !important; 1453 | } 1454 | .align-content-sm-center { 1455 | -ms-flex-line-pack: center !important; 1456 | align-content: center !important; 1457 | } 1458 | .align-content-sm-between { 1459 | -ms-flex-line-pack: justify !important; 1460 | align-content: space-between !important; 1461 | } 1462 | .align-content-sm-around { 1463 | -ms-flex-line-pack: distribute !important; 1464 | align-content: space-around !important; 1465 | } 1466 | .align-content-sm-stretch { 1467 | -ms-flex-line-pack: stretch !important; 1468 | align-content: stretch !important; 1469 | } 1470 | .align-self-sm-auto { 1471 | -ms-flex-item-align: auto !important; 1472 | align-self: auto !important; 1473 | } 1474 | .align-self-sm-start { 1475 | -ms-flex-item-align: start !important; 1476 | align-self: flex-start !important; 1477 | } 1478 | .align-self-sm-end { 1479 | -ms-flex-item-align: end !important; 1480 | align-self: flex-end !important; 1481 | } 1482 | .align-self-sm-center { 1483 | -ms-flex-item-align: center !important; 1484 | align-self: center !important; 1485 | } 1486 | .align-self-sm-baseline { 1487 | -ms-flex-item-align: baseline !important; 1488 | align-self: baseline !important; 1489 | } 1490 | .align-self-sm-stretch { 1491 | -ms-flex-item-align: stretch !important; 1492 | align-self: stretch !important; 1493 | } 1494 | } 1495 | 1496 | @media (min-width: 768px) { 1497 | .flex-md-row { 1498 | -ms-flex-direction: row !important; 1499 | flex-direction: row !important; 1500 | } 1501 | .flex-md-column { 1502 | -ms-flex-direction: column !important; 1503 | flex-direction: column !important; 1504 | } 1505 | .flex-md-row-reverse { 1506 | -ms-flex-direction: row-reverse !important; 1507 | flex-direction: row-reverse !important; 1508 | } 1509 | .flex-md-column-reverse { 1510 | -ms-flex-direction: column-reverse !important; 1511 | flex-direction: column-reverse !important; 1512 | } 1513 | .flex-md-wrap { 1514 | -ms-flex-wrap: wrap !important; 1515 | flex-wrap: wrap !important; 1516 | } 1517 | .flex-md-nowrap { 1518 | -ms-flex-wrap: nowrap !important; 1519 | flex-wrap: nowrap !important; 1520 | } 1521 | .flex-md-wrap-reverse { 1522 | -ms-flex-wrap: wrap-reverse !important; 1523 | flex-wrap: wrap-reverse !important; 1524 | } 1525 | .flex-md-fill { 1526 | -ms-flex: 1 1 auto !important; 1527 | flex: 1 1 auto !important; 1528 | } 1529 | .flex-md-grow-0 { 1530 | -ms-flex-positive: 0 !important; 1531 | flex-grow: 0 !important; 1532 | } 1533 | .flex-md-grow-1 { 1534 | -ms-flex-positive: 1 !important; 1535 | flex-grow: 1 !important; 1536 | } 1537 | .flex-md-shrink-0 { 1538 | -ms-flex-negative: 0 !important; 1539 | flex-shrink: 0 !important; 1540 | } 1541 | .flex-md-shrink-1 { 1542 | -ms-flex-negative: 1 !important; 1543 | flex-shrink: 1 !important; 1544 | } 1545 | .justify-content-md-start { 1546 | -ms-flex-pack: start !important; 1547 | justify-content: flex-start !important; 1548 | } 1549 | .justify-content-md-end { 1550 | -ms-flex-pack: end !important; 1551 | justify-content: flex-end !important; 1552 | } 1553 | .justify-content-md-center { 1554 | -ms-flex-pack: center !important; 1555 | justify-content: center !important; 1556 | } 1557 | .justify-content-md-between { 1558 | -ms-flex-pack: justify !important; 1559 | justify-content: space-between !important; 1560 | } 1561 | .justify-content-md-around { 1562 | -ms-flex-pack: distribute !important; 1563 | justify-content: space-around !important; 1564 | } 1565 | .align-items-md-start { 1566 | -ms-flex-align: start !important; 1567 | align-items: flex-start !important; 1568 | } 1569 | .align-items-md-end { 1570 | -ms-flex-align: end !important; 1571 | align-items: flex-end !important; 1572 | } 1573 | .align-items-md-center { 1574 | -ms-flex-align: center !important; 1575 | align-items: center !important; 1576 | } 1577 | .align-items-md-baseline { 1578 | -ms-flex-align: baseline !important; 1579 | align-items: baseline !important; 1580 | } 1581 | .align-items-md-stretch { 1582 | -ms-flex-align: stretch !important; 1583 | align-items: stretch !important; 1584 | } 1585 | .align-content-md-start { 1586 | -ms-flex-line-pack: start !important; 1587 | align-content: flex-start !important; 1588 | } 1589 | .align-content-md-end { 1590 | -ms-flex-line-pack: end !important; 1591 | align-content: flex-end !important; 1592 | } 1593 | .align-content-md-center { 1594 | -ms-flex-line-pack: center !important; 1595 | align-content: center !important; 1596 | } 1597 | .align-content-md-between { 1598 | -ms-flex-line-pack: justify !important; 1599 | align-content: space-between !important; 1600 | } 1601 | .align-content-md-around { 1602 | -ms-flex-line-pack: distribute !important; 1603 | align-content: space-around !important; 1604 | } 1605 | .align-content-md-stretch { 1606 | -ms-flex-line-pack: stretch !important; 1607 | align-content: stretch !important; 1608 | } 1609 | .align-self-md-auto { 1610 | -ms-flex-item-align: auto !important; 1611 | align-self: auto !important; 1612 | } 1613 | .align-self-md-start { 1614 | -ms-flex-item-align: start !important; 1615 | align-self: flex-start !important; 1616 | } 1617 | .align-self-md-end { 1618 | -ms-flex-item-align: end !important; 1619 | align-self: flex-end !important; 1620 | } 1621 | .align-self-md-center { 1622 | -ms-flex-item-align: center !important; 1623 | align-self: center !important; 1624 | } 1625 | .align-self-md-baseline { 1626 | -ms-flex-item-align: baseline !important; 1627 | align-self: baseline !important; 1628 | } 1629 | .align-self-md-stretch { 1630 | -ms-flex-item-align: stretch !important; 1631 | align-self: stretch !important; 1632 | } 1633 | } 1634 | 1635 | @media (min-width: 992px) { 1636 | .flex-lg-row { 1637 | -ms-flex-direction: row !important; 1638 | flex-direction: row !important; 1639 | } 1640 | .flex-lg-column { 1641 | -ms-flex-direction: column !important; 1642 | flex-direction: column !important; 1643 | } 1644 | .flex-lg-row-reverse { 1645 | -ms-flex-direction: row-reverse !important; 1646 | flex-direction: row-reverse !important; 1647 | } 1648 | .flex-lg-column-reverse { 1649 | -ms-flex-direction: column-reverse !important; 1650 | flex-direction: column-reverse !important; 1651 | } 1652 | .flex-lg-wrap { 1653 | -ms-flex-wrap: wrap !important; 1654 | flex-wrap: wrap !important; 1655 | } 1656 | .flex-lg-nowrap { 1657 | -ms-flex-wrap: nowrap !important; 1658 | flex-wrap: nowrap !important; 1659 | } 1660 | .flex-lg-wrap-reverse { 1661 | -ms-flex-wrap: wrap-reverse !important; 1662 | flex-wrap: wrap-reverse !important; 1663 | } 1664 | .flex-lg-fill { 1665 | -ms-flex: 1 1 auto !important; 1666 | flex: 1 1 auto !important; 1667 | } 1668 | .flex-lg-grow-0 { 1669 | -ms-flex-positive: 0 !important; 1670 | flex-grow: 0 !important; 1671 | } 1672 | .flex-lg-grow-1 { 1673 | -ms-flex-positive: 1 !important; 1674 | flex-grow: 1 !important; 1675 | } 1676 | .flex-lg-shrink-0 { 1677 | -ms-flex-negative: 0 !important; 1678 | flex-shrink: 0 !important; 1679 | } 1680 | .flex-lg-shrink-1 { 1681 | -ms-flex-negative: 1 !important; 1682 | flex-shrink: 1 !important; 1683 | } 1684 | .justify-content-lg-start { 1685 | -ms-flex-pack: start !important; 1686 | justify-content: flex-start !important; 1687 | } 1688 | .justify-content-lg-end { 1689 | -ms-flex-pack: end !important; 1690 | justify-content: flex-end !important; 1691 | } 1692 | .justify-content-lg-center { 1693 | -ms-flex-pack: center !important; 1694 | justify-content: center !important; 1695 | } 1696 | .justify-content-lg-between { 1697 | -ms-flex-pack: justify !important; 1698 | justify-content: space-between !important; 1699 | } 1700 | .justify-content-lg-around { 1701 | -ms-flex-pack: distribute !important; 1702 | justify-content: space-around !important; 1703 | } 1704 | .align-items-lg-start { 1705 | -ms-flex-align: start !important; 1706 | align-items: flex-start !important; 1707 | } 1708 | .align-items-lg-end { 1709 | -ms-flex-align: end !important; 1710 | align-items: flex-end !important; 1711 | } 1712 | .align-items-lg-center { 1713 | -ms-flex-align: center !important; 1714 | align-items: center !important; 1715 | } 1716 | .align-items-lg-baseline { 1717 | -ms-flex-align: baseline !important; 1718 | align-items: baseline !important; 1719 | } 1720 | .align-items-lg-stretch { 1721 | -ms-flex-align: stretch !important; 1722 | align-items: stretch !important; 1723 | } 1724 | .align-content-lg-start { 1725 | -ms-flex-line-pack: start !important; 1726 | align-content: flex-start !important; 1727 | } 1728 | .align-content-lg-end { 1729 | -ms-flex-line-pack: end !important; 1730 | align-content: flex-end !important; 1731 | } 1732 | .align-content-lg-center { 1733 | -ms-flex-line-pack: center !important; 1734 | align-content: center !important; 1735 | } 1736 | .align-content-lg-between { 1737 | -ms-flex-line-pack: justify !important; 1738 | align-content: space-between !important; 1739 | } 1740 | .align-content-lg-around { 1741 | -ms-flex-line-pack: distribute !important; 1742 | align-content: space-around !important; 1743 | } 1744 | .align-content-lg-stretch { 1745 | -ms-flex-line-pack: stretch !important; 1746 | align-content: stretch !important; 1747 | } 1748 | .align-self-lg-auto { 1749 | -ms-flex-item-align: auto !important; 1750 | align-self: auto !important; 1751 | } 1752 | .align-self-lg-start { 1753 | -ms-flex-item-align: start !important; 1754 | align-self: flex-start !important; 1755 | } 1756 | .align-self-lg-end { 1757 | -ms-flex-item-align: end !important; 1758 | align-self: flex-end !important; 1759 | } 1760 | .align-self-lg-center { 1761 | -ms-flex-item-align: center !important; 1762 | align-self: center !important; 1763 | } 1764 | .align-self-lg-baseline { 1765 | -ms-flex-item-align: baseline !important; 1766 | align-self: baseline !important; 1767 | } 1768 | .align-self-lg-stretch { 1769 | -ms-flex-item-align: stretch !important; 1770 | align-self: stretch !important; 1771 | } 1772 | } 1773 | 1774 | @media (min-width: 1200px) { 1775 | .flex-xl-row { 1776 | -ms-flex-direction: row !important; 1777 | flex-direction: row !important; 1778 | } 1779 | .flex-xl-column { 1780 | -ms-flex-direction: column !important; 1781 | flex-direction: column !important; 1782 | } 1783 | .flex-xl-row-reverse { 1784 | -ms-flex-direction: row-reverse !important; 1785 | flex-direction: row-reverse !important; 1786 | } 1787 | .flex-xl-column-reverse { 1788 | -ms-flex-direction: column-reverse !important; 1789 | flex-direction: column-reverse !important; 1790 | } 1791 | .flex-xl-wrap { 1792 | -ms-flex-wrap: wrap !important; 1793 | flex-wrap: wrap !important; 1794 | } 1795 | .flex-xl-nowrap { 1796 | -ms-flex-wrap: nowrap !important; 1797 | flex-wrap: nowrap !important; 1798 | } 1799 | .flex-xl-wrap-reverse { 1800 | -ms-flex-wrap: wrap-reverse !important; 1801 | flex-wrap: wrap-reverse !important; 1802 | } 1803 | .flex-xl-fill { 1804 | -ms-flex: 1 1 auto !important; 1805 | flex: 1 1 auto !important; 1806 | } 1807 | .flex-xl-grow-0 { 1808 | -ms-flex-positive: 0 !important; 1809 | flex-grow: 0 !important; 1810 | } 1811 | .flex-xl-grow-1 { 1812 | -ms-flex-positive: 1 !important; 1813 | flex-grow: 1 !important; 1814 | } 1815 | .flex-xl-shrink-0 { 1816 | -ms-flex-negative: 0 !important; 1817 | flex-shrink: 0 !important; 1818 | } 1819 | .flex-xl-shrink-1 { 1820 | -ms-flex-negative: 1 !important; 1821 | flex-shrink: 1 !important; 1822 | } 1823 | .justify-content-xl-start { 1824 | -ms-flex-pack: start !important; 1825 | justify-content: flex-start !important; 1826 | } 1827 | .justify-content-xl-end { 1828 | -ms-flex-pack: end !important; 1829 | justify-content: flex-end !important; 1830 | } 1831 | .justify-content-xl-center { 1832 | -ms-flex-pack: center !important; 1833 | justify-content: center !important; 1834 | } 1835 | .justify-content-xl-between { 1836 | -ms-flex-pack: justify !important; 1837 | justify-content: space-between !important; 1838 | } 1839 | .justify-content-xl-around { 1840 | -ms-flex-pack: distribute !important; 1841 | justify-content: space-around !important; 1842 | } 1843 | .align-items-xl-start { 1844 | -ms-flex-align: start !important; 1845 | align-items: flex-start !important; 1846 | } 1847 | .align-items-xl-end { 1848 | -ms-flex-align: end !important; 1849 | align-items: flex-end !important; 1850 | } 1851 | .align-items-xl-center { 1852 | -ms-flex-align: center !important; 1853 | align-items: center !important; 1854 | } 1855 | .align-items-xl-baseline { 1856 | -ms-flex-align: baseline !important; 1857 | align-items: baseline !important; 1858 | } 1859 | .align-items-xl-stretch { 1860 | -ms-flex-align: stretch !important; 1861 | align-items: stretch !important; 1862 | } 1863 | .align-content-xl-start { 1864 | -ms-flex-line-pack: start !important; 1865 | align-content: flex-start !important; 1866 | } 1867 | .align-content-xl-end { 1868 | -ms-flex-line-pack: end !important; 1869 | align-content: flex-end !important; 1870 | } 1871 | .align-content-xl-center { 1872 | -ms-flex-line-pack: center !important; 1873 | align-content: center !important; 1874 | } 1875 | .align-content-xl-between { 1876 | -ms-flex-line-pack: justify !important; 1877 | align-content: space-between !important; 1878 | } 1879 | .align-content-xl-around { 1880 | -ms-flex-line-pack: distribute !important; 1881 | align-content: space-around !important; 1882 | } 1883 | .align-content-xl-stretch { 1884 | -ms-flex-line-pack: stretch !important; 1885 | align-content: stretch !important; 1886 | } 1887 | .align-self-xl-auto { 1888 | -ms-flex-item-align: auto !important; 1889 | align-self: auto !important; 1890 | } 1891 | .align-self-xl-start { 1892 | -ms-flex-item-align: start !important; 1893 | align-self: flex-start !important; 1894 | } 1895 | .align-self-xl-end { 1896 | -ms-flex-item-align: end !important; 1897 | align-self: flex-end !important; 1898 | } 1899 | .align-self-xl-center { 1900 | -ms-flex-item-align: center !important; 1901 | align-self: center !important; 1902 | } 1903 | .align-self-xl-baseline { 1904 | -ms-flex-item-align: baseline !important; 1905 | align-self: baseline !important; 1906 | } 1907 | .align-self-xl-stretch { 1908 | -ms-flex-item-align: stretch !important; 1909 | align-self: stretch !important; 1910 | } 1911 | } 1912 | /*# sourceMappingURL=bootstrap-grid.css.map */ -------------------------------------------------------------------------------- /js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v4.1.3 (https://getbootstrap.com/) 3 | * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,h){"use strict";function i(t,e){for(var n=0;nthis._items.length-1||t<0))if(this._isSliding)P(this._element).one(Q.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!(Ie={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Se={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},we="out",Ne={HIDE:"hide"+Ee,HIDDEN:"hidden"+Ee,SHOW:(De="show")+Ee,SHOWN:"shown"+Ee,INSERTED:"inserted"+Ee,CLICK:"click"+Ee,FOCUSIN:"focusin"+Ee,FOCUSOUT:"focusout"+Ee,MOUSEENTER:"mouseenter"+Ee,MOUSELEAVE:"mouseleave"+Ee},Oe="fade",ke="show",Pe=".tooltip-inner",je=".arrow",He="hover",Le="focus",Re="click",xe="manual",We=function(){function i(t,e){if("undefined"==typeof h)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=pe(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),pe(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(pe(this.getTipElement()).hasClass(ke))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),pe.removeData(this.element,this.constructor.DATA_KEY),pe(this.element).off(this.constructor.EVENT_KEY),pe(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&pe(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===pe(this.element).css("display"))throw new Error("Please use show on visible elements");var t=pe.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){pe(this.element).trigger(t);var n=pe.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var i=this.getTipElement(),r=Fn.getUID(this.constructor.NAME);i.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&pe(i).addClass(Oe);var o="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(o);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:pe(document).find(this.config.container);pe(i).data(this.constructor.DATA_KEY,this),pe.contains(this.element.ownerDocument.documentElement,this.tip)||pe(i).appendTo(a),pe(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new h(this.element,i,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:je},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),pe(i).addClass(ke),"ontouchstart"in document.documentElement&&pe(document.body).children().on("mouseover",null,pe.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,pe(e.element).trigger(e.constructor.Event.SHOWN),t===we&&e._leave(null,e)};if(pe(this.tip).hasClass(Oe)){var c=Fn.getTransitionDurationFromElement(this.tip);pe(this.tip).one(Fn.TRANSITION_END,l).emulateTransitionEnd(c)}else l()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=pe.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==De&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),pe(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(pe(this.element).trigger(i),!i.isDefaultPrevented()){if(pe(n).removeClass(ke),"ontouchstart"in document.documentElement&&pe(document.body).children().off("mouseover",null,pe.noop),this._activeTrigger[Re]=!1,this._activeTrigger[Le]=!1,this._activeTrigger[He]=!1,pe(this.tip).hasClass(Oe)){var o=Fn.getTransitionDurationFromElement(n);pe(n).one(Fn.TRANSITION_END,r).emulateTransitionEnd(o)}else r();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){pe(this.getTipElement()).addClass(Te+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||pe(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(pe(t.querySelectorAll(Pe)),this.getTitle()),pe(t).removeClass(Oe+" "+ke)},t.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?pe(e).parent().is(t)||t.empty().append(e):t.text(pe(e).text()):t[n?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return Ie[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)pe(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if(t!==xe){var e=t===He?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===He?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;pe(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}pe(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||pe(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),pe(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Le:He]=!0),pe(e.getTipElement()).hasClass(ke)||e._hoverState===De?e._hoverState=De:(clearTimeout(e._timeout),e._hoverState=De,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===De&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||pe(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),pe(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Le:He]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=we,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===we&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=l({},this.constructor.Default,pe(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),Fn.typeCheckConfig(ve,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=pe(this.getTipElement()),e=t.attr("class").match(be);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(pe(t).removeClass(Oe),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=pe(this).data(ye),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),pe(this).data(ye,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return Ae}},{key:"NAME",get:function(){return ve}},{key:"DATA_KEY",get:function(){return ye}},{key:"Event",get:function(){return Ne}},{key:"EVENT_KEY",get:function(){return Ee}},{key:"DefaultType",get:function(){return Se}}]),i}(),pe.fn[ve]=We._jQueryInterface,pe.fn[ve].Constructor=We,pe.fn[ve].noConflict=function(){return pe.fn[ve]=Ce,We._jQueryInterface},We),Jn=(qe="popover",Ke="."+(Fe="bs.popover"),Me=(Ue=e).fn[qe],Qe="bs-popover",Be=new RegExp("(^|\\s)"+Qe+"\\S+","g"),Ve=l({},zn.Default,{placement:"right",trigger:"click",content:"",template:''}),Ye=l({},zn.DefaultType,{content:"(string|element|function)"}),ze="fade",Ze=".popover-header",Ge=".popover-body",$e={HIDE:"hide"+Ke,HIDDEN:"hidden"+Ke,SHOW:(Je="show")+Ke,SHOWN:"shown"+Ke,INSERTED:"inserted"+Ke,CLICK:"click"+Ke,FOCUSIN:"focusin"+Ke,FOCUSOUT:"focusout"+Ke,MOUSEENTER:"mouseenter"+Ke,MOUSELEAVE:"mouseleave"+Ke},Xe=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){Ue(this.getTipElement()).addClass(Qe+"-"+t)},r.getTipElement=function(){return this.tip=this.tip||Ue(this.config.template)[0],this.tip},r.setContent=function(){var t=Ue(this.getTipElement());this.setElementContent(t.find(Ze),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Ge),e),t.removeClass(ze+" "+Je)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=Ue(this.getTipElement()),e=t.attr("class").match(Be);null!==e&&0=this._offsets[r]&&("undefined"==typeof this._offsets[r+1]||t