{"version":3,"file":"application-0Org9jcN.js","sources":["../../../app/frontend/controllers/application/accordion_controller.js","../../../app/frontend/controllers/application/cookie_consent_controller.js","../../../app/frontend/controllers/application/field_list_controller.js","../../../app/frontend/controllers/application/flash_controller.js","../../../app/frontend/controllers/application/form_focus_controller.js","../../../app/frontend/controllers/application/form_progress_controller.js","../../../app/frontend/controllers/application/input_reset_controller.js","../../../app/frontend/controllers/application/loading_controller.js","../../../app/frontend/controllers/application/menu_controller.js","../../../app/frontend/controllers/application/modal_controller.js","../../../app/frontend/controllers/application/other_input_controller.js","../../../app/frontend/controllers/application/page_navigation_controller.js","../../../app/frontend/controllers/application/password_check_controller.js","../../../app/frontend/controllers/application/password_toggle_controller.js","../../../app/frontend/controllers/application/print_controller.js","../../../app/frontend/controllers/application/progress_circle_controller.js","../../../app/frontend/controllers/application/session_controller.js","../../../app/frontend/controllers/application/sidebar_controller.js","../../../app/frontend/controllers/application/sidebar_menu_controller.js","../../../app/frontend/controllers/application/time_zone_controller.js","../../../app/frontend/controllers/application/toggle_input_controller.js","../../../app/frontend/utilities/getQueryParam.js","../../../app/frontend/controllers/application/wistia_video_controller.js","../../../app/frontend/controllers/application/index.js"],"sourcesContent":["import { Controller } from 'stimulus';\n\nexport default class extends Controller {\n static targets = ['item', 'trigger']\n\n /**\n * toggles the open/closed state of the accordion items\n *\n */\n toggleState() {\n this.itemTargets.forEach(item => {\n item.classList.toggle(this.toggleClass);\n });\n }\n\n /**\n * Retrieves the class to toggle\n * @return {String} The class to toggle on the accordion items\n */\n get toggleClass() {\n return this.data.get('class');\n }\n}\n","import { Controller } from 'stimulus';\n\nconst CLASSES = {\n 'ACTIVE': 'cookie-consent--active'\n}\n\nexport default class CookieConsentController extends Controller {\n cookieKey = '_pcrt_cookies_consented';\n\n connect() {\n this.init();\n }\n\n /**\n * Handle clicking cookie consent trigger\n */\n handleTriggerClick() {\n this.consent();\n }\n\n /**\n * Initialize consent data\n */\n init() {\n if (!this.hasCookie()) {\n this.show();\n }\n }\n\n /**\n * Set the consent cookie and hide the consent module\n */\n consent() {\n this.setCookie();\n this.hide();\n }\n\n /**\n * Show the cookie module\n */\n show() {\n this.element.classList.add(CLASSES.ACTIVE);\n }\n\n /**\n * Hide the cookie module\n */\n hide() {\n this.element.classList.remove(CLASSES.ACTIVE);\n }\n\n /**\n * Checks cookies for cookie-consent\n */\n hasCookie() {\n return document.cookie.split(';').filter((item) => item.includes(`${this.cookieKey}=`)).length > 0;\n }\n\n /**\n * Sets the cookie-consent cookie\n */\n setCookie() {\n let expire = new Date(new Date().setFullYear(new Date().getFullYear() + 1)).toGMTString();\n\n document.cookie = `${this.cookieKey}=true;expires=${expire};path=/`;\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the selectors used in this controller\n *\n * @property SELECTORS\n * @type {Object}\n * @private\n */\nconst SELECTORS = {\n 'INPUT_WRAPPER': '.field__option',\n};\n\n/**\n * A reference to the classes used in this controller\n *\n * @property CLASSES\n * @type {Object}\n * @private\n */\nconst CLASSES = {\n 'ACTIVE': 'field__option--selected',\n};\n\nexport default class extends Controller {\n static targets = ['input'];\n\n connect() {\n this.toggleInputs();\n }\n\n toggleInputs() {\n this.inputTargets.forEach(t => {\n t.closest(SELECTORS.INPUT_WRAPPER).classList.toggle(CLASSES.ACTIVE, t.checked);\n });\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the classes used in this controller\n *\n * @property CLASSES\n * @type {Object}\n * @private\n */\nconst CLASSES = {\n 'FADED': 'flash--faded',\n};\n\nexport default class extends Controller {\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n const showLength = 5000;\n\n setTimeout(() => {\n this.hide();\n }, showLength);\n }\n\n /**\n * Hides modal on page\n *\n * @method hide\n * @public\n */\n hide() {\n requestAnimationFrame(() => {\n this.element.classList.add(CLASSES.FADED);\n });\n }\n}\n","import { Controller } from 'stimulus';\n\nconst SELECTORS = {\n FORM_OPTION: '.field__option',\n ACTION_BAR: '.action-bar'\n}\n\nconst CLASSES = {\n FIELD_OPTION_FOCUSED: 'field__option--focused'\n};\n\nconst EVENTS = {\n 'FOCUS': 'focus',\n 'FOCUSIN': 'focusin',\n 'BLUR': 'blur'\n};\n\n/**\n * Controller to handle various form states\n */\nexport default class extends Controller {\n connect() {\n this.initHandlers();\n this.setOffset();\n }\n\n disconnect() {\n this.destroyHandlers();\n }\n\n /**\n * Options for scrollintoview\n * @type {ScrollIntoViewOptions}\n */\n scrollOptions = { block: 'nearest' }\n\n /**\n * Returns a list of form inputs from the current form instance\n */\n get formOptions() {\n return this.element.querySelectorAll(SELECTORS.FORM_OPTION);\n }\n\n get actionBar() {\n return this.element.querySelector(SELECTORS.ACTION_BAR);\n }\n\n /**\n * Attach listeners to field option inputs\n */\n initHandlers() {\n this.formOptions.forEach(option => {\n const input = this.getFormOptionInput(option);\n\n if (input) {\n input.addEventListener(EVENTS.FOCUS, () => this.handleOptionFocus(option));\n input.addEventListener(EVENTS.BLUR, () => this.handleOptionBlur(option));\n }\n });\n\n this.element.addEventListener(EVENTS.FOCUSIN, e => this.handleFormFocus(e));\n }\n\n setOffset() {\n let offset = 0;\n\n if (this.actionBar) {\n offset = this.actionBar.clientHeight;\n }\n\n this.offset = offset;\n }\n\n /**\n * Remove listeners from field option inputs\n */\n destroyHandlers() {\n this.formOptions.forEach(option => {\n const input = this.getFormOptionInput(option);\n\n if (input) {\n input.removeEventListener(EVENTS.FOCUS, this.handleOptionFocus(option));\n input.removeEventListener(EVENTS.BLUR, this.handleOptionBlur(option));\n }\n });\n }\n\n /**\n * Parse form option and retrieve affected input element\n * @param {HTMLElement} option field option of type checkbox or radio\n * @returns {HTMLInputElement} input element\n */\n getFormOptionInput(option) {\n return option.querySelector('input[type=\"checkbox\"], input[type=\"radio\"]');\n }\n /**\n * Returns true if element is offscreen\n * @param {HTMLElement} el \n */\n isElementOffscreen(el) {\n const rect = el.getBoundingClientRect();\n\n const offscreenTop = rect.top < window.pageYOffset;\n const offscreenBottom = rect.bottom > (window.innerHeight - this.offset);\n \n return offscreenTop || offscreenBottom;\n }\n\n handleFormFocus(e) {\n const el = e.target;\n const isOffscreen = this.isElementOffscreen(el);\n\n if (isOffscreen) {\n el.scrollIntoView(this.scrollOptions);\n }\n }\n\n handleOptionFocus(option) {\n if (!option) return;\n\n option.classList.add(CLASSES.FIELD_OPTION_FOCUSED);\n }\n\n handleOptionBlur(option) {\n if (!option) return;\n\n option.classList.remove(CLASSES.FIELD_OPTION_FOCUSED);\n }\n}\n","import { Controller } from 'stimulus';\n\nexport default class extends Controller {\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n const step = parseInt(this.data.get('step'), 10);\n const totalSteps = parseInt(this.data.get('totalSteps'), 10);\n\n this.calculateProgress(step, totalSteps);\n }\n\n /**\n * Calculate percent complete based on current\n * step and total steps\n *\n * @method calculateProgress\n * @param {int} step\n * @param {int} totalSteps\n * @public\n */\n calculateProgress(step, totalSteps) {\n const percentComplete = (step / totalSteps) * 100;\n\n this.setFormProgress(percentComplete);\n }\n\n /**\n * Set correct width of progress bar based on\n * percent complete\n *\n * @method setFormProgress\n * @param {int} percentComplete\n * @public\n */\n setFormProgress(percentComplete) {\n this.element.style.width = `${percentComplete}%`;\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the events used in this view\n */\nconst EVENTS = {\n 'CHANGE': 'change',\n};\n\nexport default class extends Controller {\n static targets = ['trigger', 'pnta']\n\n /**\n * Stimulus method called when controller\n * is initialized\n *\n * @method initialize\n * @public\n */\n initialize() {\n this.onHandleChange = e => this.handleChange(e);\n }\n\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n this.element.addEventListener(EVENTS.CHANGE, this.onHandleChange);\n }\n\n /**\n * Stimulus method called when controller\n * is disconnected to the DOM\n *\n * @method disconnect\n * @public\n */\n disconnect() {\n this.element.removeEventListener(EVENTS.CHANGE, this.onHandleChange);\n }\n\n /**\n * Calls methods on change event\n *\n * @method handleChange\n * @param {Event} e\n * @public\n */\n handleChange(e) {\n this.handleTrigger(e);\n this.handlePnta(e);\n }\n\n /**\n * Calls reset with appropriate elements\n *\n * @method handleTrigger\n * @param {Event} e\n * @public\n */\n handleTrigger(e) {\n if (this.hasTriggerTarget && this.triggerTargets.includes(e.target)) {\n this.reset(this.resettableElements.filter(el => el !== e.target));\n }\n }\n\n /**\n * Calls reset with appropriate elements\n *\n * @method handlePnta\n * @param {Event} e\n * @public\n */\n handlePnta(e) {\n if (this.hasPntaTarget) {\n if (this.pntaTarget === e.target) {\n this.reset(this.resettableElements.filter(el => el !== e.target));\n } else {\n this.reset(this.pntaTargets);\n }\n }\n }\n\n /**\n * Loops through resetable inputs and dispatches events\n *\n * @method reset\n * @param {Array} Elements\n * @public\n */\n reset(elements) {\n elements.forEach(el => {\n if (el.tagName.toLowerCase() === 'input'){\n this[el.type](el);\n } else {\n this[el.tagName.toLowerCase()](el);\n }\n\n el.dispatchEvent(new Event(EVENTS.CHANGE));\n });\n }\n\n /**\n * Reset checkbox input\n *\n * @method checkbox\n * @param {Object} Input\n * @public\n */\n checkbox(input) {\n if (input.checked === true) {\n input.checked = false;\n }\n }\n\n /**\n * Reset hidden input\n *\n * @method hidden\n * @param {Object} Input\n * @public\n */\n hidden(input) {\n input.value = '';\n }\n\n /**\n * Reset radio input\n *\n * @method radio\n * @param {Object} Input\n * @public\n */\n radio(input) {\n input.checked = false;\n }\n\n /**\n * Reset select input\n *\n * @method select\n * @param {Object} Input\n * @public\n */\n select(input) {\n input.selectedIndex = 0;\n }\n\n /**\n * Reset text input\n *\n * @method text\n * @param {Object} Input\n * @public\n */\n text(input) {\n input.value = '';\n }\n\n /**\n * Reset textarea input\n *\n * @method textarea\n * @param {Object} Input\n * @public\n */\n textarea(input) {\n input.value = '';\n }\n\n /**\n * Retrieves array of resettable elements\n * @return {Array} Elements\n */\n get resettableElements() {\n const selector = 'input:not([type=\"submit\"]):not([type=\"hidden\"]), select, textarea';\n\n return Array.from(this.element.querySelectorAll(selector));\n }\n}\n","import { Controller } from 'stimulus';\n\nconst CLASSES = {\n 'HIDDEN': 'hidden',\n};\n\nexport default class extends Controller {\n static targets = ['button', 'loader']\n defaultSeconds = 2;\n\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n if (this.fetchOnLoad) {\n this.loadingFetch();\n }\n }\n\n /**\n * Send fetch request\n *\n * @method loadingFetch\n * @public\n */\n loadingFetch() {\n const startTime = Date.now();\n\n fetch(this.url, {\n 'method': this.method,\n 'headers': {\n 'X-CSRF-Token': this.csrfToken,\n 'Content-Type': 'application/json',\n },\n })\n .then(response => {\n if (response.ok) {\n setTimeout(() => {\n response.json().then(data => {\n Turbo.visit(data.url, { action: 'replace' });\n });\n }, this.timeLeft(startTime));\n } else {\n response.json().then(data => {\n Turbo.visit(data.url, { action: 'replace' });\n });\n }\n });\n }\n\n /**\n * Hide button, show loader, and resend fetch request\n *\n * @method resubmit\n * @public\n */\n resubmit() {\n this.buttonTarget.classList.add(CLASSES.HIDDEN);\n this.loaderTarget.classList.remove(CLASSES.HIDDEN);\n this.loadingFetch();\n }\n\n /**\n * Retrieves the url to fetch\n * @return {String} Url\n */\n get url() {\n return this.data.get('url');\n }\n\n /**\n * Returns true if fetch on page load\n * @return {Boolean} fetch-on-load\n */\n get fetchOnLoad() {\n return this.data.get('fetch-on-load') === 'true';\n }\n\n /**\n * Retrieves the method for the fetch\n * @return {String} method\n */\n get method() {\n return this.data.get('method') || 'POST';\n }\n\n /**\n * Retrieves the CSRF token for the fetch\n * @return {String} method\n */\n get csrfToken() {\n return document.querySelector(\"[name='csrf-token']\").content;\n }\n\n /**\n * Retrieves seconds to run if set in data attribute\n * @return {String} minLoadTime\n */\n get minLoadTime() {\n return (this.data.get('min-load-time') || this.defaultSeconds) * 1000;\n }\n\n /**\n * Returns calculated time left to show the loader animation\n * @return {String} timeLeft\n */\n timeLeft(startTime) {\n const currentTime = Date.now();\n const elapsedTime = currentTime - startTime;\n const timeLeft = this.minLoadTime - elapsedTime;\n\n return timeLeft > 0 ? timeLeft : 0;\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * Constant referencing menu classes\n */\nconst CLASSES = {\n active: 'menu--active',\n}\n\n/**\n * Menu\n * Controller for basic toggling of a menu component\n */\nexport default class extends Controller {\n static targets = ['activator'];\n /**\n * active state of the menu\n */\n active = false;\n\n connect() {\n window.addEventListener('click', this.handleWindowClick.bind(this));\n\n this.initActivator();\n }\n\n disconnect() {\n window.removeEventListener('click', this.handleWindowClick.bind(this));\n }\n\n /**\n * Handle clicking window when menu is opened\n * @param {Event} e \n */\n handleWindowClick(e) {\n if (this.active) {\n this.toggleActive(e);\n }\n }\n\n /**\n * Initialize activator events\n */\n initActivator() {\n this.activatorTarget.addEventListener('click', e => e.stopPropagation());\n }\n\n /**\n * Toggle the active state of the menu\n */\n toggleActive() {\n this.active = !this.active;\n\n this.element.classList.toggle(CLASSES.active);\n\n this.toggleActivator();\n }\n\n /**\n * toggle activator-target-class on the activator target\n */\n toggleActivator() {\n if (this.data.has('activatorClass')) {\n this.activatorTarget.classList.toggle(this.data.get('activatorClass'));\n }\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the classes used in this controller\n *\n * @property CLASSES\n * @type {Object}\n * @private\n */\nconst CLASSES = {\n 'NO_SCROLL': 'no-scroll',\n 'SHOW': 'modal--show',\n};\n\n/**\n * A reference to the selectors used in this controller\n *\n * @property SELECTORS\n * @type {Object}\n * @private\n */\nconst SELECTORS = {\n 'MODAL': '.modal',\n 'FOCUSABLE': `\n a[href]:not([tabindex^=\"-\"]),\n area[href]:not([tabindex^=\"-\"]),\n input:not([type=\"hidden\"]):not([type=\"radio\"]):not([disabled]):not([tabindex^=\"-\"]),\n input[type=\"radio\"]:not([disabled]):not([tabindex^=\"-\"]):checked,\n select:not([disabled]):not([tabindex^=\"-\"]),\n textarea:not([disabled]):not([tabindex^=\"-\"]),\n button:not([disabled]):not([tabindex^=\"-\"]),\n iframe:not([tabindex^=\"-\"]),\n audio[controls]:not([tabindex^=\"-\"]),\n video[controls]:not([tabindex^=\"-\"]),\n [contenteditable]:not([tabindex^=\"-\"]),\n [tabindex]:not([tabindex^=\"-\"])\n `,\n};\n\n/**\n * A reference to the events used in this controller\n *\n * @property KEYS\n * @type {Object}\n * @private\n */\nconst EVENTS = {\n 'FOCUS': 'focus',\n 'KEYDOWN': 'keydown',\n};\n\n/**\n * A reference to the keys used in this controller\n *\n * @property KEYS\n * @type {Object}\n * @private\n */\nconst KEYS = {\n 'TAB': 'Tab',\n 'ESCAPE': 'Escape',\n};\n\nexport default class extends Controller {\n static targets = ['content']\n\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n this.shown = false;\n this.previouslyFocused = null;\n this.onHandleKeyDown = e => this.handleKeyDown(e);\n this.onHandleFocus = e => this.handleFocus(e);\n }\n\n /**\n * Shows modal on page\n *\n * @method show\n * @public\n */\n show() {\n // If the dialog is already open, abort\n if (this.shown) {\n return;\n }\n\n document.documentElement.classList.add(CLASSES.NO_SCROLL);\n document.body.classList.add(CLASSES.NO_SCROLL);\n\n // Keep a reference to the currently focused element to be able to restore\n // it later\n this.previouslyFocused = document.activeElement;\n\n this.contentTarget.classList.add(CLASSES.SHOW);\n this.contentTarget.removeAttribute('aria-hidden');\n this.shown = true;\n\n this.connectKeyboardEvents();\n\n setTimeout(() => {\n this.updateFocusableElements();\n this.focusFirst();\n }, 1);\n }\n\n /**\n * Hides modal on page\n *\n * @method hide\n * @public\n */\n hide() {\n // If the dialog is already closed, abort\n if (!this.shown) {\n return;\n }\n\n document.documentElement.classList.remove(CLASSES.NO_SCROLL);\n document.body.classList.remove(CLASSES.NO_SCROLL);\n\n this.shown = false;\n this.contentTarget.classList.remove(CLASSES.SHOW);\n this.contentTarget.setAttribute('aria-hidden', true);\n\n this.disconnectKeyboardEvents();\n\n // If there was a focused element before the dialog was opened\n // (and it has a `focus` method), restore the focus back to it\n if (this.previouslyFocused && this.previouslyFocused.focus) {\n this.previouslyFocused.focus();\n }\n }\n\n /**\n * Attaches event listeners for keys and focus\n *\n * @method connectKeyboardEvents\n * @public\n */\n connectKeyboardEvents() {\n document.addEventListener(EVENTS.KEYDOWN, this.onHandleKeyDown);\n document.body.addEventListener(EVENTS.FOCUS, this.onHandleFocus, true);\n }\n\n /**\n * Removes event listeners for keys and focus\n *\n * @method disconnectKeyboardEvents\n * @public\n */\n disconnectKeyboardEvents() {\n document.removeEventListener(EVENTS.KEYDOWN, this.onHandleKeyDown);\n document.body.removeEventListener(EVENTS.FOCUS, this.onHandleFocus, true);\n }\n\n /**\n * Updates the internal set of visible focusable elements within the modal\n *\n * @method updateFocusableElements\n * @public\n */\n updateFocusableElements() {\n const modal = this.element.querySelector(SELECTORS.MODAL);\n\n const focusables = Array.from(modal.querySelectorAll(SELECTORS.FOCUSABLE)).filter(element => {\n return !!(\n element.offsetWidth ||\n element.offsetHeight ||\n element.getClientRects().length\n );\n });\n\n this.firstFocusable = focusables[0];\n this.lastFocusable = focusables[focusables.length - 1];\n }\n\n /**\n * Handles focus events\n * Handles trapping for tabbing outside of modal context\n *\n * @method handleFocus\n * @param {Event} e\n * @public\n */\n handleFocus(e) {\n const outsideModal = e.target.closest(SELECTORS.MODAL) === null;\n\n if (outsideModal) {\n this.focusFirst();\n }\n }\n\n /**\n * Sets focus to first focusable item in modal\n *\n * @method focusFirst\n * @public\n */\n focusFirst() {\n this.firstFocusable.focus();\n }\n\n /**\n * Sets focus to last focusable item in modal\n *\n * @method focusLast\n * @public\n */\n focusLast() {\n this.lastFocusable.focus();\n }\n\n /**\n * Handle keydown events\n *\n * @method handleKeyDown\n * @param {Event} e\n * @public\n */\n handleKeyDown(e) {\n // If the dialog is shown and the ESCAPE key is being pressed, prevent any\n // further effects from the ESCAPE key and hide the dialog, unless its role\n // is 'alertdialog', which should be modal\n if (\n this.shown &&\n e.key === KEYS.ESCAPE &&\n !this.isAlertDialog()\n ) {\n e.preventDefault();\n this.hide();\n }\n\n // If the dialog is shown and the TAB key is being pressed, make sure the\n // focus stays trapped within the dialog element\n if (this.shown && e.key === KEYS.TAB) {\n this.trapTabKey(e);\n }\n }\n\n /**\n * Handles trapping for tab events\n *\n * @method trapTabKey\n * @param {Event} e\n * @public\n */\n trapTabKey(e) {\n this.updateFocusableElements();\n\n if (!e.shiftKey && e.target === this.lastFocusable) {\n e.preventDefault();\n this.focusFirst();\n } else if (e.shiftKey && e.target === this.firstFocusable) {\n e.preventDefault();\n this.focusLast();\n }\n }\n\n /**\n * Calls hide on background click\n * if role is not alertdialog\n *\n * @method backgroundClick\n * @public\n */\n backgroundClick() {\n if (!this.isAlertDialog) {\n this.hide();\n }\n }\n\n /**\n * Returns true if role is alertdialog\n * @return {Boolean} alertdialog\n */\n get isAlertDialog() {\n return this.contentTarget.getAttribute('role') === 'alertdialog'\n }\n}\n","import { Controller } from 'stimulus';\n\nconst KEYS = {\n 'ARROW_UP': 'ArrowUp',\n 'ARROW_DOWN': 'ArrowDown',\n 'TAB': 'Tab'\n};\n\nconst EVENTS = {\n 'KEYUP': 'keyup',\n 'KEYDOWN': 'keydown',\n 'CHANGE': 'change',\n 'DESELECT': 'deselect',\n 'MOUSEUP': 'mouseup'\n};\n\nexport default class extends Controller {\n connect() {\n this.attachInputEvents();\n this.attachOptionEvents();\n }\n\n disconnect() {\n this.destroyInputEvents();\n this.destroyOptionEvents();\n }\n\n /**\n * A reference to the primary other text input\n * @type {HTMLInputElement} Text input\n */\n get input() {\n return this.element;\n }\n\n /**\n * A reference to the outer Label element\n * @type {HTMLLabelElement} Input Label\n */\n get label() {\n return this.input.closest('.field__option label');\n }\n\n /**\n * Returns first input within the label\n * @type {HTMLInputElement}\n */\n get optionInput() {\n return this.label.querySelector('input[type=\"checkbox\"], input[type=\"radio\"]');\n }\n\n /**\n * Returns option list inputs in an array\n * @type {Array}\n */\n get allOptionInputs() {\n return Array.from(\n this.label.closest('.field__options')\n .querySelectorAll('.field__option input[type=\"checkbox\"], .field__option input[type=\"radio\"]')\n );\n }\n\n /**\n * Returns option inputs that arent part of the `other` input\n * @type {Array}\n */\n get otherOptionInputs() {\n return this.allOptionInputs.filter(input => input !== this.optionInput);\n }\n\n /**\n * Returns true if the Custom Input is a radio\n * @type {boolean}\n */\n get isRadio() {\n return this.optionInput.type === 'radio';\n }\n\n /**\n * Returns true if the Custom Input is a checkbox\n * @type {boolean}\n */\n get isCheckbox() {\n return this.optionInput.type === 'checkbox';\n }\n\n /**\n * Returns true if the option input is checked\n * @type {boolean}\n */\n get isChecked() {\n return this.optionInput.checked;\n }\n\n /**\n * Returns true if the text input has value\n * @type {boolean}\n */\n get hasValue() {\n return this.input.value.length > 0;\n }\n\n /**\n * Check e.key against passed in key\n * @param {*} e \n * @param {Keys} key \n */\n isKey(e, key) {\n return e.key === key;\n }\n\n /**\n * Checks if key is an arrow key\n * @param {KeyboardEvent} e \n */\n isArrowKey(e) {\n return this.isKey(e, KEYS['ARROW_DOWN'])\n || this.isKey(e, KEYS['ARROW_UP']);\n }\n\n /**\n * Checks if key is tab key\n * @param {KeyboardEvent} e \n */\n isTabKey(e) {\n return this.isKey(e, KEYS['TAB']);\n }\n\n initInputHandlers() {\n this.onHandleInputKeys = e => this.handleInputKeys(e);\n }\n\n initOptionHandlers() {\n this.onHandleOptionKeys = e => this.handleOptionKeys(e);\n this.onHandleOptionDeselect = () => this.handleOptionDeselect();\n this.onHandleOptionState = () => this.handleOptionState();\n }\n\n initOtherOptionHandlers() {\n this.onHandleOtherOptionChange = () => this.handleOtherOptionChange();\n }\n\n /**\n * Attach events to text input\n */\n attachInputEvents() {\n this.initInputHandlers();\n\n this.input.addEventListener(EVENTS.KEYUP, this.onHandleInputKeys);\n }\n\n /**\n * Attach events to option input\n */\n attachOptionEvents() {\n this.initOptionHandlers();\n\n this.optionInput.addEventListener(EVENTS.KEYDOWN, this.onHandleOptionKeys);\n this.optionInput.addEventListener(EVENTS.DESELECT, this.onHandleOptionDeselect);\n this.optionInput.addEventListener(EVENTS.CHANGE, this.onHandleOptionState);\n\n this.attachOtherOptionEvents();\n }\n\n /**\n * Attach events to a list of other option inputs\n */\n attachOtherOptionEvents() {\n this.initOtherOptionHandlers();\n\n this.otherOptionInputs.forEach(input => {\n input.addEventListener(EVENTS.CHANGE, this.onHandleOtherOptionChange);\n });\n }\n /**\n * Destroy events on text input\n */\n destroyInputEvents() {\n this.input.removeEventListener(EVENTS.KEYUP, this.onHandleInputKeys);\n }\n\n /**\n * Destroy events on option input\n */\n destroyOptionEvents() {\n this.optionInput.removeEventListener(EVENTS.KEYDOWN, this.onHandleOptionKeys);\n this.optionInput.removeEventListener(EVENTS.DESELECT, this.onHandleOptionDeselect);\n this.optionInput.removeEventListener(EVENTS.CHANGE, this.onHandleOptionState);\n\n this.destroyOtherOptionEvents();\n }\n\n /**\n * Destroy events on other options\n */\n destroyOtherOptionEvents() {\n this.otherOptionInputs.forEach(input => {\n input.removeEventListener(EVENTS.CHANGE, this.onHandleOtherOptionChange);\n });\n }\n\n /**\n * Handle user clicking on input label wrapper\n */\n handleOptionState() {\n if (this.hasValue && !this.isChecked) {\n this.clearInput();\n }\n\n if (this.isChecked) {\n this.focusInput();\n }\n }\n\n /**\n * Handle User keystrokes inside text input\n * @param {KeyboardEvent} e \n */\n handleInputKeys(e) {\n if (this.hasValue\n && !this.isChecked\n && !this.isTabKey(e)\n && !this.isArrowKey(e))\n {\n this.setOptionChecked(true);\n }\n }\n\n /**\n * Handle custom deselect event, fired on keystrokes usually\n */\n handleOptionDeselect() {\n this.clearInput();\n }\n\n /**\n * Handle change events for other options in the list (not the current option input)\n */\n handleOtherOptionChange() {\n if (this.hasValue && this.isRadio) {\n this.clearInput();\n }\n }\n\n /**\n * Handle user keystrokes when focused on optionInput\n * @param {KeyboardEvent} e \n */\n handleOptionKeys(e) {\n // if user hits arrow keys on radio, fire deselect on this option, clear input\n if (this.isRadio && this.isArrowKey(e)) {\n this.fireDeselectEvent();\n }\n\n // if user hits tab on checkbox, fire deselect on this option\n if (this.isCheckbox && this.isTabKey(e) && !this.isChecked) {\n this.fireDeselectEvent();\n }\n }\n\n /**\n * Sets the value of the option input\n * @param {boolean} val \n */\n setOptionChecked(val) {\n this.optionInput.checked = val;\n this.updateOption();\n }\n\n focusInput() {\n setTimeout(() => {\n this.input.focus();\n }, 10);\n }\n\n /**\n * Fires a change event on the option to trigger class update\n */\n updateOption() {\n this.optionInput.dispatchEvent(new Event(EVENTS.CHANGE));\n }\n\n /**\n * Fires a `deselect` event on the option\n */\n fireDeselectEvent() {\n this.optionInput.dispatchEvent(new Event(EVENTS.DESELECT));\n }\n\n /**\n * Clear out text input\n */\n clearInput() {\n this.input.value = '';\n }\n}\n","import { Controller } from 'stimulus';\n\nexport default class extends Controller {\n static targets = ['link']\n\n connect() {\n this.lastScrollY = window.pageYOffset;\n this.offset = this.element.offsetTop;\n this.scrolling = false;\n\n this.toggleSticky();\n }\n\n handleScrollEvent() {\n this.lastScrollY = window.pageYOffset;\n\n if (!this.scrolling) {\n window.requestAnimationFrame(() => {\n this.toggleSticky();\n this.scrolling = false;\n });\n \n this.scrolling = true;\n }\n }\n\n /**\n * Fires when clicking links in page navigation\n * @param {MouseEvent} e \n */\n handleAnchorClick(e) {\n const anchor = e.currentTarget;\n const sectionId = anchor.hash;\n\n if (!sectionId) {\n return;\n }\n\n e.preventDefault();\n\n this.scrollToSection(sectionId); \n this.activateAnchor(anchor);\n }\n\n get isSticky() {\n return this.lastScrollY >= this.offset;\n }\n\n /**\n * Activate a clicked anchor and deactivate all others\n * @param {HTMLElement} anchor \n */\n activateAnchor(anchor) {\n this.linkTargets.forEach(link => link.classList.toggle('active', link === anchor));\n }\n\n /**\n * Scrolls viewport to id'ed section\n * @param {string} sectionId Id of section to scroll into\n */\n scrollToSection(sectionId) {\n const el = document.querySelector(sectionId);\n let top = el.getBoundingClientRect().top + this.lastScrollY;\n const willStick = top >= this.offset;\n const offset = willStick ? this.element.clientHeight : 0;\n\n top -= offset;\n \n window.scrollTo({ top: top, behavior: 'smooth' });\n }\n\n toggleSticky() {\n const marginTop = this.isSticky ? this.element.clientHeight : 0;\n\n this.element.classList.toggle('page-navigation--sticky', this.isSticky);\n document.body.style.marginTop = `${marginTop}px`;\n }\n}\n","import { Controller } from 'stimulus';\n\nconst MIN_LENGTH = 8;\n\nconst validator = {\n /**\n * Check if string input has numbers\n * @param {string} value \n */\n hasNumber(value) {\n return /\\d/.test(value);\n },\n\n /**\n * Check if string has uppercase\n * @param {string} value \n */\n hasUppercase(value) {\n return /[A-Z]/.test(value);\n },\n\n /**\n * Check if string has lowercase values\n * @param {string} value \n */\n hasLowercase(value) {\n return /[a-z]/.test(value);\n },\n\n /**\n * Check if string meets min length\n * @param {string} value \n */\n hasLength(value) {\n return value.length >= MIN_LENGTH;\n }\n};\n\nexport default class extends Controller {\n static targets = ['input', 'length', 'number', 'upper', 'lower'];\n\n validClass = 'password-check__field--valid';\n\n value = '';\n\n /**\n * Handle input event\n * @param {Event} e \n */\n handleChange(e) {\n this.updateValue(e.target.value);\n\n const fields = [\n { target: this.numberTarget, check: validator.hasNumber(this.value) },\n { target: this.upperTarget, check: validator.hasUppercase(this.value) },\n { target: this.lowerTarget, check: validator.hasLowercase(this.value) },\n { target: this.lengthTarget, check: validator.hasLength(this.value) }\n ];\n\n fields.forEach(field => this.updateField(field.target, field.check));\n }\n\n /**\n * Update stored value\n * @param {string} value \n */\n updateValue(value) {\n this.value = value;\n }\n\n /**\n * Update a target field class\n * @param {Target} target \n * @param {boolean} check \n */\n updateField(target, check) {\n target.classList.toggle(this.validClass, check);\n }\n}\n","import { Controller } from 'stimulus';\n\nexport default class extends Controller {\n static targets = ['input', 'toggle'];\n\n inputType = {\n input: 'text',\n password: 'password'\n };\n\n showPassword = false;\n\n toggleText = {\n show: 'Show',\n hide: 'Hide'\n }\n\n _toggle() {\n this.showPassword = !this.showPassword;\n\n let type = this.inputType.password;\n let toggleText = this.toggleText.show;\n\n if (this.showPassword) {\n type = this.inputType.input;\n toggleText = this.toggleText.hide;\n }\n\n this.inputTarget.setAttribute('type', type);\n this.toggleTarget.innerHTML = toggleText;\n }\n\n handleToggleShowPassword(e) {\n e.preventDefault();\n e.stopPropagation();\n this._toggle();\n }\n}\n","import { Controller } from 'stimulus';\n\nexport default class PrintController extends Controller {\n connect() {\n window.print();\n }\n}\n","import { Controller } from 'stimulus';\nexport default class extends Controller {\n static targets = ['circle'];\n\n radius = 0;\n circumference = 0;\n\n connect() {\n this.initProgress();\n this.updateProgress();\n }\n\n /**\n * Update progress bar from data attribute\n */\n updateProgress() {\n const value = this.data.get('value');\n\n this.setProgress(value);\n }\n\n /**\n * Initialize the progress circle values\n */\n initProgress() {\n const circle = this.circleTarget;\n\n this.radius = circle.r.baseVal.value;\n this.circumference = this.radius * 2 * Math.PI;\n circle.style.strokeDasharray = `${this.circumference} ${this.circumference}`;\n circle.style.strokeDashoffset = this.circumference;\n }\n\n /**\n * Set progress circle to a percentage\n * @param {Number} percent \n */\n setProgress(percent = 0) {\n const offset = this.circumference - percent / 100 * this.circumference;\n \n this.circleTarget.style.strokeDashoffset = offset;\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the classes used in this controller\n *\n * @property CLASSES\n * @type {Object}\n * @private\n */\nconst CLASSES = {\n 'HIDDEN': 'hidden',\n};\n\nexport default class extends Controller {\n static targets = ['expiringSoon', 'expired', 'expirationTimer']\n\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n if (this.timeoutIsActive) {\n this.startTimers();\n }\n }\n\n /**\n * Stimulus method called when controller\n * is disconnected to the DOM\n *\n * @method disconnect\n * @public\n */\n disconnect() {\n this.stopTimers();\n }\n\n /**\n * Creates the timers for showing the\n * expiring soon and expired content\n *\n * @method startTimers\n * @public\n */\n startTimers() {\n this.expirationTimerValue = this.timeoutIn - this.alertIn;\n\n this.expiringSoonTimeout = setTimeout(() => {\n this.showExpiringSoon();\n }, this.alertIn * 1000);\n\n this.expiredTimeout = setTimeout(() => {\n this.showExpired();\n }, this.timeoutIn * 1000);\n }\n\n /**\n * Clears the timers and interval\n *\n * @method stopTimers\n * @public\n */\n stopTimers() {\n clearTimeout(this.expiringSoonTimeout);\n clearTimeout(this.expiredTimeout);\n clearInterval(this.expirationTimerInterval);\n }\n\n /**\n * Shows expiring soon modal content, hides expired content\n *\n * @method showExpiringSoon\n * @public\n */\n showExpiringSoon() {\n this.expiringSoonTarget.classList.remove(CLASSES.HIDDEN);\n this.expiredTarget.classList.add(CLASSES.HIDDEN);\n\n this.expirationTimerInterval = setInterval(() => {\n this.updateExpirationTimer();\n }, 1000);\n\n this.modalController.show();\n }\n\n /**\n * Shows expired content, hides expiring soon content\n *\n * @method showExpired\n * @public\n */\n showExpired() {\n clearInterval(this.expirationTimerInterval);\n\n this.expiredTarget.classList.remove(CLASSES.HIDDEN);\n this.expiringSoonTarget.classList.add(CLASSES.HIDDEN);\n\n this.modalController.show();\n }\n\n /**\n * Sets the expiration timer element text\n *\n * @method updateExpirationTimer\n * @public\n */\n updateExpirationTimer() {\n this.expirationTimerValue -= 1;\n\n if (this.expirationTimerValue < 0) {\n this.expirationTimerValue = 0;\n }\n\n this.expirationTimerTarget.textContent = this.formattedTime(this.expirationTimerValue);\n }\n\n /**\n * Handles click events on session renewal link\n *\n * @method handleRenewSessionClick\n * @param {Event} event\n * @public\n */\n renew(event) {\n event.preventDefault();\n\n fetch(event.currentTarget.href).then(() => this.resetExpiration());\n\n this.modalController.hide();\n }\n\n /**\n * Resets expiration timers/intervals and timer display value\n *\n * @method resetExpiration\n * @public\n */\n resetExpiration() {\n this.stopTimers();\n this.startTimers();\n }\n\n /**\n * Formats a seconds value to HH:MM:SS where HH is optional\n *\n * @method formattedTime\n * @param {Integer} timeInSeconds\n * @return {String} formattedTime in HH:MM:SS\n * @public\n */\n formattedTime(timeInSeconds) {\n const secondsInHour = 3600;\n\n const hours = Math.floor(timeInSeconds / secondsInHour) % 24;\n const minutes = Math.floor(timeInSeconds / 60) % 60;\n const seconds = timeInSeconds % 60;\n\n const formattedTime = [hours, minutes, seconds].map(\n v => v < 10 ? '0' + v : v\n ).filter(\n (v, i) => v !== '00' || i > 0\n ).join(':');\n\n return formattedTime;\n }\n\n /**\n * Retrieves string to determine minutes before timeout\n * @return {String} timeout-in\n */\n get timeoutIn() {\n return this.data.get('timeout-in');\n }\n\n /**\n * Retrieves string to determine minutes\n * before timeout alert is shown\n * @return {String} alert-in\n */\n get alertIn() {\n return this.data.get('alert-in');\n }\n\n /**\n * Retrieves string to determine if the timeout modal should be active\n * - converts string value to boolean\n * @return {Boolean} timeout-is-active\n */\n get timeoutIsActive() {\n const value = this.data.get('timeoutIsActive');\n\n return JSON.parse(value);\n }\n\n /**\n * Retrieves instance of modal controller\n * @return {Controller} modalController\n */\n get modalController() {\n return this.application.getControllerForElementAndIdentifier(this.element, 'modal');\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the classes used in this controller\n *\n * @property CLASSES\n * @type {Object}\n * @private\n */\nconst CLASSES = {\n 'EXPANDED': 'sidebar--expanded',\n 'NO_SCROLL': 'no-scroll',\n};\n\nexport default class extends Controller {\n static targets = ['drawer', 'trigger', 'icon', 'menu'];\n\n /**\n * Handle toggle Event\n *\n * @method onToggle\n * @public\n */\n onToggle() {\n this.drawerTarget.classList.toggle(CLASSES.EXPANDED);\n this.iconTarget.classList.toggle(this.data.get('triggerClass'));\n\n document.documentElement.classList.toggle(CLASSES.NO_SCROLL);\n document.body.classList.toggle(CLASSES.NO_SCROLL);\n\n const isClosing = !this.drawerTarget.classList.contains(CLASSES.EXPANDED);\n\n if (isClosing) {\n this.submenuControllers.forEach(controller => controller.hide());\n }\n }\n\n /**\n * Returns array of references to submenu controllers\n *\n * @property\n * @public\n */\n get submenuControllers() {\n return this.menuTargets.map(el => this.application.getControllerForElementAndIdentifier(el, 'sidebar-menu'));\n }\n}\n","import { Controller } from 'stimulus';\n\n/**\n * A reference to the classes used in this controller\n *\n * @property CLASSES\n * @type {Object}\n * @private\n */\nconst CLASSES = {\n 'EXPANDED': 'sidebar__submenu--expanded',\n};\n\nexport default class extends Controller {\n static targets = ['menu'];\n\n show() {\n this.menuTarget.classList.add(CLASSES.EXPANDED);\n }\n\n hide() {\n this.menuTarget.classList.remove(CLASSES.EXPANDED);\n }\n}\n","import { Controller } from 'stimulus';\n\nexport default class extends Controller {\n /**\n * Stimulus method called when controller\n * is connected to the DOM\n *\n * @method connect\n * @public\n */\n connect() {\n const time_zone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n\n document.cookie = `_pcrt_browser_timezone=${time_zone};path=/`;\n }\n}\n","import { Controller } from 'stimulus';\n\nexport default class extends Controller {\n static targets = ['toggle', 'trigger']\n\n onToggle() {\n if (this.triggerTarget.querySelector(':checked') === null) return;\n\n const type = this.triggerTarget.querySelector(':checked').dataset.triggerTitle;\n\n this.toggleTargets.forEach(target => {\n target.classList.toggle('hidden', target.dataset.type !== type);\n });\n }\n}\n","/**\n * Returns value of query parameter if it gets\n * @param {string} key Query parameter key\n */\nexport function getQueryParam(key) {\n const query = window.location.search.substring(1);\n const params = query.split('&');\n\n for (let i = 0; i < params.length; i++) {\n let pair = params[i].split('=');\n \n if (pair[0] === key) {\n return pair[1];\n }\n }\n}\n","import { Controller } from 'stimulus';\nimport { getQueryParam } from '~/utilities';\n\n/**\n * Wistia Events\n */\nconst EVENTS = {\n 'CLICK': 'click',\n 'KEYDOWN': 'keydown',\n 'POPOVER_SHOW': 'popovershow',\n 'POPOVER_HIDE': 'popoverhide'\n};\n\n/**\n * Keys used in this controller\n */\nconst KEYS = {\n 'ENTER': 13\n};\n\nexport default class extends Controller {\n static targets = ['thumbnail', 'link'];\n\n video = {};\n videoVisible = false;\n videoId = '';\n\n connect() {\n this.videoId = this.data.get('videoId');\n this.loadVideo(this.videoId, this.videoReadyFn);\n }\n\n /**\n * callback function for wistia player\n * @param {object} Wistia.video video\n */\n videoReadyFn(video) {\n this.video = video;\n\n const closeButton = this.video.popover._closeButton;\n\n if (closeButton) {\n closeButton.addEventListener(EVENTS.KEYDOWN, this.handleCloseButtonKeydown.bind(this));\n }\n\n if (this.hasThumbnailTarget) {\n this.thumbnailTarget.addEventListener(EVENTS.KEYDOWN, this.handleThumbnailKeydown.bind(this));\n }\n\n this.video.bind(EVENTS.POPOVER_SHOW, this.handlePopoverShow.bind(this));\n this.video.bind(EVENTS.POPOVER_HIDE, this.handlePopoverHide.bind(this));\n\n\n if (getQueryParam('video') === this.videoId) {\n this.showAndPlayIfHidden();\n }\n }\n\n /**\n * Loads a wistia video asynchronously and fires callback when ready.\n *\n * @method loadVideo\n * @public\n */\n loadVideo(videoId, readyFn) {\n window._wq = window._wq || [];\n window._wq.push({\n 'id': videoId,\n 'onReady': readyFn.bind(this)\n });\n }\n\n /**\n * Shows and plays the video if hidden otherwise does nothing\n */\n showAndPlayIfHidden() {\n if (this.videoVisible) {\n return;\n }\n\n this.video.popover.show();\n this.video.play();\n }\n\n /**\n * Handle Thumbnail keydown event\n * @param {KeyboardEvent} e\n */\n handleThumbnailKeydown(e) {\n if (e.keyCode === KEYS.ENTER) {\n this.showAndPlayIfHidden();\n }\n }\n\n /**\n * Handle Clicking video link\n * @param {MouseEvent} e\n */\n handleVideoLinkClick(e) {\n e.preventDefault();\n\n this.showAndPlayIfHidden();\n }\n\n /**\n * Handle showing wistia popover\n */\n handlePopoverShow() {\n this.videoVisible = true;\n }\n\n /**\n * Handle hiding wistia popover\n */\n handlePopoverHide() {\n this.videoVisible = false;\n }\n\n /**\n *\n * @param {*} e\n */\n handleCloseButtonKeydown(e) {\n if (e.keyCode === KEYS.ENTER) {\n this.video.popover.hide();\n }\n }\n}\n","import { Application } from 'stimulus';\nimport { registerControllers } from 'stimulus-vite-helpers';\n\nconst application = Application.start();\nconst controllers = import.meta.glob('./**/*_controller.js', { eager: true });\n\nregisterControllers(application, controllers);\n"],"names":["accordion_controller","Controller","item","__publicField","CLASSES","CookieConsentController","expire","SELECTORS","field_list_controller","flash_controller","EVENTS","form_focus_controller","option","input","offset","el","rect","offscreenTop","offscreenBottom","form_progress_controller","step","totalSteps","percentComplete","input_reset_controller","e","elements","loading_controller","startTime","response","data","elapsedTime","timeLeft","menu_controller","KEYS","modal_controller","modal","focusables","element","other_input_controller","key","val","page_navigation_controller","anchor","sectionId","link","top","marginTop","MIN_LENGTH","validator","value","password_check_controller","field","target","check","password_toggle_controller","type","toggleText","PrintController","progress_circle_controller","circle","percent","session_controller","event","timeInSeconds","hours","minutes","seconds","v","i","sidebar_controller","controller","sidebar_menu_controller","time_zone_controller","time_zone","toggle_input_controller","getQueryParam","params","pair","wistia_video_controller","video","closeButton","videoId","readyFn","application","Application","controllers","registerControllers"],"mappings":"8NAEe,MAAKA,UAASC,CAAW,CAOtC,aAAc,CACZ,KAAK,YAAY,QAAQC,GAAQ,CAC/BA,EAAK,UAAU,OAAO,KAAK,WAAW,CAC5C,CAAK,CACF,CAMD,IAAI,aAAc,CAChB,OAAO,KAAK,KAAK,IAAI,OAAO,CAC7B,CACH,CAnBEC,EADkBH,EACX,UAAU,CAAC,OAAQ,SAAS,gHCD/BI,EAAU,CACd,OAAU,wBACZ,EAEe,MAAMC,UAAgCJ,CAAW,CAAjD,kCACbE,EAAA,iBAAY,2BAEZ,SAAU,CACR,KAAK,KAAI,CACV,CAKD,oBAAqB,CACnB,KAAK,QAAO,CACb,CAKD,MAAO,CACA,KAAK,aACR,KAAK,KAAI,CAEZ,CAKD,SAAU,CACR,KAAK,UAAS,EACd,KAAK,KAAI,CACV,CAKD,MAAO,CACL,KAAK,QAAQ,UAAU,IAAIC,EAAQ,MAAM,CAC1C,CAKD,MAAO,CACL,KAAK,QAAQ,UAAU,OAAOA,EAAQ,MAAM,CAC7C,CAKD,WAAY,CACV,OAAO,SAAS,OAAO,MAAM,GAAG,EAAE,OAAQF,GAASA,EAAK,SAAS,GAAG,KAAK,SAAS,GAAG,C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