{"time":"2026-01-01T00:49:57.277Z","specifics":"<script>\n\n(function(){\ntry{\n/** file: addSearchboxInstructions.js */\n\"use strict\";\n\nfunction addSearchboxInstructions(searchInput) {\n  let announcementMessage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"Results or suggestions will be displayed as they become available. Continue navigating to access them.\";\n  const newSpan = createSrOnlyElement();\n  newSpan.id = \"instructions\";\n  newSpan.textContent = announcementMessage;\n  searchInput.insertAdjacentElement(\"afterend\", newSpan);\n  searchInput.setAttribute(\"aria-describedby\", \"instructions\");\n}\n/** file: applyMenuAttributes.js */\n\"use strict\";\n\nfunction applyMenuAttributes(menu) {\n  menu.setAttribute(\"data-acsb-m-menu\", \"ul\");\n  menu.setAttribute(\"data-acsb-fake-menu\", \"true\");\n}\n/** file: applyMenuItemAttributes.js */\n\"use strict\";\n\nfunction applyMenuItemAttributes(menuItem) {\n  let {\n    alternativeMenu = true\n  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  if (alternativeMenu) {\n    forceAlternativeDropdown(menuItem);\n  }\n  menuItem.setAttribute(\"role\", \"menuitem\");\n  menuItem.setAttribute(\"data-acsb-menu-root\", \"true\");\n  menuItem.setAttribute(\"data-acsb-m-menu\", \"li\");\n  menuItem.setAttribute(\"data-acsb-menu\", \"li\");\n  menuItem.setAttribute(\"data-acsb-dropdown-container\", \"true\");\n}\n/** file: chatButtonAccessible.js */\n\"use strict\";\n\nfunction accessChatButton(iframe, skipLinks) {\n  let chatButtonSelector = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n  let chatButtonTabHandler = arguments.length > 3 ? arguments[3] : undefined;\n  const iframeDocument = iframe.contentDocument || iframe.contentWindow.document;\n  const chatButton = iframeDocument.querySelector(\"\".concat(chatButtonSelector ? chatButtonSelector : \"#mountHere\", \" button\"));\n  const skipLinksContainer = skipLinks.shadowRoot.querySelector(\".skip-links\");\n  const skipLink = skipLinksContainer.querySelector(\"div\");\n  const clone = skipLink.cloneNode(true);\n  const link = clone.querySelector(\"a\");\n  link.addEventListener(\"keydown\", event => {\n    if (event.key === \"Enter\") {\n      chatButton.focus();\n      chatButton.setAttribute(\"data-acsb-focused\", \"true\");\n      chatButton.style.borderColor = \"#639af9\";\n    }\n  });\n  link.addEventListener(\"click\", () => {\n    chatButton.focus();\n    chatButton.setAttribute(\"data-acsb-focused\", \"true\");\n    chatButton.style.borderColor = \"#639af9\";\n  });\n  if (chatButtonTabHandler) {\n    chatButton.addEventListener(\"keydown\", event => {\n      if (event.code === \"Tab\" && !event.shiftKey) {\n        event.preventDefault();\n        chatButtonTabHandler();\n      }\n    });\n  }\n  link.childNodes[0].textContent = \"Skip to Chat\";\n  link.href = chatButtonSelector ? chatButtonSelector : \"#gorgias-chat-container\";\n  skipLinksContainer.appendChild(clone);\n}\n/** file: connectMenuToMenuItem.js */\n\"use strict\";\n\nfunction connectMenuToMenuItem(_ref) {\n  let {\n    menuItem,\n    menu,\n    applyWrappingMenuItem = false,\n    alternativeMenu = true,\n    removeOriginalMenu = true\n  } = _ref;\n  let currentMenuItem = menuItem;\n  if (applyWrappingMenuItem) {\n    currentMenuItem = wrappMenuItem(menuItem);\n  }\n  const clonedMenu = menu.cloneNode(true);\n  currentMenuItem.appendChild(clonedMenu);\n  applyMenuItemAttributes(currentMenuItem, {\n    alternativeMenu\n  });\n  if (removeOriginalMenu) {\n    menu.remove();\n  }\n  return clonedMenu;\n}\nfunction wrappMenuItem(menuItem) {\n  const div = document.createElement(\"div\");\n  menuItem.before(div);\n  const clonedMenuItem = menuItem.cloneNode(true);\n  div.appendChild(clonedMenuItem);\n  menuItem.remove();\n  applyMenuItemAttributes(div);\n  return div;\n}\nfunction forceAlternativeDropdown(listItem) {\n  const fakeMenu1 = document.createElement(\"div\");\n  const fakeMenu2 = document.createElement(\"div\");\n  fakeMenu1.setAttribute(\"data-acsb-menu\", \"ul\");\n  fakeMenu2.setAttribute(\"data-acsb-menu\", \"ul\");\n  listItem.appendChild(fakeMenu1);\n  listItem.appendChild(fakeMenu2);\n}\n/** file: createLiveRegion.js */\n\"use strict\";\n\nfunction createLiveRegion(ariaLive, container) {\n  const span = document.createElement(\"span\");\n  span.className = \"acsb-sr-only\";\n  span.setAttribute(\"data-acsb-force-visible\", \"true\");\n  if (ariaLive) {\n    span.setAttribute(\"aria-live\", ariaLive);\n  }\n  if (container) {\n    container.append(span);\n  }\n  return span;\n}\n/** file: createSrOnlyElement.js */\n\"use strict\";\n\nfunction createSrOnlyElement() {\n  const srOnlyElement = document.createElement(\"span\");\n  srOnlyElement.style.position = \"absolute\";\n  srOnlyElement.style.width = \"1px\";\n  srOnlyElement.style.height = \"1px\";\n  srOnlyElement.style.padding = \"0\";\n  srOnlyElement.setAttribute(\"data-acsb-force-visible\", \"true\");\n  srOnlyElement.style.margin = \"-1px\";\n  srOnlyElement.style.overflow = \"hidden\";\n  srOnlyElement.style.clip = \"rect(0, 0, 0, 0)\";\n  srOnlyElement.style.whiteSpace = \"nowrap\";\n  srOnlyElement.style.borderWidth = \"0\";\n  srOnlyElement.setAttribute(\"data-acsb-force-visible\", \"true\");\n  return srOnlyElement;\n}\n/** file: forceNavigable.js */\n\"use strict\";\n\nfunction forceNavigable(element) {\n  element.setAttribute(\"data-acsb-now-navigable\", \"true\");\n  element.setAttribute(\"data-acsb-navigable\", \"true\");\n  element.setAttribute(\"data-acsb-force-navigable\", \"true\");\n  element.setAttribute(\"tabindex\", \"0\");\n}\n/** file: forceUnnavigable.js */\n\"use strict\";\n\nfunction forceUnnavigable(el) {\n  el.setAttribute(\"tabindex\", \"-1\");\n  el.setAttribute(\"data-acsb-force-unnavigable\", \"true\");\n  el.setAttribute(\"data-acsb-navigable\", \"false\");\n  el.setAttribute(\"data-acsb-now-navigable\", \"false\");\n}\n/** file: isMobile.js */\n\"use strict\";\n\nfunction isMobile() {\n  var _navigator, _window, _navigator2, _navigator3;\n  const userAgent = navigator.userAgent || ((_navigator = navigator) === null || _navigator === void 0 ? void 0 : _navigator.vendor) || ((_window = window) === null || _window === void 0 ? void 0 : _window.opera);\n  const isMobileUserAgent = /android|iphone|ipad|ipod|blackberry|bb|playbook|iemobile|opera mini|webos|windows phone/i.test(userAgent);\n  const hasTouchSupport = \"ontouchstart\" in window || navigator.maxTouchPoints && navigator.maxTouchPoints > 0 || ((_navigator2 = navigator) === null || _navigator2 === void 0 ? void 0 : _navigator2.msMaxTouchPoints) && ((_navigator3 = navigator) === null || _navigator3 === void 0 ? void 0 : _navigator3.msMaxTouchPoints) > 0;\n  const isSmallScreen = window.matchMedia(\"(max-width: 768px)\").matches;\n  const isPortrait = window.matchMedia(\"(orientation: portrait)\").matches;\n  const isCoarsePointer = window.matchMedia(\"(pointer: coarse)\").matches;\n  const noHover = window.matchMedia(\"(hover: none)\").matches;\n  const likelyMobile = isMobileUserAgent || hasTouchSupport && (isSmallScreen || isPortrait) || isCoarsePointer || noHover;\n  return likelyMobile;\n}\n/** file: profileEnabledInterval.js */\n\"use strict\";\n\nfunction profileEnabledInterval(profile, cb) {\n  let {\n    interval = 1000,\n    clearAfterTimeout = true,\n    timeout = 15000\n  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n  const intervalId = setInterval(() => {\n    var _acsbState$actions;\n    const acsbState = JSON.parse(localStorage.acsbState || \"{}\");\n    if (acsbState !== null && acsbState !== void 0 && (_acsbState$actions = acsbState.actions) !== null && _acsbState$actions !== void 0 && (_acsbState$actions = _acsbState$actions[profile]) !== null && _acsbState$actions !== void 0 && _acsbState$actions.enabled) {\n      try {\n        const shouldClear = cb();\n        if (shouldClear) {\n          clearInterval(intervalId);\n        }\n      } catch (error) {\n        clearInterval(intervalId);\n        window.dispatchEvent(new CustomEvent(\"acsbWidgetSpecificsError\", {\n          detail: error\n        }));\n      }\n    }\n  }, interval);\n  if (clearAfterTimeout) {\n    setTimeout(() => {\n      clearInterval(intervalId);\n    }, timeout);\n  }\n}\n\n/** file: fix-descriptive-label-of-cta-links.js */\n(function(){\ntry{\n\"use strict\";\n\nif (window.location.pathname === \"/\") {\n  AJS.events.on(window, \"acsbActionEnabling\", function (e) {\n    if (e.detail.action === \"keyNav\") {\n      var _document$querySelect;\n      (_document$querySelect = document.querySelector(\".page-wrap\")) === null || _document$querySelect === void 0 || _document$querySelect.setAttribute(\"data-acsb\", \"\");\n    }\n  });\n  profileEnabledInterval(\"accessMode\", () => {\n    const learnHowLink = document.querySelector(\"a.button[href='/work-with-arthur']\");\n    const readMoreLink = document.querySelector(\"a.button[href='/about']\");\n    const learnMoreLink = document.querySelector(\"a.button[href='/higher-education']\");\n    if (learnHowLink && readMoreLink && learnMoreLink) {\n      setTimeout(() => {\n        learnHowLink.setAttribute(\"aria-label\", \"Learn how to be happier\");\n        readMoreLink.setAttribute(\"aria-label\", \"Read more about Arthur Brooks\");\n        learnMoreLink.setAttribute(\"aria-label\", \"Learn more about higher education\");\n      }, 1000);\n      return true;\n    }\n  });\n}\n}catch(ex){}\n})();\n/** file: fix-filter-controls.js */\n(function(){\ntry{\n\"use strict\";\n\nif (window.location.pathname.includes(\"/press-media\")) {\n  profileEnabledInterval(\"accessMode\", () => {\n    const checkboxInputs = document.querySelectorAll(\".cms-content__filters input\");\n    if (checkboxInputs.length > 0) {\n      const checkboxObserver = new MutationObserver(mutationsList => {\n        mutationsList.forEach(_ref => {\n          let {\n            target,\n            attributeName\n          } = _ref;\n          if (attributeName === \"role\" && target.getAttribute(\"role\") !== \"checkbox\") {\n            target.setAttribute(\"role\", \"checkbox\");\n          } else if (attributeName === \"tabindex\" && target.getAttribute(\"tabindex\") !== \"0\") {\n            target.setAttribute(\"tabindex\", \"0\");\n          }\n        });\n      });\n      const form = checkboxInputs[0].closest(\"form\");\n      if (form) {\n        setTimeout(() => {\n          form.removeAttribute(\"aria-label\");\n        }, 1000);\n      }\n      checkboxInputs.forEach(checkbox => {\n        checkbox.style.setProperty(\"appearance\", \"none\", \"important\");\n        checkbox.style.setProperty(\"min-width\", \"0px\", \"important\");\n        checkbox.style.setProperty(\"max-width\", \"0px\", \"important\");\n        checkbox.style.setProperty(\"width\", \"0px\", \"important\");\n        checkbox.style.setProperty(\"min-height\", \"0px\", \"important\");\n        checkbox.style.setProperty(\"max-height\", \"0px\", \"important\");\n        checkbox.style.setProperty(\"height\", \"0px\", \"important\");\n        checkbox.setAttribute(\"tabindex\", \"-1\");\n        checkbox.setAttribute(\"aria-hidden\", \"true\");\n        const labelElement = checkbox.nextElementSibling;\n        if (!labelElement) {\n          return;\n        }\n        checkboxObserver.observe(labelElement, {\n          attributes: true,\n          attributeFilter: [\"role\", \"tabindex\"]\n        });\n        labelElement.setAttribute(\"role\", \"checkbox\");\n        forceNavigable(labelElement);\n        labelElement.setAttribute(\"aria-checked\", \"false\");\n        labelElement.setAttribute(\"aria-disabled\", \"false\");\n        labelElement.addEventListener(\"click\", () => {\n          if (labelElement.getAttribute(\"aria-checked\") !== \"true\") {\n            labelElement.setAttribute(\"aria-checked\", \"true\");\n            labelElement.setAttribute(\"aria-disabled\", \"true\");\n          }\n          setTimeout(() => {\n            labelElement.focus();\n          }, 0);\n        });\n      });\n      return true;\n    }\n  });\n}\n}catch(ex){}\n})();\n/** file: fix-learn-menu-item-escape-key-event.js */\n(function(){\ntry{\n\"use strict\";\n\nprofileEnabledInterval(\"accessMode\", () => {\n  const navMenuDropdowns = document.querySelectorAll(\".nav.is--hp .dropdown.w-dropdown\");\n  if (navMenuDropdowns.length === 0) {\n    return false;\n  }\n  const dropDownObserver = new MutationObserver(mutationsList => {\n    mutationsList.forEach(_ref => {\n      let {\n        target,\n        attributeName\n      } = _ref;\n      if (attributeName === \"aria-haspopup\" || attributeName === \"data-acsb-menu-focused\" || attributeName === \"data-acsb-show-dd\") {\n        target.removeAttribute(attributeName);\n      } else if (attributeName === \"role\" && target.tagName === \"NAV\") {\n        if (target.getAttribute(\"role\") !== \"presentation\") {\n          target.setAttribute(\"role\", \"presentation\");\n          target.removeAttribute(\"aria-label\");\n        }\n      }\n    });\n  });\n  navMenuDropdowns.forEach(dropdown => {\n    const triggerElement = dropdown.querySelector(\".dropdown-toggle\");\n    const subMenu = dropdown.querySelector(\".dropdown-container\");\n    if (!triggerElement || !subMenu) {\n      return;\n    }\n    dropDownObserver.observe(dropdown, {\n      attributes: true,\n      attributeFilter: [\"aria-haspopup\", \"data-acsb-menu-focused\", \"data-acsb-show-dd\", \"role\"],\n      subtree: true\n    });\n    if (triggerElement.parentElement && triggerElement.parentElement.tagName === \"NAV\") {\n      triggerElement.parentElement.setAttribute(\"role\", \"presentation\");\n    }\n    dropdown.removeAttribute(\"data-acsb-menu-focused\");\n    dropdown.removeAttribute(\"data-acsb-show-dd\");\n    triggerElement.removeAttribute(\"aria-haspopup\");\n    triggerElement.addEventListener(\"focusin\", event => {\n      event.preventDefault();\n      event.stopImmediatePropagation();\n      triggerElement.setAttribute(\"aria-expanded\", \"false\");\n      if (triggerElement.parentElement && triggerElement.parentElement.tagName === \"NAV\") {\n        triggerElement.parentElement.setAttribute(\"role\", \"presentation\");\n        triggerElement.parentElement.removeAttribute(\"aria-label\");\n      }\n    });\n    setTimeout(() => {\n      if (triggerElement.hasAttribute(\"aria-label\")) {\n        triggerElement.removeAttribute(\"aria-label\");\n      }\n    }, 1000);\n    const closeSubMenuDropdown = () => {\n      dropdown.style.removeProperty(\"z-index\");\n      triggerElement.classList.remove(\"w--open\");\n      subMenu.classList.remove(\"w--open\");\n      triggerElement.setAttribute(\"aria-expanded\", \"false\");\n      triggerElement.focus();\n    };\n    dropdown.addEventListener(\"keydown\", event => {\n      if (event.code === \"Escape\") {\n        closeSubMenuDropdown();\n      }\n    });\n    triggerElement.addEventListener(\"keydown\", event => {\n      if (event.code === \"Enter\" || event.code === \"Space\") {\n        const isExpanded = triggerElement.getAttribute(\"aria-expanded\") === \"true\";\n        if (isExpanded) {\n          closeSubMenuDropdown();\n        } else {\n          dropdown.style.setProperty(\"z-index\", \"901\");\n          triggerElement.classList.add(\"w--open\");\n          subMenu.classList.remove(\"acsb-hidden\");\n          subMenu.classList.add(\"w--open\");\n          triggerElement.setAttribute(\"aria-expanded\", \"true\");\n        }\n      }\n    });\n  });\n  return true;\n});\n}catch(ex){}\n})();\n/** file: fix-selected-announced-for-all-tabs.js */\n(function(){\ntry{\n\"use strict\";\n\nif (window.location.pathname.includes(\"/contact\")) {\n  profileEnabledInterval(\"accessMode\", () => {\n    const formsSelectorWrapperElement = document.querySelector(\".forms-selector__wrapper\");\n    if (formsSelectorWrapperElement) {\n      const observer = new MutationObserver(mutationsList => {\n        mutationsList.forEach(_ref => {\n          let {\n            target\n          } = _ref;\n          if (target.classList.contains(\"form-selector\")) {\n            target.setAttribute(\"aria-selected\", target.classList.contains(\"active\"));\n          }\n        });\n      });\n      observer.observe(formsSelectorWrapperElement, {\n        attributes: true,\n        attributeFilter: [\"class\"],\n        subtree: true\n      });\n      formsSelectorWrapperElement.querySelectorAll(\".form-selector\").forEach(el => {\n        el.setAttribute(\"aria-selected\", el.classList.contains(\"active\"));\n      });\n      const formsWrapper = formsSelectorWrapperElement.nextElementSibling;\n      if (formsWrapper) {\n        const contactForms = formsWrapper.querySelectorAll(\".contact-form\");\n        contactForms.forEach(form => {\n          form.setAttribute(\"data-acsb\", \"\");\n          form.removeAttribute(\"data-acsb-hidden\");\n        });\n      }\n      return true;\n    }\n  });\n}\n}catch(ex){}\n})();\n/** file: fix-skip-to-menu.js */\n(function(){\ntry{\n\"use strict\";\n\nprofileEnabledInterval(\"accessMode\", () => {\n  const navigationElement = document.querySelector(\".nav.is--hp\");\n  if (navigationElement) {\n    navigationElement.setAttribute(\"data-acsb-main-menu\", \"true\");\n    navigationElement.setAttribute(\"aria-label\", \"Main Menu\");\n    setTimeout(() => {\n      navigationElement.removeAttribute(\"role\");\n    }, 1000);\n    return true;\n  }\n});\n}catch(ex){}\n})();\n\n}catch(ex){}\n})();\n\n</script><style>\n\n</style>","addonAnalytics":true,"blockMeta":false,"blockImages":false,"blockStyles":false,"blockTextSimplifier":false,"widgetSettings":{"consistentHelpData":[],"disableBgProcess":false,"footerHtml":"","hideComponents":[],"hideMobile":false,"hideTrigger":true,"language":"en","leadColor":"#146ff8","mobile":{"triggerOffsetX":3,"triggerOffsetY":3,"triggerPositionX":"right","triggerPositionY":"bottom","triggerRadius":"50%","triggerSize":"medium","triggerIcon":"people"},"position":"left","remoteAnalytics":true,"statementLink":"","statementVariant":"default","triggerColor":"#146FF8","triggerIcon":"people","triggerOffsetX":20,"triggerOffsetY":20,"triggerPositionX":"left","triggerPositionY":"bottom","triggerRadius":"50%","triggerSize":"small"},"featureFlags":{"text-simplifier":false}}