{"version":3,"file":"google-vertex.cjs","names":["CF_TEMP_TOKEN"],"sources":["../../src/providers/google-vertex.ts"],"sourcesContent":["import { createVertex as createVertexOriginal } from \"@ai-sdk/google-vertex/edge\";\nimport { CF_TEMP_TOKEN } from \"../auth\";\n\nexport const createVertex = (...args: Parameters<typeof createVertexOriginal>) => {\n\tlet [config] = args;\n\tif (config === undefined) {\n\t\tconfig = { googleCredentials: { cfApiKey: CF_TEMP_TOKEN } } as any;\n\t}\n\t// no google credentials and no express mode apikey\n\telse if (config.googleCredentials === undefined && config.apiKey === undefined) {\n\t\tconfig.googleCredentials = { cfApiKey: CF_TEMP_TOKEN } as any;\n\t}\n\treturn createVertexOriginal(config);\n};\n"],"mappings":";;;;AAGA,MAAa,gBAAgB,GAAG,SAAkD;CACjF,IAAI,CAAC,UAAU;CACf,IAAI,WAAW,KAAA,GACd,SAAS,EAAE,mBAAmB,EAAE,UAAUA,aAAAA,cAAc,EAAE;MAGtD,IAAI,OAAO,sBAAsB,KAAA,KAAa,OAAO,WAAW,KAAA,GACpE,OAAO,oBAAoB,EAAE,UAAUA,aAAAA,cAAc;CAEtD,QAAA,GAAA,2BAAA,aAAA,CAA4B,MAAM;AACnC"}