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AAYrJ,SAASsK,eAAe/C,GACnD,CACF,ICXIgD,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBhF,IAAjBiF,EACH,OAAOA,EAAapC,QAGrB,IAAID,EAASkC,EAAyBE,GAAY,CAGjDnC,QAAS,CAAC,GAOX,OAHAqC,EAAoBF,GAAUpC,EAAQA,EAAOC,QAASkC,GAG/CnC,EAAOC,OACf,CCrBAkC,EAAoBI,EAAI,SAASvC,GAChC,IAAIwC,EAASxC,GAAUA,EAAOyC,WAC7B,WAAa,OAAOzC,EAAgB,OAAG,EACvC,WAAa,OAAOA,CAAQ,EAE7B,OADAmC,EAAoBO,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CACR,ECNAL,EAAoBO,EAAI,SAASzC,EAAS2C,GACzC,IAAI,IAAIzL,KAAOyL,EACXT,EAAoBU,EAAED,EAAYzL,KAASgL,EAAoBU,EAAE5C,EAAS9I,IAC5EsB,OAAOqK,eAAe7C,EAAS9I,EAAK,CAAE4L,YAAY,EAAMpK,IAAKiK,EAAWzL,IAG3E,ECPAgL,EAAoBU,EAAI,SAAS5D,EAAK+D,GAAQ,OAAOvK,OAAOwK,UAAUC,eAAeC,KAAKlE,EAAK+D,EAAO,ECAtGb,EAAoBiB,QAAKhG,4DCOnBH,EAAS,IAAID,EAAAA,EAAO,CACtBqG,OAAAA,EAAAA,EACAC,KAAAA,EAAAA,IAIJC,OAAO5L,UAAU6L,OAAM,kBAAMvG,EAAOwG,YAAY","sources":["webpack://rs_theme/./node_modules/js-cookie/dist/js.cookie.mjs","webpack://rs_theme/./src/js/global/_accessibility.js","webpack://rs_theme/./src/js/global/_navigation.js","webpack://rs_theme/./src/sass/main.scss","webpack://rs_theme/./src/js/routes/common.js","webpack://rs_theme/./src/js/routes/home.js","webpack://rs_theme/./src/js/util/Router.js","webpack://rs_theme/./src/js/util/_camelCase.js","webpack://rs_theme/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://rs_theme/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://rs_theme/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://rs_theme/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://rs_theme/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://rs_theme/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://rs_theme/webpack/bootstrap","webpack://rs_theme/webpack/runtime/compat get default export","webpack://rs_theme/webpack/runtime/define property getters","webpack://rs_theme/webpack/runtime/hasOwnProperty shorthand","webpack://rs_theme/webpack/runtime/nonce","webpack://rs_theme/./src/js/main.js"],"sourcesContent":["/*! js-cookie v3.0.5 | MIT */\n/* eslint-disable no-var */\nfunction assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n}\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\nvar defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n};\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\n\nfunction init (converter, defaultAttributes) {\n function set (name, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n name = encodeURIComponent(name)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n name + '=' + converter.write(value, name) + stringifiedAttributes)\n }\n\n function get (name) {\n if (typeof document === 'undefined' || (arguments.length && !name)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var found = decodeURIComponent(parts[0]);\n jar[found] = converter.read(value, found);\n\n if (name === found) {\n break\n }\n } catch (e) {}\n }\n\n return name ? jar[name] : jar\n }\n\n return Object.create(\n {\n set,\n get,\n remove: function (name, attributes) {\n set(\n name,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n}\n\nvar api = init(defaultConverter, { path: '/' });\n/* eslint-enable no-var */\n\nexport { api as default };\n","/* Global Accessibility functionality.\n *\n * Tabbing and skiplinks\n *\n * @file combined\n *\n */\n\nconst Accessibility = {\n handleFirstTab: (e) => {\n if (e.keyCode === 9) {\n // the \"I am a keyboard user\" key\n document.body.classList.add(\"user-is-tabbing\");\n window.removeEventListener(\"keydown\", Accessibility.handleFirstTab);\n }\n },\n\n init: () => {\n const isIe = /(trident|msie)/i.test(navigator.userAgent);\n\n if (isIe && document.getElementById && window.addEventListener) {\n window.addEventListener(\"hashchange\", () => {\n let id = location.hash.substring(1);\n let element;\n\n if (!/^[A-z0-9_-]+$/.test(id)) {\n return;\n }\n\n element = document.getElementById(id);\n\n if (element) {\n if (!/^(?:a|select|input|button|textarea)$/i.test(element.tagName)) {\n element.tabIndex = -1;\n }\n\n element.focus();\n }\n }, false);\n }\n\n window.addEventListener(\"keydown\", Accessibility.handleFirstTab);\n }\n}\n\nexport default Accessibility;\n\n","/* Global & Mobile Navigation Handling\n *\n * @file combined\n *\n */\nconst Navigation = {\n mobile: () => {\n const body = document.body;\n const menuToggle = document.getElementById('menu-toggle');\n const menuItems = document.querySelectorAll('.menu-mobile .nav__menu .menu-item-has-children > a');\n\n // Menu Toggle.\n menuToggle.addEventListener('click', () => {\n body.classList.contains('menu-mobile-active') ? body.classList.remove('menu-mobile-active') : body.classList.add('menu-mobile-active');\n });\n\n // Mobile Sub Menu.\n menuItems.forEach(menuItem => {\n menuItem.addEventListener('click', event => {\n event.currentTarget.classList.toggle('expanded');\n event.preventDefault();\n });\n });\n },\n allNavs: () => {\n // Store header for later\n const header = document.querySelector('.rs-header');\n\n // Add a class to menu items with submenus using column groups on desktop.\n const columnGroupMenuItems = document.querySelectorAll('.nav__menu > .menu-item-has-children');\n columnGroupMenuItems.forEach(item => {\n if (item.querySelector('.rs-menu-heading')) {\n item.classList.add('rs-menu-item-has-columns');\n }\n });\n\n\n // Do not follow hash links or those opening a submenu.\n const deadLinks = document.querySelectorAll('.nav li:not(.rs-modal-link) > a[href=\"#\"], .nav .menu-item-has-children > a');\n Array.from(deadLinks).forEach(link => {\n link.addEventListener('click', e => e.preventDefault());\n });\n\n // Flag navbar with class when page scrolled.\n if (window.requestAnimationFrame) {\n let curScrollY;\n let lastScrollY = window.scrollY;\n\n const onScroll = () => {\n // Style navbar when scrolled a minimum distance.\n if (curScrollY >= 60 && !header.classList.contains('rs-header--is-sticky')) {\n header.classList.add('rs-header--is-sticky');\n } else if (curScrollY < 60 && header.classList.contains('rs-header--is-sticky')) {\n header.classList.remove('rs-header--is-sticky');\n }\n };\n\n // Fire \"onScroll\" only when window is scrolled vertically.\n const rafLoop = () => {\n curScrollY = window.scrollY;\n\n if (lastScrollY === curScrollY) {\n window.requestAnimationFrame(rafLoop);\n return;\n }\n\n // Fire onScroll function if window scrolls vertically.\n onScroll();\n\n lastScrollY = curScrollY;\n window.requestAnimationFrame(rafLoop);\n };\n\n // Initialize state based on browser initial scroll position.\n onScroll();\n // Start loop.\n rafLoop();\n }\n },\n init: () => {\n Navigation.allNavs();\n Navigation.mobile();\n }\n};\n\nexport default Navigation;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../node_modules/postcss-loader/dist/cjs.js!../../node_modules/resolve-url-loader/index.js!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[5]!./main.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../node_modules/postcss-loader/dist/cjs.js!../../node_modules/resolve-url-loader/index.js!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[5]!./main.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/**\n * Basic route file, duplicate and rename depending if additional routes are required.\n * Note that the body class should match the file name.\n */\n\n/* Import External Modules */\nimport Cookies from 'js-cookie';\n\n/* Import Internal Modules */\nimport Accessibility from '../global/_accessibility';\nimport Navigation from '../global/_navigation';\n\n/* Import Utils */\nimport { scrollListener, resizeListener } from '../util/_utilities';\n\n/* Import Styles */\nimport styles from '../..//sass/main.scss';\n\nexport default {\n init () {\n // JavaScript to be fired on all pages\n Cookies;\n Navigation.init();\n Accessibility.init();\n },\n finalize () {\n // JavaScript to be fired on all pages, after page specific JS is fired\n }\n};\n","/**\n * Homepage specific routing.\n */\n\n/* Import External Modules */\n\n/* Import Internal Modules */\n\n/* Import Utils */\n\nexport default {\n init() {\n // JavaScript to be fired on all pages\n },\n finalize() {\n // JavaScript to be fired on all pages, after page specific JS is fired\n },\n};","import camelCase from './_camelCase';\n\n/**\n * DOM-based Routing\n *\n * Based on {@link http://goo.gl/EUTi53|Markup-based Unobtrusive Comprehensive DOM-ready Execution} by Paul Irish\n *\n * The routing fires all common scripts, followed by the page specific scripts.\n * Add additional events for more control over timing e.g. a finalize event\n */\nclass Router {\n\n /**\n * Create a new Router\n * @param {Object} routes\n */\n constructor(routes) {\n this.routes = routes;\n }\n\n /**\n * Fire Router events\n * @param {string} route DOM-based route derived from body classes (``)\n * @param {string} [event] Events on the route. By default, `init` and `finalize` events are called.\n * @param {string} [arg] Any custom argument to be passed to the event.\n */\n fire(route, event = 'init', arg) {\n document.dispatchEvent(new CustomEvent('routed', {\n bubbles: true,\n detail: {\n route,\n fn: event,\n },\n }));\n\n const fire = route !== '' && this.routes[route] && typeof this.routes[route][event] === 'function';\n if (fire) {\n this.routes[route][event](arg);\n }\n }\n\n /**\n * Automatically load and fire Router events\n *\n * Events are fired in the following order:\n * * common init\n * * page-specific init\n * * page-specific finalize\n * * common finalize\n */\n loadEvents() {\n // Fire common init JS\n this.fire('common');\n\n // Fire page-specific init JS, and then finalize JS\n document.body.className\n .toLowerCase()\n .replace(/-/g, '_')\n .split(/\\s+/)\n .map(camelCase)\n .forEach((className) => {\n this.fire(className);\n this.fire(className, 'finalize');\n });\n\n // Fire common finalize JS\n this.fire('common', 'finalize');\n }\n}\n\nexport default Router;","/**\n * the most terrible camelizer on the internet, guaranteed!\n * @param {string} str String that isn't camel-case, e.g., CAMeL_CaSEiS-harD\n * @return {string} String converted to camel-case, e.g., camelCaseIsHard\n */\nexport default str => `${str.charAt(0).toLowerCase()}${str.replace(/[\\W_]/g, '|').split('|')\n .map(part => `${part.charAt(0).toUpperCase()}${part.slice(1)}`)\n .join('')\n .slice(1)}`;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nc = undefined;","import Router from './util/Router';\n\n// Routes, hyphens should be switched to camelCase\nimport common from './routes/common';\nimport home from './routes/home';\n\n/** Populate Router instance with DOM routes */\nconst routes = new Router({\n common,\n home,\n});\n\n// Load Events\njQuery(document).ready(() => routes.loadEvents());"],"names":["target","i","arguments","length","source","key","init","converter","defaultAttributes","set","name","value","attributes","document","expires","Date","now","toUTCString","encodeURIComponent","replace","decodeURIComponent","escape","stringifiedAttributes","attributeName","split","cookie","write","Object","create","get","cookies","jar","parts","slice","join","found","read","e","remove","withAttributes","this","withConverter","freeze","path","Accessibility","handleFirstTab","keyCode","body","classList","add","window","removeEventListener","test","navigator","userAgent","getElementById","addEventListener","element","id","location","hash","substring","tagName","tabIndex","focus","Navigation","mobile","menuToggle","menuItems","querySelectorAll","contains","forEach","menuItem","event","currentTarget","toggle","preventDefault","allNavs","header","querySelector","item","deadLinks","Array","from","link","requestAnimationFrame","curScrollY","lastScrollY","scrollY","onScroll","rafLoop","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","finalize","Router","routes","_classCallCheck","route","undefined","arg","dispatchEvent","CustomEvent","bubbles","detail","fn","_this","fire","className","toLowerCase","map","camelCase","str","concat","charAt","part","toUpperCase","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","list","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","splice","push","api","update","newObj","module","exports","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","style","styleTarget","HTMLIFrameElement","contentDocument","head","getTarget","Error","appendChild","createElement","styleElement","nonce","setAttribute","needLayer","btoa","unescape","JSON","stringify","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","prop","prototype","hasOwnProperty","call","nc","common","home","jQuery","ready","loadEvents"],"sourceRoot":""}