{"version":3,"sources":["webpack://frontendplaceholder/./Src/Scripts/components/scroll-sticker.js","webpack://frontendplaceholder/./Src/Scripts/controllers/front-page.js","webpack://frontendplaceholder/./node_modules/lodash/_Symbol.js","webpack://frontendplaceholder/./node_modules/lodash/_baseGetTag.js","webpack://frontendplaceholder/./node_modules/lodash/_baseTrim.js","webpack://frontendplaceholder/./node_modules/lodash/_freeGlobal.js","webpack://frontendplaceholder/./node_modules/lodash/_getRawTag.js","webpack://frontendplaceholder/./node_modules/lodash/_objectToString.js","webpack://frontendplaceholder/./node_modules/lodash/_root.js","webpack://frontendplaceholder/./node_modules/lodash/_trimmedEndIndex.js","webpack://frontendplaceholder/./node_modules/lodash/debounce.js","webpack://frontendplaceholder/./node_modules/lodash/isObject.js","webpack://frontendplaceholder/./node_modules/lodash/isObjectLike.js","webpack://frontendplaceholder/./node_modules/lodash/isSymbol.js","webpack://frontendplaceholder/./node_modules/lodash/now.js","webpack://frontendplaceholder/./node_modules/lodash/throttle.js","webpack://frontendplaceholder/./node_modules/lodash/toNumber.js"],"names":["constructor","elem","args","hasOwnProperty","t","target","String","document","querySelector","targetBottom","stickyElem","stickyParent","closest","firstHeading","startOffsetHeight","groupSection","style","setProperty","getBoundingClientRect","height","snapToTargetBottom","fixToScreenTop","fixToScreenTopOffset","breakpoint","usePositionFixed","throttleDelay","saveRootHeight","relateStickyWidthToRoot","initialPosition","initialHeight","initialTargetBottom","maxTranslation","width","left","stickyStartScrollPos","isSticky","applyStickyLogic","sidebar","cta","stickyEndScrollPos","eventHandlerAdded","removeSticky","classList","remove","transform","position","top","getStickerData","container","stickerData","href","innerHTML","toLowerCase","hasSameStickerData","elem1","elem2","currentIndex","end","prevStickerData","currentStickerData","allSections","children","i","forEach","x","add","contains","initMergingContainers","initializeVariables","stickyElemBR","window","innerWidth","scrollY","targtBR","bottom","clientWidth","scrollDown","lastScrollY","determineStickyness","eventCardHeight","eventPageSideBar","translate","topOffset","eventCard","watchScrollSidebar","checkCardSpawnedInterval","clearInterval","eventHeight","ctaHeight","eventCovering","toggle","throttledOnScroll","leading","initialize","changeContentBasedOnSection","setInterval","addEventListener","removeEventListener","querySelectorAll","length","firstSection","settings","JSON","parse","dataset","stickySidebarContent","stickyButton","backgroundColor","color","btnText","isEnsemble","size","initFirstSectionContent","requestAnimationFrame","throttledOnResize","sidebarTextElem","longestWord","split","reduce","longest","current","subtractedRem","fontSize","lastSidebar","timeout","lastBtnText","isDefaultToolbar","sidebarElem","animSpeed","getComputedStyle","getPropertyValue","replace","sidebarText","found","sidebarContent","rectSection","fadeOutClass","fadeInClass","q","attribute","parent","toolbar","image","link","name","src","ensembleImageUrl","ensembleLink","ensembleText","loadEnsembleToolbar","loadToolbar","clearTimeout","setTimeout","this","_unload","unload","elm","stickySidebarElm","getAttribute","ScrollSticker","Symbol","module","exports","getRawTag","objectToString","symToStringTag","toStringTag","undefined","value","Object","trimmedEndIndex","reTrimStart","string","slice","freeGlobal","g","objectProto","prototype","nativeObjectToString","toString","isOwn","call","tag","unmasked","e","result","freeSelf","self","root","Function","reWhitespace","index","test","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","maxing","trailing","TypeError","invokeFunc","time","thisArg","apply","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","arguments","cancel","flush","type","baseGetTag","isObjectLike","Date","debounce","baseTrim","isSymbol","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary"],"mappings":"kNAAA,I,EAAA,G,EAAA,U,qCA0Be,MACXA,YAAYC,EAAMC,GAId,GAHY,MAARA,IACAA,EAAO,KAENA,EAAKC,eAAe,UACrB,OAEJ,IAAIC,EAAIF,EAAKG,OAIb,IAHiB,iBAAND,GAAkBA,aAAaE,UACtCF,EAAIG,SAASC,cAAcJ,KAE1BA,EACD,OAEJ,MAAMC,EAASD,EACf,IAAIK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AahE,IArBF,mBAqBY+D,EAAW/D,K,eCzBvC,IAAIoB,EAAO,EAAQ,MAsBnB3B,EAAOC,QAJG,WACR,OAAO0B,EAAK6C,KAAKtC,Q,eCnBnB,IAAIuC,EAAW,EAAQ,MACnBxC,EAAW,EAAQ,MAmEvBjC,EAAOC,QAlBP,SAAkBwC,EAAMC,EAAMC,GAC5B,IAAIhH,GAAU,EACVwH,GAAW,EAEf,GAAmB,mBAARV,EACT,MAAM,IAAIW,UAnDQ,uBAyDpB,OAJInB,EAASU,KACXhH,EAAU,YAAagH,IAAYA,EAAQhH,QAAUA,EACrDwH,EAAW,aAAcR,IAAYA,EAAQQ,SAAWA,GAEnDsB,EAAShC,EAAMC,EAAM,CAC1B,QAAW/G,EACX,QAAW+G,EACX,SAAYS,M,eChEhB,IAAIuB,EAAW,EAAQ,MACnBzC,EAAW,EAAQ,MACnB0C,EAAW,EAAQ,MAMnBC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SA8CnBhF,EAAOC,QArBP,SAAkBM,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAAIoE,EAASpE,GACX,OA1CM,IA4CR,GAAI0B,EAAS1B,GAAQ,CACnB,IAAI0E,EAAgC,mBAAjB1E,EAAM2E,QAAwB3E,EAAM2E,UAAY3E,EACnEA,EAAQ0B,EAASgD,GAAUA,EAAQ,GAAMA,EAE3C,GAAoB,iBAAT1E,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQmE,EAASnE,GACjB,IAAI4E,EAAWN,EAAW9C,KAAKxB,GAC/B,OAAQ4E,GAAYL,EAAU/C,KAAKxB,GAC/BwE,EAAaxE,EAAMK,MAAM,GAAIuE,EAAW,EAAI,GAC3CP,EAAW7C,KAAKxB,GAvDb,KAuD6BA","file":"8396.9fa7e847558a516bad6e.js","sourcesContent":["import throttle from 'lodash/throttle';\n\n/**\n * OBS:\n * This component consists of two elements. The root element, and a child element with the data-scroll-sticker-elem attribute.\n * When stickyness is applied, the data-scroll-sticker-elem is position fixed, and therefore pulled out of the layout flow\n * of the root element.\n * It is required that the root elements width will change be affected by this, since this is measured\n * and used to set the width of the data-scroll-sticker-elem.\n * The height of the root element will be locked to the height it has before the data-scroll-sticker-elem is\n * set to sticky.\n *\n * The sticky elem expects the target position to be below the initial position.\n *\n * ARGS:\n * - target (required) : [DOM element or selector] - Is the target DOM element the scroll sticker should stick to.\n * - snapToTargetBottom : [Boolean] - If true, it will scroll the bottom of the scroll sticker to the bottom of the target. Defaults to true.\n * - fixToScreenTop: [Boolean] - If true the scroll sticker will stick when the top of the screen hits the top of the scroll sticker. If false, the stickyness will trigger as soon as the screen scrolls. Defaults to true.\n * - fixToScreenTopOffset: [Number] - Offsets when the top of the screen will trigger the stick.\n * - breakpoint: [Number] - If added, the stick will only apply from screensizes equal or above the breakpoint.\n * - usePositionFixed: [Boolean] - If true, the sticky elem will be position fixed when sticky. If false, it will be position absolute, and requires a position relative on the root element. Defaults to true.\n * - throttleDelay: [number] - the throttle delay for the on scroll event handler. Defaults to 10.\n * - saveRootHeight: [Boolean] - If true, then the root element will have its height set, whenever stickyness starts. This is to prevent content below from jumping. default to true.\n * - relateStickyWidthToRoot: [Boolean] - If true, then the width of the sticky elem will be set as the width of the root element. This can be usefull when the root elem has fluid width and you want sticky elem to have correct width if window is resized. Defaults to true.\n */\n\nexport default class ScrollSticker {\n constructor(elem, args) {\n if (args == null) {\n args = {};\n }\n if (!args.hasOwnProperty('target')) {\n return;\n }\n let t = args.target;\n if (typeof t === 'string' || t instanceof String) {\n t = document.querySelector(t);\n }\n if (!t) {\n return;\n }\n const target = t;\n let targetBottom = t;\n\n const stickyElem = elem.querySelector('[data-scroll-sticker-elem]');\n const stickyParent = stickyElem.closest('.event-page__sticky-sidebar');\n if (!stickyElem) {\n return;\n }\n\n //Set heading height, to offset sticker\n var firstHeading = target.querySelector('.grouped-section:first-child .grouped-section__headline');\n var startOffsetHeight = 0;\n var groupSection = elem.closest('.grouped-section');\n if (groupSection) {\n elem.style.setProperty('--intro-height', '0px');\n } else {\n if (firstHeading) {\n startOffsetHeight = firstHeading.getBoundingClientRect().height;\n }\n elem.style.setProperty('--intro-height', (startOffsetHeight + 55) + 'px');\n }\n\n // Options set from arguments\n const snapToTargetBottom = args.hasOwnProperty('snapToTargetBottom') ? args.snapToTargetBottom : true;\n const fixToScreenTop = args.hasOwnProperty('fixToScreenTop') ? args.fixToScreenTop : true;\n const fixToScreenTopOffset = args.hasOwnProperty('fixToScreenTopOffset') ? args.fixToScreenTopOffset : 0;\n const breakpoint = args.hasOwnProperty('breakpoint') ? args.breakpoint : 0;\n const usePositionFixed = args.hasOwnProperty('usePositionFixed') ? args.usePositionFixed : true;\n const throttleDelay = args.hasOwnProperty('throttleDelay') ? args.throttleDelay : 10;\n const saveRootHeight = args.hasOwnProperty('saveRootHeight') ? args.saveRootHeight : true;\n const relateStickyWidthToRoot = args.hasOwnProperty('relateStickyWidthToRoot') ? args.relateStickyWidthToRoot : true;\n let sidebar = elem.closest('.event-page__sidebar')\n let cta = sidebar?.querySelector('.event-page__cta')\n\n // Inferred variables\n let initialPosition; let initialHeight; let initialTargetBottom; let maxTranslation; let width; let left; let stickyStartScrollPos; let stickyEndScrollPos = 0;\n let isSticky; let applyStickyLogic; let eventHandlerAdded = false;\n\n const removeSticky = function () {\n stickyElem.classList.remove('cta-sidebar--sticky');\n stickyElem.style.transform = null;\n stickyElem.style.position = null;\n stickyElem.style.width = null;\n stickyElem.style.left = null;\n stickyElem.style.top = null;\n elem.style.height = null;\n };\n\n\n function getStickerData(container) {\n var stickerData = container.querySelector('[data-scroll-sticker-elem]');\n if (!stickerData) {\n return null;\n }\n var stickerDataHref = stickerData.href;\n var stickerDataLabel = stickerData.querySelector('.cta-sidebar__btn').innerHTML;\n return (stickerDataHref + stickerDataLabel).toLowerCase();\n }\n\n function hasSameStickerData(elem1, elem2) {\n return elem1 && elem2 && elem1 == elem2;\n }\n\n function initMergingContainers() {\n let currentStickerData = getStickerData(groupSection);\n let allSections = [...elem.closest('.umb-block-list').children];\n let i = 0;\n let currentIndex;\n let end;\n let prevStickerData;\n allSections.forEach(x => {\n if (end) {\n return;\n }\n\n //if it's the current section, \n if (x == groupSection) {\n currentIndex = i;\n //evaluate if it should be disabled\n if (hasSameStickerData(prevStickerData, currentStickerData)) {\n stickyElem.classList.add('cta-sidebar--disabled')\n }\n }\n\n //if not a section container, skip\n if (!x.classList.contains('grouped-section')) {\n if (currentIndex || currentIndex === 0) {\n end = true;\n }\n\n prevStickerData = null;\n return;\n }\n\n prevStickerData = getStickerData(x);\n\n if (currentIndex < i) {\n //evaluate if there are sections after this one with the same sticker data and set the bottom of the target to the bottom of the last section with the same sticker data\n if (hasSameStickerData(prevStickerData, currentStickerData)) {\n targetBottom = x.querySelector('.grouped-section__content-container > .container');\n } else {\n end = true;\n }\n }\n i++;\n })\n }\n\n if (groupSection && !elem.closest('.event-page')) {\n initMergingContainers();\n }\n\n const initializeVariables = function () {\n removeSticky();\n isSticky = false;\n // recalculate the initialPosition and targetTop.\n // This is done in the resize event handler to\n // have as little computation as possible in the on scroll handler.\n const stickyElemBR = stickyElem.getBoundingClientRect();\n\n initialHeight = stickyElemBR.height;\n applyStickyLogic = window.innerWidth >= breakpoint;\n initialPosition = window.scrollY + stickyElemBR.top;\n\n // if fixToScreenTop is false, stickyStartScrollPos will be 0 which makes to the sticky elem stick immediately on page scroll.\n if (fixToScreenTop) {\n stickyStartScrollPos = initialPosition + fixToScreenTopOffset;\n }\n\n const targtBR = targetBottom.getBoundingClientRect();\n initialTargetBottom = targtBR.bottom;\n stickyEndScrollPos = window.scrollY + targtBR.top + fixToScreenTopOffset;\n if (snapToTargetBottom) {\n stickyEndScrollPos += targtBR.height - stickyElemBR.height - startOffsetHeight;\n }\n\n maxTranslation = stickyEndScrollPos - stickyStartScrollPos;\n if (!usePositionFixed) {\n maxTranslation += (stickyElem.getBoundingClientRect().top - elem.getBoundingClientRect().top);\n }\n\n width = elem.clientWidth;\n left = stickyElemBR.left;\n };\n\n let scrollDown = true;\n let lastScrollY = 0;\n const determineStickyness = function () {\n scrollDown = lastScrollY < window.scrollY;\n lastScrollY = window.scrollY;\n // check if the size of the element has changed. If so, reinitialize variables\n if ((stickyElem.getBoundingClientRect().height !== initialHeight) || (targetBottom.getBoundingClientRect().bottom !== initialTargetBottom)) {\n initializeVariables();\n }\n\n\n\n if (!applyStickyLogic) {\n removeSticky();\n return;\n }\n let eventCardHeight;\n if (args.eventPageSideBar) {\n eventCardHeight = stickyElem.getBoundingClientRect().height;\n if (eventCardHeight > 300) {\n stickyParent.style.setProperty('--event-card-height', eventCardHeight + 'px');\n }\n }\n\n const translate = window.scrollY - stickyStartScrollPos;\n const topOffset = stickyElem.getBoundingClientRect().top - elem.getBoundingClientRect().top;\n const eventCard = elem.querySelector('.event-card');\n\n if (args.watchScrollSidebar && cta && eventCard && sidebar) {\n if (window.checkCardSpawnedInterval) {\n window.clearInterval(window.checkCardSpawnedInterval);\n window.checkCardSpawnedInterval = null;\n }\n\n const eventHeight = eventCard.getBoundingClientRect().height;\n const ctaHeight = cta.getBoundingClientRect().height;\n const eventCovering = topOffset + translate + eventHeight + 75 - eventCardHeight;\n sidebar.classList.toggle('event-page__sidebar--hide-cta', eventCovering > ctaHeight && window.scrollY > 10);\n }\n\n if (window.scrollY > stickyEndScrollPos) {\n // sticky destination reached - remove sticky and apply static transform.\n removeSticky();\n stickyElem.classList.add('cta-sidebar--sticky');\n isSticky = false;\n elem.style.height = stickyElem.getBoundingClientRect().height;\n stickyElem.style.transform = 'translateY(' + maxTranslation + 'px)';\n } else if (window.scrollY > stickyStartScrollPos) {\n if (!isSticky) {\n isSticky = true;\n\n if (saveRootHeight) {\n elem.style.height = stickyElem.getBoundingClientRect().height + 'px';\n }\n if (relateStickyWidthToRoot) {\n stickyElem.style.width = width + 'px';\n }\n\n if (usePositionFixed) {\n stickyElem.style.transform = null;\n stickyElem.classList.add('cta-sidebar--sticky');\n stickyElem.style.position = 'fixed';\n stickyElem.style.left = left + 'px';\n stickyElem.style.top = (fixToScreenTopOffset * -1) + 'px';\n } else {\n stickyElem.style.transform = null;\n stickyElem.style.position = 'absolute';\n stickyElem.style.left = '0px';\n stickyElem.style.top = topOffset + 'px';\n stickyElem.style.transform = 'translateY(' + (translate) + 'px)';\n }\n } else {\n // If not using fixed position update transform continuously\n\n if (!usePositionFixed) {\n stickyElem.style.transform = 'translateY(' + (translate) + 'px)';\n }\n }\n } else {\n // Sticky start point not yet reached\n isSticky = false;\n removeSticky();\n }\n\n };\n const throttledOnScroll = throttle(determineStickyness, throttleDelay, { leading: false });\n\n const initialize = function () {\n initializeVariables();\n changeContentBasedOnSection();\n if (applyStickyLogic) {\n determineStickyness();\n if (args.watchScrollSidebar) {\n window.checkCardSpawnedInterval = setInterval(determineStickyness, 100)\n }\n\n if (!eventHandlerAdded) {\n eventHandlerAdded = true;\n window.addEventListener('scroll', throttledOnScroll);\n }\n } else {\n window.removeEventListener('scroll', throttledOnScroll);\n eventHandlerAdded = false;\n removeSticky();\n }\n if (target.querySelectorAll('.grouped-section') !== null && target.querySelectorAll('.grouped-section').length > 1) {\n window.addEventListener('scroll', changeContentBasedOnSection);\n initFirstSectionContent();\n }\n\n requestAnimationFrame(() => {\n stickyElem.classList.remove('hidden');\n })\n };\n const throttledOnResize = throttle(initialize, 100, { leading: false });\n\n function initFirstSectionContent() {\n const firstSection = target.querySelector('.grouped-section');\n const settings = JSON.parse(firstSection.dataset.stickySidebarContent);\n const stickyButton = stickyElem.querySelector('[data-sidebar-btn-text]');\n stickyElem.style.backgroundColor = settings.color;\n stickyElem.href = settings.href;\n stickyButton.innerHTML = settings.btnText;\n if (settings.isEnsemble) {\n stickyElem.classList.add('cta-sidebar--logoed');\n } else {\n stickyElem.classList.remove('cta-sidebar--logoed');\n }\n\n if (settings.size === 'Tall') {\n stickyElem.classList.add('cta-sidebar--tall');\n } else {\n stickyElem.classList.remove('cta-sidebar--tall');\n }\n };\n\n function loadEnsembleToolbar(settings) {\n function q(attribute, parent = document) {\n return parent.querySelector(`[${attribute}]`)\n }\n\n var toolbar = document.querySelector('.top-navigation__toolbar__home');\n var image = q('data-image', toolbar)\n var link = q('data-link', toolbar)\n var name = q('data-name', toolbar)\n\n image.src = settings.ensembleImageUrl;\n link.href = settings.ensembleLink;\n name.innerHTML = settings.ensembleText;\n toolbar.style = `--home-link-bg: ${settings.color}; --home-link-color: #fff`;\n }\n\n var sidebarTextElem = elem.querySelector('[data-sidebar-text]');\n if (sidebarTextElem) {\n var sidebarText = sidebarTextElem.innerHTML;\n const longestWord = sidebarText.split(\" \").reduce((longest, current) => current.length > longest.length ? current : longest).length;\n var subtractedRem = longestWord > 10 ? (longestWord - 10) * 0.13 : 0;\n sidebarTextElem.style.fontSize = `${1.875 - subtractedRem}rem`\n }\n\n let lastSidebar;\n let timeout;\n let lastBtnText = '';\n var isDefaultToolbar = false;\n var sidebarElem = elem.querySelector('.cta-sidebar');\n let animSpeed = sidebarElem ? getComputedStyle(sidebarElem).getPropertyValue('--anim-speed').replace('ms', '') : '';\n const changeContentBasedOnSection = function () {\n const stickyButton = stickyElem.querySelector('[data-sidebar-btn-text]');\n const sidebarText = stickyElem.querySelector('[data-sidebar-text]');\n var found = false;\n var sidebarContent = target.querySelectorAll('[data-sticky-sidebar-content]');\n if (!lastSidebar && sidebarContent && sidebarContent[0]) {\n lastSidebar = sidebarContent[0];\n }\n\n sidebarContent.forEach(i => {\n const rectSection = i.getBoundingClientRect();\n if (rectSection.top <= 300 && rectSection.bottom >= 300) {\n found = true;\n }\n if (rectSection.top <= 300 && rectSection.bottom >= 300 && lastSidebar != i) {\n lastSidebar = i;\n const settings = JSON.parse(i.dataset.stickySidebarContent);\n\n var fadeOutClass = scrollDown ? 'cta-sidebar--up' : 'cta-sidebar--down';\n var fadeInClass = scrollDown ? 'cta-sidebar--down' : 'cta-sidebar--up';\n\n if (lastBtnText == settings.btnText) {\n stickyElem.classList.add('cta-sidebar--same-btn-text');\n } else {\n stickyElem.classList.remove('cta-sidebar--same-btn-text');\n }\n\n stickyElem.classList.remove('cta-sidebar--no-animate')\n stickyElem.classList.add(fadeOutClass)\n\n if (settings.isEnsemble) {\n loadEnsembleToolbar(settings);\n isDefaultToolbar = false;\n } else if (!applyStickyLogic) {\n window.loadToolbar();\n isDefaultToolbar = true;\n lastSidebar = null;\n }\n\n stickyElem.style.backgroundColor = settings.color;\n clearTimeout(timeout)\n timeout = setTimeout(() => {\n stickyElem.href = settings.href;\n\n lastBtnText = settings.btnText;\n\n stickyButton.innerHTML = settings.btnText;\n\n if (settings.sidebarText) {\n const longestWord = settings.sidebarText.split(\" \").reduce((longest, current) => current.length > longest.length ? current : longest).length;\n var subtractedRem = longestWord > 10 ? (longestWord - 10) * 0.13 : 0;\n sidebarText.style.fontSize = `${1.875 - subtractedRem}rem`\n\n sidebarText.innerHTML = settings.sidebarText;\n } else {\n sidebarText.innerHTML = '';\n }\n\n if (settings.isEnsemble) {\n stickyElem.classList.add('cta-sidebar--logoed');\n } else {\n stickyElem.classList.remove('cta-sidebar--logoed');\n }\n\n if (settings.size === 'Tall') {\n stickyElem.classList.add('cta-sidebar--tall');\n } else {\n stickyElem.classList.remove('cta-sidebar--tall');\n }\n\n stickyElem.classList.add('cta-sidebar--no-animate')\n\n requestAnimationFrame(() => {\n stickyElem.classList.add(fadeInClass)\n stickyElem.classList.remove(fadeOutClass)\n\n requestAnimationFrame(() => {\n stickyElem.classList.remove('cta-sidebar--no-animate')\n\n requestAnimationFrame(() => {\n stickyElem.classList.remove(fadeInClass)\n stickyElem.classList.remove(fadeOutClass)\n });\n });\n });\n }, animSpeed)\n\n } else {\n i.classList.remove('active');\n }\n });\n\n if (!found && !isDefaultToolbar && !applyStickyLogic) {\n window.loadToolbar();\n isDefaultToolbar = true;\n lastSidebar = null;\n }\n };\n\n\n initialize();\n window.addEventListener('resize', throttledOnResize);\n\n this._unload = function () {\n window.removeEventListener('resize', throttledOnResize);\n\n if (eventHandlerAdded) {\n window.removeEventListener('scroll', throttledOnScroll);\n }\n };\n }\n\n unload() {\n this._unload();\n }\n}\n","import ScrollSticker from '../components/scroll-sticker';\n\nexport default class FrontPage {\n constructor(elm) {\n const stickySidebarElm = elm.querySelector('[data-front-page__scroll-sticker]');\n const args = JSON.parse(stickySidebarElm.getAttribute('data-component-args'));\n new ScrollSticker(stickySidebarElm, args);\n }\n}\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"sourceRoot":""}