{"version":3,"file":"fullstory-da18c024.js","sources":["../../../app/entrypoints/fullstory.ts"],"sourcesContent":["import { init, identify } from \"@fullstory/browser\";\n\nconst orgId = getMeta(\"fullstory-org-id\");\nif (orgId) {\n const devMode = getMeta(\"env\") === \"development\";\n const identity = resolve(() => {\n const jsonString = getMeta(\"fullstory-identity\");\n if (jsonString) {\n return JSON.parse(jsonString) as {\n uid: string;\n email: string;\n displayName: string;\n };\n }\n });\n init({ orgId, devMode }, () => {\n if (identity) {\n const { uid, ...customVars } = identity;\n identify(uid, customVars);\n }\n });\n console.info(\n \"Initialized FullStory\",\n omitBy({ orgId, identity, devMode }, isNil),\n );\n} else {\n console.warn(\"Missing FullStory missing org ID; skipping initialization\");\n}\n"],"names":["orgId","getMeta","devMode","identity","resolve","jsonString","init","uid","customVars","identify","omitBy","isNil"],"mappings":"qLAEA,MAAMA,EAAQC,EAAQ,kBAAkB,EACxC,GAAID,EAAO,CACH,MAAAE,EAAUD,EAAQ,KAAK,IAAM,cAC7BE,EAAWC,EAAQ,IAAM,CACvB,MAAAC,EAAaJ,EAAQ,oBAAoB,EAC/C,GAAII,EACK,OAAA,KAAK,MAAMA,CAAU,CAK9B,CACD,EACDC,EAAK,CAAE,MAAAN,EAAO,QAAAE,CAAQ,EAAG,IAAM,CAC7B,GAAIC,EAAU,CACZ,KAAM,CAAE,IAAAI,EAAK,GAAGC,CAAA,EAAeL,EAC/BM,EAASF,EAAKC,CAAU,CAC1B,CAAA,CACD,EACO,QAAA,KACN,wBACAE,EAAO,CAAE,MAAAV,EAAO,SAAAG,EAAU,QAAAD,CAAA,EAAWS,CAAK,CAAA,CAE9C,MACE,QAAQ,KAAK,2DAA2D"}