openc3-cosmos-tool-admin 5.6.0 → 5.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/admin/js/13.js +2 -0
- data/tools/admin/js/13.js.map +1 -0
- data/tools/admin/js/19.js +1 -1
- data/tools/admin/js/19.js.map +1 -1
- data/tools/admin/js/222.js +2 -0
- data/tools/admin/js/222.js.map +1 -0
- data/tools/admin/js/253.js +2 -0
- data/tools/admin/js/253.js.map +1 -0
- data/tools/admin/js/309.js +2 -0
- data/tools/admin/js/309.js.map +1 -0
- data/tools/admin/js/324.js +2 -0
- data/tools/admin/js/324.js.map +1 -0
- data/tools/admin/js/{999.js → 355.js} +2 -2
- data/tools/admin/js/{999.js.map → 355.js.map} +1 -1
- data/tools/admin/js/374.js +2 -0
- data/tools/admin/js/374.js.map +1 -0
- data/tools/admin/js/497.js +2 -0
- data/tools/admin/js/497.js.map +1 -0
- data/tools/admin/js/{224.js → 511.js} +2 -2
- data/tools/admin/js/{224.js.map → 511.js.map} +1 -1
- data/tools/admin/js/659.js +2 -0
- data/tools/admin/js/659.js.map +1 -0
- data/tools/admin/js/{133.js → 731.js} +2 -2
- data/tools/admin/js/{133.js.map → 731.js.map} +1 -1
- data/tools/admin/js/812.js +2 -0
- data/tools/admin/js/812.js.map +1 -0
- data/tools/admin/js/app.js +1 -1
- data/tools/admin/js/app.js.map +1 -1
- metadata +26 -24
- data/tools/admin/js/126.js +0 -2
- data/tools/admin/js/126.js.map +0 -1
- data/tools/admin/js/303.js +0 -2
- data/tools/admin/js/303.js.map +0 -1
- data/tools/admin/js/317.js +0 -2
- data/tools/admin/js/317.js.map +0 -1
- data/tools/admin/js/398.js +0 -2
- data/tools/admin/js/398.js.map +0 -1
- data/tools/admin/js/446.js +0 -2
- data/tools/admin/js/446.js.map +0 -1
- data/tools/admin/js/566.js +0 -2
- data/tools/admin/js/566.js.map +0 -1
- data/tools/admin/js/635.js +0 -2
- data/tools/admin/js/635.js.map +0 -1
- data/tools/admin/js/661.js +0 -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A9D,EAAA3D,IACA,GACA,EACA6G,OAAA,eAAAyB,EAAA,KACA,KAAA5B,eAAA,EACA,IAAA6B,EAAA,KACA,QAAApC,KAAA,CACA,IAAAqC,EAAA,IAAAC,SACAD,EAAAE,OAAA,YAAAvC,KAAA,KAAAA,KAAAwC,MACAJ,EAAAF,EAAAA,EAAAA,KAAA,uBAAAtD,OAAA,KAAAyB,YAAA,CACAxG,KAAAwI,GAEA,MACAD,EAAAF,EAAAA,EAAAA,KAAA,uBAAAtD,OAAA,KAAAyB,YAAA,CACAxG,KAAA,CAAAkG,MAAA,KAAAO,eAGA8B,EACA9D,MAAA,SAAAd,GACA2E,EAAA5B,eAAA,EACA4B,EAAAnC,KAAA,KACAmC,EAAA9B,WAAA,GACA8B,EAAA7B,YAAA,GACA6B,EAAAJ,QACA,IACAU,OAAA,SAAA/E,GACAyE,EAAA5B,eAAA,CACA,GACA,EACAoB,aAAA,SAAAJ,GAAA,IAAAmB,EAAA,KACA,KAAAC,QACAC,QAAA,oCAAAhE,OAAA2C,GAAA,CACAsB,OAAA,SACAC,WAAA,WAEAxE,MAAA,SAAAyE,GACA,OAAAb,EAAAA,EAAAA,UAAA,uBAAAtD,OAAA2C,GACA,IACAjD,MAAA,SAAAd,GACAkF,EAAAtB,MAAA,kBAAAxC,OAAA2C,GACAmB,EAAAzB,UAAA,UACAyB,EAAAxB,WAAA,EACA8B,YAAA,WACAN,EAAAxB,WAAA,CACA,QACAwB,EAAAX,QACA,GACA,ICjKiU,I,UCO7TkB,GAAY,OACd,EACA3D,EACAuC,GACA,EACA,KACA,KACA,MAIF,EAAeoB,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SecretsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SecretsTab.vue?d06b","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SecretsTab.vue?ef95"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"show-size\":\"\",\"accept\":\"*\",\"label\":\"Click to select a file to create a secret from or enter a secret value\"},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1),_c('v-row',{staticStyle:{\"padding-left\":\"10px\"},attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-text-field',{staticClass:\"px-2\",attrs:{\"label\":\"Secret Name\"},model:{value:(_vm.secretName),callback:function ($$v) {_vm.secretName=$$v},expression:\"secretName\"}})],1),_c('v-col',{staticClass:\"px-2\",attrs:{\"cols\":\"3\"}},[_c('v-text-field',{attrs:{\"disabled\":_vm.file,\"label\":\"Secret Value\"},model:{value:(_vm.secretValue),callback:function ($$v) {_vm.secretValue=$$v},expression:\"secretValue\"}})],1),_c('v-col',{staticClass:\"px-2\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"secretUpload\",\"disabled\":_vm.secretName === '' || (_vm.file == null && _vm.secretValue === ''),\"loading\":_vm.loadingSecret},on:{\"click\":function($event){return _vm.upload()}},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}])},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\"mdi-cloud-upload\")]),_c('span',[_vm._v(\" Set \")])],1)],1)],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),_c('v-list',{attrs:{\"data-test\":\"secretList\"}},_vm._l((_vm.secrets),function(secret,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(secret))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteSecret(secret)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Secret\")])])],1)],1),(index < _vm.secrets.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SecretsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SecretsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SecretsTab.vue?vue&type=template&id=4e4a65e7&\"\nimport script from \"./SecretsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./SecretsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["request","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","method","url","_ref2","data","_ref2$params","params","headers","_ref2$noAuth","noAuth","_ref2$noScope","noScope","refreshed","_args","arguments","wrap","_context","prev","next","length","undefined","OpenC3Auth","updateToken","defaultMinValidity","sent","setTokens","t0","login","localStorage","openc3Token","window","openc3Scope","abrupt","axios","stop","_x","_x2","apply","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","_objectSpread","get","path","_ref3","_ref3$headers","put","_ref4","_ref4$headers","post","_ref5","_ref5$headers","delete","_ref6","_ref6$headers","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","ref","staticClass","model","value","file","callback","$$v","expression","staticStyle","secretName","secretValue","loadingSecret","on","$event","upload","scopedSlots","_u","key","fn","_v","proxy","alertType","showAlert","_s","alert","_l","secrets","secret","index","_g","_b","deleteSecret","_e","staticRenderFns","mounted","update","methods","_this","Api","_this2","promise","formData","FormData","append","name","catch","_this3","$dialog","confirm","okText","cancelText","dialog","setTimeout","component"],"sourceRoot":""}
|
data/tools/admin/js/446.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[446],{6129:function(t,e,o){"use strict";var n=o(6964),a=o(5789),i=o(9502),s=o(9373),r=function(){var t=(0,i.Z)((0,a.Z)().mark((function t(e,o){var n,i,r,l,d,c,u,p,h,v,f=arguments;return(0,a.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=f.length>2&&void 0!==f[2]?f[2]:{},i=n.data,r=n.params,l=void 0===r?{}:r,d=n.headers,c=n.noAuth,u=void 0!==c&&c,p=n.noScope,h=void 0!==p&&p,u){t.next=13;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:v=t.sent,v&&OpenC3Auth.setTokens(),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](2),OpenC3Auth.login();case 12:d["Authorization"]=localStorage.openc3Token;case 13:return h||l["scope"]||(l["scope"]=window.openc3Scope),t.abrupt("return",(0,s.Z)({method:e,url:o,data:i,params:l,headers:d}));case 15:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(e,o){return t.apply(this,arguments)}}(),l={Accept:"application/json"},d=(0,n.Z)((0,n.Z)({},l),{},{"Content-Type":"application/json"});e["Z"]={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,a=void 0===n?l:n,i=e.noScope,s=e.noAuth;return r("get",t,{params:o,headers:a,noScope:i,noAuth:s})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,a=e.headers,i=void 0===a?d:a,s=e.noScope,l=e.noAuth;return r("put",t,{data:o,params:n,headers:i,noScope:s,noAuth:l})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,a=e.headers,i=void 0===a?d:a,s=e.noScope,l=e.noAuth;return r("post",t,{data:o,params:n,headers:i,noScope:s,noAuth:l})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,a=void 0===n?l:n,i=e.noScope,s=e.noAuth;return r("delete",t,{params:o,headers:a,noScope:i,noAuth:s})}}},9373:function(t,e,o){"use strict";o(9529),o(1235),o(8188),o(8233);var n=o(9644),a=o.n(n),i=o(4091),s=new i["default"],r=a().create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,n,a,i,r,l,d,c,u;if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(t){t&&OpenC3Auth.setTokens()})),t.response.headers["ignore-errors"]&&t.response.headers["ignore-errors"].includes(t.response.status.toString()))return Promise.reject(t);var p="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(p+="".concat(t.response.statusText," ")),null!==(o=t.response)&&void 0!==o&&null!==(n=o.config)&&void 0!==n&&n.data&&(p+="".concat(t.response.config.data," ")),null!==(a=t.response)&&void 0!==a&&null!==(i=a.data)&&void 0!==i&&i.message)p+="".concat(t.response.data.message);else if(null!==(r=t.response)&&void 0!==r&&null!==(l=r.data)&&void 0!==l&&l.exception)p+="".concat(t.response.data.exception);else if(null!==(d=t.response)&&void 0!==d&&null!==(c=d.data)&&void 0!==c&&null!==(u=c.error)&&void 0!==u&&u.message)t.response.data.error.class&&(p+="".concat(t.response.data.error.class," ")),p+="".concat(t.response.data.error.message);else{var h;p+="".concat(null===(h=t.response)||void 0===h?void 0:h.data)}throw s.$notify&&s.$notify.serious({title:"Network error",body:p}),t}throw t})),e["Z"]=r},9564:function(t,e,o){"use strict";o.d(e,{Z:function(){return c}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{persistent:!t.readonly,width:"80vw"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("v-system-bar",[e("v-spacer"),e("span",{domProps:{textContent:t._s(t.title)}}),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(o){var n=o.on,a=o.attrs;return[e("div",t._g(t._b({},"div",a,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[t.readonly?t._e():e("div",[e("v-row",{staticClass:"mt-3"},[t._v(" Upload a file. ")]),e("v-row",{attrs:{"no-gutters":"",align:"center"}},[e("v-col",{attrs:{cols:"3"}},[e("v-btn",{attrs:{block:"",color:"success",disabled:!t.file||t.loadingFile||t.readonly,loading:t.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:t.loadFile},scopedSlots:t._u([{key:"loader",fn:function(){return[e("span",[t._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[t._v(" Load ")])],1),e("v-col",{attrs:{cols:"9"}},[e("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:t.readonly},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1)],1)],1),e("v-row",{attrs:{"no-gutters":""}},[e("pre",{ref:"editor",staticClass:"editor"})]),e("v-row",{staticClass:"my-3"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:t._s(t.error)}})]),e("v-row",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(e){return e.preventDefault(),t.close.apply(null,arguments)}}},[t._v(" Cancel ")]),t.readonly?t._e():e("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!t.error||t.readonly}},[t._v(" Save ")])],1)],1)])],1)])],1)},a=[],i=(o(8178),o(8188),o(8673),o(6886),o(4121),o(523),o(5095)),s=(o(1411),o(8367),o(419),o(3923),o(2375),{props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data:function(){return{editor:null}},mounted:function(){var t=this.buildPluginMode();this.editor=i.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new t),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy:function(){this.editor&&this.editor.destroy()},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},title:function(){return"".concat(this.type,": ").concat(this.name)},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){var t=new Blob([this.editor.getValue()],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.type.toLowerCase(),"_").concat(this.name.toLowerCase(),".json")),e.click()},buildPluginMode:function(){var t=i.require("ace/lib/oop"),e=i.require("ace/mode/json_highlight_rules").JsonHighlightRules,o=i.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,n=i.require("ace/mode/behaviour/cstyle").CstyleBehaviour,a=i.require("ace/mode/folding/ruby").FoldMode,s=function(){this.HighlightRules=e,this.$outdent=new o,this.$behaviour=new n,this.foldingRules=new a,this.indentKeywords=this.foldingRules.indentKeywords},r=i.require("ace/mode/ruby").Mode;return t.inherits(s,r),function(){this.$id="ace/mode/openc3"}.call(s.prototype),s}}}),r=s,l=(o(7067),o(3483)),d=(0,l.Z)(r,n,a,!1,null,"6ad8a8fe",null),c=d.exports},1446:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("div",[e("v-list",{attrs:{"data-test":"targetList"}},t._l(t.targets,(function(o,n){return e("div",{key:o},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o.name))]),e("v-list-item-subtitle",[t._v("Plugin: "+t._s(o.plugin))])],1),e("v-list-item-icon",[o.modified?e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,i=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.downloadTarget(o.name)}}},"v-icon",i,!1),a),[t._v(" mdi-download ")])]}}],null,!0)},[e("span",[t._v("Download Target Modified Files")])])],1):t._e(),e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,i=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showTarget(o.name)}}},"v-icon",i,!1),a),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Target Details")])])],1)],1),n<t.targets.length-1?e("v-divider",{key:n}):t._e()],1)})),0),t.showDialog?e("edit-dialog",{attrs:{content:t.jsonContent,type:"Target",name:t.dialogTitle,readonly:""},on:{submit:t.dialogCallback},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}}):t._e()],1)},a=[],i=(o(6710),o(4707),o(1497),o(5640),o(1871),o(8188),o(3675),o(4898),o(5825),o(7170),o(8857),o(8329),o(6279),o(427),o(171),o(7093),o(1159),o(2516),o(4349),o(5273),o(6729),o(1801),o(574),o(5787),o(9271),o(3160),o(5688),o(3157),o(3333),o(315),o(556),o(9224),o(2649),o(14),o(1996),o(8673),o(6886),o(4121),o(523),o(6129)),s=o(9564),r={components:{EditDialog:s.Z},data:function(){return{targets:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var t=this;i.Z.get("/openc3-api/targets_modified").then((function(e){t.targets=e.data}))},showTarget:function(t){var e=this;i.Z.get("/openc3-api/targets/".concat(t)).then((function(o){e.jsonContent=JSON.stringify(o.data,null,"\t"),e.dialogTitle=t,e.showDialog=!0}))},dialogCallback:function(t){this.showDialog=!1},downloadTarget:function(t){i.Z.post("/openc3-api/targets/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),o=new Uint8Array(e.length),n=0;n<e.length;++n)o[n]=e.charCodeAt(n);var a=new Blob([o],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(a),i.setAttribute("download",t.data.filename),i.click()}))}}},l=r,d=o(3483),c=(0,d.Z)(l,n,a,!1,null,null,null),u=c.exports},193:function(t,e,o){"use strict";o.r(e);var n=o(9601),a=o.n(n),i=o(2609),s=o.n(i),r=s()(a());r.push([t.id,".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),e["default"]=r},7067:function(t,e,o){var n=o(193);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=o(3514).Z;a("57275ebe",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
-
//# sourceMappingURL=446.js.map
|
data/tools/admin/js/446.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"js/446.js","mappings":"6LAwBMA,EAAO,eAAAC,GAAAC,EAAAA,EAAAA,IAAAC,EAAAA,EAAAA,KAAAC,MAAG,SAAAC,EACdC,EACAC,GAAG,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAhB,EAAAA,EAAAA,KAAAiB,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,OAC0D,GAD1Df,EAAAU,EAAAM,OAAA,QAAAC,IAAAP,EAAA,GAAAA,EAAA,GAC+D,CAAC,EAAjET,EAAID,EAAJC,KAAIC,EAAAF,EAAEG,OAAAA,OAAM,IAAAD,EAAG,CAAC,EAACA,EAAEE,EAAOJ,EAAPI,QAAOC,EAAAL,EAAEM,OAAAA,OAAM,IAAAD,GAAQA,EAAAE,EAAAP,EAAEQ,QAAAA,OAAO,IAAAD,GAAQA,EAExDD,EAAQ,CAAFO,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEeG,WAAWC,YAC/BD,WAAWE,oBACZ,OAFGX,EAASI,EAAAQ,KAGTZ,GACFS,WAAWI,YACZT,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAU,G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EACA,KACA,KACA,MAIF,EAAe2D,EAAiB,O,oFCf5B6B,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,+PAAgQ,KAEzS,c,uBCJA,IAAIzF,EAAU,EAAQ,KACnBA,EAAQ0F,aAAY1F,EAAUA,EAAQ2F,SACnB,kBAAZ3F,IAAsBA,EAAU,CAAC,CAACwF,EAAOC,GAAIzF,EAAS,MAC7DA,EAAQ4F,SAAQJ,EAAOK,QAAU7F,EAAQ4F,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAY9F,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1ea8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?107b","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?e05f","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?8dfa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?db85"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":!_vm.readonly,\"width\":\"80vw\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[(!_vm.readonly)?_c('div',[_c('v-row',{staticClass:\"mt-3\"},[_vm._v(\" Upload a file. \")]),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"success\",\"disabled\":!_vm.file || _vm.loadingFile || _vm.readonly,\"loading\":_vm.loadingFile,\"data-test\":\"editScreenLoadBtn\"},on:{\"click\":_vm.loadFile},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}],null,false,2673048543)},[_vm._v(\" Load \")])],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-file-input',{attrs:{\"accept\":\".json\",\"label\":\"Click to select .json file.\",\"disabled\":_vm.readonly},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1)],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('pre',{ref:\"editor\",staticClass:\"editor\"})]),_c('v-row',{staticClass:\"my-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"editCancelBtn\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),(!_vm.readonly)?_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"editSubmitBtn\",\"disabled\":!!_vm.error || _vm.readonly}},[_vm._v(\" Save \")]):_vm._e()],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=6ad8a8fe&scoped=true&\"\nimport script from \"./EditDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ad8a8fe\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"targetList\"}},_vm._l((_vm.targets),function(target,index){return _c('div',{key:target},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(target.name))]),_c('v-list-item-subtitle',[_vm._v(\"Plugin: \"+_vm._s(target.plugin))])],1),_c('v-list-item-icon',[(target.modified)?_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.downloadTarget(target.name)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Target Modified Files\")])])],1):_vm._e(),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showTarget(target.name)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Target Details\")])])],1)],1),(index < _vm.targets.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Target\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TargetsTab.vue?vue&type=template&id=6be422af&\"\nimport script from \"./TargetsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./TargetsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"57275ebe\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["request","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","method","url","_ref2","data","_ref2$params","params","headers","_ref2$noAuth","noAuth","_ref2$noScope","noScope","refreshed","_args","arguments","wrap","_context","prev","next","length","undefined","OpenC3Auth","updateToken","defaultMinValidity","sent","setTokens","t0","login","localStorage","openc3Token","window","openc3Scope","abrupt","axios","stop","_x","_x2","apply","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","_objectSpread","get","path","_ref3","_ref3$headers","put","_ref4","_ref4$headers","post","_ref5","_ref5$headers","delete","_ref6","_ref6$headers","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","domProps","_s","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","ref","directives","name","rawName","close","staticRenderFns","props","content","type","String","required","Boolean","editor","mounted","openPluginMode","buildPluginMode","ace","$refs","setTheme","session","setMode","setTabSize","setUseWrapMode","$blockScrolling","Infinity","setHighlightActiveLine","setValue","clearSelection","focus","setReadOnly","beforeDestroy","destroy","computed","set","$emit","getValue","methods","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","toLowerCase","click","oop","JsonHighlightRules","MatchingBraceOutdent","CstyleBehaviour","FoldMode","Mode","HighlightRules","$outdent","$behaviour","foldingRules","indentKeywords","RubyMode","inherits","$id","call","prototype","component","_l","targets","target","index","plugin","modified","downloadTarget","showTarget","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","update","_this","Api","_this2","JSON","stringify","decodedData","atob","contents","uInt8Array","Uint8Array","i","charCodeAt","filename","___CSS_LOADER_EXPORT___","push","module","id","__esModule","default","locals","exports","add"],"sourceRoot":""}
|
data/tools/admin/js/566.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[566],{6129:function(e,t,n){"use strict";var o=n(6964),i=n(5789),r=n(9502),a=n(9373),s=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t,n){var o,r,s,c,l,d,u,h,g,p,f=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=f.length>2&&void 0!==f[2]?f[2]:{},r=o.data,s=o.params,c=void 0===s?{}:s,l=o.headers,d=o.noAuth,u=void 0!==d&&d,h=o.noScope,g=void 0!==h&&h,u){e.next=13;break}return e.prev=2,e.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:p=e.sent,p&&OpenC3Auth.setTokens(),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](2),OpenC3Auth.login();case 12:l["Authorization"]=localStorage.openc3Token;case 13:return g||c["scope"]||(c["scope"]=window.openc3Scope),e.abrupt("return",(0,a.Z)({method:t,url:n,data:r,params:c,headers:l}));case 15:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,n){return e.apply(this,arguments)}}(),c={Accept:"application/json"},l=(0,o.Z)((0,o.Z)({},c),{},{"Content-Type":"application/json"});t["Z"]={get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.params,o=t.headers,i=void 0===o?c:o,r=t.noScope,a=t.noAuth;return s("get",e,{params:n,headers:i,noScope:r,noAuth:a})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,o=t.params,i=t.headers,r=void 0===i?l:i,a=t.noScope,c=t.noAuth;return s("put",e,{data:n,params:o,headers:r,noScope:a,noAuth:c})},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,o=t.params,i=t.headers,r=void 0===i?l:i,a=t.noScope,c=t.noAuth;return s("post",e,{data:n,params:o,headers:r,noScope:a,noAuth:c})},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.params,o=t.headers,i=void 0===o?c:o,r=t.noScope,a=t.noAuth;return s("delete",e,{params:n,headers:i,noScope:r,noAuth:a})}}},9373:function(e,t,n){"use strict";n(9529),n(1235),n(8188),n(8233);var o=n(9644),i=n.n(o),r=n(4091),a=new r["default"],s=i().create({baseURL:location.origin,timeout:6e4,params:{}});s.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,n,o,i,r,s,c,l,d,u;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.headers["ignore-errors"]&&e.response.headers["ignore-errors"].includes(e.response.status.toString()))return Promise.reject(e);var h="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(h+="".concat(e.response.statusText," ")),null!==(n=e.response)&&void 0!==n&&null!==(o=n.config)&&void 0!==o&&o.data&&(h+="".concat(e.response.config.data," ")),null!==(i=e.response)&&void 0!==i&&null!==(r=i.data)&&void 0!==r&&r.message)h+="".concat(e.response.data.message);else if(null!==(s=e.response)&&void 0!==s&&null!==(c=s.data)&&void 0!==c&&c.exception)h+="".concat(e.response.data.exception);else if(null!==(l=e.response)&&void 0!==l&&null!==(d=l.data)&&void 0!==d&&null!==(u=d.error)&&void 0!==u&&u.message)e.response.data.error.class&&(h+="".concat(e.response.data.error.class," ")),h+="".concat(e.response.data.error.message);else{var g;h+="".concat(null===(g=e.response)||void 0===g?void 0:g.data)}throw a.$notify&&a.$notify.serious({title:"Network error",body:h}),e}throw e})),t["Z"]=s},9564:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var o=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),t("span",{domProps:{textContent:e._s(e.title)}}),t("v-spacer"),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(n){var o=n.on,i=n.attrs;return[t("div",e._g(e._b({},"div",i,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v(" mdi-download ")])],1)]}}])},[t("span",[e._v(" Download ")])])],1)],1),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v(" Load ")])],1),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),t("v-row",[t("v-spacer"),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v(" Cancel ")]),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v(" Save ")])],1)],1)])],1)])],1)},i=[],r=(n(8178),n(8188),n(8673),n(6886),n(4121),n(523),n(5095)),a=(n(1411),n(8367),n(419),n(3923),n(2375),{props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data:function(){return{editor:null}},mounted:function(){var e=this.buildPluginMode();this.editor=r.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy:function(){this.editor&&this.editor.destroy()},computed:{show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},title:function(){return"".concat(this.type,": ").concat(this.name)},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){var e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download","".concat(this.type.toLowerCase(),"_").concat(this.name.toLowerCase(),".json")),t.click()},buildPluginMode:function(){var e=r.require("ace/lib/oop"),t=r.require("ace/mode/json_highlight_rules").JsonHighlightRules,n=r.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,o=r.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=r.require("ace/mode/folding/ruby").FoldMode,a=function(){this.HighlightRules=t,this.$outdent=new n,this.$behaviour=new o,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},s=r.require("ace/mode/ruby").Mode;return e.inherits(a,s),function(){this.$id="ace/mode/openc3"}.call(a.prototype),a}}}),s=a,c=(n(7067),n(3483)),l=(0,c.Z)(s,o,i,!1,null,"6ad8a8fe",null),d=l.exports},8566:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var o=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{attrs:{"data-test":"interfaceList"}},e._l(e.interfaces,(function(n,o){return t("div",{key:n},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(n))])],1),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(o){var i=o.on,r=o.attrs;return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showInterface(n)}}},"v-icon",r,!1),i),[e._v(" mdi-eye ")])]}}],null,!0)},[t("span",[e._v("Show Interface Details")])])],1)],1),o<e.interfaces.length-1?t("v-divider",{key:o}):e._e()],1)})),0),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Interface",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},i=[],r=(n(6710),n(6129)),a=n(9564),s={components:{EditDialog:a.Z},data:function(){return{interfaces:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var e=this;r.Z.get("/openc3-api/interfaces").then((function(t){e.interfaces=t.data}))},showInterface:function(e){var t=this;r.Z.get("/openc3-api/interfaces/".concat(e)).then((function(n){t.jsonContent=JSON.stringify(n.data,null,"\t"),t.dialogTitle=e,t.showDialog=!0}))},dialogCallback:function(e){this.showDialog=!1}}},c=s,l=n(3483),d=(0,l.Z)(c,o,i,!1,null,null,null),u=d.exports},8367:function(e,t,n){e=n.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};o.inherits(r,i),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var r=i[1].length,a=e.findMatchingBracket({row:t,column:r});if(!a||a.row==t)return 0;var s=this.$getIndent(e.getLine(a.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(a,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var r=i.match(this.foldingStartMarker);if(r){var a=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,a);var s=e.getCommentFoldRange(n,a+r[0].length,1);return s&&!s.isMultiLine()&&(o?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}if("markbegin"!==t){r=i.match(this.foldingStopMarker);if(r){a=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],n,a):e.getCommentFoldRange(n,a,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),r=t,a=n.length;t+=1;var s=t,c=e.getLength();while(++t<c){n=e.getLine(t);var l=n.search(/\S/);if(-1!==l){if(o>l)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=r)break;if(d.isMultiLine())t=d.end.row;else if(o==l)break}s=t}}return new i(r,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){var o=t.search(/\s*$/),r=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;while(++n<r){t=e.getLine(n);var l=s.exec(t);if(l&&(l[1]?c--:c++,!c))break}var d=n;if(d>a)return new i(a,o,d,t.length)}}.call(a.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,d=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=new s,this.foldingRules=new c};o.inherits(d,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(o+=n)}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new l(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(d.prototype),t.Mode=d})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},193:function(e,t,n){"use strict";n.r(t);var o=n(9601),i=n.n(o),r=n(2609),a=n.n(r),s=a()(i());s.push([e.id,".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),t["default"]=s},7067:function(e,t,n){var o=n(193);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).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SACnB,kBAAZ/I,IAAsBA,EAAU,CAAC,CAACyI,EAAOI,GAAI7I,EAAS,MAC7DA,EAAQgJ,SAAQP,EAAOC,QAAU1I,EAAQgJ,QAE5C,IAAIC,EAAM,UACGA,EAAI,WAAYjJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1ea8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?59b7","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?289f","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?8dfa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?db85"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":!_vm.readonly,\"width\":\"80vw\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[(!_vm.readonly)?_c('div',[_c('v-row',{staticClass:\"mt-3\"},[_vm._v(\" Upload a file. \")]),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"success\",\"disabled\":!_vm.file || _vm.loadingFile || _vm.readonly,\"loading\":_vm.loadingFile,\"data-test\":\"editScreenLoadBtn\"},on:{\"click\":_vm.loadFile},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}],null,false,2673048543)},[_vm._v(\" Load \")])],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-file-input',{attrs:{\"accept\":\".json\",\"label\":\"Click to select .json file.\",\"disabled\":_vm.readonly},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1)],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('pre',{ref:\"editor\",staticClass:\"editor\"})]),_c('v-row',{staticClass:\"my-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"editCancelBtn\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),(!_vm.readonly)?_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"editSubmitBtn\",\"disabled\":!!_vm.error || _vm.readonly}},[_vm._v(\" Save \")]):_vm._e()],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=6ad8a8fe&scoped=true&\"\nimport script from \"./EditDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ad8a8fe\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"interfaceList\"}},_vm._l((_vm.interfaces),function(openc3_interface,index){return _c('div',{key:openc3_interface},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(openc3_interface))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showInterface(openc3_interface)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Interface Details\")])])],1)],1),(index < _vm.interfaces.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Interface\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InterfacesTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InterfacesTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InterfacesTab.vue?vue&type=template&id=e825dd58&\"\nimport script from \"./InterfacesTab.vue?vue&type=script&lang=js&\"\nexport * from \"./InterfacesTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/behaviour/cstyle\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./behaviour/cstyle\").CstyleBehaviour,a=e(\"./folding/cstyle\").FoldMode,f=e(\"../worker/worker_client\").WorkerClient,l=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=new u,this.foldingRules=new a};r.inherits(l,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new f([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(l.prototype),t.Mode=l}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n ","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"57275ebe\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["request","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","method","url","_ref2","data","_ref2$params","params","headers","_ref2$noAuth","noAuth","_ref2$noScope","noScope","refreshed","_args","arguments","wrap","_context","prev","next","length","undefined","OpenC3Auth","updateToken","defaultMinValidity","sent","setTokens","t0","login","localStorage","openc3Token","window","openc3Scope","abrupt","axios","stop","_x","_x2","apply","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","_objectSpread","get","path","_ref3","_ref3$headers","put","_ref4","_ref4$headers","post","_ref5","_ref5$headers","delete","_ref6","_ref6$headers","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","domProps","_s","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","ref","directives","name","rawName","close","staticRenderFns","props","content","type","String","required","Boolean","editor","mounted","openPluginMode","buildPluginMode","ace","$refs","setTheme","session","setMode","setTabSize","setUseWrapMode","$blockScrolling","Infinity","setHighlightActiveLine","setValue","clearSelection","focus","setReadOnly","beforeDestroy","destroy","computed","set","$emit","getValue","methods","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","toLowerCase","click","oop","JsonHighlightRules","MatchingBraceOutdent","CstyleBehaviour","FoldMode","Mode","HighlightRules","$outdent","$behaviour","foldingRules","indentKeywords","RubyMode","inherits","$id","call","prototype","component","_l","interfaces","openc3_interface","index","showInterface","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","update","_this","Api","_this2","JSON","stringify","define","e","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","string","defaultToken","comment","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","WorkerClient","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","require","m","module","exports","___CSS_LOADER_EXPORT___","push","id","__esModule","default","locals","add"],"sourceRoot":""}
|
data/tools/admin/js/635.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[635],{8179:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return m}});var n=function(){var t=this,e=t._self._c;return e("div",[e("top-bar",{attrs:{title:t.title}}),e("v-card",[e("v-tabs",{attrs:{"fixed-tabs":""},model:{value:t.curTab,callback:function(e){t.curTab=e},expression:"curTab"}},t._l(t.tabs,(function(a,n){return e("v-tab",{key:n,attrs:{to:a.path}},[t._v(" "+t._s(a.displayName)+" ")])})),1),e("router-view")],1)],1)},o=[],l=(a(8178),function(){var t=this,e=t._self._c;return e("mounting-portal",{attrs:{"mount-to":"#openc3-menu",append:""}},[e("div",{staticClass:"v-toolbar__content"},[t._l(t.menus,(function(a,n){return e("v-menu",{key:n,attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,l=n.attrs;return[e("v-btn",t._g(t._b({staticClass:"mx-1",attrs:{outlined:"","data-test":t.formatDT("".concat(t.title," ").concat(a.label))}},"v-btn",l,!1),o),[e("span",{domProps:{textContent:t._s(a.label)}}),e("v-icon",{attrs:{right:""}},[t._v(" mdi-menu-down ")])],1)]}}],null,!0)},[e("v-list",[e("v-radio-group",{staticClass:"ma-0 pa-0",attrs:{value:a.radioGroup,"hide-details":"",dense:""}},[t._l(a.items,(function(n,o){return[n.divider?e("v-divider"):e("v-list-item",{key:o,attrs:{disabled:n.disabled,"data-test":t.formatDT("".concat(t.title," ").concat(a.label," ").concat(n.label))},on:{click:function(t){return n.command(n)}}},[n.radio?e("v-list-item-action",[e("v-radio",{attrs:{color:"secondary",label:n.label,value:n.label}})],1):t._e(),n.checkbox?e("v-list-item-action",[e("v-checkbox",{attrs:{color:"secondary",label:n.label},model:{value:n.checked,callback:function(e){t.$set(n,"checked",e)},expression:"option.checked"}})],1):t._e(),n.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:n.disabled}},[t._v(t._s(n.icon))])],1):t._e(),n.radio||n.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(n.disabled?"opacity: 0.2":"")},[t._v(t._s(n.label))])],1)]}))],2)],1)],1)})),e("v-spacer"),e("v-toolbar-title",[t._v(t._s(t.title))]),e("v-spacer")],2)])}),i=[],r=(a(7950),a(5940),a(1639),{props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()}},mounted:function(){"COSMOS "===this.title.substring(0,7)?document.title=this.title.substring(7):document.title=this.title}}),s=r,c=(a(4888),a(3483)),u=(0,c.Z)(s,l,i,!1,null,"2eb37f67",null),d=u.exports,v=a(2005),f={components:{TopBar:d},data:function(){return{title:"COSMOS Administrator Console",curTab:null,tabs:v.d}},methods:{}},p=f,b=(0,c.Z)(p,n,o,!1,null,null,null),m=b.exports},1639:function(t,e,a){"use strict";var n=a(3103),o=a(266),l=a(5968),i=a(8885),r=a(6733),s=a(9650),c=a(8311),u=a(3326),d=a(5300),v=a(3349),f=a(17),p=a(95),b=a(4231),m=p("replace"),_=TypeError,h=l("".indexOf),g=l("".replace),k=l("".slice),x=Math.max,y=function(t,e,a){return a>t.length?-1:""===e?a:h(t,e,a)};n({target:"String",proto:!0},{replaceAll:function(t,e){var a,n,l,p,C,w,T,S,M,A=i(this),O=0,D=0,Z="";if(!s(t)){if(a=c(t),a&&(n=u(i(v(t))),!~h(n,"g")))throw _("`.replaceAll` does not allow non-global regexes");if(l=d(t,m),l)return o(l,t,A,e);if(b&&a)return g(u(A),t,e)}p=u(A),C=u(t),w=r(e),w||(e=u(e)),T=C.length,S=x(1,T),O=y(p,C,0);while(-1!==O)M=w?u(e(C,O,p)):f(C,p,O,[],void 0,e),Z+=k(p,D,O)+M,D=O+T,O=y(p,C,O+S);return D<p.length&&(Z+=k(p,D)),Z}})},6294:function(t,e,a){"use strict";a.r(e);var n=a(9601),o=a.n(n),l=a(2609),i=a.n(l),r=i()(o());r.push([t.id,".v-list[data-v-2eb37f67] .v-label{margin-left:5px}.v-list-item__icon[data-v-2eb37f67]{margin-right:15px!important}.v-list-item__title[data-v-2eb37f67]{color:#fff}",""]),e["default"]=r},4888:function(t,e,a){var n=a(6294);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var o=a(3514).Z;o("706a3f6d",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
-
//# sourceMappingURL=635.js.map
|
data/tools/admin/js/635.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"js/635.js","mappings":"8LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,SAASH,EAAG,SAAS,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,aAAa,IAAIE,MAAM,CAACC,MAAOP,EAAIQ,OAAQC,SAAS,SAAUC,GAAMV,EAAIQ,OAAOE,CAAG,EAAEC,WAAW,WAAWX,EAAIY,GAAIZ,EAAIa,MAAM,SAASC,EAAIC,GAAO,OAAOb,EAAG,QAAQ,CAACc,IAAID,EAAMX,MAAM,CA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osmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?95da","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?ecbb","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?41aa","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.string.replace-all.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?386c","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?9efc"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"title\":_vm.title}}),_c('v-card',[_c('v-tabs',{attrs:{\"fixed-tabs\":\"\"},model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,attrs:{\"to\":tab.path}},[_vm._v(\" \"+_vm._s(tab.displayName)+\" \")])}),1),_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('div',{staticClass:\"v-toolbar__content\"},[_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider'):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":function($event){return option.command(option)}}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],1)],1)}),_c('v-spacer'),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.title))]),_c('v-spacer')],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=2eb37f67&scoped=true&\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=2eb37f67&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2eb37f67\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenC3Admin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenC3Admin.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OpenC3Admin.vue?vue&type=template&id=3f450dac&\"\nimport script from \"./OpenC3Admin.vue?vue&type=script&lang=js&\"\nexport * from \"./OpenC3Admin.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-list[data-v-2eb37f67] .v-label{margin-left:5px}.v-list-item__icon[data-v-2eb37f67]{margin-right:15px!important}.v-list-item__title[data-v-2eb37f67]{color:#fff}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=2eb37f67&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"706a3f6d\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","title","model","value","curTab","callback","$$v","expression","_l","tabs","tab","index","key","path","_v","_s","displayName","staticRenderFns","staticClass","menus","menu","i","scopedSlots","_u","fn","_ref","on","_g","_b","formatDT","concat","label","domProps","radioGroup","items","option","j","divider","disabled","$event","command","radio","_e","checkbox","checked","$set","icon","style","props","type","Array","default","String","methods","string","replaceAll","toLowerCase","mounted","substring","document","component","components","TopBar","data","TabsList","$","call","uncurryThis","requireObjectCoercible","isCallable","isNullOrUndefined","isRegExp","toString","getMethod","getRegExpFlags","getSubstitution","wellKnownSymbol","IS_PURE","REPLACE","$TypeError","TypeError","indexOf","replace","stringSlice","slice","max","Math","stringIndexOf","searchValue","fromIndex","length","target","proto","replaceValue","IS_REG_EXP","flags","replacer","searchString","functionalReplace","searchLength","advanceBy","replacement","O","position","endOfLastMatch","result","undefined","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","locals","exports","add"],"sourceRoot":""}
|
data/tools/admin/js/661.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[661],{1303:function(t){t.exports={DIFF_EQUAL:0,DIFF_DELETE:-1,DIFF_INSERT:1,EDITOR_RIGHT:"right",EDITOR_LEFT:"left",RTL:"rtl",LTR:"ltr",SVG_NS:"http://www.w3.org/2000/svg",DIFF_GRANULARITY_SPECIFIC:"specific",DIFF_GRANULARITY_BROAD:"broad"}},3069:function(t){t.exports=function(t,e){const n=Math.random().toString(36).substr(2,5),i=`js-${e}-${n}`,r=t.querySelector(`.${e}`);if(r)return r.id=r.id||i,r.id;const o=document.createElement("div");return t.appendChild(o),o.className=e,o.id=i,o.id}},5078:function(t){function e(t,e,n,i){const r="document"===t?document:document.querySelector(t);r.addEventListener(e,(t=>{const e=r.querySelectorAll(n),{target:o}=t;for(let n=0,s=e.length;n<s;n+=1){let s=o;const a=e[n];while(s&&s!==r)s===a&&i.call(a,t),s=s.parentNode}}))}t.exports={on:e}},9636:function(t){t.exports=function(t,e){let n;return(...i)=>{const r=this;clearTimeout(n),n=setTimeout((()=>t.apply(r,i)),e)}}},6300:function(t){function e(t){return t&&"object"===typeof t&&!Array.isArray(t)&&null!==t}t.exports=function t(n,i){return e(n)&&e(i)&&Object.keys(i).forEach((r=>{e(i[r])?(n[r]&&e(n[r])||(n[r]=i[r]),t(n[r],i[r])):Object.assign(n,{[r]:i[r]})})),n}},1135:function(t){t.exports=function(t=""){const e=t.replace(/\r\n/g,"\n");return e}},2591:function(t){t.exports=function(t,e,n=!1){let i=null,r=!0;return(...o)=>{const s=n&&r,a=()=>{t.apply(this,o),i=null};s&&(r=!1,a()),i||(i=setTimeout(a,e))}}},2243:function(t,e,n){const i=n(1427),r=n(6300),o=n(2591),s=n(9636),a=n(1135),f=n(5970),l=n(9201),h=n(396),c=n(1394),g=n(3158),d=n(7935),u=n(3069),p=n(5078),_=n(1303);let m;function b(t){if(t.Range)return t.Range;const e=t.acequire||t.require;return!!e&&e("ace/range")}function E(t={}){if(!(this instanceof E))return new E(t);const e=this,n=()=>window?window.ace:void 0;e.options=r({ace:n(),mode:null,theme:null,element:null,diffGranularity:_.DIFF_GRANULARITY_BROAD,lockScrolling:!1,showDiffs:!0,showConnectors:!0,maxDiffs:5e3,left:{id:null,content:null,mode:null,theme:null,editable:!0,copyLinkEnabled:!0},right:{id:null,content:null,mode:null,theme:null,editable:!0,copyLinkEnabled:!0},classes:{gutterID:"acediff__gutter",diff:"acediff__diffLine",connector:"acediff__connector",newCodeConnectorLink:"acediff__newCodeConnector",newCodeConnectorLinkContent:"→",deletedCodeConnectorLink:"acediff__deletedCodeConnector",deletedCodeConnectorLinkContent:"←",copyRightContainer:"acediff__copy--right",copyLeftContainer:"acediff__copy--left"},connectorYOffset:0},t);const{ace:i}=e.options;if(!i){const t="No ace editor found nor supplied - `options.ace` or `window.ace` is missing";return console.error(t),new Error(t)}if(m=b(i),!m){const t="Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";return console.error(t),new Error(t)}if(null===e.options.element){const t="You need to specify an element for Ace-diff - `options.element` is missing";return console.error(t),new Error(t)}if(e.options.element instanceof HTMLElement?e.el=e.options.element:e.el=document.body.querySelector(e.options.element),!e.el){const t=`Can't find the specified element ${e.options.element}`;return console.error(t),new Error(t)}e.options.left.id=u(e.el,"acediff__left"),e.options.classes.gutterID=u(e.el,"acediff__gutter"),e.options.right.id=u(e.el,"acediff__right"),e.el.innerHTML=`<div class="acediff__wrap">${e.el.innerHTML}</div>`,e.editors={left:{ace:i.edit(e.options.left.id),markers:[],lineLengths:[]},right:{ace:i.edit(e.options.right.id),markers:[],lineLengths:[]},editorHeight:null},e.editors.left.ace.getSession().setMode(l(e,_.EDITOR_LEFT)),e.editors.right.ace.getSession().setMode(l(e,_.EDITOR_RIGHT)),e.editors.left.ace.setReadOnly(!e.options.left.editable),e.editors.right.ace.setReadOnly(!e.options.right.editable),e.editors.left.ace.setTheme(h(e,_.EDITOR_LEFT)),e.editors.right.ace.setTheme(h(e,_.EDITOR_RIGHT)),e.editors.left.ace.setValue(a(e.options.left.content),-1),e.editors.right.ace.setValue(a(e.options.right.content),-1),e.editors.editorHeight=g(e),setTimeout((()=>{e.lineHeight=e.editors.left.ace.renderer.lineHeight,y(e),H(e),N(e),e.diff()}),1)}E.prototype={setOptions(t){r(this.options,t),this.diff()},getNumDiffs(){return this.diffs.length},getEditors(){return{left:this.editors.left.ace,right:this.editors.right.ace}},diff(){const t=new i,e=this.editors.left.ace.getSession().getValue(),n=this.editors.right.ace.getSession().getValue(),r=t.diff_main(n,e);t.diff_cleanupSemantic(r),this.editors.left.lineLengths=x(this.editors.left),this.editors.right.lineLengths=x(this.editors.right);const o=[],s={left:0,right:0};r.forEach(((t,e,n)=>{const i=t[0];let a=t[1];n[e+1]&&a.endsWith("\n")&&n[e+1][1].startsWith("\n")&&(a+="\n",r[e][1]=a,r[e+1][1]=r[e+1][1].replace(/^\n/,"")),0!==a.length&&(i===_.DIFF_EQUAL?(s.left+=a.length,s.right+=a.length):i===_.DIFF_DELETE?(o.push(T(this,_.DIFF_DELETE,s.left,s.right,a)),s.right+=a.length):i===_.DIFF_INSERT&&(o.push(T(this,_.DIFF_INSERT,s.left,s.right,a)),s.left+=a.length))}),this),this.diffs=U(this,o),this.diffs.length>this.options.maxDiffs||(D(this),G(this))},destroy(){const t=this.editors.left.ace.getValue();this.editors.left.ace.destroy();let e=this.editors.left.ace.container,n=e.cloneNode(!1);n.textContent=t,e.parentNode.replaceChild(n,e);const i=this.editors.right.ace.getValue();this.editors.right.ace.destroy(),e=this.editors.right.ace.container,n=e.cloneNode(!1),n.textContent=i,e.parentNode.replaceChild(n,e),document.getElementById(this.options.classes.gutterID).innerHTML="",v()}};let v=()=>{};function y(t){t.editors.left.ace.getSession().on("changeScrollTop",o((()=>{R(t)}),16)),t.editors.right.ace.getSession().on("changeScrollTop",o((()=>{R(t)}),16));const e=t.diff.bind(t);t.editors.left.ace.on("change",e),t.editors.right.ace.on("change",e),t.options.left.copyLinkEnabled&&p.on(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.newCodeConnectorLink}`,(e=>{w(t,e,_.LTR)})),t.options.right.copyLinkEnabled&&p.on(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.deletedCodeConnectorLink}`,(e=>{w(t,e,_.RTL)}));const n=s((()=>{t.editors.availableHeight=document.getElementById(t.options.left.id).offsetHeight,t.diff()}),250);window.addEventListener("resize",n),v=()=>{window.removeEventListener("resize",n)}}function w(t,e,n){const i=parseInt(e.target.getAttribute("data-diff-index"),10),r=t.diffs[i];let o,s,a,f,l,h;n===_.LTR?(o=t.editors.left,s=t.editors.right,a=r.leftStartLine,f=r.leftEndLine,l=r.rightStartLine,h=r.rightEndLine):(o=t.editors.right,s=t.editors.left,a=r.rightStartLine,f=r.rightEndLine,l=r.leftStartLine,h=r.leftEndLine);let g="";for(let u=a;u<f;u+=1)g+=`${c(o,u)}\n`;const d=s.ace.getSession().getScrollTop();s.ace.getSession().replace(new m(l,0,h,0),g),s.ace.getSession().setScrollTop(parseInt(d,10)),t.diff()}function x(t){const e=t.ace.getSession().doc.getAllLines(),n=[];return e.forEach((t=>{n.push(t.length+1)})),n}function L(t,e,n,i,r){const o=t.editors[e];i<n&&(i=n);const s=`${r} ${i>n?"lines":"targetOnly"}`;o.markers.push(o.ace.session.addMarker(new m(n,0,i-1,1),s,"fullLine"))}function R(t){D(t),G(t),C(t)}function D(t){t.editors.left.markers.forEach((e=>{t.editors.left.ace.getSession().removeMarker(e)}),t),t.editors.right.markers.forEach((e=>{t.editors.right.ace.getSession().removeMarker(e)}),t)}function I(t,e,n,i,r){const o=t.editors.left.ace.getSession().getScrollTop(),s=t.editors.right.ace.getSession().getScrollTop();t.connectorYOffset=1;const a=-1,l=e*t.lineHeight-o+.5,h=t.gutterWidth+1,c=i*t.lineHeight-s+.5,g=-1,d=n*t.lineHeight-o+t.connectorYOffset+.5,u=t.gutterWidth+1,p=r*t.lineHeight-s+t.connectorYOffset+.5,m=f(a,l,h,c),b=f(u,p,g,d),E=`L${h},${c} ${u},${p}`,v=`L${g},${d} ${a},${l}`,y=`${m} ${E} ${b} ${v}`,w=document.createElementNS(_.SVG_NS,"path");w.setAttribute("d",y),w.setAttribute("class",t.options.classes.connector),t.gutterSVG.appendChild(w)}function S(t,e,n){if(e.leftEndLine>e.leftStartLine&&t.options.left.copyLinkEnabled){const i=d({className:t.options.classes.newCodeConnectorLink,topOffset:e.leftStartLine*t.lineHeight,tooltip:"Copy to right",diffIndex:n,arrowContent:t.options.classes.newCodeConnectorLinkContent});t.copyRightContainer.appendChild(i)}if(e.rightEndLine>e.rightStartLine&&t.options.right.copyLinkEnabled){const i=d({className:t.options.classes.deletedCodeConnectorLink,topOffset:e.rightStartLine*t.lineHeight,tooltip:"Copy to left",diffIndex:n,arrowContent:t.options.classes.deletedCodeConnectorLinkContent});t.copyLeftContainer.appendChild(i)}}function C(t){const e=t.editors.left.ace.getSession().getScrollTop(),n=t.editors.right.ace.getSession().getScrollTop();t.copyRightContainer.style.cssText=`top: ${-e}px`,t.copyLeftContainer.style.cssText=`top: ${-n}px`}function T(t,e,n,i,r){let o={},s=/^\n/.test(r);if(e===_.DIFF_INSERT){var a=M(t.editors.left,n,r),f=k(t.editors.right,i),l=A(t.editors.right,f);const e=A(t.editors.left,a.startLine);var h=A(t.editors.left,a.startLine);let d=f;0===h&&s&&(s=!1),0===a.startChar&&O(t.editors.right,i,s)&&(d=f+1);var c=a.startLine===a.endLine,g=0;(a.startChar>0||c&&r.length<e)&&l>0&&a.startChar<e&&g++,o={leftStartLine:a.startLine,leftEndLine:a.endLine+1,rightStartLine:d,rightEndLine:d+g}}else{a=M(t.editors.right,i,r),f=k(t.editors.left,n),l=A(t.editors.left,f);const e=A(t.editors.right,a.startLine);h=A(t.editors.right,a.startLine);let d=f;0===h&&s&&(s=!1),0===a.startChar&&O(t.editors.left,n,s)&&(d=f+1);c=a.startLine===a.endLine,g=0;(a.startChar>0||c&&r.length<e)&&l>0&&a.startChar<e&&g++,o={leftStartLine:d,leftEndLine:d+g,rightStartLine:a.startLine,rightEndLine:a.endLine+1}}return o}function M(t,e,n){const i={startLine:0,startChar:0,endLine:0,endChar:0},r=e+n.length;let o=0,s=!1,a=!1;t.lineLengths.forEach(((t,n)=>{o+=t,!s&&e<o&&(i.startLine=n,i.startChar=e-o+t,s=!0),!a&&r<=o&&(i.endLine=n,i.endChar=r-o+t,a=!0)})),i.startChar>0&&A(t,i.startLine)===i.startChar&&(i.startLine++,i.startChar=0),0===i.endChar&&i.endLine--;const f=/\n$/.test(n);return i.startChar>0&&f&&i.endLine++,i}function A(t,e){return c(t,e).length}function k(t,e){const n=t.ace.getSession().doc.getAllLines();let i=0,r=0;for(let o=0;o<n.length;o+=1)if(r+=n[o].length+1,e<=r){i=o;break}return i}function O(t,e,n){const i=t.ace.getSession().doc.getAllLines();let r=0;for(let o=0;o<i.length;o+=1){r+=i[o].length+1;let t=r;if(n&&(t-=1),e===t)break}return O}function N(t){t.gutterHeight=document.getElementById(t.options.classes.gutterID).clientHeight,t.gutterWidth=document.getElementById(t.options.classes.gutterID).clientWidth;const e=F(t,_.EDITOR_LEFT),n=F(t,_.EDITOR_RIGHT),i=Math.max(e,n,t.gutterHeight);t.gutterSVG=document.createElementNS(_.SVG_NS,"svg"),t.gutterSVG.setAttribute("width",t.gutterWidth),t.gutterSVG.setAttribute("height",i),document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG)}function F(t,e){const n=e===_.EDITOR_LEFT?t.editors.left:t.editors.right;return n.ace.getSession().getLength()*t.lineHeight}function H(t){t.copyRightContainer=document.createElement("div"),t.copyRightContainer.setAttribute("class",t.options.classes.copyRightContainer),t.copyLeftContainer=document.createElement("div"),t.copyLeftContainer.setAttribute("class",t.options.classes.copyLeftContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyRightContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyLeftContainer)}function $(t){const e=document.getElementById(t.options.classes.gutterID);e.removeChild(t.gutterSVG),N(t)}function P(t){t.copyLeftContainer.innerHTML="",t.copyRightContainer.innerHTML=""}function U(t,e){const n=[];function i(e){return t.options.diffGranularity===_.DIFF_GRANULARITY_SPECIFIC?e<1:e<=1}e.forEach(((t,e)=>{if(0===e)return void n.push(t);let r=!1;for(let o=0;o<n.length;o+=1)if(i(Math.abs(t.leftStartLine-n[o].leftEndLine))&&i(Math.abs(t.rightStartLine-n[o].rightEndLine))){n[o].leftStartLine=Math.min(t.leftStartLine,n[o].leftStartLine),n[o].rightStartLine=Math.min(t.rightStartLine,n[o].rightStartLine),n[o].leftEndLine=Math.max(t.leftEndLine,n[o].leftEndLine),n[o].rightEndLine=Math.max(t.rightEndLine,n[o].rightEndLine),r=!0;break}r||n.push(t)}));const r=[];return n.forEach((t=>{t.leftStartLine===t.leftEndLine&&t.rightStartLine===t.rightEndLine||r.push(t)})),r}function G(t){$(t),P(t),t.diffs.forEach(((e,n)=>{t.options.showDiffs&&(L(t,_.EDITOR_LEFT,e.leftStartLine,e.leftEndLine,t.options.classes.diff),L(t,_.EDITOR_RIGHT,e.rightStartLine,e.rightEndLine,t.options.classes.diff),t.options.showConnectors&&I(t,e.leftStartLine,e.leftEndLine,e.rightStartLine,e.rightEndLine),S(t,e,n))}),t)}t.exports=E},7935:function(t){t.exports=function(t){const e=document.createElement("div"),n={class:t.className,style:`top:${t.topOffset}px`,title:t.tooltip,"data-diff-index":t.diffIndex};for(const i in n)e.setAttribute(i,n[i]);return e.innerHTML=t.arrowContent,e}},5970:function(t){t.exports=function(t,e,n,i){const r=n-t,o=t+r/2;return`M ${t} ${e} C ${o},${e} ${o},${i} ${n},${i}`}},3158:function(t){t.exports=function(t){return document.getElementById(t.options.left.id).offsetHeight}},1394:function(t){t.exports=function(t,e){return t.ace.getSession().doc.getLine(e)}},9201:function(t,e,n){const i=n(1303);t.exports=function(t,e){let{mode:n}=t.options;return e===i.EDITOR_LEFT&&null!==t.options.left.mode&&(n=t.options.left.mode),e===i.EDITOR_RIGHT&&null!==t.options.right.mode&&(n=t.options.right.mode),n}},396:function(t,e,n){const i=n(1303);t.exports=function(t,e){let{theme:n}=t.options;return e===i.EDITOR_LEFT&&null!==t.options.left.theme&&(n=t.options.left.theme),e===i.EDITOR_RIGHT&&null!==t.options.right.theme&&(n=t.options.right.theme),n}},7291:function(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n={},i=0;i<66;i++)n[e.charAt(i)]=i;t.exports={itoc:e,ctoi:n}},7445:function(t){t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},8864:function(t,e,n){"use strict";var i=n(7400),r=n(4229),o=n(1176),s=n(2391),a=n(635),f=Error.prototype.toString,l=r((function(){if(i){var t=s(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==f.call(t))return!0}return"2: 1"!==f.call({message:1,name:2})||"Error"!==f.call({})}));t.exports=l?function(){var t=o(this),e=a(t.name,"Error"),n=a(t.message);return e?n?e+": "+n:e:n}:f},4165:function(t,e,n){var i=n(8801);t.exports=function(t){try{if(i)return Function('return require("'+t+'")')()}catch(e){}}},9949:function(t,e,n){"use strict";var i=n(3103),r=n(9996).findIndex,o=n(9736),s="findIndex",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(s)},7368:function(t,e,n){var i=n(7400),r=n(9859),o=n(5968),s=n(6541),a=n(835),f=n(5762),l=n(8151).f,h=n(1321),c=n(8311),g=n(3326),d=n(3349),u=n(5650),p=n(6060),_=n(4768),m=n(4229),b=n(8270),E=n(6407).enforce,v=n(1832),y=n(95),w=n(2926),x=n(461),L=y("match"),R=r.RegExp,D=R.prototype,I=r.SyntaxError,S=o(D.exec),C=o("".charAt),T=o("".replace),M=o("".indexOf),A=o("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,O=/a/g,N=/a/g,F=new R(O)!==O,H=u.MISSED_STICKY,$=u.UNSUPPORTED_Y,P=i&&(!F||H||w||x||m((function(){return N[L]=!1,R(O)!=O||R(N)==N||"/a/i"!=R(O,"i")}))),U=function(t){for(var e,n=t.length,i=0,r="",o=!1;i<=n;i++)e=C(t,i),"\\"!==e?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),r+=e):r+="[\\s\\S]":r+=e+C(t,++i);return r},G=function(t){for(var e,n=t.length,i=0,r="",o=[],s={},a=!1,f=!1,l=0,h="";i<=n;i++){if(e=C(t,i),"\\"===e)e+=C(t,++i);else if("]"===e)a=!1;else if(!a)switch(!0){case"["===e:a=!0;break;case"("===e:S(k,A(t,i+1))&&(i+=2,f=!0),r+=e,l++;continue;case">"===e&&f:if(""===h||b(s,h))throw new I("Invalid capture group name");s[h]=!0,o[o.length]=[h,l],f=!1,h="";continue}f?h+=e:r+=e}return[r,o]};if(s("RegExp",P)){for(var j=function(t,e){var n,i,r,o,s,l,u=h(D,this),p=c(t),_=void 0===e,m=[],b=t;if(!u&&p&&_&&t.constructor===j)return t;if((p||h(D,t))&&(t=t.source,_&&(e=d(b))),t=void 0===t?"":g(t),e=void 0===e?"":g(e),b=t,w&&"dotAll"in O&&(i=!!e&&M(e,"s")>-1,i&&(e=T(e,/s/g,""))),n=e,H&&"sticky"in O&&(r=!!e&&M(e,"y")>-1,r&&$&&(e=T(e,/y/g,""))),x&&(o=G(t),t=o[0],m=o[1]),s=a(R(t,e),u?this:D,j),(i||r||m.length)&&(l=E(s),i&&(l.dotAll=!0,l.raw=j(U(t),n)),r&&(l.sticky=!0),m.length&&(l.groups=m)),t!==b)try{f(s,"source",""===b?"(?:)":b)}catch(v){}return s},B=l(R),V=0;B.length>V;)p(j,R,B[V++]);D.constructor=j,j.prototype=D,_(r,"RegExp",j,{constructor:!0})}v("RegExp")},4471:function(t,e,n){var i=n(7400),r=n(2926),o=n(7079),s=n(6616),a=n(6407).get,f=RegExp.prototype,l=TypeError;i&&r&&s(f,"dotAll",{configurable:!0,get:function(){if(this!==f){if("RegExp"===o(this))return!!a(this).dotAll;throw l("Incompatible receiver, RegExp required")}}})},1172:function(t,e,n){var i=n(7400),r=n(5650).MISSED_STICKY,o=n(7079),s=n(6616),a=n(6407).get,f=RegExp.prototype,l=TypeError;i&&r&&s(f,"sticky",{configurable:!0,get:function(){if(this!==f){if("RegExp"===o(this))return!!a(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},4707:function(t,e,n){var i=n(3103),r=n(9859),o=n(1333),s=n(5968),a=n(266),f=n(4229),l=n(3326),h=n(8270),c=n(7579),g=n(7291).ctoi,d=/[^\d+/a-z]/i,u=/[\t\n\f\r ]+/g,p=/[=]{1,2}$/,_=o("atob"),m=String.fromCharCode,b=s("".charAt),E=s("".replace),v=s(d.exec),y=f((function(){return""!==_(" ")})),w=!f((function(){_("a")})),x=!y&&!w&&!f((function(){_()})),L=!y&&!w&&1!==_.length;i({global:!0,bind:!0,enumerable:!0,forced:y||w||x||L},{atob:function(t){if(c(arguments.length,1),x||L)return a(_,r,t);var e,n,i=E(l(t),u,""),s="",f=0,y=0;if(i.length%4==0&&(i=E(i,p,"")),i.length%4==1||v(d,i))throw new(o("DOMException"))("The string is not correctly encoded","InvalidCharacterError");while(e=b(i,f++))h(g,e)&&(n=y%4?64*n+g[e]:g[e],y++%4&&(s+=m(255&n>>(-2*y&6))));return s}})},1497:function(t,e,n){"use strict";var i=n(3103),r=n(4165),o=n(1333),s=n(4229),a=n(2391),f=n(5358),l=n(1787).f,h=n(4768),c=n(6616),g=n(8270),d=n(7728),u=n(1176),p=n(8864),_=n(635),m=n(7445),b=n(5299),E=n(6407),v=n(7400),y=n(4231),w="DOMException",x="DATA_CLONE_ERR",L=o("Error"),R=o(w)||function(){try{var t=o("MessageChannel")||r("worker_threads").MessageChannel;(new t).port1.postMessage(new WeakMap)}catch(e){if(e.name==x&&25==e.code)return e.constructor}}(),D=R&&R.prototype,I=L.prototype,S=E.set,C=E.getterFor(w),T="stack"in L(w),M=function(t){return g(m,t)&&m[t].m?m[t].c:0},A=function(){d(this,k);var t=arguments.length,e=_(t<1?void 0:arguments[0]),n=_(t<2?void 0:arguments[1],"Error"),i=M(n);if(S(this,{type:w,name:n,message:e,code:i}),v||(this.name=n,this.message=e,this.code=i),T){var r=L(e);r.name=w,l(this,"stack",f(1,b(r.stack,1)))}},k=A.prototype=a(I),O=function(t){return{enumerable:!0,configurable:!0,get:t}},N=function(t){return O((function(){return C(this)[t]}))};v&&(c(k,"code",N("code")),c(k,"message",N("message")),c(k,"name",N("name"))),l(k,"constructor",f(1,A));var F=s((function(){return!(new R instanceof L)})),H=F||s((function(){return I.toString!==p||"2: 1"!==String(new R(1,2))})),$=F||s((function(){return 25!==new R(1,"DataCloneError").code})),P=F||25!==R[x]||25!==D[x],U=y?H||$||P:F;i({global:!0,constructor:!0,forced:U},{DOMException:U?A:R});var G=o(w),j=G.prototype;for(var B in H&&(y||R===G)&&h(j,"toString",p),$&&v&&R===G&&c(j,"code",O((function(){return M(u(this).name)}))),m)if(g(m,B)){var V=m[B],Y=V.s,W=f(6,V.c);g(G,Y)||l(G,Y,W),g(j,Y)||l(j,Y,W)}},5640:function(t,e,n){"use strict";var i=n(3103),r=n(9859),o=n(1333),s=n(5358),a=n(1787).f,f=n(8270),l=n(7728),h=n(835),c=n(635),g=n(7445),d=n(5299),u=n(7400),p=n(4231),_="DOMException",m=o("Error"),b=o(_),E=function(){l(this,v);var t=arguments.length,e=c(t<1?void 0:arguments[0]),n=c(t<2?void 0:arguments[1],"Error"),i=new b(e,n),r=m(e);return r.name=_,a(i,"stack",s(1,d(r.stack,1))),h(i,this,E),i},v=E.prototype=b.prototype,y="stack"in m(_),w="stack"in new b(1,2),x=b&&u&&Object.getOwnPropertyDescriptor(r,_),L=!!x&&!(x.writable&&x.configurable),R=y&&!L&&!w;i({global:!0,constructor:!0,forced:p||R},{DOMException:R?E:b});var D=o(_),I=D.prototype;if(I.constructor!==D)for(var S in p||a(I,"constructor",s(1,D)),g)if(f(g,S)){var C=g[S],T=C.s;f(D,T)||a(D,T,s(6,C.c))}},1871:function(t,e,n){var i=n(1333),r=n(4555),o="DOMException";r(i(o),o)},2308:function(t,e,n){"use strict";n.r(e);var i=n(9601),r=n.n(i),o=n(2609),s=n.n(o),a=s()(r());a.push([t.id,".acediff__wrap{display:flex;flex-direction:row;position:absolute;bottom:0;top:0;left:0;height:100%;width:100%;overflow:auto}.acediff__gutter{flex:0 0 60px;border-left:1px solid #000;border-right:1px solid #000;overflow:hidden}.acediff__gutter,.acediff__gutter svg{background-color:#272727}.acediff__left,.acediff__right{height:100%;flex:1}.acediff__diffLine{background-color:#004d7a;border-top:1px solid #003554;border-bottom:1px solid #003554;position:absolute;z-index:4}.acediff__diffLine.targetOnly{height:0!important;border-top:1px solid #003554;border-bottom:0;position:absolute}.acediff__connector{fill:#004d7a;stroke:#003554}.acediff__copy--left,.acediff__copy--right{position:relative}.acediff__copy--left div,.acediff__copy--right div{color:#fff;text-shadow:1px 1px rgba(0,0,0,.7);position:absolute;margin:2px 3px;cursor:pointer}.acediff__copy--right div:hover{color:#61a2e7}.acediff__copy--left{float:right}.acediff__copy--left div{right:0}.acediff__copy--left div:hover{color:#f7b742}",""]),e["default"]=a},4066:function(t,e,n){"use strict";n.r(e);var i=n(9601),r=n.n(i),o=n(2609),s=n.n(o),a=s()(r());a.push([t.id,".acediff__wrap{display:flex;flex-direction:row;position:absolute;bottom:0;top:0;left:0;height:100%;width:100%;overflow:auto}.acediff__gutter{flex:0 0 60px;border-left:1px solid #bcbcbc;border-right:1px solid #bcbcbc;overflow:hidden}.acediff__gutter,.acediff__gutter svg{background-color:#efefef}.acediff__left,.acediff__right{height:100%;flex:1}.acediff__diffLine{background-color:#d8f2ff;border-top:1px solid #a2d7f2;border-bottom:1px solid #a2d7f2;position:absolute;z-index:4}.acediff__diffLine.targetOnly{height:0!important;border-top:1px solid #a2d7f2;border-bottom:0;position:absolute}.acediff__connector{fill:#d8f2ff;stroke:#a2d7f2}.acediff__copy--left,.acediff__copy--right{position:relative}.acediff__copy--left div,.acediff__copy--right div{color:#000;text-shadow:1px 1px hsla(0,0%,100%,.7);position:absolute;margin:2px 3px;cursor:pointer}.acediff__copy--right div:hover{color:#004ea0}.acediff__copy--left{float:right}.acediff__copy--left div{right:0}.acediff__copy--left div:hover{color:#c98100}",""]),e["default"]=a},1427:function(t){var e=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1,i=1,r=0;e.Diff=function(t,e){return[t,e]},e.prototype.diff_main=function(t,n,i,o){"undefined"==typeof o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var s=o;if(null==t||null==n)throw new Error("Null input. (diff_main)");if(t==n)return t?[new e.Diff(r,t)]:[];"undefined"==typeof i&&(i=!0);var a=i,f=this.diff_commonPrefix(t,n),l=t.substring(0,f);t=t.substring(f),n=n.substring(f),f=this.diff_commonSuffix(t,n);var h=t.substring(t.length-f);t=t.substring(0,t.length-f),n=n.substring(0,n.length-f);var c=this.diff_compute_(t,n,a,s);return l&&c.unshift(new e.Diff(r,l)),h&&c.push(new e.Diff(r,h)),this.diff_cleanupMerge(c),c},e.prototype.diff_compute_=function(t,o,s,a){var f;if(!t)return[new e.Diff(i,o)];if(!o)return[new e.Diff(n,t)];var l=t.length>o.length?t:o,h=t.length>o.length?o:t,c=l.indexOf(h);if(-1!=c)return f=[new e.Diff(i,l.substring(0,c)),new e.Diff(r,h),new e.Diff(i,l.substring(c+h.length))],t.length>o.length&&(f[0][0]=f[2][0]=n),f;if(1==h.length)return[new e.Diff(n,t),new e.Diff(i,o)];var g=this.diff_halfMatch_(t,o);if(g){var d=g[0],u=g[1],p=g[2],_=g[3],m=g[4],b=this.diff_main(d,p,s,a),E=this.diff_main(u,_,s,a);return b.concat([new e.Diff(r,m)],E)}return s&&t.length>100&&o.length>100?this.diff_lineMode_(t,o,a):this.diff_bisect_(t,o,a)},e.prototype.diff_lineMode_=function(t,o,s){var a=this.diff_linesToChars_(t,o);t=a.chars1,o=a.chars2;var f=a.lineArray,l=this.diff_main(t,o,!1,s);this.diff_charsToLines_(l,f),this.diff_cleanupSemantic(l),l.push(new e.Diff(r,""));var h=0,c=0,g=0,d="",u="";while(h<l.length){switch(l[h][0]){case i:g++,u+=l[h][1];break;case n:c++,d+=l[h][1];break;case r:if(c>=1&&g>=1){l.splice(h-c-g,c+g),h=h-c-g;for(var p=this.diff_main(d,u,!1,s),_=p.length-1;_>=0;_--)l.splice(h,0,p[_]);h+=p.length}g=0,c=0,d="",u="";break}h++}return l.pop(),l},e.prototype.diff_bisect_=function(t,r,o){for(var s=t.length,a=r.length,f=Math.ceil((s+a)/2),l=f,h=2*f,c=new Array(h),g=new Array(h),d=0;d<h;d++)c[d]=-1,g[d]=-1;c[l+1]=0,g[l+1]=0;for(var u=s-a,p=u%2!=0,_=0,m=0,b=0,E=0,v=0;v<f;v++){if((new Date).getTime()>o)break;for(var y=-v+_;y<=v-m;y+=2){var w=l+y;S=y==-v||y!=v&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1;var x=S-y;while(S<s&&x<a&&t.charAt(S)==r.charAt(x))S++,x++;if(c[w]=S,S>s)m+=2;else if(x>a)_+=2;else if(p){var L=l+u-y;if(L>=0&&L<h&&-1!=g[L]){var R=s-g[L];if(S>=R)return this.diff_bisectSplit_(t,r,S,x,o)}}}for(var D=-v+b;D<=v-E;D+=2){L=l+D;R=D==-v||D!=v&&g[L-1]<g[L+1]?g[L+1]:g[L-1]+1;var I=R-D;while(R<s&&I<a&&t.charAt(s-R-1)==r.charAt(a-I-1))R++,I++;if(g[L]=R,R>s)E+=2;else if(I>a)b+=2;else if(!p){w=l+u-D;if(w>=0&&w<h&&-1!=c[w]){var S=c[w];x=l+S-w;if(R=s-R,S>=R)return this.diff_bisectSplit_(t,r,S,x,o)}}}}return[new e.Diff(n,t),new e.Diff(i,r)]},e.prototype.diff_bisectSplit_=function(t,e,n,i,r){var o=t.substring(0,n),s=e.substring(0,i),a=t.substring(n),f=e.substring(i),l=this.diff_main(o,s,!1,r),h=this.diff_main(a,f,!1,r);return l.concat(h)},e.prototype.diff_linesToChars_=function(t,e){var n=[],i={};function r(t){var e="",r=0,s=-1,a=n.length;while(s<t.length-1){s=t.indexOf("\n",r),-1==s&&(s=t.length-1);var f=t.substring(r,s+1);(i.hasOwnProperty?i.hasOwnProperty(f):void 0!==i[f])?e+=String.fromCharCode(i[f]):(a==o&&(f=t.substring(r),s=t.length),e+=String.fromCharCode(a),i[f]=a,n[a++]=f),r=s+1}return e}n[0]="";var o=4e4,s=r(t);o=65535;var a=r(e);return{chars1:s,chars2:a,lineArray:n}},e.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var i=t[n][1],r=[],o=0;o<i.length;o++)r[o]=e[i.charCodeAt(o)];t[n][1]=r.join("")}},e.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var n=0,i=Math.min(t.length,e.length),r=i,o=0;while(n<r)t.substring(o,r)==e.substring(o,r)?(n=r,o=n):i=r,r=Math.floor((i-n)/2+n);return r},e.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var n=0,i=Math.min(t.length,e.length),r=i,o=0;while(n<r)t.substring(t.length-r,t.length-o)==e.substring(e.length-r,e.length-o)?(n=r,o=n):i=r,r=Math.floor((i-n)/2+n);return r},e.prototype.diff_commonOverlap_=function(t,e){var n=t.length,i=e.length;if(0==n||0==i)return 0;n>i?t=t.substring(n-i):n<i&&(e=e.substring(0,n));var r=Math.min(n,i);if(t==e)return r;var o=0,s=1;while(1){var a=t.substring(r-s),f=e.indexOf(a);if(-1==f)return o;s+=f,0!=f&&t.substring(r-s)!=e.substring(0,s)||(o=s,s++)}},e.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var n=t.length>e.length?t:e,i=t.length>e.length?e:t;if(n.length<4||2*i.length<n.length)return null;var r=this;function o(t,e,n){var i,o,s,a,f=t.substring(n,n+Math.floor(t.length/4)),l=-1,h="";while(-1!=(l=e.indexOf(f,l+1))){var c=r.diff_commonPrefix(t.substring(n),e.substring(l)),g=r.diff_commonSuffix(t.substring(0,n),e.substring(0,l));h.length<g+c&&(h=e.substring(l-g,l)+e.substring(l,l+c),i=t.substring(0,n-g),o=t.substring(n+c),s=e.substring(0,l-g),a=e.substring(l+c))}return 2*h.length>=t.length?[i,o,s,a,h]:null}var s,a,f,l,h,c=o(n,i,Math.ceil(n.length/4)),g=o(n,i,Math.ceil(n.length/2));if(!c&&!g)return null;s=g?c&&c[4].length>g[4].length?c:g:c,t.length>e.length?(a=s[0],f=s[1],l=s[2],h=s[3]):(l=s[0],h=s[1],a=s[2],f=s[3]);var d=s[4];return[a,f,l,h,d]},e.prototype.diff_cleanupSemantic=function(t){var o=!1,s=[],a=0,f=null,l=0,h=0,c=0,g=0,d=0;while(l<t.length)t[l][0]==r?(s[a++]=l,h=g,c=d,g=0,d=0,f=t[l][1]):(t[l][0]==i?g+=t[l][1].length:d+=t[l][1].length,f&&f.length<=Math.max(h,c)&&f.length<=Math.max(g,d)&&(t.splice(s[a-1],0,new e.Diff(n,f)),t[s[a-1]+1][0]=i,a--,a--,l=a>0?s[a-1]:-1,h=0,c=0,g=0,d=0,f=null,o=!0)),l++;o&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),l=1;while(l<t.length){if(t[l-1][0]==n&&t[l][0]==i){var u=t[l-1][1],p=t[l][1],_=this.diff_commonOverlap_(u,p),m=this.diff_commonOverlap_(p,u);_>=m?(_>=u.length/2||_>=p.length/2)&&(t.splice(l,0,new e.Diff(r,p.substring(0,_))),t[l-1][1]=u.substring(0,u.length-_),t[l+1][1]=p.substring(_),l++):(m>=u.length/2||m>=p.length/2)&&(t.splice(l,0,new e.Diff(r,u.substring(0,m))),t[l-1][0]=i,t[l-1][1]=p.substring(0,p.length-m),t[l+1][0]=n,t[l+1][1]=u.substring(m),l++),l++}l++}},e.prototype.diff_cleanupSemanticLossless=function(t){function n(t,n){if(!t||!n)return 6;var i=t.charAt(t.length-1),r=n.charAt(0),o=i.match(e.nonAlphaNumericRegex_),s=r.match(e.nonAlphaNumericRegex_),a=o&&i.match(e.whitespaceRegex_),f=s&&r.match(e.whitespaceRegex_),l=a&&i.match(e.linebreakRegex_),h=f&&r.match(e.linebreakRegex_),c=l&&t.match(e.blanklineEndRegex_),g=h&&n.match(e.blanklineStartRegex_);return c||g?5:l||h?4:o&&!a&&f?3:a||f?2:o||s?1:0}var i=1;while(i<t.length-1){if(t[i-1][0]==r&&t[i+1][0]==r){var o=t[i-1][1],s=t[i][1],a=t[i+1][1],f=this.diff_commonSuffix(o,s);if(f){var l=s.substring(s.length-f);o=o.substring(0,o.length-f),s=l+s.substring(0,s.length-f),a=l+a}var h=o,c=s,g=a,d=n(o,s)+n(s,a);while(s.charAt(0)===a.charAt(0)){o+=s.charAt(0),s=s.substring(1)+a.charAt(0),a=a.substring(1);var u=n(o,s)+n(s,a);u>=d&&(d=u,h=o,c=s,g=a)}t[i-1][1]!=h&&(h?t[i-1][1]=h:(t.splice(i-1,1),i--),t[i][1]=c,g?t[i+1][1]=g:(t.splice(i+1,1),i--))}i++}},e.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,e.whitespaceRegex_=/\s/,e.linebreakRegex_=/[\r\n]/,e.blanklineEndRegex_=/\n\r?\n$/,e.blanklineStartRegex_=/^\r?\n\r?\n/,e.prototype.diff_cleanupEfficiency=function(t){var o=!1,s=[],a=0,f=null,l=0,h=!1,c=!1,g=!1,d=!1;while(l<t.length)t[l][0]==r?(t[l][1].length<this.Diff_EditCost&&(g||d)?(s[a++]=l,h=g,c=d,f=t[l][1]):(a=0,f=null),g=d=!1):(t[l][0]==n?d=!0:g=!0,f&&(h&&c&&g&&d||f.length<this.Diff_EditCost/2&&h+c+g+d==3)&&(t.splice(s[a-1],0,new e.Diff(n,f)),t[s[a-1]+1][0]=i,a--,f=null,h&&c?(g=d=!0,a=0):(a--,l=a>0?s[a-1]:-1,g=d=!1),o=!0)),l++;o&&this.diff_cleanupMerge(t)},e.prototype.diff_cleanupMerge=function(t){t.push(new e.Diff(r,""));var o,s=0,a=0,f=0,l="",h="";while(s<t.length)switch(t[s][0]){case i:f++,h+=t[s][1],s++;break;case n:a++,l+=t[s][1],s++;break;case r:a+f>1?(0!==a&&0!==f&&(o=this.diff_commonPrefix(h,l),0!==o&&(s-a-f>0&&t[s-a-f-1][0]==r?t[s-a-f-1][1]+=h.substring(0,o):(t.splice(0,0,new e.Diff(r,h.substring(0,o))),s++),h=h.substring(o),l=l.substring(o)),o=this.diff_commonSuffix(h,l),0!==o&&(t[s][1]=h.substring(h.length-o)+t[s][1],h=h.substring(0,h.length-o),l=l.substring(0,l.length-o))),s-=a+f,t.splice(s,a+f),l.length&&(t.splice(s,0,new e.Diff(n,l)),s++),h.length&&(t.splice(s,0,new e.Diff(i,h)),s++),s++):0!==s&&t[s-1][0]==r?(t[s-1][1]+=t[s][1],t.splice(s,1)):s++,f=0,a=0,l="",h="";break}""===t[t.length-1][1]&&t.pop();var c=!1;s=1;while(s<t.length-1)t[s-1][0]==r&&t[s+1][0]==r&&(t[s][1].substring(t[s][1].length-t[s-1][1].length)==t[s-1][1]?(t[s][1]=t[s-1][1]+t[s][1].substring(0,t[s][1].length-t[s-1][1].length),t[s+1][1]=t[s-1][1]+t[s+1][1],t.splice(s-1,1),c=!0):t[s][1].substring(0,t[s+1][1].length)==t[s+1][1]&&(t[s-1][1]+=t[s+1][1],t[s][1]=t[s][1].substring(t[s+1][1].length)+t[s+1][1],t.splice(s+1,1),c=!0)),s++;c&&this.diff_cleanupMerge(t)},e.prototype.diff_xIndex=function(t,e){var r,o=0,s=0,a=0,f=0;for(r=0;r<t.length;r++){if(t[r][0]!==i&&(o+=t[r][1].length),t[r][0]!==n&&(s+=t[r][1].length),o>e)break;a=o,f=s}return t.length!=r&&t[r][0]===n?f:f+(e-a)},e.prototype.diff_prettyHtml=function(t){for(var e=[],o=/&/g,s=/</g,a=/>/g,f=/\n/g,l=0;l<t.length;l++){var h=t[l][0],c=t[l][1],g=c.replace(o,"&").replace(s,"<").replace(a,">").replace(f,"¶<br>");switch(h){case i:e[l]='<ins style="background:#e6ffe6;">'+g+"</ins>";break;case n:e[l]='<del style="background:#ffe6e6;">'+g+"</del>";break;case r:e[l]="<span>"+g+"</span>";break}}return e.join("")},e.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==i&&(e[n]=t[n][1]);return e.join("")},e.prototype.diff_text2=function(t){for(var e=[],i=0;i<t.length;i++)t[i][0]!==n&&(e[i]=t[i][1]);return e.join("")},e.prototype.diff_levenshtein=function(t){for(var e=0,o=0,s=0,a=0;a<t.length;a++){var f=t[a][0],l=t[a][1];switch(f){case i:o+=l.length;break;case n:s+=l.length;break;case r:e+=Math.max(o,s),o=0,s=0;break}}return e+=Math.max(o,s),e},e.prototype.diff_toDelta=function(t){for(var e=[],o=0;o<t.length;o++)switch(t[o][0]){case i:e[o]="+"+encodeURI(t[o][1]);break;case n:e[o]="-"+t[o][1].length;break;case r:e[o]="="+t[o][1].length;break}return e.join("\t").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(t,o){for(var s=[],a=0,f=0,l=o.split(/\t/g),h=0;h<l.length;h++){var c=l[h].substring(1);switch(l[h].charAt(0)){case"+":try{s[a++]=new e.Diff(i,decodeURI(c))}catch(u){throw new Error("Illegal escape in diff_fromDelta: "+c)}break;case"-":case"=":var g=parseInt(c,10);if(isNaN(g)||g<0)throw new Error("Invalid number in diff_fromDelta: "+c);var d=t.substring(f,f+=g);"="==l[h].charAt(0)?s[a++]=new e.Diff(r,d):s[a++]=new e.Diff(n,d);break;default:if(l[h])throw new Error("Invalid diff operation in diff_fromDelta: "+l[h])}}if(f!=t.length)throw new Error("Delta length ("+f+") does not equal source text length ("+t.length+").");return s},e.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,t.length)),t==e?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},e.prototype.match_bitap_=function(t,e,n){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(e),r=this;function o(t,i){var o=t/e.length,s=Math.abs(n-i);return r.Match_Distance?o+s/r.Match_Distance:s?1:o}var s=this.Match_Threshold,a=t.indexOf(e,n);-1!=a&&(s=Math.min(o(0,a),s),a=t.lastIndexOf(e,n+e.length),-1!=a&&(s=Math.min(o(0,a),s)));var f,l,h=1<<e.length-1;a=-1;for(var c,g=e.length+t.length,d=0;d<e.length;d++){f=0,l=g;while(f<l)o(d,n+l)<=s?f=l:g=l,l=Math.floor((g-f)/2+f);g=l;var u=Math.max(1,n-l+1),p=Math.min(n+l,t.length)+e.length,_=Array(p+2);_[p+1]=(1<<d)-1;for(var m=p;m>=u;m--){var b=i[t.charAt(m-1)];if(_[m]=0===d?(_[m+1]<<1|1)&b:(_[m+1]<<1|1)&b|(c[m+1]|c[m])<<1|1|c[m+1],_[m]&h){var E=o(d,m-1);if(E<=s){if(s=E,a=m-1,!(a>n))break;u=Math.max(1,2*n-a)}}}if(o(d+1,n)>s)break;c=_}return a},e.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},e.prototype.patch_addContext_=function(t,n){if(0!=n.length){if(null===t.start2)throw Error("patch not initialized");var i=n.substring(t.start2,t.start2+t.length1),o=0;while(n.indexOf(i)!=n.lastIndexOf(i)&&i.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin)o+=this.Patch_Margin,i=n.substring(t.start2-o,t.start2+t.length1+o);o+=this.Patch_Margin;var s=n.substring(t.start2-o,t.start2);s&&t.diffs.unshift(new e.Diff(r,s));var a=n.substring(t.start2+t.length1,t.start2+t.length1+o);a&&t.diffs.push(new e.Diff(r,a)),t.start1-=s.length,t.start2-=s.length,t.length1+=s.length+a.length,t.length2+=s.length+a.length}},e.prototype.patch_make=function(t,o,s){var a,f;if("string"==typeof t&&"string"==typeof o&&"undefined"==typeof s)a=t,f=this.diff_main(a,o,!0),f.length>2&&(this.diff_cleanupSemantic(f),this.diff_cleanupEfficiency(f));else if(t&&"object"==typeof t&&"undefined"==typeof o&&"undefined"==typeof s)f=t,a=this.diff_text1(f);else if("string"==typeof t&&o&&"object"==typeof o&&"undefined"==typeof s)a=t,f=o;else{if("string"!=typeof t||"string"!=typeof o||!s||"object"!=typeof s)throw new Error("Unknown call format to patch_make.");a=t,f=s}if(0===f.length)return[];for(var l=[],h=new e.patch_obj,c=0,g=0,d=0,u=a,p=a,_=0;_<f.length;_++){var m=f[_][0],b=f[_][1];switch(c||m===r||(h.start1=g,h.start2=d),m){case i:h.diffs[c++]=f[_],h.length2+=b.length,p=p.substring(0,d)+b+p.substring(d);break;case n:h.length1+=b.length,h.diffs[c++]=f[_],p=p.substring(0,d)+p.substring(d+b.length);break;case r:b.length<=2*this.Patch_Margin&&c&&f.length!=_+1?(h.diffs[c++]=f[_],h.length1+=b.length,h.length2+=b.length):b.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(h,u),l.push(h),h=new e.patch_obj,c=0,u=p,g=d);break}m!==i&&(g+=b.length),m!==n&&(d+=b.length)}return c&&(this.patch_addContext_(h,u),l.push(h)),l},e.prototype.patch_deepCopy=function(t){for(var n=[],i=0;i<t.length;i++){var r=t[i],o=new e.patch_obj;o.diffs=[];for(var s=0;s<r.diffs.length;s++)o.diffs[s]=new e.Diff(r.diffs[s][0],r.diffs[s][1]);o.start1=r.start1,o.start2=r.start2,o.length1=r.length1,o.length2=r.length2,n[i]=o}return n},e.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var o=this.patch_addPadding(t);e=o+e+o,this.patch_splitMax(t);for(var s=0,a=[],f=0;f<t.length;f++){var l,h,c=t[f].start2+s,g=this.diff_text1(t[f].diffs),d=-1;if(g.length>this.Match_MaxBits?(l=this.match_main(e,g.substring(0,this.Match_MaxBits),c),-1!=l&&(d=this.match_main(e,g.substring(g.length-this.Match_MaxBits),c+g.length-this.Match_MaxBits),(-1==d||l>=d)&&(l=-1))):l=this.match_main(e,g,c),-1==l)a[f]=!1,s-=t[f].length2-t[f].length1;else if(a[f]=!0,s=l-c,h=-1==d?e.substring(l,l+g.length):e.substring(l,d+this.Match_MaxBits),g==h)e=e.substring(0,l)+this.diff_text2(t[f].diffs)+e.substring(l+g.length);else{var u=this.diff_main(g,h,!1);if(g.length>this.Match_MaxBits&&this.diff_levenshtein(u)/g.length>this.Patch_DeleteThreshold)a[f]=!1;else{this.diff_cleanupSemanticLossless(u);for(var p,_=0,m=0;m<t[f].diffs.length;m++){var b=t[f].diffs[m];b[0]!==r&&(p=this.diff_xIndex(u,_)),b[0]===i?e=e.substring(0,l+p)+b[1]+e.substring(l+p):b[0]===n&&(e=e.substring(0,l+p)+e.substring(l+this.diff_xIndex(u,_+b[1].length))),b[0]!==n&&(_+=b[1].length)}}}}return e=e.substring(o.length,e.length-o.length),[e,a]},e.prototype.patch_addPadding=function(t){for(var n=this.Patch_Margin,i="",o=1;o<=n;o++)i+=String.fromCharCode(o);for(o=0;o<t.length;o++)t[o].start1+=n,t[o].start2+=n;var s=t[0],a=s.diffs;if(0==a.length||a[0][0]!=r)a.unshift(new e.Diff(r,i)),s.start1-=n,s.start2-=n,s.length1+=n,s.length2+=n;else if(n>a[0][1].length){var f=n-a[0][1].length;a[0][1]=i.substring(a[0][1].length)+a[0][1],s.start1-=f,s.start2-=f,s.length1+=f,s.length2+=f}if(s=t[t.length-1],a=s.diffs,0==a.length||a[a.length-1][0]!=r)a.push(new e.Diff(r,i)),s.length1+=n,s.length2+=n;else if(n>a[a.length-1][1].length){f=n-a[a.length-1][1].length;a[a.length-1][1]+=i.substring(0,f),s.length1+=f,s.length2+=f}return i},e.prototype.patch_splitMax=function(t){for(var o=this.Match_MaxBits,s=0;s<t.length;s++)if(!(t[s].length1<=o)){var a=t[s];t.splice(s--,1);var f=a.start1,l=a.start2,h="";while(0!==a.diffs.length){var c=new e.patch_obj,g=!0;c.start1=f-h.length,c.start2=l-h.length,""!==h&&(c.length1=c.length2=h.length,c.diffs.push(new e.Diff(r,h)));while(0!==a.diffs.length&&c.length1<o-this.Patch_Margin){var d=a.diffs[0][0],u=a.diffs[0][1];d===i?(c.length2+=u.length,l+=u.length,c.diffs.push(a.diffs.shift()),g=!1):d===n&&1==c.diffs.length&&c.diffs[0][0]==r&&u.length>2*o?(c.length1+=u.length,f+=u.length,g=!1,c.diffs.push(new e.Diff(d,u)),a.diffs.shift()):(u=u.substring(0,o-c.length1-this.Patch_Margin),c.length1+=u.length,f+=u.length,d===r?(c.length2+=u.length,l+=u.length):g=!1,c.diffs.push(new e.Diff(d,u)),u==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(u.length))}h=this.diff_text2(c.diffs),h=h.substring(h.length-this.Patch_Margin);var p=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&c.diffs[c.diffs.length-1][0]===r?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push(new e.Diff(r,p))),g||t.splice(++s,0,c)}}},e.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},e.prototype.patch_fromText=function(t){var o=[];if(!t)return o;var s=t.split("\n"),a=0,f=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;while(a<s.length){var l=s[a].match(f);if(!l)throw new Error("Invalid patch string: "+s[a]);var h=new e.patch_obj;o.push(h),h.start1=parseInt(l[1],10),""===l[2]?(h.start1--,h.length1=1):"0"==l[2]?h.length1=0:(h.start1--,h.length1=parseInt(l[2],10)),h.start2=parseInt(l[3],10),""===l[4]?(h.start2--,h.length2=1):"0"==l[4]?h.length2=0:(h.start2--,h.length2=parseInt(l[4],10)),a++;while(a<s.length){var c=s[a].charAt(0);try{var g=decodeURI(s[a].substring(1))}catch(d){throw new Error("Illegal escape in patch_fromText: "+g)}if("-"==c)h.diffs.push(new e.Diff(n,g));else if("+"==c)h.diffs.push(new e.Diff(i,g));else if(" "==c)h.diffs.push(new e.Diff(r,g));else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+g)}a++}}return o},e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},e.patch_obj.prototype.toString=function(){var t,e;t=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1,e=0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2;for(var o,s=["@@ -"+t+" +"+e+" @@\n"],a=0;a<this.diffs.length;a++){switch(this.diffs[a][0]){case i:o="+";break;case n:o="-";break;case r:o=" ";break}s[a+1]=o+encodeURI(this.diffs[a][1])+"\n"}return s.join("").replace(/%20/g," ")},t.exports=e,t.exports.diff_match_patch=e,t.exports.DIFF_DELETE=n,t.exports.DIFF_INSERT=i,t.exports.DIFF_EQUAL=r},6230:function(t,e,n){var i=n(2308);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var r=n(3514).Z;r("d4f0f0e8",i,!0,{sourceMap:!1,shadowMode:!1})},9793:function(t,e,n){var i=n(4066);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var r=n(3514).Z;r("e0a225b0",i,!0,{sourceMap:!1,shadowMode:!1})},8081:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});n(4115),n(634),n(8188),n(796),n(8673),n(6886),n(1372);var i=n(3511);function r(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,i.Z)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,f=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){f=!0,s=t},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(f)throw s}}}}}}]);
|
2
|
-
//# sourceMappingURL=661.js.map
|