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B;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA,6CAA6C;AAC7C,OAAO;AACP;AACA,6BAA6B;AAC7B;AACA,KAAK;AACL;AACA,oBAAoB,yCAAyC;AAC7D,mBAAmB;AACnB;AACA;AACA;;AAEA,mCAAmC,WAAW;AAC9C;;AAE0B","sources":["webpack://WebpackConfig.Web/./app/src/js/cursor-sparkles.js","webpack://WebpackConfig.Web/./app/src/js/global.js","webpack://WebpackConfig.Web/./node_modules/js-cookie/dist/js.cookie.mjs"],"sourcesContent":["import { ResizeObserver as Polyfill } from '@juggle/resize-observer';\r\nconst ResizeObserver = window.ResizeObserver || Polyfill;\r\nimport { siteSettings } from './global';\r\nimport Cookies from 'js-cookie';\r\n\r\nconst targetRedrawInterval = 1000/60; // 60 fps\r\nconst sparkleImages_Default = [require('../img/sparkles/sparkle-1.png'),require('../img/sparkles/sparkle-2.png'),require('../img/sparkles/sparkle-3.png'),require('../img/sparkles/sparkle-4.png'),require('../img/sparkles/sparkle-5.png'),require('../img/sparkles/sparkle-6.png')];\r\nconst sparkleImages_Cold = [require('../img/sparkles/sparkle-1-cold.png'),require('../img/sparkles/sparkle-2-cold.png'),require('../img/sparkles/sparkle-3-cold.png'),require('../img/sparkles/sparkle-4-cold.png'),require('../img/sparkles/sparkle-5-cold.png'),require('../img/sparkles/sparkle-6-cold.png')];\r\nconst sparkleImages_Sparkler = [require('../img/sparkles/sparkler-1.png'),require('../img/sparkles/sparkler-2.png'),require('../img/sparkles/sparkler-3.png')];\r\nconst sparkleImages = [];\r\n\r\nclass CursorSparkles {\r\n\r\n\tconstructor() {\r\n // add canvas to page\r\n this.canvas = document.createElement('canvas');\r\n\t\tthis.canvas.classList.add('sparkles-canvas');\r\n\t\tthis.canvas.setAttribute('aria-hidden','true');\r\n\t\tdocument.body.appendChild(this.canvas);\r\n this.pixelDensity = 1;\r\n let dpr = window.devicePixelRatio;\r\n if(dpr > 0) {\r\n this.pixelDensity = dpr > 2 ? 2 : dpr;\r\n } else {\r\n this.pixelDensity = 1;\r\n }\r\n this.ctx = this.canvas.getContext('2d');\r\n\t\tthis.ctx.imageSmoothingEnabled = false;\r\n this.canvas.width = this.canvas.offsetWidth * this.pixelDensity;\r\n this.canvas.height = this.canvas.offsetHeight * this.pixelDensity;\r\n\t\t// set up\r\n\t\tthis.lastX = -1;\r\n\t\tthis.lastY = -1;\r\n\t\tthis.resetTimeout = null;\r\n\t\tthis.createTimeout = null;\r\n\t\tthis.prevTime = 0;\r\n\t\tthis.particles = [];\r\n\t\tthis.particlesIndex = 0;\r\n\t\tthis.totalParticles = 0;\r\n\t\tthis.updateRequested = false;\r\n // watch for canvas resize\r\n this.ro = new ResizeObserver(entries => {\r\n for (let entry of entries) {\r\n const cr = entry.contentRect;\r\n let w = Math.ceil(cr.width),\r\n h = Math.ceil(cr.height);\r\n this.canvas.width = w * this.pixelDensity;\r\n this.canvas.height = h * this.pixelDensity;\r\n }\r\n });\r\n this.ro.observe(this.canvas);\r\n // find all '.cursor-sparkles' elements\r\n\t\tthis.zones = [];\r\n document.querySelectorAll('.cursor-sparkles').forEach((el,i) => {\r\n\t\t\tthis.zones[i] = el;\r\n\t\t\tthis.initZone(i);\r\n });\r\n\t}\r\n\r\n\tinitZone(zoneIndex) {\r\n\t\tthis.zones[zoneIndex].particleImages = [];\r\n\t\t// default zone settings\r\n\t\tthis.zones[zoneIndex].mode = 'default';\r\n\t\tthis.zones[zoneIndex].enableRotation = true;\r\n\t\tthis.zones[zoneIndex].timeoutDelayMax = 50;\r\n\t\tthis.zones[zoneIndex].particleCreationInstances = 1; // how many particles arecreated per 'create' event\r\n\t\tthis.zones[zoneIndex].particleSize = 100;\r\n\t\tthis.zones[zoneIndex].particleXSpeedMax = 2;\r\n\t\tthis.zones[zoneIndex].particleYSpeedMax = 2;\r\n\t\tthis.zones[zoneIndex].particleXYDecay = .8; // .1 = subtle, 1 = no decay\r\n\t\tthis.zones[zoneIndex].fallSpeed = () => {return (Math.random() * 2) + 2};\r\n\t\tthis.zones[zoneIndex].lifeIncrement = () => {return (Math.random() * .02) + .02};\r\n\t\tthis.zones[zoneIndex].imgsToLoad = sparkleImages_Default;\r\n\t\t// get mode overrides for this zone\r\n\t\tif(this.zones[zoneIndex].classList.contains('cursor-sparkles--cold')) {\r\n\t\t\t// cold\r\n\t\t\tthis.zones[zoneIndex].mode = 'cold';\r\n\t\t\tthis.zones[zoneIndex].imgsToLoad = sparkleImages_Cold;\r\n\t\t} else if(this.zones[zoneIndex].classList.contains('cursor-sparkles--multi')) {\r\n\t\t\t// multi\r\n\t\t\tthis.zones[zoneIndex].mode = 'multi';\r\n\t\t\tthis.zones[zoneIndex].imgsToLoad = sparkleImages_Default.concat(sparkleImages_Cold);\r\n\t\t} else if(this.zones[zoneIndex].classList.contains('cursor-sparkles--gold-dust')) {\r\n\t\t\t// gold-dust\r\n\t\t\tthis.zones[zoneIndex].mode = 'gold-dust';\r\n\t\t\tthis.zones[zoneIndex].enableRotation = false;\r\n\t\t\tthis.zones[zoneIndex].particleSize = 20;\r\n\t\t\tthis.zones[zoneIndex].particleXSpeedMax = 8;\r\n\t\t\tthis.zones[zoneIndex].particleYSpeedMax = 4;\r\n\t\t\tthis.zones[zoneIndex].particleCreationInstances = 12;\r\n\t\t\tthis.zones[zoneIndex].fallSpeed = () => {return (Math.random() * 3) + 2};\r\n\t\t\tthis.zones[zoneIndex].lifeIncrement = () => {return (Math.random() * .02) + .02};\r\n\t\t} else if(this.zones[zoneIndex].classList.contains('cursor-sparkles--sparkler')) {\r\n\t\t\t// sparkler\r\n\t\t\tthis.zones[zoneIndex].mode = 'sparkler';\r\n\t\t\tthis.zones[zoneIndex].enableRotation = false;\r\n\t\t\tthis.zones[zoneIndex].imgsToLoad = sparkleImages_Sparkler;\r\n\t\t\tthis.zones[zoneIndex].particleSize = 35;\r\n\t\t\tthis.zones[zoneIndex].particleXSpeedMax = 4;\r\n\t\t\tthis.zones[zoneIndex].particleYSpeedMax = 4;\r\n\t\t\tthis.zones[zoneIndex].particleXYDecay = .95; // .1 = subtle, 1 = no decay\r\n\t\t\tthis.zones[zoneIndex].particleCreationInstances = 15;\r\n\t\t\tthis.zones[zoneIndex].fallSpeed = () => {return (Math.random() * .1) + .1};\r\n\t\t\tthis.zones[zoneIndex].lifeIncrement = () => {return (Math.random() * .03) + .04};\r\n\t\t}\r\n\t\t// load images then continue setup\r\n\t\tthis.zones[zoneIndex].imgLoadCount = 0;\r\n\t\tthis.zones[zoneIndex].imgsToLoad.forEach((i,x) => {\r\n\t\t\tthis.zones[zoneIndex].particleImages[x] = new Image();\r\n\t\t\tthis.zones[zoneIndex].particleImages[x].src = i;\r\n\t\t\tif (this.zones[zoneIndex].particleImages[x].complete) {\r\n\t\t\t\tthis.zoneImgLoad(zoneIndex);\r\n\t\t\t} else {\r\n\t\t\t\tthis.zones[zoneIndex].particleImages[x].onload = () => {\r\n\t\t\t\t\tthis.zoneImgLoad(zoneIndex);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tzoneImgLoad(zoneIndex) {\r\n\t\tthis.zones[zoneIndex].imgLoadCount += 1;\r\n\t\tif(this.zones[zoneIndex].imgLoadCount == this.zones[zoneIndex].imgsToLoad.length) this.watchZone(zoneIndex);\r\n\t}\r\n\r\n\twatchZone(zoneIndex) {\r\n\t\tthis.zones[zoneIndex].addEventListener('mousemove', (e) => {\r\n\t\t\tthis.mouseMove(e, zoneIndex);\r\n\t\t});\r\n\t}\r\n\t\r\n\treset() {\r\n\t\tthis.lastX = -1;\r\n\t\tthis.lastY = -1;\r\n\t\tthis.resetTimeout = null;\r\n\t\tthis.prevTime = 0;\r\n\t}\r\n\t\r\n\tmouseMove(e, zoneIndex) {\r\n\t\tlet mouseX = e.clientX,\r\n\t\t\tmouseY = e.clientY;\r\n\t\tif(!this.createTimeout) {\r\n\t\t\tlet timeoutDelay = 40;\r\n\t\t\tif(this.lastX > -1) {\r\n\t\t\t\tlet diffX = mouseX - this.lastX,\r\n\t\t\t\t\tdiffY = mouseY - this.lastY\r\n\t\t\t\tlet xDist = Math.abs(diffX),\r\n\t\t\t\t\tyDist = Math.abs(diffY);\r\n\t\t\t\tlet travel = Math.sqrt((xDist * xDist) + (yDist + yDist));\r\n\t\t\t\tif(travel > 4) {\r\n\t\t\t\t\tlet steps = Math.max(1, Math.floor(travel / 20));\r\n\t\t\t\t\tlet xStep = diffX / steps,\r\n\t\t\t\t\t\tyStep = diffY / steps;\r\n\t\t\t\t\tfor(let x = 0; x < steps; x++) {\r\n\t\t\t\t\t\tthis.create(mouseX - (xStep * x), mouseY - (yStep * x), zoneIndex);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\ttimeoutDelay = Math.max(5, this.zones[zoneIndex].timeoutDelayMax - travel);\r\n\t\t\t} else {\r\n\t\t\t\tthis.create(mouseX, mouseY, zoneIndex);\r\n\t\t\t}\r\n\t\t\tthis.lastX = mouseX;\r\n\t\t\tthis.lastY = mouseY;\r\n\t\t\tthis.createTimeout = setTimeout(() => {\r\n\t\t\t\tclearTimeout(this.createTimeout);\r\n\t\t\t\tthis.createTimeout = null;\r\n\t\t\t}, timeoutDelay);\r\n\t\t}\r\n\t\tclearTimeout(this.resetTimeout);\r\n\t\tthis.resetTimeout = setTimeout(() => {\r\n\t\t\tthis.reset();\r\n\t\t}, 500);\r\n\t}\r\n\r\n\tcreate(x,y,zoneIndex) {\r\n\t\tfor(let q = 0; q < this.zones[zoneIndex].particleCreationInstances; q++) {\r\n\t\t\tthis.particles[this.particlesIndex] = {\r\n\t\t\t\tsize: this.zones[zoneIndex].particleSize,\r\n\t\t\t\tx: x,\r\n\t\t\t\ty: y,\r\n\t\t\t\txSpeed: (Math.random() * this.zones[zoneIndex].particleXSpeedMax * 2) - this.zones[zoneIndex].particleXSpeedMax,\r\n\t\t\t\tySpeed: (Math.random() * this.zones[zoneIndex].particleYSpeedMax * 2) - this.zones[zoneIndex].particleYSpeedMax,\r\n\t\t\t\txyDecay: this.zones[zoneIndex].particleXYDecay, // .1 = subtle, 1 = no decay\r\n\t\t\t\tfallSpeed: this.zones[zoneIndex].fallSpeed(),\r\n\t\t\t\tenableRotation: this.zones[zoneIndex].enableRotation,\r\n\t\t\t\trotation: Math.random() * 360,\r\n\t\t\t\trotationIncrement: (Math.random() * 8) - 4,\r\n\t\t\t\tscale: (Math.random() * .6) + .4,\r\n\t\t\t\tlife: 0,\r\n\t\t\t\tlifeIncrement: this.zones[zoneIndex].lifeIncrement(),\r\n\t\t\t\timg: this.zones[zoneIndex].particleImages[Math.floor(Math.random() * this.zones[zoneIndex].particleImages.length)]\r\n\t\t\t}\r\n\t\t\t// increment\r\n\t\t\tthis.particlesIndex += 1;\r\n\t\t\tif(this.particlesIndex == 2000) this.particlesIndex = 0; // max 2000 particles\r\n\t\t}\r\n\t\t// update\r\n\t\tif(!this.updateRequested) {\r\n\t\t\tthis.updateRequested = true;\r\n\t\t\twindow.requestAnimationFrame(() => {\r\n\t\t\t\tthis.update();\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n update() {\r\n\t\tlet n = Date.now();\r\n\t\tlet elapsed = this.prevTime == 0 ? 0 : Math.min(100, n - this.prevTime);\r\n\t\tthis.prevTime = n;\r\n let factor = elapsed > 0 ? elapsed / targetRedrawInterval : 1;\r\n\t\t// clear canvas\r\n\t\tthis.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);\r\n\t\t// this.ctx.globalCompositeOperation = \"color-dodge\"; // affects performance too much in some browsers\r\n\t\t// loop through particles\r\n\t\tlet pCount = 0;\r\n\t\tfor(let i = 0, l = this.particles.length; i < l; i++) {\r\n\t\t\tif(this.particles[i] != null) {\r\n\t\t\t\tlet p = this.particles[i];\r\n\t\t\t\tp.life += (p.lifeIncrement * factor);\r\n\t\t\t\tlet s = p.scale - (p.scale * p.life);\r\n\t\t\t\tif(p.life < 1 && s > 0) {\r\n\t\t\t\t\tpCount += 1;\r\n\t\t\t\t\tlet w = p.size * s,\r\n\t\t\t\t\t\th = p.size * s;\r\n\t\t\t\t\tlet x = p.x - (w / 2),\r\n\t\t\t\t\t\ty = p.y - (h / 2);\r\n\t\t\t\t\t// draw\r\n\t\t\t\t\tif(p.enableRotation) {\r\n\t\t\t\t\t\tthis.ctx.save();\r\n\t\t\t\t\t\tthis.ctx.translate((x + (w / 2)) * this.pixelDensity, (y + (w / 2)) * this.pixelDensity);\r\n\t\t\t\t\t\tif(p.enableRotation) this.ctx.rotate(p.rotation * Math.PI/180);\r\n\t\t\t\t\t\tthis.ctx.drawImage(p.img, (0 - (w / 2)) * this.pixelDensity, (0 - (h / 2)) * this.pixelDensity, w * this.pixelDensity, h * this.pixelDensity);\r\n\t\t\t\t\t\tthis.ctx.restore();\r\n\t\t\t\t\t\tp.rotation += (p.rotationIncrement * factor);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.ctx.drawImage(p.img, x * this.pixelDensity, y * this.pixelDensity, w * this.pixelDensity, h * this.pixelDensity);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// increment\r\n\t\t\t\t\tp.y += (p.fallSpeed * factor);\r\n\t\t\t\t\tp.xSpeed = (p.xSpeed * p.xyDecay);\r\n\t\t\t\t\tp.ySpeed = (p.ySpeed * p.xyDecay);\r\n\t\t\t\t\tp.x += p.xSpeed;\r\n\t\t\t\t\tp.y += p.ySpeed;\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// remove\r\n\t\t\t\t\tthis.particles[i] = null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalParticles = pCount;\r\n\t\tthis.updateRequested = false;\r\n\t\t// call next update?\r\n\t\tif(this.totalParticles > 0) {\r\n\t\t\tif(!this.updateRequested) {\r\n\t\t\t\tthis.updateRequested = true;\r\n\t\t\t\twindow.requestAnimationFrame(() => {\r\n\t\t\t\t\tthis.update();\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.particles = [];\r\n\t\t\tthis.particlesIndex = 0;\r\n\t\t}\r\n }\r\n\r\n}\r\n\r\n// only start code if reduced-motion setting allows\r\nif(!siteSettings.reducedMotionPref) {\r\n\r\n let cookieName = 'site-settings--fx-disable--cursor-sparkles',\r\n setActive = true,\r\n\t\tsparklesActive = false,\r\n\t\tcs = null;\r\n\r\n\t// create sparkles toggling function\r\n\tconst toggleSparkles = (mode) => {\r\n\t\tif(mode && !sparklesActive) {\r\n\t\t\t// start\r\n\t\t\tsparklesActive = true;\r\n\t\t\tcs = new CursorSparkles();\r\n\t\t\t// remove cookie\r\n\t\t\tCookies.remove(cookieName);\r\n\t\t} else if(!mode && sparklesActive) {\r\n\t\t\t// stop\r\n\t\t\tsparklesActive = false;\r\n\t\t\tlet s = document.querySelector('.sparkles-canvas');\r\n\t\t\tdocument.body.removeChild(s);\r\n\t\t\tcs = null;\r\n\t\t\t// set cookie\r\n\t\t\tCookies.set(cookieName, 'value', { expires: 7 }); // store choice for a week\r\n\t\t}\r\n\t}\r\n\r\n // check for cookie setting\r\n if(Cookies.get(cookieName)) {\r\n setActive = false;\r\n }\r\n\r\n // add to siteSettings FX array\r\n siteSettings.fxAdd('Cursor sparkles', setActive, toggleSparkles); // label, active, callback function\r\n\r\n}","// ***********************************\r\n// ***** global site variables *****\r\n// ***********************************\r\n\r\nconst detectReducedMotionPref = window.matchMedia('(prefers-reduced-motion: reduce)');\r\nlet settingsLinksAdded = false,\r\n settingsModalContent = null;\r\n\r\n// site settings\r\n\r\nconst addSettingsLinks = () => {\r\n // utility bar link?\r\n let utilityBar = document.body.querySelector('#top-utility-bar');\r\n if(utilityBar != null) {\r\n let utilityBarIcons = document.body.querySelector('#top-utility-bar--icon-links ul');\r\n if(utilityBarIcons != null) {\r\n let content = document.createElement('li');\r\n content.classList.add('list-inline-item');\r\n content.innerHTML = '';\r\n utilityBarIcons.appendChild(content);\r\n } else {\r\n let utilityBarContent = document.body.querySelector('#top-utility-bar--content');\r\n let content = document.createElement('div');\r\n content.setAttribute('id','top-utility-bar--icon-links');\r\n content.innerHTML = '
Manage the visual effects on this site:
';\r\n siteSettings.fx.forEach(i => {\r\n settingsModalContent.appendChild(i.controller);\r\n });\r\n }\r\n}\r\n\r\nexport const siteSettings = {\r\n reducedMotionPref: detectReducedMotionPref.matches,\r\n desktopSideHeaderLayout: document.querySelector('body.site-layout.side-header-layout') != null,\r\n fx: [],\r\n fxAdd: (fxType, fxEnable, fxCallback = null) => {\r\n let exists = false;\r\n siteSettings.fx.forEach(i => {\r\n if(i.type == fxType) exists = true;\r\n });\r\n if(!exists) {\r\n siteSettings.fx.push({\r\n type: fxType,\r\n enabled: fxEnable,\r\n callback: fxCallback,\r\n controller: document.createElement('div')\r\n });\r\n let thisIndex = siteSettings.fx.length - 1,\r\n thisFX = siteSettings.fx[thisIndex];\r\n thisFX.controller.setAttribute('class','form-check form-switch');\r\n let checkbox = document.createElement('input');\r\n checkbox.setAttribute('id',`site-settings--fx--${thisIndex}`);\r\n checkbox.setAttribute('class','form-check-input');\r\n checkbox.setAttribute('type','checkbox');\r\n checkbox.setAttribute('role','switch');\r\n if(fxEnable) checkbox.setAttribute('checked',true);\r\n checkbox.addEventListener('click',() => {\r\n siteSettings.fxToggle(thisFX.type,checkbox.checked);\r\n });\r\n thisFX.controller.appendChild(checkbox);\r\n let label = document.createElement('label');\r\n label.setAttribute('for',`site-settings--fx--${thisIndex}`);\r\n label.setAttribute('class','form-check-label');\r\n label.innerHTML = thisFX.type;\r\n thisFX.controller.appendChild(label);\r\n }\r\n if(fxCallback) fxCallback(fxEnable);\r\n // add settings links if not already added\r\n if(!settingsLinksAdded) addSettingsLinks();\r\n // refresh modal content\r\n refreshModalContent();\r\n },\r\n fxToggle: (fxType, mode) => {\r\n siteSettings.fx.forEach(i => {\r\n if(i.type == fxType) {\r\n i.enabled = mode;\r\n if(i.callback) i.callback(mode);\r\n }\r\n });\r\n }\r\n};\r\n\r\n// nav/search states\r\n\r\nexport const mainNavigation = {\r\n active: false,\r\n setActive: (mode) => {\r\n mainNavigation.active = mode;\r\n }\r\n};\r\n\r\nexport const megaMenuNavigation = {\r\n mobileActive: false,\r\n setMobileActive: (mode) => {\r\n megaMenuNavigation.mobileActive = mode;\r\n },\r\n desktopActive: false,\r\n setDesktopActive: (mode) => {\r\n megaMenuNavigation.desktopActive = mode;\r\n }\r\n};\r\n\r\nexport const headerSearch = {\r\n active: false,\r\n setActive: (mode) => {\r\n headerSearch.active = mode;\r\n }\r\n};","/*! 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"],"names":["ResizeObserver","Polyfill","window","siteSettings","Cookies","targetRedrawInterval","sparkleImages_Default","require","sparkleImages_Cold","sparkleImages_Sparkler","sparkleImages","CursorSparkles","_this","_classCallCheck","canvas","document","createElement","classList","add","setAttribute","body","appendChild","pixelDensity","dpr","devicePixelRatio","ctx","getContext","imageSmoothingEnabled","width","offsetWidth","height","offsetHeight","lastX","lastY","resetTimeout","createTimeout","prevTime","particles","particlesIndex","totalParticles","updateRequested","ro","entries","_iterator","_createForOfIteratorHelper","_step","s","n","done","entry","value","cr","contentRect","w","Math","ceil","h","err","e","f","observe","zones","querySelectorAll","forEach","el","i","initZone","_createClass","key","zoneIndex","_this2","particleImages","mode","enableRotation","timeoutDelayMax","particleCreationInstances","particleSize","particleXSpeedMax","particleYSpeedMax","particleXYDecay","fallSpeed","random","lifeIncrement","imgsToLoad","contains","concat","imgLoadCount","x","Image","src","complete","zoneImgLoad","onload","length","watchZone","_this3","addEventListener","mouseMove","reset","_this4","mouseX","clientX","mouseY","clientY","timeoutDelay","diffX","diffY","xDist","abs","yDist","travel","sqrt","steps","max","floor","xStep","yStep","create","setTimeout","clearTimeout","y","_this5","q","size","xSpeed","ySpeed","xyDecay","rotation","rotationIncrement","scale","life","img","requestAnimationFrame","update","_this6","Date","now","elapsed","min","factor","clearRect","pCount","l","p","save","translate","rotate","PI","drawImage","restore","reducedMotionPref","cookieName","setActive","sparklesActive","cs","toggleSparkles","remove","querySelector","removeChild","set","expires","get","fxAdd","detectReducedMotionPref","matchMedia","settingsLinksAdded","settingsModalContent","addSettingsLinks","utilityBar","utilityBarIcons","content","innerHTML","utilityBarContent","headerContent","midSectionLinks","newLink","refreshModalContent","settingsModal","fx","controller","matches","desktopSideHeaderLayout","fxType","fxEnable","fxCallback","arguments","undefined","exists","type","push","enabled","callback","thisIndex","thisFX","checkbox","fxToggle","checked","label","mainNavigation","active","megaMenuNavigation","mobileActive","setMobileActive","desktopActive","setDesktopActive","headerSearch"],"sourceRoot":""}