{"version":3,"file":"Address-d9PRuRFp.js","sources":["../../../frontend/src/Components/Address/Address.tsx"],"sourcesContent":["import { Autocomplete, TextField, TextFieldProps } from '@mui/material';\nimport React, { useEffect, useState, useCallback, forwardRef } from 'react';\nimport { useIntl } from 'react-intl';\nimport qs from 'qs';\nimport { debounce, get, isEmpty } from 'lodash';\n\nimport { currentLocale as lang } from '../../I18n';\n\ninterface StructuredFormatting {\n bbox: Array;\n geometry: object;\n properties: object;\n type: string;\n}\n\nconst fetchSuggestions = async (query: any, extraQueryParams: any, callback: any) => {\n const url = `https://api.geoapify.com/v1/geocode/autocomplete?${qs.stringify({\n text: query.trim(),\n ...extraQueryParams,\n lang,\n apiKey: '86b9d1f6041546578b8575211d884ce1',\n })}`;\n const response = await fetch(url);\n const results = await response.json();\n\n callback(results.features);\n};\n\ntype AddressProps = TextFieldProps & {\n extraQueryParams?: object;\n inputValue?: string;\n setError?: any;\n clearErrors?: any;\n freeSolo?: boolean;\n required?: boolean;\n geolocated?: boolean;\n setInputValue?: any;\n setAddress?: any;\n onClear?: any;\n name: string;\n};\n\nconst Address = forwardRef(\n (\n {\n label,\n placeholder = '',\n value,\n extraQueryParams,\n inputValue,\n setError,\n clearErrors,\n freeSolo = true,\n required,\n geolocated = false,\n setInputValue = () => {},\n setAddress = () => {},\n onClear = () => {},\n name,\n ...props\n }: AddressProps,\n ref,\n ) => {\n const intl = useIntl();\n const [options, setOptions] = useState([]);\n\n const debouncedSearch = useCallback(\n debounce((text) => {\n if (text) {\n fetchSuggestions(text, extraQueryParams, setOptions);\n }\n }, 500),\n [],\n );\n\n useEffect(() => {\n if (isEmpty(inputValue)) {\n return undefined;\n }\n debouncedSearch(inputValue);\n\n return debouncedSearch.cancel;\n }, [inputValue, debouncedSearch]);\n\n return (\n {\n if (freeSolo) {\n return get(option, 'properties.formatted') === val || option === val;\n }\n return true;\n }}\n filterOptions={(o: any) => o} // Show all the suggestions and skip autocomplete own name matching\n freeSolo={freeSolo}\n options={options}\n disabled={props.disabled}\n onChange={(_event: any, newValue: StructuredFormatting | null, reason: any) => {\n if (reason === 'clear') {\n onClear();\n } else {\n setAddress(newValue);\n }\n clearErrors();\n }}\n onClose={(_e: any, reason: any) => {\n if (reason !== 'selectOption') {\n if (inputValue && !freeSolo) {\n setError(name, {\n type: 'custom',\n message: intl.formatMessage({ id: 'POST_FORM.ERRORS.LOCATION_NOT_IN_THE_LIST' }),\n });\n setInputValue(null);\n onClear();\n } else {\n clearErrors();\n }\n }\n }}\n noOptionsText={intl.formatMessage({ id: 'POST_FORM.LOCALISATION_NO_RESULTS' })}\n onInputChange={(_e: any, newInputValue: any) => {\n setInputValue(newInputValue);\n }}\n getOptionLabel={(option: any) => option?.properties?.formatted || option}\n renderInput={(params: any) => (\n \n )}\n />\n );\n },\n);\n\nAddress.displayName = 'Address';\n\nexport default Address;\n"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","ownKeys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","apply","_objectSpread","arguments","_defineProperty","getOwnPropertyDescriptors","defineProperties","_toPropertyKey","_toPrimitive","toPrimitive","String","Number","asyncGeneratorStep","_asyncToGenerator","_next","_throw","fetchSuggestions","_ref","_callee","query","extraQueryParams","callback","url","response","results","_context","concat","qs","stringify","text","trim","lang","apiKey","fetch","json","features","_x","_x2","_x3","Address","forwardRef","_ref2","ref","label","_ref2$placeholder","placeholder","inputValue","setError","clearErrors","_ref2$freeSolo","freeSolo","required","_ref2$geolocated","geolocated","_ref2$setInputValue","setInputValue","_ref2$setAddress","setAddress","_ref2$onClear","onClear","props","_objectWithoutProperties","_excluded","intl","useIntl","_useState","useState","_useState2","_slicedToArray","options","setOptions","debouncedSearch","useCallback","debounce","useEffect","isEmpty","cancel","React","createElement","Autocomplete","isOptionEqualToValue","option","val","get","filterOptions","disabled","onChange","_event","newValue","reason","onClose","_e","message","formatMessage","id","noOptionsText","onInputChange","newInputValue","getOptionLabel","_option$properties","properties","formatted","renderInput","params","_props$slotProps","TextField","_extends","variant","hiddenLabel","slotProps","input","InputProps","htmlInput","inputProps","inputLabel","shrink"],"mappings":";g3CACAA,EAAAA,UAAAC,CAAAA,OAAAA,OAAAC,EAAAD,EAAA,CAAA,EAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAAP,SAAAA,EAAAD,EAAAE,GAAAD,EAAAD,CAAA,EAAAE,EAAAO,KAAAA,EAAAC,EAAAC,OAAAA,QAAAA,WAAAA,QAAAC,EAAAA,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAAC,kBAAAA,EAAAN,EAAAO,aAAA,gBAAAC,SAAAA,EAAAjB,EAAAD,EAAAE,EAAA,CAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAAS,CAAAA,MAAAP,EAAAiB,WAAA,GAAAC,aAAA,GAAAC,SAAApB,EAAAA,CAAAA,EAAAA,EAAAD,CAAA,CAAA,CAAAkB,GAAAA,eAAA,CAAAA,EAAA,SAAAjB,EAAAD,EAAAE,EAAA,CAAAD,OAAAA,EAAAD,CAAA,EAAAE,CAAAoB,CAAAA,CAAAA,SAAAA,EAAArB,EAAAD,EAA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