!function(e){var n={};function o(t){if(n[t])return n[t].exports;var s=n[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=n,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o(o.s=190)}({190:function(e,n){const o={};var t,s;let c;function r(){o[c]?chrome.contextMenus.create({id:"vue-inspect-instance",title:"Inspect Vue component",contexts:["all"]}):chrome.contextMenus.remove("vue-inspect-instance")}chrome.runtime.onConnect.addListener(e=>{let n,c;+(s=e.name)+""===s?(n=e.name,c="devtools",t=+e.name,chrome.tabs.executeScript(t,{file:"/build/proxy.js"},function(e){e?console.log("injected proxy to tab "+t):o[t].devtools.postMessage("proxy-fail")})):(n=e.sender.tab.id,c="backend"),o[n]||(o[n]={devtools:null,backend:null}),o[n][c]=e,o[n].devtools&&o[n].backend&&function(e,n,t){function s(n){if("log"===n.event)return console.log("tab "+e,n.payload);console.log("devtools -> backend",n),t.postMessage(n)}function c(o){if("log"===o.event)return console.log("tab "+e,o.payload);console.log("backend -> devtools",o),n.postMessage(o)}function a(){console.log("tab "+e+" disconnected."),n.onMessage.removeListener(s),t.onMessage.removeListener(c),n.disconnect(),t.disconnect(),o[e]=null,r()}n.onMessage.addListener(s),t.onMessage.addListener(c),n.onDisconnect.addListener(a),t.onDisconnect.addListener(a),console.log("tab "+e+" connected."),r()}(n,o[n].devtools,o[n].backend)}),chrome.runtime.onMessage.addListener((e,n)=>{n.tab&&e.vueDetected&&(chrome.browserAction.setIcon({tabId:n.tab.id,path:{16:"icons/16.png",48:"icons/48.png",128:"icons/128.png"}}),chrome.browserAction.setPopup({tabId:n.tab.id,popup:e.devtoolsEnabled?"popups/enabled.html":"popups/disabled.html"}))}),chrome.tabs.onActivated.addListener(({tabId:e})=>{c=e,r()}),chrome.contextMenus.onClicked.addListener((e,n)=>{chrome.runtime.sendMessage({vueContextMenu:{id:e.menuItemId}})})}});