{"version":3,"file":"ext-overview_window.js","sources":["../../../src/editor/extensions/ext-overview_window.js"],"sourcesContent":["/**\n * @file ext-overview_window.js\n *\n * @license MIT\n *\n * @copyright 2013 James Sacksteder\n *\n */\nexport default {\n name: 'overview_window',\n init ({$, isChrome, isIE}) {\n const overviewWindowGlobals = {};\n // Disabled in Chrome 48-, see https://github.com/SVG-Edit/svgedit/issues/26 and\n // https://code.google.com/p/chromium/issues/detail?id=565120.\n if (isChrome()) {\n const verIndex = navigator.userAgent.indexOf('Chrome/') + 7;\n const chromeVersion = Number.parseInt(navigator.userAgent.substring(verIndex));\n if (chromeVersion < 49) {\n return undefined;\n }\n }\n\n // Define and insert the base html element.\n const propsWindowHtml =\n '