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SAAAW,EAAAX,QAAA,GACrD6C,cAAA,GAA8C,GAAA1C,EAAAtD,GAAA,EAAG,OAAUmD,SAAAW,EAAAX,QAAA,GAC3DiC,KAAA,GAAqC,GAAA9B,EAAAtD,GAAA,EAAG,QAAWmD,SAAAW,EAAAX,QAAA,EACnD,EACAmB,kBAAA,GACAzB,qBAAA,IAEAoD,EAA0BlB,EAAAmB,aAAmB,CAAAjB,GAC7CkB,mBAAA,EAA8BhD,SAAAA,CAAA,CAAAlH,MAAAA,EAAAgJ,CAAA,CAAqC,IACnE,IAAAmB,EAAwBrB,EAAAsB,OAAa,KAAApK,EAAA,CAAAA,EAAA,EACrC,MAAyB,GAAAqH,EAAAtD,GAAA,EAAGiG,EAAAK,QAAA,EAA+BrK,MAAAmK,EAAAjD,SAAAA,CAAA,EAC3D,EACA,SAAAL,uBACA,OAASiC,EAAAwB,UAAgB,CAAAN,EACzB,CACA,IAAAO,eAAA,IACA,IAAAnC,EAAA,CACA,GAAAY,EAAAZ,MAAA,CACA,GAAAP,EAAAO,MAAA,EAEA1B,EAAA,CACA,GAAAsC,EAAAtC,SAAA,CACA,GAAAmB,EAAAnB,SAAA,EAEA2B,EAA4BS,EAAAxI,MAAY,KACxCsG,EAA+BkC,EAAAxI,MAAY,KAC3C,MAAyB,GAAA+G,EAAAtD,GAAA,EACzBmG,mBACA,CACAlK,MAAA,CACAoI,OAAAA,EACA1B,UAAAA,EACA2B,kBAAAA,EAAArH,OAAA,CACA4F,qBAAAA,EAAA5F,OAAA,EAEAkG,SAAAW,EAAAC,OAAA,CAAAW,GAAA,EAAAX,EAAAa,IAAsE,GAAAtB,EAAAtD,GAAA,EAAIoE,MAAK,CAAIL,QAAAA,CAAA,EAASa,GAC5F,EAEA","sources":["webpack://_N_E/./node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js","webpack://_N_E/./src/app/[locale]/_components/ContactAgentForm/ContactAgentForm.jsx","webpack://_N_E/./src/app/[locale]/redux/langCurrSwitcherVisibility/langCurrSwitcherVisibilitySlice.js","webpack://_N_E/./node_modules/@strapi/blocks-react-renderer/dist/Text.mjs","webpack://_N_E/./node_modules/@strapi/blocks-react-renderer/dist/Block.mjs","webpack://_N_E/./node_modules/@strapi/blocks-react-renderer/dist/BlocksRenderer.mjs","webpack://_N_E/./node_modules/@strapi/blocks-react-renderer/dist/index.mjs","webpack://_N_E/"],"sourcesContent":["\"use client\";\nimport{extends as e}from\"../_virtual/_rollupPluginBabelHelpers.js\";import l from\"react\";import{IntlProvider as t}from\"use-intl/_IntlProvider\";function r(r){let{locale:o,...i}=r;if(!o)throw new Error(\"Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\\n\\nSee https://next-intl-docs.vercel.app/docs/configuration#locale\");return l.createElement(t,e({locale:o},i))}export{r as default};\n","\"use client\";\nimport Image from \"next/image\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport DropDownArrow from \"../../../../../assets/Icons/dropdownArrow.svg\";\nimport Swal from \"sweetalert2\";\nimport ErrorIcon from \"../../../../../assets/Icons/error.svg\";\nimport { hubspotFormAPI } from \"../SubscribeNewsletter/service\";\nimport {useRouter} from '@/i18n/routing';\nimport { useTranslations, useLocale } from 'next-intl';\nimport dynamic from \"next/dynamic\";\nimport 'react-phone-number-input/style.css'\nimport PhoneInput, { isValidPhoneNumber } from 'react-phone-number-input'\n\nconst ContactAgentForm = ({ title ,pageName,formRef,projectName, agentImageURL}) => {\n\n const t = useTranslations('contact_form');\n\n const locale = useLocale()\n const isRTL = locale === 'ar'\n const direction = isRTL ? 'rtl' : 'ltr'\n\n const [value, setValue] = useState()\n const [dropDown, setDropDown] = useState(false);\n const dropDownRef = useRef(null);\n const [inputValues, setInputValues] = useState();\n const [error, setError] = useState();\n\n const router = useRouter()\n useEffect(() => {\n let handleOutClick = (e) => {\n if (!dropDownRef?.current?.contains(e.target)) {\n setDropDown(\"\");\n }\n };\n window.addEventListener(\"click\", handleOutClick);\n }, [dropDownRef]);\n\n const handleUpdate = (item) => {\n const { name, value } = item?.target;\n handleChange(name, value);\n };\n\n const handleChange = (name, value) => {\n setDropDown(\"\")\n setInputValues({\n ...inputValues,\n [name]: value,\n });\n };\n\n const validation = () => {\n let validationStatus = true;\n let errors = {};\n let emailRegex = /^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$/;\n\n if (!inputValues?.fullname) {\n errors.fullname = \"Name is required!\";\n validationStatus = false;\n }\n\n // Check that a phone number is entered and is valid\n if (!inputValues?.mobilephone) {\n errors.mobilephone = \"Phone number is required!\";\n validationStatus = false;\n } else if (!isValidPhoneNumber(inputValues.mobilephone)) {\n errors.mobilephone = \"Enter a valid phone number!\";\n validationStatus = false;\n }\n\n if (!inputValues?.email) {\n errors.email = \"Email is required!\";\n validationStatus = false;\n } else if (!inputValues?.email?.match(emailRegex)) {\n errors.email = \"Enter a valid email!\";\n validationStatus = false;\n }\n setError(errors);\n return validationStatus;\n };\n\n const dropDownHandler = (e,type) => {\n e.stopPropagation();\n setDropDown(!dropDown);\n };\n\n \n\n const submitForm = (e) => {\n e.preventDefault();\n const validateStatus = validation();\n if (validateStatus) {\n updateHubspotForm();\n }\n };\n\n const updateHubspotForm = async () => {\n let pageInfo = {\n pageUri:window.location.href,\n pageName:pageName,\n project_name:projectName\n }\n const formType = 'listing-form'\n const result = await hubspotFormAPI(inputValues, formType,pageInfo);\n if (result?.status === 200) {\n setInputValues(null);\n setValue(null)\n router.push('?ofp=success',{scroll:false})\n Swal.fire({\n title: \"Success\",\n text: result?.data?.inlineMessage,\n icon: \"success\",\n confirmButtonText: \"Ok\",\n background: \"var(--primary-bg-color)\",\n color: \"var(--text-color)\",\n });\n }\n };\n\n return (\n
\n
\n
\n \"Agent\"\n
\n
\n
\n

{title}

\n
\n
\n
\n \n handleUpdate(item)}\n />\n {error?.fullname && (\n \n \n \n )}\n
\n {/* \n handleUpdate(item)}\n />\n {error?.mobilephone && (\n \n \n \n )}\n
*/}\n
\n {\n setValue(val);\n handleChange(\"mobilephone\", val);\n }}\n name=\"mobilephone\"\n style={{fontSize: '16px', width: '100%'}}\n defaultCountry=\"AE\"\n countryCallingCodeEditable={false}\n rules={{ required: true }}\n international\n className={`custom-phone-input ${error?.mobilephone ? 'error' : ''}`}\n />\n {error?.mobilephone && (\n \n \n \n )}\n
\n \n handleUpdate(item)}\n />\n {error?.email && (\n \n \n \n )}\n
\n dropDownHandler(e,\"LANGUAGE\")}\n >\n \n {t(inputValues?.language || \"LANGUAGE\")}\n \n \n \n \n {dropDown && (\n
\n
    \n
  • {handleChange(\"language\", \"English\");dropDownHandler(e,null)}}>\n {t('English')}\n
  • \n
  • handleChange(\"language\", \"Arabic\")}>\n {t('Arabic')}\n
  • \n
  • handleChange(\"language\", \"French\")}>\n {t('French')}\n
  • \n
  • handleChange(\"language\", \"Hindi\")}>\n {t('Hindi')}\n
  • \n
  • handleChange(\"language\", \"Russian\")}>\n {t(\"Russian\")}\n
  • \n
  • handleChange(\"language\", \"German\")}>\n {t(\"German\")}\n
  • \n
  • handleChange(\"language\", \"Urdu\")}>\n {t(\"Urdu\")}\n
  • \n
  • handleChange(\"language\", \"Punjabi\")}>\n {t(\"Punjabi\")}\n
  • \n
  • handleChange(\"language\", \"Juish\")}>\n {t(\"Juish\")}\n
  • \n
  • handleChange(\"language\", \"Kurdish\")}>\n {t(\"Kurdish\")}\n
  • \n
  • handleChange(\"language\", \"Turkish\")}>\n {t(\"Turkish\")}\n
  • \n
  • handleChange(\"language\", \"Armenian\")}>\n {t(\"Armenian\")}\n
  • \n
  • handleChange(\"language\", \"Persian\")}>\n {t(\"Persian\")}\n
  • \n
  • handleChange(\"language\", \"Dutch\")}>\n {t(\"Dutch\")}\n
  • \n
  • handleChange(\"language\", \"Ukrainian\")}>\n {t(\"Ukrainian\")}\n
  • \n
  • handleChange(\"language\", \"Italian\")}>\n {t(\"Italian\")}\n
  • \n
  • handleChange(\"language\", \"Spanish\")}>\n {t(\"Spanish\")}\n
  • \n
\n
\n )}\n
\n \n
\n \n
\n \n \n \n \n );\n};\n\nexport default ContactAgentForm;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n value: false, // Use a meaningful state key\n};\n\nconst langSwitcherVisibilitySlice = createSlice({\n name: \"langSwitcherVisibility\",\n initialState,\n reducers: {\n setLangSwitcherVisibility: (state, action) => {\n state.value = !!action.payload; // Updating the state correctly\n },\n },\n});\n\nexport const { setLangSwitcherVisibility } = langSwitcherVisibilitySlice.actions;\nexport default langSwitcherVisibilitySlice.reducer;","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useComponentsContext } from \"./BlocksRenderer.mjs\";\nconst Text = ({ text, ...modifiers }) => {\n const { modifiers: modifierComponents, missingModifierTypes } = useComponentsContext();\n const modifierNames = Object.keys(modifiers);\n return modifierNames.reduce(\n (children, modifierName) => {\n if (!modifiers[modifierName]) {\n return children;\n }\n const ModifierComponent = modifierComponents[modifierName];\n if (!ModifierComponent) {\n if (!missingModifierTypes.includes(modifierName)) {\n console.warn(\n `[@strapi/block-react-renderer] No component found for modifier \"${modifierName}\"`\n );\n missingModifierTypes.push(modifierName);\n }\n return children;\n }\n return /* @__PURE__ */ jsx(ModifierComponent, { children });\n },\n // By default, return the text without any wrapper to avoid useless nesting\n /* @__PURE__ */ jsx(Fragment, { children: text })\n );\n};\nexport {\n Text\n};\n//# sourceMappingURL=Text.mjs.map\n","import { jsx } from \"react/jsx-runtime\";\nimport { createElement } from \"react\";\nimport { useComponentsContext } from \"./BlocksRenderer.mjs\";\nimport { Text } from \"./Text.mjs\";\nconst voidTypes = [\"image\"];\nconst augmentProps = (content) => {\n const { children: childrenNodes, type, ...props } = content;\n if (type === \"code\") {\n const getPlainText = (children) => {\n return children.reduce((currentPlainText, node) => {\n if (node.type === \"text\") {\n return currentPlainText.concat(node.text);\n }\n if (node.type === \"link\") {\n return currentPlainText.concat(getPlainText(node.children));\n }\n return currentPlainText;\n }, \"\");\n };\n return {\n ...props,\n plainText: getPlainText(content.children)\n };\n }\n return props;\n};\nconst Block = ({ content }) => {\n const { children: childrenNodes, type, ...props } = content;\n const { blocks, missingBlockTypes } = useComponentsContext();\n const BlockComponent = blocks[type];\n if (!BlockComponent) {\n if (!missingBlockTypes.includes(type)) {\n console.warn(`[@strapi/block-react-renderer] No component found for block type \"${type}\"`);\n missingBlockTypes.push(type);\n }\n return null;\n }\n if (voidTypes.includes(type)) {\n return /* @__PURE__ */ jsx(BlockComponent, { ...props });\n }\n if (type === \"paragraph\" && childrenNodes.length === 1 && childrenNodes[0].type === \"text\" && childrenNodes[0].text === \"\") {\n return /* @__PURE__ */ jsx(\"br\", {});\n }\n const augmentedProps = augmentProps(content);\n return /* @__PURE__ */ jsx(BlockComponent, { ...augmentedProps, children: childrenNodes.map((childNode, index) => {\n if (childNode.type === \"text\") {\n const { type: _type, ...childNodeProps } = childNode;\n return /* @__PURE__ */ createElement(Text, { ...childNodeProps, key: index });\n }\n return /* @__PURE__ */ jsx(Block, { content: childNode }, index);\n }) });\n};\nexport {\n Block\n};\n//# sourceMappingURL=Block.mjs.map\n","'use client';\nimport { jsx } from \"react/jsx-runtime\";\nimport * as React from \"react\";\nimport { Block } from \"./Block.mjs\";\nconst defaultComponents = {\n blocks: {\n paragraph: (props) => /* @__PURE__ */ jsx(\"p\", { children: props.children }),\n quote: (props) => /* @__PURE__ */ jsx(\"blockquote\", { children: props.children }),\n code: (props) => /* @__PURE__ */ jsx(\"pre\", { children: /* @__PURE__ */ jsx(\"code\", { children: props.plainText }) }),\n heading: ({ level, children }) => {\n switch (level) {\n case 1:\n return /* @__PURE__ */ jsx(\"h1\", { children });\n case 2:\n return /* @__PURE__ */ jsx(\"h2\", { children });\n case 3:\n return /* @__PURE__ */ jsx(\"h3\", { children });\n case 4:\n return /* @__PURE__ */ jsx(\"h4\", { children });\n case 5:\n return /* @__PURE__ */ jsx(\"h5\", { children });\n case 6:\n return /* @__PURE__ */ jsx(\"h6\", { children });\n }\n },\n link: (props) => /* @__PURE__ */ jsx(\"a\", { href: props.url, children: props.children }),\n list: (props) => {\n if (props.format === \"ordered\") {\n return /* @__PURE__ */ jsx(\"ol\", { children: props.children });\n }\n return /* @__PURE__ */ jsx(\"ul\", { children: props.children });\n },\n \"list-item\": (props) => /* @__PURE__ */ jsx(\"li\", { children: props.children }),\n image: (props) => /* @__PURE__ */ jsx(\"img\", { src: props.image.url, alt: props.image.alternativeText || void 0 })\n },\n modifiers: {\n bold: (props) => /* @__PURE__ */ jsx(\"strong\", { children: props.children }),\n italic: (props) => /* @__PURE__ */ jsx(\"em\", { children: props.children }),\n underline: (props) => /* @__PURE__ */ jsx(\"u\", { children: props.children }),\n strikethrough: (props) => /* @__PURE__ */ jsx(\"del\", { children: props.children }),\n code: (props) => /* @__PURE__ */ jsx(\"code\", { children: props.children })\n },\n missingBlockTypes: [],\n missingModifierTypes: []\n};\nconst ComponentsContext = React.createContext(defaultComponents);\nconst ComponentsProvider = ({ children, value = defaultComponents }) => {\n const memoizedValue = React.useMemo(() => value, [value]);\n return /* @__PURE__ */ jsx(ComponentsContext.Provider, { value: memoizedValue, children });\n};\nfunction useComponentsContext() {\n return React.useContext(ComponentsContext);\n}\nconst BlocksRenderer = (props) => {\n const blocks = {\n ...defaultComponents.blocks,\n ...props.blocks\n };\n const modifiers = {\n ...defaultComponents.modifiers,\n ...props.modifiers\n };\n const missingBlockTypes = React.useRef([]);\n const missingModifierTypes = React.useRef([]);\n return /* @__PURE__ */ jsx(\n ComponentsProvider,\n {\n value: {\n blocks,\n modifiers,\n missingBlockTypes: missingBlockTypes.current,\n missingModifierTypes: missingModifierTypes.current\n },\n children: props.content.map((content, index) => /* @__PURE__ */ jsx(Block, { content }, index))\n }\n );\n};\nexport {\n BlocksRenderer,\n ComponentsProvider,\n useComponentsContext\n};\n//# sourceMappingURL=BlocksRenderer.mjs.map\n","import { BlocksRenderer } from \"./BlocksRenderer.mjs\";\nexport {\n BlocksRenderer\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["r","locale","o","i","react__WEBPACK_IMPORTED_MODULE_0__","createElement","use_intl_IntlProvider__WEBPACK_IMPORTED_MODULE_1__","IntlProvider","_virtual_rollupPluginBabelHelpers_js__WEBPACK_IMPORTED_MODULE_2__","g","__webpack_exports__","title","pageName","formRef","projectName","agentImageURL","param","t","useTranslations","useLocale","isRTL","direction","value","setValue","useState","dropDown","setDropDown","dropDownRef","useRef","inputValues","setInputValues","error","setError","router","useRouter","useEffect","window","addEventListener","current","contains","e","target","handleUpdate","name","item","handleChange","validation","validationStatus","errors","fullname","mobilephone","isValidPhoneNumber","email","match","emailRegex","dropDownHandler","type","stopPropagation","submitForm","preventDefault","validateStatus","updateHubspotForm","pageInfo","pageUri","location","href","project_name","result","hubspotFormAPI","status","push","scroll","Swal","text","data","inlineMessage","icon","confirmButtonText","background","color","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","dir","jsx","Image","src","fill","alt","h2","form","input","placeholder","concat","onChange","span","ErrorIcon","PhoneInput","val","style","fontSize","width","defaultCountry","countryCallingCodeEditable","rules","required","international","id","ref","onClick","language","DropDownArrow","ul","li","button","langSwitcherVisibilitySlice","createSlice","initialState","reducers","setLangSwitcherVisibility","state","action","payload","actions","Z","reducer","Text","modifiers","modifierComponents","missingModifierTypes","useComponentsContext","modifierNames","Object","keys","reduce","children","modifierName","ModifierComponent","jsx_runtime","includes","console","warn","Fragment","voidTypes","augmentProps","childrenNodes","props","content","getPlainText","currentPlainText","node","plainText","Block","blocks","missingBlockTypes","BlockComponent","length","augmentedProps","map","childNode","index","_type","childNodeProps","react","key","defaultComponents","paragraph","quote","code","heading","level","link","url","list","format","image","alternativeText","bold","italic","underline","strikethrough","ComponentsContext","createContext","ComponentsProvider","memoizedValue","useMemo","Provider","useContext","BlocksRenderer"],"sourceRoot":""}