├── assets ├── css │ ├── bootstrap.min.css │ ├── jquery.fancybox.min.css │ └── swiper-bundle.min.css ├── images │ ├── about.jpg │ ├── berry.png │ ├── blog-pattern-bg.png │ ├── blog │ │ ├── blog1.jpg │ │ ├── blog2.jpg │ │ └── blog3.jpg │ ├── brands │ │ ├── b1.png │ │ ├── b2.png │ │ ├── b3.png │ │ ├── b4.png │ │ └── b5.png │ ├── bt1.jpg │ ├── bt2.jpg │ ├── bt3.jpg │ ├── bt4.jpg │ ├── chef │ │ ├── c1.jpg │ │ ├── c2.jpg │ │ ├── c3.jpg │ │ ├── c4.jpg │ │ └── c5.jpg │ ├── dish │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ └── 6.png │ ├── faq-bg.png │ ├── leaf.png │ ├── loader.gif │ ├── main-b.jpg │ ├── mashroom.png │ ├── menu-1.png │ ├── menu-2.png │ ├── menu-3.png │ ├── menu-4.png │ ├── menu-bg.png │ ├── news.jpg │ ├── pizza.png │ ├── sushi.png │ ├── table-leaves-shape.png │ ├── testimonial-img.png │ ├── testimonials │ │ ├── t1.jpg │ │ ├── t2.jpg │ │ ├── t3.jpg │ │ └── t4.jpg │ ├── title-shape.svg │ └── video.mp4 └── js │ ├── ScrollToPlugin.min.js │ ├── ScrollTrigger.min.js │ ├── bootstrap.min.js │ ├── font-awesome.min.js │ ├── gsap.min.js │ ├── jquery-3.5.1.min.js │ ├── jquery.fancybox.min.js │ ├── jquery.mixitup.min.js │ ├── parallax.min.js │ ├── popper.min.js │ ├── smooth-scroll.js │ └── swiper-bundle.min.js ├── index.html ├── logo.png ├── main.js └── style.css /assets/css/jquery.fancybox.min.css: -------------------------------------------------------------------------------- 1 | body.compensate-for-scrollbar { 2 | overflow: hidden 3 | } 4 | 5 | .fancybox-active { 6 | height: auto 7 | } 8 | 9 | .fancybox-is-hidden { 10 | left: -9999px; 11 | margin: 0; 12 | position: absolute !important; 13 | top: -9999px; 14 | visibility: hidden 15 | } 16 | 17 | .fancybox-container { 18 | -webkit-backface-visibility: hidden; 19 | height: 100%; 20 | left: 0; 21 | outline: none; 22 | position: fixed; 23 | -webkit-tap-highlight-color: transparent; 24 | top: 0; 25 | -ms-touch-action: manipulation; 26 | touch-action: manipulation; 27 | transform: translateZ(0); 28 | width: 100%; 29 | z-index: 99992 30 | } 31 | 32 | .fancybox-container * { 33 | box-sizing: border-box 34 | } 35 | 36 | .fancybox-bg, 37 | .fancybox-inner, 38 | .fancybox-outer, 39 | .fancybox-stage { 40 | bottom: 0; 41 | left: 0; 42 | position: absolute; 43 | right: 0; 44 | top: 0 45 | } 46 | 47 | .fancybox-outer { 48 | -webkit-overflow-scrolling: touch; 49 | overflow-y: auto 50 | } 51 | 52 | .fancybox-bg { 53 | background: #1e1e1e; 54 | opacity: 0; 55 | transition-duration: inherit; 56 | transition-property: opacity; 57 | transition-timing-function: cubic-bezier(.47, 0, .74, .71) 58 | } 59 | 60 | .fancybox-is-open .fancybox-bg { 61 | opacity: .9; 62 | transition-timing-function: cubic-bezier(.22, .61, .36, 1) 63 | } 64 | 65 | .fancybox-caption, 66 | .fancybox-infobar, 67 | .fancybox-navigation .fancybox-button, 68 | .fancybox-toolbar { 69 | direction: ltr; 70 | opacity: 0; 71 | position: absolute; 72 | transition: opacity .25s ease, visibility 0s ease .25s; 73 | visibility: hidden; 74 | z-index: 99997 75 | } 76 | 77 | .fancybox-show-caption .fancybox-caption, 78 | .fancybox-show-infobar .fancybox-infobar, 79 | .fancybox-show-nav .fancybox-navigation .fancybox-button, 80 | .fancybox-show-toolbar .fancybox-toolbar { 81 | opacity: 1; 82 | transition: opacity .25s ease 0s, visibility 0s ease 0s; 83 | visibility: visible 84 | } 85 | 86 | .fancybox-infobar { 87 | color: #ccc; 88 | font-size: 13px; 89 | -webkit-font-smoothing: subpixel-antialiased; 90 | height: 44px; 91 | left: 0; 92 | line-height: 44px; 93 | min-width: 44px; 94 | mix-blend-mode: difference; 95 | padding: 0 10px; 96 | pointer-events: none; 97 | top: 0; 98 | -webkit-touch-callout: none; 99 | -webkit-user-select: none; 100 | -moz-user-select: none; 101 | -ms-user-select: none; 102 | user-select: none 103 | } 104 | 105 | .fancybox-toolbar { 106 | right: 0; 107 | top: 0 108 | } 109 | 110 | .fancybox-stage { 111 | direction: ltr; 112 | overflow: visible; 113 | transform: translateZ(0); 114 | z-index: 99994 115 | } 116 | 117 | .fancybox-is-open .fancybox-stage { 118 | overflow: hidden 119 | } 120 | 121 | .fancybox-slide { 122 | -webkit-backface-visibility: hidden; 123 | display: none; 124 | height: 100%; 125 | left: 0; 126 | outline: none; 127 | overflow: auto; 128 | -webkit-overflow-scrolling: touch; 129 | padding: 44px; 130 | position: absolute; 131 | text-align: center; 132 | top: 0; 133 | transition-property: transform, opacity; 134 | white-space: normal; 135 | width: 100%; 136 | z-index: 99994 137 | } 138 | 139 | .fancybox-slide:before { 140 | content: ""; 141 | display: inline-block; 142 | font-size: 0; 143 | height: 100%; 144 | vertical-align: middle; 145 | width: 0 146 | } 147 | 148 | .fancybox-is-sliding .fancybox-slide, 149 | .fancybox-slide--current, 150 | .fancybox-slide--next, 151 | .fancybox-slide--previous { 152 | display: block 153 | } 154 | 155 | .fancybox-slide--image { 156 | overflow: hidden; 157 | padding: 44px 0 158 | } 159 | 160 | .fancybox-slide--image:before { 161 | display: none 162 | } 163 | 164 | .fancybox-slide--html { 165 | padding: 6px 166 | } 167 | 168 | .fancybox-content { 169 | background: #fff; 170 | display: inline-block; 171 | margin: 0; 172 | max-width: 100%; 173 | overflow: auto; 174 | -webkit-overflow-scrolling: touch; 175 | padding: 44px; 176 | position: relative; 177 | text-align: left; 178 | vertical-align: middle 179 | } 180 | 181 | .fancybox-slide--image .fancybox-content { 182 | animation-timing-function: cubic-bezier(.5, 0, .14, 1); 183 | -webkit-backface-visibility: hidden; 184 | background: transparent; 185 | background-repeat: no-repeat; 186 | background-size: 100% 100%; 187 | left: 0; 188 | max-width: none; 189 | overflow: visible; 190 | padding: 0; 191 | position: absolute; 192 | top: 0; 193 | transform-origin: top left; 194 | transition-property: transform, opacity; 195 | -webkit-user-select: none; 196 | -moz-user-select: none; 197 | -ms-user-select: none; 198 | user-select: none; 199 | z-index: 99995 200 | } 201 | 202 | .fancybox-can-zoomOut .fancybox-content { 203 | cursor: zoom-out 204 | } 205 | 206 | .fancybox-can-zoomIn .fancybox-content { 207 | cursor: zoom-in 208 | } 209 | 210 | .fancybox-can-pan .fancybox-content, 211 | .fancybox-can-swipe .fancybox-content { 212 | cursor: grab 213 | } 214 | 215 | .fancybox-is-grabbing .fancybox-content { 216 | cursor: grabbing 217 | } 218 | 219 | .fancybox-container [data-selectable=true] { 220 | cursor: text 221 | } 222 | 223 | .fancybox-image, 224 | .fancybox-spaceball { 225 | background: transparent; 226 | border: 0; 227 | height: 100%; 228 | left: 0; 229 | margin: 0; 230 | max-height: none; 231 | max-width: none; 232 | padding: 0; 233 | position: absolute; 234 | top: 0; 235 | -webkit-user-select: none; 236 | -moz-user-select: none; 237 | -ms-user-select: none; 238 | user-select: none; 239 | width: 100% 240 | } 241 | 242 | .fancybox-spaceball { 243 | z-index: 1 244 | } 245 | 246 | .fancybox-slide--iframe .fancybox-content, 247 | .fancybox-slide--map .fancybox-content, 248 | .fancybox-slide--pdf .fancybox-content, 249 | .fancybox-slide--video .fancybox-content { 250 | height: 100%; 251 | overflow: visible; 252 | padding: 0; 253 | width: 100% 254 | } 255 | 256 | .fancybox-slide--video .fancybox-content { 257 | background: #000 258 | } 259 | 260 | .fancybox-slide--map .fancybox-content { 261 | background: #e5e3df 262 | } 263 | 264 | .fancybox-slide--iframe .fancybox-content { 265 | background: #fff 266 | } 267 | 268 | .fancybox-iframe, 269 | .fancybox-video { 270 | background: transparent; 271 | border: 0; 272 | display: block; 273 | height: 100%; 274 | margin: 0; 275 | overflow: hidden; 276 | padding: 0; 277 | width: 100% 278 | } 279 | 280 | .fancybox-iframe { 281 | left: 0; 282 | position: absolute; 283 | top: 0 284 | } 285 | 286 | .fancybox-error { 287 | background: #fff; 288 | cursor: default; 289 | max-width: 400px; 290 | padding: 40px; 291 | width: 100% 292 | } 293 | 294 | .fancybox-error p { 295 | color: #444; 296 | font-size: 16px; 297 | line-height: 20px; 298 | margin: 0; 299 | padding: 0 300 | } 301 | 302 | .fancybox-button { 303 | background: rgba(30, 30, 30, .6); 304 | border: 0; 305 | border-radius: 0; 306 | box-shadow: none; 307 | cursor: pointer; 308 | display: inline-block; 309 | height: 44px; 310 | margin: 0; 311 | padding: 10px; 312 | position: relative; 313 | transition: color .2s; 314 | vertical-align: top; 315 | visibility: inherit; 316 | width: 44px 317 | } 318 | 319 | .fancybox-button, 320 | .fancybox-button:link, 321 | .fancybox-button:visited { 322 | color: #ccc 323 | } 324 | 325 | .fancybox-button:hover { 326 | color: #fff 327 | } 328 | 329 | .fancybox-button:focus { 330 | outline: none 331 | } 332 | 333 | .fancybox-button.fancybox-focus { 334 | outline: 1px dotted 335 | } 336 | 337 | .fancybox-button[disabled], 338 | .fancybox-button[disabled]:hover { 339 | color: #888; 340 | cursor: default; 341 | outline: none 342 | } 343 | 344 | .fancybox-button div { 345 | height: 100% 346 | } 347 | 348 | .fancybox-button svg { 349 | display: block; 350 | height: 100%; 351 | overflow: visible; 352 | position: relative; 353 | width: 100% 354 | } 355 | 356 | .fancybox-button svg path { 357 | fill: currentColor; 358 | stroke-width: 0 359 | } 360 | 361 | .fancybox-button--fsenter svg:nth-child(2), 362 | .fancybox-button--fsexit svg:first-child, 363 | .fancybox-button--pause svg:first-child, 364 | .fancybox-button--play svg:nth-child(2) { 365 | display: none 366 | } 367 | 368 | .fancybox-progress { 369 | background: #ff5268; 370 | height: 2px; 371 | left: 0; 372 | position: absolute; 373 | right: 0; 374 | top: 0; 375 | transform: scaleX(0); 376 | transform-origin: 0; 377 | transition-property: transform; 378 | transition-timing-function: linear; 379 | z-index: 99998 380 | } 381 | 382 | .fancybox-close-small { 383 | background: transparent; 384 | border: 0; 385 | border-radius: 0; 386 | color: #ccc; 387 | cursor: pointer; 388 | opacity: .8; 389 | padding: 8px; 390 | position: absolute; 391 | right: -12px; 392 | top: -44px; 393 | z-index: 401 394 | } 395 | 396 | .fancybox-close-small:hover { 397 | color: #fff; 398 | opacity: 1 399 | } 400 | 401 | .fancybox-slide--html .fancybox-close-small { 402 | color: currentColor; 403 | padding: 10px; 404 | right: 0; 405 | top: 0 406 | } 407 | 408 | .fancybox-slide--image.fancybox-is-scaling .fancybox-content { 409 | overflow: hidden 410 | } 411 | 412 | .fancybox-is-scaling .fancybox-close-small, 413 | .fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small { 414 | display: none 415 | } 416 | 417 | .fancybox-navigation .fancybox-button { 418 | background-clip: content-box; 419 | height: 100px; 420 | opacity: 0; 421 | position: absolute; 422 | top: calc(50% - 50px); 423 | width: 70px 424 | } 425 | 426 | .fancybox-navigation .fancybox-button div { 427 | padding: 7px 428 | } 429 | 430 | .fancybox-navigation .fancybox-button--arrow_left { 431 | left: 0; 432 | left: env(safe-area-inset-left); 433 | padding: 31px 26px 31px 6px 434 | } 435 | 436 | .fancybox-navigation .fancybox-button--arrow_right { 437 | padding: 31px 6px 31px 26px; 438 | right: 0; 439 | right: env(safe-area-inset-right) 440 | } 441 | 442 | .fancybox-caption { 443 | background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .15) 65%, rgba(0, 0, 0, .075) 75.5%, rgba(0, 0, 0, .037) 82.85%, rgba(0, 0, 0, .019) 88%, transparent); 444 | bottom: 0; 445 | color: #eee; 446 | font-size: 14px; 447 | font-weight: 400; 448 | left: 0; 449 | line-height: 1.5; 450 | padding: 75px 44px 25px; 451 | pointer-events: none; 452 | right: 0; 453 | text-align: center; 454 | z-index: 99996 455 | } 456 | 457 | @supports (padding:max(0px)) { 458 | .fancybox-caption { 459 | padding: 75px max(44px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left)) 460 | } 461 | } 462 | 463 | .fancybox-caption--separate { 464 | margin-top: -50px 465 | } 466 | 467 | .fancybox-caption__body { 468 | max-height: 50vh; 469 | overflow: auto; 470 | pointer-events: all 471 | } 472 | 473 | .fancybox-caption a, 474 | .fancybox-caption a:link, 475 | .fancybox-caption a:visited { 476 | color: #ccc; 477 | text-decoration: none 478 | } 479 | 480 | .fancybox-caption a:hover { 481 | color: #fff; 482 | text-decoration: underline 483 | } 484 | 485 | .fancybox-loading { 486 | animation: a 1s linear infinite; 487 | background: transparent; 488 | border: 4px solid #888; 489 | border-bottom-color: #fff; 490 | border-radius: 50%; 491 | height: 50px; 492 | left: 50%; 493 | margin: -25px 0 0 -25px; 494 | opacity: .7; 495 | padding: 0; 496 | position: absolute; 497 | top: 50%; 498 | width: 50px; 499 | z-index: 99999 500 | } 501 | 502 | @keyframes a { 503 | to { 504 | transform: rotate(1turn) 505 | } 506 | } 507 | 508 | .fancybox-animated { 509 | transition-timing-function: cubic-bezier(0, 0, .25, 1) 510 | } 511 | 512 | .fancybox-fx-slide.fancybox-slide--previous { 513 | opacity: 0; 514 | transform: translate3d(-100%, 0, 0) 515 | } 516 | 517 | .fancybox-fx-slide.fancybox-slide--next { 518 | opacity: 0; 519 | transform: translate3d(100%, 0, 0) 520 | } 521 | 522 | .fancybox-fx-slide.fancybox-slide--current { 523 | opacity: 1; 524 | transform: translateZ(0) 525 | } 526 | 527 | .fancybox-fx-fade.fancybox-slide--next, 528 | .fancybox-fx-fade.fancybox-slide--previous { 529 | opacity: 0; 530 | transition-timing-function: cubic-bezier(.19, 1, .22, 1) 531 | } 532 | 533 | .fancybox-fx-fade.fancybox-slide--current { 534 | opacity: 1 535 | } 536 | 537 | .fancybox-fx-zoom-in-out.fancybox-slide--previous { 538 | opacity: 0; 539 | transform: scale3d(1.5, 1.5, 1.5) 540 | } 541 | 542 | .fancybox-fx-zoom-in-out.fancybox-slide--next { 543 | opacity: 0; 544 | transform: scale3d(.5, .5, .5) 545 | } 546 | 547 | .fancybox-fx-zoom-in-out.fancybox-slide--current { 548 | opacity: 1; 549 | transform: scaleX(1) 550 | } 551 | 552 | .fancybox-fx-rotate.fancybox-slide--previous { 553 | opacity: 0; 554 | transform: rotate(-1turn) 555 | } 556 | 557 | .fancybox-fx-rotate.fancybox-slide--next { 558 | opacity: 0; 559 | transform: rotate(1turn) 560 | } 561 | 562 | .fancybox-fx-rotate.fancybox-slide--current { 563 | opacity: 1; 564 | transform: rotate(0deg) 565 | } 566 | 567 | .fancybox-fx-circular.fancybox-slide--previous { 568 | opacity: 0; 569 | transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0) 570 | } 571 | 572 | .fancybox-fx-circular.fancybox-slide--next { 573 | opacity: 0; 574 | transform: scale3d(0, 0, 0) translate3d(100%, 0, 0) 575 | } 576 | 577 | .fancybox-fx-circular.fancybox-slide--current { 578 | opacity: 1; 579 | transform: scaleX(1) translateZ(0) 580 | } 581 | 582 | .fancybox-fx-tube.fancybox-slide--previous { 583 | transform: translate3d(-100%, 0, 0) scale(.1) skew(-10deg) 584 | } 585 | 586 | .fancybox-fx-tube.fancybox-slide--next { 587 | transform: translate3d(100%, 0, 0) scale(.1) skew(10deg) 588 | } 589 | 590 | .fancybox-fx-tube.fancybox-slide--current { 591 | transform: translateZ(0) scale(1) 592 | } 593 | 594 | @media (max-height:576px) { 595 | .fancybox-slide { 596 | padding-left: 6px; 597 | padding-right: 6px 598 | } 599 | .fancybox-slide--image { 600 | padding: 6px 0 601 | } 602 | .fancybox-close-small { 603 | right: -6px 604 | } 605 | .fancybox-slide--image .fancybox-close-small { 606 | background: #4e4e4e; 607 | color: #f2f4f6; 608 | height: 36px; 609 | opacity: 1; 610 | padding: 6px; 611 | right: 0; 612 | top: 0; 613 | width: 36px 614 | } 615 | .fancybox-caption { 616 | padding-left: 12px; 617 | padding-right: 12px 618 | } 619 | @supports (padding:max(0px)) { 620 | .fancybox-caption { 621 | padding-left: max(12px, env(safe-area-inset-left)); 622 | padding-right: max(12px, env(safe-area-inset-right)) 623 | } 624 | } 625 | } 626 | 627 | .fancybox-share { 628 | background: #f4f4f4; 629 | border-radius: 3px; 630 | max-width: 90%; 631 | padding: 30px; 632 | text-align: center 633 | } 634 | 635 | .fancybox-share h1 { 636 | color: #222; 637 | font-size: 35px; 638 | font-weight: 700; 639 | margin: 0 0 20px 640 | } 641 | 642 | .fancybox-share p { 643 | margin: 0; 644 | padding: 0 645 | } 646 | 647 | .fancybox-share__button { 648 | border: 0; 649 | border-radius: 3px; 650 | display: inline-block; 651 | font-size: 14px; 652 | font-weight: 700; 653 | line-height: 40px; 654 | margin: 0 5px 10px; 655 | min-width: 130px; 656 | padding: 0 15px; 657 | text-decoration: none; 658 | transition: all .2s; 659 | -webkit-user-select: none; 660 | -moz-user-select: none; 661 | -ms-user-select: none; 662 | user-select: none; 663 | white-space: nowrap 664 | } 665 | 666 | .fancybox-share__button:link, 667 | .fancybox-share__button:visited { 668 | color: #fff 669 | } 670 | 671 | .fancybox-share__button:hover { 672 | text-decoration: none 673 | } 674 | 675 | .fancybox-share__button--fb { 676 | background: #3b5998 677 | } 678 | 679 | .fancybox-share__button--fb:hover { 680 | background: #344e86 681 | } 682 | 683 | .fancybox-share__button--pt { 684 | background: #bd081d 685 | } 686 | 687 | .fancybox-share__button--pt:hover { 688 | background: #aa0719 689 | } 690 | 691 | .fancybox-share__button--tw { 692 | background: #1da1f2 693 | } 694 | 695 | .fancybox-share__button--tw:hover { 696 | background: #0d95e8 697 | } 698 | 699 | .fancybox-share__button svg { 700 | height: 25px; 701 | margin-right: 7px; 702 | position: relative; 703 | top: -1px; 704 | vertical-align: middle; 705 | width: 25px 706 | } 707 | 708 | .fancybox-share__button svg path { 709 | fill: #fff 710 | } 711 | 712 | .fancybox-share__input { 713 | background: transparent; 714 | border: 0; 715 | border-bottom: 1px solid #d7d7d7; 716 | border-radius: 0; 717 | color: #5d5b5b; 718 | font-size: 14px; 719 | margin: 10px 0 0; 720 | outline: none; 721 | padding: 10px 15px; 722 | width: 100% 723 | } 724 | 725 | .fancybox-thumbs { 726 | background: #ddd; 727 | bottom: 0; 728 | display: none; 729 | margin: 0; 730 | -webkit-overflow-scrolling: touch; 731 | -ms-overflow-style: -ms-autohiding-scrollbar; 732 | padding: 2px 2px 4px; 733 | position: absolute; 734 | right: 0; 735 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 736 | top: 0; 737 | width: 212px; 738 | z-index: 99995 739 | } 740 | 741 | .fancybox-thumbs-x { 742 | overflow-x: auto; 743 | overflow-y: hidden 744 | } 745 | 746 | .fancybox-show-thumbs .fancybox-thumbs { 747 | display: block 748 | } 749 | 750 | .fancybox-show-thumbs .fancybox-inner { 751 | right: 212px 752 | } 753 | 754 | .fancybox-thumbs__list { 755 | font-size: 0; 756 | height: 100%; 757 | list-style: none; 758 | margin: 0; 759 | overflow-x: hidden; 760 | overflow-y: auto; 761 | padding: 0; 762 | position: absolute; 763 | position: relative; 764 | white-space: nowrap; 765 | width: 100% 766 | } 767 | 768 | .fancybox-thumbs-x .fancybox-thumbs__list { 769 | overflow: hidden 770 | } 771 | 772 | .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar { 773 | width: 7px 774 | } 775 | 776 | .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track { 777 | background: #fff; 778 | border-radius: 10px; 779 | box-shadow: inset 0 0 6px rgba(0, 0, 0, .3) 780 | } 781 | 782 | .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb { 783 | background: #2a2a2a; 784 | border-radius: 10px 785 | } 786 | 787 | .fancybox-thumbs__list a { 788 | -webkit-backface-visibility: hidden; 789 | backface-visibility: hidden; 790 | background-color: rgba(0, 0, 0, .1); 791 | background-position: 50%; 792 | background-repeat: no-repeat; 793 | background-size: cover; 794 | cursor: pointer; 795 | float: left; 796 | height: 75px; 797 | margin: 2px; 798 | max-height: calc(100% - 8px); 799 | max-width: calc(50% - 4px); 800 | outline: none; 801 | overflow: hidden; 802 | padding: 0; 803 | position: relative; 804 | -webkit-tap-highlight-color: transparent; 805 | width: 100px 806 | } 807 | 808 | .fancybox-thumbs__list a:before { 809 | border: 6px solid #ff5268; 810 | bottom: 0; 811 | content: ""; 812 | left: 0; 813 | opacity: 0; 814 | position: absolute; 815 | right: 0; 816 | top: 0; 817 | transition: all .2s cubic-bezier(.25, .46, .45, .94); 818 | z-index: 99991 819 | } 820 | 821 | .fancybox-thumbs__list a:focus:before { 822 | opacity: .5 823 | } 824 | 825 | .fancybox-thumbs__list a.fancybox-thumbs-active:before { 826 | opacity: 1 827 | } 828 | 829 | @media (max-width:576px) { 830 | .fancybox-thumbs { 831 | width: 110px 832 | } 833 | .fancybox-show-thumbs .fancybox-inner { 834 | right: 110px 835 | } 836 | .fancybox-thumbs__list a { 837 | max-width: calc(100% - 10px) 838 | } 839 | } -------------------------------------------------------------------------------- /assets/css/swiper-bundle.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Swiper 6.7.5 3 | * Most modern mobile touch slider and framework with hardware accelerated transitions 4 | * https://swiperjs.com 5 | * 6 | * Copyright 2014-2021 Vladimir Kharlampidi 7 | * 8 | * Released under the MIT License 9 | * 10 | * Released on: July 1, 2021 11 | */ 12 | 13 | @font-face { 14 | font-family: swiper-icons; 15 | 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') format('woff'); 16 | font-weight: 400; 17 | font-style: normal 18 | } 19 | 20 | :root { 21 | --swiper-theme-color: #007aff 22 | } 23 | 24 | .swiper-container { 25 | margin-left: auto; 26 | margin-right: auto; 27 | position: relative; 28 | overflow: hidden; 29 | list-style: none; 30 | padding: 0; 31 | z-index: 1 32 | } 33 | 34 | .swiper-container-vertical>.swiper-wrapper { 35 | flex-direction: column 36 | } 37 | 38 | .swiper-wrapper { 39 | position: relative; 40 | width: 100%; 41 | height: 100%; 42 | z-index: 1; 43 | display: flex; 44 | transition-property: transform; 45 | box-sizing: content-box 46 | } 47 | 48 | .swiper-container-android .swiper-slide, 49 | .swiper-wrapper { 50 | transform: translate3d(0px, 0, 0) 51 | } 52 | 53 | .swiper-container-multirow>.swiper-wrapper { 54 | flex-wrap: wrap 55 | } 56 | 57 | .swiper-container-multirow-column>.swiper-wrapper { 58 | flex-wrap: wrap; 59 | flex-direction: column 60 | } 61 | 62 | .swiper-container-free-mode>.swiper-wrapper { 63 | transition-timing-function: ease-out; 64 | margin: 0 auto 65 | } 66 | 67 | .swiper-container-pointer-events { 68 | touch-action: pan-y 69 | } 70 | 71 | .swiper-container-pointer-events.swiper-container-vertical { 72 | touch-action: pan-x 73 | } 74 | 75 | .swiper-slide { 76 | flex-shrink: 0; 77 | width: 100%; 78 | height: 100%; 79 | position: relative; 80 | transition-property: transform 81 | } 82 | 83 | .swiper-slide-invisible-blank { 84 | visibility: hidden 85 | } 86 | 87 | .swiper-container-autoheight, 88 | .swiper-container-autoheight .swiper-slide { 89 | height: auto 90 | } 91 | 92 | .swiper-container-autoheight .swiper-wrapper { 93 | align-items: flex-start; 94 | transition-property: transform, height 95 | } 96 | 97 | .swiper-container-3d { 98 | perspective: 1200px 99 | } 100 | 101 | .swiper-container-3d .swiper-cube-shadow, 102 | .swiper-container-3d .swiper-slide, 103 | .swiper-container-3d .swiper-slide-shadow-bottom, 104 | .swiper-container-3d .swiper-slide-shadow-left, 105 | .swiper-container-3d .swiper-slide-shadow-right, 106 | .swiper-container-3d .swiper-slide-shadow-top, 107 | .swiper-container-3d .swiper-wrapper { 108 | transform-style: preserve-3d 109 | } 110 | 111 | .swiper-container-3d .swiper-slide-shadow-bottom, 112 | .swiper-container-3d .swiper-slide-shadow-left, 113 | .swiper-container-3d .swiper-slide-shadow-right, 114 | .swiper-container-3d .swiper-slide-shadow-top { 115 | position: absolute; 116 | left: 0; 117 | top: 0; 118 | width: 100%; 119 | height: 100%; 120 | pointer-events: none; 121 | z-index: 10 122 | } 123 | 124 | .swiper-container-3d .swiper-slide-shadow-left { 125 | background-image: linear-gradient(to left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) 126 | } 127 | 128 | .swiper-container-3d .swiper-slide-shadow-right { 129 | background-image: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) 130 | } 131 | 132 | .swiper-container-3d .swiper-slide-shadow-top { 133 | background-image: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) 134 | } 135 | 136 | .swiper-container-3d .swiper-slide-shadow-bottom { 137 | background-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) 138 | } 139 | 140 | .swiper-container-css-mode>.swiper-wrapper { 141 | overflow: auto; 142 | scrollbar-width: none; 143 | -ms-overflow-style: none 144 | } 145 | 146 | .swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar { 147 | display: none 148 | } 149 | 150 | .swiper-container-css-mode>.swiper-wrapper>.swiper-slide { 151 | scroll-snap-align: start start 152 | } 153 | 154 | .swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper { 155 | scroll-snap-type: x mandatory 156 | } 157 | 158 | .swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper { 159 | scroll-snap-type: y mandatory 160 | } 161 | 162 | :root { 163 | --swiper-navigation-size: 44px 164 | } 165 | 166 | .swiper-button-next, 167 | .swiper-button-prev { 168 | position: absolute; 169 | top: 50%; 170 | width: calc(var(--swiper-navigation-size)/ 44 * 27); 171 | height: var(--swiper-navigation-size); 172 | margin-top: calc(0px - (var(--swiper-navigation-size)/ 2)); 173 | z-index: 10; 174 | cursor: pointer; 175 | display: flex; 176 | align-items: center; 177 | justify-content: center; 178 | color: var(--swiper-navigation-color, var(--swiper-theme-color)) 179 | } 180 | 181 | .swiper-button-next.swiper-button-disabled, 182 | .swiper-button-prev.swiper-button-disabled { 183 | opacity: .35; 184 | cursor: auto; 185 | pointer-events: none 186 | } 187 | 188 | .swiper-button-next:after, 189 | .swiper-button-prev:after { 190 | font-family: swiper-icons; 191 | font-size: var(--swiper-navigation-size); 192 | text-transform: none !important; 193 | letter-spacing: 0; 194 | text-transform: none; 195 | font-variant: initial; 196 | line-height: 1 197 | } 198 | 199 | .swiper-button-prev, 200 | .swiper-container-rtl .swiper-button-next { 201 | left: 10px; 202 | right: auto 203 | } 204 | 205 | .swiper-button-prev:after, 206 | .swiper-container-rtl .swiper-button-next:after { 207 | content: 'prev' 208 | } 209 | 210 | .swiper-button-next, 211 | .swiper-container-rtl .swiper-button-prev { 212 | right: 10px; 213 | left: auto 214 | } 215 | 216 | .swiper-button-next:after, 217 | .swiper-container-rtl .swiper-button-prev:after { 218 | content: 'next' 219 | } 220 | 221 | .swiper-button-next.swiper-button-white, 222 | .swiper-button-prev.swiper-button-white { 223 | --swiper-navigation-color: #ffffff 224 | } 225 | 226 | .swiper-button-next.swiper-button-black, 227 | .swiper-button-prev.swiper-button-black { 228 | --swiper-navigation-color: #000000 229 | } 230 | 231 | .swiper-button-lock { 232 | display: none 233 | } 234 | 235 | .swiper-pagination { 236 | position: absolute; 237 | text-align: center; 238 | transition: .3s opacity; 239 | transform: translate3d(0, 0, 0); 240 | z-index: 10 241 | } 242 | 243 | .swiper-pagination.swiper-pagination-hidden { 244 | opacity: 0 245 | } 246 | 247 | .swiper-container-horizontal>.swiper-pagination-bullets, 248 | .swiper-pagination-custom, 249 | .swiper-pagination-fraction { 250 | bottom: 10px; 251 | left: 0; 252 | width: 100% 253 | } 254 | 255 | .swiper-pagination-bullets-dynamic { 256 | overflow: hidden; 257 | font-size: 0 258 | } 259 | 260 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { 261 | transform: scale(.33); 262 | position: relative 263 | } 264 | 265 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active { 266 | transform: scale(1) 267 | } 268 | 269 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { 270 | transform: scale(1) 271 | } 272 | 273 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { 274 | transform: scale(.66) 275 | } 276 | 277 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { 278 | transform: scale(.33) 279 | } 280 | 281 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { 282 | transform: scale(.66) 283 | } 284 | 285 | .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { 286 | transform: scale(.33) 287 | } 288 | 289 | .swiper-pagination-bullet { 290 | width: 8px; 291 | height: 8px; 292 | display: inline-block; 293 | border-radius: 50%; 294 | background: #000; 295 | opacity: .2 296 | } 297 | 298 | button.swiper-pagination-bullet { 299 | border: none; 300 | margin: 0; 301 | padding: 0; 302 | box-shadow: none; 303 | -webkit-appearance: none; 304 | appearance: none 305 | } 306 | 307 | .swiper-pagination-clickable .swiper-pagination-bullet { 308 | cursor: pointer 309 | } 310 | 311 | .swiper-pagination-bullet-active { 312 | opacity: 1; 313 | background: var(--swiper-pagination-color, var(--swiper-theme-color)) 314 | } 315 | 316 | .swiper-container-vertical>.swiper-pagination-bullets { 317 | right: 10px; 318 | top: 50%; 319 | transform: translate3d(0px, -50%, 0) 320 | } 321 | 322 | .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet { 323 | margin: 6px 0; 324 | display: block 325 | } 326 | 327 | .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic { 328 | top: 50%; 329 | transform: translateY(-50%); 330 | width: 8px 331 | } 332 | 333 | .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { 334 | display: inline-block; 335 | transition: .2s transform, .2s top 336 | } 337 | 338 | .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet { 339 | margin: 0 4px 340 | } 341 | 342 | .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic { 343 | left: 50%; 344 | transform: translateX(-50%); 345 | white-space: nowrap 346 | } 347 | 348 | .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { 349 | transition: .2s transform, .2s left 350 | } 351 | 352 | .swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { 353 | transition: .2s transform, .2s right 354 | } 355 | 356 | .swiper-pagination-progressbar { 357 | background: rgba(0, 0, 0, .25); 358 | position: absolute 359 | } 360 | 361 | .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { 362 | background: var(--swiper-pagination-color, var(--swiper-theme-color)); 363 | position: absolute; 364 | left: 0; 365 | top: 0; 366 | width: 100%; 367 | height: 100%; 368 | transform: scale(0); 369 | transform-origin: left top 370 | } 371 | 372 | .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { 373 | transform-origin: right top 374 | } 375 | 376 | .swiper-container-horizontal>.swiper-pagination-progressbar, 377 | .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { 378 | width: 100%; 379 | height: 4px; 380 | left: 0; 381 | top: 0 382 | } 383 | 384 | .swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite, 385 | .swiper-container-vertical>.swiper-pagination-progressbar { 386 | width: 4px; 387 | height: 100%; 388 | left: 0; 389 | top: 0 390 | } 391 | 392 | .swiper-pagination-white { 393 | --swiper-pagination-color: #ffffff 394 | } 395 | 396 | .swiper-pagination-black { 397 | --swiper-pagination-color: #000000 398 | } 399 | 400 | .swiper-pagination-lock { 401 | display: none 402 | } 403 | 404 | .swiper-scrollbar { 405 | border-radius: 10px; 406 | position: relative; 407 | -ms-touch-action: none; 408 | background: rgba(0, 0, 0, .1) 409 | } 410 | 411 | .swiper-container-horizontal>.swiper-scrollbar { 412 | position: absolute; 413 | left: 1%; 414 | bottom: 3px; 415 | z-index: 50; 416 | height: 5px; 417 | width: 98% 418 | } 419 | 420 | .swiper-container-vertical>.swiper-scrollbar { 421 | position: absolute; 422 | right: 3px; 423 | top: 1%; 424 | z-index: 50; 425 | width: 5px; 426 | height: 98% 427 | } 428 | 429 | .swiper-scrollbar-drag { 430 | height: 100%; 431 | width: 100%; 432 | position: relative; 433 | background: rgba(0, 0, 0, .5); 434 | border-radius: 10px; 435 | left: 0; 436 | top: 0 437 | } 438 | 439 | .swiper-scrollbar-cursor-drag { 440 | cursor: move 441 | } 442 | 443 | .swiper-scrollbar-lock { 444 | display: none 445 | } 446 | 447 | .swiper-zoom-container { 448 | width: 100%; 449 | height: 100%; 450 | display: flex; 451 | justify-content: center; 452 | align-items: center; 453 | text-align: center 454 | } 455 | 456 | .swiper-zoom-container>canvas, 457 | .swiper-zoom-container>img, 458 | .swiper-zoom-container>svg { 459 | max-width: 100%; 460 | max-height: 100%; 461 | object-fit: contain 462 | } 463 | 464 | .swiper-slide-zoomed { 465 | cursor: move 466 | } 467 | 468 | .swiper-lazy-preloader { 469 | width: 42px; 470 | height: 42px; 471 | position: absolute; 472 | left: 50%; 473 | top: 50%; 474 | margin-left: -21px; 475 | margin-top: -21px; 476 | z-index: 10; 477 | transform-origin: 50%; 478 | animation: swiper-preloader-spin 1s infinite linear; 479 | box-sizing: border-box; 480 | border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color)); 481 | border-radius: 50%; 482 | border-top-color: transparent 483 | } 484 | 485 | .swiper-lazy-preloader-white { 486 | --swiper-preloader-color: #fff 487 | } 488 | 489 | .swiper-lazy-preloader-black { 490 | --swiper-preloader-color: #000 491 | } 492 | 493 | @keyframes swiper-preloader-spin { 494 | 100% { 495 | transform: rotate(360deg) 496 | } 497 | } 498 | 499 | .swiper-container .swiper-notification { 500 | position: absolute; 501 | left: 0; 502 | top: 0; 503 | pointer-events: none; 504 | opacity: 0; 505 | z-index: -1000 506 | } 507 | 508 | .swiper-container-fade.swiper-container-free-mode .swiper-slide { 509 | transition-timing-function: ease-out 510 | } 511 | 512 | .swiper-container-fade .swiper-slide { 513 | pointer-events: none; 514 | transition-property: opacity 515 | } 516 | 517 | .swiper-container-fade .swiper-slide .swiper-slide { 518 | pointer-events: none 519 | } 520 | 521 | .swiper-container-fade .swiper-slide-active, 522 | .swiper-container-fade .swiper-slide-active .swiper-slide-active { 523 | pointer-events: auto 524 | } 525 | 526 | .swiper-container-cube { 527 | overflow: visible 528 | } 529 | 530 | .swiper-container-cube .swiper-slide { 531 | pointer-events: none; 532 | -webkit-backface-visibility: hidden; 533 | backface-visibility: hidden; 534 | z-index: 1; 535 | visibility: hidden; 536 | transform-origin: 0 0; 537 | width: 100%; 538 | height: 100% 539 | } 540 | 541 | .swiper-container-cube .swiper-slide .swiper-slide { 542 | pointer-events: none 543 | } 544 | 545 | .swiper-container-cube.swiper-container-rtl .swiper-slide { 546 | transform-origin: 100% 0 547 | } 548 | 549 | .swiper-container-cube .swiper-slide-active, 550 | .swiper-container-cube .swiper-slide-active .swiper-slide-active { 551 | pointer-events: auto 552 | } 553 | 554 | .swiper-container-cube .swiper-slide-active, 555 | .swiper-container-cube .swiper-slide-next, 556 | .swiper-container-cube .swiper-slide-next+.swiper-slide, 557 | .swiper-container-cube .swiper-slide-prev { 558 | pointer-events: auto; 559 | visibility: visible 560 | } 561 | 562 | .swiper-container-cube .swiper-slide-shadow-bottom, 563 | .swiper-container-cube .swiper-slide-shadow-left, 564 | .swiper-container-cube .swiper-slide-shadow-right, 565 | .swiper-container-cube .swiper-slide-shadow-top { 566 | z-index: 0; 567 | -webkit-backface-visibility: hidden; 568 | backface-visibility: hidden 569 | } 570 | 571 | .swiper-container-cube .swiper-cube-shadow { 572 | position: absolute; 573 | left: 0; 574 | bottom: 0px; 575 | width: 100%; 576 | height: 100%; 577 | opacity: .6; 578 | z-index: 0 579 | } 580 | 581 | .swiper-container-cube .swiper-cube-shadow:before { 582 | content: ''; 583 | background: #000; 584 | position: absolute; 585 | left: 0; 586 | top: 0; 587 | bottom: 0; 588 | right: 0; 589 | filter: blur(50px) 590 | } 591 | 592 | .swiper-container-flip { 593 | overflow: visible 594 | } 595 | 596 | .swiper-container-flip .swiper-slide { 597 | pointer-events: none; 598 | -webkit-backface-visibility: hidden; 599 | backface-visibility: hidden; 600 | z-index: 1 601 | } 602 | 603 | .swiper-container-flip .swiper-slide .swiper-slide { 604 | pointer-events: none 605 | } 606 | 607 | .swiper-container-flip .swiper-slide-active, 608 | .swiper-container-flip .swiper-slide-active .swiper-slide-active { 609 | pointer-events: auto 610 | } 611 | 612 | .swiper-container-flip .swiper-slide-shadow-bottom, 613 | .swiper-container-flip .swiper-slide-shadow-left, 614 | .swiper-container-flip .swiper-slide-shadow-right, 615 | .swiper-container-flip .swiper-slide-shadow-top { 616 | z-index: 0; 617 | -webkit-backface-visibility: hidden; 618 | backface-visibility: hidden 619 | } -------------------------------------------------------------------------------- /assets/images/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/about.jpg -------------------------------------------------------------------------------- /assets/images/berry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/berry.png -------------------------------------------------------------------------------- /assets/images/blog-pattern-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/blog-pattern-bg.png -------------------------------------------------------------------------------- /assets/images/blog/blog1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/blog/blog1.jpg -------------------------------------------------------------------------------- /assets/images/blog/blog2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/blog/blog2.jpg -------------------------------------------------------------------------------- /assets/images/blog/blog3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/blog/blog3.jpg -------------------------------------------------------------------------------- /assets/images/brands/b1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/brands/b1.png -------------------------------------------------------------------------------- /assets/images/brands/b2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/brands/b2.png -------------------------------------------------------------------------------- /assets/images/brands/b3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/brands/b3.png -------------------------------------------------------------------------------- /assets/images/brands/b4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/brands/b4.png -------------------------------------------------------------------------------- /assets/images/brands/b5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/brands/b5.png -------------------------------------------------------------------------------- /assets/images/bt1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/bt1.jpg -------------------------------------------------------------------------------- /assets/images/bt2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/bt2.jpg -------------------------------------------------------------------------------- /assets/images/bt3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/bt3.jpg -------------------------------------------------------------------------------- /assets/images/bt4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/bt4.jpg -------------------------------------------------------------------------------- /assets/images/chef/c1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/chef/c1.jpg -------------------------------------------------------------------------------- /assets/images/chef/c2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/chef/c2.jpg -------------------------------------------------------------------------------- /assets/images/chef/c3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/chef/c3.jpg -------------------------------------------------------------------------------- /assets/images/chef/c4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/chef/c4.jpg -------------------------------------------------------------------------------- /assets/images/chef/c5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/chef/c5.jpg -------------------------------------------------------------------------------- /assets/images/dish/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/dish/1.png -------------------------------------------------------------------------------- /assets/images/dish/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/dish/2.png -------------------------------------------------------------------------------- /assets/images/dish/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/dish/3.png -------------------------------------------------------------------------------- /assets/images/dish/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/dish/4.png -------------------------------------------------------------------------------- /assets/images/dish/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/dish/5.png -------------------------------------------------------------------------------- /assets/images/dish/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/dish/6.png -------------------------------------------------------------------------------- /assets/images/faq-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/faq-bg.png -------------------------------------------------------------------------------- /assets/images/leaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/leaf.png -------------------------------------------------------------------------------- /assets/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/loader.gif -------------------------------------------------------------------------------- /assets/images/main-b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/main-b.jpg -------------------------------------------------------------------------------- /assets/images/mashroom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/mashroom.png -------------------------------------------------------------------------------- /assets/images/menu-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/menu-1.png -------------------------------------------------------------------------------- /assets/images/menu-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/menu-2.png -------------------------------------------------------------------------------- /assets/images/menu-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/menu-3.png -------------------------------------------------------------------------------- /assets/images/menu-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/menu-4.png -------------------------------------------------------------------------------- /assets/images/menu-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/menu-bg.png -------------------------------------------------------------------------------- /assets/images/news.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/news.jpg -------------------------------------------------------------------------------- /assets/images/pizza.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/pizza.png -------------------------------------------------------------------------------- /assets/images/sushi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/sushi.png -------------------------------------------------------------------------------- /assets/images/table-leaves-shape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/table-leaves-shape.png -------------------------------------------------------------------------------- /assets/images/testimonial-img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/testimonial-img.png -------------------------------------------------------------------------------- /assets/images/testimonials/t1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/testimonials/t1.jpg -------------------------------------------------------------------------------- /assets/images/testimonials/t2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/testimonials/t2.jpg -------------------------------------------------------------------------------- /assets/images/testimonials/t3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/testimonials/t3.jpg -------------------------------------------------------------------------------- /assets/images/testimonials/t4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/testimonials/t4.jpg -------------------------------------------------------------------------------- /assets/images/title-shape.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/images/video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/assets/images/video.mp4 -------------------------------------------------------------------------------- /assets/js/ScrollToPlugin.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ScrollToPlugin 3.4.2 3 | * https://greensock.com 4 | * 5 | * @license Copyright 2020, GreenSock. All rights reserved. 6 | * Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership. 7 | * @author: Jack Doyle, jack@greensock.com 8 | */ 9 | 10 | ! function(t, e) { 11 | "object" == typeof exports && "undefined" != typeof module ? e(exports) : "function" == typeof define && define.amd ? define(["exports"], e) : e((t = t || self).window = t.window || {}) 12 | }(this, function(t) { 13 | "use strict"; 14 | 15 | function k() { 16 | return "undefined" != typeof window 17 | } 18 | 19 | function l() { 20 | return e || k() && (e = window.gsap) && e.registerPlugin && e 21 | } 22 | 23 | function m(t) { 24 | return "string" == typeof t 25 | } 26 | 27 | function n(t, e) { 28 | var o = "x" === e ? "Width" : "Height", 29 | n = "scroll" + o, 30 | r = "client" + o; 31 | return t === x || t === s || t === f ? Math.max(s[n], f[n]) - (x["inner" + o] || s[r] || f[r]) : t[n] - t["offset" + o] 32 | } 33 | 34 | function o(t, e) { 35 | var o = "scroll" + ("x" === e ? "Left" : "Top"); 36 | return t === x && (null != t.pageXOffset ? o = "page" + e.toUpperCase() + "Offset" : t = null != s[o] ? s : f), 37 | function() { 38 | return t[o] 39 | } 40 | } 41 | 42 | function p(t, e) { 43 | var n = a(t)[0].getBoundingClientRect(), 44 | r = !e || e === x || e === f, 45 | i = r ? { 46 | top: s.clientTop - (x.pageYOffset || s.scrollTop || f.scrollTop || 0), 47 | left: s.clientLeft - (x.pageXOffset || s.scrollLeft || f.scrollLeft || 0) 48 | } : e.getBoundingClientRect(), 49 | l = { 50 | x: n.left - i.left, 51 | y: n.top - i.top 52 | }; 53 | return !r && e && (l.x += o(e, "x")(), l.y += o(e, "y")()), l 54 | } 55 | 56 | function q(t, e, o, r) { 57 | return isNaN(t) || "object" == typeof t ? m(t) && "=" === t.charAt(1) ? parseFloat(t.substr(2)) * ("-" === t.charAt(0) ? -1 : 1) + r : "max" === t ? n(e, o) : Math.min(n(e, o), p(t, e)[o]) : parseFloat(t) 58 | } 59 | 60 | function r() { 61 | e = l(), k() && e && document.body && (x = window, f = document.body, s = document.documentElement, a = e.utils.toArray, e.config({ 62 | autoKillThreshold: 7 63 | }), g = e.config(), u = 1) 64 | } 65 | var e, u, x, s, f, a, g, i = { 66 | version: "3.4.2", 67 | name: "scrollTo", 68 | rawVars: 1, 69 | register: function register(t) { 70 | e = t, r() 71 | }, 72 | init: function init(t, e, n, i, l) { 73 | u || r(); 74 | var s = this; 75 | s.isWin = t === x, s.target = t, s.tween = n, "object" != typeof e ? m((e = { 76 | y: e 77 | }).y) && "max" !== e.y && "=" !== e.y.charAt(1) && (e.x = e.y) : e.nodeType && (e = { 78 | y: e, 79 | x: e 80 | }), s.vars = e, s.autoKill = !!e.autoKill, s.getX = o(t, "x"), s.getY = o(t, "y"), s.x = s.xPrev = s.getX(), s.y = s.yPrev = s.getY(), null != e.x ? (s.add(s, "x", s.x, q(e.x, t, "x", s.x) - (e.offsetX || 0), i, l, Math.round), s._props.push("scrollTo_x")) : s.skipX = 1, null != e.y ? (s.add(s, "y", s.y, q(e.y, t, "y", s.y) - (e.offsetY || 0), i, l, Math.round), s._props.push("scrollTo_y")) : s.skipY = 1 81 | }, 82 | render: function render(t, e) { 83 | for (var o, r, i, l, s, u = e._pt, f = e.target, p = e.tween, a = e.autoKill, c = e.xPrev, y = e.yPrev, d = e.isWin; u;) u.r(t, u.d), u = u._next; 84 | o = d || !e.skipX ? e.getX() : c, i = (r = d || !e.skipY ? e.getY() : y) - y, l = o - c, s = g.autoKillThreshold, e.x < 0 && (e.x = 0), e.y < 0 && (e.y = 0), a && (!e.skipX && (s < l || l < -s) && o < n(f, "x") && (e.skipX = 1), !e.skipY && (s < i || i < -s) && r < n(f, "y") && (e.skipY = 1), e.skipX && e.skipY && (p.kill(), e.vars.onAutoKill && e.vars.onAutoKill.apply(p, e.vars.onAutoKillParams || []))), d ? x.scrollTo(e.skipX ? o : e.x, e.skipY ? r : e.y) : (e.skipY || (f.scrollTop = e.y), e.skipX || (f.scrollLeft = e.x)), e.xPrev = e.x, e.yPrev = e.y 85 | }, 86 | kill: function kill(t) { 87 | var e = "scrollTo" === t; 88 | !e && "scrollTo_x" !== t || (this.skipX = 1), !e && "scrollTo_y" !== t || (this.skipY = 1) 89 | } 90 | }; 91 | i.max = n, i.getOffset = p, i.buildGetter = o, l() && e.registerPlugin(i), t.ScrollToPlugin = i, t.default = i; 92 | if (typeof(window) === "undefined" || window !== t) { 93 | Object.defineProperty(t, "__esModule", { 94 | value: !0 95 | }) 96 | } else { 97 | delete t.default 98 | } 99 | }); -------------------------------------------------------------------------------- /assets/js/ScrollTrigger.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ScrollTrigger 3.8.0 3 | * https://greensock.com 4 | * 5 | * @license Copyright 2021, GreenSock. All rights reserved. 6 | * Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership. 7 | * @author: Jack Doyle, jack@greensock.com 8 | */ 9 | 10 | ! function(e, t) { 11 | "object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((e = e || self).window = e.window || {}) 12 | }(this, function(e) { 13 | "use strict"; 14 | 15 | function J(e) { 16 | return e 17 | } 18 | 19 | function K(e) { 20 | return Math.round(1e5 * e) / 1e5 || 0 21 | } 22 | 23 | function L() { 24 | return "undefined" != typeof window 25 | } 26 | 27 | function M() { 28 | return Le || L() && (Le = window.gsap) && Le.registerPlugin && Le 29 | } 30 | 31 | function N(e) { 32 | return !!~i.indexOf(e) 33 | } 34 | 35 | function O(e, t) { 36 | return ~Ze.indexOf(e) && Ze[Ze.indexOf(e) + 1][t] 37 | } 38 | 39 | function P(t, e) { 40 | var r = e.s, 41 | n = e.sc, 42 | i = v.indexOf(t), 43 | o = n === pt.sc ? 1 : 2; 44 | return ~i || (i = v.push(t) - 1), v[i + o] || (v[i + o] = O(t, r) || (N(t) ? n : function(e) { 45 | return arguments.length ? t[r] = e : t[r] 46 | })) 47 | } 48 | 49 | function Q(e) { 50 | return O(e, "getBoundingClientRect") || (N(e) ? function() { 51 | return yt.width = Ne.innerWidth, yt.height = Ne.innerHeight, yt 52 | } : function() { 53 | return dt(e) 54 | }) 55 | } 56 | 57 | function T(e, t) { 58 | var r = t.s, 59 | n = t.d2, 60 | i = t.d, 61 | o = t.a; 62 | return (r = "scroll" + n) && (o = O(e, r)) ? o() - Q(e)()[i] : N(e) ? (Fe[r] || Ie[r]) - (Ne["inner" + n] || Ie["client" + n] || Fe["client" + n]) : e[r] - e["offset" + n] 63 | } 64 | 65 | function U(e, t) { 66 | for (var r = 0; r < d.length; r += 3) t && !~t.indexOf(d[r + 1]) || e(d[r], d[r + 1], d[r + 2]) 67 | } 68 | 69 | function V(e) { 70 | return "string" == typeof e 71 | } 72 | 73 | function W(e) { 74 | return "function" == typeof e 75 | } 76 | 77 | function X(e) { 78 | return "number" == typeof e 79 | } 80 | 81 | function Y(e) { 82 | return "object" == typeof e 83 | } 84 | 85 | function Z(e) { 86 | return W(e) && e() 87 | } 88 | 89 | function $(r, n) { 90 | return function() { 91 | var e = Z(r), 92 | t = Z(n); 93 | return function() { 94 | Z(e), Z(t) 95 | } 96 | } 97 | } 98 | 99 | function _(e, t, r) { 100 | return e && e.progress(t ? 0 : 1) && r && e.pause() 101 | } 102 | 103 | function aa(e, t) { 104 | var r = t(e); 105 | r && r.totalTime && (e.callbackAnimation = r) 106 | } 107 | 108 | function va(e) { 109 | return Ne.getComputedStyle(e) 110 | } 111 | 112 | function xa(e, t) { 113 | for (var r in t) r in e || (e[r] = t[r]); 114 | return e 115 | } 116 | 117 | function za(e, t) { 118 | var r = t.d2; 119 | return e["offset" + r] || e["client" + r] || 0 120 | } 121 | 122 | function Aa(e) { 123 | var t, r = [], 124 | n = e.labels, 125 | i = e.duration(); 126 | for (t in n) r.push(n[t] / i); 127 | return r 128 | } 129 | 130 | function Da(t, r, e, n) { 131 | return e.split(",").forEach(function(e) { 132 | return t(r, e, n) 133 | }) 134 | } 135 | 136 | function Ea(e, t, r) { 137 | return e.addEventListener(t, r, { 138 | passive: !0 139 | }) 140 | } 141 | 142 | function Fa(e, t, r) { 143 | return e.removeEventListener(t, r) 144 | } 145 | 146 | function Ja(e, t) { 147 | if (V(e)) { 148 | var r = e.indexOf("="), 149 | n = ~r ? (e.charAt(r - 1) + 1) * parseFloat(e.substr(r + 1)) : 0; 150 | ~r && (e.indexOf("%") > r && (n *= t / 100), e = e.substr(0, r - 1)), e = n + (e in S ? S[e] * t : ~e.indexOf("%") ? parseFloat(e) * t / 100 : parseFloat(e) || 0) 151 | } 152 | return e 153 | } 154 | 155 | function Ka(e, t, r, n, i, o, a, s) { 156 | var l = i.startColor, 157 | c = i.endColor, 158 | u = i.fontSize, 159 | f = i.indent, 160 | p = i.fontWeight, 161 | d = Re.createElement("div"), 162 | g = N(r) || "fixed" === O(r, "pinType"), 163 | h = -1 !== e.indexOf("scroller"), 164 | v = g ? Fe : r, 165 | m = -1 !== e.indexOf("start"), 166 | b = m ? l : c, 167 | x = "border-color:" + b + ";font-size:" + u + ";color:" + b + ";font-weight:" + p + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;"; 168 | return x += "position:" + ((h || s) && g ? "fixed;" : "absolute;"), !h && !s && g || (x += (n === pt ? y : w) + ":" + (o + parseFloat(f)) + "px;"), a && (x += "box-sizing:border-box;text-align:left;width:" + a.offsetWidth + "px;"), d._isStart = m, d.setAttribute("class", "gsap-marker-" + e + (t ? " marker-" + t : "")), d.style.cssText = x, d.innerText = t || 0 === t ? e + "-" + t : e, v.children[0] ? v.insertBefore(d, v.children[0]) : v.appendChild(d), d._offset = d["offset" + n.op.d2], E(d, 0, n, m), d 169 | } 170 | 171 | function Oa() { 172 | return 20 < qe() - $e && j() 173 | } 174 | 175 | function Pa() { 176 | var e = qe(); 177 | $e !== e ? (j(), $e || z("scrollStart"), $e = e) : l = l || s(j) 178 | } 179 | 180 | function Qa() { 181 | return !Xe && !r && !Re.fullscreenElement && a.restart(!0) 182 | } 183 | 184 | function Wa(e) { 185 | var t, r = Le.ticker.frame, 186 | n = [], 187 | i = 0; 188 | if (g !== r || Ye) { 189 | for (F(); i < A.length; i += 4)(t = Ne.matchMedia(A[i]).matches) !== A[i + 3] && ((A[i + 3] = t) ? n.push(i) : F(1, A[i]) || W(A[i + 2]) && A[i + 2]()); 190 | for (I(), i = 0; i < n.length; i++) t = n[i], He = A[t], A[t + 2] = A[t + 1](e); 191 | He = 0, o && B(0, 1), g = r, z("matchMedia") 192 | } 193 | } 194 | 195 | function Xa() { 196 | return Fa(te, "scrollEnd", Xa) || B(!0) 197 | } 198 | 199 | function ab() { 200 | return v.forEach(function(e) { 201 | return "function" == typeof e && (e.rec = 0) 202 | }) 203 | } 204 | 205 | function jb(e, t, r, n) { 206 | if (e.parentNode !== t) { 207 | for (var i, o = H.length, a = t.style, s = e.style; o--;) a[i = H[o]] = r[i]; 208 | a.position = "absolute" === r.position ? "absolute" : "relative", "inline" === r.display && (a.display = "inline-block"), s[w] = s[y] = "auto", a.overflow = "visible", a.boxSizing = "border-box", a[tt] = za(e, ft) + ut, a[rt] = za(e, pt) + ut, a[st] = s[lt] = s.top = s[b] = "0", xt(n), s[tt] = s.maxWidth = r[tt], s[rt] = s.maxHeight = r[rt], s[st] = r[st], e.parentNode.insertBefore(t, e), t.appendChild(e) 209 | } 210 | } 211 | 212 | function mb(e) { 213 | for (var t = q.length, r = e.style, n = [], i = 0; i < t; i++) n.push(q[i], r[q[i]]); 214 | return n.t = e, n 215 | } 216 | 217 | function pb(e, t, r, n, i, o, a, s, l, c, u, f, p) { 218 | W(e) && (e = e(s)), V(e) && "max" === e.substr(0, 3) && (e = f + ("=" === e.charAt(4) ? Ja("0" + e.substr(3), r) : 0)); 219 | var d, g, h, v = p ? p.time() : 0; 220 | if (p && p.seek(0), X(e)) a && E(a, r, n, !0); 221 | else { 222 | W(t) && (t = t(s)); 223 | var m, b, x, y, w = e.split(" "); 224 | h = Be(t)[0] || Fe, (m = dt(h) || {}) && (m.left || m.top) || "none" !== va(h).display || (y = h.style.display, h.style.display = "block", m = dt(h), y ? h.style.display = y : h.style.removeProperty("display")), b = Ja(w[0], m[n.d]), x = Ja(w[1] || "0", r), e = m[n.p] - l[n.p] - c + b + i - x, a && E(a, x, n, r - x < 20 || a._isStart && 20 < x), r -= r - x 225 | } 226 | if (o) { 227 | var S = e + r, 228 | T = o._isStart; 229 | d = "scroll" + n.d2, E(o, S, n, T && 20 < S || !T && (u ? Math.max(Fe[d], Ie[d]) : o.parentNode[d]) <= S + 1), u && (l = dt(a), u && (o.style[n.op.p] = l[n.op.p] - n.op.m - o._offset + ut)) 230 | } 231 | return p && h && (d = dt(h), p.seek(f), g = dt(h), p._caScrollDist = d[n.p] - g[n.p], e = e / p._caScrollDist * f), p && p.seek(v), p ? e : Math.round(e) 232 | } 233 | 234 | function rb(e, t, r, n) { 235 | if (e.parentNode !== t) { 236 | var i, o, a = e.style; 237 | if (t === Fe) { 238 | for (i in e._stOrig = a.cssText, o = va(e)) + i || ee.test(i) || !o[i] || "string" != typeof a[i] || "0" === i || (a[i] = o[i]); 239 | a.top = r, a.left = n 240 | } else a.cssText = e._stOrig; 241 | Le.core.getCache(e).uncache = 1, t.appendChild(e) 242 | } 243 | } 244 | 245 | function sb(l, e) { 246 | function nf(e, t, r, n, i) { 247 | var o = nf.tween, 248 | a = t.onComplete, 249 | s = {}; 250 | return o && o.kill(), c = Math.round(r), t[p] = e, (t.modifiers = s)[p] = function(e) { 251 | return (e = K(f())) !== c && e !== u && 2 < Math.abs(e - c) ? (o.kill(), nf.tween = 0) : e = r + n * o.ratio + i * o.ratio * o.ratio, u = c, c = K(e) 252 | }, t.onComplete = function() { 253 | nf.tween = 0, a && a.call(o) 254 | }, o = nf.tween = Le.to(l, t) 255 | } 256 | var c, u, f = P(l, e), 257 | p = "_scroll" + e.p2; 258 | return l[p] = f, l.addEventListener("wheel", function() { 259 | return nf.tween && nf.tween.kill() && (nf.tween = 0) 260 | }, { 261 | passive: !0 262 | }), nf 263 | } 264 | var Le, o, Ne, Re, Ie, Fe, i, a, s, l, Be, Ve, De, c, Xe, je, u, Je, f, p, d, Qe, Ke, r, Ue, He, g, h, Ye = 1, 265 | Ze = [], 266 | v = [], 267 | qe = Date.now, 268 | m = qe(), 269 | $e = 0, 270 | Ge = 1, 271 | et = Math.abs, 272 | t = "scrollLeft", 273 | n = "scrollTop", 274 | b = "left", 275 | y = "right", 276 | w = "bottom", 277 | tt = "width", 278 | rt = "height", 279 | nt = "Right", 280 | it = "Left", 281 | ot = "Top", 282 | at = "Bottom", 283 | st = "padding", 284 | lt = "margin", 285 | ct = "Width", 286 | x = "Height", 287 | ut = "px", 288 | ft = { 289 | s: t, 290 | p: b, 291 | p2: it, 292 | os: y, 293 | os2: nt, 294 | d: tt, 295 | d2: ct, 296 | a: "x", 297 | sc: function sc(e) { 298 | return arguments.length ? Ne.scrollTo(e, pt.sc()) : Ne.pageXOffset || Re[t] || Ie[t] || Fe[t] || 0 299 | } 300 | }, 301 | pt = { 302 | s: n, 303 | p: "top", 304 | p2: ot, 305 | os: w, 306 | os2: at, 307 | d: rt, 308 | d2: x, 309 | a: "y", 310 | op: ft, 311 | sc: function sc(e) { 312 | return arguments.length ? Ne.scrollTo(ft.sc(), e) : Ne.pageYOffset || Re[n] || Ie[n] || Fe[n] || 0 313 | } 314 | }, 315 | dt = function _getBounds(e, t) { 316 | var r = t && "matrix(1, 0, 0, 1, 0, 0)" !== va(e)[u] && Le.to(e, { 317 | x: 0, 318 | y: 0, 319 | xPercent: 0, 320 | yPercent: 0, 321 | rotation: 0, 322 | rotationX: 0, 323 | rotationY: 0, 324 | scale: 1, 325 | skewX: 0, 326 | skewY: 0 327 | }).progress(1), 328 | n = e.getBoundingClientRect(); 329 | return r && r.progress(0).kill(), n 330 | }, 331 | gt = { 332 | startColor: "green", 333 | endColor: "red", 334 | indent: 0, 335 | fontSize: "16px", 336 | fontWeight: "normal" 337 | }, 338 | ht = { 339 | toggleActions: "play", 340 | anticipatePin: 0 341 | }, 342 | S = { 343 | top: 0, 344 | left: 0, 345 | center: .5, 346 | bottom: 1, 347 | right: 1 348 | }, 349 | E = function _positionMarker(e, t, r, n) { 350 | var i = { 351 | display: "block" 352 | }, 353 | o = r[n ? "os2" : "p2"], 354 | a = r[n ? "p2" : "os2"]; 355 | e._isFlipped = n, i[r.a + "Percent"] = n ? -100 : 0, i[r.a] = n ? "1px" : 0, i["border" + o + ct] = 1, i["border" + a + ct] = 0, i[r.p] = t + "px", Le.set(e, i) 356 | }, 357 | vt = [], 358 | mt = {}, 359 | k = {}, 360 | C = [], 361 | A = [], 362 | z = function _dispatch(e) { 363 | return k[e] && k[e].map(function(e) { 364 | return e() 365 | }) || C 366 | }, 367 | R = [], 368 | I = function _revertRecorded(e) { 369 | for (var t = 0; t < R.length; t += 5) e && R[t + 4] !== e || (R[t].style.cssText = R[t + 1], R[t].getBBox && R[t].setAttribute("transform", R[t + 2] || ""), R[t + 3].uncache = 1) 370 | }, 371 | F = function _revertAll(e, t) { 372 | var r; 373 | for (Je = 0; Je < vt.length; Je++) r = vt[Je], t && r.media !== t || (e ? r.kill(1) : r.revert()); 374 | t && I(t), t || z("revert") 375 | }, 376 | B = function _refreshAll(e, t) { 377 | if (!$e || e) { 378 | h = !0; 379 | var r = z("refreshInit"); 380 | Qe && te.sort(), t || F(), vt.forEach(function(e) { 381 | return e.refresh() 382 | }), r.forEach(function(e) { 383 | return e && e.render && e.render(-1) 384 | }), ab(), a.pause(), h = !1, z("refresh") 385 | } else Ea(te, "scrollEnd", Xa) 386 | }, 387 | D = 0, 388 | bt = 1, 389 | j = function _updateAll() { 390 | if (!h) { 391 | var e = vt.length, 392 | t = qe(), 393 | r = 50 <= t - m, 394 | n = e && vt[0].scroll(); 395 | if (bt = n < D ? -1 : 1, D = n, r && ($e && !je && 200 < t - $e && ($e = 0, z("scrollEnd")), De = m, m = t), bt < 0) { 396 | for (Je = e; 0 < Je--;) vt[Je] && vt[Je].update(0, r); 397 | bt = 1 398 | } else 399 | for (Je = 0; Je < e; Je++) vt[Je] && vt[Je].update(0, r); 400 | l = 0 401 | } 402 | }, 403 | H = [b, "top", w, y, lt + at, lt + nt, lt + ot, lt + it, "display", "flexShrink", "float", "zIndex", "grid-column-start", "grid-column-end", "grid-row-start", "grid-row-end", "grid-area", "justify-self", "align-self", "place-self"], 404 | q = H.concat([tt, rt, "boxSizing", "max" + ct, "max" + x, "position", lt, st, st + ot, st + nt, st + at, st + it]), 405 | G = /([A-Z])/g, 406 | xt = function _setState(e) { 407 | if (e) { 408 | var t, r, n = e.t.style, 409 | i = e.length, 410 | o = 0; 411 | for ((e.t._gsap || Le.core.getCache(e.t)).uncache = 1; o < i; o += 2) r = e[o + 1], t = e[o], r ? n[t] = r : n[t] && n.removeProperty(t.replace(G, "-$1").toLowerCase()) 412 | } 413 | }, 414 | yt = { 415 | left: 0, 416 | top: 0 417 | }, 418 | ee = /(?:webkit|moz|length|cssText|inset)/i; 419 | ft.op = pt; 420 | var te = (ScrollTrigger.prototype.init = function init(E, k) { 421 | if (this.progress = this.start = 0, this.vars && this.kill(1), Ge) { 422 | var m, n, f, C, M, A, z, L, R, I, F, e, B, D, j, K, U, t, H, b, Z, q, x, $, y, w, r, S, G, ee, i, p, te, re, ne, ie, oe, ae = (E = xa(V(E) || X(E) || E.nodeType ? { 423 | trigger: E 424 | } : E, ht)).onUpdate, 425 | se = E.toggleClass, 426 | o = E.id, 427 | le = E.onToggle, 428 | ce = E.onRefresh, 429 | ue = E.scrub, 430 | fe = E.trigger, 431 | pe = E.pin, 432 | de = E.pinSpacing, 433 | ge = E.invalidateOnRefresh, 434 | he = E.anticipatePin, 435 | a = E.onScrubComplete, 436 | d = E.onSnapComplete, 437 | ve = E.once, 438 | me = E.snap, 439 | be = E.pinReparent, 440 | s = E.pinSpacer, 441 | xe = E.containerAnimation, 442 | ye = E.fastScrollEnd, 443 | we = E.preventOverlaps, 444 | Se = E.horizontal || E.containerAnimation && !1 !== E.horizontal ? ft : pt, 445 | Te = !ue && 0 !== ue, 446 | Oe = Be(E.scroller || Ne)[0], 447 | l = Le.core.getCache(Oe), 448 | Ee = N(Oe), 449 | _e = "fixed" === ("pinType" in E ? E.pinType : O(Oe, "pinType") || Ee && "fixed"), 450 | ke = [E.onEnter, E.onLeave, E.onEnterBack, E.onLeaveBack], 451 | Ce = Te && E.toggleActions.split(" "), 452 | c = "markers" in E ? E.markers : ht.markers, 453 | Pe = Ee ? 0 : parseFloat(va(Oe)["border" + Se.p2 + ct]) || 0, 454 | Me = this, 455 | u = E.onRefreshInit && function() { 456 | return E.onRefreshInit(Me) 457 | }, 458 | Ae = function _getSizeFunc(e, t, r) { 459 | var n = r.d, 460 | i = r.d2, 461 | o = r.a; 462 | return (o = O(e, "getBoundingClientRect")) ? function() { 463 | return o()[n] 464 | } : function() { 465 | return (t ? Ne["inner" + i] : e["client" + i]) || 0 466 | } 467 | }(Oe, Ee, Se), 468 | We = function _getOffsetsFunc(e, t) { 469 | return !t || ~Ze.indexOf(e) ? Q(e) : function() { 470 | return yt 471 | } 472 | }(Oe, Ee), 473 | g = 0, 474 | ze = P(Oe, Se); 475 | if (Me.media = He, he *= 45, Me.scroller = Oe, Me.scroll = xe ? xe.time.bind(xe) : ze, C = ze(), Me.vars = E, k = k || E.animation, "refreshPriority" in E && (Qe = 1), l.tweenScroll = l.tweenScroll || { 476 | top: sb(Oe, pt), 477 | left: sb(Oe, ft) 478 | }, Me.tweenTo = m = l.tweenScroll[Se.p], k && (k.vars.lazy = !1, k._initted || !1 !== k.vars.immediateRender && !1 !== E.immediateRender && k.render(0, !0, !0), Me.animation = k.pause(), k.scrollTrigger = Me, (i = X(ue) && ue) && (ee = Le.to(k, { 479 | ease: "power3", 480 | duration: i, 481 | onComplete: function onComplete() { 482 | return a && a(Me) 483 | } 484 | })), S = 0, o = o || k.vars.id), vt.push(Me), me && (Y(me) && !me.push || (me = { 485 | snapTo: me 486 | }), "scrollBehavior" in Fe.style && Le.set(Ee ? [Fe, Ie] : Oe, { 487 | scrollBehavior: "auto" 488 | }), f = W(me.snapTo) ? me.snapTo : "labels" === me.snapTo ? function _getClosestLabel(t) { 489 | return function(e) { 490 | return Le.utils.snap(Aa(t), e) 491 | } 492 | }(k) : "labelsDirectional" === me.snapTo ? function _getLabelAtDirection(i) { 493 | return function(e, t) { 494 | var r, n = Aa(i); 495 | if (n.sort(function(e, t) { 496 | return e - t 497 | }), 0 < t.direction) { 498 | for (e -= 1e-4, r = 0; r < n.length; r++) 499 | if (n[r] >= e) return n[r]; 500 | return n.pop() 501 | } 502 | for (r = n.length, e += 1e-4; r--;) 503 | if (n[r] <= e) return n[r]; 504 | return n[0] 505 | } 506 | }(k) : Le.utils.snap(me.snapTo), p = me.duration || { 507 | min: .1, 508 | max: 2 509 | }, p = Y(p) ? Ve(p.min, p.max) : Ve(p, p), te = Le.delayedCall(me.delay || i / 2 || .1, function() { 510 | if (Math.abs(Me.getVelocity()) < 10 && !je && g !== ze()) { 511 | var e = k && !Te ? k.totalProgress() : Me.progress, 512 | t = (e - G) / (qe() - De) * 1e3 || 0, 513 | r = Le.utils.clamp(-Me.progress, 1 - Me.progress, et(t / 2) * t / .185), 514 | n = Me.progress + (!1 === me.inertia ? 0 : r), 515 | i = Ve(0, 1, f(n, Me)), 516 | o = ze(), 517 | a = Math.round(A + i * B), 518 | s = me.onStart, 519 | l = me.onInterrupt, 520 | c = me.onComplete, 521 | u = m.tween; 522 | if (o <= z && A <= o && a !== o) { 523 | if (u && !u._initted && u.data <= et(a - o)) return; 524 | !1 === me.inertia && (r = i - Me.progress), m(a, { 525 | duration: p(et(.185 * Math.max(et(n - e), et(i - e)) / t / .05 || 0)), 526 | ease: me.ease || "power3", 527 | data: et(a - o), 528 | onInterrupt: function onInterrupt() { 529 | return te.restart(!0) && l && l(Me) 530 | }, 531 | onComplete: function onComplete() { 532 | g = ze(), S = G = k && !Te ? k.totalProgress() : Me.progress, d && d(Me), c && c(Me) 533 | } 534 | }, o, r * B, a - o - r * B), s && s(Me, m.tween) 535 | } 536 | } else Me.isActive && te.restart(!0) 537 | }).pause()), o && (mt[o] = Me), fe = Me.trigger = Be(fe || pe)[0], pe = !0 === pe ? fe : Be(pe)[0], V(se) && (se = { 538 | targets: fe, 539 | className: se 540 | }), pe && (!1 === de || de === lt || (de = !(!de && "flex" === va(pe.parentNode).display) && st), Me.pin = pe, !1 !== E.force3D && Le.set(pe, { 541 | force3D: !0 542 | }), (n = Le.core.getCache(pe)).spacer ? D = n.pinState : (s && ((s = Be(s)[0]) && !s.nodeType && (s = s.current || s.nativeElement), n.spacerIsNative = !!s, s && (n.spacerState = mb(s))), n.spacer = U = s || Re.createElement("div"), U.classList.add("pin-spacer"), o && U.classList.add("pin-spacer-" + o), n.pinState = D = mb(pe)), Me.spacer = U = n.spacer, r = va(pe), x = r[de + Se.os2], H = Le.getProperty(pe), b = Le.quickSetter(pe, Se.a, ut), jb(pe, U, r), K = mb(pe)), c && (e = Y(c) ? xa(c, gt) : gt, I = Ka("scroller-start", o, Oe, Se, e, 0), F = Ka("scroller-end", o, Oe, Se, e, 0, I), t = I["offset" + Se.op.d2], L = Ka("start", o, Oe, Se, e, t, 0, xe), R = Ka("end", o, Oe, Se, e, t, 0, xe), xe && (oe = Le.quickSetter([L, R], Se.a, ut)), _e || Ze.length && !0 === O(Oe, "fixedMarkers") || (function _makePositionable(e) { 543 | var t = va(e).position; 544 | e.style.position = "absolute" === t || "fixed" === t ? t : "relative" 545 | }(Ee ? Fe : Oe), Le.set([I, F], { 546 | force3D: !0 547 | }), y = Le.quickSetter(I, Se.a, ut), w = Le.quickSetter(F, Se.a, ut))), xe) { 548 | var h = xe.vars.onUpdate, 549 | v = xe.vars.onUpdateParams; 550 | xe.eventCallback("onUpdate", function() { 551 | Me.update(0, 0, 1), h && h.apply(v || []) 552 | }) 553 | } 554 | Me.previous = function() { 555 | return vt[vt.indexOf(Me) - 1] 556 | }, Me.next = function() { 557 | return vt[vt.indexOf(Me) + 1] 558 | }, Me.revert = function(e) { 559 | var t = !1 !== e || !Me.enabled, 560 | r = Xe; 561 | t !== Me.isReverted && (t && (Me.scroll.rec || (Me.scroll.rec = ze()), ne = Math.max(ze(), Me.scroll.rec || 0), re = Me.progress, ie = k && k.progress()), L && [L, R, I, F].forEach(function(e) { 562 | return e.style.display = t ? "none" : "block" 563 | }), t && (Xe = 1), Me.update(t), Xe = r, pe && (t ? function _swapPinOut(e, t, r) { 564 | xt(r); 565 | var n = e._gsap; 566 | if (n.spacerIsNative) xt(n.spacerState); 567 | else if (e.parentNode === t) { 568 | var i = t.parentNode; 569 | i && (i.insertBefore(e, t), i.removeChild(t)) 570 | } 571 | }(pe, U, D) : be && Me.isActive || jb(pe, U, va(pe), $)), Me.isReverted = t) 572 | }, Me.refresh = function(e, t) { 573 | if (!Xe && Me.enabled || t) 574 | if (pe && e && $e) Ea(ScrollTrigger, "scrollEnd", Xa); 575 | else { 576 | Xe = 1, ee && ee.pause(), ge && k && k.progress(0).invalidate(), Me.isReverted || Me.revert(); 577 | for (var r, n, i, o, a, s, l, c, u, f, p = Ae(), d = We(), g = xe ? xe.duration() : T(Oe, Se), h = 0, v = 0, m = E.end, b = E.endTrigger || fe, x = E.start || (0 !== E.start && fe ? pe ? "0 0" : "0 100%" : 0), y = E.pinnedContainer && Be(E.pinnedContainer)[0], w = fe && Math.max(0, vt.indexOf(Me)) || 0, S = w; S--;)(s = vt[S]).end || s.refresh(0, 1) || (Xe = 1), !(l = s.pin) || l !== fe && l !== pe || s.isReverted || ((f = f || []).unshift(s), s.revert()); 578 | for (W(x) && (x = x(Me)), A = pb(x, fe, p, Se, ze(), L, I, Me, d, Pe, _e, g, xe) || (pe ? -.001 : 0), W(m) && (m = m(Me)), V(m) && !m.indexOf("+=") && (~m.indexOf(" ") ? m = (V(x) ? x.split(" ")[0] : "") + m : (h = Ja(m.substr(2), p), m = V(x) ? x : A + h, b = fe)), z = Math.max(A, pb(m || (b ? "100% 0" : g), b, p, Se, ze() + h, R, F, Me, d, Pe, _e, g, xe)) || -.001, B = z - A || (A -= .01) && .001, h = 0, S = w; S--;)(l = (s = vt[S]).pin) && s.start - s._pinPush < A && !xe && (r = s.end - s.start, l !== fe && l !== y || X(x) || (h += r), l === pe && (v += r)); 579 | if (A += h, z += h, Me._pinPush = v, L && h && ((r = {})[Se.a] = "+=" + h, y && (r[Se.p] = "-=" + ze()), Le.set([L, R], r)), pe) r = va(pe), o = Se === pt, i = ze(), Z = parseFloat(H(Se.a)) + v, !g && 1 < z && ((Ee ? Fe : Oe).style["overflow-" + Se.a] = "scroll"), jb(pe, U, r), K = mb(pe), n = dt(pe, !0), c = _e && P(Oe, o ? ft : pt)(), de && (($ = [de + Se.os2, B + v + ut]).t = U, (S = de === st ? za(pe, Se) + B + v : 0) && $.push(Se.d, S + ut), xt($), _e && ze(ne)), _e && ((a = { 580 | top: n.top + (o ? i - A : c) + ut, 581 | left: n.left + (o ? c : i - A) + ut, 582 | boxSizing: "border-box", 583 | position: "fixed" 584 | })[tt] = a.maxWidth = Math.ceil(n.width) + ut, a[rt] = a.maxHeight = Math.ceil(n.height) + ut, a[lt] = a[lt + ot] = a[lt + nt] = a[lt + at] = a[lt + it] = "0", a[st] = r[st], a[st + ot] = r[st + ot], a[st + nt] = r[st + nt], a[st + at] = r[st + at], a[st + it] = r[st + it], j = function _copyState(e, t, r) { 585 | for (var n, i = [], o = e.length, a = r ? 8 : 0; a < o; a += 2) n = e[a], i.push(n, n in t ? t[n] : e[a + 1]); 586 | return i.t = e.t, i 587 | }(D, a, be)), k ? (u = k._initted, Ke(1), k.render(k.duration(), !0, !0), q = H(Se.a) - Z + B + v, B !== q && j.splice(j.length - 2, 2), k.render(0, !0, !0), u || k.invalidate(), Ke(0)) : q = B; 588 | else if (fe && ze() && !xe) 589 | for (n = fe.parentNode; n && n !== Fe;) n._pinOffset && (A -= n._pinOffset, z -= n._pinOffset), n = n.parentNode; 590 | f && f.forEach(function(e) { 591 | return e.revert(!1) 592 | }), Me.start = A, Me.end = z, C = M = ze(), xe || (C < ne && ze(ne), Me.scroll.rec = 0), Me.revert(!1), Xe = 0, k && Te && k._initted && k.progress() !== ie && k.progress(ie, !0).render(k.time(), !0, !0), re !== Me.progress && (ee && k.totalProgress(re, !0), Me.progress = re, Me.update(0, 0, 1)), pe && de && (U._pinOffset = Math.round(Me.progress * q)), ce && ce(Me) 593 | } 594 | }, Me.getVelocity = function() { 595 | return (ze() - M) / (qe() - De) * 1e3 || 0 596 | }, Me.endAnimation = function() { 597 | _(Me.callbackAnimation), k && (ee ? ee.progress(1) : k.paused() ? Te || _(k, Me.direction < 0, 1) : _(k, k.reversed())) 598 | }, Me.getTrailing = function() { 599 | var e = vt.indexOf(Me); 600 | return 0 < Me.direction ? vt.slice(0, e).reverse() : vt.slice(e + 1) 601 | }, Me.update = function(e, t, r) { 602 | if (!xe || r || e) { 603 | var n, i, o, a, s, l, c, u = Me.scroll(), 604 | f = e ? 0 : (u - A) / B, 605 | p = f < 0 ? 0 : 1 < f ? 1 : f || 0, 606 | d = Me.progress; 607 | if (t && (M = C, C = xe ? ze() : u, me && (G = S, S = k && !Te ? k.totalProgress() : p)), he && !p && pe && !Xe && !Ye && $e && A < u + (u - M) / (qe() - De) * he && (p = 1e-4), p !== d && Me.enabled) { 608 | if (a = (s = (n = Me.isActive = !!p && p < 1) != (!!d && d < 1)) || !!p != !!d, Me.direction = d < p ? 1 : -1, Me.progress = p, a && !Xe && (i = p && !d ? 0 : 1 === p ? 1 : 1 === d ? 2 : 3, Te && (o = !s && "none" !== Ce[i + 1] && Ce[i + 1] || Ce[i], c = k && ("complete" === o || "reset" === o || o in k))), we && s && (c || ue || !k) && (W(we) ? we(Me) : Me.getTrailing().forEach(function(e) { 609 | return e.endAnimation() 610 | })), Te || (!ee || Xe || Ye ? k && k.totalProgress(p, !!Xe) : (ee.vars.totalProgress = p, ee.invalidate().restart())), pe) 611 | if (e && de && (U.style[de + Se.os2] = x), _e) { 612 | if (a) { 613 | if (l = !e && d < p && u < z + 1 && u + 1 >= T(Oe, Se), be) 614 | if (e || !n && !l) rb(pe, U); 615 | else { 616 | var g = dt(pe, !0), 617 | h = u - A; 618 | rb(pe, Fe, g.top + (Se === pt ? h : 0) + ut, g.left + (Se === pt ? 0 : h) + ut) 619 | } 620 | xt(n || l ? j : K), q !== B && p < 1 && n || b(Z + (1 !== p || l ? 0 : q)) 621 | } 622 | } else b(Z + q * p); 623 | !me || m.tween || Xe || Ye || te.restart(!0), se && (s || ve && p && (p < 1 || !Ue)) && Be(se.targets).forEach(function(e) { 624 | return e.classList[n || ve ? "add" : "remove"](se.className) 625 | }), !ae || Te || e || ae(Me), a && !Xe ? (Te && (c && ("complete" === o ? k.pause().totalProgress(1) : "reset" === o ? k.restart(!0).pause() : "restart" === o ? k.restart(!0) : k[o]()), ae && ae(Me)), !s && Ue || (le && s && aa(Me, le), ke[i] && aa(Me, ke[i]), ve && (1 === p ? Me.kill(!1, 1) : ke[i] = 0), s || ke[i = 1 === p ? 1 : 3] && aa(Me, ke[i])), ye && !n && Math.abs(Me.getVelocity()) > (X(ye) ? ye : 2500) && (_(Me.callbackAnimation), ee ? ee.progress(1) : _(k, !p, 1))) : Te && ae && !Xe && ae(Me) 626 | } 627 | if (w) { 628 | var v = xe ? u / xe.duration() * (xe._caScrollDist || 0) : u; 629 | y(v + (I._isFlipped ? 1 : 0)), w(v) 630 | } 631 | oe && oe(-u / xe.duration() * (xe._caScrollDist || 0)) 632 | } 633 | }, Me.enable = function(e, t) { 634 | Me.enabled || (Me.enabled = !0, Ea(Oe, "resize", Qa), Ea(Oe, "scroll", Pa), u && Ea(ScrollTrigger, "refreshInit", u), !1 !== e && (Me.progress = re = 0, C = M = g = ze()), !1 !== t && Me.refresh()) 635 | }, Me.getTween = function(e) { 636 | return e && m ? m.tween : ee 637 | }, Me.disable = function(e, t) { 638 | if (Me.enabled && (!1 !== e && Me.revert(), Me.enabled = Me.isActive = !1, t || ee && ee.pause(), ne = 0, n && (n.uncache = 1), u && Fa(ScrollTrigger, "refreshInit", u), te && (te.pause(), m.tween && m.tween.kill() && (m.tween = 0)), !Ee)) { 639 | for (var r = vt.length; r--;) 640 | if (vt[r].scroller === Oe && vt[r] !== Me) return; 641 | Fa(Oe, "resize", Qa), Fa(Oe, "scroll", Pa) 642 | } 643 | }, Me.kill = function(e, t) { 644 | Me.disable(e, t), ee && ee.kill(), o && delete mt[o]; 645 | var r = vt.indexOf(Me); 646 | vt.splice(r, 1), r === Je && 0 < bt && Je--, r = 0, vt.forEach(function(e) { 647 | return e.scroller === Me.scroller && (r = 1) 648 | }), r || (Me.scroll.rec = 0), k && (k.scrollTrigger = null, e && k.render(-1), t || k.kill()), L && [L, R, I, F].forEach(function(e) { 649 | return e.parentNode && e.parentNode.removeChild(e) 650 | }), pe && (n && (n.uncache = 1), r = 0, vt.forEach(function(e) { 651 | return e.pin === pe && r++ 652 | }), r || (n.spacer = 0)) 653 | }, Me.enable(!1, !1), k && k.add && !B ? Le.delayedCall(.01, function() { 654 | return A || z || Me.refresh() 655 | }) && (B = .01) && (A = z = 0) : Me.refresh() 656 | } else this.update = this.refresh = this.kill = J 657 | }, ScrollTrigger.register = function register(e) { 658 | if (!o && (Le = e || M(), L() && window.document && (Ne = window, Re = document, Ie = Re.documentElement, Fe = Re.body), Le && (Be = Le.utils.toArray, Ve = Le.utils.clamp, Ke = Le.core.suppressOverwrites || J, Le.core.globals("ScrollTrigger", ScrollTrigger), Fe))) { 659 | s = Ne.requestAnimationFrame || function(e) { 660 | return setTimeout(e, 16) 661 | }, Ea(Ne, "wheel", Pa), i = [Ne, Re, Ie, Fe], Ea(Re, "scroll", Pa); 662 | var t, r = Fe.style, 663 | n = r.borderTopStyle; 664 | r.borderTopStyle = "solid", t = dt(Fe), pt.m = Math.round(t.top + pt.sc()) || 0, ft.m = Math.round(t.left + ft.sc()) || 0, n ? r.borderTopStyle = n : r.removeProperty("border-top-style"), c = setInterval(Oa, 200), Le.delayedCall(.5, function() { 665 | return Ye = 0 666 | }), Ea(Re, "touchcancel", J), Ea(Fe, "touchstart", J), Da(Ea, Re, "pointerdown,touchstart,mousedown", function() { 667 | return je = 1 668 | }), Da(Ea, Re, "pointerup,touchend,mouseup", function() { 669 | return je = 0 670 | }), u = Le.utils.checkPrefix("transform"), q.push(u), o = qe(), a = Le.delayedCall(.2, B).pause(), d = [Re, "visibilitychange", function() { 671 | var e = Ne.innerWidth, 672 | t = Ne.innerHeight; 673 | Re.hidden ? (f = e, p = t) : f === e && p === t || Qa() 674 | }, Re, "DOMContentLoaded", B, Ne, "load", function() { 675 | return $e || B() 676 | }, Ne, "resize", Qa], U(Ea) 677 | } 678 | return o 679 | }, ScrollTrigger.defaults = function defaults(e) { 680 | for (var t in e) ht[t] = e[t] 681 | }, ScrollTrigger.kill = function kill() { 682 | Ge = 0, vt.slice(0).forEach(function(e) { 683 | return e.kill(1) 684 | }) 685 | }, ScrollTrigger.config = function config(e) { 686 | "limitCallbacks" in e && (Ue = !!e.limitCallbacks); 687 | var t = e.syncInterval; 688 | t && clearInterval(c) || (c = t) && setInterval(Oa, t), "autoRefreshEvents" in e && (U(Fa) || U(Ea, e.autoRefreshEvents || "none"), r = -1 === (e.autoRefreshEvents + "").indexOf("resize")) 689 | }, ScrollTrigger.scrollerProxy = function scrollerProxy(e, t) { 690 | var r = Be(e)[0], 691 | n = v.indexOf(r), 692 | i = N(r); 693 | ~n && v.splice(n, i ? 6 : 2), i ? Ze.unshift(Ne, t, Fe, t, Ie, t) : Ze.unshift(r, t) 694 | }, ScrollTrigger.matchMedia = function matchMedia(e) { 695 | var t, r, n, i, o; 696 | for (r in e) n = A.indexOf(r), i = e[r], "all" === (He = r) ? i() : (t = Ne.matchMedia(r)) && (t.matches && (o = i()), ~n ? (A[n + 1] = $(A[n + 1], i), A[n + 2] = $(A[n + 2], o)) : (n = A.length, A.push(r, i, o), t.addListener ? t.addListener(Wa) : t.addEventListener("change", Wa)), A[n + 3] = t.matches), He = 0; 697 | return A 698 | }, ScrollTrigger.clearMatchMedia = function clearMatchMedia(e) { 699 | e || (A.length = 0), 0 <= (e = A.indexOf(e)) && A.splice(e, 4) 700 | }, ScrollTrigger.isInViewport = function isInViewport(e, t, r) { 701 | var n = (V(e) ? Be(e)[0] : e).getBoundingClientRect(), 702 | i = n[r ? tt : rt] * t || 0; 703 | return r ? 0 < n.right - i && n.left + i < Ne.innerWidth : 0 < n.bottom - i && n.top + i < Ne.innerHeight 704 | }, ScrollTrigger.positionInViewport = function positionInViewport(e, t, r) { 705 | V(e) && (e = Be(e)[0]); 706 | var n = e.getBoundingClientRect(), 707 | i = n[r ? tt : rt], 708 | o = null == t ? i / 2 : t in S ? S[t] * i : ~t.indexOf("%") ? parseFloat(t) * i / 100 : parseFloat(t) || 0; 709 | return r ? (n.left + o) / Ne.innerWidth : (n.top + o) / Ne.innerHeight 710 | }, ScrollTrigger); 711 | 712 | function ScrollTrigger(e, t) { 713 | o || ScrollTrigger.register(Le) || console.warn("Please gsap.registerPlugin(ScrollTrigger)"), this.init(e, t) 714 | } 715 | te.version = "3.8.0", te.saveStyles = function(e) { 716 | return e ? Be(e).forEach(function(e) { 717 | if (e && e.style) { 718 | var t = R.indexOf(e); 719 | 0 <= t && R.splice(t, 5), R.push(e, e.style.cssText, e.getBBox && e.getAttribute("transform"), Le.core.getCache(e), He) 720 | } 721 | }) : R 722 | }, te.revert = function(e, t) { 723 | return F(!e, t) 724 | }, te.create = function(e, t) { 725 | return new te(e, t) 726 | }, te.refresh = function(e) { 727 | return e ? Qa() : B(!0) 728 | }, te.update = j, te.clearScrollMemory = ab, te.maxScroll = function(e, t) { 729 | return T(e, t ? ft : pt) 730 | }, te.getScrollFunc = function(e, t) { 731 | return P(Be(e)[0], t ? ft : pt) 732 | }, te.getById = function(e) { 733 | return mt[e] 734 | }, te.getAll = function() { 735 | return vt.slice(0) 736 | }, te.isScrolling = function() { 737 | return !!$e 738 | }, te.addEventListener = function(e, t) { 739 | var r = k[e] || (k[e] = []); 740 | ~r.indexOf(t) || r.push(t) 741 | }, te.removeEventListener = function(e, t) { 742 | var r = k[e], 743 | n = r && r.indexOf(t); 744 | 0 <= n && r.splice(n, 1) 745 | }, te.batch = function(e, t) { 746 | function wj(e, t) { 747 | var r = [], 748 | n = [], 749 | i = Le.delayedCall(o, function() { 750 | t(r, n), r = [], n = [] 751 | }).pause(); 752 | return function(e) { 753 | r.length || i.restart(!0), r.push(e.trigger), n.push(e), a <= r.length && i.progress(1) 754 | } 755 | } 756 | var r, n = [], 757 | i = {}, 758 | o = t.interval || .016, 759 | a = t.batchMax || 1e9; 760 | for (r in t) i[r] = "on" === r.substr(0, 2) && W(t[r]) && "onRefreshInit" !== r ? wj(0, t[r]) : t[r]; 761 | return W(a) && (a = a(), Ea(te, "refresh", function() { 762 | return a = t.batchMax() 763 | })), Be(e).forEach(function(e) { 764 | var t = {}; 765 | for (r in i) t[r] = i[r]; 766 | t.trigger = e, n.push(te.create(t)) 767 | }), n 768 | }, te.sort = function(e) { 769 | return vt.sort(e || function(e, t) { 770 | return -1e6 * (e.vars.refreshPriority || 0) + e.start - (t.start + -1e6 * (t.vars.refreshPriority || 0)) 771 | }) 772 | }, M() && Le.registerPlugin(te), e.ScrollTrigger = te, e.default = te; 773 | if (typeof(window) === "undefined" || window !== e) { 774 | Object.defineProperty(e, "__esModule", { 775 | value: !0 776 | }) 777 | } else { 778 | delete e.default 779 | } 780 | }); -------------------------------------------------------------------------------- /assets/js/font-awesome.min.js: -------------------------------------------------------------------------------- 1 | window.FontAwesomeKitConfig = { 2 | "asyncLoading": { 3 | "enabled": false 4 | }, 5 | "autoA11y": { 6 | "enabled": true 7 | }, 8 | "baseUrl": "https://ka-f.fontawesome.com", 9 | "detectConflictsUntil": null, 10 | "iconUploads": {}, 11 | "license": "free", 12 | "method": "css", 13 | "minify": { 14 | "enabled": true 15 | }, 16 | "token": "b64a597180", 17 | "v4FontFaceShim": { 18 | "enabled": true 19 | }, 20 | "v4shim": { 21 | "enabled": true 22 | }, 23 | "version": "5.15.1" 24 | }; 25 | ! function(t) { 26 | "function" == typeof define && define.amd ? define(t) : t() 27 | }((function() { 28 | "use strict"; 29 | 30 | function t(e) { 31 | return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 32 | return typeof t 33 | } : function(t) { 34 | return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 35 | })(e) 36 | } 37 | 38 | function e(t, e, n) { 39 | return e in t ? Object.defineProperty(t, e, { 40 | value: n, 41 | enumerable: !0, 42 | configurable: !0, 43 | writable: !0 44 | }) : t[e] = n, t 45 | } 46 | 47 | function n(t, e) { 48 | var n = Object.keys(t); 49 | if (Object.getOwnPropertySymbols) { 50 | var o = Object.getOwnPropertySymbols(t); 51 | e && (o = o.filter((function(e) { 52 | return Object.getOwnPropertyDescriptor(t, e).enumerable 53 | }))), n.push.apply(n, o) 54 | } 55 | return n 56 | } 57 | 58 | function o(t) { 59 | for (var o = 1; o < arguments.length; o++) { 60 | var r = null != arguments[o] ? arguments[o] : {}; 61 | o % 2 ? n(Object(r), !0).forEach((function(n) { 62 | e(t, n, r[n]) 63 | })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach((function(e) { 64 | Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e)) 65 | })) 66 | } 67 | return t 68 | } 69 | 70 | function r(t, e) { 71 | return function(t) { 72 | if (Array.isArray(t)) return t 73 | }(t) || function(t, e) { 74 | if (!(Symbol.iterator in Object(t) || "[object Arguments]" === Object.prototype.toString.call(t))) return; 75 | var n = [], 76 | o = !0, 77 | r = !1, 78 | i = void 0; 79 | try { 80 | for (var c, a = t[Symbol.iterator](); !(o = (c = a.next()).done) && (n.push(c.value), !e || n.length !== e); o = !0); 81 | } catch (t) { 82 | r = !0, i = t 83 | } finally { 84 | try { 85 | o || null == a.return || a.return() 86 | } finally { 87 | if (r) throw i 88 | } 89 | } 90 | return n 91 | }(t, e) || function() { 92 | throw new TypeError("Invalid attempt to destructure non-iterable instance") 93 | }() 94 | } 95 | 96 | function i(t, e) { 97 | var n = e && e.addOn || "", 98 | o = e && e.baseFilename || t.license + n, 99 | r = e && e.minify ? ".min" : "", 100 | i = e && e.fileSuffix || t.method, 101 | c = e && e.subdir || t.method; 102 | return t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/" + c + "/" + o + r + "." + i 103 | } 104 | 105 | function c(t, e) { 106 | var n = e || ["fa"], 107 | o = "." + Array.prototype.join.call(n, ",."), 108 | r = t.querySelectorAll(o); 109 | Array.prototype.forEach.call(r, (function(e) { 110 | var n = e.getAttribute("title"); 111 | e.setAttribute("aria-hidden", "true"); 112 | var o = !e.nextElementSibling || !e.nextElementSibling.classList.contains("sr-only"); 113 | if (n && o) { 114 | var r = t.createElement("span"); 115 | r.innerHTML = n, r.classList.add("sr-only"), e.parentNode.insertBefore(r, e.nextSibling) 116 | } 117 | })) 118 | } 119 | var a, u = function() {}, 120 | f = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, 121 | s = "undefined" == typeof setImmediate ? setTimeout : setImmediate, 122 | d = []; 123 | 124 | function l() { 125 | for (var t = 0; t < d.length; t++) d[t][0](d[t][1]); 126 | d = [], a = !1 127 | } 128 | 129 | function h(t, e) { 130 | d.push([t, e]), a || (a = !0, s(l, 0)) 131 | } 132 | 133 | function m(t) { 134 | var e = t.owner, 135 | n = e._state, 136 | o = e._data, 137 | r = t[n], 138 | i = t.then; 139 | if ("function" == typeof r) { 140 | n = "fulfilled"; 141 | try { 142 | o = r(o) 143 | } catch (t) { 144 | b(i, t) 145 | } 146 | } 147 | p(i, o) || ("fulfilled" === n && v(i, o), "rejected" === n && b(i, o)) 148 | } 149 | 150 | function p(e, n) { 151 | var o; 152 | try { 153 | if (e === n) throw new TypeError("A promises callback cannot return that same promise."); 154 | if (n && ("function" == typeof n || "object" === t(n))) { 155 | var r = n.then; 156 | if ("function" == typeof r) return r.call(n, (function(t) { 157 | o || (o = !0, n === t ? y(e, t) : v(e, t)) 158 | }), (function(t) { 159 | o || (o = !0, b(e, t)) 160 | })), !0 161 | } 162 | } catch (t) { 163 | return o || b(e, t), !0 164 | } 165 | return !1 166 | } 167 | 168 | function v(t, e) { 169 | t !== e && p(t, e) || y(t, e) 170 | } 171 | 172 | function y(t, e) { 173 | "pending" === t._state && (t._state = "settled", t._data = e, h(w, t)) 174 | } 175 | 176 | function b(t, e) { 177 | "pending" === t._state && (t._state = "settled", t._data = e, h(A, t)) 178 | } 179 | 180 | function g(t) { 181 | t._then = t._then.forEach(m) 182 | } 183 | 184 | function w(t) { 185 | t._state = "fulfilled", g(t) 186 | } 187 | 188 | function A(t) { 189 | t._state = "rejected", g(t), !t._handled && f && global.process.emit("unhandledRejection", t._data, t) 190 | } 191 | 192 | function O(t) { 193 | global.process.emit("rejectionHandled", t) 194 | } 195 | 196 | function j(t) { 197 | if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function"); 198 | if (this instanceof j == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); 199 | this._then = [], 200 | function(t, e) { 201 | function n(t) { 202 | b(e, t) 203 | } 204 | try { 205 | t((function(t) { 206 | v(e, t) 207 | }), n) 208 | } catch (t) { 209 | n(t) 210 | } 211 | }(t, this) 212 | } 213 | j.prototype = { 214 | constructor: j, 215 | _state: "pending", 216 | _then: null, 217 | _data: void 0, 218 | _handled: !1, 219 | then: function(t, e) { 220 | var n = { 221 | owner: this, 222 | then: new this.constructor(u), 223 | fulfilled: t, 224 | rejected: e 225 | }; 226 | return !e && !t || this._handled || (this._handled = !0, "rejected" === this._state && f && h(O, this)), "fulfilled" === this._state || "rejected" === this._state ? h(m, n) : this._then.push(n), n.then 227 | }, 228 | catch: function(t) { 229 | return this.then(null, t) 230 | } 231 | }, j.all = function(t) { 232 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.all()."); 233 | return new j((function(e, n) { 234 | var o = [], 235 | r = 0; 236 | 237 | function i(t) { 238 | return r++, 239 | function(n) { 240 | o[t] = n, --r || e(o) 241 | } 242 | } 243 | for (var c, a = 0; a < t.length; a++)(c = t[a]) && "function" == typeof c.then ? c.then(i(a), n) : o[a] = c; 244 | r || e(o) 245 | })) 246 | }, j.race = function(t) { 247 | if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.race()."); 248 | return new j((function(e, n) { 249 | for (var o, r = 0; r < t.length; r++)(o = t[r]) && "function" == typeof o.then ? o.then(e, n) : e(o) 250 | })) 251 | }, j.resolve = function(e) { 252 | return e && "object" === t(e) && e.constructor === j ? e : new j((function(t) { 253 | t(e) 254 | })) 255 | }, j.reject = function(t) { 256 | return new j((function(e, n) { 257 | n(t) 258 | })) 259 | }; 260 | var S = "function" == typeof Promise ? Promise : j; 261 | 262 | function E(t, n) { 263 | var o = n.fetch, 264 | r = n.XMLHttpRequest, 265 | i = n.token; 266 | return new S((function(n, c) { 267 | if ("function" == typeof o) o(t, { 268 | mode: "cors", 269 | cache: "default", 270 | headers: new Headers(e({}, "fa-kit-token", i)) 271 | }).then((function(t) { 272 | if (t.ok) return t.text(); 273 | throw new Error("") 274 | })).then((function(t) { 275 | n(t) 276 | })).catch(c); 277 | else if ("function" == typeof r) { 278 | var a = new r; 279 | a.addEventListener("loadend", (function() { 280 | this.responseText ? n(this.responseText) : c(new Error("")) 281 | })); 282 | ["abort", "error", "timeout"].map((function(t) { 283 | a.addEventListener(t, (function() { 284 | c(new Error("")) 285 | })) 286 | })), a.open("GET", t), a.setRequestHeader("fa-kit-token", i), a.send() 287 | } else { 288 | c(new Error("")) 289 | } 290 | })) 291 | } 292 | 293 | function _(t, e) { 294 | var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function() {}, 295 | r = e.document || r, 296 | a = c.bind(c, r, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]); 297 | t.autoA11y.enabled && n(a); 298 | var u = [{ 299 | id: "fa-main", 300 | addOn: void 0 301 | }]; 302 | t.v4shim.enabled && u.push({ 303 | id: "fa-v4-shims", 304 | addOn: "-v4-shims" 305 | }), t.v4FontFaceShim.enabled && u.push({ 306 | id: "fa-v4-font-face", 307 | addOn: "-v4-font-face" 308 | }); 309 | var f = u.map((function(n) { 310 | return new S((function(r, c) { 311 | E(i(t, { 312 | addOn: n.addOn, 313 | minify: t.minify.enabled 314 | }), e).then((function(i) { 315 | r(P(i, o({}, e, { 316 | baseUrl: t.baseUrl, 317 | version: t.version, 318 | id: n.id 319 | }))) 320 | })).catch(c) 321 | })) 322 | })); 323 | return S.all(f) 324 | } 325 | 326 | function P(t, e) { 327 | var n = document.createElement("style"), 328 | o = document.createTextNode(function(t, e, n) { 329 | var o = t; 330 | return [ 331 | [/(url\("?)\.\.\/\.\.\/\.\./g, function(t, n) { 332 | return "".concat(n).concat(e) 333 | }], 334 | [/(url\("?)\.\.\/webfonts/g, function(t, o) { 335 | return "".concat(o).concat(e, "/releases/v").concat(n, "/webfonts") 336 | }], 337 | [/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g, function(t, n) { 338 | return "".concat(n).concat(e) 339 | }] 340 | ].forEach((function(t) { 341 | var e = r(t, 2), 342 | n = e[0], 343 | i = e[1]; 344 | o = o.replace(n, i) 345 | })), o 346 | }(t, e.baseUrl, e.version)); 347 | return n.appendChild(o), n.media = "all", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n 348 | } 349 | 350 | function F(t, e) { 351 | e.autoA11y = t.autoA11y.enabled, "pro" === t.license && (e.autoFetchSvg = !0, e.fetchSvgFrom = t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/svgs", e.fetchUploadedSvgFrom = t.uploadsUrl); 352 | var n = []; 353 | return t.v4shim.enabled && n.push(new S((function(n, r) { 354 | E(i(t, { 355 | addOn: "-v4-shims", 356 | minify: t.minify.enabled 357 | }), e).then((function(t) { 358 | n(T(t, o({}, e, { 359 | id: "fa-v4-shims" 360 | }))) 361 | })).catch(r) 362 | }))), n.push(new S((function(n, r) { 363 | E(i(t, { 364 | minify: t.minify.enabled 365 | }), e).then((function(t) { 366 | var r = T(t, o({}, e, { 367 | id: "fa-main" 368 | })); 369 | n(function(t, e) { 370 | var n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0, 371 | o = e && void 0 !== e.autoA11y ? e.autoA11y : void 0; 372 | void 0 !== o && t.setAttribute("data-auto-a11y", o ? "true" : "false"); 373 | n && (t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")), t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom), t.setAttribute("data-fetch-uploaded-svg-from", e.fetchUploadedSvgFrom)); 374 | return t 375 | }(r, e)) 376 | })).catch(r) 377 | }))), S.all(n) 378 | } 379 | 380 | function T(t, e) { 381 | var n = document.createElement("SCRIPT"), 382 | o = document.createTextNode(t); 383 | return n.appendChild(o), n.referrerPolicy = "strict-origin", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n 384 | } 385 | 386 | function C(t) { 387 | var e, n = [], 388 | o = document, 389 | r = o.documentElement.doScroll, 390 | i = (r ? /^loaded|^c/ : /^loaded|^i|^c/).test(o.readyState); 391 | i || o.addEventListener("DOMContentLoaded", e = function() { 392 | for (o.removeEventListener("DOMContentLoaded", e), i = 1; e = n.shift();) e() 393 | }), i ? setTimeout(t, 0) : n.push(t) 394 | } 395 | 396 | function L(t) { 397 | "undefined" != typeof MutationObserver && new MutationObserver(t).observe(document, { 398 | childList: !0, 399 | subtree: !0 400 | }) 401 | } 402 | try { 403 | if (window.FontAwesomeKitConfig) { 404 | var k = window.FontAwesomeKitConfig, 405 | x = { 406 | detectingConflicts: k.detectConflictsUntil && new Date <= new Date(k.detectConflictsUntil), 407 | detectionIgnoreAttr: "data-fa-detection-ignore", 408 | fetch: window.fetch, 409 | token: k.token, 410 | XMLHttpRequest: window.XMLHttpRequest, 411 | document: document 412 | }, 413 | I = document.currentScript, 414 | U = I ? I.parentElement : document.head; 415 | (function() { 416 | var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, 417 | e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; 418 | return "js" === t.method ? F(t, e) : "css" === t.method ? _(t, e, (function(t) { 419 | C(t), L(t) 420 | })) : void 0 421 | })(k, x).then((function(t) { 422 | t.map((function(t) { 423 | U.insertBefore(t, I ? I.nextSibling : null) 424 | })), x.detectingConflicts && I && C((function() { 425 | I.setAttributeNode(document.createAttribute(x.detectionIgnoreAttr)); 426 | var t = function(t, e) { 427 | var n = document.createElement("script"); 428 | return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = i(t, { 429 | baseFilename: "conflict-detection", 430 | fileSuffix: "js", 431 | subdir: "js", 432 | minify: t.minify.enabled 433 | }), n 434 | }(k, x); 435 | document.body.appendChild(t) 436 | })) 437 | })).catch((function(t) { 438 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 439 | })) 440 | } 441 | } catch (t) { 442 | console.error("".concat("Font Awesome Kit:", " ").concat(t)) 443 | } 444 | })); -------------------------------------------------------------------------------- /assets/js/parallax.min.js: -------------------------------------------------------------------------------- 1 | ! function(t) { 2 | if ("object" == typeof exports && "undefined" != typeof module) module.exports = t(); 3 | else if ("function" == typeof define && define.amd) define([], t); 4 | else { 5 | ("undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this).Parallax = t() 6 | } 7 | }(function() { 8 | return function t(e, i, n) { 9 | function o(r, a) { 10 | if (!i[r]) { 11 | if (!e[r]) { 12 | var l = "function" == typeof require && require; 13 | if (!a && l) return l(r, !0); 14 | if (s) return s(r, !0); 15 | var h = new Error("Cannot find module '" + r + "'"); 16 | throw h.code = "MODULE_NOT_FOUND", h 17 | } 18 | var u = i[r] = { 19 | exports: {} 20 | }; 21 | e[r][0].call(u.exports, function(t) { 22 | var i = e[r][1][t]; 23 | return o(i || t) 24 | }, u, u.exports, t, e, i, n) 25 | } 26 | return i[r].exports 27 | } 28 | for (var s = "function" == typeof require && require, r = 0; r < n.length; r++) o(n[r]); 29 | return o 30 | }({ 31 | 1: [function(t, e, i) { 32 | "use strict"; 33 | 34 | function n(t) { 35 | if (null === t || void 0 === t) throw new TypeError("Object.assign cannot be called with null or undefined"); 36 | return Object(t) 37 | } 38 | var o = Object.getOwnPropertySymbols, 39 | s = Object.prototype.hasOwnProperty, 40 | r = Object.prototype.propertyIsEnumerable; 41 | e.exports = function() { 42 | try { 43 | if (!Object.assign) return !1; 44 | var t = new String("abc"); 45 | if (t[5] = "de", "5" === Object.getOwnPropertyNames(t)[0]) return !1; 46 | for (var e = {}, i = 0; i < 10; i++) e["_" + String.fromCharCode(i)] = i; 47 | if ("0123456789" !== Object.getOwnPropertyNames(e).map(function(t) { 48 | return e[t] 49 | }).join("")) return !1; 50 | var n = {}; 51 | return "abcdefghijklmnopqrst".split("").forEach(function(t) { 52 | n[t] = t 53 | }), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, n)).join("") 54 | } catch (t) { 55 | return !1 56 | } 57 | }() ? Object.assign : function(t, e) { 58 | for (var i, a, l = n(t), h = 1; h < arguments.length; h++) { 59 | i = Object(arguments[h]); 60 | for (var u in i) s.call(i, u) && (l[u] = i[u]); 61 | if (o) { 62 | a = o(i); 63 | for (var c = 0; c < a.length; c++) r.call(i, a[c]) && (l[a[c]] = i[a[c]]) 64 | } 65 | } 66 | return l 67 | } 68 | }, {}], 69 | 2: [function(t, e, i) { 70 | (function(t) { 71 | (function() { 72 | var i, n, o, s, r, a; 73 | "undefined" != typeof performance && null !== performance && performance.now ? e.exports = function() { 74 | return performance.now() 75 | } : void 0 !== t && null !== t && t.hrtime ? (e.exports = function() { 76 | return (i() - r) / 1e6 77 | }, n = t.hrtime, s = (i = function() { 78 | var t; 79 | return 1e9 * (t = n())[0] + t[1] 80 | })(), a = 1e9 * t.uptime(), r = s - a) : Date.now ? (e.exports = function() { 81 | return Date.now() - o 82 | }, o = Date.now()) : (e.exports = function() { 83 | return (new Date).getTime() - o 84 | }, o = (new Date).getTime()) 85 | }).call(this) 86 | }).call(this, t("_process")) 87 | }, { 88 | _process: 3 89 | }], 90 | 3: [function(t, e, i) { 91 | function n() { 92 | throw new Error("setTimeout has not been defined") 93 | } 94 | 95 | function o() { 96 | throw new Error("clearTimeout has not been defined") 97 | } 98 | 99 | function s(t) { 100 | if (c === setTimeout) return setTimeout(t, 0); 101 | if ((c === n || !c) && setTimeout) return c = setTimeout, setTimeout(t, 0); 102 | try { 103 | return c(t, 0) 104 | } catch (e) { 105 | try { 106 | return c.call(null, t, 0) 107 | } catch (e) { 108 | return c.call(this, t, 0) 109 | } 110 | } 111 | } 112 | 113 | function r(t) { 114 | if (d === clearTimeout) return clearTimeout(t); 115 | if ((d === o || !d) && clearTimeout) return d = clearTimeout, clearTimeout(t); 116 | try { 117 | return d(t) 118 | } catch (e) { 119 | try { 120 | return d.call(null, t) 121 | } catch (e) { 122 | return d.call(this, t) 123 | } 124 | } 125 | } 126 | 127 | function a() { 128 | v && p && (v = !1, p.length ? f = p.concat(f) : y = -1, f.length && l()) 129 | } 130 | 131 | function l() { 132 | if (!v) { 133 | var t = s(a); 134 | v = !0; 135 | for (var e = f.length; e;) { 136 | for (p = f, f = []; ++y < e;) p && p[y].run(); 137 | y = -1, e = f.length 138 | } 139 | p = null, v = !1, r(t) 140 | } 141 | } 142 | 143 | function h(t, e) { 144 | this.fun = t, this.array = e 145 | } 146 | 147 | function u() {} 148 | var c, d, m = e.exports = {}; 149 | ! function() { 150 | try { 151 | c = "function" == typeof setTimeout ? setTimeout : n 152 | } catch (t) { 153 | c = n 154 | } 155 | try { 156 | d = "function" == typeof clearTimeout ? clearTimeout : o 157 | } catch (t) { 158 | d = o 159 | } 160 | }(); 161 | var p, f = [], 162 | v = !1, 163 | y = -1; 164 | m.nextTick = function(t) { 165 | var e = new Array(arguments.length - 1); 166 | if (arguments.length > 1) 167 | for (var i = 1; i < arguments.length; i++) e[i - 1] = arguments[i]; 168 | f.push(new h(t, e)), 1 !== f.length || v || s(l) 169 | }, h.prototype.run = function() { 170 | this.fun.apply(null, this.array) 171 | }, m.title = "browser", m.browser = !0, m.env = {}, m.argv = [], m.version = "", m.versions = {}, m.on = u, m.addListener = u, m.once = u, m.off = u, m.removeListener = u, m.removeAllListeners = u, m.emit = u, m.prependListener = u, m.prependOnceListener = u, m.listeners = function(t) { 172 | return [] 173 | }, m.binding = function(t) { 174 | throw new Error("process.binding is not supported") 175 | }, m.cwd = function() { 176 | return "/" 177 | }, m.chdir = function(t) { 178 | throw new Error("process.chdir is not supported") 179 | }, m.umask = function() { 180 | return 0 181 | } 182 | }, {}], 183 | 4: [function(t, e, i) { 184 | (function(i) { 185 | for (var n = t("performance-now"), o = "undefined" == typeof window ? i : window, s = ["moz", "webkit"], r = "AnimationFrame", a = o["request" + r], l = o["cancel" + r] || o["cancelRequest" + r], h = 0; !a && h < s.length; h++) a = o[s[h] + "Request" + r], l = o[s[h] + "Cancel" + r] || o[s[h] + "CancelRequest" + r]; 186 | if (!a || !l) { 187 | var u = 0, 188 | c = 0, 189 | d = []; 190 | a = function(t) { 191 | if (0 === d.length) { 192 | var e = n(), 193 | i = Math.max(0, 1e3 / 60 - (e - u)); 194 | u = i + e, setTimeout(function() { 195 | var t = d.slice(0); 196 | d.length = 0; 197 | for (var e = 0; e < t.length; e++) 198 | if (!t[e].cancelled) try { 199 | t[e].callback(u) 200 | } catch (t) { 201 | setTimeout(function() { 202 | throw t 203 | }, 0) 204 | } 205 | }, Math.round(i)) 206 | } 207 | return d.push({ 208 | handle: ++c, 209 | callback: t, 210 | cancelled: !1 211 | }), c 212 | }, l = function(t) { 213 | for (var e = 0; e < d.length; e++) d[e].handle === t && (d[e].cancelled = !0) 214 | } 215 | } 216 | e.exports = function(t) { 217 | return a.call(o, t) 218 | }, e.exports.cancel = function() { 219 | l.apply(o, arguments) 220 | }, e.exports.polyfill = function() { 221 | o.requestAnimationFrame = a, o.cancelAnimationFrame = l 222 | } 223 | }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 224 | }, { 225 | "performance-now": 2 226 | }], 227 | 5: [function(t, e, i) { 228 | "use strict"; 229 | 230 | function n(t, e) { 231 | if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") 232 | } 233 | var o = function() { 234 | function t(t, e) { 235 | for (var i = 0; i < e.length; i++) { 236 | var n = e[i]; 237 | n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n) 238 | } 239 | } 240 | return function(e, i, n) { 241 | return i && t(e.prototype, i), n && t(e, n), e 242 | } 243 | }(), 244 | s = t("raf"), 245 | r = t("object-assign"), 246 | a = { 247 | propertyCache: {}, 248 | vendors: [null, ["-webkit-", "webkit"], 249 | ["-moz-", "Moz"], 250 | ["-o-", "O"], 251 | ["-ms-", "ms"] 252 | ], 253 | clamp: function(t, e, i) { 254 | return e < i ? t < e ? e : t > i ? i : t : t < i ? i : t > e ? e : t 255 | }, 256 | data: function(t, e) { 257 | return a.deserialize(t.getAttribute("data-" + e)) 258 | }, 259 | deserialize: function(t) { 260 | return "true" === t || "false" !== t && ("null" === t ? null : !isNaN(parseFloat(t)) && isFinite(t) ? parseFloat(t) : t) 261 | }, 262 | camelCase: function(t) { 263 | return t.replace(/-+(.)?/g, function(t, e) { 264 | return e ? e.toUpperCase() : "" 265 | }) 266 | }, 267 | accelerate: function(t) { 268 | a.css(t, "transform", "translate3d(0,0,0) rotate(0.0001deg)"), a.css(t, "transform-style", "preserve-3d"), a.css(t, "backface-visibility", "hidden") 269 | }, 270 | transformSupport: function(t) { 271 | for (var e = document.createElement("div"), i = !1, n = null, o = !1, s = null, r = null, l = 0, h = a.vendors.length; l < h; l++) 272 | if (null !== a.vendors[l] ? (s = a.vendors[l][0] + "transform", r = a.vendors[l][1] + "Transform") : (s = "transform", r = "transform"), void 0 !== e.style[r]) { 273 | i = !0; 274 | break 275 | } 276 | switch (t) { 277 | case "2D": 278 | o = i; 279 | break; 280 | case "3D": 281 | if (i) { 282 | var u = document.body || document.createElement("body"), 283 | c = document.documentElement, 284 | d = c.style.overflow, 285 | m = !1; 286 | document.body || (m = !0, c.style.overflow = "hidden", c.appendChild(u), u.style.overflow = "hidden", u.style.background = ""), u.appendChild(e), e.style[r] = "translate3d(1px,1px,1px)", o = void 0 !== (n = window.getComputedStyle(e).getPropertyValue(s)) && n.length > 0 && "none" !== n, c.style.overflow = d, u.removeChild(e), m && (u.removeAttribute("style"), u.parentNode.removeChild(u)) 287 | } 288 | } 289 | return o 290 | }, 291 | css: function(t, e, i) { 292 | var n = a.propertyCache[e]; 293 | if (!n) 294 | for (var o = 0, s = a.vendors.length; o < s; o++) 295 | if (n = null !== a.vendors[o] ? a.camelCase(a.vendors[o][1] + "-" + e) : e, void 0 !== t.style[n]) { 296 | a.propertyCache[e] = n; 297 | break 298 | } 299 | t.style[n] = i 300 | } 301 | }, 302 | l = { 303 | relativeInput: !1, 304 | clipRelativeInput: !1, 305 | inputElement: null, 306 | hoverOnly: !1, 307 | calibrationThreshold: 100, 308 | calibrationDelay: 500, 309 | supportDelay: 500, 310 | calibrateX: !1, 311 | calibrateY: !0, 312 | invertX: !0, 313 | invertY: !0, 314 | limitX: !1, 315 | limitY: !1, 316 | scalarX: 10, 317 | scalarY: 10, 318 | frictionX: .1, 319 | frictionY: .1, 320 | originX: .5, 321 | originY: .5, 322 | pointerEvents: !1, 323 | precision: 1, 324 | onReady: null, 325 | selector: null 326 | }, 327 | h = function() { 328 | function t(e, i) { 329 | n(this, t), this.element = e; 330 | var o = { 331 | calibrateX: a.data(this.element, "calibrate-x"), 332 | calibrateY: a.data(this.element, "calibrate-y"), 333 | invertX: a.data(this.element, "invert-x"), 334 | invertY: a.data(this.element, "invert-y"), 335 | limitX: a.data(this.element, "limit-x"), 336 | limitY: a.data(this.element, "limit-y"), 337 | scalarX: a.data(this.element, "scalar-x"), 338 | scalarY: a.data(this.element, "scalar-y"), 339 | frictionX: a.data(this.element, "friction-x"), 340 | frictionY: a.data(this.element, "friction-y"), 341 | originX: a.data(this.element, "origin-x"), 342 | originY: a.data(this.element, "origin-y"), 343 | pointerEvents: a.data(this.element, "pointer-events"), 344 | precision: a.data(this.element, "precision"), 345 | relativeInput: a.data(this.element, "relative-input"), 346 | clipRelativeInput: a.data(this.element, "clip-relative-input"), 347 | hoverOnly: a.data(this.element, "hover-only"), 348 | inputElement: document.querySelector(a.data(this.element, "input-element")), 349 | selector: a.data(this.element, "selector") 350 | }; 351 | for (var s in o) null === o[s] && delete o[s]; 352 | r(this, l, o, i), this.inputElement || (this.inputElement = this.element), this.calibrationTimer = null, this.calibrationFlag = !0, this.enabled = !1, this.depthsX = [], this.depthsY = [], this.raf = null, this.bounds = null, this.elementPositionX = 0, this.elementPositionY = 0, this.elementWidth = 0, this.elementHeight = 0, this.elementCenterX = 0, this.elementCenterY = 0, this.elementRangeX = 0, this.elementRangeY = 0, this.calibrationX = 0, this.calibrationY = 0, this.inputX = 0, this.inputY = 0, this.motionX = 0, this.motionY = 0, this.velocityX = 0, this.velocityY = 0, this.onMouseMove = this.onMouseMove.bind(this), this.onDeviceOrientation = this.onDeviceOrientation.bind(this), this.onDeviceMotion = this.onDeviceMotion.bind(this), this.onOrientationTimer = this.onOrientationTimer.bind(this), this.onMotionTimer = this.onMotionTimer.bind(this), this.onCalibrationTimer = this.onCalibrationTimer.bind(this), this.onAnimationFrame = this.onAnimationFrame.bind(this), this.onWindowResize = this.onWindowResize.bind(this), this.windowWidth = null, this.windowHeight = null, this.windowCenterX = null, this.windowCenterY = null, this.windowRadiusX = null, this.windowRadiusY = null, this.portrait = !1, this.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i), this.motionSupport = !!window.DeviceMotionEvent && !this.desktop, this.orientationSupport = !!window.DeviceOrientationEvent && !this.desktop, this.orientationStatus = 0, this.motionStatus = 0, this.initialise() 353 | } 354 | return o(t, [{ 355 | key: "initialise", 356 | value: function() { 357 | void 0 === this.transform2DSupport && (this.transform2DSupport = a.transformSupport("2D"), this.transform3DSupport = a.transformSupport("3D")), this.transform3DSupport && a.accelerate(this.element), "static" === window.getComputedStyle(this.element).getPropertyValue("position") && (this.element.style.position = "relative"), this.pointerEvents || (this.element.style.pointerEvents = "none"), this.updateLayers(), this.updateDimensions(), this.enable(), this.queueCalibration(this.calibrationDelay) 358 | } 359 | }, { 360 | key: "doReadyCallback", 361 | value: function() { 362 | this.onReady && this.onReady() 363 | } 364 | }, { 365 | key: "updateLayers", 366 | value: function() { 367 | this.selector ? this.layers = this.element.querySelectorAll(this.selector) : this.layers = this.element.children, this.layers.length || console.warn("ParallaxJS: Your scene does not have any layers."), this.depthsX = [], this.depthsY = []; 368 | for (var t = 0; t < this.layers.length; t++) { 369 | var e = this.layers[t]; 370 | this.transform3DSupport && a.accelerate(e), e.style.position = t ? "absolute" : "relative", e.style.display = "block", e.style.left = 0, e.style.top = 0; 371 | var i = a.data(e, "depth") || 0; 372 | this.depthsX.push(a.data(e, "depth-x") || i), this.depthsY.push(a.data(e, "depth-y") || i) 373 | } 374 | } 375 | }, { 376 | key: "updateDimensions", 377 | value: function() { 378 | this.windowWidth = window.innerWidth, this.windowHeight = window.innerHeight, this.windowCenterX = this.windowWidth * this.originX, this.windowCenterY = this.windowHeight * this.originY, this.windowRadiusX = Math.max(this.windowCenterX, this.windowWidth - this.windowCenterX), this.windowRadiusY = Math.max(this.windowCenterY, this.windowHeight - this.windowCenterY) 379 | } 380 | }, { 381 | key: "updateBounds", 382 | value: function() { 383 | this.bounds = this.inputElement.getBoundingClientRect(), this.elementPositionX = this.bounds.left, this.elementPositionY = this.bounds.top, this.elementWidth = this.bounds.width, this.elementHeight = this.bounds.height, this.elementCenterX = this.elementWidth * this.originX, this.elementCenterY = this.elementHeight * this.originY, this.elementRangeX = Math.max(this.elementCenterX, this.elementWidth - this.elementCenterX), this.elementRangeY = Math.max(this.elementCenterY, this.elementHeight - this.elementCenterY) 384 | } 385 | }, { 386 | key: "queueCalibration", 387 | value: function(t) { 388 | clearTimeout(this.calibrationTimer), this.calibrationTimer = setTimeout(this.onCalibrationTimer, t) 389 | } 390 | }, { 391 | key: "enable", 392 | value: function() { 393 | this.enabled || (this.enabled = !0, this.orientationSupport ? (this.portrait = !1, window.addEventListener("deviceorientation", this.onDeviceOrientation), this.detectionTimer = setTimeout(this.onOrientationTimer, this.supportDelay)) : this.motionSupport ? (this.portrait = !1, window.addEventListener("devicemotion", this.onDeviceMotion), this.detectionTimer = setTimeout(this.onMotionTimer, this.supportDelay)) : (this.calibrationX = 0, this.calibrationY = 0, this.portrait = !1, window.addEventListener("mousemove", this.onMouseMove), this.doReadyCallback()), window.addEventListener("resize", this.onWindowResize), this.raf = s(this.onAnimationFrame)) 394 | } 395 | }, { 396 | key: "disable", 397 | value: function() { 398 | this.enabled && (this.enabled = !1, this.orientationSupport ? window.removeEventListener("deviceorientation", this.onDeviceOrientation) : this.motionSupport ? window.removeEventListener("devicemotion", this.onDeviceMotion) : window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("resize", this.onWindowResize), s.cancel(this.raf)) 399 | } 400 | }, { 401 | key: "calibrate", 402 | value: function(t, e) { 403 | this.calibrateX = void 0 === t ? this.calibrateX : t, this.calibrateY = void 0 === e ? this.calibrateY : e 404 | } 405 | }, { 406 | key: "invert", 407 | value: function(t, e) { 408 | this.invertX = void 0 === t ? this.invertX : t, this.invertY = void 0 === e ? this.invertY : e 409 | } 410 | }, { 411 | key: "friction", 412 | value: function(t, e) { 413 | this.frictionX = void 0 === t ? this.frictionX : t, this.frictionY = void 0 === e ? this.frictionY : e 414 | } 415 | }, { 416 | key: "scalar", 417 | value: function(t, e) { 418 | this.scalarX = void 0 === t ? this.scalarX : t, this.scalarY = void 0 === e ? this.scalarY : e 419 | } 420 | }, { 421 | key: "limit", 422 | value: function(t, e) { 423 | this.limitX = void 0 === t ? this.limitX : t, this.limitY = void 0 === e ? this.limitY : e 424 | } 425 | }, { 426 | key: "origin", 427 | value: function(t, e) { 428 | this.originX = void 0 === t ? this.originX : t, this.originY = void 0 === e ? this.originY : e 429 | } 430 | }, { 431 | key: "setInputElement", 432 | value: function(t) { 433 | this.inputElement = t, this.updateDimensions() 434 | } 435 | }, { 436 | key: "setPosition", 437 | value: function(t, e, i) { 438 | e = e.toFixed(this.precision) + "px", i = i.toFixed(this.precision) + "px", this.transform3DSupport ? a.css(t, "transform", "translate3d(" + e + "," + i + ",0)") : this.transform2DSupport ? a.css(t, "transform", "translate(" + e + "," + i + ")") : (t.style.left = e, t.style.top = i) 439 | } 440 | }, { 441 | key: "onOrientationTimer", 442 | value: function() { 443 | this.orientationSupport && 0 === this.orientationStatus ? (this.disable(), this.orientationSupport = !1, this.enable()) : this.doReadyCallback() 444 | } 445 | }, { 446 | key: "onMotionTimer", 447 | value: function() { 448 | this.motionSupport && 0 === this.motionStatus ? (this.disable(), this.motionSupport = !1, this.enable()) : this.doReadyCallback() 449 | } 450 | }, { 451 | key: "onCalibrationTimer", 452 | value: function() { 453 | this.calibrationFlag = !0 454 | } 455 | }, { 456 | key: "onWindowResize", 457 | value: function() { 458 | this.updateDimensions() 459 | } 460 | }, { 461 | key: "onAnimationFrame", 462 | value: function() { 463 | this.updateBounds(); 464 | var t = this.inputX - this.calibrationX, 465 | e = this.inputY - this.calibrationY; 466 | (Math.abs(t) > this.calibrationThreshold || Math.abs(e) > this.calibrationThreshold) && this.queueCalibration(0), this.portrait ? (this.motionX = this.calibrateX ? e : this.inputY, this.motionY = this.calibrateY ? t : this.inputX) : (this.motionX = this.calibrateX ? t : this.inputX, this.motionY = this.calibrateY ? e : this.inputY), this.motionX *= this.elementWidth * (this.scalarX / 100), this.motionY *= this.elementHeight * (this.scalarY / 100), isNaN(parseFloat(this.limitX)) || (this.motionX = a.clamp(this.motionX, -this.limitX, this.limitX)), isNaN(parseFloat(this.limitY)) || (this.motionY = a.clamp(this.motionY, -this.limitY, this.limitY)), this.velocityX += (this.motionX - this.velocityX) * this.frictionX, this.velocityY += (this.motionY - this.velocityY) * this.frictionY; 467 | for (var i = 0; i < this.layers.length; i++) { 468 | var n = this.layers[i], 469 | o = this.depthsX[i], 470 | r = this.depthsY[i], 471 | l = this.velocityX * (o * (this.invertX ? -1 : 1)), 472 | h = this.velocityY * (r * (this.invertY ? -1 : 1)); 473 | this.setPosition(n, l, h) 474 | } 475 | this.raf = s(this.onAnimationFrame) 476 | } 477 | }, { 478 | key: "rotate", 479 | value: function(t, e) { 480 | var i = (t || 0) / 30, 481 | n = (e || 0) / 30, 482 | o = this.windowHeight > this.windowWidth; 483 | this.portrait !== o && (this.portrait = o, this.calibrationFlag = !0), this.calibrationFlag && (this.calibrationFlag = !1, this.calibrationX = i, this.calibrationY = n), this.inputX = i, this.inputY = n 484 | } 485 | }, { 486 | key: "onDeviceOrientation", 487 | value: function(t) { 488 | var e = t.beta, 489 | i = t.gamma; 490 | null !== e && null !== i && (this.orientationStatus = 1, this.rotate(e, i)) 491 | } 492 | }, { 493 | key: "onDeviceMotion", 494 | value: function(t) { 495 | var e = t.rotationRate.beta, 496 | i = t.rotationRate.gamma; 497 | null !== e && null !== i && (this.motionStatus = 1, this.rotate(e, i)) 498 | } 499 | }, { 500 | key: "onMouseMove", 501 | value: function(t) { 502 | var e = t.clientX, 503 | i = t.clientY; 504 | if (this.hoverOnly && (e < this.elementPositionX || e > this.elementPositionX + this.elementWidth || i < this.elementPositionY || i > this.elementPositionY + this.elementHeight)) return this.inputX = 0, void(this.inputY = 0); 505 | this.relativeInput ? (this.clipRelativeInput && (e = Math.max(e, this.elementPositionX), e = Math.min(e, this.elementPositionX + this.elementWidth), i = Math.max(i, this.elementPositionY), i = Math.min(i, this.elementPositionY + this.elementHeight)), this.elementRangeX && this.elementRangeY && (this.inputX = (e - this.elementPositionX - this.elementCenterX) / this.elementRangeX, this.inputY = (i - this.elementPositionY - this.elementCenterY) / this.elementRangeY)) : this.windowRadiusX && this.windowRadiusY && (this.inputX = (e - this.windowCenterX) / this.windowRadiusX, this.inputY = (i - this.windowCenterY) / this.windowRadiusY) 506 | } 507 | }, { 508 | key: "destroy", 509 | value: function() { 510 | this.disable(), clearTimeout(this.calibrationTimer), clearTimeout(this.detectionTimer), this.element.removeAttribute("style"); 511 | for (var t = 0; t < this.layers.length; t++) this.layers[t].removeAttribute("style"); 512 | delete this.element, delete this.layers 513 | } 514 | }, { 515 | key: "version", 516 | value: function() { 517 | return "3.1.0" 518 | } 519 | }]), t 520 | }(); 521 | e.exports = h 522 | }, { 523 | "object-assign": 1, 524 | raf: 4 525 | }] 526 | }, {}, [5])(5) 527 | }); -------------------------------------------------------------------------------- /assets/js/popper.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @popperjs/core v2.9.2 - MIT License 3 | */ 4 | 5 | "use strict"; 6 | ! function(e, t) { 7 | "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 = {}) 8 | }(this, (function(e) { 9 | function t(e) { 10 | return { 11 | width: (e = e.getBoundingClientRect()).width, 12 | height: e.height, 13 | top: e.top, 14 | right: e.right, 15 | bottom: e.bottom, 16 | left: e.left, 17 | x: e.left, 18 | y: e.top 19 | } 20 | } 21 | 22 | function n(e) { 23 | return null == e ? window : "[object Window]" !== e.toString() ? (e = e.ownerDocument) && e.defaultView || window : e 24 | } 25 | 26 | function o(e) { 27 | return { 28 | scrollLeft: (e = n(e)).pageXOffset, 29 | scrollTop: e.pageYOffset 30 | } 31 | } 32 | 33 | function r(e) { 34 | return e instanceof n(e).Element || e instanceof Element 35 | } 36 | 37 | function i(e) { 38 | return e instanceof n(e).HTMLElement || e instanceof HTMLElement 39 | } 40 | 41 | function a(e) { 42 | return "undefined" != typeof ShadowRoot && (e instanceof n(e).ShadowRoot || e instanceof ShadowRoot) 43 | } 44 | 45 | function s(e) { 46 | return e ? (e.nodeName || "").toLowerCase() : null 47 | } 48 | 49 | function f(e) { 50 | return ((r(e) ? e.ownerDocument : e.document) || window.document).documentElement 51 | } 52 | 53 | function p(e) { 54 | return t(f(e)).left + o(e).scrollLeft 55 | } 56 | 57 | function c(e) { 58 | return n(e).getComputedStyle(e) 59 | } 60 | 61 | function l(e) { 62 | return e = c(e), /auto|scroll|overlay|hidden/.test(e.overflow + e.overflowY + e.overflowX) 63 | } 64 | 65 | function u(e, r, a) { 66 | void 0 === a && (a = !1); 67 | var c = f(r); 68 | e = t(e); 69 | var u = i(r), 70 | d = { 71 | scrollLeft: 0, 72 | scrollTop: 0 73 | }, 74 | m = { 75 | x: 0, 76 | y: 0 77 | }; 78 | return (u || !u && !a) && (("body" !== s(r) || l(c)) && (d = r !== n(r) && i(r) ? { 79 | scrollLeft: r.scrollLeft, 80 | scrollTop: r.scrollTop 81 | } : o(r)), i(r) ? ((m = t(r)).x += r.clientLeft, m.y += r.clientTop) : c && (m.x = p(c))), { 82 | x: e.left + d.scrollLeft - m.x, 83 | y: e.top + d.scrollTop - m.y, 84 | width: e.width, 85 | height: e.height 86 | } 87 | } 88 | 89 | function d(e) { 90 | var n = t(e), 91 | o = e.offsetWidth, 92 | r = e.offsetHeight; 93 | return 1 >= Math.abs(n.width - o) && (o = n.width), 1 >= Math.abs(n.height - r) && (r = n.height), { 94 | x: e.offsetLeft, 95 | y: e.offsetTop, 96 | width: o, 97 | height: r 98 | } 99 | } 100 | 101 | function m(e) { 102 | return "html" === s(e) ? e : e.assignedSlot || e.parentNode || (a(e) ? e.host : null) || f(e) 103 | } 104 | 105 | function h(e) { 106 | return 0 <= ["html", "body", "#document"].indexOf(s(e)) ? e.ownerDocument.body : i(e) && l(e) ? e : h(m(e)) 107 | } 108 | 109 | function v(e, t) { 110 | var o; 111 | void 0 === t && (t = []); 112 | var r = h(e); 113 | 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))) 114 | } 115 | 116 | function g(e) { 117 | return i(e) && "fixed" !== c(e).position ? e.offsetParent : null 118 | } 119 | 120 | function y(e) { 121 | for (var t = n(e), o = g(e); o && 0 <= ["table", "td", "th"].indexOf(s(o)) && "static" === c(o).position;) o = g(o); 122 | if (o && ("html" === s(o) || "body" === s(o) && "static" === c(o).position)) return t; 123 | if (!o) e: { 124 | if (o = -1 !== navigator.userAgent.toLowerCase().indexOf("firefox"), -1 === navigator.userAgent.indexOf("Trident") || !i(e) || "fixed" !== c(e).position) 125 | for (e = m(e); i(e) && 0 > ["html", "body"].indexOf(s(e));) { 126 | var r = c(e); 127 | 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) { 128 | o = e; 129 | break e 130 | } 131 | e = e.parentNode 132 | } 133 | o = null 134 | } 135 | return o || t 136 | } 137 | 138 | function b(e) { 139 | function t(e) { 140 | o.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach((function(e) { 141 | o.has(e) || (e = n.get(e)) && t(e) 142 | })), r.push(e) 143 | } 144 | var n = new Map, 145 | o = new Set, 146 | r = []; 147 | return e.forEach((function(e) { 148 | n.set(e.name, e) 149 | })), e.forEach((function(e) { 150 | o.has(e.name) || t(e) 151 | })), r 152 | } 153 | 154 | function w(e) { 155 | var t; 156 | return function() { 157 | return t || (t = new Promise((function(n) { 158 | Promise.resolve().then((function() { 159 | t = void 0, n(e()) 160 | })) 161 | }))), t 162 | } 163 | } 164 | 165 | function x(e) { 166 | return e.split("-")[0] 167 | } 168 | 169 | function O(e, t) { 170 | var n = t.getRootNode && t.getRootNode(); 171 | if (e.contains(t)) return !0; 172 | if (n && a(n)) 173 | do { 174 | if (t && e.isSameNode(t)) return !0; 175 | t = t.parentNode || t.host 176 | } while (t); 177 | return !1 178 | } 179 | 180 | function j(e) { 181 | return Object.assign({}, e, { 182 | left: e.x, 183 | top: e.y, 184 | right: e.x + e.width, 185 | bottom: e.y + e.height 186 | }) 187 | } 188 | 189 | function E(e, r) { 190 | if ("viewport" === r) { 191 | r = n(e); 192 | var a = f(e); 193 | r = r.visualViewport; 194 | var s = a.clientWidth; 195 | a = a.clientHeight; 196 | var l = 0, 197 | u = 0; 198 | r && (s = r.width, a = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, u = r.offsetTop)), e = j(e = { 199 | width: s, 200 | height: a, 201 | x: l + p(e), 202 | y: u 203 | }) 204 | } 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 = _(e.scrollWidth, e.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), l = _(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 += _(e.clientWidth, r ? r.clientWidth : 0) - a), e = j({ 205 | width: a, 206 | height: l, 207 | x: u, 208 | y: s 209 | })); 210 | return e 211 | } 212 | 213 | function D(e, t, n) { 214 | return t = "clippingParents" === t ? function(e) { 215 | var t = v(m(e)), 216 | n = 0 <= ["absolute", "fixed"].indexOf(c(e).position) && i(e) ? y(e) : e; 217 | return r(n) ? t.filter((function(e) { 218 | return r(e) && O(e, n) && "body" !== s(e) 219 | })) : [] 220 | }(e) : [].concat(t), (n = (n = [].concat(t, [n])).reduce((function(t, n) { 221 | return n = E(e, n), t.top = _(n.top, t.top), t.right = U(n.right, t.right), t.bottom = U(n.bottom, t.bottom), t.left = _(n.left, t.left), t 222 | }), E(e, n[0]))).width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n 223 | } 224 | 225 | function L(e) { 226 | return 0 <= ["top", "bottom"].indexOf(e) ? "x" : "y" 227 | } 228 | 229 | function P(e) { 230 | var t = e.reference, 231 | n = e.element, 232 | o = (e = e.placement) ? x(e) : null; 233 | e = e ? e.split("-")[1] : null; 234 | var r = t.x + t.width / 2 - n.width / 2, 235 | i = t.y + t.height / 2 - n.height / 2; 236 | switch (o) { 237 | case "top": 238 | r = { 239 | x: r, 240 | y: t.y - n.height 241 | }; 242 | break; 243 | case "bottom": 244 | r = { 245 | x: r, 246 | y: t.y + t.height 247 | }; 248 | break; 249 | case "right": 250 | r = { 251 | x: t.x + t.width, 252 | y: i 253 | }; 254 | break; 255 | case "left": 256 | r = { 257 | x: t.x - n.width, 258 | y: i 259 | }; 260 | break; 261 | default: 262 | r = { 263 | x: t.x, 264 | y: t.y 265 | } 266 | } 267 | if (null != (o = o ? L(o) : null)) switch (i = "y" === o ? "height" : "width", e) { 268 | case "start": 269 | r[o] -= t[i] / 2 - n[i] / 2; 270 | break; 271 | case "end": 272 | r[o] += t[i] / 2 - n[i] / 2 273 | } 274 | return r 275 | } 276 | 277 | function M(e) { 278 | return Object.assign({}, { 279 | top: 0, 280 | right: 0, 281 | bottom: 0, 282 | left: 0 283 | }, e) 284 | } 285 | 286 | function k(e, t) { 287 | return t.reduce((function(t, n) { 288 | return t[n] = e, t 289 | }), {}) 290 | } 291 | 292 | function A(e, n) { 293 | void 0 === n && (n = {}); 294 | var o = n; 295 | n = void 0 === (n = o.placement) ? e.placement : n; 296 | var i = o.boundary, 297 | a = void 0 === i ? "clippingParents" : i, 298 | s = void 0 === (i = o.rootBoundary) ? "viewport" : i; 299 | i = void 0 === (i = o.elementContext) ? "popper" : i; 300 | var p = o.altBoundary, 301 | c = void 0 !== p && p; 302 | o = M("number" != typeof(o = void 0 === (o = o.padding) ? 0 : o) ? o : k(o, C)); 303 | var l = e.elements.reference; 304 | 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 = P({ 305 | reference: s = t(l), 306 | element: p, 307 | strategy: "absolute", 308 | placement: n 309 | }), p = j(Object.assign({}, p, c)), s = "popper" === i ? p : s; 310 | var u = { 311 | top: a.top - s.top + o.top, 312 | bottom: s.bottom - a.bottom + o.bottom, 313 | left: a.left - s.left + o.left, 314 | right: s.right - a.right + o.right 315 | }; 316 | if (e = e.modifiersData.offset, "popper" === i && e) { 317 | var d = e[n]; 318 | Object.keys(u).forEach((function(e) { 319 | var t = 0 <= ["right", "bottom"].indexOf(e) ? 1 : -1, 320 | n = 0 <= ["top", "bottom"].indexOf(e) ? "y" : "x"; 321 | u[e] += d[n] * t 322 | })) 323 | } 324 | return u 325 | } 326 | 327 | function W() { 328 | for (var e = arguments.length, t = Array(e), n = 0; n < e; n++) t[n] = arguments[n]; 329 | return !t.some((function(e) { 330 | return !(e && "function" == typeof e.getBoundingClientRect) 331 | })) 332 | } 333 | 334 | function B(e) { 335 | void 0 === e && (e = {}); 336 | var t = e.defaultModifiers, 337 | n = void 0 === t ? [] : t, 338 | o = void 0 === (e = e.defaultOptions) ? F : e; 339 | return function(e, t, i) { 340 | function a() { 341 | f.forEach((function(e) { 342 | return e() 343 | })), f = [] 344 | } 345 | void 0 === i && (i = o); 346 | var s = { 347 | placement: "bottom", 348 | orderedModifiers: [], 349 | options: Object.assign({}, F, o), 350 | modifiersData: {}, 351 | elements: { 352 | reference: e, 353 | popper: t 354 | }, 355 | attributes: {}, 356 | styles: {} 357 | }, 358 | f = [], 359 | p = !1, 360 | c = { 361 | state: s, 362 | setOptions: function(i) { 363 | return a(), s.options = Object.assign({}, o, s.options, i), s.scrollParents = { 364 | reference: r(e) ? v(e) : e.contextElement ? v(e.contextElement) : [], 365 | popper: v(t) 366 | }, i = function(e) { 367 | var t = b(e); 368 | return I.reduce((function(e, n) { 369 | return e.concat(t.filter((function(e) { 370 | return e.phase === n 371 | }))) 372 | }), []) 373 | }(function(e) { 374 | var t = e.reduce((function(e, t) { 375 | var n = e[t.name]; 376 | return e[t.name] = n ? Object.assign({}, n, t, { 377 | options: Object.assign({}, n.options, t.options), 378 | data: Object.assign({}, n.data, t.data) 379 | }) : t, e 380 | }), {}); 381 | return Object.keys(t).map((function(e) { 382 | return t[e] 383 | })) 384 | }([].concat(n, s.options.modifiers))), s.orderedModifiers = i.filter((function(e) { 385 | return e.enabled 386 | })), s.orderedModifiers.forEach((function(e) { 387 | var t = e.name, 388 | n = e.options; 389 | n = void 0 === n ? {} : n, "function" == typeof(e = e.effect) && (t = e({ 390 | state: s, 391 | name: t, 392 | instance: c, 393 | options: n 394 | }), f.push(t || function() {})) 395 | })), c.update() 396 | }, 397 | forceUpdate: function() { 398 | if (!p) { 399 | var e = s.elements, 400 | t = e.reference; 401 | if (W(t, e = e.popper)) 402 | for (s.rects = { 403 | reference: u(t, y(e), "fixed" === s.options.strategy), 404 | popper: d(e) 405 | }, s.reset = !1, s.placement = s.options.placement, s.orderedModifiers.forEach((function(e) { 406 | return s.modifiersData[e.name] = Object.assign({}, e.data) 407 | })), t = 0; t < s.orderedModifiers.length; t++) 408 | if (!0 === s.reset) s.reset = !1, t = -1; 409 | else { 410 | var n = s.orderedModifiers[t]; 411 | e = n.fn; 412 | var o = n.options; 413 | o = void 0 === o ? {} : o, n = n.name, "function" == typeof e && (s = e({ 414 | state: s, 415 | options: o, 416 | name: n, 417 | instance: c 418 | }) || s) 419 | } 420 | } 421 | }, 422 | update: w((function() { 423 | return new Promise((function(e) { 424 | c.forceUpdate(), e(s) 425 | })) 426 | })), 427 | destroy: function() { 428 | a(), p = !0 429 | } 430 | }; 431 | return W(e, t) ? (c.setOptions(i).then((function(e) { 432 | !p && i.onFirstUpdate && i.onFirstUpdate(e) 433 | })), c) : c 434 | } 435 | } 436 | 437 | function T(e) { 438 | var t, o = e.popper, 439 | r = e.popperRect, 440 | i = e.placement, 441 | a = e.offsets, 442 | s = e.position, 443 | p = e.gpuAcceleration, 444 | l = e.adaptive; 445 | if (!0 === (e = e.roundOffsets)) { 446 | e = a.y; 447 | var u = window.devicePixelRatio || 1; 448 | e = { 449 | x: z(z(a.x * u) / u) || 0, 450 | y: z(z(e * u) / u) || 0 451 | } 452 | } else e = "function" == typeof e ? e(a) : a; 453 | e = void 0 === (e = (u = e).x) ? 0 : e, u = void 0 === (u = u.y) ? 0 : u; 454 | var d = a.hasOwnProperty("x"); 455 | a = a.hasOwnProperty("y"); 456 | var m, h = "left", 457 | v = "top", 458 | g = window; 459 | if (l) { 460 | var b = y(o), 461 | w = "clientHeight", 462 | x = "clientWidth"; 463 | b === n(o) && ("static" !== c(b = f(o)).position && (w = "scrollHeight", x = "scrollWidth")), "top" === i && (v = "bottom", u -= b[w] - r.height, u *= p ? 1 : -1), "left" === i && (h = "right", e -= b[x] - r.width, e *= p ? 1 : -1) 464 | } 465 | return o = Object.assign({ 466 | position: s 467 | }, l && J), p ? Object.assign({}, o, ((m = {})[v] = a ? "0" : "", m[h] = d ? "0" : "", m.transform = 2 > (g.devicePixelRatio || 1) ? "translate(" + e + "px, " + u + "px)" : "translate3d(" + e + "px, " + u + "px, 0)", m)) : Object.assign({}, o, ((t = {})[v] = a ? u + "px" : "", t[h] = d ? e + "px" : "", t.transform = "", t)) 468 | } 469 | 470 | function H(e) { 471 | return e.replace(/left|right|bottom|top/g, (function(e) { 472 | return $[e] 473 | })) 474 | } 475 | 476 | function R(e) { 477 | return e.replace(/start|end/g, (function(e) { 478 | return ee[e] 479 | })) 480 | } 481 | 482 | function S(e, t, n) { 483 | return void 0 === n && (n = { 484 | x: 0, 485 | y: 0 486 | }), { 487 | top: e.top - t.height - n.y, 488 | right: e.right - t.width + n.x, 489 | bottom: e.bottom - t.height + n.y, 490 | left: e.left - t.width - n.x 491 | } 492 | } 493 | 494 | function q(e) { 495 | return ["top", "right", "bottom", "left"].some((function(t) { 496 | return 0 <= e[t] 497 | })) 498 | } 499 | var C = ["top", "bottom", "right", "left"], 500 | N = C.reduce((function(e, t) { 501 | return e.concat([t + "-start", t + "-end"]) 502 | }), []), 503 | V = [].concat(C, ["auto"]).reduce((function(e, t) { 504 | return e.concat([t, t + "-start", t + "-end"]) 505 | }), []), 506 | I = "beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "), 507 | _ = Math.max, 508 | U = Math.min, 509 | z = Math.round, 510 | F = { 511 | placement: "bottom", 512 | modifiers: [], 513 | strategy: "absolute" 514 | }, 515 | X = { 516 | passive: !0 517 | }, 518 | Y = { 519 | name: "eventListeners", 520 | enabled: !0, 521 | phase: "write", 522 | fn: function() {}, 523 | effect: function(e) { 524 | var t = e.state, 525 | o = e.instance, 526 | r = (e = e.options).scroll, 527 | i = void 0 === r || r, 528 | a = void 0 === (e = e.resize) || e, 529 | s = n(t.elements.popper), 530 | f = [].concat(t.scrollParents.reference, t.scrollParents.popper); 531 | return i && f.forEach((function(e) { 532 | e.addEventListener("scroll", o.update, X) 533 | })), a && s.addEventListener("resize", o.update, X), 534 | function() { 535 | i && f.forEach((function(e) { 536 | e.removeEventListener("scroll", o.update, X) 537 | })), a && s.removeEventListener("resize", o.update, X) 538 | } 539 | }, 540 | data: {} 541 | }, 542 | G = { 543 | name: "popperOffsets", 544 | enabled: !0, 545 | phase: "read", 546 | fn: function(e) { 547 | var t = e.state; 548 | t.modifiersData[e.name] = P({ 549 | reference: t.rects.reference, 550 | element: t.rects.popper, 551 | strategy: "absolute", 552 | placement: t.placement 553 | }) 554 | }, 555 | data: {} 556 | }, 557 | J = { 558 | top: "auto", 559 | right: "auto", 560 | bottom: "auto", 561 | left: "auto" 562 | }, 563 | K = { 564 | name: "computeStyles", 565 | enabled: !0, 566 | phase: "beforeWrite", 567 | fn: function(e) { 568 | var t = e.state, 569 | n = e.options; 570 | e = void 0 === (e = n.gpuAcceleration) || e; 571 | var o = n.adaptive; 572 | o = void 0 === o || o, n = void 0 === (n = n.roundOffsets) || n, e = { 573 | placement: x(t.placement), 574 | popper: t.elements.popper, 575 | popperRect: t.rects.popper, 576 | gpuAcceleration: e 577 | }, null != t.modifiersData.popperOffsets && (t.styles.popper = Object.assign({}, t.styles.popper, T(Object.assign({}, e, { 578 | offsets: t.modifiersData.popperOffsets, 579 | position: t.options.strategy, 580 | adaptive: o, 581 | roundOffsets: n 582 | })))), null != t.modifiersData.arrow && (t.styles.arrow = Object.assign({}, t.styles.arrow, T(Object.assign({}, e, { 583 | offsets: t.modifiersData.arrow, 584 | position: "absolute", 585 | adaptive: !1, 586 | roundOffsets: n 587 | })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { 588 | "data-popper-placement": t.placement 589 | }) 590 | }, 591 | data: {} 592 | }, 593 | Q = { 594 | name: "applyStyles", 595 | enabled: !0, 596 | phase: "write", 597 | fn: function(e) { 598 | var t = e.state; 599 | Object.keys(t.elements).forEach((function(e) { 600 | var n = t.styles[e] || {}, 601 | o = t.attributes[e] || {}, 602 | r = t.elements[e]; 603 | i(r) && s(r) && (Object.assign(r.style, n), Object.keys(o).forEach((function(e) { 604 | var t = o[e]; 605 | !1 === t ? r.removeAttribute(e) : r.setAttribute(e, !0 === t ? "" : t) 606 | }))) 607 | })) 608 | }, 609 | effect: function(e) { 610 | var t = e.state, 611 | n = { 612 | popper: { 613 | position: t.options.strategy, 614 | left: "0", 615 | top: "0", 616 | margin: "0" 617 | }, 618 | arrow: { 619 | position: "absolute" 620 | }, 621 | reference: {} 622 | }; 623 | return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), 624 | function() { 625 | Object.keys(t.elements).forEach((function(e) { 626 | var o = t.elements[e], 627 | r = t.attributes[e] || {}; 628 | e = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]).reduce((function(e, t) { 629 | return e[t] = "", e 630 | }), {}), i(o) && s(o) && (Object.assign(o.style, e), Object.keys(r).forEach((function(e) { 631 | o.removeAttribute(e) 632 | }))) 633 | })) 634 | } 635 | }, 636 | requires: ["computeStyles"] 637 | }, 638 | Z = { 639 | name: "offset", 640 | enabled: !0, 641 | phase: "main", 642 | requires: ["popperOffsets"], 643 | fn: function(e) { 644 | var t = e.state, 645 | n = e.name, 646 | o = void 0 === (e = e.options.offset) ? [0, 0] : e, 647 | r = (e = V.reduce((function(e, n) { 648 | var r = t.rects, 649 | i = x(n), 650 | a = 0 <= ["left", "top"].indexOf(i) ? -1 : 1, 651 | s = "function" == typeof o ? o(Object.assign({}, r, { 652 | placement: n 653 | })) : o; 654 | return r = (r = s[0]) || 0, s = ((s = s[1]) || 0) * a, i = 0 <= ["left", "right"].indexOf(i) ? { 655 | x: s, 656 | y: r 657 | } : { 658 | x: r, 659 | y: s 660 | }, e[n] = i, e 661 | }), {}))[t.placement], 662 | i = r.x; 663 | r = r.y, null != t.modifiersData.popperOffsets && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += r), t.modifiersData[n] = e 664 | } 665 | }, 666 | $ = { 667 | left: "right", 668 | right: "left", 669 | bottom: "top", 670 | top: "bottom" 671 | }, 672 | ee = { 673 | start: "end", 674 | end: "start" 675 | }, 676 | te = { 677 | name: "flip", 678 | enabled: !0, 679 | phase: "main", 680 | fn: function(e) { 681 | var t = e.state, 682 | n = e.options; 683 | if (e = e.name, !t.modifiersData[e]._skip) { 684 | var o = n.mainAxis; 685 | o = void 0 === o || o; 686 | var r = n.altAxis; 687 | r = void 0 === r || r; 688 | var i = n.fallbackPlacements, 689 | a = n.padding, 690 | s = n.boundary, 691 | f = n.rootBoundary, 692 | p = n.altBoundary, 693 | c = n.flipVariations, 694 | l = void 0 === c || c, 695 | u = n.allowedAutoPlacements; 696 | c = x(n = t.options.placement), i = i || (c !== n && l ? function(e) { 697 | if ("auto" === x(e)) return []; 698 | var t = H(e); 699 | return [R(e), t, R(t)] 700 | }(n) : [H(n)]); 701 | var d = [n].concat(i).reduce((function(e, n) { 702 | return e.concat("auto" === x(n) ? function(e, t) { 703 | void 0 === t && (t = {}); 704 | var n = t.boundary, 705 | o = t.rootBoundary, 706 | r = t.padding, 707 | i = t.flipVariations, 708 | a = t.allowedAutoPlacements, 709 | s = void 0 === a ? V : a, 710 | f = t.placement.split("-")[1]; 711 | 0 === (i = (t = f ? i ? N : N.filter((function(e) { 712 | return e.split("-")[1] === f 713 | })) : C).filter((function(e) { 714 | return 0 <= s.indexOf(e) 715 | }))).length && (i = t); 716 | var p = i.reduce((function(t, i) { 717 | return t[i] = A(e, { 718 | placement: i, 719 | boundary: n, 720 | rootBoundary: o, 721 | padding: r 722 | })[x(i)], t 723 | }), {}); 724 | return Object.keys(p).sort((function(e, t) { 725 | return p[e] - p[t] 726 | })) 727 | }(t, { 728 | placement: n, 729 | boundary: s, 730 | rootBoundary: f, 731 | padding: a, 732 | flipVariations: l, 733 | allowedAutoPlacements: u 734 | }) : n) 735 | }), []); 736 | n = t.rects.reference, i = t.rects.popper; 737 | var m = new Map; 738 | c = !0; 739 | for (var h = d[0], v = 0; v < d.length; v++) { 740 | var g = d[v], 741 | y = x(g), 742 | b = "start" === g.split("-")[1], 743 | w = 0 <= ["top", "bottom"].indexOf(y), 744 | O = w ? "width" : "height", 745 | j = A(t, { 746 | placement: g, 747 | boundary: s, 748 | rootBoundary: f, 749 | altBoundary: p, 750 | padding: a 751 | }); 752 | if (b = w ? b ? "right" : "left" : b ? "bottom" : "top", n[O] > i[O] && (b = H(b)), O = H(b), w = [], o && w.push(0 >= j[y]), r && w.push(0 >= j[b], 0 >= j[O]), w.every((function(e) { 753 | return e 754 | }))) { 755 | h = g, c = !1; 756 | break 757 | } 758 | m.set(g, w) 759 | } 760 | if (c) 761 | for (o = function(e) { 762 | var t = d.find((function(t) { 763 | if (t = m.get(t)) return t.slice(0, e).every((function(e) { 764 | return e 765 | })) 766 | })); 767 | if (t) return h = t, "break" 768 | }, r = l ? 3 : 1; 0 < r && "break" !== o(r); r--); 769 | t.placement !== h && (t.modifiersData[e]._skip = !0, t.placement = h, t.reset = !0) 770 | } 771 | }, 772 | requiresIfExists: ["offset"], 773 | data: { 774 | _skip: !1 775 | } 776 | }, 777 | ne = { 778 | name: "preventOverflow", 779 | enabled: !0, 780 | phase: "main", 781 | fn: function(e) { 782 | var t = e.state, 783 | n = e.options; 784 | e = e.name; 785 | var o = n.mainAxis, 786 | r = void 0 === o || o, 787 | i = void 0 !== (o = n.altAxis) && o; 788 | o = void 0 === (o = n.tether) || o; 789 | var a = n.tetherOffset, 790 | s = void 0 === a ? 0 : a, 791 | f = A(t, { 792 | boundary: n.boundary, 793 | rootBoundary: n.rootBoundary, 794 | padding: n.padding, 795 | altBoundary: n.altBoundary 796 | }); 797 | n = x(t.placement); 798 | var p = t.placement.split("-")[1], 799 | c = !p, 800 | l = L(n); 801 | n = "x" === l ? "y" : "x", a = t.modifiersData.popperOffsets; 802 | var u = t.rects.reference, 803 | m = t.rects.popper, 804 | h = "function" == typeof s ? s(Object.assign({}, t.rects, { 805 | placement: t.placement 806 | })) : s; 807 | if (s = { 808 | x: 0, 809 | y: 0 810 | }, a) { 811 | if (r || i) { 812 | var v = "y" === l ? "top" : "left", 813 | g = "y" === l ? "bottom" : "right", 814 | b = "y" === l ? "height" : "width", 815 | w = a[l], 816 | O = a[l] + f[v], 817 | j = a[l] - f[g], 818 | E = o ? -m[b] / 2 : 0, 819 | D = "start" === p ? u[b] : m[b]; 820 | p = "start" === p ? -m[b] : -u[b], m = t.elements.arrow, m = o && m ? d(m) : { 821 | width: 0, 822 | height: 0 823 | }; 824 | var P = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : { 825 | top: 0, 826 | right: 0, 827 | bottom: 0, 828 | left: 0 829 | }; 830 | v = P[v], g = P[g], m = _(0, U(u[b], m[b])), D = c ? u[b] / 2 - E - m - v - h : D - m - v - h, u = c ? -u[b] / 2 + E + m + g + h : p + m + g + h, c = t.elements.arrow && y(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 ? U(O, c) : O, j = o ? _(j, u) : j, r = _(r, U(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 ? U(r, c) : r, o = o ? _(f, u) : f, o = _(r, U(i, o)), a[n] = o, s[n] = o - i) 831 | } 832 | t.modifiersData[e] = s 833 | } 834 | }, 835 | requiresIfExists: ["offset"] 836 | }, 837 | oe = { 838 | name: "arrow", 839 | enabled: !0, 840 | phase: "main", 841 | fn: function(e) { 842 | var t, n = e.state, 843 | o = e.name, 844 | r = e.options, 845 | i = n.elements.arrow, 846 | a = n.modifiersData.popperOffsets, 847 | s = x(n.placement); 848 | if (e = L(s), s = 0 <= ["left", "right"].indexOf(s) ? "height" : "width", i && a) { 849 | r = M("number" != typeof(r = "function" == typeof(r = r.padding) ? r(Object.assign({}, n.rects, { 850 | placement: n.placement 851 | })) : r) ? r : k(r, C)); 852 | var f = d(i), 853 | p = "y" === e ? "top" : "left", 854 | c = "y" === e ? "bottom" : "right", 855 | l = n.rects.reference[s] + n.rects.reference[e] - a[e] - n.rects.popper[s]; 856 | a = a[e] - n.rects.reference[e], a = (i = (i = y(i)) ? "y" === e ? i.clientHeight || 0 : i.clientWidth || 0 : 0) / 2 - f[s] / 2 + (l / 2 - a / 2), s = _(r[p], U(a, i - f[s] - r[c])), n.modifiersData[o] = ((t = {})[e] = s, t.centerOffset = s - a, t) 857 | } 858 | }, 859 | effect: function(e) { 860 | var t = e.state; 861 | if (null != (e = void 0 === (e = e.options.element) ? "[data-popper-arrow]" : e)) { 862 | if ("string" == typeof e && !(e = t.elements.popper.querySelector(e))) return; 863 | O(t.elements.popper, e) && (t.elements.arrow = e) 864 | } 865 | }, 866 | requires: ["popperOffsets"], 867 | requiresIfExists: ["preventOverflow"] 868 | }, 869 | re = { 870 | name: "hide", 871 | enabled: !0, 872 | phase: "main", 873 | requiresIfExists: ["preventOverflow"], 874 | fn: function(e) { 875 | var t = e.state; 876 | e = e.name; 877 | var n = t.rects.reference, 878 | o = t.rects.popper, 879 | r = t.modifiersData.preventOverflow, 880 | i = A(t, { 881 | elementContext: "reference" 882 | }), 883 | a = A(t, { 884 | altBoundary: !0 885 | }); 886 | n = S(i, n), o = S(a, o, r), r = q(n), a = q(o), t.modifiersData[e] = { 887 | referenceClippingOffsets: n, 888 | popperEscapeOffsets: o, 889 | isReferenceHidden: r, 890 | hasPopperEscaped: a 891 | }, t.attributes.popper = Object.assign({}, t.attributes.popper, { 892 | "data-popper-reference-hidden": r, 893 | "data-popper-escaped": a 894 | }) 895 | } 896 | }, 897 | ie = B({ 898 | defaultModifiers: [Y, G, K, Q] 899 | }), 900 | ae = [Y, G, K, Q, Z, te, ne, oe, re], 901 | se = B({ 902 | defaultModifiers: ae 903 | }); 904 | e.applyStyles = Q, e.arrow = oe, e.computeStyles = K, e.createPopper = se, e.createPopperLite = ie, e.defaultModifiers = ae, e.detectOverflow = A, e.eventListeners = Y, e.flip = te, e.hide = re, e.offset = Z, e.popperGenerator = B, e.popperOffsets = G, e.preventOverflow = ne, Object.defineProperty(e, "__esModule", { 905 | value: !0 906 | }) 907 | })); -------------------------------------------------------------------------------- /assets/js/smooth-scroll.js: -------------------------------------------------------------------------------- 1 | /*========== 2 | 3 | Theme Name: Foodify - Food HTML5 Template 4 | Theme Version: 1.0 5 | 6 | ==========*/ 7 | 8 | /*========== 9 | ----- JS INDEX ----- 10 | 1.smooth scroll 11 | 2.Scroll to top 12 | 3.Scroll to Section 13 | ==========*/ 14 | 15 | 16 | // smooth scroll 17 | 18 | var html = document.documentElement; 19 | var body = document.body; 20 | 21 | var scroller = { 22 | target: document.querySelector("#js-scroll-content"), 23 | ease: 0.08, // <= scroll speed 24 | endY: 0, 25 | y: 0, 26 | resizeRequest: 1, 27 | scrollRequest: 0, 28 | }; 29 | 30 | var requestId = null; 31 | 32 | TweenLite.set(scroller.target, { 33 | rotation: 0.001, 34 | force3D: true, 35 | }); 36 | 37 | window.addEventListener("load", onLoad); 38 | 39 | function onLoad() { 40 | updateScroller(); 41 | window.focus(); 42 | window.addEventListener("resize", onResize); 43 | document.addEventListener("scroll", onScroll); 44 | } 45 | 46 | function updateScroller() { 47 | var resized = scroller.resizeRequest > 0; 48 | 49 | if (resized) { 50 | var height = scroller.target.clientHeight; 51 | body.style.height = height + "px"; 52 | scroller.resizeRequest = 0; 53 | } 54 | 55 | var scrollY = window.pageYOffset || html.scrollTop || body.scrollTop || 0; 56 | 57 | scroller.endY = scrollY; 58 | scroller.y += (scrollY - scroller.y) * scroller.ease; 59 | 60 | if (Math.abs(scrollY - scroller.y) < 0.05 || resized) { 61 | scroller.y = scrollY; 62 | scroller.scrollRequest = 0; 63 | } 64 | 65 | TweenLite.set(scroller.target, { 66 | y: -scroller.y, 67 | }); 68 | 69 | requestId = 70 | scroller.scrollRequest > 0 ? requestAnimationFrame(updateScroller) : null; 71 | } 72 | 73 | function onScroll() { 74 | scroller.scrollRequest++; 75 | if (!requestId) { 76 | requestId = requestAnimationFrame(updateScroller); 77 | } 78 | } 79 | 80 | function onResize() { 81 | scroller.resizeRequest++; 82 | if (!requestId) { 83 | requestId = requestAnimationFrame(updateScroller); 84 | } 85 | } 86 | 87 | jQuery(".filters").on("click", function() { 88 | setTimeout(function() { 89 | onScroll(); 90 | onResize(); 91 | }, 1000); 92 | }); 93 | 94 | document.querySelector(".filters li").addEventListener("click", onResize); 95 | document.querySelector(".filters li").addEventListener("click", onScroll); 96 | 97 | // Scroll to top 98 | 99 | const scrolltotop = document.querySelector(".scrolltop"); 100 | 101 | scrolltotop.addEventListener("click", () => 102 | gsap.to(window, { 103 | scrollTo: 0, 104 | }) 105 | ); 106 | 107 | // Scroll to Section 108 | 109 | var sections = $('section'), 110 | nav = $('.foody-nav-menu , .banner-btn'), 111 | nav_height = nav.outerHeight(); 112 | 113 | nav.find('a').on('click', function() { 114 | var $el = $(this), 115 | id = $el.attr('href'); 116 | 117 | $('html, body').animate({ 118 | scrollTop: $(id).offset().top - nav_height 119 | }, 500); 120 | 121 | return false; 122 | }); -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/techiecoder2079/food-website/c565d5d03b82d1c1441d685b5149515e97a1043e/logo.png -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function ($) { 2 | "use strict"; 3 | 4 | 5 | var book_table = new Swiper(".book-table-img-slider", { 6 | slidesPerView: 1, 7 | spaceBetween: 20, 8 | loop: true, 9 | autoplay: { 10 | delay: 3000, 11 | disableOnInteraction: false, 12 | }, 13 | speed: 2000, 14 | effect: "coverflow", 15 | coverflowEffect: { 16 | rotate: 3, 17 | stretch: 2, 18 | depth: 100, 19 | modifier: 5, 20 | slideShadows: false, 21 | }, 22 | loopAdditionSlides: true, 23 | navigation: { 24 | nextEl: ".swiper-button-next", 25 | prevEl: ".swiper-button-prev", 26 | }, 27 | pagination: { 28 | el: ".swiper-pagination", 29 | clickable: true, 30 | }, 31 | }); 32 | 33 | var team_slider = new Swiper(".team-slider", { 34 | slidesPerView: 3, 35 | spaceBetween: 30, 36 | loop: true, 37 | autoplay: { 38 | delay: 3000, 39 | disableOnInteraction: false, 40 | }, 41 | speed: 2000, 42 | 43 | navigation: { 44 | nextEl: ".swiper-button-next", 45 | prevEl: ".swiper-button-prev", 46 | }, 47 | pagination: { 48 | el: ".swiper-pagination", 49 | clickable: true, 50 | }, 51 | breakpoints: { 52 | 0: { 53 | slidesPerView: 1.2, 54 | }, 55 | 768: { 56 | slidesPerView: 2, 57 | }, 58 | 992: { 59 | slidesPerView: 3, 60 | }, 61 | 1200: { 62 | slidesPerView: 3, 63 | }, 64 | }, 65 | }); 66 | 67 | jQuery(".filters").on("click", function () { 68 | jQuery("#menu-dish").removeClass("bydefault_show"); 69 | }); 70 | $(function () { 71 | var filterList = { 72 | init: function () { 73 | $("#menu-dish").mixItUp({ 74 | selectors: { 75 | target: ".dish-box-wp", 76 | filter: ".filter", 77 | }, 78 | animation: { 79 | effects: "fade", 80 | easing: "ease-in-out", 81 | }, 82 | load: { 83 | filter: ".all, .breakfast, .lunch, .dinner", 84 | }, 85 | }); 86 | }, 87 | }; 88 | filterList.init(); 89 | }); 90 | 91 | jQuery(".menu-toggle").click(function () { 92 | jQuery(".main-navigation").toggleClass("toggled"); 93 | }); 94 | 95 | jQuery(".header-menu ul li a").click(function () { 96 | jQuery(".main-navigation").removeClass("toggled"); 97 | }); 98 | 99 | gsap.registerPlugin(ScrollTrigger); 100 | 101 | var elementFirst = document.querySelector('.site-header'); 102 | ScrollTrigger.create({ 103 | trigger: "body", 104 | start: "30px top", 105 | end: "bottom bottom", 106 | 107 | onEnter: () => myFunction(), 108 | onLeaveBack: () => myFunction(), 109 | }); 110 | 111 | function myFunction() { 112 | elementFirst.classList.toggle('sticky_head'); 113 | } 114 | 115 | var scene = $(".js-parallax-scene").get(0); 116 | var parallaxInstance = new Parallax(scene); 117 | 118 | 119 | }); 120 | 121 | 122 | jQuery(window).on('load', function () { 123 | $('body').removeClass('body-fixed'); 124 | 125 | //activating tab of filter 126 | let targets = document.querySelectorAll(".filter"); 127 | let activeTab = 0; 128 | let old = 0; 129 | let dur = 0.4; 130 | let animation; 131 | 132 | for (let i = 0; i < targets.length; i++) { 133 | targets[i].index = i; 134 | targets[i].addEventListener("click", moveBar); 135 | } 136 | 137 | // initial position on first === All 138 | gsap.set(".filter-active", { 139 | x: targets[0].offsetLeft, 140 | width: targets[0].offsetWidth 141 | }); 142 | 143 | function moveBar() { 144 | if (this.index != activeTab) { 145 | if (animation && animation.isActive()) { 146 | animation.progress(1); 147 | } 148 | animation = gsap.timeline({ 149 | defaults: { 150 | duration: 0.4 151 | } 152 | }); 153 | old = activeTab; 154 | activeTab = this.index; 155 | animation.to(".filter-active", { 156 | x: targets[activeTab].offsetLeft, 157 | width: targets[activeTab].offsetWidth 158 | }); 159 | 160 | animation.to(targets[old], { 161 | color: "#0d0d25", 162 | ease: "none" 163 | }, 0); 164 | animation.to(targets[activeTab], { 165 | color: "#fff", 166 | ease: "none" 167 | }, 0); 168 | 169 | } 170 | 171 | } 172 | }); --------------------------------------------------------------------------------