{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./utils/isMobile.js","webpack:///./utils/debounce.js","webpack:///./utils/wrapInner.js","webpack:///./utils/wrap.js","webpack:///./utils/slide.js","webpack:///./utils/isTablet.js","webpack:///./utils/isTouchDevice.js","webpack:///./utils/addActiveLinkClass.js","webpack:///./utils/isSafari.js","webpack:///./utils/customEvent.js","webpack:///./components/Header/main/hoverNavigation.js","webpack:///./components/Header/main/index.js","webpack:///./pages/contact-us/index.js","webpack:///./components/Footer/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","isMobile","window","innerWidth","debounce","func","wait","immediate","args","timeout","callNow","clearTimeout","setTimeout","apply","wrapInner","parent","wrapper","document","createElement","appendChild","firstChild","wrap","el","parentNode","insertBefore","slideUp","block","style","height","slideDown","children","offsetHeight","query","prefixes","isTablet","addActiveLinkClass","anchorSelector","activeClass","itemsClass","anchors","querySelectorAll","current","location","pathname","length","getAttribute","classList","add","isSafari","navigator","vendor","indexOf","userAgent","isTouchDevice","split","DocumentTouch","join","matchMedia","matches","CustomEvent","event","params","bubbles","cancelable","detail","undefined","evt","createEvent","initCustomEvent","Event","hoverNavigationLinks","navigationCursor","nav","isVisible","forEach","link","contains","remove","left","getBoundingClientRect","top","opacity","transform","addEventListener","querySelector","Array","slice","this","ToggleNav","header","button","userProfileBtn","state","isOpen","sel","showEvent","show","dispatchEvent","hide"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAO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O,YC5BxD,SAASgB,IAAY,WACbC,EAASxE,SAASmE,cAAc,UAChCM,EAASD,EAAOL,cAAc,mBAC9BZ,EAAMiB,EAAOL,cAAc,iBAC3BO,EAAiB1E,SAASmE,cAAc,yBAE9C,GAAKK,GAAWC,GAAWlB,EAA3B,CAEAe,KAAKK,MAAQ,CACXC,QAAQ,GAEVN,KAAKO,IAAMtB,EACX,IAAMuB,EAAY,IAAIpC,YAAY,QAElC4B,KAAKS,KAAO,WACN,EAAKJ,MAAMC,SAEf,EAAKD,MAAMC,QAAS,EACpBJ,EAAO3C,UAAUC,IAAI,gBACrB,EAAK+C,IAAIG,cAAcF,GAEvBnF,YAAW,WACT+E,EAAe7C,UAAUC,IAAI,2BAC7ByB,EAAI1B,UAAUC,IAAI,2BACjB,OAGLwC,KAAKW,KAAO,WACL,EAAKN,MAAMC,SAEhB,EAAKD,MAAMC,QAAS,EACpBF,EAAe7C,UAAU+B,OAAO,2BAChCL,EAAI1B,UAAU+B,OAAO,yBACrBY,EAAO3C,UAAU+B,OAAO,gBAExBL,EAAI7C,MAAMC,OAAS,KAGrB8D,EAAOP,iBACL,SACA,WACM,EAAKS,MAAMC,OACb,EAAKK,OAEL,EAAKF,UAGT,GAGF9F,OAAOiF,iBAAiB,oBAAqBI,KAAKW,OAGpDhG,OAAOiF,iBAAiB,oBAAoB,YACxB,IAAIK,GAEZM,IAAIX,iBAAiB,QAAQ,mB,oGC7DzC,oB,gCCAA,WAEAjF,OAAOiF,iBAAiB,oBAAoB,WAC1ChD,YAAmB,CACjBC,eAAgB","file":"js/contact-us.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 178);\n","/**\n *\n * @returns {boolean}\n */\nconst isMobile = () => window.innerWidth < 1024;\n\nexport default isMobile();\n","const debounce = (func, wait, immediate, ...args) => {\n let timeout;\n return () => {\n const context = this;\n const later = () => {\n timeout = null;\n if (!immediate) func.apply(context, args);\n };\n const callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) func.apply(context, args);\n };\n};\n\nexport default debounce;\n","/* eslint-disable no-param-reassign */\nconst wrapInner = (parent, wrapper) => {\n if (typeof wrapper === 'string') wrapper = document.createElement(wrapper);\n\n parent.appendChild(wrapper);\n\n while (parent.firstChild !== wrapper) wrapper.appendChild(parent.firstChild);\n};\n\nexport default wrapInner;\n","const wrap = (el, wrapper) => {\n el.parentNode.insertBefore(wrapper, el);\n wrapper.appendChild(el);\n};\n\nexport default wrap;\n","/* eslint-disable no-param-reassign */\n\nexport function slideUp(block) {\n block.style.height = '0';\n}\nexport function slideDown(block) {\n block.style.height = `${block.children[0].offsetHeight}px`;\n}\n","/**\n *\n * @returns {boolean}\n */\nconst isTablet = () => window.innerWidth >= 768;\n\nexport default isTablet();\n","const isTouchDevice = () => {\n const prefixes = ' -webkit- -moz- -o- -ms- '.split(' ');\n const mq = (query) => window.matchMedia(query).matches;\n\n if (('ontouchstart' in window) || (window.DocumentTouch && document instanceof DocumentTouch)) { /* eslint-disable-line */\n return true;\n }\n\n // include the 'heartz' as a way to have a non matching MQ to help terminate the join\n // https://git.io/vznFH\n const query = ['(', prefixes.join('touch-enabled),('), 'heartz', ')'].join('');\n return mq(query);\n};\n\nexport default isTouchDevice();\n","/**\n *\n * @param anchorSelector\n * @param activeClass\n * @param itemClass - items witch potentially could have activeClass\n */\nconst addActiveLinkClass = ({\n anchorSelector = 'a',\n activeClass = 'active',\n itemsClass,\n}) => {\n const anchors = document.querySelectorAll(anchorSelector);\n if (!anchors) return;\n\n const current = window.location.pathname;\n\n for (let i = 0; i < anchors.length; i += 1) {\n if (anchors[i].getAttribute('href') === current) {\n if (itemsClass) {\n const items = document.querySelectorAll(itemsClass);\n items[i].classList.add(activeClass);\n } else {\n anchors[i].classList.add(activeClass);\n }\n }\n }\n};\n\nexport default addActiveLinkClass;\n","/**\n *\n * @returns {boolean}\n */\nconst isSafari = () => navigator.vendor && navigator.vendor.indexOf('Apple') > -1 && navigator.userAgent && navigator.userAgent.indexOf('CriOS') === -1 && navigator.userAgent.indexOf('FxiOS') === -1;\n\nexport default isSafari();\n","// eslint-disable-next-line consistent-return\n(() => {\n // If not IE\n if (typeof window.CustomEvent === 'function') return false;\n const CustomEvent = (event, params) => {\n // eslint-disable-next-line no-param-reassign\n params = params || { bubbles: false, cancelable: false, detail: undefined };\n const evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n\n CustomEvent.prototype = window.Event.prototype;\n window.CustomEvent = CustomEvent;\n})();\n","/* eslint-disable no-param-reassign, func-names */\n\nimport { isMobile } from '../../../utils';\n\nfunction hoverNavigationLinks(navigationCursor, nav, el, isVisible) {\n nav.forEach((link) => {\n if (link.parentNode.classList.contains('is-hovered')) {\n link.parentNode.classList.remove('is-hovered');\n }\n });\n el.parentNode.classList.add('is-hovered');\n const { left } = el.getBoundingClientRect();\n navigationCursor.style.left = `${left}px`;\n navigationCursor.style.top = '38px';\n navigationCursor.style.opacity = isVisible ? 1 : 0;\n navigationCursor.style.transform = 'translate(-22px, 0)';\n}\n\nwindow.addEventListener('load', () => {\n const navigationCursor = document.querySelector('.header__menu__arrow');\n const nav = Array.prototype.slice.call(document.querySelectorAll('.menu-list__item__link'));\n\n if (document.querySelector('.header .header__menu') && !isMobile) {\n nav.forEach((link) => {\n link.addEventListener('mouseenter', function () {\n hoverNavigationLinks(navigationCursor, nav, this, true);\n });\n\n link.addEventListener('mouseleave', function () {\n hoverNavigationLinks(navigationCursor, nav, this, false);\n });\n });\n\n hoverNavigationLinks(navigationCursor, nav, nav[0], false);\n }\n});\n","import './hoverNavigation';\nimport '../../../utils/customEvent';\n\nimport './style.scss';\n\nfunction ToggleNav() {\n const header = document.querySelector('header');\n const button = header.querySelector('.header__burger');\n const nav = header.querySelector('.header__menu');\n const userProfileBtn = document.querySelector('.menu-list__btn--user');\n\n if (!header || !button || !nav) return;\n\n this.state = {\n isOpen: false,\n };\n this.sel = nav;\n const showEvent = new CustomEvent('show');\n\n this.show = () => {\n if (this.state.isOpen) return;\n\n this.state.isOpen = true;\n header.classList.add('header--open');\n this.sel.dispatchEvent(showEvent);\n\n setTimeout(() => {\n userProfileBtn.classList.add('menu-list__btn--visible');\n nav.classList.add('header__menu--visible');\n }, 1000);\n };\n\n this.hide = () => {\n if (!this.state.isOpen) return;\n\n this.state.isOpen = false;\n userProfileBtn.classList.remove('menu-list__btn--visible');\n nav.classList.remove('header__menu--visible');\n header.classList.remove('header--open');\n\n nav.style.height = '';\n };\n\n button.addEventListener(\n 'click',\n () => {\n if (this.state.isOpen) {\n this.hide();\n } else {\n this.show();\n }\n },\n false,\n );\n\n window.addEventListener('orientationchange', this.hide);\n}\n\nwindow.addEventListener('DOMContentLoaded', () => {\n const toggleNav = new ToggleNav();\n\n toggleNav.sel.addEventListener('show', () => {});\n});\n","import '../../components/Footer';\nimport '../../components/Header/main';\n","import { addActiveLinkClass } from '../../utils';\n\nwindow.addEventListener('DOMContentLoaded', () => {\n addActiveLinkClass({\n anchorSelector: '.footer__menu__link',\n });\n});\n"],"sourceRoot":""}