/**
 * Browser stub for "source-map-js". The real module is Node-oriented and is
 * externalized by Vite in the browser build, which triggers console warnings
 * when dependencies (e.g. Vue compiler, postcss) try to access it. This stub
 * provides no-op implementations so no runtime error or warning occurs.
 * Source maps are not needed for app runtime in the browser.
 */

function noop() {}

function SourceMapConsumer() {}
SourceMapConsumer.prototype.get = noop;
SourceMapConsumer.prototype.destroy = noop;

function SourceMapGenerator() {}
SourceMapGenerator.prototype.addMapping = noop;
SourceMapGenerator.prototype.setSourceContent = noop;
SourceMapGenerator.prototype.applySourceMap = noop;
SourceMapGenerator.prototype.toString = function () { return ''; };

export { SourceMapConsumer, SourceMapGenerator };
export default { SourceMapConsumer, SourceMapGenerator };
