{"version":3,"sources":["src/js/task.js","src/js/swiper.js","src/js/main.js"],"names":["basicTask","backTop","document","querySelector","counterItem","querySelectorAll","setBackground","menuToggle","closeMenu","searchToggle","bodyWrap","menuMobile","searchWrap","hamburger","cardHover","$","on","removeClass","toggleClass","addEventListener","e","preventDefault","classList","toggle","remove","event","animate","scrollTop","parents","find","addClass","tab","attr","hasClass","length","insertAfter","window","width","slideUp","parent","next","slideDown","forEach","wrap","index","add","item","contains","style","display","otherItem","attributes","cssText","concat","getAttribute","counterUp","default","callback","entries","entry","el","target","isIntersecting","duration","delay","IO","IntersectionObserver","threshold","counter","observe","swiperInit","defaultSettingSwiper","preventInteractionOnTransition","observer","observeParents","rewind","speed","loop","autoplay","pauseOnMouseEnter","lazy","loadPrevNext","primarySwiper","Swiper","_objectSpread","slidesPerView","navigation","nextEl","prevEl","pagination","type","clickable","partnerSwiper","disableOnInteraction","breakpoints","spaceBetween","each","$this","swiper","dynamicMainBullets","element","_defineProperty","gsap","registerPlugin","MotionPathPlugin","sideNav","error","mappingFunc","generalFunction","init","innerWidth","scrollY","documentElement","body","innerHeight","closest","Fancybox","bind","parentEl","circlePath","convertToPath","id","prepend","items","utils","toArray","numItems","itemStep","wrapProgress","snap","wrapTracker","tracker","updateActiveState","centerIndex","Math","round","set","motionPath","path","align","alignOrigin","end","i","scale","onUpdate","console","a11yUser","wrapForms","form","submitInput","labelFor","labelSubmit","textContent","setAttribute","appendHTML","appendTo","hideElement","map","selector","MappingListener","mobileWrapper","mobileMethod","desktopWrapper","desktopMethod","breakpoint","watch"],"mappings":";;;CAAO,SAASA,SAASA,GAAG;GAC3B,IAAMC,OAAO,GAAGC,QAAQ,CAACC,aAAa,CAAC,cAAc,CAAC;GACtD,IAAMC,WAAW,GAAGF,QAAQ,CAACG,gBAAgB,CAAC,UAAU,CAAC;GACzD,IAAMC,aAAa,GAAGJ,QAAQ,CAACG,gBAAgB,CAAC,iBAAiB,CAAC;GAClE,IAAME,UAAU,GAAGL,QAAQ,C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QAAC,CAAC;;IAE/C;GACD4D,IAAI,EAAE,SAAAA,OAAM;KACXD,eAAe,CAAC8C,UAAU,EAAE;KAC5B9C,eAAe,CAACgD,WAAW,EAAE;KAC7BhD,eAAe,CAACW,UAAU,EAAE;;CAE9B,CAAC;CAID,SAASZ,WAAWA,GAAG;GACtB,IAAIoD,eAAe,CAAC;KACnBD,QAAQ,EAAE,gBAAgB;KAC1BE,aAAa,EAAE,iBAAiB;KAChCC,YAAY,EAAE,UAAU;KACxBC,cAAc,EAAE,cAAc;KAC9BC,aAAa,EAAE,cAAc;KAC7BC,UAAU,EAAE;IACZ,CAAC,CAACC,KAAK,EAAE;GACV,IAAIN,eAAe,CAAC;KACnBD,QAAQ,EAAE,mBAAmB;KAC7BE,aAAa,EAAE,kBAAkB;KACjCC,YAAY,EAAE,UAAU;KACxBC,cAAc,EAAE,YAAY;KAC5BC,aAAa,EAAE,aAAa;KAC5BC,UAAU,EAAE;IACZ,CAAC,CAACC,KAAK,EAAE;GACV,IAAIN,eAAe,CAAC;KACnBD,QAAQ,EAAE,YAAY;KACtBE,aAAa,EAAE,MAAM;KACrBC,YAAY,EAAE,UAAU;KACxBC,cAAc,EAAE,gBAAgB;KAChCC,aAAa,EAAE,aAAa;KAC5BC,UAAU,EAAE;IACZ,CAAC,CAACC,KAAK,EAAE;CACX","file":"main.min.js","sourcesContent":["export function basicTask() {\r\n\tconst backTop = document.querySelector(\".back-to-top\");\r\n\tconst counterItem = document.querySelectorAll(\".counter\");\r\n\tconst setBackground = document.querySelectorAll(\"[setBackground]\");\r\n\tconst menuToggle = document.querySelector(\".site-menu-toggle\");\r\n\tconst closeMenu = document.querySelector(\".close-menu\");\r\n\tconst searchToggle = document.querySelector(\".search-toggle\");\r\n\tconst bodyWrap = document.querySelector(\"body\");\r\n\tconst menuMobile = document.querySelector(\".mobile-nav-wrap\");\r\n\tconst searchWrap = document.querySelector(\".searchbox\");\r\n\tconst hamburger = document.querySelector(\".hamburger\");\r\n\t// Card Flex Hover , click\r\n\tconst cardHover = $(\".card-option\");\r\n\r\n\tcardHover.on(\"mouseenter\", function () {\r\n\t\t$(\".card-option\").removeClass(\"active\");\r\n\t\t$(this).toggleClass(\"active\");\r\n\t});\r\n\t//Basic Toggle Function\r\n\tmenuToggle.addEventListener(\"click\", (e) => {\r\n\t\te.preventDefault();\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\tcloseMenu.addEventListener(\"click\", () => {\r\n\t\tmenuMobile.classList.remove(\"is-open\");\r\n\t\thamburger.classList.remove(\"is-active\");\r\n\t\tbodyWrap.classList.remove(\"overlay-bg\");\r\n\t});\r\n\r\n\t// Search Toggle\r\n\tsearchToggle.addEventListener(\"click\", () => {\r\n\t\tsearchWrap.classList.toggle(\"is-open\");\r\n\t\tbodyWrap.classList.toggle(\"overlay-bg\");\r\n\t});\r\n\r\n\t//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\t//Tab function\r\n\t$(\".tab-nav 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\t\tvar tab = $(this).attr(\"data-type\");\r\n\t\t$(this).parents(\"section\").find(\".tab-item\").removeClass(\"active\");\r\n\t\t$(this)\r\n\t\t\t.parents(\"section\")\r\n\t\t\t.find(\".\" + tab)\r\n\t\t\t.addClass(\"active\");\r\n\t});\r\n\tif ($(\"body\").hasClass(\"news-detail-page\")) {\r\n\t\tif ($(\".news-contact\").length) {\r\n\t\t\t$(\".news-contact\").insertAfter($(\".other-news\"));\r\n\t\t}\r\n\t}\r\n\tif ($(window).width() < 1200.1) {\r\n\t\t$(\".drop-menu .title .icon\").on(\"click\", function () {\r\n\t\t\tif ($(this).parents(\".drop-menu\").hasClass(\"active\")) {\r\n\t\t\t\t$(\".drop-menu .sub-menu\").slideUp();\r\n\t\t\t\t$(\".drop-menu\").removeClass(\"active\");\r\n\t\t\t} else {\r\n\t\t\t\t$(\".drop-menu .sub-menu\").slideUp();\r\n\t\t\t\t$(\".drop-menu\").removeClass(\"active\");\r\n\t\t\t\t$(this).parent().next().slideDown();\r\n\t\t\t\t$(this).parents(\".drop-menu\").addClass(\"active\");\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\t//Toggle item\r\n\tdocument.querySelectorAll(\".toggle-wrap\").forEach((wrap, index) => {\r\n\t\twrap.classList.add(\"toggle-instance-\" + index);\r\n\r\n\t\twrap.querySelectorAll(\r\n\t\t\t\".toggle-instance-\" + index + \" .toggle-item\"\r\n\t\t).forEach((item) => {\r\n\t\t\titem.addEventListener(\"click\", () => {\r\n\t\t\t\tif (item.classList.contains(\"is-toggle\")) {\r\n\t\t\t\t\titem.querySelector(\".article\").style.display = \"none\";\r\n\t\t\t\t\titem.classList.remove(\"is-toggle\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdocument\r\n\t\t\t\t\t\t.querySelectorAll(\r\n\t\t\t\t\t\t\t\".toggle-instance-\" + index + \" .toggle-item\"\r\n\t\t\t\t\t\t)\r\n\t\t\t\t\t\t.forEach((otherItem) => {\r\n\t\t\t\t\t\t\totherItem.classList.remove(\"is-toggle\");\r\n\t\t\t\t\t\t\totherItem.querySelector(\".article\").style.display =\r\n\t\t\t\t\t\t\t\t\"none\";\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\titem.querySelector(\".article\").style.display = \"block\";\r\n\t\t\t\t\titem.classList.add(\"is-toggle\");\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t});\r\n\r\n\t//setBackground\r\n\tsetBackground.forEach((attributes) => {\r\n\t\tattributes.style.cssText = `\r\n\t\tbackground-image: url(${attributes.getAttribute(\"setBackground\")});\r\n\t\tbackground-size: cover;\r\n\t\tbackground-position: center;\r\n\t `;\r\n\t});\r\n\tif (counterItem !== null) {\r\n\t\tif (counterItem.length) {\r\n\t\t\tconst counterUp = window.counterUp.default;\r\n\t\t\tconst callback = (entries) => {\r\n\t\t\t\tentries.forEach((entry) => {\r\n\t\t\t\t\tconst el = entry.target;\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tentry.isIntersecting &&\r\n\t\t\t\t\t\t!el.classList.contains(\"is-visible\")\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tcounterUp(el, {\r\n\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\tdelay: 200,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tel.classList.add(\"is-visible\");\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t};\r\n\t\t\tconst IO = new IntersectionObserver(callback, { threshold: 1 });\r\n\r\n\t\t\tcounterItem.forEach((counter) => {\r\n\t\t\t\tIO.observe(counter);\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n}\r\n","const sleep = (t) => new Promise((r) => setTimeout(r, t));\r\n\r\nexport function swiperInit() {\r\n\tvar defaultSettingSwiper = {\r\n\t\tpreventInteractionOnTransition: true,\r\n\t\tobserver: true,\r\n\t\tobserveParents: true,\r\n\t\trewind: true,\r\n\t\tspeed: 1205,\r\n\t\tloop: false,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 4000,\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};\r\n\tvar primarySwiper = new Swiper(\".primary-banner .swiper\", {\r\n\t\t...defaultSettingSwiper,\r\n\t\tslidesPerView: 1,\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 .next\",\r\n\t\t\tprevEl: \".primary-banner .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\tvar partnerSwiper = new Swiper(\".partner-swiper .swiper\", {\r\n\t\tpreventInteractionOnTransition: false,\r\n\t\tobserver: true,\r\n\t\tobserveParents: true,\r\n\t\tspeed: 3205,\r\n\t\tloop: true,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 0,\r\n\t\t\tdisableOnInteraction: false,\r\n\t\t\tpauseOnMouseEnter: false,\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t320: {\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t\tspaceBetween: 14,\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\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});\r\n\r\n\t$(\".init-swiper .swiper\").each(function (index) {\r\n\t\tvar $this = $(this);\r\n\t\t$this.addClass(\"swiper-init-\" + index);\r\n\t\t$this\r\n\t\t\t.parents(\".init-swiper\")\r\n\t\t\t.find(\".prev\")\r\n\t\t\t.addClass(\"prev-nav-\" + index);\r\n\t\t$this\r\n\t\t\t.parents(\".init-swiper\")\r\n\t\t\t.find(\".next\")\r\n\t\t\t.addClass(\"next-nav-\" + index);\r\n\t\t$this\r\n\t\t\t.parents(\".init-swiper\")\r\n\t\t\t.find(\".swiper-pagination\")\r\n\t\t\t.addClass(\"pagination-inst-\" + index);\r\n\r\n\t\tvar swiper = new Swiper(\".swiper-init-\" + index, {\r\n\t\t\tobserver: true,\r\n\t\t\tobserveParents: true,\r\n\t\t\trewind: true,\r\n\t\t\tspeed: 1205,\r\n\t\t\tloop: true,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 4000,\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\tslidesPerView: \"auto\",\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".next-nav-\" + index,\r\n\t\t\t\tprevEl: \".prev-nav-\" + index,\r\n\t\t\t},\r\n\t\t\tpagination: {\r\n\t\t\t\tel: \".pagination-inst-\" + index,\r\n\t\t\t\ttype: \"bullets\",\r\n\t\t\t\tclickable: true,\r\n\t\t\t\tdynamicMainBullets: 1,\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n\r\n\r\n\t$(\".tri-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(\".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(\".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\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\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","import { basicTask } from \"./task\";\r\nimport { swiperInit } from \"./swiper\";\r\ngsap.registerPlugin(MotionPathPlugin);\r\nconst bodyWrap = document.querySelector(\"body\");\r\nconst sideNav = document.querySelector(\".sidenav-group\");\r\nconst hamburger = document.querySelector(\".hamburger\");\r\nconst menuMobile = document.querySelector(\".mobile-nav-wrap\");\r\nconst searchWrap = document.querySelector(\".search-overlay\");\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n\ttry {\r\n\t\tif ($(window).width() > 1200.1) {\r\n\t\t}\r\n\t} catch (error) { }\r\n\tmappingFunc();\r\n\tswiperInit();\r\n\tbasicTask();\r\n\tgeneralFunction.init();\r\n});\r\n\r\nwindow.addEventListener(\"resize\", function () {\r\n\tlet width = this.window.innerWidth;\r\n\tif (width <= 1200.1) {\r\n\t\tmappingFunc();\r\n\t\tgeneralFunction.init();\r\n\t} else {\r\n\t}\r\n});\r\nwindow.addEventListener(\"scroll\", function () {\r\n\tconst width = this.window.innerWidth;\r\n\tconst scrollTop = window.scrollY || document.documentElement.scrollTop;\r\n\tif (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\tbodyWrap.classList.add(\"minimize\");\r\n\t\t} else {\r\n\t\t\tbodyWrap.classList.remove(\"minimize\");\r\n\t\t}\r\n\t}\r\n\tif (scrollTop > window.innerHeight) {\r\n\t\tsideNav.classList.add(\"show\");\r\n\t} else {\r\n\t\tsideNav.classList.remove(\"show\");\r\n\t}\r\n});\r\ndocument.addEventListener(\"click\", (event) => {\r\n\tif (!event.target.closest(\".search-toggle, .search-overlay\")) {\r\n\t\tsearchWrap.classList.remove(\"is-open\");\r\n\t}\r\n\tif (!event.target.closest(\".mobile-nav-wrap, .site-menu-toggle\")) {\r\n\t\tmenuMobile.classList.remove(\"is-open\");\r\n\t\tbodyWrap.classList.remove(\"overlay-bg\");\r\n\t\thamburger.classList.remove(\"is-active\");\r\n\t}\r\n});\r\n\r\nFancybox.bind(\"[data-fancybox]\", {\r\n\tparentEl: document.body[0], // Element containing main structure\r\n});\r\n\r\nconst generalFunction = {\r\n\tcirclePath: () => {\r\n\t\ttry {\r\n\t\t\tif ($('body').hasClass('about-page')) {\r\n\r\n\t\t\t\tconst circlePath = MotionPathPlugin.convertToPath(\r\n\t\t\t\t\t\"#svg-circle\",\r\n\t\t\t\t\tfalse\r\n\t\t\t\t)[0];\r\n\t\t\t\tcirclePath.id = \"circlePath\";\r\n\t\t\t\tdocument.querySelector(\".half-circle svg\").prepend(circlePath);\r\n\r\n\t\t\t\tlet items = gsap.utils.toArray(\".half-circle .circle-item\"),\r\n\t\t\t\t\tnumItems = items.length,\r\n\t\t\t\t\titemStep = 1 / numItems,\r\n\t\t\t\t\twrapProgress = gsap.utils.wrap(0, 1),\r\n\t\t\t\t\tsnap = gsap.utils.snap(itemStep),\r\n\t\t\t\t\twrapTracker = gsap.utils.wrap(0, numItems),\r\n\t\t\t\t\ttracker = { item: 0 };\r\n\r\n\t\t\t\t// Function to update active state\r\n\t\t\t\tconst updateActiveState = () => {\r\n\t\t\t\t\t// Remove active class from all items\r\n\t\t\t\t\titems.forEach((item) => item.classList.remove(\"active\"));\r\n\r\n\t\t\t\t\t// Calculate which item is at the center (at progress 0.5)\r\n\t\t\t\t\tconst centerIndex = Math.round(tracker.item) % numItems;\r\n\t\t\t\t\titems[centerIndex]?.classList.add(\"center\");\r\n\t\t\t\t};\r\n\r\n\t\t\t\t// Set up motion paths\r\n\t\t\t\tgsap.set(items, {\r\n\t\t\t\t\tmotionPath: {\r\n\t\t\t\t\t\tpath: circlePath,\r\n\t\t\t\t\t\talign: circlePath,\r\n\t\t\t\t\t\talignOrigin: [0.5, 0.5],\r\n\t\t\t\t\t\tend: (i) => gsap.utils.wrap(0, 1, i / numItems - 0.5),\r\n\t\t\t\t\t},\r\n\t\t\t\t\tscale: 1,\r\n\t\t\t\t\tonUpdate: function () {\r\n\t\t\t\t\t\t// Update active state whenever the animation updates\r\n\t\t\t\t\t\tupdateActiveState();\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\r\n\t\t\t\t// Initial active state\r\n\t\t\t\tupdateActiveState();\r\n\t\t\t}\r\n\r\n\t\t} catch (error) {\r\n\t\t\tconsole.error(\"Carousel initialization error:\", error);\r\n\t\t}\r\n\t},\r\n\ta11yUser: () => {\r\n\t\tconst wrapForms = document.querySelectorAll(\".wrap-form\");\r\n\t\twrapForms.forEach(function (form) {\r\n\t\t\tconst submitInput = form.querySelector(\"input[type='submit']\");\r\n\t\t\tconst labelFor = submitInput.getAttribute(\"name\");\r\n\t\t\tconst labelSubmit = form.querySelector(\".frm-btnwrap .label\");\r\n\t\t\tif (labelFor !== null) {\r\n\t\t\t\tif (labelSubmit !== null) {\r\n\t\t\t\t\tlabelSubmit.textContent = \"Submit Button\";\r\n\t\t\t\t\tlabelSubmit.setAttribute(\"for\", labelFor);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\tappendHTML: () => {\r\n\t\tif ($(\"body\").hasClass(\"news-detail-page\")) {\r\n\t\t\t$(\".news-comment-form\").appendTo(\".new-comment-wrap\");\r\n\t\t}\r\n\t},\r\n\thideElement: () => {\r\n\t\tif ($(window).width() < 1200.1) {\r\n\t\t\t[\".searchbox\", \".nav-primary-menu\"]\r\n\t\t\t\t.map((selector) => document.querySelector(selector))\r\n\t\t\t\t.forEach((el) => (el.style.display = \"flex\"));\r\n\t\t}\r\n\t},\r\n\tinit: () => {\r\n\t\tgeneralFunction.appendHTML();\r\n\t\tgeneralFunction.hideElement();\r\n\t\tgeneralFunction.circlePath();\r\n\t},\r\n};\r\n\r\n\r\n\r\nfunction mappingFunc() {\r\n\tnew MappingListener({\r\n\t\tselector: \".language-wrap\",\r\n\t\tmobileWrapper: \".mobile-top-nav\",\r\n\t\tmobileMethod: \"appendTo\",\r\n\t\tdesktopWrapper: \".search-wrap\",\r\n\t\tdesktopMethod: \"insertBefore\",\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: \".nav-brand\",\r\n\t\tdesktopMethod: \"insertAfter\",\r\n\t\tbreakpoint: 1200.1,\r\n\t}).watch();\r\n\tnew MappingListener({\r\n\t\tselector: \".searchbox\",\r\n\t\tmobileWrapper: \"main\",\r\n\t\tmobileMethod: \"appendTo\",\r\n\t\tdesktopWrapper: \".search-toggle\",\r\n\t\tdesktopMethod: \"insertAfter\",\r\n\t\tbreakpoint: 1200.1,\r\n\t}).watch();\r\n}\r\n"]}