openc3-cosmos-tool-admin 5.14.1 → 5.14.2
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/175.js +2 -0
- data/tools/admin/js/175.js.map +1 -0
- data/tools/admin/js/184.js +2 -0
- data/tools/admin/js/{267.js.map → 184.js.map} +1 -1
- data/tools/admin/js/192.js +2 -0
- data/tools/admin/js/192.js.map +1 -0
- data/tools/admin/js/{830.js → 252.js} +2 -2
- data/tools/admin/js/{830.js.map → 252.js.map} +1 -1
- data/tools/admin/js/304.js +2 -0
- data/tools/admin/js/{478.js.map → 304.js.map} +1 -1
- data/tools/admin/js/{876.js → 348.js} +2 -2
- data/tools/admin/js/{876.js.map → 348.js.map} +1 -1
- data/tools/admin/js/{837.js → 432.js} +3 -3
- data/tools/admin/js/{837.js.map → 432.js.map} +1 -1
- data/tools/admin/js/508.js +2 -0
- data/tools/admin/js/{540.js.map → 508.js.map} +1 -1
- data/tools/admin/js/532.js +2 -0
- data/tools/admin/js/{240.js.map → 532.js.map} +1 -1
- data/tools/admin/js/544.js +2 -0
- data/tools/admin/js/{713.js.map → 544.js.map} +1 -1
- data/tools/admin/js/632.js +2 -0
- data/tools/admin/js/{405.js.map → 632.js.map} +1 -1
- data/tools/admin/js/700.js +2 -0
- data/tools/admin/js/{162.js.map → 700.js.map} +1 -1
- data/tools/admin/js/{593.js → 796.js} +2 -2
- data/tools/admin/js/{593.js.map → 796.js.map} +1 -1
- data/tools/admin/js/808.js +2 -0
- data/tools/admin/js/808.js.map +1 -0
- data/tools/admin/js/812.js +2 -0
- data/tools/admin/js/{797.js.map → 812.js.map} +1 -1
- data/tools/admin/js/816.js +2 -0
- data/tools/admin/js/{388.js.map → 816.js.map} +1 -1
- data/tools/admin/js/864.js +2 -0
- data/tools/admin/js/864.js.map +1 -0
- data/tools/admin/js/924.js +2 -0
- data/tools/admin/js/{537.js.map → 924.js.map} +1 -1
- data/tools/admin/js/app.js +1 -1
- data/tools/admin/js/app.js.map +1 -1
- metadata +38 -38
- data/tools/admin/js/117.js +0 -2
- data/tools/admin/js/117.js.map +0 -1
- data/tools/admin/js/162.js +0 -2
- data/tools/admin/js/24.js +0 -2
- data/tools/admin/js/24.js.map +0 -1
- data/tools/admin/js/240.js +0 -2
- data/tools/admin/js/267.js +0 -2
- data/tools/admin/js/27.js +0 -2
- data/tools/admin/js/27.js.map +0 -1
- data/tools/admin/js/388.js +0 -2
- data/tools/admin/js/405.js +0 -2
- data/tools/admin/js/478.js +0 -2
- data/tools/admin/js/537.js +0 -2
- data/tools/admin/js/540.js +0 -2
- data/tools/admin/js/713.js +0 -2
- data/tools/admin/js/797.js +0 -2
- data/tools/admin/js/829.js +0 -2
- data/tools/admin/js/829.js.map +0 -1
data/tools/admin/js/24.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"js/24.js","mappings":"yKAwBA,MAAMA,EAAUC,eACdC,EACAC,GACA,KAAEC,EAAI,OAAEC,EAAS,CAAC,EAAC,QAAEC,EAAO,OAAEC,GAAS,EAAK,QAAEC,GAAU,GAAU,CAAC,GAEnE,IAAKD,EAAQ,CACX,IACE,IAAIE,QAAkBC,WAAWC,YAC/BD,WAAWE,oBAETH,GACFC,WAAWG,WAEf,CAAE,MAAOC,GACPJ,WAAWK,OACb,CACAT,EAAQ,iBAAmBU,aAAaC,WAC1C,CAIA,OAHKT,GAAYH,EAAO,WACtBA,EAAO,SAAWa,OAAOC,cAEpBC,EAAAA,EAAAA,GAAM,CACXlB,SACAC,MACAC,OACAC,SACAC,WAEJ,EAEMe,EAA2B,CAC/BC,OAAQ,oBAGJC,EAAqB,IACtBF,EACH,eAAgB,oBAGlB,GACEG,IAAK,SACHC,GACA,OAAEpB,EAAM,QAAEC,EAAUe,EAAwB,QAAEb,EAAO,OAAED,GAAW,CAAC,GAEnE,OAAOP,EAAQ,MAAOyB,EAAM,CAAEpB,SAAQC,UAASE,UAASD,UAC1D,EAEAmB,IAAK,SACHD,GACA,KAAErB,EAAI,OAAEC,E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AAwBU,EAAkB,OAAIC,EAAYlO,UAAU,GAAI,SAC/EmO,EAAO,IAAIL,EAAmBvP,EAAS4C,GACvCpF,EAAQ,IAAI8R,EAAMtP,GAItB,OAHAxC,EAAMoF,KAAOyM,EACbT,EAAegB,EAAM,QAASjB,EAAyB,EAAGO,EAAgB1R,EAAMqS,MAAO,KACvFd,EAAkBa,EAAMnP,KAAM+O,GACvBI,CACT,EAEIH,EAAwBD,EAAc/I,UAAY8I,EAAmB9I,UAErEqJ,EAAkB,UAAW,IAAIR,EAAMD,GACvCU,EAA0B,UAAW,IAAIR,EAAmB,EAAG,GAG/DS,EAAaT,GAAsBJ,GAAec,OAAOC,yBAAyBzB,EAAQY,GAI1Fc,IAAqBH,KAAgBA,EAAWI,UAAYJ,EAAWK,cAEvEC,EAAqBR,IAAoBK,IAAqBJ,EAIlEvB,EAAE,CAAEC,QAAQ,EAAM8B,aAAa,EAAMC,OAAQpB,GAAWkB,GAAsB,CAC5EG,aAAcH,EAAqBd,EAAgBD,IAGrD,IAAImB,EAAyBhC,EAAWW,GACpCsB,EAAkCD,EAAuBjK,UAE7D,GAAIkK,EAAgCJ,cAAgBG,EAKlD,IAAK,IAAI1O,KAJJoN,GACHR,EAAe+B,EAAiC,cAAehC,EAAyB,EAAG+B,IAG7EzB,EAAuB,GAAIJ,EAAOI,EAAuBjN,GAAM,CAC7E,IAAI4O,EAAW3B,EAAsBjN,GACjC6O,EAAeD,EAASjI,EACvBkG,EAAO6B,EAAwBG,IAClCjC,EAAe8B,EAAwBG,EAAclC,EAAyB,EAAGiC,EAAS7D,GAE9F,C","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?9d8b","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?ea7c","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?e05f","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?13bb","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?7193","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?23e7","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?40ce","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/dom-exception-constants.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/web.dom-exception.stack.js"],"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 // headers: {\n // 'Ignore-Errors': '404',\n // },\n // })\n if (\n error.response.config.headers['Ignore-Errors'] &&\n error.response.config.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'),_vm._v(\" \"),_c('span',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_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(\"\\n mdi-download\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Download \")])])],1)],1),_vm._v(\" \"),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[(!_vm.readonly)?_c('div',[_c('v-row',{staticClass:\"mt-3\"},[_vm._v(\" Upload a file. \")]),_vm._v(\" \"),_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(\"\\n Load\\n \")])],1),_vm._v(\" \"),_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(),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('pre',{ref:\"editor\",staticClass:\"editor\"})]),_vm._v(\" \"),_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)}})]),_vm._v(\" \"),_c('v-row',[_c('v-spacer'),_vm._v(\" \"),_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(\"\\n Cancel\\n \")]),_vm._v(\" \"),(!_vm.readonly)?_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"editSubmitBtn\",\"disabled\":!!_vm.error || _vm.readonly}},[_vm._v(\"\\n Save\\n \")]):_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=1692580e&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=1692580e&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 \"1692580e\",\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',{staticClass:\"list\",attrs:{\"data-test\":\"targetList\"}},_vm._l((_vm.targets),function(target){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))]),_vm._v(\" \"),_c('v-list-item-subtitle',[_vm._v(\"Plugin: \"+_vm._s(target.plugin))])],1),_vm._v(\" \"),_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(\"\\n mdi-download\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Download Target Modified Files\")])])],1):_vm._e(),_vm._v(\" \"),_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(\"\\n mdi-eye\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Show Target Details\")])])],1)],1),_vm._v(\" \"),_c('v-divider')],1)}),0),_vm._v(\" \"),(_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=31b3ed0c&scoped=true\"\nimport script from \"./TargetsTab.vue?vue&type=script&lang=js\"\nexport * from \"./TargetsTab.vue?vue&type=script&lang=js\"\nimport style0 from \"./TargetsTab.vue?vue&type=style&index=0&id=31b3ed0c&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 \"31b3ed0c\",\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/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(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,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 a([\"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(f.prototype),t.Mode=f}); (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-1692580e]{height:50vh;width:75vw;position:relative;font-size:16px}.v-textarea[data-v-1692580e] textarea{padding:5px}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\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, `.list[data-v-31b3ed0c]{background-color:var(--color-background-surface-default)!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=1692580e&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(\"8d3edd5e\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// 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!./TargetsTab.vue?vue&type=style&index=0&id=31b3ed0c&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(\"3d447cee\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","'use strict';\nmodule.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = new Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);\n\n// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it\n// https://github.com/Jarred-Sumner/bun/issues/399\nvar BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);\n\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n"],"names":["request","async","method","url","data","params","headers","noAuth","noScope","refreshed","OpenC3Auth","updateToken","defaultMinValidity","setTokens","error","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","vueInstance","Vue","axiosInstance","create","baseURL","location","origin","timeout","interceptors","response","use","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","then","config","includes","toString","Promise","reject","body","statusText","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","apply","arguments","_v","domProps","_s","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_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","plugin","modified","downloadTarget","showTarget","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","update","Api","JSON","stringify","decodedData","atob","contents","uInt8Array","Uint8Array","length","i","charCodeAt","filename","define","e","t","n","r","TextHighlightRules","s","$rules","start","token","regex","next","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","index","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","WorkerClient","$defaultBehaviour","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","require","m","module","exports","___CSS_LOADER_EXPORT___","push","id","__esModule","default","locals","add","IndexSizeError","c","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","SyntaxError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError","$","global","getBuiltIn","createPropertyDescriptor","defineProperty","hasOwn","anInstance","inheritIfRequired","normalizeStringArgument","DOMExceptionConstants","clearErrorStack","DESCRIPTORS","IS_PURE","DOM_EXCEPTION","Error","NativeDOMException","$DOMException","DOMExceptionPrototype","argumentsLength","undefined","that","stack","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","descriptor","Object","getOwnPropertyDescriptor","BUGGY_DESCRIPTOR","writable","configurable","FORCED_CONSTRUCTOR","constructor","forced","DOMException","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","constant","constantName"],"sourceRoot":""}
|
data/tools/admin/js/240.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[240],{9887:(e,t,r)=>{var n=r(6148),a=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new a("Incorrect invocation")}},4583:(e,t,r)=>{var n=r(4162),a=r(8724),i=r(298),s=r(4537),o=r(2407),h=r(1414),u=r(8344),l=r(3182),c=r(4406),f=r(8674),p=Array;e.exports=function(e){var t=i(e),r=h(this),v=arguments.length,g=v>1?arguments[1]:void 0,d=void 0!==g;d&&(g=n(g,v>2?arguments[2]:void 0));var m,w,y,b,k,P,U=f(t),S=0;if(!U||this===p&&o(U))for(m=u(t),w=r?new this(m):p(m);m>S;S++)P=d?g(t[S],S):t[S],l(w,S,P);else for(b=c(t,U),k=b.next,w=r?new this:[];!(y=a(k,b)).done;S++)P=d?s(b,g,[y.value,S],!0):y.value,l(w,S,P);return w.length=S,w}},7686:(e,t,r)=>{var n=r(9668);e.exports=n([].slice)},3097:(e,t,r)=>{var n=r(7686),a=Math.floor,i=function(e,t){var r=e.length;if(r<8){var s,o,h=1;while(h<r){o=h,s=e[h];while(o&&t(e[o-1],s)>0)e[o]=e[--o];o!==h++&&(e[o]=s)}}else{var u=a(r/2),l=i(n(e,0,u),t),c=i(n(e,u),t),f=l.length,p=c.length,v=0,g=0;while(v<f||g<p)e[v+g]=v<f&&g<p?t(l[v],c[g])<=0?l[v++]:c[g++]:v<f?l[v++]:c[g++]}return e};e.exports=i},4537:(e,t,r)=>{var n=r(9175),a=r(4774);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(s){a(e,"throw",s)}}},3182:(e,t,r)=>{var n=r(2358),a=r(2131),i=r(7781);e.exports=function(e,t,r){var s=n(t);s in e?a.f(e,s,i(0,r)):e[s]=r}},9393:(e,t,r)=>{var n=r(1135),a=r(2131);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),a.f(e,t,r)}},9700:(e,t,r)=>{var n=r(2470);e.exports=function(e,t,r){for(var a in t)n(e,a,t[a],r);return e}},4162:(e,t,r)=>{var n=r(5033),a=r(1052),i=r(6398),s=n(n.bind);e.exports=function(e,t){return a(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},5033:(e,t,r)=>{var n=r(2177),a=r(9668);e.exports=function(e){if("Function"===n(e))return a(e)}},8674:(e,t,r)=>{var n=r(1566),a=r(5383),i=r(5268),s=r(8515),o=r(2032),h=o("iterator");e.exports=function(e){if(!i(e))return a(e,h)||a(e,"@@iterator")||s[n(e)]}},4406:(e,t,r)=>{var n=r(8724),a=r(1052),i=r(9175),s=r(3397),o=r(8674),h=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(a(r))return i(n(r,e));throw new h(s(e)+" is not iterable")}},2407:(e,t,r)=>{var n=r(2032),a=r(8515),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||s[i]===e)}},4774:(e,t,r)=>{var n=r(8724),a=r(9175),i=r(5383);e.exports=function(e,t,r){var s,o;a(e);try{if(s=i(e,"return"),!s){if("throw"===t)throw r;return r}s=n(s,e)}catch(h){o=!0,s=h}if("throw"===t)throw r;if(o)throw s;return a(s),r}},2717:(e,t,r)=>{var n=r(9924),a=r(9668),i=r(8724),s=r(4694),o=r(1728),h=r(5168),u=r(8208),l=r(298),c=r(4347),f=Object.assign,p=Object.defineProperty,v=a([].concat);e.exports=!f||s((function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||o(f({},t)).join("")!==a}))?function(e,t){var r=l(e),a=arguments.length,s=1,f=h.f,p=u.f;while(a>s){var g,d=c(arguments[s++]),m=f?v(o(d),f(d)):o(d),w=m.length,y=0;while(w>y)g=m[y++],n&&!i(p,d,g)||(r[g]=d[g])}return r}:f},5725:(e,t,r)=>{var n=r(2150),a=r(9924),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!a)return n[e];var t=i(n,e);return t&&t.value}},4797:(e,t,r)=>{var n=r(9668),a=2147483647,i=36,s=1,o=26,h=38,u=700,l=72,c=128,f="-",p=/[^\0-\u007E]/,v=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",d=i-s,m=RangeError,w=n(v.exec),y=Math.floor,b=String.fromCharCode,k=n("".charCodeAt),P=n([].join),U=n([].push),S=n("".replace),R=n("".split),L=n("".toLowerCase),x=function(e){var t=[],r=0,n=e.length;while(r<n){var a=k(e,r++);if(a>=55296&&a<=56319&&r<n){var i=k(e,r++);56320===(64512&i)?U(t,((1023&a)<<10)+(1023&i)+65536):(U(t,a),r--)}else U(t,a)}return t},q=function(e){return e+22+75*(e<26)},H=function(e,t,r){var n=0;e=r?y(e/u):e>>1,e+=y(e/t);while(e>d*o>>1)e=y(e/d),n+=i;return y(n+(d+1)*e/(e+h))},B=function(e){var t=[];e=x(e);var r,n,h=e.length,u=c,p=0,v=l;for(r=0;r<e.length;r++)n=e[r],n<128&&U(t,b(n));var d=t.length,w=d;d&&U(t,f);while(w<h){var k=a;for(r=0;r<e.length;r++)n=e[r],n>=u&&n<k&&(k=n);var S=w+1;if(k-u>y((a-p)/S))throw new m(g);for(p+=(k-u)*S,u=k,r=0;r<e.length;r++){if(n=e[r],n<u&&++p>a)throw new m(g);if(n===u){var R=p,L=i;while(1){var B=L<=v?s:L>=v+o?o:L-v;if(R<B)break;var A=R-B,z=i-B;U(t,b(q(B+A%z))),R=y(A/z),L+=i}U(t,b(q(R))),v=H(p,S,w===d),p=0,w++}}p++,u++}return P(t,"")};e.exports=function(e){var t,r,n=[],a=R(S(L(e),v,"."),".");for(t=0;t<a.length;t++)r=a[t],U(n,w(p,r)?"xn--"+B(r):r);return P(n,".")}},7973:(e,t,r)=>{var n=r(4694),a=r(2032),i=r(9924),s=r(6555),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),r["delete"]("a",2),r["delete"]("b",void 0),s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},4051:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},9492:(e,t,r)=>{var n=r(7048).charAt,a=r(599),i=r(7804),s=r(8772),o=r(9374),h="String Iterator",u=i.set,l=i.getterFor(h);s(String,"String",(function(e){u(this,{type:h,string:a(e),index:0})}),(function(){var e,t=l(this),r=t.string,a=t.index;return a>=r.length?o(void 0,!0):(e=n(r,a),t.index+=e.length,o(e,!1))}))},5746:(e,t,r)=>{r(1211);var n=r(5532),a=r(2150),i=r(5725),s=r(8724),o=r(9668),h=r(9924),u=r(7973),l=r(2470),c=r(9393),f=r(9700),p=r(7495),v=r(5848),g=r(7804),d=r(9887),m=r(688),w=r(4678),y=r(4162),b=r(1566),k=r(9175),P=r(5309),U=r(599),S=r(8536),R=r(7781),L=r(4406),x=r(8674),q=r(9374),H=r(4051),B=r(2032),A=r(3097),z=B("iterator"),C="URLSearchParams",E=C+"Iterator",O=g.set,j=g.getterFor(C),I=g.getterFor(E),F=i("fetch"),_=i("Request"),T=i("Headers"),$=_&&_.prototype,M=T&&T.prototype,N=a.RegExp,Q=a.TypeError,D=a.decodeURIComponent,G=a.encodeURIComponent,J=o("".charAt),K=o([].join),V=o([].push),W=o("".replace),X=o([].shift),Y=o([].splice),Z=o("".split),ee=o("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=N("((?:%[\\da-f]{2}){"+e+"})","gi"))},ae=function(e){try{return D(e)}catch(t){return e}},ie=function(e){var t=W(e,te," "),r=4;try{return D(t)}catch(n){while(r)t=W(t,ne(r--),ae);return t}},se=/[!'()~]|%20/g,oe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},he=function(e){return oe[e]},ue=function(e){return W(G(e),se,he)},le=v((function(e,t){O(this,{type:E,target:j(e).entries,index:0,kind:t})}),C,(function(){var e=I(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,q(void 0,!0);var n=t[r];switch(e.kind){case"keys":return q(n.key,!1);case"values":return q(n.value,!1)}return q([n.key,n.value],!1)}),!0),ce=function(e){this.entries=[],this.url=null,void 0!==e&&(P(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===J(e,0)?ee(e,1):e:U(e)))};ce.prototype={type:C,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,i,o,h,u=this.entries,l=x(e);if(l){t=L(e,l),r=t.next;while(!(n=s(r,t)).done){if(a=L(k(n.value)),i=a.next,(o=s(i,a)).done||(h=s(i,a)).done||!s(i,a).done)throw new Q("Expected sequence with length 2");V(u,{key:U(o.value),value:U(h.value)})}}else for(var c in e)w(e,c)&&V(u,{key:c,value:U(e[c])})},parseQuery:function(e){if(e){var t,r,n=this.entries,a=Z(e,"&"),i=0;while(i<a.length)t=a[i++],t.length&&(r=Z(t,"="),V(n,{key:ie(X(r)),value:ie(K(r,"="))}))}},serialize:function(){var e,t=this.entries,r=[],n=0;while(n<t.length)e=t[n++],V(r,ue(e.key)+"="+ue(e.value));return K(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){d(this,pe);var e=arguments.length>0?arguments[0]:void 0,t=O(this,new ce(e));h||(this.size=t.entries.length)},pe=fe.prototype;if(f(pe,{append:function(e,t){var r=j(this);H(arguments.length,2),V(r.entries,{key:U(e),value:U(t)}),h||this.length++,r.updateURL()},delete:function(e){var t=j(this),r=H(arguments.length,1),n=t.entries,a=U(e),i=r<2?void 0:arguments[1],s=void 0===i?i:U(i),o=0;while(o<n.length){var u=n[o];if(u.key!==a||void 0!==s&&u.value!==s)o++;else if(Y(n,o,1),void 0!==s)break}h||(this.size=n.length),t.updateURL()},get:function(e){var t=j(this).entries;H(arguments.length,1);for(var r=U(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=j(this).entries;H(arguments.length,1);for(var r=U(e),n=[],a=0;a<t.length;a++)t[a].key===r&&V(n,t[a].value);return n},has:function(e){var t=j(this).entries,r=H(arguments.length,1),n=U(e),a=r<2?void 0:arguments[1],i=void 0===a?a:U(a),s=0;while(s<t.length){var o=t[s++];if(o.key===n&&(void 0===i||o.value===i))return!0}return!1},set:function(e,t){var r=j(this);H(arguments.length,1);for(var n,a=r.entries,i=!1,s=U(e),o=U(t),u=0;u<a.length;u++)n=a[u],n.key===s&&(i?Y(a,u--,1):(i=!0,n.value=o));i||V(a,{key:s,value:o}),h||(this.size=a.length),r.updateURL()},sort:function(){var e=j(this);A(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=j(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),a=0;while(a<r.length)t=r[a++],n(t.value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(pe,z,pe.entries,{name:"entries"}),l(pe,"toString",(function(){return j(this).serialize()}),{enumerable:!0}),h&&c(pe,"size",{get:function(){return j(this).entries.length},configurable:!0,enumerable:!0}),p(fe,C),n({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&m(T)){var ve=o(M.has),ge=o(M.set),de=function(e){if(P(e)){var t,r=e.body;if(b(r)===C)return t=e.headers?new T(e.headers):new T,ve(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:R(0,U(r)),headers:R(0,t)})}return e};if(m(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?de(arguments[1]):{})}}),m(_)){var me=function(e){return d(this,$),new _(e,arguments.length>1?de(arguments[1]):{})};$.constructor=me,me.prototype=$,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:fe,getState:j}},5850:(e,t,r)=>{var n=r(2470),a=r(9668),i=r(599),s=r(4051),o=URLSearchParams,h=o.prototype,u=a(h.append),l=a(h["delete"]),c=a(h.forEach),f=a([].push),p=new o("a=1&a=2&b=3");p["delete"]("a",1),p["delete"]("b",void 0),p+""!=="a=2"&&n(h,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=[];c(this,(function(e,t){f(n,{key:t,value:e})})),s(t,1);var a,o=i(e),h=i(r),p=0,v=0,g=!1,d=n.length;while(p<d)a=n[p++],g||a.key===o?(g=!0,l(this,a.key)):v++;while(v<d)a=n[v++],a.key===o&&a.value===h||u(this,a.key,a.value)}),{enumerable:!0,unsafe:!0})},3631:(e,t,r)=>{var n=r(2470),a=r(9668),i=r(599),s=r(4051),o=URLSearchParams,h=o.prototype,u=a(h.getAll),l=a(h.has),c=new o("a=1");!c.has("a",2)&&c.has("a",void 0)||n(h,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=u(this,e);s(t,1);var a=i(r),o=0;while(o<n.length)if(n[o++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},4163:(e,t,r)=>{r(5746)},1399:(e,t,r)=>{var n=r(9924),a=r(9668),i=r(9393),s=URLSearchParams.prototype,o=a(s.forEach);n&&!("size"in s)&&i(s,"size",{get:function(){var e=0;return o(this,(function(){e++})),e},configurable:!0,enumerable:!0})},8755:(e,t,r)=>{r(9492);var n,a=r(5532),i=r(9924),s=r(7973),o=r(2150),h=r(4162),u=r(9668),l=r(2470),c=r(9393),f=r(9887),p=r(4678),v=r(2717),g=r(4583),d=r(7686),m=r(7048).codeAt,w=r(4797),y=r(599),b=r(7495),k=r(4051),P=r(5746),U=r(7804),S=U.set,R=U.getterFor("URL"),L=P.URLSearchParams,x=P.getState,q=o.URL,H=o.TypeError,B=o.parseInt,A=Math.floor,z=Math.pow,C=u("".charAt),E=u(/./.exec),O=u([].join),j=u(1..toString),I=u([].pop),F=u([].push),_=u("".replace),T=u([].shift),$=u("".split),M=u("".slice),N=u("".toLowerCase),Q=u([].unshift),D="Invalid authority",G="Invalid scheme",J="Invalid host",K="Invalid port",V=/[a-z]/i,W=/[\d+-.a-z]/i,X=/\d/,Y=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,ae=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,se=/[\t\n\r]/g,oe=function(e){var t,r,n,a,i,s,o,h=$(e,".");if(h.length&&""===h[h.length-1]&&h.length--,t=h.length,t>4)return e;for(r=[],n=0;n<t;n++){if(a=h[n],""===a)return e;if(i=10,a.length>1&&"0"===C(a,0)&&(i=E(Y,a)?16:8,a=M(a,8===i?1:2)),""===a)s=0;else{if(!E(10===i?ee:8===i?Z:te,a))return e;s=B(a,i)}F(r,s)}for(n=0;n<t;n++)if(s=r[n],n===t-1){if(s>=z(256,5-t))return null}else if(s>255)return null;for(o=I(r),n=0;n<r.length;n++)o+=r[n]*z(256,3-n);return o},he=function(e){var t,r,n,a,i,s,o,h=[0,0,0,0,0,0,0,0],u=0,l=null,c=0,f=function(){return C(e,c)};if(":"===f()){if(":"!==C(e,1))return;c+=2,u++,l=u}while(f()){if(8===u)return;if(":"!==f()){t=r=0;while(r<4&&E(te,f()))t=16*t+B(f(),16),c++,r++;if("."===f()){if(0===r)return;if(c-=r,u>6)return;n=0;while(f()){if(a=null,n>0){if(!("."===f()&&n<4))return;c++}if(!E(X,f()))return;while(E(X,f())){if(i=B(f(),10),null===a)a=i;else{if(0===a)return;a=10*a+i}if(a>255)return;c++}h[u]=256*h[u]+a,n++,2!==n&&4!==n||u++}if(4!==n)return;break}if(":"===f()){if(c++,!f())return}else if(f())return;h[u++]=t}else{if(null!==l)return;c++,u++,l=u}}if(null!==l){s=u-l,u=7;while(0!==u&&s>0)o=h[u],h[u--]=h[l+s-1],h[l+--s]=o}else if(8!==u)return;return h},ue=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t},le=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Q(t,e%256),e=A(e/256);return O(t,".")}if("object"==typeof e){for(t="",n=ue(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=j(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ce={},fe=v({},ce,{" ":1,'"':1,"<":1,">":1,"`":1}),pe=v({},fe,{"#":1,"?":1,"{":1,"}":1}),ve=v({},pe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ge=function(e,t){var r=m(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},me=function(e,t){var r;return 2===e.length&&E(V,C(e,0))&&(":"===(r=C(e,1))||!t&&"|"===r)},we=function(e){var t;return e.length>1&&me(M(e,0,2))&&(2===e.length||"/"===(t=C(e,2))||"\\"===t||"?"===t||"#"===t)},ye=function(e){return"."===e||"%2e"===N(e)},be=function(e){return e=N(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ke={},Pe={},Ue={},Se={},Re={},Le={},xe={},qe={},He={},Be={},Ae={},ze={},Ce={},Ee={},Oe={},je={},Ie={},Fe={},_e={},Te={},$e={},Me=function(e,t,r){var n,a,i,s=y(e);if(t){if(a=this.parse(s),a)throw new H(a);this.searchParams=null}else{if(void 0!==r&&(n=new Me(r,!0)),a=this.parse(s,null,n),a)throw new H(a);i=x(new L),i.bindURL(this),this.searchParams=i}};Me.prototype={type:"URL",parse:function(e,t,r){var a,i,s,o,h=this,u=t||ke,l=0,c="",f=!1,v=!1,m=!1;e=y(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=_(e,ae,""),e=_(e,ie,"$1")),e=_(e,se,""),a=g(e);while(l<=a.length){switch(i=a[l],u){case ke:if(!i||!E(V,i)){if(t)return G;u=Ue;continue}c+=N(i),u=Pe;break;case Pe:if(i&&(E(W,i)||"+"===i||"-"===i||"."===i))c+=N(i);else{if(":"!==i){if(t)return G;c="",u=Ue,l=0;continue}if(t&&(h.isSpecial()!==p(de,c)||"file"===c&&(h.includesCredentials()||null!==h.port)||"file"===h.scheme&&!h.host))return;if(h.scheme=c,t)return void(h.isSpecial()&&de[h.scheme]===h.port&&(h.port=null));c="","file"===h.scheme?u=Ee:h.isSpecial()&&r&&r.scheme===h.scheme?u=Se:h.isSpecial()?u=qe:"/"===a[l+1]?(u=Re,l++):(h.cannotBeABaseURL=!0,F(h.path,""),u=_e)}break;case Ue:if(!r||r.cannotBeABaseURL&&"#"!==i)return G;if(r.cannotBeABaseURL&&"#"===i){h.scheme=r.scheme,h.path=d(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,u=$e;break}u="file"===r.scheme?Ee:Le;continue;case Se:if("/"!==i||"/"!==a[l+1]){u=Le;continue}u=He,l++;break;case Re:if("/"===i){u=Be;break}u=Fe;continue;case Le:if(h.scheme=r.scheme,i===n)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.query=r.query;else if("/"===i||"\\"===i&&h.isSpecial())u=xe;else if("?"===i)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.query="",u=Te;else{if("#"!==i){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.path.length--,u=Fe;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.query=r.query,h.fragment="",u=$e}break;case xe:if(!h.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,u=Fe;continue}u=Be}else u=He;break;case qe:if(u=He,"/"!==i||"/"!==C(c,l+1))continue;l++;break;case He:if("/"!==i&&"\\"!==i){u=Be;continue}break;case Be:if("@"===i){f&&(c="%40"+c),f=!0,s=g(c);for(var w=0;w<s.length;w++){var b=s[w];if(":"!==b||m){var k=ge(b,ve);m?h.password+=k:h.username+=k}else m=!0}c=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&h.isSpecial()){if(f&&""===c)return D;l-=g(c).length+1,c="",u=Ae}else c+=i;break;case Ae:case ze:if(t&&"file"===h.scheme){u=je;continue}if(":"!==i||v){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&h.isSpecial()){if(h.isSpecial()&&""===c)return J;if(t&&""===c&&(h.includesCredentials()||null!==h.port))return;if(o=h.parseHost(c),o)return o;if(c="",u=Ie,t)return;continue}"["===i?v=!0:"]"===i&&(v=!1),c+=i}else{if(""===c)return J;if(o=h.parseHost(c),o)return o;if(c="",u=Ce,t===ze)return}break;case Ce:if(!E(X,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&h.isSpecial()||t){if(""!==c){var P=B(c,10);if(P>65535)return K;h.port=h.isSpecial()&&P===de[h.scheme]?null:P,c=""}if(t)return;u=Ie;continue}return K}c+=i;break;case Ee:if(h.scheme="file","/"===i||"\\"===i)u=Oe;else{if(!r||"file"!==r.scheme){u=Fe;continue}switch(i){case n:h.host=r.host,h.path=d(r.path),h.query=r.query;break;case"?":h.host=r.host,h.path=d(r.path),h.query="",u=Te;break;case"#":h.host=r.host,h.path=d(r.path),h.query=r.query,h.fragment="",u=$e;break;default:we(O(d(a,l),""))||(h.host=r.host,h.path=d(r.path),h.shortenPath()),u=Fe;continue}}break;case Oe:if("/"===i||"\\"===i){u=je;break}r&&"file"===r.scheme&&!we(O(d(a,l),""))&&(me(r.path[0],!0)?F(h.path,r.path[0]):h.host=r.host),u=Fe;continue;case je:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&me(c))u=Fe;else if(""===c){if(h.host="",t)return;u=Ie}else{if(o=h.parseHost(c),o)return o;if("localhost"===h.host&&(h.host=""),t)return;c="",u=Ie}continue}c+=i;break;case Ie:if(h.isSpecial()){if(u=Fe,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(u=Fe,"/"!==i))continue}else h.fragment="",u=$e;else h.query="",u=Te;break;case Fe:if(i===n||"/"===i||"\\"===i&&h.isSpecial()||!t&&("?"===i||"#"===i)){if(be(c)?(h.shortenPath(),"/"===i||"\\"===i&&h.isSpecial()||F(h.path,"")):ye(c)?"/"===i||"\\"===i&&h.isSpecial()||F(h.path,""):("file"===h.scheme&&!h.path.length&&me(c)&&(h.host&&(h.host=""),c=C(c,0)+":"),F(h.path,c)),c="","file"===h.scheme&&(i===n||"?"===i||"#"===i))while(h.path.length>1&&""===h.path[0])T(h.path);"?"===i?(h.query="",u=Te):"#"===i&&(h.fragment="",u=$e)}else c+=ge(i,pe);break;case _e:"?"===i?(h.query="",u=Te):"#"===i?(h.fragment="",u=$e):i!==n&&(h.path[0]+=ge(i,ce));break;case Te:t||"#"!==i?i!==n&&("'"===i&&h.isSpecial()?h.query+="%27":h.query+="#"===i?"%23":ge(i,ce)):(h.fragment="",u=$e);break;case $e:i!==n&&(h.fragment+=ge(i,fe));break}l++}},parseHost:function(e){var t,r,n;if("["===C(e,0)){if("]"!==C(e,e.length-1))return J;if(t=he(M(e,1,-1)),!t)return J;this.host=t}else if(this.isSpecial()){if(e=w(e),E(re,e))return J;if(t=oe(e),null===t)return J;this.host=t}else{if(E(ne,e))return J;for(t="",r=g(e),n=0;n<r.length;n++)t+=ge(r[n],ce);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(de,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&me(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,s=e.path,o=e.query,h=e.fragment,u=t+":";return null!==a?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=le(a),null!==i&&(u+=":"+i)):"file"===t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+O(s,"/"):"",null!==o&&(u+="?"+o),null!==h&&(u+="#"+h),u},setHref:function(e){var t=this.parse(e);if(t)throw new H(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ne(e.path[0]).origin}catch(r){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+le(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(y(e)+":",ke)},getUsername:function(){return this.username},setUsername:function(e){var t=g(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ge(t[r],ve)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ge(t[r],ve)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?le(e):le(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":le(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ze)},getPort:function(){var e=this.port;return null===e?"":y(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=y(e),""===e?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+O(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ie))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=y(e),""===e?this.query=null:("?"===C(e,0)&&(e=M(e,1)),this.query="",this.parse(e,Te)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=y(e),""!==e?("#"===C(e,0)&&(e=M(e,1)),this.fragment="",this.parse(e,$e)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ne=function(e){var t=f(this,Qe),r=k(arguments.length,1)>1?arguments[1]:void 0,n=S(t,new Me(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Qe=Ne.prototype,De=function(e,t){return{get:function(){return R(this)[e]()},set:t&&function(e){return R(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(c(Qe,"href",De("serialize","setHref")),c(Qe,"origin",De("getOrigin")),c(Qe,"protocol",De("getProtocol","setProtocol")),c(Qe,"username",De("getUsername","setUsername")),c(Qe,"password",De("getPassword","setPassword")),c(Qe,"host",De("getHost","setHost")),c(Qe,"hostname",De("getHostname","setHostname")),c(Qe,"port",De("getPort","setPort")),c(Qe,"pathname",De("getPathname","setPathname")),c(Qe,"search",De("getSearch","setSearch")),c(Qe,"searchParams",De("getSearchParams")),c(Qe,"hash",De("getHash","setHash"))),l(Qe,"toJSON",(function(){return R(this).serialize()}),{enumerable:!0}),l(Qe,"toString",(function(){return R(this).serialize()}),{enumerable:!0}),q){var Ge=q.createObjectURL,Je=q.revokeObjectURL;Ge&&l(Ne,"createObjectURL",h(Ge,q)),Je&&l(Ne,"revokeObjectURL",h(Je,q))}b(Ne,"URL"),a({global:!0,constructor:!0,forced:!s,sham:!i},{URL:Ne})},1629:(e,t,r)=>{r(8755)}}]);
|
2
|
-
//# sourceMappingURL=240.js.map
|
data/tools/admin/js/267.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[267],{6129:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(9373);const i=async function(e,t,{data:o,params:i={},headers:s,noAuth:r=!1,noScope:a=!1}={}){if(!r){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(c){OpenC3Auth.login()}s["Authorization"]=localStorage.openc3Token}return a||i["scope"]||(i["scope"]=window.openc3Scope),(0,n.Z)({method:e,url:t,data:o,params:i,headers:s})},s={Accept:"application/json"},r={...s,"Content-Type":"application/json"},a={get:function(e,{params:t,headers:o=s,noScope:n,noAuth:r}={}){return i("get",e,{params:t,headers:o,noScope:n,noAuth:r})},put:function(e,{data:t,params:o,headers:n=r,noScope:s,noAuth:a}={}){return i("put",e,{data:t,params:o,headers:n,noScope:s,noAuth:a})},post:function(e,{data:t,params:o,headers:n=r,noScope:s,noAuth:a}={}){return i("post",e,{data:t,params:o,headers:n,noScope:s,noAuth:a})},delete:function(e,{params:t,headers:o=s,noScope:n,noAuth:r}={}){return i("delete",e,{params:t,headers:o,noScope:n,noAuth:r})}}},9373:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(162),i=o(4091);const s=new i["default"],r=n.Z.create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((e=>e),(e=>{if(e.response){var t,o,n,i,r;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let c=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(c+=`${e.response.statusText} `),null!==(o=e.response)&&void 0!==o&&null!==(o=o.config)&&void 0!==o&&o.data&&(c+=`${e.response.config.data} `),null!==(n=e.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.message)c+=`${e.response.data.message}`;else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&i.exception)c+=`${e.response.data.exception}`;else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(c+=`${e.response.data.error.class} `),c+=`${e.response.data.error.message}`;else{var a;c+=`${null===(a=e.response)||void 0===a?void 0:a.data}`}throw s.$notify&&s.$notify.serious({title:"Network error",body:c}),e}throw e}));const a=r},1040:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=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"),e._v(" "),t("span",{domProps:{textContent:e._s(e.title)}}),e._v(" "),t("v-spacer"),e._v(" "),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function({on:o,attrs:n}){return[t("div",e._g(e._b({},"div",n,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v("\n mdi-download\n ")])],1)]}}])},[e._v(" "),t("span",[e._v(" Download ")])])],1)],1),e._v(" "),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. ")]),e._v(" "),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("\n Load\n ")])],1),e._v(" "),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),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),e._v(" "),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)}})]),e._v(" "),t("v-row",[t("v-spacer"),e._v(" "),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("\n Cancel\n ")]),e._v(" "),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("\n Save\n ")])],1)],1)])],1)])],1)},i=[],s=(o(309),o(1629),o(4163),o(5850),o(3631),o(1399),o(5095));o(5343),o(8367),o(419),o(3923),o(2375);const r={props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data(){return{editor:null}},mounted(){const e=this.buildPluginMode();this.editor=s.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(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.value},set(e){this.$emit("input",e)}},title:function(){return`${this.type}: ${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(){const e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`),t.click()},buildPluginMode(){var e=s.require("ace/lib/oop"),t=s.require("ace/mode/json_highlight_rules").JsonHighlightRules,o=s.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,n=s.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=s.require("ace/mode/folding/ruby").FoldMode,r=function(){this.HighlightRules=t,this.$outdent=new o,this.$behaviour=new n,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},a=s.require("ace/mode/ruby").Mode;return e.inherits(r,a),function(){this.$id="ace/mode/openc3"}.call(r.prototype),r}}},a=r;o(5925);var c=o(3483),l=(0,c.Z)(a,n,i,!1,null,"1692580e",null);const d=l.exports},1267:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>w});var n=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{staticClass:"list",attrs:{"data-test":"microserviceList"}},e._l(e.microservices,(function(o){return t("div",{key:o},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(o))]),e._v(" "),e.microservice_status[o]?t("v-list-item-subtitle",[e._v("\n Updated:\n "+e._s(e.formatDate(e.microservice_status[o].updated_at))+",\n State: "+e._s(e.microservice_status[o].state)+", Count:\n "+e._s(e.microservice_status[o].count)+"\n ")]):e._e()],1),e._v(" "),e.microservice_status[o]?t("div",[t("div",{directives:[{name:"show",rawName:"v-show",value:!!e.microservice_status[o].error,expression:"!!microservice_status[microservice].error"}]},[t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:i}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showMicroserviceError(o)}}},"v-icon",i,!1),n),[e._v("\n mdi-alert\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("View Error")])])],1)],1)]):e._e(),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:i}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showMicroservice(o)}}},"v-icon",i,!1),n),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("View Microservice")])])],1)],1),e._v(" "),t("v-divider")],1)})),0),e._v(" "),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Microservice",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e(),e._v(" "),e.showError?t("text-box-dialog",{attrs:{text:e.jsonContent,title:e.dialogTitle},model:{value:e.showError,callback:function(t){e.showError=t},expression:"showError"}}):e._e()],1)},i=[],s=o(7388),r=o(6700),a=o(6129),c=o(1040),l=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{width:"600"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("v-system-bar",[t("v-spacer"),e._v(" "),t("span",[e._v(" "+e._s(e.title)+" ")]),e._v(" "),t("v-spacer"),e._v(" "),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function({on:o,attrs:n}){return[t("div",e._g(e._b({},"div",n,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v("\n mdi-download\n ")])],1)]}}])},[e._v(" "),t("span",[e._v(" Download ")])])],1)],1),e._v(" "),t("div",{staticClass:"pa-2"},[t("v-card-text",[t("v-textarea",{attrs:{readonly:"",rows:"15","data-test":"dialogText"},model:{value:e.dialogText,callback:function(t){e.dialogText=t},expression:"dialogText"}})],1)],1),e._v(" "),t("v-card-actions",[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(t){e.show=!e.show}}},[e._v(" Ok ")])],1)],1)],1)},d=[];o(309),o(1629),o(4163),o(5850),o(3631),o(1399);const u={props:{value:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get(){return this.value},set(e){this.$emit("input",e)}}},methods:{download:function(){const e=new Blob([this.dialogText],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.title}__error.txt`),t.click()}}},h=u;var v=o(3483),g=(0,v.Z)(h,l,d,!1,null,null,null);const p=g.exports,m={components:{EditDialog:c.Z,TextBoxDialog:p},data(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1}},mounted(){this.update()},methods:{update:function(){a.Z.get("/openc3-api/microservice_status/all").then((e=>{this.microservice_status=e.data})),a.Z.get("/openc3-api/microservices").then((e=>{this.microservices=e.data}))},showMicroservice:function(e){a.Z.get(`/openc3-api/microservices/${e}`).then((t=>{this.microservice_id=e,this.dialogTitle=e,this.jsonContent=JSON.stringify(t.data,null,"\t"),this.showDialog=!0}))},showMicroserviceError:function(e){this.dialogTitle=e;const t=this.microservice_status[e].error;this.jsonContent=JSON.stringify(t,null,"\t"),this.showError=!0},formatDate(e){return(0,s.Z)((0,r.Z)(parseInt(e)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(e){if(this.showDialog=!1,null!==e){let t=JSON.parse(e),o="put",n=`/openc3-api/microservices/${this.microservice_id}`;t["name"]!==this.microservice_id&&(o="post",n="/openc3-api/microservices"),a.Z[o](n,{data:{json:e}}).then((e=>{this.alert="Modified Microservice",this.alertType="success",this.showAlert=!0,setTimeout((()=>{this.showAlert=!1}),5e3),this.update()}))}}}},f=m;o(1946);var _=(0,v.Z)(f,n,i,!1,null,"fba5ac58",null);const w=_.exports},8367:(e,t,o)=>{e=o.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,o){"use strict";var n=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"}]}};n.inherits(s,i),t.JsonHighlightRules=s})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,o){"use strict";var n=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var o=e.getLine(t),i=o.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,r=e.findMatchingBracket({row:t,column:s});if(!r||r.row==t)return 0;var a=this.$getIndent(e.getLine(r.row));e.replace(new n(t,0,t,s-1),a)},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,o){"use strict";var n=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,r=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)))};n.inherits(r,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,o){var n=e.getLine(o);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var i=this._getFoldWidgetBase(e,t,o);return!i&&this.startRegionRe.test(n)?"start":i},this.getFoldWidgetRange=function(e,t,o,n){var i=e.getLine(o);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,o);var s=i.match(this.foldingStartMarker);if(s){var r=s.index;if(s[1])return this.openingBracketBlock(e,s[1],o,r);var a=e.getCommentFoldRange(o,r+s[0].length,1);return a&&!a.isMultiLine()&&(n?a=this.getSectionRange(e,o):"all"!=t&&(a=null)),a}if("markbegin"!==t){s=i.match(this.foldingStopMarker);if(s){r=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],o,r):e.getCommentFoldRange(o,r,-1)}}},this.getSectionRange=function(e,t){var o=e.getLine(t),n=o.search(/\S/),s=t,r=o.length;t+=1;var a=t,c=e.getLength();while(++t<c){o=e.getLine(t);var l=o.search(/\S/);if(-1!==l){if(n>l)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=s)break;if(d.isMultiLine())t=d.end.row;else if(n==l)break}a=t}}return new i(s,r,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,o){var n=t.search(/\s*$/),s=e.getLength(),r=o,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;while(++o<s){t=e.getLine(o);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}var d=o;if(d>r)return new i(r,n,d,t.length)}}.call(r.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/folding/cstyle","ace/worker/worker_client"],(function(e,t,o){"use strict";var n=e("../lib/oop"),i=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,r=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,c=e("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=s,this.$outdent=new r,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};n.inherits(l,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,o){var n=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(n+=o)}return n},this.checkOutdent=function(e,t,o){return this.$outdent.checkOutdent(t,o)},this.autoOutdent=function(e,t,o){this.$outdent.autoOutdent(t,o)},this.createWorker=function(e){var t=new c(["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(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},1999:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(9601),i=o.n(n),s=o(2609),r=o.n(s),a=r()(i());a.push([e.id,".editor[data-v-1692580e]{height:50vh;width:75vw;position:relative;font-size:16px}.v-textarea[data-v-1692580e] textarea{padding:5px}",""]);const c=a},6248:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(9601),i=o.n(n),s=o(2609),r=o.n(s),a=r()(i());a.push([e.id,".list[data-v-fba5ac58]{background-color:var(--color-background-surface-default)!important}",""]);const c=a},5925:(e,t,o)=>{var n=o(1999);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=o(3514).Z;i("8d3edd5e",n,!0,{sourceMap:!1,shadowMode:!1})},1946:(e,t,o)=>{var n=o(6248);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=o(3514).Z;i("7eacaf62",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
-
//# sourceMappingURL=267.js.map
|
data/tools/admin/js/27.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[27],{6129:(e,t,s)=>{s.d(t,{Z:()=>l});var a=s(9373);const o=async function(e,t,{data:s,params:o={},headers:n,noAuth:r=!1,noScope:l=!1}={}){if(!r){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(i){OpenC3Auth.login()}n["Authorization"]=localStorage.openc3Token}return l||o["scope"]||(o["scope"]=window.openc3Scope),(0,a.Z)({method:e,url:t,data:s,params:o,headers:n})},n={Accept:"application/json"},r={...n,"Content-Type":"application/json"},l={get:function(e,{params:t,headers:s=n,noScope:a,noAuth:r}={}){return o("get",e,{params:t,headers:s,noScope:a,noAuth:r})},put:function(e,{data:t,params:s,headers:a=r,noScope:n,noAuth:l}={}){return o("put",e,{data:t,params:s,headers:a,noScope:n,noAuth:l})},post:function(e,{data:t,params:s,headers:a=r,noScope:n,noAuth:l}={}){return o("post",e,{data:t,params:s,headers:a,noScope:n,noAuth:l})},delete:function(e,{params:t,headers:s=n,noScope:a,noAuth:r}={}){return o("delete",e,{params:t,headers:s,noScope:a,noAuth:r})}}},9373:(e,t,s)=>{s.d(t,{Z:()=>l});var a=s(162),o=s(4091);const n=new o["default"],r=a.Z.create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((e=>e),(e=>{if(e.response){var t,s,a,o,r;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let i=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(i+=`${e.response.statusText} `),null!==(s=e.response)&&void 0!==s&&null!==(s=s.config)&&void 0!==s&&s.data&&(i+=`${e.response.config.data} `),null!==(a=e.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&a.message)i+=`${e.response.data.message}`;else if(null!==(o=e.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.exception)i+=`${e.response.data.exception}`;else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(i+=`${e.response.data.error.class} `),i+=`${e.response.data.error.message}`;else{var l;i+=`${null===(l=e.response)||void 0===l?void 0:l.data}`}throw n.$notify&&n.$notify.serious({title:"Network error",body:i}),e}throw e}));const l=r},3027:(e,t,s)=>{s.r(t),s.d(t,{default:()=>u});var a=function(){var e=this,t=e._self._c;return t("div",[t("v-row",{attrs:{"no-gutters":""}},[t("v-col",[t("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:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1),e._v(" "),t("v-row",{staticStyle:{"padding-left":"10px"},attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-text-field",{staticClass:"px-2",attrs:{label:"Secret Name"},model:{value:e.secretName,callback:function(t){e.secretName=t},expression:"secretName"}})],1),e._v(" "),t("v-col",{staticClass:"px-2",attrs:{cols:"3"}},[t("v-text-field",{attrs:{disabled:e.file,label:"Secret Value"},model:{value:e.secretValue,callback:function(t){e.secretValue=t},expression:"secretValue"}})],1),e._v(" "),t("v-col",{staticClass:"px-2",attrs:{cols:"3"}},[t("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"secretUpload",disabled:""===e.secretName||null==e.file&&""===e.secretValue,loading:e.loadingSecret},on:{click:function(t){return e.upload()}},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}])},[t("v-icon",{attrs:{left:"",dark:""}},[e._v("mdi-cloud-upload")]),e._v(" "),t("span",[e._v(" Set ")])],1)],1)],1),e._v(" "),t("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:e.alertType},model:{value:e.showAlert,callback:function(t){e.showAlert=t},expression:"showAlert"}},[e._v(e._s(e.alert))]),e._v(" "),t("v-list",{attrs:{"data-test":"secretList"}},e._l(e.secrets,(function(s,a){return t("div",{key:a},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(s))])],1),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:a,attrs:o}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.deleteSecret(s)}}},"v-icon",o,!1),a),[e._v("\n mdi-delete\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Delete Secret")])])],1)],1),e._v(" "),a<e.secrets.length-1?t("v-divider",{key:a}):e._e()],1)})),0)],1)},o=[],n=s(6129);const r={data(){return{file:null,loadingSecret:!1,secrets:[],secretName:"",secretValue:"",alert:"",alertType:"success",showAlert:!1}},mounted(){this.update()},methods:{update(){n.Z.get("/openc3-api/secrets").then((e=>{this.secrets=e.data}))},upload:function(){this.loadingSecret=!0;let e=null;if(this.file){const t=new FormData;t.append("file",this.file,this.file.name),e=n.Z.post(`/openc3-api/secrets/${this.secretName}`,{data:t,headers:{"Content-Type":"multipart/form-data"}})}else e=n.Z.post(`/openc3-api/secrets/${this.secretName}`,{data:{value:this.secretValue}});e.then((e=>{this.loadingSecret=!1,this.file=null,this.secretName="",this.secretValue="",this.update()})).catch((e=>{this.loadingSecret=!1}))},deleteSecret:function(e){this.$dialog.confirm(`Are you sure you want to remove: ${e}`,{okText:"Delete",cancelText:"Cancel"}).then((function(t){return n.Z.delete(`/openc3-api/secrets/${e}`)})).then((t=>{this.alert=`Removed secret ${e}`,this.alertType="success",this.showAlert=!0,setTimeout((()=>{this.showAlert=!1}),5e3),this.update()}))}}},l=r;var i=s(3483),c=(0,i.Z)(l,a,o,!1,null,null,null);const u=c.exports}}]);
|
2
|
-
//# sourceMappingURL=27.js.map
|
data/tools/admin/js/27.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"js/27.js","mappings":"yKAwBA,MAAMA,EAAUC,eACdC,EACAC,GACA,KAAEC,EAAI,OAAEC,EAAS,CAAC,EAAC,QAAEC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AAAC,YAAA,GACA,KAAAyB,QAAA,IAEAQ,OAAAjG,IACA,KAAAiE,eAAA,IAEA,EACAmB,aAAA,SAAAJ,GACA,KAAAkB,QACAC,QAAA,oCAAAnB,IAAA,CACAoB,OAAA,SACAC,WAAA,WAEArE,MAAA,SAAAsE,GACA,OAAAX,EAAAA,EAAA7E,OAAA,uBAAAkE,IACA,IACAhD,MAAAR,IACA,KAAAqD,MAAA,kBAAAG,IACA,KAAAN,UAAA,UACA,KAAAC,WAAA,EACA4B,YAAA,KACA,KAAA5B,WAAA,IACA,KACA,KAAAc,QAAA,GAEA,IClKgU,I,cCO5Te,GAAY,OACd,EACAzD,EACAwC,GACA,EACA,KACA,KACA,MAIF,QAAeiB,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?b2bb","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 // headers: {\n // 'Ignore-Errors': '404',\n // },\n // })\n if (\n error.response.config.headers['Ignore-Errors'] &&\n error.response.config.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),_vm._v(\" \"),_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),_vm._v(\" \"),_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),_vm._v(\" \"),_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\")]),_vm._v(\" \"),_c('span',[_vm._v(\" Set \")])],1)],1)],1),_vm._v(\" \"),_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))]),_vm._v(\" \"),_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),_vm._v(\" \"),_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(\"\\n mdi-delete\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Delete Secret\")])])],1)],1),_vm._v(\" \"),(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=c9f56912\"\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","async","method","url","data","params","headers","noAuth","noScope","refreshed","OpenC3Auth","updateToken","defaultMinValidity","setTokens","error","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","vueInstance","Vue","axiosInstance","create","baseURL","location","origin","timeout","interceptors","response","use","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","then","config","includes","toString","Promise","reject","body","statusText","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","ref","staticClass","model","value","file","callback","$$v","expression","_v","staticStyle","secretName","secretValue","loadingSecret","on","$event","upload","scopedSlots","_u","key","fn","proxy","alertType","showAlert","_s","alert","_l","secrets","secret","index","_g","_b","deleteSecret","length","_e","staticRenderFns","mounted","update","methods","Api","promise","formData","FormData","append","name","catch","$dialog","confirm","okText","cancelText","dialog","setTimeout","component"],"sourceRoot":""}
|
data/tools/admin/js/388.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[388],{9785:(t,e,n)=>{function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{Z:()=>r})},7388:(t,e,n)=>{n.d(e,{Z:()=>Ft});var r=n(6259),a=n(9785);function i(t){return(0,a.Z)(1,arguments),t instanceof Date||"object"===(0,r.Z)(t)&&"[object Date]"===Object.prototype.toString.call(t)}var o=n(6700);function u(t){if((0,a.Z)(1,arguments),!i(t)&&"number"!==typeof t)return!1;var e=(0,o.Z)(t);return!isNaN(Number(e))}function s(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function d(t,e){(0,a.Z)(2,arguments);var n=(0,o.Z)(t).getTime(),r=s(e);return new Date(n+r)}function c(t,e){(0,a.Z)(2,arguments);var n=s(e);return d(t,-n)}var l=864e5;function h(t){(0,a.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),i=n-r;return Math.floor(i/l)+1}function f(t){(0,a.Z)(1,arguments);var e=1,n=(0,o.Z)(t),r=n.getUTCDay(),i=(r<e?7:0)+r-e;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function m(t){(0,a.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=f(r),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var s=f(u);return e.getTime()>=i.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function g(t){(0,a.Z)(1,arguments);var e=m(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=f(n);return r}var v=6048e5;function w(t){(0,a.Z)(1,arguments);var e=(0,o.Z)(t),n=f(e).getTime()-g(e).getTime();return Math.round(n/v)+1}var b={};function y(){return b}function p(t,e){var n,r,i,u,d,c,l,h;(0,a.Z)(1,arguments);var f=y(),m=s(null!==(n=null!==(r=null!==(i=null!==(u=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==u?u:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:f.weekStartsOn)&&void 0!==r?r:null===(l=f.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,o.Z)(t),v=g.getUTCDay(),w=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-w),g.setUTCHours(0,0,0,0),g}function T(t,e){var n,r,i,u,d,c,l,h;(0,a.Z)(1,arguments);var f=(0,o.Z)(t),m=f.getUTCFullYear(),g=y(),v=s(null!==(n=null!==(r=null!==(i=null!==(u=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==u?u:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==i?i:g.firstWeekContainsDate)&&void 0!==r?r:null===(l=g.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(m+1,0,v),w.setUTCHours(0,0,0,0);var b=p(w,e),T=new Date(0);T.setUTCFullYear(m,0,v),T.setUTCHours(0,0,0,0);var C=p(T,e);return f.getTime()>=b.getTime()?m+1:f.getTime()>=C.getTime()?m:m-1}function C(t,e){var n,r,i,o,u,d,c,l;(0,a.Z)(1,arguments);var h=y(),f=s(null!==(n=null!==(r=null!==(i=null!==(o=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==o?o:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==i?i:h.firstWeekContainsDate)&&void 0!==r?r:null===(c=h.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1),m=T(t,e),g=new Date(0);g.setUTCFullYear(m,0,f),g.setUTCHours(0,0,0,0);var v=p(g,e);return v}var M=6048e5;function k(t,e){(0,a.Z)(1,arguments);var n=(0,o.Z)(t),r=p(n,e).getTime()-C(n,e).getTime();return Math.round(r/M)+1}function D(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}var x={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return D("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):D(n+1,2)},d:function(t,e){return D(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return D(t.getUTCHours()%12||12,e.length)},H:function(t,e){return D(t.getUTCHours(),e.length)},m:function(t,e){return D(t.getUTCMinutes(),e.length)},s:function(t,e){return D(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),a=Math.floor(r*Math.pow(10,n-3));return D(a,e.length)}};const P=x;var U={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},S={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return P.y(t,e)},Y:function(t,e,n,r){var a=T(t,r),i=a>0?a:1-a;if("YY"===e){var o=i%100;return D(o,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):D(i,e.length)},R:function(t,e){var n=m(t);return D(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return D(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return D(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return D(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return P.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return D(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var a=k(t,r);return"wo"===e?n.ordinalNumber(a,{unit:"week"}):D(a,e.length)},I:function(t,e,n){var r=w(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):D(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):P.d(t,e)},D:function(t,e,n){var r=h(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):D(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return D(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return D(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return D(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),a=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?U.noon:0===a?U.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a>=17?U.evening:a>=12?U.afternoon:a>=4?U.morning:U.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return P.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):P.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):D(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):D(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):P.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):P.s(t,e)},S:function(t,e){return P.S(t,e)},X:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return Y(i);case"XXXX":case"XX":return E(i);case"XXXXX":case"XXX":default:return E(i,":")}},x:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"x":return Y(i);case"xxxx":case"xx":return E(i);case"xxxxx":case"xxx":default:return E(i,":")}},O:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+W(i,":");case"OOOO":default:return"GMT"+E(i,":")}},z:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+W(i,":");case"zzzz":default:return"GMT"+E(i,":")}},t:function(t,e,n,r){var a=r._originalDate||t,i=Math.floor(a.getTime()/1e3);return D(i,e.length)},T:function(t,e,n,r){var a=r._originalDate||t,i=a.getTime();return D(i,e.length)}};function W(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(0===i)return n+String(a);var o=e||"";return n+String(a)+o+D(i,2)}function Y(t,e){if(t%60===0){var n=t>0?"-":"+";return n+D(Math.abs(t)/60,2)}return E(t,e)}function E(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t),i=D(Math.floor(a/60),2),o=D(a%60,2);return r+i+n+o}const O=S;var N=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},q=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Z=function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return N(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",N(a,e)).replace("{{time}}",q(i,e))},H={p:q,P:Z};const z=H;function F(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var L=["D","DD"],X=["YY","YYYY"];function j(t){return-1!==L.indexOf(t)}function Q(t){return-1!==X.indexOf(t)}function G(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var B={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},A=function(t,e,n){var r,a=B[t];return r="string"===typeof a?a:1===e?a.one:a.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};const _=A;function R(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var J={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},I={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},V={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K={date:R({formats:J,defaultWidth:"full"}),time:R({formats:I,defaultWidth:"full"}),dateTime:R({formats:V,defaultWidth:"full"})};const $=K;var tt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},et=function(t,e,n,r){return tt[t]};const nt=et;function rt(t){return function(e,n){var r,a=null!==n&&void 0!==n&&n.context?String(n.context):"standalone";if("formatting"===a&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):i;r=t.formattingValues[o]||t.formattingValues[i]}else{var u=t.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[s]||t.values[u]}var d=t.argumentCallback?t.argumentCallback(e):e;return r[d]}}var at={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},it={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ot={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ut={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},st={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},dt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ct=function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},lt={ordinalNumber:ct,era:rt({values:at,defaultWidth:"wide"}),quarter:rt({values:it,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:rt({values:ot,defaultWidth:"wide"}),day:rt({values:ut,defaultWidth:"wide"}),dayPeriod:rt({values:st,defaultWidth:"wide",formattingValues:dt,defaultFormattingWidth:"wide"})};const ht=lt;function ft(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o,u=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?gt(s,(function(t){return t.test(u)})):mt(s,(function(t){return t.test(u)}));o=t.valueCallback?t.valueCallback(d):d,o=n.valueCallback?n.valueCallback(o):o;var c=e.slice(u.length);return{value:o,rest:c}}}function mt(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function gt(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function vt(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var a=r[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var u=e.slice(a.length);return{value:o,rest:u}}}var wt=/^(\d+)(th|st|nd|rd)?/i,bt=/\d+/i,yt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},pt={any:[/^b/i,/^(a|c)/i]},Tt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ct={any:[/1/i,/2/i,/3/i,/4/i]},Mt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},kt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Dt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Pt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ut={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},St={ordinalNumber:vt({matchPattern:wt,parsePattern:bt,valueCallback:function(t){return parseInt(t,10)}}),era:ft({matchPatterns:yt,defaultMatchWidth:"wide",parsePatterns:pt,defaultParseWidth:"any"}),quarter:ft({matchPatterns:Tt,defaultMatchWidth:"wide",parsePatterns:Ct,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ft({matchPatterns:Mt,defaultMatchWidth:"wide",parsePatterns:kt,defaultParseWidth:"any"}),day:ft({matchPatterns:Dt,defaultMatchWidth:"wide",parsePatterns:xt,defaultParseWidth:"any"}),dayPeriod:ft({matchPatterns:Pt,defaultMatchWidth:"any",parsePatterns:Ut,defaultParseWidth:"any"})};const Wt=St;var Yt={code:"en-US",formatDistance:_,formatLong:$,formatRelative:nt,localize:ht,match:Wt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Et=Yt,Ot=Et;var Nt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Zt=/^'([^]*?)'?$/,Ht=/''/g,zt=/[a-zA-Z]/;function Ft(t,e,n){var r,i,d,l,h,f,m,g,v,w,b,p,T,C,M,k,D,x;(0,a.Z)(2,arguments);var P=String(e),U=y(),S=null!==(r=null!==(i=null===n||void 0===n?void 0:n.locale)&&void 0!==i?i:U.locale)&&void 0!==r?r:Ot,W=s(null!==(d=null!==(l=null!==(h=null!==(f=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==f?f:null===n||void 0===n||null===(m=n.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==h?h:U.firstWeekContainsDate)&&void 0!==l?l:null===(v=U.locale)||void 0===v||null===(w=v.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==d?d:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Y=s(null!==(b=null!==(p=null!==(T=null!==(C=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==C?C:null===n||void 0===n||null===(M=n.locale)||void 0===M||null===(k=M.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==T?T:U.weekStartsOn)&&void 0!==p?p:null===(D=U.locale)||void 0===D||null===(x=D.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==b?b:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var E=(0,o.Z)(t);if(!u(E))throw new RangeError("Invalid time value");var N=F(E),q=c(E,N),Z={firstWeekContainsDate:W,weekStartsOn:Y,locale:S,_originalDate:E},H=P.match(qt).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=z[e];return n(t,S.formatLong)}return t})).join("").match(Nt).map((function(r){if("''"===r)return"'";var a=r[0];if("'"===a)return Lt(r);var i=O[a];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!Q(r)||G(r,e,String(t)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!j(r)||G(r,e,String(t)),i(q,r,S.localize,Z);if(a.match(zt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r})).join("");return H}function Lt(t){var e=t.match(Zt);return e?e[1].replace(Ht,"'"):t}},6700:(t,e,n)=>{n.d(e,{Z:()=>i});var r=n(6259),a=n(9785);function i(t){(0,a.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===(0,r.Z)(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}}}]);
|
2
|
-
//# sourceMappingURL=388.js.map
|
data/tools/admin/js/405.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[405],{4405:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>f});var a=function(){var t=this,e=t._self._c;return e("div",[e("top-bar",{attrs:{title:t.title}}),t._v(" "),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(o,a){return e("v-tab",{key:a,attrs:{to:o.path}},[t._v("\n "+t._s(o.displayName)+"\n ")])})),1),t._v(" "),e("router-view")],1)],1)},r=[],n=function(){var t=this,e=t._self._c;return e("mounting-portal",{attrs:{"mount-to":"#openc3-menu",append:""}},[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",{attrs:{"align-self":"end"}},[e("span",{staticClass:"app-title mr-2"},[t._v(t._s(t.title))])])],1),t._v(" "),e("v-row",{staticClass:"flex-nowrap",attrs:{dense:""}},t._l(t.menus,(function(o,a){return e("v-menu",{key:a,ref:"topmenu",refInFor:!0,attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function({on:a,attrs:r}){return[e("v-btn",t._g(t._b({staticClass:"mx-1 menu-button",attrs:{outlined:"","data-test":t.formatDT(`${t.title} ${o.label}`)}},"v-btn",r,!1),a),[e("span",{domProps:{textContent:t._s(o.label)}}),t._v(" "),e("v-icon",{staticClass:"myicon",attrs:{right:""}},[t._v(" mdi-menu-down ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",[e("v-radio-group",{staticClass:"ma-0 pa-0",attrs:{value:o.radioGroup,"hide-details":"",dense:""}},[t._l(o.items,(function(a,r){return[a.divider?e("v-divider",{key:r}):a.subMenu&&a.subMenu.length>0?e("div",{key:r},[e("v-menu",{key:t.k,attrs:{"open-on-hover":"","offset-x":"",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:n}){return[e("v-list-item",t._g(t._b({key:r,attrs:{disabled:a.disabled}},"v-list-item",n,!1),o),[a.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:a.disabled}},[t._v(t._s(a.icon))])],1):t._e(),t._v(" "),a.radio||a.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[t._v(t._s(a.label)+"\n ")]),t._v(" "),e("v-icon",[t._v(" mdi-chevron-right ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",t._l(a.subMenu,(function(o,a){return e("v-list-item",{key:a,on:{click:function(e){return t.subMenuClick(o)}}},[o.icon?e("v-list-item-icon",[e("v-icon",[t._v(t._s(o.icon))])],1):t._e(),t._v(" "),e("v-list-item-title",[t._v(t._s(o.label))])],1)})),1)],1)],1):e("v-list-item",{key:r,attrs:{disabled:a.disabled,"data-test":t.formatDT(`${t.title} ${o.label} ${a.label}`)},on:{click:function(t){return a.command(a)}}},[a.radio?e("v-list-item-action",[e("v-radio",{attrs:{color:"secondary",label:a.label,value:a.label}})],1):t._e(),t._v(" "),a.checkbox?e("v-list-item-action",[e("v-checkbox",{attrs:{color:"secondary",label:a.label},model:{value:a.checked,callback:function(e){t.$set(a,"checked",e)},expression:"option.checked"}})],1):t._e(),t._v(" "),a.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:a.disabled}},[t._v(t._s(a.icon))])],1):t._e(),t._v(" "),a.radio||a.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[t._v(t._s(a.label))])],1)]}))],2)],1)],1)})),1)],1)},i=[];o(1531),o(4597);const s={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()},subMenuClick(t){t.command(t),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},l=s;o(7886);var d=o(3483),c=(0,d.Z)(l,n,i,!1,null,"57d4fdd2",null);const u=c.exports;var v=o(2005);const p={components:{TopBar:u},data(){return{title:"Administrator Console",curTab:null,tabs:v.d}},methods:{}},m=p;var _=(0,d.Z)(m,a,r,!1,null,null,null);const f=_.exports},1468:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>l});var a=o(9601),r=o.n(a),n=o(2609),i=o.n(n),s=i()(r());s.push([t.id,".app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}",""]);const l=s},7886:(t,e,o)=>{var a=o(1468);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=o(3514).Z;r("7de62207",a,!0,{sourceMap:!1,shadowMode:!1})},9710:(t,e,o)=>{"use strict";var a=o(5309),r=o(2177),n=o(2032),i=n("match");t.exports=function(t){var e;return a(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===r(t))}},976:(t,e,o)=>{"use strict";var a=o(8724),r=o(4678),n=o(6148),i=o(7929),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||r(t,"flags")||!n(s,t)?e:a(i,t)}},4597:(t,e,o)=>{"use strict";var a=o(5532),r=o(8724),n=o(9668),i=o(1166),s=o(688),l=o(5268),d=o(9710),c=o(599),u=o(5383),v=o(976),p=o(6889),m=o(2032),_=o(6555),f=m("replace"),b=TypeError,h=n("".indexOf),g=n("".replace),k=n("".slice),x=Math.max;a({target:"String",proto:!0},{replaceAll:function(t,e){var o,a,n,m,y,w,C,M,T,$=i(this),A=0,S=0,D="";if(!l(t)){if(o=d(t),o&&(a=c(i(v(t))),!~h(a,"g")))throw new b("`.replaceAll` does not allow non-global regexes");if(n=u(t,f),n)return r(n,t,$,e);if(_&&o)return g(c($),t,e)}m=c($),y=c(t),w=s(e),w||(e=c(e)),C=y.length,M=x(1,C),A=h(m,y);while(-1!==A)T=w?c(e(y,A,m)):p(y,m,A,[],void 0,e),D+=k(m,S,A)+T,S=A+C,A=A+M>m.length?-1:h(m,y,A+M);return S<m.length&&(D+=k(m,S)),D}})}}]);
|
2
|
-
//# sourceMappingURL=405.js.map
|
data/tools/admin/js/478.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[478],{6129:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9373);const i=async function(e,t,{data:n,params:i={},headers:s,noAuth:r=!1,noScope:a=!1}={}){if(!r){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(l){OpenC3Auth.login()}s["Authorization"]=localStorage.openc3Token}return a||i["scope"]||(i["scope"]=window.openc3Scope),(0,o.Z)({method:e,url:t,data:n,params:i,headers:s})},s={Accept:"application/json"},r={...s,"Content-Type":"application/json"},a={get:function(e,{params:t,headers:n=s,noScope:o,noAuth:r}={}){return i("get",e,{params:t,headers:n,noScope:o,noAuth:r})},put:function(e,{data:t,params:n,headers:o=r,noScope:s,noAuth:a}={}){return i("put",e,{data:t,params:n,headers:o,noScope:s,noAuth:a})},post:function(e,{data:t,params:n,headers:o=r,noScope:s,noAuth:a}={}){return i("post",e,{data:t,params:n,headers:o,noScope:s,noAuth:a})},delete:function(e,{params:t,headers:n=s,noScope:o,noAuth:r}={}){return i("delete",e,{params:t,headers:n,noScope:o,noAuth:r})}}},9373:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(162),i=n(4091);const s=new i["default"],r=o.Z.create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((e=>e),(e=>{if(e.response){var t,n,o,i,r;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let l=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(l+=`${e.response.statusText} `),null!==(n=e.response)&&void 0!==n&&null!==(n=n.config)&&void 0!==n&&n.data&&(l+=`${e.response.config.data} `),null!==(o=e.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.message)l+=`${e.response.data.message}`;else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&i.exception)l+=`${e.response.data.exception}`;else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(l+=`${e.response.data.error.class} `),l+=`${e.response.data.error.message}`;else{var a;l+=`${null===(a=e.response)||void 0===a?void 0:a.data}`}throw s.$notify&&s.$notify.serious({title:"Network error",body:l}),e}throw e}));const a=r},1040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>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"),e._v(" "),t("span",{domProps:{textContent:e._s(e.title)}}),e._v(" "),t("v-spacer"),e._v(" "),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:o}){return[t("div",e._g(e._b({},"div",o,!1),n),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v("\n mdi-download\n ")])],1)]}}])},[e._v(" "),t("span",[e._v(" Download ")])])],1)],1),e._v(" "),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. ")]),e._v(" "),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("\n Load\n ")])],1),e._v(" "),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),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),e._v(" "),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)}})]),e._v(" "),t("v-row",[t("v-spacer"),e._v(" "),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("\n Cancel\n ")]),e._v(" "),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("\n Save\n ")])],1)],1)])],1)])],1)},i=[],s=(n(309),n(1629),n(4163),n(5850),n(3631),n(1399),n(5095));n(5343),n(8367),n(419),n(3923),n(2375);const r={props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data(){return{editor:null}},mounted(){const e=this.buildPluginMode();this.editor=s.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(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.value},set(e){this.$emit("input",e)}},title:function(){return`${this.type}: ${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(){const e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`),t.click()},buildPluginMode(){var e=s.require("ace/lib/oop"),t=s.require("ace/mode/json_highlight_rules").JsonHighlightRules,n=s.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,o=s.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=s.require("ace/mode/folding/ruby").FoldMode,r=function(){this.HighlightRules=t,this.$outdent=new n,this.$behaviour=new o,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},a=s.require("ace/mode/ruby").Mode;return e.inherits(r,a),function(){this.$id="ace/mode/openc3"}.call(r.prototype),r}}},a=r;n(5925);var l=n(3483),c=(0,l.Z)(a,o,i,!1,null,"1692580e",null);const d=c.exports},6478:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{staticClass:"list",attrs:{"data-test":"interfaceList"}},e._l(e.interfaces,(function(n){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),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:o,attrs:i}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showInterface(n)}}},"v-icon",i,!1),o),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Show Interface Details")])])],1)],1),e._v(" "),t("v-divider")],1)})),0),e._v(" "),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=[],s=n(6129),r=n(1040);const a={components:{EditDialog:r.Z},data(){return{interfaces:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){s.Z.get("/openc3-api/interfaces").then((e=>{this.interfaces=e.data}))},showInterface(e){s.Z.get(`/openc3-api/interfaces/${e}`).then((t=>{this.jsonContent=JSON.stringify(t.data,null,"\t"),this.dialogTitle=e,this.showDialog=!0}))},dialogCallback(e){this.showDialog=!1}}},l=a;n(8188);var c=n(3483),d=(0,c.Z)(l,o,i,!1,null,"e406b73e",null);const u=d.exports},8367:(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,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"}]}};o.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 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 s=i[1].length,r=e.findMatchingBracket({row:t,column:s});if(!r||r.row==t)return 0;var a=this.$getIndent(e.getLine(r.row));e.replace(new o(t,0,t,s-1),a)},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,s=e("./fold_mode").FoldMode,r=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(r,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 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 s=i.match(this.foldingStartMarker);if(s){var r=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,r);var a=e.getCommentFoldRange(n,r+s[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){s=i.match(this.foldingStopMarker);if(s){r=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,r):e.getCommentFoldRange(n,r,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),s=t,r=n.length;t+=1;var a=t,l=e.getLength();while(++t<l){n=e.getLine(t);var c=n.search(/\S/);if(-1!==c){if(o>c)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=s)break;if(d.isMultiLine())t=d.end.row;else if(o==c)break}a=t}}return new i(s,r,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){var o=t.search(/\s*$/),s=e.getLength(),r=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;while(++n<s){t=e.getLine(n);var c=a.exec(t);if(c&&(c[1]?l--:l++,!l))break}var d=n;if(d>r)return new i(r,o,d,t.length)}}.call(r.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/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,r=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,c=function(){this.HighlightRules=s,this.$outdent=new r,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};o.inherits(c,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(c.prototype),t.Mode=c})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},1999:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(9601),i=n.n(o),s=n(2609),r=n.n(s),a=r()(i());a.push([e.id,".editor[data-v-1692580e]{height:50vh;width:75vw;position:relative;font-size:16px}.v-textarea[data-v-1692580e] textarea{padding:5px}",""]);const l=a},1777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(9601),i=n.n(o),s=n(2609),r=n.n(s),a=r()(i());a.push([e.id,".list[data-v-e406b73e]{background-color:var(--color-background-surface-default)!important}",""]);const l=a},5925:(e,t,n)=>{var o=n(1999);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).Z;i("8d3edd5e",o,!0,{sourceMap:!1,shadowMode:!1})},8188:(e,t,n)=>{var o=n(1777);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).Z;i("67279657",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
-
//# sourceMappingURL=478.js.map
|
data/tools/admin/js/537.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[537],{6129:(e,s,t)=>{"use strict";t.d(s,{Z:()=>i});var a=t(9373);const o=async function(e,s,{data:t,params:o={},headers:n,noAuth:r=!1,noScope:i=!1}={}){if(!r){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(d){OpenC3Auth.login()}n["Authorization"]=localStorage.openc3Token}return i||o["scope"]||(o["scope"]=window.openc3Scope),(0,a.Z)({method:e,url:s,data:t,params:o,headers:n})},n={Accept:"application/json"},r={...n,"Content-Type":"application/json"},i={get:function(e,{params:s,headers:t=n,noScope:a,noAuth:r}={}){return o("get",e,{params:s,headers:t,noScope:a,noAuth:r})},put:function(e,{data:s,params:t,headers:a=r,noScope:n,noAuth:i}={}){return o("put",e,{data:s,params:t,headers:a,noScope:n,noAuth:i})},post:function(e,{data:s,params:t,headers:a=r,noScope:n,noAuth:i}={}){return o("post",e,{data:s,params:t,headers:a,noScope:n,noAuth:i})},delete:function(e,{params:s,headers:t=n,noScope:a,noAuth:r}={}){return o("delete",e,{params:s,headers:t,noScope:a,noAuth:r})}}},9373:(e,s,t)=>{"use strict";t.d(s,{Z:()=>i});var a=t(162),o=t(4091);const n=new o["default"],r=a.Z.create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((e=>e),(e=>{if(e.response){var s,t,a,o,r;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let d=`HTTP ${e.response.status} - `;if(null!==(s=e.response)&&void 0!==s&&s.statusText&&(d+=`${e.response.statusText} `),null!==(t=e.response)&&void 0!==t&&null!==(t=t.config)&&void 0!==t&&t.data&&(d+=`${e.response.config.data} `),null!==(a=e.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&a.message)d+=`${e.response.data.message}`;else if(null!==(o=e.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.exception)d+=`${e.response.data.exception}`;else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(d+=`${e.response.data.error.class} `),d+=`${e.response.data.error.message}`;else{var i;d+=`${null===(i=e.response)||void 0===i?void 0:i.data}`}throw n.$notify&&n.$notify.serious({title:"Network error",body:d}),e}throw e}));const i=r},1537:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>p});var a=function(){var e=this,s=e._self._c;return s("div",[s("v-card",[s("v-card-title",[e._v(" Send Raw Redis Commands ")]),e._v(" "),s("v-card-subtitle",[e._v("\n THIS IS DANGEROUS. This allows you to interact directly with the\n underlying Redis database, making it easy to modify or delete data.\n "),s("br"),s("br"),e._v("\n Enter commands like you would at the Redis cli prompt:\n "),s("code",[e._v("ping")]),e._v(" or\n "),s("code",[e._v("hget openc3__settings version")])]),e._v(" "),s("v-card-text",{staticClass:"pb-0 ml-2"},[s("v-text-field",{staticClass:"monospace",attrs:{label:"Redis command"},on:{keydown:e.commandKeydown},model:{value:e.redisCommandText,callback:function(s){e.redisCommandText=s},expression:"redisCommandText"}}),e._v(" "),e.redisResponse?s("span",{staticClass:"monospace"},[e._v("\n Response: "+e._s(e.redisResponse)+"\n ")]):e._e()],1),e._v(" "),s("v-card-actions",[s("v-btn",{staticClass:"ml-2 mr-3",attrs:{disabled:!e.redisCommandText.length,color:"success",text:""},on:{click:e.executeRaw}},[e._v("\n Execute\n ")]),e._v(" "),s("v-radio-group",{staticClass:"mt-0",attrs:{row:"","hide-details":""},model:{value:e.redisEndpoint,callback:function(s){e.redisEndpoint=s},expression:"redisEndpoint"}},[s("v-radio",{attrs:{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}}),e._v(" "),s("v-radio",{attrs:{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"}})],1)],1),e._v(" "),s("v-data-table",{staticClass:"monospace",attrs:{headers:e.headers,items:e.commands,"item-class":"monospace","calculate-widths":"","disable-pagination":"","hide-default-footer":"",dense:"",height:"45vh"}})],1)],1)},o=[],n=(t(2464),t(6129));const r={data(){return{redisCommandText:"",redisResponse:null,redisEndpoint:"/openc3-api/redis/exec",headers:[{text:"Redis",value:"redis",width:150},{text:"Command",value:"command"},{text:"Response",value:"response"}],commands:[]}},methods:{commandKeydown:function(e){"Enter"===e.key&&this.executeRaw()},executeRaw:function(){this.redisResponse=null,n.Z.post(this.redisEndpoint,{data:this.redisCommandText,headers:{Accept:"application/json","Content-Type":"plain/text"}}).then((e=>{this.redisResponse=e.data.result;let s="Ephemeral";"/openc3-api/redis/exec"===this.redisEndpoint&&(s="Persistent"),this.commands.unshift({redis:s,command:this.redisCommandText,response:this.redisResponse})}))}}},i=r;t(8129);var d=t(3483),c=(0,d.Z)(i,a,o,!1,null,"cebcf450",null);const p=c.exports},2723:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>d});var a=t(9601),o=t.n(a),n=t(2609),r=t.n(n),i=r()(o());i.push([e.id,".monospace[data-v-cebcf450]{font-family:monospace;font-size:20px}",""]);const d=i},8129:(e,s,t)=>{var a=t(2723);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var o=t(3514).Z;o("7049c74e",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
-
//# sourceMappingURL=537.js.map
|
data/tools/admin/js/540.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[540],{2540:(e,o,t)=>{t.r(o),t.d(o,{default:()=>u});var l=function(){var e=this,o=e._self._c;return o("v-card",[o("v-card-title",[e._v("404 Not Found Error")]),e._v(" "),o("v-card-text",[e._v("The requested URL "),o("code",[e._v(e._s(e.$route.fullPath))]),e._v(" was not\n routable.")])],1)},n=[],r=t(3483),s={},_=(0,r.Z)(s,l,n,!1,null,null,null);const u=_.exports}}]);
|
2
|
-
//# sourceMappingURL=540.js.map
|