| @@ -8,8 +8,34 @@ | ||
| 8 | 8 | }); |
| 9 | 9 | |
| 10 | 10 | //#endregion |
| 11 | 11 | |
| 12 | +//#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js | |
| 13 | + function _objectWithoutPropertiesLoose(r, e) { | |
| 14 | + if (null == r) return {}; | |
| 15 | + var t = {}; | |
| 16 | + for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 17 | + if (-1 !== e.indexOf(n)) continue; | |
| 18 | + t[n] = r[n]; | |
| 19 | + } | |
| 20 | + return t; | |
| 21 | + } | |
| 22 | + | |
| 23 | +//#endregion | |
| 24 | +//#region node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js | |
| 25 | + function _objectWithoutProperties(e, t) { | |
| 26 | + if (null == e) return {}; | |
| 27 | + var o; | |
| 28 | + var r; | |
| 29 | + var i = _objectWithoutPropertiesLoose(e, t); | |
| 30 | + if (Object.getOwnPropertySymbols) { | |
| 31 | + var n = Object.getOwnPropertySymbols(e); | |
| 32 | + for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 33 | + } | |
| 34 | + return i; | |
| 35 | + } | |
| 36 | + | |
| 37 | +//#endregion | |
| 12 | 38 | //#region node_modules/@babel/runtime/helpers/esm/typeof.js |
| 13 | 39 | function _typeof(o) { |
| 14 | 40 | "@babel/helpers - typeof"; |
| 15 | 41 | return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { |
| @@ -51,8 +77,9 @@ | ||
| 51 | 77 | } |
| 52 | 78 | |
| 53 | 79 | //#endregion |
| 54 | 80 | //#region modules/mcp/assets/dev/js/mcp-analytics-registrar.js |
| 81 | + var _excluded = ["name"]; | |
| 55 | 82 | function ownKeys(e, r) { |
| 56 | 83 | var t = Object.keys(e); |
| 57 | 84 | if (Object.getOwnPropertySymbols) { |
| 58 | 85 | var o = Object.getOwnPropertySymbols(e); |
| @@ -142,8 +169,10 @@ | ||
| 142 | 169 | copy_target: detail.copy_target |
| 143 | 170 | }); |
| 144 | 171 | if (detail.os) props.os = detail.os; |
| 145 | 172 | return ["mcp_config_copied", props]; |
| 173 | + case "mcp_access_toggled": | |
| 174 | + case "mcp_access_toggle_failed": return [detail.name, _objectWithoutProperties(detail, _excluded)]; | |
| 146 | 175 | default: return null; |
| 147 | 176 | } |
| 148 | 177 | } |
| 149 | 178 | window.addEventListener(MCP_INTERACTION_EVENT, function(event) { |