vendor: 87 bytes, lines 1-4
1/******/ (() => { // webpackBootstrap 2/******/ var __webpack_modules__ = ({ 3 4/***/ "./
4js/close-accordion.js": 5/*!*******************************!*\ 6 !*** ./js/close-accordion.js ***! 7 \*******************************/ 8/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 9 10function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } 11 12function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } 13 14function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } 15 16var $ = __webpack_require__(/*! jquery */ "jquery"); 17 18var AccordionMutationSetup = { 19 $el: [], 20 observer: null, 21 init: function init() { 22 this.$el = jQuery('.elementor-widget-accordion.js-default-closed .elementor-tab-title'); 23 24 if (this.$el.length > 0) { 25 this.setup(); 26 } 27 }, 28 setup: function setup() { 29 if (this.$el.hasClass('elementor-active')) { 30 this.close(); 31 } else { 32 var observer_config = { 33 attributes: true, 34 attributeFilter: ['class'] 35 }; 36 this.observer = this.buildObserver(); 37 this.observer.observe(this.$el.get(0), observer_config); 38 } 39 }, 40 buildObserver: function buildObserver() { 41 var _this = this; 42 43 return new MutationObserver(function (mutationsList) { 44 var _iterator = _createForOfIteratorHelper(mutationsList), 45 _step; 46 47 try { 48 for (_iterator.s(); !(_step = _iterator.n()).done;) { 49 var mutation = _step.value; 50 51 if (_this.$el.hasClass('elementor-active')) { 52 _this.observer.disconnect(); 53 54 window.setTimeout(_this.close.bind(_this), 10); 55 } 56 } 57 } catch (err) { 58 _iterator.e(err); 59 } finally { 60 _iterator.f(); 61 } 62 }); 63 }, 64 close: function close() { 65 this.$el.removeClass('elementor-active'); 66 this.$el.next().css('display', 'none'); 67 } 68}; 69$(AccordionMutationSetup.init.bind(AccordionMutationSetup)); 70 71/***/ }), 72
73/***/ "./js/consent-model.js": 74/*!*****************************!*\ 75 !*** ./js/consent-model.js ***! 76 \*****************************/ 77/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 78 79"use strict"; 80__webpack_require__.r(__webpack_exports__); 81/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-cookie */ "./node_modules/js-cookie/dist/js.cookie.mjs"); 82function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 83 84 85var ConsentModel = { 86 event_pushed: false, 87 consent: {}, 88 consent_keys: ['strictly-necessary', 'performance', 'functional'], 89 init: function init() { 90 this.setup(); 91 }, 92 setup: function setup() { 93 this.loadConsent(); 94 95 if (this.consentIsSet()) { 96 this.sendGtmData(); 97 } else { 98 this.setupConsentCallback(); 99 } 100 }, 101 loadConsent: function loadConsent() { 102 var _this = this; 103 104 this.consent_keys.forEach(function (k) { 105 var name = "cookielawinfo-checkbox-".concat(k); 106 var value = js_cookie__WEBPACK_IMPORTED_MODULE_0__["default"].get(name); 107 108 if (typeof value !== 'undefined') { 109 _this.consent[k] = value === 'yes'; 110 } 111 }); 112 }, 113 consentIsSet: function consentIsSet() { 114 return Object.keys(this.consent).length > 0; 115 }, 116 sendGtmData: function sendGtmData() { 117 var _this2 = this; 118 119 var consent_msg = { 120 event: 'CLI_Consent' 121 }; 122 Object.keys(this.consent).forEach(function (key) { 123 var level_name = key.charAt(0).toUpperCase() + key.slice(1).replaceAll('-', '_'); 124 consent_msg["CLI_".concat(level_name)] = _this2.consent[key] ? 1 : 0; 125 }); 126 window.dataLayer = window.dataLayer || []; 127 window.dataLayer.push(consent_msg); 128 }, 129 setupConsentCallback: function setupConsentCallback() { 130 window.CookieLawInfo_Accept_Callback = this.consentCallback.bind(this); 131 }, 132 consentCallback: function consentCallback() { 133 if (_typeof(window.CLI) === 'object' && _typeof(window.CLI.consent) === 'object') { 134 this.consent = window.CLI.consent; 135 this.sendGtmData(); 136 } 137 } 138}; 139ConsentModel.init(); 140 141/***/ }), 142
143/***/ "./js/delayed.js": 144/*!***********************!*\ 145 !*** ./js/delayed.js ***! 146 \***********************/ 147/***/ (() => { 148 149function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 150 151var RMSDelayed = { 152 queue: [], 153 el: null, 154 ready: function ready(fn) { 155 if (document.readyState != 'loading') { 156 fn(); 157 } else { 158 document.addEventListener('DOMContentLoaded', fn); 159 } 160 }, 161 init: function init() { 162 if (_typeof(window.rmsDelayed) === 'object') { 163 this.queue = window.rmsDelayed; 164 } 165 166 window.rmsDelayed = { 167 push: this.process.bind(this) 168 }; 169 this.queue.forEach(this.process.bind(this)); 170 }, 171 process: function process(args) { 172 if (args.type === 'hs_script') { 173 this.injectScript(args.src, this.hsFormLoaded.bind(this), true); 174 } 175 }, 176 injectScript: function injectScript(src, callback_fn) { 177 var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; 178 var tag = 'script'; 179 var s = document.createElement(tag); 180 s.type = 'text/javascript'; 181 s.async = 1; 182 183 if (callback_fn) { 184 s.addEventListener('load', callback_fn); 185 } 186 187 s.src = src; 188 189 var fn = function fn() { 190 document.getElementsByTagName(tag)[0].parentNode.appendChild(s); 191 }; 192 193 if (delay) { 194 setTimeout(fn, 500); 195 } else { 196 fn(); 197 } 198 }, 199 hsFormLoaded: function hsFormLoaded() { 200 setTimeout(function () { 201 document.querySelectorAll('script.js-hs-form').forEach(function (_) { 202 var s = document.createElement('script'); 203 s.type = 'text/javascript'; 204 s.text = _.text; 205 206 _.parentNode.replaceChild(s, _); 207 }); 208 }, 500); 209 } 210}; 211RMSDelayed.ready(RMSDelayed.init.bind(RMSDelayed)); 212 213/***/ }), 214
215/***/ "./js/lottie-animation.js": 216/*!********************************!*\ 217 !*** ./js/lottie-animation.js ***! 218 \********************************/ 219/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 220 221var $ = __webpack_require__(/*! jquery */ "jquery"); 222 223var LottieAnimation = { 224 _bodymovin: null, 225 lotties: [], 226 main_lottie: null, 227 trigger_lottie: null, 228 observer: null, 229 trigger_lottie_played: false, 230 viewport_selector: '.js-lottie-viewport-trigger', 231 segment_started: false, 232 selector: '.js-trigger .e-lottie__animation', 233 init: function init() { 234 if ($(this.viewport_selector).length > 0) { 235 this.setup(); 236 } 237 }, 238 hijackBodymovin: function hijackBodymovin() { 239 var _this = this; 240 241 if (window.bodymovin) { 242 this._bodymovin = window.bodymovin; 243 window.bodymovin = { 244 loadAnimation: this.loadAnimation.bind(this) 245 }; 246 } else { 247 window.setTimeout(function () { 248 return _this.hijackBodymovin(); 249 }, 50); 250 } 251 }, 252 loadAnimation: function loadAnimation(args) { 253 var _this2 = this; 254 255 console.log('loadAnimation... args: ', args); 256 257 var lottie = this._bodymovin.loadAnimation(args); 258 259 if ($(lottie.wrapper).parents('.js-trigger-target').length > 0) { 260 console.log('got main lottie..'); 261 this.main_lottie = lottie; 262 this.main_lottie.addEventListener('complete', this.mainLottieComplete.bind(this)); 263 this.main_lottie.addEventListener('segmentStart', function () { 264 console.log('segment start'); 265 _this2.segment_started = true; 266 267 _this2.observer.disconnect(); 268 }); 269 this.lotties.push(lottie); 270 } else if ($(lottie.wrapper).parents('.js-trigger').length > 0) { 271 console.log('got trigger lottie'); 272 this.trigger_lottie = lottie; 273 this.lotties.push(lottie); 274 } 275 276 return lottie; 277 }, 278 mainLottieComplete: function mainLottieComplete() { 279 console.log('main lottie complete'); 280 this.main_lottie.stop(); 281 282 if (!this.trigger_lottie_played) { 283 $('.js-trigger .e-lottie__animation svg').click().parents('.c-lottie-animation').addClass('is-interactive'); 284 this.trigger_lottie_played = true; 285 } else { 286 this.trigger_lottie.stop(); 287 $(this.trigger_lottie.wrapper).parents('.c-lottie-animation').addClass('is-interactive').removeClass('is-hidden'); 288 this.trigger_lottie.play(); 289 } 290 }, 291 setup: function setup() { 292 var _this3 = this; 293 294 this.observer = new IntersectionObserver(function (entries) { 295 if (entries[0].intersectionRatio > 0) { 296 var $$ = $('.js-trigger-target'); 297 var delay = parseInt($$.data('lottieDelay'), 10); 298 299 if (!isNaN(delay) && delay > 0) { 300 window.setTimeout(function () { 301 _this3.eventualClick('.js-trigger-target .e-lottie__animation svg'); 302 }, delay * 1000); 303 } else { 304 _this3.eventualClick('.js-trigger-target .e-lottie__animation svg'); 305 } 306 } 307 308 console.log('intersectionRatio: ', entries[0].intersectionRatio); 309 }); 310 this.observer.observe($(this.viewport_selector).get(0)); 311 $(document).on('mouseenter', this.selector, this.triggerInteraction.bind(this)); 312 }, 313 triggerInteraction: function triggerInteraction() { 314 $(this.trigger_lottie.wrapper).parents('.c-lottie-animation').removeClass('is-interactive').addClass('is-hidden'); 315 this.main_lottie.play(); 316 }, 317 checkSegmentStarted: function checkSegmentStarted(selector) { 318 if (!this.segment_started) { 319 this.eventualClick(selector); 320 } 321 }, 322 eventualClick: function eventualClick(selector) { 323 var _this4 = this; 324 325 var $$ = $(selector); 326 327 if ($$.length > 0) { 328 console.log('eventual click: ', selector); 329 $$.click(); 330 window.setTimeout(function () { 331 return _this4.checkSegmentStarted(selector); 332 }, 100); 333 } else { 334 window.setTimeout(function () { 335 return _this4.eventualClick(selector); 336 }, 50); 337 } 338 } 339}; 340LottieAnimation.hijackBodymovin(); 341$(LottieAnimation.init.bind(LottieAnimation)); 342 343/***/ }), 344
345/***/ "./js/main.js": 346/*!********************!*\ 347 !*** ./js/main.js ***! 348 \********************/ 349/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 350 351__webpack_require__(/*! ./consent-model.js */ "./js/consent-model.js"); 352 353__webpack_require__(/*! ./pagination.js */ "./js/pagination.js"); 354 355__webpack_require__(/*! ./resource-nav-menu.js */ "./js/resource-nav-menu.js"); 356 357__webpack_require__(/*! ./delayed.js */ "./js/delayed.js"); 358 359__webpack_require__(/*! ./close-accordion.js */ "./js/close-accordion.js"); 360 361__webpack_require__(/*! ./lottie-animation.js */ "./js/lottie-animation.js"); 362 363/***/ }), 364
365/***/ "./js/pagination.js": 366/*!**************************!*\ 367 !*** ./js/pagination.js ***! 368 \**************************/ 369/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 370 371var $ = __webpack_require__(/*! jquery */ "jquery"); 372 373var Pagination = { 374 widget_selector: '.js-mb-paginated', 375 page_link_selector: '.elementor-pagination .page-numbers', 376 $widget: [], 377 init: function init() { 378 this.$widget = $(this.widget_selector); 379 380 if (this.$widget.length > 0) { 381 this.setup(); 382 } 383 }, 384 setup: function setup() { 385 $(document).on('click', this.page_link_selector, this.fetchPage.bind(this)); 386 }, 387 fetchPage: function fetchPage(event) { 388 event.preventDefault(); 389 this.$page_link = $(event.currentTarget); 390 var url = this.$page_link.attr('href'); 391 this.$widget.load("".concat(url, " ").concat(this.widget_selector)); 392 } 393}; 394$(Pagination.init.bind(Pagination)); 395 396/***/ }), 397
398/***/ "./js/resource-nav-menu.js": 399/*!*********************************!*\ 400 !*** ./js/resource-nav-menu.js ***! 401 \*********************************/ 402/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 403 404function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } 405 406function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } 407 408function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } 409 410var $ = __webpack_require__(/*! jquery */ "jquery"); 411 412var ResourceNavMenu = { 413 $section: [], 414 $header: [], 415 $container: [], 416 selector: '.resource-page-menu', 417 is_header_up_on_scroll: false, 418 nav_is_stuck: false, 419 observer: null, 420 init: function init() { 421 this.$section = $(this.selector); 422 423 if (this.$section.length > 0) { 424 this.setup(); 425 } 426 }, 427 setup: function setup() { 428 var _this = this; 429 430 this.$header = $('body > .elementor-location-header .elementor-section:first'); 431 this.$container = $(this.selector).find('.elementor-widget-icon-list:first > .elementor-widget-container'); 432 $(document).on('sticky:stick', this.selector, this.onStick.bind(this)); 433 $(document).on('sticky:unstick', this.selector, this.onUnstick.bind(this)); 434 435 if (this.$section.hasClass('js-stripe-above')) { 436 this.$stripe = $('<div class="resource-page-menu-stripe"></div>'); 437 this.$stripe.on('click', function () { 438 _this.$header.css('z-index', 9999999).show(); 439 }); 440 this.$section.prepend(this.$stripe); 441 } 442 443 if (this.$section.hasClass('js-make-closable')) { 444 this.$close = $('<div class="resource-page-menu-close"></div>'); 445 this.$close.on('click', function () { 446 _this.$header.show(); 447 448 _this.hideSubnav(); 449 }); 450 this.$section.prepend(this.$close); 451 } 452 453 if (this.$section.hasClass('js-header-up-on-scroll')) { 454 this.is_header_up_on_scroll = true; 455 var $win = $(window); 456 var pos = $win.scrollTop(); 457 $win.scroll(function () { 458 if (pos > 40) { 459 if ($win.scrollTop() > pos && _this.nav_is_stuck) { 460 _this.$header.addClass('headerup'); 461 } else { 462 _this.$header.removeClass('headerup'); 463 } 464 } 465 466 pos = $win.scrollTop(); 467 }); 468 } 469 470 this.setupObserver(); 471 }, 472 hideSubnav: function hideSubnav() { 473 var _this$$close; 474 475 this.$section.css('visibility', 'hidden'); 476 (_this$$close = this.$close) === null || _this$$close === void 0 ? void 0 : _this$$close.css('visibility', 'hidden'); 477 }, 478 showSubnav: function showSubnav() { 479 var _this$$close2; 480 481 this.$section.css('visibility', 'visible'); 482 (_this$$close2 = this.$close) === null || _this$$close2 === void 0 ? void 0 : _this$$close2.css('visibility', ''); 483 }, 484 setupObserver: function setupObserver() { 485 var observer_config = { 486 attributes: true, 487 subtree: true, 488 attributeFilter: ['class'] 489 }; 490 this.observer = this.buildObserver(); 491 this.observer.observe(this.$section.get(0), observer_config); 492 }, 493 buildObserver: function buildObserver() { 494 var $container = this.$container; 495 return new MutationObserver(function (mutationsList) { 496 // Don't shift nav on larger viewports 497 if (window.innerWidth >= 1100) { 498 return; 499 } 500 501 var _iterator = _createForOfIteratorHelper(mutationsList), 502 _step; 503
504 try { 505 for (_iterator.s(); !(_step = _iterator.n()).done;) { 506 var mutation = _step.value; 507 var el = mutation.target; 508 509 if (el.nodeName === 'LI' && el.classList.contains('current')) { 510 if (el.offsetLeft + el.offsetWidth + 100 >= $container.width() || $container.get(0).scrollLeft > el.offsetLeft - 50) { 511 $container.get(0).scrollLeft = el.offsetLeft; 512 } 513 } 514 } 515 } catch (err) { 516 _iterator.e(err); 517 } finally { 518 _iterator.f(); 519 } 520 }); 521 }, 522 onStick: function onStick(e) { 523 this.nav_is_stuck = true; 524 console.log('stick subnav'); 525 526 if (!this.is_header_up_on_scroll) { 527 this.$header.hide(); 528 } 529 }, 530 onUnstick: function onUnstick(e) { 531 console.log('unstick subnav'); 532 this.nav_is_stuck = false; 533 this.showSubnav(); 534 535 if (!this.is_header_up_on_scroll) { 536 this.$header.show(); 537 } 538 } 539}; 540$(ResourceNavMenu.init.bind(ResourceNavMenu)); 541 542/***/ }), 543
544/***/ "./sass/main.scss": 545/*!************************!*\ 546 !*** ./sass/main.scss ***! 547 \************************/ 548/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 549 550"use strict"; 551__webpack_require__.r(__webpack_exports__); 552// extracted by mini-css-extract-plugin 553 554 555/***/ }), 556 557/***/ "jquery": 558/*!*************************!*\ 559 !*** external "jQuery" ***! 560 \*************************/ 561/***/ ((module) => { 562 563"use strict"; 564module.exports = jQuery; 565 566/***/ }), 567
vendor: 4,073 bytes, lines 568-715
568/***/ "./node_modules/js-cookie/dist/js.cookie.mjs": 569/*!***************************************************!*\ 570 !*** ./node_modules/js-cookie/dist/js.cookie.mjs ***! 571 \***************************************************/ 572/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 573 574"use strict"; 575__webpack_require__.r(__webpack_exports__); 576/* harmony export */ __webpack_require__.d(__webpack_exports__, { 577/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 578/* harmony export */ }); 579/*! js-cookie v3.0.1 | MIT */ 580/* eslint-disable no-var */ 581function assign (target) { 582 for (var i = 1; i < arguments.length; i++) { 583 var source = arguments[i]; 584 for (var key in source) { 585 target[key] = source[key]; 586 } 587 } 588 return target 589} 590/* eslint-enable no-var */ 591 592/* eslint-disable no-var */ 593var defaultConverter = { 594 read: function (value) { 595 if (value[0] === '"') { 596 value = value.slice(1, -1); 597 } 598 return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent) 599 }, 600 write: function (value) { 601 return encodeURIComponent(value).replace( 602 /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, 603 decodeURIComponent 604 ) 605 } 606}; 607/* eslint-enable no-var */ 608 609/* eslint-disable no-var */ 610 611function init (converter, defaultAttributes) { 612 function set (key, value, attributes) { 613 if (typeof document === 'undefined') { 614 return 615 } 616 617 attributes = assign({}, defaultAttributes, attributes); 618 619 if (typeof attributes.expires === 'number') { 620 attributes.expires = new Date(Date.now() + attributes.expires * 864e5); 621 } 622 if (attributes.expires) { 623 attributes.expires = attributes.expires.toUTCString(); 624 } 625 626 key = encodeURIComponent(key) 627 .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent) 628 .replace(/[()]/g, escape); 629 630 var stringifiedAttributes = ''; 631 for (var attributeName in attributes) { 632 if (!attributes[attributeName]) { 633 continue 634 } 635 636 stringifiedAttributes += '; ' + attributeName; 637 638 if (attributes[attributeName] === true) { 639 continue 640 } 641 642 // Considers RFC 6265 section 5.2: 643 // ... 644 // 3. If the remaining unparsed-attributes contains a %x3B (";") 645 // character: 646 // Consume the characters of the unparsed-attributes up to, 647 // not including, the first %x3B (";") character. 648 // ... 649 stringifiedAttributes += '=' + attributes[attributeName].split(';')[0]; 650 } 651 652 return (document.cookie = 653 key + '=' + converter.write(value, key) + stringifiedAttributes) 654 } 655 656 function get (key) { 657 if (typeof document === 'undefined' || (arguments.length && !key)) { 658 return 659 } 660 661 // To prevent the for loop in the first place assign an empty array 662 // in case there are no cookies at all. 663 var cookies = document.cookie ? document.cookie.split('; ') : []; 664 var jar = {}; 665 for (var i = 0; i < cookies.length; i++) { 666 var parts = cookies[i].split('='); 667 var value = parts.slice(1).join('='); 668 669 try { 670 var foundKey = decodeURIComponent(parts[0]); 671 jar[foundKey] = converter.read(value, foundKey); 672 673 if (key === foundKey) { 674 break 675 } 676 } catch (e) {} 677 } 678 679 return key ? jar[key] : jar 680 } 681 682 return Object.create( 683 { 684 set: set, 685 get: get, 686 remove: function (key, attributes) { 687 set( 688 key, 689 '', 690 assign({}, attributes, { 691 expires: -1 692 }) 693 ); 694 }, 695 withAttributes: function (attributes) { 696 return init(this.converter, assign({}, this.attributes, attributes)) 697 }, 698 withConverter: function (converter) { 699 return init(assign({}, this.converter, converter), this.attributes) 700 } 701 }, 702 { 703 attributes: { value: Object.freeze(defaultAttributes) }, 704 converter: { value: Object.freeze(converter) } 705 } 706 ) 707} 708 709var api = init(defaultConverter, { path: '/' }); 710/* eslint-enable no-var */ 711 712/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (api); 713 714 715/***/ })
vendor: 6,437 bytes, lines 715-871
715 716 717/******/ }); 718/************************************************************************/ 719/******/ // The module cache 720/******/ var __webpack_module_cache__ = {}; 721/******/ 722/******/ // The require function 723/******/ function __webpack_require__(moduleId) { 724/******/ // Check if module is in cache 725/******/ var cachedModule = __webpack_module_cache__[moduleId]; 726/******/ if (cachedModule !== undefined) { 727/******/ return cachedModule.exports; 728/******/ } 729/******/ // Create a new module (and put it into the cache) 730/******/ var module = __webpack_module_cache__[moduleId] = { 731/******/ // no module.id needed 732/******/ // no module.loaded needed 733/******/ exports: {} 734/******/ }; 735/******/ 736/******/ // Execute the module function 737/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); 738/******/ 739/******/ // Return the exports of the module 740/******/ return module.exports; 741/******/ } 742/******/ 743/******/ // expose the modules object (__webpack_modules__) 744/******/ __webpack_require__.m = __webpack_modules__; 745/******/ 746/************************************************************************/ 747/******/ /* webpack/runtime/chunk loaded */ 748/******/ (() => { 749/******/ var deferred = []; 750/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { 751/******/ if(chunkIds) { 752/******/ priority = priority || 0; 753/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; 754/******/ deferred[i] = [chunkIds, fn, priority]; 755/******/ return; 756/******/ } 757/******/ var notFulfilled = Infinity; 758/******/ for (var i = 0; i < deferred.length; i++) { 759/******/ var [chunkIds, fn, priority] = deferred[i]; 760/******/ var fulfilled = true; 761/******/ for (var j = 0; j < chunkIds.length; j++) { 762/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { 763/******/ chunkIds.splice(j--, 1); 764/******/ } else { 765/******/ fulfilled = false; 766/******/ if(priority < notFulfilled) notFulfilled = priority; 767/******/ } 768/******/ } 769/******/ if(fulfilled) { 770/******/ deferred.splice(i--, 1) 771/******/ var r = fn(); 772/******/ if (r !== undefined) result = r; 773/******/ } 774/******/ } 775/******/ return result; 776/******/ }; 777/******/ })(); 778/******/ 779/******/ /* webpack/runtime/define property getters */ 780/******/ (() => { 781/******/ // define getter functions for harmony exports 782/******/ __webpack_require__.d = (exports, definition) => { 783/******/ for(var key in definition) { 784/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 785/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 786/******/ } 787/******/ } 788/******/ }; 789/******/ })(); 790/******/ 791/******/ /* webpack/runtime/hasOwnProperty shorthand */ 792/******/ (() => { 793/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 794/******/ })(); 795/******/ 796/******/ /* webpack/runtime/make namespace object */ 797/******/ (() => { 798/******/ // define __esModule on exports 799/******/ __webpack_require__.r = (exports) => { 800/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 801/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 802/******/ } 803/******/ Object.defineProperty(exports, '__esModule', { value: true }); 804/******/ }; 805/******/ })(); 806/******/ 807/******/ /* webpack/runtime/jsonp chunk loading */ 808/******/ (() => { 809/******/ // no baseURI 810/******/ 811/******/ // object to store loaded and loading chunks 812/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched 813/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded 814/******/ var installedChunks = { 815/******/ "/js/main": 0, 816/******/ "css/main": 0 817/******/ }; 818/******/ 819/******/ // no chunk on demand loading 820/******/ 821/******/ // no prefetching 822/******/ 823/******/ // no preloaded 824/******/ 825/******/ // no HMR 826/******/ 827/******/ // no HMR manifest 828/******/ 829/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); 830/******/ 831/******/ // install a JSONP callback for chunk loading 832/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { 833/******/ var [chunkIds, moreModules, runtime] = data; 834/******/ // add "moreModules" to the modules object, 835/******/ // then flag all "chunkIds" as loaded and fire callback 836/******/ var moduleId, chunkId, i = 0; 837/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { 838/******/ for(moduleId in moreModules) { 839/******/ if(__webpack_require__.o(moreModules, moduleId)) { 840/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; 841/******/ } 842/******/ } 843/******/ if(runtime) var result = runtime(__webpack_require__); 844/******/ } 845/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); 846/******/ for(;i < chunkIds.length; i++) { 847/******/ chunkId = chunkIds[i]; 848/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { 849/******/ installedChunks[chunkId][0](); 850/******/ } 851/******/ installedChunks[chunkIds[i]] = 0; 852/******/ } 853/******/ return __webpack_require__.O(result); 854/******/ } 855/******/ 856/******/ var chunkLoadingGlobal = self["webpackChunkunderstrap_child"] = self["webpackChunkunderstrap_child"] || []; 857/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); 858/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); 859/******/ })(); 860/******/ 861/************************************************************************/ 862/******/ 863/******/ // startup 864/******/ // Load entry module and return exports 865/******/ // This entry module depends on other loaded chunks and execution need to be delayed 866/******/ __webpack_require__.O(undefined, ["css/main"], () => (__webpack_require__("./js/main.js"))) 867/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["css/main"], () => (__webpack_require__("./sass/main.scss"))) 868/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); 869/******/ 870/******/ })() 871;
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.