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AKO,aAAa,CAACpB,EAAMiB,EAAEC,MAAM,CAACC,KAAK,CACzC,EACAZ,UAAU,sEACVS,aAAchB,YAEd,GAAAT,EAAAC,GAAA,EAAC4E,SAAAA,CAAOjD,MAAM,YAAG,mBAChBuD,EAAYL,GAAG,CAAC,GACf,GAAA9E,EAAAC,GAAA,EAAC4E,SAAAA,CAECoB,YAAWT,EAAQG,IAAI,CACvB/D,MAAO4D,EAAQ/E,IAAI,UAElB+E,EAAQ/E,IAAI,EAJR+E,EAAQhE,EAAE,WAW3B,GAAAxB,EAAAC,GAAA,EAAC8B,EAAAA,YAAYA,CAAAA,CACXtB,KAAMA,EACNuB,OAAQ,GACN,GAAAhC,EAAAC,GAAA,EAACkB,OAAAA,CAAKH,UAAU,8DACbiB,QAMb,23DE5FO,IAAMiE,EAAcC,CAAAA,EAAAA,EAAAA,EAAAA,EAAGA,KAgBjBC,EAAcD,CAAAA,EAAAA,EAAAA,EAAAA,EAAGA,KAYjBE,EAAQF,CAAAA,EAAAA,EAAAA,EAAAA,EAAGA,KAoBXG,EAAkBH,CAAAA,EAAAA,EAAAA,EAAAA,EAAGA,KASrBI,EAAiBJ,CAAAA,EAAAA,EAAAA,EAAAA,EAAGA,KAQpBK,EAAkBL,CAAAA,EAAAA,EAAAA,EAAAA,EAAGA","sources":["webpack://_N_E/./src/components/common/UI/FormikForm/Form/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/Input/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/PasswordInput/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/Checkbox/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/PhoneNumber/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/StateSelect/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/CountrySelect/index.tsx","webpack://_N_E/./src/components/common/UI/FormikForm/index.tsx","webpack://_N_E/./src/graphql/user/mutation.ts","webpack://_N_E/./src/components/common/UI/FormikForm/Checkbox/style.scss","webpack://_N_E/./src/components/common/UI/FormikForm/Input/style.scss","webpack://_N_E/./src/components/common/UI/FormikForm/PasswordInput/style.scss","webpack://_N_E/<anon>"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport { Formik, Form } from 'formik';\nimport * as yup from 'yup';\nimport { ConnectedFocusError } from 'focus-formik-error';\n\ninterface FormikFormProps<T> {\n  initialValues: T;\n  validationSchema: yup.ObjectSchema<any>;\n  onSubmit?: (values: T, actions: T) => void;\n  children: JSX.Element;\n}\n\nconst FormikForm: React.FC<FormikFormProps<any>> = ({\n  children,\n  initialValues,\n  validationSchema,\n  onSubmit\n}) => {\n  const handleSubmit = (values: any, actions: any) => {\n    if (onSubmit) {\n      onSubmit(values, actions);\n    }\n  };\n\n  return (\n    <Formik\n      enableReinitialize\n      initialValues={initialValues}\n      validationSchema={validationSchema}\n      onSubmit={handleSubmit}\n    >\n      {() => (\n        <Form>\n          <ConnectedFocusError />\n          {children}\n        </Form>\n      )}\n    </Formik>\n  );\n};\n\nexport default React.memo(FormikForm);\n","import React from 'react';\nimport { Field, ErrorMessage, FieldProps } from 'formik';\nimport './style.scss';\n\ninterface FormikInputProps {\n  name: string;\n  label: string;\n  subLabel?: string;\n  placeholder?: string;\n  type?: string;\n  disabled?: boolean;\n  onChange?: (value: string) => void;\n  className?: string;\n}\n\nconst FormikInput: React.FC<FormikInputProps> = ({\n  name,\n  label,\n  subLabel,\n  placeholder,\n  disabled = false,\n  onChange,\n  type = 'text',\n  className\n}) => {\n  return (\n    <div className=\"input-wrap\">\n      <label htmlFor={name} className=\"block text-white label-text\">\n        {label}\n        {subLabel ? (\n          <span className=\"block font-normal\">{subLabel}</span>\n        ) : null}\n      </label>\n      <Field name={name}>\n        {({ field, form }: FieldProps) => (\n          <div>\n            <input\n              {...field}\n              type={type}\n              id={name}\n              autoComplete={name}\n              placeholder={placeholder}\n              disabled={disabled}\n              onChange={(e) => {\n                if (onChange) {\n                  onChange(e.target.value);\n                }\n                form.setFieldValue(name, e.target.value);\n              }}\n              className={`block w-full border-0 input-field ${className}`}\n            />\n          </div>\n        )}\n      </Field>\n      <ErrorMessage\n        name={name}\n        render={(msg) => (\n          <span className=\"error-text text-red-600 display: inline-block my-1\">\n            {msg}\n          </span>\n        )}\n      />\n    </div>\n  );\n};\n\nexport default React.memo(FormikInput);\n","import React, { useState } from 'react';\nimport { Field, ErrorMessage, FieldProps } from 'formik';\nimport './style.scss';\n\ninterface FormikInputPasswordProps {\n  name: string;\n  label: string;\n  subLabel?: string;\n  placeholder?: string;\n  type?: string;\n  onChange?: (value: string) => void;\n  className?: string;\n}\n\nconst FormikInputPassword: React.FC<FormikInputPasswordProps> = ({\n  name,\n  label,\n  subLabel,\n  placeholder,\n  onChange,\n  className\n}) => {\n  const [isPasswordShow, setPasswordShow] = useState(false);\n\n  const showPassword = () => {\n    setPasswordShow(!isPasswordShow);\n  };\n  return (\n    <div className=\"input-wrap\">\n      <label htmlFor={name} className=\"block text-white label-text\">\n        {label}\n        {subLabel ? (\n          <span className=\"block font-normal\">{subLabel}</span>\n        ) : null}\n      </label>\n      <Field name={name}>\n        {({ field, form }: FieldProps) => (\n          <div className=\"with-icon\">\n            <input\n              {...field}\n              type={isPasswordShow ? 'text' : 'password'}\n              id={name}\n              autoComplete={name}\n              placeholder={placeholder}\n              onChange={(e) => {\n                if (onChange) {\n                  onChange(e.target.value);\n                }\n                form.setFieldValue(name, e.target.value);\n              }}\n              className={`block w-full border-0 input-field ${className}`}\n            />\n            <button\n              className=\"icon-button\"\n              type=\"button\"\n              onClick={() => showPassword()}\n              aria-label={isPasswordShow ? 'Hide password' : 'Show password'}\n            >\n              {!isPasswordShow ? (\n                <svg\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                  width=\"1.5em\"\n                  height=\"1.5em\"\n                  viewBox=\"0 0 24 24\"\n                >\n                  <path\n                    fill=\"currentColor\"\n                    d=\"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54zM12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-4 5.19l-1.42-1.43A9.86 9.86 0 0 0 20.82 12A9.82 9.82 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.82 9.82 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13\"\n                  />\n                </svg>\n              ) : (\n                <svg\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                  width=\"1.5em\"\n                  height=\"1.5em\"\n                  viewBox=\"0 0 24 24\"\n                  style={{ color: '#EA753B' }}\n                >\n                  <path\n                    fill=\"currentColor\"\n                    d=\"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0\"\n                  />\n                </svg>\n              )}\n            </button>\n          </div>\n        )}\n      </Field>\n      <ErrorMessage\n        name={name}\n        render={(msg) => (\n          <span className=\"error-text text-red-600 display: inline-block my-1\">\n            {msg}\n          </span>\n        )}\n      />\n      {/*<span className=\"error-validate-message\">Invalid Credentials</span>*/}\n    </div>\n  );\n};\n\nexport default React.memo(FormikInputPassword);\n","import React from 'react';\nimport { Field, FieldProps } from 'formik';\nimport './style.scss';\n\ninterface FormikCheckboxProps {\n  name: string;\n  label: string;\n}\n\nconst FormikCheckbox: React.FC<FormikCheckboxProps> = ({ name, label }) => {\n  return (\n    <div className=\"custom-checkbox\">\n      <Field name={name}>\n        {({ field, form }: FieldProps) => (\n          <input\n            type=\"checkbox\"\n            id={name}\n            className=\"h-4 w-4 mr-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600\"\n            {...field}\n            defaultChecked={form.initialValues[name]}\n            autoFocus\n          />\n        )}\n      </Field>\n      <label htmlFor={name} className=\"text-white font-normal\">\n        {label}\n      </label>\n    </div>\n  );\n};\n\nexport default React.memo(FormikCheckbox);\n","import React from 'react';\nimport PhoneInput, { Country } from 'react-phone-number-input';\nimport { getCountryCallingCode } from 'react-phone-number-input/input';\nimport 'react-phone-number-input/style.css';\nimport { Field, ErrorMessage, FieldProps } from 'formik';\ninterface FormikPhoneInputProps {\n  name: string;\n  label: string;\n  subLabel?: string;\n  placeholder?: string;\n  type?: string;\n  countryCode: string;\n  disabledCountrySelect?: boolean;\n  setCountryCallCode: (code: string) => void;\n}\n\nconst FormikPhoneInput: React.FC<FormikPhoneInputProps> = ({\n  name,\n  label,\n  subLabel,\n  placeholder,\n  countryCode,\n  disabledCountrySelect,\n  setCountryCallCode\n}) => {\n  return (\n    <div className=\"input-wrap\">\n      <label htmlFor={name} className=\"block label-text leading-6 text-white\">\n        {label}\n        {subLabel ? (\n          <span className=\"block span-label-text\">{subLabel}</span>\n        ) : null}\n      </label>\n      <Field name={name}>\n        {({ field, form }: FieldProps) => (\n          <div>\n            <PhoneInput\n              {...field}\n              id={name}\n              // defaultValue={'1234567890'}\n              countrySelectProps={{\n                unicodeFlags: true,\n                disabled: disabledCountrySelect\n              }}\n              addInternationalOption={false}\n              focusInputOnCountrySelection={true}\n              international={true}\n              onCountryChange={(value) => {\n                if (setCountryCallCode && value)\n                  setCountryCallCode(`+${getCountryCallingCode(value)}`);\n              }}\n              onChange={(value: string | undefined) => {\n                form.setFieldValue(name, value);\n              }}\n              defaultCountry={countryCode as Country}\n              className=\"block w-full border-0 input-field\"\n              autoComplete={name}\n              placeholder={placeholder}\n            />\n          </div>\n        )}\n      </Field>\n      <ErrorMessage\n        name={name}\n        render={(msg) => (\n          <span className=\"error-text text-red-600 display: inline-block my-1\">\n            {msg}\n          </span>\n        )}\n      />\n    </div>\n  );\n};\n\nexport default React.memo(FormikPhoneInput);\n","import React, { useState, useEffect } from 'react';\nimport { GetState } from 'react-country-state-city';\nimport 'react-country-state-city/dist/react-country-state-city.css';\nimport { Field, ErrorMessage, FieldProps } from 'formik';\n\ninterface FormikStateSelectProps {\n  name: string;\n  label: string;\n  countryId: number;\n}\n\nconst StateSelectInput: React.FC<FormikStateSelectProps> = ({\n  name,\n  label,\n  countryId\n}) => {\n  const [stateList, setStateList] = useState([]);\n  useEffect(() => {\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    GetState(countryId).then((result: any) => {\n      setStateList(result);\n    });\n  }, [countryId]);\n  return (\n    <div className=\"input-wrap\">\n      <label\n        htmlFor={name}\n        className=\"block text-xl font-medium leading-6 text-white\"\n      >\n        {label}\n      </label>\n      <Field name={name}>\n        {({ field, form }: FieldProps) => (\n          <div>\n            <select\n              {...field}\n              id={name}\n              // eslint-disable-next-line @typescript-eslint/no-explicit-any\n              onChange={(e: any) => {\n                form.setFieldValue(name, e.target.value);\n              }}\n              className=\"block w-full border-0 py-1.5 text-gray-900 rounded select-dropdown\"\n              autoComplete={name}\n            >\n              <option value=\"\">Select State</option>\n              {\n                // eslint-disable-next-line @typescript-eslint/no-explicit-any\n                stateList.map((state: any) => (\n                  <option key={state.id} value={state.name}>\n                    {state.name}\n                  </option>\n                ))\n              }\n            </select>\n          </div>\n        )}\n      </Field>\n      <ErrorMessage\n        name={name}\n        render={(msg) => (\n          <span className=\"error-text text-red-600 display: inline-block my-1\">\n            {msg}\n          </span>\n        )}\n      />\n    </div>\n  );\n};\n\nexport default React.memo(StateSelectInput);\n","import React, { useState, useEffect } from 'react';\nimport { GetCountries } from 'react-country-state-city';\nimport 'react-country-state-city/dist/react-country-state-city.css';\nimport { Field, ErrorMessage, FieldProps } from 'formik';\n\ninterface FormikCountrySelectProps {\n  name: string;\n  label: string;\n  setCountryShortCode: (code: string) => void;\n  countryShortName: string;\n}\n\ninterface Country {\n  id: number;\n  iso2: string;\n  name: string;\n}\n\nconst CountrySelectInput: React.FC<FormikCountrySelectProps> = ({\n  name,\n  label,\n  setCountryShortCode,\n  countryShortName\n}) => {\n  const [countryList, setCountryList] = useState<Country[]>([]);\n  const [selectedCountry, setSelectedCountry] = useState(countryShortName);\n\n  useEffect(() => {\n    GetCountries().then((result: Country[]) => {\n      setCountryList(result);\n      const country = result.find((c) => c.iso2 === countryShortName);\n      if (country) {\n        setSelectedCountry(country.name);\n        setCountryShortCode(country.iso2);\n      }\n    });\n  }, [countryShortName, setCountryShortCode]);\n\n  useEffect(() => {\n    if (countryShortName) {\n      setSelectedCountry(countryShortName);\n    }\n  }, [countryShortName]);\n\n  return (\n    <div className=\"input-wrap\">\n      <label\n        htmlFor={name}\n        className=\"block text-xl font-medium leading-6 text-white\"\n      >\n        {label}\n      </label>\n      <Field name={name}>\n        {({ field, form }: FieldProps) => (\n          <div>\n            <select\n              {...field}\n              id={name}\n              value={selectedCountry}\n              onChange={(e: React.ChangeEvent<HTMLSelectElement>) => {\n                form.setFieldValue('phone', '');\n                const selectedOption = e.target.options[e.target.selectedIndex];\n                const code = selectedOption.getAttribute('data-code');\n                setSelectedCountry(e.target.value);\n                if (setCountryShortCode) setCountryShortCode(code || '');\n                form.setFieldValue(name, e.target.value);\n              }}\n              className=\"block w-full border-0 bg-gray-300 py-1.5 pl-1 text-gray-900 rounded\"\n              autoComplete={name}\n            >\n              <option value=\"\">Select Country</option>\n              {countryList.map((country: Country) => (\n                <option\n                  key={country.id}\n                  data-code={country.iso2}\n                  value={country.name}\n                >\n                  {country.name}\n                </option>\n              ))}\n            </select>\n          </div>\n        )}\n      </Field>\n      <ErrorMessage\n        name={name}\n        render={(msg) => (\n          <span className=\"error-text text-red-600 display: inline-block my-1\">\n            {msg}\n          </span>\n        )}\n      />\n    </div>\n  );\n};\n\nexport default React.memo(CountrySelectInput);\n","export { default as FormikForm } from './Form';\nexport { default as FormikInput } from './Input';\nexport { default as FormikInputPassword } from './PasswordInput';\nexport { default as FormikCheckbox } from './Checkbox';\nexport { default as FormikPhoneInput } from './PhoneNumber';\nexport { default as StateSelectInput } from './StateSelect';\nexport { default as CountrySelectInput } from './CountrySelect';\n","import { gql } from '@apollo/client';\n\nexport const CREATE_USER = gql`\n  mutation createUser($createUserInput: CreateUserInput!) {\n    createUser(createUserInput: $createUserInput) {\n      token\n      user {\n        id\n        name\n        parentName\n        email\n        phone\n        callingCode\n      }\n    }\n  }\n`;\n\nexport const USER_UPDATE = gql`\n  mutation updateUser($updateUserInput: UpdateUserInput!) {\n    updateUser(updateUserInput: $updateUserInput) {\n      name\n      parentName\n      email\n      phone\n      callingCode\n    }\n  }\n`;\n\nexport const LOGIN = gql`\n  mutation userLogin($userLoginInput: UserLoginInput!) {\n    userLogin(userLoginInput: $userLoginInput) {\n      token\n      user {\n        id\n        name\n        parentName\n        phone\n        email\n        callingCode\n        forcePasswordReset\n        courseEnrollment {\n          id\n        }\n      }\n    }\n  }\n`;\n\nexport const FORGOT_PASSWORD = gql`\n  mutation forgotPassword($forgotPasswordInput: ForgotPasswordInput!) {\n    forgotPassword(forgotPasswordInput: $forgotPasswordInput) {\n      message\n      link\n    }\n  }\n`;\n\nexport const RESET_PASSWORD = gql`\n  mutation resetPassword($resetPasswordInput: ResetPasswordInput!) {\n    resetPassword(resetPasswordInput: $resetPasswordInput) {\n      message\n    }\n  }\n`;\n\nexport const CHANGE_PASSWORD = gql`\n  mutation changePassword($changePasswordInput: ChangePasswordInput!) {\n    changePassword(changePasswordInput: $changePasswordInput) {\n      message\n    }\n  }\n`;\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin"],"names":["Form","React","children","initialValues","validationSchema","onSubmit","param","jsx_runtime","jsx","Formik","enableReinitialize","values","actions","jsxs","ConnectedFocusError","Input","name","label","subLabel","placeholder","disabled","onChange","type","className","div","htmlFor","span","Field","field","form","input","id","autoComplete","e","target","value","setFieldValue","concat","ErrorMessage","render","msg","PasswordInput","isPasswordShow","setPasswordShow","useState","showPassword","button","onClick","aria-label","svg","xmlns","width","height","viewBox","style","color","path","fill","d","Checkbox","defaultChecked","autoFocus","PhoneNumber","countryCode","disabledCountrySelect","setCountryCallCode","PhoneInput","countrySelectProps","unicodeFlags","addInternationalOption","focusInputOnCountrySelection","international","onCountryChange","getCountryCallingCode","defaultCountry","StateSelect","countryId","stateList","setStateList","useEffect","GetState","then","result","select","option","map","state","CountrySelect","setCountryShortCode","countryShortName","countryList","setCountryList","selectedCountry","setSelectedCountry","GetCountries","country","find","c","iso2","code","selectedOption","options","selectedIndex","getAttribute","data-code","CREATE_USER","gql","USER_UPDATE","LOGIN","FORGOT_PASSWORD","RESET_PASSWORD","CHANGE_PASSWORD"],"sourceRoot":""}