1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { 40/******/ configurable: false, 41/******/ enumerable: true, 42/******/ get: getter 43/******/ }); 44/******/ } 45/******/ }; 46/******/ 47/******/ // getDefaultExport function for compatibility with non-harmony modules 48/******/ __webpack_require__.n = function(module) { 49/******/ var getter = module && module.__esModule ? 50/******/ function getDefault() { return module['default']; } : 51/******/ function getModuleExports() { return module; }; 52/******/ __webpack_require__.d(getter, 'a', getter); 53/******/ return getter; 54/******/ }; 55/******/ 56/******/ // Object.prototype.hasOwnProperty.call 57/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 58/******/ 59/******/ // __webpack_public_path__ 60/******/ __webpack_require__.p = ""; 61/******/ 62/******/ // Load entry module and return exports 63/******/ return __webpack_require__(__webpack_require__.s = 0); 64/******/ }) 65/************************************************************************/ 66/******/ ([ 67/* 0 */ 68/***/ (function(module, exports, __webpack_require__) { 69 70"use strict"; 71 72 73(function ($, Drupal) { 74 var $window = $(window); 75 76 Drupal.behaviors.requestService = { 77 attach: function attach(context) { 78 var requestService = $('.request-service-btn'); 79 80 if (requestService.length) { 81 requestService.show(); 82 } 83 } 84 }; 85 86 Drupal.behaviors.btnInput = { 87 attach: function attach(context) { 88 var $btnInput = $('.submit-btn input'); 89 90 if ($btnInput.length) { 91 var $valUppercase = $btnInput.val().toUpperCase(); 92 93 $btnInput.attr('value', $valUppercase); 94 } 95 } 96 }; 97 98 Drupal.behaviors.navBar = { 99 attach: function attach(context) { 100 var $mainMenu = $('.menu--main'); 101 102 $(once('navBar', $mainMenu)).each(function () { 103 var $this = $(this); 104 var $expanded = $this.find('.menu-item--expanded'); 105 var $navBar = $('.nav-icon'); 106 107 $navBar.on('click', function () { 108 $(this).toggleClass('open'); 109 $mainMenu.toggleClass('open-menu'); 110 $expanded.find('> ul').slideUp(500); 111 }); 112 113 $(window).on('scroll', function () { 114 if ($window.scrollTop() >= 250) { 115 if ($mainMenu.is(':visible')) { 116 $mainMenu.removeClass('open-menu'); 117 $expanded.removeClass('open-sub'); 118 $expanded.find('> ul').slideUp(500); 119 $navBar.removeClass('open'); 120 } 121 } 122 }); 123 }); 124 } 125 }; 126 127 Drupal.behaviors.parallaxImages = { 128 attach: function attach(context) { 129 var parallaxImage = $('.parallax-image', context); 130 131 parallaxImage.each(function () { 132 var parallaxImageH = $(this).height(); 133 134 if ($window.width() >= 1025) { 135 if (parallaxImageH <= 500) { 136 $(this).css({ 137 'background-position': 'center ' + -parallaxImageH / 4 + 'px' 138 }); 139 } else { 140 $(this).css({ 141 'background-position': 'center ' + -parallaxImageH / 2 + 'px' 142 }); 143 } 144 } 145 }); 146 147 $window.on('scroll', function () { 148 149 if (parallaxImage.length) { 150 151 parallaxImage.each(function () { 152 153 var parallaxImageH = $(this).height(); 154 var $position = $(this).position().top / 1.5; 155 var scroll = $(document).scrollTop(); 156 157 if ($window.width() >= 1025) { 158 if (scroll >= $position) { 159 if (parallaxImageH <= 500) { 160 $(this).css({ 161 'background-position': 'center ' + (-parallaxImageH / 1.5 + .2 * (+scroll - $position)) + 'px' 162 }); 163 } else { 164 $(this).css({ 165 'background-position': 'center ' + (-parallaxImageH / 2 + .3 * (+scroll - $position)) + 'px' 166 }); 167 } 168 } else { 169 $(this).css({ 170 'background-position': 'center' + -parallaxImageH / 2 + 'px' 171 }); 172 } 173 } 174 }); 175 } 176 }); 177 } 178 }; 179 180 Drupal.behaviors.footerBlocks = { 181 attach: function attach(context) { 182 var $footer = $('footer', context); 183 var $regionFooter = $footer.find('.region-footer', context); 184 185 if ($regionFooter.find('.block').length === 3) { 186 $footer.addClass('four-col'); 187 } 188 } 189 }; 190})(jQuery, Drupal); 191 192/***/ }) 193/******/ ]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.