vendor: 4,593 bytes, lines 1-119
1/******/ (function(modules) { // webpackBootstrap 2/******/ // install a JSONP callback for chunk loading 3/******/ function webpackJsonpCallback(data) { 4/******/ var chunkIds = data[0]; 5/******/ var moreModules = data[1]; 6/******/ var executeModules = data[2]; 7/******/ 8/******/ // add "moreModules" to the modules object, 9/******/ // then flag all "chunkIds" as loaded and fire callback 10/******/ var moduleId, chunkId, i = 0, resolves = []; 11/******/ for(;i < chunkIds.length; i++) { 12/******/ chunkId = chunkIds[i]; 13/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { 14/******/ resolves.push(installedChunks[chunkId][0]); 15/******/ } 16/******/ installedChunks[chunkId] = 0; 17/******/ } 18/******/ for(moduleId in moreModules) { 19/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { 20/******/ modules[moduleId] = moreModules[moduleId]; 21/******/ } 22/******/ } 23/******/ if(parentJsonpFunction) parentJsonpFunction(data); 24/******/ 25/******/ while(resolves.length) { 26/******/ resolves.shift()(); 27/******/ } 28/******/ 29/******/ // add entry modules from loaded chunk to deferred list 30/******/ deferredModules.push.apply(deferredModules, executeModules || []); 31/******/ 32/******/ // run deferred modules when all chunks ready 33/******/ return checkDeferredModules(); 34/******/ }; 35/******/ function checkDeferredModules() { 36/******/ var result; 37/******/ for(var i = 0; i < deferredModules.length; i++) { 38/******/ var deferredModule = deferredModules[i]; 39/******/ var fulfilled = true; 40/******/ for(var j = 1; j < deferredModule.length; j++) { 41/******/ var depId = deferredModule[j]; 42/******/ if(installedChunks[depId] !== 0) fulfilled = false; 43/******/ } 44/******/ if(fulfilled) { 45/******/ deferredModules.splice(i--, 1); 46/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); 47/******/ } 48/******/ } 49/******/ 50/******/ return result; 51/******/ } 52/******/ 53/******/ // The module cache 54/******/ var installedModules = {}; 55/******/ 56/******/ // object to store loaded and loading chunks 57/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched 58/******/ // Promise = chunk loading, 0 = chunk loaded 59/******/ var installedChunks = { 60/******/ "global": 0 61/******/ }; 62/******/ 63/******/ var deferredModules = []; 64/******/ 65/******/ // The require function 66/******/ function __webpack_require__(moduleId) { 67/******/ 68/******/ // Check if module is in cache 69/******/ if(installedModules[moduleId]) { 70/******/ return installedModules[moduleId].exports; 71/******/ } 72/******/ // Create a new module (and put it into the cache) 73/******/ var module = installedModules[moduleId] = { 74/******/ i: moduleId, 75/******/ l: false, 76/******/ exports: {} 77/******/ }; 78/******/ 79/******/ // Execute the module function 80/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 81/******/ 82/******/ // Flag the module as loaded 83/******/ module.l = true; 84/******/ 85/******/ // Return the exports of the module 86/******/ return module.exports; 87/******/ } 88/******/ 89/******/ 90/******/ // expose the modules object (__webpack_modules__) 91/******/ __webpack_require__.m = modules; 92/******/ 93/******/ // expose the module cache 94/******/ __webpack_require__.c = installedModules; 95/******/ 96/******/ // define getter function for harmony exports 97/******/ __webpack_require__.d = function(exports, name, getter) { 98/******/ if(!__webpack_require__.o(exports, name)) { 99/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); 100/******/ } 101/******/ }; 102/******/ 103/******/ // define __esModule on exports 104/******/ __webpack_require__.r = function(exports) { 105/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 106/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 107/******/ } 108/******/ Object.defineProperty(exports, '__esModule', { value: true }); 109/******/ }; 110/******/ 111/******/ // create a fake namespace object 112/******/ // mode & 1: value is a module id, require it 113/******/ // mode & 2: merge all properties of value into the ns 114/******/ // mode & 4: return value when already ns object 115/******/ // mode & 8|1: behave like require 116/******/ __webpack_require__.t = function(value, mode) { 117/******/ if(mode & 1) value = __webpack_require__(value); 118/******/ if(mode & 8) return value; 119/******/ if((mode & 4) && typeof value === 'object' && value && value.__esMo
119dule) return value; 120/******/ var ns = Object.create(null); 121/******/ __webpack_require__.r(ns); 122/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); 123/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); 124/******/ return ns; 125/******/ }; 126/******/ 127/******/ // getDefaultExport function for compatibility with non-harmony modules 128/******/ __webpack_require__.n = function(module) { 129/******/ var getter = module && module.__esModule ? 130/******/ function getDefault() { return module['default']; } : 131/******/ function getModuleExports() { return module; }; 132/******/ __webpack_require__.d(getter, 'a', getter); 133/******/ return getter; 134/******/ }; 135/******/ 136/******/ // Object.prototype.hasOwnProperty.call 137/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 138/******/ 139/******/ // __webpack_public_path__ 140/******/ __webpack_require__.p = ""; 141/******/ 142/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; 143/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); 144/******/ jsonpArray.push = webpackJsonpCallback; 145/******/ jsonpArray = jsonpArray.slice(); 146/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); 147/******/ var parentJsonpFunction = oldJsonpFunction; 148/******/ 149/******/ 150/******/ // add entry module to deferred list 151/******/ deferredModules.push([0,"common"]); 152/******/ // run deferred modules when ready 153/******/ return checkDeferredModules(); 154/******/ }) 155/************************************************************************/ 156/******/ ({ 157
158/***/ "./Static-Adage/typescript/classes/headerSkip.ts": 159/*!*******************************************************!*\ 160 !*** ./Static-Adage/typescript/classes/headerSkip.ts ***! 161 \*******************************************************/ 162/*! no static exports found */ 163/***/ (function(module, exports, __webpack_require__) { 164 165"use strict"; 166 167Object.defineProperty(exports, "__esModule", { value: true }); 168exports.HeaderSkip = void 0; 169var navigation_1 = __webpack_require__(/*! ../inits/navigation */ "./Static-Adage/typescript/inits/navigation.ts"); 170var HeaderSkip = /** @class */ (function () { 171 function HeaderSkip(element) { 172 this.link = element; 173 this.getDOM(); 174 this.init(); 175 } 176 HeaderSkip.prototype.getDOM = function () { 177 this.target = document.querySelector(this.link.getAttribute('href')); 178 // Tag block container if the first child is full bleed so that it can jump to the correct location when triggered 179 var blockContainer = document.querySelector('[data-blocks]'); 180 if (blockContainer) { 181 var firstBlock = blockContainer.firstElementChild; 182 if (firstBlock && firstBlock.hasAttribute('data-full-bleed')) { 183 var range = firstBlock.getAttribute('data-full-bleed'); 184 this.target.classList.add("skip-target-spaced" + (range ? "-" + range : '')); 185 } 186 } 187 }; 188 HeaderSkip.prototype.init = function () { 189 var _this = this; 190 if (this.link && this.target) { 191 var navClearance_1 = navigation_1.nav.desktopNavActive() ? navigation_1.nav.desktopShort : navigation_1.nav.mobileShort; 192 this.link.addEventListener('click', function (e) { 193 e.preventDefault(); 194 _this.targetLocation = _this.target.offsetTop - navClearance_1; 195 _this.target.focus(); 196 window.scrollTo(0, _this.targetLocation); 197 }); 198 } 199 }; 200 return HeaderSkip; 201}()); 202exports.HeaderSkip = HeaderSkip; 203 204 205/***/ }), 206
207/***/ "./Static-Adage/typescript/classes/pdfDownloadBlock.ts": 208/*!*************************************************************!*\ 209 !*** ./Static-Adage/typescript/classes/pdfDownloadBlock.ts ***! 210 \*************************************************************/ 211/*! no static exports found */ 212/***/ (function(module, exports, __webpack_require__) { 213 214"use strict"; 215 216Object.defineProperty(exports, "__esModule", { value: true }); 217exports.PdfDownloadBlock = void 0; 218var nodeListToArray_1 = __webpack_require__(/*! ../helpers/nodeListToArray */ "./Static-Adage/typescript/helpers/nodeListToArray.ts"); 219var PdfDownloadBlock = /** @class */ (function () { 220 function PdfDownloadBlock(container) { 221 var _this = this; 222 this.hideErrorsClass = "validation-summary-valid"; 223 this.toggleSelectAll = function (e) { 224 if (_this.selectAllCheckbox.checked) { 225 _this.pdfCheckboxes.forEach(function (item) { 226 item.checked = true; 227 }); 228 } 229 else { 230 _this.pdfCheckboxes.forEach(function (item) { 231 item.checked = false; 232 }); 233 } 234 }; 235 this.downloadPdf = function () { 236 var selectedPdfUrls = _this.getSelectedUrls(); 237 if (selectedPdfUrls.length > 0) { 238 _this.optionNotSelectedErrorContainer.classList.add(_this.hideErrorsClass); 239 if (_this.defaultPdfUrl && _this.defaultPdfUrl.length > 0) { 240 selectedPdfUrls = [_this.defaultPdfUrl].concat(selectedPdfUrls); 241 } 242 window.location.href = "/PdfDownloadContainerBlock/GetConcatenatedPdf/?pdfUrls=" 243 + selectedPdfUrls.map(function (x) { return encodeURIComponent(x); }).join("&pdfUrls=") 244 + "&fileName=" + encodeURIComponent(_this.pdfFileName); 245 _this.loadingMessage.style.display = "block"; 246 } 247 else { 248 _this.optionNotSelectedErrorContainer.classList.remove(_this.hideErrorsClass); 249 } 250 }; 251 this.handleSelectAllState = function () { 252 var numberSelectedItems = _this.getSelectedItems().length; 253 if (numberSelectedItems == _this.pdfCheckboxes.length) { 254 _this.selectAllCheckbox.checked = true; 255 } 256 else { 257 _this.selectAllCheckbox.checked = false; 258 } 259 };
260 this.getSelectedItems = function () { 261 var selectedItems = []; 262 _this.pdfCheckboxes.forEach(function (item) { 263 if (item.checked) { 264 selectedItems.push(item); 265 } 266 }); 267 return selectedItems; 268 }; 269 this.getSelectedUrls = function () { 270 var selectedItems = _this.getSelectedItems(); 271 return selectedItems.map(function (item) { return item.value; }); 272 }; 273 if (!container) 274 return; 275 var pdfFileName = container.querySelector("[data-pdf-filename]"); 276 if (pdfFileName) { 277 this.pdfFileName = pdfFileName.value; 278 } 279 var defaultPdfUrl = container.querySelector("[data-default-pdf]"); 280 if (defaultPdfUrl) { 281 this.defaultPdfUrl = defaultPdfUrl.value; 282 } 283 var optionNotSelectedErrorContainer = container.querySelector("[data-option-not-selected-error]"); 284 if (optionNotSelectedErrorContainer) { 285 this.optionNotSelectedErrorContainer = optionNotSelectedErrorContainer; 286 } 287 this.pdfCheckboxes = nodeListToArray_1.nodeListToArray(container.querySelectorAll("[data-pdf-checkbox]")); 288 this.pdfCheckboxes.forEach(function (checkbox) { 289 checkbox.addEventListener("change", _this.handleSelectAllState); 290 }); 291 var downloadButton = container.querySelector("[data-download-button]"); 292 if (downloadButton) { 293 this.downloadButton = downloadButton; 294 this.downloadButton.addEventListener("click", this.downloadPdf); 295 } 296 var selectAllCheckbox = container.querySelector("[data-pdf-select-all]"); 297 if (selectAllCheckbox) { 298 this.selectAllCheckbox = selectAllCheckbox; 299 this.selectAllCheckbox.addEventListener("change", this.toggleSelectAll); 300 } 301 var loadingMessage = container.querySelector("[data-loading-message]"); 302 this.loadingMessage = loadingMessage; 303 this.loadingMessage.style.display = "none"; 304 } 305 return PdfDownloadBlock; 306}()); 307exports.PdfDownloadBlock = PdfDownloadBlock; 308 309 310/***/ }), 311
312/***/ "./Static-Adage/typescript/entries/global.ts": 313/*!***************************************************!*\ 314 !*** ./Static-Adage/typescript/entries/global.ts ***! 315 \***************************************************/ 316/*! no static exports found */ 317/***/ (function(module, exports, __webpack_require__) { 318 319"use strict"; 320 321Object.defineProperty(exports, "__esModule", { value: true }); 322var headerSkip_1 = __webpack_require__(/*! ../classes/headerSkip */ "./Static-Adage/typescript/classes/headerSkip.ts"); 323var navigation_1 = __webpack_require__(/*! ../inits/navigation */ "./Static-Adage/typescript/inits/navigation.ts"); 324var pdfDownloadBlock_1 = __webpack_require__(/*! ../classes/pdfDownloadBlock */ "./Static-Adage/typescript/classes/pdfDownloadBlock.ts"); 325var debounce = __webpack_require__(/*! lodash.debounce */ "./node_modules/lodash.debounce/index.js"); 326var initAll = function () { 327 var headerSkipLink = initHeaderSkip(); 328 initResizeHandlers(headerSkipLink); 329 initPdfDownloadBlock(); 330}; 331var initHeaderSkip = function () { 332 // Link in hero to skip down to content 333 var headerSkipLinkEl = document.querySelector('[data-header-skip]'); 334 var headerSkip; 335 if (headerSkipLinkEl) { 336 headerSkip = new headerSkip_1.HeaderSkip(headerSkipLinkEl); 337 } 338 return headerSkip; 339}; 340var initResizeHandlers = function (headerSkipLink) { 341 window.addEventListener('resize', debounce(function () { 342 if (headerSkipLink) { 343 headerSkipLink.init(); 344 } 345 if (navigation_1.nav) { 346 navigation_1.nav.setClearance(); 347 } 348 }, 50)); 349}; 350var initPdfDownloadBlock = function () { 351 var pdfDownloadContainers = [].slice.call(document.querySelectorAll('[data-pdf-download-container]')); 352 pdfDownloadContainers.forEach(function (container) { 353 new pdfDownloadBlock_1.PdfDownloadBlock(container); 354 }); 355}; 356initAll(); 357 358 359/***/ })
359, 360 361/***/ 0: 362/*!***********************************************************************************!*\ 363 !*** multi idempotent-babel-polyfill ./Static-Adage/typescript/entries/global.ts ***! 364 \***********************************************************************************/ 365/*! no static exports found */ 366/***/ (function(module, exports, __webpack_require__) { 367 368__webpack_require__(/*! idempotent-babel-polyfill */"./node_modules/idempotent-babel-polyfill/lib/index.js"); 369module.exports = __webpack_require__(/*! ./Static-Adage/typescript/entries/global.ts */"./Static-Adage/typescript/entries/global.ts"); 370 371 372/***/ }) 373 374/******/ }); 375//# sourceMappingURL=global-bundle.js.map
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.