Files
doneit-web/.angular/cache/14.2.12/babel-webpack/91850a6eee1ca89b7d900616578186cb.json
T
Eudes Inácio 53b71ea16f its working
2023-06-30 09:54:21 +01:00

1 line
4.3 KiB
JSON

{"ast":null,"code":"import { consoleSandbox } from '@sentry/utils';\n\n/**\n * Integration to debug sent Sentry events.\n * This integration should not be used in production\n */\nclass Debug {\n /**\n * @inheritDoc\n */\n static __initStatic() {\n this.id = 'Debug';\n }\n\n /**\n * @inheritDoc\n */\n __init() {\n this.name = Debug.id;\n }\n constructor(options) {\n ;\n Debug.prototype.__init.call(this);\n this._options = {\n debugger: false,\n stringify: false,\n ...options\n };\n }\n\n /**\n * @inheritDoc\n */\n setupOnce(addGlobalEventProcessor, getCurrentHub) {\n addGlobalEventProcessor((event, hint) => {\n var self = getCurrentHub().getIntegration(Debug);\n if (self) {\n if (self._options.debugger) {\n debugger;\n }\n consoleSandbox(() => {\n if (self._options.stringify) {\n console.log(JSON.stringify(event, null, 2));\n if (Object.keys(hint).length) {\n console.log(JSON.stringify(hint, null, 2));\n }\n } else {\n console.log(event);\n if (Object.keys(hint).length) {\n console.log(hint);\n }\n }\n });\n }\n return event;\n });\n }\n}\nDebug.__initStatic();\nexport { Debug };","map":{"version":3,"names":["consoleSandbox","Debug","__initStatic","id","__init","name","constructor","options","prototype","call","_options","debugger","stringify","setupOnce","addGlobalEventProcessor","getCurrentHub","event","hint","self","getIntegration","console","log","JSON","Object","keys","length"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@sentry/integrations/esm/debug.js"],"sourcesContent":["import { consoleSandbox } from '@sentry/utils';\n\n/**\n * Integration to debug sent Sentry events.\n * This integration should not be used in production\n */\nclass Debug {\n /**\n * @inheritDoc\n */\n static __initStatic() {this.id = 'Debug';}\n\n /**\n * @inheritDoc\n */\n __init() {this.name = Debug.id;}\n\n constructor(options) {;Debug.prototype.__init.call(this);\n this._options = {\n debugger: false,\n stringify: false,\n ...options,\n };\n }\n\n /**\n * @inheritDoc\n */\n setupOnce(addGlobalEventProcessor, getCurrentHub) {\n addGlobalEventProcessor((event, hint) => {\n var self = getCurrentHub().getIntegration(Debug);\n if (self) {\n if (self._options.debugger) {\n debugger;\n }\n\n consoleSandbox(() => {\n if (self._options.stringify) {\n console.log(JSON.stringify(event, null, 2));\n if (Object.keys(hint).length) {\n console.log(JSON.stringify(hint, null, 2));\n }\n } else {\n console.log(event);\n if (Object.keys(hint).length) {\n console.log(hint);\n }\n }\n });\n }\n return event;\n });\n }\n} Debug.__initStatic();\n\nexport { Debug };\n"],"mappings":"AAAA,SAASA,cAAc,QAAQ,eAAe;;AAE9C;AACA;AACA;AACA;AACA,MAAMC,KAAK,CAAE;EACX;AACF;AACA;EACG,OAAOC,YAAYA,CAAA,EAAG;IAAC,IAAI,CAACC,EAAE,GAAG,OAAO;EAAC;;EAE1C;AACF;AACA;EACGC,MAAMA,CAAA,EAAG;IAAC,IAAI,CAACC,IAAI,GAAGJ,KAAK,CAACE,EAAE;EAAC;EAE/BG,WAAWA,CAACC,OAAO,EAAE;IAAC;IAACN,KAAK,CAACO,SAAS,CAACJ,MAAM,CAACK,IAAI,CAAC,IAAI,CAAC;IACvD,IAAI,CAACC,QAAQ,GAAG;MACdC,QAAQ,EAAE,KAAK;MACfC,SAAS,EAAE,KAAK;MAChB,GAAGL;IACL,CAAC;EACH;;EAEA;AACF;AACA;EACGM,SAASA,CAACC,uBAAuB,EAAEC,aAAa,EAAE;IACjDD,uBAAuB,CAAC,CAACE,KAAK,EAAEC,IAAI,KAAK;MACvC,IAAIC,IAAI,GAAGH,aAAa,CAAC,CAAC,CAACI,cAAc,CAAClB,KAAK,CAAC;MAChD,IAAIiB,IAAI,EAAE;QACR,IAAIA,IAAI,CAACR,QAAQ,CAACC,QAAQ,EAAE;UAChB;QACZ;QAEQX,cAAc,CAAC,MAAM;UAC3B,IAAIkB,IAAI,CAACR,QAAQ,CAACE,SAAS,EAAE;YAC3BQ,OAAO,CAACC,GAAG,CAACC,IAA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