{"version":3,"sources":["main.js"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","Object","toString","call","slice","name","Array","from","test","len","length","arr2","_i","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","return","isArray","_defineProperty","key","_toPropertyKey","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","toPrimitive","undefined","res","Number","scrollReveal","ScrollReveal","reveal","origin","duration","delay","interval","reset","distance","mobile","easing","backToTop","$","on","e","preventDefault","animate","scrollTop","stickyNav","scrollToFixed","zIndex","marginTop","outerHeight","window","scroll","scrollDistance","each","this","position","top","removeClass","eq","addClass","event","hash","offset","filterItem","x","find","show","size","parents","slideDown","slideUp","generalFnc","bodyWrap","document","querySelector","menuToggle","hamburger","menuMobile","searchToggle","search","backTop","addEventListener","classList","toggle","width","hasClass","parent","slideToggle","css","height","button","content","toggleClass","appendTo","target","closest","remove","display","attr","swiperInit","galleryThumbArray","galleryMainArray","swiperThumbInstance","index","_Swiper","$this","galleryThumb","Swiper","speed","autoplay","pauseOnMouseEnter","lazy","loadPrevNext","nextEl","prevEl","el","type","clickable","swiperMainInstances","_Swiper2","galleryMain","thumbSwiper","mainSwiper","controller","control","observer","spaceBetween","observeParents","slidesPerView","grid","rows","pagination","effect","fadeEffect","crossFade","element","_Swiper3","loop","_Swiper4","_Swiper5","breakpoints","navigation","dynamicBullets","historyThumbs","breakpointsInverse","watchSlidesVisibility","watchSlidesProgress","centeredSlides","thumbs","swiper","setBackground","querySelectorAll","forEach","style","cssText","concat","getAttribute","counterAnimate","counterItem","counterUp","default","IO","IntersectionObserver","entries","entry","isIntersecting","contains","add","threshold","counter","observe","mappingFunc","MappingListener","selector","mobileWrapper","mobileMethod","desktopWrapper","desktopMethod","breakpoint","watch","hideElement","_map2","map","innerWidth","nav","body","documentElement","Fancybox","bind","parentEl","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AAU,MAAM,GACpE,CACD,CAzxBAxB,SAASQ,iBAAiB,oBAAoB,WAC7C0F,cACAS,cACAjF,aACAmD,gBACAO,iBACAtF,aACAR,aACAzB,YACAO,YACAlB,cACD,IAEAuB,OAAO+B,iBAAiB,UAAU,WACrB3B,KAAKJ,OAAOqI,YACX,SACZZ,cACAS,cAEF,IACAlI,OAAO+B,iBAAiB,UAAU,WACjC,IAAMuG,EAAM/G,SAASC,cAAc,kBAElCD,SAASgH,KAAK7I,UAAYL,EAAEW,QAAQuC,UACpChB,SAASiH,gBAAgB9I,UAAYL,EAAEW,QAAQuC,SAE/C+F,EAAItG,UAAUqF,IAAI,QAElBiB,EAAItG,UAAUc,OAAO,QAElBzD,EAAEW,QAAQkC,QAAU,SAEtBX,SAASgH,KAAK7I,UAAY,KAC1B6B,SAASiH,gBAAgB9I,UAAY,IAErCL,EAAE,UAAUoB,SAAS,YAErBpB,EAAE,UAAUkB,YAAY,aAIzBgB,SAASgH,KAAK7I,UAAYL,EAAEW,QAAQuC,UACpChB,SAASiH,gBAAgB9I,UAAYL,EAAEW,QAAQuC,SAE/ClD,EAAE,kBAAkBoB,SAAS,QAE7BpB,EAAE,kBAAkBkB,YAAY,OAElC,IAqLAkI,SAASC,KAAK,kBAAmB,CAChCC,SAAUpH,SAASqH,MAAM","file":"main.min.js","sourcesContent":["document.addEventListener(\"DOMContentLoaded\", () => {\r\n\tmappingFunc();\r\n\thideElement();\r\n\tswiperInit();\r\n\tsetBackground();\r\n\tcounterAnimate();\r\n\tgeneralFnc();\r\n\tfilterItem();\r\n\tbackToTop();\r\n\tstickyNav();\r\n\tscrollReveal();\r\n});\r\n\r\nwindow.addEventListener(\"resize\", function () {\r\n\tlet width = this.window.innerWidth;\r\n\tif (width <= 1024.1) {\r\n\t\tmappingFunc();\r\n\t\thideElement();\r\n\t}\r\n});\r\nwindow.addEventListener(\"scroll\", function () {\r\n\tconst nav = document.querySelector(\".side-nav-tool\");\r\n\tif (\r\n\t\tdocument.body.scrollTop > $(window).height() ||\r\n\t\tdocument.documentElement.scrollTop > $(window).height()\r\n\t) {\r\n\t\tnav.classList.add(\"show\");\r\n\t} else {\r\n\t\tnav.classList.remove(\"show\");\r\n\t}\r\n\tif ($(window).width() > 1200.1) {\r\n\t\tif (\r\n\t\t\tdocument.body.scrollTop > 100 ||\r\n\t\t\tdocument.documentElement.scrollTop > 100\r\n\t\t) {\r\n\t\t\t$(\"header\").addClass(\"minimize\");\r\n\t\t} else {\r\n\t\t\t$(\"header\").removeClass(\"minimize\");\r\n\t\t}\r\n\t}\r\n\tif (\r\n\t\tdocument.body.scrollTop > $(window).height() ||\r\n\t\tdocument.documentElement.scrollTop > $(window).height()\r\n\t) {\r\n\t\t$(\".side-nav-tool\").addClass(\"show\");\r\n\t} else {\r\n\t\t$(\".side-nav-tool\").removeClass(\"show\");\r\n\t}\r\n});\r\n\r\nfunction scrollReveal() {\r\n\tlet fadeDown = {\r\n\t\torigin: \"top\",\r\n\t\tduration: 950,\r\n\t\tdelay: 200,\r\n\t\tinterval: 150,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeUp = {\r\n\t\torigin: \"bottom\",\r\n\t\tduration: 950,\r\n\t\tdelay: 150,\r\n\t\tinterval: 50,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeUp2 = {\r\n\t\torigin: \"bottom\",\r\n\t\tduration: 950,\r\n\t\tdelay: 300,\r\n\t\tinterval: 50,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeUp3 = {\r\n\t\torigin: \"bottom\",\r\n\t\tduration: 950,\r\n\t\tdelay: 450,\r\n\t\tinterval: 50,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeUp4 = {\r\n\t\torigin: \"bottom\",\r\n\t\tduration: 950,\r\n\t\tdelay: 600,\r\n\t\tinterval: 50,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeLeft = {\r\n\t\torigin: \"left\",\r\n\t\tduration: 950,\r\n\t\tdelay: 200,\r\n\t\tinterval: 50,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeRight = {\r\n\t\torigin: \"right\",\r\n\t\tduration: 950,\r\n\t\tdelay: 200,\r\n\t\tinterval: 50,\r\n\t\treset: false,\r\n\t\tdistance: \"50%\",\r\n\t\tmobile: false\r\n\t};\r\n\tlet fadeIn = {\r\n\t\torigin: \"top\",\r\n\t\tduration: 1100,\r\n\t\tdelay: 320,\r\n\t\tinterval: 150,\r\n\t\treset: false,\r\n\t\tdistance: 0,\r\n\t\tmobile: false\r\n\t};\r\n\tScrollReveal().reveal(\".fd-down\", fadeDown, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-up\", fadeUp, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-up-2\", fadeUp2, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-up-3\", fadeUp3, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-up-4\", fadeUp4, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-left\", fadeLeft, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-right\", fadeRight, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n\tScrollReveal().reveal(\".fd-in\", fadeIn, {\r\n\t\teasing: \"cubic-bezier(.38,.37,.42,.42)\",\r\n\t});\r\n}\r\n\r\nfunction backToTop() {\r\n\tlet btn = $(\".back-to-top\");\r\n\tbtn.on(\"click\", function (e) {\r\n\t\te.preventDefault();\r\n\t\t$(\"html, body\").animate(\r\n\t\t\t{\r\n\t\t\t\tscrollTop: 0,\r\n\t\t\t},\r\n\t\t\t\"300\"\r\n\t\t);\r\n\t});\r\n}\r\nfunction stickyNav() {\r\n\tif ($(\".sticky-nav\").length) {\r\n\t\t$(\".sticky-nav\").scrollToFixed({\r\n\t\t\tzIndex: 99,\r\n\t\t\tmarginTop: $(\"header\").outerHeight(),\r\n\t\t});\r\n\t}\r\n\r\n\t$(window)\r\n\t\t.scroll(function () {\r\n\t\t\tvar scrollDistance = $(window).scrollTop();\r\n\t\t\t// Assign active class to nav links while scolling\r\n\t\t\t$(\".about-section-wrapper .about-section-id\").each(function (i) {\r\n\t\t\t\tif (\r\n\t\t\t\t\t$(this).position().top -\r\n\t\t\t\t\t\t$(\".sticky-nav\").outerHeight() -\r\n\t\t\t\t\t\t$(\"header\").outerHeight() -\r\n\t\t\t\t\t\t1 <=\r\n\t\t\t\t\tscrollDistance\r\n\t\t\t\t) {\r\n\t\t\t\t\t$(\".sticky-nav li.active\").removeClass(\"active\");\r\n\t\t\t\t\t$(\".sticky-nav li\").eq(i).addClass(\"active\");\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t})\r\n\t\t.scroll();\r\n\t$(\".sticky-nav a\").on(\"click\", function (event) {\r\n\t\tif (this.hash !== \"\") {\r\n\t\t\tlet offset =\r\n\t\t\t\t$(\"header\").outerHeight() + $(\".sticky-nav\").outerHeight();\r\n\t\t\tvar hash = this.hash;\r\n\t\t\t$(\"html, body\").animate(\r\n\t\t\t\t{\r\n\t\t\t\t\tscrollTop: $(hash).offset().top - offset,\r\n\t\t\t\t},\r\n\t\t\t\t800,\r\n\t\t\t\tfunction () {\r\n\t\t\t\t\t// window.location.hash = hash;\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t} // End if\r\n\t});\r\n}\r\n\r\nfunction filterItem() {\r\n\t$(\".filter-display-wrapper\").each(function () {\r\n\t\tlet x = 8;\r\n\t\t$(this).find(\".col-item\").slice(0, 8).show();\r\n\t\tlet size = $(this).find(\".col-item\").length;\r\n\t\tif (size < x || size == x) {\r\n\t\t\t$(this).find(\".grid-center\").addClass(\"disble-btn\");\r\n\t\t}\r\n\t\t$(\".filter-display-wrapper\")\r\n\t\t\t.find(\".btn-primary\")\r\n\t\t\t.on(\"click\", function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\tx = x + 8;\r\n\t\t\t\t$(this)\r\n\t\t\t\t\t.parents(\".filter-display-wrapper\")\r\n\t\t\t\t\t.find(\".col-item\")\r\n\t\t\t\t\t.slice(0, x)\r\n\t\t\t\t\t.slideDown();\r\n\t\t\t\tif (x >= size || size < x) {\r\n\t\t\t\t\t$(this).slideUp();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t});\r\n}\r\nFancybox.bind(\"[data-fancybox]\", {\r\n\tparentEl: document.forms[0], // Element containing main structure\r\n});\r\n\r\nfunction generalFnc() {\r\n\t//Toggle Javascript code\r\n\r\n\tconst bodyWrap = document.querySelector(\"body\");\r\n\tconst menuToggle = document.querySelector(\".menu-toggle\");\r\n\r\n\tconst hamburger = document.querySelector(\".hamburger\");\r\n\tconst menuMobile = document.querySelector(\".mobile-nav-wrap\");\r\n\r\n\tconst searchToggle = document.querySelector(\".search-toggle\");\r\n\tconst search = document.querySelector(\".searchbox\");\r\n\tconst backTop = document.querySelector(\".back-to-top\");\r\n\r\n\t//const Cart\r\n\tconst cart = document.querySelector(\".shopping-cart-wrapper\");\r\n\r\n\t// Menu function\r\n\r\n\tmenuToggle.addEventListener(\"click\", () => {\r\n\t\tmenuMobile.classList.toggle(\"is-open\");\r\n\t\thamburger.classList.toggle(\"is-active\");\r\n\t\tbodyWrap.classList.toggle(\"overlay-bg\");\r\n\t});\r\n\t//Search Toggle\r\n\r\n\tsearchToggle.addEventListener(\"click\", function (event) {\r\n\t\tsearch.classList.toggle(\"open\");\r\n\t});\r\n\r\n\tif ($(window).width() < 1200) {\r\n\t\t$(\".drop-down .title em\").on(\"click\", function () {\r\n\t\t\tif ($(this).parents(\".drop-down\").hasClass(\"is-open\")) {\r\n\t\t\t\t$(\".drop-down .nav-sub\").slideUp();\r\n\t\t\t\t$(\".drop-down\").removeClass(\"is-open\");\r\n\t\t\t} else {\r\n\t\t\t\t$(\".drop-down .nav-sub\").slideUp();\r\n\t\t\t\t$(\".drop-down\").removeClass(\"is-open\");\r\n\t\t\t\t$(this).parent().next().slideDown();\r\n\t\t\t\t$(this).parents(\".drop-down\").addClass(\"is-open\");\r\n\t\t\t}\r\n\t\t});\r\n\t\t$(\".drop-mega >.title em\").on(\"click\", function () {\r\n\t\t\tif ($(this).parents(\".drop-mega\").hasClass(\"open-mega\")) {\r\n\t\t\t\t$(\".drop-mega .mega-wrap\").slideUp();\r\n\t\t\t\t$(\".drop-mega\").removeClass(\"open-mega\");\r\n\t\t\t} else {\r\n\t\t\t\t$(\".drop-mega .mega-wrap\").slideUp();\r\n\t\t\t\t$(\".drop-mega\").removeClass(\"open-mega\");\r\n\t\t\t\t$(this).parent().next().slideDown();\r\n\t\t\t\t$(this).parents(\".drop-mega\").addClass(\"open-mega\");\r\n\t\t\t}\r\n\t\t});\r\n\t\t$(\".dropdown .title em\").on(\"click\", function () {\r\n\t\t\tif ($(this).parents(\".dropdown\").hasClass(\"open-sub\")) {\r\n\t\t\t\t$(\".dropdown .menu-sub-2\").slideUp();\r\n\t\t\t\t$(\".dropdown\").removeClass(\"open-sub\");\r\n\t\t\t} else {\r\n\t\t\t\t$(\".dropdown .menu-sub-2\").slideUp();\r\n\t\t\t\t$(\".dropdown\").removeClass(\"open-sub\");\r\n\t\t\t\t$(this).parent().next().slideDown();\r\n\t\t\t\t$(this).parents(\".dropdown\").addClass(\"open-sub\");\r\n\t\t\t}\r\n\t\t});\r\n\t\t$(\".tertiary-menu-toggle\").on(\"click\", function () {\r\n\t\t\t$(\".nav-tertiary-menu\").slideToggle();\r\n\t\t});\r\n\t}\r\n\r\n\r\n\r\n\t$(\".read-more-wrap\").each(function () {\r\n\t\tif ($(this).find(\".desc\").outerHeight() < 70) {\r\n\t\t\t$(this).find(\".btn-view-more\").addClass('disable-btn');\r\n\t\t} else {\r\n\t\t\t$(this).find(\".desc\").css({\r\n\t\t\t\theight: \"70\",\r\n\t\t\t});\r\n\t\t}\r\n\t\tlet button = $(this).find(\".btn-view-more\");\r\n\t\tlet content = $(this);\r\n\t\tbutton.on(\"click\", function () {\r\n\t\t\tcontent.toggleClass(\"open-view\");\r\n\t\t});\r\n\t});\r\n\r\n\t//Commnet append\r\n\r\n\tif ($(\"body\").hasClass(\"product-detail-page\")) {\r\n\t\tif ($(\".commentpanel\").length) {\r\n\t\t\t$(\".commentpanel\").appendTo(\".product-rating-wrap\");\r\n\t\t}\r\n\t}\r\n\r\n\tdocument.addEventListener(\"click\", (event) => {\r\n\t\tif (!event.target.closest(\".search-toggle, .searchbox\")) {\r\n\t\t\tsearch.classList.remove(\"open\");\r\n\t\t}\r\n\t\tif (!event.target.closest(\".mobile-nav-wrap, .menu-toggle\")) {\r\n\t\t\tmenuMobile.classList.remove(\"is-open\");\r\n\t\t\tbodyWrap.classList.remove(\"overlay-bg\");\r\n\t\t\thamburger.classList.remove(\"is-active\");\r\n\t\t}\r\n\t});\r\n\t//Side Nav and back to top\r\n\tbackTop.addEventListener(\"click\", (event) => {\r\n\t\tevent.preventDefault();\r\n\t\t$(\"html, body\").animate({ scrollTop: 0 }, \"300\");\r\n\t});\r\n\t//Tab function\r\n\r\n\t$(\".tab-nav li a\").on(\"click\", function () {\r\n\t\t$(this).parents(\".tab-nav\").find(\"li\").removeClass(\"active\");\r\n\t\t$(this).parents(\"li\").addClass(\"active\");\r\n\r\n\t\tvar display = $(this).attr(\"data-type\");\r\n\t\t$(this).parents(\".tab-panel\").find(\".tab-item\").removeClass(\"active\");\r\n\t\t$(this).parents(\".tab-panel\").find(\"#\" + display).addClass(\"active\");\r\n\t});\r\n}\r\n\r\nfunction swiperInit() {\r\n\tvar galleryThumbArray = [];\r\n\tvar galleryMainArray = [];\r\n\r\n\tlet swiperThumbInstance = $(\".gallery-thumb .swiper\");\r\n\tfor (let index = 0; index < swiperThumbInstance.length; index++) {\r\n\t\tlet $this = $(swiperThumbInstance[index]);\r\n\t\t$this.addClass(\"thumb-instance-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-prev\")\r\n\t\t\t.addClass(\"thumb-prev-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-next\")\r\n\t\t\t.addClass(\"thumb-next-\" + 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-thumb-\" + index);\r\n\t\tvar galleryThumb = new Swiper(\".thumb-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: 4,\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".thumb-next-\" + index,\r\n\t\t\t\tprevEl: \".thumb-prev-\" + index,\r\n\t\t\t},\r\n\t\t\tpagination: {\r\n\t\t\t\tel: \".pagination-thumb-\" + 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\tgalleryThumbArray.push(galleryThumb);\r\n\t}\r\n\r\n\tlet swiperMainInstances = $(\".gallery-main .swiper\");\r\n\tfor (let index = 0; index < swiperMainInstances.length; index++) {\r\n\t\tlet $this = $(swiperMainInstances[index]);\r\n\t\t$this.addClass(\"main-instance-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-prev\")\r\n\t\t\t.addClass(\"main-prev-\" + index);\r\n\t\t$this\r\n\t\t\t.parent()\r\n\t\t\t.find(\".nav-next\")\r\n\t\t\t.addClass(\"main-next-\" + 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-main-\" + index);\r\n\t\tvar galleryMain = new Swiper(\".main-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: \".main-next-\" + index,\r\n\t\t\t\tprevEl: \".main-prev-\" + index,\r\n\t\t\t},\r\n\t\t\tpagination: {\r\n\t\t\t\tel: \".pagination-main-\" + 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\tgalleryMainArray.push(galleryMain);\r\n\t}\r\n\r\n\tfor (var index = 0; index < galleryThumbArray.length; index++) {\r\n\t\tvar thumbSwiper = galleryThumbArray[index];\r\n\t\tvar mainSwiper = galleryMainArray[index];\r\n\r\n\t\tthumbSwiper.controller.control = mainSwiper;\r\n\t\tmainSwiper.controller.control = thumbSwiper;\r\n\t}\r\n\r\n\tvar swiperGrid = new Swiper(\".grid-swiper .swiper\", {\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\tobserver: true,\r\n\t\tspaceBetween: 30,\r\n\t\tobserveParents: true,\r\n\t\tslidesPerView: 4,\r\n\t\tgrid: {\r\n\t\t\trows: 2,\r\n\t\t},\r\n\t\tpagination: {\r\n\t\t\tel: \".swiper-pagination\",\r\n\t\t\tclickable: true,\r\n\t\t},\r\n\t});\r\n\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\teffect: \"fade\",\r\n\t\tfadeEffect: {\r\n\t\t\tcrossFade: true,\r\n\t\t},\r\n\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\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-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-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\tloop: false,\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\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-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-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\tloop: false,\r\n\t\t\tspeed: 750,\r\n\t\t\tobserver: true,\r\n\t\t\tspaceBetween: 20,\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: 2,\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\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-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-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\tloop: false,\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\r\n\tvar partnerSwiper = new Swiper(\".partner-swiper .swiper\", {\r\n\t\t// Optional parameters\r\n\t\tspeed: 1205,\r\n\t\tspaceBetween: 30,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t\tpauseOnMouseEnter: true,\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\tspaceBetween: 10,\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\t769: {\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\t1200: {\r\n\t\t\t\tslidesPerView: 6,\r\n\t\t\t},\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: \".partner-swiper .nav-next\",\r\n\t\t\tprevEl: \".partner-swiper .nav-prev\",\r\n\t\t},\r\n\t\tpagination: {\r\n\t\t\tel: \".partner-swiper .swiper-pagination\",\r\n\t\t\ttype: \"bullets\",\r\n\t\t\tdynamicBullets: true,\r\n\t\t\tclickable: true,\r\n\t\t},\r\n\t});\r\n\r\n\r\n\tvar historyThumbs = new Swiper(\".swiper-history-thumb .swiper\", {\r\n\t\tspaceBetween: 5,\r\n\t\tbreakpointsInverse: true,\r\n\t\tbreakpoints: {\r\n\t\t\t320: {\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\t1280: {\r\n\t\t\t\tslidesPerView: 6,\r\n\t\t\t},\r\n\t\t\t1440: {\r\n\t\t\t\tslidesPerView: 8,\r\n\t\t\t},\r\n\t\t},\r\n\r\n\t\twatchSlidesVisibility: true,\r\n\t\twatchSlidesProgress: true,\r\n\t});\r\n\tvar historyMain = new Swiper(\".swiper-history-main .swiper\", {\r\n\t\tslidesPerView: 1,\r\n\t\tcenteredSlides: true,\r\n\t\tlazy: {\r\n\t\t\tloadPrevNext: true,\r\n\t\t},\r\n\t\tautoplay: {\r\n\t\t\tdelay: 3000,\r\n\t\t},\r\n\t\tspeed: 750,\r\n\t\tloop: false,\r\n\t\tthumbs: {\r\n\t\t\tswiper: historyThumbs,\r\n\t\t},\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".swiper-history-main .nav-next\",\r\n\t\t\tprevEl: \".swiper-history-main .nav-prev\",\r\n\t\t},\r\n\t});\r\n\r\n\r\n\r\n}\r\n\r\n// Side\r\nfunction setBackground() {\r\n\tconst elements = document.querySelectorAll(\"[setBackground]\");\r\n\telements.forEach((element) => {\r\n\t\telement.style.cssText = `\r\n\t\tbackground-image: url(${element.getAttribute(\"setBackground\")});\r\n\t\tbackground-size: cover;\r\n\t\tbackground-position: center;\r\n\t `;\r\n\t});\r\n}\r\nfunction counterAnimate() {\r\n\tconst counterItem = document.querySelectorAll(\".counter\");\r\n\tif (counterItem.length) {\r\n\t\tconst counterUp = window.counterUp.default;\r\n\t\tconst callback = (entries) => {\r\n\t\t\tentries.forEach((entry) => {\r\n\t\t\t\tconst el = entry.target;\r\n\t\t\t\tif (\r\n\t\t\t\t\tentry.isIntersecting &&\r\n\t\t\t\t\t!el.classList.contains(\"is-visible\")\r\n\t\t\t\t) {\r\n\t\t\t\t\tcounterUp(el, {\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\tdelay: 200,\r\n\t\t\t\t\t});\r\n\t\t\t\t\tel.classList.add(\"is-visible\");\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t};\r\n\t\tconst IO = new IntersectionObserver(callback, { threshold: 1 });\r\n\r\n\t\tcounterItem.forEach((counter) => {\r\n\t\t\tIO.observe(counter);\r\n\t\t});\r\n\t}\r\n}\r\n\r\nfunction mappingFunc() {\r\n\tnew MappingListener({\r\n\t\tselector: \".searchbox\",\r\n\t\tmobileWrapper: \".mobile-nav-wrap\",\r\n\t\tmobileMethod: \"appendTo\",\r\n\t\tdesktopWrapper: \".search-wrapper\",\r\n\t\tdesktopMethod: \"appendTo\",\r\n\t\tbreakpoint: 1200.1,\r\n\t}).watch();\r\n\tnew MappingListener({\r\n\t\tselector: \".nav-primary-menu\",\r\n\t\tmobileWrapper: \".mobile-nav-wrap\",\r\n\t\tmobileMethod: \"appendTo\",\r\n\t\tdesktopWrapper: \".menu-toggle\",\r\n\t\tdesktopMethod: \"insertAfter\",\r\n\t\tbreakpoint: 1200.1,\r\n\t}).watch();\r\n\tnew MappingListener({\r\n\t\tselector: \".language-wrapper\",\r\n\t\tmobileWrapper: \".mobile-nav-wrap\",\r\n\t\tmobileMethod: \"appendTo\",\r\n\t\tdesktopWrapper: \".header-redirect\",\r\n\t\tdesktopMethod: \"insertBefore\",\r\n\t\tbreakpoint: 1200.1,\r\n\t}).watch();\r\n}\r\nfunction hideElement() {\r\n\tif ($(window).width() < 1200.1) {\r\n\t\tconst [search, menu, language] = [\r\n\t\t\t\".searchbox\",\r\n\t\t\t\".nav-primary-menu\",\r\n\t\t\t\".language-wrapper\",\r\n\t\t].map((selector) => document.querySelector(selector));\r\n\r\n\t\t[search, menu, language].forEach((el) => (el.style.display = \"flex\"));\r\n\t}\r\n}\r\n"]}