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A,EAAkCgB,aAAa,EAAE,CAAChB,EAA4Ba,IAAI,CAAC,EAEnH,MADA3D,CAAAA,EAAAA,EAAAA,CAAAA,EAAe8C,EAA4BiB,KAAK,EAE9C,GAAAzP,EAAAgB,EAAA,EAAAhB,EAAA0P,EAAA,YACE,GAAA1P,EAAAC,EAAA,EAAC0P,EAAAA,EAAOA,CAAAA,CAACC,MAAM,WAAWC,YAAY,iCACtC,GAAA7P,EAAAC,EAAA,EAAC6P,EAAAA,CAAcA,CAAAA,CAACC,GAAG,SAASrK,GAAG,OAAOQ,QAAQ,sBAC5C,GAAAlG,EAAAC,EAAA,EAAC+P,EAAAA,EAAYA,CAAAA,CAAE,GAAGnB,CAAO,UACtBU,CAAc,IAAdA,EACC,GAAAvP,EAAAC,EAAA,EAACgO,EAAYA,CAACC,MAAOe,EAAU,WAE/B,GAAAjP,EAAAC,EAAA,EAACgQ,OAAAA,CACCC,SAAU,GAAO,CAEVlB,EAAaE,GAAalC,EACjC,WAEA,GAAAhN,EAAAC,EAAA,EAACgN,EAAkBA,CAACC,QAASsB,EAA4BtB,OAAO,IAEnE,OAKX,EAEA,IAAAiD,EAAe7B","sources":["webpack://_N_E/?54cc","webpack://_N_E/./src/components/essentials/form-control/context.ts","webpack://_N_E/./src/components/essentials/form-control/FormControl.tsx","webpack://_N_E/./src/components/essentials/form-control/FormHelperText.tsx","webpack://_N_E/./src/components/essentials/form-control/FormLabel.tsx","webpack://_N_E/./src/components/essentials/form-control/index.ts","webpack://_N_E/./src/components/essentials/input/variant.ts","webpack://_N_E/./src/components/essentials/input/Input.tsx","webpack://_N_E/./src/components/essentials/input/index.ts","webpack://_N_E/./src/components/essentials/tag/variant.ts","webpack://_N_E/./src/components/essentials/tag/Tag.tsx","webpack://_N_E/./src/components/essentials/tag/index.ts","webpack://_N_E/./src/components/fragments/card/base-card/BaseCard.tsx","webpack://_N_E/./src/components/fragments/card/base-card/index.ts","webpack://_N_E/./src/components/fragments/card/confirm-card/ConfirmCard.tsx","webpack://_N_E/./src/components/fragments/card/confirm-card/index.ts","webpack://_N_E/./src/components/fragments/card/alert-card/AlertCard.tsx","webpack://_N_E/./src/components/fragments/card/alert-card/index.ts","webpack://_N_E/./src/components/fragments/card/asked-card/AskedCard.tsx","webpack://_N_E/./src/components/fragments/card/asked-card/index.ts","webpack://_N_E/./src/components/fragments/card/success-card/index.ts","webpack://_N_E/./src/components/fragments/card/index.ts","webpack://_N_E/./src/components/fragments/card/success-card/SuccessCard.tsx","webpack://_N_E/./src/components/fragments/forms/email-form/EmailForm.tsx","webpack://_N_E/./src/components/fragments/forms/email-form/index.ts","webpack://_N_E/./src/components/fragments/apollo/error/ApolloError.tsx","webpack://_N_E/./src/components/fragments/apollo/error/index.ts","webpack://_N_E/./src/hooks/useApolloError/useApolloError.tsx","webpack://_N_E/./src/hooks/useApolloError/index.ts","webpack://_N_E/./src/modules/utils/function.ts","webpack://_N_E/./src/modules/utils/is-inview-all.ts","webpack://_N_E/./src/modules/utils/scroll-on-focus.ts","webpack://_N_E/./src/pages/signin/reset/__components__/reset-password-forms/ResetPasswordForms.tsx","webpack://_N_E/./src/pages/signin/reset/__components__/reset-password-forms/index.ts","webpack://_N_E/./src/pages/signin/reset/__gql__/registration-reset-password.gen.ts","webpack://_N_E/./src/pages/signin/reset/__components__/accept-screen/AcceptScreen.tsx","webpack://_N_E/./src/pages/signin/reset/__components__/accept-screen/index.ts","webpack://_N_E/./src/pages/signin/reset/index.page.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/signin/reset\",\n function () {\n return require(\"private-next-pages/signin/reset/index.page.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/signin/reset\"])\n });\n }\n ","import { createContext } from \"react\";\n\ninterface FormControlContextValue {\n readonly isRequired: boolean | undefined;\n readonly isDirty: boolean | undefined;\n\n readonly isInvalid: boolean | undefined;\n}\nexport const FormControlContext = createContext({\n isRequired: undefined,\n isDirty: undefined,\n isInvalid: undefined,\n});\n","import { FormControl as ChakraFormControl, type FormControlProps as ChakraFormControlProps } from \"@chakra-ui/react\";\nimport { type FC } from \"react\";\nimport { formControlTestId } from \"./const\";\nimport { FormControlContext } from \"./context\";\n\nexport interface FormControlProps extends ChakraFormControlProps {\n isDirty?: boolean;\n}\n\nexport const FormControl: FC = ({ isInvalid, isRequired, isDirty, ...props }: FormControlProps) => {\n return (\n \n \n \n );\n};\n","import { FormHelperText as ChakraFormHelperText, forwardRef, Flex } from \"@chakra-ui/react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { type TypographyProps } from \"@/components/essentials/typography\";\nimport { useMemo, useContext } from \"react\";\nimport { injectTypographyVariant } from \"@/components/essentials/typography/variant\";\nimport { FormControlContext } from \"@/components/essentials/form-control/context\";\nimport { Icon } from \"@/components/essentials/icon\";\nimport {\n chakraFormHelperTextTestId,\n checkCircleTestId,\n exclamationCircleTestId,\n formHelperTextBoxTestId,\n formHelperTextTestId,\n} from \"./const\";\n\nexport interface FormHelperTextProps {\n readonly typography?: TypographyProps[\"variant\"];\n readonly isInvalid?: boolean;\n readonly testIdSuffix?: string;\n}\n\nexport const FormHelperText = forwardRef(\n ({ typography = \"text4\", isInvalid, testIdSuffix = \"\", ...rest }, ref) => {\n const typographyProps = useMemo(() => injectTypographyVariant(typography), [typography]);\n\n const { isDirty, isInvalid: isInvalidContext } = useContext(FormControlContext);\n\n const invalid = isInvalid !== undefined ? isInvalid : isInvalidContext;\n return (\n \n {isDirty === true ? (\n invalid === true ? (\n \n ) : (\n \n )\n ) : (\n \n )}\n \n \n );\n },\n);\n","import {\n type FormLabelProps as ChakraFormLabelProps,\n FormLabel as ChakraFormLabel,\n forwardRef,\n Flex,\n} from \"@chakra-ui/react\";\nimport { useMemo, useContext } from \"react\";\nimport { injectTypographyVariant } from \"@/components/essentials/typography/variant\";\nimport { type TypographyProps } from \"@/components/essentials/typography\";\nimport { FormControlContext } from \"./context\";\nimport { Tag } from \"@/components/essentials/tag\";\nimport { css } from \"@emotion/react\";\nimport { chakraFormLabelTestId, formLabelTestId, tagTestId } from \"./const\";\n\nexport interface FormLabelProps extends Omit {\n readonly typography?: TypographyProps[\"variant\"];\n}\n\nexport const FormLabel = forwardRef(\n ({ typography = \"display6\", children, ...rest }: FormLabelProps, ref) => {\n const variantProps = useMemo(() => injectTypographyVariant(typography), [typography]);\n const { isRequired } = useContext(FormControlContext);\n return (\n \n span {\n display: none;\n }\n `}\n >\n {children}\n \n {isRequired && (\n \n 必須\n \n )}\n \n );\n },\n);\n","export * from \"./FormControl\";\nexport * from \"./FormHelperText\";\nexport * from \"./FormLabel\";\nexport * from \"./const\";\n","import { type TypographyProps } from \"@chakra-ui/styled-system\";\nimport { injectTypographyVariant } from \"@/components/essentials/typography/variant\";\nimport { safeGet } from \"@/modules/utils/safe-get\";\nimport { type InputProps } from \"./Input\";\nimport { type InputSize, type InputBreakPointSize } from \"./type\";\n\ninterface InputSizeValue {\n readonly h: InputProps[\"h\"];\n readonly fontSize: TypographyProps[\"fontSize\"];\n readonly fontWeight: TypographyProps[\"fontWeight\"];\n}\n\nconst inputSize = {\n base: {\n h: \"2rem\",\n ...injectTypographyVariant(\"text4\"),\n },\n sm: {\n h: \"2.5rem\",\n ...injectTypographyVariant(\"text3\"),\n },\n md: {\n h: \"2.75rem\",\n ...injectTypographyVariant(\"text2\"),\n },\n lg: {\n h: \"3rem\",\n ...injectTypographyVariant(\"text1\"),\n },\n};\n\nconst switchInputSizeVariant = (size: InputSize): InputSizeValue => {\n return safeGet(inputSize, size);\n};\n\nexport const injectInputSize = (size: InputSize | InputBreakPointSize): InputSizeValue => {\n if (typeof size === \"string\") {\n const { h, fontSize, fontWeight } = switchInputSizeVariant(size);\n return {\n h,\n fontSize,\n fontWeight,\n };\n } else {\n const { h: baseH, fontSize: baseFontSize, fontWeight: baseFontWeight } = switchInputSizeVariant(size.base);\n const { h: smH, fontSize: smFontSize, fontWeight: smFontWeight } = switchInputSizeVariant(size.sm);\n const { h: mdH, fontSize: mdFontSize, fontWeight: mdFontWeight } = switchInputSizeVariant(size.md);\n const { h: lgH, fontSize: lgFontSize, fontWeight: lgFontWeight } = switchInputSizeVariant(size.lg);\n return {\n h: {\n base: baseH as string,\n sm: smH as string,\n md: mdH as string,\n lg: lgH as string,\n },\n fontSize: {\n base: baseFontSize as string,\n sm: smFontSize as string,\n md: mdFontSize as string,\n lg: lgFontSize as string,\n },\n fontWeight: {\n base: baseFontWeight as string,\n sm: smFontWeight as string,\n md: mdFontWeight as string,\n lg: lgFontWeight as string,\n },\n };\n }\n};\n","import { useMemo, type ForwardedRef, type ReactElement, useState } from \"react\";\nimport {\n type InputProps as ChakraInputProps,\n Input as ChakraInput,\n InputGroup,\n forwardRef,\n InputRightElement,\n} from \"@chakra-ui/react\";\nimport { injectInputSize } from \"./variant\";\nimport type { InputSize, InputBreakPointSize } from \"./type\";\nimport { Icon } from \"@/components/essentials/icon\";\nimport { type FieldValues, type UseFormReset } from \"react-hook-form\";\nimport {\n inputTestId,\n chakraInputTestId,\n inputRightElementTestId,\n invisibleEyeSlashInputTestId,\n invisibleEyeInputTestId,\n timesCircleInputTestId,\n} from \"./const\";\nimport { scrollOnFocus } from \"@/modules/utils/scroll-on-focus\";\n\nexport interface InputProps extends Omit {\n readonly size?: InputSize | InputBreakPointSize;\n readonly clear?: UseFormReset;\n readonly invisible?: boolean;\n}\n\nexport const Input = forwardRef(\n (\n {\n _invalid = {\n boxShadow: \"0 0 0 1px var(--chakra-colors-error-main)\",\n bg: \"error.light\",\n _focus: {\n boxShadow: \"0 0 0 1px var(--chakra-colors-error-main)\",\n borderColor: \"error.main\",\n bg: \"error.light\",\n },\n },\n _focus = {\n boxShadow: \"0 0 0 1px var(--chakra-colors-secondary-main)\",\n borderColor: \"secondary.main\",\n bg: \"light.main\",\n },\n size = \"md\",\n type,\n clear,\n invisible,\n ...rest\n }: InputProps,\n ref: ForwardedRef,\n ): ReactElement => {\n const inputSize = useMemo(() => injectInputSize(size), [size]);\n const [invisibleState, setInvisibleState] = useState(invisible);\n\n return (\n \n \n {(clear !== undefined || invisible !== undefined) && (\n \n {invisible && (\n {\n setInvisibleState((state) => !state);\n }}\n data-testid={invisibleState ? invisibleEyeSlashInputTestId : invisibleEyeInputTestId}\n />\n )}\n {clear && (\n {\n clear();\n }}\n data-testid={timesCircleInputTestId}\n />\n )}\n \n )}\n \n );\n },\n);\n","export * from \"./Input\";\n","import { safeGet } from \"@/modules/utils/safe-get\";\nimport { type TagProps } from \"@/components/essentials/tag\";\nimport { type TagBreakpointsSize, type TagSize } from \"./type\";\n\ninterface TagReturnProps {\n readonly py: TagProps[\"py\"];\n readonly px: TagProps[\"px\"];\n}\n\ntype TagSizeValue = Record;\n\nconst tagSize: TagSizeValue = {\n sm: {\n py: \"0.125rem\",\n px: \"0.3125rem\",\n },\n md: {\n py: \"0.3125rem\",\n px: \"0.3125rem\",\n },\n lg: {\n py: \"0.3125rem\",\n px: \"0.3125rem\",\n },\n};\n\nconst switchTagSize = (size: TagSize): TagReturnProps => {\n return safeGet(tagSize, size);\n};\n\nexport const injectTagSize = (size: TagSize | TagBreakpointsSize): TagReturnProps => {\n if (typeof size === \"string\") {\n return switchTagSize(size);\n } else {\n return {\n py: {\n sm: switchTagSize(size.sm).py as string,\n md: switchTagSize(size.md).py as string,\n lg: switchTagSize(size.lg).py as string,\n },\n px: {\n sm: switchTagSize(size.sm).px as string,\n md: switchTagSize(size.md).px as string,\n lg: switchTagSize(size.lg).px as string,\n },\n };\n }\n};\n","import { type ReactNode, type FC, useMemo } from \"react\";\nimport { Tag as ChakraTag, type TagProps as ChakraTagProps } from \"@chakra-ui/react\";\nimport { type AliasColorScheme } from \"@/styles/themes/colors/alias\";\nimport { type TagSize, type TagVariant, type TagBreakpointsSize } from \"./type\";\nimport { injectTypographyVariant } from \"@/components/essentials/typography/variant\";\nimport { type DisplayVariant } from \"@/components/essentials/typography/type\";\nimport { type Breakpoints } from \"@/styles/themes/breakpoints\";\nimport { injectTagSize } from \"./variant\";\nimport { tagTestId } from \"./const\";\n\nexport interface TagProps extends Omit {\n readonly colorScheme: AliasColorScheme;\n readonly variant: TagVariant;\n readonly children: ReactNode;\n readonly typography?: DisplayVariant | Record;\n readonly size?: TagSize | TagBreakpointsSize;\n}\n\nexport const Tag: FC = ({\n children,\n variant,\n colorScheme,\n typography = \"display7\",\n size = \"md\",\n ...rest\n}) => {\n const typographyProps = useMemo(() => injectTypographyVariant(typography), [typography]);\n const tagSizeProps = useMemo(() => injectTagSize(size), [size]);\n return (\n \n {children}\n \n );\n};\n","export * from \"./Tag\";\n","import { type BoxProps } from \"@chakra-ui/react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { type ReactNode, type FC } from \"react\";\n\nexport interface BaseCardProps extends BoxProps {\n children: ReactNode;\n}\n\nexport const BaseCard: FC = ({ children, ...rest }) => {\n return (\n \n {children}\n \n );\n};\n","export * from \"./BaseCard\";\n","import { type BaseCardProps, BaseCard } from \"@/components/fragments/card/base-card\";\nimport { VStack } from \"@chakra-ui/react\";\nimport { type FC, type ReactNode } from \"react\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Button, type ButtonProps } from \"@/components/essentials/button\";\nimport { confirmCardOkButtonTestId, confirmCardCancelButtonTestId } from \"./const\";\n\nexport interface ConfirmCardProps extends Omit {\n headerImage?: ReactNode;\n headerMessage?: string;\n message?: string | ReactNode;\n okButtonLabel: string;\n cancelButtonLabel: string;\n okButtonProps?: Omit;\n cancelButtonProps?: Omit;\n}\n\nexport const ConfirmCard: FC = ({\n headerImage,\n headerMessage,\n message,\n cancelButtonLabel,\n okButtonLabel,\n okButtonProps,\n cancelButtonProps,\n ...rest\n}) => {\n return (\n \n \n {headerImage}\n {headerMessage}\n \n {message}\n \n \n \n \n \n \n \n );\n};\n","export * from \"./ConfirmCard\";\n","import { BaseCard, type BaseCardProps } from \"@/components/fragments/card/base-card\";\nimport { VStack, HStack } from \"@chakra-ui/react\";\nimport { Button, type ButtonProps } from \"@/components/essentials/button\";\nimport { type ReactNode, type FC } from \"react\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { alertCardCancelButtonTestId, alertCardOkButtonTestId } from \"./const\";\n\nexport interface AlertCardProps extends Omit {\n headerImage: ReactNode;\n headerMessage: string;\n message?: string;\n okButtonLabel: string;\n cancelButtonLabel: string;\n okButtonProps?: Omit;\n cancelButtonProps?: Omit;\n}\nexport const AlertCard: FC = ({\n headerImage,\n headerMessage,\n message,\n cancelButtonLabel,\n okButtonLabel,\n okButtonProps,\n cancelButtonProps,\n ...rest\n}) => {\n return (\n \n \n {headerImage}\n {headerMessage}\n \n {message}\n \n \n \n \n \n \n \n );\n};\n","export * from \"./AlertCard\";\n","import { type FC } from \"react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport {\n Accordion,\n AccordionButton,\n AccordionIcon,\n AccordionItem,\n AccordionPanel,\n type AccordionProps,\n} from \"@chakra-ui/accordion\";\nimport { Icon } from \"@chakra-ui/react\";\nimport { type IconType } from \"react-icons\";\n\nexport interface AskedItem {\n readonly title: string;\n readonly panel: string;\n readonly icon?: IconType;\n}\n\nexport interface AskedCardProps extends AccordionProps {\n readonly items: AskedItem[];\n}\n\nexport const AskedCard: FC = (props) => {\n const { items, ...rest } = props;\n return (\n \n {items.map((item, key) => {\n return (\n \n \n {item.icon !== undefined && }\n \n {item.title}\n \n \n \n \n {item.panel}\n \n \n );\n })}\n \n );\n};\n","export * from \"./AskedCard\";\n","export * from \"./SuccessCard\";\n","export * from \"./alert-card\";\nexport * from \"./asked-card\";\nexport * from \"./confirm-card\";\nexport * from \"./alert-card\";\nexport * from \"./success-card\";\n","import { type BaseCardProps, BaseCard } from \"@/components/fragments/card/base-card\";\nimport { type FC } from \"react\";\nimport { Flex } from \"@chakra-ui/react\";\nimport { Icon } from \"@/components/essentials/icon\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { type TypographyBreakpointsVariant } from \"@/components/essentials/typography/type\";\nimport { Button, type ButtonProps } from \"@/components/essentials/button\";\nimport Link, { type LinkProps } from \"next/link\";\nimport { type PartiallyPartial } from \"@/modules/utils/types\";\nimport { successCardButtonTestId, successCardIconTestId, successCardTextTestId } from \"./const\";\n\nexport const typographyVariant: TypographyBreakpointsVariant = {\n base: \"display5\",\n sm: \"display4\",\n md: \"display4\",\n lg: \"display4\",\n xl: \"display4\",\n \"2xl\": \"display4\",\n};\n\nexport interface SuccessCardProps extends PartiallyPartial {\n readonly text: string;\n readonly buttonText?: string;\n readonly buttonHref?: LinkProps[\"href\"];\n readonly buttonProps?: Omit;\n}\n\nexport const SuccessCard: FC = ({ text, buttonText, buttonHref, buttonProps, children, ...rest }) => {\n return (\n \n \n \n \n {text}\n \n {children}\n {buttonText === undefined && buttonHref === undefined && buttonProps === undefined ? null : buttonHref ? (\n \n {buttonText}\n \n ) : (\n \n )}\n \n \n );\n};\n","import { type FC, useMemo } from \"react\";\nimport { FormControl, FormLabel, FormHelperText } from \"@/components/essentials/form-control\";\nimport { Input } from \"@/components/essentials/input\";\nimport { useFormContext } from \"react-hook-form\";\nimport isEmail from \"validator/lib/isEmail\";\nimport { emailFormHelperTextTestId, emailFormInputTestId, emailFormLabelTestId } from \"./const\";\nimport get from \"just-safe-get\";\n\nexport interface EmailFormProps {\n emailField?: string;\n required?: boolean;\n}\n\nexport const EmailForm: FC = ({ emailField = \"email\", required = true }) => {\n const {\n register,\n formState: { errors, dirtyFields },\n } = useFormContext();\n\n const emailRegister = useMemo(\n () =>\n register(emailField, {\n required,\n validate: (value) => {\n if (!required) {\n return true;\n }\n return isEmail(value);\n },\n }),\n [register, emailField, required],\n );\n return (\n \n \n メールアドレス\n \n \n \n 有効なメールアドレスが入力されている\n \n \n );\n};\n","export * from \"./EmailForm\";\nexport * from \"./const\";\n","import { Toast } from \"@/components/essentials/toast\";\nimport { type ApolloError } from \"@apollo/client\";\nimport { type GraphQLError } from \"graphql/error\";\nimport { type GraphQLErrorCode } from \"@/apollo/error-code\";\nimport { type GraphQLSubErrorCode, NO_DETAILED_INFORMATION } from \"@/apollo/sub-error-code\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\nimport { type FC } from \"react\";\nimport { datadogLogs } from \"@datadog/browser-logs\";\nimport { graphQLErrorsTestId, networkErrorTestId } from \"./const\";\n\nexport interface ApolloErrorProps {\n readonly errors: ApolloError | undefined;\n readonly testid?: string;\n}\n\nconst defaultMessageKey = \"_\";\ntype DefaultMessage = typeof defaultMessageKey;\nconst convertDefaultSubCode = (subCode: string): string =>\n subCode === NO_DETAILED_INFORMATION ? defaultMessageKey : subCode;\n\nexport const constGraphQLErrorMessage = {\n GRAPHQL_PARSE_FAILED: \"エラーが発生しました。\",\n GRAPHQL_VALIDATION_FAILED: \"入力内容に不備があります。\",\n BAD_USER_INPUT: {\n INVALID_TOKEN: null,\n INVALID_PASSWORD_INPUT:\n \"パスワードの強度に問題があります。メールアドレスに類似する文字列がパスワードに含まれている可能性があります。\",\n _: \"入力内容に不備があります。\",\n MFA_INCORRECT_CODE: \"二段階認証コードが無効であるか、期限が切れています。\",\n MFA_VERIFY_PASSWORD_EXPIRED: \"パスワード認証の期限が切れています。\",\n INVALID_RECOVERY_CODE: \"リカバリコードが無効であるか、利用済みです。\",\n },\n UNAUTHENTICATED: {\n FAILED_TO_SIGN_IN: \"サインインに失敗しました。\",\n LOCKED:\n \"試行回数が上限を超えました。ユーザー保護のため、現在サインイン又は新規登録をすることはできません。しばらくしてからもう一度お試しください。\",\n },\n FORBIDDEN: {\n MFA_ALREADY_REGISTERED: \"既に二段階認証はオンです。\",\n MFA_LOCKED:\n \"試行回数が上限を超えました。ユーザー保護のため、現在サインイン又は新規登録をすることはできません。しばらくしてからもう一度お試しください。\",\n _: \"ご利用にはサインインが必要です。\",\n },\n PERSISTED_QUERY_NOT_FOUND: \"エラーが発生しました。\",\n PERSISTED_QUERY_NOT_SUPPORTED: \"エラーが発生しました。\",\n INTERNAL_SERVER_ERROR: \"エラーが発生しました。\",\n NOT_FOUND: \"エラーが発生しました。\",\n} as const;\n\n// to type check\nexport const GraphQLErrorMessage: Record<\n GraphQLErrorCode,\n string | Partial>\n> = constGraphQLErrorMessage;\n\n// to accept other string\ntype AcceptAnyCode = Record>;\nexport const ErrorMessage: AcceptAnyCode = GraphQLErrorMessage;\n\nexport const OTHER_ERROR = \"予期せぬエラーが発生しました。\";\n\nexport const NETWORK_ERROR = \"ネットワークエラーが発生しました。\";\n\nexport const getErrorMessage = ({ extensions: { code, subCode } }: GraphQLError): string | null => {\n if (typeof code !== \"string\") {\n datadogLogs.logger.warn(\"unreachable code: the code is unexpected type at getErrorMessage\", {\n typeofCode: typeof code,\n });\n return OTHER_ERROR;\n }\n\n const messageOrRecord = ErrorMessage[code];\n\n if (messageOrRecord === undefined) {\n datadogLogs.logger.warn(\"unreachable code: the code is not defined at getErrorMessage\", {\n code,\n });\n return OTHER_ERROR;\n }\n\n // return message for code\n // biome-ignore lint/style/useBlockStatements :[AUTOMATICALLY-INSERTED] Block statements are preferred in this position.\n if (typeof messageOrRecord === \"string\") return messageOrRecord;\n\n if (typeof subCode !== \"string\") {\n datadogLogs.logger.warn(\"unreachable code: the sub code is unexpected type at getErrorMessage\", {\n subCode,\n });\n return OTHER_ERROR;\n }\n\n const messageOrNull = messageOrRecord[convertDefaultSubCode(subCode)];\n\n if (messageOrNull === undefined) {\n datadogLogs.logger.warn(\"unreachable code: the sub code not defined at getErrorMessage\", {\n subCode,\n });\n return OTHER_ERROR;\n }\n\n // message or null for the sub code\n return messageOrNull;\n\n /* eslint-enable security/detect-object-injection */\n};\n\nexport const ApolloErrorToast: FC = (props) => {\n const { errors } = props;\n if (errors === undefined) {\n return null;\n }\n\n const { graphQLErrors, networkError } = errors;\n\n if (networkError !== null) {\n datadogLogs.logger.error(\n `Network Error: errorMessage=${networkError.message} errorDetail=${JSON.stringify(networkError)}`,\n );\n\n return (\n \n {NETWORK_ERROR}\n \n );\n }\n\n const shouldRenderErrorMessages = graphQLErrors.map(getErrorMessage).filter(isNonNullable);\n\n // biome-ignore lint/style/useBlockStatements :[AUTOMATICALLY-INSERTED] Block statements are preferred in this position.\n if (shouldRenderErrorMessages.length === 0) return null;\n\n return (\n
\n {shouldRenderErrorMessages.map((message, index) => (\n \n {message}\n \n ))}\n
\n );\n};\n","export * from \"./ApolloError\";\n","import { useToast } from \"@/components/essentials/toast\";\nimport { ApolloErrorToast } from \"@/components/fragments/apollo/error\";\nimport { type ApolloError } from \"@apollo/client\";\nimport { useEffect } from \"react\";\n\ninterface Option {\n testid?: string;\n}\n\nexport const useApolloError = (apolloError: ApolloError | undefined, option?: Option): void => {\n const toast = useToast();\n\n const testid = option?.testid;\n useEffect(() => {\n if (apolloError !== undefined && !toast.isActive(apolloError.message)) {\n toast({\n id: apolloError.message,\n render: () => ,\n });\n }\n }, [apolloError, testid, toast]);\n};\n","export * from \"./useApolloError\";\n","// biome-ignore lint/suspicious/noEmptyBlockStatements :[AUTOMATICALLY-INSERTED] Unexpected empty block.\nexport const noop = (): void => {};\n","export const isInviewAll = (element: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement): boolean => {\n const rect = element.getBoundingClientRect();\n\n // rect.top > 1 は firefox対応\n return rect.top > 1 && rect.bottom < window.innerHeight;\n};\n","import { type FocusEventHandler } from \"react\";\nimport { isInviewAll } from \"./is-inview-all\";\n\n// React Hook Form でバリデーションエラー発生時に、エラー発生した Element にスクロールするためのメソッド\n// Ref. https://zenn.dev/daisuke7924/articles/5839e0094c5fdf\n\nexport const scrollOnFocus: FocusEventHandler = (event) => {\n try {\n const element = event.currentTarget;\n // elementをタップしてフォーカスしたときはスクロールしない\n // biome-ignore lint/style/useBlockStatements :[AUTOMATICALLY-INSERTED] Block statements are preferred in this position.\n if (isInviewAll(element)) return;\n\n element.scrollIntoView({\n block: \"center\",\n behavior: \"auto\",\n });\n // biome-ignore lint/suspicious/noEmptyBlockStatements :[AUTOMATICALLY-INSERTED] Unexpected empty block.\n } catch {}\n};\n","import { type FC } from \"react\";\nimport Link from \"next/link\";\nimport { Center, Flex } from \"@chakra-ui/react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Button, TextButton } from \"@/components/essentials/button\";\nimport { useFormContext } from \"react-hook-form\";\nimport { type ResetPasswordFormValues } from \"./type\";\nimport { EmailForm } from \"@/components/fragments/forms/email-form\";\nimport { toysubContactUsUrl } from \"@/configs/externalUrls\";\nimport { pagesPath } from \"@/pathpida/generated/$path\";\nimport { Divider } from \"@/components/essentials/divider\";\nimport {\n resetPasswordFormsDescriptionTestId,\n resetPasswordFormsHelpTestId,\n resetPasswordFormsSubmitTestId,\n resetPasswordFormsTestId,\n} from \"./const\";\n\ninterface Props {\n readonly loading: boolean;\n}\n\nexport const ResetPasswordForms: FC = ({ loading }) => {\n const {\n formState: { isValid },\n } = useFormContext();\n return (\n \n \n パスワードをお忘れですか?\n \n 登録済みのメールアドレスを入力してください。\n \n \n \n \n \n なにかお困りですか?\n \n \n
\n \n 認証する\n \n
\n \n \n \n \n
\n );\n};\n","export { ResetPasswordForms } from \"./ResetPasswordForms\";\n","// @ts-nocheck\nimport * as Types from '../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nconst defaultOptions = {} as const;\nexport type RegistrationSigninResetPagesResetPasswordMutationVariables = Types.Exact<{\n mail: Types.Scalars['String']['input'];\n}>;\n\n\nexport type RegistrationSigninResetPagesResetPasswordMutation = { __typename?: 'Mutation', resetPassword: boolean };\n\n\nexport const RegistrationSigninResetPagesResetPasswordDocument = gql`\n mutation registrationSigninResetPagesResetPassword($mail: String!) {\n resetPassword(mail: $mail)\n}\n `;\nexport type RegistrationSigninResetPagesResetPasswordMutationFn = Apollo.MutationFunction;\n\n/**\n * __useRegistrationSigninResetPagesResetPasswordMutation__\n *\n * To run a mutation, you first call `useRegistrationSigninResetPagesResetPasswordMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRegistrationSigninResetPagesResetPasswordMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [registrationSigninResetPagesResetPasswordMutation, { data, loading, error }] = useRegistrationSigninResetPagesResetPasswordMutation({\n * variables: {\n * mail: // value for 'mail'\n * },\n * });\n */\nexport function useRegistrationSigninResetPagesResetPasswordMutation(baseOptions?: Apollo.MutationHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useMutation(RegistrationSigninResetPagesResetPasswordDocument, options);\n }\nexport type RegistrationSigninResetPagesResetPasswordMutationHookResult = ReturnType;\nexport type RegistrationSigninResetPagesResetPasswordMutationResult = Apollo.MutationResult;\nexport type RegistrationSigninResetPagesResetPasswordMutationOptions = Apollo.BaseMutationOptions;","import { Typography } from \"@/components/essentials/typography\";\nimport { type FC } from \"react\";\nimport { SuccessCard } from \"@/components/fragments/card\";\nimport { successCardTestId, typographyDescriptionTestId, typographyEmailTestId } from \"./const\";\n\ninterface AcceptScreenProps {\n readonly email: string;\n}\n\nexport const AcceptScreen: FC = ({ email }) => {\n return (\n \n \n {email}\n \n \n 上記の宛先に確認メールを送信しました。メールに記載されたURLから\n 1時間以内\n にパスワードを再登録してください\n
\n
\n なお、契約時のメールアドレスと異なる場合、メールは届きませんのでご注意ください。ご不明点がございましたら、お問い合わせください。\n \n
\n );\n};\n","export { AcceptScreen } from \"./AcceptScreen\";\n","import { UnauthedLayout } from \"@/layouts\";\nimport { type NextPage } from \"next\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { ResetPasswordForms } from \"./__components__/reset-password-forms\";\nimport { type ResetPasswordFormValues } from \"./__components__/reset-password-forms/type\";\nimport { useRegistrationSigninResetPagesResetPasswordMutation } from \"./__gql__/registration-reset-password.gen\";\nimport { useApolloError } from \"@/hooks/useApolloError\";\nimport { AcceptScreen } from \"./__components__/accept-screen\";\nimport { useMemo } from \"react\";\nimport { noop } from \"@/modules/utils/function\";\nimport { NextSeo } from \"next-seo\";\n\nconst ResetPasswordPage: NextPage = () => {\n const [resetPasswordMutation, resultResetPasswordMutation] = useRegistrationSigninResetPagesResetPasswordMutation();\n\n const methods = useForm({\n mode: \"all\",\n });\n const { handleSubmit, getValues } = methods;\n\n const handleReset = (data: ResetPasswordFormValues): void => {\n // biome-ignore lint/complexity/noVoid :[AUTOMATICALLY-INSERTED] The use of void is not allowed.\n void resetPasswordMutation({\n variables: {\n mail: data.email,\n },\n }).catch(noop);\n };\n const isSuccess = useMemo(() => resultResetPasswordMutation.data?.resetPassword, [resultResetPasswordMutation.data]);\n useApolloError(resultResetPasswordMutation.error);\n return (\n <>\n \n \n \n {isSuccess === true ? (\n \n ) : (\n {\n // biome-ignore lint/complexity/noVoid :[AUTOMATICALLY-INSERTED] The use of void is not allowed.\n void handleSubmit(handleReset)(e);\n }}\n >\n \n \n )}\n \n \n \n );\n};\n\nexport default ResetPasswordPage;\n"],"names":["window","__NEXT_P","push","__webpack_require__","FormControlContext","createContext","isRequired","undefined","isDirty","isInvalid","FormControl","props","param","emotion_react_jsx_runtime_browser_esm","tZ","value","ChakraFormControl","FormHelperText","forwardRef","ref","typography","testIdSuffix","rest","typographyProps","useMemo","injectTypographyVariant","isInvalidContext","useContext","invalid","BX","Flex","alignItems","gridGap","Icon","mt","as","color","Box","w","ChakraFormHelperText","FormLabel","children","variantProps","ChakraFormLabel","css","Tag","size","mb","colorScheme","variant","inputSize","base","h","sm","md","lg","switchInputSizeVariant","safeGet","injectInputSize","fontSize","fontWeight","baseH","baseFontSize","baseFontWeight","smH","smFontSize","smFontWeight","mdH","mdFontSize","mdFontWeight","lgH","lgFontSize","lgFontWeight","Input","_invalid","boxShadow","bg","_focus","borderColor","type","clear","invisible","invisibleState","setInvisibleState","useState","InputGroup","display","justifyContent","ChakraInput","errorBorderColor","focusBorderColor","borderWidth","_placeholder","textColor","_hover","onFocus","scrollOnFocus","InputRightElement","right","onClick","state","tagSize","py","px","switchTagSize","injectTagSize","tagSizeProps","ChakraTag","borderRadius","BaseCard","p","bgColor","ConfirmCard","headerImage","headerMessage","message","cancelButtonLabel","okButtonLabel","okButtonProps","cancelButtonProps","VStack","Typography","textAlign","whiteSpace","Button","styleVariant","typographyVariant","xl","SuccessCard","text","buttonText","buttonHref","buttonProps","_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__","flexDir","boxSize","Link","href","EmailForm","emailField","required","register","formState","errors","dirtyFields","useFormContext","emailRegister","validate","isEmail","id","get","htmlFor","autoComplete","placeholder","convertDefaultSubCode","subCode","NO_DETAILED_INFORMATION","ErrorMessage","GRAPHQL_PARSE_FAILED","GRAPHQL_VALIDATION_FAILED","BAD_USER_INPUT","INVALID_TOKEN","INVALID_PASSWORD_INPUT","_","MFA_INCORRECT_CODE","MFA_VERIFY_PASSWORD_EXPIRED","INVALID_RECOVERY_CODE","UNAUTHENTICATED","FAILED_TO_SIGN_IN","LOCKED","FORBIDDEN","MFA_ALREADY_REGISTERED","MFA_LOCKED","PERSISTED_QUERY_NOT_FOUND","PERSISTED_QUERY_NOT_SUPPORTED","INTERNAL_SERVER_ERROR","NOT_FOUND","OTHER_ERROR","getErrorMessage","extensions","code","datadogLogs","typeofCode","messageOrRecord","messageOrNull","ApolloErrorToast","graphQLErrors","networkError","JSON","concat","stringify","Toast","shouldRenderErrorMessages","map","filter","isNonNullable","length","div","index","useApolloError","apolloError","option","toast","useToast","testid","useEffect","isActive","render","noop","isInviewAll","rect","element","getBoundingClientRect","top","bottom","innerHeight","event","currentTarget","scrollIntoView","block","behavior","e","ResetPasswordForms","loading","isValid","TextButton","toysubContactUsUrl","target","rel","Center","my","disabled","isLoading","Divider","pagesPath","defaultOptions","RegistrationSigninResetPagesResetPasswordDocument","gql","AcceptScreen","email","data-dd-privacy","strong","br","ResetPasswordPage","resetPasswordMutation","resultResetPasswordMutation","useRegistrationSigninResetPagesResetPasswordMutation","baseOptions","options","Apollo","methods","useForm","mode","handleSubmit","getValues","handleReset","variables","mail","data","catch","isSuccess","resetPassword","error","HY","NextSeo","title","description","UnauthedLayout","pt","FormProvider","form","onSubmit","index_page"],"sourceRoot":""}