HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@capgo/nativegeocoder/dist/plugin.js.map
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst NativeGeocoder = registerPlugin(\"NativeGeocoder\", {\n    web: () => import(\"./web\").then((m) => new m.NativeGeocoderWeb()),\n});\nexport * from \"./definitions\";\nexport { NativeGeocoder };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nconst findAC = (address_components, type) => {\n    return (address_components.find((component) => component.types.includes(type)) || {\n        long_name: \"\",\n        short_name: \"\",\n        types: [],\n    });\n};\nexport class NativeGeocoderWeb extends WebPlugin {\n    async reverseGeocode(options) {\n        if (!options.apiKey) {\n            throw new Error(\"apiKey is required for web\");\n        }\n        const params = Object.assign(Object.assign({ latlng: `${options.latitude},${options.longitude}`, key: options.apiKey }, (options.defaultLocale && { language: options.defaultLocale })), { result_type: options.resultType || \"street_address\" });\n        return fetch(`https://maps.googleapis.com/maps/api/geocode/json?${new URLSearchParams(params).toString()}`)\n            .then((response) => response.json())\n            .then((data) => {\n            return {\n                addresses: data.results\n                    .map((result) => {\n                    // transform the response in Address[]\n                    // use the result from google geocoder and transform it in Address\n                    return {\n                        latitude: result.geometry.location.lat,\n                        longitude: result.geometry.location.lng,\n                        countryCode: findAC(result.address_components, \"country\")\n                            .short_name,\n                        countryName: findAC(result.address_components, \"country\")\n                            .long_name,\n                        postalCode: findAC(result.address_components, \"postal_code\")\n                            .long_name,\n                        administrativeArea: findAC(result.address_components, \"administrative_area_level_1\").long_name,\n                        subAdministrativeArea: findAC(result.address_components, \"administrative_area_level_2\").long_name,\n                        locality: findAC(result.address_components, \"locality\")\n                            .long_name,\n                        subLocality: findAC(result.address_components, \"sublocality\")\n                            .long_name,\n                        thoroughfare: findAC(result.address_components, \"route\")\n                            .long_name,\n                        subThoroughfare: findAC(result.address_components, \"street_number\").long_name,\n                        areasOfInterest: [],\n                    };\n                })\n                    .slice(0, options.maxResults || 1),\n            };\n        });\n    }\n    async forwardGeocode(options) {\n        if (!options.apiKey) {\n            throw new Error(\"apiKey is required for web\");\n        }\n        const params = Object.assign(Object.assign({ address: options.addressString, key: options.apiKey }, (options.defaultLocale && { language: options.defaultLocale })), { result_type: \"street_address\" });\n        return fetch(`https://maps.googleapis.com/maps/api/geocode/json?${new URLSearchParams(params).toString()}`)\n            .then((response) => response.json())\n            .then((data) => {\n            return {\n                addresses: data.results\n                    .map((result) => {\n                    // transform the response in Address[]\n                    // use the result from google geocoder and transform it in Address\n                    return {\n                        latitude: result.geometry.location.lat,\n                        longitude: result.geometry.location.lng,\n                        countryCode: findAC(result.address_components, \"country\")\n                            .short_name,\n                        countryName: findAC(result.address_components, \"country\")\n                            .long_name,\n                        postalCode: findAC(result.address_components, \"postal_code\")\n                            .long_name,\n                        administrativeArea: findAC(result.address_components, \"administrative_area_level_1\").long_name,\n                        subAdministrativeArea: findAC(result.address_components, \"administrative_area_level_2\").long_name,\n                        locality: findAC(result.address_components, \"locality\")\n                            .long_name,\n                        subLocality: findAC(result.address_components, \"sublocality\")\n                            .long_name,\n                        thoroughfare: findAC(result.address_components, \"route\")\n                            .long_name,\n                        subThoroughfare: findAC(result.address_components, \"street_number\").long_name,\n                        areasOfInterest: [],\n                    };\n                })\n                    .slice(0, options.maxResults || 1),\n            };\n        });\n    }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,cAAc,GAAGA,mBAAc,CAAC,gBAAgB,EAAE;IACxD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACrE,CAAC;;ICFD,MAAM,MAAM,GAAG,CAAC,kBAAkB,EAAE,IAAI,KAAK;IAC7C,IAAI,QAAQ,kBAAkB,CAAC,IAAI,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI;IACtF,QAAQ,SAAS,EAAE,EAAE;IACrB,QAAQ,UAAU,EAAE,EAAE;IACtB,QAAQ,KAAK,EAAE,EAAE;IACjB,KAAK;IACL,CAAC;IACM,MAAM,iBAAiB,SAASC,cAAS,CAAC;IACjD,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;IAClC,QAAQ,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;IAC7B,YAAY,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC;IACzD;IACA,QAAQ,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,aAAa,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,UAAU,IAAI,gBAAgB,EAAE,CAAC;IACzP,QAAQ,OAAO,KAAK,CAAC,CAAC,kDAAkD,EAAE,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