'use strict';
import { searchGooglePlaces } from './google-place.js';
import { getFilterValue } from '../../../meta/server/api/odata/odata-filters.js';
import { googlePlaceProps } from '../../../common/leads/props/google-place-props.js';
import { setScreenshotBlob } from './google-place-helpers.js';

var __defProp=Object['defineProperty'],__name=(_0x4d227a,_0x17efea)=>__defProp(_0x4d227a,'name',{'value':_0x17efea,'configurable':!![]});async function get(_0x2d6ff8){const _0x5e8882=getFilterValue(_0x2d6ff8,googlePlaceProps['search']);if(!_0x5e8882)return [];const _0x1ab0f8=await searchGooglePlaces(_0x5e8882,_0x2d6ff8['skip']),_0x337afc=await setScreenshotBlob(_0x1ab0f8);return _0x337afc;}__name(get,'get');

export { get as getGooglePlaces };
