/** * Injected into the page world before api.js. Reads dataset from this script * tag so extension settings cross the isolated-world boundary. */ (function () { var el = document.currentScript; var defaults = {}; try { defaults = JSON.parse((el && el.dataset && el.dataset.defaults) || '{}'); } catch (_) { defaults = {}; } var debug = !!(el && el.dataset && el.dataset.debug === '1'); window.__BRIDGESWARM_DEFAULTS__ = Object.assign({}, window.__BRIDGESWARM_DEFAULTS__ || {}, defaults, { debug: debug, }); window.__BRIDGESWARM_DEBUG__ = debug; })();