From 8676e0fe1d53736adee0ef33808458db0baa7658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Mon, 28 Jun 2021 22:40:39 +0900 Subject: [PATCH] =?UTF-8?q?Vue=E3=82=92=E3=81=BB=E3=81=A8=E3=82=93?= =?UTF-8?q?=E3=81=A9=E4=BD=BF=E3=82=8F=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +- app/Http/Controllers/AuthController.php | 533 - app/Http/Controllers/Engine.php | 114 + app/Http/Controllers/Home/Comment.php | 28 +- app/Http/Controllers/Home/CommentList.php | 24 +- app/Http/Controllers/Home/Content.php | 39 +- app/Http/Controllers/Home/Index.php | 29 +- app/Http/Controllers/HomeController.php | 77 - app/Http/Controllers/NihonController.php | 2 - app/Http/Controllers/PermissionController.php | 42 - app/Http/Controllers/User/Login.php | 41 +- app/Http/Controllers/User/Logout.php | 15 + app/Http/Controllers/User/MemberList.php | 24 +- app/Http/Controllers/User/Profile.php | 54 +- app/Http/Controllers/User/Register.php | 56 +- app/Http/Controllers/UserController.php | 156 - app/Http/Controllers/Video/Game.php | 43 +- app/Http/Controllers/Video/Prayer.php | 27 +- app/Http/Controllers/Video/VideoTable.php | 63 +- app/Http/Controllers/VideoController.php | 75 - app/User.php | 39 - app/helpers.php | 47 + .../sass => public/css}/_variables.scss | 0 .../sass => public/css}/_variables_f.scss | 0 .../sass => public/css}/_variables_m.scss | 0 public/css/app.css | 19 + public/css/app_f.css | 2 + public/css/app_m.css | 2 + public/css/badge.css | 3 + public/css/badge_f.css | 0 public/css/badge_m.css | 0 public/css/bootstrap.css | 7 + public/css/button.css | 165 + public/css/button_f.css | 11 + public/css/button_m.css | 11 + .../_check.scss => public/css/check.css | 6 +- public/css/check_f.css | 4 + public/css/check_m.css | 4 + public/css/comments.css | 5 + public/css/comments_f.css | 0 public/css/comments_m.css | 0 public/css/contents.css | 42 + public/css/contents_f.css | 9 + public/css/contents_m.css | 9 + public/css/form.css | 4 + public/css/form_f.css | 2 + public/css/form_m.css | 2 + public/css/jpserriffont.css | 9 + public/css/jpserriffont_f.css | 0 public/css/jpserriffont_m.css | 0 public/css/logo.css | 41 + public/css/logo_f.css | 16 + public/css/logo_m.css | 16 + public/css/modal.css | 4 + public/css/modal_f.css | 1 + public/css/modal_m.css | 1 + public/css/navbar.css | 12 + public/css/navbar_f.css | 7 + public/css/navbar_m.css | 7 + public/css/pagination.css | 28 + public/css/pagination_f.css | 6 + public/css/pagination_m.css | 6 + public/css/popper.js | 5 + public/css/scroll.css | 5 + public/css/scroll_f.css | 3 + public/css/scroll_m.css | 3 + public/css/select.css | 1 + public/css/select_f.css | 1 + public/css/select_m.css | 1 + public/css/sidemenu.css | 2 + public/css/sidemenu_f.css | 1 + public/css/sidemenu_m.css | 1 + public/css/table.css | 9 + public/css/table_f.css | 3 + public/css/table_m.css | 3 + public/js/app.js | 78937 ++++++++++++++++ public/js/bootstrap.js | 7 + public/js/jquery.js | 2 + resources/js/bootstrap.js | 4 - resources/js/components/appbar.vue | 15 - resources/js/components/bash.vue | 237 - resources/js/components/discord.vue | 226 - resources/js/components/note.vue | 235 - resources/sass/_contents.scss | 101 - resources/sass/_jpserriffont.scss | 16 - resources/sass/_logo.scss | 100 - resources/sass/_navbar.scss | 57 - resources/sass/_scroll.scss | 21 - resources/sass/_sidemenu.scss | 8 - resources/sass/app.scss | 61 - resources/sass/app_f.scss | 62 - resources/sass/app_m.scss | 62 - resources/sass/conponent/_badge.scss | 13 - resources/sass/conponent/_button.scss | 189 - resources/sass/conponent/_form.scss | 16 - resources/sass/conponent/_modal.scss | 15 - resources/sass/conponent/_pagination.scss | 49 - resources/sass/conponent/_select.scss | 5 - resources/sass/conponent/_table.scss | 20 - .../views/pages/common/comments.blade.php | 96 + resources/views/pages/site/post.blade.php | 2 +- resources/views/pages/site/profile.blade.php | 6 +- .../views/pages/site/profileedit.blade.php | 21 +- resources/views/pages/site/register.blade.php | 23 +- .../views/pages/site/video/prayer.blade.php | 2 +- .../theme/techsuwa/component/appbar.blade.php | 10 +- .../theme/techsuwa/component/colors.blade.php | 13 +- .../techsuwa/component/contentedit.blade.php | 2 +- .../theme/techsuwa/component/header.blade.php | 1 - .../techsuwa/component/header/sns.blade.php | 12 - .../theme/techsuwa/component/menu.blade.php | 15 +- .../theme/techsuwa/component/navbar.blade.php | 56 +- .../techsuwa/component/usermenu.blade.php | 18 + .../views/theme/techsuwa/css/_variables.scss | 77 + .../theme/techsuwa/css/_variables_f.scss | 21 + .../theme/techsuwa/css/_variables_m.scss | 21 + resources/views/theme/techsuwa/css/app.css | 19 + resources/views/theme/techsuwa/css/app_f.css | 2 + resources/views/theme/techsuwa/css/app_m.css | 2 + resources/views/theme/techsuwa/css/badge.css | 3 + .../views/theme/techsuwa/css/badge_f.css | 0 .../views/theme/techsuwa/css/badge_m.css | 0 resources/views/theme/techsuwa/css/button.css | 165 + .../views/theme/techsuwa/css/button_f.css | 11 + .../views/theme/techsuwa/css/button_m.css | 11 + resources/views/theme/techsuwa/css/check.css | 4 + .../views/theme/techsuwa/css/check_f.css | 4 + .../views/theme/techsuwa/css/check_m.css | 4 + .../views/theme/techsuwa/css/comments.css | 5 + .../views/theme/techsuwa/css/comments_f.css | 0 .../views/theme/techsuwa/css/comments_m.css | 0 .../views/theme/techsuwa/css/contents.css | 41 + .../views/theme/techsuwa/css/contents_f.css | 9 + .../views/theme/techsuwa/css/contents_m.css | 9 + resources/views/theme/techsuwa/css/form.css | 4 + resources/views/theme/techsuwa/css/form_f.css | 2 + resources/views/theme/techsuwa/css/form_m.css | 2 + .../views/theme/techsuwa/css/jpserriffont.css | 9 + .../theme/techsuwa/css/jpserriffont_f.css | 0 .../theme/techsuwa/css/jpserriffont_m.css | 0 resources/views/theme/techsuwa/css/logo.css | 41 + resources/views/theme/techsuwa/css/logo_f.css | 16 + resources/views/theme/techsuwa/css/logo_m.css | 0 resources/views/theme/techsuwa/css/modal.css | 4 + .../views/theme/techsuwa/css/modal_f.css | 1 + .../views/theme/techsuwa/css/modal_m.css | 1 + resources/views/theme/techsuwa/css/navbar.css | 12 + .../views/theme/techsuwa/css/navbar_f.css | 7 + .../views/theme/techsuwa/css/navbar_m.css | 7 + .../views/theme/techsuwa/css/pagination.css | 28 + .../views/theme/techsuwa/css/pagination_f.css | 6 + .../views/theme/techsuwa/css/pagination_m.css | 6 + resources/views/theme/techsuwa/css/scroll.css | 5 + .../views/theme/techsuwa/css/scroll_f.css | 3 + .../views/theme/techsuwa/css/scroll_m.css | 3 + resources/views/theme/techsuwa/css/select.css | 1 + .../views/theme/techsuwa/css/select_f.css | 1 + .../views/theme/techsuwa/css/select_m.css | 1 + .../views/theme/techsuwa/css/sidemenu.css | 8 + .../views/theme/techsuwa/css/sidemenu_f.css | 1 + .../views/theme/techsuwa/css/sidemenu_m.css | 1 + resources/views/theme/techsuwa/css/table.css | 9 + .../views/theme/techsuwa/css/table_f.css | 3 + .../views/theme/techsuwa/css/table_m.css | 3 + resources/views/theme/techsuwa/site.blade.php | 8 +- routes/api/site.php | 8 +- routes/api/user.php | 4 +- routes/view/site.php | 45 +- routes/web.php | 2 +- 169 files changed, 80643 insertions(+), 2783 deletions(-) delete mode 100644 app/Http/Controllers/AuthController.php create mode 100644 app/Http/Controllers/Engine.php delete mode 100644 app/Http/Controllers/HomeController.php delete mode 100644 app/Http/Controllers/PermissionController.php create mode 100644 app/Http/Controllers/User/Logout.php delete mode 100644 app/Http/Controllers/UserController.php delete mode 100644 app/Http/Controllers/VideoController.php delete mode 100644 app/User.php rename {resources/sass => public/css}/_variables.scss (100%) rename {resources/sass => public/css}/_variables_f.scss (100%) rename {resources/sass => public/css}/_variables_m.scss (100%) create mode 100644 public/css/app.css create mode 100644 public/css/app_f.css create mode 100644 public/css/app_m.css create mode 100644 public/css/badge.css create mode 100644 public/css/badge_f.css create mode 100644 public/css/badge_m.css create mode 100644 public/css/bootstrap.css create mode 100644 public/css/button.css create mode 100644 public/css/button_f.css create mode 100644 public/css/button_m.css rename resources/sass/conponent/_check.scss => public/css/check.css (74%) create mode 100644 public/css/check_f.css create mode 100644 public/css/check_m.css create mode 100644 public/css/comments.css create mode 100644 public/css/comments_f.css create mode 100644 public/css/comments_m.css create mode 100644 public/css/contents.css create mode 100644 public/css/contents_f.css create mode 100644 public/css/contents_m.css create mode 100644 public/css/form.css create mode 100644 public/css/form_f.css create mode 100644 public/css/form_m.css create mode 100644 public/css/jpserriffont.css create mode 100644 public/css/jpserriffont_f.css create mode 100644 public/css/jpserriffont_m.css create mode 100644 public/css/logo.css create mode 100644 public/css/logo_f.css create mode 100644 public/css/logo_m.css create mode 100644 public/css/modal.css create mode 100644 public/css/modal_f.css create mode 100644 public/css/modal_m.css create mode 100644 public/css/navbar.css create mode 100644 public/css/navbar_f.css create mode 100644 public/css/navbar_m.css create mode 100644 public/css/pagination.css create mode 100644 public/css/pagination_f.css create mode 100644 public/css/pagination_m.css create mode 100644 public/css/popper.js create mode 100644 public/css/scroll.css create mode 100644 public/css/scroll_f.css create mode 100644 public/css/scroll_m.css create mode 100644 public/css/select.css create mode 100644 public/css/select_f.css create mode 100644 public/css/select_m.css create mode 100644 public/css/sidemenu.css create mode 100644 public/css/sidemenu_f.css create mode 100644 public/css/sidemenu_m.css create mode 100644 public/css/table.css create mode 100644 public/css/table_f.css create mode 100644 public/css/table_m.css create mode 100644 public/js/app.js create mode 100644 public/js/bootstrap.js create mode 100644 public/js/jquery.js delete mode 100644 resources/js/components/appbar.vue delete mode 100644 resources/js/components/bash.vue delete mode 100644 resources/js/components/discord.vue delete mode 100644 resources/js/components/note.vue delete mode 100644 resources/sass/_contents.scss delete mode 100644 resources/sass/_jpserriffont.scss delete mode 100644 resources/sass/_logo.scss delete mode 100644 resources/sass/_navbar.scss delete mode 100644 resources/sass/_scroll.scss delete mode 100644 resources/sass/_sidemenu.scss delete mode 100644 resources/sass/app.scss delete mode 100644 resources/sass/app_f.scss delete mode 100644 resources/sass/app_m.scss delete mode 100644 resources/sass/conponent/_badge.scss delete mode 100644 resources/sass/conponent/_button.scss delete mode 100644 resources/sass/conponent/_form.scss delete mode 100644 resources/sass/conponent/_modal.scss delete mode 100644 resources/sass/conponent/_pagination.scss delete mode 100644 resources/sass/conponent/_select.scss delete mode 100644 resources/sass/conponent/_table.scss create mode 100644 resources/views/pages/common/comments.blade.php delete mode 100644 resources/views/theme/techsuwa/component/header/sns.blade.php create mode 100644 resources/views/theme/techsuwa/component/usermenu.blade.php create mode 100644 resources/views/theme/techsuwa/css/_variables.scss create mode 100644 resources/views/theme/techsuwa/css/_variables_f.scss create mode 100644 resources/views/theme/techsuwa/css/_variables_m.scss create mode 100644 resources/views/theme/techsuwa/css/app.css create mode 100644 resources/views/theme/techsuwa/css/app_f.css create mode 100644 resources/views/theme/techsuwa/css/app_m.css create mode 100644 resources/views/theme/techsuwa/css/badge.css create mode 100644 resources/views/theme/techsuwa/css/badge_f.css create mode 100644 resources/views/theme/techsuwa/css/badge_m.css create mode 100644 resources/views/theme/techsuwa/css/button.css create mode 100644 resources/views/theme/techsuwa/css/button_f.css create mode 100644 resources/views/theme/techsuwa/css/button_m.css create mode 100644 resources/views/theme/techsuwa/css/check.css create mode 100644 resources/views/theme/techsuwa/css/check_f.css create mode 100644 resources/views/theme/techsuwa/css/check_m.css create mode 100644 resources/views/theme/techsuwa/css/comments.css create mode 100644 resources/views/theme/techsuwa/css/comments_f.css create mode 100644 resources/views/theme/techsuwa/css/comments_m.css create mode 100644 resources/views/theme/techsuwa/css/contents.css create mode 100644 resources/views/theme/techsuwa/css/contents_f.css create mode 100644 resources/views/theme/techsuwa/css/contents_m.css create mode 100644 resources/views/theme/techsuwa/css/form.css create mode 100644 resources/views/theme/techsuwa/css/form_f.css create mode 100644 resources/views/theme/techsuwa/css/form_m.css create mode 100644 resources/views/theme/techsuwa/css/jpserriffont.css create mode 100644 resources/views/theme/techsuwa/css/jpserriffont_f.css create mode 100644 resources/views/theme/techsuwa/css/jpserriffont_m.css create mode 100644 resources/views/theme/techsuwa/css/logo.css create mode 100644 resources/views/theme/techsuwa/css/logo_f.css create mode 100644 resources/views/theme/techsuwa/css/logo_m.css create mode 100644 resources/views/theme/techsuwa/css/modal.css create mode 100644 resources/views/theme/techsuwa/css/modal_f.css create mode 100644 resources/views/theme/techsuwa/css/modal_m.css create mode 100644 resources/views/theme/techsuwa/css/navbar.css create mode 100644 resources/views/theme/techsuwa/css/navbar_f.css create mode 100644 resources/views/theme/techsuwa/css/navbar_m.css create mode 100644 resources/views/theme/techsuwa/css/pagination.css create mode 100644 resources/views/theme/techsuwa/css/pagination_f.css create mode 100644 resources/views/theme/techsuwa/css/pagination_m.css create mode 100644 resources/views/theme/techsuwa/css/scroll.css create mode 100644 resources/views/theme/techsuwa/css/scroll_f.css create mode 100644 resources/views/theme/techsuwa/css/scroll_m.css create mode 100644 resources/views/theme/techsuwa/css/select.css create mode 100644 resources/views/theme/techsuwa/css/select_f.css create mode 100644 resources/views/theme/techsuwa/css/select_m.css create mode 100644 resources/views/theme/techsuwa/css/sidemenu.css create mode 100644 resources/views/theme/techsuwa/css/sidemenu_f.css create mode 100644 resources/views/theme/techsuwa/css/sidemenu_m.css create mode 100644 resources/views/theme/techsuwa/css/table.css create mode 100644 resources/views/theme/techsuwa/css/table_f.css create mode 100644 resources/views/theme/techsuwa/css/table_m.css diff --git a/.gitignore b/.gitignore index 50a6f4c..2f939d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /node_modules /public/hot -/public/js -/public/css +/public/css.old +/public/js.old /public/storage /public/assets/avatars /public/assets/board diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php deleted file mode 100644 index c9d4531..0000000 --- a/app/Http/Controllers/AuthController.php +++ /dev/null @@ -1,533 +0,0 @@ -objPermission = new PermissionController(); - } - - public function checkSelf(Request $r) { // /api/auth/checkself - $check = checkLegit($r->kero_token); - return array($check); - } - - public function getPerms(Request $r) { // /api/auth/getpermissions - $check = $this->getPermissions($r->kero_token); - - return array($check); - } - - public function getPermissions($token) { - $check = checkLegit($token); - - $perm = DB::table('usr_perm_id') - ->select('perm_id') - ->where('user_id', $check) - ->first(); - - $perm = json_decode(json_encode($perm), true); - - // Does the user ID exist? Grand the appropriate rights. Otherwise, use guest. - if ($check != 0) { - // Page permissions. - $grouppermblg = $this->objPermission->getPermissionGroup('blg', $perm['perm_id']); - $userpermblg = $this->objPermission->getPermissionUser('blg', $check); - - // Board permissions. - $grouppermfor = $this->objPermission->getPermissionGroup('for', $perm['perm_id']); - $userpermfor = $this->objPermission->getPermissionUser('for', $check); - - // Store permissions. - $grouppermstr = $this->objPermission->getPermissionGroup('str', $perm['perm_id']); - $userpermstr = $this->objPermission->getPermissionUser('str', $check); - - // User permissions. - $grouppermusr = $this->objPermission->getPermissionGroup('usr', $perm['perm_id']); - $userpermusr = $this->objPermission->getPermissionUser('usr', $check); - - // Image permissions. - $grouppermimg = $this->objPermission->getPermissionGroup('img', $perm['perm_id']); - $userpermimg = $this->objPermission->getPermissionUser('img', $check); - - // Invoice permissions. - $groupperminv = $this->objPermission->getPermissionGroup('inv', $perm['perm_id']); - $userperminv = $this->objPermission->getPermissionUser('inv', $check); - - // Now provide an array of user overwritten permissions if it exists. Otherwise, give its group permissions. - $blgarr = array(); - $forarr = array(); - $strarr = array(); - $usrarr = array(); - $imgarr = array(); - $invarr = array(); - - if (!empty($userpermblg[0])) { - $blgarr = (array)$userpermblg[0]; - } - else { - $blgarr = (array)$grouppermblg[0]; - } - - $blgarr = array_combine( - array_map(function($k){ return 'blg_'.$k; }, array_keys($blgarr)), - $blgarr - ); - - if (!empty($userpermfor[0])) { - $forarr = (array)$userpermfor[0]; - } - else { - $forarr = (array)$grouppermfor[0]; - } - - $forarr = array_combine( - array_map(function($k){ return 'for_'.$k; }, array_keys($forarr)), - $forarr - ); - - if (!empty($userpermstr[0])) { - $strarr = (array)$userpermstr[0]; - } - else { - $strarr = (array)$grouppermstr[0]; - } - - $strarr = array_combine( - array_map(function($k){ return 'str_'.$k; }, array_keys($strarr)), - $strarr - ); - - if (!empty($userpermusr[0])) { - $usrarr = (array)$userpermusr[0]; - } - else { - $usrarr = (array)$grouppermusr[0]; - } - - $usrarr = array_combine( - array_map(function($k){ return 'usr_'.$k; }, array_keys($usrarr)), - $usrarr - ); - - if (!empty($userperminv[0])) { - $invarr = (array)$userperminv[0]; - } - else { - $invarr = (array)$groupperminv[0]; - } - - $invarr = array_combine( - array_map(function($k){ return 'inv_'.$k; }, array_keys($invarr)), - $invarr - ); - - if (!empty($userpermimg[0])) { - $imgarr = (array)$userpermimg[0]; - } - else { - $imgarr = (array)$grouppermimg[0]; - } - - $merge = array(); - $merge1 = array(); - $merge2 = array(); - $merge3 = array(); - $merge4 = array(); - - $merge1 = array_merge($blgarr, $forarr); - $merge2 = array_merge($strarr, $usrarr); - $merge3 = array_merge($merge1, $merge2); - $merge4 = array_merge($merge3, $invarr); - - $merge = array_merge($merge4, $imgarr); - - return $merge; - } - else { - // Page permissions. - $grouppermblg = $this->objPermission->getPermissionGroup('blg', 6); - - // Forum permissions. - $grouppermfor = $this->objPermission->getPermissionGroup('for', 6); - - // Store permissions. - $grouppermstr = $this->objPermission->getPermissionGroup('str', 6); - - // User permissions. - $grouppermusr = $this->objPermission->getPermissionGroup('usr', 6); - - // Image permissions. - $grouppermimg = $this->objPermission->getPermissionGroup('img', 6); - - // Invoice permissions. - $groupperminv = $this->objPermission->getPermissionGroup('inv', 6); - - // Since guests don't have user overwritten permissions, simply return the group permissions. - (array)$grouppermblg[0] = array_combine( - array_map(function($k){ return 'blg_'.$k; }, array_keys((array)$grouppermblg[0])), - (array)$grouppermblg[0] - ); - - (array)$grouppermfor[0] = array_combine( - array_map(function($k){ return 'for_'.$k; }, array_keys((array)$grouppermfor[0])), - (array)$grouppermfor[0] - ); - - (array)$grouppermstr[0] = array_combine( - array_map(function($k){ return 'str_'.$k; }, array_keys((array)$grouppermstr[0])), - (array)$grouppermstr[0] - ); - - (array)$grouppermusr[0] = array_combine( - array_map(function($k){ return 'usr_'.$k; }, array_keys((array)$grouppermusr[0])), - (array)$grouppermusr[0] - ); - - (array)$grouppermimg[0] = array_combine( - array_map(function($k){ return 'img_'.$k; }, array_keys((array)$grouppermimg[0])), - (array)$grouppermimg[0] - ); - - (array)$groupperminv[0] = array_combine( - array_map(function($k){ return 'inv_'.$k; }, array_keys((array)$groupperminv[0])), - (array)$groupperminv[0] - ); - - $merge = array(); - $merge1 = array(); - $merge2 = array(); - $merge3 = array(); - $merge4 = array(); - - $merge1 = array_merge((array)$grouppermblg[0], (array)$grouppermfor[0]); - $merge2 = array_merge((array)$grouppermstr[0], (array)$grouppermusr[0]); - $merge3 = array_merge($merge1, $merge2); - $merge4 = array_merge($merge3, (array)$groupperminv[0]); - - $merge = array_merge($merge4, (array)$grouppermimg[0]); - - return $merge; - } - } - - public function register (Request $r) { - $ip = $_SERVER['REMOTE_ADDR']; - - if (!empty($r)) { - $existUser = DB::table('users')->select('id')->where('username', $r->username)->count(); - if ($existUser != 0) return array('err' => 'ユーザ名は既に登録しています。'); - if (empty($r->username)) return array('err' => 'ユーザ名は空です。'); - if (preg_match("/^[a-zA-Z0-9]+$/", $r->username) == 0) return array('err' => '英文字ばかりご入力下さい。'); - if (empty($r->password)) return array('err' => 'パスワードは空です。'); - if (empty($r->password_check)) return array('err' => 'パスワード(確認)は空です。'); - if (strlen($r->password) < 8) return array('err' => 'パスワードは8文以上をご入力下さい。'); - if ($r->password != $r->password_check) return array('err' => 'パスワードとパスワード(確認)は違います。'); - $existEmail = DB::table('users')->select('id')->where('email', $r->email)->count(); - if ($existEmail != 0) return array('err' => 'メールアドレスは既に登録しています。'); - if (empty($r->email)) return array('err' => 'メールアドレスは空です。'); - if (!filter_var($r->email, FILTER_VALIDATE_EMAIL)) return array('err' => 'メールアドレスを正しくご入力下さい。'); - - $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); - $passwd = hash('sha256', $r->password . $salt); - - for ($round = 0; $round < 65536; $round++) { $passwd = hash('sha256', $passwd . $salt); } - - $addUser = DB::table('users') - ->insertGetId([ - 'username' => $r->username, - 'email' => $r->email, - 'password' => $passwd, - 'salt' => $salt, - 'remember_token' => '', - 'kero_token' => $this->makeToken() - ]); - - DB::table('usr_details') - ->insert([ - 'user_id' => $addUser, - 'total_posts' => 0, - 'total_threads' => 0, - 'reg_date' => time(), - 'last_post_date' => 0, - 'last_post_location' => 0, - 'ontime' => 0, - 'strikes' => 0 - ]); - - DB::table('usr_contacts') - ->insert([ - 'user_id' => $addUser, - 'website_link' => '', - 'website_name' => '', - 'youtube_link' => '', - 'youtube_name' => '', - 'bitchute' => '', - 'niconico' => '', - 'pixiv' => '', - 'discord' => '', - 'mastodon' => '', - 'twitter' => '', - 'facebook' => '', - 'instagram' => '' - ]); - - DB::table('usr_profile') - ->insert([ - 'user_id' => $addUser, - 'gender' => ($r->gender ? $r->gender : 0), - 'member_title' => '', - 'website_address' => '', - 'website_name' => '', - 'location' => '', - 'birthday' => 0, - 'bio' => '', - 'ip_address' => $ip, - 'avatar' => '', - 'ostatus' => 1, - 'header' => '', - 'footer' => '', - 'post_style' => '', - 'signature' => '', - 'name_style' => '', - 'display_name' => '', - 'yt_channel' => '', - 'country' => ($r->country ? $r->country : 'Japan'), - 'date_format' => '', - 'isClock24' => 1, - 'isShowSeconds' => 1, - 'isShowTimezone' => 1 - ]); - - DB::table('usr_perm_id') - ->insert([ - 'user_id' => $addUser, - 'perm_id' => 4, - 'usr_per_id' => 4, - 'img_per_id' => 4, - 'blg_per_id' => 4, - 'for_per_id' => 4, - 'sbx_per_id' => 4, - 'str_per_id' => 4, - 'doc_per_id' => 4, - 'odb_per_id' => 4, - 'inv_per_id' => 4, - ]); - - $checkName = DB::table('users')->select('kero_token')->where('id', $addUser)->first(); - - setcookie('kero_token', $checkName->kero_token, time()+157788000, '/', $_SERVER['HTTP_HOST'], 0, 1); - return $this->login($r); - - //return array('1'); - } - - return array(); - } - - public function login (Request $r) { - if (!empty($r)) { - $checkName = DB::table('users')->where('username', $r->username)->first(); - - if ($checkName) { - // $checkName = json_decode(json_encode($checkName), true); - $checkPass = hash('sha256', $r->password . $checkName->salt); - - for ($round = 0; $round < 65536; $round++) { - $checkPass = hash('sha256', $checkPass . $checkName->salt); - } - - if (hash_equals($checkPass, $checkName->password)) { - if (!$checkName->kero_token) { - $checkName->kero_token = $this->makeToken(); - DB::table('users')->where('id', $checkName->id)->update(['kero_token' => $checkName->kero_token]); - } - - setcookie('kero_token', $checkName->kero_token, time()+157788000, '/', $_SERVER['HTTP_HOST'], 0, 1); - return array('uid' => $checkName->id, 'kero_token' => $checkName->kero_token); - } - } - return array('err' => 'ユーザ名又はパスワードを間違いました。'); - } - - return array('err' => 'フォームは空です。'); - } - - function makeToken() { - $c = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$!%&()'; - $clen = strlen($c); - $token = ''; - - for ($i = 0; $i < 128; $i++) { - $token .= $c[rand(0, $clen - 1)]; - } - - return $token; - } - - function CheckEmail($email) { - $get = DB::table('users') - ->where('email', $email) - ->count(); - - if ($get == 0) return 0; - else return 1; - } - - public function SendReset(Request $r) { - $exist = $this->CheckEmail($r->email); - - if ($exist == 0) { - return 0; - } - else { - $check = DB::table('usr_resets') - ->select('token') - ->where('email', $r->email) - ->count(); - - if ($check > 0) { - DB::table('usr_resets') - ->where('email', $r->email) - ->delete(); - } - - $token = bin2hex(random_bytes(32)); - $due = time() + (1 * 24 * 60 * 60); - - DB::table('usr_resets') - ->insert([ - 'email' => $r->email, - 'token' => $token, - 'due_date' => $due - ]); - - $get = DB::table('usr_resetmails') - ->select('sender', 'sendname', 'subject', 'message') - ->first(); - - $user = DB::table('users') - ->select('username') - ->where('email', $r->email) - ->first(); - - $mess = str_replace('{user}', $user->username, $get->message); - $mess2 = str_replace('{link}', $token, $mess); - - $mess2 = mb_convert_encoding($mess2, "ISO-2022-JP", "AUTO"); - $subj = mb_convert_encoding($get->subject, "ISO-2022-JP", "AUTO"); - - $headers = "MIME-Version: 1.0"."\r\n"; - $headers .= "Content-Type: text/plain; charset=ISO-2022-JP"."\r\n"; - $headers .= "To: ".$r->email."\r\n"; - $headers .= "From: ".mb_convert_encoding($get->sendname,"ISO-2022-JP","AUTO")." <".$get->sender.">"."\r\n"; - - mb_language("ja"); - - $res = mail( - $r->email, - $subj, - $mess2, - $headers, - "-f".$get->sender - ); - - return 1; - } - } - - public function ConfirmReset($token) { - $get = DB::table('usr_resets') - ->select('*') - ->where('token', $token) - ->first(); - - $within24hour = time() + (1 * 24 * 60 * 60); - - if (empty($get)) { - return 0; - } - else { - if ($get->due_date > $within24hour) { - return 0; - } - else { - return 1; - } - } - } - - public function PasswordReset(Request $r) { - if (empty($r->password)) { - return 0; - } - - $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); - $passwd = hash('sha256', $r->password . $salt); - - for ($round = 0; $round < 65536; $round++) { - $passwd = hash('sha256', $passwd . $salt); - } - - $res = DB::table('users') - ->where('email', $r->email) - ->update([ - 'password' => $passwd, - 'salt' => $salt - ]); - - return 1; - } - - public function recover(Request $r) { - $user = User::where('email', $r->email)->first(); - - if (!$user) { - $error_message = "Your email address was not found."; - return response()->json(['success' => false, 'error' => ['email'=> $error_message]], 401); - } - try { - Password::sendResetLink($r->only('email'), function (Message $message) { - $message->subject('Your Password Reset Link'); - }); - } catch (\Exception $e) { - $error_message = $e->getMessage(); - return response()->json(['success' => false, 'error' => $error_message], 401); - } - - return response()->json([ - 'success' => true, 'data'=> ['message'=> 'A reset email has been sent! Please check your email.'] - ]); - } - - public function checkAuth(Request $r) { - $get = DB::table('users') - ->select('id', 'kero_token') - ->where('kero_token', $r->kero_token) - ->first(); - - $get = json_decode(json_encode($get), true); - - return $get; - } - - public function logout () { - if (isset($_COOKIE['kero_token'])) { - unset($_COOKIE['kero_token']); - setcookie('kero_token', '', time() - 3600, '/', $_SERVER['HTTP_HOST'], 0, 1); - } - - return redirect(''); - } -} diff --git a/app/Http/Controllers/Engine.php b/app/Http/Controllers/Engine.php new file mode 100644 index 0000000..a58f3d7 --- /dev/null +++ b/app/Http/Controllers/Engine.php @@ -0,0 +1,114 @@ +err = ''; + $this->warn = ''; + $this->info = ''; + $this->suc = ''; + + if (isset($_COOKIE['language'])) app()->setLocale($_COOKIE['language']); + $this->id = checkLegit((isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : '')); + $this->user = $this->getLoggedUser((isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : '')); + + if ($this->user && $this->user->profile->gender != 0) { + $css = $this->css; + foreach ($css as $c) { + $css[] = $c.'_'.($this->user->profile->gender == 1 ? 'm' : 'f'); + } + $this->css = $css; + } + } + + function getLoggedUser ($kero) { + $check = checkLegit($kero); + if ($check == 0) return 0; + + // $cols = getGroupColours(); + $get = $this->getUser($check); + + return $get; + } + + public function getUser ($id) { + $get = DB::table('users')->where('id', $id)->first(); + unset($get->password); unset($get->salt); unset($get->remember_token); + $get->profile = DB::table('usr_profile')->where('user_id', $get->id)->first(); + $get->profile->showname = (!empty($get->profile->display_name) && !is_null($get->profile->display_name) ? $get->profile->display_name : $get->username); + $perm_id = DB::table('usr_perm_id')->select('perm_id')->where('user_id', $get->id)->first()->perm_id; + $get->perm_module = DB::table('usr_perm_module')->where('usr_perm_id', $perm_id)->first(); + $get->details = DB::table('usr_details')->where('user_id', $get->id)->first(); + $get->contacts = DB::table('usr_contacts')->where('user_id', $get->id)->first(); + $ucol = DB::table('usr_perm_module')->select('id', 'name', 'colour_m', 'colour_f', 'colour_u')->get(); + + if (!empty($get->profile->name_style)) $get->profile->name_style = $get->profile->name_style; + else { + foreach ($ucol as $j3) { + if ($j3->id == $perm_id) { + if ($get->profile->gender == 1) $get->profile->name_style = $j3->colour_m; + else if ($get->profile->gender == 2) $get->profile->name_style = $j3->colour_f; + else $get->profile->name_style = $j3->colour_u; + } + } + } + + if ($get->profile->gender == 1) $get->profile->gender_name = '男性'; + else if ($get->profile->gender == 2) $get->profile->gender_name = '女性'; + else $get->profile->gender_name = '不明'; + + $get->perm = $this->getPermissions($get->kero_token); + if (empty($get->profile->avatar) || $get->profile->avatar == '') $get->profile->avatar = 'img/noicon.jpg'; + $get->profile->avatar = '/'.$get->profile->avatar; + + return $get; + } + + public function getPermissionGroup($mdl, $id) { return DB::table($mdl.'_permissions')->where('id', $id)->get(); } + public function getPermissionUser($mdl, $id) { return DB::table($mdl.'_user_permissions')->where('user_id', $id)->get(); } + + public function getPermissions ($token) { + $check = checkLegit($token); + $perm = DB::table('usr_perm_id')->select('perm_id')->where('user_id', $check)->first(); + $perm = json_decode(json_encode($perm), true); + + if ($check != 0) { + $grouppermblg = $this->getPermissionGroup('blg', $perm['perm_id']); + $userpermblg = $this->getPermissionUser('blg', $check); + + $grouppermusr = $this->getPermissionGroup('usr', $perm['perm_id']); + $userpermusr = $this->getPermissionUser('usr', $check); + + $blgarr = array(); + $usrarr = array(); + + if (!empty($userpermblg[0])) $blgarr = (array)$userpermblg[0]; + else $blgarr = (array)$grouppermblg[0]; + $blgarr = array_combine(array_map(function($k){ return 'blg_'.$k; }, array_keys($blgarr)), $blgarr); + + if (!empty($userpermusr[0])) $usrarr = (array)$userpermusr[0]; + else $usrarr = (array)$grouppermusr[0]; + $usrarr = array_combine(array_map(function($k){ return 'usr_'.$k; }, array_keys($usrarr)), $usrarr); + + return array_merge($blgarr, $usrarr); + } + else { + $grouppermblg = $this->getPermissionGroup('blg', 6); + $grouppermusr = $this->getPermissionGroup('usr', 6); + + (array)$grouppermblg[0] = array_combine(array_map(function($k){ return 'blg_'.$k; }, array_keys((array)$grouppermblg[0])), (array)$grouppermblg[0]); + (array)$grouppermusr[0] = array_combine(array_map(function($k){ return 'usr_'.$k; }, array_keys((array)$grouppermusr[0])), (array)$grouppermusr[0]); + + return array_merge((array)$grouppermblg[0], (array)$grouppermusr[0]); + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/Home/Comment.php b/app/Http/Controllers/Home/Comment.php index c755629..b5c9507 100644 --- a/app/Http/Controllers/Home/Comment.php +++ b/app/Http/Controllers/Home/Comment.php @@ -6,27 +6,23 @@ use Illuminate\Http\Request; // use Illuminate\Support\Facades\Log; class Comment { - public function __construct () { - } - public function add (Request $r) { $com = $r->comment; if ($r->isvideo == 'f') $id = DB::table('blg_content')->select('id')->where('slug', $r->slug)->first()->id; $shadow = DB::table('blg_blacklist')->where('ipaddress', getIp())->first(); if ($shadow && !$shadow->isShadow) return array('status' => '0101FF', 'message' => '失礼しますが、あなたはBANされていましたので、コメントを保存できません。'); - $add = DB::table('blg_comments') - ->insertGetId([ - 'user_id' => ($r->user_id != 0 ?: null), - 'post_id' => ($r->isvideo == 'f' ? $id : 0), - 'video_id' => ($r->isvideo == 't' ? $r->slug : ''), - 'name' => (isset($com['name']) ? $com['name'] : null), - 'email' => (isset($com['mail']) ? $com['mail'] : null), - 'message' => $com['text'], - 'created' => time(), - 'ipaddress' => getIp(), - 'isShadow' => ($shadow ? 0 : 1) - ]); + $add = DB::table('blg_comments')->insertGetId([ + 'user_id' => ($r->user_id != 0 ?: null), + 'post_id' => ($r->isvideo == 'f' ? $id : 0), + 'video_id' => ($r->isvideo == 't' ? $r->slug : ''), + 'name' => (isset($com['name']) ? $com['name'] : null), + 'email' => (isset($com['mail']) ? $com['mail'] : null), + 'message' => $com['text'], + 'created' => time(), + 'ipaddress' => getIp(), + 'isShadow' => ($shadow ? 0 : 1) + ]); // 返事だったら、メールを送って @@ -45,4 +41,4 @@ class Comment { return array('status' => '010100', 'message' => 'OK', 'result' => $res); } -} +} \ No newline at end of file diff --git a/app/Http/Controllers/Home/CommentList.php b/app/Http/Controllers/Home/CommentList.php index 81a155c..688562f 100644 --- a/app/Http/Controllers/Home/CommentList.php +++ b/app/Http/Controllers/Home/CommentList.php @@ -2,28 +2,20 @@ namespace App\Http\Controllers\Home; use Illuminate\Support\Facades\DB; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; -use App\Http\Controllers\UserController; +class CommentList extends Engine { + private $engine; -class CommentList { - private $objUser; - private $valid; - private $menu; - private $user; - - public function __construct ($v, $m, $u) { - $this->objUser = new UserController(); - $this->valid = $v; - $this->menu = $m; - $this->user = $u; + public function __construct () { + $this->engine = new Engine(); } public function index () { - if ($this->valid['usr_ban'] != 1) return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + if (getPerms()['usr_ban'] != 1) return view('pages.site.notallowed', ['user' => $this->engine->user]); $get = DB::table('blg_comments')->orderBy('created', 'desc')->paginate(10); setlocale(LC_ALL, 'ja_JP.utf8'); - $ucol = $this->objUser->getGroupColours(); foreach ($get as $g) { if (!is_null($g->user_id)) { @@ -60,7 +52,7 @@ class CommentList { if (!empty($g->name_style)) $g->showcol = $g->name_style; else { - foreach ($ucol as $j) { + foreach (getGroupColours() as $j) { if ($j->id == $g->perm_id) { if ($g->gender == 1) $g->showcol = $j->colour_m; else if ($g->gender == 2) $g->showcol = $j->colour_f; @@ -87,6 +79,6 @@ class CommentList { $g->created = date('Y年m月d日 H:i:s', $g->created); } - return view('pages.site.commentlist', ['res' => $get, 'menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.commentlist', ['res' => $get, 'user' => $this->engine->user]); } } diff --git a/app/Http/Controllers/Home/Content.php b/app/Http/Controllers/Home/Content.php index 3a49c21..4782289 100644 --- a/app/Http/Controllers/Home/Content.php +++ b/app/Http/Controllers/Home/Content.php @@ -3,25 +3,24 @@ namespace App\Http\Controllers\Home; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; -class Content { +class Content extends Engine { + private $engine; private $valid; - private $menu; - private $user; - public function __construct ($v, $m, $u) { - $this->valid = $v; - $this->menu = $m; - $this->user = $u; + public function __construct () { + $this->engine = new Engine(); + $this->valid = getPerms(); } public function add (Request $r) { - if ($this->user && ($this->user->perm['blg_addpost'] || $this->user->perm['blg_addpage'])) { + if ($this->engine->user && ($this->engine->user->perm['blg_addpost'] || $this->engine->user->perm['blg_addpage'])) { $err = ''; $res = ''; $frm = array( - 'user_id' => $this->user->id, + 'user_id' => $this->engine->user->id, 'title' => '', 'slug' => '', 'public_status' => 0, @@ -74,7 +73,7 @@ class Content { } // エラーがあったら、フォームに戻って。なければ、データベースに保存したり、ページ又はポストへ移転して - if (!empty($err)) return view('pages.site.content.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + if (!empty($err)) return view('pages.site.content.add', ['res' => $res, 'err' => $err, 'frm' => $frm]); else { // データベースに追加できるには、値を修正して $gs = DB::table('blg_content')->select('sortorder')->orderBy('sortorder', 'desc')->first(); @@ -92,15 +91,15 @@ class Content { $frm['publish_date'] = $sav; unset($frm['post_date']); unset($frm['sortorder']); - return view('pages.site.content.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $res['err']]); + return view('pages.site.content.add', ['res' => $res, 'err' => $err, 'frm' => $res['err']]); } } } - return view('pages.site.content.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + return view('pages.site.content.add', ['res' => $res, 'err' => $err, 'frm' => $frm]); } - return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.notallowed'); } public function delete (Request $r) { @@ -113,9 +112,9 @@ class Content { } public function edit (Request $r) { - if ($this->user && ($this->user->perm['blg_editpost'] || $this->user->perm['blg_editpage'])) { + if ($this->engine->user && ($this->engine->user->perm['blg_editpost'] || $this->engine->user->perm['blg_editpage'])) { $frm = DB::table('blg_content')->where('slug', $r->slug)->first(); - if (!$frm) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$frm) return view('pages.site.notfound'); $err = ''; $res = ''; @@ -155,7 +154,7 @@ class Content { if (count($incomplete) > 0) $err = implode('、', $incomplete).'をご入力下さい。'; // エラーがあったら、フォームに戻って。なければ、データベースに保存したり、ページ又はポストへ移転して - if (!empty($err)) return view('pages.site.content.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + if (!empty($err)) return view('pages.site.content.edit', ['res' => $res, 'err' => $err, 'frm' => $frm]); else { // データベースに追加できるには、値を修正して $gs = DB::table('blg_content')->select('sortorder')->orderBy('sortorder', 'desc')->first(); @@ -173,14 +172,14 @@ class Content { $frm->publish_date = $sav; unset($frm->post_date); unset($frm->sortorder); - return view('pages.site.content.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $res['err']]); + return view('pages.site.content.edit', ['res' => $res, 'err' => $err, 'frm' => $res['err']]); } } } - return view('pages.site.content.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + return view('pages.site.content.edit', ['res' => $res, 'err' => $err, 'frm' => $frm]); } - return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.notallowed'); } -} +} \ No newline at end of file diff --git a/app/Http/Controllers/Home/Index.php b/app/Http/Controllers/Home/Index.php index a5cfbb2..a653338 100644 --- a/app/Http/Controllers/Home/Index.php +++ b/app/Http/Controllers/Home/Index.php @@ -4,19 +4,11 @@ namespace App\Http\Controllers\Home; use Illuminate\Support\Facades\DB; // use Illuminate\Support\Facades\Log; -use App\Http\Controllers\UserController; - class Index { - private $objUser; private $valid; - private $menu; - private $user; - public function __construct ($v, $m, $u) { - $this->objUser = new UserController(); - $this->valid = $v; - $this->menu = $m; - $this->user = $u; + public function __construct () { + $this->valid = getPerms(); } public function index () { @@ -25,7 +17,7 @@ class Index { $get = $get->orderBy('publish_date', 'desc')->paginate(10); setlocale(LC_ALL, 'ja_JP.utf8'); - return view('pages.site.index', ['res' => $get, 'menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.index', ['res' => $get]); } public function page ($slug) { @@ -34,17 +26,17 @@ class Index { if ($this->valid['blg_editpage'] == 0) $res = $res->where('public_status', 0); $res = $res->where('isPost', 0)->where('slug', $slug)->orderBy('sortorder', 'asc')->first(); - if (!$res) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); - return view('pages.site.page', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user]); + if (!$res) return view('pages.site.notfound'); + return view('pages.site.page', ['res' => $res]); } - public function post ($slug, $kero) { + public function post ($slug) { $get = DB::table('blg_content'); if ($this->valid['blg_editpost'] == 0) $get = $get->where('public_status', 0); $get = $get->where('isPost', 1)->where('slug', $slug)->first(); - if (!$get) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$get) return view('pages.site.notfound'); - $ucol = $this->objUser->getGroupColours(); + $ucol = getGroupColours(); setlocale(LC_ALL, 'ja_JP.utf8'); $get->showName = ''; @@ -64,6 +56,7 @@ class Index { foreach ($get->comments['come'] as $k => $c) { $c->replyCount = 0; $c->isvideo = 'f'; + $c->src = 'TS'; if (!is_null($c->user_id) && !empty(userDetail($c->user_id))) { $det = userDetail($c->user_id); @@ -98,10 +91,10 @@ class Index { } } - $get->user = userDetail(null, $kero); + $get->user = userDetail(null, (isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : '')); $get->post_date = strftime('%Y/%m/%d(%a) %H:%M:%S %Z', $get->post_date); $get->publish_date = strftime('%Y/%m/%d(%a) %H:%M:%S %Z', $get->publish_date); - return view('pages.site.post', ['res' => $get, 'menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.post', ['res' => $get]); } } diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php deleted file mode 100644 index 41ce8d9..0000000 --- a/app/Http/Controllers/HomeController.php +++ /dev/null @@ -1,77 +0,0 @@ -setLocale($_COOKIE['language']); - - $this->objAuth = new AuthController(); - $this->objUser = new UserController(); - $this->valid = $this->objAuth->getPermissions((isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : '')); - $this->menu = getPagesInMenu(); - $this->cook = (isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : ''); - $this->id = checkLegit($this->cook); - $this->user = $this->objUser->getLoggedUser($this->id, $this->cook); - } - - public function index () { - $r = new Index($this->valid, $this->menu, $this->user); - return $r->index(); - } - - public function post ($slug) { - $r = new Index($this->valid, $this->menu, $this->user); - return $r->post($slug, $this->cook); - } - - public function page ($slug) { - $r = new Index($this->valid, $this->menu, $this->user); - return $r->page($slug); - } - - public function memberList () { - $r = new \App\Http\Controllers\User\MemberList($this->valid, $this->menu, $this->user); - return $r->index(); - } - - public function commentList () { - $r = new \App\Http\Controllers\Home\CommentList($this->valid, $this->menu, $this->user); - return $r->index(); - } - - public function newComment (Request $rr) { - $r = new Comment(); - return $r->add($rr); - } - - public function addContent (Request $rr) { - $r = new Content($this->valid, $this->menu, $this->user); - return $r->add($rr); - } - - public function editContent (Request $rr) { - $r = new Content($this->valid, $this->menu, $this->user); - return $r->edit($rr); - } - - public function delContent (Request $rr) { - $r = new Content($this->valid, $this->menu, $this->user); - return $r->delete($rr); - } -} diff --git a/app/Http/Controllers/NihonController.php b/app/Http/Controllers/NihonController.php index 523f1c1..41ec1d3 100644 --- a/app/Http/Controllers/NihonController.php +++ b/app/Http/Controllers/NihonController.php @@ -7,8 +7,6 @@ use Illuminate\Http\Request; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Support\Facades\Log; -use App\Http\Controllers\AuthController; - class NihonController extends Controller { public function __construct() {} diff --git a/app/Http/Controllers/PermissionController.php b/app/Http/Controllers/PermissionController.php deleted file mode 100644 index 70f4b51..0000000 --- a/app/Http/Controllers/PermissionController.php +++ /dev/null @@ -1,42 +0,0 @@ -select('*') - ->get(); - } - - public function getPermissionFromModule($id) { // /api/rpc/permission/getpermissionsfrommodule/id - return DB::table('usr_perm_module') - ->select('*') - ->where('id', $id) - ->get(); - } - - public function getPermissions($mdl) { // /api/rpc/permission/getpermissions/mdl - return DB::table($mdl.'_permissions') - ->select('*') - ->get(); - } - - public function getPermissionGroup($mdl, $id) { // /api/rpc/permission/getpermissiongroup/mdl/id - return DB::table($mdl.'_permissions') - ->select('*') - ->where('id', $id) - ->get(); - } - - public function getPermissionUser($mdl, $id) { // /api/rpc/permission/getpermissionuser/mdl/id - return DB::table($mdl.'_user_permissions') - ->select('*') - ->where('user_id', $id) - ->get(); - } -} diff --git a/app/Http/Controllers/User/Login.php b/app/Http/Controllers/User/Login.php index 65b3d8d..dbbeb3f 100644 --- a/app/Http/Controllers/User/Login.php +++ b/app/Http/Controllers/User/Login.php @@ -5,27 +5,42 @@ use Illuminate\Http\Request; // use Illuminate\Support\Facades\Log; class Login { - private $auth; - private $menu; - private $user; - - public function __construct ($a, $m, $u) { - $this->auth = $a; - $this->menu = $m; - $this->user = $u; - } - public function index (Request $r) { if (isset($_COOKIE['kero_token'])) return redirect(''); $res = array(); $err = ''; if (isset($r->username) && isset($r->password)) { - $res = $this->auth->login($r); + $res = $this->login($r); if (isset($res['kero_token'])) return redirect(''); $err = $res['err']; } - return view('pages.site.login', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err]); + return view('pages.site.login', ['res' => $res, 'err' => $err]); } -} + + public function login (Request $r) { + if (!empty($r)) { + $checkName = DB::table('users')->where('username', $r->username)->first(); + + if ($checkName) { + // $checkName = json_decode(json_encode($checkName), true); + $checkPass = hash('sha256', $r->password . $checkName->salt); + for ($round = 0; $round < 65536; $round++) $checkPass = hash('sha256', $checkPass . $checkName->salt); + + if (hash_equals($checkPass, $checkName->password)) { + if (!$checkName->kero_token) { + $checkName->kero_token = makeToken(); + DB::table('users')->where('id', $checkName->id)->update(['kero_token' => $checkName->kero_token]); + } + + setcookie('kero_token', $checkName->kero_token, time()+157788000, '/', $_SERVER['HTTP_HOST'], 0, 1); + return array('uid' => $checkName->id, 'kero_token' => $checkName->kero_token); + } + } + return array('err' => 'ユーザ名又はパスワードを間違いました。'); + } + + return array('err' => 'フォームは空です。'); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/User/Logout.php b/app/Http/Controllers/User/Logout.php new file mode 100644 index 0000000..b8639af --- /dev/null +++ b/app/Http/Controllers/User/Logout.php @@ -0,0 +1,15 @@ +objUser = new UserController(); - $this->valid = $v; - $this->menu = $m; - $this->user = $u; + public function __construct () { + $this->engine = new Engine(); } public function index () { - if ($this->valid['usr_ban'] != 1) return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + if (getPerms()['usr_ban'] != 1) return view('pages.site.notallowed', ['user' => $this->user]); $get = DB::table('users')->orderBy('id', 'desc')->paginate(10); setlocale(LC_ALL, 'ja_JP.utf8'); - $ucol = $this->objUser->getGroupColours(); foreach ($get as $g) { if (!is_null($g->id)) { @@ -54,7 +46,7 @@ class MemberList { if (!empty($g->name_style)) $g->showcol = $g->name_style; else { - foreach ($ucol as $j) { + foreach (getGroupColours() as $j) { if ($j->id == $g->perm_id) { if ($g->gender == 1) $g->showcol = $j->colour_m; else if ($g->gender == 2) $g->showcol = $j->colour_f; @@ -71,6 +63,6 @@ class MemberList { else $g->gender = '?'; } - return view('pages.site.memberlist', ['res' => $get, 'menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.memberlist', ['res' => $get, 'user' => $this->user]); } } diff --git a/app/Http/Controllers/User/Profile.php b/app/Http/Controllers/User/Profile.php index 453cd9b..10f4a61 100644 --- a/app/Http/Controllers/User/Profile.php +++ b/app/Http/Controllers/User/Profile.php @@ -3,26 +3,21 @@ namespace App\Http\Controllers\User; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; -class Profile { - private $auth; +class Profile extends Engine { + private $engine; private $get; - private $cntr; - private $menu; - private $user; - public function __construct ($a, $g, $c, $m, $u) { - $this->auth = $a; - $this->get = $g; - $this->cntr = $c; - $this->menu = $m; - $this->user = $u; + public function __construct () { + $this->engine = new Engine; } - public function index ($id, $kero) { - if (!$this->get) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); - return view('pages.site.profile', ['res' => $this->get, 'menu' => $this->menu, 'user' => $this->user]); + public function index ($id) { + $this->get = $this->engine->getUser($id); + if (!$this->get) return view('pages.site.notfound'); + return view('pages.site.profile', ['res' => $this->get]); } public function avatarUpload(Request $r) { @@ -30,7 +25,7 @@ class Profile { if ($check == 0) return 'Err!'; else { - $valid = $this->auth->getPermissions($r->kero_token); + $valid = getPerms(); $user = 0; if ($valid['usr_editother'] == 1) $user = $r->id; @@ -60,39 +55,36 @@ class Profile { } public function edit ($id, Request $r) { - $err = ''; - $suc = ''; - - $valid = $this->auth->getPermissions($this->user->kero_token); - $user = $this->user->id; - if (($valid['usr_editother'] == 0 && $user != $id)) return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + $user = $this->engine->user; + if ((getPerms()['usr_editother'] == 0 && $user != $id)) return view('pages.site.notallowed'); + $this->get = $this->engine->getUser($id); if (isset($r->submit)) { if (!is_null($r->password)) { - if ($r->password != $r->password_check) $err = '「パスワード」と「パスワード確認」が異なります。'; + if ($r->password != $r->password_check) $this->engine->err = '「パスワード」と「パスワード確認」が異なります。'; else { $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); $passwd = hash('sha256', $r->password . $salt); for ($round = 0; $round < 65536; $round++) { $passwd = hash('sha256', $passwd . $salt); } $eduserp = DB::table('users')->where('id', $id)->update(['password' => $passwd, 'salt' => $salt]); - if (!$eduserp) $err = 'パスワードの編集失敗。'; + if (!$eduserp) $this->engine->err = 'パスワードの編集失敗。'; } } $cheml = DB::table('users')->select('email')->where('id', $id)->first(); - if ($err == '') { + if ($this->engine->err == '') { if ($cheml->email != $r->email) { $exeml = DB::table('users')->select('email')->where('email', $r->email)->count(); - if ($exeml > 0) $err = '入力したメールアドレスはもう存在しています。'; + if ($exeml > 0) $this->engine->err = '入力したメールアドレスはもう存在しています。'; else { $edusere = DB::table('users')->where('id', $id)->update(['email' => $r->email]); - if (!$edusere) $err = 'メールアドレスの編集失敗。'; + if (!$edusere) $this->engine->err = 'メールアドレスの編集失敗。'; } } } - if ($err == '') { + if ($this->engine->err == '') { $p = DB::table('usr_profile')->select('display_name', 'country', 'gender')->where('user_id', $id)->first(); $edprofile = 1; if ($p->display_name != $r->display_name || $p->country != $r->country || $p->gender != $r->gender) { @@ -103,13 +95,13 @@ class Profile { ]); } - if (!$edprofile) $err = '表示名、お国、又は性別の編集失敗。'; + if (!$edprofile) $this->engine->err = '表示名、お国、又は性別の編集失敗。'; else return redirect('/'); } } - if (!$this->get) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); - if ($this->user) return view('pages.site.profileedit', ['res' => $this->get, 'menu' => $this->menu, 'user' => $this->user, 'suc' => $suc, 'err' => $err, 'cnt' => $this->cntr]); - return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$this->get) return view('pages.site.notfound'); + if ($this->engine->user) return view('pages.site.profileedit', ['res' => $this->get, 'suc' => $this->engine->suc, 'err' => $this->engine->err]); + return view('pages.site.notfound'); } } diff --git a/app/Http/Controllers/User/Register.php b/app/Http/Controllers/User/Register.php index f730e22..ac4fbec 100644 --- a/app/Http/Controllers/User/Register.php +++ b/app/Http/Controllers/User/Register.php @@ -2,20 +2,11 @@ namespace App\Http\Controllers\User; use Illuminate\Http\Request; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; class Register { - private $auth; - private $cntr; - private $menu; - private $user; - - public function __construct ($a, $c, $m, $u) { - $this->auth = $a; - $this->cntr = $c; - $this->menu = $m; - $this->user = $u; - } + public function __construct () {} public function index (Request $r) { if (isset($_COOKIE['kero_token'])) return redirect(''); @@ -24,11 +15,50 @@ class Register { if (isset($r->username) && isset($r->password) && isset($r->email) && isset($r->password_check)) { $save = array('username' => $r->username, 'email' => $r->email, 'country' => $r->country, 'gender' => $r->gender); - $reg = $this->auth->register($r); + $reg = $this->register($r); if (isset($reg['kero_token'])) return redirect(''); $err = $reg['err']; } - return view('pages.site.register', ['res' => $this->cntr, 'menu' => $this->menu, 'user' => $this->user, 'sav' => $save, 'err' => $err]); + return view('pages.site.register', ['sav' => $save, 'err' => $err]); + } + + public function register (Request $r) { + $ip = $_SERVER['REMOTE_ADDR']; + + if (!empty($r)) { + $existUser = DB::table('users')->select('id')->where('username', $r->username)->count(); + if ($existUser != 0) return array('err' => 'ユーザ名は既に登録しています。'); + if (empty($r->username)) return array('err' => 'ユーザ名は空です。'); + if (preg_match("/^[a-zA-Z0-9]+$/", $r->username) == 0) return array('err' => '英文字ばかりご入力下さい。'); + if (empty($r->password)) return array('err' => 'パスワードは空です。'); + if (empty($r->password_check)) return array('err' => 'パスワード(確認)は空です。'); + if (strlen($r->password) < 8) return array('err' => 'パスワードは8文以上をご入力下さい。'); + if ($r->password != $r->password_check) return array('err' => 'パスワードとパスワード(確認)は違います。'); + $existEmail = DB::table('users')->select('id')->where('email', $r->email)->count(); + if ($existEmail != 0) return array('err' => 'メールアドレスは既に登録しています。'); + if (empty($r->email)) return array('err' => 'メールアドレスは空です。'); + if (!filter_var($r->email, FILTER_VALIDATE_EMAIL)) return array('err' => 'メールアドレスを正しくご入力下さい。'); + + $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); + $passwd = hash('sha256', $r->password . $salt); + + for ($round = 0; $round < 65536; $round++) { $passwd = hash('sha256', $passwd . $salt); } + + $addUser = DB::table('users')->insertGetId(['username' => $r->username, 'email' => $r->email, 'password' => $passwd, 'salt' => $salt, 'remember_token' => '', 'kero_token' => makeToken()]); + DB::table('usr_details')->insert(['user_id' => $addUser, 'total_posts' => 0, 'total_threads' => 0, 'reg_date' => time(), 'last_post_date' => 0, 'last_post_location' => 0, 'ontime' => 0, 'strikes' => 0]); + DB::table('usr_contacts')->insert(['user_id' => $addUser, 'website_link' => '', 'website_name' => '', 'youtube_link' => '', 'youtube_name' => '', 'bitchute' => '', 'niconico' => '', 'pixiv' => '', 'discord' => '', 'mastodon' => '', 'twitter' => '', 'facebook' => '', 'instagram' => '']); + DB::table('usr_profile')->insert(['user_id' => $addUser, 'gender' => ($r->gender ? $r->gender : 0), 'member_title' => '', 'website_address' => '', 'website_name' => '', 'location' => '', 'birthday' => 0, 'bio' => '', 'ip_address' => $ip, 'avatar' => '', 'ostatus' => 1, 'header' => '', 'footer' => '', 'post_style' => '', 'signature' => '', 'name_style' => '', 'display_name' => '', 'yt_channel' => '', 'country' => ($r->country ? $r->country : 'Japan'), 'date_format' => '', 'isClock24' => 1, 'isShowSeconds' => 1, 'isShowTimezone' => 1]); + DB::table('usr_perm_id')->insert(['user_id' => $addUser, 'perm_id' => 4, 'usr_per_id' => 4, 'img_per_id' => 4, 'blg_per_id' => 4, 'for_per_id' => 4, 'sbx_per_id' => 4, 'str_per_id' => 4, 'doc_per_id' => 4, 'odb_per_id' => 4, 'inv_per_id' => 4]); + + $checkName = DB::table('users')->select('kero_token')->where('id', $addUser)->first(); + + setcookie('kero_token', $checkName->kero_token, time()+157788000, '/', $_SERVER['HTTP_HOST'], 0, 1); + return $this->login($r); + + //return array('1'); + } + + return array(); } } diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php deleted file mode 100644 index 9bd779d..0000000 --- a/app/Http/Controllers/UserController.php +++ /dev/null @@ -1,156 +0,0 @@ -setLocale($_COOKIE['language']); - - $this->objAuth = new AuthController(); - $this->menu = getPagesInMenu(); - $this->cook = (isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : ''); - $this->id = checkLegit($this->cook); - $this->user = $this->getLoggedUser($this->id, $this->cook); - } - - public function profile ($id) { - $r = new Profile($this->objAuth, $this->getUser($id, $this->cook), $this->getCountries(), $this->menu, $this->user); - return $r->index($id, $this->cook); - } - - public function editProfile ($id, Request $rr) { - $r = new Profile($this->objAuth, $this->getUser($id, $this->cook), $this->getCountries(), $this->menu, $this->user); - return $r->edit($id, $rr); - } - - public function login (Request $rr) { - $r = new Login($this->objAuth, $this->menu, $this->user); - return $r->index($rr); - } - - public function register (Request $rr) { - $r = new Register($this->objAuth, $this->getCountries(), $this->menu, $this->user); - return $r->index($rr); - } - - public function getNotification () { - $r = new Notification(); - return $r->get(); - } - - public function addNotification ($uid, $aid, $txt, $sec, $goto) { - $r = new Notification(); - return $r->add($uid, $aid, $txt, $sec, $goto); - } - - public function delNotification ($id) { - $r = new Notification(); - return $r->delete($id); - } - - function getUser ($id, $kero) { - $check = checkLegit($kero); - - $valid = $this->objAuth->getPermissions($kero); - $cols = $this->getGroupColours()->toArray(); - - $get = DB::table('users')->where('id', $id)->first(); - if (!$get) return false; - $get->details = DB::table('usr_details')->where('user_id', $id)->first(); - $get->profile = DB::table('usr_profile')->where('user_id', $id)->first(); - $get->contacts = DB::table('usr_contacts')->where('user_id', $id)->first(); - $get->perm_id = DB::table('usr_perm_id')->where('user_id', $id)->first(); - $get->perm_module = DB::table('usr_perm_module')->where('usr_perm_id', $get->perm_id->usr_per_id)->first(); - if (is_null($get->profile->avatar) || empty($get->profile->avatar) || $get->profile->avatar == '') { - $get->profile->avatar = 'http'.(isset($_SERVER['HTTPS']) ? 's' : '').'://'.$_SERVER['HTTP_HOST'].'/img/noicon.jpg'; - } - else $get->profile->avatar = '/'.$get->profile->avatar; - - $get->profile->gender_name = '不明'; - if ($get->profile->gender == 1) $get->profile->gender_name = '男性'; - else if ($get->profile->gender == 2) $get->profile->gender_name = '女性'; - - $get->details->reg_date = strftime('%Y年%m月%d日(%a)', $get->details->reg_date); - $get->profile->showname = (!empty($get->profile->display_name) && !is_null($get->profile->display_name) ? $get->profile->display_name : $get->username); - - if ($id != $check) { - unset($get->password); - unset($get->kero_token); - unset($get->salt); - } - - if ($valid['usr_emailshow'] == 0 && $id != $check) unset($get->email); - if ($valid['usr_ipshow'] == 0 && $id != $check) unset($get->profile->ip_address); - if ($valid['usr_canwarn'] == 0 && $id != $check) unset($get->details->strikes); - - return $get; - } - - function getLoggedUser ($id, $kero) { - $check = checkLegit($kero); - if ($check == 0) return 0; - - $valid = $this->objAuth->getPermissions($kero); - $cols = $this->getGroupColours()->toArray(); - - $get = DB::table('users')->where('id', $id)->first(); - $get->profile = DB::table('usr_profile')->where('user_id', $id)->first(); - $get->profile->showname = (!empty($get->profile->display_name) && !is_null($get->profile->display_name) ? $get->profile->display_name : $get->username); - $perm_id = DB::table('usr_perm_id')->select('perm_id')->where('user_id', $get->id)->first()->perm_id; - $ucol = DB::table('usr_perm_module')->select('id', 'colour_m', 'colour_f', 'colour_u')->get(); - - if (!empty($get->profile->name_style)) $get->profile->name_style = $get->profile->name_style; - else { - foreach ($ucol as $j3) { - if ($j3->id == $perm_id) { - if ($get->profile->gender == 1) $get->profile->name_style = $j3->colour_m; - else if ($get->profile->gender == 2) $get->profile->name_style = $j3->colour_f; - else $get->profile->name_style = $j3->colour_u; - } - } - } - - $get->perm = $valid; - if (empty($get->profile->avatar) || $get->profile->avatar == '') $get->profile->avatar = 'img/noicon.jpg'; - $get->profile->avatar = '/'.$get->profile->avatar; - - return $get; - } - - function getCountries () { - $flags = DB::table('nhn_country')->orderBy('id', 'asc')->get(); - $res = array(); - - foreach ($flags as $flag) { - $protocol = isset($_SERVER["HTTPS"]) ? 'https' : 'http'; - - $res[] = array( - 'value' => $flag->nameEng, - 'label' => $flag->name - ); - } - - return $res; - } - - function getGroupName($id) { - return DB::table('usr_perm_module')->join('usr_perm_id', 'usr_perm_id.perm_id', '=', 'usr_perm_module.id')->where('user_id', $id)->get(array('name')); - } - - function getGroupColours() { - return DB::table('usr_perm_module')->select('id', 'colour_m', 'colour_f', 'colour_u')->get(); - } -} diff --git a/app/Http/Controllers/Video/Game.php b/app/Http/Controllers/Video/Game.php index b304aea..21e7a8e 100644 --- a/app/Http/Controllers/Video/Game.php +++ b/app/Http/Controllers/Video/Game.php @@ -3,32 +3,27 @@ namespace App\Http\Controllers\Video; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; -class Game { - private $menu; - private $user; - private $suc; - private $err; +class Game extends Engine { + private $engine; - public function __construct ($m, $u) { - $this->menu = $m; - $this->user = $u; - $this->suc = ''; - $this->err = ''; + public function __construct () { + $this->engine = new Engine; } public function index () { $res = DB::table('vid_game')->get(); - if (!$res) return notfound($this->menu, $this->user, $res); + if (!$res) return view('pages.site.notfound'); $new = DB::table('vid_video')->orderBy('publish_date', 'desc')->limit(8)->get(); $pop = DB::table('vid_video')->orderBy('view', 'desc')->orderBy('publish_date', 'desc')->limit(8)->get(); - return view('pages.site.video.game', ['res' => $res, 'new' => $new, 'pop' => $pop, 'menu' => $this->menu, 'user' => $this->user, 'err' => $this->err, 'suc' => $this->suc]); + return view('pages.site.video.game', ['res' => $res, 'new' => $new, 'pop' => $pop, 'err' => $this->engine->err, 'suc' => $this->engine->suc]); } public function add (Request $r) { - if ($this->user && $this->user->perm['blg_addpost']) { + if ($this->engine->user && $this->engine->user->perm['blg_addpost']) { $err = ''; $res = ''; $frm = array('name' => '', 'slug' => ''); @@ -52,25 +47,25 @@ class Game { } // エラーがあったら、フォームに戻って。なければ、データベースに保存したり、ページ又はポストへ移転して - if (!empty($err)) return view('pages.site.video.game.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + if (!empty($err)) return view('pages.site.video.game.add', ['res' => $res, 'err' => $err, 'frm' => $frm]); else { // できたの? if ($res = DB::table('vid_game')->insert($frm)) return redirect('/video/'.$r->slug); else { // やれやれ… - return view('pages.site.video.game.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + return view('pages.site.video.game.add', ['res' => $res, 'err' => $err, 'frm' => $frm]); } } } - return view('pages.site.video.game.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + return view('pages.site.video.game.add', ['res' => $res, 'err' => $err, 'frm' => $frm]); } - return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.notallowed'); } public function delete (Request $r) { - if ($this->user->perm['blg_delpost']) { + if ($this->engine->user->perm['blg_delpost']) { return DB::table('vid_game')->where('slug', $r->slug)->delete(); } @@ -78,9 +73,9 @@ class Game { } public function edit (Request $r) { - if ($this->user && $this->user->perm['blg_addpost']) { + if ($this->engine->user && $this->engine->user->perm['blg_addpost']) { $frm = DB::table('vid_game')->where('slug', $r->slug)->first(); - if (!$frm) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$frm) return view('pages.site.notfound'); $err = ''; $res = ''; @@ -96,21 +91,21 @@ class Game { if (count($incomplete) > 0) $err = implode('、', $incomplete).'をご入力下さい。'; // エラーがあったら、フォームに戻って。なければ、データベースに保存したり、ページ又はポストへ移転して - if (!empty($err)) return view('pages.site.video.game.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + if (!empty($err)) return view('pages.site.video.game.edit', ['res' => $res, 'err' => $err, 'frm' => $frm]); else { // できたの? if ($res = DB::table('vid_game')->where('slug', $r->slug)->update((array)$frm)) return redirect('/video/'.$r->slug); else { // やれやれ… $err = '編集失敗…'; - return view('pages.site.video.game.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + return view('pages.site.video.game.edit', ['res' => $res, 'err' => $err, 'frm' => $frm]); } } } - return view('pages.site.video.game.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm]); + return view('pages.site.video.game.edit', ['res' => $res, 'err' => $err, 'frm' => $frm]); } - return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.notallowed'); } } diff --git a/app/Http/Controllers/Video/Prayer.php b/app/Http/Controllers/Video/Prayer.php index 25374c6..9cc48e6 100644 --- a/app/Http/Controllers/Video/Prayer.php +++ b/app/Http/Controllers/Video/Prayer.php @@ -2,24 +2,21 @@ namespace App\Http\Controllers\Video; use Illuminate\Support\Facades\DB; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; -class Prayer { - private $menu; - private $cook; - private $user; +class Prayer extends Engine { + private $engine; - public function __construct ($m, $c, $u) { - $this->menu = $m; - $this->cook = $c; - $this->user = $u; + public function __construct () { + $this->engine = new Engine; } public function index ($vid) { $res = DB::table('vid_video')->where('vid', $vid)->first(); - if (!$res) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$res) return view('pages.site.notfound'); $game = DB::table('vid_game')->where('id', $res->game_id)->first(); - if (!$game) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$game) return view('pages.site.notfound'); $res->publish_date = date('Y月m月d日', $res->publish_date); $res->gametitle = explode('】', $res->title); @@ -78,7 +75,7 @@ class Prayer { } } - $res->user = userDetail(null, $this->cook); + $res->user = userDetail(null, (isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : '')); $res->comments['total'] = count($comments); $res->comments['come'] = $comments; $res->comments['total'] += (isset($res->ytcomment['total']) ? $res->ytcomment['total'] : 0); @@ -88,7 +85,7 @@ class Prayer { DB::table('vid_video')->where('vid', $vid)->update(['view' => $res->view+1]); - return view('pages.site.video.prayer', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.video.prayer', ['res' => $res, 'user' => $this->user]); } function getKeroCome ($slug, $tslug) { @@ -210,7 +207,8 @@ class Prayer { function backupYTComment ($slug, $com) { foreach ($com['come'] as $c) { $icon = substr($c->icon, 0, strpos($c->icon, "=")); - $icon = str_replace('https://yt3.ggpht.com/ytc/', '', $icon).'.jpg'; + $icon = str_replace('https://yt3.ggpht.com/', '', $icon).'.jpg'; + $icon = str_replace('ytc/', '', $icon).'.jpg'; if ($icon != '.jpg') { $isicon = array_diff(scandir(dirname(__DIR__, 4).'/storage/app/public/yt_icon'), array('..', '.')); if (!in_array($icon, $isicon)) passthru('wget -O '.dirname(__DIR__, 4).'/storage/app/public/yt_icon/'.$icon.' '.$c->icon); @@ -220,7 +218,8 @@ class Prayer { if (isset($c->replies)) { foreach ($c->replies as $i => $r) { $icon = substr($r['icon'], 0, strpos($r['icon'], "=")); - $icon = str_replace('https://yt3.ggpht.com/ytc/', '', $icon).'.jpg'; + $icon = str_replace('https://yt3.ggpht.com/', '', $icon).'.jpg'; + $icon = str_replace('ytc/', '', $icon).'.jpg'; if ($icon != '.jpg') { $isicon = array_diff(scandir(dirname(__DIR__, 4).'/storage/app/public/yt_icon'), array('..', '.')); if (!in_array($icon, $isicon)) passthru('wget -O '.dirname(__DIR__, 4).'/storage/app/public/yt_icon/'.$icon.' '.$r['icon']); diff --git a/app/Http/Controllers/Video/VideoTable.php b/app/Http/Controllers/Video/VideoTable.php index d8972e4..b301be2 100644 --- a/app/Http/Controllers/Video/VideoTable.php +++ b/app/Http/Controllers/Video/VideoTable.php @@ -3,22 +3,21 @@ namespace App\Http\Controllers\Video; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; +use App\Http\Controllers\Engine; // use Illuminate\Support\Facades\Log; -class VideoTable { - private $menu; - private $user; +class VideoTable extends Engine { + private $engine; - public function __construct ($m, $u) { - $this->menu = $m; - $this->user = $u; + public function __construct () { + $this->engine = new Engine; } public function index ($slug) { $slg = DB::table('vid_game')->select('id', 'name')->where('slug', $slug)->first(); - if (!$slg) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$slg) return view('pages.site.notfound'); $res = DB::table('vid_video')->where('game_id', $slg->id)->orderBy('publish_date', 'desc')->get(); - if (!$res) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); + if (!$res) return view('pages.site.notfound'); foreach ($res as $r) { $r->publish_date = date('Y月m月d日', $r->publish_date); @@ -30,18 +29,17 @@ class VideoTable { if ($r->gametitle == '') $r->gametitle = '初代'; } - return view('pages.site.video.videotable', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.video.videotable', ['res' => $res]); } public function add (Request $r) { - if ($this->user && $this->user->perm['blg_addpost']) { + if ($this->engine->user && $this->engine->user->perm['blg_addpost']) { $game = DB::table('vid_game')->get(); - $err = ''; $res = ''; $frm = array('title' => '', 'vid' => '', 'game_id' => '', 'thumbnail' => '', 'url' => '', 'youtube' => '', 'nicovideo' => '', 'bitchute' => '', 'odysee' => '', 'kerotube' => ''); if (isset($r->submit)) { - if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->odysee == '' && $r->kerotube == '') $err = '1以上の動画URLをご入力下さい。'; } + if (empty($this->engine->err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->odysee == '' && $r->kerotube == '') $this->engine->err = '1以上の動画URLをご入力下さい。'; } // フォームの値を保存して $frm['title'] = $r->title; @@ -59,39 +57,39 @@ class VideoTable { // 件名、文章又はスラッグがなければ、エラーを出て $verify = array('件名' => $r->title, 'スラッグ' => $r->vid); $incomplete = array(); - if (empty($err)) { + if (empty($this->engine->err)) { foreach ($verify as $k => $v) { if (is_null($v) || empty($v) || !isset($v)) $incomplete[] = $k; } - if (count($incomplete) > 0) $err = implode('、', $incomplete).'をご入力下さい。'; + if (count($incomplete) > 0) $this->engine->err = implode('、', $incomplete).'をご入力下さい。'; } - if (empty($err)) { if ($r->game_id == 0) $err = 'ゲームをご選択下さい。'; } + if (empty($this->engine->err)) { if ($r->game_id == 0) $this->engine->err = 'ゲームをご選択下さい。'; } // スラッグが既に存在したら、エラーを出て - if (empty($err)) { + if (empty($this->engine->err)) { $sl = DB::table('vid_video')->select('vid')->where('vid', $r->vid)->first(); - if ($sl && $sl->vid == $r->vid) $err = 'このスラッグがもう存在しています。'; + if ($sl && $sl->vid == $r->vid) $this->engine->err = 'このスラッグがもう存在しています。'; } // エラーがあったら、フォームに戻って。なければ、データベースに保存したり、ページ又はポストへ移転して - if (!empty($err)) return view('pages.site.video.play.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm, 'game' => $game]); + if (!empty($this->engine->err)) return view('pages.site.video.play.add', ['res' => $res, 'err' => $this->engine->err, 'frm' => $frm, 'game' => $game]); else { // できたの? if ($res = DB::table('vid_video')->insert($frm)) return redirect('/video/play/'.$r->vid); else { // やれやれ… - return view('pages.site.video.play.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm, 'game' => $game]); + return view('pages.site.video.play.add', ['res' => $res, 'err' => $this->engine->err, 'frm' => $frm, 'game' => $game]); } } } - return view('pages.site.video.play.add', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm, 'game' => $game]); + return view('pages.site.video.play.add', ['res' => $res, 'err' => $this->engine->err, 'frm' => $frm, 'game' => $game]); } - return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.notallowed'); } public function delete (Request $r) { - if ($this->user->perm['blg_delpost']) { + if ($this->engine->user->perm['blg_delpost']) { $get = DB::table('vid_video')->select('game_id')->where('vid', $r->slug)->first(); $red = DB::table('vid_game')->select('slug')->where('id', $get->game_id)->first(); DB::table('vid_video')->where('vid', $r->slug)->delete(); @@ -102,15 +100,14 @@ class VideoTable { } public function edit (Request $r) { - if ($this->user && $this->user->perm['blg_addpost']) { + if ($this->engine->user && $this->engine->user->perm['blg_addpost']) { $game = DB::table('vid_game')->get(); $frm = DB::table('vid_video')->where('vid', $r->vid)->first(); - if (!$frm) return view('pages.site.notfound', ['menu' => $this->menu, 'user' => $this->user]); - $err = ''; + if (!$frm) return view('pages.site.notfound'); $res = ''; if (isset($r->submit)) { - if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->odysee == '' && $r->kerotube) $err = '1以上の動画URLをご入力下さい。'; } + if (empty($this->engine->err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->odysee == '' && $r->kerotube) $this->engine->err = '1以上の動画URLをご入力下さい。'; } // フォームの値を保存して $frm->title = $r->title; @@ -127,28 +124,28 @@ class VideoTable { // 件名、文章又はスラッグがなければ、エラーを出て $verify = array('件名' => $r->title, 'スラッグ' => $r->vid); $incomplete = array(); - if (empty($err)) { + if (empty($this->engine->err)) { foreach ($verify as $k => $v) { if (is_null($v) || empty($v) || !isset($v)) $incomplete[] = $k; } - if (count($incomplete) > 0) $err = implode('、', $incomplete).'をご入力下さい。'; + if (count($incomplete) > 0) $this->engine->err = implode('、', $incomplete).'をご入力下さい。'; } - if (empty($err)) { if ($r->game_id == 0) $err = 'ゲームをご選択下さい。'; } + if (empty($this->engine->err)) { if ($r->game_id == 0) $this->engine->err = 'ゲームをご選択下さい。'; } // エラーがあったら、フォームに戻って。なければ、データベースに保存したり、ページ又はポストへ移転して - if (!empty($err)) return view('pages.site.video.play.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm, 'game' => $game]); + if (!empty($this->engine->err)) return view('pages.site.video.play.edit', ['res' => $res, 'err' => $this->engine->err, 'frm' => $frm, 'game' => $game]); else { // できたの? if ($res = DB::table('vid_video')->where('vid', $r->vid)->update((array)$frm)) return redirect('/video/play/'.$r->vid); else { // やれやれ… - return view('pages.site.video.play.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm, 'game' => $game]); + return view('pages.site.video.play.edit', ['res' => $res, 'err' => $this->engine->err, 'frm' => $frm, 'game' => $game]); } } } - return view('pages.site.video.play.edit', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user, 'err' => $err, 'frm' => $frm, 'game' => $game]); + return view('pages.site.video.play.edit', ['res' => $res, 'err' => $this->engine->err, 'frm' => $frm, 'game' => $game]); } - return view('pages.site.notallowed', ['menu' => $this->menu, 'user' => $this->user]); + return view('pages.site.notallowed'); } } diff --git a/app/Http/Controllers/VideoController.php b/app/Http/Controllers/VideoController.php deleted file mode 100644 index 9973b64..0000000 --- a/app/Http/Controllers/VideoController.php +++ /dev/null @@ -1,75 +0,0 @@ -setLocale($_COOKIE['language']); - - $this->objUser = new UserController(); - $this->menu = getPagesInMenu(); - $this->cook = (isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : ''); - $this->id = checkLegit($this->cook); - $this->user = $this->objUser->getLoggedUser($this->id, $this->cook); - } - - public function index () { - $r = new Game($this->menu, $this->user); - return $r->index(); - } - - public function table ($slug) { - $r = new VideoTable($this->menu, $this->user); - return $r->index($slug); - } - - public function prayer ($vid) { - $r = new Prayer($this->menu, $this->cook, $this->user); - return $r->index($vid); - } - - public function addGame (Request $rr) { - $r = new Game($this->menu, $this->user); - return $r->add($rr); - } - - public function delGame (Request $rr) { - $r = new Game($this->menu, $this->user); - return $r->delete($rr); - } - - public function editGame (Request $rr) { - $r = new Game($this->menu, $this->user); - return $r->edit($rr); - } - - public function addVideo (Request $rr) { - $r = new VideoTable($this->menu, $this->user); - return $r->add($rr); - } - - public function delVideo (Request $rr) { - $r = new VideoTable($this->menu, $this->user); - return $r->delete($rr); - } - - public function editVideo (Request $rr) { - $r = new VideoTable($this->menu, $this->user); - return $r->edit($rr); - } -} diff --git a/app/User.php b/app/User.php deleted file mode 100644 index e79dab7..0000000 --- a/app/User.php +++ /dev/null @@ -1,39 +0,0 @@ - 'datetime', - ]; -} diff --git a/app/helpers.php b/app/helpers.php index ac0002c..c956c47 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -16,6 +16,25 @@ function getPagesInMenu () { return $res; } +function getCss () { + $engine = new \App\Http\Controllers\Engine; + return $engine->css; +} + +function getPerms () { + $engine = new \App\Http\Controllers\Engine; + return $engine->getPermissions((isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : '')); +} + +function getUser () { + $engine = new \App\Http\Controllers\Engine; + return $engine->user; +} + +function getGroupColours () { + return DB::table('usr_perm_module')->select('id', 'colour_m', 'colour_f', 'colour_u')->get()->toArray(); +} + function getIp () { if (!empty($_SERVER['HTTP_CLIENT_IP'])) $ip = $_SERVER['HTTP_CLIENT_IP']; elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; @@ -63,4 +82,32 @@ function userDetail ($id, $kero=null) { return new \stdClass(); } +function getCountries () { + $flags = DB::table('nhn_country')->orderBy('id', 'asc')->get(); + $res = array(); + + foreach ($flags as $flag) { + $protocol = isset($_SERVER["HTTPS"]) ? 'https' : 'http'; + + $res[] = array( + 'value' => $flag->nameEng, + 'label' => $flag->name + ); + } + + return $res; +} + +function makeToken () { + $c = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$!%&()'; + $clen = strlen($c); + $token = ''; + + for ($i = 0; $i < 128; $i++) { + $token .= $c[rand(0, $clen - 1)]; + } + + return $token; +} + ?> diff --git a/resources/sass/_variables.scss b/public/css/_variables.scss similarity index 100% rename from resources/sass/_variables.scss rename to public/css/_variables.scss diff --git a/resources/sass/_variables_f.scss b/public/css/_variables_f.scss similarity index 100% rename from resources/sass/_variables_f.scss rename to public/css/_variables_f.scss diff --git a/resources/sass/_variables_m.scss b/public/css/_variables_m.scss similarity index 100% rename from resources/sass/_variables_m.scss rename to public/css/_variables_m.scss diff --git a/public/css/app.css b/public/css/app.css new file mode 100644 index 0000000..8b1e722 --- /dev/null +++ b/public/css/app.css @@ -0,0 +1,19 @@ +#app { + font-family: monospace; + font-size: large; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-align: left; + margin-top: 48px; + margin-left: 0px; +} + +body { + font-family: 'jpserriffont'; + text-align: center; + color: #fcfcfc; + background-color: #232629; +} + +a { color: #b16cce; } +a:hover { color: #cb81ea; } \ No newline at end of file diff --git a/public/css/app_f.css b/public/css/app_f.css new file mode 100644 index 0000000..9280ba3 --- /dev/null +++ b/public/css/app_f.css @@ -0,0 +1,2 @@ +a { color: #f31de8; } +a:hover { color: #e93de9; } \ No newline at end of file diff --git a/public/css/app_m.css b/public/css/app_m.css new file mode 100644 index 0000000..beec7d2 --- /dev/null +++ b/public/css/app_m.css @@ -0,0 +1,2 @@ +a { color: #1d99f3; } +a:hover { color: #3daee9; } \ No newline at end of file diff --git a/public/css/badge.css b/public/css/badge.css new file mode 100644 index 0000000..a1f2cbc --- /dev/null +++ b/public/css/badge.css @@ -0,0 +1,3 @@ +.badge-danger { color: #fff; background-color: #dc3545; } +.badge-light { color: #212529; background-color: #f8f9fa; } +.badge { font-size: 100%; } \ No newline at end of file diff --git a/public/css/badge_f.css b/public/css/badge_f.css new file mode 100644 index 0000000..e69de29 diff --git a/public/css/badge_m.css b/public/css/badge_m.css new file mode 100644 index 0000000..e69de29 diff --git a/public/css/bootstrap.css b/public/css/bootstrap.css new file mode 100644 index 0000000..ef399d2 --- /dev/null +++ b/public/css/bootstrap.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.6.0 (https://getbootstrap.com/) + * Copyright 2011-2021 The Bootstrap Authors + * Copyright 2011-2021 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}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,"Noto Sans","Liberation Sans",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:not(:focus-visible){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;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}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}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}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}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;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}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}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[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}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-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}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:"\2014\00A0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.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%;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%}.row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.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%}.row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.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%}.row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.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%}.row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.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%}.row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.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%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#0069d9;border-color:#0062cc;box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{color:#fff;background-color:#5a6268;border-color:#545b62;box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#218838;border-color:#1e7e34;box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#138496;border-color:#117a8b;box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{color:#212529;background-color:#e0a800;border-color:#d39e00;box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c82333;border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{color:#212529;background-color:#e2e6ea;border-color:#dae0e5;box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{color:#fff;background-color:#23272b;border-color:#1d2124;box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:first-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label::after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem;-webkit-print-color-adjust:exact;color-adjust:exact}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;overflow:hidden;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;overflow:hidden;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item,.nav-fill>.nav-link{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:50%/100% 100% no-repeat}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{-ms-flex-negative:0;flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{-ms-flex:1 0 0%;flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;z-index:2;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;line-height:0;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0}a.close.disabled{pointer-events:none}.toast{-ms-flex-preferred-size:350px;flex-basis:350px;max-width:350px;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:50%/100% 100% no-repeat}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:.75s linear infinite spinner-border;animation:.75s linear infinite spinner-border}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:.75s linear infinite spinner-grow;animation:.75s linear infinite spinner-grow}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:""}.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}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.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}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;word-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/public/css/button.css b/public/css/button.css new file mode 100644 index 0000000..9982d92 --- /dev/null +++ b/public/css/button.css @@ -0,0 +1,165 @@ +.btn, btn:hover { + margin: 0 2px; + border: 2px solid; +} + +.btn { + border-left-color: #fcfcfc; + border-top-color: #fcfcfc; +} + +.btn:hover { + border-left-color: #7f8c8d; + border-top-color: #7f8c8d; +} + +.btn-fumei, .btn-fumei.disabled, .btn-fumei:disabled { + background: radial-gradient(ellipse at top, #61237c, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + background-color: #9b59b6; + border-bottom-color: #cb81ea; + border-right-color: #cb81ea; +} + +.btn-fumei:hover { + color: #fcfcfc; + background-color: #61237c; + border-color: transparent; + border-bottom-color: #9b59b6; + border-right-color: #9b59b6; +} + +.btn-fumei-check { + color: #fcfcfc; + background-color: #61237c; + border-color: transparent; + border-bottom-color: #9b59b6; + border-right-color: #9b59b6; + box-shadow: 0px 0px 7px 3px #9b59b6; +} + +.btn-danshi, .btn-danshi.disabled, .btn-danshi:disabled { + background: radial-gradient(ellipse at top, #3daee9, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + background-color: #fcfcfc; + border-bottom-color: #9ed6ff; + border-right-color: #9ed6ff; +} + +.btn-danshi:hover { + color: #fcfcfc; + background-color: #205e7d; + border-color: transparent; + border-bottom-color: #1d99f3; + border-right-color: #1d99f3; +} + +.btn-danshi-check { + color: #fcfcfc; + background-color: #205e7d; + border-color: transparent; + border-bottom-color: #1d99f3; + border-right-color: #1d99f3; + box-shadow: 0px 0px 7px 3px #1d99f3; +} + +.btn-joshi, .btn-joshi.disabled, .btn-joshi:disabled { + background: radial-gradient(ellipse at top, #e93de9, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + background-color: #fcfcfc; + border-bottom-color: #ffe6f9; + border-right-color: #ffe6f9; +} + +.btn-joshi:hover { + color: #fcfcfc; + background-color: #7d2069; + border-color: transparent; + border-bottom-color: #f31de8; + border-right-color: #f31de8; +} + +.btn-joshi-check { + color: #fcfcfc; + background-color: #7d2069; + border-color: transparent; + border-bottom-color: #f31de8; + border-right-color: #f31de8; + box-shadow: 0px 0px 7px 3px #f31de8; +} + +.btn-primary, .btn-primary.disabled, .btn-primary:disabled { + background: radial-gradient(ellipse at top, #cb81ea, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + border-bottom-color: #f1d0ff; + border-right-color: #f1d0ff; +} + +.btn-primary:hover { + color: #fcfcfc; + background-color: #46195a; + border-color: transparent; + border-bottom-color: #b16cce; + border-right-color: #b16cce; +} + +.btn-secondary, .btn-secondary.disabled, .btn-secondary:disabled { + background: radial-gradient(ellipse at top, #7f8c8d, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + border-bottom-color: #d6dfe4; + border-right-color: #d6dfe4; +} + +.btn-secondary:hover { + color: #fcfcfc; + background-color: #495051; + border-color: transparent; + border-bottom-color: #bdc3c7; + border-right-color: #bdc3c7; +} + +.btn-success, .btn-success.disabled, .btn-success:disabled, .alert-success { + background: radial-gradient(ellipse at top, #2ecc71, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + border-bottom-color: #20ec77; + border-right-color: #20ec77; +} + +.btn-success:hover { + color: #fcfcfc; + background-color: #145d33; + border-color: transparent; + border-bottom-color: #27ae60; + border-right-color: #27ae60; +} + +.btn-danger, .btn-danger.disabled, .btn-danger:disabled, .alert-danger { + background: radial-gradient(ellipse at top, #e74c3c, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + border-bottom-color: #f58276; + border-right-color: #f58276; +} + +.btn-danger:hover { + color: #fcfcfc; + background-color: #611e24; + border-color: transparent; + border-bottom-color: #e74c3c; + border-right-color: #e74c3c; +} + + +.btn-warning, .btn-warning.disabled, .btn-warning:disabled, .alert-warning { + background: radial-gradient(ellipse at top, #fdbc4b, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + color: #fcfcfc; + border-bottom-color: #c9ce3b; + border-right-color: #c9ce3b; +} + +.btn-warning:hover { + color: #fcfcfc; + background-color: #f67400; + border-color: transparent; + border-bottom-color: #fdbc4b; + border-right-color: #fdbc4b; +} diff --git a/public/css/button_f.css b/public/css/button_f.css new file mode 100644 index 0000000..64b2979 --- /dev/null +++ b/public/css/button_f.css @@ -0,0 +1,11 @@ +.btn-primary, .btn-primary.disabled, .btn-primary:disabled { + background: radial-gradient(ellipse at top, #e93de9, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + border-bottom-color: #ffe6f9; + border-right-color: #ffe6f9; +} + +.btn-primary:hover { + background-color: #7d2069; + border-bottom-color: #f31de8; + border-right-color: #f31de8; +} \ No newline at end of file diff --git a/public/css/button_m.css b/public/css/button_m.css new file mode 100644 index 0000000..b944594 --- /dev/null +++ b/public/css/button_m.css @@ -0,0 +1,11 @@ +.btn-primary, .btn-primary.disabled, .btn-primary:disabled { + background: radial-gradient(ellipse at top, #3daee9, transparent), radial-gradient(ellipse at bottom, #232629, transparent); + border-bottom-color: #9ed6ff; + border-right-color: #9ed6ff; +} + +.btn-primary:hover { + background-color: #205e7d; + border-bottom-color: #1d99f3; + border-right-color: #1d99f3; +} \ No newline at end of file diff --git a/resources/sass/conponent/_check.scss b/public/css/check.css similarity index 74% rename from resources/sass/conponent/_check.scss rename to public/css/check.css index 4e6442b..5308252 100644 --- a/resources/sass/conponent/_check.scss +++ b/public/css/check.css @@ -1,8 +1,4 @@ .custom-control-input:checked ~ .custom-control-label::before, .custom-radio .custom-control-input:checked ~ .custom-control-label::before, .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before -{ - color: $white1; - background-color: $suwa03; - border-color: $suwa04; -} +{ color: #fcfcfc; background-color: #cb81ea; border-color: #b16cce; } \ No newline at end of file diff --git a/public/css/check_f.css b/public/css/check_f.css new file mode 100644 index 0000000..290f316 --- /dev/null +++ b/public/css/check_f.css @@ -0,0 +1,4 @@ +.custom-control-input:checked ~ .custom-control-label::before, +.custom-radio .custom-control-input:checked ~ .custom-control-label::before, +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before +{ background-color: #e93de9; border-color: #f31de8; } \ No newline at end of file diff --git a/public/css/check_m.css b/public/css/check_m.css new file mode 100644 index 0000000..27e38bb --- /dev/null +++ b/public/css/check_m.css @@ -0,0 +1,4 @@ +.custom-control-input:checked ~ .custom-control-label::before, +.custom-radio .custom-control-input:checked ~ .custom-control-label::before, +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before +{ background-color: #3daee9; border-color: #1d99f3; } \ No newline at end of file diff --git a/public/css/comments.css b/public/css/comments.css new file mode 100644 index 0000000..5b32f04 --- /dev/null +++ b/public/css/comments.css @@ -0,0 +1,5 @@ +.fn { font-size: 16px; font-style: normal; color: #20ec77; } +.comment-meta a { color: #bdc3c7; } +.commentlist p { margin: 0 0 10px; padding: 10px 0 40px 0; font-size: 20px; } +.commentnumber { float: left; margin-right: 5px; font-size: 16px; } +ul { list-style: none; } \ No newline at end of file diff --git a/public/css/comments_f.css b/public/css/comments_f.css new file mode 100644 index 0000000..e69de29 diff --git a/public/css/comments_m.css b/public/css/comments_m.css new file mode 100644 index 0000000..e69de29 diff --git a/public/css/contents.css b/public/css/contents.css new file mode 100644 index 0000000..cf4573b --- /dev/null +++ b/public/css/contents.css @@ -0,0 +1,42 @@ +.bar { background: linear-gradient(to bottom, #57229c 0%, #6b4386 34%, #2d1a46 100%); } +.bara { background: linear-gradient(180deg, #a05ebd 0, #e4b4f8 34%, #51047d 100%); } +.bar, .bara, .barm { + text-align: center; + color: #fcfcfc; + padding: 5px; + font-size: 20px; + border-bottom: solid 2px #cb81ea; + cursor: pointer; + transition: background 0.3s, color 0.3s; +} +.barm { background: linear-gradient(180deg, #313639 0, #4d4d4d 34%, #232629 100%); border-bottom: solid 2px #fcfcfc; font-size: 24px; cursor: default; font-weight: bolder; } +.bar > a { color: #fcfcfc; } +.bar > a:hover { text-decoration: none; } +.bar:hover { color: #fcfcfc; background: linear-gradient(to bottom, #6c29b9 0%, #916ead 34%, #5d2b8b 100%); } +.indexborder { border: 2px solid #cb81ea; box-shadow: 0px 0px 7px 3px #b16cce; padding: 8px; background-color: #232629; } +.meta { padding: 5px; text-align: left; background-color: #341242; border-bottom: solid 2px #cb81ea; } +.comment { border-top: solid 2px #cb81ea; } +.back, .comment { padding: 4px; background-color: #31363b; text-align: left; } +.commentloop { padding: 10px 4px 40px 4px; } +.commentloop > .name { color: #11d116; } +.within { margin: 0 auto; border: 2px solid #cb81ea; box-shadow: 0px 0px 7px 3px #b16cce; } +.wny { border: solid 2px #ed1515; box-shadow: 0px 0px 20px 10px #ff3636; } +.bny, .cny { background-color: #da4453; border-bottom: solid 2px #ed1515; } +.mny { background-color: #c0392b; border-bottom: solid 2px #ed1515; } +.kero-section { + width: 100%; + font-size: 150%; + font-weight: bolder; + text-align: center; + padding: 4px; + margin: 8px 0; + background: linear-gradient(to bottom, #cb81ea 0%, #57229c 34%, #d898f3 100%); + color: #fcfcfc; + border-bottom-color: #f1d0ff; + border-right-color: #f1d0ff; + border-bottom-color: #f1d0ff; + border-right-color: #f1d0ff; + border-width: 1px; + border-radius: 25px; + cursor: default; +} \ No newline at end of file diff --git a/public/css/contents_f.css b/public/css/contents_f.css new file mode 100644 index 0000000..f44d5da --- /dev/null +++ b/public/css/contents_f.css @@ -0,0 +1,9 @@ +.bar { background: linear-gradient(to bottom, #9c2296 0%, #864386 34%, #421a46 100%); } +.bara { background: linear-gradient(180deg, #ea00ff 0, #e599e5 34%, #7d0469 100%); } +.bar, .bara { border-bottom: solid 2px #e93de9; } +.bar:hover { background: linear-gradient(to bottom, #b929ad 0%, #ad6ea8 34%, #832b8b 100%); } +.indexborder { border: 2px solid #e93de9; box-shadow: 0px 0px 7px 3px #f31de8; } +.meta { background-color: #502c50; border-bottom: solid 2px #e93de9; } +.comment { border-top: solid 2px #e93de9; } +.within { border: 2px solid #e93de9; box-shadow: 0px 0px 7px 3px #f31de8; } +.kero-section { background: linear-gradient(to bottom, #e93de9 0%, #9c2296 34%, #ea81e8 100%); border-bottom-color: #ffe6f9; border-right-color: #ffe6f9; border-bottom-color: #ffe6f9; border-right-color: #ffe6f9; } \ No newline at end of file diff --git a/public/css/contents_m.css b/public/css/contents_m.css new file mode 100644 index 0000000..f67e00b --- /dev/null +++ b/public/css/contents_m.css @@ -0,0 +1,9 @@ +.bar { background: linear-gradient(to bottom, #22699c 0%, #436a86 34%, #1a3746 100%); } +.bara { background: linear-gradient(180deg, #0094ff 0, #8bb6d6 34%, #04547d 100%); } +.bar, .bara { border-bottom: solid 2px #3daee9; } +.bar:hover { background: linear-gradient(to bottom, #2980b9 0%, #6e93ad 34%, #2b6b8b 100%); } +.indexborder { border: 2px solid #3daee9; box-shadow: 0px 0px 7px 3px #1d99f3; } +.meta { background-color: #2c3e50; border-bottom: solid 2px #3daee9; } +.comment { border-top: solid 2px #3daee9; } +.within { border: 2px solid #3daee9; box-shadow: 0px 0px 7px 3px #1d99f3; } +.kero-section { background: linear-gradient(to bottom, #3daee9 0%, #22699c 34%, #6ec0fb 100%); border-bottom-color: #9ed6ff; border-right-color: #9ed6ff; border-bottom-color: #9ed6ff; border-right-color: #9ed6ff; } \ No newline at end of file diff --git a/public/css/form.css b/public/css/form.css new file mode 100644 index 0000000..4a3b249 --- /dev/null +++ b/public/css/form.css @@ -0,0 +1,4 @@ +.form-control, .form-control:focus { background-color: #232629; color: #fcfcfc; } +.form-control { border: 1px solid #220a2c; } +.form-control:focus { border: 1px solid #cb81ea; } +.form-control:disabled, .form-control[readonly] { background-color: #232629; } \ No newline at end of file diff --git a/public/css/form_f.css b/public/css/form_f.css new file mode 100644 index 0000000..a04d7db --- /dev/null +++ b/public/css/form_f.css @@ -0,0 +1,2 @@ +.form-control { border: 1px solid #5e345c; } +.form-control:focus { border: 1px solid #e93de9; } \ No newline at end of file diff --git a/public/css/form_m.css b/public/css/form_m.css new file mode 100644 index 0000000..8552142 --- /dev/null +++ b/public/css/form_m.css @@ -0,0 +1,2 @@ +.form-control { border: 1px solid #34495e; } +.form-control:focus { border: 1px solid #3daee9; } \ No newline at end of file diff --git a/public/css/jpserriffont.css b/public/css/jpserriffont.css new file mode 100644 index 0000000..f314479 --- /dev/null +++ b/public/css/jpserriffont.css @@ -0,0 +1,9 @@ +@font-face { + font-family: "jpserriffont"; + font-style: normal; + font-weight: 400; + src: url(/fonts/jpserriffont.woff?7c80edebf55afde76b91a29eb69e6e21); + font-display: swap; +} + +body { font-family: jpserriffont; } \ No newline at end of file diff --git a/public/css/jpserriffont_f.css b/public/css/jpserriffont_f.css new file mode 100644 index 0000000..e69de29 diff --git a/public/css/jpserriffont_m.css b/public/css/jpserriffont_m.css new file mode 100644 index 0000000..e69de29 diff --git a/public/css/logo.css b/public/css/logo.css new file mode 100644 index 0000000..34fb106 --- /dev/null +++ b/public/css/logo.css @@ -0,0 +1,41 @@ +.logo-img { border: 2px solid #cb81ea; box-shadow: 0 0 7px 3px #b16cce; } +.logo-sns { transition: background 0.3s, color 0.3s; background-color: #31363b; border: 1px solid #eff0f1; padding: 8px; margin: 4px 10px; } +.logo-sns:hover { background-color: #eff0f1; border: 1px solid #31363b; } +.logo-play { transition: background 0.3s, color 0.3s; background-color: transparent; border-radius: 25%; padding: 2px; } +.logo-play:hover { background-color: #ff3636; } +.logo-br { padding: 8px; } + +@-webkit-keyframes sitenamehover { + 0% { text-shadow: -4px -4px 0 #b16cce, -4px -3px 0 #b16cce, -4px -2px 0 #b16cce, -4px -1px 0 #b16cce, -4px 0px 0 #b16cce, -4px 1px 0 #b16cce, -4px 2px 0 #b16cce, -4px 3px 0 #b16cce, -4px 4px 0 #b16cce, -3px -4px 0 #b16cce, -3px -3px 0 #b16cce, -3px -2px 0 #b16cce, -3px -1px 0 #b16cce, -3px 0px 0 #b16cce, -3px 1px 0 #b16cce, -3px 2px 0 #b16cce, -3px 3px 0 #b16cce, -3px 4px 0 #b16cce, -2px -4px 0 #b16cce, -2px -3px 0 #b16cce, -2px -2px 0 #b16cce, -2px -1px 0 #b16cce, -2px 0px 0 #b16cce, -2px 1px 0 #b16cce, -2px 2px 0 #b16cce, -2px 3px 0 #b16cce, -2px 4px 0 #b16cce, -1px -4px 0 #b16cce, -1px -3px 0 #b16cce, -1px -2px 0 #b16cce, -1px -1px 0 #b16cce, -1px 0px 0 #b16cce, -1px 1px 0 #b16cce, -1px 2px 0 #b16cce, -1px 3px 0 #b16cce, -1px 4px 0 #b16cce, 0px -4px 0 #b16cce, 0px -3px 0 #b16cce, 0px -2px 0 #b16cce, 0px -1px 0 #b16cce, 0px 0px 0 #b16cce, 0px 1px 0 #b16cce, 0px 2px 0 #b16cce, 0px 3px 0 #b16cce, 0px 4px 0 #b16cce, 1px -4px 0 #b16cce, 1px -3px 0 #b16cce, 1px -2px 0 #b16cce, 1px -1px 0 #b16cce, 1px 0px 0 #b16cce, 1px 1px 0 #b16cce, 1px 2px 0 #b16cce, 1px 3px 0 #b16cce, 1px 4px 0 #b16cce, 2px -4px 0 #b16cce, 2px -3px 0 #b16cce, 2px -2px 0 #b16cce, 2px -1px 0 #b16cce, 2px 0px 0 #b16cce, 2px 1px 0 #b16cce, 2px 2px 0 #b16cce, 2px 3px 0 #b16cce, 2px 4px 0 #b16cce, 3px -4px 0 #b16cce, 3px -3px 0 #b16cce, 3px -2px 0 #b16cce, 3px -1px 0 #b16cce, 3px 0px 0 #b16cce, 3px 1px 0 #b16cce, 3px 2px 0 #b16cce, 3px 3px 0 #b16cce, 3px 4px 0 #b16cce, 4px -4px 0 #b16cce, 4px -3px 0 #b16cce, 4px -2px 0 #b16cce, 4px -1px 0 #b16cce, 4px 0px 0 #b16cce, 4px 1px 0 #b16cce, 4px 2px 0 #b16cce, 4px 3px 0 #b16cce, 4px 4px 0 #b16cce; } + 25% { text-shadow: -4px -4px 0 #cb81ea, -4px -3px 0 #cb81ea, -4px -2px 0 #cb81ea, -4px -1px 0 #cb81ea, -4px 0px 0 #cb81ea, -4px 1px 0 #cb81ea, -4px 2px 0 #cb81ea, -4px 3px 0 #cb81ea, -4px 4px 0 #cb81ea, -3px -4px 0 #cb81ea, -3px -3px 0 #cb81ea, -3px -2px 0 #cb81ea, -3px -1px 0 #cb81ea, -3px 0px 0 #cb81ea, -3px 1px 0 #cb81ea, -3px 2px 0 #cb81ea, -3px 3px 0 #cb81ea, -3px 4px 0 #cb81ea, -2px -4px 0 #cb81ea, -2px -3px 0 #cb81ea, -2px -2px 0 #cb81ea, -2px -1px 0 #cb81ea, -2px 0px 0 #cb81ea, -2px 1px 0 #cb81ea, -2px 2px 0 #cb81ea, -2px 3px 0 #cb81ea, -2px 4px 0 #cb81ea, -1px -4px 0 #cb81ea, -1px -3px 0 #cb81ea, -1px -2px 0 #cb81ea, -1px -1px 0 #cb81ea, -1px 0px 0 #cb81ea, -1px 1px 0 #cb81ea, -1px 2px 0 #cb81ea, -1px 3px 0 #cb81ea, -1px 4px 0 #cb81ea, 0px -4px 0 #cb81ea, 0px -3px 0 #cb81ea, 0px -2px 0 #cb81ea, 0px -1px 0 #cb81ea, 0px 0px 0 #cb81ea, 0px 1px 0 #cb81ea, 0px 2px 0 #cb81ea, 0px 3px 0 #cb81ea, 0px 4px 0 #cb81ea, 1px -4px 0 #cb81ea, 1px -3px 0 #cb81ea, 1px -2px 0 #cb81ea, 1px -1px 0 #cb81ea, 1px 0px 0 #cb81ea, 1px 1px 0 #cb81ea, 1px 2px 0 #cb81ea, 1px 3px 0 #cb81ea, 1px 4px 0 #cb81ea, 2px -4px 0 #cb81ea, 2px -3px 0 #cb81ea, 2px -2px 0 #cb81ea, 2px -1px 0 #cb81ea, 2px 0px 0 #cb81ea, 2px 1px 0 #cb81ea, 2px 2px 0 #cb81ea, 2px 3px 0 #cb81ea, 2px 4px 0 #cb81ea, 3px -4px 0 #cb81ea, 3px -3px 0 #cb81ea, 3px -2px 0 #cb81ea, 3px -1px 0 #cb81ea, 3px 0px 0 #cb81ea, 3px 1px 0 #cb81ea, 3px 2px 0 #cb81ea, 3px 3px 0 #cb81ea, 3px 4px 0 #cb81ea, 4px -4px 0 #cb81ea, 4px -3px 0 #cb81ea, 4px -2px 0 #cb81ea, 4px -1px 0 #cb81ea, 4px 0px 0 #cb81ea, 4px 1px 0 #cb81ea, 4px 2px 0 #cb81ea, 4px 3px 0 #cb81ea, 4px 4px 0 #cb81ea; } + 50% { text-shadow: -4px -4px 0 #f1d0ff, -4px -3px 0 #f1d0ff, -4px -2px 0 #f1d0ff, -4px -1px 0 #f1d0ff, -4px 0px 0 #f1d0ff, -4px 1px 0 #f1d0ff, -4px 2px 0 #f1d0ff, -4px 3px 0 #f1d0ff, -4px 4px 0 #f1d0ff, -3px -4px 0 #f1d0ff, -3px -3px 0 #f1d0ff, -3px -2px 0 #f1d0ff, -3px -1px 0 #f1d0ff, -3px 0px 0 #f1d0ff, -3px 1px 0 #f1d0ff, -3px 2px 0 #f1d0ff, -3px 3px 0 #f1d0ff, -3px 4px 0 #f1d0ff, -2px -4px 0 #f1d0ff, -2px -3px 0 #f1d0ff, -2px -2px 0 #f1d0ff, -2px -1px 0 #f1d0ff, -2px 0px 0 #f1d0ff, -2px 1px 0 #f1d0ff, -2px 2px 0 #f1d0ff, -2px 3px 0 #f1d0ff, -2px 4px 0 #f1d0ff, -1px -4px 0 #f1d0ff, -1px -3px 0 #f1d0ff, -1px -2px 0 #f1d0ff, -1px -1px 0 #f1d0ff, -1px 0px 0 #f1d0ff, -1px 1px 0 #f1d0ff, -1px 2px 0 #f1d0ff, -1px 3px 0 #f1d0ff, -1px 4px 0 #f1d0ff, 0px -4px 0 #f1d0ff, 0px -3px 0 #f1d0ff, 0px -2px 0 #f1d0ff, 0px -1px 0 #f1d0ff, 0px 0px 0 #f1d0ff, 0px 1px 0 #f1d0ff, 0px 2px 0 #f1d0ff, 0px 3px 0 #f1d0ff, 0px 4px 0 #f1d0ff, 1px -4px 0 #f1d0ff, 1px -3px 0 #f1d0ff, 1px -2px 0 #f1d0ff, 1px -1px 0 #f1d0ff, 1px 0px 0 #f1d0ff, 1px 1px 0 #f1d0ff, 1px 2px 0 #f1d0ff, 1px 3px 0 #f1d0ff, 1px 4px 0 #f1d0ff, 2px -4px 0 #f1d0ff, 2px -3px 0 #f1d0ff, 2px -2px 0 #f1d0ff, 2px -1px 0 #f1d0ff, 2px 0px 0 #f1d0ff, 2px 1px 0 #f1d0ff, 2px 2px 0 #f1d0ff, 2px 3px 0 #f1d0ff, 2px 4px 0 #f1d0ff, 3px -4px 0 #f1d0ff, 3px -3px 0 #f1d0ff, 3px -2px 0 #f1d0ff, 3px -1px 0 #f1d0ff, 3px 0px 0 #f1d0ff, 3px 1px 0 #f1d0ff, 3px 2px 0 #f1d0ff, 3px 3px 0 #f1d0ff, 3px 4px 0 #f1d0ff, 4px -4px 0 #f1d0ff, 4px -3px 0 #f1d0ff, 4px -2px 0 #f1d0ff, 4px -1px 0 #f1d0ff, 4px 0px 0 #f1d0ff, 4px 1px 0 #f1d0ff, 4px 2px 0 #f1d0ff, 4px 3px 0 #f1d0ff, 4px 4px 0 #f1d0ff; } + 75% { text-shadow: -4px -4px 0 #cb81ea, -4px -3px 0 #cb81ea, -4px -2px 0 #cb81ea, -4px -1px 0 #cb81ea, -4px 0px 0 #cb81ea, -4px 1px 0 #cb81ea, -4px 2px 0 #cb81ea, -4px 3px 0 #cb81ea, -4px 4px 0 #cb81ea, -3px -4px 0 #cb81ea, -3px -3px 0 #cb81ea, -3px -2px 0 #cb81ea, -3px -1px 0 #cb81ea, -3px 0px 0 #cb81ea, -3px 1px 0 #cb81ea, -3px 2px 0 #cb81ea, -3px 3px 0 #cb81ea, -3px 4px 0 #cb81ea, -2px -4px 0 #cb81ea, -2px -3px 0 #cb81ea, -2px -2px 0 #cb81ea, -2px -1px 0 #cb81ea, -2px 0px 0 #cb81ea, -2px 1px 0 #cb81ea, -2px 2px 0 #cb81ea, -2px 3px 0 #cb81ea, -2px 4px 0 #cb81ea, -1px -4px 0 #cb81ea, -1px -3px 0 #cb81ea, -1px -2px 0 #cb81ea, -1px -1px 0 #cb81ea, -1px 0px 0 #cb81ea, -1px 1px 0 #cb81ea, -1px 2px 0 #cb81ea, -1px 3px 0 #cb81ea, -1px 4px 0 #cb81ea, 0px -4px 0 #cb81ea, 0px -3px 0 #cb81ea, 0px -2px 0 #cb81ea, 0px -1px 0 #cb81ea, 0px 0px 0 #cb81ea, 0px 1px 0 #cb81ea, 0px 2px 0 #cb81ea, 0px 3px 0 #cb81ea, 0px 4px 0 #cb81ea, 1px -4px 0 #cb81ea, 1px -3px 0 #cb81ea, 1px -2px 0 #cb81ea, 1px -1px 0 #cb81ea, 1px 0px 0 #cb81ea, 1px 1px 0 #cb81ea, 1px 2px 0 #cb81ea, 1px 3px 0 #cb81ea, 1px 4px 0 #cb81ea, 2px -4px 0 #cb81ea, 2px -3px 0 #cb81ea, 2px -2px 0 #cb81ea, 2px -1px 0 #cb81ea, 2px 0px 0 #cb81ea, 2px 1px 0 #cb81ea, 2px 2px 0 #cb81ea, 2px 3px 0 #cb81ea, 2px 4px 0 #cb81ea, 3px -4px 0 #cb81ea, 3px -3px 0 #cb81ea, 3px -2px 0 #cb81ea, 3px -1px 0 #cb81ea, 3px 0px 0 #cb81ea, 3px 1px 0 #cb81ea, 3px 2px 0 #cb81ea, 3px 3px 0 #cb81ea, 3px 4px 0 #cb81ea, 4px -4px 0 #cb81ea, 4px -3px 0 #cb81ea, 4px -2px 0 #cb81ea, 4px -1px 0 #cb81ea, 4px 0px 0 #cb81ea, 4px 1px 0 #cb81ea, 4px 2px 0 #cb81ea, 4px 3px 0 #cb81ea, 4px 4px 0 #cb81ea; } + 100% { text-shadow: -4px -4px 0 #b16cce, -4px -3px 0 #b16cce, -4px -2px 0 #b16cce, -4px -1px 0 #b16cce, -4px 0px 0 #b16cce, -4px 1px 0 #b16cce, -4px 2px 0 #b16cce, -4px 3px 0 #b16cce, -4px 4px 0 #b16cce, -3px -4px 0 #b16cce, -3px -3px 0 #b16cce, -3px -2px 0 #b16cce, -3px -1px 0 #b16cce, -3px 0px 0 #b16cce, -3px 1px 0 #b16cce, -3px 2px 0 #b16cce, -3px 3px 0 #b16cce, -3px 4px 0 #b16cce, -2px -4px 0 #b16cce, -2px -3px 0 #b16cce, -2px -2px 0 #b16cce, -2px -1px 0 #b16cce, -2px 0px 0 #b16cce, -2px 1px 0 #b16cce, -2px 2px 0 #b16cce, -2px 3px 0 #b16cce, -2px 4px 0 #b16cce, -1px -4px 0 #b16cce, -1px -3px 0 #b16cce, -1px -2px 0 #b16cce, -1px -1px 0 #b16cce, -1px 0px 0 #b16cce, -1px 1px 0 #b16cce, -1px 2px 0 #b16cce, -1px 3px 0 #b16cce, -1px 4px 0 #b16cce, 0px -4px 0 #b16cce, 0px -3px 0 #b16cce, 0px -2px 0 #b16cce, 0px -1px 0 #b16cce, 0px 0px 0 #b16cce, 0px 1px 0 #b16cce, 0px 2px 0 #b16cce, 0px 3px 0 #b16cce, 0px 4px 0 #b16cce, 1px -4px 0 #b16cce, 1px -3px 0 #b16cce, 1px -2px 0 #b16cce, 1px -1px 0 #b16cce, 1px 0px 0 #b16cce, 1px 1px 0 #b16cce, 1px 2px 0 #b16cce, 1px 3px 0 #b16cce, 1px 4px 0 #b16cce, 2px -4px 0 #b16cce, 2px -3px 0 #b16cce, 2px -2px 0 #b16cce, 2px -1px 0 #b16cce, 2px 0px 0 #b16cce, 2px 1px 0 #b16cce, 2px 2px 0 #b16cce, 2px 3px 0 #b16cce, 2px 4px 0 #b16cce, 3px -4px 0 #b16cce, 3px -3px 0 #b16cce, 3px -2px 0 #b16cce, 3px -1px 0 #b16cce, 3px 0px 0 #b16cce, 3px 1px 0 #b16cce, 3px 2px 0 #b16cce, 3px 3px 0 #b16cce, 3px 4px 0 #b16cce, 4px -4px 0 #b16cce, 4px -3px 0 #b16cce, 4px -2px 0 #b16cce, 4px -1px 0 #b16cce, 4px 0px 0 #b16cce, 4px 1px 0 #b16cce, 4px 2px 0 #b16cce, 4px 3px 0 #b16cce, 4px 4px 0 #b16cce; } +} + +@keyframes sitenamehover { + 0% { text-shadow: -4px -4px 0 #b16cce, -4px -3px 0 #b16cce, -4px -2px 0 #b16cce, -4px -1px 0 #b16cce, -4px 0px 0 #b16cce, -4px 1px 0 #b16cce, -4px 2px 0 #b16cce, -4px 3px 0 #b16cce, -4px 4px 0 #b16cce, -3px -4px 0 #b16cce, -3px -3px 0 #b16cce, -3px -2px 0 #b16cce, -3px -1px 0 #b16cce, -3px 0px 0 #b16cce, -3px 1px 0 #b16cce, -3px 2px 0 #b16cce, -3px 3px 0 #b16cce, -3px 4px 0 #b16cce, -2px -4px 0 #b16cce, -2px -3px 0 #b16cce, -2px -2px 0 #b16cce, -2px -1px 0 #b16cce, -2px 0px 0 #b16cce, -2px 1px 0 #b16cce, -2px 2px 0 #b16cce, -2px 3px 0 #b16cce, -2px 4px 0 #b16cce, -1px -4px 0 #b16cce, -1px -3px 0 #b16cce, -1px -2px 0 #b16cce, -1px -1px 0 #b16cce, -1px 0px 0 #b16cce, -1px 1px 0 #b16cce, -1px 2px 0 #b16cce, -1px 3px 0 #b16cce, -1px 4px 0 #b16cce, 0px -4px 0 #b16cce, 0px -3px 0 #b16cce, 0px -2px 0 #b16cce, 0px -1px 0 #b16cce, 0px 0px 0 #b16cce, 0px 1px 0 #b16cce, 0px 2px 0 #b16cce, 0px 3px 0 #b16cce, 0px 4px 0 #b16cce, 1px -4px 0 #b16cce, 1px -3px 0 #b16cce, 1px -2px 0 #b16cce, 1px -1px 0 #b16cce, 1px 0px 0 #b16cce, 1px 1px 0 #b16cce, 1px 2px 0 #b16cce, 1px 3px 0 #b16cce, 1px 4px 0 #b16cce, 2px -4px 0 #b16cce, 2px -3px 0 #b16cce, 2px -2px 0 #b16cce, 2px -1px 0 #b16cce, 2px 0px 0 #b16cce, 2px 1px 0 #b16cce, 2px 2px 0 #b16cce, 2px 3px 0 #b16cce, 2px 4px 0 #b16cce, 3px -4px 0 #b16cce, 3px -3px 0 #b16cce, 3px -2px 0 #b16cce, 3px -1px 0 #b16cce, 3px 0px 0 #b16cce, 3px 1px 0 #b16cce, 3px 2px 0 #b16cce, 3px 3px 0 #b16cce, 3px 4px 0 #b16cce, 4px -4px 0 #b16cce, 4px -3px 0 #b16cce, 4px -2px 0 #b16cce, 4px -1px 0 #b16cce, 4px 0px 0 #b16cce, 4px 1px 0 #b16cce, 4px 2px 0 #b16cce, 4px 3px 0 #b16cce, 4px 4px 0 #b16cce; } + 25% { text-shadow: -4px -4px 0 #cb81ea, -4px -3px 0 #cb81ea, -4px -2px 0 #cb81ea, -4px -1px 0 #cb81ea, -4px 0px 0 #cb81ea, -4px 1px 0 #cb81ea, -4px 2px 0 #cb81ea, -4px 3px 0 #cb81ea, -4px 4px 0 #cb81ea, -3px -4px 0 #cb81ea, -3px -3px 0 #cb81ea, -3px -2px 0 #cb81ea, -3px -1px 0 #cb81ea, -3px 0px 0 #cb81ea, -3px 1px 0 #cb81ea, -3px 2px 0 #cb81ea, -3px 3px 0 #cb81ea, -3px 4px 0 #cb81ea, -2px -4px 0 #cb81ea, -2px -3px 0 #cb81ea, -2px -2px 0 #cb81ea, -2px -1px 0 #cb81ea, -2px 0px 0 #cb81ea, -2px 1px 0 #cb81ea, -2px 2px 0 #cb81ea, -2px 3px 0 #cb81ea, -2px 4px 0 #cb81ea, -1px -4px 0 #cb81ea, -1px -3px 0 #cb81ea, -1px -2px 0 #cb81ea, -1px -1px 0 #cb81ea, -1px 0px 0 #cb81ea, -1px 1px 0 #cb81ea, -1px 2px 0 #cb81ea, -1px 3px 0 #cb81ea, -1px 4px 0 #cb81ea, 0px -4px 0 #cb81ea, 0px -3px 0 #cb81ea, 0px -2px 0 #cb81ea, 0px -1px 0 #cb81ea, 0px 0px 0 #cb81ea, 0px 1px 0 #cb81ea, 0px 2px 0 #cb81ea, 0px 3px 0 #cb81ea, 0px 4px 0 #cb81ea, 1px -4px 0 #cb81ea, 1px -3px 0 #cb81ea, 1px -2px 0 #cb81ea, 1px -1px 0 #cb81ea, 1px 0px 0 #cb81ea, 1px 1px 0 #cb81ea, 1px 2px 0 #cb81ea, 1px 3px 0 #cb81ea, 1px 4px 0 #cb81ea, 2px -4px 0 #cb81ea, 2px -3px 0 #cb81ea, 2px -2px 0 #cb81ea, 2px -1px 0 #cb81ea, 2px 0px 0 #cb81ea, 2px 1px 0 #cb81ea, 2px 2px 0 #cb81ea, 2px 3px 0 #cb81ea, 2px 4px 0 #cb81ea, 3px -4px 0 #cb81ea, 3px -3px 0 #cb81ea, 3px -2px 0 #cb81ea, 3px -1px 0 #cb81ea, 3px 0px 0 #cb81ea, 3px 1px 0 #cb81ea, 3px 2px 0 #cb81ea, 3px 3px 0 #cb81ea, 3px 4px 0 #cb81ea, 4px -4px 0 #cb81ea, 4px -3px 0 #cb81ea, 4px -2px 0 #cb81ea, 4px -1px 0 #cb81ea, 4px 0px 0 #cb81ea, 4px 1px 0 #cb81ea, 4px 2px 0 #cb81ea, 4px 3px 0 #cb81ea, 4px 4px 0 #cb81ea; } + 50% { text-shadow: -4px -4px 0 #f1d0ff, -4px -3px 0 #f1d0ff, -4px -2px 0 #f1d0ff, -4px -1px 0 #f1d0ff, -4px 0px 0 #f1d0ff, -4px 1px 0 #f1d0ff, -4px 2px 0 #f1d0ff, -4px 3px 0 #f1d0ff, -4px 4px 0 #f1d0ff, -3px -4px 0 #f1d0ff, -3px -3px 0 #f1d0ff, -3px -2px 0 #f1d0ff, -3px -1px 0 #f1d0ff, -3px 0px 0 #f1d0ff, -3px 1px 0 #f1d0ff, -3px 2px 0 #f1d0ff, -3px 3px 0 #f1d0ff, -3px 4px 0 #f1d0ff, -2px -4px 0 #f1d0ff, -2px -3px 0 #f1d0ff, -2px -2px 0 #f1d0ff, -2px -1px 0 #f1d0ff, -2px 0px 0 #f1d0ff, -2px 1px 0 #f1d0ff, -2px 2px 0 #f1d0ff, -2px 3px 0 #f1d0ff, -2px 4px 0 #f1d0ff, -1px -4px 0 #f1d0ff, -1px -3px 0 #f1d0ff, -1px -2px 0 #f1d0ff, -1px -1px 0 #f1d0ff, -1px 0px 0 #f1d0ff, -1px 1px 0 #f1d0ff, -1px 2px 0 #f1d0ff, -1px 3px 0 #f1d0ff, -1px 4px 0 #f1d0ff, 0px -4px 0 #f1d0ff, 0px -3px 0 #f1d0ff, 0px -2px 0 #f1d0ff, 0px -1px 0 #f1d0ff, 0px 0px 0 #f1d0ff, 0px 1px 0 #f1d0ff, 0px 2px 0 #f1d0ff, 0px 3px 0 #f1d0ff, 0px 4px 0 #f1d0ff, 1px -4px 0 #f1d0ff, 1px -3px 0 #f1d0ff, 1px -2px 0 #f1d0ff, 1px -1px 0 #f1d0ff, 1px 0px 0 #f1d0ff, 1px 1px 0 #f1d0ff, 1px 2px 0 #f1d0ff, 1px 3px 0 #f1d0ff, 1px 4px 0 #f1d0ff, 2px -4px 0 #f1d0ff, 2px -3px 0 #f1d0ff, 2px -2px 0 #f1d0ff, 2px -1px 0 #f1d0ff, 2px 0px 0 #f1d0ff, 2px 1px 0 #f1d0ff, 2px 2px 0 #f1d0ff, 2px 3px 0 #f1d0ff, 2px 4px 0 #f1d0ff, 3px -4px 0 #f1d0ff, 3px -3px 0 #f1d0ff, 3px -2px 0 #f1d0ff, 3px -1px 0 #f1d0ff, 3px 0px 0 #f1d0ff, 3px 1px 0 #f1d0ff, 3px 2px 0 #f1d0ff, 3px 3px 0 #f1d0ff, 3px 4px 0 #f1d0ff, 4px -4px 0 #f1d0ff, 4px -3px 0 #f1d0ff, 4px -2px 0 #f1d0ff, 4px -1px 0 #f1d0ff, 4px 0px 0 #f1d0ff, 4px 1px 0 #f1d0ff, 4px 2px 0 #f1d0ff, 4px 3px 0 #f1d0ff, 4px 4px 0 #f1d0ff; } + 75% { text-shadow: -4px -4px 0 #cb81ea, -4px -3px 0 #cb81ea, -4px -2px 0 #cb81ea, -4px -1px 0 #cb81ea, -4px 0px 0 #cb81ea, -4px 1px 0 #cb81ea, -4px 2px 0 #cb81ea, -4px 3px 0 #cb81ea, -4px 4px 0 #cb81ea, -3px -4px 0 #cb81ea, -3px -3px 0 #cb81ea, -3px -2px 0 #cb81ea, -3px -1px 0 #cb81ea, -3px 0px 0 #cb81ea, -3px 1px 0 #cb81ea, -3px 2px 0 #cb81ea, -3px 3px 0 #cb81ea, -3px 4px 0 #cb81ea, -2px -4px 0 #cb81ea, -2px -3px 0 #cb81ea, -2px -2px 0 #cb81ea, -2px -1px 0 #cb81ea, -2px 0px 0 #cb81ea, -2px 1px 0 #cb81ea, -2px 2px 0 #cb81ea, -2px 3px 0 #cb81ea, -2px 4px 0 #cb81ea, -1px -4px 0 #cb81ea, -1px -3px 0 #cb81ea, -1px -2px 0 #cb81ea, -1px -1px 0 #cb81ea, -1px 0px 0 #cb81ea, -1px 1px 0 #cb81ea, -1px 2px 0 #cb81ea, -1px 3px 0 #cb81ea, -1px 4px 0 #cb81ea, 0px -4px 0 #cb81ea, 0px -3px 0 #cb81ea, 0px -2px 0 #cb81ea, 0px -1px 0 #cb81ea, 0px 0px 0 #cb81ea, 0px 1px 0 #cb81ea, 0px 2px 0 #cb81ea, 0px 3px 0 #cb81ea, 0px 4px 0 #cb81ea, 1px -4px 0 #cb81ea, 1px -3px 0 #cb81ea, 1px -2px 0 #cb81ea, 1px -1px 0 #cb81ea, 1px 0px 0 #cb81ea, 1px 1px 0 #cb81ea, 1px 2px 0 #cb81ea, 1px 3px 0 #cb81ea, 1px 4px 0 #cb81ea, 2px -4px 0 #cb81ea, 2px -3px 0 #cb81ea, 2px -2px 0 #cb81ea, 2px -1px 0 #cb81ea, 2px 0px 0 #cb81ea, 2px 1px 0 #cb81ea, 2px 2px 0 #cb81ea, 2px 3px 0 #cb81ea, 2px 4px 0 #cb81ea, 3px -4px 0 #cb81ea, 3px -3px 0 #cb81ea, 3px -2px 0 #cb81ea, 3px -1px 0 #cb81ea, 3px 0px 0 #cb81ea, 3px 1px 0 #cb81ea, 3px 2px 0 #cb81ea, 3px 3px 0 #cb81ea, 3px 4px 0 #cb81ea, 4px -4px 0 #cb81ea, 4px -3px 0 #cb81ea, 4px -2px 0 #cb81ea, 4px -1px 0 #cb81ea, 4px 0px 0 #cb81ea, 4px 1px 0 #cb81ea, 4px 2px 0 #cb81ea, 4px 3px 0 #cb81ea, 4px 4px 0 #cb81ea; } + 100% { text-shadow: -4px -4px 0 #b16cce, -4px -3px 0 #b16cce, -4px -2px 0 #b16cce, -4px -1px 0 #b16cce, -4px 0px 0 #b16cce, -4px 1px 0 #b16cce, -4px 2px 0 #b16cce, -4px 3px 0 #b16cce, -4px 4px 0 #b16cce, -3px -4px 0 #b16cce, -3px -3px 0 #b16cce, -3px -2px 0 #b16cce, -3px -1px 0 #b16cce, -3px 0px 0 #b16cce, -3px 1px 0 #b16cce, -3px 2px 0 #b16cce, -3px 3px 0 #b16cce, -3px 4px 0 #b16cce, -2px -4px 0 #b16cce, -2px -3px 0 #b16cce, -2px -2px 0 #b16cce, -2px -1px 0 #b16cce, -2px 0px 0 #b16cce, -2px 1px 0 #b16cce, -2px 2px 0 #b16cce, -2px 3px 0 #b16cce, -2px 4px 0 #b16cce, -1px -4px 0 #b16cce, -1px -3px 0 #b16cce, -1px -2px 0 #b16cce, -1px -1px 0 #b16cce, -1px 0px 0 #b16cce, -1px 1px 0 #b16cce, -1px 2px 0 #b16cce, -1px 3px 0 #b16cce, -1px 4px 0 #b16cce, 0px -4px 0 #b16cce, 0px -3px 0 #b16cce, 0px -2px 0 #b16cce, 0px -1px 0 #b16cce, 0px 0px 0 #b16cce, 0px 1px 0 #b16cce, 0px 2px 0 #b16cce, 0px 3px 0 #b16cce, 0px 4px 0 #b16cce, 1px -4px 0 #b16cce, 1px -3px 0 #b16cce, 1px -2px 0 #b16cce, 1px -1px 0 #b16cce, 1px 0px 0 #b16cce, 1px 1px 0 #b16cce, 1px 2px 0 #b16cce, 1px 3px 0 #b16cce, 1px 4px 0 #b16cce, 2px -4px 0 #b16cce, 2px -3px 0 #b16cce, 2px -2px 0 #b16cce, 2px -1px 0 #b16cce, 2px 0px 0 #b16cce, 2px 1px 0 #b16cce, 2px 2px 0 #b16cce, 2px 3px 0 #b16cce, 2px 4px 0 #b16cce, 3px -4px 0 #b16cce, 3px -3px 0 #b16cce, 3px -2px 0 #b16cce, 3px -1px 0 #b16cce, 3px 0px 0 #b16cce, 3px 1px 0 #b16cce, 3px 2px 0 #b16cce, 3px 3px 0 #b16cce, 3px 4px 0 #b16cce, 4px -4px 0 #b16cce, 4px -3px 0 #b16cce, 4px -2px 0 #b16cce, 4px -1px 0 #b16cce, 4px 0px 0 #b16cce, 4px 1px 0 #b16cce, 4px 2px 0 #b16cce, 4px 3px 0 #b16cce, 4px 4px 0 #b16cce; } +} + +.logo-c { + font-size: 64px; + font-weight: bolder; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-shadow: -4px -4px 0 #b16cce, -4px -3px 0 #b16cce, -4px -2px 0 #b16cce, -4px -1px 0 #b16cce, -4px 0px 0 #b16cce, -4px 1px 0 #b16cce, -4px 2px 0 #b16cce, -4px 3px 0 #b16cce, -4px 4px 0 #b16cce, -3px -4px 0 #b16cce, -3px -3px 0 #b16cce, -3px -2px 0 #b16cce, -3px -1px 0 #b16cce, -3px 0px 0 #b16cce, -3px 1px 0 #b16cce, -3px 2px 0 #b16cce, -3px 3px 0 #b16cce, -3px 4px 0 #b16cce, -2px -4px 0 #b16cce, -2px -3px 0 #b16cce, -2px -2px 0 #b16cce, -2px -1px 0 #b16cce, -2px 0px 0 #b16cce, -2px 1px 0 #b16cce, -2px 2px 0 #b16cce, -2px 3px 0 #b16cce, -2px 4px 0 #b16cce, -1px -4px 0 #b16cce, -1px -3px 0 #b16cce, -1px -2px 0 #b16cce, -1px -1px 0 #b16cce, -1px 0px 0 #b16cce, -1px 1px 0 #b16cce, -1px 2px 0 #b16cce, -1px 3px 0 #b16cce, -1px 4px 0 #b16cce, 0px -4px 0 #b16cce, 0px -3px 0 #b16cce, 0px -2px 0 #b16cce, 0px -1px 0 #b16cce, 0px 0px 0 #b16cce, 0px 1px 0 #b16cce, 0px 2px 0 #b16cce, 0px 3px 0 #b16cce, 0px 4px 0 #b16cce, 1px -4px 0 #b16cce, 1px -3px 0 #b16cce, 1px -2px 0 #b16cce, 1px -1px 0 #b16cce, 1px 0px 0 #b16cce, 1px 1px 0 #b16cce, 1px 2px 0 #b16cce, 1px 3px 0 #b16cce, 1px 4px 0 #b16cce, 2px -4px 0 #b16cce, 2px -3px 0 #b16cce, 2px -2px 0 #b16cce, 2px -1px 0 #b16cce, 2px 0px 0 #b16cce, 2px 1px 0 #b16cce, 2px 2px 0 #b16cce, 2px 3px 0 #b16cce, 2px 4px 0 #b16cce, 3px -4px 0 #b16cce, 3px -3px 0 #b16cce, 3px -2px 0 #b16cce, 3px -1px 0 #b16cce, 3px 0px 0 #b16cce, 3px 1px 0 #b16cce, 3px 2px 0 #b16cce, 3px 3px 0 #b16cce, 3px 4px 0 #b16cce, 4px -4px 0 #b16cce, 4px -3px 0 #b16cce, 4px -2px 0 #b16cce, 4px -1px 0 #b16cce, 4px 0px 0 #b16cce, 4px 1px 0 #b16cce, 4px 2px 0 #b16cce, 4px 3px 0 #b16cce, 4px 4px 0 #b16cce; +} + +.logo-c:hover { animation: sitenamehover 2s linear infinite; } + +@media (max-width : 1200px) { + .logo-c { font-size: 32px; } +} +@media (max-width : 968px) { + .logo-c { font-size: 20px; } +} \ No newline at end of file diff --git a/public/css/logo_f.css b/public/css/logo_f.css new file mode 100644 index 0000000..b96aab7 --- /dev/null +++ b/public/css/logo_f.css @@ -0,0 +1,16 @@ +.logo-img { border: 2px solid #e93de9; box-shadow: 0 0 7px 3px #f31de8; } +@-webkit-keyframes sitenamehover { + 0% { text-shadow: -4px -4px 0 #f31de8, -4px -3px 0 #f31de8, -4px -2px 0 #f31de8, -4px -1px 0 #f31de8, -4px 0px 0 #f31de8, -4px 1px 0 #f31de8, -4px 2px 0 #f31de8, -4px 3px 0 #f31de8, -4px 4px 0 #f31de8, -3px -4px 0 #f31de8, -3px -3px 0 #f31de8, -3px -2px 0 #f31de8, -3px -1px 0 #f31de8, -3px 0px 0 #f31de8, -3px 1px 0 #f31de8, -3px 2px 0 #f31de8, -3px 3px 0 #f31de8, -3px 4px 0 #f31de8, -2px -4px 0 #f31de8, -2px -3px 0 #f31de8, -2px -2px 0 #f31de8, -2px -1px 0 #f31de8, -2px 0px 0 #f31de8, -2px 1px 0 #f31de8, -2px 2px 0 #f31de8, -2px 3px 0 #f31de8, -2px 4px 0 #f31de8, -1px -4px 0 #f31de8, -1px -3px 0 #f31de8, -1px -2px 0 #f31de8, -1px -1px 0 #f31de8, -1px 0px 0 #f31de8, -1px 1px 0 #f31de8, -1px 2px 0 #f31de8, -1px 3px 0 #f31de8, -1px 4px 0 #f31de8, 0px -4px 0 #f31de8, 0px -3px 0 #f31de8, 0px -2px 0 #f31de8, 0px -1px 0 #f31de8, 0px 0px 0 #f31de8, 0px 1px 0 #f31de8, 0px 2px 0 #f31de8, 0px 3px 0 #f31de8, 0px 4px 0 #f31de8, 1px -4px 0 #f31de8, 1px -3px 0 #f31de8, 1px -2px 0 #f31de8, 1px -1px 0 #f31de8, 1px 0px 0 #f31de8, 1px 1px 0 #f31de8, 1px 2px 0 #f31de8, 1px 3px 0 #f31de8, 1px 4px 0 #f31de8, 2px -4px 0 #f31de8, 2px -3px 0 #f31de8, 2px -2px 0 #f31de8, 2px -1px 0 #f31de8, 2px 0px 0 #f31de8, 2px 1px 0 #f31de8, 2px 2px 0 #f31de8, 2px 3px 0 #f31de8, 2px 4px 0 #f31de8, 3px -4px 0 #f31de8, 3px -3px 0 #f31de8, 3px -2px 0 #f31de8, 3px -1px 0 #f31de8, 3px 0px 0 #f31de8, 3px 1px 0 #f31de8, 3px 2px 0 #f31de8, 3px 3px 0 #f31de8, 3px 4px 0 #f31de8, 4px -4px 0 #f31de8, 4px -3px 0 #f31de8, 4px -2px 0 #f31de8, 4px -1px 0 #f31de8, 4px 0px 0 #f31de8, 4px 1px 0 #f31de8, 4px 2px 0 #f31de8, 4px 3px 0 #f31de8, 4px 4px 0 #f31de8; } + 25% { text-shadow: -4px -4px 0 #e93de9, -4px -3px 0 #e93de9, -4px -2px 0 #e93de9, -4px -1px 0 #e93de9, -4px 0px 0 #e93de9, -4px 1px 0 #e93de9, -4px 2px 0 #e93de9, -4px 3px 0 #e93de9, -4px 4px 0 #e93de9, -3px -4px 0 #e93de9, -3px -3px 0 #e93de9, -3px -2px 0 #e93de9, -3px -1px 0 #e93de9, -3px 0px 0 #e93de9, -3px 1px 0 #e93de9, -3px 2px 0 #e93de9, -3px 3px 0 #e93de9, -3px 4px 0 #e93de9, -2px -4px 0 #e93de9, -2px -3px 0 #e93de9, -2px -2px 0 #e93de9, -2px -1px 0 #e93de9, -2px 0px 0 #e93de9, -2px 1px 0 #e93de9, -2px 2px 0 #e93de9, -2px 3px 0 #e93de9, -2px 4px 0 #e93de9, -1px -4px 0 #e93de9, -1px -3px 0 #e93de9, -1px -2px 0 #e93de9, -1px -1px 0 #e93de9, -1px 0px 0 #e93de9, -1px 1px 0 #e93de9, -1px 2px 0 #e93de9, -1px 3px 0 #e93de9, -1px 4px 0 #e93de9, 0px -4px 0 #e93de9, 0px -3px 0 #e93de9, 0px -2px 0 #e93de9, 0px -1px 0 #e93de9, 0px 0px 0 #e93de9, 0px 1px 0 #e93de9, 0px 2px 0 #e93de9, 0px 3px 0 #e93de9, 0px 4px 0 #e93de9, 1px -4px 0 #e93de9, 1px -3px 0 #e93de9, 1px -2px 0 #e93de9, 1px -1px 0 #e93de9, 1px 0px 0 #e93de9, 1px 1px 0 #e93de9, 1px 2px 0 #e93de9, 1px 3px 0 #e93de9, 1px 4px 0 #e93de9, 2px -4px 0 #e93de9, 2px -3px 0 #e93de9, 2px -2px 0 #e93de9, 2px -1px 0 #e93de9, 2px 0px 0 #e93de9, 2px 1px 0 #e93de9, 2px 2px 0 #e93de9, 2px 3px 0 #e93de9, 2px 4px 0 #e93de9, 3px -4px 0 #e93de9, 3px -3px 0 #e93de9, 3px -2px 0 #e93de9, 3px -1px 0 #e93de9, 3px 0px 0 #e93de9, 3px 1px 0 #e93de9, 3px 2px 0 #e93de9, 3px 3px 0 #e93de9, 3px 4px 0 #e93de9, 4px -4px 0 #e93de9, 4px -3px 0 #e93de9, 4px -2px 0 #e93de9, 4px -1px 0 #e93de9, 4px 0px 0 #e93de9, 4px 1px 0 #e93de9, 4px 2px 0 #e93de9, 4px 3px 0 #e93de9, 4px 4px 0 #e93de9; } + 50% { text-shadow: -4px -4px 0 #ffe6f9, -4px -3px 0 #ffe6f9, -4px -2px 0 #ffe6f9, -4px -1px 0 #ffe6f9, -4px 0px 0 #ffe6f9, -4px 1px 0 #ffe6f9, -4px 2px 0 #ffe6f9, -4px 3px 0 #ffe6f9, -4px 4px 0 #ffe6f9, -3px -4px 0 #ffe6f9, -3px -3px 0 #ffe6f9, -3px -2px 0 #ffe6f9, -3px -1px 0 #ffe6f9, -3px 0px 0 #ffe6f9, -3px 1px 0 #ffe6f9, -3px 2px 0 #ffe6f9, -3px 3px 0 #ffe6f9, -3px 4px 0 #ffe6f9, -2px -4px 0 #ffe6f9, -2px -3px 0 #ffe6f9, -2px -2px 0 #ffe6f9, -2px -1px 0 #ffe6f9, -2px 0px 0 #ffe6f9, -2px 1px 0 #ffe6f9, -2px 2px 0 #ffe6f9, -2px 3px 0 #ffe6f9, -2px 4px 0 #ffe6f9, -1px -4px 0 #ffe6f9, -1px -3px 0 #ffe6f9, -1px -2px 0 #ffe6f9, -1px -1px 0 #ffe6f9, -1px 0px 0 #ffe6f9, -1px 1px 0 #ffe6f9, -1px 2px 0 #ffe6f9, -1px 3px 0 #ffe6f9, -1px 4px 0 #ffe6f9, 0px -4px 0 #ffe6f9, 0px -3px 0 #ffe6f9, 0px -2px 0 #ffe6f9, 0px -1px 0 #ffe6f9, 0px 0px 0 #ffe6f9, 0px 1px 0 #ffe6f9, 0px 2px 0 #ffe6f9, 0px 3px 0 #ffe6f9, 0px 4px 0 #ffe6f9, 1px -4px 0 #ffe6f9, 1px -3px 0 #ffe6f9, 1px -2px 0 #ffe6f9, 1px -1px 0 #ffe6f9, 1px 0px 0 #ffe6f9, 1px 1px 0 #ffe6f9, 1px 2px 0 #ffe6f9, 1px 3px 0 #ffe6f9, 1px 4px 0 #ffe6f9, 2px -4px 0 #ffe6f9, 2px -3px 0 #ffe6f9, 2px -2px 0 #ffe6f9, 2px -1px 0 #ffe6f9, 2px 0px 0 #ffe6f9, 2px 1px 0 #ffe6f9, 2px 2px 0 #ffe6f9, 2px 3px 0 #ffe6f9, 2px 4px 0 #ffe6f9, 3px -4px 0 #ffe6f9, 3px -3px 0 #ffe6f9, 3px -2px 0 #ffe6f9, 3px -1px 0 #ffe6f9, 3px 0px 0 #ffe6f9, 3px 1px 0 #ffe6f9, 3px 2px 0 #ffe6f9, 3px 3px 0 #ffe6f9, 3px 4px 0 #ffe6f9, 4px -4px 0 #ffe6f9, 4px -3px 0 #ffe6f9, 4px -2px 0 #ffe6f9, 4px -1px 0 #ffe6f9, 4px 0px 0 #ffe6f9, 4px 1px 0 #ffe6f9, 4px 2px 0 #ffe6f9, 4px 3px 0 #ffe6f9, 4px 4px 0 #ffe6f9; } + 75% { text-shadow: -4px -4px 0 #e93de9, -4px -3px 0 #e93de9, -4px -2px 0 #e93de9, -4px -1px 0 #e93de9, -4px 0px 0 #e93de9, -4px 1px 0 #e93de9, -4px 2px 0 #e93de9, -4px 3px 0 #e93de9, -4px 4px 0 #e93de9, -3px -4px 0 #e93de9, -3px -3px 0 #e93de9, -3px -2px 0 #e93de9, -3px -1px 0 #e93de9, -3px 0px 0 #e93de9, -3px 1px 0 #e93de9, -3px 2px 0 #e93de9, -3px 3px 0 #e93de9, -3px 4px 0 #e93de9, -2px -4px 0 #e93de9, -2px -3px 0 #e93de9, -2px -2px 0 #e93de9, -2px -1px 0 #e93de9, -2px 0px 0 #e93de9, -2px 1px 0 #e93de9, -2px 2px 0 #e93de9, -2px 3px 0 #e93de9, -2px 4px 0 #e93de9, -1px -4px 0 #e93de9, -1px -3px 0 #e93de9, -1px -2px 0 #e93de9, -1px -1px 0 #e93de9, -1px 0px 0 #e93de9, -1px 1px 0 #e93de9, -1px 2px 0 #e93de9, -1px 3px 0 #e93de9, -1px 4px 0 #e93de9, 0px -4px 0 #e93de9, 0px -3px 0 #e93de9, 0px -2px 0 #e93de9, 0px -1px 0 #e93de9, 0px 0px 0 #e93de9, 0px 1px 0 #e93de9, 0px 2px 0 #e93de9, 0px 3px 0 #e93de9, 0px 4px 0 #e93de9, 1px -4px 0 #e93de9, 1px -3px 0 #e93de9, 1px -2px 0 #e93de9, 1px -1px 0 #e93de9, 1px 0px 0 #e93de9, 1px 1px 0 #e93de9, 1px 2px 0 #e93de9, 1px 3px 0 #e93de9, 1px 4px 0 #e93de9, 2px -4px 0 #e93de9, 2px -3px 0 #e93de9, 2px -2px 0 #e93de9, 2px -1px 0 #e93de9, 2px 0px 0 #e93de9, 2px 1px 0 #e93de9, 2px 2px 0 #e93de9, 2px 3px 0 #e93de9, 2px 4px 0 #e93de9, 3px -4px 0 #e93de9, 3px -3px 0 #e93de9, 3px -2px 0 #e93de9, 3px -1px 0 #e93de9, 3px 0px 0 #e93de9, 3px 1px 0 #e93de9, 3px 2px 0 #e93de9, 3px 3px 0 #e93de9, 3px 4px 0 #e93de9, 4px -4px 0 #e93de9, 4px -3px 0 #e93de9, 4px -2px 0 #e93de9, 4px -1px 0 #e93de9, 4px 0px 0 #e93de9, 4px 1px 0 #e93de9, 4px 2px 0 #e93de9, 4px 3px 0 #e93de9, 4px 4px 0 #e93de9; } + 100% { text-shadow: -4px -4px 0 #f31de8, -4px -3px 0 #f31de8, -4px -2px 0 #f31de8, -4px -1px 0 #f31de8, -4px 0px 0 #f31de8, -4px 1px 0 #f31de8, -4px 2px 0 #f31de8, -4px 3px 0 #f31de8, -4px 4px 0 #f31de8, -3px -4px 0 #f31de8, -3px -3px 0 #f31de8, -3px -2px 0 #f31de8, -3px -1px 0 #f31de8, -3px 0px 0 #f31de8, -3px 1px 0 #f31de8, -3px 2px 0 #f31de8, -3px 3px 0 #f31de8, -3px 4px 0 #f31de8, -2px -4px 0 #f31de8, -2px -3px 0 #f31de8, -2px -2px 0 #f31de8, -2px -1px 0 #f31de8, -2px 0px 0 #f31de8, -2px 1px 0 #f31de8, -2px 2px 0 #f31de8, -2px 3px 0 #f31de8, -2px 4px 0 #f31de8, -1px -4px 0 #f31de8, -1px -3px 0 #f31de8, -1px -2px 0 #f31de8, -1px -1px 0 #f31de8, -1px 0px 0 #f31de8, -1px 1px 0 #f31de8, -1px 2px 0 #f31de8, -1px 3px 0 #f31de8, -1px 4px 0 #f31de8, 0px -4px 0 #f31de8, 0px -3px 0 #f31de8, 0px -2px 0 #f31de8, 0px -1px 0 #f31de8, 0px 0px 0 #f31de8, 0px 1px 0 #f31de8, 0px 2px 0 #f31de8, 0px 3px 0 #f31de8, 0px 4px 0 #f31de8, 1px -4px 0 #f31de8, 1px -3px 0 #f31de8, 1px -2px 0 #f31de8, 1px -1px 0 #f31de8, 1px 0px 0 #f31de8, 1px 1px 0 #f31de8, 1px 2px 0 #f31de8, 1px 3px 0 #f31de8, 1px 4px 0 #f31de8, 2px -4px 0 #f31de8, 2px -3px 0 #f31de8, 2px -2px 0 #f31de8, 2px -1px 0 #f31de8, 2px 0px 0 #f31de8, 2px 1px 0 #f31de8, 2px 2px 0 #f31de8, 2px 3px 0 #f31de8, 2px 4px 0 #f31de8, 3px -4px 0 #f31de8, 3px -3px 0 #f31de8, 3px -2px 0 #f31de8, 3px -1px 0 #f31de8, 3px 0px 0 #f31de8, 3px 1px 0 #f31de8, 3px 2px 0 #f31de8, 3px 3px 0 #f31de8, 3px 4px 0 #f31de8, 4px -4px 0 #f31de8, 4px -3px 0 #f31de8, 4px -2px 0 #f31de8, 4px -1px 0 #f31de8, 4px 0px 0 #f31de8, 4px 1px 0 #f31de8, 4px 2px 0 #f31de8, 4px 3px 0 #f31de8, 4px 4px 0 #f31de8; } +} +@keyframes sitenamehover { + 0% { text-shadow: -4px -4px 0 #f31de8, -4px -3px 0 #f31de8, -4px -2px 0 #f31de8, -4px -1px 0 #f31de8, -4px 0px 0 #f31de8, -4px 1px 0 #f31de8, -4px 2px 0 #f31de8, -4px 3px 0 #f31de8, -4px 4px 0 #f31de8, -3px -4px 0 #f31de8, -3px -3px 0 #f31de8, -3px -2px 0 #f31de8, -3px -1px 0 #f31de8, -3px 0px 0 #f31de8, -3px 1px 0 #f31de8, -3px 2px 0 #f31de8, -3px 3px 0 #f31de8, -3px 4px 0 #f31de8, -2px -4px 0 #f31de8, -2px -3px 0 #f31de8, -2px -2px 0 #f31de8, -2px -1px 0 #f31de8, -2px 0px 0 #f31de8, -2px 1px 0 #f31de8, -2px 2px 0 #f31de8, -2px 3px 0 #f31de8, -2px 4px 0 #f31de8, -1px -4px 0 #f31de8, -1px -3px 0 #f31de8, -1px -2px 0 #f31de8, -1px -1px 0 #f31de8, -1px 0px 0 #f31de8, -1px 1px 0 #f31de8, -1px 2px 0 #f31de8, -1px 3px 0 #f31de8, -1px 4px 0 #f31de8, 0px -4px 0 #f31de8, 0px -3px 0 #f31de8, 0px -2px 0 #f31de8, 0px -1px 0 #f31de8, 0px 0px 0 #f31de8, 0px 1px 0 #f31de8, 0px 2px 0 #f31de8, 0px 3px 0 #f31de8, 0px 4px 0 #f31de8, 1px -4px 0 #f31de8, 1px -3px 0 #f31de8, 1px -2px 0 #f31de8, 1px -1px 0 #f31de8, 1px 0px 0 #f31de8, 1px 1px 0 #f31de8, 1px 2px 0 #f31de8, 1px 3px 0 #f31de8, 1px 4px 0 #f31de8, 2px -4px 0 #f31de8, 2px -3px 0 #f31de8, 2px -2px 0 #f31de8, 2px -1px 0 #f31de8, 2px 0px 0 #f31de8, 2px 1px 0 #f31de8, 2px 2px 0 #f31de8, 2px 3px 0 #f31de8, 2px 4px 0 #f31de8, 3px -4px 0 #f31de8, 3px -3px 0 #f31de8, 3px -2px 0 #f31de8, 3px -1px 0 #f31de8, 3px 0px 0 #f31de8, 3px 1px 0 #f31de8, 3px 2px 0 #f31de8, 3px 3px 0 #f31de8, 3px 4px 0 #f31de8, 4px -4px 0 #f31de8, 4px -3px 0 #f31de8, 4px -2px 0 #f31de8, 4px -1px 0 #f31de8, 4px 0px 0 #f31de8, 4px 1px 0 #f31de8, 4px 2px 0 #f31de8, 4px 3px 0 #f31de8, 4px 4px 0 #f31de8; } + 25% { text-shadow: -4px -4px 0 #e93de9, -4px -3px 0 #e93de9, -4px -2px 0 #e93de9, -4px -1px 0 #e93de9, -4px 0px 0 #e93de9, -4px 1px 0 #e93de9, -4px 2px 0 #e93de9, -4px 3px 0 #e93de9, -4px 4px 0 #e93de9, -3px -4px 0 #e93de9, -3px -3px 0 #e93de9, -3px -2px 0 #e93de9, -3px -1px 0 #e93de9, -3px 0px 0 #e93de9, -3px 1px 0 #e93de9, -3px 2px 0 #e93de9, -3px 3px 0 #e93de9, -3px 4px 0 #e93de9, -2px -4px 0 #e93de9, -2px -3px 0 #e93de9, -2px -2px 0 #e93de9, -2px -1px 0 #e93de9, -2px 0px 0 #e93de9, -2px 1px 0 #e93de9, -2px 2px 0 #e93de9, -2px 3px 0 #e93de9, -2px 4px 0 #e93de9, -1px -4px 0 #e93de9, -1px -3px 0 #e93de9, -1px -2px 0 #e93de9, -1px -1px 0 #e93de9, -1px 0px 0 #e93de9, -1px 1px 0 #e93de9, -1px 2px 0 #e93de9, -1px 3px 0 #e93de9, -1px 4px 0 #e93de9, 0px -4px 0 #e93de9, 0px -3px 0 #e93de9, 0px -2px 0 #e93de9, 0px -1px 0 #e93de9, 0px 0px 0 #e93de9, 0px 1px 0 #e93de9, 0px 2px 0 #e93de9, 0px 3px 0 #e93de9, 0px 4px 0 #e93de9, 1px -4px 0 #e93de9, 1px -3px 0 #e93de9, 1px -2px 0 #e93de9, 1px -1px 0 #e93de9, 1px 0px 0 #e93de9, 1px 1px 0 #e93de9, 1px 2px 0 #e93de9, 1px 3px 0 #e93de9, 1px 4px 0 #e93de9, 2px -4px 0 #e93de9, 2px -3px 0 #e93de9, 2px -2px 0 #e93de9, 2px -1px 0 #e93de9, 2px 0px 0 #e93de9, 2px 1px 0 #e93de9, 2px 2px 0 #e93de9, 2px 3px 0 #e93de9, 2px 4px 0 #e93de9, 3px -4px 0 #e93de9, 3px -3px 0 #e93de9, 3px -2px 0 #e93de9, 3px -1px 0 #e93de9, 3px 0px 0 #e93de9, 3px 1px 0 #e93de9, 3px 2px 0 #e93de9, 3px 3px 0 #e93de9, 3px 4px 0 #e93de9, 4px -4px 0 #e93de9, 4px -3px 0 #e93de9, 4px -2px 0 #e93de9, 4px -1px 0 #e93de9, 4px 0px 0 #e93de9, 4px 1px 0 #e93de9, 4px 2px 0 #e93de9, 4px 3px 0 #e93de9, 4px 4px 0 #e93de9; } + 50% { text-shadow: -4px -4px 0 #ffe6f9, -4px -3px 0 #ffe6f9, -4px -2px 0 #ffe6f9, -4px -1px 0 #ffe6f9, -4px 0px 0 #ffe6f9, -4px 1px 0 #ffe6f9, -4px 2px 0 #ffe6f9, -4px 3px 0 #ffe6f9, -4px 4px 0 #ffe6f9, -3px -4px 0 #ffe6f9, -3px -3px 0 #ffe6f9, -3px -2px 0 #ffe6f9, -3px -1px 0 #ffe6f9, -3px 0px 0 #ffe6f9, -3px 1px 0 #ffe6f9, -3px 2px 0 #ffe6f9, -3px 3px 0 #ffe6f9, -3px 4px 0 #ffe6f9, -2px -4px 0 #ffe6f9, -2px -3px 0 #ffe6f9, -2px -2px 0 #ffe6f9, -2px -1px 0 #ffe6f9, -2px 0px 0 #ffe6f9, -2px 1px 0 #ffe6f9, -2px 2px 0 #ffe6f9, -2px 3px 0 #ffe6f9, -2px 4px 0 #ffe6f9, -1px -4px 0 #ffe6f9, -1px -3px 0 #ffe6f9, -1px -2px 0 #ffe6f9, -1px -1px 0 #ffe6f9, -1px 0px 0 #ffe6f9, -1px 1px 0 #ffe6f9, -1px 2px 0 #ffe6f9, -1px 3px 0 #ffe6f9, -1px 4px 0 #ffe6f9, 0px -4px 0 #ffe6f9, 0px -3px 0 #ffe6f9, 0px -2px 0 #ffe6f9, 0px -1px 0 #ffe6f9, 0px 0px 0 #ffe6f9, 0px 1px 0 #ffe6f9, 0px 2px 0 #ffe6f9, 0px 3px 0 #ffe6f9, 0px 4px 0 #ffe6f9, 1px -4px 0 #ffe6f9, 1px -3px 0 #ffe6f9, 1px -2px 0 #ffe6f9, 1px -1px 0 #ffe6f9, 1px 0px 0 #ffe6f9, 1px 1px 0 #ffe6f9, 1px 2px 0 #ffe6f9, 1px 3px 0 #ffe6f9, 1px 4px 0 #ffe6f9, 2px -4px 0 #ffe6f9, 2px -3px 0 #ffe6f9, 2px -2px 0 #ffe6f9, 2px -1px 0 #ffe6f9, 2px 0px 0 #ffe6f9, 2px 1px 0 #ffe6f9, 2px 2px 0 #ffe6f9, 2px 3px 0 #ffe6f9, 2px 4px 0 #ffe6f9, 3px -4px 0 #ffe6f9, 3px -3px 0 #ffe6f9, 3px -2px 0 #ffe6f9, 3px -1px 0 #ffe6f9, 3px 0px 0 #ffe6f9, 3px 1px 0 #ffe6f9, 3px 2px 0 #ffe6f9, 3px 3px 0 #ffe6f9, 3px 4px 0 #ffe6f9, 4px -4px 0 #ffe6f9, 4px -3px 0 #ffe6f9, 4px -2px 0 #ffe6f9, 4px -1px 0 #ffe6f9, 4px 0px 0 #ffe6f9, 4px 1px 0 #ffe6f9, 4px 2px 0 #ffe6f9, 4px 3px 0 #ffe6f9, 4px 4px 0 #ffe6f9; } + 75% { text-shadow: -4px -4px 0 #e93de9, -4px -3px 0 #e93de9, -4px -2px 0 #e93de9, -4px -1px 0 #e93de9, -4px 0px 0 #e93de9, -4px 1px 0 #e93de9, -4px 2px 0 #e93de9, -4px 3px 0 #e93de9, -4px 4px 0 #e93de9, -3px -4px 0 #e93de9, -3px -3px 0 #e93de9, -3px -2px 0 #e93de9, -3px -1px 0 #e93de9, -3px 0px 0 #e93de9, -3px 1px 0 #e93de9, -3px 2px 0 #e93de9, -3px 3px 0 #e93de9, -3px 4px 0 #e93de9, -2px -4px 0 #e93de9, -2px -3px 0 #e93de9, -2px -2px 0 #e93de9, -2px -1px 0 #e93de9, -2px 0px 0 #e93de9, -2px 1px 0 #e93de9, -2px 2px 0 #e93de9, -2px 3px 0 #e93de9, -2px 4px 0 #e93de9, -1px -4px 0 #e93de9, -1px -3px 0 #e93de9, -1px -2px 0 #e93de9, -1px -1px 0 #e93de9, -1px 0px 0 #e93de9, -1px 1px 0 #e93de9, -1px 2px 0 #e93de9, -1px 3px 0 #e93de9, -1px 4px 0 #e93de9, 0px -4px 0 #e93de9, 0px -3px 0 #e93de9, 0px -2px 0 #e93de9, 0px -1px 0 #e93de9, 0px 0px 0 #e93de9, 0px 1px 0 #e93de9, 0px 2px 0 #e93de9, 0px 3px 0 #e93de9, 0px 4px 0 #e93de9, 1px -4px 0 #e93de9, 1px -3px 0 #e93de9, 1px -2px 0 #e93de9, 1px -1px 0 #e93de9, 1px 0px 0 #e93de9, 1px 1px 0 #e93de9, 1px 2px 0 #e93de9, 1px 3px 0 #e93de9, 1px 4px 0 #e93de9, 2px -4px 0 #e93de9, 2px -3px 0 #e93de9, 2px -2px 0 #e93de9, 2px -1px 0 #e93de9, 2px 0px 0 #e93de9, 2px 1px 0 #e93de9, 2px 2px 0 #e93de9, 2px 3px 0 #e93de9, 2px 4px 0 #e93de9, 3px -4px 0 #e93de9, 3px -3px 0 #e93de9, 3px -2px 0 #e93de9, 3px -1px 0 #e93de9, 3px 0px 0 #e93de9, 3px 1px 0 #e93de9, 3px 2px 0 #e93de9, 3px 3px 0 #e93de9, 3px 4px 0 #e93de9, 4px -4px 0 #e93de9, 4px -3px 0 #e93de9, 4px -2px 0 #e93de9, 4px -1px 0 #e93de9, 4px 0px 0 #e93de9, 4px 1px 0 #e93de9, 4px 2px 0 #e93de9, 4px 3px 0 #e93de9, 4px 4px 0 #e93de9; } + 100% { text-shadow: -4px -4px 0 #f31de8, -4px -3px 0 #f31de8, -4px -2px 0 #f31de8, -4px -1px 0 #f31de8, -4px 0px 0 #f31de8, -4px 1px 0 #f31de8, -4px 2px 0 #f31de8, -4px 3px 0 #f31de8, -4px 4px 0 #f31de8, -3px -4px 0 #f31de8, -3px -3px 0 #f31de8, -3px -2px 0 #f31de8, -3px -1px 0 #f31de8, -3px 0px 0 #f31de8, -3px 1px 0 #f31de8, -3px 2px 0 #f31de8, -3px 3px 0 #f31de8, -3px 4px 0 #f31de8, -2px -4px 0 #f31de8, -2px -3px 0 #f31de8, -2px -2px 0 #f31de8, -2px -1px 0 #f31de8, -2px 0px 0 #f31de8, -2px 1px 0 #f31de8, -2px 2px 0 #f31de8, -2px 3px 0 #f31de8, -2px 4px 0 #f31de8, -1px -4px 0 #f31de8, -1px -3px 0 #f31de8, -1px -2px 0 #f31de8, -1px -1px 0 #f31de8, -1px 0px 0 #f31de8, -1px 1px 0 #f31de8, -1px 2px 0 #f31de8, -1px 3px 0 #f31de8, -1px 4px 0 #f31de8, 0px -4px 0 #f31de8, 0px -3px 0 #f31de8, 0px -2px 0 #f31de8, 0px -1px 0 #f31de8, 0px 0px 0 #f31de8, 0px 1px 0 #f31de8, 0px 2px 0 #f31de8, 0px 3px 0 #f31de8, 0px 4px 0 #f31de8, 1px -4px 0 #f31de8, 1px -3px 0 #f31de8, 1px -2px 0 #f31de8, 1px -1px 0 #f31de8, 1px 0px 0 #f31de8, 1px 1px 0 #f31de8, 1px 2px 0 #f31de8, 1px 3px 0 #f31de8, 1px 4px 0 #f31de8, 2px -4px 0 #f31de8, 2px -3px 0 #f31de8, 2px -2px 0 #f31de8, 2px -1px 0 #f31de8, 2px 0px 0 #f31de8, 2px 1px 0 #f31de8, 2px 2px 0 #f31de8, 2px 3px 0 #f31de8, 2px 4px 0 #f31de8, 3px -4px 0 #f31de8, 3px -3px 0 #f31de8, 3px -2px 0 #f31de8, 3px -1px 0 #f31de8, 3px 0px 0 #f31de8, 3px 1px 0 #f31de8, 3px 2px 0 #f31de8, 3px 3px 0 #f31de8, 3px 4px 0 #f31de8, 4px -4px 0 #f31de8, 4px -3px 0 #f31de8, 4px -2px 0 #f31de8, 4px -1px 0 #f31de8, 4px 0px 0 #f31de8, 4px 1px 0 #f31de8, 4px 2px 0 #f31de8, 4px 3px 0 #f31de8, 4px 4px 0 #f31de8; } +} +.logo-c { text-shadow: -4px -4px 0 #f31de8, -4px -3px 0 #f31de8, -4px -2px 0 #f31de8, -4px -1px 0 #f31de8, -4px 0px 0 #f31de8, -4px 1px 0 #f31de8, -4px 2px 0 #f31de8, -4px 3px 0 #f31de8, -4px 4px 0 #f31de8, -3px -4px 0 #f31de8, -3px -3px 0 #f31de8, -3px -2px 0 #f31de8, -3px -1px 0 #f31de8, -3px 0px 0 #f31de8, -3px 1px 0 #f31de8, -3px 2px 0 #f31de8, -3px 3px 0 #f31de8, -3px 4px 0 #f31de8, -2px -4px 0 #f31de8, -2px -3px 0 #f31de8, -2px -2px 0 #f31de8, -2px -1px 0 #f31de8, -2px 0px 0 #f31de8, -2px 1px 0 #f31de8, -2px 2px 0 #f31de8, -2px 3px 0 #f31de8, -2px 4px 0 #f31de8, -1px -4px 0 #f31de8, -1px -3px 0 #f31de8, -1px -2px 0 #f31de8, -1px -1px 0 #f31de8, -1px 0px 0 #f31de8, -1px 1px 0 #f31de8, -1px 2px 0 #f31de8, -1px 3px 0 #f31de8, -1px 4px 0 #f31de8, 0px -4px 0 #f31de8, 0px -3px 0 #f31de8, 0px -2px 0 #f31de8, 0px -1px 0 #f31de8, 0px 0px 0 #f31de8, 0px 1px 0 #f31de8, 0px 2px 0 #f31de8, 0px 3px 0 #f31de8, 0px 4px 0 #f31de8, 1px -4px 0 #f31de8, 1px -3px 0 #f31de8, 1px -2px 0 #f31de8, 1px -1px 0 #f31de8, 1px 0px 0 #f31de8, 1px 1px 0 #f31de8, 1px 2px 0 #f31de8, 1px 3px 0 #f31de8, 1px 4px 0 #f31de8, 2px -4px 0 #f31de8, 2px -3px 0 #f31de8, 2px -2px 0 #f31de8, 2px -1px 0 #f31de8, 2px 0px 0 #f31de8, 2px 1px 0 #f31de8, 2px 2px 0 #f31de8, 2px 3px 0 #f31de8, 2px 4px 0 #f31de8, 3px -4px 0 #f31de8, 3px -3px 0 #f31de8, 3px -2px 0 #f31de8, 3px -1px 0 #f31de8, 3px 0px 0 #f31de8, 3px 1px 0 #f31de8, 3px 2px 0 #f31de8, 3px 3px 0 #f31de8, 3px 4px 0 #f31de8, 4px -4px 0 #f31de8, 4px -3px 0 #f31de8, 4px -2px 0 #f31de8, 4px -1px 0 #f31de8, 4px 0px 0 #f31de8, 4px 1px 0 #f31de8, 4px 2px 0 #f31de8, 4px 3px 0 #f31de8, 4px 4px 0 #f31de8; } \ No newline at end of file diff --git a/public/css/logo_m.css b/public/css/logo_m.css new file mode 100644 index 0000000..c87dec3 --- /dev/null +++ b/public/css/logo_m.css @@ -0,0 +1,16 @@ +.logo-img { border: 2px solid #3daee9; box-shadow: 0 0 7px 3px #1d99f3; } +@-webkit-keyframes sitenamehover { + 0% { text-shadow: -4px -4px 0 #1d99f3, -4px -3px 0 #1d99f3, -4px -2px 0 #1d99f3, -4px -1px 0 #1d99f3, -4px 0px 0 #1d99f3, -4px 1px 0 #1d99f3, -4px 2px 0 #1d99f3, -4px 3px 0 #1d99f3, -4px 4px 0 #1d99f3, -3px -4px 0 #1d99f3, -3px -3px 0 #1d99f3, -3px -2px 0 #1d99f3, -3px -1px 0 #1d99f3, -3px 0px 0 #1d99f3, -3px 1px 0 #1d99f3, -3px 2px 0 #1d99f3, -3px 3px 0 #1d99f3, -3px 4px 0 #1d99f3, -2px -4px 0 #1d99f3, -2px -3px 0 #1d99f3, -2px -2px 0 #1d99f3, -2px -1px 0 #1d99f3, -2px 0px 0 #1d99f3, -2px 1px 0 #1d99f3, -2px 2px 0 #1d99f3, -2px 3px 0 #1d99f3, -2px 4px 0 #1d99f3, -1px -4px 0 #1d99f3, -1px -3px 0 #1d99f3, -1px -2px 0 #1d99f3, -1px -1px 0 #1d99f3, -1px 0px 0 #1d99f3, -1px 1px 0 #1d99f3, -1px 2px 0 #1d99f3, -1px 3px 0 #1d99f3, -1px 4px 0 #1d99f3, 0px -4px 0 #1d99f3, 0px -3px 0 #1d99f3, 0px -2px 0 #1d99f3, 0px -1px 0 #1d99f3, 0px 0px 0 #1d99f3, 0px 1px 0 #1d99f3, 0px 2px 0 #1d99f3, 0px 3px 0 #1d99f3, 0px 4px 0 #1d99f3, 1px -4px 0 #1d99f3, 1px -3px 0 #1d99f3, 1px -2px 0 #1d99f3, 1px -1px 0 #1d99f3, 1px 0px 0 #1d99f3, 1px 1px 0 #1d99f3, 1px 2px 0 #1d99f3, 1px 3px 0 #1d99f3, 1px 4px 0 #1d99f3, 2px -4px 0 #1d99f3, 2px -3px 0 #1d99f3, 2px -2px 0 #1d99f3, 2px -1px 0 #1d99f3, 2px 0px 0 #1d99f3, 2px 1px 0 #1d99f3, 2px 2px 0 #1d99f3, 2px 3px 0 #1d99f3, 2px 4px 0 #1d99f3, 3px -4px 0 #1d99f3, 3px -3px 0 #1d99f3, 3px -2px 0 #1d99f3, 3px -1px 0 #1d99f3, 3px 0px 0 #1d99f3, 3px 1px 0 #1d99f3, 3px 2px 0 #1d99f3, 3px 3px 0 #1d99f3, 3px 4px 0 #1d99f3, 4px -4px 0 #1d99f3, 4px -3px 0 #1d99f3, 4px -2px 0 #1d99f3, 4px -1px 0 #1d99f3, 4px 0px 0 #1d99f3, 4px 1px 0 #1d99f3, 4px 2px 0 #1d99f3, 4px 3px 0 #1d99f3, 4px 4px 0 #1d99f3; } + 25% { text-shadow: -4px -4px 0 #3daee9, -4px -3px 0 #3daee9, -4px -2px 0 #3daee9, -4px -1px 0 #3daee9, -4px 0px 0 #3daee9, -4px 1px 0 #3daee9, -4px 2px 0 #3daee9, -4px 3px 0 #3daee9, -4px 4px 0 #3daee9, -3px -4px 0 #3daee9, -3px -3px 0 #3daee9, -3px -2px 0 #3daee9, -3px -1px 0 #3daee9, -3px 0px 0 #3daee9, -3px 1px 0 #3daee9, -3px 2px 0 #3daee9, -3px 3px 0 #3daee9, -3px 4px 0 #3daee9, -2px -4px 0 #3daee9, -2px -3px 0 #3daee9, -2px -2px 0 #3daee9, -2px -1px 0 #3daee9, -2px 0px 0 #3daee9, -2px 1px 0 #3daee9, -2px 2px 0 #3daee9, -2px 3px 0 #3daee9, -2px 4px 0 #3daee9, -1px -4px 0 #3daee9, -1px -3px 0 #3daee9, -1px -2px 0 #3daee9, -1px -1px 0 #3daee9, -1px 0px 0 #3daee9, -1px 1px 0 #3daee9, -1px 2px 0 #3daee9, -1px 3px 0 #3daee9, -1px 4px 0 #3daee9, 0px -4px 0 #3daee9, 0px -3px 0 #3daee9, 0px -2px 0 #3daee9, 0px -1px 0 #3daee9, 0px 0px 0 #3daee9, 0px 1px 0 #3daee9, 0px 2px 0 #3daee9, 0px 3px 0 #3daee9, 0px 4px 0 #3daee9, 1px -4px 0 #3daee9, 1px -3px 0 #3daee9, 1px -2px 0 #3daee9, 1px -1px 0 #3daee9, 1px 0px 0 #3daee9, 1px 1px 0 #3daee9, 1px 2px 0 #3daee9, 1px 3px 0 #3daee9, 1px 4px 0 #3daee9, 2px -4px 0 #3daee9, 2px -3px 0 #3daee9, 2px -2px 0 #3daee9, 2px -1px 0 #3daee9, 2px 0px 0 #3daee9, 2px 1px 0 #3daee9, 2px 2px 0 #3daee9, 2px 3px 0 #3daee9, 2px 4px 0 #3daee9, 3px -4px 0 #3daee9, 3px -3px 0 #3daee9, 3px -2px 0 #3daee9, 3px -1px 0 #3daee9, 3px 0px 0 #3daee9, 3px 1px 0 #3daee9, 3px 2px 0 #3daee9, 3px 3px 0 #3daee9, 3px 4px 0 #3daee9, 4px -4px 0 #3daee9, 4px -3px 0 #3daee9, 4px -2px 0 #3daee9, 4px -1px 0 #3daee9, 4px 0px 0 #3daee9, 4px 1px 0 #3daee9, 4px 2px 0 #3daee9, 4px 3px 0 #3daee9, 4px 4px 0 #3daee9; } + 50% { text-shadow: -4px -4px 0 #9ed6ff, -4px -3px 0 #9ed6ff, -4px -2px 0 #9ed6ff, -4px -1px 0 #9ed6ff, -4px 0px 0 #9ed6ff, -4px 1px 0 #9ed6ff, -4px 2px 0 #9ed6ff, -4px 3px 0 #9ed6ff, -4px 4px 0 #9ed6ff, -3px -4px 0 #9ed6ff, -3px -3px 0 #9ed6ff, -3px -2px 0 #9ed6ff, -3px -1px 0 #9ed6ff, -3px 0px 0 #9ed6ff, -3px 1px 0 #9ed6ff, -3px 2px 0 #9ed6ff, -3px 3px 0 #9ed6ff, -3px 4px 0 #9ed6ff, -2px -4px 0 #9ed6ff, -2px -3px 0 #9ed6ff, -2px -2px 0 #9ed6ff, -2px -1px 0 #9ed6ff, -2px 0px 0 #9ed6ff, -2px 1px 0 #9ed6ff, -2px 2px 0 #9ed6ff, -2px 3px 0 #9ed6ff, -2px 4px 0 #9ed6ff, -1px -4px 0 #9ed6ff, -1px -3px 0 #9ed6ff, -1px -2px 0 #9ed6ff, -1px -1px 0 #9ed6ff, -1px 0px 0 #9ed6ff, -1px 1px 0 #9ed6ff, -1px 2px 0 #9ed6ff, -1px 3px 0 #9ed6ff, -1px 4px 0 #9ed6ff, 0px -4px 0 #9ed6ff, 0px -3px 0 #9ed6ff, 0px -2px 0 #9ed6ff, 0px -1px 0 #9ed6ff, 0px 0px 0 #9ed6ff, 0px 1px 0 #9ed6ff, 0px 2px 0 #9ed6ff, 0px 3px 0 #9ed6ff, 0px 4px 0 #9ed6ff, 1px -4px 0 #9ed6ff, 1px -3px 0 #9ed6ff, 1px -2px 0 #9ed6ff, 1px -1px 0 #9ed6ff, 1px 0px 0 #9ed6ff, 1px 1px 0 #9ed6ff, 1px 2px 0 #9ed6ff, 1px 3px 0 #9ed6ff, 1px 4px 0 #9ed6ff, 2px -4px 0 #9ed6ff, 2px -3px 0 #9ed6ff, 2px -2px 0 #9ed6ff, 2px -1px 0 #9ed6ff, 2px 0px 0 #9ed6ff, 2px 1px 0 #9ed6ff, 2px 2px 0 #9ed6ff, 2px 3px 0 #9ed6ff, 2px 4px 0 #9ed6ff, 3px -4px 0 #9ed6ff, 3px -3px 0 #9ed6ff, 3px -2px 0 #9ed6ff, 3px -1px 0 #9ed6ff, 3px 0px 0 #9ed6ff, 3px 1px 0 #9ed6ff, 3px 2px 0 #9ed6ff, 3px 3px 0 #9ed6ff, 3px 4px 0 #9ed6ff, 4px -4px 0 #9ed6ff, 4px -3px 0 #9ed6ff, 4px -2px 0 #9ed6ff, 4px -1px 0 #9ed6ff, 4px 0px 0 #9ed6ff, 4px 1px 0 #9ed6ff, 4px 2px 0 #9ed6ff, 4px 3px 0 #9ed6ff, 4px 4px 0 #9ed6ff; } + 75% { text-shadow: -4px -4px 0 #3daee9, -4px -3px 0 #3daee9, -4px -2px 0 #3daee9, -4px -1px 0 #3daee9, -4px 0px 0 #3daee9, -4px 1px 0 #3daee9, -4px 2px 0 #3daee9, -4px 3px 0 #3daee9, -4px 4px 0 #3daee9, -3px -4px 0 #3daee9, -3px -3px 0 #3daee9, -3px -2px 0 #3daee9, -3px -1px 0 #3daee9, -3px 0px 0 #3daee9, -3px 1px 0 #3daee9, -3px 2px 0 #3daee9, -3px 3px 0 #3daee9, -3px 4px 0 #3daee9, -2px -4px 0 #3daee9, -2px -3px 0 #3daee9, -2px -2px 0 #3daee9, -2px -1px 0 #3daee9, -2px 0px 0 #3daee9, -2px 1px 0 #3daee9, -2px 2px 0 #3daee9, -2px 3px 0 #3daee9, -2px 4px 0 #3daee9, -1px -4px 0 #3daee9, -1px -3px 0 #3daee9, -1px -2px 0 #3daee9, -1px -1px 0 #3daee9, -1px 0px 0 #3daee9, -1px 1px 0 #3daee9, -1px 2px 0 #3daee9, -1px 3px 0 #3daee9, -1px 4px 0 #3daee9, 0px -4px 0 #3daee9, 0px -3px 0 #3daee9, 0px -2px 0 #3daee9, 0px -1px 0 #3daee9, 0px 0px 0 #3daee9, 0px 1px 0 #3daee9, 0px 2px 0 #3daee9, 0px 3px 0 #3daee9, 0px 4px 0 #3daee9, 1px -4px 0 #3daee9, 1px -3px 0 #3daee9, 1px -2px 0 #3daee9, 1px -1px 0 #3daee9, 1px 0px 0 #3daee9, 1px 1px 0 #3daee9, 1px 2px 0 #3daee9, 1px 3px 0 #3daee9, 1px 4px 0 #3daee9, 2px -4px 0 #3daee9, 2px -3px 0 #3daee9, 2px -2px 0 #3daee9, 2px -1px 0 #3daee9, 2px 0px 0 #3daee9, 2px 1px 0 #3daee9, 2px 2px 0 #3daee9, 2px 3px 0 #3daee9, 2px 4px 0 #3daee9, 3px -4px 0 #3daee9, 3px -3px 0 #3daee9, 3px -2px 0 #3daee9, 3px -1px 0 #3daee9, 3px 0px 0 #3daee9, 3px 1px 0 #3daee9, 3px 2px 0 #3daee9, 3px 3px 0 #3daee9, 3px 4px 0 #3daee9, 4px -4px 0 #3daee9, 4px -3px 0 #3daee9, 4px -2px 0 #3daee9, 4px -1px 0 #3daee9, 4px 0px 0 #3daee9, 4px 1px 0 #3daee9, 4px 2px 0 #3daee9, 4px 3px 0 #3daee9, 4px 4px 0 #3daee9; } + 100% { text-shadow: -4px -4px 0 #1d99f3, -4px -3px 0 #1d99f3, -4px -2px 0 #1d99f3, -4px -1px 0 #1d99f3, -4px 0px 0 #1d99f3, -4px 1px 0 #1d99f3, -4px 2px 0 #1d99f3, -4px 3px 0 #1d99f3, -4px 4px 0 #1d99f3, -3px -4px 0 #1d99f3, -3px -3px 0 #1d99f3, -3px -2px 0 #1d99f3, -3px -1px 0 #1d99f3, -3px 0px 0 #1d99f3, -3px 1px 0 #1d99f3, -3px 2px 0 #1d99f3, -3px 3px 0 #1d99f3, -3px 4px 0 #1d99f3, -2px -4px 0 #1d99f3, -2px -3px 0 #1d99f3, -2px -2px 0 #1d99f3, -2px -1px 0 #1d99f3, -2px 0px 0 #1d99f3, -2px 1px 0 #1d99f3, -2px 2px 0 #1d99f3, -2px 3px 0 #1d99f3, -2px 4px 0 #1d99f3, -1px -4px 0 #1d99f3, -1px -3px 0 #1d99f3, -1px -2px 0 #1d99f3, -1px -1px 0 #1d99f3, -1px 0px 0 #1d99f3, -1px 1px 0 #1d99f3, -1px 2px 0 #1d99f3, -1px 3px 0 #1d99f3, -1px 4px 0 #1d99f3, 0px -4px 0 #1d99f3, 0px -3px 0 #1d99f3, 0px -2px 0 #1d99f3, 0px -1px 0 #1d99f3, 0px 0px 0 #1d99f3, 0px 1px 0 #1d99f3, 0px 2px 0 #1d99f3, 0px 3px 0 #1d99f3, 0px 4px 0 #1d99f3, 1px -4px 0 #1d99f3, 1px -3px 0 #1d99f3, 1px -2px 0 #1d99f3, 1px -1px 0 #1d99f3, 1px 0px 0 #1d99f3, 1px 1px 0 #1d99f3, 1px 2px 0 #1d99f3, 1px 3px 0 #1d99f3, 1px 4px 0 #1d99f3, 2px -4px 0 #1d99f3, 2px -3px 0 #1d99f3, 2px -2px 0 #1d99f3, 2px -1px 0 #1d99f3, 2px 0px 0 #1d99f3, 2px 1px 0 #1d99f3, 2px 2px 0 #1d99f3, 2px 3px 0 #1d99f3, 2px 4px 0 #1d99f3, 3px -4px 0 #1d99f3, 3px -3px 0 #1d99f3, 3px -2px 0 #1d99f3, 3px -1px 0 #1d99f3, 3px 0px 0 #1d99f3, 3px 1px 0 #1d99f3, 3px 2px 0 #1d99f3, 3px 3px 0 #1d99f3, 3px 4px 0 #1d99f3, 4px -4px 0 #1d99f3, 4px -3px 0 #1d99f3, 4px -2px 0 #1d99f3, 4px -1px 0 #1d99f3, 4px 0px 0 #1d99f3, 4px 1px 0 #1d99f3, 4px 2px 0 #1d99f3, 4px 3px 0 #1d99f3, 4px 4px 0 #1d99f3; } +} +@keyframes sitenamehover { + 0% { text-shadow: -4px -4px 0 #1d99f3, -4px -3px 0 #1d99f3, -4px -2px 0 #1d99f3, -4px -1px 0 #1d99f3, -4px 0px 0 #1d99f3, -4px 1px 0 #1d99f3, -4px 2px 0 #1d99f3, -4px 3px 0 #1d99f3, -4px 4px 0 #1d99f3, -3px -4px 0 #1d99f3, -3px -3px 0 #1d99f3, -3px -2px 0 #1d99f3, -3px -1px 0 #1d99f3, -3px 0px 0 #1d99f3, -3px 1px 0 #1d99f3, -3px 2px 0 #1d99f3, -3px 3px 0 #1d99f3, -3px 4px 0 #1d99f3, -2px -4px 0 #1d99f3, -2px -3px 0 #1d99f3, -2px -2px 0 #1d99f3, -2px -1px 0 #1d99f3, -2px 0px 0 #1d99f3, -2px 1px 0 #1d99f3, -2px 2px 0 #1d99f3, -2px 3px 0 #1d99f3, -2px 4px 0 #1d99f3, -1px -4px 0 #1d99f3, -1px -3px 0 #1d99f3, -1px -2px 0 #1d99f3, -1px -1px 0 #1d99f3, -1px 0px 0 #1d99f3, -1px 1px 0 #1d99f3, -1px 2px 0 #1d99f3, -1px 3px 0 #1d99f3, -1px 4px 0 #1d99f3, 0px -4px 0 #1d99f3, 0px -3px 0 #1d99f3, 0px -2px 0 #1d99f3, 0px -1px 0 #1d99f3, 0px 0px 0 #1d99f3, 0px 1px 0 #1d99f3, 0px 2px 0 #1d99f3, 0px 3px 0 #1d99f3, 0px 4px 0 #1d99f3, 1px -4px 0 #1d99f3, 1px -3px 0 #1d99f3, 1px -2px 0 #1d99f3, 1px -1px 0 #1d99f3, 1px 0px 0 #1d99f3, 1px 1px 0 #1d99f3, 1px 2px 0 #1d99f3, 1px 3px 0 #1d99f3, 1px 4px 0 #1d99f3, 2px -4px 0 #1d99f3, 2px -3px 0 #1d99f3, 2px -2px 0 #1d99f3, 2px -1px 0 #1d99f3, 2px 0px 0 #1d99f3, 2px 1px 0 #1d99f3, 2px 2px 0 #1d99f3, 2px 3px 0 #1d99f3, 2px 4px 0 #1d99f3, 3px -4px 0 #1d99f3, 3px -3px 0 #1d99f3, 3px -2px 0 #1d99f3, 3px -1px 0 #1d99f3, 3px 0px 0 #1d99f3, 3px 1px 0 #1d99f3, 3px 2px 0 #1d99f3, 3px 3px 0 #1d99f3, 3px 4px 0 #1d99f3, 4px -4px 0 #1d99f3, 4px -3px 0 #1d99f3, 4px -2px 0 #1d99f3, 4px -1px 0 #1d99f3, 4px 0px 0 #1d99f3, 4px 1px 0 #1d99f3, 4px 2px 0 #1d99f3, 4px 3px 0 #1d99f3, 4px 4px 0 #1d99f3; } + 25% { text-shadow: -4px -4px 0 #3daee9, -4px -3px 0 #3daee9, -4px -2px 0 #3daee9, -4px -1px 0 #3daee9, -4px 0px 0 #3daee9, -4px 1px 0 #3daee9, -4px 2px 0 #3daee9, -4px 3px 0 #3daee9, -4px 4px 0 #3daee9, -3px -4px 0 #3daee9, -3px -3px 0 #3daee9, -3px -2px 0 #3daee9, -3px -1px 0 #3daee9, -3px 0px 0 #3daee9, -3px 1px 0 #3daee9, -3px 2px 0 #3daee9, -3px 3px 0 #3daee9, -3px 4px 0 #3daee9, -2px -4px 0 #3daee9, -2px -3px 0 #3daee9, -2px -2px 0 #3daee9, -2px -1px 0 #3daee9, -2px 0px 0 #3daee9, -2px 1px 0 #3daee9, -2px 2px 0 #3daee9, -2px 3px 0 #3daee9, -2px 4px 0 #3daee9, -1px -4px 0 #3daee9, -1px -3px 0 #3daee9, -1px -2px 0 #3daee9, -1px -1px 0 #3daee9, -1px 0px 0 #3daee9, -1px 1px 0 #3daee9, -1px 2px 0 #3daee9, -1px 3px 0 #3daee9, -1px 4px 0 #3daee9, 0px -4px 0 #3daee9, 0px -3px 0 #3daee9, 0px -2px 0 #3daee9, 0px -1px 0 #3daee9, 0px 0px 0 #3daee9, 0px 1px 0 #3daee9, 0px 2px 0 #3daee9, 0px 3px 0 #3daee9, 0px 4px 0 #3daee9, 1px -4px 0 #3daee9, 1px -3px 0 #3daee9, 1px -2px 0 #3daee9, 1px -1px 0 #3daee9, 1px 0px 0 #3daee9, 1px 1px 0 #3daee9, 1px 2px 0 #3daee9, 1px 3px 0 #3daee9, 1px 4px 0 #3daee9, 2px -4px 0 #3daee9, 2px -3px 0 #3daee9, 2px -2px 0 #3daee9, 2px -1px 0 #3daee9, 2px 0px 0 #3daee9, 2px 1px 0 #3daee9, 2px 2px 0 #3daee9, 2px 3px 0 #3daee9, 2px 4px 0 #3daee9, 3px -4px 0 #3daee9, 3px -3px 0 #3daee9, 3px -2px 0 #3daee9, 3px -1px 0 #3daee9, 3px 0px 0 #3daee9, 3px 1px 0 #3daee9, 3px 2px 0 #3daee9, 3px 3px 0 #3daee9, 3px 4px 0 #3daee9, 4px -4px 0 #3daee9, 4px -3px 0 #3daee9, 4px -2px 0 #3daee9, 4px -1px 0 #3daee9, 4px 0px 0 #3daee9, 4px 1px 0 #3daee9, 4px 2px 0 #3daee9, 4px 3px 0 #3daee9, 4px 4px 0 #3daee9; } + 50% { text-shadow: -4px -4px 0 #9ed6ff, -4px -3px 0 #9ed6ff, -4px -2px 0 #9ed6ff, -4px -1px 0 #9ed6ff, -4px 0px 0 #9ed6ff, -4px 1px 0 #9ed6ff, -4px 2px 0 #9ed6ff, -4px 3px 0 #9ed6ff, -4px 4px 0 #9ed6ff, -3px -4px 0 #9ed6ff, -3px -3px 0 #9ed6ff, -3px -2px 0 #9ed6ff, -3px -1px 0 #9ed6ff, -3px 0px 0 #9ed6ff, -3px 1px 0 #9ed6ff, -3px 2px 0 #9ed6ff, -3px 3px 0 #9ed6ff, -3px 4px 0 #9ed6ff, -2px -4px 0 #9ed6ff, -2px -3px 0 #9ed6ff, -2px -2px 0 #9ed6ff, -2px -1px 0 #9ed6ff, -2px 0px 0 #9ed6ff, -2px 1px 0 #9ed6ff, -2px 2px 0 #9ed6ff, -2px 3px 0 #9ed6ff, -2px 4px 0 #9ed6ff, -1px -4px 0 #9ed6ff, -1px -3px 0 #9ed6ff, -1px -2px 0 #9ed6ff, -1px -1px 0 #9ed6ff, -1px 0px 0 #9ed6ff, -1px 1px 0 #9ed6ff, -1px 2px 0 #9ed6ff, -1px 3px 0 #9ed6ff, -1px 4px 0 #9ed6ff, 0px -4px 0 #9ed6ff, 0px -3px 0 #9ed6ff, 0px -2px 0 #9ed6ff, 0px -1px 0 #9ed6ff, 0px 0px 0 #9ed6ff, 0px 1px 0 #9ed6ff, 0px 2px 0 #9ed6ff, 0px 3px 0 #9ed6ff, 0px 4px 0 #9ed6ff, 1px -4px 0 #9ed6ff, 1px -3px 0 #9ed6ff, 1px -2px 0 #9ed6ff, 1px -1px 0 #9ed6ff, 1px 0px 0 #9ed6ff, 1px 1px 0 #9ed6ff, 1px 2px 0 #9ed6ff, 1px 3px 0 #9ed6ff, 1px 4px 0 #9ed6ff, 2px -4px 0 #9ed6ff, 2px -3px 0 #9ed6ff, 2px -2px 0 #9ed6ff, 2px -1px 0 #9ed6ff, 2px 0px 0 #9ed6ff, 2px 1px 0 #9ed6ff, 2px 2px 0 #9ed6ff, 2px 3px 0 #9ed6ff, 2px 4px 0 #9ed6ff, 3px -4px 0 #9ed6ff, 3px -3px 0 #9ed6ff, 3px -2px 0 #9ed6ff, 3px -1px 0 #9ed6ff, 3px 0px 0 #9ed6ff, 3px 1px 0 #9ed6ff, 3px 2px 0 #9ed6ff, 3px 3px 0 #9ed6ff, 3px 4px 0 #9ed6ff, 4px -4px 0 #9ed6ff, 4px -3px 0 #9ed6ff, 4px -2px 0 #9ed6ff, 4px -1px 0 #9ed6ff, 4px 0px 0 #9ed6ff, 4px 1px 0 #9ed6ff, 4px 2px 0 #9ed6ff, 4px 3px 0 #9ed6ff, 4px 4px 0 #9ed6ff; } + 75% { text-shadow: -4px -4px 0 #3daee9, -4px -3px 0 #3daee9, -4px -2px 0 #3daee9, -4px -1px 0 #3daee9, -4px 0px 0 #3daee9, -4px 1px 0 #3daee9, -4px 2px 0 #3daee9, -4px 3px 0 #3daee9, -4px 4px 0 #3daee9, -3px -4px 0 #3daee9, -3px -3px 0 #3daee9, -3px -2px 0 #3daee9, -3px -1px 0 #3daee9, -3px 0px 0 #3daee9, -3px 1px 0 #3daee9, -3px 2px 0 #3daee9, -3px 3px 0 #3daee9, -3px 4px 0 #3daee9, -2px -4px 0 #3daee9, -2px -3px 0 #3daee9, -2px -2px 0 #3daee9, -2px -1px 0 #3daee9, -2px 0px 0 #3daee9, -2px 1px 0 #3daee9, -2px 2px 0 #3daee9, -2px 3px 0 #3daee9, -2px 4px 0 #3daee9, -1px -4px 0 #3daee9, -1px -3px 0 #3daee9, -1px -2px 0 #3daee9, -1px -1px 0 #3daee9, -1px 0px 0 #3daee9, -1px 1px 0 #3daee9, -1px 2px 0 #3daee9, -1px 3px 0 #3daee9, -1px 4px 0 #3daee9, 0px -4px 0 #3daee9, 0px -3px 0 #3daee9, 0px -2px 0 #3daee9, 0px -1px 0 #3daee9, 0px 0px 0 #3daee9, 0px 1px 0 #3daee9, 0px 2px 0 #3daee9, 0px 3px 0 #3daee9, 0px 4px 0 #3daee9, 1px -4px 0 #3daee9, 1px -3px 0 #3daee9, 1px -2px 0 #3daee9, 1px -1px 0 #3daee9, 1px 0px 0 #3daee9, 1px 1px 0 #3daee9, 1px 2px 0 #3daee9, 1px 3px 0 #3daee9, 1px 4px 0 #3daee9, 2px -4px 0 #3daee9, 2px -3px 0 #3daee9, 2px -2px 0 #3daee9, 2px -1px 0 #3daee9, 2px 0px 0 #3daee9, 2px 1px 0 #3daee9, 2px 2px 0 #3daee9, 2px 3px 0 #3daee9, 2px 4px 0 #3daee9, 3px -4px 0 #3daee9, 3px -3px 0 #3daee9, 3px -2px 0 #3daee9, 3px -1px 0 #3daee9, 3px 0px 0 #3daee9, 3px 1px 0 #3daee9, 3px 2px 0 #3daee9, 3px 3px 0 #3daee9, 3px 4px 0 #3daee9, 4px -4px 0 #3daee9, 4px -3px 0 #3daee9, 4px -2px 0 #3daee9, 4px -1px 0 #3daee9, 4px 0px 0 #3daee9, 4px 1px 0 #3daee9, 4px 2px 0 #3daee9, 4px 3px 0 #3daee9, 4px 4px 0 #3daee9; } + 100% { text-shadow: -4px -4px 0 #1d99f3, -4px -3px 0 #1d99f3, -4px -2px 0 #1d99f3, -4px -1px 0 #1d99f3, -4px 0px 0 #1d99f3, -4px 1px 0 #1d99f3, -4px 2px 0 #1d99f3, -4px 3px 0 #1d99f3, -4px 4px 0 #1d99f3, -3px -4px 0 #1d99f3, -3px -3px 0 #1d99f3, -3px -2px 0 #1d99f3, -3px -1px 0 #1d99f3, -3px 0px 0 #1d99f3, -3px 1px 0 #1d99f3, -3px 2px 0 #1d99f3, -3px 3px 0 #1d99f3, -3px 4px 0 #1d99f3, -2px -4px 0 #1d99f3, -2px -3px 0 #1d99f3, -2px -2px 0 #1d99f3, -2px -1px 0 #1d99f3, -2px 0px 0 #1d99f3, -2px 1px 0 #1d99f3, -2px 2px 0 #1d99f3, -2px 3px 0 #1d99f3, -2px 4px 0 #1d99f3, -1px -4px 0 #1d99f3, -1px -3px 0 #1d99f3, -1px -2px 0 #1d99f3, -1px -1px 0 #1d99f3, -1px 0px 0 #1d99f3, -1px 1px 0 #1d99f3, -1px 2px 0 #1d99f3, -1px 3px 0 #1d99f3, -1px 4px 0 #1d99f3, 0px -4px 0 #1d99f3, 0px -3px 0 #1d99f3, 0px -2px 0 #1d99f3, 0px -1px 0 #1d99f3, 0px 0px 0 #1d99f3, 0px 1px 0 #1d99f3, 0px 2px 0 #1d99f3, 0px 3px 0 #1d99f3, 0px 4px 0 #1d99f3, 1px -4px 0 #1d99f3, 1px -3px 0 #1d99f3, 1px -2px 0 #1d99f3, 1px -1px 0 #1d99f3, 1px 0px 0 #1d99f3, 1px 1px 0 #1d99f3, 1px 2px 0 #1d99f3, 1px 3px 0 #1d99f3, 1px 4px 0 #1d99f3, 2px -4px 0 #1d99f3, 2px -3px 0 #1d99f3, 2px -2px 0 #1d99f3, 2px -1px 0 #1d99f3, 2px 0px 0 #1d99f3, 2px 1px 0 #1d99f3, 2px 2px 0 #1d99f3, 2px 3px 0 #1d99f3, 2px 4px 0 #1d99f3, 3px -4px 0 #1d99f3, 3px -3px 0 #1d99f3, 3px -2px 0 #1d99f3, 3px -1px 0 #1d99f3, 3px 0px 0 #1d99f3, 3px 1px 0 #1d99f3, 3px 2px 0 #1d99f3, 3px 3px 0 #1d99f3, 3px 4px 0 #1d99f3, 4px -4px 0 #1d99f3, 4px -3px 0 #1d99f3, 4px -2px 0 #1d99f3, 4px -1px 0 #1d99f3, 4px 0px 0 #1d99f3, 4px 1px 0 #1d99f3, 4px 2px 0 #1d99f3, 4px 3px 0 #1d99f3, 4px 4px 0 #1d99f3; } +} +.logo-c { text-shadow: -4px -4px 0 #1d99f3, -4px -3px 0 #1d99f3, -4px -2px 0 #1d99f3, -4px -1px 0 #1d99f3, -4px 0px 0 #1d99f3, -4px 1px 0 #1d99f3, -4px 2px 0 #1d99f3, -4px 3px 0 #1d99f3, -4px 4px 0 #1d99f3, -3px -4px 0 #1d99f3, -3px -3px 0 #1d99f3, -3px -2px 0 #1d99f3, -3px -1px 0 #1d99f3, -3px 0px 0 #1d99f3, -3px 1px 0 #1d99f3, -3px 2px 0 #1d99f3, -3px 3px 0 #1d99f3, -3px 4px 0 #1d99f3, -2px -4px 0 #1d99f3, -2px -3px 0 #1d99f3, -2px -2px 0 #1d99f3, -2px -1px 0 #1d99f3, -2px 0px 0 #1d99f3, -2px 1px 0 #1d99f3, -2px 2px 0 #1d99f3, -2px 3px 0 #1d99f3, -2px 4px 0 #1d99f3, -1px -4px 0 #1d99f3, -1px -3px 0 #1d99f3, -1px -2px 0 #1d99f3, -1px -1px 0 #1d99f3, -1px 0px 0 #1d99f3, -1px 1px 0 #1d99f3, -1px 2px 0 #1d99f3, -1px 3px 0 #1d99f3, -1px 4px 0 #1d99f3, 0px -4px 0 #1d99f3, 0px -3px 0 #1d99f3, 0px -2px 0 #1d99f3, 0px -1px 0 #1d99f3, 0px 0px 0 #1d99f3, 0px 1px 0 #1d99f3, 0px 2px 0 #1d99f3, 0px 3px 0 #1d99f3, 0px 4px 0 #1d99f3, 1px -4px 0 #1d99f3, 1px -3px 0 #1d99f3, 1px -2px 0 #1d99f3, 1px -1px 0 #1d99f3, 1px 0px 0 #1d99f3, 1px 1px 0 #1d99f3, 1px 2px 0 #1d99f3, 1px 3px 0 #1d99f3, 1px 4px 0 #1d99f3, 2px -4px 0 #1d99f3, 2px -3px 0 #1d99f3, 2px -2px 0 #1d99f3, 2px -1px 0 #1d99f3, 2px 0px 0 #1d99f3, 2px 1px 0 #1d99f3, 2px 2px 0 #1d99f3, 2px 3px 0 #1d99f3, 2px 4px 0 #1d99f3, 3px -4px 0 #1d99f3, 3px -3px 0 #1d99f3, 3px -2px 0 #1d99f3, 3px -1px 0 #1d99f3, 3px 0px 0 #1d99f3, 3px 1px 0 #1d99f3, 3px 2px 0 #1d99f3, 3px 3px 0 #1d99f3, 3px 4px 0 #1d99f3, 4px -4px 0 #1d99f3, 4px -3px 0 #1d99f3, 4px -2px 0 #1d99f3, 4px -1px 0 #1d99f3, 4px 0px 0 #1d99f3, 4px 1px 0 #1d99f3, 4px 2px 0 #1d99f3, 4px 3px 0 #1d99f3, 4px 4px 0 #1d99f3; } \ No newline at end of file diff --git a/public/css/modal.css b/public/css/modal.css new file mode 100644 index 0000000..eaddea1 --- /dev/null +++ b/public/css/modal.css @@ -0,0 +1,4 @@ +.modal-header, .modal-body, .modal-footer { color: #fcfcfc; } +.modal-header { background: linear-gradient(to bottom, #b16cce 0%, #d898f3 34%, #cb81ea 100%); } +.modal-body { background-color: #4d4d4d; } +.modal-footer { background-color: #31363b; } \ No newline at end of file diff --git a/public/css/modal_f.css b/public/css/modal_f.css new file mode 100644 index 0000000..3613723 --- /dev/null +++ b/public/css/modal_f.css @@ -0,0 +1 @@ +.modal-header { background: linear-gradient(to bottom, #f31de8 0%, #ea81e8 34%, #e93de9 100%); } \ No newline at end of file diff --git a/public/css/modal_m.css b/public/css/modal_m.css new file mode 100644 index 0000000..1c74652 --- /dev/null +++ b/public/css/modal_m.css @@ -0,0 +1 @@ +.modal-header { background: linear-gradient(to bottom, #1d99f3 0%, #6ec0fb 34%, #3daee9 100%); } \ No newline at end of file diff --git a/public/css/navbar.css b/public/css/navbar.css new file mode 100644 index 0000000..64cec54 --- /dev/null +++ b/public/css/navbar.css @@ -0,0 +1,12 @@ +.bg-dark { background: radial-gradient(farthest-corner at 50% 85%, #9b59b6 0%, #232629 100%); border: 2px solid #cb81ea; box-shadow: 0 0 7px 3px #b16cce; } +.navbar { padding: 0px; } +.navbar-toggler { border: 0px solid transparent; } +.navbar-nav .dropdown-menu { background-color: #31363b; color: #fcfcfc; border: 2px solid #cb81ea; box-shadow: 0 0 7px 3px #b16cce; } +.dropdown-item { color: #fcfcfc; } +.dropdown-item.active, .dropdown-item:active, .dropdown-item:hover, .dropdown-item:focus { color: #fcfcfc; background-color: #cb81ea; } +.navbar-brand { padding: 5px; } +.navbar-brand, .nav-item { transition: background 0.3s; border-radius: 2px; cursor: pointer; } +.navbar-brand:hover, .nav-item:hover { background-color: #61237c; } +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: #46195a; } +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: #fcfcfc; background-color: #b16cce; border-color: #46195a; } +.nav-tabs { border-bottom: 1px solid #cb81ea; } \ No newline at end of file diff --git a/public/css/navbar_f.css b/public/css/navbar_f.css new file mode 100644 index 0000000..2c9412e --- /dev/null +++ b/public/css/navbar_f.css @@ -0,0 +1,7 @@ +.bg-dark { background: radial-gradient(farthest-corner at 50% 85%, #db34d3 0%, #232629 100%); border: 2px solid #e93de9; box-shadow: 0 0 7px 3px #f31de8; } +.navbar-nav .dropdown-menu { border: 2px solid #e93de9; box-shadow: 0 0 7px 3px #f31de8; } +.dropdown-item.active, .dropdown-item:active, .dropdown-item:hover, .dropdown-item:focus { background-color: #e93de9; } +.navbar-brand:hover, .nav-item:hover { background-color: #b459b6; } +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: #7d2069; } +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { background-color: #f31de8; border-color: #7d2069; } +.nav-tabs { border-bottom: 1px solid #e93de9; } \ No newline at end of file diff --git a/public/css/navbar_m.css b/public/css/navbar_m.css new file mode 100644 index 0000000..a0f04ee --- /dev/null +++ b/public/css/navbar_m.css @@ -0,0 +1,7 @@ +.bg-dark { background: radial-gradient(farthest-corner at 50% 85%, #3498db 0%, #232629 100%); border: 2px solid #3daee9; box-shadow: 0 0 7px 3px #1d99f3; } +.navbar-nav .dropdown-menu { border: 2px solid #3daee9; box-shadow: 0 0 7px 3px #1d99f3; } +.dropdown-item.active, .dropdown-item:active, .dropdown-item:hover, .dropdown-item:focus { background-color: #3daee9; } +.navbar-brand:hover, .nav-item:hover { background-color: #2980b9; } +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: #205e7d; } +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { background-color: #1d99f3; border-color: #205e7d; } +.nav-tabs { border-bottom: 1px solid #3daee9; } \ No newline at end of file diff --git a/public/css/pagination.css b/public/css/pagination.css new file mode 100644 index 0000000..cb4c32d --- /dev/null +++ b/public/css/pagination.css @@ -0,0 +1,28 @@ +.page-link { + background: linear-gradient(to bottom, #57229c 0%, #6b4386 34%, #2d1a46 100%); +} + +.page-link, .page-item .disabled { + text-align: center; + color: #fcfcfc; + padding: 8px 20px; + font-size: 28px; + border-bottom: solid 2px #cb81ea; + cursor: pointer; + transition: background 0.3s, color 0.3s; + margin: auto; +} + +.page-link > a { color: #fcfcfc; } + +.page-link > a:hover { text-decoration: none; } + +.page-link:hover { + color: #fcfcfc; + background: linear-gradient(to bottom, #6c29b9 0%, #916ead 34%, #5d2b8b 100%); +} + +.page-item.disabled > .page-link { color: #fcfcfc; background: linear-gradient(to bottom, #4d4d4d 0%, #727272 34%, #495051 100%); border-color: #b16cce; } +.page-item.active > .page-link { color: #fcfcfc; background: linear-gradient(to bottom, #b16cce 0%, #e4b4f8 34%, #9b59b6 100%); border-color: #b16cce; } +.page-item.active > .page-link:hover { color: #fcfcfc; background: linear-gradient(to bottom, #cb81ea 0%, #f1d0ff 34%, #d898f3 100%); } +.pagination { margin: auto; padding: 8px; } \ No newline at end of file diff --git a/public/css/pagination_f.css b/public/css/pagination_f.css new file mode 100644 index 0000000..617f38b --- /dev/null +++ b/public/css/pagination_f.css @@ -0,0 +1,6 @@ +.page-link { background: linear-gradient(to bottom, #9c2296 0%, #864386 34%, #421a46 100%); } +.page-link, .page-item .disabled { border-bottom: solid 2px #e93de9; } +.page-link:hover { background: linear-gradient(to bottom, #b929ad 0%, #ad6ea8 34%, #832b8b 100%); } +.page-item.disabled > .page-link { border-color: #f31de8; } +.page-item.active > .page-link { background: linear-gradient(to bottom, #f31de8 0%, #e599e5 34%, #db34d3 100%); border-color: #f31de8; } +.page-item.active > .page-link:hover { background: linear-gradient(to bottom, #e93de9 0%, #ffe6f9 34%, #ea81e8 100%); } \ No newline at end of file diff --git a/public/css/pagination_m.css b/public/css/pagination_m.css new file mode 100644 index 0000000..4afa0a6 --- /dev/null +++ b/public/css/pagination_m.css @@ -0,0 +1,6 @@ +.page-link { background: linear-gradient(to bottom, #22699c 0%, #436a86 34%, #1a3746 100%); } +.page-link, .page-item .disabled { border-bottom: solid 2px #3daee9; } +.page-link:hover { background: linear-gradient(to bottom, #2980b9 0%, #6e93ad 34%, #2b6b8b 100%); } +.page-item.disabled > .page-link { border-color: #1d99f3; } +.page-item.active > .page-link { background: linear-gradient(to bottom, #1d99f3 0%, #8bb6d6 34%, #3498db 100%); border-color: #1d99f3; } +.page-item.active > .page-link:hover { background: linear-gradient(to bottom, #3daee9 0%, #9ed6ff 34%, #6ec0fb 100%); } \ No newline at end of file diff --git a/public/css/popper.js b/public/css/popper.js new file mode 100644 index 0000000..2ff87c5 --- /dev/null +++ b/public/css/popper.js @@ -0,0 +1,5 @@ +/* + Copyright (C) Federico Zivolo 2020 + Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). + */(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=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}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 i(e){return e&&e.referenceNode?e.referenceNode: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||null;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','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=Z,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(!K(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,w=t(e.instance.popper),y=parseFloat(w['margin'+f]),E=parseFloat(w['border'+f+'Width']),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,$(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 ce.FLIP:p=[n,i];break;case ce.CLOCKWISE:p=G(n);break;case ce.COUNTERCLOCKWISE:p=G(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=Z,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,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u),E=!!t.flipVariationsByContent&&(w&&'start'===r&&c||w&&'end'===r&&h||!w&&'start'===r&&u||!w&&'end'===r&&g),v=y||E;(m||b||v)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),v&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport',flipVariations:!1,flipVariationsByContent:!1},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(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.rightwindow.devicePixelRatio||!fe),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=B('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=le({},E,e.attributes),e.styles=le({},m,e.styles),e.arrowStyles=le({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return V(e.instance.popper,e.styles),j(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),V(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ge}); +//# sourceMappingURL=popper.min.js.map \ No newline at end of file diff --git a/public/css/scroll.css b/public/css/scroll.css new file mode 100644 index 0000000..f0e0371 --- /dev/null +++ b/public/css/scroll.css @@ -0,0 +1,5 @@ +::-webkit-scrollbar { width: 6px; } +::-webkit-scrollbar-thumb { background: #cb81ea; transition: background 0.3s; } +::-webkit-scrollbar-thumb:hover { background: #e4b4f8; } +::-webkit-scrollbar-thumb:active { background: #46195a; } +::-webkit-scrollbar-track { background-color: #fcfcfc; background: #232629; } \ No newline at end of file diff --git a/public/css/scroll_f.css b/public/css/scroll_f.css new file mode 100644 index 0000000..61a18c8 --- /dev/null +++ b/public/css/scroll_f.css @@ -0,0 +1,3 @@ +::-webkit-scrollbar-thumb { background: #e93de9; } +::-webkit-scrollbar-thumb:hover { background: #e599e5; } +::-webkit-scrollbar-thumb:active { background: #7d2069; } \ No newline at end of file diff --git a/public/css/scroll_m.css b/public/css/scroll_m.css new file mode 100644 index 0000000..60d05ac --- /dev/null +++ b/public/css/scroll_m.css @@ -0,0 +1,3 @@ +::-webkit-scrollbar-thumb { background: #3daee9; } +::-webkit-scrollbar-thumb:hover { background: #8bb6d6; } +::-webkit-scrollbar-thumb:active { background: #205e7d; } \ No newline at end of file diff --git a/public/css/select.css b/public/css/select.css new file mode 100644 index 0000000..dfcf86d --- /dev/null +++ b/public/css/select.css @@ -0,0 +1 @@ +.custom-select { background-color: #232629; border: 1px solid #220a2c; color: #fcfcfc; } \ No newline at end of file diff --git a/public/css/select_f.css b/public/css/select_f.css new file mode 100644 index 0000000..e0bdc65 --- /dev/null +++ b/public/css/select_f.css @@ -0,0 +1 @@ +.custom-select { border: 1px solid #5e345c; } \ No newline at end of file diff --git a/public/css/select_m.css b/public/css/select_m.css new file mode 100644 index 0000000..2f8d669 --- /dev/null +++ b/public/css/select_m.css @@ -0,0 +1 @@ +.custom-select { border: 1px solid #34495e; } \ No newline at end of file diff --git a/public/css/sidemenu.css b/public/css/sidemenu.css new file mode 100644 index 0000000..69981f3 --- /dev/null +++ b/public/css/sidemenu.css @@ -0,0 +1,2 @@ +.sidemenu { border: 2px solid #cb81ea; box-shadow: 0 0 7px 3px #b16cce; } +.nav-pills .nav-link { border-radius: 0px; } \ No newline at end of file diff --git a/public/css/sidemenu_f.css b/public/css/sidemenu_f.css new file mode 100644 index 0000000..3c8bb63 --- /dev/null +++ b/public/css/sidemenu_f.css @@ -0,0 +1 @@ +.sidemenu { border: 2px solid #e93de9; box-shadow: 0 0 7px 3px #f31de8; } \ No newline at end of file diff --git a/public/css/sidemenu_m.css b/public/css/sidemenu_m.css new file mode 100644 index 0000000..0b86a5d --- /dev/null +++ b/public/css/sidemenu_m.css @@ -0,0 +1 @@ +.sidemenu { border: 2px solid #3daee9; box-shadow: 0 0 7px 3px #1d99f3; } \ No newline at end of file diff --git a/public/css/table.css b/public/css/table.css new file mode 100644 index 0000000..f91d724 --- /dev/null +++ b/public/css/table.css @@ -0,0 +1,9 @@ +.table-dark { + color: #fcfcfc; + background-color: #4d4d4d; + border: 2px solid #cb81ea; + transition: background-color 0.3s; +} +.table-dark th, .table-dark td, .table-dark thead th { border-color: #cb81ea; } +.table-dark.table-hover tbody tr { transition: background-color 0.3s; background-color: #4d4d4d; } +.table-dark.table-hover tbody tr:hover { color: #fcfcfc; background-color: #61237c; } \ No newline at end of file diff --git a/public/css/table_f.css b/public/css/table_f.css new file mode 100644 index 0000000..70c11e0 --- /dev/null +++ b/public/css/table_f.css @@ -0,0 +1,3 @@ +.table-dark { border: 2px solid #e93de9; } +.table-dark th, .table-dark td, .table-dark thead th { border-color: #e93de9; } +.table-dark.table-hover tbody tr:hover { background-color: #b459b6; } diff --git a/public/css/table_m.css b/public/css/table_m.css new file mode 100644 index 0000000..67a11dd --- /dev/null +++ b/public/css/table_m.css @@ -0,0 +1,3 @@ +.table-dark { border: 2px solid #3daee9; } +.table-dark th, .table-dark td, .table-dark thead th { border-color: #3daee9; } +.table-dark.table-hover tbody tr:hover { background-color: #2980b9; } diff --git a/public/js/app.js b/public/js/app.js new file mode 100644 index 0000000..e72b589 --- /dev/null +++ b/public/js/app.js @@ -0,0 +1,78937 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = "/"; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 0); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./node_modules/axios/index.js": +/*!*************************************!*\ + !*** ./node_modules/axios/index.js ***! + \*************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./lib/axios */ "./node_modules/axios/lib/axios.js"); + +/***/ }), + +/***/ "./node_modules/axios/lib/adapters/xhr.js": +/*!************************************************!*\ + !*** ./node_modules/axios/lib/adapters/xhr.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); +var settle = __webpack_require__(/*! ./../core/settle */ "./node_modules/axios/lib/core/settle.js"); +var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js"); +var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./node_modules/axios/lib/core/buildFullPath.js"); +var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./node_modules/axios/lib/helpers/parseHeaders.js"); +var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js"); +var createError = __webpack_require__(/*! ../core/createError */ "./node_modules/axios/lib/core/createError.js"); + +module.exports = function xhrAdapter(config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + var requestData = config.data; + var requestHeaders = config.headers; + + if (utils.isFormData(requestData)) { + delete requestHeaders['Content-Type']; // Let the browser set it + } + + var request = new XMLHttpRequest(); + + // HTTP basic authentication + if (config.auth) { + var username = config.auth.username || ''; + var password = config.auth.password || ''; + requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password); + } + + var fullPath = buildFullPath(config.baseURL, config.url); + request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true); + + // Set the request timeout in MS + request.timeout = config.timeout; + + // Listen for ready state + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) { + return; + } + + // Prepare the response + var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null; + var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response; + var response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config: config, + request: request + }; + + settle(resolve, reject, response); + + // Clean up request + request = null; + }; + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + + reject(createError('Request aborted', config, 'ECONNABORTED', request)); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError() { + // Real errors are hidden from us by the browser + // onerror should only fire if it's a network error + reject(createError('Network Error', config, null, request)); + + // Clean up request + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded'; + if (config.timeoutErrorMessage) { + timeoutErrorMessage = config.timeoutErrorMessage; + } + reject(createError(timeoutErrorMessage, config, 'ECONNABORTED', + request)); + + // Clean up request + request = null; + }; + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + if (utils.isStandardBrowserEnv()) { + var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./node_modules/axios/lib/helpers/cookies.js"); + + // Add xsrf header + var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? + cookies.read(config.xsrfCookieName) : + undefined; + + if (xsrfValue) { + requestHeaders[config.xsrfHeaderName] = xsrfValue; + } + } + + // Add headers to the request + if ('setRequestHeader' in request) { + utils.forEach(requestHeaders, function setRequestHeader(val, key) { + if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') { + // Remove Content-Type if data is undefined + delete requestHeaders[key]; + } else { + // Otherwise add header to the request + request.setRequestHeader(key, val); + } + }); + } + + // Add withCredentials to request if needed + if (!utils.isUndefined(config.withCredentials)) { + request.withCredentials = !!config.withCredentials; + } + + // Add responseType to request if needed + if (config.responseType) { + try { + request.responseType = config.responseType; + } catch (e) { + // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2. + // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function. + if (config.responseType !== 'json') { + throw e; + } + } + } + + // Handle progress if needed + if (typeof config.onDownloadProgress === 'function') { + request.addEventListener('progress', config.onDownloadProgress); + } + + // Not all browsers support upload events + if (typeof config.onUploadProgress === 'function' && request.upload) { + request.upload.addEventListener('progress', config.onUploadProgress); + } + + if (config.cancelToken) { + // Handle cancellation + config.cancelToken.promise.then(function onCanceled(cancel) { + if (!request) { + return; + } + + request.abort(); + reject(cancel); + // Clean up request + request = null; + }); + } + + if (requestData === undefined) { + requestData = null; + } + + // Send the request + request.send(requestData); + }); +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/axios.js": +/*!*****************************************!*\ + !*** ./node_modules/axios/lib/axios.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./utils */ "./node_modules/axios/lib/utils.js"); +var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/axios/lib/helpers/bind.js"); +var Axios = __webpack_require__(/*! ./core/Axios */ "./node_modules/axios/lib/core/Axios.js"); +var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "./node_modules/axios/lib/core/mergeConfig.js"); +var defaults = __webpack_require__(/*! ./defaults */ "./node_modules/axios/lib/defaults.js"); + +/** + * Create an instance of Axios + * + * @param {Object} defaultConfig The default config for the instance + * @return {Axios} A new instance of Axios + */ +function createInstance(defaultConfig) { + var context = new Axios(defaultConfig); + var instance = bind(Axios.prototype.request, context); + + // Copy axios.prototype to instance + utils.extend(instance, Axios.prototype, context); + + // Copy context to instance + utils.extend(instance, context); + + return instance; +} + +// Create the default instance to be exported +var axios = createInstance(defaults); + +// Expose Axios class to allow class inheritance +axios.Axios = Axios; + +// Factory for creating new instances +axios.create = function create(instanceConfig) { + return createInstance(mergeConfig(axios.defaults, instanceConfig)); +}; + +// Expose Cancel & CancelToken +axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ "./node_modules/axios/lib/cancel/Cancel.js"); +axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./node_modules/axios/lib/cancel/CancelToken.js"); +axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./node_modules/axios/lib/cancel/isCancel.js"); + +// Expose all/spread +axios.all = function all(promises) { + return Promise.all(promises); +}; +axios.spread = __webpack_require__(/*! ./helpers/spread */ "./node_modules/axios/lib/helpers/spread.js"); + +module.exports = axios; + +// Allow use of default import syntax in TypeScript +module.exports.default = axios; + + +/***/ }), + +/***/ "./node_modules/axios/lib/cancel/Cancel.js": +/*!*************************************************!*\ + !*** ./node_modules/axios/lib/cancel/Cancel.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/** + * A `Cancel` is an object that is thrown when an operation is canceled. + * + * @class + * @param {string=} message The message. + */ +function Cancel(message) { + this.message = message; +} + +Cancel.prototype.toString = function toString() { + return 'Cancel' + (this.message ? ': ' + this.message : ''); +}; + +Cancel.prototype.__CANCEL__ = true; + +module.exports = Cancel; + + +/***/ }), + +/***/ "./node_modules/axios/lib/cancel/CancelToken.js": +/*!******************************************************!*\ + !*** ./node_modules/axios/lib/cancel/CancelToken.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var Cancel = __webpack_require__(/*! ./Cancel */ "./node_modules/axios/lib/cancel/Cancel.js"); + +/** + * A `CancelToken` is an object that can be used to request cancellation of an operation. + * + * @class + * @param {Function} executor The executor function. + */ +function CancelToken(executor) { + if (typeof executor !== 'function') { + throw new TypeError('executor must be a function.'); + } + + var resolvePromise; + this.promise = new Promise(function promiseExecutor(resolve) { + resolvePromise = resolve; + }); + + var token = this; + executor(function cancel(message) { + if (token.reason) { + // Cancellation has already been requested + return; + } + + token.reason = new Cancel(message); + resolvePromise(token.reason); + }); +} + +/** + * Throws a `Cancel` if cancellation has been requested. + */ +CancelToken.prototype.throwIfRequested = function throwIfRequested() { + if (this.reason) { + throw this.reason; + } +}; + +/** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ +CancelToken.source = function source() { + var cancel; + var token = new CancelToken(function executor(c) { + cancel = c; + }); + return { + token: token, + cancel: cancel + }; +}; + +module.exports = CancelToken; + + +/***/ }), + +/***/ "./node_modules/axios/lib/cancel/isCancel.js": +/*!***************************************************!*\ + !*** ./node_modules/axios/lib/cancel/isCancel.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function isCancel(value) { + return !!(value && value.__CANCEL__); +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/Axios.js": +/*!**********************************************!*\ + !*** ./node_modules/axios/lib/core/Axios.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); +var buildURL = __webpack_require__(/*! ../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js"); +var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ "./node_modules/axios/lib/core/InterceptorManager.js"); +var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ "./node_modules/axios/lib/core/dispatchRequest.js"); +var mergeConfig = __webpack_require__(/*! ./mergeConfig */ "./node_modules/axios/lib/core/mergeConfig.js"); + +/** + * Create a new instance of Axios + * + * @param {Object} instanceConfig The default config for the instance + */ +function Axios(instanceConfig) { + this.defaults = instanceConfig; + this.interceptors = { + request: new InterceptorManager(), + response: new InterceptorManager() + }; +} + +/** + * Dispatch a request + * + * @param {Object} config The config specific for this request (merged with this.defaults) + */ +Axios.prototype.request = function request(config) { + /*eslint no-param-reassign:0*/ + // Allow for axios('example/url'[, config]) a la fetch API + if (typeof config === 'string') { + config = arguments[1] || {}; + config.url = arguments[0]; + } else { + config = config || {}; + } + + config = mergeConfig(this.defaults, config); + + // Set config.method + if (config.method) { + config.method = config.method.toLowerCase(); + } else if (this.defaults.method) { + config.method = this.defaults.method.toLowerCase(); + } else { + config.method = 'get'; + } + + // Hook up interceptors middleware + var chain = [dispatchRequest, undefined]; + var promise = Promise.resolve(config); + + this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { + chain.unshift(interceptor.fulfilled, interceptor.rejected); + }); + + this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { + chain.push(interceptor.fulfilled, interceptor.rejected); + }); + + while (chain.length) { + promise = promise.then(chain.shift(), chain.shift()); + } + + return promise; +}; + +Axios.prototype.getUri = function getUri(config) { + config = mergeConfig(this.defaults, config); + return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, ''); +}; + +// Provide aliases for supported request methods +utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { + /*eslint func-names:0*/ + Axios.prototype[method] = function(url, config) { + return this.request(utils.merge(config || {}, { + method: method, + url: url + })); + }; +}); + +utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) { + /*eslint func-names:0*/ + Axios.prototype[method] = function(url, data, config) { + return this.request(utils.merge(config || {}, { + method: method, + url: url, + data: data + })); + }; +}); + +module.exports = Axios; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/InterceptorManager.js": +/*!***********************************************************!*\ + !*** ./node_modules/axios/lib/core/InterceptorManager.js ***! + \***********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); + +function InterceptorManager() { + this.handlers = []; +} + +/** + * Add a new interceptor to the stack + * + * @param {Function} fulfilled The function to handle `then` for a `Promise` + * @param {Function} rejected The function to handle `reject` for a `Promise` + * + * @return {Number} An ID used to remove interceptor later + */ +InterceptorManager.prototype.use = function use(fulfilled, rejected) { + this.handlers.push({ + fulfilled: fulfilled, + rejected: rejected + }); + return this.handlers.length - 1; +}; + +/** + * Remove an interceptor from the stack + * + * @param {Number} id The ID that was returned by `use` + */ +InterceptorManager.prototype.eject = function eject(id) { + if (this.handlers[id]) { + this.handlers[id] = null; + } +}; + +/** + * Iterate over all the registered interceptors + * + * This method is particularly useful for skipping over any + * interceptors that may have become `null` calling `eject`. + * + * @param {Function} fn The function to call for each interceptor + */ +InterceptorManager.prototype.forEach = function forEach(fn) { + utils.forEach(this.handlers, function forEachHandler(h) { + if (h !== null) { + fn(h); + } + }); +}; + +module.exports = InterceptorManager; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/buildFullPath.js": +/*!******************************************************!*\ + !*** ./node_modules/axios/lib/core/buildFullPath.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ "./node_modules/axios/lib/helpers/isAbsoluteURL.js"); +var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ "./node_modules/axios/lib/helpers/combineURLs.js"); + +/** + * Creates a new URL by combining the baseURL with the requestedURL, + * only when the requestedURL is not already an absolute URL. + * If the requestURL is absolute, this function returns the requestedURL untouched. + * + * @param {string} baseURL The base URL + * @param {string} requestedURL Absolute or relative URL to combine + * @returns {string} The combined full path + */ +module.exports = function buildFullPath(baseURL, requestedURL) { + if (baseURL && !isAbsoluteURL(requestedURL)) { + return combineURLs(baseURL, requestedURL); + } + return requestedURL; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/createError.js": +/*!****************************************************!*\ + !*** ./node_modules/axios/lib/core/createError.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var enhanceError = __webpack_require__(/*! ./enhanceError */ "./node_modules/axios/lib/core/enhanceError.js"); + +/** + * Create an Error with the specified message, config, error code, request and response. + * + * @param {string} message The error message. + * @param {Object} config The config. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * @returns {Error} The created error. + */ +module.exports = function createError(message, config, code, request, response) { + var error = new Error(message); + return enhanceError(error, config, code, request, response); +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/dispatchRequest.js": +/*!********************************************************!*\ + !*** ./node_modules/axios/lib/core/dispatchRequest.js ***! + \********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); +var transformData = __webpack_require__(/*! ./transformData */ "./node_modules/axios/lib/core/transformData.js"); +var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./node_modules/axios/lib/cancel/isCancel.js"); +var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/axios/lib/defaults.js"); + +/** + * Throws a `Cancel` if cancellation has been requested. + */ +function throwIfCancellationRequested(config) { + if (config.cancelToken) { + config.cancelToken.throwIfRequested(); + } +} + +/** + * Dispatch a request to the server using the configured adapter. + * + * @param {object} config The config that is to be used for the request + * @returns {Promise} The Promise to be fulfilled + */ +module.exports = function dispatchRequest(config) { + throwIfCancellationRequested(config); + + // Ensure headers exist + config.headers = config.headers || {}; + + // Transform request data + config.data = transformData( + config.data, + config.headers, + config.transformRequest + ); + + // Flatten headers + config.headers = utils.merge( + config.headers.common || {}, + config.headers[config.method] || {}, + config.headers + ); + + utils.forEach( + ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], + function cleanHeaderConfig(method) { + delete config.headers[method]; + } + ); + + var adapter = config.adapter || defaults.adapter; + + return adapter(config).then(function onAdapterResolution(response) { + throwIfCancellationRequested(config); + + // Transform response data + response.data = transformData( + response.data, + response.headers, + config.transformResponse + ); + + return response; + }, function onAdapterRejection(reason) { + if (!isCancel(reason)) { + throwIfCancellationRequested(config); + + // Transform response data + if (reason && reason.response) { + reason.response.data = transformData( + reason.response.data, + reason.response.headers, + config.transformResponse + ); + } + } + + return Promise.reject(reason); + }); +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/enhanceError.js": +/*!*****************************************************!*\ + !*** ./node_modules/axios/lib/core/enhanceError.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/** + * Update an Error with the specified config, error code, and response. + * + * @param {Error} error The error to update. + * @param {Object} config The config. + * @param {string} [code] The error code (for example, 'ECONNABORTED'). + * @param {Object} [request] The request. + * @param {Object} [response] The response. + * @returns {Error} The error. + */ +module.exports = function enhanceError(error, config, code, request, response) { + error.config = config; + if (code) { + error.code = code; + } + + error.request = request; + error.response = response; + error.isAxiosError = true; + + error.toJSON = function() { + return { + // Standard + message: this.message, + name: this.name, + // Microsoft + description: this.description, + number: this.number, + // Mozilla + fileName: this.fileName, + lineNumber: this.lineNumber, + columnNumber: this.columnNumber, + stack: this.stack, + // Axios + config: this.config, + code: this.code + }; + }; + return error; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/mergeConfig.js": +/*!****************************************************!*\ + !*** ./node_modules/axios/lib/core/mergeConfig.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js"); + +/** + * Config-specific merge-function which creates a new config-object + * by merging two configuration objects together. + * + * @param {Object} config1 + * @param {Object} config2 + * @returns {Object} New object resulting from merging config2 to config1 + */ +module.exports = function mergeConfig(config1, config2) { + // eslint-disable-next-line no-param-reassign + config2 = config2 || {}; + var config = {}; + + var valueFromConfig2Keys = ['url', 'method', 'params', 'data']; + var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy']; + var defaultToConfig2Keys = [ + 'baseURL', 'url', 'transformRequest', 'transformResponse', 'paramsSerializer', + 'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName', + 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', + 'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent', + 'httpsAgent', 'cancelToken', 'socketPath' + ]; + + utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) { + if (typeof config2[prop] !== 'undefined') { + config[prop] = config2[prop]; + } + }); + + utils.forEach(mergeDeepPropertiesKeys, function mergeDeepProperties(prop) { + if (utils.isObject(config2[prop])) { + config[prop] = utils.deepMerge(config1[prop], config2[prop]); + } else if (typeof config2[prop] !== 'undefined') { + config[prop] = config2[prop]; + } else if (utils.isObject(config1[prop])) { + config[prop] = utils.deepMerge(config1[prop]); + } else if (typeof config1[prop] !== 'undefined') { + config[prop] = config1[prop]; + } + }); + + utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) { + if (typeof config2[prop] !== 'undefined') { + config[prop] = config2[prop]; + } else if (typeof config1[prop] !== 'undefined') { + config[prop] = config1[prop]; + } + }); + + var axiosKeys = valueFromConfig2Keys + .concat(mergeDeepPropertiesKeys) + .concat(defaultToConfig2Keys); + + var otherKeys = Object + .keys(config2) + .filter(function filterAxiosKeys(key) { + return axiosKeys.indexOf(key) === -1; + }); + + utils.forEach(otherKeys, function otherKeysDefaultToConfig2(prop) { + if (typeof config2[prop] !== 'undefined') { + config[prop] = config2[prop]; + } else if (typeof config1[prop] !== 'undefined') { + config[prop] = config1[prop]; + } + }); + + return config; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/settle.js": +/*!***********************************************!*\ + !*** ./node_modules/axios/lib/core/settle.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var createError = __webpack_require__(/*! ./createError */ "./node_modules/axios/lib/core/createError.js"); + +/** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + */ +module.exports = function settle(resolve, reject, response) { + var validateStatus = response.config.validateStatus; + if (!validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(createError( + 'Request failed with status code ' + response.status, + response.config, + null, + response.request, + response + )); + } +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/core/transformData.js": +/*!******************************************************!*\ + !*** ./node_modules/axios/lib/core/transformData.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); + +/** + * Transform the data for a request or a response + * + * @param {Object|String} data The data to be transformed + * @param {Array} headers The headers for the request or response + * @param {Array|Function} fns A single function or Array of functions + * @returns {*} The resulting transformed data + */ +module.exports = function transformData(data, headers, fns) { + /*eslint no-param-reassign:0*/ + utils.forEach(fns, function transform(fn) { + data = fn(data, headers); + }); + + return data; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/defaults.js": +/*!********************************************!*\ + !*** ./node_modules/axios/lib/defaults.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(process) { + +var utils = __webpack_require__(/*! ./utils */ "./node_modules/axios/lib/utils.js"); +var normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ "./node_modules/axios/lib/helpers/normalizeHeaderName.js"); + +var DEFAULT_CONTENT_TYPE = { + 'Content-Type': 'application/x-www-form-urlencoded' +}; + +function setContentTypeIfUnset(headers, value) { + if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) { + headers['Content-Type'] = value; + } +} + +function getDefaultAdapter() { + var adapter; + if (typeof XMLHttpRequest !== 'undefined') { + // For browsers use XHR adapter + adapter = __webpack_require__(/*! ./adapters/xhr */ "./node_modules/axios/lib/adapters/xhr.js"); + } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') { + // For node use HTTP adapter + adapter = __webpack_require__(/*! ./adapters/http */ "./node_modules/axios/lib/adapters/xhr.js"); + } + return adapter; +} + +var defaults = { + adapter: getDefaultAdapter(), + + transformRequest: [function transformRequest(data, headers) { + normalizeHeaderName(headers, 'Accept'); + normalizeHeaderName(headers, 'Content-Type'); + if (utils.isFormData(data) || + utils.isArrayBuffer(data) || + utils.isBuffer(data) || + utils.isStream(data) || + utils.isFile(data) || + utils.isBlob(data) + ) { + return data; + } + if (utils.isArrayBufferView(data)) { + return data.buffer; + } + if (utils.isURLSearchParams(data)) { + setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8'); + return data.toString(); + } + if (utils.isObject(data)) { + setContentTypeIfUnset(headers, 'application/json;charset=utf-8'); + return JSON.stringify(data); + } + return data; + }], + + transformResponse: [function transformResponse(data) { + /*eslint no-param-reassign:0*/ + if (typeof data === 'string') { + try { + data = JSON.parse(data); + } catch (e) { /* Ignore */ } + } + return data; + }], + + /** + * A timeout in milliseconds to abort a request. If set to 0 (default) a + * timeout is not created. + */ + timeout: 0, + + xsrfCookieName: 'XSRF-TOKEN', + xsrfHeaderName: 'X-XSRF-TOKEN', + + maxContentLength: -1, + + validateStatus: function validateStatus(status) { + return status >= 200 && status < 300; + } +}; + +defaults.headers = { + common: { + 'Accept': 'application/json, text/plain, */*' + } +}; + +utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) { + defaults.headers[method] = {}; +}); + +utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) { + defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE); +}); + +module.exports = defaults; + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ "./node_modules/process/browser.js"))) + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/bind.js": +/*!************************************************!*\ + !*** ./node_modules/axios/lib/helpers/bind.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function bind(fn, thisArg) { + return function wrap() { + var args = new Array(arguments.length); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i]; + } + return fn.apply(thisArg, args); + }; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/buildURL.js": +/*!****************************************************!*\ + !*** ./node_modules/axios/lib/helpers/buildURL.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); + +function encode(val) { + return encodeURIComponent(val). + replace(/%40/gi, '@'). + replace(/%3A/gi, ':'). + replace(/%24/g, '$'). + replace(/%2C/gi, ','). + replace(/%20/g, '+'). + replace(/%5B/gi, '['). + replace(/%5D/gi, ']'); +} + +/** + * Build a URL by appending params to the end + * + * @param {string} url The base of the url (e.g., http://www.google.com) + * @param {object} [params] The params to be appended + * @returns {string} The formatted url + */ +module.exports = function buildURL(url, params, paramsSerializer) { + /*eslint no-param-reassign:0*/ + if (!params) { + return url; + } + + var serializedParams; + if (paramsSerializer) { + serializedParams = paramsSerializer(params); + } else if (utils.isURLSearchParams(params)) { + serializedParams = params.toString(); + } else { + var parts = []; + + utils.forEach(params, function serialize(val, key) { + if (val === null || typeof val === 'undefined') { + return; + } + + if (utils.isArray(val)) { + key = key + '[]'; + } else { + val = [val]; + } + + utils.forEach(val, function parseValue(v) { + if (utils.isDate(v)) { + v = v.toISOString(); + } else if (utils.isObject(v)) { + v = JSON.stringify(v); + } + parts.push(encode(key) + '=' + encode(v)); + }); + }); + + serializedParams = parts.join('&'); + } + + if (serializedParams) { + var hashmarkIndex = url.indexOf('#'); + if (hashmarkIndex !== -1) { + url = url.slice(0, hashmarkIndex); + } + + url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; + } + + return url; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/combineURLs.js": +/*!*******************************************************!*\ + !*** ./node_modules/axios/lib/helpers/combineURLs.js ***! + \*******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/** + * Creates a new URL by combining the specified URLs + * + * @param {string} baseURL The base URL + * @param {string} relativeURL The relative URL + * @returns {string} The combined URL + */ +module.exports = function combineURLs(baseURL, relativeURL) { + return relativeURL + ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') + : baseURL; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/cookies.js": +/*!***************************************************!*\ + !*** ./node_modules/axios/lib/helpers/cookies.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); + +module.exports = ( + utils.isStandardBrowserEnv() ? + + // Standard browser envs support document.cookie + (function standardBrowserEnv() { + return { + write: function write(name, value, expires, path, domain, secure) { + var cookie = []; + cookie.push(name + '=' + encodeURIComponent(value)); + + if (utils.isNumber(expires)) { + cookie.push('expires=' + new Date(expires).toGMTString()); + } + + if (utils.isString(path)) { + cookie.push('path=' + path); + } + + if (utils.isString(domain)) { + cookie.push('domain=' + domain); + } + + if (secure === true) { + cookie.push('secure'); + } + + document.cookie = cookie.join('; '); + }, + + read: function read(name) { + var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)')); + return (match ? decodeURIComponent(match[3]) : null); + }, + + remove: function remove(name) { + this.write(name, '', Date.now() - 86400000); + } + }; + })() : + + // Non standard browser env (web workers, react-native) lack needed support. + (function nonStandardBrowserEnv() { + return { + write: function write() {}, + read: function read() { return null; }, + remove: function remove() {} + }; + })() +); + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js": +/*!*********************************************************!*\ + !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***! + \*********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/** + * Determines whether the specified URL is absolute + * + * @param {string} url The URL to test + * @returns {boolean} True if the specified URL is absolute, otherwise false + */ +module.exports = function isAbsoluteURL(url) { + // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). + // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed + // by any combination of letters, digits, plus, period, or hyphen. + return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url); +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js": +/*!***********************************************************!*\ + !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***! + \***********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); + +module.exports = ( + utils.isStandardBrowserEnv() ? + + // Standard browser envs have full support of the APIs needed to test + // whether the request URL is of the same origin as current location. + (function standardBrowserEnv() { + var msie = /(msie|trident)/i.test(navigator.userAgent); + var urlParsingNode = document.createElement('a'); + var originURL; + + /** + * Parse a URL to discover it's components + * + * @param {String} url The URL to be parsed + * @returns {Object} + */ + function resolveURL(url) { + var href = url; + + if (msie) { + // IE needs attribute set twice to normalize properties + urlParsingNode.setAttribute('href', href); + href = urlParsingNode.href; + } + + urlParsingNode.setAttribute('href', href); + + // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils + return { + href: urlParsingNode.href, + protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '', + host: urlParsingNode.host, + search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '', + hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '', + hostname: urlParsingNode.hostname, + port: urlParsingNode.port, + pathname: (urlParsingNode.pathname.charAt(0) === '/') ? + urlParsingNode.pathname : + '/' + urlParsingNode.pathname + }; + } + + originURL = resolveURL(window.location.href); + + /** + * Determine if a URL shares the same origin as the current location + * + * @param {String} requestURL The URL to test + * @returns {boolean} True if URL shares the same origin, otherwise false + */ + return function isURLSameOrigin(requestURL) { + var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL; + return (parsed.protocol === originURL.protocol && + parsed.host === originURL.host); + }; + })() : + + // Non standard browser envs (web workers, react-native) lack needed support. + (function nonStandardBrowserEnv() { + return function isURLSameOrigin() { + return true; + }; + })() +); + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/normalizeHeaderName.js": +/*!***************************************************************!*\ + !*** ./node_modules/axios/lib/helpers/normalizeHeaderName.js ***! + \***************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js"); + +module.exports = function normalizeHeaderName(headers, normalizedName) { + utils.forEach(headers, function processHeader(value, name) { + if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) { + headers[normalizedName] = value; + delete headers[name]; + } + }); +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/parseHeaders.js": +/*!********************************************************!*\ + !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***! + \********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); + +// Headers whose duplicates are ignored by node +// c.f. https://nodejs.org/api/http.html#http_message_headers +var ignoreDuplicateOf = [ + 'age', 'authorization', 'content-length', 'content-type', 'etag', + 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', + 'last-modified', 'location', 'max-forwards', 'proxy-authorization', + 'referer', 'retry-after', 'user-agent' +]; + +/** + * Parse headers into an object + * + * ``` + * Date: Wed, 27 Aug 2014 08:58:49 GMT + * Content-Type: application/json + * Connection: keep-alive + * Transfer-Encoding: chunked + * ``` + * + * @param {String} headers Headers needing to be parsed + * @returns {Object} Headers parsed into an object + */ +module.exports = function parseHeaders(headers) { + var parsed = {}; + var key; + var val; + var i; + + if (!headers) { return parsed; } + + utils.forEach(headers.split('\n'), function parser(line) { + i = line.indexOf(':'); + key = utils.trim(line.substr(0, i)).toLowerCase(); + val = utils.trim(line.substr(i + 1)); + + if (key) { + if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) { + return; + } + if (key === 'set-cookie') { + parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]); + } else { + parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; + } + } + }); + + return parsed; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/spread.js": +/*!**************************************************!*\ + !*** ./node_modules/axios/lib/helpers/spread.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/** + * Syntactic sugar for invoking a function and expanding an array for arguments. + * + * Common use case would be to use `Function.prototype.apply`. + * + * ```js + * function f(x, y, z) {} + * var args = [1, 2, 3]; + * f.apply(null, args); + * ``` + * + * With `spread` this example can be re-written. + * + * ```js + * spread(function(x, y, z) {})([1, 2, 3]); + * ``` + * + * @param {Function} callback + * @returns {Function} + */ +module.exports = function spread(callback) { + return function wrap(arr) { + return callback.apply(null, arr); + }; +}; + + +/***/ }), + +/***/ "./node_modules/axios/lib/utils.js": +/*!*****************************************!*\ + !*** ./node_modules/axios/lib/utils.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/axios/lib/helpers/bind.js"); + +/*global toString:true*/ + +// utils is a library of generic helper functions non-specific to axios + +var toString = Object.prototype.toString; + +/** + * Determine if a value is an Array + * + * @param {Object} val The value to test + * @returns {boolean} True if value is an Array, otherwise false + */ +function isArray(val) { + return toString.call(val) === '[object Array]'; +} + +/** + * Determine if a value is undefined + * + * @param {Object} val The value to test + * @returns {boolean} True if the value is undefined, otherwise false + */ +function isUndefined(val) { + return typeof val === 'undefined'; +} + +/** + * Determine if a value is a Buffer + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a Buffer, otherwise false + */ +function isBuffer(val) { + return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) + && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val); +} + +/** + * Determine if a value is an ArrayBuffer + * + * @param {Object} val The value to test + * @returns {boolean} True if value is an ArrayBuffer, otherwise false + */ +function isArrayBuffer(val) { + return toString.call(val) === '[object ArrayBuffer]'; +} + +/** + * Determine if a value is a FormData + * + * @param {Object} val The value to test + * @returns {boolean} True if value is an FormData, otherwise false + */ +function isFormData(val) { + return (typeof FormData !== 'undefined') && (val instanceof FormData); +} + +/** + * Determine if a value is a view on an ArrayBuffer + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false + */ +function isArrayBufferView(val) { + var result; + if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) { + result = ArrayBuffer.isView(val); + } else { + result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer); + } + return result; +} + +/** + * Determine if a value is a String + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a String, otherwise false + */ +function isString(val) { + return typeof val === 'string'; +} + +/** + * Determine if a value is a Number + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a Number, otherwise false + */ +function isNumber(val) { + return typeof val === 'number'; +} + +/** + * Determine if a value is an Object + * + * @param {Object} val The value to test + * @returns {boolean} True if value is an Object, otherwise false + */ +function isObject(val) { + return val !== null && typeof val === 'object'; +} + +/** + * Determine if a value is a Date + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a Date, otherwise false + */ +function isDate(val) { + return toString.call(val) === '[object Date]'; +} + +/** + * Determine if a value is a File + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a File, otherwise false + */ +function isFile(val) { + return toString.call(val) === '[object File]'; +} + +/** + * Determine if a value is a Blob + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a Blob, otherwise false + */ +function isBlob(val) { + return toString.call(val) === '[object Blob]'; +} + +/** + * Determine if a value is a Function + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a Function, otherwise false + */ +function isFunction(val) { + return toString.call(val) === '[object Function]'; +} + +/** + * Determine if a value is a Stream + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a Stream, otherwise false + */ +function isStream(val) { + return isObject(val) && isFunction(val.pipe); +} + +/** + * Determine if a value is a URLSearchParams object + * + * @param {Object} val The value to test + * @returns {boolean} True if value is a URLSearchParams object, otherwise false + */ +function isURLSearchParams(val) { + return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams; +} + +/** + * Trim excess whitespace off the beginning and end of a string + * + * @param {String} str The String to trim + * @returns {String} The String freed of excess whitespace + */ +function trim(str) { + return str.replace(/^\s*/, '').replace(/\s*$/, ''); +} + +/** + * Determine if we're running in a standard browser environment + * + * This allows axios to run in a web worker, and react-native. + * Both environments support XMLHttpRequest, but not fully standard globals. + * + * web workers: + * typeof window -> undefined + * typeof document -> undefined + * + * react-native: + * navigator.product -> 'ReactNative' + * nativescript + * navigator.product -> 'NativeScript' or 'NS' + */ +function isStandardBrowserEnv() { + if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' || + navigator.product === 'NativeScript' || + navigator.product === 'NS')) { + return false; + } + return ( + typeof window !== 'undefined' && + typeof document !== 'undefined' + ); +} + +/** + * Iterate over an Array or an Object invoking a function for each item. + * + * If `obj` is an Array callback will be called passing + * the value, index, and complete array for each item. + * + * If 'obj' is an Object callback will be called passing + * the value, key, and complete object for each property. + * + * @param {Object|Array} obj The object to iterate + * @param {Function} fn The callback to invoke for each item + */ +function forEach(obj, fn) { + // Don't bother if no value provided + if (obj === null || typeof obj === 'undefined') { + return; + } + + // Force an array if not already something iterable + if (typeof obj !== 'object') { + /*eslint no-param-reassign:0*/ + obj = [obj]; + } + + if (isArray(obj)) { + // Iterate over array values + for (var i = 0, l = obj.length; i < l; i++) { + fn.call(null, obj[i], i, obj); + } + } else { + // Iterate over object keys + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + fn.call(null, obj[key], key, obj); + } + } + } +} + +/** + * Accepts varargs expecting each argument to be an object, then + * immutably merges the properties of each object and returns result. + * + * When multiple objects contain the same key the later object in + * the arguments list will take precedence. + * + * Example: + * + * ```js + * var result = merge({foo: 123}, {foo: 456}); + * console.log(result.foo); // outputs 456 + * ``` + * + * @param {Object} obj1 Object to merge + * @returns {Object} Result of all merge properties + */ +function merge(/* obj1, obj2, obj3, ... */) { + var result = {}; + function assignValue(val, key) { + if (typeof result[key] === 'object' && typeof val === 'object') { + result[key] = merge(result[key], val); + } else { + result[key] = val; + } + } + + for (var i = 0, l = arguments.length; i < l; i++) { + forEach(arguments[i], assignValue); + } + return result; +} + +/** + * Function equal to merge with the difference being that no reference + * to original objects is kept. + * + * @see merge + * @param {Object} obj1 Object to merge + * @returns {Object} Result of all merge properties + */ +function deepMerge(/* obj1, obj2, obj3, ... */) { + var result = {}; + function assignValue(val, key) { + if (typeof result[key] === 'object' && typeof val === 'object') { + result[key] = deepMerge(result[key], val); + } else if (typeof val === 'object') { + result[key] = deepMerge({}, val); + } else { + result[key] = val; + } + } + + for (var i = 0, l = arguments.length; i < l; i++) { + forEach(arguments[i], assignValue); + } + return result; +} + +/** + * Extends object a by mutably adding to it the properties of object b. + * + * @param {Object} a The object to be extended + * @param {Object} b The object to copy properties from + * @param {Object} thisArg The object to bind function to + * @return {Object} The resulting value of object a + */ +function extend(a, b, thisArg) { + forEach(b, function assignValue(val, key) { + if (thisArg && typeof val === 'function') { + a[key] = bind(val, thisArg); + } else { + a[key] = val; + } + }); + return a; +} + +module.exports = { + isArray: isArray, + isArrayBuffer: isArrayBuffer, + isBuffer: isBuffer, + isFormData: isFormData, + isArrayBufferView: isArrayBufferView, + isString: isString, + isNumber: isNumber, + isObject: isObject, + isUndefined: isUndefined, + isDate: isDate, + isFile: isFile, + isBlob: isBlob, + isFunction: isFunction, + isStream: isStream, + isURLSearchParams: isURLSearchParams, + isStandardBrowserEnv: isStandardBrowserEnv, + forEach: forEach, + merge: merge, + deepMerge: deepMerge, + extend: extend, + trim: trim +}; + + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/appbar.vue?vue&type=script&lang=js&": +/*!*****************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/appbar.vue?vue&type=script&lang=js& ***! + \*****************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _bash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bash */ "./resources/js/components/bash.vue"); +/* harmony import */ var _note__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./note */ "./resources/js/components/note.vue"); +// +// +// +// +// +// +// + + +/* harmony default export */ __webpack_exports__["default"] = ({ + components: { + Bash: _bash__WEBPACK_IMPORTED_MODULE_0__["default"], + Note: _note__WEBPACK_IMPORTED_MODULE_1__["default"] + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/bash.vue?vue&type=script&lang=js&": +/*!***************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/bash.vue?vue&type=script&lang=js& ***! + \***************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-draggable-resizable */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.umd.min.js"); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-draggable-resizable/dist/VueDraggableResizable.css */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.css"); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +Vue.component('vue-draggable-resizable', vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default.a); +/* harmony default export */ __webpack_exports__["default"] = ({ + data: function data() { + return { + cmd: [''], + output: ['ロリコマンドラインですね〜♡'], + show: false, + width: 0, + height: 0, + x: 0, + y: 0 + }; + }, + methods: { + onResize: function onResize(x, y, width, height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + }, + onDrag: function onDrag(x, y) { + this.x = x; + this.y = y; + }, + exec: function exec(i) { + var _this = this; + + axios.post('/api/rpc/bash/exec', { + args: this.cmd[i] + }).then(function (res) { + _this.output.push(res.data); + + _this.cmd.push(''); + }); + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/comments.vue?vue&type=script&lang=js&": +/*!*******************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/comments.vue?vue&type=script&lang=js& ***! + \*******************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ __webpack_exports__["default"] = ({ + props: { + user: Object, + slug: '', + isvideo: '', + comments: Object + }, + data: function data() { + return { + comment: this.comments, + newComment: {}, + err: '', + loading: true, + sending: false + }; + }, + created: function created() { + this.reset(); + }, + methods: { + reset: function reset() { + this.loading = false; + this.newComment.name = ''; + this.newComment.mail = ''; + this.newComment.text = ''; + }, + send: function send() { + var _this = this; + + this.err = ''; + this.sending = true; + axios.post('/api/comment/new', { + user_id: this.user.user_id, + comment: this.newComment, + isvideo: this.isvideo, + slug: this.slug + }).then(function (res) { + _this.sending = false; + + if (res.data.status === '010100') { + _this.comment.come.unshift(res.data.result); + + _this.comment.total++; + + _this.reset(); + } else _this.err = 'エラーコード【' + res.data.status + '】' + res.data.message; + })["catch"](function (err) { + _this.sending = false; + _this.err = 'サーバーエラーコード【' + err.response.status + '】' + err.response.data.message; + }); + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/contenttype.vue?vue&type=script&lang=js&": +/*!**********************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/contenttype.vue?vue&type=script&lang=js& ***! + \**********************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_bootstrap_datetimepicker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-bootstrap-datetimepicker */ "./node_modules/vue-bootstrap-datetimepicker/dist/vue-bootstrap-datetimepicker.js"); +/* harmony import */ var vue_bootstrap_datetimepicker__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_bootstrap_datetimepicker__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var pc_bootstrap4_datetimepicker_build_css_bootstrap_datetimepicker_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! pc-bootstrap4-datetimepicker/build/css/bootstrap-datetimepicker.css */ "./node_modules/pc-bootstrap4-datetimepicker/build/css/bootstrap-datetimepicker.css"); +/* harmony import */ var pc_bootstrap4_datetimepicker_build_css_bootstrap_datetimepicker_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(pc_bootstrap4_datetimepicker_build_css_bootstrap_datetimepicker_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +/* harmony default export */ __webpack_exports__["default"] = ({ + components: { + datePicker: vue_bootstrap_datetimepicker__WEBPACK_IMPORTED_MODULE_0___default.a + }, + props: { + c: String, + p: String, + m: null, + d: null + }, + data: function data() { + return { + options: { + format: 'YYYY年MM月DD日 HH:mm:ss', + locale: 'ja', + useCurrent: true, + showClear: true, + showClose: true + }, + choice: Number(this.c), + pub: Number(this.p), + menu: this.m, + pubdate: this.d + }; + }, + watch: { + choice: function choice(v) { + this.choice = Number(this.choice); + if (this.choice === 0) this.pub = 0;else this.menu = false; + }, + pub: function pub(v) { + this.pub = Number(this.pub); + if (this.pub !== 1) this.pubdate = null; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/deletecontent.vue?vue&type=script&lang=js&": +/*!************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/deletecontent.vue?vue&type=script&lang=js& ***! + \************************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-draggable-resizable */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.umd.min.js"); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-draggable-resizable/dist/VueDraggableResizable.css */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.css"); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +Vue.component('vue-draggable-resizable', vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default.a); +/* harmony default export */ __webpack_exports__["default"] = ({ + props: { + slug: '' + }, + data: function data() { + return { + show: false, + width: 0, + height: 0, + x: 0, + y: 0 + }; + }, + watch: { + text: function text(x) { + localStorage.shotanote = x; + } + }, + methods: { + del: function del() { + axios.post('/api/content/del', { + slug: this.slug + }).then(function () { + window.location.href = '/'; + }); + }, + onResize: function onResize(x, y, width, height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + }, + onDrag: function onDrag(x, y) { + this.x = x; + this.y = y; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/deletegame.vue?vue&type=script&lang=js&": +/*!*********************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/deletegame.vue?vue&type=script&lang=js& ***! + \*********************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-draggable-resizable */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.umd.min.js"); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-draggable-resizable/dist/VueDraggableResizable.css */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.css"); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +Vue.component('vue-draggable-resizable', vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default.a); +/* harmony default export */ __webpack_exports__["default"] = ({ + props: { + slug: '' + }, + data: function data() { + return { + show: false, + width: 0, + height: 0, + x: 0, + y: 0 + }; + }, + watch: { + text: function text(x) { + localStorage.shotanote = x; + } + }, + methods: { + del: function del() { + axios.post('/api/game/del', { + slug: this.slug + }).then(function () { + window.location.href = '/video'; + }); + }, + onResize: function onResize(x, y, width, height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + }, + onDrag: function onDrag(x, y) { + this.x = x; + this.y = y; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/deletevideo.vue?vue&type=script&lang=js&": +/*!**********************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/deletevideo.vue?vue&type=script&lang=js& ***! + \**********************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-draggable-resizable */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.umd.min.js"); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-draggable-resizable/dist/VueDraggableResizable.css */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.css"); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +Vue.component('vue-draggable-resizable', vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default.a); +/* harmony default export */ __webpack_exports__["default"] = ({ + props: { + slug: '' + }, + data: function data() { + return { + show: false, + width: 0, + height: 0, + x: 0, + y: 0 + }; + }, + watch: { + text: function text(x) { + localStorage.shotanote = x; + } + }, + methods: { + del: function del() { + axios.post('/api/video/del', { + slug: this.slug + }).then(function (res) { + window.location.href = '/video/' + res.data; + }); + }, + onResize: function onResize(x, y, width, height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + }, + onDrag: function onDrag(x, y) { + this.x = x; + this.y = y; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/discord.vue?vue&type=script&lang=js&": +/*!******************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/discord.vue?vue&type=script&lang=js& ***! + \******************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-draggable-resizable */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.umd.min.js"); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-draggable-resizable/dist/VueDraggableResizable.css */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.css"); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +Vue.component('vue-draggable-resizable', vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default.a); +/* harmony default export */ __webpack_exports__["default"] = ({ + data: function data() { + return { + show: false, + text: localStorage.shotanote || 'かいて〜♡', + width: 0, + height: 0, + x: 0, + y: 0 + }; + }, + watch: { + text: function text(x) { + localStorage.shotanote = x; + } + }, + methods: { + onResize: function onResize(x, y, width, height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + }, + onDrag: function onDrag(x, y) { + this.x = x; + this.y = y; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/gender.vue?vue&type=script&lang=js&": +/*!*****************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/gender.vue?vue&type=script&lang=js& ***! + \*****************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ __webpack_exports__["default"] = ({ + props: { + sel: 0 + }, + data: function data() { + return { + check: this.sel + }; + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/note.vue?vue&type=script&lang=js&": +/*!***************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/note.vue?vue&type=script&lang=js& ***! + \***************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-draggable-resizable */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.umd.min.js"); +/* harmony import */ var vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-draggable-resizable/dist/VueDraggableResizable.css */ "./node_modules/vue-draggable-resizable/dist/VueDraggableResizable.css"); +/* harmony import */ var vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_draggable_resizable_dist_VueDraggableResizable_css__WEBPACK_IMPORTED_MODULE_1__); +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + +Vue.component('vue-draggable-resizable', vue_draggable_resizable__WEBPACK_IMPORTED_MODULE_0___default.a); +/* harmony default export */ __webpack_exports__["default"] = ({ + data: function data() { + return { + show: false, + text: localStorage.shotanote || 'かいて〜♡', + width: 0, + height: 0, + x: 0, + y: 0 + }; + }, + watch: { + text: function text(x) { + localStorage.shotanote = x; + } + }, + methods: { + onResize: function onResize(x, y, width, height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + }, + onDrag: function onDrag(x, y) { + this.x = x; + this.y = y; + } + } +}); + +/***/ }), + +/***/ "./node_modules/bootstrap/dist/js/bootstrap.js": +/*!*****************************************************!*\ + !*** ./node_modules/bootstrap/dist/js/bootstrap.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +/*! + * Bootstrap v4.6.0 (https://getbootstrap.com/) + * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +(function (global, factory) { + true ? factory(exports, __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"), __webpack_require__(/*! popper.js */ "./node_modules/popper.js/dist/esm/popper.js")) : + undefined; +}(this, (function (exports, $, Popper) { 'use strict'; + + function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + + var $__default = /*#__PURE__*/_interopDefaultLegacy($); + var Popper__default = /*#__PURE__*/_interopDefaultLegacy(Popper); + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); + } + + function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v4.6.0): util.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * ------------------------------------------------------------------------ + * Private TransitionEnd Helpers + * ------------------------------------------------------------------------ + */ + + var TRANSITION_END = 'transitionend'; + var MAX_UID = 1000000; + var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) + + function toType(obj) { + if (obj === null || typeof obj === 'undefined') { + return "" + obj; + } + + return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); + } + + function getSpecialTransitionEndEvent() { + return { + bindType: TRANSITION_END, + delegateType: TRANSITION_END, + handle: function handle(event) { + if ($__default['default'](event.target).is(this)) { + return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params + } + + return undefined; + } + }; + } + + function transitionEndEmulator(duration) { + var _this = this; + + var called = false; + $__default['default'](this).one(Util.TRANSITION_END, function () { + called = true; + }); + setTimeout(function () { + if (!called) { + Util.triggerTransitionEnd(_this); + } + }, duration); + return this; + } + + function setTransitionEndSupport() { + $__default['default'].fn.emulateTransitionEnd = transitionEndEmulator; + $__default['default'].event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); + } + /** + * -------------------------------------------------------------------------- + * Public Util Api + * -------------------------------------------------------------------------- + */ + + + var Util = { + TRANSITION_END: 'bsTransitionEnd', + getUID: function getUID(prefix) { + do { + prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here + } while (document.getElementById(prefix)); + + return prefix; + }, + getSelectorFromElement: function getSelectorFromElement(element) { + var selector = element.getAttribute('data-target'); + + if (!selector || selector === '#') { + var hrefAttr = element.getAttribute('href'); + selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''; + } + + try { + return document.querySelector(selector) ? selector : null; + } catch (_) { + return null; + } + }, + getTransitionDurationFromElement: function getTransitionDurationFromElement(element) { + if (!element) { + return 0; + } // Get transition-duration of the element + + + var transitionDuration = $__default['default'](element).css('transition-duration'); + var transitionDelay = $__default['default'](element).css('transition-delay'); + var floatTransitionDuration = parseFloat(transitionDuration); + var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found + + if (!floatTransitionDuration && !floatTransitionDelay) { + return 0; + } // If multiple durations are defined, take the first + + + transitionDuration = transitionDuration.split(',')[0]; + transitionDelay = transitionDelay.split(',')[0]; + return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER; + }, + reflow: function reflow(element) { + return element.offsetHeight; + }, + triggerTransitionEnd: function triggerTransitionEnd(element) { + $__default['default'](element).trigger(TRANSITION_END); + }, + supportsTransitionEnd: function supportsTransitionEnd() { + return Boolean(TRANSITION_END); + }, + isElement: function isElement(obj) { + return (obj[0] || obj).nodeType; + }, + typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { + for (var property in configTypes) { + if (Object.prototype.hasOwnProperty.call(configTypes, property)) { + var expectedTypes = configTypes[property]; + var value = config[property]; + var valueType = value && Util.isElement(value) ? 'element' : toType(value); + + if (!new RegExp(expectedTypes).test(valueType)) { + throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\".")); + } + } + } + }, + findShadowRoot: function findShadowRoot(element) { + if (!document.documentElement.attachShadow) { + return null; + } // Can find the shadow root otherwise it'll return the document + + + if (typeof element.getRootNode === 'function') { + var root = element.getRootNode(); + return root instanceof ShadowRoot ? root : null; + } + + if (element instanceof ShadowRoot) { + return element; + } // when we don't find a shadow root + + + if (!element.parentNode) { + return null; + } + + return Util.findShadowRoot(element.parentNode); + }, + jQueryDetection: function jQueryDetection() { + if (typeof $__default['default'] === 'undefined') { + throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.'); + } + + var version = $__default['default'].fn.jquery.split(' ')[0].split('.'); + var minMajor = 1; + var ltMajor = 2; + var minMinor = 9; + var minPatch = 1; + var maxMajor = 4; + + if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) { + throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0'); + } + } + }; + Util.jQueryDetection(); + setTransitionEndSupport(); + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME = 'alert'; + var VERSION = '4.6.0'; + var DATA_KEY = 'bs.alert'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $__default['default'].fn[NAME]; + var SELECTOR_DISMISS = '[data-dismiss="alert"]'; + var EVENT_CLOSE = "close" + EVENT_KEY; + var EVENT_CLOSED = "closed" + EVENT_KEY; + var EVENT_CLICK_DATA_API = "click" + EVENT_KEY + DATA_API_KEY; + var CLASS_NAME_ALERT = 'alert'; + var CLASS_NAME_FADE = 'fade'; + var CLASS_NAME_SHOW = 'show'; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Alert = /*#__PURE__*/function () { + function Alert(element) { + this._element = element; + } // Getters + + + var _proto = Alert.prototype; + + // Public + _proto.close = function close(element) { + var rootElement = this._element; + + if (element) { + rootElement = this._getRootElement(element); + } + + var customEvent = this._triggerCloseEvent(rootElement); + + if (customEvent.isDefaultPrevented()) { + return; + } + + this._removeElement(rootElement); + }; + + _proto.dispose = function dispose() { + $__default['default'].removeData(this._element, DATA_KEY); + this._element = null; + } // Private + ; + + _proto._getRootElement = function _getRootElement(element) { + var selector = Util.getSelectorFromElement(element); + var parent = false; + + if (selector) { + parent = document.querySelector(selector); + } + + if (!parent) { + parent = $__default['default'](element).closest("." + CLASS_NAME_ALERT)[0]; + } + + return parent; + }; + + _proto._triggerCloseEvent = function _triggerCloseEvent(element) { + var closeEvent = $__default['default'].Event(EVENT_CLOSE); + $__default['default'](element).trigger(closeEvent); + return closeEvent; + }; + + _proto._removeElement = function _removeElement(element) { + var _this = this; + + $__default['default'](element).removeClass(CLASS_NAME_SHOW); + + if (!$__default['default'](element).hasClass(CLASS_NAME_FADE)) { + this._destroyElement(element); + + return; + } + + var transitionDuration = Util.getTransitionDurationFromElement(element); + $__default['default'](element).one(Util.TRANSITION_END, function (event) { + return _this._destroyElement(element, event); + }).emulateTransitionEnd(transitionDuration); + }; + + _proto._destroyElement = function _destroyElement(element) { + $__default['default'](element).detach().trigger(EVENT_CLOSED).remove(); + } // Static + ; + + Alert._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var $element = $__default['default'](this); + var data = $element.data(DATA_KEY); + + if (!data) { + data = new Alert(this); + $element.data(DATA_KEY, data); + } + + if (config === 'close') { + data[config](this); + } + }); + }; + + Alert._handleDismiss = function _handleDismiss(alertInstance) { + return function (event) { + if (event) { + event.preventDefault(); + } + + alertInstance.close(this); + }; + }; + + _createClass(Alert, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }]); + + return Alert; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $__default['default'](document).on(EVENT_CLICK_DATA_API, SELECTOR_DISMISS, Alert._handleDismiss(new Alert())); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $__default['default'].fn[NAME] = Alert._jQueryInterface; + $__default['default'].fn[NAME].Constructor = Alert; + + $__default['default'].fn[NAME].noConflict = function () { + $__default['default'].fn[NAME] = JQUERY_NO_CONFLICT; + return Alert._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$1 = 'button'; + var VERSION$1 = '4.6.0'; + var DATA_KEY$1 = 'bs.button'; + var EVENT_KEY$1 = "." + DATA_KEY$1; + var DATA_API_KEY$1 = '.data-api'; + var JQUERY_NO_CONFLICT$1 = $__default['default'].fn[NAME$1]; + var CLASS_NAME_ACTIVE = 'active'; + var CLASS_NAME_BUTTON = 'btn'; + var CLASS_NAME_FOCUS = 'focus'; + var SELECTOR_DATA_TOGGLE_CARROT = '[data-toggle^="button"]'; + var SELECTOR_DATA_TOGGLES = '[data-toggle="buttons"]'; + var SELECTOR_DATA_TOGGLE = '[data-toggle="button"]'; + var SELECTOR_DATA_TOGGLES_BUTTONS = '[data-toggle="buttons"] .btn'; + var SELECTOR_INPUT = 'input:not([type="hidden"])'; + var SELECTOR_ACTIVE = '.active'; + var SELECTOR_BUTTON = '.btn'; + var EVENT_CLICK_DATA_API$1 = "click" + EVENT_KEY$1 + DATA_API_KEY$1; + var EVENT_FOCUS_BLUR_DATA_API = "focus" + EVENT_KEY$1 + DATA_API_KEY$1 + " " + ("blur" + EVENT_KEY$1 + DATA_API_KEY$1); + var EVENT_LOAD_DATA_API = "load" + EVENT_KEY$1 + DATA_API_KEY$1; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Button = /*#__PURE__*/function () { + function Button(element) { + this._element = element; + this.shouldAvoidTriggerChange = false; + } // Getters + + + var _proto = Button.prototype; + + // Public + _proto.toggle = function toggle() { + var triggerChangeEvent = true; + var addAriaPressed = true; + var rootElement = $__default['default'](this._element).closest(SELECTOR_DATA_TOGGLES)[0]; + + if (rootElement) { + var input = this._element.querySelector(SELECTOR_INPUT); + + if (input) { + if (input.type === 'radio') { + if (input.checked && this._element.classList.contains(CLASS_NAME_ACTIVE)) { + triggerChangeEvent = false; + } else { + var activeElement = rootElement.querySelector(SELECTOR_ACTIVE); + + if (activeElement) { + $__default['default'](activeElement).removeClass(CLASS_NAME_ACTIVE); + } + } + } + + if (triggerChangeEvent) { + // if it's not a radio button or checkbox don't add a pointless/invalid checked property to the input + if (input.type === 'checkbox' || input.type === 'radio') { + input.checked = !this._element.classList.contains(CLASS_NAME_ACTIVE); + } + + if (!this.shouldAvoidTriggerChange) { + $__default['default'](input).trigger('change'); + } + } + + input.focus(); + addAriaPressed = false; + } + } + + if (!(this._element.hasAttribute('disabled') || this._element.classList.contains('disabled'))) { + if (addAriaPressed) { + this._element.setAttribute('aria-pressed', !this._element.classList.contains(CLASS_NAME_ACTIVE)); + } + + if (triggerChangeEvent) { + $__default['default'](this._element).toggleClass(CLASS_NAME_ACTIVE); + } + } + }; + + _proto.dispose = function dispose() { + $__default['default'].removeData(this._element, DATA_KEY$1); + this._element = null; + } // Static + ; + + Button._jQueryInterface = function _jQueryInterface(config, avoidTriggerChange) { + return this.each(function () { + var $element = $__default['default'](this); + var data = $element.data(DATA_KEY$1); + + if (!data) { + data = new Button(this); + $element.data(DATA_KEY$1, data); + } + + data.shouldAvoidTriggerChange = avoidTriggerChange; + + if (config === 'toggle') { + data[config](); + } + }); + }; + + _createClass(Button, null, [{ + key: "VERSION", + get: function get() { + return VERSION$1; + } + }]); + + return Button; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $__default['default'](document).on(EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE_CARROT, function (event) { + var button = event.target; + var initialButton = button; + + if (!$__default['default'](button).hasClass(CLASS_NAME_BUTTON)) { + button = $__default['default'](button).closest(SELECTOR_BUTTON)[0]; + } + + if (!button || button.hasAttribute('disabled') || button.classList.contains('disabled')) { + event.preventDefault(); // work around Firefox bug #1540995 + } else { + var inputBtn = button.querySelector(SELECTOR_INPUT); + + if (inputBtn && (inputBtn.hasAttribute('disabled') || inputBtn.classList.contains('disabled'))) { + event.preventDefault(); // work around Firefox bug #1540995 + + return; + } + + if (initialButton.tagName === 'INPUT' || button.tagName !== 'LABEL') { + Button._jQueryInterface.call($__default['default'](button), 'toggle', initialButton.tagName === 'INPUT'); + } + } + }).on(EVENT_FOCUS_BLUR_DATA_API, SELECTOR_DATA_TOGGLE_CARROT, function (event) { + var button = $__default['default'](event.target).closest(SELECTOR_BUTTON)[0]; + $__default['default'](button).toggleClass(CLASS_NAME_FOCUS, /^focus(in)?$/.test(event.type)); + }); + $__default['default'](window).on(EVENT_LOAD_DATA_API, function () { + // ensure correct active class is set to match the controls' actual values/states + // find all checkboxes/readio buttons inside data-toggle groups + var buttons = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLES_BUTTONS)); + + for (var i = 0, len = buttons.length; i < len; i++) { + var button = buttons[i]; + var input = button.querySelector(SELECTOR_INPUT); + + if (input.checked || input.hasAttribute('checked')) { + button.classList.add(CLASS_NAME_ACTIVE); + } else { + button.classList.remove(CLASS_NAME_ACTIVE); + } + } // find all button toggles + + + buttons = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE)); + + for (var _i = 0, _len = buttons.length; _i < _len; _i++) { + var _button = buttons[_i]; + + if (_button.getAttribute('aria-pressed') === 'true') { + _button.classList.add(CLASS_NAME_ACTIVE); + } else { + _button.classList.remove(CLASS_NAME_ACTIVE); + } + } + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $__default['default'].fn[NAME$1] = Button._jQueryInterface; + $__default['default'].fn[NAME$1].Constructor = Button; + + $__default['default'].fn[NAME$1].noConflict = function () { + $__default['default'].fn[NAME$1] = JQUERY_NO_CONFLICT$1; + return Button._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$2 = 'carousel'; + var VERSION$2 = '4.6.0'; + var DATA_KEY$2 = 'bs.carousel'; + var EVENT_KEY$2 = "." + DATA_KEY$2; + var DATA_API_KEY$2 = '.data-api'; + var JQUERY_NO_CONFLICT$2 = $__default['default'].fn[NAME$2]; + var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key + + var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key + + var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch + + var SWIPE_THRESHOLD = 40; + var Default = { + interval: 5000, + keyboard: true, + slide: false, + pause: 'hover', + wrap: true, + touch: true + }; + var DefaultType = { + interval: '(number|boolean)', + keyboard: 'boolean', + slide: '(boolean|string)', + pause: '(string|boolean)', + wrap: 'boolean', + touch: 'boolean' + }; + var DIRECTION_NEXT = 'next'; + var DIRECTION_PREV = 'prev'; + var DIRECTION_LEFT = 'left'; + var DIRECTION_RIGHT = 'right'; + var EVENT_SLIDE = "slide" + EVENT_KEY$2; + var EVENT_SLID = "slid" + EVENT_KEY$2; + var EVENT_KEYDOWN = "keydown" + EVENT_KEY$2; + var EVENT_MOUSEENTER = "mouseenter" + EVENT_KEY$2; + var EVENT_MOUSELEAVE = "mouseleave" + EVENT_KEY$2; + var EVENT_TOUCHSTART = "touchstart" + EVENT_KEY$2; + var EVENT_TOUCHMOVE = "touchmove" + EVENT_KEY$2; + var EVENT_TOUCHEND = "touchend" + EVENT_KEY$2; + var EVENT_POINTERDOWN = "pointerdown" + EVENT_KEY$2; + var EVENT_POINTERUP = "pointerup" + EVENT_KEY$2; + var EVENT_DRAG_START = "dragstart" + EVENT_KEY$2; + var EVENT_LOAD_DATA_API$1 = "load" + EVENT_KEY$2 + DATA_API_KEY$2; + var EVENT_CLICK_DATA_API$2 = "click" + EVENT_KEY$2 + DATA_API_KEY$2; + var CLASS_NAME_CAROUSEL = 'carousel'; + var CLASS_NAME_ACTIVE$1 = 'active'; + var CLASS_NAME_SLIDE = 'slide'; + var CLASS_NAME_RIGHT = 'carousel-item-right'; + var CLASS_NAME_LEFT = 'carousel-item-left'; + var CLASS_NAME_NEXT = 'carousel-item-next'; + var CLASS_NAME_PREV = 'carousel-item-prev'; + var CLASS_NAME_POINTER_EVENT = 'pointer-event'; + var SELECTOR_ACTIVE$1 = '.active'; + var SELECTOR_ACTIVE_ITEM = '.active.carousel-item'; + var SELECTOR_ITEM = '.carousel-item'; + var SELECTOR_ITEM_IMG = '.carousel-item img'; + var SELECTOR_NEXT_PREV = '.carousel-item-next, .carousel-item-prev'; + var SELECTOR_INDICATORS = '.carousel-indicators'; + var SELECTOR_DATA_SLIDE = '[data-slide], [data-slide-to]'; + var SELECTOR_DATA_RIDE = '[data-ride="carousel"]'; + var PointerType = { + TOUCH: 'touch', + PEN: 'pen' + }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Carousel = /*#__PURE__*/function () { + function Carousel(element, config) { + this._items = null; + this._interval = null; + this._activeElement = null; + this._isPaused = false; + this._isSliding = false; + this.touchTimeout = null; + this.touchStartX = 0; + this.touchDeltaX = 0; + this._config = this._getConfig(config); + this._element = element; + this._indicatorsElement = this._element.querySelector(SELECTOR_INDICATORS); + this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0; + this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent); + + this._addEventListeners(); + } // Getters + + + var _proto = Carousel.prototype; + + // Public + _proto.next = function next() { + if (!this._isSliding) { + this._slide(DIRECTION_NEXT); + } + }; + + _proto.nextWhenVisible = function nextWhenVisible() { + var $element = $__default['default'](this._element); // Don't call next when the page isn't visible + // or the carousel or its parent isn't visible + + if (!document.hidden && $element.is(':visible') && $element.css('visibility') !== 'hidden') { + this.next(); + } + }; + + _proto.prev = function prev() { + if (!this._isSliding) { + this._slide(DIRECTION_PREV); + } + }; + + _proto.pause = function pause(event) { + if (!event) { + this._isPaused = true; + } + + if (this._element.querySelector(SELECTOR_NEXT_PREV)) { + Util.triggerTransitionEnd(this._element); + this.cycle(true); + } + + clearInterval(this._interval); + this._interval = null; + }; + + _proto.cycle = function cycle(event) { + if (!event) { + this._isPaused = false; + } + + if (this._interval) { + clearInterval(this._interval); + this._interval = null; + } + + if (this._config.interval && !this._isPaused) { + this._updateInterval(); + + this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval); + } + }; + + _proto.to = function to(index) { + var _this = this; + + this._activeElement = this._element.querySelector(SELECTOR_ACTIVE_ITEM); + + var activeIndex = this._getItemIndex(this._activeElement); + + if (index > this._items.length - 1 || index < 0) { + return; + } + + if (this._isSliding) { + $__default['default'](this._element).one(EVENT_SLID, function () { + return _this.to(index); + }); + return; + } + + if (activeIndex === index) { + this.pause(); + this.cycle(); + return; + } + + var direction = index > activeIndex ? DIRECTION_NEXT : DIRECTION_PREV; + + this._slide(direction, this._items[index]); + }; + + _proto.dispose = function dispose() { + $__default['default'](this._element).off(EVENT_KEY$2); + $__default['default'].removeData(this._element, DATA_KEY$2); + this._items = null; + this._config = null; + this._element = null; + this._interval = null; + this._isPaused = null; + this._isSliding = null; + this._activeElement = null; + this._indicatorsElement = null; + } // Private + ; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default, config); + Util.typeCheckConfig(NAME$2, config, DefaultType); + return config; + }; + + _proto._handleSwipe = function _handleSwipe() { + var absDeltax = Math.abs(this.touchDeltaX); + + if (absDeltax <= SWIPE_THRESHOLD) { + return; + } + + var direction = absDeltax / this.touchDeltaX; + this.touchDeltaX = 0; // swipe left + + if (direction > 0) { + this.prev(); + } // swipe right + + + if (direction < 0) { + this.next(); + } + }; + + _proto._addEventListeners = function _addEventListeners() { + var _this2 = this; + + if (this._config.keyboard) { + $__default['default'](this._element).on(EVENT_KEYDOWN, function (event) { + return _this2._keydown(event); + }); + } + + if (this._config.pause === 'hover') { + $__default['default'](this._element).on(EVENT_MOUSEENTER, function (event) { + return _this2.pause(event); + }).on(EVENT_MOUSELEAVE, function (event) { + return _this2.cycle(event); + }); + } + + if (this._config.touch) { + this._addTouchEventListeners(); + } + }; + + _proto._addTouchEventListeners = function _addTouchEventListeners() { + var _this3 = this; + + if (!this._touchSupported) { + return; + } + + var start = function start(event) { + if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) { + _this3.touchStartX = event.originalEvent.clientX; + } else if (!_this3._pointerEvent) { + _this3.touchStartX = event.originalEvent.touches[0].clientX; + } + }; + + var move = function move(event) { + // ensure swiping with one touch and not pinching + if (event.originalEvent.touches && event.originalEvent.touches.length > 1) { + _this3.touchDeltaX = 0; + } else { + _this3.touchDeltaX = event.originalEvent.touches[0].clientX - _this3.touchStartX; + } + }; + + var end = function end(event) { + if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) { + _this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX; + } + + _this3._handleSwipe(); + + if (_this3._config.pause === 'hover') { + // If it's a touch-enabled device, mouseenter/leave are fired as + // part of the mouse compatibility events on first tap - the carousel + // would stop cycling until user tapped out of it; + // here, we listen for touchend, explicitly pause the carousel + // (as if it's the second time we tap on it, mouseenter compat event + // is NOT fired) and after a timeout (to allow for mouse compatibility + // events to fire) we explicitly restart cycling + _this3.pause(); + + if (_this3.touchTimeout) { + clearTimeout(_this3.touchTimeout); + } + + _this3.touchTimeout = setTimeout(function (event) { + return _this3.cycle(event); + }, TOUCHEVENT_COMPAT_WAIT + _this3._config.interval); + } + }; + + $__default['default'](this._element.querySelectorAll(SELECTOR_ITEM_IMG)).on(EVENT_DRAG_START, function (e) { + return e.preventDefault(); + }); + + if (this._pointerEvent) { + $__default['default'](this._element).on(EVENT_POINTERDOWN, function (event) { + return start(event); + }); + $__default['default'](this._element).on(EVENT_POINTERUP, function (event) { + return end(event); + }); + + this._element.classList.add(CLASS_NAME_POINTER_EVENT); + } else { + $__default['default'](this._element).on(EVENT_TOUCHSTART, function (event) { + return start(event); + }); + $__default['default'](this._element).on(EVENT_TOUCHMOVE, function (event) { + return move(event); + }); + $__default['default'](this._element).on(EVENT_TOUCHEND, function (event) { + return end(event); + }); + } + }; + + _proto._keydown = function _keydown(event) { + if (/input|textarea/i.test(event.target.tagName)) { + return; + } + + switch (event.which) { + case ARROW_LEFT_KEYCODE: + event.preventDefault(); + this.prev(); + break; + + case ARROW_RIGHT_KEYCODE: + event.preventDefault(); + this.next(); + break; + } + }; + + _proto._getItemIndex = function _getItemIndex(element) { + this._items = element && element.parentNode ? [].slice.call(element.parentNode.querySelectorAll(SELECTOR_ITEM)) : []; + return this._items.indexOf(element); + }; + + _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) { + var isNextDirection = direction === DIRECTION_NEXT; + var isPrevDirection = direction === DIRECTION_PREV; + + var activeIndex = this._getItemIndex(activeElement); + + var lastItemIndex = this._items.length - 1; + var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex; + + if (isGoingToWrap && !this._config.wrap) { + return activeElement; + } + + var delta = direction === DIRECTION_PREV ? -1 : 1; + var itemIndex = (activeIndex + delta) % this._items.length; + return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex]; + }; + + _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) { + var targetIndex = this._getItemIndex(relatedTarget); + + var fromIndex = this._getItemIndex(this._element.querySelector(SELECTOR_ACTIVE_ITEM)); + + var slideEvent = $__default['default'].Event(EVENT_SLIDE, { + relatedTarget: relatedTarget, + direction: eventDirectionName, + from: fromIndex, + to: targetIndex + }); + $__default['default'](this._element).trigger(slideEvent); + return slideEvent; + }; + + _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) { + if (this._indicatorsElement) { + var indicators = [].slice.call(this._indicatorsElement.querySelectorAll(SELECTOR_ACTIVE$1)); + $__default['default'](indicators).removeClass(CLASS_NAME_ACTIVE$1); + + var nextIndicator = this._indicatorsElement.children[this._getItemIndex(element)]; + + if (nextIndicator) { + $__default['default'](nextIndicator).addClass(CLASS_NAME_ACTIVE$1); + } + } + }; + + _proto._updateInterval = function _updateInterval() { + var element = this._activeElement || this._element.querySelector(SELECTOR_ACTIVE_ITEM); + + if (!element) { + return; + } + + var elementInterval = parseInt(element.getAttribute('data-interval'), 10); + + if (elementInterval) { + this._config.defaultInterval = this._config.defaultInterval || this._config.interval; + this._config.interval = elementInterval; + } else { + this._config.interval = this._config.defaultInterval || this._config.interval; + } + }; + + _proto._slide = function _slide(direction, element) { + var _this4 = this; + + var activeElement = this._element.querySelector(SELECTOR_ACTIVE_ITEM); + + var activeElementIndex = this._getItemIndex(activeElement); + + var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement); + + var nextElementIndex = this._getItemIndex(nextElement); + + var isCycling = Boolean(this._interval); + var directionalClassName; + var orderClassName; + var eventDirectionName; + + if (direction === DIRECTION_NEXT) { + directionalClassName = CLASS_NAME_LEFT; + orderClassName = CLASS_NAME_NEXT; + eventDirectionName = DIRECTION_LEFT; + } else { + directionalClassName = CLASS_NAME_RIGHT; + orderClassName = CLASS_NAME_PREV; + eventDirectionName = DIRECTION_RIGHT; + } + + if (nextElement && $__default['default'](nextElement).hasClass(CLASS_NAME_ACTIVE$1)) { + this._isSliding = false; + return; + } + + var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName); + + if (slideEvent.isDefaultPrevented()) { + return; + } + + if (!activeElement || !nextElement) { + // Some weirdness is happening, so we bail + return; + } + + this._isSliding = true; + + if (isCycling) { + this.pause(); + } + + this._setActiveIndicatorElement(nextElement); + + this._activeElement = nextElement; + var slidEvent = $__default['default'].Event(EVENT_SLID, { + relatedTarget: nextElement, + direction: eventDirectionName, + from: activeElementIndex, + to: nextElementIndex + }); + + if ($__default['default'](this._element).hasClass(CLASS_NAME_SLIDE)) { + $__default['default'](nextElement).addClass(orderClassName); + Util.reflow(nextElement); + $__default['default'](activeElement).addClass(directionalClassName); + $__default['default'](nextElement).addClass(directionalClassName); + var transitionDuration = Util.getTransitionDurationFromElement(activeElement); + $__default['default'](activeElement).one(Util.TRANSITION_END, function () { + $__default['default'](nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(CLASS_NAME_ACTIVE$1); + $__default['default'](activeElement).removeClass(CLASS_NAME_ACTIVE$1 + " " + orderClassName + " " + directionalClassName); + _this4._isSliding = false; + setTimeout(function () { + return $__default['default'](_this4._element).trigger(slidEvent); + }, 0); + }).emulateTransitionEnd(transitionDuration); + } else { + $__default['default'](activeElement).removeClass(CLASS_NAME_ACTIVE$1); + $__default['default'](nextElement).addClass(CLASS_NAME_ACTIVE$1); + this._isSliding = false; + $__default['default'](this._element).trigger(slidEvent); + } + + if (isCycling) { + this.cycle(); + } + } // Static + ; + + Carousel._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $__default['default'](this).data(DATA_KEY$2); + + var _config = _extends({}, Default, $__default['default'](this).data()); + + if (typeof config === 'object') { + _config = _extends({}, _config, config); + } + + var action = typeof config === 'string' ? config : _config.slide; + + if (!data) { + data = new Carousel(this, _config); + $__default['default'](this).data(DATA_KEY$2, data); + } + + if (typeof config === 'number') { + data.to(config); + } else if (typeof action === 'string') { + if (typeof data[action] === 'undefined') { + throw new TypeError("No method named \"" + action + "\""); + } + + data[action](); + } else if (_config.interval && _config.ride) { + data.pause(); + data.cycle(); + } + }); + }; + + Carousel._dataApiClickHandler = function _dataApiClickHandler(event) { + var selector = Util.getSelectorFromElement(this); + + if (!selector) { + return; + } + + var target = $__default['default'](selector)[0]; + + if (!target || !$__default['default'](target).hasClass(CLASS_NAME_CAROUSEL)) { + return; + } + + var config = _extends({}, $__default['default'](target).data(), $__default['default'](this).data()); + + var slideIndex = this.getAttribute('data-slide-to'); + + if (slideIndex) { + config.interval = false; + } + + Carousel._jQueryInterface.call($__default['default'](target), config); + + if (slideIndex) { + $__default['default'](target).data(DATA_KEY$2).to(slideIndex); + } + + event.preventDefault(); + }; + + _createClass(Carousel, null, [{ + key: "VERSION", + get: function get() { + return VERSION$2; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }]); + + return Carousel; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $__default['default'](document).on(EVENT_CLICK_DATA_API$2, SELECTOR_DATA_SLIDE, Carousel._dataApiClickHandler); + $__default['default'](window).on(EVENT_LOAD_DATA_API$1, function () { + var carousels = [].slice.call(document.querySelectorAll(SELECTOR_DATA_RIDE)); + + for (var i = 0, len = carousels.length; i < len; i++) { + var $carousel = $__default['default'](carousels[i]); + + Carousel._jQueryInterface.call($carousel, $carousel.data()); + } + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $__default['default'].fn[NAME$2] = Carousel._jQueryInterface; + $__default['default'].fn[NAME$2].Constructor = Carousel; + + $__default['default'].fn[NAME$2].noConflict = function () { + $__default['default'].fn[NAME$2] = JQUERY_NO_CONFLICT$2; + return Carousel._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$3 = 'collapse'; + var VERSION$3 = '4.6.0'; + var DATA_KEY$3 = 'bs.collapse'; + var EVENT_KEY$3 = "." + DATA_KEY$3; + var DATA_API_KEY$3 = '.data-api'; + var JQUERY_NO_CONFLICT$3 = $__default['default'].fn[NAME$3]; + var Default$1 = { + toggle: true, + parent: '' + }; + var DefaultType$1 = { + toggle: 'boolean', + parent: '(string|element)' + }; + var EVENT_SHOW = "show" + EVENT_KEY$3; + var EVENT_SHOWN = "shown" + EVENT_KEY$3; + var EVENT_HIDE = "hide" + EVENT_KEY$3; + var EVENT_HIDDEN = "hidden" + EVENT_KEY$3; + var EVENT_CLICK_DATA_API$3 = "click" + EVENT_KEY$3 + DATA_API_KEY$3; + var CLASS_NAME_SHOW$1 = 'show'; + var CLASS_NAME_COLLAPSE = 'collapse'; + var CLASS_NAME_COLLAPSING = 'collapsing'; + var CLASS_NAME_COLLAPSED = 'collapsed'; + var DIMENSION_WIDTH = 'width'; + var DIMENSION_HEIGHT = 'height'; + var SELECTOR_ACTIVES = '.show, .collapsing'; + var SELECTOR_DATA_TOGGLE$1 = '[data-toggle="collapse"]'; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Collapse = /*#__PURE__*/function () { + function Collapse(element, config) { + this._isTransitioning = false; + this._element = element; + this._config = this._getConfig(config); + this._triggerArray = [].slice.call(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]"))); + var toggleList = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE$1)); + + for (var i = 0, len = toggleList.length; i < len; i++) { + var elem = toggleList[i]; + var selector = Util.getSelectorFromElement(elem); + var filterElement = [].slice.call(document.querySelectorAll(selector)).filter(function (foundElem) { + return foundElem === element; + }); + + if (selector !== null && filterElement.length > 0) { + this._selector = selector; + + this._triggerArray.push(elem); + } + } + + this._parent = this._config.parent ? this._getParent() : null; + + if (!this._config.parent) { + this._addAriaAndCollapsedClass(this._element, this._triggerArray); + } + + if (this._config.toggle) { + this.toggle(); + } + } // Getters + + + var _proto = Collapse.prototype; + + // Public + _proto.toggle = function toggle() { + if ($__default['default'](this._element).hasClass(CLASS_NAME_SHOW$1)) { + this.hide(); + } else { + this.show(); + } + }; + + _proto.show = function show() { + var _this = this; + + if (this._isTransitioning || $__default['default'](this._element).hasClass(CLASS_NAME_SHOW$1)) { + return; + } + + var actives; + var activesData; + + if (this._parent) { + actives = [].slice.call(this._parent.querySelectorAll(SELECTOR_ACTIVES)).filter(function (elem) { + if (typeof _this._config.parent === 'string') { + return elem.getAttribute('data-parent') === _this._config.parent; + } + + return elem.classList.contains(CLASS_NAME_COLLAPSE); + }); + + if (actives.length === 0) { + actives = null; + } + } + + if (actives) { + activesData = $__default['default'](actives).not(this._selector).data(DATA_KEY$3); + + if (activesData && activesData._isTransitioning) { + return; + } + } + + var startEvent = $__default['default'].Event(EVENT_SHOW); + $__default['default'](this._element).trigger(startEvent); + + if (startEvent.isDefaultPrevented()) { + return; + } + + if (actives) { + Collapse._jQueryInterface.call($__default['default'](actives).not(this._selector), 'hide'); + + if (!activesData) { + $__default['default'](actives).data(DATA_KEY$3, null); + } + } + + var dimension = this._getDimension(); + + $__default['default'](this._element).removeClass(CLASS_NAME_COLLAPSE).addClass(CLASS_NAME_COLLAPSING); + this._element.style[dimension] = 0; + + if (this._triggerArray.length) { + $__default['default'](this._triggerArray).removeClass(CLASS_NAME_COLLAPSED).attr('aria-expanded', true); + } + + this.setTransitioning(true); + + var complete = function complete() { + $__default['default'](_this._element).removeClass(CLASS_NAME_COLLAPSING).addClass(CLASS_NAME_COLLAPSE + " " + CLASS_NAME_SHOW$1); + _this._element.style[dimension] = ''; + + _this.setTransitioning(false); + + $__default['default'](_this._element).trigger(EVENT_SHOWN); + }; + + var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1); + var scrollSize = "scroll" + capitalizedDimension; + var transitionDuration = Util.getTransitionDurationFromElement(this._element); + $__default['default'](this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration); + this._element.style[dimension] = this._element[scrollSize] + "px"; + }; + + _proto.hide = function hide() { + var _this2 = this; + + if (this._isTransitioning || !$__default['default'](this._element).hasClass(CLASS_NAME_SHOW$1)) { + return; + } + + var startEvent = $__default['default'].Event(EVENT_HIDE); + $__default['default'](this._element).trigger(startEvent); + + if (startEvent.isDefaultPrevented()) { + return; + } + + var dimension = this._getDimension(); + + this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px"; + Util.reflow(this._element); + $__default['default'](this._element).addClass(CLASS_NAME_COLLAPSING).removeClass(CLASS_NAME_COLLAPSE + " " + CLASS_NAME_SHOW$1); + var triggerArrayLength = this._triggerArray.length; + + if (triggerArrayLength > 0) { + for (var i = 0; i < triggerArrayLength; i++) { + var trigger = this._triggerArray[i]; + var selector = Util.getSelectorFromElement(trigger); + + if (selector !== null) { + var $elem = $__default['default']([].slice.call(document.querySelectorAll(selector))); + + if (!$elem.hasClass(CLASS_NAME_SHOW$1)) { + $__default['default'](trigger).addClass(CLASS_NAME_COLLAPSED).attr('aria-expanded', false); + } + } + } + } + + this.setTransitioning(true); + + var complete = function complete() { + _this2.setTransitioning(false); + + $__default['default'](_this2._element).removeClass(CLASS_NAME_COLLAPSING).addClass(CLASS_NAME_COLLAPSE).trigger(EVENT_HIDDEN); + }; + + this._element.style[dimension] = ''; + var transitionDuration = Util.getTransitionDurationFromElement(this._element); + $__default['default'](this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration); + }; + + _proto.setTransitioning = function setTransitioning(isTransitioning) { + this._isTransitioning = isTransitioning; + }; + + _proto.dispose = function dispose() { + $__default['default'].removeData(this._element, DATA_KEY$3); + this._config = null; + this._parent = null; + this._element = null; + this._triggerArray = null; + this._isTransitioning = null; + } // Private + ; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default$1, config); + config.toggle = Boolean(config.toggle); // Coerce string values + + Util.typeCheckConfig(NAME$3, config, DefaultType$1); + return config; + }; + + _proto._getDimension = function _getDimension() { + var hasWidth = $__default['default'](this._element).hasClass(DIMENSION_WIDTH); + return hasWidth ? DIMENSION_WIDTH : DIMENSION_HEIGHT; + }; + + _proto._getParent = function _getParent() { + var _this3 = this; + + var parent; + + if (Util.isElement(this._config.parent)) { + parent = this._config.parent; // It's a jQuery object + + if (typeof this._config.parent.jquery !== 'undefined') { + parent = this._config.parent[0]; + } + } else { + parent = document.querySelector(this._config.parent); + } + + var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]"; + var children = [].slice.call(parent.querySelectorAll(selector)); + $__default['default'](children).each(function (i, element) { + _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]); + }); + return parent; + }; + + _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) { + var isOpen = $__default['default'](element).hasClass(CLASS_NAME_SHOW$1); + + if (triggerArray.length) { + $__default['default'](triggerArray).toggleClass(CLASS_NAME_COLLAPSED, !isOpen).attr('aria-expanded', isOpen); + } + } // Static + ; + + Collapse._getTargetFromElement = function _getTargetFromElement(element) { + var selector = Util.getSelectorFromElement(element); + return selector ? document.querySelector(selector) : null; + }; + + Collapse._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var $element = $__default['default'](this); + var data = $element.data(DATA_KEY$3); + + var _config = _extends({}, Default$1, $element.data(), typeof config === 'object' && config ? config : {}); + + if (!data && _config.toggle && typeof config === 'string' && /show|hide/.test(config)) { + _config.toggle = false; + } + + if (!data) { + data = new Collapse(this, _config); + $element.data(DATA_KEY$3, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + _createClass(Collapse, null, [{ + key: "VERSION", + get: function get() { + return VERSION$3; + } + }, { + key: "Default", + get: function get() { + return Default$1; + } + }]); + + return Collapse; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $__default['default'](document).on(EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$1, function (event) { + // preventDefault only for elements (which change the URL) not inside the collapsible element + if (event.currentTarget.tagName === 'A') { + event.preventDefault(); + } + + var $trigger = $__default['default'](this); + var selector = Util.getSelectorFromElement(this); + var selectors = [].slice.call(document.querySelectorAll(selector)); + $__default['default'](selectors).each(function () { + var $target = $__default['default'](this); + var data = $target.data(DATA_KEY$3); + var config = data ? 'toggle' : $trigger.data(); + + Collapse._jQueryInterface.call($target, config); + }); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $__default['default'].fn[NAME$3] = Collapse._jQueryInterface; + $__default['default'].fn[NAME$3].Constructor = Collapse; + + $__default['default'].fn[NAME$3].noConflict = function () { + $__default['default'].fn[NAME$3] = JQUERY_NO_CONFLICT$3; + return Collapse._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$4 = 'dropdown'; + var VERSION$4 = '4.6.0'; + var DATA_KEY$4 = 'bs.dropdown'; + var EVENT_KEY$4 = "." + DATA_KEY$4; + var DATA_API_KEY$4 = '.data-api'; + var JQUERY_NO_CONFLICT$4 = $__default['default'].fn[NAME$4]; + var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key + + var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key + + var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key + + var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key + + var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key + + var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse) + + var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE); + var EVENT_HIDE$1 = "hide" + EVENT_KEY$4; + var EVENT_HIDDEN$1 = "hidden" + EVENT_KEY$4; + var EVENT_SHOW$1 = "show" + EVENT_KEY$4; + var EVENT_SHOWN$1 = "shown" + EVENT_KEY$4; + var EVENT_CLICK = "click" + EVENT_KEY$4; + var EVENT_CLICK_DATA_API$4 = "click" + EVENT_KEY$4 + DATA_API_KEY$4; + var EVENT_KEYDOWN_DATA_API = "keydown" + EVENT_KEY$4 + DATA_API_KEY$4; + var EVENT_KEYUP_DATA_API = "keyup" + EVENT_KEY$4 + DATA_API_KEY$4; + var CLASS_NAME_DISABLED = 'disabled'; + var CLASS_NAME_SHOW$2 = 'show'; + var CLASS_NAME_DROPUP = 'dropup'; + var CLASS_NAME_DROPRIGHT = 'dropright'; + var CLASS_NAME_DROPLEFT = 'dropleft'; + var CLASS_NAME_MENURIGHT = 'dropdown-menu-right'; + var CLASS_NAME_POSITION_STATIC = 'position-static'; + var SELECTOR_DATA_TOGGLE$2 = '[data-toggle="dropdown"]'; + var SELECTOR_FORM_CHILD = '.dropdown form'; + var SELECTOR_MENU = '.dropdown-menu'; + var SELECTOR_NAVBAR_NAV = '.navbar-nav'; + var SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'; + var PLACEMENT_TOP = 'top-start'; + var PLACEMENT_TOPEND = 'top-end'; + var PLACEMENT_BOTTOM = 'bottom-start'; + var PLACEMENT_BOTTOMEND = 'bottom-end'; + var PLACEMENT_RIGHT = 'right-start'; + var PLACEMENT_LEFT = 'left-start'; + var Default$2 = { + offset: 0, + flip: true, + boundary: 'scrollParent', + reference: 'toggle', + display: 'dynamic', + popperConfig: null + }; + var DefaultType$2 = { + offset: '(number|string|function)', + flip: 'boolean', + boundary: '(string|element)', + reference: '(string|element)', + display: 'string', + popperConfig: '(null|object)' + }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Dropdown = /*#__PURE__*/function () { + function Dropdown(element, config) { + this._element = element; + this._popper = null; + this._config = this._getConfig(config); + this._menu = this._getMenuElement(); + this._inNavbar = this._detectNavbar(); + + this._addEventListeners(); + } // Getters + + + var _proto = Dropdown.prototype; + + // Public + _proto.toggle = function toggle() { + if (this._element.disabled || $__default['default'](this._element).hasClass(CLASS_NAME_DISABLED)) { + return; + } + + var isActive = $__default['default'](this._menu).hasClass(CLASS_NAME_SHOW$2); + + Dropdown._clearMenus(); + + if (isActive) { + return; + } + + this.show(true); + }; + + _proto.show = function show(usePopper) { + if (usePopper === void 0) { + usePopper = false; + } + + if (this._element.disabled || $__default['default'](this._element).hasClass(CLASS_NAME_DISABLED) || $__default['default'](this._menu).hasClass(CLASS_NAME_SHOW$2)) { + return; + } + + var relatedTarget = { + relatedTarget: this._element + }; + var showEvent = $__default['default'].Event(EVENT_SHOW$1, relatedTarget); + + var parent = Dropdown._getParentFromElement(this._element); + + $__default['default'](parent).trigger(showEvent); + + if (showEvent.isDefaultPrevented()) { + return; + } // Totally disable Popper for Dropdowns in Navbar + + + if (!this._inNavbar && usePopper) { + /** + * Check for Popper dependency + * Popper - https://popper.js.org + */ + if (typeof Popper__default['default'] === 'undefined') { + throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)'); + } + + var referenceElement = this._element; + + if (this._config.reference === 'parent') { + referenceElement = parent; + } else if (Util.isElement(this._config.reference)) { + referenceElement = this._config.reference; // Check if it's jQuery element + + if (typeof this._config.reference.jquery !== 'undefined') { + referenceElement = this._config.reference[0]; + } + } // If boundary is not `scrollParent`, then set position to `static` + // to allow the menu to "escape" the scroll parent's boundaries + // https://github.com/twbs/bootstrap/issues/24251 + + + if (this._config.boundary !== 'scrollParent') { + $__default['default'](parent).addClass(CLASS_NAME_POSITION_STATIC); + } + + this._popper = new Popper__default['default'](referenceElement, this._menu, this._getPopperConfig()); + } // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + + + if ('ontouchstart' in document.documentElement && $__default['default'](parent).closest(SELECTOR_NAVBAR_NAV).length === 0) { + $__default['default'](document.body).children().on('mouseover', null, $__default['default'].noop); + } + + this._element.focus(); + + this._element.setAttribute('aria-expanded', true); + + $__default['default'](this._menu).toggleClass(CLASS_NAME_SHOW$2); + $__default['default'](parent).toggleClass(CLASS_NAME_SHOW$2).trigger($__default['default'].Event(EVENT_SHOWN$1, relatedTarget)); + }; + + _proto.hide = function hide() { + if (this._element.disabled || $__default['default'](this._element).hasClass(CLASS_NAME_DISABLED) || !$__default['default'](this._menu).hasClass(CLASS_NAME_SHOW$2)) { + return; + } + + var relatedTarget = { + relatedTarget: this._element + }; + var hideEvent = $__default['default'].Event(EVENT_HIDE$1, relatedTarget); + + var parent = Dropdown._getParentFromElement(this._element); + + $__default['default'](parent).trigger(hideEvent); + + if (hideEvent.isDefaultPrevented()) { + return; + } + + if (this._popper) { + this._popper.destroy(); + } + + $__default['default'](this._menu).toggleClass(CLASS_NAME_SHOW$2); + $__default['default'](parent).toggleClass(CLASS_NAME_SHOW$2).trigger($__default['default'].Event(EVENT_HIDDEN$1, relatedTarget)); + }; + + _proto.dispose = function dispose() { + $__default['default'].removeData(this._element, DATA_KEY$4); + $__default['default'](this._element).off(EVENT_KEY$4); + this._element = null; + this._menu = null; + + if (this._popper !== null) { + this._popper.destroy(); + + this._popper = null; + } + }; + + _proto.update = function update() { + this._inNavbar = this._detectNavbar(); + + if (this._popper !== null) { + this._popper.scheduleUpdate(); + } + } // Private + ; + + _proto._addEventListeners = function _addEventListeners() { + var _this = this; + + $__default['default'](this._element).on(EVENT_CLICK, function (event) { + event.preventDefault(); + event.stopPropagation(); + + _this.toggle(); + }); + }; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, this.constructor.Default, $__default['default'](this._element).data(), config); + Util.typeCheckConfig(NAME$4, config, this.constructor.DefaultType); + return config; + }; + + _proto._getMenuElement = function _getMenuElement() { + if (!this._menu) { + var parent = Dropdown._getParentFromElement(this._element); + + if (parent) { + this._menu = parent.querySelector(SELECTOR_MENU); + } + } + + return this._menu; + }; + + _proto._getPlacement = function _getPlacement() { + var $parentDropdown = $__default['default'](this._element.parentNode); + var placement = PLACEMENT_BOTTOM; // Handle dropup + + if ($parentDropdown.hasClass(CLASS_NAME_DROPUP)) { + placement = $__default['default'](this._menu).hasClass(CLASS_NAME_MENURIGHT) ? PLACEMENT_TOPEND : PLACEMENT_TOP; + } else if ($parentDropdown.hasClass(CLASS_NAME_DROPRIGHT)) { + placement = PLACEMENT_RIGHT; + } else if ($parentDropdown.hasClass(CLASS_NAME_DROPLEFT)) { + placement = PLACEMENT_LEFT; + } else if ($__default['default'](this._menu).hasClass(CLASS_NAME_MENURIGHT)) { + placement = PLACEMENT_BOTTOMEND; + } + + return placement; + }; + + _proto._detectNavbar = function _detectNavbar() { + return $__default['default'](this._element).closest('.navbar').length > 0; + }; + + _proto._getOffset = function _getOffset() { + var _this2 = this; + + var offset = {}; + + if (typeof this._config.offset === 'function') { + offset.fn = function (data) { + data.offsets = _extends({}, data.offsets, _this2._config.offset(data.offsets, _this2._element) || {}); + return data; + }; + } else { + offset.offset = this._config.offset; + } + + return offset; + }; + + _proto._getPopperConfig = function _getPopperConfig() { + var popperConfig = { + placement: this._getPlacement(), + modifiers: { + offset: this._getOffset(), + flip: { + enabled: this._config.flip + }, + preventOverflow: { + boundariesElement: this._config.boundary + } + } + }; // Disable Popper if we have a static display + + if (this._config.display === 'static') { + popperConfig.modifiers.applyStyle = { + enabled: false + }; + } + + return _extends({}, popperConfig, this._config.popperConfig); + } // Static + ; + + Dropdown._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $__default['default'](this).data(DATA_KEY$4); + + var _config = typeof config === 'object' ? config : null; + + if (!data) { + data = new Dropdown(this, _config); + $__default['default'](this).data(DATA_KEY$4, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + Dropdown._clearMenus = function _clearMenus(event) { + if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) { + return; + } + + var toggles = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE$2)); + + for (var i = 0, len = toggles.length; i < len; i++) { + var parent = Dropdown._getParentFromElement(toggles[i]); + + var context = $__default['default'](toggles[i]).data(DATA_KEY$4); + var relatedTarget = { + relatedTarget: toggles[i] + }; + + if (event && event.type === 'click') { + relatedTarget.clickEvent = event; + } + + if (!context) { + continue; + } + + var dropdownMenu = context._menu; + + if (!$__default['default'](parent).hasClass(CLASS_NAME_SHOW$2)) { + continue; + } + + if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $__default['default'].contains(parent, event.target)) { + continue; + } + + var hideEvent = $__default['default'].Event(EVENT_HIDE$1, relatedTarget); + $__default['default'](parent).trigger(hideEvent); + + if (hideEvent.isDefaultPrevented()) { + continue; + } // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + + + if ('ontouchstart' in document.documentElement) { + $__default['default'](document.body).children().off('mouseover', null, $__default['default'].noop); + } + + toggles[i].setAttribute('aria-expanded', 'false'); + + if (context._popper) { + context._popper.destroy(); + } + + $__default['default'](dropdownMenu).removeClass(CLASS_NAME_SHOW$2); + $__default['default'](parent).removeClass(CLASS_NAME_SHOW$2).trigger($__default['default'].Event(EVENT_HIDDEN$1, relatedTarget)); + } + }; + + Dropdown._getParentFromElement = function _getParentFromElement(element) { + var parent; + var selector = Util.getSelectorFromElement(element); + + if (selector) { + parent = document.querySelector(selector); + } + + return parent || element.parentNode; + } // eslint-disable-next-line complexity + ; + + Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) { + // If not input/textarea: + // - And not a key in REGEXP_KEYDOWN => not a dropdown command + // If input/textarea: + // - If space key => not a dropdown command + // - If key is other than escape + // - If key is not up or down => not a dropdown command + // - If trigger inside the menu => not a dropdown command + if (/input|textarea/i.test(event.target.tagName) ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || $__default['default'](event.target).closest(SELECTOR_MENU).length) : !REGEXP_KEYDOWN.test(event.which)) { + return; + } + + if (this.disabled || $__default['default'](this).hasClass(CLASS_NAME_DISABLED)) { + return; + } + + var parent = Dropdown._getParentFromElement(this); + + var isActive = $__default['default'](parent).hasClass(CLASS_NAME_SHOW$2); + + if (!isActive && event.which === ESCAPE_KEYCODE) { + return; + } + + event.preventDefault(); + event.stopPropagation(); + + if (!isActive || event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE) { + if (event.which === ESCAPE_KEYCODE) { + $__default['default'](parent.querySelector(SELECTOR_DATA_TOGGLE$2)).trigger('focus'); + } + + $__default['default'](this).trigger('click'); + return; + } + + var items = [].slice.call(parent.querySelectorAll(SELECTOR_VISIBLE_ITEMS)).filter(function (item) { + return $__default['default'](item).is(':visible'); + }); + + if (items.length === 0) { + return; + } + + var index = items.indexOf(event.target); + + if (event.which === ARROW_UP_KEYCODE && index > 0) { + // Up + index--; + } + + if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { + // Down + index++; + } + + if (index < 0) { + index = 0; + } + + items[index].focus(); + }; + + _createClass(Dropdown, null, [{ + key: "VERSION", + get: function get() { + return VERSION$4; + } + }, { + key: "Default", + get: function get() { + return Default$2; + } + }, { + key: "DefaultType", + get: function get() { + return DefaultType$2; + } + }]); + + return Dropdown; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $__default['default'](document).on(EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$2, Dropdown._dataApiKeydownHandler).on(EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown._dataApiKeydownHandler).on(EVENT_CLICK_DATA_API$4 + " " + EVENT_KEYUP_DATA_API, Dropdown._clearMenus).on(EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$2, function (event) { + event.preventDefault(); + event.stopPropagation(); + + Dropdown._jQueryInterface.call($__default['default'](this), 'toggle'); + }).on(EVENT_CLICK_DATA_API$4, SELECTOR_FORM_CHILD, function (e) { + e.stopPropagation(); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $__default['default'].fn[NAME$4] = Dropdown._jQueryInterface; + $__default['default'].fn[NAME$4].Constructor = Dropdown; + + $__default['default'].fn[NAME$4].noConflict = function () { + $__default['default'].fn[NAME$4] = JQUERY_NO_CONFLICT$4; + return Dropdown._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$5 = 'modal'; + var VERSION$5 = '4.6.0'; + var DATA_KEY$5 = 'bs.modal'; + var EVENT_KEY$5 = "." + DATA_KEY$5; + var DATA_API_KEY$5 = '.data-api'; + var JQUERY_NO_CONFLICT$5 = $__default['default'].fn[NAME$5]; + var ESCAPE_KEYCODE$1 = 27; // KeyboardEvent.which value for Escape (Esc) key + + var Default$3 = { + backdrop: true, + keyboard: true, + focus: true, + show: true + }; + var DefaultType$3 = { + backdrop: '(boolean|string)', + keyboard: 'boolean', + focus: 'boolean', + show: 'boolean' + }; + var EVENT_HIDE$2 = "hide" + EVENT_KEY$5; + var EVENT_HIDE_PREVENTED = "hidePrevented" + EVENT_KEY$5; + var EVENT_HIDDEN$2 = "hidden" + EVENT_KEY$5; + var EVENT_SHOW$2 = "show" + EVENT_KEY$5; + var EVENT_SHOWN$2 = "shown" + EVENT_KEY$5; + var EVENT_FOCUSIN = "focusin" + EVENT_KEY$5; + var EVENT_RESIZE = "resize" + EVENT_KEY$5; + var EVENT_CLICK_DISMISS = "click.dismiss" + EVENT_KEY$5; + var EVENT_KEYDOWN_DISMISS = "keydown.dismiss" + EVENT_KEY$5; + var EVENT_MOUSEUP_DISMISS = "mouseup.dismiss" + EVENT_KEY$5; + var EVENT_MOUSEDOWN_DISMISS = "mousedown.dismiss" + EVENT_KEY$5; + var EVENT_CLICK_DATA_API$5 = "click" + EVENT_KEY$5 + DATA_API_KEY$5; + var CLASS_NAME_SCROLLABLE = 'modal-dialog-scrollable'; + var CLASS_NAME_SCROLLBAR_MEASURER = 'modal-scrollbar-measure'; + var CLASS_NAME_BACKDROP = 'modal-backdrop'; + var CLASS_NAME_OPEN = 'modal-open'; + var CLASS_NAME_FADE$1 = 'fade'; + var CLASS_NAME_SHOW$3 = 'show'; + var CLASS_NAME_STATIC = 'modal-static'; + var SELECTOR_DIALOG = '.modal-dialog'; + var SELECTOR_MODAL_BODY = '.modal-body'; + var SELECTOR_DATA_TOGGLE$3 = '[data-toggle="modal"]'; + var SELECTOR_DATA_DISMISS = '[data-dismiss="modal"]'; + var SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'; + var SELECTOR_STICKY_CONTENT = '.sticky-top'; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Modal = /*#__PURE__*/function () { + function Modal(element, config) { + this._config = this._getConfig(config); + this._element = element; + this._dialog = element.querySelector(SELECTOR_DIALOG); + this._backdrop = null; + this._isShown = false; + this._isBodyOverflowing = false; + this._ignoreBackdropClick = false; + this._isTransitioning = false; + this._scrollbarWidth = 0; + } // Getters + + + var _proto = Modal.prototype; + + // Public + _proto.toggle = function toggle(relatedTarget) { + return this._isShown ? this.hide() : this.show(relatedTarget); + }; + + _proto.show = function show(relatedTarget) { + var _this = this; + + if (this._isShown || this._isTransitioning) { + return; + } + + if ($__default['default'](this._element).hasClass(CLASS_NAME_FADE$1)) { + this._isTransitioning = true; + } + + var showEvent = $__default['default'].Event(EVENT_SHOW$2, { + relatedTarget: relatedTarget + }); + $__default['default'](this._element).trigger(showEvent); + + if (this._isShown || showEvent.isDefaultPrevented()) { + return; + } + + this._isShown = true; + + this._checkScrollbar(); + + this._setScrollbar(); + + this._adjustDialog(); + + this._setEscapeEvent(); + + this._setResizeEvent(); + + $__default['default'](this._element).on(EVENT_CLICK_DISMISS, SELECTOR_DATA_DISMISS, function (event) { + return _this.hide(event); + }); + $__default['default'](this._dialog).on(EVENT_MOUSEDOWN_DISMISS, function () { + $__default['default'](_this._element).one(EVENT_MOUSEUP_DISMISS, function (event) { + if ($__default['default'](event.target).is(_this._element)) { + _this._ignoreBackdropClick = true; + } + }); + }); + + this._showBackdrop(function () { + return _this._showElement(relatedTarget); + }); + }; + + _proto.hide = function hide(event) { + var _this2 = this; + + if (event) { + event.preventDefault(); + } + + if (!this._isShown || this._isTransitioning) { + return; + } + + var hideEvent = $__default['default'].Event(EVENT_HIDE$2); + $__default['default'](this._element).trigger(hideEvent); + + if (!this._isShown || hideEvent.isDefaultPrevented()) { + return; + } + + this._isShown = false; + var transition = $__default['default'](this._element).hasClass(CLASS_NAME_FADE$1); + + if (transition) { + this._isTransitioning = true; + } + + this._setEscapeEvent(); + + this._setResizeEvent(); + + $__default['default'](document).off(EVENT_FOCUSIN); + $__default['default'](this._element).removeClass(CLASS_NAME_SHOW$3); + $__default['default'](this._element).off(EVENT_CLICK_DISMISS); + $__default['default'](this._dialog).off(EVENT_MOUSEDOWN_DISMISS); + + if (transition) { + var transitionDuration = Util.getTransitionDurationFromElement(this._element); + $__default['default'](this._element).one(Util.TRANSITION_END, function (event) { + return _this2._hideModal(event); + }).emulateTransitionEnd(transitionDuration); + } else { + this._hideModal(); + } + }; + + _proto.dispose = function dispose() { + [window, this._element, this._dialog].forEach(function (htmlElement) { + return $__default['default'](htmlElement).off(EVENT_KEY$5); + }); + /** + * `document` has 2 events `EVENT_FOCUSIN` and `EVENT_CLICK_DATA_API` + * Do not move `document` in `htmlElements` array + * It will remove `EVENT_CLICK_DATA_API` event that should remain + */ + + $__default['default'](document).off(EVENT_FOCUSIN); + $__default['default'].removeData(this._element, DATA_KEY$5); + this._config = null; + this._element = null; + this._dialog = null; + this._backdrop = null; + this._isShown = null; + this._isBodyOverflowing = null; + this._ignoreBackdropClick = null; + this._isTransitioning = null; + this._scrollbarWidth = null; + }; + + _proto.handleUpdate = function handleUpdate() { + this._adjustDialog(); + } // Private + ; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default$3, config); + Util.typeCheckConfig(NAME$5, config, DefaultType$3); + return config; + }; + + _proto._triggerBackdropTransition = function _triggerBackdropTransition() { + var _this3 = this; + + var hideEventPrevented = $__default['default'].Event(EVENT_HIDE_PREVENTED); + $__default['default'](this._element).trigger(hideEventPrevented); + + if (hideEventPrevented.isDefaultPrevented()) { + return; + } + + var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; + + if (!isModalOverflowing) { + this._element.style.overflowY = 'hidden'; + } + + this._element.classList.add(CLASS_NAME_STATIC); + + var modalTransitionDuration = Util.getTransitionDurationFromElement(this._dialog); + $__default['default'](this._element).off(Util.TRANSITION_END); + $__default['default'](this._element).one(Util.TRANSITION_END, function () { + _this3._element.classList.remove(CLASS_NAME_STATIC); + + if (!isModalOverflowing) { + $__default['default'](_this3._element).one(Util.TRANSITION_END, function () { + _this3._element.style.overflowY = ''; + }).emulateTransitionEnd(_this3._element, modalTransitionDuration); + } + }).emulateTransitionEnd(modalTransitionDuration); + + this._element.focus(); + }; + + _proto._showElement = function _showElement(relatedTarget) { + var _this4 = this; + + var transition = $__default['default'](this._element).hasClass(CLASS_NAME_FADE$1); + var modalBody = this._dialog ? this._dialog.querySelector(SELECTOR_MODAL_BODY) : null; + + if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { + // Don't move modal's DOM position + document.body.appendChild(this._element); + } + + this._element.style.display = 'block'; + + this._element.removeAttribute('aria-hidden'); + + this._element.setAttribute('aria-modal', true); + + this._element.setAttribute('role', 'dialog'); + + if ($__default['default'](this._dialog).hasClass(CLASS_NAME_SCROLLABLE) && modalBody) { + modalBody.scrollTop = 0; + } else { + this._element.scrollTop = 0; + } + + if (transition) { + Util.reflow(this._element); + } + + $__default['default'](this._element).addClass(CLASS_NAME_SHOW$3); + + if (this._config.focus) { + this._enforceFocus(); + } + + var shownEvent = $__default['default'].Event(EVENT_SHOWN$2, { + relatedTarget: relatedTarget + }); + + var transitionComplete = function transitionComplete() { + if (_this4._config.focus) { + _this4._element.focus(); + } + + _this4._isTransitioning = false; + $__default['default'](_this4._element).trigger(shownEvent); + }; + + if (transition) { + var transitionDuration = Util.getTransitionDurationFromElement(this._dialog); + $__default['default'](this._dialog).one(Util.TRANSITION_END, transitionComplete).emulateTransitionEnd(transitionDuration); + } else { + transitionComplete(); + } + }; + + _proto._enforceFocus = function _enforceFocus() { + var _this5 = this; + + $__default['default'](document).off(EVENT_FOCUSIN) // Guard against infinite focus loop + .on(EVENT_FOCUSIN, function (event) { + if (document !== event.target && _this5._element !== event.target && $__default['default'](_this5._element).has(event.target).length === 0) { + _this5._element.focus(); + } + }); + }; + + _proto._setEscapeEvent = function _setEscapeEvent() { + var _this6 = this; + + if (this._isShown) { + $__default['default'](this._element).on(EVENT_KEYDOWN_DISMISS, function (event) { + if (_this6._config.keyboard && event.which === ESCAPE_KEYCODE$1) { + event.preventDefault(); + + _this6.hide(); + } else if (!_this6._config.keyboard && event.which === ESCAPE_KEYCODE$1) { + _this6._triggerBackdropTransition(); + } + }); + } else if (!this._isShown) { + $__default['default'](this._element).off(EVENT_KEYDOWN_DISMISS); + } + }; + + _proto._setResizeEvent = function _setResizeEvent() { + var _this7 = this; + + if (this._isShown) { + $__default['default'](window).on(EVENT_RESIZE, function (event) { + return _this7.handleUpdate(event); + }); + } else { + $__default['default'](window).off(EVENT_RESIZE); + } + }; + + _proto._hideModal = function _hideModal() { + var _this8 = this; + + this._element.style.display = 'none'; + + this._element.setAttribute('aria-hidden', true); + + this._element.removeAttribute('aria-modal'); + + this._element.removeAttribute('role'); + + this._isTransitioning = false; + + this._showBackdrop(function () { + $__default['default'](document.body).removeClass(CLASS_NAME_OPEN); + + _this8._resetAdjustments(); + + _this8._resetScrollbar(); + + $__default['default'](_this8._element).trigger(EVENT_HIDDEN$2); + }); + }; + + _proto._removeBackdrop = function _removeBackdrop() { + if (this._backdrop) { + $__default['default'](this._backdrop).remove(); + this._backdrop = null; + } + }; + + _proto._showBackdrop = function _showBackdrop(callback) { + var _this9 = this; + + var animate = $__default['default'](this._element).hasClass(CLASS_NAME_FADE$1) ? CLASS_NAME_FADE$1 : ''; + + if (this._isShown && this._config.backdrop) { + this._backdrop = document.createElement('div'); + this._backdrop.className = CLASS_NAME_BACKDROP; + + if (animate) { + this._backdrop.classList.add(animate); + } + + $__default['default'](this._backdrop).appendTo(document.body); + $__default['default'](this._element).on(EVENT_CLICK_DISMISS, function (event) { + if (_this9._ignoreBackdropClick) { + _this9._ignoreBackdropClick = false; + return; + } + + if (event.target !== event.currentTarget) { + return; + } + + if (_this9._config.backdrop === 'static') { + _this9._triggerBackdropTransition(); + } else { + _this9.hide(); + } + }); + + if (animate) { + Util.reflow(this._backdrop); + } + + $__default['default'](this._backdrop).addClass(CLASS_NAME_SHOW$3); + + if (!callback) { + return; + } + + if (!animate) { + callback(); + return; + } + + var backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop); + $__default['default'](this._backdrop).one(Util.TRANSITION_END, callback).emulateTransitionEnd(backdropTransitionDuration); + } else if (!this._isShown && this._backdrop) { + $__default['default'](this._backdrop).removeClass(CLASS_NAME_SHOW$3); + + var callbackRemove = function callbackRemove() { + _this9._removeBackdrop(); + + if (callback) { + callback(); + } + }; + + if ($__default['default'](this._element).hasClass(CLASS_NAME_FADE$1)) { + var _backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop); + + $__default['default'](this._backdrop).one(Util.TRANSITION_END, callbackRemove).emulateTransitionEnd(_backdropTransitionDuration); + } else { + callbackRemove(); + } + } else if (callback) { + callback(); + } + } // ---------------------------------------------------------------------- + // the following methods are used to handle overflowing modals + // todo (fat): these should probably be refactored out of modal.js + // ---------------------------------------------------------------------- + ; + + _proto._adjustDialog = function _adjustDialog() { + var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; + + if (!this._isBodyOverflowing && isModalOverflowing) { + this._element.style.paddingLeft = this._scrollbarWidth + "px"; + } + + if (this._isBodyOverflowing && !isModalOverflowing) { + this._element.style.paddingRight = this._scrollbarWidth + "px"; + } + }; + + _proto._resetAdjustments = function _resetAdjustments() { + this._element.style.paddingLeft = ''; + this._element.style.paddingRight = ''; + }; + + _proto._checkScrollbar = function _checkScrollbar() { + var rect = document.body.getBoundingClientRect(); + this._isBodyOverflowing = Math.round(rect.left + rect.right) < window.innerWidth; + this._scrollbarWidth = this._getScrollbarWidth(); + }; + + _proto._setScrollbar = function _setScrollbar() { + var _this10 = this; + + if (this._isBodyOverflowing) { + // Note: DOMNode.style.paddingRight returns the actual value or '' if not set + // while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set + var fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT)); + var stickyContent = [].slice.call(document.querySelectorAll(SELECTOR_STICKY_CONTENT)); // Adjust fixed content padding + + $__default['default'](fixedContent).each(function (index, element) { + var actualPadding = element.style.paddingRight; + var calculatedPadding = $__default['default'](element).css('padding-right'); + $__default['default'](element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this10._scrollbarWidth + "px"); + }); // Adjust sticky content margin + + $__default['default'](stickyContent).each(function (index, element) { + var actualMargin = element.style.marginRight; + var calculatedMargin = $__default['default'](element).css('margin-right'); + $__default['default'](element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this10._scrollbarWidth + "px"); + }); // Adjust body padding + + var actualPadding = document.body.style.paddingRight; + var calculatedPadding = $__default['default'](document.body).css('padding-right'); + $__default['default'](document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px"); + } + + $__default['default'](document.body).addClass(CLASS_NAME_OPEN); + }; + + _proto._resetScrollbar = function _resetScrollbar() { + // Restore fixed content padding + var fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT)); + $__default['default'](fixedContent).each(function (index, element) { + var padding = $__default['default'](element).data('padding-right'); + $__default['default'](element).removeData('padding-right'); + element.style.paddingRight = padding ? padding : ''; + }); // Restore sticky content + + var elements = [].slice.call(document.querySelectorAll("" + SELECTOR_STICKY_CONTENT)); + $__default['default'](elements).each(function (index, element) { + var margin = $__default['default'](element).data('margin-right'); + + if (typeof margin !== 'undefined') { + $__default['default'](element).css('margin-right', margin).removeData('margin-right'); + } + }); // Restore body padding + + var padding = $__default['default'](document.body).data('padding-right'); + $__default['default'](document.body).removeData('padding-right'); + document.body.style.paddingRight = padding ? padding : ''; + }; + + _proto._getScrollbarWidth = function _getScrollbarWidth() { + // thx d.walsh + var scrollDiv = document.createElement('div'); + scrollDiv.className = CLASS_NAME_SCROLLBAR_MEASURER; + document.body.appendChild(scrollDiv); + var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth; + document.body.removeChild(scrollDiv); + return scrollbarWidth; + } // Static + ; + + Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) { + return this.each(function () { + var data = $__default['default'](this).data(DATA_KEY$5); + + var _config = _extends({}, Default$3, $__default['default'](this).data(), typeof config === 'object' && config ? config : {}); + + if (!data) { + data = new Modal(this, _config); + $__default['default'](this).data(DATA_KEY$5, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](relatedTarget); + } else if (_config.show) { + data.show(relatedTarget); + } + }); + }; + + _createClass(Modal, null, [{ + key: "VERSION", + get: function get() { + return VERSION$5; + } + }, { + key: "Default", + get: function get() { + return Default$3; + } + }]); + + return Modal; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $__default['default'](document).on(EVENT_CLICK_DATA_API$5, SELECTOR_DATA_TOGGLE$3, function (event) { + var _this11 = this; + + var target; + var selector = Util.getSelectorFromElement(this); + + if (selector) { + target = document.querySelector(selector); + } + + var config = $__default['default'](target).data(DATA_KEY$5) ? 'toggle' : _extends({}, $__default['default'](target).data(), $__default['default'](this).data()); + + if (this.tagName === 'A' || this.tagName === 'AREA') { + event.preventDefault(); + } + + var $target = $__default['default'](target).one(EVENT_SHOW$2, function (showEvent) { + if (showEvent.isDefaultPrevented()) { + // Only register focus restorer if modal will actually get shown + return; + } + + $target.one(EVENT_HIDDEN$2, function () { + if ($__default['default'](_this11).is(':visible')) { + _this11.focus(); + } + }); + }); + + Modal._jQueryInterface.call($__default['default'](target), config, this); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $__default['default'].fn[NAME$5] = Modal._jQueryInterface; + $__default['default'].fn[NAME$5].Constructor = Modal; + + $__default['default'].fn[NAME$5].noConflict = function () { + $__default['default'].fn[NAME$5] = JQUERY_NO_CONFLICT$5; + return Modal._jQueryInterface; + }; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v4.6.0): tools/sanitizer.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + var uriAttrs = ['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']; + var ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; + var DefaultWhitelist = { + // Global attributes allowed on any supplied element below. + '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN], + a: ['target', 'href', 'title', 'rel'], + area: [], + b: [], + br: [], + col: [], + code: [], + div: [], + em: [], + hr: [], + h1: [], + h2: [], + h3: [], + h4: [], + h5: [], + h6: [], + i: [], + img: ['src', 'srcset', 'alt', 'title', 'width', 'height'], + li: [], + ol: [], + p: [], + pre: [], + s: [], + small: [], + span: [], + sub: [], + sup: [], + strong: [], + u: [], + ul: [] + }; + /** + * A pattern that recognizes a commonly useful subset of URLs that are safe. + * + * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts + */ + + var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi; + /** + * A pattern that matches safe data URLs. Only matches image, video and audio types. + * + * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts + */ + + var DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; + + function allowedAttribute(attr, allowedAttributeList) { + var attrName = attr.nodeName.toLowerCase(); + + if (allowedAttributeList.indexOf(attrName) !== -1) { + if (uriAttrs.indexOf(attrName) !== -1) { + return Boolean(attr.nodeValue.match(SAFE_URL_PATTERN) || attr.nodeValue.match(DATA_URL_PATTERN)); + } + + return true; + } + + var regExp = allowedAttributeList.filter(function (attrRegex) { + return attrRegex instanceof RegExp; + }); // Check if a regular expression validates the attribute. + + for (var i = 0, len = regExp.length; i < len; i++) { + if (attrName.match(regExp[i])) { + return true; + } + } + + return false; + } + + function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) { + if (unsafeHtml.length === 0) { + return unsafeHtml; + } + + if (sanitizeFn && typeof sanitizeFn === 'function') { + return sanitizeFn(unsafeHtml); + } + + var domParser = new window.DOMParser(); + var createdDocument = domParser.parseFromString(unsafeHtml, 'text/html'); + var whitelistKeys = Object.keys(whiteList); + var elements = [].slice.call(createdDocument.body.querySelectorAll('*')); + + var _loop = function _loop(i, len) { + var el = elements[i]; + var elName = el.nodeName.toLowerCase(); + + if (whitelistKeys.indexOf(el.nodeName.toLowerCase()) === -1) { + el.parentNode.removeChild(el); + return "continue"; + } + + var attributeList = [].slice.call(el.attributes); + var whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || []); + attributeList.forEach(function (attr) { + if (!allowedAttribute(attr, whitelistedAttributes)) { + el.removeAttribute(attr.nodeName); + } + }); + }; + + for (var i = 0, len = elements.length; i < len; i++) { + var _ret = _loop(i); + + if (_ret === "continue") continue; + } + + return createdDocument.body.innerHTML; + } + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$6 = 'tooltip'; + var VERSION$6 = '4.6.0'; + var DATA_KEY$6 = 'bs.tooltip'; + var EVENT_KEY$6 = "." + DATA_KEY$6; + var JQUERY_NO_CONFLICT$6 = $__default['default'].fn[NAME$6]; + var CLASS_PREFIX = 'bs-tooltip'; + var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g'); + var DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn']; + var DefaultType$4 = { + animation: 'boolean', + template: 'string', + title: '(string|element|function)', + trigger: 'string', + delay: '(number|object)', + html: 'boolean', + selector: '(string|boolean)', + placement: '(string|function)', + offset: '(number|string|function)', + container: '(string|element|boolean)', + fallbackPlacement: '(string|array)', + boundary: '(string|element)', + customClass: '(string|function)', + sanitize: 'boolean', + sanitizeFn: '(null|function)', + whiteList: 'object', + popperConfig: '(null|object)' + }; + var AttachmentMap = { + AUTO: 'auto', + TOP: 'top', + RIGHT: 'right', + BOTTOM: 'bottom', + LEFT: 'left' + }; + var Default$4 = { + animation: true, + template: '', + trigger: 'hover focus', + title: '', + delay: 0, + html: false, + selector: false, + placement: 'top', + offset: 0, + container: false, + fallbackPlacement: 'flip', + boundary: 'scrollParent', + customClass: '', + sanitize: true, + sanitizeFn: null, + whiteList: DefaultWhitelist, + popperConfig: null + }; + var HOVER_STATE_SHOW = 'show'; + var HOVER_STATE_OUT = 'out'; + var Event = { + HIDE: "hide" + EVENT_KEY$6, + HIDDEN: "hidden" + EVENT_KEY$6, + SHOW: "show" + EVENT_KEY$6, + SHOWN: "shown" + EVENT_KEY$6, + INSERTED: "inserted" + EVENT_KEY$6, + CLICK: "click" + EVENT_KEY$6, + FOCUSIN: "focusin" + EVENT_KEY$6, + FOCUSOUT: "focusout" + EVENT_KEY$6, + MOUSEENTER: "mouseenter" + EVENT_KEY$6, + MOUSELEAVE: "mouseleave" + EVENT_KEY$6 + }; + var CLASS_NAME_FADE$2 = 'fade'; + var CLASS_NAME_SHOW$4 = 'show'; + var SELECTOR_TOOLTIP_INNER = '.tooltip-inner'; + var SELECTOR_ARROW = '.arrow'; + var TRIGGER_HOVER = 'hover'; + var TRIGGER_FOCUS = 'focus'; + var TRIGGER_CLICK = 'click'; + var TRIGGER_MANUAL = 'manual'; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Tooltip = /*#__PURE__*/function () { + function Tooltip(element, config) { + if (typeof Popper__default['default'] === 'undefined') { + throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)'); + } // private + + + this._isEnabled = true; + this._timeout = 0; + this._hoverState = ''; + this._activeTrigger = {}; + this._popper = null; // Protected + + this.element = element; + this.config = this._getConfig(config); + this.tip = null; + + this._setListeners(); + } // Getters + + + var _proto = Tooltip.prototype; + + // Public + _proto.enable = function enable() { + this._isEnabled = true; + }; + + _proto.disable = function disable() { + this._isEnabled = false; + }; + + _proto.toggleEnabled = function toggleEnabled() { + this._isEnabled = !this._isEnabled; + }; + + _proto.toggle = function toggle(event) { + if (!this._isEnabled) { + return; + } + + if (event) { + var dataKey = this.constructor.DATA_KEY; + var context = $__default['default'](event.currentTarget).data(dataKey); + + if (!context) { + context = new this.constructor(event.currentTarget, this._getDelegateConfig()); + $__default['default'](event.currentTarget).data(dataKey, context); + } + + context._activeTrigger.click = !context._activeTrigger.click; + + if (context._isWithActiveTrigger()) { + context._enter(null, context); + } else { + context._leave(null, context); + } + } else { + if ($__default['default'](this.getTipElement()).hasClass(CLASS_NAME_SHOW$4)) { + this._leave(null, this); + + return; + } + + this._enter(null, this); + } + }; + + _proto.dispose = function dispose() { + clearTimeout(this._timeout); + $__default['default'].removeData(this.element, this.constructor.DATA_KEY); + $__default['default'](this.element).off(this.constructor.EVENT_KEY); + $__default['default'](this.element).closest('.modal').off('hide.bs.modal', this._hideModalHandler); + + if (this.tip) { + $__default['default'](this.tip).remove(); + } + + this._isEnabled = null; + this._timeout = null; + this._hoverState = null; + this._activeTrigger = null; + + if (this._popper) { + this._popper.destroy(); + } + + this._popper = null; + this.element = null; + this.config = null; + this.tip = null; + }; + + _proto.show = function show() { + var _this = this; + + if ($__default['default'](this.element).css('display') === 'none') { + throw new Error('Please use show on visible elements'); + } + + var showEvent = $__default['default'].Event(this.constructor.Event.SHOW); + + if (this.isWithContent() && this._isEnabled) { + $__default['default'](this.element).trigger(showEvent); + var shadowRoot = Util.findShadowRoot(this.element); + var isInTheDom = $__default['default'].contains(shadowRoot !== null ? shadowRoot : this.element.ownerDocument.documentElement, this.element); + + if (showEvent.isDefaultPrevented() || !isInTheDom) { + return; + } + + var tip = this.getTipElement(); + var tipId = Util.getUID(this.constructor.NAME); + tip.setAttribute('id', tipId); + this.element.setAttribute('aria-describedby', tipId); + this.setContent(); + + if (this.config.animation) { + $__default['default'](tip).addClass(CLASS_NAME_FADE$2); + } + + var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement; + + var attachment = this._getAttachment(placement); + + this.addAttachmentClass(attachment); + + var container = this._getContainer(); + + $__default['default'](tip).data(this.constructor.DATA_KEY, this); + + if (!$__default['default'].contains(this.element.ownerDocument.documentElement, this.tip)) { + $__default['default'](tip).appendTo(container); + } + + $__default['default'](this.element).trigger(this.constructor.Event.INSERTED); + this._popper = new Popper__default['default'](this.element, tip, this._getPopperConfig(attachment)); + $__default['default'](tip).addClass(CLASS_NAME_SHOW$4); + $__default['default'](tip).addClass(this.config.customClass); // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + + if ('ontouchstart' in document.documentElement) { + $__default['default'](document.body).children().on('mouseover', null, $__default['default'].noop); + } + + var complete = function complete() { + if (_this.config.animation) { + _this._fixTransition(); + } + + var prevHoverState = _this._hoverState; + _this._hoverState = null; + $__default['default'](_this.element).trigger(_this.constructor.Event.SHOWN); + + if (prevHoverState === HOVER_STATE_OUT) { + _this._leave(null, _this); + } + }; + + if ($__default['default'](this.tip).hasClass(CLASS_NAME_FADE$2)) { + var transitionDuration = Util.getTransitionDurationFromElement(this.tip); + $__default['default'](this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration); + } else { + complete(); + } + } + }; + + _proto.hide = function hide(callback) { + var _this2 = this; + + var tip = this.getTipElement(); + var hideEvent = $__default['default'].Event(this.constructor.Event.HIDE); + + var complete = function complete() { + if (_this2._hoverState !== HOVER_STATE_SHOW && tip.parentNode) { + tip.parentNode.removeChild(tip); + } + + _this2._cleanTipClass(); + + _this2.element.removeAttribute('aria-describedby'); + + $__default['default'](_this2.element).trigger(_this2.constructor.Event.HIDDEN); + + if (_this2._popper !== null) { + _this2._popper.destroy(); + } + + if (callback) { + callback(); + } + }; + + $__default['default'](this.element).trigger(hideEvent); + + if (hideEvent.isDefaultPrevented()) { + return; + } + + $__default['default'](tip).removeClass(CLASS_NAME_SHOW$4); // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + + if ('ontouchstart' in document.documentElement) { + $__default['default'](document.body).children().off('mouseover', null, $__default['default'].noop); + } + + this._activeTrigger[TRIGGER_CLICK] = false; + this._activeTrigger[TRIGGER_FOCUS] = false; + this._activeTrigger[TRIGGER_HOVER] = false; + + if ($__default['default'](this.tip).hasClass(CLASS_NAME_FADE$2)) { + var transitionDuration = Util.getTransitionDurationFromElement(tip); + $__default['default'](tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration); + } else { + complete(); + } + + this._hoverState = ''; + }; + + _proto.update = function update() { + if (this._popper !== null) { + this._popper.scheduleUpdate(); + } + } // Protected + ; + + _proto.isWithContent = function isWithContent() { + return Boolean(this.getTitle()); + }; + + _proto.addAttachmentClass = function addAttachmentClass(attachment) { + $__default['default'](this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment); + }; + + _proto.getTipElement = function getTipElement() { + this.tip = this.tip || $__default['default'](this.config.template)[0]; + return this.tip; + }; + + _proto.setContent = function setContent() { + var tip = this.getTipElement(); + this.setElementContent($__default['default'](tip.querySelectorAll(SELECTOR_TOOLTIP_INNER)), this.getTitle()); + $__default['default'](tip).removeClass(CLASS_NAME_FADE$2 + " " + CLASS_NAME_SHOW$4); + }; + + _proto.setElementContent = function setElementContent($element, content) { + if (typeof content === 'object' && (content.nodeType || content.jquery)) { + // Content is a DOM node or a jQuery + if (this.config.html) { + if (!$__default['default'](content).parent().is($element)) { + $element.empty().append(content); + } + } else { + $element.text($__default['default'](content).text()); + } + + return; + } + + if (this.config.html) { + if (this.config.sanitize) { + content = sanitizeHtml(content, this.config.whiteList, this.config.sanitizeFn); + } + + $element.html(content); + } else { + $element.text(content); + } + }; + + _proto.getTitle = function getTitle() { + var title = this.element.getAttribute('data-original-title'); + + if (!title) { + title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title; + } + + return title; + } // Private + ; + + _proto._getPopperConfig = function _getPopperConfig(attachment) { + var _this3 = this; + + var defaultBsConfig = { + placement: attachment, + modifiers: { + offset: this._getOffset(), + flip: { + behavior: this.config.fallbackPlacement + }, + arrow: { + element: SELECTOR_ARROW + }, + preventOverflow: { + boundariesElement: this.config.boundary + } + }, + onCreate: function onCreate(data) { + if (data.originalPlacement !== data.placement) { + _this3._handlePopperPlacementChange(data); + } + }, + onUpdate: function onUpdate(data) { + return _this3._handlePopperPlacementChange(data); + } + }; + return _extends({}, defaultBsConfig, this.config.popperConfig); + }; + + _proto._getOffset = function _getOffset() { + var _this4 = this; + + var offset = {}; + + if (typeof this.config.offset === 'function') { + offset.fn = function (data) { + data.offsets = _extends({}, data.offsets, _this4.config.offset(data.offsets, _this4.element) || {}); + return data; + }; + } else { + offset.offset = this.config.offset; + } + + return offset; + }; + + _proto._getContainer = function _getContainer() { + if (this.config.container === false) { + return document.body; + } + + if (Util.isElement(this.config.container)) { + return $__default['default'](this.config.container); + } + + return $__default['default'](document).find(this.config.container); + }; + + _proto._getAttachment = function _getAttachment(placement) { + return AttachmentMap[placement.toUpperCase()]; + }; + + _proto._setListeners = function _setListeners() { + var _this5 = this; + + var triggers = this.config.trigger.split(' '); + triggers.forEach(function (trigger) { + if (trigger === 'click') { + $__default['default'](_this5.element).on(_this5.constructor.Event.CLICK, _this5.config.selector, function (event) { + return _this5.toggle(event); + }); + } else if (trigger !== TRIGGER_MANUAL) { + var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN; + var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT; + $__default['default'](_this5.element).on(eventIn, _this5.config.selector, function (event) { + return _this5._enter(event); + }).on(eventOut, _this5.config.selector, function (event) { + return _this5._leave(event); + }); + } + }); + + this._hideModalHandler = function () { + if (_this5.element) { + _this5.hide(); + } + }; + + $__default['default'](this.element).closest('.modal').on('hide.bs.modal', this._hideModalHandler); + + if (this.config.selector) { + this.config = _extends({}, this.config, { + trigger: 'manual', + selector: '' + }); + } else { + this._fixTitle(); + } + }; + + _proto._fixTitle = function _fixTitle() { + var titleType = typeof this.element.getAttribute('data-original-title'); + + if (this.element.getAttribute('title') || titleType !== 'string') { + this.element.setAttribute('data-original-title', this.element.getAttribute('title') || ''); + this.element.setAttribute('title', ''); + } + }; + + _proto._enter = function _enter(event, context) { + var dataKey = this.constructor.DATA_KEY; + context = context || $__default['default'](event.currentTarget).data(dataKey); + + if (!context) { + context = new this.constructor(event.currentTarget, this._getDelegateConfig()); + $__default['default'](event.currentTarget).data(dataKey, context); + } + + if (event) { + context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true; + } + + if ($__default['default'](context.getTipElement()).hasClass(CLASS_NAME_SHOW$4) || context._hoverState === HOVER_STATE_SHOW) { + context._hoverState = HOVER_STATE_SHOW; + return; + } + + clearTimeout(context._timeout); + context._hoverState = HOVER_STATE_SHOW; + + if (!context.config.delay || !context.config.delay.show) { + context.show(); + return; + } + + context._timeout = setTimeout(function () { + if (context._hoverState === HOVER_STATE_SHOW) { + context.show(); + } + }, context.config.delay.show); + }; + + _proto._leave = function _leave(event, context) { + var dataKey = this.constructor.DATA_KEY; + context = context || $__default['default'](event.currentTarget).data(dataKey); + + if (!context) { + context = new this.constructor(event.currentTarget, this._getDelegateConfig()); + $__default['default'](event.currentTarget).data(dataKey, context); + } + + if (event) { + context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = false; + } + + if (context._isWithActiveTrigger()) { + return; + } + + clearTimeout(context._timeout); + context._hoverState = HOVER_STATE_OUT; + + if (!context.config.delay || !context.config.delay.hide) { + context.hide(); + return; + } + + context._timeout = setTimeout(function () { + if (context._hoverState === HOVER_STATE_OUT) { + context.hide(); + } + }, context.config.delay.hide); + }; + + _proto._isWithActiveTrigger = function _isWithActiveTrigger() { + for (var trigger in this._activeTrigger) { + if (this._activeTrigger[trigger]) { + return true; + } + } + + return false; + }; + + _proto._getConfig = function _getConfig(config) { + var dataAttributes = $__default['default'](this.element).data(); + Object.keys(dataAttributes).forEach(function (dataAttr) { + if (DISALLOWED_ATTRIBUTES.indexOf(dataAttr) !== -1) { + delete dataAttributes[dataAttr]; + } + }); + config = _extends({}, this.constructor.Default, dataAttributes, typeof config === 'object' && config ? config : {}); + + if (typeof config.delay === 'number') { + config.delay = { + show: config.delay, + hide: config.delay + }; + } + + if (typeof config.title === 'number') { + config.title = config.title.toString(); + } + + if (typeof config.content === 'number') { + config.content = config.content.toString(); + } + + Util.typeCheckConfig(NAME$6, config, this.constructor.DefaultType); + + if (config.sanitize) { + config.template = sanitizeHtml(config.template, config.whiteList, config.sanitizeFn); + } + + return config; + }; + + _proto._getDelegateConfig = function _getDelegateConfig() { + var config = {}; + + if (this.config) { + for (var key in this.config) { + if (this.constructor.Default[key] !== this.config[key]) { + config[key] = this.config[key]; + } + } + } + + return config; + }; + + _proto._cleanTipClass = function _cleanTipClass() { + var $tip = $__default['default'](this.getTipElement()); + var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX); + + if (tabClass !== null && tabClass.length) { + $tip.removeClass(tabClass.join('')); + } + }; + + _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) { + this.tip = popperData.instance.popper; + + this._cleanTipClass(); + + this.addAttachmentClass(this._getAttachment(popperData.placement)); + }; + + _proto._fixTransition = function _fixTransition() { + var tip = this.getTipElement(); + var initConfigAnimation = this.config.animation; + + if (tip.getAttribute('x-placement') !== null) { + return; + } + + $__default['default'](tip).removeClass(CLASS_NAME_FADE$2); + this.config.animation = false; + this.hide(); + this.show(); + this.config.animation = initConfigAnimation; + } // Static + ; + + Tooltip._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var $element = $__default['default'](this); + var data = $element.data(DATA_KEY$6); + + var _config = typeof config === 'object' && config; + + if (!data && /dispose|hide/.test(config)) { + return; + } + + if (!data) { + data = new Tooltip(this, _config); + $element.data(DATA_KEY$6, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + _createClass(Tooltip, null, [{ + key: "VERSION", + get: function get() { + return VERSION$6; + } + }, { + key: "Default", + get: function get() { + return Default$4; + } + }, { + key: "NAME", + get: function get() { + return NAME$6; + } + }, { + key: "DATA_KEY", + get: function get() { + return DATA_KEY$6; + } + }, { + key: "Event", + get: function get() { + return Event; + } + }, { + key: "EVENT_KEY", + get: function get() { + return EVENT_KEY$6; + } + }, { + key: "DefaultType", + get: function get() { + return DefaultType$4; + } + }]); + + return Tooltip; + }(); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + + $__default['default'].fn[NAME$6] = Tooltip._jQueryInterface; + $__default['default'].fn[NAME$6].Constructor = Tooltip; + + $__default['default'].fn[NAME$6].noConflict = function () { + $__default['default'].fn[NAME$6] = JQUERY_NO_CONFLICT$6; + return Tooltip._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$7 = 'popover'; + var VERSION$7 = '4.6.0'; + var DATA_KEY$7 = 'bs.popover'; + var EVENT_KEY$7 = "." + DATA_KEY$7; + var JQUERY_NO_CONFLICT$7 = $__default['default'].fn[NAME$7]; + var CLASS_PREFIX$1 = 'bs-popover'; + var BSCLS_PREFIX_REGEX$1 = new RegExp("(^|\\s)" + CLASS_PREFIX$1 + "\\S+", 'g'); + + var Default$5 = _extends({}, Tooltip.Default, { + placement: 'right', + trigger: 'click', + content: '', + template: '' + }); + + var DefaultType$5 = _extends({}, Tooltip.DefaultType, { + content: '(string|element|function)' + }); + + var CLASS_NAME_FADE$3 = 'fade'; + var CLASS_NAME_SHOW$5 = 'show'; + var SELECTOR_TITLE = '.popover-header'; + var SELECTOR_CONTENT = '.popover-body'; + var Event$1 = { + HIDE: "hide" + EVENT_KEY$7, + HIDDEN: "hidden" + EVENT_KEY$7, + SHOW: "show" + EVENT_KEY$7, + SHOWN: "shown" + EVENT_KEY$7, + INSERTED: "inserted" + EVENT_KEY$7, + CLICK: "click" + EVENT_KEY$7, + FOCUSIN: "focusin" + EVENT_KEY$7, + FOCUSOUT: "focusout" + EVENT_KEY$7, + MOUSEENTER: "mouseenter" + EVENT_KEY$7, + MOUSELEAVE: "mouseleave" + EVENT_KEY$7 + }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var Popover = /*#__PURE__*/function (_Tooltip) { + _inheritsLoose(Popover, _Tooltip); + + function Popover() { + return _Tooltip.apply(this, arguments) || this; + } + + var _proto = Popover.prototype; + + // Overrides + _proto.isWithContent = function isWithContent() { + return this.getTitle() || this._getContent(); + }; + + _proto.addAttachmentClass = function addAttachmentClass(attachment) { + $__default['default'](this.getTipElement()).addClass(CLASS_PREFIX$1 + "-" + attachment); + }; + + _proto.getTipElement = function getTipElement() { + this.tip = this.tip || $__default['default'](this.config.template)[0]; + return this.tip; + }; + + _proto.setContent = function setContent() { + var $tip = $__default['default'](this.getTipElement()); // We use append for html objects to maintain js events + + this.setElementContent($tip.find(SELECTOR_TITLE), this.getTitle()); + + var content = this._getContent(); + + if (typeof content === 'function') { + content = content.call(this.element); + } + + this.setElementContent($tip.find(SELECTOR_CONTENT), content); + $tip.removeClass(CLASS_NAME_FADE$3 + " " + CLASS_NAME_SHOW$5); + } // Private + ; + + _proto._getContent = function _getContent() { + return this.element.getAttribute('data-content') || this.config.content; + }; + + _proto._cleanTipClass = function _cleanTipClass() { + var $tip = $__default['default'](this.getTipElement()); + var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX$1); + + if (tabClass !== null && tabClass.length > 0) { + $tip.removeClass(tabClass.join('')); + } + } // Static + ; + + Popover._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $__default['default'](this).data(DATA_KEY$7); + + var _config = typeof config === 'object' ? config : null; + + if (!data && /dispose|hide/.test(config)) { + return; + } + + if (!data) { + data = new Popover(this, _config); + $__default['default'](this).data(DATA_KEY$7, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + _createClass(Popover, null, [{ + key: "VERSION", + // Getters + get: function get() { + return VERSION$7; + } + }, { + key: "Default", + get: function get() { + return Default$5; + } + }, { + key: "NAME", + get: function get() { + return NAME$7; + } + }, { + key: "DATA_KEY", + get: function get() { + return DATA_KEY$7; + } + }, { + key: "Event", + get: function get() { + return Event$1; + } + }, { + key: "EVENT_KEY", + get: function get() { + return EVENT_KEY$7; + } + }, { + key: "DefaultType", + get: function get() { + return DefaultType$5; + } + }]); + + return Popover; + }(Tooltip); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + + $__default['default'].fn[NAME$7] = Popover._jQueryInterface; + $__default['default'].fn[NAME$7].Constructor = Popover; + + $__default['default'].fn[NAME$7].noConflict = function () { + $__default['default'].fn[NAME$7] = JQUERY_NO_CONFLICT$7; + return Popover._jQueryInterface; + }; + + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + var NAME$8 = 'scrollspy'; + var VERSION$8 = '4.6.0'; + var DATA_KEY$8 = 'bs.scrollspy'; + var EVENT_KEY$8 = "." + DATA_KEY$8; + var DATA_API_KEY$6 = '.data-api'; + var JQUERY_NO_CONFLICT$8 = $__default['default'].fn[NAME$8]; + var Default$6 = { + offset: 10, + method: 'auto', + target: '' + }; + var DefaultType$6 = { + offset: 'number', + method: 'string', + target: '(string|element)' + }; + var EVENT_ACTIVATE = "activate" + EVENT_KEY$8; + var EVENT_SCROLL = "scroll" + EVENT_KEY$8; + var EVENT_LOAD_DATA_API$2 = "load" + EVENT_KEY$8 + DATA_API_KEY$6; + var CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item'; + var CLASS_NAME_ACTIVE$2 = 'active'; + var SELECTOR_DATA_SPY = '[data-spy="scroll"]'; + var SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'; + var SELECTOR_NAV_LINKS = '.nav-link'; + var SELECTOR_NAV_ITEMS = '.nav-item'; + var SELECTOR_LIST_ITEMS = '.list-group-item'; + var SELECTOR_DROPDOWN = '.dropdown'; + var SELECTOR_DROPDOWN_ITEMS = '.dropdown-item'; + var SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'; + var METHOD_OFFSET = 'offset'; + var METHOD_POSITION = 'position'; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + var ScrollSpy = /*#__PURE__*/function () { + function ScrollSpy(element, config) { + var _this = this; + + this._element = element; + this._scrollElement = element.tagName === 'BODY' ? window : element; + this._config = this._getConfig(config); + this._selector = this._config.target + " " + SELECTOR_NAV_LINKS + "," + (this._config.target + " " + SELECTOR_LIST_ITEMS + ",") + (this._config.target + " " + SELECTOR_DROPDOWN_ITEMS); + this._offsets = []; + this._targets = []; + this._activeTarget = null; + this._scrollHeight = 0; + $__default['default'](this._scrollElement).on(EVENT_SCROLL, function (event) { + return _this._process(event); + }); + this.refresh(); + + this._process(); + } // Getters + + + var _proto = ScrollSpy.prototype; + + // Public + _proto.refresh = function refresh() { + var _this2 = this; + + var autoMethod = this._scrollElement === this._scrollElement.window ? METHOD_OFFSET : METHOD_POSITION; + var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method; + var offsetBase = offsetMethod === METHOD_POSITION ? this._getScrollTop() : 0; + this._offsets = []; + this._targets = []; + this._scrollHeight = this._getScrollHeight(); + var targets = [].slice.call(document.querySelectorAll(this._selector)); + targets.map(function (element) { + var target; + var targetSelector = Util.getSelectorFromElement(element); + + if (targetSelector) { + target = document.querySelector(targetSelector); + } + + if (target) { + var targetBCR = target.getBoundingClientRect(); + + if (targetBCR.width || targetBCR.height) { + // TODO (fat): remove sketch reliance on jQuery position/offset + return [$__default['default'](target)[offsetMethod]().top + offsetBase, targetSelector]; + } + } + + return null; + }).filter(function (item) { + return item; + }).sort(function (a, b) { + return a[0] - b[0]; + }).forEach(function (item) { + _this2._offsets.push(item[0]); + + _this2._targets.push(item[1]); + }); + }; + + _proto.dispose = function dispose() { + $__default['default'].removeData(this._element, DATA_KEY$8); + $__default['default'](this._scrollElement).off(EVENT_KEY$8); + this._element = null; + this._scrollElement = null; + this._config = null; + this._selector = null; + this._offsets = null; + this._targets = null; + this._activeTarget = null; + this._scrollHeight = null; + } // Private + ; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default$6, typeof config === 'object' && config ? config : {}); + + if (typeof config.target !== 'string' && Util.isElement(config.target)) { + var id = $__default['default'](config.target).attr('id'); + + if (!id) { + id = Util.getUID(NAME$8); + $__default['default'](config.target).attr('id', id); + } + + config.target = "#" + id; + } + + Util.typeCheckConfig(NAME$8, config, DefaultType$6); + return config; + }; + + _proto._getScrollTop = function _getScrollTop() { + return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; + }; + + _proto._getScrollHeight = function _getScrollHeight() { + return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); + }; + + _proto._getOffsetHeight = function _getOffsetHeight() { + return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; + }; + + _proto._process = function _process() { + var scrollTop = this._getScrollTop() + this._config.offset; + + var scrollHeight = this._getScrollHeight(); + + var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight(); + + if (this._scrollHeight !== scrollHeight) { + this.refresh(); + } + + if (scrollTop >= maxScroll) { + var target = this._targets[this._targets.length - 1]; + + if (this._activeTarget !== target) { + this._activate(target); + } + + return; + } + + if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { + this._activeTarget = null; + + this._clear(); + + return; + } + + for (var i = this._offsets.length; i--;) { + var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]); + + if (isActiveTarget) { + this._activate(this._targets[i]); + } + } + }; + + _proto._activate = function _activate(target) { + this._activeTarget = target; + + this._clear(); + + var queries = this._selector.split(',').map(function (selector) { + return selector + "[data-target=\"" + target + "\"]," + selector + "[href=\"" + target + "\"]"; + }); + + var $link = $__default['default']([].slice.call(document.querySelectorAll(queries.join(',')))); + + if ($link.hasClass(CLASS_NAME_DROPDOWN_ITEM)) { + $link.closest(SELECTOR_DROPDOWN).find(SELECTOR_DROPDOWN_TOGGLE).addClass(CLASS_NAME_ACTIVE$2); + $link.addClass(CLASS_NAME_ACTIVE$2); + } else { + // Set triggered link as active + $link.addClass(CLASS_NAME_ACTIVE$2); // Set triggered links parents as active + // With both
    and