diff --git a/Dockerfile.txt b/Dockerfile.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b0a73ad422d5881628cf76506feadca306ab982
--- /dev/null
+++ b/Dockerfile.txt
@@ -0,0 +1,17 @@
+# Menggunakan base image Python 3.9
+FROM python:3.9
+
+# Mengatur direktori kerja ke /code
+WORKDIR /code
+
+# Menyalin requirements.txt ke /code
+COPY ./requirements.txt /code/requirements.txt
+
+# Menginstal dependensi dari requirements.txt
+RUN pip install --no-cache-dir --upgrade -r requirements.txt
+
+# Menyalin seluruh konten proyek Anda ke /code
+COPY . /code
+
+# CMD untuk menjalankan Gunicorn
+CMD ["gunicorn", "server:app", "-b", "0.0.0.0:7860"]
\ No newline at end of file
diff --git a/static/505error.gif b/static/505error.gif
new file mode 100644
index 0000000000000000000000000000000000000000..455d5d8bcc10e16679dcb563d667da87a502e8a6
--- /dev/null
+++ b/static/505error.gif
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:974aade8c7afe61ff53afabaf425a8618244b80b4ca6e1405e5d2d3ddfb15388
+size 4059680
diff --git a/static/back-index.svg b/static/back-index.svg
new file mode 100644
index 0000000000000000000000000000000000000000..fe56df5a00398c47429b1da68e29c70ad93f826d
--- /dev/null
+++ b/static/back-index.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/background.svg b/static/background.svg
new file mode 100644
index 0000000000000000000000000000000000000000..c38b91c84ecbd953c1cbec48e1f7d264c5294332
--- /dev/null
+++ b/static/background.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/bin.png b/static/bin.png
new file mode 100644
index 0000000000000000000000000000000000000000..26198164b86ec4b39559bf0c6e98fb46e7d1ffad
Binary files /dev/null and b/static/bin.png differ
diff --git a/static/chat.png b/static/chat.png
new file mode 100644
index 0000000000000000000000000000000000000000..2dd11cf248ca84c60fbd4afce36116f2e709d387
Binary files /dev/null and b/static/chat.png differ
diff --git a/static/check-mark.png b/static/check-mark.png
new file mode 100644
index 0000000000000000000000000000000000000000..6aa84d911ea86244b082619662cd024bd38f30ca
Binary files /dev/null and b/static/check-mark.png differ
diff --git a/static/css/style.css b/static/css/style.css
new file mode 100644
index 0000000000000000000000000000000000000000..669f9f1a0773fa243d284277f00ef621178f3887
--- /dev/null
+++ b/static/css/style.css
@@ -0,0 +1,2827 @@
+/*============ Google fonts ============*/
+@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
+
+/*======= CSS variables =======*/
+:root {
+ --white-color: #000;
+ --dark-color: #fff;
+ --body-bg-color: #fff;
+ --section-bg-color: #fff;
+ --navigation-item-hover-color: #ff9900;
+
+ --text-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
+ --box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+
+ --scroll-bar-color: #fff;
+ --scroll-thumb-color: #ff9100;
+ --scroll-thumb-hover-color: #ff6800;
+}
+
+/*======= Scroll bar =======*/
+::-webkit-scrollbar{
+ width: 11px;
+ background: var(--scroll-bar-color);
+}
+
+::-webkit-scrollbar-thumb{
+ width: 100%;
+ background: var(--scroll-thumb-color);
+ border-radius: 2em;
+}
+
+::-webkit-scrollbar-thumb:hover{
+ background: var(--scroll-thumb-hover-color);
+}
+
+/*======= Main CSS =======*/
+*{
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ font-family: 'Poppins', sans-serif;
+}
+
+body{
+ background: var(--body-bg-color);
+}
+html {
+ scroll-behavior: smooth;
+}
+section{
+ position: relative;
+}
+
+.section{
+ color: var(--white-color);
+ background: var(--section-bg-color);
+ padding: 35px 200px;
+ transition: 0.3s ease;
+}
+
+/*======= Header =======*/
+header{
+ z-index: 999;
+ position: fixed;
+ width: 100%;
+ height: calc(5rem + 1rem);
+ top: 0;
+ left: 0;
+ display: flex;
+ justify-content: center;
+ transition: 0.5s ease;
+ transition-property: height, background;
+}
+
+header.sticky{
+ height: calc(2.5rem + 1rem);
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(20px);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+}
+
+header .nav-bar{
+ position: relative;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 0 200px;
+ transition: 0.3s ease;
+}
+
+.nav-close-btn, .nav-menu-btn{
+ display: none;
+}
+
+.nav-bar .logo{
+ color: var(--white-color);
+ font-size: 1.8em;
+ font-weight: 600;
+ letter-spacing: 2px;
+ text-transform: uppercase;
+ text-decoration: none;
+ text-shadow: var(--text-shadow);
+}
+
+.navigation .nav-items a{
+ color: var(--white-color);
+ font-size: 1em;
+ text-decoration: none;
+ text-shadow: var(--text-shadow);
+ position: relative;
+}
+
+.navigation .nav-items a i{
+ display: none;
+}
+
+.navigation .nav-items a:not(:last-child){
+ margin-right: 45px;
+}
+
+.navigation .nav-items a .svgContainer {
+ position: absolute;
+ top : -50%;
+ left: 100%;
+ width: 50px;
+ height: 50px;
+ margin: 0 auto 1em;
+ border-radius: 50%;
+ background: none;
+ border: solid 2.5px #3A5E77;
+ overflow: hidden;
+}
+
+.navigation .nav-items a .svgContainer div {
+ position: relative;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ padding-bottom: 100%;
+}
+
+.navigation .nav-items a .svgContainer .mySVG {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+.profile {
+ position: relative;
+}
+
+.floating-div {
+ position: absolute;
+ display: none;
+ top: 80px;
+ right: 10%;
+ padding: 10px;
+ background-color: #fff;
+ border-radius: 10px;
+ border: 1px solid #333;
+}
+
+.floating-div .svgContainer {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ margin: 0 auto 1em;
+ border-radius: 50%;
+ background: none;
+ border: solid 2.5px #3A5E77;
+ overflow: hidden;
+}
+
+.floating-div .svgContainer div {
+ position: relative;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ padding-bottom: 100%;
+}
+
+.floating-div .svgContainer .mySVG {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+.flex-div {
+ padding: 10px;
+ margin:10px auto;
+}
+
+.flex-div a{
+ color:black;
+ line-height:400%;
+}
+
+.flex-div .svgContainer {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ margin: 0 auto 1em;
+ border-radius: 50%;
+ background: none;
+ border: solid 2.5px #3A5E77;
+ overflow: hidden;
+}
+
+.flex-div .svgContainer div {
+ position: relative;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ padding-bottom: 100%;
+}
+
+.flex-div .svgContainer .mySVG {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+/*======= Home =======*/
+.home{
+ min-height: 100vh;
+}
+
+.home:before{
+ z-index: 888;
+ content: '';
+ position: absolute;
+ width: 100%;
+ height: 50px;
+ bottom: 0;
+ left: 0;
+ background: linear-gradient(transparent, var(--section-bg-color));
+}
+
+/*======= Background slider =======*/
+.bg-slider{
+ z-index: 777;
+ position: relative;
+ width: 100%;
+ min-height: 100vh;
+}
+
+.bg-slider .swiper-slide{
+ background-image: url('/static/index-backed.svg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center center;
+ position: relative;
+ width: 100%;
+ height: 100vh;
+}
+
+.bg-slider .swiper-slide img{
+ width: 100%;
+ height: 100vh;
+ object-fit: cover;
+ background-position: center;
+ background-size: cover;
+ pointer-events: none;
+}
+
+@media screen and (max-width: 700px){
+ .bg-slider .swiper-slide img {
+ width: 100%;
+ height: 50vh;
+ }
+
+}
+
+.swiper-slide .text-content{
+ position: absolute;
+ top: 25%;
+ color: var(--white-color);
+ margin: 0 200px;
+ transition: 0.3s ease;
+}
+
+.swiper-slide .text-content .title{
+ font-size: 4em;
+ font-weight: 700;
+ text-shadow: var(--text-shadow);
+ margin-bottom: 20px;
+ transform: translateY(-50px);
+ opacity: 0;
+}
+
+.swiper-slide-active .text-content .title{
+ transform: translateY(0);
+ opacity: 1;
+ transition: 1s ease;
+ transition-delay: 0.3s;
+ transition-property: transform, opacity;
+}
+
+.swiper-slide .text-content .title span{
+ font-size: 0.3em;
+ font-weight: 300;
+}
+
+.swiper-slide .text-content p{
+ max-width: 700px;
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ text-shadow: var(--text-shadow);
+ padding: 20px;
+ border-radius: 10px;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: var(--box-shadow);
+ transform: translateX(-80px);
+ opacity: 0;
+}
+
+.swiper-slide-active .text-content p{
+ transform: translateX(0);
+ opacity: 1;
+ transition: 1s ease;
+ transition-delay: 0.3s;
+ transition-property: transform, opacity;
+}
+
+.swiper-slide .text-content .read-btn{
+ border: none;
+ outline: none;
+ background: var(--white-color);
+ color: var(--dark-color);
+ font-size: 1em;
+ font-weight: 500;
+ padding: 8px 25px;
+ display: flex;
+ align-items: center;
+ margin-top: 40px;
+ border-radius: 10px;
+ cursor: pointer;
+ transform: translateX(50px);
+ opacity: 0;
+}
+
+.swiper-slide-active .text-content .read-btn{
+ transform: translateX(0);
+ opacity: 1;
+ transition: 1s ease;
+ transition-delay: 0.3s;
+ transition-property: transform, opacity;
+}
+
+.swiper-slide .text-content .read-btn i{
+ font-size: 1.6em;
+ transition: 0.3s ease;
+}
+
+.swiper-slide .text-content .read-btn:hover i{
+ transform: translateX(5px);
+}
+
+.dark-layer:before{
+ content: '';
+ position: absolute;
+ width: 100%;
+ height: 100vh;
+ top: 0;
+ left: 0;
+ background: rgba(0, 0, 0, 0.1);
+}
+
+.bg-slider-thumbs{
+ z-index: 777;
+ position: absolute;
+ bottom: 7em;
+ left: 50%;
+ transform: translateX(-50%);
+ transition: 0.3s ease;
+}
+
+.thumbs-container{
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ padding: 10px 3px;
+ border-radius: 10px;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: var(--box-shadow);
+}
+
+.thumbs-container img{
+ width: 50px;
+ height: 35px;
+ margin: 0 5px;
+ border-radius: 5px;
+ cursor: pointer;
+}
+
+.swiper-slide-thumb-active{
+ border: 1px solid var(--white-color);
+}
+
+#visual {
+ width:100%;
+ height:100%;
+ animation: spin 30s linear infinite;
+}
+
+@keyframes spin {
+ 100% {
+ transform: rotate(360deg);
+ }
+}
+
+#visual2 {
+ width:100%;
+ height:100%;
+ animation: spin2 30s linear infinite;
+}
+
+@keyframes spin2 {
+ 100% {
+ transform: rotate(-360deg);
+ }
+}
+
+/*======= Media icons =======*/
+.media-icons{
+ z-index: 999;
+ position: absolute;
+ display: flex;
+ flex-direction: column;
+ top: 50%;
+ transform: translateY(-50%);
+ margin-left: 90px;
+}
+
+.media-icons a{
+ color: var(--white-color);
+ font-size: 1.7em;
+ margin: 10px 0;
+}
+
+/*======= About section =======*/
+.about h2{
+ font-size: 3em;
+ font-weight: 600;
+}
+
+.about p{
+ margin: 25px 0;
+}
+
+/*======= Media queries (max-width: 1100px) =======*/
+@media screen and (max-width: 1100px){
+ header .nav-bar{
+ padding: 0 50px;
+ }
+
+ .section{
+ padding: 25px 50px;
+ }
+
+ .media-icons{
+ right: 0;
+ margin-right: 50px;
+ }
+
+ .swiper-slide .text-content{
+ margin: 0 120px 0 50px;
+ }
+
+ .bg-slider-thumbs{
+ bottom: 3em;
+ }
+}
+
+/*======= Media queries (max-width: 900px) =======*/
+@media screen and (max-width: 900px){
+ header .nav-bar{
+ padding: 25px 20px;
+ }
+
+ .section{
+ padding: 25px 20px;
+ }
+
+ .media-icons{
+ margin-right: 20px;
+ }
+
+ .media-icons a{
+ font-size: 1.5em;
+ }
+
+ .swiper-slide .text-content{
+ margin: 0 70px 0 20px;
+ }
+
+ .swiper-slide .text-content .title{
+ font-size: 2em;
+ }
+
+ .swiper-slide .text-content .title span{
+ font-size: 0.35em;
+ }
+
+ .swiper-slide .text-content p{
+ font-size: 0.7em;
+ }
+
+ /*======= Navigation menu =======*/
+ .nav-menu-btn{
+ display: block;
+ color: var(--white-color);
+ font-size: 1.5em;
+ cursor: pointer;
+ }
+
+ .nav-close-btn{
+ display: block;
+ color: var(--white-color);
+ position: absolute;
+ top: 0;
+ right: 0;
+ font-size: 1.3em;
+ margin: 10px;
+ cursor: pointer;
+ transition: 0.3s ease;
+ }
+
+ .navigation{
+ z-index: 99999;
+ position: fixed;
+ width: 100%;
+ height: 100vh;
+ top: 0;
+ left: 0;
+ background: rgba(0, 0, 0, 0.25);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ visibility: hidden;
+ opacity: 0;
+ transition: 0.3s ease;
+ }
+
+ .navigation.active{
+ visibility: visible;
+ opacity: 1;
+ }
+
+ .navigation .nav-items{
+ position: relative;
+ background: var(--dark-color);
+ width: 400px;
+ max-width: 400px;
+ display: grid;
+ place-content: center;
+ margin: 20px;
+ padding: 40px;
+ border-radius: 20px;
+ box-shadow: var(--box-shadow);
+ transform: translateY(-200px);
+ transition: 0.3s ease;
+ }
+
+ .navigation.active .nav-items{
+ transform: translateY(0);
+ }
+
+ .navigation .nav-items a{
+ color: var(--white-color);
+ font-size: 1em;
+ margin: 15px 50px;
+ transition: 0.3s ease;
+ }
+
+ .navigation .nav-items a:hover{
+ color: var(--navigation-item-hover-color);
+ }
+
+ .navigation .nav-items > a > i{
+ display: inline-block;
+ font-size: 1.3em;
+ margin-right: 5px;
+ }
+
+ .swiper-slide .text-content .read-btn{
+ font-size: 0.9em;
+ padding: 5px 15px;
+ }
+
+ /*======= About section =======*/
+ .about h2{
+ font-size: 2.5em;
+ }
+
+ .about p{
+ font-size: 0.9em;
+ }
+}
+
+ /*======= Features section =======*/
+#features {
+ background-image: url('/static/feature-back.svg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center center;
+ width:100%;
+}
+
+.flex-container {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+}
+
+.flex-item1,
+.flex-item4,
+.flex-item5,
+.flex-item8 {
+ border: 2px;
+ border-radius: 15px;
+ margin:20px;
+ padding: 20px;
+ text-align: justify;
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ text-shadow: var(--text-shadow);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: var(--box-shadow);
+}
+
+.flex-item2,
+.flex-item3,
+.flex-item6,
+.flex-item7 {
+ margin:20px;
+ width:40%;
+ flex-basis: 50%;
+ padding: 10px;
+ text-align: center;
+}
+/*
+.flex-item-line{
+ width: 25%;
+ height: 50px;
+ position: absolute;
+ border-bottom: 3px solid grey
+}*/
+
+.numbers {
+ margin:10px auto;
+ border-radius:50%;
+ height:150px;
+ width:150px;
+ text-align:center;
+ justify-content:center;
+ padding:30px;
+ font-size:40px;
+ background: rgb(255,153,0);
+ background: linear-gradient(45deg, rgba(255,153,0,1) 0%, rgba(255,235,0,1) 100%, rgba(0,212,255,1) 100%);
+ box-shadow: var(--box-shadow);
+}
+
+.marker {
+ display:none;
+}
+
+@media screen and (max-width: 900px) {
+ .marker {
+ display: block;
+ }
+ .flex-item2,
+ .flex-item3,
+ .flex-item6,
+ .flex-item7 {
+ display: none;
+ }
+ .flex-item1,
+ .flex-item4,
+ .flex-item5,
+ .flex-item8 {
+ flex-basis: 75%;
+ font-size:0.8em;
+ width:100%;
+ }
+}
+
+
+/* ============== Footer ================ */
+.footer-flex {
+ display: flex;
+ flex-direction:row;
+ justify-content: space-around;
+ align-items: flex-end;
+ padding:20px;
+ font-weight:bold;
+}
+.logo-foot {
+ padding:20px;
+ margin:10px auto;
+}
+.copyright {
+ padding:20px;
+ margin:10px auto;
+}
+.follow {
+ padding:20px;
+ margin:10px auto;
+}
+
+.flex { /*Flexbox for containers*/
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+}
+
+.waves {
+ position:relative;
+ width: 100%;
+ height:auto;
+ margin-bottom:-7px; /*Fix for safari gap*/
+ min-height:100px;
+ max-height:150px;
+}
+
+.content {
+ position:relative;
+ height:20vh;
+ text-align:center;
+ background-color: rgba(255, 157, 0, 1);
+}
+
+/* Animation */
+
+.parallax > use {
+ animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
+}
+.parallax > use:nth-child(1) {
+ animation-delay: -2s;
+ animation-duration: 7s;
+}
+.parallax > use:nth-child(2) {
+ animation-delay: -3s;
+ animation-duration: 10s;
+}
+.parallax > use:nth-child(3) {
+ animation-delay: -4s;
+ animation-duration: 13s;
+}
+.parallax > use:nth-child(4) {
+ animation-delay: -5s;
+ animation-duration: 20s;
+}
+@keyframes move-forever {
+ 0% {
+ transform: translate3d(-90px,0,0);
+ }
+ 100% {
+ transform: translate3d(85px,0,0);
+ }
+}
+/*Shrinking for mobile*/
+@media (max-width: 768px) {
+ .waves {
+ height:40px;
+ min-height:40px;
+ }
+ .content {
+ height:30vh;
+ }
+ h1 {
+ font-size:24px;
+ }
+ .footer-flex {
+ flex-direction:column;
+ }
+ .logo-foot {
+ padding:10px;
+ margin:5px auto;
+ }
+ .copyright {
+ padding:10px;
+ margin:5px auto;
+ }
+ .follow {
+ padding:10px;
+ margin:5px auto;
+ }
+ .content {
+ height:45vh;
+ }
+}
+
+.contact-items a{
+ color: var(--white-color);
+ font-size: 1em;
+ text-decoration:none;
+ text-shadow: var(--text-shadow);
+}
+
+.loader {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: #fff;
+ margin:auto;
+ justify-content: center;
+ align-items: center;
+ transition: opacity 0.5s ease-in-out;
+ opacity: 1;
+}
+
+.loader.hide {
+ opacity: 0.15;
+}
+
+.loader3{
+ position: relative;
+ width: 150px;
+ height: 20px;
+ top: 45%;
+ top: -webkit-calc(50% - 10px);
+ top: calc(50% - 10px);
+ left: 25%;
+ left: -webkit-calc(50% - 75px);
+ left: calc(50% - 75px);
+}
+
+.loader3:after{
+ content: "LOADING ...";
+ color: #000;
+ font-weight: 200;
+ font-size: 16px;
+ position: absolute;
+ width: 100%;
+ height: 20px;
+ line-height: 20px;
+ left: 0;
+ top: 0;
+ background-color: #fff;
+ z-index: 1;
+}
+
+.loader3:before{
+ content: "";
+ position: absolute;
+ background: linear-gradient(to right, #FF416C, #FFA63E);
+ top: -5px;
+ left: 0px;
+ height: 30px;
+ width: 0px;
+ z-index: 0;
+ opacity: 1;
+ -webkit-transform-origin: 100% 0%;
+ transform-origin: 100% 0% ;
+ -webkit-animation: loader3 3s ease-in-out infinite;
+ animation: loader3 3s ease-in-out infinite;
+}
+
+@-webkit-keyframes loader3{
+ 0%{width: 0px;}
+ 70%{width: 100%; opacity: 1;}
+ 90%{opacity: 0; width: 100%;}
+ 100%{opacity: 0;width: 0px;}
+}
+
+@keyframes loader3{
+ 0%{width: 0px;}
+ 70%{width: 100%; opacity: 1;}
+ 90%{opacity: 0; width: 100%;}
+ 100%{opacity: 0;width: 0px;}
+}
+
+/*===== Admin Table ====*/
+.accordion {
+ background-color: #eee;
+ color: #444;
+ cursor: pointer;
+ padding: 10px;
+ margin:10px;
+ margin-left:30px;
+ width: 95%;
+ border: none;
+ text-align: left;
+ outline: none;
+ font-size: 20px;
+ transition: 0.4s;
+}
+
+.active, .accordion:hover {
+ background-color: #ccc;
+}
+
+.accordion:after {
+ content: '\002B';
+ color: #777;
+ font-weight: bold;
+ float: right;
+ margin-left: 5px;
+}
+
+.active:after {
+ content: "\2212";
+}
+
+.panel {
+ padding: 0 18px;
+ background-color: white;
+ max-height: 0;
+ font-size:14px;
+ overflow: hidden;
+ transition: max-height 0.2s ease-out;
+}
+
+.my-div {
+ padding: 20px;
+ margin: 0 auto;
+ max-width: 100%;
+ text-align: center;
+ font-size: 14px;
+ color: #333;
+}
+
+.flexbox {
+ display:flex;
+ flex-direction:row;
+ align-items:stretch;
+}
+
+.flexbox1 {
+ width:25%;
+ margin:20px auto;
+}
+
+.flexbox1 button {
+ background:white;
+ padding:5px;
+ width:100%;
+ align-items:left;
+ text-align:left;
+ font-weight:bold;
+ border-radius:10px;
+ border:none;
+ margin:10px;
+ cursor: pointer;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.flexbox2 {
+ width:80%;
+ margin:20px auto;
+}
+
+.feed {
+ text-align: center;
+ padding:5px;
+ width:80%;
+ margin:10px auto;
+ line-height:300%;
+ border-radius: 30px;
+ border:solid green;
+ background: rgba(0, 255, 21, 0.3);
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.forminfo-admin {
+ display: flex;
+ flex-direction: column;
+ justify-content: start;
+ align-items: stretch;
+ align-content: stretch;
+ text-align: justify;
+ padding: 10px;
+ margin: 10px auto;
+ width:80%;
+ height: 85vh;
+ font-size: 15px;
+ border-radius: 20px;
+ background: #ffeab0;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+ position: -webkit-sticky;
+ position: sticky;
+ top: 80px;
+}
+
+.flex-container {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: space-around;
+ align-items: center;
+ align-content: center;
+ font-size:1em;
+ padding:30px;
+}
+
+.flex-items:nth-child(1) {
+ display: block;
+ flex-grow: 0;
+ flex-shrink: 1;
+ flex-basis: auto;
+ align-self: auto;
+ order: 0;
+ border: 2px;
+ border-radius: 10px;
+ background: linear-gradient(45deg, rgba(255,153,0,1) 0%, rgba(255,235,0,1) 100%, rgba(0,212,255,1) 100%);
+ color:black;
+ width:20%;
+ padding: 5px;
+ text-align: center;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 50%);
+}
+
+.flex-items:nth-child(2) {
+ display: block;
+ flex-grow: 0;
+ flex-shrink: 1;
+ flex-basis: auto;
+ align-self: auto;
+ order: 0;
+ border: 2px;
+ border-radius: 10px;
+ background: linear-gradient(45deg, rgba(255,153,0,1) 0%, rgba(255,235,0,1) 100%, rgba(0,212,255,1) 100%);
+ color:black;
+ width:20%;
+ padding: 5px;
+ text-align: center;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 50%);
+}
+
+.flex-items:nth-child(3) {
+ display: block;
+ flex-grow: 0;
+ flex-shrink: 1;
+ flex-basis: auto;
+ align-self: auto;
+ order: 0;
+ border: 2px;
+ border-radius: 10px;
+ background: linear-gradient(45deg, rgba(255,153,0,1) 0%, rgba(255,235,0,1) 100%, rgba(0,212,255,1) 100%);
+ color:black;
+ width:25%;
+ padding: 5px;
+ text-align: center;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 50%);
+}
+
+.create {
+ border: none;
+ outline: none;
+ background: var(--white-color);
+ color: var(--dark-color);
+ font-size: 1.1em;
+ font-weight: 500;
+ display: flex;
+ align-items: center;
+ align-content: center;
+ margin: 10px auto;
+ padding: 10px;
+ border-radius: 10px;
+ cursor: pointer;
+ transform: scale(1);
+ transition: transform 0.3s ease-in-out;
+ text-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
+ box-shadow: 0 5px 25px rgb(0 0 0 / 50%);
+}
+
+.but1,
+.but2,
+.but3 {
+ margin:20px;
+ padding:10px;
+ width:100%;
+ text-decoration: none;
+}
+
+.but1:hover {
+ transform: scale(1.1);
+}
+.but2:hover {
+ transform: scale(1.1);
+}
+.but3:hover {
+ transform: scale(1.1);
+}
+.but4:hover {
+ transform: scale(1.1);
+}
+
+.create:hover {
+ transform: scale(1.1);
+ opacity: 1;
+}
+
+.arrow {
+ transform: scale(1.5);
+ transition: transform 0.3s ease-out;
+}
+
+.arrow:hover {
+ transform: scale(2);
+}
+
+.flexsub {
+ display:flex;
+ flex-direction:row;
+ justify-content:space-between;
+ align-items: space-between;
+ font-size:0.8em;
+ padding-left:70px;
+ padding-right:100px;
+}
+
+.navsub1 p {
+ margin:20px;
+ margin-bottom:5px;
+ top:500;
+ padding:5px;
+ text-align:center;
+ width:100%;
+ border-radius:20px;
+ border:solid;
+ border-color:#ffbb00;
+ font-weight:bold;
+ text-decoration: none;
+ opacity:0.7;
+}
+
+.sub1 {
+ margin:20px;
+ margin-bottom:5px;
+ padding:10px;
+ width:100%;
+ border-radius:20px;
+ border:none;
+ font-weight:bold;
+ text-decoration: none;
+ background:#fff9cc;
+ transform: scale(1);
+ transition: transform 0.3s ease-in-out;
+}
+
+.sub1:hover {
+ transform: scale(1.1);
+}
+
+.qres {
+ display:flex;
+ flex-direction:row;
+ padding:20px;
+ margin:10px;
+ border:solid;
+ border-color:#ffbb00;
+ border-radius: 6px;
+}
+.qflex1 {
+ flex-basis:15%;
+}
+.qflex2 {
+ flex-basis:85%;
+}
+
+.response {
+ padding:10px;
+ margin:5px;
+ border-radius:5px;
+ background:#fff9cc;
+}
+
+.progressdiv {
+ width: 20%;
+ height: 100px;
+ border: 1px solid black;
+ border-radius: 5px;
+ background: linear-gradient(to top,#ffbb00 75%,white 50%,white 100%);
+}
+
+
+.flex-container-result {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-around;
+ align-items: center;
+ font-size:0.9em;
+}
+
+.flex-item1-result {
+ border: 2px;
+ border-radius: 10px;
+ background-color: #ff9900;
+ color:black;
+ margin:10px;
+ width:30%;
+ padding: 5px;
+ text-align: justify;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 50%);
+}
+
+.flex-item1-result a {
+ color:black;
+ text-decoration: none;
+}
+
+.flex-item2-result {
+ border: 2px;
+ border-radius: 15px;
+ background-color: #00db21;
+ margin: 20px;
+ padding: 20px;
+ width: 30%;
+ text-align: justify;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 50%);
+}
+
+.flex-item2-result a {
+ color:black;
+ text-decoration: none;
+}
+
+@media screen and (max-width: 768px) {
+ .flex-container-result {
+ flex-direction:column;
+ }
+ .flex-item1-result,
+ .flex-item2-result {
+ width:90%;
+ }
+ .flex-container {
+ flex-direction: column;
+ }
+ .flex-items:nth-child(1),
+ .flex-items:nth-child(2),
+ .flex-items:nth-child(3) {
+ width:80%;
+ }
+
+ .flexbox {
+ flex-direction: column;
+ }
+
+ .flexbox1 {
+ width:90%;
+ margin:10px auto;
+ }
+
+ .flexbox2 {
+ width:100%;
+ margin:10px auto;
+ }
+
+ .forminfo-admin {
+ padding: 10px;
+ margin: 10px auto;
+ margin-bottom:100px;
+ width:100%;
+ height: 100%;
+ font-size: 13px;
+ border-radius: 10px;
+ position:relative;
+ top: 80px;
+ }
+}
+
+.flex-container-previous {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ align-items: center;
+ background: #ffeab0;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+ margin:30px;
+ border-radius:30px;
+}
+
+ .flex-item1-previous {
+ border: 2px;
+ border-radius: 15px;
+ background-color: light-gray;
+ color:black;
+ margin:10px;
+ padding: 20px;
+ text-align: center;
+}
+
+ .flex-item2-previous {
+ border: 2px;
+ border-radius: 15px;
+ background-color: light-gray;
+ color:black;
+ margin: 0px 30px;
+ padding:30px;
+ text-align: center;
+ }
+
+.flex-item1-previous a,
+.flex-item2-previous a {
+ color:black;
+ text-decoration: none;
+}
+
+@media screen and (max-width: 768px) {
+ .flex-item1-previous .flex-item2-previous {
+ flex-basis: 75%;
+ }
+}
+
+/* Media query to adjust the div for smaller screens */
+@media screen and (max-width: 600px) {
+ .my-div {
+ max-width: 100%;
+ padding: 10px;
+ font-size: 14px;
+ }
+}
+
+/* ================== Custom Assessment Form ======================== */
+/*.form-group {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
+ align-items: stretch;
+ align-content: stretch;
+ margin: 20px;
+}
+
+.form-group label {
+ padding:20px;
+ width: auto;
+}
+
+.form-group textarea {
+ padding:20px;
+ width: 70%;
+ margin:30px auto;
+}*/
+.add-btn {
+ margin:20px;
+ width:50px;
+ height:50px;
+ border-radius:50%;
+ background:linear-gradient(45deg, rgba(255,153,0,1) 0%, rgba(255,235,0,1) 100%, rgba(0,212,255,1) 100%);
+ font-size:24px;
+ font-weight:bold;
+ border:none;
+ transform: scale(1);
+}
+.add-btn:hover {
+ transform: scale(1.1);
+}
+
+.sub-btn {
+ margin:20px;
+ padding:10px;
+ background:rgba(0, 255, 0, 0.6);
+ font-size:20px;
+ font-weight:bold;
+ border:none;
+ border-radius: 10px;
+ transform: scale(1);
+}
+.sub-btn:hover {
+ transform: scale(1.1);
+}
+
+.rst-btn {
+ margin:20px;
+ padding:10px;
+ border-radius:10px;
+ background:yellow;
+ font-size:20px;
+ font-weight:bold;
+ border:none;
+ transform: scale(1);
+}
+.rst-btn:hover {
+ transform: scale(1.1);
+}
+
+.rel-btn {
+ margin:20px;
+ padding:10px;
+ border-radius:10px;
+ background: #ffa200;
+ font-size:20px;
+ font-weight:bold;
+ border:none;
+ transform: scale(1);
+}
+.rel-btn:hover {
+ transform: scale(1.1);
+}
+
+.remove-button {
+ padding:10px;
+ background:rgba(255, 0, 0, 0.6);
+ border:solid red;
+ font-weight:bold;
+ border-radius:10px;
+ transform: scale(0.9);
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
+}
+
+.remove-button:hover {
+ transform: scale(1);
+}
+
+#inputContainer select {
+ padding:5px;
+ margin:20px auto;
+ font-size:0.8em;
+ font-weight: 700;
+ text-indent: 5px;
+ max-width:250px;
+ background-color: #ffebb5;
+ border: solid 2px #217093;
+ border-radius: 4px;
+ width: 90%;
+ color: #353538;
+ transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
+}
+
+#inputContainer option {
+ background: white;
+ text-indent: 5px;
+ spacing:20px;
+ font-size:1em;
+ font-weight: 700;
+}
+
+.form-group {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
+ align-items: stretch;
+ align-content: stretch;
+ text-align: justify;
+ margin: 20px auto;
+ border-radius: 30px;
+ padding:20px;
+}
+
+.form-group label {
+ padding:30px;
+ width: auto; /* adjust as needed */
+}
+
+.form-group textarea {
+ padding:10px;
+ width: 80%;
+ margin:10px auto;
+ border-radius:10px;
+}
+
+@media (max-width: 785px) {
+ .form-group {
+ margin:5px;
+ flex-wrap: wrap;
+ }
+
+ label {
+ width: 100%;
+ margin-bottom: 5px;
+ }
+
+ textarea {
+ width: 100%;
+ }
+}
+
+
+.formdiv {
+ padding: 20px;
+ margin: 10px auto;
+ max-width: 100%;
+ font-size: 18px;
+ color: #333;
+}
+
+@media (max-width: 785px) {
+ .formdiv {
+ padding: 20px;
+ margin: 0 auto;
+ font-size: 14px;
+ }
+}
+.forminfo {
+ display: flex;
+ flex-direction: column;
+ justify-content: start;
+ align-items: stretch;
+ align-content: stretch;
+ text-align: justify;
+ padding: 20px;
+ margin:20px;
+ width:30%;
+ height: 80vh;
+ font-size: 14px;
+ border-radius: 20px;
+ background: #ffeab0;
+ position: -webkit-sticky;
+ position: sticky;
+ top: 80px;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.forminfo input {
+ margin:20px auto;
+}
+.forminfo label {
+ padding:10px;
+ margin:10px;
+ width: auto;
+}
+.forminfo textarea {
+ padding:10px;
+ width: 70%;
+ margin:10px auto;
+ margin-top:30px;
+}
+
+.form-ques {
+ width:80%;
+}
+.form-ques label {
+ padding:10px;
+ margin:10px auto;
+ width: auto; /* adjust as needed */
+}
+
+.form-ques textarea {
+ padding:10px;
+ width: 50%;
+ margin:20px auto;
+ padding:10px;
+ border-radius:10px;
+ background: #ffebb5;
+}
+
+.container {
+ display: flex;
+ justify-content: space-around;
+ flex-direction: row;
+ padding:20px;
+ margin:20px;
+}
+
+.namearea {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ justify-content: normal;
+ align-items: center;
+ align-content: stretch;
+}
+
+.labelarea {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ justify-content: normal;
+ align-items: center;
+ align-content: stretch;
+}
+
+
+@media (max-width: 785px) {
+ .forminfo {
+ padding: 10px;
+ margin: 0 auto;
+ font-size: 12px;
+ }
+ .forminfo input {
+ margin:5px auto;
+ }
+ .forminfo label {
+ padding:5px;
+ margin:5px;
+ width: auto;
+ }
+ .forminfo textarea {
+ padding:5px;
+ width: 70%;
+ margin:0px auto;
+ margin-top:15px;
+ }
+ .form-ques {
+ width:90%;
+ margin:5px auto;
+ }
+
+ .forminfo {
+ padding: 10px;
+ margin: 10px auto;
+ margin-bottom:100px;
+ width:100%;
+ height: 100%;
+ font-size: 13px;
+ border-radius: 10px;
+ position:relative;
+ top: 80px;
+ }
+}
+
+.drag {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ border-radius: 10px;
+ border:solid;
+ border-color:#ffbb00;
+ cursor: move;
+ transition: transform 0.2s ease-in-out;
+ background-size: 50% auto;
+ margin:15px auto;
+ padding:5px;
+ position: relative;
+ width:100%;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 10%);
+}
+.drag::before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 30%;
+ height: 100%;
+ background-color: transparent; /* set the color of the transparent portion */
+}
+
+.drag-enter {
+ opacity: 0;
+ transform: translateY(-100%);
+ transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
+}
+
+.drag-leave {
+ opacity: 1;
+ transform: scale(1) translateY(0);
+ transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
+}
+
+.drag-leave.zoom-out {
+ opacity: 0;
+ transform: scale(0.8) translateY(-20px);
+}
+
+.drag:hover {
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
+}
+
+.dragging {
+ opacity: 0.5;
+ transform: scale(1.05);
+}
+@media (max-width: 785px) {
+ .drag {
+ flex-direction: column;
+ }
+}
+
+
+/* ============ Verify Homepage link ======================= */
+
+.homelink {
+ border: none;
+ outline: none;
+ background: var(--white-color);
+ color: var(--dark-color);
+ font-size: 1.1em;
+ font-weight: 500;
+ padding: 8px 25px;
+ display: flex;
+ align-items: center;
+ margin-top: 40px;
+ border-radius: 10px;
+ cursor: pointer;
+ transform: scale(0.8);
+ transition: transform 0.3s ease-in-out;
+}
+
+.homelink:hover {
+ transform: scale(1);
+ opacity: 1;
+}
+
+#success {
+ display:none;
+ text-align: center;
+}
+
+#failure {
+ display:none;
+ text-align: center;
+}
+
+#success-svg{
+ width: 500px;
+ height: 400px;
+ margin: 0 auto;
+ transform: scale(0.8);
+ transition: transform 0.3s ease-in-out;
+}
+
+#success-svg:hover {
+ transform: scale(1);
+ opacity: 1;
+}
+
+svg {
+ width: 100%;
+ height: 100%;
+}
+
+#failure-svg{
+ width: 400px;
+ height: 400px;
+ margin: 0 auto;
+ transform: scale(0.8);
+ transition: transform 0.3s ease-in-out;
+}
+
+#failure-svg:hover {
+ transform: scale(1);
+ opacity: 1;
+}
+
+@media (max-width: 785px) {
+ .homelink {
+ font-size: 1em;
+ }
+}
+
+
+
+/* ================= Error Page ======================= */
+#notfound {
+ display:none;
+ text-align: center;
+ background-color: rgba(255, 0, 0, 0.7);
+ display:flex-center;
+ width:100%;
+ height:auto;
+ margin:auto;
+ max-height:500px;
+ max-width:500px;
+ margin:10px auto;
+ border-radius:50%;
+ text-align:center;
+}
+
+#server {
+ display:none;
+ margin: 10px auto;
+ padding:20px;
+ max-height:400px;
+ max-width:700px;
+ text-align:center;
+}
+
+#server p {
+ font-size: 45px;
+ text-align:center;
+}
+
+@media (max-width: 785px) {
+ #server p {
+ font-size: 24px;
+ text-align:center;
+ }
+}
+
+.checkdetail {
+ border: none;
+ outline: none;
+ background: var(--white-color);
+ color: var(--dark-color);
+ font-size: 1.1em;
+ font-weight: 500;
+ padding: 8px 25px;
+ display: flex;
+ align-items: center;
+ margin-top: 40px;
+ border-radius: 10px;
+ cursor: pointer;
+ transform: scale(0.8);
+ transition: transform 0.3s ease-in-out;
+}
+
+.checkdetail:hover {
+ transform: scale(1);
+ opacity: 1;
+}
+
+
+/* ================ Home Page ====================== */
+.body {
+ width:100%;
+ height:90vh;
+ background-image: url('/static/back-index.svg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center center;
+}
+
+.radio-container {
+ display: flex;
+ flex-direction: column;
+ align-items: left;
+ justify-content: left;
+ padding-left:30%;
+ padding-right:30%;
+ gap: 10px;
+}
+
+.radio-label {
+ border:solid;
+ border-color:#ff9900;
+ padding:10px;
+ display: flex;
+ align-items: center;
+ gap: 5px;
+ border-radius:10px;
+ cursor: pointer;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.radio-input {
+ appearance: none;
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ height: 20px;
+ width: 20px;
+ border-radius: 50%;
+ border: 2px solid #f1c40f;
+ outline: none;
+ cursor: pointer;
+}
+
+@media (max-width: 785px) {
+ .radio-container {
+ padding-left:5%;
+ padding-right:5%;
+ }
+}
+
+.radio-input:checked {
+ background-color: #f1c40f;
+}
+
+.radio-input:focus {
+ box-shadow: 0 0 0 2px #f1c40f;
+}
+
+.radio-label:hover .radio-input {
+ border-color: #f39c12;
+}
+
+.radio-label:hover .radio-input:checked {
+ background-color: #f39c12;
+}
+
+.radio-label:hover .radio-input:focus {
+ box-shadow: 0 0 0 2px #f39c12;
+}
+
+.radio-label:hover .radio-text {
+ color: #f39c12;
+}
+
+.radio-text {
+ font-size: 16px;
+ font-weight: bold;
+ color: #f1c40f;
+}
+
+
+#select-wrapper select {
+ padding:15px;
+ margin:20px auto;
+ font-size:1em;
+ font-weight: 700;
+ text-indent: 5px;
+ width:90%;
+ max-width:450px;
+ background-color: #ffebb5;
+ border: solid 2px #217093;
+ border-radius: 4px;
+ width: 90%;
+ color: #353538;
+ transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
+}
+
+#select-wrapper option {
+ background: white;
+ text-indent: 5px;
+ spacing:20px;
+ font-size:1em;
+ font-weight: 700;
+}
+
+.takecheck {
+ border: none;
+ outline: none;
+ background: var(--white-color);
+ color: var(--dark-color);
+ font-size: 1.1em;
+ font-weight: 500;
+ display: flex;
+ justify-content:center;
+ align-items: center;
+ margin: 10px auto;
+ padding: 20px;
+ border-radius: 10px;
+ cursor: pointer;
+ transform: scale(1);
+ transition: transform 0.3s ease-in-out;
+}
+
+.takecheck:hover {
+ transform: scale(1.1);
+ opacity: 1;
+}
+
+.arrow {
+ display: inline-block;
+ transform: scale(1.5);
+ transition: transform 0.3s ease-out;
+}
+
+.arrow:hover {
+ transform: scale(2);
+}
+
+.check-mark {
+ color: green;
+}
+
+#selector {
+ padding:30px;
+ margin:20px auto;
+}
+
+#startContent {
+ padding:30px;
+ margin:20px auto;
+ font-size:1em;
+}
+
+#startContent p {
+ padding:30px;
+ text-align:justify;
+ text-indent:10%;
+}
+
+#select-wrapper {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ align-content: center;
+ margin: 20px;
+}
+
+@media (max-width: 800px) {
+ #select-wrapper {
+ flex-direction: column;
+ justify-content: space-between;
+ }
+ #startContent {
+ padding:20px;
+ margin:20px auto;
+ font-size:0.8em;
+ }
+ #startContent p {
+ padding:20px;
+ }
+}
+/* =====================Feedback Form ================*/
+.feedback {
+ border: 2px;
+ border-radius: 15px;
+ margin:20px;
+ padding: 20px;
+ text-align: justify;
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ text-shadow: var(--text-shadow);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: var(--box-shadow);
+}
+.feedback h2 {
+ font-size: 36px;
+ color: #222;
+ text-align: center;
+ margin: 50px 0;
+}
+.feedback form {
+ max-width: 600px;
+ margin: 0 auto;
+ padding: 20px;
+ background-color: #fff;
+ border-radius: 10px;
+ box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
+}
+.feedback input[type=text], input[type=email], textarea {
+ width: 100%;
+ padding: 12px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ resize: vertical;
+}
+.feedback label {
+ display: block;
+ margin-bottom: 10px;
+ font-size: 18px;
+ color: #555;
+}
+.feedback button[type=submit] {
+ background-color: #ffcc00;
+ color: #fff;
+ border: none;
+ margin:10px auto;
+ border-radius: 4px;
+ padding: 12px 20px;
+ cursor: pointer;
+ font-size: 18px;
+ margin-top: 20px;
+ transition: background-color 0.2s;
+}
+.feedback button[type=submit]:hover {
+ background-color: #f5b800;
+}
+
+/* ====================== Form Page ==================== */
+.container {
+ display: flex;
+ justify-content: space-around;
+ flex-direction: row;
+ padding:20px;
+ margin:20px;
+}
+
+.forminfo-form {
+ text-align: justify;
+ padding: 10px;
+ margin: 10px auto;
+ width:40%;
+ height: 85vh;
+ font-size: 14px;
+ border-radius: 10px;
+ background: #ffeab0;
+ position: -webkit-sticky;
+ position: sticky;
+ top: 80px;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.forminfo-form input {
+ margin:20px auto;
+}
+.forminfo-form label {
+ padding:10px;
+ margin:10px;
+ width: auto;
+}
+.forminfo-form textarea {
+ padding:10px;
+ width: 70%;
+ margin:0px auto;
+ margin-top:30px;
+}
+
+.formquestions {
+ width:100%;
+}
+
+.assess-group {
+ text-align: justify;
+ margin: 10px;
+ border-radius: 30px;
+ padding:10px;
+ width:100%;
+}
+
+.assess-group label {
+ font-size:0.9rem;
+ padding:20px;
+ width: auto; /* adjust as needed */
+}
+
+.assess-group textarea {
+ background: #fff2cf;
+ padding:5px;
+ width: 80%;
+ height:70px;
+ margin:5px auto;
+ border-radius:6px;
+}
+
+.seperate {
+ margin:20px auto;
+ border-radius: 10px;
+ border:solid;
+ border-color:#ffbb00;
+ padding:10px;
+ display:flex;
+ flex-direction:column;
+ align-items: stretch;
+ text-indent:20px;
+ position: relative;
+ width:90%;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.ribbon {
+ width: 150px;
+ height: 150px;
+ position: absolute;
+ top: 0px;
+ left: 10px;
+ overflow: hidden;
+ font-weight:800;
+}
+
+.ribbon span {
+ position: absolute;
+ width: 50px;
+ height: 50px;
+ background: rgb(255,153,0);
+ background: linear-gradient(90deg, rgba(255,153,0,1) 0%, rgba(255,235,0,1) 100%, rgba(0,212,255,1) 100%);
+ top: 10px;
+ left: 0px;
+ text-align: center;
+ line-height: 50px; /* should be same as heigh */
+ text-indent:-5%;
+ color: #000;
+ border-radius:50%;
+}
+
+
+.submitassess {
+ border: none;
+ outline: none;
+ background: green;
+ color: var(--dark-color);
+ font-size: 1.1em;
+ font-weight: 500;
+ display: flex;
+ align-items: center;
+ margin: 20px auto;
+ padding: 20px;
+ border-radius: 10px;
+ cursor: pointer;
+ transform: scale(0.9);
+ transition: transform 0.3s ease-in-out;
+}
+
+.submitassess:hover {
+ transform: scale(1);
+ opacity: 0.8;
+}
+
+@media (max-width: 785px) {
+ .container {
+ flex-direction:column;
+ padding:5px;
+ margin:5px;
+ }
+
+ .assess-group {
+ margin:5px;
+ padding:5px;
+ flex-wrap: wrap;
+ }
+
+ .seperate {
+ margin:15px auto;
+ border-radius: 10px;
+ padding:10px;
+ text-indent:10px;
+ width:100%;
+ }
+
+ .seperate label {
+ width: 100%;
+ margin-bottom: 5px;
+ font-size:0.9em;
+ }
+
+ .seperate textarea {
+ width: 100%;
+ }
+
+ .forminfo-form {
+ padding: 10px;
+ margin: 10px auto;
+ margin-bottom:100px;
+ width:100%;
+ height: 100%;
+ font-size: 13px;
+ border-radius: 10px;
+ position:relative;
+ top: 80px;
+ }
+}
+
+
+/* ================== Login ================ */
+.log-container {
+ background-image: url('/static/login-back.svg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center center;
+ width:100%;
+}
+/*
+.log-container::before {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: inherit;
+ filter: blur(5px);
+ z-index: -1;
+}*/
+
+.log-form {
+ position: relative;
+ z-index: 1;
+ backdrop-filter: blur(40px);
+ width: 100%;
+ max-width: 500px;
+ margin: 0;
+ padding: 5px;
+ margin:10px auto;
+ box-sizing: border-box;
+ border: solid 1px #DDD;
+ border-radius: 0.5em;
+ font-family: "Source Sans Pro", sans-serif;
+ text-shadow: var(--text-shadow);
+ box-shadow: var(--box-shadow);
+}
+
+@media (max-width: 785px) {
+ .log-form {
+ max-width:350px;
+ }
+ .log-container {
+ background-size: contain;
+ }
+}
+
+.log-form .svgContainer {
+ position: relative;
+ width: 150px;
+ height: 150px;
+ margin: 0 auto 1em;
+ border-radius: 50%;
+ background: none;
+ border: solid 2.5px #3A5E77;
+ overflow: hidden;
+ pointer-events: none;
+}
+
+.log-form .svgContainer div {
+ position: relative;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ padding-bottom: 100%;
+}
+
+.log-form .svgContainer .mySVG {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+.log-form .svgContainer-pass {
+ position: relative;
+ width: 150px;
+ height: 150px;
+ margin: 0 auto 1em;
+ border-radius: 50%;
+ background: none;
+ border: solid 2.5px #3A5E77;
+ overflow: hidden;
+ pointer-events: none;
+}
+
+.log-form .svgContainer-pass div {
+ position: relative;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ padding-bottom: 100%;
+}
+
+.log-form .svgContainer-pass .mySVG {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+.log-form .inputGroup {
+ margin: 0 auto;
+ padding: 0;
+ position: relative;
+}
+
+.log-form .inputGroup:last-of-type {
+ margin-bottom: 0;
+}
+
+.log-form label {
+ margin: 0 0 0px;
+ font-size: 1em;
+ color: black;
+ font-weight: 500;
+ font-family: inherit;
+}
+
+.log-form input[type=email], form input[type=text], form input[type=password] {
+ display: block;
+ margin: 0 auto;
+ padding: 5px;
+ background-color: #ffebb5;
+ border: solid 2px #217093;
+ border-radius: 4px;
+ -webkit-appearance: none;
+ box-sizing: border-box;
+ width: 90%;
+ height: 30px;
+ font-size: 0.8em;
+ color: #353538;
+ font-weight: 500;
+ font-family: inherit;
+ transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
+}
+
+.log-form input[type=email]:focus, form input[type=text]:focus, form input[type=password]:focus {
+ outline: none;
+ box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
+ border: solid 2px #4eb8dd;
+}
+
+.log-form button {
+ cursor:pointer;
+ margin: 20px auto;
+ background-color: #ffc629;
+ border: none;
+ border-radius: 4px;
+ width: 50%;
+ height: 40px;
+ font-size: 1.55em;
+ color: #FFF;
+ font-weight: 600;
+ font-family: inherit;
+ transition: background-color 0.2s ease-out;
+ transform: scale(1);
+ transition: transform 0.3s ease-in-out;
+}
+
+.log-form button:hover {
+ transform: scale(1.1);
+ opacity:0.9;
+}
+
+.log-form select {
+ margin: 0 auto;
+ padding: 10px;
+ background-color: #ffebb5;
+ border: solid 2px #217093;
+ border-radius: 4px;
+ box-sizing: border-box;
+ width: 90%;
+ height: 40px;
+ font-size: 0.9em;
+ color: #353538;
+ font-weight: 500;
+ font-family: inherit;
+ transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
+}
+
+
+
+/* ================== Register ================ */
+.reg-container {
+ background-image: url('/static/login-back.svg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center center;
+ width:100%;
+}
+/*
+.log-container::before {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: inherit;
+ filter: blur(5px);
+ z-index: -1;
+}*/
+
+.reg-form {
+ position: relative;
+ z-index: 1;
+ backdrop-filter: blur(40px);
+ width: 100%;
+ max-width: 500px;
+ margin: 0;
+ padding: 2.25em;
+ margin:20px auto;
+ box-sizing: border-box;
+ border: solid 1px #DDD;
+ border-radius: 0.5em;
+ font-family: "Source Sans Pro", sans-serif;
+}
+
+@media (max-width: 785px) {
+ .reg-form {
+ max-width:350px;
+ }
+ .reg-container {
+ background-size: contain;
+ }
+}
+
+.reg-form .svgContainer {
+ position: relative;
+ width: 150px;
+ height: 150px;
+ margin: 0 auto 1em;
+ border-radius: 50%;
+ background: none;
+ border: solid 2.5px #3A5E77;
+ overflow: hidden;
+ pointer-events: none;
+}
+
+.reg-form .svgContainer div {
+ position: relative;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ padding-bottom: 100%;
+}
+
+.reg-form .svgContainer .mySVG {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+.reg-form .inputGroup {
+ margin: 0 0 2em;
+ padding: 0;
+ position: relative;
+}
+
+.reg-form .inputGroup:last-of-type {
+ margin-bottom: 0;
+}
+
+.reg-form label {
+ margin: 0 0 0px;
+ font-size: 1em;
+ color: black;
+ font-weight: 500;
+ font-family: inherit;
+}
+
+.reg-form input[type=email], form input[type=text], form input[type=password] {
+ display: block;
+ margin: 0 auto;
+ padding: 5px;
+ background-color: #ffebb5;
+ border: solid 2px #217093;
+ border-radius: 4px;
+ -webkit-appearance: none;
+ box-sizing: border-box;
+ width: 90%;
+ height: 30px;
+ font-size: 1.1em;
+ color: #353538;
+ font-weight: 500;
+ font-family: inherit;
+ transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
+}
+
+.reg-form input[type=email]:focus, form input[type=text]:focus, form input[type=password]:focus {
+ outline: none;
+ box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
+ border: solid 2px #4eb8dd;
+}
+
+.reg-form input[type=email], form input[type=text] {
+/* padding: 14px 1em 0px;*/
+}
+
+.reg-form button {
+ cursor:pointer;
+ margin: 0 auto;
+ padding: px;
+ background-color: #ffc629;
+ border: none;
+ border-radius: 4px;
+ width: 50%;
+ height: 40px;
+ font-size: 1.55em;
+ color: #FFF;
+ font-weight: 600;
+ font-family: inherit;
+ transition: background-color 0.2s ease-out;
+ transform: scale(1);
+ transition: transform 0.3s ease-in-out;
+}
+
+.reg-form button:hover {
+ transform: scale(1.1);
+ opacity:0.9;
+}
+
+.reg-form select {
+ margin: 0 auto;
+ padding: 10px;
+ background-color: #ffebb5;
+ border: solid 2px #217093;
+ border-radius: 4px;
+ box-sizing: border-box;
+ width: 90%;
+ height: 40px;
+ font-size: 0.9em;
+ color: #353538;
+ font-weight: 500;
+ font-family: inherit;
+ transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
+}
+
+/* ================== Result Page =================== */
+.domains {
+ padding:20px;
+ margin:10px;
+ display:flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+}
+
+.each-domain {
+ width:45%;
+ padding:20px;
+ margin:20px auto;
+ background: #FFA733;
+ background: linear-gradient(to top right, #FFA733 0%, #ffc370 100%);
+ border:none;
+ border-radius:15px;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.each-domain .name{
+ font-size:1.5em;
+ font-weight:bold;
+ text-align:center;
+ margin:10px;
+}
+
+.each-domain .description{
+ text-align:justify;
+ font-size:1em;
+}
+
+.each-domain .average-score{
+ background: white;
+ margin:10px auto;
+ width:90%;
+ border-radius: 15px;x
+ line-height:200%;
+ font-size:2em;
+ font-weight:900;
+ text-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
+}
+
+.each-domain .suggestions-text{
+ font-size:1em;
+ line-height: 200%;
+}
+
+@media (max-width: 785px) {
+ .domains {
+ font-size:1em;
+ padding:10px;
+ margin:5px;
+ flex-direction: column;
+ flex-wrap: wrap;
+ }
+ .each-domain {
+ width:90%;
+ padding:10px;
+ margin:10px auto;
+ }
+ .each-domain .name{
+ font-size:0.9em;
+ }
+ .each-domain .average-score{
+ font-size:1.5em;
+ }
+ .each-domain .description{
+ font-size:0.8em;
+ }
+ .each-domain .suggestions-text{
+ font-size: 0.8em;
+ }
+}
+
+.flexContainer {
+ display:flex;
+ flex-direction:row;
+ align-items:stretch;
+}
+
+.flex1 {
+ width:30%;
+ margin:20px auto;
+}
+
+.flex2 {
+ width:70%;
+ margin:20px auto;
+}
+
+.forminfo-result {
+ display: flex;
+ flex-direction: column;
+ justify-content: start;
+ align-items: stretch;
+ align-content: stretch;
+ text-align: justify;
+ padding: 10px;
+ margin: 10px auto;
+ width:80%;
+ height: 85vh;
+ font-size: 0.9em;;
+ border-radius: 20px;
+ background: #ffeab0;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+ position: -webkit-sticky;
+ position: sticky;
+ top: 80px;
+}
+
+.chart {
+ padding:10px;
+ margin:20px auto;
+ width:95%;
+ border-radius:20px;
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.text-content1 {
+ padding:20px;
+ margin:20px auto;
+ text-indent:10%;
+}
+
+.text-content-congo {
+ text-align: center;
+ padding:5px;
+ width:80%;
+ margin:10px auto;
+ line-height:300%;
+ border-radius: 30px;
+ border:solid green;
+ background: rgba(0, 255, 21, 0.3);
+ box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
+}
+
+.text-content-end {
+ border: 2px;
+ border-radius: 15px;
+ margin:20px;
+ padding: 20px;
+ text-align: center;
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ text-shadow: var(--text-shadow);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: var(--box-shadow);
+}
+
+.happy-score{
+ border:solid green;
+ background: rgba(0, 255, 21, 0.3);
+ margin:10px auto;
+ width:60%;
+ line-height:200%;
+ border-radius: 15px;
+ text-align:center;
+ font-size:2.5em;
+ font-weight:900;
+ text-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
+}
+
+.caption {
+ position: relative;
+ width: 100%;
+ text-align: center;
+ padding: 10px;
+ margin: 0;
+}
+
+@media (max-width: 785px) {
+ .flexContainer {
+ flex-direction: column;
+ }
+
+ .flex1 {
+ width:90%;
+ margin:10px auto;
+ }
+
+ .flex2 {
+ width:100%;
+ margin:10px auto;
+ }
+
+ .forminfo-result {
+ padding: 10px;
+ margin: 10px auto;
+ margin-bottom:100px;
+ width:100%;
+ height: 100%;
+ font-size: 13px;
+ border-radius: 10px;
+ position:relative;
+ top: 80px;
+ }
+}
+
+/* =============== Forgot Password ==============*/
+.forgot1 {
+ width:50%;
+ margin:20px auto;
+ padding:20px;
+ align-content:center;
+ border:solid;
+ border-color:#ffbb00;
+}
+
+.verify {
+ padding:10px;
+ margin:10px auto;
+ align-content:center;
+ text-align:center;
+ font-weight:bold;
+ background:lightblue;
+ border:none;
+ border-radius:10px;
+ transform: scale(1);
+ transition: transform 0.3s ease-in-out;
+}
+
+.verify:hover {
+ transform: scale(1.1);
+}
+
+
+#success-svg-pass{
+ width: 500px;
+ height: 400px;
+ margin: 0 auto;
+ transform: scale(0.8);
+ transition: transform 0.3s ease-in-out;
+}
+
+#success-svg-pass:hover {
+ transform: scale(1);
+ opacity: 1;
+}
+
+#failure-svg-pass{
+ width: 400px;
+ height: 400px;
+ margin: 0 auto;
+ transform: scale(0.8);
+ transition: transform 0.3s ease-in-out;
+}
+
+#failure-svg-pass:hover {
+ transform: scale(1);
+ opacity: 1;
+}
+
+.verify-pass {
+ width:40%;
+ padding:20px;
+ margin:20px auto;
+ align-content:center;
+ border:solid;
+ border-color:#ffbb00;
+}
\ No newline at end of file
diff --git a/static/css/swiper-bundle.min.css b/static/css/swiper-bundle.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..bad5dabf0d2892c8dccee3784c661d9aa05ed01b
--- /dev/null
+++ b/static/css/swiper-bundle.min.css
@@ -0,0 +1,13 @@
+/**
+ * Swiper 7.4.1
+ * Most modern mobile touch slider and framework with hardware accelerated transitions
+ * https://swiperjs.com
+ *
+ * Copyright 2014-2021 Vladimir Kharlampidi
+ *
+ * Released under the MIT License
+ *
+ * Released on: December 24, 2021
+ */
+
+@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:50%;background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-next+.swiper-slide,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}
\ No newline at end of file
diff --git a/static/email.html b/static/email.html
new file mode 100644
index 0000000000000000000000000000000000000000..f35d5a23ebb1eef6fe4fb7d2a6749e09999b31e4
--- /dev/null
+++ b/static/email.html
@@ -0,0 +1,443 @@
+
+
+
+
+
+
+
+
+
+
+
+ Smile
+
+
+
+
+
+
+
+
+ SmileCheck 😄
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ What's new this week?
+
+
+
+
+
+
+
+
+
+
Hey ,
+
This is Email Verification by SmileCheck. We are so excited that you are joining us in this journey. Please go to the below link to verify:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/error2.png b/static/error2.png
new file mode 100644
index 0000000000000000000000000000000000000000..953e4c4a0fad4cb100544cc6f719557a517329cb
Binary files /dev/null and b/static/error2.png differ
diff --git a/static/error2.svg b/static/error2.svg
new file mode 100644
index 0000000000000000000000000000000000000000..d1fae554e473ae4887dd2f0ac947d80290520d6d
--- /dev/null
+++ b/static/error2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/eye.png b/static/eye.png
new file mode 100644
index 0000000000000000000000000000000000000000..f5328b0051e9fd78606c5fcd97c3945af338d8d0
Binary files /dev/null and b/static/eye.png differ
diff --git a/static/favicon.png b/static/favicon.png
new file mode 100644
index 0000000000000000000000000000000000000000..bbe09661a4b13a9c7926674293e4d95d865119a9
Binary files /dev/null and b/static/favicon.png differ
diff --git a/static/feature-back.svg b/static/feature-back.svg
new file mode 100644
index 0000000000000000000000000000000000000000..58889c519ef3c4edbd6f3b101d8a83ab60682470
--- /dev/null
+++ b/static/feature-back.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/footer.png b/static/footer.png
new file mode 100644
index 0000000000000000000000000000000000000000..6058fe0c94d3ff3e9a5a18ebc18f6da6c4409a64
Binary files /dev/null and b/static/footer.png differ
diff --git a/static/footer.svg b/static/footer.svg
new file mode 100644
index 0000000000000000000000000000000000000000..28b4b5dcb819c9ce7e3a78b1853df37a828424d2
--- /dev/null
+++ b/static/footer.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/index-back.svg b/static/index-back.svg
new file mode 100644
index 0000000000000000000000000000000000000000..031a40ee78d8f136e5b8e1989309da337f5c0fa4
--- /dev/null
+++ b/static/index-back.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/index-backed.svg b/static/index-backed.svg
new file mode 100644
index 0000000000000000000000000000000000000000..07f4cff60fb5462abff7eb55bac803fb14d1a735
--- /dev/null
+++ b/static/index-backed.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/js/main.js b/static/js/main.js
new file mode 100644
index 0000000000000000000000000000000000000000..0d47418dc6a47717a5033c7eb8f76892041719d7
--- /dev/null
+++ b/static/js/main.js
@@ -0,0 +1,84 @@
+//Swiper slider
+var swiper = new Swiper(".bg-slider-thumbs", {
+ loop: true,
+ spaceBetween: 0,
+ slidesPerView: 0,
+});
+var swiper2 = new Swiper(".bg-slider", {
+ loop: true,
+ spaceBetween: 0,
+ thumbs: {
+ swiper: swiper,
+ },
+});
+
+//Navigation bar effects on scroll
+window.addEventListener("scroll", function(){
+ const header = document.querySelector("header");
+ header.classList.toggle("sticky", window.scrollY > 0);
+});
+
+//Responsive navigation menu toggle
+const menuBtn = document.querySelector(".nav-menu-btn");
+const closeBtn = document.querySelector(".nav-close-btn");
+const navigation = document.querySelector(".navigation");
+
+menuBtn.addEventListener("click", () => {
+ navigation.classList.add("active");
+});
+
+closeBtn.addEventListener("click", () => {
+ navigation.classList.remove("active");
+});
+
+//Transition Jump anchor links
+var jumpLink1 = document.getElementById("jump-link1");
+
+jumpLink1.addEventListener("click", function(e) {
+ e.preventDefault();
+ var target = document.querySelector(this.getAttribute("href"));
+ var targetOffset = target.offsetTop;
+ window.scrollTo({top: targetOffset, behavior: "smooth"});
+});
+
+var jumpLink2 = document.getElementById("jump-link2");
+
+jumpLink2.addEventListener("click", function(e) {
+ e.preventDefault();
+ var target = document.querySelector(this.getAttribute("href"));
+ var targetOffset = target.offsetTop;
+ window.scrollTo({top: targetOffset, behavior: "smooth"});
+});
+
+var jumpLink3 = document.getElementById("jump-link3");
+
+jumpLink3.addEventListener("click", function(e) {
+ e.preventDefault();
+ var target = document.querySelector(this.getAttribute("href"));
+ var targetOffset = target.offsetTop;
+ window.scrollTo({top: targetOffset, behavior: "smooth"});
+});
+
+var jumpLink4 = document.getElementById("jump-link4");
+
+jumpLink4.addEventListener("click", function(e) {
+ e.preventDefault();
+ var target = document.querySelector(this.getAttribute("href"));
+ var targetOffset = target.offsetTop;
+ window.scrollTo({top: targetOffset, behavior: "smooth"});
+});
+
+var inpt = document.getElementById("email-inpt");
+
+inpt.addEventListener("focus", function() {
+ document.getElementById("contain-pass").style.display = "none";
+ document.getElementById("contain-mail").style.display = "block";
+});
+
+var pass = document.getElementById("pass-inpt");
+
+pass.addEventListener("focus", function() {
+ document.getElementById("contain-pass").style.display = "block";
+ document.getElementById("contain-mail").style.display = "none";
+});
+
diff --git a/static/js/swiper-bundle.min.js b/static/js/swiper-bundle.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..c4bafcc529bb268d1e4b3a3e7c1013db69bdcd35
--- /dev/null
+++ b/static/js/swiper-bundle.min.js
@@ -0,0 +1,14 @@
+/**
+ * Swiper 7.4.1
+ * Most modern mobile touch slider and framework with hardware accelerated transitions
+ * https://swiperjs.com
+ *
+ * Copyright 2014-2021 Vladimir Kharlampidi
+ *
+ * Released under the MIT License
+ *
+ * Released on: December 24, 2021
+ */
+
+!function (e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).Swiper = t() }(this, (function () { "use strict"; function e(e) { return null !== e && "object" == typeof e && "constructor" in e && e.constructor === Object } function t(s = {}, a = {}) { Object.keys(a).forEach((i => { void 0 === s[i] ? s[i] = a[i] : e(a[i]) && e(s[i]) && Object.keys(a[i]).length > 0 && t(s[i], a[i]) })) } const s = { body: {}, addEventListener() { }, removeEventListener() { }, activeElement: { blur() { }, nodeName: "" }, querySelector: () => null, querySelectorAll: () => [], getElementById: () => null, createEvent: () => ({ initEvent() { } }), createElement: () => ({ children: [], childNodes: [], style: {}, setAttribute() { }, getElementsByTagName: () => [] }), createElementNS: () => ({}), importNode: () => null, location: { hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: "" } }; function a() { const e = "undefined" != typeof document ? document : {}; return t(e, s), e } const i = { document: s, navigator: { userAgent: "" }, location: { hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: "" }, history: { replaceState() { }, pushState() { }, go() { }, back() { } }, CustomEvent: function () { return this }, addEventListener() { }, removeEventListener() { }, getComputedStyle: () => ({ getPropertyValue: () => "" }), Image() { }, Date() { }, screen: {}, setTimeout() { }, clearTimeout() { }, matchMedia: () => ({}), requestAnimationFrame: e => "undefined" == typeof setTimeout ? (e(), null) : setTimeout(e, 0), cancelAnimationFrame(e) { "undefined" != typeof setTimeout && clearTimeout(e) } }; function r() { const e = "undefined" != typeof window ? window : {}; return t(e, i), e } class n extends Array { constructor(e) { super(...e || []), function (e) { const t = e.__proto__; Object.defineProperty(e, "__proto__", { get: () => t, set(e) { t.__proto__ = e } }) }(this) } } function l(e = []) { const t = []; return e.forEach((e => { Array.isArray(e) ? t.push(...l(e)) : t.push(e) })), t } function o(e, t) { return Array.prototype.filter.call(e, t) } function d(e, t) { const s = r(), i = a(); let l = []; if (!t && e instanceof n) return e; if (!e) return new n(l); if ("string" == typeof e) { const s = e.trim(); if (s.indexOf("<") >= 0 && s.indexOf(">") >= 0) { let e = "div"; 0 === s.indexOf(" e.split(" ")))); return this.forEach((e => { e.classList.add(...t) })), this }, removeClass: function (...e) { const t = l(e.map((e => e.split(" ")))); return this.forEach((e => { e.classList.remove(...t) })), this }, hasClass: function (...e) { const t = l(e.map((e => e.split(" ")))); return o(this, (e => t.filter((t => e.classList.contains(t))).length > 0)).length > 0 }, toggleClass: function (...e) { const t = l(e.map((e => e.split(" ")))); this.forEach((e => { t.forEach((t => { e.classList.toggle(t) })) })) }, attr: function (e, t) { if (1 === arguments.length && "string" == typeof e) return this[0] ? this[0].getAttribute(e) : void 0; for (let s = 0; s < this.length; s += 1)if (2 === arguments.length) this[s].setAttribute(e, t); else for (const t in e) this[s][t] = e[t], this[s].setAttribute(t, e[t]); return this }, removeAttr: function (e) { for (let t = 0; t < this.length; t += 1)this[t].removeAttribute(e); return this }, transform: function (e) { for (let t = 0; t < this.length; t += 1)this[t].style.transform = e; return this }, transition: function (e) { for (let t = 0; t < this.length; t += 1)this[t].style.transitionDuration = "string" != typeof e ? `${e}ms` : e; return this }, on: function (...e) { let [t, s, a, i] = e; function r(e) { const t = e.target; if (!t) return; const i = e.target.dom7EventData || []; if (i.indexOf(e) < 0 && i.unshift(e), d(t).is(s)) a.apply(t, i); else { const e = d(t).parents(); for (let t = 0; t < e.length; t += 1)d(e[t]).is(s) && a.apply(e[t], i) } } function n(e) { const t = e && e.target && e.target.dom7EventData || []; t.indexOf(e) < 0 && t.unshift(e), a.apply(this, t) } "function" == typeof e[1] && ([t, a, i] = e, s = void 0), i || (i = !1); const l = t.split(" "); let o; for (let e = 0; e < this.length; e += 1) { const t = this[e]; if (s) for (o = 0; o < l.length; o += 1) { const e = l[o]; t.dom7LiveListeners || (t.dom7LiveListeners = {}), t.dom7LiveListeners[e] || (t.dom7LiveListeners[e] = []), t.dom7LiveListeners[e].push({ listener: a, proxyListener: r }), t.addEventListener(e, r, i) } else for (o = 0; o < l.length; o += 1) { const e = l[o]; t.dom7Listeners || (t.dom7Listeners = {}), t.dom7Listeners[e] || (t.dom7Listeners[e] = []), t.dom7Listeners[e].push({ listener: a, proxyListener: n }), t.addEventListener(e, n, i) } } return this }, off: function (...e) { let [t, s, a, i] = e; "function" == typeof e[1] && ([t, a, i] = e, s = void 0), i || (i = !1); const r = t.split(" "); for (let e = 0; e < r.length; e += 1) { const t = r[e]; for (let e = 0; e < this.length; e += 1) { const r = this[e]; let n; if (!s && r.dom7Listeners ? n = r.dom7Listeners[t] : s && r.dom7LiveListeners && (n = r.dom7LiveListeners[t]), n && n.length) for (let e = n.length - 1; e >= 0; e -= 1) { const s = n[e]; a && s.listener === a || a && s.listener && s.listener.dom7proxy && s.listener.dom7proxy === a ? (r.removeEventListener(t, s.proxyListener, i), n.splice(e, 1)) : a || (r.removeEventListener(t, s.proxyListener, i), n.splice(e, 1)) } } } return this }, trigger: function (...e) { const t = r(), s = e[0].split(" "), a = e[1]; for (let i = 0; i < s.length; i += 1) { const r = s[i]; for (let s = 0; s < this.length; s += 1) { const i = this[s]; if (t.CustomEvent) { const s = new t.CustomEvent(r, { detail: a, bubbles: !0, cancelable: !0 }); i.dom7EventData = e.filter(((e, t) => t > 0)), i.dispatchEvent(s), i.dom7EventData = [], delete i.dom7EventData } } } return this }, transitionEnd: function (e) { const t = this; return e && t.on("transitionend", (function s(a) { a.target === this && (e.call(this, a), t.off("transitionend", s)) })), this }, outerWidth: function (e) { if (this.length > 0) { if (e) { const e = this.styles(); return this[0].offsetWidth + parseFloat(e.getPropertyValue("margin-right")) + parseFloat(e.getPropertyValue("margin-left")) } return this[0].offsetWidth } return null }, outerHeight: function (e) { if (this.length > 0) { if (e) { const e = this.styles(); return this[0].offsetHeight + parseFloat(e.getPropertyValue("margin-top")) + parseFloat(e.getPropertyValue("margin-bottom")) } return this[0].offsetHeight } return null }, styles: function () { const e = r(); return this[0] ? e.getComputedStyle(this[0], null) : {} }, offset: function () { if (this.length > 0) { const e = r(), t = a(), s = this[0], i = s.getBoundingClientRect(), n = t.body, l = s.clientTop || n.clientTop || 0, o = s.clientLeft || n.clientLeft || 0, d = s === e ? e.scrollY : s.scrollTop, p = s === e ? e.scrollX : s.scrollLeft; return { top: i.top + d - l, left: i.left + p - o } } return null }, css: function (e, t) { const s = r(); let a; if (1 === arguments.length) { if ("string" != typeof e) { for (a = 0; a < this.length; a += 1)for (const t in e) this[a].style[t] = e[t]; return this } if (this[0]) return s.getComputedStyle(this[0], null).getPropertyValue(e) } if (2 === arguments.length && "string" == typeof e) { for (a = 0; a < this.length; a += 1)this[a].style[e] = t; return this } return this }, each: function (e) { return e ? (this.forEach(((t, s) => { e.apply(t, [t, s]) })), this) : this }, html: function (e) { if (void 0 === e) return this[0] ? this[0].innerHTML : null; for (let t = 0; t < this.length; t += 1)this[t].innerHTML = e; return this }, text: function (e) { if (void 0 === e) return this[0] ? this[0].textContent.trim() : null; for (let t = 0; t < this.length; t += 1)this[t].textContent = e; return this }, is: function (e) { const t = r(), s = a(), i = this[0]; let l, o; if (!i || void 0 === e) return !1; if ("string" == typeof e) { if (i.matches) return i.matches(e); if (i.webkitMatchesSelector) return i.webkitMatchesSelector(e); if (i.msMatchesSelector) return i.msMatchesSelector(e); for (l = d(e), o = 0; o < l.length; o += 1)if (l[o] === i) return !0; return !1 } if (e === s) return i === s; if (e === t) return i === t; if (e.nodeType || e instanceof n) { for (l = e.nodeType ? [e] : e, o = 0; o < l.length; o += 1)if (l[o] === i) return !0; return !1 } return !1 }, index: function () { let e, t = this[0]; if (t) { for (e = 0; null !== (t = t.previousSibling);)1 === t.nodeType && (e += 1); return e } }, eq: function (e) { if (void 0 === e) return this; const t = this.length; if (e > t - 1) return d([]); if (e < 0) { const s = t + e; return d(s < 0 ? [] : [this[s]]) } return d([this[e]]) }, append: function (...e) { let t; const s = a(); for (let a = 0; a < e.length; a += 1) { t = e[a]; for (let e = 0; e < this.length; e += 1)if ("string" == typeof t) { const a = s.createElement("div"); for (a.innerHTML = t; a.firstChild;)this[e].appendChild(a.firstChild) } else if (t instanceof n) for (let s = 0; s < t.length; s += 1)this[e].appendChild(t[s]); else this[e].appendChild(t) } return this }, prepend: function (e) { const t = a(); let s, i; for (s = 0; s < this.length; s += 1)if ("string" == typeof e) { const a = t.createElement("div"); for (a.innerHTML = e, i = a.childNodes.length - 1; i >= 0; i -= 1)this[s].insertBefore(a.childNodes[i], this[s].childNodes[0]) } else if (e instanceof n) for (i = 0; i < e.length; i += 1)this[s].insertBefore(e[i], this[s].childNodes[0]); else this[s].insertBefore(e, this[s].childNodes[0]); return this }, next: function (e) { return this.length > 0 ? e ? this[0].nextElementSibling && d(this[0].nextElementSibling).is(e) ? d([this[0].nextElementSibling]) : d([]) : this[0].nextElementSibling ? d([this[0].nextElementSibling]) : d([]) : d([]) }, nextAll: function (e) { const t = []; let s = this[0]; if (!s) return d([]); for (; s.nextElementSibling;) { const a = s.nextElementSibling; e ? d(a).is(e) && t.push(a) : t.push(a), s = a } return d(t) }, prev: function (e) { if (this.length > 0) { const t = this[0]; return e ? t.previousElementSibling && d(t.previousElementSibling).is(e) ? d([t.previousElementSibling]) : d([]) : t.previousElementSibling ? d([t.previousElementSibling]) : d([]) } return d([]) }, prevAll: function (e) { const t = []; let s = this[0]; if (!s) return d([]); for (; s.previousElementSibling;) { const a = s.previousElementSibling; e ? d(a).is(e) && t.push(a) : t.push(a), s = a } return d(t) }, parent: function (e) { const t = []; for (let s = 0; s < this.length; s += 1)null !== this[s].parentNode && (e ? d(this[s].parentNode).is(e) && t.push(this[s].parentNode) : t.push(this[s].parentNode)); return d(t) }, parents: function (e) { const t = []; for (let s = 0; s < this.length; s += 1) { let a = this[s].parentNode; for (; a;)e ? d(a).is(e) && t.push(a) : t.push(a), a = a.parentNode } return d(t) }, closest: function (e) { let t = this; return void 0 === e ? d([]) : (t.is(e) || (t = t.parents(e).eq(0)), t) }, find: function (e) { const t = []; for (let s = 0; s < this.length; s += 1) { const a = this[s].querySelectorAll(e); for (let e = 0; e < a.length; e += 1)t.push(a[e]) } return d(t) }, children: function (e) { const t = []; for (let s = 0; s < this.length; s += 1) { const a = this[s].children; for (let s = 0; s < a.length; s += 1)e && !d(a[s]).is(e) || t.push(a[s]) } return d(t) }, filter: function (e) { return d(o(this, e)) }, remove: function () { for (let e = 0; e < this.length; e += 1)this[e].parentNode && this[e].parentNode.removeChild(this[e]); return this } }; function c(e, t = 0) { return setTimeout(e, t) } function u() { return Date.now() } function h(e, t = "x") { const s = r(); let a, i, n; const l = function (e) { const t = r(); let s; return t.getComputedStyle && (s = t.getComputedStyle(e, null)), !s && e.currentStyle && (s = e.currentStyle), s || (s = e.style), s }(e); return s.WebKitCSSMatrix ? (i = l.transform || l.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((e => e.replace(",", "."))).join(", ")), n = new s.WebKitCSSMatrix("none" === i ? "" : i)) : (n = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), a = n.toString().split(",")), "x" === t && (i = s.WebKitCSSMatrix ? n.m41 : 16 === a.length ? parseFloat(a[12]) : parseFloat(a[4])), "y" === t && (i = s.WebKitCSSMatrix ? n.m42 : 16 === a.length ? parseFloat(a[13]) : parseFloat(a[5])), i || 0 } function m(e) { return "object" == typeof e && null !== e && e.constructor && "Object" === Object.prototype.toString.call(e).slice(8, -1) } function f(...e) { const t = Object(e[0]), s = ["__proto__", "constructor", "prototype"]; for (let i = 1; i < e.length; i += 1) { const r = e[i]; if (null != r && (a = r, !("undefined" != typeof window && void 0 !== window.HTMLElement ? a instanceof HTMLElement : a && (1 === a.nodeType || 11 === a.nodeType)))) { const e = Object.keys(Object(r)).filter((e => s.indexOf(e) < 0)); for (let s = 0, a = e.length; s < a; s += 1) { const a = e[s], i = Object.getOwnPropertyDescriptor(r, a); void 0 !== i && i.enumerable && (m(t[a]) && m(r[a]) ? r[a].__swiper__ ? t[a] = r[a] : f(t[a], r[a]) : !m(t[a]) && m(r[a]) ? (t[a] = {}, r[a].__swiper__ ? t[a] = r[a] : f(t[a], r[a])) : t[a] = r[a]) } } } var a; return t } function g(e, t, s) { e.style.setProperty(t, s) } function v({ swiper: e, targetPosition: t, side: s }) { const a = r(), i = -e.translate; let n, l = null; const o = e.params.speed; e.wrapperEl.style.scrollSnapType = "none", a.cancelAnimationFrame(e.cssModeFrameID); const d = t > i ? "next" : "prev", p = (e, t) => "next" === d && e >= t || "prev" === d && e <= t, c = () => { n = (new Date).getTime(), null === l && (l = n); const r = Math.max(Math.min((n - l) / o, 1), 0), d = .5 - Math.cos(r * Math.PI) / 2; let u = i + d * (t - i); if (p(u, t) && (u = t), e.wrapperEl.scrollTo({ [s]: u }), p(u, t)) return e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout((() => { e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({ [s]: u }) })), void a.cancelAnimationFrame(e.cssModeFrameID); e.cssModeFrameID = a.requestAnimationFrame(c) }; c() } let w, b, x; function y() { return w || (w = function () { const e = r(), t = a(); return { smoothScroll: t.documentElement && "scrollBehavior" in t.documentElement.style, touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch), passiveListener: function () { let t = !1; try { const s = Object.defineProperty({}, "passive", { get() { t = !0 } }); e.addEventListener("testPassiveListener", null, s) } catch (e) { } return t }(), gestures: "ongesturestart" in e } }()), w } function E(e = {}) { return b || (b = function ({ userAgent: e } = {}) { const t = y(), s = r(), a = s.navigator.platform, i = e || s.navigator.userAgent, n = { ios: !1, android: !1 }, l = s.screen.width, o = s.screen.height, d = i.match(/(Android);?[\s\/]+([\d.]+)?/); let p = i.match(/(iPad).*OS\s([\d_]+)/); const c = i.match(/(iPod)(.*OS\s([\d_]+))?/), u = !p && i.match(/(iPhone\sOS|iOS)\s([\d_]+)/), h = "Win32" === a; let m = "MacIntel" === a; return !p && m && t.touch && ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"].indexOf(`${l}x${o}`) >= 0 && (p = i.match(/(Version)\/([\d.]+)/), p || (p = [0, 1, "13_0_0"]), m = !1), d && !h && (n.os = "android", n.android = !0), (p || u || c) && (n.os = "ios", n.ios = !0), n }(e)), b } function T() { return x || (x = function () { const e = r(); return { isSafari: function () { const t = e.navigator.userAgent.toLowerCase(); return t.indexOf("safari") >= 0 && t.indexOf("chrome") < 0 && t.indexOf("android") < 0 }(), isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent) } }()), x } Object.keys(p).forEach((e => { Object.defineProperty(d.fn, e, { value: p[e], writable: !0 }) })); var C = { on(e, t, s) { const a = this; if ("function" != typeof t) return a; const i = s ? "unshift" : "push"; return e.split(" ").forEach((e => { a.eventsListeners[e] || (a.eventsListeners[e] = []), a.eventsListeners[e][i](t) })), a }, once(e, t, s) { const a = this; if ("function" != typeof t) return a; function i(...s) { a.off(e, i), i.__emitterProxy && delete i.__emitterProxy, t.apply(a, s) } return i.__emitterProxy = t, a.on(e, i, s) }, onAny(e, t) { const s = this; if ("function" != typeof e) return s; const a = t ? "unshift" : "push"; return s.eventsAnyListeners.indexOf(e) < 0 && s.eventsAnyListeners[a](e), s }, offAny(e) { const t = this; if (!t.eventsAnyListeners) return t; const s = t.eventsAnyListeners.indexOf(e); return s >= 0 && t.eventsAnyListeners.splice(s, 1), t }, off(e, t) { const s = this; return s.eventsListeners ? (e.split(" ").forEach((e => { void 0 === t ? s.eventsListeners[e] = [] : s.eventsListeners[e] && s.eventsListeners[e].forEach(((a, i) => { (a === t || a.__emitterProxy && a.__emitterProxy === t) && s.eventsListeners[e].splice(i, 1) })) })), s) : s }, emit(...e) { const t = this; if (!t.eventsListeners) return t; let s, a, i; "string" == typeof e[0] || Array.isArray(e[0]) ? (s = e[0], a = e.slice(1, e.length), i = t) : (s = e[0].events, a = e[0].data, i = e[0].context || t), a.unshift(i); return (Array.isArray(s) ? s : s.split(" ")).forEach((e => { t.eventsAnyListeners && t.eventsAnyListeners.length && t.eventsAnyListeners.forEach((t => { t.apply(i, [e, ...a]) })), t.eventsListeners && t.eventsListeners[e] && t.eventsListeners[e].forEach((e => { e.apply(i, a) })) })), t } }; function $({ swiper: e, runCallbacks: t, direction: s, step: a }) { const { activeIndex: i, previousIndex: r } = e; let n = s; if (n || (n = i > r ? "next" : i < r ? "prev" : "reset"), e.emit(`transition${a}`), t && i !== r) { if ("reset" === n) return void e.emit(`slideResetTransition${a}`); e.emit(`slideChangeTransition${a}`), "next" === n ? e.emit(`slideNextTransition${a}`) : e.emit(`slidePrevTransition${a}`) } } function S(e) { const t = this, s = a(), i = r(), n = t.touchEventsData, { params: l, touches: o, enabled: p } = t; if (!p) return; if (t.animating && l.preventInteractionOnTransition) return; !t.animating && l.cssMode && l.loop && t.loopFix(); let c = e; c.originalEvent && (c = c.originalEvent); let h = d(c.target); if ("wrapper" === l.touchEventsTarget && !h.closest(t.wrapperEl).length) return; if (n.isTouchEvent = "touchstart" === c.type, !n.isTouchEvent && "which" in c && 3 === c.which) return; if (!n.isTouchEvent && "button" in c && c.button > 0) return; if (n.isTouched && n.isMoved) return; !!l.noSwipingClass && "" !== l.noSwipingClass && c.target && c.target.shadowRoot && e.path && e.path[0] && (h = d(e.path[0])); const m = l.noSwipingSelector ? l.noSwipingSelector : `.${l.noSwipingClass}`, f = !(!c.target || !c.target.shadowRoot); if (l.noSwiping && (f ? function (e, t = this) { return function t(s) { return s && s !== a() && s !== r() ? (s.assignedSlot && (s = s.assignedSlot), s.closest(e) || t(s.getRootNode().host)) : null }(t) }(m, c.target) : h.closest(m)[0])) return void (t.allowClick = !0); if (l.swipeHandler && !h.closest(l.swipeHandler)[0]) return; o.currentX = "touchstart" === c.type ? c.targetTouches[0].pageX : c.pageX, o.currentY = "touchstart" === c.type ? c.targetTouches[0].pageY : c.pageY; const g = o.currentX, v = o.currentY, w = l.edgeSwipeDetection || l.iOSEdgeSwipeDetection, b = l.edgeSwipeThreshold || l.iOSEdgeSwipeThreshold; if (w && (g <= b || g >= i.innerWidth - b)) { if ("prevent" !== w) return; e.preventDefault() } if (Object.assign(n, { isTouched: !0, isMoved: !1, allowTouchCallbacks: !0, isScrolling: void 0, startMoving: void 0 }), o.startX = g, o.startY = v, n.touchStartTime = u(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, l.threshold > 0 && (n.allowThresholdMove = !1), "touchstart" !== c.type) { let e = !0; h.is(n.focusableElements) && (e = !1), s.activeElement && d(s.activeElement).is(n.focusableElements) && s.activeElement !== h[0] && s.activeElement.blur(); const a = e && t.allowTouchMove && l.touchStartPreventDefault; !l.touchStartForcePreventDefault && !a || h[0].isContentEditable || c.preventDefault() } t.emit("touchStart", c) } function M(e) { const t = a(), s = this, i = s.touchEventsData, { params: r, touches: n, rtlTranslate: l, enabled: o } = s; if (!o) return; let p = e; if (p.originalEvent && (p = p.originalEvent), !i.isTouched) return void (i.startMoving && i.isScrolling && s.emit("touchMoveOpposite", p)); if (i.isTouchEvent && "touchmove" !== p.type) return; const c = "touchmove" === p.type && p.targetTouches && (p.targetTouches[0] || p.changedTouches[0]), h = "touchmove" === p.type ? c.pageX : p.pageX, m = "touchmove" === p.type ? c.pageY : p.pageY; if (p.preventedByNestedSwiper) return n.startX = h, void (n.startY = m); if (!s.allowTouchMove) return s.allowClick = !1, void (i.isTouched && (Object.assign(n, { startX: h, startY: m, currentX: h, currentY: m }), i.touchStartTime = u())); if (i.isTouchEvent && r.touchReleaseOnEdges && !r.loop) if (s.isVertical()) { if (m < n.startY && s.translate <= s.maxTranslate() || m > n.startY && s.translate >= s.minTranslate()) return i.isTouched = !1, void (i.isMoved = !1) } else if (h < n.startX && s.translate <= s.maxTranslate() || h > n.startX && s.translate >= s.minTranslate()) return; if (i.isTouchEvent && t.activeElement && p.target === t.activeElement && d(p.target).is(i.focusableElements)) return i.isMoved = !0, void (s.allowClick = !1); if (i.allowTouchCallbacks && s.emit("touchMove", p), p.targetTouches && p.targetTouches.length > 1) return; n.currentX = h, n.currentY = m; const f = n.currentX - n.startX, g = n.currentY - n.startY; if (s.params.threshold && Math.sqrt(f ** 2 + g ** 2) < s.params.threshold) return; if (void 0 === i.isScrolling) { let e; s.isHorizontal() && n.currentY === n.startY || s.isVertical() && n.currentX === n.startX ? i.isScrolling = !1 : f * f + g * g >= 25 && (e = 180 * Math.atan2(Math.abs(g), Math.abs(f)) / Math.PI, i.isScrolling = s.isHorizontal() ? e > r.touchAngle : 90 - e > r.touchAngle) } if (i.isScrolling && s.emit("touchMoveOpposite", p), void 0 === i.startMoving && (n.currentX === n.startX && n.currentY === n.startY || (i.startMoving = !0)), i.isScrolling) return void (i.isTouched = !1); if (!i.startMoving) return; s.allowClick = !1, !r.cssMode && p.cancelable && p.preventDefault(), r.touchMoveStopPropagation && !r.nested && p.stopPropagation(), i.isMoved || (r.loop && !r.cssMode && s.loopFix(), i.startTranslate = s.getTranslate(), s.setTransition(0), s.animating && s.$wrapperEl.trigger("webkitTransitionEnd transitionend"), i.allowMomentumBounce = !1, !r.grabCursor || !0 !== s.allowSlideNext && !0 !== s.allowSlidePrev || s.setGrabCursor(!0), s.emit("sliderFirstMove", p)), s.emit("sliderMove", p), i.isMoved = !0; let v = s.isHorizontal() ? f : g; n.diff = v, v *= r.touchRatio, l && (v = -v), s.swipeDirection = v > 0 ? "prev" : "next", i.currentTranslate = v + i.startTranslate; let w = !0, b = r.resistanceRatio; if (r.touchReleaseOnEdges && (b = 0), v > 0 && i.currentTranslate > s.minTranslate() ? (w = !1, r.resistance && (i.currentTranslate = s.minTranslate() - 1 + (-s.minTranslate() + i.startTranslate + v) ** b)) : v < 0 && i.currentTranslate < s.maxTranslate() && (w = !1, r.resistance && (i.currentTranslate = s.maxTranslate() + 1 - (s.maxTranslate() - i.startTranslate - v) ** b)), w && (p.preventedByNestedSwiper = !0), !s.allowSlideNext && "next" === s.swipeDirection && i.currentTranslate < i.startTranslate && (i.currentTranslate = i.startTranslate), !s.allowSlidePrev && "prev" === s.swipeDirection && i.currentTranslate > i.startTranslate && (i.currentTranslate = i.startTranslate), s.allowSlidePrev || s.allowSlideNext || (i.currentTranslate = i.startTranslate), r.threshold > 0) { if (!(Math.abs(v) > r.threshold || i.allowThresholdMove)) return void (i.currentTranslate = i.startTranslate); if (!i.allowThresholdMove) return i.allowThresholdMove = !0, n.startX = n.currentX, n.startY = n.currentY, i.currentTranslate = i.startTranslate, void (n.diff = s.isHorizontal() ? n.currentX - n.startX : n.currentY - n.startY) } r.followFinger && !r.cssMode && ((r.freeMode && r.freeMode.enabled && s.freeMode || r.watchSlidesProgress) && (s.updateActiveIndex(), s.updateSlidesClasses()), s.params.freeMode && r.freeMode.enabled && s.freeMode && s.freeMode.onTouchMove(), s.updateProgress(i.currentTranslate), s.setTranslate(i.currentTranslate)) } function P(e) { const t = this, s = t.touchEventsData, { params: a, touches: i, rtlTranslate: r, slidesGrid: n, enabled: l } = t; if (!l) return; let o = e; if (o.originalEvent && (o = o.originalEvent), s.allowTouchCallbacks && t.emit("touchEnd", o), s.allowTouchCallbacks = !1, !s.isTouched) return s.isMoved && a.grabCursor && t.setGrabCursor(!1), s.isMoved = !1, void (s.startMoving = !1); a.grabCursor && s.isMoved && s.isTouched && (!0 === t.allowSlideNext || !0 === t.allowSlidePrev) && t.setGrabCursor(!1); const d = u(), p = d - s.touchStartTime; if (t.allowClick) { const e = o.path || o.composedPath && o.composedPath(); t.updateClickedSlide(e && e[0] || o.target), t.emit("tap click", o), p < 300 && d - s.lastClickTime < 300 && t.emit("doubleTap doubleClick", o) } if (s.lastClickTime = u(), c((() => { t.destroyed || (t.allowClick = !0) })), !s.isTouched || !s.isMoved || !t.swipeDirection || 0 === i.diff || s.currentTranslate === s.startTranslate) return s.isTouched = !1, s.isMoved = !1, void (s.startMoving = !1); let h; if (s.isTouched = !1, s.isMoved = !1, s.startMoving = !1, h = a.followFinger ? r ? t.translate : -t.translate : -s.currentTranslate, a.cssMode) return; if (t.params.freeMode && a.freeMode.enabled) return void t.freeMode.onTouchEnd({ currentPos: h }); let m = 0, f = t.slidesSizesGrid[0]; for (let e = 0; e < n.length; e += e < a.slidesPerGroupSkip ? 1 : a.slidesPerGroup) { const t = e < a.slidesPerGroupSkip - 1 ? 1 : a.slidesPerGroup; void 0 !== n[e + t] ? h >= n[e] && h < n[e + t] && (m = e, f = n[e + t] - n[e]) : h >= n[e] && (m = e, f = n[n.length - 1] - n[n.length - 2]) } const g = (h - n[m]) / f, v = m < a.slidesPerGroupSkip - 1 ? 1 : a.slidesPerGroup; if (p > a.longSwipesMs) { if (!a.longSwipes) return void t.slideTo(t.activeIndex); "next" === t.swipeDirection && (g >= a.longSwipesRatio ? t.slideTo(m + v) : t.slideTo(m)), "prev" === t.swipeDirection && (g > 1 - a.longSwipesRatio ? t.slideTo(m + v) : t.slideTo(m)) } else { if (!a.shortSwipes) return void t.slideTo(t.activeIndex); t.navigation && (o.target === t.navigation.nextEl || o.target === t.navigation.prevEl) ? o.target === t.navigation.nextEl ? t.slideTo(m + v) : t.slideTo(m) : ("next" === t.swipeDirection && t.slideTo(m + v), "prev" === t.swipeDirection && t.slideTo(m)) } } function k() { const e = this, { params: t, el: s } = e; if (s && 0 === s.offsetWidth) return; t.breakpoints && e.setBreakpoint(); const { allowSlideNext: a, allowSlidePrev: i, snapGrid: r } = e; e.allowSlideNext = !0, e.allowSlidePrev = !0, e.updateSize(), e.updateSlides(), e.updateSlidesClasses(), ("auto" === t.slidesPerView || t.slidesPerView > 1) && e.isEnd && !e.isBeginning && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0), e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.run(), e.allowSlidePrev = i, e.allowSlideNext = a, e.params.watchOverflow && r !== e.snapGrid && e.checkOverflow() } function z(e) { const t = this; t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation()))) } function O() { const e = this, { wrapperEl: t, rtlTranslate: s, enabled: a } = e; if (!a) return; let i; e.previousTranslate = e.translate, e.isHorizontal() ? e.translate = -t.scrollLeft : e.translate = -t.scrollTop, -0 === e.translate && (e.translate = 0), e.updateActiveIndex(), e.updateSlidesClasses(); const r = e.maxTranslate() - e.minTranslate(); i = 0 === r ? 0 : (e.translate - e.minTranslate()) / r, i !== e.progress && e.updateProgress(s ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1) } let I = !1; function L() { } const A = (e, t) => { const s = a(), { params: i, touchEvents: r, el: n, wrapperEl: l, device: o, support: d } = e, p = !!i.nested, c = "on" === t ? "addEventListener" : "removeEventListener", u = t; if (d.touch) { const t = !("touchstart" !== r.start || !d.passiveListener || !i.passiveListeners) && { passive: !0, capture: !1 }; n[c](r.start, e.onTouchStart, t), n[c](r.move, e.onTouchMove, d.passiveListener ? { passive: !1, capture: p } : p), n[c](r.end, e.onTouchEnd, t), r.cancel && n[c](r.cancel, e.onTouchEnd, t) } else n[c](r.start, e.onTouchStart, !1), s[c](r.move, e.onTouchMove, p), s[c](r.end, e.onTouchEnd, !1); (i.preventClicks || i.preventClicksPropagation) && n[c]("click", e.onClick, !0), i.cssMode && l[c]("scroll", e.onScroll), i.updateOnWindowResize ? e[u](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", k, !0) : e[u]("observerUpdate", k, !0) }; const D = (e, t) => e.grid && t.grid && t.grid.rows > 1; var G = { init: !0, direction: "horizontal", touchEventsTarget: "wrapper", initialSlide: 0, speed: 300, cssMode: !1, updateOnWindowResize: !0, resizeObserver: !0, nested: !1, createElements: !1, enabled: !0, focusableElements: "input, select, option, textarea, button, video, label", width: null, height: null, preventInteractionOnTransition: !1, userAgent: null, url: null, edgeSwipeDetection: !1, edgeSwipeThreshold: 20, autoHeight: !1, setWrapperSize: !1, virtualTranslate: !1, effect: "slide", breakpoints: void 0, breakpointsBase: "window", spaceBetween: 0, slidesPerView: 1, slidesPerGroup: 1, slidesPerGroupSkip: 0, slidesPerGroupAuto: !1, centeredSlides: !1, centeredSlidesBounds: !1, slidesOffsetBefore: 0, slidesOffsetAfter: 0, normalizeSlideIndex: !0, centerInsufficientSlides: !1, watchOverflow: !0, roundLengths: !1, touchRatio: 1, touchAngle: 45, simulateTouch: !0, shortSwipes: !0, longSwipes: !0, longSwipesRatio: .5, longSwipesMs: 300, followFinger: !0, allowTouchMove: !0, threshold: 0, touchMoveStopPropagation: !1, touchStartPreventDefault: !0, touchStartForcePreventDefault: !1, touchReleaseOnEdges: !1, uniqueNavElements: !0, resistance: !0, resistanceRatio: .85, watchSlidesProgress: !1, grabCursor: !1, preventClicks: !0, preventClicksPropagation: !0, slideToClickedSlide: !1, preloadImages: !0, updateOnImagesReady: !0, loop: !1, loopAdditionalSlides: 0, loopedSlides: null, loopFillGroupWithBlank: !1, loopPreventsSlide: !0, rewind: !1, allowSlidePrev: !0, allowSlideNext: !0, swipeHandler: null, noSwiping: !0, noSwipingClass: "swiper-no-swiping", noSwipingSelector: null, passiveListeners: !0, containerModifierClass: "swiper-", slideClass: "swiper-slide", slideBlankClass: "swiper-slide-invisible-blank", slideActiveClass: "swiper-slide-active", slideDuplicateActiveClass: "swiper-slide-duplicate-active", slideVisibleClass: "swiper-slide-visible", slideDuplicateClass: "swiper-slide-duplicate", slideNextClass: "swiper-slide-next", slideDuplicateNextClass: "swiper-slide-duplicate-next", slidePrevClass: "swiper-slide-prev", slideDuplicatePrevClass: "swiper-slide-duplicate-prev", wrapperClass: "swiper-wrapper", runCallbacksOnInit: !0, _emitClasses: !1 }; function N(e, t) { return function (s = {}) { const a = Object.keys(s)[0], i = s[a]; "object" == typeof i && null !== i ? (["navigation", "pagination", "scrollbar"].indexOf(a) >= 0 && !0 === e[a] && (e[a] = { auto: !0 }), a in e && "enabled" in i ? (!0 === e[a] && (e[a] = { enabled: !0 }), "object" != typeof e[a] || "enabled" in e[a] || (e[a].enabled = !0), e[a] || (e[a] = { enabled: !1 }), f(t, s)) : f(t, s)) : f(t, s) } } const B = { eventsEmitter: C, update: { updateSize: function () { const e = this; let t, s; const a = e.$el; t = void 0 !== e.params.width && null !== e.params.width ? e.params.width : a[0].clientWidth, s = void 0 !== e.params.height && null !== e.params.height ? e.params.height : a[0].clientHeight, 0 === t && e.isHorizontal() || 0 === s && e.isVertical() || (t = t - parseInt(a.css("padding-left") || 0, 10) - parseInt(a.css("padding-right") || 0, 10), s = s - parseInt(a.css("padding-top") || 0, 10) - parseInt(a.css("padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(s) && (s = 0), Object.assign(e, { width: t, height: s, size: e.isHorizontal() ? t : s })) }, updateSlides: function () { const e = this; function t(t) { return e.isHorizontal() ? t : { width: "height", "margin-top": "margin-left", "margin-bottom ": "margin-right", "margin-left": "margin-top", "margin-right": "margin-bottom", "padding-left": "padding-top", "padding-right": "padding-bottom", marginRight: "marginBottom" }[t] } function s(e, s) { return parseFloat(e.getPropertyValue(t(s)) || 0) } const a = e.params, { $wrapperEl: i, size: r, rtlTranslate: n, wrongRTL: l } = e, o = e.virtual && a.virtual.enabled, d = o ? e.virtual.slides.length : e.slides.length, p = i.children(`.${e.params.slideClass}`), c = o ? e.virtual.slides.length : p.length; let u = []; const h = [], m = []; let f = a.slidesOffsetBefore; "function" == typeof f && (f = a.slidesOffsetBefore.call(e)); let v = a.slidesOffsetAfter; "function" == typeof v && (v = a.slidesOffsetAfter.call(e)); const w = e.snapGrid.length, b = e.slidesGrid.length; let x = a.spaceBetween, y = -f, E = 0, T = 0; if (void 0 === r) return; "string" == typeof x && x.indexOf("%") >= 0 && (x = parseFloat(x.replace("%", "")) / 100 * r), e.virtualSize = -x, n ? p.css({ marginLeft: "", marginBottom: "", marginTop: "" }) : p.css({ marginRight: "", marginBottom: "", marginTop: "" }), a.centeredSlides && a.cssMode && (g(e.wrapperEl, "--swiper-centered-offset-before", ""), g(e.wrapperEl, "--swiper-centered-offset-after", "")); const C = a.grid && a.grid.rows > 1 && e.grid; let $; C && e.grid.initSlides(c); const S = "auto" === a.slidesPerView && a.breakpoints && Object.keys(a.breakpoints).filter((e => void 0 !== a.breakpoints[e].slidesPerView)).length > 0; for (let i = 0; i < c; i += 1) { $ = 0; const n = p.eq(i); if (C && e.grid.updateSlide(i, n, c, t), "none" !== n.css("display")) { if ("auto" === a.slidesPerView) { S && (p[i].style[t("width")] = ""); const r = getComputedStyle(n[0]), l = n[0].style.transform, o = n[0].style.webkitTransform; if (l && (n[0].style.transform = "none"), o && (n[0].style.webkitTransform = "none"), a.roundLengths) $ = e.isHorizontal() ? n.outerWidth(!0) : n.outerHeight(!0); else { const e = s(r, "width"), t = s(r, "padding-left"), a = s(r, "padding-right"), i = s(r, "margin-left"), l = s(r, "margin-right"), o = r.getPropertyValue("box-sizing"); if (o && "border-box" === o) $ = e + i + l; else { const { clientWidth: s, offsetWidth: r } = n[0]; $ = e + t + a + i + l + (r - s) } } l && (n[0].style.transform = l), o && (n[0].style.webkitTransform = o), a.roundLengths && ($ = Math.floor($)) } else $ = (r - (a.slidesPerView - 1) * x) / a.slidesPerView, a.roundLengths && ($ = Math.floor($)), p[i] && (p[i].style[t("width")] = `${$}px`); p[i] && (p[i].swiperSlideSize = $), m.push($), a.centeredSlides ? (y = y + $ / 2 + E / 2 + x, 0 === E && 0 !== i && (y = y - r / 2 - x), 0 === i && (y = y - r / 2 - x), Math.abs(y) < .001 && (y = 0), a.roundLengths && (y = Math.floor(y)), T % a.slidesPerGroup == 0 && u.push(y), h.push(y)) : (a.roundLengths && (y = Math.floor(y)), (T - Math.min(e.params.slidesPerGroupSkip, T)) % e.params.slidesPerGroup == 0 && u.push(y), h.push(y), y = y + $ + x), e.virtualSize += $ + x, E = $, T += 1 } } if (e.virtualSize = Math.max(e.virtualSize, r) + v, n && l && ("slide" === a.effect || "coverflow" === a.effect) && i.css({ width: `${e.virtualSize + a.spaceBetween}px` }), a.setWrapperSize && i.css({ [t("width")]: `${e.virtualSize + a.spaceBetween}px` }), C && e.grid.updateWrapperSize($, u, t), !a.centeredSlides) { const t = []; for (let s = 0; s < u.length; s += 1) { let i = u[s]; a.roundLengths && (i = Math.floor(i)), u[s] <= e.virtualSize - r && t.push(i) } u = t, Math.floor(e.virtualSize - r) - Math.floor(u[u.length - 1]) > 1 && u.push(e.virtualSize - r) } if (0 === u.length && (u = [0]), 0 !== a.spaceBetween) { const s = e.isHorizontal() && n ? "marginLeft" : t("marginRight"); p.filter(((e, t) => !a.cssMode || t !== p.length - 1)).css({ [s]: `${x}px` }) } if (a.centeredSlides && a.centeredSlidesBounds) { let e = 0; m.forEach((t => { e += t + (a.spaceBetween ? a.spaceBetween : 0) })), e -= a.spaceBetween; const t = e - r; u = u.map((e => e < 0 ? -f : e > t ? t + v : e)) } if (a.centerInsufficientSlides) { let e = 0; if (m.forEach((t => { e += t + (a.spaceBetween ? a.spaceBetween : 0) })), e -= a.spaceBetween, e < r) { const t = (r - e) / 2; u.forEach(((e, s) => { u[s] = e - t })), h.forEach(((e, s) => { h[s] = e + t })) } } if (Object.assign(e, { slides: p, snapGrid: u, slidesGrid: h, slidesSizesGrid: m }), a.centeredSlides && a.cssMode && !a.centeredSlidesBounds) { g(e.wrapperEl, "--swiper-centered-offset-before", -u[0] + "px"), g(e.wrapperEl, "--swiper-centered-offset-after", e.size / 2 - m[m.length - 1] / 2 + "px"); const t = -e.snapGrid[0], s = -e.slidesGrid[0]; e.snapGrid = e.snapGrid.map((e => e + t)), e.slidesGrid = e.slidesGrid.map((e => e + s)) } c !== d && e.emit("slidesLengthChange"), u.length !== w && (e.params.watchOverflow && e.checkOverflow(), e.emit("snapGridLengthChange")), h.length !== b && e.emit("slidesGridLengthChange"), a.watchSlidesProgress && e.updateSlidesOffset() }, updateAutoHeight: function (e) { const t = this, s = [], a = t.virtual && t.params.virtual.enabled; let i, r = 0; "number" == typeof e ? t.setTransition(e) : !0 === e && t.setTransition(t.params.speed); const n = e => a ? t.slides.filter((t => parseInt(t.getAttribute("data-swiper-slide-index"), 10) === e))[0] : t.slides.eq(e)[0]; if ("auto" !== t.params.slidesPerView && t.params.slidesPerView > 1) if (t.params.centeredSlides) t.visibleSlides.each((e => { s.push(e) })); else for (i = 0; i < Math.ceil(t.params.slidesPerView); i += 1) { const e = t.activeIndex + i; if (e > t.slides.length && !a) break; s.push(n(e)) } else s.push(n(t.activeIndex)); for (i = 0; i < s.length; i += 1)if (void 0 !== s[i]) { const e = s[i].offsetHeight; r = e > r ? e : r } (r || 0 === r) && t.$wrapperEl.css("height", `${r}px`) }, updateSlidesOffset: function () { const e = this, t = e.slides; for (let s = 0; s < t.length; s += 1)t[s].swiperSlideOffset = e.isHorizontal() ? t[s].offsetLeft : t[s].offsetTop }, updateSlidesProgress: function (e = this && this.translate || 0) { const t = this, s = t.params, { slides: a, rtlTranslate: i, snapGrid: r } = t; if (0 === a.length) return; void 0 === a[0].swiperSlideOffset && t.updateSlidesOffset(); let n = -e; i && (n = e), a.removeClass(s.slideVisibleClass), t.visibleSlidesIndexes = [], t.visibleSlides = []; for (let e = 0; e < a.length; e += 1) { const l = a[e]; let o = l.swiperSlideOffset; s.cssMode && s.centeredSlides && (o -= a[0].swiperSlideOffset); const d = (n + (s.centeredSlides ? t.minTranslate() : 0) - o) / (l.swiperSlideSize + s.spaceBetween), p = (n - r[0] + (s.centeredSlides ? t.minTranslate() : 0) - o) / (l.swiperSlideSize + s.spaceBetween), c = -(n - o), u = c + t.slidesSizesGrid[e]; (c >= 0 && c < t.size - 1 || u > 1 && u <= t.size || c <= 0 && u >= t.size) && (t.visibleSlides.push(l), t.visibleSlidesIndexes.push(e), a.eq(e).addClass(s.slideVisibleClass)), l.progress = i ? -d : d, l.originalProgress = i ? -p : p } t.visibleSlides = d(t.visibleSlides) }, updateProgress: function (e) { const t = this; if (void 0 === e) { const s = t.rtlTranslate ? -1 : 1; e = t && t.translate && t.translate * s || 0 } const s = t.params, a = t.maxTranslate() - t.minTranslate(); let { progress: i, isBeginning: r, isEnd: n } = t; const l = r, o = n; 0 === a ? (i = 0, r = !0, n = !0) : (i = (e - t.minTranslate()) / a, r = i <= 0, n = i >= 1), Object.assign(t, { progress: i, isBeginning: r, isEnd: n }), (s.watchSlidesProgress || s.centeredSlides && s.autoHeight) && t.updateSlidesProgress(e), r && !l && t.emit("reachBeginning toEdge"), n && !o && t.emit("reachEnd toEdge"), (l && !r || o && !n) && t.emit("fromEdge"), t.emit("progress", i) }, updateSlidesClasses: function () { const e = this, { slides: t, params: s, $wrapperEl: a, activeIndex: i, realIndex: r } = e, n = e.virtual && s.virtual.enabled; let l; t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`), l = n ? e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`) : t.eq(i), l.addClass(s.slideActiveClass), s.loop && (l.hasClass(s.slideDuplicateClass) ? a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass) : a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass)); let o = l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass); s.loop && 0 === o.length && (o = t.eq(0), o.addClass(s.slideNextClass)); let d = l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass); s.loop && 0 === d.length && (d = t.eq(-1), d.addClass(s.slidePrevClass)), s.loop && (o.hasClass(s.slideDuplicateClass) ? a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass) : a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass), d.hasClass(s.slideDuplicateClass) ? a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass) : a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)), e.emitSlidesClasses() }, updateActiveIndex: function (e) { const t = this, s = t.rtlTranslate ? t.translate : -t.translate, { slidesGrid: a, snapGrid: i, params: r, activeIndex: n, realIndex: l, snapIndex: o } = t; let d, p = e; if (void 0 === p) { for (let e = 0; e < a.length; e += 1)void 0 !== a[e + 1] ? s >= a[e] && s < a[e + 1] - (a[e + 1] - a[e]) / 2 ? p = e : s >= a[e] && s < a[e + 1] && (p = e + 1) : s >= a[e] && (p = e); r.normalizeSlideIndex && (p < 0 || void 0 === p) && (p = 0) } if (i.indexOf(s) >= 0) d = i.indexOf(s); else { const e = Math.min(r.slidesPerGroupSkip, p); d = e + Math.floor((p - e) / r.slidesPerGroup) } if (d >= i.length && (d = i.length - 1), p === n) return void (d !== o && (t.snapIndex = d, t.emit("snapIndexChange"))); const c = parseInt(t.slides.eq(p).attr("data-swiper-slide-index") || p, 10); Object.assign(t, { snapIndex: d, realIndex: c, previousIndex: n, activeIndex: p }), t.emit("activeIndexChange"), t.emit("snapIndexChange"), l !== c && t.emit("realIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && t.emit("slideChange") }, updateClickedSlide: function (e) { const t = this, s = t.params, a = d(e).closest(`.${s.slideClass}`)[0]; let i, r = !1; if (a) for (let e = 0; e < t.slides.length; e += 1)if (t.slides[e] === a) { r = !0, i = e; break } if (!a || !r) return t.clickedSlide = void 0, void (t.clickedIndex = void 0); t.clickedSlide = a, t.virtual && t.params.virtual.enabled ? t.clickedIndex = parseInt(d(a).attr("data-swiper-slide-index"), 10) : t.clickedIndex = i, s.slideToClickedSlide && void 0 !== t.clickedIndex && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide() } }, translate: { getTranslate: function (e = (this.isHorizontal() ? "x" : "y")) { const { params: t, rtlTranslate: s, translate: a, $wrapperEl: i } = this; if (t.virtualTranslate) return s ? -a : a; if (t.cssMode) return a; let r = h(i[0], e); return s && (r = -r), r || 0 }, setTranslate: function (e, t) { const s = this, { rtlTranslate: a, params: i, $wrapperEl: r, wrapperEl: n, progress: l } = s; let o, d = 0, p = 0; s.isHorizontal() ? d = a ? -e : e : p = e, i.roundLengths && (d = Math.floor(d), p = Math.floor(p)), i.cssMode ? n[s.isHorizontal() ? "scrollLeft" : "scrollTop"] = s.isHorizontal() ? -d : -p : i.virtualTranslate || r.transform(`translate3d(${d}px, ${p}px, 0px)`), s.previousTranslate = s.translate, s.translate = s.isHorizontal() ? d : p; const c = s.maxTranslate() - s.minTranslate(); o = 0 === c ? 0 : (e - s.minTranslate()) / c, o !== l && s.updateProgress(e), s.emit("setTranslate", s.translate, t) }, minTranslate: function () { return -this.snapGrid[0] }, maxTranslate: function () { return -this.snapGrid[this.snapGrid.length - 1] }, translateTo: function (e = 0, t = this.params.speed, s = !0, a = !0, i) { const r = this, { params: n, wrapperEl: l } = r; if (r.animating && n.preventInteractionOnTransition) return !1; const o = r.minTranslate(), d = r.maxTranslate(); let p; if (p = a && e > o ? o : a && e < d ? d : e, r.updateProgress(p), n.cssMode) { const e = r.isHorizontal(); if (0 === t) l[e ? "scrollLeft" : "scrollTop"] = -p; else { if (!r.support.smoothScroll) return v({ swiper: r, targetPosition: -p, side: e ? "left" : "top" }), !0; l.scrollTo({ [e ? "left" : "top"]: -p, behavior: "smooth" }) } return !0 } return 0 === t ? (r.setTransition(0), r.setTranslate(p), s && (r.emit("beforeTransitionStart", t, i), r.emit("transitionEnd"))) : (r.setTransition(t), r.setTranslate(p), s && (r.emit("beforeTransitionStart", t, i), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function (e) { r && !r.destroyed && e.target === this && (r.$wrapperEl[0].removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, s && r.emit("transitionEnd")) }), r.$wrapperEl[0].addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onTranslateToWrapperTransitionEnd))), !0 } }, transition: { setTransition: function (e, t) { const s = this; s.params.cssMode || s.$wrapperEl.transition(e), s.emit("setTransition", e, t) }, transitionStart: function (e = !0, t) { const s = this, { params: a } = s; a.cssMode || (a.autoHeight && s.updateAutoHeight(), $({ swiper: s, runCallbacks: e, direction: t, step: "Start" })) }, transitionEnd: function (e = !0, t) { const s = this, { params: a } = s; s.animating = !1, a.cssMode || (s.setTransition(0), $({ swiper: s, runCallbacks: e, direction: t, step: "End" })) } }, slide: { slideTo: function (e = 0, t = this.params.speed, s = !0, a, i) { if ("number" != typeof e && "string" != typeof e) throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`); if ("string" == typeof e) { const t = parseInt(e, 10); if (!isFinite(t)) throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`); e = t } const r = this; let n = e; n < 0 && (n = 0); const { params: l, snapGrid: o, slidesGrid: d, previousIndex: p, activeIndex: c, rtlTranslate: u, wrapperEl: h, enabled: m } = r; if (r.animating && l.preventInteractionOnTransition || !m && !a && !i) return !1; const f = Math.min(r.params.slidesPerGroupSkip, n); let g = f + Math.floor((n - f) / r.params.slidesPerGroup); g >= o.length && (g = o.length - 1), (c || l.initialSlide || 0) === (p || 0) && s && r.emit("beforeSlideChangeStart"); const w = -o[g]; if (r.updateProgress(w), l.normalizeSlideIndex) for (let e = 0; e < d.length; e += 1) { const t = -Math.floor(100 * w), s = Math.floor(100 * d[e]), a = Math.floor(100 * d[e + 1]); void 0 !== d[e + 1] ? t >= s && t < a - (a - s) / 2 ? n = e : t >= s && t < a && (n = e + 1) : t >= s && (n = e) } if (r.initialized && n !== c) { if (!r.allowSlideNext && w < r.translate && w < r.minTranslate()) return !1; if (!r.allowSlidePrev && w > r.translate && w > r.maxTranslate() && (c || 0) !== n) return !1 } let b; if (b = n > c ? "next" : n < c ? "prev" : "reset", u && -w === r.translate || !u && w === r.translate) return r.updateActiveIndex(n), l.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), "slide" !== l.effect && r.setTranslate(w), "reset" !== b && (r.transitionStart(s, b), r.transitionEnd(s, b)), !1; if (l.cssMode) { const e = r.isHorizontal(), s = u ? w : -w; if (0 === t) { const t = r.virtual && r.params.virtual.enabled; t && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), h[e ? "scrollLeft" : "scrollTop"] = s, t && requestAnimationFrame((() => { r.wrapperEl.style.scrollSnapType = "", r._swiperImmediateVirtual = !1 })) } else { if (!r.support.smoothScroll) return v({ swiper: r, targetPosition: s, side: e ? "left" : "top" }), !0; h.scrollTo({ [e ? "left" : "top"]: s, behavior: "smooth" }) } return !0 } return r.setTransition(t), r.setTranslate(w), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, a), r.transitionStart(s, b), 0 === t ? r.transitionEnd(s, b) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function (e) { r && !r.destroyed && e.target === this && (r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(s, b)) }), r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd)), !0 }, slideToLoop: function (e = 0, t = this.params.speed, s = !0, a) { const i = this; let r = e; return i.params.loop && (r += i.loopedSlides), i.slideTo(r, t, s, a) }, slideNext: function (e = this.params.speed, t = !0, s) { const a = this, { animating: i, enabled: r, params: n } = a; if (!r) return a; let l = n.slidesPerGroup; "auto" === n.slidesPerView && 1 === n.slidesPerGroup && n.slidesPerGroupAuto && (l = Math.max(a.slidesPerViewDynamic("current", !0), 1)); const o = a.activeIndex < n.slidesPerGroupSkip ? 1 : l; if (n.loop) { if (i && n.loopPreventsSlide) return !1; a.loopFix(), a._clientLeft = a.$wrapperEl[0].clientLeft } return n.rewind && a.isEnd ? a.slideTo(0, e, t, s) : a.slideTo(a.activeIndex + o, e, t, s) }, slidePrev: function (e = this.params.speed, t = !0, s) { const a = this, { params: i, animating: r, snapGrid: n, slidesGrid: l, rtlTranslate: o, enabled: d } = a; if (!d) return a; if (i.loop) { if (r && i.loopPreventsSlide) return !1; a.loopFix(), a._clientLeft = a.$wrapperEl[0].clientLeft } function p(e) { return e < 0 ? -Math.floor(Math.abs(e)) : Math.floor(e) } const c = p(o ? a.translate : -a.translate), u = n.map((e => p(e))); let h = n[u.indexOf(c) - 1]; if (void 0 === h && i.cssMode) { let e; n.forEach(((t, s) => { c >= t && (e = s) })), void 0 !== e && (h = n[e > 0 ? e - 1 : e]) } let m = 0; return void 0 !== h && (m = l.indexOf(h), m < 0 && (m = a.activeIndex - 1), "auto" === i.slidesPerView && 1 === i.slidesPerGroup && i.slidesPerGroupAuto && (m = m - a.slidesPerViewDynamic("previous", !0) + 1, m = Math.max(m, 0))), i.rewind && a.isBeginning ? a.slideTo(a.slides.length - 1, e, t, s) : a.slideTo(m, e, t, s) }, slideReset: function (e = this.params.speed, t = !0, s) { return this.slideTo(this.activeIndex, e, t, s) }, slideToClosest: function (e = this.params.speed, t = !0, s, a = .5) { const i = this; let r = i.activeIndex; const n = Math.min(i.params.slidesPerGroupSkip, r), l = n + Math.floor((r - n) / i.params.slidesPerGroup), o = i.rtlTranslate ? i.translate : -i.translate; if (o >= i.snapGrid[l]) { const e = i.snapGrid[l]; o - e > (i.snapGrid[l + 1] - e) * a && (r += i.params.slidesPerGroup) } else { const e = i.snapGrid[l - 1]; o - e <= (i.snapGrid[l] - e) * a && (r -= i.params.slidesPerGroup) } return r = Math.max(r, 0), r = Math.min(r, i.slidesGrid.length - 1), i.slideTo(r, e, t, s) }, slideToClickedSlide: function () { const e = this, { params: t, $wrapperEl: s } = e, a = "auto" === t.slidesPerView ? e.slidesPerViewDynamic() : t.slidesPerView; let i, r = e.clickedIndex; if (t.loop) { if (e.animating) return; i = parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"), 10), t.centeredSlides ? r < e.loopedSlides - a / 2 || r > e.slides.length - e.loopedSlides + a / 2 ? (e.loopFix(), r = s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(), c((() => { e.slideTo(r) }))) : e.slideTo(r) : r > e.slides.length - a ? (e.loopFix(), r = s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(), c((() => { e.slideTo(r) }))) : e.slideTo(r) } else e.slideTo(r) } }, loop: { loopCreate: function () { const e = this, t = a(), { params: s, $wrapperEl: i } = e, r = i.children().length > 0 ? d(i.children()[0].parentNode) : i; r.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove(); let n = r.children(`.${s.slideClass}`); if (s.loopFillGroupWithBlank) { const e = s.slidesPerGroup - n.length % s.slidesPerGroup; if (e !== s.slidesPerGroup) { for (let a = 0; a < e; a += 1) { const e = d(t.createElement("div")).addClass(`${s.slideClass} ${s.slideBlankClass}`); r.append(e) } n = r.children(`.${s.slideClass}`) } } "auto" !== s.slidesPerView || s.loopedSlides || (s.loopedSlides = n.length), e.loopedSlides = Math.ceil(parseFloat(s.loopedSlides || s.slidesPerView, 10)), e.loopedSlides += s.loopAdditionalSlides, e.loopedSlides > n.length && (e.loopedSlides = n.length); const l = [], o = []; n.each(((t, s) => { const a = d(t); s < e.loopedSlides && o.push(t), s < n.length && s >= n.length - e.loopedSlides && l.push(t), a.attr("data-swiper-slide-index", s) })); for (let e = 0; e < o.length; e += 1)r.append(d(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass)); for (let e = l.length - 1; e >= 0; e -= 1)r.prepend(d(l[e].cloneNode(!0)).addClass(s.slideDuplicateClass)) }, loopFix: function () { const e = this; e.emit("beforeLoopFix"); const { activeIndex: t, slides: s, loopedSlides: a, allowSlidePrev: i, allowSlideNext: r, snapGrid: n, rtlTranslate: l } = e; let o; e.allowSlidePrev = !0, e.allowSlideNext = !0; const d = -n[t] - e.getTranslate(); if (t < a) { o = s.length - 3 * a + t, o += a; e.slideTo(o, 0, !1, !0) && 0 !== d && e.setTranslate((l ? -e.translate : e.translate) - d) } else if (t >= s.length - a) { o = -s.length + t + a, o += a; e.slideTo(o, 0, !1, !0) && 0 !== d && e.setTranslate((l ? -e.translate : e.translate) - d) } e.allowSlidePrev = i, e.allowSlideNext = r, e.emit("loopFix") }, loopDestroy: function () { const { $wrapperEl: e, params: t, slides: s } = this; e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(), s.removeAttr("data-swiper-slide-index") } }, grabCursor: { setGrabCursor: function (e) { const t = this; if (t.support.touch || !t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return; const s = "container" === t.params.touchEventsTarget ? t.el : t.wrapperEl; s.style.cursor = "move", s.style.cursor = e ? "-webkit-grabbing" : "-webkit-grab", s.style.cursor = e ? "-moz-grabbin" : "-moz-grab", s.style.cursor = e ? "grabbing" : "grab" }, unsetGrabCursor: function () { const e = this; e.support.touch || e.params.watchOverflow && e.isLocked || e.params.cssMode || (e["container" === e.params.touchEventsTarget ? "el" : "wrapperEl"].style.cursor = "") } }, events: { attachEvents: function () { const e = this, t = a(), { params: s, support: i } = e; e.onTouchStart = S.bind(e), e.onTouchMove = M.bind(e), e.onTouchEnd = P.bind(e), s.cssMode && (e.onScroll = O.bind(e)), e.onClick = z.bind(e), i.touch && !I && (t.addEventListener("touchstart", L), I = !0), A(e, "on") }, detachEvents: function () { A(this, "off") } }, breakpoints: { setBreakpoint: function () { const e = this, { activeIndex: t, initialized: s, loopedSlides: a = 0, params: i, $el: r } = e, n = i.breakpoints; if (!n || n && 0 === Object.keys(n).length) return; const l = e.getBreakpoint(n, e.params.breakpointsBase, e.el); if (!l || e.currentBreakpoint === l) return; const o = (l in n ? n[l] : void 0) || e.originalParams, d = D(e, i), p = D(e, o), c = i.enabled; d && !p ? (r.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`), e.emitContainerClasses()) : !d && p && (r.addClass(`${i.containerModifierClass}grid`), (o.grid.fill && "column" === o.grid.fill || !o.grid.fill && "column" === i.grid.fill) && r.addClass(`${i.containerModifierClass}grid-column`), e.emitContainerClasses()); const u = o.direction && o.direction !== i.direction, h = i.loop && (o.slidesPerView !== i.slidesPerView || u); u && s && e.changeDirection(), f(e.params, o); const m = e.params.enabled; Object.assign(e, { allowTouchMove: e.params.allowTouchMove, allowSlideNext: e.params.allowSlideNext, allowSlidePrev: e.params.allowSlidePrev }), c && !m ? e.disable() : !c && m && e.enable(), e.currentBreakpoint = l, e.emit("_beforeBreakpoint", o), h && s && (e.loopDestroy(), e.loopCreate(), e.updateSlides(), e.slideTo(t - a + e.loopedSlides, 0, !1)), e.emit("breakpoint", o) }, getBreakpoint: function (e, t = "window", s) { if (!e || "container" === t && !s) return; let a = !1; const i = r(), n = "window" === t ? i.innerHeight : s.clientHeight, l = Object.keys(e).map((e => { if ("string" == typeof e && 0 === e.indexOf("@")) { const t = parseFloat(e.substr(1)); return { value: n * t, point: e } } return { value: e, point: e } })); l.sort(((e, t) => parseInt(e.value, 10) - parseInt(t.value, 10))); for (let e = 0; e < l.length; e += 1) { const { point: r, value: n } = l[e]; "window" === t ? i.matchMedia(`(min-width: ${n}px)`).matches && (a = r) : n <= s.clientWidth && (a = r) } return a || "max" } }, checkOverflow: { checkOverflow: function () { const e = this, { isLocked: t, params: s } = e, { slidesOffsetBefore: a } = s; if (a) { const t = e.slides.length - 1, s = e.slidesGrid[t] + e.slidesSizesGrid[t] + 2 * a; e.isLocked = e.size > s } else e.isLocked = 1 === e.snapGrid.length; !0 === s.allowSlideNext && (e.allowSlideNext = !e.isLocked), !0 === s.allowSlidePrev && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock") } }, classes: { addClasses: function () { const e = this, { classNames: t, params: s, rtl: a, $el: i, device: r, support: n } = e, l = function (e, t) { const s = []; return e.forEach((e => { "object" == typeof e ? Object.keys(e).forEach((a => { e[a] && s.push(t + a) })) : "string" == typeof e && s.push(t + e) })), s }(["initialized", s.direction, { "pointer-events": !n.touch }, { "free-mode": e.params.freeMode && s.freeMode.enabled }, { autoheight: s.autoHeight }, { rtl: a }, { grid: s.grid && s.grid.rows > 1 }, { "grid-column": s.grid && s.grid.rows > 1 && "column" === s.grid.fill }, { android: r.android }, { ios: r.ios }, { "css-mode": s.cssMode }, { centered: s.cssMode && s.centeredSlides }], s.containerModifierClass); t.push(...l), i.addClass([...t].join(" ")), e.emitContainerClasses() }, removeClasses: function () { const { $el: e, classNames: t } = this; e.removeClass(t.join(" ")), this.emitContainerClasses() } }, images: { loadImage: function (e, t, s, a, i, n) { const l = r(); let o; function p() { n && n() } d(e).parent("picture")[0] || e.complete && i ? p() : t ? (o = new l.Image, o.onload = p, o.onerror = p, a && (o.sizes = a), s && (o.srcset = s), t && (o.src = t)) : p() }, preloadImages: function () { const e = this; function t() { null != e && e && !e.destroyed && (void 0 !== e.imagesLoaded && (e.imagesLoaded += 1), e.imagesLoaded === e.imagesToLoad.length && (e.params.updateOnImagesReady && e.update(), e.emit("imagesReady"))) } e.imagesToLoad = e.$el.find("img"); for (let s = 0; s < e.imagesToLoad.length; s += 1) { const a = e.imagesToLoad[s]; e.loadImage(a, a.currentSrc || a.getAttribute("src"), a.srcset || a.getAttribute("srcset"), a.sizes || a.getAttribute("sizes"), !0, t) } } } }, X = {}; class H { constructor(...e) { let t, s; if (1 === e.length && e[0].constructor && "Object" === Object.prototype.toString.call(e[0]).slice(8, -1) ? s = e[0] : [t, s] = e, s || (s = {}), s = f({}, s), t && !s.el && (s.el = t), s.el && d(s.el).length > 1) { const e = []; return d(s.el).each((t => { const a = f({}, s, { el: t }); e.push(new H(a)) })), e } const a = this; a.__swiper__ = !0, a.support = y(), a.device = E({ userAgent: s.userAgent }), a.browser = T(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], s.modules && Array.isArray(s.modules) && a.modules.push(...s.modules); const i = {}; a.modules.forEach((e => { e({ swiper: a, extendParams: N(s, i), on: a.on.bind(a), once: a.once.bind(a), off: a.off.bind(a), emit: a.emit.bind(a) }) })); const r = f({}, G, i); return a.params = f({}, r, X, s), a.originalParams = f({}, a.params), a.passedParams = f({}, s), a.params && a.params.on && Object.keys(a.params.on).forEach((e => { a.on(e, a.params.on[e]) })), a.params && a.params.onAny && a.onAny(a.params.onAny), a.$ = d, Object.assign(a, { enabled: a.params.enabled, el: t, classNames: [], slides: d(), slidesGrid: [], snapGrid: [], slidesSizesGrid: [], isHorizontal: () => "horizontal" === a.params.direction, isVertical: () => "vertical" === a.params.direction, activeIndex: 0, realIndex: 0, isBeginning: !0, isEnd: !1, translate: 0, previousTranslate: 0, progress: 0, velocity: 0, animating: !1, allowSlideNext: a.params.allowSlideNext, allowSlidePrev: a.params.allowSlidePrev, touchEvents: function () { const e = ["touchstart", "touchmove", "touchend", "touchcancel"], t = ["pointerdown", "pointermove", "pointerup"]; return a.touchEventsTouch = { start: e[0], move: e[1], end: e[2], cancel: e[3] }, a.touchEventsDesktop = { start: t[0], move: t[1], end: t[2] }, a.support.touch || !a.params.simulateTouch ? a.touchEventsTouch : a.touchEventsDesktop }(), touchEventsData: { isTouched: void 0, isMoved: void 0, allowTouchCallbacks: void 0, touchStartTime: void 0, isScrolling: void 0, currentTranslate: void 0, startTranslate: void 0, allowThresholdMove: void 0, focusableElements: a.params.focusableElements, lastClickTime: u(), clickTimeout: void 0, velocities: [], allowMomentumBounce: void 0, isTouchEvent: void 0, startMoving: void 0 }, allowClick: !0, allowTouchMove: a.params.allowTouchMove, touches: { startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0 }, imagesToLoad: [], imagesLoaded: 0 }), a.emit("_swiper"), a.params.init && a.init(), a } enable() { const e = this; e.enabled || (e.enabled = !0, e.params.grabCursor && e.setGrabCursor(), e.emit("enable")) } disable() { const e = this; e.enabled && (e.enabled = !1, e.params.grabCursor && e.unsetGrabCursor(), e.emit("disable")) } setProgress(e, t) { const s = this; e = Math.min(Math.max(e, 0), 1); const a = s.minTranslate(), i = (s.maxTranslate() - a) * e + a; s.translateTo(i, void 0 === t ? 0 : t), s.updateActiveIndex(), s.updateSlidesClasses() } emitContainerClasses() { const e = this; if (!e.params._emitClasses || !e.el) return; const t = e.el.className.split(" ").filter((t => 0 === t.indexOf("swiper") || 0 === t.indexOf(e.params.containerModifierClass))); e.emit("_containerClasses", t.join(" ")) } getSlideClasses(e) { const t = this; return e.className.split(" ").filter((e => 0 === e.indexOf("swiper-slide") || 0 === e.indexOf(t.params.slideClass))).join(" ") } emitSlidesClasses() { const e = this; if (!e.params._emitClasses || !e.el) return; const t = []; e.slides.each((s => { const a = e.getSlideClasses(s); t.push({ slideEl: s, classNames: a }), e.emit("_slideClass", s, a) })), e.emit("_slideClasses", t) } slidesPerViewDynamic(e = "current", t = !1) { const { params: s, slides: a, slidesGrid: i, slidesSizesGrid: r, size: n, activeIndex: l } = this; let o = 1; if (s.centeredSlides) { let e, t = a[l].swiperSlideSize; for (let s = l + 1; s < a.length; s += 1)a[s] && !e && (t += a[s].swiperSlideSize, o += 1, t > n && (e = !0)); for (let s = l - 1; s >= 0; s -= 1)a[s] && !e && (t += a[s].swiperSlideSize, o += 1, t > n && (e = !0)) } else if ("current" === e) for (let e = l + 1; e < a.length; e += 1) { (t ? i[e] + r[e] - i[l] < n : i[e] - i[l] < n) && (o += 1) } else for (let e = l - 1; e >= 0; e -= 1) { i[l] - i[e] < n && (o += 1) } return o } update() { const e = this; if (!e || e.destroyed) return; const { snapGrid: t, params: s } = e; function a() { const t = e.rtlTranslate ? -1 * e.translate : e.translate, s = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate()); e.setTranslate(s), e.updateActiveIndex(), e.updateSlidesClasses() } let i; s.breakpoints && e.setBreakpoint(), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.params.freeMode && e.params.freeMode.enabled ? (a(), e.params.autoHeight && e.updateAutoHeight()) : (i = ("auto" === e.params.slidesPerView || e.params.slidesPerView > 1) && e.isEnd && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0), i || a()), s.watchOverflow && t !== e.snapGrid && e.checkOverflow(), e.emit("update") } changeDirection(e, t = !0) { const s = this, a = s.params.direction; return e || (e = "horizontal" === a ? "vertical" : "horizontal"), e === a || "horizontal" !== e && "vertical" !== e || (s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`), s.emitContainerClasses(), s.params.direction = e, s.slides.each((t => { "vertical" === e ? t.style.width = "" : t.style.height = "" })), s.emit("changeDirection"), t && s.update()), s } mount(e) { const t = this; if (t.mounted) return !0; const s = d(e || t.params.el); if (!(e = s[0])) return !1; e.swiper = t; const i = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`; let r = (() => { if (e && e.shadowRoot && e.shadowRoot.querySelector) { const t = d(e.shadowRoot.querySelector(i())); return t.children = e => s.children(e), t } return s.children(i()) })(); if (0 === r.length && t.params.createElements) { const e = a().createElement("div"); r = d(e), e.className = t.params.wrapperClass, s.append(e), s.children(`.${t.params.slideClass}`).each((e => { r.append(e) })) } return Object.assign(t, { $el: s, el: e, $wrapperEl: r, wrapperEl: r[0], mounted: !0, rtl: "rtl" === e.dir.toLowerCase() || "rtl" === s.css("direction"), rtlTranslate: "horizontal" === t.params.direction && ("rtl" === e.dir.toLowerCase() || "rtl" === s.css("direction")), wrongRTL: "-webkit-box" === r.css("display") }), !0 } init(e) { const t = this; if (t.initialized) return t; return !1 === t.mount(e) || (t.emit("beforeInit"), t.params.breakpoints && t.setBreakpoint(), t.addClasses(), t.params.loop && t.loopCreate(), t.updateSize(), t.updateSlides(), t.params.watchOverflow && t.checkOverflow(), t.params.grabCursor && t.enabled && t.setGrabCursor(), t.params.preloadImages && t.preloadImages(), t.params.loop ? t.slideTo(t.params.initialSlide + t.loopedSlides, 0, t.params.runCallbacksOnInit, !1, !0) : t.slideTo(t.params.initialSlide, 0, t.params.runCallbacksOnInit, !1, !0), t.attachEvents(), t.initialized = !0, t.emit("init"), t.emit("afterInit")), t } destroy(e = !0, t = !0) { const s = this, { params: a, $el: i, $wrapperEl: r, slides: n } = s; return void 0 === s.params || s.destroyed || (s.emit("beforeDestroy"), s.initialized = !1, s.detachEvents(), a.loop && s.loopDestroy(), t && (s.removeClasses(), i.removeAttr("style"), r.removeAttr("style"), n && n.length && n.removeClass([a.slideVisibleClass, a.slideActiveClass, a.slideNextClass, a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((e => { s.off(e) })), !1 !== e && (s.$el[0].swiper = null, function (e) { const t = e; Object.keys(t).forEach((e => { try { t[e] = null } catch (e) { } try { delete t[e] } catch (e) { } })) }(s)), s.destroyed = !0), null } static extendDefaults(e) { f(X, e) } static get extendedDefaults() { return X } static get defaults() { return G } static installModule(e) { H.prototype.__modules__ || (H.prototype.__modules__ = []); const t = H.prototype.__modules__; "function" == typeof e && t.indexOf(e) < 0 && t.push(e) } static use(e) { return Array.isArray(e) ? (e.forEach((e => H.installModule(e))), H) : (H.installModule(e), H) } } function Y(e, t, s, i) { const r = a(); return e.params.createElements && Object.keys(i).forEach((a => { if (!s[a] && !0 === s.auto) { let n = e.$el.children(`.${i[a]}`)[0]; n || (n = r.createElement("div"), n.className = i[a], e.$el.append(n)), s[a] = n, t[a] = n } })), s } function W(e = "") { return `.${e.trim().replace(/([\.:!\/])/g, "\\$1").replace(/ /g, ".")}` } function R(e) { const t = this, { $wrapperEl: s, params: a } = t; if (a.loop && t.loopDestroy(), "object" == typeof e && "length" in e) for (let t = 0; t < e.length; t += 1)e[t] && s.append(e[t]); else s.append(e); a.loop && t.loopCreate(), a.observer || t.update() } function j(e) { const t = this, { params: s, $wrapperEl: a, activeIndex: i } = t; s.loop && t.loopDestroy(); let r = i + 1; if ("object" == typeof e && "length" in e) { for (let t = 0; t < e.length; t += 1)e[t] && a.prepend(e[t]); r = i + e.length } else a.prepend(e); s.loop && t.loopCreate(), s.observer || t.update(), t.slideTo(r, 0, !1) } function _(e, t) { const s = this, { $wrapperEl: a, params: i, activeIndex: r } = s; let n = r; i.loop && (n -= s.loopedSlides, s.loopDestroy(), s.slides = a.children(`.${i.slideClass}`)); const l = s.slides.length; if (e <= 0) return void s.prependSlide(t); if (e >= l) return void s.appendSlide(t); let o = n > e ? n + 1 : n; const d = []; for (let t = l - 1; t >= e; t -= 1) { const e = s.slides.eq(t); e.remove(), d.unshift(e) } if ("object" == typeof t && "length" in t) { for (let e = 0; e < t.length; e += 1)t[e] && a.append(t[e]); o = n > e ? n + t.length : n } else a.append(t); for (let e = 0; e < d.length; e += 1)a.append(d[e]); i.loop && s.loopCreate(), i.observer || s.update(), i.loop ? s.slideTo(o + s.loopedSlides, 0, !1) : s.slideTo(o, 0, !1) } function V(e) { const t = this, { params: s, $wrapperEl: a, activeIndex: i } = t; let r = i; s.loop && (r -= t.loopedSlides, t.loopDestroy(), t.slides = a.children(`.${s.slideClass}`)); let n, l = r; if ("object" == typeof e && "length" in e) { for (let s = 0; s < e.length; s += 1)n = e[s], t.slides[n] && t.slides.eq(n).remove(), n < l && (l -= 1); l = Math.max(l, 0) } else n = e, t.slides[n] && t.slides.eq(n).remove(), n < l && (l -= 1), l = Math.max(l, 0); s.loop && t.loopCreate(), s.observer || t.update(), s.loop ? t.slideTo(l + t.loopedSlides, 0, !1) : t.slideTo(l, 0, !1) } function q() { const e = this, t = []; for (let s = 0; s < e.slides.length; s += 1)t.push(s); e.removeSlide(t) } function F(e) { const { effect: t, swiper: s, on: a, setTranslate: i, setTransition: r, overwriteParams: n, perspective: l } = e; a("beforeInit", (() => { if (s.params.effect !== t) return; s.classNames.push(`${s.params.containerModifierClass}${t}`), l && l() && s.classNames.push(`${s.params.containerModifierClass}3d`); const e = n ? n() : {}; Object.assign(s.params, e), Object.assign(s.originalParams, e) })), a("setTranslate", (() => { s.params.effect === t && i() })), a("setTransition", ((e, a) => { s.params.effect === t && r(a) })) } function U(e, t) { return e.transformEl ? t.find(e.transformEl).css({ "backface-visibility": "hidden", "-webkit-backface-visibility": "hidden" }) : t } function K({ swiper: e, duration: t, transformEl: s, allSlides: a }) { const { slides: i, activeIndex: r, $wrapperEl: n } = e; if (e.params.virtualTranslate && 0 !== t) { let t, l = !1; t = a ? s ? i.find(s) : i : s ? i.eq(r).find(s) : i.eq(r), t.transitionEnd((() => { if (l) return; if (!e || e.destroyed) return; l = !0, e.animating = !1; const t = ["webkitTransitionEnd", "transitionend"]; for (let e = 0; e < t.length; e += 1)n.trigger(t[e]) })) } } function Z(e, t, s) { const a = "swiper-slide-shadow" + (s ? `-${s}` : ""), i = e.transformEl ? t.find(e.transformEl) : t; let r = i.children(`.${a}`); return r.length || (r = d(`
`), i.append(r)), r } Object.keys(B).forEach((e => { Object.keys(B[e]).forEach((t => { H.prototype[t] = B[e][t] })) })), H.use([function ({ swiper: e, on: t, emit: s }) { const a = r(); let i = null; const n = () => { e && !e.destroyed && e.initialized && (s("beforeResize"), s("resize")) }, l = () => { e && !e.destroyed && e.initialized && s("orientationchange") }; t("init", (() => { e.params.resizeObserver && void 0 !== a.ResizeObserver ? e && !e.destroyed && e.initialized && (i = new ResizeObserver((t => { const { width: s, height: a } = e; let i = s, r = a; t.forEach((({ contentBoxSize: t, contentRect: s, target: a }) => { a && a !== e.el || (i = s ? s.width : (t[0] || t).inlineSize, r = s ? s.height : (t[0] || t).blockSize) })), i === s && r === a || n() })), i.observe(e.el)) : (a.addEventListener("resize", n), a.addEventListener("orientationchange", l)) })), t("destroy", (() => { i && i.unobserve && e.el && (i.unobserve(e.el), i = null), a.removeEventListener("resize", n), a.removeEventListener("orientationchange", l) })) }, function ({ swiper: e, extendParams: t, on: s, emit: a }) { const i = [], n = r(), l = (e, t = {}) => { const s = new (n.MutationObserver || n.WebkitMutationObserver)((e => { if (1 === e.length) return void a("observerUpdate", e[0]); const t = function () { a("observerUpdate", e[0]) }; n.requestAnimationFrame ? n.requestAnimationFrame(t) : n.setTimeout(t, 0) })); s.observe(e, { attributes: void 0 === t.attributes || t.attributes, childList: void 0 === t.childList || t.childList, characterData: void 0 === t.characterData || t.characterData }), i.push(s) }; t({ observer: !1, observeParents: !1, observeSlideChildren: !1 }), s("init", (() => { if (e.params.observer) { if (e.params.observeParents) { const t = e.$el.parents(); for (let e = 0; e < t.length; e += 1)l(t[e]) } l(e.$el[0], { childList: e.params.observeSlideChildren }), l(e.$wrapperEl[0], { attributes: !1 }) } })), s("destroy", (() => { i.forEach((e => { e.disconnect() })), i.splice(0, i.length) })) }]); const J = [function ({ swiper: e, extendParams: t, on: s }) { let a; function i(t, s) { const a = e.params.virtual; if (a.cache && e.virtual.cache[s]) return e.virtual.cache[s]; const i = a.renderSlide ? d(a.renderSlide.call(e, t, s)) : d(`${t}
`); return i.attr("data-swiper-slide-index") || i.attr("data-swiper-slide-index", s), a.cache && (e.virtual.cache[s] = i), i } function r(t) { const { slidesPerView: s, slidesPerGroup: a, centeredSlides: r } = e.params, { addSlidesBefore: n, addSlidesAfter: l } = e.params.virtual, { from: o, to: d, slides: p, slidesGrid: c, offset: u } = e.virtual; e.params.cssMode || e.updateActiveIndex(); const h = e.activeIndex || 0; let m, f, g; m = e.rtlTranslate ? "right" : e.isHorizontal() ? "left" : "top", r ? (f = Math.floor(s / 2) + a + l, g = Math.floor(s / 2) + a + n) : (f = s + (a - 1) + l, g = a + n); const v = Math.max((h || 0) - g, 0), w = Math.min((h || 0) + f, p.length - 1), b = (e.slidesGrid[v] || 0) - (e.slidesGrid[0] || 0); function x() { e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.lazy && e.params.lazy.enabled && e.lazy.load() } if (Object.assign(e.virtual, { from: v, to: w, offset: b, slidesGrid: e.slidesGrid }), o === v && d === w && !t) return e.slidesGrid !== c && b !== u && e.slides.css(m, `${b}px`), void e.updateProgress(); if (e.params.virtual.renderExternal) return e.params.virtual.renderExternal.call(e, { offset: b, from: v, to: w, slides: function () { const e = []; for (let t = v; t <= w; t += 1)e.push(p[t]); return e }() }), void (e.params.virtual.renderExternalUpdate && x()); const y = [], E = []; if (t) e.$wrapperEl.find(`.${e.params.slideClass}`).remove(); else for (let t = o; t <= d; t += 1)(t < v || t > w) && e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove(); for (let e = 0; e < p.length; e += 1)e >= v && e <= w && (void 0 === d || t ? E.push(e) : (e > d && E.push(e), e < o && y.push(e))); E.forEach((t => { e.$wrapperEl.append(i(p[t], t)) })), y.sort(((e, t) => t - e)).forEach((t => { e.$wrapperEl.prepend(i(p[t], t)) })), e.$wrapperEl.children(".swiper-slide").css(m, `${b}px`), x() } t({ virtual: { enabled: !1, slides: [], cache: !0, renderSlide: null, renderExternal: null, renderExternalUpdate: !0, addSlidesBefore: 0, addSlidesAfter: 0 } }), e.virtual = { cache: {}, from: void 0, to: void 0, slides: [], offset: 0, slidesGrid: [] }, s("beforeInit", (() => { e.params.virtual.enabled && (e.virtual.slides = e.params.virtual.slides, e.classNames.push(`${e.params.containerModifierClass}virtual`), e.params.watchSlidesProgress = !0, e.originalParams.watchSlidesProgress = !0, e.params.initialSlide || r()) })), s("setTranslate", (() => { e.params.virtual.enabled && (e.params.cssMode && !e._immediateVirtual ? (clearTimeout(a), a = setTimeout((() => { r() }), 100)) : r()) })), s("init update resize", (() => { e.params.virtual.enabled && e.params.cssMode && g(e.wrapperEl, "--swiper-virtual-size", `${e.virtualSize}px`) })), Object.assign(e.virtual, { appendSlide: function (t) { if ("object" == typeof t && "length" in t) for (let s = 0; s < t.length; s += 1)t[s] && e.virtual.slides.push(t[s]); else e.virtual.slides.push(t); r(!0) }, prependSlide: function (t) { const s = e.activeIndex; let a = s + 1, i = 1; if (Array.isArray(t)) { for (let s = 0; s < t.length; s += 1)t[s] && e.virtual.slides.unshift(t[s]); a = s + t.length, i = t.length } else e.virtual.slides.unshift(t); if (e.params.virtual.cache) { const t = e.virtual.cache, s = {}; Object.keys(t).forEach((e => { const a = t[e], r = a.attr("data-swiper-slide-index"); r && a.attr("data-swiper-slide-index", parseInt(r, 10) + i), s[parseInt(e, 10) + i] = a })), e.virtual.cache = s } r(!0), e.slideTo(a, 0) }, removeSlide: function (t) { if (null == t) return; let s = e.activeIndex; if (Array.isArray(t)) for (let a = t.length - 1; a >= 0; a -= 1)e.virtual.slides.splice(t[a], 1), e.params.virtual.cache && delete e.virtual.cache[t[a]], t[a] < s && (s -= 1), s = Math.max(s, 0); else e.virtual.slides.splice(t, 1), e.params.virtual.cache && delete e.virtual.cache[t], t < s && (s -= 1), s = Math.max(s, 0); r(!0), e.slideTo(s, 0) }, removeAllSlides: function () { e.virtual.slides = [], e.params.virtual.cache && (e.virtual.cache = {}), r(!0), e.slideTo(0, 0) }, update: r }) }, function ({ swiper: e, extendParams: t, on: s, emit: i }) { const n = a(), l = r(); function o(t) { if (!e.enabled) return; const { rtlTranslate: s } = e; let a = t; a.originalEvent && (a = a.originalEvent); const r = a.keyCode || a.charCode, o = e.params.keyboard.pageUpDown, d = o && 33 === r, p = o && 34 === r, c = 37 === r, u = 39 === r, h = 38 === r, m = 40 === r; if (!e.allowSlideNext && (e.isHorizontal() && u || e.isVertical() && m || p)) return !1; if (!e.allowSlidePrev && (e.isHorizontal() && c || e.isVertical() && h || d)) return !1; if (!(a.shiftKey || a.altKey || a.ctrlKey || a.metaKey || n.activeElement && n.activeElement.nodeName && ("input" === n.activeElement.nodeName.toLowerCase() || "textarea" === n.activeElement.nodeName.toLowerCase()))) { if (e.params.keyboard.onlyInViewport && (d || p || c || u || h || m)) { let t = !1; if (e.$el.parents(`.${e.params.slideClass}`).length > 0 && 0 === e.$el.parents(`.${e.params.slideActiveClass}`).length) return; const a = e.$el, i = a[0].clientWidth, r = a[0].clientHeight, n = l.innerWidth, o = l.innerHeight, d = e.$el.offset(); s && (d.left -= e.$el[0].scrollLeft); const p = [[d.left, d.top], [d.left + i, d.top], [d.left, d.top + r], [d.left + i, d.top + r]]; for (let e = 0; e < p.length; e += 1) { const s = p[e]; if (s[0] >= 0 && s[0] <= n && s[1] >= 0 && s[1] <= o) { if (0 === s[0] && 0 === s[1]) continue; t = !0 } } if (!t) return } e.isHorizontal() ? ((d || p || c || u) && (a.preventDefault ? a.preventDefault() : a.returnValue = !1), ((p || u) && !s || (d || c) && s) && e.slideNext(), ((d || c) && !s || (p || u) && s) && e.slidePrev()) : ((d || p || h || m) && (a.preventDefault ? a.preventDefault() : a.returnValue = !1), (p || m) && e.slideNext(), (d || h) && e.slidePrev()), i("keyPress", r) } } function p() { e.keyboard.enabled || (d(n).on("keydown", o), e.keyboard.enabled = !0) } function c() { e.keyboard.enabled && (d(n).off("keydown", o), e.keyboard.enabled = !1) } e.keyboard = { enabled: !1 }, t({ keyboard: { enabled: !1, onlyInViewport: !0, pageUpDown: !0 } }), s("init", (() => { e.params.keyboard.enabled && p() })), s("destroy", (() => { e.keyboard.enabled && c() })), Object.assign(e.keyboard, { enable: p, disable: c }) }, function ({ swiper: e, extendParams: t, on: s, emit: a }) { const i = r(); let n; t({ mousewheel: { enabled: !1, releaseOnEdges: !1, invert: !1, forceToAxis: !1, sensitivity: 1, eventsTarget: "container", thresholdDelta: null, thresholdTime: null } }), e.mousewheel = { enabled: !1 }; let l, o = u(); const p = []; function h() { e.enabled && (e.mouseEntered = !0) } function m() { e.enabled && (e.mouseEntered = !1) } function f(t) { return !(e.params.mousewheel.thresholdDelta && t.delta < e.params.mousewheel.thresholdDelta) && (!(e.params.mousewheel.thresholdTime && u() - o < e.params.mousewheel.thresholdTime) && (t.delta >= 6 && u() - o < 60 || (t.direction < 0 ? e.isEnd && !e.params.loop || e.animating || (e.slideNext(), a("scroll", t.raw)) : e.isBeginning && !e.params.loop || e.animating || (e.slidePrev(), a("scroll", t.raw)), o = (new i.Date).getTime(), !1))) } function g(t) { let s = t, i = !0; if (!e.enabled) return; const r = e.params.mousewheel; e.params.cssMode && s.preventDefault(); let o = e.$el; if ("container" !== e.params.mousewheel.eventsTarget && (o = d(e.params.mousewheel.eventsTarget)), !e.mouseEntered && !o[0].contains(s.target) && !r.releaseOnEdges) return !0; s.originalEvent && (s = s.originalEvent); let h = 0; const m = e.rtlTranslate ? -1 : 1, g = function (e) { let t = 0, s = 0, a = 0, i = 0; return "detail" in e && (s = e.detail), "wheelDelta" in e && (s = -e.wheelDelta / 120), "wheelDeltaY" in e && (s = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = s, s = 0), a = 10 * t, i = 10 * s, "deltaY" in e && (i = e.deltaY), "deltaX" in e && (a = e.deltaX), e.shiftKey && !a && (a = i, i = 0), (a || i) && e.deltaMode && (1 === e.deltaMode ? (a *= 40, i *= 40) : (a *= 800, i *= 800)), a && !t && (t = a < 1 ? -1 : 1), i && !s && (s = i < 1 ? -1 : 1), { spinX: t, spinY: s, pixelX: a, pixelY: i } }(s); if (r.forceToAxis) if (e.isHorizontal()) { if (!(Math.abs(g.pixelX) > Math.abs(g.pixelY))) return !0; h = -g.pixelX * m } else { if (!(Math.abs(g.pixelY) > Math.abs(g.pixelX))) return !0; h = -g.pixelY } else h = Math.abs(g.pixelX) > Math.abs(g.pixelY) ? -g.pixelX * m : -g.pixelY; if (0 === h) return !0; r.invert && (h = -h); let v = e.getTranslate() + h * r.sensitivity; if (v >= e.minTranslate() && (v = e.minTranslate()), v <= e.maxTranslate() && (v = e.maxTranslate()), i = !!e.params.loop || !(v === e.minTranslate() || v === e.maxTranslate()), i && e.params.nested && s.stopPropagation(), e.params.freeMode && e.params.freeMode.enabled) { const t = { time: u(), delta: Math.abs(h), direction: Math.sign(h) }, i = l && t.time < l.time + 500 && t.delta <= l.delta && t.direction === l.direction; if (!i) { l = void 0, e.params.loop && e.loopFix(); let o = e.getTranslate() + h * r.sensitivity; const d = e.isBeginning, u = e.isEnd; if (o >= e.minTranslate() && (o = e.minTranslate()), o <= e.maxTranslate() && (o = e.maxTranslate()), e.setTransition(0), e.setTranslate(o), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!d && e.isBeginning || !u && e.isEnd) && e.updateSlidesClasses(), e.params.freeMode.sticky) { clearTimeout(n), n = void 0, p.length >= 15 && p.shift(); const s = p.length ? p[p.length - 1] : void 0, a = p[0]; if (p.push(t), s && (t.delta > s.delta || t.direction !== s.direction)) p.splice(0); else if (p.length >= 15 && t.time - a.time < 500 && a.delta - t.delta >= 1 && t.delta <= 6) { const s = h > 0 ? .8 : .2; l = t, p.splice(0), n = c((() => { e.slideToClosest(e.params.speed, !0, void 0, s) }), 0) } n || (n = c((() => { l = t, p.splice(0), e.slideToClosest(e.params.speed, !0, void 0, .5) }), 500)) } if (i || a("scroll", s), e.params.autoplay && e.params.autoplayDisableOnInteraction && e.autoplay.stop(), o === e.minTranslate() || o === e.maxTranslate()) return !0 } } else { const s = { time: u(), delta: Math.abs(h), direction: Math.sign(h), raw: t }; p.length >= 2 && p.shift(); const a = p.length ? p[p.length - 1] : void 0; if (p.push(s), a ? (s.direction !== a.direction || s.delta > a.delta || s.time > a.time + 150) && f(s) : f(s), function (t) { const s = e.params.mousewheel; if (t.direction < 0) { if (e.isEnd && !e.params.loop && s.releaseOnEdges) return !0 } else if (e.isBeginning && !e.params.loop && s.releaseOnEdges) return !0; return !1 }(s)) return !0 } return s.preventDefault ? s.preventDefault() : s.returnValue = !1, !1 } function v(t) { let s = e.$el; "container" !== e.params.mousewheel.eventsTarget && (s = d(e.params.mousewheel.eventsTarget)), s[t]("mouseenter", h), s[t]("mouseleave", m), s[t]("wheel", g) } function w() { return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", g), !0) : !e.mousewheel.enabled && (v("on"), e.mousewheel.enabled = !0, !0) } function b() { return e.params.cssMode ? (e.wrapperEl.addEventListener(event, g), !0) : !!e.mousewheel.enabled && (v("off"), e.mousewheel.enabled = !1, !0) } s("init", (() => { !e.params.mousewheel.enabled && e.params.cssMode && b(), e.params.mousewheel.enabled && w() })), s("destroy", (() => { e.params.cssMode && w(), e.mousewheel.enabled && b() })), Object.assign(e.mousewheel, { enable: w, disable: b }) }, function ({ swiper: e, extendParams: t, on: s, emit: a }) { function i(t) { let s; return t && (s = d(t), e.params.uniqueNavElements && "string" == typeof t && s.length > 1 && 1 === e.$el.find(t).length && (s = e.$el.find(t))), s } function r(t, s) { const a = e.params.navigation; t && t.length > 0 && (t[s ? "addClass" : "removeClass"](a.disabledClass), t[0] && "BUTTON" === t[0].tagName && (t[0].disabled = s), e.params.watchOverflow && e.enabled && t[e.isLocked ? "addClass" : "removeClass"](a.lockClass)) } function n() { if (e.params.loop) return; const { $nextEl: t, $prevEl: s } = e.navigation; r(s, e.isBeginning && !e.params.rewind), r(t, e.isEnd && !e.params.rewind) } function l(t) { t.preventDefault(), (!e.isBeginning || e.params.loop || e.params.rewind) && e.slidePrev() } function o(t) { t.preventDefault(), (!e.isEnd || e.params.loop || e.params.rewind) && e.slideNext() } function p() { const t = e.params.navigation; if (e.params.navigation = Y(e, e.originalParams.navigation, e.params.navigation, { nextEl: "swiper-button-next", prevEl: "swiper-button-prev" }), !t.nextEl && !t.prevEl) return; const s = i(t.nextEl), a = i(t.prevEl); s && s.length > 0 && s.on("click", o), a && a.length > 0 && a.on("click", l), Object.assign(e.navigation, { $nextEl: s, nextEl: s && s[0], $prevEl: a, prevEl: a && a[0] }), e.enabled || (s && s.addClass(t.lockClass), a && a.addClass(t.lockClass)) } function c() { const { $nextEl: t, $prevEl: s } = e.navigation; t && t.length && (t.off("click", o), t.removeClass(e.params.navigation.disabledClass)), s && s.length && (s.off("click", l), s.removeClass(e.params.navigation.disabledClass)) } t({ navigation: { nextEl: null, prevEl: null, hideOnClick: !1, disabledClass: "swiper-button-disabled", hiddenClass: "swiper-button-hidden", lockClass: "swiper-button-lock" } }), e.navigation = { nextEl: null, $nextEl: null, prevEl: null, $prevEl: null }, s("init", (() => { p(), n() })), s("toEdge fromEdge lock unlock", (() => { n() })), s("destroy", (() => { c() })), s("enable disable", (() => { const { $nextEl: t, $prevEl: s } = e.navigation; t && t[e.enabled ? "removeClass" : "addClass"](e.params.navigation.lockClass), s && s[e.enabled ? "removeClass" : "addClass"](e.params.navigation.lockClass) })), s("click", ((t, s) => { const { $nextEl: i, $prevEl: r } = e.navigation, n = s.target; if (e.params.navigation.hideOnClick && !d(n).is(r) && !d(n).is(i)) { if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === n || e.pagination.el.contains(n))) return; let t; i ? t = i.hasClass(e.params.navigation.hiddenClass) : r && (t = r.hasClass(e.params.navigation.hiddenClass)), a(!0 === t ? "navigationShow" : "navigationHide"), i && i.toggleClass(e.params.navigation.hiddenClass), r && r.toggleClass(e.params.navigation.hiddenClass) } })), Object.assign(e.navigation, { update: n, init: p, destroy: c }) }, function ({ swiper: e, extendParams: t, on: s, emit: a }) { const i = "swiper-pagination"; let r; t({ pagination: { el: null, bulletElement: "span", clickable: !1, hideOnClick: !1, renderBullet: null, renderProgressbar: null, renderFraction: null, renderCustom: null, progressbarOpposite: !1, type: "bullets", dynamicBullets: !1, dynamicMainBullets: 1, formatFractionCurrent: e => e, formatFractionTotal: e => e, bulletClass: `${i}-bullet`, bulletActiveClass: `${i}-bullet-active`, modifierClass: `${i}-`, currentClass: `${i}-current`, totalClass: `${i}-total`, hiddenClass: `${i}-hidden`, progressbarFillClass: `${i}-progressbar-fill`, progressbarOppositeClass: `${i}-progressbar-opposite`, clickableClass: `${i}-clickable`, lockClass: `${i}-lock`, horizontalClass: `${i}-horizontal`, verticalClass: `${i}-vertical` } }), e.pagination = { el: null, $el: null, bullets: [] }; let n = 0; function l() { return !e.params.pagination.el || !e.pagination.el || !e.pagination.$el || 0 === e.pagination.$el.length } function o(t, s) { const { bulletActiveClass: a } = e.params.pagination; t[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`) } function p() { const t = e.rtl, s = e.params.pagination; if (l()) return; const i = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, p = e.pagination.$el; let c; const u = e.params.loop ? Math.ceil((i - 2 * e.loopedSlides) / e.params.slidesPerGroup) : e.snapGrid.length; if (e.params.loop ? (c = Math.ceil((e.activeIndex - e.loopedSlides) / e.params.slidesPerGroup), c > i - 1 - 2 * e.loopedSlides && (c -= i - 2 * e.loopedSlides), c > u - 1 && (c -= u), c < 0 && "bullets" !== e.params.paginationType && (c = u + c)) : c = void 0 !== e.snapIndex ? e.snapIndex : e.activeIndex || 0, "bullets" === s.type && e.pagination.bullets && e.pagination.bullets.length > 0) { const a = e.pagination.bullets; let i, l, u; if (s.dynamicBullets && (r = a.eq(0)[e.isHorizontal() ? "outerWidth" : "outerHeight"](!0), p.css(e.isHorizontal() ? "width" : "height", r * (s.dynamicMainBullets + 4) + "px"), s.dynamicMainBullets > 1 && void 0 !== e.previousIndex && (n += c - (e.previousIndex - e.loopedSlides || 0), n > s.dynamicMainBullets - 1 ? n = s.dynamicMainBullets - 1 : n < 0 && (n = 0)), i = Math.max(c - n, 0), l = i + (Math.min(a.length, s.dynamicMainBullets) - 1), u = (l + i) / 2), a.removeClass(["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((e => `${s.bulletActiveClass}${e}`)).join(" ")), p.length > 1) a.each((e => { const t = d(e), a = t.index(); a === c && t.addClass(s.bulletActiveClass), s.dynamicBullets && (a >= i && a <= l && t.addClass(`${s.bulletActiveClass}-main`), a === i && o(t, "prev"), a === l && o(t, "next")) })); else { const t = a.eq(c), r = t.index(); if (t.addClass(s.bulletActiveClass), s.dynamicBullets) { const t = a.eq(i), n = a.eq(l); for (let e = i; e <= l; e += 1)a.eq(e).addClass(`${s.bulletActiveClass}-main`); if (e.params.loop) if (r >= a.length) { for (let e = s.dynamicMainBullets; e >= 0; e -= 1)a.eq(a.length - e).addClass(`${s.bulletActiveClass}-main`); a.eq(a.length - s.dynamicMainBullets - 1).addClass(`${s.bulletActiveClass}-prev`) } else o(t, "prev"), o(n, "next"); else o(t, "prev"), o(n, "next") } } if (s.dynamicBullets) { const i = Math.min(a.length, s.dynamicMainBullets + 4), n = (r * i - r) / 2 - u * r, l = t ? "right" : "left"; a.css(e.isHorizontal() ? l : "top", `${n}px`) } } if ("fraction" === s.type && (p.find(W(s.currentClass)).text(s.formatFractionCurrent(c + 1)), p.find(W(s.totalClass)).text(s.formatFractionTotal(u))), "progressbar" === s.type) { let t; t = s.progressbarOpposite ? e.isHorizontal() ? "vertical" : "horizontal" : e.isHorizontal() ? "horizontal" : "vertical"; const a = (c + 1) / u; let i = 1, r = 1; "horizontal" === t ? i = a : r = a, p.find(W(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${r})`).transition(e.params.speed) } "custom" === s.type && s.renderCustom ? (p.html(s.renderCustom(e, c + 1, u)), a("paginationRender", p[0])) : a("paginationUpdate", p[0]), e.params.watchOverflow && e.enabled && p[e.isLocked ? "addClass" : "removeClass"](s.lockClass) } function c() { const t = e.params.pagination; if (l()) return; const s = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, i = e.pagination.$el; let r = ""; if ("bullets" === t.type) { let a = e.params.loop ? Math.ceil((s - 2 * e.loopedSlides) / e.params.slidesPerGroup) : e.snapGrid.length; e.params.freeMode && e.params.freeMode.enabled && !e.params.loop && a > s && (a = s); for (let s = 0; s < a; s += 1)t.renderBullet ? r += t.renderBullet.call(e, s, t.bulletClass) : r += `<${t.bulletElement} class="${t.bulletClass}">${t.bulletElement}>`; i.html(r), e.pagination.bullets = i.find(W(t.bulletClass)) } "fraction" === t.type && (r = t.renderFraction ? t.renderFraction.call(e, t.currentClass, t.totalClass) : ` / `, i.html(r)), "progressbar" === t.type && (r = t.renderProgressbar ? t.renderProgressbar.call(e, t.progressbarFillClass) : ` `, i.html(r)), "custom" !== t.type && a("paginationRender", e.pagination.$el[0]) } function u() { e.params.pagination = Y(e, e.originalParams.pagination, e.params.pagination, { el: "swiper-pagination" }); const t = e.params.pagination; if (!t.el) return; let s = d(t.el); 0 !== s.length && (e.params.uniqueNavElements && "string" == typeof t.el && s.length > 1 && (s = e.$el.find(t.el), s.length > 1 && (s = s.filter((t => d(t).parents(".swiper")[0] === e.el)))), "bullets" === t.type && t.clickable && s.addClass(t.clickableClass), s.addClass(t.modifierClass + t.type), s.addClass(t.modifierClass + e.params.direction), "bullets" === t.type && t.dynamicBullets && (s.addClass(`${t.modifierClass}${t.type}-dynamic`), n = 0, t.dynamicMainBullets < 1 && (t.dynamicMainBullets = 1)), "progressbar" === t.type && t.progressbarOpposite && s.addClass(t.progressbarOppositeClass), t.clickable && s.on("click", W(t.bulletClass), (function (t) { t.preventDefault(); let s = d(this).index() * e.params.slidesPerGroup; e.params.loop && (s += e.loopedSlides), e.slideTo(s) })), Object.assign(e.pagination, { $el: s, el: s[0] }), e.enabled || s.addClass(t.lockClass)) } function h() { const t = e.params.pagination; if (l()) return; const s = e.pagination.$el; s.removeClass(t.hiddenClass), s.removeClass(t.modifierClass + t.type), s.removeClass(t.modifierClass + e.params.direction), e.pagination.bullets && e.pagination.bullets.removeClass && e.pagination.bullets.removeClass(t.bulletActiveClass), t.clickable && s.off("click", W(t.bulletClass)) } s("init", (() => { u(), c(), p() })), s("activeIndexChange", (() => { (e.params.loop || void 0 === e.snapIndex) && p() })), s("snapIndexChange", (() => { e.params.loop || p() })), s("slidesLengthChange", (() => { e.params.loop && (c(), p()) })), s("snapGridLengthChange", (() => { e.params.loop || (c(), p()) })), s("destroy", (() => { h() })), s("enable disable", (() => { const { $el: t } = e.pagination; t && t[e.enabled ? "removeClass" : "addClass"](e.params.pagination.lockClass) })), s("lock unlock", (() => { p() })), s("click", ((t, s) => { const i = s.target, { $el: r } = e.pagination; if (e.params.pagination.el && e.params.pagination.hideOnClick && r.length > 0 && !d(i).hasClass(e.params.pagination.bulletClass)) { if (e.navigation && (e.navigation.nextEl && i === e.navigation.nextEl || e.navigation.prevEl && i === e.navigation.prevEl)) return; const t = r.hasClass(e.params.pagination.hiddenClass); a(!0 === t ? "paginationShow" : "paginationHide"), r.toggleClass(e.params.pagination.hiddenClass) } })), Object.assign(e.pagination, { render: c, update: p, init: u, destroy: h }) }, function ({ swiper: e, extendParams: t, on: s, emit: i }) { const r = a(); let n, l, o, p, u = !1, h = null, m = null; function f() { if (!e.params.scrollbar.el || !e.scrollbar.el) return; const { scrollbar: t, rtlTranslate: s, progress: a } = e, { $dragEl: i, $el: r } = t, n = e.params.scrollbar; let d = l, p = (o - l) * a; s ? (p = -p, p > 0 ? (d = l - p, p = 0) : -p + l > o && (d = o + p)) : p < 0 ? (d = l + p, p = 0) : p + l > o && (d = o - p), e.isHorizontal() ? (i.transform(`translate3d(${p}px, 0, 0)`), i[0].style.width = `${d}px`) : (i.transform(`translate3d(0px, ${p}px, 0)`), i[0].style.height = `${d}px`), n.hide && (clearTimeout(h), r[0].style.opacity = 1, h = setTimeout((() => { r[0].style.opacity = 0, r.transition(400) }), 1e3)) } function g() { if (!e.params.scrollbar.el || !e.scrollbar.el) return; const { scrollbar: t } = e, { $dragEl: s, $el: a } = t; s[0].style.width = "", s[0].style.height = "", o = e.isHorizontal() ? a[0].offsetWidth : a[0].offsetHeight, p = e.size / (e.virtualSize + e.params.slidesOffsetBefore - (e.params.centeredSlides ? e.snapGrid[0] : 0)), l = "auto" === e.params.scrollbar.dragSize ? o * p : parseInt(e.params.scrollbar.dragSize, 10), e.isHorizontal() ? s[0].style.width = `${l}px` : s[0].style.height = `${l}px`, a[0].style.display = p >= 1 ? "none" : "", e.params.scrollbar.hide && (a[0].style.opacity = 0), e.params.watchOverflow && e.enabled && t.$el[e.isLocked ? "addClass" : "removeClass"](e.params.scrollbar.lockClass) } function v(t) { return e.isHorizontal() ? "touchstart" === t.type || "touchmove" === t.type ? t.targetTouches[0].clientX : t.clientX : "touchstart" === t.type || "touchmove" === t.type ? t.targetTouches[0].clientY : t.clientY } function w(t) { const { scrollbar: s, rtlTranslate: a } = e, { $el: i } = s; let r; r = (v(t) - i.offset()[e.isHorizontal() ? "left" : "top"] - (null !== n ? n : l / 2)) / (o - l), r = Math.max(Math.min(r, 1), 0), a && (r = 1 - r); const d = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * r; e.updateProgress(d), e.setTranslate(d), e.updateActiveIndex(), e.updateSlidesClasses() } function b(t) { const s = e.params.scrollbar, { scrollbar: a, $wrapperEl: r } = e, { $el: l, $dragEl: o } = a; u = !0, n = t.target === o[0] || t.target === o ? v(t) - t.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, t.preventDefault(), t.stopPropagation(), r.transition(100), o.transition(100), w(t), clearTimeout(m), l.transition(0), s.hide && l.css("opacity", 1), e.params.cssMode && e.$wrapperEl.css("scroll-snap-type", "none"), i("scrollbarDragStart", t) } function x(t) { const { scrollbar: s, $wrapperEl: a } = e, { $el: r, $dragEl: n } = s; u && (t.preventDefault ? t.preventDefault() : t.returnValue = !1, w(t), a.transition(0), r.transition(0), n.transition(0), i("scrollbarDragMove", t)) } function y(t) { const s = e.params.scrollbar, { scrollbar: a, $wrapperEl: r } = e, { $el: n } = a; u && (u = !1, e.params.cssMode && (e.$wrapperEl.css("scroll-snap-type", ""), r.transition("")), s.hide && (clearTimeout(m), m = c((() => { n.css("opacity", 0), n.transition(400) }), 1e3)), i("scrollbarDragEnd", t), s.snapOnRelease && e.slideToClosest()) } function E(t) { const { scrollbar: s, touchEventsTouch: a, touchEventsDesktop: i, params: n, support: l } = e, o = s.$el[0], d = !(!l.passiveListener || !n.passiveListeners) && { passive: !1, capture: !1 }, p = !(!l.passiveListener || !n.passiveListeners) && { passive: !0, capture: !1 }; if (!o) return; const c = "on" === t ? "addEventListener" : "removeEventListener"; l.touch ? (o[c](a.start, b, d), o[c](a.move, x, d), o[c](a.end, y, p)) : (o[c](i.start, b, d), r[c](i.move, x, d), r[c](i.end, y, p)) } function T() { const { scrollbar: t, $el: s } = e; e.params.scrollbar = Y(e, e.originalParams.scrollbar, e.params.scrollbar, { el: "swiper-scrollbar" }); const a = e.params.scrollbar; if (!a.el) return; let i = d(a.el); e.params.uniqueNavElements && "string" == typeof a.el && i.length > 1 && 1 === s.find(a.el).length && (i = s.find(a.el)); let r = i.find(`.${e.params.scrollbar.dragClass}`); 0 === r.length && (r = d(`
`), i.append(r)), Object.assign(t, { $el: i, el: i[0], $dragEl: r, dragEl: r[0] }), a.draggable && e.params.scrollbar.el && E("on"), i && i[e.enabled ? "removeClass" : "addClass"](e.params.scrollbar.lockClass) } function C() { e.params.scrollbar.el && E("off") } t({ scrollbar: { el: null, dragSize: "auto", hide: !1, draggable: !1, snapOnRelease: !0, lockClass: "swiper-scrollbar-lock", dragClass: "swiper-scrollbar-drag" } }), e.scrollbar = { el: null, dragEl: null, $el: null, $dragEl: null }, s("init", (() => { T(), g(), f() })), s("update resize observerUpdate lock unlock", (() => { g() })), s("setTranslate", (() => { f() })), s("setTransition", ((t, s) => { !function (t) { e.params.scrollbar.el && e.scrollbar.el && e.scrollbar.$dragEl.transition(t) }(s) })), s("enable disable", (() => { const { $el: t } = e.scrollbar; t && t[e.enabled ? "removeClass" : "addClass"](e.params.scrollbar.lockClass) })), s("destroy", (() => { C() })), Object.assign(e.scrollbar, { updateSize: g, setTranslate: f, init: T, destroy: C }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ parallax: { enabled: !1 } }); const a = (t, s) => { const { rtl: a } = e, i = d(t), r = a ? -1 : 1, n = i.attr("data-swiper-parallax") || "0"; let l = i.attr("data-swiper-parallax-x"), o = i.attr("data-swiper-parallax-y"); const p = i.attr("data-swiper-parallax-scale"), c = i.attr("data-swiper-parallax-opacity"); if (l || o ? (l = l || "0", o = o || "0") : e.isHorizontal() ? (l = n, o = "0") : (o = n, l = "0"), l = l.indexOf("%") >= 0 ? parseInt(l, 10) * s * r + "%" : l * s * r + "px", o = o.indexOf("%") >= 0 ? parseInt(o, 10) * s + "%" : o * s + "px", null != c) { const e = c - (c - 1) * (1 - Math.abs(s)); i[0].style.opacity = e } if (null == p) i.transform(`translate3d(${l}, ${o}, 0px)`); else { const e = p - (p - 1) * (1 - Math.abs(s)); i.transform(`translate3d(${l}, ${o}, 0px) scale(${e})`) } }, i = () => { const { $el: t, slides: s, progress: i, snapGrid: r } = e; t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e => { a(e, i) })), s.each(((t, s) => { let n = t.progress; e.params.slidesPerGroup > 1 && "auto" !== e.params.slidesPerView && (n += Math.ceil(s / 2) - i * (r.length - 1)), n = Math.min(Math.max(n, -1), 1), d(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e => { a(e, n) })) })) }; s("beforeInit", (() => { e.params.parallax.enabled && (e.params.watchSlidesProgress = !0, e.originalParams.watchSlidesProgress = !0) })), s("init", (() => { e.params.parallax.enabled && i() })), s("setTranslate", (() => { e.params.parallax.enabled && i() })), s("setTransition", ((t, s) => { e.params.parallax.enabled && ((t = e.params.speed) => { const { $el: s } = e; s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e => { const s = d(e); let a = parseInt(s.attr("data-swiper-parallax-duration"), 10) || t; 0 === t && (a = 0), s.transition(a) })) })(s) })) }, function ({ swiper: e, extendParams: t, on: s, emit: a }) { const i = r(); t({ zoom: { enabled: !1, maxRatio: 3, minRatio: 1, toggle: !0, containerClass: "swiper-zoom-container", zoomedSlideClass: "swiper-slide-zoomed" } }), e.zoom = { enabled: !1 }; let n, l, o, p = 1, c = !1; const u = { $slideEl: void 0, slideWidth: void 0, slideHeight: void 0, $imageEl: void 0, $imageWrapEl: void 0, maxRatio: 3 }, m = { isTouched: void 0, isMoved: void 0, currentX: void 0, currentY: void 0, minX: void 0, minY: void 0, maxX: void 0, maxY: void 0, width: void 0, height: void 0, startX: void 0, startY: void 0, touchesStart: {}, touchesCurrent: {} }, f = { x: void 0, y: void 0, prevPositionX: void 0, prevPositionY: void 0, prevTime: void 0 }; let g = 1; function v(e) { if (e.targetTouches.length < 2) return 1; const t = e.targetTouches[0].pageX, s = e.targetTouches[0].pageY, a = e.targetTouches[1].pageX, i = e.targetTouches[1].pageY; return Math.sqrt((a - t) ** 2 + (i - s) ** 2) } function w(t) { const s = e.support, a = e.params.zoom; if (l = !1, o = !1, !s.gestures) { if ("touchstart" !== t.type || "touchstart" === t.type && t.targetTouches.length < 2) return; l = !0, u.scaleStart = v(t) } u.$slideEl && u.$slideEl.length || (u.$slideEl = d(t.target).closest(`.${e.params.slideClass}`), 0 === u.$slideEl.length && (u.$slideEl = e.slides.eq(e.activeIndex)), u.$imageEl = u.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), u.$imageWrapEl = u.$imageEl.parent(`.${a.containerClass}`), u.maxRatio = u.$imageWrapEl.attr("data-swiper-zoom") || a.maxRatio, 0 !== u.$imageWrapEl.length) ? (u.$imageEl && u.$imageEl.transition(0), c = !0) : u.$imageEl = void 0 } function b(t) { const s = e.support, a = e.params.zoom, i = e.zoom; if (!s.gestures) { if ("touchmove" !== t.type || "touchmove" === t.type && t.targetTouches.length < 2) return; o = !0, u.scaleMove = v(t) } u.$imageEl && 0 !== u.$imageEl.length ? (s.gestures ? i.scale = t.scale * p : i.scale = u.scaleMove / u.scaleStart * p, i.scale > u.maxRatio && (i.scale = u.maxRatio - 1 + (i.scale - u.maxRatio + 1) ** .5), i.scale < a.minRatio && (i.scale = a.minRatio + 1 - (a.minRatio - i.scale + 1) ** .5), u.$imageEl.transform(`translate3d(0,0,0) scale(${i.scale})`)) : "gesturechange" === t.type && w(t) } function x(t) { const s = e.device, a = e.support, i = e.params.zoom, r = e.zoom; if (!a.gestures) { if (!l || !o) return; if ("touchend" !== t.type || "touchend" === t.type && t.changedTouches.length < 2 && !s.android) return; l = !1, o = !1 } u.$imageEl && 0 !== u.$imageEl.length && (r.scale = Math.max(Math.min(r.scale, u.maxRatio), i.minRatio), u.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${r.scale})`), p = r.scale, c = !1, 1 === r.scale && (u.$slideEl = void 0)) } function y(t) { const s = e.zoom; if (!u.$imageEl || 0 === u.$imageEl.length) return; if (e.allowClick = !1, !m.isTouched || !u.$slideEl) return; m.isMoved || (m.width = u.$imageEl[0].offsetWidth, m.height = u.$imageEl[0].offsetHeight, m.startX = h(u.$imageWrapEl[0], "x") || 0, m.startY = h(u.$imageWrapEl[0], "y") || 0, u.slideWidth = u.$slideEl[0].offsetWidth, u.slideHeight = u.$slideEl[0].offsetHeight, u.$imageWrapEl.transition(0)); const a = m.width * s.scale, i = m.height * s.scale; if (!(a < u.slideWidth && i < u.slideHeight)) { if (m.minX = Math.min(u.slideWidth / 2 - a / 2, 0), m.maxX = -m.minX, m.minY = Math.min(u.slideHeight / 2 - i / 2, 0), m.maxY = -m.minY, m.touchesCurrent.x = "touchmove" === t.type ? t.targetTouches[0].pageX : t.pageX, m.touchesCurrent.y = "touchmove" === t.type ? t.targetTouches[0].pageY : t.pageY, !m.isMoved && !c) { if (e.isHorizontal() && (Math.floor(m.minX) === Math.floor(m.startX) && m.touchesCurrent.x < m.touchesStart.x || Math.floor(m.maxX) === Math.floor(m.startX) && m.touchesCurrent.x > m.touchesStart.x)) return void (m.isTouched = !1); if (!e.isHorizontal() && (Math.floor(m.minY) === Math.floor(m.startY) && m.touchesCurrent.y < m.touchesStart.y || Math.floor(m.maxY) === Math.floor(m.startY) && m.touchesCurrent.y > m.touchesStart.y)) return void (m.isTouched = !1) } t.cancelable && t.preventDefault(), t.stopPropagation(), m.isMoved = !0, m.currentX = m.touchesCurrent.x - m.touchesStart.x + m.startX, m.currentY = m.touchesCurrent.y - m.touchesStart.y + m.startY, m.currentX < m.minX && (m.currentX = m.minX + 1 - (m.minX - m.currentX + 1) ** .8), m.currentX > m.maxX && (m.currentX = m.maxX - 1 + (m.currentX - m.maxX + 1) ** .8), m.currentY < m.minY && (m.currentY = m.minY + 1 - (m.minY - m.currentY + 1) ** .8), m.currentY > m.maxY && (m.currentY = m.maxY - 1 + (m.currentY - m.maxY + 1) ** .8), f.prevPositionX || (f.prevPositionX = m.touchesCurrent.x), f.prevPositionY || (f.prevPositionY = m.touchesCurrent.y), f.prevTime || (f.prevTime = Date.now()), f.x = (m.touchesCurrent.x - f.prevPositionX) / (Date.now() - f.prevTime) / 2, f.y = (m.touchesCurrent.y - f.prevPositionY) / (Date.now() - f.prevTime) / 2, Math.abs(m.touchesCurrent.x - f.prevPositionX) < 2 && (f.x = 0), Math.abs(m.touchesCurrent.y - f.prevPositionY) < 2 && (f.y = 0), f.prevPositionX = m.touchesCurrent.x, f.prevPositionY = m.touchesCurrent.y, f.prevTime = Date.now(), u.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`) } } function E() { const t = e.zoom; u.$slideEl && e.previousIndex !== e.activeIndex && (u.$imageEl && u.$imageEl.transform("translate3d(0,0,0) scale(1)"), u.$imageWrapEl && u.$imageWrapEl.transform("translate3d(0,0,0)"), t.scale = 1, p = 1, u.$slideEl = void 0, u.$imageEl = void 0, u.$imageWrapEl = void 0) } function T(t) { const s = e.zoom, a = e.params.zoom; if (u.$slideEl || (t && t.target && (u.$slideEl = d(t.target).closest(`.${e.params.slideClass}`)), u.$slideEl || (e.params.virtual && e.params.virtual.enabled && e.virtual ? u.$slideEl = e.$wrapperEl.children(`.${e.params.slideActiveClass}`) : u.$slideEl = e.slides.eq(e.activeIndex)), u.$imageEl = u.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), u.$imageWrapEl = u.$imageEl.parent(`.${a.containerClass}`)), !u.$imageEl || 0 === u.$imageEl.length || !u.$imageWrapEl || 0 === u.$imageWrapEl.length) return; let r, n, l, o, c, h, f, g, v, w, b, x, y, E, T, C, $, S; e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), u.$slideEl.addClass(`${a.zoomedSlideClass}`), void 0 === m.touchesStart.x && t ? (r = "touchend" === t.type ? t.changedTouches[0].pageX : t.pageX, n = "touchend" === t.type ? t.changedTouches[0].pageY : t.pageY) : (r = m.touchesStart.x, n = m.touchesStart.y), s.scale = u.$imageWrapEl.attr("data-swiper-zoom") || a.maxRatio, p = u.$imageWrapEl.attr("data-swiper-zoom") || a.maxRatio, t ? ($ = u.$slideEl[0].offsetWidth, S = u.$slideEl[0].offsetHeight, l = u.$slideEl.offset().left + i.scrollX, o = u.$slideEl.offset().top + i.scrollY, c = l + $ / 2 - r, h = o + S / 2 - n, v = u.$imageEl[0].offsetWidth, w = u.$imageEl[0].offsetHeight, b = v * s.scale, x = w * s.scale, y = Math.min($ / 2 - b / 2, 0), E = Math.min(S / 2 - x / 2, 0), T = -y, C = -E, f = c * s.scale, g = h * s.scale, f < y && (f = y), f > T && (f = T), g < E && (g = E), g > C && (g = C)) : (f = 0, g = 0), u.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`), u.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`) } function C() { const t = e.zoom, s = e.params.zoom; u.$slideEl || (e.params.virtual && e.params.virtual.enabled && e.virtual ? u.$slideEl = e.$wrapperEl.children(`.${e.params.slideActiveClass}`) : u.$slideEl = e.slides.eq(e.activeIndex), u.$imageEl = u.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), u.$imageWrapEl = u.$imageEl.parent(`.${s.containerClass}`)), u.$imageEl && 0 !== u.$imageEl.length && u.$imageWrapEl && 0 !== u.$imageWrapEl.length && (e.params.cssMode && (e.wrapperEl.style.overflow = "", e.wrapperEl.style.touchAction = ""), t.scale = 1, p = 1, u.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"), u.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"), u.$slideEl.removeClass(`${s.zoomedSlideClass}`), u.$slideEl = void 0) } function $(t) { const s = e.zoom; s.scale && 1 !== s.scale ? C() : T(t) } function S() { const t = e.support; return { passiveListener: !("touchstart" !== e.touchEvents.start || !t.passiveListener || !e.params.passiveListeners) && { passive: !0, capture: !1 }, activeListenerWithCapture: !t.passiveListener || { passive: !1, capture: !0 } } } function M() { return `.${e.params.slideClass}` } function P(t) { const { passiveListener: s } = S(), a = M(); e.$wrapperEl[t]("gesturestart", a, w, s), e.$wrapperEl[t]("gesturechange", a, b, s), e.$wrapperEl[t]("gestureend", a, x, s) } function k() { n || (n = !0, P("on")) } function z() { n && (n = !1, P("off")) } function O() { const t = e.zoom; if (t.enabled) return; t.enabled = !0; const s = e.support, { passiveListener: a, activeListenerWithCapture: i } = S(), r = M(); s.gestures ? (e.$wrapperEl.on(e.touchEvents.start, k, a), e.$wrapperEl.on(e.touchEvents.end, z, a)) : "touchstart" === e.touchEvents.start && (e.$wrapperEl.on(e.touchEvents.start, r, w, a), e.$wrapperEl.on(e.touchEvents.move, r, b, i), e.$wrapperEl.on(e.touchEvents.end, r, x, a), e.touchEvents.cancel && e.$wrapperEl.on(e.touchEvents.cancel, r, x, a)), e.$wrapperEl.on(e.touchEvents.move, `.${e.params.zoom.containerClass}`, y, i) } function I() { const t = e.zoom; if (!t.enabled) return; const s = e.support; t.enabled = !1; const { passiveListener: a, activeListenerWithCapture: i } = S(), r = M(); s.gestures ? (e.$wrapperEl.off(e.touchEvents.start, k, a), e.$wrapperEl.off(e.touchEvents.end, z, a)) : "touchstart" === e.touchEvents.start && (e.$wrapperEl.off(e.touchEvents.start, r, w, a), e.$wrapperEl.off(e.touchEvents.move, r, b, i), e.$wrapperEl.off(e.touchEvents.end, r, x, a), e.touchEvents.cancel && e.$wrapperEl.off(e.touchEvents.cancel, r, x, a)), e.$wrapperEl.off(e.touchEvents.move, `.${e.params.zoom.containerClass}`, y, i) } Object.defineProperty(e.zoom, "scale", { get: () => g, set(e) { if (g !== e) { const t = u.$imageEl ? u.$imageEl[0] : void 0, s = u.$slideEl ? u.$slideEl[0] : void 0; a("zoomChange", e, t, s) } g = e } }), s("init", (() => { e.params.zoom.enabled && O() })), s("destroy", (() => { I() })), s("touchStart", ((t, s) => { e.zoom.enabled && function (t) { const s = e.device; u.$imageEl && 0 !== u.$imageEl.length && (m.isTouched || (s.android && t.cancelable && t.preventDefault(), m.isTouched = !0, m.touchesStart.x = "touchstart" === t.type ? t.targetTouches[0].pageX : t.pageX, m.touchesStart.y = "touchstart" === t.type ? t.targetTouches[0].pageY : t.pageY)) }(s) })), s("touchEnd", ((t, s) => { e.zoom.enabled && function () { const t = e.zoom; if (!u.$imageEl || 0 === u.$imageEl.length) return; if (!m.isTouched || !m.isMoved) return m.isTouched = !1, void (m.isMoved = !1); m.isTouched = !1, m.isMoved = !1; let s = 300, a = 300; const i = f.x * s, r = m.currentX + i, n = f.y * a, l = m.currentY + n; 0 !== f.x && (s = Math.abs((r - m.currentX) / f.x)), 0 !== f.y && (a = Math.abs((l - m.currentY) / f.y)); const o = Math.max(s, a); m.currentX = r, m.currentY = l; const d = m.width * t.scale, p = m.height * t.scale; m.minX = Math.min(u.slideWidth / 2 - d / 2, 0), m.maxX = -m.minX, m.minY = Math.min(u.slideHeight / 2 - p / 2, 0), m.maxY = -m.minY, m.currentX = Math.max(Math.min(m.currentX, m.maxX), m.minX), m.currentY = Math.max(Math.min(m.currentY, m.maxY), m.minY), u.$imageWrapEl.transition(o).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`) }() })), s("doubleTap", ((t, s) => { !e.animating && e.params.zoom.enabled && e.zoom.enabled && e.params.zoom.toggle && $(s) })), s("transitionEnd", (() => { e.zoom.enabled && e.params.zoom.enabled && E() })), s("slideChange", (() => { e.zoom.enabled && e.params.zoom.enabled && e.params.cssMode && E() })), Object.assign(e.zoom, { enable: O, disable: I, in: T, out: C, toggle: $ }) }, function ({ swiper: e, extendParams: t, on: s, emit: a }) { t({ lazy: { checkInView: !1, enabled: !1, loadPrevNext: !1, loadPrevNextAmount: 1, loadOnTransitionStart: !1, scrollingElement: "", elementClass: "swiper-lazy", loadingClass: "swiper-lazy-loading", loadedClass: "swiper-lazy-loaded", preloaderClass: "swiper-lazy-preloader" } }), e.lazy = {}; let i = !1, n = !1; function l(t, s = !0) { const i = e.params.lazy; if (void 0 === t) return; if (0 === e.slides.length) return; const r = e.virtual && e.params.virtual.enabled ? e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`) : e.slides.eq(t), n = r.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`); !r.hasClass(i.elementClass) || r.hasClass(i.loadedClass) || r.hasClass(i.loadingClass) || n.push(r[0]), 0 !== n.length && n.each((t => { const n = d(t); n.addClass(i.loadingClass); const o = n.attr("data-background"), p = n.attr("data-src"), c = n.attr("data-srcset"), u = n.attr("data-sizes"), h = n.parent("picture"); e.loadImage(n[0], p || o, c, u, !1, (() => { if (null != e && e && (!e || e.params) && !e.destroyed) { if (o ? (n.css("background-image", `url("${o}")`), n.removeAttr("data-background")) : (c && (n.attr("srcset", c), n.removeAttr("data-srcset")), u && (n.attr("sizes", u), n.removeAttr("data-sizes")), h.length && h.children("source").each((e => { const t = d(e); t.attr("data-srcset") && (t.attr("srcset", t.attr("data-srcset")), t.removeAttr("data-srcset")) })), p && (n.attr("src", p), n.removeAttr("data-src"))), n.addClass(i.loadedClass).removeClass(i.loadingClass), r.find(`.${i.preloaderClass}`).remove(), e.params.loop && s) { const t = r.attr("data-swiper-slide-index"); if (r.hasClass(e.params.slideDuplicateClass)) { l(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(), !1) } else { l(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(), !1) } } a("lazyImageReady", r[0], n[0]), e.params.autoHeight && e.updateAutoHeight() } })), a("lazyImageLoad", r[0], n[0]) })) } function o() { const { $wrapperEl: t, params: s, slides: a, activeIndex: i } = e, r = e.virtual && s.virtual.enabled, o = s.lazy; let p = s.slidesPerView; function c(e) { if (r) { if (t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length) return !0 } else if (a[e]) return !0; return !1 } function u(e) { return r ? d(e).attr("data-swiper-slide-index") : d(e).index() } if ("auto" === p && (p = 0), n || (n = !0), e.params.watchSlidesProgress) t.children(`.${s.slideVisibleClass}`).each((e => { l(r ? d(e).attr("data-swiper-slide-index") : d(e).index()) })); else if (p > 1) for (let e = i; e < i + p; e += 1)c(e) && l(e); else l(i); if (o.loadPrevNext) if (p > 1 || o.loadPrevNextAmount && o.loadPrevNextAmount > 1) { const e = o.loadPrevNextAmount, t = p, s = Math.min(i + t + Math.max(e, t), a.length), r = Math.max(i - Math.max(t, e), 0); for (let e = i + p; e < s; e += 1)c(e) && l(e); for (let e = r; e < i; e += 1)c(e) && l(e) } else { const e = t.children(`.${s.slideNextClass}`); e.length > 0 && l(u(e)); const a = t.children(`.${s.slidePrevClass}`); a.length > 0 && l(u(a)) } } function p() { const t = r(); if (!e || e.destroyed) return; const s = e.params.lazy.scrollingElement ? d(e.params.lazy.scrollingElement) : d(t), a = s[0] === t, n = a ? t.innerWidth : s[0].offsetWidth, l = a ? t.innerHeight : s[0].offsetHeight, c = e.$el.offset(), { rtlTranslate: u } = e; let h = !1; u && (c.left -= e.$el[0].scrollLeft); const m = [[c.left, c.top], [c.left + e.width, c.top], [c.left, c.top + e.height], [c.left + e.width, c.top + e.height]]; for (let e = 0; e < m.length; e += 1) { const t = m[e]; if (t[0] >= 0 && t[0] <= n && t[1] >= 0 && t[1] <= l) { if (0 === t[0] && 0 === t[1]) continue; h = !0 } } const f = !("touchstart" !== e.touchEvents.start || !e.support.passiveListener || !e.params.passiveListeners) && { passive: !0, capture: !1 }; h ? (o(), s.off("scroll", p, f)) : i || (i = !0, s.on("scroll", p, f)) } s("beforeInit", (() => { e.params.lazy.enabled && e.params.preloadImages && (e.params.preloadImages = !1) })), s("init", (() => { e.params.lazy.enabled && (e.params.lazy.checkInView ? p() : o()) })), s("scroll", (() => { e.params.freeMode && e.params.freeMode.enabled && !e.params.freeMode.sticky && o() })), s("scrollbarDragMove resize _freeModeNoMomentumRelease", (() => { e.params.lazy.enabled && (e.params.lazy.checkInView ? p() : o()) })), s("transitionStart", (() => { e.params.lazy.enabled && (e.params.lazy.loadOnTransitionStart || !e.params.lazy.loadOnTransitionStart && !n) && (e.params.lazy.checkInView ? p() : o()) })), s("transitionEnd", (() => { e.params.lazy.enabled && !e.params.lazy.loadOnTransitionStart && (e.params.lazy.checkInView ? p() : o()) })), s("slideChange", (() => { const { lazy: t, cssMode: s, watchSlidesProgress: a, touchReleaseOnEdges: i, resistanceRatio: r } = e.params; t.enabled && (s || a && (i || 0 === r)) && o() })), Object.assign(e.lazy, { load: o, loadInSlide: l }) }, function ({ swiper: e, extendParams: t, on: s }) { function a(e, t) { const s = function () { let e, t, s; return (a, i) => { for (t = -1, e = a.length; e - t > 1;)s = e + t >> 1, a[s] <= i ? t = s : e = s; return e } }(); let a, i; return this.x = e, this.y = t, this.lastIndex = e.length - 1, this.interpolate = function (e) { return e ? (i = s(this.x, e), a = i - 1, (e - this.x[a]) * (this.y[i] - this.y[a]) / (this.x[i] - this.x[a]) + this.y[a]) : 0 }, this } function i() { e.controller.control && e.controller.spline && (e.controller.spline = void 0, delete e.controller.spline) } t({ controller: { control: void 0, inverse: !1, by: "slide" } }), e.controller = { control: void 0 }, s("beforeInit", (() => { e.controller.control = e.params.controller.control })), s("update", (() => { i() })), s("resize", (() => { i() })), s("observerUpdate", (() => { i() })), s("setTranslate", ((t, s, a) => { e.controller.control && e.controller.setTranslate(s, a) })), s("setTransition", ((t, s, a) => { e.controller.control && e.controller.setTransition(s, a) })), Object.assign(e.controller, { setTranslate: function (t, s) { const i = e.controller.control; let r, n; const l = e.constructor; function o(t) { const s = e.rtlTranslate ? -e.translate : e.translate; "slide" === e.params.controller.by && (!function (t) { e.controller.spline || (e.controller.spline = e.params.loop ? new a(e.slidesGrid, t.slidesGrid) : new a(e.snapGrid, t.snapGrid)) }(t), n = -e.controller.spline.interpolate(-s)), n && "container" !== e.params.controller.by || (r = (t.maxTranslate() - t.minTranslate()) / (e.maxTranslate() - e.minTranslate()), n = (s - e.minTranslate()) * r + t.minTranslate()), e.params.controller.inverse && (n = t.maxTranslate() - n), t.updateProgress(n), t.setTranslate(n, e), t.updateActiveIndex(), t.updateSlidesClasses() } if (Array.isArray(i)) for (let e = 0; e < i.length; e += 1)i[e] !== s && i[e] instanceof l && o(i[e]); else i instanceof l && s !== i && o(i) }, setTransition: function (t, s) { const a = e.constructor, i = e.controller.control; let r; function n(s) { s.setTransition(t, e), 0 !== t && (s.transitionStart(), s.params.autoHeight && c((() => { s.updateAutoHeight() })), s.$wrapperEl.transitionEnd((() => { i && (s.params.loop && "slide" === e.params.controller.by && s.loopFix(), s.transitionEnd()) }))) } if (Array.isArray(i)) for (r = 0; r < i.length; r += 1)i[r] !== s && i[r] instanceof a && n(i[r]); else i instanceof a && s !== i && n(i) } }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ a11y: { enabled: !0, notificationClass: "swiper-notification", prevSlideMessage: "Previous slide", nextSlideMessage: "Next slide", firstSlideMessage: "This is the first slide", lastSlideMessage: "This is the last slide", paginationBulletMessage: "Go to slide {{index}}", slideLabelMessage: "{{index}} / {{slidesLength}}", containerMessage: null, containerRoleDescriptionMessage: null, itemRoleDescriptionMessage: null, slideRole: "group" } }); let a = null; function i(e) { const t = a; 0 !== t.length && (t.html(""), t.html(e)) } function r(e) { e.attr("tabIndex", "0") } function n(e) { e.attr("tabIndex", "-1") } function l(e, t) { e.attr("role", t) } function o(e, t) { e.attr("aria-roledescription", t) } function p(e, t) { e.attr("aria-label", t) } function c(e) { e.attr("aria-disabled", !0) } function u(e) { e.attr("aria-disabled", !1) } function h(t) { if (13 !== t.keyCode && 32 !== t.keyCode) return; const s = e.params.a11y, a = d(t.target); e.navigation && e.navigation.$nextEl && a.is(e.navigation.$nextEl) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? i(s.lastSlideMessage) : i(s.nextSlideMessage)), e.navigation && e.navigation.$prevEl && a.is(e.navigation.$prevEl) && (e.isBeginning && !e.params.loop || e.slidePrev(), e.isBeginning ? i(s.firstSlideMessage) : i(s.prevSlideMessage)), e.pagination && a.is(W(e.params.pagination.bulletClass)) && a[0].click() } function m() { if (e.params.loop || e.params.rewind || !e.navigation) return; const { $nextEl: t, $prevEl: s } = e.navigation; s && s.length > 0 && (e.isBeginning ? (c(s), n(s)) : (u(s), r(s))), t && t.length > 0 && (e.isEnd ? (c(t), n(t)) : (u(t), r(t))) } function f() { return e.pagination && e.pagination.bullets && e.pagination.bullets.length } function g() { return f() && e.params.pagination.clickable } const v = (e, t, s) => { r(e), "BUTTON" !== e[0].tagName && (l(e, "button"), e.on("keydown", h)), p(e, s), function (e, t) { e.attr("aria-controls", t) }(e, t) }; function w() { const t = e.params.a11y; e.$el.append(a); const s = e.$el; t.containerRoleDescriptionMessage && o(s, t.containerRoleDescriptionMessage), t.containerMessage && p(s, t.containerMessage); const i = e.$wrapperEl, r = i.attr("id") || `swiper-wrapper-${function (e = 16) { return "x".repeat(e).replace(/x/g, (() => Math.round(16 * Math.random()).toString(16))) }(16)}`, n = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite"; var c; c = r, i.attr("id", c), function (e, t) { e.attr("aria-live", t) }(i, n), t.itemRoleDescriptionMessage && o(d(e.slides), t.itemRoleDescriptionMessage), l(d(e.slides), t.slideRole); const u = e.params.loop ? e.slides.filter((t => !t.classList.contains(e.params.slideDuplicateClass))).length : e.slides.length; let m, f; e.slides.each(((s, a) => { const i = d(s), r = e.params.loop ? parseInt(i.attr("data-swiper-slide-index"), 10) : a; p(i, t.slideLabelMessage.replace(/\{\{index\}\}/, r + 1).replace(/\{\{slidesLength\}\}/, u)) })), e.navigation && e.navigation.$nextEl && (m = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && (f = e.navigation.$prevEl), m && m.length && v(m, r, t.nextSlideMessage), f && f.length && v(f, r, t.prevSlideMessage), g() && e.pagination.$el.on("keydown", W(e.params.pagination.bulletClass), h) } s("beforeInit", (() => { a = d(` `) })), s("afterInit", (() => { e.params.a11y.enabled && (w(), m()) })), s("toEdge", (() => { e.params.a11y.enabled && m() })), s("fromEdge", (() => { e.params.a11y.enabled && m() })), s("paginationUpdate", (() => { e.params.a11y.enabled && function () { const t = e.params.a11y; f() && e.pagination.bullets.each((s => { const a = d(s); e.params.pagination.clickable && (r(a), e.params.pagination.renderBullet || (l(a, "button"), p(a, t.paginationBulletMessage.replace(/\{\{index\}\}/, a.index() + 1)))), a.is(`.${e.params.pagination.bulletActiveClass}`) ? a.attr("aria-current", "true") : a.removeAttr("aria-current") })) }() })), s("destroy", (() => { e.params.a11y.enabled && function () { let t, s; a && a.length > 0 && a.remove(), e.navigation && e.navigation.$nextEl && (t = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && (s = e.navigation.$prevEl), t && t.off("keydown", h), s && s.off("keydown", h), g() && e.pagination.$el.off("keydown", W(e.params.pagination.bulletClass), h) }() })) }, function ({ swiper: e, extendParams: t, on: s }) { t({ history: { enabled: !1, root: "", replaceState: !1, key: "slides" } }); let a = !1, i = {}; const n = e => e.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), l = e => { const t = r(); let s; s = e ? new URL(e) : t.location; const a = s.pathname.slice(1).split("/").filter((e => "" !== e)), i = a.length; return { key: a[i - 2], value: a[i - 1] } }, o = (t, s) => { const i = r(); if (!a || !e.params.history.enabled) return; let l; l = e.params.url ? new URL(e.params.url) : i.location; const o = e.slides.eq(s); let d = n(o.attr("data-history")); if (e.params.history.root.length > 0) { let s = e.params.history.root; "/" === s[s.length - 1] && (s = s.slice(0, s.length - 1)), d = `${s}/${t}/${d}` } else l.pathname.includes(t) || (d = `${t}/${d}`); const p = i.history.state; p && p.value === d || (e.params.history.replaceState ? i.history.replaceState({ value: d }, null, d) : i.history.pushState({ value: d }, null, d)) }, d = (t, s, a) => { if (s) for (let i = 0, r = e.slides.length; i < r; i += 1) { const r = e.slides.eq(i); if (n(r.attr("data-history")) === s && !r.hasClass(e.params.slideDuplicateClass)) { const s = r.index(); e.slideTo(s, t, a) } } else e.slideTo(0, t, a) }, p = () => { i = l(e.params.url), d(e.params.speed, e.paths.value, !1) }; s("init", (() => { e.params.history.enabled && (() => { const t = r(); if (e.params.history) { if (!t.history || !t.history.pushState) return e.params.history.enabled = !1, void (e.params.hashNavigation.enabled = !0); a = !0, i = l(e.params.url), (i.key || i.value) && (d(0, i.value, e.params.runCallbacksOnInit), e.params.history.replaceState || t.addEventListener("popstate", p)) } })() })), s("destroy", (() => { e.params.history.enabled && (() => { const t = r(); e.params.history.replaceState || t.removeEventListener("popstate", p) })() })), s("transitionEnd _freeModeNoMomentumRelease", (() => { a && o(e.params.history.key, e.activeIndex) })), s("slideChange", (() => { a && e.params.cssMode && o(e.params.history.key, e.activeIndex) })) }, function ({ swiper: e, extendParams: t, emit: s, on: i }) { let n = !1; const l = a(), o = r(); t({ hashNavigation: { enabled: !1, replaceState: !1, watchState: !1 } }); const p = () => { s("hashChange"); const t = l.location.hash.replace("#", ""); if (t !== e.slides.eq(e.activeIndex).attr("data-hash")) { const s = e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index(); if (void 0 === s) return; e.slideTo(s) } }, c = () => { if (n && e.params.hashNavigation.enabled) if (e.params.hashNavigation.replaceState && o.history && o.history.replaceState) o.history.replaceState(null, null, `#${e.slides.eq(e.activeIndex).attr("data-hash")}` || ""), s("hashSet"); else { const t = e.slides.eq(e.activeIndex), a = t.attr("data-hash") || t.attr("data-history"); l.location.hash = a || "", s("hashSet") } }; i("init", (() => { e.params.hashNavigation.enabled && (() => { if (!e.params.hashNavigation.enabled || e.params.history && e.params.history.enabled) return; n = !0; const t = l.location.hash.replace("#", ""); if (t) { const s = 0; for (let a = 0, i = e.slides.length; a < i; a += 1) { const i = e.slides.eq(a); if ((i.attr("data-hash") || i.attr("data-history")) === t && !i.hasClass(e.params.slideDuplicateClass)) { const t = i.index(); e.slideTo(t, s, e.params.runCallbacksOnInit, !0) } } } e.params.hashNavigation.watchState && d(o).on("hashchange", p) })() })), i("destroy", (() => { e.params.hashNavigation.enabled && e.params.hashNavigation.watchState && d(o).off("hashchange", p) })), i("transitionEnd _freeModeNoMomentumRelease", (() => { n && c() })), i("slideChange", (() => { n && e.params.cssMode && c() })) }, function ({ swiper: e, extendParams: t, on: s, emit: i }) { let r; function n() { const t = e.slides.eq(e.activeIndex); let s = e.params.autoplay.delay; t.attr("data-swiper-autoplay") && (s = t.attr("data-swiper-autoplay") || e.params.autoplay.delay), clearTimeout(r), r = c((() => { let t; e.params.autoplay.reverseDirection ? e.params.loop ? (e.loopFix(), t = e.slidePrev(e.params.speed, !0, !0), i("autoplay")) : e.isBeginning ? e.params.autoplay.stopOnLastSlide ? o() : (t = e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), i("autoplay")) : (t = e.slidePrev(e.params.speed, !0, !0), i("autoplay")) : e.params.loop ? (e.loopFix(), t = e.slideNext(e.params.speed, !0, !0), i("autoplay")) : e.isEnd ? e.params.autoplay.stopOnLastSlide ? o() : (t = e.slideTo(0, e.params.speed, !0, !0), i("autoplay")) : (t = e.slideNext(e.params.speed, !0, !0), i("autoplay")), (e.params.cssMode && e.autoplay.running || !1 === t) && n() }), s) } function l() { return void 0 === r && (!e.autoplay.running && (e.autoplay.running = !0, i("autoplayStart"), n(), !0)) } function o() { return !!e.autoplay.running && (void 0 !== r && (r && (clearTimeout(r), r = void 0), e.autoplay.running = !1, i("autoplayStop"), !0)) } function d(t) { e.autoplay.running && (e.autoplay.paused || (r && clearTimeout(r), e.autoplay.paused = !0, 0 !== t && e.params.autoplay.waitForTransition ? ["transitionend", "webkitTransitionEnd"].forEach((t => { e.$wrapperEl[0].addEventListener(t, u) })) : (e.autoplay.paused = !1, n()))) } function p() { const t = a(); "hidden" === t.visibilityState && e.autoplay.running && d(), "visible" === t.visibilityState && e.autoplay.paused && (n(), e.autoplay.paused = !1) } function u(t) { e && !e.destroyed && e.$wrapperEl && t.target === e.$wrapperEl[0] && (["transitionend", "webkitTransitionEnd"].forEach((t => { e.$wrapperEl[0].removeEventListener(t, u) })), e.autoplay.paused = !1, e.autoplay.running ? n() : o()) } function h() { e.params.autoplay.disableOnInteraction ? o() : d(), ["transitionend", "webkitTransitionEnd"].forEach((t => { e.$wrapperEl[0].removeEventListener(t, u) })) } function m() { e.params.autoplay.disableOnInteraction || (e.autoplay.paused = !1, n()) } e.autoplay = { running: !1, paused: !1 }, t({ autoplay: { enabled: !1, delay: 3e3, waitForTransition: !0, disableOnInteraction: !0, stopOnLastSlide: !1, reverseDirection: !1, pauseOnMouseEnter: !1 } }), s("init", (() => { if (e.params.autoplay.enabled) { l(); a().addEventListener("visibilitychange", p), e.params.autoplay.pauseOnMouseEnter && (e.$el.on("mouseenter", h), e.$el.on("mouseleave", m)) } })), s("beforeTransitionStart", ((t, s, a) => { e.autoplay.running && (a || !e.params.autoplay.disableOnInteraction ? e.autoplay.pause(s) : o()) })), s("sliderFirstMove", (() => { e.autoplay.running && (e.params.autoplay.disableOnInteraction ? o() : d()) })), s("touchEnd", (() => { e.params.cssMode && e.autoplay.paused && !e.params.autoplay.disableOnInteraction && n() })), s("destroy", (() => { e.$el.off("mouseenter", h), e.$el.off("mouseleave", m), e.autoplay.running && o(); a().removeEventListener("visibilitychange", p) })), Object.assign(e.autoplay, { pause: d, run: n, start: l, stop: o }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ thumbs: { swiper: null, multipleActiveThumbs: !0, autoScrollOffset: 0, slideThumbActiveClass: "swiper-slide-thumb-active", thumbsContainerClass: "swiper-thumbs" } }); let a = !1, i = !1; function r() { const t = e.thumbs.swiper; if (!t) return; const s = t.clickedIndex, a = t.clickedSlide; if (a && d(a).hasClass(e.params.thumbs.slideThumbActiveClass)) return; if (null == s) return; let i; if (i = t.params.loop ? parseInt(d(t.clickedSlide).attr("data-swiper-slide-index"), 10) : s, e.params.loop) { let t = e.activeIndex; e.slides.eq(t).hasClass(e.params.slideDuplicateClass) && (e.loopFix(), e._clientLeft = e.$wrapperEl[0].clientLeft, t = e.activeIndex); const s = e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(), a = e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(); i = void 0 === s ? a : void 0 === a ? s : a - t < t - s ? a : s } e.slideTo(i) } function n() { const { thumbs: t } = e.params; if (a) return !1; a = !0; const s = e.constructor; if (t.swiper instanceof s) e.thumbs.swiper = t.swiper, Object.assign(e.thumbs.swiper.originalParams, { watchSlidesProgress: !0, slideToClickedSlide: !1 }), Object.assign(e.thumbs.swiper.params, { watchSlidesProgress: !0, slideToClickedSlide: !1 }); else if (m(t.swiper)) { const a = Object.assign({}, t.swiper); Object.assign(a, { watchSlidesProgress: !0, slideToClickedSlide: !1 }), e.thumbs.swiper = new s(a), i = !0 } return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass), e.thumbs.swiper.on("tap", r), !0 } function l(t) { const s = e.thumbs.swiper; if (!s) return; const a = "auto" === s.params.slidesPerView ? s.slidesPerViewDynamic() : s.params.slidesPerView, i = e.params.thumbs.autoScrollOffset, r = i && !s.params.loop; if (e.realIndex !== s.realIndex || r) { let n, l, o = s.activeIndex; if (s.params.loop) { s.slides.eq(o).hasClass(s.params.slideDuplicateClass) && (s.loopFix(), s._clientLeft = s.$wrapperEl[0].clientLeft, o = s.activeIndex); const t = s.slides.eq(o).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(), a = s.slides.eq(o).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(); n = void 0 === t ? a : void 0 === a ? t : a - o == o - t ? s.params.slidesPerGroup > 1 ? a : o : a - o < o - t ? a : t, l = e.activeIndex > e.previousIndex ? "next" : "prev" } else n = e.realIndex, l = n > e.previousIndex ? "next" : "prev"; r && (n += "next" === l ? i : -1 * i), s.visibleSlidesIndexes && s.visibleSlidesIndexes.indexOf(n) < 0 && (s.params.centeredSlides ? n = n > o ? n - Math.floor(a / 2) + 1 : n + Math.floor(a / 2) - 1 : n > o && s.params.slidesPerGroup, s.slideTo(n, t ? 0 : void 0)) } let n = 1; const l = e.params.thumbs.slideThumbActiveClass; if (e.params.slidesPerView > 1 && !e.params.centeredSlides && (n = e.params.slidesPerView), e.params.thumbs.multipleActiveThumbs || (n = 1), n = Math.floor(n), s.slides.removeClass(l), s.params.loop || s.params.virtual && s.params.virtual.enabled) for (let t = 0; t < n; t += 1)s.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex + t}"]`).addClass(l); else for (let t = 0; t < n; t += 1)s.slides.eq(e.realIndex + t).addClass(l) } e.thumbs = { swiper: null }, s("beforeInit", (() => { const { thumbs: t } = e.params; t && t.swiper && (n(), l(!0)) })), s("slideChange update resize observerUpdate", (() => { e.thumbs.swiper && l() })), s("setTransition", ((t, s) => { const a = e.thumbs.swiper; a && a.setTransition(s) })), s("beforeDestroy", (() => { const t = e.thumbs.swiper; t && i && t && t.destroy() })), Object.assign(e.thumbs, { init: n, update: l }) }, function ({ swiper: e, extendParams: t, emit: s, once: a }) { t({ freeMode: { enabled: !1, momentum: !0, momentumRatio: 1, momentumBounce: !0, momentumBounceRatio: 1, momentumVelocityRatio: 1, sticky: !1, minimumVelocity: .02 } }), Object.assign(e, { freeMode: { onTouchMove: function () { const { touchEventsData: t, touches: s } = e; 0 === t.velocities.length && t.velocities.push({ position: s[e.isHorizontal() ? "startX" : "startY"], time: t.touchStartTime }), t.velocities.push({ position: s[e.isHorizontal() ? "currentX" : "currentY"], time: u() }) }, onTouchEnd: function ({ currentPos: t }) { const { params: i, $wrapperEl: r, rtlTranslate: n, snapGrid: l, touchEventsData: o } = e, d = u() - o.touchStartTime; if (t < -e.minTranslate()) e.slideTo(e.activeIndex); else if (t > -e.maxTranslate()) e.slides.length < l.length ? e.slideTo(l.length - 1) : e.slideTo(e.slides.length - 1); else { if (i.freeMode.momentum) { if (o.velocities.length > 1) { const t = o.velocities.pop(), s = o.velocities.pop(), a = t.position - s.position, r = t.time - s.time; e.velocity = a / r, e.velocity /= 2, Math.abs(e.velocity) < i.freeMode.minimumVelocity && (e.velocity = 0), (r > 150 || u() - t.time > 300) && (e.velocity = 0) } else e.velocity = 0; e.velocity *= i.freeMode.momentumVelocityRatio, o.velocities.length = 0; let t = 1e3 * i.freeMode.momentumRatio; const d = e.velocity * t; let p = e.translate + d; n && (p = -p); let c, h = !1; const m = 20 * Math.abs(e.velocity) * i.freeMode.momentumBounceRatio; let f; if (p < e.maxTranslate()) i.freeMode.momentumBounce ? (p + e.maxTranslate() < -m && (p = e.maxTranslate() - m), c = e.maxTranslate(), h = !0, o.allowMomentumBounce = !0) : p = e.maxTranslate(), i.loop && i.centeredSlides && (f = !0); else if (p > e.minTranslate()) i.freeMode.momentumBounce ? (p - e.minTranslate() > m && (p = e.minTranslate() + m), c = e.minTranslate(), h = !0, o.allowMomentumBounce = !0) : p = e.minTranslate(), i.loop && i.centeredSlides && (f = !0); else if (i.freeMode.sticky) { let t; for (let e = 0; e < l.length; e += 1)if (l[e] > -p) { t = e; break } p = Math.abs(l[t] - p) < Math.abs(l[t - 1] - p) || "next" === e.swipeDirection ? l[t] : l[t - 1], p = -p } if (f && a("transitionEnd", (() => { e.loopFix() })), 0 !== e.velocity) { if (t = n ? Math.abs((-p - e.translate) / e.velocity) : Math.abs((p - e.translate) / e.velocity), i.freeMode.sticky) { const s = Math.abs((n ? -p : p) - e.translate), a = e.slidesSizesGrid[e.activeIndex]; t = s < a ? i.speed : s < 2 * a ? 1.5 * i.speed : 2.5 * i.speed } } else if (i.freeMode.sticky) return void e.slideToClosest(); i.freeMode.momentumBounce && h ? (e.updateProgress(c), e.setTransition(t), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating = !0, r.transitionEnd((() => { e && !e.destroyed && o.allowMomentumBounce && (s("momentumBounce"), e.setTransition(i.speed), setTimeout((() => { e.setTranslate(c), r.transitionEnd((() => { e && !e.destroyed && e.transitionEnd() })) }), 0)) }))) : e.velocity ? (s("_freeModeNoMomentumRelease"), e.updateProgress(p), e.setTransition(t), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, r.transitionEnd((() => { e && !e.destroyed && e.transitionEnd() })))) : e.updateProgress(p), e.updateActiveIndex(), e.updateSlidesClasses() } else { if (i.freeMode.sticky) return void e.slideToClosest(); i.freeMode && s("_freeModeNoMomentumRelease") } (!i.freeMode.momentum || d >= i.longSwipesMs) && (e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses()) } } } }) }, function ({ swiper: e, extendParams: t }) { let s, a, i; t({ grid: { rows: 1, fill: "column" } }), e.grid = { initSlides: t => { const { slidesPerView: r } = e.params, { rows: n, fill: l } = e.params.grid; a = s / n, i = Math.floor(t / n), s = Math.floor(t / n) === t / n ? t : Math.ceil(t / n) * n, "auto" !== r && "row" === l && (s = Math.max(s, r * n)) }, updateSlide: (t, r, n, l) => { const { slidesPerGroup: o, spaceBetween: d } = e.params, { rows: p, fill: c } = e.params.grid; let u, h, m; if ("row" === c && o > 1) { const e = Math.floor(t / (o * p)), a = t - p * o * e, i = 0 === e ? o : Math.min(Math.ceil((n - e * p * o) / p), o); m = Math.floor(a / i), h = a - m * i + e * o, u = h + m * s / p, r.css({ "-webkit-order": u, order: u }) } else "column" === c ? (h = Math.floor(t / p), m = t - h * p, (h > i || h === i && m === p - 1) && (m += 1, m >= p && (m = 0, h += 1))) : (m = Math.floor(t / a), h = t - m * a); r.css(l("margin-top"), 0 !== m ? d && `${d}px` : "") }, updateWrapperSize: (t, a, i) => { const { spaceBetween: r, centeredSlides: n, roundLengths: l } = e.params, { rows: o } = e.params.grid; if (e.virtualSize = (t + r) * s, e.virtualSize = Math.ceil(e.virtualSize / o) - r, e.$wrapperEl.css({ [i("width")]: `${e.virtualSize + r}px` }), n) { a.splice(0, a.length); const t = []; for (let s = 0; s < a.length; s += 1) { let i = a[s]; l && (i = Math.floor(i)), a[s] < e.virtualSize + a[0] && t.push(i) } a.push(...t) } } } }, function ({ swiper: e }) { Object.assign(e, { appendSlide: R.bind(e), prependSlide: j.bind(e), addSlide: _.bind(e), removeSlide: V.bind(e), removeAllSlides: q.bind(e) }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ fadeEffect: { crossFade: !1, transformEl: null } }), F({ effect: "fade", swiper: e, on: s, setTranslate: () => { const { slides: t } = e, s = e.params.fadeEffect; for (let a = 0; a < t.length; a += 1) { const t = e.slides.eq(a); let i = -t[0].swiperSlideOffset; e.params.virtualTranslate || (i -= e.translate); let r = 0; e.isHorizontal() || (r = i, i = 0); const n = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(t[0].progress), 0) : 1 + Math.min(Math.max(t[0].progress, -1), 0); U(s, t).css({ opacity: n }).transform(`translate3d(${i}px, ${r}px, 0px)`) } }, setTransition: t => { const { transformEl: s } = e.params.fadeEffect; (s ? e.slides.find(s) : e.slides).transition(t), K({ swiper: e, duration: t, transformEl: s, allSlides: !0 }) }, overwriteParams: () => ({ slidesPerView: 1, slidesPerGroup: 1, watchSlidesProgress: !0, spaceBetween: 0, virtualTranslate: !e.params.cssMode }) }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ cubeEffect: { slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94 } }), F({ effect: "cube", swiper: e, on: s, setTranslate: () => { const { $el: t, $wrapperEl: s, slides: a, width: i, height: r, rtlTranslate: n, size: l, browser: o } = e, p = e.params.cubeEffect, c = e.isHorizontal(), u = e.virtual && e.params.virtual.enabled; let h, m = 0; p.shadow && (c ? (h = s.find(".swiper-cube-shadow"), 0 === h.length && (h = d('
'), s.append(h)), h.css({ height: `${i}px` })) : (h = t.find(".swiper-cube-shadow"), 0 === h.length && (h = d('
'), t.append(h)))); for (let e = 0; e < a.length; e += 1) { const t = a.eq(e); let s = e; u && (s = parseInt(t.attr("data-swiper-slide-index"), 10)); let i = 90 * s, r = Math.floor(i / 360); n && (i = -i, r = Math.floor(-i / 360)); const o = Math.max(Math.min(t[0].progress, 1), -1); let h = 0, f = 0, g = 0; s % 4 == 0 ? (h = 4 * -r * l, g = 0) : (s - 1) % 4 == 0 ? (h = 0, g = 4 * -r * l) : (s - 2) % 4 == 0 ? (h = l + 4 * r * l, g = l) : (s - 3) % 4 == 0 && (h = -l, g = 3 * l + 4 * l * r), n && (h = -h), c || (f = h, h = 0); const v = `rotateX(${c ? 0 : -i}deg) rotateY(${c ? i : 0}deg) translate3d(${h}px, ${f}px, ${g}px)`; if (o <= 1 && o > -1 && (m = 90 * s + 90 * o, n && (m = 90 * -s - 90 * o)), t.transform(v), p.slideShadows) { let e = c ? t.find(".swiper-slide-shadow-left") : t.find(".swiper-slide-shadow-top"), s = c ? t.find(".swiper-slide-shadow-right") : t.find(".swiper-slide-shadow-bottom"); 0 === e.length && (e = d(`
`), t.append(e)), 0 === s.length && (s = d(`
`), t.append(s)), e.length && (e[0].style.opacity = Math.max(-o, 0)), s.length && (s[0].style.opacity = Math.max(o, 0)) } } if (s.css({ "-webkit-transform-origin": `50% 50% -${l / 2}px`, "transform-origin": `50% 50% -${l / 2}px` }), p.shadow) if (c) h.transform(`translate3d(0px, ${i / 2 + p.shadowOffset}px, ${-i / 2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`); else { const e = Math.abs(m) - 90 * Math.floor(Math.abs(m) / 90), t = 1.5 - (Math.sin(2 * e * Math.PI / 360) / 2 + Math.cos(2 * e * Math.PI / 360) / 2), s = p.shadowScale, a = p.shadowScale / t, i = p.shadowOffset; h.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${r / 2 + i}px, ${-r / 2 / a}px) rotateX(-90deg)`) } const f = o.isSafari || o.isWebView ? -l / 2 : 0; s.transform(`translate3d(0px,0,${f}px) rotateX(${e.isHorizontal() ? 0 : m}deg) rotateY(${e.isHorizontal() ? -m : 0}deg)`) }, setTransition: t => { const { $el: s, slides: a } = e; a.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t), e.params.cubeEffect.shadow && !e.isHorizontal() && s.find(".swiper-cube-shadow").transition(t) }, perspective: () => !0, overwriteParams: () => ({ slidesPerView: 1, slidesPerGroup: 1, watchSlidesProgress: !0, resistanceRatio: 0, spaceBetween: 0, centeredSlides: !1, virtualTranslate: !0 }) }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ flipEffect: { slideShadows: !0, limitRotation: !0, transformEl: null } }), F({ effect: "flip", swiper: e, on: s, setTranslate: () => { const { slides: t, rtlTranslate: s } = e, a = e.params.flipEffect; for (let i = 0; i < t.length; i += 1) { const r = t.eq(i); let n = r[0].progress; e.params.flipEffect.limitRotation && (n = Math.max(Math.min(r[0].progress, 1), -1)); const l = r[0].swiperSlideOffset; let o = -180 * n, d = 0, p = e.params.cssMode ? -l - e.translate : -l, c = 0; if (e.isHorizontal() ? s && (o = -o) : (c = p, p = 0, d = -o, o = 0), r[0].style.zIndex = -Math.abs(Math.round(n)) + t.length, a.slideShadows) { let t = e.isHorizontal() ? r.find(".swiper-slide-shadow-left") : r.find(".swiper-slide-shadow-top"), s = e.isHorizontal() ? r.find(".swiper-slide-shadow-right") : r.find(".swiper-slide-shadow-bottom"); 0 === t.length && (t = Z(a, r, e.isHorizontal() ? "left" : "top")), 0 === s.length && (s = Z(a, r, e.isHorizontal() ? "right" : "bottom")), t.length && (t[0].style.opacity = Math.max(-n, 0)), s.length && (s[0].style.opacity = Math.max(n, 0)) } const u = `translate3d(${p}px, ${c}px, 0px) rotateX(${d}deg) rotateY(${o}deg)`; U(a, r).transform(u) } }, setTransition: t => { const { transformEl: s } = e.params.flipEffect; (s ? e.slides.find(s) : e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t), K({ swiper: e, duration: t, transformEl: s }) }, perspective: () => !0, overwriteParams: () => ({ slidesPerView: 1, slidesPerGroup: 1, watchSlidesProgress: !0, spaceBetween: 0, virtualTranslate: !e.params.cssMode }) }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ coverflowEffect: { rotate: 50, stretch: 0, depth: 100, scale: 1, modifier: 1, slideShadows: !0, transformEl: null } }), F({ effect: "coverflow", swiper: e, on: s, setTranslate: () => { const { width: t, height: s, slides: a, slidesSizesGrid: i } = e, r = e.params.coverflowEffect, n = e.isHorizontal(), l = e.translate, o = n ? t / 2 - l : s / 2 - l, d = n ? r.rotate : -r.rotate, p = r.depth; for (let e = 0, t = a.length; e < t; e += 1) { const t = a.eq(e), s = i[e], l = (o - t[0].swiperSlideOffset - s / 2) / s * r.modifier; let c = n ? d * l : 0, u = n ? 0 : d * l, h = -p * Math.abs(l), m = r.stretch; "string" == typeof m && -1 !== m.indexOf("%") && (m = parseFloat(r.stretch) / 100 * s); let f = n ? 0 : m * l, g = n ? m * l : 0, v = 1 - (1 - r.scale) * Math.abs(l); Math.abs(g) < .001 && (g = 0), Math.abs(f) < .001 && (f = 0), Math.abs(h) < .001 && (h = 0), Math.abs(c) < .001 && (c = 0), Math.abs(u) < .001 && (u = 0), Math.abs(v) < .001 && (v = 0); const w = `translate3d(${g}px,${f}px,${h}px) rotateX(${u}deg) rotateY(${c}deg) scale(${v})`; if (U(r, t).transform(w), t[0].style.zIndex = 1 - Math.abs(Math.round(l)), r.slideShadows) { let e = n ? t.find(".swiper-slide-shadow-left") : t.find(".swiper-slide-shadow-top"), s = n ? t.find(".swiper-slide-shadow-right") : t.find(".swiper-slide-shadow-bottom"); 0 === e.length && (e = Z(r, t, n ? "left" : "top")), 0 === s.length && (s = Z(r, t, n ? "right" : "bottom")), e.length && (e[0].style.opacity = l > 0 ? l : 0), s.length && (s[0].style.opacity = -l > 0 ? -l : 0) } } }, setTransition: t => { const { transformEl: s } = e.params.coverflowEffect; (s ? e.slides.find(s) : e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t) }, perspective: () => !0, overwriteParams: () => ({ watchSlidesProgress: !0 }) }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ creativeEffect: { transformEl: null, limitProgress: 1, shadowPerProgress: !1, progressMultiplier: 1, perspective: !0, prev: { translate: [0, 0, 0], rotate: [0, 0, 0], opacity: 1, scale: 1 }, next: { translate: [0, 0, 0], rotate: [0, 0, 0], opacity: 1, scale: 1 } } }); const a = e => "string" == typeof e ? e : `${e}px`; F({ effect: "creative", swiper: e, on: s, setTranslate: () => { const { slides: t, $wrapperEl: s, slidesSizesGrid: i } = e, r = e.params.creativeEffect, { progressMultiplier: n } = r, l = e.params.centeredSlides; if (l) { const t = i[0] / 2 - e.params.slidesOffsetBefore || 0; s.transform(`translateX(calc(50% - ${t}px))`) } for (let s = 0; s < t.length; s += 1) { const i = t.eq(s), o = i[0].progress, d = Math.min(Math.max(i[0].progress, -r.limitProgress), r.limitProgress); let p = d; l || (p = Math.min(Math.max(i[0].originalProgress, -r.limitProgress), r.limitProgress)); const c = i[0].swiperSlideOffset, u = [e.params.cssMode ? -c - e.translate : -c, 0, 0], h = [0, 0, 0]; let m = !1; e.isHorizontal() || (u[1] = u[0], u[0] = 0); let f = { translate: [0, 0, 0], rotate: [0, 0, 0], scale: 1, opacity: 1 }; d < 0 ? (f = r.next, m = !0) : d > 0 && (f = r.prev, m = !0), u.forEach(((e, t) => { u[t] = `calc(${e}px + (${a(f.translate[t])} * ${Math.abs(d * n)}))` })), h.forEach(((e, t) => { h[t] = f.rotate[t] * Math.abs(d * n) })), i[0].style.zIndex = -Math.abs(Math.round(o)) + t.length; const g = u.join(", "), v = `rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`, w = p < 0 ? `scale(${1 + (1 - f.scale) * p * n})` : `scale(${1 - (1 - f.scale) * p * n})`, b = p < 0 ? 1 + (1 - f.opacity) * p * n : 1 - (1 - f.opacity) * p * n, x = `translate3d(${g}) ${v} ${w}`; if (m && f.shadow || !m) { let e = i.children(".swiper-slide-shadow"); if (0 === e.length && f.shadow && (e = Z(r, i)), e.length) { const t = r.shadowPerProgress ? d * (1 / r.limitProgress) : d; e[0].style.opacity = Math.min(Math.max(Math.abs(t), 0), 1) } } const y = U(r, i); y.transform(x).css({ opacity: b }), f.origin && y.css("transform-origin", f.origin) } }, setTransition: t => { const { transformEl: s } = e.params.creativeEffect; (s ? e.slides.find(s) : e.slides).transition(t).find(".swiper-slide-shadow").transition(t), K({ swiper: e, duration: t, transformEl: s, allSlides: !0 }) }, perspective: () => e.params.creativeEffect.perspective, overwriteParams: () => ({ watchSlidesProgress: !0, virtualTranslate: !e.params.cssMode }) }) }, function ({ swiper: e, extendParams: t, on: s }) { t({ cardsEffect: { slideShadows: !0, transformEl: null } }), F({ effect: "cards", swiper: e, on: s, setTranslate: () => { const { slides: t, activeIndex: s } = e, a = e.params.cardsEffect, { startTranslate: i, isTouched: r } = e.touchEventsData, n = e.translate; for (let l = 0; l < t.length; l += 1) { const o = t.eq(l), d = o[0].progress, p = Math.min(Math.max(d, -4), 4); let c = o[0].swiperSlideOffset; e.params.centeredSlides && !e.params.cssMode && e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`), e.params.centeredSlides && e.params.cssMode && (c -= t[0].swiperSlideOffset); let u = e.params.cssMode ? -c - e.translate : -c, h = 0; const m = -100 * Math.abs(p); let f = 1, g = -2 * p, v = 8 - .75 * Math.abs(p); const w = (l === s || l === s - 1) && p > 0 && p < 1 && (r || e.params.cssMode) && n < i, b = (l === s || l === s + 1) && p < 0 && p > -1 && (r || e.params.cssMode) && n > i; if (w || b) { const e = (1 - Math.abs((Math.abs(p) - .5) / .5)) ** .5; g += -28 * p * e, f += -.5 * e, v += 96 * e, h = -25 * e * Math.abs(p) + "%" } if (u = p < 0 ? `calc(${u}px + (${v * Math.abs(p)}%))` : p > 0 ? `calc(${u}px + (-${v * Math.abs(p)}%))` : `${u}px`, !e.isHorizontal()) { const e = h; h = u, u = e } const x = `\n translate3d(${u}, ${h}, ${m}px)\n rotateZ(${g}deg)\n scale(${p < 0 ? "" + (1 + (1 - f) * p) : "" + (1 - (1 - f) * p)})\n `; if (a.slideShadows) { let e = o.find(".swiper-slide-shadow"); 0 === e.length && (e = Z(a, o)), e.length && (e[0].style.opacity = Math.min(Math.max((Math.abs(p) - .5) / .5, 0), 1)) } o[0].style.zIndex = -Math.abs(Math.round(d)) + t.length; U(a, o).transform(x) } }, setTransition: t => { const { transformEl: s } = e.params.cardsEffect; (s ? e.slides.find(s) : e.slides).transition(t).find(".swiper-slide-shadow").transition(t), K({ swiper: e, duration: t, transformEl: s }) }, perspective: () => !0, overwriteParams: () => ({ watchSlidesProgress: !0, virtualTranslate: !e.params.cssMode }) }) }]; return H.use(J), H }));
+//# sourceMappingURL=swiper-bundle.min.js.map
\ No newline at end of file
diff --git a/static/layered-waves-haikei-cropped.svg b/static/layered-waves-haikei-cropped.svg
new file mode 100644
index 0000000000000000000000000000000000000000..63f9f0cd671f192a00db5ea7d6b03a597e8783bc
--- /dev/null
+++ b/static/layered-waves-haikei-cropped.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/layered-waves-haikei.png b/static/layered-waves-haikei.png
new file mode 100644
index 0000000000000000000000000000000000000000..96774ab465af49b25817b20c6093ba24f9823e1c
Binary files /dev/null and b/static/layered-waves-haikei.png differ
diff --git a/static/layered-waves-haikei.svg b/static/layered-waves-haikei.svg
new file mode 100644
index 0000000000000000000000000000000000000000..9187b04b874db3c9bd0809ac7bc3b2125864798e
--- /dev/null
+++ b/static/layered-waves-haikei.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/loaderanimation_old.mp4 b/static/loaderanimation_old.mp4
new file mode 100644
index 0000000000000000000000000000000000000000..bb504f0208ce43563b0aa76194ed0b475c4aed7a
Binary files /dev/null and b/static/loaderanimation_old.mp4 differ
diff --git a/static/log-back.png b/static/log-back.png
new file mode 100644
index 0000000000000000000000000000000000000000..2837a9e9c288b594f4dafd05a193a4662616d7f2
Binary files /dev/null and b/static/log-back.png differ
diff --git a/static/log-bak.png b/static/log-bak.png
new file mode 100644
index 0000000000000000000000000000000000000000..15432b084a5f955a1c26b422777b0a9d20020def
Binary files /dev/null and b/static/log-bak.png differ
diff --git a/static/login-back.png b/static/login-back.png
new file mode 100644
index 0000000000000000000000000000000000000000..87ac479acee9673d882972b4f5dcf905a82a1053
Binary files /dev/null and b/static/login-back.png differ
diff --git a/static/login-back.svg b/static/login-back.svg
new file mode 100644
index 0000000000000000000000000000000000000000..8e717f8a8229010f4dab615cf173f2ba8962e9d7
--- /dev/null
+++ b/static/login-back.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/parameters/1101.png b/static/parameters/1101.png
new file mode 100644
index 0000000000000000000000000000000000000000..1cc9b1897a426c211cef839d6aa593bf6d9d20e3
Binary files /dev/null and b/static/parameters/1101.png differ
diff --git a/static/parameters/1102.png b/static/parameters/1102.png
new file mode 100644
index 0000000000000000000000000000000000000000..f0f973012badf2bab1634437648e1acafb845b86
Binary files /dev/null and b/static/parameters/1102.png differ
diff --git a/static/parameters/1103.png b/static/parameters/1103.png
new file mode 100644
index 0000000000000000000000000000000000000000..57e67edce6df60a58bcd1a6b770dfab793eda520
Binary files /dev/null and b/static/parameters/1103.png differ
diff --git a/static/parameters/1104.png b/static/parameters/1104.png
new file mode 100644
index 0000000000000000000000000000000000000000..fac8a9a25d220b0112f45025ff819bc16231fa95
Binary files /dev/null and b/static/parameters/1104.png differ
diff --git a/static/parameters/1105.png b/static/parameters/1105.png
new file mode 100644
index 0000000000000000000000000000000000000000..366d2dc78d7ff42c805e9c9f140809e8666a3eae
Binary files /dev/null and b/static/parameters/1105.png differ
diff --git a/static/parameters/1106.png b/static/parameters/1106.png
new file mode 100644
index 0000000000000000000000000000000000000000..2cc3f336b794132f5793ce68c11a0a618733a65e
Binary files /dev/null and b/static/parameters/1106.png differ
diff --git a/static/parameters/1107.png b/static/parameters/1107.png
new file mode 100644
index 0000000000000000000000000000000000000000..b587c0d06657fc80c23c71d5213c2f01b61def60
Binary files /dev/null and b/static/parameters/1107.png differ
diff --git a/static/parameters/1108.png b/static/parameters/1108.png
new file mode 100644
index 0000000000000000000000000000000000000000..a3fd298ca2d13030e92ae27c9685120fb8b2efda
Binary files /dev/null and b/static/parameters/1108.png differ
diff --git a/static/party-popper.png b/static/party-popper.png
new file mode 100644
index 0000000000000000000000000000000000000000..8ffb1889f8f60a894887bae947838603eef06fbd
Binary files /dev/null and b/static/party-popper.png differ
diff --git a/static/rejected.png b/static/rejected.png
new file mode 100644
index 0000000000000000000000000000000000000000..ee945cf17d0aea10874d31d9f801fe551f3a286a
Binary files /dev/null and b/static/rejected.png differ
diff --git a/static/smilecheck_logo.png b/static/smilecheck_logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..0364ae26fb1df978f2f5aadb4f0e49ef29199b0a
Binary files /dev/null and b/static/smilecheck_logo.png differ
diff --git a/static/smilecheckloader.mp4 b/static/smilecheckloader.mp4
new file mode 100644
index 0000000000000000000000000000000000000000..25d8a0839152651df52dddf53116d362af551e70
Binary files /dev/null and b/static/smilecheckloader.mp4 differ
diff --git a/static/smilelogo-transperent.png b/static/smilelogo-transperent.png
new file mode 100644
index 0000000000000000000000000000000000000000..a79143d286821369d9ab61db94130acace15894a
Binary files /dev/null and b/static/smilelogo-transperent.png differ
diff --git a/static/smilelogo.png b/static/smilelogo.png
new file mode 100644
index 0000000000000000000000000000000000000000..b33cb13c0fc41f1d4ef4981d8ea503c26a49b835
Binary files /dev/null and b/static/smilelogo.png differ
diff --git a/static/user-home.png b/static/user-home.png
new file mode 100644
index 0000000000000000000000000000000000000000..2e224a1ecd6a2f4d87885053f17ef66b57b530b5
Binary files /dev/null and b/static/user-home.png differ
diff --git a/static/user-home.svg b/static/user-home.svg
new file mode 100644
index 0000000000000000000000000000000000000000..0f55d403e01ca19b977f2a895064070c30cc825b
--- /dev/null
+++ b/static/user-home.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/user.gif b/static/user.gif
new file mode 100644
index 0000000000000000000000000000000000000000..c5292f09a6d968cabf910ae7f5dc66ce33ab239c
Binary files /dev/null and b/static/user.gif differ
diff --git a/static/wellbeing.png b/static/wellbeing.png
new file mode 100644
index 0000000000000000000000000000000000000000..1cc9b1897a426c211cef839d6aa593bf6d9d20e3
Binary files /dev/null and b/static/wellbeing.png differ
diff --git a/templates/admin.html b/templates/admin.html
new file mode 100644
index 0000000000000000000000000000000000000000..1eaaf217dca934d4f5091b4bbefb8535f85dc1ac
--- /dev/null
+++ b/templates/admin.html
@@ -0,0 +1,920 @@
+
+
+
+
+ Admin Page
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{% if session['name'] %} Welcome {{ session['name'] }}, {% endif %}
+
As an administrator, you have access to a range of features that will help you manage and support your students.
+
+
+
+
+
Total Students
+
{{ ts }}
+
+
+
Happiness Index
+
{{ ahi }}
+
+
+
Total Assessments Submitted
+
{{ tas }}
+
+
+
+
Other Assessments
+
+
+
+
+
+
+
+
+
+
+ ID
+ Name
+ Description
+ Overall Score
+
+
+
+
+ ID
+ Name
+ Description
+ Overall Score
+
+
+ {% for row in assess %}
+
+ {{ row.assessId }}
+ {{ row.name }}
+ {{ row.description[0:71] }}...
+ {{ row.average }}
+ {% endfor %}
+
+
+
+
+
+
+
+
New Assessment
+
+
+
+
+
+
+
+
+
+
Manage Assessments
+
The assessments section allows you to manage assessments for your students.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ID
+ Name
+ Description
+ Questions
+ Actions
+
+
+
+
+ ID
+ Name
+ Description
+ Questions
+ Actions
+
+
+ {% for row in assess %}
+
+ {{ row.assessId }}
+ {{ row.name }}
+ {{ row.description[0:71] }}...
+ See Questions
+
+
+
+
+ Delete
+
+
+
+
+
{{ row.name }} will be permanently deleted.
+
There is no way to recover the assessment and the corresponding progress.
+
+
+
+
+
+
+
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Result Analysis
+
The Result section allows you to monitor students performance.
+
+
+
+
+
+
+
+
+
+ Id
+ Name
+ Email
+ Responses
+
+
+
+
+ Id
+ Name
+ Email
+ Responses
+
+
+ {% for row in result %}
+
+ {{ row.id }}
+ {{ row.name }}
+ {{ row.email }}
+ {% if row.isdone==1 %} {% else %} Pending...
{% endif %}
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Students Feedbacks
+
The Feedback section allows you to access students feedbacks on the assessments.
+
+
+
+
+
+
+
+
+
+ Sr. No.
+ Name
+ Email
+ Feedbacks
+
+
+
+
+ Sr. No.
+ Name
+ Email
+ Feedbacks
+
+
+ {% for row in feeds %}
+
+ {{ loop.index }}
+ {{ row.name }}
+ {{ row.email }}
+ {{ row.feedback }}
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/change.html b/templates/change.html
new file mode 100644
index 0000000000000000000000000000000000000000..3966ab228ddec16bdc8def901b44b6aac7a921f4
--- /dev/null
+++ b/templates/change.html
@@ -0,0 +1,41 @@
+{% extends 'layout.html' %}
+{% block title %} Change Password {% endblock %}
+{% block content %}
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/custom.html b/templates/custom.html
new file mode 100644
index 0000000000000000000000000000000000000000..0e1b758f123f8bcd8579e0717cb68513e277dbc5
--- /dev/null
+++ b/templates/custom.html
@@ -0,0 +1,195 @@
+{% extends 'layout.html' %}
+{% block title %} Custom Form {% endblock %}
+{% block content %}
+{{data}} {{comp}} {{len}}{{types}}
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/customresult.html b/templates/customresult.html
new file mode 100644
index 0000000000000000000000000000000000000000..79bbe93dd3568c03237679d4a68047e360eb33b0
--- /dev/null
+++ b/templates/customresult.html
@@ -0,0 +1,87 @@
+
+
+
+
+ Custom Result
+
+
+
+
+
+
+
diff --git a/templates/email.html b/templates/email.html
new file mode 100644
index 0000000000000000000000000000000000000000..a73c69cdadda523a680de4b63e93db324690aae0
--- /dev/null
+++ b/templates/email.html
@@ -0,0 +1,432 @@
+
+
+
+
+
+
+
+
+
+
+
+ Smile
+
+
+
+
+
+
+
+
+ SmileCheck 😄
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Welcome To SmileCheck!!!
+
+
+
+
+
+
+
+
+
Hey, {{name}}
+
Thank you for signing up with SmileCheck! We are thrilled to have you on board for this exciting journey.
+
To complete the registration process, we kindly request that you verify your email address by clicking on the link below :
+
+
Please note that this link will only be valid for a limited time, so plase verify your email address as soon as possible to avoid any delays in accessing our services.
+
If you have any questions or concerns, please do not hesitate to reach out to our customer support team at :
+
+
Thank you again for choosing SmileCheck, and we look forward to helping you achieve your goals!
+
Best regards,
+
SmileCheck Team
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/error.html b/templates/error.html
new file mode 100644
index 0000000000000000000000000000000000000000..acce474d84a9d37a2f0f11265f93eb42d7ca9391
--- /dev/null
+++ b/templates/error.html
@@ -0,0 +1,25 @@
+{% extends 'layout.html' %}
+{% block title %} Home {% endblock %}
+{% block content %}
+
+
+
+
+
505: Internal Server Error
+
+
+ Check Details
+
{{message}}
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/forgot.html b/templates/forgot.html
new file mode 100644
index 0000000000000000000000000000000000000000..8c05a5ba045c2e316e8dcc3679e136e104a9baef
--- /dev/null
+++ b/templates/forgot.html
@@ -0,0 +1,15 @@
+{% extends 'layout.html' %}
+{% block title %} Forgot Password {% endblock %}
+{% block content %}
+
+
+
+ Email:
+
+ {{ mess }}
+ Verify!
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/form.html b/templates/form.html
new file mode 100644
index 0000000000000000000000000000000000000000..10747201b6d4cc1000d7eb8b2a67eb20f49bc185
--- /dev/null
+++ b/templates/form.html
@@ -0,0 +1,29 @@
+{% extends 'layout.html' %}
+{% block title %} Home {% endblock %}
+{% block content %}
+
+{% endblock %}
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000000000000000000000000000000000000..c69e879780c9c18bfa7621c37c88a80da1d7ae4f
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,769 @@
+
+
+
+
+ Home Page
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% if session['feed'] == 1 %}
Your Feedback is sent successfuly.
+ {% endif %}
+
+
+
{% if session['name'] %} Welcome {{ session['name'] }}, {% else %} Welcome, {% endif %}
+
To get started, simply create an account and complete the assessment. You'll receive a detailed report that includes your happiness score, as well as personalized recommendations for how you can improve your wellbeing. You can even track your progress over time, so you can see how your happiness level changes as you implement our recommendations.
+
+
Select Assessment
+
+
+
+
+
+
+
+
+
Result Analysis
+
The Result section allows you to monitor students performance.
+
+
+
+
+
+
+
+
+
+ Number
+ Name
+ Happiness
+ Date/Time
+
+
+
+
+ Number
+ Name
+ Happiness
+ Date/Time
+
+
+
+
+ {% for row in previous %}
+
+ {{ loop.index }}
+ {{ row['name'] }}
+ {{ row['happy'] }}
+ {{ row['datetime'].strftime('%B %d, %Y at %I:%M %p') }}
+
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..8335171600746feb9741e6b79c34a2e6467d51db
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,227 @@
+
+
+
+
+
+
+ SmileCheck
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SmileCheck Happy Index
+
Welcome to SmileCheck - the revolutionary web app that helps college students measure their happiness index! Our app is designed to analyze your sentiment and provide you with an accurate assessment of your overall level of happiness.
+
Take Assessment
+
+
+
+
+
+
SmileCheck Happy Index
+
Welcome to SmileCheck - the revolutionary web app that helps college students measure their happiness index! Our app is designed to analyze your sentiment and provide you with an accurate assessment of your overall level of happiness.
+
Take Assessment
+
+
+
+
+
+
+
+
+ About
+ We understand that college can be a challenging and stressful time for many students, and it's important to prioritize your mental health and wellbeing. That's why we've created SmileCheck - to give you an easy and accessible way to measure your happiness and identify areas where you can improve.
+ Our sentiment analysis tool is based on the latest research in psychology and uses advanced algorithms to analyze your responses to a series of questions. This allows us to provide you with a comprehensive and accurate assessment of your happiness index.
+
+
+
+ Features
+ To get started, simply create an account and complete the assessment. You'll receive a detailed report that includes your happiness score, as well as personalized recommendations for how you can improve your wellbeing. You can even track your progress over time, so you can see how your happiness level changes as you implement our recommendations.
+
+
+
+
Sentiment Analysis Tool
+
Our sentiment analysis tool is the core feature of SmileCheck. It allows college students to assess their level of happiness and identify areas where they may need to focus on for improvement.
+
+
+
+
+
+
+
+
+
Personalized recommendations
+
Based on the results of the sentiment analysis, SmileCheck provides personalized recommendations to students. These recommendations are tailored to their specific needs and goals, and can help them make positive changes to improve their overall happiness.
+
+
+
+
+
+
+
Progress Tracking
+
SmileCheck enables students to track their progress over time. By regularly completing the assessment, they can see how their happiness level changes and identify trends or patterns that may need attention.
+
+
+
+
+
+
+
+
+
Admin Control
+
SmileCheck offers an admin control feature that allows administrators to create and manage assessments for students. This feature is particularly useful for universities or organizations that want to create custom assessments tailored to their specific needs.
+
+
+
+
+
+
+
+
+
+
+
+
Smart India Hackathon [SIH] Problem Statement 2022
+
Department of School Education & Literacy (DoSEL), Ministry of Education - Development of a happiness index for schools (including mental health and well-being parameters, among others) with self-assessment facilities.
+
See Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/layout.html b/templates/layout.html
new file mode 100644
index 0000000000000000000000000000000000000000..18d5b97b6d5291d13399dc1a66f39c44771a85cd
--- /dev/null
+++ b/templates/layout.html
@@ -0,0 +1,310 @@
+
+
+
+
+
+ {% block title %} {% endblock %}
+
+
+
+
+
+ {% block link %} {% endblock %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% block content %} {% endblock %}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000000000000000000000000000000000000..44ea0352360223bd154dfdbf5a1c76dc83e8ff9e
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,319 @@
+{% extends 'layout.html' %}
+{% block title %} Login {% endblock %}
+{% block content %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/password.html b/templates/password.html
new file mode 100644
index 0000000000000000000000000000000000000000..13696b93f361c3fe181bd789f10e854c0987200b
--- /dev/null
+++ b/templates/password.html
@@ -0,0 +1,31 @@
+{% extends 'layout.html' %}
+{% block title %} Change Password {% endblock %}
+{% block content %}
+
+
+
+
Verification Successfull. You will be auto-redirected in 5 seconds.
+
+
+
+
+
Verification Unsuccessfull. You will be auto-redirected in 5 seconds.
+
Go To HomePage
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/register.html b/templates/register.html
new file mode 100644
index 0000000000000000000000000000000000000000..78bf61802f2962235de455bded82f325fdde89a9
--- /dev/null
+++ b/templates/register.html
@@ -0,0 +1,187 @@
+{% extends 'layout.html' %}
+{% block title %} Register {% endblock %}
+{% block content %}
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/result.html b/templates/result.html
new file mode 100644
index 0000000000000000000000000000000000000000..56facda7818dc76b93584763fc9e422996c3457c
--- /dev/null
+++ b/templates/result.html
@@ -0,0 +1,197 @@
+{% extends 'layout.html' %}
+{% block title %} Custom Form {% endblock %}
+{% block link %} {% endblock %}
+{% block content %}
+
+
+
+
+
+
+
Congratulations! You've completed the SmileCheck assessment.
+
+
+
+
+
+
See Responses
+
Check Result Graph
+
+
+
+
+
+
+
Assessment Analysis
+
+
+
+
+
+ {% set questions_list = res9[0].decode('utf-8')[2:-2].split('", "') %}
+ {% for i in range(1, questions_list|count+1) %}
+ {% set j = res9[1].decode('utf-8')[2:-2].split('", "') %}
+ {% set k = res9[2].decode('utf-8')%}
+ {% set l = res2.decode('utf-8')[1:-1].split(', ') %}
+
+
+
+
+
{{l[loop.index-1]}}
+
+
+
+
+ Question {{ loop.index }}: {{ questions_list[i-1] }}
+
+
+ {{ j[loop.index-1] }}
+
+
+
+ {% endfor %}
+
+
+
Suggestions
+
+
+ {% for key, value in res7.items() %}
+
+
{{ value['average_score'] }}
+
{{ value['name'] }}
+
{{ value['description'] }}
+
+ {% for suggestion in value['suggestions_text'][0] %}
+
Suggestion {{ loop.index }} : {{ suggestion }}
+ {% endfor %}
+
+
+ {% endfor %}
+
+
+
+
+ Remember, improving your happiness is a journey, and we're here to support you every step of the way. Thank you for using SmileCheck. We wish you all the best on your journey to greater happiness and wellbeing.
+
+
+
+{% endblock %}
diff --git a/templates/verify.html b/templates/verify.html
new file mode 100644
index 0000000000000000000000000000000000000000..84740367807ee4c0b7f6d7e8d746bbb4831bd8f0
--- /dev/null
+++ b/templates/verify.html
@@ -0,0 +1,32 @@
+{% extends 'layout.html' %}
+{% block title %} Verification {% endblock %}
+{% block content %}
+
+
+
+
Verification Successfull. You will be auto-redirected in 5 seconds.
+
Go To HomePage
+
+
+
+
+
Verification Unsuccessfull. You will be auto-redirected in 5 seconds.
+
Go To HomePage
+
+
+
+
+{% endblock %}
\ No newline at end of file