{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"{\\\"$xs\\\":\\\"0\\\",\\\"$sm\\\":\\\"576px\\\",\\\"$md\\\":\\\"768px\\\",\\\"$lg\\\":\\\"992px\\\",\\\"$very-lg\\\":\\\"1280px\\\",\\\"$xl\\\":\\\"1440px\\\",\\\"$xxl\\\":\\\"1650px\\\"}\"","webpack:///./sitecore/Feature/Navigation/code/Assets/Navigation/js/lib/throttle-debounce.js","webpack:///./sitecore/Feature/Navigation/code/Assets/Navigation/js/lib/accordion.js","webpack:///./sitecore/Feature/Navigation/code/Assets/Navigation/js/accordion.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","throttle","delay","noTrailing","callback","debounceMode","timeoutID","cancelled","lastExec","clearExistingTimeout","clearTimeout","wrapper","self","this","elapsed","Date","now","args","arguments","exec","apply","clear","undefined","setTimeout","cancel","dom","$","window","$window","$body","find","length","init","eventTrigger","eventOnResize","openOnInit","document","documentElement","on","e","target","parent","hasClass","addClass","preventDefault","is","removeClass","each","_","$trigger","data","text","$accordions","displayType","children","slideUp","hide","css","slideDown","$footerAccordion","toggleClass","width","parseInt","off","$target","currentTarget","remove","attr","toggleAccordion","atBegin","onResizeCallback","addEventListener"],"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,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EA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C/ClB,EAASkB,KAAK,gBAEd,QAElBtD,KAAKuD,gBAAgBJ,EAASX,MAItC,gBDaJ,IAAmBnD,EAAOmE,EAASjE,ECZ3BS,KAAKyD,mBACLzD,KAAKY,IAAIG,QAAQU,GAAG,UDWTpC,ECX4B,IDWrBmE,ECX0BxD,KAAKyD,iBAAiB7E,KAAKoB,WDYzDS,IAAblB,EAAyBH,EAASC,EAAOmE,GAAS,GAASpE,EAASC,EAAOE,GAAsB,IAAZiE,MEjI9FjC,SAASmC,iBAAiB,mBAAoB,IAAM,IAAI","file":"accordion.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 = 1);\n","module.exports = {\"$xs\":\"0\",\"$sm\":\"576px\",\"$md\":\"768px\",\"$lg\":\"992px\",\"$very-lg\":\"1280px\",\"$xl\":\"1440px\",\"$xxl\":\"1650px\"};","/* eslint-disable no-undefined,no-param-reassign,no-shadow */\r\n\r\n/**\r\n * Throttle execution of a function. Especially useful for rate limiting\r\n * execution of handlers on events like resize and scroll.\r\n *\r\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\r\n * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\r\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\r\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\r\n * the internal counter is reset)\r\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\r\n * to `callback` when the throttled-function is executed.\r\n * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\r\n * schedule `callback` to execute after `delay` ms.\r\n *\r\n * @return {Function} A new, throttled, function.\r\n */\r\nfunction throttle (delay, noTrailing, callback, debounceMode) {\r\n /*\r\n * After wrapper has stopped being called, this timeout ensures that\r\n * `callback` is executed at the proper times in `throttle` and `end`\r\n * debounce modes.\r\n */\r\n var timeoutID;\r\n var cancelled = false; // Keep track of the last time `callback` was executed.\r\n\r\n var lastExec = 0; // Function to clear existing timeout\r\n\r\n function clearExistingTimeout() {\r\n if (timeoutID) {\r\n clearTimeout(timeoutID);\r\n }\r\n } // Function to cancel next exec\r\n\r\n\r\n function cancel() {\r\n clearExistingTimeout();\r\n cancelled = true;\r\n } // `noTrailing` defaults to falsy.\r\n\r\n\r\n if (typeof noTrailing !== 'boolean') {\r\n debounceMode = callback;\r\n callback = noTrailing;\r\n noTrailing = undefined;\r\n }\r\n /*\r\n * The `wrapper` function encapsulates all of the throttling / debouncing\r\n * functionality and when executed will limit the rate at which `callback`\r\n * is executed.\r\n */\r\n\r\n\r\n function wrapper() {\r\n var self = this;\r\n var elapsed = Date.now() - lastExec;\r\n var args = arguments;\r\n\r\n if (cancelled) {\r\n return;\r\n } // Execute `callback` and update the `lastExec` timestamp.\r\n\r\n\r\n function exec() {\r\n lastExec = Date.now();\r\n callback.apply(self, args);\r\n }\r\n /*\r\n * If `debounceMode` is true (at begin) this is used to clear the flag\r\n * to allow future `callback` executions.\r\n */\r\n\r\n\r\n function clear() {\r\n timeoutID = undefined;\r\n }\r\n\r\n if (debounceMode && !timeoutID) {\r\n /*\r\n * Since `wrapper` is being called for the first time and\r\n * `debounceMode` is true (at begin), execute `callback`.\r\n */\r\n exec();\r\n }\r\n\r\n clearExistingTimeout();\r\n\r\n if (debounceMode === undefined && elapsed > delay) {\r\n /*\r\n * In throttle mode, if `delay` time has been exceeded, execute\r\n * `callback`.\r\n */\r\n exec();\r\n } else if (noTrailing !== true) {\r\n /*\r\n * In trailing throttle mode, since `delay` time has not been\r\n * exceeded, schedule `callback` to execute `delay` ms after most\r\n * recent execution.\r\n *\r\n * If `debounceMode` is true (at begin), schedule `clear` to execute\r\n * after `delay` ms.\r\n *\r\n * If `debounceMode` is false (at end), schedule `callback` to\r\n * execute after `delay` ms.\r\n */\r\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\r\n }\r\n }\r\n\r\n wrapper.cancel = cancel; // Return the wrapper function.\r\n\r\n return wrapper;\r\n}\r\n\r\n/* eslint-disable no-undefined */\r\n/**\r\n * Debounce execution of a function. Debouncing, unlike throttling,\r\n * guarantees that a function is only executed a single time, either at the\r\n * very beginning of a series of calls, or at the very end.\r\n *\r\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\r\n * @param {Boolean} [atBegin] Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\r\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\r\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\r\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\r\n * to `callback` when the debounced-function is executed.\r\n *\r\n * @return {Function} A new, debounced function.\r\n */\r\n\r\nfunction debounce (delay, atBegin, callback) {\r\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\r\n}\r\n\r\nexport { throttle, debounce };\r\n\r\n\r\n\r\n//////////////////\r\n// WEBPACK FOOTER\r\n// ./node_modules/throttle-debounce/dist/index.esm.js\r\n// module id = 5\r\n// module chunks = 0","import { debounce } from './throttle-debounce';\r\nimport scss from 'scss';\r\n\r\nexport default class Accordion {\r\n constructor() {\r\n this.dom = {\r\n $: window.$,\r\n $window: $(window),\r\n $body: $('body')\r\n };\r\n\r\n if (this.dom.$body.find('.accordion-trigger').length) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n this.eventTrigger();\r\n this.eventOnResize();\r\n this.openOnInit();\r\n\r\n //Handle header menu mobile touch effect\r\n if ('ontouchstart' in document.documentElement) {\r\n $('body').on('click', '.dropdown-toggle', function (e) {\r\n if (!$(e.target).parent().hasClass('open')) {\r\n $(e.target).parent().addClass('open');\r\n e.preventDefault;\r\n return false;\r\n }\r\n });\r\n $('body').on('click', function (e) {\r\n if (!($(e.target).is(\"a[href]\") || $(e.target).hasClass('.dropdown') && $(e.target).hasClass('.open'))) {\r\n $('.dropdown.open').removeClass('open');\r\n }\r\n });\r\n }\r\n }\r\n\r\n openOnInit() {\r\n this.dom.$body.find('.accordion-trigger').each((_, target) => {\r\n let $trigger = $(target);\r\n if ($trigger.data('open') !== undefined && $trigger.data('close') !== undefined && $trigger.find('p,span').length > 0) {\r\n $trigger.find('p,span').text($trigger.hasClass('accordion-open') ? $trigger.data('close') : $trigger.data('open'));\r\n }\r\n });\r\n }\r\n\r\n toggleAccordion($accordions, displayType) {\r\n if (!$accordions.length) {\r\n return;\r\n }\r\n\r\n $accordions.each((_, target) => {\r\n if ($(target).is(':visible')) {\r\n if (displayType == 'flex') {\r\n $(target).children().slideUp('slow', function () {\r\n $(target).hide();\r\n });\r\n ;\r\n } else {\r\n $(target).slideUp('slow');\r\n }\r\n } else {\r\n if (displayType == 'flex') {\r\n $(target).css('display','flex');\r\n $(target).children().slideDown('slow');\r\n } else {\r\n $(target).slideDown('slow');\r\n }\r\n }\r\n });\r\n }\r\n\r\n onResizeCallback() {\r\n let $footerAccordion = $('.footer-nav-header');\r\n\r\n $footerAccordion\r\n .toggleClass('accordion-disabled', $footerAccordion.length && this.dom.$window.width() >= parseInt(scss['$md']));\r\n }\r\n\r\n eventTrigger() {\r\n this.dom.$body.off('click', '.accordion-trigger').on('click', '.accordion-trigger', (e) => {\r\n let $trigger = $(e.currentTarget);\r\n let $target;\r\n let displayType;\r\n\r\n if (!$trigger.is('input')) {\r\n e.preventDefault();\r\n }\r\n\r\n if ($trigger.hasClass('accordion-disabled')) {\r\n return;\r\n }\r\n\r\n $('.content-popup.visible').remove();\r\n\r\n if ($trigger.attr('data-target') !== undefined) {\r\n $target = this.dom.$body.find($trigger.attr('data-target'));\r\n } else {\r\n $target = $trigger.parent().find('.accordion-content');\r\n }\r\n\r\n $trigger.toggleClass('accordion-open');\r\n\r\n //Change \"open\"/\"close\" text accordingly\r\n if ($trigger.attr('data-open') !== undefined && $trigger.attr('data-close') !== undefined && $trigger.find('p,span').length > 0) {\r\n $trigger.find('p,span').text($trigger.hasClass('accordion-open') ? $trigger.attr('data-close') : $trigger.attr('data-open'));\r\n }\r\n\r\n if ($trigger.attr('data-display') !== undefined && $trigger.attr('data-display') != \"\") {\r\n displayType = $trigger.attr('data-display');\r\n } else {\r\n displayType = \"block\";\r\n }\r\n this.toggleAccordion($target, displayType);\r\n });\r\n }\r\n\r\n eventOnResize() {\r\n this.onResizeCallback();\r\n this.dom.$window.on('resize', debounce(200, this.onResizeCallback.bind(this)));\r\n }\r\n}\r\n","import Accordion from './lib/accordion';\r\n\r\n\r\ndocument.addEventListener('DOMContentLoaded', () => new Accordion());"],"sourceRoot":""}