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ACAC,CACF,CACF","sources":["webpack://_N_E/ignored|/codebuild/output/src2963541696/src/helloero-new/node_modules/amazon-cognito-identity-js/es/utils|crypto","webpack://_N_E/ignored|/codebuild/output/src2963541696/src/helloero-new/node_modules/crypto-js|crypto","webpack://_N_E/?d672","webpack://_N_E/../shared/components/parts/MainContainer/index.tsx","webpack://_N_E/../shared/components/parts/NoticePage/index.tsx","webpack://_N_E/../shared/components/features/form/FormErrorMessage/index.tsx","webpack://_N_E/../shared/components/features/form/FormRadio/index.tsx","webpack://_N_E/../shared/components/features/form/FormSubmitButtons/index.tsx","webpack://_N_E/../shared/components/features/form/FormValidationMessage/index.tsx","webpack://_N_E/../shared/components/features/form/FormText/visibility_black_24dp.svg","webpack://_N_E/../shared/components/features/form/FormText/visibility_off_black_24dp.svg","webpack://_N_E/../shared/components/features/form/FormText/index.tsx","webpack://_N_E/../shared/components/features/form/FormTextArea/index.tsx","webpack://_N_E/../shared/components/parts/BreadCrumbs/index.tsx","webpack://_N_E/../shared/components/features/svgImages/ArrowRightBlackImage/arrow_right.svg","webpack://_N_E/../shared/components/features/svgImages/ArrowRightBlackImage/index.tsx","webpack://_N_E/../shared/components/parts/TextLinkWithArrow/index.tsx","webpack://_N_E/../shared/helpers/form/generateFieldOptions.ts","webpack://_N_E/../shared/helpers/form/getFormikErrorMessage.ts","webpack://_N_E/../shared/helpers/form/yupValidations.ts","webpack://_N_E/./src/app/(withLayout)/inquiry/_constants/inquiry.ts","webpack://_N_E/./src/app/(withLayout)/inquiry/(index)/_Inquiry/InputForm/index.tsx","webpack://_N_E/../shared/helpers/errorMessages/messages.ts","webpack://_N_E/../shared/hooks/useAmplifyAuth.ts","webpack://_N_E/../shared/hooks/useVariousFetcher.ts","webpack://_N_E/./src/app/(withLayout)/inquiry/(index)/_Inquiry/index.hook.ts","webpack://_N_E/./src/app/(withLayout)/inquiry/(index)/_Inquiry/index.tsx","webpack://_N_E/./src/configs/appPublicConfig.ts","webpack://_N_E/../shared/components/parts/Spacer/index.tsx","webpack://_N_E/../shared/hooks/useUserInfo.tsx"],"sourcesContent":["/* (ignored) */","/* (ignored) */","import(/* webpackMode: \"eager\", webpackExports: [\"Inquiry\"] */ \"/codebuild/output/src2963541696/src/helloero-new/packages/help/src/app/(withLayout)/inquiry/(index)/_Inquiry/index.tsx\");\n","import React from 'react';\n\nexport const MainContainer: React.FC = ({\n children,\n}) =>
{children}
;\n","import Link from 'next/link';\nimport { MainContainer } from '../MainContainer';\nimport { Spacer } from '../Spacer';\n\nexport const NoticePage: React.FC<{\n title: string;\n texts: string | string[];\n links: {\n href: string;\n text: string;\n }[];\n}> = ({ title = null, texts = null, links }) => (\n \n \n
\n
{title}
\n
\n {texts instanceof Array ? (\n
\n {texts.map((val) => (\n
{val}
\n ))}\n
\n ) : (\n
{texts}
\n )}\n
\n
\n \n
\n {links.map(({ href, text }) => (\n \n
{text}
\n \n ))}\n
\n \n
\n);\n","'use client';\nimport React from 'react';\n\nexport const FormErrorMessage: React.FC<{\n message: string;\n}> = ({ message }) => {\n React.useEffect(() => {\n if (!message) {\n return;\n }\n\n window.scrollTo(0, 0);\n }, [message]);\n\n return message ? (\n
\n
\n
\n {message}\n
\n
\n ) : null;\n};\n","export const FormRadio: React.FC<\n {\n text: string;\n } & React.InputHTMLAttributes\n> = ({ text, ...attr }) => (\n
\n \n);\n","export const FormValidationMessage: React.FC<{\n message: string;\n}> = ({ message }) => (\n
\n {message}\n
\n);\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgVisibilityBlack24Dp = function SvgVisibilityBlack24Dp(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Page-1\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"visibility_black_24dp\"\n }, /*#__PURE__*/React.createElement(\"polygon\", {\n id: \"Path\",\n points: \"0 0 24 0 24 24 0 24\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12,6 C15.79,6 19.17,8.13 20.82,11.5 C19.17,14.87 15.79,17 12,17 C8.21,17 4.83,14.87 3.18,11.5 C4.83,8.13 8.21,6 12,6 M12,4 C7,4 2.73,7.11 1,11.5 C2.73,15.89 7,19 12,19 C17,19 21.27,15.89 23,11.5 C21.27,7.11 17,4 12,4 Z M12,9 C13.38,9 14.5,10.12 14.5,11.5 C14.5,12.88 13.38,14 12,14 C10.62,14 9.5,12.88 9.5,11.5 C9.5,10.12 10.62,9 12,9 M12,7 C9.52,7 7.5,9.02 7.5,11.5 C7.5,13.98 9.52,16 12,16 C14.48,16 16.5,13.98 16.5,11.5 C16.5,9.02 14.48,7 12,7 Z\",\n id: \"Shape\",\n fill: \"#000000\",\n fillRule: \"nonzero\"\n })))));\n};\nexport default SvgVisibilityBlack24Dp;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgVisibilityOffBlack24Dp = function SvgVisibilityOffBlack24Dp(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Page-1\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"visibility_off_black_24dp\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0,0 L24,0 L24,24 L0,24 L0,0 Z M0,0 L24,0 L24,24 L0,24 L0,0 Z M0,0 L24,0 L24,24 L0,24 L0,0 Z M0,0 L24,0 L24,24 L0,24 L0,0 Z\",\n id: \"Shape\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12,6 C15.79,6 19.17,8.13 20.82,11.5 C20.23,12.72 19.4,13.77 18.41,14.62 L19.82,16.03 C21.21,14.8 22.31,13.26 23,11.5 C21.27,7.11 17,4 12,4 C10.73,4 9.51,4.2 8.36,4.57 L10.01,6.22 C10.66,6.09 11.32,6 12,6 Z M10.93,7.14 L13,9.21 C13.57,9.46 14.03,9.92 14.28,10.49 L16.35,12.56 C16.43,12.22 16.490037,11.86 16.490037,11.49 C16.5,9.01 14.48,7 12,7 C11.63,7 11.28,7.05 10.93,7.14 Z M2.01,3.87 L4.69,6.55 C3.06,7.83 1.77,9.53 1,11.5 C2.73,15.89 7,19 12,19 C13.52,19 14.98,18.71 16.32,18.18 L19.74,21.6 L21.15,20.19 L3.42,2.45 L2.01,3.87 Z M9.51,11.37 L12.12,13.98 C12.08,13.99 12.04,14 12,14 C10.62,14 9.5,12.88 9.5,11.5 C9.5,11.45 9.51,11.42 9.51,11.37 L9.51,11.37 Z M6.11,7.97 L7.86,9.72 C7.63,10.27 7.5,10.87 7.5,11.5 C7.5,13.98 9.52,16 12,16 C12.63,16 13.23,15.87 13.77,15.64 L14.75,16.62 C13.87,16.86 12.95,17 12,17 C8.21,17 4.83,14.87 3.18,11.5 C3.88,10.07 4.9,8.89 6.11,7.97 Z\",\n id: \"Shape\",\n fill: \"#000000\",\n fillRule: \"nonzero\"\n })))));\n};\nexport default SvgVisibilityOffBlack24Dp;","import React from 'react';\nimport { Spacer } from '../../../parts/Spacer';\nimport { FormValidationMessage } from '../FormValidationMessage';\nimport VisibilityIcon from './visibility_black_24dp.svg';\nimport VisibilityOffIcon from './visibility_off_black_24dp.svg';\n\nexport const FormText: React.FC<\n {\n label: string;\n validationMessage?: string | undefined;\n } & React.InputHTMLAttributes\n> = ({ label, validationMessage, ...attr }) => {\n const isPassword = attr.type === 'password';\n const [isRevealPassword, setIsRevealPassword] =\n React.useState(false);\n\n return (\n
\n
\n \n\n \n \n {isPassword && (\n {\n setIsRevealPassword(!isRevealPassword);\n }}\n type=\"button\"\n >\n {isRevealPassword ? (\n \n ) : (\n \n )}\n \n )}\n
\n {validationMessage && (\n <>\n \n \n \n )}\n
\n );\n};\n","'use client';\nimport React from 'react';\nimport { Spacer } from '../../../parts/Spacer';\nimport { FormValidationMessage } from '../FormValidationMessage';\n\nexport const FormTextArea: React.FC<\n React.HTMLAttributes & {\n validationMessage?: string;\n placeholder?: string;\n }\n> = ({ validationMessage, ...attr }) => {\n const textAreaRef = React.useRef(null);\n\n React.useEffect(() => {\n if (textAreaRef && textAreaRef.current) {\n textAreaRef.current.innerText = attr?.defaultValue\n ? (attr.defaultValue as string)\n : '';\n }\n }, [attr?.defaultValue]);\n\n return (\n
\n
\n \n \n
\n {validationMessage && (\n <>\n \n \n \n )}\n
\n );\n};\n\n// const TextArea = styled.div`\n// ${typo.Standard};\n// background-color: ${({ theme }) => theme.background.primary};\n// border-radius: 0.2rem;\n// border: 2px solid\n// ${({ theme, isError = false }) =>\n// isError ? theme.keyColor.error : theme.foreground.tertiary};\n// box-shadow: none;\n// color: ${({ theme }) => theme.foreground.primary};\n// display: block;\n// width: 100%;\n// overflow: hidden;\n// resize: vertical;\n// min-height: 6rem;\n// line-height: 1.6;\n// padding: 0.5rem;\n// position: relative;\n\n// &[contenteditable] {\n// &:empty::before {\n// ${typo.Standard};\n// content: ${({ placeholder }) => (placeholder ? `\"${placeholder}\"` : '')};\n// color: ${({ theme }) => theme.foreground.tertiary};\n// display: block;\n// line-height: 1.6;\n// }\n// }\n// `;\n","import Link from 'next/link';\n\nexport const BreadCrumbs: React.FC<{\n data: { path: string; text: string }[];\n}> = ({ data }) => (\n
    \n {data.map(({ path, text }, index) => (\n
  • \n \n
    \n {text}\n
    \n \n {index !== data.length - 1 && (\n
    \n )}\n
  • \n ))}\n
\n);\n","export default {\"src\":\"/_next/static/media/arrow_right.cb6641f2.svg\",\"height\":16,\"width\":16,\"blurWidth\":0,\"blurHeight\":0};","import Image from 'next/image';\nimport Icon from './arrow_right.svg?url';\nimport type { SvgImageProps } from '../_type';\n\nexport const ArrowRightBlackImage: React.FC = ({\n alt,\n ...props\n}) => {alt};\n","import Link from 'next/link';\nimport { ArrowRightBlackImage } from '../../features/svgImages/ArrowRightBlackImage';\n\nexport const TextLinkWithArrow: React.FC<\n {\n href: string;\n text: string;\n } & Omit, 'className'>\n> = ({ href, text, ...props }) => (\n \n
{text}
\n \n \n);\n","import type { FormikProps } from 'formik';\n\nexport function generateFormikInputFieldOptions(\n formik: FormikProps,\n name: K,\n type: 'text' | 'password' | 'tel' | 'email' | 'checkbox' | 'radio'\n): React.InputHTMLAttributes {\n return {\n type,\n name: name as string,\n onChange: formik.handleChange,\n onBlur: formik.handleBlur,\n value: formik.values[name] as unknown as string,\n };\n}\n\nexport function generateFormikSelectFieldOptions(\n formik: FormikProps,\n name: K\n): React.SelectHTMLAttributes {\n return {\n name: name as string,\n onChange: formik.handleChange,\n onBlur: formik.handleBlur,\n value: formik.values[name] as unknown as string,\n };\n}\n","import type { FormikProps } from 'formik';\n\nexport function getFormikErrorMessage(\n formik: FormikProps,\n name: U\n): string {\n return formik.touched[name] && formik.errors[name]\n ? (formik.errors[name] as string)\n : '';\n}\n","import * as Yup from 'yup';\n\nconst validationMessages = {\n required: '入力必須です',\n email: 'メールアドレスを入力してください',\n min6: '6文字以上で入力してください',\n min8: '8文字以上で入力してください',\n length16: '16文字で入力してください',\n alphanumerical: '半角英数字で入力してください',\n alphanumericalKigo: '半角英数字記号で入力してください',\n alphanumericalKigoRequired: '英数字両方を含む必要があります',\n numerical: '半角数字で入力してください',\n} as const;\n\nexport const yupValidations = {\n verificationCode: Yup.string()\n .required(validationMessages['required'])\n .matches(/^[0-9]*$/, validationMessages['numerical']),\n\n loginId: Yup.string()\n .required(validationMessages['required'])\n .matches(\n /^[a-zA-Z0-9!-/:-@¥[-`{-~]*$/,\n validationMessages['alphanumericalKigo']\n )\n .min(6, validationMessages['min6']),\n\n password: Yup.string()\n .required(validationMessages['required'])\n .matches(\n /^[a-zA-Z0-9!-/:-@¥[-`{-~]*$/,\n validationMessages['alphanumericalKigo']\n )\n .min(8, validationMessages['min8']),\n\n passwordRegister: Yup.string()\n .required(validationMessages['required'])\n .matches(\n /^(?=.*[A-Z|a-z])(?=.*[0-9])[a-zA-Z0-9!-/:-@¥[-`{-~]*$/,\n validationMessages['alphanumericalKigoRequired']\n )\n .min(8, validationMessages['min8']),\n\n email: Yup.string()\n .required(validationMessages['required'])\n .email(validationMessages['email']),\n\n optEmail: Yup.string().email(validationMessages['email']),\n\n wabiken: Yup.string()\n .required(validationMessages['required'])\n .matches(/^[0-9a-zA-Z]*$/, validationMessages['alphanumerical'])\n .length(16, validationMessages['length16']),\n\n required: Yup.string().required(validationMessages['required']),\n} as const;\n","const INQUIRY_TYPES = {\n start: '利用を開始する方法',\n login: 'ログインできない',\n serialCode: 'シリアルコードの使い方',\n devices: '視聴可能デバイス',\n play: '再生方法・トラブル',\n other: 'その他',\n} as const;\n\nexport type InquiryTypeKeys = keyof typeof INQUIRY_TYPES;\n\nexport const INQUIRY_TYPE_MAP = new Map([\n ['start', INQUIRY_TYPES.start],\n ['login', INQUIRY_TYPES.login],\n ['serialCode', INQUIRY_TYPES.serialCode],\n ['devices', INQUIRY_TYPES.devices],\n ['play', INQUIRY_TYPES.play],\n ['other', INQUIRY_TYPES.other],\n]);\n","import { useFormik } from 'formik';\nimport * as Yup from 'yup';\nimport { FormErrorMessage } from '@/shared/components/features/form/FormErrorMessage';\nimport { FormRadio } from '@/shared/components/features/form/FormRadio';\nimport { FormSubmitButtons } from '@/shared/components/features/form/FormSubmitButtons';\nimport { FormText } from '@/shared/components/features/form/FormText';\nimport { FormTextArea } from '@/shared/components/features/form/FormTextArea';\nimport { BreadCrumbs } from '@/shared/components/parts/BreadCrumbs';\nimport { MainContainer } from '@/shared/components/parts/MainContainer';\nimport { Spacer } from '@/shared/components/parts/Spacer';\nimport { TextLinkWithArrow } from '@/shared/components/parts/TextLinkWithArrow';\nimport { generateFormikInputFieldOptions } from '@/shared/helpers/form/generateFieldOptions';\nimport { getFormikErrorMessage } from '@/shared/helpers/form/getFormikErrorMessage';\nimport { yupValidations } from '@/shared/helpers/form/yupValidations';\nimport { INQUIRY_TYPE_MAP } from '../../../_constants/inquiry';\nimport type { UseInquiry } from '../index.hook';\n\nexport const InputForm: React.FC<{\n state: UseInquiry['state'];\n sendInquiry: UseInquiry['sendInquiry'];\n isSending: boolean;\n}> = ({ state, sendInquiry, isSending }) => {\n const formik = useFormik({\n initialValues: state.formValues,\n validationSchema: Yup.object().shape({\n detail: yupValidations.required,\n contactEmail: yupValidations.email,\n registeredEmail: yupValidations.optEmail,\n }),\n onSubmit: sendInquiry,\n });\n\n return (\n \n \n \n

お問い合わせ

\n \n \n \n
\n
\n お問い合わせの前に、こちらをご確認ください。\n
\n \n
\n {[\n {\n href: '/systemtrouble',\n text: '緊急のお知らせ',\n },\n {\n href: '/guide',\n text: 'よくある質問',\n },\n ].map(({ href, text }) => (\n
\n \n
\n ))}\n
\n
\n\n {\n e.preventDefault();\n formik.handleSubmit();\n }}\n >\n \n
\n お問い合わせ項目\n
\n \n
\n {Array.from(INQUIRY_TYPE_MAP).map(([key, value]) => (\n
\n \n
\n ))}\n
\n\n \n
内容
\n \n ) => {\n formik.setFieldValue('detail', e.target.innerText);\n }}\n validationMessage={getFormikErrorMessage(formik, 'detail')}\n />\n\n \n
\n お客様情報\n
\n \n \n\n \n
\n ご入力いただいたメールアドレスへ回答をお送りいたします。\n
\n\n {!state.isLoggedIn && (\n <>\n \n \n \n
\n ※アカウント情報の確認のため、ご連絡先のメールアドレスと違う場合はご入力ください。\n
\n ※利用開始前のお客様は空欄のまま送信してください。\n
\n \n )}\n \n\n \n \n \n
\n );\n};\n","export const MESSAGES = {\n default: '予期せぬエラーが発生しました。もう一度お試しください。',\n custom: {\n mailIsNotChanged:\n '現在のメールアドレスと同じです。新しいメールアドレスを入力してください。',\n },\n getWabikenMeta: {\n 400001: '入力したコードが正しいか、もう一度お確かめください。',\n 404000: '入力したコードが正しいか、もう一度お確かめください。',\n },\n activateWabiken: {\n 400001: '入力したコードが正しいか、もう一度お確かめください。',\n 404000: '入力したコードが正しいか、もう一度お確かめください。',\n 400102: 'この作品は配信終了しました。',\n 409002: 'このコードは既に利用済みです。',\n },\n getPlayInfo: {\n 400001: '予期せぬエラーが発生しました。もう一度お試しください。', // パラメーターエラー\n 400102: 'この作品は視聴期限が過ぎました。', // wabikenの有効期間外(期限切れ、有効期間前)\n 400103: '予期せぬエラーが発生しました。もう一度お試しください。', // リフレッシュトークンの期限が切れた\n 400104: 'この作品は視聴回数が上限に達しました。', // 視聴可能回数は足りない\n 400105:\n '入力したアドレスが間違っているか、ページが移動した可能性があります。', // wabikenまだアクティベートしません\n 403002: '予期せぬエラーが発生しました。もう一度お試しください。', // wabikenは他人にロックされてる\n 404000:\n '入力したアドレスが間違っているか、ページが移動した可能性があります。', // 存在しないwabiken\n },\n authSignUp: {\n UsernameExistsException: 'このログインIDは利用できません。',\n // ユーザープール内に既に同じ username が存在する場合に起こる。\n InvalidPasswordException: 'パスワードの形式・文字数が間違っています。',\n // ユーザープールのポリシーで設定したパスワードの強度を満たさない場合に起こる。\n InvalidParameterException: '入力内容をお確かめください。',\n // 必要な属性が足りない場合や、入力された各項目が Cognito 側で正しくパースできない場合(バリデーションエラー)に起こる。\n // password が6文字未満の場合はバリデーションエラーでこちらのエラーコードが返ってくる。\n },\n authConfirmSignUp: {\n CodeMismatchException: '本人確認コードが間違っています。',\n // 無効なコードが入力された場合に起こる。\n LimitExceededException:\n '一定回数間違えたため、登録できません。しばらく時間をおいてから、再度お試しください。',\n // コードを間違え続けた場合に起こる。\n ExpiredCodeException:\n '本人確認コードの期限が切れました。もう一度最初からやり直してください。',\n // コードが期限切れ(24時間をオーバー)した場合に起こる。\n // 注) username が存在しない・無効化されている場合にも起こる。\n NotAuthorizedException:\n '既に登録済みです。ログイン画面からログインしてください。',\n // 既にステータスが CONFIRMED になっている場合に起こる。\n CodeDeliveryFailureException:\n '予期せぬエラーが発生しました。もう一度お試しください。',\n // 検証コードの送信に失敗した場合に起こる。\n },\n authResendSignUp: {\n CodeDeliveryFailureException:\n '予期せぬエラーが発生しました。もう一度お試しください。',\n // 検証コードの送信に失敗した場合に起こる。\n InvalidParameterException: 'ログイン画面からログインして利用してください。',\n // 既にステータスが CONFIRMED になっている場合に起こる。\n UserNotFoundException: 'ログインIDが正しいかご確認下さい。',\n // username が存在しない・無効化されている場合に起こる。\n LimitExceededException:\n '一定回数間違えたため、本人確認コードを送信できません。しばらく時間をおいてから、再度お試しください。',\n },\n authSignIn: {\n UserNotConfirmedException: 'このアカウントはまだ登録が完了していません。',\n // ユーザのステータスが UNCONFIRMED の場合に起こる。\n // SignUp用のコードを再送し、ステータスを CONFIRMED にする必要がある。\n // 検証コードの再送は 1.3節の ResendConfirmationCode() を参照。\n PasswordResetRequiredException:\n 'このアカウントはパスワードリセットされています。パスワードを再設定してください。',\n // Cognito コンソールでパスワードをリセット(ユーザープールにユーザをインポートする場合も含む)した場合に起こる。\n // パスワードをリセットする必要がある。\n // パスワードのリセットは 3.1節の SendForgotPasswordCode() 参照。\n NotAuthorizedException: 'ログインID、パスワードが正しいかご確認下さい。',\n // 誤ったパスワードを入力した場合に起こる。\n // 注) パスワードを間違え続けた場合にも起こり、 error.message が 'Password attempts exceeded' になる。\n // (エラーコードとして LimitExceededException が返ってくると思ったらそうではなかった)\n UserNotFoundException: 'ログインID、パスワードが正しいかご確認下さい。',\n // PASSWORD_VERIFIER は通るものの username が Cognito ユーザープールに存在しない場合に起こる。\n InvalidParameterException: 'ログインID、パスワードが正しいかご確認下さい。',\n // 入力された username や password が Cognito 側で正しくパースできないとき(バリデーションエラー)に起こる。\n // 注) 2019/04/24 現在、Cognito コンソールでパスワードをリセットした場合は 'PasswordResetRequiredException' ではなくこのエラーコードが返される。\n },\n authForgotPassword: {\n UserNotFoundException: 'ログインIDが正しいかご確認下さい。', // そんなログインIDは、いない\n LimitExceededException:\n '一定回数を超えたため変更できません。しばらく時間をおいてから、再度お試しください。', // PWを変更しすぎてLockされた\n InvalidParameterException:\n 'メールアドレスの確認が完了していません。先にメールアドレスを再登録してください。', // メールがまだ認証されていないのでメール送信できない\n },\n authForgotPasswordSubmit: {\n CodeMismatchException: '本人確認コードが間違っています。', // 無効なコードが入力された場合に起こる。\n LimitExceededException:\n '一定回数間違えたため、変更できません。しばらく時間をおいてから、再度お試しください。', // コードを間違え続けた場合に起こる。\n ExpiredCodeException:\n '本人確認コードの期限が切れました。もう一度最初からやり直してください。', // コードが期限切れ(1時間をオーバー)した場合に起こる。\n InvalidPasswordException: 'パスワードの形式・文字数が間違っています。', // ユーザープールのポリシーで設定したパスワードの強度を満たさない場合に起こる。\n InvalidParameterException:\n 'パスワードに利用できない文字があるか、形式が間違っています。', // password が6文字未満など Cognito 側で正しくパースできない場合(バリデーションエラー)に起こる。\n },\n authUpdateUserAttributes: {\n InvalidParameterException:\n '予期せぬエラーが発生しました。もう一度お試しください。', // phone_number が E.164 number convention でないなど各属性が Cognito 側で正しくパースできない場合(バリデーションエラー)に起こる。\n CodeDeliveryFailureException:\n '予期せぬエラーが発生しました。もう一度お試しください。', // 検証コードの送信に失敗した場合に起こる。\n },\n authVerifyCurrentUserAttributeSubmit: {\n CodeMismatchException: '本人確認コードが間違っています。', // 無効なコードが入力された場合に起こる。\n LimitExceededException:\n '一定回数間違えたため、変更できません。しばらく時間をおいてから、再度お試しください。', // コードを間違え続けた場合に起こる。\n ExpiredCodeException:\n '本人確認コードの期限が切れました。もう一度最初からやり直してください。', // コードが期限切れ(24時間をオーバー)した場合に起こる。\n NotAuthorizedException:\n '予期せぬエラーが発生しました。もう一度お試しください。', // ユーザーが無効化された場合に起こる。\n UserNotFoundException:\n '予期せぬエラーが発生しました。もう一度お試しください。', // ユーザーがユーザープールに存在しない場合に起こる。\n },\n} as const;\n\nexport type MessageKeys = keyof typeof MESSAGES;\n","import { Auth } from 'aws-amplify';\nimport React from 'react';\nimport { MESSAGES } from '../helpers/errorMessages/messages';\nimport type { MessageKeys } from '../helpers/errorMessages/messages';\nimport type { CognitoUser } from 'amazon-cognito-identity-js';\nimport type { ISignUpResult } from 'amazon-cognito-identity-js';\n\nexport type AmplifyAuthResponse = {\n data: T | null;\n errorCode: string;\n errorMessage: string;\n};\n\nfunction getResponse(data: T) {\n return {\n data: data ?? null,\n errorCode: '',\n errorMessage: '',\n };\n}\n\nfunction getErrorResponse(args: { key?: MessageKeys; error: unknown }) {\n const errorCode = args.error instanceof Error ? args.error.name : '';\n const messageList = args.key ? MESSAGES[args.key] : [];\n const errorMessage =\n messageList[errorCode as keyof typeof messageList] ??\n `${MESSAGES.default}(${errorCode})`;\n\n return {\n data: null,\n errorCode,\n errorMessage,\n };\n}\n\nexport type ForgotPasswordApiResponse = AmplifyAuthResponse<{\n CodeDeliveryDetails: {\n AttributeName: string;\n DeliveryMedium: string;\n Destination: string;\n };\n}>;\n\nexport type SignUpStartApiResponse = AmplifyAuthResponse;\n\nexport function useAmplifyAuth() {\n const signIn = React.useCallback(\n ({\n loginId,\n password,\n }: {\n loginId: string;\n password: string;\n }): Promise =>\n Auth.signIn(loginId, password)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authSignIn',\n error,\n })\n ),\n []\n );\n\n const signOut = React.useCallback(\n (): Promise =>\n Auth.signOut()\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n error,\n })\n ),\n []\n );\n\n const signUp = React.useCallback(\n ({\n loginId,\n password,\n email,\n }: {\n loginId: string;\n password: string;\n email: string;\n }): Promise =>\n Auth.signUp({\n username: loginId,\n password,\n attributes: {\n email,\n },\n })\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authSignUp',\n error,\n })\n ),\n []\n );\n\n const verifyCurrentUserAttribute = React.useCallback(\n ({ attr }: { attr: 'email' }): Promise =>\n Auth.verifyCurrentUserAttribute(attr)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n error,\n })\n ),\n []\n );\n\n const currentAuthenticatedUser = React.useCallback(\n (): Promise> =>\n Auth.currentAuthenticatedUser({ bypassCache: true })\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n error,\n })\n ),\n []\n );\n\n const updateUserAttributes = React.useCallback(\n ({\n user,\n email,\n }: {\n user: unknown;\n email: string;\n }): Promise =>\n Auth.updateUserAttributes(user, {\n email,\n })\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({ key: 'authUpdateUserAttributes', error })\n ),\n []\n );\n\n const verifyCurrentUserAttributeSubmit = React.useCallback(\n ({\n attr,\n verificationCode,\n }: {\n attr: 'email';\n verificationCode: string;\n }): Promise =>\n Auth.verifyCurrentUserAttributeSubmit(attr, verificationCode)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authVerifyCurrentUserAttributeSubmit',\n error,\n })\n ),\n []\n );\n\n const forgotPassword = React.useCallback(\n ({ loginId }: { loginId: string }): Promise =>\n Auth.forgotPassword(loginId)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authForgotPassword',\n error,\n })\n ),\n []\n );\n\n const forgotPasswordSubmit = React.useCallback(\n ({\n loginId,\n verificationCode,\n newPassword,\n }: {\n loginId: string;\n verificationCode: string;\n newPassword: string;\n }): Promise =>\n Auth.forgotPasswordSubmit(loginId, verificationCode, newPassword)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authForgotPasswordSubmit',\n error,\n })\n ),\n []\n );\n\n const resendSignUp = React.useCallback(\n ({ loginId }: { loginId: string }): Promise =>\n Auth.resendSignUp(loginId)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authResendSignUp',\n error,\n })\n ),\n []\n );\n\n const confirmSignUp = React.useCallback(\n ({\n loginId,\n verificationCode,\n }: {\n loginId: string;\n verificationCode: string;\n }): Promise =>\n Auth.confirmSignUp(loginId, verificationCode)\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n key: 'authConfirmSignUp',\n error,\n })\n ),\n []\n );\n\n const deleteUser = React.useCallback(\n (): Promise =>\n Auth.deleteUser()\n .then(getResponse)\n .catch((error) =>\n getErrorResponse({\n error,\n })\n ),\n []\n );\n\n return {\n signIn,\n signOut,\n signUp,\n confirmSignUp,\n verifyCurrentUserAttribute,\n currentAuthenticatedUser,\n updateUserAttributes,\n verifyCurrentUserAttributeSubmit,\n forgotPassword,\n forgotPasswordSubmit,\n resendSignUp,\n deleteUser,\n };\n}\n","import React from 'react';\n\nconst DEFAULT_INIT: RequestInit = {\n method: 'GET',\n cache: 'no-cache',\n credentials: 'include',\n headers: {\n 'Content-Type': 'application/json',\n },\n};\n\nexport function useVariousFetch(): {\n loading: boolean;\n data: T | null;\n fetcher: (input: RequestInfo, init?: RequestInit) => Promise;\n} {\n const [loading, setLoading] = React.useState(false);\n const [data, setData] = React.useState(null);\n\n const fetcher = React.useCallback(\n (input: RequestInfo, init?: RequestInit): Promise => {\n setLoading(true);\n\n const option = {\n ...DEFAULT_INIT,\n ...init,\n };\n\n return fetch(input, option)\n .then(\n (response: Response): Promise =>\n response.json().then((json): T => {\n setData(json);\n return json;\n })\n )\n .catch((error) => {\n // eslint-disable-next-line no-console\n console.log((error as Error).message);\n return Promise.reject({} as T);\n })\n .finally(() => {\n setLoading(false);\n });\n },\n []\n );\n\n return {\n loading,\n data,\n fetcher,\n };\n}\n","import React from 'react';\nimport { useAmplifyAuth } from '@/shared/hooks/useAmplifyAuth';\nimport { useUserInfo } from '@/shared/hooks/useUserInfo';\nimport { useVariousFetch } from '@/shared/hooks/useVariousFetcher';\nimport type { InquiryApiRequest } from '../../api/route';\nimport type { RouteHandlerResponse } from 'u-next/custom';\n\ntype State = {\n pageStatus: 'INIT' | 'INPUT' | 'COMPLETE';\n errorMessage: string;\n isLoggedIn: boolean;\n formValues: InquiryApiRequest;\n};\n\nexport type UseInquiry = {\n state: State;\n sendInquiry: (values: State['formValues']) => Promise;\n isSending: boolean;\n};\n\nexport function useInquiry(): UseInquiry {\n const [state, setState] = React.useState({\n pageStatus: 'INIT',\n errorMessage: '',\n isLoggedIn: false,\n formValues: {\n inquiryType: 'start',\n detail: '',\n contactEmail: '',\n registeredEmail: '',\n },\n });\n const { isLoadedUserInfo, userInfo } = useUserInfo();\n const { currentAuthenticatedUser } = useAmplifyAuth();\n const { fetcher, loading } = useVariousFetch();\n\n const sendInquiry: UseInquiry['sendInquiry'] = React.useCallback(\n async (values) => {\n const apiData = await fetcher('/inquiry/api', {\n method: 'POST',\n cache: 'no-cache',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(values),\n });\n\n setState((state) => ({\n ...state,\n pageStatus: apiData.result ? 'COMPLETE' : 'INPUT',\n errorMessage: apiData.errorMessage,\n formValues: values,\n }));\n },\n [fetcher]\n );\n\n React.useEffect(() => {\n (async () => {\n if (!isLoadedUserInfo) {\n return;\n }\n\n const userData = await currentAuthenticatedUser().then(\n (response) => response.data\n );\n\n setState((state) => ({\n ...state,\n pageStatus: 'INPUT',\n isLoggedIn: userInfo.isLoggedIn,\n formValues: {\n ...state.formValues,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registeredEmail: (userData as any)?.attributes?.email ?? '', // 強引な取得\n },\n }));\n })();\n }, [currentAuthenticatedUser, isLoadedUserInfo, userInfo.isLoggedIn]);\n\n return {\n state,\n sendInquiry,\n isSending: loading,\n };\n}\n","'use client';\nimport { appPublicConfig } from '@/configs/appPublicConfig';\nimport { NoticePage } from '@/shared/components/parts/NoticePage';\nimport { InputForm } from './InputForm';\nimport { useInquiry } from './index.hook';\n\nexport const Inquiry: React.FC = () => {\n const { state, sendInquiry, isSending } = useInquiry();\n\n return (\n <>\n {state.pageStatus === 'INIT' &&
}\n {state.pageStatus === 'INPUT' && (\n \n )}\n {state.pageStatus === 'COMPLETE' && (\n \n )}\n \n );\n};\n","import type { Config } from 'u-next/config';\n\nconst config = JSON.parse(process.env.publicConfig ?? '') as Config;\n\n/**\n * server/client両方で参照可能\n */\nexport const appPublicConfig = config;\n","export const Spacer: React.FC<{\n level: 4 | 3 | 2 | 1.5 | 1 | 0.5 | 0.25;\n}> = ({ level }) => (\n \n);\n","'use client';\nimport { onAuthUIStateChange } from '@aws-amplify/ui-components';\nimport { Auth } from 'aws-amplify';\nimport React from 'react';\nimport type { AuthState } from '@aws-amplify/ui-components';\n\ntype UserInfo = {\n isLoggedIn: boolean;\n userName: string | null;\n customUserId: string | null;\n email: string | null;\n};\n\nconst initialState: UserInfo = {\n isLoggedIn: false,\n userName: '',\n customUserId: '',\n email: '',\n};\n\nconst LoginStateContext = React.createContext({\n isLoadedUserInfo: false,\n userInfo: initialState,\n});\n\nexport const UserInfoProvider: React.FC = ({\n children,\n}) => {\n const [isLoadedUserInfo, setIsLoadedUserInfo] =\n React.useState(false);\n const [authState, setAuthState] = React.useState();\n const [userInfo, setUserInfo] = React.useState(initialState);\n\n React.useEffect(() => {\n Auth.currentAuthenticatedUser({\n bypassCache: true,\n })\n .then((user) => {\n setUserInfo({\n isLoggedIn: true,\n userName: user.username,\n customUserId: user.attributes['custom:userid'], // 少々強引な取り方\n email: user.attributes['email'], // 少々強引な取り方\n });\n setIsLoadedUserInfo(true);\n })\n .catch(() => {\n setUserInfo(initialState);\n setIsLoadedUserInfo(true);\n });\n }, [authState]);\n\n React.useEffect(() => {\n onAuthUIStateChange((nextAuthState) => {\n setAuthState(nextAuthState);\n });\n }, []);\n\n return (\n \n {children}\n \n );\n};\n\nexport function useUserInfo(): {\n isLoadedUserInfo: boolean;\n userInfo: UserInfo;\n} {\n const { isLoadedUserInfo, userInfo } = React.useContext(LoginStateContext);\n\n if (userInfo === null) {\n throw new Error('can not find UserInfoProvider');\n }\n\n return {\n isLoadedUserInfo,\n userInfo,\n };\n}\n"],"names":["MainContainer","children","div","className","NoticePage","title","texts","links","Spacer","level","Array","map","val","href","text","Link","passHref","FormErrorMessage","message","React","window","scrollTo","attr","label","input","type","buttons","props","index","isButtonProps","buttonType","Button","LinkButton","_","isLoading","buttonStyle","button","svg","aria-hidden","viewBox","fill","xmlns","path","d","FormValidationMessage","FormText","validationMessage","isPassword","isRevealPassword","setIsRevealPassword","placeholder","onClick","VisibilityIcon","VisibilityOffIcon","textAreaRef","current","innerText","defaultValue","role","ref","aria-multiline","contentEditable","data","ul","li","length","ArrowRightBlackImage","alt","Image","src","Icon","generateFormikInputFieldOptions","formik","name","onChange","handleChange","onBlur","handleBlur","value","values","getFormikErrorMessage","touched","errors","validationMessages","required","email","min6","min8","length16","alphanumerical","alphanumericalKigo","alphanumericalKigoRequired","numerical","yupValidations","verificationCode","Yup","matches","loginId","min","password","passwordRegister","optEmail","wabiken","start","login","serialCode","devices","play","other","INQUIRY_TYPE_MAP","Map","INQUIRY_TYPES","state","sendInquiry","isSending","useFormik","initialValues","formValues","validationSchema","shape","detail","contactEmail","registeredEmail","onSubmit","errorMessage","h1","BreadCrumbs","TextLinkWithArrow","form","e","preventDefault","handleSubmit","from","key","FormRadio","checked","inquiryType","FormTextArea","setFieldValue","target","isLoggedIn","br","FormSubmitButtons","disabled","MESSAGES","default","custom","mailIsNotChanged","getWabikenMeta","activateWabiken","getPlayInfo","authSignUp","UsernameExistsException","InvalidPasswordException","InvalidParameterException","authConfirmSignUp","CodeMismatchException","LimitExceededException","ExpiredCodeException","NotAuthorizedException","CodeDeliveryFailureException","authResendSignUp","UserNotFoundException","authSignIn","UserNotConfirmedException","PasswordResetRequiredException","authForgotPassword","authForgotPasswordSubmit","authUpdateUserAttributes","authVerifyCurrentUserAttributeSubmit","getResponse","errorCode","getErrorResponse","args","messageList","error","Error","DEFAULT_INIT","method","cache","credentials","headers","Inquiry","useInquiry","setState","pageStatus","isLoadedUserInfo","userInfo","useUserInfo","currentAuthenticatedUser","useAmplifyAuth","signIn","Auth","then","catch","signOut","signUp","username","attributes","verifyCurrentUserAttribute","bypassCache","updateUserAttributes","user","verifyCurrentUserAttributeSubmit","forgotPassword","forgotPasswordSubmit","newPassword","resendSignUp","confirmSignUp","deleteUser","fetcher","loading","useVariousFetch","setLoading","setData","init","fetch","option","response","json","console","log","Promise","reject","finally","apiData","body","JSON","stringify","result","userData","InputForm","appPublicConfig","ACCOUNT","parse","process","config","initialState","userName","customUserId","LoginStateContext","UserInfoProvider","setIsLoadedUserInfo","authState","setAuthState","setUserInfo","onAuthUIStateChange","nextAuthState","Provider"],"sourceRoot":"","ignoreList":[0,1]}