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ACdC,MAAOC,EAAAA,CAAcA,CAACC,qBAAqB,CAC3CC,WAAYvK,EAAOb,KAAK,CACxBqL,UAAW,IAAIC,OAAOC,OAAO,EAC/B,GAGExB,EAAWW,MAAM,EACjBc,OAAOC,IAAI,CAACC,EAAAA,CAAeA,EAAEC,QAAQ,CAAC9B,EAAOG,KAAK,CAACU,MAAM,EAEzDkB,OAAOC,QAAQ,CAACC,IAAI,CAAG,GAEM5L,MAAAA,CAD3BwL,EAAAA,CAAe,CAAC3B,EAAWW,MAAM,CAAmB,CACrD,8BAAkD/J,MAAA,CAAtBT,EAAK6L,gBAAgB,EACzChC,EAAWiC,UAAU,EAAIjC,KAAAA,EAAWiC,UAAU,CACvDnC,EAAOoC,IAAI,CAAClC,EAAWiC,UAAU,EAEjCnC,EAAOoC,IAAI,CAACC,EAAAA,CAAMA,CAACC,QAAQ,CAE/B,CAAE,MAAOC,EAAO,CACd1C,MAAAA,GAAAA,EAAU0C,EACZ,CACAhC,EAAkB,GACpB,EAEA,CAACP,EAAQI,EAAoB,CAK/B,CACF,yDC9DO,IAAMe,EAAkB,IACzBY,OAAOS,SAAS,CAClBT,OAAOS,SAAS,CAACJ,IAAI,CAACK,GAEtBC,QAAQC,IAAI,CAAC,iCAEjB,+BCbYtB,mCAAAA,EAAAA,GAAAA,CAAAA,EAAAA,CAAAA,CAAAA","sources":["webpack://_N_E/./src/assets/game/registration/registration-character.webp","webpack://_N_E/./src/api/user-invite.ts","webpack://_N_E/./src/components/templates/RegisterPage/Register.Styled.tsx","webpack://_N_E/./src/components/ui/CheckboxControl/index.tsx","webpack://_N_E/./src/hooks/user/useRegister.ts","webpack://_N_E/./src/utils/gtm.ts","webpack://_N_E/./src/utils/gtmTag.ts"],"sourcesContent":["export default {\"src\":\"/_next/static/media/registration-character.6539c272.webp\",\"height\":660,\"width\":398,\"blurDataURL\":\"data:image/webp;base64,UklGRpQAAABXRUJQVlA4WAoAAAAQAAAABAAABwAAQUxQSCkAAAAAABPeDgAASP9MAAAV61oBBOP//4hT////5aP5///ZFu///3k8///sGwBWUDggRAAAAPABAJ0BKgUACAACQDgljAJ0AQ8EV+CoAAD+9LeO86v+g+bBLA98J57dE1eZGVOe9ZDqAuIctv9XvCk/5ZL/s8T4AAAA\",\"blurWidth\":5,\"blurHeight\":8};","import { Project } from 'configs'\nimport { GetAllResponse, ListParams } from '@type/common'\nimport { UserInvite, UserListResponse } from '@type/schemas/UserSchema'\nimport { getAxios } from './api'\n\n// API Request for user invitation\nexport async function reqUserInvite({ email, role }: { email: string; role: string }) {\n const { data } = await getAxios().post('/user-invite', {\n email,\n role,\n projectType: Project.END_THE_RIG,\n })\n return data\n}\n\n// API Request for email of user invitation\nexport async function getUserInviteEmail(id: string) {\n const { data } = await getAxios().get(`/user-invite/email/${id}`)\n return data\n}\n\n// API Request for user invitation\nexport async function reqUserInviteRegistration(values: {\n id: string\n username: string\n email: string\n password: string\n}) {\n const { id, ...userData } = values\n const { data } = await getAxios().post('/user-invite/register', {\n id,\n user: userData,\n })\n return data\n}\n\nexport async function fetchAllUserInvites(params: ListParams) {\n const { data } = await getAxios().get>(`user-invite/list`, {\n params,\n })\n return data\n}\n\nexport async function fetchAllUsers({\n limit,\n page,\n search,\n sortBy,\n sortOrder,\n}: {\n page?: number\n limit?: number\n search?: string\n sortBy?: string\n sortOrder?: string\n}) {\n let sorting\n if (sortBy && sortOrder) {\n sorting = {\n column: sortBy,\n arrange: sortOrder,\n }\n }\n const { data } = await getAxios().get(`/user/list`, {\n params: {\n pagination: {\n page,\n limit,\n },\n sorting,\n search,\n },\n })\n return data\n}\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport styled from '@emotion/styled'\nimport {\n Box,\n Button,\n FormControlLabel,\n FormHelperText,\n InputLabel,\n Radio,\n TextField,\n Typography,\n} from '@mui/material'\nimport Image from 'next/image'\nimport registrationPageBackground from '@asset/game/registration/bg_registration.webp'\nimport theme from '@theme'\n\nexport const BoxRegistrationPageMainWrapper = styled(Box)(() => ({\n backgroundColor: theme.palette.blue14,\n backgroundImage: `url(${registrationPageBackground.src})`,\n display: 'flex',\n flexDirection: 'column',\n height: '100vh',\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center top',\n}))\nexport const BoxRegistrationPageSubWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'column',\n backgroundSize: 'cover',\n height: '100vh',\n '@media (max-width: 991px)': {\n height: '100vh',\n },\n userSelect: 'none',\n overflow: 'auto',\n marginBottom: '15px',\n justifyContent: 'center',\n}))\n\nexport const SignUpImageChar = styled(Image)(() => ({\n objectFit: 'contain',\n objectPosition: 'bottom right',\n aspectRatio: '3/5',\n justifyContent: 'right',\n alignSelf: 'right',\n maxHeight: '90vh',\n width: '100%',\n height: '100%',\n}))\n\nexport const ImageContainerBox = styled(Box)(() => ({\n position: 'absolute',\n right: '10%',\n height: '75vh',\n display: 'flex',\n [theme.breakpoints.down('md')]: {\n right: '0%',\n },\n [theme.breakpoints.down('lg')]: {\n right: '2%',\n },\n [theme.breakpoints.up('lg')]: {\n right: '2%',\n },\n [theme.breakpoints.up('xxl')]: {\n right: '10%',\n },\n bottom: 0,\n}))\n\nexport const TextContaienrBox = styled(Box)(() => ({\n m: 'auto',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n}))\n\nexport const FormFieldsContainerBox = styled(Box)(() => ({\n m: 'auto',\n display: 'flex',\n flexDirection: 'column',\n gap: 2,\n backgroundColor: theme.palette.blue14,\n padding: '12px',\n borderRadius: '10px',\n}))\n\nexport const BoxRegistrationFormTitleMainWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: '8px 10px',\n gap: '10px',\n alignSelf: 'stretch',\n borderRadius: '10px',\n background: `linear-gradient(90deg, #42537F 0%, ${theme.palette.blue14} 100%)`,\n alignItems: 'center',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n },\n}))\n\nexport const TypographyRegistrationFormTitle = styled(Typography)(() => ({\n color: theme.palette.neutralVariant100,\n fontSize: '38px',\n fontStyle: 'normal',\n fontWeight: 600,\n lineHeight: '57px',\n textAlign: 'center',\n letterSpacing: '-0.02em',\n}))\n\nexport const TypographyRegistrationFormSubTitle = styled(Typography)(() => ({\n color: theme.palette.neutralVariant100,\n fontSize: '24px',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '24px',\n textAlign: 'center',\n letterSpacing: '0.5px',\n}))\n\nexport const TypographyRegistrationFormTitleWrapper = styled(Typography)(() => ({\n color: theme.palette.neutralVariant100,\n fontSize: '38px',\n fontStyle: 'normal',\n fontWeight: 600,\n lineHeight: 'normal',\n textTransform: 'uppercase',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n}))\n\nexport const TypographyRegistrationFormSubTitleWrapper = styled(Typography)(() => ({\n display: 'flex',\n justifyContent: 'center',\n color: theme.palette.purple,\n fontFamily: 'Poppins',\n fontSize: '18px',\n fontStyle: 'normal',\n fontWeight: 700,\n letterSpacing: '0.5px',\n textTransform: 'uppercase',\n}))\n\nexport const TextFieldRegistrationForm = styled(TextField)(() => ({\n borderRadius: '4px',\n border: '1px solid rgba(255, 255, 255, 0.30)',\n background: 'rgba(255, 255, 255, 0.9)',\n '& .MuiInputBase-input::placeholder': {\n color: theme.palette.blue14,\n opacity: 0.8,\n textTransform: 'uppercase',\n },\n '& .MuiInputBase-input': {\n color: theme.palette.blue14,\n fontSize: '16px',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: 'normal',\n padding: '10px 12px',\n },\n}))\n\nexport const FormControlLabelRegistrationForm = styled(FormControlLabel)(() => ({\n color: theme.palette.neutralVariant100,\n fontSize: '10px',\n fontStyle: 'normal',\n fontWeight: 500,\n letterSpacing: '0.5px',\n marginLeft: '-6px',\n}))\n\nexport const ButtonRegistrationFormSignUp = styled(Button)(() => ({\n borderRadius: '10px',\n background: theme.palette.purple,\n boxShadow: '0px 2px 2px 0px rgba(27, 6, 50, 0.50)',\n color: theme.palette.neutralVariant100,\n fontSize: '24px',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '20px',\n textTransform: 'uppercase',\n padding: '16px',\n ':hover': {\n background: theme.palette.purple1,\n },\n ':disabled': {\n color: theme.palette.blue18,\n background: theme.palette.blue15,\n },\n}))\n\nexport const BoxRegistrationFormfooterMainWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'column',\n borderEndStartRadius: '10px',\n borderEndEndRadius: '10px',\n background: theme.palette.blue14,\n backdropFilter: 'blur(10px)',\n padding: '0px 0px 15px 5px',\n}))\n\nexport const TypographyRegistrationFormfooterTitle = styled(Typography)(() => ({\n color: theme.palette.blue15,\n fontSize: '16px',\n fontStyle: 'normal',\n fontWeight: 500,\n}))\n\nexport const TypographyRegistrationFormfooterSubTitle = styled(Typography)(() => ({\n color: theme.palette.blue15,\n fontSize: '16px',\n fontStyle: 'normal',\n fontWeight: 500,\n}))\n\nexport const TypographyAdventurePacks = styled(Typography)(() => ({\n color: theme.palette.neutralVariant100,\n lineHeight: '1.5em',\n fontWeight: '700',\n}))\n\nexport const TypographyAgeVerification = styled(Typography)(() => ({\n color: theme.palette.neutralVariant100,\n lineHeight: '17px',\n fontWeight: '500',\n fontSize: '12px',\n letterSpacing: '0.5px',\n}))\n\nexport const TypographyAdventurePacksInfo = styled(Typography)(() => ({\n fontFamily: 'Poppins',\n color: theme.palette.grey2,\n lineHeight: '17px',\n fontWeight: '500',\n fontSize: '12px',\n letterSpacing: '0.5px',\n}))\n\nexport const BoxRegistrationFormGamTagMainWrapper = styled(Box)(() => ({\n borderRadius: '12px',\n background: theme.palette.blue15,\n backdropFilter: 'blur(5px)',\n padding: '20px 20px 0px 20px',\n minHeight: '90%',\n display: 'flex',\n flexDirection: 'column',\n gap: '10px',\n width: '100%',\n}))\n\nexport const TypographyRegistrationFormGamTagfootertitle = styled(Typography)(() => ({\n color: theme.palette.purple,\n fontFamily: 'Poppins',\n fontSize: '11px',\n fontStyle: 'italic',\n fontWeight: 400,\n lineHeight: 'normal',\n letterSpacing: '0.5px',\n}))\n\nexport const FormHelperTextRegistrationForm = styled(FormHelperText)(() => ({\n color: `${theme.palette.purple1} !important`,\n fontSize: '13px',\n marginLeft: '5PX',\n fontWeight: 400,\n lineHeight: '23px',\n letterSpacing: '0.5px',\n}))\n\nexport const NormalLabel = styled(InputLabel)`\n font-weight: bold;\n text-wrap: wrap;\n padding-left: ${({ theme }) => theme.spacing(0.2)};\n padding-bottom: ${({ theme }) => theme.spacing(1)};\n color: ${({ theme }) => theme.palette.neutralVariant100};\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n margin-top: 15px;\n color: ${({ theme }) => theme.palette.neutralVariant100};\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n`\n\nexport const Label = styled(NormalLabel)`\n text-transform: uppercase;\n\n & .MuiFormLabel-asterisk {\n color: ${({ theme }) => theme.palette.neutralVariant100};\n }\n`\n\nexport const LoginLink = styled('a')`\n color: ${({ theme }) => theme.palette.neutralVariant100};\n text-decoration: none;\n`\n\nexport const BoxRegistrationPageMainFormWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'center',\n alignSelf: 'center',\n maxHeight: '80vh',\n width: '100%',\n padding: '20px',\n}))\n\nexport const BoxRegistrationPageSubFormWrapper = styled(Box)(() => ({\n display: 'flex',\n width: '100%',\n borderTopLeftRadius: '10px',\n borderTopRightRadius: '10px',\n background: theme.palette.blue16,\n backdropFilter: 'blur(10px)',\n}))\n\nexport const TypographyForgotPassContainer = styled(Typography)(() => ({\n textAlign: 'right',\n color: theme.palette.blue15,\n fontSize: '16px',\n fontWeight: 'bold',\n cursor: 'pointer',\n padding: '10px',\n}))\n\nexport const BoxSignInFormWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'column',\n gap: '5px',\n}))\n\nexport const BoxSignInPageMainWrapper = styled(Box)(() => ({\n display: 'flex',\n height: '100vh',\n justifyContent: 'center',\n alignItems: 'center',\n userSelect: 'none',\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center top',\n}))\n\nexport const BoxSignInPageWrapper = styled(Box)(() => ({\n maxHeight: '80vh',\n overflow: 'auto',\n width: '100%',\n display: 'flex',\n justifyContent: 'center',\n '@media (orientation: landscape)': {\n [theme.breakpoints.down('md')]: {\n maxHeight: '60vh',\n },\n },\n}))\n\nexport const BoxSignInPageSubWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'column',\n borderRadius: '10px',\n background: theme.palette.blue16,\n backdropFilter: 'blur(10px)',\n justifyContent: 'center',\n alignItems: 'center',\n padding: '20px',\n margin: '30px',\n boxShadow: 'rgba(0, 0, 0, 0.04) 0px 5px 15px',\n}))\n\nexport const BoxLogoWrapper = styled(Box)(() => ({\n display: 'flex',\n justifyContent: 'center',\n marginBottom: '32px',\n}))\n\nexport const CustomRadio = styled(Radio)`\n &.Mui-checked {\n color: ${({ theme }) => theme.palette.purple}; // Customize the checked color\n }\n`\n\nexport const BoxRegistrationMainWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'row',\n width: '100%',\n height: '100%',\n gap: '30px',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n },\n}))\n\nexport const BoxRegistrationSubWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n flexBasis: '35%',\n padding: '7%',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n },\n}))\n\nexport const BoxCharacterMainWrapper = styled(Box)(() => ({\n display: 'flex',\n flexDirection: 'column',\n flexBasis: '30%',\n zIndex: 0,\n [theme.breakpoints.down('lg')]: {\n display: 'none',\n },\n}))\n","import { CheckBoxOutlineBlank } from '@mui/icons-material'\nimport { Box, Checkbox } from '@mui/material'\nimport theme from '@theme'\n\n// Define custom SVG for the checkmark\nconst CustomCheckmarkSVG = (\n \n \n \n)\ninterface Props {\n checked: boolean\n}\nconst CheckboxControl = ({ checked }: Props) => (\n \n }\n checkedIcon={\n \n {CustomCheckmarkSVG}\n \n }\n />\n)\n\nexport default CheckboxControl\n","import { useRouter } from 'next/router'\nimport { useCallback, useContext } from 'react'\nimport { toast } from 'react-toastify'\nimport { reqRegisterUser } from '@api/api'\nimport ROUTES from '@constant/Routes'\nimport { UserContext } from '@context/UserContext'\nimport useLoadingOverlay from '@hook/loadingOverlay/useLoadingOverlay'\nimport { RegisterUserDto } from 'types/dto'\nimport { TRUSTED_DOMAINS, TrustedDomains } from '@constant/SSO'\nimport { pushToDataLayer } from '@util/gtm'\nimport { GTM_CUSTOM_TAG } from '@util/gtmTag'\nimport { reqUserInviteRegistration } from '@api/user-invite'\n\ntype Props = { onError?: (_: any) => void; id?: string }\n\nfunction useRegister({ onError, id }: Props = { onError: () => null }) {\n const router = useRouter()\n const routeQuery = router.query\n const { changeHasUserStatus } = useContext(UserContext)\n const { setLoadingOverlay } = useLoadingOverlay()\n const registerUser = useCallback(\n async (values: RegisterUserDto) => {\n setLoadingOverlay(true)\n try {\n let data\n if (id) {\n data = await reqUserInviteRegistration({ id, ...values })\n } else {\n data = (\n await reqRegisterUser({\n ...values,\n origin: (router.query.origin as string) ?? 'endtherig',\n })\n )?.data\n }\n localStorage.setItem('jwt', data.access_token)\n changeHasUserStatus(true)\n toast.success('You have successfully completed registration.')\n\n pushToDataLayer({\n event: GTM_CUSTOM_TAG.COMPLETE_REGISTRATION,\n user_Email: values.email,\n timestamp: new Date().getTime(),\n })\n\n if (\n routeQuery.origin &&\n Object.keys(TRUSTED_DOMAINS).includes(router.query.origin as TrustedDomains)\n ) {\n window.location.href = `${\n TRUSTED_DOMAINS[routeQuery.origin as TrustedDomains]\n }/authenticating?tempToken=${data.provisionalToken}`\n } else if (routeQuery.redirectTo && routeQuery.redirectTo !== '') {\n router.push(routeQuery.redirectTo as string)\n } else {\n router.push(ROUTES.Download)\n }\n } catch (error) {\n onError?.(error)\n }\n setLoadingOverlay(false)\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [router, changeHasUserStatus],\n )\n\n return {\n registerUser,\n }\n}\n\nexport default useRegister\n","/* eslint-disable no-console */\n// utils/gtm.ts\ninterface EventData {\n event: string\n [key: string]: any\n}\n\nexport const pushToDataLayer = (eventData: EventData) => {\n if (window.dataLayer) {\n window.dataLayer.push(eventData)\n } else {\n console.warn('GTM dataLayer is not available')\n }\n}\n","export enum GTM_CUSTOM_TAG {\n ENTER_SITE = 'enter_endtherig_com',\n VIEW_CONTENT = 'view_content',\n CLICK_PLAY_BUTTON = 'click_play_button',\n COMPLETE_REGISTRATION = 'complete_registration',\n OPEN_UNREAL_GAME = 'open_unreal_game',\n DOWNLOAD_GAME = 'download_game',\n}\n"],"names":["__webpack_exports__","Z","reqUserInvite","param","email","role","data","getAxios","post","projectType","Project","END_THE_RIG","getUserInviteEmail","id","get","concat","reqUserInviteRegistration","values","userData","user","fetchAllUserInvites","params","fetchAllUsers","sorting","limit","page","search","sortBy","sortOrder","column","arrange","pagination","BoxRegistrationPageMainWrapper","styled","Box","backgroundColor","theme","palette","blue14","backgroundImage","registrationPageBackground","src","display","flexDirection","height","backgroundSize","backgroundRepeat","backgroundPosition","BoxRegistrationPageSubWrapper","userSelect","overflow","marginBottom","justifyContent","SignUpImageChar","Image","objectFit","objectPosition","aspectRatio","alignSelf","maxHeight","width","ImageContainerBox","position","right","breakpoints","down","up","bottom","m","alignItems","FormFieldsContainerBox","gap","padding","borderRadius","BoxRegistrationFormTitleMainWrapper","background","TypographyRegistrationFormTitle","Typography","color","neutralVariant100","fontSize","fontStyle","fontWeight","lineHeight","textAlign","letterSpacing","TypographyRegistrationFormSubTitle","TypographyRegistrationFormTitleWrapper","textTransform","purple","fontFamily","TextFieldRegistrationForm","TextField","border","opacity","FormControlLabelRegistrationForm","FormControlLabel","marginLeft","ButtonRegistrationFormSignUp","Button","boxShadow","purple1","blue18","blue15","BoxRegistrationFormfooterMainWrapper","borderEndStartRadius","borderEndEndRadius","backdropFilter","TypographyRegistrationFormfooterTitle","TypographyRegistrationFormfooterSubTitle","TypographyAdventurePacks","TypographyAgeVerification","TypographyAdventurePacksInfo","grey2","minHeight","FormHelperTextRegistrationForm","FormHelperText","NormalLabel","InputLabel","spacing","Label","LoginLink","_templateObject2","BoxRegistrationPageMainFormWrapper","borderTopLeftRadius","borderTopRightRadius","blue16","TypographyForgotPassContainer","cursor","BoxSignInFormWrapper","BoxSignInPageMainWrapper","BoxSignInPageWrapper","BoxSignInPageSubWrapper","margin","BoxLogoWrapper","CustomRadio","Radio","BoxRegistrationMainWrapper","BoxRegistrationSubWrapper","flexBasis","BoxCharacterMainWrapper","zIndex","CustomCheckmarkSVG","_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","tZ","svg","xmlns","viewBox","path","fill","d","checked","Checkbox","sx","icon","CheckBoxOutlineBlank","style","checkedIcon","onError","arguments","length","router","useRouter","routeQuery","query","changeHasUserStatus","useContext","UserContext","setLoadingOverlay","useLoadingOverlay","registerUser","useCallback","_this","reqRegisterUser","origin","localStorage","setItem","access_token","toast","success","pushToDataLayer","event","GTM_CUSTOM_TAG","COMPLETE_REGISTRATION","user_Email","timestamp","Date","getTime","Object","keys","TRUSTED_DOMAINS","includes","window","location","href","provisionalToken","redirectTo","push","ROUTES","Download","error","dataLayer","eventData","console","warn"],"sourceRoot":""}