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AAAA,CAAKA,CAACC,IAAI,CAAC,6DAAyGC,MAAAA,CAA5CA,UAAyC,KAA0C9B,MAAA,CAAvC8B,wCAAyCtD,EAvDrK,CACXuD,QAAS,CACP,eAAgB,kBAClB,CACF,GAoDA,OAAOJ,CACb,yECxDO,IAAMK,EAAeC,CAAAA,EAAAA,EAAAA,EAAAA,EAAY,CACpCtF,KAAK,oBACLuF,aAAa,CACT/G,MAAM,EACV,EACAgH,SAAS,CACLpD,gBAAgB,CAACqD,EAAMC,SACLA,CAAdD,CAAAA,EAAMjH,KAAK,CAAGkH,MAAAA,EAAAA,KAAAA,EAAAA,OAAAA,CAAAA,EAAAA,EAAQC,OAAO,GAAfD,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAAiBrD,iBAAiB,CAExD,CACJ,GAEa,CAACD,gBAAAA,CAAe,CAAC,CAAGiD,EAAaO,OAAO,CACrDxJ,EAAAyJ,EAAA,CAAeR,EAAaS,OAAO","sources":["webpack://_N_E/./assets/Icons/closeIcon.svg","webpack://_N_E/./assets/Icons/dropdownArrow.svg","webpack://_N_E/./assets/Icons/error.svg","webpack://_N_E/./src/app/[locale]/_components/ContactForm/ContactForm.jsx","webpack://_N_E/./src/app/[locale]/_components/SubscribeNewsletter/service.js","webpack://_N_E/./src/app/[locale]/redux/contactModal/contactModalSlice.js","webpack://_N_E/"],"sourcesContent":["var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgCloseIcon = function SvgCloseIcon(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n fill: \"none\",\n viewBox: \"0 0 17 17\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M16.75 15.548a.852.852 0 0 1-.275 1.387.85.85 0 0 1-.927-.184L8.5 9.7l-7.048 7.05a.85.85 0 1 1-1.203-1.203L7.3 8.5.248 1.452A.85.85 0 0 1 1.452.249L8.5 7.3l7.048-7.05a.85.85 0 0 1 1.203 1.203L9.7 8.5l7.05 7.048Z\"\n })));\n};\nexport default SvgCloseIcon;","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgDropdownArrow = function SvgDropdownArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n fill: \"none\",\n viewBox: \"0 0 14 8\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n stroke: \"#fff\",\n d: \"m1 1 6 6 6-6\"\n })));\n};\nexport default SvgDropdownArrow;","var _g;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgError = function SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n style: {\n enableBackground: \"new 0 0 512 512\"\n },\n viewBox: \"0 0 450 450\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"circle\", {\n cx: 225.26,\n cy: 225.74,\n r: 184.32,\n fill: \"#fe646f\",\n \"data-original\": \"#fe646f\",\n transform: \"rotate(-45 225.232 225.798)\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#e6e9ed\",\n d: \"M225.26 281.35c-4.09 0-7.59-3.49-8.3-8.29l-20.92-141.1c-2.63-17.77 8.85-34.06 24-34.06h10.43c15.15 0 26.63 16.29 24 34.06l-20.92 141.1c-.7 4.8-4.2 8.29-8.29 8.29zm19.14 53.08c0-10.54-8.6-19.14-19.14-19.14s-19.14 8.6-19.14 19.14 8.6 19.14 19.14 19.14 19.14-8.59 19.14-19.14z\",\n \"data-original\": \"#e6e9ed\"\n }))));\n};\nexport default SvgError;","\"use client\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport CloseIcon from \"../../../../../assets/Icons/closeIcon.svg\";\nimport ErrorIcon from \"../../../../../assets/Icons/error.svg\";\nimport Swal from \"sweetalert2\";\nimport { hubspotFormAPI } from \"../SubscribeNewsletter/service\";\nimport DropDownArrow from \"../../../../../assets/Icons/dropdownArrow.svg\";\nimport {useDispatch} from \"react-redux\";\nimport { getContactModal } from \"@/app/[locale]/redux/contactModal/contactModalSlice\";\nimport { useLocale, useTranslations } 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 ContactForm = ({ title, setContactFormModal, extraValues, type, messageText, redux, projectName, pageName, removeLanguage = false, isUK = false, closeOnClickOutside = true}) => {\n\n const t = useTranslations('contact_form');\n\n const [value, setValue] = useState()\n const locale = useLocale()\n const isRTL = locale === 'ar'\n const direction = isRTL ? 'rtl' : 'ltr'\n\n const [inputValues, setInputValues] = useState({\n message:messageText\n });\n const [dropDown, setDropDown] = useState(false);\n const [error, setError] = useState();\n const dropDownRef = useRef(null);\n const dispatch = useDispatch()\n\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 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 submitForm = async (e) => {\n e.preventDefault();\n const validateStatus = validation();\n if (validateStatus) {\n await updateHubspotForm();\n modalCloseHandler()\n }\n };\n\n const dropDownHandler = (e, type) => {\n e.stopPropagation();\n setDropDown(!dropDown);\n };\n\n\n const updateHubspotForm = async () => {\n let pageInfo = {\n pageUri:window.location.href,\n pageName:pageName,\n project_name:projectName\n }\n\n const result = await hubspotFormAPI(inputValues, type, pageInfo);\n if (result?.status === 200) {\n setInputValues(null);\n setValue(null)\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 }).then(() => modalCloseHandler());\n }\n };\n\n const modalCloseHandler = () => {\n if(redux){\n dispatch(\n getContactModal({\n contactModalRedux:false\n })\n )\n }else{\n setContactFormModal(false)\n }\n }\n\n // Overlay click event\n const handleOverlayClick = () => {\n if (closeOnClickOutside) {\n modalCloseHandler();\n }\n };\n\n return (\n
\n
\n\n
\n
modalCloseHandler()}>\n \n
\n

{title}

\n
\n
\n handleUpdate(item)}\n />\n {error?.fullname && (\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={isUK ? 'GB' : '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
\n handleUpdate(item)}\n />\n {error?.email && (\n \n \n \n )}\n
\n {!removeLanguage && dropDownHandler(e, \"LANGUAGE\")}\n >\n {t(inputValues?.language || \"LANGUAGE\")}\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
\n \n
\n
\n
\n
\n );\n};\n\nexport default ContactForm;\n","import axios from 'axios';\n\nexport const hubspotFormAPI = async (values,type,extraValues) => {\n const config = { // important!\n headers: {\n 'Content-Type': 'application/json',\n }\n }\n\n const data = {\n fields: [\n {\n name: 'fullname',\n value: values?.fullname,\n },\n {\n name: 'mobilephone',\n value: values?.mobilephone,\n },\n {\n name: 'email',\n value: values?.email,\n },\n {\n name:\"hubspot_owner_id\",\n value:\"559048867\"\n },\n {\n name:'property_price',\n value:extraValues?.propertyPrice || ''\n },\n {\n name:'down_payment',\n value:extraValues?.downPayment || ''\n },\n {\n name:'type',\n value:type || ''\n },\n {\n name:'language',\n value:values?.language || ''\n },\n {\n name:'project_name',\n value:extraValues?.project_name || ''\n },\n {\n name:\"message\",\n value:values?.message || ''\n }\n ],\n context:{\n pageUri:window.location.href,\n pageName:extraValues?.pageName || \"stage-properties\"\n }\n }\n\n const response = await axios.post(`https://api.hsforms.com/submissions/v3/integration/submit/${process.env.NEXT_PUBLIC_HUBSPOT_PORTALID}/${process.env.NEXT_PUBLIC_HUBSPOT_FORMID}`,data,config)\n return response\n}","'use client'\n\nimport { createSlice } from \"@reduxjs/toolkit\"\n\nexport const contactModal = createSlice({\n name:\"contactModalRedux\",\n initialState:{\n value:false\n },\n reducers:{\n getContactModal:(state,action) => {\n state.value = action?.payload?.contactModalRedux\n }\n }\n})\n\nexport const {getContactModal} = contactModal.actions\nexport default contactModal.reducer"],"names":["_path","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","__webpack_exports__","props","react__WEBPACK_IMPORTED_MODULE_0__","createElement","xmlns","width","height","fill","viewBox","d","stroke","_g","Z","xmlSpace","style","enableBackground","fillRule","clipRule","cx","cy","r","transform","title","setContactFormModal","extraValues","type","messageText","redux","projectName","pageName","removeLanguage","isUK","closeOnClickOutside","param","t","useTranslations","value","setValue","useState","locale","useLocale","isRTL","inputValues","setInputValues","message","dropDown","setDropDown","error","setError","dropDownRef","useRef","dispatch","useDispatch","useEffect","window","addEventListener","current","contains","e","handleUpdate","name","item","handleChange","validation","validationStatus","errors","fullname","mobilephone","isValidPhoneNumber","email","match","emailRegex","submitForm","preventDefault","validateStatus","updateHubspotForm","modalCloseHandler","dropDownHandler","stopPropagation","pageInfo","pageUri","location","href","project_name","result","hubspotFormAPI","status","Swal","text","data","inlineMessage","icon","confirmButtonText","background","color","then","getContactModal","contactModalRedux","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","id","jsx","className","onClick","CloseIcon","h1","marginBottom","input","placeholder","onChange","span","ErrorIcon","concat","PhoneInput","dir","val","fontSize","defaultCountry","countryCallingCodeEditable","rules","required","international","ref","language","DropDownArrow","ul","li","borderBottom","label","htmlFor","textarea","cols","rows","button","values","fields","propertyPrice","downPayment","context","response","axios","post","process","headers","contactModal","createSlice","initialState","reducers","state","action","payload","actions","ZP","reducer"],"sourceRoot":""}