{"version":3,"sources":["main.js"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","imageMap","$","maphilight","rwdImageMaps","tooltipster","contentCloning","maxWidth","minWidth","fullPageInit","_fullpage","fullpage","licenseKey","bigSectionsDestination","top","menu","lockAnchors","fixedElements","anchors","navigationTooltips","showActiveTooltip","slidesNavigation","slidesNavPosition","origin","destination","direction","isLast","addClass","index","removeClass","error","wheelDown","click","$nextElement","this","parents","next","length","stop","animate","scrollTop","offset","outerHeight","toggleFunc","$hamburger","on","toggleClass","hasClass","slideUp","parent","slideDown","css","event","preventDefault","focus","target","className","keyCode","swiperInit","Swiper","slidesPerView","speed","autoplay","delay","pauseOnMouseEnter","lazy","loadPrevNext","navigation","nextEl","prevEl","pagination","el","type","clickable","workfield","spaceBetween","breakpoints","200","576","769","1280","centeredSlides","slideTo","768","1024","productThumb","watchSlidesVisibility","watchSlidesProgress","thumbs","swiper","each","element","_Swiper","$this","find","_Swiper2","1200","_Swiper3","_Swiper4","_Swiper5","tabActive","display","attr","setBackground","background","background-image","background-size","background-position","background-repeat","document","ready","window","width","fadeIn","removeAttr","querySelector","addEventListener","e","fullpage_api","moveSectionDown","Fancybox","bind","parentEl","forms"],"mappings":"AAAA,aAEA,SAASA,gBAAgBC,EAAKC,EAAKC,GAAiK,OAApJD,KAAOD,EAAOG,OAAOC,eAAeJ,EAAKC,EAAK,CAAEC,MAAOA,EAAOG,YAAY,EAAMC,cAAc,EAAMC,UAAU,IAAkBP,EAAIC,GAAOC,EAAgBF,EA4B3M,SAASQ,WAGRC,EAAE,kCAAkCC,aACpCD,EAAE,kCAAkCE,eAGpCF,EAAE,YAAYG,YAAY,CACzBC,gBAAgB,EAChBC,SAAU,IACVC,SAAU,MAKZ,SAASC,eACR,IAAI,IAAAC,EACc,IAAIC,SAAS,aAAbnB,gBAAAkB,EAAA,CAEhBE,WAAY,sCACZC,uBAAwBC,IACxBC,KAAM,iBACNC,aAAa,EACbC,cAAe,+BACfC,QAAS,C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AOzF,IAGT7B,cAqFDuH,SAASC,KAAK,kBAAmB,CAChCC,SAAUb,SAASc,MAAM","file":"main.min.js","sourcesContent":["$(document).ready(function () {\r\n\t//Hide element when smaller than 1025\r\n\tif ($(window).width() < 1025) {\r\n\t\t$(\".header-bottom\").fadeIn(function () {\r\n\t\t\t$(\".header-bottom\").css({\r\n\t\t\t\tdisplay: \"flex\"\r\n\t\t\t});\r\n\t\t});\r\n\t\t$('#fullpage').removeAttr('id');\r\n\t}\r\n\r\n\tsetBackground();\r\n\ttabActive();\r\n\tswiperInit();\r\n\ttoggleFunc();\r\n\ttry {\r\n\t\tfullPageInit();\r\n\t\tdocument.querySelector('#moveSectionDown').addEventListener('click', function (e) {\r\n\t\t\te.preventDefault();\r\n\t\t\tfullpage_api.moveSectionDown();\r\n\t\t});\r\n\r\n\t} catch (error) {\r\n\r\n\t}\r\n\timageMap();\r\n\t// wheelDown();\r\n});\r\n\r\n\r\nfunction imageMap() {\r\n\t//Image map tool\r\n\t//Map high light\r\n\t$('.image-map-wrapper img[usemap]').maphilight();\r\n\t$('.image-map-wrapper img[usemap]').rwdImageMaps();\r\n\r\n\t//map hight light text\r\n\t$('.tooltip').tooltipster({\r\n\t\tcontentCloning: true,\r\n\t\tmaxWidth: 320,\r\n\t\tminWidth: 280,\r\n\r\n\t});\r\n}\r\n\r\nfunction fullPageInit() {\r\n\ttry {\r\n\t\tvar myFullpage = new fullpage('#fullpage', {\r\n\t\t\t//Navigation\r\n\t\t\tlicenseKey: 'A3DA879C-B1254377-8A906973-AAE812EA',\r\n\t\t\tbigSectionsDestination: top,\r\n\t\t\tmenu: '#menu-parallax',\r\n\t\t\tlockAnchors: false,\r\n\t\t\tfixedElements: 'header,.wheel,#menu-parallax',\r\n\t\t\tanchors: ['firstPage', 'secondPage', 'thirdPage', 'fourthPage', 'fifthPage', 'lastPage'],\r\n\t\t\tnavigationTooltips: ['firstPage', 'secondPage', 'thirdPage', 'fourthPage', 'fifthPage', 'lastPage'],\r\n\t\t\tshowActiveTooltip: false,\r\n\t\t\tslidesNavigation: true,\r\n\t\t\tslidesNavPosition: 'bottom',\r\n\t\t\tshowActiveTooltip: true,\r\n\t\t\t//Scrolling\r\n\t\t\tcss3: true,\r\n\t\t\toffsetSections: true,\r\n\t\t\tscrollingSpeed: 700,\r\n\t\t\tautoScrolling: true,\r\n\t\t\tfitToSection: true,\r\n\t\t\tfitToSectionDelay: 1000,\r\n\t\t\tscrollBar: false,\r\n\t\t\teasing: 'easeInOutCubic',\r\n\t\t\teasingcss3: 'ease',\r\n\t\t\tloopBottom: false,\r\n\t\t\tloopTop: false,\r\n\t\t\tloopHorizontal: true,\r\n\t\t\tcontinuousVertical: false,\r\n\t\t\tscrollOverflow: false,\r\n\t\t\ttouchSensitivity: 15,\r\n\t\t\tnormalScrollElementTouchThreshold: 5,\r\n\t\t\t//Accessibility\r\n\t\t\tkeyboardScrolling: true,\r\n\t\t\tanimateAnchor: true,\r\n\t\t\trecordHistory: true,\r\n\t\t\t//Design\r\n\t\t\tcontrolArrows: true,\r\n\t\t\tverticalCentered: true,\r\n\t\t\tresize: false,\r\n\t\t\tresponsiveWidth: 0,\r\n\t\t\tresponsiveHeight: 0,\r\n\t\t\t//Custom selectors\r\n\t\t\tsectionSelector: 'section',\r\n\t\t\tdragAndMove: true,\r\n\t\t\tonLeave: function (origin, destination, direction) {\r\n\t\t\t\tvar loadedSection = this;\r\n\r\n\t\t\t\t//using index\r\n\t\t\t\tif (origin.isLast = true) {\r\n\t\t\t\t\t$('#moveSectionDown').addClass('minimize')\r\n\t\t\t\t} else if (origin.index == 1 && direction == 'up') {\r\n\t\t\t\t\t$('#moveSectionDown').removeClass('minimize')\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//using anchorLink\r\n\r\n\t\t\t}\r\n\r\n\t\t});\r\n\t} catch (error) {}\r\n}\r\n\r\n\r\n\r\nFancybox.bind(\"[data-fancybox]\", {\r\n\tparentEl: document.forms[0], // Element containing main structure\r\n\r\n});\r\n\r\nfunction wheelDown() {\r\n\t$(\".primary-banner .wheel\").click(function () {\r\n\t\tvar $nextElement = $(this).parents('section').next();\r\n\t\t// Check if next element actually exists\r\n\t\tif ($nextElement.length) {\r\n\t\t\t// If yes, update:\r\n\t\t\t// 1. $currentElement\r\n\t\t\t// 2. Scroll position\r\n\t\t\t$('html, body').stop(true).animate({\r\n\t\t\t\tscrollTop: $nextElement.offset().top - $(\"header\").outerHeight()\r\n\t\t\t}, 600);\r\n\t\t}\r\n\t\treturn false;\r\n\t});\r\n}\r\n\r\n\r\nfunction toggleFunc() {\r\n\tvar $hamburger = $(\".hamburger\");\r\n\t$(\".main-menu-toggle\").on(\"click\", function () {\r\n\t\t$('.navbar-primary-menu ').toggleClass('open-menu')\r\n\t\t$hamburger.toggleClass(\"is-active\");\r\n\t});\r\n\t$('.drop-down .title em').on('click', function () {\r\n\t\tif ($(this).parents('.drop-down').hasClass('open-sub')) {\r\n\t\t\t$('.drop-down .nav-sub').slideUp();\r\n\t\t\t$('.drop-down').removeClass('open-sub');\r\n\t\t} else {\r\n\t\t\t$('.drop-down .nav-sub').slideUp();\r\n\t\t\t$('.drop-down').removeClass('open-sub');\r\n\t\t\t$(this).parent().next().slideDown();\r\n\t\t\t$(this).parents('.drop-down').addClass('open-sub')\r\n\t\t}\r\n\t})\r\n\t$(\".search-toggle\").on(\"click\", function () {\r\n\t\t$(\".searchbox\").toggleClass(\"open\");\r\n\t\t$(\".search-toggle\").toggleClass(\"icon-change\");\r\n\t\tif ($('.header-top-banner').hasClass('hidden')) {\r\n\t\t\t$('.searchbox.open').css({\r\n\t\t\t\t'top': '55px'\r\n\t\t\t})\r\n\t\t}\r\n\t\tevent.preventDefault();\r\n\t\t$('.searchbox > input[type=\"text\"]').focus();\r\n\t});\r\n\r\n\t$(\".searchbox, .searchbox .close\").on(\"click keyup\", function (event) {\r\n\t\tif (\r\n\t\t\tevent.target == this ||\r\n\t\t\tevent.target.className == \"close\" ||\r\n\t\t\tevent.keyCode == 27\r\n\t\t) {\r\n\t\t\t$(this).removeClass(\"open\");\r\n\t\t\t$(\".search-toggle\").removeClass(\"icon-change\");\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction swiperInit() {\r\n\tvar primarySwiper = new Swiper(\".primary-banner .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tslidesPerView: 1,\r\n\t\tspeed: 1205,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\r\n\t\t},\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".primary-banner .nav-arrow-next\",\r\n\t\t\tprevEl: \".primary-banner .nav-arrow-prev\",\r\n\t\t},\r\n\t\tpagination: {\r\n\t\t\tel: \".primary-banner .swiper-pagination\",\r\n\t\t\ttype: \"bullets\",\r\n\t\t\tclickable: true,\r\n\t\t},\r\n\t});\r\n\r\n\r\n\tvar workfield = new Swiper(\".work-field-swiper .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tspeed: 1205,\r\n\t\tspaceBetween: 30,\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t200: {\r\n\t\t\t\tslidesPerView: 1,\r\n\t\t\t},\r\n\t\t\t576: {\r\n\t\t\t\tslidesPerView: 1,\r\n\t\t\t},\r\n\t\t\t769: {\r\n\t\t\t\tslidesPerView: 1,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tcenteredSlides: true,\r\n\t\t\t\tslidesPerView: 3.9,\r\n\t\t\t\tspaceBetween: 10,\r\n\t\t\t},\r\n\t\t},\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\r\n\t\t},\r\n\t});\r\n\ttry {\r\n\t\tworkfield.slideTo(2)\r\n\t} catch (error) {}\r\n\r\n\r\n\r\n\r\n\r\n\tvar footerPartner = new Swiper(\".footer-partner .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tspeed: 1205,\r\n\t\tspaceBetween: 30,\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".footer-partner .nav-arrow-next\",\r\n\t\t\tprevEl: \".footer-partner .nav-arrow-prev\",\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t200: {\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t576: {\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t\t768: {\r\n\t\t\t\tslidesPerView: 4,\r\n\t\t\t},\r\n\t\t\t1024: {\r\n\t\t\t\tslidesPerView: 5,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tslidesPerView: 6,\r\n\t\t\t},\r\n\t\t},\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\r\n\t\t},\r\n\t});\r\n\r\n\r\n\tvar newsOther = new Swiper(\".swiper-news-other .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tspeed: 1205,\r\n\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t200: {\r\n\t\t\t\tslidesPerView: 1,\r\n\t\t\t},\r\n\t\t\t576: {\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t769: {\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tcenteredSlides: true,\r\n\t\t\t\tslidesPerView: 2.7,\r\n\t\t\t},\r\n\t\t},\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\r\n\t\t},\r\n\t});\r\n\r\n\tvar topBanner = new Swiper(\".top-banner .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tspeed: 1205,\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tslidesPerView: 1,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\r\n\t\t},\r\n\t});\r\n\r\n\tvar swiperVideo = new Swiper(\".swiper-video .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tspeed: 1205,\r\n\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t200: {\r\n\t\t\t\tslidesPerView: 1,\r\n\t\t\t},\r\n\t\t\t1024: {\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tcenteredSlides: true,\r\n\t\t\t\tslidesPerView: 2.07,\r\n\t\t\t},\r\n\t\t},\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\r\n\t\t},\r\n\t});\r\n\r\n\r\n\r\n\tvar productThumb = new Swiper(\".swiper-media-thumb .swiper\", {\r\n\t\tspaceBetween: 10,\r\n\t\tbreakpoints: {\r\n\t\t\t200: {\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t\tdirection: 'horizontal'\r\n\t\t\t},\r\n\t\t\t576: {\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t\tdirection: 'horizontal'\r\n\t\t\t},\r\n\r\n\t\t\t1024: {\r\n\t\t\t\tspaceBetween: 10,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t\tdirection: 'vertical'\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tspaceBetween: 5,\r\n\t\t\t\tslidesPerView: 4.2,\r\n\t\t\t\tdirection: 'vertical'\r\n\t\t\t},\r\n\t\t},\r\n\t\tpagination: {\r\n\t\t\tel: \".swiper-media-thumb .swiper-pagination\",\r\n\t\t\ttype: \"progressbar\",\r\n\t\t},\r\n\r\n\t\twatchSlidesVisibility: true,\r\n\t\twatchSlidesProgress: true,\r\n\t});\r\n\tvar productMain = new Swiper(\".swiper-media-main .swiper\", {\r\n\t\tspaceBetween: 10,\r\n\t\tspeed: 1205,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000\r\n\t\t},\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tthumbs: {\r\n\t\t\tswiper: productThumb,\r\n\t\t},\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".swiper-media-main .nav-arrow-next\",\r\n\t\t\tprevEl: \".swiper-media-main .nav-arrow-prev\",\r\n\t\t},\r\n\r\n\t});\r\n\t$(\".single-swiper .swiper\").each(function (index, element) {\r\n\t\tvar $this = $(this);\r\n\t\t$this.addClass(\"single-instance-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-prev\")\r\n\t\t\t.addClass(\"btn-prev-single-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-next\")\r\n\t\t\t.addClass(\"btn-next-single-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".swiper-pagination\")\r\n\t\t\t.addClass(\"pagination-instance-\" + index);\r\n\r\n\t\tvar swiper = new Swiper(\".single-instance-\" + index, {\r\n\t\t\tspeed: 1205,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 3000,\r\n\t\t\t\tpauseOnMouseEnter: true,\r\n\t\t\t},\r\n\t\t\tlazy: {\r\n\t\t\t\tloadPrevNext: true,\r\n\t\t\t},\r\n\t\t\tspeed: 750,\r\n\t\t\tobserver: true,\r\n\t\t\tspaceBetween: 30,\r\n\t\t\tobserveParents: true,\r\n\t\t\tslidesPerView: 1,\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".btn-next-single-\" + index,\r\n\t\t\t\tprevEl: \".btn-prev-single-\" + index,\r\n\t\t\t},\r\n\t\t\tpagination: {\r\n\t\t\t\tel: \".pagination-instance-\" + index,\r\n\t\t\t\ttype: \"bullets\",\r\n\t\t\t\tclickable: true,\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n\t$(\".trinity-swiper .swiper\").each(function (index, element) {\r\n\t\tvar $this = $(this);\r\n\t\t$this.addClass(\"tri-instance-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-prev\")\r\n\t\t\t.addClass(\"btn-prev-tri-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-next\")\r\n\t\t\t.addClass(\"btn-next-tri-\" + index);\r\n\r\n\t\tvar swiper = new Swiper(\".tri-instance-\" + index, {\r\n\t\t\tspeed: 1205,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 3000,\r\n\t\t\t\tpauseOnMouseEnter: true,\r\n\t\t\t},\r\n\t\t\tlazy: {\r\n\t\t\t\tloadPrevNext: true,\r\n\t\t\t},\r\n\t\t\tspeed: 750,\r\n\t\t\tobserver: true,\r\n\t\t\tspaceBetween: 30,\r\n\t\t\tobserveParents: true,\r\n\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t200: {\r\n\t\t\t\t\tslidesPerView: 1,\r\n\t\t\t\t},\r\n\t\t\t\t576: {\r\n\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t},\r\n\t\t\t\t769: {\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t\t1200: {\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".btn-next-tri-\" + index,\r\n\t\t\t\tprevEl: \".btn-prev-tri-\" + index,\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n\r\n\t$(\".four-swiper .swiper\").each(function (index, element) {\r\n\t\tvar $this = $(this);\r\n\t\t$this.addClass(\"instance-four\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-prev\")\r\n\t\t\t.addClass(\"btn-prev-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-next\")\r\n\t\t\t.addClass(\"btn-next-\" + index);\r\n\r\n\t\tvar swiper = new Swiper(\".instance-four\" + index, {\r\n\t\t\tspeed: 1205,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 3000,\r\n\t\t\t\tpauseOnMouseEnter: true,\r\n\t\t\t},\r\n\t\t\tlazy: {\r\n\t\t\t\tloadPrevNext: true,\r\n\t\t\t},\r\n\t\t\tspeed: 750,\r\n\t\t\tobserver: true,\r\n\t\t\tspaceBetween: 30,\r\n\t\t\tobserveParents: true,\r\n\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t200: {\r\n\t\t\t\t\tslidesPerView: 1,\r\n\t\t\t\t},\r\n\t\t\t\t576: {\r\n\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t},\r\n\t\t\t\t769: {\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t\t1280: {\r\n\t\t\t\t\tslidesPerView: 4,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".btn-next-\" + index,\r\n\t\t\t\tprevEl: \".btn-prev-\" + index,\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n\t$(\".double-swiper .swiper\").each(function (index, element) {\r\n\t\tvar $this = $(this);\r\n\t\t$this.addClass(\"instance-quad\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-prev\")\r\n\t\t\t.addClass(\"btn-prev-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-next\")\r\n\t\t\t.addClass(\"btn-next-\" + index);\r\n\r\n\t\tvar swiper = new Swiper(\".instance-quad\" + index, {\r\n\t\t\tspeed: 1205,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 3000,\r\n\t\t\t\tpauseOnMouseEnter: true,\r\n\t\t\t},\r\n\t\t\tlazy: {\r\n\t\t\t\tloadPrevNext: true,\r\n\t\t\t},\r\n\t\t\tspeed: 750,\r\n\t\t\tobserver: true,\r\n\t\t\tspaceBetween: 30,\r\n\t\t\tobserveParents: true,\r\n\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t200: {\r\n\t\t\t\t\tslidesPerView: 1,\r\n\t\t\t\t},\r\n\t\t\t\t576: {\r\n\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".btn-next-\" + index,\r\n\t\t\t\tprevEl: \".btn-prev-\" + index,\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n\t$(\".swiper-project-thumb .swiper\").each(function (index, element) {\r\n\t\tvar $this = $(this);\r\n\t\t$this.addClass(\"instance-thumb\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-prev\")\r\n\t\t\t.addClass(\"btn-prev-thumb-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-arrow-next\")\r\n\t\t\t.addClass(\"btn-next-thumb-\" + index);\r\n\r\n\t\tvar swiperProjectThumb = new Swiper(\".instance-thumb\" + index, {\r\n\t\t\tspeed: 1205,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 3000,\r\n\t\t\t\tpauseOnMouseEnter: true,\r\n\t\t\t},\r\n\t\t\tlazy: {\r\n\t\t\t\tloadPrevNext: true,\r\n\t\t\t},\r\n\t\t\tspeed: 750,\r\n\t\t\tobserver: true,\r\n\t\t\tspaceBetween: 30,\r\n\t\t\tobserveParents: true,\r\n\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t200: {\r\n\t\t\t\t\tslidesPerView: 1,\r\n\t\t\t\t\tdirection: 'horizontal'\r\n\t\t\t\t},\r\n\t\t\t\t576: {\r\n\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t\tdirection: 'horizontal'\r\n\t\t\t\t},\r\n\t\t\t\t1024: {\r\n\t\t\t\t\tslidesPerView: 4,\r\n\t\t\t\t\tdirection: 'vertical',\r\n\t\t\t\t},\r\n\t\t\t\t1280: {\r\n\t\t\t\t\tdirection: 'vertical',\r\n\t\t\t\t\tslidesPerView: 5,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".btn-next-thumb-\" + index,\r\n\t\t\t\tprevEl: \".btn-prev-thumb-\" + index,\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n\r\n\r\n\r\n}\r\n\r\n//Tab active\r\n\r\nfunction tabActive() {\r\n\t$(\".tab-navigation li a\").on(\"click\", function () {\r\n\t\t$(this)\r\n\t\t\t.parents(\".tab-navigation\")\r\n\t\t\t.find(\"li\")\r\n\t\t\t.removeClass(\"active\");\r\n\t\t$(this)\r\n\t\t\t.parents(\"li\")\r\n\t\t\t.addClass(\"active\");\r\n\r\n\t\tvar display = $(this).attr(\"data-type\");\r\n\t\t$(\".tab-item\").removeClass(\"active\");\r\n\t\t$(\"#\" + display).addClass(\"active\");\r\n\t});\r\n}\r\n// Side \r\nfunction setBackground() {\r\n\t$(\"[setBackground]\").each(function () {\r\n\t\tvar background = $(this).attr(\"setBackground\");\r\n\t\t$(this).css({\r\n\t\t\t\"background-image\": \"url(\" + background + \")\",\r\n\t\t\t\"background-size\": \"cover\",\r\n\t\t\t\"background-position\": \"center center\",\r\n\t\t});\r\n\t});\r\n\t$(\"[setBackgroundRepeat]\").each(function () {\r\n\t\tvar background = $(this).attr(\"setBackgroundRepeat\");\r\n\t\t$(this).css({\r\n\t\t\t\"background-image\": \"url(\" + background + \")\",\r\n\t\t\t\"background-repeat\": \"repeat\",\r\n\t\t});\r\n\t});\r\n}\r\n"]}