{"version":3,"file":"devConsole-1177590a-B3uHHT41.js","sources":["../../../node_modules/@trv-tds/react/node_modules/@trv-tds/webcomponents/dist/esm/devConsole-1177590a.js"],"sourcesContent":["const isDevelopment = checkIsDevelopment();\nconst noop = () => { };\nconst devConsole = {\n log: isDevelopment ? writeToConsole('log') : noop,\n info: isDevelopment ? writeToConsole('info') : noop,\n warn: isDevelopment ? writeToConsole('warn') : noop,\n error: isDevelopment ? writeToConsole('error') : noop,\n};\nfunction writeToConsole(level) {\n return (...msgs) => {\n console[level]('%cTDS', 'color: white;background:#004257;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 6px', ...msgs);\n };\n}\nfunction checkIsDevelopment() {\n const hostname = typeof window !== 'undefined' && window.location && window.location.hostname;\n return !!hostname && /(^localhost|^127\\.0\\.0\\.1$|^0\\.0\\.0\\.0$)/.test(hostname);\n}\n\nexport { devConsole as d };\n\n//# sourceMappingURL=devConsole-1177590a.js.map"],"names":["isDevelopment","checkIsDevelopment","noop","devConsole","writeToConsole","level","msgs","hostname"],"mappings":"AAAA,MAAMA,EAAgBC,EAAoB,EACpCC,EAAO,IAAM,CAAG,EAChBC,EAAa,CACf,IAAKH,EAAgBI,EAAe,KAAK,EAAIF,EAC7C,KAAMF,EAAgBI,EAAe,MAAM,EAAIF,EAC/C,KAAMF,EAAgBI,EAAe,MAAM,EAAIF,EAC/C,MAAOF,EAAgBI,EAAe,OAAO,EAAIF,CACrD,EACA,SAASE,EAAeC,EAAO,CAC3B,MAAO,IAAIC,IAAS,CAChB,QAAQD,CAAK,EAAE,QAAS,yGAA0G,GAAGC,CAAI,CAC5I,CACL,CACA,SAASL,GAAqB,CAC1B,MAAMM,EAAW,OAAO,OAAW,KAAe,OAAO,UAAY,OAAO,SAAS,SACrF,MAAO,CAAC,CAACA,GAAY,2CAA2C,KAAKA,CAAQ,CACjF","x_google_ignoreList":[0]}