{"version":3,"file":"patch.nomodule.js","sources":["../../.config/config.js","../../src/patch/script/patch.js","../../src/patch/script/internals.js","../../src/patch/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","const patch = {\n namespace: 'a4e35ba2a938ba9d007689dbf3f46acbb9807869'\n};\n\nexport default patch;\n","import config from '../../../.config/config';\nimport patch from './patch';\n\nconst executor = {};\nconst promise = new Promise((resolve, reject) => {\n executor.resolve = resolve;\n executor.reject = reject;\n});\n\nwindow[patch.namespace] = {\n configuration: window[config.namespace],\n promise: promise\n};\n\nconst patchInternals = () => {\n const api = window[config.namespace];\n if (!api || !api.internals) {\n requestAnimationFrame(patchInternals);\n return;\n }\n if (api.inspector.trace) api.inspector.log = api.inspector.trace;\n\n executor.resolve();\n};\n\nexport default patchInternals;\n","import patchInternals from './script/internals';\npatchInternals();\n"],"names":["const"],"mappings":";;;;;EAAAA,IAAM,MAAM,GAAG;EACf,EAAE,MAAM,EAAE,IAAI;EACd,EAAE,SAAS,EAAE,MAAM;EACnB,EAAE,YAAY,EAAE,SAAS;EACzB,EAAE,OAAO,EAAE,QAAQ;EACnB,CAAC;;ECLDA,IAAM,KAAK,GAAG;EACd,EAAE,SAAS,EAAE,0CAA0C;EACvD,CAAC;;ECCDA,IAAM,QAAQ,GAAG,EAAE,CAAC;EACpBA,IAAM,OAAO,GAAG,IAAI,OAAO,WAAE,OAAO,EAAE,MAAM,EAAK;EACjD,EAAE,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;EAC7B,EAAE,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;EAC3B,CAAC,CAAC,CAAC;AACH;EACA,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG;EAC1B,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;EACzC,EAAE,OAAO,EAAE,OAAO;EAClB,CAAC,CAAC;AACF;EACAA,IAAM,cAAc,eAAS;EAC7B,EAAEA,IAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;EACvC,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE;EAC9B,IAAI,qBAAqB,CAAC,cAAc,CAAC,CAAC;EAC1C,IAAI,OAAO;EACX,GAAG;EACH,EAAE,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK,IAAE,GAAG,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,KAAK,GAAC;AACnE;EACA,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;EACrB,CAAC;;ECtBD,cAAc,EAAE;;"}