initial
@@ -0,0 +1,433 @@
|
||||
.mfp-bg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1042;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
background: #0b0b0b;
|
||||
opacity: .8
|
||||
}
|
||||
|
||||
.mfp-wrap {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1043;
|
||||
position: fixed;
|
||||
outline: none !important;
|
||||
-webkit-backface-visibility: hidden
|
||||
}
|
||||
|
||||
.mfp-container {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 0 8px;
|
||||
box-sizing: border-box
|
||||
}
|
||||
|
||||
.mfp-container:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.mfp-align-top .mfp-container:before {
|
||||
display: none
|
||||
}
|
||||
|
||||
.mfp-content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
z-index: 1045
|
||||
}
|
||||
|
||||
.mfp-inline-holder .mfp-content,
|
||||
.mfp-ajax-holder .mfp-content {
|
||||
width: 100%;
|
||||
cursor: auto
|
||||
}
|
||||
|
||||
.mfp-ajax-cur {
|
||||
cursor: progress
|
||||
}
|
||||
|
||||
.mfp-zoom-out-cur,
|
||||
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
||||
cursor: -moz-zoom-out;
|
||||
cursor: -webkit-zoom-out;
|
||||
cursor: zoom-out
|
||||
}
|
||||
|
||||
.mfp-zoom {
|
||||
cursor: pointer;
|
||||
cursor: -webkit-zoom-in;
|
||||
cursor: -moz-zoom-in;
|
||||
cursor: zoom-in
|
||||
}
|
||||
|
||||
.mfp-auto-cursor .mfp-content {
|
||||
cursor: auto
|
||||
}
|
||||
|
||||
.mfp-close,
|
||||
.mfp-arrow,
|
||||
.mfp-preloader,
|
||||
.mfp-counter {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none
|
||||
}
|
||||
|
||||
.mfp-loading.mfp-figure {
|
||||
display: none
|
||||
}
|
||||
|
||||
.mfp-hide {
|
||||
display: none !important
|
||||
}
|
||||
|
||||
.mfp-preloader {
|
||||
color: #ccc;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
margin-top: -.8em;
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
z-index: 1044
|
||||
}
|
||||
|
||||
.mfp-preloader a {
|
||||
color: #ccc
|
||||
}
|
||||
|
||||
.mfp-preloader a:hover {
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.mfp-s-ready .mfp-preloader {
|
||||
display: none
|
||||
}
|
||||
|
||||
.mfp-s-error .mfp-content {
|
||||
display: none
|
||||
}
|
||||
|
||||
button.mfp-close,
|
||||
button.mfp-arrow {
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
background: 0 0;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
z-index: 1046;
|
||||
box-shadow: none;
|
||||
touch-action: manipulation
|
||||
}
|
||||
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0
|
||||
}
|
||||
|
||||
.mfp-close {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
opacity: .65;
|
||||
padding: 0 0 18px 10px;
|
||||
color: #fff;
|
||||
font-style: normal;
|
||||
font-size: 28px;
|
||||
font-family: Arial, Baskerville, monospace
|
||||
}
|
||||
|
||||
.mfp-close:hover,
|
||||
.mfp-close:focus {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.mfp-close:active {
|
||||
top: 1px
|
||||
}
|
||||
|
||||
.mfp-close-btn-in .mfp-close {
|
||||
color: #333
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-close,
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
color: #fff;
|
||||
right: -6px;
|
||||
text-align: right;
|
||||
padding-right: 6px;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.mfp-counter {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.mfp-arrow {
|
||||
position: absolute;
|
||||
opacity: .65;
|
||||
margin: 0;
|
||||
top: 50%;
|
||||
margin-top: -55px;
|
||||
padding: 0;
|
||||
width: 90px;
|
||||
height: 110px;
|
||||
-webkit-tap-highlight-color: transparent
|
||||
}
|
||||
|
||||
.mfp-arrow:active {
|
||||
margin-top: -54px
|
||||
}
|
||||
|
||||
.mfp-arrow:hover,
|
||||
.mfp-arrow:focus {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.mfp-arrow:before,
|
||||
.mfp-arrow:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-top: 35px;
|
||||
margin-left: 35px;
|
||||
border: medium inset transparent
|
||||
}
|
||||
|
||||
.mfp-arrow:after {
|
||||
border-top-width: 13px;
|
||||
border-bottom-width: 13px;
|
||||
top: 8px
|
||||
}
|
||||
|
||||
.mfp-arrow:before {
|
||||
border-top-width: 21px;
|
||||
border-bottom-width: 21px;
|
||||
opacity: .7
|
||||
}
|
||||
|
||||
.mfp-arrow-left {
|
||||
left: 0
|
||||
}
|
||||
|
||||
.mfp-arrow-left:after {
|
||||
border-right: 17px solid #fff;
|
||||
margin-left: 31px
|
||||
}
|
||||
|
||||
.mfp-arrow-left:before {
|
||||
margin-left: 25px;
|
||||
border-right: 27px solid #3f3f3f
|
||||
}
|
||||
|
||||
.mfp-arrow-right {
|
||||
right: 0
|
||||
}
|
||||
|
||||
.mfp-arrow-right:after {
|
||||
border-left: 17px solid #fff;
|
||||
margin-left: 39px
|
||||
}
|
||||
|
||||
.mfp-arrow-right:before {
|
||||
border-left: 27px solid #3f3f3f
|
||||
}
|
||||
|
||||
.mfp-iframe-holder {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px
|
||||
}
|
||||
|
||||
.mfp-iframe-holder .mfp-content {
|
||||
line-height: 0;
|
||||
width: 100%;
|
||||
max-width: 900px
|
||||
}
|
||||
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
top: -40px
|
||||
}
|
||||
|
||||
.mfp-iframe-scaler {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
padding-top: 56.25%
|
||||
}
|
||||
|
||||
.mfp-iframe-scaler iframe {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, .6);
|
||||
background: #000
|
||||
}
|
||||
|
||||
img.mfp-img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 40px 0;
|
||||
margin: 0 auto
|
||||
}
|
||||
|
||||
.mfp-figure {
|
||||
line-height: 0
|
||||
}
|
||||
|
||||
.mfp-figure:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 40px;
|
||||
bottom: 40px;
|
||||
display: block;
|
||||
right: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
z-index: -1;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, .6);
|
||||
background: #444
|
||||
}
|
||||
|
||||
.mfp-figure small {
|
||||
color: #bdbdbd;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 14px
|
||||
}
|
||||
|
||||
.mfp-figure figure {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.mfp-bottom-bar {
|
||||
margin-top: -36px;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
cursor: auto
|
||||
}
|
||||
|
||||
.mfp-title {
|
||||
text-align: left;
|
||||
line-height: 18px;
|
||||
color: #f3f3f3;
|
||||
word-wrap: break-word;
|
||||
padding-right: 36px
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 100%
|
||||
}
|
||||
|
||||
.mfp-gallery .mfp-image-holder .mfp-figure {
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
@media screen and (max-width:800px) and (orientation:landscape),
|
||||
screen and (max-height:300px) {
|
||||
.mfp-img-mobile .mfp-image-holder {
|
||||
padding-left: 0;
|
||||
padding-right: 0
|
||||
}
|
||||
.mfp-img-mobile img.mfp-img {
|
||||
padding: 0
|
||||
}
|
||||
.mfp-img-mobile .mfp-figure:after {
|
||||
top: 0;
|
||||
bottom: 0
|
||||
}
|
||||
.mfp-img-mobile .mfp-figure small {
|
||||
display: inline;
|
||||
margin-left: 5px
|
||||
}
|
||||
.mfp-img-mobile .mfp-bottom-bar {
|
||||
background: rgba(0, 0, 0, .6);
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
top: auto;
|
||||
padding: 3px 5px;
|
||||
position: fixed;
|
||||
box-sizing: border-box
|
||||
}
|
||||
.mfp-img-mobile .mfp-bottom-bar:empty {
|
||||
padding: 0
|
||||
}
|
||||
.mfp-img-mobile .mfp-counter {
|
||||
right: 5px;
|
||||
top: 3px
|
||||
}
|
||||
.mfp-img-mobile .mfp-close {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
background: rgba(0, 0, 0, .6);
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
padding: 0
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width:900px) {
|
||||
.mfp-arrow {
|
||||
-webkit-transform: scale(.75);
|
||||
transform: scale(.75)
|
||||
}
|
||||
.mfp-arrow-left {
|
||||
-webkit-transform-origin: 0;
|
||||
transform-origin: 0
|
||||
}
|
||||
.mfp-arrow-right {
|
||||
-webkit-transform-origin: 100%;
|
||||
transform-origin: 100%
|
||||
}
|
||||
.mfp-container {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,690 @@
|
||||
/**
|
||||
* 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
|
||||
}
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 383 KiB |
|
After Width: | Height: | Size: 374 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 376 KiB |
|
After Width: | Height: | Size: 219 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 258 KiB |
|
After Width: | Height: | Size: 166 KiB |
|
After Width: | Height: | Size: 462 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 311 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 236 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
@@ -0,0 +1,28 @@
|
||||
<svg width="162" height="25" viewBox="0 0 162 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M39.8564 22.9995C38.2933 22.9995 36.9129 22.6769 35.7151 22.0316C34.5377 21.3864 33.6242 20.4772 32.9745 19.304C32.3249 18.1112 32.0001 16.7425 32.0001 15.1978V9.80119C32.0001 8.25649 32.3249 6.89756 32.9745 5.72437C33.6445 4.53163 34.5783 3.61264 35.776 2.96739C36.9941 2.32214 38.3948 1.99951 39.9782 1.99951H43.206C44.7286 1.99951 46.0684 2.31236 47.2255 2.93806C48.3827 3.56376 49.2759 4.44364 49.9052 5.57772C50.5548 6.69225 50.8796 7.99253 50.8796 9.47856H46.7383C46.7383 8.30538 46.4135 7.36683 45.7639 6.66292C45.1143 5.93946 44.2616 5.57772 43.206 5.57772H39.9782C38.8414 5.57772 37.9279 5.98834 37.2377 6.80957C36.5474 7.61124 36.2023 8.66711 36.2023 9.97716V15.0219C36.2023 16.3319 36.5373 17.3976 37.2072 18.2188C37.8771 19.0205 38.7602 19.4213 39.8564 19.4213H43.1451C44.221 19.4213 45.094 19.0205 45.7639 18.2188C46.4541 17.4171 46.7992 16.3612 46.7992 15.0512H50.9405C50.9405 16.635 50.6157 18.033 49.9661 19.2453C49.3165 20.4381 48.403 21.3668 47.2255 22.0316C46.0481 22.6769 44.688 22.9995 43.1451 22.9995H39.8564Z" fill="#17161A"/>
|
||||
<path d="M53.5233 7.93975H57.5534V9.87125C57.9586 9.28778 58.5343 8.81496 59.2806 8.45281C60.0482 8.07053 60.8479 7.87939 61.6795 7.87939H63.8544V11.4406H61.6795C60.5493 11.4406 59.6324 11.7625 58.9288 12.4063C58.2251 13.0502 57.8733 13.8751 57.8733 14.8811V22.9994H53.5233V7.93975Z" fill="#17161A"/>
|
||||
<path d="M72.9912 22.9994C71.7049 22.9994 70.5615 22.7743 69.5611 22.3241C68.5811 21.8544 67.8154 21.2085 67.2642 20.3864C66.7129 19.5448 66.4373 18.5857 66.4373 17.5092V13.7219C66.4373 12.5671 66.7129 11.5493 67.2642 10.6685C67.8154 9.78774 68.5811 9.1027 69.5611 8.61337C70.5615 8.12405 71.7049 7.87939 72.9912 7.87939H75.4413C77.4013 7.87939 78.9734 8.40786 80.1576 9.46479C81.3418 10.5217 81.9339 11.931 81.9339 13.6925V16.8046H70.6024V17.5092C70.6024 18.1551 70.8168 18.6738 71.2455 19.0653C71.6743 19.4567 72.2562 19.6524 72.9912 19.6524H75.38C76.0946 19.6524 76.6663 19.5056 77.0951 19.2121C77.5442 18.8989 77.7688 18.4976 77.7688 18.0083H81.8727C81.8727 18.987 81.5971 19.858 81.0458 20.6213C80.4945 21.3846 79.7187 21.9718 78.7182 22.3829C77.7382 22.7939 76.605 22.9994 75.3188 22.9994H72.9912ZM77.8301 13.9274V13.6925C77.8301 12.9292 77.6157 12.3224 77.1869 11.8722C76.7582 11.4025 76.1865 11.1676 75.4719 11.1676H72.9912C72.2562 11.1676 71.6641 11.4123 71.2149 11.9016C70.7657 12.3909 70.5411 13.0368 70.5411 13.8393V13.9274H77.8301Z" fill="#17161A"/>
|
||||
<path d="M89.7138 22.9994C88.1606 22.9994 86.9061 22.6177 85.9503 21.8544C84.9945 21.091 84.5166 20.083 84.5166 18.8304V17.7441C84.5166 16.511 85.0144 15.5226 86.01 14.7788C87.0057 14.0155 88.3199 13.6338 89.9527 13.6338H91.7747C92.2925 13.6338 92.85 13.7023 93.4474 13.8393C94.0448 13.9763 94.5924 14.1623 95.0902 14.3971V12.8705C95.0902 12.3811 94.9209 11.9897 94.5824 11.6961C94.2638 11.3829 93.8357 11.2263 93.2981 11.2263H90.7293C90.1718 11.2263 89.7237 11.3536 89.3852 11.608C89.0467 11.8625 88.8775 12.205 88.8775 12.6356H84.9348C84.9348 11.2068 85.4625 10.0618 86.5178 9.20056C87.5931 8.31978 88.9969 7.87939 90.7293 7.87939H93.2981C95.0504 7.87939 96.4642 8.33936 97.5394 9.25928C98.6147 10.1596 99.1524 11.3634 99.1524 12.8705V22.7645H95.3889V21.003C94.911 21.6097 94.3236 22.099 93.6266 22.4709C92.9297 22.8232 92.2427 22.9994 91.5657 22.9994H89.7138ZM91.8644 19.946C92.6011 19.946 93.2582 19.7601 93.8357 19.3882C94.4132 19.0163 94.8313 18.5172 95.0902 17.8909V17.3918C94.7716 17.1569 94.3236 16.971 93.7461 16.834C93.1885 16.6969 92.5912 16.6284 91.954 16.6284H90.0722C89.5943 16.6284 89.206 16.7459 88.9073 16.9808C88.6086 17.2156 88.4593 17.5288 88.4593 17.9202V18.6836C88.4593 19.0555 88.6186 19.3589 88.9372 19.5937C89.2757 19.8286 89.7138 19.946 90.2514 19.946H91.8644Z" fill="#17161A"/>
|
||||
<path d="M107.776 22.9994C105.953 22.9994 104.49 22.5296 103.388 21.5902C102.286 20.6507 101.735 19.4176 101.735 17.8909H105.762C105.762 18.4194 105.943 18.85 106.303 19.1827C106.684 19.4959 107.175 19.6524 107.776 19.6524H110.481C111.683 19.6524 112.284 19.3295 112.284 18.6836V18.1845C112.284 17.9888 112.184 17.8126 111.983 17.656C111.783 17.4799 111.512 17.3624 111.172 17.3037L105.973 16.4229C104.751 16.2272 103.779 15.8064 103.058 15.1605C102.356 14.495 102.006 13.7219 102.006 12.8411V11.8722C102.006 10.6196 102.527 9.64095 103.568 8.93633C104.63 8.23171 106.103 7.87939 107.986 7.87939H110.33C112.013 7.87939 113.366 8.31978 114.387 9.20056C115.429 10.0618 115.95 11.2068 115.95 12.6356H111.923C111.923 12.205 111.773 11.8625 111.472 11.608C111.192 11.3536 110.811 11.2263 110.33 11.2263H108.046C106.744 11.2263 106.093 11.5199 106.093 12.1071V12.5769C106.093 12.7922 106.173 12.9781 106.333 13.1347C106.514 13.2717 106.764 13.3696 107.085 13.4283L112.554 14.3971C113.696 14.5929 114.618 15.0137 115.319 15.6596C116.02 16.2859 116.371 17.0003 116.371 17.8028V18.8597C116.371 20.132 115.83 21.14 114.748 21.8837C113.686 22.6275 112.264 22.9994 110.481 22.9994H107.776Z" fill="#75DAB4"/>
|
||||
<path d="M125.68 22.9994C124.354 22.9994 123.175 22.7645 122.143 22.2948C121.133 21.8055 120.343 21.1204 119.775 20.2396C119.227 19.3589 118.954 18.3411 118.954 17.1863V13.7512C118.954 12.5964 119.238 11.5787 119.806 10.6979C120.375 9.79753 121.164 9.1027 122.175 8.61337C123.206 8.12405 124.385 7.87939 125.712 7.87939H128.554C129.88 7.87939 131.048 8.12405 132.059 8.61337C133.09 9.1027 133.89 9.79753 134.459 10.6979C135.027 11.5787 135.311 12.5964 135.311 13.7512V17.1863C135.311 18.3411 135.027 19.3589 134.459 20.2396C133.89 21.1204 133.09 21.8055 132.059 22.2948C131.048 22.7645 129.869 22.9994 128.522 22.9994H125.68ZM128.459 19.5644C129.238 19.5644 129.859 19.3197 130.322 18.8304C130.785 18.3215 131.017 17.6658 131.017 16.8633V14.0155C131.017 13.213 130.785 12.5671 130.322 12.0778C129.859 11.5689 129.248 11.3144 128.49 11.3144H125.775C125.017 11.3144 124.406 11.5689 123.943 12.0778C123.48 12.5671 123.248 13.213 123.248 14.0155V16.8633C123.248 17.6658 123.48 18.3215 123.943 18.8304C124.406 19.3197 125.006 19.5644 125.743 19.5644H128.459Z" fill="#17161A"/>
|
||||
<path d="M140.411 11.5748H137.894V8.11457H140.411V7.13019C140.411 5.5194 140.909 4.26656 141.904 3.37167C142.918 2.4569 144.323 1.99951 146.118 1.99951H148.225V5.45974H146.177C145.552 5.45974 145.094 5.59894 144.801 5.87735C144.528 6.15576 144.391 6.59326 144.391 7.18985V8.11457H147.903V11.5748H144.391V22.9995H140.411V11.5748Z" fill="#17161A"/>
|
||||
<path d="M158.965 22.9992C157.11 22.9992 155.751 22.6029 154.887 21.8103C154.022 21.0177 153.59 19.7891 153.59 18.1246V11.6153H150.808V8.16738H153.717V3.6792H157.89V8.16738H162V11.6153H157.89V17.9463C157.89 18.5011 157.995 18.9073 158.206 19.1649C158.438 19.4225 158.796 19.5513 159.281 19.5513H162V22.9992H158.965Z" fill="#17161A"/>
|
||||
<path d="M7.74444 1.63024C7.22469 2.53385 6.61832 3.61464 6.39309 4.02215L5.97729 4.76629L6.37577 5.59903C6.72227 6.30775 6.80889 6.39633 6.99947 6.18372C7.12074 6.04198 7.96966 4.60683 8.88788 2.95908L10.5511 0.000200748H9.61553H8.67998L7.74444 1.63024Z" fill="#75DAB4"/>
|
||||
<path d="M9.45948 3.65034L7.38049 7.31792L7.79629 8.07979C8.00419 8.50502 8.24674 8.85938 8.31604 8.85938C8.41999 8.85938 13.115 0.673742 13.3056 0.159925C13.3403 0.0713367 12.9591 0.000465393 12.4394 0.000465393H11.5211L9.45948 3.65034Z" fill="#75DAB4"/>
|
||||
<path d="M13.7214 1.18744C11.8156 4.55382 9.21689 9.17817 9.02632 9.53253C8.83574 9.88689 8.87039 10.0463 9.28619 10.7551C9.63269 11.3575 9.78861 11.4992 9.89256 11.322C9.96186 11.1803 11.1573 9.07187 12.526 6.64453L15.0381 2.21507L16.2681 2.16192L17.4982 2.10877L16.9438 1.06341L16.3721 0.00034523H15.3846H14.397L13.7214 1.18744Z" fill="#75DAB4"/>
|
||||
<path d="M3.25721 3.68544L2.80676 4.51818L5.57875 9.44373L8.35074 14.3516H9.28628C10.2218 14.3516 10.2218 14.3516 10.0313 13.9441C9.90998 13.7314 8.73189 11.6407 7.39787 9.30198L4.9897 5.04971L5.52678 4.05751C5.8213 3.50826 6.06385 3.01216 6.06385 2.94129C6.06385 2.88814 5.5441 2.83498 4.90308 2.83498H3.72498L3.25721 3.68544Z" fill="#75DAB4"/>
|
||||
<path d="M15.6272 3.04777C15.4366 3.31353 14.8995 4.3766 14.8995 4.51834C14.8995 4.5715 16.4934 4.60693 18.4511 4.60693C20.4089 4.60693 22.0028 4.55378 22.0028 4.48291C22.0028 4.42976 21.8122 4.02225 21.5696 3.59702L21.1192 2.83515H18.4685C16.5454 2.83515 15.7658 2.88831 15.6272 3.04777Z" fill="#75DAB4"/>
|
||||
<path d="M2.11376 5.70527C2.02713 5.82929 1.81923 6.20137 1.66331 6.50257L1.38611 7.08726L3.41312 10.7194L5.45746 14.3338L6.37569 14.3516C6.86078 14.3516 7.27658 14.3161 7.27658 14.2453C7.27658 14.1389 2.40828 5.49265 2.33898 5.49265C2.32165 5.49265 2.2177 5.59896 2.11376 5.70527Z" fill="#75DAB4"/>
|
||||
<path d="M13.8081 6.23662L13.375 6.99849L18.3126 7.05164C21.0499 7.06936 23.3022 7.05164 23.3368 7.01621C23.3888 6.98077 23.2502 6.62642 23.0423 6.21891L22.6958 5.49248H18.4685H14.2412L13.8081 6.23662Z" fill="#75DAB4"/>
|
||||
<path d="M0.45057 8.66415C0.208021 9.05394 0.00012207 9.46145 0.00012207 9.55004C0.00012207 9.63863 0.589169 10.7726 1.31682 12.0305L2.63351 14.3516H3.56906H4.52193L4.0888 13.5897C3.86358 13.1822 3.04931 11.747 2.28701 10.3828L0.901018 7.93772L0.45057 8.66415Z" fill="#75DAB4"/>
|
||||
<path d="M12.4222 8.71707C12.1796 9.1423 12.0237 9.53209 12.0757 9.60296C12.1103 9.69155 14.5012 9.74471 17.3771 9.74471H22.6265L23.129 10.7192C23.4235 11.2507 23.718 11.6759 23.7873 11.6405C23.8739 11.6228 24.1685 11.1621 24.463 10.6129L25.0001 9.62068L24.515 8.80566L24.0472 7.97293H18.4512H12.8553L12.4222 8.71707Z" fill="#75DAB4"/>
|
||||
<path d="M14.7263 10.7372C14.7263 10.8081 15.8178 12.7925 17.1691 15.1666C18.5205 17.5585 19.6466 19.6492 19.6986 19.8441C19.7505 20.039 19.56 20.606 19.2481 21.173L18.711 22.1475H19.9238H21.1365L21.5697 21.421C21.8295 21.0312 22.0028 20.5883 21.9681 20.4643C21.9335 20.3225 20.7034 18.0546 19.2308 15.4324L16.5454 10.6486L15.6445 10.6309C15.1421 10.6309 14.7263 10.684 14.7263 10.7372Z" fill="#75DAB4"/>
|
||||
<path d="M18.0528 11.6585C21.2059 17.3282 22.4533 19.472 22.5919 19.4366C22.6612 19.4011 22.9211 19.0645 23.1463 18.6924L23.5448 17.9837L22.2801 15.769C21.5871 14.5465 20.6515 12.8987 20.2011 12.0837L19.3695 10.6308H18.4166H17.4811L18.0528 11.6585Z" fill="#75DAB4"/>
|
||||
<path d="M20.4435 10.7195C20.4435 10.8612 23.9258 17.0093 24.0124 17.0093C24.0471 17.0093 24.2723 16.6549 24.5148 16.2297L24.9653 15.4501L23.6139 13.0405L22.2626 10.6486L21.3617 10.6309C20.8593 10.6309 20.4435 10.6663 20.4435 10.7195Z" fill="#75DAB4"/>
|
||||
<path d="M0.537195 14.1921C0.242671 14.7237 0.00012207 15.2198 0.00012207 15.3261C0.00012207 15.4147 0.173371 15.8399 0.38127 16.2474L0.779743 17.0093H6.44499H12.1276L12.4741 16.3006C12.6646 15.9285 12.8206 15.5564 12.8206 15.5033C12.8206 15.4501 10.4817 15.4147 7.62309 15.4147H2.42561L1.94051 14.5997C1.07427 13.0936 1.14357 13.1114 0.537195 14.1921Z" fill="#75DAB4"/>
|
||||
<path d="M12.4048 18.2492L9.84067 22.8558H8.64525C7.9869 22.8558 7.44983 22.9089 7.44983 22.9621C7.44983 23.033 7.69238 23.5114 7.9869 24.0252L8.50665 24.9819H9.52882H10.5337L13.3057 20.0564L16.0776 15.1485L15.6792 14.4398C15.4713 14.0678 15.2114 13.7311 15.1421 13.6957C15.0555 13.678 13.8254 15.7332 12.4048 18.2492Z" fill="#75DAB4"/>
|
||||
<path d="M14.0506 20.4462C12.6993 22.8204 11.6078 24.8225 11.6078 24.8756C11.6078 24.9288 12.0236 24.9819 12.526 24.9819C13.3923 24.9819 13.4442 24.9465 13.7907 24.3087C13.9813 23.9543 14.8995 22.3243 15.8177 20.6765L17.4983 17.7176L17.1518 17.0266C16.9612 16.6368 16.736 16.2825 16.6493 16.2293C16.5627 16.1762 15.4019 18.072 14.0506 20.4462Z" fill="#75DAB4"/>
|
||||
<path d="M1.38611 17.9661C1.38611 18.1433 2.16573 19.4012 2.33898 19.5252C2.4256 19.5961 4.31402 19.667 6.53161 19.667H10.551L11.0014 18.9051C11.244 18.4799 11.4346 18.0724 11.4346 18.0192C11.4346 17.9484 9.18232 17.8952 6.41034 17.8952C3.65567 17.8952 1.38611 17.9306 1.38611 17.9661Z" fill="#75DAB4"/>
|
||||
<path d="M16.4414 21.297C15.6618 22.6967 14.8648 24.0964 14.6916 24.4153L14.3451 25L15.3326 24.9468L16.3028 24.8937L17.6022 22.5904L18.9015 20.2871L18.555 19.5252C18.3645 19.1177 18.1219 18.781 18.0353 18.781C17.9487 18.781 17.2384 19.915 16.4414 21.297Z" fill="#75DAB4"/>
|
||||
<path d="M2.94531 20.5706C2.94531 20.6769 3.11856 21.0844 3.32646 21.4565L3.70761 22.1475H6.42762H9.16496L9.59808 21.4033C9.84063 20.9958 9.99656 20.606 9.94458 20.5174C9.80598 20.2871 2.94531 20.3402 2.94531 20.5706Z" fill="#75DAB4"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,28 @@
|
||||
<svg width="163" height="25" viewBox="0 0 163 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M39.8602 23.0005C38.2971 23.0005 36.9166 22.6779 35.7189 22.0326C34.5415 21.3874 33.6279 20.4781 32.9783 19.305C32.3287 18.1122 32.0039 16.7435 32.0039 15.1988V9.80216C32.0039 8.25747 32.3287 6.89853 32.9783 5.72535C33.6482 4.53261 34.5821 3.61362 35.7798 2.96837C36.9978 2.32311 38.3986 2.00049 39.982 2.00049H43.2098C44.7323 2.00049 46.0722 2.31334 47.2293 2.93903C48.3864 3.56473 49.2797 4.44462 49.909 5.5787C50.5586 6.69322 50.8834 7.9935 50.8834 9.47954H46.7421C46.7421 8.30635 46.4173 7.36781 45.7677 6.6639C45.1181 5.94043 44.2654 5.5787 43.2098 5.5787H39.982C38.8452 5.5787 37.9317 5.98931 37.2414 6.81054C36.5512 7.61222 36.2061 8.66809 36.2061 9.97814V15.0228C36.2061 16.3329 36.5411 17.3985 37.211 18.2198C37.8809 19.0214 38.764 19.4223 39.8602 19.4223H43.1489C44.2248 19.4223 45.0978 19.0214 45.7677 18.2198C46.4579 17.4181 46.803 16.3622 46.803 15.0522H50.9443C50.9443 16.636 50.6195 18.034 49.9699 19.2463C49.3203 20.439 48.4067 21.3678 47.2293 22.0326C46.0519 22.6779 44.6917 23.0005 43.1489 23.0005H39.8602Z" fill="white"/>
|
||||
<path d="M53.5271 7.94073H57.5572V9.87223C57.9623 9.28876 58.5381 8.81594 59.2844 8.45378C60.052 8.07151 60.8516 7.88037 61.6833 7.88037H63.8582V11.4416H61.6833C60.5531 11.4416 59.6362 11.7635 58.9325 12.4073C58.2289 13.0512 57.877 13.8761 57.877 14.882V23.0004H53.5271V7.94073Z" fill="white"/>
|
||||
<path d="M72.9949 23.0004C71.7086 23.0004 70.5652 22.7753 69.5648 22.3251C68.5847 21.8554 67.8191 21.2095 67.2678 20.3874C66.7166 19.5458 66.4409 18.5867 66.4409 17.5102V13.7229C66.4409 12.5681 66.7166 11.5503 67.2678 10.6695C67.8191 9.78872 68.5847 9.10367 69.5648 8.61435C70.5652 8.12503 71.7086 7.88037 72.9949 7.88037H75.4449C77.405 7.88037 78.9771 8.40884 80.1613 9.46577C81.3455 10.5227 81.9376 11.9319 81.9376 13.6935V16.8056H70.606V17.5102C70.606 18.1561 70.8204 18.6748 71.2492 19.0662C71.6779 19.4577 72.2598 19.6534 72.9949 19.6534H75.3837C76.0983 19.6534 76.67 19.5066 77.0987 19.213C77.5479 18.8999 77.7725 18.4986 77.7725 18.0093H81.8764C81.8764 18.9879 81.6007 19.8589 81.0495 20.6223C80.4982 21.3856 79.7223 21.9728 78.7219 22.3838C77.7419 22.7949 76.6087 23.0004 75.3224 23.0004H72.9949ZM77.8337 13.9284V13.6935C77.8337 12.9302 77.6194 12.3234 77.1906 11.8732C76.7618 11.4035 76.1902 11.1686 75.4755 11.1686H72.9949C72.2598 11.1686 71.6677 11.4133 71.2186 11.9026C70.7694 12.3919 70.5448 13.0378 70.5448 13.8403V13.9284H77.8337Z" fill="white"/>
|
||||
<path d="M89.7177 23.0004C88.1645 23.0004 86.91 22.6187 85.9542 21.8554C84.9984 21.092 84.5205 20.084 84.5205 18.8314V17.7451C84.5205 16.512 85.0183 15.5236 86.014 14.7798C87.0096 14.0164 88.3238 13.6348 89.9566 13.6348H91.7787C92.2964 13.6348 92.8539 13.7033 93.4513 13.8403C94.0487 13.9773 94.5963 14.1632 95.0941 14.3981V12.8714C95.0941 12.3821 94.9248 11.9907 94.5863 11.6971C94.2677 11.3839 93.8396 11.2273 93.302 11.2273H90.7332C90.1757 11.2273 89.7277 11.3545 89.3891 11.609C89.0506 11.8634 88.8814 12.206 88.8814 12.6366H84.9387C84.9387 11.2077 85.4664 10.0627 86.5217 9.20154C87.597 8.32076 89.0008 7.88037 90.7332 7.88037H93.302C95.0543 7.88037 96.4681 8.34033 97.5433 9.26026C98.6186 10.1606 99.1563 11.3643 99.1563 12.8714V22.7655H95.3928V21.0039C94.9149 21.6107 94.3275 22.1 93.6305 22.4719C92.9336 22.8242 92.2466 23.0004 91.5696 23.0004H89.7177ZM91.8683 19.947C92.605 19.947 93.2621 19.7611 93.8396 19.3892C94.4171 19.0173 94.8352 18.5182 95.0941 17.8919V17.3928C94.7755 17.1579 94.3275 16.9719 93.75 16.8349C93.1924 16.6979 92.5951 16.6294 91.9579 16.6294H90.0761C89.5982 16.6294 89.2099 16.7469 88.9112 16.9817C88.6125 17.2166 88.4632 17.5298 88.4632 17.9212V18.6846C88.4632 19.0564 88.6225 19.3598 88.9411 19.5947C89.2796 19.8296 89.7177 19.947 90.2553 19.947H91.8683Z" fill="white"/>
|
||||
<path d="M107.78 23.0004C105.956 23.0004 104.494 22.5306 103.392 21.5911C102.29 20.6516 101.739 19.4185 101.739 17.8919H105.766C105.766 18.4203 105.946 18.8509 106.307 19.1837C106.688 19.4968 107.179 19.6534 107.78 19.6534H110.484C111.687 19.6534 112.288 19.3305 112.288 18.6846V18.1855C112.288 17.9897 112.187 17.8136 111.987 17.657C111.787 17.4808 111.516 17.3634 111.176 17.3047L105.976 16.4239C104.754 16.2282 103.783 15.8074 103.061 15.1615C102.36 14.496 102.009 13.7229 102.009 12.8421V11.8732C102.009 10.6206 102.53 9.64192 103.572 8.9373C104.634 8.23268 106.107 7.88037 107.99 7.88037H110.334C112.017 7.88037 113.369 8.32076 114.391 9.20154C115.433 10.0627 115.954 11.2077 115.954 12.6366H111.927C111.927 12.206 111.777 11.8634 111.476 11.609C111.196 11.3545 110.815 11.2273 110.334 11.2273H108.05C106.748 11.2273 106.097 11.5209 106.097 12.1081V12.5778C106.097 12.7931 106.177 12.9791 106.337 13.1357C106.517 13.2727 106.768 13.3705 107.088 13.4293L112.558 14.3981C113.7 14.5938 114.622 15.0147 115.323 15.6606C116.024 16.2869 116.375 17.0013 116.375 17.8038V18.8607C116.375 20.133 115.834 21.141 114.752 21.8847C113.69 22.6285 112.268 23.0004 110.484 23.0004H107.78Z" fill="#75DAB4"/>
|
||||
<path d="M125.684 23.0004C124.357 23.0004 123.178 22.7655 122.147 22.2957C121.136 21.8064 120.347 21.1214 119.779 20.2406C119.231 19.3598 118.958 18.342 118.958 17.1872V13.7522C118.958 12.5974 119.242 11.5796 119.81 10.6989C120.379 9.79851 121.168 9.10367 122.179 8.61435C123.21 8.12503 124.389 7.88037 125.715 7.88037H128.557C129.884 7.88037 131.052 8.12503 132.063 8.61435C133.094 9.10367 133.894 9.79851 134.463 10.6989C135.031 11.5796 135.315 12.5974 135.315 13.7522V17.1872C135.315 18.342 135.031 19.3598 134.463 20.2406C133.894 21.1214 133.094 21.8064 132.063 22.2957C131.052 22.7655 129.873 23.0004 128.526 23.0004H125.684ZM128.463 19.5653C129.242 19.5653 129.863 19.3207 130.326 18.8314C130.789 18.3225 131.02 17.6668 131.02 16.8643V14.0164C131.02 13.214 130.789 12.5681 130.326 12.0787C129.863 11.5698 129.252 11.3154 128.494 11.3154H125.778C125.021 11.3154 124.41 11.5698 123.947 12.0787C123.484 12.5681 123.252 13.214 123.252 14.0164V16.8643C123.252 17.6668 123.484 18.3225 123.947 18.8314C124.41 19.3207 125.01 19.5653 125.747 19.5653H128.463Z" fill="white"/>
|
||||
<path d="M140.415 11.5758H137.898V8.11555H140.415V7.13117C140.415 5.52038 140.912 4.26753 141.907 3.37265C142.922 2.45787 144.327 2.00049 146.122 2.00049H148.229V5.46072H146.18C145.556 5.46072 145.098 5.59992 144.805 5.87833C144.532 6.15674 144.395 6.59424 144.395 7.19083V8.11555H147.907V11.5758H144.395V23.0005H140.415V11.5758Z" fill="white"/>
|
||||
<path d="M158.969 23.0002C157.114 23.0002 155.754 22.6039 154.89 21.8113C154.026 21.0186 153.594 19.7901 153.594 18.1256V11.6162H150.812V8.16836H153.72V3.68018H157.894V8.16836H162.004V11.6162H157.894V17.9473C157.894 18.5021 157.999 18.9083 158.21 19.1659C158.442 19.4235 158.8 19.5523 159.285 19.5523H162.004V23.0002H158.969Z" fill="white"/>
|
||||
<path d="M7.74834 1.63122C7.2286 2.53483 6.62222 3.61561 6.397 4.02312L5.9812 4.76727L6.37967 5.60001C6.72617 6.30872 6.8128 6.39731 7.00337 6.1847C7.12465 6.04295 7.97357 4.60781 8.89179 2.96005L10.555 0.00117731H9.61944H8.68389L7.74834 1.63122Z" fill="#75DAB4"/>
|
||||
<path d="M9.46339 3.65131L7.3844 7.3189L7.8002 8.08077C8.0081 8.506 8.25065 8.86035 8.31995 8.86035C8.42389 8.86035 13.1189 0.674719 13.3095 0.160902C13.3442 0.0723133 12.963 0.00144196 12.4433 0.00144196H11.5251L9.46339 3.65131Z" fill="#75DAB4"/>
|
||||
<path d="M13.7253 1.18842C11.8195 4.5548 9.2208 9.17915 9.03022 9.53351C8.83965 9.88786 8.8743 10.0473 9.2901 10.756C9.6366 11.3584 9.79252 11.5002 9.89647 11.323C9.96577 11.1813 11.1612 9.07284 12.5299 6.6455L15.042 2.21605L16.272 2.1629L17.5021 2.10974L16.9477 1.06439L16.376 0.00132179H15.3885H14.401L13.7253 1.18842Z" fill="#75DAB4"/>
|
||||
<path d="M3.26112 3.68641L2.81067 4.51915L5.58266 9.4447L8.35464 14.3525H9.29019C10.2257 14.3525 10.2257 14.3525 10.0352 13.945C9.91389 13.7324 8.73579 11.6417 7.40177 9.30296L4.99361 5.05069L5.53068 4.05849C5.82521 3.50924 6.06775 3.01314 6.06775 2.94227C6.06775 2.88911 5.54801 2.83596 4.90698 2.83596H3.72889L3.26112 3.68641Z" fill="#75DAB4"/>
|
||||
<path d="M15.6311 3.04874C15.4405 3.31451 14.9034 4.37758 14.9034 4.51932C14.9034 4.57247 16.4973 4.60791 18.4551 4.60791C20.4128 4.60791 22.0067 4.55476 22.0067 4.48389C22.0067 4.43073 21.8161 4.02322 21.5735 3.59799L21.1231 2.83613H18.4724C16.5493 2.83613 15.7697 2.88928 15.6311 3.04874Z" fill="#75DAB4"/>
|
||||
<path d="M2.11766 5.70624C2.03104 5.83027 1.82314 6.20234 1.66721 6.50355L1.39001 7.08823L3.41703 10.7204L5.46137 14.3348L6.37959 14.3525C6.86469 14.3525 7.28049 14.3171 7.28049 14.2462C7.28049 14.1399 2.41218 5.49363 2.34289 5.49363C2.32556 5.49363 2.22161 5.59994 2.11766 5.70624Z" fill="#75DAB4"/>
|
||||
<path d="M13.812 6.2376L13.3789 6.99947L18.3165 7.05262C21.0538 7.07034 23.3061 7.05262 23.3407 7.01718C23.3927 6.98175 23.2541 6.62739 23.0462 6.21988L22.6997 5.49345H18.4724H14.2452L13.812 6.2376Z" fill="#75DAB4"/>
|
||||
<path d="M0.454476 8.66512C0.211927 9.05491 0.00402832 9.46242 0.00402832 9.55101C0.00402832 9.6396 0.593076 10.7735 1.32072 12.0315L2.63742 14.3525H3.57296H4.52583L4.09271 13.5907C3.86749 13.1832 3.05321 11.748 2.29092 10.3837L0.904924 7.93869L0.454476 8.66512Z" fill="#75DAB4"/>
|
||||
<path d="M12.4261 8.71805C12.1835 9.14328 12.0276 9.53307 12.0796 9.60394C12.1142 9.69253 14.5051 9.74568 17.381 9.74568H22.6305L23.1329 10.7202C23.4274 11.2517 23.7219 11.6769 23.7912 11.6415C23.8778 11.6238 24.1724 11.1631 24.4669 10.6139L25.004 9.62166L24.5189 8.80664L24.0511 7.9739H18.4551H12.8592L12.4261 8.71805Z" fill="#75DAB4"/>
|
||||
<path d="M14.7302 10.7382C14.7302 10.809 15.8217 12.7934 17.173 15.1676C18.5244 17.5595 19.6505 19.6502 19.7025 19.8451C19.7545 20.04 19.5639 20.607 19.252 21.174L18.715 22.1484H19.9277H21.1404L21.5736 21.422C21.8334 21.0322 22.0067 20.5893 21.972 20.4652C21.9374 20.3235 20.7073 18.0556 19.2347 15.4334L16.5493 10.6496L15.6484 10.6319C15.146 10.6319 14.7302 10.685 14.7302 10.7382Z" fill="#75DAB4"/>
|
||||
<path d="M18.0566 11.6594C21.2097 17.3291 22.4571 19.473 22.5957 19.4376C22.665 19.4021 22.9249 19.0655 23.1501 18.6934L23.5486 17.9847L22.2839 15.77C21.5909 14.5474 20.6553 12.8997 20.2049 12.0847L19.3733 10.6318H18.4204H17.4849L18.0566 11.6594Z" fill="#75DAB4"/>
|
||||
<path d="M20.4474 10.7204C20.4474 10.8622 23.9297 17.0103 24.0163 17.0103C24.051 17.0103 24.2762 16.6559 24.5187 16.2307L24.9692 15.4511L23.6178 13.0415L22.2665 10.6496L21.3656 10.6318C20.8632 10.6318 20.4474 10.6673 20.4474 10.7204Z" fill="#75DAB4"/>
|
||||
<path d="M0.541101 14.1931C0.246577 14.7247 0.00402832 15.2208 0.00402832 15.3271C0.00402832 15.4157 0.177278 15.8409 0.385177 16.2484L0.78365 17.0103H6.4489H12.1315L12.478 16.3015C12.6685 15.9295 12.8245 15.5574 12.8245 15.5042C12.8245 15.4511 10.4856 15.4157 7.62699 15.4157H2.42952L1.94442 14.6006C1.07817 13.0946 1.14747 13.1123 0.541101 14.1931Z" fill="#75DAB4"/>
|
||||
<path d="M12.4087 18.2501L9.84457 22.8568H8.64916C7.99081 22.8568 7.45374 22.9099 7.45374 22.9631C7.45374 23.0339 7.69628 23.5123 7.99081 24.0261L8.51056 24.9829H9.53273H10.5376L13.3096 20.0574L16.0815 15.1495L15.6831 14.4408C15.4752 14.0687 15.2153 13.7321 15.146 13.6967C15.0594 13.6789 13.8293 15.7342 12.4087 18.2501Z" fill="#75DAB4"/>
|
||||
<path d="M14.0545 20.4471C12.7032 22.8213 11.6117 24.8234 11.6117 24.8766C11.6117 24.9298 12.0275 24.9829 12.5299 24.9829C13.3962 24.9829 13.4481 24.9475 13.7946 24.3096C13.9852 23.9553 14.9034 22.3252 15.8217 20.6775L17.5022 17.7186L17.1557 17.0276C16.9651 16.6378 16.7399 16.2835 16.6532 16.2303C16.5666 16.1772 15.4059 18.073 14.0545 20.4471Z" fill="#75DAB4"/>
|
||||
<path d="M1.39001 17.9671C1.39001 18.1442 2.16964 19.4022 2.34289 19.5262C2.42951 19.5971 4.31793 19.668 6.53552 19.668H10.5549L11.0053 18.9061C11.2479 18.4809 11.4385 18.0734 11.4385 18.0202C11.4385 17.9493 9.18623 17.8962 6.41424 17.8962C3.65958 17.8962 1.39001 17.9316 1.39001 17.9671Z" fill="#75DAB4"/>
|
||||
<path d="M16.4453 21.298C15.6657 22.6977 14.8687 24.0974 14.6955 24.4163L14.349 25.001L15.3365 24.9478L16.3067 24.8947L17.6061 22.5914L18.9055 20.288L18.559 19.5262C18.3684 19.1187 18.1258 18.782 18.0392 18.782C17.9526 18.782 17.2423 19.916 16.4453 21.298Z" fill="#75DAB4"/>
|
||||
<path d="M2.94922 20.5716C2.94922 20.6779 3.12247 21.0854 3.33037 21.4574L3.71152 22.1484H6.43153H9.16887L9.60199 21.4043C9.84454 20.9968 10.0005 20.607 9.94849 20.5184C9.80989 20.2881 2.94922 20.3412 2.94922 20.5716Z" fill="#75DAB4"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 104 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 182 KiB |
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 104 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 218 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 215 KiB |
|
After Width: | Height: | Size: 230 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 167 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 173 KiB |
|
After Width: | Height: | Size: 173 KiB |
@@ -0,0 +1,245 @@
|
||||
function initializeParticlesForSliders(sliderCount) {
|
||||
for (let i = 1; i <= sliderCount; i++) {
|
||||
particlesJS(`particles-js-${i}`, {
|
||||
"particles": {
|
||||
// Particle configuration for each slider
|
||||
// Customize as needed for each slider
|
||||
"number": {
|
||||
"value": 30,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"shape": {
|
||||
"type": "polygon",
|
||||
"stroke": {
|
||||
"width": 0,
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 0.5,
|
||||
"random": false,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 1,
|
||||
"opacity_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 3,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 40,
|
||||
"size_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"line_linked": {
|
||||
"enable": true,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.4,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 6,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
"out_mode": "out",
|
||||
"attract": {
|
||||
"enable": false,
|
||||
"rotateX": 600,
|
||||
"rotateY": 1200
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"mode": "push"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
},
|
||||
"bubble": {
|
||||
"distance": 400,
|
||||
"size": 40,
|
||||
"duration": 2,
|
||||
"opacity": 8,
|
||||
"speed": 3
|
||||
},
|
||||
"repulse": {
|
||||
"distance": 200
|
||||
},
|
||||
"push": {
|
||||
"particles_nb": 4
|
||||
},
|
||||
"remove": {
|
||||
"particles_nb": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"retina_detect": true,
|
||||
"config_demo": {
|
||||
"hide_card": false,
|
||||
"background_color": "#b61924",
|
||||
"background_image": "",
|
||||
"background_position": "50% 50%",
|
||||
"background_repeat": "no-repeat",
|
||||
"background_size": "cover"
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function initializeParticlesForSliders2() {
|
||||
particlesJS(`particles-js`, {
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 30,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"shape": {
|
||||
"type": "polygon",
|
||||
"stroke": {
|
||||
"width": 0,
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 0.5,
|
||||
"random": false,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 1,
|
||||
"opacity_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 3,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 40,
|
||||
"size_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"line_linked": {
|
||||
"enable": true,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.4,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 6,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
"out_mode": "out",
|
||||
"attract": {
|
||||
"enable": false,
|
||||
"rotateX": 600,
|
||||
"rotateY": 1200
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"mode": "push"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
},
|
||||
"bubble": {
|
||||
"distance": 400,
|
||||
"size": 40,
|
||||
"duration": 2,
|
||||
"opacity": 8,
|
||||
"speed": 3
|
||||
},
|
||||
"repulse": {
|
||||
"distance": 200
|
||||
},
|
||||
"push": {
|
||||
"particles_nb": 4
|
||||
},
|
||||
"remove": {
|
||||
"particles_nb": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"retina_detect": true,
|
||||
"config_demo": {
|
||||
"hide_card": false,
|
||||
"background_color": "#b61924",
|
||||
"background_image": "",
|
||||
"background_position": "50% 50%",
|
||||
"background_repeat": "no-repeat",
|
||||
"background_size": "cover"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Initialize particles for each slider
|
||||
initializeParticlesForSliders(sliderCounting);
|
||||
initializeParticlesForSliders2();
|
||||
@@ -0,0 +1,317 @@
|
||||
(function($) {
|
||||
"use strict";
|
||||
var cursor = document.querySelector('.cursor');
|
||||
var cursorinner = document.querySelector('.cursor2');
|
||||
var a = document.querySelectorAll('a');
|
||||
document.addEventListener('mousemove', function(e) {
|
||||
var x = e.clientX;
|
||||
var y = e.clientY;
|
||||
cursor.style.transform = `translate3d(calc(${e.clientX}px - 50%), calc(${e.clientY}px - 50%), 0)`
|
||||
});
|
||||
$('a').hover(function() {
|
||||
$('.cursor').css({});
|
||||
}, function() {
|
||||
$('.cursor2').css({
|
||||
"background-color": "#fff"
|
||||
});
|
||||
});
|
||||
jQuery(window).on('load', function() {
|
||||
$(".preloader").delay(1600).fadeOut("slow");
|
||||
});
|
||||
const currentLocation = location.href;
|
||||
const menuItem = document.querySelectorAll('ul li a');
|
||||
const menuLength = menuItem.length;
|
||||
for (let i = 0; i < menuLength; i++) {
|
||||
if (menuItem[i].href === currentLocation) {
|
||||
menuItem[i].className = "active";
|
||||
}
|
||||
}
|
||||
$(window).on('scroll', function() {
|
||||
if ($(this).scrollTop() > 200) {
|
||||
$('.position_top').addClass('sticky');
|
||||
} else {
|
||||
$('.position_top').removeClass('sticky');
|
||||
}
|
||||
});
|
||||
$('.cross-btn').on('click', function(event) {
|
||||
$('.main-nav').toggleClass('slidenav');
|
||||
});
|
||||
$('.remove').on('click', function(event) {
|
||||
$('.main-nav').removeClass('slidenav');
|
||||
});
|
||||
$(".main-nav .bi").on('click', function(event) {
|
||||
var $fl = $(this);
|
||||
$(this).parent().siblings().find('.sub-menu').slideUp();
|
||||
$(this).parent().siblings().find('.bi').addClass('bi-chevron-down');
|
||||
if ($fl.hasClass('bi-chevron-down')) {
|
||||
$fl.removeClass('bi-chevron-down').addClass('bi-chevron-up');
|
||||
} else {
|
||||
$fl.removeClass('bi-chevron-up').addClass('bi-chevron-down');
|
||||
}
|
||||
$fl.next(".sub-menu").slideToggle();
|
||||
});
|
||||
$('.tab-link').on('click', function(event) {
|
||||
$('.tab-link').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
});
|
||||
|
||||
$('ul.isotope-menu li').on('click', function() {
|
||||
$("ul.isotope-menu li").removeClass("active");
|
||||
$(this).addClass("active");
|
||||
var selector = $(this).attr('data-filter');
|
||||
$(".project-items").isotope({
|
||||
filter: selector,
|
||||
animationOptions: {
|
||||
duration: 750,
|
||||
easing: 'linear',
|
||||
queue: false,
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$('.video-popup').magnificPopup({
|
||||
disableOn: 700,
|
||||
type: 'iframe',
|
||||
mainClass: 'mfp-fade',
|
||||
removalDelay: 160,
|
||||
preloader: false,
|
||||
fixedContentPos: false
|
||||
});
|
||||
var swiper = new Swiper(".team-slider", {
|
||||
loop: true,
|
||||
slidesPerView: 3,
|
||||
spaceBetween: 30,
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
},
|
||||
breakpoints: {
|
||||
320: {
|
||||
slidesPerView: 1,
|
||||
},
|
||||
576: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 3,
|
||||
}
|
||||
}
|
||||
});
|
||||
var swiper = new Swiper(".project-slide", {
|
||||
loop: true,
|
||||
slidesPerView: 3,
|
||||
spaceBetween: 30,
|
||||
navigation: {
|
||||
nextEl: ".swiper-button-next-c",
|
||||
prevEl: ".swiper-button-prev-c",
|
||||
},
|
||||
breakpoints: {
|
||||
320: {
|
||||
slidesPerView: 1,
|
||||
spaceBetween: 0,
|
||||
},
|
||||
576: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 3,
|
||||
}
|
||||
}
|
||||
});
|
||||
var swiper = new Swiper(".work-process-slide", {
|
||||
loop: true,
|
||||
slidesPerView: 1,
|
||||
navigation: {
|
||||
nextEl: ".swiper-button-next-c",
|
||||
prevEl: ".swiper-button-prev-c",
|
||||
}
|
||||
});
|
||||
var swiper = new Swiper(".testimonial-slider", {
|
||||
loop: true,
|
||||
slidesPerView: 2,
|
||||
centeredSlides: true,
|
||||
speed: 1000,
|
||||
spaceBetween: 30,
|
||||
slideToClickedSlide: true,
|
||||
autoplay: {
|
||||
delay: 5000
|
||||
},
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
},
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next',
|
||||
prevEl: '.swiper-button-prev',
|
||||
},
|
||||
breakpoints: {
|
||||
320: {
|
||||
slidesPerView: 1,
|
||||
},
|
||||
576: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
1400: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
1800: {
|
||||
slidesPerView: 2,
|
||||
}
|
||||
}
|
||||
});
|
||||
var swiper = new Swiper(".partner-slider", {
|
||||
loop: true,
|
||||
slidesPerView: 5,
|
||||
spaceBetween: 20,
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next-c',
|
||||
prevEl: '.swiper-button-prev-c',
|
||||
},
|
||||
breakpoints: {
|
||||
320: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
576: {
|
||||
slidesPerView: 3,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 4,
|
||||
},
|
||||
1200: {
|
||||
slidesPerView: 5,
|
||||
}
|
||||
}
|
||||
});
|
||||
var swiper = new Swiper(".services-slider", {
|
||||
loop: true,
|
||||
slidesPerView: 3,
|
||||
spaceBetween: 30,
|
||||
speed: 1000,
|
||||
autoplay: {
|
||||
delay: 5000
|
||||
},
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
},
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next',
|
||||
prevEl: '.swiper-button-prev',
|
||||
},
|
||||
breakpoints: {
|
||||
320: {
|
||||
slidesPerView: 1,
|
||||
},
|
||||
576: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 3,
|
||||
}
|
||||
}
|
||||
});
|
||||
var swiper = new Swiper(".hero-slide", {
|
||||
loop: false,
|
||||
slidesPerView: 1,
|
||||
spaceBetween: 30,
|
||||
speed: 1000,
|
||||
autoplay: {
|
||||
delay: 5000
|
||||
},
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
},
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next',
|
||||
prevEl: '.swiper-button-prev',
|
||||
},
|
||||
breakpoints: {
|
||||
320: {
|
||||
slidesPerView: 1,
|
||||
},
|
||||
576: {
|
||||
slidesPerView: 1,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 1,
|
||||
}
|
||||
}
|
||||
});
|
||||
jQuery(window).on('load', function() {
|
||||
new WOW().init();
|
||||
window.wow = new WOW({
|
||||
boxClass: 'wow',
|
||||
animateClass: 'animated',
|
||||
offset: 0,
|
||||
mobile: true,
|
||||
live: true,
|
||||
offset: 100
|
||||
})
|
||||
window.wow.init();
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
/* Back to top */
|
||||
let calcScrollValue = () => {
|
||||
let scrollProgress = document.getElementById("progress");
|
||||
let progressValue = document.getElementById("progress-value");
|
||||
let pos = document.documentElement.scrollTop;
|
||||
let calcHeight =
|
||||
document.documentElement.scrollHeight -
|
||||
document.documentElement.clientHeight;
|
||||
let scrollValue = Math.round((pos * 100) / calcHeight);
|
||||
if (pos > 100) {
|
||||
scrollProgress.style.display = "grid";
|
||||
} else {
|
||||
scrollProgress.style.display = "none";
|
||||
}
|
||||
scrollProgress.addEventListener("click", () => {
|
||||
document.documentElement.scrollTop = 0;
|
||||
});
|
||||
scrollProgress.style.background = `conic-gradient(#75dab4 ${scrollValue}%, #d7d7d7 ${scrollValue}%)`;
|
||||
};
|
||||
|
||||
window.onscroll = calcScrollValue;
|
||||
window.onload = calcScrollValue;
|
||||
|
||||
const counters = document.querySelectorAll('.counter');
|
||||
const speed = 200; // The lower the slower
|
||||
|
||||
counters.forEach(counter => {
|
||||
const updateCount = () => {
|
||||
const target = +counter.getAttribute('data-target');
|
||||
let count = +counter.innerText;
|
||||
|
||||
// Calculate the increment based on the difference between target and current count
|
||||
const diff = target - count;
|
||||
const increment = diff > 0 ? Math.ceil(diff / (speed / 10)) : -Math.ceil(-diff / (speed / 10));
|
||||
|
||||
// Calculate the timeout based on the increment and target value
|
||||
const timeout = Math.abs(diff) > 100 ? 10 : 100;
|
||||
|
||||
// Check if target is reached
|
||||
if (count !== target) {
|
||||
// Add increment to count and output in counter
|
||||
count += increment;
|
||||
counter.innerText = count;
|
||||
// Call function with adjusted timeout
|
||||
setTimeout(updateCount, timeout);
|
||||
}
|
||||
};
|
||||
|
||||
// Initialize count to 0
|
||||
counter.innerText = '0';
|
||||
|
||||
// Start the updateCount function
|
||||
updateCount();
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*!
|
||||
* jquery.counterup.js 1.0
|
||||
*
|
||||
* Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
|
||||
* Released under the GPL v2 License
|
||||
*
|
||||
* Date: Nov 26, 2013
|
||||
*/
|
||||
(function(e) {
|
||||
"use strict";
|
||||
e.fn.counterUp = function(t) {
|
||||
var n = e.extend({
|
||||
time: 400,
|
||||
delay: 10
|
||||
}, t);
|
||||
return this.each(function() {
|
||||
var t = e(this),
|
||||
r = n,
|
||||
i = function() {
|
||||
var e = [],
|
||||
n = r.time / r.delay,
|
||||
i = t.text(),
|
||||
s = /[0-9]+,[0-9]+/.test(i);
|
||||
i = i.replace(/,/g, "");
|
||||
var o = /^[0-9]+$/.test(i),
|
||||
u = /^[0-9]+\.[0-9]+$/.test(i),
|
||||
a = u ? (i.split(".")[1] || []).length : 0;
|
||||
for (var f = n; f >= 1; f--) {
|
||||
var l = parseInt(i / n * f);
|
||||
u && (l = parseFloat(i / n * f).toFixed(a));
|
||||
if (s)
|
||||
while (/(\d+)(\d{3})/.test(l.toString())) l = l.toString().replace(/(\d+)(\d{3})/, "$1,$2");
|
||||
e.unshift(l)
|
||||
}
|
||||
t.data("counterup-nums", e);
|
||||
t.text("0");
|
||||
var c = function() {
|
||||
t.text(t.data("counterup-nums").shift());
|
||||
if (t.data("counterup-nums").length) setTimeout(t.data("counterup-func"), r.delay);
|
||||
else {
|
||||
delete t.data("counterup-nums");
|
||||
t.data("counterup-nums", null);
|
||||
t.data("counterup-func", null)
|
||||
}
|
||||
};
|
||||
t.data("counterup-func", c);
|
||||
setTimeout(t.data("counterup-func"), r.delay)
|
||||
};
|
||||
t.waypoint(i, {
|
||||
offset: "100%",
|
||||
triggerOnce: !0
|
||||
})
|
||||
})
|
||||
}
|
||||
})(jQuery);
|
||||
@@ -0,0 +1,660 @@
|
||||
/*! Magnific Popup - v1.1.0 - 2016-02-20
|
||||
* http://dimsemenov.com/plugins/magnific-popup/
|
||||
* Copyright (c) 2016 Dmitry Semenov; */
|
||||
! function(a) {
|
||||
"function" == typeof define && define.amd ? define(["jquery"], a) : a("object" == typeof exports ? require("jquery") : window.jQuery || window.Zepto)
|
||||
}(function(a) {
|
||||
var b, c, d, e, f, g, h = "Close",
|
||||
i = "BeforeClose",
|
||||
j = "AfterClose",
|
||||
k = "BeforeAppend",
|
||||
l = "MarkupParse",
|
||||
m = "Open",
|
||||
n = "Change",
|
||||
o = "mfp",
|
||||
p = "." + o,
|
||||
q = "mfp-ready",
|
||||
r = "mfp-removing",
|
||||
s = "mfp-prevent-close",
|
||||
t = function() {},
|
||||
u = !!window.jQuery,
|
||||
v = a(window),
|
||||
w = function(a, c) {
|
||||
b.ev.on(o + a + p, c)
|
||||
},
|
||||
x = function(b, c, d, e) {
|
||||
var f = document.createElement("div");
|
||||
return f.className = "mfp-" + b, d && (f.innerHTML = d), e ? c && c.appendChild(f) : (f = a(f), c && f.appendTo(c)), f
|
||||
},
|
||||
y = function(c, d) {
|
||||
b.ev.triggerHandler(o + c, d), b.st.callbacks && (c = c.charAt(0).toLowerCase() + c.slice(1), b.st.callbacks[c] && b.st.callbacks[c].apply(b, a.isArray(d) ? d : [d]))
|
||||
},
|
||||
z = function(c) {
|
||||
return c === g && b.currTemplate.closeBtn || (b.currTemplate.closeBtn = a(b.st.closeMarkup.replace("%title%", b.st.tClose)), g = c), b.currTemplate.closeBtn
|
||||
},
|
||||
A = function() {
|
||||
a.magnificPopup.instance || (b = new t, b.init(), a.magnificPopup.instance = b)
|
||||
},
|
||||
B = function() {
|
||||
var a = document.createElement("p").style,
|
||||
b = ["ms", "O", "Moz", "Webkit"];
|
||||
if (void 0 !== a.transition) return !0;
|
||||
for (; b.length;)
|
||||
if (b.pop() + "Transition" in a) return !0;
|
||||
return !1
|
||||
};
|
||||
t.prototype = {
|
||||
constructor: t,
|
||||
init: function() {
|
||||
var c = navigator.appVersion;
|
||||
b.isLowIE = b.isIE8 = document.all && !document.addEventListener, b.isAndroid = /android/gi.test(c), b.isIOS = /iphone|ipad|ipod/gi.test(c), b.supportsTransition = B(), b.probablyMobile = b.isAndroid || b.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent), d = a(document), b.popupsCache = {}
|
||||
},
|
||||
open: function(c) {
|
||||
var e;
|
||||
if (c.isObj === !1) {
|
||||
b.items = c.items.toArray(), b.index = 0;
|
||||
var g, h = c.items;
|
||||
for (e = 0; e < h.length; e++)
|
||||
if (g = h[e], g.parsed && (g = g.el[0]), g === c.el[0]) {
|
||||
b.index = e;
|
||||
break
|
||||
}
|
||||
} else b.items = a.isArray(c.items) ? c.items : [c.items], b.index = c.index || 0;
|
||||
if (b.isOpen) return void b.updateItemHTML();
|
||||
b.types = [], f = "", c.mainEl && c.mainEl.length ? b.ev = c.mainEl.eq(0) : b.ev = d, c.key ? (b.popupsCache[c.key] || (b.popupsCache[c.key] = {}), b.currTemplate = b.popupsCache[c.key]) : b.currTemplate = {}, b.st = a.extend(!0, {}, a.magnificPopup.defaults, c), b.fixedContentPos = "auto" === b.st.fixedContentPos ? !b.probablyMobile : b.st.fixedContentPos, b.st.modal && (b.st.closeOnContentClick = !1, b.st.closeOnBgClick = !1, b.st.showCloseBtn = !1, b.st.enableEscapeKey = !1), b.bgOverlay || (b.bgOverlay = x("bg").on("click" + p, function() {
|
||||
b.close()
|
||||
}), b.wrap = x("wrap").attr("tabindex", -1).on("click" + p, function(a) {
|
||||
b._checkIfClose(a.target) && b.close()
|
||||
}), b.container = x("container", b.wrap)), b.contentContainer = x("content"), b.st.preloader && (b.preloader = x("preloader", b.container, b.st.tLoading));
|
||||
var i = a.magnificPopup.modules;
|
||||
for (e = 0; e < i.length; e++) {
|
||||
var j = i[e];
|
||||
j = j.charAt(0).toUpperCase() + j.slice(1), b["init" + j].call(b)
|
||||
}
|
||||
y("BeforeOpen"), b.st.showCloseBtn && (b.st.closeBtnInside ? (w(l, function(a, b, c, d) {
|
||||
c.close_replaceWith = z(d.type)
|
||||
}), f += " mfp-close-btn-in") : b.wrap.append(z())), b.st.alignTop && (f += " mfp-align-top"), b.fixedContentPos ? b.wrap.css({
|
||||
overflow: b.st.overflowY,
|
||||
overflowX: "hidden",
|
||||
overflowY: b.st.overflowY
|
||||
}) : b.wrap.css({
|
||||
top: v.scrollTop(),
|
||||
position: "absolute"
|
||||
}), (b.st.fixedBgPos === !1 || "auto" === b.st.fixedBgPos && !b.fixedContentPos) && b.bgOverlay.css({
|
||||
height: d.height(),
|
||||
position: "absolute"
|
||||
}), b.st.enableEscapeKey && d.on("keyup" + p, function(a) {
|
||||
27 === a.keyCode && b.close()
|
||||
}), v.on("resize" + p, function() {
|
||||
b.updateSize()
|
||||
}), b.st.closeOnContentClick || (f += " mfp-auto-cursor"), f && b.wrap.addClass(f);
|
||||
var k = b.wH = v.height(),
|
||||
n = {};
|
||||
if (b.fixedContentPos && b._hasScrollBar(k)) {
|
||||
var o = b._getScrollbarSize();
|
||||
o && (n.marginRight = o)
|
||||
}
|
||||
b.fixedContentPos && (b.isIE7 ? a("body, html").css("overflow", "hidden") : n.overflow = "hidden");
|
||||
var r = b.st.mainClass;
|
||||
return b.isIE7 && (r += " mfp-ie7"), r && b._addClassToMFP(r), b.updateItemHTML(), y("BuildControls"), a("html").css(n), b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo || a(document.body)), b._lastFocusedEl = document.activeElement, setTimeout(function() {
|
||||
b.content ? (b._addClassToMFP(q), b._setFocus()) : b.bgOverlay.addClass(q), d.on("focusin" + p, b._onFocusIn)
|
||||
}, 16), b.isOpen = !0, b.updateSize(k), y(m), c
|
||||
},
|
||||
close: function() {
|
||||
b.isOpen && (y(i), b.isOpen = !1, b.st.removalDelay && !b.isLowIE && b.supportsTransition ? (b._addClassToMFP(r), setTimeout(function() {
|
||||
b._close()
|
||||
}, b.st.removalDelay)) : b._close())
|
||||
},
|
||||
_close: function() {
|
||||
y(h);
|
||||
var c = r + " " + q + " ";
|
||||
if (b.bgOverlay.detach(), b.wrap.detach(), b.container.empty(), b.st.mainClass && (c += b.st.mainClass + " "), b._removeClassFromMFP(c), b.fixedContentPos) {
|
||||
var e = {
|
||||
marginRight: ""
|
||||
};
|
||||
b.isIE7 ? a("body, html").css("overflow", "") : e.overflow = "", a("html").css(e)
|
||||
}
|
||||
d.off("keyup" + p + " focusin" + p), b.ev.off(p), b.wrap.attr("class", "mfp-wrap").removeAttr("style"), b.bgOverlay.attr("class", "mfp-bg"), b.container.attr("class", "mfp-container"), !b.st.showCloseBtn || b.st.closeBtnInside && b.currTemplate[b.currItem.type] !== !0 || b.currTemplate.closeBtn && b.currTemplate.closeBtn.detach(), b.st.autoFocusLast && b._lastFocusedEl && a(b._lastFocusedEl).focus(), b.currItem = null, b.content = null, b.currTemplate = null, b.prevHeight = 0, y(j)
|
||||
},
|
||||
updateSize: function(a) {
|
||||
if (b.isIOS) {
|
||||
var c = document.documentElement.clientWidth / window.innerWidth,
|
||||
d = window.innerHeight * c;
|
||||
b.wrap.css("height", d), b.wH = d
|
||||
} else b.wH = a || v.height();
|
||||
b.fixedContentPos || b.wrap.css("height", b.wH), y("Resize")
|
||||
},
|
||||
updateItemHTML: function() {
|
||||
var c = b.items[b.index];
|
||||
b.contentContainer.detach(), b.content && b.content.detach(), c.parsed || (c = b.parseEl(b.index));
|
||||
var d = c.type;
|
||||
if (y("BeforeChange", [b.currItem ? b.currItem.type : "", d]), b.currItem = c, !b.currTemplate[d]) {
|
||||
var f = b.st[d] ? b.st[d].markup : !1;
|
||||
y("FirstMarkupParse", f), f ? b.currTemplate[d] = a(f) : b.currTemplate[d] = !0
|
||||
}
|
||||
e && e !== c.type && b.container.removeClass("mfp-" + e + "-holder");
|
||||
var g = b["get" + d.charAt(0).toUpperCase() + d.slice(1)](c, b.currTemplate[d]);
|
||||
b.appendContent(g, d), c.preloaded = !0, y(n, c), e = c.type, b.container.prepend(b.contentContainer), y("AfterChange")
|
||||
},
|
||||
appendContent: function(a, c) {
|
||||
b.content = a, a ? b.st.showCloseBtn && b.st.closeBtnInside && b.currTemplate[c] === !0 ? b.content.find(".mfp-close").length || b.content.append(z()) : b.content = a : b.content = "", y(k), b.container.addClass("mfp-" + c + "-holder"), b.contentContainer.append(b.content)
|
||||
},
|
||||
parseEl: function(c) {
|
||||
var d, e = b.items[c];
|
||||
if (e.tagName ? e = {
|
||||
el: a(e)
|
||||
} : (d = e.type, e = {
|
||||
data: e,
|
||||
src: e.src
|
||||
}), e.el) {
|
||||
for (var f = b.types, g = 0; g < f.length; g++)
|
||||
if (e.el.hasClass("mfp-" + f[g])) {
|
||||
d = f[g];
|
||||
break
|
||||
}
|
||||
e.src = e.el.attr("data-mfp-src"), e.src || (e.src = e.el.attr("href"))
|
||||
}
|
||||
return e.type = d || b.st.type || "inline", e.index = c, e.parsed = !0, b.items[c] = e, y("ElementParse", e), b.items[c]
|
||||
},
|
||||
addGroup: function(a, c) {
|
||||
var d = function(d) {
|
||||
d.mfpEl = this, b._openClick(d, a, c)
|
||||
};
|
||||
c || (c = {});
|
||||
var e = "click.magnificPopup";
|
||||
c.mainEl = a, c.items ? (c.isObj = !0, a.off(e).on(e, d)) : (c.isObj = !1, c.delegate ? a.off(e).on(e, c.delegate, d) : (c.items = a, a.off(e).on(e, d)))
|
||||
},
|
||||
_openClick: function(c, d, e) {
|
||||
var f = void 0 !== e.midClick ? e.midClick : a.magnificPopup.defaults.midClick;
|
||||
if (f || !(2 === c.which || c.ctrlKey || c.metaKey || c.altKey || c.shiftKey)) {
|
||||
var g = void 0 !== e.disableOn ? e.disableOn : a.magnificPopup.defaults.disableOn;
|
||||
if (g)
|
||||
if (a.isFunction(g)) {
|
||||
if (!g.call(b)) return !0
|
||||
} else if (v.width() < g) return !0;
|
||||
c.type && (c.preventDefault(), b.isOpen && c.stopPropagation()), e.el = a(c.mfpEl), e.delegate && (e.items = d.find(e.delegate)), b.open(e)
|
||||
}
|
||||
},
|
||||
updateStatus: function(a, d) {
|
||||
if (b.preloader) {
|
||||
c !== a && b.container.removeClass("mfp-s-" + c), d || "loading" !== a || (d = b.st.tLoading);
|
||||
var e = {
|
||||
status: a,
|
||||
text: d
|
||||
};
|
||||
y("UpdateStatus", e), a = e.status, d = e.text, b.preloader.html(d), b.preloader.find("a").on("click", function(a) {
|
||||
a.stopImmediatePropagation()
|
||||
}), b.container.addClass("mfp-s-" + a), c = a
|
||||
}
|
||||
},
|
||||
_checkIfClose: function(c) {
|
||||
if (!a(c).hasClass(s)) {
|
||||
var d = b.st.closeOnContentClick,
|
||||
e = b.st.closeOnBgClick;
|
||||
if (d && e) return !0;
|
||||
if (!b.content || a(c).hasClass("mfp-close") || b.preloader && c === b.preloader[0]) return !0;
|
||||
if (c === b.content[0] || a.contains(b.content[0], c)) {
|
||||
if (d) return !0
|
||||
} else if (e && a.contains(document, c)) return !0;
|
||||
return !1
|
||||
}
|
||||
},
|
||||
_addClassToMFP: function(a) {
|
||||
b.bgOverlay.addClass(a), b.wrap.addClass(a)
|
||||
},
|
||||
_removeClassFromMFP: function(a) {
|
||||
this.bgOverlay.removeClass(a), b.wrap.removeClass(a)
|
||||
},
|
||||
_hasScrollBar: function(a) {
|
||||
return (b.isIE7 ? d.height() : document.body.scrollHeight) > (a || v.height())
|
||||
},
|
||||
_setFocus: function() {
|
||||
(b.st.focus ? b.content.find(b.st.focus).eq(0) : b.wrap).focus()
|
||||
},
|
||||
_onFocusIn: function(c) {
|
||||
return c.target === b.wrap[0] || a.contains(b.wrap[0], c.target) ? void 0 : (b._setFocus(), !1)
|
||||
},
|
||||
_parseMarkup: function(b, c, d) {
|
||||
var e;
|
||||
d.data && (c = a.extend(d.data, c)), y(l, [b, c, d]), a.each(c, function(c, d) {
|
||||
if (void 0 === d || d === !1) return !0;
|
||||
if (e = c.split("_"), e.length > 1) {
|
||||
var f = b.find(p + "-" + e[0]);
|
||||
if (f.length > 0) {
|
||||
var g = e[1];
|
||||
"replaceWith" === g ? f[0] !== d[0] && f.replaceWith(d) : "img" === g ? f.is("img") ? f.attr("src", d) : f.replaceWith(a("<img>").attr("src", d).attr("class", f.attr("class"))) : f.attr(e[1], d)
|
||||
}
|
||||
} else b.find(p + "-" + c).html(d)
|
||||
})
|
||||
},
|
||||
_getScrollbarSize: function() {
|
||||
if (void 0 === b.scrollbarSize) {
|
||||
var a = document.createElement("div");
|
||||
a.style.cssText = "width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;", document.body.appendChild(a), b.scrollbarSize = a.offsetWidth - a.clientWidth, document.body.removeChild(a)
|
||||
}
|
||||
return b.scrollbarSize
|
||||
}
|
||||
}, a.magnificPopup = {
|
||||
instance: null,
|
||||
proto: t.prototype,
|
||||
modules: [],
|
||||
open: function(b, c) {
|
||||
return A(), b = b ? a.extend(!0, {}, b) : {}, b.isObj = !0, b.index = c || 0, this.instance.open(b)
|
||||
},
|
||||
close: function() {
|
||||
return a.magnificPopup.instance && a.magnificPopup.instance.close()
|
||||
},
|
||||
registerModule: function(b, c) {
|
||||
c.options && (a.magnificPopup.defaults[b] = c.options), a.extend(this.proto, c.proto), this.modules.push(b)
|
||||
},
|
||||
defaults: {
|
||||
disableOn: 0,
|
||||
key: null,
|
||||
midClick: !1,
|
||||
mainClass: "",
|
||||
preloader: !0,
|
||||
focus: "",
|
||||
closeOnContentClick: !1,
|
||||
closeOnBgClick: !0,
|
||||
closeBtnInside: !0,
|
||||
showCloseBtn: !0,
|
||||
enableEscapeKey: !0,
|
||||
modal: !1,
|
||||
alignTop: !1,
|
||||
removalDelay: 0,
|
||||
prependTo: null,
|
||||
fixedContentPos: "auto",
|
||||
fixedBgPos: "auto",
|
||||
overflowY: "auto",
|
||||
closeMarkup: '<button title="%title%" type="button" class="mfp-close">×</button>',
|
||||
tClose: "Close (Esc)",
|
||||
tLoading: "Loading...",
|
||||
autoFocusLast: !0
|
||||
}
|
||||
}, a.fn.magnificPopup = function(c) {
|
||||
A();
|
||||
var d = a(this);
|
||||
if ("string" == typeof c)
|
||||
if ("open" === c) {
|
||||
var e, f = u ? d.data("magnificPopup") : d[0].magnificPopup,
|
||||
g = parseInt(arguments[1], 10) || 0;
|
||||
f.items ? e = f.items[g] : (e = d, f.delegate && (e = e.find(f.delegate)), e = e.eq(g)), b._openClick({
|
||||
mfpEl: e
|
||||
}, d, f)
|
||||
} else b.isOpen && b[c].apply(b, Array.prototype.slice.call(arguments, 1));
|
||||
else c = a.extend(!0, {}, c), u ? d.data("magnificPopup", c) : d[0].magnificPopup = c, b.addGroup(d, c);
|
||||
return d
|
||||
};
|
||||
var C, D, E, F = "inline",
|
||||
G = function() {
|
||||
E && (D.after(E.addClass(C)).detach(), E = null)
|
||||
};
|
||||
a.magnificPopup.registerModule(F, {
|
||||
options: {
|
||||
hiddenClass: "hide",
|
||||
markup: "",
|
||||
tNotFound: "Content not found"
|
||||
},
|
||||
proto: {
|
||||
initInline: function() {
|
||||
b.types.push(F), w(h + "." + F, function() {
|
||||
G()
|
||||
})
|
||||
},
|
||||
getInline: function(c, d) {
|
||||
if (G(), c.src) {
|
||||
var e = b.st.inline,
|
||||
f = a(c.src);
|
||||
if (f.length) {
|
||||
var g = f[0].parentNode;
|
||||
g && g.tagName && (D || (C = e.hiddenClass, D = x(C), C = "mfp-" + C), E = f.after(D).detach().removeClass(C)), b.updateStatus("ready")
|
||||
} else b.updateStatus("error", e.tNotFound), f = a("<div>");
|
||||
return c.inlineElement = f, f
|
||||
}
|
||||
return b.updateStatus("ready"), b._parseMarkup(d, {}, c), d
|
||||
}
|
||||
}
|
||||
});
|
||||
var H, I = "ajax",
|
||||
J = function() {
|
||||
H && a(document.body).removeClass(H)
|
||||
},
|
||||
K = function() {
|
||||
J(), b.req && b.req.abort()
|
||||
};
|
||||
a.magnificPopup.registerModule(I, {
|
||||
options: {
|
||||
settings: null,
|
||||
cursor: "mfp-ajax-cur",
|
||||
tError: '<a href="%url%">The content</a> could not be loaded.'
|
||||
},
|
||||
proto: {
|
||||
initAjax: function() {
|
||||
b.types.push(I), H = b.st.ajax.cursor, w(h + "." + I, K), w("BeforeChange." + I, K)
|
||||
},
|
||||
getAjax: function(c) {
|
||||
H && a(document.body).addClass(H), b.updateStatus("loading");
|
||||
var d = a.extend({
|
||||
url: c.src,
|
||||
success: function(d, e, f) {
|
||||
var g = {
|
||||
data: d,
|
||||
xhr: f
|
||||
};
|
||||
y("ParseAjax", g), b.appendContent(a(g.data), I), c.finished = !0, J(), b._setFocus(), setTimeout(function() {
|
||||
b.wrap.addClass(q)
|
||||
}, 16), b.updateStatus("ready"), y("AjaxContentAdded")
|
||||
},
|
||||
error: function() {
|
||||
J(), c.finished = c.loadError = !0, b.updateStatus("error", b.st.ajax.tError.replace("%url%", c.src))
|
||||
}
|
||||
}, b.st.ajax.settings);
|
||||
return b.req = a.ajax(d), ""
|
||||
}
|
||||
}
|
||||
});
|
||||
var L, M = function(c) {
|
||||
if (c.data && void 0 !== c.data.title) return c.data.title;
|
||||
var d = b.st.image.titleSrc;
|
||||
if (d) {
|
||||
if (a.isFunction(d)) return d.call(b, c);
|
||||
if (c.el) return c.el.attr(d) || ""
|
||||
}
|
||||
return ""
|
||||
};
|
||||
a.magnificPopup.registerModule("image", {
|
||||
options: {
|
||||
markup: '<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',
|
||||
cursor: "mfp-zoom-out-cur",
|
||||
titleSrc: "title",
|
||||
verticalFit: !0,
|
||||
tError: '<a href="%url%">The image</a> could not be loaded.'
|
||||
},
|
||||
proto: {
|
||||
initImage: function() {
|
||||
var c = b.st.image,
|
||||
d = ".image";
|
||||
b.types.push("image"), w(m + d, function() {
|
||||
"image" === b.currItem.type && c.cursor && a(document.body).addClass(c.cursor)
|
||||
}), w(h + d, function() {
|
||||
c.cursor && a(document.body).removeClass(c.cursor), v.off("resize" + p)
|
||||
}), w("Resize" + d, b.resizeImage), b.isLowIE && w("AfterChange", b.resizeImage)
|
||||
},
|
||||
resizeImage: function() {
|
||||
var a = b.currItem;
|
||||
if (a && a.img && b.st.image.verticalFit) {
|
||||
var c = 0;
|
||||
b.isLowIE && (c = parseInt(a.img.css("padding-top"), 10) + parseInt(a.img.css("padding-bottom"), 10)), a.img.css("max-height", b.wH - c)
|
||||
}
|
||||
},
|
||||
_onImageHasSize: function(a) {
|
||||
a.img && (a.hasSize = !0, L && clearInterval(L), a.isCheckingImgSize = !1, y("ImageHasSize", a), a.imgHidden && (b.content && b.content.removeClass("mfp-loading"), a.imgHidden = !1))
|
||||
},
|
||||
findImageSize: function(a) {
|
||||
var c = 0,
|
||||
d = a.img[0],
|
||||
e = function(f) {
|
||||
L && clearInterval(L), L = setInterval(function() {
|
||||
return d.naturalWidth > 0 ? void b._onImageHasSize(a) : (c > 200 && clearInterval(L), c++, void(3 === c ? e(10) : 40 === c ? e(50) : 100 === c && e(500)))
|
||||
}, f)
|
||||
};
|
||||
e(1)
|
||||
},
|
||||
getImage: function(c, d) {
|
||||
var e = 0,
|
||||
f = function() {
|
||||
c && (c.img[0].complete ? (c.img.off(".mfploader"), c === b.currItem && (b._onImageHasSize(c), b.updateStatus("ready")), c.hasSize = !0, c.loaded = !0, y("ImageLoadComplete")) : (e++, 200 > e ? setTimeout(f, 100) : g()))
|
||||
},
|
||||
g = function() {
|
||||
c && (c.img.off(".mfploader"), c === b.currItem && (b._onImageHasSize(c), b.updateStatus("error", h.tError.replace("%url%", c.src))), c.hasSize = !0, c.loaded = !0, c.loadError = !0)
|
||||
},
|
||||
h = b.st.image,
|
||||
i = d.find(".mfp-img");
|
||||
if (i.length) {
|
||||
var j = document.createElement("img");
|
||||
j.className = "mfp-img", c.el && c.el.find("img").length && (j.alt = c.el.find("img").attr("alt")), c.img = a(j).on("load.mfploader", f).on("error.mfploader", g), j.src = c.src, i.is("img") && (c.img = c.img.clone()), j = c.img[0], j.naturalWidth > 0 ? c.hasSize = !0 : j.width || (c.hasSize = !1)
|
||||
}
|
||||
return b._parseMarkup(d, {
|
||||
title: M(c),
|
||||
img_replaceWith: c.img
|
||||
}, c), b.resizeImage(), c.hasSize ? (L && clearInterval(L), c.loadError ? (d.addClass("mfp-loading"), b.updateStatus("error", h.tError.replace("%url%", c.src))) : (d.removeClass("mfp-loading"), b.updateStatus("ready")), d) : (b.updateStatus("loading"), c.loading = !0, c.hasSize || (c.imgHidden = !0, d.addClass("mfp-loading"), b.findImageSize(c)), d)
|
||||
}
|
||||
}
|
||||
});
|
||||
var N, O = function() {
|
||||
return void 0 === N && (N = void 0 !== document.createElement("p").style.MozTransform), N
|
||||
};
|
||||
a.magnificPopup.registerModule("zoom", {
|
||||
options: {
|
||||
enabled: !1,
|
||||
easing: "ease-in-out",
|
||||
duration: 300,
|
||||
opener: function(a) {
|
||||
return a.is("img") ? a : a.find("img")
|
||||
}
|
||||
},
|
||||
proto: {
|
||||
initZoom: function() {
|
||||
var a, c = b.st.zoom,
|
||||
d = ".zoom";
|
||||
if (c.enabled && b.supportsTransition) {
|
||||
var e, f, g = c.duration,
|
||||
j = function(a) {
|
||||
var b = a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),
|
||||
d = "all " + c.duration / 1e3 + "s " + c.easing,
|
||||
e = {
|
||||
position: "fixed",
|
||||
zIndex: 9999,
|
||||
left: 0,
|
||||
top: 0,
|
||||
"-webkit-backface-visibility": "hidden"
|
||||
},
|
||||
f = "transition";
|
||||
return e["-webkit-" + f] = e["-moz-" + f] = e["-o-" + f] = e[f] = d, b.css(e), b
|
||||
},
|
||||
k = function() {
|
||||
b.content.css("visibility", "visible")
|
||||
};
|
||||
w("BuildControls" + d, function() {
|
||||
if (b._allowZoom()) {
|
||||
if (clearTimeout(e), b.content.css("visibility", "hidden"), a = b._getItemToZoom(), !a) return void k();
|
||||
f = j(a), f.css(b._getOffset()), b.wrap.append(f), e = setTimeout(function() {
|
||||
f.css(b._getOffset(!0)), e = setTimeout(function() {
|
||||
k(), setTimeout(function() {
|
||||
f.remove(), a = f = null, y("ZoomAnimationEnded")
|
||||
}, 16)
|
||||
}, g)
|
||||
}, 16)
|
||||
}
|
||||
}), w(i + d, function() {
|
||||
if (b._allowZoom()) {
|
||||
if (clearTimeout(e), b.st.removalDelay = g, !a) {
|
||||
if (a = b._getItemToZoom(), !a) return;
|
||||
f = j(a)
|
||||
}
|
||||
f.css(b._getOffset(!0)), b.wrap.append(f), b.content.css("visibility", "hidden"), setTimeout(function() {
|
||||
f.css(b._getOffset())
|
||||
}, 16)
|
||||
}
|
||||
}), w(h + d, function() {
|
||||
b._allowZoom() && (k(), f && f.remove(), a = null)
|
||||
})
|
||||
}
|
||||
},
|
||||
_allowZoom: function() {
|
||||
return "image" === b.currItem.type
|
||||
},
|
||||
_getItemToZoom: function() {
|
||||
return b.currItem.hasSize ? b.currItem.img : !1
|
||||
},
|
||||
_getOffset: function(c) {
|
||||
var d;
|
||||
d = c ? b.currItem.img : b.st.zoom.opener(b.currItem.el || b.currItem);
|
||||
var e = d.offset(),
|
||||
f = parseInt(d.css("padding-top"), 10),
|
||||
g = parseInt(d.css("padding-bottom"), 10);
|
||||
e.top -= a(window).scrollTop() - f;
|
||||
var h = {
|
||||
width: d.width(),
|
||||
height: (u ? d.innerHeight() : d[0].offsetHeight) - g - f
|
||||
};
|
||||
return O() ? h["-moz-transform"] = h.transform = "translate(" + e.left + "px," + e.top + "px)" : (h.left = e.left, h.top = e.top), h
|
||||
}
|
||||
}
|
||||
});
|
||||
var P = "iframe",
|
||||
Q = "//about:blank",
|
||||
R = function(a) {
|
||||
if (b.currTemplate[P]) {
|
||||
var c = b.currTemplate[P].find("iframe");
|
||||
c.length && (a || (c[0].src = Q), b.isIE8 && c.css("display", a ? "block" : "none"))
|
||||
}
|
||||
};
|
||||
a.magnificPopup.registerModule(P, {
|
||||
options: {
|
||||
markup: '<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',
|
||||
srcAction: "iframe_src",
|
||||
patterns: {
|
||||
youtube: {
|
||||
index: "youtube.com",
|
||||
id: "v=",
|
||||
src: "//www.youtube.com/embed/%id%?autoplay=1"
|
||||
},
|
||||
vimeo: {
|
||||
index: "vimeo.com/",
|
||||
id: "/",
|
||||
src: "//player.vimeo.com/video/%id%?autoplay=1"
|
||||
},
|
||||
gmaps: {
|
||||
index: "//maps.google.",
|
||||
src: "%id%&output=embed"
|
||||
}
|
||||
}
|
||||
},
|
||||
proto: {
|
||||
initIframe: function() {
|
||||
b.types.push(P), w("BeforeChange", function(a, b, c) {
|
||||
b !== c && (b === P ? R() : c === P && R(!0))
|
||||
}), w(h + "." + P, function() {
|
||||
R()
|
||||
})
|
||||
},
|
||||
getIframe: function(c, d) {
|
||||
var e = c.src,
|
||||
f = b.st.iframe;
|
||||
a.each(f.patterns, function() {
|
||||
return e.indexOf(this.index) > -1 ? (this.id && (e = "string" == typeof this.id ? e.substr(e.lastIndexOf(this.id) + this.id.length, e.length) : this.id.call(this, e)), e = this.src.replace("%id%", e), !1) : void 0
|
||||
});
|
||||
var g = {};
|
||||
return f.srcAction && (g[f.srcAction] = e), b._parseMarkup(d, g, c), b.updateStatus("ready"), d
|
||||
}
|
||||
}
|
||||
});
|
||||
var S = function(a) {
|
||||
var c = b.items.length;
|
||||
return a > c - 1 ? a - c : 0 > a ? c + a : a
|
||||
},
|
||||
T = function(a, b, c) {
|
||||
return a.replace(/%curr%/gi, b + 1).replace(/%total%/gi, c)
|
||||
};
|
||||
a.magnificPopup.registerModule("gallery", {
|
||||
options: {
|
||||
enabled: !1,
|
||||
arrowMarkup: '<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',
|
||||
preload: [0, 2],
|
||||
navigateByImgClick: !0,
|
||||
arrows: !0,
|
||||
tPrev: "Previous (Left arrow key)",
|
||||
tNext: "Next (Right arrow key)",
|
||||
tCounter: "%curr% of %total%"
|
||||
},
|
||||
proto: {
|
||||
initGallery: function() {
|
||||
var c = b.st.gallery,
|
||||
e = ".mfp-gallery";
|
||||
return b.direction = !0, c && c.enabled ? (f += " mfp-gallery", w(m + e, function() {
|
||||
c.navigateByImgClick && b.wrap.on("click" + e, ".mfp-img", function() {
|
||||
return b.items.length > 1 ? (b.next(), !1) : void 0
|
||||
}), d.on("keydown" + e, function(a) {
|
||||
37 === a.keyCode ? b.prev() : 39 === a.keyCode && b.next()
|
||||
})
|
||||
}), w("UpdateStatus" + e, function(a, c) {
|
||||
c.text && (c.text = T(c.text, b.currItem.index, b.items.length))
|
||||
}), w(l + e, function(a, d, e, f) {
|
||||
var g = b.items.length;
|
||||
e.counter = g > 1 ? T(c.tCounter, f.index, g) : ""
|
||||
}), w("BuildControls" + e, function() {
|
||||
if (b.items.length > 1 && c.arrows && !b.arrowLeft) {
|
||||
var d = c.arrowMarkup,
|
||||
e = b.arrowLeft = a(d.replace(/%title%/gi, c.tPrev).replace(/%dir%/gi, "left")).addClass(s),
|
||||
f = b.arrowRight = a(d.replace(/%title%/gi, c.tNext).replace(/%dir%/gi, "right")).addClass(s);
|
||||
e.click(function() {
|
||||
b.prev()
|
||||
}), f.click(function() {
|
||||
b.next()
|
||||
}), b.container.append(e.add(f))
|
||||
}
|
||||
}), w(n + e, function() {
|
||||
b._preloadTimeout && clearTimeout(b._preloadTimeout), b._preloadTimeout = setTimeout(function() {
|
||||
b.preloadNearbyImages(), b._preloadTimeout = null
|
||||
}, 16)
|
||||
}), void w(h + e, function() {
|
||||
d.off(e), b.wrap.off("click" + e), b.arrowRight = b.arrowLeft = null
|
||||
})) : !1
|
||||
},
|
||||
next: function() {
|
||||
b.direction = !0, b.index = S(b.index + 1), b.updateItemHTML()
|
||||
},
|
||||
prev: function() {
|
||||
b.direction = !1, b.index = S(b.index - 1), b.updateItemHTML()
|
||||
},
|
||||
goTo: function(a) {
|
||||
b.direction = a >= b.index, b.index = a, b.updateItemHTML()
|
||||
},
|
||||
preloadNearbyImages: function() {
|
||||
var a, c = b.st.gallery.preload,
|
||||
d = Math.min(c[0], b.items.length),
|
||||
e = Math.min(c[1], b.items.length);
|
||||
for (a = 1; a <= (b.direction ? e : d); a++) b._preloadItem(b.index + a);
|
||||
for (a = 1; a <= (b.direction ? d : e); a++) b._preloadItem(b.index - a)
|
||||
},
|
||||
_preloadItem: function(c) {
|
||||
if (c = S(c), !b.items[c].preloaded) {
|
||||
var d = b.items[c];
|
||||
d.parsed || (d = b.parseEl(c)), y("LazyLoad", d), "image" === d.type && (d.img = a('<img class="mfp-img" />').on("load.mfploader", function() {
|
||||
d.hasSize = !0
|
||||
}).on("error.mfploader", function() {
|
||||
d.hasSize = !0, d.loadError = !0, y("LazyLoadError", d)
|
||||
}).attr("src", d.src)), d.preloaded = !0
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
var U = "retina";
|
||||
a.magnificPopup.registerModule(U, {
|
||||
options: {
|
||||
replaceSrc: function(a) {
|
||||
return a.src.replace(/\.\w+$/, function(a) {
|
||||
return "@2x" + a
|
||||
})
|
||||
},
|
||||
ratio: 1
|
||||
},
|
||||
proto: {
|
||||
initRetina: function() {
|
||||
if (window.devicePixelRatio > 1) {
|
||||
var a = b.st.retina,
|
||||
c = a.ratio;
|
||||
c = isNaN(c) ? c() : c, c > 1 && (w("ImageHasSize." + U, function(a, b) {
|
||||
b.img.css({
|
||||
"max-width": b.img[0].naturalWidth / c,
|
||||
width: "100%"
|
||||
})
|
||||
}), w("ElementParse." + U, function(b, d) {
|
||||
d.src = a.replaceSrc(d, c)
|
||||
}))
|
||||
}
|
||||
}
|
||||
}
|
||||
}), A()
|
||||
});
|
||||
@@ -0,0 +1,627 @@
|
||||
/* -----------------------------------------------
|
||||
/* Author : Vincent Garreau - vincentgarreau.com
|
||||
/* MIT license: http://opensource.org/licenses/MIT
|
||||
/* Demo / Generator : vincentgarreau.com/particles.js
|
||||
/* GitHub : github.com/VincentGarreau/particles.js
|
||||
/* How to use? : Check the GitHub README
|
||||
/* v2.0.0
|
||||
/* ----------------------------------------------- */
|
||||
function hexToRgb(e) {
|
||||
var a = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
|
||||
e = e.replace(a, function(e, a, t, i) {
|
||||
return a + a + t + t + i + i
|
||||
});
|
||||
var t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
|
||||
return t ? {
|
||||
r: parseInt(t[1], 16),
|
||||
g: parseInt(t[2], 16),
|
||||
b: parseInt(t[3], 16)
|
||||
} : null
|
||||
}
|
||||
|
||||
function clamp(e, a, t) {
|
||||
return Math.min(Math.max(e, a), t)
|
||||
}
|
||||
|
||||
function isInArray(e, a) {
|
||||
return a.indexOf(e) > -1
|
||||
}
|
||||
var pJS = function(e, a) {
|
||||
var t = document.querySelector("#" + e + " > .particles-js-canvas-el");
|
||||
this.pJS = {
|
||||
canvas: {
|
||||
el: t,
|
||||
w: t.offsetWidth,
|
||||
h: t.offsetHeight
|
||||
},
|
||||
particles: {
|
||||
number: {
|
||||
value: 400,
|
||||
density: {
|
||||
enable: !0,
|
||||
value_area: 800
|
||||
}
|
||||
},
|
||||
color: {
|
||||
value: "#fff"
|
||||
},
|
||||
shape: {
|
||||
type: "circle",
|
||||
stroke: {
|
||||
width: 0,
|
||||
color: "#ff0000"
|
||||
},
|
||||
polygon: {
|
||||
nb_sides: 5
|
||||
},
|
||||
image: {
|
||||
src: "",
|
||||
width: 100,
|
||||
height: 100
|
||||
}
|
||||
},
|
||||
opacity: {
|
||||
value: 1,
|
||||
random: !1,
|
||||
anim: {
|
||||
enable: !1,
|
||||
speed: 2,
|
||||
opacity_min: 0,
|
||||
sync: !1
|
||||
}
|
||||
},
|
||||
size: {
|
||||
value: 20,
|
||||
random: !1,
|
||||
anim: {
|
||||
enable: !1,
|
||||
speed: 20,
|
||||
size_min: 0,
|
||||
sync: !1
|
||||
}
|
||||
},
|
||||
line_linked: {
|
||||
enable: !0,
|
||||
distance: 100,
|
||||
color: "#fff",
|
||||
opacity: 1,
|
||||
width: 1
|
||||
},
|
||||
move: {
|
||||
enable: !0,
|
||||
speed: 2,
|
||||
direction: "none",
|
||||
random: !1,
|
||||
straight: !1,
|
||||
out_mode: "out",
|
||||
bounce: !1,
|
||||
attract: {
|
||||
enable: !1,
|
||||
rotateX: 3e3,
|
||||
rotateY: 3e3
|
||||
}
|
||||
},
|
||||
array: []
|
||||
},
|
||||
interactivity: {
|
||||
detect_on: "canvas",
|
||||
events: {
|
||||
onhover: {
|
||||
enable: !0,
|
||||
mode: "grab"
|
||||
},
|
||||
onclick: {
|
||||
enable: !0,
|
||||
mode: "push"
|
||||
},
|
||||
resize: !0
|
||||
},
|
||||
modes: {
|
||||
grab: {
|
||||
distance: 100,
|
||||
line_linked: {
|
||||
opacity: 1
|
||||
}
|
||||
},
|
||||
bubble: {
|
||||
distance: 200,
|
||||
size: 80,
|
||||
duration: .4
|
||||
},
|
||||
repulse: {
|
||||
distance: 200,
|
||||
duration: .4
|
||||
},
|
||||
push: {
|
||||
particles_nb: 4
|
||||
},
|
||||
remove: {
|
||||
particles_nb: 2
|
||||
}
|
||||
},
|
||||
mouse: {}
|
||||
},
|
||||
retina_detect: !1,
|
||||
fn: {
|
||||
interact: {},
|
||||
modes: {},
|
||||
vendors: {}
|
||||
},
|
||||
tmp: {}
|
||||
};
|
||||
var i = this.pJS;
|
||||
a && Object.deepExtend(i, a), i.tmp.obj = {
|
||||
size_value: i.particles.size.value,
|
||||
size_anim_speed: i.particles.size.anim.speed,
|
||||
move_speed: i.particles.move.speed,
|
||||
line_linked_distance: i.particles.line_linked.distance,
|
||||
line_linked_width: i.particles.line_linked.width,
|
||||
mode_grab_distance: i.interactivity.modes.grab.distance,
|
||||
mode_bubble_distance: i.interactivity.modes.bubble.distance,
|
||||
mode_bubble_size: i.interactivity.modes.bubble.size,
|
||||
mode_repulse_distance: i.interactivity.modes.repulse.distance
|
||||
}, i.fn.retinaInit = function() {
|
||||
i.retina_detect && window.devicePixelRatio > 1 ? (i.canvas.pxratio = window.devicePixelRatio, i.tmp.retina = !0) : (i.canvas.pxratio = 1, i.tmp.retina = !1), i.canvas.w = i.canvas.el.offsetWidth * i.canvas.pxratio, i.canvas.h = i.canvas.el.offsetHeight * i.canvas.pxratio, i.particles.size.value = i.tmp.obj.size_value * i.canvas.pxratio, i.particles.size.anim.speed = i.tmp.obj.size_anim_speed * i.canvas.pxratio, i.particles.move.speed = i.tmp.obj.move_speed * i.canvas.pxratio, i.particles.line_linked.distance = i.tmp.obj.line_linked_distance * i.canvas.pxratio, i.interactivity.modes.grab.distance = i.tmp.obj.mode_grab_distance * i.canvas.pxratio, i.interactivity.modes.bubble.distance = i.tmp.obj.mode_bubble_distance * i.canvas.pxratio, i.particles.line_linked.width = i.tmp.obj.line_linked_width * i.canvas.pxratio, i.interactivity.modes.bubble.size = i.tmp.obj.mode_bubble_size * i.canvas.pxratio, i.interactivity.modes.repulse.distance = i.tmp.obj.mode_repulse_distance * i.canvas.pxratio
|
||||
}, i.fn.canvasInit = function() {
|
||||
i.canvas.ctx = i.canvas.el.getContext("2d")
|
||||
}, i.fn.canvasSize = function() {
|
||||
i.canvas.el.width = i.canvas.w, i.canvas.el.height = i.canvas.h, i && i.interactivity.events.resize && window.addEventListener("resize", function() {
|
||||
i.canvas.w = i.canvas.el.offsetWidth, i.canvas.h = i.canvas.el.offsetHeight, i.tmp.retina && (i.canvas.w *= i.canvas.pxratio, i.canvas.h *= i.canvas.pxratio), i.canvas.el.width = i.canvas.w, i.canvas.el.height = i.canvas.h, i.particles.move.enable || (i.fn.particlesEmpty(), i.fn.particlesCreate(), i.fn.particlesDraw(), i.fn.vendors.densityAutoParticles()), i.fn.vendors.densityAutoParticles()
|
||||
})
|
||||
}, i.fn.canvasPaint = function() {
|
||||
i.canvas.ctx.fillRect(0, 0, i.canvas.w, i.canvas.h)
|
||||
}, i.fn.canvasClear = function() {
|
||||
i.canvas.ctx.clearRect(0, 0, i.canvas.w, i.canvas.h)
|
||||
}, i.fn.particle = function(e, a, t) {
|
||||
if (this.radius = (i.particles.size.random ? Math.random() : 1) * i.particles.size.value, i.particles.size.anim.enable && (this.size_status = !1, this.vs = i.particles.size.anim.speed / 100, i.particles.size.anim.sync || (this.vs = this.vs * Math.random())), this.x = t ? t.x : Math.random() * i.canvas.w, this.y = t ? t.y : Math.random() * i.canvas.h, this.x > i.canvas.w - 2 * this.radius ? this.x = this.x - this.radius : this.x < 2 * this.radius && (this.x = this.x + this.radius), this.y > i.canvas.h - 2 * this.radius ? this.y = this.y - this.radius : this.y < 2 * this.radius && (this.y = this.y + this.radius), i.particles.move.bounce && i.fn.vendors.checkOverlap(this, t), this.color = {}, "object" == typeof e.value)
|
||||
if (e.value instanceof Array) {
|
||||
var s = e.value[Math.floor(Math.random() * i.particles.color.value.length)];
|
||||
this.color.rgb = hexToRgb(s)
|
||||
} else void 0 != e.value.r && void 0 != e.value.g && void 0 != e.value.b && (this.color.rgb = {
|
||||
r: e.value.r,
|
||||
g: e.value.g,
|
||||
b: e.value.b
|
||||
}), void 0 != e.value.h && void 0 != e.value.s && void 0 != e.value.l && (this.color.hsl = {
|
||||
h: e.value.h,
|
||||
s: e.value.s,
|
||||
l: e.value.l
|
||||
});
|
||||
else "random" == e.value ? this.color.rgb = {
|
||||
r: Math.floor(256 * Math.random()) + 0,
|
||||
g: Math.floor(256 * Math.random()) + 0,
|
||||
b: Math.floor(256 * Math.random()) + 0
|
||||
} : "string" == typeof e.value && (this.color = e, this.color.rgb = hexToRgb(this.color.value));
|
||||
this.opacity = (i.particles.opacity.random ? Math.random() : 1) * i.particles.opacity.value, i.particles.opacity.anim.enable && (this.opacity_status = !1, this.vo = i.particles.opacity.anim.speed / 100, i.particles.opacity.anim.sync || (this.vo = this.vo * Math.random()));
|
||||
var n = {};
|
||||
switch (i.particles.move.direction) {
|
||||
case "top":
|
||||
n = {
|
||||
x: 0,
|
||||
y: -1
|
||||
};
|
||||
break;
|
||||
case "top-right":
|
||||
n = {
|
||||
x: .5,
|
||||
y: -.5
|
||||
};
|
||||
break;
|
||||
case "right":
|
||||
n = {
|
||||
x: 1,
|
||||
y: -0
|
||||
};
|
||||
break;
|
||||
case "bottom-right":
|
||||
n = {
|
||||
x: .5,
|
||||
y: .5
|
||||
};
|
||||
break;
|
||||
case "bottom":
|
||||
n = {
|
||||
x: 0,
|
||||
y: 1
|
||||
};
|
||||
break;
|
||||
case "bottom-left":
|
||||
n = {
|
||||
x: -.5,
|
||||
y: 1
|
||||
};
|
||||
break;
|
||||
case "left":
|
||||
n = {
|
||||
x: -1,
|
||||
y: 0
|
||||
};
|
||||
break;
|
||||
case "top-left":
|
||||
n = {
|
||||
x: -.5,
|
||||
y: -.5
|
||||
};
|
||||
break;
|
||||
default:
|
||||
n = {
|
||||
x: 0,
|
||||
y: 0
|
||||
}
|
||||
}
|
||||
i.particles.move.straight ? (this.vx = n.x, this.vy = n.y, i.particles.move.random && (this.vx = this.vx * Math.random(), this.vy = this.vy * Math.random())) : (this.vx = n.x + Math.random() - .5, this.vy = n.y + Math.random() - .5), this.vx_i = this.vx, this.vy_i = this.vy;
|
||||
var r = i.particles.shape.type;
|
||||
if ("object" == typeof r) {
|
||||
if (r instanceof Array) {
|
||||
var c = r[Math.floor(Math.random() * r.length)];
|
||||
this.shape = c
|
||||
}
|
||||
} else this.shape = r;
|
||||
if ("image" == this.shape) {
|
||||
var o = i.particles.shape;
|
||||
this.img = {
|
||||
src: o.image.src,
|
||||
ratio: o.image.width / o.image.height
|
||||
}, this.img.ratio || (this.img.ratio = 1), "svg" == i.tmp.img_type && void 0 != i.tmp.source_svg && (i.fn.vendors.createSvgImg(this), i.tmp.pushing && (this.img.loaded = !1))
|
||||
}
|
||||
}, i.fn.particle.prototype.draw = function() {
|
||||
function e() {
|
||||
i.canvas.ctx.drawImage(r, a.x - t, a.y - t, 2 * t, 2 * t / a.img.ratio)
|
||||
}
|
||||
var a = this;
|
||||
if (void 0 != a.radius_bubble) var t = a.radius_bubble;
|
||||
else var t = a.radius;
|
||||
if (void 0 != a.opacity_bubble) var s = a.opacity_bubble;
|
||||
else var s = a.opacity;
|
||||
if (a.color.rgb) var n = "rgba(" + a.color.rgb.r + "," + a.color.rgb.g + "," + a.color.rgb.b + "," + s + ")";
|
||||
else var n = "hsla(" + a.color.hsl.h + "," + a.color.hsl.s + "%," + a.color.hsl.l + "%," + s + ")";
|
||||
switch (i.canvas.ctx.fillStyle = n, i.canvas.ctx.beginPath(), a.shape) {
|
||||
case "circle":
|
||||
i.canvas.ctx.arc(a.x, a.y, t, 0, 2 * Math.PI, !1);
|
||||
break;
|
||||
case "edge":
|
||||
i.canvas.ctx.rect(a.x - t, a.y - t, 2 * t, 2 * t);
|
||||
break;
|
||||
case "triangle":
|
||||
i.fn.vendors.drawShape(i.canvas.ctx, a.x - t, a.y + t / 1.66, 2 * t, 3, 2);
|
||||
break;
|
||||
case "polygon":
|
||||
i.fn.vendors.drawShape(i.canvas.ctx, a.x - t / (i.particles.shape.polygon.nb_sides / 3.5), a.y - t / .76, 2.66 * t / (i.particles.shape.polygon.nb_sides / 3), i.particles.shape.polygon.nb_sides, 1);
|
||||
break;
|
||||
case "star":
|
||||
i.fn.vendors.drawShape(i.canvas.ctx, a.x - 2 * t / (i.particles.shape.polygon.nb_sides / 4), a.y - t / 1.52, 2 * t * 2.66 / (i.particles.shape.polygon.nb_sides / 3), i.particles.shape.polygon.nb_sides, 2);
|
||||
break;
|
||||
case "image":
|
||||
if ("svg" == i.tmp.img_type) var r = a.img.obj;
|
||||
else var r = i.tmp.img_obj;
|
||||
r && e()
|
||||
}
|
||||
i.canvas.ctx.closePath(), i.particles.shape.stroke.width > 0 && (i.canvas.ctx.strokeStyle = i.particles.shape.stroke.color, i.canvas.ctx.lineWidth = i.particles.shape.stroke.width, i.canvas.ctx.stroke()), i.canvas.ctx.fill()
|
||||
}, i.fn.particlesCreate = function() {
|
||||
for (var e = 0; e < i.particles.number.value; e++) i.particles.array.push(new i.fn.particle(i.particles.color, i.particles.opacity.value))
|
||||
}, i.fn.particlesUpdate = function() {
|
||||
for (var e = 0; e < i.particles.array.length; e++) {
|
||||
var a = i.particles.array[e];
|
||||
if (i.particles.move.enable) {
|
||||
var t = i.particles.move.speed / 2;
|
||||
a.x += a.vx * t, a.y += a.vy * t
|
||||
}
|
||||
if (i.particles.opacity.anim.enable && (1 == a.opacity_status ? (a.opacity >= i.particles.opacity.value && (a.opacity_status = !1), a.opacity += a.vo) : (a.opacity <= i.particles.opacity.anim.opacity_min && (a.opacity_status = !0), a.opacity -= a.vo), a.opacity < 0 && (a.opacity = 0)), i.particles.size.anim.enable && (1 == a.size_status ? (a.radius >= i.particles.size.value && (a.size_status = !1), a.radius += a.vs) : (a.radius <= i.particles.size.anim.size_min && (a.size_status = !0), a.radius -= a.vs), a.radius < 0 && (a.radius = 0)), "bounce" == i.particles.move.out_mode) var s = {
|
||||
x_left: a.radius,
|
||||
x_right: i.canvas.w,
|
||||
y_top: a.radius,
|
||||
y_bottom: i.canvas.h
|
||||
};
|
||||
else var s = {
|
||||
x_left: -a.radius,
|
||||
x_right: i.canvas.w + a.radius,
|
||||
y_top: -a.radius,
|
||||
y_bottom: i.canvas.h + a.radius
|
||||
};
|
||||
switch (a.x - a.radius > i.canvas.w ? (a.x = s.x_left, a.y = Math.random() * i.canvas.h) : a.x + a.radius < 0 && (a.x = s.x_right, a.y = Math.random() * i.canvas.h), a.y - a.radius > i.canvas.h ? (a.y = s.y_top, a.x = Math.random() * i.canvas.w) : a.y + a.radius < 0 && (a.y = s.y_bottom, a.x = Math.random() * i.canvas.w), i.particles.move.out_mode) {
|
||||
case "bounce":
|
||||
a.x + a.radius > i.canvas.w ? a.vx = -a.vx : a.x - a.radius < 0 && (a.vx = -a.vx), a.y + a.radius > i.canvas.h ? a.vy = -a.vy : a.y - a.radius < 0 && (a.vy = -a.vy)
|
||||
}
|
||||
if (isInArray("grab", i.interactivity.events.onhover.mode) && i.fn.modes.grabParticle(a), (isInArray("bubble", i.interactivity.events.onhover.mode) || isInArray("bubble", i.interactivity.events.onclick.mode)) && i.fn.modes.bubbleParticle(a), (isInArray("repulse", i.interactivity.events.onhover.mode) || isInArray("repulse", i.interactivity.events.onclick.mode)) && i.fn.modes.repulseParticle(a), i.particles.line_linked.enable || i.particles.move.attract.enable)
|
||||
for (var n = e + 1; n < i.particles.array.length; n++) {
|
||||
var r = i.particles.array[n];
|
||||
i.particles.line_linked.enable && i.fn.interact.linkParticles(a, r), i.particles.move.attract.enable && i.fn.interact.attractParticles(a, r), i.particles.move.bounce && i.fn.interact.bounceParticles(a, r)
|
||||
}
|
||||
}
|
||||
}, i.fn.particlesDraw = function() {
|
||||
i.canvas.ctx.clearRect(0, 0, i.canvas.w, i.canvas.h), i.fn.particlesUpdate();
|
||||
for (var e = 0; e < i.particles.array.length; e++) {
|
||||
var a = i.particles.array[e];
|
||||
a.draw()
|
||||
}
|
||||
}, i.fn.particlesEmpty = function() {
|
||||
i.particles.array = []
|
||||
}, i.fn.particlesRefresh = function() {
|
||||
cancelRequestAnimFrame(i.fn.checkAnimFrame), cancelRequestAnimFrame(i.fn.drawAnimFrame), i.tmp.source_svg = void 0, i.tmp.img_obj = void 0, i.tmp.count_svg = 0, i.fn.particlesEmpty(), i.fn.canvasClear(), i.fn.vendors.start()
|
||||
}, i.fn.interact.linkParticles = function(e, a) {
|
||||
var t = e.x - a.x,
|
||||
s = e.y - a.y,
|
||||
n = Math.sqrt(t * t + s * s);
|
||||
if (n <= i.particles.line_linked.distance) {
|
||||
var r = i.particles.line_linked.opacity - n / (1 / i.particles.line_linked.opacity) / i.particles.line_linked.distance;
|
||||
if (r > 0) {
|
||||
var c = i.particles.line_linked.color_rgb_line;
|
||||
i.canvas.ctx.strokeStyle = "rgba(" + c.r + "," + c.g + "," + c.b + "," + r + ")", i.canvas.ctx.lineWidth = i.particles.line_linked.width, i.canvas.ctx.beginPath(), i.canvas.ctx.moveTo(e.x, e.y), i.canvas.ctx.lineTo(a.x, a.y), i.canvas.ctx.stroke(), i.canvas.ctx.closePath()
|
||||
}
|
||||
}
|
||||
}, i.fn.interact.attractParticles = function(e, a) {
|
||||
var t = e.x - a.x,
|
||||
s = e.y - a.y,
|
||||
n = Math.sqrt(t * t + s * s);
|
||||
if (n <= i.particles.line_linked.distance) {
|
||||
var r = t / (1e3 * i.particles.move.attract.rotateX),
|
||||
c = s / (1e3 * i.particles.move.attract.rotateY);
|
||||
e.vx -= r, e.vy -= c, a.vx += r, a.vy += c
|
||||
}
|
||||
}, i.fn.interact.bounceParticles = function(e, a) {
|
||||
var t = e.x - a.x,
|
||||
i = e.y - a.y,
|
||||
s = Math.sqrt(t * t + i * i),
|
||||
n = e.radius + a.radius;
|
||||
n >= s && (e.vx = -e.vx, e.vy = -e.vy, a.vx = -a.vx, a.vy = -a.vy)
|
||||
}, i.fn.modes.pushParticles = function(e, a) {
|
||||
i.tmp.pushing = !0;
|
||||
for (var t = 0; e > t; t++) i.particles.array.push(new i.fn.particle(i.particles.color, i.particles.opacity.value, {
|
||||
x: a ? a.pos_x : Math.random() * i.canvas.w,
|
||||
y: a ? a.pos_y : Math.random() * i.canvas.h
|
||||
})), t == e - 1 && (i.particles.move.enable || i.fn.particlesDraw(), i.tmp.pushing = !1)
|
||||
}, i.fn.modes.removeParticles = function(e) {
|
||||
i.particles.array.splice(0, e), i.particles.move.enable || i.fn.particlesDraw()
|
||||
}, i.fn.modes.bubbleParticle = function(e) {
|
||||
function a() {
|
||||
e.opacity_bubble = e.opacity, e.radius_bubble = e.radius
|
||||
}
|
||||
|
||||
function t(a, t, s, n, c) {
|
||||
if (a != t)
|
||||
if (i.tmp.bubble_duration_end) {
|
||||
if (void 0 != s) {
|
||||
var o = n - p * (n - a) / i.interactivity.modes.bubble.duration,
|
||||
l = a - o;
|
||||
d = a + l, "size" == c && (e.radius_bubble = d), "opacity" == c && (e.opacity_bubble = d)
|
||||
}
|
||||
} else if (r <= i.interactivity.modes.bubble.distance) {
|
||||
if (void 0 != s) var v = s;
|
||||
else var v = n;
|
||||
if (v != a) {
|
||||
var d = n - p * (n - a) / i.interactivity.modes.bubble.duration;
|
||||
"size" == c && (e.radius_bubble = d), "opacity" == c && (e.opacity_bubble = d)
|
||||
}
|
||||
} else "size" == c && (e.radius_bubble = void 0), "opacity" == c && (e.opacity_bubble = void 0)
|
||||
}
|
||||
if (i.interactivity.events.onhover.enable && isInArray("bubble", i.interactivity.events.onhover.mode)) {
|
||||
var s = e.x - i.interactivity.mouse.pos_x,
|
||||
n = e.y - i.interactivity.mouse.pos_y,
|
||||
r = Math.sqrt(s * s + n * n),
|
||||
c = 1 - r / i.interactivity.modes.bubble.distance;
|
||||
if (r <= i.interactivity.modes.bubble.distance) {
|
||||
if (c >= 0 && "mousemove" == i.interactivity.status) {
|
||||
if (i.interactivity.modes.bubble.size != i.particles.size.value)
|
||||
if (i.interactivity.modes.bubble.size > i.particles.size.value) {
|
||||
var o = e.radius + i.interactivity.modes.bubble.size * c;
|
||||
o >= 0 && (e.radius_bubble = o)
|
||||
} else {
|
||||
var l = e.radius - i.interactivity.modes.bubble.size,
|
||||
o = e.radius - l * c;
|
||||
o > 0 ? e.radius_bubble = o : e.radius_bubble = 0
|
||||
}
|
||||
if (i.interactivity.modes.bubble.opacity != i.particles.opacity.value)
|
||||
if (i.interactivity.modes.bubble.opacity > i.particles.opacity.value) {
|
||||
var v = i.interactivity.modes.bubble.opacity * c;
|
||||
v > e.opacity && v <= i.interactivity.modes.bubble.opacity && (e.opacity_bubble = v)
|
||||
} else {
|
||||
var v = e.opacity - (i.particles.opacity.value - i.interactivity.modes.bubble.opacity) * c;
|
||||
v < e.opacity && v >= i.interactivity.modes.bubble.opacity && (e.opacity_bubble = v)
|
||||
}
|
||||
}
|
||||
} else a();
|
||||
"mouseleave" == i.interactivity.status && a()
|
||||
} else if (i.interactivity.events.onclick.enable && isInArray("bubble", i.interactivity.events.onclick.mode)) {
|
||||
if (i.tmp.bubble_clicking) {
|
||||
var s = e.x - i.interactivity.mouse.click_pos_x,
|
||||
n = e.y - i.interactivity.mouse.click_pos_y,
|
||||
r = Math.sqrt(s * s + n * n),
|
||||
p = ((new Date).getTime() - i.interactivity.mouse.click_time) / 1e3;
|
||||
p > i.interactivity.modes.bubble.duration && (i.tmp.bubble_duration_end = !0), p > 2 * i.interactivity.modes.bubble.duration && (i.tmp.bubble_clicking = !1, i.tmp.bubble_duration_end = !1)
|
||||
}
|
||||
i.tmp.bubble_clicking && (t(i.interactivity.modes.bubble.size, i.particles.size.value, e.radius_bubble, e.radius, "size"), t(i.interactivity.modes.bubble.opacity, i.particles.opacity.value, e.opacity_bubble, e.opacity, "opacity"))
|
||||
}
|
||||
}, i.fn.modes.repulseParticle = function(e) {
|
||||
function a() {
|
||||
var a = Math.atan2(d, p);
|
||||
if (e.vx = u * Math.cos(a), e.vy = u * Math.sin(a), "bounce" == i.particles.move.out_mode) {
|
||||
var t = {
|
||||
x: e.x + e.vx,
|
||||
y: e.y + e.vy
|
||||
};
|
||||
t.x + e.radius > i.canvas.w ? e.vx = -e.vx : t.x - e.radius < 0 && (e.vx = -e.vx), t.y + e.radius > i.canvas.h ? e.vy = -e.vy : t.y - e.radius < 0 && (e.vy = -e.vy)
|
||||
}
|
||||
}
|
||||
if (i.interactivity.events.onhover.enable && isInArray("repulse", i.interactivity.events.onhover.mode) && "mousemove" == i.interactivity.status) {
|
||||
var t = e.x - i.interactivity.mouse.pos_x,
|
||||
s = e.y - i.interactivity.mouse.pos_y,
|
||||
n = Math.sqrt(t * t + s * s),
|
||||
r = {
|
||||
x: t / n,
|
||||
y: s / n
|
||||
},
|
||||
c = i.interactivity.modes.repulse.distance,
|
||||
o = 100,
|
||||
l = clamp(1 / c * (-1 * Math.pow(n / c, 2) + 1) * c * o, 0, 50),
|
||||
v = {
|
||||
x: e.x + r.x * l,
|
||||
y: e.y + r.y * l
|
||||
};
|
||||
"bounce" == i.particles.move.out_mode ? (v.x - e.radius > 0 && v.x + e.radius < i.canvas.w && (e.x = v.x), v.y - e.radius > 0 && v.y + e.radius < i.canvas.h && (e.y = v.y)) : (e.x = v.x, e.y = v.y)
|
||||
} else if (i.interactivity.events.onclick.enable && isInArray("repulse", i.interactivity.events.onclick.mode))
|
||||
if (i.tmp.repulse_finish || (i.tmp.repulse_count++, i.tmp.repulse_count == i.particles.array.length && (i.tmp.repulse_finish = !0)), i.tmp.repulse_clicking) {
|
||||
var c = Math.pow(i.interactivity.modes.repulse.distance / 6, 3),
|
||||
p = i.interactivity.mouse.click_pos_x - e.x,
|
||||
d = i.interactivity.mouse.click_pos_y - e.y,
|
||||
m = p * p + d * d,
|
||||
u = -c / m * 1;
|
||||
c >= m && a()
|
||||
} else 0 == i.tmp.repulse_clicking && (e.vx = e.vx_i, e.vy = e.vy_i)
|
||||
}, i.fn.modes.grabParticle = function(e) {
|
||||
if (i.interactivity.events.onhover.enable && "mousemove" == i.interactivity.status) {
|
||||
var a = e.x - i.interactivity.mouse.pos_x,
|
||||
t = e.y - i.interactivity.mouse.pos_y,
|
||||
s = Math.sqrt(a * a + t * t);
|
||||
if (s <= i.interactivity.modes.grab.distance) {
|
||||
var n = i.interactivity.modes.grab.line_linked.opacity - s / (1 / i.interactivity.modes.grab.line_linked.opacity) / i.interactivity.modes.grab.distance;
|
||||
if (n > 0) {
|
||||
var r = i.particles.line_linked.color_rgb_line;
|
||||
i.canvas.ctx.strokeStyle = "rgba(" + r.r + "," + r.g + "," + r.b + "," + n + ")", i.canvas.ctx.lineWidth = i.particles.line_linked.width, i.canvas.ctx.beginPath(), i.canvas.ctx.moveTo(e.x, e.y), i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x, i.interactivity.mouse.pos_y), i.canvas.ctx.stroke(), i.canvas.ctx.closePath()
|
||||
}
|
||||
}
|
||||
}
|
||||
}, i.fn.vendors.eventsListeners = function() {
|
||||
"window" == i.interactivity.detect_on ? i.interactivity.el = window : i.interactivity.el = i.canvas.el, (i.interactivity.events.onhover.enable || i.interactivity.events.onclick.enable) && (i.interactivity.el.addEventListener("mousemove", function(e) {
|
||||
if (i.interactivity.el == window) var a = e.clientX,
|
||||
t = e.clientY;
|
||||
else var a = e.offsetX || e.clientX,
|
||||
t = e.offsetY || e.clientY;
|
||||
i.interactivity.mouse.pos_x = a, i.interactivity.mouse.pos_y = t, i.tmp.retina && (i.interactivity.mouse.pos_x *= i.canvas.pxratio, i.interactivity.mouse.pos_y *= i.canvas.pxratio), i.interactivity.status = "mousemove"
|
||||
}), i.interactivity.el.addEventListener("mouseleave", function(e) {
|
||||
i.interactivity.mouse.pos_x = null, i.interactivity.mouse.pos_y = null, i.interactivity.status = "mouseleave"
|
||||
})), i.interactivity.events.onclick.enable && i.interactivity.el.addEventListener("click", function() {
|
||||
if (i.interactivity.mouse.click_pos_x = i.interactivity.mouse.pos_x, i.interactivity.mouse.click_pos_y = i.interactivity.mouse.pos_y, i.interactivity.mouse.click_time = (new Date).getTime(), i.interactivity.events.onclick.enable) switch (i.interactivity.events.onclick.mode) {
|
||||
case "push":
|
||||
i.particles.move.enable ? i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb, i.interactivity.mouse) : 1 == i.interactivity.modes.push.particles_nb ? i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb, i.interactivity.mouse) : i.interactivity.modes.push.particles_nb > 1 && i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);
|
||||
break;
|
||||
case "remove":
|
||||
i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);
|
||||
break;
|
||||
case "bubble":
|
||||
i.tmp.bubble_clicking = !0;
|
||||
break;
|
||||
case "repulse":
|
||||
i.tmp.repulse_clicking = !0, i.tmp.repulse_count = 0, i.tmp.repulse_finish = !1, setTimeout(function() {
|
||||
i.tmp.repulse_clicking = !1
|
||||
}, 1e3 * i.interactivity.modes.repulse.duration)
|
||||
}
|
||||
})
|
||||
}, i.fn.vendors.densityAutoParticles = function() {
|
||||
if (i.particles.number.density.enable) {
|
||||
var e = i.canvas.el.width * i.canvas.el.height / 1e3;
|
||||
i.tmp.retina && (e /= 2 * i.canvas.pxratio);
|
||||
var a = e * i.particles.number.value / i.particles.number.density.value_area,
|
||||
t = i.particles.array.length - a;
|
||||
0 > t ? i.fn.modes.pushParticles(Math.abs(t)) : i.fn.modes.removeParticles(t)
|
||||
}
|
||||
}, i.fn.vendors.checkOverlap = function(e, a) {
|
||||
for (var t = 0; t < i.particles.array.length; t++) {
|
||||
var s = i.particles.array[t],
|
||||
n = e.x - s.x,
|
||||
r = e.y - s.y,
|
||||
c = Math.sqrt(n * n + r * r);
|
||||
c <= e.radius + s.radius && (e.x = a ? a.x : Math.random() * i.canvas.w, e.y = a ? a.y : Math.random() * i.canvas.h, i.fn.vendors.checkOverlap(e))
|
||||
}
|
||||
}, i.fn.vendors.createSvgImg = function(e) {
|
||||
var a = i.tmp.source_svg,
|
||||
t = /#([0-9A-F]{3,6})/gi,
|
||||
s = a.replace(t, function(a, t, i, s) {
|
||||
if (e.color.rgb) var n = "rgba(" + e.color.rgb.r + "," + e.color.rgb.g + "," + e.color.rgb.b + "," + e.opacity + ")";
|
||||
else var n = "hsla(" + e.color.hsl.h + "," + e.color.hsl.s + "%," + e.color.hsl.l + "%," + e.opacity + ")";
|
||||
return n
|
||||
}),
|
||||
n = new Blob([s], {
|
||||
type: "image/svg+xml;charset=utf-8"
|
||||
}),
|
||||
r = window.URL || window.webkitURL || window,
|
||||
c = r.createObjectURL(n),
|
||||
o = new Image;
|
||||
o.addEventListener("load", function() {
|
||||
e.img.obj = o, e.img.loaded = !0, r.revokeObjectURL(c), i.tmp.count_svg++
|
||||
}), o.src = c
|
||||
}, i.fn.vendors.destroypJS = function() {
|
||||
cancelAnimationFrame(i.fn.drawAnimFrame), t.remove(), pJSDom = null
|
||||
}, i.fn.vendors.drawShape = function(e, a, t, i, s, n) {
|
||||
var r = s * n,
|
||||
c = s / n,
|
||||
o = 180 * (c - 2) / c,
|
||||
l = Math.PI - Math.PI * o / 180;
|
||||
e.save(), e.beginPath(), e.translate(a, t), e.moveTo(0, 0);
|
||||
for (var v = 0; r > v; v++) e.lineTo(i, 0), e.translate(i, 0), e.rotate(l);
|
||||
e.fill(), e.restore()
|
||||
}, i.fn.vendors.exportImg = function() {
|
||||
window.open(i.canvas.el.toDataURL("image/png"), "_blank")
|
||||
}, i.fn.vendors.loadImg = function(e) {
|
||||
if (i.tmp.img_error = void 0, "" != i.particles.shape.image.src)
|
||||
if ("svg" == e) {
|
||||
var a = new XMLHttpRequest;
|
||||
a.open("GET", i.particles.shape.image.src), a.onreadystatechange = function(e) {
|
||||
4 == a.readyState && (200 == a.status ? (i.tmp.source_svg = e.currentTarget.response, i.fn.vendors.checkBeforeDraw()) : (console.log("Error pJS - Image not found"), i.tmp.img_error = !0))
|
||||
}, a.send()
|
||||
} else {
|
||||
var t = new Image;
|
||||
t.addEventListener("load", function() {
|
||||
i.tmp.img_obj = t, i.fn.vendors.checkBeforeDraw()
|
||||
}), t.src = i.particles.shape.image.src
|
||||
}
|
||||
else console.log("Error pJS - No image.src"), i.tmp.img_error = !0
|
||||
}, i.fn.vendors.draw = function() {
|
||||
"image" == i.particles.shape.type ? "svg" == i.tmp.img_type ? i.tmp.count_svg >= i.particles.number.value ? (i.fn.particlesDraw(), i.particles.move.enable ? i.fn.drawAnimFrame = requestAnimFrame(i.fn.vendors.draw) : cancelRequestAnimFrame(i.fn.drawAnimFrame)) : i.tmp.img_error || (i.fn.drawAnimFrame = requestAnimFrame(i.fn.vendors.draw)) : void 0 != i.tmp.img_obj ? (i.fn.particlesDraw(), i.particles.move.enable ? i.fn.drawAnimFrame = requestAnimFrame(i.fn.vendors.draw) : cancelRequestAnimFrame(i.fn.drawAnimFrame)) : i.tmp.img_error || (i.fn.drawAnimFrame = requestAnimFrame(i.fn.vendors.draw)) : (i.fn.particlesDraw(), i.particles.move.enable ? i.fn.drawAnimFrame = requestAnimFrame(i.fn.vendors.draw) : cancelRequestAnimFrame(i.fn.drawAnimFrame))
|
||||
}, i.fn.vendors.checkBeforeDraw = function() {
|
||||
"image" == i.particles.shape.type ? "svg" == i.tmp.img_type && void 0 == i.tmp.source_svg ? i.tmp.checkAnimFrame = requestAnimFrame(check) : (cancelRequestAnimFrame(i.tmp.checkAnimFrame), i.tmp.img_error || (i.fn.vendors.init(), i.fn.vendors.draw())) : (i.fn.vendors.init(), i.fn.vendors.draw())
|
||||
}, i.fn.vendors.init = function() {
|
||||
i.fn.retinaInit(), i.fn.canvasInit(), i.fn.canvasSize(), i.fn.canvasPaint(), i.fn.particlesCreate(), i.fn.vendors.densityAutoParticles(), i.particles.line_linked.color_rgb_line = hexToRgb(i.particles.line_linked.color)
|
||||
}, i.fn.vendors.start = function() {
|
||||
isInArray("image", i.particles.shape.type) ? (i.tmp.img_type = i.particles.shape.image.src.substr(i.particles.shape.image.src.length - 3), i.fn.vendors.loadImg(i.tmp.img_type)) : i.fn.vendors.checkBeforeDraw()
|
||||
}, i.fn.vendors.eventsListeners(), i.fn.vendors.start()
|
||||
};
|
||||
|
||||
Object.deepExtend = function(e, a) {
|
||||
for (var t in a) a[t] && a[t].constructor && a[t].constructor === Object ? (e[t] = e[t] || {}, arguments.callee(e[t], a[t])) : e[t] = a[t];
|
||||
return e
|
||||
}, window.requestAnimFrame = function() {
|
||||
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(e) {
|
||||
window.setTimeout(e, 1e3 / 60)
|
||||
}
|
||||
}(), window.cancelRequestAnimFrame = function() {
|
||||
return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelRequestAnimationFrame || window.oCancelRequestAnimationFrame || window.msCancelRequestAnimationFrame || clearTimeout
|
||||
}(), window.pJSDom = [], window.particlesJS = function(e, a) {
|
||||
"string" != typeof e && (a = e, e = "particles-js"), e || (e = "particles-js");
|
||||
var t = document.getElementById(e),
|
||||
i = "particles-js-canvas-el",
|
||||
s = t.getElementsByClassName(i);
|
||||
if (s.length)
|
||||
for (; s.length > 0;) t.removeChild(s[0]);
|
||||
var n = document.createElement("canvas");
|
||||
n.className = i, n.style.width = "100%", n.style.height = "100%";
|
||||
var r = document.getElementById(e).appendChild(n);
|
||||
null != r && pJSDom.push(new pJS(e, a))
|
||||
}, window.particlesJS.load = function(e, a, t) {
|
||||
var i = new XMLHttpRequest;
|
||||
i.open("GET", a), i.onreadystatechange = function(a) {
|
||||
if (4 == i.readyState)
|
||||
if (200 == i.status) {
|
||||
var s = JSON.parse(a.currentTarget.response);
|
||||
window.particlesJS(e, s), t && t()
|
||||
} else console.log("Error pJS - XMLHttpRequest status: " + i.status), console.log("Error pJS - File config not found")
|
||||
}, i.send()
|
||||
}(), window.pJSDom = [], window.particlesJS = function(e, a) {
|
||||
"string" != typeof e && (a = e, e = "particles-bg"), e || (e = "particles-bg");
|
||||
var t = document.getElementById(e),
|
||||
i = "particles-js-canvas-el",
|
||||
s = t.getElementsByClassName(i);
|
||||
if (s.length)
|
||||
for (; s.length > 0;) t.removeChild(s[0]);
|
||||
var n = document.createElement("canvas");
|
||||
n.className = i, n.style.width = "100%", n.style.height = "100%";
|
||||
var r = document.getElementById(e).appendChild(n);
|
||||
null != r && pJSDom.push(new pJS(e, a))
|
||||
}, window.particlesJS.load = function(e, a, t) {
|
||||
var i = new XMLHttpRequest;
|
||||
i.open("GET", a), i.onreadystatechange = function(a) {
|
||||
if (4 == i.readyState)
|
||||
if (200 == i.status) {
|
||||
var s = JSON.parse(a.currentTarget.response);
|
||||
window.particlesJS(e, s), t && t()
|
||||
} else console.log("Error pJS - XMLHttpRequest status: " + i.status), console.log("Error pJS - File config not found")
|
||||
}, i.send()
|
||||
};
|
||||
@@ -0,0 +1,913 @@
|
||||
/**
|
||||
* @popperjs/core v2.10.2 - MIT License
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
! function(e, t) {
|
||||
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).Popper = {})
|
||||
}(this, (function(e) {
|
||||
function t(e, t) {
|
||||
return {
|
||||
width: (e = e.getBoundingClientRect()).width / 1,
|
||||
height: e.height / 1,
|
||||
top: e.top / 1,
|
||||
right: e.right / 1,
|
||||
bottom: e.bottom / 1,
|
||||
left: e.left / 1,
|
||||
x: e.left / 1,
|
||||
y: e.top / 1
|
||||
}
|
||||
}
|
||||
|
||||
function n(e) {
|
||||
return null == e ? window : "[object Window]" !== e.toString() ? (e = e.ownerDocument) && e.defaultView || window : e
|
||||
}
|
||||
|
||||
function o(e) {
|
||||
return {
|
||||
scrollLeft: (e = n(e)).pageXOffset,
|
||||
scrollTop: e.pageYOffset
|
||||
}
|
||||
}
|
||||
|
||||
function r(e) {
|
||||
return e instanceof n(e).Element || e instanceof Element
|
||||
}
|
||||
|
||||
function i(e) {
|
||||
return e instanceof n(e).HTMLElement || e instanceof HTMLElement
|
||||
}
|
||||
|
||||
function a(e) {
|
||||
return "undefined" != typeof ShadowRoot && (e instanceof n(e).ShadowRoot || e instanceof ShadowRoot)
|
||||
}
|
||||
|
||||
function s(e) {
|
||||
return e ? (e.nodeName || "").toLowerCase() : null
|
||||
}
|
||||
|
||||
function f(e) {
|
||||
return ((r(e) ? e.ownerDocument : e.document) || window.document).documentElement
|
||||
}
|
||||
|
||||
function p(e) {
|
||||
return t(f(e)).left + o(e).scrollLeft
|
||||
}
|
||||
|
||||
function c(e) {
|
||||
return n(e).getComputedStyle(e)
|
||||
}
|
||||
|
||||
function l(e) {
|
||||
return e = c(e), /auto|scroll|overlay|hidden/.test(e.overflow + e.overflowY + e.overflowX)
|
||||
}
|
||||
|
||||
function u(e, r, a) {
|
||||
void 0 === a && (a = !1);
|
||||
var c = i(r);
|
||||
i(r) && r.getBoundingClientRect();
|
||||
var u = f(r);
|
||||
e = t(e);
|
||||
var d = {
|
||||
scrollLeft: 0,
|
||||
scrollTop: 0
|
||||
},
|
||||
m = {
|
||||
x: 0,
|
||||
y: 0
|
||||
};
|
||||
return (c || !c && !a) && (("body" !== s(r) || l(u)) && (d = r !== n(r) && i(r) ? {
|
||||
scrollLeft: r.scrollLeft,
|
||||
scrollTop: r.scrollTop
|
||||
} : o(r)), i(r) ? ((m = t(r)).x += r.clientLeft, m.y += r.clientTop) : u && (m.x = p(u))), {
|
||||
x: e.left + d.scrollLeft - m.x,
|
||||
y: e.top + d.scrollTop - m.y,
|
||||
width: e.width,
|
||||
height: e.height
|
||||
}
|
||||
}
|
||||
|
||||
function d(e) {
|
||||
var n = t(e),
|
||||
o = e.offsetWidth,
|
||||
r = e.offsetHeight;
|
||||
return 1 >= Math.abs(n.width - o) && (o = n.width), 1 >= Math.abs(n.height - r) && (r = n.height), {
|
||||
x: e.offsetLeft,
|
||||
y: e.offsetTop,
|
||||
width: o,
|
||||
height: r
|
||||
}
|
||||
}
|
||||
|
||||
function m(e) {
|
||||
return "html" === s(e) ? e : e.assignedSlot || e.parentNode || (a(e) ? e.host : null) || f(e)
|
||||
}
|
||||
|
||||
function h(e) {
|
||||
return 0 <= ["html", "body", "#document"].indexOf(s(e)) ? e.ownerDocument.body : i(e) && l(e) ? e : h(m(e))
|
||||
}
|
||||
|
||||
function v(e, t) {
|
||||
var o;
|
||||
void 0 === t && (t = []);
|
||||
var r = h(e);
|
||||
return e = r === (null == (o = e.ownerDocument) ? void 0 : o.body), o = n(r), r = e ? [o].concat(o.visualViewport || [], l(r) ? r : []) : r, t = t.concat(r), e ? t : t.concat(v(m(r)))
|
||||
}
|
||||
|
||||
function g(e) {
|
||||
return i(e) && "fixed" !== c(e).position ? e.offsetParent : null
|
||||
}
|
||||
|
||||
function b(e) {
|
||||
for (var t = n(e), o = g(e); o && 0 <= ["table", "td", "th"].indexOf(s(o)) && "static" === c(o).position;) o = g(o);
|
||||
if (o && ("html" === s(o) || "body" === s(o) && "static" === c(o).position)) return t;
|
||||
if (!o) e: {
|
||||
if (o = -1 !== navigator.userAgent.toLowerCase().indexOf("firefox"), -1 === navigator.userAgent.indexOf("Trident") || !i(e) || "fixed" !== c(e).position)
|
||||
for (e = m(e); i(e) && 0 > ["html", "body"].indexOf(s(e));) {
|
||||
var r = c(e);
|
||||
if ("none" !== r.transform || "none" !== r.perspective || "paint" === r.contain || -1 !== ["transform", "perspective"].indexOf(r.willChange) || o && "filter" === r.willChange || o && r.filter && "none" !== r.filter) {
|
||||
o = e;
|
||||
break e
|
||||
}
|
||||
e = e.parentNode
|
||||
}
|
||||
o = null
|
||||
}
|
||||
return o || t
|
||||
}
|
||||
|
||||
function y(e) {
|
||||
function t(e) {
|
||||
o.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach((function(e) {
|
||||
o.has(e) || (e = n.get(e)) && t(e)
|
||||
})), r.push(e)
|
||||
}
|
||||
var n = new Map,
|
||||
o = new Set,
|
||||
r = [];
|
||||
return e.forEach((function(e) {
|
||||
n.set(e.name, e)
|
||||
})), e.forEach((function(e) {
|
||||
o.has(e.name) || t(e)
|
||||
})), r
|
||||
}
|
||||
|
||||
function w(e) {
|
||||
var t;
|
||||
return function() {
|
||||
return t || (t = new Promise((function(n) {
|
||||
Promise.resolve().then((function() {
|
||||
t = void 0, n(e())
|
||||
}))
|
||||
}))), t
|
||||
}
|
||||
}
|
||||
|
||||
function x(e) {
|
||||
return e.split("-")[0]
|
||||
}
|
||||
|
||||
function O(e, t) {
|
||||
var n = t.getRootNode && t.getRootNode();
|
||||
if (e.contains(t)) return !0;
|
||||
if (n && a(n))
|
||||
do {
|
||||
if (t && e.isSameNode(t)) return !0;
|
||||
t = t.parentNode || t.host
|
||||
} while (t);
|
||||
return !1
|
||||
}
|
||||
|
||||
function j(e) {
|
||||
return Object.assign({}, e, {
|
||||
left: e.x,
|
||||
top: e.y,
|
||||
right: e.x + e.width,
|
||||
bottom: e.y + e.height
|
||||
})
|
||||
}
|
||||
|
||||
function E(e, r) {
|
||||
if ("viewport" === r) {
|
||||
r = n(e);
|
||||
var a = f(e);
|
||||
r = r.visualViewport;
|
||||
var s = a.clientWidth;
|
||||
a = a.clientHeight;
|
||||
var l = 0,
|
||||
u = 0;
|
||||
r && (s = r.width, a = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, u = r.offsetTop)), e = j(e = {
|
||||
width: s,
|
||||
height: a,
|
||||
x: l + p(e),
|
||||
y: u
|
||||
})
|
||||
} else i(r) ? ((e = t(r)).top += r.clientTop, e.left += r.clientLeft, e.bottom = e.top + r.clientHeight, e.right = e.left + r.clientWidth, e.width = r.clientWidth, e.height = r.clientHeight, e.x = e.left, e.y = e.top) : (u = f(e), e = f(u), s = o(u), r = null == (a = u.ownerDocument) ? void 0 : a.body, a = U(e.scrollWidth, e.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), l = U(e.scrollHeight, e.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), u = -s.scrollLeft + p(u), s = -s.scrollTop, "rtl" === c(r || e).direction && (u += U(e.clientWidth, r ? r.clientWidth : 0) - a), e = j({
|
||||
width: a,
|
||||
height: l,
|
||||
x: u,
|
||||
y: s
|
||||
}));
|
||||
return e
|
||||
}
|
||||
|
||||
function D(e, t, n) {
|
||||
return t = "clippingParents" === t ? function(e) {
|
||||
var t = v(m(e)),
|
||||
n = 0 <= ["absolute", "fixed"].indexOf(c(e).position) && i(e) ? b(e) : e;
|
||||
return r(n) ? t.filter((function(e) {
|
||||
return r(e) && O(e, n) && "body" !== s(e)
|
||||
})) : []
|
||||
}(e) : [].concat(t), (n = (n = [].concat(t, [n])).reduce((function(t, n) {
|
||||
return n = E(e, n), t.top = U(n.top, t.top), t.right = z(n.right, t.right), t.bottom = z(n.bottom, t.bottom), t.left = U(n.left, t.left), t
|
||||
}), E(e, n[0]))).width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n
|
||||
}
|
||||
|
||||
function L(e) {
|
||||
return e.split("-")[1]
|
||||
}
|
||||
|
||||
function P(e) {
|
||||
return 0 <= ["top", "bottom"].indexOf(e) ? "x" : "y"
|
||||
}
|
||||
|
||||
function M(e) {
|
||||
var t = e.reference,
|
||||
n = e.element,
|
||||
o = (e = e.placement) ? x(e) : null;
|
||||
e = e ? L(e) : null;
|
||||
var r = t.x + t.width / 2 - n.width / 2,
|
||||
i = t.y + t.height / 2 - n.height / 2;
|
||||
switch (o) {
|
||||
case "top":
|
||||
r = {
|
||||
x: r,
|
||||
y: t.y - n.height
|
||||
};
|
||||
break;
|
||||
case "bottom":
|
||||
r = {
|
||||
x: r,
|
||||
y: t.y + t.height
|
||||
};
|
||||
break;
|
||||
case "right":
|
||||
r = {
|
||||
x: t.x + t.width,
|
||||
y: i
|
||||
};
|
||||
break;
|
||||
case "left":
|
||||
r = {
|
||||
x: t.x - n.width,
|
||||
y: i
|
||||
};
|
||||
break;
|
||||
default:
|
||||
r = {
|
||||
x: t.x,
|
||||
y: t.y
|
||||
}
|
||||
}
|
||||
if (null != (o = o ? P(o) : null)) switch (i = "y" === o ? "height" : "width", e) {
|
||||
case "start":
|
||||
r[o] -= t[i] / 2 - n[i] / 2;
|
||||
break;
|
||||
case "end":
|
||||
r[o] += t[i] / 2 - n[i] / 2
|
||||
}
|
||||
return r
|
||||
}
|
||||
|
||||
function k(e) {
|
||||
return Object.assign({}, {
|
||||
top: 0,
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
left: 0
|
||||
}, e)
|
||||
}
|
||||
|
||||
function A(e, t) {
|
||||
return t.reduce((function(t, n) {
|
||||
return t[n] = e, t
|
||||
}), {})
|
||||
}
|
||||
|
||||
function B(e, n) {
|
||||
void 0 === n && (n = {});
|
||||
var o = n;
|
||||
n = void 0 === (n = o.placement) ? e.placement : n;
|
||||
var i = o.boundary,
|
||||
a = void 0 === i ? "clippingParents" : i,
|
||||
s = void 0 === (i = o.rootBoundary) ? "viewport" : i;
|
||||
i = void 0 === (i = o.elementContext) ? "popper" : i;
|
||||
var p = o.altBoundary,
|
||||
c = void 0 !== p && p;
|
||||
o = k("number" != typeof(o = void 0 === (o = o.padding) ? 0 : o) ? o : A(o, N)), p = e.rects.popper, a = D(r(c = e.elements[c ? "popper" === i ? "reference" : "popper" : i]) ? c : c.contextElement || f(e.elements.popper), a, s), c = M({
|
||||
reference: s = t(e.elements.reference),
|
||||
element: p,
|
||||
strategy: "absolute",
|
||||
placement: n
|
||||
}), p = j(Object.assign({}, p, c)), s = "popper" === i ? p : s;
|
||||
var l = {
|
||||
top: a.top - s.top + o.top,
|
||||
bottom: s.bottom - a.bottom + o.bottom,
|
||||
left: a.left - s.left + o.left,
|
||||
right: s.right - a.right + o.right
|
||||
};
|
||||
if (e = e.modifiersData.offset, "popper" === i && e) {
|
||||
var u = e[n];
|
||||
Object.keys(l).forEach((function(e) {
|
||||
var t = 0 <= ["right", "bottom"].indexOf(e) ? 1 : -1,
|
||||
n = 0 <= ["top", "bottom"].indexOf(e) ? "y" : "x";
|
||||
l[e] += u[n] * t
|
||||
}))
|
||||
}
|
||||
return l
|
||||
}
|
||||
|
||||
function W() {
|
||||
for (var e = arguments.length, t = Array(e), n = 0; n < e; n++) t[n] = arguments[n];
|
||||
return !t.some((function(e) {
|
||||
return !(e && "function" == typeof e.getBoundingClientRect)
|
||||
}))
|
||||
}
|
||||
|
||||
function T(e) {
|
||||
void 0 === e && (e = {});
|
||||
var t = e.defaultModifiers,
|
||||
n = void 0 === t ? [] : t,
|
||||
o = void 0 === (e = e.defaultOptions) ? X : e;
|
||||
return function(e, t, i) {
|
||||
function a() {
|
||||
f.forEach((function(e) {
|
||||
return e()
|
||||
})), f = []
|
||||
}
|
||||
void 0 === i && (i = o);
|
||||
var s = {
|
||||
placement: "bottom",
|
||||
orderedModifiers: [],
|
||||
options: Object.assign({}, X, o),
|
||||
modifiersData: {},
|
||||
elements: {
|
||||
reference: e,
|
||||
popper: t
|
||||
},
|
||||
attributes: {},
|
||||
styles: {}
|
||||
},
|
||||
f = [],
|
||||
p = !1,
|
||||
c = {
|
||||
state: s,
|
||||
setOptions: function(i) {
|
||||
return i = "function" == typeof i ? i(s.options) : i, a(), s.options = Object.assign({}, o, s.options, i), s.scrollParents = {
|
||||
reference: r(e) ? v(e) : e.contextElement ? v(e.contextElement) : [],
|
||||
popper: v(t)
|
||||
}, i = function(e) {
|
||||
var t = y(e);
|
||||
return _.reduce((function(e, n) {
|
||||
return e.concat(t.filter((function(e) {
|
||||
return e.phase === n
|
||||
})))
|
||||
}), [])
|
||||
}(function(e) {
|
||||
var t = e.reduce((function(e, t) {
|
||||
var n = e[t.name];
|
||||
return e[t.name] = n ? Object.assign({}, n, t, {
|
||||
options: Object.assign({}, n.options, t.options),
|
||||
data: Object.assign({}, n.data, t.data)
|
||||
}) : t, e
|
||||
}), {});
|
||||
return Object.keys(t).map((function(e) {
|
||||
return t[e]
|
||||
}))
|
||||
}([].concat(n, s.options.modifiers))), s.orderedModifiers = i.filter((function(e) {
|
||||
return e.enabled
|
||||
})), s.orderedModifiers.forEach((function(e) {
|
||||
var t = e.name,
|
||||
n = e.options;
|
||||
n = void 0 === n ? {} : n, "function" == typeof(e = e.effect) && (t = e({
|
||||
state: s,
|
||||
name: t,
|
||||
instance: c,
|
||||
options: n
|
||||
}), f.push(t || function() {}))
|
||||
})), c.update()
|
||||
},
|
||||
forceUpdate: function() {
|
||||
if (!p) {
|
||||
var e = s.elements,
|
||||
t = e.reference;
|
||||
if (W(t, e = e.popper))
|
||||
for (s.rects = {
|
||||
reference: u(t, b(e), "fixed" === s.options.strategy),
|
||||
popper: d(e)
|
||||
}, s.reset = !1, s.placement = s.options.placement, s.orderedModifiers.forEach((function(e) {
|
||||
return s.modifiersData[e.name] = Object.assign({}, e.data)
|
||||
})), t = 0; t < s.orderedModifiers.length; t++)
|
||||
if (!0 === s.reset) s.reset = !1, t = -1;
|
||||
else {
|
||||
var n = s.orderedModifiers[t];
|
||||
e = n.fn;
|
||||
var o = n.options;
|
||||
o = void 0 === o ? {} : o, n = n.name, "function" == typeof e && (s = e({
|
||||
state: s,
|
||||
options: o,
|
||||
name: n,
|
||||
instance: c
|
||||
}) || s)
|
||||
}
|
||||
}
|
||||
},
|
||||
update: w((function() {
|
||||
return new Promise((function(e) {
|
||||
c.forceUpdate(), e(s)
|
||||
}))
|
||||
})),
|
||||
destroy: function() {
|
||||
a(), p = !0
|
||||
}
|
||||
};
|
||||
return W(e, t) ? (c.setOptions(i).then((function(e) {
|
||||
!p && i.onFirstUpdate && i.onFirstUpdate(e)
|
||||
})), c) : c
|
||||
}
|
||||
}
|
||||
|
||||
function R(e) {
|
||||
var t, o = e.popper,
|
||||
r = e.popperRect,
|
||||
i = e.placement,
|
||||
a = e.variation,
|
||||
s = e.offsets,
|
||||
p = e.position,
|
||||
l = e.gpuAcceleration,
|
||||
u = e.adaptive;
|
||||
if (!0 === (e = e.roundOffsets)) {
|
||||
e = s.y;
|
||||
var d = window.devicePixelRatio || 1;
|
||||
e = {
|
||||
x: F(F(s.x * d) / d) || 0,
|
||||
y: F(F(e * d) / d) || 0
|
||||
}
|
||||
} else e = "function" == typeof e ? e(s) : s;
|
||||
e = void 0 === (e = (d = e).x) ? 0 : e, d = void 0 === (d = d.y) ? 0 : d;
|
||||
var m = s.hasOwnProperty("x");
|
||||
s = s.hasOwnProperty("y");
|
||||
var h, v = "left",
|
||||
g = "top",
|
||||
y = window;
|
||||
if (u) {
|
||||
var w = b(o),
|
||||
x = "clientHeight",
|
||||
O = "clientWidth";
|
||||
w === n(o) && ("static" !== c(w = f(o)).position && "absolute" === p && (x = "scrollHeight", O = "scrollWidth")), "top" !== i && ("left" !== i && "right" !== i || "end" !== a) || (g = "bottom", d -= w[x] - r.height, d *= l ? 1 : -1), "left" !== i && ("top" !== i && "bottom" !== i || "end" !== a) || (v = "right", e -= w[O] - r.width, e *= l ? 1 : -1)
|
||||
}
|
||||
return o = Object.assign({
|
||||
position: p
|
||||
}, u && K), l ? Object.assign({}, o, ((h = {})[g] = s ? "0" : "", h[v] = m ? "0" : "", h.transform = 1 >= (y.devicePixelRatio || 1) ? "translate(" + e + "px, " + d + "px)" : "translate3d(" + e + "px, " + d + "px, 0)", h)) : Object.assign({}, o, ((t = {})[g] = s ? d + "px" : "", t[v] = m ? e + "px" : "", t.transform = "", t))
|
||||
}
|
||||
|
||||
function H(e) {
|
||||
return e.replace(/left|right|bottom|top/g, (function(e) {
|
||||
return ee[e]
|
||||
}))
|
||||
}
|
||||
|
||||
function S(e) {
|
||||
return e.replace(/start|end/g, (function(e) {
|
||||
return te[e]
|
||||
}))
|
||||
}
|
||||
|
||||
function C(e, t, n) {
|
||||
return void 0 === n && (n = {
|
||||
x: 0,
|
||||
y: 0
|
||||
}), {
|
||||
top: e.top - t.height - n.y,
|
||||
right: e.right - t.width + n.x,
|
||||
bottom: e.bottom - t.height + n.y,
|
||||
left: e.left - t.width - n.x
|
||||
}
|
||||
}
|
||||
|
||||
function q(e) {
|
||||
return ["top", "right", "bottom", "left"].some((function(t) {
|
||||
return 0 <= e[t]
|
||||
}))
|
||||
}
|
||||
var N = ["top", "bottom", "right", "left"],
|
||||
V = N.reduce((function(e, t) {
|
||||
return e.concat([t + "-start", t + "-end"])
|
||||
}), []),
|
||||
I = [].concat(N, ["auto"]).reduce((function(e, t) {
|
||||
return e.concat([t, t + "-start", t + "-end"])
|
||||
}), []),
|
||||
_ = "beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),
|
||||
U = Math.max,
|
||||
z = Math.min,
|
||||
F = Math.round,
|
||||
X = {
|
||||
placement: "bottom",
|
||||
modifiers: [],
|
||||
strategy: "absolute"
|
||||
},
|
||||
Y = {
|
||||
passive: !0
|
||||
},
|
||||
G = {
|
||||
name: "eventListeners",
|
||||
enabled: !0,
|
||||
phase: "write",
|
||||
fn: function() {},
|
||||
effect: function(e) {
|
||||
var t = e.state,
|
||||
o = e.instance,
|
||||
r = (e = e.options).scroll,
|
||||
i = void 0 === r || r,
|
||||
a = void 0 === (e = e.resize) || e,
|
||||
s = n(t.elements.popper),
|
||||
f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
||||
return i && f.forEach((function(e) {
|
||||
e.addEventListener("scroll", o.update, Y)
|
||||
})), a && s.addEventListener("resize", o.update, Y),
|
||||
function() {
|
||||
i && f.forEach((function(e) {
|
||||
e.removeEventListener("scroll", o.update, Y)
|
||||
})), a && s.removeEventListener("resize", o.update, Y)
|
||||
}
|
||||
},
|
||||
data: {}
|
||||
},
|
||||
J = {
|
||||
name: "popperOffsets",
|
||||
enabled: !0,
|
||||
phase: "read",
|
||||
fn: function(e) {
|
||||
var t = e.state;
|
||||
t.modifiersData[e.name] = M({
|
||||
reference: t.rects.reference,
|
||||
element: t.rects.popper,
|
||||
strategy: "absolute",
|
||||
placement: t.placement
|
||||
})
|
||||
},
|
||||
data: {}
|
||||
},
|
||||
K = {
|
||||
top: "auto",
|
||||
right: "auto",
|
||||
bottom: "auto",
|
||||
left: "auto"
|
||||
},
|
||||
Q = {
|
||||
name: "computeStyles",
|
||||
enabled: !0,
|
||||
phase: "beforeWrite",
|
||||
fn: function(e) {
|
||||
var t = e.state,
|
||||
n = e.options;
|
||||
e = void 0 === (e = n.gpuAcceleration) || e;
|
||||
var o = n.adaptive;
|
||||
o = void 0 === o || o, n = void 0 === (n = n.roundOffsets) || n, e = {
|
||||
placement: x(t.placement),
|
||||
variation: L(t.placement),
|
||||
popper: t.elements.popper,
|
||||
popperRect: t.rects.popper,
|
||||
gpuAcceleration: e
|
||||
}, null != t.modifiersData.popperOffsets && (t.styles.popper = Object.assign({}, t.styles.popper, R(Object.assign({}, e, {
|
||||
offsets: t.modifiersData.popperOffsets,
|
||||
position: t.options.strategy,
|
||||
adaptive: o,
|
||||
roundOffsets: n
|
||||
})))), null != t.modifiersData.arrow && (t.styles.arrow = Object.assign({}, t.styles.arrow, R(Object.assign({}, e, {
|
||||
offsets: t.modifiersData.arrow,
|
||||
position: "absolute",
|
||||
adaptive: !1,
|
||||
roundOffsets: n
|
||||
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
||||
"data-popper-placement": t.placement
|
||||
})
|
||||
},
|
||||
data: {}
|
||||
},
|
||||
Z = {
|
||||
name: "applyStyles",
|
||||
enabled: !0,
|
||||
phase: "write",
|
||||
fn: function(e) {
|
||||
var t = e.state;
|
||||
Object.keys(t.elements).forEach((function(e) {
|
||||
var n = t.styles[e] || {},
|
||||
o = t.attributes[e] || {},
|
||||
r = t.elements[e];
|
||||
i(r) && s(r) && (Object.assign(r.style, n), Object.keys(o).forEach((function(e) {
|
||||
var t = o[e];
|
||||
!1 === t ? r.removeAttribute(e) : r.setAttribute(e, !0 === t ? "" : t)
|
||||
})))
|
||||
}))
|
||||
},
|
||||
effect: function(e) {
|
||||
var t = e.state,
|
||||
n = {
|
||||
popper: {
|
||||
position: t.options.strategy,
|
||||
left: "0",
|
||||
top: "0",
|
||||
margin: "0"
|
||||
},
|
||||
arrow: {
|
||||
position: "absolute"
|
||||
},
|
||||
reference: {}
|
||||
};
|
||||
return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow),
|
||||
function() {
|
||||
Object.keys(t.elements).forEach((function(e) {
|
||||
var o = t.elements[e],
|
||||
r = t.attributes[e] || {};
|
||||
e = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]).reduce((function(e, t) {
|
||||
return e[t] = "", e
|
||||
}), {}), i(o) && s(o) && (Object.assign(o.style, e), Object.keys(r).forEach((function(e) {
|
||||
o.removeAttribute(e)
|
||||
})))
|
||||
}))
|
||||
}
|
||||
},
|
||||
requires: ["computeStyles"]
|
||||
},
|
||||
$ = {
|
||||
name: "offset",
|
||||
enabled: !0,
|
||||
phase: "main",
|
||||
requires: ["popperOffsets"],
|
||||
fn: function(e) {
|
||||
var t = e.state,
|
||||
n = e.name,
|
||||
o = void 0 === (e = e.options.offset) ? [0, 0] : e,
|
||||
r = (e = I.reduce((function(e, n) {
|
||||
var r = t.rects,
|
||||
i = x(n),
|
||||
a = 0 <= ["left", "top"].indexOf(i) ? -1 : 1,
|
||||
s = "function" == typeof o ? o(Object.assign({}, r, {
|
||||
placement: n
|
||||
})) : o;
|
||||
return r = (r = s[0]) || 0, s = ((s = s[1]) || 0) * a, i = 0 <= ["left", "right"].indexOf(i) ? {
|
||||
x: s,
|
||||
y: r
|
||||
} : {
|
||||
x: r,
|
||||
y: s
|
||||
}, e[n] = i, e
|
||||
}), {}))[t.placement],
|
||||
i = r.x;
|
||||
r = r.y, null != t.modifiersData.popperOffsets && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += r), t.modifiersData[n] = e
|
||||
}
|
||||
},
|
||||
ee = {
|
||||
left: "right",
|
||||
right: "left",
|
||||
bottom: "top",
|
||||
top: "bottom"
|
||||
},
|
||||
te = {
|
||||
start: "end",
|
||||
end: "start"
|
||||
},
|
||||
ne = {
|
||||
name: "flip",
|
||||
enabled: !0,
|
||||
phase: "main",
|
||||
fn: function(e) {
|
||||
var t = e.state,
|
||||
n = e.options;
|
||||
if (e = e.name, !t.modifiersData[e]._skip) {
|
||||
var o = n.mainAxis;
|
||||
o = void 0 === o || o;
|
||||
var r = n.altAxis;
|
||||
r = void 0 === r || r;
|
||||
var i = n.fallbackPlacements,
|
||||
a = n.padding,
|
||||
s = n.boundary,
|
||||
f = n.rootBoundary,
|
||||
p = n.altBoundary,
|
||||
c = n.flipVariations,
|
||||
l = void 0 === c || c,
|
||||
u = n.allowedAutoPlacements;
|
||||
c = x(n = t.options.placement), i = i || (c !== n && l ? function(e) {
|
||||
if ("auto" === x(e)) return [];
|
||||
var t = H(e);
|
||||
return [S(e), t, S(t)]
|
||||
}(n) : [H(n)]);
|
||||
var d = [n].concat(i).reduce((function(e, n) {
|
||||
return e.concat("auto" === x(n) ? function(e, t) {
|
||||
void 0 === t && (t = {});
|
||||
var n = t.boundary,
|
||||
o = t.rootBoundary,
|
||||
r = t.padding,
|
||||
i = t.flipVariations,
|
||||
a = t.allowedAutoPlacements,
|
||||
s = void 0 === a ? I : a,
|
||||
f = L(t.placement);
|
||||
0 === (i = (t = f ? i ? V : V.filter((function(e) {
|
||||
return L(e) === f
|
||||
})) : N).filter((function(e) {
|
||||
return 0 <= s.indexOf(e)
|
||||
}))).length && (i = t);
|
||||
var p = i.reduce((function(t, i) {
|
||||
return t[i] = B(e, {
|
||||
placement: i,
|
||||
boundary: n,
|
||||
rootBoundary: o,
|
||||
padding: r
|
||||
})[x(i)], t
|
||||
}), {});
|
||||
return Object.keys(p).sort((function(e, t) {
|
||||
return p[e] - p[t]
|
||||
}))
|
||||
}(t, {
|
||||
placement: n,
|
||||
boundary: s,
|
||||
rootBoundary: f,
|
||||
padding: a,
|
||||
flipVariations: l,
|
||||
allowedAutoPlacements: u
|
||||
}) : n)
|
||||
}), []);
|
||||
n = t.rects.reference, i = t.rects.popper;
|
||||
var m = new Map;
|
||||
c = !0;
|
||||
for (var h = d[0], v = 0; v < d.length; v++) {
|
||||
var g = d[v],
|
||||
b = x(g),
|
||||
y = "start" === L(g),
|
||||
w = 0 <= ["top", "bottom"].indexOf(b),
|
||||
O = w ? "width" : "height",
|
||||
j = B(t, {
|
||||
placement: g,
|
||||
boundary: s,
|
||||
rootBoundary: f,
|
||||
altBoundary: p,
|
||||
padding: a
|
||||
});
|
||||
if (y = w ? y ? "right" : "left" : y ? "bottom" : "top", n[O] > i[O] && (y = H(y)), O = H(y), w = [], o && w.push(0 >= j[b]), r && w.push(0 >= j[y], 0 >= j[O]), w.every((function(e) {
|
||||
return e
|
||||
}))) {
|
||||
h = g, c = !1;
|
||||
break
|
||||
}
|
||||
m.set(g, w)
|
||||
}
|
||||
if (c)
|
||||
for (o = function(e) {
|
||||
var t = d.find((function(t) {
|
||||
if (t = m.get(t)) return t.slice(0, e).every((function(e) {
|
||||
return e
|
||||
}))
|
||||
}));
|
||||
if (t) return h = t, "break"
|
||||
}, r = l ? 3 : 1; 0 < r && "break" !== o(r); r--);
|
||||
t.placement !== h && (t.modifiersData[e]._skip = !0, t.placement = h, t.reset = !0)
|
||||
}
|
||||
},
|
||||
requiresIfExists: ["offset"],
|
||||
data: {
|
||||
_skip: !1
|
||||
}
|
||||
},
|
||||
oe = {
|
||||
name: "preventOverflow",
|
||||
enabled: !0,
|
||||
phase: "main",
|
||||
fn: function(e) {
|
||||
var t = e.state,
|
||||
n = e.options;
|
||||
e = e.name;
|
||||
var o = n.mainAxis,
|
||||
r = void 0 === o || o,
|
||||
i = void 0 !== (o = n.altAxis) && o;
|
||||
o = void 0 === (o = n.tether) || o;
|
||||
var a = n.tetherOffset,
|
||||
s = void 0 === a ? 0 : a,
|
||||
f = B(t, {
|
||||
boundary: n.boundary,
|
||||
rootBoundary: n.rootBoundary,
|
||||
padding: n.padding,
|
||||
altBoundary: n.altBoundary
|
||||
});
|
||||
n = x(t.placement);
|
||||
var p = L(t.placement),
|
||||
c = !p,
|
||||
l = P(n);
|
||||
n = "x" === l ? "y" : "x", a = t.modifiersData.popperOffsets;
|
||||
var u = t.rects.reference,
|
||||
m = t.rects.popper,
|
||||
h = "function" == typeof s ? s(Object.assign({}, t.rects, {
|
||||
placement: t.placement
|
||||
})) : s;
|
||||
if (s = {
|
||||
x: 0,
|
||||
y: 0
|
||||
}, a) {
|
||||
if (r || i) {
|
||||
var v = "y" === l ? "top" : "left",
|
||||
g = "y" === l ? "bottom" : "right",
|
||||
y = "y" === l ? "height" : "width",
|
||||
w = a[l],
|
||||
O = a[l] + f[v],
|
||||
j = a[l] - f[g],
|
||||
E = o ? -m[y] / 2 : 0,
|
||||
D = "start" === p ? u[y] : m[y];
|
||||
p = "start" === p ? -m[y] : -u[y], m = t.elements.arrow, m = o && m ? d(m) : {
|
||||
width: 0,
|
||||
height: 0
|
||||
};
|
||||
var M = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : {
|
||||
top: 0,
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
left: 0
|
||||
};
|
||||
v = M[v], g = M[g], m = U(0, z(u[y], m[y])), D = c ? u[y] / 2 - E - m - v - h : D - m - v - h, u = c ? -u[y] / 2 + E + m + g + h : p + m + g + h, c = t.elements.arrow && b(t.elements.arrow), h = t.modifiersData.offset ? t.modifiersData.offset[t.placement][l] : 0, c = a[l] + D - h - (c ? "y" === l ? c.clientTop || 0 : c.clientLeft || 0 : 0), u = a[l] + u - h, r && (r = o ? z(O, c) : O, j = o ? U(j, u) : j, r = U(r, z(w, j)), a[l] = r, s[l] = r - w), i && (r = (i = a[n]) + f["x" === l ? "top" : "left"], f = i - f["x" === l ? "bottom" : "right"], r = o ? z(r, c) : r, o = o ? U(f, u) : f, o = U(r, z(i, o)), a[n] = o, s[n] = o - i)
|
||||
}
|
||||
t.modifiersData[e] = s
|
||||
}
|
||||
},
|
||||
requiresIfExists: ["offset"]
|
||||
},
|
||||
re = {
|
||||
name: "arrow",
|
||||
enabled: !0,
|
||||
phase: "main",
|
||||
fn: function(e) {
|
||||
var t, n = e.state,
|
||||
o = e.name,
|
||||
r = e.options,
|
||||
i = n.elements.arrow,
|
||||
a = n.modifiersData.popperOffsets,
|
||||
s = x(n.placement);
|
||||
if (e = P(s), s = 0 <= ["left", "right"].indexOf(s) ? "height" : "width", i && a) {
|
||||
r = k("number" != typeof(r = "function" == typeof(r = r.padding) ? r(Object.assign({}, n.rects, {
|
||||
placement: n.placement
|
||||
})) : r) ? r : A(r, N));
|
||||
var f = d(i),
|
||||
p = "y" === e ? "top" : "left",
|
||||
c = "y" === e ? "bottom" : "right",
|
||||
l = n.rects.reference[s] + n.rects.reference[e] - a[e] - n.rects.popper[s];
|
||||
a = a[e] - n.rects.reference[e], a = (i = (i = b(i)) ? "y" === e ? i.clientHeight || 0 : i.clientWidth || 0 : 0) / 2 - f[s] / 2 + (l / 2 - a / 2), s = U(r[p], z(a, i - f[s] - r[c])), n.modifiersData[o] = ((t = {})[e] = s, t.centerOffset = s - a, t)
|
||||
}
|
||||
},
|
||||
effect: function(e) {
|
||||
var t = e.state;
|
||||
if (null != (e = void 0 === (e = e.options.element) ? "[data-popper-arrow]" : e)) {
|
||||
if ("string" == typeof e && !(e = t.elements.popper.querySelector(e))) return;
|
||||
O(t.elements.popper, e) && (t.elements.arrow = e)
|
||||
}
|
||||
},
|
||||
requires: ["popperOffsets"],
|
||||
requiresIfExists: ["preventOverflow"]
|
||||
},
|
||||
ie = {
|
||||
name: "hide",
|
||||
enabled: !0,
|
||||
phase: "main",
|
||||
requiresIfExists: ["preventOverflow"],
|
||||
fn: function(e) {
|
||||
var t = e.state;
|
||||
e = e.name;
|
||||
var n = t.rects.reference,
|
||||
o = t.rects.popper,
|
||||
r = t.modifiersData.preventOverflow,
|
||||
i = B(t, {
|
||||
elementContext: "reference"
|
||||
}),
|
||||
a = B(t, {
|
||||
altBoundary: !0
|
||||
});
|
||||
n = C(i, n), o = C(a, o, r), r = q(n), a = q(o), t.modifiersData[e] = {
|
||||
referenceClippingOffsets: n,
|
||||
popperEscapeOffsets: o,
|
||||
isReferenceHidden: r,
|
||||
hasPopperEscaped: a
|
||||
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
||||
"data-popper-reference-hidden": r,
|
||||
"data-popper-escaped": a
|
||||
})
|
||||
}
|
||||
},
|
||||
ae = T({
|
||||
defaultModifiers: [G, J, Q, Z]
|
||||
}),
|
||||
se = [G, J, Q, Z, $, ne, oe, re, ie],
|
||||
fe = T({
|
||||
defaultModifiers: se
|
||||
});
|
||||
e.applyStyles = Z, e.arrow = re, e.computeStyles = Q, e.createPopper = fe, e.createPopperLite = ae, e.defaultModifiers = se, e.detectOverflow = B, e.eventListeners = G, e.flip = ne, e.hide = ie, e.offset = $, e.popperGenerator = T, e.popperOffsets = J, e.preventOverflow = oe, Object.defineProperty(e, "__esModule", {
|
||||
value: !0
|
||||
})
|
||||
}));
|
||||
//# sourceMappingURL=popper.min.js.map
|
||||
@@ -0,0 +1,311 @@
|
||||
/*!
|
||||
Waypoints - 4.0.1
|
||||
Copyright © 2011-2016 Caleb Troughton
|
||||
Licensed under the MIT license.
|
||||
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
|
||||
*/
|
||||
! function() {
|
||||
"use strict";
|
||||
|
||||
function t(o) {
|
||||
if (!o) throw new Error("No options passed to Waypoint constructor");
|
||||
if (!o.element) throw new Error("No element option passed to Waypoint constructor");
|
||||
if (!o.handler) throw new Error("No handler option passed to Waypoint constructor");
|
||||
this.key = "waypoint-" + e, this.options = t.Adapter.extend({}, t.defaults, o), this.element = this.options.element, this.adapter = new t.Adapter(this.element), this.callback = o.handler, this.axis = this.options.horizontal ? "horizontal" : "vertical", this.enabled = this.options.enabled, this.triggerPoint = null, this.group = t.Group.findOrCreate({
|
||||
name: this.options.group,
|
||||
axis: this.axis
|
||||
}), this.context = t.Context.findOrCreateByElement(this.options.context), t.offsetAliases[this.options.offset] && (this.options.offset = t.offsetAliases[this.options.offset]), this.group.add(this), this.context.add(this), i[this.key] = this, e += 1
|
||||
}
|
||||
var e = 0,
|
||||
i = {};
|
||||
t.prototype.queueTrigger = function(t) {
|
||||
this.group.queueTrigger(this, t)
|
||||
}, t.prototype.trigger = function(t) {
|
||||
this.enabled && this.callback && this.callback.apply(this, t)
|
||||
}, t.prototype.destroy = function() {
|
||||
this.context.remove(this), this.group.remove(this), delete i[this.key]
|
||||
}, t.prototype.disable = function() {
|
||||
return this.enabled = !1, this
|
||||
}, t.prototype.enable = function() {
|
||||
return this.context.refresh(), this.enabled = !0, this
|
||||
}, t.prototype.next = function() {
|
||||
return this.group.next(this)
|
||||
}, t.prototype.previous = function() {
|
||||
return this.group.previous(this)
|
||||
}, t.invokeAll = function(t) {
|
||||
var e = [];
|
||||
for (var o in i) e.push(i[o]);
|
||||
for (var n = 0, r = e.length; r > n; n++) e[n][t]()
|
||||
}, t.destroyAll = function() {
|
||||
t.invokeAll("destroy")
|
||||
}, t.disableAll = function() {
|
||||
t.invokeAll("disable")
|
||||
}, t.enableAll = function() {
|
||||
t.Context.refreshAll();
|
||||
for (var e in i) i[e].enabled = !0;
|
||||
return this
|
||||
}, t.refreshAll = function() {
|
||||
t.Context.refreshAll()
|
||||
}, t.viewportHeight = function() {
|
||||
return window.innerHeight || document.documentElement.clientHeight
|
||||
}, t.viewportWidth = function() {
|
||||
return document.documentElement.clientWidth
|
||||
}, t.adapters = [], t.defaults = {
|
||||
context: window,
|
||||
continuous: !0,
|
||||
enabled: !0,
|
||||
group: "default",
|
||||
horizontal: !1,
|
||||
offset: 0
|
||||
}, t.offsetAliases = {
|
||||
"bottom-in-view": function() {
|
||||
return this.context.innerHeight() - this.adapter.outerHeight()
|
||||
},
|
||||
"right-in-view": function() {
|
||||
return this.context.innerWidth() - this.adapter.outerWidth()
|
||||
}
|
||||
}, window.Waypoint = t
|
||||
}(),
|
||||
function() {
|
||||
"use strict";
|
||||
|
||||
function t(t) {
|
||||
window.setTimeout(t, 1e3 / 60)
|
||||
}
|
||||
|
||||
function e(t) {
|
||||
this.element = t, this.Adapter = n.Adapter, this.adapter = new this.Adapter(t), this.key = "waypoint-context-" + i, this.didScroll = !1, this.didResize = !1, this.oldScroll = {
|
||||
x: this.adapter.scrollLeft(),
|
||||
y: this.adapter.scrollTop()
|
||||
}, this.waypoints = {
|
||||
vertical: {},
|
||||
horizontal: {}
|
||||
}, t.waypointContextKey = this.key, o[t.waypointContextKey] = this, i += 1, n.windowContext || (n.windowContext = !0, n.windowContext = new e(window)), this.createThrottledScrollHandler(), this.createThrottledResizeHandler()
|
||||
}
|
||||
var i = 0,
|
||||
o = {},
|
||||
n = window.Waypoint,
|
||||
r = window.onload;
|
||||
e.prototype.add = function(t) {
|
||||
var e = t.options.horizontal ? "horizontal" : "vertical";
|
||||
this.waypoints[e][t.key] = t, this.refresh()
|
||||
}, e.prototype.checkEmpty = function() {
|
||||
var t = this.Adapter.isEmptyObject(this.waypoints.horizontal),
|
||||
e = this.Adapter.isEmptyObject(this.waypoints.vertical),
|
||||
i = this.element == this.element.window;
|
||||
t && e && !i && (this.adapter.off(".waypoints"), delete o[this.key])
|
||||
}, e.prototype.createThrottledResizeHandler = function() {
|
||||
function t() {
|
||||
e.handleResize(), e.didResize = !1
|
||||
}
|
||||
var e = this;
|
||||
this.adapter.on("resize.waypoints", function() {
|
||||
e.didResize || (e.didResize = !0, n.requestAnimationFrame(t))
|
||||
})
|
||||
}, e.prototype.createThrottledScrollHandler = function() {
|
||||
function t() {
|
||||
e.handleScroll(), e.didScroll = !1
|
||||
}
|
||||
var e = this;
|
||||
this.adapter.on("scroll.waypoints", function() {
|
||||
(!e.didScroll || n.isTouch) && (e.didScroll = !0, n.requestAnimationFrame(t))
|
||||
})
|
||||
}, e.prototype.handleResize = function() {
|
||||
n.Context.refreshAll()
|
||||
}, e.prototype.handleScroll = function() {
|
||||
var t = {},
|
||||
e = {
|
||||
horizontal: {
|
||||
newScroll: this.adapter.scrollLeft(),
|
||||
oldScroll: this.oldScroll.x,
|
||||
forward: "right",
|
||||
backward: "left"
|
||||
},
|
||||
vertical: {
|
||||
newScroll: this.adapter.scrollTop(),
|
||||
oldScroll: this.oldScroll.y,
|
||||
forward: "down",
|
||||
backward: "up"
|
||||
}
|
||||
};
|
||||
for (var i in e) {
|
||||
var o = e[i],
|
||||
n = o.newScroll > o.oldScroll,
|
||||
r = n ? o.forward : o.backward;
|
||||
for (var s in this.waypoints[i]) {
|
||||
var a = this.waypoints[i][s];
|
||||
if (null !== a.triggerPoint) {
|
||||
var l = o.oldScroll < a.triggerPoint,
|
||||
h = o.newScroll >= a.triggerPoint,
|
||||
p = l && h,
|
||||
u = !l && !h;
|
||||
(p || u) && (a.queueTrigger(r), t[a.group.id] = a.group)
|
||||
}
|
||||
}
|
||||
}
|
||||
for (var c in t) t[c].flushTriggers();
|
||||
this.oldScroll = {
|
||||
x: e.horizontal.newScroll,
|
||||
y: e.vertical.newScroll
|
||||
}
|
||||
}, e.prototype.innerHeight = function() {
|
||||
return this.element == this.element.window ? n.viewportHeight() : this.adapter.innerHeight()
|
||||
}, e.prototype.remove = function(t) {
|
||||
delete this.waypoints[t.axis][t.key], this.checkEmpty()
|
||||
}, e.prototype.innerWidth = function() {
|
||||
return this.element == this.element.window ? n.viewportWidth() : this.adapter.innerWidth()
|
||||
}, e.prototype.destroy = function() {
|
||||
var t = [];
|
||||
for (var e in this.waypoints)
|
||||
for (var i in this.waypoints[e]) t.push(this.waypoints[e][i]);
|
||||
for (var o = 0, n = t.length; n > o; o++) t[o].destroy()
|
||||
}, e.prototype.refresh = function() {
|
||||
var t, e = this.element == this.element.window,
|
||||
i = e ? void 0 : this.adapter.offset(),
|
||||
o = {};
|
||||
this.handleScroll(), t = {
|
||||
horizontal: {
|
||||
contextOffset: e ? 0 : i.left,
|
||||
contextScroll: e ? 0 : this.oldScroll.x,
|
||||
contextDimension: this.innerWidth(),
|
||||
oldScroll: this.oldScroll.x,
|
||||
forward: "right",
|
||||
backward: "left",
|
||||
offsetProp: "left"
|
||||
},
|
||||
vertical: {
|
||||
contextOffset: e ? 0 : i.top,
|
||||
contextScroll: e ? 0 : this.oldScroll.y,
|
||||
contextDimension: this.innerHeight(),
|
||||
oldScroll: this.oldScroll.y,
|
||||
forward: "down",
|
||||
backward: "up",
|
||||
offsetProp: "top"
|
||||
}
|
||||
};
|
||||
for (var r in t) {
|
||||
var s = t[r];
|
||||
for (var a in this.waypoints[r]) {
|
||||
var l, h, p, u, c, d = this.waypoints[r][a],
|
||||
f = d.options.offset,
|
||||
w = d.triggerPoint,
|
||||
y = 0,
|
||||
g = null == w;
|
||||
d.element !== d.element.window && (y = d.adapter.offset()[s.offsetProp]), "function" == typeof f ? f = f.apply(d) : "string" == typeof f && (f = parseFloat(f), d.options.offset.indexOf("%") > -1 && (f = Math.ceil(s.contextDimension * f / 100))), l = s.contextScroll - s.contextOffset, d.triggerPoint = Math.floor(y + l - f), h = w < s.oldScroll, p = d.triggerPoint >= s.oldScroll, u = h && p, c = !h && !p, !g && u ? (d.queueTrigger(s.backward), o[d.group.id] = d.group) : !g && c ? (d.queueTrigger(s.forward), o[d.group.id] = d.group) : g && s.oldScroll >= d.triggerPoint && (d.queueTrigger(s.forward), o[d.group.id] = d.group)
|
||||
}
|
||||
}
|
||||
return n.requestAnimationFrame(function() {
|
||||
for (var t in o) o[t].flushTriggers()
|
||||
}), this
|
||||
}, e.findOrCreateByElement = function(t) {
|
||||
return e.findByElement(t) || new e(t)
|
||||
}, e.refreshAll = function() {
|
||||
for (var t in o) o[t].refresh()
|
||||
}, e.findByElement = function(t) {
|
||||
return o[t.waypointContextKey]
|
||||
}, window.onload = function() {
|
||||
r && r(), e.refreshAll()
|
||||
}, n.requestAnimationFrame = function(e) {
|
||||
var i = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || t;
|
||||
i.call(window, e)
|
||||
}, n.Context = e
|
||||
}(),
|
||||
function() {
|
||||
"use strict";
|
||||
|
||||
function t(t, e) {
|
||||
return t.triggerPoint - e.triggerPoint
|
||||
}
|
||||
|
||||
function e(t, e) {
|
||||
return e.triggerPoint - t.triggerPoint
|
||||
}
|
||||
|
||||
function i(t) {
|
||||
this.name = t.name, this.axis = t.axis, this.id = this.name + "-" + this.axis, this.waypoints = [], this.clearTriggerQueues(), o[this.axis][this.name] = this
|
||||
}
|
||||
var o = {
|
||||
vertical: {},
|
||||
horizontal: {}
|
||||
},
|
||||
n = window.Waypoint;
|
||||
i.prototype.add = function(t) {
|
||||
this.waypoints.push(t)
|
||||
}, i.prototype.clearTriggerQueues = function() {
|
||||
this.triggerQueues = {
|
||||
up: [],
|
||||
down: [],
|
||||
left: [],
|
||||
right: []
|
||||
}
|
||||
}, i.prototype.flushTriggers = function() {
|
||||
for (var i in this.triggerQueues) {
|
||||
var o = this.triggerQueues[i],
|
||||
n = "up" === i || "left" === i;
|
||||
o.sort(n ? e : t);
|
||||
for (var r = 0, s = o.length; s > r; r += 1) {
|
||||
var a = o[r];
|
||||
(a.options.continuous || r === o.length - 1) && a.trigger([i])
|
||||
}
|
||||
}
|
||||
this.clearTriggerQueues()
|
||||
}, i.prototype.next = function(e) {
|
||||
this.waypoints.sort(t);
|
||||
var i = n.Adapter.inArray(e, this.waypoints),
|
||||
o = i === this.waypoints.length - 1;
|
||||
return o ? null : this.waypoints[i + 1]
|
||||
}, i.prototype.previous = function(e) {
|
||||
this.waypoints.sort(t);
|
||||
var i = n.Adapter.inArray(e, this.waypoints);
|
||||
return i ? this.waypoints[i - 1] : null
|
||||
}, i.prototype.queueTrigger = function(t, e) {
|
||||
this.triggerQueues[e].push(t)
|
||||
}, i.prototype.remove = function(t) {
|
||||
var e = n.Adapter.inArray(t, this.waypoints);
|
||||
e > -1 && this.waypoints.splice(e, 1)
|
||||
}, i.prototype.first = function() {
|
||||
return this.waypoints[0]
|
||||
}, i.prototype.last = function() {
|
||||
return this.waypoints[this.waypoints.length - 1]
|
||||
}, i.findOrCreate = function(t) {
|
||||
return o[t.axis][t.name] || new i(t)
|
||||
}, n.Group = i
|
||||
}(),
|
||||
function() {
|
||||
"use strict";
|
||||
|
||||
function t(t) {
|
||||
this.$element = e(t)
|
||||
}
|
||||
var e = window.jQuery,
|
||||
i = window.Waypoint;
|
||||
e.each(["innerHeight", "innerWidth", "off", "offset", "on", "outerHeight", "outerWidth", "scrollLeft", "scrollTop"], function(e, i) {
|
||||
t.prototype[i] = function() {
|
||||
var t = Array.prototype.slice.call(arguments);
|
||||
return this.$element[i].apply(this.$element, t)
|
||||
}
|
||||
}), e.each(["extend", "inArray", "isEmptyObject"], function(i, o) {
|
||||
t[o] = e[o]
|
||||
}), i.adapters.push({
|
||||
name: "jquery",
|
||||
Adapter: t
|
||||
}), i.Adapter = t
|
||||
}(),
|
||||
function() {
|
||||
"use strict";
|
||||
|
||||
function t(t) {
|
||||
return function() {
|
||||
var i = [],
|
||||
o = arguments[0];
|
||||
return t.isFunction(arguments[0]) && (o = t.extend({}, arguments[1]), o.handler = arguments[0]), this.each(function() {
|
||||
var n = t.extend({}, o, {
|
||||
element: this
|
||||
});
|
||||
"string" == typeof n.context && (n.context = t(this).closest(n.context)[0]), i.push(new e(n))
|
||||
}), i
|
||||
}
|
||||
}
|
||||
var e = window.Waypoint;
|
||||
window.jQuery && (window.jQuery.fn.waypoint = t(window.jQuery)), window.Zepto && (window.Zepto.fn.waypoint = t(window.Zepto))
|
||||
}();
|
||||
@@ -0,0 +1,325 @@
|
||||
/*! WOW wow.js - v1.3.0 - 2016-10-04
|
||||
* https://wowjs.uk
|
||||
* Copyright (c) 2016 Thomas Grainger; Licensed MIT */
|
||||
! function(a, b) {
|
||||
if ("function" == typeof define && define.amd) define(["module", "exports"], b);
|
||||
else if ("undefined" != typeof exports) b(module, exports);
|
||||
else {
|
||||
var c = {
|
||||
exports: {}
|
||||
};
|
||||
b(c, c.exports), a.WOW = c.exports
|
||||
}
|
||||
}(this, function(a, b) {
|
||||
"use strict";
|
||||
|
||||
function c(a, b) {
|
||||
if (!(a instanceof b)) throw new TypeError("Cannot call a class as a function")
|
||||
}
|
||||
|
||||
function d(a, b) {
|
||||
return b.indexOf(a) >= 0
|
||||
}
|
||||
|
||||
function e(a, b) {
|
||||
for (var c in b)
|
||||
if (null == a[c]) {
|
||||
var d = b[c];
|
||||
a[c] = d
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
||||
function f(a) {
|
||||
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)
|
||||
}
|
||||
|
||||
function g(a) {
|
||||
var b = arguments.length <= 1 || void 0 === arguments[1] ? !1 : arguments[1],
|
||||
c = arguments.length <= 2 || void 0 === arguments[2] ? !1 : arguments[2],
|
||||
d = arguments.length <= 3 || void 0 === arguments[3] ? null : arguments[3],
|
||||
e = void 0;
|
||||
return null != document.createEvent ? (e = document.createEvent("CustomEvent"), e.initCustomEvent(a, b, c, d)) : null != document.createEventObject ? (e = document.createEventObject(), e.eventType = a) : e.eventName = a, e
|
||||
}
|
||||
|
||||
function h(a, b) {
|
||||
null != a.dispatchEvent ? a.dispatchEvent(b) : b in (null != a) ? a[b]() : "on" + b in (null != a) && a["on" + b]()
|
||||
}
|
||||
|
||||
function i(a, b, c) {
|
||||
null != a.addEventListener ? a.addEventListener(b, c, !1) : null != a.attachEvent ? a.attachEvent("on" + b, c) : a[b] = c
|
||||
}
|
||||
|
||||
function j(a, b, c) {
|
||||
null != a.removeEventListener ? a.removeEventListener(b, c, !1) : null != a.detachEvent ? a.detachEvent("on" + b, c) : delete a[b]
|
||||
}
|
||||
|
||||
function k() {
|
||||
return "innerHeight" in window ? window.innerHeight : document.documentElement.clientHeight
|
||||
}
|
||||
Object.defineProperty(b, "__esModule", {
|
||||
value: !0
|
||||
});
|
||||
var l, m, n = function() {
|
||||
function a(a, b) {
|
||||
for (var c = 0; c < b.length; c++) {
|
||||
var d = b[c];
|
||||
d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(a, d.key, d)
|
||||
}
|
||||
}
|
||||
return function(b, c, d) {
|
||||
return c && a(b.prototype, c), d && a(b, d), b
|
||||
}
|
||||
}(),
|
||||
o = window.WeakMap || window.MozWeakMap || function() {
|
||||
function a() {
|
||||
c(this, a), this.keys = [], this.values = []
|
||||
}
|
||||
return n(a, [{
|
||||
key: "get",
|
||||
value: function(a) {
|
||||
for (var b = 0; b < this.keys.length; b++) {
|
||||
var c = this.keys[b];
|
||||
if (c === a) return this.values[b]
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "set",
|
||||
value: function(a, b) {
|
||||
for (var c = 0; c < this.keys.length; c++) {
|
||||
var d = this.keys[c];
|
||||
if (d === a) return this.values[c] = b, this
|
||||
}
|
||||
return this.keys.push(a), this.values.push(b), this
|
||||
}
|
||||
}]), a
|
||||
}(),
|
||||
p = window.MutationObserver || window.WebkitMutationObserver || window.MozMutationObserver || (m = l = function() {
|
||||
function a() {
|
||||
c(this, a), "undefined" != typeof console && null !== console && (console.warn("MutationObserver is not supported by your browser."), console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content."))
|
||||
}
|
||||
return n(a, [{
|
||||
key: "observe",
|
||||
value: function() {}
|
||||
}]), a
|
||||
}(), l.notSupported = !0, m),
|
||||
q = window.getComputedStyle || function(a) {
|
||||
var b = /(\-([a-z]){1})/g;
|
||||
return {
|
||||
getPropertyValue: function(c) {
|
||||
"float" === c && (c = "styleFloat"), b.test(c) && c.replace(b, function(a, b) {
|
||||
return b.toUpperCase()
|
||||
});
|
||||
var d = a.currentStyle;
|
||||
return (null != d ? d[c] : void 0) || null
|
||||
}
|
||||
}
|
||||
},
|
||||
r = function() {
|
||||
function a() {
|
||||
var b = arguments.length <= 0 || void 0 === arguments[0] ? {} : arguments[0];
|
||||
c(this, a), this.defaults = {
|
||||
boxClass: "wow",
|
||||
animateClass: "animated",
|
||||
offset: 0,
|
||||
mobile: !0,
|
||||
live: !0,
|
||||
callback: null,
|
||||
scrollContainer: null,
|
||||
resetAnimation: !0
|
||||
}, this.animate = function() {
|
||||
return "requestAnimationFrame" in window ? function(a) {
|
||||
return window.requestAnimationFrame(a)
|
||||
} : function(a) {
|
||||
return a()
|
||||
}
|
||||
}(), this.vendors = ["moz", "webkit"], this.start = this.start.bind(this), this.resetAnimation = this.resetAnimation.bind(this), this.scrollHandler = this.scrollHandler.bind(this), this.scrollCallback = this.scrollCallback.bind(this), this.scrolled = !0, this.config = e(b, this.defaults), null != b.scrollContainer && (this.config.scrollContainer = document.querySelector(b.scrollContainer)), this.animationNameCache = new o, this.wowEvent = g(this.config.boxClass)
|
||||
}
|
||||
return n(a, [{
|
||||
key: "init",
|
||||
value: function() {
|
||||
this.element = window.document.documentElement, d(document.readyState, ["interactive", "complete"]) ? this.start() : i(document, "DOMContentLoaded", this.start), this.finished = []
|
||||
}
|
||||
}, {
|
||||
key: "start",
|
||||
value: function() {
|
||||
var a = this;
|
||||
if (this.stopped = !1, this.boxes = [].slice.call(this.element.querySelectorAll("." + this.config.boxClass)), this.all = this.boxes.slice(0), this.boxes.length)
|
||||
if (this.disabled()) this.resetStyle();
|
||||
else
|
||||
for (var b = 0; b < this.boxes.length; b++) {
|
||||
var c = this.boxes[b];
|
||||
this.applyStyle(c, !0)
|
||||
}
|
||||
if (this.disabled() || (i(this.config.scrollContainer || window, "scroll", this.scrollHandler), i(window, "resize", this.scrollHandler), this.interval = setInterval(this.scrollCallback, 50)), this.config.live) {
|
||||
var d = new p(function(b) {
|
||||
for (var c = 0; c < b.length; c++)
|
||||
for (var d = b[c], e = 0; e < d.addedNodes.length; e++) {
|
||||
var f = d.addedNodes[e];
|
||||
a.doSync(f)
|
||||
}
|
||||
});
|
||||
d.observe(document.body, {
|
||||
childList: !0,
|
||||
subtree: !0
|
||||
})
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "stop",
|
||||
value: function() {
|
||||
this.stopped = !0, j(this.config.scrollContainer || window, "scroll", this.scrollHandler), j(window, "resize", this.scrollHandler), null != this.interval && clearInterval(this.interval)
|
||||
}
|
||||
}, {
|
||||
key: "sync",
|
||||
value: function() {
|
||||
p.notSupported && this.doSync(this.element)
|
||||
}
|
||||
}, {
|
||||
key: "doSync",
|
||||
value: function(a) {
|
||||
if ("undefined" != typeof a && null !== a || (a = this.element), 1 === a.nodeType) {
|
||||
a = a.parentNode || a;
|
||||
for (var b = a.querySelectorAll("." + this.config.boxClass), c = 0; c < b.length; c++) {
|
||||
var e = b[c];
|
||||
d(e, this.all) || (this.boxes.push(e), this.all.push(e), this.stopped || this.disabled() ? this.resetStyle() : this.applyStyle(e, !0), this.scrolled = !0)
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "show",
|
||||
value: function(a) {
|
||||
return this.applyStyle(a), a.className = a.className + " " + this.config.animateClass, null != this.config.callback && this.config.callback(a), h(a, this.wowEvent), this.config.resetAnimation && (i(a, "animationend", this.resetAnimation), i(a, "oanimationend", this.resetAnimation), i(a, "webkitAnimationEnd", this.resetAnimation), i(a, "MSAnimationEnd", this.resetAnimation)), a
|
||||
}
|
||||
}, {
|
||||
key: "applyStyle",
|
||||
value: function(a, b) {
|
||||
var c = this,
|
||||
d = a.getAttribute("data-wow-duration"),
|
||||
e = a.getAttribute("data-wow-delay"),
|
||||
f = a.getAttribute("data-wow-iteration");
|
||||
return this.animate(function() {
|
||||
return c.customStyle(a, b, d, e, f)
|
||||
})
|
||||
}
|
||||
}, {
|
||||
key: "resetStyle",
|
||||
value: function() {
|
||||
for (var a = 0; a < this.boxes.length; a++) {
|
||||
var b = this.boxes[a];
|
||||
b.style.visibility = "visible"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "resetAnimation",
|
||||
value: function(a) {
|
||||
if (a.type.toLowerCase().indexOf("animationend") >= 0) {
|
||||
var b = a.target || a.srcElement;
|
||||
b.className = b.className.replace(this.config.animateClass, "").trim()
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "customStyle",
|
||||
value: function(a, b, c, d, e) {
|
||||
return b && this.cacheAnimationName(a), a.style.visibility = b ? "hidden" : "visible", c && this.vendorSet(a.style, {
|
||||
animationDuration: c
|
||||
}), d && this.vendorSet(a.style, {
|
||||
animationDelay: d
|
||||
}), e && this.vendorSet(a.style, {
|
||||
animationIterationCount: e
|
||||
}), this.vendorSet(a.style, {
|
||||
animationName: b ? "none" : this.cachedAnimationName(a)
|
||||
}), a
|
||||
}
|
||||
}, {
|
||||
key: "vendorSet",
|
||||
value: function(a, b) {
|
||||
for (var c in b)
|
||||
if (b.hasOwnProperty(c)) {
|
||||
var d = b[c];
|
||||
a["" + c] = d;
|
||||
for (var e = 0; e < this.vendors.length; e++) {
|
||||
var f = this.vendors[e];
|
||||
a["" + f + c.charAt(0).toUpperCase() + c.substr(1)] = d
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "vendorCSS",
|
||||
value: function(a, b) {
|
||||
for (var c = q(a), d = c.getPropertyCSSValue(b), e = 0; e < this.vendors.length; e++) {
|
||||
var f = this.vendors[e];
|
||||
d = d || c.getPropertyCSSValue("-" + f + "-" + b)
|
||||
}
|
||||
return d
|
||||
}
|
||||
}, {
|
||||
key: "animationName",
|
||||
value: function(a) {
|
||||
var b = void 0;
|
||||
try {
|
||||
b = this.vendorCSS(a, "animation-name").cssText
|
||||
} catch (c) {
|
||||
b = q(a).getPropertyValue("animation-name")
|
||||
}
|
||||
return "none" === b ? "" : b
|
||||
}
|
||||
}, {
|
||||
key: "cacheAnimationName",
|
||||
value: function(a) {
|
||||
return this.animationNameCache.set(a, this.animationName(a))
|
||||
}
|
||||
}, {
|
||||
key: "cachedAnimationName",
|
||||
value: function(a) {
|
||||
return this.animationNameCache.get(a)
|
||||
}
|
||||
}, {
|
||||
key: "scrollHandler",
|
||||
value: function() {
|
||||
this.scrolled = !0
|
||||
}
|
||||
}, {
|
||||
key: "scrollCallback",
|
||||
value: function() {
|
||||
if (this.scrolled) {
|
||||
this.scrolled = !1;
|
||||
for (var a = [], b = 0; b < this.boxes.length; b++) {
|
||||
var c = this.boxes[b];
|
||||
if (c) {
|
||||
if (this.isVisible(c)) {
|
||||
this.show(c);
|
||||
continue
|
||||
}
|
||||
a.push(c)
|
||||
}
|
||||
}
|
||||
this.boxes = a, this.boxes.length || this.config.live || this.stop()
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "offsetTop",
|
||||
value: function(a) {
|
||||
for (; void 0 === a.offsetTop;) a = a.parentNode;
|
||||
for (var b = a.offsetTop; a.offsetParent;) a = a.offsetParent, b += a.offsetTop;
|
||||
return b
|
||||
}
|
||||
}, {
|
||||
key: "isVisible",
|
||||
value: function(a) {
|
||||
var b = a.getAttribute("data-wow-offset") || this.config.offset,
|
||||
c = this.config.scrollContainer && this.config.scrollContainer.scrollTop || window.pageYOffset,
|
||||
d = c + Math.min(this.element.clientHeight, k()) - b,
|
||||
e = this.offsetTop(a),
|
||||
f = e + a.clientHeight;
|
||||
return d >= e && f >= c
|
||||
}
|
||||
}, {
|
||||
key: "disabled",
|
||||
value: function() {
|
||||
return !this.config.mobile && f(navigator.userAgent)
|
||||
}
|
||||
}]), a
|
||||
}();
|
||||
b["default"] = r, a.exports = b["default"]
|
||||
});
|
||||