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,OAAQN,EACRO,SAAU,OAGZ,IAEEP,sBAAAA,M,0ICpCSQ,EAAwB,SAACC,GAAgB,MACpD,OAAa,OAANA,QAAM,IAANA,GAAA,UAAAA,EAAQC,cAAR,SAAgBC,OAAhB,OAAyBF,QAAzB,IAAyBA,OAAzB,EAAyBA,EAAQC,OAAO,GAAGE,kBAAepG,GAGtDqG,EAA2B,SAACxC,GASvC,MARoB,CAClBqC,OAAQ,CACN,CACEI,IAAK,SACLF,aAAcvC,EAAE0C,YAWXC,EAAyB,SACpCP,EACAQ,GAaA,OAXyBR,EAAOS,QAAO,SAACC,EAAU1B,GAChD,IACM2B,EADWC,OAAOC,KAAKL,GACHM,SAAS9B,EAAI+B,UAAY/B,EAAI+B,SAAW,SAMlE,OALKL,EAAIC,KAAWD,EAAIC,GAAY,IACpCD,EAAIC,GAAUhE,KAAK,CACjB0D,IAAKrB,EAAI+B,SACTZ,aAAcnB,EAAIsB,UAEbI,IACN,KAaE,SAAeM,EAAtB,oC,wCAAO,WAA6BC,EAAYC,GAAzC,gGAEqBD,EAAME,OAF3B,cAEGC,EAFH,yBAGIb,EACLa,EAAUpB,QAAUoB,EAAUC,eAC9BH,IALC,yDAQId,EAAyBa,IAR7B,0D,sBAYA,SAASK,EACdC,EACAC,GAEAZ,OAAOC,KAAKU,GAAkBE,SAAQ,SAACd,GACjB,oBAAba,GACLA,EAASb,EAAU,CACjBL,QAASiB,EAAiBZ,GAAU,GAAGR,oB,6ECxExC,IAAMuB,EAAc,CACzB,CACE5D,KAAM,OAER,CACEA,KAAM,WAER,CACEA,KAAM,eAER,CACEA,KAAM,UAER,CACEA,KAAM,aAIG6D,EAAe,CAC1B,CACE7D,KAAM,eAER,CACEA,KAAM,WAER,CACEA,KAAM,WAER,CACEA,KAAM,UAER,CACEA,KAAM,OAER,CACEA,KAAM","sources":["webpack://_N_E/./src/components/FormButtons.tsx","webpack://_N_E/./src/components/layout/Form.tsx","webpack://_N_E/./src/components/layout/PageContent.tsx","webpack://_N_E/./src/components/shared/FinePrint.tsx","webpack://_N_E/./src/components/shared/Modal.tsx","webpack://_N_E/./src/components/shared/Spinner.tsx","webpack://_N_E/./src/hooks/useTokenVerification.ts","webpack://_N_E/./src/hooks/useSessionTimer.ts","webpack://_N_E/./src/utils/apiErrorMessages.tsx","webpack://_N_E/./src/utils/steps.ts"],"sourcesContent":["import React from 'react'\nimport useMedia from 'use-media'\n\nimport { Button, ButtonProps, theme } from '@clear/design-system'\n\nconst aboveMobile = theme?.breakpoints?.[0] as string\n\nexport const BackButton: React.FC = (props) => {\n const isAboveMobile = useMedia({ minWidth: aboveMobile })\n\n return (\n \n )\n}\n\nexport const ContinueButton: React.FC = ({\n text = 'Continue',\n id,\n ...props\n}) => {\n const isAboveMobile = useMedia({ minWidth: aboveMobile })\n\n return (\n \n )\n}\n","import React, { FormHTMLAttributes } from 'react'\nimport { Text, TextProps, Flex, FlexProps } from '@clear/design-system'\n\ntype FormProps = FlexProps & FormHTMLAttributes\n\nexport const Form: React.FC = (props) => (\n \n)\n\nexport const Row: React.FC = (props) => (\n \n)\n\nexport const Actions: React.FC = (props) => (\n \n)\n\nexport const StepTitle: React.FC = (props) => (\n \n)\n\nexport const StepSubTitle: React.FC = (props) => (\n \n)\n\nexport const ErrorMessage = React.forwardRef(\n ({ children, ...props }, ref) => (\n \n Error: {children}\n \n )\n)\n\nErrorMessage.displayName = 'ErrorMessage'\n","import React, { useState, useEffect } from 'react'\nimport { useRouter } from 'next/router'\nimport { Box, BoxProps } from '@clear/design-system'\nimport { Modal } from '@components/shared/Modal'\nimport useEnrollmentApi from '@hooks/useEnrollmentApi'\nimport { useSessionTimer } from '@hooks/useSessionTimer'\n\ntype PageContentProps = BoxProps\nconst PageContent: React.FC = ({ ...props }) => {\n const { clearState: clearEnrollmentState } = useEnrollmentApi()\n const router = useRouter()\n const sessionTimeout =\n (router && router.query && router.query.sessionTimeout) || ''\n const pathname = (router && router.pathname) || ''\n const [showSessionModal, setShowSessionModal] = useState(false)\n\n const successClickFunction = () => {\n router.push('/')\n }\n\n useEffect(() => {\n const shouldShowModal = sessionTimeout === 'true' && pathname !== '/'\n if (shouldShowModal) {\n setShowSessionModal(true)\n }\n }, [pathname, sessionTimeout])\n\n useSessionTimer(clearEnrollmentState)\n\n return (\n \n \n \n \n )\n}\n\nexport default PageContent\n","/* eslint-disable react/no-unescaped-entities */\nimport React from 'react'\n\nimport { Accordion, Box, BoxProps, Link } from '@clear/design-system'\n\nfunction FinePrint(props: BoxProps) {\n return (\n \n \n Authority: 6 U.S.C. § 1140, 46 U.S.C. § 70105; 49 U.S.C. §§ 106, 114,\n 5103a, 40103(b)(3), 40113, 44903, 44935-44936, 44939, and 46105; the\n Implementing Recommendations of the 9/11 Commission Act of 2007, § 1520\n (121 Stat. 444, Public Law 110-52, August 3, 2007); and Executive Order\n 9397, as amended.\n
\n
\n Purpose: The Department of Homeland Security (DHS) will use your\n information to conduct a security threat assessment. Your fingerprints\n and associated information will be provided to the Federal Bureau of\n Investigation (FBI) for the purpose of comparing your fingerprints to\n other fingerprints in the FBI's Next Generation Identification (NGI)\n system or its successor systems including civil, criminal, and latent\n fingerprint repositories. The FBI may retain your fingerprints and\n associated information in NGI after the completion of this application\n and, while retained, your fingerprints may continue to be compared\n against other fingerprints submitted to or retained by NGI. DHS will\n also transmit your fingerprints for enrollment into DHS OBIM Automated\n Biometrics Identification System (IDENT). Biometrics collected from\n applicants to the TSA PreCheck® Application Program may also be\n used to conduct screening at airport checkpoints. If you provide your\n Social Security Number (SSN), DHS may provide your name and SSN to the\n Social Security Administration (SSA) to compare that information against\n SSA records to ensure the validity of the information.\n
\n
\n Routine Uses: This system may disclose information in accordance with\n the Privacy Act, 5 U.S.C. 552a(b), including as a routine use pursuant\n to 5 U.S.C. 552a(b)(3) with third parties during the course of a\n security threat assessment, employment investigation, or adjudication of\n a waiver or appeal request to the extent necessary to obtain information\n pertinent to the assessment, investigation, or adjudication of your\n application under the TSA system of records notice (SORN) DHS/TSA 002,\n Transportation Security Threat Assessment System, or DHS/TSA 021,\n TSA PreCheck® Application Program for applicants to that program.\n Disqualifying criminal offenses uncovered during your application limit\n your ability to access TSA PreCheck® expedited screening. For as\n long as your fingerprints and associated information are retained in\n NGI, your information may be disclosed pursuant to your consent or\n without your consent as permitted by the Privacy Act of 1974 and all\n applicable Routine Uses as may be published at any time in the Federal\n Register, including the Routine Uses for the NGI system and the FBI's\n Blanket Routine Uses.\n
\n
\n Disclosure: Furnishing this information (including your SSN) is\n voluntary; however, if you do not provide your SSN or any other\n information requested, DHS may be unable to complete your application\n for a security threat assessment.\n \n \n Statement of Public Burden: This is a voluntary collection of\n information, but failure to provide the information may result in an\n inability to approve your eligibility for the requested TSA program or\n benefit. TSA estimates that the total average burden per response\n associated with this collection for enrollment is approximately 30\n minutes. An agency may not conduct or sponsor, and a person is not\n required to respond to, a collection of information unless it displays a\n valid OMB control number. The control number for this collection is OMB\n 1652-0059, which expires 9/30/2024.\n \n \n Customers can obtain the FBI Privacy Act Statement and information on\n how to challenge accuracy of background reports and/or report a PII\n breach to the FBI by visiting the{' '}\n \n \"FBI Information\" section in the FAQ\n \n .\n \n
\n )\n}\n\nexport default FinePrint\n","import React, { SetStateAction, ReactNode } from 'react'\nimport { Flex, Text, Button, SVG } from '@clear/design-system'\nimport { ColorType } from '@clear/design-system/lib/theme/colors'\nimport Link from 'next/link'\n\nexport interface ModalProps {\n header?: string\n body: string | ReactNode\n bodyNote?: string\n showModal: boolean\n setShowModal: React.Dispatch>\n canClose?: boolean\n successButtonText?: string\n closeButtonText?: string\n successLink?: string\n successClick?: () => void\n showSuccessButton?: boolean\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {}\n\nexport function Modal(props: ModalProps) {\n const {\n header,\n body,\n bodyNote,\n showModal,\n setShowModal,\n canClose,\n successButtonText = 'success',\n successLink,\n successClick,\n showSuccessButton = true,\n } = props\n\n const handleCloseModal = () => setShowModal(false)\n\n return (\n <>\n {showModal ? (\n <>\n \n e.stopPropagation()}\n mx={[6, null]}\n >\n {canClose && !showSuccessButton && (\n
\n \n
\n )}\n {/* header */}\n \n {header && (\n \n {header}\n \n )}\n \n {body}\n \n {bodyNote && (\n \n {bodyNote}\n \n )}\n \n {showSuccessButton && (\n \n {successLink ? (\n \n \n \n ) : (\n \n )}\n \n )}\n
\n \n
\n \n ) : null}\n \n )\n}\n","import React from 'react'\n\nexport default function Spinner() {\n return (\n
\n
\n
\n
\n
\n
\n \n
\n
\n )\n}\n","import { useRouter } from 'next/router'\nimport { useEffect } from 'react'\nimport { getAccessToken, setAccessToken } from '@api/utils'\n\nconst beforeUnloadListener = (event: any) => {\n event.preventDefault()\n return (event.returnValue = 'Are you sure you want to exit?')\n}\n\nexport function useTokenVerification(disabled = false) {\n const router = useRouter()\n\n useEffect(() => {\n if (!disabled) {\n try {\n const token = getAccessToken()\n if (token) {\n addEventListener('beforeunload', beforeUnloadListener, {\n capture: true,\n })\n }\n } catch (err) {\n console.log({ tokenError: err })\n setAccessToken('')\n router.push('/')\n }\n return () => {\n removeEventListener('beforeunload', beforeUnloadListener, {\n capture: true,\n })\n }\n }\n }, [router, disabled])\n}\n","import { useRouter } from 'next/router'\nimport { useIdleTimer } from 'react-idle-timer'\nimport { useTokenVerification } from './useTokenVerification'\nimport { setAccessToken, setSessionId } from '@api/utils'\n\nconst FIFTEEN_MINUTES_IN_MILLIS = 1000 * 60 * 15\n\nexport const getInactivityTimeout = (\n INACTIVITY_TIMEOUT = FIFTEEN_MINUTES_IN_MILLIS\n) => INACTIVITY_TIMEOUT\n\nexport function useSessionTimer(\n timeoutCallback?: () => void,\n disableTokenVerification?: boolean,\n inactivityTimeout?: number\n) {\n const router = useRouter()\n\n useTokenVerification(disableTokenVerification)\n\n const sessionTimeoutHandler = async () => {\n timeoutCallback && timeoutCallback()\n // Sign out of cognito\n setAccessToken('')\n setSessionId('')\n await router.push(\n {\n pathname: router.route,\n query: { sessionTimeout: 'true' },\n },\n undefined,\n { shallow: true }\n )\n }\n\n const idleTimerFunctions = useIdleTimer({\n timeout: getInactivityTimeout(inactivityTimeout),\n onIdle: sessionTimeoutHandler,\n debounce: 500,\n })\n\n return {\n ...idleTimerFunctions,\n sessionTimeoutHandler,\n }\n}\n","import { Enrollment } from '@clear-denver/tpc-openapi-typescript'\n\ninterface ErrorMessage {\n key: string\n errorMessage: string\n}\n\nexport const getGlobalErrorMessage = (errors: any) => {\n return errors?.global?.length ? errors?.global[0].errorMessage : undefined\n}\n\nexport const createGlobalErrorMessage = (e: any) => {\n const globalError = {\n global: [\n {\n key: 'global',\n errorMessage: e.message,\n },\n ],\n }\n return globalError\n}\n\nexport interface ErrorsByProperty {\n [key: string]: Array\n}\n\nexport const getApiErrorsByProperty = (\n errors: Array,\n formState: { [key: string]: any }\n): ErrorsByProperty => {\n const errorsByProperty = errors.reduce((acc: any, err: any) => {\n const formKeys = Object.keys(formState)\n const errorKey = formKeys.includes(err.property) ? err.property : 'global'\n if (!acc[errorKey]) acc[errorKey] = []\n acc[errorKey].push({\n key: err.property,\n errorMessage: err.message,\n })\n return acc\n }, {})\n\n return errorsByProperty\n}\n\nexport async function extractErrors(\n error: Response,\n data: any\n): Promise\nexport async function extractErrors(\n error: Error,\n data: any\n): Promise\nexport async function extractErrors(error: any, data: any) {\n try {\n const errorBody = await error.json()\n return getApiErrorsByProperty(\n errorBody.errors || errorBody.businessErrors,\n data\n )\n } catch {\n return createGlobalErrorMessage(error)\n }\n}\n\nexport function setFormErrors(\n errorsByProperty: ErrorsByProperty,\n setError: T\n) {\n Object.keys(errorsByProperty).forEach((errorKey) => {\n typeof setError === 'function' &&\n setError(errorKey, {\n message: errorsByProperty[errorKey][0].errorMessage,\n })\n })\n}\n","export const enrollSteps = [\n {\n name: 'You',\n },\n {\n name: 'Contact',\n },\n {\n name: 'Eligibility',\n },\n {\n name: 'Enroll',\n },\n {\n name: 'Complete',\n },\n]\n\nexport const renewalSteps = [\n {\n name: 'Eligibility',\n },\n {\n name: 'Contact',\n },\n {\n name: 'History',\n },\n {\n name: 'Verify',\n },\n {\n name: 'Pay',\n },\n {\n name: 'Complete',\n },\n]\n"],"names":["aboveMobile","theme","BackButton","props","isAboveMobile","useMedia","minWidth","text","textProps","display","variant","size","icon","iconPosition","ContinueButton","id","undefined","type","Form","as","flexDirection","Row","alignItems","mx","Actions","mt","justifyContent","StepTitle","textAlign","color","fontSize","mb","StepSubTitle","my","ErrorMessage","React","ref","children","displayName","clearEnrollmentState","useEnrollmentApi","clearState","router","useRouter","sessionTimeout","query","pathname","useState","showSessionModal","setShowSessionModal","useEffect","useSessionTimer","px","width","showModal","setShowModal","header","body","successButtonText","successClick","push","canClose","title","previewContent","containerProps","target","href","noop","Modal","bodyNote","successLink","showSuccessButton","handleCloseModal","className","onClick","p","backgroundColor","e","stopPropagation","name","pt","passHref","Spinner","beforeUnloadListener","event","preventDefault","returnValue","FIFTEEN_MINUTES_IN_MILLIS","getInactivityTimeout","INACTIVITY_TIMEOUT","timeoutCallback","disableTokenVerification","inactivityTimeout","disabled","getAccessToken","addEventListener","capture","err","console","log","tokenError","setAccessToken","removeEventListener","useTokenVerification","sessionTimeoutHandler","setSessionId","route","shallow","useIdleTimer","timeout","onIdle","debounce","getGlobalErrorMessage","errors","global","length","errorMessage","createGlobalErrorMessage","key","message","getApiErrorsByProperty","formState","reduce","acc","errorKey","Object","keys","includes","property","extractErrors","error","data","json","errorBody","businessErrors","setFormErrors","errorsByProperty","setError","forEach","enrollSteps","renewalSteps"],"sourceRoot":""}