{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/config.js","webpack:///./src/js/core/Drupal.js","webpack:///./src/js/components/Flickity.js","webpack:///./src/js/components/PlayPause.js","webpack:///./src/js/components/Breakpoints.js","webpack:///./src/js/components/ProgressLoop.js","webpack:///./src/js/components/Slider.js","webpack:///./src/js/core/Gallery.js","webpack:///./src/js/core/Anchors.js","webpack:///./src/js/core/ModaalTransformer.js","webpack:///./src/js/core/Lightbox2Modaal.js","webpack:///./src/js/core/DDTemplates.js","webpack:///./src/js/core/CalendarFeed.js","webpack:///./src/js/core/FixNavigation.js","webpack:///./src/js/components/Navigation.js","webpack:///./src/js/core/TermNavigation.js","webpack:///./src/js/utils/Change.js","webpack:///./src/js/utils/Sticky.js","webpack:///./src/js/core/AccordionWrap.js","webpack:///./src/js/core/AccordionFix.js","webpack:///./src/js/core/AccordionContainer.js","webpack:///./src/js/core/BackgroundImage.js","webpack:///./src/js/header/Search.js","webpack:///./src/js/header/Toolbar.js","webpack:///./src/js/components/Headroom.js","webpack:///./src/js/core/RelocateHeaderlinks.js","webpack:///./src/js/footer/SocialLinks.js","webpack:///./src/js/components/Parallax.js","webpack:///./src/js/home/Hero.js","webpack:///./src/js/core/StringSplit.js","webpack:///./src/js/home/Quicklinks.js","webpack:///./src/js/core/FixDate.js","webpack:///./src/js/home/WhatsNew.js","webpack:///./src/js/home/PodBgImage.js","webpack:///./src/js/home/Pods.js","webpack:///./src/js/home/Testimonials.js","webpack:///./src/js/components/Placeholder.js","webpack:///./src/js/home/Connect.js","webpack:///./src/js/utils/Viewport.js","webpack:///./src/js/components/JumpMenu.js","webpack:///./src/js/session/Session.js","webpack:///./src/js/core/Redirect.js","webpack:///./src/js/session/SessionColumns.js","webpack:///./src/js/session/SessionMedia.js","webpack:///./src/js/session/SessionPods.js","webpack:///./src/js/session/SessionWhatsHappening.js","webpack:///./src/js/session/SessionInfoForm.js","webpack:///./src/js/session/SessionTestimonials.js","webpack:///./src/js/core/CtaPopup.js","webpack:///./src/js/theme.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","0","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","layout","max_width","gutters","base","mobile","tablet","desktop","desktop_xl","desktop_xxl","breakpoints","heights","minimized","offsets","sidebar","padding","headerOffsets","units","offset","gutter","breakpoint","header_height","paths","theme","img","favicon","unitize","suffix","obj","output","entries","forEach","prop","propName","replace","Number","isFinite","isNumber","variables","rekey","domain","behaviors","documentIsReady","Drupal","behavior","fn","$","Callbacks","document","ready","fire","DrupalAMD","context","add","this","FlickityCore","setJQuery","Flickity","playPlayer","super","dispatchEvent","pausePlayer","stopPlayer","destroy","defaults","playPause","wrapperTag","attachTo","shape","PlayPause","constructor","element","slider","options","settings","merge","playPauseButton","addButton","listen","button","createElement","className","innerHTML","addEventListener","playPauseHandler","wrapper","appendChild","destination","classList","contains","setPlayingState","setAttribute","setPausedState","remove","on","off","removeEventListener","parentNode","querySelector","min","max","Infinity","Breakpoints","current","progressLoop","ProgressProgressLoop","addProgressLoop","time","autoPlay","speed","progress","style","animationDuration","start","stop","change","player","state","restart","offsetWidth","pauseAutoPlayOnHover","responsive","Slider","shouldBuildSlider","addResponsiveSupport","update","build","PlayPauseControls","ProgressLoop","restore","Promise","resolve","then","disabled","group","undefined","groupCells","slides","keys","bp","bpSettings","baseSettings","children","fade","wrapAround","arrowShape","Gallery","Anchors","id","querySelectorAll","anchor","clickHandler","location","hash","substr","goToCurrentAnchor","event","preventDefault","currentTarget","href","indexOf","getElementById","scrollToDestination","scrollTo","elementToScroll","verticalOffset","currentOffset","maxDuration","minDuration","scrollX","scrollY","focus","timer","Timer","setTimeout","clear","currentBreakpoint","offsetSettings","config","ModaalTransformer","old","type","isVideo","removeAttribute","new","cloneNode","replaceChild","isGallery","caption","getAttribute","modaal","start_open","animation","outer_controls","Lightbox2Modaal","parent","selector","child","ConvertToModaal","node","photoGalleryPID","a11y","tables","newTab","anchors","sitemap","nodeMeta","messages","galleries","itemAppearsIn","expandingDates","slideshowIcons","lexiconGlossary","overtakeLightbox","subtermOverviews","fullNodeRelatedLinks","bundledReferringContent","DDTemplates","isNodeView","isNode","defineApplicableBehaviors","body","is","view","term","global","addEnabledBehavior","$appearingNav","find","addClass","each","$block","attr","wrap","prepend","click","animate","opacity","height","pattern","match","target","a","$node","$items","removeClass","$visible","map","item","getComputedStyle","getPropertyValue","filter","b","meta","dates","container","text","icon","insertAdjacentElement","expanded","date","join","image","$img","before","$map","$nav","digitaldcoreCreateSiteMap","letter","html","toUpperCase","Modaal","closest","notValid","storageKey","paginationLabel","filtersLabel","filterByPostTypes","useFilters","filters","defaultFilters","All","CalendarFeed","$element","getFilters","buildCalendar","createFilters","$posts","$group","currentYear","currentMonth","post","$post","oDates","datetime","dateObj","dayjs","month","format","mon","day","dow","year","toLowerCase","append","$year","$tile","markup","isSameMonth","end","isSameDay","isSameYear","appendTo","filterHandler","next","toggleClass","$filters","types","ids","getDefaultData","getCustomizedData","currentFilter","sessionStorage","getItem","decodeURIComponent","$filter","$show","inArray","not","setItem","$shown","nextUntil","$ctrl","trigger","_types","_ids","classes","regex","test","exec","indexes","aTypes","aResults","parseInt","index","sort","FixNavigation","process","$parent","$children","menuBlock","menuParent","activeClass","activeTrailClass","expandActiveMenus","closeUnnestedMenus","focusout","hover","delay","in","out","Navigation","menu","preprocess","menuParents","components","submenu","link","firstElementChild","innerText","insertBefore","nextSibling","lastElementChild","TickTock","Tabbable","tabbable","collapse","expand","userInteractionHandler","mobileState","openSubmenus","openSubmenu","expandElement","expandSubmenu","collapseElement","collapseSubmenu","states","active","open","clearAll","keyDownEventDispatcher","mouseDownEventDispatcher","focusOutEventDispatcher","mouseOverHandler","mouseOutHandler","Keyboard","getCode","Enter","Escape","relatedTarget","TermNavigation","standardize","addLogic","level","parentElement","list","buttonLink","ticking","callbacks","request","requestAnimationFrame","onChange","callback","Sticky","register","Change","innerHeight","offsetHeight","AccordionWrap","init","getClasses","status","getStatus","addBack","wrapAll","$classes","hasClass","elemClasses","split","val","substring","$status","AccordionFix","assign","setVert","stopPropagation","isVisible","topOffset","top","documentElement","scrollTop","e","elementTop","elementBottom","outerHeight","viewportTop","viewportBottom","elem","sourceSelector","destSelector","isPseudo","BackgroundImage","addBackgroundImage","getSource","src","css","input","Search","customComponents","focusIn","typeOutPlaceholderText","focusOut","setInterval","searchText","resetSearchInput","menuClass","buttons","menuClose","flyout","search","header","Toolbar","addSearchLogic","FocusTrap","addFocusTrapLogic","searchComponent","headerComponent","initialFocus","flyoutComponent","deactivate","activate","keyDownHandler","menuButton","menuCloseButton","tolerance","initial","pinned","unpinned","notTop","bottom","notBottom","onPin","onUnpin","onTop","onNotTop","onBottom","onNotBottom","Headroom","headroom","rebuild","HeadroomCore","HeaderlinksRelocate","$body","getBody","mobileActive","desktopActive","outerWidth","prependTo","Sociallinks","$link","content","aTag","wrapInner","siblings","fadeOut","fadeToggle","zoom","Parallax","bounds","getBoundingClientRect","elementIsOnScreen","pageYOffset","props","y","z","Hero","addParallax","bgImg","parallax","parallaxSelector","nodeHero","bgImage","title","divider","StringSplit","Quicklinks","strSplit","quicklink","postDate","FixDates","fixDate","hasPostDate","hasEventDate","classDateContent","childNodes","nodeValue","extractDate","classEventContent","classTimeStart","first","classTimeEnd","extractStartTime","extractEndTime","show","dateText","newDateArr","newMonth","abbrevMonth","newDay","timeText","newTimeArr","newHour","temp","newMinute","ampm","pageDots","adaptiveHeight","WhatsNew","addPostType","news","FixDate","postType","spanner","dateTime","PodBgImage","Pods","nodePod","Testimonials","trim","Placeholder","label","Connect","placeholder","selectList","textfield","Viewport","_breakpoint","addListeners","setCurrentState","getCurrentState","innerWidth","currentState","previousState","changeCallbacks","mobileCallbacks","desktopCallbacks","requestTick","onMobileChange","onDesktopChange","viewport","links","currentIndex","toggle","focusOutHandler","keydownHandler","desktopStateHandler","mobileStateHandler","move","addJumpLink","close","pressed","keyboard","ArrowDown","ArrowRight","prev","ArrowUp","ArrowLeft","updateSelection","total","Session","addJumpMenu","jumpmenu","JumpMenu","linkLocation","Redirect","url","SessionColumns","redirect","SessionMedia","videoLink","WhatsHappening","SessionInfoForm","getPath","pathname","SessionTestimonials","copyElement","CustomPopup","copyAndDisplay","originalElement","ctaBtn","originalElementParent","ctaPopup","copiedElementContainer","display","homeBehaviors","sessionBehaviors","SessionPods","SessionWhatsHappening","matches","headerlinks","relocate","RelocateHeaderlinks","accordionWrap","accordionContainer","AccordionContainer","SocialLinks","hasImage","CtaPopup"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EA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oBF,IAIjDzlB,SAASqG,iBAAiB,oBAAoBtH,QAASwC,IAChDA,EAAQyU,iBACXzU,EAAQyU,eAAiB,IAAIA,EAAezU,MAKhDvB,SAASqG,iBAAiB,kBAAkBtH,QAASwC,IAC9CA,EAAQmN,eACXnN,EAAQmN,aAAe,IAAIA,EAAanN,MAK5CvB,SAASqG,iBAAiB,sBAAsBtH,QAASwC,IAClDA,EAAQqkB,gBACXrkB,EAAQqkB,cAAgB,IAAI1O,GAAc3V,GAC1CA,EAAQqkB,cAAgB,IAAI5N,GAAazW,MAK7CvB,SAASqG,iBAAiB,iBAAiBtH,QAASwC,IAC7CA,EAAQskB,oBACX/d,WAAW,KACTvG,EAAQskB,mBAAqB,IAAIC,GAAmBvkB,IACnD,OAKPvB,SAASqG,iBAAiB,8BAA8BtH,QAASwC,IAC1DA,EAAQwkB,cACXxkB,EAAQwkB,YAAc,IAAIA,GAAYxkB,MAI1CvB,SAASqG,iBAAiB,wBAAwBtH,QAASwC,IACzD,MAAMykB,EAA8D,OAAnDzkB,EAAQ2B,cAAc,yBACvC3B,EAAQiB,UAAUnC,IAAI,aACjBkB,EAAQwc,OAASiI,IACpBzkB,EAAQwc,MAAQ,IAAI5E,GAAgB5X,EAAS,CAC3CyX,eAAgB,wBAChBC,aAAc,yBAKpBjZ,SAASqG,iBAAiB,cAActH,QAASwC,IAC1CA,EAAQ0jB,WACX1jB,EAAQ0jB,SAAW,IAAIgB,GAAS1kB,EAAS,CACvCojB,YAAa,qB","file":"theme.min.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\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 = \"/dist/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([38,1]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","// -----------------------------------------------------------------------------\n// Domain to use with the import/export script\n// -----------------------------------------------------------------------------\n\nconst domain = 'https://live-csustan.pantheonsite.io';\n\n// -----------------------------------------------------------------------------\n// Max width of layout container.\n// -----------------------------------------------------------------------------\n\nconst layout = {\n max_width: 1580,\n};\n\n// -----------------------------------------------------------------------------\n// Theme Gutters\n// -----------------------------------------------------------------------------\n\nconst gutters = {\n base: 20,\n mobile: 36,\n tablet: 60,\n desktop: 40,\n desktop_xl: 83,\n desktop_xxl: 'auto',\n};\n\n// -----------------------------------------------------------------------------\n// Theme Breakpoints\n// -----------------------------------------------------------------------------\n\nconst breakpoints = {\n base: 0,\n mobile: 375,\n tablet: 768,\n desktop: 1025,\n desktop_xl: 1366,\n desktop_xxl: layout.max_width + gutters.desktop_xl * 2,\n};\n\n// -----------------------------------------------------------------------------\n// Header heights for each breakpoint.\n// -----------------------------------------------------------------------------\n\nconst heights = {\n mobile: 100,\n tablet: 100,\n desktop: 140,\n desktop_xl: 140,\n desktop_xxl: 200,\n minimized: 100,\n};\n\n// -----------------------------------------------------------------------------\n// Centralized offsets used by various components.\n// -----------------------------------------------------------------------------\n\nconst offsets = {\n sidebar: 35,\n padding: 20,\n mobile: heights.mobile,\n tablet: heights.tablet,\n desktop: heights.desktop,\n desktop_xl: heights.desktop_xl,\n desktop_xxl: heights.desktop_xxl,\n};\n\nconst headerOffsets = {\n mobile: heights.mobile,\n tablet: heights.mobile,\n desktop: heights.mobile,\n desktop_xl: heights.mobile,\n desktop_xxl: heights.mobile,\n};\n\n// -----------------------------------------------------------------------------\n// Measurement Units Matrix\n// @warning This feature is experimental and needs a great deal of thought\n// when changing some of the units. This is due to calculations being made that\n// assume a pixel expression.\n// (eg. media queries based on breakpoint and gutter values)\n// -----------------------------------------------------------------------------\n\nconst units = {\n layout: 'px',\n offset: 'px',\n gutter: 'px',\n breakpoint: 'px',\n header_height: 'px',\n};\n\n// -----------------------------------------------------------------------------\n// Theme paths.\n// -----------------------------------------------------------------------------\n\nconst paths = {\n theme: '../../../../src/less',\n img: '/sites/default/themes/dtheme/img',\n favicon: '/sites/default/themes/dtheme/icons',\n};\n\n// -----------------------------------------------------------------------------\n// isNumber utility which checks to see if a value is a number,\n// if it is it appends the appriote unit to the value.\n// -----------------------------------------------------------------------------\n\nconst isNumber = (value) => typeof value === 'number' && Number.isFinite(value);\n\n// -----------------------------------------------------------------------------\n// Unitize JS objects to CSS units for use within a CSS preprocessor.\n// -----------------------------------------------------------------------------\n\nconst unitize = (suffix, obj) => {\n const output = {};\n Object.entries(obj).forEach(([prop, value]) => {\n const propName = `${prop.replace('_', '-')}-${suffix.replace('_', '-')}`;\n output[propName] = isNumber(value) ? `${value}${units[suffix]}` : value;\n });\n return output;\n};\n\n// -----------------------------------------------------------------------------\n// Adds a suffix passed to each object key, then returns the transformed object.\n// -----------------------------------------------------------------------------\n\nconst rekey = (suffix, obj) => {\n const output = {};\n Object.entries(obj).forEach(([prop, value]) => {\n const propName = `${prop.replace('_', '-')}-${suffix.replace('_', '-')}`;\n output[propName] = value;\n });\n return output;\n};\n\n// -----------------------------------------------------------------------------\n// Prep and merge together all variables for the preprocessor.\n// -----------------------------------------------------------------------------\n\nconst variables = {\n ...rekey('path', paths),\n ...unitize('layout', layout),\n ...unitize('offset', offsets),\n ...unitize('headerOffset', headerOffsets),\n ...unitize('gutter', gutters),\n ...unitize('header_height', heights),\n ...unitize('breakpoint', breakpoints),\n};\n\n// -----------------------------------------------------------------------------\n// Exports configuration.\n// -----------------------------------------------------------------------------\n\nmodule.exports = {\n domain,\n paths,\n units,\n layout,\n heights,\n offsets,\n headerOffsets,\n gutters,\n breakpoints,\n variables,\n};\n","/* global Drupal */\nimport $ from 'jquery';\n\nlet behaviors;\nlet documentIsReady = false;\n\n/**\n * Allows a Drupal behavior to be added from an AMD-style module. The behavior\n * will be executed when:\n * - As soon as the DOM is ready, if the DOM is not ready when the behavior is\n * added, just like a regular Drupal behavior.\n * - Immediately upon adding, if the DOM is ready (which may happen since\n * AMD-style modules are loaded asynchronously).\n * - When Drupal.attachBehaviors is executed.\n */\nDrupal.behavior = function addDrupalBehavior(fn) {\n if (!behaviors) {\n behaviors = $.Callbacks();\n documentIsReady = false;\n\n $(document).ready(() => {\n documentIsReady = true;\n behaviors.fire(document);\n\n // Now that we know the document is ready, add ourselves to Drupal's\n // behavior handling.\n window.Drupal.behaviors.DrupalAMD = function DrupalAMD(context) {\n behaviors.fire(context);\n };\n });\n }\n\n // Note: we can't use the 'memory' option of jQuery.Callbacks, because we\n // need control over the argument.\n if (documentIsReady) {\n fn(document);\n }\n\n behaviors.add(fn);\n return this;\n};\n\nexport default Drupal;\n","import $ from 'jquery';\nimport FlickityCore from 'flickity';\n\n// Register our jquery version with Flickity.\nFlickityCore.setJQuery($);\n\nclass Flickity extends FlickityCore {\n playPlayer() {\n super.playPlayer();\n this.dispatchEvent('playing', null);\n }\n\n pausePlayer() {\n super.pausePlayer();\n this.dispatchEvent('paused', null);\n }\n\n stopPlayer() {\n super.stopPlayer();\n this.dispatchEvent('stopped', null);\n }\n\n destroy() {\n this.dispatchEvent('destroy', null);\n super.destroy();\n }\n}\n\nexport default Flickity;\n","import merge from 'deepmerge';\n\nconst defaults = {\n playPause: {\n wrapperTag: 'li',\n attachTo: '.flickity-page-dots',\n shape: 'Play / Pause button',\n },\n};\n\nexport default class PlayPause {\n constructor(element, slider, options = {}) {\n this.element = element;\n this.slider = slider;\n this.settings = merge(defaults, options);\n\n // Normalizes the playPause options.\n if (typeof options.playPause === 'boolean') {\n this.settings = merge(options, defaults);\n }\n\n // Adds play / pause controls\n this.playPauseButton = this.addButton();\n\n // Add Listeners\n this.listen();\n }\n\n addButton() {\n const button = document.createElement('button');\n button.className = 'button--play-pause';\n button.innerHTML = this.settings.playPause.shape;\n button.addEventListener('click', this.playPauseHandler.bind(this));\n if (this.settings.playPause.wrapperTag) {\n const wrapper = document.createElement(this.settings.playPause.wrapperTag);\n wrapper.appendChild(button);\n this.destination.appendChild(wrapper);\n } else {\n this.destination.appendChild(button);\n }\n return button;\n }\n\n playPauseHandler() {\n if (this.element.classList.contains('playing')) {\n this.slider.pausePlayer();\n } else {\n this.slider.playPlayer();\n }\n }\n\n setPlayingState() {\n this.playPauseButton.setAttribute('aria-label', 'Stop the slider\\'s autoscroll');\n this.element.classList.add('playing');\n }\n\n setPausedState() {\n this.playPauseButton.setAttribute('aria-label', 'Start the slider\\'s autoscroll');\n this.element.classList.remove('playing');\n }\n\n listen() {\n this.slider.on('playing', this.setPlayingState.bind(this));\n this.slider.on('stopped', this.setPausedState.bind(this));\n this.slider.on('paused', this.setPausedState.bind(this));\n this.slider.on('destroy', this.destroy.bind(this));\n }\n\n destroy() {\n this.slider.off('playing', this.setPlayingState.bind(this));\n this.slider.off('stopped', this.setPausedState.bind(this));\n this.slider.off('paused', this.setPausedState.bind(this));\n this.slider.off('destroy', this.destroy.bind(this));\n\n if (this.playPauseButton) {\n this.playPauseButton.removeEventListener('click', this.playPauseHandler.bind(this));\n if (this.settings.playPause.wrapperTag) {\n this.playPauseButton.parentNode.remove();\n } else {\n this.playPauseButton.remove();\n }\n }\n }\n\n get destination() {\n return this.element.querySelector(this.settings.playPause.attachTo) || this.element;\n }\n}\n","import Breakpoints from 'breakpoints-js/dist/breakpoints';\nimport { breakpoints } from '../../config';\n\n/**\n * Min/Max values based on breakpoints set above. These min/max values are uses\n */\nconst settings = {\n mobile: {\n min: breakpoints.base,\n max: breakpoints.tablet - 1,\n },\n tablet: {\n min: breakpoints.tablet,\n max: breakpoints.desktop - 1,\n },\n desktop: {\n min: breakpoints.desktop,\n max: breakpoints.desktop_xl - 1,\n },\n desktop_xl: {\n min: breakpoints.desktop_xl,\n max: Infinity,\n },\n};\n\n// Create a mobileState property to help manage viewport based functionality.\nObject.defineProperty(Breakpoints, 'mobileState', {\n get() {\n const current = this.current();\n const desktop = this.get('desktop');\n return current.max < desktop.min && current.max !== desktop.max;\n },\n});\n\n// Create a new instance with our configured breakpoints.\nBreakpoints(settings);\n\nexport default Breakpoints;\n","import merge from 'deepmerge';\n\nconst defaults = {\n progressLoop: {\n attachTo: '.button--play-pause',\n shape: '',\n },\n};\n\nexport default class ProgressProgressLoop {\n constructor(element, slider, options = {}) {\n this.element = element;\n this.slider = slider;\n this.settings = merge(defaults, options);\n\n // Normalizes the progressLoop options.\n if (typeof options.progressLoop === 'boolean') {\n this.settings = merge(options, defaults);\n }\n\n // Add the progress loop\n this.progressLoop = this.addProgressLoop();\n\n // Add Listeners\n this.listen();\n }\n\n addProgressLoop() {\n // Create out svg wrapper\n const progressLoop = document.createElement('div');\n progressLoop.className = 'progress-loop';\n progressLoop.innerHTML = this.settings.progressLoop.shape;\n\n // Add our svg to the passed element\n this.destination.appendChild(progressLoop);\n\n // If speed is not a number, use the flickity default value.\n const time = this.settings.autoPlay;\n const speed = typeof time === 'number' ? time : 3000;\n\n // Set the animation duration / speed.\n this.progress.style.animationDuration = `${speed}ms`;\n\n return progressLoop;\n }\n\n start() {\n this.progressLoop.classList.add('running');\n }\n\n stop() {\n this.progressLoop.classList.remove('running');\n }\n\n change() {\n if (this.slider.player.state === 'playing') {\n this.restart();\n }\n }\n\n restart() {\n this.stop();\n\n // @see https://css-tricks.com/restart-css-animation/#article-header-id-0\n // eslint-disable-next-line no-void\n void this.progressLoop.offsetWidth;\n\n this.start();\n }\n\n listen() {\n // Custom slider events\n this.slider.on('paused', this.stop.bind(this));\n this.slider.on('stopped', this.stop.bind(this));\n this.slider.on('playing', this.start.bind(this));\n this.slider.on('change', this.change.bind(this));\n this.slider.on('destroy', this.destroy.bind(this));\n\n // Mouse movements handlers\n if (this.settings.pauseAutoPlayOnHover !== false) {\n this.element.addEventListener('mouseenter', this.stop.bind(this));\n this.element.addEventListener('mouseleave', this.start.bind(this));\n }\n }\n\n destroy() {\n // Remove Custom slider events\n this.slider.off('paused', this.stop.bind(this));\n this.slider.off('stopped', this.stop.bind(this));\n this.slider.off('playing', this.start.bind(this));\n this.slider.off('change', this.change.bind(this));\n this.slider.off('destroy', this.destroy.bind(this));\n\n // Remove Mouse movements handlers\n if (this.settings.pauseAutoPlayOnHover !== false) {\n this.element.removeEventListener('mouseenter', this.stop.bind(this));\n this.element.removeEventListener('mouseleave', this.start.bind(this));\n }\n\n // Remove markup added.\n this.progressLoop.remove();\n }\n\n get progress() {\n return this.element.querySelector('.progress');\n }\n\n get destination() {\n return this.element.querySelector(this.settings.progressLoop.attachTo) || this.element;\n }\n}\n","import merge from 'deepmerge';\nimport Flickity from './Flickity';\nimport PlayPause from './PlayPause';\nimport Breakpoints from './Breakpoints';\nimport ProgressLoop from './ProgressLoop';\nimport { breakpoints } from '../../config';\n\nconst defaults = {\n playPause: true,\n responsive: false,\n progressLoop: false,\n};\n\nexport default class Slider {\n constructor(element, options = {}) {\n this.element = element;\n this.settings = merge(defaults, options);\n\n // Exit if we don't have more than one slide.\n if (!this.shouldBuildSlider) {\n return;\n }\n\n if (this.settings.responsive) {\n // Add responsive listeners\n this.addResponsiveSupport();\n return;\n }\n\n // If our slider isn't built yet, and isn't disabled,\n // default to building one with the base settings.\n this.update(this.settings);\n }\n\n build(settings) {\n // Construct our new slider instance.\n const slider = new Flickity(this.element, settings);\n\n // Add additional components based if autoplay is enabled.\n if (settings.autoPlay) {\n // Add Play/Pause support (if enabled)\n if (settings.playPause) {\n this.PlayPauseControls = new PlayPause(this.element, slider, settings);\n }\n\n // Add Progress Loop feature (if enabled)\n if (settings.progressLoop) {\n this.ProgressLoop = new ProgressLoop(this.element, slider, settings);\n }\n\n // We need to reannounce, to our added components, that the show's already started.\n slider.dispatchEvent(`${slider.player.state}`, null);\n }\n\n // Return the new slider instance.\n return slider;\n }\n\n restore() {\n // Destroys existing slider if one exists.\n return new Promise((resolve) => {\n if (this.slider) {\n this.slider.destroy();\n }\n\n // Resolve response after slider is removed.\n resolve();\n });\n }\n\n update(data) {\n this.restore().then(() => {\n // Do not build a new slider if set to 'disable'.\n if (data.disabled) {\n return;\n }\n\n const group = (data.groupCells === undefined) ? 1 : data.groupCells;\n\n // Build a new slider based on the passed settings.\n if (this.slides.length > group) {\n this.slider = this.build(data);\n }\n });\n }\n\n // Adds responsive support which allows custom settings based on\n // the current viewport.\n addResponsiveSupport() {\n const { responsive } = this.settings;\n\n // Iterate through the provided breakpoints...\n Object.keys(breakpoints).forEach((bp) => {\n // Merges the baseSettings with the custom responsive settings.\n const bpSettings = merge(this.baseSettings, responsive[bp] || {});\n\n // Adds breakpoint listener for when this viewport is entered.\n Breakpoints.on(bp, 'enter', bpSettings, this.update.bind(this));\n });\n }\n\n // Only builds slider if there are enought slides.\n get shouldBuildSlider() {\n return this.slides.length > 1;\n }\n\n // Returns reference to the available slides within this slider.\n get slides() {\n return this.element.children;\n }\n\n // Extracts the base settings while stripping the responsive subset.\n get baseSettings() {\n const baseSettings = this.settings;\n if ('responsive' in baseSettings) {\n delete baseSettings.responsive;\n }\n return baseSettings;\n }\n}\n","import 'flickity-fade';\nimport Slider from '../components/Slider';\n\nconst defaults = {\n fade: true,\n autoPlay: 4000,\n wrapAround: true,\n pauseAutoPlayOnHover: false,\n arrowShape: 'M58.7 20.6c.4-.4.8-.6 1.3-.6s1 .2 1.3.6c.4.4.6.9.6 1.4 0 .5-.2 1.1-.6 1.5L36.6 50.1l24.7 26.5c.7.8.7 2.1-.1 2.9-.7.7-1.9.7-2.6 0l-26.1-28c-.4-.4-.6-.9-.6-1.4 0-.5.2-1.1.6-1.4l26.2-28.1z',\n};\n\nexport default class Gallery {\n constructor(element) {\n this.element = element;\n this.settings = defaults;\n this.Slider = new Slider(this.element, this.settings);\n this.element.classList.add('ready');\n }\n}\n","import Timer from 'tick-tock';\nimport scrollTo from 'animated-scroll-to';\nimport Breakpoints from '../components/Breakpoints';\nimport { offsets } from '../../config';\n\nexport default class Anchors {\n constructor() {\n this.id = '';\n this.offsets = offsets;\n\n // Listen for click events on links starting with a hash.\n // If an id'd element exists, scroll to it.\n const anchors = document.querySelectorAll('a[href^=\"#\"]');\n anchors.forEach((anchor) => {\n anchor.addEventListener('click', this.clickHandler.bind(this));\n });\n\n // Manage URLs containing a hash\n // If an id'd element exists, scroll to it.\n if (window.location.hash) {\n this.id = window.location.hash.substr(1);\n this.goToCurrentAnchor();\n }\n }\n\n clickHandler(event) {\n // Prevent default browser based hash functionality.\n event.preventDefault();\n\n // Extract the hash to use as the element id to search for.\n this.id = event.currentTarget.href.substr(event.currentTarget.href.indexOf('#') + 1);\n\n // Locate destination within the document.\n const destination = document.getElementById(this.id);\n\n // Quit if the destination isn't found\n if (!destination) return;\n\n // Scroll to destination.\n this.scrollToDestination(destination);\n }\n\n scrollToDestination(destination) {\n scrollTo(destination, {\n elementToScroll: window,\n verticalOffset: this.currentOffset,\n maxDuration: 1000,\n minDuration: 250,\n speed: 1000,\n }).then(() => {\n // Focus the element we scrolled to after we scroll down to it.\n const { scrollX, scrollY } = window;\n destination.focus();\n window.scrollTo(scrollX, scrollY);\n });\n }\n\n goToCurrentAnchor() {\n const anchor = document.getElementById(this.id);\n if (anchor) {\n const timer = new Timer();\n timer.setTimeout('setCurrentAnchor', () => {\n this.scrollToDestination(anchor);\n timer.clear('setCurrentAnchor');\n }, 500);\n }\n }\n\n get currentOffset() {\n const currentBreakpoint = Breakpoints.current();\n return this.offsets[currentBreakpoint.name];\n }\n\n get offsets() {\n return this.offsetSettings;\n }\n\n set offsets(config) {\n this.offsetSettings = {\n mobile: -config.padding,\n tablet: -config.padding,\n desktop: -(config.desktop + config.padding),\n desktop_xl: -(config.desktop + config.padding),\n };\n }\n}\n","import 'modaal';\nimport $ from 'jquery';\n\nexport default class ModaalTransformer {\n constructor(element, settings) {\n this.old = element;\n this.settings = settings;\n this.type = 'image';\n\n // Add custom video type.\n if (this.settings.isVideo) {\n this.type = 'video';\n }\n\n // Remove unneeded attributes and classes.\n this.old.removeAttribute('rel');\n this.old.classList.remove('lightbox-processed');\n\n // Clone the element to insure removal of previously set lightbox listeners functions.\n this.new = this.old.cloneNode(true);\n this.old.parentNode.replaceChild(this.new, this.old);\n\n // Add Modaal attributes for this particular link type.\n this.new.setAttribute('data-modaal-type', this.type);\n\n // If this is an image gallery, add the group data attribute.\n if (this.settings.isGallery) {\n this.new.setAttribute('data-group', 'gallery');\n }\n\n // Add the caption, if applicable.\n const image = this.new.querySelector('img');\n const caption = image.getAttribute('title');\n if (caption.length) {\n this.new.setAttribute('data-modaal-desc', caption);\n }\n\n // Add a replacement listener for our new link.\n this.new.addEventListener('click', this.clickHandler.bind(this));\n }\n\n clickHandler(event) {\n event.preventDefault();\n $(this.new).modaal({\n type: this.type,\n start_open: true,\n animation: 'none',\n outer_controls: true,\n });\n }\n}\n","import ModaalTransformer from './ModaalTransformer';\n\nconst nodeSelector = 'node';\n\nexport default class Lightbox2Modaal {\n constructor(parent, selector) {\n const settings = {\n isGallery: parent.querySelectorAll('img').length > 1,\n };\n\n if (parent.classList.contains(nodeSelector)) {\n // Process individual node.\n parent.querySelectorAll(selector).forEach((child) => {\n settings.isVideo = child.parentNode.classList.contains('field-video');\n child.ConvertToModaal = new ModaalTransformer(child, settings);\n });\n } else {\n // Process group of nodes.\n parent.querySelectorAll(nodeSelector).forEach((node) => {\n node.querySelectorAll(selector).forEach((child) => {\n settings.isVideo = child.parentNode.classList.contains('field-video');\n child.ConvertToModaal = new ModaalTransformer(child, settings);\n });\n });\n }\n }\n}\n","/* eslint-disable class-methods-use-this */\nimport $ from 'jquery';\nimport merge from 'deepmerge';\nimport Drupal from './Drupal';\nimport Gallery from './Gallery';\nimport Anchors from './Anchors';\nimport Modaal from './Lightbox2Modaal';\n\nconst defaults = {\n photoGalleryPID: 107,\n behaviors: {\n a11y: true,\n tables: true,\n newTab: true,\n anchors: true,\n sitemap: true,\n nodeMeta: true,\n messages: true,\n galleries: true,\n itemAppearsIn: true,\n expandingDates: true,\n slideshowIcons: true,\n lexiconGlossary: true,\n overtakeLightbox: true,\n subtermOverviews: true,\n fullNodeRelatedLinks: true,\n bundledReferringContent: true,\n },\n};\n\nexport default class DDTemplates {\n constructor(options = {}) {\n this.isNodeView = this.isNode();\n this.settings = merge(defaults, options);\n // Global behaviors\n this.defineApplicableBehaviors('global');\n // Current view behaviors only\n this.defineApplicableBehaviors(this.isNodeView ? 'node' : 'term');\n }\n\n /**\n * Simple check to see if the current body element contains the node class.\n */\n isNode() {\n return $(document.body).is('.n, .section-node');\n }\n\n /**\n * Segregates behaviors by different types of common views. If they're\n * enabled, define them in this module.\n */\n defineApplicableBehaviors(view) {\n const behaviors = {\n node: [\n 'itemAppearsIn',\n 'bundledReferringContent',\n ],\n term: [\n 'sitemap',\n 'subtermOverviews',\n 'lexiconGlossary',\n ],\n global: [\n 'a11y',\n 'tables',\n 'newTab',\n 'nodeMeta',\n 'messages',\n 'overtakeLightbox',\n 'slideshowIcons',\n 'expandingDates',\n 'galleries',\n 'anchors',\n ],\n };\n\n // Cycle through each behavior and only add it if it's enabled\n behaviors[view].forEach((behavior) => {\n this.addEnabledBehavior(behavior);\n });\n }\n\n /**\n * A way to enable only behaviors the theme requires.\n */\n addEnabledBehavior(behavior) {\n const enabled = this.settings.behaviors[behavior];\n if (enabled) {\n this[behavior].call(this);\n }\n }\n\n /**\n * Helper class for theming the appearing navigation block\n */\n itemAppearsIn() {\n const $appearingNav = $('.appearing-nav');\n const $links = $appearingNav.find('ul.links li');\n if (!$links.length) {\n $appearingNav.addClass('placeholder-block');\n }\n }\n\n /**\n * Hides the blocks if no content is present.\n */\n bundledReferringContent() {\n const $blocks = $('#block-digitaldcore-node_referring, #block-digitaldcore-node_bundled');\n $blocks.each((i, element) => {\n const $block = $(element);\n const $nodes = $block.find('.node-teaser');\n if (!$nodes.length) {\n $block.addClass('placeholder-block');\n }\n });\n }\n\n /**\n * Accessibility fixes\n */\n a11y() {\n $('.field-image a').attr('tabindex', -1);\n }\n\n /**\n * Wraps all tables in a responsive, scrollable, container.\n */\n tables() {\n $('.node-content table').wrap('
');\n }\n\n /**\n * Adds a close button to all Drupal message containers.\n */\n messages() {\n $('.messages').each((i, element) => {\n // Creates a button element instance.\n const button = document.createElement('button');\n button.className = 'close-button';\n button.setAttribute('aria-label', 'Dismiss alert');\n button.type = 'button';\n\n // Add our button\n $(element).prepend(button);\n\n // Close message if the close button is pressed.\n $(button).click(() => {\n $(element).animate({\n opacity: 'hide',\n height: 'hide',\n }, 250);\n });\n });\n }\n\n /**\n * Open the links within a new tab.\n */\n newTab() {\n const pattern = /\\.(pdf|doc|docx|xls|xlsx|csv|txt|rtf|odf|ppt|pptx|xml)$/;\n $('.page a').each((i, element) => {\n if (element.href.match(pattern)) {\n element.target = '_blank';\n }\n });\n }\n\n /**\n * Finds the real last meta item and identifies node of visible meta info\n */\n nodeMeta() {\n const $nodes = $('.node');\n $nodes.each((a, node) => {\n // Create a meta object\n const $node = $(node);\n const $meta = $node.find('.node-upper-meta');\n const $items = $meta.find('.meta-item');\n\n // Clean up last classname\n $items.removeClass('last');\n\n // Filter to just visible items\n const $visible = $items.map((i, item) => {\n const props = window.getComputedStyle(item);\n const display = props.getPropertyValue('display');\n return display !== 'none' ? item : null;\n });\n\n // Correctly identify last meta item and label node with the has-meta flag\n if ($visible.length) {\n $node.addClass('has-meta');\n $visible.filter(':last').addClass('last new-dd-templates-functionality');\n }\n });\n }\n\n /**\n * If there is more than two event dates, functionality is added to show and\n * hide all events within one container.\n *\n * Helps cleans up the look of meta data.\n *\n * @note:\n * This is only enabled for blocks with the 'posts' classname and all\n * full post views\n */\n expandingDates() {\n $('.posts .node, .node-full').each((a, node) => {\n $('.node-meta, .node-upper-meta', node).each((b, meta) => {\n const dates = meta.querySelectorAll('.event-date');\n\n if (dates.length > 2) {\n // Move all other dates\n const container = document.createElement('div');\n container.id = `all-dates-container--${a}-${b}`;\n container.className = 'all-dates';\n\n // Create and add functionality to display all other dates\n const button = document.createElement('button');\n button.className = 'meta-item all-dates-button';\n button.setAttribute('aria-controls', `all-dates-container--${a}-${b}`);\n button.setAttribute('aria-expanded', false);\n\n // Creates a text container we can update within the button.\n const text = document.createElement('span');\n text.innerHTML = 'Show all dates';\n button.appendChild(text);\n\n // Creates an icon add to our button.\n const icon = document.createElement('span');\n icon.setAttribute('aria-hidden', true);\n icon.className = 'plusminus-icon';\n button.appendChild(icon);\n\n // Insert our button inline with the other meta info.\n dates[0].insertAdjacentElement('beforebegin', button);\n\n // Add a click event handler to manage the dates display and button state.\n button.addEventListener('click', () => {\n const expanded = button.getAttribute('aria-expanded') === 'true';\n button.setAttribute('aria-expanded', !expanded);\n text.innerHTML = expanded ? 'Show all dates' : 'Hide all dates';\n container.classList[expanded ? 'remove' : 'add']('show-all');\n });\n\n // Add all dates into the container.\n dates.forEach((date) => container.appendChild(date));\n\n // Append our all dates container after so we can expand/collapse\n // it without affecting other meta information above.\n meta.appendChild(container);\n }\n });\n });\n }\n\n /**\n * Photo galleries\n */\n galleries() {\n // Photo Galleries\n const selectors = [\n '.photo-gallery .node-image',\n '.node-content .photo-gallery',\n '.photo-gallery .node-upper-image',\n ];\n\n document.querySelectorAll(selectors.join(',')).forEach((element) => {\n if (!element.Gallery) {\n element.Gallery = new Gallery(element);\n }\n });\n }\n\n /**\n * Adds markup to slideshow teasers to show an icon overlay\n */\n slideshowIcons() {\n const $slideshowNodes = $(`.pt${this.settings.photoGalleryPID}.node-teaser`);\n // cycle through each node instance\n $slideshowNodes.each((a, element) => {\n const $images = $(element).find('.field-image');\n // cycle through each field image instance\n $images.each((b, image) => {\n const $img = $(image).find('img');\n // add a button helper classname\n $(image).find('a').addClass('slideshow-btn');\n // prepend the icon overlay\n $img.before('');\n });\n });\n }\n\n sitemap() {\n // Add Sitemap output using the digitaldcore.js function\n const $map = $('#sitemap');\n const $nav = $('#sitemap .content');\n\n if ($map.length && $nav.length) {\n Drupal.digitaldcoreCreateSiteMap($map, $nav);\n $map.addClass('ready');\n }\n }\n\n /**\n * Adds the has more class to subterm overviews to properly control node-link display\n */\n subtermOverviews() {\n $('.subterm-overview .node-teaser').removeClass('no-more').addClass('has-more');\n }\n\n /**\n * Helper function to theme the category letters and seperate the sections\n */\n lexiconGlossary() {\n $('#glossary').find('.lexicon-list > a').each((i, element) => {\n const letter = $(element).attr('id').replace('letter_', '');\n $(element).html(letter.toUpperCase());\n });\n }\n\n /**\n * Adds page anchor support\n */\n anchors() {\n if (!document.body.Anchors) {\n document.body.Anchors = new Anchors();\n }\n }\n\n /**\n * Overtake Lightbox\n */\n overtakeLightbox() {\n // Replace Lightbox lightframe functionality with Modaal.\n $('.open-lightframe').each((i, element) => {\n if (!element.Modaal) {\n const selector = '.node-header a, .field-image a, .link-read-more a';\n element.Modaal = new Modaal(element, selector);\n }\n });\n\n // Replace Lightbox slideshow functionality with Modaal.\n $('.te-open-slideshow .node, .te-open-slideshow.node').each((i, element) => {\n if (!element.Modaal) {\n const selector = '.field-image a';\n element.Modaal = new Modaal(element, selector);\n }\n });\n\n // Replace Lightbox and Lighframe straggelers.\n $('[rel^=lightbox], [rel^=lightframe]').closest('.node').each((i, element) => {\n const notValid = element.parentNode.classList.contains('dd-hover-dependencies');\n if (!element.Modaal && !notValid) {\n const selector = '.field-image a';\n element.Modaal = new Modaal(element, selector);\n }\n });\n }\n}\n","import $ from 'jquery';\nimport dayjs from 'dayjs';\n\nconst defaults = {\n // local storage key used to save the currently applied filter\n storageKey: 'currentCalendarFilter',\n\n // Button text displayed as the pagination to the next page of events\n paginationLabel: 'Load More Events',\n\n // Mobile only drop down label that houses the filtering options\n filtersLabel: 'Filter by...',\n\n // Force the filters to be automatically determined by the post types present in the feed.\n filterByPostTypes: false,\n\n // A simple indicator to determine the build out of filters\n useFilters: false,\n\n // Used to pass in an object of filters which use key value pairs.\n // {Object}\n // @key: Name that will appear as the filter button text\n // @value: ID of post type or navigation term\n filters: false,\n};\n\n// These filters are used if the filterByPostTypes is enabled. Present post\n// types are then added to this object, then the filters are made from those.\nconst defaultFilters = {\n All: 2,\n};\n\nexport default class CalendarFeed {\n constructor(element, options) {\n this.$element = $(element);\n this.settings = { ...defaults, ...options };\n this.filters = this.getFilters();\n this.buildCalendar();\n if (this.settings.useFilters) {\n this.createFilters();\n }\n }\n\n buildCalendar() {\n const $posts = this.$element.find('.node');\n const group = '
';\n let currentYear = null;\n let currentMonth = '';\n let $group;\n\n // Manage the types of calendar filters being created\n $posts.each((i, post) => {\n const $post = $(post);\n const dates = ['start', 'end'];\n const oDates = {};\n\n // Parse the start/end timestamps using the dayjs framework\n $.each(dates, (j, type) => {\n const datetime = $post.find(`time.${type}`).attr('datetime');\n const dateObj = dayjs(datetime);\n oDates[type] = {\n month: dateObj.format('MMMM'),\n mon: dateObj.format('MMM'),\n day: dateObj.format('D'),\n dow: dateObj.format('ddd'),\n year: dateObj.format('YYYY'),\n };\n });\n\n // Add the post into a month grouping\n if (oDates.start.month.length && currentMonth !== oDates.start.month) {\n currentMonth = oDates.start.month;\n $group = $(group);\n $group.addClass(oDates.start.month.toLowerCase());\n $group.append(`

${oDates.start.month}

`);\n $post.before($group);\n\n // Set year labels followed by the associated months of that year\n if (oDates.start.year && oDates.start.year > currentYear) {\n const $year = $(`${oDates.start.year}`);\n $group.before($year);\n currentYear = oDates.start.year;\n }\n }\n\n // Dynamically create the date tile for the event display\n const $tile = $post.find('.event-date-tile');\n const markup = (data) => `${data.dow}${data.mon}${data.day}`;\n $tile.find('time.start').html(markup(oDates.start));\n\n // Handle date ranges\n if ($tile.is('.range')) {\n const isSameMonth = oDates.start.month === oDates.end.month;\n const isSameDay = oDates.start.day === oDates.end.day;\n const isSameYear = oDates.start.year === oDates.end.year;\n\n // This identifies an event which begins and ends at different times on the same day\n if (isSameMonth && isSameDay && isSameYear) {\n $post.addClass('day-event');\n }\n\n // This identifies an event which spans multiple days within the same month\n if (isSameMonth && !isSameDay && isSameYear) {\n $post.addClass('multiple-day-event');\n $tile.find('time.start .day').text(`${oDates.start.day}-${oDates.end.day}`);\n }\n\n // This identifies an event which spans multiple months or maybe a year(s)\n if (!isSameMonth || !isSameYear) {\n $post.addClass('multiple-month-event');\n $tile.find('time.end').html(markup(oDates.end));\n }\n }\n\n // Add the grouped posts to the display\n $post.appendTo($group);\n });\n\n // Alter the text of the next pager button\n $('.pager-next a', this.$element).text(this.settings.paginationLabel);\n\n // Add a helper class\n this.$element.addClass('ready');\n }\n\n filterHandler(event) {\n event.preventDefault();\n $(this).next('.filters').toggleClass('expanded');\n }\n\n getFilters() {\n // If custom filters where passed, use them, if not use the defaults.\n let data = this.settings.filters ? this.settings.filters : defaultFilters;\n // If the filter by post types flag is set, force that filtering option.\n if (this.settings.filterByPostTypes) {\n data = defaultFilters;\n }\n return data;\n }\n\n createFilters() {\n const { $element } = this;\n const $posts = $element.find('.node');\n let $filters = $('
');\n const filter = '
';\n const types = [];\n const ids = [];\n\n // Create the proposed filters\n $.each(this.filters, (type, id) => {\n types.push(type);\n ids.push(id);\n });\n\n // Using the proposed filters, generate relevant filters of those types\n // that are actually present or use the semi default, filter by post type.\n const data = this.settings.filterByPostTypes\n ? this.getDefaultData(types, ids)\n : this.getCustomizedData(types, ids);\n\n // Get the latest selected filter.\n let currentFilter = sessionStorage.getItem(this.settings.storageKey) || ids[0];\n\n // See if a hash was passed, if so let's filter by that instead later on.\n let { hash } = window.location;\n if (hash.length > 1) {\n hash = hash.substr(1); // Remove the hash symbol #\n hash = decodeURIComponent(hash); // Normalize the filter passed\n }\n\n // Create filters\n $.each(data.types, (i, type) => {\n const $filter = $(filter);\n // Use the type key to identify the associated filter id\n const id = data.ids[i];\n\n // Check to see if this filter is being forced to be filtered by using\n // a url hash.\n if (hash.length && hash.toLowerCase() === type.toLowerCase()) {\n currentFilter = id;\n }\n\n // Add the type to the filter\n $filter.text(type);\n\n // Add a class name to theme the filter\n $filter.addClass(`show-${ids[i]}`);\n\n // Add the newly created filter\n $filters.append($filter);\n\n // Add a click handler\n $filter.on('click', () => {\n // Default to all posts in calendar feed\n let $show = $posts;\n\n // Filter what posts to display if not all option\n if (type !== 'All') {\n $show = $posts.filter(\n (j, element) => $.inArray(type, $(element).data('types')) !== -1,\n );\n }\n\n // Manage the active filter styling\n $filters.not(this).removeClass('active');\n $(this).addClass('active');\n\n // hide all events that aren't of this type\n $posts.not($show).stop(true, true).animate({\n opacity: 'hide',\n height: 'hide',\n }, 300).removeClass('show');\n\n // show all events that are of this type\n $show.stop(true, true).animate({\n opacity: 'show',\n height: 'show',\n }, 300).addClass('show');\n\n // Set the current filter into session storage\n sessionStorage.setItem(this.settings.storageKey, id);\n currentFilter = id;\n\n // Check to see if the event group is empty\n $element.find('.group').each((j, element) => {\n const $shown = $('.node.show', element);\n const result = $shown.length ? 'show' : 'hide';\n\n // Add a helper class for the use with the year function below\n if ($shown.length) {\n $(element).addClass('show');\n } else {\n $(element).removeClass('show');\n }\n\n // Manages the visibility of the group\n $(element).stop(true, true).animate({\n opacity: result,\n height: result,\n }, 300);\n });\n\n // Check to see if the group year should display or not\n $element.find('.group-year').each((j, element) => {\n const $shown = $(element).nextUntil('.group-year').filter('.show');\n const result = $shown.length ? 'show' : 'hide';\n $(element).stop(true, true).animate({\n opacity: result,\n height: result,\n }, 300);\n });\n });\n });\n\n // Add a drop down controller for mobile\n const $ctrl = $(`

${this.settings.filtersLabel}

`);\n $ctrl.on('click', this.filterHandler);\n\n // Add the drop down controller for mobile display\n $element.find('.view-header').append($ctrl, $filters);\n\n // Make this an jquery array of filters reference rather than a container\n // reference.\n $filters = $filters.find('.filter');\n\n // Simulate a click event for the last or default calendar filter\n $filters.filter(`.show-${currentFilter}`).trigger('click');\n }\n\n getDefaultData(_types, _ids) {\n const { $element } = this;\n const $posts = $element.find('.node');\n\n const types = _types;\n const ids = _ids;\n\n // Dynamically create the filter types and identify the posts that belong\n // to each one.\n $posts.each((i, post) => {\n const $post = $(post);\n\n // Extract the post type\n let type = $post.attr('data-type');\n\n // If the post type is the generic Event, set the label to All instead.\n if (type === 'Event') {\n type = 'All';\n }\n\n let id = 0;\n const classes = $post.attr('class');\n const regex = /\\w?pt([0-9]+)/;\n\n // Make filters by types found if were using the default filters\n if (regex.test(classes)) {\n /* eslint-disable prefer-destructuring */\n id = regex.exec(classes)[1];\n }\n\n // Make filters by post type\n if ($.inArray(type, types) === -1) {\n types.push(type);\n ids.push(id);\n }\n\n // Add a data types to identify this when a filter is clicked\n $post.data('types', [type]);\n });\n\n return {\n types,\n ids,\n };\n }\n\n getCustomizedData(_types, _ids) {\n const { $element } = this;\n const $posts = $element.find('.node');\n const types = [];\n const ids = [];\n\n // Keep track of the types and ids that have been identified within this content.\n const indexes = [];\n\n // Dynamically create the filter types and identify the posts that belong\n // to each one.\n $posts.each((i, post) => {\n const $post = $(post);\n const classes = $post.attr('class');\n const regex = /\\w?[wp]t([0-9]+)/g; // Filter could be either wt or pt.\n const aTypes = [];\n\n // Add the post type by default\n aTypes.push($post.attr('data-type'));\n\n // If the post type is the generic Event, set the label to All instead.\n if (aTypes[0] === 'Event') {\n aTypes[0] = 'All';\n }\n\n // Iterates through all matches made to see what this post should be\n // filtered by from the filters assigned\n let aResults;\n // eslint-disable-next-line no-cond-assign\n while ((aResults = regex.exec(classes)) !== null) {\n const result = parseInt(aResults[1], 10);\n if ($.inArray(result, _ids) !== -1) {\n const index = _ids.indexOf(result);\n // Check to see if index has already been added, if not, add it.\n if ($.inArray(index, indexes) === -1) {\n indexes.push(index);\n }\n // Add this type to the post since it's been found\n aTypes.push(_types[index]);\n }\n }\n\n // Add a data id to identify this type when the filter is clicked\n $post.data('types', aTypes);\n });\n\n // Create new types and ids of the relevant types found using the\n // supplied custom filters\n $.each(indexes.sort(), (i, index) => {\n types.push(_types[index]);\n ids.push(_ids[index]);\n });\n\n return {\n types,\n ids,\n };\n }\n}\n","import $ from 'jquery';\n\nexport default class FixNavigation {\n constructor(element) {\n this.element = element;\n this.process();\n this.ready();\n }\n\n process() {\n $('.menuparent, .expanded, .collapsed', this.element).each((i, item) => {\n // handles the parent term (if hidden)\n const $parent = $(item).children('a');\n if (!$parent.length || $parent.is('.hidden')) {\n $(item).remove();\n }\n\n // handles the term to see if it only parents orphans.\n let $children = $('> ul > li', item);\n if (!$parent.is('.hidden') && $children.length) {\n // Logged in: shows links with a hidden class.\n $children.children('a.hidden').parent().remove();\n // Logged out: shows an empty li :\\\n $children.filter(':empty').remove();\n // Reset $children to reflect potential missing items.\n $children = $('> ul > li', item);\n // If the list is empty, the parent should no longer be\n // labeled as such and the list should be removed.\n if (!$children.length) {\n $(item).removeClass('menuparent expanded collapsed'); // unlabel\n $(item).find('ul').remove();\n }\n }\n });\n\n // Get rid of any straggler hidden terms which don't have children.\n $('a.hidden', this.element).parent().remove();\n }\n\n ready() {\n $(this.element).addClass('ready');\n }\n}\n","import tabbable from 'tabbable';\nimport TickTock from 'tick-tock';\nimport Keyboard from 'keyboard-key';\nimport Breakpoints from './Breakpoints';\n\n/**\n * @file Navigation\n *\n * Transforms an existing HTML list into an accessible navigation menu w/dropdowns.\n *\n * @constructor\n * @param element {HTML element} Menu list\n * @param options {object} Custom options to override the defaults of this instance.\n *\n * @constant defaults {object} Default options of this module\n * @param menuBlock {string} Namespace to be used for this instance\n * @param menuParent {string} DOM selector of the list items which contain a submenu\n * @param activeClass {string} Classname to be used to reference a active element\n * @param activeTrailClass {string} Classname to be used to reference a active element ancestor\n * @param expandActiveMenus {boolean} Whether or not to open active menus in the active trail\n * @param closeUnnestedMenus {boolean} Whether or not to close menus that are not\n * decendents of the currently interacted menu tree\n * @param focusout {boolean} Whether or not to close open menus when the block has lost focus\n * @param hover {boolean} Whether or not to control menu display based on mouse interaction\n * @var delay {object}\n * @param in {int} Hover delay on mouse over\n * @param out {int} Hover delay on mouse out\n *\n */\n\nconst defaults = {\n menuBlock: 'navigation',\n menuParent: '.menuparent',\n activeClass: 'active',\n activeTrailClass: 'active-trail',\n expandActiveMenus: false,\n closeUnnestedMenus: true,\n focusout: true,\n hover: false,\n delay: {\n in: 150,\n out: 250,\n },\n};\n\nexport default class Navigation {\n constructor(element, options) {\n this.menu = element;\n this.settings = { ...defaults, ...options };\n this.preprocess();\n this.listen();\n }\n\n // Add appropriate accessibility attributes to existing markup\n // and the toggle button which manages the submenu display.\n\n preprocess() {\n this.menuParents.forEach((element, index) => {\n // Set unique ID to link the button to the submenu.\n const id = `${this.components.submenu}-${index}`;\n\n // Link\n const link = element.firstElementChild;\n link.setAttribute('aria-label', `${link.innerText}, tab to the next button to expand the submenu`);\n link.setAttribute('aria-haspopup', true);\n link.setAttribute('aria-controls', id);\n\n // Toggle button\n const button = document.createElement('button');\n button.classList.add(this.components.button);\n button.setAttribute('aria-haspopup', true);\n button.setAttribute('aria-controls', id);\n button.innerText = link.innerText;\n element.insertBefore(button, link.nextSibling);\n\n // Submenu\n const submenu = element.lastElementChild;\n submenu.id = id;\n submenu.classList.add(this.components.submenu);\n submenu.Timer = new TickTock();\n submenu.Tabbable = tabbable(submenu);\n\n // Add each reference within the parent.\n element.link = link;\n element.button = button;\n element.submenu = submenu;\n\n // Set initial state of components\n this.collapse(element);\n\n // Manage display of the active trail, if configured.\n if (this.settings.expandActiveMenus) {\n const isActiveTrail = element.classList.contains(this.settings.activeTrailClass);\n if (isActiveTrail) {\n this.expand(element, false);\n }\n }\n });\n }\n\n // Update submenu display based on user interaction.\n\n userInteractionHandler(event) {\n const { parentNode } = event.target;\n const { button, submenu } = parentNode;\n\n // If there isn't a submenu and button, quit.\n if (!submenu && !button) return;\n\n // Set expand state based on current aria-expanded attribute set on the button.\n const expand = button.getAttribute('aria-expanded') === 'false';\n\n // Set the current state of the associate submenu and button.\n if (expand) {\n this.expand(parentNode, true);\n } else {\n this.collapse(parentNode);\n }\n\n // Only continue to close unnested expanded submenus if the setting is true and\n // we're not viewing in a mobile state.\n if (!this.settings.closeUnnestedMenus || Breakpoints.mobileState) return;\n\n // Loop thru each open submenu\n this.openSubmenus.forEach((openSubmenu) => {\n // If the button interacted with is not within this subtree, collapse it.\n if (!openSubmenu.parentNode.contains(button)) {\n this.collapse(openSubmenu.parentNode);\n }\n });\n }\n\n // Sets the expanded state of the passed in components.\n\n expand(parentNode, focus) {\n const { link, button, submenu } = parentNode;\n this.expandElement(link);\n this.expandElement(button);\n this.expandSubmenu(submenu, focus);\n }\n\n // Sets the collapsed state of the passed in components.\n\n collapse(parentNode) {\n const { link, button, submenu } = parentNode;\n this.collapseElement(link);\n this.collapseElement(button);\n this.collapseSubmenu(submenu);\n }\n\n // Sets the expanded state of the passed in element.\n\n /* eslint-disable-next-line */\n expandElement(element) {\n element.setAttribute('aria-expanded', true);\n }\n\n // Sets the collapsed state of the passed in element.\n\n /* eslint-disable-next-line */\n collapseElement(element) {\n element.setAttribute('aria-expanded', false);\n }\n\n // Sets the expanded state of the submenu.\n\n expandSubmenu(submenu, focus) {\n submenu.parentNode.classList.add(this.states.active);\n submenu.classList.add(this.states.open);\n submenu.removeAttribute('aria-hidden');\n submenu.expanded = true;\n\n // Don't focus if it's not set to.\n if (!focus) return;\n\n // Only continue if this submenu has tabbable elements.\n if (!submenu.Tabbable.length) return;\n\n // Focus the first tabbable element after submenu is expanded.\n submenu.Timer.setTimeout('focus', () => {\n submenu.Tabbable[0].focus();\n }, 100);\n }\n\n // Sets the collapsed state of the submenu.\n\n collapseSubmenu(submenu) {\n submenu.parentNode.classList.remove(this.states.active);\n submenu.classList.remove(this.states.open);\n submenu.setAttribute('aria-hidden', true);\n submenu.expanded = false;\n }\n\n // Completely reset the state of the menu\n\n clearAll() {\n this.openSubmenus.forEach((openSubmenu) => {\n this.collapse(openSubmenu.parentNode);\n });\n }\n\n // Add event listeners to the array of event types.\n\n listen() {\n this.menu.addEventListener('keydown', this.keyDownEventDispatcher.bind(this));\n this.menu.addEventListener('mousedown', this.mouseDownEventDispatcher.bind(this));\n\n // Whether or not to close open menus if the block loses focus.\n if (this.settings.focusout) {\n this.menu.addEventListener('focusout', this.focusOutEventDispatcher.bind(this));\n }\n\n // Whether or not to activate menus on a mouseover event.\n if (this.settings.hover) {\n this.menuParents.forEach((menuParent) => {\n menuParent.addEventListener('mouseover', this.mouseOverHandler.bind(this));\n menuParent.addEventListener('mouseout', this.mouseOutHandler.bind(this));\n });\n }\n }\n\n // Dispatch events for the keydown event type.\n\n keyDownEventDispatcher(event) {\n const keyCode = Keyboard.getCode(event);\n switch (keyCode) {\n case Keyboard.Enter:\n // if the keydown is caused by the return key, it should be a click\n this.userInteractionHandler(event);\n break;\n case Keyboard.Escape:\n // if the keydown is caused by the escape key, close the menus\n this.clearAll();\n break;\n default: break;\n }\n }\n\n // Dispatch events for the mousedown event type.\n\n mouseDownEventDispatcher(event) {\n this.userInteractionHandler(event);\n }\n\n // Attach a listener to close everything when a user\n // interacts outside of the menu.\n\n focusOutEventDispatcher(event) {\n if (!this.menu.contains(event.relatedTarget) && !Breakpoints.mobileState) {\n this.clearAll();\n }\n }\n\n // Manages menu states on a mouse over event.\n\n mouseOverHandler(event) {\n const { submenu } = event.currentTarget;\n submenu.Timer.clear('collapse');\n\n // Stop mouse actions on smaller devices.\n if (Breakpoints.mobileState) return;\n\n // Quit if the menu is already expanded.\n if (submenu.expanded) return;\n\n // Stage menu to be expanded.\n submenu.Timer.setTimeout('expand', () => {\n this.expand(submenu.parentNode, false);\n }, this.settings.delay.in);\n }\n\n // Manages menu states on a mouse out event.\n\n mouseOutHandler(event) {\n const { submenu } = event.currentTarget;\n submenu.Timer.clear('expand');\n\n // Stop mouse actions on smaller devices.\n if (Breakpoints.mobileState) return;\n\n // Quit if the menu is already collapsed.\n if (!submenu.expanded) return;\n\n // Stage menu to be collapsed.\n submenu.Timer.setTimeout('collapse', () => {\n this.collapse(submenu.parentNode);\n }, this.settings.delay.out);\n }\n\n // BEM conventions using the passed in `menuBlock` namespace for all states.\n\n get states() {\n return {\n active: `${this.settings.menuBlock}--active`,\n open: `${this.settings.menuBlock}__submenu--open`,\n };\n }\n\n // BEM conventions using the passed in `menuBlock` namespace for all components.\n\n get components() {\n return {\n button: `${this.settings.menuBlock}__toggle`,\n submenu: `${this.settings.menuBlock}__submenu`,\n };\n }\n\n // Getters for obtaining NodeLists of various elements.\n\n get menuParents() {\n return this.menu.querySelectorAll(this.settings.menuParent);\n }\n\n get buttons() {\n return this.menu.querySelectorAll(`.${this.components.button}`);\n }\n\n get submenus() {\n return this.menu.querySelectorAll(`.${this.components.submenu}`);\n }\n\n get openSubmenus() {\n return this.menu.querySelectorAll(`.${this.states.open}`);\n }\n}\n","import Navigation from '../components/Navigation';\nimport Breakpoints from '../components/Breakpoints';\n\nconst components = {\n menu: '#term-navigation-menu',\n button: '.block-title button',\n buttonLink: '.block-title a',\n};\n\nconst settings = {\n menuBlock: 'term-navigation',\n menuParent: 'li.collapsed, li.expanded',\n expandActiveMenus: true,\n closeUnnestedMenus: false,\n focusout: false,\n hover: false,\n};\n\nexport default class TermNavigation {\n constructor(element) {\n this.element = element;\n this.open = false;\n\n if (this.menu) {\n this.standardize();\n this.addLogic();\n this.listen();\n }\n\n this.ready();\n }\n\n // Add depth classes to our term navigation structure which match the primary\n // navigation. That way we can share styling more easily.\n standardize() {\n this.menu.querySelectorAll('a.menu-link').forEach((link) => {\n const match = link.getAttribute('class').match(/depth-([0-9]+)/);\n if (match) {\n const level = match[1];\n // Replace current class with new depth to retain structure.\n link.classList.remove(`depth-${level}`);\n link.classList.add(`depth-${level - 1}`);\n // Add the appropriate classes to the list and it's items.\n const item = link.parentElement;\n const list = item.parentElement;\n item.classList.add(`depth-${level - 1}`);\n list.classList.add(`depth-${level - 1}`);\n }\n });\n }\n\n // Enhance the term navigation with the standardized, accessible, menu.\n addLogic() {\n return new Navigation(this.menu, settings);\n }\n\n // We want to control the mobile dropdown but let the desktop link go thru.\n clickHandler() {\n if (Breakpoints.mobileState) {\n if (this.open) {\n this.open = false;\n this.button.setAttribute('aria-expanded', false);\n this.element.classList.remove('term-navigation--open');\n this.menu.setAttribute('aria-hidden', true);\n } else {\n this.open = true;\n this.button.setAttribute('aria-expanded', true);\n this.element.classList.add('term-navigation--open');\n this.menu.setAttribute('aria-hidden', false);\n this.buttonLink.focus();\n }\n }\n }\n\n listen() {\n // Add a click handler to control the mobile dropdown menu\n this.button.addEventListener('click', this.clickHandler.bind(this));\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n\n get button() {\n return this.element.querySelector(components.button);\n }\n\n get buttonLink() {\n return this.element.querySelector(components.buttonLink);\n }\n\n get menu() {\n return this.element.querySelector(components.menu);\n }\n}\n","import $ from 'jquery';\n\nclass Change {\n constructor() {\n this.ticking = false;\n this.listen();\n }\n\n update() {\n this.ticking = false;\n if (this.callbacks) {\n this.callbacks.fire();\n }\n }\n\n change() {\n this.request();\n }\n\n request() {\n if (!this.ticking) {\n requestAnimationFrame(this.update.bind(this));\n this.ticking = true;\n }\n }\n\n onChange(callback) {\n if (!this.callbacks) {\n this.callbacks = $.Callbacks('memory');\n }\n this.callbacks.add(callback);\n return this;\n }\n\n listen() {\n $(window).bind('scroll resize orientationchange', this.change.bind(this));\n }\n}\n\nexport default new Change();\n","import Change from './Change';\nimport { offsets } from '../../config';\n\nexport default class Sticky {\n constructor(element) {\n this.element = element;\n this.register();\n this.update();\n }\n\n register() {\n Change.onChange(this.update.bind(this));\n }\n\n update() {\n if (window.innerHeight - offsets.sidebar > this.element.offsetHeight) {\n this.element.classList.add('sticky');\n } else {\n this.element.classList.remove('sticky');\n }\n }\n}\n","import $ from 'jquery';\n\nfunction AccordionWrap(element) {\n this.element = element;\n this.$element = $(element);\n this.init();\n this.ready();\n}\n\nAccordionWrap.prototype = {\n init() {\n const classes = (this.getClasses()) ? this.getClasses() : '';\n const status = (this.getStatus()) ? ` style=\"display: ${this.getStatus()}\"` : '';\n this.$element\n .next('.accordion-content')\n .addBack()\n .wrapAll(`
`);\n },\n getClasses() {\n let $classes = null;\n if (this.$element.hasClass('under-tab')) {\n $classes = 'under-tab';\n let elemClasses = this.$element.attr('class');\n elemClasses = elemClasses.split(' ');\n\n for (let i = 0; i < elemClasses.length; i += 1) {\n const val = elemClasses[i];\n if (val.substring(0, 10) === 'under-tab-') {\n $classes += ` ${val}`;\n }\n }\n }\n\n return $classes;\n },\n getStatus() {\n let $status;\n if (this.$element.hasClass('under-tab')) {\n $status = (this.$element.is('.under-tab-0')) ? 'block' : 'none';\n }\n\n return $status;\n },\n ready() {\n setTimeout(() => {\n this.$element.addClass('ready');\n }, 200);\n },\n};\n\nexport default AccordionWrap;\n","import $ from 'jquery';\n\nconst defaults = {\n selector: 'a',\n};\n\nfunction AccordionFix(element, options) {\n this.$element = $(element);\n this.settings = Object.assign(defaults, options);\n this.click = this.click.bind(this);\n this.setVert = this.setVert.bind(this);\n this.listen();\n}\n\nAccordionFix.prototype = {\n listen() {\n this.$element.on('click', this.click);\n },\n click(event) {\n event.preventDefault();\n event.stopPropagation();\n this.setVert(event);\n },\n setVert(event) {\n setTimeout(() => {\n const isVis = this.isVisible(event.target);\n if (!isVis) {\n const topOffset = $(this.$element).offset().top - 80;\n $([document.documentElement, document.body]).animate({\n scrollTop: topOffset,\n }, 500);\n }\n }, 500);\n },\n isVisible(e) {\n const elementTop = $(e).offset().top - 80;\n const elementBottom = elementTop + $(e).outerHeight();\n const viewportTop = $(window).scrollTop();\n const viewportBottom = viewportTop + $(window).height();\n return (elementBottom > viewportTop && elementTop < viewportBottom);\n },\n};\n\nexport default AccordionFix;\n","import $ from 'jquery';\n\nfunction AccordionFix(element) {\n this.$element = $(element);\n this.init();\n}\n\nAccordionFix.prototype = {\n init() {\n this.$element.find(':not(.accordion-item) + .accordion-item, * > .accordion-item:first-of-type, > .accordion-item:first-of-type').each((i, elem) => {\n $(elem)\n .nextUntil(':not(.accordion-item)')\n .addBack()\n .wrapAll('
');\n });\n },\n};\n\nexport default AccordionFix;\n","import $ from 'jquery';\n\nconst defaults = {\n sourceSelector: '.field-image.c1 img',\n destSelector: undefined,\n isPseudo: false,\n};\n\nfunction BackgroundImage(element, options) {\n this.$element = $(element);\n this.settings = Object.assign(defaults, options);\n this.addBackgroundImage();\n this.ready();\n}\n\nBackgroundImage.prototype = {\n getSource() { return this.$element.find(this.settings.sourceSelector).attr('src'); },\n\n addBackgroundImage() {\n const src = this.getSource();\n if (src && src.length) {\n if (this.settings.isPseudo) {\n this.$element.find('.node').prepend('');\n this.$element.find('.pod-image-bg').css('background-image', `url(${src})`);\n } else if (this.settings.destSelector) {\n this.$element.find(this.settings.destSelector).css('background-image', `url(${src})`);\n } else {\n this.$element.css('background-image', `url(${src})`);\n }\n this.$element.addClass('hasImage');\n }\n },\n\n ready() {\n setTimeout(() => {\n this.$element.addClass('ready');\n }, 300);\n },\n};\n\nexport default BackgroundImage;\n","import Timer from 'tick-tock';\n\nconst components = {\n text: 'Search',\n input: '#edit-keywords',\n};\n\nexport default class Search {\n constructor(element, customComponents) {\n // Make reference to the passed in element.\n this.element = element;\n\n // Manage intervals and timeouts with the TickTock tool.\n this.Timer = new Timer();\n\n // Merge default components with custom ones, if applicable.\n this.components = { ...components, ...customComponents };\n\n // Clear out values of these components.\n this.input.value = '';\n\n // Event management\n this.listen();\n }\n\n // Focus the search box after a small delay.\n\n focusIn() {\n this.input.setAttribute('placeholder', '');\n this.Timer.setTimeout('focus', () => {\n this.typeOutPlaceholderText();\n }, 250);\n }\n\n // Cancel any search input timeouts that may be running.\n\n focusOut() {\n this.Timer.clear('focus');\n this.Timer.clear('typing');\n }\n\n // Types out placeholder text on focusin state.\n\n typeOutPlaceholderText() {\n let i = 0;\n if (!this.input.value.length) {\n this.Timer.setInterval('typing', () => {\n if (i <= this.searchText.length) {\n this.input.setAttribute('placeholder', this.searchText.substr(0, i));\n this.input.focus();\n i += 1;\n } else {\n this.Timer.clear('typing');\n }\n }, 60);\n } else {\n this.input.focus();\n }\n }\n\n // This is a workaround to overcome the default dd-search.js search\n // input scripted behaviors.\n\n resetSearchInput() {\n if (this.searchText === this.input.value) {\n this.input.value = '';\n }\n }\n\n // Listening so that we can override previously set scripted behaviors.\n\n listen() {\n this.input.addEventListener('focusin', this.resetSearchInput.bind(this));\n this.input.addEventListener('focusout', this.resetSearchInput.bind(this));\n }\n\n // Getters of various components.\n\n get searchText() {\n return this.components.text;\n }\n\n get input() {\n return this.element.querySelector(this.components.input);\n }\n}\n","import $ from 'jquery';\nimport FocusTrap from 'focus-trap';\nimport Keyboard from 'keyboard-key';\nimport Breakpoints from '../components/Breakpoints';\nimport Search from './Search';\n\nconst defaults = {\n menuClass: 'menu-active',\n buttons: {\n menu: '.menu-icon',\n menuClose: '.flyout .close-icon',\n },\n components: {\n flyout: '#flyout',\n search: '#dd-search',\n header: '.page-header',\n },\n};\n\nexport default class Toolbar {\n constructor(element, options) {\n this.element = element;\n this.$element = $(element);\n this.settings = { ...defaults, ...options };\n this.Search = this.addSearchLogic();\n this.FocusTrap = this.addFocusTrapLogic();\n this.listen();\n }\n\n // Add search logic to manage the various states of the search component\n\n addSearchLogic() {\n return this.searchComponent ? new Search(this.searchComponent) : false;\n }\n\n // Add focus-trap logic to manage focus state when flyout is expanded.\n\n addFocusTrapLogic() {\n return new FocusTrap(this.headerComponent, {\n initialFocus: this.flyoutComponent,\n });\n }\n\n // Manage click events.\n\n clickHandler() {\n const menuActive = document.body.classList.contains(this.settings.menuClass);\n const isActive = menuActive;\n\n if (isActive) {\n this.deactivate();\n } else {\n this.activate();\n }\n }\n\n // Manage keydown events.\n\n keyDownHandler(event) {\n const keyCode = Keyboard.getCode(event);\n if (keyCode === Keyboard.Escape) {\n this.deactivate();\n }\n }\n\n // Activates the flyout and all of the associated buttons.\n\n activate() {\n const activeClass = this.settings.menuClass;\n document.body.classList.add(activeClass);\n this.menuButton.setAttribute('aria-expanded', true);\n this.menuCloseButton.setAttribute('aria-expanded', true);\n\n // Leverage the focus trap logic to lock active element focus\n // within the flyout only (on mobile devices specifically).\n if (Breakpoints.mobileState) {\n this.FocusTrap.activate();\n }\n\n // If the menu button is clicked, focus the flyout container.\n this.flyoutComponent.focus();\n }\n\n // Deactivates the flyout and all of the associated buttons.\n\n deactivate() {\n this.FocusTrap.deactivate();\n document.body.classList.remove(this.settings.menuClass);\n this.menuButton.setAttribute('aria-expanded', false);\n this.menuCloseButton.setAttribute('aria-expanded', false);\n }\n\n // Set up event listeners to help control the various states of the toolbar and flyout.\n\n listen() {\n this.element.addEventListener('keydown', this.keyDownHandler.bind(this));\n this.menuButton.addEventListener('click', this.clickHandler.bind(this));\n this.menuCloseButton.addEventListener('click', this.clickHandler.bind(this));\n }\n\n // Getters of the various components available\n\n get menuButton() {\n return this.element.querySelector(this.settings.buttons.menu);\n }\n\n get menuCloseButton() {\n return document.querySelector(this.settings.buttons.menuClose);\n }\n\n get flyoutComponent() {\n return document.querySelector(this.settings.components.flyout);\n }\n\n get searchComponent() {\n return document.querySelector(this.settings.components.search);\n }\n\n get headerComponent() {\n return document.querySelector(this.settings.components.header);\n }\n}\n","import $ from 'jquery';\nimport HeadroomCore from 'headroom.js';\nimport Breakpoints from './Breakpoints';\nimport { offsets } from '../../config';\n\n// Headroom settings\nconst settings = {\n // scroll tolerance in px before state changes\n tolerance: 5, // or {down: 0, up: 0},\n // css classes to apply\n classes: {\n // when element is initialised\n initial: 'headroom',\n // when scrolling up\n pinned: 'locked',\n // when scrolling down\n unpinned: 'unlocked',\n // when above offset\n top: 'top',\n // when below offset\n notTop: 'not-top',\n // when at bottom of scoll area\n bottom: 'bottom',\n // when not at bottom of scroll area\n notBottom: 'not-bottom',\n },\n // callback when pinned, `this` is headroom object\n onPin() {\n $(document.body).addClass('locked').removeClass('unlocked');\n },\n // callback when unpinned, `this` is headroom object\n onUnpin() {\n $(document.body).addClass('unlocked').removeClass('locked');\n },\n // callback when above offset, `this` is headroom object\n onTop() {\n $(document.body).addClass('top').removeClass('not-top');\n },\n // callback when below offset, `this` is headroom object\n onNotTop() {\n $(document.body).addClass('not-top').removeClass('top');\n },\n // callback at bottom of page, `this` is headroom object\n onBottom() {},\n // callback when moving away from bottom of page, `this` is headroom object\n onNotBottom() {},\n};\n\nexport default class Headroom {\n constructor(element) {\n this.element = element;\n this.offsets = offsets;\n this.headroom = this.build();\n Breakpoints.on('change', this.rebuild.bind(this));\n this.headroom.init();\n }\n\n // Create a new Headroom instance\n build() {\n const options = settings;\n options.offset = this.currentOffset;\n return new HeadroomCore(this.element, options);\n }\n\n // Rebuild existing Headroom instance with updated offset.\n rebuild() {\n this.headroom.destroy();\n this.headroom.offset = this.currentOffset;\n this.headroom.init();\n }\n\n get currentOffset() {\n const currentBreakpoint = Breakpoints.current();\n return this.offsets[currentBreakpoint.name];\n }\n}\n","import $ from 'jquery';\nimport Change from '../utils/Change';\n\nconst BREAKPOINT = 1024;\n\nexport default class HeaderlinksRelocate {\n constructor(element) {\n this.element = element;\n this.$element = $(element);\n this.$body = this.getBody();\n this.update();\n this.register();\n }\n\n register() {\n Change.onChange(this.update.bind(this));\n }\n\n update() {\n const mobileActive = this.$body.find('.flyout .headerlinks').length > 0;\n const desktopActive = this.$body.find('.toolbar .headerlinks').length > 0;\n if (($(window).outerWidth(true) < BREAKPOINT) && (desktopActive)) {\n this.$element.insertBefore(this.$body.find('#navigation'));\n } else if (($(window).outerWidth(true) >= BREAKPOINT) && (mobileActive)) {\n this.$element.prependTo(this.$body.find('.toolbar'));\n }\n this.$element.addClass('ready');\n return this;\n }\n\n getBody() { return $(document.body, this.context); }\n}\n","import $ from 'jquery';\n\nexport default class Sociallinks {\n constructor(element) {\n this.element = element;\n this.$element = $(element);\n this.init();\n }\n\n init() {\n this.element.querySelectorAll('.node-social-link').forEach((link) => {\n const $link = $(link);\n this.element.querySelectorAll('.node-content').forEach((content) => {\n content.querySelectorAll('a').forEach((aTag) => {\n if (!$(aTag).hasClass('ready')) {\n $(aTag).addClass('ready').wrapInner('');\n }\n });\n });\n if ($link.next().hasClass('node-content')) {\n $link.on('click', (event) => {\n event.preventDefault();\n $link.closest('li').siblings().find('a, .node-content').removeClass('expanded');\n $link.closest('li').siblings().find('.node-content').fadeOut();\n $link.toggleClass('expanded');\n $link.next('.node-content').toggleClass('expanded').fadeToggle();\n });\n }\n });\n }\n}\n","import $ from 'jquery';\nimport Change from '../utils/Change';\n\nconst defaults = {\n zoom: 0,\n speed: 0.5,\n};\n\nexport default class Parallax {\n constructor(element, options) {\n this.element = element;\n this.$element = $(this.element);\n this.settings = { ...defaults, ...options };\n this.bounds = {};\n this.register();\n this.update();\n }\n\n register() {\n Change.onChange(this.update.bind(this));\n }\n\n update() {\n this.bounds = this.element.getBoundingClientRect();\n // Continue to update component if it's within the viewport.\n if (this.elementIsOnScreen()) {\n const offset = window.pageYOffset * this.settings.speed;\n const props = {\n y: offset * this.settings.speed,\n z: offset * this.settings.zoom,\n };\n // ensure we don't go below a zero setting.\n if (props.y < 0) props.y = 0;\n if (props.z < 0) props.z = 0;\n // Zoom & move asset according to settings in 3d space.\n this.$element.css('transform', `translate3d(0, ${props.y}px, ${props.z}px)`);\n }\n }\n\n elementIsOnScreen() {\n return window.innerHeight - this.bounds.top >= 0 && this.bounds.bottom >= 0;\n }\n}\n","import Parallax from '../components/Parallax';\nimport BackgroundImage from '../core/BackgroundImage';\n\nexport default class Hero {\n constructor(element) {\n this.element = element;\n this.Parallax = this.addParallax();\n this.bgImg();\n this.ready();\n }\n\n addParallax() {\n let parallax = false;\n const parallaxElement = this.parallaxSelector;\n if (parallaxElement) {\n parallax = new Parallax(this.parallaxSelector);\n }\n return parallax;\n }\n\n bgImg() {\n const nodeHero = this.element.querySelector('.node-home-hero');\n if (nodeHero && !nodeHero.bgImage) {\n nodeHero.bgImage = new BackgroundImage(nodeHero, {\n sourceSelector: '.node-image img',\n destSelector: '.node-image',\n });\n }\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n\n get parallaxSelector() {\n return this.element.querySelector('figure.node-image');\n }\n}\n","import $ from 'jquery';\n\nconst defaults = {\n title: '.node-header h1',\n divider: '
',\n};\n\nfunction StringSplit(element, options) {\n this.element = element;\n this.$element = $(element);\n this.settings = Object.assign(defaults, options);\n this.init();\n this.ready();\n}\n\nStringSplit.prototype = {\n init() {\n // hack in differences in font size when a pipe is present\n $(this.settings.title, this.element).each((i, title) => {\n const html = $(title).html();\n if (/|/.test(html)) {\n const a = html.split(this.settings.divider);\n $(title).addClass('splitText').html(`${a[0]}${a[1]}`);\n }\n });\n },\n ready() {\n this.$element.addClass('ready');\n },\n};\n\nexport default StringSplit;\n","import StringSplit from '../core/StringSplit';\n\nexport default class Quicklinks {\n constructor(element) {\n this.element = element;\n this.strSplit();\n }\n\n strSplit() {\n setTimeout(() => {\n this.element.querySelectorAll('.node-home-quicklink').forEach((quicklink) => {\n if (!quicklink.strSplit) {\n quicklink.strSplit = new StringSplit(quicklink, {\n title: '.node-header a',\n divider: '
',\n });\n }\n });\n this.element.classList.add('ready');\n }, 200);\n }\n}\n","import $ from 'jquery';\n\nconst defaults = {\n date: undefined,\n month: undefined,\n day: undefined,\n year: undefined,\n start: undefined,\n end: undefined,\n postDate: false,\n};\n\nexport default class FixDates {\n constructor(element, options) {\n this.element = element;\n this.$element = $(element);\n this.settings = { ...defaults, ...options };\n this.fixDate();\n\n // Ready Component\n this.ready();\n }\n\n fixDate() {\n this.$element.find('.node-inner').prepend('
');\n const hasPostDate = this.$element.find('.post-date').length > 0;\n let hasEventDate = this.$element.find('.event-date').length > 0;\n if (hasEventDate) {\n this.$element.addClass('has-event-date');\n }\n const classDateContent = this.element.querySelector('.post-date time').childNodes[0].nodeValue;\n if (this.settings.postDate && hasPostDate && !hasEventDate && classDateContent) {\n this.extractDate(classDateContent);\n this.$element.find('.new-meta').html(`${this.settings.month}.${this.settings.day}.${this.settings.year}`);\n } else {\n hasEventDate = this.$element.find('.upcoming.first-upcoming time > span[class^=\"date-display-\"]').length > 0;\n if (hasEventDate) {\n const classEventContent = this.element.querySelector('.upcoming.first-upcoming time > span[class^=\"date-display-\"]').childNodes[0].nodeValue;\n this.extractDate(classEventContent);\n const hasTime = this.$element.find('.date-display-single > .date-display-start').length > 0;\n if (hasTime) {\n const classTimeStart = this.$element.find('.date-display-single > .date-display-start').first().text();\n const classTimeEnd = this.$element.find('.date-display-single > .date-display-end').first().text();\n this.extractStartTime(classTimeStart);\n this.extractEndTime(classTimeEnd);\n this.$element.find('.new-meta').html(`${this.settings.month}.${this.settings.day}.${this.settings.year}, ${this.settings.start}-${this.settings.end}`);\n } else {\n this.$element.find('.new-meta').html(`${this.settings.month}.${this.settings.day}.${this.settings.year}`);\n }\n this.$element.find('.new-meta').show();\n }\n }\n }\n\n extractDate(dateText) {\n const newDateArr = dateText.split(' ');\n const newMonth = newDateArr[0];\n this.abbrevMonth(newMonth);\n const newDay = newDateArr[1].substring(0, newDateArr[1].length - 1);\n this.settings.day = (newDay < 10) ? `0${newDay}` : newDay;\n this.settings.year = newDateArr[2].substring(0, newDateArr[2].length);\n }\n\n extractStartTime(timeText) {\n const newTimeArr = timeText.split(':');\n const newHour = newTimeArr[0];\n const temp = newTimeArr[1];\n let newMinute = (temp) ? temp.substring(0, 2) : '';\n const ampm = (temp) ? temp.substring(2, 4) : '';\n newMinute = (newMinute === '00') ? ampm : `:${newMinute}${ampm}`;\n this.settings.start = `${newHour}${newMinute}`;\n }\n\n extractEndTime(timeText) {\n const newTimeArr = timeText.split(':');\n const newHour = newTimeArr[0];\n const temp = newTimeArr[1];\n let newMinute = (temp) ? temp.substring(0, 2) : '';\n const ampm = (temp) ? temp.substring(2, 4) : '';\n newMinute = (newMinute === '00') ? ampm : `:${newMinute}${ampm}`;\n this.settings.end = `${newHour}${newMinute}`;\n }\n\n abbrevMonth(month) {\n let newMonth;\n switch (month) {\n case 'January': newMonth = '01'; break;\n case 'February': newMonth = '02'; break;\n case 'March': newMonth = '03'; break;\n case 'April': newMonth = '04'; break;\n case 'May': newMonth = '05'; break;\n case 'June': newMonth = '06'; break;\n case 'July': newMonth = '07'; break;\n case 'August': newMonth = '08'; break;\n case 'September': newMonth = '09'; break;\n case 'October': newMonth = '10'; break;\n case 'November': newMonth = '11'; break;\n case 'December': newMonth = '12'; break;\n default: newMonth = 'N/A';\n }\n this.settings.month = newMonth;\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import StringSplit from '../core/StringSplit';\nimport FixDate from '../core/FixDate';\nimport Slider from '../components/Slider';\n\nconst defaults = {\n wrapAround: true,\n pageDots: false,\n autoPlay: false,\n adaptiveHeight: false,\n arrowShape: 'M24.5,51.6v-3.2l19.6-19.6l3.2,3.2L31.5,47.8h44.1v4.5H31.5L47.2,68l-3.2,3.2L24.5,51.6z',\n groupCells: 1,\n responsive: {\n tablet: {\n groupCells: 2,\n },\n desktop: {\n groupCells: 3,\n },\n desktop_xl: {\n groupCells: 3,\n },\n },\n};\n\nexport default class WhatsNew {\n constructor(element) {\n this.element = element;\n this.settings = defaults;\n this.Slider = new Slider(this.container, this.settings);\n this.strSplit();\n this.fixDate();\n this.addPostType();\n this.ready();\n }\n\n strSplit() {\n this.element.querySelectorAll('.block-title').forEach((news) => {\n if (!news.strSplit) {\n news.strSplit = new StringSplit(news, {\n title: '.block-title-text',\n divider: '|',\n });\n }\n });\n }\n\n fixDate() {\n this.element.querySelectorAll('.node-home-whats-new').forEach((news) => {\n if (!news.fixDate) {\n news.fixDate = new FixDate(news, {\n postDate: true,\n });\n }\n });\n }\n\n addPostType() {\n this.element.querySelectorAll('.node-home-whats-new').forEach((news) => {\n const hasPostType = news.querySelector('.node-meta .post-type');\n if (hasPostType) {\n const postType = news.querySelector('.node-meta .post-type').innerHTML;\n const spanner = document.createElement('span');\n spanner.append(postType);\n if (news.querySelector('.date-time-rendered')) {\n const dateTime = news.querySelector('.date-time-rendered').innerHTML;\n news.querySelector('.date-time-rendered').innerHTML = ` / ${dateTime}`;\n news.querySelector('.date-time-rendered').prepend(spanner);\n }\n }\n });\n }\n\n get container() {\n return this.element.querySelector('.block-content');\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import BackgroundImage from '../core/BackgroundImage';\n\nexport default class PodBgImage {\n constructor(element) {\n this.element = element;\n this.bgImg();\n this.ready();\n }\n\n bgImg() {\n const node = this.element.querySelector('.node.node-home-pod-background-image');\n if (node && !node.bgImage) {\n node.bgImage = new BackgroundImage(node, {\n sourceSelector: 'figure img',\n destSelector: undefined,\n });\n }\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import StringSplit from '../core/StringSplit';\nimport BackgroundImage from '../core/BackgroundImage';\n\nexport default class Pods {\n constructor(element) {\n this.element = element;\n this.strSplit();\n this.bgImg();\n this.ready();\n }\n\n strSplit() {\n this.element.querySelectorAll('.block-title').forEach((news) => {\n if (!news.strSplit) {\n news.strSplit = new StringSplit(news, {\n title: '.block-title-text',\n divider: '|',\n });\n }\n });\n }\n\n bgImg() {\n const nodePod = this.element.querySelector('.node.node-home-pod');\n if (nodePod && !nodePod.bgImage) {\n nodePod.bgImage = new BackgroundImage(nodePod, {\n sourceSelector: '.field-image.c1 img',\n destSelector: '.node-image',\n });\n }\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import Slider from '../components/Slider';\n\nconst defaults = {\n wrapAround: true,\n pageDots: false,\n autoPlay: false,\n adaptiveHeight: false,\n arrowShape: 'M24.5,51.6v-3.2l19.6-19.6l3.2,3.2L31.5,47.8h44.1v4.5H31.5L47.2,68l-3.2,3.2L24.5,51.6z',\n groupCells: 1,\n};\n\nexport default class Testimonials {\n constructor(element) {\n this.element = element;\n this.settings = defaults;\n this.Slider = new Slider(this.container, this.settings);\n this.ready();\n }\n\n get container() {\n return this.element.querySelector('.block-content');\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import $ from 'jquery';\n\nconst defaults = {\n trim: false,\n};\n\nfunction Placeholder(element, options) {\n this.element = element;\n this.$element = $(element);\n this.settings = Object.assign(defaults, options);\n this.trim = this.settings.trim;\n this.init();\n}\n\nPlaceholder.prototype = {\n init() {\n let label = this.$element.find('label').text();\n if (label.length) {\n if (this.trim) {\n label = label.substring(0, label.indexOf(':'));\n this.$element.find('label').text(label);\n }\n this.$element.find('input').attr('placeholder', label);\n }\n },\n};\n\nexport default Placeholder;\n","import $ from 'jquery';\nimport StringSplit from '../core/StringSplit';\nimport Placeholder from '../components/Placeholder';\n// import Select2 from '../components/Select2';\n\nexport default class Connect {\n constructor(element) {\n this.element = element;\n this.placeholder();\n this.selectList();\n this.strSplit();\n this.ready();\n }\n\n strSplit() {\n this.element.querySelectorAll('.node-header').forEach((news) => {\n if (!news.strSplit) {\n news.strSplit = new StringSplit(news, {\n title: 'a',\n divider: '
',\n });\n }\n });\n }\n\n placeholder() {\n this.element.querySelectorAll('.type-textfield').forEach((textfield) => {\n if (textfield && !textfield.placeholder) {\n textfield.placeholder = new Placeholder(textfield, { trim: true });\n }\n });\n }\n\n selectList() {\n // this.element.querySelectorAll('.webform-component-select').forEach((form) => {\n // if (form && !form.selectList) {\n // form.selectList = new Select2(form, {\n // selectList: '#edit-submitted-program',\n // });\n // }\n // });\n $('#edit-submitted-program').wrap('
');\n $('#edit-submitted-program > option:first-child').text('Field of Study');\n return this;\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import $ from 'jquery';\n\nconst breakpoint = 1025;\n\nclass Viewport {\n constructor(_breakpoint) {\n this.breakpoint = _breakpoint || breakpoint;\n this.change = this.change.bind(this);\n this.ticking = false;\n this.addListeners();\n }\n\n // state {Boolean}\n setCurrentState(state) {\n this.mobileState = state;\n }\n\n getCurrentState() {\n return window.innerWidth < this.breakpoint;\n }\n\n update() {\n this.ticking = false;\n const currentState = this.getCurrentState();\n const previousState = this.mobileState;\n\n // Announce screen has changed\n if (this.changeCallbacks) {\n this.changeCallbacks.fire();\n }\n\n // Check to see if the view state has changed\n if (currentState !== previousState) {\n this.setCurrentState(currentState);\n\n // Announce screen has changed to mobile mode\n if (this.mobileCallbacks && this.mobileState) {\n this.mobileCallbacks.fire();\n }\n\n // Announce screen has changed to desktop mode\n if (this.desktopCallbacks && !this.mobileState) {\n this.desktopCallbacks.fire();\n }\n }\n }\n\n change() {\n this.requestTick();\n }\n\n requestTick() {\n if (!this.ticking) {\n requestAnimationFrame(this.update.bind(this));\n this.ticking = true;\n }\n }\n\n onMobileChange(callback) {\n if (!this.mobileCallbacks) {\n this.mobileCallbacks = $.Callbacks('memory');\n }\n this.mobileCallbacks.add(callback);\n return this;\n }\n\n onDesktopChange(callback) {\n if (!this.desktopCallbacks) {\n this.desktopCallbacks = $.Callbacks('memory');\n }\n this.desktopCallbacks.add(callback);\n return this;\n }\n\n onChange(callback) {\n if (!this.changeCallbacks) {\n this.changeCallbacks = $.Callbacks('memory');\n }\n this.changeCallbacks.add(callback);\n return this;\n }\n\n addListeners() {\n $(window).on('resize orientationchange', this.change);\n }\n}\n\n// Default viewport with default breakpoint setting.\nexport const viewport = new Viewport();\n\n// Export both the default and the class to reuse with alternate breakpoints.\nexport default Viewport;\n","import keyboard from 'keyboard-key';\nimport { viewport } from '../utils/Viewport';\n\nconst NAME_SPACE = 'jumpmenu';\n\nclass JumpMenu {\n constructor() {\n this.links = [];\n this.element = null;\n this.currentIndex = 0;\n }\n\n init(element) {\n // Assign this element to the element passed.\n this.element = element;\n\n // If a list and a button toggle aren't found, stop.\n if (!this.list || !this.toggle) return;\n\n // Continue...\n this.build();\n this.listen();\n this.ready();\n }\n\n build() {\n // Assign attributes to the toggle button.\n this.toggle.classList.add(`${NAME_SPACE}__toggle`);\n this.toggle.setAttribute('aria-haspopup', true);\n this.toggle.setAttribute('aria-expanded', false);\n\n // Assign attributes to the list.\n this.list.classList.add(`${NAME_SPACE}__list`);\n this.list.setAttribute('role', 'menu');\n }\n\n listen() {\n this.element.addEventListener('focusout', this.focusOutHandler.bind(this));\n this.element.addEventListener('keydown', this.keydownHandler.bind(this));\n this.toggle.addEventListener('click', this.clickHandler.bind(this));\n viewport.onDesktopChange(this.desktopStateHandler.bind(this));\n viewport.onMobileChange(this.mobileStateHandler.bind(this));\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n\n move(event) {\n event.preventDefault();\n return this;\n }\n\n addJumpLink(obj) {\n this.links.push(obj);\n }\n\n focusOutHandler(event) {\n if (!this.element.contains(event.relatedTarget)) {\n setTimeout(() => {\n this.close();\n }, 500);\n }\n }\n\n keydownHandler(event) {\n const pressed = keyboard.getCode(event);\n const next = viewport.mobileState ? keyboard.ArrowDown : keyboard.ArrowRight;\n const prev = viewport.mobileState ? keyboard.ArrowUp : keyboard.ArrowLeft;\n\n switch (pressed) {\n case next:\n event.preventDefault();\n this.updateSelection(this.currentIndex + 1);\n break;\n case prev:\n event.preventDefault();\n this.updateSelection(this.currentIndex - 1);\n break;\n case keyboard.Escape:\n this.close();\n break;\n default: break;\n }\n }\n\n updateSelection(index) {\n // Set currentIndex based on passed in value.\n this.index = index;\n\n // Focus active element based on currentIndex.\n this.options[this.currentIndex].focus();\n }\n\n clickHandler(event) {\n // Prevent default behavior of interactive components.\n event.preventDefault();\n\n // Get reference to the currently expanded state.\n const expanded = this.toggle.getAttribute('aria-expanded') === 'true';\n\n // Alter expanded state based on aria attribute currently set.\n this.toggle.setAttribute('aria-expanded', !expanded);\n\n // If we're expanding the menu, focus the first link.\n if (this.toggle === event.currentTarget && !expanded) {\n this.updateSelection(0);\n }\n }\n\n mobileStateHandler() {\n this.list.setAttribute('aria-orientation', 'vertical');\n this.close();\n }\n\n desktopStateHandler() {\n this.list.setAttribute('aria-orientation', 'horizontal');\n this.open();\n }\n\n open() {\n this.toggle.setAttribute('aria-expanded', true);\n }\n\n close() {\n this.toggle.setAttribute('aria-expanded', false);\n }\n\n set index(value) {\n if (value >= this.total) {\n this.currentIndex = 0;\n } else if (value < 0) {\n this.currentIndex = this.total - 1;\n } else {\n this.currentIndex = value;\n }\n }\n\n get index() {\n return this.currentIndex;\n }\n\n get total() {\n return this.options.length;\n }\n\n get toggle() {\n return this.element.querySelector('button');\n }\n\n get list() {\n return this.element.querySelector('ul');\n }\n\n get options() {\n return this.list.querySelectorAll('a');\n }\n}\n\nexport default new JumpMenu();\n","import JumpMenu from '../components/JumpMenu';\n\nexport default class Session {\n constructor() {\n // Use the imported blocks config.\n this.addJumpMenu();\n }\n\n addJumpMenu() {\n // Initialize our jumpmenu\n this.jumpmenu = document.querySelector('.jumpmenu');\n if (this.jumpmenu) {\n JumpMenu.init(this.jumpmenu);\n }\n }\n}\n","import $ from 'jquery';\n\nconst defaults = {\n selector: '.node-inner',\n linkLocation: '.link-read-more a',\n};\n\nfunction Redirect(element, options) {\n this.$element = $(element);\n this.settings = Object.assign(defaults, options);\n this.click = this.click.bind(this);\n this.listen();\n}\n\nRedirect.prototype = {\n listen() {\n this.$element.find(this.settings.selector).on('click', this.click);\n },\n click(event) {\n event.preventDefault();\n event.stopPropagation();\n const url = $(event.currentTarget).find(this.settings.linkLocation).attr('href');\n window.location.href = url;\n },\n};\n\nexport default Redirect;\n","import Redirect from '../core/Redirect';\n\nexport default class SessionColumns {\n constructor(element) {\n this.element = element;\n this.redirect();\n this.ready();\n }\n\n redirect() {\n this.element.querySelectorAll('.node-session-column').forEach((elem) => {\n if (!elem.redirect) {\n elem.redirect = new Redirect(elem, {\n selector: '.node-inner',\n linkLocation: '.node-header a',\n });\n }\n });\n }\n\n ready() {\n setTimeout(() => {\n this.element.classList.add('ready');\n }, 300);\n }\n}\n","import $ from 'jquery';\nimport BackgroundImage from '../core/BackgroundImage';\n\nexport default class SessionMedia {\n constructor(element) {\n this.element = element;\n this.bgImg();\n this.videoLink();\n this.ready();\n }\n\n bgImg() {\n this.element.querySelectorAll('.node-session-media').forEach((elem) => {\n if (!elem.bgImg) {\n elem.bgImg = new BackgroundImage(elem, {\n sourceSelector: 'figure.node-image img',\n destSelector: 'figure.node-image',\n });\n }\n });\n }\n\n videoLink() {\n this.element.querySelectorAll('.node-session-media.has-video').forEach((elem) => {\n $(elem).find('.title a').on('click', (event) => {\n event.preventDefault();\n $(elem).find('.video-wrapper > a')[0].click();\n });\n });\n }\n\n ready() {\n setTimeout(() => {\n this.element.classList.add('ready');\n }, 300);\n }\n}\n","import BackgroundImage from '../core/BackgroundImage';\n\nexport default class Pods {\n constructor(element) {\n this.element = element;\n this.bgImg();\n this.ready();\n }\n\n bgImg() {\n this.element.querySelectorAll('.node-session-pod').forEach((elem) => {\n if (!elem.bgImg) {\n elem.bgImg = new BackgroundImage(elem, {\n sourceSelector: 'figure img',\n destSelector: 'figure',\n });\n }\n });\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import FixDate from '../core/FixDate';\nimport Slider from '../components/Slider';\n\nconst defaults = {\n wrapAround: true,\n pageDots: false,\n autoPlay: false,\n adaptiveHeight: false,\n arrowShape: 'M24.5,51.6v-3.2l19.6-19.6l3.2,3.2L31.5,47.8h44.1v4.5H31.5L47.2,68l-3.2,3.2L24.5,51.6z',\n responsive: {\n tablet: {\n groupCells: 2,\n },\n desktop: {\n groupCells: 3,\n },\n desktop_xl: {\n groupCells: 3,\n },\n },\n};\n\nexport default class WhatsHappening {\n constructor(element) {\n this.element = element;\n this.settings = defaults;\n this.Slider = new Slider(this.container, this.settings);\n this.fixDate();\n this.addPostType();\n this.ready();\n }\n\n fixDate() {\n this.element.querySelectorAll('.node-session-whats-happening').forEach((news) => {\n if (!news.fixDate) {\n news.fixDate = new FixDate(news, {\n postDate: true,\n });\n }\n });\n }\n\n addPostType() {\n this.element.querySelectorAll('.node-session-whats-happening').forEach((news) => {\n const hasPostType = news.querySelector('.node-meta .post-type');\n if (hasPostType) {\n const postType = news.querySelector('.node-meta .post-type').innerHTML;\n const spanner = document.createElement('span');\n spanner.append(postType);\n const dateTime = news.querySelector('.date-time-rendered').innerHTML;\n news.querySelector('.date-time-rendered').innerHTML = ` / ${dateTime}`;\n news.querySelector('.date-time-rendered').prepend(spanner);\n }\n });\n }\n\n get container() {\n return this.element.querySelector('.block-content');\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import Placeholder from '../components/Placeholder';\n\nexport default class SessionInfoForm {\n constructor(element) {\n this.element = element;\n this.placeholder();\n this.getPath();\n this.ready();\n }\n\n placeholder() {\n this.element.querySelectorAll('.type-textfield').forEach((textfield) => {\n if (textfield && !textfield.placeholder) {\n textfield.placeholder = new Placeholder(textfield, { trim: true });\n }\n });\n }\n\n getPath() {\n const hasPathField = document.getElementById('edit-submitted-path');\n if (hasPathField) {\n document.getElementById('edit-submitted-path').setAttribute('value', window.location.pathname);\n }\n return this;\n }\n\n ready() {\n this.element.classList.add('ready');\n }\n}\n","import Slider from '../components/Slider';\n\nconst settings = {\n wrapAround: true,\n pageDots: false,\n arrowShape: 'M24.5,51.6v-3.2l19.6-19.6l3.2,3.2L31.5,47.8h44.1v4.5H31.5L47.2,68l-3.2,3.2L24.5,51.6z',\n};\n\nexport default class SessionTestimonials {\n constructor(element) {\n this.element = element;\n this.Slider = new Slider(this.container, settings);\n this.element.classList.add('ready');\n }\n\n get container() {\n return this.element.querySelector('.block-content');\n }\n}\n","const defaults = {\n copyElement: '#node-2980-teaser',\n};\n\nexport default class CustomPopup {\n constructor(element, options) {\n this.element = element;\n this.settings = Object.assign(defaults, options);\n\n this.copyAndDisplay();\n }\n\n copyAndDisplay() {\n const originalElement = document.querySelector(this.settings.copyElement);\n const ctaBtn = this.element;\n const originalElementParent = originalElement.parentNode;\n\n const ctaPopup = document.createElement('div');\n ctaPopup.id = 'cta-popup';\n\n const copiedElementContainer = document.createElement('div');\n copiedElementContainer.id = 'copiedElement';\n copiedElementContainer.appendChild(originalElement);\n originalElementParent.remove();\n\n ctaPopup.appendChild(copiedElementContainer);\n document.body.appendChild(ctaPopup);\n\n ctaBtn.addEventListener('click', (event) => {\n event.preventDefault();\n ctaPopup.style.display = 'flex';\n });\n\n ctaPopup.addEventListener('click', (event) => {\n if (event.target === ctaPopup) {\n ctaPopup.style.display = 'none';\n }\n });\n }\n}\n","import 'focus-visible';\nimport Drupal from './core/Drupal';\nimport DDTemplates from './core/DDTemplates';\nimport CalendarFeed from './core/CalendarFeed';\nimport FixNavigation from './core/FixNavigation';\nimport TermNavigation from './core/TermNavigation';\nimport FetchSourceImages from './core/FetchSourceImages';\nimport Sticky from './utils/Sticky';\nimport Navigation from './components/Navigation';\nimport AccordionWrap from './core/AccordionWrap';\nimport AccordionFix from './core/AccordionFix';\nimport AccordionContainer from './core/AccordionContainer';\nimport BackgroundImage from './core/BackgroundImage';\n// Header Functionality\nimport Toolbar from './header/Toolbar';\nimport Headroom from './components/Headroom';\nimport RelocateHeaderlinks from './core/RelocateHeaderlinks';\n// Footer Functionality\nimport SocialLinks from './footer/SocialLinks';\n// Homepage functionality\nimport Hero from './home/Hero';\nimport Quicklinks from './home/Quicklinks';\nimport WhatsNew from './home/WhatsNew';\nimport PodBgImage from './home/PodBgImage';\nimport Pods from './home/Pods';\nimport Testimonials from './home/Testimonials';\nimport Connect from './home/Connect';\n// Session Template functionality\nimport Session from './session/Session';\nimport SessionColumns from './session/SessionColumns';\nimport SessionMedia from './session/SessionMedia';\nimport SessionPods from './session/SessionPods';\nimport SessionWhatsHappening from './session/SessionWhatsHappening';\nimport SessionInfoForm from './session/SessionInfoForm';\nimport SessionTestimonials from './session/SessionTestimonials';\nimport CtaPopup from './core/CtaPopup';\n\n// ----------------------------------------------------------------------------\n// Homepage Specific Behaviors.\n// ----------------------------------------------------------------------------\n\nconst homeBehaviors = () => {\n // Hero Block\n document.querySelectorAll('.home-hero.block').forEach((element) => {\n if (!element.Hero) {\n element.Hero = new Hero(element);\n }\n });\n\n // Quicklinks Block\n document.querySelectorAll('.home-quicklinks.block').forEach((element) => {\n if (!element.Quicklinks) {\n element.Quicklinks = new Quicklinks(element);\n }\n });\n\n // What's New Block\n document.querySelectorAll('.home-whats-new.block').forEach((element) => {\n if (!element.WhatsNew) {\n element.WhatsNew = new WhatsNew(element);\n }\n });\n\n // Pod Background Image Block\n document.querySelectorAll('.home-pod-background-image.block').forEach((element) => {\n if (!element.PodBgImage) {\n element.PodBgImage = new PodBgImage(element);\n }\n });\n\n // Pod Background Image Block\n document.querySelectorAll('.home-pods.block').forEach((element) => {\n if (!element.Pods) {\n element.Pods = new Pods(element);\n }\n });\n\n // Testimonials Block\n document.querySelectorAll('.home-testimonials.block').forEach((element) => {\n if (!element.Testimonials) {\n element.Testimonials = new Testimonials(element);\n }\n });\n\n // Connect Block\n document.querySelectorAll('.home-connect.block').forEach((element) => {\n if (!element.Connect) {\n element.Connect = new Connect(element);\n }\n });\n};\n\n// ----------------------------------------------------------------------------\n// Session Template Specific Behaviors.\n// ----------------------------------------------------------------------------\n\nconst sessionBehaviors = () => {\n if (!document.body.Session) {\n document.body.Session = new Session();\n }\n\n // Session: Media\n document.querySelectorAll('.session-columns.block').forEach((element) => {\n if (!element.SessionColumns) {\n element.SessionColumns = new SessionColumns(element);\n }\n });\n\n // Session: Media\n document.querySelectorAll('.session-media.block').forEach((element) => {\n if (!element.SessionMedia) {\n element.SessionMedia = new SessionMedia(element);\n }\n });\n\n // Session: Pods\n document.querySelectorAll('.session-pods.block').forEach((element) => {\n if (!element.SessionPods) {\n element.SessionPods = new SessionPods(element);\n }\n });\n\n // Session: What's Happening\n document.querySelectorAll('.session-whats-happening.block').forEach((element) => {\n if (!element.SessionWhatsHappening) {\n element.SessionWhatsHappening = new SessionWhatsHappening(element);\n }\n });\n\n // Session: Info Form\n document.querySelectorAll('.session-info-form.block').forEach((element) => {\n if (!element.SessionInfoForm) {\n element.SessionInfoForm = new SessionInfoForm(element);\n }\n });\n\n // Session: Testimonials\n document.querySelectorAll('.session-testimonials.block').forEach((element) => {\n if (!element.SessionTestimonials) {\n element.SessionTestimonials = new SessionTestimonials(element);\n }\n });\n};\n\n// ----------------------------------------------------------------------------\n// Core Theme Behaviors.\n// ----------------------------------------------------------------------------\n\nconst coreBehaviors = () => {\n // DD Template Behaviors\n if (!document.body.DDTemplates) {\n document.body.DDTemplates = new DDTemplates();\n }\n\n // Fix our damn menus from displaying orphaned children\n document.querySelectorAll('.main-navigation, .term-navigation').forEach((element) => {\n if (!element.FixNavigation) {\n element.FixNavigation = new FixNavigation(element);\n }\n });\n\n // Sticky sidebars\n document.querySelectorAll('.page-sidebar').forEach((element) => {\n if (!element.Sticky) {\n element.Sticky = new Sticky(element);\n }\n });\n\n // Main Navigation\n document.querySelectorAll('#nice-menu-3').forEach((element) => {\n if (!element.Navigation) {\n element.Navigation = new Navigation(element);\n }\n });\n\n document.addEventListener('click', (event) => {\n if (!event.target.matches('.overlay')) return;\n event.preventDefault();\n document.body.classList.remove('menu-active');\n }, false);\n\n // Controls the states of the menu and search states\n document.querySelectorAll('.toolbar').forEach((element) => {\n if (!element.Toolbar) {\n element.Toolbar = new Toolbar(element);\n }\n });\n\n // Fixed Header using Headroom.js\n document.querySelectorAll('.headroom').forEach((element) => {\n if (!element.Headroom) {\n element.Headroom = new Headroom(element);\n }\n });\n\n // Relocate headerlinks based on media query\n const headerlinks = document.querySelector('.headerlinks-wrapper');\n if (headerlinks && !headerlinks.relocate) {\n headerlinks.relocate = new RelocateHeaderlinks(headerlinks);\n }\n\n // Term Navigation\n document.querySelectorAll('.term-navigation').forEach((element) => {\n if (!element.TermNavigation) {\n element.TermNavigation = new TermNavigation(element);\n }\n });\n\n // Calendar of Events View\n document.querySelectorAll('.calendar-feed').forEach((element) => {\n if (!element.CalendarFeed) {\n element.CalendarFeed = new CalendarFeed(element);\n }\n });\n\n // Wraps each accordion element\n document.querySelectorAll('.accordion-heading').forEach((element) => {\n if (!element.accordionWrap) {\n element.accordionWrap = new AccordionWrap(element);\n element.accordionWrap = new AccordionFix(element);\n }\n });\n\n // Wraps each accordion in a container\n document.querySelectorAll('.node-content').forEach((element) => {\n if (!element.accordionContainer) {\n setTimeout(() => {\n element.accordionContainer = new AccordionContainer(element);\n }, 300);\n }\n });\n\n // Footer: Social Links\n document.querySelectorAll('.footer-social-links.block').forEach((element) => {\n if (!element.SocialLinks) {\n element.SocialLinks = new SocialLinks(element);\n }\n });\n\n document.querySelectorAll('.pt6, .pt160, .pt161').forEach((element) => {\n const hasImage = element.querySelector('.node-upper-image img') !== null;\n element.classList.add('hasImage');\n if (!element.bgImg && hasImage) {\n element.bgImg = new BackgroundImage(element, {\n sourceSelector: '.node-upper-image img',\n destSelector: '.node-upper-image',\n });\n }\n });\n\n document.querySelectorAll('.cta-popup').forEach((element) => {\n if (!element.ctaPopup) {\n element.ctaPopup = new CtaPopup(element, {\n copyElement: '.popup-form',\n });\n }\n });\n};\n\n// ----------------------------------------------------------------------------\n// Load homepage behaviors if we're on the frontpage.\n// ----------------------------------------------------------------------------\n\nif (document.body.classList.contains('front')) {\n Drupal.behavior(homeBehaviors);\n}\n\n// ----------------------------------------------------------------------------\n// Load session template behaviors if we're on the frontpage.\n// ----------------------------------------------------------------------------\n\nif (document.body.classList.contains('ttv-std-4')) {\n Drupal.behavior(sessionBehaviors);\n}\n\n// ----------------------------------------------------------------------------\n// Load core behaviors.\n// ----------------------------------------------------------------------------\n\nDrupal.behavior(coreBehaviors);\n\n// ----------------------------------------------------------------------------\n// If we're in development mode...\n// Open up all missing images within a new tab/window.\n// ----------------------------------------------------------------------------\n\nif (process.env.NODE_ENV === 'development') {\n document.body.FetchSourceImages = new FetchSourceImages();\n}\n"],"sourceRoot":""}