diff --git a/priv/mirror/v0.3/git.kmx.io/L120 b/priv/mirror/v0.3/git.kmx.io/L120
new file mode 100644
index 0000000..911075e
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/L120
@@ -0,0 +1,127 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="DTc0M0Nbag0VDjIoAyU8Bhc1XSUbAxwpABbD9c8NmjboGadUbA9sKpSy" name="csrf-token">
+
+<title data-suffix=" - kmx git">L120 - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>L120</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/L120/level120">L120/level120</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>L120</td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>L120</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Demo group</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>2.296 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/LowH b/priv/mirror/v0.3/git.kmx.io/LowH
new file mode 100644
index 0000000..facc60d
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/LowH
@@ -0,0 +1,139 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="DTYTTxEAAXdBCmUFFDUqPQQkCGEmHSM-ACE8k8S49n5BPqrnqPl7vnln" name="csrf-token">
+
+<title data-suffix=" - kmx git">LowH - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>LowH</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/LowH/exec-js">LowH/exec-js</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/LowH/http-pool">LowH/http-pool</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/LowH/mentats">LowH/mentats</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/LowH/truncate">LowH/truncate</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>LowH</td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>LowH</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Ruby, Common Lisp and C. Web agency.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>6.728 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/bordeaux-queue b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/bordeaux-queue
new file mode 100644
index 0000000..c815edf
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/bordeaux-queue
@@ -0,0 +1,201 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="AQ8URkxKNi0vIzhzEhcbGBMOICwzEQgPMzB16rdnWGh4VSCKfzDzcbG_" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="bordeaux-queue">bordeaux-queue</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/bordeaux-queue/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-queue/_log/master#66c3a546c6e807229d4809048a2d834c0ade6de4">66c3a546c</a>
+ </span>
+ <span class="date">
+2018-06-03 23:04:09 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+fix queue
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-queue/_tree/master/bordeaux-queue.asd">bordeaux-queue.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-queue/_tree/master/bordeaux-queue.lisp">bordeaux-queue.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-queue/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/bordeaux-queue.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/bordeaux-queue.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Re-entrant queue using bordeaux-threads.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.488 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/bordeaux-set b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/bordeaux-set
new file mode 100644
index 0000000..267291e
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/bordeaux-set
@@ -0,0 +1,201 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="JCQHAx9Laxs1NCIXIycaDARAPmYAOhAIhQQtes9XMPrPgcB_q4Z0PI_X" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="bordeaux-set">bordeaux-set</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/bordeaux-set/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-set/_log/master#347c037275d9af90f57a3224b72be5781c444522">347c03727</a>
+ </span>
+ <span class="date">
+2017-06-21 11:48:58 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+untabify
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-set/_tree/master/bordeaux-set.asd">bordeaux-set.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-set/_tree/master/bordeaux-set.lisp">bordeaux-set.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/bordeaux-set/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/bordeaux-set.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/bordeaux-set.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Set data structure for use with bordeaux-threads.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.464 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/can b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/can
new file mode 100644
index 0000000..de2acd2
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/can
@@ -0,0 +1,201 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="DiYSWjJRPiUeFTItFiwgOxIGVTsPQwN9BSD-HilffqbjRhxhgr1m_0L-" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="can">can</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/can/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/can/_log/master#a424f6a385cffd9f0dabc46b2adc9e2a84a8ca78">a424f6a38</a>
+ </span>
+ <span class="date">
+2017-06-21 11:14:26 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+untabify
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/can/_tree/master/can.asd">can.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/can/_tree/master/can.lisp">can.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/can/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/can.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/can.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Semantic rule-based access control library.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.816 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/gravatar b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/gravatar
new file mode 100644
index 0000000..c316732
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/gravatar
@@ -0,0 +1,213 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="fUwUMRxXHhkPAz8sABUrMDlGVhUXXigx19BFfoLZwgokDQscL22CG-ga" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="gravatar">gravatar</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/gravatar/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/gravatar/_log/master#0284b3480f8589d714ea60e47019c9436c2aaea8">0284b3480</a>
+ </span>
+ <span class="date">
+2017-06-21 11:27:50 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+untabify
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/gravatar/_tree/master/LICENSE.txt">LICENSE.txt</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/gravatar/_tree/master/README.mkdn">README.mkdn</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/gravatar/_tree/master/gravatar.asd">gravatar.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/gravatar/_tree/master/gravatar.lisp">gravatar.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/gravatar/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/gravatar.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/gravatar.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Common Lisp interface to access Gravatar images and profiles.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.912 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/re b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/re
new file mode 100644
index 0000000..67e58d0
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/re
@@ -0,0 +1,195 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="GDweEh5NFXE0LBIRPikcOg0dFiwzERgVTIHeduG2LHBVzmDixirzcbWE" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="re">re</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/re/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/re/_log/master#43a7eac3d4741807301c5400c7062b9e87ed941a">43a7eac3d</a>
+ </span>
+ <span class="date">
+2017-06-21 11:24:20 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+untabify
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/re/_tree/master/re.asd">re.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/re/_tree/master/re.lisp">re.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/re.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/re.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Regular expressions library based on CL-PPCRE.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.368 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-assets b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-assets
new file mode 100644
index 0000000..6ea58e2
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-assets
@@ -0,0 +1,315 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="FEYvTzd-BHQJND4ALRUeMDcRED5iJBACX3y8MFV7qPnGiQFcBeth2W_R" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-assets">rol-assets</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-assets/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_log/master#8920332782b61fd65c22172287d9b1b235405567">892033278</a>
+ </span>
+ <span class="date">
+2019-10-06 16:03:39 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+style
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/asset.lisp">asset.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/coffeescript.lisp">coffeescript.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/config.lisp">config.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/css.lisp">css.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/digest.lisp">digest.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/extensions.lisp">extensions.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/find.lisp">find.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/font.lisp">font.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/generate.lisp">generate.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/gzip.lisp">gzip.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/html.lisp">html.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/image.lisp">image.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/js.lisp">js.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/json.lisp">json.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/less.js">less.js</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/less.lisp">less.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/lib.lisp">lib.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/mime-types.lisp">mime-types.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/precompile.lisp">precompile.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/preprocess.lisp">preprocess.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-assets/_tree/master/rol-assets.asd">rol-assets.asd</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-assets.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-assets.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp asset pipeline</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.344 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-files b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-files
new file mode 100644
index 0000000..3430b76
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-files
@@ -0,0 +1,195 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="GgccGjtJMDlKLQMrBQETPQAxBz9mNjUDVrJmAqbz2ISlAEKnuEci6EzS" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-files">rol-files</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-files/_tree/master">master</option><option value="/RailsOnLisp/rol-files/_tree/work">work</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-files/_log/master#30915c8a7f8e8326effd91f5d34da6b3a0960096">30915c8a7</a>
+ </span>
+ <span class="date">
+2019-01-09 13:02:04 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+fix encoding errors
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-files/_tree/master/files.lisp">files.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-files/_tree/master/rol-files.asd">rol-files.asd</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-files.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-files.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp filesystem toolbox.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.896 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-log b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-log
new file mode 100644
index 0000000..c053a3f
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-log
@@ -0,0 +1,195 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="LjkURBtAFHQ2MxF1FnQ-ARc3VSQ1I3hgbLB3axF7NWA2R0fRbC1reP70" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-log">rol-log</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-log/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-log/_log/master#8dfae16d106ad5f1f33c4f0b038f88bf54735198">8dfae16d1</a>
+ </span>
+ <span class="date">
+2017-06-21 11:33:23 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+untabify
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-log/_tree/master/log.lisp">log.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-log/_tree/master/rol-log.asd">rol-log.asd</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-log.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-log.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp logging facility.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.368 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-skel b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-skel
new file mode 100644
index 0000000..0adc2d6
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-skel
@@ -0,0 +1,195 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="KzIvPg9LHgFBOxwUE3drKzwyESE8IxYUgGyIusLB9_LSW33xIFuwlPYD" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-skel">rol-skel</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-skel/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-skel/_log/master#caa04c738e89271035f3877504dfdc4a8a9d0881">caa04c738</a>
+ </span>
+ <span class="date">
+2019-10-14 19:38:39 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+fix rol skel
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-skel/_tree/master/bin">bin/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-skel/_tree/master/skel">skel/</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-skel.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-skel.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp skeleton files</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>1.112 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-template b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-template
new file mode 100644
index 0000000..07e0589
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-template
@@ -0,0 +1,195 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="CAwdFUxRISxIJzQTCw5pFDA9AS43KgMDDyKb6iso0CdTOJ1GEIexgYLS" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-template">rol-template</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-template/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-template/_log/master#45ec32523412e08bbf3fb1c5b03168cf2a0a7fbb">45ec32523</a>
+ </span>
+ <span class="date">
+2019-01-24 13:51:52 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+ws
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-template/_tree/master/rol-template.asd">rol-template.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-template/_tree/master/template.lisp">template.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-template.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-template.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp template engine.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.952 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-uri b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-uri
new file mode 100644
index 0000000..f83aea4
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-uri
@@ -0,0 +1,213 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="fRkzJQNeE3USLwhzMAoRBQIkEGRiBik01leRyfA6jKX4tNIVwPt22ufd" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-uri">rol-uri</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-uri/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-uri/_log/master#f98045377cde26fc45e1946a6439f0769b850b83">f98045377</a>
+ </span>
+ <span class="date">
+2018-06-03 23:06:08 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+fix build on clisp
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-uri/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-uri/_tree/master/pstr.lisp">pstr.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-uri/_tree/master/rol-uri.asd">rol-uri.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-uri/_tree/master/uri-template.lisp">uri-template.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-uri/_tree/master/uri.lisp">uri.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-uri.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-uri.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp URI utilities.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.288 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-wiki b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-wiki
new file mode 100644
index 0000000..a8a05fe
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/rol-wiki
@@ -0,0 +1,188 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="HiEvORx9BChODh8wdhELO00MXSQ9MBkcRTyNfEVk6jOw2USh8x9rmCVL" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="rol-wiki">rol-wiki</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/rol-wiki/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+ <img src="https://secure.gravatar.com/avatar/43d07fd59c766d9e408493c3f1d30dd9?s=48" alt="Thomas de Grivel" title="Thomas de Grivel" class="commit-avatar">
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/rol-wiki/_log/master#f56a33be71f14f265ce2ac19f16e735fbe6007c2">f56a33be7</a>
+ </span>
+ <span class="date">
+2015-06-27 21:29:20 +02:00
+ </span>
+ <br>
+ <span class="message" %>
+RailsOnLisp wiki module.
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/rol-wiki/_tree/master/app">app/</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/rol-wiki.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/rol-wiki.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+RailsOnLisp wiki module.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.448 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/thot b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/thot
new file mode 100644
index 0000000..4c94977
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/RailsOnLisp/thot
@@ -0,0 +1,281 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="EyJvJg1QAy4KJmIXHREvIEcRMCwzND0T_W9QwhQmrB2PYUws2eTzcGrC" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/RailsOnLisp">RailsOnLisp</a>/<a href="thot">thot</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/RailsOnLisp/thot/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/RailsOnLisp/thot/_log/master#4870361db595c574a18fbe8dcb003f0e018a89c9">4870361db</a>
+ </span>
+ <span class="date">
+2021-12-16 18:53:01 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+more events for kqueue
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/.gitignore">.gitignore</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/README">README</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/mime.lisp">mime.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/msg.lisp">msg.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot">thot</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot-epoll.lisp">thot-epoll.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot-kqueue.lisp">thot-kqueue.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot-select.lisp">thot-select.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot-threaded.lisp">thot-threaded.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot.asd">thot.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/RailsOnLisp/thot/_tree/master/thot.lisp">thot.lisp</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/RailsOnLisp/thot.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:RailsOnLisp/thot.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Threaded HTTP server in Common Lisp.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.352 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+ <hr>
+ <h3>README</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+ <pre>Threaded HTTP server supporting EPOLL in Common Lisp
+
+Thot has the following acceptor loops :
+ epoll unthreaded, using epoll(7) on Linux
+ select unthreaded, using select(2)
+ threaded threaded defaults to 8 threads, see *INIT-THREADS*
+
+The threaded loop has the following worker loops :
+ epoll using epoll(7) on Linux
+ select using select(2)
+
+Usage :
+ (asdf:load-system :thot)
+ (thot:start)
+</pre>
+
+ </div>
+ </div>
+ </div>
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/_assets/app-0a4c856cc804832195122aace4c50516.js b/priv/mirror/v0.3/git.kmx.io/_assets/app-0a4c856cc804832195122aace4c50516.js
new file mode 100644
index 0000000..91063a8
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/_assets/app-0a4c856cc804832195122aace4c50516.js
@@ -0,0 +1,15490 @@
+(() => {
+ var __create = Object.create;
+ var __defProp = Object.defineProperty;
+ var __defProps = Object.defineProperties;
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
+ var __getOwnPropNames = Object.getOwnPropertyNames;
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
+ var __getProtoOf = Object.getPrototypeOf;
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
+ var __spreadValues = (a, b) => {
+ for (var prop in b || (b = {}))
+ if (__hasOwnProp.call(b, prop))
+ __defNormalProp(a, prop, b[prop]);
+ if (__getOwnPropSymbols)
+ for (var prop of __getOwnPropSymbols(b)) {
+ if (__propIsEnum.call(b, prop))
+ __defNormalProp(a, prop, b[prop]);
+ }
+ return a;
+ };
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
+ var __commonJS = (cb, mod) => function __require() {
+ return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
+ };
+ var __export = (target, all) => {
+ __markAsModule(target);
+ for (var name in all)
+ __defProp(target, name, { get: all[name], enumerable: true });
+ };
+ var __reExport = (target, module, desc) => {
+ if (module && typeof module === "object" || typeof module === "function") {
+ for (let key of __getOwnPropNames(module))
+ if (!__hasOwnProp.call(target, key) && key !== "default")
+ __defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });
+ }
+ return target;
+ };
+ var __toModule = (module) => {
+ return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? { get: () => module.default, enumerable: true } : { value: module, enumerable: true })), module);
+ };
+
+ // node_modules/jquery/dist/jquery.js
+ var require_jquery = __commonJS({
+ "node_modules/jquery/dist/jquery.js"(exports, module) {
+ (function(global2, factory) {
+ "use strict";
+ if (typeof module === "object" && typeof module.exports === "object") {
+ module.exports = global2.document ? factory(global2, true) : function(w) {
+ if (!w.document) {
+ throw new Error("jQuery requires a window with a document");
+ }
+ return factory(w);
+ };
+ } else {
+ factory(global2);
+ }
+ })(typeof window !== "undefined" ? window : exports, function(window2, noGlobal) {
+ "use strict";
+ var arr = [];
+ var getProto = Object.getPrototypeOf;
+ var slice = arr.slice;
+ var flat = arr.flat ? function(array) {
+ return arr.flat.call(array);
+ } : function(array) {
+ return arr.concat.apply([], array);
+ };
+ var push = arr.push;
+ var indexOf = arr.indexOf;
+ var class2type = {};
+ var toString = class2type.toString;
+ var hasOwn = class2type.hasOwnProperty;
+ var fnToString = hasOwn.toString;
+ var ObjectFunctionString = fnToString.call(Object);
+ var support = {};
+ var isFunction = function isFunction2(obj) {
+ return typeof obj === "function" && typeof obj.nodeType !== "number" && typeof obj.item !== "function";
+ };
+ var isWindow = function isWindow2(obj) {
+ return obj != null && obj === obj.window;
+ };
+ var document2 = window2.document;
+ var preservedScriptAttributes = {
+ type: true,
+ src: true,
+ nonce: true,
+ noModule: true
+ };
+ function DOMEval(code, node, doc2) {
+ doc2 = doc2 || document2;
+ var i, val, script = doc2.createElement("script");
+ script.text = code;
+ if (node) {
+ for (i in preservedScriptAttributes) {
+ val = node[i] || node.getAttribute && node.getAttribute(i);
+ if (val) {
+ script.setAttribute(i, val);
+ }
+ }
+ }
+ doc2.head.appendChild(script).parentNode.removeChild(script);
+ }
+ function toType2(obj) {
+ if (obj == null) {
+ return obj + "";
+ }
+ return typeof obj === "object" || typeof obj === "function" ? class2type[toString.call(obj)] || "object" : typeof obj;
+ }
+ var version = "3.6.0", jQuery = function(selector, context) {
+ return new jQuery.fn.init(selector, context);
+ };
+ jQuery.fn = jQuery.prototype = {
+ jquery: version,
+ constructor: jQuery,
+ length: 0,
+ toArray: function() {
+ return slice.call(this);
+ },
+ get: function(num) {
+ if (num == null) {
+ return slice.call(this);
+ }
+ return num < 0 ? this[num + this.length] : this[num];
+ },
+ pushStack: function(elems) {
+ var ret = jQuery.merge(this.constructor(), elems);
+ ret.prevObject = this;
+ return ret;
+ },
+ each: function(callback) {
+ return jQuery.each(this, callback);
+ },
+ map: function(callback) {
+ return this.pushStack(jQuery.map(this, function(elem, i) {
+ return callback.call(elem, i, elem);
+ }));
+ },
+ slice: function() {
+ return this.pushStack(slice.apply(this, arguments));
+ },
+ first: function() {
+ return this.eq(0);
+ },
+ last: function() {
+ return this.eq(-1);
+ },
+ even: function() {
+ return this.pushStack(jQuery.grep(this, function(_elem, i) {
+ return (i + 1) % 2;
+ }));
+ },
+ odd: function() {
+ return this.pushStack(jQuery.grep(this, function(_elem, i) {
+ return i % 2;
+ }));
+ },
+ eq: function(i) {
+ var len = this.length, j = +i + (i < 0 ? len : 0);
+ return this.pushStack(j >= 0 && j < len ? [this[j]] : []);
+ },
+ end: function() {
+ return this.prevObject || this.constructor();
+ },
+ push,
+ sort: arr.sort,
+ splice: arr.splice
+ };
+ jQuery.extend = jQuery.fn.extend = function() {
+ var options, name, src, copy, copyIsArray, clone2, target = arguments[0] || {}, i = 1, length = arguments.length, deep = false;
+ if (typeof target === "boolean") {
+ deep = target;
+ target = arguments[i] || {};
+ i++;
+ }
+ if (typeof target !== "object" && !isFunction(target)) {
+ target = {};
+ }
+ if (i === length) {
+ target = this;
+ i--;
+ }
+ for (; i < length; i++) {
+ if ((options = arguments[i]) != null) {
+ for (name in options) {
+ copy = options[name];
+ if (name === "__proto__" || target === copy) {
+ continue;
+ }
+ if (deep && copy && (jQuery.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {
+ src = target[name];
+ if (copyIsArray && !Array.isArray(src)) {
+ clone2 = [];
+ } else if (!copyIsArray && !jQuery.isPlainObject(src)) {
+ clone2 = {};
+ } else {
+ clone2 = src;
+ }
+ copyIsArray = false;
+ target[name] = jQuery.extend(deep, clone2, copy);
+ } else if (copy !== void 0) {
+ target[name] = copy;
+ }
+ }
+ }
+ }
+ return target;
+ };
+ jQuery.extend({
+ expando: "jQuery" + (version + Math.random()).replace(/\D/g, ""),
+ isReady: true,
+ error: function(msg) {
+ throw new Error(msg);
+ },
+ noop: function() {
+ },
+ isPlainObject: function(obj) {
+ var proto, Ctor;
+ if (!obj || toString.call(obj) !== "[object Object]") {
+ return false;
+ }
+ proto = getProto(obj);
+ if (!proto) {
+ return true;
+ }
+ Ctor = hasOwn.call(proto, "constructor") && proto.constructor;
+ return typeof Ctor === "function" && fnToString.call(Ctor) === ObjectFunctionString;
+ },
+ isEmptyObject: function(obj) {
+ var name;
+ for (name in obj) {
+ return false;
+ }
+ return true;
+ },
+ globalEval: function(code, options, doc2) {
+ DOMEval(code, { nonce: options && options.nonce }, doc2);
+ },
+ each: function(obj, callback) {
+ var length, i = 0;
+ if (isArrayLike(obj)) {
+ length = obj.length;
+ for (; i < length; i++) {
+ if (callback.call(obj[i], i, obj[i]) === false) {
+ break;
+ }
+ }
+ } else {
+ for (i in obj) {
+ if (callback.call(obj[i], i, obj[i]) === false) {
+ break;
+ }
+ }
+ }
+ return obj;
+ },
+ makeArray: function(arr2, results) {
+ var ret = results || [];
+ if (arr2 != null) {
+ if (isArrayLike(Object(arr2))) {
+ jQuery.merge(ret, typeof arr2 === "string" ? [arr2] : arr2);
+ } else {
+ push.call(ret, arr2);
+ }
+ }
+ return ret;
+ },
+ inArray: function(elem, arr2, i) {
+ return arr2 == null ? -1 : indexOf.call(arr2, elem, i);
+ },
+ merge: function(first, second) {
+ var len = +second.length, j = 0, i = first.length;
+ for (; j < len; j++) {
+ first[i++] = second[j];
+ }
+ first.length = i;
+ return first;
+ },
+ grep: function(elems, callback, invert) {
+ var callbackInverse, matches = [], i = 0, length = elems.length, callbackExpect = !invert;
+ for (; i < length; i++) {
+ callbackInverse = !callback(elems[i], i);
+ if (callbackInverse !== callbackExpect) {
+ matches.push(elems[i]);
+ }
+ }
+ return matches;
+ },
+ map: function(elems, callback, arg) {
+ var length, value, i = 0, ret = [];
+ if (isArrayLike(elems)) {
+ length = elems.length;
+ for (; i < length; i++) {
+ value = callback(elems[i], i, arg);
+ if (value != null) {
+ ret.push(value);
+ }
+ }
+ } else {
+ for (i in elems) {
+ value = callback(elems[i], i, arg);
+ if (value != null) {
+ ret.push(value);
+ }
+ }
+ }
+ return flat(ret);
+ },
+ guid: 1,
+ support
+ });
+ if (typeof Symbol === "function") {
+ jQuery.fn[Symbol.iterator] = arr[Symbol.iterator];
+ }
+ jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(_i, name) {
+ class2type["[object " + name + "]"] = name.toLowerCase();
+ });
+ function isArrayLike(obj) {
+ var length = !!obj && "length" in obj && obj.length, type = toType2(obj);
+ if (isFunction(obj) || isWindow(obj)) {
+ return false;
+ }
+ return type === "array" || length === 0 || typeof length === "number" && length > 0 && length - 1 in obj;
+ }
+ var Sizzle = function(window3) {
+ var i, support2, Expr, getText, isXML, tokenize, compile, select, outermostContext, sortInput, hasDuplicate, setDocument, document3, docElem, documentIsHTML, rbuggyQSA, rbuggyMatches, matches, contains2, expando = "sizzle" + 1 * new Date(), preferredDoc = window3.document, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function(a, b) {
+ if (a === b) {
+ hasDuplicate = true;
+ }
+ return 0;
+ }, hasOwn2 = {}.hasOwnProperty, arr2 = [], pop = arr2.pop, pushNative = arr2.push, push2 = arr2.push, slice2 = arr2.slice, indexOf2 = function(list, elem) {
+ var i2 = 0, len = list.length;
+ for (; i2 < len; i2++) {
+ if (list[i2] === elem) {
+ return i2;
+ }
+ }
+ return -1;
+ }, booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", whitespace = "[\\x20\\t\\r\\n\\f]", identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + "*([*^$|!~]?=)" + whitespace + `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + identifier + "))|)" + whitespace + "*\\]", pseudos = ":(" + identifier + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + attributes + ")*)|.*)\\)|)", rwhitespace = new RegExp(whitespace + "+", "g"), rtrim2 = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g"), rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"), rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*"), rdescend = new RegExp(whitespace + "|>"), rpseudo = new RegExp(pseudos), ridentifier = new RegExp("^" + identifier + "$"), matchExpr = {
+ "ID": new RegExp("^#(" + identifier + ")"),
+ "CLASS": new RegExp("^\\.(" + identifier + ")"),
+ "TAG": new RegExp("^(" + identifier + "|[*])"),
+ "ATTR": new RegExp("^" + attributes),
+ "PSEUDO": new RegExp("^" + pseudos),
+ "CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i"),
+ "bool": new RegExp("^(?:" + booleans + ")$", "i"),
+ "needsContext": new RegExp("^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i")
+ }, rhtml2 = /HTML$/i, rinputs = /^(?:input|select|textarea|button)$/i, rheader = /^h\d$/i, rnative = /^[^{]+\{\s*\[native \w/, rquickExpr2 = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, rsibling = /[+~]/, runescape = new RegExp("\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g"), funescape = function(escape, nonHex) {
+ var high = "0x" + escape.slice(1) - 65536;
+ return nonHex ? nonHex : high < 0 ? String.fromCharCode(high + 65536) : String.fromCharCode(high >> 10 | 55296, high & 1023 | 56320);
+ }, rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, fcssescape = function(ch, asCodePoint) {
+ if (asCodePoint) {
+ if (ch === "\0") {
+ return "\uFFFD";
+ }
+ return ch.slice(0, -1) + "\\" + ch.charCodeAt(ch.length - 1).toString(16) + " ";
+ }
+ return "\\" + ch;
+ }, unloadHandler = function() {
+ setDocument();
+ }, inDisabledFieldset = addCombinator(function(elem) {
+ return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset";
+ }, { dir: "parentNode", next: "legend" });
+ try {
+ push2.apply(arr2 = slice2.call(preferredDoc.childNodes), preferredDoc.childNodes);
+ arr2[preferredDoc.childNodes.length].nodeType;
+ } catch (e) {
+ push2 = {
+ apply: arr2.length ? function(target, els) {
+ pushNative.apply(target, slice2.call(els));
+ } : function(target, els) {
+ var j = target.length, i2 = 0;
+ while (target[j++] = els[i2++]) {
+ }
+ target.length = j - 1;
+ }
+ };
+ }
+ function Sizzle2(selector, context, results, seed) {
+ var m, i2, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, nodeType = context ? context.nodeType : 9;
+ results = results || [];
+ if (typeof selector !== "string" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11) {
+ return results;
+ }
+ if (!seed) {
+ setDocument(context);
+ context = context || document3;
+ if (documentIsHTML) {
+ if (nodeType !== 11 && (match = rquickExpr2.exec(selector))) {
+ if (m = match[1]) {
+ if (nodeType === 9) {
+ if (elem = context.getElementById(m)) {
+ if (elem.id === m) {
+ results.push(elem);
+ return results;
+ }
+ } else {
+ return results;
+ }
+ } else {
+ if (newContext && (elem = newContext.getElementById(m)) && contains2(context, elem) && elem.id === m) {
+ results.push(elem);
+ return results;
+ }
+ }
+ } else if (match[2]) {
+ push2.apply(results, context.getElementsByTagName(selector));
+ return results;
+ } else if ((m = match[3]) && support2.getElementsByClassName && context.getElementsByClassName) {
+ push2.apply(results, context.getElementsByClassName(m));
+ return results;
+ }
+ }
+ if (support2.qsa && !nonnativeSelectorCache[selector + " "] && (!rbuggyQSA || !rbuggyQSA.test(selector)) && (nodeType !== 1 || context.nodeName.toLowerCase() !== "object")) {
+ newSelector = selector;
+ newContext = context;
+ if (nodeType === 1 && (rdescend.test(selector) || rcombinators.test(selector))) {
+ newContext = rsibling.test(selector) && testContext(context.parentNode) || context;
+ if (newContext !== context || !support2.scope) {
+ if (nid = context.getAttribute("id")) {
+ nid = nid.replace(rcssescape, fcssescape);
+ } else {
+ context.setAttribute("id", nid = expando);
+ }
+ }
+ groups = tokenize(selector);
+ i2 = groups.length;
+ while (i2--) {
+ groups[i2] = (nid ? "#" + nid : ":scope") + " " + toSelector(groups[i2]);
+ }
+ newSelector = groups.join(",");
+ }
+ try {
+ push2.apply(results, newContext.querySelectorAll(newSelector));
+ return results;
+ } catch (qsaError) {
+ nonnativeSelectorCache(selector, true);
+ } finally {
+ if (nid === expando) {
+ context.removeAttribute("id");
+ }
+ }
+ }
+ }
+ }
+ return select(selector.replace(rtrim2, "$1"), context, results, seed);
+ }
+ function createCache() {
+ var keys = [];
+ function cache(key, value) {
+ if (keys.push(key + " ") > Expr.cacheLength) {
+ delete cache[keys.shift()];
+ }
+ return cache[key + " "] = value;
+ }
+ return cache;
+ }
+ function markFunction(fn2) {
+ fn2[expando] = true;
+ return fn2;
+ }
+ function assert(fn2) {
+ var el = document3.createElement("fieldset");
+ try {
+ return !!fn2(el);
+ } catch (e) {
+ return false;
+ } finally {
+ if (el.parentNode) {
+ el.parentNode.removeChild(el);
+ }
+ el = null;
+ }
+ }
+ function addHandle(attrs, handler) {
+ var arr3 = attrs.split("|"), i2 = arr3.length;
+ while (i2--) {
+ Expr.attrHandle[arr3[i2]] = handler;
+ }
+ }
+ function siblingCheck(a, b) {
+ var cur = b && a, diff = cur && a.nodeType === 1 && b.nodeType === 1 && a.sourceIndex - b.sourceIndex;
+ if (diff) {
+ return diff;
+ }
+ if (cur) {
+ while (cur = cur.nextSibling) {
+ if (cur === b) {
+ return -1;
+ }
+ }
+ }
+ return a ? 1 : -1;
+ }
+ function createInputPseudo(type) {
+ return function(elem) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === type;
+ };
+ }
+ function createButtonPseudo(type) {
+ return function(elem) {
+ var name = elem.nodeName.toLowerCase();
+ return (name === "input" || name === "button") && elem.type === type;
+ };
+ }
+ function createDisabledPseudo(disabled) {
+ return function(elem) {
+ if ("form" in elem) {
+ if (elem.parentNode && elem.disabled === false) {
+ if ("label" in elem) {
+ if ("label" in elem.parentNode) {
+ return elem.parentNode.disabled === disabled;
+ } else {
+ return elem.disabled === disabled;
+ }
+ }
+ return elem.isDisabled === disabled || elem.isDisabled !== !disabled && inDisabledFieldset(elem) === disabled;
+ }
+ return elem.disabled === disabled;
+ } else if ("label" in elem) {
+ return elem.disabled === disabled;
+ }
+ return false;
+ };
+ }
+ function createPositionalPseudo(fn2) {
+ return markFunction(function(argument) {
+ argument = +argument;
+ return markFunction(function(seed, matches2) {
+ var j, matchIndexes = fn2([], seed.length, argument), i2 = matchIndexes.length;
+ while (i2--) {
+ if (seed[j = matchIndexes[i2]]) {
+ seed[j] = !(matches2[j] = seed[j]);
+ }
+ }
+ });
+ });
+ }
+ function testContext(context) {
+ return context && typeof context.getElementsByTagName !== "undefined" && context;
+ }
+ support2 = Sizzle2.support = {};
+ isXML = Sizzle2.isXML = function(elem) {
+ var namespace = elem && elem.namespaceURI, docElem2 = elem && (elem.ownerDocument || elem).documentElement;
+ return !rhtml2.test(namespace || docElem2 && docElem2.nodeName || "HTML");
+ };
+ setDocument = Sizzle2.setDocument = function(node) {
+ var hasCompare, subWindow, doc2 = node ? node.ownerDocument || node : preferredDoc;
+ if (doc2 == document3 || doc2.nodeType !== 9 || !doc2.documentElement) {
+ return document3;
+ }
+ document3 = doc2;
+ docElem = document3.documentElement;
+ documentIsHTML = !isXML(document3);
+ if (preferredDoc != document3 && (subWindow = document3.defaultView) && subWindow.top !== subWindow) {
+ if (subWindow.addEventListener) {
+ subWindow.addEventListener("unload", unloadHandler, false);
+ } else if (subWindow.attachEvent) {
+ subWindow.attachEvent("onunload", unloadHandler);
+ }
+ }
+ support2.scope = assert(function(el) {
+ docElem.appendChild(el).appendChild(document3.createElement("div"));
+ return typeof el.querySelectorAll !== "undefined" && !el.querySelectorAll(":scope fieldset div").length;
+ });
+ support2.attributes = assert(function(el) {
+ el.className = "i";
+ return !el.getAttribute("className");
+ });
+ support2.getElementsByTagName = assert(function(el) {
+ el.appendChild(document3.createComment(""));
+ return !el.getElementsByTagName("*").length;
+ });
+ support2.getElementsByClassName = rnative.test(document3.getElementsByClassName);
+ support2.getById = assert(function(el) {
+ docElem.appendChild(el).id = expando;
+ return !document3.getElementsByName || !document3.getElementsByName(expando).length;
+ });
+ if (support2.getById) {
+ Expr.filter["ID"] = function(id) {
+ var attrId = id.replace(runescape, funescape);
+ return function(elem) {
+ return elem.getAttribute("id") === attrId;
+ };
+ };
+ Expr.find["ID"] = function(id, context) {
+ if (typeof context.getElementById !== "undefined" && documentIsHTML) {
+ var elem = context.getElementById(id);
+ return elem ? [elem] : [];
+ }
+ };
+ } else {
+ Expr.filter["ID"] = function(id) {
+ var attrId = id.replace(runescape, funescape);
+ return function(elem) {
+ var node2 = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
+ return node2 && node2.value === attrId;
+ };
+ };
+ Expr.find["ID"] = function(id, context) {
+ if (typeof context.getElementById !== "undefined" && documentIsHTML) {
+ var node2, i2, elems, elem = context.getElementById(id);
+ if (elem) {
+ node2 = elem.getAttributeNode("id");
+ if (node2 && node2.value === id) {
+ return [elem];
+ }
+ elems = context.getElementsByName(id);
+ i2 = 0;
+ while (elem = elems[i2++]) {
+ node2 = elem.getAttributeNode("id");
+ if (node2 && node2.value === id) {
+ return [elem];
+ }
+ }
+ }
+ return [];
+ }
+ };
+ }
+ Expr.find["TAG"] = support2.getElementsByTagName ? function(tag, context) {
+ if (typeof context.getElementsByTagName !== "undefined") {
+ return context.getElementsByTagName(tag);
+ } else if (support2.qsa) {
+ return context.querySelectorAll(tag);
+ }
+ } : function(tag, context) {
+ var elem, tmp = [], i2 = 0, results = context.getElementsByTagName(tag);
+ if (tag === "*") {
+ while (elem = results[i2++]) {
+ if (elem.nodeType === 1) {
+ tmp.push(elem);
+ }
+ }
+ return tmp;
+ }
+ return results;
+ };
+ Expr.find["CLASS"] = support2.getElementsByClassName && function(className, context) {
+ if (typeof context.getElementsByClassName !== "undefined" && documentIsHTML) {
+ return context.getElementsByClassName(className);
+ }
+ };
+ rbuggyMatches = [];
+ rbuggyQSA = [];
+ if (support2.qsa = rnative.test(document3.querySelectorAll)) {
+ assert(function(el) {
+ var input;
+ docElem.appendChild(el).innerHTML = "<a id='" + expando + "'></a><select id='" + expando + "-\r\\' msallowcapture=''><option selected=''></option></select>";
+ if (el.querySelectorAll("[msallowcapture^='']").length) {
+ rbuggyQSA.push("[*^$]=" + whitespace + `*(?:''|"")`);
+ }
+ if (!el.querySelectorAll("[selected]").length) {
+ rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")");
+ }
+ if (!el.querySelectorAll("[id~=" + expando + "-]").length) {
+ rbuggyQSA.push("~=");
+ }
+ input = document3.createElement("input");
+ input.setAttribute("name", "");
+ el.appendChild(input);
+ if (!el.querySelectorAll("[name='']").length) {
+ rbuggyQSA.push("\\[" + whitespace + "*name" + whitespace + "*=" + whitespace + `*(?:''|"")`);
+ }
+ if (!el.querySelectorAll(":checked").length) {
+ rbuggyQSA.push(":checked");
+ }
+ if (!el.querySelectorAll("a#" + expando + "+*").length) {
+ rbuggyQSA.push(".#.+[+~]");
+ }
+ el.querySelectorAll("\\\f");
+ rbuggyQSA.push("[\\r\\n\\f]");
+ });
+ assert(function(el) {
+ el.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
+ var input = document3.createElement("input");
+ input.setAttribute("type", "hidden");
+ el.appendChild(input).setAttribute("name", "D");
+ if (el.querySelectorAll("[name=d]").length) {
+ rbuggyQSA.push("name" + whitespace + "*[*^$|!~]?=");
+ }
+ if (el.querySelectorAll(":enabled").length !== 2) {
+ rbuggyQSA.push(":enabled", ":disabled");
+ }
+ docElem.appendChild(el).disabled = true;
+ if (el.querySelectorAll(":disabled").length !== 2) {
+ rbuggyQSA.push(":enabled", ":disabled");
+ }
+ el.querySelectorAll("*,:x");
+ rbuggyQSA.push(",.*:");
+ });
+ }
+ if (support2.matchesSelector = rnative.test(matches = docElem.matches || docElem.webkitMatchesSelector || docElem.mozMatchesSelector || docElem.oMatchesSelector || docElem.msMatchesSelector)) {
+ assert(function(el) {
+ support2.disconnectedMatch = matches.call(el, "*");
+ matches.call(el, "[s!='']:x");
+ rbuggyMatches.push("!=", pseudos);
+ });
+ }
+ rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|"));
+ rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|"));
+ hasCompare = rnative.test(docElem.compareDocumentPosition);
+ contains2 = hasCompare || rnative.test(docElem.contains) ? function(a, b) {
+ var adown = a.nodeType === 9 ? a.documentElement : a, bup = b && b.parentNode;
+ return a === bup || !!(bup && bup.nodeType === 1 && (adown.contains ? adown.contains(bup) : a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16));
+ } : function(a, b) {
+ if (b) {
+ while (b = b.parentNode) {
+ if (b === a) {
+ return true;
+ }
+ }
+ }
+ return false;
+ };
+ sortOrder = hasCompare ? function(a, b) {
+ if (a === b) {
+ hasDuplicate = true;
+ return 0;
+ }
+ var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
+ if (compare) {
+ return compare;
+ }
+ compare = (a.ownerDocument || a) == (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1;
+ if (compare & 1 || !support2.sortDetached && b.compareDocumentPosition(a) === compare) {
+ if (a == document3 || a.ownerDocument == preferredDoc && contains2(preferredDoc, a)) {
+ return -1;
+ }
+ if (b == document3 || b.ownerDocument == preferredDoc && contains2(preferredDoc, b)) {
+ return 1;
+ }
+ return sortInput ? indexOf2(sortInput, a) - indexOf2(sortInput, b) : 0;
+ }
+ return compare & 4 ? -1 : 1;
+ } : function(a, b) {
+ if (a === b) {
+ hasDuplicate = true;
+ return 0;
+ }
+ var cur, i2 = 0, aup = a.parentNode, bup = b.parentNode, ap = [a], bp = [b];
+ if (!aup || !bup) {
+ return a == document3 ? -1 : b == document3 ? 1 : aup ? -1 : bup ? 1 : sortInput ? indexOf2(sortInput, a) - indexOf2(sortInput, b) : 0;
+ } else if (aup === bup) {
+ return siblingCheck(a, b);
+ }
+ cur = a;
+ while (cur = cur.parentNode) {
+ ap.unshift(cur);
+ }
+ cur = b;
+ while (cur = cur.parentNode) {
+ bp.unshift(cur);
+ }
+ while (ap[i2] === bp[i2]) {
+ i2++;
+ }
+ return i2 ? siblingCheck(ap[i2], bp[i2]) : ap[i2] == preferredDoc ? -1 : bp[i2] == preferredDoc ? 1 : 0;
+ };
+ return document3;
+ };
+ Sizzle2.matches = function(expr, elements) {
+ return Sizzle2(expr, null, null, elements);
+ };
+ Sizzle2.matchesSelector = function(elem, expr) {
+ setDocument(elem);
+ if (support2.matchesSelector && documentIsHTML && !nonnativeSelectorCache[expr + " "] && (!rbuggyMatches || !rbuggyMatches.test(expr)) && (!rbuggyQSA || !rbuggyQSA.test(expr))) {
+ try {
+ var ret = matches.call(elem, expr);
+ if (ret || support2.disconnectedMatch || elem.document && elem.document.nodeType !== 11) {
+ return ret;
+ }
+ } catch (e) {
+ nonnativeSelectorCache(expr, true);
+ }
+ }
+ return Sizzle2(expr, document3, null, [elem]).length > 0;
+ };
+ Sizzle2.contains = function(context, elem) {
+ if ((context.ownerDocument || context) != document3) {
+ setDocument(context);
+ }
+ return contains2(context, elem);
+ };
+ Sizzle2.attr = function(elem, name) {
+ if ((elem.ownerDocument || elem) != document3) {
+ setDocument(elem);
+ }
+ var fn2 = Expr.attrHandle[name.toLowerCase()], val = fn2 && hasOwn2.call(Expr.attrHandle, name.toLowerCase()) ? fn2(elem, name, !documentIsHTML) : void 0;
+ return val !== void 0 ? val : support2.attributes || !documentIsHTML ? elem.getAttribute(name) : (val = elem.getAttributeNode(name)) && val.specified ? val.value : null;
+ };
+ Sizzle2.escape = function(sel) {
+ return (sel + "").replace(rcssescape, fcssescape);
+ };
+ Sizzle2.error = function(msg) {
+ throw new Error("Syntax error, unrecognized expression: " + msg);
+ };
+ Sizzle2.uniqueSort = function(results) {
+ var elem, duplicates = [], j = 0, i2 = 0;
+ hasDuplicate = !support2.detectDuplicates;
+ sortInput = !support2.sortStable && results.slice(0);
+ results.sort(sortOrder);
+ if (hasDuplicate) {
+ while (elem = results[i2++]) {
+ if (elem === results[i2]) {
+ j = duplicates.push(i2);
+ }
+ }
+ while (j--) {
+ results.splice(duplicates[j], 1);
+ }
+ }
+ sortInput = null;
+ return results;
+ };
+ getText = Sizzle2.getText = function(elem) {
+ var node, ret = "", i2 = 0, nodeType = elem.nodeType;
+ if (!nodeType) {
+ while (node = elem[i2++]) {
+ ret += getText(node);
+ }
+ } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) {
+ if (typeof elem.textContent === "string") {
+ return elem.textContent;
+ } else {
+ for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
+ ret += getText(elem);
+ }
+ }
+ } else if (nodeType === 3 || nodeType === 4) {
+ return elem.nodeValue;
+ }
+ return ret;
+ };
+ Expr = Sizzle2.selectors = {
+ cacheLength: 50,
+ createPseudo: markFunction,
+ match: matchExpr,
+ attrHandle: {},
+ find: {},
+ relative: {
+ ">": { dir: "parentNode", first: true },
+ " ": { dir: "parentNode" },
+ "+": { dir: "previousSibling", first: true },
+ "~": { dir: "previousSibling" }
+ },
+ preFilter: {
+ "ATTR": function(match) {
+ match[1] = match[1].replace(runescape, funescape);
+ match[3] = (match[3] || match[4] || match[5] || "").replace(runescape, funescape);
+ if (match[2] === "~=") {
+ match[3] = " " + match[3] + " ";
+ }
+ return match.slice(0, 4);
+ },
+ "CHILD": function(match) {
+ match[1] = match[1].toLowerCase();
+ if (match[1].slice(0, 3) === "nth") {
+ if (!match[3]) {
+ Sizzle2.error(match[0]);
+ }
+ match[4] = +(match[4] ? match[5] + (match[6] || 1) : 2 * (match[3] === "even" || match[3] === "odd"));
+ match[5] = +(match[7] + match[8] || match[3] === "odd");
+ } else if (match[3]) {
+ Sizzle2.error(match[0]);
+ }
+ return match;
+ },
+ "PSEUDO": function(match) {
+ var excess, unquoted = !match[6] && match[2];
+ if (matchExpr["CHILD"].test(match[0])) {
+ return null;
+ }
+ if (match[3]) {
+ match[2] = match[4] || match[5] || "";
+ } else if (unquoted && rpseudo.test(unquoted) && (excess = tokenize(unquoted, true)) && (excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) {
+ match[0] = match[0].slice(0, excess);
+ match[2] = unquoted.slice(0, excess);
+ }
+ return match.slice(0, 3);
+ }
+ },
+ filter: {
+ "TAG": function(nodeNameSelector) {
+ var nodeName2 = nodeNameSelector.replace(runescape, funescape).toLowerCase();
+ return nodeNameSelector === "*" ? function() {
+ return true;
+ } : function(elem) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === nodeName2;
+ };
+ },
+ "CLASS": function(className) {
+ var pattern = classCache[className + " "];
+ return pattern || (pattern = new RegExp("(^|" + whitespace + ")" + className + "(" + whitespace + "|$)")) && classCache(className, function(elem) {
+ return pattern.test(typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "");
+ });
+ },
+ "ATTR": function(name, operator, check) {
+ return function(elem) {
+ var result = Sizzle2.attr(elem, name);
+ if (result == null) {
+ return operator === "!=";
+ }
+ if (!operator) {
+ return true;
+ }
+ result += "";
+ return operator === "=" ? result === check : operator === "!=" ? result !== check : operator === "^=" ? check && result.indexOf(check) === 0 : operator === "*=" ? check && result.indexOf(check) > -1 : operator === "$=" ? check && result.slice(-check.length) === check : operator === "~=" ? (" " + result.replace(rwhitespace, " ") + " ").indexOf(check) > -1 : operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" : false;
+ };
+ },
+ "CHILD": function(type, what, _argument, first, last) {
+ var simple = type.slice(0, 3) !== "nth", forward = type.slice(-4) !== "last", ofType = what === "of-type";
+ return first === 1 && last === 0 ? function(elem) {
+ return !!elem.parentNode;
+ } : function(elem, _context, xml) {
+ var cache, uniqueCache, outerCache, node, nodeIndex, start2, dir2 = simple !== forward ? "nextSibling" : "previousSibling", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false;
+ if (parent) {
+ if (simple) {
+ while (dir2) {
+ node = elem;
+ while (node = node[dir2]) {
+ if (ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) {
+ return false;
+ }
+ }
+ start2 = dir2 = type === "only" && !start2 && "nextSibling";
+ }
+ return true;
+ }
+ start2 = [forward ? parent.firstChild : parent.lastChild];
+ if (forward && useCache) {
+ node = parent;
+ outerCache = node[expando] || (node[expando] = {});
+ uniqueCache = outerCache[node.uniqueID] || (outerCache[node.uniqueID] = {});
+ cache = uniqueCache[type] || [];
+ nodeIndex = cache[0] === dirruns && cache[1];
+ diff = nodeIndex && cache[2];
+ node = nodeIndex && parent.childNodes[nodeIndex];
+ while (node = ++nodeIndex && node && node[dir2] || (diff = nodeIndex = 0) || start2.pop()) {
+ if (node.nodeType === 1 && ++diff && node === elem) {
+ uniqueCache[type] = [dirruns, nodeIndex, diff];
+ break;
+ }
+ }
+ } else {
+ if (useCache) {
+ node = elem;
+ outerCache = node[expando] || (node[expando] = {});
+ uniqueCache = outerCache[node.uniqueID] || (outerCache[node.uniqueID] = {});
+ cache = uniqueCache[type] || [];
+ nodeIndex = cache[0] === dirruns && cache[1];
+ diff = nodeIndex;
+ }
+ if (diff === false) {
+ while (node = ++nodeIndex && node && node[dir2] || (diff = nodeIndex = 0) || start2.pop()) {
+ if ((ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) && ++diff) {
+ if (useCache) {
+ outerCache = node[expando] || (node[expando] = {});
+ uniqueCache = outerCache[node.uniqueID] || (outerCache[node.uniqueID] = {});
+ uniqueCache[type] = [dirruns, diff];
+ }
+ if (node === elem) {
+ break;
+ }
+ }
+ }
+ }
+ }
+ diff -= last;
+ return diff === first || diff % first === 0 && diff / first >= 0;
+ }
+ };
+ },
+ "PSEUDO": function(pseudo, argument) {
+ var args, fn2 = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || Sizzle2.error("unsupported pseudo: " + pseudo);
+ if (fn2[expando]) {
+ return fn2(argument);
+ }
+ if (fn2.length > 1) {
+ args = [pseudo, pseudo, "", argument];
+ return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function(seed, matches2) {
+ var idx, matched = fn2(seed, argument), i2 = matched.length;
+ while (i2--) {
+ idx = indexOf2(seed, matched[i2]);
+ seed[idx] = !(matches2[idx] = matched[i2]);
+ }
+ }) : function(elem) {
+ return fn2(elem, 0, args);
+ };
+ }
+ return fn2;
+ }
+ },
+ pseudos: {
+ "not": markFunction(function(selector) {
+ var input = [], results = [], matcher = compile(selector.replace(rtrim2, "$1"));
+ return matcher[expando] ? markFunction(function(seed, matches2, _context, xml) {
+ var elem, unmatched = matcher(seed, null, xml, []), i2 = seed.length;
+ while (i2--) {
+ if (elem = unmatched[i2]) {
+ seed[i2] = !(matches2[i2] = elem);
+ }
+ }
+ }) : function(elem, _context, xml) {
+ input[0] = elem;
+ matcher(input, null, xml, results);
+ input[0] = null;
+ return !results.pop();
+ };
+ }),
+ "has": markFunction(function(selector) {
+ return function(elem) {
+ return Sizzle2(selector, elem).length > 0;
+ };
+ }),
+ "contains": markFunction(function(text) {
+ text = text.replace(runescape, funescape);
+ return function(elem) {
+ return (elem.textContent || getText(elem)).indexOf(text) > -1;
+ };
+ }),
+ "lang": markFunction(function(lang) {
+ if (!ridentifier.test(lang || "")) {
+ Sizzle2.error("unsupported lang: " + lang);
+ }
+ lang = lang.replace(runescape, funescape).toLowerCase();
+ return function(elem) {
+ var elemLang;
+ do {
+ if (elemLang = documentIsHTML ? elem.lang : elem.getAttribute("xml:lang") || elem.getAttribute("lang")) {
+ elemLang = elemLang.toLowerCase();
+ return elemLang === lang || elemLang.indexOf(lang + "-") === 0;
+ }
+ } while ((elem = elem.parentNode) && elem.nodeType === 1);
+ return false;
+ };
+ }),
+ "target": function(elem) {
+ var hash3 = window3.location && window3.location.hash;
+ return hash3 && hash3.slice(1) === elem.id;
+ },
+ "root": function(elem) {
+ return elem === docElem;
+ },
+ "focus": function(elem) {
+ return elem === document3.activeElement && (!document3.hasFocus || document3.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
+ },
+ "enabled": createDisabledPseudo(false),
+ "disabled": createDisabledPseudo(true),
+ "checked": function(elem) {
+ var nodeName2 = elem.nodeName.toLowerCase();
+ return nodeName2 === "input" && !!elem.checked || nodeName2 === "option" && !!elem.selected;
+ },
+ "selected": function(elem) {
+ if (elem.parentNode) {
+ elem.parentNode.selectedIndex;
+ }
+ return elem.selected === true;
+ },
+ "empty": function(elem) {
+ for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
+ if (elem.nodeType < 6) {
+ return false;
+ }
+ }
+ return true;
+ },
+ "parent": function(elem) {
+ return !Expr.pseudos["empty"](elem);
+ },
+ "header": function(elem) {
+ return rheader.test(elem.nodeName);
+ },
+ "input": function(elem) {
+ return rinputs.test(elem.nodeName);
+ },
+ "button": function(elem) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === "button" || name === "button";
+ },
+ "text": function(elem) {
+ var attr;
+ return elem.nodeName.toLowerCase() === "input" && elem.type === "text" && ((attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text");
+ },
+ "first": createPositionalPseudo(function() {
+ return [0];
+ }),
+ "last": createPositionalPseudo(function(_matchIndexes, length) {
+ return [length - 1];
+ }),
+ "eq": createPositionalPseudo(function(_matchIndexes, length, argument) {
+ return [argument < 0 ? argument + length : argument];
+ }),
+ "even": createPositionalPseudo(function(matchIndexes, length) {
+ var i2 = 0;
+ for (; i2 < length; i2 += 2) {
+ matchIndexes.push(i2);
+ }
+ return matchIndexes;
+ }),
+ "odd": createPositionalPseudo(function(matchIndexes, length) {
+ var i2 = 1;
+ for (; i2 < length; i2 += 2) {
+ matchIndexes.push(i2);
+ }
+ return matchIndexes;
+ }),
+ "lt": createPositionalPseudo(function(matchIndexes, length, argument) {
+ var i2 = argument < 0 ? argument + length : argument > length ? length : argument;
+ for (; --i2 >= 0; ) {
+ matchIndexes.push(i2);
+ }
+ return matchIndexes;
+ }),
+ "gt": createPositionalPseudo(function(matchIndexes, length, argument) {
+ var i2 = argument < 0 ? argument + length : argument;
+ for (; ++i2 < length; ) {
+ matchIndexes.push(i2);
+ }
+ return matchIndexes;
+ })
+ }
+ };
+ Expr.pseudos["nth"] = Expr.pseudos["eq"];
+ for (i in { radio: true, checkbox: true, file: true, password: true, image: true }) {
+ Expr.pseudos[i] = createInputPseudo(i);
+ }
+ for (i in { submit: true, reset: true }) {
+ Expr.pseudos[i] = createButtonPseudo(i);
+ }
+ function setFilters() {
+ }
+ setFilters.prototype = Expr.filters = Expr.pseudos;
+ Expr.setFilters = new setFilters();
+ tokenize = Sizzle2.tokenize = function(selector, parseOnly) {
+ var matched, match, tokens, type, soFar, groups, preFilters, cached = tokenCache[selector + " "];
+ if (cached) {
+ return parseOnly ? 0 : cached.slice(0);
+ }
+ soFar = selector;
+ groups = [];
+ preFilters = Expr.preFilter;
+ while (soFar) {
+ if (!matched || (match = rcomma.exec(soFar))) {
+ if (match) {
+ soFar = soFar.slice(match[0].length) || soFar;
+ }
+ groups.push(tokens = []);
+ }
+ matched = false;
+ if (match = rcombinators.exec(soFar)) {
+ matched = match.shift();
+ tokens.push({
+ value: matched,
+ type: match[0].replace(rtrim2, " ")
+ });
+ soFar = soFar.slice(matched.length);
+ }
+ for (type in Expr.filter) {
+ if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] || (match = preFilters[type](match)))) {
+ matched = match.shift();
+ tokens.push({
+ value: matched,
+ type,
+ matches: match
+ });
+ soFar = soFar.slice(matched.length);
+ }
+ }
+ if (!matched) {
+ break;
+ }
+ }
+ return parseOnly ? soFar.length : soFar ? Sizzle2.error(selector) : tokenCache(selector, groups).slice(0);
+ };
+ function toSelector(tokens) {
+ var i2 = 0, len = tokens.length, selector = "";
+ for (; i2 < len; i2++) {
+ selector += tokens[i2].value;
+ }
+ return selector;
+ }
+ function addCombinator(matcher, combinator, base) {
+ var dir2 = combinator.dir, skip = combinator.next, key = skip || dir2, checkNonElements = base && key === "parentNode", doneName = done++;
+ return combinator.first ? function(elem, context, xml) {
+ while (elem = elem[dir2]) {
+ if (elem.nodeType === 1 || checkNonElements) {
+ return matcher(elem, context, xml);
+ }
+ }
+ return false;
+ } : function(elem, context, xml) {
+ var oldCache, uniqueCache, outerCache, newCache = [dirruns, doneName];
+ if (xml) {
+ while (elem = elem[dir2]) {
+ if (elem.nodeType === 1 || checkNonElements) {
+ if (matcher(elem, context, xml)) {
+ return true;
+ }
+ }
+ }
+ } else {
+ while (elem = elem[dir2]) {
+ if (elem.nodeType === 1 || checkNonElements) {
+ outerCache = elem[expando] || (elem[expando] = {});
+ uniqueCache = outerCache[elem.uniqueID] || (outerCache[elem.uniqueID] = {});
+ if (skip && skip === elem.nodeName.toLowerCase()) {
+ elem = elem[dir2] || elem;
+ } else if ((oldCache = uniqueCache[key]) && oldCache[0] === dirruns && oldCache[1] === doneName) {
+ return newCache[2] = oldCache[2];
+ } else {
+ uniqueCache[key] = newCache;
+ if (newCache[2] = matcher(elem, context, xml)) {
+ return true;
+ }
+ }
+ }
+ }
+ }
+ return false;
+ };
+ }
+ function elementMatcher(matchers) {
+ return matchers.length > 1 ? function(elem, context, xml) {
+ var i2 = matchers.length;
+ while (i2--) {
+ if (!matchers[i2](elem, context, xml)) {
+ return false;
+ }
+ }
+ return true;
+ } : matchers[0];
+ }
+ function multipleContexts(selector, contexts, results) {
+ var i2 = 0, len = contexts.length;
+ for (; i2 < len; i2++) {
+ Sizzle2(selector, contexts[i2], results);
+ }
+ return results;
+ }
+ function condense(unmatched, map, filter, context, xml) {
+ var elem, newUnmatched = [], i2 = 0, len = unmatched.length, mapped = map != null;
+ for (; i2 < len; i2++) {
+ if (elem = unmatched[i2]) {
+ if (!filter || filter(elem, context, xml)) {
+ newUnmatched.push(elem);
+ if (mapped) {
+ map.push(i2);
+ }
+ }
+ }
+ }
+ return newUnmatched;
+ }
+ function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {
+ if (postFilter && !postFilter[expando]) {
+ postFilter = setMatcher(postFilter);
+ }
+ if (postFinder && !postFinder[expando]) {
+ postFinder = setMatcher(postFinder, postSelector);
+ }
+ return markFunction(function(seed, results, context, xml) {
+ var temp, i2, elem, preMap = [], postMap = [], preexisting = results.length, elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []), matcherIn = preFilter && (seed || !selector) ? condense(elems, preMap, preFilter, context, xml) : elems, matcherOut = matcher ? postFinder || (seed ? preFilter : preexisting || postFilter) ? [] : results : matcherIn;
+ if (matcher) {
+ matcher(matcherIn, matcherOut, context, xml);
+ }
+ if (postFilter) {
+ temp = condense(matcherOut, postMap);
+ postFilter(temp, [], context, xml);
+ i2 = temp.length;
+ while (i2--) {
+ if (elem = temp[i2]) {
+ matcherOut[postMap[i2]] = !(matcherIn[postMap[i2]] = elem);
+ }
+ }
+ }
+ if (seed) {
+ if (postFinder || preFilter) {
+ if (postFinder) {
+ temp = [];
+ i2 = matcherOut.length;
+ while (i2--) {
+ if (elem = matcherOut[i2]) {
+ temp.push(matcherIn[i2] = elem);
+ }
+ }
+ postFinder(null, matcherOut = [], temp, xml);
+ }
+ i2 = matcherOut.length;
+ while (i2--) {
+ if ((elem = matcherOut[i2]) && (temp = postFinder ? indexOf2(seed, elem) : preMap[i2]) > -1) {
+ seed[temp] = !(results[temp] = elem);
+ }
+ }
+ }
+ } else {
+ matcherOut = condense(matcherOut === results ? matcherOut.splice(preexisting, matcherOut.length) : matcherOut);
+ if (postFinder) {
+ postFinder(null, results, matcherOut, xml);
+ } else {
+ push2.apply(results, matcherOut);
+ }
+ }
+ });
+ }
+ function matcherFromTokens(tokens) {
+ var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[tokens[0].type], implicitRelative = leadingRelative || Expr.relative[" "], i2 = leadingRelative ? 1 : 0, matchContext = addCombinator(function(elem) {
+ return elem === checkContext;
+ }, implicitRelative, true), matchAnyContext = addCombinator(function(elem) {
+ return indexOf2(checkContext, elem) > -1;
+ }, implicitRelative, true), matchers = [function(elem, context, xml) {
+ var ret = !leadingRelative && (xml || context !== outermostContext) || ((checkContext = context).nodeType ? matchContext(elem, context, xml) : matchAnyContext(elem, context, xml));
+ checkContext = null;
+ return ret;
+ }];
+ for (; i2 < len; i2++) {
+ if (matcher = Expr.relative[tokens[i2].type]) {
+ matchers = [addCombinator(elementMatcher(matchers), matcher)];
+ } else {
+ matcher = Expr.filter[tokens[i2].type].apply(null, tokens[i2].matches);
+ if (matcher[expando]) {
+ j = ++i2;
+ for (; j < len; j++) {
+ if (Expr.relative[tokens[j].type]) {
+ break;
+ }
+ }
+ return setMatcher(i2 > 1 && elementMatcher(matchers), i2 > 1 && toSelector(tokens.slice(0, i2 - 1).concat({ value: tokens[i2 - 2].type === " " ? "*" : "" })).replace(rtrim2, "$1"), matcher, i2 < j && matcherFromTokens(tokens.slice(i2, j)), j < len && matcherFromTokens(tokens = tokens.slice(j)), j < len && toSelector(tokens));
+ }
+ matchers.push(matcher);
+ }
+ }
+ return elementMatcher(matchers);
+ }
+ function matcherFromGroupMatchers(elementMatchers, setMatchers) {
+ var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function(seed, context, xml, results, outermost) {
+ var elem, j, matcher, matchedCount = 0, i2 = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, elems = seed || byElement && Expr.find["TAG"]("*", outermost), dirrunsUnique = dirruns += contextBackup == null ? 1 : Math.random() || 0.1, len = elems.length;
+ if (outermost) {
+ outermostContext = context == document3 || context || outermost;
+ }
+ for (; i2 !== len && (elem = elems[i2]) != null; i2++) {
+ if (byElement && elem) {
+ j = 0;
+ if (!context && elem.ownerDocument != document3) {
+ setDocument(elem);
+ xml = !documentIsHTML;
+ }
+ while (matcher = elementMatchers[j++]) {
+ if (matcher(elem, context || document3, xml)) {
+ results.push(elem);
+ break;
+ }
+ }
+ if (outermost) {
+ dirruns = dirrunsUnique;
+ }
+ }
+ if (bySet) {
+ if (elem = !matcher && elem) {
+ matchedCount--;
+ }
+ if (seed) {
+ unmatched.push(elem);
+ }
+ }
+ }
+ matchedCount += i2;
+ if (bySet && i2 !== matchedCount) {
+ j = 0;
+ while (matcher = setMatchers[j++]) {
+ matcher(unmatched, setMatched, context, xml);
+ }
+ if (seed) {
+ if (matchedCount > 0) {
+ while (i2--) {
+ if (!(unmatched[i2] || setMatched[i2])) {
+ setMatched[i2] = pop.call(results);
+ }
+ }
+ }
+ setMatched = condense(setMatched);
+ }
+ push2.apply(results, setMatched);
+ if (outermost && !seed && setMatched.length > 0 && matchedCount + setMatchers.length > 1) {
+ Sizzle2.uniqueSort(results);
+ }
+ }
+ if (outermost) {
+ dirruns = dirrunsUnique;
+ outermostContext = contextBackup;
+ }
+ return unmatched;
+ };
+ return bySet ? markFunction(superMatcher) : superMatcher;
+ }
+ compile = Sizzle2.compile = function(selector, match) {
+ var i2, setMatchers = [], elementMatchers = [], cached = compilerCache[selector + " "];
+ if (!cached) {
+ if (!match) {
+ match = tokenize(selector);
+ }
+ i2 = match.length;
+ while (i2--) {
+ cached = matcherFromTokens(match[i2]);
+ if (cached[expando]) {
+ setMatchers.push(cached);
+ } else {
+ elementMatchers.push(cached);
+ }
+ }
+ cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers));
+ cached.selector = selector;
+ }
+ return cached;
+ };
+ select = Sizzle2.select = function(selector, context, results, seed) {
+ var i2, tokens, token, type, find, compiled = typeof selector === "function" && selector, match = !seed && tokenize(selector = compiled.selector || selector);
+ results = results || [];
+ if (match.length === 1) {
+ tokens = match[0] = match[0].slice(0);
+ if (tokens.length > 2 && (token = tokens[0]).type === "ID" && context.nodeType === 9 && documentIsHTML && Expr.relative[tokens[1].type]) {
+ context = (Expr.find["ID"](token.matches[0].replace(runescape, funescape), context) || [])[0];
+ if (!context) {
+ return results;
+ } else if (compiled) {
+ context = context.parentNode;
+ }
+ selector = selector.slice(tokens.shift().value.length);
+ }
+ i2 = matchExpr["needsContext"].test(selector) ? 0 : tokens.length;
+ while (i2--) {
+ token = tokens[i2];
+ if (Expr.relative[type = token.type]) {
+ break;
+ }
+ if (find = Expr.find[type]) {
+ if (seed = find(token.matches[0].replace(runescape, funescape), rsibling.test(tokens[0].type) && testContext(context.parentNode) || context)) {
+ tokens.splice(i2, 1);
+ selector = seed.length && toSelector(tokens);
+ if (!selector) {
+ push2.apply(results, seed);
+ return results;
+ }
+ break;
+ }
+ }
+ }
+ }
+ (compiled || compile(selector, match))(seed, context, !documentIsHTML, results, !context || rsibling.test(selector) && testContext(context.parentNode) || context);
+ return results;
+ };
+ support2.sortStable = expando.split("").sort(sortOrder).join("") === expando;
+ support2.detectDuplicates = !!hasDuplicate;
+ setDocument();
+ support2.sortDetached = assert(function(el) {
+ return el.compareDocumentPosition(document3.createElement("fieldset")) & 1;
+ });
+ if (!assert(function(el) {
+ el.innerHTML = "<a href='#'></a>";
+ return el.firstChild.getAttribute("href") === "#";
+ })) {
+ addHandle("type|href|height|width", function(elem, name, isXML2) {
+ if (!isXML2) {
+ return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2);
+ }
+ });
+ }
+ if (!support2.attributes || !assert(function(el) {
+ el.innerHTML = "<input/>";
+ el.firstChild.setAttribute("value", "");
+ return el.firstChild.getAttribute("value") === "";
+ })) {
+ addHandle("value", function(elem, _name, isXML2) {
+ if (!isXML2 && elem.nodeName.toLowerCase() === "input") {
+ return elem.defaultValue;
+ }
+ });
+ }
+ if (!assert(function(el) {
+ return el.getAttribute("disabled") == null;
+ })) {
+ addHandle(booleans, function(elem, name, isXML2) {
+ var val;
+ if (!isXML2) {
+ return elem[name] === true ? name.toLowerCase() : (val = elem.getAttributeNode(name)) && val.specified ? val.value : null;
+ }
+ });
+ }
+ return Sizzle2;
+ }(window2);
+ jQuery.find = Sizzle;
+ jQuery.expr = Sizzle.selectors;
+ jQuery.expr[":"] = jQuery.expr.pseudos;
+ jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
+ jQuery.text = Sizzle.getText;
+ jQuery.isXMLDoc = Sizzle.isXML;
+ jQuery.contains = Sizzle.contains;
+ jQuery.escapeSelector = Sizzle.escape;
+ var dir = function(elem, dir2, until) {
+ var matched = [], truncate = until !== void 0;
+ while ((elem = elem[dir2]) && elem.nodeType !== 9) {
+ if (elem.nodeType === 1) {
+ if (truncate && jQuery(elem).is(until)) {
+ break;
+ }
+ matched.push(elem);
+ }
+ }
+ return matched;
+ };
+ var siblings = function(n, elem) {
+ var matched = [];
+ for (; n; n = n.nextSibling) {
+ if (n.nodeType === 1 && n !== elem) {
+ matched.push(n);
+ }
+ }
+ return matched;
+ };
+ var rneedsContext = jQuery.expr.match.needsContext;
+ function nodeName(elem, name) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+ }
+ var rsingleTag = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
+ function winnow(elements, qualifier, not) {
+ if (isFunction(qualifier)) {
+ return jQuery.grep(elements, function(elem, i) {
+ return !!qualifier.call(elem, i, elem) !== not;
+ });
+ }
+ if (qualifier.nodeType) {
+ return jQuery.grep(elements, function(elem) {
+ return elem === qualifier !== not;
+ });
+ }
+ if (typeof qualifier !== "string") {
+ return jQuery.grep(elements, function(elem) {
+ return indexOf.call(qualifier, elem) > -1 !== not;
+ });
+ }
+ return jQuery.filter(qualifier, elements, not);
+ }
+ jQuery.filter = function(expr, elems, not) {
+ var elem = elems[0];
+ if (not) {
+ expr = ":not(" + expr + ")";
+ }
+ if (elems.length === 1 && elem.nodeType === 1) {
+ return jQuery.find.matchesSelector(elem, expr) ? [elem] : [];
+ }
+ return jQuery.find.matches(expr, jQuery.grep(elems, function(elem2) {
+ return elem2.nodeType === 1;
+ }));
+ };
+ jQuery.fn.extend({
+ find: function(selector) {
+ var i, ret, len = this.length, self2 = this;
+ if (typeof selector !== "string") {
+ return this.pushStack(jQuery(selector).filter(function() {
+ for (i = 0; i < len; i++) {
+ if (jQuery.contains(self2[i], this)) {
+ return true;
+ }
+ }
+ }));
+ }
+ ret = this.pushStack([]);
+ for (i = 0; i < len; i++) {
+ jQuery.find(selector, self2[i], ret);
+ }
+ return len > 1 ? jQuery.uniqueSort(ret) : ret;
+ },
+ filter: function(selector) {
+ return this.pushStack(winnow(this, selector || [], false));
+ },
+ not: function(selector) {
+ return this.pushStack(winnow(this, selector || [], true));
+ },
+ is: function(selector) {
+ return !!winnow(this, typeof selector === "string" && rneedsContext.test(selector) ? jQuery(selector) : selector || [], false).length;
+ }
+ });
+ var rootjQuery, rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, init = jQuery.fn.init = function(selector, context, root) {
+ var match, elem;
+ if (!selector) {
+ return this;
+ }
+ root = root || rootjQuery;
+ if (typeof selector === "string") {
+ if (selector[0] === "<" && selector[selector.length - 1] === ">" && selector.length >= 3) {
+ match = [null, selector, null];
+ } else {
+ match = rquickExpr.exec(selector);
+ }
+ if (match && (match[1] || !context)) {
+ if (match[1]) {
+ context = context instanceof jQuery ? context[0] : context;
+ jQuery.merge(this, jQuery.parseHTML(match[1], context && context.nodeType ? context.ownerDocument || context : document2, true));
+ if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
+ for (match in context) {
+ if (isFunction(this[match])) {
+ this[match](context[match]);
+ } else {
+ this.attr(match, context[match]);
+ }
+ }
+ }
+ return this;
+ } else {
+ elem = document2.getElementById(match[2]);
+ if (elem) {
+ this[0] = elem;
+ this.length = 1;
+ }
+ return this;
+ }
+ } else if (!context || context.jquery) {
+ return (context || root).find(selector);
+ } else {
+ return this.constructor(context).find(selector);
+ }
+ } else if (selector.nodeType) {
+ this[0] = selector;
+ this.length = 1;
+ return this;
+ } else if (isFunction(selector)) {
+ return root.ready !== void 0 ? root.ready(selector) : selector(jQuery);
+ }
+ return jQuery.makeArray(selector, this);
+ };
+ init.prototype = jQuery.fn;
+ rootjQuery = jQuery(document2);
+ var rparentsprev = /^(?:parents|prev(?:Until|All))/, guaranteedUnique = {
+ children: true,
+ contents: true,
+ next: true,
+ prev: true
+ };
+ jQuery.fn.extend({
+ has: function(target) {
+ var targets = jQuery(target, this), l = targets.length;
+ return this.filter(function() {
+ var i = 0;
+ for (; i < l; i++) {
+ if (jQuery.contains(this, targets[i])) {
+ return true;
+ }
+ }
+ });
+ },
+ closest: function(selectors, context) {
+ var cur, i = 0, l = this.length, matched = [], targets = typeof selectors !== "string" && jQuery(selectors);
+ if (!rneedsContext.test(selectors)) {
+ for (; i < l; i++) {
+ for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {
+ if (cur.nodeType < 11 && (targets ? targets.index(cur) > -1 : cur.nodeType === 1 && jQuery.find.matchesSelector(cur, selectors))) {
+ matched.push(cur);
+ break;
+ }
+ }
+ }
+ }
+ return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched);
+ },
+ index: function(elem) {
+ if (!elem) {
+ return this[0] && this[0].parentNode ? this.first().prevAll().length : -1;
+ }
+ if (typeof elem === "string") {
+ return indexOf.call(jQuery(elem), this[0]);
+ }
+ return indexOf.call(this, elem.jquery ? elem[0] : elem);
+ },
+ add: function(selector, context) {
+ return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(), jQuery(selector, context))));
+ },
+ addBack: function(selector) {
+ return this.add(selector == null ? this.prevObject : this.prevObject.filter(selector));
+ }
+ });
+ function sibling(cur, dir2) {
+ while ((cur = cur[dir2]) && cur.nodeType !== 1) {
+ }
+ return cur;
+ }
+ jQuery.each({
+ parent: function(elem) {
+ var parent = elem.parentNode;
+ return parent && parent.nodeType !== 11 ? parent : null;
+ },
+ parents: function(elem) {
+ return dir(elem, "parentNode");
+ },
+ parentsUntil: function(elem, _i, until) {
+ return dir(elem, "parentNode", until);
+ },
+ next: function(elem) {
+ return sibling(elem, "nextSibling");
+ },
+ prev: function(elem) {
+ return sibling(elem, "previousSibling");
+ },
+ nextAll: function(elem) {
+ return dir(elem, "nextSibling");
+ },
+ prevAll: function(elem) {
+ return dir(elem, "previousSibling");
+ },
+ nextUntil: function(elem, _i, until) {
+ return dir(elem, "nextSibling", until);
+ },
+ prevUntil: function(elem, _i, until) {
+ return dir(elem, "previousSibling", until);
+ },
+ siblings: function(elem) {
+ return siblings((elem.parentNode || {}).firstChild, elem);
+ },
+ children: function(elem) {
+ return siblings(elem.firstChild);
+ },
+ contents: function(elem) {
+ if (elem.contentDocument != null && getProto(elem.contentDocument)) {
+ return elem.contentDocument;
+ }
+ if (nodeName(elem, "template")) {
+ elem = elem.content || elem;
+ }
+ return jQuery.merge([], elem.childNodes);
+ }
+ }, function(name, fn2) {
+ jQuery.fn[name] = function(until, selector) {
+ var matched = jQuery.map(this, fn2, until);
+ if (name.slice(-5) !== "Until") {
+ selector = until;
+ }
+ if (selector && typeof selector === "string") {
+ matched = jQuery.filter(selector, matched);
+ }
+ if (this.length > 1) {
+ if (!guaranteedUnique[name]) {
+ jQuery.uniqueSort(matched);
+ }
+ if (rparentsprev.test(name)) {
+ matched.reverse();
+ }
+ }
+ return this.pushStack(matched);
+ };
+ });
+ var rnothtmlwhite = /[^\x20\t\r\n\f]+/g;
+ function createOptions(options) {
+ var object = {};
+ jQuery.each(options.match(rnothtmlwhite) || [], function(_, flag) {
+ object[flag] = true;
+ });
+ return object;
+ }
+ jQuery.Callbacks = function(options) {
+ options = typeof options === "string" ? createOptions(options) : jQuery.extend({}, options);
+ var firing, memory, fired, locked, list = [], queue = [], firingIndex = -1, fire = function() {
+ locked = locked || options.once;
+ fired = firing = true;
+ for (; queue.length; firingIndex = -1) {
+ memory = queue.shift();
+ while (++firingIndex < list.length) {
+ if (list[firingIndex].apply(memory[0], memory[1]) === false && options.stopOnFalse) {
+ firingIndex = list.length;
+ memory = false;
+ }
+ }
+ }
+ if (!options.memory) {
+ memory = false;
+ }
+ firing = false;
+ if (locked) {
+ if (memory) {
+ list = [];
+ } else {
+ list = "";
+ }
+ }
+ }, self2 = {
+ add: function() {
+ if (list) {
+ if (memory && !firing) {
+ firingIndex = list.length - 1;
+ queue.push(memory);
+ }
+ (function add(args) {
+ jQuery.each(args, function(_, arg) {
+ if (isFunction(arg)) {
+ if (!options.unique || !self2.has(arg)) {
+ list.push(arg);
+ }
+ } else if (arg && arg.length && toType2(arg) !== "string") {
+ add(arg);
+ }
+ });
+ })(arguments);
+ if (memory && !firing) {
+ fire();
+ }
+ }
+ return this;
+ },
+ remove: function() {
+ jQuery.each(arguments, function(_, arg) {
+ var index;
+ while ((index = jQuery.inArray(arg, list, index)) > -1) {
+ list.splice(index, 1);
+ if (index <= firingIndex) {
+ firingIndex--;
+ }
+ }
+ });
+ return this;
+ },
+ has: function(fn2) {
+ return fn2 ? jQuery.inArray(fn2, list) > -1 : list.length > 0;
+ },
+ empty: function() {
+ if (list) {
+ list = [];
+ }
+ return this;
+ },
+ disable: function() {
+ locked = queue = [];
+ list = memory = "";
+ return this;
+ },
+ disabled: function() {
+ return !list;
+ },
+ lock: function() {
+ locked = queue = [];
+ if (!memory && !firing) {
+ list = memory = "";
+ }
+ return this;
+ },
+ locked: function() {
+ return !!locked;
+ },
+ fireWith: function(context, args) {
+ if (!locked) {
+ args = args || [];
+ args = [context, args.slice ? args.slice() : args];
+ queue.push(args);
+ if (!firing) {
+ fire();
+ }
+ }
+ return this;
+ },
+ fire: function() {
+ self2.fireWith(this, arguments);
+ return this;
+ },
+ fired: function() {
+ return !!fired;
+ }
+ };
+ return self2;
+ };
+ function Identity(v) {
+ return v;
+ }
+ function Thrower(ex) {
+ throw ex;
+ }
+ function adoptValue(value, resolve, reject, noValue) {
+ var method;
+ try {
+ if (value && isFunction(method = value.promise)) {
+ method.call(value).done(resolve).fail(reject);
+ } else if (value && isFunction(method = value.then)) {
+ method.call(value, resolve, reject);
+ } else {
+ resolve.apply(void 0, [value].slice(noValue));
+ }
+ } catch (value2) {
+ reject.apply(void 0, [value2]);
+ }
+ }
+ jQuery.extend({
+ Deferred: function(func) {
+ var tuples = [
+ [
+ "notify",
+ "progress",
+ jQuery.Callbacks("memory"),
+ jQuery.Callbacks("memory"),
+ 2
+ ],
+ [
+ "resolve",
+ "done",
+ jQuery.Callbacks("once memory"),
+ jQuery.Callbacks("once memory"),
+ 0,
+ "resolved"
+ ],
+ [
+ "reject",
+ "fail",
+ jQuery.Callbacks("once memory"),
+ jQuery.Callbacks("once memory"),
+ 1,
+ "rejected"
+ ]
+ ], state = "pending", promise = {
+ state: function() {
+ return state;
+ },
+ always: function() {
+ deferred.done(arguments).fail(arguments);
+ return this;
+ },
+ "catch": function(fn2) {
+ return promise.then(null, fn2);
+ },
+ pipe: function() {
+ var fns = arguments;
+ return jQuery.Deferred(function(newDefer) {
+ jQuery.each(tuples, function(_i, tuple) {
+ var fn2 = isFunction(fns[tuple[4]]) && fns[tuple[4]];
+ deferred[tuple[1]](function() {
+ var returned = fn2 && fn2.apply(this, arguments);
+ if (returned && isFunction(returned.promise)) {
+ returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject);
+ } else {
+ newDefer[tuple[0] + "With"](this, fn2 ? [returned] : arguments);
+ }
+ });
+ });
+ fns = null;
+ }).promise();
+ },
+ then: function(onFulfilled, onRejected, onProgress) {
+ var maxDepth = 0;
+ function resolve(depth, deferred2, handler, special) {
+ return function() {
+ var that = this, args = arguments, mightThrow = function() {
+ var returned, then;
+ if (depth < maxDepth) {
+ return;
+ }
+ returned = handler.apply(that, args);
+ if (returned === deferred2.promise()) {
+ throw new TypeError("Thenable self-resolution");
+ }
+ then = returned && (typeof returned === "object" || typeof returned === "function") && returned.then;
+ if (isFunction(then)) {
+ if (special) {
+ then.call(returned, resolve(maxDepth, deferred2, Identity, special), resolve(maxDepth, deferred2, Thrower, special));
+ } else {
+ maxDepth++;
+ then.call(returned, resolve(maxDepth, deferred2, Identity, special), resolve(maxDepth, deferred2, Thrower, special), resolve(maxDepth, deferred2, Identity, deferred2.notifyWith));
+ }
+ } else {
+ if (handler !== Identity) {
+ that = void 0;
+ args = [returned];
+ }
+ (special || deferred2.resolveWith)(that, args);
+ }
+ }, process2 = special ? mightThrow : function() {
+ try {
+ mightThrow();
+ } catch (e) {
+ if (jQuery.Deferred.exceptionHook) {
+ jQuery.Deferred.exceptionHook(e, process2.stackTrace);
+ }
+ if (depth + 1 >= maxDepth) {
+ if (handler !== Thrower) {
+ that = void 0;
+ args = [e];
+ }
+ deferred2.rejectWith(that, args);
+ }
+ }
+ };
+ if (depth) {
+ process2();
+ } else {
+ if (jQuery.Deferred.getStackHook) {
+ process2.stackTrace = jQuery.Deferred.getStackHook();
+ }
+ window2.setTimeout(process2);
+ }
+ };
+ }
+ return jQuery.Deferred(function(newDefer) {
+ tuples[0][3].add(resolve(0, newDefer, isFunction(onProgress) ? onProgress : Identity, newDefer.notifyWith));
+ tuples[1][3].add(resolve(0, newDefer, isFunction(onFulfilled) ? onFulfilled : Identity));
+ tuples[2][3].add(resolve(0, newDefer, isFunction(onRejected) ? onRejected : Thrower));
+ }).promise();
+ },
+ promise: function(obj) {
+ return obj != null ? jQuery.extend(obj, promise) : promise;
+ }
+ }, deferred = {};
+ jQuery.each(tuples, function(i, tuple) {
+ var list = tuple[2], stateString = tuple[5];
+ promise[tuple[1]] = list.add;
+ if (stateString) {
+ list.add(function() {
+ state = stateString;
+ }, tuples[3 - i][2].disable, tuples[3 - i][3].disable, tuples[0][2].lock, tuples[0][3].lock);
+ }
+ list.add(tuple[3].fire);
+ deferred[tuple[0]] = function() {
+ deferred[tuple[0] + "With"](this === deferred ? void 0 : this, arguments);
+ return this;
+ };
+ deferred[tuple[0] + "With"] = list.fireWith;
+ });
+ promise.promise(deferred);
+ if (func) {
+ func.call(deferred, deferred);
+ }
+ return deferred;
+ },
+ when: function(singleValue) {
+ var remaining = arguments.length, i = remaining, resolveContexts = Array(i), resolveValues = slice.call(arguments), primary = jQuery.Deferred(), updateFunc = function(i2) {
+ return function(value) {
+ resolveContexts[i2] = this;
+ resolveValues[i2] = arguments.length > 1 ? slice.call(arguments) : value;
+ if (!--remaining) {
+ primary.resolveWith(resolveContexts, resolveValues);
+ }
+ };
+ };
+ if (remaining <= 1) {
+ adoptValue(singleValue, primary.done(updateFunc(i)).resolve, primary.reject, !remaining);
+ if (primary.state() === "pending" || isFunction(resolveValues[i] && resolveValues[i].then)) {
+ return primary.then();
+ }
+ }
+ while (i--) {
+ adoptValue(resolveValues[i], updateFunc(i), primary.reject);
+ }
+ return primary.promise();
+ }
+ });
+ var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
+ jQuery.Deferred.exceptionHook = function(error, stack) {
+ if (window2.console && window2.console.warn && error && rerrorNames.test(error.name)) {
+ window2.console.warn("jQuery.Deferred exception: " + error.message, error.stack, stack);
+ }
+ };
+ jQuery.readyException = function(error) {
+ window2.setTimeout(function() {
+ throw error;
+ });
+ };
+ var readyList = jQuery.Deferred();
+ jQuery.fn.ready = function(fn2) {
+ readyList.then(fn2).catch(function(error) {
+ jQuery.readyException(error);
+ });
+ return this;
+ };
+ jQuery.extend({
+ isReady: false,
+ readyWait: 1,
+ ready: function(wait) {
+ if (wait === true ? --jQuery.readyWait : jQuery.isReady) {
+ return;
+ }
+ jQuery.isReady = true;
+ if (wait !== true && --jQuery.readyWait > 0) {
+ return;
+ }
+ readyList.resolveWith(document2, [jQuery]);
+ }
+ });
+ jQuery.ready.then = readyList.then;
+ function completed() {
+ document2.removeEventListener("DOMContentLoaded", completed);
+ window2.removeEventListener("load", completed);
+ jQuery.ready();
+ }
+ if (document2.readyState === "complete" || document2.readyState !== "loading" && !document2.documentElement.doScroll) {
+ window2.setTimeout(jQuery.ready);
+ } else {
+ document2.addEventListener("DOMContentLoaded", completed);
+ window2.addEventListener("load", completed);
+ }
+ var access = function(elems, fn2, key, value, chainable, emptyGet, raw) {
+ var i = 0, len = elems.length, bulk = key == null;
+ if (toType2(key) === "object") {
+ chainable = true;
+ for (i in key) {
+ access(elems, fn2, i, key[i], true, emptyGet, raw);
+ }
+ } else if (value !== void 0) {
+ chainable = true;
+ if (!isFunction(value)) {
+ raw = true;
+ }
+ if (bulk) {
+ if (raw) {
+ fn2.call(elems, value);
+ fn2 = null;
+ } else {
+ bulk = fn2;
+ fn2 = function(elem, _key, value2) {
+ return bulk.call(jQuery(elem), value2);
+ };
+ }
+ }
+ if (fn2) {
+ for (; i < len; i++) {
+ fn2(elems[i], key, raw ? value : value.call(elems[i], i, fn2(elems[i], key)));
+ }
+ }
+ }
+ if (chainable) {
+ return elems;
+ }
+ if (bulk) {
+ return fn2.call(elems);
+ }
+ return len ? fn2(elems[0], key) : emptyGet;
+ };
+ var rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g;
+ function fcamelCase(_all, letter) {
+ return letter.toUpperCase();
+ }
+ function camelCase(string) {
+ return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase);
+ }
+ var acceptData = function(owner) {
+ return owner.nodeType === 1 || owner.nodeType === 9 || !+owner.nodeType;
+ };
+ function Data2() {
+ this.expando = jQuery.expando + Data2.uid++;
+ }
+ Data2.uid = 1;
+ Data2.prototype = {
+ cache: function(owner) {
+ var value = owner[this.expando];
+ if (!value) {
+ value = {};
+ if (acceptData(owner)) {
+ if (owner.nodeType) {
+ owner[this.expando] = value;
+ } else {
+ Object.defineProperty(owner, this.expando, {
+ value,
+ configurable: true
+ });
+ }
+ }
+ }
+ return value;
+ },
+ set: function(owner, data, value) {
+ var prop, cache = this.cache(owner);
+ if (typeof data === "string") {
+ cache[camelCase(data)] = value;
+ } else {
+ for (prop in data) {
+ cache[camelCase(prop)] = data[prop];
+ }
+ }
+ return cache;
+ },
+ get: function(owner, key) {
+ return key === void 0 ? this.cache(owner) : owner[this.expando] && owner[this.expando][camelCase(key)];
+ },
+ access: function(owner, key, value) {
+ if (key === void 0 || key && typeof key === "string" && value === void 0) {
+ return this.get(owner, key);
+ }
+ this.set(owner, key, value);
+ return value !== void 0 ? value : key;
+ },
+ remove: function(owner, key) {
+ var i, cache = owner[this.expando];
+ if (cache === void 0) {
+ return;
+ }
+ if (key !== void 0) {
+ if (Array.isArray(key)) {
+ key = key.map(camelCase);
+ } else {
+ key = camelCase(key);
+ key = key in cache ? [key] : key.match(rnothtmlwhite) || [];
+ }
+ i = key.length;
+ while (i--) {
+ delete cache[key[i]];
+ }
+ }
+ if (key === void 0 || jQuery.isEmptyObject(cache)) {
+ if (owner.nodeType) {
+ owner[this.expando] = void 0;
+ } else {
+ delete owner[this.expando];
+ }
+ }
+ },
+ hasData: function(owner) {
+ var cache = owner[this.expando];
+ return cache !== void 0 && !jQuery.isEmptyObject(cache);
+ }
+ };
+ var dataPriv = new Data2();
+ var dataUser = new Data2();
+ var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, rmultiDash = /[A-Z]/g;
+ function getData(data) {
+ if (data === "true") {
+ return true;
+ }
+ if (data === "false") {
+ return false;
+ }
+ if (data === "null") {
+ return null;
+ }
+ if (data === +data + "") {
+ return +data;
+ }
+ if (rbrace.test(data)) {
+ return JSON.parse(data);
+ }
+ return data;
+ }
+ function dataAttr(elem, key, data) {
+ var name;
+ if (data === void 0 && elem.nodeType === 1) {
+ name = "data-" + key.replace(rmultiDash, "-$&").toLowerCase();
+ data = elem.getAttribute(name);
+ if (typeof data === "string") {
+ try {
+ data = getData(data);
+ } catch (e) {
+ }
+ dataUser.set(elem, key, data);
+ } else {
+ data = void 0;
+ }
+ }
+ return data;
+ }
+ jQuery.extend({
+ hasData: function(elem) {
+ return dataUser.hasData(elem) || dataPriv.hasData(elem);
+ },
+ data: function(elem, name, data) {
+ return dataUser.access(elem, name, data);
+ },
+ removeData: function(elem, name) {
+ dataUser.remove(elem, name);
+ },
+ _data: function(elem, name, data) {
+ return dataPriv.access(elem, name, data);
+ },
+ _removeData: function(elem, name) {
+ dataPriv.remove(elem, name);
+ }
+ });
+ jQuery.fn.extend({
+ data: function(key, value) {
+ var i, name, data, elem = this[0], attrs = elem && elem.attributes;
+ if (key === void 0) {
+ if (this.length) {
+ data = dataUser.get(elem);
+ if (elem.nodeType === 1 && !dataPriv.get(elem, "hasDataAttrs")) {
+ i = attrs.length;
+ while (i--) {
+ if (attrs[i]) {
+ name = attrs[i].name;
+ if (name.indexOf("data-") === 0) {
+ name = camelCase(name.slice(5));
+ dataAttr(elem, name, data[name]);
+ }
+ }
+ }
+ dataPriv.set(elem, "hasDataAttrs", true);
+ }
+ }
+ return data;
+ }
+ if (typeof key === "object") {
+ return this.each(function() {
+ dataUser.set(this, key);
+ });
+ }
+ return access(this, function(value2) {
+ var data2;
+ if (elem && value2 === void 0) {
+ data2 = dataUser.get(elem, key);
+ if (data2 !== void 0) {
+ return data2;
+ }
+ data2 = dataAttr(elem, key);
+ if (data2 !== void 0) {
+ return data2;
+ }
+ return;
+ }
+ this.each(function() {
+ dataUser.set(this, key, value2);
+ });
+ }, null, value, arguments.length > 1, null, true);
+ },
+ removeData: function(key) {
+ return this.each(function() {
+ dataUser.remove(this, key);
+ });
+ }
+ });
+ jQuery.extend({
+ queue: function(elem, type, data) {
+ var queue;
+ if (elem) {
+ type = (type || "fx") + "queue";
+ queue = dataPriv.get(elem, type);
+ if (data) {
+ if (!queue || Array.isArray(data)) {
+ queue = dataPriv.access(elem, type, jQuery.makeArray(data));
+ } else {
+ queue.push(data);
+ }
+ }
+ return queue || [];
+ }
+ },
+ dequeue: function(elem, type) {
+ type = type || "fx";
+ var queue = jQuery.queue(elem, type), startLength = queue.length, fn2 = queue.shift(), hooks = jQuery._queueHooks(elem, type), next = function() {
+ jQuery.dequeue(elem, type);
+ };
+ if (fn2 === "inprogress") {
+ fn2 = queue.shift();
+ startLength--;
+ }
+ if (fn2) {
+ if (type === "fx") {
+ queue.unshift("inprogress");
+ }
+ delete hooks.stop;
+ fn2.call(elem, next, hooks);
+ }
+ if (!startLength && hooks) {
+ hooks.empty.fire();
+ }
+ },
+ _queueHooks: function(elem, type) {
+ var key = type + "queueHooks";
+ return dataPriv.get(elem, key) || dataPriv.access(elem, key, {
+ empty: jQuery.Callbacks("once memory").add(function() {
+ dataPriv.remove(elem, [type + "queue", key]);
+ })
+ });
+ }
+ });
+ jQuery.fn.extend({
+ queue: function(type, data) {
+ var setter = 2;
+ if (typeof type !== "string") {
+ data = type;
+ type = "fx";
+ setter--;
+ }
+ if (arguments.length < setter) {
+ return jQuery.queue(this[0], type);
+ }
+ return data === void 0 ? this : this.each(function() {
+ var queue = jQuery.queue(this, type, data);
+ jQuery._queueHooks(this, type);
+ if (type === "fx" && queue[0] !== "inprogress") {
+ jQuery.dequeue(this, type);
+ }
+ });
+ },
+ dequeue: function(type) {
+ return this.each(function() {
+ jQuery.dequeue(this, type);
+ });
+ },
+ clearQueue: function(type) {
+ return this.queue(type || "fx", []);
+ },
+ promise: function(type, obj) {
+ var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() {
+ if (!--count) {
+ defer.resolveWith(elements, [elements]);
+ }
+ };
+ if (typeof type !== "string") {
+ obj = type;
+ type = void 0;
+ }
+ type = type || "fx";
+ while (i--) {
+ tmp = dataPriv.get(elements[i], type + "queueHooks");
+ if (tmp && tmp.empty) {
+ count++;
+ tmp.empty.add(resolve);
+ }
+ }
+ resolve();
+ return defer.promise(obj);
+ }
+ });
+ var pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;
+ var rcssNum = new RegExp("^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i");
+ var cssExpand = ["Top", "Right", "Bottom", "Left"];
+ var documentElement = document2.documentElement;
+ var isAttached = function(elem) {
+ return jQuery.contains(elem.ownerDocument, elem);
+ }, composed = { composed: true };
+ if (documentElement.getRootNode) {
+ isAttached = function(elem) {
+ return jQuery.contains(elem.ownerDocument, elem) || elem.getRootNode(composed) === elem.ownerDocument;
+ };
+ }
+ var isHiddenWithinTree = function(elem, el) {
+ elem = el || elem;
+ return elem.style.display === "none" || elem.style.display === "" && isAttached(elem) && jQuery.css(elem, "display") === "none";
+ };
+ function adjustCSS(elem, prop, valueParts, tween) {
+ var adjusted, scale, maxIterations = 20, currentValue = tween ? function() {
+ return tween.cur();
+ } : function() {
+ return jQuery.css(elem, prop, "");
+ }, initial = currentValue(), unit = valueParts && valueParts[3] || (jQuery.cssNumber[prop] ? "" : "px"), initialInUnit = elem.nodeType && (jQuery.cssNumber[prop] || unit !== "px" && +initial) && rcssNum.exec(jQuery.css(elem, prop));
+ if (initialInUnit && initialInUnit[3] !== unit) {
+ initial = initial / 2;
+ unit = unit || initialInUnit[3];
+ initialInUnit = +initial || 1;
+ while (maxIterations--) {
+ jQuery.style(elem, prop, initialInUnit + unit);
+ if ((1 - scale) * (1 - (scale = currentValue() / initial || 0.5)) <= 0) {
+ maxIterations = 0;
+ }
+ initialInUnit = initialInUnit / scale;
+ }
+ initialInUnit = initialInUnit * 2;
+ jQuery.style(elem, prop, initialInUnit + unit);
+ valueParts = valueParts || [];
+ }
+ if (valueParts) {
+ initialInUnit = +initialInUnit || +initial || 0;
+ adjusted = valueParts[1] ? initialInUnit + (valueParts[1] + 1) * valueParts[2] : +valueParts[2];
+ if (tween) {
+ tween.unit = unit;
+ tween.start = initialInUnit;
+ tween.end = adjusted;
+ }
+ }
+ return adjusted;
+ }
+ var defaultDisplayMap = {};
+ function getDefaultDisplay(elem) {
+ var temp, doc2 = elem.ownerDocument, nodeName2 = elem.nodeName, display = defaultDisplayMap[nodeName2];
+ if (display) {
+ return display;
+ }
+ temp = doc2.body.appendChild(doc2.createElement(nodeName2));
+ display = jQuery.css(temp, "display");
+ temp.parentNode.removeChild(temp);
+ if (display === "none") {
+ display = "block";
+ }
+ defaultDisplayMap[nodeName2] = display;
+ return display;
+ }
+ function showHide(elements, show) {
+ var display, elem, values = [], index = 0, length = elements.length;
+ for (; index < length; index++) {
+ elem = elements[index];
+ if (!elem.style) {
+ continue;
+ }
+ display = elem.style.display;
+ if (show) {
+ if (display === "none") {
+ values[index] = dataPriv.get(elem, "display") || null;
+ if (!values[index]) {
+ elem.style.display = "";
+ }
+ }
+ if (elem.style.display === "" && isHiddenWithinTree(elem)) {
+ values[index] = getDefaultDisplay(elem);
+ }
+ } else {
+ if (display !== "none") {
+ values[index] = "none";
+ dataPriv.set(elem, "display", display);
+ }
+ }
+ }
+ for (index = 0; index < length; index++) {
+ if (values[index] != null) {
+ elements[index].style.display = values[index];
+ }
+ }
+ return elements;
+ }
+ jQuery.fn.extend({
+ show: function() {
+ return showHide(this, true);
+ },
+ hide: function() {
+ return showHide(this);
+ },
+ toggle: function(state) {
+ if (typeof state === "boolean") {
+ return state ? this.show() : this.hide();
+ }
+ return this.each(function() {
+ if (isHiddenWithinTree(this)) {
+ jQuery(this).show();
+ } else {
+ jQuery(this).hide();
+ }
+ });
+ }
+ });
+ var rcheckableType = /^(?:checkbox|radio)$/i;
+ var rtagName = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i;
+ var rscriptType = /^$|^module$|\/(?:java|ecma)script/i;
+ (function() {
+ var fragment = document2.createDocumentFragment(), div = fragment.appendChild(document2.createElement("div")), input = document2.createElement("input");
+ input.setAttribute("type", "radio");
+ input.setAttribute("checked", "checked");
+ input.setAttribute("name", "t");
+ div.appendChild(input);
+ support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked;
+ div.innerHTML = "<textarea>x</textarea>";
+ support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue;
+ div.innerHTML = "<option></option>";
+ support.option = !!div.lastChild;
+ })();
+ var wrapMap = {
+ thead: [1, "<table>", "</table>"],
+ col: [2, "<table><colgroup>", "</colgroup></table>"],
+ tr: [2, "<table><tbody>", "</tbody></table>"],
+ td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
+ _default: [0, "", ""]
+ };
+ wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+ wrapMap.th = wrapMap.td;
+ if (!support.option) {
+ wrapMap.optgroup = wrapMap.option = [1, "<select multiple='multiple'>", "</select>"];
+ }
+ function getAll(context, tag) {
+ var ret;
+ if (typeof context.getElementsByTagName !== "undefined") {
+ ret = context.getElementsByTagName(tag || "*");
+ } else if (typeof context.querySelectorAll !== "undefined") {
+ ret = context.querySelectorAll(tag || "*");
+ } else {
+ ret = [];
+ }
+ if (tag === void 0 || tag && nodeName(context, tag)) {
+ return jQuery.merge([context], ret);
+ }
+ return ret;
+ }
+ function setGlobalEval(elems, refElements) {
+ var i = 0, l = elems.length;
+ for (; i < l; i++) {
+ dataPriv.set(elems[i], "globalEval", !refElements || dataPriv.get(refElements[i], "globalEval"));
+ }
+ }
+ var rhtml = /<|&#?\w+;/;
+ function buildFragment(elems, context, scripts, selection, ignored) {
+ var elem, tmp, tag, wrap, attached, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length;
+ for (; i < l; i++) {
+ elem = elems[i];
+ if (elem || elem === 0) {
+ if (toType2(elem) === "object") {
+ jQuery.merge(nodes, elem.nodeType ? [elem] : elem);
+ } else if (!rhtml.test(elem)) {
+ nodes.push(context.createTextNode(elem));
+ } else {
+ tmp = tmp || fragment.appendChild(context.createElement("div"));
+ tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase();
+ wrap = wrapMap[tag] || wrapMap._default;
+ tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2];
+ j = wrap[0];
+ while (j--) {
+ tmp = tmp.lastChild;
+ }
+ jQuery.merge(nodes, tmp.childNodes);
+ tmp = fragment.firstChild;
+ tmp.textContent = "";
+ }
+ }
+ }
+ fragment.textContent = "";
+ i = 0;
+ while (elem = nodes[i++]) {
+ if (selection && jQuery.inArray(elem, selection) > -1) {
+ if (ignored) {
+ ignored.push(elem);
+ }
+ continue;
+ }
+ attached = isAttached(elem);
+ tmp = getAll(fragment.appendChild(elem), "script");
+ if (attached) {
+ setGlobalEval(tmp);
+ }
+ if (scripts) {
+ j = 0;
+ while (elem = tmp[j++]) {
+ if (rscriptType.test(elem.type || "")) {
+ scripts.push(elem);
+ }
+ }
+ }
+ }
+ return fragment;
+ }
+ var rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
+ function returnTrue() {
+ return true;
+ }
+ function returnFalse() {
+ return false;
+ }
+ function expectSync(elem, type) {
+ return elem === safeActiveElement() === (type === "focus");
+ }
+ function safeActiveElement() {
+ try {
+ return document2.activeElement;
+ } catch (err) {
+ }
+ }
+ function on(elem, types, selector, data, fn2, one) {
+ var origFn, type;
+ if (typeof types === "object") {
+ if (typeof selector !== "string") {
+ data = data || selector;
+ selector = void 0;
+ }
+ for (type in types) {
+ on(elem, type, selector, data, types[type], one);
+ }
+ return elem;
+ }
+ if (data == null && fn2 == null) {
+ fn2 = selector;
+ data = selector = void 0;
+ } else if (fn2 == null) {
+ if (typeof selector === "string") {
+ fn2 = data;
+ data = void 0;
+ } else {
+ fn2 = data;
+ data = selector;
+ selector = void 0;
+ }
+ }
+ if (fn2 === false) {
+ fn2 = returnFalse;
+ } else if (!fn2) {
+ return elem;
+ }
+ if (one === 1) {
+ origFn = fn2;
+ fn2 = function(event) {
+ jQuery().off(event);
+ return origFn.apply(this, arguments);
+ };
+ fn2.guid = origFn.guid || (origFn.guid = jQuery.guid++);
+ }
+ return elem.each(function() {
+ jQuery.event.add(this, types, fn2, data, selector);
+ });
+ }
+ jQuery.event = {
+ global: {},
+ add: function(elem, types, handler, data, selector) {
+ var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get(elem);
+ if (!acceptData(elem)) {
+ return;
+ }
+ if (handler.handler) {
+ handleObjIn = handler;
+ handler = handleObjIn.handler;
+ selector = handleObjIn.selector;
+ }
+ if (selector) {
+ jQuery.find.matchesSelector(documentElement, selector);
+ }
+ if (!handler.guid) {
+ handler.guid = jQuery.guid++;
+ }
+ if (!(events = elemData.events)) {
+ events = elemData.events = Object.create(null);
+ }
+ if (!(eventHandle = elemData.handle)) {
+ eventHandle = elemData.handle = function(e) {
+ return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply(elem, arguments) : void 0;
+ };
+ }
+ types = (types || "").match(rnothtmlwhite) || [""];
+ t = types.length;
+ while (t--) {
+ tmp = rtypenamespace.exec(types[t]) || [];
+ type = origType = tmp[1];
+ namespaces = (tmp[2] || "").split(".").sort();
+ if (!type) {
+ continue;
+ }
+ special = jQuery.event.special[type] || {};
+ type = (selector ? special.delegateType : special.bindType) || type;
+ special = jQuery.event.special[type] || {};
+ handleObj = jQuery.extend({
+ type,
+ origType,
+ data,
+ handler,
+ guid: handler.guid,
+ selector,
+ needsContext: selector && jQuery.expr.match.needsContext.test(selector),
+ namespace: namespaces.join(".")
+ }, handleObjIn);
+ if (!(handlers = events[type])) {
+ handlers = events[type] = [];
+ handlers.delegateCount = 0;
+ if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {
+ if (elem.addEventListener) {
+ elem.addEventListener(type, eventHandle);
+ }
+ }
+ }
+ if (special.add) {
+ special.add.call(elem, handleObj);
+ if (!handleObj.handler.guid) {
+ handleObj.handler.guid = handler.guid;
+ }
+ }
+ if (selector) {
+ handlers.splice(handlers.delegateCount++, 0, handleObj);
+ } else {
+ handlers.push(handleObj);
+ }
+ jQuery.event.global[type] = true;
+ }
+ },
+ remove: function(elem, types, handler, selector, mappedTypes) {
+ var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData(elem) && dataPriv.get(elem);
+ if (!elemData || !(events = elemData.events)) {
+ return;
+ }
+ types = (types || "").match(rnothtmlwhite) || [""];
+ t = types.length;
+ while (t--) {
+ tmp = rtypenamespace.exec(types[t]) || [];
+ type = origType = tmp[1];
+ namespaces = (tmp[2] || "").split(".").sort();
+ if (!type) {
+ for (type in events) {
+ jQuery.event.remove(elem, type + types[t], handler, selector, true);
+ }
+ continue;
+ }
+ special = jQuery.event.special[type] || {};
+ type = (selector ? special.delegateType : special.bindType) || type;
+ handlers = events[type] || [];
+ tmp = tmp[2] && new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)");
+ origCount = j = handlers.length;
+ while (j--) {
+ handleObj = handlers[j];
+ if ((mappedTypes || origType === handleObj.origType) && (!handler || handler.guid === handleObj.guid) && (!tmp || tmp.test(handleObj.namespace)) && (!selector || selector === handleObj.selector || selector === "**" && handleObj.selector)) {
+ handlers.splice(j, 1);
+ if (handleObj.selector) {
+ handlers.delegateCount--;
+ }
+ if (special.remove) {
+ special.remove.call(elem, handleObj);
+ }
+ }
+ }
+ if (origCount && !handlers.length) {
+ if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) {
+ jQuery.removeEvent(elem, type, elemData.handle);
+ }
+ delete events[type];
+ }
+ }
+ if (jQuery.isEmptyObject(events)) {
+ dataPriv.remove(elem, "handle events");
+ }
+ },
+ dispatch: function(nativeEvent) {
+ var i, j, ret, matched, handleObj, handlerQueue, args = new Array(arguments.length), event = jQuery.event.fix(nativeEvent), handlers = (dataPriv.get(this, "events") || Object.create(null))[event.type] || [], special = jQuery.event.special[event.type] || {};
+ args[0] = event;
+ for (i = 1; i < arguments.length; i++) {
+ args[i] = arguments[i];
+ }
+ event.delegateTarget = this;
+ if (special.preDispatch && special.preDispatch.call(this, event) === false) {
+ return;
+ }
+ handlerQueue = jQuery.event.handlers.call(this, event, handlers);
+ i = 0;
+ while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {
+ event.currentTarget = matched.elem;
+ j = 0;
+ while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) {
+ if (!event.rnamespace || handleObj.namespace === false || event.rnamespace.test(handleObj.namespace)) {
+ event.handleObj = handleObj;
+ event.data = handleObj.data;
+ ret = ((jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler).apply(matched.elem, args);
+ if (ret !== void 0) {
+ if ((event.result = ret) === false) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ }
+ }
+ }
+ }
+ if (special.postDispatch) {
+ special.postDispatch.call(this, event);
+ }
+ return event.result;
+ },
+ handlers: function(event, handlers) {
+ var i, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target;
+ if (delegateCount && cur.nodeType && !(event.type === "click" && event.button >= 1)) {
+ for (; cur !== this; cur = cur.parentNode || this) {
+ if (cur.nodeType === 1 && !(event.type === "click" && cur.disabled === true)) {
+ matchedHandlers = [];
+ matchedSelectors = {};
+ for (i = 0; i < delegateCount; i++) {
+ handleObj = handlers[i];
+ sel = handleObj.selector + " ";
+ if (matchedSelectors[sel] === void 0) {
+ matchedSelectors[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) > -1 : jQuery.find(sel, this, null, [cur]).length;
+ }
+ if (matchedSelectors[sel]) {
+ matchedHandlers.push(handleObj);
+ }
+ }
+ if (matchedHandlers.length) {
+ handlerQueue.push({ elem: cur, handlers: matchedHandlers });
+ }
+ }
+ }
+ }
+ cur = this;
+ if (delegateCount < handlers.length) {
+ handlerQueue.push({ elem: cur, handlers: handlers.slice(delegateCount) });
+ }
+ return handlerQueue;
+ },
+ addProp: function(name, hook) {
+ Object.defineProperty(jQuery.Event.prototype, name, {
+ enumerable: true,
+ configurable: true,
+ get: isFunction(hook) ? function() {
+ if (this.originalEvent) {
+ return hook(this.originalEvent);
+ }
+ } : function() {
+ if (this.originalEvent) {
+ return this.originalEvent[name];
+ }
+ },
+ set: function(value) {
+ Object.defineProperty(this, name, {
+ enumerable: true,
+ configurable: true,
+ writable: true,
+ value
+ });
+ }
+ });
+ },
+ fix: function(originalEvent) {
+ return originalEvent[jQuery.expando] ? originalEvent : new jQuery.Event(originalEvent);
+ },
+ special: {
+ load: {
+ noBubble: true
+ },
+ click: {
+ setup: function(data) {
+ var el = this || data;
+ if (rcheckableType.test(el.type) && el.click && nodeName(el, "input")) {
+ leverageNative(el, "click", returnTrue);
+ }
+ return false;
+ },
+ trigger: function(data) {
+ var el = this || data;
+ if (rcheckableType.test(el.type) && el.click && nodeName(el, "input")) {
+ leverageNative(el, "click");
+ }
+ return true;
+ },
+ _default: function(event) {
+ var target = event.target;
+ return rcheckableType.test(target.type) && target.click && nodeName(target, "input") && dataPriv.get(target, "click") || nodeName(target, "a");
+ }
+ },
+ beforeunload: {
+ postDispatch: function(event) {
+ if (event.result !== void 0 && event.originalEvent) {
+ event.originalEvent.returnValue = event.result;
+ }
+ }
+ }
+ }
+ };
+ function leverageNative(el, type, expectSync2) {
+ if (!expectSync2) {
+ if (dataPriv.get(el, type) === void 0) {
+ jQuery.event.add(el, type, returnTrue);
+ }
+ return;
+ }
+ dataPriv.set(el, type, false);
+ jQuery.event.add(el, type, {
+ namespace: false,
+ handler: function(event) {
+ var notAsync, result, saved = dataPriv.get(this, type);
+ if (event.isTrigger & 1 && this[type]) {
+ if (!saved.length) {
+ saved = slice.call(arguments);
+ dataPriv.set(this, type, saved);
+ notAsync = expectSync2(this, type);
+ this[type]();
+ result = dataPriv.get(this, type);
+ if (saved !== result || notAsync) {
+ dataPriv.set(this, type, false);
+ } else {
+ result = {};
+ }
+ if (saved !== result) {
+ event.stopImmediatePropagation();
+ event.preventDefault();
+ return result && result.value;
+ }
+ } else if ((jQuery.event.special[type] || {}).delegateType) {
+ event.stopPropagation();
+ }
+ } else if (saved.length) {
+ dataPriv.set(this, type, {
+ value: jQuery.event.trigger(jQuery.extend(saved[0], jQuery.Event.prototype), saved.slice(1), this)
+ });
+ event.stopImmediatePropagation();
+ }
+ }
+ });
+ }
+ jQuery.removeEvent = function(elem, type, handle) {
+ if (elem.removeEventListener) {
+ elem.removeEventListener(type, handle);
+ }
+ };
+ jQuery.Event = function(src, props) {
+ if (!(this instanceof jQuery.Event)) {
+ return new jQuery.Event(src, props);
+ }
+ if (src && src.type) {
+ this.originalEvent = src;
+ this.type = src.type;
+ this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === void 0 && src.returnValue === false ? returnTrue : returnFalse;
+ this.target = src.target && src.target.nodeType === 3 ? src.target.parentNode : src.target;
+ this.currentTarget = src.currentTarget;
+ this.relatedTarget = src.relatedTarget;
+ } else {
+ this.type = src;
+ }
+ if (props) {
+ jQuery.extend(this, props);
+ }
+ this.timeStamp = src && src.timeStamp || Date.now();
+ this[jQuery.expando] = true;
+ };
+ jQuery.Event.prototype = {
+ constructor: jQuery.Event,
+ isDefaultPrevented: returnFalse,
+ isPropagationStopped: returnFalse,
+ isImmediatePropagationStopped: returnFalse,
+ isSimulated: false,
+ preventDefault: function() {
+ var e = this.originalEvent;
+ this.isDefaultPrevented = returnTrue;
+ if (e && !this.isSimulated) {
+ e.preventDefault();
+ }
+ },
+ stopPropagation: function() {
+ var e = this.originalEvent;
+ this.isPropagationStopped = returnTrue;
+ if (e && !this.isSimulated) {
+ e.stopPropagation();
+ }
+ },
+ stopImmediatePropagation: function() {
+ var e = this.originalEvent;
+ this.isImmediatePropagationStopped = returnTrue;
+ if (e && !this.isSimulated) {
+ e.stopImmediatePropagation();
+ }
+ this.stopPropagation();
+ }
+ };
+ jQuery.each({
+ altKey: true,
+ bubbles: true,
+ cancelable: true,
+ changedTouches: true,
+ ctrlKey: true,
+ detail: true,
+ eventPhase: true,
+ metaKey: true,
+ pageX: true,
+ pageY: true,
+ shiftKey: true,
+ view: true,
+ "char": true,
+ code: true,
+ charCode: true,
+ key: true,
+ keyCode: true,
+ button: true,
+ buttons: true,
+ clientX: true,
+ clientY: true,
+ offsetX: true,
+ offsetY: true,
+ pointerId: true,
+ pointerType: true,
+ screenX: true,
+ screenY: true,
+ targetTouches: true,
+ toElement: true,
+ touches: true,
+ which: true
+ }, jQuery.event.addProp);
+ jQuery.each({ focus: "focusin", blur: "focusout" }, function(type, delegateType) {
+ jQuery.event.special[type] = {
+ setup: function() {
+ leverageNative(this, type, expectSync);
+ return false;
+ },
+ trigger: function() {
+ leverageNative(this, type);
+ return true;
+ },
+ _default: function() {
+ return true;
+ },
+ delegateType
+ };
+ });
+ jQuery.each({
+ mouseenter: "mouseover",
+ mouseleave: "mouseout",
+ pointerenter: "pointerover",
+ pointerleave: "pointerout"
+ }, function(orig, fix) {
+ jQuery.event.special[orig] = {
+ delegateType: fix,
+ bindType: fix,
+ handle: function(event) {
+ var ret, target = this, related = event.relatedTarget, handleObj = event.handleObj;
+ if (!related || related !== target && !jQuery.contains(target, related)) {
+ event.type = handleObj.origType;
+ ret = handleObj.handler.apply(this, arguments);
+ event.type = fix;
+ }
+ return ret;
+ }
+ };
+ });
+ jQuery.fn.extend({
+ on: function(types, selector, data, fn2) {
+ return on(this, types, selector, data, fn2);
+ },
+ one: function(types, selector, data, fn2) {
+ return on(this, types, selector, data, fn2, 1);
+ },
+ off: function(types, selector, fn2) {
+ var handleObj, type;
+ if (types && types.preventDefault && types.handleObj) {
+ handleObj = types.handleObj;
+ jQuery(types.delegateTarget).off(handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler);
+ return this;
+ }
+ if (typeof types === "object") {
+ for (type in types) {
+ this.off(type, selector, types[type]);
+ }
+ return this;
+ }
+ if (selector === false || typeof selector === "function") {
+ fn2 = selector;
+ selector = void 0;
+ }
+ if (fn2 === false) {
+ fn2 = returnFalse;
+ }
+ return this.each(function() {
+ jQuery.event.remove(this, types, fn2, selector);
+ });
+ }
+ });
+ var rnoInnerhtml = /<script|<style|<link/i, rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
+ function manipulationTarget(elem, content) {
+ if (nodeName(elem, "table") && nodeName(content.nodeType !== 11 ? content : content.firstChild, "tr")) {
+ return jQuery(elem).children("tbody")[0] || elem;
+ }
+ return elem;
+ }
+ function disableScript(elem) {
+ elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type;
+ return elem;
+ }
+ function restoreScript(elem) {
+ if ((elem.type || "").slice(0, 5) === "true/") {
+ elem.type = elem.type.slice(5);
+ } else {
+ elem.removeAttribute("type");
+ }
+ return elem;
+ }
+ function cloneCopyEvent(src, dest) {
+ var i, l, type, pdataOld, udataOld, udataCur, events;
+ if (dest.nodeType !== 1) {
+ return;
+ }
+ if (dataPriv.hasData(src)) {
+ pdataOld = dataPriv.get(src);
+ events = pdataOld.events;
+ if (events) {
+ dataPriv.remove(dest, "handle events");
+ for (type in events) {
+ for (i = 0, l = events[type].length; i < l; i++) {
+ jQuery.event.add(dest, type, events[type][i]);
+ }
+ }
+ }
+ }
+ if (dataUser.hasData(src)) {
+ udataOld = dataUser.access(src);
+ udataCur = jQuery.extend({}, udataOld);
+ dataUser.set(dest, udataCur);
+ }
+ }
+ function fixInput(src, dest) {
+ var nodeName2 = dest.nodeName.toLowerCase();
+ if (nodeName2 === "input" && rcheckableType.test(src.type)) {
+ dest.checked = src.checked;
+ } else if (nodeName2 === "input" || nodeName2 === "textarea") {
+ dest.defaultValue = src.defaultValue;
+ }
+ }
+ function domManip(collection, args, callback, ignored) {
+ args = flat(args);
+ var fragment, first, scripts, hasScripts, node, doc2, i = 0, l = collection.length, iNoClone = l - 1, value = args[0], valueIsFunction = isFunction(value);
+ if (valueIsFunction || l > 1 && typeof value === "string" && !support.checkClone && rchecked.test(value)) {
+ return collection.each(function(index) {
+ var self2 = collection.eq(index);
+ if (valueIsFunction) {
+ args[0] = value.call(this, index, self2.html());
+ }
+ domManip(self2, args, callback, ignored);
+ });
+ }
+ if (l) {
+ fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored);
+ first = fragment.firstChild;
+ if (fragment.childNodes.length === 1) {
+ fragment = first;
+ }
+ if (first || ignored) {
+ scripts = jQuery.map(getAll(fragment, "script"), disableScript);
+ hasScripts = scripts.length;
+ for (; i < l; i++) {
+ node = fragment;
+ if (i !== iNoClone) {
+ node = jQuery.clone(node, true, true);
+ if (hasScripts) {
+ jQuery.merge(scripts, getAll(node, "script"));
+ }
+ }
+ callback.call(collection[i], node, i);
+ }
+ if (hasScripts) {
+ doc2 = scripts[scripts.length - 1].ownerDocument;
+ jQuery.map(scripts, restoreScript);
+ for (i = 0; i < hasScripts; i++) {
+ node = scripts[i];
+ if (rscriptType.test(node.type || "") && !dataPriv.access(node, "globalEval") && jQuery.contains(doc2, node)) {
+ if (node.src && (node.type || "").toLowerCase() !== "module") {
+ if (jQuery._evalUrl && !node.noModule) {
+ jQuery._evalUrl(node.src, {
+ nonce: node.nonce || node.getAttribute("nonce")
+ }, doc2);
+ }
+ } else {
+ DOMEval(node.textContent.replace(rcleanScript, ""), node, doc2);
+ }
+ }
+ }
+ }
+ }
+ }
+ return collection;
+ }
+ function remove(elem, selector, keepData) {
+ var node, nodes = selector ? jQuery.filter(selector, elem) : elem, i = 0;
+ for (; (node = nodes[i]) != null; i++) {
+ if (!keepData && node.nodeType === 1) {
+ jQuery.cleanData(getAll(node));
+ }
+ if (node.parentNode) {
+ if (keepData && isAttached(node)) {
+ setGlobalEval(getAll(node, "script"));
+ }
+ node.parentNode.removeChild(node);
+ }
+ }
+ return elem;
+ }
+ jQuery.extend({
+ htmlPrefilter: function(html) {
+ return html;
+ },
+ clone: function(elem, dataAndEvents, deepDataAndEvents) {
+ var i, l, srcElements, destElements, clone2 = elem.cloneNode(true), inPage = isAttached(elem);
+ if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem)) {
+ destElements = getAll(clone2);
+ srcElements = getAll(elem);
+ for (i = 0, l = srcElements.length; i < l; i++) {
+ fixInput(srcElements[i], destElements[i]);
+ }
+ }
+ if (dataAndEvents) {
+ if (deepDataAndEvents) {
+ srcElements = srcElements || getAll(elem);
+ destElements = destElements || getAll(clone2);
+ for (i = 0, l = srcElements.length; i < l; i++) {
+ cloneCopyEvent(srcElements[i], destElements[i]);
+ }
+ } else {
+ cloneCopyEvent(elem, clone2);
+ }
+ }
+ destElements = getAll(clone2, "script");
+ if (destElements.length > 0) {
+ setGlobalEval(destElements, !inPage && getAll(elem, "script"));
+ }
+ return clone2;
+ },
+ cleanData: function(elems) {
+ var data, elem, type, special = jQuery.event.special, i = 0;
+ for (; (elem = elems[i]) !== void 0; i++) {
+ if (acceptData(elem)) {
+ if (data = elem[dataPriv.expando]) {
+ if (data.events) {
+ for (type in data.events) {
+ if (special[type]) {
+ jQuery.event.remove(elem, type);
+ } else {
+ jQuery.removeEvent(elem, type, data.handle);
+ }
+ }
+ }
+ elem[dataPriv.expando] = void 0;
+ }
+ if (elem[dataUser.expando]) {
+ elem[dataUser.expando] = void 0;
+ }
+ }
+ }
+ }
+ });
+ jQuery.fn.extend({
+ detach: function(selector) {
+ return remove(this, selector, true);
+ },
+ remove: function(selector) {
+ return remove(this, selector);
+ },
+ text: function(value) {
+ return access(this, function(value2) {
+ return value2 === void 0 ? jQuery.text(this) : this.empty().each(function() {
+ if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
+ this.textContent = value2;
+ }
+ });
+ }, null, value, arguments.length);
+ },
+ append: function() {
+ return domManip(this, arguments, function(elem) {
+ if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
+ var target = manipulationTarget(this, elem);
+ target.appendChild(elem);
+ }
+ });
+ },
+ prepend: function() {
+ return domManip(this, arguments, function(elem) {
+ if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
+ var target = manipulationTarget(this, elem);
+ target.insertBefore(elem, target.firstChild);
+ }
+ });
+ },
+ before: function() {
+ return domManip(this, arguments, function(elem) {
+ if (this.parentNode) {
+ this.parentNode.insertBefore(elem, this);
+ }
+ });
+ },
+ after: function() {
+ return domManip(this, arguments, function(elem) {
+ if (this.parentNode) {
+ this.parentNode.insertBefore(elem, this.nextSibling);
+ }
+ });
+ },
+ empty: function() {
+ var elem, i = 0;
+ for (; (elem = this[i]) != null; i++) {
+ if (elem.nodeType === 1) {
+ jQuery.cleanData(getAll(elem, false));
+ elem.textContent = "";
+ }
+ }
+ return this;
+ },
+ clone: function(dataAndEvents, deepDataAndEvents) {
+ dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
+ deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
+ return this.map(function() {
+ return jQuery.clone(this, dataAndEvents, deepDataAndEvents);
+ });
+ },
+ html: function(value) {
+ return access(this, function(value2) {
+ var elem = this[0] || {}, i = 0, l = this.length;
+ if (value2 === void 0 && elem.nodeType === 1) {
+ return elem.innerHTML;
+ }
+ if (typeof value2 === "string" && !rnoInnerhtml.test(value2) && !wrapMap[(rtagName.exec(value2) || ["", ""])[1].toLowerCase()]) {
+ value2 = jQuery.htmlPrefilter(value2);
+ try {
+ for (; i < l; i++) {
+ elem = this[i] || {};
+ if (elem.nodeType === 1) {
+ jQuery.cleanData(getAll(elem, false));
+ elem.innerHTML = value2;
+ }
+ }
+ elem = 0;
+ } catch (e) {
+ }
+ }
+ if (elem) {
+ this.empty().append(value2);
+ }
+ }, null, value, arguments.length);
+ },
+ replaceWith: function() {
+ var ignored = [];
+ return domManip(this, arguments, function(elem) {
+ var parent = this.parentNode;
+ if (jQuery.inArray(this, ignored) < 0) {
+ jQuery.cleanData(getAll(this));
+ if (parent) {
+ parent.replaceChild(elem, this);
+ }
+ }
+ }, ignored);
+ }
+ });
+ jQuery.each({
+ appendTo: "append",
+ prependTo: "prepend",
+ insertBefore: "before",
+ insertAfter: "after",
+ replaceAll: "replaceWith"
+ }, function(name, original) {
+ jQuery.fn[name] = function(selector) {
+ var elems, ret = [], insert = jQuery(selector), last = insert.length - 1, i = 0;
+ for (; i <= last; i++) {
+ elems = i === last ? this : this.clone(true);
+ jQuery(insert[i])[original](elems);
+ push.apply(ret, elems.get());
+ }
+ return this.pushStack(ret);
+ };
+ });
+ var rnumnonpx = new RegExp("^(" + pnum + ")(?!px)[a-z%]+$", "i");
+ var getStyles = function(elem) {
+ var view = elem.ownerDocument.defaultView;
+ if (!view || !view.opener) {
+ view = window2;
+ }
+ return view.getComputedStyle(elem);
+ };
+ var swap = function(elem, options, callback) {
+ var ret, name, old = {};
+ for (name in options) {
+ old[name] = elem.style[name];
+ elem.style[name] = options[name];
+ }
+ ret = callback.call(elem);
+ for (name in options) {
+ elem.style[name] = old[name];
+ }
+ return ret;
+ };
+ var rboxStyle = new RegExp(cssExpand.join("|"), "i");
+ (function() {
+ function computeStyleTests() {
+ if (!div) {
+ return;
+ }
+ container.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";
+ div.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";
+ documentElement.appendChild(container).appendChild(div);
+ var divStyle = window2.getComputedStyle(div);
+ pixelPositionVal = divStyle.top !== "1%";
+ reliableMarginLeftVal = roundPixelMeasures(divStyle.marginLeft) === 12;
+ div.style.right = "60%";
+ pixelBoxStylesVal = roundPixelMeasures(divStyle.right) === 36;
+ boxSizingReliableVal = roundPixelMeasures(divStyle.width) === 36;
+ div.style.position = "absolute";
+ scrollboxSizeVal = roundPixelMeasures(div.offsetWidth / 3) === 12;
+ documentElement.removeChild(container);
+ div = null;
+ }
+ function roundPixelMeasures(measure) {
+ return Math.round(parseFloat(measure));
+ }
+ var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, reliableTrDimensionsVal, reliableMarginLeftVal, container = document2.createElement("div"), div = document2.createElement("div");
+ if (!div.style) {
+ return;
+ }
+ div.style.backgroundClip = "content-box";
+ div.cloneNode(true).style.backgroundClip = "";
+ support.clearCloneStyle = div.style.backgroundClip === "content-box";
+ jQuery.extend(support, {
+ boxSizingReliable: function() {
+ computeStyleTests();
+ return boxSizingReliableVal;
+ },
+ pixelBoxStyles: function() {
+ computeStyleTests();
+ return pixelBoxStylesVal;
+ },
+ pixelPosition: function() {
+ computeStyleTests();
+ return pixelPositionVal;
+ },
+ reliableMarginLeft: function() {
+ computeStyleTests();
+ return reliableMarginLeftVal;
+ },
+ scrollboxSize: function() {
+ computeStyleTests();
+ return scrollboxSizeVal;
+ },
+ reliableTrDimensions: function() {
+ var table, tr, trChild, trStyle;
+ if (reliableTrDimensionsVal == null) {
+ table = document2.createElement("table");
+ tr = document2.createElement("tr");
+ trChild = document2.createElement("div");
+ table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
+ tr.style.cssText = "border:1px solid";
+ tr.style.height = "1px";
+ trChild.style.height = "9px";
+ trChild.style.display = "block";
+ documentElement.appendChild(table).appendChild(tr).appendChild(trChild);
+ trStyle = window2.getComputedStyle(tr);
+ reliableTrDimensionsVal = parseInt(trStyle.height, 10) + parseInt(trStyle.borderTopWidth, 10) + parseInt(trStyle.borderBottomWidth, 10) === tr.offsetHeight;
+ documentElement.removeChild(table);
+ }
+ return reliableTrDimensionsVal;
+ }
+ });
+ })();
+ function curCSS(elem, name, computed) {
+ var width, minWidth, maxWidth, ret, style = elem.style;
+ computed = computed || getStyles(elem);
+ if (computed) {
+ ret = computed.getPropertyValue(name) || computed[name];
+ if (ret === "" && !isAttached(elem)) {
+ ret = jQuery.style(elem, name);
+ }
+ if (!support.pixelBoxStyles() && rnumnonpx.test(ret) && rboxStyle.test(name)) {
+ width = style.width;
+ minWidth = style.minWidth;
+ maxWidth = style.maxWidth;
+ style.minWidth = style.maxWidth = style.width = ret;
+ ret = computed.width;
+ style.width = width;
+ style.minWidth = minWidth;
+ style.maxWidth = maxWidth;
+ }
+ }
+ return ret !== void 0 ? ret + "" : ret;
+ }
+ function addGetHookIf(conditionFn, hookFn) {
+ return {
+ get: function() {
+ if (conditionFn()) {
+ delete this.get;
+ return;
+ }
+ return (this.get = hookFn).apply(this, arguments);
+ }
+ };
+ }
+ var cssPrefixes = ["Webkit", "Moz", "ms"], emptyStyle = document2.createElement("div").style, vendorProps = {};
+ function vendorPropName(name) {
+ var capName = name[0].toUpperCase() + name.slice(1), i = cssPrefixes.length;
+ while (i--) {
+ name = cssPrefixes[i] + capName;
+ if (name in emptyStyle) {
+ return name;
+ }
+ }
+ }
+ function finalPropName(name) {
+ var final = jQuery.cssProps[name] || vendorProps[name];
+ if (final) {
+ return final;
+ }
+ if (name in emptyStyle) {
+ return name;
+ }
+ return vendorProps[name] = vendorPropName(name) || name;
+ }
+ var rdisplayswap = /^(none|table(?!-c[ea]).+)/, rcustomProp = /^--/, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssNormalTransform = {
+ letterSpacing: "0",
+ fontWeight: "400"
+ };
+ function setPositiveNumber(_elem, value, subtract) {
+ var matches = rcssNum.exec(value);
+ return matches ? Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || "px") : value;
+ }
+ function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) {
+ var i = dimension === "width" ? 1 : 0, extra = 0, delta = 0;
+ if (box === (isBorderBox ? "border" : "content")) {
+ return 0;
+ }
+ for (; i < 4; i += 2) {
+ if (box === "margin") {
+ delta += jQuery.css(elem, box + cssExpand[i], true, styles);
+ }
+ if (!isBorderBox) {
+ delta += jQuery.css(elem, "padding" + cssExpand[i], true, styles);
+ if (box !== "padding") {
+ delta += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
+ } else {
+ extra += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
+ }
+ } else {
+ if (box === "content") {
+ delta -= jQuery.css(elem, "padding" + cssExpand[i], true, styles);
+ }
+ if (box !== "margin") {
+ delta -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
+ }
+ }
+ }
+ if (!isBorderBox && computedVal >= 0) {
+ delta += Math.max(0, Math.ceil(elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)] - computedVal - delta - extra - 0.5)) || 0;
+ }
+ return delta;
+ }
+ function getWidthOrHeight(elem, dimension, extra) {
+ var styles = getStyles(elem), boxSizingNeeded = !support.boxSizingReliable() || extra, isBorderBox = boxSizingNeeded && jQuery.css(elem, "boxSizing", false, styles) === "border-box", valueIsBorderBox = isBorderBox, val = curCSS(elem, dimension, styles), offsetProp = "offset" + dimension[0].toUpperCase() + dimension.slice(1);
+ if (rnumnonpx.test(val)) {
+ if (!extra) {
+ return val;
+ }
+ val = "auto";
+ }
+ if ((!support.boxSizingReliable() && isBorderBox || !support.reliableTrDimensions() && nodeName(elem, "tr") || val === "auto" || !parseFloat(val) && jQuery.css(elem, "display", false, styles) === "inline") && elem.getClientRects().length) {
+ isBorderBox = jQuery.css(elem, "boxSizing", false, styles) === "border-box";
+ valueIsBorderBox = offsetProp in elem;
+ if (valueIsBorderBox) {
+ val = elem[offsetProp];
+ }
+ }
+ val = parseFloat(val) || 0;
+ return val + boxModelAdjustment(elem, dimension, extra || (isBorderBox ? "border" : "content"), valueIsBorderBox, styles, val) + "px";
+ }
+ jQuery.extend({
+ cssHooks: {
+ opacity: {
+ get: function(elem, computed) {
+ if (computed) {
+ var ret = curCSS(elem, "opacity");
+ return ret === "" ? "1" : ret;
+ }
+ }
+ }
+ },
+ cssNumber: {
+ "animationIterationCount": true,
+ "columnCount": true,
+ "fillOpacity": true,
+ "flexGrow": true,
+ "flexShrink": true,
+ "fontWeight": true,
+ "gridArea": true,
+ "gridColumn": true,
+ "gridColumnEnd": true,
+ "gridColumnStart": true,
+ "gridRow": true,
+ "gridRowEnd": true,
+ "gridRowStart": true,
+ "lineHeight": true,
+ "opacity": true,
+ "order": true,
+ "orphans": true,
+ "widows": true,
+ "zIndex": true,
+ "zoom": true
+ },
+ cssProps: {},
+ style: function(elem, name, value, extra) {
+ if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {
+ return;
+ }
+ var ret, type, hooks, origName = camelCase(name), isCustomProp = rcustomProp.test(name), style = elem.style;
+ if (!isCustomProp) {
+ name = finalPropName(origName);
+ }
+ hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
+ if (value !== void 0) {
+ type = typeof value;
+ if (type === "string" && (ret = rcssNum.exec(value)) && ret[1]) {
+ value = adjustCSS(elem, name, ret);
+ type = "number";
+ }
+ if (value == null || value !== value) {
+ return;
+ }
+ if (type === "number" && !isCustomProp) {
+ value += ret && ret[3] || (jQuery.cssNumber[origName] ? "" : "px");
+ }
+ if (!support.clearCloneStyle && value === "" && name.indexOf("background") === 0) {
+ style[name] = "inherit";
+ }
+ if (!hooks || !("set" in hooks) || (value = hooks.set(elem, value, extra)) !== void 0) {
+ if (isCustomProp) {
+ style.setProperty(name, value);
+ } else {
+ style[name] = value;
+ }
+ }
+ } else {
+ if (hooks && "get" in hooks && (ret = hooks.get(elem, false, extra)) !== void 0) {
+ return ret;
+ }
+ return style[name];
+ }
+ },
+ css: function(elem, name, extra, styles) {
+ var val, num, hooks, origName = camelCase(name), isCustomProp = rcustomProp.test(name);
+ if (!isCustomProp) {
+ name = finalPropName(origName);
+ }
+ hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
+ if (hooks && "get" in hooks) {
+ val = hooks.get(elem, true, extra);
+ }
+ if (val === void 0) {
+ val = curCSS(elem, name, styles);
+ }
+ if (val === "normal" && name in cssNormalTransform) {
+ val = cssNormalTransform[name];
+ }
+ if (extra === "" || extra) {
+ num = parseFloat(val);
+ return extra === true || isFinite(num) ? num || 0 : val;
+ }
+ return val;
+ }
+ });
+ jQuery.each(["height", "width"], function(_i, dimension) {
+ jQuery.cssHooks[dimension] = {
+ get: function(elem, computed, extra) {
+ if (computed) {
+ return rdisplayswap.test(jQuery.css(elem, "display")) && (!elem.getClientRects().length || !elem.getBoundingClientRect().width) ? swap(elem, cssShow, function() {
+ return getWidthOrHeight(elem, dimension, extra);
+ }) : getWidthOrHeight(elem, dimension, extra);
+ }
+ },
+ set: function(elem, value, extra) {
+ var matches, styles = getStyles(elem), scrollboxSizeBuggy = !support.scrollboxSize() && styles.position === "absolute", boxSizingNeeded = scrollboxSizeBuggy || extra, isBorderBox = boxSizingNeeded && jQuery.css(elem, "boxSizing", false, styles) === "border-box", subtract = extra ? boxModelAdjustment(elem, dimension, extra, isBorderBox, styles) : 0;
+ if (isBorderBox && scrollboxSizeBuggy) {
+ subtract -= Math.ceil(elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)] - parseFloat(styles[dimension]) - boxModelAdjustment(elem, dimension, "border", false, styles) - 0.5);
+ }
+ if (subtract && (matches = rcssNum.exec(value)) && (matches[3] || "px") !== "px") {
+ elem.style[dimension] = value;
+ value = jQuery.css(elem, dimension);
+ }
+ return setPositiveNumber(elem, value, subtract);
+ }
+ };
+ });
+ jQuery.cssHooks.marginLeft = addGetHookIf(support.reliableMarginLeft, function(elem, computed) {
+ if (computed) {
+ return (parseFloat(curCSS(elem, "marginLeft")) || elem.getBoundingClientRect().left - swap(elem, { marginLeft: 0 }, function() {
+ return elem.getBoundingClientRect().left;
+ })) + "px";
+ }
+ });
+ jQuery.each({
+ margin: "",
+ padding: "",
+ border: "Width"
+ }, function(prefix, suffix) {
+ jQuery.cssHooks[prefix + suffix] = {
+ expand: function(value) {
+ var i = 0, expanded = {}, parts = typeof value === "string" ? value.split(" ") : [value];
+ for (; i < 4; i++) {
+ expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0];
+ }
+ return expanded;
+ }
+ };
+ if (prefix !== "margin") {
+ jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;
+ }
+ });
+ jQuery.fn.extend({
+ css: function(name, value) {
+ return access(this, function(elem, name2, value2) {
+ var styles, len, map = {}, i = 0;
+ if (Array.isArray(name2)) {
+ styles = getStyles(elem);
+ len = name2.length;
+ for (; i < len; i++) {
+ map[name2[i]] = jQuery.css(elem, name2[i], false, styles);
+ }
+ return map;
+ }
+ return value2 !== void 0 ? jQuery.style(elem, name2, value2) : jQuery.css(elem, name2);
+ }, name, value, arguments.length > 1);
+ }
+ });
+ function Tween(elem, options, prop, end2, easing) {
+ return new Tween.prototype.init(elem, options, prop, end2, easing);
+ }
+ jQuery.Tween = Tween;
+ Tween.prototype = {
+ constructor: Tween,
+ init: function(elem, options, prop, end2, easing, unit) {
+ this.elem = elem;
+ this.prop = prop;
+ this.easing = easing || jQuery.easing._default;
+ this.options = options;
+ this.start = this.now = this.cur();
+ this.end = end2;
+ this.unit = unit || (jQuery.cssNumber[prop] ? "" : "px");
+ },
+ cur: function() {
+ var hooks = Tween.propHooks[this.prop];
+ return hooks && hooks.get ? hooks.get(this) : Tween.propHooks._default.get(this);
+ },
+ run: function(percent) {
+ var eased, hooks = Tween.propHooks[this.prop];
+ if (this.options.duration) {
+ this.pos = eased = jQuery.easing[this.easing](percent, this.options.duration * percent, 0, 1, this.options.duration);
+ } else {
+ this.pos = eased = percent;
+ }
+ this.now = (this.end - this.start) * eased + this.start;
+ if (this.options.step) {
+ this.options.step.call(this.elem, this.now, this);
+ }
+ if (hooks && hooks.set) {
+ hooks.set(this);
+ } else {
+ Tween.propHooks._default.set(this);
+ }
+ return this;
+ }
+ };
+ Tween.prototype.init.prototype = Tween.prototype;
+ Tween.propHooks = {
+ _default: {
+ get: function(tween) {
+ var result;
+ if (tween.elem.nodeType !== 1 || tween.elem[tween.prop] != null && tween.elem.style[tween.prop] == null) {
+ return tween.elem[tween.prop];
+ }
+ result = jQuery.css(tween.elem, tween.prop, "");
+ return !result || result === "auto" ? 0 : result;
+ },
+ set: function(tween) {
+ if (jQuery.fx.step[tween.prop]) {
+ jQuery.fx.step[tween.prop](tween);
+ } else if (tween.elem.nodeType === 1 && (jQuery.cssHooks[tween.prop] || tween.elem.style[finalPropName(tween.prop)] != null)) {
+ jQuery.style(tween.elem, tween.prop, tween.now + tween.unit);
+ } else {
+ tween.elem[tween.prop] = tween.now;
+ }
+ }
+ }
+ };
+ Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
+ set: function(tween) {
+ if (tween.elem.nodeType && tween.elem.parentNode) {
+ tween.elem[tween.prop] = tween.now;
+ }
+ }
+ };
+ jQuery.easing = {
+ linear: function(p) {
+ return p;
+ },
+ swing: function(p) {
+ return 0.5 - Math.cos(p * Math.PI) / 2;
+ },
+ _default: "swing"
+ };
+ jQuery.fx = Tween.prototype.init;
+ jQuery.fx.step = {};
+ var fxNow, inProgress, rfxtypes = /^(?:toggle|show|hide)$/, rrun = /queueHooks$/;
+ function schedule() {
+ if (inProgress) {
+ if (document2.hidden === false && window2.requestAnimationFrame) {
+ window2.requestAnimationFrame(schedule);
+ } else {
+ window2.setTimeout(schedule, jQuery.fx.interval);
+ }
+ jQuery.fx.tick();
+ }
+ }
+ function createFxNow() {
+ window2.setTimeout(function() {
+ fxNow = void 0;
+ });
+ return fxNow = Date.now();
+ }
+ function genFx(type, includeWidth) {
+ var which, i = 0, attrs = { height: type };
+ includeWidth = includeWidth ? 1 : 0;
+ for (; i < 4; i += 2 - includeWidth) {
+ which = cssExpand[i];
+ attrs["margin" + which] = attrs["padding" + which] = type;
+ }
+ if (includeWidth) {
+ attrs.opacity = attrs.width = type;
+ }
+ return attrs;
+ }
+ function createTween(value, prop, animation) {
+ var tween, collection = (Animation.tweeners[prop] || []).concat(Animation.tweeners["*"]), index = 0, length = collection.length;
+ for (; index < length; index++) {
+ if (tween = collection[index].call(animation, prop, value)) {
+ return tween;
+ }
+ }
+ }
+ function defaultPrefilter(elem, props, opts) {
+ var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, isBox = "width" in props || "height" in props, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHiddenWithinTree(elem), dataShow = dataPriv.get(elem, "fxshow");
+ if (!opts.queue) {
+ hooks = jQuery._queueHooks(elem, "fx");
+ if (hooks.unqueued == null) {
+ hooks.unqueued = 0;
+ oldfire = hooks.empty.fire;
+ hooks.empty.fire = function() {
+ if (!hooks.unqueued) {
+ oldfire();
+ }
+ };
+ }
+ hooks.unqueued++;
+ anim.always(function() {
+ anim.always(function() {
+ hooks.unqueued--;
+ if (!jQuery.queue(elem, "fx").length) {
+ hooks.empty.fire();
+ }
+ });
+ });
+ }
+ for (prop in props) {
+ value = props[prop];
+ if (rfxtypes.test(value)) {
+ delete props[prop];
+ toggle = toggle || value === "toggle";
+ if (value === (hidden ? "hide" : "show")) {
+ if (value === "show" && dataShow && dataShow[prop] !== void 0) {
+ hidden = true;
+ } else {
+ continue;
+ }
+ }
+ orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop);
+ }
+ }
+ propTween = !jQuery.isEmptyObject(props);
+ if (!propTween && jQuery.isEmptyObject(orig)) {
+ return;
+ }
+ if (isBox && elem.nodeType === 1) {
+ opts.overflow = [style.overflow, style.overflowX, style.overflowY];
+ restoreDisplay = dataShow && dataShow.display;
+ if (restoreDisplay == null) {
+ restoreDisplay = dataPriv.get(elem, "display");
+ }
+ display = jQuery.css(elem, "display");
+ if (display === "none") {
+ if (restoreDisplay) {
+ display = restoreDisplay;
+ } else {
+ showHide([elem], true);
+ restoreDisplay = elem.style.display || restoreDisplay;
+ display = jQuery.css(elem, "display");
+ showHide([elem]);
+ }
+ }
+ if (display === "inline" || display === "inline-block" && restoreDisplay != null) {
+ if (jQuery.css(elem, "float") === "none") {
+ if (!propTween) {
+ anim.done(function() {
+ style.display = restoreDisplay;
+ });
+ if (restoreDisplay == null) {
+ display = style.display;
+ restoreDisplay = display === "none" ? "" : display;
+ }
+ }
+ style.display = "inline-block";
+ }
+ }
+ }
+ if (opts.overflow) {
+ style.overflow = "hidden";
+ anim.always(function() {
+ style.overflow = opts.overflow[0];
+ style.overflowX = opts.overflow[1];
+ style.overflowY = opts.overflow[2];
+ });
+ }
+ propTween = false;
+ for (prop in orig) {
+ if (!propTween) {
+ if (dataShow) {
+ if ("hidden" in dataShow) {
+ hidden = dataShow.hidden;
+ }
+ } else {
+ dataShow = dataPriv.access(elem, "fxshow", { display: restoreDisplay });
+ }
+ if (toggle) {
+ dataShow.hidden = !hidden;
+ }
+ if (hidden) {
+ showHide([elem], true);
+ }
+ anim.done(function() {
+ if (!hidden) {
+ showHide([elem]);
+ }
+ dataPriv.remove(elem, "fxshow");
+ for (prop in orig) {
+ jQuery.style(elem, prop, orig[prop]);
+ }
+ });
+ }
+ propTween = createTween(hidden ? dataShow[prop] : 0, prop, anim);
+ if (!(prop in dataShow)) {
+ dataShow[prop] = propTween.start;
+ if (hidden) {
+ propTween.end = propTween.start;
+ propTween.start = 0;
+ }
+ }
+ }
+ }
+ function propFilter(props, specialEasing) {
+ var index, name, easing, value, hooks;
+ for (index in props) {
+ name = camelCase(index);
+ easing = specialEasing[name];
+ value = props[index];
+ if (Array.isArray(value)) {
+ easing = value[1];
+ value = props[index] = value[0];
+ }
+ if (index !== name) {
+ props[name] = value;
+ delete props[index];
+ }
+ hooks = jQuery.cssHooks[name];
+ if (hooks && "expand" in hooks) {
+ value = hooks.expand(value);
+ delete props[name];
+ for (index in value) {
+ if (!(index in props)) {
+ props[index] = value[index];
+ specialEasing[index] = easing;
+ }
+ }
+ } else {
+ specialEasing[name] = easing;
+ }
+ }
+ }
+ function Animation(elem, properties, options) {
+ var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always(function() {
+ delete tick.elem;
+ }), tick = function() {
+ if (stopped) {
+ return false;
+ }
+ var currentTime = fxNow || createFxNow(), remaining = Math.max(0, animation.startTime + animation.duration - currentTime), temp = remaining / animation.duration || 0, percent = 1 - temp, index2 = 0, length2 = animation.tweens.length;
+ for (; index2 < length2; index2++) {
+ animation.tweens[index2].run(percent);
+ }
+ deferred.notifyWith(elem, [animation, percent, remaining]);
+ if (percent < 1 && length2) {
+ return remaining;
+ }
+ if (!length2) {
+ deferred.notifyWith(elem, [animation, 1, 0]);
+ }
+ deferred.resolveWith(elem, [animation]);
+ return false;
+ }, animation = deferred.promise({
+ elem,
+ props: jQuery.extend({}, properties),
+ opts: jQuery.extend(true, {
+ specialEasing: {},
+ easing: jQuery.easing._default
+ }, options),
+ originalProperties: properties,
+ originalOptions: options,
+ startTime: fxNow || createFxNow(),
+ duration: options.duration,
+ tweens: [],
+ createTween: function(prop, end2) {
+ var tween = jQuery.Tween(elem, animation.opts, prop, end2, animation.opts.specialEasing[prop] || animation.opts.easing);
+ animation.tweens.push(tween);
+ return tween;
+ },
+ stop: function(gotoEnd) {
+ var index2 = 0, length2 = gotoEnd ? animation.tweens.length : 0;
+ if (stopped) {
+ return this;
+ }
+ stopped = true;
+ for (; index2 < length2; index2++) {
+ animation.tweens[index2].run(1);
+ }
+ if (gotoEnd) {
+ deferred.notifyWith(elem, [animation, 1, 0]);
+ deferred.resolveWith(elem, [animation, gotoEnd]);
+ } else {
+ deferred.rejectWith(elem, [animation, gotoEnd]);
+ }
+ return this;
+ }
+ }), props = animation.props;
+ propFilter(props, animation.opts.specialEasing);
+ for (; index < length; index++) {
+ result = Animation.prefilters[index].call(animation, elem, props, animation.opts);
+ if (result) {
+ if (isFunction(result.stop)) {
+ jQuery._queueHooks(animation.elem, animation.opts.queue).stop = result.stop.bind(result);
+ }
+ return result;
+ }
+ }
+ jQuery.map(props, createTween, animation);
+ if (isFunction(animation.opts.start)) {
+ animation.opts.start.call(elem, animation);
+ }
+ animation.progress(animation.opts.progress).done(animation.opts.done, animation.opts.complete).fail(animation.opts.fail).always(animation.opts.always);
+ jQuery.fx.timer(jQuery.extend(tick, {
+ elem,
+ anim: animation,
+ queue: animation.opts.queue
+ }));
+ return animation;
+ }
+ jQuery.Animation = jQuery.extend(Animation, {
+ tweeners: {
+ "*": [function(prop, value) {
+ var tween = this.createTween(prop, value);
+ adjustCSS(tween.elem, prop, rcssNum.exec(value), tween);
+ return tween;
+ }]
+ },
+ tweener: function(props, callback) {
+ if (isFunction(props)) {
+ callback = props;
+ props = ["*"];
+ } else {
+ props = props.match(rnothtmlwhite);
+ }
+ var prop, index = 0, length = props.length;
+ for (; index < length; index++) {
+ prop = props[index];
+ Animation.tweeners[prop] = Animation.tweeners[prop] || [];
+ Animation.tweeners[prop].unshift(callback);
+ }
+ },
+ prefilters: [defaultPrefilter],
+ prefilter: function(callback, prepend) {
+ if (prepend) {
+ Animation.prefilters.unshift(callback);
+ } else {
+ Animation.prefilters.push(callback);
+ }
+ }
+ });
+ jQuery.speed = function(speed, easing, fn2) {
+ var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : {
+ complete: fn2 || !fn2 && easing || isFunction(speed) && speed,
+ duration: speed,
+ easing: fn2 && easing || easing && !isFunction(easing) && easing
+ };
+ if (jQuery.fx.off) {
+ opt.duration = 0;
+ } else {
+ if (typeof opt.duration !== "number") {
+ if (opt.duration in jQuery.fx.speeds) {
+ opt.duration = jQuery.fx.speeds[opt.duration];
+ } else {
+ opt.duration = jQuery.fx.speeds._default;
+ }
+ }
+ }
+ if (opt.queue == null || opt.queue === true) {
+ opt.queue = "fx";
+ }
+ opt.old = opt.complete;
+ opt.complete = function() {
+ if (isFunction(opt.old)) {
+ opt.old.call(this);
+ }
+ if (opt.queue) {
+ jQuery.dequeue(this, opt.queue);
+ }
+ };
+ return opt;
+ };
+ jQuery.fn.extend({
+ fadeTo: function(speed, to, easing, callback) {
+ return this.filter(isHiddenWithinTree).css("opacity", 0).show().end().animate({ opacity: to }, speed, easing, callback);
+ },
+ animate: function(prop, speed, easing, callback) {
+ var empty = jQuery.isEmptyObject(prop), optall = jQuery.speed(speed, easing, callback), doAnimation = function() {
+ var anim = Animation(this, jQuery.extend({}, prop), optall);
+ if (empty || dataPriv.get(this, "finish")) {
+ anim.stop(true);
+ }
+ };
+ doAnimation.finish = doAnimation;
+ return empty || optall.queue === false ? this.each(doAnimation) : this.queue(optall.queue, doAnimation);
+ },
+ stop: function(type, clearQueue, gotoEnd) {
+ var stopQueue = function(hooks) {
+ var stop = hooks.stop;
+ delete hooks.stop;
+ stop(gotoEnd);
+ };
+ if (typeof type !== "string") {
+ gotoEnd = clearQueue;
+ clearQueue = type;
+ type = void 0;
+ }
+ if (clearQueue) {
+ this.queue(type || "fx", []);
+ }
+ return this.each(function() {
+ var dequeue = true, index = type != null && type + "queueHooks", timers = jQuery.timers, data = dataPriv.get(this);
+ if (index) {
+ if (data[index] && data[index].stop) {
+ stopQueue(data[index]);
+ }
+ } else {
+ for (index in data) {
+ if (data[index] && data[index].stop && rrun.test(index)) {
+ stopQueue(data[index]);
+ }
+ }
+ }
+ for (index = timers.length; index--; ) {
+ if (timers[index].elem === this && (type == null || timers[index].queue === type)) {
+ timers[index].anim.stop(gotoEnd);
+ dequeue = false;
+ timers.splice(index, 1);
+ }
+ }
+ if (dequeue || !gotoEnd) {
+ jQuery.dequeue(this, type);
+ }
+ });
+ },
+ finish: function(type) {
+ if (type !== false) {
+ type = type || "fx";
+ }
+ return this.each(function() {
+ var index, data = dataPriv.get(this), queue = data[type + "queue"], hooks = data[type + "queueHooks"], timers = jQuery.timers, length = queue ? queue.length : 0;
+ data.finish = true;
+ jQuery.queue(this, type, []);
+ if (hooks && hooks.stop) {
+ hooks.stop.call(this, true);
+ }
+ for (index = timers.length; index--; ) {
+ if (timers[index].elem === this && timers[index].queue === type) {
+ timers[index].anim.stop(true);
+ timers.splice(index, 1);
+ }
+ }
+ for (index = 0; index < length; index++) {
+ if (queue[index] && queue[index].finish) {
+ queue[index].finish.call(this);
+ }
+ }
+ delete data.finish;
+ });
+ }
+ });
+ jQuery.each(["toggle", "show", "hide"], function(_i, name) {
+ var cssFn = jQuery.fn[name];
+ jQuery.fn[name] = function(speed, easing, callback) {
+ return speed == null || typeof speed === "boolean" ? cssFn.apply(this, arguments) : this.animate(genFx(name, true), speed, easing, callback);
+ };
+ });
+ jQuery.each({
+ slideDown: genFx("show"),
+ slideUp: genFx("hide"),
+ slideToggle: genFx("toggle"),
+ fadeIn: { opacity: "show" },
+ fadeOut: { opacity: "hide" },
+ fadeToggle: { opacity: "toggle" }
+ }, function(name, props) {
+ jQuery.fn[name] = function(speed, easing, callback) {
+ return this.animate(props, speed, easing, callback);
+ };
+ });
+ jQuery.timers = [];
+ jQuery.fx.tick = function() {
+ var timer, i = 0, timers = jQuery.timers;
+ fxNow = Date.now();
+ for (; i < timers.length; i++) {
+ timer = timers[i];
+ if (!timer() && timers[i] === timer) {
+ timers.splice(i--, 1);
+ }
+ }
+ if (!timers.length) {
+ jQuery.fx.stop();
+ }
+ fxNow = void 0;
+ };
+ jQuery.fx.timer = function(timer) {
+ jQuery.timers.push(timer);
+ jQuery.fx.start();
+ };
+ jQuery.fx.interval = 13;
+ jQuery.fx.start = function() {
+ if (inProgress) {
+ return;
+ }
+ inProgress = true;
+ schedule();
+ };
+ jQuery.fx.stop = function() {
+ inProgress = null;
+ };
+ jQuery.fx.speeds = {
+ slow: 600,
+ fast: 200,
+ _default: 400
+ };
+ jQuery.fn.delay = function(time, type) {
+ time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
+ type = type || "fx";
+ return this.queue(type, function(next, hooks) {
+ var timeout = window2.setTimeout(next, time);
+ hooks.stop = function() {
+ window2.clearTimeout(timeout);
+ };
+ });
+ };
+ (function() {
+ var input = document2.createElement("input"), select = document2.createElement("select"), opt = select.appendChild(document2.createElement("option"));
+ input.type = "checkbox";
+ support.checkOn = input.value !== "";
+ support.optSelected = opt.selected;
+ input = document2.createElement("input");
+ input.value = "t";
+ input.type = "radio";
+ support.radioValue = input.value === "t";
+ })();
+ var boolHook, attrHandle = jQuery.expr.attrHandle;
+ jQuery.fn.extend({
+ attr: function(name, value) {
+ return access(this, jQuery.attr, name, value, arguments.length > 1);
+ },
+ removeAttr: function(name) {
+ return this.each(function() {
+ jQuery.removeAttr(this, name);
+ });
+ }
+ });
+ jQuery.extend({
+ attr: function(elem, name, value) {
+ var ret, hooks, nType = elem.nodeType;
+ if (nType === 3 || nType === 8 || nType === 2) {
+ return;
+ }
+ if (typeof elem.getAttribute === "undefined") {
+ return jQuery.prop(elem, name, value);
+ }
+ if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
+ hooks = jQuery.attrHooks[name.toLowerCase()] || (jQuery.expr.match.bool.test(name) ? boolHook : void 0);
+ }
+ if (value !== void 0) {
+ if (value === null) {
+ jQuery.removeAttr(elem, name);
+ return;
+ }
+ if (hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== void 0) {
+ return ret;
+ }
+ elem.setAttribute(name, value + "");
+ return value;
+ }
+ if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
+ return ret;
+ }
+ ret = jQuery.find.attr(elem, name);
+ return ret == null ? void 0 : ret;
+ },
+ attrHooks: {
+ type: {
+ set: function(elem, value) {
+ if (!support.radioValue && value === "radio" && nodeName(elem, "input")) {
+ var val = elem.value;
+ elem.setAttribute("type", value);
+ if (val) {
+ elem.value = val;
+ }
+ return value;
+ }
+ }
+ }
+ },
+ removeAttr: function(elem, value) {
+ var name, i = 0, attrNames = value && value.match(rnothtmlwhite);
+ if (attrNames && elem.nodeType === 1) {
+ while (name = attrNames[i++]) {
+ elem.removeAttribute(name);
+ }
+ }
+ }
+ });
+ boolHook = {
+ set: function(elem, value, name) {
+ if (value === false) {
+ jQuery.removeAttr(elem, name);
+ } else {
+ elem.setAttribute(name, name);
+ }
+ return name;
+ }
+ };
+ jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function(_i, name) {
+ var getter = attrHandle[name] || jQuery.find.attr;
+ attrHandle[name] = function(elem, name2, isXML) {
+ var ret, handle, lowercaseName = name2.toLowerCase();
+ if (!isXML) {
+ handle = attrHandle[lowercaseName];
+ attrHandle[lowercaseName] = ret;
+ ret = getter(elem, name2, isXML) != null ? lowercaseName : null;
+ attrHandle[lowercaseName] = handle;
+ }
+ return ret;
+ };
+ });
+ var rfocusable = /^(?:input|select|textarea|button)$/i, rclickable = /^(?:a|area)$/i;
+ jQuery.fn.extend({
+ prop: function(name, value) {
+ return access(this, jQuery.prop, name, value, arguments.length > 1);
+ },
+ removeProp: function(name) {
+ return this.each(function() {
+ delete this[jQuery.propFix[name] || name];
+ });
+ }
+ });
+ jQuery.extend({
+ prop: function(elem, name, value) {
+ var ret, hooks, nType = elem.nodeType;
+ if (nType === 3 || nType === 8 || nType === 2) {
+ return;
+ }
+ if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
+ name = jQuery.propFix[name] || name;
+ hooks = jQuery.propHooks[name];
+ }
+ if (value !== void 0) {
+ if (hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== void 0) {
+ return ret;
+ }
+ return elem[name] = value;
+ }
+ if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
+ return ret;
+ }
+ return elem[name];
+ },
+ propHooks: {
+ tabIndex: {
+ get: function(elem) {
+ var tabindex = jQuery.find.attr(elem, "tabindex");
+ if (tabindex) {
+ return parseInt(tabindex, 10);
+ }
+ if (rfocusable.test(elem.nodeName) || rclickable.test(elem.nodeName) && elem.href) {
+ return 0;
+ }
+ return -1;
+ }
+ }
+ },
+ propFix: {
+ "for": "htmlFor",
+ "class": "className"
+ }
+ });
+ if (!support.optSelected) {
+ jQuery.propHooks.selected = {
+ get: function(elem) {
+ var parent = elem.parentNode;
+ if (parent && parent.parentNode) {
+ parent.parentNode.selectedIndex;
+ }
+ return null;
+ },
+ set: function(elem) {
+ var parent = elem.parentNode;
+ if (parent) {
+ parent.selectedIndex;
+ if (parent.parentNode) {
+ parent.parentNode.selectedIndex;
+ }
+ }
+ }
+ };
+ }
+ jQuery.each([
+ "tabIndex",
+ "readOnly",
+ "maxLength",
+ "cellSpacing",
+ "cellPadding",
+ "rowSpan",
+ "colSpan",
+ "useMap",
+ "frameBorder",
+ "contentEditable"
+ ], function() {
+ jQuery.propFix[this.toLowerCase()] = this;
+ });
+ function stripAndCollapse(value) {
+ var tokens = value.match(rnothtmlwhite) || [];
+ return tokens.join(" ");
+ }
+ function getClass(elem) {
+ return elem.getAttribute && elem.getAttribute("class") || "";
+ }
+ function classesToArray(value) {
+ if (Array.isArray(value)) {
+ return value;
+ }
+ if (typeof value === "string") {
+ return value.match(rnothtmlwhite) || [];
+ }
+ return [];
+ }
+ jQuery.fn.extend({
+ addClass: function(value) {
+ var classes, elem, cur, curValue, clazz, j, finalValue, i = 0;
+ if (isFunction(value)) {
+ return this.each(function(j2) {
+ jQuery(this).addClass(value.call(this, j2, getClass(this)));
+ });
+ }
+ classes = classesToArray(value);
+ if (classes.length) {
+ while (elem = this[i++]) {
+ curValue = getClass(elem);
+ cur = elem.nodeType === 1 && " " + stripAndCollapse(curValue) + " ";
+ if (cur) {
+ j = 0;
+ while (clazz = classes[j++]) {
+ if (cur.indexOf(" " + clazz + " ") < 0) {
+ cur += clazz + " ";
+ }
+ }
+ finalValue = stripAndCollapse(cur);
+ if (curValue !== finalValue) {
+ elem.setAttribute("class", finalValue);
+ }
+ }
+ }
+ }
+ return this;
+ },
+ removeClass: function(value) {
+ var classes, elem, cur, curValue, clazz, j, finalValue, i = 0;
+ if (isFunction(value)) {
+ return this.each(function(j2) {
+ jQuery(this).removeClass(value.call(this, j2, getClass(this)));
+ });
+ }
+ if (!arguments.length) {
+ return this.attr("class", "");
+ }
+ classes = classesToArray(value);
+ if (classes.length) {
+ while (elem = this[i++]) {
+ curValue = getClass(elem);
+ cur = elem.nodeType === 1 && " " + stripAndCollapse(curValue) + " ";
+ if (cur) {
+ j = 0;
+ while (clazz = classes[j++]) {
+ while (cur.indexOf(" " + clazz + " ") > -1) {
+ cur = cur.replace(" " + clazz + " ", " ");
+ }
+ }
+ finalValue = stripAndCollapse(cur);
+ if (curValue !== finalValue) {
+ elem.setAttribute("class", finalValue);
+ }
+ }
+ }
+ }
+ return this;
+ },
+ toggleClass: function(value, stateVal) {
+ var type = typeof value, isValidValue = type === "string" || Array.isArray(value);
+ if (typeof stateVal === "boolean" && isValidValue) {
+ return stateVal ? this.addClass(value) : this.removeClass(value);
+ }
+ if (isFunction(value)) {
+ return this.each(function(i) {
+ jQuery(this).toggleClass(value.call(this, i, getClass(this), stateVal), stateVal);
+ });
+ }
+ return this.each(function() {
+ var className, i, self2, classNames;
+ if (isValidValue) {
+ i = 0;
+ self2 = jQuery(this);
+ classNames = classesToArray(value);
+ while (className = classNames[i++]) {
+ if (self2.hasClass(className)) {
+ self2.removeClass(className);
+ } else {
+ self2.addClass(className);
+ }
+ }
+ } else if (value === void 0 || type === "boolean") {
+ className = getClass(this);
+ if (className) {
+ dataPriv.set(this, "__className__", className);
+ }
+ if (this.setAttribute) {
+ this.setAttribute("class", className || value === false ? "" : dataPriv.get(this, "__className__") || "");
+ }
+ }
+ });
+ },
+ hasClass: function(selector) {
+ var className, elem, i = 0;
+ className = " " + selector + " ";
+ while (elem = this[i++]) {
+ if (elem.nodeType === 1 && (" " + stripAndCollapse(getClass(elem)) + " ").indexOf(className) > -1) {
+ return true;
+ }
+ }
+ return false;
+ }
+ });
+ var rreturn = /\r/g;
+ jQuery.fn.extend({
+ val: function(value) {
+ var hooks, ret, valueIsFunction, elem = this[0];
+ if (!arguments.length) {
+ if (elem) {
+ hooks = jQuery.valHooks[elem.type] || jQuery.valHooks[elem.nodeName.toLowerCase()];
+ if (hooks && "get" in hooks && (ret = hooks.get(elem, "value")) !== void 0) {
+ return ret;
+ }
+ ret = elem.value;
+ if (typeof ret === "string") {
+ return ret.replace(rreturn, "");
+ }
+ return ret == null ? "" : ret;
+ }
+ return;
+ }
+ valueIsFunction = isFunction(value);
+ return this.each(function(i) {
+ var val;
+ if (this.nodeType !== 1) {
+ return;
+ }
+ if (valueIsFunction) {
+ val = value.call(this, i, jQuery(this).val());
+ } else {
+ val = value;
+ }
+ if (val == null) {
+ val = "";
+ } else if (typeof val === "number") {
+ val += "";
+ } else if (Array.isArray(val)) {
+ val = jQuery.map(val, function(value2) {
+ return value2 == null ? "" : value2 + "";
+ });
+ }
+ hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()];
+ if (!hooks || !("set" in hooks) || hooks.set(this, val, "value") === void 0) {
+ this.value = val;
+ }
+ });
+ }
+ });
+ jQuery.extend({
+ valHooks: {
+ option: {
+ get: function(elem) {
+ var val = jQuery.find.attr(elem, "value");
+ return val != null ? val : stripAndCollapse(jQuery.text(elem));
+ }
+ },
+ select: {
+ get: function(elem) {
+ var value, option, i, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one", values = one ? null : [], max2 = one ? index + 1 : options.length;
+ if (index < 0) {
+ i = max2;
+ } else {
+ i = one ? index : 0;
+ }
+ for (; i < max2; i++) {
+ option = options[i];
+ if ((option.selected || i === index) && !option.disabled && (!option.parentNode.disabled || !nodeName(option.parentNode, "optgroup"))) {
+ value = jQuery(option).val();
+ if (one) {
+ return value;
+ }
+ values.push(value);
+ }
+ }
+ return values;
+ },
+ set: function(elem, value) {
+ var optionSet, option, options = elem.options, values = jQuery.makeArray(value), i = options.length;
+ while (i--) {
+ option = options[i];
+ if (option.selected = jQuery.inArray(jQuery.valHooks.option.get(option), values) > -1) {
+ optionSet = true;
+ }
+ }
+ if (!optionSet) {
+ elem.selectedIndex = -1;
+ }
+ return values;
+ }
+ }
+ }
+ });
+ jQuery.each(["radio", "checkbox"], function() {
+ jQuery.valHooks[this] = {
+ set: function(elem, value) {
+ if (Array.isArray(value)) {
+ return elem.checked = jQuery.inArray(jQuery(elem).val(), value) > -1;
+ }
+ }
+ };
+ if (!support.checkOn) {
+ jQuery.valHooks[this].get = function(elem) {
+ return elem.getAttribute("value") === null ? "on" : elem.value;
+ };
+ }
+ });
+ support.focusin = "onfocusin" in window2;
+ var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, stopPropagationCallback = function(e) {
+ e.stopPropagation();
+ };
+ jQuery.extend(jQuery.event, {
+ trigger: function(event, data, elem, onlyHandlers) {
+ var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, eventPath = [elem || document2], type = hasOwn.call(event, "type") ? event.type : event, namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : [];
+ cur = lastElement = tmp = elem = elem || document2;
+ if (elem.nodeType === 3 || elem.nodeType === 8) {
+ return;
+ }
+ if (rfocusMorph.test(type + jQuery.event.triggered)) {
+ return;
+ }
+ if (type.indexOf(".") > -1) {
+ namespaces = type.split(".");
+ type = namespaces.shift();
+ namespaces.sort();
+ }
+ ontype = type.indexOf(":") < 0 && "on" + type;
+ event = event[jQuery.expando] ? event : new jQuery.Event(type, typeof event === "object" && event);
+ event.isTrigger = onlyHandlers ? 2 : 3;
+ event.namespace = namespaces.join(".");
+ event.rnamespace = event.namespace ? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null;
+ event.result = void 0;
+ if (!event.target) {
+ event.target = elem;
+ }
+ data = data == null ? [event] : jQuery.makeArray(data, [event]);
+ special = jQuery.event.special[type] || {};
+ if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) {
+ return;
+ }
+ if (!onlyHandlers && !special.noBubble && !isWindow(elem)) {
+ bubbleType = special.delegateType || type;
+ if (!rfocusMorph.test(bubbleType + type)) {
+ cur = cur.parentNode;
+ }
+ for (; cur; cur = cur.parentNode) {
+ eventPath.push(cur);
+ tmp = cur;
+ }
+ if (tmp === (elem.ownerDocument || document2)) {
+ eventPath.push(tmp.defaultView || tmp.parentWindow || window2);
+ }
+ }
+ i = 0;
+ while ((cur = eventPath[i++]) && !event.isPropagationStopped()) {
+ lastElement = cur;
+ event.type = i > 1 ? bubbleType : special.bindType || type;
+ handle = (dataPriv.get(cur, "events") || Object.create(null))[event.type] && dataPriv.get(cur, "handle");
+ if (handle) {
+ handle.apply(cur, data);
+ }
+ handle = ontype && cur[ontype];
+ if (handle && handle.apply && acceptData(cur)) {
+ event.result = handle.apply(cur, data);
+ if (event.result === false) {
+ event.preventDefault();
+ }
+ }
+ }
+ event.type = type;
+ if (!onlyHandlers && !event.isDefaultPrevented()) {
+ if ((!special._default || special._default.apply(eventPath.pop(), data) === false) && acceptData(elem)) {
+ if (ontype && isFunction(elem[type]) && !isWindow(elem)) {
+ tmp = elem[ontype];
+ if (tmp) {
+ elem[ontype] = null;
+ }
+ jQuery.event.triggered = type;
+ if (event.isPropagationStopped()) {
+ lastElement.addEventListener(type, stopPropagationCallback);
+ }
+ elem[type]();
+ if (event.isPropagationStopped()) {
+ lastElement.removeEventListener(type, stopPropagationCallback);
+ }
+ jQuery.event.triggered = void 0;
+ if (tmp) {
+ elem[ontype] = tmp;
+ }
+ }
+ }
+ }
+ return event.result;
+ },
+ simulate: function(type, elem, event) {
+ var e = jQuery.extend(new jQuery.Event(), event, {
+ type,
+ isSimulated: true
+ });
+ jQuery.event.trigger(e, null, elem);
+ }
+ });
+ jQuery.fn.extend({
+ trigger: function(type, data) {
+ return this.each(function() {
+ jQuery.event.trigger(type, data, this);
+ });
+ },
+ triggerHandler: function(type, data) {
+ var elem = this[0];
+ if (elem) {
+ return jQuery.event.trigger(type, data, elem, true);
+ }
+ }
+ });
+ if (!support.focusin) {
+ jQuery.each({ focus: "focusin", blur: "focusout" }, function(orig, fix) {
+ var handler = function(event) {
+ jQuery.event.simulate(fix, event.target, jQuery.event.fix(event));
+ };
+ jQuery.event.special[fix] = {
+ setup: function() {
+ var doc2 = this.ownerDocument || this.document || this, attaches = dataPriv.access(doc2, fix);
+ if (!attaches) {
+ doc2.addEventListener(orig, handler, true);
+ }
+ dataPriv.access(doc2, fix, (attaches || 0) + 1);
+ },
+ teardown: function() {
+ var doc2 = this.ownerDocument || this.document || this, attaches = dataPriv.access(doc2, fix) - 1;
+ if (!attaches) {
+ doc2.removeEventListener(orig, handler, true);
+ dataPriv.remove(doc2, fix);
+ } else {
+ dataPriv.access(doc2, fix, attaches);
+ }
+ }
+ };
+ });
+ }
+ var location2 = window2.location;
+ var nonce = { guid: Date.now() };
+ var rquery = /\?/;
+ jQuery.parseXML = function(data) {
+ var xml, parserErrorElem;
+ if (!data || typeof data !== "string") {
+ return null;
+ }
+ try {
+ xml = new window2.DOMParser().parseFromString(data, "text/xml");
+ } catch (e) {
+ }
+ parserErrorElem = xml && xml.getElementsByTagName("parsererror")[0];
+ if (!xml || parserErrorElem) {
+ jQuery.error("Invalid XML: " + (parserErrorElem ? jQuery.map(parserErrorElem.childNodes, function(el) {
+ return el.textContent;
+ }).join("\n") : data));
+ }
+ return xml;
+ };
+ var rbracket = /\[\]$/, rCRLF = /\r?\n/g, rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, rsubmittable = /^(?:input|select|textarea|keygen)/i;
+ function buildParams(prefix, obj, traditional, add) {
+ var name;
+ if (Array.isArray(obj)) {
+ jQuery.each(obj, function(i, v) {
+ if (traditional || rbracket.test(prefix)) {
+ add(prefix, v);
+ } else {
+ buildParams(prefix + "[" + (typeof v === "object" && v != null ? i : "") + "]", v, traditional, add);
+ }
+ });
+ } else if (!traditional && toType2(obj) === "object") {
+ for (name in obj) {
+ buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
+ }
+ } else {
+ add(prefix, obj);
+ }
+ }
+ jQuery.param = function(a, traditional) {
+ var prefix, s = [], add = function(key, valueOrFunction) {
+ var value = isFunction(valueOrFunction) ? valueOrFunction() : valueOrFunction;
+ s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value == null ? "" : value);
+ };
+ if (a == null) {
+ return "";
+ }
+ if (Array.isArray(a) || a.jquery && !jQuery.isPlainObject(a)) {
+ jQuery.each(a, function() {
+ add(this.name, this.value);
+ });
+ } else {
+ for (prefix in a) {
+ buildParams(prefix, a[prefix], traditional, add);
+ }
+ }
+ return s.join("&");
+ };
+ jQuery.fn.extend({
+ serialize: function() {
+ return jQuery.param(this.serializeArray());
+ },
+ serializeArray: function() {
+ return this.map(function() {
+ var elements = jQuery.prop(this, "elements");
+ return elements ? jQuery.makeArray(elements) : this;
+ }).filter(function() {
+ var type = this.type;
+ return this.name && !jQuery(this).is(":disabled") && rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) && (this.checked || !rcheckableType.test(type));
+ }).map(function(_i, elem) {
+ var val = jQuery(this).val();
+ if (val == null) {
+ return null;
+ }
+ if (Array.isArray(val)) {
+ return jQuery.map(val, function(val2) {
+ return { name: elem.name, value: val2.replace(rCRLF, "\r\n") };
+ });
+ }
+ return { name: elem.name, value: val.replace(rCRLF, "\r\n") };
+ }).get();
+ }
+ });
+ var r20 = /%20/g, rhash = /#.*$/, rantiCache = /([?&])_=[^&]*/, rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, rnoContent = /^(?:GET|HEAD)$/, rprotocol = /^\/\//, prefilters = {}, transports = {}, allTypes = "*/".concat("*"), originAnchor = document2.createElement("a");
+ originAnchor.href = location2.href;
+ function addToPrefiltersOrTransports(structure) {
+ return function(dataTypeExpression, func) {
+ if (typeof dataTypeExpression !== "string") {
+ func = dataTypeExpression;
+ dataTypeExpression = "*";
+ }
+ var dataType, i = 0, dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || [];
+ if (isFunction(func)) {
+ while (dataType = dataTypes[i++]) {
+ if (dataType[0] === "+") {
+ dataType = dataType.slice(1) || "*";
+ (structure[dataType] = structure[dataType] || []).unshift(func);
+ } else {
+ (structure[dataType] = structure[dataType] || []).push(func);
+ }
+ }
+ }
+ };
+ }
+ function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {
+ var inspected = {}, seekingTransport = structure === transports;
+ function inspect(dataType) {
+ var selected;
+ inspected[dataType] = true;
+ jQuery.each(structure[dataType] || [], function(_, prefilterOrFactory) {
+ var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);
+ if (typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[dataTypeOrTransport]) {
+ options.dataTypes.unshift(dataTypeOrTransport);
+ inspect(dataTypeOrTransport);
+ return false;
+ } else if (seekingTransport) {
+ return !(selected = dataTypeOrTransport);
+ }
+ });
+ return selected;
+ }
+ return inspect(options.dataTypes[0]) || !inspected["*"] && inspect("*");
+ }
+ function ajaxExtend(target, src) {
+ var key, deep, flatOptions = jQuery.ajaxSettings.flatOptions || {};
+ for (key in src) {
+ if (src[key] !== void 0) {
+ (flatOptions[key] ? target : deep || (deep = {}))[key] = src[key];
+ }
+ }
+ if (deep) {
+ jQuery.extend(true, target, deep);
+ }
+ return target;
+ }
+ function ajaxHandleResponses(s, jqXHR, responses) {
+ var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes;
+ while (dataTypes[0] === "*") {
+ dataTypes.shift();
+ if (ct === void 0) {
+ ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
+ }
+ }
+ if (ct) {
+ for (type in contents) {
+ if (contents[type] && contents[type].test(ct)) {
+ dataTypes.unshift(type);
+ break;
+ }
+ }
+ }
+ if (dataTypes[0] in responses) {
+ finalDataType = dataTypes[0];
+ } else {
+ for (type in responses) {
+ if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) {
+ finalDataType = type;
+ break;
+ }
+ if (!firstDataType) {
+ firstDataType = type;
+ }
+ }
+ finalDataType = finalDataType || firstDataType;
+ }
+ if (finalDataType) {
+ if (finalDataType !== dataTypes[0]) {
+ dataTypes.unshift(finalDataType);
+ }
+ return responses[finalDataType];
+ }
+ }
+ function ajaxConvert(s, response, jqXHR, isSuccess) {
+ var conv2, current, conv, tmp, prev, converters = {}, dataTypes = s.dataTypes.slice();
+ if (dataTypes[1]) {
+ for (conv in s.converters) {
+ converters[conv.toLowerCase()] = s.converters[conv];
+ }
+ }
+ current = dataTypes.shift();
+ while (current) {
+ if (s.responseFields[current]) {
+ jqXHR[s.responseFields[current]] = response;
+ }
+ if (!prev && isSuccess && s.dataFilter) {
+ response = s.dataFilter(response, s.dataType);
+ }
+ prev = current;
+ current = dataTypes.shift();
+ if (current) {
+ if (current === "*") {
+ current = prev;
+ } else if (prev !== "*" && prev !== current) {
+ conv = converters[prev + " " + current] || converters["* " + current];
+ if (!conv) {
+ for (conv2 in converters) {
+ tmp = conv2.split(" ");
+ if (tmp[1] === current) {
+ conv = converters[prev + " " + tmp[0]] || converters["* " + tmp[0]];
+ if (conv) {
+ if (conv === true) {
+ conv = converters[conv2];
+ } else if (converters[conv2] !== true) {
+ current = tmp[0];
+ dataTypes.unshift(tmp[1]);
+ }
+ break;
+ }
+ }
+ }
+ }
+ if (conv !== true) {
+ if (conv && s.throws) {
+ response = conv(response);
+ } else {
+ try {
+ response = conv(response);
+ } catch (e) {
+ return {
+ state: "parsererror",
+ error: conv ? e : "No conversion from " + prev + " to " + current
+ };
+ }
+ }
+ }
+ }
+ }
+ }
+ return { state: "success", data: response };
+ }
+ jQuery.extend({
+ active: 0,
+ lastModified: {},
+ etag: {},
+ ajaxSettings: {
+ url: location2.href,
+ type: "GET",
+ isLocal: rlocalProtocol.test(location2.protocol),
+ global: true,
+ processData: true,
+ async: true,
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+ accepts: {
+ "*": allTypes,
+ text: "text/plain",
+ html: "text/html",
+ xml: "application/xml, text/xml",
+ json: "application/json, text/javascript"
+ },
+ contents: {
+ xml: /\bxml\b/,
+ html: /\bhtml/,
+ json: /\bjson\b/
+ },
+ responseFields: {
+ xml: "responseXML",
+ text: "responseText",
+ json: "responseJSON"
+ },
+ converters: {
+ "* text": String,
+ "text html": true,
+ "text json": JSON.parse,
+ "text xml": jQuery.parseXML
+ },
+ flatOptions: {
+ url: true,
+ context: true
+ }
+ },
+ ajaxSetup: function(target, settings) {
+ return settings ? ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) : ajaxExtend(jQuery.ajaxSettings, target);
+ },
+ ajaxPrefilter: addToPrefiltersOrTransports(prefilters),
+ ajaxTransport: addToPrefiltersOrTransports(transports),
+ ajax: function(url, options) {
+ if (typeof url === "object") {
+ options = url;
+ url = void 0;
+ }
+ options = options || {};
+ var transport, cacheURL, responseHeadersString, responseHeaders, timeoutTimer, urlAnchor, completed2, fireGlobals, i, uncached, s = jQuery.ajaxSetup({}, options), callbackContext = s.context || s, globalEventContext = s.context && (callbackContext.nodeType || callbackContext.jquery) ? jQuery(callbackContext) : jQuery.event, deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks("once memory"), statusCode = s.statusCode || {}, requestHeaders = {}, requestHeadersNames = {}, strAbort = "canceled", jqXHR = {
+ readyState: 0,
+ getResponseHeader: function(key) {
+ var match;
+ if (completed2) {
+ if (!responseHeaders) {
+ responseHeaders = {};
+ while (match = rheaders.exec(responseHeadersString)) {
+ responseHeaders[match[1].toLowerCase() + " "] = (responseHeaders[match[1].toLowerCase() + " "] || []).concat(match[2]);
+ }
+ }
+ match = responseHeaders[key.toLowerCase() + " "];
+ }
+ return match == null ? null : match.join(", ");
+ },
+ getAllResponseHeaders: function() {
+ return completed2 ? responseHeadersString : null;
+ },
+ setRequestHeader: function(name, value) {
+ if (completed2 == null) {
+ name = requestHeadersNames[name.toLowerCase()] = requestHeadersNames[name.toLowerCase()] || name;
+ requestHeaders[name] = value;
+ }
+ return this;
+ },
+ overrideMimeType: function(type) {
+ if (completed2 == null) {
+ s.mimeType = type;
+ }
+ return this;
+ },
+ statusCode: function(map) {
+ var code;
+ if (map) {
+ if (completed2) {
+ jqXHR.always(map[jqXHR.status]);
+ } else {
+ for (code in map) {
+ statusCode[code] = [statusCode[code], map[code]];
+ }
+ }
+ }
+ return this;
+ },
+ abort: function(statusText) {
+ var finalText = statusText || strAbort;
+ if (transport) {
+ transport.abort(finalText);
+ }
+ done(0, finalText);
+ return this;
+ }
+ };
+ deferred.promise(jqXHR);
+ s.url = ((url || s.url || location2.href) + "").replace(rprotocol, location2.protocol + "//");
+ s.type = options.method || options.type || s.method || s.type;
+ s.dataTypes = (s.dataType || "*").toLowerCase().match(rnothtmlwhite) || [""];
+ if (s.crossDomain == null) {
+ urlAnchor = document2.createElement("a");
+ try {
+ urlAnchor.href = s.url;
+ urlAnchor.href = urlAnchor.href;
+ s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== urlAnchor.protocol + "//" + urlAnchor.host;
+ } catch (e) {
+ s.crossDomain = true;
+ }
+ }
+ if (s.data && s.processData && typeof s.data !== "string") {
+ s.data = jQuery.param(s.data, s.traditional);
+ }
+ inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);
+ if (completed2) {
+ return jqXHR;
+ }
+ fireGlobals = jQuery.event && s.global;
+ if (fireGlobals && jQuery.active++ === 0) {
+ jQuery.event.trigger("ajaxStart");
+ }
+ s.type = s.type.toUpperCase();
+ s.hasContent = !rnoContent.test(s.type);
+ cacheURL = s.url.replace(rhash, "");
+ if (!s.hasContent) {
+ uncached = s.url.slice(cacheURL.length);
+ if (s.data && (s.processData || typeof s.data === "string")) {
+ cacheURL += (rquery.test(cacheURL) ? "&" : "?") + s.data;
+ delete s.data;
+ }
+ if (s.cache === false) {
+ cacheURL = cacheURL.replace(rantiCache, "$1");
+ uncached = (rquery.test(cacheURL) ? "&" : "?") + "_=" + nonce.guid++ + uncached;
+ }
+ s.url = cacheURL + uncached;
+ } else if (s.data && s.processData && (s.contentType || "").indexOf("application/x-www-form-urlencoded") === 0) {
+ s.data = s.data.replace(r20, "+");
+ }
+ if (s.ifModified) {
+ if (jQuery.lastModified[cacheURL]) {
+ jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]);
+ }
+ if (jQuery.etag[cacheURL]) {
+ jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]);
+ }
+ }
+ if (s.data && s.hasContent && s.contentType !== false || options.contentType) {
+ jqXHR.setRequestHeader("Content-Type", s.contentType);
+ }
+ jqXHR.setRequestHeader("Accept", s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? s.accepts[s.dataTypes[0]] + (s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "") : s.accepts["*"]);
+ for (i in s.headers) {
+ jqXHR.setRequestHeader(i, s.headers[i]);
+ }
+ if (s.beforeSend && (s.beforeSend.call(callbackContext, jqXHR, s) === false || completed2)) {
+ return jqXHR.abort();
+ }
+ strAbort = "abort";
+ completeDeferred.add(s.complete);
+ jqXHR.done(s.success);
+ jqXHR.fail(s.error);
+ transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);
+ if (!transport) {
+ done(-1, "No Transport");
+ } else {
+ jqXHR.readyState = 1;
+ if (fireGlobals) {
+ globalEventContext.trigger("ajaxSend", [jqXHR, s]);
+ }
+ if (completed2) {
+ return jqXHR;
+ }
+ if (s.async && s.timeout > 0) {
+ timeoutTimer = window2.setTimeout(function() {
+ jqXHR.abort("timeout");
+ }, s.timeout);
+ }
+ try {
+ completed2 = false;
+ transport.send(requestHeaders, done);
+ } catch (e) {
+ if (completed2) {
+ throw e;
+ }
+ done(-1, e);
+ }
+ }
+ function done(status, nativeStatusText, responses, headers) {
+ var isSuccess, success, error, response, modified, statusText = nativeStatusText;
+ if (completed2) {
+ return;
+ }
+ completed2 = true;
+ if (timeoutTimer) {
+ window2.clearTimeout(timeoutTimer);
+ }
+ transport = void 0;
+ responseHeadersString = headers || "";
+ jqXHR.readyState = status > 0 ? 4 : 0;
+ isSuccess = status >= 200 && status < 300 || status === 304;
+ if (responses) {
+ response = ajaxHandleResponses(s, jqXHR, responses);
+ }
+ if (!isSuccess && jQuery.inArray("script", s.dataTypes) > -1 && jQuery.inArray("json", s.dataTypes) < 0) {
+ s.converters["text script"] = function() {
+ };
+ }
+ response = ajaxConvert(s, response, jqXHR, isSuccess);
+ if (isSuccess) {
+ if (s.ifModified) {
+ modified = jqXHR.getResponseHeader("Last-Modified");
+ if (modified) {
+ jQuery.lastModified[cacheURL] = modified;
+ }
+ modified = jqXHR.getResponseHeader("etag");
+ if (modified) {
+ jQuery.etag[cacheURL] = modified;
+ }
+ }
+ if (status === 204 || s.type === "HEAD") {
+ statusText = "nocontent";
+ } else if (status === 304) {
+ statusText = "notmodified";
+ } else {
+ statusText = response.state;
+ success = response.data;
+ error = response.error;
+ isSuccess = !error;
+ }
+ } else {
+ error = statusText;
+ if (status || !statusText) {
+ statusText = "error";
+ if (status < 0) {
+ status = 0;
+ }
+ }
+ }
+ jqXHR.status = status;
+ jqXHR.statusText = (nativeStatusText || statusText) + "";
+ if (isSuccess) {
+ deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);
+ } else {
+ deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);
+ }
+ jqXHR.statusCode(statusCode);
+ statusCode = void 0;
+ if (fireGlobals) {
+ globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError", [jqXHR, s, isSuccess ? success : error]);
+ }
+ completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);
+ if (fireGlobals) {
+ globalEventContext.trigger("ajaxComplete", [jqXHR, s]);
+ if (!--jQuery.active) {
+ jQuery.event.trigger("ajaxStop");
+ }
+ }
+ }
+ return jqXHR;
+ },
+ getJSON: function(url, data, callback) {
+ return jQuery.get(url, data, callback, "json");
+ },
+ getScript: function(url, callback) {
+ return jQuery.get(url, void 0, callback, "script");
+ }
+ });
+ jQuery.each(["get", "post"], function(_i, method) {
+ jQuery[method] = function(url, data, callback, type) {
+ if (isFunction(data)) {
+ type = type || callback;
+ callback = data;
+ data = void 0;
+ }
+ return jQuery.ajax(jQuery.extend({
+ url,
+ type: method,
+ dataType: type,
+ data,
+ success: callback
+ }, jQuery.isPlainObject(url) && url));
+ };
+ });
+ jQuery.ajaxPrefilter(function(s) {
+ var i;
+ for (i in s.headers) {
+ if (i.toLowerCase() === "content-type") {
+ s.contentType = s.headers[i] || "";
+ }
+ }
+ });
+ jQuery._evalUrl = function(url, options, doc2) {
+ return jQuery.ajax({
+ url,
+ type: "GET",
+ dataType: "script",
+ cache: true,
+ async: false,
+ global: false,
+ converters: {
+ "text script": function() {
+ }
+ },
+ dataFilter: function(response) {
+ jQuery.globalEval(response, options, doc2);
+ }
+ });
+ };
+ jQuery.fn.extend({
+ wrapAll: function(html) {
+ var wrap;
+ if (this[0]) {
+ if (isFunction(html)) {
+ html = html.call(this[0]);
+ }
+ wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true);
+ if (this[0].parentNode) {
+ wrap.insertBefore(this[0]);
+ }
+ wrap.map(function() {
+ var elem = this;
+ while (elem.firstElementChild) {
+ elem = elem.firstElementChild;
+ }
+ return elem;
+ }).append(this);
+ }
+ return this;
+ },
+ wrapInner: function(html) {
+ if (isFunction(html)) {
+ return this.each(function(i) {
+ jQuery(this).wrapInner(html.call(this, i));
+ });
+ }
+ return this.each(function() {
+ var self2 = jQuery(this), contents = self2.contents();
+ if (contents.length) {
+ contents.wrapAll(html);
+ } else {
+ self2.append(html);
+ }
+ });
+ },
+ wrap: function(html) {
+ var htmlIsFunction = isFunction(html);
+ return this.each(function(i) {
+ jQuery(this).wrapAll(htmlIsFunction ? html.call(this, i) : html);
+ });
+ },
+ unwrap: function(selector) {
+ this.parent(selector).not("body").each(function() {
+ jQuery(this).replaceWith(this.childNodes);
+ });
+ return this;
+ }
+ });
+ jQuery.expr.pseudos.hidden = function(elem) {
+ return !jQuery.expr.pseudos.visible(elem);
+ };
+ jQuery.expr.pseudos.visible = function(elem) {
+ return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
+ };
+ jQuery.ajaxSettings.xhr = function() {
+ try {
+ return new window2.XMLHttpRequest();
+ } catch (e) {
+ }
+ };
+ var xhrSuccessStatus = {
+ 0: 200,
+ 1223: 204
+ }, xhrSupported = jQuery.ajaxSettings.xhr();
+ support.cors = !!xhrSupported && "withCredentials" in xhrSupported;
+ support.ajax = xhrSupported = !!xhrSupported;
+ jQuery.ajaxTransport(function(options) {
+ var callback, errorCallback;
+ if (support.cors || xhrSupported && !options.crossDomain) {
+ return {
+ send: function(headers, complete) {
+ var i, xhr = options.xhr();
+ xhr.open(options.type, options.url, options.async, options.username, options.password);
+ if (options.xhrFields) {
+ for (i in options.xhrFields) {
+ xhr[i] = options.xhrFields[i];
+ }
+ }
+ if (options.mimeType && xhr.overrideMimeType) {
+ xhr.overrideMimeType(options.mimeType);
+ }
+ if (!options.crossDomain && !headers["X-Requested-With"]) {
+ headers["X-Requested-With"] = "XMLHttpRequest";
+ }
+ for (i in headers) {
+ xhr.setRequestHeader(i, headers[i]);
+ }
+ callback = function(type) {
+ return function() {
+ if (callback) {
+ callback = errorCallback = xhr.onload = xhr.onerror = xhr.onabort = xhr.ontimeout = xhr.onreadystatechange = null;
+ if (type === "abort") {
+ xhr.abort();
+ } else if (type === "error") {
+ if (typeof xhr.status !== "number") {
+ complete(0, "error");
+ } else {
+ complete(xhr.status, xhr.statusText);
+ }
+ } else {
+ complete(xhrSuccessStatus[xhr.status] || xhr.status, xhr.statusText, (xhr.responseType || "text") !== "text" || typeof xhr.responseText !== "string" ? { binary: xhr.response } : { text: xhr.responseText }, xhr.getAllResponseHeaders());
+ }
+ }
+ };
+ };
+ xhr.onload = callback();
+ errorCallback = xhr.onerror = xhr.ontimeout = callback("error");
+ if (xhr.onabort !== void 0) {
+ xhr.onabort = errorCallback;
+ } else {
+ xhr.onreadystatechange = function() {
+ if (xhr.readyState === 4) {
+ window2.setTimeout(function() {
+ if (callback) {
+ errorCallback();
+ }
+ });
+ }
+ };
+ }
+ callback = callback("abort");
+ try {
+ xhr.send(options.hasContent && options.data || null);
+ } catch (e) {
+ if (callback) {
+ throw e;
+ }
+ }
+ },
+ abort: function() {
+ if (callback) {
+ callback();
+ }
+ }
+ };
+ }
+ });
+ jQuery.ajaxPrefilter(function(s) {
+ if (s.crossDomain) {
+ s.contents.script = false;
+ }
+ });
+ jQuery.ajaxSetup({
+ accepts: {
+ script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
+ },
+ contents: {
+ script: /\b(?:java|ecma)script\b/
+ },
+ converters: {
+ "text script": function(text) {
+ jQuery.globalEval(text);
+ return text;
+ }
+ }
+ });
+ jQuery.ajaxPrefilter("script", function(s) {
+ if (s.cache === void 0) {
+ s.cache = false;
+ }
+ if (s.crossDomain) {
+ s.type = "GET";
+ }
+ });
+ jQuery.ajaxTransport("script", function(s) {
+ if (s.crossDomain || s.scriptAttrs) {
+ var script, callback;
+ return {
+ send: function(_, complete) {
+ script = jQuery("<script>").attr(s.scriptAttrs || {}).prop({ charset: s.scriptCharset, src: s.url }).on("load error", callback = function(evt) {
+ script.remove();
+ callback = null;
+ if (evt) {
+ complete(evt.type === "error" ? 404 : 200, evt.type);
+ }
+ });
+ document2.head.appendChild(script[0]);
+ },
+ abort: function() {
+ if (callback) {
+ callback();
+ }
+ }
+ };
+ }
+ });
+ var oldCallbacks = [], rjsonp = /(=)\?(?=&|$)|\?\?/;
+ jQuery.ajaxSetup({
+ jsonp: "callback",
+ jsonpCallback: function() {
+ var callback = oldCallbacks.pop() || jQuery.expando + "_" + nonce.guid++;
+ this[callback] = true;
+ return callback;
+ }
+ });
+ jQuery.ajaxPrefilter("json jsonp", function(s, originalSettings, jqXHR) {
+ var callbackName, overwritten, responseContainer, jsonProp = s.jsonp !== false && (rjsonp.test(s.url) ? "url" : typeof s.data === "string" && (s.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && rjsonp.test(s.data) && "data");
+ if (jsonProp || s.dataTypes[0] === "jsonp") {
+ callbackName = s.jsonpCallback = isFunction(s.jsonpCallback) ? s.jsonpCallback() : s.jsonpCallback;
+ if (jsonProp) {
+ s[jsonProp] = s[jsonProp].replace(rjsonp, "$1" + callbackName);
+ } else if (s.jsonp !== false) {
+ s.url += (rquery.test(s.url) ? "&" : "?") + s.jsonp + "=" + callbackName;
+ }
+ s.converters["script json"] = function() {
+ if (!responseContainer) {
+ jQuery.error(callbackName + " was not called");
+ }
+ return responseContainer[0];
+ };
+ s.dataTypes[0] = "json";
+ overwritten = window2[callbackName];
+ window2[callbackName] = function() {
+ responseContainer = arguments;
+ };
+ jqXHR.always(function() {
+ if (overwritten === void 0) {
+ jQuery(window2).removeProp(callbackName);
+ } else {
+ window2[callbackName] = overwritten;
+ }
+ if (s[callbackName]) {
+ s.jsonpCallback = originalSettings.jsonpCallback;
+ oldCallbacks.push(callbackName);
+ }
+ if (responseContainer && isFunction(overwritten)) {
+ overwritten(responseContainer[0]);
+ }
+ responseContainer = overwritten = void 0;
+ });
+ return "script";
+ }
+ });
+ support.createHTMLDocument = function() {
+ var body = document2.implementation.createHTMLDocument("").body;
+ body.innerHTML = "<form></form><form></form>";
+ return body.childNodes.length === 2;
+ }();
+ jQuery.parseHTML = function(data, context, keepScripts) {
+ if (typeof data !== "string") {
+ return [];
+ }
+ if (typeof context === "boolean") {
+ keepScripts = context;
+ context = false;
+ }
+ var base, parsed, scripts;
+ if (!context) {
+ if (support.createHTMLDocument) {
+ context = document2.implementation.createHTMLDocument("");
+ base = context.createElement("base");
+ base.href = document2.location.href;
+ context.head.appendChild(base);
+ } else {
+ context = document2;
+ }
+ }
+ parsed = rsingleTag.exec(data);
+ scripts = !keepScripts && [];
+ if (parsed) {
+ return [context.createElement(parsed[1])];
+ }
+ parsed = buildFragment([data], context, scripts);
+ if (scripts && scripts.length) {
+ jQuery(scripts).remove();
+ }
+ return jQuery.merge([], parsed.childNodes);
+ };
+ jQuery.fn.load = function(url, params, callback) {
+ var selector, type, response, self2 = this, off = url.indexOf(" ");
+ if (off > -1) {
+ selector = stripAndCollapse(url.slice(off));
+ url = url.slice(0, off);
+ }
+ if (isFunction(params)) {
+ callback = params;
+ params = void 0;
+ } else if (params && typeof params === "object") {
+ type = "POST";
+ }
+ if (self2.length > 0) {
+ jQuery.ajax({
+ url,
+ type: type || "GET",
+ dataType: "html",
+ data: params
+ }).done(function(responseText) {
+ response = arguments;
+ self2.html(selector ? jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector) : responseText);
+ }).always(callback && function(jqXHR, status) {
+ self2.each(function() {
+ callback.apply(this, response || [jqXHR.responseText, status, jqXHR]);
+ });
+ });
+ }
+ return this;
+ };
+ jQuery.expr.pseudos.animated = function(elem) {
+ return jQuery.grep(jQuery.timers, function(fn2) {
+ return elem === fn2.elem;
+ }).length;
+ };
+ jQuery.offset = {
+ setOffset: function(elem, options, i) {
+ var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, position = jQuery.css(elem, "position"), curElem = jQuery(elem), props = {};
+ if (position === "static") {
+ elem.style.position = "relative";
+ }
+ curOffset = curElem.offset();
+ curCSSTop = jQuery.css(elem, "top");
+ curCSSLeft = jQuery.css(elem, "left");
+ calculatePosition = (position === "absolute" || position === "fixed") && (curCSSTop + curCSSLeft).indexOf("auto") > -1;
+ if (calculatePosition) {
+ curPosition = curElem.position();
+ curTop = curPosition.top;
+ curLeft = curPosition.left;
+ } else {
+ curTop = parseFloat(curCSSTop) || 0;
+ curLeft = parseFloat(curCSSLeft) || 0;
+ }
+ if (isFunction(options)) {
+ options = options.call(elem, i, jQuery.extend({}, curOffset));
+ }
+ if (options.top != null) {
+ props.top = options.top - curOffset.top + curTop;
+ }
+ if (options.left != null) {
+ props.left = options.left - curOffset.left + curLeft;
+ }
+ if ("using" in options) {
+ options.using.call(elem, props);
+ } else {
+ curElem.css(props);
+ }
+ }
+ };
+ jQuery.fn.extend({
+ offset: function(options) {
+ if (arguments.length) {
+ return options === void 0 ? this : this.each(function(i) {
+ jQuery.offset.setOffset(this, options, i);
+ });
+ }
+ var rect, win, elem = this[0];
+ if (!elem) {
+ return;
+ }
+ if (!elem.getClientRects().length) {
+ return { top: 0, left: 0 };
+ }
+ rect = elem.getBoundingClientRect();
+ win = elem.ownerDocument.defaultView;
+ return {
+ top: rect.top + win.pageYOffset,
+ left: rect.left + win.pageXOffset
+ };
+ },
+ position: function() {
+ if (!this[0]) {
+ return;
+ }
+ var offsetParent, offset2, doc2, elem = this[0], parentOffset = { top: 0, left: 0 };
+ if (jQuery.css(elem, "position") === "fixed") {
+ offset2 = elem.getBoundingClientRect();
+ } else {
+ offset2 = this.offset();
+ doc2 = elem.ownerDocument;
+ offsetParent = elem.offsetParent || doc2.documentElement;
+ while (offsetParent && (offsetParent === doc2.body || offsetParent === doc2.documentElement) && jQuery.css(offsetParent, "position") === "static") {
+ offsetParent = offsetParent.parentNode;
+ }
+ if (offsetParent && offsetParent !== elem && offsetParent.nodeType === 1) {
+ parentOffset = jQuery(offsetParent).offset();
+ parentOffset.top += jQuery.css(offsetParent, "borderTopWidth", true);
+ parentOffset.left += jQuery.css(offsetParent, "borderLeftWidth", true);
+ }
+ }
+ return {
+ top: offset2.top - parentOffset.top - jQuery.css(elem, "marginTop", true),
+ left: offset2.left - parentOffset.left - jQuery.css(elem, "marginLeft", true)
+ };
+ },
+ offsetParent: function() {
+ return this.map(function() {
+ var offsetParent = this.offsetParent;
+ while (offsetParent && jQuery.css(offsetParent, "position") === "static") {
+ offsetParent = offsetParent.offsetParent;
+ }
+ return offsetParent || documentElement;
+ });
+ }
+ });
+ jQuery.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(method, prop) {
+ var top2 = prop === "pageYOffset";
+ jQuery.fn[method] = function(val) {
+ return access(this, function(elem, method2, val2) {
+ var win;
+ if (isWindow(elem)) {
+ win = elem;
+ } else if (elem.nodeType === 9) {
+ win = elem.defaultView;
+ }
+ if (val2 === void 0) {
+ return win ? win[prop] : elem[method2];
+ }
+ if (win) {
+ win.scrollTo(!top2 ? val2 : win.pageXOffset, top2 ? val2 : win.pageYOffset);
+ } else {
+ elem[method2] = val2;
+ }
+ }, method, val, arguments.length);
+ };
+ });
+ jQuery.each(["top", "left"], function(_i, prop) {
+ jQuery.cssHooks[prop] = addGetHookIf(support.pixelPosition, function(elem, computed) {
+ if (computed) {
+ computed = curCSS(elem, prop);
+ return rnumnonpx.test(computed) ? jQuery(elem).position()[prop] + "px" : computed;
+ }
+ });
+ });
+ jQuery.each({ Height: "height", Width: "width" }, function(name, type) {
+ jQuery.each({
+ padding: "inner" + name,
+ content: type,
+ "": "outer" + name
+ }, function(defaultExtra, funcName) {
+ jQuery.fn[funcName] = function(margin, value) {
+ var chainable = arguments.length && (defaultExtra || typeof margin !== "boolean"), extra = defaultExtra || (margin === true || value === true ? "margin" : "border");
+ return access(this, function(elem, type2, value2) {
+ var doc2;
+ if (isWindow(elem)) {
+ return funcName.indexOf("outer") === 0 ? elem["inner" + name] : elem.document.documentElement["client" + name];
+ }
+ if (elem.nodeType === 9) {
+ doc2 = elem.documentElement;
+ return Math.max(elem.body["scroll" + name], doc2["scroll" + name], elem.body["offset" + name], doc2["offset" + name], doc2["client" + name]);
+ }
+ return value2 === void 0 ? jQuery.css(elem, type2, extra) : jQuery.style(elem, type2, value2, extra);
+ }, type, chainable ? margin : void 0, chainable);
+ };
+ });
+ });
+ jQuery.each([
+ "ajaxStart",
+ "ajaxStop",
+ "ajaxComplete",
+ "ajaxError",
+ "ajaxSuccess",
+ "ajaxSend"
+ ], function(_i, type) {
+ jQuery.fn[type] = function(fn2) {
+ return this.on(type, fn2);
+ };
+ });
+ jQuery.fn.extend({
+ bind: function(types, data, fn2) {
+ return this.on(types, null, data, fn2);
+ },
+ unbind: function(types, fn2) {
+ return this.off(types, null, fn2);
+ },
+ delegate: function(selector, types, data, fn2) {
+ return this.on(types, selector, data, fn2);
+ },
+ undelegate: function(selector, types, fn2) {
+ return arguments.length === 1 ? this.off(selector, "**") : this.off(types, selector || "**", fn2);
+ },
+ hover: function(fnOver, fnOut) {
+ return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
+ }
+ });
+ jQuery.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(_i, name) {
+ jQuery.fn[name] = function(data, fn2) {
+ return arguments.length > 0 ? this.on(name, null, data, fn2) : this.trigger(name);
+ };
+ });
+ var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
+ jQuery.proxy = function(fn2, context) {
+ var tmp, args, proxy;
+ if (typeof context === "string") {
+ tmp = fn2[context];
+ context = fn2;
+ fn2 = tmp;
+ }
+ if (!isFunction(fn2)) {
+ return void 0;
+ }
+ args = slice.call(arguments, 2);
+ proxy = function() {
+ return fn2.apply(context || this, args.concat(slice.call(arguments)));
+ };
+ proxy.guid = fn2.guid = fn2.guid || jQuery.guid++;
+ return proxy;
+ };
+ jQuery.holdReady = function(hold) {
+ if (hold) {
+ jQuery.readyWait++;
+ } else {
+ jQuery.ready(true);
+ }
+ };
+ jQuery.isArray = Array.isArray;
+ jQuery.parseJSON = JSON.parse;
+ jQuery.nodeName = nodeName;
+ jQuery.isFunction = isFunction;
+ jQuery.isWindow = isWindow;
+ jQuery.camelCase = camelCase;
+ jQuery.type = toType2;
+ jQuery.now = Date.now;
+ jQuery.isNumeric = function(obj) {
+ var type = jQuery.type(obj);
+ return (type === "number" || type === "string") && !isNaN(obj - parseFloat(obj));
+ };
+ jQuery.trim = function(text) {
+ return text == null ? "" : (text + "").replace(rtrim, "");
+ };
+ if (typeof define === "function" && define.amd) {
+ define("jquery", [], function() {
+ return jQuery;
+ });
+ }
+ var _jQuery = window2.jQuery, _$ = window2.$;
+ jQuery.noConflict = function(deep) {
+ if (window2.$ === jQuery) {
+ window2.$ = _$;
+ }
+ if (deep && window2.jQuery === jQuery) {
+ window2.jQuery = _jQuery;
+ }
+ return jQuery;
+ };
+ if (typeof noGlobal === "undefined") {
+ window2.jQuery = window2.$ = jQuery;
+ }
+ return jQuery;
+ });
+ }
+ });
+
+ // vendor/topbar.js
+ var require_topbar = __commonJS({
+ "vendor/topbar.js"(exports, module) {
+ (function(window2, document2) {
+ "use strict";
+ (function() {
+ var lastTime = 0;
+ var vendors = ["ms", "moz", "webkit", "o"];
+ for (var x = 0; x < vendors.length && !window2.requestAnimationFrame; ++x) {
+ window2.requestAnimationFrame = window2[vendors[x] + "RequestAnimationFrame"];
+ window2.cancelAnimationFrame = window2[vendors[x] + "CancelAnimationFrame"] || window2[vendors[x] + "CancelRequestAnimationFrame"];
+ }
+ if (!window2.requestAnimationFrame)
+ window2.requestAnimationFrame = function(callback, element) {
+ var currTime = new Date().getTime();
+ var timeToCall = Math.max(0, 16 - (currTime - lastTime));
+ var id = window2.setTimeout(function() {
+ callback(currTime + timeToCall);
+ }, timeToCall);
+ lastTime = currTime + timeToCall;
+ return id;
+ };
+ if (!window2.cancelAnimationFrame)
+ window2.cancelAnimationFrame = function(id) {
+ clearTimeout(id);
+ };
+ })();
+ var canvas, progressTimerId, fadeTimerId, currentProgress, showing, addEvent = function(elem, type, handler) {
+ if (elem.addEventListener)
+ elem.addEventListener(type, handler, false);
+ else if (elem.attachEvent)
+ elem.attachEvent("on" + type, handler);
+ else
+ elem["on" + type] = handler;
+ }, options = {
+ autoRun: true,
+ barThickness: 3,
+ barColors: {
+ 0: "rgba(26, 188, 156, .9)",
+ ".25": "rgba(52, 152, 219, .9)",
+ ".50": "rgba(241, 196, 15, .9)",
+ ".75": "rgba(230, 126, 34, .9)",
+ "1.0": "rgba(211, 84, 0, .9)"
+ },
+ shadowBlur: 10,
+ shadowColor: "rgba(0, 0, 0, .6)",
+ className: null
+ }, repaint = function() {
+ canvas.width = window2.innerWidth;
+ canvas.height = options.barThickness * 5;
+ var ctx = canvas.getContext("2d");
+ ctx.shadowBlur = options.shadowBlur;
+ ctx.shadowColor = options.shadowColor;
+ var lineGradient = ctx.createLinearGradient(0, 0, canvas.width, 0);
+ for (var stop in options.barColors)
+ lineGradient.addColorStop(stop, options.barColors[stop]);
+ ctx.lineWidth = options.barThickness;
+ ctx.beginPath();
+ ctx.moveTo(0, options.barThickness / 2);
+ ctx.lineTo(Math.ceil(currentProgress * canvas.width), options.barThickness / 2);
+ ctx.strokeStyle = lineGradient;
+ ctx.stroke();
+ }, createCanvas = function() {
+ canvas = document2.createElement("canvas");
+ var style = canvas.style;
+ style.position = "fixed";
+ style.top = style.left = style.right = style.margin = style.padding = 0;
+ style.zIndex = 100001;
+ style.display = "none";
+ if (options.className)
+ canvas.classList.add(options.className);
+ document2.body.appendChild(canvas);
+ addEvent(window2, "resize", repaint);
+ }, topbar2 = {
+ config: function(opts) {
+ for (var key in opts)
+ if (options.hasOwnProperty(key))
+ options[key] = opts[key];
+ },
+ show: function() {
+ if (showing)
+ return;
+ showing = true;
+ if (fadeTimerId !== null)
+ window2.cancelAnimationFrame(fadeTimerId);
+ if (!canvas)
+ createCanvas();
+ canvas.style.opacity = 1;
+ canvas.style.display = "block";
+ topbar2.progress(0);
+ if (options.autoRun) {
+ (function loop() {
+ progressTimerId = window2.requestAnimationFrame(loop);
+ topbar2.progress("+" + 0.05 * Math.pow(1 - Math.sqrt(currentProgress), 2));
+ })();
+ }
+ },
+ progress: function(to) {
+ if (typeof to === "undefined")
+ return currentProgress;
+ if (typeof to === "string") {
+ to = (to.indexOf("+") >= 0 || to.indexOf("-") >= 0 ? currentProgress : 0) + parseFloat(to);
+ }
+ currentProgress = to > 1 ? 1 : to;
+ repaint();
+ return currentProgress;
+ },
+ hide: function() {
+ if (!showing)
+ return;
+ showing = false;
+ if (progressTimerId != null) {
+ window2.cancelAnimationFrame(progressTimerId);
+ progressTimerId = null;
+ }
+ (function loop() {
+ if (topbar2.progress("+.1") >= 1) {
+ canvas.style.opacity -= 0.05;
+ if (canvas.style.opacity <= 0.05) {
+ canvas.style.display = "none";
+ fadeTimerId = null;
+ return;
+ }
+ }
+ fadeTimerId = window2.requestAnimationFrame(loop);
+ })();
+ }
+ };
+ if (typeof module === "object" && typeof module.exports === "object") {
+ module.exports = topbar2;
+ } else if (typeof define === "function" && define.amd) {
+ define(function() {
+ return topbar2;
+ });
+ } else {
+ this.topbar = topbar2;
+ }
+ }).call(exports, window, document);
+ }
+ });
+
+ // js/app.js
+ var import_jquery2 = __toModule(require_jquery());
+
+ // node_modules/@popperjs/core/lib/index.js
+ var lib_exports = {};
+ __export(lib_exports, {
+ afterMain: () => afterMain,
+ afterRead: () => afterRead,
+ afterWrite: () => afterWrite,
+ applyStyles: () => applyStyles_default,
+ arrow: () => arrow_default,
+ auto: () => auto,
+ basePlacements: () => basePlacements,
+ beforeMain: () => beforeMain,
+ beforeRead: () => beforeRead,
+ beforeWrite: () => beforeWrite,
+ bottom: () => bottom,
+ clippingParents: () => clippingParents,
+ computeStyles: () => computeStyles_default,
+ createPopper: () => createPopper3,
+ createPopperBase: () => createPopper,
+ createPopperLite: () => createPopper2,
+ detectOverflow: () => detectOverflow,
+ end: () => end,
+ eventListeners: () => eventListeners_default,
+ flip: () => flip_default,
+ hide: () => hide_default,
+ left: () => left,
+ main: () => main,
+ modifierPhases: () => modifierPhases,
+ offset: () => offset_default,
+ placements: () => placements,
+ popper: () => popper,
+ popperGenerator: () => popperGenerator,
+ popperOffsets: () => popperOffsets_default,
+ preventOverflow: () => preventOverflow_default,
+ read: () => read,
+ reference: () => reference,
+ right: () => right,
+ start: () => start,
+ top: () => top,
+ variationPlacements: () => variationPlacements,
+ viewport: () => viewport,
+ write: () => write
+ });
+
+ // node_modules/@popperjs/core/lib/enums.js
+ var top = "top";
+ var bottom = "bottom";
+ var right = "right";
+ var left = "left";
+ var auto = "auto";
+ var basePlacements = [top, bottom, right, left];
+ var start = "start";
+ var end = "end";
+ var clippingParents = "clippingParents";
+ var viewport = "viewport";
+ var popper = "popper";
+ var reference = "reference";
+ var variationPlacements = /* @__PURE__ */ basePlacements.reduce(function(acc, placement) {
+ return acc.concat([placement + "-" + start, placement + "-" + end]);
+ }, []);
+ var placements = /* @__PURE__ */ [].concat(basePlacements, [auto]).reduce(function(acc, placement) {
+ return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
+ }, []);
+ var beforeRead = "beforeRead";
+ var read = "read";
+ var afterRead = "afterRead";
+ var beforeMain = "beforeMain";
+ var main = "main";
+ var afterMain = "afterMain";
+ var beforeWrite = "beforeWrite";
+ var write = "write";
+ var afterWrite = "afterWrite";
+ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
+
+ // node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
+ function getNodeName(element) {
+ return element ? (element.nodeName || "").toLowerCase() : null;
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getWindow.js
+ function getWindow(node) {
+ if (node == null) {
+ return window;
+ }
+ if (node.toString() !== "[object Window]") {
+ var ownerDocument = node.ownerDocument;
+ return ownerDocument ? ownerDocument.defaultView || window : window;
+ }
+ return node;
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
+ function isElement(node) {
+ var OwnElement = getWindow(node).Element;
+ return node instanceof OwnElement || node instanceof Element;
+ }
+ function isHTMLElement(node) {
+ var OwnElement = getWindow(node).HTMLElement;
+ return node instanceof OwnElement || node instanceof HTMLElement;
+ }
+ function isShadowRoot(node) {
+ if (typeof ShadowRoot === "undefined") {
+ return false;
+ }
+ var OwnElement = getWindow(node).ShadowRoot;
+ return node instanceof OwnElement || node instanceof ShadowRoot;
+ }
+
+ // node_modules/@popperjs/core/lib/modifiers/applyStyles.js
+ function applyStyles(_ref) {
+ var state = _ref.state;
+ Object.keys(state.elements).forEach(function(name) {
+ var style = state.styles[name] || {};
+ var attributes = state.attributes[name] || {};
+ var element = state.elements[name];
+ if (!isHTMLElement(element) || !getNodeName(element)) {
+ return;
+ }
+ Object.assign(element.style, style);
+ Object.keys(attributes).forEach(function(name2) {
+ var value = attributes[name2];
+ if (value === false) {
+ element.removeAttribute(name2);
+ } else {
+ element.setAttribute(name2, value === true ? "" : value);
+ }
+ });
+ });
+ }
+ function effect(_ref2) {
+ var state = _ref2.state;
+ var initialStyles = {
+ popper: {
+ position: state.options.strategy,
+ left: "0",
+ top: "0",
+ margin: "0"
+ },
+ arrow: {
+ position: "absolute"
+ },
+ reference: {}
+ };
+ Object.assign(state.elements.popper.style, initialStyles.popper);
+ state.styles = initialStyles;
+ if (state.elements.arrow) {
+ Object.assign(state.elements.arrow.style, initialStyles.arrow);
+ }
+ return function() {
+ Object.keys(state.elements).forEach(function(name) {
+ var element = state.elements[name];
+ var attributes = state.attributes[name] || {};
+ var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]);
+ var style = styleProperties.reduce(function(style2, property) {
+ style2[property] = "";
+ return style2;
+ }, {});
+ if (!isHTMLElement(element) || !getNodeName(element)) {
+ return;
+ }
+ Object.assign(element.style, style);
+ Object.keys(attributes).forEach(function(attribute) {
+ element.removeAttribute(attribute);
+ });
+ });
+ };
+ }
+ var applyStyles_default = {
+ name: "applyStyles",
+ enabled: true,
+ phase: "write",
+ fn: applyStyles,
+ effect,
+ requires: ["computeStyles"]
+ };
+
+ // node_modules/@popperjs/core/lib/utils/getBasePlacement.js
+ function getBasePlacement(placement) {
+ return placement.split("-")[0];
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
+ function getBoundingClientRect(element, includeScale) {
+ if (includeScale === void 0) {
+ includeScale = false;
+ }
+ var rect = element.getBoundingClientRect();
+ var scaleX = 1;
+ var scaleY = 1;
+ return {
+ width: rect.width / scaleX,
+ height: rect.height / scaleY,
+ top: rect.top / scaleY,
+ right: rect.right / scaleX,
+ bottom: rect.bottom / scaleY,
+ left: rect.left / scaleX,
+ x: rect.left / scaleX,
+ y: rect.top / scaleY
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
+ function getLayoutRect(element) {
+ var clientRect = getBoundingClientRect(element);
+ var width = element.offsetWidth;
+ var height = element.offsetHeight;
+ if (Math.abs(clientRect.width - width) <= 1) {
+ width = clientRect.width;
+ }
+ if (Math.abs(clientRect.height - height) <= 1) {
+ height = clientRect.height;
+ }
+ return {
+ x: element.offsetLeft,
+ y: element.offsetTop,
+ width,
+ height
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/contains.js
+ function contains(parent, child) {
+ var rootNode = child.getRootNode && child.getRootNode();
+ if (parent.contains(child)) {
+ return true;
+ } else if (rootNode && isShadowRoot(rootNode)) {
+ var next = child;
+ do {
+ if (next && parent.isSameNode(next)) {
+ return true;
+ }
+ next = next.parentNode || next.host;
+ } while (next);
+ }
+ return false;
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js
+ function getComputedStyle2(element) {
+ return getWindow(element).getComputedStyle(element);
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
+ function isTableElement(element) {
+ return ["table", "td", "th"].indexOf(getNodeName(element)) >= 0;
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
+ function getDocumentElement(element) {
+ return ((isElement(element) ? element.ownerDocument : element.document) || window.document).documentElement;
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
+ function getParentNode(element) {
+ if (getNodeName(element) === "html") {
+ return element;
+ }
+ return element.assignedSlot || element.parentNode || (isShadowRoot(element) ? element.host : null) || getDocumentElement(element);
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
+ function getTrueOffsetParent(element) {
+ if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
+ return null;
+ }
+ return element.offsetParent;
+ }
+ function getContainingBlock(element) {
+ var isFirefox = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1;
+ var isIE = navigator.userAgent.indexOf("Trident") !== -1;
+ if (isIE && isHTMLElement(element)) {
+ var elementCss = getComputedStyle2(element);
+ if (elementCss.position === "fixed") {
+ return null;
+ }
+ }
+ var currentNode = getParentNode(element);
+ while (isHTMLElement(currentNode) && ["html", "body"].indexOf(getNodeName(currentNode)) < 0) {
+ var css = getComputedStyle2(currentNode);
+ if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") {
+ return currentNode;
+ } else {
+ currentNode = currentNode.parentNode;
+ }
+ }
+ return null;
+ }
+ function getOffsetParent(element) {
+ var window2 = getWindow(element);
+ var offsetParent = getTrueOffsetParent(element);
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle2(offsetParent).position === "static") {
+ offsetParent = getTrueOffsetParent(offsetParent);
+ }
+ if (offsetParent && (getNodeName(offsetParent) === "html" || getNodeName(offsetParent) === "body" && getComputedStyle2(offsetParent).position === "static")) {
+ return window2;
+ }
+ return offsetParent || getContainingBlock(element) || window2;
+ }
+
+ // node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
+ function getMainAxisFromPlacement(placement) {
+ return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
+ }
+
+ // node_modules/@popperjs/core/lib/utils/math.js
+ var max = Math.max;
+ var min = Math.min;
+ var round = Math.round;
+
+ // node_modules/@popperjs/core/lib/utils/within.js
+ function within(min2, value, max2) {
+ return max(min2, min(value, max2));
+ }
+
+ // node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
+ function getFreshSideObject() {
+ return {
+ top: 0,
+ right: 0,
+ bottom: 0,
+ left: 0
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
+ function mergePaddingObject(paddingObject) {
+ return Object.assign({}, getFreshSideObject(), paddingObject);
+ }
+
+ // node_modules/@popperjs/core/lib/utils/expandToHashMap.js
+ function expandToHashMap(value, keys) {
+ return keys.reduce(function(hashMap, key) {
+ hashMap[key] = value;
+ return hashMap;
+ }, {});
+ }
+
+ // node_modules/@popperjs/core/lib/modifiers/arrow.js
+ var toPaddingObject = function toPaddingObject2(padding, state) {
+ padding = typeof padding === "function" ? padding(Object.assign({}, state.rects, {
+ placement: state.placement
+ })) : padding;
+ return mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
+ };
+ function arrow(_ref) {
+ var _state$modifiersData$;
+ var state = _ref.state, name = _ref.name, options = _ref.options;
+ var arrowElement = state.elements.arrow;
+ var popperOffsets2 = state.modifiersData.popperOffsets;
+ var basePlacement = getBasePlacement(state.placement);
+ var axis = getMainAxisFromPlacement(basePlacement);
+ var isVertical = [left, right].indexOf(basePlacement) >= 0;
+ var len = isVertical ? "height" : "width";
+ if (!arrowElement || !popperOffsets2) {
+ return;
+ }
+ var paddingObject = toPaddingObject(options.padding, state);
+ var arrowRect = getLayoutRect(arrowElement);
+ var minProp = axis === "y" ? top : left;
+ var maxProp = axis === "y" ? bottom : right;
+ var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets2[axis] - state.rects.popper[len];
+ var startDiff = popperOffsets2[axis] - state.rects.reference[axis];
+ var arrowOffsetParent = getOffsetParent(arrowElement);
+ var clientSize = arrowOffsetParent ? axis === "y" ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
+ var centerToReference = endDiff / 2 - startDiff / 2;
+ var min2 = paddingObject[minProp];
+ var max2 = clientSize - arrowRect[len] - paddingObject[maxProp];
+ var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
+ var offset2 = within(min2, center, max2);
+ var axisProp = axis;
+ state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset2, _state$modifiersData$.centerOffset = offset2 - center, _state$modifiersData$);
+ }
+ function effect2(_ref2) {
+ var state = _ref2.state, options = _ref2.options;
+ var _options$element = options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
+ if (arrowElement == null) {
+ return;
+ }
+ if (typeof arrowElement === "string") {
+ arrowElement = state.elements.popper.querySelector(arrowElement);
+ if (!arrowElement) {
+ return;
+ }
+ }
+ if (true) {
+ if (!isHTMLElement(arrowElement)) {
+ console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', "To use an SVG arrow, wrap it in an HTMLElement that will be used as", "the arrow."].join(" "));
+ }
+ }
+ if (!contains(state.elements.popper, arrowElement)) {
+ if (true) {
+ console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', "element."].join(" "));
+ }
+ return;
+ }
+ state.elements.arrow = arrowElement;
+ }
+ var arrow_default = {
+ name: "arrow",
+ enabled: true,
+ phase: "main",
+ fn: arrow,
+ effect: effect2,
+ requires: ["popperOffsets"],
+ requiresIfExists: ["preventOverflow"]
+ };
+
+ // node_modules/@popperjs/core/lib/utils/getVariation.js
+ function getVariation(placement) {
+ return placement.split("-")[1];
+ }
+
+ // node_modules/@popperjs/core/lib/modifiers/computeStyles.js
+ var unsetSides = {
+ top: "auto",
+ right: "auto",
+ bottom: "auto",
+ left: "auto"
+ };
+ function roundOffsetsByDPR(_ref) {
+ var x = _ref.x, y = _ref.y;
+ var win = window;
+ var dpr = win.devicePixelRatio || 1;
+ return {
+ x: round(round(x * dpr) / dpr) || 0,
+ y: round(round(y * dpr) / dpr) || 0
+ };
+ }
+ function mapToStyles(_ref2) {
+ var _Object$assign2;
+ var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets;
+ var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === "function" ? roundOffsets(offsets) : offsets, _ref3$x = _ref3.x, x = _ref3$x === void 0 ? 0 : _ref3$x, _ref3$y = _ref3.y, y = _ref3$y === void 0 ? 0 : _ref3$y;
+ var hasX = offsets.hasOwnProperty("x");
+ var hasY = offsets.hasOwnProperty("y");
+ var sideX = left;
+ var sideY = top;
+ var win = window;
+ if (adaptive) {
+ var offsetParent = getOffsetParent(popper2);
+ var heightProp = "clientHeight";
+ var widthProp = "clientWidth";
+ if (offsetParent === getWindow(popper2)) {
+ offsetParent = getDocumentElement(popper2);
+ if (getComputedStyle2(offsetParent).position !== "static" && position === "absolute") {
+ heightProp = "scrollHeight";
+ widthProp = "scrollWidth";
+ }
+ }
+ offsetParent = offsetParent;
+ if (placement === top || (placement === left || placement === right) && variation === end) {
+ sideY = bottom;
+ y -= offsetParent[heightProp] - popperRect.height;
+ y *= gpuAcceleration ? 1 : -1;
+ }
+ if (placement === left || (placement === top || placement === bottom) && variation === end) {
+ sideX = right;
+ x -= offsetParent[widthProp] - popperRect.width;
+ x *= gpuAcceleration ? 1 : -1;
+ }
+ }
+ var commonStyles = Object.assign({
+ position
+ }, adaptive && unsetSides);
+ if (gpuAcceleration) {
+ var _Object$assign;
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
+ }
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
+ }
+ function computeStyles(_ref4) {
+ var state = _ref4.state, options = _ref4.options;
+ var _options$gpuAccelerat = options.gpuAcceleration, gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, _options$adaptive = options.adaptive, adaptive = _options$adaptive === void 0 ? true : _options$adaptive, _options$roundOffsets = options.roundOffsets, roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
+ if (true) {
+ var transitionProperty = getComputedStyle2(state.elements.popper).transitionProperty || "";
+ if (adaptive && ["transform", "top", "right", "bottom", "left"].some(function(property) {
+ return transitionProperty.indexOf(property) >= 0;
+ })) {
+ console.warn(["Popper: Detected CSS transitions on at least one of the following", 'CSS properties: "transform", "top", "right", "bottom", "left".', "\n\n", 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', "for smooth transitions, or remove these properties from the CSS", "transition declaration on the popper element if only transitioning", "opacity or background-color for example.", "\n\n", "We recommend using the popper element as a wrapper around an inner", "element that can have any CSS property transitioned for animations."].join(" "));
+ }
+ }
+ var commonStyles = {
+ placement: getBasePlacement(state.placement),
+ variation: getVariation(state.placement),
+ popper: state.elements.popper,
+ popperRect: state.rects.popper,
+ gpuAcceleration
+ };
+ if (state.modifiersData.popperOffsets != null) {
+ state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
+ offsets: state.modifiersData.popperOffsets,
+ position: state.options.strategy,
+ adaptive,
+ roundOffsets
+ })));
+ }
+ if (state.modifiersData.arrow != null) {
+ state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
+ offsets: state.modifiersData.arrow,
+ position: "absolute",
+ adaptive: false,
+ roundOffsets
+ })));
+ }
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
+ "data-popper-placement": state.placement
+ });
+ }
+ var computeStyles_default = {
+ name: "computeStyles",
+ enabled: true,
+ phase: "beforeWrite",
+ fn: computeStyles,
+ data: {}
+ };
+
+ // node_modules/@popperjs/core/lib/modifiers/eventListeners.js
+ var passive = {
+ passive: true
+ };
+ function effect3(_ref) {
+ var state = _ref.state, instance = _ref.instance, options = _ref.options;
+ var _options$scroll = options.scroll, scroll = _options$scroll === void 0 ? true : _options$scroll, _options$resize = options.resize, resize = _options$resize === void 0 ? true : _options$resize;
+ var window2 = getWindow(state.elements.popper);
+ var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
+ if (scroll) {
+ scrollParents.forEach(function(scrollParent) {
+ scrollParent.addEventListener("scroll", instance.update, passive);
+ });
+ }
+ if (resize) {
+ window2.addEventListener("resize", instance.update, passive);
+ }
+ return function() {
+ if (scroll) {
+ scrollParents.forEach(function(scrollParent) {
+ scrollParent.removeEventListener("scroll", instance.update, passive);
+ });
+ }
+ if (resize) {
+ window2.removeEventListener("resize", instance.update, passive);
+ }
+ };
+ }
+ var eventListeners_default = {
+ name: "eventListeners",
+ enabled: true,
+ phase: "write",
+ fn: function fn() {
+ },
+ effect: effect3,
+ data: {}
+ };
+
+ // node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
+ var hash = {
+ left: "right",
+ right: "left",
+ bottom: "top",
+ top: "bottom"
+ };
+ function getOppositePlacement(placement) {
+ return placement.replace(/left|right|bottom|top/g, function(matched) {
+ return hash[matched];
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
+ var hash2 = {
+ start: "end",
+ end: "start"
+ };
+ function getOppositeVariationPlacement(placement) {
+ return placement.replace(/start|end/g, function(matched) {
+ return hash2[matched];
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
+ function getWindowScroll(node) {
+ var win = getWindow(node);
+ var scrollLeft = win.pageXOffset;
+ var scrollTop = win.pageYOffset;
+ return {
+ scrollLeft,
+ scrollTop
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
+ function getWindowScrollBarX(element) {
+ return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
+ function getViewportRect(element) {
+ var win = getWindow(element);
+ var html = getDocumentElement(element);
+ var visualViewport = win.visualViewport;
+ var width = html.clientWidth;
+ var height = html.clientHeight;
+ var x = 0;
+ var y = 0;
+ if (visualViewport) {
+ width = visualViewport.width;
+ height = visualViewport.height;
+ if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
+ x = visualViewport.offsetLeft;
+ y = visualViewport.offsetTop;
+ }
+ }
+ return {
+ width,
+ height,
+ x: x + getWindowScrollBarX(element),
+ y
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
+ function getDocumentRect(element) {
+ var _element$ownerDocumen;
+ var html = getDocumentElement(element);
+ var winScroll = getWindowScroll(element);
+ var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
+ var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
+ var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
+ var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
+ var y = -winScroll.scrollTop;
+ if (getComputedStyle2(body || html).direction === "rtl") {
+ x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
+ }
+ return {
+ width,
+ height,
+ x,
+ y
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
+ function isScrollParent(element) {
+ var _getComputedStyle = getComputedStyle2(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
+ function getScrollParent(node) {
+ if (["html", "body", "#document"].indexOf(getNodeName(node)) >= 0) {
+ return node.ownerDocument.body;
+ }
+ if (isHTMLElement(node) && isScrollParent(node)) {
+ return node;
+ }
+ return getScrollParent(getParentNode(node));
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
+ function listScrollParents(element, list) {
+ var _element$ownerDocumen;
+ if (list === void 0) {
+ list = [];
+ }
+ var scrollParent = getScrollParent(element);
+ var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
+ var win = getWindow(scrollParent);
+ var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
+ var updatedList = list.concat(target);
+ return isBody ? updatedList : updatedList.concat(listScrollParents(getParentNode(target)));
+ }
+
+ // node_modules/@popperjs/core/lib/utils/rectToClientRect.js
+ function rectToClientRect(rect) {
+ return Object.assign({}, rect, {
+ left: rect.x,
+ top: rect.y,
+ right: rect.x + rect.width,
+ bottom: rect.y + rect.height
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
+ function getInnerBoundingClientRect(element) {
+ var rect = getBoundingClientRect(element);
+ rect.top = rect.top + element.clientTop;
+ rect.left = rect.left + element.clientLeft;
+ rect.bottom = rect.top + element.clientHeight;
+ rect.right = rect.left + element.clientWidth;
+ rect.width = element.clientWidth;
+ rect.height = element.clientHeight;
+ rect.x = rect.left;
+ rect.y = rect.top;
+ return rect;
+ }
+ function getClientRectFromMixedType(element, clippingParent) {
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
+ }
+ function getClippingParents(element) {
+ var clippingParents2 = listScrollParents(getParentNode(element));
+ var canEscapeClipping = ["absolute", "fixed"].indexOf(getComputedStyle2(element).position) >= 0;
+ var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
+ if (!isElement(clipperElement)) {
+ return [];
+ }
+ return clippingParents2.filter(function(clippingParent) {
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== "body";
+ });
+ }
+ function getClippingRect(element, boundary, rootBoundary) {
+ var mainClippingParents = boundary === "clippingParents" ? getClippingParents(element) : [].concat(boundary);
+ var clippingParents2 = [].concat(mainClippingParents, [rootBoundary]);
+ var firstClippingParent = clippingParents2[0];
+ var clippingRect = clippingParents2.reduce(function(accRect, clippingParent) {
+ var rect = getClientRectFromMixedType(element, clippingParent);
+ accRect.top = max(rect.top, accRect.top);
+ accRect.right = min(rect.right, accRect.right);
+ accRect.bottom = min(rect.bottom, accRect.bottom);
+ accRect.left = max(rect.left, accRect.left);
+ return accRect;
+ }, getClientRectFromMixedType(element, firstClippingParent));
+ clippingRect.width = clippingRect.right - clippingRect.left;
+ clippingRect.height = clippingRect.bottom - clippingRect.top;
+ clippingRect.x = clippingRect.left;
+ clippingRect.y = clippingRect.top;
+ return clippingRect;
+ }
+
+ // node_modules/@popperjs/core/lib/utils/computeOffsets.js
+ function computeOffsets(_ref) {
+ var reference2 = _ref.reference, element = _ref.element, placement = _ref.placement;
+ var basePlacement = placement ? getBasePlacement(placement) : null;
+ var variation = placement ? getVariation(placement) : null;
+ var commonX = reference2.x + reference2.width / 2 - element.width / 2;
+ var commonY = reference2.y + reference2.height / 2 - element.height / 2;
+ var offsets;
+ switch (basePlacement) {
+ case top:
+ offsets = {
+ x: commonX,
+ y: reference2.y - element.height
+ };
+ break;
+ case bottom:
+ offsets = {
+ x: commonX,
+ y: reference2.y + reference2.height
+ };
+ break;
+ case right:
+ offsets = {
+ x: reference2.x + reference2.width,
+ y: commonY
+ };
+ break;
+ case left:
+ offsets = {
+ x: reference2.x - element.width,
+ y: commonY
+ };
+ break;
+ default:
+ offsets = {
+ x: reference2.x,
+ y: reference2.y
+ };
+ }
+ var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
+ if (mainAxis != null) {
+ var len = mainAxis === "y" ? "height" : "width";
+ switch (variation) {
+ case start:
+ offsets[mainAxis] = offsets[mainAxis] - (reference2[len] / 2 - element[len] / 2);
+ break;
+ case end:
+ offsets[mainAxis] = offsets[mainAxis] + (reference2[len] / 2 - element[len] / 2);
+ break;
+ default:
+ }
+ }
+ return offsets;
+ }
+
+ // node_modules/@popperjs/core/lib/utils/detectOverflow.js
+ function detectOverflow(state, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
+ var paddingObject = mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
+ var altContext = elementContext === popper ? reference : popper;
+ var popperRect = state.rects.popper;
+ var element = state.elements[altBoundary ? altContext : elementContext];
+ var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
+ var referenceClientRect = getBoundingClientRect(state.elements.reference);
+ var popperOffsets2 = computeOffsets({
+ reference: referenceClientRect,
+ element: popperRect,
+ strategy: "absolute",
+ placement
+ });
+ var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets2));
+ var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect;
+ var overflowOffsets = {
+ top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
+ bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
+ left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
+ right: elementClientRect.right - clippingClientRect.right + paddingObject.right
+ };
+ var offsetData = state.modifiersData.offset;
+ if (elementContext === popper && offsetData) {
+ var offset2 = offsetData[placement];
+ Object.keys(overflowOffsets).forEach(function(key) {
+ var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
+ var axis = [top, bottom].indexOf(key) >= 0 ? "y" : "x";
+ overflowOffsets[key] += offset2[axis] * multiply;
+ });
+ }
+ return overflowOffsets;
+ }
+
+ // node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
+ function computeAutoPlacement(state, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var _options = options, placement = _options.placement, boundary = _options.boundary, rootBoundary = _options.rootBoundary, padding = _options.padding, flipVariations = _options.flipVariations, _options$allowedAutoP = _options.allowedAutoPlacements, allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
+ var variation = getVariation(placement);
+ var placements2 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function(placement2) {
+ return getVariation(placement2) === variation;
+ }) : basePlacements;
+ var allowedPlacements = placements2.filter(function(placement2) {
+ return allowedAutoPlacements.indexOf(placement2) >= 0;
+ });
+ if (allowedPlacements.length === 0) {
+ allowedPlacements = placements2;
+ if (true) {
+ console.error(["Popper: The `allowedAutoPlacements` option did not allow any", "placements. Ensure the `placement` option matches the variation", "of the allowed placements.", 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(" "));
+ }
+ }
+ var overflows = allowedPlacements.reduce(function(acc, placement2) {
+ acc[placement2] = detectOverflow(state, {
+ placement: placement2,
+ boundary,
+ rootBoundary,
+ padding
+ })[getBasePlacement(placement2)];
+ return acc;
+ }, {});
+ return Object.keys(overflows).sort(function(a, b) {
+ return overflows[a] - overflows[b];
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/modifiers/flip.js
+ function getExpandedFallbackPlacements(placement) {
+ if (getBasePlacement(placement) === auto) {
+ return [];
+ }
+ var oppositePlacement = getOppositePlacement(placement);
+ return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
+ }
+ function flip(_ref) {
+ var state = _ref.state, options = _ref.options, name = _ref.name;
+ if (state.modifiersData[name]._skip) {
+ return;
+ }
+ var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, specifiedFallbackPlacements = options.fallbackPlacements, padding = options.padding, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, _options$flipVariatio = options.flipVariations, flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, allowedAutoPlacements = options.allowedAutoPlacements;
+ var preferredPlacement = state.options.placement;
+ var basePlacement = getBasePlacement(preferredPlacement);
+ var isBasePlacement = basePlacement === preferredPlacement;
+ var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
+ var placements2 = [preferredPlacement].concat(fallbackPlacements).reduce(function(acc, placement2) {
+ return acc.concat(getBasePlacement(placement2) === auto ? computeAutoPlacement(state, {
+ placement: placement2,
+ boundary,
+ rootBoundary,
+ padding,
+ flipVariations,
+ allowedAutoPlacements
+ }) : placement2);
+ }, []);
+ var referenceRect = state.rects.reference;
+ var popperRect = state.rects.popper;
+ var checksMap = new Map();
+ var makeFallbackChecks = true;
+ var firstFittingPlacement = placements2[0];
+ for (var i = 0; i < placements2.length; i++) {
+ var placement = placements2[i];
+ var _basePlacement = getBasePlacement(placement);
+ var isStartVariation = getVariation(placement) === start;
+ var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;
+ var len = isVertical ? "width" : "height";
+ var overflow = detectOverflow(state, {
+ placement,
+ boundary,
+ rootBoundary,
+ altBoundary,
+ padding
+ });
+ var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;
+ if (referenceRect[len] > popperRect[len]) {
+ mainVariationSide = getOppositePlacement(mainVariationSide);
+ }
+ var altVariationSide = getOppositePlacement(mainVariationSide);
+ var checks = [];
+ if (checkMainAxis) {
+ checks.push(overflow[_basePlacement] <= 0);
+ }
+ if (checkAltAxis) {
+ checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
+ }
+ if (checks.every(function(check) {
+ return check;
+ })) {
+ firstFittingPlacement = placement;
+ makeFallbackChecks = false;
+ break;
+ }
+ checksMap.set(placement, checks);
+ }
+ if (makeFallbackChecks) {
+ var numberOfChecks = flipVariations ? 3 : 1;
+ var _loop = function _loop2(_i2) {
+ var fittingPlacement = placements2.find(function(placement2) {
+ var checks2 = checksMap.get(placement2);
+ if (checks2) {
+ return checks2.slice(0, _i2).every(function(check) {
+ return check;
+ });
+ }
+ });
+ if (fittingPlacement) {
+ firstFittingPlacement = fittingPlacement;
+ return "break";
+ }
+ };
+ for (var _i = numberOfChecks; _i > 0; _i--) {
+ var _ret = _loop(_i);
+ if (_ret === "break")
+ break;
+ }
+ }
+ if (state.placement !== firstFittingPlacement) {
+ state.modifiersData[name]._skip = true;
+ state.placement = firstFittingPlacement;
+ state.reset = true;
+ }
+ }
+ var flip_default = {
+ name: "flip",
+ enabled: true,
+ phase: "main",
+ fn: flip,
+ requiresIfExists: ["offset"],
+ data: {
+ _skip: false
+ }
+ };
+
+ // node_modules/@popperjs/core/lib/modifiers/hide.js
+ function getSideOffsets(overflow, rect, preventedOffsets) {
+ if (preventedOffsets === void 0) {
+ preventedOffsets = {
+ x: 0,
+ y: 0
+ };
+ }
+ return {
+ top: overflow.top - rect.height - preventedOffsets.y,
+ right: overflow.right - rect.width + preventedOffsets.x,
+ bottom: overflow.bottom - rect.height + preventedOffsets.y,
+ left: overflow.left - rect.width - preventedOffsets.x
+ };
+ }
+ function isAnySideFullyClipped(overflow) {
+ return [top, right, bottom, left].some(function(side) {
+ return overflow[side] >= 0;
+ });
+ }
+ function hide(_ref) {
+ var state = _ref.state, name = _ref.name;
+ var referenceRect = state.rects.reference;
+ var popperRect = state.rects.popper;
+ var preventedOffsets = state.modifiersData.preventOverflow;
+ var referenceOverflow = detectOverflow(state, {
+ elementContext: "reference"
+ });
+ var popperAltOverflow = detectOverflow(state, {
+ altBoundary: true
+ });
+ var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
+ var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
+ var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
+ var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
+ state.modifiersData[name] = {
+ referenceClippingOffsets,
+ popperEscapeOffsets,
+ isReferenceHidden,
+ hasPopperEscaped
+ };
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
+ "data-popper-reference-hidden": isReferenceHidden,
+ "data-popper-escaped": hasPopperEscaped
+ });
+ }
+ var hide_default = {
+ name: "hide",
+ enabled: true,
+ phase: "main",
+ requiresIfExists: ["preventOverflow"],
+ fn: hide
+ };
+
+ // node_modules/@popperjs/core/lib/modifiers/offset.js
+ function distanceAndSkiddingToXY(placement, rects, offset2) {
+ var basePlacement = getBasePlacement(placement);
+ var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
+ var _ref = typeof offset2 === "function" ? offset2(Object.assign({}, rects, {
+ placement
+ })) : offset2, skidding = _ref[0], distance = _ref[1];
+ skidding = skidding || 0;
+ distance = (distance || 0) * invertDistance;
+ return [left, right].indexOf(basePlacement) >= 0 ? {
+ x: distance,
+ y: skidding
+ } : {
+ x: skidding,
+ y: distance
+ };
+ }
+ function offset(_ref2) {
+ var state = _ref2.state, options = _ref2.options, name = _ref2.name;
+ var _options$offset = options.offset, offset2 = _options$offset === void 0 ? [0, 0] : _options$offset;
+ var data = placements.reduce(function(acc, placement) {
+ acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset2);
+ return acc;
+ }, {});
+ var _data$state$placement = data[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
+ if (state.modifiersData.popperOffsets != null) {
+ state.modifiersData.popperOffsets.x += x;
+ state.modifiersData.popperOffsets.y += y;
+ }
+ state.modifiersData[name] = data;
+ }
+ var offset_default = {
+ name: "offset",
+ enabled: true,
+ phase: "main",
+ requires: ["popperOffsets"],
+ fn: offset
+ };
+
+ // node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
+ function popperOffsets(_ref) {
+ var state = _ref.state, name = _ref.name;
+ state.modifiersData[name] = computeOffsets({
+ reference: state.rects.reference,
+ element: state.rects.popper,
+ strategy: "absolute",
+ placement: state.placement
+ });
+ }
+ var popperOffsets_default = {
+ name: "popperOffsets",
+ enabled: true,
+ phase: "read",
+ fn: popperOffsets,
+ data: {}
+ };
+
+ // node_modules/@popperjs/core/lib/utils/getAltAxis.js
+ function getAltAxis(axis) {
+ return axis === "x" ? "y" : "x";
+ }
+
+ // node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
+ function preventOverflow(_ref) {
+ var state = _ref.state, options = _ref.options, name = _ref.name;
+ var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
+ var overflow = detectOverflow(state, {
+ boundary,
+ rootBoundary,
+ padding,
+ altBoundary
+ });
+ var basePlacement = getBasePlacement(state.placement);
+ var variation = getVariation(state.placement);
+ var isBasePlacement = !variation;
+ var mainAxis = getMainAxisFromPlacement(basePlacement);
+ var altAxis = getAltAxis(mainAxis);
+ var popperOffsets2 = state.modifiersData.popperOffsets;
+ var referenceRect = state.rects.reference;
+ var popperRect = state.rects.popper;
+ var tetherOffsetValue = typeof tetherOffset === "function" ? tetherOffset(Object.assign({}, state.rects, {
+ placement: state.placement
+ })) : tetherOffset;
+ var data = {
+ x: 0,
+ y: 0
+ };
+ if (!popperOffsets2) {
+ return;
+ }
+ if (checkMainAxis || checkAltAxis) {
+ var mainSide = mainAxis === "y" ? top : left;
+ var altSide = mainAxis === "y" ? bottom : right;
+ var len = mainAxis === "y" ? "height" : "width";
+ var offset2 = popperOffsets2[mainAxis];
+ var min2 = popperOffsets2[mainAxis] + overflow[mainSide];
+ var max2 = popperOffsets2[mainAxis] - overflow[altSide];
+ var additive = tether ? -popperRect[len] / 2 : 0;
+ var minLen = variation === start ? referenceRect[len] : popperRect[len];
+ var maxLen = variation === start ? -popperRect[len] : -referenceRect[len];
+ var arrowElement = state.elements.arrow;
+ var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
+ width: 0,
+ height: 0
+ };
+ var arrowPaddingObject = state.modifiersData["arrow#persistent"] ? state.modifiersData["arrow#persistent"].padding : getFreshSideObject();
+ var arrowPaddingMin = arrowPaddingObject[mainSide];
+ var arrowPaddingMax = arrowPaddingObject[altSide];
+ var arrowLen = within(0, referenceRect[len], arrowRect[len]);
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
+ var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
+ var clientOffset = arrowOffsetParent ? mainAxis === "y" ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
+ var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
+ var tetherMin = popperOffsets2[mainAxis] + minOffset - offsetModifierValue - clientOffset;
+ var tetherMax = popperOffsets2[mainAxis] + maxOffset - offsetModifierValue;
+ if (checkMainAxis) {
+ var preventedOffset = within(tether ? min(min2, tetherMin) : min2, offset2, tether ? max(max2, tetherMax) : max2);
+ popperOffsets2[mainAxis] = preventedOffset;
+ data[mainAxis] = preventedOffset - offset2;
+ }
+ if (checkAltAxis) {
+ var _mainSide = mainAxis === "x" ? top : left;
+ var _altSide = mainAxis === "x" ? bottom : right;
+ var _offset = popperOffsets2[altAxis];
+ var _min = _offset + overflow[_mainSide];
+ var _max = _offset - overflow[_altSide];
+ var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
+ popperOffsets2[altAxis] = _preventedOffset;
+ data[altAxis] = _preventedOffset - _offset;
+ }
+ }
+ state.modifiersData[name] = data;
+ }
+ var preventOverflow_default = {
+ name: "preventOverflow",
+ enabled: true,
+ phase: "main",
+ fn: preventOverflow,
+ requiresIfExists: ["offset"]
+ };
+
+ // node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
+ function getHTMLElementScroll(element) {
+ return {
+ scrollLeft: element.scrollLeft,
+ scrollTop: element.scrollTop
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
+ function getNodeScroll(node) {
+ if (node === getWindow(node) || !isHTMLElement(node)) {
+ return getWindowScroll(node);
+ } else {
+ return getHTMLElementScroll(node);
+ }
+ }
+
+ // node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
+ function isElementScaled(element) {
+ var rect = element.getBoundingClientRect();
+ var scaleX = rect.width / element.offsetWidth || 1;
+ var scaleY = rect.height / element.offsetHeight || 1;
+ return scaleX !== 1 || scaleY !== 1;
+ }
+ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
+ if (isFixed === void 0) {
+ isFixed = false;
+ }
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
+ var documentElement = getDocumentElement(offsetParent);
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
+ var scroll = {
+ scrollLeft: 0,
+ scrollTop: 0
+ };
+ var offsets = {
+ x: 0,
+ y: 0
+ };
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
+ if (getNodeName(offsetParent) !== "body" || isScrollParent(documentElement)) {
+ scroll = getNodeScroll(offsetParent);
+ }
+ if (isHTMLElement(offsetParent)) {
+ offsets = getBoundingClientRect(offsetParent, true);
+ offsets.x += offsetParent.clientLeft;
+ offsets.y += offsetParent.clientTop;
+ } else if (documentElement) {
+ offsets.x = getWindowScrollBarX(documentElement);
+ }
+ }
+ return {
+ x: rect.left + scroll.scrollLeft - offsets.x,
+ y: rect.top + scroll.scrollTop - offsets.y,
+ width: rect.width,
+ height: rect.height
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/utils/orderModifiers.js
+ function order(modifiers) {
+ var map = new Map();
+ var visited = new Set();
+ var result = [];
+ modifiers.forEach(function(modifier) {
+ map.set(modifier.name, modifier);
+ });
+ function sort(modifier) {
+ visited.add(modifier.name);
+ var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
+ requires.forEach(function(dep) {
+ if (!visited.has(dep)) {
+ var depModifier = map.get(dep);
+ if (depModifier) {
+ sort(depModifier);
+ }
+ }
+ });
+ result.push(modifier);
+ }
+ modifiers.forEach(function(modifier) {
+ if (!visited.has(modifier.name)) {
+ sort(modifier);
+ }
+ });
+ return result;
+ }
+ function orderModifiers(modifiers) {
+ var orderedModifiers = order(modifiers);
+ return modifierPhases.reduce(function(acc, phase) {
+ return acc.concat(orderedModifiers.filter(function(modifier) {
+ return modifier.phase === phase;
+ }));
+ }, []);
+ }
+
+ // node_modules/@popperjs/core/lib/utils/debounce.js
+ function debounce(fn2) {
+ var pending;
+ return function() {
+ if (!pending) {
+ pending = new Promise(function(resolve) {
+ Promise.resolve().then(function() {
+ pending = void 0;
+ resolve(fn2());
+ });
+ });
+ }
+ return pending;
+ };
+ }
+
+ // node_modules/@popperjs/core/lib/utils/format.js
+ function format(str) {
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ args[_key - 1] = arguments[_key];
+ }
+ return [].concat(args).reduce(function(p, c) {
+ return p.replace(/%s/, c);
+ }, str);
+ }
+
+ // node_modules/@popperjs/core/lib/utils/validateModifiers.js
+ var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s';
+ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available';
+ var VALID_PROPERTIES = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
+ function validateModifiers(modifiers) {
+ modifiers.forEach(function(modifier) {
+ [].concat(Object.keys(modifier), VALID_PROPERTIES).filter(function(value, index, self2) {
+ return self2.indexOf(value) === index;
+ }).forEach(function(key) {
+ switch (key) {
+ case "name":
+ if (typeof modifier.name !== "string") {
+ console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', '"' + String(modifier.name) + '"'));
+ }
+ break;
+ case "enabled":
+ if (typeof modifier.enabled !== "boolean") {
+ console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', '"' + String(modifier.enabled) + '"'));
+ }
+ break;
+ case "phase":
+ if (modifierPhases.indexOf(modifier.phase) < 0) {
+ console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(", "), '"' + String(modifier.phase) + '"'));
+ }
+ break;
+ case "fn":
+ if (typeof modifier.fn !== "function") {
+ console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', '"' + String(modifier.fn) + '"'));
+ }
+ break;
+ case "effect":
+ if (modifier.effect != null && typeof modifier.effect !== "function") {
+ console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', '"' + String(modifier.fn) + '"'));
+ }
+ break;
+ case "requires":
+ if (modifier.requires != null && !Array.isArray(modifier.requires)) {
+ console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', '"' + String(modifier.requires) + '"'));
+ }
+ break;
+ case "requiresIfExists":
+ if (!Array.isArray(modifier.requiresIfExists)) {
+ console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', '"' + String(modifier.requiresIfExists) + '"'));
+ }
+ break;
+ case "options":
+ case "data":
+ break;
+ default:
+ console.error('PopperJS: an invalid property has been provided to the "' + modifier.name + '" modifier, valid properties are ' + VALID_PROPERTIES.map(function(s) {
+ return '"' + s + '"';
+ }).join(", ") + '; but "' + key + '" was provided.');
+ }
+ modifier.requires && modifier.requires.forEach(function(requirement) {
+ if (modifiers.find(function(mod) {
+ return mod.name === requirement;
+ }) == null) {
+ console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));
+ }
+ });
+ });
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/utils/uniqueBy.js
+ function uniqueBy(arr, fn2) {
+ var identifiers = new Set();
+ return arr.filter(function(item) {
+ var identifier = fn2(item);
+ if (!identifiers.has(identifier)) {
+ identifiers.add(identifier);
+ return true;
+ }
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/utils/mergeByName.js
+ function mergeByName(modifiers) {
+ var merged = modifiers.reduce(function(merged2, current) {
+ var existing = merged2[current.name];
+ merged2[current.name] = existing ? Object.assign({}, existing, current, {
+ options: Object.assign({}, existing.options, current.options),
+ data: Object.assign({}, existing.data, current.data)
+ }) : current;
+ return merged2;
+ }, {});
+ return Object.keys(merged).map(function(key) {
+ return merged[key];
+ });
+ }
+
+ // node_modules/@popperjs/core/lib/createPopper.js
+ var INVALID_ELEMENT_ERROR = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.";
+ var INFINITE_LOOP_ERROR = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.";
+ var DEFAULT_OPTIONS = {
+ placement: "bottom",
+ modifiers: [],
+ strategy: "absolute"
+ };
+ function areValidElements() {
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+ return !args.some(function(element) {
+ return !(element && typeof element.getBoundingClientRect === "function");
+ });
+ }
+ function popperGenerator(generatorOptions) {
+ if (generatorOptions === void 0) {
+ generatorOptions = {};
+ }
+ var _generatorOptions = generatorOptions, _generatorOptions$def = _generatorOptions.defaultModifiers, defaultModifiers3 = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, _generatorOptions$def2 = _generatorOptions.defaultOptions, defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
+ return function createPopper4(reference2, popper2, options) {
+ if (options === void 0) {
+ options = defaultOptions;
+ }
+ var state = {
+ placement: "bottom",
+ orderedModifiers: [],
+ options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
+ modifiersData: {},
+ elements: {
+ reference: reference2,
+ popper: popper2
+ },
+ attributes: {},
+ styles: {}
+ };
+ var effectCleanupFns = [];
+ var isDestroyed = false;
+ var instance = {
+ state,
+ setOptions: function setOptions(setOptionsAction) {
+ var options2 = typeof setOptionsAction === "function" ? setOptionsAction(state.options) : setOptionsAction;
+ cleanupModifierEffects();
+ state.options = Object.assign({}, defaultOptions, state.options, options2);
+ state.scrollParents = {
+ reference: isElement(reference2) ? listScrollParents(reference2) : reference2.contextElement ? listScrollParents(reference2.contextElement) : [],
+ popper: listScrollParents(popper2)
+ };
+ var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers3, state.options.modifiers)));
+ state.orderedModifiers = orderedModifiers.filter(function(m) {
+ return m.enabled;
+ });
+ if (true) {
+ var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function(_ref) {
+ var name = _ref.name;
+ return name;
+ });
+ validateModifiers(modifiers);
+ if (getBasePlacement(state.options.placement) === auto) {
+ var flipModifier = state.orderedModifiers.find(function(_ref2) {
+ var name = _ref2.name;
+ return name === "flip";
+ });
+ if (!flipModifier) {
+ console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
+ }
+ }
+ var _getComputedStyle = getComputedStyle2(popper2), marginTop = _getComputedStyle.marginTop, marginRight = _getComputedStyle.marginRight, marginBottom = _getComputedStyle.marginBottom, marginLeft = _getComputedStyle.marginLeft;
+ if ([marginTop, marginRight, marginBottom, marginLeft].some(function(margin) {
+ return parseFloat(margin);
+ })) {
+ console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
+ }
+ }
+ runModifierEffects();
+ return instance.update();
+ },
+ forceUpdate: function forceUpdate() {
+ if (isDestroyed) {
+ return;
+ }
+ var _state$elements = state.elements, reference3 = _state$elements.reference, popper3 = _state$elements.popper;
+ if (!areValidElements(reference3, popper3)) {
+ if (true) {
+ console.error(INVALID_ELEMENT_ERROR);
+ }
+ return;
+ }
+ state.rects = {
+ reference: getCompositeRect(reference3, getOffsetParent(popper3), state.options.strategy === "fixed"),
+ popper: getLayoutRect(popper3)
+ };
+ state.reset = false;
+ state.placement = state.options.placement;
+ state.orderedModifiers.forEach(function(modifier) {
+ return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
+ });
+ var __debug_loops__ = 0;
+ for (var index = 0; index < state.orderedModifiers.length; index++) {
+ if (true) {
+ __debug_loops__ += 1;
+ if (__debug_loops__ > 100) {
+ console.error(INFINITE_LOOP_ERROR);
+ break;
+ }
+ }
+ if (state.reset === true) {
+ state.reset = false;
+ index = -1;
+ continue;
+ }
+ var _state$orderedModifie = state.orderedModifiers[index], fn2 = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
+ if (typeof fn2 === "function") {
+ state = fn2({
+ state,
+ options: _options,
+ name,
+ instance
+ }) || state;
+ }
+ }
+ },
+ update: debounce(function() {
+ return new Promise(function(resolve) {
+ instance.forceUpdate();
+ resolve(state);
+ });
+ }),
+ destroy: function destroy() {
+ cleanupModifierEffects();
+ isDestroyed = true;
+ }
+ };
+ if (!areValidElements(reference2, popper2)) {
+ if (true) {
+ console.error(INVALID_ELEMENT_ERROR);
+ }
+ return instance;
+ }
+ instance.setOptions(options).then(function(state2) {
+ if (!isDestroyed && options.onFirstUpdate) {
+ options.onFirstUpdate(state2);
+ }
+ });
+ function runModifierEffects() {
+ state.orderedModifiers.forEach(function(_ref3) {
+ var name = _ref3.name, _ref3$options = _ref3.options, options2 = _ref3$options === void 0 ? {} : _ref3$options, effect4 = _ref3.effect;
+ if (typeof effect4 === "function") {
+ var cleanupFn = effect4({
+ state,
+ name,
+ instance,
+ options: options2
+ });
+ var noopFn = function noopFn2() {
+ };
+ effectCleanupFns.push(cleanupFn || noopFn);
+ }
+ });
+ }
+ function cleanupModifierEffects() {
+ effectCleanupFns.forEach(function(fn2) {
+ return fn2();
+ });
+ effectCleanupFns = [];
+ }
+ return instance;
+ };
+ }
+ var createPopper = /* @__PURE__ */ popperGenerator();
+
+ // node_modules/@popperjs/core/lib/popper-lite.js
+ var defaultModifiers = [eventListeners_default, popperOffsets_default, computeStyles_default, applyStyles_default];
+ var createPopper2 = /* @__PURE__ */ popperGenerator({
+ defaultModifiers
+ });
+
+ // node_modules/@popperjs/core/lib/popper.js
+ var defaultModifiers2 = [eventListeners_default, popperOffsets_default, computeStyles_default, applyStyles_default, offset_default, flip_default, preventOverflow_default, arrow_default, hide_default];
+ var createPopper3 = /* @__PURE__ */ popperGenerator({
+ defaultModifiers: defaultModifiers2
+ });
+
+ // node_modules/bootstrap/dist/js/bootstrap.esm.js
+ var MAX_UID = 1e6;
+ var MILLISECONDS_MULTIPLIER = 1e3;
+ var TRANSITION_END = "transitionend";
+ var toType = (obj) => {
+ if (obj === null || obj === void 0) {
+ return `${obj}`;
+ }
+ return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase();
+ };
+ var getUID = (prefix) => {
+ do {
+ prefix += Math.floor(Math.random() * MAX_UID);
+ } while (document.getElementById(prefix));
+ return prefix;
+ };
+ var getSelector = (element) => {
+ let selector = element.getAttribute("data-bs-target");
+ if (!selector || selector === "#") {
+ let hrefAttr = element.getAttribute("href");
+ if (!hrefAttr || !hrefAttr.includes("#") && !hrefAttr.startsWith(".")) {
+ return null;
+ }
+ if (hrefAttr.includes("#") && !hrefAttr.startsWith("#")) {
+ hrefAttr = `#${hrefAttr.split("#")[1]}`;
+ }
+ selector = hrefAttr && hrefAttr !== "#" ? hrefAttr.trim() : null;
+ }
+ return selector;
+ };
+ var getSelectorFromElement = (element) => {
+ const selector = getSelector(element);
+ if (selector) {
+ return document.querySelector(selector) ? selector : null;
+ }
+ return null;
+ };
+ var getElementFromSelector = (element) => {
+ const selector = getSelector(element);
+ return selector ? document.querySelector(selector) : null;
+ };
+ var getTransitionDurationFromElement = (element) => {
+ if (!element) {
+ return 0;
+ }
+ let {
+ transitionDuration,
+ transitionDelay
+ } = window.getComputedStyle(element);
+ const floatTransitionDuration = Number.parseFloat(transitionDuration);
+ const floatTransitionDelay = Number.parseFloat(transitionDelay);
+ if (!floatTransitionDuration && !floatTransitionDelay) {
+ return 0;
+ }
+ transitionDuration = transitionDuration.split(",")[0];
+ transitionDelay = transitionDelay.split(",")[0];
+ return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;
+ };
+ var triggerTransitionEnd = (element) => {
+ element.dispatchEvent(new Event(TRANSITION_END));
+ };
+ var isElement2 = (obj) => {
+ if (!obj || typeof obj !== "object") {
+ return false;
+ }
+ if (typeof obj.jquery !== "undefined") {
+ obj = obj[0];
+ }
+ return typeof obj.nodeType !== "undefined";
+ };
+ var getElement = (obj) => {
+ if (isElement2(obj)) {
+ return obj.jquery ? obj[0] : obj;
+ }
+ if (typeof obj === "string" && obj.length > 0) {
+ return document.querySelector(obj);
+ }
+ return null;
+ };
+ var typeCheckConfig = (componentName, config, configTypes) => {
+ Object.keys(configTypes).forEach((property) => {
+ const expectedTypes = configTypes[property];
+ const value = config[property];
+ const valueType = value && isElement2(value) ? "element" : toType(value);
+ if (!new RegExp(expectedTypes).test(valueType)) {
+ throw new TypeError(`${componentName.toUpperCase()}: Option "${property}" provided type "${valueType}" but expected type "${expectedTypes}".`);
+ }
+ });
+ };
+ var isVisible = (element) => {
+ if (!isElement2(element) || element.getClientRects().length === 0) {
+ return false;
+ }
+ return getComputedStyle(element).getPropertyValue("visibility") === "visible";
+ };
+ var isDisabled = (element) => {
+ if (!element || element.nodeType !== Node.ELEMENT_NODE) {
+ return true;
+ }
+ if (element.classList.contains("disabled")) {
+ return true;
+ }
+ if (typeof element.disabled !== "undefined") {
+ return element.disabled;
+ }
+ return element.hasAttribute("disabled") && element.getAttribute("disabled") !== "false";
+ };
+ var findShadowRoot = (element) => {
+ if (!document.documentElement.attachShadow) {
+ return null;
+ }
+ if (typeof element.getRootNode === "function") {
+ const root = element.getRootNode();
+ return root instanceof ShadowRoot ? root : null;
+ }
+ if (element instanceof ShadowRoot) {
+ return element;
+ }
+ if (!element.parentNode) {
+ return null;
+ }
+ return findShadowRoot(element.parentNode);
+ };
+ var noop = () => {
+ };
+ var reflow = (element) => {
+ element.offsetHeight;
+ };
+ var getjQuery = () => {
+ const {
+ jQuery
+ } = window;
+ if (jQuery && !document.body.hasAttribute("data-bs-no-jquery")) {
+ return jQuery;
+ }
+ return null;
+ };
+ var DOMContentLoadedCallbacks = [];
+ var onDOMContentLoaded = (callback) => {
+ if (document.readyState === "loading") {
+ if (!DOMContentLoadedCallbacks.length) {
+ document.addEventListener("DOMContentLoaded", () => {
+ DOMContentLoadedCallbacks.forEach((callback2) => callback2());
+ });
+ }
+ DOMContentLoadedCallbacks.push(callback);
+ } else {
+ callback();
+ }
+ };
+ var isRTL = () => document.documentElement.dir === "rtl";
+ var defineJQueryPlugin = (plugin) => {
+ onDOMContentLoaded(() => {
+ const $4 = getjQuery();
+ if ($4) {
+ const name = plugin.NAME;
+ const JQUERY_NO_CONFLICT = $4.fn[name];
+ $4.fn[name] = plugin.jQueryInterface;
+ $4.fn[name].Constructor = plugin;
+ $4.fn[name].noConflict = () => {
+ $4.fn[name] = JQUERY_NO_CONFLICT;
+ return plugin.jQueryInterface;
+ };
+ }
+ });
+ };
+ var execute = (callback) => {
+ if (typeof callback === "function") {
+ callback();
+ }
+ };
+ var executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
+ if (!waitForTransition) {
+ execute(callback);
+ return;
+ }
+ const durationPadding = 5;
+ const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;
+ let called = false;
+ const handler = ({
+ target
+ }) => {
+ if (target !== transitionElement) {
+ return;
+ }
+ called = true;
+ transitionElement.removeEventListener(TRANSITION_END, handler);
+ execute(callback);
+ };
+ transitionElement.addEventListener(TRANSITION_END, handler);
+ setTimeout(() => {
+ if (!called) {
+ triggerTransitionEnd(transitionElement);
+ }
+ }, emulatedDuration);
+ };
+ var getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {
+ let index = list.indexOf(activeElement);
+ if (index === -1) {
+ return list[!shouldGetNext && isCycleAllowed ? list.length - 1 : 0];
+ }
+ const listLength = list.length;
+ index += shouldGetNext ? 1 : -1;
+ if (isCycleAllowed) {
+ index = (index + listLength) % listLength;
+ }
+ return list[Math.max(0, Math.min(index, listLength - 1))];
+ };
+ var namespaceRegex = /[^.]*(?=\..*)\.|.*/;
+ var stripNameRegex = /\..*/;
+ var stripUidRegex = /::\d+$/;
+ var eventRegistry = {};
+ var uidEvent = 1;
+ var customEvents = {
+ mouseenter: "mouseover",
+ mouseleave: "mouseout"
+ };
+ var customEventsRegex = /^(mouseenter|mouseleave)/i;
+ var nativeEvents = new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]);
+ function getUidEvent(element, uid) {
+ return uid && `${uid}::${uidEvent++}` || element.uidEvent || uidEvent++;
+ }
+ function getEvent(element) {
+ const uid = getUidEvent(element);
+ element.uidEvent = uid;
+ eventRegistry[uid] = eventRegistry[uid] || {};
+ return eventRegistry[uid];
+ }
+ function bootstrapHandler(element, fn2) {
+ return function handler(event) {
+ event.delegateTarget = element;
+ if (handler.oneOff) {
+ EventHandler.off(element, event.type, fn2);
+ }
+ return fn2.apply(element, [event]);
+ };
+ }
+ function bootstrapDelegationHandler(element, selector, fn2) {
+ return function handler(event) {
+ const domElements = element.querySelectorAll(selector);
+ for (let {
+ target
+ } = event; target && target !== this; target = target.parentNode) {
+ for (let i = domElements.length; i--; ) {
+ if (domElements[i] === target) {
+ event.delegateTarget = target;
+ if (handler.oneOff) {
+ EventHandler.off(element, event.type, selector, fn2);
+ }
+ return fn2.apply(target, [event]);
+ }
+ }
+ }
+ return null;
+ };
+ }
+ function findHandler(events, handler, delegationSelector = null) {
+ const uidEventList = Object.keys(events);
+ for (let i = 0, len = uidEventList.length; i < len; i++) {
+ const event = events[uidEventList[i]];
+ if (event.originalHandler === handler && event.delegationSelector === delegationSelector) {
+ return event;
+ }
+ }
+ return null;
+ }
+ function normalizeParams(originalTypeEvent, handler, delegationFn) {
+ const delegation = typeof handler === "string";
+ const originalHandler = delegation ? delegationFn : handler;
+ let typeEvent = getTypeEvent(originalTypeEvent);
+ const isNative = nativeEvents.has(typeEvent);
+ if (!isNative) {
+ typeEvent = originalTypeEvent;
+ }
+ return [delegation, originalHandler, typeEvent];
+ }
+ function addHandler(element, originalTypeEvent, handler, delegationFn, oneOff) {
+ if (typeof originalTypeEvent !== "string" || !element) {
+ return;
+ }
+ if (!handler) {
+ handler = delegationFn;
+ delegationFn = null;
+ }
+ if (customEventsRegex.test(originalTypeEvent)) {
+ const wrapFn = (fn3) => {
+ return function(event) {
+ if (!event.relatedTarget || event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget)) {
+ return fn3.call(this, event);
+ }
+ };
+ };
+ if (delegationFn) {
+ delegationFn = wrapFn(delegationFn);
+ } else {
+ handler = wrapFn(handler);
+ }
+ }
+ const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn);
+ const events = getEvent(element);
+ const handlers = events[typeEvent] || (events[typeEvent] = {});
+ const previousFn = findHandler(handlers, originalHandler, delegation ? handler : null);
+ if (previousFn) {
+ previousFn.oneOff = previousFn.oneOff && oneOff;
+ return;
+ }
+ const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ""));
+ const fn2 = delegation ? bootstrapDelegationHandler(element, handler, delegationFn) : bootstrapHandler(element, handler);
+ fn2.delegationSelector = delegation ? handler : null;
+ fn2.originalHandler = originalHandler;
+ fn2.oneOff = oneOff;
+ fn2.uidEvent = uid;
+ handlers[uid] = fn2;
+ element.addEventListener(typeEvent, fn2, delegation);
+ }
+ function removeHandler(element, events, typeEvent, handler, delegationSelector) {
+ const fn2 = findHandler(events[typeEvent], handler, delegationSelector);
+ if (!fn2) {
+ return;
+ }
+ element.removeEventListener(typeEvent, fn2, Boolean(delegationSelector));
+ delete events[typeEvent][fn2.uidEvent];
+ }
+ function removeNamespacedHandlers(element, events, typeEvent, namespace) {
+ const storeElementEvent = events[typeEvent] || {};
+ Object.keys(storeElementEvent).forEach((handlerKey) => {
+ if (handlerKey.includes(namespace)) {
+ const event = storeElementEvent[handlerKey];
+ removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector);
+ }
+ });
+ }
+ function getTypeEvent(event) {
+ event = event.replace(stripNameRegex, "");
+ return customEvents[event] || event;
+ }
+ var EventHandler = {
+ on(element, event, handler, delegationFn) {
+ addHandler(element, event, handler, delegationFn, false);
+ },
+ one(element, event, handler, delegationFn) {
+ addHandler(element, event, handler, delegationFn, true);
+ },
+ off(element, originalTypeEvent, handler, delegationFn) {
+ if (typeof originalTypeEvent !== "string" || !element) {
+ return;
+ }
+ const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn);
+ const inNamespace = typeEvent !== originalTypeEvent;
+ const events = getEvent(element);
+ const isNamespace = originalTypeEvent.startsWith(".");
+ if (typeof originalHandler !== "undefined") {
+ if (!events || !events[typeEvent]) {
+ return;
+ }
+ removeHandler(element, events, typeEvent, originalHandler, delegation ? handler : null);
+ return;
+ }
+ if (isNamespace) {
+ Object.keys(events).forEach((elementEvent) => {
+ removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));
+ });
+ }
+ const storeElementEvent = events[typeEvent] || {};
+ Object.keys(storeElementEvent).forEach((keyHandlers) => {
+ const handlerKey = keyHandlers.replace(stripUidRegex, "");
+ if (!inNamespace || originalTypeEvent.includes(handlerKey)) {
+ const event = storeElementEvent[keyHandlers];
+ removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector);
+ }
+ });
+ },
+ trigger(element, event, args) {
+ if (typeof event !== "string" || !element) {
+ return null;
+ }
+ const $4 = getjQuery();
+ const typeEvent = getTypeEvent(event);
+ const inNamespace = event !== typeEvent;
+ const isNative = nativeEvents.has(typeEvent);
+ let jQueryEvent;
+ let bubbles = true;
+ let nativeDispatch = true;
+ let defaultPrevented = false;
+ let evt = null;
+ if (inNamespace && $4) {
+ jQueryEvent = $4.Event(event, args);
+ $4(element).trigger(jQueryEvent);
+ bubbles = !jQueryEvent.isPropagationStopped();
+ nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();
+ defaultPrevented = jQueryEvent.isDefaultPrevented();
+ }
+ if (isNative) {
+ evt = document.createEvent("HTMLEvents");
+ evt.initEvent(typeEvent, bubbles, true);
+ } else {
+ evt = new CustomEvent(event, {
+ bubbles,
+ cancelable: true
+ });
+ }
+ if (typeof args !== "undefined") {
+ Object.keys(args).forEach((key) => {
+ Object.defineProperty(evt, key, {
+ get() {
+ return args[key];
+ }
+ });
+ });
+ }
+ if (defaultPrevented) {
+ evt.preventDefault();
+ }
+ if (nativeDispatch) {
+ element.dispatchEvent(evt);
+ }
+ if (evt.defaultPrevented && typeof jQueryEvent !== "undefined") {
+ jQueryEvent.preventDefault();
+ }
+ return evt;
+ }
+ };
+ var elementMap = new Map();
+ var Data = {
+ set(element, key, instance) {
+ if (!elementMap.has(element)) {
+ elementMap.set(element, new Map());
+ }
+ const instanceMap = elementMap.get(element);
+ if (!instanceMap.has(key) && instanceMap.size !== 0) {
+ console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`);
+ return;
+ }
+ instanceMap.set(key, instance);
+ },
+ get(element, key) {
+ if (elementMap.has(element)) {
+ return elementMap.get(element).get(key) || null;
+ }
+ return null;
+ },
+ remove(element, key) {
+ if (!elementMap.has(element)) {
+ return;
+ }
+ const instanceMap = elementMap.get(element);
+ instanceMap.delete(key);
+ if (instanceMap.size === 0) {
+ elementMap.delete(element);
+ }
+ }
+ };
+ var VERSION = "5.1.3";
+ var BaseComponent = class {
+ constructor(element) {
+ element = getElement(element);
+ if (!element) {
+ return;
+ }
+ this._element = element;
+ Data.set(this._element, this.constructor.DATA_KEY, this);
+ }
+ dispose() {
+ Data.remove(this._element, this.constructor.DATA_KEY);
+ EventHandler.off(this._element, this.constructor.EVENT_KEY);
+ Object.getOwnPropertyNames(this).forEach((propertyName) => {
+ this[propertyName] = null;
+ });
+ }
+ _queueCallback(callback, element, isAnimated = true) {
+ executeAfterTransition(callback, element, isAnimated);
+ }
+ static getInstance(element) {
+ return Data.get(getElement(element), this.DATA_KEY);
+ }
+ static getOrCreateInstance(element, config = {}) {
+ return this.getInstance(element) || new this(element, typeof config === "object" ? config : null);
+ }
+ static get VERSION() {
+ return VERSION;
+ }
+ static get NAME() {
+ throw new Error('You have to implement the static method "NAME", for each component!');
+ }
+ static get DATA_KEY() {
+ return `bs.${this.NAME}`;
+ }
+ static get EVENT_KEY() {
+ return `.${this.DATA_KEY}`;
+ }
+ };
+ var enableDismissTrigger = (component, method = "hide") => {
+ const clickEvent = `click.dismiss${component.EVENT_KEY}`;
+ const name = component.NAME;
+ EventHandler.on(document, clickEvent, `[data-bs-dismiss="${name}"]`, function(event) {
+ if (["A", "AREA"].includes(this.tagName)) {
+ event.preventDefault();
+ }
+ if (isDisabled(this)) {
+ return;
+ }
+ const target = getElementFromSelector(this) || this.closest(`.${name}`);
+ const instance = component.getOrCreateInstance(target);
+ instance[method]();
+ });
+ };
+ var NAME$d = "alert";
+ var DATA_KEY$c = "bs.alert";
+ var EVENT_KEY$c = `.${DATA_KEY$c}`;
+ var EVENT_CLOSE = `close${EVENT_KEY$c}`;
+ var EVENT_CLOSED = `closed${EVENT_KEY$c}`;
+ var CLASS_NAME_FADE$5 = "fade";
+ var CLASS_NAME_SHOW$8 = "show";
+ var Alert = class extends BaseComponent {
+ static get NAME() {
+ return NAME$d;
+ }
+ close() {
+ const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE);
+ if (closeEvent.defaultPrevented) {
+ return;
+ }
+ this._element.classList.remove(CLASS_NAME_SHOW$8);
+ const isAnimated = this._element.classList.contains(CLASS_NAME_FADE$5);
+ this._queueCallback(() => this._destroyElement(), this._element, isAnimated);
+ }
+ _destroyElement() {
+ this._element.remove();
+ EventHandler.trigger(this._element, EVENT_CLOSED);
+ this.dispose();
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Alert.getOrCreateInstance(this);
+ if (typeof config !== "string") {
+ return;
+ }
+ if (data[config] === void 0 || config.startsWith("_") || config === "constructor") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config](this);
+ });
+ }
+ };
+ enableDismissTrigger(Alert, "close");
+ defineJQueryPlugin(Alert);
+ var NAME$c = "button";
+ var DATA_KEY$b = "bs.button";
+ var EVENT_KEY$b = `.${DATA_KEY$b}`;
+ var DATA_API_KEY$7 = ".data-api";
+ var CLASS_NAME_ACTIVE$3 = "active";
+ var SELECTOR_DATA_TOGGLE$5 = '[data-bs-toggle="button"]';
+ var EVENT_CLICK_DATA_API$6 = `click${EVENT_KEY$b}${DATA_API_KEY$7}`;
+ var Button = class extends BaseComponent {
+ static get NAME() {
+ return NAME$c;
+ }
+ toggle() {
+ this._element.setAttribute("aria-pressed", this._element.classList.toggle(CLASS_NAME_ACTIVE$3));
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Button.getOrCreateInstance(this);
+ if (config === "toggle") {
+ data[config]();
+ }
+ });
+ }
+ };
+ EventHandler.on(document, EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$5, (event) => {
+ event.preventDefault();
+ const button = event.target.closest(SELECTOR_DATA_TOGGLE$5);
+ const data = Button.getOrCreateInstance(button);
+ data.toggle();
+ });
+ defineJQueryPlugin(Button);
+ function normalizeData(val) {
+ if (val === "true") {
+ return true;
+ }
+ if (val === "false") {
+ return false;
+ }
+ if (val === Number(val).toString()) {
+ return Number(val);
+ }
+ if (val === "" || val === "null") {
+ return null;
+ }
+ return val;
+ }
+ function normalizeDataKey(key) {
+ return key.replace(/[A-Z]/g, (chr) => `-${chr.toLowerCase()}`);
+ }
+ var Manipulator = {
+ setDataAttribute(element, key, value) {
+ element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value);
+ },
+ removeDataAttribute(element, key) {
+ element.removeAttribute(`data-bs-${normalizeDataKey(key)}`);
+ },
+ getDataAttributes(element) {
+ if (!element) {
+ return {};
+ }
+ const attributes = {};
+ Object.keys(element.dataset).filter((key) => key.startsWith("bs")).forEach((key) => {
+ let pureKey = key.replace(/^bs/, "");
+ pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);
+ attributes[pureKey] = normalizeData(element.dataset[key]);
+ });
+ return attributes;
+ },
+ getDataAttribute(element, key) {
+ return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`));
+ },
+ offset(element) {
+ const rect = element.getBoundingClientRect();
+ return {
+ top: rect.top + window.pageYOffset,
+ left: rect.left + window.pageXOffset
+ };
+ },
+ position(element) {
+ return {
+ top: element.offsetTop,
+ left: element.offsetLeft
+ };
+ }
+ };
+ var NODE_TEXT = 3;
+ var SelectorEngine = {
+ find(selector, element = document.documentElement) {
+ return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
+ },
+ findOne(selector, element = document.documentElement) {
+ return Element.prototype.querySelector.call(element, selector);
+ },
+ children(element, selector) {
+ return [].concat(...element.children).filter((child) => child.matches(selector));
+ },
+ parents(element, selector) {
+ const parents = [];
+ let ancestor = element.parentNode;
+ while (ancestor && ancestor.nodeType === Node.ELEMENT_NODE && ancestor.nodeType !== NODE_TEXT) {
+ if (ancestor.matches(selector)) {
+ parents.push(ancestor);
+ }
+ ancestor = ancestor.parentNode;
+ }
+ return parents;
+ },
+ prev(element, selector) {
+ let previous = element.previousElementSibling;
+ while (previous) {
+ if (previous.matches(selector)) {
+ return [previous];
+ }
+ previous = previous.previousElementSibling;
+ }
+ return [];
+ },
+ next(element, selector) {
+ let next = element.nextElementSibling;
+ while (next) {
+ if (next.matches(selector)) {
+ return [next];
+ }
+ next = next.nextElementSibling;
+ }
+ return [];
+ },
+ focusableChildren(element) {
+ const focusables = ["a", "button", "input", "textarea", "select", "details", "[tabindex]", '[contenteditable="true"]'].map((selector) => `${selector}:not([tabindex^="-"])`).join(", ");
+ return this.find(focusables, element).filter((el) => !isDisabled(el) && isVisible(el));
+ }
+ };
+ var NAME$b = "carousel";
+ var DATA_KEY$a = "bs.carousel";
+ var EVENT_KEY$a = `.${DATA_KEY$a}`;
+ var DATA_API_KEY$6 = ".data-api";
+ var ARROW_LEFT_KEY = "ArrowLeft";
+ var ARROW_RIGHT_KEY = "ArrowRight";
+ var TOUCHEVENT_COMPAT_WAIT = 500;
+ var SWIPE_THRESHOLD = 40;
+ var Default$a = {
+ interval: 5e3,
+ keyboard: true,
+ slide: false,
+ pause: "hover",
+ wrap: true,
+ touch: true
+ };
+ var DefaultType$a = {
+ interval: "(number|boolean)",
+ keyboard: "boolean",
+ slide: "(boolean|string)",
+ pause: "(string|boolean)",
+ wrap: "boolean",
+ touch: "boolean"
+ };
+ var ORDER_NEXT = "next";
+ var ORDER_PREV = "prev";
+ var DIRECTION_LEFT = "left";
+ var DIRECTION_RIGHT = "right";
+ var KEY_TO_DIRECTION = {
+ [ARROW_LEFT_KEY]: DIRECTION_RIGHT,
+ [ARROW_RIGHT_KEY]: DIRECTION_LEFT
+ };
+ var EVENT_SLIDE = `slide${EVENT_KEY$a}`;
+ var EVENT_SLID = `slid${EVENT_KEY$a}`;
+ var EVENT_KEYDOWN = `keydown${EVENT_KEY$a}`;
+ var EVENT_MOUSEENTER = `mouseenter${EVENT_KEY$a}`;
+ var EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY$a}`;
+ var EVENT_TOUCHSTART = `touchstart${EVENT_KEY$a}`;
+ var EVENT_TOUCHMOVE = `touchmove${EVENT_KEY$a}`;
+ var EVENT_TOUCHEND = `touchend${EVENT_KEY$a}`;
+ var EVENT_POINTERDOWN = `pointerdown${EVENT_KEY$a}`;
+ var EVENT_POINTERUP = `pointerup${EVENT_KEY$a}`;
+ var EVENT_DRAG_START = `dragstart${EVENT_KEY$a}`;
+ var EVENT_LOAD_DATA_API$2 = `load${EVENT_KEY$a}${DATA_API_KEY$6}`;
+ var EVENT_CLICK_DATA_API$5 = `click${EVENT_KEY$a}${DATA_API_KEY$6}`;
+ var CLASS_NAME_CAROUSEL = "carousel";
+ var CLASS_NAME_ACTIVE$2 = "active";
+ var CLASS_NAME_SLIDE = "slide";
+ var CLASS_NAME_END = "carousel-item-end";
+ var CLASS_NAME_START = "carousel-item-start";
+ 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_INDICATOR = "[data-bs-target]";
+ var SELECTOR_DATA_SLIDE = "[data-bs-slide], [data-bs-slide-to]";
+ var SELECTOR_DATA_RIDE = '[data-bs-ride="carousel"]';
+ var POINTER_TYPE_TOUCH = "touch";
+ var POINTER_TYPE_PEN = "pen";
+ var Carousel = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ 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._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element);
+ this._touchSupported = "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
+ this._pointerEvent = Boolean(window.PointerEvent);
+ this._addEventListeners();
+ }
+ static get Default() {
+ return Default$a;
+ }
+ static get NAME() {
+ return NAME$b;
+ }
+ next() {
+ this._slide(ORDER_NEXT);
+ }
+ nextWhenVisible() {
+ if (!document.hidden && isVisible(this._element)) {
+ this.next();
+ }
+ }
+ prev() {
+ this._slide(ORDER_PREV);
+ }
+ pause(event) {
+ if (!event) {
+ this._isPaused = true;
+ }
+ if (SelectorEngine.findOne(SELECTOR_NEXT_PREV, this._element)) {
+ triggerTransitionEnd(this._element);
+ this.cycle(true);
+ }
+ clearInterval(this._interval);
+ this._interval = null;
+ }
+ cycle(event) {
+ if (!event) {
+ this._isPaused = false;
+ }
+ if (this._interval) {
+ clearInterval(this._interval);
+ this._interval = null;
+ }
+ if (this._config && this._config.interval && !this._isPaused) {
+ this._updateInterval();
+ this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval);
+ }
+ }
+ to(index) {
+ this._activeElement = SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);
+ const activeIndex = this._getItemIndex(this._activeElement);
+ if (index > this._items.length - 1 || index < 0) {
+ return;
+ }
+ if (this._isSliding) {
+ EventHandler.one(this._element, EVENT_SLID, () => this.to(index));
+ return;
+ }
+ if (activeIndex === index) {
+ this.pause();
+ this.cycle();
+ return;
+ }
+ const order2 = index > activeIndex ? ORDER_NEXT : ORDER_PREV;
+ this._slide(order2, this._items[index]);
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, Default$a), Manipulator.getDataAttributes(this._element)), typeof config === "object" ? config : {});
+ typeCheckConfig(NAME$b, config, DefaultType$a);
+ return config;
+ }
+ _handleSwipe() {
+ const absDeltax = Math.abs(this.touchDeltaX);
+ if (absDeltax <= SWIPE_THRESHOLD) {
+ return;
+ }
+ const direction = absDeltax / this.touchDeltaX;
+ this.touchDeltaX = 0;
+ if (!direction) {
+ return;
+ }
+ this._slide(direction > 0 ? DIRECTION_RIGHT : DIRECTION_LEFT);
+ }
+ _addEventListeners() {
+ if (this._config.keyboard) {
+ EventHandler.on(this._element, EVENT_KEYDOWN, (event) => this._keydown(event));
+ }
+ if (this._config.pause === "hover") {
+ EventHandler.on(this._element, EVENT_MOUSEENTER, (event) => this.pause(event));
+ EventHandler.on(this._element, EVENT_MOUSELEAVE, (event) => this.cycle(event));
+ }
+ if (this._config.touch && this._touchSupported) {
+ this._addTouchEventListeners();
+ }
+ }
+ _addTouchEventListeners() {
+ const hasPointerPenTouch = (event) => {
+ return this._pointerEvent && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH);
+ };
+ const start2 = (event) => {
+ if (hasPointerPenTouch(event)) {
+ this.touchStartX = event.clientX;
+ } else if (!this._pointerEvent) {
+ this.touchStartX = event.touches[0].clientX;
+ }
+ };
+ const move = (event) => {
+ this.touchDeltaX = event.touches && event.touches.length > 1 ? 0 : event.touches[0].clientX - this.touchStartX;
+ };
+ const end2 = (event) => {
+ if (hasPointerPenTouch(event)) {
+ this.touchDeltaX = event.clientX - this.touchStartX;
+ }
+ this._handleSwipe();
+ if (this._config.pause === "hover") {
+ this.pause();
+ if (this.touchTimeout) {
+ clearTimeout(this.touchTimeout);
+ }
+ this.touchTimeout = setTimeout((event2) => this.cycle(event2), TOUCHEVENT_COMPAT_WAIT + this._config.interval);
+ }
+ };
+ SelectorEngine.find(SELECTOR_ITEM_IMG, this._element).forEach((itemImg) => {
+ EventHandler.on(itemImg, EVENT_DRAG_START, (event) => event.preventDefault());
+ });
+ if (this._pointerEvent) {
+ EventHandler.on(this._element, EVENT_POINTERDOWN, (event) => start2(event));
+ EventHandler.on(this._element, EVENT_POINTERUP, (event) => end2(event));
+ this._element.classList.add(CLASS_NAME_POINTER_EVENT);
+ } else {
+ EventHandler.on(this._element, EVENT_TOUCHSTART, (event) => start2(event));
+ EventHandler.on(this._element, EVENT_TOUCHMOVE, (event) => move(event));
+ EventHandler.on(this._element, EVENT_TOUCHEND, (event) => end2(event));
+ }
+ }
+ _keydown(event) {
+ if (/input|textarea/i.test(event.target.tagName)) {
+ return;
+ }
+ const direction = KEY_TO_DIRECTION[event.key];
+ if (direction) {
+ event.preventDefault();
+ this._slide(direction);
+ }
+ }
+ _getItemIndex(element) {
+ this._items = element && element.parentNode ? SelectorEngine.find(SELECTOR_ITEM, element.parentNode) : [];
+ return this._items.indexOf(element);
+ }
+ _getItemByOrder(order2, activeElement) {
+ const isNext = order2 === ORDER_NEXT;
+ return getNextActiveElement(this._items, activeElement, isNext, this._config.wrap);
+ }
+ _triggerSlideEvent(relatedTarget, eventDirectionName) {
+ const targetIndex = this._getItemIndex(relatedTarget);
+ const fromIndex = this._getItemIndex(SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element));
+ return EventHandler.trigger(this._element, EVENT_SLIDE, {
+ relatedTarget,
+ direction: eventDirectionName,
+ from: fromIndex,
+ to: targetIndex
+ });
+ }
+ _setActiveIndicatorElement(element) {
+ if (this._indicatorsElement) {
+ const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE$1, this._indicatorsElement);
+ activeIndicator.classList.remove(CLASS_NAME_ACTIVE$2);
+ activeIndicator.removeAttribute("aria-current");
+ const indicators = SelectorEngine.find(SELECTOR_INDICATOR, this._indicatorsElement);
+ for (let i = 0; i < indicators.length; i++) {
+ if (Number.parseInt(indicators[i].getAttribute("data-bs-slide-to"), 10) === this._getItemIndex(element)) {
+ indicators[i].classList.add(CLASS_NAME_ACTIVE$2);
+ indicators[i].setAttribute("aria-current", "true");
+ break;
+ }
+ }
+ }
+ }
+ _updateInterval() {
+ const element = this._activeElement || SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);
+ if (!element) {
+ return;
+ }
+ const elementInterval = Number.parseInt(element.getAttribute("data-bs-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;
+ }
+ }
+ _slide(directionOrOrder, element) {
+ const order2 = this._directionToOrder(directionOrOrder);
+ const activeElement = SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);
+ const activeElementIndex = this._getItemIndex(activeElement);
+ const nextElement = element || this._getItemByOrder(order2, activeElement);
+ const nextElementIndex = this._getItemIndex(nextElement);
+ const isCycling = Boolean(this._interval);
+ const isNext = order2 === ORDER_NEXT;
+ const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END;
+ const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV;
+ const eventDirectionName = this._orderToDirection(order2);
+ if (nextElement && nextElement.classList.contains(CLASS_NAME_ACTIVE$2)) {
+ this._isSliding = false;
+ return;
+ }
+ if (this._isSliding) {
+ return;
+ }
+ const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
+ if (slideEvent.defaultPrevented) {
+ return;
+ }
+ if (!activeElement || !nextElement) {
+ return;
+ }
+ this._isSliding = true;
+ if (isCycling) {
+ this.pause();
+ }
+ this._setActiveIndicatorElement(nextElement);
+ this._activeElement = nextElement;
+ const triggerSlidEvent = () => {
+ EventHandler.trigger(this._element, EVENT_SLID, {
+ relatedTarget: nextElement,
+ direction: eventDirectionName,
+ from: activeElementIndex,
+ to: nextElementIndex
+ });
+ };
+ if (this._element.classList.contains(CLASS_NAME_SLIDE)) {
+ nextElement.classList.add(orderClassName);
+ reflow(nextElement);
+ activeElement.classList.add(directionalClassName);
+ nextElement.classList.add(directionalClassName);
+ const completeCallBack = () => {
+ nextElement.classList.remove(directionalClassName, orderClassName);
+ nextElement.classList.add(CLASS_NAME_ACTIVE$2);
+ activeElement.classList.remove(CLASS_NAME_ACTIVE$2, orderClassName, directionalClassName);
+ this._isSliding = false;
+ setTimeout(triggerSlidEvent, 0);
+ };
+ this._queueCallback(completeCallBack, activeElement, true);
+ } else {
+ activeElement.classList.remove(CLASS_NAME_ACTIVE$2);
+ nextElement.classList.add(CLASS_NAME_ACTIVE$2);
+ this._isSliding = false;
+ triggerSlidEvent();
+ }
+ if (isCycling) {
+ this.cycle();
+ }
+ }
+ _directionToOrder(direction) {
+ if (![DIRECTION_RIGHT, DIRECTION_LEFT].includes(direction)) {
+ return direction;
+ }
+ if (isRTL()) {
+ return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT;
+ }
+ return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV;
+ }
+ _orderToDirection(order2) {
+ if (![ORDER_NEXT, ORDER_PREV].includes(order2)) {
+ return order2;
+ }
+ if (isRTL()) {
+ return order2 === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT;
+ }
+ return order2 === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT;
+ }
+ static carouselInterface(element, config) {
+ const data = Carousel.getOrCreateInstance(element, config);
+ let {
+ _config
+ } = data;
+ if (typeof config === "object") {
+ _config = __spreadValues(__spreadValues({}, _config), config);
+ }
+ const action = typeof config === "string" ? config : _config.slide;
+ 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();
+ }
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ Carousel.carouselInterface(this, config);
+ });
+ }
+ static dataApiClickHandler(event) {
+ const target = getElementFromSelector(this);
+ if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {
+ return;
+ }
+ const config = __spreadValues(__spreadValues({}, Manipulator.getDataAttributes(target)), Manipulator.getDataAttributes(this));
+ const slideIndex = this.getAttribute("data-bs-slide-to");
+ if (slideIndex) {
+ config.interval = false;
+ }
+ Carousel.carouselInterface(target, config);
+ if (slideIndex) {
+ Carousel.getInstance(target).to(slideIndex);
+ }
+ event.preventDefault();
+ }
+ };
+ EventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, Carousel.dataApiClickHandler);
+ EventHandler.on(window, EVENT_LOAD_DATA_API$2, () => {
+ const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE);
+ for (let i = 0, len = carousels.length; i < len; i++) {
+ Carousel.carouselInterface(carousels[i], Carousel.getInstance(carousels[i]));
+ }
+ });
+ defineJQueryPlugin(Carousel);
+ var NAME$a = "collapse";
+ var DATA_KEY$9 = "bs.collapse";
+ var EVENT_KEY$9 = `.${DATA_KEY$9}`;
+ var DATA_API_KEY$5 = ".data-api";
+ var Default$9 = {
+ toggle: true,
+ parent: null
+ };
+ var DefaultType$9 = {
+ toggle: "boolean",
+ parent: "(null|element)"
+ };
+ var EVENT_SHOW$5 = `show${EVENT_KEY$9}`;
+ var EVENT_SHOWN$5 = `shown${EVENT_KEY$9}`;
+ var EVENT_HIDE$5 = `hide${EVENT_KEY$9}`;
+ var EVENT_HIDDEN$5 = `hidden${EVENT_KEY$9}`;
+ var EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$9}${DATA_API_KEY$5}`;
+ var CLASS_NAME_SHOW$7 = "show";
+ var CLASS_NAME_COLLAPSE = "collapse";
+ var CLASS_NAME_COLLAPSING = "collapsing";
+ var CLASS_NAME_COLLAPSED = "collapsed";
+ var CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`;
+ var CLASS_NAME_HORIZONTAL = "collapse-horizontal";
+ var WIDTH = "width";
+ var HEIGHT = "height";
+ var SELECTOR_ACTIVES = ".collapse.show, .collapse.collapsing";
+ var SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle="collapse"]';
+ var Collapse = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ this._isTransitioning = false;
+ this._config = this._getConfig(config);
+ this._triggerArray = [];
+ const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4);
+ for (let i = 0, len = toggleList.length; i < len; i++) {
+ const elem = toggleList[i];
+ const selector = getSelectorFromElement(elem);
+ const filterElement = SelectorEngine.find(selector).filter((foundElem) => foundElem === this._element);
+ if (selector !== null && filterElement.length) {
+ this._selector = selector;
+ this._triggerArray.push(elem);
+ }
+ }
+ this._initializeChildren();
+ if (!this._config.parent) {
+ this._addAriaAndCollapsedClass(this._triggerArray, this._isShown());
+ }
+ if (this._config.toggle) {
+ this.toggle();
+ }
+ }
+ static get Default() {
+ return Default$9;
+ }
+ static get NAME() {
+ return NAME$a;
+ }
+ toggle() {
+ if (this._isShown()) {
+ this.hide();
+ } else {
+ this.show();
+ }
+ }
+ show() {
+ if (this._isTransitioning || this._isShown()) {
+ return;
+ }
+ let actives = [];
+ let activesData;
+ if (this._config.parent) {
+ const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);
+ actives = SelectorEngine.find(SELECTOR_ACTIVES, this._config.parent).filter((elem) => !children.includes(elem));
+ }
+ const container = SelectorEngine.findOne(this._selector);
+ if (actives.length) {
+ const tempActiveData = actives.find((elem) => container !== elem);
+ activesData = tempActiveData ? Collapse.getInstance(tempActiveData) : null;
+ if (activesData && activesData._isTransitioning) {
+ return;
+ }
+ }
+ const startEvent = EventHandler.trigger(this._element, EVENT_SHOW$5);
+ if (startEvent.defaultPrevented) {
+ return;
+ }
+ actives.forEach((elemActive) => {
+ if (container !== elemActive) {
+ Collapse.getOrCreateInstance(elemActive, {
+ toggle: false
+ }).hide();
+ }
+ if (!activesData) {
+ Data.set(elemActive, DATA_KEY$9, null);
+ }
+ });
+ const dimension = this._getDimension();
+ this._element.classList.remove(CLASS_NAME_COLLAPSE);
+ this._element.classList.add(CLASS_NAME_COLLAPSING);
+ this._element.style[dimension] = 0;
+ this._addAriaAndCollapsedClass(this._triggerArray, true);
+ this._isTransitioning = true;
+ const complete = () => {
+ this._isTransitioning = false;
+ this._element.classList.remove(CLASS_NAME_COLLAPSING);
+ this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);
+ this._element.style[dimension] = "";
+ EventHandler.trigger(this._element, EVENT_SHOWN$5);
+ };
+ const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);
+ const scrollSize = `scroll${capitalizedDimension}`;
+ this._queueCallback(complete, this._element, true);
+ this._element.style[dimension] = `${this._element[scrollSize]}px`;
+ }
+ hide() {
+ if (this._isTransitioning || !this._isShown()) {
+ return;
+ }
+ const startEvent = EventHandler.trigger(this._element, EVENT_HIDE$5);
+ if (startEvent.defaultPrevented) {
+ return;
+ }
+ const dimension = this._getDimension();
+ this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`;
+ reflow(this._element);
+ this._element.classList.add(CLASS_NAME_COLLAPSING);
+ this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);
+ const triggerArrayLength = this._triggerArray.length;
+ for (let i = 0; i < triggerArrayLength; i++) {
+ const trigger = this._triggerArray[i];
+ const elem = getElementFromSelector(trigger);
+ if (elem && !this._isShown(elem)) {
+ this._addAriaAndCollapsedClass([trigger], false);
+ }
+ }
+ this._isTransitioning = true;
+ const complete = () => {
+ this._isTransitioning = false;
+ this._element.classList.remove(CLASS_NAME_COLLAPSING);
+ this._element.classList.add(CLASS_NAME_COLLAPSE);
+ EventHandler.trigger(this._element, EVENT_HIDDEN$5);
+ };
+ this._element.style[dimension] = "";
+ this._queueCallback(complete, this._element, true);
+ }
+ _isShown(element = this._element) {
+ return element.classList.contains(CLASS_NAME_SHOW$7);
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, Default$9), Manipulator.getDataAttributes(this._element)), config);
+ config.toggle = Boolean(config.toggle);
+ config.parent = getElement(config.parent);
+ typeCheckConfig(NAME$a, config, DefaultType$9);
+ return config;
+ }
+ _getDimension() {
+ return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT;
+ }
+ _initializeChildren() {
+ if (!this._config.parent) {
+ return;
+ }
+ const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);
+ SelectorEngine.find(SELECTOR_DATA_TOGGLE$4, this._config.parent).filter((elem) => !children.includes(elem)).forEach((element) => {
+ const selected = getElementFromSelector(element);
+ if (selected) {
+ this._addAriaAndCollapsedClass([element], this._isShown(selected));
+ }
+ });
+ }
+ _addAriaAndCollapsedClass(triggerArray, isOpen) {
+ if (!triggerArray.length) {
+ return;
+ }
+ triggerArray.forEach((elem) => {
+ if (isOpen) {
+ elem.classList.remove(CLASS_NAME_COLLAPSED);
+ } else {
+ elem.classList.add(CLASS_NAME_COLLAPSED);
+ }
+ elem.setAttribute("aria-expanded", isOpen);
+ });
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const _config = {};
+ if (typeof config === "string" && /show|hide/.test(config)) {
+ _config.toggle = false;
+ }
+ const data = Collapse.getOrCreateInstance(this, _config);
+ if (typeof config === "string") {
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config]();
+ }
+ });
+ }
+ };
+ EventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$4, function(event) {
+ if (event.target.tagName === "A" || event.delegateTarget && event.delegateTarget.tagName === "A") {
+ event.preventDefault();
+ }
+ const selector = getSelectorFromElement(this);
+ const selectorElements = SelectorEngine.find(selector);
+ selectorElements.forEach((element) => {
+ Collapse.getOrCreateInstance(element, {
+ toggle: false
+ }).toggle();
+ });
+ });
+ defineJQueryPlugin(Collapse);
+ var NAME$9 = "dropdown";
+ var DATA_KEY$8 = "bs.dropdown";
+ var EVENT_KEY$8 = `.${DATA_KEY$8}`;
+ var DATA_API_KEY$4 = ".data-api";
+ var ESCAPE_KEY$2 = "Escape";
+ var SPACE_KEY = "Space";
+ var TAB_KEY$1 = "Tab";
+ var ARROW_UP_KEY = "ArrowUp";
+ var ARROW_DOWN_KEY = "ArrowDown";
+ var RIGHT_MOUSE_BUTTON = 2;
+ var REGEXP_KEYDOWN = new RegExp(`${ARROW_UP_KEY}|${ARROW_DOWN_KEY}|${ESCAPE_KEY$2}`);
+ var EVENT_HIDE$4 = `hide${EVENT_KEY$8}`;
+ var EVENT_HIDDEN$4 = `hidden${EVENT_KEY$8}`;
+ var EVENT_SHOW$4 = `show${EVENT_KEY$8}`;
+ var EVENT_SHOWN$4 = `shown${EVENT_KEY$8}`;
+ var EVENT_CLICK_DATA_API$3 = `click${EVENT_KEY$8}${DATA_API_KEY$4}`;
+ var EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY$8}${DATA_API_KEY$4}`;
+ var EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY$8}${DATA_API_KEY$4}`;
+ var CLASS_NAME_SHOW$6 = "show";
+ var CLASS_NAME_DROPUP = "dropup";
+ var CLASS_NAME_DROPEND = "dropend";
+ var CLASS_NAME_DROPSTART = "dropstart";
+ var CLASS_NAME_NAVBAR = "navbar";
+ var SELECTOR_DATA_TOGGLE$3 = '[data-bs-toggle="dropdown"]';
+ 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 = isRTL() ? "top-end" : "top-start";
+ var PLACEMENT_TOPEND = isRTL() ? "top-start" : "top-end";
+ var PLACEMENT_BOTTOM = isRTL() ? "bottom-end" : "bottom-start";
+ var PLACEMENT_BOTTOMEND = isRTL() ? "bottom-start" : "bottom-end";
+ var PLACEMENT_RIGHT = isRTL() ? "left-start" : "right-start";
+ var PLACEMENT_LEFT = isRTL() ? "right-start" : "left-start";
+ var Default$8 = {
+ offset: [0, 2],
+ boundary: "clippingParents",
+ reference: "toggle",
+ display: "dynamic",
+ popperConfig: null,
+ autoClose: true
+ };
+ var DefaultType$8 = {
+ offset: "(array|string|function)",
+ boundary: "(string|element)",
+ reference: "(string|element|object)",
+ display: "string",
+ popperConfig: "(null|object|function)",
+ autoClose: "(boolean|string)"
+ };
+ var Dropdown = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ this._popper = null;
+ this._config = this._getConfig(config);
+ this._menu = this._getMenuElement();
+ this._inNavbar = this._detectNavbar();
+ }
+ static get Default() {
+ return Default$8;
+ }
+ static get DefaultType() {
+ return DefaultType$8;
+ }
+ static get NAME() {
+ return NAME$9;
+ }
+ toggle() {
+ return this._isShown() ? this.hide() : this.show();
+ }
+ show() {
+ if (isDisabled(this._element) || this._isShown(this._menu)) {
+ return;
+ }
+ const relatedTarget = {
+ relatedTarget: this._element
+ };
+ const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$4, relatedTarget);
+ if (showEvent.defaultPrevented) {
+ return;
+ }
+ const parent = Dropdown.getParentFromElement(this._element);
+ if (this._inNavbar) {
+ Manipulator.setDataAttribute(this._menu, "popper", "none");
+ } else {
+ this._createPopper(parent);
+ }
+ if ("ontouchstart" in document.documentElement && !parent.closest(SELECTOR_NAVBAR_NAV)) {
+ [].concat(...document.body.children).forEach((elem) => EventHandler.on(elem, "mouseover", noop));
+ }
+ this._element.focus();
+ this._element.setAttribute("aria-expanded", true);
+ this._menu.classList.add(CLASS_NAME_SHOW$6);
+ this._element.classList.add(CLASS_NAME_SHOW$6);
+ EventHandler.trigger(this._element, EVENT_SHOWN$4, relatedTarget);
+ }
+ hide() {
+ if (isDisabled(this._element) || !this._isShown(this._menu)) {
+ return;
+ }
+ const relatedTarget = {
+ relatedTarget: this._element
+ };
+ this._completeHide(relatedTarget);
+ }
+ dispose() {
+ if (this._popper) {
+ this._popper.destroy();
+ }
+ super.dispose();
+ }
+ update() {
+ this._inNavbar = this._detectNavbar();
+ if (this._popper) {
+ this._popper.update();
+ }
+ }
+ _completeHide(relatedTarget) {
+ const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4, relatedTarget);
+ if (hideEvent.defaultPrevented) {
+ return;
+ }
+ if ("ontouchstart" in document.documentElement) {
+ [].concat(...document.body.children).forEach((elem) => EventHandler.off(elem, "mouseover", noop));
+ }
+ if (this._popper) {
+ this._popper.destroy();
+ }
+ this._menu.classList.remove(CLASS_NAME_SHOW$6);
+ this._element.classList.remove(CLASS_NAME_SHOW$6);
+ this._element.setAttribute("aria-expanded", "false");
+ Manipulator.removeDataAttribute(this._menu, "popper");
+ EventHandler.trigger(this._element, EVENT_HIDDEN$4, relatedTarget);
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, this.constructor.Default), Manipulator.getDataAttributes(this._element)), config);
+ typeCheckConfig(NAME$9, config, this.constructor.DefaultType);
+ if (typeof config.reference === "object" && !isElement2(config.reference) && typeof config.reference.getBoundingClientRect !== "function") {
+ throw new TypeError(`${NAME$9.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);
+ }
+ return config;
+ }
+ _createPopper(parent) {
+ if (typeof lib_exports === "undefined") {
+ throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");
+ }
+ let referenceElement = this._element;
+ if (this._config.reference === "parent") {
+ referenceElement = parent;
+ } else if (isElement2(this._config.reference)) {
+ referenceElement = getElement(this._config.reference);
+ } else if (typeof this._config.reference === "object") {
+ referenceElement = this._config.reference;
+ }
+ const popperConfig = this._getPopperConfig();
+ const isDisplayStatic = popperConfig.modifiers.find((modifier) => modifier.name === "applyStyles" && modifier.enabled === false);
+ this._popper = createPopper3(referenceElement, this._menu, popperConfig);
+ if (isDisplayStatic) {
+ Manipulator.setDataAttribute(this._menu, "popper", "static");
+ }
+ }
+ _isShown(element = this._element) {
+ return element.classList.contains(CLASS_NAME_SHOW$6);
+ }
+ _getMenuElement() {
+ return SelectorEngine.next(this._element, SELECTOR_MENU)[0];
+ }
+ _getPlacement() {
+ const parentDropdown = this._element.parentNode;
+ if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
+ return PLACEMENT_RIGHT;
+ }
+ if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
+ return PLACEMENT_LEFT;
+ }
+ const isEnd = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
+ if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
+ return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;
+ }
+ return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;
+ }
+ _detectNavbar() {
+ return this._element.closest(`.${CLASS_NAME_NAVBAR}`) !== null;
+ }
+ _getOffset() {
+ const {
+ offset: offset2
+ } = this._config;
+ if (typeof offset2 === "string") {
+ return offset2.split(",").map((val) => Number.parseInt(val, 10));
+ }
+ if (typeof offset2 === "function") {
+ return (popperData) => offset2(popperData, this._element);
+ }
+ return offset2;
+ }
+ _getPopperConfig() {
+ const defaultBsPopperConfig = {
+ placement: this._getPlacement(),
+ modifiers: [{
+ name: "preventOverflow",
+ options: {
+ boundary: this._config.boundary
+ }
+ }, {
+ name: "offset",
+ options: {
+ offset: this._getOffset()
+ }
+ }]
+ };
+ if (this._config.display === "static") {
+ defaultBsPopperConfig.modifiers = [{
+ name: "applyStyles",
+ enabled: false
+ }];
+ }
+ return __spreadValues(__spreadValues({}, defaultBsPopperConfig), typeof this._config.popperConfig === "function" ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig);
+ }
+ _selectMenuItem({
+ key,
+ target
+ }) {
+ const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(isVisible);
+ if (!items.length) {
+ return;
+ }
+ getNextActiveElement(items, target, key === ARROW_DOWN_KEY, !items.includes(target)).focus();
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Dropdown.getOrCreateInstance(this, config);
+ if (typeof config !== "string") {
+ return;
+ }
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config]();
+ });
+ }
+ static clearMenus(event) {
+ if (event && (event.button === RIGHT_MOUSE_BUTTON || event.type === "keyup" && event.key !== TAB_KEY$1)) {
+ return;
+ }
+ const toggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE$3);
+ for (let i = 0, len = toggles.length; i < len; i++) {
+ const context = Dropdown.getInstance(toggles[i]);
+ if (!context || context._config.autoClose === false) {
+ continue;
+ }
+ if (!context._isShown()) {
+ continue;
+ }
+ const relatedTarget = {
+ relatedTarget: context._element
+ };
+ if (event) {
+ const composedPath = event.composedPath();
+ const isMenuTarget = composedPath.includes(context._menu);
+ if (composedPath.includes(context._element) || context._config.autoClose === "inside" && !isMenuTarget || context._config.autoClose === "outside" && isMenuTarget) {
+ continue;
+ }
+ if (context._menu.contains(event.target) && (event.type === "keyup" && event.key === TAB_KEY$1 || /input|select|option|textarea|form/i.test(event.target.tagName))) {
+ continue;
+ }
+ if (event.type === "click") {
+ relatedTarget.clickEvent = event;
+ }
+ }
+ context._completeHide(relatedTarget);
+ }
+ }
+ static getParentFromElement(element) {
+ return getElementFromSelector(element) || element.parentNode;
+ }
+ static dataApiKeydownHandler(event) {
+ if (/input|textarea/i.test(event.target.tagName) ? event.key === SPACE_KEY || event.key !== ESCAPE_KEY$2 && (event.key !== ARROW_DOWN_KEY && event.key !== ARROW_UP_KEY || event.target.closest(SELECTOR_MENU)) : !REGEXP_KEYDOWN.test(event.key)) {
+ return;
+ }
+ const isActive = this.classList.contains(CLASS_NAME_SHOW$6);
+ if (!isActive && event.key === ESCAPE_KEY$2) {
+ return;
+ }
+ event.preventDefault();
+ event.stopPropagation();
+ if (isDisabled(this)) {
+ return;
+ }
+ const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0];
+ const instance = Dropdown.getOrCreateInstance(getToggleButton);
+ if (event.key === ESCAPE_KEY$2) {
+ instance.hide();
+ return;
+ }
+ if (event.key === ARROW_UP_KEY || event.key === ARROW_DOWN_KEY) {
+ if (!isActive) {
+ instance.show();
+ }
+ instance._selectMenuItem(event);
+ return;
+ }
+ if (!isActive || event.key === SPACE_KEY) {
+ Dropdown.clearMenus();
+ }
+ }
+ };
+ EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$3, Dropdown.dataApiKeydownHandler);
+ EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler);
+ EventHandler.on(document, EVENT_CLICK_DATA_API$3, Dropdown.clearMenus);
+ EventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus);
+ EventHandler.on(document, EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$3, function(event) {
+ event.preventDefault();
+ Dropdown.getOrCreateInstance(this).toggle();
+ });
+ defineJQueryPlugin(Dropdown);
+ var SELECTOR_FIXED_CONTENT = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";
+ var SELECTOR_STICKY_CONTENT = ".sticky-top";
+ var ScrollBarHelper = class {
+ constructor() {
+ this._element = document.body;
+ }
+ getWidth() {
+ const documentWidth = document.documentElement.clientWidth;
+ return Math.abs(window.innerWidth - documentWidth);
+ }
+ hide() {
+ const width = this.getWidth();
+ this._disableOverFlow();
+ this._setElementAttributes(this._element, "paddingRight", (calculatedValue) => calculatedValue + width);
+ this._setElementAttributes(SELECTOR_FIXED_CONTENT, "paddingRight", (calculatedValue) => calculatedValue + width);
+ this._setElementAttributes(SELECTOR_STICKY_CONTENT, "marginRight", (calculatedValue) => calculatedValue - width);
+ }
+ _disableOverFlow() {
+ this._saveInitialAttribute(this._element, "overflow");
+ this._element.style.overflow = "hidden";
+ }
+ _setElementAttributes(selector, styleProp, callback) {
+ const scrollbarWidth = this.getWidth();
+ const manipulationCallBack = (element) => {
+ if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) {
+ return;
+ }
+ this._saveInitialAttribute(element, styleProp);
+ const calculatedValue = window.getComputedStyle(element)[styleProp];
+ element.style[styleProp] = `${callback(Number.parseFloat(calculatedValue))}px`;
+ };
+ this._applyManipulationCallback(selector, manipulationCallBack);
+ }
+ reset() {
+ this._resetElementAttributes(this._element, "overflow");
+ this._resetElementAttributes(this._element, "paddingRight");
+ this._resetElementAttributes(SELECTOR_FIXED_CONTENT, "paddingRight");
+ this._resetElementAttributes(SELECTOR_STICKY_CONTENT, "marginRight");
+ }
+ _saveInitialAttribute(element, styleProp) {
+ const actualValue = element.style[styleProp];
+ if (actualValue) {
+ Manipulator.setDataAttribute(element, styleProp, actualValue);
+ }
+ }
+ _resetElementAttributes(selector, styleProp) {
+ const manipulationCallBack = (element) => {
+ const value = Manipulator.getDataAttribute(element, styleProp);
+ if (typeof value === "undefined") {
+ element.style.removeProperty(styleProp);
+ } else {
+ Manipulator.removeDataAttribute(element, styleProp);
+ element.style[styleProp] = value;
+ }
+ };
+ this._applyManipulationCallback(selector, manipulationCallBack);
+ }
+ _applyManipulationCallback(selector, callBack) {
+ if (isElement2(selector)) {
+ callBack(selector);
+ } else {
+ SelectorEngine.find(selector, this._element).forEach(callBack);
+ }
+ }
+ isOverflowing() {
+ return this.getWidth() > 0;
+ }
+ };
+ var Default$7 = {
+ className: "modal-backdrop",
+ isVisible: true,
+ isAnimated: false,
+ rootElement: "body",
+ clickCallback: null
+ };
+ var DefaultType$7 = {
+ className: "string",
+ isVisible: "boolean",
+ isAnimated: "boolean",
+ rootElement: "(element|string)",
+ clickCallback: "(function|null)"
+ };
+ var NAME$8 = "backdrop";
+ var CLASS_NAME_FADE$4 = "fade";
+ var CLASS_NAME_SHOW$5 = "show";
+ var EVENT_MOUSEDOWN = `mousedown.bs.${NAME$8}`;
+ var Backdrop = class {
+ constructor(config) {
+ this._config = this._getConfig(config);
+ this._isAppended = false;
+ this._element = null;
+ }
+ show(callback) {
+ if (!this._config.isVisible) {
+ execute(callback);
+ return;
+ }
+ this._append();
+ if (this._config.isAnimated) {
+ reflow(this._getElement());
+ }
+ this._getElement().classList.add(CLASS_NAME_SHOW$5);
+ this._emulateAnimation(() => {
+ execute(callback);
+ });
+ }
+ hide(callback) {
+ if (!this._config.isVisible) {
+ execute(callback);
+ return;
+ }
+ this._getElement().classList.remove(CLASS_NAME_SHOW$5);
+ this._emulateAnimation(() => {
+ this.dispose();
+ execute(callback);
+ });
+ }
+ _getElement() {
+ if (!this._element) {
+ const backdrop = document.createElement("div");
+ backdrop.className = this._config.className;
+ if (this._config.isAnimated) {
+ backdrop.classList.add(CLASS_NAME_FADE$4);
+ }
+ this._element = backdrop;
+ }
+ return this._element;
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues({}, Default$7), typeof config === "object" ? config : {});
+ config.rootElement = getElement(config.rootElement);
+ typeCheckConfig(NAME$8, config, DefaultType$7);
+ return config;
+ }
+ _append() {
+ if (this._isAppended) {
+ return;
+ }
+ this._config.rootElement.append(this._getElement());
+ EventHandler.on(this._getElement(), EVENT_MOUSEDOWN, () => {
+ execute(this._config.clickCallback);
+ });
+ this._isAppended = true;
+ }
+ dispose() {
+ if (!this._isAppended) {
+ return;
+ }
+ EventHandler.off(this._element, EVENT_MOUSEDOWN);
+ this._element.remove();
+ this._isAppended = false;
+ }
+ _emulateAnimation(callback) {
+ executeAfterTransition(callback, this._getElement(), this._config.isAnimated);
+ }
+ };
+ var Default$6 = {
+ trapElement: null,
+ autofocus: true
+ };
+ var DefaultType$6 = {
+ trapElement: "element",
+ autofocus: "boolean"
+ };
+ var NAME$7 = "focustrap";
+ var DATA_KEY$7 = "bs.focustrap";
+ var EVENT_KEY$7 = `.${DATA_KEY$7}`;
+ var EVENT_FOCUSIN$1 = `focusin${EVENT_KEY$7}`;
+ var EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY$7}`;
+ var TAB_KEY = "Tab";
+ var TAB_NAV_FORWARD = "forward";
+ var TAB_NAV_BACKWARD = "backward";
+ var FocusTrap = class {
+ constructor(config) {
+ this._config = this._getConfig(config);
+ this._isActive = false;
+ this._lastTabNavDirection = null;
+ }
+ activate() {
+ const {
+ trapElement,
+ autofocus
+ } = this._config;
+ if (this._isActive) {
+ return;
+ }
+ if (autofocus) {
+ trapElement.focus();
+ }
+ EventHandler.off(document, EVENT_KEY$7);
+ EventHandler.on(document, EVENT_FOCUSIN$1, (event) => this._handleFocusin(event));
+ EventHandler.on(document, EVENT_KEYDOWN_TAB, (event) => this._handleKeydown(event));
+ this._isActive = true;
+ }
+ deactivate() {
+ if (!this._isActive) {
+ return;
+ }
+ this._isActive = false;
+ EventHandler.off(document, EVENT_KEY$7);
+ }
+ _handleFocusin(event) {
+ const {
+ target
+ } = event;
+ const {
+ trapElement
+ } = this._config;
+ if (target === document || target === trapElement || trapElement.contains(target)) {
+ return;
+ }
+ const elements = SelectorEngine.focusableChildren(trapElement);
+ if (elements.length === 0) {
+ trapElement.focus();
+ } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) {
+ elements[elements.length - 1].focus();
+ } else {
+ elements[0].focus();
+ }
+ }
+ _handleKeydown(event) {
+ if (event.key !== TAB_KEY) {
+ return;
+ }
+ this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD;
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues({}, Default$6), typeof config === "object" ? config : {});
+ typeCheckConfig(NAME$7, config, DefaultType$6);
+ return config;
+ }
+ };
+ var NAME$6 = "modal";
+ var DATA_KEY$6 = "bs.modal";
+ var EVENT_KEY$6 = `.${DATA_KEY$6}`;
+ var DATA_API_KEY$3 = ".data-api";
+ var ESCAPE_KEY$1 = "Escape";
+ var Default$5 = {
+ backdrop: true,
+ keyboard: true,
+ focus: true
+ };
+ var DefaultType$5 = {
+ backdrop: "(boolean|string)",
+ keyboard: "boolean",
+ focus: "boolean"
+ };
+ var EVENT_HIDE$3 = `hide${EVENT_KEY$6}`;
+ var EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY$6}`;
+ var EVENT_HIDDEN$3 = `hidden${EVENT_KEY$6}`;
+ var EVENT_SHOW$3 = `show${EVENT_KEY$6}`;
+ var EVENT_SHOWN$3 = `shown${EVENT_KEY$6}`;
+ var EVENT_RESIZE = `resize${EVENT_KEY$6}`;
+ var EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY$6}`;
+ var EVENT_KEYDOWN_DISMISS$1 = `keydown.dismiss${EVENT_KEY$6}`;
+ var EVENT_MOUSEUP_DISMISS = `mouseup.dismiss${EVENT_KEY$6}`;
+ var EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY$6}`;
+ var EVENT_CLICK_DATA_API$2 = `click${EVENT_KEY$6}${DATA_API_KEY$3}`;
+ var CLASS_NAME_OPEN = "modal-open";
+ var CLASS_NAME_FADE$3 = "fade";
+ var CLASS_NAME_SHOW$4 = "show";
+ var CLASS_NAME_STATIC = "modal-static";
+ var OPEN_SELECTOR$1 = ".modal.show";
+ var SELECTOR_DIALOG = ".modal-dialog";
+ var SELECTOR_MODAL_BODY = ".modal-body";
+ var SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle="modal"]';
+ var Modal = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ this._config = this._getConfig(config);
+ this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element);
+ this._backdrop = this._initializeBackDrop();
+ this._focustrap = this._initializeFocusTrap();
+ this._isShown = false;
+ this._ignoreBackdropClick = false;
+ this._isTransitioning = false;
+ this._scrollBar = new ScrollBarHelper();
+ }
+ static get Default() {
+ return Default$5;
+ }
+ static get NAME() {
+ return NAME$6;
+ }
+ toggle(relatedTarget) {
+ return this._isShown ? this.hide() : this.show(relatedTarget);
+ }
+ show(relatedTarget) {
+ if (this._isShown || this._isTransitioning) {
+ return;
+ }
+ const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$3, {
+ relatedTarget
+ });
+ if (showEvent.defaultPrevented) {
+ return;
+ }
+ this._isShown = true;
+ if (this._isAnimated()) {
+ this._isTransitioning = true;
+ }
+ this._scrollBar.hide();
+ document.body.classList.add(CLASS_NAME_OPEN);
+ this._adjustDialog();
+ this._setEscapeEvent();
+ this._setResizeEvent();
+ EventHandler.on(this._dialog, EVENT_MOUSEDOWN_DISMISS, () => {
+ EventHandler.one(this._element, EVENT_MOUSEUP_DISMISS, (event) => {
+ if (event.target === this._element) {
+ this._ignoreBackdropClick = true;
+ }
+ });
+ });
+ this._showBackdrop(() => this._showElement(relatedTarget));
+ }
+ hide() {
+ if (!this._isShown || this._isTransitioning) {
+ return;
+ }
+ const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$3);
+ if (hideEvent.defaultPrevented) {
+ return;
+ }
+ this._isShown = false;
+ const isAnimated = this._isAnimated();
+ if (isAnimated) {
+ this._isTransitioning = true;
+ }
+ this._setEscapeEvent();
+ this._setResizeEvent();
+ this._focustrap.deactivate();
+ this._element.classList.remove(CLASS_NAME_SHOW$4);
+ EventHandler.off(this._element, EVENT_CLICK_DISMISS);
+ EventHandler.off(this._dialog, EVENT_MOUSEDOWN_DISMISS);
+ this._queueCallback(() => this._hideModal(), this._element, isAnimated);
+ }
+ dispose() {
+ [window, this._dialog].forEach((htmlElement) => EventHandler.off(htmlElement, EVENT_KEY$6));
+ this._backdrop.dispose();
+ this._focustrap.deactivate();
+ super.dispose();
+ }
+ handleUpdate() {
+ this._adjustDialog();
+ }
+ _initializeBackDrop() {
+ return new Backdrop({
+ isVisible: Boolean(this._config.backdrop),
+ isAnimated: this._isAnimated()
+ });
+ }
+ _initializeFocusTrap() {
+ return new FocusTrap({
+ trapElement: this._element
+ });
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, Default$5), Manipulator.getDataAttributes(this._element)), typeof config === "object" ? config : {});
+ typeCheckConfig(NAME$6, config, DefaultType$5);
+ return config;
+ }
+ _showElement(relatedTarget) {
+ const isAnimated = this._isAnimated();
+ const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog);
+ if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {
+ document.body.append(this._element);
+ }
+ this._element.style.display = "block";
+ this._element.removeAttribute("aria-hidden");
+ this._element.setAttribute("aria-modal", true);
+ this._element.setAttribute("role", "dialog");
+ this._element.scrollTop = 0;
+ if (modalBody) {
+ modalBody.scrollTop = 0;
+ }
+ if (isAnimated) {
+ reflow(this._element);
+ }
+ this._element.classList.add(CLASS_NAME_SHOW$4);
+ const transitionComplete = () => {
+ if (this._config.focus) {
+ this._focustrap.activate();
+ }
+ this._isTransitioning = false;
+ EventHandler.trigger(this._element, EVENT_SHOWN$3, {
+ relatedTarget
+ });
+ };
+ this._queueCallback(transitionComplete, this._dialog, isAnimated);
+ }
+ _setEscapeEvent() {
+ if (this._isShown) {
+ EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS$1, (event) => {
+ if (this._config.keyboard && event.key === ESCAPE_KEY$1) {
+ event.preventDefault();
+ this.hide();
+ } else if (!this._config.keyboard && event.key === ESCAPE_KEY$1) {
+ this._triggerBackdropTransition();
+ }
+ });
+ } else {
+ EventHandler.off(this._element, EVENT_KEYDOWN_DISMISS$1);
+ }
+ }
+ _setResizeEvent() {
+ if (this._isShown) {
+ EventHandler.on(window, EVENT_RESIZE, () => this._adjustDialog());
+ } else {
+ EventHandler.off(window, EVENT_RESIZE);
+ }
+ }
+ _hideModal() {
+ this._element.style.display = "none";
+ this._element.setAttribute("aria-hidden", true);
+ this._element.removeAttribute("aria-modal");
+ this._element.removeAttribute("role");
+ this._isTransitioning = false;
+ this._backdrop.hide(() => {
+ document.body.classList.remove(CLASS_NAME_OPEN);
+ this._resetAdjustments();
+ this._scrollBar.reset();
+ EventHandler.trigger(this._element, EVENT_HIDDEN$3);
+ });
+ }
+ _showBackdrop(callback) {
+ EventHandler.on(this._element, EVENT_CLICK_DISMISS, (event) => {
+ if (this._ignoreBackdropClick) {
+ this._ignoreBackdropClick = false;
+ return;
+ }
+ if (event.target !== event.currentTarget) {
+ return;
+ }
+ if (this._config.backdrop === true) {
+ this.hide();
+ } else if (this._config.backdrop === "static") {
+ this._triggerBackdropTransition();
+ }
+ });
+ this._backdrop.show(callback);
+ }
+ _isAnimated() {
+ return this._element.classList.contains(CLASS_NAME_FADE$3);
+ }
+ _triggerBackdropTransition() {
+ const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);
+ if (hideEvent.defaultPrevented) {
+ return;
+ }
+ const {
+ classList,
+ scrollHeight,
+ style
+ } = this._element;
+ const isModalOverflowing = scrollHeight > document.documentElement.clientHeight;
+ if (!isModalOverflowing && style.overflowY === "hidden" || classList.contains(CLASS_NAME_STATIC)) {
+ return;
+ }
+ if (!isModalOverflowing) {
+ style.overflowY = "hidden";
+ }
+ classList.add(CLASS_NAME_STATIC);
+ this._queueCallback(() => {
+ classList.remove(CLASS_NAME_STATIC);
+ if (!isModalOverflowing) {
+ this._queueCallback(() => {
+ style.overflowY = "";
+ }, this._dialog);
+ }
+ }, this._dialog);
+ this._element.focus();
+ }
+ _adjustDialog() {
+ const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
+ const scrollbarWidth = this._scrollBar.getWidth();
+ const isBodyOverflowing = scrollbarWidth > 0;
+ if (!isBodyOverflowing && isModalOverflowing && !isRTL() || isBodyOverflowing && !isModalOverflowing && isRTL()) {
+ this._element.style.paddingLeft = `${scrollbarWidth}px`;
+ }
+ if (isBodyOverflowing && !isModalOverflowing && !isRTL() || !isBodyOverflowing && isModalOverflowing && isRTL()) {
+ this._element.style.paddingRight = `${scrollbarWidth}px`;
+ }
+ }
+ _resetAdjustments() {
+ this._element.style.paddingLeft = "";
+ this._element.style.paddingRight = "";
+ }
+ static jQueryInterface(config, relatedTarget) {
+ return this.each(function() {
+ const data = Modal.getOrCreateInstance(this, config);
+ if (typeof config !== "string") {
+ return;
+ }
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config](relatedTarget);
+ });
+ }
+ };
+ EventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function(event) {
+ const target = getElementFromSelector(this);
+ if (["A", "AREA"].includes(this.tagName)) {
+ event.preventDefault();
+ }
+ EventHandler.one(target, EVENT_SHOW$3, (showEvent) => {
+ if (showEvent.defaultPrevented) {
+ return;
+ }
+ EventHandler.one(target, EVENT_HIDDEN$3, () => {
+ if (isVisible(this)) {
+ this.focus();
+ }
+ });
+ });
+ const allReadyOpen = SelectorEngine.findOne(OPEN_SELECTOR$1);
+ if (allReadyOpen) {
+ Modal.getInstance(allReadyOpen).hide();
+ }
+ const data = Modal.getOrCreateInstance(target);
+ data.toggle(this);
+ });
+ enableDismissTrigger(Modal);
+ defineJQueryPlugin(Modal);
+ var NAME$5 = "offcanvas";
+ var DATA_KEY$5 = "bs.offcanvas";
+ var EVENT_KEY$5 = `.${DATA_KEY$5}`;
+ var DATA_API_KEY$2 = ".data-api";
+ var EVENT_LOAD_DATA_API$1 = `load${EVENT_KEY$5}${DATA_API_KEY$2}`;
+ var ESCAPE_KEY = "Escape";
+ var Default$4 = {
+ backdrop: true,
+ keyboard: true,
+ scroll: false
+ };
+ var DefaultType$4 = {
+ backdrop: "boolean",
+ keyboard: "boolean",
+ scroll: "boolean"
+ };
+ var CLASS_NAME_SHOW$3 = "show";
+ var CLASS_NAME_BACKDROP = "offcanvas-backdrop";
+ var OPEN_SELECTOR = ".offcanvas.show";
+ var EVENT_SHOW$2 = `show${EVENT_KEY$5}`;
+ var EVENT_SHOWN$2 = `shown${EVENT_KEY$5}`;
+ var EVENT_HIDE$2 = `hide${EVENT_KEY$5}`;
+ var EVENT_HIDDEN$2 = `hidden${EVENT_KEY$5}`;
+ var EVENT_CLICK_DATA_API$1 = `click${EVENT_KEY$5}${DATA_API_KEY$2}`;
+ var EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY$5}`;
+ var SELECTOR_DATA_TOGGLE$1 = '[data-bs-toggle="offcanvas"]';
+ var Offcanvas = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ this._config = this._getConfig(config);
+ this._isShown = false;
+ this._backdrop = this._initializeBackDrop();
+ this._focustrap = this._initializeFocusTrap();
+ this._addEventListeners();
+ }
+ static get NAME() {
+ return NAME$5;
+ }
+ static get Default() {
+ return Default$4;
+ }
+ toggle(relatedTarget) {
+ return this._isShown ? this.hide() : this.show(relatedTarget);
+ }
+ show(relatedTarget) {
+ if (this._isShown) {
+ return;
+ }
+ const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$2, {
+ relatedTarget
+ });
+ if (showEvent.defaultPrevented) {
+ return;
+ }
+ this._isShown = true;
+ this._element.style.visibility = "visible";
+ this._backdrop.show();
+ if (!this._config.scroll) {
+ new ScrollBarHelper().hide();
+ }
+ this._element.removeAttribute("aria-hidden");
+ this._element.setAttribute("aria-modal", true);
+ this._element.setAttribute("role", "dialog");
+ this._element.classList.add(CLASS_NAME_SHOW$3);
+ const completeCallBack = () => {
+ if (!this._config.scroll) {
+ this._focustrap.activate();
+ }
+ EventHandler.trigger(this._element, EVENT_SHOWN$2, {
+ relatedTarget
+ });
+ };
+ this._queueCallback(completeCallBack, this._element, true);
+ }
+ hide() {
+ if (!this._isShown) {
+ return;
+ }
+ const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$2);
+ if (hideEvent.defaultPrevented) {
+ return;
+ }
+ this._focustrap.deactivate();
+ this._element.blur();
+ this._isShown = false;
+ this._element.classList.remove(CLASS_NAME_SHOW$3);
+ this._backdrop.hide();
+ const completeCallback = () => {
+ this._element.setAttribute("aria-hidden", true);
+ this._element.removeAttribute("aria-modal");
+ this._element.removeAttribute("role");
+ this._element.style.visibility = "hidden";
+ if (!this._config.scroll) {
+ new ScrollBarHelper().reset();
+ }
+ EventHandler.trigger(this._element, EVENT_HIDDEN$2);
+ };
+ this._queueCallback(completeCallback, this._element, true);
+ }
+ dispose() {
+ this._backdrop.dispose();
+ this._focustrap.deactivate();
+ super.dispose();
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, Default$4), Manipulator.getDataAttributes(this._element)), typeof config === "object" ? config : {});
+ typeCheckConfig(NAME$5, config, DefaultType$4);
+ return config;
+ }
+ _initializeBackDrop() {
+ return new Backdrop({
+ className: CLASS_NAME_BACKDROP,
+ isVisible: this._config.backdrop,
+ isAnimated: true,
+ rootElement: this._element.parentNode,
+ clickCallback: () => this.hide()
+ });
+ }
+ _initializeFocusTrap() {
+ return new FocusTrap({
+ trapElement: this._element
+ });
+ }
+ _addEventListeners() {
+ EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, (event) => {
+ if (this._config.keyboard && event.key === ESCAPE_KEY) {
+ this.hide();
+ }
+ });
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Offcanvas.getOrCreateInstance(this, config);
+ if (typeof config !== "string") {
+ return;
+ }
+ if (data[config] === void 0 || config.startsWith("_") || config === "constructor") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config](this);
+ });
+ }
+ };
+ EventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function(event) {
+ const target = getElementFromSelector(this);
+ if (["A", "AREA"].includes(this.tagName)) {
+ event.preventDefault();
+ }
+ if (isDisabled(this)) {
+ return;
+ }
+ EventHandler.one(target, EVENT_HIDDEN$2, () => {
+ if (isVisible(this)) {
+ this.focus();
+ }
+ });
+ const allReadyOpen = SelectorEngine.findOne(OPEN_SELECTOR);
+ if (allReadyOpen && allReadyOpen !== target) {
+ Offcanvas.getInstance(allReadyOpen).hide();
+ }
+ const data = Offcanvas.getOrCreateInstance(target);
+ data.toggle(this);
+ });
+ EventHandler.on(window, EVENT_LOAD_DATA_API$1, () => SelectorEngine.find(OPEN_SELECTOR).forEach((el) => Offcanvas.getOrCreateInstance(el).show()));
+ enableDismissTrigger(Offcanvas);
+ defineJQueryPlugin(Offcanvas);
+ var uriAttributes = new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]);
+ var ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i;
+ var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i;
+ 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;
+ var allowedAttribute = (attribute, allowedAttributeList) => {
+ const attributeName = attribute.nodeName.toLowerCase();
+ if (allowedAttributeList.includes(attributeName)) {
+ if (uriAttributes.has(attributeName)) {
+ return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue) || DATA_URL_PATTERN.test(attribute.nodeValue));
+ }
+ return true;
+ }
+ const regExp = allowedAttributeList.filter((attributeRegex) => attributeRegex instanceof RegExp);
+ for (let i = 0, len = regExp.length; i < len; i++) {
+ if (regExp[i].test(attributeName)) {
+ return true;
+ }
+ }
+ return false;
+ };
+ var DefaultAllowlist = {
+ "*": ["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: []
+ };
+ function sanitizeHtml(unsafeHtml, allowList, sanitizeFn) {
+ if (!unsafeHtml.length) {
+ return unsafeHtml;
+ }
+ if (sanitizeFn && typeof sanitizeFn === "function") {
+ return sanitizeFn(unsafeHtml);
+ }
+ const domParser = new window.DOMParser();
+ const createdDocument = domParser.parseFromString(unsafeHtml, "text/html");
+ const elements = [].concat(...createdDocument.body.querySelectorAll("*"));
+ for (let i = 0, len = elements.length; i < len; i++) {
+ const element = elements[i];
+ const elementName = element.nodeName.toLowerCase();
+ if (!Object.keys(allowList).includes(elementName)) {
+ element.remove();
+ continue;
+ }
+ const attributeList = [].concat(...element.attributes);
+ const allowedAttributes = [].concat(allowList["*"] || [], allowList[elementName] || []);
+ attributeList.forEach((attribute) => {
+ if (!allowedAttribute(attribute, allowedAttributes)) {
+ element.removeAttribute(attribute.nodeName);
+ }
+ });
+ }
+ return createdDocument.body.innerHTML;
+ }
+ var NAME$4 = "tooltip";
+ var DATA_KEY$4 = "bs.tooltip";
+ var EVENT_KEY$4 = `.${DATA_KEY$4}`;
+ var CLASS_PREFIX$1 = "bs-tooltip";
+ var DISALLOWED_ATTRIBUTES = new Set(["sanitize", "allowList", "sanitizeFn"]);
+ var DefaultType$3 = {
+ animation: "boolean",
+ template: "string",
+ title: "(string|element|function)",
+ trigger: "string",
+ delay: "(number|object)",
+ html: "boolean",
+ selector: "(string|boolean)",
+ placement: "(string|function)",
+ offset: "(array|string|function)",
+ container: "(string|element|boolean)",
+ fallbackPlacements: "array",
+ boundary: "(string|element)",
+ customClass: "(string|function)",
+ sanitize: "boolean",
+ sanitizeFn: "(null|function)",
+ allowList: "object",
+ popperConfig: "(null|object|function)"
+ };
+ var AttachmentMap = {
+ AUTO: "auto",
+ TOP: "top",
+ RIGHT: isRTL() ? "left" : "right",
+ BOTTOM: "bottom",
+ LEFT: isRTL() ? "right" : "left"
+ };
+ var Default$3 = {
+ animation: true,
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
+ trigger: "hover focus",
+ title: "",
+ delay: 0,
+ html: false,
+ selector: false,
+ placement: "top",
+ offset: [0, 0],
+ container: false,
+ fallbackPlacements: ["top", "right", "bottom", "left"],
+ boundary: "clippingParents",
+ customClass: "",
+ sanitize: true,
+ sanitizeFn: null,
+ allowList: DefaultAllowlist,
+ popperConfig: null
+ };
+ var Event$2 = {
+ HIDE: `hide${EVENT_KEY$4}`,
+ HIDDEN: `hidden${EVENT_KEY$4}`,
+ SHOW: `show${EVENT_KEY$4}`,
+ SHOWN: `shown${EVENT_KEY$4}`,
+ INSERTED: `inserted${EVENT_KEY$4}`,
+ CLICK: `click${EVENT_KEY$4}`,
+ FOCUSIN: `focusin${EVENT_KEY$4}`,
+ FOCUSOUT: `focusout${EVENT_KEY$4}`,
+ MOUSEENTER: `mouseenter${EVENT_KEY$4}`,
+ MOUSELEAVE: `mouseleave${EVENT_KEY$4}`
+ };
+ var CLASS_NAME_FADE$2 = "fade";
+ var CLASS_NAME_MODAL = "modal";
+ var CLASS_NAME_SHOW$2 = "show";
+ var HOVER_STATE_SHOW = "show";
+ var HOVER_STATE_OUT = "out";
+ var SELECTOR_TOOLTIP_INNER = ".tooltip-inner";
+ var SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`;
+ var EVENT_MODAL_HIDE = "hide.bs.modal";
+ var TRIGGER_HOVER = "hover";
+ var TRIGGER_FOCUS = "focus";
+ var TRIGGER_CLICK = "click";
+ var TRIGGER_MANUAL = "manual";
+ var Tooltip = class extends BaseComponent {
+ constructor(element, config) {
+ if (typeof lib_exports === "undefined") {
+ throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");
+ }
+ super(element);
+ this._isEnabled = true;
+ this._timeout = 0;
+ this._hoverState = "";
+ this._activeTrigger = {};
+ this._popper = null;
+ this._config = this._getConfig(config);
+ this.tip = null;
+ this._setListeners();
+ }
+ static get Default() {
+ return Default$3;
+ }
+ static get NAME() {
+ return NAME$4;
+ }
+ static get Event() {
+ return Event$2;
+ }
+ static get DefaultType() {
+ return DefaultType$3;
+ }
+ enable() {
+ this._isEnabled = true;
+ }
+ disable() {
+ this._isEnabled = false;
+ }
+ toggleEnabled() {
+ this._isEnabled = !this._isEnabled;
+ }
+ toggle(event) {
+ if (!this._isEnabled) {
+ return;
+ }
+ if (event) {
+ const context = this._initializeOnDelegatedTarget(event);
+ context._activeTrigger.click = !context._activeTrigger.click;
+ if (context._isWithActiveTrigger()) {
+ context._enter(null, context);
+ } else {
+ context._leave(null, context);
+ }
+ } else {
+ if (this.getTipElement().classList.contains(CLASS_NAME_SHOW$2)) {
+ this._leave(null, this);
+ return;
+ }
+ this._enter(null, this);
+ }
+ }
+ dispose() {
+ clearTimeout(this._timeout);
+ EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
+ if (this.tip) {
+ this.tip.remove();
+ }
+ this._disposePopper();
+ super.dispose();
+ }
+ show() {
+ if (this._element.style.display === "none") {
+ throw new Error("Please use show on visible elements");
+ }
+ if (!(this.isWithContent() && this._isEnabled)) {
+ return;
+ }
+ const showEvent = EventHandler.trigger(this._element, this.constructor.Event.SHOW);
+ const shadowRoot = findShadowRoot(this._element);
+ const isInTheDom = shadowRoot === null ? this._element.ownerDocument.documentElement.contains(this._element) : shadowRoot.contains(this._element);
+ if (showEvent.defaultPrevented || !isInTheDom) {
+ return;
+ }
+ if (this.constructor.NAME === "tooltip" && this.tip && this.getTitle() !== this.tip.querySelector(SELECTOR_TOOLTIP_INNER).innerHTML) {
+ this._disposePopper();
+ this.tip.remove();
+ this.tip = null;
+ }
+ const tip = this.getTipElement();
+ const tipId = getUID(this.constructor.NAME);
+ tip.setAttribute("id", tipId);
+ this._element.setAttribute("aria-describedby", tipId);
+ if (this._config.animation) {
+ tip.classList.add(CLASS_NAME_FADE$2);
+ }
+ const placement = typeof this._config.placement === "function" ? this._config.placement.call(this, tip, this._element) : this._config.placement;
+ const attachment = this._getAttachment(placement);
+ this._addAttachmentClass(attachment);
+ const {
+ container
+ } = this._config;
+ Data.set(tip, this.constructor.DATA_KEY, this);
+ if (!this._element.ownerDocument.documentElement.contains(this.tip)) {
+ container.append(tip);
+ EventHandler.trigger(this._element, this.constructor.Event.INSERTED);
+ }
+ if (this._popper) {
+ this._popper.update();
+ } else {
+ this._popper = createPopper3(this._element, tip, this._getPopperConfig(attachment));
+ }
+ tip.classList.add(CLASS_NAME_SHOW$2);
+ const customClass = this._resolvePossibleFunction(this._config.customClass);
+ if (customClass) {
+ tip.classList.add(...customClass.split(" "));
+ }
+ if ("ontouchstart" in document.documentElement) {
+ [].concat(...document.body.children).forEach((element) => {
+ EventHandler.on(element, "mouseover", noop);
+ });
+ }
+ const complete = () => {
+ const prevHoverState = this._hoverState;
+ this._hoverState = null;
+ EventHandler.trigger(this._element, this.constructor.Event.SHOWN);
+ if (prevHoverState === HOVER_STATE_OUT) {
+ this._leave(null, this);
+ }
+ };
+ const isAnimated = this.tip.classList.contains(CLASS_NAME_FADE$2);
+ this._queueCallback(complete, this.tip, isAnimated);
+ }
+ hide() {
+ if (!this._popper) {
+ return;
+ }
+ const tip = this.getTipElement();
+ const complete = () => {
+ if (this._isWithActiveTrigger()) {
+ return;
+ }
+ if (this._hoverState !== HOVER_STATE_SHOW) {
+ tip.remove();
+ }
+ this._cleanTipClass();
+ this._element.removeAttribute("aria-describedby");
+ EventHandler.trigger(this._element, this.constructor.Event.HIDDEN);
+ this._disposePopper();
+ };
+ const hideEvent = EventHandler.trigger(this._element, this.constructor.Event.HIDE);
+ if (hideEvent.defaultPrevented) {
+ return;
+ }
+ tip.classList.remove(CLASS_NAME_SHOW$2);
+ if ("ontouchstart" in document.documentElement) {
+ [].concat(...document.body.children).forEach((element) => EventHandler.off(element, "mouseover", noop));
+ }
+ this._activeTrigger[TRIGGER_CLICK] = false;
+ this._activeTrigger[TRIGGER_FOCUS] = false;
+ this._activeTrigger[TRIGGER_HOVER] = false;
+ const isAnimated = this.tip.classList.contains(CLASS_NAME_FADE$2);
+ this._queueCallback(complete, this.tip, isAnimated);
+ this._hoverState = "";
+ }
+ update() {
+ if (this._popper !== null) {
+ this._popper.update();
+ }
+ }
+ isWithContent() {
+ return Boolean(this.getTitle());
+ }
+ getTipElement() {
+ if (this.tip) {
+ return this.tip;
+ }
+ const element = document.createElement("div");
+ element.innerHTML = this._config.template;
+ const tip = element.children[0];
+ this.setContent(tip);
+ tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$2);
+ this.tip = tip;
+ return this.tip;
+ }
+ setContent(tip) {
+ this._sanitizeAndSetContent(tip, this.getTitle(), SELECTOR_TOOLTIP_INNER);
+ }
+ _sanitizeAndSetContent(template, content, selector) {
+ const templateElement = SelectorEngine.findOne(selector, template);
+ if (!content && templateElement) {
+ templateElement.remove();
+ return;
+ }
+ this.setElementContent(templateElement, content);
+ }
+ setElementContent(element, content) {
+ if (element === null) {
+ return;
+ }
+ if (isElement2(content)) {
+ content = getElement(content);
+ if (this._config.html) {
+ if (content.parentNode !== element) {
+ element.innerHTML = "";
+ element.append(content);
+ }
+ } else {
+ element.textContent = content.textContent;
+ }
+ return;
+ }
+ if (this._config.html) {
+ if (this._config.sanitize) {
+ content = sanitizeHtml(content, this._config.allowList, this._config.sanitizeFn);
+ }
+ element.innerHTML = content;
+ } else {
+ element.textContent = content;
+ }
+ }
+ getTitle() {
+ const title = this._element.getAttribute("data-bs-original-title") || this._config.title;
+ return this._resolvePossibleFunction(title);
+ }
+ updateAttachment(attachment) {
+ if (attachment === "right") {
+ return "end";
+ }
+ if (attachment === "left") {
+ return "start";
+ }
+ return attachment;
+ }
+ _initializeOnDelegatedTarget(event, context) {
+ return context || this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig());
+ }
+ _getOffset() {
+ const {
+ offset: offset2
+ } = this._config;
+ if (typeof offset2 === "string") {
+ return offset2.split(",").map((val) => Number.parseInt(val, 10));
+ }
+ if (typeof offset2 === "function") {
+ return (popperData) => offset2(popperData, this._element);
+ }
+ return offset2;
+ }
+ _resolvePossibleFunction(content) {
+ return typeof content === "function" ? content.call(this._element) : content;
+ }
+ _getPopperConfig(attachment) {
+ const defaultBsPopperConfig = {
+ placement: attachment,
+ modifiers: [{
+ name: "flip",
+ options: {
+ fallbackPlacements: this._config.fallbackPlacements
+ }
+ }, {
+ name: "offset",
+ options: {
+ offset: this._getOffset()
+ }
+ }, {
+ name: "preventOverflow",
+ options: {
+ boundary: this._config.boundary
+ }
+ }, {
+ name: "arrow",
+ options: {
+ element: `.${this.constructor.NAME}-arrow`
+ }
+ }, {
+ name: "onChange",
+ enabled: true,
+ phase: "afterWrite",
+ fn: (data) => this._handlePopperPlacementChange(data)
+ }],
+ onFirstUpdate: (data) => {
+ if (data.options.placement !== data.placement) {
+ this._handlePopperPlacementChange(data);
+ }
+ }
+ };
+ return __spreadValues(__spreadValues({}, defaultBsPopperConfig), typeof this._config.popperConfig === "function" ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig);
+ }
+ _addAttachmentClass(attachment) {
+ this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(attachment)}`);
+ }
+ _getAttachment(placement) {
+ return AttachmentMap[placement.toUpperCase()];
+ }
+ _setListeners() {
+ const triggers = this._config.trigger.split(" ");
+ triggers.forEach((trigger) => {
+ if (trigger === "click") {
+ EventHandler.on(this._element, this.constructor.Event.CLICK, this._config.selector, (event) => this.toggle(event));
+ } else if (trigger !== TRIGGER_MANUAL) {
+ const eventIn = trigger === TRIGGER_HOVER ? this.constructor.Event.MOUSEENTER : this.constructor.Event.FOCUSIN;
+ const eventOut = trigger === TRIGGER_HOVER ? this.constructor.Event.MOUSELEAVE : this.constructor.Event.FOCUSOUT;
+ EventHandler.on(this._element, eventIn, this._config.selector, (event) => this._enter(event));
+ EventHandler.on(this._element, eventOut, this._config.selector, (event) => this._leave(event));
+ }
+ });
+ this._hideModalHandler = () => {
+ if (this._element) {
+ this.hide();
+ }
+ };
+ EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
+ if (this._config.selector) {
+ this._config = __spreadProps(__spreadValues({}, this._config), {
+ trigger: "manual",
+ selector: ""
+ });
+ } else {
+ this._fixTitle();
+ }
+ }
+ _fixTitle() {
+ const title = this._element.getAttribute("title");
+ const originalTitleType = typeof this._element.getAttribute("data-bs-original-title");
+ if (title || originalTitleType !== "string") {
+ this._element.setAttribute("data-bs-original-title", title || "");
+ if (title && !this._element.getAttribute("aria-label") && !this._element.textContent) {
+ this._element.setAttribute("aria-label", title);
+ }
+ this._element.setAttribute("title", "");
+ }
+ }
+ _enter(event, context) {
+ context = this._initializeOnDelegatedTarget(event, context);
+ if (event) {
+ context._activeTrigger[event.type === "focusin" ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;
+ }
+ if (context.getTipElement().classList.contains(CLASS_NAME_SHOW$2) || 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(() => {
+ if (context._hoverState === HOVER_STATE_SHOW) {
+ context.show();
+ }
+ }, context._config.delay.show);
+ }
+ _leave(event, context) {
+ context = this._initializeOnDelegatedTarget(event, context);
+ if (event) {
+ context._activeTrigger[event.type === "focusout" ? TRIGGER_FOCUS : TRIGGER_HOVER] = context._element.contains(event.relatedTarget);
+ }
+ 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(() => {
+ if (context._hoverState === HOVER_STATE_OUT) {
+ context.hide();
+ }
+ }, context._config.delay.hide);
+ }
+ _isWithActiveTrigger() {
+ for (const trigger in this._activeTrigger) {
+ if (this._activeTrigger[trigger]) {
+ return true;
+ }
+ }
+ return false;
+ }
+ _getConfig(config) {
+ const dataAttributes = Manipulator.getDataAttributes(this._element);
+ Object.keys(dataAttributes).forEach((dataAttr) => {
+ if (DISALLOWED_ATTRIBUTES.has(dataAttr)) {
+ delete dataAttributes[dataAttr];
+ }
+ });
+ config = __spreadValues(__spreadValues(__spreadValues({}, this.constructor.Default), dataAttributes), typeof config === "object" && config ? config : {});
+ config.container = config.container === false ? document.body : getElement(config.container);
+ 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();
+ }
+ typeCheckConfig(NAME$4, config, this.constructor.DefaultType);
+ if (config.sanitize) {
+ config.template = sanitizeHtml(config.template, config.allowList, config.sanitizeFn);
+ }
+ return config;
+ }
+ _getDelegateConfig() {
+ const config = {};
+ for (const key in this._config) {
+ if (this.constructor.Default[key] !== this._config[key]) {
+ config[key] = this._config[key];
+ }
+ }
+ return config;
+ }
+ _cleanTipClass() {
+ const tip = this.getTipElement();
+ const basicClassPrefixRegex = new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`, "g");
+ const tabClass = tip.getAttribute("class").match(basicClassPrefixRegex);
+ if (tabClass !== null && tabClass.length > 0) {
+ tabClass.map((token) => token.trim()).forEach((tClass) => tip.classList.remove(tClass));
+ }
+ }
+ _getBasicClassPrefix() {
+ return CLASS_PREFIX$1;
+ }
+ _handlePopperPlacementChange(popperData) {
+ const {
+ state
+ } = popperData;
+ if (!state) {
+ return;
+ }
+ this.tip = state.elements.popper;
+ this._cleanTipClass();
+ this._addAttachmentClass(this._getAttachment(state.placement));
+ }
+ _disposePopper() {
+ if (this._popper) {
+ this._popper.destroy();
+ this._popper = null;
+ }
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Tooltip.getOrCreateInstance(this, config);
+ if (typeof config === "string") {
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config]();
+ }
+ });
+ }
+ };
+ defineJQueryPlugin(Tooltip);
+ var NAME$3 = "popover";
+ var DATA_KEY$3 = "bs.popover";
+ var EVENT_KEY$3 = `.${DATA_KEY$3}`;
+ var CLASS_PREFIX = "bs-popover";
+ var Default$2 = __spreadProps(__spreadValues({}, Tooltip.Default), {
+ placement: "right",
+ offset: [0, 8],
+ trigger: "click",
+ content: "",
+ template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'
+ });
+ var DefaultType$2 = __spreadProps(__spreadValues({}, Tooltip.DefaultType), {
+ content: "(string|element|function)"
+ });
+ var Event$1 = {
+ HIDE: `hide${EVENT_KEY$3}`,
+ HIDDEN: `hidden${EVENT_KEY$3}`,
+ SHOW: `show${EVENT_KEY$3}`,
+ SHOWN: `shown${EVENT_KEY$3}`,
+ INSERTED: `inserted${EVENT_KEY$3}`,
+ CLICK: `click${EVENT_KEY$3}`,
+ FOCUSIN: `focusin${EVENT_KEY$3}`,
+ FOCUSOUT: `focusout${EVENT_KEY$3}`,
+ MOUSEENTER: `mouseenter${EVENT_KEY$3}`,
+ MOUSELEAVE: `mouseleave${EVENT_KEY$3}`
+ };
+ var SELECTOR_TITLE = ".popover-header";
+ var SELECTOR_CONTENT = ".popover-body";
+ var Popover = class extends Tooltip {
+ static get Default() {
+ return Default$2;
+ }
+ static get NAME() {
+ return NAME$3;
+ }
+ static get Event() {
+ return Event$1;
+ }
+ static get DefaultType() {
+ return DefaultType$2;
+ }
+ isWithContent() {
+ return this.getTitle() || this._getContent();
+ }
+ setContent(tip) {
+ this._sanitizeAndSetContent(tip, this.getTitle(), SELECTOR_TITLE);
+ this._sanitizeAndSetContent(tip, this._getContent(), SELECTOR_CONTENT);
+ }
+ _getContent() {
+ return this._resolvePossibleFunction(this._config.content);
+ }
+ _getBasicClassPrefix() {
+ return CLASS_PREFIX;
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Popover.getOrCreateInstance(this, config);
+ if (typeof config === "string") {
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config]();
+ }
+ });
+ }
+ };
+ defineJQueryPlugin(Popover);
+ var NAME$2 = "scrollspy";
+ var DATA_KEY$2 = "bs.scrollspy";
+ var EVENT_KEY$2 = `.${DATA_KEY$2}`;
+ var DATA_API_KEY$1 = ".data-api";
+ var Default$1 = {
+ offset: 10,
+ method: "auto",
+ target: ""
+ };
+ var DefaultType$1 = {
+ offset: "number",
+ method: "string",
+ target: "(string|element)"
+ };
+ var EVENT_ACTIVATE = `activate${EVENT_KEY$2}`;
+ var EVENT_SCROLL = `scroll${EVENT_KEY$2}`;
+ var EVENT_LOAD_DATA_API = `load${EVENT_KEY$2}${DATA_API_KEY$1}`;
+ var CLASS_NAME_DROPDOWN_ITEM = "dropdown-item";
+ var CLASS_NAME_ACTIVE$1 = "active";
+ var SELECTOR_DATA_SPY = '[data-bs-spy="scroll"]';
+ var SELECTOR_NAV_LIST_GROUP$1 = ".nav, .list-group";
+ var SELECTOR_NAV_LINKS = ".nav-link";
+ var SELECTOR_NAV_ITEMS = ".nav-item";
+ var SELECTOR_LIST_ITEMS = ".list-group-item";
+ var SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}, .${CLASS_NAME_DROPDOWN_ITEM}`;
+ var SELECTOR_DROPDOWN$1 = ".dropdown";
+ var SELECTOR_DROPDOWN_TOGGLE$1 = ".dropdown-toggle";
+ var METHOD_OFFSET = "offset";
+ var METHOD_POSITION = "position";
+ var ScrollSpy = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ this._scrollElement = this._element.tagName === "BODY" ? window : this._element;
+ this._config = this._getConfig(config);
+ this._offsets = [];
+ this._targets = [];
+ this._activeTarget = null;
+ this._scrollHeight = 0;
+ EventHandler.on(this._scrollElement, EVENT_SCROLL, () => this._process());
+ this.refresh();
+ this._process();
+ }
+ static get Default() {
+ return Default$1;
+ }
+ static get NAME() {
+ return NAME$2;
+ }
+ refresh() {
+ const autoMethod = this._scrollElement === this._scrollElement.window ? METHOD_OFFSET : METHOD_POSITION;
+ const offsetMethod = this._config.method === "auto" ? autoMethod : this._config.method;
+ const offsetBase = offsetMethod === METHOD_POSITION ? this._getScrollTop() : 0;
+ this._offsets = [];
+ this._targets = [];
+ this._scrollHeight = this._getScrollHeight();
+ const targets = SelectorEngine.find(SELECTOR_LINK_ITEMS, this._config.target);
+ targets.map((element) => {
+ const targetSelector = getSelectorFromElement(element);
+ const target = targetSelector ? SelectorEngine.findOne(targetSelector) : null;
+ if (target) {
+ const targetBCR = target.getBoundingClientRect();
+ if (targetBCR.width || targetBCR.height) {
+ return [Manipulator[offsetMethod](target).top + offsetBase, targetSelector];
+ }
+ }
+ return null;
+ }).filter((item) => item).sort((a, b) => a[0] - b[0]).forEach((item) => {
+ this._offsets.push(item[0]);
+ this._targets.push(item[1]);
+ });
+ }
+ dispose() {
+ EventHandler.off(this._scrollElement, EVENT_KEY$2);
+ super.dispose();
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, Default$1), Manipulator.getDataAttributes(this._element)), typeof config === "object" && config ? config : {});
+ config.target = getElement(config.target) || document.documentElement;
+ typeCheckConfig(NAME$2, config, DefaultType$1);
+ return config;
+ }
+ _getScrollTop() {
+ return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ }
+ _getScrollHeight() {
+ return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
+ }
+ _getOffsetHeight() {
+ return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
+ }
+ _process() {
+ const scrollTop = this._getScrollTop() + this._config.offset;
+ const scrollHeight = this._getScrollHeight();
+ const maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
+ if (this._scrollHeight !== scrollHeight) {
+ this.refresh();
+ }
+ if (scrollTop >= maxScroll) {
+ const 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 (let i = this._offsets.length; i--; ) {
+ const 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]);
+ }
+ }
+ }
+ _activate(target) {
+ this._activeTarget = target;
+ this._clear();
+ const queries = SELECTOR_LINK_ITEMS.split(",").map((selector) => `${selector}[data-bs-target="${target}"],${selector}[href="${target}"]`);
+ const link = SelectorEngine.findOne(queries.join(","), this._config.target);
+ link.classList.add(CLASS_NAME_ACTIVE$1);
+ if (link.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {
+ SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE$1, link.closest(SELECTOR_DROPDOWN$1)).classList.add(CLASS_NAME_ACTIVE$1);
+ } else {
+ SelectorEngine.parents(link, SELECTOR_NAV_LIST_GROUP$1).forEach((listGroup) => {
+ SelectorEngine.prev(listGroup, `${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`).forEach((item) => item.classList.add(CLASS_NAME_ACTIVE$1));
+ SelectorEngine.prev(listGroup, SELECTOR_NAV_ITEMS).forEach((navItem) => {
+ SelectorEngine.children(navItem, SELECTOR_NAV_LINKS).forEach((item) => item.classList.add(CLASS_NAME_ACTIVE$1));
+ });
+ });
+ }
+ EventHandler.trigger(this._scrollElement, EVENT_ACTIVATE, {
+ relatedTarget: target
+ });
+ }
+ _clear() {
+ SelectorEngine.find(SELECTOR_LINK_ITEMS, this._config.target).filter((node) => node.classList.contains(CLASS_NAME_ACTIVE$1)).forEach((node) => node.classList.remove(CLASS_NAME_ACTIVE$1));
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = ScrollSpy.getOrCreateInstance(this, config);
+ if (typeof config !== "string") {
+ return;
+ }
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config]();
+ });
+ }
+ };
+ EventHandler.on(window, EVENT_LOAD_DATA_API, () => {
+ SelectorEngine.find(SELECTOR_DATA_SPY).forEach((spy) => new ScrollSpy(spy));
+ });
+ defineJQueryPlugin(ScrollSpy);
+ var NAME$1 = "tab";
+ var DATA_KEY$1 = "bs.tab";
+ var EVENT_KEY$1 = `.${DATA_KEY$1}`;
+ var DATA_API_KEY = ".data-api";
+ var EVENT_HIDE$1 = `hide${EVENT_KEY$1}`;
+ var EVENT_HIDDEN$1 = `hidden${EVENT_KEY$1}`;
+ var EVENT_SHOW$1 = `show${EVENT_KEY$1}`;
+ var EVENT_SHOWN$1 = `shown${EVENT_KEY$1}`;
+ var EVENT_CLICK_DATA_API = `click${EVENT_KEY$1}${DATA_API_KEY}`;
+ var CLASS_NAME_DROPDOWN_MENU = "dropdown-menu";
+ var CLASS_NAME_ACTIVE = "active";
+ var CLASS_NAME_FADE$1 = "fade";
+ var CLASS_NAME_SHOW$1 = "show";
+ var SELECTOR_DROPDOWN = ".dropdown";
+ var SELECTOR_NAV_LIST_GROUP = ".nav, .list-group";
+ var SELECTOR_ACTIVE = ".active";
+ var SELECTOR_ACTIVE_UL = ":scope > li > .active";
+ var SELECTOR_DATA_TOGGLE = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';
+ var SELECTOR_DROPDOWN_TOGGLE = ".dropdown-toggle";
+ var SELECTOR_DROPDOWN_ACTIVE_CHILD = ":scope > .dropdown-menu .active";
+ var Tab = class extends BaseComponent {
+ static get NAME() {
+ return NAME$1;
+ }
+ show() {
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && this._element.classList.contains(CLASS_NAME_ACTIVE)) {
+ return;
+ }
+ let previous;
+ const target = getElementFromSelector(this._element);
+ const listElement = this._element.closest(SELECTOR_NAV_LIST_GROUP);
+ if (listElement) {
+ const itemSelector = listElement.nodeName === "UL" || listElement.nodeName === "OL" ? SELECTOR_ACTIVE_UL : SELECTOR_ACTIVE;
+ previous = SelectorEngine.find(itemSelector, listElement);
+ previous = previous[previous.length - 1];
+ }
+ const hideEvent = previous ? EventHandler.trigger(previous, EVENT_HIDE$1, {
+ relatedTarget: this._element
+ }) : null;
+ const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$1, {
+ relatedTarget: previous
+ });
+ if (showEvent.defaultPrevented || hideEvent !== null && hideEvent.defaultPrevented) {
+ return;
+ }
+ this._activate(this._element, listElement);
+ const complete = () => {
+ EventHandler.trigger(previous, EVENT_HIDDEN$1, {
+ relatedTarget: this._element
+ });
+ EventHandler.trigger(this._element, EVENT_SHOWN$1, {
+ relatedTarget: previous
+ });
+ };
+ if (target) {
+ this._activate(target, target.parentNode, complete);
+ } else {
+ complete();
+ }
+ }
+ _activate(element, container, callback) {
+ const activeElements = container && (container.nodeName === "UL" || container.nodeName === "OL") ? SelectorEngine.find(SELECTOR_ACTIVE_UL, container) : SelectorEngine.children(container, SELECTOR_ACTIVE);
+ const active = activeElements[0];
+ const isTransitioning = callback && active && active.classList.contains(CLASS_NAME_FADE$1);
+ const complete = () => this._transitionComplete(element, active, callback);
+ if (active && isTransitioning) {
+ active.classList.remove(CLASS_NAME_SHOW$1);
+ this._queueCallback(complete, element, true);
+ } else {
+ complete();
+ }
+ }
+ _transitionComplete(element, active, callback) {
+ if (active) {
+ active.classList.remove(CLASS_NAME_ACTIVE);
+ const dropdownChild = SelectorEngine.findOne(SELECTOR_DROPDOWN_ACTIVE_CHILD, active.parentNode);
+ if (dropdownChild) {
+ dropdownChild.classList.remove(CLASS_NAME_ACTIVE);
+ }
+ if (active.getAttribute("role") === "tab") {
+ active.setAttribute("aria-selected", false);
+ }
+ }
+ element.classList.add(CLASS_NAME_ACTIVE);
+ if (element.getAttribute("role") === "tab") {
+ element.setAttribute("aria-selected", true);
+ }
+ reflow(element);
+ if (element.classList.contains(CLASS_NAME_FADE$1)) {
+ element.classList.add(CLASS_NAME_SHOW$1);
+ }
+ let parent = element.parentNode;
+ if (parent && parent.nodeName === "LI") {
+ parent = parent.parentNode;
+ }
+ if (parent && parent.classList.contains(CLASS_NAME_DROPDOWN_MENU)) {
+ const dropdownElement = element.closest(SELECTOR_DROPDOWN);
+ if (dropdownElement) {
+ SelectorEngine.find(SELECTOR_DROPDOWN_TOGGLE, dropdownElement).forEach((dropdown) => dropdown.classList.add(CLASS_NAME_ACTIVE));
+ }
+ element.setAttribute("aria-expanded", true);
+ }
+ if (callback) {
+ callback();
+ }
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Tab.getOrCreateInstance(this);
+ if (typeof config === "string") {
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config]();
+ }
+ });
+ }
+ };
+ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function(event) {
+ if (["A", "AREA"].includes(this.tagName)) {
+ event.preventDefault();
+ }
+ if (isDisabled(this)) {
+ return;
+ }
+ const data = Tab.getOrCreateInstance(this);
+ data.show();
+ });
+ defineJQueryPlugin(Tab);
+ var NAME = "toast";
+ var DATA_KEY = "bs.toast";
+ var EVENT_KEY = `.${DATA_KEY}`;
+ var EVENT_MOUSEOVER = `mouseover${EVENT_KEY}`;
+ var EVENT_MOUSEOUT = `mouseout${EVENT_KEY}`;
+ var EVENT_FOCUSIN = `focusin${EVENT_KEY}`;
+ var EVENT_FOCUSOUT = `focusout${EVENT_KEY}`;
+ var EVENT_HIDE = `hide${EVENT_KEY}`;
+ var EVENT_HIDDEN = `hidden${EVENT_KEY}`;
+ var EVENT_SHOW = `show${EVENT_KEY}`;
+ var EVENT_SHOWN = `shown${EVENT_KEY}`;
+ var CLASS_NAME_FADE = "fade";
+ var CLASS_NAME_HIDE = "hide";
+ var CLASS_NAME_SHOW = "show";
+ var CLASS_NAME_SHOWING = "showing";
+ var DefaultType = {
+ animation: "boolean",
+ autohide: "boolean",
+ delay: "number"
+ };
+ var Default = {
+ animation: true,
+ autohide: true,
+ delay: 5e3
+ };
+ var Toast = class extends BaseComponent {
+ constructor(element, config) {
+ super(element);
+ this._config = this._getConfig(config);
+ this._timeout = null;
+ this._hasMouseInteraction = false;
+ this._hasKeyboardInteraction = false;
+ this._setListeners();
+ }
+ static get DefaultType() {
+ return DefaultType;
+ }
+ static get Default() {
+ return Default;
+ }
+ static get NAME() {
+ return NAME;
+ }
+ show() {
+ const showEvent = EventHandler.trigger(this._element, EVENT_SHOW);
+ if (showEvent.defaultPrevented) {
+ return;
+ }
+ this._clearTimeout();
+ if (this._config.animation) {
+ this._element.classList.add(CLASS_NAME_FADE);
+ }
+ const complete = () => {
+ this._element.classList.remove(CLASS_NAME_SHOWING);
+ EventHandler.trigger(this._element, EVENT_SHOWN);
+ this._maybeScheduleHide();
+ };
+ this._element.classList.remove(CLASS_NAME_HIDE);
+ reflow(this._element);
+ this._element.classList.add(CLASS_NAME_SHOW);
+ this._element.classList.add(CLASS_NAME_SHOWING);
+ this._queueCallback(complete, this._element, this._config.animation);
+ }
+ hide() {
+ if (!this._element.classList.contains(CLASS_NAME_SHOW)) {
+ return;
+ }
+ const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE);
+ if (hideEvent.defaultPrevented) {
+ return;
+ }
+ const complete = () => {
+ this._element.classList.add(CLASS_NAME_HIDE);
+ this._element.classList.remove(CLASS_NAME_SHOWING);
+ this._element.classList.remove(CLASS_NAME_SHOW);
+ EventHandler.trigger(this._element, EVENT_HIDDEN);
+ };
+ this._element.classList.add(CLASS_NAME_SHOWING);
+ this._queueCallback(complete, this._element, this._config.animation);
+ }
+ dispose() {
+ this._clearTimeout();
+ if (this._element.classList.contains(CLASS_NAME_SHOW)) {
+ this._element.classList.remove(CLASS_NAME_SHOW);
+ }
+ super.dispose();
+ }
+ _getConfig(config) {
+ config = __spreadValues(__spreadValues(__spreadValues({}, Default), Manipulator.getDataAttributes(this._element)), typeof config === "object" && config ? config : {});
+ typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ return config;
+ }
+ _maybeScheduleHide() {
+ if (!this._config.autohide) {
+ return;
+ }
+ if (this._hasMouseInteraction || this._hasKeyboardInteraction) {
+ return;
+ }
+ this._timeout = setTimeout(() => {
+ this.hide();
+ }, this._config.delay);
+ }
+ _onInteraction(event, isInteracting) {
+ switch (event.type) {
+ case "mouseover":
+ case "mouseout":
+ this._hasMouseInteraction = isInteracting;
+ break;
+ case "focusin":
+ case "focusout":
+ this._hasKeyboardInteraction = isInteracting;
+ break;
+ }
+ if (isInteracting) {
+ this._clearTimeout();
+ return;
+ }
+ const nextElement = event.relatedTarget;
+ if (this._element === nextElement || this._element.contains(nextElement)) {
+ return;
+ }
+ this._maybeScheduleHide();
+ }
+ _setListeners() {
+ EventHandler.on(this._element, EVENT_MOUSEOVER, (event) => this._onInteraction(event, true));
+ EventHandler.on(this._element, EVENT_MOUSEOUT, (event) => this._onInteraction(event, false));
+ EventHandler.on(this._element, EVENT_FOCUSIN, (event) => this._onInteraction(event, true));
+ EventHandler.on(this._element, EVENT_FOCUSOUT, (event) => this._onInteraction(event, false));
+ }
+ _clearTimeout() {
+ clearTimeout(this._timeout);
+ this._timeout = null;
+ }
+ static jQueryInterface(config) {
+ return this.each(function() {
+ const data = Toast.getOrCreateInstance(this, config);
+ if (typeof config === "string") {
+ if (typeof data[config] === "undefined") {
+ throw new TypeError(`No method named "${config}"`);
+ }
+ data[config](this);
+ }
+ });
+ }
+ };
+ enableDismissTrigger(Toast);
+ defineJQueryPlugin(Toast);
+
+ // js/repository.js
+ var import_jquery = __toModule(require_jquery());
+ (0, import_jquery.default)(function() {
+ (0, import_jquery.default)("select.tree").change(function() {
+ document.location = this.value;
+ });
+ });
+
+ // js/kmx_anim.js
+ var import_jQuery = __toModule(require_jquery());
+
+ // js/kmx_colors.js
+ var kmx_colors = {
+ "kmx-black": "#1e1f1d",
+ "kmx-blue": "#5a60f9",
+ "kmx-blue1": "#6f72f9",
+ "kmx-blue2": "#9c99fd",
+ "kmx-blue3": "#5a60f9",
+ "kmx-blue4": "#6f72f9",
+ "kmx-blue5": "#9c99fd",
+ "index": [
+ "kmx-black",
+ "kmx-blue",
+ "kmx-blue1",
+ "kmx-blue2",
+ "kmx-blue3",
+ "kmx-blue4",
+ "kmx-blue5",
+ "kmx-cyan",
+ "kmx-cyan1",
+ "kmx-green",
+ "kmx-green1",
+ "kmx-orange",
+ "kmx-orange1",
+ "kmx-orange2",
+ "kmx-pink",
+ "kmx-white",
+ "kmx-white1",
+ "kmx-white2",
+ "kmx-yellow",
+ "kmx-yellow1",
+ "kmx-yellow2",
+ "kmx-yellow3"
+ ],
+ "kmx-cyan": "#d4f3f6",
+ "kmx-cyan1": "#d4f3f6",
+ "kmx-green": "#c4ed3a",
+ "kmx-green1": "#c4ed3a",
+ "kmx-orange": "#f8681c",
+ "kmx-orange1": "#fa7734",
+ "kmx-orange2": "#ffa532",
+ "kmx-pink": "#fc9ef9",
+ "kmx-white": "#f5f8f4",
+ "kmx-white1": "#fff9f2",
+ "kmx-white2": "#ffffff",
+ "kmx-yellow": "#ecfe49",
+ "kmx-yellow1": "#fff43e",
+ "kmx-yellow2": "#ecfe49",
+ "kmx-yellow3": "#fff43e"
+ };
+ var kmx_colors_default = kmx_colors;
+
+ // js/kmx_anim.js
+ function getRandomInt(max2) {
+ return Math.floor(Math.random() * max2);
+ }
+ (0, import_jQuery.default)(function() {
+ setInterval(function() {
+ const i = getRandomInt(kmx_colors_default.index.length);
+ const name = kmx_colors_default.index[i];
+ const color = kmx_colors_default[name];
+ const x = (getRandomInt(99) - 48) * 2e-3;
+ (0, import_jQuery.default)("a").css("text-shadow", "0 0 0");
+ (0, import_jQuery.default)("a:hover").css("text-shadow", x + "em 0 0 " + color);
+ }, 20);
+ });
+
+ // ../deps/phoenix_html/priv/static/phoenix_html.js
+ "use strict";
+ (function() {
+ var PolyfillEvent = eventConstructor();
+ function eventConstructor() {
+ if (typeof window.CustomEvent === "function")
+ return window.CustomEvent;
+ function CustomEvent2(event, params) {
+ params = params || { bubbles: false, cancelable: false, detail: void 0 };
+ var evt = document.createEvent("CustomEvent");
+ evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
+ return evt;
+ }
+ CustomEvent2.prototype = window.Event.prototype;
+ return CustomEvent2;
+ }
+ function buildHiddenInput(name, value) {
+ var input = document.createElement("input");
+ input.type = "hidden";
+ input.name = name;
+ input.value = value;
+ return input;
+ }
+ function handleClick(element, targetModifierKey) {
+ var to = element.getAttribute("data-to"), method = buildHiddenInput("_method", element.getAttribute("data-method")), csrf = buildHiddenInput("_csrf_token", element.getAttribute("data-csrf")), form = document.createElement("form"), target = element.getAttribute("target");
+ form.method = element.getAttribute("data-method") === "get" ? "get" : "post";
+ form.action = to;
+ form.style.display = "hidden";
+ if (target)
+ form.target = target;
+ else if (targetModifierKey)
+ form.target = "_blank";
+ form.appendChild(csrf);
+ form.appendChild(method);
+ document.body.appendChild(form);
+ form.submit();
+ }
+ window.addEventListener("click", function(e) {
+ var element = e.target;
+ if (e.defaultPrevented)
+ return;
+ while (element && element.getAttribute) {
+ var phoenixLinkEvent = new PolyfillEvent("phoenix.link.click", {
+ "bubbles": true,
+ "cancelable": true
+ });
+ if (!element.dispatchEvent(phoenixLinkEvent)) {
+ e.preventDefault();
+ e.stopImmediatePropagation();
+ return false;
+ }
+ if (element.getAttribute("data-method")) {
+ handleClick(element, e.metaKey || e.shiftKey);
+ e.preventDefault();
+ return false;
+ } else {
+ element = element.parentNode;
+ }
+ }
+ }, false);
+ window.addEventListener("phoenix.link.click", function(e) {
+ var message = e.target.getAttribute("data-confirm");
+ if (message && !window.confirm(message)) {
+ e.preventDefault();
+ }
+ }, false);
+ })();
+
+ // ../deps/phoenix/priv/static/phoenix.esm.js
+ var closure = (value) => {
+ if (typeof value === "function") {
+ return value;
+ } else {
+ let closure22 = function() {
+ return value;
+ };
+ return closure22;
+ }
+ };
+ var globalSelf = typeof self !== "undefined" ? self : null;
+ var phxWindow = typeof window !== "undefined" ? window : null;
+ var global = globalSelf || phxWindow || void 0;
+ var DEFAULT_VSN = "2.0.0";
+ var SOCKET_STATES = { connecting: 0, open: 1, closing: 2, closed: 3 };
+ var DEFAULT_TIMEOUT = 1e4;
+ var WS_CLOSE_NORMAL = 1e3;
+ var CHANNEL_STATES = {
+ closed: "closed",
+ errored: "errored",
+ joined: "joined",
+ joining: "joining",
+ leaving: "leaving"
+ };
+ var CHANNEL_EVENTS = {
+ close: "phx_close",
+ error: "phx_error",
+ join: "phx_join",
+ reply: "phx_reply",
+ leave: "phx_leave"
+ };
+ var TRANSPORTS = {
+ longpoll: "longpoll",
+ websocket: "websocket"
+ };
+ var XHR_STATES = {
+ complete: 4
+ };
+ var Push = class {
+ constructor(channel, event, payload, timeout) {
+ this.channel = channel;
+ this.event = event;
+ this.payload = payload || function() {
+ return {};
+ };
+ this.receivedResp = null;
+ this.timeout = timeout;
+ this.timeoutTimer = null;
+ this.recHooks = [];
+ this.sent = false;
+ }
+ resend(timeout) {
+ this.timeout = timeout;
+ this.reset();
+ this.send();
+ }
+ send() {
+ if (this.hasReceived("timeout")) {
+ return;
+ }
+ this.startTimeout();
+ this.sent = true;
+ this.channel.socket.push({
+ topic: this.channel.topic,
+ event: this.event,
+ payload: this.payload(),
+ ref: this.ref,
+ join_ref: this.channel.joinRef()
+ });
+ }
+ receive(status, callback) {
+ if (this.hasReceived(status)) {
+ callback(this.receivedResp.response);
+ }
+ this.recHooks.push({ status, callback });
+ return this;
+ }
+ reset() {
+ this.cancelRefEvent();
+ this.ref = null;
+ this.refEvent = null;
+ this.receivedResp = null;
+ this.sent = false;
+ }
+ matchReceive({ status, response, _ref }) {
+ this.recHooks.filter((h) => h.status === status).forEach((h) => h.callback(response));
+ }
+ cancelRefEvent() {
+ if (!this.refEvent) {
+ return;
+ }
+ this.channel.off(this.refEvent);
+ }
+ cancelTimeout() {
+ clearTimeout(this.timeoutTimer);
+ this.timeoutTimer = null;
+ }
+ startTimeout() {
+ if (this.timeoutTimer) {
+ this.cancelTimeout();
+ }
+ this.ref = this.channel.socket.makeRef();
+ this.refEvent = this.channel.replyEventName(this.ref);
+ this.channel.on(this.refEvent, (payload) => {
+ this.cancelRefEvent();
+ this.cancelTimeout();
+ this.receivedResp = payload;
+ this.matchReceive(payload);
+ });
+ this.timeoutTimer = setTimeout(() => {
+ this.trigger("timeout", {});
+ }, this.timeout);
+ }
+ hasReceived(status) {
+ return this.receivedResp && this.receivedResp.status === status;
+ }
+ trigger(status, response) {
+ this.channel.trigger(this.refEvent, { status, response });
+ }
+ };
+ var Timer = class {
+ constructor(callback, timerCalc) {
+ this.callback = callback;
+ this.timerCalc = timerCalc;
+ this.timer = null;
+ this.tries = 0;
+ }
+ reset() {
+ this.tries = 0;
+ clearTimeout(this.timer);
+ }
+ scheduleTimeout() {
+ clearTimeout(this.timer);
+ this.timer = setTimeout(() => {
+ this.tries = this.tries + 1;
+ this.callback();
+ }, this.timerCalc(this.tries + 1));
+ }
+ };
+ var Channel = class {
+ constructor(topic, params, socket) {
+ this.state = CHANNEL_STATES.closed;
+ this.topic = topic;
+ this.params = closure(params || {});
+ this.socket = socket;
+ this.bindings = [];
+ this.bindingRef = 0;
+ this.timeout = this.socket.timeout;
+ this.joinedOnce = false;
+ this.joinPush = new Push(this, CHANNEL_EVENTS.join, this.params, this.timeout);
+ this.pushBuffer = [];
+ this.stateChangeRefs = [];
+ this.rejoinTimer = new Timer(() => {
+ if (this.socket.isConnected()) {
+ this.rejoin();
+ }
+ }, this.socket.rejoinAfterMs);
+ this.stateChangeRefs.push(this.socket.onError(() => this.rejoinTimer.reset()));
+ this.stateChangeRefs.push(this.socket.onOpen(() => {
+ this.rejoinTimer.reset();
+ if (this.isErrored()) {
+ this.rejoin();
+ }
+ }));
+ this.joinPush.receive("ok", () => {
+ this.state = CHANNEL_STATES.joined;
+ this.rejoinTimer.reset();
+ this.pushBuffer.forEach((pushEvent) => pushEvent.send());
+ this.pushBuffer = [];
+ });
+ this.joinPush.receive("error", () => {
+ this.state = CHANNEL_STATES.errored;
+ if (this.socket.isConnected()) {
+ this.rejoinTimer.scheduleTimeout();
+ }
+ });
+ this.onClose(() => {
+ this.rejoinTimer.reset();
+ if (this.socket.hasLogger())
+ this.socket.log("channel", `close ${this.topic} ${this.joinRef()}`);
+ this.state = CHANNEL_STATES.closed;
+ this.socket.remove(this);
+ });
+ this.onError((reason) => {
+ if (this.socket.hasLogger())
+ this.socket.log("channel", `error ${this.topic}`, reason);
+ if (this.isJoining()) {
+ this.joinPush.reset();
+ }
+ this.state = CHANNEL_STATES.errored;
+ if (this.socket.isConnected()) {
+ this.rejoinTimer.scheduleTimeout();
+ }
+ });
+ this.joinPush.receive("timeout", () => {
+ if (this.socket.hasLogger())
+ this.socket.log("channel", `timeout ${this.topic} (${this.joinRef()})`, this.joinPush.timeout);
+ let leavePush = new Push(this, CHANNEL_EVENTS.leave, closure({}), this.timeout);
+ leavePush.send();
+ this.state = CHANNEL_STATES.errored;
+ this.joinPush.reset();
+ if (this.socket.isConnected()) {
+ this.rejoinTimer.scheduleTimeout();
+ }
+ });
+ this.on(CHANNEL_EVENTS.reply, (payload, ref) => {
+ this.trigger(this.replyEventName(ref), payload);
+ });
+ }
+ join(timeout = this.timeout) {
+ if (this.joinedOnce) {
+ throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");
+ } else {
+ this.timeout = timeout;
+ this.joinedOnce = true;
+ this.rejoin();
+ return this.joinPush;
+ }
+ }
+ onClose(callback) {
+ this.on(CHANNEL_EVENTS.close, callback);
+ }
+ onError(callback) {
+ return this.on(CHANNEL_EVENTS.error, (reason) => callback(reason));
+ }
+ on(event, callback) {
+ let ref = this.bindingRef++;
+ this.bindings.push({ event, ref, callback });
+ return ref;
+ }
+ off(event, ref) {
+ this.bindings = this.bindings.filter((bind) => {
+ return !(bind.event === event && (typeof ref === "undefined" || ref === bind.ref));
+ });
+ }
+ canPush() {
+ return this.socket.isConnected() && this.isJoined();
+ }
+ push(event, payload, timeout = this.timeout) {
+ payload = payload || {};
+ if (!this.joinedOnce) {
+ throw new Error(`tried to push '${event}' to '${this.topic}' before joining. Use channel.join() before pushing events`);
+ }
+ let pushEvent = new Push(this, event, function() {
+ return payload;
+ }, timeout);
+ if (this.canPush()) {
+ pushEvent.send();
+ } else {
+ pushEvent.startTimeout();
+ this.pushBuffer.push(pushEvent);
+ }
+ return pushEvent;
+ }
+ leave(timeout = this.timeout) {
+ this.rejoinTimer.reset();
+ this.joinPush.cancelTimeout();
+ this.state = CHANNEL_STATES.leaving;
+ let onClose = () => {
+ if (this.socket.hasLogger())
+ this.socket.log("channel", `leave ${this.topic}`);
+ this.trigger(CHANNEL_EVENTS.close, "leave");
+ };
+ let leavePush = new Push(this, CHANNEL_EVENTS.leave, closure({}), timeout);
+ leavePush.receive("ok", () => onClose()).receive("timeout", () => onClose());
+ leavePush.send();
+ if (!this.canPush()) {
+ leavePush.trigger("ok", {});
+ }
+ return leavePush;
+ }
+ onMessage(_event, payload, _ref) {
+ return payload;
+ }
+ isMember(topic, event, payload, joinRef) {
+ if (this.topic !== topic) {
+ return false;
+ }
+ if (joinRef && joinRef !== this.joinRef()) {
+ if (this.socket.hasLogger())
+ this.socket.log("channel", "dropping outdated message", { topic, event, payload, joinRef });
+ return false;
+ } else {
+ return true;
+ }
+ }
+ joinRef() {
+ return this.joinPush.ref;
+ }
+ rejoin(timeout = this.timeout) {
+ if (this.isLeaving()) {
+ return;
+ }
+ this.socket.leaveOpenTopic(this.topic);
+ this.state = CHANNEL_STATES.joining;
+ this.joinPush.resend(timeout);
+ }
+ trigger(event, payload, ref, joinRef) {
+ let handledPayload = this.onMessage(event, payload, ref, joinRef);
+ if (payload && !handledPayload) {
+ throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");
+ }
+ let eventBindings = this.bindings.filter((bind) => bind.event === event);
+ for (let i = 0; i < eventBindings.length; i++) {
+ let bind = eventBindings[i];
+ bind.callback(handledPayload, ref, joinRef || this.joinRef());
+ }
+ }
+ replyEventName(ref) {
+ return `chan_reply_${ref}`;
+ }
+ isClosed() {
+ return this.state === CHANNEL_STATES.closed;
+ }
+ isErrored() {
+ return this.state === CHANNEL_STATES.errored;
+ }
+ isJoined() {
+ return this.state === CHANNEL_STATES.joined;
+ }
+ isJoining() {
+ return this.state === CHANNEL_STATES.joining;
+ }
+ isLeaving() {
+ return this.state === CHANNEL_STATES.leaving;
+ }
+ };
+ var Ajax = class {
+ static request(method, endPoint, accept, body, timeout, ontimeout, callback) {
+ if (global.XDomainRequest) {
+ let req = new global.XDomainRequest();
+ this.xdomainRequest(req, method, endPoint, body, timeout, ontimeout, callback);
+ } else {
+ let req = new global.XMLHttpRequest();
+ this.xhrRequest(req, method, endPoint, accept, body, timeout, ontimeout, callback);
+ }
+ }
+ static xdomainRequest(req, method, endPoint, body, timeout, ontimeout, callback) {
+ req.timeout = timeout;
+ req.open(method, endPoint);
+ req.onload = () => {
+ let response = this.parseJSON(req.responseText);
+ callback && callback(response);
+ };
+ if (ontimeout) {
+ req.ontimeout = ontimeout;
+ }
+ req.onprogress = () => {
+ };
+ req.send(body);
+ }
+ static xhrRequest(req, method, endPoint, accept, body, timeout, ontimeout, callback) {
+ req.open(method, endPoint, true);
+ req.timeout = timeout;
+ req.setRequestHeader("Content-Type", accept);
+ req.onerror = () => {
+ callback && callback(null);
+ };
+ req.onreadystatechange = () => {
+ if (req.readyState === XHR_STATES.complete && callback) {
+ let response = this.parseJSON(req.responseText);
+ callback(response);
+ }
+ };
+ if (ontimeout) {
+ req.ontimeout = ontimeout;
+ }
+ req.send(body);
+ }
+ static parseJSON(resp) {
+ if (!resp || resp === "") {
+ return null;
+ }
+ try {
+ return JSON.parse(resp);
+ } catch (e) {
+ console && console.log("failed to parse JSON response", resp);
+ return null;
+ }
+ }
+ static serialize(obj, parentKey) {
+ let queryStr = [];
+ for (var key in obj) {
+ if (!Object.prototype.hasOwnProperty.call(obj, key)) {
+ continue;
+ }
+ let paramKey = parentKey ? `${parentKey}[${key}]` : key;
+ let paramVal = obj[key];
+ if (typeof paramVal === "object") {
+ queryStr.push(this.serialize(paramVal, paramKey));
+ } else {
+ queryStr.push(encodeURIComponent(paramKey) + "=" + encodeURIComponent(paramVal));
+ }
+ }
+ return queryStr.join("&");
+ }
+ static appendParams(url, params) {
+ if (Object.keys(params).length === 0) {
+ return url;
+ }
+ let prefix = url.match(/\?/) ? "&" : "?";
+ return `${url}${prefix}${this.serialize(params)}`;
+ }
+ };
+ var LongPoll = class {
+ constructor(endPoint) {
+ this.endPoint = null;
+ this.token = null;
+ this.skipHeartbeat = true;
+ this.onopen = function() {
+ };
+ this.onerror = function() {
+ };
+ this.onmessage = function() {
+ };
+ this.onclose = function() {
+ };
+ this.pollEndpoint = this.normalizeEndpoint(endPoint);
+ this.readyState = SOCKET_STATES.connecting;
+ this.poll();
+ }
+ normalizeEndpoint(endPoint) {
+ return endPoint.replace("ws://", "http://").replace("wss://", "https://").replace(new RegExp("(.*)/" + TRANSPORTS.websocket), "$1/" + TRANSPORTS.longpoll);
+ }
+ endpointURL() {
+ return Ajax.appendParams(this.pollEndpoint, { token: this.token });
+ }
+ closeAndRetry() {
+ this.close();
+ this.readyState = SOCKET_STATES.connecting;
+ }
+ ontimeout() {
+ this.onerror("timeout");
+ this.closeAndRetry();
+ }
+ poll() {
+ if (!(this.readyState === SOCKET_STATES.open || this.readyState === SOCKET_STATES.connecting)) {
+ return;
+ }
+ Ajax.request("GET", this.endpointURL(), "application/json", null, this.timeout, this.ontimeout.bind(this), (resp) => {
+ if (resp) {
+ var { status, token, messages } = resp;
+ this.token = token;
+ } else {
+ status = 0;
+ }
+ switch (status) {
+ case 200:
+ messages.forEach((msg) => {
+ setTimeout(() => {
+ this.onmessage({ data: msg });
+ }, 0);
+ });
+ this.poll();
+ break;
+ case 204:
+ this.poll();
+ break;
+ case 410:
+ this.readyState = SOCKET_STATES.open;
+ this.onopen();
+ this.poll();
+ break;
+ case 403:
+ this.onerror();
+ this.close();
+ break;
+ case 0:
+ case 500:
+ this.onerror();
+ this.closeAndRetry();
+ break;
+ default:
+ throw new Error(`unhandled poll status ${status}`);
+ }
+ });
+ }
+ send(body) {
+ Ajax.request("POST", this.endpointURL(), "application/json", body, this.timeout, this.onerror.bind(this, "timeout"), (resp) => {
+ if (!resp || resp.status !== 200) {
+ this.onerror(resp && resp.status);
+ this.closeAndRetry();
+ }
+ });
+ }
+ close(_code, _reason) {
+ this.readyState = SOCKET_STATES.closed;
+ this.onclose();
+ }
+ };
+ var serializer_default = {
+ HEADER_LENGTH: 1,
+ META_LENGTH: 4,
+ KINDS: { push: 0, reply: 1, broadcast: 2 },
+ encode(msg, callback) {
+ if (msg.payload.constructor === ArrayBuffer) {
+ return callback(this.binaryEncode(msg));
+ } else {
+ let payload = [msg.join_ref, msg.ref, msg.topic, msg.event, msg.payload];
+ return callback(JSON.stringify(payload));
+ }
+ },
+ decode(rawPayload, callback) {
+ if (rawPayload.constructor === ArrayBuffer) {
+ return callback(this.binaryDecode(rawPayload));
+ } else {
+ let [join_ref, ref, topic, event, payload] = JSON.parse(rawPayload);
+ return callback({ join_ref, ref, topic, event, payload });
+ }
+ },
+ binaryEncode(message) {
+ let { join_ref, ref, event, topic, payload } = message;
+ let metaLength = this.META_LENGTH + join_ref.length + ref.length + topic.length + event.length;
+ let header = new ArrayBuffer(this.HEADER_LENGTH + metaLength);
+ let view = new DataView(header);
+ let offset2 = 0;
+ view.setUint8(offset2++, this.KINDS.push);
+ view.setUint8(offset2++, join_ref.length);
+ view.setUint8(offset2++, ref.length);
+ view.setUint8(offset2++, topic.length);
+ view.setUint8(offset2++, event.length);
+ Array.from(join_ref, (char) => view.setUint8(offset2++, char.charCodeAt(0)));
+ Array.from(ref, (char) => view.setUint8(offset2++, char.charCodeAt(0)));
+ Array.from(topic, (char) => view.setUint8(offset2++, char.charCodeAt(0)));
+ Array.from(event, (char) => view.setUint8(offset2++, char.charCodeAt(0)));
+ var combined = new Uint8Array(header.byteLength + payload.byteLength);
+ combined.set(new Uint8Array(header), 0);
+ combined.set(new Uint8Array(payload), header.byteLength);
+ return combined.buffer;
+ },
+ binaryDecode(buffer) {
+ let view = new DataView(buffer);
+ let kind = view.getUint8(0);
+ let decoder = new TextDecoder();
+ switch (kind) {
+ case this.KINDS.push:
+ return this.decodePush(buffer, view, decoder);
+ case this.KINDS.reply:
+ return this.decodeReply(buffer, view, decoder);
+ case this.KINDS.broadcast:
+ return this.decodeBroadcast(buffer, view, decoder);
+ }
+ },
+ decodePush(buffer, view, decoder) {
+ let joinRefSize = view.getUint8(1);
+ let topicSize = view.getUint8(2);
+ let eventSize = view.getUint8(3);
+ let offset2 = this.HEADER_LENGTH + this.META_LENGTH - 1;
+ let joinRef = decoder.decode(buffer.slice(offset2, offset2 + joinRefSize));
+ offset2 = offset2 + joinRefSize;
+ let topic = decoder.decode(buffer.slice(offset2, offset2 + topicSize));
+ offset2 = offset2 + topicSize;
+ let event = decoder.decode(buffer.slice(offset2, offset2 + eventSize));
+ offset2 = offset2 + eventSize;
+ let data = buffer.slice(offset2, buffer.byteLength);
+ return { join_ref: joinRef, ref: null, topic, event, payload: data };
+ },
+ decodeReply(buffer, view, decoder) {
+ let joinRefSize = view.getUint8(1);
+ let refSize = view.getUint8(2);
+ let topicSize = view.getUint8(3);
+ let eventSize = view.getUint8(4);
+ let offset2 = this.HEADER_LENGTH + this.META_LENGTH;
+ let joinRef = decoder.decode(buffer.slice(offset2, offset2 + joinRefSize));
+ offset2 = offset2 + joinRefSize;
+ let ref = decoder.decode(buffer.slice(offset2, offset2 + refSize));
+ offset2 = offset2 + refSize;
+ let topic = decoder.decode(buffer.slice(offset2, offset2 + topicSize));
+ offset2 = offset2 + topicSize;
+ let event = decoder.decode(buffer.slice(offset2, offset2 + eventSize));
+ offset2 = offset2 + eventSize;
+ let data = buffer.slice(offset2, buffer.byteLength);
+ let payload = { status: event, response: data };
+ return { join_ref: joinRef, ref, topic, event: CHANNEL_EVENTS.reply, payload };
+ },
+ decodeBroadcast(buffer, view, decoder) {
+ let topicSize = view.getUint8(1);
+ let eventSize = view.getUint8(2);
+ let offset2 = this.HEADER_LENGTH + 2;
+ let topic = decoder.decode(buffer.slice(offset2, offset2 + topicSize));
+ offset2 = offset2 + topicSize;
+ let event = decoder.decode(buffer.slice(offset2, offset2 + eventSize));
+ offset2 = offset2 + eventSize;
+ let data = buffer.slice(offset2, buffer.byteLength);
+ return { join_ref: null, ref: null, topic, event, payload: data };
+ }
+ };
+ var Socket = class {
+ constructor(endPoint, opts = {}) {
+ this.stateChangeCallbacks = { open: [], close: [], error: [], message: [] };
+ this.channels = [];
+ this.sendBuffer = [];
+ this.ref = 0;
+ this.timeout = opts.timeout || DEFAULT_TIMEOUT;
+ this.transport = opts.transport || global.WebSocket || LongPoll;
+ this.establishedConnections = 0;
+ this.defaultEncoder = serializer_default.encode.bind(serializer_default);
+ this.defaultDecoder = serializer_default.decode.bind(serializer_default);
+ this.closeWasClean = false;
+ this.binaryType = opts.binaryType || "arraybuffer";
+ this.connectClock = 1;
+ if (this.transport !== LongPoll) {
+ this.encode = opts.encode || this.defaultEncoder;
+ this.decode = opts.decode || this.defaultDecoder;
+ } else {
+ this.encode = this.defaultEncoder;
+ this.decode = this.defaultDecoder;
+ }
+ let awaitingConnectionOnPageShow = null;
+ if (phxWindow && phxWindow.addEventListener) {
+ phxWindow.addEventListener("pagehide", (_e) => {
+ if (this.conn) {
+ this.disconnect();
+ awaitingConnectionOnPageShow = this.connectClock;
+ }
+ });
+ phxWindow.addEventListener("pageshow", (_e) => {
+ if (awaitingConnectionOnPageShow === this.connectClock) {
+ awaitingConnectionOnPageShow = null;
+ this.connect();
+ }
+ });
+ }
+ this.heartbeatIntervalMs = opts.heartbeatIntervalMs || 3e4;
+ this.rejoinAfterMs = (tries) => {
+ if (opts.rejoinAfterMs) {
+ return opts.rejoinAfterMs(tries);
+ } else {
+ return [1e3, 2e3, 5e3][tries - 1] || 1e4;
+ }
+ };
+ this.reconnectAfterMs = (tries) => {
+ if (opts.reconnectAfterMs) {
+ return opts.reconnectAfterMs(tries);
+ } else {
+ return [10, 50, 100, 150, 200, 250, 500, 1e3, 2e3][tries - 1] || 5e3;
+ }
+ };
+ this.logger = opts.logger || null;
+ this.longpollerTimeout = opts.longpollerTimeout || 2e4;
+ this.params = closure(opts.params || {});
+ this.endPoint = `${endPoint}/${TRANSPORTS.websocket}`;
+ this.vsn = opts.vsn || DEFAULT_VSN;
+ this.heartbeatTimer = null;
+ this.pendingHeartbeatRef = null;
+ this.reconnectTimer = new Timer(() => {
+ this.teardown(() => this.connect());
+ }, this.reconnectAfterMs);
+ }
+ replaceTransport(newTransport) {
+ this.disconnect();
+ this.transport = newTransport;
+ }
+ protocol() {
+ return location.protocol.match(/^https/) ? "wss" : "ws";
+ }
+ endPointURL() {
+ let uri = Ajax.appendParams(Ajax.appendParams(this.endPoint, this.params()), { vsn: this.vsn });
+ if (uri.charAt(0) !== "/") {
+ return uri;
+ }
+ if (uri.charAt(1) === "/") {
+ return `${this.protocol()}:${uri}`;
+ }
+ return `${this.protocol()}://${location.host}${uri}`;
+ }
+ disconnect(callback, code, reason) {
+ this.connectClock++;
+ this.closeWasClean = true;
+ this.reconnectTimer.reset();
+ this.teardown(callback, code, reason);
+ }
+ connect(params) {
+ this.connectClock++;
+ if (params) {
+ console && console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor");
+ this.params = closure(params);
+ }
+ if (this.conn) {
+ return;
+ }
+ this.closeWasClean = false;
+ this.conn = new this.transport(this.endPointURL());
+ this.conn.binaryType = this.binaryType;
+ this.conn.timeout = this.longpollerTimeout;
+ this.conn.onopen = () => this.onConnOpen();
+ this.conn.onerror = (error) => this.onConnError(error);
+ this.conn.onmessage = (event) => this.onConnMessage(event);
+ this.conn.onclose = (event) => this.onConnClose(event);
+ }
+ log(kind, msg, data) {
+ this.logger(kind, msg, data);
+ }
+ hasLogger() {
+ return this.logger !== null;
+ }
+ onOpen(callback) {
+ let ref = this.makeRef();
+ this.stateChangeCallbacks.open.push([ref, callback]);
+ return ref;
+ }
+ onClose(callback) {
+ let ref = this.makeRef();
+ this.stateChangeCallbacks.close.push([ref, callback]);
+ return ref;
+ }
+ onError(callback) {
+ let ref = this.makeRef();
+ this.stateChangeCallbacks.error.push([ref, callback]);
+ return ref;
+ }
+ onMessage(callback) {
+ let ref = this.makeRef();
+ this.stateChangeCallbacks.message.push([ref, callback]);
+ return ref;
+ }
+ onConnOpen() {
+ if (this.hasLogger())
+ this.log("transport", `connected to ${this.endPointURL()}`);
+ this.closeWasClean = false;
+ this.establishedConnections++;
+ this.flushSendBuffer();
+ this.reconnectTimer.reset();
+ this.resetHeartbeat();
+ this.stateChangeCallbacks.open.forEach(([, callback]) => callback());
+ }
+ heartbeatTimeout() {
+ if (this.pendingHeartbeatRef) {
+ this.pendingHeartbeatRef = null;
+ if (this.hasLogger()) {
+ this.log("transport", "heartbeat timeout. Attempting to re-establish connection");
+ }
+ this.abnormalClose("heartbeat timeout");
+ }
+ }
+ resetHeartbeat() {
+ if (this.conn && this.conn.skipHeartbeat) {
+ return;
+ }
+ this.pendingHeartbeatRef = null;
+ clearTimeout(this.heartbeatTimer);
+ setTimeout(() => this.sendHeartbeat(), this.heartbeatIntervalMs);
+ }
+ teardown(callback, code, reason) {
+ if (!this.conn) {
+ return callback && callback();
+ }
+ this.waitForBufferDone(() => {
+ if (this.conn) {
+ if (code) {
+ this.conn.close(code, reason || "");
+ } else {
+ this.conn.close();
+ }
+ }
+ this.waitForSocketClosed(() => {
+ if (this.conn) {
+ this.conn.onclose = function() {
+ };
+ this.conn = null;
+ }
+ callback && callback();
+ });
+ });
+ }
+ waitForBufferDone(callback, tries = 1) {
+ if (tries === 5 || !this.conn || !this.conn.bufferedAmount) {
+ callback();
+ return;
+ }
+ setTimeout(() => {
+ this.waitForBufferDone(callback, tries + 1);
+ }, 150 * tries);
+ }
+ waitForSocketClosed(callback, tries = 1) {
+ if (tries === 5 || !this.conn || this.conn.readyState === SOCKET_STATES.closed) {
+ callback();
+ return;
+ }
+ setTimeout(() => {
+ this.waitForSocketClosed(callback, tries + 1);
+ }, 150 * tries);
+ }
+ onConnClose(event) {
+ let closeCode = event && event.code;
+ if (this.hasLogger())
+ this.log("transport", "close", event);
+ this.triggerChanError();
+ clearTimeout(this.heartbeatTimer);
+ if (!this.closeWasClean && closeCode !== 1e3) {
+ this.reconnectTimer.scheduleTimeout();
+ }
+ this.stateChangeCallbacks.close.forEach(([, callback]) => callback(event));
+ }
+ onConnError(error) {
+ if (this.hasLogger())
+ this.log("transport", error);
+ let transportBefore = this.transport;
+ let establishedBefore = this.establishedConnections;
+ this.stateChangeCallbacks.error.forEach(([, callback]) => {
+ callback(error, transportBefore, establishedBefore);
+ });
+ if (transportBefore === this.transport || establishedBefore > 0) {
+ this.triggerChanError();
+ }
+ }
+ triggerChanError() {
+ this.channels.forEach((channel) => {
+ if (!(channel.isErrored() || channel.isLeaving() || channel.isClosed())) {
+ channel.trigger(CHANNEL_EVENTS.error);
+ }
+ });
+ }
+ connectionState() {
+ switch (this.conn && this.conn.readyState) {
+ case SOCKET_STATES.connecting:
+ return "connecting";
+ case SOCKET_STATES.open:
+ return "open";
+ case SOCKET_STATES.closing:
+ return "closing";
+ default:
+ return "closed";
+ }
+ }
+ isConnected() {
+ return this.connectionState() === "open";
+ }
+ remove(channel) {
+ this.off(channel.stateChangeRefs);
+ this.channels = this.channels.filter((c) => c.joinRef() !== channel.joinRef());
+ }
+ off(refs) {
+ for (let key in this.stateChangeCallbacks) {
+ this.stateChangeCallbacks[key] = this.stateChangeCallbacks[key].filter(([ref]) => {
+ return refs.indexOf(ref) === -1;
+ });
+ }
+ }
+ channel(topic, chanParams = {}) {
+ let chan = new Channel(topic, chanParams, this);
+ this.channels.push(chan);
+ return chan;
+ }
+ push(data) {
+ if (this.hasLogger()) {
+ let { topic, event, payload, ref, join_ref } = data;
+ this.log("push", `${topic} ${event} (${join_ref}, ${ref})`, payload);
+ }
+ if (this.isConnected()) {
+ this.encode(data, (result) => this.conn.send(result));
+ } else {
+ this.sendBuffer.push(() => this.encode(data, (result) => this.conn.send(result)));
+ }
+ }
+ makeRef() {
+ let newRef = this.ref + 1;
+ if (newRef === this.ref) {
+ this.ref = 0;
+ } else {
+ this.ref = newRef;
+ }
+ return this.ref.toString();
+ }
+ sendHeartbeat() {
+ if (this.pendingHeartbeatRef && !this.isConnected()) {
+ return;
+ }
+ this.pendingHeartbeatRef = this.makeRef();
+ this.push({ topic: "phoenix", event: "heartbeat", payload: {}, ref: this.pendingHeartbeatRef });
+ this.heartbeatTimer = setTimeout(() => this.heartbeatTimeout(), this.heartbeatIntervalMs);
+ }
+ abnormalClose(reason) {
+ this.closeWasClean = false;
+ if (this.isConnected()) {
+ this.conn.close(WS_CLOSE_NORMAL, reason);
+ }
+ }
+ flushSendBuffer() {
+ if (this.isConnected() && this.sendBuffer.length > 0) {
+ this.sendBuffer.forEach((callback) => callback());
+ this.sendBuffer = [];
+ }
+ }
+ onConnMessage(rawMessage) {
+ this.decode(rawMessage.data, (msg) => {
+ let { topic, event, payload, ref, join_ref } = msg;
+ if (ref && ref === this.pendingHeartbeatRef) {
+ clearTimeout(this.heartbeatTimer);
+ this.pendingHeartbeatRef = null;
+ setTimeout(() => this.sendHeartbeat(), this.heartbeatIntervalMs);
+ }
+ if (this.hasLogger())
+ this.log("receive", `${payload.status || ""} ${topic} ${event} ${ref && "(" + ref + ")" || ""}`, payload);
+ for (let i = 0; i < this.channels.length; i++) {
+ const channel = this.channels[i];
+ if (!channel.isMember(topic, event, payload, join_ref)) {
+ continue;
+ }
+ channel.trigger(event, payload, ref, join_ref);
+ }
+ for (let i = 0; i < this.stateChangeCallbacks.message.length; i++) {
+ let [, callback] = this.stateChangeCallbacks.message[i];
+ callback(msg);
+ }
+ });
+ }
+ leaveOpenTopic(topic) {
+ let dupChannel = this.channels.find((c) => c.topic === topic && (c.isJoined() || c.isJoining()));
+ if (dupChannel) {
+ if (this.hasLogger())
+ this.log("transport", `leaving duplicate topic "${topic}"`);
+ dupChannel.leave();
+ }
+ }
+ };
+
+ // ../deps/phoenix_live_view/priv/static/phoenix_live_view.esm.js
+ var CONSECUTIVE_RELOADS = "consecutive-reloads";
+ var MAX_RELOADS = 10;
+ var RELOAD_JITTER = [1e3, 3e3];
+ var FAILSAFE_JITTER = 3e4;
+ var PHX_EVENT_CLASSES = [
+ "phx-click-loading",
+ "phx-change-loading",
+ "phx-submit-loading",
+ "phx-keydown-loading",
+ "phx-keyup-loading",
+ "phx-blur-loading",
+ "phx-focus-loading"
+ ];
+ var PHX_COMPONENT = "data-phx-component";
+ var PHX_LIVE_LINK = "data-phx-link";
+ var PHX_TRACK_STATIC = "track-static";
+ var PHX_LINK_STATE = "data-phx-link-state";
+ var PHX_REF = "data-phx-ref";
+ var PHX_TRACK_UPLOADS = "track-uploads";
+ var PHX_UPLOAD_REF = "data-phx-upload-ref";
+ var PHX_PREFLIGHTED_REFS = "data-phx-preflighted-refs";
+ var PHX_DONE_REFS = "data-phx-done-refs";
+ var PHX_DROP_TARGET = "drop-target";
+ var PHX_ACTIVE_ENTRY_REFS = "data-phx-active-refs";
+ var PHX_LIVE_FILE_UPDATED = "phx:live-file:updated";
+ var PHX_SKIP = "data-phx-skip";
+ var PHX_REMOVE = "data-phx-remove";
+ var PHX_PAGE_LOADING = "page-loading";
+ var PHX_CONNECTED_CLASS = "phx-connected";
+ var PHX_DISCONNECTED_CLASS = "phx-disconnected";
+ var PHX_NO_FEEDBACK_CLASS = "phx-no-feedback";
+ var PHX_ERROR_CLASS = "phx-error";
+ var PHX_PARENT_ID = "data-phx-parent-id";
+ var PHX_MAIN = "data-phx-main";
+ var PHX_ROOT_ID = "data-phx-root-id";
+ var PHX_TRIGGER_ACTION = "trigger-action";
+ var PHX_FEEDBACK_FOR = "feedback-for";
+ var PHX_HAS_FOCUSED = "phx-has-focused";
+ var FOCUSABLE_INPUTS = ["text", "textarea", "number", "email", "password", "search", "tel", "url", "date", "time"];
+ var CHECKABLE_INPUTS = ["checkbox", "radio"];
+ var PHX_HAS_SUBMITTED = "phx-has-submitted";
+ var PHX_SESSION = "data-phx-session";
+ var PHX_VIEW_SELECTOR = `[${PHX_SESSION}]`;
+ var PHX_STATIC = "data-phx-static";
+ var PHX_READONLY = "data-phx-readonly";
+ var PHX_DISABLED = "data-phx-disabled";
+ var PHX_DISABLE_WITH = "disable-with";
+ var PHX_DISABLE_WITH_RESTORE = "data-phx-disable-with-restore";
+ var PHX_HOOK = "hook";
+ var PHX_DEBOUNCE = "debounce";
+ var PHX_THROTTLE = "throttle";
+ var PHX_UPDATE = "update";
+ var PHX_KEY = "key";
+ var PHX_PRIVATE = "phxPrivate";
+ var PHX_AUTO_RECOVER = "auto-recover";
+ var PHX_LV_DEBUG = "phx:live-socket:debug";
+ var PHX_LV_PROFILE = "phx:live-socket:profiling";
+ var PHX_LV_LATENCY_SIM = "phx:live-socket:latency-sim";
+ var PHX_PROGRESS = "progress";
+ var LOADER_TIMEOUT = 1;
+ var BEFORE_UNLOAD_LOADER_TIMEOUT = 200;
+ var BINDING_PREFIX = "phx-";
+ var PUSH_TIMEOUT = 3e4;
+ var DEBOUNCE_TRIGGER = "debounce-trigger";
+ var THROTTLED = "throttled";
+ var DEBOUNCE_PREV_KEY = "debounce-prev-key";
+ var DEFAULTS = {
+ debounce: 300,
+ throttle: 300
+ };
+ var DYNAMICS = "d";
+ var STATIC = "s";
+ var COMPONENTS = "c";
+ var EVENTS = "e";
+ var REPLY = "r";
+ var TITLE = "t";
+ var EntryUploader = class {
+ constructor(entry, chunkSize, liveSocket2) {
+ this.liveSocket = liveSocket2;
+ this.entry = entry;
+ this.offset = 0;
+ this.chunkSize = chunkSize;
+ this.chunkTimer = null;
+ this.uploadChannel = liveSocket2.channel(`lvu:${entry.ref}`, { token: entry.metadata() });
+ }
+ error(reason) {
+ clearTimeout(this.chunkTimer);
+ this.uploadChannel.leave();
+ this.entry.error(reason);
+ }
+ upload() {
+ this.uploadChannel.onError((reason) => this.error(reason));
+ this.uploadChannel.join().receive("ok", (_data) => this.readNextChunk()).receive("error", (reason) => this.error(reason));
+ }
+ isDone() {
+ return this.offset >= this.entry.file.size;
+ }
+ readNextChunk() {
+ let reader = new window.FileReader();
+ let blob = this.entry.file.slice(this.offset, this.chunkSize + this.offset);
+ reader.onload = (e) => {
+ if (e.target.error === null) {
+ this.offset += e.target.result.byteLength;
+ this.pushChunk(e.target.result);
+ } else {
+ return logError("Read error: " + e.target.error);
+ }
+ };
+ reader.readAsArrayBuffer(blob);
+ }
+ pushChunk(chunk) {
+ if (!this.uploadChannel.isJoined()) {
+ return;
+ }
+ this.uploadChannel.push("chunk", chunk).receive("ok", () => {
+ this.entry.progress(this.offset / this.entry.file.size * 100);
+ if (!this.isDone()) {
+ this.chunkTimer = setTimeout(() => this.readNextChunk(), this.liveSocket.getLatencySim() || 0);
+ }
+ });
+ }
+ };
+ var logError = (msg, obj) => console.error && console.error(msg, obj);
+ var isCid = (cid) => typeof cid === "number";
+ function detectDuplicateIds() {
+ let ids = new Set();
+ let elems = document.querySelectorAll("*[id]");
+ for (let i = 0, len = elems.length; i < len; i++) {
+ if (ids.has(elems[i].id)) {
+ console.error(`Multiple IDs detected: ${elems[i].id}. Ensure unique element ids.`);
+ } else {
+ ids.add(elems[i].id);
+ }
+ }
+ }
+ var debug = (view, kind, msg, obj) => {
+ if (view.liveSocket.isDebugEnabled()) {
+ console.log(`${view.id} ${kind}: ${msg} - `, obj);
+ }
+ };
+ var closure2 = (val) => typeof val === "function" ? val : function() {
+ return val;
+ };
+ var clone = (obj) => {
+ return JSON.parse(JSON.stringify(obj));
+ };
+ var closestPhxBinding = (el, binding, borderEl) => {
+ do {
+ if (el.matches(`[${binding}]`)) {
+ return el;
+ }
+ el = el.parentElement || el.parentNode;
+ } while (el !== null && el.nodeType === 1 && !(borderEl && borderEl.isSameNode(el) || el.matches(PHX_VIEW_SELECTOR)));
+ return null;
+ };
+ var isObject = (obj) => {
+ return obj !== null && typeof obj === "object" && !(obj instanceof Array);
+ };
+ var isEqualObj = (obj1, obj2) => JSON.stringify(obj1) === JSON.stringify(obj2);
+ var isEmpty = (obj) => {
+ for (let x in obj) {
+ return false;
+ }
+ return true;
+ };
+ var maybe = (el, callback) => el && callback(el);
+ var channelUploader = function(entries, onError, resp, liveSocket2) {
+ entries.forEach((entry) => {
+ let entryUploader = new EntryUploader(entry, resp.config.chunk_size, liveSocket2);
+ entryUploader.upload();
+ });
+ };
+ var Browser = {
+ canPushState() {
+ return typeof history.pushState !== "undefined";
+ },
+ dropLocal(localStorage, namespace, subkey) {
+ return localStorage.removeItem(this.localKey(namespace, subkey));
+ },
+ updateLocal(localStorage, namespace, subkey, initial, func) {
+ let current = this.getLocal(localStorage, namespace, subkey);
+ let key = this.localKey(namespace, subkey);
+ let newVal = current === null ? initial : func(current);
+ localStorage.setItem(key, JSON.stringify(newVal));
+ return newVal;
+ },
+ getLocal(localStorage, namespace, subkey) {
+ return JSON.parse(localStorage.getItem(this.localKey(namespace, subkey)));
+ },
+ updateCurrentState(callback) {
+ if (!this.canPushState()) {
+ return;
+ }
+ history.replaceState(callback(history.state || {}), "", window.location.href);
+ },
+ pushState(kind, meta, to) {
+ if (this.canPushState()) {
+ if (to !== window.location.href) {
+ if (meta.type == "redirect" && meta.scroll) {
+ let currentState = history.state || {};
+ currentState.scroll = meta.scroll;
+ history.replaceState(currentState, "", window.location.href);
+ }
+ delete meta.scroll;
+ history[kind + "State"](meta, "", to || null);
+ let hashEl = this.getHashTargetEl(window.location.hash);
+ if (hashEl) {
+ hashEl.scrollIntoView();
+ } else if (meta.type === "redirect") {
+ window.scroll(0, 0);
+ }
+ }
+ } else {
+ this.redirect(to);
+ }
+ },
+ setCookie(name, value) {
+ document.cookie = `${name}=${value}`;
+ },
+ getCookie(name) {
+ return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${name}s*=s*([^;]*).*$)|^.*$`), "$1");
+ },
+ redirect(toURL, flash) {
+ if (flash) {
+ Browser.setCookie("__phoenix_flash__", flash + "; max-age=60000; path=/");
+ }
+ window.location = toURL;
+ },
+ localKey(namespace, subkey) {
+ return `${namespace}-${subkey}`;
+ },
+ getHashTargetEl(maybeHash) {
+ let hash3 = maybeHash.toString().substring(1);
+ if (hash3 === "") {
+ return;
+ }
+ return document.getElementById(hash3) || document.querySelector(`a[name="${hash3}"]`);
+ }
+ };
+ var browser_default = Browser;
+ var DOM = {
+ byId(id) {
+ return document.getElementById(id) || logError(`no id found for ${id}`);
+ },
+ removeClass(el, className) {
+ el.classList.remove(className);
+ if (el.classList.length === 0) {
+ el.removeAttribute("class");
+ }
+ },
+ all(node, query, callback) {
+ if (!node) {
+ return [];
+ }
+ let array = Array.from(node.querySelectorAll(query));
+ return callback ? array.forEach(callback) : array;
+ },
+ childNodeLength(html) {
+ let template = document.createElement("template");
+ template.innerHTML = html;
+ return template.content.childElementCount;
+ },
+ isUploadInput(el) {
+ return el.type === "file" && el.getAttribute(PHX_UPLOAD_REF) !== null;
+ },
+ findUploadInputs(node) {
+ return this.all(node, `input[type="file"][${PHX_UPLOAD_REF}]`);
+ },
+ findComponentNodeList(node, cid) {
+ return this.filterWithinSameLiveView(this.all(node, `[${PHX_COMPONENT}="${cid}"]`), node);
+ },
+ isPhxDestroyed(node) {
+ return node.id && DOM.private(node, "destroyed") ? true : false;
+ },
+ markPhxChildDestroyed(el) {
+ el.setAttribute(PHX_SESSION, "");
+ this.putPrivate(el, "destroyed", true);
+ },
+ findPhxChildrenInFragment(html, parentId) {
+ let template = document.createElement("template");
+ template.innerHTML = html;
+ return this.findPhxChildren(template.content, parentId);
+ },
+ isIgnored(el, phxUpdate) {
+ return (el.getAttribute(phxUpdate) || el.getAttribute("data-phx-update")) === "ignore";
+ },
+ isPhxUpdate(el, phxUpdate, updateTypes) {
+ return el.getAttribute && updateTypes.indexOf(el.getAttribute(phxUpdate)) >= 0;
+ },
+ findPhxChildren(el, parentId) {
+ return this.all(el, `${PHX_VIEW_SELECTOR}[${PHX_PARENT_ID}="${parentId}"]`);
+ },
+ findParentCIDs(node, cids) {
+ let initial = new Set(cids);
+ return cids.reduce((acc, cid) => {
+ let selector = `[${PHX_COMPONENT}="${cid}"] [${PHX_COMPONENT}]`;
+ this.filterWithinSameLiveView(this.all(node, selector), node).map((el) => parseInt(el.getAttribute(PHX_COMPONENT))).forEach((childCID) => acc.delete(childCID));
+ return acc;
+ }, initial);
+ },
+ filterWithinSameLiveView(nodes, parent) {
+ if (parent.querySelector(PHX_VIEW_SELECTOR)) {
+ return nodes.filter((el) => this.withinSameLiveView(el, parent));
+ } else {
+ return nodes;
+ }
+ },
+ withinSameLiveView(node, parent) {
+ while (node = node.parentNode) {
+ if (node.isSameNode(parent)) {
+ return true;
+ }
+ if (node.getAttribute(PHX_SESSION) !== null) {
+ return false;
+ }
+ }
+ },
+ private(el, key) {
+ return el[PHX_PRIVATE] && el[PHX_PRIVATE][key];
+ },
+ deletePrivate(el, key) {
+ el[PHX_PRIVATE] && delete el[PHX_PRIVATE][key];
+ },
+ putPrivate(el, key, value) {
+ if (!el[PHX_PRIVATE]) {
+ el[PHX_PRIVATE] = {};
+ }
+ el[PHX_PRIVATE][key] = value;
+ },
+ copyPrivates(target, source) {
+ if (source[PHX_PRIVATE]) {
+ target[PHX_PRIVATE] = clone(source[PHX_PRIVATE]);
+ }
+ },
+ putTitle(str) {
+ let titleEl = document.querySelector("title");
+ let { prefix, suffix } = titleEl.dataset;
+ document.title = `${prefix || ""}${str}${suffix || ""}`;
+ },
+ debounce(el, event, phxDebounce, defaultDebounce, phxThrottle, defaultThrottle, callback) {
+ let debounce2 = el.getAttribute(phxDebounce);
+ let throttle = el.getAttribute(phxThrottle);
+ if (debounce2 === "") {
+ debounce2 = defaultDebounce;
+ }
+ if (throttle === "") {
+ throttle = defaultThrottle;
+ }
+ let value = debounce2 || throttle;
+ switch (value) {
+ case null:
+ return callback();
+ case "blur":
+ if (this.once(el, "debounce-blur")) {
+ el.addEventListener("blur", () => callback());
+ }
+ return;
+ default:
+ let timeout = parseInt(value);
+ let trigger = () => throttle ? this.deletePrivate(el, THROTTLED) : callback();
+ let currentCycle = this.incCycle(el, DEBOUNCE_TRIGGER, trigger);
+ if (isNaN(timeout)) {
+ return logError(`invalid throttle/debounce value: ${value}`);
+ }
+ if (throttle) {
+ let newKeyDown = false;
+ if (event.type === "keydown") {
+ let prevKey = this.private(el, DEBOUNCE_PREV_KEY);
+ this.putPrivate(el, DEBOUNCE_PREV_KEY, event.key);
+ newKeyDown = prevKey !== event.key;
+ }
+ if (!newKeyDown && this.private(el, THROTTLED)) {
+ return false;
+ } else {
+ callback();
+ this.putPrivate(el, THROTTLED, true);
+ setTimeout(() => this.triggerCycle(el, DEBOUNCE_TRIGGER), timeout);
+ }
+ } else {
+ setTimeout(() => this.triggerCycle(el, DEBOUNCE_TRIGGER, currentCycle), timeout);
+ }
+ let form = el.form;
+ if (form && this.once(form, "bind-debounce")) {
+ form.addEventListener("submit", () => {
+ Array.from(new FormData(form).entries(), ([name]) => {
+ let input = form.querySelector(`[name="${name}"]`);
+ this.incCycle(input, DEBOUNCE_TRIGGER);
+ this.deletePrivate(input, THROTTLED);
+ });
+ });
+ }
+ if (this.once(el, "bind-debounce")) {
+ el.addEventListener("blur", () => this.triggerCycle(el, DEBOUNCE_TRIGGER));
+ }
+ }
+ },
+ triggerCycle(el, key, currentCycle) {
+ let [cycle, trigger] = this.private(el, key);
+ if (!currentCycle) {
+ currentCycle = cycle;
+ }
+ if (currentCycle === cycle) {
+ this.incCycle(el, key);
+ trigger();
+ }
+ },
+ once(el, key) {
+ if (this.private(el, key) === true) {
+ return false;
+ }
+ this.putPrivate(el, key, true);
+ return true;
+ },
+ incCycle(el, key, trigger = function() {
+ }) {
+ let [currentCycle] = this.private(el, key) || [0, trigger];
+ currentCycle++;
+ this.putPrivate(el, key, [currentCycle, trigger]);
+ return currentCycle;
+ },
+ discardError(container, el, phxFeedbackFor) {
+ let field = el.getAttribute && el.getAttribute(phxFeedbackFor);
+ let input = field && container.querySelector(`[id="${field}"], [name="${field}"]`);
+ if (!input) {
+ return;
+ }
+ if (!(this.private(input, PHX_HAS_FOCUSED) || this.private(input.form, PHX_HAS_SUBMITTED))) {
+ el.classList.add(PHX_NO_FEEDBACK_CLASS);
+ }
+ },
+ showError(inputEl, phxFeedbackFor) {
+ if (inputEl.id || inputEl.name) {
+ this.all(inputEl.form, `[${phxFeedbackFor}="${inputEl.id}"], [${phxFeedbackFor}="${inputEl.name}"]`, (el) => {
+ this.removeClass(el, PHX_NO_FEEDBACK_CLASS);
+ });
+ }
+ },
+ isPhxChild(node) {
+ return node.getAttribute && node.getAttribute(PHX_PARENT_ID);
+ },
+ dispatchEvent(target, eventString, detail = {}) {
+ let event = new CustomEvent(eventString, { bubbles: true, cancelable: true, detail });
+ target.dispatchEvent(event);
+ },
+ cloneNode(node, html) {
+ if (typeof html === "undefined") {
+ return node.cloneNode(true);
+ } else {
+ let cloned = node.cloneNode(false);
+ cloned.innerHTML = html;
+ return cloned;
+ }
+ },
+ mergeAttrs(target, source, opts = {}) {
+ let exclude = opts.exclude || [];
+ let isIgnored = opts.isIgnored;
+ let sourceAttrs = source.attributes;
+ for (let i = sourceAttrs.length - 1; i >= 0; i--) {
+ let name = sourceAttrs[i].name;
+ if (exclude.indexOf(name) < 0) {
+ target.setAttribute(name, source.getAttribute(name));
+ }
+ }
+ let targetAttrs = target.attributes;
+ for (let i = targetAttrs.length - 1; i >= 0; i--) {
+ let name = targetAttrs[i].name;
+ if (isIgnored) {
+ if (name.startsWith("data-") && !source.hasAttribute(name)) {
+ target.removeAttribute(name);
+ }
+ } else {
+ if (!source.hasAttribute(name)) {
+ target.removeAttribute(name);
+ }
+ }
+ }
+ },
+ mergeFocusedInput(target, source) {
+ if (!(target instanceof HTMLSelectElement)) {
+ DOM.mergeAttrs(target, source, { except: ["value"] });
+ }
+ if (source.readOnly) {
+ target.setAttribute("readonly", true);
+ } else {
+ target.removeAttribute("readonly");
+ }
+ },
+ hasSelectionRange(el) {
+ return el.setSelectionRange && (el.type === "text" || el.type === "textarea");
+ },
+ restoreFocus(focused, selectionStart, selectionEnd) {
+ if (!DOM.isTextualInput(focused)) {
+ return;
+ }
+ let wasFocused = focused.matches(":focus");
+ if (focused.readOnly) {
+ focused.blur();
+ }
+ if (!wasFocused) {
+ focused.focus();
+ }
+ if (this.hasSelectionRange(focused)) {
+ focused.setSelectionRange(selectionStart, selectionEnd);
+ }
+ },
+ isFormInput(el) {
+ return /^(?:input|select|textarea)$/i.test(el.tagName) && el.type !== "button";
+ },
+ syncAttrsToProps(el) {
+ if (el instanceof HTMLInputElement && CHECKABLE_INPUTS.indexOf(el.type.toLocaleLowerCase()) >= 0) {
+ el.checked = el.getAttribute("checked") !== null;
+ }
+ },
+ syncPropsToAttrs(el) {
+ if (el instanceof HTMLSelectElement) {
+ let selectedItem = el.options.item(el.selectedIndex);
+ if (selectedItem && selectedItem.getAttribute("selected") === null) {
+ selectedItem.setAttribute("selected", "");
+ }
+ }
+ },
+ isTextualInput(el) {
+ return FOCUSABLE_INPUTS.indexOf(el.type) >= 0;
+ },
+ isNowTriggerFormExternal(el, phxTriggerExternal) {
+ return el.getAttribute && el.getAttribute(phxTriggerExternal) !== null;
+ },
+ syncPendingRef(fromEl, toEl, disableWith) {
+ let ref = fromEl.getAttribute(PHX_REF);
+ if (ref === null) {
+ return true;
+ }
+ if (DOM.isFormInput(fromEl) || fromEl.getAttribute(disableWith) !== null) {
+ if (DOM.isUploadInput(fromEl)) {
+ DOM.mergeAttrs(fromEl, toEl, { isIgnored: true });
+ }
+ DOM.putPrivate(fromEl, PHX_REF, toEl);
+ return false;
+ } else {
+ PHX_EVENT_CLASSES.forEach((className) => {
+ fromEl.classList.contains(className) && toEl.classList.add(className);
+ });
+ toEl.setAttribute(PHX_REF, ref);
+ return true;
+ }
+ },
+ cleanChildNodes(container, phxUpdate) {
+ if (DOM.isPhxUpdate(container, phxUpdate, ["append", "prepend"])) {
+ let toRemove = [];
+ container.childNodes.forEach((childNode) => {
+ if (!childNode.id) {
+ let isEmptyTextNode = childNode.nodeType === Node.TEXT_NODE && childNode.nodeValue.trim() === "";
+ if (!isEmptyTextNode) {
+ logError(`only HTML element tags with an id are allowed inside containers with phx-update.
+
+removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
+
+`);
+ }
+ toRemove.push(childNode);
+ }
+ });
+ toRemove.forEach((childNode) => childNode.remove());
+ }
+ },
+ replaceRootContainer(container, tagName, attrs) {
+ let retainedAttrs = new Set(["id", PHX_SESSION, PHX_STATIC, PHX_MAIN]);
+ if (container.tagName.toLowerCase() === tagName.toLowerCase()) {
+ Array.from(container.attributes).filter((attr) => !retainedAttrs.has(attr.name.toLowerCase())).forEach((attr) => container.removeAttribute(attr.name));
+ Object.keys(attrs).filter((name) => !retainedAttrs.has(name.toLowerCase())).forEach((attr) => container.setAttribute(attr, attrs[attr]));
+ return container;
+ } else {
+ let newContainer = document.createElement(tagName);
+ Object.keys(attrs).forEach((attr) => newContainer.setAttribute(attr, attrs[attr]));
+ retainedAttrs.forEach((attr) => newContainer.setAttribute(attr, container.getAttribute(attr)));
+ newContainer.innerHTML = container.innerHTML;
+ container.replaceWith(newContainer);
+ return newContainer;
+ }
+ }
+ };
+ var dom_default = DOM;
+ var UploadEntry = class {
+ static isActive(fileEl, file) {
+ let isNew = file._phxRef === void 0;
+ let activeRefs = fileEl.getAttribute(PHX_ACTIVE_ENTRY_REFS).split(",");
+ let isActive = activeRefs.indexOf(LiveUploader.genFileRef(file)) >= 0;
+ return file.size > 0 && (isNew || isActive);
+ }
+ static isPreflighted(fileEl, file) {
+ let preflightedRefs = fileEl.getAttribute(PHX_PREFLIGHTED_REFS).split(",");
+ let isPreflighted = preflightedRefs.indexOf(LiveUploader.genFileRef(file)) >= 0;
+ return isPreflighted && this.isActive(fileEl, file);
+ }
+ constructor(fileEl, file, view) {
+ this.ref = LiveUploader.genFileRef(file);
+ this.fileEl = fileEl;
+ this.file = file;
+ this.view = view;
+ this.meta = null;
+ this._isCancelled = false;
+ this._isDone = false;
+ this._progress = 0;
+ this._lastProgressSent = -1;
+ this._onDone = function() {
+ };
+ this._onElUpdated = this.onElUpdated.bind(this);
+ this.fileEl.addEventListener(PHX_LIVE_FILE_UPDATED, this._onElUpdated);
+ }
+ metadata() {
+ return this.meta;
+ }
+ progress(progress) {
+ this._progress = Math.floor(progress);
+ if (this._progress > this._lastProgressSent) {
+ if (this._progress >= 100) {
+ this._progress = 100;
+ this._lastProgressSent = 100;
+ this._isDone = true;
+ this.view.pushFileProgress(this.fileEl, this.ref, 100, () => {
+ LiveUploader.untrackFile(this.fileEl, this.file);
+ this._onDone();
+ });
+ } else {
+ this._lastProgressSent = this._progress;
+ this.view.pushFileProgress(this.fileEl, this.ref, this._progress);
+ }
+ }
+ }
+ cancel() {
+ this._isCancelled = true;
+ this._isDone = true;
+ this._onDone();
+ }
+ isDone() {
+ return this._isDone;
+ }
+ error(reason = "failed") {
+ this.view.pushFileProgress(this.fileEl, this.ref, { error: reason });
+ LiveUploader.clearFiles(this.fileEl);
+ }
+ onDone(callback) {
+ this._onDone = () => {
+ this.fileEl.removeEventListener(PHX_LIVE_FILE_UPDATED, this._onElUpdated);
+ callback();
+ };
+ }
+ onElUpdated() {
+ let activeRefs = this.fileEl.getAttribute(PHX_ACTIVE_ENTRY_REFS).split(",");
+ if (activeRefs.indexOf(this.ref) === -1) {
+ this.cancel();
+ }
+ }
+ toPreflightPayload() {
+ return {
+ last_modified: this.file.lastModified,
+ name: this.file.name,
+ size: this.file.size,
+ type: this.file.type,
+ ref: this.ref
+ };
+ }
+ uploader(uploaders) {
+ if (this.meta.uploader) {
+ let callback = uploaders[this.meta.uploader] || logError(`no uploader configured for ${this.meta.uploader}`);
+ return { name: this.meta.uploader, callback };
+ } else {
+ return { name: "channel", callback: channelUploader };
+ }
+ }
+ zipPostFlight(resp) {
+ this.meta = resp.entries[this.ref];
+ if (!this.meta) {
+ logError(`no preflight upload response returned with ref ${this.ref}`, { input: this.fileEl, response: resp });
+ }
+ }
+ };
+ var liveUploaderFileRef = 0;
+ var LiveUploader = class {
+ static genFileRef(file) {
+ let ref = file._phxRef;
+ if (ref !== void 0) {
+ return ref;
+ } else {
+ file._phxRef = (liveUploaderFileRef++).toString();
+ return file._phxRef;
+ }
+ }
+ static getEntryDataURL(inputEl, ref, callback) {
+ let file = this.activeFiles(inputEl).find((file2) => this.genFileRef(file2) === ref);
+ callback(URL.createObjectURL(file));
+ }
+ static hasUploadsInProgress(formEl) {
+ let active = 0;
+ dom_default.findUploadInputs(formEl).forEach((input) => {
+ if (input.getAttribute(PHX_PREFLIGHTED_REFS) !== input.getAttribute(PHX_DONE_REFS)) {
+ active++;
+ }
+ });
+ return active > 0;
+ }
+ static serializeUploads(inputEl) {
+ let files = this.activeFiles(inputEl);
+ let fileData = {};
+ files.forEach((file) => {
+ let entry = { path: inputEl.name };
+ let uploadRef = inputEl.getAttribute(PHX_UPLOAD_REF);
+ fileData[uploadRef] = fileData[uploadRef] || [];
+ entry.ref = this.genFileRef(file);
+ entry.name = file.name || entry.ref;
+ entry.type = file.type;
+ entry.size = file.size;
+ fileData[uploadRef].push(entry);
+ });
+ return fileData;
+ }
+ static clearFiles(inputEl) {
+ inputEl.value = null;
+ inputEl.removeAttribute(PHX_UPLOAD_REF);
+ dom_default.putPrivate(inputEl, "files", []);
+ }
+ static untrackFile(inputEl, file) {
+ dom_default.putPrivate(inputEl, "files", dom_default.private(inputEl, "files").filter((f) => !Object.is(f, file)));
+ }
+ static trackFiles(inputEl, files) {
+ if (inputEl.getAttribute("multiple") !== null) {
+ let newFiles = files.filter((file) => !this.activeFiles(inputEl).find((f) => Object.is(f, file)));
+ dom_default.putPrivate(inputEl, "files", this.activeFiles(inputEl).concat(newFiles));
+ inputEl.value = null;
+ } else {
+ dom_default.putPrivate(inputEl, "files", files);
+ }
+ }
+ static activeFileInputs(formEl) {
+ let fileInputs = dom_default.findUploadInputs(formEl);
+ return Array.from(fileInputs).filter((el) => el.files && this.activeFiles(el).length > 0);
+ }
+ static activeFiles(input) {
+ return (dom_default.private(input, "files") || []).filter((f) => UploadEntry.isActive(input, f));
+ }
+ static inputsAwaitingPreflight(formEl) {
+ let fileInputs = dom_default.findUploadInputs(formEl);
+ return Array.from(fileInputs).filter((input) => this.filesAwaitingPreflight(input).length > 0);
+ }
+ static filesAwaitingPreflight(input) {
+ return this.activeFiles(input).filter((f) => !UploadEntry.isPreflighted(input, f));
+ }
+ constructor(inputEl, view, onComplete) {
+ this.view = view;
+ this.onComplete = onComplete;
+ this._entries = Array.from(LiveUploader.filesAwaitingPreflight(inputEl) || []).map((file) => new UploadEntry(inputEl, file, view));
+ this.numEntriesInProgress = this._entries.length;
+ }
+ entries() {
+ return this._entries;
+ }
+ initAdapterUpload(resp, onError, liveSocket2) {
+ this._entries = this._entries.map((entry) => {
+ entry.zipPostFlight(resp);
+ entry.onDone(() => {
+ this.numEntriesInProgress--;
+ if (this.numEntriesInProgress === 0) {
+ this.onComplete();
+ }
+ });
+ return entry;
+ });
+ let groupedEntries = this._entries.reduce((acc, entry) => {
+ let { name, callback } = entry.uploader(liveSocket2.uploaders);
+ acc[name] = acc[name] || { callback, entries: [] };
+ acc[name].entries.push(entry);
+ return acc;
+ }, {});
+ for (let name in groupedEntries) {
+ let { callback, entries } = groupedEntries[name];
+ callback(entries, onError, resp, liveSocket2);
+ }
+ }
+ };
+ var Hooks = {
+ LiveFileUpload: {
+ activeRefs() {
+ return this.el.getAttribute(PHX_ACTIVE_ENTRY_REFS);
+ },
+ preflightedRefs() {
+ return this.el.getAttribute(PHX_PREFLIGHTED_REFS);
+ },
+ mounted() {
+ this.preflightedWas = this.preflightedRefs();
+ },
+ updated() {
+ let newPreflights = this.preflightedRefs();
+ if (this.preflightedWas !== newPreflights) {
+ this.preflightedWas = newPreflights;
+ if (newPreflights === "") {
+ this.__view.cancelSubmit(this.el.form);
+ }
+ }
+ if (this.activeRefs() === "") {
+ this.el.value = null;
+ }
+ this.el.dispatchEvent(new CustomEvent(PHX_LIVE_FILE_UPDATED));
+ }
+ },
+ LiveImgPreview: {
+ mounted() {
+ this.ref = this.el.getAttribute("data-phx-entry-ref");
+ this.inputEl = document.getElementById(this.el.getAttribute(PHX_UPLOAD_REF));
+ LiveUploader.getEntryDataURL(this.inputEl, this.ref, (url) => {
+ this.url = url;
+ this.el.src = url;
+ });
+ },
+ destroyed() {
+ URL.revokeObjectURL(this.url);
+ }
+ }
+ };
+ var hooks_default = Hooks;
+ var DOMPostMorphRestorer = class {
+ constructor(containerBefore, containerAfter, updateType) {
+ let idsBefore = new Set();
+ let idsAfter = new Set([...containerAfter.children].map((child) => child.id));
+ let elementsToModify = [];
+ Array.from(containerBefore.children).forEach((child) => {
+ if (child.id) {
+ idsBefore.add(child.id);
+ if (idsAfter.has(child.id)) {
+ let previousElementId = child.previousElementSibling && child.previousElementSibling.id;
+ elementsToModify.push({ elementId: child.id, previousElementId });
+ }
+ }
+ });
+ this.containerId = containerAfter.id;
+ this.updateType = updateType;
+ this.elementsToModify = elementsToModify;
+ this.elementIdsToAdd = [...idsAfter].filter((id) => !idsBefore.has(id));
+ }
+ perform() {
+ let container = dom_default.byId(this.containerId);
+ this.elementsToModify.forEach((elementToModify) => {
+ if (elementToModify.previousElementId) {
+ maybe(document.getElementById(elementToModify.previousElementId), (previousElem) => {
+ maybe(document.getElementById(elementToModify.elementId), (elem) => {
+ let isInRightPlace = elem.previousElementSibling && elem.previousElementSibling.id == previousElem.id;
+ if (!isInRightPlace) {
+ previousElem.insertAdjacentElement("afterend", elem);
+ }
+ });
+ });
+ } else {
+ maybe(document.getElementById(elementToModify.elementId), (elem) => {
+ let isInRightPlace = elem.previousElementSibling == null;
+ if (!isInRightPlace) {
+ container.insertAdjacentElement("afterbegin", elem);
+ }
+ });
+ }
+ });
+ if (this.updateType == "prepend") {
+ this.elementIdsToAdd.reverse().forEach((elemId) => {
+ maybe(document.getElementById(elemId), (elem) => container.insertAdjacentElement("afterbegin", elem));
+ });
+ }
+ }
+ };
+ var DOCUMENT_FRAGMENT_NODE = 11;
+ function morphAttrs(fromNode, toNode) {
+ var toNodeAttrs = toNode.attributes;
+ var attr;
+ var attrName;
+ var attrNamespaceURI;
+ var attrValue;
+ var fromValue;
+ if (toNode.nodeType === DOCUMENT_FRAGMENT_NODE || fromNode.nodeType === DOCUMENT_FRAGMENT_NODE) {
+ return;
+ }
+ for (var i = toNodeAttrs.length - 1; i >= 0; i--) {
+ attr = toNodeAttrs[i];
+ attrName = attr.name;
+ attrNamespaceURI = attr.namespaceURI;
+ attrValue = attr.value;
+ if (attrNamespaceURI) {
+ attrName = attr.localName || attrName;
+ fromValue = fromNode.getAttributeNS(attrNamespaceURI, attrName);
+ if (fromValue !== attrValue) {
+ if (attr.prefix === "xmlns") {
+ attrName = attr.name;
+ }
+ fromNode.setAttributeNS(attrNamespaceURI, attrName, attrValue);
+ }
+ } else {
+ fromValue = fromNode.getAttribute(attrName);
+ if (fromValue !== attrValue) {
+ fromNode.setAttribute(attrName, attrValue);
+ }
+ }
+ }
+ var fromNodeAttrs = fromNode.attributes;
+ for (var d = fromNodeAttrs.length - 1; d >= 0; d--) {
+ attr = fromNodeAttrs[d];
+ attrName = attr.name;
+ attrNamespaceURI = attr.namespaceURI;
+ if (attrNamespaceURI) {
+ attrName = attr.localName || attrName;
+ if (!toNode.hasAttributeNS(attrNamespaceURI, attrName)) {
+ fromNode.removeAttributeNS(attrNamespaceURI, attrName);
+ }
+ } else {
+ if (!toNode.hasAttribute(attrName)) {
+ fromNode.removeAttribute(attrName);
+ }
+ }
+ }
+ }
+ var range;
+ var NS_XHTML = "http://www.w3.org/1999/xhtml";
+ var doc = typeof document === "undefined" ? void 0 : document;
+ var HAS_TEMPLATE_SUPPORT = !!doc && "content" in doc.createElement("template");
+ var HAS_RANGE_SUPPORT = !!doc && doc.createRange && "createContextualFragment" in doc.createRange();
+ function createFragmentFromTemplate(str) {
+ var template = doc.createElement("template");
+ template.innerHTML = str;
+ return template.content.childNodes[0];
+ }
+ function createFragmentFromRange(str) {
+ if (!range) {
+ range = doc.createRange();
+ range.selectNode(doc.body);
+ }
+ var fragment = range.createContextualFragment(str);
+ return fragment.childNodes[0];
+ }
+ function createFragmentFromWrap(str) {
+ var fragment = doc.createElement("body");
+ fragment.innerHTML = str;
+ return fragment.childNodes[0];
+ }
+ function toElement(str) {
+ str = str.trim();
+ if (HAS_TEMPLATE_SUPPORT) {
+ return createFragmentFromTemplate(str);
+ } else if (HAS_RANGE_SUPPORT) {
+ return createFragmentFromRange(str);
+ }
+ return createFragmentFromWrap(str);
+ }
+ function compareNodeNames(fromEl, toEl) {
+ var fromNodeName = fromEl.nodeName;
+ var toNodeName = toEl.nodeName;
+ var fromCodeStart, toCodeStart;
+ if (fromNodeName === toNodeName) {
+ return true;
+ }
+ fromCodeStart = fromNodeName.charCodeAt(0);
+ toCodeStart = toNodeName.charCodeAt(0);
+ if (fromCodeStart <= 90 && toCodeStart >= 97) {
+ return fromNodeName === toNodeName.toUpperCase();
+ } else if (toCodeStart <= 90 && fromCodeStart >= 97) {
+ return toNodeName === fromNodeName.toUpperCase();
+ } else {
+ return false;
+ }
+ }
+ function createElementNS(name, namespaceURI) {
+ return !namespaceURI || namespaceURI === NS_XHTML ? doc.createElement(name) : doc.createElementNS(namespaceURI, name);
+ }
+ function moveChildren(fromEl, toEl) {
+ var curChild = fromEl.firstChild;
+ while (curChild) {
+ var nextChild = curChild.nextSibling;
+ toEl.appendChild(curChild);
+ curChild = nextChild;
+ }
+ return toEl;
+ }
+ function syncBooleanAttrProp(fromEl, toEl, name) {
+ if (fromEl[name] !== toEl[name]) {
+ fromEl[name] = toEl[name];
+ if (fromEl[name]) {
+ fromEl.setAttribute(name, "");
+ } else {
+ fromEl.removeAttribute(name);
+ }
+ }
+ }
+ var specialElHandlers = {
+ OPTION: function(fromEl, toEl) {
+ var parentNode = fromEl.parentNode;
+ if (parentNode) {
+ var parentName = parentNode.nodeName.toUpperCase();
+ if (parentName === "OPTGROUP") {
+ parentNode = parentNode.parentNode;
+ parentName = parentNode && parentNode.nodeName.toUpperCase();
+ }
+ if (parentName === "SELECT" && !parentNode.hasAttribute("multiple")) {
+ if (fromEl.hasAttribute("selected") && !toEl.selected) {
+ fromEl.setAttribute("selected", "selected");
+ fromEl.removeAttribute("selected");
+ }
+ parentNode.selectedIndex = -1;
+ }
+ }
+ syncBooleanAttrProp(fromEl, toEl, "selected");
+ },
+ INPUT: function(fromEl, toEl) {
+ syncBooleanAttrProp(fromEl, toEl, "checked");
+ syncBooleanAttrProp(fromEl, toEl, "disabled");
+ if (fromEl.value !== toEl.value) {
+ fromEl.value = toEl.value;
+ }
+ if (!toEl.hasAttribute("value")) {
+ fromEl.removeAttribute("value");
+ }
+ },
+ TEXTAREA: function(fromEl, toEl) {
+ var newValue = toEl.value;
+ if (fromEl.value !== newValue) {
+ fromEl.value = newValue;
+ }
+ var firstChild = fromEl.firstChild;
+ if (firstChild) {
+ var oldValue = firstChild.nodeValue;
+ if (oldValue == newValue || !newValue && oldValue == fromEl.placeholder) {
+ return;
+ }
+ firstChild.nodeValue = newValue;
+ }
+ },
+ SELECT: function(fromEl, toEl) {
+ if (!toEl.hasAttribute("multiple")) {
+ var selectedIndex = -1;
+ var i = 0;
+ var curChild = fromEl.firstChild;
+ var optgroup;
+ var nodeName;
+ while (curChild) {
+ nodeName = curChild.nodeName && curChild.nodeName.toUpperCase();
+ if (nodeName === "OPTGROUP") {
+ optgroup = curChild;
+ curChild = optgroup.firstChild;
+ } else {
+ if (nodeName === "OPTION") {
+ if (curChild.hasAttribute("selected")) {
+ selectedIndex = i;
+ break;
+ }
+ i++;
+ }
+ curChild = curChild.nextSibling;
+ if (!curChild && optgroup) {
+ curChild = optgroup.nextSibling;
+ optgroup = null;
+ }
+ }
+ }
+ fromEl.selectedIndex = selectedIndex;
+ }
+ }
+ };
+ var ELEMENT_NODE = 1;
+ var DOCUMENT_FRAGMENT_NODE$1 = 11;
+ var TEXT_NODE = 3;
+ var COMMENT_NODE = 8;
+ function noop2() {
+ }
+ function defaultGetNodeKey(node) {
+ if (node) {
+ return node.getAttribute && node.getAttribute("id") || node.id;
+ }
+ }
+ function morphdomFactory(morphAttrs2) {
+ return function morphdom2(fromNode, toNode, options) {
+ if (!options) {
+ options = {};
+ }
+ if (typeof toNode === "string") {
+ if (fromNode.nodeName === "#document" || fromNode.nodeName === "HTML" || fromNode.nodeName === "BODY") {
+ var toNodeHtml = toNode;
+ toNode = doc.createElement("html");
+ toNode.innerHTML = toNodeHtml;
+ } else {
+ toNode = toElement(toNode);
+ }
+ }
+ var getNodeKey = options.getNodeKey || defaultGetNodeKey;
+ var onBeforeNodeAdded = options.onBeforeNodeAdded || noop2;
+ var onNodeAdded = options.onNodeAdded || noop2;
+ var onBeforeElUpdated = options.onBeforeElUpdated || noop2;
+ var onElUpdated = options.onElUpdated || noop2;
+ var onBeforeNodeDiscarded = options.onBeforeNodeDiscarded || noop2;
+ var onNodeDiscarded = options.onNodeDiscarded || noop2;
+ var onBeforeElChildrenUpdated = options.onBeforeElChildrenUpdated || noop2;
+ var childrenOnly = options.childrenOnly === true;
+ var fromNodesLookup = Object.create(null);
+ var keyedRemovalList = [];
+ function addKeyedRemoval(key) {
+ keyedRemovalList.push(key);
+ }
+ function walkDiscardedChildNodes(node, skipKeyedNodes) {
+ if (node.nodeType === ELEMENT_NODE) {
+ var curChild = node.firstChild;
+ while (curChild) {
+ var key = void 0;
+ if (skipKeyedNodes && (key = getNodeKey(curChild))) {
+ addKeyedRemoval(key);
+ } else {
+ onNodeDiscarded(curChild);
+ if (curChild.firstChild) {
+ walkDiscardedChildNodes(curChild, skipKeyedNodes);
+ }
+ }
+ curChild = curChild.nextSibling;
+ }
+ }
+ }
+ function removeNode(node, parentNode, skipKeyedNodes) {
+ if (onBeforeNodeDiscarded(node) === false) {
+ return;
+ }
+ if (parentNode) {
+ parentNode.removeChild(node);
+ }
+ onNodeDiscarded(node);
+ walkDiscardedChildNodes(node, skipKeyedNodes);
+ }
+ function indexTree(node) {
+ if (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE$1) {
+ var curChild = node.firstChild;
+ while (curChild) {
+ var key = getNodeKey(curChild);
+ if (key) {
+ fromNodesLookup[key] = curChild;
+ }
+ indexTree(curChild);
+ curChild = curChild.nextSibling;
+ }
+ }
+ }
+ indexTree(fromNode);
+ function handleNodeAdded(el) {
+ onNodeAdded(el);
+ var curChild = el.firstChild;
+ while (curChild) {
+ var nextSibling = curChild.nextSibling;
+ var key = getNodeKey(curChild);
+ if (key) {
+ var unmatchedFromEl = fromNodesLookup[key];
+ if (unmatchedFromEl && compareNodeNames(curChild, unmatchedFromEl)) {
+ curChild.parentNode.replaceChild(unmatchedFromEl, curChild);
+ morphEl(unmatchedFromEl, curChild);
+ } else {
+ handleNodeAdded(curChild);
+ }
+ } else {
+ handleNodeAdded(curChild);
+ }
+ curChild = nextSibling;
+ }
+ }
+ function cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey) {
+ while (curFromNodeChild) {
+ var fromNextSibling = curFromNodeChild.nextSibling;
+ if (curFromNodeKey = getNodeKey(curFromNodeChild)) {
+ addKeyedRemoval(curFromNodeKey);
+ } else {
+ removeNode(curFromNodeChild, fromEl, true);
+ }
+ curFromNodeChild = fromNextSibling;
+ }
+ }
+ function morphEl(fromEl, toEl, childrenOnly2) {
+ var toElKey = getNodeKey(toEl);
+ if (toElKey) {
+ delete fromNodesLookup[toElKey];
+ }
+ if (!childrenOnly2) {
+ if (onBeforeElUpdated(fromEl, toEl) === false) {
+ return;
+ }
+ morphAttrs2(fromEl, toEl);
+ onElUpdated(fromEl);
+ if (onBeforeElChildrenUpdated(fromEl, toEl) === false) {
+ return;
+ }
+ }
+ if (fromEl.nodeName !== "TEXTAREA") {
+ morphChildren(fromEl, toEl);
+ } else {
+ specialElHandlers.TEXTAREA(fromEl, toEl);
+ }
+ }
+ function morphChildren(fromEl, toEl) {
+ var curToNodeChild = toEl.firstChild;
+ var curFromNodeChild = fromEl.firstChild;
+ var curToNodeKey;
+ var curFromNodeKey;
+ var fromNextSibling;
+ var toNextSibling;
+ var matchingFromEl;
+ outer:
+ while (curToNodeChild) {
+ toNextSibling = curToNodeChild.nextSibling;
+ curToNodeKey = getNodeKey(curToNodeChild);
+ while (curFromNodeChild) {
+ fromNextSibling = curFromNodeChild.nextSibling;
+ if (curToNodeChild.isSameNode && curToNodeChild.isSameNode(curFromNodeChild)) {
+ curToNodeChild = toNextSibling;
+ curFromNodeChild = fromNextSibling;
+ continue outer;
+ }
+ curFromNodeKey = getNodeKey(curFromNodeChild);
+ var curFromNodeType = curFromNodeChild.nodeType;
+ var isCompatible = void 0;
+ if (curFromNodeType === curToNodeChild.nodeType) {
+ if (curFromNodeType === ELEMENT_NODE) {
+ if (curToNodeKey) {
+ if (curToNodeKey !== curFromNodeKey) {
+ if (matchingFromEl = fromNodesLookup[curToNodeKey]) {
+ if (fromNextSibling === matchingFromEl) {
+ isCompatible = false;
+ } else {
+ fromEl.insertBefore(matchingFromEl, curFromNodeChild);
+ if (curFromNodeKey) {
+ addKeyedRemoval(curFromNodeKey);
+ } else {
+ removeNode(curFromNodeChild, fromEl, true);
+ }
+ curFromNodeChild = matchingFromEl;
+ }
+ } else {
+ isCompatible = false;
+ }
+ }
+ } else if (curFromNodeKey) {
+ isCompatible = false;
+ }
+ isCompatible = isCompatible !== false && compareNodeNames(curFromNodeChild, curToNodeChild);
+ if (isCompatible) {
+ morphEl(curFromNodeChild, curToNodeChild);
+ }
+ } else if (curFromNodeType === TEXT_NODE || curFromNodeType == COMMENT_NODE) {
+ isCompatible = true;
+ if (curFromNodeChild.nodeValue !== curToNodeChild.nodeValue) {
+ curFromNodeChild.nodeValue = curToNodeChild.nodeValue;
+ }
+ }
+ }
+ if (isCompatible) {
+ curToNodeChild = toNextSibling;
+ curFromNodeChild = fromNextSibling;
+ continue outer;
+ }
+ if (curFromNodeKey) {
+ addKeyedRemoval(curFromNodeKey);
+ } else {
+ removeNode(curFromNodeChild, fromEl, true);
+ }
+ curFromNodeChild = fromNextSibling;
+ }
+ if (curToNodeKey && (matchingFromEl = fromNodesLookup[curToNodeKey]) && compareNodeNames(matchingFromEl, curToNodeChild)) {
+ fromEl.appendChild(matchingFromEl);
+ morphEl(matchingFromEl, curToNodeChild);
+ } else {
+ var onBeforeNodeAddedResult = onBeforeNodeAdded(curToNodeChild);
+ if (onBeforeNodeAddedResult !== false) {
+ if (onBeforeNodeAddedResult) {
+ curToNodeChild = onBeforeNodeAddedResult;
+ }
+ if (curToNodeChild.actualize) {
+ curToNodeChild = curToNodeChild.actualize(fromEl.ownerDocument || doc);
+ }
+ fromEl.appendChild(curToNodeChild);
+ handleNodeAdded(curToNodeChild);
+ }
+ }
+ curToNodeChild = toNextSibling;
+ curFromNodeChild = fromNextSibling;
+ }
+ cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey);
+ var specialElHandler = specialElHandlers[fromEl.nodeName];
+ if (specialElHandler) {
+ specialElHandler(fromEl, toEl);
+ }
+ }
+ var morphedNode = fromNode;
+ var morphedNodeType = morphedNode.nodeType;
+ var toNodeType = toNode.nodeType;
+ if (!childrenOnly) {
+ if (morphedNodeType === ELEMENT_NODE) {
+ if (toNodeType === ELEMENT_NODE) {
+ if (!compareNodeNames(fromNode, toNode)) {
+ onNodeDiscarded(fromNode);
+ morphedNode = moveChildren(fromNode, createElementNS(toNode.nodeName, toNode.namespaceURI));
+ }
+ } else {
+ morphedNode = toNode;
+ }
+ } else if (morphedNodeType === TEXT_NODE || morphedNodeType === COMMENT_NODE) {
+ if (toNodeType === morphedNodeType) {
+ if (morphedNode.nodeValue !== toNode.nodeValue) {
+ morphedNode.nodeValue = toNode.nodeValue;
+ }
+ return morphedNode;
+ } else {
+ morphedNode = toNode;
+ }
+ }
+ }
+ if (morphedNode === toNode) {
+ onNodeDiscarded(fromNode);
+ } else {
+ if (toNode.isSameNode && toNode.isSameNode(morphedNode)) {
+ return;
+ }
+ morphEl(morphedNode, toNode, childrenOnly);
+ if (keyedRemovalList) {
+ for (var i = 0, len = keyedRemovalList.length; i < len; i++) {
+ var elToRemove = fromNodesLookup[keyedRemovalList[i]];
+ if (elToRemove) {
+ removeNode(elToRemove, elToRemove.parentNode, false);
+ }
+ }
+ }
+ }
+ if (!childrenOnly && morphedNode !== fromNode && fromNode.parentNode) {
+ if (morphedNode.actualize) {
+ morphedNode = morphedNode.actualize(fromNode.ownerDocument || doc);
+ }
+ fromNode.parentNode.replaceChild(morphedNode, fromNode);
+ }
+ return morphedNode;
+ };
+ }
+ var morphdom = morphdomFactory(morphAttrs);
+ var morphdom_esm_default = morphdom;
+ var DOMPatch = class {
+ static patchEl(fromEl, toEl, activeElement) {
+ morphdom_esm_default(fromEl, toEl, {
+ childrenOnly: false,
+ onBeforeElUpdated: (fromEl2, toEl2) => {
+ if (activeElement && activeElement.isSameNode(fromEl2) && dom_default.isFormInput(fromEl2)) {
+ dom_default.mergeFocusedInput(fromEl2, toEl2);
+ return false;
+ }
+ }
+ });
+ }
+ constructor(view, container, id, html, targetCID) {
+ this.view = view;
+ this.liveSocket = view.liveSocket;
+ this.container = container;
+ this.id = id;
+ this.rootID = view.root.id;
+ this.html = html;
+ this.targetCID = targetCID;
+ this.cidPatch = isCid(this.targetCID);
+ this.callbacks = {
+ beforeadded: [],
+ beforeupdated: [],
+ beforephxChildAdded: [],
+ afteradded: [],
+ afterupdated: [],
+ afterdiscarded: [],
+ afterphxChildAdded: []
+ };
+ }
+ before(kind, callback) {
+ this.callbacks[`before${kind}`].push(callback);
+ }
+ after(kind, callback) {
+ this.callbacks[`after${kind}`].push(callback);
+ }
+ trackBefore(kind, ...args) {
+ this.callbacks[`before${kind}`].forEach((callback) => callback(...args));
+ }
+ trackAfter(kind, ...args) {
+ this.callbacks[`after${kind}`].forEach((callback) => callback(...args));
+ }
+ markPrunableContentForRemoval() {
+ dom_default.all(this.container, "[phx-update=append] > *, [phx-update=prepend] > *", (el) => {
+ el.setAttribute(PHX_REMOVE, "");
+ });
+ }
+ perform() {
+ let { view, liveSocket: liveSocket2, container, html } = this;
+ let targetContainer = this.isCIDPatch() ? this.targetCIDContainer(html) : container;
+ if (this.isCIDPatch() && !targetContainer) {
+ return;
+ }
+ let focused = liveSocket2.getActiveElement();
+ let { selectionStart, selectionEnd } = focused && dom_default.hasSelectionRange(focused) ? focused : {};
+ let phxUpdate = liveSocket2.binding(PHX_UPDATE);
+ let phxFeedbackFor = liveSocket2.binding(PHX_FEEDBACK_FOR);
+ let disableWith = liveSocket2.binding(PHX_DISABLE_WITH);
+ let phxTriggerExternal = liveSocket2.binding(PHX_TRIGGER_ACTION);
+ let added = [];
+ let updates = [];
+ let appendPrependUpdates = [];
+ let externalFormTriggered = null;
+ let diffHTML = liveSocket2.time("premorph container prep", () => {
+ return this.buildDiffHTML(container, html, phxUpdate, targetContainer);
+ });
+ this.trackBefore("added", container);
+ this.trackBefore("updated", container, container);
+ liveSocket2.time("morphdom", () => {
+ morphdom_esm_default(targetContainer, diffHTML, {
+ childrenOnly: targetContainer.getAttribute(PHX_COMPONENT) === null,
+ getNodeKey: (node) => {
+ return dom_default.isPhxDestroyed(node) ? null : node.id;
+ },
+ onBeforeNodeAdded: (el) => {
+ this.trackBefore("added", el);
+ return el;
+ },
+ onNodeAdded: (el) => {
+ if (dom_default.isNowTriggerFormExternal(el, phxTriggerExternal)) {
+ externalFormTriggered = el;
+ }
+ dom_default.discardError(targetContainer, el, phxFeedbackFor);
+ if (dom_default.isPhxChild(el) && view.ownsElement(el)) {
+ this.trackAfter("phxChildAdded", el);
+ }
+ added.push(el);
+ },
+ onNodeDiscarded: (el) => {
+ if (dom_default.isPhxChild(el)) {
+ liveSocket2.destroyViewByEl(el);
+ }
+ this.trackAfter("discarded", el);
+ },
+ onBeforeNodeDiscarded: (el) => {
+ if (el.getAttribute && el.getAttribute(PHX_REMOVE) !== null) {
+ return true;
+ }
+ if (el.parentNode !== null && dom_default.isPhxUpdate(el.parentNode, phxUpdate, ["append", "prepend"]) && el.id) {
+ return false;
+ }
+ if (this.skipCIDSibling(el)) {
+ return false;
+ }
+ return true;
+ },
+ onElUpdated: (el) => {
+ if (dom_default.isNowTriggerFormExternal(el, phxTriggerExternal)) {
+ externalFormTriggered = el;
+ }
+ updates.push(el);
+ },
+ onBeforeElUpdated: (fromEl, toEl) => {
+ dom_default.cleanChildNodes(toEl, phxUpdate);
+ if (this.skipCIDSibling(toEl)) {
+ return false;
+ }
+ if (dom_default.isIgnored(fromEl, phxUpdate)) {
+ this.trackBefore("updated", fromEl, toEl);
+ dom_default.mergeAttrs(fromEl, toEl, { isIgnored: true });
+ updates.push(fromEl);
+ return false;
+ }
+ if (fromEl.type === "number" && (fromEl.validity && fromEl.validity.badInput)) {
+ return false;
+ }
+ if (!dom_default.syncPendingRef(fromEl, toEl, disableWith)) {
+ if (dom_default.isUploadInput(fromEl)) {
+ this.trackBefore("updated", fromEl, toEl);
+ updates.push(fromEl);
+ }
+ return false;
+ }
+ if (dom_default.isPhxChild(toEl)) {
+ let prevSession = fromEl.getAttribute(PHX_SESSION);
+ dom_default.mergeAttrs(fromEl, toEl, { exclude: [PHX_STATIC] });
+ if (prevSession !== "") {
+ fromEl.setAttribute(PHX_SESSION, prevSession);
+ }
+ fromEl.setAttribute(PHX_ROOT_ID, this.rootID);
+ return false;
+ }
+ dom_default.copyPrivates(toEl, fromEl);
+ dom_default.discardError(targetContainer, toEl, phxFeedbackFor);
+ dom_default.syncPropsToAttrs(toEl);
+ let isFocusedFormEl = focused && fromEl.isSameNode(focused) && dom_default.isFormInput(fromEl);
+ if (isFocusedFormEl && !this.forceFocusedSelectUpdate(fromEl, toEl)) {
+ this.trackBefore("updated", fromEl, toEl);
+ dom_default.mergeFocusedInput(fromEl, toEl);
+ dom_default.syncAttrsToProps(fromEl);
+ updates.push(fromEl);
+ return false;
+ } else {
+ if (dom_default.isPhxUpdate(toEl, phxUpdate, ["append", "prepend"])) {
+ appendPrependUpdates.push(new DOMPostMorphRestorer(fromEl, toEl, toEl.getAttribute(phxUpdate)));
+ }
+ dom_default.syncAttrsToProps(toEl);
+ this.trackBefore("updated", fromEl, toEl);
+ return true;
+ }
+ }
+ });
+ });
+ if (liveSocket2.isDebugEnabled()) {
+ detectDuplicateIds();
+ }
+ if (appendPrependUpdates.length > 0) {
+ liveSocket2.time("post-morph append/prepend restoration", () => {
+ appendPrependUpdates.forEach((update) => update.perform());
+ });
+ }
+ liveSocket2.silenceEvents(() => dom_default.restoreFocus(focused, selectionStart, selectionEnd));
+ dom_default.dispatchEvent(document, "phx:update");
+ added.forEach((el) => this.trackAfter("added", el));
+ updates.forEach((el) => this.trackAfter("updated", el));
+ if (externalFormTriggered) {
+ liveSocket2.disconnect();
+ externalFormTriggered.submit();
+ }
+ return true;
+ }
+ forceFocusedSelectUpdate(fromEl, toEl) {
+ let isSelect = ["select", "select-one", "select-multiple"].find((t) => t === fromEl.type);
+ return fromEl.multiple === true || isSelect && fromEl.innerHTML != toEl.innerHTML;
+ }
+ isCIDPatch() {
+ return this.cidPatch;
+ }
+ skipCIDSibling(el) {
+ return el.nodeType === Node.ELEMENT_NODE && el.getAttribute(PHX_SKIP) !== null;
+ }
+ targetCIDContainer(html) {
+ if (!this.isCIDPatch()) {
+ return;
+ }
+ let [first, ...rest] = dom_default.findComponentNodeList(this.container, this.targetCID);
+ if (rest.length === 0 && dom_default.childNodeLength(html) === 1) {
+ return first;
+ } else {
+ return first && first.parentNode;
+ }
+ }
+ buildDiffHTML(container, html, phxUpdate, targetContainer) {
+ let isCIDPatch = this.isCIDPatch();
+ let isCIDWithSingleRoot = isCIDPatch && targetContainer.getAttribute(PHX_COMPONENT) === this.targetCID.toString();
+ if (!isCIDPatch || isCIDWithSingleRoot) {
+ return html;
+ } else {
+ let diffContainer = null;
+ let template = document.createElement("template");
+ diffContainer = dom_default.cloneNode(targetContainer);
+ let [firstComponent, ...rest] = dom_default.findComponentNodeList(diffContainer, this.targetCID);
+ template.innerHTML = html;
+ rest.forEach((el) => el.remove());
+ Array.from(diffContainer.childNodes).forEach((child) => {
+ if (child.id && child.nodeType === Node.ELEMENT_NODE && child.getAttribute(PHX_COMPONENT) !== this.targetCID.toString()) {
+ child.setAttribute(PHX_SKIP, "");
+ child.innerHTML = "";
+ }
+ });
+ Array.from(template.content.childNodes).forEach((el) => diffContainer.insertBefore(el, firstComponent));
+ firstComponent.remove();
+ return diffContainer.outerHTML;
+ }
+ }
+ };
+ var Rendered = class {
+ static extract(diff) {
+ let { [REPLY]: reply, [EVENTS]: events, [TITLE]: title } = diff;
+ delete diff[REPLY];
+ delete diff[EVENTS];
+ delete diff[TITLE];
+ return { diff, title, reply: reply || null, events: events || [] };
+ }
+ constructor(viewId, rendered) {
+ this.viewId = viewId;
+ this.rendered = {};
+ this.mergeDiff(rendered);
+ }
+ parentViewId() {
+ return this.viewId;
+ }
+ toString(onlyCids) {
+ return this.recursiveToString(this.rendered, this.rendered[COMPONENTS], onlyCids);
+ }
+ recursiveToString(rendered, components = rendered[COMPONENTS], onlyCids) {
+ onlyCids = onlyCids ? new Set(onlyCids) : null;
+ let output = { buffer: "", components, onlyCids };
+ this.toOutputBuffer(rendered, output);
+ return output.buffer;
+ }
+ componentCIDs(diff) {
+ return Object.keys(diff[COMPONENTS] || {}).map((i) => parseInt(i));
+ }
+ isComponentOnlyDiff(diff) {
+ if (!diff[COMPONENTS]) {
+ return false;
+ }
+ return Object.keys(diff).length === 1;
+ }
+ getComponent(diff, cid) {
+ return diff[COMPONENTS][cid];
+ }
+ mergeDiff(diff) {
+ let newc = diff[COMPONENTS];
+ let cache = {};
+ delete diff[COMPONENTS];
+ this.rendered = this.mutableMerge(this.rendered, diff);
+ this.rendered[COMPONENTS] = this.rendered[COMPONENTS] || {};
+ if (newc) {
+ let oldc = this.rendered[COMPONENTS];
+ for (let cid in newc) {
+ newc[cid] = this.cachedFindComponent(cid, newc[cid], oldc, newc, cache);
+ }
+ for (var key in newc) {
+ oldc[key] = newc[key];
+ }
+ diff[COMPONENTS] = newc;
+ }
+ }
+ cachedFindComponent(cid, cdiff, oldc, newc, cache) {
+ if (cache[cid]) {
+ return cache[cid];
+ } else {
+ let ndiff, stat, scid = cdiff[STATIC];
+ if (isCid(scid)) {
+ let tdiff;
+ if (scid > 0) {
+ tdiff = this.cachedFindComponent(scid, newc[scid], oldc, newc, cache);
+ } else {
+ tdiff = oldc[-scid];
+ }
+ stat = tdiff[STATIC];
+ ndiff = this.cloneMerge(tdiff, cdiff);
+ ndiff[STATIC] = stat;
+ } else {
+ ndiff = cdiff[STATIC] !== void 0 ? cdiff : this.cloneMerge(oldc[cid] || {}, cdiff);
+ }
+ cache[cid] = ndiff;
+ return ndiff;
+ }
+ }
+ mutableMerge(target, source) {
+ if (source[STATIC] !== void 0) {
+ return source;
+ } else {
+ this.doMutableMerge(target, source);
+ return target;
+ }
+ }
+ doMutableMerge(target, source) {
+ for (let key in source) {
+ let val = source[key];
+ let targetVal = target[key];
+ if (isObject(val) && val[STATIC] === void 0 && isObject(targetVal)) {
+ this.doMutableMerge(targetVal, val);
+ } else {
+ target[key] = val;
+ }
+ }
+ }
+ cloneMerge(target, source) {
+ let merged = __spreadValues(__spreadValues({}, target), source);
+ for (let key in merged) {
+ let val = source[key];
+ let targetVal = target[key];
+ if (isObject(val) && val[STATIC] === void 0 && isObject(targetVal)) {
+ merged[key] = this.cloneMerge(targetVal, val);
+ }
+ }
+ return merged;
+ }
+ componentToString(cid) {
+ return this.recursiveCIDToString(this.rendered[COMPONENTS], cid);
+ }
+ pruneCIDs(cids) {
+ cids.forEach((cid) => delete this.rendered[COMPONENTS][cid]);
+ }
+ get() {
+ return this.rendered;
+ }
+ isNewFingerprint(diff = {}) {
+ return !!diff[STATIC];
+ }
+ toOutputBuffer(rendered, output) {
+ if (rendered[DYNAMICS]) {
+ return this.comprehensionToBuffer(rendered, output);
+ }
+ let { [STATIC]: statics } = rendered;
+ output.buffer += statics[0];
+ for (let i = 1; i < statics.length; i++) {
+ this.dynamicToBuffer(rendered[i - 1], output);
+ output.buffer += statics[i];
+ }
+ }
+ comprehensionToBuffer(rendered, output) {
+ let { [DYNAMICS]: dynamics, [STATIC]: statics } = rendered;
+ for (let d = 0; d < dynamics.length; d++) {
+ let dynamic = dynamics[d];
+ output.buffer += statics[0];
+ for (let i = 1; i < statics.length; i++) {
+ this.dynamicToBuffer(dynamic[i - 1], output);
+ output.buffer += statics[i];
+ }
+ }
+ }
+ dynamicToBuffer(rendered, output) {
+ if (typeof rendered === "number") {
+ output.buffer += this.recursiveCIDToString(output.components, rendered, output.onlyCids);
+ } else if (isObject(rendered)) {
+ this.toOutputBuffer(rendered, output);
+ } else {
+ output.buffer += rendered;
+ }
+ }
+ recursiveCIDToString(components, cid, onlyCids) {
+ let component = components[cid] || logError(`no component for CID ${cid}`, components);
+ let template = document.createElement("template");
+ template.innerHTML = this.recursiveToString(component, components, onlyCids);
+ let container = template.content;
+ let skip = onlyCids && !onlyCids.has(cid);
+ let [hasChildNodes, hasChildComponents] = Array.from(container.childNodes).reduce(([hasNodes, hasComponents], child, i) => {
+ if (child.nodeType === Node.ELEMENT_NODE) {
+ if (child.getAttribute(PHX_COMPONENT)) {
+ return [hasNodes, true];
+ }
+ child.setAttribute(PHX_COMPONENT, cid);
+ if (!child.id) {
+ child.id = `${this.parentViewId()}-${cid}-${i}`;
+ }
+ if (skip) {
+ child.setAttribute(PHX_SKIP, "");
+ child.innerHTML = "";
+ }
+ return [true, hasComponents];
+ } else {
+ if (child.nodeValue.trim() !== "") {
+ logError(`only HTML element tags are allowed at the root of components.
+
+got: "${child.nodeValue.trim()}"
+
+within:
+`, template.innerHTML.trim());
+ child.replaceWith(this.createSpan(child.nodeValue, cid));
+ return [true, hasComponents];
+ } else {
+ child.remove();
+ return [hasNodes, hasComponents];
+ }
+ }
+ }, [false, false]);
+ if (!hasChildNodes && !hasChildComponents) {
+ logError("expected at least one HTML element tag inside a component, but the component is empty:\n", template.innerHTML.trim());
+ return this.createSpan("", cid).outerHTML;
+ } else if (!hasChildNodes && hasChildComponents) {
+ logError("expected at least one HTML element tag directly inside a component, but only subcomponents were found. A component must render at least one HTML tag directly inside itself.", template.innerHTML.trim());
+ return template.innerHTML;
+ } else {
+ return template.innerHTML;
+ }
+ }
+ createSpan(text, cid) {
+ let span = document.createElement("span");
+ span.innerText = text;
+ span.setAttribute(PHX_COMPONENT, cid);
+ return span;
+ }
+ };
+ var viewHookID = 1;
+ var ViewHook = class {
+ static makeID() {
+ return viewHookID++;
+ }
+ static elementID(el) {
+ return el.phxHookId;
+ }
+ constructor(view, el, callbacks) {
+ this.__view = view;
+ this.__liveSocket = view.liveSocket;
+ this.__callbacks = callbacks;
+ this.__listeners = new Set();
+ this.__isDisconnected = false;
+ this.el = el;
+ this.el.phxHookId = this.constructor.makeID();
+ for (let key in this.__callbacks) {
+ this[key] = this.__callbacks[key];
+ }
+ }
+ __mounted() {
+ this.mounted && this.mounted();
+ }
+ __updated() {
+ this.updated && this.updated();
+ }
+ __beforeUpdate() {
+ this.beforeUpdate && this.beforeUpdate();
+ }
+ __destroyed() {
+ this.destroyed && this.destroyed();
+ }
+ __reconnected() {
+ if (this.__isDisconnected) {
+ this.__isDisconnected = false;
+ this.reconnected && this.reconnected();
+ }
+ }
+ __disconnected() {
+ this.__isDisconnected = true;
+ this.disconnected && this.disconnected();
+ }
+ pushEvent(event, payload = {}, onReply = function() {
+ }) {
+ return this.__view.pushHookEvent(null, event, payload, onReply);
+ }
+ pushEventTo(phxTarget, event, payload = {}, onReply = function() {
+ }) {
+ return this.__view.withinTargets(phxTarget, (view, targetCtx) => {
+ return view.pushHookEvent(targetCtx, event, payload, onReply);
+ });
+ }
+ handleEvent(event, callback) {
+ let callbackRef = (customEvent, bypass) => bypass ? event : callback(customEvent.detail);
+ window.addEventListener(`phx:hook:${event}`, callbackRef);
+ this.__listeners.add(callbackRef);
+ return callbackRef;
+ }
+ removeHandleEvent(callbackRef) {
+ let event = callbackRef(null, true);
+ window.removeEventListener(`phx:hook:${event}`, callbackRef);
+ this.__listeners.delete(callbackRef);
+ }
+ upload(name, files) {
+ return this.__view.dispatchUploads(name, files);
+ }
+ uploadTo(phxTarget, name, files) {
+ return this.__view.withinTargets(phxTarget, (view) => view.dispatchUploads(name, files));
+ }
+ __cleanup__() {
+ this.__listeners.forEach((callbackRef) => this.removeHandleEvent(callbackRef));
+ }
+ };
+ var serializeForm = (form, meta = {}) => {
+ let formData = new FormData(form);
+ let toRemove = [];
+ formData.forEach((val, key, _index) => {
+ if (val instanceof File) {
+ toRemove.push(key);
+ }
+ });
+ toRemove.forEach((key) => formData.delete(key));
+ let params = new URLSearchParams();
+ for (let [key, val] of formData.entries()) {
+ params.append(key, val);
+ }
+ for (let metaKey in meta) {
+ params.append(metaKey, meta[metaKey]);
+ }
+ return params.toString();
+ };
+ var View = class {
+ constructor(el, liveSocket2, parentView, flash) {
+ this.liveSocket = liveSocket2;
+ this.flash = flash;
+ this.parent = parentView;
+ this.root = parentView ? parentView.root : this;
+ this.el = el;
+ this.id = this.el.id;
+ this.ref = 0;
+ this.childJoins = 0;
+ this.loaderTimer = null;
+ this.pendingDiffs = [];
+ this.pruningCIDs = [];
+ this.redirect = false;
+ this.href = null;
+ this.joinCount = this.parent ? this.parent.joinCount - 1 : 0;
+ this.joinPending = true;
+ this.destroyed = false;
+ this.joinCallback = function() {
+ };
+ this.stopCallback = function() {
+ };
+ this.pendingJoinOps = this.parent ? null : [];
+ this.viewHooks = {};
+ this.uploaders = {};
+ this.formSubmits = [];
+ this.children = this.parent ? null : {};
+ this.root.children[this.id] = {};
+ this.channel = this.liveSocket.channel(`lv:${this.id}`, () => {
+ return {
+ redirect: this.redirect ? this.href : void 0,
+ url: this.redirect ? void 0 : this.href || void 0,
+ params: this.connectParams(),
+ session: this.getSession(),
+ static: this.getStatic(),
+ flash: this.flash
+ };
+ });
+ this.showLoader(this.liveSocket.loaderTimeout);
+ this.bindChannel();
+ }
+ setHref(href) {
+ this.href = href;
+ }
+ setRedirect(href) {
+ this.redirect = true;
+ this.href = href;
+ }
+ isMain() {
+ return this.liveSocket.main === this;
+ }
+ connectParams() {
+ let params = this.liveSocket.params(this.el);
+ let manifest = dom_default.all(document, `[${this.binding(PHX_TRACK_STATIC)}]`).map((node) => node.src || node.href).filter((url) => typeof url === "string");
+ if (manifest.length > 0) {
+ params["_track_static"] = manifest;
+ }
+ params["_mounts"] = this.joinCount;
+ return params;
+ }
+ isConnected() {
+ return this.channel.canPush();
+ }
+ getSession() {
+ return this.el.getAttribute(PHX_SESSION);
+ }
+ getStatic() {
+ let val = this.el.getAttribute(PHX_STATIC);
+ return val === "" ? null : val;
+ }
+ destroy(callback = function() {
+ }) {
+ this.destroyAllChildren();
+ this.destroyed = true;
+ delete this.root.children[this.id];
+ if (this.parent) {
+ delete this.root.children[this.parent.id][this.id];
+ }
+ clearTimeout(this.loaderTimer);
+ let onFinished = () => {
+ callback();
+ for (let id in this.viewHooks) {
+ this.destroyHook(this.viewHooks[id]);
+ }
+ };
+ dom_default.markPhxChildDestroyed(this.el);
+ this.log("destroyed", () => ["the child has been removed from the parent"]);
+ this.channel.leave().receive("ok", onFinished).receive("error", onFinished).receive("timeout", onFinished);
+ }
+ setContainerClasses(...classes) {
+ this.el.classList.remove(PHX_CONNECTED_CLASS, PHX_DISCONNECTED_CLASS, PHX_ERROR_CLASS);
+ this.el.classList.add(...classes);
+ }
+ isLoading() {
+ return this.el.classList.contains(PHX_DISCONNECTED_CLASS);
+ }
+ showLoader(timeout) {
+ clearTimeout(this.loaderTimer);
+ if (timeout) {
+ this.loaderTimer = setTimeout(() => this.showLoader(), timeout);
+ } else {
+ for (let id in this.viewHooks) {
+ this.viewHooks[id].__disconnected();
+ }
+ this.setContainerClasses(PHX_DISCONNECTED_CLASS);
+ }
+ }
+ hideLoader() {
+ clearTimeout(this.loaderTimer);
+ this.setContainerClasses(PHX_CONNECTED_CLASS);
+ }
+ triggerReconnected() {
+ for (let id in this.viewHooks) {
+ this.viewHooks[id].__reconnected();
+ }
+ }
+ log(kind, msgCallback) {
+ this.liveSocket.log(this, kind, msgCallback);
+ }
+ withinTargets(phxTarget, callback) {
+ if (phxTarget instanceof HTMLElement) {
+ return this.liveSocket.owner(phxTarget, (view) => callback(view, phxTarget));
+ }
+ if (/^(0|[1-9]\d*)$/.test(phxTarget)) {
+ let targets = dom_default.findComponentNodeList(this.el, phxTarget);
+ if (targets.length === 0) {
+ logError(`no component found matching phx-target of ${phxTarget}`);
+ } else {
+ callback(this, targets[0]);
+ }
+ } else {
+ let targets = Array.from(document.querySelectorAll(phxTarget));
+ if (targets.length === 0) {
+ logError(`nothing found matching the phx-target selector "${phxTarget}"`);
+ }
+ targets.forEach((target) => this.liveSocket.owner(target, (view) => callback(view, target)));
+ }
+ }
+ applyDiff(type, rawDiff, callback) {
+ this.log(type, () => ["", clone(rawDiff)]);
+ let { diff, reply, events, title } = Rendered.extract(rawDiff);
+ if (title) {
+ dom_default.putTitle(title);
+ }
+ callback({ diff, reply, events });
+ return reply;
+ }
+ onJoin(resp) {
+ let { rendered, container } = resp;
+ if (container) {
+ let [tag, attrs] = container;
+ this.el = dom_default.replaceRootContainer(this.el, tag, attrs);
+ }
+ this.childJoins = 0;
+ this.joinPending = true;
+ this.flash = null;
+ browser_default.dropLocal(this.liveSocket.localStorage, window.location.pathname, CONSECUTIVE_RELOADS);
+ this.applyDiff("mount", rendered, ({ diff, events }) => {
+ this.rendered = new Rendered(this.id, diff);
+ let html = this.renderContainer(null, "join");
+ this.dropPendingRefs();
+ let forms = this.formsForRecovery(html);
+ this.joinCount++;
+ if (forms.length > 0) {
+ forms.forEach(([form, newForm, newCid], i) => {
+ this.pushFormRecovery(form, newCid, (resp2) => {
+ if (i === forms.length - 1) {
+ this.onJoinComplete(resp2, html, events);
+ }
+ });
+ });
+ } else {
+ this.onJoinComplete(resp, html, events);
+ }
+ });
+ }
+ dropPendingRefs() {
+ dom_default.all(this.el, `[${PHX_REF}]`, (el) => el.removeAttribute(PHX_REF));
+ }
+ onJoinComplete({ live_patch }, html, events) {
+ if (this.joinCount > 1 || this.parent && !this.parent.isJoinPending()) {
+ return this.applyJoinPatch(live_patch, html, events);
+ }
+ let newChildren = dom_default.findPhxChildrenInFragment(html, this.id).filter((toEl) => {
+ let fromEl = toEl.id && this.el.querySelector(`[id="${toEl.id}"]`);
+ let phxStatic = fromEl && fromEl.getAttribute(PHX_STATIC);
+ if (phxStatic) {
+ toEl.setAttribute(PHX_STATIC, phxStatic);
+ }
+ return this.joinChild(toEl);
+ });
+ if (newChildren.length === 0) {
+ if (this.parent) {
+ this.root.pendingJoinOps.push([this, () => this.applyJoinPatch(live_patch, html, events)]);
+ this.parent.ackJoin(this);
+ } else {
+ this.onAllChildJoinsComplete();
+ this.applyJoinPatch(live_patch, html, events);
+ }
+ } else {
+ this.root.pendingJoinOps.push([this, () => this.applyJoinPatch(live_patch, html, events)]);
+ }
+ }
+ attachTrueDocEl() {
+ this.el = dom_default.byId(this.id);
+ this.el.setAttribute(PHX_ROOT_ID, this.root.id);
+ }
+ dispatchEvents(events) {
+ events.forEach(([event, payload]) => {
+ window.dispatchEvent(new CustomEvent(`phx:hook:${event}`, { detail: payload }));
+ });
+ }
+ applyJoinPatch(live_patch, html, events) {
+ this.attachTrueDocEl();
+ let patch = new DOMPatch(this, this.el, this.id, html, null);
+ patch.markPrunableContentForRemoval();
+ this.performPatch(patch, false);
+ this.joinNewChildren();
+ dom_default.all(this.el, `[${this.binding(PHX_HOOK)}], [data-phx-${PHX_HOOK}]`, (hookEl) => {
+ let hook = this.addHook(hookEl);
+ if (hook) {
+ hook.__mounted();
+ }
+ });
+ this.joinPending = false;
+ this.dispatchEvents(events);
+ this.applyPendingUpdates();
+ if (live_patch) {
+ let { kind, to } = live_patch;
+ this.liveSocket.historyPatch(to, kind);
+ }
+ this.hideLoader();
+ if (this.joinCount > 1) {
+ this.triggerReconnected();
+ }
+ this.stopCallback();
+ }
+ triggerBeforeUpdateHook(fromEl, toEl) {
+ this.liveSocket.triggerDOM("onBeforeElUpdated", [fromEl, toEl]);
+ let hook = this.getHook(fromEl);
+ let isIgnored = hook && dom_default.isIgnored(fromEl, this.binding(PHX_UPDATE));
+ if (hook && !fromEl.isEqualNode(toEl) && !(isIgnored && isEqualObj(fromEl.dataset, toEl.dataset))) {
+ hook.__beforeUpdate();
+ return hook;
+ }
+ }
+ performPatch(patch, pruneCids) {
+ let destroyedCIDs = [];
+ let phxChildrenAdded = false;
+ let updatedHookIds = new Set();
+ patch.after("added", (el) => {
+ this.liveSocket.triggerDOM("onNodeAdded", [el]);
+ let newHook = this.addHook(el);
+ if (newHook) {
+ newHook.__mounted();
+ }
+ });
+ patch.after("phxChildAdded", (_el) => phxChildrenAdded = true);
+ patch.before("updated", (fromEl, toEl) => {
+ let hook = this.triggerBeforeUpdateHook(fromEl, toEl);
+ if (hook) {
+ updatedHookIds.add(fromEl.id);
+ }
+ });
+ patch.after("updated", (el) => {
+ if (updatedHookIds.has(el.id)) {
+ this.getHook(el).__updated();
+ }
+ });
+ patch.after("discarded", (el) => {
+ let cid = this.componentID(el);
+ if (isCid(cid) && destroyedCIDs.indexOf(cid) === -1) {
+ destroyedCIDs.push(cid);
+ }
+ let hook = this.getHook(el);
+ hook && this.destroyHook(hook);
+ });
+ patch.perform();
+ if (pruneCids) {
+ this.maybePushComponentsDestroyed(destroyedCIDs);
+ }
+ return phxChildrenAdded;
+ }
+ joinNewChildren() {
+ dom_default.findPhxChildren(this.el, this.id).forEach((el) => this.joinChild(el));
+ }
+ getChildById(id) {
+ return this.root.children[this.id][id];
+ }
+ getDescendentByEl(el) {
+ if (el.id === this.id) {
+ return this;
+ } else {
+ return this.children[el.getAttribute(PHX_PARENT_ID)][el.id];
+ }
+ }
+ destroyDescendent(id) {
+ for (let parentId in this.root.children) {
+ for (let childId in this.root.children[parentId]) {
+ if (childId === id) {
+ return this.root.children[parentId][childId].destroy();
+ }
+ }
+ }
+ }
+ joinChild(el) {
+ let child = this.getChildById(el.id);
+ if (!child) {
+ let view = new View(el, this.liveSocket, this);
+ this.root.children[this.id][view.id] = view;
+ view.join();
+ this.childJoins++;
+ return true;
+ }
+ }
+ isJoinPending() {
+ return this.joinPending;
+ }
+ ackJoin(_child) {
+ this.childJoins--;
+ if (this.childJoins === 0) {
+ if (this.parent) {
+ this.parent.ackJoin(this);
+ } else {
+ this.onAllChildJoinsComplete();
+ }
+ }
+ }
+ onAllChildJoinsComplete() {
+ this.joinCallback();
+ this.pendingJoinOps.forEach(([view, op]) => {
+ if (!view.isDestroyed()) {
+ op();
+ }
+ });
+ this.pendingJoinOps = [];
+ }
+ update(diff, events) {
+ if (this.isJoinPending() || this.liveSocket.hasPendingLink()) {
+ return this.pendingDiffs.push({ diff, events });
+ }
+ this.rendered.mergeDiff(diff);
+ let phxChildrenAdded = false;
+ if (this.rendered.isComponentOnlyDiff(diff)) {
+ this.liveSocket.time("component patch complete", () => {
+ let parentCids = dom_default.findParentCIDs(this.el, this.rendered.componentCIDs(diff));
+ parentCids.forEach((parentCID) => {
+ if (this.componentPatch(this.rendered.getComponent(diff, parentCID), parentCID)) {
+ phxChildrenAdded = true;
+ }
+ });
+ });
+ } else if (!isEmpty(diff)) {
+ this.liveSocket.time("full patch complete", () => {
+ let html = this.renderContainer(diff, "update");
+ let patch = new DOMPatch(this, this.el, this.id, html, null);
+ phxChildrenAdded = this.performPatch(patch, true);
+ });
+ }
+ this.dispatchEvents(events);
+ if (phxChildrenAdded) {
+ this.joinNewChildren();
+ }
+ }
+ renderContainer(diff, kind) {
+ return this.liveSocket.time(`toString diff (${kind})`, () => {
+ let tag = this.el.tagName;
+ let cids = diff ? this.rendered.componentCIDs(diff).concat(this.pruningCIDs) : null;
+ let html = this.rendered.toString(cids);
+ return `<${tag}>${html}</${tag}>`;
+ });
+ }
+ componentPatch(diff, cid) {
+ if (isEmpty(diff))
+ return false;
+ let html = this.rendered.componentToString(cid);
+ let patch = new DOMPatch(this, this.el, this.id, html, cid);
+ let childrenAdded = this.performPatch(patch, true);
+ return childrenAdded;
+ }
+ getHook(el) {
+ return this.viewHooks[ViewHook.elementID(el)];
+ }
+ addHook(el) {
+ if (ViewHook.elementID(el) || !el.getAttribute) {
+ return;
+ }
+ let hookName = el.getAttribute(`data-phx-${PHX_HOOK}`) || el.getAttribute(this.binding(PHX_HOOK));
+ if (hookName && !this.ownsElement(el)) {
+ return;
+ }
+ let callbacks = this.liveSocket.getHookCallbacks(hookName);
+ if (callbacks) {
+ if (!el.id) {
+ logError(`no DOM ID for hook "${hookName}". Hooks require a unique ID on each element.`, el);
+ }
+ let hook = new ViewHook(this, el, callbacks);
+ this.viewHooks[ViewHook.elementID(hook.el)] = hook;
+ return hook;
+ } else if (hookName !== null) {
+ logError(`unknown hook found for "${hookName}"`, el);
+ }
+ }
+ destroyHook(hook) {
+ hook.__destroyed();
+ hook.__cleanup__();
+ delete this.viewHooks[ViewHook.elementID(hook.el)];
+ }
+ applyPendingUpdates() {
+ this.pendingDiffs.forEach(({ diff, events }) => this.update(diff, events));
+ this.pendingDiffs = [];
+ }
+ onChannel(event, cb) {
+ this.liveSocket.onChannel(this.channel, event, (resp) => {
+ if (this.isJoinPending()) {
+ this.root.pendingJoinOps.push([this, () => cb(resp)]);
+ } else {
+ cb(resp);
+ }
+ });
+ }
+ bindChannel() {
+ this.liveSocket.onChannel(this.channel, "diff", (rawDiff) => {
+ this.applyDiff("update", rawDiff, ({ diff, events }) => this.update(diff, events));
+ });
+ this.onChannel("redirect", ({ to, flash }) => this.onRedirect({ to, flash }));
+ this.onChannel("live_patch", (redir) => this.onLivePatch(redir));
+ this.onChannel("live_redirect", (redir) => this.onLiveRedirect(redir));
+ this.channel.onError((reason) => this.onError(reason));
+ this.channel.onClose((reason) => this.onClose(reason));
+ }
+ destroyAllChildren() {
+ for (let id in this.root.children[this.id]) {
+ this.getChildById(id).destroy();
+ }
+ }
+ onLiveRedirect(redir) {
+ let { to, kind, flash } = redir;
+ let url = this.expandURL(to);
+ this.liveSocket.historyRedirect(url, kind, flash);
+ }
+ onLivePatch(redir) {
+ let { to, kind } = redir;
+ this.href = this.expandURL(to);
+ this.liveSocket.historyPatch(to, kind);
+ }
+ expandURL(to) {
+ return to.startsWith("/") ? `${window.location.protocol}//${window.location.host}${to}` : to;
+ }
+ onRedirect({ to, flash }) {
+ this.liveSocket.redirect(to, flash);
+ }
+ isDestroyed() {
+ return this.destroyed;
+ }
+ join(callback) {
+ if (!this.parent) {
+ this.stopCallback = this.liveSocket.withPageLoading({ to: this.href, kind: "initial" });
+ }
+ this.joinCallback = () => callback && callback(this.joinCount);
+ this.liveSocket.wrapPush(this, { timeout: false }, () => {
+ return this.channel.join().receive("ok", (data) => !this.isDestroyed() && this.onJoin(data)).receive("error", (resp) => !this.isDestroyed() && this.onJoinError(resp)).receive("timeout", () => !this.isDestroyed() && this.onJoinError({ reason: "timeout" }));
+ });
+ }
+ onJoinError(resp) {
+ if (resp.reason === "unauthorized" || resp.reason === "stale") {
+ this.log("error", () => ["unauthorized live_redirect. Falling back to page request", resp]);
+ return this.onRedirect({ to: this.href });
+ }
+ if (resp.redirect || resp.live_redirect) {
+ this.joinPending = false;
+ this.channel.leave();
+ }
+ if (resp.redirect) {
+ return this.onRedirect(resp.redirect);
+ }
+ if (resp.live_redirect) {
+ return this.onLiveRedirect(resp.live_redirect);
+ }
+ this.log("error", () => ["unable to join", resp]);
+ return this.liveSocket.reloadWithJitter(this);
+ }
+ onClose(reason) {
+ if (this.isDestroyed()) {
+ return;
+ }
+ if (this.isJoinPending() && document.visibilityState !== "hidden" || this.liveSocket.hasPendingLink() && reason !== "leave") {
+ return this.liveSocket.reloadWithJitter(this);
+ }
+ this.destroyAllChildren();
+ this.liveSocket.dropActiveElement(this);
+ if (document.activeElement) {
+ document.activeElement.blur();
+ }
+ if (this.liveSocket.isUnloaded()) {
+ this.showLoader(BEFORE_UNLOAD_LOADER_TIMEOUT);
+ }
+ }
+ onError(reason) {
+ this.onClose(reason);
+ this.log("error", () => ["view crashed", reason]);
+ if (!this.liveSocket.isUnloaded()) {
+ this.displayError();
+ }
+ }
+ displayError() {
+ if (this.isMain()) {
+ dom_default.dispatchEvent(window, "phx:page-loading-start", { to: this.href, kind: "error" });
+ }
+ this.showLoader();
+ this.setContainerClasses(PHX_DISCONNECTED_CLASS, PHX_ERROR_CLASS);
+ }
+ pushWithReply(refGenerator, event, payload, onReply = function() {
+ }) {
+ if (!this.isConnected()) {
+ return;
+ }
+ let [ref, [el]] = refGenerator ? refGenerator() : [null, []];
+ let onLoadingDone = function() {
+ };
+ if (el && el.getAttribute(this.binding(PHX_PAGE_LOADING)) !== null) {
+ onLoadingDone = this.liveSocket.withPageLoading({ kind: "element", target: el });
+ }
+ if (typeof payload.cid !== "number") {
+ delete payload.cid;
+ }
+ return this.liveSocket.wrapPush(this, { timeout: true }, () => {
+ return this.channel.push(event, payload, PUSH_TIMEOUT).receive("ok", (resp) => {
+ let hookReply = null;
+ if (ref !== null) {
+ this.undoRefs(ref);
+ }
+ if (resp.diff) {
+ hookReply = this.applyDiff("update", resp.diff, ({ diff, events }) => {
+ this.update(diff, events);
+ });
+ }
+ if (resp.redirect) {
+ this.onRedirect(resp.redirect);
+ }
+ if (resp.live_patch) {
+ this.onLivePatch(resp.live_patch);
+ }
+ if (resp.live_redirect) {
+ this.onLiveRedirect(resp.live_redirect);
+ }
+ onLoadingDone();
+ onReply(resp, hookReply);
+ });
+ });
+ }
+ undoRefs(ref) {
+ dom_default.all(this.el, `[${PHX_REF}="${ref}"]`, (el) => {
+ let disabledVal = el.getAttribute(PHX_DISABLED);
+ el.removeAttribute(PHX_REF);
+ if (el.getAttribute(PHX_READONLY) !== null) {
+ el.readOnly = false;
+ el.removeAttribute(PHX_READONLY);
+ }
+ if (disabledVal !== null) {
+ el.disabled = disabledVal === "true" ? true : false;
+ el.removeAttribute(PHX_DISABLED);
+ }
+ PHX_EVENT_CLASSES.forEach((className) => dom_default.removeClass(el, className));
+ let disableRestore = el.getAttribute(PHX_DISABLE_WITH_RESTORE);
+ if (disableRestore !== null) {
+ el.innerText = disableRestore;
+ el.removeAttribute(PHX_DISABLE_WITH_RESTORE);
+ }
+ let toEl = dom_default.private(el, PHX_REF);
+ if (toEl) {
+ let hook = this.triggerBeforeUpdateHook(el, toEl);
+ DOMPatch.patchEl(el, toEl, this.liveSocket.getActiveElement());
+ if (hook) {
+ hook.__updated();
+ }
+ dom_default.deletePrivate(el, PHX_REF);
+ }
+ });
+ }
+ putRef(elements, event) {
+ let newRef = this.ref++;
+ let disableWith = this.binding(PHX_DISABLE_WITH);
+ elements.forEach((el) => {
+ el.classList.add(`phx-${event}-loading`);
+ el.setAttribute(PHX_REF, newRef);
+ let disableText = el.getAttribute(disableWith);
+ if (disableText !== null) {
+ if (!el.getAttribute(PHX_DISABLE_WITH_RESTORE)) {
+ el.setAttribute(PHX_DISABLE_WITH_RESTORE, el.innerText);
+ }
+ el.innerText = disableText;
+ }
+ });
+ return [newRef, elements];
+ }
+ componentID(el) {
+ let cid = el.getAttribute && el.getAttribute(PHX_COMPONENT);
+ return cid ? parseInt(cid) : null;
+ }
+ targetComponentID(target, targetCtx) {
+ if (target.getAttribute(this.binding("target"))) {
+ return this.closestComponentID(targetCtx);
+ } else {
+ return null;
+ }
+ }
+ closestComponentID(targetCtx) {
+ if (targetCtx) {
+ return maybe(targetCtx.closest(`[${PHX_COMPONENT}]`), (el) => this.ownsElement(el) && this.componentID(el));
+ } else {
+ return null;
+ }
+ }
+ pushHookEvent(targetCtx, event, payload, onReply) {
+ if (!this.isConnected()) {
+ this.log("hook", () => ["unable to push hook event. LiveView not connected", event, payload]);
+ return false;
+ }
+ let [ref, els] = this.putRef([], "hook");
+ this.pushWithReply(() => [ref, els], "event", {
+ type: "hook",
+ event,
+ value: payload,
+ cid: this.closestComponentID(targetCtx)
+ }, (resp, reply) => onReply(reply, ref));
+ return ref;
+ }
+ extractMeta(el, meta) {
+ let prefix = this.binding("value-");
+ for (let i = 0; i < el.attributes.length; i++) {
+ let name = el.attributes[i].name;
+ if (name.startsWith(prefix)) {
+ meta[name.replace(prefix, "")] = el.getAttribute(name);
+ }
+ }
+ if (el.value !== void 0) {
+ meta.value = el.value;
+ if (el.tagName === "INPUT" && CHECKABLE_INPUTS.indexOf(el.type) >= 0 && !el.checked) {
+ delete meta.value;
+ }
+ }
+ return meta;
+ }
+ pushEvent(type, el, targetCtx, phxEvent, meta) {
+ this.pushWithReply(() => this.putRef([el], type), "event", {
+ type,
+ event: phxEvent,
+ value: this.extractMeta(el, meta),
+ cid: this.targetComponentID(el, targetCtx)
+ });
+ }
+ pushKey(keyElement, targetCtx, kind, phxEvent, meta) {
+ this.pushWithReply(() => this.putRef([keyElement], kind), "event", {
+ type: kind,
+ event: phxEvent,
+ value: this.extractMeta(keyElement, meta),
+ cid: this.targetComponentID(keyElement, targetCtx)
+ });
+ }
+ pushFileProgress(fileEl, entryRef, progress, onReply = function() {
+ }) {
+ this.liveSocket.withinOwners(fileEl.form, (view, targetCtx) => {
+ view.pushWithReply(null, "progress", {
+ event: fileEl.getAttribute(view.binding(PHX_PROGRESS)),
+ ref: fileEl.getAttribute(PHX_UPLOAD_REF),
+ entry_ref: entryRef,
+ progress,
+ cid: view.targetComponentID(fileEl.form, targetCtx)
+ }, onReply);
+ });
+ }
+ pushInput(inputEl, targetCtx, forceCid, phxEvent, eventTarget, callback) {
+ let uploads;
+ let cid = isCid(forceCid) ? forceCid : this.targetComponentID(inputEl.form, targetCtx);
+ let refGenerator = () => this.putRef([inputEl, inputEl.form], "change");
+ let formData = serializeForm(inputEl.form, { _target: eventTarget.name });
+ if (inputEl.files && inputEl.files.length > 0) {
+ LiveUploader.trackFiles(inputEl, Array.from(inputEl.files));
+ }
+ uploads = LiveUploader.serializeUploads(inputEl);
+ let event = {
+ type: "form",
+ event: phxEvent,
+ value: formData,
+ uploads,
+ cid
+ };
+ this.pushWithReply(refGenerator, "event", event, (resp) => {
+ dom_default.showError(inputEl, this.liveSocket.binding(PHX_FEEDBACK_FOR));
+ if (dom_default.isUploadInput(inputEl) && inputEl.getAttribute("data-phx-auto-upload") !== null) {
+ if (LiveUploader.filesAwaitingPreflight(inputEl).length > 0) {
+ let [ref, _els] = refGenerator();
+ this.uploadFiles(inputEl.form, targetCtx, ref, cid, (_uploads) => {
+ callback && callback(resp);
+ this.triggerAwaitingSubmit(inputEl.form);
+ });
+ }
+ } else {
+ callback && callback(resp);
+ }
+ });
+ }
+ triggerAwaitingSubmit(formEl) {
+ let awaitingSubmit = this.getScheduledSubmit(formEl);
+ if (awaitingSubmit) {
+ let [_el, _ref, callback] = awaitingSubmit;
+ this.cancelSubmit(formEl);
+ callback();
+ }
+ }
+ getScheduledSubmit(formEl) {
+ return this.formSubmits.find(([el, _callback]) => el.isSameNode(formEl));
+ }
+ scheduleSubmit(formEl, ref, callback) {
+ if (this.getScheduledSubmit(formEl)) {
+ return true;
+ }
+ this.formSubmits.push([formEl, ref, callback]);
+ }
+ cancelSubmit(formEl) {
+ this.formSubmits = this.formSubmits.filter(([el, ref, _callback]) => {
+ if (el.isSameNode(formEl)) {
+ this.undoRefs(ref);
+ return false;
+ } else {
+ return true;
+ }
+ });
+ }
+ pushFormSubmit(formEl, targetCtx, phxEvent, onReply) {
+ let filterIgnored = (el) => {
+ let userIgnored = closestPhxBinding(el, `${this.binding(PHX_UPDATE)}=ignore`, el.form);
+ return !(userIgnored || closestPhxBinding(el, "data-phx-update=ignore", el.form));
+ };
+ let filterDisables = (el) => {
+ return el.hasAttribute(this.binding(PHX_DISABLE_WITH));
+ };
+ let filterButton = (el) => el.tagName == "BUTTON";
+ let filterInput = (el) => ["INPUT", "TEXTAREA", "SELECT"].includes(el.tagName);
+ let refGenerator = () => {
+ let formElements = Array.from(formEl.elements);
+ let disables = formElements.filter(filterDisables);
+ let buttons = formElements.filter(filterButton).filter(filterIgnored);
+ let inputs = formElements.filter(filterInput).filter(filterIgnored);
+ buttons.forEach((button) => {
+ button.setAttribute(PHX_DISABLED, button.disabled);
+ button.disabled = true;
+ });
+ inputs.forEach((input) => {
+ input.setAttribute(PHX_READONLY, input.readOnly);
+ input.readOnly = true;
+ if (input.files) {
+ input.setAttribute(PHX_DISABLED, input.disabled);
+ input.disabled = true;
+ }
+ });
+ formEl.setAttribute(this.binding(PHX_PAGE_LOADING), "");
+ return this.putRef([formEl].concat(disables).concat(buttons).concat(inputs), "submit");
+ };
+ let cid = this.targetComponentID(formEl, targetCtx);
+ if (LiveUploader.hasUploadsInProgress(formEl)) {
+ let [ref, _els] = refGenerator();
+ return this.scheduleSubmit(formEl, ref, () => this.pushFormSubmit(formEl, targetCtx, phxEvent, onReply));
+ } else if (LiveUploader.inputsAwaitingPreflight(formEl).length > 0) {
+ let [ref, els] = refGenerator();
+ let proxyRefGen = () => [ref, els];
+ this.uploadFiles(formEl, targetCtx, ref, cid, (_uploads) => {
+ let formData = serializeForm(formEl, {});
+ this.pushWithReply(proxyRefGen, "event", {
+ type: "form",
+ event: phxEvent,
+ value: formData,
+ cid
+ }, onReply);
+ });
+ } else {
+ let formData = serializeForm(formEl);
+ this.pushWithReply(refGenerator, "event", {
+ type: "form",
+ event: phxEvent,
+ value: formData,
+ cid
+ }, onReply);
+ }
+ }
+ uploadFiles(formEl, targetCtx, ref, cid, onComplete) {
+ let joinCountAtUpload = this.joinCount;
+ let inputEls = LiveUploader.activeFileInputs(formEl);
+ let numFileInputsInProgress = inputEls.length;
+ inputEls.forEach((inputEl) => {
+ let uploader = new LiveUploader(inputEl, this, () => {
+ numFileInputsInProgress--;
+ if (numFileInputsInProgress === 0) {
+ onComplete();
+ }
+ });
+ this.uploaders[inputEl] = uploader;
+ let entries = uploader.entries().map((entry) => entry.toPreflightPayload());
+ let payload = {
+ ref: inputEl.getAttribute(PHX_UPLOAD_REF),
+ entries,
+ cid: this.targetComponentID(inputEl.form, targetCtx)
+ };
+ this.log("upload", () => ["sending preflight request", payload]);
+ this.pushWithReply(null, "allow_upload", payload, (resp) => {
+ this.log("upload", () => ["got preflight response", resp]);
+ if (resp.error) {
+ this.undoRefs(ref);
+ let [entry_ref, reason] = resp.error;
+ this.log("upload", () => [`error for entry ${entry_ref}`, reason]);
+ } else {
+ let onError = (callback) => {
+ this.channel.onError(() => {
+ if (this.joinCount === joinCountAtUpload) {
+ callback();
+ }
+ });
+ };
+ uploader.initAdapterUpload(resp, onError, this.liveSocket);
+ }
+ });
+ });
+ }
+ dispatchUploads(name, filesOrBlobs) {
+ let inputs = dom_default.findUploadInputs(this.el).filter((el) => el.name === name);
+ if (inputs.length === 0) {
+ logError(`no live file inputs found matching the name "${name}"`);
+ } else if (inputs.length > 1) {
+ logError(`duplicate live file inputs found matching the name "${name}"`);
+ } else {
+ dom_default.dispatchEvent(inputs[0], PHX_TRACK_UPLOADS, { files: filesOrBlobs });
+ }
+ }
+ pushFormRecovery(form, newCid, callback) {
+ this.liveSocket.withinOwners(form, (view, targetCtx) => {
+ let input = form.elements[0];
+ let phxEvent = form.getAttribute(this.binding(PHX_AUTO_RECOVER)) || form.getAttribute(this.binding("change"));
+ view.pushInput(input, targetCtx, newCid, phxEvent, input, callback);
+ });
+ }
+ pushLinkPatch(href, targetEl, callback) {
+ let linkRef = this.liveSocket.setPendingLink(href);
+ let refGen = targetEl ? () => this.putRef([targetEl], "click") : null;
+ this.pushWithReply(refGen, "live_patch", { url: href }, (resp) => {
+ if (resp.link_redirect) {
+ this.liveSocket.replaceMain(href, null, callback, linkRef);
+ } else {
+ if (this.liveSocket.commitPendingLink(linkRef)) {
+ this.href = href;
+ }
+ this.applyPendingUpdates();
+ callback && callback(linkRef);
+ }
+ }).receive("timeout", () => this.liveSocket.redirect(window.location.href));
+ }
+ formsForRecovery(html) {
+ if (this.joinCount === 0) {
+ return [];
+ }
+ let phxChange = this.binding("change");
+ let template = document.createElement("template");
+ template.innerHTML = html;
+ return dom_default.all(this.el, `form[${phxChange}]`).filter((form) => form.id && this.ownsElement(form)).filter((form) => form.elements.length > 0).filter((form) => form.getAttribute(this.binding(PHX_AUTO_RECOVER)) !== "ignore").map((form) => {
+ let newForm = template.content.querySelector(`form[id="${form.id}"][${phxChange}="${form.getAttribute(phxChange)}"]`);
+ if (newForm) {
+ return [form, newForm, this.componentID(newForm)];
+ } else {
+ return [form, null, null];
+ }
+ }).filter(([form, newForm, newCid]) => newForm);
+ }
+ maybePushComponentsDestroyed(destroyedCIDs) {
+ let willDestroyCIDs = destroyedCIDs.filter((cid) => {
+ return dom_default.findComponentNodeList(this.el, cid).length === 0;
+ });
+ if (willDestroyCIDs.length > 0) {
+ this.pruningCIDs.push(...willDestroyCIDs);
+ this.pushWithReply(null, "cids_will_destroy", { cids: willDestroyCIDs }, () => {
+ this.pruningCIDs = this.pruningCIDs.filter((cid) => willDestroyCIDs.indexOf(cid) !== -1);
+ let completelyDestroyCIDs = willDestroyCIDs.filter((cid) => {
+ return dom_default.findComponentNodeList(this.el, cid).length === 0;
+ });
+ if (completelyDestroyCIDs.length > 0) {
+ this.pushWithReply(null, "cids_destroyed", { cids: completelyDestroyCIDs }, (resp) => {
+ this.rendered.pruneCIDs(resp.cids);
+ });
+ }
+ });
+ }
+ }
+ ownsElement(el) {
+ return el.getAttribute(PHX_PARENT_ID) === this.id || maybe(el.closest(PHX_VIEW_SELECTOR), (node) => node.id) === this.id;
+ }
+ submitForm(form, targetCtx, phxEvent) {
+ dom_default.putPrivate(form, PHX_HAS_SUBMITTED, true);
+ this.liveSocket.blurActiveElement(this);
+ this.pushFormSubmit(form, targetCtx, phxEvent, () => {
+ this.liveSocket.restorePreviouslyActiveFocus();
+ });
+ }
+ binding(kind) {
+ return this.liveSocket.binding(kind);
+ }
+ };
+ var LiveSocket = class {
+ constructor(url, phxSocket, opts = {}) {
+ this.unloaded = false;
+ if (!phxSocket || phxSocket.constructor.name === "Object") {
+ throw new Error(`
+ a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example:
+
+ import {Socket} from "phoenix"
+ import LiveSocket from "phoenix_live_view"
+ let liveSocket = new LiveSocket("/live", Socket, {...})
+ `);
+ }
+ this.socket = new phxSocket(url, opts);
+ this.bindingPrefix = opts.bindingPrefix || BINDING_PREFIX;
+ this.opts = opts;
+ this.params = closure2(opts.params || {});
+ this.viewLogger = opts.viewLogger;
+ this.metadataCallbacks = opts.metadata || {};
+ this.defaults = Object.assign(clone(DEFAULTS), opts.defaults || {});
+ this.activeElement = null;
+ this.prevActive = null;
+ this.silenced = false;
+ this.main = null;
+ this.linkRef = 1;
+ this.roots = {};
+ this.href = window.location.href;
+ this.pendingLink = null;
+ this.currentLocation = clone(window.location);
+ this.hooks = opts.hooks || {};
+ this.uploaders = opts.uploaders || {};
+ this.loaderTimeout = opts.loaderTimeout || LOADER_TIMEOUT;
+ this.localStorage = opts.localStorage || window.localStorage;
+ this.sessionStorage = opts.sessionStorage || window.sessionStorage;
+ this.boundTopLevelEvents = false;
+ this.domCallbacks = Object.assign({ onNodeAdded: closure2(), onBeforeElUpdated: closure2() }, opts.dom || {});
+ window.addEventListener("pagehide", (_e) => {
+ this.unloaded = true;
+ });
+ this.socket.onOpen(() => {
+ if (this.isUnloaded()) {
+ window.location.reload();
+ }
+ });
+ }
+ isProfileEnabled() {
+ return this.sessionStorage.getItem(PHX_LV_PROFILE) === "true";
+ }
+ isDebugEnabled() {
+ return this.sessionStorage.getItem(PHX_LV_DEBUG) === "true";
+ }
+ enableDebug() {
+ this.sessionStorage.setItem(PHX_LV_DEBUG, "true");
+ }
+ enableProfiling() {
+ this.sessionStorage.setItem(PHX_LV_PROFILE, "true");
+ }
+ disableDebug() {
+ this.sessionStorage.removeItem(PHX_LV_DEBUG);
+ }
+ disableProfiling() {
+ this.sessionStorage.removeItem(PHX_LV_PROFILE);
+ }
+ enableLatencySim(upperBoundMs) {
+ this.enableDebug();
+ console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable");
+ this.sessionStorage.setItem(PHX_LV_LATENCY_SIM, upperBoundMs);
+ }
+ disableLatencySim() {
+ this.sessionStorage.removeItem(PHX_LV_LATENCY_SIM);
+ }
+ getLatencySim() {
+ let str = this.sessionStorage.getItem(PHX_LV_LATENCY_SIM);
+ return str ? parseInt(str) : null;
+ }
+ getSocket() {
+ return this.socket;
+ }
+ connect() {
+ let doConnect = () => {
+ if (this.joinRootViews()) {
+ this.bindTopLevelEvents();
+ this.socket.connect();
+ }
+ };
+ if (["complete", "loaded", "interactive"].indexOf(document.readyState) >= 0) {
+ doConnect();
+ } else {
+ document.addEventListener("DOMContentLoaded", () => doConnect());
+ }
+ }
+ disconnect(callback) {
+ this.socket.disconnect(callback);
+ }
+ triggerDOM(kind, args) {
+ this.domCallbacks[kind](...args);
+ }
+ time(name, func) {
+ if (!this.isProfileEnabled() || !console.time) {
+ return func();
+ }
+ console.time(name);
+ let result = func();
+ console.timeEnd(name);
+ return result;
+ }
+ log(view, kind, msgCallback) {
+ if (this.viewLogger) {
+ let [msg, obj] = msgCallback();
+ this.viewLogger(view, kind, msg, obj);
+ } else if (this.isDebugEnabled()) {
+ let [msg, obj] = msgCallback();
+ debug(view, kind, msg, obj);
+ }
+ }
+ onChannel(channel, event, cb) {
+ channel.on(event, (data) => {
+ let latency = this.getLatencySim();
+ if (!latency) {
+ cb(data);
+ } else {
+ console.log(`simulating ${latency}ms of latency from server to client`);
+ setTimeout(() => cb(data), latency);
+ }
+ });
+ }
+ wrapPush(view, opts, push) {
+ let latency = this.getLatencySim();
+ let oldJoinCount = view.joinCount;
+ if (!latency) {
+ if (opts.timeout) {
+ return push().receive("timeout", () => {
+ if (view.joinCount === oldJoinCount && !view.isDestroyed()) {
+ this.reloadWithJitter(view, () => {
+ this.log(view, "timeout", () => ["received timeout while communicating with server. Falling back to hard refresh for recovery"]);
+ });
+ }
+ });
+ } else {
+ return push();
+ }
+ }
+ console.log(`simulating ${latency}ms of latency from client to server`);
+ let fakePush = {
+ receives: [],
+ receive(kind, cb) {
+ this.receives.push([kind, cb]);
+ }
+ };
+ setTimeout(() => {
+ if (view.isDestroyed()) {
+ return;
+ }
+ fakePush.receives.reduce((acc, [kind, cb]) => acc.receive(kind, cb), push());
+ }, latency);
+ return fakePush;
+ }
+ reloadWithJitter(view, log) {
+ view.destroy();
+ this.disconnect();
+ let [minMs, maxMs] = RELOAD_JITTER;
+ let afterMs = Math.floor(Math.random() * (maxMs - minMs + 1)) + minMs;
+ let tries = browser_default.updateLocal(this.localStorage, window.location.pathname, CONSECUTIVE_RELOADS, 0, (count) => count + 1);
+ log ? log() : this.log(view, "join", () => [`encountered ${tries} consecutive reloads`]);
+ if (tries > MAX_RELOADS) {
+ this.log(view, "join", () => [`exceeded ${MAX_RELOADS} consecutive reloads. Entering failsafe mode`]);
+ afterMs = FAILSAFE_JITTER;
+ }
+ setTimeout(() => {
+ if (this.hasPendingLink()) {
+ window.location = this.pendingLink;
+ } else {
+ window.location.reload();
+ }
+ }, afterMs);
+ }
+ getHookCallbacks(name) {
+ return name && name.startsWith("Phoenix.") ? hooks_default[name.split(".")[1]] : this.hooks[name];
+ }
+ isUnloaded() {
+ return this.unloaded;
+ }
+ isConnected() {
+ return this.socket.isConnected();
+ }
+ getBindingPrefix() {
+ return this.bindingPrefix;
+ }
+ binding(kind) {
+ return `${this.getBindingPrefix()}${kind}`;
+ }
+ channel(topic, params) {
+ return this.socket.channel(topic, params);
+ }
+ joinRootViews() {
+ let rootsFound = false;
+ dom_default.all(document, `${PHX_VIEW_SELECTOR}:not([${PHX_PARENT_ID}])`, (rootEl) => {
+ if (!this.getRootById(rootEl.id)) {
+ let view = this.newRootView(rootEl);
+ view.setHref(this.getHref());
+ view.join();
+ if (rootEl.getAttribute(PHX_MAIN)) {
+ this.main = view;
+ }
+ }
+ rootsFound = true;
+ });
+ return rootsFound;
+ }
+ redirect(to, flash) {
+ this.disconnect();
+ browser_default.redirect(to, flash);
+ }
+ replaceMain(href, flash, callback = null, linkRef = this.setPendingLink(href)) {
+ let oldMainEl = this.main.el;
+ let newMainEl = dom_default.cloneNode(oldMainEl, "");
+ this.main.showLoader(this.loaderTimeout);
+ this.main.destroy();
+ this.main = this.newRootView(newMainEl, flash);
+ this.main.setRedirect(href);
+ this.main.join((joinCount) => {
+ if (joinCount === 1 && this.commitPendingLink(linkRef)) {
+ oldMainEl.replaceWith(newMainEl);
+ callback && callback();
+ }
+ });
+ }
+ isPhxView(el) {
+ return el.getAttribute && el.getAttribute(PHX_SESSION) !== null;
+ }
+ newRootView(el, flash) {
+ let view = new View(el, this, null, flash);
+ this.roots[view.id] = view;
+ return view;
+ }
+ owner(childEl, callback) {
+ let view = maybe(childEl.closest(PHX_VIEW_SELECTOR), (el) => this.getViewByEl(el));
+ if (view) {
+ callback(view);
+ }
+ }
+ withinOwners(childEl, callback) {
+ this.owner(childEl, (view) => {
+ let phxTarget = childEl.getAttribute(this.binding("target"));
+ if (phxTarget === null) {
+ callback(view, childEl);
+ } else {
+ view.withinTargets(phxTarget, callback);
+ }
+ });
+ }
+ getViewByEl(el) {
+ let rootId = el.getAttribute(PHX_ROOT_ID);
+ return maybe(this.getRootById(rootId), (root) => root.getDescendentByEl(el));
+ }
+ getRootById(id) {
+ return this.roots[id];
+ }
+ destroyAllViews() {
+ for (let id in this.roots) {
+ this.roots[id].destroy();
+ delete this.roots[id];
+ }
+ }
+ destroyViewByEl(el) {
+ let root = this.getRootById(el.getAttribute(PHX_ROOT_ID));
+ if (root) {
+ root.destroyDescendent(el.id);
+ }
+ }
+ setActiveElement(target) {
+ if (this.activeElement === target) {
+ return;
+ }
+ this.activeElement = target;
+ let cancel = () => {
+ if (target === this.activeElement) {
+ this.activeElement = null;
+ }
+ target.removeEventListener("mouseup", this);
+ target.removeEventListener("touchend", this);
+ };
+ target.addEventListener("mouseup", cancel);
+ target.addEventListener("touchend", cancel);
+ }
+ getActiveElement() {
+ if (document.activeElement === document.body) {
+ return this.activeElement || document.activeElement;
+ } else {
+ return document.activeElement || document.body;
+ }
+ }
+ dropActiveElement(view) {
+ if (this.prevActive && view.ownsElement(this.prevActive)) {
+ this.prevActive = null;
+ }
+ }
+ restorePreviouslyActiveFocus() {
+ if (this.prevActive && this.prevActive !== document.body) {
+ this.prevActive.focus();
+ }
+ }
+ blurActiveElement() {
+ this.prevActive = this.getActiveElement();
+ if (this.prevActive !== document.body) {
+ this.prevActive.blur();
+ }
+ }
+ bindTopLevelEvents() {
+ if (this.boundTopLevelEvents) {
+ return;
+ }
+ this.boundTopLevelEvents = true;
+ document.body.addEventListener("click", function() {
+ });
+ window.addEventListener("pageshow", (e) => {
+ if (e.persisted) {
+ this.getSocket().disconnect();
+ this.withPageLoading({ to: window.location.href, kind: "redirect" });
+ window.location.reload();
+ }
+ }, true);
+ this.bindNav();
+ this.bindClicks();
+ this.bindForms();
+ this.bind({ keyup: "keyup", keydown: "keydown" }, (e, type, view, target, targetCtx, phxEvent, _phxTarget) => {
+ let matchKey = target.getAttribute(this.binding(PHX_KEY));
+ let pressedKey = e.key && e.key.toLowerCase();
+ if (matchKey && matchKey.toLowerCase() !== pressedKey) {
+ return;
+ }
+ view.pushKey(target, targetCtx, type, phxEvent, __spreadValues({ key: e.key }, this.eventMeta(type, e, target)));
+ });
+ this.bind({ blur: "focusout", focus: "focusin" }, (e, type, view, targetEl, targetCtx, phxEvent, phxTarget) => {
+ if (!phxTarget) {
+ view.pushEvent(type, targetEl, targetCtx, phxEvent, this.eventMeta(type, e, targetEl));
+ }
+ });
+ this.bind({ blur: "blur", focus: "focus" }, (e, type, view, targetEl, targetCtx, phxEvent, phxTarget) => {
+ if (phxTarget && !phxTarget !== "window") {
+ view.pushEvent(type, targetEl, targetCtx, phxEvent, this.eventMeta(type, e, targetEl));
+ }
+ });
+ window.addEventListener("dragover", (e) => e.preventDefault());
+ window.addEventListener("drop", (e) => {
+ e.preventDefault();
+ let dropTargetId = maybe(closestPhxBinding(e.target, this.binding(PHX_DROP_TARGET)), (trueTarget) => {
+ return trueTarget.getAttribute(this.binding(PHX_DROP_TARGET));
+ });
+ let dropTarget = dropTargetId && document.getElementById(dropTargetId);
+ let files = Array.from(e.dataTransfer.files || []);
+ if (!dropTarget || dropTarget.disabled || files.length === 0 || !(dropTarget.files instanceof FileList)) {
+ return;
+ }
+ LiveUploader.trackFiles(dropTarget, files);
+ dropTarget.dispatchEvent(new Event("input", { bubbles: true }));
+ });
+ this.on(PHX_TRACK_UPLOADS, (e) => {
+ let uploadTarget = e.target;
+ if (!dom_default.isUploadInput(uploadTarget)) {
+ return;
+ }
+ let files = Array.from(e.detail.files || []).filter((f) => f instanceof File || f instanceof Blob);
+ LiveUploader.trackFiles(uploadTarget, files);
+ uploadTarget.dispatchEvent(new Event("input", { bubbles: true }));
+ });
+ }
+ eventMeta(eventName, e, targetEl) {
+ let callback = this.metadataCallbacks[eventName];
+ return callback ? callback(e, targetEl) : {};
+ }
+ setPendingLink(href) {
+ this.linkRef++;
+ this.pendingLink = href;
+ return this.linkRef;
+ }
+ commitPendingLink(linkRef) {
+ if (this.linkRef !== linkRef) {
+ return false;
+ } else {
+ this.href = this.pendingLink;
+ this.pendingLink = null;
+ return true;
+ }
+ }
+ getHref() {
+ return this.href;
+ }
+ hasPendingLink() {
+ return !!this.pendingLink;
+ }
+ bind(events, callback) {
+ for (let event in events) {
+ let browserEventName = events[event];
+ this.on(browserEventName, (e) => {
+ let binding = this.binding(event);
+ let windowBinding = this.binding(`window-${event}`);
+ let targetPhxEvent = e.target.getAttribute && e.target.getAttribute(binding);
+ if (targetPhxEvent) {
+ this.debounce(e.target, e, () => {
+ this.withinOwners(e.target, (view, targetCtx) => {
+ callback(e, event, view, e.target, targetCtx, targetPhxEvent, null);
+ });
+ });
+ } else {
+ dom_default.all(document, `[${windowBinding}]`, (el) => {
+ let phxEvent = el.getAttribute(windowBinding);
+ this.debounce(el, e, () => {
+ this.withinOwners(el, (view, targetCtx) => {
+ callback(e, event, view, el, targetCtx, phxEvent, "window");
+ });
+ });
+ });
+ }
+ });
+ }
+ }
+ bindClicks() {
+ this.bindClick("click", "click", false);
+ this.bindClick("mousedown", "capture-click", true);
+ }
+ bindClick(eventName, bindingName, capture) {
+ let click = this.binding(bindingName);
+ window.addEventListener(eventName, (e) => {
+ if (!this.isConnected()) {
+ return;
+ }
+ let target = null;
+ if (capture) {
+ target = e.target.matches(`[${click}]`) ? e.target : e.target.querySelector(`[${click}]`);
+ } else {
+ target = closestPhxBinding(e.target, click);
+ }
+ let phxEvent = target && target.getAttribute(click);
+ if (!phxEvent) {
+ return;
+ }
+ if (target.getAttribute("href") === "#") {
+ e.preventDefault();
+ }
+ this.debounce(target, e, () => {
+ this.withinOwners(target, (view, targetCtx) => {
+ view.pushEvent("click", target, targetCtx, phxEvent, this.eventMeta("click", e, target));
+ });
+ });
+ }, capture);
+ }
+ bindNav() {
+ if (!browser_default.canPushState()) {
+ return;
+ }
+ if (history.scrollRestoration) {
+ history.scrollRestoration = "manual";
+ }
+ let scrollTimer = null;
+ window.addEventListener("scroll", (_e) => {
+ clearTimeout(scrollTimer);
+ scrollTimer = setTimeout(() => {
+ browser_default.updateCurrentState((state) => Object.assign(state, { scroll: window.scrollY }));
+ }, 100);
+ });
+ window.addEventListener("popstate", (event) => {
+ if (!this.registerNewLocation(window.location)) {
+ return;
+ }
+ let { type, id, root, scroll } = event.state || {};
+ let href = window.location.href;
+ if (this.main.isConnected() && (type === "patch" && id === this.main.id)) {
+ this.main.pushLinkPatch(href, null);
+ } else {
+ this.replaceMain(href, null, () => {
+ if (root) {
+ this.replaceRootHistory();
+ }
+ if (typeof scroll === "number") {
+ setTimeout(() => {
+ window.scrollTo(0, scroll);
+ }, 0);
+ }
+ });
+ }
+ }, false);
+ window.addEventListener("click", (e) => {
+ let target = closestPhxBinding(e.target, PHX_LIVE_LINK);
+ let type = target && target.getAttribute(PHX_LIVE_LINK);
+ let wantsNewTab = e.metaKey || e.ctrlKey || e.button === 1;
+ if (!type || !this.isConnected() || !this.main || wantsNewTab) {
+ return;
+ }
+ let href = target.href;
+ let linkState = target.getAttribute(PHX_LINK_STATE);
+ e.preventDefault();
+ if (this.pendingLink === href) {
+ return;
+ }
+ if (type === "patch") {
+ this.pushHistoryPatch(href, linkState, target);
+ } else if (type === "redirect") {
+ this.historyRedirect(href, linkState);
+ } else {
+ throw new Error(`expected ${PHX_LIVE_LINK} to be "patch" or "redirect", got: ${type}`);
+ }
+ }, false);
+ }
+ withPageLoading(info, callback) {
+ dom_default.dispatchEvent(window, "phx:page-loading-start", info);
+ let done = () => dom_default.dispatchEvent(window, "phx:page-loading-stop", info);
+ return callback ? callback(done) : done;
+ }
+ pushHistoryPatch(href, linkState, targetEl) {
+ this.withPageLoading({ to: href, kind: "patch" }, (done) => {
+ this.main.pushLinkPatch(href, targetEl, (linkRef) => {
+ this.historyPatch(href, linkState, linkRef);
+ done();
+ });
+ });
+ }
+ historyPatch(href, linkState, linkRef = this.setPendingLink(href)) {
+ if (!this.commitPendingLink(linkRef)) {
+ return;
+ }
+ browser_default.pushState(linkState, { type: "patch", id: this.main.id }, href);
+ this.registerNewLocation(window.location);
+ }
+ historyRedirect(href, linkState, flash) {
+ let scroll = window.scrollY;
+ this.withPageLoading({ to: href, kind: "redirect" }, (done) => {
+ this.replaceMain(href, flash, () => {
+ browser_default.pushState(linkState, { type: "redirect", id: this.main.id, scroll }, href);
+ this.registerNewLocation(window.location);
+ done();
+ });
+ });
+ }
+ replaceRootHistory() {
+ browser_default.pushState("replace", { root: true, type: "patch", id: this.main.id });
+ }
+ registerNewLocation(newLocation) {
+ let { pathname, search } = this.currentLocation;
+ if (pathname + search === newLocation.pathname + newLocation.search) {
+ return false;
+ } else {
+ this.currentLocation = clone(newLocation);
+ return true;
+ }
+ }
+ bindForms() {
+ let iterations = 0;
+ this.on("submit", (e) => {
+ let phxEvent = e.target.getAttribute(this.binding("submit"));
+ if (!phxEvent) {
+ return;
+ }
+ e.preventDefault();
+ e.target.disabled = true;
+ this.withinOwners(e.target, (view, targetCtx) => view.submitForm(e.target, targetCtx, phxEvent));
+ }, false);
+ for (let type of ["change", "input"]) {
+ this.on(type, (e) => {
+ let input = e.target;
+ let phxEvent = input.form && input.form.getAttribute(this.binding("change"));
+ if (!phxEvent) {
+ return;
+ }
+ if (input.type === "number" && input.validity && input.validity.badInput) {
+ return;
+ }
+ let currentIterations = iterations;
+ iterations++;
+ let { at, type: lastType } = dom_default.private(input, "prev-iteration") || {};
+ if (at === currentIterations - 1 && type !== lastType) {
+ return;
+ }
+ dom_default.putPrivate(input, "prev-iteration", { at: currentIterations, type });
+ this.debounce(input, e, () => {
+ this.withinOwners(input.form, (view, targetCtx) => {
+ dom_default.putPrivate(input, PHX_HAS_FOCUSED, true);
+ if (!dom_default.isTextualInput(input)) {
+ this.setActiveElement(input);
+ }
+ view.pushInput(input, targetCtx, null, phxEvent, e.target);
+ });
+ });
+ }, false);
+ }
+ }
+ debounce(el, event, callback) {
+ let phxDebounce = this.binding(PHX_DEBOUNCE);
+ let phxThrottle = this.binding(PHX_THROTTLE);
+ let defaultDebounce = this.defaults.debounce.toString();
+ let defaultThrottle = this.defaults.throttle.toString();
+ dom_default.debounce(el, event, phxDebounce, defaultDebounce, phxThrottle, defaultThrottle, callback);
+ }
+ silenceEvents(callback) {
+ this.silenced = true;
+ callback();
+ this.silenced = false;
+ }
+ on(event, callback) {
+ window.addEventListener(event, (e) => {
+ if (!this.silenced) {
+ callback(e);
+ }
+ });
+ }
+ };
+
+ // js/app.js
+ var import_topbar = __toModule(require_topbar());
+ window.$ = import_jquery2.default;
+ window.jQuery = import_jquery2.default;
+ var csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content");
+ var liveSocket = new LiveSocket("/live", Socket, { params: { _csrf_token: csrfToken } });
+ import_topbar.default.config({ barColors: { 0: "#29d" }, shadowColor: "rgba(0, 0, 0, .3)" });
+ window.addEventListener("phx:page-loading-start", (info) => import_topbar.default.show());
+ window.addEventListener("phx:page-loading-stop", (info) => import_topbar.default.hide());
+ liveSocket.connect();
+ window.liveSocket = liveSocket;
+})();
+/*!
+ * Bootstrap v5.1.3 (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)
+ */
+/*!
+ * jQuery JavaScript Library v3.6.0
+ * https://jquery.com/
+ *
+ * Includes Sizzle.js
+ * https://sizzlejs.com/
+ *
+ * Copyright OpenJS Foundation and other contributors
+ * Released under the MIT license
+ * https://jquery.org/license
+ *
+ * Date: 2021-03-02T17:08Z
+ */
+/**
+ * @license MIT
+ * topbar 1.0.0, 2021-01-06
+ * http://buunguyen.github.io/topbar
+ * Copyright (c) 2021 Buu Nguyen
+ */
+//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vYXNzZXRzL25vZGVfbW9kdWxlcy9qcXVlcnkvZGlzdC9qcXVlcnkuanMiLCAiLi4vLi4vLi4vYXNzZXRzL3ZlbmRvci90b3BiYXIuanMiLCAiLi4vLi4vLi4vYXNzZXRzL2pzL2FwcC5qcyIsICIuLi8uLi8uLi9hc3NldHMvbm9kZV9tb2R1bGVzL0Bwb3BwZXJqcy9jb3JlL2xpYi9pbmRleC5qcyIsICIuLi8uLi8uLi9hc3NldHMvbm9kZV9tb2R1bGVzL0Bwb3BwZXJqcy9jb3JlL2xpYi9lbnVtcy5qcyIsICIuLi8uLi8uLi9hc3NldHMvbm9kZV9tb2R1bGVzL0Bwb3BwZXJqcy9jb3JlL2xpYi9kb20tdXRpbHMvZ2V0Tm9kZU5hbWUuanMiLCAiLi4vLi4vLi4vYXNzZXRzL25vZGVfbW9kdWxlcy9AcG9wcGVyanMvY29yZS9saWIvZG9tLXV0aWxzL2dldFdpbmRvdy5qcyIsICIuLi8uLi8uLi9hc3NldHMvbm9kZV9tb2R1bGVzL0Bwb3BwZXJqcy9jb3JlL2xpYi9kb20tdXRpbHMvaW5zdGFuY2VPZi5qcyIsICIuLi8uLi8uLi9hc3NldHMvbm9kZV9tb2R1bGVzL0Bwb3BwZXJqcy9jb3JlL2xpYi9tb2RpZmllcnMvYXBwbHlTdHlsZXMuanMiLCAiLi4vLi4vLi4vYXNzZXRzL25vZGVfbW9kdWxlcy9AcG9wcGVyanMvY29yZS9saWIvdXRpbHMvZ2V0QmFzZVBsYWNlbWVudC5qcyIsICIuLi8uLi8uLi9hc3NldHMvbm9kZV9tb2R1bGVzL0Bwb3BwZXJqcy9jb3JlL2xpYi9kb20tdXRpbHMvZ2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2dyZXNzKDApO1xuICAgICAgICBpZiAob3B0aW9ucy5hdXRvUnVuKSB7XG4gICAgICAgICAgKGZ1bmN0aW9uIGxvb3AoKSB7XG4gICAgICAgICAgICBwcm9ncmVzc1RpbWVySWQgPSB3aW5kb3cucmVxdWVzdEFuaW1hdGlvbkZyYW1lKGxvb3ApO1xuICAgICAgICAgICAgdG9wYmFyLnByb2dyZXNzKFxuICAgICAgICAgICAgICBcIitcIiArIDAuMDUgKiBNYXRoLnBvdygxIC0gTWF0aC5zcXJ0KGN1cnJlbnRQcm9ncmVzcyksIDIpXG4gICAgICAgICAgICApO1xuICAgICAgICAgIH0pKCk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgICBwcm9ncmVzczogZnVuY3Rpb24gKHRvKSB7XG4gICAgICAgIGlmICh0eXBlb2YgdG8gPT09IFwidW5kZWZpbmVkXCIpIHJldHVybiBjdXJyZW50UHJvZ3Jlc3M7XG4gICAgICAgIGlmICh0eXBlb2YgdG8gPT09IFwic3RyaW5nXCIpIHtcbiAgICAgICAgICB0byA9XG4gICAgICAgICAgICAodG8uaW5kZXhPZihcIitcIikgPj0gMCB8fCB0by5pbmRleE9mKFwiLVwiKSA+PSAwXG4gICAgICAgICAgICAgID8gY3VycmVudFByb2dyZXNzXG4gICAgICAgICAgICAgIDogMCkgKyBwYXJzZUZsb2F0KHRvKTtcbiAgICAgICAgfVxuICAgICAgICBjdXJyZW50UHJvZ3Jlc3MgPSB0byA+IDEgPyAxIDogdG87XG4gICAgICAgIHJlcGFpbnQoKTtcbiAgICAgICAgcmV0dXJuIGN1cnJlbnRQcm9ncmVzcztcbiAgICAgIH0sXG4gICAgICBoaWRlOiBmdW5jdGlvbiAoKSB7XG4gICAgICAgIGlmICghc2hvd2luZykgcmV0dXJuO1xuICAgICAgICBzaG93aW5nID0gZmFsc2U7XG4gICAgICAgIGlmIChwcm9ncmVzc1RpbWVySWQgIT0gbnVsbCkge1xuICAgICAgICAgIHdpbmRvdy5jYW5jZWxBbmltYXRpb25GcmFtZShwcm9ncmVzc1RpbWVySWQpO1xuICAgICAgICAgIHByb2dyZXNzVGltZXJJZCA9IG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgKGZ1bmN0aW9uIGxvb3AoKSB7XG4gICAgICAgICAgaWYgKHRvcGJhci5wcm9ncmVzcyhcIisuMVwiKSA+PSAxKSB7XG4gICAgICAgICAgICBjYW52YXMuc3R5bGUub3BhY2l0eSAtPSAwLjA1O1xuICAgICAgICAgICAgaWYgKGNhbnZhcy5zdHlsZS5vcGFjaXR5IDw9IDAuMDUpIHtcbiAgICAgICAgICAgICAgY2FudmFzLnN0eWxlLmRpc3BsYXkgPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgZmFkZVRpbWVySWQgPSBudWxsO1xuICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICAgIGZhZGVUaW1lcklkID0gd2luZG93LnJlcXVlc3RBbmltYXRpb25GcmFtZShsb29wKTtcbiAgICAgICAgfSkoKTtcbiAgICAgIH0sXG4gICAgfTtcblxuICBpZiAodHlwZW9mIG1vZHVsZSA9PT0gXCJvYmplY3RcIiAmJiB0eXBlb2YgbW9kdWxlLmV4cG9ydHMgPT09IFwib2JqZWN0XCIpIHtcbiAgICBtb2R1bGUuZXhwb3J0cyA9IHRvcGJhcjtcbiAgfSBlbHNlIGlmICh0eXBlb2YgZGVmaW5lID09PSBcImZ1bmN0aW9uXCIgJiYgZGVmaW5lLmFtZCkge1xuICAgIGRlZmluZShmdW5jdGlvbiAoKSB7XG4gICAgICByZXR1cm4gdG9wYmFyO1xuICAgIH0pO1xuICB9IGVsc2Uge1xuICAgIHRoaXMudG9wYmFyID0gdG9wYmFyO1xuICB9XG59LmNhbGwodGhpcywgd2luZG93LCBkb2N1bWVudCkpO1xuIiwgImltcG9ydCAkIGZyb20gXCJqcXVlcnlcIlxud2luZG93LiQgPSAkXG53aW5kb3cualF1ZXJ5ID0gJF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3B0aW9ucy5tb2RpZmllcnMpLCBmdW5jdGlvbiAoX3JlZikge1xuICAgICAgICAgICAgdmFyIG5hbWUgPSBfcmVmLm5hbWU7XG4gICAgICAgICAgICByZXR1cm4gbmFtZTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB2YWxpZGF0ZU1vZGlmaWVycyhtb2RpZmllcnMpO1xuXG4gICAgICAgICAgaWYgKGdldEJhc2VQbGFjZW1lbnQoc3RhdGUub3B0aW9ucy5wbGFjZW1lbnQpID09PSBhdXRvKSB7XG4gICAgICAgICAgICB2YXIgZmxpcE1vZGlmaWVyID0gc3RhdGUub3JkZXJlZE1vZGlmaWVycy5maW5kKGZ1bmN0aW9uIChfcmVmMikge1xuICAgICAgICAgICAgICB2YXIgbmFtZSA9IF9yZWYyLm5hbWU7XG4gICAgICAgICAgICAgIHJldHVybiBuYW1lID09PSAnZmxpcCc7XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgaWYgKCFmbGlwTW9kaWZpZXIpIHtcbiAgICAgICAgICAgICAgY29uc29sZS5lcnJvcihbJ1BvcHBlcjogXCJhdXRvXCIgcGxhY2VtZW50cyByZXF1aXJlIHRoZSBcImZsaXBcIiBtb2RpZmllciBiZScsICdwcmVzZW50IGFuZCBlbmFibGVkIHRvIHdvcmsuJ10uam9pbignICcpKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG5cbiAgICAgICAgICB2YXIgX2dldENvbXB1dGVkU3R5bGUgPSBnZXRDb21wdXRlZFN0eWxlKHBvcHBlciksXG4gICAgICAgICAgICAgIG1hcmdpblRvcCA9IF9nZXRDb21wdXRlZFN0eWxlLm1hcmdpblRvcCxcbiAgICAgICAgICAgICAgbWFyZ2luUmlnaHQgPSBfZ2V0Q29tcHV0ZWRTdHlsZS5tYXJnaW5SaWdodCxcbiAgICAgICAgICAgICAgbWFyZ2luQm90dG9tID0gX2dldENvbXB1dGVkU3R5bGUubWFyZ2luQm90dG9tLFxuICAgICAgICAgICAgIC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biAgICBsZXQgcHJldmlvdXMgPSBlbGVtZW50LnByZXZpb3VzRWxlbWVudFNpYmxpbmdcblxuICAgIHdoaWxlIChwcmV2aW91cykge1xuICAgICAgaWYgKHByZXZpb3VzLm1hdGNoZXMoc2VsZWN0b3IpKSB7XG4gICAgICAgIHJldHVybiBbcHJldmlvdXNdXG4gICAgICB9XG5cbiAgICAgIHByZXZpb3VzID0gcHJldmlvdXMucHJldmlvdXNFbGVtZW50U2libGluZ1xuICAgIH1cblxuICAgIHJldHVybiBbXVxuICB9LFxuXG4gIG5leHQoZWxlbWVudCwgc2VsZWN0b3IpIHtcbiAgICBsZXQgbmV4dCA9IGVsZW1lbnQubmV4dEVsZW1lbnRTaWJsaW5nXG5cbiAgICB3aGlsZSAobmV4dCkge1xuICAgICAgaWYgKG5leHQubWF0Y2hlcyhzZWxlY3RvcikpIHtcbiAgICAgICAgcmV0dXJuIFtuZXh0XVxuICAgICAgfVxuXG4gICAgICBuZXh0ID0gbmV4dC5uZXh0RWxlbWVudFNpYmxpbmdcbiAgICB9XG5cbiAgICByZXR1cm4gW11cbiAgfSxcblxuICBmb2N1c2FibGVDaGlsZHJlbihlbGVtZW50KSB7XG4gICAgY29uc3QgZm9jdXNhYmxlcyA9IFtcbiAgICAgICdhJyxcbiAgICAgICdidXR0b24nLFxuICAgICAgJ2lucHV0JyxcbiAgICAgICd0ZXh0YXJlYScsXG4gICAgICAnc2VsZWN0JyxcbiAgICAgICdkZXRhaWxzJyxcbiAgICAgICdbdGFiaW5kZXhdJyxcbiAgICAgICdbY29udGVudGVkaXRhYmxlPVwidHJ1ZVwiXSdcbiAgICBdLm1hcChzZWxlY3RvciA9PiBgJHtzZWxlY3Rvcn06bm90KFt0YWJpbmRleF49XCItXCJdKWApLmpvaW4oJywgJylcblxuICAgIHJldHVybiB0aGlzLmZpbmQoZm9jdXNhYmxlcywgZWxlbWVudCkuZmlsdGVyKGVsID0+ICFpc0Rpc2FibGVkKGVsKSAmJiBpc1Zpc2libGU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EJzUG9wcGVyQ29uZmlnID0ge1xuICAgICAgcGxhY2VtZW50OiBhdHRhY2htZW50LFxuICAgICAgbW9kaWZpZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAnZmxpcCcsXG4gICAgICAgICAgb3B0aW9uczoge1xuICAgICAgICAgICAgZmFsbGJhY2tQbGFjZW1lbnRzOiB0aGlzLl9jb25maWcuZmFsbGJhY2tQbGFjZW1lbnRzXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ29mZnNldCcsXG4gICAgICAgICAgb3B0aW9uczoge1xuICAgICAgICAgICAgb2Zmc2V0OiB0aGlzLl9nZXRPZmZzZXQoKVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdwcmV2ZW50T3ZlcmZsb3cnLFxuICAgICAgICAgIG9wdGlvbnM6IHtcbiAgICAgICAgICAgIGJvdW5kYXJ5OiB0aGlzLl9jb25maWcuYm91bmRhcnlcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAnYXJyb3cnLFxuICAgICAgICAgIG9wdGlvbnM6IHtcbiAgICAgICAgICAgIGVsZW1lbnQ6IGAuJHt0aGlzLmNvbnN0cnVjdG9yLk5BTUV9LWFycm93YFxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdvbkNoYW5nZScsXG4gICAgICAgICAgZW5hYmxlZDogdHJ1ZSxcbiAgICAgICAgICBwaGFzZTogJ2FmdGVyV3JpdGUnLFxuICAgICAgICAgIGZuOiBkYXRhID0+IHRoaXMuX2hhbmRsZVBvcHBlclBsYWNlbWVudENoYW5nZShkYXRhKVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgb25GaXJzdFVwZGF0ZTogZGF0YSA9PiB7XG4gICAgICAgIGlmIChkYXRhLm9wdG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YUF0dHJpYnV0ZXMpLmZvckVhY2goZGF0YUF0dHIgPT4ge1xuICAgICAgaWYgKERJU0FMTE9XRURfQVRUUklCVVRFUy5oYXMoZGF0YUF0dHIpKSB7XG4gICAgICAgIGRlbGV0ZSBkYXRhQXR0cmlidXRlc1tkYXRhQXR0cl1cbiAgICAgIH1cbiAgICB9KVxuXG4gICAgY29uZmlnID0ge1xuICAgICAgLi4udGhpcy5jb25zdHJ1Y3Rvci5EZWZhdWx0LFxuICAgICAgLi4uZGF0YUF0dHJpYnV0ZXMsXG4gICAgICAuLi4odHlwZW9mIGNvbmZpZyA9PT0gJ29iamVjdCcgJiYgY29uZmlnID8gY29uZmlnIDoge30pXG4gICAgfVxuXG4gICAgY29uZmlnLmNvbnRhaW5lciA9IGNvbmZpZy5jb250YWluZXIgPT09IGZhbHNlID8gZG9jdW1lbnQuYm9keSA6IGdldEVsZW1lbnQoY29uZmlnLmNvbnRhaW5lcilcblxuICAgIGlmICh0eXBlb2YgY29uZmlnLmRlbGF5ID09PSAnbnVtYmVyJykge1xuICAgICAgY29uZmlnLmRlbGF5ID0ge1xuICAgICAgICBzaG93OiBjb25maWcuZGVsYXksXG4gICAgICAgIGhpZGU6IGNvbmZpZy5kZWxheVxuICAgICAgfVxuICAgIH1cblxuICAgIGlmICh0eXBlb2YgY29uZmlnLnRpdGxlID09PSAnbnVtYmVyJykge1xuICAgICAgY29uZmlnLnRpdGxlID0gY29uZmlnLnRpdGxlLnRvU3RyaW5nKClcbiAgICB9XG5cbiAgICBpZiAodHlwZW9mIGNvbmZpZy5jb250ZW50ID09PSAnbnVtYmVyJykge1xuICAgICAgY29uZmlnLmNvbnRlbnQgPSBjb25maWcuY29udGVudC50b1N0cmluZygpXG4gICAgfVxuXG4gICAgdHlwZUNoZWNrQ29uZmlnKE5BTUUsIGNvbmZpZywgdGhpcy5jb25zdHJ1Y3Rvci5EZWZhdWx0VHlwZSlcblxuICAgIGlmIChjb25maWcuc2FuaXRpemUpIHtcbiAgICA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ICAgICAgICAgY2FsbGJhY2soKVxuICAgICAgICAgICAgdGhpcy5wdXRQcml2YXRlKGVsLCBUSFJPVFRMRUQsIHRydWUpXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHRoaXMudHJpZ2dlckN5Y2xlKGVsLCBERUJPVU5DRV9UUklHR0VSKSwgdGltZW91dClcbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB0aGlzLnRyaWdnZXJDeWNsZShlbCwgREVCT1VOQ0VfVFJJR0dFUiwgY3VycmVudEN5Y2xlKSwgdGltZW91dClcbiAgICAgICAgfVxuXG5cbiAgICAgICAgbGV0IGZvcm0gPSBlbC5mb3JtXG4gICAgICAgIGlmKGZvcm0gJiYgdGhpcy5vbmNlKGZvcm0sIFwiYmluZC1kZWJvdW5jZVwiKSl7XG4gICAgICAgICAgZm9ybS5hZGRFdmVudExpc3RlbmVyKFwic3VibWl0XCIsICgpID0+IHtcbiAgICAgICAgICAgIEFycmF5LmZyb20oKG5ldyBGb3JtRGF0YShmb3JtKSkuZW50cmllcygpLCAoW25hbWVdKSA9PiB7XG4gICAgICAgICAgICAgIGxldCBpbnB1dCA9IGZvcm0ucXVlcnlTZWxlY3RvcihgW25hbWU9XCIke25hbWV9XCJdYClcbiAgICAgICAgICAgICAgdGhpcy5pbmNDeWNsZShpbnB1dCwgREVCT1VOQ0VfVFJJR0dFUilcbiAgICAgICAgICAgICAgdGhpcy5kZWxldGVQcml2YXRlKGlucHV0LCBUSFJPVFRMRUQpXG4gICAgICAgICAgICB9KVxuICAgICAgICAgIH0pXG4gICAgICAgIH1cbiAgICAgICAgaWYodGhpcy5vbmNlKGVsLCBcImJpbmQtZGVib3VuY2VcIikpe1xuICAgICAgICAgIGVsLmFkZEV2ZW50TGlzdGVuZXIoXCJibHVyXCIsICgpID0+IHRoaXMudHJpZ2dlckN5Y2xlKGVsLCBERUJPVU5DRV9UUklHR0VSKSlcbiA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RWwgaGVyZSBpcyBzYWZlIGFuZCBjb3JyZWN0LlxuICAgICAgICAgICAgdmFyIGN1ckNoaWxkID0gZnJvbUVsLmZpcnN0Q2hpbGQ7XG4gICAgICAgICAgICB2YXIgb3B0Z3JvdXA7XG4gICAgICAgICAgICB2YXIgbm9kZU5hbWU7XG4gICAgICAgICAgICB3aGlsZShjdXJDaGlsZCkge1xuICAgICAgICAgICAgICAgIG5vZGVOYW1lID0gY3VyQ2hpbGQubm9kZU5hbWUgJiYgY3VyQ2hpbGQubm9kZU5hbWUudG9VcHBlckNhc2UoKTtcbiAgICAgICAgICAgICAgICBpZiAobm9kZU5hbWUgPT09ICdPUFRHUk9VUCcpIHtcbiAgICAgICAgICAgICAgICAgICAgb3B0Z3JvdXAgPSBjdXJDaGlsZDtcbiAgICAgICAgICAgICAgICAgICAgY3VyQ2hpbGQgPSBvcHRncm91cC5maXJzdENoaWxkO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChub2RlTmFtZSA9PT0gJ09QVElPTicpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjdXJDaGlsZC5oYXNBdHRyaWJ1dGUoJ3NlbGVjdGVkJykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZWxlY3RlZEluZGV4ID0gaTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGkrKztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBjdXJDaGlsZCA9IGN1ckNoaWxkLm5leHRTaWJsaW5nO1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWN1ckNoaWxkICYmIG9wdGdyb3VwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJDaGlsZCA9IG9wdGdyb3VwLm5leHRTaWJsaW5nO1xuICAgICAgICAgICAgICAgICAg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lmIGl0IGlzIG5vdCBrZXllZC4gV2UgZG8gdGhpcyBiZWNhdXNlXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBhdCB0aGUgZW5kIHdlIGxvb3AgdGhyb3VnaCBhbGwga2V5ZWQgZWxlbWVudHMgdGhhdCB3ZXJlIHVubWF0Y2hlZFxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gYW5kIHRoZW4gZGlzY2FyZCB0aGVtIGluIG9uZSBmaW5hbCBwYXNzLlxuICAgICAgICAgICAgICAgICAgICAgICAgb25Ob2RlRGlzY2FyZGVkKGN1ckNoaWxkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjdXJDaGlsZC5maXJzdENoaWxkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd2Fsa0Rpc2NhcmRlZENoaWxkTm9kZXMoY3VyQ2hpbGQsIHNraXBLZXllZE5vZGVzKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGN1ckNoaWxkID0gY3VyQ2hpbGQubmV4dFNpYmxpbmc7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIFJlbW92ZXMgYSBET00gbm9kZSBvdXQgb2YgdGhlIG9yaWdpbmFsIERPTVxuICAgICAgICAgKlxuICAgICAgICAgKiBAcGFyYW0gIHtOb2RlfSBub2RlIFRoZSBub2RlIHRvIHJlbW92ZVxuICAgICAgICAgKiBAcGFyYW0gIHtOb2RlfSBwYXJlbnROb2RlIFRoZSBub2RlcyBwYXJlbnRcbiAgICAgICAgICogQHBhcmFtICB7Qm9vbGVhbn0gc2tpcEtleWVkTm9kZXMgSWYgdHJ1ZSB0aGVuIGVsZW1lbnRzIHdpdGgga2V5cyB3aWxsIGJlIHNraXBwZWQgYW5kIG5vdCBkaXNjYXJkZWQuXG4gICAgICAgICAq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lmIChrZXkpIHtcbiAgICAgICAgLy8gICAgICAgICAgICAgZnJvbU5vZGVzTG9va3VwW2tleV0gPSBlbDtcbiAgICAgICAgLy8gICAgICAgICB9XG4gICAgICAgIC8vICAgICB9XG4gICAgICAgIC8vIH1cblxuICAgICAgICAvLyAvLyBOb2RlSXRlcmF0b3IgaW1wbGVtZW50YXRpb24gaXMgbm8gZmFzdGVyLCBidXQga2VlcGluZyB0aGlzIGFyb3VuZCBpbiBjYXNlIHRoaXMgY2hhbmdlcyBpbiB0aGUgZnV0dXJlXG4gICAgICAgIC8vXG4gICAgICAgIC8vIGZ1bmN0aW9uIGluZGV4VHJlZShub2RlKSB7XG4gICAgICAgIC8vICAgICB2YXIgbm9kZUl0ZXJhdG9yID0gZG9jdW1lbnQuY3JlYXRlTm9kZUl0ZXJhdG9yKG5vZGUsIE5vZGVGaWx0ZXIuU0hPV19FTEVNRU5UKTtcbiAgICAgICAgLy8gICAgIHZhciBlbDtcbiAgICAgICAgLy8gICAgIHdoaWxlKChlbCA9IG5vZGVJdGVyYXRvci5uZXh0Tm9kZSgpKSkge1xuICAgICAgICAvLyAgICAgICAgIHZhciBrZXkgPSBnZXROb2RlS2V5KGVsKTtcbiAgICAgICAgLy8gICAgICAgICBpZiAoa2V5KSB7XG4gICAgICAgIC8vICAgICAgICAgICAgIGZyb21Ob2Rlc0xvb2t1cFtrZXldID0gZWw7XG4gICAgICAgIC8vICAgICAgICAgfVxuICAgICAgICAvLyAgICAgfVxuICAgICAgICAvLyB9XG5cbiAgICAgICAgZnVuY3Rpb24gaW5kZXhUcmVlKG5vZGUpIHtcbiAgICAgICAgICAgIGlmIChub2RlLm5vZGVUeXBlID09PSBFTEVNRU5UX05PREUgfHwgbm9kZS5ub2RlVHlwZSA9PT0gRE9DVU1FTlRfRlJBR01FTlRfTk9ERSQxKSB7XG4gICAgICAgICAgICAgICAgdmFyIGN1ckNoaWxkID0gbm9kZS5maXJzdENoaWxkO1xuICAgICAgICAgICAgICAgIHdoaWxlIChjdXJDaGlsZCkge1xuICAgICAgICAgICAgICAgICAgICB2YXIga2V5ID0gZ2V0Tm9kZUtleShjdXJDaGlsZCk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChrZXkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZyb21Ob2Rlc0xvb2t1cFtrZXldID0gY3VyQ2hpbGQ7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAvLyBXYWxrIHJlY3Vyc2l2ZWx5XG4gICAgICAgICAgICAgICAgICAgIGluZGV4VHJlZShjdXJDaGlsZCk7XG5cbiAgICAgICAgICAgICAgICAgICAgY3VyQ2hpbGQgPSBjdXJDaGlsZC5uZXh0U2libGluZztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpbmRleFRyZWUoZnJvbU5vZGUpO1xuXG4gICAgICAgIGZ1bmN0aW9uIGhhbmRsZU5vZGVBZGRlZChlbCkge1xuICAgICAgICAgICAgb25Ob2RlQWRkZWQoZWwpO1xuXG4gICAgICAgICAgICB2YXIgY3VyQ2hpbGQgPSBlbC5maXJzdENoaWxkO1xuICAgICAgICAgICAgd2hpbGUgKGN1ckNoaWxkKSB7XG4gICAgICAgICAgICAgICAgdmFyIG5leHRTaWJsaW5nID0gY3VyQ2hpbGQubmV4dFNpYmxpbmc7XG5cbiAgICAgICAgICAgICAgICB2YXIga2V5ID0gZ2V0Tm9kZUtleShjdXJDaGlsZCk7XG4gICAgICAgICAgICAgICAgaWYgKGtleSkge1xuICAgICAgICAgICAgICAgICAgICB2YXIgdW5tYXRjaGVkRnJvbUVsID0gZnJvbU5vZGVzTG9va3VwW2tleV07XG4gICAgICAgICAgICAgICAgICAgIC8vIGlmIHdlIGZpbmQgYSBkdXBsaWNhdGUgI2lkIG5vZGUgaW4gY2FjaGUsIHJlcGxhY2UgYGVsYCB3aXRoIGNhY2hlIHZhbHVlXG4gICAgICAgICAgICAgICAgICAgIC8vIGFuZCBtb3JwaCBpdCB0byB0aGUgY2hpbGQgbm9kZS5cbiAgICAgICAgICAgICAgICAgICAgaWYgKHVubWF0Y2hlZEZyb21FbCAmJiBjb21wYXJlTm9kZU5hbWVzKGN1ckNoaWxkLCB1bm1hdGNoZWRGcm9tRWwpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJDaGlsZC5wYXJlbnROb2RlLnJlcGxhY2VDaGlsZCh1bm1hdGNoZWRGcm9tRWwsIGN1ckNoaWxkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1vcnBoRWwodW5tYXRjaGVkRnJvbUVsLCBjdXJDaGlsZCk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgaGFuZGxlTm9kZUFkZGVkKGN1ckNoaWxkKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAvLyByZWN1cnNpdmVseSBjYWxsIGZvciBjdXJDaGlsZCBhbmQgaXQncyBjaGlsZHJlbiB0byBzZWUgaWYgd2UgZmluZCBzb21ldGhpbmcgaW5cbiAgICAgICAgICAgICAgICAgIC8vIGZyb21Ob2Rlc0xvb2t1cFxuICAgICAgICAgICAgICAgICAgaGFuZGxlTm9kZUFkZGVkKGN1ckNoaWxkKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBjdXJDaGlsZCA9IG5leHRTaWJsaW5nO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgZnVuY3Rpb24gY2xlYW51cEZyb21FbChmcm9tRWwsIGN1ckZyb21Ob2RlQ2hpbGQsIGN1ckZyb21Ob2RlS2V5KSB7XG4gICAgICAgICAgICAvLyBXZSBoYXZlIHByb2Nlc3NlZCBhbGwgb2YgdGhlIFwidG8gbm9kZXNcIi4gSWYgY3VyRnJvbU5vZGVDaGlsZCBpc1xuICAgIC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AgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmIChmcm9tRWwubm9kZU5hbWUgIT09ICdURVhUQVJFQScpIHtcbiAgICAgICAgICAgICAgbW9ycGhDaGlsZHJlbihmcm9tRWwsIHRvRWwpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgc3BlY2lhbEVsSGFuZGxlcnMuVEVYVEFSRUEoZnJvbUVsLCB0b0VsKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIG1vcnBoQ2hpbGRyZW4oZnJvbUVsLCB0b0VsKSB7XG4gICAgICAgICAgICB2YXIgY3VyVG9Ob2RlQ2hpbGQgPSB0b0VsLmZpcnN0Q2hpbGQ7XG4gICAgICAgICAgICB2YXIgY3VyRnJvbU5vZGVDaGlsZCA9IGZyb21FbC5maXJzdENoaWxkO1xuICAgICAgICAgICAgdmFyIGN1clRvTm9kZUtleTtcbiAgICAgICAgICAgIHZhciBjdXJGcm9tTm9kZUtleTtcblxuICAgICAgICAgICAgdmFyIGZyb21OZXh0U2libGluZztcbiAgICAgICAgICAgIHZhciB0b05leHRTaWJsaW5nO1xuICAgICAgICAgICAgdmFyIG1hdGNoaW5nRnJvbUVsO1xuXG4gICAgICAgICAgICAvLyB3YWxrIHRoZSBjaGlsZHJlblxuICAgICAgICAgICAgb3V0ZXI6IHdoaWxlIChjdXJUb05vZGVDaGlsZCkge1xuICAgICAgICAgICAgICAgIHRvTmV4dFNpYmxpbmcgPSBjdXJUb05vZGVDaGlsZC5uZXh0U2libGluZztcbiAgICAgICAgICAgICAgICBjdXJUb05vZGVLZXkgPSBnZXROb2RlS2V5KGN1clRvTm9kZUNoaWxkKTtcblxuICAgICAgICAgICAgICAgIC8vIHdhbGsgdGhlIGZyb21Ob2RlIGNoaWxkcmVuIGFsbCB0aGUgd2F5IHRocm91Z2hcbiAgICAgICAgICAgICAgICB3aGlsZSAoY3VyRnJvbU5vZGVDaGlsZCkge1xuICAgICAgICAgICAgICAgICAgICBmcm9tTmV4dFNpYmxpbmcgPSBjdXJGcm9tTm9kZUNoaWxkLm5leHRTaWJsaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmIChjdXJUb05vZGVDaGlsZC5pc1NhbWVOb2RlICYmIGN1clRvTm9kZUNoaWxkLmlzU2FtZU5vZGUoY3VyRnJvbU5vZGVDaGlsZCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGN1clRvTm9kZUNoaWxkID0gdG9OZXh0U2libGluZztcbiAgICAgICAgICAgICAgICAgICAgICAgIGN1ckZyb21Ob2RlQ2hpbGQgPSBmcm9tTmV4dFNpYmxpbmc7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZSBvdXRlcjtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGN1ckZyb21Ob2RlS2V5ID0gZ2V0Tm9kZUtleShjdXJGcm9tTm9kZUNoaWxkKTtcblxuICAgICAgICAgICAgICAgICAgICB2YXIgY3VyRnJvbU5vZGVUeXBlID0gY3VyRnJvbU5vZGVDaGlsZC5ub2RlVHlwZTtcblxuICAgICAgICAgICAgICAgICAgICAvLyB0aGlzIG1lYW5zIGlmIHRoZSBjdXJGcm9tTm9kZUNoaWxkIGRvZXNudCBoYXZlIGEgbWF0Y2ggd2l0aCB0aGUgY3VyVG9Ob2RlQ2hpbGRcbiAgICAgICAgICAgICAgICAgICAgdmFyIGlzQ29tcGF0aWJsZSA9IHVuZGVmaW5lZDtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoY3VyRnJvbU5vZGVUeXBlID09PSBjdXJUb05vZGVDaGlsZC5ub2RlVHlwZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGN1ckZyb21Ob2RlVHlwZSA9PT0gRUxFTUVOVF9OT0RFKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gQm90aCBub2RlcyBiZWluZyBjb21wYXJlZCBhcmUgRWxlbWVudCBub2Rlc1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGN1clRvTm9kZUtleSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBUaGUgdGFyZ2V0IG5vZGUgaGFzIGEga2V5IHNvIHdlIHdhbnQgdG8gbWF0Y2ggaXQgdXAgd2l0aCB0aGUgY29ycmVjdCBlbGVtZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGluIHRoZSBvcmlnaW5hbCBET00gdHJlZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY3VyVG9Ob2RlS2V5ICE9PSBjdXJGcm9tTm9kZUtleSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gVGhlIGN1cnJlbnQgZWxlbWVudCBpbiB0aGUgb3JpZ2luYWwgRE9NIHRyZWUgZG9lcyBub3QgaGF2ZSBhIG1hdGNoaW5nIGtleSBzb1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gbGV0J3MgY2hlY2sgb3VyIGxvb2t1cCB0byBzZWUgaWYgdGhlcmUgaXMgYSBtYXRjaGluZyBlbGVtZW50IGluIHRoZSBvcmlnaW5hbFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRE9NIHRyZWVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICgobWF0Y2hpbmdGcm9tRWwgPSBmcm9tTm9kZXNMb29rdXBbY3VyVG9Ob2RlS2V5XSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZnJvbU5leHRTaWJsaW5nID09PSBtYXRjaGluZ0Zyb21FbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBTcGVjaWFsIGNhc2UgZm9yIHNpbmdsZSBlbGVtZW50IHJlbW92YWxzLiBUbyBhdm9pZCByZW1vdmluZyB0aGUgb3JpZ2luYWxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRE9NIG5vZGUgb3V0IG9mIHRoZSB0cmVlIChzaW5jZSB0aGF0IGNhbiBicmVhayBDU1MgdHJhbnNpdGlvbnMsIGV0Yy4pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyB3ZSB3aWxsIGluc3RlYWQgZGlzY2FyZCB0aGUgY3VycmVudCBub2RlIGFuZCB3YWl0IHVudGlsIHRoZSBuZXh0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGl0ZXJhdGlvbiB0byBwcm9wZXJseSBtYXRjaCB1cCB0aGUga2V5ZWQgdGFyZ2V0IGVsZW1lbnQgd2l0aCBpdHMgbWF0Y2hpbmdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gZWxlbWVudCBpbiB0aGUgb3JpZ2luYWwgdHJlZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpc0NvbXBhdGlibGUgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBmb3VuZCBhIG1hdGNoaW5nIGtleWVkIGVsZW1lbnQgc29tZXdoZXJlIGluIHRoZSBvcmlnaW5hbCBET00gdHJlZS5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTGV0J3MgbW92ZSB0aGUgb3JpZ2luYWwgRE9NIG5vZGUgaW50byB0aGUgY3VycmVudCBwb3NpdGlvbiBhbmQgbW9ycGhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaXQuXG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTk9URTogV2UgdXNlIGluc2VydEJlZm9yZSBpbnN0ZWFkIG9mIHJlcGxhY2VDaGlsZCBiZWNhdXNlIHdlIHdhbnQgdG8gZ28gdGhyb3VnaFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyB0aGUgYHJlbW92ZU5vZGUoKWAgZnVuY3Rpb24gZm9yIHRoZSBub2RlIHRoYXQgaXMgYmVpbmcgZGlzY2FyZGVkIHNvIHRoYXRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYWxsIGxpZmVjeWNsZSBob29rcyBhcmUgY29ycmVjdGx5IGludm9rZWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnJvbUVsLmluc2VydEJlZm9yZShtYXRjaGluZ0Zyb21FbCwgY3VyRnJvbU5vZGVDaGlsZCk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gZnJvbU5leHRTaWJsaW5nID0gY3VyRnJvbU5vZGVDaGlsZC5uZXh0U2libGluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY3VyRnJvbU5vZGVLZXkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFNpbmNlIHRoZSBub2RlIGlzIGtleWVkIGl0IG1pZ2h0IGJlIG1hdGNoZWQgdXAgbGF0ZXIgc28gd2UgZGVmZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHRoZSBhY3R1YWwgcmVtb3ZhbCB0byBsYXRlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkS2V5ZWRSZW1vdmFsKGN1ckZyb21Ob2RlS2V5KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIE5PVEU6IHdlIHNraXAgbmVzdGVkIGtleWVkIG5vZGVzIGZyb20gYmVpbmcgcmVtb3ZlZCBzaW5jZSB0aGVyZSBpc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gICAgICAgc3RpbGwgYSBjaGFuY2UgdGhleSB3aWxsIGJlIG1hdGNoZWQgdXAgbGF0ZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlbW92ZU5vZGUoY3VyRnJvbU5vZGVDaGlsZCwgZnJvbUVsLCB0cnVlIC8qIHNraXAga2V5ZWQgbm9kZXMgKi8pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3VyRnJvbU5vZGVDaGlsZCA9IG1hdGNoaW5nRnJvbUVsO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gVGhlIG5vZGVzIGFyZSBub3QgY29tcGF0aWJsZSBzaW5jZSB0aGUgXCJ0b1wiIG5vZGUgaGFzIGEga2V5IGFuZCB0aGVyZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlzIG5vIG1hdGNoaW5nIGtleWVkIG5vZGUgaW4gdGhlIHNvdXJjZSB0cmVlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNDb21wYXRpYmxlID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGN1ckZyb21Ob2RlS2V5KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFRoZSBvcmlnaW5hbCBoYXMgYSBrZXlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNDb21wYXRpYmxlID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNDb21wYXRpYmxlID0gaXNDb21wYXRpYmxlICE9PSBmYWxzZSAmJiBjb21wYXJlTm9kZU5hbWVzKGN1ckZyb21Ob2RlQ2hpbGQsIGN1clRvTm9kZUNoaWxkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaXNDb21wYXRpYmxlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFdlIGZvdW5kIGNvbXBhdGlibGUgRE9NIGVsZW1lbnRzIHNvIHRyYW5zZm9ybVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyB0aGUgY3VycmVudCBcImZyb21cIiBub2RlIHRvIG1hdGNoIHRoZSBjdXJyZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHRhcmdldCBET00gbm9kZS5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTU9SUEhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbW9ycGhFbChjdXJGcm9tTm9kZUNoaWxkLCBjdXJUb05vZGVDaGlsZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGN1ckZyb21Ob2RlVHlwZSA9PT0gVEVYVF9OT0RFIHx8IGN1ckZyb21Ob2RlVHlwZSA9PSBDT01NRU5UX05PREUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBCb3RoIG5vZGVzIGJlaW5nIGNvbXBhcmVkIGFyZSBUZXh0IG9yIENvbW1lbnQgbm9kZXNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpc0NvbXBhdGlibGUgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFNpbXBseSB1cGRhdGUgbm9kZVZhbHVlIG9uIHRoZSBvcmlnaW5hbCBub2RlIHRvXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hhbmdlIHRoZSB0ZXh0IHZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGN1ckZyb21Ob2RlQ2hpbGQubm9kZVZhbHVlICE9PSBjdXJUb05vZGVDaGlsZC5ub2RlVmFsdWUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3VyRnJvbU5vZGVDaGlsZC5ub2RlVmFsdWUgPSBjdXJUb05vZGVDaGlsZC5ub2RlVmFsdWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICBpZiAoaXNDb21wYXRpYmxlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBBZHZhbmNlIGJvdGggdGhlIFwidG9cIiBjaGlsZCBhbmQgdGhlIFwiZnJvbVwiIGNoaWxkIHNpbmNlIHdlIGZvdW5kIGEgbWF0Y2hcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIE5vdGhpbmcgZWxzZSB0byBkbyBhcyB3ZSBhbHJlYWR5IHJlY3Vyc2l2ZWx5IGNhbGxlZCBtb3JwaENoaWxkcmVuIGFib3ZlXG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJUb05vZGVDaGlsZCA9IHRvTmV4dFNpYmxpbmc7XG4gICAgICAgICAg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AgICAgICAgICAgaWYgKGN1clRvTm9kZUtleSAmJiAobWF0Y2hpbmdGcm9tRWwgPSBmcm9tTm9kZXNMb29rdXBbY3VyVG9Ob2RlS2V5XSkgJiYgY29tcGFyZU5vZGVOYW1lcyhtYXRjaGluZ0Zyb21FbCwgY3VyVG9Ob2RlQ2hpbGQpKSB7XG4gICAgICAgICAgICAgICAgICAgIGZyb21FbC5hcHBlbmRDaGlsZChtYXRjaGluZ0Zyb21FbCk7XG4gICAgICAgICAgICAgICAgICAgIC8vIE1PUlBIXG4gICAgICAgICAgICAgICAgICAgIG1vcnBoRWwobWF0Y2hpbmdGcm9tRWwsIGN1clRvTm9kZUNoaWxkKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB2YXIgb25CZWZvcmVOb2RlQWRkZWRSZXN1bHQgPSBvbkJlZm9yZU5vZGVBZGRlZChjdXJUb05vZGVDaGlsZCk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChvbkJlZm9yZU5vZGVBZGRlZFJlc3VsdCAhPT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChvbkJlZm9yZU5vZGVBZGRlZFJlc3VsdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGN1clRvTm9kZUNoaWxkID0gb25CZWZvcmVOb2RlQWRkZWRSZXN1bHQ7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjdXJUb05vZGVDaGlsZC5hY3R1YWxpemUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjdXJUb05vZGVDaGlsZCA9IGN1clRvTm9kZUNoaWxkLmFjdHVhbGl6ZShmcm9tRWwub3duZXJEb2N1bWVudCB8fCBkb2MpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgZnJvbUVsLmFwcGVuZENoaWxkKGN1clRvTm9kZUNoaWx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ZWROb2RlVHlwZSA9PT0gRUxFTUVOVF9OT0RFKSB7XG4gICAgICAgICAgICAgICAgaWYgKHRvTm9kZVR5cGUgPT09IEVMRU1FTlRfTk9ERSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWNvbXBhcmVOb2RlTmFtZXMoZnJvbU5vZGUsIHRvTm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG9uTm9kZURpc2NhcmRlZChmcm9tTm9kZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICBtb3JwaGVkTm9kZSA9IG1vdmVDaGlsZHJlbihmcm9tTm9kZSwgY3JlYXRlRWxlbWVudE5TKHRvTm9kZS5ub2RlTmFtZSwgdG9Ob2RlLm5hbWVzcGFjZVVSSSkpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gR29pbmcgZnJvbSBhbiBlbGVtZW50IG5vZGUgdG8gYSB0ZXh0IG5vZGVcbiAgICAgICAgICAgICAgICAgICAgbW9ycGhlZE5vZGUgPSB0b05vZGU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIGlmIChtb3JwaGVkTm9kZVR5cGUgPT09IFRFWFRfTk9ERSB8fCBtb3JwaGVkTm9kZVR5cGUgPT09IENPTU1FTlRfTk9ERSkgeyAvLyBUZXh0IG9yIGNvbW1lbnQgbm9kZVxuICAgICAgICAgICAgICAgIGlmICh0b05vZGVUeXBlID09PSBtb3JwaGVkTm9kZVR5cGUpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG1vcnBoZWROb2RlLm5vZGVWYWx1ZSAhPT0gdG9Ob2RlLm5vZGVWYWx1ZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbW9ycGhlZE5vZGUubm9kZVZhbHVlID0gdG9Ob2RlLm5vZGVWYWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgIC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DLFdBQVcsRUFBQyxHQUFHLFVBQVMsYUFBYTtBQUNwRCxTQUFPLGlCQUFpQiwwQkFBMEIsVUFBUSxzQkFBTztBQUNqRSxTQUFPLGlCQUFpQix5QkFBeUIsVUFBUSxzQkFBTztBQUdoRSxhQUFXO0FBTVgsU0FBTyxhQUFhOyIsCiAgIm5hbWVzIjogW10KfQo=
diff --git a/priv/mirror/v0.3/git.kmx.io/_assets/app-bed61e4049c985c027fe7cdee125ed2d.css b/priv/mirror/v0.3/git.kmx.io/_assets/app-bed61e4049c985c027fe7cdee125ed2d.css
new file mode 100644
index 0000000..2d65f05
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/_assets/app-bed61e4049c985c027fe7cdee125ed2d.css
@@ -0,0 +1,26086 @@
+@charset "UTF-8";
+/* This file is for your main application CSS */
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 100;
+ font-display: swap;
+ src: url("../_fonts/Inter-Thin.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Thin.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 100;
+ font-display: swap;
+ src: url("../_fonts/Inter-ThinItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-ThinItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 200;
+ font-display: swap;
+ src: url("../_fonts/Inter-ExtraLight.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-ExtraLight.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 200;
+ font-display: swap;
+ src: url("../_fonts/Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-ExtraLightItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 300;
+ font-display: swap;
+ src: url("../_fonts/Inter-Light.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Light.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 300;
+ font-display: swap;
+ src: url("../_fonts/Inter-LightItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-LightItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url("../_fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Regular.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 400;
+ font-display: swap;
+ src: url("../_fonts/Inter-Italic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Italic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 500;
+ font-display: swap;
+ src: url("../_fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Medium.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 500;
+ font-display: swap;
+ src: url("../_fonts/Inter-MediumItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-MediumItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 600;
+ font-display: swap;
+ src: url("../_fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-SemiBold.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 600;
+ font-display: swap;
+ src: url("../_fonts/Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-SemiBoldItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url("../_fonts/Inter-Bold.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Bold.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 700;
+ font-display: swap;
+ src: url("../_fonts/Inter-BoldItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-BoldItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 800;
+ font-display: swap;
+ src: url("../_fonts/Inter-ExtraBold.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-ExtraBold.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 800;
+ font-display: swap;
+ src: url("../_fonts/Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 900;
+ font-display: swap;
+ src: url("../_fonts/Inter-Black.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-Black.woff?v=3.19") format("woff");
+}
+@font-face {
+ font-family: "Inter";
+ font-style: italic;
+ font-weight: 900;
+ font-display: swap;
+ src: url("../_fonts/Inter-BlackItalic.woff2?v=3.19") format("woff2"), url("../_fonts/Inter-BlackItalic.woff?v=3.19") format("woff");
+}
+/* -------------------------------------------------------
+Variable font.
+Usage:
+
+ html { font-family: 'Inter', sans-serif; }
+ @supports (font-variation-settings: normal) {
+ html { font-family: 'Inter var', sans-serif; }
+ }
+*/
+@font-face {
+ font-family: "Inter var";
+ font-weight: 100 900;
+ font-display: swap;
+ font-style: normal;
+ font-named-instance: "Regular";
+ src: url("../_fonts/Inter-roman.var.woff2?v=3.19") format("woff2");
+}
+@font-face {
+ font-family: "Inter var";
+ font-weight: 100 900;
+ font-display: swap;
+ font-style: italic;
+ font-named-instance: "Italic";
+ src: url("../_fonts/Inter-italic.var.woff2?v=3.19") format("woff2");
+}
+/* --------------------------------------------------------------------------
+[EXPERIMENTAL] Multi-axis, single variable font.
+
+Slant axis is not yet widely supported (as of February 2019) and thus this
+multi-axis single variable font is opt-in rather than the default.
+
+When using this, you will probably need to set font-variation-settings
+explicitly, e.g.
+
+ * { font-variation-settings: "slnt" 0deg }
+ .italic { font-variation-settings: "slnt" 10deg }
+
+*/
+@font-face {
+ font-family: "Inter var experimental";
+ font-weight: 100 900;
+ font-display: swap;
+ font-style: oblique 0deg 10deg;
+ src: url("../_fonts/Inter.var.woff2?v=3.19") format("woff2");
+}
+/*!
+ * Bootstrap v5.1.3 (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 {
+ --bs-blue: #0d6efd;
+ --bs-indigo: #6610f2;
+ --bs-purple: #6f42c1;
+ --bs-pink: #d63384;
+ --bs-red: #dc3545;
+ --bs-orange: #fd7e14;
+ --bs-yellow: #ffc107;
+ --bs-green: #198754;
+ --bs-teal: #20c997;
+ --bs-cyan: #0dcaf0;
+ --bs-white: #fff;
+ --bs-gray: #6c757d;
+ --bs-gray-dark: #343a40;
+ --bs-gray-100: #f8f9fa;
+ --bs-gray-200: #e9ecef;
+ --bs-gray-300: #dee2e6;
+ --bs-gray-400: #ced4da;
+ --bs-gray-500: #adb5bd;
+ --bs-gray-600: #6c757d;
+ --bs-gray-700: #495057;
+ --bs-gray-800: #343a40;
+ --bs-gray-900: #212529;
+ --bs-primary: #5a60f9;
+ --bs-secondary: #6c757d;
+ --bs-success: #198754;
+ --bs-info: #0dcaf0;
+ --bs-warning: #ffc107;
+ --bs-danger: #f8681c;
+ --bs-light: #f8f9fa;
+ --bs-dark: #000;
+ --bs-primary-rgb: 90, 96, 249;
+ --bs-secondary-rgb: 108, 117, 125;
+ --bs-success-rgb: 25, 135, 84;
+ --bs-info-rgb: 13, 202, 240;
+ --bs-warning-rgb: 255, 193, 7;
+ --bs-danger-rgb: 248, 104, 28;
+ --bs-light-rgb: 248, 249, 250;
+ --bs-dark-rgb: 0, 0, 0;
+ --bs-white-rgb: 255, 255, 255;
+ --bs-black-rgb: 0, 0, 0;
+ --bs-body-color-rgb: 33, 37, 41;
+ --bs-body-bg-rgb: 255, 255, 255;
+ --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
+ --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
+ --bs-body-font-family: var(--bs-font-sans-serif);
+ --bs-body-font-size: 1rem;
+ --bs-body-font-weight: 400;
+ --bs-body-line-height: 1.5;
+ --bs-body-color: #212529;
+ --bs-body-bg: #fff;
+}
+
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+@media (prefers-reduced-motion: no-preference) {
+ :root {
+ scroll-behavior: smooth;
+ }
+}
+
+body {
+ margin: 0;
+ font-family: var(--bs-body-font-family);
+ font-size: var(--bs-body-font-size);
+ font-weight: var(--bs-body-font-weight);
+ line-height: var(--bs-body-line-height);
+ color: var(--bs-body-color);
+ text-align: var(--bs-body-text-align);
+ background-color: var(--bs-body-bg);
+ -webkit-text-size-adjust: 100%;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+hr {
+ margin: 1rem 0;
+ color: inherit;
+ background-color: currentColor;
+ border: 0;
+ opacity: 0.25;
+}
+
+hr:not([size]) {
+ height: 1px;
+}
+
+h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
+ margin-top: 0;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+ line-height: 1.2;
+}
+
+h1, .h1 {
+ font-size: calc(1.375rem + 1.5vw);
+}
+@media (min-width: 1200px) {
+ h1, .h1 {
+ font-size: 2.5rem;
+ }
+}
+
+h2, .h2 {
+ font-size: calc(1.325rem + 0.9vw);
+}
+@media (min-width: 1200px) {
+ h2, .h2 {
+ font-size: 2rem;
+ }
+}
+
+h3, .h3 {
+ font-size: calc(1.3rem + 0.6vw);
+}
+@media (min-width: 1200px) {
+ h3, .h3 {
+ font-size: 1.75rem;
+ }
+}
+
+h4, .h4 {
+ font-size: calc(1.275rem + 0.3vw);
+}
+@media (min-width: 1200px) {
+ h4, .h4 {
+ font-size: 1.5rem;
+ }
+}
+
+h5, .h5 {
+ font-size: 1.25rem;
+}
+
+h6, .h6 {
+ font-size: 1rem;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 1rem;
+}
+
+abbr[title],
+abbr[data-bs-original-title] {
+ text-decoration: underline dotted;
+ cursor: help;
+ text-decoration-skip-ink: none;
+}
+
+address {
+ margin-bottom: 1rem;
+ font-style: normal;
+ line-height: inherit;
+}
+
+ol,
+ul {
+ padding-left: 2rem;
+}
+
+ol,
+ul,
+dl {
+ margin-top: 0;
+ margin-bottom: 1rem;
+}
+
+ol ol,
+ul ul,
+ol ul,
+ul ol {
+ margin-bottom: 0;
+}
+
+dt {
+ font-weight: 700;
+}
+
+dd {
+ margin-bottom: 0.5rem;
+ margin-left: 0;
+}
+
+blockquote {
+ margin: 0 0 1rem;
+}
+
+b,
+strong {
+ font-weight: bolder;
+}
+
+small, .small {
+ font-size: 0.875em;
+}
+
+mark, .mark {
+ padding: 0.2em;
+ background-color: #fcf8e3;
+}
+
+sub,
+sup {
+ position: relative;
+ font-size: 0.75em;
+ line-height: 0;
+ vertical-align: baseline;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+sup {
+ top: -0.5em;
+}
+
+a {
+ color: #5a60f9;
+ text-decoration: underline;
+}
+a:hover {
+ color: #484dc7;
+}
+
+a:not([href]):not([class]), a:not([href]):not([class]):hover {
+ color: inherit;
+ text-decoration: none;
+}
+
+pre,
+code,
+kbd,
+samp {
+ font-family: var(--bs-font-monospace);
+ font-size: 1em;
+ direction: ltr /* rtl:ignore */;
+ unicode-bidi: bidi-override;
+}
+
+pre {
+ display: block;
+ margin-top: 0;
+ margin-bottom: 1rem;
+ overflow: auto;
+ font-size: 0.875em;
+}
+pre code {
+ font-size: inherit;
+ color: inherit;
+ word-break: normal;
+}
+
+code {
+ font-size: 0.875em;
+ color: #d63384;
+ word-wrap: break-word;
+}
+a > code {
+ color: inherit;
+}
+
+kbd {
+ padding: 0.2rem 0.4rem;
+ font-size: 0.875em;
+ color: #fff;
+ background-color: #212529;
+ border-radius: 0.2rem;
+}
+kbd kbd {
+ padding: 0;
+ font-size: 1em;
+ font-weight: 700;
+}
+
+figure {
+ margin: 0 0 1rem;
+}
+
+img,
+svg {
+ vertical-align: middle;
+}
+
+table {
+ caption-side: bottom;
+ border-collapse: collapse;
+}
+
+caption {
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+ color: #6c757d;
+ text-align: left;
+}
+
+th {
+ text-align: inherit;
+ text-align: -webkit-match-parent;
+}
+
+thead,
+tbody,
+tfoot,
+tr,
+td,
+th {
+ border-color: inherit;
+ border-style: solid;
+ border-width: 0;
+}
+
+label {
+ display: inline-block;
+}
+
+button {
+ border-radius: 0;
+}
+
+button:focus:not(:focus-visible) {
+ outline: 0;
+}
+
+input,
+button,
+select,
+optgroup,
+textarea {
+ margin: 0;
+ font-family: inherit;
+ font-size: inherit;
+ line-height: inherit;
+}
+
+button,
+select {
+ text-transform: none;
+}
+
+[role=button] {
+ cursor: pointer;
+}
+
+select {
+ word-wrap: normal;
+}
+select:disabled {
+ opacity: 1;
+}
+
+[list]::-webkit-calendar-picker-indicator {
+ display: none;
+}
+
+button,
+[type=button],
+[type=reset],
+[type=submit] {
+ -webkit-appearance: button;
+}
+button:not(:disabled),
+[type=button]:not(:disabled),
+[type=reset]:not(:disabled),
+[type=submit]:not(:disabled) {
+ cursor: pointer;
+}
+
+::-moz-focus-inner {
+ padding: 0;
+ border-style: none;
+}
+
+textarea {
+ resize: vertical;
+}
+
+fieldset {
+ min-width: 0;
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+
+legend {
+ float: left;
+ width: 100%;
+ padding: 0;
+ margin-bottom: 0.5rem;
+ font-size: calc(1.275rem + 0.3vw);
+ line-height: inherit;
+}
+@media (min-width: 1200px) {
+ legend {
+ font-size: 1.5rem;
+ }
+}
+legend + * {
+ clear: left;
+}
+
+::-webkit-datetime-edit-fields-wrapper,
+::-webkit-datetime-edit-text,
+::-webkit-datetime-edit-minute,
+::-webkit-datetime-edit-hour-field,
+::-webkit-datetime-edit-day-field,
+::-webkit-datetime-edit-month-field,
+::-webkit-datetime-edit-year-field {
+ padding: 0;
+}
+
+::-webkit-inner-spin-button {
+ height: auto;
+}
+
+[type=search] {
+ outline-offset: -2px;
+ -webkit-appearance: textfield;
+}
+
+/* rtl:raw:
+[type="tel"],
+[type="url"],
+[type="email"],
+[type="number"] {
+ direction: ltr;
+}
+*/
+::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+::-webkit-color-swatch-wrapper {
+ padding: 0;
+}
+
+::file-selector-button {
+ font: inherit;
+}
+
+::-webkit-file-upload-button {
+ font: inherit;
+ -webkit-appearance: button;
+}
+
+output {
+ display: inline-block;
+}
+
+iframe {
+ border: 0;
+}
+
+summary {
+ display: list-item;
+ cursor: pointer;
+}
+
+progress {
+ vertical-align: baseline;
+}
+
+[hidden] {
+ display: none !important;
+}
+
+.lead {
+ font-size: 1.25rem;
+ font-weight: 300;
+}
+
+.display-1 {
+ font-size: calc(1.625rem + 4.5vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-1 {
+ font-size: 5rem;
+ }
+}
+
+.display-2 {
+ font-size: calc(1.575rem + 3.9vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-2 {
+ font-size: 4.5rem;
+ }
+}
+
+.display-3 {
+ font-size: calc(1.525rem + 3.3vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-3 {
+ font-size: 4rem;
+ }
+}
+
+.display-4 {
+ font-size: calc(1.475rem + 2.7vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-4 {
+ font-size: 3.5rem;
+ }
+}
+
+.display-5 {
+ font-size: calc(1.425rem + 2.1vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-5 {
+ font-size: 3rem;
+ }
+}
+
+.display-6 {
+ font-size: calc(1.375rem + 1.5vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-6 {
+ font-size: 2.5rem;
+ }
+}
+
+.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: 0.5rem;
+}
+
+.initialism {
+ font-size: 0.875em;
+ text-transform: uppercase;
+}
+
+.blockquote {
+ margin-bottom: 1rem;
+ font-size: 1.25rem;
+}
+.blockquote > :last-child {
+ margin-bottom: 0;
+}
+
+.blockquote-footer {
+ margin-top: -1rem;
+ margin-bottom: 1rem;
+ font-size: 0.875em;
+ color: #6c757d;
+}
+.blockquote-footer::before {
+ content: "— ";
+}
+
+.img-fluid {
+ max-width: 100%;
+ height: auto;
+}
+
+.img-thumbnail {
+ padding: 0.25rem;
+ background-color: #fff;
+ border: 1px solid #dee2e6;
+ border-radius: 0.25rem;
+ max-width: 100%;
+ height: auto;
+}
+
+.figure {
+ display: inline-block;
+}
+
+.figure-img {
+ margin-bottom: 0.5rem;
+ line-height: 1;
+}
+
+.figure-caption {
+ font-size: 0.875em;
+ color: #6c757d;
+}
+
+.container,
+.container-fluid,
+.container-xxl,
+.container-xl,
+.container-lg,
+.container-md,
+.container-sm {
+ width: 100%;
+ padding-right: var(--bs-gutter-x, 0.75rem);
+ padding-left: var(--bs-gutter-x, 0.75rem);
+ margin-right: auto;
+ margin-left: auto;
+}
+
+@media (min-width: 576px) {
+ .container-sm, .container {
+ max-width: 540px;
+ }
+}
+@media (min-width: 768px) {
+ .container-md, .container-sm, .container {
+ max-width: 720px;
+ }
+}
+@media (min-width: 992px) {
+ .container-lg, .container-md, .container-sm, .container {
+ max-width: 960px;
+ }
+}
+@media (min-width: 1200px) {
+ .container-xl, .container-lg, .container-md, .container-sm, .container {
+ max-width: 1140px;
+ }
+}
+@media (min-width: 1400px) {
+ .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
+ max-width: 1320px;
+ }
+}
+.row {
+ --bs-gutter-x: 1.5rem;
+ --bs-gutter-y: 0;
+ display: flex;
+ flex-wrap: wrap;
+ margin-top: calc(-1 * var(--bs-gutter-y));
+ margin-right: calc(-.5 * var(--bs-gutter-x));
+ margin-left: calc(-.5 * var(--bs-gutter-x));
+}
+.row > * {
+ flex-shrink: 0;
+ width: 100%;
+ max-width: 100%;
+ padding-right: calc(var(--bs-gutter-x) * .5);
+ padding-left: calc(var(--bs-gutter-x) * .5);
+ margin-top: var(--bs-gutter-y);
+}
+
+.col {
+ flex: 1 0 0%;
+}
+
+.row-cols-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+}
+
+.row-cols-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+}
+
+.row-cols-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+}
+
+.row-cols-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+}
+
+.row-cols-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+}
+
+.row-cols-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+}
+
+.row-cols-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+}
+
+.col-auto {
+ flex: 0 0 auto;
+ width: auto;
+}
+
+.col-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+}
+
+.col-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+}
+
+.col-3 {
+ flex: 0 0 auto;
+ width: 25%;
+}
+
+.col-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+}
+
+.col-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+}
+
+.col-6 {
+ flex: 0 0 auto;
+ width: 50%;
+}
+
+.col-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+}
+
+.col-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+}
+
+.col-9 {
+ flex: 0 0 auto;
+ width: 75%;
+}
+
+.col-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+}
+
+.col-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+}
+
+.col-12 {
+ flex: 0 0 auto;
+ width: 100%;
+}
+
+.offset-1 {
+ margin-left: 8.33333333%;
+}
+
+.offset-2 {
+ margin-left: 16.66666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.33333333%;
+}
+
+.offset-5 {
+ margin-left: 41.66666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.33333333%;
+}
+
+.offset-8 {
+ margin-left: 66.66666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.33333333%;
+}
+
+.offset-11 {
+ margin-left: 91.66666667%;
+}
+
+.g-0,
+.gx-0 {
+ --bs-gutter-x: 0;
+}
+
+.g-0,
+.gy-0 {
+ --bs-gutter-y: 0;
+}
+
+.g-1,
+.gx-1 {
+ --bs-gutter-x: 0.25rem;
+}
+
+.g-1,
+.gy-1 {
+ --bs-gutter-y: 0.25rem;
+}
+
+.g-2,
+.gx-2 {
+ --bs-gutter-x: 0.5rem;
+}
+
+.g-2,
+.gy-2 {
+ --bs-gutter-y: 0.5rem;
+}
+
+.g-3,
+.gx-3 {
+ --bs-gutter-x: 1rem;
+}
+
+.g-3,
+.gy-3 {
+ --bs-gutter-y: 1rem;
+}
+
+.g-4,
+.gx-4 {
+ --bs-gutter-x: 1.5rem;
+}
+
+.g-4,
+.gy-4 {
+ --bs-gutter-y: 1.5rem;
+}
+
+.g-5,
+.gx-5 {
+ --bs-gutter-x: 3rem;
+}
+
+.g-5,
+.gy-5 {
+ --bs-gutter-y: 3rem;
+}
+
+@media (min-width: 576px) {
+ .col-sm {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-sm-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-sm-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-sm-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-sm-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-sm-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-sm-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-sm-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-sm-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-sm-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-sm-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-sm-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-sm-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-sm-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-sm-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-sm-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-sm-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-sm-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-sm-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-sm-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-sm-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+
+ .offset-sm-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-sm-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+
+ .offset-sm-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-sm-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+
+ .offset-sm-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-sm-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+
+ .offset-sm-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-sm-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-sm-0,
+.gx-sm-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-sm-0,
+.gy-sm-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-sm-1,
+.gx-sm-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-sm-1,
+.gy-sm-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-sm-2,
+.gx-sm-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-sm-2,
+.gy-sm-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-sm-3,
+.gx-sm-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-sm-3,
+.gy-sm-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-sm-4,
+.gx-sm-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-sm-4,
+.gy-sm-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-sm-5,
+.gx-sm-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-sm-5,
+.gy-sm-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 768px) {
+ .col-md {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-md-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-md-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-md-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-md-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-md-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-md-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-md-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-md-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-md-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-md-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-md-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-md-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-md-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-md-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-md-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-md-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-md-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-md-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-md-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-md-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-md-0 {
+ margin-left: 0;
+ }
+
+ .offset-md-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-md-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+
+ .offset-md-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-md-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+
+ .offset-md-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-md-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+
+ .offset-md-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-md-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-md-0,
+.gx-md-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-md-0,
+.gy-md-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-md-1,
+.gx-md-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-md-1,
+.gy-md-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-md-2,
+.gx-md-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-md-2,
+.gy-md-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-md-3,
+.gx-md-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-md-3,
+.gy-md-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-md-4,
+.gx-md-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-md-4,
+.gy-md-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-md-5,
+.gx-md-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-md-5,
+.gy-md-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 992px) {
+ .col-lg {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-lg-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-lg-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-lg-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-lg-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-lg-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-lg-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-lg-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-lg-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-lg-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-lg-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-lg-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-lg-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-lg-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-lg-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-lg-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-lg-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-lg-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-lg-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-lg-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-lg-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+
+ .offset-lg-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-lg-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+
+ .offset-lg-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-lg-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+
+ .offset-lg-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-lg-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+
+ .offset-lg-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-lg-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-lg-0,
+.gx-lg-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-lg-0,
+.gy-lg-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-lg-1,
+.gx-lg-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-lg-1,
+.gy-lg-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-lg-2,
+.gx-lg-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-lg-2,
+.gy-lg-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-lg-3,
+.gx-lg-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-lg-3,
+.gy-lg-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-lg-4,
+.gx-lg-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-lg-4,
+.gy-lg-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-lg-5,
+.gx-lg-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-lg-5,
+.gy-lg-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 1200px) {
+ .col-xl {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-xl-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-xl-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-xl-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-xl-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-xl-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-xl-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-xl-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-xl-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-xl-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-xl-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-xl-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-xl-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-xl-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-xl-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-xl-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-xl-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-xl-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-xl-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-xl-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-xl-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+
+ .offset-xl-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-xl-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+
+ .offset-xl-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-xl-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+
+ .offset-xl-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-xl-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+
+ .offset-xl-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-xl-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-xl-0,
+.gx-xl-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-xl-0,
+.gy-xl-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-xl-1,
+.gx-xl-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-xl-1,
+.gy-xl-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-xl-2,
+.gx-xl-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-xl-2,
+.gy-xl-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-xl-3,
+.gx-xl-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-xl-3,
+.gy-xl-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-xl-4,
+.gx-xl-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-xl-4,
+.gy-xl-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-xl-5,
+.gx-xl-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-xl-5,
+.gy-xl-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 1400px) {
+ .col-xxl {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-xxl-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-xxl-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-xxl-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-xxl-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-xxl-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-xxl-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-xxl-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-xxl-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-xxl-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-xxl-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-xxl-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-xxl-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-xxl-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-xxl-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-xxl-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-xxl-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-xxl-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-xxl-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-xxl-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-xxl-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-xxl-0 {
+ margin-left: 0;
+ }
+
+ .offset-xxl-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-xxl-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-xxl-3 {
+ margin-left: 25%;
+ }
+
+ .offset-xxl-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-xxl-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-xxl-6 {
+ margin-left: 50%;
+ }
+
+ .offset-xxl-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-xxl-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-xxl-9 {
+ margin-left: 75%;
+ }
+
+ .offset-xxl-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-xxl-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-xxl-0,
+.gx-xxl-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-xxl-0,
+.gy-xxl-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-xxl-1,
+.gx-xxl-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-xxl-1,
+.gy-xxl-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-xxl-2,
+.gx-xxl-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-xxl-2,
+.gy-xxl-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-xxl-3,
+.gx-xxl-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-xxl-3,
+.gy-xxl-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-xxl-4,
+.gx-xxl-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-xxl-4,
+.gy-xxl-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-xxl-5,
+.gx-xxl-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-xxl-5,
+.gy-xxl-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+.table {
+ --bs-table-bg: transparent;
+ --bs-table-accent-bg: transparent;
+ --bs-table-striped-color: #212529;
+ --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
+ --bs-table-active-color: #212529;
+ --bs-table-active-bg: rgba(0, 0, 0, 0.1);
+ --bs-table-hover-color: #212529;
+ --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
+ width: 100%;
+ margin-bottom: 1rem;
+ color: #212529;
+ vertical-align: top;
+ border-color: #dee2e6;
+}
+.table > :not(caption) > * > * {
+ padding: 0.5rem 0.5rem;
+ background-color: var(--bs-table-bg);
+ border-bottom-width: 1px;
+ box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
+}
+.table > tbody {
+ vertical-align: inherit;
+}
+.table > thead {
+ vertical-align: bottom;
+}
+.table > :not(:first-child) {
+ border-top: 2px solid currentColor;
+}
+
+.caption-top {
+ caption-side: top;
+}
+
+.table-sm > :not(caption) > * > * {
+ padding: 0.25rem 0.25rem;
+}
+
+.table-bordered > :not(caption) > * {
+ border-width: 1px 0;
+}
+.table-bordered > :not(caption) > * > * {
+ border-width: 0 1px;
+}
+
+.table-borderless > :not(caption) > * > * {
+ border-bottom-width: 0;
+}
+.table-borderless > :not(:first-child) {
+ border-top-width: 0;
+}
+
+.table-striped > tbody > tr:nth-of-type(odd) > * {
+ --bs-table-accent-bg: var(--bs-table-striped-bg);
+ color: var(--bs-table-striped-color);
+}
+
+.table-active {
+ --bs-table-accent-bg: var(--bs-table-active-bg);
+ color: var(--bs-table-active-color);
+}
+
+.table-hover > tbody > tr:hover > * {
+ --bs-table-accent-bg: var(--bs-table-hover-bg);
+ color: var(--bs-table-hover-color);
+}
+
+.table-primary {
+ --bs-table-bg: #dedffe;
+ --bs-table-striped-bg: #d3d4f1;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #c8c9e5;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #cdceeb;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #c8c9e5;
+}
+
+.table-secondary {
+ --bs-table-bg: #e2e3e5;
+ --bs-table-striped-bg: #d7d8da;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #cbccce;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #d1d2d4;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #cbccce;
+}
+
+.table-success {
+ --bs-table-bg: #d1e7dd;
+ --bs-table-striped-bg: #c7dbd2;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #bcd0c7;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #c1d6cc;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #bcd0c7;
+}
+
+.table-info {
+ --bs-table-bg: #cff4fc;
+ --bs-table-striped-bg: #c5e8ef;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #badce3;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #bfe2e9;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #badce3;
+}
+
+.table-warning {
+ --bs-table-bg: #fff3cd;
+ --bs-table-striped-bg: #f2e7c3;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #e6dbb9;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #ece1be;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #e6dbb9;
+}
+
+.table-danger {
+ --bs-table-bg: #fee1d2;
+ --bs-table-striped-bg: #f1d6c8;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #e5cbbd;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #ebd0c2;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #e5cbbd;
+}
+
+.table-light {
+ --bs-table-bg: #f8f9fa;
+ --bs-table-striped-bg: #ecedee;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #dfe0e1;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #e5e6e7;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #dfe0e1;
+}
+
+.table-dark {
+ --bs-table-bg: #000;
+ --bs-table-striped-bg: #0d0d0d;
+ --bs-table-striped-color: #fff;
+ --bs-table-active-bg: #1a1a1a;
+ --bs-table-active-color: #fff;
+ --bs-table-hover-bg: #131313;
+ --bs-table-hover-color: #fff;
+ color: #fff;
+ border-color: #1a1a1a;
+}
+
+.table-responsive {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+}
+
+@media (max-width: 575.98px) {
+ .table-responsive-sm {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 767.98px) {
+ .table-responsive-md {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 991.98px) {
+ .table-responsive-lg {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 1199.98px) {
+ .table-responsive-xl {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 1399.98px) {
+ .table-responsive-xxl {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+.form-label {
+ margin-bottom: 0.5rem;
+}
+
+.col-form-label {
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
+ margin-bottom: 0;
+ font-size: inherit;
+ line-height: 1.5;
+}
+
+.col-form-label-lg {
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
+ font-size: 1.25rem;
+}
+
+.col-form-label-sm {
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
+ font-size: 0.875rem;
+}
+
+.form-text {
+ margin-top: 0.25rem;
+ font-size: 0.875em;
+ color: #6c757d;
+}
+
+.form-control {
+ display: block;
+ width: 100%;
+ padding: 0.375rem 0.75rem;
+ font-size: 1rem;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid #ced4da;
+ appearance: none;
+ border-radius: 0.25rem;
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-control {
+ transition: none;
+ }
+}
+.form-control[type=file] {
+ overflow: hidden;
+}
+.form-control[type=file]:not(:disabled):not([readonly]) {
+ cursor: pointer;
+}
+.form-control:focus {
+ color: #212529;
+ background-color: #fff;
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-control::-webkit-date-and-time-value {
+ height: 1.5em;
+}
+.form-control::placeholder {
+ color: #6c757d;
+ opacity: 1;
+}
+.form-control:disabled, .form-control[readonly] {
+ background-color: #e9ecef;
+ opacity: 1;
+}
+.form-control::file-selector-button {
+ padding: 0.375rem 0.75rem;
+ margin: -0.375rem -0.75rem;
+ margin-inline-end: 0.75rem;
+ color: #212529;
+ background-color: #e9ecef;
+ pointer-events: none;
+ border-color: inherit;
+ border-style: solid;
+ border-width: 0;
+ border-inline-end-width: 1px;
+ border-radius: 0;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-control::file-selector-button {
+ transition: none;
+ }
+}
+.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
+ background-color: #dde0e3;
+}
+.form-control::-webkit-file-upload-button {
+ padding: 0.375rem 0.75rem;
+ margin: -0.375rem -0.75rem;
+ margin-inline-end: 0.75rem;
+ color: #212529;
+ background-color: #e9ecef;
+ pointer-events: none;
+ border-color: inherit;
+ border-style: solid;
+ border-width: 0;
+ border-inline-end-width: 1px;
+ border-radius: 0;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-control::-webkit-file-upload-button {
+ transition: none;
+ }
+}
+.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
+ background-color: #dde0e3;
+}
+
+.form-control-plaintext {
+ display: block;
+ width: 100%;
+ padding: 0.375rem 0;
+ margin-bottom: 0;
+ line-height: 1.5;
+ color: #212529;
+ background-color: transparent;
+ border: solid transparent;
+ border-width: 1px 0;
+}
+.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
+ padding-right: 0;
+ padding-left: 0;
+}
+
+.form-control-sm {
+ min-height: calc(1.5em + 0.5rem + 2px);
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+.form-control-sm::file-selector-button {
+ padding: 0.25rem 0.5rem;
+ margin: -0.25rem -0.5rem;
+ margin-inline-end: 0.5rem;
+}
+.form-control-sm::-webkit-file-upload-button {
+ padding: 0.25rem 0.5rem;
+ margin: -0.25rem -0.5rem;
+ margin-inline-end: 0.5rem;
+}
+
+.form-control-lg {
+ min-height: calc(1.5em + 1rem + 2px);
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+.form-control-lg::file-selector-button {
+ padding: 0.5rem 1rem;
+ margin: -0.5rem -1rem;
+ margin-inline-end: 1rem;
+}
+.form-control-lg::-webkit-file-upload-button {
+ padding: 0.5rem 1rem;
+ margin: -0.5rem -1rem;
+ margin-inline-end: 1rem;
+}
+
+textarea.form-control {
+ min-height: calc(1.5em + 0.75rem + 2px);
+}
+textarea.form-control-sm {
+ min-height: calc(1.5em + 0.5rem + 2px);
+}
+textarea.form-control-lg {
+ min-height: calc(1.5em + 1rem + 2px);
+}
+
+.form-control-color {
+ width: 3rem;
+ height: auto;
+ padding: 0.375rem;
+}
+.form-control-color:not(:disabled):not([readonly]) {
+ cursor: pointer;
+}
+.form-control-color::-moz-color-swatch {
+ height: 1.5em;
+ border-radius: 0.25rem;
+}
+.form-control-color::-webkit-color-swatch {
+ height: 1.5em;
+ border-radius: 0.25rem;
+}
+
+.form-select {
+ display: block;
+ width: 100%;
+ padding: 0.375rem 2.25rem 0.375rem 0.75rem;
+ -moz-padding-start: calc(0.75rem - 3px);
+ font-size: 1rem;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ background-color: #fff;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
+ background-repeat: no-repeat;
+ background-position: right 0.75rem center;
+ background-size: 16px 12px;
+ border: 1px solid #ced4da;
+ border-radius: 0.25rem;
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+ appearance: none;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-select {
+ transition: none;
+ }
+}
+.form-select:focus {
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-select[multiple], .form-select[size]:not([size="1"]) {
+ padding-right: 0.75rem;
+ background-image: none;
+}
+.form-select:disabled {
+ background-color: #e9ecef;
+}
+.form-select:-moz-focusring {
+ color: transparent;
+ text-shadow: 0 0 0 #212529;
+}
+
+.form-select-sm {
+ padding-top: 0.25rem;
+ padding-bottom: 0.25rem;
+ padding-left: 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+
+.form-select-lg {
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+ padding-left: 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+
+.form-check {
+ display: block;
+ min-height: 1.5rem;
+ padding-left: 1.5em;
+ margin-bottom: 0.125rem;
+}
+.form-check .form-check-input {
+ float: left;
+ margin-left: -1.5em;
+}
+
+.form-check-input {
+ width: 1em;
+ height: 1em;
+ margin-top: 0.25em;
+ vertical-align: top;
+ background-color: #fff;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: contain;
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ appearance: none;
+ color-adjust: exact;
+}
+.form-check-input[type=checkbox] {
+ border-radius: 0.25em;
+}
+.form-check-input[type=radio] {
+ border-radius: 50%;
+}
+.form-check-input:active {
+ filter: brightness(90%);
+}
+.form-check-input:focus {
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-check-input:checked {
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.form-check-input:checked[type=checkbox] {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
+}
+.form-check-input:checked[type=radio] {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
+}
+.form-check-input[type=checkbox]:indeterminate {
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
+}
+.form-check-input:disabled {
+ pointer-events: none;
+ filter: none;
+ opacity: 0.5;
+}
+.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
+ opacity: 0.5;
+}
+
+.form-switch {
+ padding-left: 2.5em;
+}
+.form-switch .form-check-input {
+ width: 2em;
+ margin-left: -2.5em;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
+ background-position: left center;
+ border-radius: 2em;
+ transition: background-position 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-switch .form-check-input {
+ transition: none;
+ }
+}
+.form-switch .form-check-input:focus {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23adb0fc'/%3e%3c/svg%3e");
+}
+.form-switch .form-check-input:checked {
+ background-position: right center;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
+}
+
+.form-check-inline {
+ display: inline-block;
+ margin-right: 1rem;
+}
+
+.btn-check {
+ position: absolute;
+ clip: rect(0, 0, 0, 0);
+ pointer-events: none;
+}
+.btn-check[disabled] + .btn, .btn-check:disabled + .btn {
+ pointer-events: none;
+ filter: none;
+ opacity: 0.65;
+}
+
+.form-range {
+ width: 100%;
+ height: 1.5rem;
+ padding: 0;
+ background-color: transparent;
+ appearance: none;
+}
+.form-range:focus {
+ outline: 0;
+}
+.form-range:focus::-webkit-slider-thumb {
+ box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-range:focus::-moz-range-thumb {
+ box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-range::-moz-focus-outer {
+ border: 0;
+}
+.form-range::-webkit-slider-thumb {
+ width: 1rem;
+ height: 1rem;
+ margin-top: -0.25rem;
+ background-color: #5a60f9;
+ border: 0;
+ border-radius: 1rem;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+ appearance: none;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-range::-webkit-slider-thumb {
+ transition: none;
+ }
+}
+.form-range::-webkit-slider-thumb:active {
+ background-color: #cecffd;
+}
+.form-range::-webkit-slider-runnable-track {
+ width: 100%;
+ height: 0.5rem;
+ color: transparent;
+ cursor: pointer;
+ background-color: #dee2e6;
+ border-color: transparent;
+ border-radius: 1rem;
+}
+.form-range::-moz-range-thumb {
+ width: 1rem;
+ height: 1rem;
+ background-color: #5a60f9;
+ border: 0;
+ border-radius: 1rem;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+ appearance: none;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-range::-moz-range-thumb {
+ transition: none;
+ }
+}
+.form-range::-moz-range-thumb:active {
+ background-color: #cecffd;
+}
+.form-range::-moz-range-track {
+ width: 100%;
+ height: 0.5rem;
+ color: transparent;
+ cursor: pointer;
+ background-color: #dee2e6;
+ border-color: transparent;
+ border-radius: 1rem;
+}
+.form-range:disabled {
+ pointer-events: none;
+}
+.form-range:disabled::-webkit-slider-thumb {
+ background-color: #adb5bd;
+}
+.form-range:disabled::-moz-range-thumb {
+ background-color: #adb5bd;
+}
+
+.form-floating {
+ position: relative;
+}
+.form-floating > .form-control,
+.form-floating > .form-select {
+ height: calc(3.5rem + 2px);
+ line-height: 1.25;
+}
+.form-floating > label {
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: 100%;
+ padding: 1rem 0.75rem;
+ pointer-events: none;
+ border: 1px solid transparent;
+ transform-origin: 0 0;
+ transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-floating > label {
+ transition: none;
+ }
+}
+.form-floating > .form-control {
+ padding: 1rem 0.75rem;
+}
+.form-floating > .form-control::placeholder {
+ color: transparent;
+}
+.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
+ padding-top: 1.625rem;
+ padding-bottom: 0.625rem;
+}
+.form-floating > .form-control:-webkit-autofill {
+ padding-top: 1.625rem;
+ padding-bottom: 0.625rem;
+}
+.form-floating > .form-select {
+ padding-top: 1.625rem;
+ padding-bottom: 0.625rem;
+}
+.form-floating > .form-control:focus ~ label,
+.form-floating > .form-control:not(:placeholder-shown) ~ label,
+.form-floating > .form-select ~ label {
+ opacity: 0.65;
+ transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
+}
+.form-floating > .form-control:-webkit-autofill ~ label {
+ opacity: 0.65;
+ transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
+}
+
+.input-group {
+ position: relative;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: stretch;
+ width: 100%;
+}
+.input-group > .form-control,
+.input-group > .form-select {
+ position: relative;
+ flex: 1 1 auto;
+ width: 1%;
+ min-width: 0;
+}
+.input-group > .form-control:focus,
+.input-group > .form-select:focus {
+ z-index: 3;
+}
+.input-group .btn {
+ position: relative;
+ z-index: 2;
+}
+.input-group .btn:focus {
+ z-index: 3;
+}
+
+.input-group-text {
+ display: flex;
+ align-items: center;
+ padding: 0.375rem 0.75rem;
+ font-size: 1rem;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ text-align: center;
+ white-space: nowrap;
+ background-color: #e9ecef;
+ border: 1px solid #ced4da;
+ border-radius: 0.25rem;
+}
+
+.input-group-lg > .form-control,
+.input-group-lg > .form-select,
+.input-group-lg > .input-group-text,
+.input-group-lg > .btn {
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+
+.input-group-sm > .form-control,
+.input-group-sm > .form-select,
+.input-group-sm > .input-group-text,
+.input-group-sm > .btn {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+
+.input-group-lg > .form-select,
+.input-group-sm > .form-select {
+ padding-right: 3rem;
+}
+
+.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
+.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu),
+.input-group.has-validation > .dropdown-toggle:nth-last-child(n+4) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
+ margin-left: -1px;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.valid-feedback {
+ display: none;
+ width: 100%;
+ margin-top: 0.25rem;
+ font-size: 0.875em;
+ color: #198754;
+}
+
+.valid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ max-width: 100%;
+ padding: 0.25rem 0.5rem;
+ margin-top: 0.1rem;
+ font-size: 0.875rem;
+ color: #fff;
+ background-color: rgba(25, 135, 84, 0.9);
+ border-radius: 0.25rem;
+}
+
+.was-validated :valid ~ .valid-feedback,
+.was-validated :valid ~ .valid-tooltip,
+.is-valid ~ .valid-feedback,
+.is-valid ~ .valid-tooltip {
+ display: block;
+}
+
+.was-validated .form-control:valid, .form-control.is-valid {
+ border-color: #198754;
+ padding-right: calc(1.5em + 0.75rem);
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' 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(0.375em + 0.1875rem) center;
+ background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
+ border-color: #198754;
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
+}
+
+.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
+ padding-right: calc(1.5em + 0.75rem);
+ background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
+}
+
+.was-validated .form-select:valid, .form-select.is-valid {
+ border-color: #198754;
+}
+.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
+ padding-right: 4.125rem;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' 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-position: right 0.75rem center, center right 2.25rem;
+ background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-select:valid:focus, .form-select.is-valid:focus {
+ border-color: #198754;
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
+}
+
+.was-validated .form-check-input:valid, .form-check-input.is-valid {
+ border-color: #198754;
+}
+.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {
+ background-color: #198754;
+}
+.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus {
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
+}
+.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
+ color: #198754;
+}
+
+.form-check-inline .form-check-input ~ .valid-feedback {
+ margin-left: 0.5em;
+}
+
+.was-validated .input-group .form-control:valid, .input-group .form-control.is-valid,
+.was-validated .input-group .form-select:valid,
+.input-group .form-select.is-valid {
+ z-index: 1;
+}
+.was-validated .input-group .form-control:valid:focus, .input-group .form-control.is-valid:focus,
+.was-validated .input-group .form-select:valid:focus,
+.input-group .form-select.is-valid:focus {
+ z-index: 3;
+}
+
+.invalid-feedback {
+ display: none;
+ width: 100%;
+ margin-top: 0.25rem;
+ font-size: 0.875em;
+ color: #f8681c;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ max-width: 100%;
+ padding: 0.25rem 0.5rem;
+ margin-top: 0.1rem;
+ font-size: 0.875rem;
+ color: #000;
+ background-color: rgba(248, 104, 28, 0.9);
+ border-radius: 0.25rem;
+}
+
+.was-validated :invalid ~ .invalid-feedback,
+.was-validated :invalid ~ .invalid-tooltip,
+.is-invalid ~ .invalid-feedback,
+.is-invalid ~ .invalid-tooltip {
+ display: block;
+}
+
+.was-validated .form-control:invalid, .form-control.is-invalid {
+ border-color: #f8681c;
+ padding-right: calc(1.5em + 0.75rem);
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f8681c'%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='%23f8681c' stroke='none'/%3e%3c/svg%3e");
+ background-repeat: no-repeat;
+ background-position: right calc(0.375em + 0.1875rem) center;
+ background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
+ border-color: #f8681c;
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.25);
+}
+
+.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
+ padding-right: calc(1.5em + 0.75rem);
+ background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
+}
+
+.was-validated .form-select:invalid, .form-select.is-invalid {
+ border-color: #f8681c;
+}
+.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] {
+ padding-right: 4.125rem;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f8681c'%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='%23f8681c' stroke='none'/%3e%3c/svg%3e");
+ background-position: right 0.75rem center, center right 2.25rem;
+ background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus {
+ border-color: #f8681c;
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.25);
+}
+
+.was-validated .form-check-input:invalid, .form-check-input.is-invalid {
+ border-color: #f8681c;
+}
+.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked {
+ background-color: #f8681c;
+}
+.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.25);
+}
+.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
+ color: #f8681c;
+}
+
+.form-check-inline .form-check-input ~ .invalid-feedback {
+ margin-left: 0.5em;
+}
+
+.was-validated .input-group .form-control:invalid, .input-group .form-control.is-invalid,
+.was-validated .input-group .form-select:invalid,
+.input-group .form-select.is-invalid {
+ z-index: 2;
+}
+.was-validated .input-group .form-control:invalid:focus, .input-group .form-control.is-invalid:focus,
+.was-validated .input-group .form-select:invalid:focus,
+.input-group .form-select.is-invalid:focus {
+ z-index: 3;
+}
+
+.btn {
+ display: inline-block;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ text-align: center;
+ text-decoration: none;
+ vertical-align: middle;
+ cursor: pointer;
+ user-select: none;
+ background-color: transparent;
+ border: 1px solid transparent;
+ padding: 0.375rem 0.75rem;
+ font-size: 1rem;
+ border-radius: 0.25rem;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .btn {
+ transition: none;
+ }
+}
+.btn:hover {
+ color: #212529;
+}
+.btn-check:focus + .btn, .btn:focus {
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.btn:disabled, .btn.disabled, fieldset:disabled .btn {
+ pointer-events: none;
+ opacity: 0.65;
+}
+
+.btn-primary {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-primary:hover {
+ color: #fff;
+ background-color: #4d52d4;
+ border-color: #484dc7;
+}
+.btn-check:focus + .btn-primary, .btn-primary:focus {
+ color: #fff;
+ background-color: #4d52d4;
+ border-color: #484dc7;
+ box-shadow: 0 0 0 0.25rem rgba(115, 120, 250, 0.5);
+}
+.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
+ color: #fff;
+ background-color: #484dc7;
+ border-color: #4448bb;
+}
+.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(115, 120, 250, 0.5);
+}
+.btn-primary:disabled, .btn-primary.disabled {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+
+.btn-secondary {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-secondary:hover {
+ color: #fff;
+ background-color: #5c636a;
+ border-color: #565e64;
+}
+.btn-check:focus + .btn-secondary, .btn-secondary:focus {
+ color: #fff;
+ background-color: #5c636a;
+ border-color: #565e64;
+ box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
+}
+.btn-check:checked + .btn-secondary, .btn-check:active + .btn-secondary, .btn-secondary:active, .btn-secondary.active, .show > .btn-secondary.dropdown-toggle {
+ color: #fff;
+ background-color: #565e64;
+ border-color: #51585e;
+}
+.btn-check:checked + .btn-secondary:focus, .btn-check:active + .btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus, .show > .btn-secondary.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
+}
+.btn-secondary:disabled, .btn-secondary.disabled {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+
+.btn-success {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+.btn-success:hover {
+ color: #fff;
+ background-color: #157347;
+ border-color: #146c43;
+}
+.btn-check:focus + .btn-success, .btn-success:focus {
+ color: #fff;
+ background-color: #157347;
+ border-color: #146c43;
+ box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5);
+}
+.btn-check:checked + .btn-success, .btn-check:active + .btn-success, .btn-success:active, .btn-success.active, .show > .btn-success.dropdown-toggle {
+ color: #fff;
+ background-color: #146c43;
+ border-color: #13653f;
+}
+.btn-check:checked + .btn-success:focus, .btn-check:active + .btn-success:focus, .btn-success:active:focus, .btn-success.active:focus, .show > .btn-success.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5);
+}
+.btn-success:disabled, .btn-success.disabled {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+
+.btn-info {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-info:hover {
+ color: #000;
+ background-color: #31d2f2;
+ border-color: #25cff2;
+}
+.btn-check:focus + .btn-info, .btn-info:focus {
+ color: #000;
+ background-color: #31d2f2;
+ border-color: #25cff2;
+ box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5);
+}
+.btn-check:checked + .btn-info, .btn-check:active + .btn-info, .btn-info:active, .btn-info.active, .show > .btn-info.dropdown-toggle {
+ color: #000;
+ background-color: #3dd5f3;
+ border-color: #25cff2;
+}
+.btn-check:checked + .btn-info:focus, .btn-check:active + .btn-info:focus, .btn-info:active:focus, .btn-info.active:focus, .show > .btn-info.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5);
+}
+.btn-info:disabled, .btn-info.disabled {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+
+.btn-warning {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-warning:hover {
+ color: #000;
+ background-color: #ffca2c;
+ border-color: #ffc720;
+}
+.btn-check:focus + .btn-warning, .btn-warning:focus {
+ color: #000;
+ background-color: #ffca2c;
+ border-color: #ffc720;
+ box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5);
+}
+.btn-check:checked + .btn-warning, .btn-check:active + .btn-warning, .btn-warning:active, .btn-warning.active, .show > .btn-warning.dropdown-toggle {
+ color: #000;
+ background-color: #ffcd39;
+ border-color: #ffc720;
+}
+.btn-check:checked + .btn-warning:focus, .btn-check:active + .btn-warning:focus, .btn-warning:active:focus, .btn-warning.active:focus, .show > .btn-warning.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5);
+}
+.btn-warning:disabled, .btn-warning.disabled {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+
+.btn-danger {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-danger:hover {
+ color: #000;
+ background-color: #f97f3e;
+ border-color: #f97733;
+}
+.btn-check:focus + .btn-danger, .btn-danger:focus {
+ color: #000;
+ background-color: #f97f3e;
+ border-color: #f97733;
+ box-shadow: 0 0 0 0.25rem rgba(211, 88, 24, 0.5);
+}
+.btn-check:checked + .btn-danger, .btn-check:active + .btn-danger, .btn-danger:active, .btn-danger.active, .show > .btn-danger.dropdown-toggle {
+ color: #000;
+ background-color: #f98649;
+ border-color: #f97733;
+}
+.btn-check:checked + .btn-danger:focus, .btn-check:active + .btn-danger:focus, .btn-danger:active:focus, .btn-danger.active:focus, .show > .btn-danger.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(211, 88, 24, 0.5);
+}
+.btn-danger:disabled, .btn-danger.disabled {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+
+.btn-light {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-light:hover {
+ color: #000;
+ background-color: #f9fafb;
+ border-color: #f9fafb;
+}
+.btn-check:focus + .btn-light, .btn-light:focus {
+ color: #000;
+ background-color: #f9fafb;
+ border-color: #f9fafb;
+ box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5);
+}
+.btn-check:checked + .btn-light, .btn-check:active + .btn-light, .btn-light:active, .btn-light.active, .show > .btn-light.dropdown-toggle {
+ color: #000;
+ background-color: #f9fafb;
+ border-color: #f9fafb;
+}
+.btn-check:checked + .btn-light:focus, .btn-check:active + .btn-light:focus, .btn-light:active:focus, .btn-light.active:focus, .show > .btn-light.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5);
+}
+.btn-light:disabled, .btn-light.disabled {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+
+.btn-dark {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+.btn-dark:hover {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+}
+.btn-check:focus + .btn-dark, .btn-dark:focus {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+ box-shadow: 0 0 0 0.25rem rgba(38, 38, 38, 0.5);
+}
+.btn-check:checked + .btn-dark, .btn-check:active + .btn-dark, .btn-dark:active, .btn-dark.active, .show > .btn-dark.dropdown-toggle {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+}
+.btn-check:checked + .btn-dark:focus, .btn-check:active + .btn-dark:focus, .btn-dark:active:focus, .btn-dark.active:focus, .show > .btn-dark.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(38, 38, 38, 0.5);
+}
+.btn-dark:disabled, .btn-dark.disabled {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+
+.btn-outline-primary {
+ color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-outline-primary:hover {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.5);
+}
+.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.5);
+}
+.btn-outline-primary:disabled, .btn-outline-primary.disabled {
+ color: #5a60f9;
+ background-color: transparent;
+}
+
+.btn-outline-secondary {
+ color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-outline-secondary:hover {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-check:focus + .btn-outline-secondary, .btn-outline-secondary:focus {
+ box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5);
+}
+.btn-check:checked + .btn-outline-secondary, .btn-check:active + .btn-outline-secondary, .btn-outline-secondary:active, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-check:checked + .btn-outline-secondary:focus, .btn-check:active + .btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5);
+}
+.btn-outline-secondary:disabled, .btn-outline-secondary.disabled {
+ color: #6c757d;
+ background-color: transparent;
+}
+
+.btn-outline-success {
+ color: #198754;
+ border-color: #198754;
+}
+.btn-outline-success:hover {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+.btn-check:focus + .btn-outline-success, .btn-outline-success:focus {
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5);
+}
+.btn-check:checked + .btn-outline-success, .btn-check:active + .btn-outline-success, .btn-outline-success:active, .btn-outline-success.active, .btn-outline-success.dropdown-toggle.show {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+.btn-check:checked + .btn-outline-success:focus, .btn-check:active + .btn-outline-success:focus, .btn-outline-success:active:focus, .btn-outline-success.active:focus, .btn-outline-success.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5);
+}
+.btn-outline-success:disabled, .btn-outline-success.disabled {
+ color: #198754;
+ background-color: transparent;
+}
+
+.btn-outline-info {
+ color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-outline-info:hover {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-check:focus + .btn-outline-info, .btn-outline-info:focus {
+ box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5);
+}
+.btn-check:checked + .btn-outline-info, .btn-check:active + .btn-outline-info, .btn-outline-info:active, .btn-outline-info.active, .btn-outline-info.dropdown-toggle.show {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-check:checked + .btn-outline-info:focus, .btn-check:active + .btn-outline-info:focus, .btn-outline-info:active:focus, .btn-outline-info.active:focus, .btn-outline-info.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5);
+}
+.btn-outline-info:disabled, .btn-outline-info.disabled {
+ color: #0dcaf0;
+ background-color: transparent;
+}
+
+.btn-outline-warning {
+ color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-outline-warning:hover {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-check:focus + .btn-outline-warning, .btn-outline-warning:focus {
+ box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
+}
+.btn-check:checked + .btn-outline-warning, .btn-check:active + .btn-outline-warning, .btn-outline-warning:active, .btn-outline-warning.active, .btn-outline-warning.dropdown-toggle.show {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-check:checked + .btn-outline-warning:focus, .btn-check:active + .btn-outline-warning:focus, .btn-outline-warning:active:focus, .btn-outline-warning.active:focus, .btn-outline-warning.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
+}
+.btn-outline-warning:disabled, .btn-outline-warning.disabled {
+ color: #ffc107;
+ background-color: transparent;
+}
+
+.btn-outline-danger {
+ color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-outline-danger:hover {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.5);
+}
+.btn-check:checked + .btn-outline-danger, .btn-check:active + .btn-outline-danger, .btn-outline-danger:active, .btn-outline-danger.active, .btn-outline-danger.dropdown-toggle.show {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-check:checked + .btn-outline-danger:focus, .btn-check:active + .btn-outline-danger:focus, .btn-outline-danger:active:focus, .btn-outline-danger.active:focus, .btn-outline-danger.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.5);
+}
+.btn-outline-danger:disabled, .btn-outline-danger.disabled {
+ color: #f8681c;
+ background-color: transparent;
+}
+
+.btn-outline-light {
+ color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-outline-light:hover {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-check:focus + .btn-outline-light, .btn-outline-light:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5);
+}
+.btn-check:checked + .btn-outline-light, .btn-check:active + .btn-outline-light, .btn-outline-light:active, .btn-outline-light.active, .btn-outline-light.dropdown-toggle.show {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-check:checked + .btn-outline-light:focus, .btn-check:active + .btn-outline-light:focus, .btn-outline-light:active:focus, .btn-outline-light.active:focus, .btn-outline-light.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5);
+}
+.btn-outline-light:disabled, .btn-outline-light.disabled {
+ color: #f8f9fa;
+ background-color: transparent;
+}
+
+.btn-outline-dark {
+ color: #000;
+ border-color: #000;
+}
+.btn-outline-dark:hover {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+.btn-check:focus + .btn-outline-dark, .btn-outline-dark:focus {
+ box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.5);
+}
+.btn-check:checked + .btn-outline-dark, .btn-check:active + .btn-outline-dark, .btn-outline-dark:active, .btn-outline-dark.active, .btn-outline-dark.dropdown-toggle.show {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+.btn-check:checked + .btn-outline-dark:focus, .btn-check:active + .btn-outline-dark:focus, .btn-outline-dark:active:focus, .btn-outline-dark.active:focus, .btn-outline-dark.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.5);
+}
+.btn-outline-dark:disabled, .btn-outline-dark.disabled {
+ color: #000;
+ background-color: transparent;
+}
+
+.btn-link {
+ font-weight: 400;
+ color: #5a60f9;
+ text-decoration: underline;
+}
+.btn-link:hover {
+ color: #484dc7;
+}
+.btn-link:disabled, .btn-link.disabled {
+ color: #6c757d;
+}
+
+.btn-lg, .btn-group-lg > .btn {
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+
+.btn-sm, .btn-group-sm > .btn {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+
+.fade {
+ transition: opacity 0.15s linear;
+}
+@media (prefers-reduced-motion: reduce) {
+ .fade {
+ transition: none;
+ }
+}
+.fade:not(.show) {
+ opacity: 0;
+}
+
+.collapse:not(.show) {
+ display: none;
+}
+
+.collapsing {
+ height: 0;
+ overflow: hidden;
+ transition: height 0.35s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .collapsing {
+ transition: none;
+ }
+}
+.collapsing.collapse-horizontal {
+ width: 0;
+ height: auto;
+ transition: width 0.35s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .collapsing.collapse-horizontal {
+ transition: none;
+ }
+}
+
+.dropup,
+.dropend,
+.dropdown,
+.dropstart {
+ position: relative;
+}
+
+.dropdown-toggle {
+ white-space: nowrap;
+}
+.dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0;
+ border-left: 0.3em solid transparent;
+}
+.dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
+.dropdown-menu {
+ position: absolute;
+ z-index: 1000;
+ display: none;
+ min-width: 10rem;
+ padding: 0.5rem 0;
+ margin: 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, 0.15);
+ border-radius: 0.25rem;
+}
+.dropdown-menu[data-bs-popper] {
+ top: 100%;
+ left: 0;
+ margin-top: 0.125rem;
+}
+
+.dropdown-menu-start {
+ --bs-position: start;
+}
+.dropdown-menu-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+}
+
+.dropdown-menu-end {
+ --bs-position: end;
+}
+.dropdown-menu-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+}
+
+@media (min-width: 576px) {
+ .dropdown-menu-sm-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-sm-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-sm-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-sm-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 768px) {
+ .dropdown-menu-md-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-md-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-md-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-md-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 992px) {
+ .dropdown-menu-lg-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-lg-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-lg-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-lg-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 1200px) {
+ .dropdown-menu-xl-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-xl-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-xl-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-xl-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 1400px) {
+ .dropdown-menu-xxl-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-xxl-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-xxl-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-xxl-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+.dropup .dropdown-menu[data-bs-popper] {
+ top: auto;
+ bottom: 100%;
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
+.dropend .dropdown-menu[data-bs-popper] {
+ top: 0;
+ right: auto;
+ left: 100%;
+ margin-top: 0;
+ margin-left: 0.125rem;
+}
+.dropend .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid transparent;
+ border-right: 0;
+ border-bottom: 0.3em solid transparent;
+ border-left: 0.3em solid;
+}
+.dropend .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropend .dropdown-toggle::after {
+ vertical-align: 0;
+}
+
+.dropstart .dropdown-menu[data-bs-popper] {
+ top: 0;
+ right: 100%;
+ left: auto;
+ margin-top: 0;
+ margin-right: 0.125rem;
+}
+.dropstart .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+}
+.dropstart .dropdown-toggle::after {
+ display: none;
+}
+.dropstart .dropdown-toggle::before {
+ display: inline-block;
+ margin-right: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid transparent;
+ border-right: 0.3em solid;
+ border-bottom: 0.3em solid transparent;
+}
+.dropstart .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropstart .dropdown-toggle::before {
+ vertical-align: 0;
+}
+
+.dropdown-divider {
+ height: 0;
+ margin: 0.5rem 0;
+ overflow: hidden;
+ border-top: 1px solid rgba(0, 0, 0, 0.15);
+}
+
+.dropdown-item {
+ display: block;
+ width: 100%;
+ padding: 0.25rem 1rem;
+ clear: both;
+ font-weight: 400;
+ color: #212529;
+ text-align: inherit;
+ text-decoration: none;
+ white-space: nowrap;
+ background-color: transparent;
+ border: 0;
+}
+.dropdown-item:hover, .dropdown-item:focus {
+ color: #1e2125;
+ background-color: #e9ecef;
+}
+.dropdown-item.active, .dropdown-item:active {
+ color: #fff;
+ text-decoration: none;
+ background-color: #5a60f9;
+}
+.dropdown-item.disabled, .dropdown-item:disabled {
+ color: #adb5bd;
+ pointer-events: none;
+ background-color: transparent;
+}
+
+.dropdown-menu.show {
+ display: block;
+}
+
+.dropdown-header {
+ display: block;
+ padding: 0.5rem 1rem;
+ margin-bottom: 0;
+ font-size: 0.875rem;
+ color: #6c757d;
+ white-space: nowrap;
+}
+
+.dropdown-item-text {
+ display: block;
+ padding: 0.25rem 1rem;
+ color: #212529;
+}
+
+.dropdown-menu-dark {
+ color: #dee2e6;
+ background-color: #343a40;
+ border-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu-dark .dropdown-item {
+ color: #dee2e6;
+}
+.dropdown-menu-dark .dropdown-item:hover, .dropdown-menu-dark .dropdown-item:focus {
+ color: #fff;
+ background-color: rgba(255, 255, 255, 0.15);
+}
+.dropdown-menu-dark .dropdown-item.active, .dropdown-menu-dark .dropdown-item:active {
+ color: #fff;
+ background-color: #5a60f9;
+}
+.dropdown-menu-dark .dropdown-item.disabled, .dropdown-menu-dark .dropdown-item:disabled {
+ color: #adb5bd;
+}
+.dropdown-menu-dark .dropdown-divider {
+ border-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu-dark .dropdown-item-text {
+ color: #dee2e6;
+}
+.dropdown-menu-dark .dropdown-header {
+ color: #adb5bd;
+}
+
+.btn-group,
+.btn-group-vertical {
+ position: relative;
+ display: inline-flex;
+ vertical-align: middle;
+}
+.btn-group > .btn,
+.btn-group-vertical > .btn {
+ position: relative;
+ flex: 1 1 auto;
+}
+.btn-group > .btn-check:checked + .btn,
+.btn-group > .btn-check:focus + .btn,
+.btn-group > .btn:hover,
+.btn-group > .btn:focus,
+.btn-group > .btn:active,
+.btn-group > .btn.active,
+.btn-group-vertical > .btn-check:checked + .btn,
+.btn-group-vertical > .btn-check:focus + .btn,
+.btn-group-vertical > .btn:hover,
+.btn-group-vertical > .btn:focus,
+.btn-group-vertical > .btn:active,
+.btn-group-vertical > .btn.active {
+ z-index: 1;
+}
+
+.btn-toolbar {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+}
+.btn-toolbar .input-group {
+ width: auto;
+}
+
+.btn-group > .btn:not(:first-child),
+.btn-group > .btn-group:not(:first-child) {
+ margin-left: -1px;
+}
+.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
+.btn-group > .btn-group:not(:last-child) > .btn {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.btn-group > .btn:nth-child(n+3),
+.btn-group > :not(.btn-check) + .btn,
+.btn-group > .btn-group:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.dropdown-toggle-split {
+ padding-right: 0.5625rem;
+ padding-left: 0.5625rem;
+}
+.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after {
+ margin-left: 0;
+}
+.dropstart .dropdown-toggle-split::before {
+ margin-right: 0;
+}
+
+.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {
+ padding-right: 0.375rem;
+ padding-left: 0.375rem;
+}
+
+.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {
+ padding-right: 0.75rem;
+ padding-left: 0.75rem;
+}
+
+.btn-group-vertical {
+ flex-direction: column;
+ align-items: flex-start;
+ justify-content: center;
+}
+.btn-group-vertical > .btn,
+.btn-group-vertical > .btn-group {
+ width: 100%;
+}
+.btn-group-vertical > .btn:not(:first-child),
+.btn-group-vertical > .btn-group:not(:first-child) {
+ margin-top: -1px;
+}
+.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),
+.btn-group-vertical > .btn-group:not(:last-child) > .btn {
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group-vertical > .btn ~ .btn,
+.btn-group-vertical > .btn-group:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+
+.nav {
+ display: flex;
+ flex-wrap: wrap;
+ padding-left: 0;
+ margin-bottom: 0;
+ list-style: none;
+}
+
+.nav-link {
+ display: block;
+ padding: 0.5rem 1rem;
+ color: #5a60f9;
+ text-decoration: none;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .nav-link {
+ transition: none;
+ }
+}
+.nav-link:hover, .nav-link:focus {
+ color: #484dc7;
+}
+.nav-link.disabled {
+ color: #6c757d;
+ pointer-events: none;
+ cursor: default;
+}
+
+.nav-tabs {
+ border-bottom: 1px solid #dee2e6;
+}
+.nav-tabs .nav-link {
+ margin-bottom: -1px;
+ background: none;
+ border: 1px solid transparent;
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
+ border-color: #e9ecef #e9ecef #dee2e6;
+ isolation: isolate;
+}
+.nav-tabs .nav-link.disabled {
+ color: #6c757d;
+ background-color: transparent;
+ border-color: transparent;
+}
+.nav-tabs .nav-link.active,
+.nav-tabs .nav-item.show .nav-link {
+ 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 {
+ background: none;
+ border: 0;
+ border-radius: 0.25rem;
+}
+.nav-pills .nav-link.active,
+.nav-pills .show > .nav-link {
+ color: #fff;
+ background-color: #5a60f9;
+}
+
+.nav-fill > .nav-link,
+.nav-fill .nav-item {
+ flex: 1 1 auto;
+ text-align: center;
+}
+
+.nav-justified > .nav-link,
+.nav-justified .nav-item {
+ flex-basis: 0;
+ flex-grow: 1;
+ text-align: center;
+}
+
+.nav-fill .nav-item .nav-link,
+.nav-justified .nav-item .nav-link {
+ width: 100%;
+}
+
+.tab-content > .tab-pane {
+ display: none;
+}
+.tab-content > .active {
+ display: block;
+}
+
+.navbar {
+ position: relative;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-between;
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+}
+.navbar > .container,
+.navbar > .container-fluid,
+.navbar > .container-sm,
+.navbar > .container-md,
+.navbar > .container-lg,
+.navbar > .container-xl,
+.navbar > .container-xxl {
+ display: flex;
+ flex-wrap: inherit;
+ align-items: center;
+ justify-content: space-between;
+}
+.navbar-brand {
+ padding-top: 0.3125rem;
+ padding-bottom: 0.3125rem;
+ margin-right: 1rem;
+ font-size: 1.25rem;
+ text-decoration: none;
+ white-space: nowrap;
+}
+.navbar-nav {
+ display: flex;
+ 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;
+}
+
+.navbar-text {
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+}
+
+.navbar-collapse {
+ flex-basis: 100%;
+ flex-grow: 1;
+ align-items: center;
+}
+
+.navbar-toggler {
+ padding: 0.25rem 0.75rem;
+ font-size: 1.25rem;
+ line-height: 1;
+ background-color: transparent;
+ border: 1px solid transparent;
+ border-radius: 0.25rem;
+ transition: box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .navbar-toggler {
+ transition: none;
+ }
+}
+.navbar-toggler:hover {
+ text-decoration: none;
+}
+.navbar-toggler:focus {
+ text-decoration: none;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem;
+}
+
+.navbar-toggler-icon {
+ display: inline-block;
+ width: 1.5em;
+ height: 1.5em;
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: 100%;
+}
+
+.navbar-nav-scroll {
+ max-height: var(--bs-scroll-height, 75vh);
+ overflow-y: auto;
+}
+
+@media (min-width: 576px) {
+ .navbar-expand-sm {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-sm .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-sm .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-sm .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-sm .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-sm .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-sm .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-sm .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-sm .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-sm .offcanvas-top,
+.navbar-expand-sm .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-sm .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 768px) {
+ .navbar-expand-md {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-md .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-md .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-md .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-md .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-md .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-md .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-md .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-md .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-md .offcanvas-top,
+.navbar-expand-md .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-md .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 992px) {
+ .navbar-expand-lg {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-lg .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-lg .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-lg .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-lg .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-lg .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-lg .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-lg .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-lg .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-lg .offcanvas-top,
+.navbar-expand-lg .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-lg .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 1200px) {
+ .navbar-expand-xl {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-xl .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-xl .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-xl .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-xl .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-xl .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-xl .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-xl .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-xl .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-xl .offcanvas-top,
+.navbar-expand-xl .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-xl .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 1400px) {
+ .navbar-expand-xxl {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-xxl .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-xxl .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-xxl .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-xxl .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-xxl .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-xxl .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-xxl .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-xxl .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-xxl .offcanvas-top,
+.navbar-expand-xxl .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-xxl .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+.navbar-expand {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+}
+.navbar-expand .navbar-nav {
+ flex-direction: row;
+}
+.navbar-expand .navbar-nav .dropdown-menu {
+ position: absolute;
+}
+.navbar-expand .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+}
+.navbar-expand .navbar-nav-scroll {
+ overflow: visible;
+}
+.navbar-expand .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+}
+.navbar-expand .navbar-toggler {
+ display: none;
+}
+.navbar-expand .offcanvas-header {
+ display: none;
+}
+.navbar-expand .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+}
+.navbar-expand .offcanvas-top,
+.navbar-expand .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+}
+.navbar-expand .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+}
+
+.navbar-light .navbar-brand {
+ color: rgba(0, 0, 0, 0.9);
+}
+.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
+ color: rgba(0, 0, 0, 0.9);
+}
+.navbar-light .navbar-nav .nav-link {
+ color: rgba(0, 0, 0, 0.55);
+}
+.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
+ color: rgba(0, 0, 0, 0.7);
+}
+.navbar-light .navbar-nav .nav-link.disabled {
+ color: rgba(0, 0, 0, 0.3);
+}
+.navbar-light .navbar-nav .show > .nav-link,
+.navbar-light .navbar-nav .nav-link.active {
+ color: rgba(0, 0, 0, 0.9);
+}
+.navbar-light .navbar-toggler {
+ color: rgba(0, 0, 0, 0.55);
+ border-color: rgba(0, 0, 0, 0.1);
+}
+.navbar-light .navbar-toggler-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%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, 0.55);
+}
+.navbar-light .navbar-text a,
+.navbar-light .navbar-text a:hover,
+.navbar-light .navbar-text a:focus {
+ color: rgba(0, 0, 0, 0.9);
+}
+
+.navbar-dark .navbar-brand {
+ color: #fff;
+}
+.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {
+ color: #fff;
+}
+.navbar-dark .navbar-nav .nav-link {
+ color: rgba(255, 255, 255, 0.55);
+}
+.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
+ color: rgba(255, 255, 255, 0.75);
+}
+.navbar-dark .navbar-nav .nav-link.disabled {
+ color: rgba(255, 255, 255, 0.25);
+}
+.navbar-dark .navbar-nav .show > .nav-link,
+.navbar-dark .navbar-nav .nav-link.active {
+ color: #fff;
+}
+.navbar-dark .navbar-toggler {
+ color: rgba(255, 255, 255, 0.55);
+ border-color: rgba(255, 255, 255, 0.1);
+}
+.navbar-dark .navbar-toggler-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%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, 0.55);
+}
+.navbar-dark .navbar-text a,
+.navbar-dark .navbar-text a:hover,
+.navbar-dark .navbar-text a:focus {
+ color: #fff;
+}
+
+.card {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ min-width: 0;
+ word-wrap: break-word;
+ background-color: #fff;
+ background-clip: border-box;
+ border: 1px solid rgba(0, 0, 0, 0.125);
+ border-radius: 0.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(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+.card > .list-group:last-child {
+ border-bottom-width: 0;
+ border-bottom-right-radius: calc(0.25rem - 1px);
+ border-bottom-left-radius: calc(0.25rem - 1px);
+}
+.card > .card-header + .list-group,
+.card > .list-group + .card-footer {
+ border-top: 0;
+}
+
+.card-body {
+ flex: 1 1 auto;
+ padding: 1rem 1rem;
+}
+
+.card-title {
+ margin-bottom: 0.5rem;
+}
+
+.card-subtitle {
+ margin-top: -0.25rem;
+ margin-bottom: 0;
+}
+
+.card-text:last-child {
+ margin-bottom: 0;
+}
+
+.card-link + .card-link {
+ margin-left: 1rem;
+}
+
+.card-header {
+ padding: 0.5rem 1rem;
+ margin-bottom: 0;
+ background-color: rgba(0, 0, 0, 0.03);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.125);
+}
+.card-header:first-child {
+ border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
+}
+
+.card-footer {
+ padding: 0.5rem 1rem;
+ background-color: rgba(0, 0, 0, 0.03);
+ border-top: 1px solid rgba(0, 0, 0, 0.125);
+}
+.card-footer:last-child {
+ border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
+}
+
+.card-header-tabs {
+ margin-right: -0.5rem;
+ margin-bottom: -0.5rem;
+ margin-left: -0.5rem;
+ border-bottom: 0;
+}
+
+.card-header-pills {
+ margin-right: -0.5rem;
+ margin-left: -0.5rem;
+}
+
+.card-img-overlay {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ padding: 1rem;
+ border-radius: calc(0.25rem - 1px);
+}
+
+.card-img,
+.card-img-top,
+.card-img-bottom {
+ width: 100%;
+}
+
+.card-img,
+.card-img-top {
+ border-top-left-radius: calc(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+
+.card-img,
+.card-img-bottom {
+ border-bottom-right-radius: calc(0.25rem - 1px);
+ border-bottom-left-radius: calc(0.25rem - 1px);
+}
+
+.card-group > .card {
+ margin-bottom: 0.75rem;
+}
+@media (min-width: 576px) {
+ .card-group {
+ display: flex;
+ flex-flow: row wrap;
+ }
+ .card-group > .card {
+ 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-img-top,
+.card-group > .card:not(:last-child) .card-header {
+ border-top-right-radius: 0;
+ }
+ .card-group > .card:not(:last-child) .card-img-bottom,
+.card-group > .card:not(:last-child) .card-footer {
+ 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-img-top,
+.card-group > .card:not(:first-child) .card-header {
+ border-top-left-radius: 0;
+ }
+ .card-group > .card:not(:first-child) .card-img-bottom,
+.card-group > .card:not(:first-child) .card-footer {
+ border-bottom-left-radius: 0;
+ }
+}
+
+.accordion-button {
+ position: relative;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ padding: 1rem 1.25rem;
+ font-size: 1rem;
+ color: #212529;
+ text-align: left;
+ background-color: #fff;
+ border: 0;
+ border-radius: 0;
+ overflow-anchor: none;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .accordion-button {
+ transition: none;
+ }
+}
+.accordion-button:not(.collapsed) {
+ color: #5156e0;
+ background-color: #efeffe;
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
+}
+.accordion-button:not(.collapsed)::after {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235156e0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
+ transform: rotate(-180deg);
+}
+.accordion-button::after {
+ flex-shrink: 0;
+ width: 1.25rem;
+ height: 1.25rem;
+ margin-left: auto;
+ content: "";
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
+ background-repeat: no-repeat;
+ background-size: 1.25rem;
+ transition: transform 0.2s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .accordion-button::after {
+ transition: none;
+ }
+}
+.accordion-button:hover {
+ z-index: 2;
+}
+.accordion-button:focus {
+ z-index: 3;
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+
+.accordion-header {
+ margin-bottom: 0;
+}
+
+.accordion-item {
+ background-color: #fff;
+ border: 1px solid rgba(0, 0, 0, 0.125);
+}
+.accordion-item:first-of-type {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+.accordion-item:first-of-type .accordion-button {
+ border-top-left-radius: calc(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+.accordion-item:not(:first-of-type) {
+ border-top: 0;
+}
+.accordion-item:last-of-type {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+.accordion-item:last-of-type .accordion-button.collapsed {
+ border-bottom-right-radius: calc(0.25rem - 1px);
+ border-bottom-left-radius: calc(0.25rem - 1px);
+}
+.accordion-item:last-of-type .accordion-collapse {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
+.accordion-body {
+ padding: 1rem 1.25rem;
+}
+
+.accordion-flush .accordion-collapse {
+ border-width: 0;
+}
+.accordion-flush .accordion-item {
+ border-right: 0;
+ border-left: 0;
+ border-radius: 0;
+}
+.accordion-flush .accordion-item:first-child {
+ border-top: 0;
+}
+.accordion-flush .accordion-item:last-child {
+ border-bottom: 0;
+}
+.accordion-flush .accordion-item .accordion-button {
+ border-radius: 0;
+}
+
+.breadcrumb {
+ display: flex;
+ flex-wrap: wrap;
+ padding: 0 0;
+ margin-bottom: 1rem;
+ list-style: none;
+}
+
+.breadcrumb-item + .breadcrumb-item {
+ padding-left: 0.5rem;
+}
+.breadcrumb-item + .breadcrumb-item::before {
+ float: left;
+ padding-right: 0.5rem;
+ color: #6c757d;
+ content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */;
+}
+.breadcrumb-item.active {
+ color: #6c757d;
+}
+
+.pagination {
+ display: flex;
+ padding-left: 0;
+ list-style: none;
+}
+
+.page-link {
+ position: relative;
+ display: block;
+ color: #5a60f9;
+ text-decoration: none;
+ background-color: #fff;
+ border: 1px solid #dee2e6;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .page-link {
+ transition: none;
+ }
+}
+.page-link:hover {
+ z-index: 2;
+ color: #484dc7;
+ background-color: #e9ecef;
+ border-color: #dee2e6;
+}
+.page-link:focus {
+ z-index: 3;
+ color: #484dc7;
+ background-color: #e9ecef;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+
+.page-item:not(:first-child) .page-link {
+ margin-left: -1px;
+}
+.page-item.active .page-link {
+ z-index: 3;
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.page-item.disabled .page-link {
+ color: #6c757d;
+ pointer-events: none;
+ background-color: #fff;
+ border-color: #dee2e6;
+}
+
+.page-link {
+ padding: 0.375rem 0.75rem;
+}
+
+.page-item:first-child .page-link {
+ border-top-left-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+.page-item:last-child .page-link {
+ border-top-right-radius: 0.25rem;
+ border-bottom-right-radius: 0.25rem;
+}
+
+.pagination-lg .page-link {
+ padding: 0.75rem 1.5rem;
+ font-size: 1.25rem;
+}
+.pagination-lg .page-item:first-child .page-link {
+ border-top-left-radius: 0.3rem;
+ border-bottom-left-radius: 0.3rem;
+}
+.pagination-lg .page-item:last-child .page-link {
+ border-top-right-radius: 0.3rem;
+ border-bottom-right-radius: 0.3rem;
+}
+
+.pagination-sm .page-link {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+}
+.pagination-sm .page-item:first-child .page-link {
+ border-top-left-radius: 0.2rem;
+ border-bottom-left-radius: 0.2rem;
+}
+.pagination-sm .page-item:last-child .page-link {
+ border-top-right-radius: 0.2rem;
+ border-bottom-right-radius: 0.2rem;
+}
+
+.badge {
+ display: inline-block;
+ padding: 0.35em 0.65em;
+ font-size: 0.75em;
+ font-weight: 700;
+ line-height: 1;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: 0.25rem;
+}
+.badge:empty {
+ display: none;
+}
+
+.btn .badge {
+ position: relative;
+ top: -1px;
+}
+
+.alert {
+ position: relative;
+ padding: 1rem 1rem;
+ margin-bottom: 1rem;
+ border: 1px solid transparent;
+ border-radius: 0.25rem;
+}
+
+.alert-heading {
+ color: inherit;
+}
+
+.alert-link {
+ font-weight: 700;
+}
+
+.alert-dismissible {
+ padding-right: 3rem;
+}
+.alert-dismissible .btn-close {
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 2;
+ padding: 1.25rem 1rem;
+}
+
+.alert-primary {
+ color: #363a95;
+ background-color: #dedffe;
+ border-color: #cecffd;
+}
+.alert-primary .alert-link {
+ color: #2b2e77;
+}
+
+.alert-secondary {
+ color: #41464b;
+ background-color: #e2e3e5;
+ border-color: #d3d6d8;
+}
+.alert-secondary .alert-link {
+ color: #34383c;
+}
+
+.alert-success {
+ color: #0f5132;
+ background-color: #d1e7dd;
+ border-color: #badbcc;
+}
+.alert-success .alert-link {
+ color: #0c4128;
+}
+
+.alert-info {
+ color: #055160;
+ background-color: #cff4fc;
+ border-color: #b6effb;
+}
+.alert-info .alert-link {
+ color: #04414d;
+}
+
+.alert-warning {
+ color: #664d03;
+ background-color: #fff3cd;
+ border-color: #ffecb5;
+}
+.alert-warning .alert-link {
+ color: #523e02;
+}
+
+.alert-danger {
+ color: #953e11;
+ background-color: #fee1d2;
+ border-color: #fdd2bb;
+}
+.alert-danger .alert-link {
+ color: #77320e;
+}
+
+.alert-light {
+ color: #636464;
+ background-color: #fefefe;
+ border-color: #fdfdfe;
+}
+.alert-light .alert-link {
+ color: #4f5050;
+}
+
+.alert-dark {
+ color: black;
+ background-color: #cccccc;
+ border-color: #b3b3b3;
+}
+.alert-dark .alert-link {
+ color: black;
+}
+
+@keyframes progress-bar-stripes {
+ 0% {
+ background-position-x: 1rem;
+ }
+}
+.progress {
+ display: flex;
+ height: 1rem;
+ overflow: hidden;
+ font-size: 0.75rem;
+ background-color: #e9ecef;
+ border-radius: 0.25rem;
+}
+
+.progress-bar {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ overflow: hidden;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ background-color: #5a60f9;
+ transition: width 0.6s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .progress-bar {
+ transition: none;
+ }
+}
+
+.progress-bar-striped {
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-size: 1rem 1rem;
+}
+
+.progress-bar-animated {
+ animation: 1s linear infinite progress-bar-stripes;
+}
+@media (prefers-reduced-motion: reduce) {
+ .progress-bar-animated {
+ animation: none;
+ }
+}
+
+.list-group {
+ display: flex;
+ flex-direction: column;
+ padding-left: 0;
+ margin-bottom: 0;
+ border-radius: 0.25rem;
+}
+
+.list-group-numbered {
+ list-style-type: none;
+ counter-reset: section;
+}
+.list-group-numbered > li::before {
+ content: counters(section, ".") ". ";
+ counter-increment: section;
+}
+
+.list-group-item-action {
+ width: 100%;
+ color: #495057;
+ text-align: inherit;
+}
+.list-group-item-action:hover, .list-group-item-action:focus {
+ 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: 0.5rem 1rem;
+ color: #212529;
+ text-decoration: none;
+ background-color: #fff;
+ border: 1px solid rgba(0, 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: #5a60f9;
+ border-color: #5a60f9;
+}
+.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 {
+ flex-direction: row;
+}
+.list-group-horizontal > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+}
+.list-group-horizontal > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-sm > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-sm > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-md > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-md > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-lg > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-lg > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-xl > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-xl > .list-group-item:last-child {
+ border-top-right-radius: 0.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;
+ }
+}
+@media (min-width: 1400px) {
+ .list-group-horizontal-xxl {
+ flex-direction: row;
+ }
+ .list-group-horizontal-xxl > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-xxl > .list-group-item:last-child {
+ border-top-right-radius: 0.25rem;
+ border-bottom-left-radius: 0;
+ }
+ .list-group-horizontal-xxl > .list-group-item.active {
+ margin-top: 0;
+ }
+ .list-group-horizontal-xxl > .list-group-item + .list-group-item {
+ border-top-width: 1px;
+ border-left-width: 0;
+ }
+ .list-group-horizontal-xxl > .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: #363a95;
+ background-color: #dedffe;
+}
+.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
+ color: #363a95;
+ background-color: #c8c9e5;
+}
+.list-group-item-primary.list-group-item-action.active {
+ color: #fff;
+ background-color: #363a95;
+ border-color: #363a95;
+}
+
+.list-group-item-secondary {
+ color: #41464b;
+ background-color: #e2e3e5;
+}
+.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus {
+ color: #41464b;
+ background-color: #cbccce;
+}
+.list-group-item-secondary.list-group-item-action.active {
+ color: #fff;
+ background-color: #41464b;
+ border-color: #41464b;
+}
+
+.list-group-item-success {
+ color: #0f5132;
+ background-color: #d1e7dd;
+}
+.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus {
+ color: #0f5132;
+ background-color: #bcd0c7;
+}
+.list-group-item-success.list-group-item-action.active {
+ color: #fff;
+ background-color: #0f5132;
+ border-color: #0f5132;
+}
+
+.list-group-item-info {
+ color: #055160;
+ background-color: #cff4fc;
+}
+.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus {
+ color: #055160;
+ background-color: #badce3;
+}
+.list-group-item-info.list-group-item-action.active {
+ color: #fff;
+ background-color: #055160;
+ border-color: #055160;
+}
+
+.list-group-item-warning {
+ color: #664d03;
+ background-color: #fff3cd;
+}
+.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus {
+ color: #664d03;
+ background-color: #e6dbb9;
+}
+.list-group-item-warning.list-group-item-action.active {
+ color: #fff;
+ background-color: #664d03;
+ border-color: #664d03;
+}
+
+.list-group-item-danger {
+ color: #953e11;
+ background-color: #fee1d2;
+}
+.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus {
+ color: #953e11;
+ background-color: #e5cbbd;
+}
+.list-group-item-danger.list-group-item-action.active {
+ color: #fff;
+ background-color: #953e11;
+ border-color: #953e11;
+}
+
+.list-group-item-light {
+ color: #636464;
+ background-color: #fefefe;
+}
+.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus {
+ color: #636464;
+ background-color: #e5e5e5;
+}
+.list-group-item-light.list-group-item-action.active {
+ color: #fff;
+ background-color: #636464;
+ border-color: #636464;
+}
+
+.list-group-item-dark {
+ color: black;
+ background-color: #cccccc;
+}
+.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus {
+ color: black;
+ background-color: #b8b8b8;
+}
+.list-group-item-dark.list-group-item-action.active {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+}
+
+.btn-close {
+ box-sizing: content-box;
+ width: 1em;
+ height: 1em;
+ padding: 0.25em 0.25em;
+ color: #000;
+ background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
+ border: 0;
+ border-radius: 0.25rem;
+ opacity: 0.5;
+}
+.btn-close:hover {
+ color: #000;
+ text-decoration: none;
+ opacity: 0.75;
+}
+.btn-close:focus {
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+ opacity: 1;
+}
+.btn-close:disabled, .btn-close.disabled {
+ pointer-events: none;
+ user-select: none;
+ opacity: 0.25;
+}
+
+.btn-close-white {
+ filter: invert(1) grayscale(100%) brightness(200%);
+}
+
+.toast {
+ width: 350px;
+ max-width: 100%;
+ font-size: 0.875rem;
+ pointer-events: auto;
+ background-color: rgba(255, 255, 255, 0.85);
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
+ border-radius: 0.25rem;
+}
+.toast.showing {
+ opacity: 0;
+}
+.toast:not(.show) {
+ display: none;
+}
+
+.toast-container {
+ width: max-content;
+ max-width: 100%;
+ pointer-events: none;
+}
+.toast-container > :not(:last-child) {
+ margin-bottom: 0.75rem;
+}
+
+.toast-header {
+ display: flex;
+ align-items: center;
+ padding: 0.5rem 0.75rem;
+ color: #6c757d;
+ background-color: rgba(255, 255, 255, 0.85);
+ background-clip: padding-box;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+ border-top-left-radius: calc(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+.toast-header .btn-close {
+ margin-right: -0.375rem;
+ margin-left: 0.75rem;
+}
+
+.toast-body {
+ padding: 0.75rem;
+ word-wrap: break-word;
+}
+
+.modal {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 1055;
+ display: none;
+ width: 100%;
+ height: 100%;
+ overflow-x: hidden;
+ overflow-y: auto;
+ outline: 0;
+}
+
+.modal-dialog {
+ position: relative;
+ width: auto;
+ margin: 0.5rem;
+ pointer-events: none;
+}
+.modal.fade .modal-dialog {
+ transition: transform 0.3s ease-out;
+ transform: translate(0, -50px);
+}
+@media (prefers-reduced-motion: reduce) {
+ .modal.fade .modal-dialog {
+ transition: none;
+ }
+}
+.modal.show .modal-dialog {
+ transform: none;
+}
+.modal.modal-static .modal-dialog {
+ transform: scale(1.02);
+}
+
+.modal-dialog-scrollable {
+ height: calc(100% - 1rem);
+}
+.modal-dialog-scrollable .modal-content {
+ max-height: 100%;
+ overflow: hidden;
+}
+.modal-dialog-scrollable .modal-body {
+ overflow-y: auto;
+}
+
+.modal-dialog-centered {
+ display: flex;
+ align-items: center;
+ min-height: calc(100% - 1rem);
+}
+
+.modal-content {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ pointer-events: auto;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 0.3rem;
+ outline: 0;
+}
+
+.modal-backdrop {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 1050;
+ width: 100vw;
+ height: 100vh;
+ background-color: #000;
+}
+.modal-backdrop.fade {
+ opacity: 0;
+}
+.modal-backdrop.show {
+ opacity: 0.5;
+}
+
+.modal-header {
+ display: flex;
+ flex-shrink: 0;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1rem 1rem;
+ border-bottom: 1px solid #dee2e6;
+ border-top-left-radius: calc(0.3rem - 1px);
+ border-top-right-radius: calc(0.3rem - 1px);
+}
+.modal-header .btn-close {
+ padding: 0.5rem 0.5rem;
+ margin: -0.5rem -0.5rem -0.5rem auto;
+}
+
+.modal-title {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.modal-body {
+ position: relative;
+ flex: 1 1 auto;
+ padding: 1rem;
+}
+
+.modal-footer {
+ display: flex;
+ flex-wrap: wrap;
+ flex-shrink: 0;
+ align-items: center;
+ justify-content: flex-end;
+ padding: 0.75rem;
+ border-top: 1px solid #dee2e6;
+ border-bottom-right-radius: calc(0.3rem - 1px);
+ border-bottom-left-radius: calc(0.3rem - 1px);
+}
+.modal-footer > * {
+ margin: 0.25rem;
+}
+
+@media (min-width: 576px) {
+ .modal-dialog {
+ max-width: 500px;
+ margin: 1.75rem auto;
+ }
+
+ .modal-dialog-scrollable {
+ height: calc(100% - 3.5rem);
+ }
+
+ .modal-dialog-centered {
+ min-height: calc(100% - 3.5rem);
+ }
+
+ .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;
+ }
+}
+.modal-fullscreen {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+}
+.modal-fullscreen .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+}
+.modal-fullscreen .modal-header {
+ border-radius: 0;
+}
+.modal-fullscreen .modal-body {
+ overflow-y: auto;
+}
+.modal-fullscreen .modal-footer {
+ border-radius: 0;
+}
+
+@media (max-width: 575.98px) {
+ .modal-fullscreen-sm-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-sm-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-sm-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-sm-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-sm-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 767.98px) {
+ .modal-fullscreen-md-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-md-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-md-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-md-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-md-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 991.98px) {
+ .modal-fullscreen-lg-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-lg-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-lg-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-lg-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-lg-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 1199.98px) {
+ .modal-fullscreen-xl-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-xl-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-xl-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-xl-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-xl-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 1399.98px) {
+ .modal-fullscreen-xxl-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-xxl-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-xxl-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-xxl-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-xxl-down .modal-footer {
+ border-radius: 0;
+ }
+}
+.tooltip {
+ position: absolute;
+ z-index: 1080;
+ display: block;
+ margin: 0;
+ font-family: var(--bs-font-sans-serif);
+ 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: 0.875rem;
+ word-wrap: break-word;
+ opacity: 0;
+}
+.tooltip.show {
+ opacity: 0.9;
+}
+.tooltip .tooltip-arrow {
+ position: absolute;
+ display: block;
+ width: 0.8rem;
+ height: 0.4rem;
+}
+.tooltip .tooltip-arrow::before {
+ position: absolute;
+ content: "";
+ border-color: transparent;
+ border-style: solid;
+}
+
+.bs-tooltip-top, .bs-tooltip-auto[data-popper-placement^=top] {
+ padding: 0.4rem 0;
+}
+.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
+ bottom: 0;
+}
+.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
+ top: -1px;
+ border-width: 0.4rem 0.4rem 0;
+ border-top-color: #000;
+}
+
+.bs-tooltip-end, .bs-tooltip-auto[data-popper-placement^=right] {
+ padding: 0 0.4rem;
+}
+.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {
+ left: 0;
+ width: 0.4rem;
+ height: 0.8rem;
+}
+.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
+ right: -1px;
+ border-width: 0.4rem 0.4rem 0.4rem 0;
+ border-right-color: #000;
+}
+
+.bs-tooltip-bottom, .bs-tooltip-auto[data-popper-placement^=bottom] {
+ padding: 0.4rem 0;
+}
+.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {
+ top: 0;
+}
+.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
+ bottom: -1px;
+ border-width: 0 0.4rem 0.4rem;
+ border-bottom-color: #000;
+}
+
+.bs-tooltip-start, .bs-tooltip-auto[data-popper-placement^=left] {
+ padding: 0 0.4rem;
+}
+.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {
+ right: 0;
+ width: 0.4rem;
+ height: 0.8rem;
+}
+.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
+ left: -1px;
+ border-width: 0.4rem 0 0.4rem 0.4rem;
+ border-left-color: #000;
+}
+
+.tooltip-inner {
+ max-width: 200px;
+ padding: 0.25rem 0.5rem;
+ color: #fff;
+ text-align: center;
+ background-color: #000;
+ border-radius: 0.25rem;
+}
+
+.popover {
+ position: absolute;
+ top: 0;
+ left: 0 /* rtl:ignore */;
+ z-index: 1070;
+ display: block;
+ max-width: 276px;
+ font-family: var(--bs-font-sans-serif);
+ 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: 0.875rem;
+ word-wrap: break-word;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 0.3rem;
+}
+.popover .popover-arrow {
+ position: absolute;
+ display: block;
+ width: 1rem;
+ height: 0.5rem;
+}
+.popover .popover-arrow::before, .popover .popover-arrow::after {
+ position: absolute;
+ display: block;
+ content: "";
+ border-color: transparent;
+ border-style: solid;
+}
+
+.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {
+ bottom: calc(-0.5rem - 1px);
+}
+.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {
+ bottom: 0;
+ border-width: 0.5rem 0.5rem 0;
+ border-top-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
+ bottom: 1px;
+ border-width: 0.5rem 0.5rem 0;
+ border-top-color: #fff;
+}
+
+.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {
+ left: calc(-0.5rem - 1px);
+ width: 0.5rem;
+ height: 1rem;
+}
+.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {
+ left: 0;
+ border-width: 0.5rem 0.5rem 0.5rem 0;
+ border-right-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
+ left: 1px;
+ border-width: 0.5rem 0.5rem 0.5rem 0;
+ border-right-color: #fff;
+}
+
+.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {
+ top: calc(-0.5rem - 1px);
+}
+.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {
+ top: 0;
+ border-width: 0 0.5rem 0.5rem 0.5rem;
+ border-bottom-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
+ top: 1px;
+ border-width: 0 0.5rem 0.5rem 0.5rem;
+ border-bottom-color: #fff;
+}
+.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ display: block;
+ width: 1rem;
+ margin-left: -0.5rem;
+ content: "";
+ border-bottom: 1px solid #f0f0f0;
+}
+
+.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {
+ right: calc(-0.5rem - 1px);
+ width: 0.5rem;
+ height: 1rem;
+}
+.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {
+ right: 0;
+ border-width: 0.5rem 0 0.5rem 0.5rem;
+ border-left-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
+ right: 1px;
+ border-width: 0.5rem 0 0.5rem 0.5rem;
+ border-left-color: #fff;
+}
+
+.popover-header {
+ padding: 0.5rem 1rem;
+ margin-bottom: 0;
+ font-size: 1rem;
+ background-color: #f0f0f0;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ border-top-left-radius: calc(0.3rem - 1px);
+ border-top-right-radius: calc(0.3rem - 1px);
+}
+.popover-header:empty {
+ display: none;
+}
+
+.popover-body {
+ padding: 1rem 1rem;
+ color: #212529;
+}
+
+.carousel {
+ position: relative;
+}
+
+.carousel.pointer-event {
+ 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%;
+ backface-visibility: hidden;
+ transition: transform 0.6s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-item {
+ transition: none;
+ }
+}
+
+.carousel-item.active,
+.carousel-item-next,
+.carousel-item-prev {
+ display: block;
+}
+
+/* rtl:begin:ignore */
+.carousel-item-next:not(.carousel-item-start),
+.active.carousel-item-end {
+ transform: translateX(100%);
+}
+
+.carousel-item-prev:not(.carousel-item-end),
+.active.carousel-item-start {
+ transform: translateX(-100%);
+}
+
+/* rtl:end:ignore */
+.carousel-fade .carousel-item {
+ opacity: 0;
+ transition-property: opacity;
+ transform: none;
+}
+.carousel-fade .carousel-item.active,
+.carousel-fade .carousel-item-next.carousel-item-start,
+.carousel-fade .carousel-item-prev.carousel-item-end {
+ z-index: 1;
+ opacity: 1;
+}
+.carousel-fade .active.carousel-item-start,
+.carousel-fade .active.carousel-item-end {
+ z-index: 0;
+ opacity: 0;
+ transition: opacity 0s 0.6s;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-fade .active.carousel-item-start,
+.carousel-fade .active.carousel-item-end {
+ transition: none;
+ }
+}
+
+.carousel-control-prev,
+.carousel-control-next {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 15%;
+ padding: 0;
+ color: #fff;
+ text-align: center;
+ background: none;
+ border: 0;
+ opacity: 0.5;
+ transition: opacity 0.15s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-control-prev,
+.carousel-control-next {
+ transition: none;
+ }
+}
+.carousel-control-prev:hover, .carousel-control-prev:focus,
+.carousel-control-next:hover,
+.carousel-control-next:focus {
+ color: #fff;
+ text-decoration: none;
+ outline: 0;
+ opacity: 0.9;
+}
+
+.carousel-control-prev {
+ left: 0;
+}
+
+.carousel-control-next {
+ right: 0;
+}
+
+.carousel-control-prev-icon,
+.carousel-control-next-icon {
+ display: inline-block;
+ width: 2rem;
+ height: 2rem;
+ background-repeat: no-repeat;
+ background-position: 50%;
+ background-size: 100% 100%;
+}
+
+/* rtl:options: {
+ "autoRename": true,
+ "stringMap":[ {
+ "name" : "prev-next",
+ "search" : "prev",
+ "replace" : "next"
+ } ]
+} */
+.carousel-control-prev-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
+}
+
+.carousel-control-next-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
+}
+
+.carousel-indicators {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 2;
+ display: flex;
+ justify-content: center;
+ padding: 0;
+ margin-right: 15%;
+ margin-bottom: 1rem;
+ margin-left: 15%;
+ list-style: none;
+}
+.carousel-indicators [data-bs-target] {
+ box-sizing: content-box;
+ flex: 0 1 auto;
+ width: 30px;
+ height: 3px;
+ padding: 0;
+ margin-right: 3px;
+ margin-left: 3px;
+ text-indent: -999px;
+ cursor: pointer;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 0;
+ border-top: 10px solid transparent;
+ border-bottom: 10px solid transparent;
+ opacity: 0.5;
+ transition: opacity 0.6s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-indicators [data-bs-target] {
+ transition: none;
+ }
+}
+.carousel-indicators .active {
+ opacity: 1;
+}
+
+.carousel-caption {
+ position: absolute;
+ right: 15%;
+ bottom: 1.25rem;
+ left: 15%;
+ padding-top: 1.25rem;
+ padding-bottom: 1.25rem;
+ color: #fff;
+ text-align: center;
+}
+
+.carousel-dark .carousel-control-prev-icon,
+.carousel-dark .carousel-control-next-icon {
+ filter: invert(1) grayscale(100);
+}
+.carousel-dark .carousel-indicators [data-bs-target] {
+ background-color: #000;
+}
+.carousel-dark .carousel-caption {
+ color: #000;
+}
+
+@keyframes spinner-border {
+ to {
+ transform: rotate(360deg) /* rtl:ignore */;
+ }
+}
+.spinner-border {
+ display: inline-block;
+ width: 2rem;
+ height: 2rem;
+ vertical-align: -0.125em;
+ border: 0.25em solid currentColor;
+ border-right-color: transparent;
+ border-radius: 50%;
+ animation: 0.75s linear infinite spinner-border;
+}
+
+.spinner-border-sm {
+ width: 1rem;
+ height: 1rem;
+ border-width: 0.2em;
+}
+
+@keyframes spinner-grow {
+ 0% {
+ transform: scale(0);
+ }
+ 50% {
+ opacity: 1;
+ transform: none;
+ }
+}
+.spinner-grow {
+ display: inline-block;
+ width: 2rem;
+ height: 2rem;
+ vertical-align: -0.125em;
+ background-color: currentColor;
+ border-radius: 50%;
+ opacity: 0;
+ animation: 0.75s linear infinite spinner-grow;
+}
+
+.spinner-grow-sm {
+ width: 1rem;
+ height: 1rem;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .spinner-border,
+.spinner-grow {
+ animation-duration: 1.5s;
+ }
+}
+.offcanvas {
+ position: fixed;
+ bottom: 0;
+ z-index: 1045;
+ display: flex;
+ flex-direction: column;
+ max-width: 100%;
+ visibility: hidden;
+ background-color: #fff;
+ background-clip: padding-box;
+ outline: 0;
+ transition: transform 0.3s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .offcanvas {
+ transition: none;
+ }
+}
+
+.offcanvas-backdrop {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 1040;
+ width: 100vw;
+ height: 100vh;
+ background-color: #000;
+}
+.offcanvas-backdrop.fade {
+ opacity: 0;
+}
+.offcanvas-backdrop.show {
+ opacity: 0.5;
+}
+
+.offcanvas-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1rem 1rem;
+}
+.offcanvas-header .btn-close {
+ padding: 0.5rem 0.5rem;
+ margin-top: -0.5rem;
+ margin-right: -0.5rem;
+ margin-bottom: -0.5rem;
+}
+
+.offcanvas-title {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.offcanvas-body {
+ flex-grow: 1;
+ padding: 1rem 1rem;
+ overflow-y: auto;
+}
+
+.offcanvas-start {
+ top: 0;
+ left: 0;
+ width: 400px;
+ border-right: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateX(-100%);
+}
+
+.offcanvas-end {
+ top: 0;
+ right: 0;
+ width: 400px;
+ border-left: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateX(100%);
+}
+
+.offcanvas-top {
+ top: 0;
+ right: 0;
+ left: 0;
+ height: 30vh;
+ max-height: 100%;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateY(-100%);
+}
+
+.offcanvas-bottom {
+ right: 0;
+ left: 0;
+ height: 30vh;
+ max-height: 100%;
+ border-top: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateY(100%);
+}
+
+.offcanvas.show {
+ transform: none;
+}
+
+.placeholder {
+ display: inline-block;
+ min-height: 1em;
+ vertical-align: middle;
+ cursor: wait;
+ background-color: currentColor;
+ opacity: 0.5;
+}
+.placeholder.btn::before {
+ display: inline-block;
+ content: "";
+}
+
+.placeholder-xs {
+ min-height: 0.6em;
+}
+
+.placeholder-sm {
+ min-height: 0.8em;
+}
+
+.placeholder-lg {
+ min-height: 1.2em;
+}
+
+.placeholder-glow .placeholder {
+ animation: placeholder-glow 2s ease-in-out infinite;
+}
+
+@keyframes placeholder-glow {
+ 50% {
+ opacity: 0.2;
+ }
+}
+.placeholder-wave {
+ mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);
+ mask-size: 200% 100%;
+ animation: placeholder-wave 2s linear infinite;
+}
+
+@keyframes placeholder-wave {
+ 100% {
+ mask-position: -200% 0%;
+ }
+}
+.clearfix::after {
+ display: block;
+ clear: both;
+ content: "";
+}
+
+.link-primary {
+ color: #5a60f9;
+}
+.link-primary:hover, .link-primary:focus {
+ color: #484dc7;
+}
+
+.link-secondary {
+ color: #6c757d;
+}
+.link-secondary:hover, .link-secondary:focus {
+ color: #565e64;
+}
+
+.link-success {
+ color: #198754;
+}
+.link-success:hover, .link-success:focus {
+ color: #146c43;
+}
+
+.link-info {
+ color: #0dcaf0;
+}
+.link-info:hover, .link-info:focus {
+ color: #3dd5f3;
+}
+
+.link-warning {
+ color: #ffc107;
+}
+.link-warning:hover, .link-warning:focus {
+ color: #ffcd39;
+}
+
+.link-danger {
+ color: #f8681c;
+}
+.link-danger:hover, .link-danger:focus {
+ color: #f98649;
+}
+
+.link-light {
+ color: #f8f9fa;
+}
+.link-light:hover, .link-light:focus {
+ color: #f9fafb;
+}
+
+.link-dark {
+ color: #000;
+}
+.link-dark:hover, .link-dark:focus {
+ color: black;
+}
+
+.ratio {
+ position: relative;
+ width: 100%;
+}
+.ratio::before {
+ display: block;
+ padding-top: var(--bs-aspect-ratio);
+ content: "";
+}
+.ratio > * {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
+.ratio-1x1 {
+ --bs-aspect-ratio: 100%;
+}
+
+.ratio-4x3 {
+ --bs-aspect-ratio: calc(3 / 4 * 100%);
+}
+
+.ratio-16x9 {
+ --bs-aspect-ratio: calc(9 / 16 * 100%);
+}
+
+.ratio-21x9 {
+ --bs-aspect-ratio: calc(9 / 21 * 100%);
+}
+
+.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;
+}
+
+.sticky-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+}
+
+@media (min-width: 576px) {
+ .sticky-sm-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 768px) {
+ .sticky-md-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 992px) {
+ .sticky-lg-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 1200px) {
+ .sticky-xl-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 1400px) {
+ .sticky-xxl-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+.hstack {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ align-self: stretch;
+}
+
+.vstack {
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: column;
+ align-self: stretch;
+}
+
+.visually-hidden,
+.visually-hidden-focusable:not(:focus):not(:focus-within) {
+ position: absolute !important;
+ width: 1px !important;
+ height: 1px !important;
+ padding: 0 !important;
+ margin: -1px !important;
+ overflow: hidden !important;
+ clip: rect(0, 0, 0, 0) !important;
+ white-space: nowrap !important;
+ border: 0 !important;
+}
+
+.stretched-link::after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1;
+ content: "";
+}
+
+.text-truncate {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.vr {
+ display: inline-block;
+ align-self: stretch;
+ width: 1px;
+ min-height: 1em;
+ background-color: currentColor;
+ opacity: 0.25;
+}
+
+.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;
+}
+
+.float-start {
+ float: left !important;
+}
+
+.float-end {
+ float: right !important;
+}
+
+.float-none {
+ float: none !important;
+}
+
+.opacity-0 {
+ opacity: 0 !important;
+}
+
+.opacity-25 {
+ opacity: 0.25 !important;
+}
+
+.opacity-50 {
+ opacity: 0.5 !important;
+}
+
+.opacity-75 {
+ opacity: 0.75 !important;
+}
+
+.opacity-100 {
+ opacity: 1 !important;
+}
+
+.overflow-auto {
+ overflow: auto !important;
+}
+
+.overflow-hidden {
+ overflow: hidden !important;
+}
+
+.overflow-visible {
+ overflow: visible !important;
+}
+
+.overflow-scroll {
+ overflow: scroll !important;
+}
+
+.d-inline {
+ display: inline !important;
+}
+
+.d-inline-block {
+ display: inline-block !important;
+}
+
+.d-block {
+ display: block !important;
+}
+
+.d-grid {
+ display: grid !important;
+}
+
+.d-table {
+ display: table !important;
+}
+
+.d-table-row {
+ display: table-row !important;
+}
+
+.d-table-cell {
+ display: table-cell !important;
+}
+
+.d-flex {
+ display: flex !important;
+}
+
+.d-inline-flex {
+ display: inline-flex !important;
+}
+
+.d-none {
+ display: none !important;
+}
+
+.shadow {
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
+}
+
+.shadow-sm {
+ box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
+}
+
+.shadow-lg {
+ box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
+}
+
+.shadow-none {
+ box-shadow: none !important;
+}
+
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: sticky !important;
+}
+
+.top-0 {
+ top: 0 !important;
+}
+
+.top-50 {
+ top: 50% !important;
+}
+
+.top-100 {
+ top: 100% !important;
+}
+
+.bottom-0 {
+ bottom: 0 !important;
+}
+
+.bottom-50 {
+ bottom: 50% !important;
+}
+
+.bottom-100 {
+ bottom: 100% !important;
+}
+
+.start-0 {
+ left: 0 !important;
+}
+
+.start-50 {
+ left: 50% !important;
+}
+
+.start-100 {
+ left: 100% !important;
+}
+
+.end-0 {
+ right: 0 !important;
+}
+
+.end-50 {
+ right: 50% !important;
+}
+
+.end-100 {
+ right: 100% !important;
+}
+
+.translate-middle {
+ transform: translate(-50%, -50%) !important;
+}
+
+.translate-middle-x {
+ transform: translateX(-50%) !important;
+}
+
+.translate-middle-y {
+ transform: translateY(-50%) !important;
+}
+
+.border {
+ border: 1px solid #dee2e6 !important;
+}
+
+.border-0 {
+ border: 0 !important;
+}
+
+.border-top {
+ border-top: 1px solid #dee2e6 !important;
+}
+
+.border-top-0 {
+ border-top: 0 !important;
+}
+
+.border-end {
+ border-right: 1px solid #dee2e6 !important;
+}
+
+.border-end-0 {
+ border-right: 0 !important;
+}
+
+.border-bottom {
+ border-bottom: 1px solid #dee2e6 !important;
+}
+
+.border-bottom-0 {
+ border-bottom: 0 !important;
+}
+
+.border-start {
+ border-left: 1px solid #dee2e6 !important;
+}
+
+.border-start-0 {
+ border-left: 0 !important;
+}
+
+.border-primary {
+ border-color: #5a60f9 !important;
+}
+
+.border-secondary {
+ border-color: #6c757d !important;
+}
+
+.border-success {
+ border-color: #198754 !important;
+}
+
+.border-info {
+ border-color: #0dcaf0 !important;
+}
+
+.border-warning {
+ border-color: #ffc107 !important;
+}
+
+.border-danger {
+ border-color: #f8681c !important;
+}
+
+.border-light {
+ border-color: #f8f9fa !important;
+}
+
+.border-dark {
+ border-color: #000 !important;
+}
+
+.border-white {
+ border-color: #fff !important;
+}
+
+.border-1 {
+ border-width: 1px !important;
+}
+
+.border-2 {
+ border-width: 2px !important;
+}
+
+.border-3 {
+ border-width: 3px !important;
+}
+
+.border-4 {
+ border-width: 4px !important;
+}
+
+.border-5 {
+ border-width: 5px !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;
+}
+
+.mw-100 {
+ max-width: 100% !important;
+}
+
+.vw-100 {
+ width: 100vw !important;
+}
+
+.min-vw-100 {
+ min-width: 100vw !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;
+}
+
+.mh-100 {
+ max-height: 100% !important;
+}
+
+.vh-100 {
+ height: 100vh !important;
+}
+
+.min-vh-100 {
+ min-height: 100vh !important;
+}
+
+.flex-fill {
+ flex: 1 1 auto !important;
+}
+
+.flex-row {
+ flex-direction: row !important;
+}
+
+.flex-column {
+ flex-direction: column !important;
+}
+
+.flex-row-reverse {
+ flex-direction: row-reverse !important;
+}
+
+.flex-column-reverse {
+ flex-direction: column-reverse !important;
+}
+
+.flex-grow-0 {
+ flex-grow: 0 !important;
+}
+
+.flex-grow-1 {
+ flex-grow: 1 !important;
+}
+
+.flex-shrink-0 {
+ flex-shrink: 0 !important;
+}
+
+.flex-shrink-1 {
+ flex-shrink: 1 !important;
+}
+
+.flex-wrap {
+ flex-wrap: wrap !important;
+}
+
+.flex-nowrap {
+ flex-wrap: nowrap !important;
+}
+
+.flex-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+}
+
+.gap-0 {
+ gap: 0 !important;
+}
+
+.gap-1 {
+ gap: 0.25rem !important;
+}
+
+.gap-2 {
+ gap: 0.5rem !important;
+}
+
+.gap-3 {
+ gap: 1rem !important;
+}
+
+.gap-4 {
+ gap: 1.5rem !important;
+}
+
+.gap-5 {
+ gap: 3rem !important;
+}
+
+.justify-content-start {
+ justify-content: flex-start !important;
+}
+
+.justify-content-end {
+ justify-content: flex-end !important;
+}
+
+.justify-content-center {
+ justify-content: center !important;
+}
+
+.justify-content-between {
+ justify-content: space-between !important;
+}
+
+.justify-content-around {
+ justify-content: space-around !important;
+}
+
+.justify-content-evenly {
+ justify-content: space-evenly !important;
+}
+
+.align-items-start {
+ align-items: flex-start !important;
+}
+
+.align-items-end {
+ align-items: flex-end !important;
+}
+
+.align-items-center {
+ align-items: center !important;
+}
+
+.align-items-baseline {
+ align-items: baseline !important;
+}
+
+.align-items-stretch {
+ align-items: stretch !important;
+}
+
+.align-content-start {
+ align-content: flex-start !important;
+}
+
+.align-content-end {
+ align-content: flex-end !important;
+}
+
+.align-content-center {
+ align-content: center !important;
+}
+
+.align-content-between {
+ align-content: space-between !important;
+}
+
+.align-content-around {
+ align-content: space-around !important;
+}
+
+.align-content-stretch {
+ align-content: stretch !important;
+}
+
+.align-self-auto {
+ align-self: auto !important;
+}
+
+.align-self-start {
+ align-self: flex-start !important;
+}
+
+.align-self-end {
+ align-self: flex-end !important;
+}
+
+.align-self-center {
+ align-self: center !important;
+}
+
+.align-self-baseline {
+ align-self: baseline !important;
+}
+
+.align-self-stretch {
+ align-self: stretch !important;
+}
+
+.order-first {
+ order: -1 !important;
+}
+
+.order-0 {
+ order: 0 !important;
+}
+
+.order-1 {
+ order: 1 !important;
+}
+
+.order-2 {
+ order: 2 !important;
+}
+
+.order-3 {
+ order: 3 !important;
+}
+
+.order-4 {
+ order: 4 !important;
+}
+
+.order-5 {
+ order: 5 !important;
+}
+
+.order-last {
+ order: 6 !important;
+}
+
+.m-0 {
+ margin: 0 !important;
+}
+
+.m-1 {
+ margin: 0.25rem !important;
+}
+
+.m-2 {
+ margin: 0.5rem !important;
+}
+
+.m-3 {
+ margin: 1rem !important;
+}
+
+.m-4 {
+ margin: 1.5rem !important;
+}
+
+.m-5 {
+ margin: 3rem !important;
+}
+
+.m-auto {
+ margin: auto !important;
+}
+
+.mx-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+}
+
+.mx-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+}
+
+.mx-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+}
+
+.mx-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+}
+
+.mx-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+}
+
+.mx-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+}
+
+.mx-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+}
+
+.my-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+}
+
+.my-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+}
+
+.my-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+}
+
+.my-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+}
+
+.my-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+}
+
+.my-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+}
+
+.my-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+}
+
+.mt-0 {
+ margin-top: 0 !important;
+}
+
+.mt-1 {
+ margin-top: 0.25rem !important;
+}
+
+.mt-2 {
+ margin-top: 0.5rem !important;
+}
+
+.mt-3 {
+ margin-top: 1rem !important;
+}
+
+.mt-4 {
+ margin-top: 1.5rem !important;
+}
+
+.mt-5 {
+ margin-top: 3rem !important;
+}
+
+.mt-auto {
+ margin-top: auto !important;
+}
+
+.me-0 {
+ margin-right: 0 !important;
+}
+
+.me-1 {
+ margin-right: 0.25rem !important;
+}
+
+.me-2 {
+ margin-right: 0.5rem !important;
+}
+
+.me-3 {
+ margin-right: 1rem !important;
+}
+
+.me-4 {
+ margin-right: 1.5rem !important;
+}
+
+.me-5 {
+ margin-right: 3rem !important;
+}
+
+.me-auto {
+ margin-right: auto !important;
+}
+
+.mb-0 {
+ margin-bottom: 0 !important;
+}
+
+.mb-1 {
+ margin-bottom: 0.25rem !important;
+}
+
+.mb-2 {
+ margin-bottom: 0.5rem !important;
+}
+
+.mb-3 {
+ margin-bottom: 1rem !important;
+}
+
+.mb-4 {
+ margin-bottom: 1.5rem !important;
+}
+
+.mb-5 {
+ margin-bottom: 3rem !important;
+}
+
+.mb-auto {
+ margin-bottom: auto !important;
+}
+
+.ms-0 {
+ margin-left: 0 !important;
+}
+
+.ms-1 {
+ margin-left: 0.25rem !important;
+}
+
+.ms-2 {
+ margin-left: 0.5rem !important;
+}
+
+.ms-3 {
+ margin-left: 1rem !important;
+}
+
+.ms-4 {
+ margin-left: 1.5rem !important;
+}
+
+.ms-5 {
+ margin-left: 3rem !important;
+}
+
+.ms-auto {
+ margin-left: auto !important;
+}
+
+.p-0 {
+ padding: 0 !important;
+}
+
+.p-1 {
+ padding: 0.25rem !important;
+}
+
+.p-2 {
+ padding: 0.5rem !important;
+}
+
+.p-3 {
+ padding: 1rem !important;
+}
+
+.p-4 {
+ padding: 1.5rem !important;
+}
+
+.p-5 {
+ padding: 3rem !important;
+}
+
+.px-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+}
+
+.px-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+}
+
+.px-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+}
+
+.px-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+}
+
+.px-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+}
+
+.px-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+}
+
+.py-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+}
+
+.py-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+}
+
+.py-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+}
+
+.py-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+}
+
+.py-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+}
+
+.py-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+}
+
+.pt-0 {
+ padding-top: 0 !important;
+}
+
+.pt-1 {
+ padding-top: 0.25rem !important;
+}
+
+.pt-2 {
+ padding-top: 0.5rem !important;
+}
+
+.pt-3 {
+ padding-top: 1rem !important;
+}
+
+.pt-4 {
+ padding-top: 1.5rem !important;
+}
+
+.pt-5 {
+ padding-top: 3rem !important;
+}
+
+.pe-0 {
+ padding-right: 0 !important;
+}
+
+.pe-1 {
+ padding-right: 0.25rem !important;
+}
+
+.pe-2 {
+ padding-right: 0.5rem !important;
+}
+
+.pe-3 {
+ padding-right: 1rem !important;
+}
+
+.pe-4 {
+ padding-right: 1.5rem !important;
+}
+
+.pe-5 {
+ padding-right: 3rem !important;
+}
+
+.pb-0 {
+ padding-bottom: 0 !important;
+}
+
+.pb-1 {
+ padding-bottom: 0.25rem !important;
+}
+
+.pb-2 {
+ padding-bottom: 0.5rem !important;
+}
+
+.pb-3 {
+ padding-bottom: 1rem !important;
+}
+
+.pb-4 {
+ padding-bottom: 1.5rem !important;
+}
+
+.pb-5 {
+ padding-bottom: 3rem !important;
+}
+
+.ps-0 {
+ padding-left: 0 !important;
+}
+
+.ps-1 {
+ padding-left: 0.25rem !important;
+}
+
+.ps-2 {
+ padding-left: 0.5rem !important;
+}
+
+.ps-3 {
+ padding-left: 1rem !important;
+}
+
+.ps-4 {
+ padding-left: 1.5rem !important;
+}
+
+.ps-5 {
+ padding-left: 3rem !important;
+}
+
+.font-monospace {
+ font-family: var(--bs-font-monospace) !important;
+}
+
+.fs-1 {
+ font-size: calc(1.375rem + 1.5vw) !important;
+}
+
+.fs-2 {
+ font-size: calc(1.325rem + 0.9vw) !important;
+}
+
+.fs-3 {
+ font-size: calc(1.3rem + 0.6vw) !important;
+}
+
+.fs-4 {
+ font-size: calc(1.275rem + 0.3vw) !important;
+}
+
+.fs-5 {
+ font-size: 1.25rem !important;
+}
+
+.fs-6 {
+ font-size: 1rem !important;
+}
+
+.fst-italic {
+ font-style: italic !important;
+}
+
+.fst-normal {
+ font-style: normal !important;
+}
+
+.fw-light {
+ font-weight: 300 !important;
+}
+
+.fw-lighter {
+ font-weight: lighter !important;
+}
+
+.fw-normal {
+ font-weight: 400 !important;
+}
+
+.fw-bold {
+ font-weight: 700 !important;
+}
+
+.fw-bolder {
+ font-weight: bolder !important;
+}
+
+.lh-1 {
+ line-height: 1 !important;
+}
+
+.lh-sm {
+ line-height: 1.25 !important;
+}
+
+.lh-base {
+ line-height: 1.5 !important;
+}
+
+.lh-lg {
+ line-height: 2 !important;
+}
+
+.text-start {
+ text-align: left !important;
+}
+
+.text-end {
+ text-align: right !important;
+}
+
+.text-center {
+ text-align: center !important;
+}
+
+.text-decoration-none {
+ text-decoration: none !important;
+}
+
+.text-decoration-underline {
+ text-decoration: underline !important;
+}
+
+.text-decoration-line-through {
+ text-decoration: line-through !important;
+}
+
+.text-lowercase {
+ text-transform: lowercase !important;
+}
+
+.text-uppercase {
+ text-transform: uppercase !important;
+}
+
+.text-capitalize {
+ text-transform: capitalize !important;
+}
+
+.text-wrap {
+ white-space: normal !important;
+}
+
+.text-nowrap {
+ white-space: nowrap !important;
+}
+
+/* rtl:begin:remove */
+.text-break {
+ word-wrap: break-word !important;
+ word-break: break-word !important;
+}
+
+/* rtl:end:remove */
+.text-primary {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-secondary {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-success {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-info {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-warning {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-danger {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-light {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-dark {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-black {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-white {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-body {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-muted {
+ --bs-text-opacity: 1;
+ color: #6c757d !important;
+}
+
+.text-black-50 {
+ --bs-text-opacity: 1;
+ color: rgba(0, 0, 0, 0.5) !important;
+}
+
+.text-white-50 {
+ --bs-text-opacity: 1;
+ color: rgba(255, 255, 255, 0.5) !important;
+}
+
+.text-reset {
+ --bs-text-opacity: 1;
+ color: inherit !important;
+}
+
+.text-opacity-25 {
+ --bs-text-opacity: 0.25;
+}
+
+.text-opacity-50 {
+ --bs-text-opacity: 0.5;
+}
+
+.text-opacity-75 {
+ --bs-text-opacity: 0.75;
+}
+
+.text-opacity-100 {
+ --bs-text-opacity: 1;
+}
+
+.bg-primary {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-secondary {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-success {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-info {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-warning {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-danger {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-light {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-dark {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-black {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-white {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-body {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-transparent {
+ --bs-bg-opacity: 1;
+ background-color: transparent !important;
+}
+
+.bg-opacity-10 {
+ --bs-bg-opacity: 0.1;
+}
+
+.bg-opacity-25 {
+ --bs-bg-opacity: 0.25;
+}
+
+.bg-opacity-50 {
+ --bs-bg-opacity: 0.5;
+}
+
+.bg-opacity-75 {
+ --bs-bg-opacity: 0.75;
+}
+
+.bg-opacity-100 {
+ --bs-bg-opacity: 1;
+}
+
+.bg-gradient {
+ background-image: var(--bs-gradient) !important;
+}
+
+.user-select-all {
+ user-select: all !important;
+}
+
+.user-select-auto {
+ user-select: auto !important;
+}
+
+.user-select-none {
+ user-select: none !important;
+}
+
+.pe-none {
+ pointer-events: none !important;
+}
+
+.pe-auto {
+ pointer-events: auto !important;
+}
+
+.rounded {
+ border-radius: 0.25rem !important;
+}
+
+.rounded-0 {
+ border-radius: 0 !important;
+}
+
+.rounded-1 {
+ border-radius: 0.2rem !important;
+}
+
+.rounded-2 {
+ border-radius: 0.25rem !important;
+}
+
+.rounded-3 {
+ border-radius: 0.3rem !important;
+}
+
+.rounded-circle {
+ border-radius: 50% !important;
+}
+
+.rounded-pill {
+ border-radius: 50rem !important;
+}
+
+.rounded-top {
+ border-top-left-radius: 0.25rem !important;
+ border-top-right-radius: 0.25rem !important;
+}
+
+.rounded-end {
+ border-top-right-radius: 0.25rem !important;
+ border-bottom-right-radius: 0.25rem !important;
+}
+
+.rounded-bottom {
+ border-bottom-right-radius: 0.25rem !important;
+ border-bottom-left-radius: 0.25rem !important;
+}
+
+.rounded-start {
+ border-bottom-left-radius: 0.25rem !important;
+ border-top-left-radius: 0.25rem !important;
+}
+
+.visible {
+ visibility: visible !important;
+}
+
+.invisible {
+ visibility: hidden !important;
+}
+
+@media (min-width: 576px) {
+ .float-sm-start {
+ float: left !important;
+ }
+
+ .float-sm-end {
+ float: right !important;
+ }
+
+ .float-sm-none {
+ float: none !important;
+ }
+
+ .d-sm-inline {
+ display: inline !important;
+ }
+
+ .d-sm-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-sm-block {
+ display: block !important;
+ }
+
+ .d-sm-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-sm-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-sm-none {
+ display: none !important;
+ }
+
+ .flex-sm-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-sm-row {
+ flex-direction: row !important;
+ }
+
+ .flex-sm-column {
+ flex-direction: column !important;
+ }
+
+ .flex-sm-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-sm-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-sm-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-sm-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-sm-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-sm-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-sm-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-sm-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-sm-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-sm-0 {
+ gap: 0 !important;
+ }
+
+ .gap-sm-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-sm-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-sm-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-sm-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-sm-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-sm-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-sm-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-sm-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-sm-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-sm-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-sm-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-sm-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-sm-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-sm-center {
+ align-items: center !important;
+ }
+
+ .align-items-sm-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-sm-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-sm-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-sm-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-sm-center {
+ align-content: center !important;
+ }
+
+ .align-content-sm-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-sm-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-sm-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-sm-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-sm-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-sm-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-sm-center {
+ align-self: center !important;
+ }
+
+ .align-self-sm-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-sm-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-sm-first {
+ order: -1 !important;
+ }
+
+ .order-sm-0 {
+ order: 0 !important;
+ }
+
+ .order-sm-1 {
+ order: 1 !important;
+ }
+
+ .order-sm-2 {
+ order: 2 !important;
+ }
+
+ .order-sm-3 {
+ order: 3 !important;
+ }
+
+ .order-sm-4 {
+ order: 4 !important;
+ }
+
+ .order-sm-5 {
+ order: 5 !important;
+ }
+
+ .order-sm-last {
+ order: 6 !important;
+ }
+
+ .m-sm-0 {
+ margin: 0 !important;
+ }
+
+ .m-sm-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-sm-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-sm-3 {
+ margin: 1rem !important;
+ }
+
+ .m-sm-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-sm-5 {
+ margin: 3rem !important;
+ }
+
+ .m-sm-auto {
+ margin: auto !important;
+ }
+
+ .mx-sm-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-sm-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-sm-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-sm-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-sm-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-sm-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-sm-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-sm-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-sm-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-sm-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-sm-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-sm-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-sm-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-sm-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-sm-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-sm-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-sm-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-sm-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-sm-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-sm-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-sm-auto {
+ margin-top: auto !important;
+ }
+
+ .me-sm-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-sm-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-sm-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-sm-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-sm-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-sm-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-sm-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-sm-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-sm-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-sm-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-sm-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-sm-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-sm-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-sm-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-sm-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-sm-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-sm-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-sm-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-sm-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-sm-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-sm-auto {
+ margin-left: auto !important;
+ }
+
+ .p-sm-0 {
+ padding: 0 !important;
+ }
+
+ .p-sm-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-sm-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-sm-3 {
+ padding: 1rem !important;
+ }
+
+ .p-sm-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-sm-5 {
+ padding: 3rem !important;
+ }
+
+ .px-sm-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-sm-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-sm-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-sm-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-sm-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-sm-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-sm-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-sm-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-sm-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-sm-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-sm-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-sm-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-sm-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-sm-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-sm-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-sm-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-sm-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-sm-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-sm-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-sm-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-sm-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-sm-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-sm-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-sm-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-sm-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-sm-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-sm-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-sm-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-sm-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-sm-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-sm-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-sm-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-sm-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-sm-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-sm-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-sm-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-sm-start {
+ text-align: left !important;
+ }
+
+ .text-sm-end {
+ text-align: right !important;
+ }
+
+ .text-sm-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 768px) {
+ .float-md-start {
+ float: left !important;
+ }
+
+ .float-md-end {
+ float: right !important;
+ }
+
+ .float-md-none {
+ float: none !important;
+ }
+
+ .d-md-inline {
+ display: inline !important;
+ }
+
+ .d-md-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-md-block {
+ display: block !important;
+ }
+
+ .d-md-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-md-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-md-none {
+ display: none !important;
+ }
+
+ .flex-md-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-md-row {
+ flex-direction: row !important;
+ }
+
+ .flex-md-column {
+ flex-direction: column !important;
+ }
+
+ .flex-md-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-md-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-md-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-md-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-md-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-md-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-md-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-md-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-md-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-md-0 {
+ gap: 0 !important;
+ }
+
+ .gap-md-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-md-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-md-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-md-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-md-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-md-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-md-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-md-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-md-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-md-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-md-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-md-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-md-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-md-center {
+ align-items: center !important;
+ }
+
+ .align-items-md-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-md-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-md-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-md-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-md-center {
+ align-content: center !important;
+ }
+
+ .align-content-md-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-md-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-md-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-md-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-md-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-md-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-md-center {
+ align-self: center !important;
+ }
+
+ .align-self-md-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-md-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-md-first {
+ order: -1 !important;
+ }
+
+ .order-md-0 {
+ order: 0 !important;
+ }
+
+ .order-md-1 {
+ order: 1 !important;
+ }
+
+ .order-md-2 {
+ order: 2 !important;
+ }
+
+ .order-md-3 {
+ order: 3 !important;
+ }
+
+ .order-md-4 {
+ order: 4 !important;
+ }
+
+ .order-md-5 {
+ order: 5 !important;
+ }
+
+ .order-md-last {
+ order: 6 !important;
+ }
+
+ .m-md-0 {
+ margin: 0 !important;
+ }
+
+ .m-md-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-md-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-md-3 {
+ margin: 1rem !important;
+ }
+
+ .m-md-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-md-5 {
+ margin: 3rem !important;
+ }
+
+ .m-md-auto {
+ margin: auto !important;
+ }
+
+ .mx-md-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-md-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-md-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-md-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-md-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-md-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-md-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-md-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-md-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-md-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-md-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-md-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-md-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-md-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-md-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-md-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-md-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-md-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-md-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-md-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-md-auto {
+ margin-top: auto !important;
+ }
+
+ .me-md-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-md-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-md-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-md-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-md-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-md-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-md-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-md-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-md-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-md-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-md-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-md-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-md-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-md-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-md-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-md-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-md-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-md-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-md-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-md-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-md-auto {
+ margin-left: auto !important;
+ }
+
+ .p-md-0 {
+ padding: 0 !important;
+ }
+
+ .p-md-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-md-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-md-3 {
+ padding: 1rem !important;
+ }
+
+ .p-md-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-md-5 {
+ padding: 3rem !important;
+ }
+
+ .px-md-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-md-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-md-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-md-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-md-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-md-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-md-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-md-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-md-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-md-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-md-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-md-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-md-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-md-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-md-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-md-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-md-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-md-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-md-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-md-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-md-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-md-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-md-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-md-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-md-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-md-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-md-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-md-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-md-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-md-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-md-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-md-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-md-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-md-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-md-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-md-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-md-start {
+ text-align: left !important;
+ }
+
+ .text-md-end {
+ text-align: right !important;
+ }
+
+ .text-md-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 992px) {
+ .float-lg-start {
+ float: left !important;
+ }
+
+ .float-lg-end {
+ float: right !important;
+ }
+
+ .float-lg-none {
+ float: none !important;
+ }
+
+ .d-lg-inline {
+ display: inline !important;
+ }
+
+ .d-lg-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-lg-block {
+ display: block !important;
+ }
+
+ .d-lg-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-lg-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-lg-none {
+ display: none !important;
+ }
+
+ .flex-lg-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-lg-row {
+ flex-direction: row !important;
+ }
+
+ .flex-lg-column {
+ flex-direction: column !important;
+ }
+
+ .flex-lg-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-lg-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-lg-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-lg-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-lg-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-lg-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-lg-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-lg-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-lg-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-lg-0 {
+ gap: 0 !important;
+ }
+
+ .gap-lg-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-lg-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-lg-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-lg-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-lg-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-lg-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-lg-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-lg-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-lg-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-lg-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-lg-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-lg-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-lg-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-lg-center {
+ align-items: center !important;
+ }
+
+ .align-items-lg-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-lg-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-lg-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-lg-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-lg-center {
+ align-content: center !important;
+ }
+
+ .align-content-lg-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-lg-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-lg-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-lg-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-lg-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-lg-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-lg-center {
+ align-self: center !important;
+ }
+
+ .align-self-lg-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-lg-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-lg-first {
+ order: -1 !important;
+ }
+
+ .order-lg-0 {
+ order: 0 !important;
+ }
+
+ .order-lg-1 {
+ order: 1 !important;
+ }
+
+ .order-lg-2 {
+ order: 2 !important;
+ }
+
+ .order-lg-3 {
+ order: 3 !important;
+ }
+
+ .order-lg-4 {
+ order: 4 !important;
+ }
+
+ .order-lg-5 {
+ order: 5 !important;
+ }
+
+ .order-lg-last {
+ order: 6 !important;
+ }
+
+ .m-lg-0 {
+ margin: 0 !important;
+ }
+
+ .m-lg-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-lg-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-lg-3 {
+ margin: 1rem !important;
+ }
+
+ .m-lg-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-lg-5 {
+ margin: 3rem !important;
+ }
+
+ .m-lg-auto {
+ margin: auto !important;
+ }
+
+ .mx-lg-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-lg-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-lg-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-lg-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-lg-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-lg-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-lg-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-lg-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-lg-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-lg-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-lg-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-lg-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-lg-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-lg-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-lg-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-lg-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-lg-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-lg-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-lg-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-lg-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-lg-auto {
+ margin-top: auto !important;
+ }
+
+ .me-lg-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-lg-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-lg-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-lg-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-lg-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-lg-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-lg-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-lg-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-lg-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-lg-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-lg-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-lg-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-lg-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-lg-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-lg-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-lg-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-lg-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-lg-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-lg-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-lg-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-lg-auto {
+ margin-left: auto !important;
+ }
+
+ .p-lg-0 {
+ padding: 0 !important;
+ }
+
+ .p-lg-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-lg-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-lg-3 {
+ padding: 1rem !important;
+ }
+
+ .p-lg-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-lg-5 {
+ padding: 3rem !important;
+ }
+
+ .px-lg-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-lg-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-lg-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-lg-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-lg-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-lg-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-lg-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-lg-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-lg-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-lg-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-lg-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-lg-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-lg-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-lg-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-lg-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-lg-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-lg-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-lg-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-lg-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-lg-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-lg-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-lg-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-lg-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-lg-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-lg-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-lg-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-lg-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-lg-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-lg-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-lg-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-lg-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-lg-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-lg-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-lg-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-lg-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-lg-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-lg-start {
+ text-align: left !important;
+ }
+
+ .text-lg-end {
+ text-align: right !important;
+ }
+
+ .text-lg-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 1200px) {
+ .float-xl-start {
+ float: left !important;
+ }
+
+ .float-xl-end {
+ float: right !important;
+ }
+
+ .float-xl-none {
+ float: none !important;
+ }
+
+ .d-xl-inline {
+ display: inline !important;
+ }
+
+ .d-xl-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-xl-block {
+ display: block !important;
+ }
+
+ .d-xl-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-xl-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-xl-none {
+ display: none !important;
+ }
+
+ .flex-xl-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-xl-row {
+ flex-direction: row !important;
+ }
+
+ .flex-xl-column {
+ flex-direction: column !important;
+ }
+
+ .flex-xl-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-xl-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-xl-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-xl-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-xl-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-xl-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-xl-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-xl-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-xl-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-xl-0 {
+ gap: 0 !important;
+ }
+
+ .gap-xl-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-xl-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-xl-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-xl-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-xl-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-xl-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-xl-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-xl-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-xl-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-xl-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-xl-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-xl-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-xl-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-xl-center {
+ align-items: center !important;
+ }
+
+ .align-items-xl-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-xl-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-xl-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-xl-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-xl-center {
+ align-content: center !important;
+ }
+
+ .align-content-xl-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-xl-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-xl-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-xl-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-xl-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-xl-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-xl-center {
+ align-self: center !important;
+ }
+
+ .align-self-xl-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-xl-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-xl-first {
+ order: -1 !important;
+ }
+
+ .order-xl-0 {
+ order: 0 !important;
+ }
+
+ .order-xl-1 {
+ order: 1 !important;
+ }
+
+ .order-xl-2 {
+ order: 2 !important;
+ }
+
+ .order-xl-3 {
+ order: 3 !important;
+ }
+
+ .order-xl-4 {
+ order: 4 !important;
+ }
+
+ .order-xl-5 {
+ order: 5 !important;
+ }
+
+ .order-xl-last {
+ order: 6 !important;
+ }
+
+ .m-xl-0 {
+ margin: 0 !important;
+ }
+
+ .m-xl-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-xl-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-xl-3 {
+ margin: 1rem !important;
+ }
+
+ .m-xl-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-xl-5 {
+ margin: 3rem !important;
+ }
+
+ .m-xl-auto {
+ margin: auto !important;
+ }
+
+ .mx-xl-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-xl-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-xl-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-xl-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-xl-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-xl-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-xl-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-xl-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-xl-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-xl-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-xl-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-xl-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-xl-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-xl-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-xl-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-xl-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-xl-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-xl-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-xl-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-xl-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-xl-auto {
+ margin-top: auto !important;
+ }
+
+ .me-xl-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-xl-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-xl-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-xl-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-xl-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-xl-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-xl-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-xl-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-xl-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-xl-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-xl-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-xl-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-xl-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-xl-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-xl-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-xl-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-xl-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-xl-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-xl-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-xl-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-xl-auto {
+ margin-left: auto !important;
+ }
+
+ .p-xl-0 {
+ padding: 0 !important;
+ }
+
+ .p-xl-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-xl-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-xl-3 {
+ padding: 1rem !important;
+ }
+
+ .p-xl-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-xl-5 {
+ padding: 3rem !important;
+ }
+
+ .px-xl-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-xl-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-xl-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-xl-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-xl-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-xl-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-xl-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-xl-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-xl-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-xl-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-xl-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-xl-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-xl-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-xl-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-xl-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-xl-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-xl-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-xl-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-xl-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-xl-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-xl-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-xl-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-xl-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-xl-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-xl-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-xl-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-xl-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-xl-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-xl-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-xl-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-xl-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-xl-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-xl-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-xl-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-xl-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-xl-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-xl-start {
+ text-align: left !important;
+ }
+
+ .text-xl-end {
+ text-align: right !important;
+ }
+
+ .text-xl-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 1400px) {
+ .float-xxl-start {
+ float: left !important;
+ }
+
+ .float-xxl-end {
+ float: right !important;
+ }
+
+ .float-xxl-none {
+ float: none !important;
+ }
+
+ .d-xxl-inline {
+ display: inline !important;
+ }
+
+ .d-xxl-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-xxl-block {
+ display: block !important;
+ }
+
+ .d-xxl-grid {
+ display: grid !important;
+ }
+
+ .d-xxl-table {
+ display: table !important;
+ }
+
+ .d-xxl-table-row {
+ display: table-row !important;
+ }
+
+ .d-xxl-table-cell {
+ display: table-cell !important;
+ }
+
+ .d-xxl-flex {
+ display: flex !important;
+ }
+
+ .d-xxl-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-xxl-none {
+ display: none !important;
+ }
+
+ .flex-xxl-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-xxl-row {
+ flex-direction: row !important;
+ }
+
+ .flex-xxl-column {
+ flex-direction: column !important;
+ }
+
+ .flex-xxl-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-xxl-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-xxl-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-xxl-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-xxl-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-xxl-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-xxl-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-xxl-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-xxl-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-xxl-0 {
+ gap: 0 !important;
+ }
+
+ .gap-xxl-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-xxl-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-xxl-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-xxl-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-xxl-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-xxl-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-xxl-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-xxl-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-xxl-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-xxl-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-xxl-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-xxl-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-xxl-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-xxl-center {
+ align-items: center !important;
+ }
+
+ .align-items-xxl-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-xxl-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-xxl-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-xxl-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-xxl-center {
+ align-content: center !important;
+ }
+
+ .align-content-xxl-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-xxl-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-xxl-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-xxl-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-xxl-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-xxl-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-xxl-center {
+ align-self: center !important;
+ }
+
+ .align-self-xxl-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-xxl-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-xxl-first {
+ order: -1 !important;
+ }
+
+ .order-xxl-0 {
+ order: 0 !important;
+ }
+
+ .order-xxl-1 {
+ order: 1 !important;
+ }
+
+ .order-xxl-2 {
+ order: 2 !important;
+ }
+
+ .order-xxl-3 {
+ order: 3 !important;
+ }
+
+ .order-xxl-4 {
+ order: 4 !important;
+ }
+
+ .order-xxl-5 {
+ order: 5 !important;
+ }
+
+ .order-xxl-last {
+ order: 6 !important;
+ }
+
+ .m-xxl-0 {
+ margin: 0 !important;
+ }
+
+ .m-xxl-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-xxl-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-xxl-3 {
+ margin: 1rem !important;
+ }
+
+ .m-xxl-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-xxl-5 {
+ margin: 3rem !important;
+ }
+
+ .m-xxl-auto {
+ margin: auto !important;
+ }
+
+ .mx-xxl-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-xxl-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-xxl-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-xxl-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-xxl-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-xxl-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-xxl-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-xxl-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-xxl-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-xxl-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-xxl-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-xxl-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-xxl-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-xxl-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-xxl-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-xxl-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-xxl-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-xxl-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-xxl-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-xxl-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-xxl-auto {
+ margin-top: auto !important;
+ }
+
+ .me-xxl-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-xxl-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-xxl-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-xxl-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-xxl-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-xxl-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-xxl-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-xxl-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-xxl-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-xxl-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-xxl-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-xxl-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-xxl-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-xxl-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-xxl-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-xxl-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-xxl-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-xxl-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-xxl-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-xxl-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-xxl-auto {
+ margin-left: auto !important;
+ }
+
+ .p-xxl-0 {
+ padding: 0 !important;
+ }
+
+ .p-xxl-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-xxl-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-xxl-3 {
+ padding: 1rem !important;
+ }
+
+ .p-xxl-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-xxl-5 {
+ padding: 3rem !important;
+ }
+
+ .px-xxl-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-xxl-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-xxl-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-xxl-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-xxl-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-xxl-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-xxl-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-xxl-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-xxl-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-xxl-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-xxl-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-xxl-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-xxl-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-xxl-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-xxl-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-xxl-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-xxl-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-xxl-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-xxl-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-xxl-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-xxl-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-xxl-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-xxl-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-xxl-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-xxl-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-xxl-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-xxl-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-xxl-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-xxl-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-xxl-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-xxl-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-xxl-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-xxl-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-xxl-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-xxl-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-xxl-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-xxl-start {
+ text-align: left !important;
+ }
+
+ .text-xxl-end {
+ text-align: right !important;
+ }
+
+ .text-xxl-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 1200px) {
+ .fs-1 {
+ font-size: 2.5rem !important;
+ }
+
+ .fs-2 {
+ font-size: 2rem !important;
+ }
+
+ .fs-3 {
+ font-size: 1.75rem !important;
+ }
+
+ .fs-4 {
+ font-size: 1.5rem !important;
+ }
+}
+@media print {
+ .d-print-inline {
+ display: inline !important;
+ }
+
+ .d-print-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-print-block {
+ display: block !important;
+ }
+
+ .d-print-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-print-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-print-none {
+ display: none !important;
+ }
+}
+@font-face {
+ font-family: "courier_new";
+ src: url("../_fonts/courier_new-ce17c9265e5ed24ba2ae67aaa871611d.woff2?vsn=d") format("woff2"), url("../_fonts/courier_new-24151ec4754b420bf8dcc618029074a2.woff?vsn=d") format("woff");
+ font-weight: normal;
+ font-style: normal;
+}
+/*!
+ * Bootstrap v5.1.3 (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 {
+ --bs-blue: #0d6efd;
+ --bs-indigo: #6610f2;
+ --bs-purple: #6f42c1;
+ --bs-pink: #d63384;
+ --bs-red: #dc3545;
+ --bs-orange: #fd7e14;
+ --bs-yellow: #ffc107;
+ --bs-green: #198754;
+ --bs-teal: #20c997;
+ --bs-cyan: #0dcaf0;
+ --bs-white: #fff;
+ --bs-gray: #6c757d;
+ --bs-gray-dark: #343a40;
+ --bs-gray-100: #f8f9fa;
+ --bs-gray-200: #e9ecef;
+ --bs-gray-300: #dee2e6;
+ --bs-gray-400: #ced4da;
+ --bs-gray-500: #adb5bd;
+ --bs-gray-600: #6c757d;
+ --bs-gray-700: #495057;
+ --bs-gray-800: #343a40;
+ --bs-gray-900: #212529;
+ --bs-primary: #5a60f9;
+ --bs-secondary: #6c757d;
+ --bs-success: #198754;
+ --bs-info: #0dcaf0;
+ --bs-warning: #ffc107;
+ --bs-danger: #f8681c;
+ --bs-light: #f8f9fa;
+ --bs-dark: #000;
+ --bs-primary-rgb: 90, 96, 249;
+ --bs-secondary-rgb: 108, 117, 125;
+ --bs-success-rgb: 25, 135, 84;
+ --bs-info-rgb: 13, 202, 240;
+ --bs-warning-rgb: 255, 193, 7;
+ --bs-danger-rgb: 248, 104, 28;
+ --bs-light-rgb: 248, 249, 250;
+ --bs-dark-rgb: 0, 0, 0;
+ --bs-white-rgb: 255, 255, 255;
+ --bs-black-rgb: 0, 0, 0;
+ --bs-body-color-rgb: 33, 37, 41;
+ --bs-body-bg-rgb: 255, 255, 255;
+ --bs-font-sans-serif: "Inter", sans-serif;
+ --bs-font-monospace: "courier_new", "Courier New", monospace;
+ --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
+ --bs-body-font-family: var(--bs-font-sans-serif);
+ --bs-body-font-size: 1rem;
+ --bs-body-font-weight: 400;
+ --bs-body-line-height: 1.5;
+ --bs-body-color: #212529;
+ --bs-body-bg: #fff;
+}
+
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+@media (prefers-reduced-motion: no-preference) {
+ :root {
+ scroll-behavior: smooth;
+ }
+}
+
+body {
+ margin: 0;
+ font-family: var(--bs-body-font-family);
+ font-size: var(--bs-body-font-size);
+ font-weight: var(--bs-body-font-weight);
+ line-height: var(--bs-body-line-height);
+ color: var(--bs-body-color);
+ text-align: var(--bs-body-text-align);
+ background-color: var(--bs-body-bg);
+ -webkit-text-size-adjust: 100%;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+hr {
+ margin: 1rem 0;
+ color: inherit;
+ background-color: currentColor;
+ border: 0;
+ opacity: 0.25;
+}
+
+hr:not([size]) {
+ height: 1px;
+}
+
+h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
+ margin-top: 0;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+ line-height: 1.2;
+}
+
+h1, .h1 {
+ font-size: calc(1.375rem + 1.5vw);
+}
+@media (min-width: 1200px) {
+ h1, .h1 {
+ font-size: 2.5rem;
+ }
+}
+
+h2, .h2 {
+ font-size: calc(1.325rem + 0.9vw);
+}
+@media (min-width: 1200px) {
+ h2, .h2 {
+ font-size: 2rem;
+ }
+}
+
+h3, .h3 {
+ font-size: calc(1.3rem + 0.6vw);
+}
+@media (min-width: 1200px) {
+ h3, .h3 {
+ font-size: 1.75rem;
+ }
+}
+
+h4, .h4 {
+ font-size: calc(1.275rem + 0.3vw);
+}
+@media (min-width: 1200px) {
+ h4, .h4 {
+ font-size: 1.5rem;
+ }
+}
+
+h5, .h5 {
+ font-size: 1.25rem;
+}
+
+h6, .h6 {
+ font-size: 1rem;
+}
+
+p {
+ margin-top: 0;
+ margin-bottom: 1rem;
+}
+
+abbr[title],
+abbr[data-bs-original-title] {
+ text-decoration: underline dotted;
+ cursor: help;
+ text-decoration-skip-ink: none;
+}
+
+address {
+ margin-bottom: 1rem;
+ font-style: normal;
+ line-height: inherit;
+}
+
+ol,
+ul {
+ padding-left: 2rem;
+}
+
+ol,
+ul,
+dl {
+ margin-top: 0;
+ margin-bottom: 1rem;
+}
+
+ol ol,
+ul ul,
+ol ul,
+ul ol {
+ margin-bottom: 0;
+}
+
+dt {
+ font-weight: 700;
+}
+
+dd {
+ margin-bottom: 0.5rem;
+ margin-left: 0;
+}
+
+blockquote {
+ margin: 0 0 1rem;
+}
+
+b,
+strong {
+ font-weight: bolder;
+}
+
+small, .small {
+ font-size: 0.875em;
+}
+
+mark, .mark {
+ padding: 0.2em;
+ background-color: #fcf8e3;
+}
+
+sub,
+sup {
+ position: relative;
+ font-size: 0.75em;
+ line-height: 0;
+ vertical-align: baseline;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+sup {
+ top: -0.5em;
+}
+
+a {
+ color: #5a60f9;
+ text-decoration: underline;
+}
+a:hover {
+ color: #484dc7;
+}
+
+a:not([href]):not([class]), a:not([href]):not([class]):hover {
+ color: inherit;
+ text-decoration: none;
+}
+
+pre,
+code,
+kbd,
+samp {
+ font-family: var(--bs-font-monospace);
+ font-size: 1em;
+ direction: ltr /* rtl:ignore */;
+ unicode-bidi: bidi-override;
+}
+
+pre {
+ display: block;
+ margin-top: 0;
+ margin-bottom: 1rem;
+ overflow: auto;
+ font-size: 1rem;
+}
+pre code {
+ font-size: inherit;
+ color: inherit;
+ word-break: normal;
+}
+
+code {
+ font-size: 1rem;
+ color: #d63384;
+ word-wrap: break-word;
+}
+a > code {
+ color: inherit;
+}
+
+kbd {
+ padding: 0.2rem 0.4rem;
+ font-size: 0.875em;
+ color: #fff;
+ background-color: #212529;
+ border-radius: 0.2rem;
+}
+kbd kbd {
+ padding: 0;
+ font-size: 1em;
+ font-weight: 700;
+}
+
+figure {
+ margin: 0 0 1rem;
+}
+
+img,
+svg {
+ vertical-align: middle;
+}
+
+table {
+ caption-side: bottom;
+ border-collapse: collapse;
+}
+
+caption {
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+ color: #6c757d;
+ text-align: left;
+}
+
+th {
+ text-align: inherit;
+ text-align: -webkit-match-parent;
+}
+
+thead,
+tbody,
+tfoot,
+tr,
+td,
+th {
+ border-color: inherit;
+ border-style: solid;
+ border-width: 0;
+}
+
+label {
+ display: inline-block;
+}
+
+button {
+ border-radius: 0;
+}
+
+button:focus:not(:focus-visible) {
+ outline: 0;
+}
+
+input,
+button,
+select,
+optgroup,
+textarea {
+ margin: 0;
+ font-family: inherit;
+ font-size: inherit;
+ line-height: inherit;
+}
+
+button,
+select {
+ text-transform: none;
+}
+
+[role=button] {
+ cursor: pointer;
+}
+
+select {
+ word-wrap: normal;
+}
+select:disabled {
+ opacity: 1;
+}
+
+[list]::-webkit-calendar-picker-indicator {
+ display: none;
+}
+
+button,
+[type=button],
+[type=reset],
+[type=submit] {
+ -webkit-appearance: button;
+}
+button:not(:disabled),
+[type=button]:not(:disabled),
+[type=reset]:not(:disabled),
+[type=submit]:not(:disabled) {
+ cursor: pointer;
+}
+
+::-moz-focus-inner {
+ padding: 0;
+ border-style: none;
+}
+
+textarea {
+ resize: vertical;
+}
+
+fieldset {
+ min-width: 0;
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+
+legend {
+ float: left;
+ width: 100%;
+ padding: 0;
+ margin-bottom: 0.5rem;
+ font-size: calc(1.275rem + 0.3vw);
+ line-height: inherit;
+}
+@media (min-width: 1200px) {
+ legend {
+ font-size: 1.5rem;
+ }
+}
+legend + * {
+ clear: left;
+}
+
+::-webkit-datetime-edit-fields-wrapper,
+::-webkit-datetime-edit-text,
+::-webkit-datetime-edit-minute,
+::-webkit-datetime-edit-hour-field,
+::-webkit-datetime-edit-day-field,
+::-webkit-datetime-edit-month-field,
+::-webkit-datetime-edit-year-field {
+ padding: 0;
+}
+
+::-webkit-inner-spin-button {
+ height: auto;
+}
+
+[type=search] {
+ outline-offset: -2px;
+ -webkit-appearance: textfield;
+}
+
+/* rtl:raw:
+[type="tel"],
+[type="url"],
+[type="email"],
+[type="number"] {
+ direction: ltr;
+}
+*/
+::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+::-webkit-color-swatch-wrapper {
+ padding: 0;
+}
+
+::file-selector-button {
+ font: inherit;
+}
+
+::-webkit-file-upload-button {
+ font: inherit;
+ -webkit-appearance: button;
+}
+
+output {
+ display: inline-block;
+}
+
+iframe {
+ border: 0;
+}
+
+summary {
+ display: list-item;
+ cursor: pointer;
+}
+
+progress {
+ vertical-align: baseline;
+}
+
+[hidden] {
+ display: none !important;
+}
+
+.lead {
+ font-size: 1.25rem;
+ font-weight: 300;
+}
+
+.display-1 {
+ font-size: calc(1.625rem + 4.5vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-1 {
+ font-size: 5rem;
+ }
+}
+
+.display-2 {
+ font-size: calc(1.575rem + 3.9vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-2 {
+ font-size: 4.5rem;
+ }
+}
+
+.display-3 {
+ font-size: calc(1.525rem + 3.3vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-3 {
+ font-size: 4rem;
+ }
+}
+
+.display-4 {
+ font-size: calc(1.475rem + 2.7vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-4 {
+ font-size: 3.5rem;
+ }
+}
+
+.display-5 {
+ font-size: calc(1.425rem + 2.1vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-5 {
+ font-size: 3rem;
+ }
+}
+
+.display-6 {
+ font-size: calc(1.375rem + 1.5vw);
+ font-weight: 300;
+ line-height: 1.2;
+}
+@media (min-width: 1200px) {
+ .display-6 {
+ font-size: 2.5rem;
+ }
+}
+
+.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: 0.5rem;
+}
+
+.initialism {
+ font-size: 0.875em;
+ text-transform: uppercase;
+}
+
+.blockquote {
+ margin-bottom: 1rem;
+ font-size: 1.25rem;
+}
+.blockquote > :last-child {
+ margin-bottom: 0;
+}
+
+.blockquote-footer {
+ margin-top: -1rem;
+ margin-bottom: 1rem;
+ font-size: 0.875em;
+ color: #6c757d;
+}
+.blockquote-footer::before {
+ content: "— ";
+}
+
+.img-fluid {
+ max-width: 100%;
+ height: auto;
+}
+
+.img-thumbnail {
+ padding: 0.25rem;
+ background-color: #fff;
+ border: 1px solid #dee2e6;
+ border-radius: 0.25rem;
+ max-width: 100%;
+ height: auto;
+}
+
+.figure {
+ display: inline-block;
+}
+
+.figure-img {
+ margin-bottom: 0.5rem;
+ line-height: 1;
+}
+
+.figure-caption {
+ font-size: 0.875em;
+ color: #6c757d;
+}
+
+.container,
+.container-fluid,
+.container-sm,
+.container-md,
+.container-lg,
+.container-xl,
+.container-xxl {
+ width: 100%;
+ padding-right: var(--bs-gutter-x, 0.75rem);
+ padding-left: var(--bs-gutter-x, 0.75rem);
+ margin-right: auto;
+ margin-left: auto;
+}
+
+@media (min-width: 576px) {
+ .container, .container-sm {
+ max-width: 540px;
+ }
+}
+@media (min-width: 768px) {
+ .container, .container-sm, .container-md {
+ max-width: 720px;
+ }
+}
+@media (min-width: 992px) {
+ .container, .container-sm, .container-md, .container-lg {
+ max-width: 960px;
+ }
+}
+@media (min-width: 1200px) {
+ .container, .container-sm, .container-md, .container-lg, .container-xl {
+ max-width: 1140px;
+ }
+}
+@media (min-width: 1400px) {
+ .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
+ max-width: 1320px;
+ }
+}
+.row {
+ --bs-gutter-x: 1.5rem;
+ --bs-gutter-y: 0;
+ display: flex;
+ flex-wrap: wrap;
+ margin-top: calc(-1 * var(--bs-gutter-y));
+ margin-right: calc(-.5 * var(--bs-gutter-x));
+ margin-left: calc(-.5 * var(--bs-gutter-x));
+}
+.row > * {
+ flex-shrink: 0;
+ width: 100%;
+ max-width: 100%;
+ padding-right: calc(var(--bs-gutter-x) * .5);
+ padding-left: calc(var(--bs-gutter-x) * .5);
+ margin-top: var(--bs-gutter-y);
+}
+
+.col {
+ flex: 1 0 0%;
+}
+
+.row-cols-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+}
+
+.row-cols-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+}
+
+.row-cols-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+}
+
+.row-cols-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+}
+
+.row-cols-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+}
+
+.row-cols-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+}
+
+.row-cols-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+}
+
+.col-auto {
+ flex: 0 0 auto;
+ width: auto;
+}
+
+.col-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+}
+
+.col-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+}
+
+.col-3 {
+ flex: 0 0 auto;
+ width: 25%;
+}
+
+.col-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+}
+
+.col-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+}
+
+.col-6 {
+ flex: 0 0 auto;
+ width: 50%;
+}
+
+.col-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+}
+
+.col-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+}
+
+.col-9 {
+ flex: 0 0 auto;
+ width: 75%;
+}
+
+.col-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+}
+
+.col-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+}
+
+.col-12 {
+ flex: 0 0 auto;
+ width: 100%;
+}
+
+.offset-1 {
+ margin-left: 8.33333333%;
+}
+
+.offset-2 {
+ margin-left: 16.66666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.33333333%;
+}
+
+.offset-5 {
+ margin-left: 41.66666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.33333333%;
+}
+
+.offset-8 {
+ margin-left: 66.66666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.33333333%;
+}
+
+.offset-11 {
+ margin-left: 91.66666667%;
+}
+
+.g-0,
+.gx-0 {
+ --bs-gutter-x: 0;
+}
+
+.g-0,
+.gy-0 {
+ --bs-gutter-y: 0;
+}
+
+.g-1,
+.gx-1 {
+ --bs-gutter-x: 0.25rem;
+}
+
+.g-1,
+.gy-1 {
+ --bs-gutter-y: 0.25rem;
+}
+
+.g-2,
+.gx-2 {
+ --bs-gutter-x: 0.5rem;
+}
+
+.g-2,
+.gy-2 {
+ --bs-gutter-y: 0.5rem;
+}
+
+.g-3,
+.gx-3 {
+ --bs-gutter-x: 1rem;
+}
+
+.g-3,
+.gy-3 {
+ --bs-gutter-y: 1rem;
+}
+
+.g-4,
+.gx-4 {
+ --bs-gutter-x: 1.5rem;
+}
+
+.g-4,
+.gy-4 {
+ --bs-gutter-y: 1.5rem;
+}
+
+.g-5,
+.gx-5 {
+ --bs-gutter-x: 3rem;
+}
+
+.g-5,
+.gy-5 {
+ --bs-gutter-y: 3rem;
+}
+
+@media (min-width: 576px) {
+ .col-sm {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-sm-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-sm-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-sm-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-sm-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-sm-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-sm-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-sm-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-sm-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-sm-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-sm-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-sm-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-sm-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-sm-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-sm-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-sm-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-sm-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-sm-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-sm-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-sm-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-sm-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+
+ .offset-sm-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-sm-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+
+ .offset-sm-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-sm-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+
+ .offset-sm-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-sm-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+
+ .offset-sm-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-sm-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-sm-0,
+.gx-sm-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-sm-0,
+.gy-sm-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-sm-1,
+.gx-sm-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-sm-1,
+.gy-sm-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-sm-2,
+.gx-sm-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-sm-2,
+.gy-sm-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-sm-3,
+.gx-sm-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-sm-3,
+.gy-sm-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-sm-4,
+.gx-sm-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-sm-4,
+.gy-sm-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-sm-5,
+.gx-sm-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-sm-5,
+.gy-sm-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 768px) {
+ .col-md {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-md-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-md-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-md-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-md-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-md-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-md-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-md-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-md-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-md-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-md-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-md-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-md-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-md-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-md-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-md-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-md-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-md-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-md-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-md-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-md-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-md-0 {
+ margin-left: 0;
+ }
+
+ .offset-md-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-md-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+
+ .offset-md-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-md-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+
+ .offset-md-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-md-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+
+ .offset-md-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-md-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-md-0,
+.gx-md-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-md-0,
+.gy-md-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-md-1,
+.gx-md-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-md-1,
+.gy-md-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-md-2,
+.gx-md-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-md-2,
+.gy-md-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-md-3,
+.gx-md-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-md-3,
+.gy-md-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-md-4,
+.gx-md-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-md-4,
+.gy-md-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-md-5,
+.gx-md-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-md-5,
+.gy-md-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 992px) {
+ .col-lg {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-lg-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-lg-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-lg-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-lg-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-lg-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-lg-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-lg-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-lg-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-lg-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-lg-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-lg-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-lg-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-lg-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-lg-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-lg-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-lg-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-lg-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-lg-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-lg-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-lg-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+
+ .offset-lg-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-lg-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+
+ .offset-lg-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-lg-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+
+ .offset-lg-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-lg-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+
+ .offset-lg-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-lg-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-lg-0,
+.gx-lg-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-lg-0,
+.gy-lg-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-lg-1,
+.gx-lg-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-lg-1,
+.gy-lg-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-lg-2,
+.gx-lg-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-lg-2,
+.gy-lg-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-lg-3,
+.gx-lg-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-lg-3,
+.gy-lg-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-lg-4,
+.gx-lg-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-lg-4,
+.gy-lg-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-lg-5,
+.gx-lg-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-lg-5,
+.gy-lg-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 1200px) {
+ .col-xl {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-xl-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-xl-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-xl-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-xl-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-xl-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-xl-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-xl-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-xl-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-xl-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-xl-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-xl-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-xl-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-xl-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-xl-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-xl-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-xl-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-xl-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-xl-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-xl-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-xl-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+
+ .offset-xl-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-xl-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+
+ .offset-xl-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-xl-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+
+ .offset-xl-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-xl-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+
+ .offset-xl-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-xl-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-xl-0,
+.gx-xl-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-xl-0,
+.gy-xl-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-xl-1,
+.gx-xl-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-xl-1,
+.gy-xl-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-xl-2,
+.gx-xl-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-xl-2,
+.gy-xl-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-xl-3,
+.gx-xl-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-xl-3,
+.gy-xl-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-xl-4,
+.gx-xl-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-xl-4,
+.gy-xl-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-xl-5,
+.gx-xl-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-xl-5,
+.gy-xl-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+@media (min-width: 1400px) {
+ .col-xxl {
+ flex: 1 0 0%;
+ }
+
+ .row-cols-xxl-auto > * {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .row-cols-xxl-1 > * {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .row-cols-xxl-2 > * {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .row-cols-xxl-3 > * {
+ flex: 0 0 auto;
+ width: 33.3333333333%;
+ }
+
+ .row-cols-xxl-4 > * {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .row-cols-xxl-5 > * {
+ flex: 0 0 auto;
+ width: 20%;
+ }
+
+ .row-cols-xxl-6 > * {
+ flex: 0 0 auto;
+ width: 16.6666666667%;
+ }
+
+ .col-xxl-auto {
+ flex: 0 0 auto;
+ width: auto;
+ }
+
+ .col-xxl-1 {
+ flex: 0 0 auto;
+ width: 8.33333333%;
+ }
+
+ .col-xxl-2 {
+ flex: 0 0 auto;
+ width: 16.66666667%;
+ }
+
+ .col-xxl-3 {
+ flex: 0 0 auto;
+ width: 25%;
+ }
+
+ .col-xxl-4 {
+ flex: 0 0 auto;
+ width: 33.33333333%;
+ }
+
+ .col-xxl-5 {
+ flex: 0 0 auto;
+ width: 41.66666667%;
+ }
+
+ .col-xxl-6 {
+ flex: 0 0 auto;
+ width: 50%;
+ }
+
+ .col-xxl-7 {
+ flex: 0 0 auto;
+ width: 58.33333333%;
+ }
+
+ .col-xxl-8 {
+ flex: 0 0 auto;
+ width: 66.66666667%;
+ }
+
+ .col-xxl-9 {
+ flex: 0 0 auto;
+ width: 75%;
+ }
+
+ .col-xxl-10 {
+ flex: 0 0 auto;
+ width: 83.33333333%;
+ }
+
+ .col-xxl-11 {
+ flex: 0 0 auto;
+ width: 91.66666667%;
+ }
+
+ .col-xxl-12 {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
+ .offset-xxl-0 {
+ margin-left: 0;
+ }
+
+ .offset-xxl-1 {
+ margin-left: 8.33333333%;
+ }
+
+ .offset-xxl-2 {
+ margin-left: 16.66666667%;
+ }
+
+ .offset-xxl-3 {
+ margin-left: 25%;
+ }
+
+ .offset-xxl-4 {
+ margin-left: 33.33333333%;
+ }
+
+ .offset-xxl-5 {
+ margin-left: 41.66666667%;
+ }
+
+ .offset-xxl-6 {
+ margin-left: 50%;
+ }
+
+ .offset-xxl-7 {
+ margin-left: 58.33333333%;
+ }
+
+ .offset-xxl-8 {
+ margin-left: 66.66666667%;
+ }
+
+ .offset-xxl-9 {
+ margin-left: 75%;
+ }
+
+ .offset-xxl-10 {
+ margin-left: 83.33333333%;
+ }
+
+ .offset-xxl-11 {
+ margin-left: 91.66666667%;
+ }
+
+ .g-xxl-0,
+.gx-xxl-0 {
+ --bs-gutter-x: 0;
+ }
+
+ .g-xxl-0,
+.gy-xxl-0 {
+ --bs-gutter-y: 0;
+ }
+
+ .g-xxl-1,
+.gx-xxl-1 {
+ --bs-gutter-x: 0.25rem;
+ }
+
+ .g-xxl-1,
+.gy-xxl-1 {
+ --bs-gutter-y: 0.25rem;
+ }
+
+ .g-xxl-2,
+.gx-xxl-2 {
+ --bs-gutter-x: 0.5rem;
+ }
+
+ .g-xxl-2,
+.gy-xxl-2 {
+ --bs-gutter-y: 0.5rem;
+ }
+
+ .g-xxl-3,
+.gx-xxl-3 {
+ --bs-gutter-x: 1rem;
+ }
+
+ .g-xxl-3,
+.gy-xxl-3 {
+ --bs-gutter-y: 1rem;
+ }
+
+ .g-xxl-4,
+.gx-xxl-4 {
+ --bs-gutter-x: 1.5rem;
+ }
+
+ .g-xxl-4,
+.gy-xxl-4 {
+ --bs-gutter-y: 1.5rem;
+ }
+
+ .g-xxl-5,
+.gx-xxl-5 {
+ --bs-gutter-x: 3rem;
+ }
+
+ .g-xxl-5,
+.gy-xxl-5 {
+ --bs-gutter-y: 3rem;
+ }
+}
+.table {
+ --bs-table-bg: transparent;
+ --bs-table-accent-bg: transparent;
+ --bs-table-striped-color: #212529;
+ --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
+ --bs-table-active-color: #212529;
+ --bs-table-active-bg: rgba(0, 0, 0, 0.1);
+ --bs-table-hover-color: #212529;
+ --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
+ width: 100%;
+ margin-bottom: 1rem;
+ color: #212529;
+ vertical-align: top;
+ border-color: #dee2e6;
+}
+.table > :not(caption) > * > * {
+ padding: 0.5rem 0.5rem;
+ background-color: var(--bs-table-bg);
+ border-bottom-width: 1px;
+ box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
+}
+.table > tbody {
+ vertical-align: inherit;
+}
+.table > thead {
+ vertical-align: bottom;
+}
+.table > :not(:first-child) {
+ border-top: 2px solid currentColor;
+}
+
+.caption-top {
+ caption-side: top;
+}
+
+.table-sm > :not(caption) > * > * {
+ padding: 0.25rem 0.25rem;
+}
+
+.table-bordered > :not(caption) > * {
+ border-width: 1px 0;
+}
+.table-bordered > :not(caption) > * > * {
+ border-width: 0 1px;
+}
+
+.table-borderless > :not(caption) > * > * {
+ border-bottom-width: 0;
+}
+.table-borderless > :not(:first-child) {
+ border-top-width: 0;
+}
+
+.table-striped > tbody > tr:nth-of-type(odd) > * {
+ --bs-table-accent-bg: var(--bs-table-striped-bg);
+ color: var(--bs-table-striped-color);
+}
+
+.table-active {
+ --bs-table-accent-bg: var(--bs-table-active-bg);
+ color: var(--bs-table-active-color);
+}
+
+.table-hover > tbody > tr:hover > * {
+ --bs-table-accent-bg: var(--bs-table-hover-bg);
+ color: var(--bs-table-hover-color);
+}
+
+.table-primary {
+ --bs-table-bg: #dedffe;
+ --bs-table-striped-bg: #d3d4f1;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #c8c9e5;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #cdceeb;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #c8c9e5;
+}
+
+.table-secondary {
+ --bs-table-bg: #e2e3e5;
+ --bs-table-striped-bg: #d7d8da;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #cbccce;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #d1d2d4;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #cbccce;
+}
+
+.table-success {
+ --bs-table-bg: #d1e7dd;
+ --bs-table-striped-bg: #c7dbd2;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #bcd0c7;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #c1d6cc;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #bcd0c7;
+}
+
+.table-info {
+ --bs-table-bg: #cff4fc;
+ --bs-table-striped-bg: #c5e8ef;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #badce3;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #bfe2e9;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #badce3;
+}
+
+.table-warning {
+ --bs-table-bg: #fff3cd;
+ --bs-table-striped-bg: #f2e7c3;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #e6dbb9;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #ece1be;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #e6dbb9;
+}
+
+.table-danger {
+ --bs-table-bg: #fee1d2;
+ --bs-table-striped-bg: #f1d6c8;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #e5cbbd;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #ebd0c2;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #e5cbbd;
+}
+
+.table-light {
+ --bs-table-bg: #f8f9fa;
+ --bs-table-striped-bg: #ecedee;
+ --bs-table-striped-color: #000;
+ --bs-table-active-bg: #dfe0e1;
+ --bs-table-active-color: #000;
+ --bs-table-hover-bg: #e5e6e7;
+ --bs-table-hover-color: #000;
+ color: #000;
+ border-color: #dfe0e1;
+}
+
+.table-dark {
+ --bs-table-bg: #000;
+ --bs-table-striped-bg: #0d0d0d;
+ --bs-table-striped-color: #fff;
+ --bs-table-active-bg: #1a1a1a;
+ --bs-table-active-color: #fff;
+ --bs-table-hover-bg: #131313;
+ --bs-table-hover-color: #fff;
+ color: #fff;
+ border-color: #1a1a1a;
+}
+
+.table-responsive {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+}
+
+@media (max-width: 575.98px) {
+ .table-responsive-sm {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 767.98px) {
+ .table-responsive-md {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 991.98px) {
+ .table-responsive-lg {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 1199.98px) {
+ .table-responsive-xl {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+@media (max-width: 1399.98px) {
+ .table-responsive-xxl {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+}
+.form-label {
+ margin-bottom: 0.5rem;
+}
+
+.col-form-label {
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
+ margin-bottom: 0;
+ font-size: inherit;
+ line-height: 1.5;
+}
+
+.col-form-label-lg {
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
+ font-size: 1.25rem;
+}
+
+.col-form-label-sm {
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
+ font-size: 0.875rem;
+}
+
+.form-text {
+ margin-top: 0.25rem;
+ font-size: 0.875em;
+ color: #6c757d;
+}
+
+.form-control {
+ display: block;
+ width: 100%;
+ padding: 0.375rem 0.75rem;
+ font-size: 1rem;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid #ced4da;
+ appearance: none;
+ border-radius: 0.25rem;
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-control {
+ transition: none;
+ }
+}
+.form-control[type=file] {
+ overflow: hidden;
+}
+.form-control[type=file]:not(:disabled):not([readonly]) {
+ cursor: pointer;
+}
+.form-control:focus {
+ color: #212529;
+ background-color: #fff;
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-control::-webkit-date-and-time-value {
+ height: 1.5em;
+}
+.form-control::placeholder {
+ color: #6c757d;
+ opacity: 1;
+}
+.form-control:disabled, .form-control[readonly] {
+ background-color: #e9ecef;
+ opacity: 1;
+}
+.form-control::file-selector-button {
+ padding: 0.375rem 0.75rem;
+ margin: -0.375rem -0.75rem;
+ margin-inline-end: 0.75rem;
+ color: #212529;
+ background-color: #e9ecef;
+ pointer-events: none;
+ border-color: inherit;
+ border-style: solid;
+ border-width: 0;
+ border-inline-end-width: 1px;
+ border-radius: 0;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-control::file-selector-button {
+ transition: none;
+ }
+}
+.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
+ background-color: #dde0e3;
+}
+.form-control::-webkit-file-upload-button {
+ padding: 0.375rem 0.75rem;
+ margin: -0.375rem -0.75rem;
+ margin-inline-end: 0.75rem;
+ color: #212529;
+ background-color: #e9ecef;
+ pointer-events: none;
+ border-color: inherit;
+ border-style: solid;
+ border-width: 0;
+ border-inline-end-width: 1px;
+ border-radius: 0;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-control::-webkit-file-upload-button {
+ transition: none;
+ }
+}
+.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
+ background-color: #dde0e3;
+}
+
+.form-control-plaintext {
+ display: block;
+ width: 100%;
+ padding: 0.375rem 0;
+ margin-bottom: 0;
+ line-height: 1.5;
+ color: #212529;
+ background-color: transparent;
+ border: solid transparent;
+ border-width: 1px 0;
+}
+.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
+ padding-right: 0;
+ padding-left: 0;
+}
+
+.form-control-sm {
+ min-height: calc(1.5em + 0.5rem + 2px);
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+.form-control-sm::file-selector-button {
+ padding: 0.25rem 0.5rem;
+ margin: -0.25rem -0.5rem;
+ margin-inline-end: 0.5rem;
+}
+.form-control-sm::-webkit-file-upload-button {
+ padding: 0.25rem 0.5rem;
+ margin: -0.25rem -0.5rem;
+ margin-inline-end: 0.5rem;
+}
+
+.form-control-lg {
+ min-height: calc(1.5em + 1rem + 2px);
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+.form-control-lg::file-selector-button {
+ padding: 0.5rem 1rem;
+ margin: -0.5rem -1rem;
+ margin-inline-end: 1rem;
+}
+.form-control-lg::-webkit-file-upload-button {
+ padding: 0.5rem 1rem;
+ margin: -0.5rem -1rem;
+ margin-inline-end: 1rem;
+}
+
+textarea.form-control {
+ min-height: calc(1.5em + 0.75rem + 2px);
+}
+textarea.form-control-sm {
+ min-height: calc(1.5em + 0.5rem + 2px);
+}
+textarea.form-control-lg {
+ min-height: calc(1.5em + 1rem + 2px);
+}
+
+.form-control-color {
+ width: 3rem;
+ height: auto;
+ padding: 0.375rem;
+}
+.form-control-color:not(:disabled):not([readonly]) {
+ cursor: pointer;
+}
+.form-control-color::-moz-color-swatch {
+ height: 1.5em;
+ border-radius: 0.25rem;
+}
+.form-control-color::-webkit-color-swatch {
+ height: 1.5em;
+ border-radius: 0.25rem;
+}
+
+.form-select {
+ display: block;
+ width: 100%;
+ padding: 0.375rem 2.25rem 0.375rem 0.75rem;
+ -moz-padding-start: calc(0.75rem - 3px);
+ font-size: 1rem;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ background-color: #fff;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
+ background-repeat: no-repeat;
+ background-position: right 0.75rem center;
+ background-size: 16px 12px;
+ border: 1px solid #ced4da;
+ border-radius: 0.25rem;
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+ appearance: none;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-select {
+ transition: none;
+ }
+}
+.form-select:focus {
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-select[multiple], .form-select[size]:not([size="1"]) {
+ padding-right: 0.75rem;
+ background-image: none;
+}
+.form-select:disabled {
+ background-color: #e9ecef;
+}
+.form-select:-moz-focusring {
+ color: transparent;
+ text-shadow: 0 0 0 #212529;
+}
+
+.form-select-sm {
+ padding-top: 0.25rem;
+ padding-bottom: 0.25rem;
+ padding-left: 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+
+.form-select-lg {
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+ padding-left: 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+
+.form-check {
+ display: block;
+ min-height: 1.5rem;
+ padding-left: 1.5em;
+ margin-bottom: 0.125rem;
+}
+.form-check .form-check-input {
+ float: left;
+ margin-left: -1.5em;
+}
+
+.form-check-input {
+ width: 1em;
+ height: 1em;
+ margin-top: 0.25em;
+ vertical-align: top;
+ background-color: #fff;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: contain;
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ appearance: none;
+ color-adjust: exact;
+}
+.form-check-input[type=checkbox] {
+ border-radius: 0.25em;
+}
+.form-check-input[type=radio] {
+ border-radius: 50%;
+}
+.form-check-input:active {
+ filter: brightness(90%);
+}
+.form-check-input:focus {
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-check-input:checked {
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.form-check-input:checked[type=checkbox] {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
+}
+.form-check-input:checked[type=radio] {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
+}
+.form-check-input[type=checkbox]:indeterminate {
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
+}
+.form-check-input:disabled {
+ pointer-events: none;
+ filter: none;
+ opacity: 0.5;
+}
+.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
+ opacity: 0.5;
+}
+
+.form-switch {
+ padding-left: 2.5em;
+}
+.form-switch .form-check-input {
+ width: 2em;
+ margin-left: -2.5em;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
+ background-position: left center;
+ border-radius: 2em;
+ transition: background-position 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-switch .form-check-input {
+ transition: none;
+ }
+}
+.form-switch .form-check-input:focus {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23adb0fc'/%3e%3c/svg%3e");
+}
+.form-switch .form-check-input:checked {
+ background-position: right center;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
+}
+
+.form-check-inline {
+ display: inline-block;
+ margin-right: 1rem;
+}
+
+.btn-check {
+ position: absolute;
+ clip: rect(0, 0, 0, 0);
+ pointer-events: none;
+}
+.btn-check[disabled] + .btn, .btn-check:disabled + .btn {
+ pointer-events: none;
+ filter: none;
+ opacity: 0.65;
+}
+
+.form-range {
+ width: 100%;
+ height: 1.5rem;
+ padding: 0;
+ background-color: transparent;
+ appearance: none;
+}
+.form-range:focus {
+ outline: 0;
+}
+.form-range:focus::-webkit-slider-thumb {
+ box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-range:focus::-moz-range-thumb {
+ box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.form-range::-moz-focus-outer {
+ border: 0;
+}
+.form-range::-webkit-slider-thumb {
+ width: 1rem;
+ height: 1rem;
+ margin-top: -0.25rem;
+ background-color: #5a60f9;
+ border: 0;
+ border-radius: 1rem;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+ appearance: none;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-range::-webkit-slider-thumb {
+ transition: none;
+ }
+}
+.form-range::-webkit-slider-thumb:active {
+ background-color: #cecffd;
+}
+.form-range::-webkit-slider-runnable-track {
+ width: 100%;
+ height: 0.5rem;
+ color: transparent;
+ cursor: pointer;
+ background-color: #dee2e6;
+ border-color: transparent;
+ border-radius: 1rem;
+}
+.form-range::-moz-range-thumb {
+ width: 1rem;
+ height: 1rem;
+ background-color: #5a60f9;
+ border: 0;
+ border-radius: 1rem;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+ appearance: none;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-range::-moz-range-thumb {
+ transition: none;
+ }
+}
+.form-range::-moz-range-thumb:active {
+ background-color: #cecffd;
+}
+.form-range::-moz-range-track {
+ width: 100%;
+ height: 0.5rem;
+ color: transparent;
+ cursor: pointer;
+ background-color: #dee2e6;
+ border-color: transparent;
+ border-radius: 1rem;
+}
+.form-range:disabled {
+ pointer-events: none;
+}
+.form-range:disabled::-webkit-slider-thumb {
+ background-color: #adb5bd;
+}
+.form-range:disabled::-moz-range-thumb {
+ background-color: #adb5bd;
+}
+
+.form-floating {
+ position: relative;
+}
+.form-floating > .form-control,
+.form-floating > .form-select {
+ height: calc(3.5rem + 2px);
+ line-height: 1.25;
+}
+.form-floating > label {
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: 100%;
+ padding: 1rem 0.75rem;
+ pointer-events: none;
+ border: 1px solid transparent;
+ transform-origin: 0 0;
+ transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .form-floating > label {
+ transition: none;
+ }
+}
+.form-floating > .form-control {
+ padding: 1rem 0.75rem;
+}
+.form-floating > .form-control::placeholder {
+ color: transparent;
+}
+.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
+ padding-top: 1.625rem;
+ padding-bottom: 0.625rem;
+}
+.form-floating > .form-control:-webkit-autofill {
+ padding-top: 1.625rem;
+ padding-bottom: 0.625rem;
+}
+.form-floating > .form-select {
+ padding-top: 1.625rem;
+ padding-bottom: 0.625rem;
+}
+.form-floating > .form-control:focus ~ label,
+.form-floating > .form-control:not(:placeholder-shown) ~ label,
+.form-floating > .form-select ~ label {
+ opacity: 0.65;
+ transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
+}
+.form-floating > .form-control:-webkit-autofill ~ label {
+ opacity: 0.65;
+ transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
+}
+
+.input-group {
+ position: relative;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: stretch;
+ width: 100%;
+}
+.input-group > .form-control,
+.input-group > .form-select {
+ position: relative;
+ flex: 1 1 auto;
+ width: 1%;
+ min-width: 0;
+}
+.input-group > .form-control:focus,
+.input-group > .form-select:focus {
+ z-index: 3;
+}
+.input-group .btn {
+ position: relative;
+ z-index: 2;
+}
+.input-group .btn:focus {
+ z-index: 3;
+}
+
+.input-group-text {
+ display: flex;
+ align-items: center;
+ padding: 0.375rem 0.75rem;
+ font-size: 1rem;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ text-align: center;
+ white-space: nowrap;
+ background-color: #e9ecef;
+ border: 1px solid #ced4da;
+ border-radius: 0.25rem;
+}
+
+.input-group-lg > .form-control,
+.input-group-lg > .form-select,
+.input-group-lg > .input-group-text,
+.input-group-lg > .btn {
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+
+.input-group-sm > .form-control,
+.input-group-sm > .form-select,
+.input-group-sm > .input-group-text,
+.input-group-sm > .btn {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+
+.input-group-lg > .form-select,
+.input-group-sm > .form-select {
+ padding-right: 3rem;
+}
+
+.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
+.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu),
+.input-group.has-validation > .dropdown-toggle:nth-last-child(n+4) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
+ margin-left: -1px;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.valid-feedback {
+ display: none;
+ width: 100%;
+ margin-top: 0.25rem;
+ font-size: 0.875em;
+ color: #198754;
+}
+
+.valid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ max-width: 100%;
+ padding: 0.25rem 0.5rem;
+ margin-top: 0.1rem;
+ font-size: 0.875rem;
+ color: #fff;
+ background-color: rgba(25, 135, 84, 0.9);
+ border-radius: 0.25rem;
+}
+
+.was-validated :valid ~ .valid-feedback,
+.was-validated :valid ~ .valid-tooltip,
+.is-valid ~ .valid-feedback,
+.is-valid ~ .valid-tooltip {
+ display: block;
+}
+
+.was-validated .form-control:valid, .form-control.is-valid {
+ border-color: #198754;
+ padding-right: calc(1.5em + 0.75rem);
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' 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(0.375em + 0.1875rem) center;
+ background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
+ border-color: #198754;
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
+}
+
+.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
+ padding-right: calc(1.5em + 0.75rem);
+ background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
+}
+
+.was-validated .form-select:valid, .form-select.is-valid {
+ border-color: #198754;
+}
+.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
+ padding-right: 4.125rem;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' 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-position: right 0.75rem center, center right 2.25rem;
+ background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-select:valid:focus, .form-select.is-valid:focus {
+ border-color: #198754;
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
+}
+
+.was-validated .form-check-input:valid, .form-check-input.is-valid {
+ border-color: #198754;
+}
+.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {
+ background-color: #198754;
+}
+.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus {
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
+}
+.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
+ color: #198754;
+}
+
+.form-check-inline .form-check-input ~ .valid-feedback {
+ margin-left: 0.5em;
+}
+
+.was-validated .input-group .form-control:valid, .input-group .form-control.is-valid,
+.was-validated .input-group .form-select:valid,
+.input-group .form-select.is-valid {
+ z-index: 1;
+}
+.was-validated .input-group .form-control:valid:focus, .input-group .form-control.is-valid:focus,
+.was-validated .input-group .form-select:valid:focus,
+.input-group .form-select.is-valid:focus {
+ z-index: 3;
+}
+
+.invalid-feedback {
+ display: none;
+ width: 100%;
+ margin-top: 0.25rem;
+ font-size: 0.875em;
+ color: #f8681c;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ max-width: 100%;
+ padding: 0.25rem 0.5rem;
+ margin-top: 0.1rem;
+ font-size: 0.875rem;
+ color: #000;
+ background-color: rgba(248, 104, 28, 0.9);
+ border-radius: 0.25rem;
+}
+
+.was-validated :invalid ~ .invalid-feedback,
+.was-validated :invalid ~ .invalid-tooltip,
+.is-invalid ~ .invalid-feedback,
+.is-invalid ~ .invalid-tooltip {
+ display: block;
+}
+
+.was-validated .form-control:invalid, .form-control.is-invalid {
+ border-color: #f8681c;
+ padding-right: calc(1.5em + 0.75rem);
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f8681c'%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='%23f8681c' stroke='none'/%3e%3c/svg%3e");
+ background-repeat: no-repeat;
+ background-position: right calc(0.375em + 0.1875rem) center;
+ background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
+ border-color: #f8681c;
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.25);
+}
+
+.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
+ padding-right: calc(1.5em + 0.75rem);
+ background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
+}
+
+.was-validated .form-select:invalid, .form-select.is-invalid {
+ border-color: #f8681c;
+}
+.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] {
+ padding-right: 4.125rem;
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f8681c'%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='%23f8681c' stroke='none'/%3e%3c/svg%3e");
+ background-position: right 0.75rem center, center right 2.25rem;
+ background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
+}
+.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus {
+ border-color: #f8681c;
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.25);
+}
+
+.was-validated .form-check-input:invalid, .form-check-input.is-invalid {
+ border-color: #f8681c;
+}
+.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked {
+ background-color: #f8681c;
+}
+.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.25);
+}
+.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
+ color: #f8681c;
+}
+
+.form-check-inline .form-check-input ~ .invalid-feedback {
+ margin-left: 0.5em;
+}
+
+.was-validated .input-group .form-control:invalid, .input-group .form-control.is-invalid,
+.was-validated .input-group .form-select:invalid,
+.input-group .form-select.is-invalid {
+ z-index: 2;
+}
+.was-validated .input-group .form-control:invalid:focus, .input-group .form-control.is-invalid:focus,
+.was-validated .input-group .form-select:invalid:focus,
+.input-group .form-select.is-invalid:focus {
+ z-index: 3;
+}
+
+.btn {
+ display: inline-block;
+ font-weight: 400;
+ line-height: 1.5;
+ color: #212529;
+ text-align: center;
+ text-decoration: none;
+ vertical-align: middle;
+ cursor: pointer;
+ user-select: none;
+ background-color: transparent;
+ border: 1px solid transparent;
+ padding: 0.375rem 0.75rem;
+ font-size: 1rem;
+ border-radius: 0.25rem;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .btn {
+ transition: none;
+ }
+}
+.btn:hover {
+ color: #212529;
+}
+.btn-check:focus + .btn, .btn:focus {
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+.btn:disabled, .btn.disabled, fieldset:disabled .btn {
+ pointer-events: none;
+ opacity: 0.65;
+}
+
+.btn-primary {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-primary:hover {
+ color: #fff;
+ background-color: #4d52d4;
+ border-color: #484dc7;
+}
+.btn-check:focus + .btn-primary, .btn-primary:focus {
+ color: #fff;
+ background-color: #4d52d4;
+ border-color: #484dc7;
+ box-shadow: 0 0 0 0.25rem rgba(115, 120, 250, 0.5);
+}
+.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
+ color: #fff;
+ background-color: #484dc7;
+ border-color: #4448bb;
+}
+.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(115, 120, 250, 0.5);
+}
+.btn-primary:disabled, .btn-primary.disabled {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+
+.btn-secondary {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-secondary:hover {
+ color: #fff;
+ background-color: #5c636a;
+ border-color: #565e64;
+}
+.btn-check:focus + .btn-secondary, .btn-secondary:focus {
+ color: #fff;
+ background-color: #5c636a;
+ border-color: #565e64;
+ box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
+}
+.btn-check:checked + .btn-secondary, .btn-check:active + .btn-secondary, .btn-secondary:active, .btn-secondary.active, .show > .btn-secondary.dropdown-toggle {
+ color: #fff;
+ background-color: #565e64;
+ border-color: #51585e;
+}
+.btn-check:checked + .btn-secondary:focus, .btn-check:active + .btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus, .show > .btn-secondary.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
+}
+.btn-secondary:disabled, .btn-secondary.disabled {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+
+.btn-success {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+.btn-success:hover {
+ color: #fff;
+ background-color: #157347;
+ border-color: #146c43;
+}
+.btn-check:focus + .btn-success, .btn-success:focus {
+ color: #fff;
+ background-color: #157347;
+ border-color: #146c43;
+ box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5);
+}
+.btn-check:checked + .btn-success, .btn-check:active + .btn-success, .btn-success:active, .btn-success.active, .show > .btn-success.dropdown-toggle {
+ color: #fff;
+ background-color: #146c43;
+ border-color: #13653f;
+}
+.btn-check:checked + .btn-success:focus, .btn-check:active + .btn-success:focus, .btn-success:active:focus, .btn-success.active:focus, .show > .btn-success.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5);
+}
+.btn-success:disabled, .btn-success.disabled {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+
+.btn-info {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-info:hover {
+ color: #000;
+ background-color: #31d2f2;
+ border-color: #25cff2;
+}
+.btn-check:focus + .btn-info, .btn-info:focus {
+ color: #000;
+ background-color: #31d2f2;
+ border-color: #25cff2;
+ box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5);
+}
+.btn-check:checked + .btn-info, .btn-check:active + .btn-info, .btn-info:active, .btn-info.active, .show > .btn-info.dropdown-toggle {
+ color: #000;
+ background-color: #3dd5f3;
+ border-color: #25cff2;
+}
+.btn-check:checked + .btn-info:focus, .btn-check:active + .btn-info:focus, .btn-info:active:focus, .btn-info.active:focus, .show > .btn-info.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5);
+}
+.btn-info:disabled, .btn-info.disabled {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+
+.btn-warning {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-warning:hover {
+ color: #000;
+ background-color: #ffca2c;
+ border-color: #ffc720;
+}
+.btn-check:focus + .btn-warning, .btn-warning:focus {
+ color: #000;
+ background-color: #ffca2c;
+ border-color: #ffc720;
+ box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5);
+}
+.btn-check:checked + .btn-warning, .btn-check:active + .btn-warning, .btn-warning:active, .btn-warning.active, .show > .btn-warning.dropdown-toggle {
+ color: #000;
+ background-color: #ffcd39;
+ border-color: #ffc720;
+}
+.btn-check:checked + .btn-warning:focus, .btn-check:active + .btn-warning:focus, .btn-warning:active:focus, .btn-warning.active:focus, .show > .btn-warning.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5);
+}
+.btn-warning:disabled, .btn-warning.disabled {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+
+.btn-danger {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-danger:hover {
+ color: #000;
+ background-color: #f97f3e;
+ border-color: #f97733;
+}
+.btn-check:focus + .btn-danger, .btn-danger:focus {
+ color: #000;
+ background-color: #f97f3e;
+ border-color: #f97733;
+ box-shadow: 0 0 0 0.25rem rgba(211, 88, 24, 0.5);
+}
+.btn-check:checked + .btn-danger, .btn-check:active + .btn-danger, .btn-danger:active, .btn-danger.active, .show > .btn-danger.dropdown-toggle {
+ color: #000;
+ background-color: #f98649;
+ border-color: #f97733;
+}
+.btn-check:checked + .btn-danger:focus, .btn-check:active + .btn-danger:focus, .btn-danger:active:focus, .btn-danger.active:focus, .show > .btn-danger.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(211, 88, 24, 0.5);
+}
+.btn-danger:disabled, .btn-danger.disabled {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+
+.btn-light {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-light:hover {
+ color: #000;
+ background-color: #f9fafb;
+ border-color: #f9fafb;
+}
+.btn-check:focus + .btn-light, .btn-light:focus {
+ color: #000;
+ background-color: #f9fafb;
+ border-color: #f9fafb;
+ box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5);
+}
+.btn-check:checked + .btn-light, .btn-check:active + .btn-light, .btn-light:active, .btn-light.active, .show > .btn-light.dropdown-toggle {
+ color: #000;
+ background-color: #f9fafb;
+ border-color: #f9fafb;
+}
+.btn-check:checked + .btn-light:focus, .btn-check:active + .btn-light:focus, .btn-light:active:focus, .btn-light.active:focus, .show > .btn-light.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5);
+}
+.btn-light:disabled, .btn-light.disabled {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+
+.btn-dark {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+.btn-dark:hover {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+}
+.btn-check:focus + .btn-dark, .btn-dark:focus {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+ box-shadow: 0 0 0 0.25rem rgba(38, 38, 38, 0.5);
+}
+.btn-check:checked + .btn-dark, .btn-check:active + .btn-dark, .btn-dark:active, .btn-dark.active, .show > .btn-dark.dropdown-toggle {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+}
+.btn-check:checked + .btn-dark:focus, .btn-check:active + .btn-dark:focus, .btn-dark:active:focus, .btn-dark.active:focus, .show > .btn-dark.dropdown-toggle:focus {
+ box-shadow: 0 0 0 0.25rem rgba(38, 38, 38, 0.5);
+}
+.btn-dark:disabled, .btn-dark.disabled {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+
+.btn-outline-primary {
+ color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-outline-primary:hover {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.5);
+}
+.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.5);
+}
+.btn-outline-primary:disabled, .btn-outline-primary.disabled {
+ color: #5a60f9;
+ background-color: transparent;
+}
+
+.btn-outline-secondary {
+ color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-outline-secondary:hover {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-check:focus + .btn-outline-secondary, .btn-outline-secondary:focus {
+ box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5);
+}
+.btn-check:checked + .btn-outline-secondary, .btn-check:active + .btn-outline-secondary, .btn-outline-secondary:active, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.btn-check:checked + .btn-outline-secondary:focus, .btn-check:active + .btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5);
+}
+.btn-outline-secondary:disabled, .btn-outline-secondary.disabled {
+ color: #6c757d;
+ background-color: transparent;
+}
+
+.btn-outline-success {
+ color: #198754;
+ border-color: #198754;
+}
+.btn-outline-success:hover {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+.btn-check:focus + .btn-outline-success, .btn-outline-success:focus {
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5);
+}
+.btn-check:checked + .btn-outline-success, .btn-check:active + .btn-outline-success, .btn-outline-success:active, .btn-outline-success.active, .btn-outline-success.dropdown-toggle.show {
+ color: #fff;
+ background-color: #198754;
+ border-color: #198754;
+}
+.btn-check:checked + .btn-outline-success:focus, .btn-check:active + .btn-outline-success:focus, .btn-outline-success:active:focus, .btn-outline-success.active:focus, .btn-outline-success.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5);
+}
+.btn-outline-success:disabled, .btn-outline-success.disabled {
+ color: #198754;
+ background-color: transparent;
+}
+
+.btn-outline-info {
+ color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-outline-info:hover {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-check:focus + .btn-outline-info, .btn-outline-info:focus {
+ box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5);
+}
+.btn-check:checked + .btn-outline-info, .btn-check:active + .btn-outline-info, .btn-outline-info:active, .btn-outline-info.active, .btn-outline-info.dropdown-toggle.show {
+ color: #000;
+ background-color: #0dcaf0;
+ border-color: #0dcaf0;
+}
+.btn-check:checked + .btn-outline-info:focus, .btn-check:active + .btn-outline-info:focus, .btn-outline-info:active:focus, .btn-outline-info.active:focus, .btn-outline-info.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5);
+}
+.btn-outline-info:disabled, .btn-outline-info.disabled {
+ color: #0dcaf0;
+ background-color: transparent;
+}
+
+.btn-outline-warning {
+ color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-outline-warning:hover {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-check:focus + .btn-outline-warning, .btn-outline-warning:focus {
+ box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
+}
+.btn-check:checked + .btn-outline-warning, .btn-check:active + .btn-outline-warning, .btn-outline-warning:active, .btn-outline-warning.active, .btn-outline-warning.dropdown-toggle.show {
+ color: #000;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.btn-check:checked + .btn-outline-warning:focus, .btn-check:active + .btn-outline-warning:focus, .btn-outline-warning:active:focus, .btn-outline-warning.active:focus, .btn-outline-warning.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
+}
+.btn-outline-warning:disabled, .btn-outline-warning.disabled {
+ color: #ffc107;
+ background-color: transparent;
+}
+
+.btn-outline-danger {
+ color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-outline-danger:hover {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.5);
+}
+.btn-check:checked + .btn-outline-danger, .btn-check:active + .btn-outline-danger, .btn-outline-danger:active, .btn-outline-danger.active, .btn-outline-danger.dropdown-toggle.show {
+ color: #000;
+ background-color: #f8681c;
+ border-color: #f8681c;
+}
+.btn-check:checked + .btn-outline-danger:focus, .btn-check:active + .btn-outline-danger:focus, .btn-outline-danger:active:focus, .btn-outline-danger.active:focus, .btn-outline-danger.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 104, 28, 0.5);
+}
+.btn-outline-danger:disabled, .btn-outline-danger.disabled {
+ color: #f8681c;
+ background-color: transparent;
+}
+
+.btn-outline-light {
+ color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-outline-light:hover {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-check:focus + .btn-outline-light, .btn-outline-light:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5);
+}
+.btn-check:checked + .btn-outline-light, .btn-check:active + .btn-outline-light, .btn-outline-light:active, .btn-outline-light.active, .btn-outline-light.dropdown-toggle.show {
+ color: #000;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.btn-check:checked + .btn-outline-light:focus, .btn-check:active + .btn-outline-light:focus, .btn-outline-light:active:focus, .btn-outline-light.active:focus, .btn-outline-light.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5);
+}
+.btn-outline-light:disabled, .btn-outline-light.disabled {
+ color: #f8f9fa;
+ background-color: transparent;
+}
+
+.btn-outline-dark {
+ color: #000;
+ border-color: #000;
+}
+.btn-outline-dark:hover {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+.btn-check:focus + .btn-outline-dark, .btn-outline-dark:focus {
+ box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.5);
+}
+.btn-check:checked + .btn-outline-dark, .btn-check:active + .btn-outline-dark, .btn-outline-dark:active, .btn-outline-dark.active, .btn-outline-dark.dropdown-toggle.show {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+.btn-check:checked + .btn-outline-dark:focus, .btn-check:active + .btn-outline-dark:focus, .btn-outline-dark:active:focus, .btn-outline-dark.active:focus, .btn-outline-dark.dropdown-toggle.show:focus {
+ box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.5);
+}
+.btn-outline-dark:disabled, .btn-outline-dark.disabled {
+ color: #000;
+ background-color: transparent;
+}
+
+.btn-link {
+ font-weight: 400;
+ color: #5a60f9;
+ text-decoration: underline;
+}
+.btn-link:hover {
+ color: #484dc7;
+}
+.btn-link:disabled, .btn-link.disabled {
+ color: #6c757d;
+}
+
+.btn-lg, .btn-group-lg > .btn {
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ border-radius: 0.3rem;
+}
+
+.btn-sm, .btn-group-sm > .btn {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ border-radius: 0.2rem;
+}
+
+.fade {
+ transition: opacity 0.15s linear;
+}
+@media (prefers-reduced-motion: reduce) {
+ .fade {
+ transition: none;
+ }
+}
+.fade:not(.show) {
+ opacity: 0;
+}
+
+.collapse:not(.show) {
+ display: none;
+}
+
+.collapsing {
+ height: 0;
+ overflow: hidden;
+ transition: height 0.35s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .collapsing {
+ transition: none;
+ }
+}
+.collapsing.collapse-horizontal {
+ width: 0;
+ height: auto;
+ transition: width 0.35s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .collapsing.collapse-horizontal {
+ transition: none;
+ }
+}
+
+.dropup,
+.dropend,
+.dropdown,
+.dropstart {
+ position: relative;
+}
+
+.dropdown-toggle {
+ white-space: nowrap;
+}
+.dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0;
+ border-left: 0.3em solid transparent;
+}
+.dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
+.dropdown-menu {
+ position: absolute;
+ z-index: 1000;
+ display: none;
+ min-width: 10rem;
+ padding: 0.5rem 0;
+ margin: 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, 0.15);
+ border-radius: 0.25rem;
+}
+.dropdown-menu[data-bs-popper] {
+ top: 100%;
+ left: 0;
+ margin-top: 0.125rem;
+}
+
+.dropdown-menu-start {
+ --bs-position: start;
+}
+.dropdown-menu-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+}
+
+.dropdown-menu-end {
+ --bs-position: end;
+}
+.dropdown-menu-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+}
+
+@media (min-width: 576px) {
+ .dropdown-menu-sm-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-sm-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-sm-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-sm-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 768px) {
+ .dropdown-menu-md-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-md-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-md-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-md-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 992px) {
+ .dropdown-menu-lg-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-lg-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-lg-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-lg-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 1200px) {
+ .dropdown-menu-xl-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-xl-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-xl-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-xl-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 1400px) {
+ .dropdown-menu-xxl-start {
+ --bs-position: start;
+ }
+ .dropdown-menu-xxl-start[data-bs-popper] {
+ right: auto;
+ left: 0;
+ }
+
+ .dropdown-menu-xxl-end {
+ --bs-position: end;
+ }
+ .dropdown-menu-xxl-end[data-bs-popper] {
+ right: 0;
+ left: auto;
+ }
+}
+.dropup .dropdown-menu[data-bs-popper] {
+ top: auto;
+ bottom: 100%;
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
+.dropend .dropdown-menu[data-bs-popper] {
+ top: 0;
+ right: auto;
+ left: 100%;
+ margin-top: 0;
+ margin-left: 0.125rem;
+}
+.dropend .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid transparent;
+ border-right: 0;
+ border-bottom: 0.3em solid transparent;
+ border-left: 0.3em solid;
+}
+.dropend .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropend .dropdown-toggle::after {
+ vertical-align: 0;
+}
+
+.dropstart .dropdown-menu[data-bs-popper] {
+ top: 0;
+ right: 100%;
+ left: auto;
+ margin-top: 0;
+ margin-right: 0.125rem;
+}
+.dropstart .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+}
+.dropstart .dropdown-toggle::after {
+ display: none;
+}
+.dropstart .dropdown-toggle::before {
+ display: inline-block;
+ margin-right: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid transparent;
+ border-right: 0.3em solid;
+ border-bottom: 0.3em solid transparent;
+}
+.dropstart .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropstart .dropdown-toggle::before {
+ vertical-align: 0;
+}
+
+.dropdown-divider {
+ height: 0;
+ margin: 0.5rem 0;
+ overflow: hidden;
+ border-top: 1px solid rgba(0, 0, 0, 0.15);
+}
+
+.dropdown-item {
+ display: block;
+ width: 100%;
+ padding: 0.25rem 1rem;
+ clear: both;
+ font-weight: 400;
+ color: #212529;
+ text-align: inherit;
+ text-decoration: none;
+ white-space: nowrap;
+ background-color: transparent;
+ border: 0;
+}
+.dropdown-item:hover, .dropdown-item:focus {
+ color: #1e2125;
+ background-color: #e9ecef;
+}
+.dropdown-item.active, .dropdown-item:active {
+ color: #fff;
+ text-decoration: none;
+ background-color: #5a60f9;
+}
+.dropdown-item.disabled, .dropdown-item:disabled {
+ color: #adb5bd;
+ pointer-events: none;
+ background-color: transparent;
+}
+
+.dropdown-menu.show {
+ display: block;
+}
+
+.dropdown-header {
+ display: block;
+ padding: 0.5rem 1rem;
+ margin-bottom: 0;
+ font-size: 0.875rem;
+ color: #6c757d;
+ white-space: nowrap;
+}
+
+.dropdown-item-text {
+ display: block;
+ padding: 0.25rem 1rem;
+ color: #212529;
+}
+
+.dropdown-menu-dark {
+ color: #dee2e6;
+ background-color: #343a40;
+ border-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu-dark .dropdown-item {
+ color: #dee2e6;
+}
+.dropdown-menu-dark .dropdown-item:hover, .dropdown-menu-dark .dropdown-item:focus {
+ color: #fff;
+ background-color: rgba(255, 255, 255, 0.15);
+}
+.dropdown-menu-dark .dropdown-item.active, .dropdown-menu-dark .dropdown-item:active {
+ color: #fff;
+ background-color: #5a60f9;
+}
+.dropdown-menu-dark .dropdown-item.disabled, .dropdown-menu-dark .dropdown-item:disabled {
+ color: #adb5bd;
+}
+.dropdown-menu-dark .dropdown-divider {
+ border-color: rgba(0, 0, 0, 0.15);
+}
+.dropdown-menu-dark .dropdown-item-text {
+ color: #dee2e6;
+}
+.dropdown-menu-dark .dropdown-header {
+ color: #adb5bd;
+}
+
+.btn-group,
+.btn-group-vertical {
+ position: relative;
+ display: inline-flex;
+ vertical-align: middle;
+}
+.btn-group > .btn,
+.btn-group-vertical > .btn {
+ position: relative;
+ flex: 1 1 auto;
+}
+.btn-group > .btn-check:checked + .btn,
+.btn-group > .btn-check:focus + .btn,
+.btn-group > .btn:hover,
+.btn-group > .btn:focus,
+.btn-group > .btn:active,
+.btn-group > .btn.active,
+.btn-group-vertical > .btn-check:checked + .btn,
+.btn-group-vertical > .btn-check:focus + .btn,
+.btn-group-vertical > .btn:hover,
+.btn-group-vertical > .btn:focus,
+.btn-group-vertical > .btn:active,
+.btn-group-vertical > .btn.active {
+ z-index: 1;
+}
+
+.btn-toolbar {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+}
+.btn-toolbar .input-group {
+ width: auto;
+}
+
+.btn-group > .btn:not(:first-child),
+.btn-group > .btn-group:not(:first-child) {
+ margin-left: -1px;
+}
+.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
+.btn-group > .btn-group:not(:last-child) > .btn {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.btn-group > .btn:nth-child(n+3),
+.btn-group > :not(.btn-check) + .btn,
+.btn-group > .btn-group:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.dropdown-toggle-split {
+ padding-right: 0.5625rem;
+ padding-left: 0.5625rem;
+}
+.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after {
+ margin-left: 0;
+}
+.dropstart .dropdown-toggle-split::before {
+ margin-right: 0;
+}
+
+.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {
+ padding-right: 0.375rem;
+ padding-left: 0.375rem;
+}
+
+.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {
+ padding-right: 0.75rem;
+ padding-left: 0.75rem;
+}
+
+.btn-group-vertical {
+ flex-direction: column;
+ align-items: flex-start;
+ justify-content: center;
+}
+.btn-group-vertical > .btn,
+.btn-group-vertical > .btn-group {
+ width: 100%;
+}
+.btn-group-vertical > .btn:not(:first-child),
+.btn-group-vertical > .btn-group:not(:first-child) {
+ margin-top: -1px;
+}
+.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),
+.btn-group-vertical > .btn-group:not(:last-child) > .btn {
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group-vertical > .btn ~ .btn,
+.btn-group-vertical > .btn-group:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+
+.nav {
+ display: flex;
+ flex-wrap: wrap;
+ padding-left: 0;
+ margin-bottom: 0;
+ list-style: none;
+}
+
+.nav-link {
+ display: block;
+ padding: 0.5rem 1rem;
+ color: #5a60f9;
+ text-decoration: none;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .nav-link {
+ transition: none;
+ }
+}
+.nav-link:hover, .nav-link:focus {
+ color: #484dc7;
+}
+.nav-link.disabled {
+ color: #6c757d;
+ pointer-events: none;
+ cursor: default;
+}
+
+.nav-tabs {
+ border-bottom: 1px solid #dee2e6;
+}
+.nav-tabs .nav-link {
+ margin-bottom: -1px;
+ background: none;
+ border: 1px solid transparent;
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
+ border-color: #e9ecef #e9ecef #dee2e6;
+ isolation: isolate;
+}
+.nav-tabs .nav-link.disabled {
+ color: #6c757d;
+ background-color: transparent;
+ border-color: transparent;
+}
+.nav-tabs .nav-link.active,
+.nav-tabs .nav-item.show .nav-link {
+ 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 {
+ background: none;
+ border: 0;
+ border-radius: 0.25rem;
+}
+.nav-pills .nav-link.active,
+.nav-pills .show > .nav-link {
+ color: #fff;
+ background-color: #5a60f9;
+}
+
+.nav-fill > .nav-link,
+.nav-fill .nav-item {
+ flex: 1 1 auto;
+ text-align: center;
+}
+
+.nav-justified > .nav-link,
+.nav-justified .nav-item {
+ flex-basis: 0;
+ flex-grow: 1;
+ text-align: center;
+}
+
+.nav-fill .nav-item .nav-link,
+.nav-justified .nav-item .nav-link {
+ width: 100%;
+}
+
+.tab-content > .tab-pane {
+ display: none;
+}
+.tab-content > .active {
+ display: block;
+}
+
+.navbar {
+ position: relative;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-between;
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+}
+.navbar > .container,
+.navbar > .container-fluid,
+.navbar > .container-sm,
+.navbar > .container-md,
+.navbar > .container-lg,
+.navbar > .container-xl,
+.navbar > .container-xxl {
+ display: flex;
+ flex-wrap: inherit;
+ align-items: center;
+ justify-content: space-between;
+}
+.navbar-brand {
+ padding-top: 0.3125rem;
+ padding-bottom: 0.3125rem;
+ margin-right: 1rem;
+ font-size: 1.25rem;
+ text-decoration: none;
+ white-space: nowrap;
+}
+.navbar-nav {
+ display: flex;
+ 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;
+}
+
+.navbar-text {
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+}
+
+.navbar-collapse {
+ flex-basis: 100%;
+ flex-grow: 1;
+ align-items: center;
+}
+
+.navbar-toggler {
+ padding: 0.25rem 0.75rem;
+ font-size: 1.25rem;
+ line-height: 1;
+ background-color: transparent;
+ border: 1px solid transparent;
+ border-radius: 0.25rem;
+ transition: box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .navbar-toggler {
+ transition: none;
+ }
+}
+.navbar-toggler:hover {
+ text-decoration: none;
+}
+.navbar-toggler:focus {
+ text-decoration: none;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem;
+}
+
+.navbar-toggler-icon {
+ display: inline-block;
+ width: 1.5em;
+ height: 1.5em;
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: 100%;
+}
+
+.navbar-nav-scroll {
+ max-height: var(--bs-scroll-height, 75vh);
+ overflow-y: auto;
+}
+
+@media (min-width: 576px) {
+ .navbar-expand-sm {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-sm .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-sm .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-sm .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-sm .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-sm .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-sm .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-sm .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-sm .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-sm .offcanvas-top,
+.navbar-expand-sm .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-sm .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 768px) {
+ .navbar-expand-md {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-md .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-md .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-md .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-md .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-md .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-md .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-md .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-md .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-md .offcanvas-top,
+.navbar-expand-md .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-md .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 992px) {
+ .navbar-expand-lg {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-lg .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-lg .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-lg .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-lg .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-lg .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-lg .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-lg .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-lg .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-lg .offcanvas-top,
+.navbar-expand-lg .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-lg .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 1200px) {
+ .navbar-expand-xl {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-xl .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-xl .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-xl .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-xl .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-xl .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-xl .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-xl .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-xl .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-xl .offcanvas-top,
+.navbar-expand-xl .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-xl .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+@media (min-width: 1400px) {
+ .navbar-expand-xxl {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+ .navbar-expand-xxl .navbar-nav {
+ flex-direction: row;
+ }
+ .navbar-expand-xxl .navbar-nav .dropdown-menu {
+ position: absolute;
+ }
+ .navbar-expand-xxl .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+ }
+ .navbar-expand-xxl .navbar-nav-scroll {
+ overflow: visible;
+ }
+ .navbar-expand-xxl .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+ }
+ .navbar-expand-xxl .navbar-toggler {
+ display: none;
+ }
+ .navbar-expand-xxl .offcanvas-header {
+ display: none;
+ }
+ .navbar-expand-xxl .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+ }
+ .navbar-expand-xxl .offcanvas-top,
+.navbar-expand-xxl .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+ }
+ .navbar-expand-xxl .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+ }
+}
+.navbar-expand {
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+}
+.navbar-expand .navbar-nav {
+ flex-direction: row;
+}
+.navbar-expand .navbar-nav .dropdown-menu {
+ position: absolute;
+}
+.navbar-expand .navbar-nav .nav-link {
+ padding-right: 0.5rem;
+ padding-left: 0.5rem;
+}
+.navbar-expand .navbar-nav-scroll {
+ overflow: visible;
+}
+.navbar-expand .navbar-collapse {
+ display: flex !important;
+ flex-basis: auto;
+}
+.navbar-expand .navbar-toggler {
+ display: none;
+}
+.navbar-expand .offcanvas-header {
+ display: none;
+}
+.navbar-expand .offcanvas {
+ position: inherit;
+ bottom: 0;
+ z-index: 1000;
+ flex-grow: 1;
+ visibility: visible !important;
+ background-color: transparent;
+ border-right: 0;
+ border-left: 0;
+ transition: none;
+ transform: none;
+}
+.navbar-expand .offcanvas-top,
+.navbar-expand .offcanvas-bottom {
+ height: auto;
+ border-top: 0;
+ border-bottom: 0;
+}
+.navbar-expand .offcanvas-body {
+ display: flex;
+ flex-grow: 0;
+ padding: 0;
+ overflow-y: visible;
+}
+
+.navbar-light .navbar-brand {
+ color: rgba(0, 0, 0, 0.9);
+}
+.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
+ color: rgba(0, 0, 0, 0.9);
+}
+.navbar-light .navbar-nav .nav-link {
+ color: rgba(0, 0, 0, 0.55);
+}
+.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
+ color: rgba(0, 0, 0, 0.7);
+}
+.navbar-light .navbar-nav .nav-link.disabled {
+ color: rgba(0, 0, 0, 0.3);
+}
+.navbar-light .navbar-nav .show > .nav-link,
+.navbar-light .navbar-nav .nav-link.active {
+ color: rgba(0, 0, 0, 0.9);
+}
+.navbar-light .navbar-toggler {
+ color: rgba(0, 0, 0, 0.55);
+ border-color: rgba(0, 0, 0, 0.1);
+}
+.navbar-light .navbar-toggler-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%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, 0.55);
+}
+.navbar-light .navbar-text a,
+.navbar-light .navbar-text a:hover,
+.navbar-light .navbar-text a:focus {
+ color: rgba(0, 0, 0, 0.9);
+}
+
+.navbar-dark .navbar-brand {
+ color: #fff;
+}
+.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {
+ color: #fff;
+}
+.navbar-dark .navbar-nav .nav-link {
+ color: rgba(255, 255, 255, 0.55);
+}
+.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
+ color: rgba(255, 255, 255, 0.75);
+}
+.navbar-dark .navbar-nav .nav-link.disabled {
+ color: rgba(255, 255, 255, 0.25);
+}
+.navbar-dark .navbar-nav .show > .nav-link,
+.navbar-dark .navbar-nav .nav-link.active {
+ color: #fff;
+}
+.navbar-dark .navbar-toggler {
+ color: rgba(255, 255, 255, 0.55);
+ border-color: rgba(255, 255, 255, 0.1);
+}
+.navbar-dark .navbar-toggler-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%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, 0.55);
+}
+.navbar-dark .navbar-text a,
+.navbar-dark .navbar-text a:hover,
+.navbar-dark .navbar-text a:focus {
+ color: #fff;
+}
+
+.card {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ min-width: 0;
+ word-wrap: break-word;
+ background-color: #fff;
+ background-clip: border-box;
+ border: 1px solid rgba(0, 0, 0, 0.125);
+ border-radius: 0.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(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+.card > .list-group:last-child {
+ border-bottom-width: 0;
+ border-bottom-right-radius: calc(0.25rem - 1px);
+ border-bottom-left-radius: calc(0.25rem - 1px);
+}
+.card > .card-header + .list-group,
+.card > .list-group + .card-footer {
+ border-top: 0;
+}
+
+.card-body {
+ flex: 1 1 auto;
+ padding: 1rem 1rem;
+}
+
+.card-title {
+ margin-bottom: 0.5rem;
+}
+
+.card-subtitle {
+ margin-top: -0.25rem;
+ margin-bottom: 0;
+}
+
+.card-text:last-child {
+ margin-bottom: 0;
+}
+
+.card-link + .card-link {
+ margin-left: 1rem;
+}
+
+.card-header {
+ padding: 0.5rem 1rem;
+ margin-bottom: 0;
+ background-color: rgba(0, 0, 0, 0.03);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.125);
+}
+.card-header:first-child {
+ border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
+}
+
+.card-footer {
+ padding: 0.5rem 1rem;
+ background-color: rgba(0, 0, 0, 0.03);
+ border-top: 1px solid rgba(0, 0, 0, 0.125);
+}
+.card-footer:last-child {
+ border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
+}
+
+.card-header-tabs {
+ margin-right: -0.5rem;
+ margin-bottom: -0.5rem;
+ margin-left: -0.5rem;
+ border-bottom: 0;
+}
+
+.card-header-pills {
+ margin-right: -0.5rem;
+ margin-left: -0.5rem;
+}
+
+.card-img-overlay {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ padding: 1rem;
+ border-radius: calc(0.25rem - 1px);
+}
+
+.card-img,
+.card-img-top,
+.card-img-bottom {
+ width: 100%;
+}
+
+.card-img,
+.card-img-top {
+ border-top-left-radius: calc(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+
+.card-img,
+.card-img-bottom {
+ border-bottom-right-radius: calc(0.25rem - 1px);
+ border-bottom-left-radius: calc(0.25rem - 1px);
+}
+
+.card-group > .card {
+ margin-bottom: 0.75rem;
+}
+@media (min-width: 576px) {
+ .card-group {
+ display: flex;
+ flex-flow: row wrap;
+ }
+ .card-group > .card {
+ 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-img-top,
+.card-group > .card:not(:last-child) .card-header {
+ border-top-right-radius: 0;
+ }
+ .card-group > .card:not(:last-child) .card-img-bottom,
+.card-group > .card:not(:last-child) .card-footer {
+ 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-img-top,
+.card-group > .card:not(:first-child) .card-header {
+ border-top-left-radius: 0;
+ }
+ .card-group > .card:not(:first-child) .card-img-bottom,
+.card-group > .card:not(:first-child) .card-footer {
+ border-bottom-left-radius: 0;
+ }
+}
+
+.accordion-button {
+ position: relative;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ padding: 1rem 1.25rem;
+ font-size: 1rem;
+ color: #212529;
+ text-align: left;
+ background-color: #fff;
+ border: 0;
+ border-radius: 0;
+ overflow-anchor: none;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .accordion-button {
+ transition: none;
+ }
+}
+.accordion-button:not(.collapsed) {
+ color: #5156e0;
+ background-color: #efeffe;
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
+}
+.accordion-button:not(.collapsed)::after {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235156e0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
+ transform: rotate(-180deg);
+}
+.accordion-button::after {
+ flex-shrink: 0;
+ width: 1.25rem;
+ height: 1.25rem;
+ margin-left: auto;
+ content: "";
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
+ background-repeat: no-repeat;
+ background-size: 1.25rem;
+ transition: transform 0.2s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .accordion-button::after {
+ transition: none;
+ }
+}
+.accordion-button:hover {
+ z-index: 2;
+}
+.accordion-button:focus {
+ z-index: 3;
+ border-color: #adb0fc;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+
+.accordion-header {
+ margin-bottom: 0;
+}
+
+.accordion-item {
+ background-color: #fff;
+ border: 1px solid rgba(0, 0, 0, 0.125);
+}
+.accordion-item:first-of-type {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+.accordion-item:first-of-type .accordion-button {
+ border-top-left-radius: calc(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+.accordion-item:not(:first-of-type) {
+ border-top: 0;
+}
+.accordion-item:last-of-type {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+.accordion-item:last-of-type .accordion-button.collapsed {
+ border-bottom-right-radius: calc(0.25rem - 1px);
+ border-bottom-left-radius: calc(0.25rem - 1px);
+}
+.accordion-item:last-of-type .accordion-collapse {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
+.accordion-body {
+ padding: 1rem 1.25rem;
+}
+
+.accordion-flush .accordion-collapse {
+ border-width: 0;
+}
+.accordion-flush .accordion-item {
+ border-right: 0;
+ border-left: 0;
+ border-radius: 0;
+}
+.accordion-flush .accordion-item:first-child {
+ border-top: 0;
+}
+.accordion-flush .accordion-item:last-child {
+ border-bottom: 0;
+}
+.accordion-flush .accordion-item .accordion-button {
+ border-radius: 0;
+}
+
+.breadcrumb {
+ display: flex;
+ flex-wrap: wrap;
+ padding: 0 0;
+ margin-bottom: 1rem;
+ list-style: none;
+}
+
+.breadcrumb-item + .breadcrumb-item {
+ padding-left: 0.5rem;
+}
+.breadcrumb-item + .breadcrumb-item::before {
+ float: left;
+ padding-right: 0.5rem;
+ color: #6c757d;
+ content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */;
+}
+.breadcrumb-item.active {
+ color: #6c757d;
+}
+
+.pagination {
+ display: flex;
+ padding-left: 0;
+ list-style: none;
+}
+
+.page-link {
+ position: relative;
+ display: block;
+ color: #5a60f9;
+ text-decoration: none;
+ background-color: #fff;
+ border: 1px solid #dee2e6;
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .page-link {
+ transition: none;
+ }
+}
+.page-link:hover {
+ z-index: 2;
+ color: #484dc7;
+ background-color: #e9ecef;
+ border-color: #dee2e6;
+}
+.page-link:focus {
+ z-index: 3;
+ color: #484dc7;
+ background-color: #e9ecef;
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+}
+
+.page-item:not(:first-child) .page-link {
+ margin-left: -1px;
+}
+.page-item.active .page-link {
+ z-index: 3;
+ color: #fff;
+ background-color: #5a60f9;
+ border-color: #5a60f9;
+}
+.page-item.disabled .page-link {
+ color: #6c757d;
+ pointer-events: none;
+ background-color: #fff;
+ border-color: #dee2e6;
+}
+
+.page-link {
+ padding: 0.375rem 0.75rem;
+}
+
+.page-item:first-child .page-link {
+ border-top-left-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+.page-item:last-child .page-link {
+ border-top-right-radius: 0.25rem;
+ border-bottom-right-radius: 0.25rem;
+}
+
+.pagination-lg .page-link {
+ padding: 0.75rem 1.5rem;
+ font-size: 1.25rem;
+}
+.pagination-lg .page-item:first-child .page-link {
+ border-top-left-radius: 0.3rem;
+ border-bottom-left-radius: 0.3rem;
+}
+.pagination-lg .page-item:last-child .page-link {
+ border-top-right-radius: 0.3rem;
+ border-bottom-right-radius: 0.3rem;
+}
+
+.pagination-sm .page-link {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+}
+.pagination-sm .page-item:first-child .page-link {
+ border-top-left-radius: 0.2rem;
+ border-bottom-left-radius: 0.2rem;
+}
+.pagination-sm .page-item:last-child .page-link {
+ border-top-right-radius: 0.2rem;
+ border-bottom-right-radius: 0.2rem;
+}
+
+.badge {
+ display: inline-block;
+ padding: 0.35em 0.65em;
+ font-size: 0.75em;
+ font-weight: 700;
+ line-height: 1;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: 0.25rem;
+}
+.badge:empty {
+ display: none;
+}
+
+.btn .badge {
+ position: relative;
+ top: -1px;
+}
+
+.alert {
+ position: relative;
+ padding: 1rem 1rem;
+ margin-bottom: 1rem;
+ border: 1px solid transparent;
+ border-radius: 0.25rem;
+}
+
+.alert-heading {
+ color: inherit;
+}
+
+.alert-link {
+ font-weight: 700;
+}
+
+.alert-dismissible {
+ padding-right: 3rem;
+}
+.alert-dismissible .btn-close {
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 2;
+ padding: 1.25rem 1rem;
+}
+
+.alert-primary {
+ color: #363a95;
+ background-color: #dedffe;
+ border-color: #cecffd;
+}
+.alert-primary .alert-link {
+ color: #2b2e77;
+}
+
+.alert-secondary {
+ color: #41464b;
+ background-color: #e2e3e5;
+ border-color: #d3d6d8;
+}
+.alert-secondary .alert-link {
+ color: #34383c;
+}
+
+.alert-success {
+ color: #0f5132;
+ background-color: #d1e7dd;
+ border-color: #badbcc;
+}
+.alert-success .alert-link {
+ color: #0c4128;
+}
+
+.alert-info {
+ color: #055160;
+ background-color: #cff4fc;
+ border-color: #b6effb;
+}
+.alert-info .alert-link {
+ color: #04414d;
+}
+
+.alert-warning {
+ color: #664d03;
+ background-color: #fff3cd;
+ border-color: #ffecb5;
+}
+.alert-warning .alert-link {
+ color: #523e02;
+}
+
+.alert-danger {
+ color: #953e11;
+ background-color: #fee1d2;
+ border-color: #fdd2bb;
+}
+.alert-danger .alert-link {
+ color: #77320e;
+}
+
+.alert-light {
+ color: #636464;
+ background-color: #fefefe;
+ border-color: #fdfdfe;
+}
+.alert-light .alert-link {
+ color: #4f5050;
+}
+
+.alert-dark {
+ color: black;
+ background-color: #cccccc;
+ border-color: #b3b3b3;
+}
+.alert-dark .alert-link {
+ color: black;
+}
+
+@keyframes progress-bar-stripes {
+ 0% {
+ background-position-x: 1rem;
+ }
+}
+.progress {
+ display: flex;
+ height: 1rem;
+ overflow: hidden;
+ font-size: 0.75rem;
+ background-color: #e9ecef;
+ border-radius: 0.25rem;
+}
+
+.progress-bar {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ overflow: hidden;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ background-color: #5a60f9;
+ transition: width 0.6s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .progress-bar {
+ transition: none;
+ }
+}
+
+.progress-bar-striped {
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-size: 1rem 1rem;
+}
+
+.progress-bar-animated {
+ animation: 1s linear infinite progress-bar-stripes;
+}
+@media (prefers-reduced-motion: reduce) {
+ .progress-bar-animated {
+ animation: none;
+ }
+}
+
+.list-group {
+ display: flex;
+ flex-direction: column;
+ padding-left: 0;
+ margin-bottom: 0;
+ border-radius: 0.25rem;
+}
+
+.list-group-numbered {
+ list-style-type: none;
+ counter-reset: section;
+}
+.list-group-numbered > li::before {
+ content: counters(section, ".") ". ";
+ counter-increment: section;
+}
+
+.list-group-item-action {
+ width: 100%;
+ color: #495057;
+ text-align: inherit;
+}
+.list-group-item-action:hover, .list-group-item-action:focus {
+ 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: 0.5rem 1rem;
+ color: #212529;
+ text-decoration: none;
+ background-color: #fff;
+ border: 1px solid rgba(0, 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: #5a60f9;
+ border-color: #5a60f9;
+}
+.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 {
+ flex-direction: row;
+}
+.list-group-horizontal > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+}
+.list-group-horizontal > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-sm > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-sm > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-md > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-md > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-lg > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-lg > .list-group-item:last-child {
+ border-top-right-radius: 0.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 {
+ flex-direction: row;
+ }
+ .list-group-horizontal-xl > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-xl > .list-group-item:last-child {
+ border-top-right-radius: 0.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;
+ }
+}
+@media (min-width: 1400px) {
+ .list-group-horizontal-xxl {
+ flex-direction: row;
+ }
+ .list-group-horizontal-xxl > .list-group-item:first-child {
+ border-bottom-left-radius: 0.25rem;
+ border-top-right-radius: 0;
+ }
+ .list-group-horizontal-xxl > .list-group-item:last-child {
+ border-top-right-radius: 0.25rem;
+ border-bottom-left-radius: 0;
+ }
+ .list-group-horizontal-xxl > .list-group-item.active {
+ margin-top: 0;
+ }
+ .list-group-horizontal-xxl > .list-group-item + .list-group-item {
+ border-top-width: 1px;
+ border-left-width: 0;
+ }
+ .list-group-horizontal-xxl > .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: #363a95;
+ background-color: #dedffe;
+}
+.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
+ color: #363a95;
+ background-color: #c8c9e5;
+}
+.list-group-item-primary.list-group-item-action.active {
+ color: #fff;
+ background-color: #363a95;
+ border-color: #363a95;
+}
+
+.list-group-item-secondary {
+ color: #41464b;
+ background-color: #e2e3e5;
+}
+.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus {
+ color: #41464b;
+ background-color: #cbccce;
+}
+.list-group-item-secondary.list-group-item-action.active {
+ color: #fff;
+ background-color: #41464b;
+ border-color: #41464b;
+}
+
+.list-group-item-success {
+ color: #0f5132;
+ background-color: #d1e7dd;
+}
+.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus {
+ color: #0f5132;
+ background-color: #bcd0c7;
+}
+.list-group-item-success.list-group-item-action.active {
+ color: #fff;
+ background-color: #0f5132;
+ border-color: #0f5132;
+}
+
+.list-group-item-info {
+ color: #055160;
+ background-color: #cff4fc;
+}
+.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus {
+ color: #055160;
+ background-color: #badce3;
+}
+.list-group-item-info.list-group-item-action.active {
+ color: #fff;
+ background-color: #055160;
+ border-color: #055160;
+}
+
+.list-group-item-warning {
+ color: #664d03;
+ background-color: #fff3cd;
+}
+.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus {
+ color: #664d03;
+ background-color: #e6dbb9;
+}
+.list-group-item-warning.list-group-item-action.active {
+ color: #fff;
+ background-color: #664d03;
+ border-color: #664d03;
+}
+
+.list-group-item-danger {
+ color: #953e11;
+ background-color: #fee1d2;
+}
+.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus {
+ color: #953e11;
+ background-color: #e5cbbd;
+}
+.list-group-item-danger.list-group-item-action.active {
+ color: #fff;
+ background-color: #953e11;
+ border-color: #953e11;
+}
+
+.list-group-item-light {
+ color: #636464;
+ background-color: #fefefe;
+}
+.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus {
+ color: #636464;
+ background-color: #e5e5e5;
+}
+.list-group-item-light.list-group-item-action.active {
+ color: #fff;
+ background-color: #636464;
+ border-color: #636464;
+}
+
+.list-group-item-dark {
+ color: black;
+ background-color: #cccccc;
+}
+.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus {
+ color: black;
+ background-color: #b8b8b8;
+}
+.list-group-item-dark.list-group-item-action.active {
+ color: #fff;
+ background-color: black;
+ border-color: black;
+}
+
+.btn-close {
+ box-sizing: content-box;
+ width: 1em;
+ height: 1em;
+ padding: 0.25em 0.25em;
+ color: #000;
+ background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
+ border: 0;
+ border-radius: 0.25rem;
+ opacity: 0.5;
+}
+.btn-close:hover {
+ color: #000;
+ text-decoration: none;
+ opacity: 0.75;
+}
+.btn-close:focus {
+ outline: 0;
+ box-shadow: 0 0 0 0.25rem rgba(90, 96, 249, 0.25);
+ opacity: 1;
+}
+.btn-close:disabled, .btn-close.disabled {
+ pointer-events: none;
+ user-select: none;
+ opacity: 0.25;
+}
+
+.btn-close-white {
+ filter: invert(1) grayscale(100%) brightness(200%);
+}
+
+.toast {
+ width: 350px;
+ max-width: 100%;
+ font-size: 0.875rem;
+ pointer-events: auto;
+ background-color: rgba(255, 255, 255, 0.85);
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
+ border-radius: 0.25rem;
+}
+.toast.showing {
+ opacity: 0;
+}
+.toast:not(.show) {
+ display: none;
+}
+
+.toast-container {
+ width: max-content;
+ max-width: 100%;
+ pointer-events: none;
+}
+.toast-container > :not(:last-child) {
+ margin-bottom: 0.75rem;
+}
+
+.toast-header {
+ display: flex;
+ align-items: center;
+ padding: 0.5rem 0.75rem;
+ color: #6c757d;
+ background-color: rgba(255, 255, 255, 0.85);
+ background-clip: padding-box;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+ border-top-left-radius: calc(0.25rem - 1px);
+ border-top-right-radius: calc(0.25rem - 1px);
+}
+.toast-header .btn-close {
+ margin-right: -0.375rem;
+ margin-left: 0.75rem;
+}
+
+.toast-body {
+ padding: 0.75rem;
+ word-wrap: break-word;
+}
+
+.modal {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 1055;
+ display: none;
+ width: 100%;
+ height: 100%;
+ overflow-x: hidden;
+ overflow-y: auto;
+ outline: 0;
+}
+
+.modal-dialog {
+ position: relative;
+ width: auto;
+ margin: 0.5rem;
+ pointer-events: none;
+}
+.modal.fade .modal-dialog {
+ transition: transform 0.3s ease-out;
+ transform: translate(0, -50px);
+}
+@media (prefers-reduced-motion: reduce) {
+ .modal.fade .modal-dialog {
+ transition: none;
+ }
+}
+.modal.show .modal-dialog {
+ transform: none;
+}
+.modal.modal-static .modal-dialog {
+ transform: scale(1.02);
+}
+
+.modal-dialog-scrollable {
+ height: calc(100% - 1rem);
+}
+.modal-dialog-scrollable .modal-content {
+ max-height: 100%;
+ overflow: hidden;
+}
+.modal-dialog-scrollable .modal-body {
+ overflow-y: auto;
+}
+
+.modal-dialog-centered {
+ display: flex;
+ align-items: center;
+ min-height: calc(100% - 1rem);
+}
+
+.modal-content {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ pointer-events: auto;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 0.3rem;
+ outline: 0;
+}
+
+.modal-backdrop {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 1050;
+ width: 100vw;
+ height: 100vh;
+ background-color: #000;
+}
+.modal-backdrop.fade {
+ opacity: 0;
+}
+.modal-backdrop.show {
+ opacity: 0.5;
+}
+
+.modal-header {
+ display: flex;
+ flex-shrink: 0;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1rem 1rem;
+ border-bottom: 1px solid #dee2e6;
+ border-top-left-radius: calc(0.3rem - 1px);
+ border-top-right-radius: calc(0.3rem - 1px);
+}
+.modal-header .btn-close {
+ padding: 0.5rem 0.5rem;
+ margin: -0.5rem -0.5rem -0.5rem auto;
+}
+
+.modal-title {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.modal-body {
+ position: relative;
+ flex: 1 1 auto;
+ padding: 1rem;
+}
+
+.modal-footer {
+ display: flex;
+ flex-wrap: wrap;
+ flex-shrink: 0;
+ align-items: center;
+ justify-content: flex-end;
+ padding: 0.75rem;
+ border-top: 1px solid #dee2e6;
+ border-bottom-right-radius: calc(0.3rem - 1px);
+ border-bottom-left-radius: calc(0.3rem - 1px);
+}
+.modal-footer > * {
+ margin: 0.25rem;
+}
+
+@media (min-width: 576px) {
+ .modal-dialog {
+ max-width: 500px;
+ margin: 1.75rem auto;
+ }
+
+ .modal-dialog-scrollable {
+ height: calc(100% - 3.5rem);
+ }
+
+ .modal-dialog-centered {
+ min-height: calc(100% - 3.5rem);
+ }
+
+ .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;
+ }
+}
+.modal-fullscreen {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+}
+.modal-fullscreen .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+}
+.modal-fullscreen .modal-header {
+ border-radius: 0;
+}
+.modal-fullscreen .modal-body {
+ overflow-y: auto;
+}
+.modal-fullscreen .modal-footer {
+ border-radius: 0;
+}
+
+@media (max-width: 575.98px) {
+ .modal-fullscreen-sm-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-sm-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-sm-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-sm-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-sm-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 767.98px) {
+ .modal-fullscreen-md-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-md-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-md-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-md-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-md-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 991.98px) {
+ .modal-fullscreen-lg-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-lg-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-lg-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-lg-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-lg-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 1199.98px) {
+ .modal-fullscreen-xl-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-xl-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-xl-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-xl-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-xl-down .modal-footer {
+ border-radius: 0;
+ }
+}
+@media (max-width: 1399.98px) {
+ .modal-fullscreen-xxl-down {
+ width: 100vw;
+ max-width: none;
+ height: 100%;
+ margin: 0;
+ }
+ .modal-fullscreen-xxl-down .modal-content {
+ height: 100%;
+ border: 0;
+ border-radius: 0;
+ }
+ .modal-fullscreen-xxl-down .modal-header {
+ border-radius: 0;
+ }
+ .modal-fullscreen-xxl-down .modal-body {
+ overflow-y: auto;
+ }
+ .modal-fullscreen-xxl-down .modal-footer {
+ border-radius: 0;
+ }
+}
+.tooltip {
+ position: absolute;
+ z-index: 1080;
+ display: block;
+ margin: 0;
+ font-family: var(--bs-font-sans-serif);
+ 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: 0.875rem;
+ word-wrap: break-word;
+ opacity: 0;
+}
+.tooltip.show {
+ opacity: 0.9;
+}
+.tooltip .tooltip-arrow {
+ position: absolute;
+ display: block;
+ width: 0.8rem;
+ height: 0.4rem;
+}
+.tooltip .tooltip-arrow::before {
+ position: absolute;
+ content: "";
+ border-color: transparent;
+ border-style: solid;
+}
+
+.bs-tooltip-top, .bs-tooltip-auto[data-popper-placement^=top] {
+ padding: 0.4rem 0;
+}
+.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
+ bottom: 0;
+}
+.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
+ top: -1px;
+ border-width: 0.4rem 0.4rem 0;
+ border-top-color: #000;
+}
+
+.bs-tooltip-end, .bs-tooltip-auto[data-popper-placement^=right] {
+ padding: 0 0.4rem;
+}
+.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {
+ left: 0;
+ width: 0.4rem;
+ height: 0.8rem;
+}
+.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
+ right: -1px;
+ border-width: 0.4rem 0.4rem 0.4rem 0;
+ border-right-color: #000;
+}
+
+.bs-tooltip-bottom, .bs-tooltip-auto[data-popper-placement^=bottom] {
+ padding: 0.4rem 0;
+}
+.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {
+ top: 0;
+}
+.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
+ bottom: -1px;
+ border-width: 0 0.4rem 0.4rem;
+ border-bottom-color: #000;
+}
+
+.bs-tooltip-start, .bs-tooltip-auto[data-popper-placement^=left] {
+ padding: 0 0.4rem;
+}
+.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {
+ right: 0;
+ width: 0.4rem;
+ height: 0.8rem;
+}
+.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
+ left: -1px;
+ border-width: 0.4rem 0 0.4rem 0.4rem;
+ border-left-color: #000;
+}
+
+.tooltip-inner {
+ max-width: 200px;
+ padding: 0.25rem 0.5rem;
+ color: #fff;
+ text-align: center;
+ background-color: #000;
+ border-radius: 0.25rem;
+}
+
+.popover {
+ position: absolute;
+ top: 0;
+ left: 0 /* rtl:ignore */;
+ z-index: 1070;
+ display: block;
+ max-width: 276px;
+ font-family: var(--bs-font-sans-serif);
+ 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: 0.875rem;
+ word-wrap: break-word;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 0.3rem;
+}
+.popover .popover-arrow {
+ position: absolute;
+ display: block;
+ width: 1rem;
+ height: 0.5rem;
+}
+.popover .popover-arrow::before, .popover .popover-arrow::after {
+ position: absolute;
+ display: block;
+ content: "";
+ border-color: transparent;
+ border-style: solid;
+}
+
+.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {
+ bottom: calc(-0.5rem - 1px);
+}
+.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {
+ bottom: 0;
+ border-width: 0.5rem 0.5rem 0;
+ border-top-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
+ bottom: 1px;
+ border-width: 0.5rem 0.5rem 0;
+ border-top-color: #fff;
+}
+
+.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {
+ left: calc(-0.5rem - 1px);
+ width: 0.5rem;
+ height: 1rem;
+}
+.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {
+ left: 0;
+ border-width: 0.5rem 0.5rem 0.5rem 0;
+ border-right-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
+ left: 1px;
+ border-width: 0.5rem 0.5rem 0.5rem 0;
+ border-right-color: #fff;
+}
+
+.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {
+ top: calc(-0.5rem - 1px);
+}
+.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {
+ top: 0;
+ border-width: 0 0.5rem 0.5rem 0.5rem;
+ border-bottom-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
+ top: 1px;
+ border-width: 0 0.5rem 0.5rem 0.5rem;
+ border-bottom-color: #fff;
+}
+.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ display: block;
+ width: 1rem;
+ margin-left: -0.5rem;
+ content: "";
+ border-bottom: 1px solid #f0f0f0;
+}
+
+.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {
+ right: calc(-0.5rem - 1px);
+ width: 0.5rem;
+ height: 1rem;
+}
+.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {
+ right: 0;
+ border-width: 0.5rem 0 0.5rem 0.5rem;
+ border-left-color: rgba(0, 0, 0, 0.25);
+}
+.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
+ right: 1px;
+ border-width: 0.5rem 0 0.5rem 0.5rem;
+ border-left-color: #fff;
+}
+
+.popover-header {
+ padding: 0.5rem 1rem;
+ margin-bottom: 0;
+ font-size: 1rem;
+ background-color: #f0f0f0;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ border-top-left-radius: calc(0.3rem - 1px);
+ border-top-right-radius: calc(0.3rem - 1px);
+}
+.popover-header:empty {
+ display: none;
+}
+
+.popover-body {
+ padding: 1rem 1rem;
+ color: #212529;
+}
+
+.carousel {
+ position: relative;
+}
+
+.carousel.pointer-event {
+ 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%;
+ backface-visibility: hidden;
+ transition: transform 0.6s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-item {
+ transition: none;
+ }
+}
+
+.carousel-item.active,
+.carousel-item-next,
+.carousel-item-prev {
+ display: block;
+}
+
+/* rtl:begin:ignore */
+.carousel-item-next:not(.carousel-item-start),
+.active.carousel-item-end {
+ transform: translateX(100%);
+}
+
+.carousel-item-prev:not(.carousel-item-end),
+.active.carousel-item-start {
+ transform: translateX(-100%);
+}
+
+/* rtl:end:ignore */
+.carousel-fade .carousel-item {
+ opacity: 0;
+ transition-property: opacity;
+ transform: none;
+}
+.carousel-fade .carousel-item.active,
+.carousel-fade .carousel-item-next.carousel-item-start,
+.carousel-fade .carousel-item-prev.carousel-item-end {
+ z-index: 1;
+ opacity: 1;
+}
+.carousel-fade .active.carousel-item-start,
+.carousel-fade .active.carousel-item-end {
+ z-index: 0;
+ opacity: 0;
+ transition: opacity 0s 0.6s;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-fade .active.carousel-item-start,
+.carousel-fade .active.carousel-item-end {
+ transition: none;
+ }
+}
+
+.carousel-control-prev,
+.carousel-control-next {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 15%;
+ padding: 0;
+ color: #fff;
+ text-align: center;
+ background: none;
+ border: 0;
+ opacity: 0.5;
+ transition: opacity 0.15s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-control-prev,
+.carousel-control-next {
+ transition: none;
+ }
+}
+.carousel-control-prev:hover, .carousel-control-prev:focus,
+.carousel-control-next:hover,
+.carousel-control-next:focus {
+ color: #fff;
+ text-decoration: none;
+ outline: 0;
+ opacity: 0.9;
+}
+
+.carousel-control-prev {
+ left: 0;
+}
+
+.carousel-control-next {
+ right: 0;
+}
+
+.carousel-control-prev-icon,
+.carousel-control-next-icon {
+ display: inline-block;
+ width: 2rem;
+ height: 2rem;
+ background-repeat: no-repeat;
+ background-position: 50%;
+ background-size: 100% 100%;
+}
+
+/* rtl:options: {
+ "autoRename": true,
+ "stringMap":[ {
+ "name" : "prev-next",
+ "search" : "prev",
+ "replace" : "next"
+ } ]
+} */
+.carousel-control-prev-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
+}
+
+.carousel-control-next-icon {
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
+}
+
+.carousel-indicators {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 2;
+ display: flex;
+ justify-content: center;
+ padding: 0;
+ margin-right: 15%;
+ margin-bottom: 1rem;
+ margin-left: 15%;
+ list-style: none;
+}
+.carousel-indicators [data-bs-target] {
+ box-sizing: content-box;
+ flex: 0 1 auto;
+ width: 30px;
+ height: 3px;
+ padding: 0;
+ margin-right: 3px;
+ margin-left: 3px;
+ text-indent: -999px;
+ cursor: pointer;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 0;
+ border-top: 10px solid transparent;
+ border-bottom: 10px solid transparent;
+ opacity: 0.5;
+ transition: opacity 0.6s ease;
+}
+@media (prefers-reduced-motion: reduce) {
+ .carousel-indicators [data-bs-target] {
+ transition: none;
+ }
+}
+.carousel-indicators .active {
+ opacity: 1;
+}
+
+.carousel-caption {
+ position: absolute;
+ right: 15%;
+ bottom: 1.25rem;
+ left: 15%;
+ padding-top: 1.25rem;
+ padding-bottom: 1.25rem;
+ color: #fff;
+ text-align: center;
+}
+
+.carousel-dark .carousel-control-prev-icon,
+.carousel-dark .carousel-control-next-icon {
+ filter: invert(1) grayscale(100);
+}
+.carousel-dark .carousel-indicators [data-bs-target] {
+ background-color: #000;
+}
+.carousel-dark .carousel-caption {
+ color: #000;
+}
+
+@keyframes spinner-border {
+ to {
+ transform: rotate(360deg) /* rtl:ignore */;
+ }
+}
+.spinner-border {
+ display: inline-block;
+ width: 2rem;
+ height: 2rem;
+ vertical-align: -0.125em;
+ border: 0.25em solid currentColor;
+ border-right-color: transparent;
+ border-radius: 50%;
+ animation: 0.75s linear infinite spinner-border;
+}
+
+.spinner-border-sm {
+ width: 1rem;
+ height: 1rem;
+ border-width: 0.2em;
+}
+
+@keyframes spinner-grow {
+ 0% {
+ transform: scale(0);
+ }
+ 50% {
+ opacity: 1;
+ transform: none;
+ }
+}
+.spinner-grow {
+ display: inline-block;
+ width: 2rem;
+ height: 2rem;
+ vertical-align: -0.125em;
+ background-color: currentColor;
+ border-radius: 50%;
+ opacity: 0;
+ animation: 0.75s linear infinite spinner-grow;
+}
+
+.spinner-grow-sm {
+ width: 1rem;
+ height: 1rem;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .spinner-border,
+.spinner-grow {
+ animation-duration: 1.5s;
+ }
+}
+.offcanvas {
+ position: fixed;
+ bottom: 0;
+ z-index: 1045;
+ display: flex;
+ flex-direction: column;
+ max-width: 100%;
+ visibility: hidden;
+ background-color: #fff;
+ background-clip: padding-box;
+ outline: 0;
+ transition: transform 0.3s ease-in-out;
+}
+@media (prefers-reduced-motion: reduce) {
+ .offcanvas {
+ transition: none;
+ }
+}
+
+.offcanvas-backdrop {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 1040;
+ width: 100vw;
+ height: 100vh;
+ background-color: #000;
+}
+.offcanvas-backdrop.fade {
+ opacity: 0;
+}
+.offcanvas-backdrop.show {
+ opacity: 0.5;
+}
+
+.offcanvas-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1rem 1rem;
+}
+.offcanvas-header .btn-close {
+ padding: 0.5rem 0.5rem;
+ margin-top: -0.5rem;
+ margin-right: -0.5rem;
+ margin-bottom: -0.5rem;
+}
+
+.offcanvas-title {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.offcanvas-body {
+ flex-grow: 1;
+ padding: 1rem 1rem;
+ overflow-y: auto;
+}
+
+.offcanvas-start {
+ top: 0;
+ left: 0;
+ width: 400px;
+ border-right: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateX(-100%);
+}
+
+.offcanvas-end {
+ top: 0;
+ right: 0;
+ width: 400px;
+ border-left: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateX(100%);
+}
+
+.offcanvas-top {
+ top: 0;
+ right: 0;
+ left: 0;
+ height: 30vh;
+ max-height: 100%;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateY(-100%);
+}
+
+.offcanvas-bottom {
+ right: 0;
+ left: 0;
+ height: 30vh;
+ max-height: 100%;
+ border-top: 1px solid rgba(0, 0, 0, 0.2);
+ transform: translateY(100%);
+}
+
+.offcanvas.show {
+ transform: none;
+}
+
+.placeholder {
+ display: inline-block;
+ min-height: 1em;
+ vertical-align: middle;
+ cursor: wait;
+ background-color: currentColor;
+ opacity: 0.5;
+}
+.placeholder.btn::before {
+ display: inline-block;
+ content: "";
+}
+
+.placeholder-xs {
+ min-height: 0.6em;
+}
+
+.placeholder-sm {
+ min-height: 0.8em;
+}
+
+.placeholder-lg {
+ min-height: 1.2em;
+}
+
+.placeholder-glow .placeholder {
+ animation: placeholder-glow 2s ease-in-out infinite;
+}
+
+@keyframes placeholder-glow {
+ 50% {
+ opacity: 0.2;
+ }
+}
+.placeholder-wave {
+ mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);
+ mask-size: 200% 100%;
+ animation: placeholder-wave 2s linear infinite;
+}
+
+@keyframes placeholder-wave {
+ 100% {
+ mask-position: -200% 0%;
+ }
+}
+.clearfix::after {
+ display: block;
+ clear: both;
+ content: "";
+}
+
+.link-primary {
+ color: #5a60f9;
+}
+.link-primary:hover, .link-primary:focus {
+ color: #484dc7;
+}
+
+.link-secondary {
+ color: #6c757d;
+}
+.link-secondary:hover, .link-secondary:focus {
+ color: #565e64;
+}
+
+.link-success {
+ color: #198754;
+}
+.link-success:hover, .link-success:focus {
+ color: #146c43;
+}
+
+.link-info {
+ color: #0dcaf0;
+}
+.link-info:hover, .link-info:focus {
+ color: #3dd5f3;
+}
+
+.link-warning {
+ color: #ffc107;
+}
+.link-warning:hover, .link-warning:focus {
+ color: #ffcd39;
+}
+
+.link-danger {
+ color: #f8681c;
+}
+.link-danger:hover, .link-danger:focus {
+ color: #f98649;
+}
+
+.link-light {
+ color: #f8f9fa;
+}
+.link-light:hover, .link-light:focus {
+ color: #f9fafb;
+}
+
+.link-dark {
+ color: #000;
+}
+.link-dark:hover, .link-dark:focus {
+ color: black;
+}
+
+.ratio {
+ position: relative;
+ width: 100%;
+}
+.ratio::before {
+ display: block;
+ padding-top: var(--bs-aspect-ratio);
+ content: "";
+}
+.ratio > * {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
+.ratio-1x1 {
+ --bs-aspect-ratio: 100%;
+}
+
+.ratio-4x3 {
+ --bs-aspect-ratio: calc(3 / 4 * 100%);
+}
+
+.ratio-16x9 {
+ --bs-aspect-ratio: calc(9 / 16 * 100%);
+}
+
+.ratio-21x9 {
+ --bs-aspect-ratio: calc(9 / 21 * 100%);
+}
+
+.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;
+}
+
+.sticky-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+}
+
+@media (min-width: 576px) {
+ .sticky-sm-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 768px) {
+ .sticky-md-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 992px) {
+ .sticky-lg-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 1200px) {
+ .sticky-xl-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+@media (min-width: 1400px) {
+ .sticky-xxl-top {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ }
+}
+.hstack {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ align-self: stretch;
+}
+
+.vstack {
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: column;
+ align-self: stretch;
+}
+
+.visually-hidden,
+.visually-hidden-focusable:not(:focus):not(:focus-within) {
+ position: absolute !important;
+ width: 1px !important;
+ height: 1px !important;
+ padding: 0 !important;
+ margin: -1px !important;
+ overflow: hidden !important;
+ clip: rect(0, 0, 0, 0) !important;
+ white-space: nowrap !important;
+ border: 0 !important;
+}
+
+.stretched-link::after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1;
+ content: "";
+}
+
+.text-truncate {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.vr {
+ display: inline-block;
+ align-self: stretch;
+ width: 1px;
+ min-height: 1em;
+ background-color: currentColor;
+ opacity: 0.25;
+}
+
+.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;
+}
+
+.float-start {
+ float: left !important;
+}
+
+.float-end {
+ float: right !important;
+}
+
+.float-none {
+ float: none !important;
+}
+
+.opacity-0 {
+ opacity: 0 !important;
+}
+
+.opacity-25 {
+ opacity: 0.25 !important;
+}
+
+.opacity-50 {
+ opacity: 0.5 !important;
+}
+
+.opacity-75 {
+ opacity: 0.75 !important;
+}
+
+.opacity-100 {
+ opacity: 1 !important;
+}
+
+.overflow-auto {
+ overflow: auto !important;
+}
+
+.overflow-hidden {
+ overflow: hidden !important;
+}
+
+.overflow-visible {
+ overflow: visible !important;
+}
+
+.overflow-scroll {
+ overflow: scroll !important;
+}
+
+.d-inline {
+ display: inline !important;
+}
+
+.d-inline-block {
+ display: inline-block !important;
+}
+
+.d-block {
+ display: block !important;
+}
+
+.d-grid {
+ display: grid !important;
+}
+
+.d-table {
+ display: table !important;
+}
+
+.d-table-row {
+ display: table-row !important;
+}
+
+.d-table-cell {
+ display: table-cell !important;
+}
+
+.d-flex {
+ display: flex !important;
+}
+
+.d-inline-flex {
+ display: inline-flex !important;
+}
+
+.d-none {
+ display: none !important;
+}
+
+.shadow {
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
+}
+
+.shadow-sm {
+ box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
+}
+
+.shadow-lg {
+ box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
+}
+
+.shadow-none {
+ box-shadow: none !important;
+}
+
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: sticky !important;
+}
+
+.top-0 {
+ top: 0 !important;
+}
+
+.top-50 {
+ top: 50% !important;
+}
+
+.top-100 {
+ top: 100% !important;
+}
+
+.bottom-0 {
+ bottom: 0 !important;
+}
+
+.bottom-50 {
+ bottom: 50% !important;
+}
+
+.bottom-100 {
+ bottom: 100% !important;
+}
+
+.start-0 {
+ left: 0 !important;
+}
+
+.start-50 {
+ left: 50% !important;
+}
+
+.start-100 {
+ left: 100% !important;
+}
+
+.end-0 {
+ right: 0 !important;
+}
+
+.end-50 {
+ right: 50% !important;
+}
+
+.end-100 {
+ right: 100% !important;
+}
+
+.translate-middle {
+ transform: translate(-50%, -50%) !important;
+}
+
+.translate-middle-x {
+ transform: translateX(-50%) !important;
+}
+
+.translate-middle-y {
+ transform: translateY(-50%) !important;
+}
+
+.border {
+ border: 1px solid #dee2e6 !important;
+}
+
+.border-0 {
+ border: 0 !important;
+}
+
+.border-top {
+ border-top: 1px solid #dee2e6 !important;
+}
+
+.border-top-0 {
+ border-top: 0 !important;
+}
+
+.border-end {
+ border-right: 1px solid #dee2e6 !important;
+}
+
+.border-end-0 {
+ border-right: 0 !important;
+}
+
+.border-bottom {
+ border-bottom: 1px solid #dee2e6 !important;
+}
+
+.border-bottom-0 {
+ border-bottom: 0 !important;
+}
+
+.border-start {
+ border-left: 1px solid #dee2e6 !important;
+}
+
+.border-start-0 {
+ border-left: 0 !important;
+}
+
+.border-primary {
+ border-color: #5a60f9 !important;
+}
+
+.border-secondary {
+ border-color: #6c757d !important;
+}
+
+.border-success {
+ border-color: #198754 !important;
+}
+
+.border-info {
+ border-color: #0dcaf0 !important;
+}
+
+.border-warning {
+ border-color: #ffc107 !important;
+}
+
+.border-danger {
+ border-color: #f8681c !important;
+}
+
+.border-light {
+ border-color: #f8f9fa !important;
+}
+
+.border-dark {
+ border-color: #000 !important;
+}
+
+.border-white {
+ border-color: #fff !important;
+}
+
+.border-1 {
+ border-width: 1px !important;
+}
+
+.border-2 {
+ border-width: 2px !important;
+}
+
+.border-3 {
+ border-width: 3px !important;
+}
+
+.border-4 {
+ border-width: 4px !important;
+}
+
+.border-5 {
+ border-width: 5px !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;
+}
+
+.mw-100 {
+ max-width: 100% !important;
+}
+
+.vw-100 {
+ width: 100vw !important;
+}
+
+.min-vw-100 {
+ min-width: 100vw !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;
+}
+
+.mh-100 {
+ max-height: 100% !important;
+}
+
+.vh-100 {
+ height: 100vh !important;
+}
+
+.min-vh-100 {
+ min-height: 100vh !important;
+}
+
+.flex-fill {
+ flex: 1 1 auto !important;
+}
+
+.flex-row {
+ flex-direction: row !important;
+}
+
+.flex-column {
+ flex-direction: column !important;
+}
+
+.flex-row-reverse {
+ flex-direction: row-reverse !important;
+}
+
+.flex-column-reverse {
+ flex-direction: column-reverse !important;
+}
+
+.flex-grow-0 {
+ flex-grow: 0 !important;
+}
+
+.flex-grow-1 {
+ flex-grow: 1 !important;
+}
+
+.flex-shrink-0 {
+ flex-shrink: 0 !important;
+}
+
+.flex-shrink-1 {
+ flex-shrink: 1 !important;
+}
+
+.flex-wrap {
+ flex-wrap: wrap !important;
+}
+
+.flex-nowrap {
+ flex-wrap: nowrap !important;
+}
+
+.flex-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+}
+
+.gap-0 {
+ gap: 0 !important;
+}
+
+.gap-1 {
+ gap: 0.25rem !important;
+}
+
+.gap-2 {
+ gap: 0.5rem !important;
+}
+
+.gap-3 {
+ gap: 1rem !important;
+}
+
+.gap-4 {
+ gap: 1.5rem !important;
+}
+
+.gap-5 {
+ gap: 3rem !important;
+}
+
+.justify-content-start {
+ justify-content: flex-start !important;
+}
+
+.justify-content-end {
+ justify-content: flex-end !important;
+}
+
+.justify-content-center {
+ justify-content: center !important;
+}
+
+.justify-content-between {
+ justify-content: space-between !important;
+}
+
+.justify-content-around {
+ justify-content: space-around !important;
+}
+
+.justify-content-evenly {
+ justify-content: space-evenly !important;
+}
+
+.align-items-start {
+ align-items: flex-start !important;
+}
+
+.align-items-end {
+ align-items: flex-end !important;
+}
+
+.align-items-center {
+ align-items: center !important;
+}
+
+.align-items-baseline {
+ align-items: baseline !important;
+}
+
+.align-items-stretch {
+ align-items: stretch !important;
+}
+
+.align-content-start {
+ align-content: flex-start !important;
+}
+
+.align-content-end {
+ align-content: flex-end !important;
+}
+
+.align-content-center {
+ align-content: center !important;
+}
+
+.align-content-between {
+ align-content: space-between !important;
+}
+
+.align-content-around {
+ align-content: space-around !important;
+}
+
+.align-content-stretch {
+ align-content: stretch !important;
+}
+
+.align-self-auto {
+ align-self: auto !important;
+}
+
+.align-self-start {
+ align-self: flex-start !important;
+}
+
+.align-self-end {
+ align-self: flex-end !important;
+}
+
+.align-self-center {
+ align-self: center !important;
+}
+
+.align-self-baseline {
+ align-self: baseline !important;
+}
+
+.align-self-stretch {
+ align-self: stretch !important;
+}
+
+.order-first {
+ order: -1 !important;
+}
+
+.order-0 {
+ order: 0 !important;
+}
+
+.order-1 {
+ order: 1 !important;
+}
+
+.order-2 {
+ order: 2 !important;
+}
+
+.order-3 {
+ order: 3 !important;
+}
+
+.order-4 {
+ order: 4 !important;
+}
+
+.order-5 {
+ order: 5 !important;
+}
+
+.order-last {
+ order: 6 !important;
+}
+
+.m-0 {
+ margin: 0 !important;
+}
+
+.m-1 {
+ margin: 0.25rem !important;
+}
+
+.m-2 {
+ margin: 0.5rem !important;
+}
+
+.m-3 {
+ margin: 1rem !important;
+}
+
+.m-4 {
+ margin: 1.5rem !important;
+}
+
+.m-5 {
+ margin: 3rem !important;
+}
+
+.m-auto {
+ margin: auto !important;
+}
+
+.mx-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+}
+
+.mx-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+}
+
+.mx-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+}
+
+.mx-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+}
+
+.mx-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+}
+
+.mx-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+}
+
+.mx-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+}
+
+.my-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+}
+
+.my-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+}
+
+.my-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+}
+
+.my-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+}
+
+.my-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+}
+
+.my-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+}
+
+.my-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+}
+
+.mt-0 {
+ margin-top: 0 !important;
+}
+
+.mt-1 {
+ margin-top: 0.25rem !important;
+}
+
+.mt-2 {
+ margin-top: 0.5rem !important;
+}
+
+.mt-3 {
+ margin-top: 1rem !important;
+}
+
+.mt-4 {
+ margin-top: 1.5rem !important;
+}
+
+.mt-5 {
+ margin-top: 3rem !important;
+}
+
+.mt-auto {
+ margin-top: auto !important;
+}
+
+.me-0 {
+ margin-right: 0 !important;
+}
+
+.me-1 {
+ margin-right: 0.25rem !important;
+}
+
+.me-2 {
+ margin-right: 0.5rem !important;
+}
+
+.me-3 {
+ margin-right: 1rem !important;
+}
+
+.me-4 {
+ margin-right: 1.5rem !important;
+}
+
+.me-5 {
+ margin-right: 3rem !important;
+}
+
+.me-auto {
+ margin-right: auto !important;
+}
+
+.mb-0 {
+ margin-bottom: 0 !important;
+}
+
+.mb-1 {
+ margin-bottom: 0.25rem !important;
+}
+
+.mb-2 {
+ margin-bottom: 0.5rem !important;
+}
+
+.mb-3 {
+ margin-bottom: 1rem !important;
+}
+
+.mb-4 {
+ margin-bottom: 1.5rem !important;
+}
+
+.mb-5 {
+ margin-bottom: 3rem !important;
+}
+
+.mb-auto {
+ margin-bottom: auto !important;
+}
+
+.ms-0 {
+ margin-left: 0 !important;
+}
+
+.ms-1 {
+ margin-left: 0.25rem !important;
+}
+
+.ms-2 {
+ margin-left: 0.5rem !important;
+}
+
+.ms-3 {
+ margin-left: 1rem !important;
+}
+
+.ms-4 {
+ margin-left: 1.5rem !important;
+}
+
+.ms-5 {
+ margin-left: 3rem !important;
+}
+
+.ms-auto {
+ margin-left: auto !important;
+}
+
+.p-0 {
+ padding: 0 !important;
+}
+
+.p-1 {
+ padding: 0.25rem !important;
+}
+
+.p-2 {
+ padding: 0.5rem !important;
+}
+
+.p-3 {
+ padding: 1rem !important;
+}
+
+.p-4 {
+ padding: 1.5rem !important;
+}
+
+.p-5 {
+ padding: 3rem !important;
+}
+
+.px-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+}
+
+.px-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+}
+
+.px-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+}
+
+.px-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+}
+
+.px-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+}
+
+.px-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+}
+
+.py-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+}
+
+.py-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+}
+
+.py-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+}
+
+.py-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+}
+
+.py-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+}
+
+.py-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+}
+
+.pt-0 {
+ padding-top: 0 !important;
+}
+
+.pt-1 {
+ padding-top: 0.25rem !important;
+}
+
+.pt-2 {
+ padding-top: 0.5rem !important;
+}
+
+.pt-3 {
+ padding-top: 1rem !important;
+}
+
+.pt-4 {
+ padding-top: 1.5rem !important;
+}
+
+.pt-5 {
+ padding-top: 3rem !important;
+}
+
+.pe-0 {
+ padding-right: 0 !important;
+}
+
+.pe-1 {
+ padding-right: 0.25rem !important;
+}
+
+.pe-2 {
+ padding-right: 0.5rem !important;
+}
+
+.pe-3 {
+ padding-right: 1rem !important;
+}
+
+.pe-4 {
+ padding-right: 1.5rem !important;
+}
+
+.pe-5 {
+ padding-right: 3rem !important;
+}
+
+.pb-0 {
+ padding-bottom: 0 !important;
+}
+
+.pb-1 {
+ padding-bottom: 0.25rem !important;
+}
+
+.pb-2 {
+ padding-bottom: 0.5rem !important;
+}
+
+.pb-3 {
+ padding-bottom: 1rem !important;
+}
+
+.pb-4 {
+ padding-bottom: 1.5rem !important;
+}
+
+.pb-5 {
+ padding-bottom: 3rem !important;
+}
+
+.ps-0 {
+ padding-left: 0 !important;
+}
+
+.ps-1 {
+ padding-left: 0.25rem !important;
+}
+
+.ps-2 {
+ padding-left: 0.5rem !important;
+}
+
+.ps-3 {
+ padding-left: 1rem !important;
+}
+
+.ps-4 {
+ padding-left: 1.5rem !important;
+}
+
+.ps-5 {
+ padding-left: 3rem !important;
+}
+
+.font-monospace {
+ font-family: var(--bs-font-monospace) !important;
+}
+
+.fs-1 {
+ font-size: calc(1.375rem + 1.5vw) !important;
+}
+
+.fs-2 {
+ font-size: calc(1.325rem + 0.9vw) !important;
+}
+
+.fs-3 {
+ font-size: calc(1.3rem + 0.6vw) !important;
+}
+
+.fs-4 {
+ font-size: calc(1.275rem + 0.3vw) !important;
+}
+
+.fs-5 {
+ font-size: 1.25rem !important;
+}
+
+.fs-6 {
+ font-size: 1rem !important;
+}
+
+.fst-italic {
+ font-style: italic !important;
+}
+
+.fst-normal {
+ font-style: normal !important;
+}
+
+.fw-light {
+ font-weight: 300 !important;
+}
+
+.fw-lighter {
+ font-weight: lighter !important;
+}
+
+.fw-normal {
+ font-weight: 400 !important;
+}
+
+.fw-bold {
+ font-weight: 700 !important;
+}
+
+.fw-bolder {
+ font-weight: bolder !important;
+}
+
+.lh-1 {
+ line-height: 1 !important;
+}
+
+.lh-sm {
+ line-height: 1.25 !important;
+}
+
+.lh-base {
+ line-height: 1.5 !important;
+}
+
+.lh-lg {
+ line-height: 2 !important;
+}
+
+.text-start {
+ text-align: left !important;
+}
+
+.text-end {
+ text-align: right !important;
+}
+
+.text-center {
+ text-align: center !important;
+}
+
+.text-decoration-none {
+ text-decoration: none !important;
+}
+
+.text-decoration-underline {
+ text-decoration: underline !important;
+}
+
+.text-decoration-line-through {
+ text-decoration: line-through !important;
+}
+
+.text-lowercase {
+ text-transform: lowercase !important;
+}
+
+.text-uppercase {
+ text-transform: uppercase !important;
+}
+
+.text-capitalize {
+ text-transform: capitalize !important;
+}
+
+.text-wrap {
+ white-space: normal !important;
+}
+
+.text-nowrap {
+ white-space: nowrap !important;
+}
+
+/* rtl:begin:remove */
+.text-break {
+ word-wrap: break-word !important;
+ word-break: break-word !important;
+}
+
+/* rtl:end:remove */
+.text-primary {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-secondary {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-success {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-info {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-warning {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-danger {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-light {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-dark {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-black {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-white {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-body {
+ --bs-text-opacity: 1;
+ color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
+}
+
+.text-muted {
+ --bs-text-opacity: 1;
+ color: #6c757d !important;
+}
+
+.text-black-50 {
+ --bs-text-opacity: 1;
+ color: rgba(0, 0, 0, 0.5) !important;
+}
+
+.text-white-50 {
+ --bs-text-opacity: 1;
+ color: rgba(255, 255, 255, 0.5) !important;
+}
+
+.text-reset {
+ --bs-text-opacity: 1;
+ color: inherit !important;
+}
+
+.text-opacity-25 {
+ --bs-text-opacity: 0.25;
+}
+
+.text-opacity-50 {
+ --bs-text-opacity: 0.5;
+}
+
+.text-opacity-75 {
+ --bs-text-opacity: 0.75;
+}
+
+.text-opacity-100 {
+ --bs-text-opacity: 1;
+}
+
+.bg-primary {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-secondary {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-success {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-info {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-warning {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-danger {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-light {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-dark {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-black {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-white {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-body {
+ --bs-bg-opacity: 1;
+ background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
+}
+
+.bg-transparent {
+ --bs-bg-opacity: 1;
+ background-color: transparent !important;
+}
+
+.bg-opacity-10 {
+ --bs-bg-opacity: 0.1;
+}
+
+.bg-opacity-25 {
+ --bs-bg-opacity: 0.25;
+}
+
+.bg-opacity-50 {
+ --bs-bg-opacity: 0.5;
+}
+
+.bg-opacity-75 {
+ --bs-bg-opacity: 0.75;
+}
+
+.bg-opacity-100 {
+ --bs-bg-opacity: 1;
+}
+
+.bg-gradient {
+ background-image: var(--bs-gradient) !important;
+}
+
+.user-select-all {
+ user-select: all !important;
+}
+
+.user-select-auto {
+ user-select: auto !important;
+}
+
+.user-select-none {
+ user-select: none !important;
+}
+
+.pe-none {
+ pointer-events: none !important;
+}
+
+.pe-auto {
+ pointer-events: auto !important;
+}
+
+.rounded {
+ border-radius: 0.25rem !important;
+}
+
+.rounded-0 {
+ border-radius: 0 !important;
+}
+
+.rounded-1 {
+ border-radius: 0.2rem !important;
+}
+
+.rounded-2 {
+ border-radius: 0.25rem !important;
+}
+
+.rounded-3 {
+ border-radius: 0.3rem !important;
+}
+
+.rounded-circle {
+ border-radius: 50% !important;
+}
+
+.rounded-pill {
+ border-radius: 50rem !important;
+}
+
+.rounded-top {
+ border-top-left-radius: 0.25rem !important;
+ border-top-right-radius: 0.25rem !important;
+}
+
+.rounded-end {
+ border-top-right-radius: 0.25rem !important;
+ border-bottom-right-radius: 0.25rem !important;
+}
+
+.rounded-bottom {
+ border-bottom-right-radius: 0.25rem !important;
+ border-bottom-left-radius: 0.25rem !important;
+}
+
+.rounded-start {
+ border-bottom-left-radius: 0.25rem !important;
+ border-top-left-radius: 0.25rem !important;
+}
+
+.visible {
+ visibility: visible !important;
+}
+
+.invisible {
+ visibility: hidden !important;
+}
+
+@media (min-width: 576px) {
+ .float-sm-start {
+ float: left !important;
+ }
+
+ .float-sm-end {
+ float: right !important;
+ }
+
+ .float-sm-none {
+ float: none !important;
+ }
+
+ .d-sm-inline {
+ display: inline !important;
+ }
+
+ .d-sm-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-sm-block {
+ display: block !important;
+ }
+
+ .d-sm-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-sm-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-sm-none {
+ display: none !important;
+ }
+
+ .flex-sm-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-sm-row {
+ flex-direction: row !important;
+ }
+
+ .flex-sm-column {
+ flex-direction: column !important;
+ }
+
+ .flex-sm-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-sm-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-sm-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-sm-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-sm-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-sm-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-sm-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-sm-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-sm-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-sm-0 {
+ gap: 0 !important;
+ }
+
+ .gap-sm-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-sm-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-sm-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-sm-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-sm-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-sm-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-sm-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-sm-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-sm-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-sm-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-sm-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-sm-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-sm-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-sm-center {
+ align-items: center !important;
+ }
+
+ .align-items-sm-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-sm-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-sm-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-sm-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-sm-center {
+ align-content: center !important;
+ }
+
+ .align-content-sm-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-sm-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-sm-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-sm-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-sm-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-sm-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-sm-center {
+ align-self: center !important;
+ }
+
+ .align-self-sm-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-sm-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-sm-first {
+ order: -1 !important;
+ }
+
+ .order-sm-0 {
+ order: 0 !important;
+ }
+
+ .order-sm-1 {
+ order: 1 !important;
+ }
+
+ .order-sm-2 {
+ order: 2 !important;
+ }
+
+ .order-sm-3 {
+ order: 3 !important;
+ }
+
+ .order-sm-4 {
+ order: 4 !important;
+ }
+
+ .order-sm-5 {
+ order: 5 !important;
+ }
+
+ .order-sm-last {
+ order: 6 !important;
+ }
+
+ .m-sm-0 {
+ margin: 0 !important;
+ }
+
+ .m-sm-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-sm-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-sm-3 {
+ margin: 1rem !important;
+ }
+
+ .m-sm-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-sm-5 {
+ margin: 3rem !important;
+ }
+
+ .m-sm-auto {
+ margin: auto !important;
+ }
+
+ .mx-sm-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-sm-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-sm-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-sm-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-sm-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-sm-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-sm-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-sm-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-sm-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-sm-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-sm-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-sm-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-sm-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-sm-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-sm-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-sm-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-sm-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-sm-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-sm-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-sm-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-sm-auto {
+ margin-top: auto !important;
+ }
+
+ .me-sm-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-sm-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-sm-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-sm-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-sm-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-sm-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-sm-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-sm-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-sm-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-sm-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-sm-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-sm-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-sm-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-sm-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-sm-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-sm-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-sm-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-sm-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-sm-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-sm-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-sm-auto {
+ margin-left: auto !important;
+ }
+
+ .p-sm-0 {
+ padding: 0 !important;
+ }
+
+ .p-sm-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-sm-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-sm-3 {
+ padding: 1rem !important;
+ }
+
+ .p-sm-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-sm-5 {
+ padding: 3rem !important;
+ }
+
+ .px-sm-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-sm-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-sm-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-sm-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-sm-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-sm-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-sm-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-sm-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-sm-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-sm-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-sm-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-sm-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-sm-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-sm-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-sm-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-sm-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-sm-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-sm-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-sm-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-sm-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-sm-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-sm-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-sm-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-sm-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-sm-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-sm-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-sm-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-sm-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-sm-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-sm-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-sm-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-sm-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-sm-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-sm-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-sm-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-sm-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-sm-start {
+ text-align: left !important;
+ }
+
+ .text-sm-end {
+ text-align: right !important;
+ }
+
+ .text-sm-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 768px) {
+ .float-md-start {
+ float: left !important;
+ }
+
+ .float-md-end {
+ float: right !important;
+ }
+
+ .float-md-none {
+ float: none !important;
+ }
+
+ .d-md-inline {
+ display: inline !important;
+ }
+
+ .d-md-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-md-block {
+ display: block !important;
+ }
+
+ .d-md-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-md-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-md-none {
+ display: none !important;
+ }
+
+ .flex-md-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-md-row {
+ flex-direction: row !important;
+ }
+
+ .flex-md-column {
+ flex-direction: column !important;
+ }
+
+ .flex-md-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-md-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-md-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-md-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-md-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-md-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-md-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-md-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-md-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-md-0 {
+ gap: 0 !important;
+ }
+
+ .gap-md-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-md-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-md-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-md-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-md-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-md-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-md-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-md-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-md-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-md-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-md-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-md-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-md-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-md-center {
+ align-items: center !important;
+ }
+
+ .align-items-md-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-md-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-md-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-md-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-md-center {
+ align-content: center !important;
+ }
+
+ .align-content-md-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-md-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-md-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-md-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-md-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-md-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-md-center {
+ align-self: center !important;
+ }
+
+ .align-self-md-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-md-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-md-first {
+ order: -1 !important;
+ }
+
+ .order-md-0 {
+ order: 0 !important;
+ }
+
+ .order-md-1 {
+ order: 1 !important;
+ }
+
+ .order-md-2 {
+ order: 2 !important;
+ }
+
+ .order-md-3 {
+ order: 3 !important;
+ }
+
+ .order-md-4 {
+ order: 4 !important;
+ }
+
+ .order-md-5 {
+ order: 5 !important;
+ }
+
+ .order-md-last {
+ order: 6 !important;
+ }
+
+ .m-md-0 {
+ margin: 0 !important;
+ }
+
+ .m-md-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-md-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-md-3 {
+ margin: 1rem !important;
+ }
+
+ .m-md-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-md-5 {
+ margin: 3rem !important;
+ }
+
+ .m-md-auto {
+ margin: auto !important;
+ }
+
+ .mx-md-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-md-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-md-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-md-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-md-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-md-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-md-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-md-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-md-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-md-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-md-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-md-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-md-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-md-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-md-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-md-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-md-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-md-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-md-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-md-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-md-auto {
+ margin-top: auto !important;
+ }
+
+ .me-md-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-md-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-md-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-md-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-md-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-md-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-md-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-md-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-md-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-md-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-md-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-md-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-md-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-md-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-md-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-md-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-md-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-md-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-md-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-md-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-md-auto {
+ margin-left: auto !important;
+ }
+
+ .p-md-0 {
+ padding: 0 !important;
+ }
+
+ .p-md-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-md-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-md-3 {
+ padding: 1rem !important;
+ }
+
+ .p-md-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-md-5 {
+ padding: 3rem !important;
+ }
+
+ .px-md-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-md-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-md-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-md-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-md-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-md-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-md-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-md-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-md-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-md-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-md-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-md-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-md-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-md-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-md-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-md-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-md-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-md-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-md-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-md-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-md-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-md-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-md-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-md-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-md-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-md-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-md-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-md-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-md-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-md-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-md-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-md-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-md-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-md-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-md-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-md-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-md-start {
+ text-align: left !important;
+ }
+
+ .text-md-end {
+ text-align: right !important;
+ }
+
+ .text-md-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 992px) {
+ .float-lg-start {
+ float: left !important;
+ }
+
+ .float-lg-end {
+ float: right !important;
+ }
+
+ .float-lg-none {
+ float: none !important;
+ }
+
+ .d-lg-inline {
+ display: inline !important;
+ }
+
+ .d-lg-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-lg-block {
+ display: block !important;
+ }
+
+ .d-lg-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-lg-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-lg-none {
+ display: none !important;
+ }
+
+ .flex-lg-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-lg-row {
+ flex-direction: row !important;
+ }
+
+ .flex-lg-column {
+ flex-direction: column !important;
+ }
+
+ .flex-lg-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-lg-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-lg-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-lg-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-lg-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-lg-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-lg-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-lg-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-lg-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-lg-0 {
+ gap: 0 !important;
+ }
+
+ .gap-lg-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-lg-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-lg-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-lg-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-lg-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-lg-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-lg-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-lg-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-lg-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-lg-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-lg-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-lg-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-lg-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-lg-center {
+ align-items: center !important;
+ }
+
+ .align-items-lg-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-lg-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-lg-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-lg-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-lg-center {
+ align-content: center !important;
+ }
+
+ .align-content-lg-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-lg-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-lg-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-lg-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-lg-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-lg-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-lg-center {
+ align-self: center !important;
+ }
+
+ .align-self-lg-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-lg-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-lg-first {
+ order: -1 !important;
+ }
+
+ .order-lg-0 {
+ order: 0 !important;
+ }
+
+ .order-lg-1 {
+ order: 1 !important;
+ }
+
+ .order-lg-2 {
+ order: 2 !important;
+ }
+
+ .order-lg-3 {
+ order: 3 !important;
+ }
+
+ .order-lg-4 {
+ order: 4 !important;
+ }
+
+ .order-lg-5 {
+ order: 5 !important;
+ }
+
+ .order-lg-last {
+ order: 6 !important;
+ }
+
+ .m-lg-0 {
+ margin: 0 !important;
+ }
+
+ .m-lg-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-lg-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-lg-3 {
+ margin: 1rem !important;
+ }
+
+ .m-lg-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-lg-5 {
+ margin: 3rem !important;
+ }
+
+ .m-lg-auto {
+ margin: auto !important;
+ }
+
+ .mx-lg-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-lg-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-lg-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-lg-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-lg-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-lg-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-lg-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-lg-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-lg-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-lg-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-lg-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-lg-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-lg-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-lg-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-lg-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-lg-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-lg-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-lg-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-lg-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-lg-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-lg-auto {
+ margin-top: auto !important;
+ }
+
+ .me-lg-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-lg-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-lg-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-lg-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-lg-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-lg-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-lg-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-lg-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-lg-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-lg-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-lg-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-lg-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-lg-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-lg-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-lg-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-lg-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-lg-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-lg-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-lg-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-lg-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-lg-auto {
+ margin-left: auto !important;
+ }
+
+ .p-lg-0 {
+ padding: 0 !important;
+ }
+
+ .p-lg-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-lg-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-lg-3 {
+ padding: 1rem !important;
+ }
+
+ .p-lg-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-lg-5 {
+ padding: 3rem !important;
+ }
+
+ .px-lg-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-lg-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-lg-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-lg-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-lg-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-lg-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-lg-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-lg-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-lg-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-lg-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-lg-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-lg-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-lg-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-lg-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-lg-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-lg-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-lg-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-lg-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-lg-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-lg-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-lg-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-lg-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-lg-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-lg-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-lg-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-lg-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-lg-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-lg-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-lg-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-lg-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-lg-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-lg-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-lg-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-lg-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-lg-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-lg-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-lg-start {
+ text-align: left !important;
+ }
+
+ .text-lg-end {
+ text-align: right !important;
+ }
+
+ .text-lg-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 1200px) {
+ .float-xl-start {
+ float: left !important;
+ }
+
+ .float-xl-end {
+ float: right !important;
+ }
+
+ .float-xl-none {
+ float: none !important;
+ }
+
+ .d-xl-inline {
+ display: inline !important;
+ }
+
+ .d-xl-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-xl-block {
+ display: block !important;
+ }
+
+ .d-xl-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-xl-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-xl-none {
+ display: none !important;
+ }
+
+ .flex-xl-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-xl-row {
+ flex-direction: row !important;
+ }
+
+ .flex-xl-column {
+ flex-direction: column !important;
+ }
+
+ .flex-xl-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-xl-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-xl-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-xl-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-xl-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-xl-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-xl-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-xl-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-xl-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-xl-0 {
+ gap: 0 !important;
+ }
+
+ .gap-xl-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-xl-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-xl-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-xl-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-xl-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-xl-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-xl-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-xl-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-xl-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-xl-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-xl-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-xl-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-xl-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-xl-center {
+ align-items: center !important;
+ }
+
+ .align-items-xl-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-xl-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-xl-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-xl-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-xl-center {
+ align-content: center !important;
+ }
+
+ .align-content-xl-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-xl-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-xl-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-xl-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-xl-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-xl-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-xl-center {
+ align-self: center !important;
+ }
+
+ .align-self-xl-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-xl-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-xl-first {
+ order: -1 !important;
+ }
+
+ .order-xl-0 {
+ order: 0 !important;
+ }
+
+ .order-xl-1 {
+ order: 1 !important;
+ }
+
+ .order-xl-2 {
+ order: 2 !important;
+ }
+
+ .order-xl-3 {
+ order: 3 !important;
+ }
+
+ .order-xl-4 {
+ order: 4 !important;
+ }
+
+ .order-xl-5 {
+ order: 5 !important;
+ }
+
+ .order-xl-last {
+ order: 6 !important;
+ }
+
+ .m-xl-0 {
+ margin: 0 !important;
+ }
+
+ .m-xl-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-xl-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-xl-3 {
+ margin: 1rem !important;
+ }
+
+ .m-xl-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-xl-5 {
+ margin: 3rem !important;
+ }
+
+ .m-xl-auto {
+ margin: auto !important;
+ }
+
+ .mx-xl-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-xl-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-xl-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-xl-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-xl-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-xl-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-xl-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-xl-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-xl-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-xl-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-xl-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-xl-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-xl-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-xl-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-xl-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-xl-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-xl-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-xl-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-xl-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-xl-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-xl-auto {
+ margin-top: auto !important;
+ }
+
+ .me-xl-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-xl-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-xl-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-xl-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-xl-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-xl-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-xl-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-xl-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-xl-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-xl-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-xl-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-xl-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-xl-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-xl-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-xl-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-xl-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-xl-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-xl-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-xl-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-xl-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-xl-auto {
+ margin-left: auto !important;
+ }
+
+ .p-xl-0 {
+ padding: 0 !important;
+ }
+
+ .p-xl-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-xl-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-xl-3 {
+ padding: 1rem !important;
+ }
+
+ .p-xl-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-xl-5 {
+ padding: 3rem !important;
+ }
+
+ .px-xl-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-xl-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-xl-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-xl-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-xl-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-xl-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-xl-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-xl-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-xl-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-xl-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-xl-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-xl-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-xl-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-xl-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-xl-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-xl-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-xl-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-xl-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-xl-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-xl-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-xl-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-xl-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-xl-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-xl-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-xl-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-xl-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-xl-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-xl-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-xl-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-xl-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-xl-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-xl-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-xl-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-xl-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-xl-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-xl-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-xl-start {
+ text-align: left !important;
+ }
+
+ .text-xl-end {
+ text-align: right !important;
+ }
+
+ .text-xl-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 1400px) {
+ .float-xxl-start {
+ float: left !important;
+ }
+
+ .float-xxl-end {
+ float: right !important;
+ }
+
+ .float-xxl-none {
+ float: none !important;
+ }
+
+ .d-xxl-inline {
+ display: inline !important;
+ }
+
+ .d-xxl-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-xxl-block {
+ display: block !important;
+ }
+
+ .d-xxl-grid {
+ display: grid !important;
+ }
+
+ .d-xxl-table {
+ display: table !important;
+ }
+
+ .d-xxl-table-row {
+ display: table-row !important;
+ }
+
+ .d-xxl-table-cell {
+ display: table-cell !important;
+ }
+
+ .d-xxl-flex {
+ display: flex !important;
+ }
+
+ .d-xxl-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-xxl-none {
+ display: none !important;
+ }
+
+ .flex-xxl-fill {
+ flex: 1 1 auto !important;
+ }
+
+ .flex-xxl-row {
+ flex-direction: row !important;
+ }
+
+ .flex-xxl-column {
+ flex-direction: column !important;
+ }
+
+ .flex-xxl-row-reverse {
+ flex-direction: row-reverse !important;
+ }
+
+ .flex-xxl-column-reverse {
+ flex-direction: column-reverse !important;
+ }
+
+ .flex-xxl-grow-0 {
+ flex-grow: 0 !important;
+ }
+
+ .flex-xxl-grow-1 {
+ flex-grow: 1 !important;
+ }
+
+ .flex-xxl-shrink-0 {
+ flex-shrink: 0 !important;
+ }
+
+ .flex-xxl-shrink-1 {
+ flex-shrink: 1 !important;
+ }
+
+ .flex-xxl-wrap {
+ flex-wrap: wrap !important;
+ }
+
+ .flex-xxl-nowrap {
+ flex-wrap: nowrap !important;
+ }
+
+ .flex-xxl-wrap-reverse {
+ flex-wrap: wrap-reverse !important;
+ }
+
+ .gap-xxl-0 {
+ gap: 0 !important;
+ }
+
+ .gap-xxl-1 {
+ gap: 0.25rem !important;
+ }
+
+ .gap-xxl-2 {
+ gap: 0.5rem !important;
+ }
+
+ .gap-xxl-3 {
+ gap: 1rem !important;
+ }
+
+ .gap-xxl-4 {
+ gap: 1.5rem !important;
+ }
+
+ .gap-xxl-5 {
+ gap: 3rem !important;
+ }
+
+ .justify-content-xxl-start {
+ justify-content: flex-start !important;
+ }
+
+ .justify-content-xxl-end {
+ justify-content: flex-end !important;
+ }
+
+ .justify-content-xxl-center {
+ justify-content: center !important;
+ }
+
+ .justify-content-xxl-between {
+ justify-content: space-between !important;
+ }
+
+ .justify-content-xxl-around {
+ justify-content: space-around !important;
+ }
+
+ .justify-content-xxl-evenly {
+ justify-content: space-evenly !important;
+ }
+
+ .align-items-xxl-start {
+ align-items: flex-start !important;
+ }
+
+ .align-items-xxl-end {
+ align-items: flex-end !important;
+ }
+
+ .align-items-xxl-center {
+ align-items: center !important;
+ }
+
+ .align-items-xxl-baseline {
+ align-items: baseline !important;
+ }
+
+ .align-items-xxl-stretch {
+ align-items: stretch !important;
+ }
+
+ .align-content-xxl-start {
+ align-content: flex-start !important;
+ }
+
+ .align-content-xxl-end {
+ align-content: flex-end !important;
+ }
+
+ .align-content-xxl-center {
+ align-content: center !important;
+ }
+
+ .align-content-xxl-between {
+ align-content: space-between !important;
+ }
+
+ .align-content-xxl-around {
+ align-content: space-around !important;
+ }
+
+ .align-content-xxl-stretch {
+ align-content: stretch !important;
+ }
+
+ .align-self-xxl-auto {
+ align-self: auto !important;
+ }
+
+ .align-self-xxl-start {
+ align-self: flex-start !important;
+ }
+
+ .align-self-xxl-end {
+ align-self: flex-end !important;
+ }
+
+ .align-self-xxl-center {
+ align-self: center !important;
+ }
+
+ .align-self-xxl-baseline {
+ align-self: baseline !important;
+ }
+
+ .align-self-xxl-stretch {
+ align-self: stretch !important;
+ }
+
+ .order-xxl-first {
+ order: -1 !important;
+ }
+
+ .order-xxl-0 {
+ order: 0 !important;
+ }
+
+ .order-xxl-1 {
+ order: 1 !important;
+ }
+
+ .order-xxl-2 {
+ order: 2 !important;
+ }
+
+ .order-xxl-3 {
+ order: 3 !important;
+ }
+
+ .order-xxl-4 {
+ order: 4 !important;
+ }
+
+ .order-xxl-5 {
+ order: 5 !important;
+ }
+
+ .order-xxl-last {
+ order: 6 !important;
+ }
+
+ .m-xxl-0 {
+ margin: 0 !important;
+ }
+
+ .m-xxl-1 {
+ margin: 0.25rem !important;
+ }
+
+ .m-xxl-2 {
+ margin: 0.5rem !important;
+ }
+
+ .m-xxl-3 {
+ margin: 1rem !important;
+ }
+
+ .m-xxl-4 {
+ margin: 1.5rem !important;
+ }
+
+ .m-xxl-5 {
+ margin: 3rem !important;
+ }
+
+ .m-xxl-auto {
+ margin: auto !important;
+ }
+
+ .mx-xxl-0 {
+ margin-right: 0 !important;
+ margin-left: 0 !important;
+ }
+
+ .mx-xxl-1 {
+ margin-right: 0.25rem !important;
+ margin-left: 0.25rem !important;
+ }
+
+ .mx-xxl-2 {
+ margin-right: 0.5rem !important;
+ margin-left: 0.5rem !important;
+ }
+
+ .mx-xxl-3 {
+ margin-right: 1rem !important;
+ margin-left: 1rem !important;
+ }
+
+ .mx-xxl-4 {
+ margin-right: 1.5rem !important;
+ margin-left: 1.5rem !important;
+ }
+
+ .mx-xxl-5 {
+ margin-right: 3rem !important;
+ margin-left: 3rem !important;
+ }
+
+ .mx-xxl-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+ }
+
+ .my-xxl-0 {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+
+ .my-xxl-1 {
+ margin-top: 0.25rem !important;
+ margin-bottom: 0.25rem !important;
+ }
+
+ .my-xxl-2 {
+ margin-top: 0.5rem !important;
+ margin-bottom: 0.5rem !important;
+ }
+
+ .my-xxl-3 {
+ margin-top: 1rem !important;
+ margin-bottom: 1rem !important;
+ }
+
+ .my-xxl-4 {
+ margin-top: 1.5rem !important;
+ margin-bottom: 1.5rem !important;
+ }
+
+ .my-xxl-5 {
+ margin-top: 3rem !important;
+ margin-bottom: 3rem !important;
+ }
+
+ .my-xxl-auto {
+ margin-top: auto !important;
+ margin-bottom: auto !important;
+ }
+
+ .mt-xxl-0 {
+ margin-top: 0 !important;
+ }
+
+ .mt-xxl-1 {
+ margin-top: 0.25rem !important;
+ }
+
+ .mt-xxl-2 {
+ margin-top: 0.5rem !important;
+ }
+
+ .mt-xxl-3 {
+ margin-top: 1rem !important;
+ }
+
+ .mt-xxl-4 {
+ margin-top: 1.5rem !important;
+ }
+
+ .mt-xxl-5 {
+ margin-top: 3rem !important;
+ }
+
+ .mt-xxl-auto {
+ margin-top: auto !important;
+ }
+
+ .me-xxl-0 {
+ margin-right: 0 !important;
+ }
+
+ .me-xxl-1 {
+ margin-right: 0.25rem !important;
+ }
+
+ .me-xxl-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .me-xxl-3 {
+ margin-right: 1rem !important;
+ }
+
+ .me-xxl-4 {
+ margin-right: 1.5rem !important;
+ }
+
+ .me-xxl-5 {
+ margin-right: 3rem !important;
+ }
+
+ .me-xxl-auto {
+ margin-right: auto !important;
+ }
+
+ .mb-xxl-0 {
+ margin-bottom: 0 !important;
+ }
+
+ .mb-xxl-1 {
+ margin-bottom: 0.25rem !important;
+ }
+
+ .mb-xxl-2 {
+ margin-bottom: 0.5rem !important;
+ }
+
+ .mb-xxl-3 {
+ margin-bottom: 1rem !important;
+ }
+
+ .mb-xxl-4 {
+ margin-bottom: 1.5rem !important;
+ }
+
+ .mb-xxl-5 {
+ margin-bottom: 3rem !important;
+ }
+
+ .mb-xxl-auto {
+ margin-bottom: auto !important;
+ }
+
+ .ms-xxl-0 {
+ margin-left: 0 !important;
+ }
+
+ .ms-xxl-1 {
+ margin-left: 0.25rem !important;
+ }
+
+ .ms-xxl-2 {
+ margin-left: 0.5rem !important;
+ }
+
+ .ms-xxl-3 {
+ margin-left: 1rem !important;
+ }
+
+ .ms-xxl-4 {
+ margin-left: 1.5rem !important;
+ }
+
+ .ms-xxl-5 {
+ margin-left: 3rem !important;
+ }
+
+ .ms-xxl-auto {
+ margin-left: auto !important;
+ }
+
+ .p-xxl-0 {
+ padding: 0 !important;
+ }
+
+ .p-xxl-1 {
+ padding: 0.25rem !important;
+ }
+
+ .p-xxl-2 {
+ padding: 0.5rem !important;
+ }
+
+ .p-xxl-3 {
+ padding: 1rem !important;
+ }
+
+ .p-xxl-4 {
+ padding: 1.5rem !important;
+ }
+
+ .p-xxl-5 {
+ padding: 3rem !important;
+ }
+
+ .px-xxl-0 {
+ padding-right: 0 !important;
+ padding-left: 0 !important;
+ }
+
+ .px-xxl-1 {
+ padding-right: 0.25rem !important;
+ padding-left: 0.25rem !important;
+ }
+
+ .px-xxl-2 {
+ padding-right: 0.5rem !important;
+ padding-left: 0.5rem !important;
+ }
+
+ .px-xxl-3 {
+ padding-right: 1rem !important;
+ padding-left: 1rem !important;
+ }
+
+ .px-xxl-4 {
+ padding-right: 1.5rem !important;
+ padding-left: 1.5rem !important;
+ }
+
+ .px-xxl-5 {
+ padding-right: 3rem !important;
+ padding-left: 3rem !important;
+ }
+
+ .py-xxl-0 {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+
+ .py-xxl-1 {
+ padding-top: 0.25rem !important;
+ padding-bottom: 0.25rem !important;
+ }
+
+ .py-xxl-2 {
+ padding-top: 0.5rem !important;
+ padding-bottom: 0.5rem !important;
+ }
+
+ .py-xxl-3 {
+ padding-top: 1rem !important;
+ padding-bottom: 1rem !important;
+ }
+
+ .py-xxl-4 {
+ padding-top: 1.5rem !important;
+ padding-bottom: 1.5rem !important;
+ }
+
+ .py-xxl-5 {
+ padding-top: 3rem !important;
+ padding-bottom: 3rem !important;
+ }
+
+ .pt-xxl-0 {
+ padding-top: 0 !important;
+ }
+
+ .pt-xxl-1 {
+ padding-top: 0.25rem !important;
+ }
+
+ .pt-xxl-2 {
+ padding-top: 0.5rem !important;
+ }
+
+ .pt-xxl-3 {
+ padding-top: 1rem !important;
+ }
+
+ .pt-xxl-4 {
+ padding-top: 1.5rem !important;
+ }
+
+ .pt-xxl-5 {
+ padding-top: 3rem !important;
+ }
+
+ .pe-xxl-0 {
+ padding-right: 0 !important;
+ }
+
+ .pe-xxl-1 {
+ padding-right: 0.25rem !important;
+ }
+
+ .pe-xxl-2 {
+ padding-right: 0.5rem !important;
+ }
+
+ .pe-xxl-3 {
+ padding-right: 1rem !important;
+ }
+
+ .pe-xxl-4 {
+ padding-right: 1.5rem !important;
+ }
+
+ .pe-xxl-5 {
+ padding-right: 3rem !important;
+ }
+
+ .pb-xxl-0 {
+ padding-bottom: 0 !important;
+ }
+
+ .pb-xxl-1 {
+ padding-bottom: 0.25rem !important;
+ }
+
+ .pb-xxl-2 {
+ padding-bottom: 0.5rem !important;
+ }
+
+ .pb-xxl-3 {
+ padding-bottom: 1rem !important;
+ }
+
+ .pb-xxl-4 {
+ padding-bottom: 1.5rem !important;
+ }
+
+ .pb-xxl-5 {
+ padding-bottom: 3rem !important;
+ }
+
+ .ps-xxl-0 {
+ padding-left: 0 !important;
+ }
+
+ .ps-xxl-1 {
+ padding-left: 0.25rem !important;
+ }
+
+ .ps-xxl-2 {
+ padding-left: 0.5rem !important;
+ }
+
+ .ps-xxl-3 {
+ padding-left: 1rem !important;
+ }
+
+ .ps-xxl-4 {
+ padding-left: 1.5rem !important;
+ }
+
+ .ps-xxl-5 {
+ padding-left: 3rem !important;
+ }
+
+ .text-xxl-start {
+ text-align: left !important;
+ }
+
+ .text-xxl-end {
+ text-align: right !important;
+ }
+
+ .text-xxl-center {
+ text-align: center !important;
+ }
+}
+@media (min-width: 1200px) {
+ .fs-1 {
+ font-size: 2.5rem !important;
+ }
+
+ .fs-2 {
+ font-size: 2rem !important;
+ }
+
+ .fs-3 {
+ font-size: 1.75rem !important;
+ }
+
+ .fs-4 {
+ font-size: 1.5rem !important;
+ }
+}
+@media print {
+ .d-print-inline {
+ display: inline !important;
+ }
+
+ .d-print-inline-block {
+ display: inline-block !important;
+ }
+
+ .d-print-block {
+ display: block !important;
+ }
+
+ .d-print-grid {
+ display: grid !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: flex !important;
+ }
+
+ .d-print-inline-flex {
+ display: inline-flex !important;
+ }
+
+ .d-print-none {
+ display: none !important;
+ }
+}
+/*!
+ * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
+ */
+/* FONT PATH
+ * -------------------------- */
+@font-face {
+ font-family: "FontAwesome";
+ src: url("https://git.kmx.io/_fonts/fontawesome-webfont.eot?v=4.7.0");
+ src: url("https://git.kmx.io/_fonts/fontawesome-webfont.eot?") format("embedded-opentype"), url("../_fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"), url("../_fonts/fontawesome-webfont.woff?v=4.7.0") format("woff"), url("https://git.kmx.io/_fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype"), url("https://git.kmx.io/_fonts/fontawesome-webfont.svg?v=4.7.0") format("svg");
+ font-weight: normal;
+ font-style: normal;
+}
+.fa {
+ display: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+/* makes the font 33% larger relative to the icon container */
+.fa-lg {
+ font-size: 1.3333333333em;
+ line-height: 0.75em;
+ vertical-align: -15%;
+}
+
+.fa-2x {
+ font-size: 2em;
+}
+
+.fa-3x {
+ font-size: 3em;
+}
+
+.fa-4x {
+ font-size: 4em;
+}
+
+.fa-5x {
+ font-size: 5em;
+}
+
+.fa-fw {
+ width: 1.2857142857em;
+ text-align: center;
+}
+
+.fa-ul {
+ padding-left: 0;
+ margin-left: 2.1428571429em;
+ list-style-type: none;
+}
+.fa-ul > li {
+ position: relative;
+}
+
+.fa-li {
+ position: absolute;
+ left: -2.1428571429em;
+ width: 2.1428571429em;
+ top: 0.1428571429em;
+ text-align: center;
+}
+.fa-li.fa-lg {
+ left: -1.8571428571em;
+}
+
+.fa-border {
+ padding: 0.2em 0.25em 0.15em;
+ border: solid 0.08em #eee;
+ border-radius: 0.1em;
+}
+
+.fa-pull-left {
+ float: left;
+}
+
+.fa-pull-right {
+ float: right;
+}
+
+.fa.fa-pull-left {
+ margin-right: 0.3em;
+}
+.fa.fa-pull-right {
+ margin-left: 0.3em;
+}
+
+/* Deprecated as of 4.4.0 */
+.pull-right {
+ float: right;
+}
+
+.pull-left {
+ float: left;
+}
+
+.fa.pull-left {
+ margin-right: 0.3em;
+}
+.fa.pull-right {
+ margin-left: 0.3em;
+}
+
+.fa-spin {
+ -webkit-animation: fa-spin 2s infinite linear;
+ animation: fa-spin 2s infinite linear;
+}
+
+.fa-pulse {
+ -webkit-animation: fa-spin 1s infinite steps(8);
+ animation: fa-spin 1s infinite steps(8);
+}
+
+@-webkit-keyframes fa-spin {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+@keyframes fa-spin {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+.fa-rotate-90 {
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
+ -webkit-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+}
+
+.fa-rotate-180 {
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
+ -webkit-transform: rotate(180deg);
+ -ms-transform: rotate(180deg);
+ transform: rotate(180deg);
+}
+
+.fa-rotate-270 {
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
+ -webkit-transform: rotate(270deg);
+ -ms-transform: rotate(270deg);
+ transform: rotate(270deg);
+}
+
+.fa-flip-horizontal {
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
+ -webkit-transform: scale(-1, 1);
+ -ms-transform: scale(-1, 1);
+ transform: scale(-1, 1);
+}
+
+.fa-flip-vertical {
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
+ -webkit-transform: scale(1, -1);
+ -ms-transform: scale(1, -1);
+ transform: scale(1, -1);
+}
+
+:root .fa-rotate-90,
+:root .fa-rotate-180,
+:root .fa-rotate-270,
+:root .fa-flip-horizontal,
+:root .fa-flip-vertical {
+ filter: none;
+}
+
+.fa-stack {
+ position: relative;
+ display: inline-block;
+ width: 2em;
+ height: 2em;
+ line-height: 2em;
+ vertical-align: middle;
+}
+
+.fa-stack-1x, .fa-stack-2x {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ text-align: center;
+}
+
+.fa-stack-1x {
+ line-height: inherit;
+}
+
+.fa-stack-2x {
+ font-size: 2em;
+}
+
+.fa-inverse {
+ color: #fff;
+}
+
+/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
+ readers do not read off random characters that represent icons */
+.fa-glass:before {
+ content: "\f000";
+}
+
+.fa-music:before {
+ content: "\f001";
+}
+
+.fa-search:before {
+ content: "\f002";
+}
+
+.fa-envelope-o:before {
+ content: "\f003";
+}
+
+.fa-heart:before {
+ content: "\f004";
+}
+
+.fa-star:before {
+ content: "\f005";
+}
+
+.fa-star-o:before {
+ content: "\f006";
+}
+
+.fa-user:before {
+ content: "\f007";
+}
+
+.fa-film:before {
+ content: "\f008";
+}
+
+.fa-th-large:before {
+ content: "\f009";
+}
+
+.fa-th:before {
+ content: "\f00a";
+}
+
+.fa-th-list:before {
+ content: "\f00b";
+}
+
+.fa-check:before {
+ content: "\f00c";
+}
+
+.fa-remove:before,
+.fa-close:before,
+.fa-times:before {
+ content: "\f00d";
+}
+
+.fa-search-plus:before {
+ content: "\f00e";
+}
+
+.fa-search-minus:before {
+ content: "\f010";
+}
+
+.fa-power-off:before {
+ content: "\f011";
+}
+
+.fa-signal:before {
+ content: "\f012";
+}
+
+.fa-gear:before,
+.fa-cog:before {
+ content: "\f013";
+}
+
+.fa-trash-o:before {
+ content: "\f014";
+}
+
+.fa-home:before {
+ content: "\f015";
+}
+
+.fa-file-o:before {
+ content: "\f016";
+}
+
+.fa-clock-o:before {
+ content: "\f017";
+}
+
+.fa-road:before {
+ content: "\f018";
+}
+
+.fa-download:before {
+ content: "\f019";
+}
+
+.fa-arrow-circle-o-down:before {
+ content: "\f01a";
+}
+
+.fa-arrow-circle-o-up:before {
+ content: "\f01b";
+}
+
+.fa-inbox:before {
+ content: "\f01c";
+}
+
+.fa-play-circle-o:before {
+ content: "\f01d";
+}
+
+.fa-rotate-right:before,
+.fa-repeat:before {
+ content: "\f01e";
+}
+
+.fa-refresh:before {
+ content: "\f021";
+}
+
+.fa-list-alt:before {
+ content: "\f022";
+}
+
+.fa-lock:before {
+ content: "\f023";
+}
+
+.fa-flag:before {
+ content: "\f024";
+}
+
+.fa-headphones:before {
+ content: "\f025";
+}
+
+.fa-volume-off:before {
+ content: "\f026";
+}
+
+.fa-volume-down:before {
+ content: "\f027";
+}
+
+.fa-volume-up:before {
+ content: "\f028";
+}
+
+.fa-qrcode:before {
+ content: "\f029";
+}
+
+.fa-barcode:before {
+ content: "\f02a";
+}
+
+.fa-tag:before {
+ content: "\f02b";
+}
+
+.fa-tags:before {
+ content: "\f02c";
+}
+
+.fa-book:before {
+ content: "\f02d";
+}
+
+.fa-bookmark:before {
+ content: "\f02e";
+}
+
+.fa-print:before {
+ content: "\f02f";
+}
+
+.fa-camera:before {
+ content: "\f030";
+}
+
+.fa-font:before {
+ content: "\f031";
+}
+
+.fa-bold:before {
+ content: "\f032";
+}
+
+.fa-italic:before {
+ content: "\f033";
+}
+
+.fa-text-height:before {
+ content: "\f034";
+}
+
+.fa-text-width:before {
+ content: "\f035";
+}
+
+.fa-align-left:before {
+ content: "\f036";
+}
+
+.fa-align-center:before {
+ content: "\f037";
+}
+
+.fa-align-right:before {
+ content: "\f038";
+}
+
+.fa-align-justify:before {
+ content: "\f039";
+}
+
+.fa-list:before {
+ content: "\f03a";
+}
+
+.fa-dedent:before,
+.fa-outdent:before {
+ content: "\f03b";
+}
+
+.fa-indent:before {
+ content: "\f03c";
+}
+
+.fa-video-camera:before {
+ content: "\f03d";
+}
+
+.fa-photo:before,
+.fa-image:before,
+.fa-picture-o:before {
+ content: "\f03e";
+}
+
+.fa-pencil:before {
+ content: "\f040";
+}
+
+.fa-map-marker:before {
+ content: "\f041";
+}
+
+.fa-adjust:before {
+ content: "\f042";
+}
+
+.fa-tint:before {
+ content: "\f043";
+}
+
+.fa-edit:before,
+.fa-pencil-square-o:before {
+ content: "\f044";
+}
+
+.fa-share-square-o:before {
+ content: "\f045";
+}
+
+.fa-check-square-o:before {
+ content: "\f046";
+}
+
+.fa-arrows:before {
+ content: "\f047";
+}
+
+.fa-step-backward:before {
+ content: "\f048";
+}
+
+.fa-fast-backward:before {
+ content: "\f049";
+}
+
+.fa-backward:before {
+ content: "\f04a";
+}
+
+.fa-play:before {
+ content: "\f04b";
+}
+
+.fa-pause:before {
+ content: "\f04c";
+}
+
+.fa-stop:before {
+ content: "\f04d";
+}
+
+.fa-forward:before {
+ content: "\f04e";
+}
+
+.fa-fast-forward:before {
+ content: "\f050";
+}
+
+.fa-step-forward:before {
+ content: "\f051";
+}
+
+.fa-eject:before {
+ content: "\f052";
+}
+
+.fa-chevron-left:before {
+ content: "\f053";
+}
+
+.fa-chevron-right:before {
+ content: "\f054";
+}
+
+.fa-plus-circle:before {
+ content: "\f055";
+}
+
+.fa-minus-circle:before {
+ content: "\f056";
+}
+
+.fa-times-circle:before {
+ content: "\f057";
+}
+
+.fa-check-circle:before {
+ content: "\f058";
+}
+
+.fa-question-circle:before {
+ content: "\f059";
+}
+
+.fa-info-circle:before {
+ content: "\f05a";
+}
+
+.fa-crosshairs:before {
+ content: "\f05b";
+}
+
+.fa-times-circle-o:before {
+ content: "\f05c";
+}
+
+.fa-check-circle-o:before {
+ content: "\f05d";
+}
+
+.fa-ban:before {
+ content: "\f05e";
+}
+
+.fa-arrow-left:before {
+ content: "\f060";
+}
+
+.fa-arrow-right:before {
+ content: "\f061";
+}
+
+.fa-arrow-up:before {
+ content: "\f062";
+}
+
+.fa-arrow-down:before {
+ content: "\f063";
+}
+
+.fa-mail-forward:before,
+.fa-share:before {
+ content: "\f064";
+}
+
+.fa-expand:before {
+ content: "\f065";
+}
+
+.fa-compress:before {
+ content: "\f066";
+}
+
+.fa-plus:before {
+ content: "\f067";
+}
+
+.fa-minus:before {
+ content: "\f068";
+}
+
+.fa-asterisk:before {
+ content: "\f069";
+}
+
+.fa-exclamation-circle:before {
+ content: "\f06a";
+}
+
+.fa-gift:before {
+ content: "\f06b";
+}
+
+.fa-leaf:before {
+ content: "\f06c";
+}
+
+.fa-fire:before {
+ content: "\f06d";
+}
+
+.fa-eye:before {
+ content: "\f06e";
+}
+
+.fa-eye-slash:before {
+ content: "\f070";
+}
+
+.fa-warning:before,
+.fa-exclamation-triangle:before {
+ content: "\f071";
+}
+
+.fa-plane:before {
+ content: "\f072";
+}
+
+.fa-calendar:before {
+ content: "\f073";
+}
+
+.fa-random:before {
+ content: "\f074";
+}
+
+.fa-comment:before {
+ content: "\f075";
+}
+
+.fa-magnet:before {
+ content: "\f076";
+}
+
+.fa-chevron-up:before {
+ content: "\f077";
+}
+
+.fa-chevron-down:before {
+ content: "\f078";
+}
+
+.fa-retweet:before {
+ content: "\f079";
+}
+
+.fa-shopping-cart:before {
+ content: "\f07a";
+}
+
+.fa-folder:before {
+ content: "\f07b";
+}
+
+.fa-folder-open:before {
+ content: "\f07c";
+}
+
+.fa-arrows-v:before {
+ content: "\f07d";
+}
+
+.fa-arrows-h:before {
+ content: "\f07e";
+}
+
+.fa-bar-chart-o:before,
+.fa-bar-chart:before {
+ content: "\f080";
+}
+
+.fa-twitter-square:before {
+ content: "\f081";
+}
+
+.fa-facebook-square:before {
+ content: "\f082";
+}
+
+.fa-camera-retro:before {
+ content: "\f083";
+}
+
+.fa-key:before {
+ content: "\f084";
+}
+
+.fa-gears:before,
+.fa-cogs:before {
+ content: "\f085";
+}
+
+.fa-comments:before {
+ content: "\f086";
+}
+
+.fa-thumbs-o-up:before {
+ content: "\f087";
+}
+
+.fa-thumbs-o-down:before {
+ content: "\f088";
+}
+
+.fa-star-half:before {
+ content: "\f089";
+}
+
+.fa-heart-o:before {
+ content: "\f08a";
+}
+
+.fa-sign-out:before {
+ content: "\f08b";
+}
+
+.fa-linkedin-square:before {
+ content: "\f08c";
+}
+
+.fa-thumb-tack:before {
+ content: "\f08d";
+}
+
+.fa-external-link:before {
+ content: "\f08e";
+}
+
+.fa-sign-in:before {
+ content: "\f090";
+}
+
+.fa-trophy:before {
+ content: "\f091";
+}
+
+.fa-github-square:before {
+ content: "\f092";
+}
+
+.fa-upload:before {
+ content: "\f093";
+}
+
+.fa-lemon-o:before {
+ content: "\f094";
+}
+
+.fa-phone:before {
+ content: "\f095";
+}
+
+.fa-square-o:before {
+ content: "\f096";
+}
+
+.fa-bookmark-o:before {
+ content: "\f097";
+}
+
+.fa-phone-square:before {
+ content: "\f098";
+}
+
+.fa-twitter:before {
+ content: "\f099";
+}
+
+.fa-facebook-f:before,
+.fa-facebook:before {
+ content: "\f09a";
+}
+
+.fa-github:before {
+ content: "\f09b";
+}
+
+.fa-unlock:before {
+ content: "\f09c";
+}
+
+.fa-credit-card:before {
+ content: "\f09d";
+}
+
+.fa-feed:before,
+.fa-rss:before {
+ content: "\f09e";
+}
+
+.fa-hdd-o:before {
+ content: "\f0a0";
+}
+
+.fa-bullhorn:before {
+ content: "\f0a1";
+}
+
+.fa-bell:before {
+ content: "\f0f3";
+}
+
+.fa-certificate:before {
+ content: "\f0a3";
+}
+
+.fa-hand-o-right:before {
+ content: "\f0a4";
+}
+
+.fa-hand-o-left:before {
+ content: "\f0a5";
+}
+
+.fa-hand-o-up:before {
+ content: "\f0a6";
+}
+
+.fa-hand-o-down:before {
+ content: "\f0a7";
+}
+
+.fa-arrow-circle-left:before {
+ content: "\f0a8";
+}
+
+.fa-arrow-circle-right:before {
+ content: "\f0a9";
+}
+
+.fa-arrow-circle-up:before {
+ content: "\f0aa";
+}
+
+.fa-arrow-circle-down:before {
+ content: "\f0ab";
+}
+
+.fa-globe:before {
+ content: "\f0ac";
+}
+
+.fa-wrench:before {
+ content: "\f0ad";
+}
+
+.fa-tasks:before {
+ content: "\f0ae";
+}
+
+.fa-filter:before {
+ content: "\f0b0";
+}
+
+.fa-briefcase:before {
+ content: "\f0b1";
+}
+
+.fa-arrows-alt:before {
+ content: "\f0b2";
+}
+
+.fa-group:before,
+.fa-users:before {
+ content: "\f0c0";
+}
+
+.fa-chain:before,
+.fa-link:before {
+ content: "\f0c1";
+}
+
+.fa-cloud:before {
+ content: "\f0c2";
+}
+
+.fa-flask:before {
+ content: "\f0c3";
+}
+
+.fa-cut:before,
+.fa-scissors:before {
+ content: "\f0c4";
+}
+
+.fa-copy:before,
+.fa-files-o:before {
+ content: "\f0c5";
+}
+
+.fa-paperclip:before {
+ content: "\f0c6";
+}
+
+.fa-save:before,
+.fa-floppy-o:before {
+ content: "\f0c7";
+}
+
+.fa-square:before {
+ content: "\f0c8";
+}
+
+.fa-navicon:before,
+.fa-reorder:before,
+.fa-bars:before {
+ content: "\f0c9";
+}
+
+.fa-list-ul:before {
+ content: "\f0ca";
+}
+
+.fa-list-ol:before {
+ content: "\f0cb";
+}
+
+.fa-strikethrough:before {
+ content: "\f0cc";
+}
+
+.fa-underline:before {
+ content: "\f0cd";
+}
+
+.fa-table:before {
+ content: "\f0ce";
+}
+
+.fa-magic:before {
+ content: "\f0d0";
+}
+
+.fa-truck:before {
+ content: "\f0d1";
+}
+
+.fa-pinterest:before {
+ content: "\f0d2";
+}
+
+.fa-pinterest-square:before {
+ content: "\f0d3";
+}
+
+.fa-google-plus-square:before {
+ content: "\f0d4";
+}
+
+.fa-google-plus:before {
+ content: "\f0d5";
+}
+
+.fa-money:before {
+ content: "\f0d6";
+}
+
+.fa-caret-down:before {
+ content: "\f0d7";
+}
+
+.fa-caret-up:before {
+ content: "\f0d8";
+}
+
+.fa-caret-left:before {
+ content: "\f0d9";
+}
+
+.fa-caret-right:before {
+ content: "\f0da";
+}
+
+.fa-columns:before {
+ content: "\f0db";
+}
+
+.fa-unsorted:before,
+.fa-sort:before {
+ content: "\f0dc";
+}
+
+.fa-sort-down:before,
+.fa-sort-desc:before {
+ content: "\f0dd";
+}
+
+.fa-sort-up:before,
+.fa-sort-asc:before {
+ content: "\f0de";
+}
+
+.fa-envelope:before {
+ content: "\f0e0";
+}
+
+.fa-linkedin:before {
+ content: "\f0e1";
+}
+
+.fa-rotate-left:before,
+.fa-undo:before {
+ content: "\f0e2";
+}
+
+.fa-legal:before,
+.fa-gavel:before {
+ content: "\f0e3";
+}
+
+.fa-dashboard:before,
+.fa-tachometer:before {
+ content: "\f0e4";
+}
+
+.fa-comment-o:before {
+ content: "\f0e5";
+}
+
+.fa-comments-o:before {
+ content: "\f0e6";
+}
+
+.fa-flash:before,
+.fa-bolt:before {
+ content: "\f0e7";
+}
+
+.fa-sitemap:before {
+ content: "\f0e8";
+}
+
+.fa-umbrella:before {
+ content: "\f0e9";
+}
+
+.fa-paste:before,
+.fa-clipboard:before {
+ content: "\f0ea";
+}
+
+.fa-lightbulb-o:before {
+ content: "\f0eb";
+}
+
+.fa-exchange:before {
+ content: "\f0ec";
+}
+
+.fa-cloud-download:before {
+ content: "\f0ed";
+}
+
+.fa-cloud-upload:before {
+ content: "\f0ee";
+}
+
+.fa-user-md:before {
+ content: "\f0f0";
+}
+
+.fa-stethoscope:before {
+ content: "\f0f1";
+}
+
+.fa-suitcase:before {
+ content: "\f0f2";
+}
+
+.fa-bell-o:before {
+ content: "\f0a2";
+}
+
+.fa-coffee:before {
+ content: "\f0f4";
+}
+
+.fa-cutlery:before {
+ content: "\f0f5";
+}
+
+.fa-file-text-o:before {
+ content: "\f0f6";
+}
+
+.fa-building-o:before {
+ content: "\f0f7";
+}
+
+.fa-hospital-o:before {
+ content: "\f0f8";
+}
+
+.fa-ambulance:before {
+ content: "\f0f9";
+}
+
+.fa-medkit:before {
+ content: "\f0fa";
+}
+
+.fa-fighter-jet:before {
+ content: "\f0fb";
+}
+
+.fa-beer:before {
+ content: "\f0fc";
+}
+
+.fa-h-square:before {
+ content: "\f0fd";
+}
+
+.fa-plus-square:before {
+ content: "\f0fe";
+}
+
+.fa-angle-double-left:before {
+ content: "\f100";
+}
+
+.fa-angle-double-right:before {
+ content: "\f101";
+}
+
+.fa-angle-double-up:before {
+ content: "\f102";
+}
+
+.fa-angle-double-down:before {
+ content: "\f103";
+}
+
+.fa-angle-left:before {
+ content: "\f104";
+}
+
+.fa-angle-right:before {
+ content: "\f105";
+}
+
+.fa-angle-up:before {
+ content: "\f106";
+}
+
+.fa-angle-down:before {
+ content: "\f107";
+}
+
+.fa-desktop:before {
+ content: "\f108";
+}
+
+.fa-laptop:before {
+ content: "\f109";
+}
+
+.fa-tablet:before {
+ content: "\f10a";
+}
+
+.fa-mobile-phone:before,
+.fa-mobile:before {
+ content: "\f10b";
+}
+
+.fa-circle-o:before {
+ content: "\f10c";
+}
+
+.fa-quote-left:before {
+ content: "\f10d";
+}
+
+.fa-quote-right:before {
+ content: "\f10e";
+}
+
+.fa-spinner:before {
+ content: "\f110";
+}
+
+.fa-circle:before {
+ content: "\f111";
+}
+
+.fa-mail-reply:before,
+.fa-reply:before {
+ content: "\f112";
+}
+
+.fa-github-alt:before {
+ content: "\f113";
+}
+
+.fa-folder-o:before {
+ content: "\f114";
+}
+
+.fa-folder-open-o:before {
+ content: "\f115";
+}
+
+.fa-smile-o:before {
+ content: "\f118";
+}
+
+.fa-frown-o:before {
+ content: "\f119";
+}
+
+.fa-meh-o:before {
+ content: "\f11a";
+}
+
+.fa-gamepad:before {
+ content: "\f11b";
+}
+
+.fa-keyboard-o:before {
+ content: "\f11c";
+}
+
+.fa-flag-o:before {
+ content: "\f11d";
+}
+
+.fa-flag-checkered:before {
+ content: "\f11e";
+}
+
+.fa-terminal:before {
+ content: "\f120";
+}
+
+.fa-code:before {
+ content: "\f121";
+}
+
+.fa-mail-reply-all:before,
+.fa-reply-all:before {
+ content: "\f122";
+}
+
+.fa-star-half-empty:before,
+.fa-star-half-full:before,
+.fa-star-half-o:before {
+ content: "\f123";
+}
+
+.fa-location-arrow:before {
+ content: "\f124";
+}
+
+.fa-crop:before {
+ content: "\f125";
+}
+
+.fa-code-fork:before {
+ content: "\f126";
+}
+
+.fa-unlink:before,
+.fa-chain-broken:before {
+ content: "\f127";
+}
+
+.fa-question:before {
+ content: "\f128";
+}
+
+.fa-info:before {
+ content: "\f129";
+}
+
+.fa-exclamation:before {
+ content: "\f12a";
+}
+
+.fa-superscript:before {
+ content: "\f12b";
+}
+
+.fa-subscript:before {
+ content: "\f12c";
+}
+
+.fa-eraser:before {
+ content: "\f12d";
+}
+
+.fa-puzzle-piece:before {
+ content: "\f12e";
+}
+
+.fa-microphone:before {
+ content: "\f130";
+}
+
+.fa-microphone-slash:before {
+ content: "\f131";
+}
+
+.fa-shield:before {
+ content: "\f132";
+}
+
+.fa-calendar-o:before {
+ content: "\f133";
+}
+
+.fa-fire-extinguisher:before {
+ content: "\f134";
+}
+
+.fa-rocket:before {
+ content: "\f135";
+}
+
+.fa-maxcdn:before {
+ content: "\f136";
+}
+
+.fa-chevron-circle-left:before {
+ content: "\f137";
+}
+
+.fa-chevron-circle-right:before {
+ content: "\f138";
+}
+
+.fa-chevron-circle-up:before {
+ content: "\f139";
+}
+
+.fa-chevron-circle-down:before {
+ content: "\f13a";
+}
+
+.fa-html5:before {
+ content: "\f13b";
+}
+
+.fa-css3:before {
+ content: "\f13c";
+}
+
+.fa-anchor:before {
+ content: "\f13d";
+}
+
+.fa-unlock-alt:before {
+ content: "\f13e";
+}
+
+.fa-bullseye:before {
+ content: "\f140";
+}
+
+.fa-ellipsis-h:before {
+ content: "\f141";
+}
+
+.fa-ellipsis-v:before {
+ content: "\f142";
+}
+
+.fa-rss-square:before {
+ content: "\f143";
+}
+
+.fa-play-circle:before {
+ content: "\f144";
+}
+
+.fa-ticket:before {
+ content: "\f145";
+}
+
+.fa-minus-square:before {
+ content: "\f146";
+}
+
+.fa-minus-square-o:before {
+ content: "\f147";
+}
+
+.fa-level-up:before {
+ content: "\f148";
+}
+
+.fa-level-down:before {
+ content: "\f149";
+}
+
+.fa-check-square:before {
+ content: "\f14a";
+}
+
+.fa-pencil-square:before {
+ content: "\f14b";
+}
+
+.fa-external-link-square:before {
+ content: "\f14c";
+}
+
+.fa-share-square:before {
+ content: "\f14d";
+}
+
+.fa-compass:before {
+ content: "\f14e";
+}
+
+.fa-toggle-down:before,
+.fa-caret-square-o-down:before {
+ content: "\f150";
+}
+
+.fa-toggle-up:before,
+.fa-caret-square-o-up:before {
+ content: "\f151";
+}
+
+.fa-toggle-right:before,
+.fa-caret-square-o-right:before {
+ content: "\f152";
+}
+
+.fa-euro:before,
+.fa-eur:before {
+ content: "\f153";
+}
+
+.fa-gbp:before {
+ content: "\f154";
+}
+
+.fa-dollar:before,
+.fa-usd:before {
+ content: "\f155";
+}
+
+.fa-rupee:before,
+.fa-inr:before {
+ content: "\f156";
+}
+
+.fa-cny:before,
+.fa-rmb:before,
+.fa-yen:before,
+.fa-jpy:before {
+ content: "\f157";
+}
+
+.fa-ruble:before,
+.fa-rouble:before,
+.fa-rub:before {
+ content: "\f158";
+}
+
+.fa-won:before,
+.fa-krw:before {
+ content: "\f159";
+}
+
+.fa-bitcoin:before,
+.fa-btc:before {
+ content: "\f15a";
+}
+
+.fa-file:before {
+ content: "\f15b";
+}
+
+.fa-file-text:before {
+ content: "\f15c";
+}
+
+.fa-sort-alpha-asc:before {
+ content: "\f15d";
+}
+
+.fa-sort-alpha-desc:before {
+ content: "\f15e";
+}
+
+.fa-sort-amount-asc:before {
+ content: "\f160";
+}
+
+.fa-sort-amount-desc:before {
+ content: "\f161";
+}
+
+.fa-sort-numeric-asc:before {
+ content: "\f162";
+}
+
+.fa-sort-numeric-desc:before {
+ content: "\f163";
+}
+
+.fa-thumbs-up:before {
+ content: "\f164";
+}
+
+.fa-thumbs-down:before {
+ content: "\f165";
+}
+
+.fa-youtube-square:before {
+ content: "\f166";
+}
+
+.fa-youtube:before {
+ content: "\f167";
+}
+
+.fa-xing:before {
+ content: "\f168";
+}
+
+.fa-xing-square:before {
+ content: "\f169";
+}
+
+.fa-youtube-play:before {
+ content: "\f16a";
+}
+
+.fa-dropbox:before {
+ content: "\f16b";
+}
+
+.fa-stack-overflow:before {
+ content: "\f16c";
+}
+
+.fa-instagram:before {
+ content: "\f16d";
+}
+
+.fa-flickr:before {
+ content: "\f16e";
+}
+
+.fa-adn:before {
+ content: "\f170";
+}
+
+.fa-bitbucket:before {
+ content: "\f171";
+}
+
+.fa-bitbucket-square:before {
+ content: "\f172";
+}
+
+.fa-tumblr:before {
+ content: "\f173";
+}
+
+.fa-tumblr-square:before {
+ content: "\f174";
+}
+
+.fa-long-arrow-down:before {
+ content: "\f175";
+}
+
+.fa-long-arrow-up:before {
+ content: "\f176";
+}
+
+.fa-long-arrow-left:before {
+ content: "\f177";
+}
+
+.fa-long-arrow-right:before {
+ content: "\f178";
+}
+
+.fa-apple:before {
+ content: "\f179";
+}
+
+.fa-windows:before {
+ content: "\f17a";
+}
+
+.fa-android:before {
+ content: "\f17b";
+}
+
+.fa-linux:before {
+ content: "\f17c";
+}
+
+.fa-dribbble:before {
+ content: "\f17d";
+}
+
+.fa-skype:before {
+ content: "\f17e";
+}
+
+.fa-foursquare:before {
+ content: "\f180";
+}
+
+.fa-trello:before {
+ content: "\f181";
+}
+
+.fa-female:before {
+ content: "\f182";
+}
+
+.fa-male:before {
+ content: "\f183";
+}
+
+.fa-gittip:before,
+.fa-gratipay:before {
+ content: "\f184";
+}
+
+.fa-sun-o:before {
+ content: "\f185";
+}
+
+.fa-moon-o:before {
+ content: "\f186";
+}
+
+.fa-archive:before {
+ content: "\f187";
+}
+
+.fa-bug:before {
+ content: "\f188";
+}
+
+.fa-vk:before {
+ content: "\f189";
+}
+
+.fa-weibo:before {
+ content: "\f18a";
+}
+
+.fa-renren:before {
+ content: "\f18b";
+}
+
+.fa-pagelines:before {
+ content: "\f18c";
+}
+
+.fa-stack-exchange:before {
+ content: "\f18d";
+}
+
+.fa-arrow-circle-o-right:before {
+ content: "\f18e";
+}
+
+.fa-arrow-circle-o-left:before {
+ content: "\f190";
+}
+
+.fa-toggle-left:before,
+.fa-caret-square-o-left:before {
+ content: "\f191";
+}
+
+.fa-dot-circle-o:before {
+ content: "\f192";
+}
+
+.fa-wheelchair:before {
+ content: "\f193";
+}
+
+.fa-vimeo-square:before {
+ content: "\f194";
+}
+
+.fa-turkish-lira:before,
+.fa-try:before {
+ content: "\f195";
+}
+
+.fa-plus-square-o:before {
+ content: "\f196";
+}
+
+.fa-space-shuttle:before {
+ content: "\f197";
+}
+
+.fa-slack:before {
+ content: "\f198";
+}
+
+.fa-envelope-square:before {
+ content: "\f199";
+}
+
+.fa-wordpress:before {
+ content: "\f19a";
+}
+
+.fa-openid:before {
+ content: "\f19b";
+}
+
+.fa-institution:before,
+.fa-bank:before,
+.fa-university:before {
+ content: "\f19c";
+}
+
+.fa-mortar-board:before,
+.fa-graduation-cap:before {
+ content: "\f19d";
+}
+
+.fa-yahoo:before {
+ content: "\f19e";
+}
+
+.fa-google:before {
+ content: "\f1a0";
+}
+
+.fa-reddit:before {
+ content: "\f1a1";
+}
+
+.fa-reddit-square:before {
+ content: "\f1a2";
+}
+
+.fa-stumbleupon-circle:before {
+ content: "\f1a3";
+}
+
+.fa-stumbleupon:before {
+ content: "\f1a4";
+}
+
+.fa-delicious:before {
+ content: "\f1a5";
+}
+
+.fa-digg:before {
+ content: "\f1a6";
+}
+
+.fa-pied-piper-pp:before {
+ content: "\f1a7";
+}
+
+.fa-pied-piper-alt:before {
+ content: "\f1a8";
+}
+
+.fa-drupal:before {
+ content: "\f1a9";
+}
+
+.fa-joomla:before {
+ content: "\f1aa";
+}
+
+.fa-language:before {
+ content: "\f1ab";
+}
+
+.fa-fax:before {
+ content: "\f1ac";
+}
+
+.fa-building:before {
+ content: "\f1ad";
+}
+
+.fa-child:before {
+ content: "\f1ae";
+}
+
+.fa-paw:before {
+ content: "\f1b0";
+}
+
+.fa-spoon:before {
+ content: "\f1b1";
+}
+
+.fa-cube:before {
+ content: "\f1b2";
+}
+
+.fa-cubes:before {
+ content: "\f1b3";
+}
+
+.fa-behance:before {
+ content: "\f1b4";
+}
+
+.fa-behance-square:before {
+ content: "\f1b5";
+}
+
+.fa-steam:before {
+ content: "\f1b6";
+}
+
+.fa-steam-square:before {
+ content: "\f1b7";
+}
+
+.fa-recycle:before {
+ content: "\f1b8";
+}
+
+.fa-automobile:before,
+.fa-car:before {
+ content: "\f1b9";
+}
+
+.fa-cab:before,
+.fa-taxi:before {
+ content: "\f1ba";
+}
+
+.fa-tree:before {
+ content: "\f1bb";
+}
+
+.fa-spotify:before {
+ content: "\f1bc";
+}
+
+.fa-deviantart:before {
+ content: "\f1bd";
+}
+
+.fa-soundcloud:before {
+ content: "\f1be";
+}
+
+.fa-database:before {
+ content: "\f1c0";
+}
+
+.fa-file-pdf-o:before {
+ content: "\f1c1";
+}
+
+.fa-file-word-o:before {
+ content: "\f1c2";
+}
+
+.fa-file-excel-o:before {
+ content: "\f1c3";
+}
+
+.fa-file-powerpoint-o:before {
+ content: "\f1c4";
+}
+
+.fa-file-photo-o:before,
+.fa-file-picture-o:before,
+.fa-file-image-o:before {
+ content: "\f1c5";
+}
+
+.fa-file-zip-o:before,
+.fa-file-archive-o:before {
+ content: "\f1c6";
+}
+
+.fa-file-sound-o:before,
+.fa-file-audio-o:before {
+ content: "\f1c7";
+}
+
+.fa-file-movie-o:before,
+.fa-file-video-o:before {
+ content: "\f1c8";
+}
+
+.fa-file-code-o:before {
+ content: "\f1c9";
+}
+
+.fa-vine:before {
+ content: "\f1ca";
+}
+
+.fa-codepen:before {
+ content: "\f1cb";
+}
+
+.fa-jsfiddle:before {
+ content: "\f1cc";
+}
+
+.fa-life-bouy:before,
+.fa-life-buoy:before,
+.fa-life-saver:before,
+.fa-support:before,
+.fa-life-ring:before {
+ content: "\f1cd";
+}
+
+.fa-circle-o-notch:before {
+ content: "\f1ce";
+}
+
+.fa-ra:before,
+.fa-resistance:before,
+.fa-rebel:before {
+ content: "\f1d0";
+}
+
+.fa-ge:before,
+.fa-empire:before {
+ content: "\f1d1";
+}
+
+.fa-git-square:before {
+ content: "\f1d2";
+}
+
+.fa-git:before {
+ content: "\f1d3";
+}
+
+.fa-y-combinator-square:before,
+.fa-yc-square:before,
+.fa-hacker-news:before {
+ content: "\f1d4";
+}
+
+.fa-tencent-weibo:before {
+ content: "\f1d5";
+}
+
+.fa-qq:before {
+ content: "\f1d6";
+}
+
+.fa-wechat:before,
+.fa-weixin:before {
+ content: "\f1d7";
+}
+
+.fa-send:before,
+.fa-paper-plane:before {
+ content: "\f1d8";
+}
+
+.fa-send-o:before,
+.fa-paper-plane-o:before {
+ content: "\f1d9";
+}
+
+.fa-history:before {
+ content: "\f1da";
+}
+
+.fa-circle-thin:before {
+ content: "\f1db";
+}
+
+.fa-header:before {
+ content: "\f1dc";
+}
+
+.fa-paragraph:before {
+ content: "\f1dd";
+}
+
+.fa-sliders:before {
+ content: "\f1de";
+}
+
+.fa-share-alt:before {
+ content: "\f1e0";
+}
+
+.fa-share-alt-square:before {
+ content: "\f1e1";
+}
+
+.fa-bomb:before {
+ content: "\f1e2";
+}
+
+.fa-soccer-ball-o:before,
+.fa-futbol-o:before {
+ content: "\f1e3";
+}
+
+.fa-tty:before {
+ content: "\f1e4";
+}
+
+.fa-binoculars:before {
+ content: "\f1e5";
+}
+
+.fa-plug:before {
+ content: "\f1e6";
+}
+
+.fa-slideshare:before {
+ content: "\f1e7";
+}
+
+.fa-twitch:before {
+ content: "\f1e8";
+}
+
+.fa-yelp:before {
+ content: "\f1e9";
+}
+
+.fa-newspaper-o:before {
+ content: "\f1ea";
+}
+
+.fa-wifi:before {
+ content: "\f1eb";
+}
+
+.fa-calculator:before {
+ content: "\f1ec";
+}
+
+.fa-paypal:before {
+ content: "\f1ed";
+}
+
+.fa-google-wallet:before {
+ content: "\f1ee";
+}
+
+.fa-cc-visa:before {
+ content: "\f1f0";
+}
+
+.fa-cc-mastercard:before {
+ content: "\f1f1";
+}
+
+.fa-cc-discover:before {
+ content: "\f1f2";
+}
+
+.fa-cc-amex:before {
+ content: "\f1f3";
+}
+
+.fa-cc-paypal:before {
+ content: "\f1f4";
+}
+
+.fa-cc-stripe:before {
+ content: "\f1f5";
+}
+
+.fa-bell-slash:before {
+ content: "\f1f6";
+}
+
+.fa-bell-slash-o:before {
+ content: "\f1f7";
+}
+
+.fa-trash:before {
+ content: "\f1f8";
+}
+
+.fa-copyright:before {
+ content: "\f1f9";
+}
+
+.fa-at:before {
+ content: "\f1fa";
+}
+
+.fa-eyedropper:before {
+ content: "\f1fb";
+}
+
+.fa-paint-brush:before {
+ content: "\f1fc";
+}
+
+.fa-birthday-cake:before {
+ content: "\f1fd";
+}
+
+.fa-area-chart:before {
+ content: "\f1fe";
+}
+
+.fa-pie-chart:before {
+ content: "\f200";
+}
+
+.fa-line-chart:before {
+ content: "\f201";
+}
+
+.fa-lastfm:before {
+ content: "\f202";
+}
+
+.fa-lastfm-square:before {
+ content: "\f203";
+}
+
+.fa-toggle-off:before {
+ content: "\f204";
+}
+
+.fa-toggle-on:before {
+ content: "\f205";
+}
+
+.fa-bicycle:before {
+ content: "\f206";
+}
+
+.fa-bus:before {
+ content: "\f207";
+}
+
+.fa-ioxhost:before {
+ content: "\f208";
+}
+
+.fa-angellist:before {
+ content: "\f209";
+}
+
+.fa-cc:before {
+ content: "\f20a";
+}
+
+.fa-shekel:before,
+.fa-sheqel:before,
+.fa-ils:before {
+ content: "\f20b";
+}
+
+.fa-meanpath:before {
+ content: "\f20c";
+}
+
+.fa-buysellads:before {
+ content: "\f20d";
+}
+
+.fa-connectdevelop:before {
+ content: "\f20e";
+}
+
+.fa-dashcube:before {
+ content: "\f210";
+}
+
+.fa-forumbee:before {
+ content: "\f211";
+}
+
+.fa-leanpub:before {
+ content: "\f212";
+}
+
+.fa-sellsy:before {
+ content: "\f213";
+}
+
+.fa-shirtsinbulk:before {
+ content: "\f214";
+}
+
+.fa-simplybuilt:before {
+ content: "\f215";
+}
+
+.fa-skyatlas:before {
+ content: "\f216";
+}
+
+.fa-cart-plus:before {
+ content: "\f217";
+}
+
+.fa-cart-arrow-down:before {
+ content: "\f218";
+}
+
+.fa-diamond:before {
+ content: "\f219";
+}
+
+.fa-ship:before {
+ content: "\f21a";
+}
+
+.fa-user-secret:before {
+ content: "\f21b";
+}
+
+.fa-motorcycle:before {
+ content: "\f21c";
+}
+
+.fa-street-view:before {
+ content: "\f21d";
+}
+
+.fa-heartbeat:before {
+ content: "\f21e";
+}
+
+.fa-venus:before {
+ content: "\f221";
+}
+
+.fa-mars:before {
+ content: "\f222";
+}
+
+.fa-mercury:before {
+ content: "\f223";
+}
+
+.fa-intersex:before,
+.fa-transgender:before {
+ content: "\f224";
+}
+
+.fa-transgender-alt:before {
+ content: "\f225";
+}
+
+.fa-venus-double:before {
+ content: "\f226";
+}
+
+.fa-mars-double:before {
+ content: "\f227";
+}
+
+.fa-venus-mars:before {
+ content: "\f228";
+}
+
+.fa-mars-stroke:before {
+ content: "\f229";
+}
+
+.fa-mars-stroke-v:before {
+ content: "\f22a";
+}
+
+.fa-mars-stroke-h:before {
+ content: "\f22b";
+}
+
+.fa-neuter:before {
+ content: "\f22c";
+}
+
+.fa-genderless:before {
+ content: "\f22d";
+}
+
+.fa-facebook-official:before {
+ content: "\f230";
+}
+
+.fa-pinterest-p:before {
+ content: "\f231";
+}
+
+.fa-whatsapp:before {
+ content: "\f232";
+}
+
+.fa-server:before {
+ content: "\f233";
+}
+
+.fa-user-plus:before {
+ content: "\f234";
+}
+
+.fa-user-times:before {
+ content: "\f235";
+}
+
+.fa-hotel:before,
+.fa-bed:before {
+ content: "\f236";
+}
+
+.fa-viacoin:before {
+ content: "\f237";
+}
+
+.fa-train:before {
+ content: "\f238";
+}
+
+.fa-subway:before {
+ content: "\f239";
+}
+
+.fa-medium:before {
+ content: "\f23a";
+}
+
+.fa-yc:before,
+.fa-y-combinator:before {
+ content: "\f23b";
+}
+
+.fa-optin-monster:before {
+ content: "\f23c";
+}
+
+.fa-opencart:before {
+ content: "\f23d";
+}
+
+.fa-expeditedssl:before {
+ content: "\f23e";
+}
+
+.fa-battery-4:before,
+.fa-battery:before,
+.fa-battery-full:before {
+ content: "\f240";
+}
+
+.fa-battery-3:before,
+.fa-battery-three-quarters:before {
+ content: "\f241";
+}
+
+.fa-battery-2:before,
+.fa-battery-half:before {
+ content: "\f242";
+}
+
+.fa-battery-1:before,
+.fa-battery-quarter:before {
+ content: "\f243";
+}
+
+.fa-battery-0:before,
+.fa-battery-empty:before {
+ content: "\f244";
+}
+
+.fa-mouse-pointer:before {
+ content: "\f245";
+}
+
+.fa-i-cursor:before {
+ content: "\f246";
+}
+
+.fa-object-group:before {
+ content: "\f247";
+}
+
+.fa-object-ungroup:before {
+ content: "\f248";
+}
+
+.fa-sticky-note:before {
+ content: "\f249";
+}
+
+.fa-sticky-note-o:before {
+ content: "\f24a";
+}
+
+.fa-cc-jcb:before {
+ content: "\f24b";
+}
+
+.fa-cc-diners-club:before {
+ content: "\f24c";
+}
+
+.fa-clone:before {
+ content: "\f24d";
+}
+
+.fa-balance-scale:before {
+ content: "\f24e";
+}
+
+.fa-hourglass-o:before {
+ content: "\f250";
+}
+
+.fa-hourglass-1:before,
+.fa-hourglass-start:before {
+ content: "\f251";
+}
+
+.fa-hourglass-2:before,
+.fa-hourglass-half:before {
+ content: "\f252";
+}
+
+.fa-hourglass-3:before,
+.fa-hourglass-end:before {
+ content: "\f253";
+}
+
+.fa-hourglass:before {
+ content: "\f254";
+}
+
+.fa-hand-grab-o:before,
+.fa-hand-rock-o:before {
+ content: "\f255";
+}
+
+.fa-hand-stop-o:before,
+.fa-hand-paper-o:before {
+ content: "\f256";
+}
+
+.fa-hand-scissors-o:before {
+ content: "\f257";
+}
+
+.fa-hand-lizard-o:before {
+ content: "\f258";
+}
+
+.fa-hand-spock-o:before {
+ content: "\f259";
+}
+
+.fa-hand-pointer-o:before {
+ content: "\f25a";
+}
+
+.fa-hand-peace-o:before {
+ content: "\f25b";
+}
+
+.fa-trademark:before {
+ content: "\f25c";
+}
+
+.fa-registered:before {
+ content: "\f25d";
+}
+
+.fa-creative-commons:before {
+ content: "\f25e";
+}
+
+.fa-gg:before {
+ content: "\f260";
+}
+
+.fa-gg-circle:before {
+ content: "\f261";
+}
+
+.fa-tripadvisor:before {
+ content: "\f262";
+}
+
+.fa-odnoklassniki:before {
+ content: "\f263";
+}
+
+.fa-odnoklassniki-square:before {
+ content: "\f264";
+}
+
+.fa-get-pocket:before {
+ content: "\f265";
+}
+
+.fa-wikipedia-w:before {
+ content: "\f266";
+}
+
+.fa-safari:before {
+ content: "\f267";
+}
+
+.fa-chrome:before {
+ content: "\f268";
+}
+
+.fa-firefox:before {
+ content: "\f269";
+}
+
+.fa-opera:before {
+ content: "\f26a";
+}
+
+.fa-internet-explorer:before {
+ content: "\f26b";
+}
+
+.fa-tv:before,
+.fa-television:before {
+ content: "\f26c";
+}
+
+.fa-contao:before {
+ content: "\f26d";
+}
+
+.fa-500px:before {
+ content: "\f26e";
+}
+
+.fa-amazon:before {
+ content: "\f270";
+}
+
+.fa-calendar-plus-o:before {
+ content: "\f271";
+}
+
+.fa-calendar-minus-o:before {
+ content: "\f272";
+}
+
+.fa-calendar-times-o:before {
+ content: "\f273";
+}
+
+.fa-calendar-check-o:before {
+ content: "\f274";
+}
+
+.fa-industry:before {
+ content: "\f275";
+}
+
+.fa-map-pin:before {
+ content: "\f276";
+}
+
+.fa-map-signs:before {
+ content: "\f277";
+}
+
+.fa-map-o:before {
+ content: "\f278";
+}
+
+.fa-map:before {
+ content: "\f279";
+}
+
+.fa-commenting:before {
+ content: "\f27a";
+}
+
+.fa-commenting-o:before {
+ content: "\f27b";
+}
+
+.fa-houzz:before {
+ content: "\f27c";
+}
+
+.fa-vimeo:before {
+ content: "\f27d";
+}
+
+.fa-black-tie:before {
+ content: "\f27e";
+}
+
+.fa-fonticons:before {
+ content: "\f280";
+}
+
+.fa-reddit-alien:before {
+ content: "\f281";
+}
+
+.fa-edge:before {
+ content: "\f282";
+}
+
+.fa-credit-card-alt:before {
+ content: "\f283";
+}
+
+.fa-codiepie:before {
+ content: "\f284";
+}
+
+.fa-modx:before {
+ content: "\f285";
+}
+
+.fa-fort-awesome:before {
+ content: "\f286";
+}
+
+.fa-usb:before {
+ content: "\f287";
+}
+
+.fa-product-hunt:before {
+ content: "\f288";
+}
+
+.fa-mixcloud:before {
+ content: "\f289";
+}
+
+.fa-scribd:before {
+ content: "\f28a";
+}
+
+.fa-pause-circle:before {
+ content: "\f28b";
+}
+
+.fa-pause-circle-o:before {
+ content: "\f28c";
+}
+
+.fa-stop-circle:before {
+ content: "\f28d";
+}
+
+.fa-stop-circle-o:before {
+ content: "\f28e";
+}
+
+.fa-shopping-bag:before {
+ content: "\f290";
+}
+
+.fa-shopping-basket:before {
+ content: "\f291";
+}
+
+.fa-hashtag:before {
+ content: "\f292";
+}
+
+.fa-bluetooth:before {
+ content: "\f293";
+}
+
+.fa-bluetooth-b:before {
+ content: "\f294";
+}
+
+.fa-percent:before {
+ content: "\f295";
+}
+
+.fa-gitlab:before {
+ content: "\f296";
+}
+
+.fa-wpbeginner:before {
+ content: "\f297";
+}
+
+.fa-wpforms:before {
+ content: "\f298";
+}
+
+.fa-envira:before {
+ content: "\f299";
+}
+
+.fa-universal-access:before {
+ content: "\f29a";
+}
+
+.fa-wheelchair-alt:before {
+ content: "\f29b";
+}
+
+.fa-question-circle-o:before {
+ content: "\f29c";
+}
+
+.fa-blind:before {
+ content: "\f29d";
+}
+
+.fa-audio-description:before {
+ content: "\f29e";
+}
+
+.fa-volume-control-phone:before {
+ content: "\f2a0";
+}
+
+.fa-braille:before {
+ content: "\f2a1";
+}
+
+.fa-assistive-listening-systems:before {
+ content: "\f2a2";
+}
+
+.fa-asl-interpreting:before,
+.fa-american-sign-language-interpreting:before {
+ content: "\f2a3";
+}
+
+.fa-deafness:before,
+.fa-hard-of-hearing:before,
+.fa-deaf:before {
+ content: "\f2a4";
+}
+
+.fa-glide:before {
+ content: "\f2a5";
+}
+
+.fa-glide-g:before {
+ content: "\f2a6";
+}
+
+.fa-signing:before,
+.fa-sign-language:before {
+ content: "\f2a7";
+}
+
+.fa-low-vision:before {
+ content: "\f2a8";
+}
+
+.fa-viadeo:before {
+ content: "\f2a9";
+}
+
+.fa-viadeo-square:before {
+ content: "\f2aa";
+}
+
+.fa-snapchat:before {
+ content: "\f2ab";
+}
+
+.fa-snapchat-ghost:before {
+ content: "\f2ac";
+}
+
+.fa-snapchat-square:before {
+ content: "\f2ad";
+}
+
+.fa-pied-piper:before {
+ content: "\f2ae";
+}
+
+.fa-first-order:before {
+ content: "\f2b0";
+}
+
+.fa-yoast:before {
+ content: "\f2b1";
+}
+
+.fa-themeisle:before {
+ content: "\f2b2";
+}
+
+.fa-google-plus-circle:before,
+.fa-google-plus-official:before {
+ content: "\f2b3";
+}
+
+.fa-fa:before,
+.fa-font-awesome:before {
+ content: "\f2b4";
+}
+
+.fa-handshake-o:before {
+ content: "\f2b5";
+}
+
+.fa-envelope-open:before {
+ content: "\f2b6";
+}
+
+.fa-envelope-open-o:before {
+ content: "\f2b7";
+}
+
+.fa-linode:before {
+ content: "\f2b8";
+}
+
+.fa-address-book:before {
+ content: "\f2b9";
+}
+
+.fa-address-book-o:before {
+ content: "\f2ba";
+}
+
+.fa-vcard:before,
+.fa-address-card:before {
+ content: "\f2bb";
+}
+
+.fa-vcard-o:before,
+.fa-address-card-o:before {
+ content: "\f2bc";
+}
+
+.fa-user-circle:before {
+ content: "\f2bd";
+}
+
+.fa-user-circle-o:before {
+ content: "\f2be";
+}
+
+.fa-user-o:before {
+ content: "\f2c0";
+}
+
+.fa-id-badge:before {
+ content: "\f2c1";
+}
+
+.fa-drivers-license:before,
+.fa-id-card:before {
+ content: "\f2c2";
+}
+
+.fa-drivers-license-o:before,
+.fa-id-card-o:before {
+ content: "\f2c3";
+}
+
+.fa-quora:before {
+ content: "\f2c4";
+}
+
+.fa-free-code-camp:before {
+ content: "\f2c5";
+}
+
+.fa-telegram:before {
+ content: "\f2c6";
+}
+
+.fa-thermometer-4:before,
+.fa-thermometer:before,
+.fa-thermometer-full:before {
+ content: "\f2c7";
+}
+
+.fa-thermometer-3:before,
+.fa-thermometer-three-quarters:before {
+ content: "\f2c8";
+}
+
+.fa-thermometer-2:before,
+.fa-thermometer-half:before {
+ content: "\f2c9";
+}
+
+.fa-thermometer-1:before,
+.fa-thermometer-quarter:before {
+ content: "\f2ca";
+}
+
+.fa-thermometer-0:before,
+.fa-thermometer-empty:before {
+ content: "\f2cb";
+}
+
+.fa-shower:before {
+ content: "\f2cc";
+}
+
+.fa-bathtub:before,
+.fa-s15:before,
+.fa-bath:before {
+ content: "\f2cd";
+}
+
+.fa-podcast:before {
+ content: "\f2ce";
+}
+
+.fa-window-maximize:before {
+ content: "\f2d0";
+}
+
+.fa-window-minimize:before {
+ content: "\f2d1";
+}
+
+.fa-window-restore:before {
+ content: "\f2d2";
+}
+
+.fa-times-rectangle:before,
+.fa-window-close:before {
+ content: "\f2d3";
+}
+
+.fa-times-rectangle-o:before,
+.fa-window-close-o:before {
+ content: "\f2d4";
+}
+
+.fa-bandcamp:before {
+ content: "\f2d5";
+}
+
+.fa-grav:before {
+ content: "\f2d6";
+}
+
+.fa-etsy:before {
+ content: "\f2d7";
+}
+
+.fa-imdb:before {
+ content: "\f2d8";
+}
+
+.fa-ravelry:before {
+ content: "\f2d9";
+}
+
+.fa-eercast:before {
+ content: "\f2da";
+}
+
+.fa-microchip:before {
+ content: "\f2db";
+}
+
+.fa-snowflake-o:before {
+ content: "\f2dc";
+}
+
+.fa-superpowers:before {
+ content: "\f2dd";
+}
+
+.fa-wpexplorer:before {
+ content: "\f2de";
+}
+
+.fa-meetup:before {
+ content: "\f2e0";
+}
+
+.sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ border: 0;
+}
+
+.sr-only-focusable:active, .sr-only-focusable:focus {
+ position: static;
+ width: auto;
+ height: auto;
+ margin: 0;
+ overflow: visible;
+ clip: auto;
+}
+
+.flash-error {
+ color: #d00;
+ border: solid 2px;
+ padding: 1em;
+ margin: 0.75em 0;
+}
+
+.flash-warning {
+ color: #c50;
+ border: solid 2px;
+ padding: 1em;
+ margin: 0.75em 0;
+}
+
+.flash-info {
+ color: #05c;
+ border: solid 2px;
+ padding: 1em;
+ margin: 0.75em 0;
+}
+
+.highlight .hll {
+ background-color: #ffffcc;
+}
+
+.highlight {
+ background: #ffffff;
+}
+
+.highlight .c {
+ color: #008800;
+ font-style: italic;
+}
+
+/* Comment */
+.highlight .err {
+ border: 1px solid #FF0000;
+}
+
+/* Error */
+.highlight .k {
+ color: #AA22FF;
+ font-weight: bold;
+}
+
+/* Keyword */
+.highlight .o {
+ color: #666666;
+}
+
+/* Operator */
+.highlight .ch {
+ color: #008800;
+ font-style: italic;
+}
+
+/* Comment.Hashbang */
+.highlight .cm {
+ color: #008800;
+ font-style: italic;
+}
+
+/* Comment.Multiline */
+.highlight .cp {
+ color: #008800;
+}
+
+/* Comment.Preproc */
+.highlight .cpf {
+ color: #008800;
+ font-style: italic;
+}
+
+/* Comment.PreprocFile */
+.highlight .c1 {
+ color: #008800;
+ font-style: italic;
+}
+
+/* Comment.Single */
+.highlight .cs {
+ color: #008800;
+ font-weight: bold;
+}
+
+/* Comment.Special */
+.highlight .gd {
+ color: #A00000;
+}
+
+/* Generic.Deleted */
+.highlight .ge {
+ font-style: italic;
+}
+
+/* Generic.Emph */
+.highlight .gr {
+ color: #FF0000;
+}
+
+/* Generic.Error */
+.highlight .gh {
+ color: #000080;
+ font-weight: bold;
+}
+
+/* Generic.Heading */
+.highlight .gi {
+ color: #00A000;
+}
+
+/* Generic.Inserted */
+.highlight .go {
+ color: #888888;
+}
+
+/* Generic.Output */
+.highlight .gp {
+ color: #000080;
+ font-weight: bold;
+}
+
+/* Generic.Prompt */
+.highlight .gs {
+ font-weight: bold;
+}
+
+/* Generic.Strong */
+.highlight .gu {
+ color: #800080;
+ font-weight: bold;
+}
+
+/* Generic.Subheading */
+.highlight .gt {
+ color: #0044DD;
+}
+
+/* Generic.Traceback */
+.highlight .kc {
+ color: #AA22FF;
+ font-weight: bold;
+}
+
+/* Keyword.Constant */
+.highlight .kd {
+ color: #AA22FF;
+ font-weight: bold;
+}
+
+/* Keyword.Declaration */
+.highlight .kn {
+ color: #AA22FF;
+ font-weight: bold;
+}
+
+/* Keyword.Namespace */
+.highlight .kp {
+ color: #AA22FF;
+}
+
+/* Keyword.Pseudo */
+.highlight .kr {
+ color: #AA22FF;
+ font-weight: bold;
+}
+
+/* Keyword.Reserved */
+.highlight .kt {
+ color: #00BB00;
+ font-weight: bold;
+}
+
+/* Keyword.Type */
+.highlight .m {
+ color: #666666;
+}
+
+/* Literal.Number */
+.highlight .s {
+ color: #BB4444;
+}
+
+/* Literal.String */
+.highlight .na {
+ color: #BB4444;
+}
+
+/* Name.Attribute */
+.highlight .nb {
+ color: #AA22FF;
+}
+
+/* Name.Builtin */
+.highlight .nc {
+ color: #0000FF;
+}
+
+/* Name.Class */
+.highlight .no {
+ color: #880000;
+}
+
+/* Name.Constant */
+.highlight .nd {
+ color: #AA22FF;
+}
+
+/* Name.Decorator */
+.highlight .ni {
+ color: #999999;
+ font-weight: bold;
+}
+
+/* Name.Entity */
+.highlight .ne {
+ color: #D2413A;
+ font-weight: bold;
+}
+
+/* Name.Exception */
+.highlight .nf {
+ color: #00A000;
+}
+
+/* Name.Function */
+.highlight .nl {
+ color: #A0A000;
+}
+
+/* Name.Label */
+.highlight .nn {
+ color: #0000FF;
+ font-weight: bold;
+}
+
+/* Name.Namespace */
+.highlight .nt {
+ color: #008000;
+ font-weight: bold;
+}
+
+/* Name.Tag */
+.highlight .nv {
+ color: #B8860B;
+}
+
+/* Name.Variable */
+.highlight .ow {
+ color: #AA22FF;
+ font-weight: bold;
+}
+
+/* Operator.Word */
+.highlight .w {
+ color: #bbbbbb;
+}
+
+/* Text.Whitespace */
+.highlight .mb {
+ color: #666666;
+}
+
+/* Literal.Number.Bin */
+.highlight .mf {
+ color: #666666;
+}
+
+/* Literal.Number.Float */
+.highlight .mh {
+ color: #666666;
+}
+
+/* Literal.Number.Hex */
+.highlight .mi {
+ color: #666666;
+}
+
+/* Literal.Number.Integer */
+.highlight .mo {
+ color: #666666;
+}
+
+/* Literal.Number.Oct */
+.highlight .sa {
+ color: #BB4444;
+}
+
+/* Literal.String.Affix */
+.highlight .sb {
+ color: #BB4444;
+}
+
+/* Literal.String.Backtick */
+.highlight .sc {
+ color: #BB4444;
+}
+
+/* Literal.String.Char */
+.highlight .dl {
+ color: #BB4444;
+}
+
+/* Literal.String.Delimiter */
+.highlight .sd {
+ color: #BB4444;
+ font-style: italic;
+}
+
+/* Literal.String.Doc */
+.highlight .s2 {
+ color: #BB4444;
+}
+
+/* Literal.String.Double */
+.highlight .se {
+ color: #BB6622;
+ font-weight: bold;
+}
+
+/* Literal.String.Escape */
+.highlight .sh {
+ color: #BB4444;
+}
+
+/* Literal.String.Heredoc */
+.highlight .si {
+ color: #BB6688;
+ font-weight: bold;
+}
+
+/* Literal.String.Interpol */
+.highlight .sx {
+ color: #008000;
+}
+
+/* Literal.String.Other */
+.highlight .sr {
+ color: #BB6688;
+}
+
+/* Literal.String.Regex */
+.highlight .s1 {
+ color: #BB4444;
+}
+
+/* Literal.String.Single */
+.highlight .ss {
+ color: #B8860B;
+}
+
+/* Literal.String.Symbol */
+.highlight .bp {
+ color: #AA22FF;
+}
+
+/* Name.Builtin.Pseudo */
+.highlight .fm {
+ color: #00A000;
+}
+
+/* Name.Function.Magic */
+.highlight .vc {
+ color: #B8860B;
+}
+
+/* Name.Variable.Class */
+.highlight .vg {
+ color: #B8860B;
+}
+
+/* Name.Variable.Global */
+.highlight .vi {
+ color: #B8860B;
+}
+
+/* Name.Variable.Instance */
+.highlight .vm {
+ color: #B8860B;
+}
+
+/* Name.Variable.Magic */
+.highlight .il {
+ color: #666666;
+}
+
+/* Literal.Number.Integer.Long */
+a {
+ text-decoration: none;
+ color: var(--bs-primary);
+}
+
+/* navbar */
+.navbar {
+ padding-top: 0.3rem;
+ margin-bottom: 0.6em;
+}
+.navbar > .container-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
+ align-items: baseline;
+}
+
+.navbar-brand {
+ padding: 0;
+}
+
+.nav-link {
+ padding: 0.65rem 1rem 0;
+}
+
+.kmxgit-logo, .kmxgit-logo-lg, .kmxgit-logo-light, .kmxgit-logo-light-lg {
+ display: inline-block;
+ padding: 0 0.4em 0 0;
+ background: #000;
+ color: #fff;
+}
+.kmxgit-logo > span, .kmxgit-logo-lg > span, .kmxgit-logo-light > span, .kmxgit-logo-light-lg > span {
+ display: inline-block;
+ transform: rotate(-0.125turn);
+ margin: 0 0.3em;
+}
+
+.kmxgit-logo:hover, .kmxgit-logo-lg:hover {
+ color: #fff;
+}
+
+.kmxgit-logo-light, .kmxgit-logo-light-lg {
+ background: #fff;
+ color: #000;
+}
+.kmxgit-logo-light:hover, .kmxgit-logo-light-lg:hover {
+ color: #000;
+}
+
+.kmxgit-logo-lg, .kmxgit-logo-light-lg {
+ font-size: 4em;
+}
+
+/* footer */
+.footer {
+ padding: 1em;
+}
+
+/* misc */
+.avatar-lg {
+ float: left;
+ margin: 0 0.5em 0.5em 0;
+}
+
+.commit-avatar {
+ float: left;
+ margin-right: 0.5em;
+}
+
+.clear {
+ clear: both;
+}
+
+/* user */
+.btn-danger, .btn-danger:hover {
+ color: #fff;
+}
+
+textarea#user_description,
+textarea#organisation_description,
+textarea#repository_description {
+ min-height: 10em;
+}
+
+textarea#user_ssh_keys,
+textarea#repository_deploy_keys {
+ font-family: monospace;
+ min-height: 20em;
+ overflow-x: scroll;
+ overflow-y: scroll;
+}
+
+pre.ssh_keys {
+ max-width: 20em;
+ white-space: pre-wrap;
+}
+
+pre.admin_ssh_keys {
+ max-width: 40em;
+ white-space: pre-wrap;
+}
+
+img.qrcode {
+ width: 50%;
+ min-width: 190px;
+ max-width: 512px;
+ margin: auto;
+ display: block;
+}
+
+/* repository */
+#repo_title {
+ word-break: break-all;
+}
+#repo_title a {
+ text-decoration: none;
+ color: black;
+}
+#repo_title a:hover {
+ color: #5a60f9;
+}
+
+table.admin-properties th {
+ min-width: 8em;
+}
+
+.file_content {
+ border: solid 1px #ccc;
+ padding: 0;
+ margin: 0.5em 0;
+}
+
+.content_text {
+ margin: 0;
+ padding: 0.5em 0.5em 0.5em 3.5em;
+ position: relative;
+}
+
+.content_text .line_numbers {
+ position: absolute;
+ top: 0.5em;
+ left: 0.5em;
+ text-align: right;
+ width: 2.5em;
+ color: #aaa;
+}
+.content_text .line_numbers a {
+ text-decoration: none;
+ color: #aaa;
+}
+
+.content_html {
+ margin: 0;
+ padding: 0.5em;
+ position: relative;
+}
+
+pre code {
+ display: block;
+ border: solid 1px #ccc;
+ padding: 1em;
+ overflow: scroll;
+}
+
+.content_html img {
+ max-width: 100%;
+}
+
+.invalid-feedback {
+ display: inherit;
+}
+
+h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a, h6 a, .h6 a {
+ text-decoration: none;
+ color: #103;
+}
+
+.break-all {
+ word-break: break-all;
+}
+
+/* log */
+table.git-log .date {
+ min-width: 15em;
+}
+table.git-log .message {
+ min-width: 15em;
+}
+
+/* LiveView specific classes for your customization */
+.phx-no-feedback.invalid-feedback,
+.phx-no-feedback .invalid-feedback {
+ display: none;
+}
+
+.phx-click-loading {
+ opacity: 0.5;
+ transition: opacity 1s ease-out;
+}
+
+.phx-disconnected {
+ cursor: wait;
+}
+
+.phx-disconnected * {
+ pointer-events: none;
+}
+
+.phx-modal {
+ opacity: 1 !important;
+ position: fixed;
+ z-index: 1;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ background-color: black;
+ background-color: rgba(0, 0, 0, 0.4);
+}
+
+.phx-modal-content {
+ background-color: #fefefe;
+ margin: 15vh auto;
+ padding: 20px;
+ border: 1px solid #888;
+ width: 80%;
+}
+
+.phx-modal-close {
+ color: #aaa;
+ float: right;
+ font-size: 28px;
+ font-weight: bold;
+}
+
+.phx-modal-close:hover,
+.phx-modal-close:focus {
+ color: black;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/css/app.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/css/inter.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/bootstrap.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_root.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_reboot.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/vendor/_rfs.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_variables.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/css/kmx_colors.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_type.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_lists.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_images.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_image.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_containers.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_container.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_grid.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_grid.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_tables.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_table-variants.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_labels.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_form-text.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_form-control.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_transition.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_gradients.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_form-select.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_form-check.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_form-range.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_floating-labels.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/forms/_input-group.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_forms.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_buttons.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_buttons.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_transitions.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_dropdown.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_caret.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_button-group.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_nav.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_navbar.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_card.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_accordion.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_breadcrumb.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_pagination.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_pagination.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_badge.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_alert.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_alert.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_progress.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_list-group.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_list-group.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_close.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_toasts.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_modal.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_backdrop.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_tooltip.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_reset-text.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_popover.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_carousel.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_clearfix.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_spinners.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_offcanvas.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_placeholders.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_colored-links.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_ratio.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_position.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_stacks.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_visually-hidden.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_visually-hidden.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_stretched-link.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_text-truncation.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/helpers/_vr.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/mixins/_utilities.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/utilities/_api.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/css/courier_new.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/bootstrap/scss/_functions.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/font-awesome.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_path.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_core.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_larger.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_fixed-width.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_list.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_variables.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_bordered-pulled.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_animated.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_rotated-flipped.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_mixins.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_stacked.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_icons.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/node_modules/font-awesome/scss/_screen-reader.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/css/flash.scss%22,%22file:///Users/dx/erlang/kmx.io/kmxgit/assets/css/pygments.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22;AAAA;ACAA;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIF;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;AAIF;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAaA;EACE;EACA;EACA;EACA;EACA;;ACtMF;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;EAQI;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAIA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAIA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAIA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAGF;EACA;EACA;EACA;EAMA;EACA;EACA;EAQA;EACA;EACA;EACA;EACA;EAIA;;;ACnCF;AAAA;AAAA;EAGE;;;AAeE;EANJ;IAOM;;;;AAcN;EACE;EACA;ECmPI,WALI;ED5OR;EACA;EACA;EACA;EACA;EACA;EACA;;;AAUF;EACE;EACA,OE+kB4B;EF9kB5B;EACA;EACA,SE8kB4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EAGF;IACE;IACA;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IfhMJ,YeiMI;IACA;;EAEF;AAAA;IAEE;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AvBhKN;EuBsGA;IAEI;IACA;;EAEA;IACE;;EAEA;IACE;;EAGF;IACE,ehCq6BwB;IgCp6BxB,chCo6BwB;;EgCh6B5B;IACE;;EAGF;IACE;IACA;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IfhMJ,YeiMI;IACA;;EAEF;AAAA;IAEE;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AvBhKN;EuBsGA;IAEI;IACA;;EAEA;IACE;;EAEA;IACE;;EAGF;IACE,ehCq6BwB;IgCp6BxB,chCo6BwB;;EgCh6B5B;IACE;;EAGF;IACE;IACA;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IfhMJ,YeiMI;IACA;;EAEF;AAAA;IAEE;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AvBhKN;EuBsGA;IAEI;IACA;;EAEA;IACE;;EAEA;IACE;;EAGF;IACE,ehCq6BwB;IgCp6BxB,chCo6BwB;;EgCh6B5B;IACE;;EAGF;IACE;IACA;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IfhMJ,YeiMI;IACA;;EAEF;AAAA;IAEE;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AA1DN;EAEI;EACA;;AAEA;EACE;;AAEA;EACE;;AAGF;EACE,ehCq6BwB;EgCp6BxB,chCo6BwB;;AgCh6B5B;EACE;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EfhMJ,YeiMI;EACA;;AAEF;AAAA;EAEE;EACA;EACA;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ACE;;EAGF;I5CvLF;;;A8ClBJ;EACE;EACA,ShDgjCkC;EgD/iClC;EACA,QhDkyCkC;EiDtyClC,ajDkkB4B;EiDhkB5B;EACA,ajD2kB4B;EiD1kB5B,ajDglB4B;EiD/kB5B;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ElDsRI,WALI;EiDrRR;EACA;;AAEA;EAAS,ShDsxCyB;;AgDpxClC;EACE;EACA;EACA,OhDsxCgC;EgDrxChC,QhDsxCgC;;AgDpxChC;EACE;EACA;EACA;EACA;;;AAKN;EACE;;AAEA;EACE;;AAEA;EACE;EACA;EACA,kBhDtBK;;;AgD2BX;EACE;;AAEA;EACE;EACA,OhDwvCgC;EgDvvChC,QhDsvCgC;;AgDpvChC;EACE;EACA;EACA,oBhDtCK;;;AgD2CX;EACE;;AAEA;EACE;;AAEA;EACE;EACA;EACA,qBhDpDK;;;AgDyDX;EACE;;AAEA;EACE;EACA,OhD0tCgC;EgDztChC,QhDwtCgC;;AgDttChC;EACE;EACA;EACA,mBhDpEK;;;AgDyFX;EACE,WhDorCkC;EgDnrClC;EACA,OhDtGS;EgDuGT;EACA,kBhD9FS;EECP;;;AgDnBJ;EACE;EACA;EACA;EACA,SlD8iCkC;EkD7iClC;EACA,WlDwzCkC;EiD7zClC,ajDkkB4B;EiDhkB5B;EACA,ajD2kB4B;EiD1kB5B,ajDglB4B;EiD/kB5B;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ElDsRI,WALI;EmDpRR;EACA,kBlDLS;EkDMT;EACA;EhDIE;;AgDAF;EACE;EACA;EACA,OlDwzCgC;EkDvzChC,QlDwzCgC;;AkDtzChC;EAEE;EACA;EACA;EACA;EACA;;;AAMJ;EACE;;AAEA;EACE;EACA;EACA,kBlDuyC8B;;AkDpyChC;EACE,QlDsdwB;EkDrdxB;EACA,kBlDzCK;;;AkD+CT;EACE;EACA,OlDsxCgC;EkDrxChC,QlDoxCgC;;AkDlxChC;EACE;EACA;EACA,oB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A;EACE;EACA;EACA;EACA;;;AAIJ;EACE;EACA,atDijB4B;;;AsD9iB9B;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA,OtDgiDkC;EsD/hDlC;EACA;;;AAGF;EACE;EACA;EACA,OtDwhDkC;EsDvhDlC;EACA;;;AAGF;EACE;EACA;EACA;EACA,QtDghDkC;EsD/gDlC;EACA;EACA;;;AAGF;EACE;EACA;EACA,QtDugDkC;EsDtgDlC;EACA;EACA;;;AAGF;EACE;;;ACjFF;EACE;EACA;EACA;EACA;EACA;EACA,SvDwtCkC;;AuDttClC;EACE;EACA;;;AAKJ;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAKA;EACE;;;AAIJ;EACE;IACE,SvD2rCgC;;;AuDvrCpC;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AH9CF;EACE;EACA;EACA;;;AIJF;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;ACLR;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAKF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;ACrBJ;EACE;EACA;EACA;EACA;EACA,S1DsiCkC;;;A0DniCpC;EACE;EACA;EACA;EACA;EACA,S1D8hCkC;;;A0DthChC;EACE;EACA;EACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA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A;EACA;EACA;EACA;EACA;EACA;ElDsRI,WALI;EiDrRR;EACA;;AAEA;EAAS,ShDsxCyB;;AgDpxClC;EACE;EACA;EACA,OhDsxCgC;EgDrxChC,QhDsxCgC;;AgDpxChC;EACE;EACA;EACA;EACA;;;AAKN;EACE;;AAEA;EACE;;AAEA;EACE;EACA;EACA,kBhDtBK;;;AgD2BX;EACE;;AAEA;EACE;EACA,OhDwvCgC;EgDvvChC,QhDsvCgC;;AgDpvChC;EACE;EACA;EACA,oBhDtCK;;;AgD2CX;EACE;;AAEA;EACE;;AAEA;EACE;EACA;EACA,qBhDpDK;;;AgDyDX;EACE;;AAEA;EACE;EACA,OhD0tCgC;EgDztChC,QhDwtCgC;;AgDttChC;EACE;EACA;EACA,mBhDpEK;;;AgDyFX;EACE,WhDorCkC;EgDnrClC;EACA,OhDtGS;EgDuGT;EACA,kBhD9FS;EECP;;;AgDnBJ;EACE;EACA;EACA;EACA,SlD8iCkC;EkD7iClC;EACA,WlDwzCkC;EiD7zClC,ajDkkB4B;EiDhkB5B;EACA,ajD2kB4B;EiD1kB5B,ajDglB4B;EiD/kB5B;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ElDsRI,WALI;EmDpRR;EACA,kBlDLS;EkDMT;EACA;EhDIE;;AgDAF;EACE;EACA;EACA,OlDwzCgC;EkDvzChC,QlDwzCgC;;AkDtzChC;EAEE;EACA;EACA;EACA;EACA;;;AAMJ;EACE;;AAEA;EACE;EACA;EACA,kBlDuyC8B;;AkDpyChC;EACE,QlDsdwB;EkDrdxB;EACA,kBlDzCK;;;AkD+CT;EACE;EACA,OlDsxCgC;EkDrxChC,QlDoxCgC;;AkDlxChC;EACE;EACA;EACA,oBlDmxC8B;;AkDhxChC;EACE,MlDkcwB;EkDjcxB;EACA,oBlD7DK;;;AkDmET;EACE;;AAEA;EACE;EACA;EACA,qBlDiwC8B;;AkD9vChC;EACE,KlDgbwB;EkD/axB;EACA,qBlD/EK;;AkDoFT;EACE;EAC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ACA;;;AAGF;EACE;EACA;EACA;EACA,QtDghDkC;EsD/gDlC;EACA;EACA;;;AAGF;EACE;EACA;EACA,QtDugDkC;EsDtgDlC;EACA;EACA;;;AAGF;EACE;;;ACjFF;EACE;EACA;EACA;EACA;EACA;EACA,SvDwtCkC;;AuDttClC;EACE;EACA;;;AAKJ;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAKA;EACE;;;AAIJ;EACE;IACE,SvD2rCgC;;;AuDvrCpC;EACE;EACA;EACA;;;AAGF;EACE;IACE;;;AH9CF;EACE;EACA;EACA;;;AIJF;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;AANN;EACE,OxD8EW;;AwD3ET;EAEE;;;ACLR;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAKF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;ACrBJ;EACE;EACA;EACA;EACA;EACA,S1DsiCkC;;;A0DniCpC;EACE;EACA;EACA;EACA;EACA,S1D8hCkC;;;A0DthChC;EACE;EACA;EACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;AS7+BhC;EiDxCA;IACE;IACA;IACA,S1DkhC8B;;;A2D3iCpC;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;ACRF;AAAA;ECIE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;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ACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;AAAA;EAEE;EACA;EACA%22,%22file%22:%22app.css%22%7D */
diff --git a/priv/mirror/v0.3/git.kmx.io/_avatar/thodg/256/avatar.png b/priv/mirror/v0.3/git.kmx.io/_avatar/thodg/256/avatar.png
new file mode 100644
index 0000000..a1c727b
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_avatar/thodg/256/avatar.png differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_avatar/thodg/48/avatar.png b/priv/mirror/v0.3/git.kmx.io/_avatar/thodg/48/avatar.png
new file mode 100644
index 0000000..af9e6a5
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_avatar/thodg/48/avatar.png differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_doc/git/install b/priv/mirror/v0.3/git.kmx.io/_doc/git/install
new file mode 100644
index 0000000..83f8b4d
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/_doc/git/install
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="fRYvOkpJJDoaIhh0NjwtAQwmKzcbAjsn1cyM0qvybFH3rxuRyROaKqtw" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <h1>Git installation documentation</h1>
+ <h2>1. Install git</h2>
+ <p>
+Options :
+ <ol>
+ <li>apt (Debian, Ubuntu)</li>
+ <li>homebrew (Linux, Mac)</li>
+ <li>pkg (OpenBSD)</li>
+ <li>sources</li>
+ <li>binaries (Linux, Mac, Windows)</li>
+ </ol>
+ </p>
+ <h3><a href="install#using-apt" id="using-apt">1.1 Install git using apt (Debian, Ubuntu)</a></h3>
+ <pre><code>$ sudo apt install git</code></pre>
+
+ <h3><a href="install#using-homebrew" id="using-homebrew">1.2 Install git using brew (Linux, Mac)</a></h3>
+ <pre><code>$ brew install git</code></pre>
+
+ <h3><a href="install#using-pkg" id="using-pkg">1.3 Install git using pkg (OpenBSD)</a></h3>
+ <pre><code>$ doas pkg_add git</code></pre>
+
+ <h3><a href="install#using-sources" id="using-sources">1.4 Install git from sources</a></h3>
+Download sources from <a href="https://github.com/git/git/tags" target="_blank">https://github.com/git/git/tags</a>
+
+ <pre><code>$ tar xzf git-*.tar.gz
+$ cd git-*
+$ make
+$ sudo make install</code></pre>
+
+ <h3><a href="install#using-binaries" id="using-binaries">1.5 Install git from binaries (Linux, Mac, Windows)</a></h3>
+ <p>
+Please see <a href="https://git-scm.com/downloads" target="_blank">https://git-scm.com/downloads</a>.
+ </p>
+
+ <h2><a href="install#links" id="links">Links</a></h2>
+<p>
+If you need more help with git, please see :
+ <ul>
+ <li><a href="https://git-scm.com/doc">the official git documentation</a></li>
+ <li><a href="https://stackoverflow.com/questions/tagged/git">StackOverflow about git</a></li>
+ </ul>
+</p>
+
+</div>
+
+<br>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Black.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Black.woff
new file mode 100644
index 0000000..a18593a
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Black.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Black.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Black.woff2
new file mode 100644
index 0000000..68f64c9
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Black.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BlackItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BlackItalic.woff
new file mode 100644
index 0000000..b6b0194
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BlackItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BlackItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BlackItalic.woff2
new file mode 100644
index 0000000..1c9c7ca
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BlackItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Bold.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Bold.woff
new file mode 100644
index 0000000..eaf3d4b
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Bold.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Bold.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Bold.woff2
new file mode 100644
index 0000000..2846f29
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Bold.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BoldItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BoldItalic.woff
new file mode 100644
index 0000000..3275076
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BoldItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BoldItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BoldItalic.woff2
new file mode 100644
index 0000000..0b1fe8e
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-BoldItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBold.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBold.woff
new file mode 100644
index 0000000..c2c17ed
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBold.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBold.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBold.woff2
new file mode 100644
index 0000000..c24c2bd
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBold.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBoldItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBoldItalic.woff
new file mode 100644
index 0000000..c42f705
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBoldItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBoldItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBoldItalic.woff2
new file mode 100644
index 0000000..4a81dc7
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraBoldItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLight.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLight.woff
new file mode 100644
index 0000000..d0de5f3
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLight.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLight.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLight.woff2
new file mode 100644
index 0000000..f2ea706
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLight.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLightItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLightItalic.woff
new file mode 100644
index 0000000..81f1a28
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLightItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLightItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLightItalic.woff2
new file mode 100644
index 0000000..9af717b
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ExtraLightItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Italic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Italic.woff
new file mode 100644
index 0000000..a806b38
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Italic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Italic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Italic.woff2
new file mode 100644
index 0000000..a619fc5
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Italic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Light.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Light.woff
new file mode 100644
index 0000000..c496464
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Light.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Light.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Light.woff2
new file mode 100644
index 0000000..bc4be66
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Light.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-LightItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-LightItalic.woff
new file mode 100644
index 0000000..f84a9de
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-LightItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-LightItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-LightItalic.woff2
new file mode 100644
index 0000000..842b2df
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-LightItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Medium.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Medium.woff
new file mode 100644
index 0000000..d546843
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Medium.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Medium.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Medium.woff2
new file mode 100644
index 0000000..f92498a
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Medium.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-MediumItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-MediumItalic.woff
new file mode 100644
index 0000000..459a656
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-MediumItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-MediumItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-MediumItalic.woff2
new file mode 100644
index 0000000..0e3019f
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-MediumItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Regular.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Regular.woff
new file mode 100644
index 0000000..62d3a61
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Regular.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Regular.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Regular.woff2
new file mode 100644
index 0000000..6c2b689
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Regular.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBold.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBold.woff
new file mode 100644
index 0000000..a815f43
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBold.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBold.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBold.woff2
new file mode 100644
index 0000000..611e90c
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBold.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBoldItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBoldItalic.woff
new file mode 100644
index 0000000..909e43a
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBoldItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBoldItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBoldItalic.woff2
new file mode 100644
index 0000000..545685b
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-SemiBoldItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Thin.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Thin.woff
new file mode 100644
index 0000000..62bc58c
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Thin.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Thin.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Thin.woff2
new file mode 100644
index 0000000..abbc3a5
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-Thin.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ThinItalic.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ThinItalic.woff
new file mode 100644
index 0000000..700a7f0
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ThinItalic.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ThinItalic.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ThinItalic.woff2
new file mode 100644
index 0000000..ab0b200
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-ThinItalic.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-italic.var.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-italic.var.woff2
new file mode 100644
index 0000000..b826d5a
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-italic.var.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-roman.var.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-roman.var.woff2
new file mode 100644
index 0000000..6a256a0
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter-roman.var.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/Inter.var.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter.var.woff2
new file mode 100644
index 0000000..365eedc
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/Inter.var.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/courier_new-24151ec4754b420bf8dcc618029074a2.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/courier_new-24151ec4754b420bf8dcc618029074a2.woff
new file mode 100644
index 0000000..029fed8
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/courier_new-24151ec4754b420bf8dcc618029074a2.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/courier_new-ce17c9265e5ed24ba2ae67aaa871611d.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/courier_new-ce17c9265e5ed24ba2ae67aaa871611d.woff2
new file mode 100644
index 0000000..99fa28d
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/courier_new-ce17c9265e5ed24ba2ae67aaa871611d.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/fontawesome-webfont.woff b/priv/mirror/v0.3/git.kmx.io/_fonts/fontawesome-webfont.woff
new file mode 100644
index 0000000..400014a
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/fontawesome-webfont.woff differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_fonts/fontawesome-webfont.woff2 b/priv/mirror/v0.3/git.kmx.io/_fonts/fontawesome-webfont.woff2
new file mode 100644
index 0000000..4d13fc6
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_fonts/fontawesome-webfont.woff2 differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.128.png b/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.128.png
new file mode 100644
index 0000000..29e82ed
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.128.png differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.32.png b/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.32.png
new file mode 100644
index 0000000..13fb917
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.32.png differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.64.png b/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.64.png
new file mode 100644
index 0000000..c17f5b8
Binary files /dev/null and b/priv/mirror/v0.3/git.kmx.io/_images/kmxgit.logo.black.64.png differ
diff --git a/priv/mirror/v0.3/git.kmx.io/_log_in b/priv/mirror/v0.3/git.kmx.io/_log_in
new file mode 100644
index 0000000..4b811ad
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/_log_in
@@ -0,0 +1,107 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="CUc1RhxvGCcXPQMgIhUeNxYBC2U3KRYZE2c1fWJdoYSgfQFdcuo3gZYI" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <h1>Log in</h1>
+
+ <form action="_log_in" method="post">
+
+
+ <input name="_csrf_token" type="hidden" value="CUc1RhxvGCcXPQMgIhUeNxYBC2U3KRYZE2c1fWJdoYSgfQFdcuo3gZYI">
+
+
+
+ <div class="mb-3">
+<label class="form-label" for="user_login">Login</label>
+<input class="form-control" id="user_login" name="user[login]" required type="text">
+
+ </div>
+
+ <div class="mb-3">
+<label class="form-label" for="user_password">Password</label>
+<input class="form-control" id="user_password" name="user[password]" required type="password">
+
+ </div>
+
+ <div class="mb-3 form-check">
+<input name="user[remember_me]" type="hidden" value="false"><input class="form-check-input" id="user_remember_me" name="user[remember_me]" type="checkbox" value="true">
+<label class="form-check-label" for="user_remember_me">Keep me logged in for 60 days</label>
+ </div>
+<input name="recaptcha" type="hidden">
+<script src="https://www.google.com/recaptcha/api.js?render=6LdQhGUdAAAAALqgzc9QGBkFDYqxYLHHz7ZflJjc"></script>
+<script>
+ grecaptcha.ready(function() {
+ grecaptcha.execute('6LdQhGUdAAAAALqgzc9QGBkFDYqxYLHHz7ZflJjc', {action: 'login'}).then(function(token) {
+ $('input[name="recaptcha"]').val(token);
+ });
+ });
+</script>
+
+ <div>
+<button class="btn btn-primary" type="submit">Submit</button>
+ </div>
+
+</form>
+
+
+ <p>
+<a href="_register">Register</a>
+<a href="_reset_password">Forgot your password ?</a>
+ </p>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/_register b/priv/mirror/v0.3/git.kmx.io/_register
new file mode 100644
index 0000000..3c33c3b
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/_register
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="HBYbJyMPB24vN2NqHHMufjREHTxpER4YPcMPY7U-WS3-X7v-A0yj9bQH" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <h1>Register</h1>
+
+ <form action="_register" method="post">
+
+
+ <input name="_csrf_token" type="hidden" value="HBYbJyMPB24vN2NqHHMufjREHTxpER4YPcMPY7U-WS3-X7v-A0yj9bQH">
+
+
+
+ <div class="mb-3">
+<label class="form-label" for="user_name">Name</label>
+<input class="form-control" id="user_name" name="user[name]" required type="text">
+
+ </div>
+
+ <div class="mb-3">
+<label class="form-label" for="user_email">Email</label>
+<input class="form-control" id="user_email" name="user[email]" required type="text">
+
+ </div>
+
+ <div class="mb-3">
+<label class="form-label" for="user_slug_slug">Login</label>
+<input class="form-control" id="user_slug_slug" name="user[slug][slug]" required type="text">
+
+ </div>
+
+ <div class="mb-3">
+<label class="form-label" for="user_password">Password</label>
+<input class="form-control" id="user_password" name="user[password]" required type="password">
+
+ </div>
+
+ <div class="mb-3">
+<label class="form-label" for="user_password_confirmation">Password confirmation</label>
+<input class="form-control" id="user_password_confirmation" name="user[password_confirmation]" required type="password">
+
+ </div>
+<input name="recaptcha" type="hidden">
+<script src="https://www.google.com/recaptcha/api.js?render=6LdQhGUdAAAAALqgzc9QGBkFDYqxYLHHz7ZflJjc"></script>
+<script>
+ grecaptcha.ready(function() {
+ grecaptcha.execute('6LdQhGUdAAAAALqgzc9QGBkFDYqxYLHHz7ZflJjc', {action: 'register'}).then(function(token) {
+ $('input[name="recaptcha"]').val(token);
+ });
+ });
+</script>
+
+ <div class="mb-3">
+<button class="btn btn-primary" type="submit">Submit</button>
+ </div>
+
+</form>
+
+
+ <p>
+<a href="_log_in">Log in</a> |
+<a href="_reset_password">Forgot your password?</a>
+ </p>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/_reset_password b/priv/mirror/v0.3/git.kmx.io/_reset_password
new file mode 100644
index 0000000..759cd3f
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/_reset_password
@@ -0,0 +1,95 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="ICw6WjFrHDJLEBMBBXAwERINMyEcBShplYl-KSNq3tCFA4hBgyWwLvg9" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <h1>Forgot your password ?</h1>
+
+ <form action="_reset_password" method="post">
+
+
+ <input name="_csrf_token" type="hidden" value="ICw6WjFrHDJLEBMBBXAwERINMyEcBShplYl-KSNq3tCFA4hBgyWwLvg9">
+
+
+
+ <div class="mb-3">
+<label class="form-label" for="user_email">Email</label>
+<input class="form-control" id="user_email" name="user[email]" required type="email">
+ </div>
+<input name="recaptcha" type="hidden">
+<script src="https://www.google.com/recaptcha/api.js?render=6LdQhGUdAAAAALqgzc9QGBkFDYqxYLHHz7ZflJjc"></script>
+<script>
+ grecaptcha.ready(function() {
+ grecaptcha.execute('6LdQhGUdAAAAALqgzc9QGBkFDYqxYLHHz7ZflJjc', {action: 'reset_password'}).then(function(token) {
+ $('input[name="recaptcha"]').val(token);
+ });
+ });
+</script>
+
+ <div>
+<button class="btn btn-primary" type="submit">Submit</button>
+ </div>
+
+</form>
+
+
+ <p>
+<a href="_register">Register</a>
+<a href="_log_in">Log in</a>
+ </p>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/cffi-posix b/priv/mirror/v0.3/git.kmx.io/cffi-posix
new file mode 100644
index 0000000..34f2137
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/cffi-posix
@@ -0,0 +1,167 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="PxoYBjx9FXcMPR4_Ey4gAhgYExQgEDxosoNqFEG4tYNxWjxQmlwBpcs8" name="csrf-token">
+
+<title data-suffix=" - kmx git">cffi-posix - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>cffi-posix</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-dirent">cffi-posix/cffi-dirent</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-epoll">cffi-posix/cffi-epoll</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-errno">cffi-posix/cffi-errno</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-fcntl">cffi-posix/cffi-fcntl</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-kqueue">cffi-posix/cffi-kqueue</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-pledge">cffi-posix/cffi-pledge</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-socket">cffi-posix/cffi-socket</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-stat">cffi-posix/cffi-stat</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/cffi-unistd">cffi-posix/cffi-unistd</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/fd-flexi">cffi-posix/fd-flexi</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cffi-posix/fd-gray">cffi-posix/fd-gray</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>cffi-posix</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+cffi-posix is an open-source project to portably expose the POSIX API to Common Lisp programs using CFFI.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>11.024 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/cl-adams/adams b/priv/mirror/v0.3/git.kmx.io/cl-adams/adams
new file mode 100644
index 0000000..d824c4a
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/cl-adams/adams
@@ -0,0 +1,455 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="FCcSJiUKYRwMCB4GMXQ8ZDwOFwM9BwgXXRDQ_23_tlNAu0d7IzsUmtGG" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/cl-adams">cl-adams</a>/<a href="adams">adams</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/cl-adams/adams/_tree/master">master</option><option value="/cl-adams/adams/_tree/0.1-stable">0.1-stable</option><option value="/cl-adams/adams/_tree/0.2-stable">0.2-stable</option><option value="">- tag -</option><option value="/cl-adams/adams/_tree/adams-0.3.2">adams-0.3.2</option><option value="/cl-adams/adams/_tree/adams-0.3.1">adams-0.3.1</option><option value="/cl-adams/adams/_tree/adams-0.3">adams-0.3</option><option value="/cl-adams/adams/_tree/adams-0.2">adams-0.2</option><option value="/cl-adams/adams/_tree/adams-0.1">adams-0.1</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/cl-adams/adams/_log/master#fec285d175f00a20e7f78e7b0fc6bd329f00ff53">fec285d17</a>
+ </span>
+ <span class="date">
+2021-11-26 15:43:15 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+darwin
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/.github">.github/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/.gitignore">.gitignore</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/LICENSE.md">LICENSE.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/Makefile">Makefile</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/README.md">README.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/adams.asd">adams.asd</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/build.lisp">build.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/config.lisp">config.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/core">core/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/package.lisp">package.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/prepare-build.lisp">prepare-build.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/shell">shell/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/test.lisp">test.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/toplevel.lisp">toplevel.lisp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/cl-adams/adams/_tree/master/unix">unix/</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/cl-adams/adams.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:cl-adams/adams.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+UNIX system administration in Common Lisp</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/cl-adams/adams/_tag/adams-0.3.2">adams-0.3.2</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-adams/adams/_tag/adams-0.3.1">adams-0.3.1</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-adams/adams/_tag/adams-0.3">adams-0.3</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-adams/adams/_tag/adams-0.2">adams-0.2</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-adams/adams/_tag/adams-0.1">adams-0.1</a>
+ </li>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.528 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+ <hr>
+ <h3>README.md</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+<h1>
+Adams 0.3.2</h1>
+<p>
+Adams is a UNIX system administration tool written in Common Lisp.</p>
+<p>
+You describe your systems (hosts) using resources having properties.</p>
+<p>
+The properties are then probed and synchronized by Adams using only
+<code class="inline">/bin/sh</code> on the remote host, and <code class="inline">/usr/bin/ssh</code> on the control host.</p>
+<h2>
+Configuration example</h2>
+<p>
+Check out
+<a href="https://github.com/kmx-io/kmx-io/">https://github.com/kmx-io/kmx-io/</a>
+for a detailed example of Adams usage.</p>
+<h2>
+Current status</h2>
+<p>
+Adams is currently able to use a local shell or connect to remote hosts
+via ssh.</p>
+<p>
+Adams is this hardcore hacker using only <code class="inline">/bin/sh</code> commands.
+This makes <code class="inline">ksh</code> and <code class="inline">bash</code> suitable shells for adams as they are
+compatible with <code class="inline">/bin/sh</code>.</p>
+<p>
+Supported resource types :</p>
+<ul>
+ <li>
+Host (hostname) </li>
+ <li>
+User (useradd, usermod, userdel) </li>
+ <li>
+Group (groupadd, groupmod, groupdel) </li>
+ <li>
+File (owner, group, permissions, content) </li>
+ <li>
+Directory (owner, group, permissions) </li>
+ <li>
+Package (Debian, OpenBSD) </li>
+</ul>
+<h2>
+Security design</h2>
+<p>
+You should only allow Adams what you would allow your system operators :</p>
+<ul>
+ <li>
+a shell accessible through SSH using a public key </li>
+ <li>
+apropriate sudo permissions </li>
+</ul>
+<p>
+All commands issued to the remote hosts can be logged.</p>
+<p>
+Adams does not grant the hosts access to its workstation while it works.
+Adams does not grant access to data belonging to any host.
+Adams does not send any data that is not of direct concern to the host.
+In short, all UNIX permissions are respected, Adams is a regular UNIX user.</p>
+<h2>
+Usage</h2>
+<h3>
+1. Install <a href="https://github.com/common-lisp-repo/repo">repo</a>.</h3>
+<h3>
+2. Fetch adams sources.</h3>
+<pre><code class="shell"> $ sbcl --eval '(repo:install :adams)'</code></pre>
+<h3>
+3. Build and install the <code class="inline">adams</code> binary</h3>
+<pre><code class="shell"> $ cd ~/common-lisp/cl-adams/adams
+ $ make
+ $ sudo cp build/adams /usr/local/bin/adams</code></pre>
+<h3>
+4. Configure emacs (optional)</h3>
+<p>
+In your <code class="inline">~/.emacs</code> file :</p>
+<pre><code class="emacs-lisp"> ;; Adams
+ (add-to-list 'auto-mode-alist '("\\.adams\\'" . lisp-mode))</code></pre>
+<h3>
+5. Write some resources in a <code class="inline">.adams</code> script</h3>
+<p>
+In the <code class="inline">tutorial.adams</code> file :</p>
+<pre><code class="common-lisp"> #!/usr/local/bin/adams --script
+
+ (resource 'host "adams.kmx.io"
+ :user "adams"
+ (resource 'user "adams"
+ :shell "/bin/sh"
+ :ensure :present))
+
+ (with-host "adams.kmx.io"
+ (sync *host*))</code></pre>
+<h3>
+6. Profit.</h3>
+<pre><code class="shell"> $ chmod 755 tutorial.adams
+ $ ./tutorial.adams</code></pre>
+<p>
+The <code class="inline">tutorial.adams</code> script will synchronize the host “adams.kmx.io”
+according to the resource specifications given in the file.</p>
+<h3>
+7. DRY up your scripts using <code class="inline">#.(include "file")</code></h3>
+<p>
+In the <code class="inline">user/dx.adams</code> file :</p>
+<pre><code class="common-lisp"> ;; Thomas de Grivel (kmx.io)
+ (resource 'group "dx"
+ :gid 19256
+ :ensure :present)
+ (resource 'user "dx"
+ :uid 19256
+ :gid 19256
+ :home "/home/dx"
+ :ensure :present)</code></pre>
+<p>
+In your main script :</p>
+<pre><code class="common-lisp"> #!/usr/local/bin/adams --script
+
+ (resource 'host "adams.kmx.io"
+ :user "adams"
+ (resource 'user "adams"
+ :shell "/bin/sh"
+ :ensure :present)
+ #.(include "user/dx"))
+
+ (with-host "adams.kmx.io"
+ (sync *host*))</code></pre>
+<h2>
+ISC License</h2>
+<pre><code>;; Copyright YEAR AUTHOR <EMAIL>
+;;
+;; Permission to use, copy, modify, and distribute this software for any
+;; purpose with or without fee is hereby granted, provided that the above
+;; copyright notice and this permission notice appear in all copies.
+;;
+;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+;; WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+;; MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+;; ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+;; ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+;; OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+;;</code></pre>
+<h2>
+Contribute</h2>
+<p>
+To contribute, fork this repository and send us a pull request.</p>
+<p>
+Please publish under the
+<a href="https://en.wikipedia.org/wiki/ISC_license">ISC License</a>
+terms.</p>
+<h2>
+Authors</h2>
+<p>
+Thomas de Grivel <a href="mailto:thoxdg@gmail.com">thoxdg@gmail.com</a></p>
+
+
+ </div>
+ </div>
+ </div>
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/cl-remap b/priv/mirror/v0.3/git.kmx.io/cl-remap
new file mode 100644
index 0000000..62a59b3
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/cl-remap
@@ -0,0 +1,139 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="ASEfTyJSB3ocDRNxDSUZAkM_U2I0BiwbMTI8XjU9diC6IaAQ6K74ducK" name="csrf-token">
+
+<title data-suffix=" - kmx git">cl-remap - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>cl-remap</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/cl-remap/http-remap">cl-remap/http-remap</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-remap/remap">cl-remap/remap</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-remap/uiop-remap">cl-remap/uiop-remap</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-remap/unistd-remap">cl-remap/unistd-remap</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>cl-remap</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+modular transactional file system in Common Lisp</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>3.376 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/cl-stream b/priv/mirror/v0.3/git.kmx.io/cl-stream
new file mode 100644
index 0000000..de0b666
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/cl-stream
@@ -0,0 +1,155 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="LUIXEkxCEQA-MCo_DQEpNBMRDTwfNhc8a7Ae6zCCFTzxIEqgfeijOEXl" name="csrf-token">
+
+<title data-suffix=" - kmx git">cl-stream - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>cl-stream</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/babel-stream">cl-stream/babel-stream</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/babel-unistd-stdio">cl-stream/babel-unistd-stdio</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/cl-stream">cl-stream/cl-stream</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/matcher-stream">cl-stream/matcher-stream</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/parser-stream">cl-stream/parser-stream</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/token-stream">cl-stream/token-stream</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/unistd-stream">cl-stream/unistd-stream</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/cl-stream/utf8-stream">cl-stream/utf8-stream</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>cl-stream</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Stream classes for Common Lisp.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>6.08 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/dalloz b/priv/mirror/v0.3/git.kmx.io/dalloz
new file mode 100644
index 0000000..8e1752c
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/dalloz
@@ -0,0 +1,141 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="fQE4QhdoOzs3Jil2aSYtZRYBFS4nGi0m1tn5mPixOBy1-bu6cuqxwibv" name="csrf-token">
+
+<title data-suffix=" - kmx git">Dalloz - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>Dalloz</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/dalloz/mini-ours">dalloz/mini-ours</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/dalloz/moodle_api">dalloz/moodle_api</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/dalloz/ours">dalloz/ours</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>Dalloz</td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>dalloz</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Client</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+
+
+
+<a href="vrizzt"><img src="https://secure.gravatar.com/avatar/7fff4de96a38bd16cfe51ebefe1ee1d8?s=48" alt="vrizzt" title="vrizzt" class=""></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>27.296 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/do-language b/priv/mirror/v0.3/git.kmx.io/do-language
new file mode 100644
index 0000000..6ab40b7
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/do-language
@@ -0,0 +1,127 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="FkQwGExfKwEzMGcEJXQXOjEAKA5oQH8-Z1fo6gyBKT7Ca0OiDtLX830n" name="csrf-token">
+
+<title data-suffix=" - kmx git">do-language - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>do-language</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/do-language/do">do-language/do</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>do-language</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+following Kernighan and Ritchie in their footsteps</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>0.984 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/exwm b/priv/mirror/v0.3/git.kmx.io/exwm
new file mode 100644
index 0000000..8ab3a68
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/exwm
@@ -0,0 +1,141 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="Kj5uPzBiZTIiL2EVI2k3ZxciMSM7GxgpfK8HJZ7qZK1Rg-o4bVUukhWy" name="csrf-token">
+
+<title data-suffix=" - kmx git">exwm - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>exwm</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/exwm/exwm">exwm/exwm</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/exwm/exwm_smtp">exwm/exwm_smtp</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/exwm/exwm_web">exwm/exwm_web</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>exwm</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Elixir webmail.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+
+
+
+<a href="exwm_deploy"><img src="https://secure.gravatar.com/avatar/adf556d8fd0ebc9ddbd4612cfb15f108?s=48" alt="exwm_deploy" title="exwm_deploy" class=""></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>24 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/exwm_deploy b/priv/mirror/v0.3/git.kmx.io/exwm_deploy
new file mode 100644
index 0000000..d91fbb6
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/exwm_deploy
@@ -0,0 +1,175 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="OR0YLQx8IHcKHiYPCnE9Kz8kSTcpHi4guhNZvDr4rzvHN5exJP-aymap" name="csrf-token">
+
+<title data-suffix=" - kmx git">User exwm_deploy - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>exwm_deploy</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+ </div>
+ <div class="row">
+ <div class="col col-12">
+ <hr>
+
+
+
+<a href="exwm_deploy"><img src="https://secure.gravatar.com/avatar/adf556d8fd0ebc9ddbd4612cfb15f108?s=256" alt="exwm_deploy" title="exwm_deploy" class="avatar-lg"></a>
+
+ <h1>exwm deploy</h1>
+ <div class="col col-12 col-md-8">
+
+<p>
+exwm deploy user</p>
+
+
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/exwm/exwm">exwm/exwm</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/exwm/exwm_smtp">exwm/exwm_smtp</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/exwm/exwm_web">exwm/exwm_web</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>exwm deploy</td>
+ </tr>
+ <tr>
+ <th>Email</th>
+ <td><a href="mailto:exwm@kmx.io">exwm@kmx.io</a></td>
+ </tr>
+ <tr>
+ <th>Login</th>
+ <td>exwm_deploy</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+ </td>
+ </tr>
+ <tr>
+ <th>Deploy only</th>
+ <td>true</td>
+ </tr>
+ <tr>
+ <th>
+Organisations<br>
+
+ </th>
+ <td>
+ <ul>
+
+ <li>
+<a class="org" href="exwm">exwm</a>
+ </li>
+
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th>SSH keys</th>
+ <td class="scroll-x">
+ <pre class="ssh_keys">
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCUukNUSPkHlBTJgBOvqwN5ZnkAgfFO8UiLfiic0H+vaOymD/G0SDbvGnO+uLtfQ7tH0g33teXQ5L9riDIi14pTOIYg9wLARNFVyMaCUY6PAy1jhFl1KgTmS3W6TuapPM24peP7hhFwth2UzXP+fsbOEIePZKSUlCjREb13T185UvdyC/0w9ltvGxNkNtr40FuOZuTUvnNBUgxEgR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umQ3ONhlhJgsQ4/A9RHfTSEWqWZG8qTxIovAId+D3+GlNYfXjEysqAJ87XmNJ96NyJEIeHSpDgXBCgivKu55pzF33OhQuA4Lx7J66UpErDQDSreym/XPf3qw3dn7VdbsaDPM9l/GMr+tg8l2N49sLkGPYxIToFolmY2TtyHSyXReXy9btYJwPASxVMYnZw3e5IELIRKf4cS3AaxsmH6TF0DUZ46Y65xhxtfN0FYsWVzjDOEiceNyCw0fELnL19d5ndbRHRQRTkWRrOqpcZTaVN3olQqbqSNRznOyg+RXymLRSzG/qqGxjXWFOhzoc32iiYfeRAXxDVoPljd50K4Cqa41tb3d1Pkk3mVRk= exwm_web@otter.kmx.io
+
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCv851Xk+O8pDlyexO1On3chY6Q8YdxoGftkhrSbrnd9VyG48aFQbCYLD5pq+lQ6q/AEU4ljdbIl+czTX9FoculphUYqAIlDZxsreVDCKLmH1okNmdZw7dL5D8vmmL+aF/bupF8HfWZX9XneoeNOULSAIfReeL7yGXqHKpl42aFJyc9yE5xxBB6nRovShfYYyCHGnrXqBBkKjzZeSVnPH92vo5NI53i/joVFuFP5mpPhQjY6FG1csMRyUd3/z8TISHWRPvbxO4R8Kv9XpbiR9BB0NkL6WdtH3SlmZiKjZoRgrf5BcgexkIy37hl3s1EQTV7qRMtypODTQDDjWiOmBcKJwtzY6bZlr8eN6ALIphyIzeMnZ0+mLW6bIurBh3jczYjiE+Q5fMgoHQjrI3cZdAtChzQLcl2E2jARwOfsg/iijPgTZoDtHOCVc7AKl43o8KtfnRQnkuSQITcXo1WkR3cQBSvLa9/WQapL0hZdrbDvBlm/OYsO8bqK7MpcE/cYFs= exwm_smtp@otter.kmx.io
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>0 MB</td>
+ </tr>
+ <tr>
+ <th>Accessible</th>
+ <td>23.992 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ <p>
+ </p>
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/facts-db b/priv/mirror/v0.3/git.kmx.io/facts-db
new file mode 100644
index 0000000..6144e95
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/facts-db
@@ -0,0 +1,139 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="ITdvOThpFi86DDUQPRM6BhoNADwxHDwjmB9NBQDlBheWyWbUoydjaoss" name="csrf-token">
+
+<title data-suffix=" - kmx git">facts-db - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>facts-db</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/facts-db/cl-facts">facts-db/cl-facts</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/facts-db/cl-lessp">facts-db/cl-lessp</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/facts-db/cl-rollback">facts-db/cl-rollback</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/facts-db/facts_db">facts-db/facts_db</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>facts-db</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Open source graph database implemented in various languages.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>48.328 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/index.html b/priv/mirror/v0.3/git.kmx.io/index.html
new file mode 100644
index 0000000..4060fcb
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/index.html
@@ -0,0 +1,164 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="AxFiHiABJyYLAwR_MXJtCiMOCBI2FQYBOd4iZ9uesgT8u65YVzlDffIQ" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col">
+ <p>
+ <code>
+ "Hello, world !"
+ </code>
+ </p>
+ <p>
+Welcome to this instance of
+<a href="kmx.io/kmxgit">kmxgit</a>
+ .
+ </p>
+ <p>
+Anyone can register and create public and private Git repositories.
+ </p>
+
+ <h3><a href="index.html#ssh-keys" id="ssh-keys">SSH keys fingerprint</a></h3>
+ <pre>1024 SHA256:r57ekxPcF9yJ0WpHOUpAFjm07xTpPjRSGlogZ0rYUCw root@git.kmx.io (DSA)
+ 256 SHA256:18YiaGgFCjxudAXYNqwgTsc18+8VJKhANWY/z1M9QII root@git.kmx.io (ECDSA)
+ 256 SHA256:YIvGEjpZv0WTbi82w9YcWlD0wjrNehdEW/Fm8VGysxI root@git.kmx.io (ED25519)
+3072 SHA256:nCIvnd0P1WO6UktpUlW1txA74kmIojRSn22OUh1uiNs root@git.kmx.io (RSA)
+</pre>
+
+ <h3><a href="index.html#help" id="help">Help</a></h3>
+ <p>
+<a href="_doc/git/install">Install git</a>
+ </p>
+ <div class="highlight">
+ <pre><code><span class="c1"># Clone repository user/path/to/repo if repo does not exist :</span>
+git clone <b>git@git.kmx.io:user/path/to/repo.git</b>
+cd <b>repo</b>
+
+<span class="c1"># Change branch :</span>
+git branch <b>master</b>
+
+<span class="c1"># Pull changes from remote :</span>
+git pull
+
+<span class="c1"># Add local changes to next commit :</span>
+git add <b>README.md static/index.html</b>
+
+<span class="c1"># Commit :</span>
+git commit -m "<b>a short and descriptive message</b>"
+
+<span class="c1"># Push changes to remote :</span>
+git push
+
+<span class="c1"># Or if your local repo already exists,</span>
+<span class="c1"># Add remote to existing repo :</span>
+git remote add kmx <b>git@git.kmx.io:user/path/to/repo.git</b>
+
+<span class="c1"># Push to new remote :</span>
+git push -u kmx master</code></pre>
+ </div>
+ <p>
+Get the git url at <b>https://git.kmx.io/user/path/to/repo</b>
+ </p>
+
+ <h4><a href="index.html#links" id="links">Links</a></h4>
+ <p>
+If you need more help with git, please see :
+ <ul>
+ <li><a href="https://git-scm.com/doc">the official git documentation</a></li>
+ <li><a href="https://stackoverflow.com/questions/tagged/git">StackOverflow about git</a></li>
+ </ul>
+ </p>
+
+ <hr>
+
+ <h3><a href="index.html#stats" id="stats">Stats</a></h3>
+
+ <div class="row">
+ <div class="col col-12 col-md-5">
+ <table class="table">
+ <tr>
+ <th>Disk usage</th>
+ <td>985.576 MB</td>
+ </tr>
+ <tr>
+ <th>Users</th>
+ <td>8</td>
+ </tr>
+ <tr>
+ <th>Organisations</th>
+ <td>15</td>
+ </tr>
+ <tr>
+ <th>Repositories</th>
+ <td>96</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ <hr>
+
+ <h3><a href="index.html#authors" id="authors">kmxgit authors</a></h3>
+ <ul>
+ <li>Thomas de Grivel <thoxdg@gmail.com></li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/kmx.io/git-auth b/priv/mirror/v0.3/git.kmx.io/kmx.io/git-auth
new file mode 100644
index 0000000..bea531a
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/kmx.io/git-auth
@@ -0,0 +1,323 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="dTsvQjBRBys5NCUucgsPKTNGITIRJzoE9Ny5JiUhAPui6OWzF2EdATuT" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/kmx.io">kmx.io</a>/<a href="git-auth">git-auth</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/kmx.io/git-auth/_tree/master">master</option><option value="/kmx.io/git-auth/_tree/v0.2">v0.2</option><option value="">- tag -</option><option value="/kmx.io/git-auth/_tree/v0.2">v0.2</option><option value="/kmx.io/git-auth/_tree/v0.1">v0.1</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/kmx.io/git-auth/_log/master#715f7c80606f01f033b1b640b7331b25502d772d">715f7c806</a>
+ </span>
+ <span class="date">
+2022-01-22 09:25:25 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+update man page
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/.gitignore">.gitignore</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/Makefile">Makefile</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/README.md">README.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/git-auth.1">git-auth.1</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/git-auth.c">git-auth.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/rule.c">rule.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/git-auth/_tree/master/rule.h">rule.h</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/kmx.io/git-auth.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:kmx.io/git-auth.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Authentication and ACL system for git.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/git-auth/_tag/v0.2">v0.2</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/git-auth/_tag/v0.1">v0.1</a>
+ </li>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>1.584 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+ <hr>
+ <h3>README.md</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+<h1>
+GIT-AUTH</h1>
+<h2>
+Synopsis</h2>
+<pre><code>GIT_AUTH_ID=ID git-auth COMMAND [ARGS ...]</code></pre>
+<h2>
+Description</h2>
+<p>
+<strong>git-auth</strong> starts by reading rules from /etc/git/auth.conf, one rule
+per line. Empty lines and lines starting with # are ignored. Each rule
+is made of tokens separated by one or more spaces.</p>
+<p>
+<strong>git-auth</strong> executes COMMAND and ARGS using execvp if the requested ID,
+COMMAND and ARGS match any of the rules defined in /etc/git/auth.conf.</p>
+<p>
+<strong>git-auth</strong> matches a rule by matching all the rule’s tokens with ID,
+COMMAND and ARGS in order. Comparison is case sensitive.</p>
+<p>
+A wildcard token “*” matches any string.</p>
+<h2>
+Environment</h2>
+<ul>
+ <li>
+<strong>GIT_AUTH_ID</strong> : an arbitrary token to match with the rules.
+This is usually set for each public key in /home/git/.ssh/authorized_keys
+with
+ environment=”GIT_AUTH_ID=…” ssh-rsa … </li>
+</ul>
+<h2>
+Configuration</h2>
+<p>
+Access control rules for each git repository go into
+<code class="inline">/etc/git/auth.conf</code>.</p>
+<p>
+The syntax of this file is one rule per line.
+Each rule is composed of symbols separated by spaces.
+In order :</p>
+<ul>
+ <li>
+A <strong>GIT_AUTH_ID</strong> value that was set in
+<code class="inline">/home/git/.ssh/authorized_keys</code>. </li>
+ <li>
+Permissions, either <code class="inline">rw</code> or <code class="inline">r</code>. </li>
+ <li>
+A repository path, relative to <code class="inline">/home/git</code>,
+example: <code class="inline">cl-adams/adams.git</code> </li>
+</ul>
+<h2>
+Files</h2>
+<ul>
+ <li>
+/etc/git/auth.conf </li>
+ <li>
+/home/git/.ssh/authorized_keys </li>
+</ul>
+<h1>
+See also</h1>
+<p>
+<a href="kmxgit">kmxgit</a>
+is a web interface on top of git-auth written in Elixir / Phoenix.</p>
+<h1>
+Copying</h1>
+<p>
+git-auth - restrict git commands</p>
+<p>
+Copyright 2012,2021 Thomas de Grivel <a href="mailto:thoxdg@gmail.com">thoxdg@gmail.com</a></p>
+<p>
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.</p>
+<p>
+THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
+
+
+ </div>
+ </div>
+ </div>
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/kmx.io/kmxgit b/priv/mirror/v0.3/git.kmx.io/kmx.io/kmxgit
new file mode 100644
index 0000000..3b9a5eb
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/kmx.io/kmxgit
@@ -0,0 +1,612 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="JBocQhJxZRsxNhZ_BQ91KRIdETJlHgMRhoJ5hI7XIRF8AK-zgiud5mLA" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/kmx.io">kmx.io</a>/<a href="kmxgit">kmxgit</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/kmx.io/kmxgit/_tree/master">master</option><option value="/kmx.io/kmxgit/_tree/v0.1">v0.1</option><option value="/kmx.io/kmxgit/_tree/v0.2">v0.2</option><option value="">- tag -</option><option value="/kmx.io/kmxgit/_tree/v0.2.0">v0.2.0</option><option value="/kmx.io/kmxgit/_tree/v0.1.1">v0.1.1</option><option value="/kmx.io/kmxgit/_tree/v0.1.0">v0.1.0</option><option value="/kmx.io/kmxgit/_tree/v0">v0</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/kmx.io/kmxgit/_log/master#6dfea693c77f276f552a8421aa5d78f65ccba0e8">6dfea693c</a>
+ </span>
+ <span class="date">
+2022-01-29 13:43:50 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+fix 500
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/.formatter.exs">.formatter.exs</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/.gitignore">.gitignore</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/README.md">README.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/assets">assets/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/bin">bin/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/config">config/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/gfx-refs.md">gfx-refs.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/lib">lib/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/mix.exs">mix.exs</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/mix.lock">mix.lock</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/priv">priv/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/master/test">test/</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/kmx.io/kmxgit.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:kmx.io/kmxgit.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Git server administration web application.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tag/v0.2.0">v0.2.0</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tag/v0.1.1">v0.1.1</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tag/v0.1.0">v0.1.0</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tag/v0">v0</a>
+ </li>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>44.792 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+ <hr>
+ <h3>README.md</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+<h1>
+kmxgit 0.3</h1>
+<p>
+<a href="kmxgit">kmxgit</a> is a web interface and a Git
+server written in C and Elixir / Phoenix.</p>
+<p>
+kmxgit started as a frontend for
+<a href="git-auth">git-auth</a>.
+Now public repositories are also supported.</p>
+<p>
+This branch is work in progress, for the stable branch see
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tree/v0.2">v0.2</a>.</p>
+<p>
+For releases see the tags, latest is
+<a href="https://git.kmx.io/kmx.io/kmxgit/_tag/v0.2.0">v0.2.0</a>.</p>
+<p>
+<a href="kmxgit#ChangeLog">ChangeLog</a> | <a href="kmxgit#todo">TODO</a></p>
+<h2>
+Installation</h2>
+<h3>
+git-auth installation</h3>
+<p>
+git-auth handles all permissions for a single git user accessible
+through SSH with just one config file (<code class="inline">/etc/git/auth.conf</code>).</p>
+<p>
+Please see <a href="git-auth">git-auth README.md</a>.</p>
+<h3>
+Phoenix installation</h3>
+<ul>
+ <li>
+Clone repo with <code class="inline">git clone https://git.kmx.io/kmx.io/kmxgit.git</code> </li>
+ <li>
+Change directory with <code class="inline">cd kmxgit</code> </li>
+ <li>
+Install dependencies with <code class="inline">mix deps.get</code> </li>
+ <li>
+Create and migrate your database with <code class="inline">mix ecto.setup</code> </li>
+ <li>
+Install <code class="inline">bin/*</code> into <code class="inline">/usr/local/bin</code> </li>
+ <li>
+Start Phoenix endpoint with <code class="inline">mix phx.server</code> or inside IEx with
+<code class="inline">iex -S mix phx.server</code> </li>
+</ul>
+<p>
+Now you can visit <a href="http://localhost:4000"><code class="inline">localhost:4000</code></a> from your browser.</p>
+<h3>
+Public access</h3>
+<p>
+To setup public access repositories on HTTP or HTTPS you need to setup
+your web server to serve certain requests with
+<a href="https://git-scm.com/docs/git-http-backend">git-http-backend</a>.</p>
+<h4>
+Nginx setup</h4>
+<p>
+First you need to setup
+<a href="https://www.nginx.com/resources/wiki/start/topics/examples/fcgiwrap/">fcgiwrap</a> to serve on <code class="inline">127.0.0.1:9001</code>.</p>
+<p>
+Then in your nginx server config :</p>
+<pre><code>location ~ ^(.*/info/refs|.*/git-upload-pack)$ {
+ fastcgi_pass 127.0.0.1:9001;
+ include fastcgi_params;
+ fastcgi_param SCRIPT_FILENAME /usr/local/libexec/git/git-http-backend;
+ fastcgi_param GIT_PROJECT_ROOT ~git;
+ fastcgi_param PATH_INFO $1;
+}</code></pre>
+<h1>
+ <a id="ChangeLog" href="kmxgit#ChangeLog">ChangeLog</a></h1>
+<h2>
+ <a id="v0.2" href="kmxgit#v0.2">Added in kmxgit 0.2</a></h2>
+<ul>
+ <li>
+auth <ul>
+ <li>
+auth users using <code class="inline">phx.gen.auth</code> </li>
+ <li>
+change password in separate form </li>
+ <li>
+session timeout (60 days) </li>
+ <li>
+auth with login </li>
+ <li>
+2FA TOTP (Google Authenticator) </li>
+ </ul>
+ </li>
+ <li>
+public repositories <ul>
+ <li>
+option “public access ?” </li>
+ <li>
+routes </li>
+ <li>
+permissions </li>
+ <li>
+git-http-backend </li>
+ </ul>
+ </li>
+ <li>
+front <ul>
+ <li>
+source code coloration </li>
+ <li>
+line numbers </li>
+ </ul>
+ </li>
+ <li>
+admin <ul>
+ <li>
+create organisation without members </li>
+ </ul>
+ </li>
+ <li>
+Git features <ul>
+ <li>
+diff <ul>
+ <li>
+sub-route, controller, view </li>
+ <li>
+links </li>
+ <li>
+line numbers </li>
+ </ul>
+ </li>
+ <li>
+log </li>
+ <li>
+tags </li>
+ </ul>
+ </li>
+ <li>
+notification e-mails <ul>
+ <li>
+change login </li>
+ <li>
+change e-mail </li>
+ <li>
+change password </li>
+ <li>
+change 2FA </li>
+ </ul>
+ </li>
+</ul>
+<h2>
+ <a id="v0.1" href="kmxgit#v0.1">Added in kmxgit 0.1</a></h2>
+<ul>
+ <li>
+git-auth <ul>
+ <li>
+/_etc/git/auth.conf </li>
+ <li>
+/_etc/ssh/authorized_keys </li>
+ <li>
+bin/update_etc_git_auth </li>
+ <li>
+bin/update_git_ssh_authorized_keys </li>
+ </ul>
+ </li>
+ <li>
+repository <ul>
+ <li>
+in subdirectory </li>
+ <li>
+navigation <ul>
+ <li>
+branches </li>
+ </ul>
+ </li>
+ <li>
+tags </li>
+ <li>
+readme.md </li>
+ </ul>
+ </li>
+ <li>
+same url slug for organisations and users </li>
+ <li>
+user auth using Guardian </li>
+</ul>
+<h1>
+ <a id="todo" href="kmxgit#todo" style="text-decoration:none;color:inherit;">TODO</a></h1>
+<h2>
+kmxgit 0.3</h2>
+<ul>
+ <li>
+DONE Disk usage <ul>
+ <li>
+DONE Per repo </li>
+ <li>
+DONE Per user </li>
+ <li>
+DONE Per organisation </li>
+ <li>
+DONE Server-wise </li>
+ </ul>
+ </li>
+ <li>
+DONE Footer <ul>
+ <li>
+DONE environment variable </li>
+ </ul>
+ </li>
+ <li>
+DONE Fonts : Inter & Courier New </li>
+ <li>
+DONE Dark navbar </li>
+ <li>
+DONE Users <ul>
+ <li>
+DONE Profile picture </li>
+ <li>
+DONE Link user in git log and commits </li>
+ </ul>
+ </li>
+ <li>
+DONE SEO <ul>
+ <li>
+DONE /_sitemap.txt </li>
+ <li>
+DONE /robots.txt </li>
+ </ul>
+ </li>
+ <li>
+DONE Display markdown files as HTML </li>
+ <li>
+DONE Bug : fix empty diff between commits and master </li>
+ <li>
+DONE Optimizations <ul>
+ <li>
+DONE useless git commands (<code class="inline">git_put_log1</code>) </li>
+ <li>
+DONE disk usage calculation </li>
+ </ul>
+ </li>
+ <li>
+DONE Front page <ul>
+ <li>
+DONE Stats <ul>
+ <li>
+DONE count users, organisations, repositories </li>
+ <li>
+DONE disk usage </li>
+ </ul>
+ </li>
+ <li>
+DONE git cli help <ul>
+ <li>
+DONE git clone </li>
+ <li>
+DONE git remote add kmx git@git.kmx.io:user/repo.git </li>
+ <li>
+DONE git push -u kmx branch </li>
+ <li>
+DONE git pull </li>
+ <li>
+DONE install git </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li>
+DONE Admin <ul>
+ <li>
+DONE logo </li>
+ <li>
+DONE Dashboard <ul>
+ <li>
+DONE Stats </li>
+ </ul>
+ </li>
+ <li>
+DONE disk usage (repos, orgs, users) </li>
+ <li>
+DONE pipeline queries </li>
+ <li>
+DONE sort by column </li>
+ <li>
+DONE search </li>
+ <li>
+DONE pagination (50 per page) </li>
+ <li>
+DONE link to livedashboard </li>
+ </ul>
+ </li>
+ <li>
+Releases <ul>
+ <li>
+infos </li>
+ <li>
+static files </li>
+ </ul>
+ </li>
+ <li>
+Pull requests <ul>
+ <li>
+Comments in diff </li>
+ </ul>
+ </li>
+ <li>
+Issues / tickets ? </li>
+ <li>
+Static site generator </li>
+ <li>
+OAuth2 <ul>
+ <li>
+Google </li>
+ <li>
+Github </li>
+ <li>
+Gitlab ? </li>
+ </ul>
+ </li>
+</ul>
+<h1>
+ <a href="kmxgit#copyright" id="copyright">Copyright</a></h1>
+<p>
+kmxgit - git server administration</p>
+<p>
+Copyright 2021,2022 Thomas de Grivel <a href="mailto:thoxdg@gmail.com">thoxdg@gmail.com</a></p>
+<p>
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.</p>
+<p>
+THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
+
+
+ </div>
+ </div>
+ </div>
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/kmx.io/kv b/priv/mirror/v0.3/git.kmx.io/kmx.io/kv
new file mode 100644
index 0000000..b801de4
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/kmx.io/kv
@@ -0,0 +1,379 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="CTsfEkh7ZSAUVjRwNzECFjkWNwI8ARtmENIe2C7cl2d7suZELbSTlrT6" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="https://git.kmx.io/kmx.io">kmx.io</a>/<a href="kv">kv</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/kmx.io/kv/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/kmx.io/kv/_log/master#832d58a31c313bae5bc7aab60ff7e43e6d354b3c">832d58a31</a>
+ </span>
+ <span class="date">
+2022-01-06 07:52:22 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+spec
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/.gitignore">.gitignore</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/Makefile">Makefile</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/README.md">README.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/buffer.c">buffer.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/buffer.h">buffer.h</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/doc">doc/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv.c">kv.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv.h">kv.h</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv_chars.c">kv_chars.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv_parse.c">kv_parse.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv_path.c">kv_path.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv_path.h">kv_path.h</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv_quote.c">kv_quote.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/kv_unquote.c">kv_unquote.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/rope.c">rope.c</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/rope.h">rope.h</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/kmx.io/kv/_tree/master/test">test/</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/kmx.io/kv.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:kmx.io/kv.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Key-value text file format.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>5.312 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+ <hr>
+ <h3>README.md</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+<h1>
+kv 1.0</h1>
+<p>
+Status : development.</p>
+<h2>
+Synopsis</h2>
+<p>
+ <img src="https://git.kmx.io/kmx.io/kv/_blob/master/doc/kv-1.0.jpg" alt="kv-1.0.jpg" />
+</p>
+<h2>
+Specification</h2>
+<pre><code> KV : SP* K SP* ':' SP* V SP*
+
+ M1 : KV (',' KV)* ','? SP*
+
+ M2 : SP* '{' M1 '}' SP*
+
+ M3 : SP*
+
+ M : M2 | M1 | M3
+
+K1 = V1 : ([^<{}:,"\s][^{}:,"\s]*)
+
+K2 = V2 : '"' (Q | [^"\\\s])* '"'
+
+ Q : '\"' | '\\' | '\n' | '\r' | '\t' | '\v' | '\0'
+
+K3 = V3 : '"""' \n (.*?) '"""'
+
+K4 = V4 : '<<' D \s (.*?) D
+
+ V5 : M2
+
+ K : K1 | K2 | K3 | K4
+
+ V : V1 | V2 | V3 | V4 | V5</code></pre>
+<h2>
+Parser</h2>
+<p>
+The parser will emit events for KV.</p>
+<h2>
+Command line interface</h2>
+<h3>
+Usage</h3>
+<pre><code>kv --get FILE [...] <<EOF
+A, B.B1, C."C1".C2
+EOF</code></pre>
+<p>
+Will output concatenated values of files for keys A, B.B1 and C.C1.C2.
+Keys must be quoted according to K1 or K2.</p>
+<pre><code> kv --quote FILE [...]</code></pre>
+<p>
+Will quote files according to (K1 | K2 | K3 | K4) whichever is best.</p>
+<pre><code> kv --unquote FILE [...]</code></pre>
+<p>
+Will unquote files according to (K1 | K2 | K3 | K4).</p>
+<h2>
+Reference implementation</h2>
+<p>
+The reference implementation of kv is implemented in ANSI C.</p>
+<h2>
+Other implementations</h2>
+<h3>
+TODO</h3>
+<ul>
+ <li>
+Common Lisp </li>
+ <li>
+Elixir </li>
+ <li>
+Go </li>
+ <li>
+Python </li>
+ <li>
+Ruby </li>
+ <li>
+Rust </li>
+ <li>
+Java </li>
+ <li>
+Javascript </li>
+</ul>
+
+
+ </div>
+ </div>
+ </div>
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/robots.txt b/priv/mirror/v0.3/git.kmx.io/robots.txt
new file mode 100644
index 0000000..464fbd2
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://git.kmx.io/_sitemap.txt
diff --git a/priv/mirror/v0.3/git.kmx.io/s0ca/Aciduino b/priv/mirror/v0.3/git.kmx.io/s0ca/Aciduino
new file mode 100644
index 0000000..c059241
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/s0ca/Aciduino
@@ -0,0 +1,244 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="Li0hOxVLPAsTPCN3BjY0HQchNRwWBHZnbXwLosnHkXs0BrlNrUQJFw97" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="../s0ca">s0ca</a>/<a href="Aciduino">Aciduino</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/s0ca/Aciduino/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+ <img src="https://secure.gravatar.com/avatar/87a15bffde182a1edd9b2d0ab616dda9?s=48" alt="Mathias" title="Mathias" class="commit-avatar">
+
+ <span class="hash">
+<a href="https://git.kmx.io/s0ca/Aciduino/_log/master#880440dbf44fe404d135515a3afe591585e4ea64">880440dbf</a>
+ </span>
+ <span class="date">
+2022-01-17 15:57:44 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+ nouveau fichier : AcidStepSequencer.ino nouveau fichier : AcidTHarmonizer.ino nouveau fichier : Aciduino.ino nouveau fichier : HardwareInterface.ino nouveau fichier : PageGenerative.ino nouveau fichier : PageLive.ino nouveau fichier : PageSequencer.ino nouveau fichier : UserInterface.ino nouveau fichier : config.h nouveau fichier : uClock.cpp nouveau fichier : uClock.h
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/AcidStepSequencer.ino">AcidStepSequencer.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/AcidTHarmonizer.ino">AcidTHarmonizer.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/Aciduino.ino">Aciduino.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/HardwareInterface.ino">HardwareInterface.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/PageGenerative.ino">PageGenerative.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/PageLive.ino">PageLive.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/PageSequencer.ino">PageSequencer.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/UserInterface.ino">UserInterface.ino</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/config.h">config.h</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/uClock.cpp">uClock.cpp</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/s0ca/Aciduino/_tree/master/uClock.h">uClock.h</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/s0ca/Aciduino.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:s0ca/Aciduino.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../s0ca"><img src="https://secure.gravatar.com/avatar/3200c0abf3ac2f7fc7a3cab55e7e0769?s=48" alt="s0ca" title="s0ca" class=""></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>0.456 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/seuldanslenoir b/priv/mirror/v0.3/git.kmx.io/seuldanslenoir
new file mode 100644
index 0000000..8a08e1d
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/seuldanslenoir
@@ -0,0 +1,141 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="Fh0SBTVnZRVVADIgNxccZy8VIB81QgkXZhDrO_7V-dbgsSD4ZaDIe1FG" name="csrf-token">
+
+<title data-suffix=" - kmx git">SeulDansLeNoir - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>SeulDansLeNoir</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/seuldanslenoir/sdln_flutter">seuldanslenoir/sdln_flutter</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/seuldanslenoir/sdln_server">seuldanslenoir/sdln_server</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/seuldanslenoir/seuldanslenoir">seuldanslenoir/seuldanslenoir</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>SeulDansLeNoir</td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>seuldanslenoir</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Application pour les tracts cataphiles.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+
+
+
+<a href="vrizzt"><img src="https://secure.gravatar.com/avatar/7fff4de96a38bd16cfe51ebefe1ee1d8?s=48" alt="vrizzt" title="vrizzt" class=""></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>15.648 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/test b/priv/mirror/v0.3/git.kmx.io/test
new file mode 100644
index 0000000..22d926c
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/test
@@ -0,0 +1,135 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="BkA6GT9_ZAoXEAohICkoNBA9FWIpCyI1J5lnEG6IotZfdmpgeIq4yxme" name="csrf-token">
+
+<title data-suffix=" - kmx git">test - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>test</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>test</td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>test</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+test</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="thodg"><img alt="thodg" class="" src="_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+
+
+
+<a href="s0ca"><img src="https://secure.gravatar.com/avatar/3200c0abf3ac2f7fc7a3cab55e7e0769?s=48" alt="s0ca" title="s0ca" class=""></a>
+
+
+
+
+
+<a href="vrizzt"><img src="https://secure.gravatar.com/avatar/7fff4de96a38bd16cfe51ebefe1ee1d8?s=48" alt="vrizzt" title="vrizzt" class=""></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>0 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/thodg/rtbuf b/priv/mirror/v0.3/git.kmx.io/thodg/rtbuf
new file mode 100644
index 0000000..148abbc
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/thodg/rtbuf
@@ -0,0 +1,331 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="CRM4HRNXIjcvFGkVJQABGjRAUDM4Nhs8EfnjioptWp9RaDYIA44ehETl" name="csrf-token">
+
+<title>kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="../_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="../_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="../_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="../_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="../_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+<h1 id="repo_title"><a href="../thodg">thodg</a>/<a href="rtbuf">rtbuf</a></h1>
+
+ </div>
+ <div class="col col-12 col-md-5">
+
+
+
+ </div>
+ </div>
+<div class="row">
+ <div class="col col-12 col-md-7">
+
+
+ <p>
+Branch
+<select class="tree" id="repository_tree" name="repository[tree]"><option value="">- branch -</option><option selected value="/thodg/rtbuf/_tree/master">master</option></select>
+ </p>
+
+
+
+<div class="log1">
+
+
+
+<a href="../thodg"><img alt="Thomas de Grivel" class="commit-avatar" src="../_avatar/thodg/48/avatar.png" title="Thomas de Grivel"></a>
+
+ <span class="hash">
+<a href="https://git.kmx.io/thodg/rtbuf/_log/master#da801256bcb52811d9199cb36fcf99f4fd158fe9">da801256b</a>
+ </span>
+ <span class="date">
+2021-01-04 13:01:23 +01:00
+ </span>
+ <br>
+ <span class="message" %>
+modular build, rename gtk to gtk3
+ </span>
+</div>
+<div class="clear"></div>
+
+
+ <hr>
+ <h2>Files</h2>
+ <ul>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/.gitignore">.gitignore</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/AUTHORS">AUTHORS</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/COPYING">COPYING</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/ChangeLog">ChangeLog</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/INSTALL">INSTALL</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/Makefile.am">Makefile.am</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/NEWS">NEWS</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/README">README</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/README.md">README.md</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/autogen.sh">autogen.sh</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/cli">cli/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/configure.ac">configure.ac</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/gtk3">gtk3/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/home-rtbuf">home-rtbuf</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/lib">lib/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/librtbuf">librtbuf/</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/msys.sh">msys.sh</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/rtbuf.nsi">rtbuf.nsi</a>
+
+ </li>
+
+ <li>
+
+<a href="https://git.kmx.io/thodg/rtbuf/_tree/master/test">test/</a>
+
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-5">
+ <hr>
+<h2>Properties</h2>
+<table class="table admin-properties">
+
+ <tr>
+ <th>Git HTTP</th>
+ <td>https://git.kmx.io/thodg/rtbuf.git</td>
+ </tr>
+
+ <tr>
+ <th>Git SSH</th>
+ <td>git@git.kmx.io:thodg/rtbuf.git</td>
+ </tr>
+ <tr>
+ <th>Public access ?</th>
+ <td>
+
+public
+
+ </td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Modular synthesis toolkit. Real time buffers in ANSI C.</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="../thodg"><img alt="thodg" class="" src="../_avatar/thodg/48/avatar.png" title="thodg"></a>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <th>Tags</th>
+ <td>
+ <ul>
+
+ </ul>
+ </td>
+ </tr>
+
+ <tr>
+ <th>Disk usage</th>
+ <td>1.784 MB</td>
+ </tr>
+</table>
+
+ </div>
+</div>
+
+<div class="row">
+
+
+ <hr>
+ <h3>README</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+ <pre></pre>
+
+ </div>
+ </div>
+ </div>
+
+ <hr>
+ <h3>README.md</h3>
+ <div class="container-fluid">
+ <div class="container-fluid file_content">
+ <div class="content_html">
+
+<h1>
+RTBUF 0.3 - Real time buffers</h1>
+<p>
+Real time signal processing in ANSI C.</p>
+<p>
+See <a href="https://rtbuf.kmx.io/">https://rtbuf.kmx.io/</a></p>
+<h2>
+Issues</h2>
+<p>
+signal/bandpass2 does not work</p>
+
+
+ </div>
+ </div>
+ </div>
+
+
+</div>
+
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/vrizzt b/priv/mirror/v0.3/git.kmx.io/vrizzt
new file mode 100644
index 0000000..664db34
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/vrizzt
@@ -0,0 +1,205 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="AUYyGj0BGQQbIigwNSoMOyAcMhtmAh1nM3dmG9KGcFxwqnThUhVM6qR7" name="csrf-token">
+
+<title data-suffix=" - kmx git">User vrizzt - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>vrizzt</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+ </div>
+ <div class="row">
+ <div class="col col-12">
+ <hr>
+
+
+
+<a href="vrizzt"><img src="https://secure.gravatar.com/avatar/7fff4de96a38bd16cfe51ebefe1ee1d8?s=256" alt="vrizzt" title="vrizzt" class="avatar-lg"></a>
+
+ <h1>Thibaut Poullain</h1>
+ <div class="col col-12 col-md-8">
+
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ <li>
+<a href="https://git.kmx.io/vrizzt/test/test">vrizzt/test/test</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/vrizzt/unac_webdesign">vrizzt/unac_webdesign</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/seuldanslenoir/sdln_server">seuldanslenoir/sdln_server</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/seuldanslenoir/sdln_flutter">seuldanslenoir/sdln_flutter</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/kmx.io/kmx.io">kmx.io/kmx.io</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/dalloz/mini-ours">dalloz/mini-ours</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/dalloz/moodle_api">dalloz/moodle_api</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/seuldanslenoir/seuldanslenoir">seuldanslenoir/seuldanslenoir</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/dalloz/ours">dalloz/ours</a>
+ </li>
+
+ <li>
+<a href="https://git.kmx.io/thodg/dmesg-collection">thodg/dmesg-collection</a>
+ </li>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>Thibaut Poullain</td>
+ </tr>
+ <tr>
+ <th>Email</th>
+ <td><a href="mailto:thibaut.poullain@ydrazil.fr">thibaut.poullain@ydrazil.fr</a></td>
+ </tr>
+ <tr>
+ <th>Login</th>
+ <td>vrizzt</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+ </td>
+ </tr>
+ <tr>
+ <th>Deploy only</th>
+ <td>false</td>
+ </tr>
+ <tr>
+ <th>
+Organisations<br>
+
+ </th>
+ <td>
+ <ul>
+
+ <li>
+<a class="org" href="dalloz">Dalloz</a>
+ </li>
+
+ <li>
+<a class="org" href="seuldanslenoir">SeulDansLeNoir</a>
+ </li>
+
+ <li>
+<a class="org" href="test">test</a>
+ </li>
+
+ <li>
+<a class="org" href="ydrazil.fr">Ydrazil.fr</a>
+ </li>
+
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th>SSH keys</th>
+ <td class="scroll-x">
+ <pre class="ssh_keys">
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/oyzPSzL+R1jLvSAk5xSac0cjMrdkk2452iop2rd0H thibaut@BlackBird.local
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>70.488 MB</td>
+ </tr>
+ <tr>
+ <th>Accessible</th>
+ <td>122.96 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ <p>
+ </p>
+
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>
diff --git a/priv/mirror/v0.3/git.kmx.io/ydrazil.fr b/priv/mirror/v0.3/git.kmx.io/ydrazil.fr
new file mode 100644
index 0000000..e036279
--- /dev/null
+++ b/priv/mirror/v0.3/git.kmx.io/ydrazil.fr
@@ -0,0 +1,125 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta content="EycCAjt5ZQUbJRk9ERUZAUARVWQZQjYn_RTuAA7FcAIzUQAR5e12I1yw" name="csrf-token">
+
+<title data-suffix=" - kmx git">Ydrazil.fr - kmx git</title>
+
+ <link phx-track-static rel="stylesheet" href="_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
+ <script defer phx-track-static type="text/javascript" src="_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
+ <link rel="icon" type="image/png" sizes="128x128" href="_images/kmxgit.logo.black.128.png">
+ <link rel="icon" type="image/png" sizes="64x64" href="_images/kmxgit.logo.black.64.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="_images/kmxgit.logo.black.32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
+ </head>
+ <body>
+<nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="index.html">
+ <div class="kmxgit-logo">
+ <span><i class="fa fa-square"></i></span> kmx git
+ </div>
+ </a>
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+
+<li class="nav-item">
+<a class="nav-link" href="_log_in">login</a>
+</li>
+<li class="nav-item">
+<a class="nav-link" href="_register">register</a>
+</li>
+
+
+ </ul>
+ </div>
+
+ </div>
+</nav>
+
+<div class="container-fluid center">
+
+
+
+</div>
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col col-12 col-sm-7">
+ <h1>Ydrazil.fr</h1>
+ </div>
+ <div class="col col-12 col-sm-4">
+
+ </div>
+
+ </div>
+
+ <div class="row">
+ <div class="col col-12 col-md-7">
+ <hr>
+ <h2>Repositories</h2>
+ <ul>
+
+ </ul>
+ </div>
+ <div class="col col-12 col-md-4">
+ <hr>
+ <h2>Properties</h2>
+ <table class="table admin-properties">
+ <tr>
+ <th>Name</th>
+ <td>Ydrazil.fr</td>
+ </tr>
+ <tr>
+ <th>Slug</th>
+ <td>ydrazil.fr</td>
+ </tr>
+ <tr>
+ <th>Description</th>
+ <td>
+
+<p>
+Dev web (poustache)</p>
+<p>
+<strong>Hello</strong> <em>world</em> !</p>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>
+Users<br>
+
+ </th>
+ <td>
+
+
+
+
+<a href="vrizzt"><img src="https://secure.gravatar.com/avatar/7fff4de96a38bd16cfe51ebefe1ee1d8?s=48" alt="vrizzt" title="vrizzt" class=""></a>
+
+
+ </td>
+ </tr>
+ <tr>
+ <th>Disk usage</th>
+ <td>0.008 MB</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+
+<div class="footer bg-light">
+<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
+</div>
+
+ </body>
+</html>