{"version":3,"file":"UdpLocationInput.azure.mjs","names":["AddressDetail","FluentAddressSuggestion","AddressSuggestion","ReverseGeocoder","SearchProvider","ConfigService","createAzureMapsProviders","AzureMapsProviders","getDefaultAzureMapsKey","config","AZURE_MAP_SUBSCRIPTION_KEY"],"sources":["../../../src/UI/fluent-web-components/UdpLocationInput.azure.ts"],"sourcesContent":["import type {\n  AddressDetail,\n  FluentAddressSuggestion as AddressSuggestion,\n  ReverseGeocoder,\n  SearchProvider,\n} from '@univerus/udp-stencil-component-library';\nimport { ConfigService } from '../../configService';\n\nexport type { SearchProvider, ReverseGeocoder, AddressDetail, AddressSuggestion };\n\n// Provider builder + interface live in the stencil package so the form\n// renderer can use them without depending on this enterprise wrapper. We\n// re-export here to preserve the existing public surface of this module.\nexport {\n  createAzureMapsProviders,\n  type AzureMapsProviders,\n} from '@univerus/udp-stencil-component-library';\n\n/**\n * Reads the default Azure Maps subscription key from `ConfigService.config`.\n *\n * Consumer apps are expected to bootstrap `ConfigService.config` at startup\n * (e.g. from `import.meta.env.VITE_AZURE_MAP_SUBSCRIPTION_KEY` or\n * `process.env.REACT_APP_AZURE_MAP_SUBSCRIPTION_KEY` on the app side) — the\n * lint rule `custom-rules/no-process-env` prevents library code from reading\n * `process.env` directly.\n *\n * Returns `''` when the key hasn't been configured — the wrapper then leaves\n * providers unwired.\n */\nexport const getDefaultAzureMapsKey = (): string =>\n  ConfigService.config.AZURE_MAP_SUBSCRIPTION_KEY ?? '';\n"],"mappings":";;;;;;;;;;;;;;;AA8BA,MAAaQ,+BACXH,cAAcI,OAAOC,8BAA8B"}