{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/index.ts","webpack:///./src/js/main.ts"],"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","$","onMapMouseleaveHandler","that","this","on","onMapClickHandler","off","find","css","click","e","preventDefault","toggleClass","location","pathname","replace","hostname","target","hash","length","slice","animate","scrollTop","offset","top","removeClass","document","scroll","fadeIn","fadeOut","$nav","height","window","onscroll","body","documentElement","getElementById","style","display","focus","parents","addClass","blur","val","event","setupModalForm","modalId","formId","confirmId","hide","submit","show","setTimeout","modal","includes","assign","substring","_global","openNav","width","closeNav"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAA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AAAG,MAAAsC,SAAA,YAIAzC,EAAA,WAAAS,MAAA,SAAAmC,GAKA,OAJAA,EAAAjC,iBACAX,EAAA,cAAAqB,QAAA,CACAC,UAAA,GACS,SACT,IAEAtB,EAAA,QAAAyB,YAAA,UACA,IAAAX,EAAAY,SAAAb,SAAAC,SAsBA,SAAA+B,EAAAC,EAAAC,EAAAC,GACAhD,EAAAgD,GAAAC,OACAjD,EAAA+C,GAAAG,OAAA,WACAlD,EAAA+C,GAAAE,OACAjD,EAAAgD,GAAAG,OACAC,WAAA,WACApD,EAAA8C,GAAAO,MAAA,SACa,OAQb,GApCA,MAAAvC,GACAd,EAAA,SAAAyC,SAAA,UACAzC,EAAA,WAAAyC,SAAA,WAEA,aAAA3B,GACAd,EAAA,YAAAyC,SAAA,UACAzC,EAAA,cAAAyC,SAAA,WAEA,cAAA3B,GACAd,EAAA,aAAAyC,SAAA,UACAzC,EAAA,eAAAyC,SAAA,WAEA,aAAA3B,GACAd,EAAA,YAAAyC,SAAA,UACAzC,EAAA,cAAAyC,SAAA,WAEA,aAAA3B,IACAd,EAAA,YAAAyC,SAAA,UACAzC,EAAA,cAAAyC,SAAA,WAaAI,EAAA,6DACAA,EAAA,gEACAA,EAAA,4DAGAb,OAAAnB,SAAAK,KAAA,CACA,IAAAA,EAAAc,OAAAnB,SAAAK,KACA,sBAAAoC,SAAApC,GACAc,OAAAnB,SAAA0C,OAAArC,EAAAsC,UAAA,IAGAxD,EAAAkB,EAAA,UAAAmC,MAAA,aAIA,IAAAI,EAAAzB,OAEAyB,EAAAC,QAAA,WACAhC,SAAAU,eAAA,aAAAC,MAAAsB,MAAA,QAEAF,EAAAG,SAAA,WACAlC,SAAAU,eAAA,aAAAC,MAAAsB,MAAA","file":"app.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 = 0);\n","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nrequire(\"./css/styles.scss\");\r\nrequire(\"./js/main.ts\");\r\n","$(function () {\r\n // \"use strict\";\r\n // closes the sidebar menu\r\n $(\"#menu-close\").click(function (e) {\r\n e.preventDefault();\r\n $(\"#sidebar-wrapper\").toggleClass(\"active\");\r\n });\r\n // opens the sidebar menu\r\n $(\".menu-toggle\").click(function (e) {\r\n e.preventDefault();\r\n $(\"#sidebar-wrapper\").toggleClass(\"active\");\r\n $(\".menu-toggle > .fa-bars, .menu-toggle > .fa-times\").toggleClass(\"fa-bars fa-times\");\r\n $(this).toggleClass(\"active\");\r\n });\r\n // smooth scrolling using jQuery easing\r\n $(\"a.js-scroll-trigger[href*='#']:not([href='#'])\").click(function () {\r\n if (location.pathname.replace(/^\\//, \"\") === this.pathname.replace(/^\\//, \"\") && location.hostname === this.hostname) {\r\n var target = $(this.hash);\r\n target = target.length ? target : $(\"[name=\" + this.hash.slice(1) + \"]\");\r\n if (target.length) {\r\n $(\"html, body\").animate({\r\n scrollTop: target.offset().top\r\n }, 1000, \"easeInOutExpo\");\r\n return false;\r\n }\r\n }\r\n });\r\n // closes responsive menu when a scroll trigger link is clicked\r\n $(\"#sidebar-wrapper .js-scroll-trigger\").click(function () {\r\n $(\"#sidebar-wrapper\").removeClass(\"active\");\r\n $(\".menu-toggle\").removeClass(\"active\");\r\n $(\".menu-toggle > .fa-bars, .menu-toggle > .fa-times\").toggleClass(\"fa-bars fa-times\");\r\n });\r\n // scroll to top button appear\r\n $(document).scroll(function () {\r\n var scrollDistance = $(this).scrollTop();\r\n if (scrollDistance > 100) {\r\n $(\".scroll-to-top\").fadeIn();\r\n }\r\n else {\r\n $(\".scroll-to-top\").fadeOut();\r\n }\r\n });\r\n // end of use strict\r\n // disable Google Maps scrolling\r\n // see http://stackoverflow.com/a/25904582/1607849\r\n // disable scroll zooming and bind back the click event\r\n function onMapMouseleaveHandler() {\r\n var that = $(this);\r\n that.on(\"click\", onMapClickHandler);\r\n that.off(\"mouseleave\", onMapMouseleaveHandler);\r\n that.find(\"iframe\").css(\"pointer-events\", \"none\");\r\n }\r\n ;\r\n function onMapClickHandler() {\r\n var that = $(this);\r\n // disable the click handler until the user leaves the map area\r\n that.off(\"click\", onMapClickHandler);\r\n // enable scrolling zoom\r\n that.find(\"iframe\").css(\"pointer-events\", \"auto\");\r\n // handle the mouse leave event\r\n that.on(\"mouseleave\", onMapMouseleaveHandler);\r\n }\r\n // enable map zooming with mouse scroll when the user clicks the map\r\n $(\".map\").click(onMapClickHandler);\r\n $(document).scroll(function () {\r\n var $nav = $(\".navbar-fixed-top\");\r\n $nav.toggleClass(\"scrolled\", $(this).scrollTop() > $nav.height());\r\n });\r\n // when the user scrolls down 20px from the top of the document, show the button\r\n window.onscroll = function () {\r\n if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {\r\n document.getElementById(\"to-top\").style.display = \"block\";\r\n }\r\n else {\r\n document.getElementById(\"to-top\").style.display = \"none\";\r\n }\r\n };\r\n // when the user clicks on the button, scroll to the top of the document\r\n $(\"#to-top\").click(function () {\r\n document.body.scrollTop = 0;\r\n document.documentElement.scrollTop = 0;\r\n });\r\n $(\"input\").focus(function () {\r\n $(this).parents(\".form-group\").addClass(\"focused\");\r\n });\r\n $(\"input\").blur(function () {\r\n var inputValue = $(this).val();\r\n if (inputValue === \"\") {\r\n $(this).removeClass(\"filled\");\r\n $(this).parents(\".form-group\").removeClass(\"focused\");\r\n }\r\n else {\r\n $(this).addClass(\"filled\");\r\n }\r\n });\r\n $(\"textarea\").focus(function () {\r\n $(this).parents(\".form-group\").addClass(\"focused\");\r\n });\r\n $(\"textarea\").blur(function () {\r\n var textareaValue = $(this).val();\r\n if (textareaValue === \"\") {\r\n $(this).removeClass(\"filled\");\r\n $(this).parents(\".form-group\").removeClass(\"focused\");\r\n }\r\n else {\r\n $(this).addClass(\"filled\");\r\n }\r\n });\r\n /*Scroll to top when arrow up clicked BEGIN*/\r\n $(\"#to-top\").click(function (event) {\r\n event.preventDefault();\r\n $(\"html, body\").animate({\r\n scrollTop: 0\r\n }, \"slow\");\r\n return false;\r\n });\r\n $('li a').removeClass(\"active\");\r\n var pathname = document.location.pathname;\r\n if (pathname === '/') {\r\n $('#home').addClass(\"active\");\r\n $('#home-r').addClass(\"active\");\r\n }\r\n else if (pathname === '/company') {\r\n $('#company').addClass(\"active\");\r\n $('#company-r').addClass(\"active\");\r\n }\r\n else if (pathname === '/services') {\r\n $('#services').addClass(\"active\");\r\n $('#services-r').addClass(\"active\");\r\n }\r\n else if (pathname === '/connect') {\r\n $('#connect').addClass(\"active\");\r\n $('#connect-r').addClass(\"active\");\r\n }\r\n else if (pathname === '/contact') {\r\n $('#contact').addClass(\"active\");\r\n $('#contact-r').addClass(\"active\");\r\n }\r\n // modal forms with submittable content, will close after successful submit with small delay\r\n function setupModalForm(modalId, formId, confirmId) {\r\n $(confirmId).hide();\r\n $(formId).submit(function () {\r\n $(formId).hide();\r\n $(confirmId).show();\r\n setTimeout(function () {\r\n $(modalId).modal(\"hide\");\r\n }, 2000);\r\n });\r\n }\r\n setupModalForm(\"#register-modal\", \"#register-form\", \"#register-form-confirm\");\r\n setupModalForm(\"#subscribe-modal\", \"#subscribe-form\", \"#subscribe-form-confirm\");\r\n setupModalForm(\"#messageModal\", \"#message-box-form\", \"#message-box-confirm\");\r\n // when navigating to the page show modal specified in the has urlused in legal content\r\n // we want to provide perm-links which will show up when navigated to\r\n if (window.location.hash) {\r\n var hash = window.location.hash;\r\n if ([\"#terms\", \"#privacy\"].includes(hash)) {\r\n window.location.assign(hash.substring(1));\r\n }\r\n else {\r\n $(hash + \".modal\").modal(\"toggle\");\r\n }\r\n }\r\n});\r\nvar _global = window;\r\n/*sidenav animated*/\r\n_global.openNav = function () {\r\n document.getElementById(\"mySidebar\").style.width = \"100%\";\r\n};\r\n_global.closeNav = function () {\r\n document.getElementById(\"mySidebar\").style.width = \"0\";\r\n};\r\n"],"sourceRoot":""}