openc3-cosmos-tool-admin 5.14.0 → 5.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/tools/admin/index.html +1 -4
  3. data/tools/admin/js/175.js +2 -0
  4. data/tools/admin/js/175.js.map +1 -0
  5. data/tools/admin/js/184.js +2 -0
  6. data/tools/admin/js/{267.js.map → 184.js.map} +1 -1
  7. data/tools/admin/js/192.js +2 -0
  8. data/tools/admin/js/192.js.map +1 -0
  9. data/tools/admin/js/{830.js → 252.js} +2 -2
  10. data/tools/admin/js/{830.js.map → 252.js.map} +1 -1
  11. data/tools/admin/js/304.js +2 -0
  12. data/tools/admin/js/{478.js.map → 304.js.map} +1 -1
  13. data/tools/admin/js/{876.js → 348.js} +2 -2
  14. data/tools/admin/js/{876.js.map → 348.js.map} +1 -1
  15. data/tools/admin/js/{837.js → 432.js} +3 -3
  16. data/tools/admin/js/{837.js.map → 432.js.map} +1 -1
  17. data/tools/admin/js/508.js +2 -0
  18. data/tools/admin/js/{540.js.map → 508.js.map} +1 -1
  19. data/tools/admin/js/532.js +2 -0
  20. data/tools/admin/js/532.js.map +1 -0
  21. data/tools/admin/js/544.js +2 -0
  22. data/tools/admin/js/{713.js.map → 544.js.map} +1 -1
  23. data/tools/admin/js/632.js +2 -0
  24. data/tools/admin/js/632.js.map +1 -0
  25. data/tools/admin/js/700.js +2 -0
  26. data/tools/admin/js/{162.js.map → 700.js.map} +1 -1
  27. data/tools/admin/js/{593.js → 796.js} +2 -2
  28. data/tools/admin/js/{593.js.map → 796.js.map} +1 -1
  29. data/tools/admin/js/808.js +2 -0
  30. data/tools/admin/js/808.js.map +1 -0
  31. data/tools/admin/js/812.js +2 -0
  32. data/tools/admin/js/{797.js.map → 812.js.map} +1 -1
  33. data/tools/admin/js/816.js +2 -0
  34. data/tools/admin/js/{388.js.map → 816.js.map} +1 -1
  35. data/tools/admin/js/864.js +2 -0
  36. data/tools/admin/js/864.js.map +1 -0
  37. data/tools/admin/js/924.js +2 -0
  38. data/tools/admin/js/{537.js.map → 924.js.map} +1 -1
  39. data/tools/admin/js/app.js +1 -1
  40. data/tools/admin/js/app.js.map +1 -1
  41. metadata +38 -38
  42. data/tools/admin/js/117.js +0 -2
  43. data/tools/admin/js/117.js.map +0 -1
  44. data/tools/admin/js/162.js +0 -2
  45. data/tools/admin/js/24.js +0 -2
  46. data/tools/admin/js/24.js.map +0 -1
  47. data/tools/admin/js/240.js +0 -2
  48. data/tools/admin/js/240.js.map +0 -1
  49. data/tools/admin/js/267.js +0 -2
  50. data/tools/admin/js/27.js +0 -2
  51. data/tools/admin/js/27.js.map +0 -1
  52. data/tools/admin/js/388.js +0 -2
  53. data/tools/admin/js/405.js +0 -2
  54. data/tools/admin/js/405.js.map +0 -1
  55. data/tools/admin/js/478.js +0 -2
  56. data/tools/admin/js/537.js +0 -2
  57. data/tools/admin/js/540.js +0 -2
  58. data/tools/admin/js/713.js +0 -2
  59. data/tools/admin/js/797.js +0 -2
  60. data/tools/admin/js/829.js +0 -2
  61. data/tools/admin/js/829.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[864],{8128:(e,t,s)=>{s.d(t,{c:()=>i});var r=s(3700),n=s(5852);const o=new n["default"],a=r.c.create({baseURL:location.origin,timeout:6e4,params:{}});a.interceptors.response.use((e=>e),(e=>{if(e.response){var t,s,r,n,a;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!==(s=e.response)&&void 0!==s&&null!==(s=s.config)&&void 0!==s&&s.data&&(l+=`${e.response.config.data} `),null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&r.message)l+=`${e.response.data.message}`;else if(null!==(n=e.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.exception)l+=`${e.response.data.exception}`;else if(null!==(a=e.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&null!==(a=a.error)&&void 0!==a&&a.message)e.response.data.error.class&&(l+=`${e.response.data.error.class} `),l+=`${e.response.data.error.message}`;else{var i;l+=`${null===(i=e.response)||void 0===i?void 0:i.data}`}throw o.$notify&&o.$notify.serious({title:"Network error",body:l}),e}throw e}));const i=a},7728:(e,t,s)=>{s.r(t),s.d(t,{default:()=>U});var r=function(){var e=this,t=e._self._c;return t("div",[t("v-card",[t("v-card-title",[e._v(" Reset suppressed warnings ")]),e._v(" "),t("v-card-subtitle",[e._v('\n This resets "don\'t show this again" dialogs on this browser\n ')]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[e.suppressedWarnings.length?[t("v-checkbox",{staticClass:"mt-0",attrs:{label:"Select all","data-test":"select-all-suppressed-warnings"},model:{value:e.selectAllSuppressedWarnings,callback:function(t){e.selectAllSuppressedWarnings=t},expression:"selectAllSuppressedWarnings"}}),e._v(" "),e._l(e.suppressedWarnings,(function(s){return t("v-checkbox",{key:s.key,staticClass:"mt-0",attrs:{label:s.text,value:s.key,dense:""},model:{value:e.selectedSuppressedWarnings,callback:function(t){e.selectedSuppressedWarnings=t},expression:"selectedSuppressedWarnings"}})}))]:[e._v(" No warnings to reset ")]],2),e._v(" "),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.selectedSuppressedWarnings.length,color:"warning",text:"","data-test":"reset-suppressed-warnings"},on:{click:e.resetSuppressedWarnings}},[e._v("\n Reset\n ")])],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Clear default configs ")]),e._v(" "),t("v-card-subtitle",[e._v("\n This clears the default tool configs on this browser\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[e.lastConfigs.length?[t("v-checkbox",{staticClass:"mt-0",attrs:{label:"Select all","data-test":"select-all-default-configs"},model:{value:e.selectAllLastConfigs,callback:function(t){e.selectAllLastConfigs=t},expression:"selectAllLastConfigs"}}),e._v(" "),e._l(e.lastConfigs,(function(s){return t("v-checkbox",{key:s.key,staticClass:"mt-0",attrs:{label:s.text,value:s.key,dense:""},model:{value:e.selectedLastConfigs,callback:function(t){e.selectedLastConfigs=t},expression:"selectedLastConfigs"}})}))]:[e._v(" No configs to clear ")]],2),e._v(" "),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.selectedLastConfigs.length,color:"warning",text:"","data-test":"clear-default-configs"},on:{click:e.clearLastConfigs}},[e._v("\n Clear\n ")])],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("astro-settings"),e._v(" "),t("v-divider"),e._v(" "),t("classification-banner-settings"),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Source code URL ")]),e._v(" "),t("v-card-subtitle",[e._v('\n This sets the URL for the "Source" link in the footer. This is required\n under the AGPL license.\n ')]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Source URL","data-test":"source-url"},model:{value:e.sourceUrl,callback:function(t){e.sourceUrl=t},expression:"sourceUrl"}})],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-source-url"},on:{click:e.saveSourceUrl}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.sourceUrlErrorSaving,callback:function(t){e.sourceUrlErrorSaving=t},expression:"sourceUrlErrorSaving"}},[e._v("\n Error saving\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.sourceUrlSuccessSaving,callback:function(t){e.sourceUrlSuccessSaving=t},expression:"sourceUrlSuccessSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Rubygems URL ")]),e._v(" "),t("v-card-subtitle",[e._v("\n This sets the URL for installing dependency rubygems. Also used for\n rubygem discovery.\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Rubygems URL","data-test":"rubygems-url"},model:{value:e.rubygemsUrl,callback:function(t){e.rubygemsUrl=t},expression:"rubygemsUrl"}})],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-rubygems-url"},on:{click:e.saveRubygemsUrl}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.rubygemsUrlErrorSaving,callback:function(t){e.rubygemsUrlErrorSaving=t},expression:"rubygemsUrlErrorSaving"}},[e._v("\n Error saving\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.rubygemsUrlSuccessSaving,callback:function(t){e.rubygemsUrlSuccessSaving=t},expression:"rubygemsUrlSuccessSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Pypi URL ")]),e._v(" "),t("v-card-subtitle",[e._v("\n This sets the URL for installing dependency python packages. Also used\n for package discovery.\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Pypi URL","data-test":"pypi-url"},model:{value:e.pypiUrl,callback:function(t){e.pypiUrl=t},expression:"pypiUrl"}})],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-pypi-url"},on:{click:e.savePypiUrl}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.pypiUrlErrorSaving,callback:function(t){e.pypiUrlErrorSaving=t},expression:"pypiUrlErrorSaving"}},[e._v("\n Error saving\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.pypiUrlSuccessSaving,callback:function(t){e.pypiUrlSuccessSaving=t},expression:"pypiUrlSuccessSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1)],1)},n=[],o=(s(8032),s(4144),s(2632),s(4044)),a=(s(5872),s(284),s(5596),s(4016),s(7788),s(4788),s(6640),s(4096),s(6484),s(3152),s(5800),s(8128));class i{constructor(){(0,o.c)(this,"id",1)}async exec(e,t,s={},r={},n=6e4){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(i){OpenC3Auth.login()}this.id=this.id+1;try{s["scope"]=window.openc3Scope;const o=await a.c.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:t,id:this.id,keyword_params:s},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...r},timeout:n});return o.data.result}catch(i){var o=new Error;throw i.response?(o.name=i.response.data.error.data.class,o.message=i.response.data.error.data.message):i.request?(o.name="Request error",o.message="Request error, no response received"):o.name="Unknown error",o}}decode_openc3_type(e){if(null!==e&&"object"===typeof e&&"Float"==e.json_class&&e.raw){if("NaN"==e.raw)return NaN;if("Infinity"==e.raw)return 1/0;if("-Infinity"==e.raw)return-1/0}return null}encode_openc3_type(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then((e=>{e&&(localStorage.openc3OfflineToken?this.set_offline_access(localStorage.openc3OfflineToken).then((()=>{delete localStorage.openc3OfflineToken})):OpenC3Auth.getOfflineAccess())}))}offline_access_needed(){return this.exec("offline_access_needed",[])}set_offline_access(e){return this.exec("set_offline_access",[e])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(e,t){return this.exec("map_target_to_interface",[e,t])}connect_interface(e,...t){return t.length>0?this.exec("connect_interface",[e,...t]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}interface_cmd(e,t,...s){return this.exec("interface_cmd",[e,t,...s])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(e){return this.exec("connect_router",[e])}disconnect_router(e){return this.exec("disconnect_router",[e])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_all_target_info(){return this.exec("get_all_target_info",[])}get_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,t,s){return this.exec("get_item",[e,t,s])}get_param(e,t,s){return this.exec("get_param",[e,t,s])}get_parameter(e,t,s){return this.exec("get_parameter",[e,t,s])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(e){return this.exec("set_limits_set",[e])}get_target(e){return this.exec("get_target",[e])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_list",[])}get_tlm(e,t){return this.exec("get_tlm",[e,t])}get_telemetry(e,t){return this.exec("get_telemetry",[e,t])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_telemetry",[e])}get_all_tlm_names(e){return this.exec("get_all_tlm_names",[e])}get_all_telemetry_names(e){return this.exec("get_all_telemetry_names",[e])}async get_tlm_packet(e,t,s,r=30){const n=await this.exec("get_tlm_packet",[e,t],{type:s,stale_time:r});if(null!=n)for(var o=n.length,a=null,i=0;i<o;i++)a=this.decode_openc3_type(n[i][1]),null!==a&&(n[i][1]=a);return n}get_packet_derived_items(e,t){return this.exec("get_packet_derived_items",[e,t])}get_tlm_buffer(e,t){return this.exec("get_tlm_buffer",[e,t])}async get_tlm_values(e,t=30,s=null){let r={stale_time:t};null!==s&&(r["cache_timeout"]=s);const n=await this.exec("get_tlm_values",[e],r,{},1e4);for(var o=n[0].length,a=null,i=0;i<o;i++)a=this.decode_openc3_type(n[0][i]),null!==a&&(n[0][i]=a);return n}get_limits(e,t,s){return this.exec("get_limits",[e,t,s])}async tlm(e,t,s,r="CONVERTED"){let n=null;if(void 0===t)n=await this.exec("tlm",[e]);else if(void 0===s){if(!["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(t)){var o=new Error;throw o.name="TypeError",o.message=`Invalid data type ${t}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,o}n=await this.exec("tlm",[e],{type:t})}else n=await this.exec("tlm",[e,t,s],{type:r});var a=this.decode_openc3_type(n);return null!==a&&(n=a),n}async inject_tlm(e,t,s=null,r="CONVERTED"){data=await this.exec("inject_tlm",[e,t,s],{type:r})}set_tlm(e,t,s,r){return this.exec("set_tlm",[e,t,s],{type:r})}override_tlm(e,t,s,r){return this.exec("override_tlm",[e,t,s],{type:r})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,t,s,r){return this.exec("normalize_tlm",[e,t,s],{type:r})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_commands",[e])}get_all_cmd_names(e){return this.exec("get_all_cmd_names",[e])}get_all_command_names(e){return this.exec("get_all_command_names",[e])}get_cmd(e,t){return this.exec("get_cmd",[e,t])}get_command(e,t){return this.exec("get_command",[e,t])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,t,s,r="CONVERTED"){return this.exec("get_cmd_value",[e,t,s,r])}get_cmd_buffer(e,t){return this.exec("get_cmd_buffer",[e,t])}_cmd(e,t,s,r,n){var o=null;for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(o=this.encode_openc3_type(r[a]),null!==o&&(r[a]=o));return this.exec(e,[t,s,r],{},n)}get_cmd_hazardous(e,t,s){return void 0===t?this.exec("get_cmd_hazardous",e):this._cmd("get_cmd_hazardous",e,t,s)}cmd(e,t,s,r={}){return void 0===t?this.exec("cmd",e,{},r):this._cmd("cmd",e,t,s,r)}cmd_no_range_check(e,t,s){return void 0===t?this.exec("cmd_no_range_check",e):this._cmd("cmd_no_range_check",e,t,s)}cmd_raw(e,t,s){return void 0===t?this.exec("cmd_raw",e):this._cmd("cmd_raw",e,t,s)}cmd_raw_no_range_check(e,t,s){return void 0===t?this.exec("cmd_raw_no_range_check",e):this._cmd("cmd_raw_no_range_check",e,t,s)}cmd_no_hazardous_check(e,t,s){return void 0===t?this.exec("cmd_no_hazardous_check",e):this._cmd("cmd_no_hazardous_check",e,t,s)}cmd_no_checks(e,t,s){return void 0===t?this.exec("cmd_no_checks",e):this._cmd("cmd_no_checks",e,t,s)}cmd_raw_no_hazardous_check(e,t,s){return void 0===t?this.exec("cmd_raw_no_hazardous_check",e):this._cmd("cmd_raw_no_hazardous_check",e,t,s)}cmd_raw_no_checks(e,t,s){return void 0===t?this.exec("cmd_raw_no_checks",e):this._cmd("cmd_raw_no_checks",e,t,s)}build_cmd(e,t,s){return void 0===t?this.exec("build_cmd",e):this._cmd("build_cmd",e,t,s)}build_command(e,t,s){return void 0===t?this.exec("build_command",e):this._cmd("build_command",e,t,s)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,t){return this.exec("send_raw",[e,t])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,t){return this.exec("load_config",[e,t])}save_config(e,t,s){return this.exec("save_config",[e,t,s])}delete_config(e,t){return this.exec("delete_config",[e,t])}enable_limits(e,t,s){return this.exec("enable_limits",[e,t,s])}disable_limits(e,t,s){return this.exec("disable_limits",[e,t,s])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(e){return this.exec("get_overall_limits_state",[e])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(e){return this.exec("get_setting",[e])}get_settings(e){return this.exec("get_settings",e)}set_setting(e,t){return this.exec("set_setting",[e,t])}save_setting(e,t){return this.exec("save_setting",[e,t])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const t=(new TextEncoder).encode(e),s=await crypto.subtle.digest("SHA-256",t),r=new Uint8Array(s);return Array.from(r).map((e=>e.toString(16).padStart(2,"0"))).join("")}}}var l=function(){var e=this,t=e._self._c;return t("v-card",[t("v-card-title",[e._v("Astro Settings")]),e._v(" "),t("v-card-text",{staticClass:"pb-0"},[t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorLoading,callback:function(t){e.errorLoading=t},expression:"errorLoading"}},[e._v("\n Error loading previous configuration due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-container",{staticClass:"pb-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-switch",{attrs:{label:"Hide Astro Clock","data-test":"hide-astro-clock"},model:{value:e.hideClock,callback:function(t){e.hideClock=t},expression:"hideClock"}})],1)],1)],1)],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-astro-settings"},on:{click:e.save}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v("\n Error saving due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1)},c=[];const u="astro",d={data(){return{api:null,errorLoading:!1,errorSaving:!1,errorText:"",successSaving:!1,hideClock:!1}},computed:{saveObj:function(){return JSON.stringify({hideClock:this.hideClock})}},created(){this.api=new i,this.load()},methods:{load:function(){this.api.get_setting(u).then((e=>{if(this.errorLoading=!1,e){const t=JSON.parse(e);this.hideClock=t.hideClock}})).catch((e=>{this.errorText=e,this.errorLoading=!0}))},save:function(){this.api.set_setting(u,this.saveObj).then((()=>{this.errorSaving=!1,this.successSaving=!0})).catch((e=>{this.errorText=e,this.errorSaving=!0}))}}},_=d;var g=s(3552),v=(0,g.c)(_,l,c,!1,null,null,null);const p=v.exports;var h=function(){var e=this,t=e._self._c;return t("v-card",[t("v-card-title",[e._v("Classification Banner Settings")]),e._v(" "),t("v-card-text",{staticClass:"pb-0"},[t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorLoading,callback:function(t){e.errorLoading=t},expression:"errorLoading"}},[e._v("\n Error loading previous configuration due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-container",{staticClass:"pb-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-text-field",{attrs:{label:"Text","data-test":"classification-banner-text"},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-select",{attrs:{label:"Background color",items:e.colors,"data-test":"classification-banner-background-color"},scopedSlots:e._u([e.selectedBackgroundColor?{key:"prepend-inner",fn:function(){return[t("v-icon",{attrs:{color:e.selectedBackgroundColor}},[e._v(" mdi-square ")])]},proxy:!0}:null,{key:"item",fn:function(s){return[s.item.value?t("v-icon",{staticClass:"pr-1",attrs:{color:s.item.value}},[e._v("\n mdi-square\n ")]):e._e(),e._v("\n "+e._s(s.item.text)+"\n ")]}}],null,!0),model:{value:e.selectedBackgroundColor,callback:function(t){e.selectedBackgroundColor=t},expression:"selectedBackgroundColor"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Custom background color",hint:e.customColorHint,disabled:!1!==e.selectedBackgroundColor,rules:[e.rules.customColor],"data-test":"classification-banner-custom-background-color"},scopedSlots:e._u([{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:!e.selectedBackgroundColor,expression:"!selectedBackgroundColor"}],attrs:{color:e.customBackgroundColor}},[e._v("\n mdi-square\n ")])]},proxy:!0}]),model:{value:e.customBackgroundColor,callback:function(t){e.customBackgroundColor=t},expression:"customBackgroundColor"}})],1),e._v(" "),t("v-col",[t("v-select",{attrs:{label:"Font color",items:e.colors,"data-test":"classification-banner-font-color"},scopedSlots:e._u([e.selectedFontColor?{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:e.selectedFontColor,expression:"selectedFontColor"}],attrs:{color:e.selectedFontColor}},[e._v("\n mdi-square\n ")])]},proxy:!0}:null,{key:"item",fn:function(s){return[s.item.value?t("v-icon",{staticClass:"pr-1",attrs:{color:s.item.value}},[e._v("\n mdi-square\n ")]):e._e(),e._v("\n "+e._s(s.item.text)+"\n ")]}}],null,!0),model:{value:e.selectedFontColor,callback:function(t){e.selectedFontColor=t},expression:"selectedFontColor"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Custom font color",hint:e.customColorHint,disabled:!1!==e.selectedFontColor,rules:[e.rules.customColor],"data-test":"classification-banner-custom-font-color"},scopedSlots:e._u([{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:!e.selectedFontColor,expression:"!selectedFontColor"}],attrs:{color:e.customFontColor}},[e._v("\n mdi-square\n ")])]},proxy:!0}]),model:{value:e.customFontColor,callback:function(t){e.customFontColor=t},expression:"customFontColor"}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-switch",{attrs:{label:"Display top banner","data-test":"display-top-banner"},model:{value:e.displayTopBanner,callback:function(t){e.displayTopBanner=t},expression:"displayTopBanner"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Top height",disabled:!e.displayTopBanner,type:"number",suffix:"px","data-test":"classification-banner-top-height"},model:{value:e.topHeight,callback:function(t){e.topHeight=t},expression:"topHeight"}})],1),e._v(" "),t("v-col",[t("v-switch",{attrs:{label:"Display bottom banner","data-test":"display-bottom-banner"},model:{value:e.displayBottomBanner,callback:function(t){e.displayBottomBanner=t},expression:"displayBottomBanner"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Bottom height",disabled:!e.displayBottomBanner,type:"number",suffix:"px","data-test":"classification-banner-bottom-height"},model:{value:e.bottomHeight,callback:function(t){e.bottomHeight=t},expression:"bottomHeight"}})],1)],1)],1)],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{disabled:!e.formValid,color:"success",text:"","data-test":"save-classification-banner"},on:{click:e.save}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v("\n Error saving due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1)},m=[];const f="classification_banner",x={data(){return{api:null,errorLoading:!1,errorSaving:!1,errorText:"",successSaving:!1,text:"",displayTopBanner:!1,displayBottomBanner:!1,topHeight:0,bottomHeight:0,selectedBackgroundColor:"red",customBackgroundColor:"",selectedFontColor:"white",customFontColor:"",customColorHint:"Enter a 3 or 6-digit hex color code",colors:[{text:"Yellow",value:"yellow"},{text:"Orange",value:"orange"},{text:"Red",value:"red"},{text:"Purple",value:"purple"},{text:"Blue",value:"blue"},{text:"Green",value:"green"},{text:"Black",value:"black"},{text:"White",value:"white"},{text:"Custom",value:!1}],rules:{customColor:e=>/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e)||this.customColorHint}}},computed:{saveObj:function(){return JSON.stringify({text:this.text,fontColor:this.selectedFontColor||this.customFontColor,backgroundColor:this.selectedBackgroundColor||this.customBackgroundColor,topHeight:this.displayTopBanner?this.topHeight:0,bottomHeight:this.displayBottomBanner?this.bottomHeight:0})},formValid:function(){return(this.selectedFontColor||!0===this.rules.customColor(this.customFontColor))&&(this.selectedBackgroundColor||!0===this.rules.customColor(this.customBackgroundColor))}},watch:{displayTopBanner:function(e){this.topHeight=e?20:0},displayBottomBanner:function(e){this.bottomHeight=e?20:0},customFontColor:function(e){e&&e.length&&!e.startsWith("#")&&(this.customFontColor=`#${e}`)},customBackgroundColor:function(e){e&&e.length&&!e.startsWith("#")&&(this.customBackgroundColor=`#${e}`)}},created(){this.api=new i,this.load()},methods:{load:function(){this.api.get_setting(f).then((e=>{if(this.errorLoading=!1,e){const t=JSON.parse(e);this.text=t.text,this.topHeight=t.topHeight,this.bottomHeight=t.bottomHeight,this.displayTopBanner=0!==t.topHeight,this.displayBottomBanner=0!==t.bottomHeight,t.backgroundColor&&t.backgroundColor.startsWith("#")?(this.customBackgroundColor=t.backgroundColor,this.selectedBackgroundColor=!1):this.selectedBackgroundColor=t.backgroundColor,t.fontColor&&t.fontColor.startsWith("#")?(this.customFontColor=t.fontColor,this.selectedFontColor=!1):this.selectedFontColor=t.fontColor}})).catch((e=>{this.errorText=e,this.errorLoading=!0}))},save:function(){this.api.set_setting(f,this.saveObj).then((()=>{this.errorSaving=!1,this.successSaving=!0})).catch((e=>{this.errorText=e,this.errorSaving=!0}))}}},b=x;var y=(0,g.c)(b,h,m,!1,null,null,null);const C=y.exports,S={components:{AstroSettings:p,ClassificationBannerSettings:C},data(){return{api:new i,suppressedWarnings:[],selectedSuppressedWarnings:[],selectAllSuppressedWarnings:!1,lastConfigs:[],selectedLastConfigs:[],selectAllLastConfigs:!1,sourceUrl:"",rubygemsUrl:"",pypiUrl:"",sourceUrlErrorSaving:!1,sourceUrlSuccessSaving:!1,rubygemsUrlErrorSaving:!1,rubygemsUrlSuccessSaving:!1,pypiUrlErrorSaving:!1,pypiUrlSuccessSaving:!1}},watch:{selectAllSuppressedWarnings:function(e){this.selectedSuppressedWarnings=e?this.suppressedWarnings.map((e=>e.key)):[]},selectAllLastConfigs:function(e){this.selectedLastConfigs=e?this.lastConfigs.map((e=>e.key)):[]}},created(){this.loadSuppressedWarnings(),this.loadLastConfigs(),this.loadSourceUrl(),this.loadRubygemsUrl(),this.loadPypiUrl()},methods:{loadSuppressedWarnings:function(){this.suppressedWarnings=Object.keys(localStorage).filter((e=>e.startsWith("suppresswarning__"))).map(this.localStorageKeyToDisplayObject),this.selectedSuppressedWarnings=[]},resetSuppressedWarnings:function(){this.deleteLocalStorageKeys(this.selectedSuppressedWarnings),this.loadSuppressedWarnings()},loadLastConfigs:function(){this.lastConfigs=Object.keys(localStorage).filter((e=>e.endsWith("__default"))).map((e=>{const t=e.split("__")[0].replaceAll("_"," ");return{key:e,text:t.charAt(0).toUpperCase()+t.slice(1)}})),this.selectedLastConfigs=[]},clearLastConfigs:function(){this.deleteLocalStorageKeys(this.selectedLastConfigs),this.loadLastConfigs()},deleteLocalStorageKeys:function(e){for(const t of e)delete localStorage[t]},localStorageKeyToDisplayObject:function(e){const t=e.split("__")[0].replaceAll("_"," ");return{key:e,text:t.charAt(0).toUpperCase()+t.slice(1),value:localStorage[e]}},loadSourceUrl:function(){this.api.get_setting("source_url").then((e=>{this.sourceUrl=e})).catch((()=>{this.sourceUrl="https://github.com/OpenC3/cosmos"}))},saveSourceUrl:function(){this.api.set_setting("source_url",this.sourceUrl).then((()=>{this.sourceUrlErrorSaving=!1,this.sourceUrlSuccessSaving=!0})).catch((()=>{this.sourceUrlErrorSaving=!0}))},loadRubygemsUrl:function(){this.api.get_setting("rubygems_url").then((e=>{this.rubygemsUrl=e})).catch((()=>{this.rubygemsUrl="https://rubygems.org"}))},saveRubygemsUrl:function(){this.api.set_setting("rubygems_url",this.rubygemsUrl).then((()=>{this.rubygemsUrlErrorSaving=!1,this.rubygemsUrlSuccessSaving=!0})).catch((()=>{this.rubygemsUrlErrorSaving=!0}))},loadPypiUrl:function(){this.api.get_setting("pypi_url").then((e=>{this.pypiUrl=e})).catch((()=>{this.pypiUrl="https://pypi.org/simple"}))},savePypiUrl:function(){this.api.set_setting("pypi_url",this.pypiUrl).then((()=>{this.pypiUrlErrorSaving=!1,this.pypiUrlSuccessSaving=!0})).catch((()=>{this.pypiUrlErrorSaving=!0}))}}},k=S;var w=(0,g.c)(k,r,n,!1,null,null,null);const U=w.exports},9856:(e,t,s)=>{var r=s(1808),n=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new n("Incorrect invocation")}},220:(e,t,s)=>{var r=s(8256);e.exports=r([].slice)},9312:(e,t,s)=>{var r=s(220),n=Math.floor,o=function(e,t){var s=e.length;if(s<8){var a,i,l=1;while(l<s){i=l,a=e[l];while(i&&t(e[i-1],a)>0)e[i]=e[--i];i!==l++&&(e[i]=a)}}else{var c=n(s/2),u=o(r(e,0,c),t),d=o(r(e,c),t),_=u.length,g=d.length,v=0,p=0;while(v<_||p<g)e[v+p]=v<_&&p<g?t(u[v],d[p])<=0?u[v++]:d[p++]:v<_?u[v++]:d[p++]}return e};e.exports=o},5139:(e,t,s)=>{var r=s(9032),n=s(8712);e.exports=function(e,t,s){return s.get&&r(s.get,t,{getter:!0}),s.set&&r(s.set,t,{setter:!0}),n.f(e,t,s)}},1604:(e,t,s)=>{var r=s(8788);e.exports=function(e,t,s){for(var n in t)r(e,n,t[n],s);return e}},6588:(e,t,s)=>{var r=s(1724),n=s(6580),o=s(876),a=r(r.bind);e.exports=function(e,t){return n(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},1724:(e,t,s)=>{var r=s(7740),n=s(8256);e.exports=function(e){if("Function"===r(e))return n(e)}},7716:(e,t,s)=>{var r=s(264),n=s(531),o=s(3344),a=s(6632),i=s(1720),l=i("iterator");e.exports=function(e){if(!o(e))return n(e,l)||n(e,"@@iterator")||a[r(e)]}},900:(e,t,s)=>{var r=s(2884),n=s(6580),o=s(6928),a=s(580),i=s(7716),l=TypeError;e.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return o(r(s,e));throw new l(a(e)+" is not iterable")}},9680:(e,t,s)=>{var r=s(1720),n=s(6632),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},3572:(e,t,s)=>{var r=s(4436),n=s(7740),o=s(1720),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===n(e))}},824:(e,t,s)=>{var r=s(2884),n=s(7204),o=s(1808),a=s(3376),i=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in i||n(e,"flags")||!o(i,e)?t:r(a,e)}},4144:(e,t,s)=>{var r=s(5460),n=s(2884),o=s(8256),a=s(6852),i=s(5156),l=s(3344),c=s(3572),u=s(9552),d=s(531),_=s(824),g=s(9888),v=s(1720),p=s(5428),h=v("replace"),m=TypeError,f=o("".indexOf),x=o("".replace),b=o("".slice),y=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var s,r,o,v,C,S,k,w,U,T=a(this),B=0,E=0,L="";if(!l(e)){if(s=c(e),s&&(r=u(a(_(e))),!~f(r,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(o=d(e,h),o)return n(o,e,T,t);if(p&&s)return x(u(T),e,t)}v=u(T),C=u(e),S=i(t),S||(t=u(t)),k=C.length,w=y(1,k),B=f(v,C);while(-1!==B)U=S?u(t(C,B,v)):g(C,v,B,[],void 0,t),L+=b(v,E,B)+U,E=B+k,B=B+w>v.length?-1:f(v,C,B+w);return E<v.length&&(L+=b(v,E)),L}})}}]);
2
+ //# sourceMappingURL=864.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/864.js","mappings":"oLAyBA,MAAMA,EAAc,IAAIC,EAAAA,WAElBC,EAAgBC,EAAAA,EAAMC,OAAO,CACjCC,QAASC,SAASC,OAClBC,Q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M,EAAWH,GAKlG,OAHII,EAAiBrK,EAAOrL,SAC1BiD,GAAU2R,EAAYvJ,EAAQqK,IAEzBzS,CACT,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SettingsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/AstroSettings.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/AstroSettings.vue?b080","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/AstroSettings.vue?39ae","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ClassificationBannerSettings.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ClassificationBannerSettings.vue?842f","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ClassificationBannerSettings.vue?735e","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SettingsTab.vue?f7c3","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SettingsTab.vue?17e6","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/an-instance.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/array-slice.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/array-sort.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/define-built-in-accessor.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/define-built-ins.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/function-bind-context.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/get-iterator-method.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/get-iterator.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-array-iterator-method.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-regexp.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/regexp-get-flags.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.string.replace-all.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'\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-card',[_c('v-card-title',[_vm._v(\" Reset suppressed warnings \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This resets \\\"don't show this again\\\" dialogs on this browser\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[(_vm.suppressedWarnings.length)?[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Select all\",\"data-test\":\"select-all-suppressed-warnings\"},model:{value:(_vm.selectAllSuppressedWarnings),callback:function ($$v) {_vm.selectAllSuppressedWarnings=$$v},expression:\"selectAllSuppressedWarnings\"}}),_vm._v(\" \"),_vm._l((_vm.suppressedWarnings),function(warning){return _c('v-checkbox',{key:warning.key,staticClass:\"mt-0\",attrs:{\"label\":warning.text,\"value\":warning.key,\"dense\":\"\"},model:{value:(_vm.selectedSuppressedWarnings),callback:function ($$v) {_vm.selectedSuppressedWarnings=$$v},expression:\"selectedSuppressedWarnings\"}})})]:[_vm._v(\" No warnings to reset \")]],2),_vm._v(\" \"),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2\",attrs:{\"disabled\":!_vm.selectedSuppressedWarnings.length,\"color\":\"warning\",\"text\":\"\",\"data-test\":\"reset-suppressed-warnings\"},on:{\"click\":_vm.resetSuppressedWarnings}},[_vm._v(\"\\n Reset\\n \")])],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Clear default configs \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This clears the default tool configs on this browser\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[(_vm.lastConfigs.length)?[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Select all\",\"data-test\":\"select-all-default-configs\"},model:{value:(_vm.selectAllLastConfigs),callback:function ($$v) {_vm.selectAllLastConfigs=$$v},expression:\"selectAllLastConfigs\"}}),_vm._v(\" \"),_vm._l((_vm.lastConfigs),function(config){return _c('v-checkbox',{key:config.key,staticClass:\"mt-0\",attrs:{\"label\":config.text,\"value\":config.key,\"dense\":\"\"},model:{value:(_vm.selectedLastConfigs),callback:function ($$v) {_vm.selectedLastConfigs=$$v},expression:\"selectedLastConfigs\"}})})]:[_vm._v(\" No configs to clear \")]],2),_vm._v(\" \"),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2\",attrs:{\"disabled\":!_vm.selectedLastConfigs.length,\"color\":\"warning\",\"text\":\"\",\"data-test\":\"clear-default-configs\"},on:{\"click\":_vm.clearLastConfigs}},[_vm._v(\"\\n Clear\\n \")])],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('astro-settings'),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('classification-banner-settings'),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Source code URL \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This sets the URL for the \\\"Source\\\" link in the footer. This is required\\n under the AGPL license.\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{attrs:{\"label\":\"Source URL\",\"data-test\":\"source-url\"},model:{value:(_vm.sourceUrl),callback:function ($$v) {_vm.sourceUrl=$$v},expression:\"sourceUrl\"}})],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-source-url\"},on:{\"click\":_vm.saveSourceUrl}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.sourceUrlErrorSaving),callback:function ($$v) {_vm.sourceUrlErrorSaving=$$v},expression:\"sourceUrlErrorSaving\"}},[_vm._v(\"\\n Error saving\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.sourceUrlSuccessSaving),callback:function ($$v) {_vm.sourceUrlSuccessSaving=$$v},expression:\"sourceUrlSuccessSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Rubygems URL \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This sets the URL for installing dependency rubygems. Also used for\\n rubygem discovery.\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{attrs:{\"label\":\"Rubygems URL\",\"data-test\":\"rubygems-url\"},model:{value:(_vm.rubygemsUrl),callback:function ($$v) {_vm.rubygemsUrl=$$v},expression:\"rubygemsUrl\"}})],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-rubygems-url\"},on:{\"click\":_vm.saveRubygemsUrl}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.rubygemsUrlErrorSaving),callback:function ($$v) {_vm.rubygemsUrlErrorSaving=$$v},expression:\"rubygemsUrlErrorSaving\"}},[_vm._v(\"\\n Error saving\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.rubygemsUrlSuccessSaving),callback:function ($$v) {_vm.rubygemsUrlSuccessSaving=$$v},expression:\"rubygemsUrlSuccessSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Pypi URL \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This sets the URL for installing dependency python packages. Also used\\n for package discovery.\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{attrs:{\"label\":\"Pypi URL\",\"data-test\":\"pypi-url\"},model:{value:(_vm.pypiUrl),callback:function ($$v) {_vm.pypiUrl=$$v},expression:\"pypiUrl\"}})],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-pypi-url\"},on:{\"click\":_vm.savePypiUrl}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.pypiUrlErrorSaving),callback:function ($$v) {_vm.pypiUrlErrorSaving=$$v},expression:\"pypiUrlErrorSaving\"}},[_vm._v(\"\\n Error saving\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.pypiUrlSuccessSaving),callback:function ($$v) {_vm.pypiUrlSuccessSaving=$$v},expression:\"pypiUrlSuccessSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\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 2024, 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\nexport class OpenC3Api {\n id = 1\n\n constructor() {}\n\n async exec(\n method,\n params,\n kwparams = {},\n headerOptions = {},\n timeout = 60000\n ) {\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 this.id = this.id + 1\n try {\n kwparams['scope'] = window.openc3Scope\n const response = await axios.post(\n '/openc3-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.openc3Token,\n 'Content-Type': 'application/json-rpc',\n ...headerOptions,\n },\n timeout: timeout,\n }\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n // NOTE: Openc3Screen.vue uses this specific message to determine\n // if the CmdTlmApi server is down. Don't change unless also changing there.\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n throw err\n }\n }\n\n decode_openc3_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_openc3_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n ensure_offline_access() {\n this.offline_access_needed().then((needed) => {\n if (needed) {\n if (localStorage.openc3OfflineToken) {\n this.set_offline_access(localStorage.openc3OfflineToken).then(() => {\n delete localStorage.openc3OfflineToken\n })\n } else {\n OpenC3Auth.getOfflineAccess()\n }\n }\n })\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n\n offline_access_needed() {\n return this.exec('offline_access_needed', [])\n }\n\n set_offline_access(offline_access_token) {\n return this.exec('set_offline_access', [offline_access_token])\n }\n\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n map_target_to_interface(target_name, interface_name) {\n return this.exec('map_target_to_interface', [target_name, interface_name])\n }\n\n connect_interface(interface_name, ...interface_params) {\n if (interface_params.length > 0) {\n return this.exec('connect_interface', [\n interface_name,\n ...interface_params,\n ])\n } else {\n return this.exec('connect_interface', [interface_name])\n }\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n interface_cmd(interface_name, command_name, ...command_params) {\n return this.exec('interface_cmd', [\n interface_name,\n command_name,\n ...command_params,\n ])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_target_interfaces() {\n return this.exec('get_target_interfaces', [])\n }\n\n // DEPRECATED\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_tlm_cnts(target_commands) {\n return this.exec('get_tlm_cnts', [target_commands])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_param(target, packet, item) {\n return this.exec('get_param', [target, packet, item])\n }\n // DEPRECATED for get_param\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_names() {\n return this.exec('get_target_names', [])\n }\n // DEPRECATED\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_tlm(target_name, packet_name) {\n return this.exec('get_tlm', [target_name, packet_name])\n }\n // DEPRECATED\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_tlm(target_name) {\n return this.exec('get_all_tlm', [target_name])\n }\n // DEPREACTE\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_tlm_names(target_name) {\n return this.exec('get_all_tlm_names', [target_name])\n }\n // DEPRECATED\n get_all_telemetry_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n stale_time: stale_time,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n async get_tlm_values(items, stale_time = 30, cache_timeout = null) {\n let kw_args = {\n stale_time: stale_time,\n }\n if (cache_timeout !== null) {\n kw_args['cache_timeout'] = cache_timeout\n }\n const data = await this.exec(\n 'get_tlm_values',\n [items],\n kw_args,\n {},\n 10000 // 10s timeout ... should never be this long\n )\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {\n let data = null\n // Check for the single string syntax: tlm(\"TGT PKT ITEM\")\n if (packet_name === undefined) {\n data = await this.exec('tlm', [target_name])\n // Check for the single string syntax with type: tlm(\"TGT PKT ITEM\", \"RAW\")\n } else if (item_name === undefined) {\n if (\n ['RAW', 'CONVERTED', 'FORMATTED', 'WITH_UNITS'].includes(packet_name)\n ) {\n data = await this.exec('tlm', [target_name], { type: packet_name })\n } else {\n var err = new Error()\n err.name = 'TypeError'\n err.message = `Invalid data type ${packet_name}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`\n throw err\n }\n } else {\n data = await this.exec('tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n async inject_tlm(\n target_name,\n packet_name,\n item_hash = null,\n value_type = 'CONVERTED'\n ) {\n data = await this.exec(\n 'inject_tlm',\n [target_name, packet_name, item_hash],\n {\n type: value_type,\n }\n )\n }\n\n set_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('set_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n override_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('override_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_overrides() {\n return this.exec('get_overrides')\n }\n\n normalize_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('normalize_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_all_cmds(target_name) {\n return this.exec('get_all_cmds', [target_name])\n }\n // DEPRECATED for get_all_cmds\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_cmd_names(target_name) {\n return this.exec('get_all_cmd_names', [target_name])\n }\n // DEPRECATED for get_all_cmd_names\n get_all_command_names(target_name) {\n return this.exec('get_all_command_names', [target_name])\n }\n\n get_cmd(target_name, command_name) {\n return this.exec('get_cmd', [target_name, command_name])\n }\n // DEPRECATED for get_cmd\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_cnts(target_commands) {\n return this.exec('get_cmd_cnts', [target_commands])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED'\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list, headerOptions) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(\n method,\n [target_name, command_name, param_list],\n {},\n headerOptions\n )\n }\n\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd(target_name, command_name, param_list, headerOptions = {}) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name, {}, headerOptions)\n } else {\n return this._cmd(\n 'cmd',\n target_name,\n command_name,\n param_list,\n headerOptions\n )\n }\n }\n\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n build_cmd(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('build_cmd', target_name)\n } else {\n return this._cmd('build_cmd', target_name, command_name, param_list)\n }\n }\n // DEPRECATED for build_cmd\n build_command(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('build_command', target_name)\n } else {\n return this._cmd('build_command', target_name, command_name, param_list)\n }\n }\n\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n enable_limits(target, packet, item) {\n return this.exec('enable_limits', [target, packet, item])\n }\n\n disable_limits(target, packet, item) {\n return this.exec('disable_limits', [target, packet, item])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n set_setting(name, data) {\n return this.exec('set_setting', [name, data])\n }\n\n // DEPRECATED\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n\n get_metrics() {\n return this.exec('get_metrics', [])\n }\n\n // TODO: Currently unused but seemed like a useful function\n async hashString(string) {\n if (window.isSecureContext) {\n // Encode the string as an arrayBuffer which the subtle crypto API uses\n const arrayBuffer = new TextEncoder().encode(string)\n // Use the subtle crypto API to perform a SHA256 Sum of the array buffer\n // The resulting hash is stored in an array buffer\n const hashAsArrayBuffer = await crypto.subtle.digest(\n 'SHA-256',\n arrayBuffer\n )\n // To create a string we will get the hexadecimal value of each byte of the array buffer\n // This gets us an array where each byte of the array buffer becomes one item in the array\n const uint8ViewOfHash = new Uint8Array(hashAsArrayBuffer)\n // We then convert it to a regular array so we can convert each item to hexadecimal strings\n // Where to characters of 0-9 or a-f represent a number between 0 and 16, containing 4 bits of information, so 2 of them is 8 bits (1 byte).\n return Array.from(uint8ViewOfHash)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n // else ?\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',[_c('v-card-title',[_vm._v(\"Astro Settings\")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0\"},[_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorLoading),callback:function ($$v) {_vm.errorLoading=$$v},expression:\"errorLoading\"}},[_vm._v(\"\\n Error loading previous configuration due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-container',{staticClass:\"pb-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-switch',{attrs:{\"label\":\"Hide Astro Clock\",\"data-test\":\"hide-astro-clock\"},model:{value:(_vm.hideClock),callback:function ($$v) {_vm.hideClock=$$v},expression:\"hideClock\"}})],1)],1)],1)],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-astro-settings\"},on:{\"click\":_vm.save}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorSaving),callback:function ($$v) {_vm.errorSaving=$$v},expression:\"errorSaving\"}},[_vm._v(\"\\n Error saving due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.successSaving),callback:function ($$v) {_vm.successSaving=$$v},expression:\"successSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],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!./AstroSettings.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!./AstroSettings.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AstroSettings.vue?vue&type=template&id=0f5e31bd\"\nimport script from \"./AstroSettings.vue?vue&type=script&lang=js\"\nexport * from \"./AstroSettings.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',[_c('v-card-title',[_vm._v(\"Classification Banner Settings\")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0\"},[_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorLoading),callback:function ($$v) {_vm.errorLoading=$$v},expression:\"errorLoading\"}},[_vm._v(\"\\n Error loading previous configuration due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-container',{staticClass:\"pb-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Text\",\"data-test\":\"classification-banner-text\"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}})],1)],1),_vm._v(\" \"),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-select',{attrs:{\"label\":\"Background color\",\"items\":_vm.colors,\"data-test\":\"classification-banner-background-color\"},scopedSlots:_vm._u([(_vm.selectedBackgroundColor)?{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{attrs:{\"color\":_vm.selectedBackgroundColor}},[_vm._v(\" mdi-square \")])]},proxy:true}:null,{key:\"item\",fn:function(data){return [(data.item.value)?_c('v-icon',{staticClass:\"pr-1\",attrs:{\"color\":data.item.value}},[_vm._v(\"\\n mdi-square\\n \")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(data.item.text)+\"\\n \")]}}],null,true),model:{value:(_vm.selectedBackgroundColor),callback:function ($$v) {_vm.selectedBackgroundColor=$$v},expression:\"selectedBackgroundColor\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Custom background color\",\"hint\":_vm.customColorHint,\"disabled\":_vm.selectedBackgroundColor !== false,\"rules\":[_vm.rules.customColor],\"data-test\":\"classification-banner-custom-background-color\"},scopedSlots:_vm._u([{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.selectedBackgroundColor),expression:\"!selectedBackgroundColor\"}],attrs:{\"color\":_vm.customBackgroundColor}},[_vm._v(\"\\n mdi-square\\n \")])]},proxy:true}]),model:{value:(_vm.customBackgroundColor),callback:function ($$v) {_vm.customBackgroundColor=$$v},expression:\"customBackgroundColor\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-select',{attrs:{\"label\":\"Font color\",\"items\":_vm.colors,\"data-test\":\"classification-banner-font-color\"},scopedSlots:_vm._u([(_vm.selectedFontColor)?{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedFontColor),expression:\"selectedFontColor\"}],attrs:{\"color\":_vm.selectedFontColor}},[_vm._v(\"\\n mdi-square\\n \")])]},proxy:true}:null,{key:\"item\",fn:function(data){return [(data.item.value)?_c('v-icon',{staticClass:\"pr-1\",attrs:{\"color\":data.item.value}},[_vm._v(\"\\n mdi-square\\n \")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(data.item.text)+\"\\n \")]}}],null,true),model:{value:(_vm.selectedFontColor),callback:function ($$v) {_vm.selectedFontColor=$$v},expression:\"selectedFontColor\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Custom font color\",\"hint\":_vm.customColorHint,\"disabled\":_vm.selectedFontColor !== false,\"rules\":[_vm.rules.customColor],\"data-test\":\"classification-banner-custom-font-color\"},scopedSlots:_vm._u([{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.selectedFontColor),expression:\"!selectedFontColor\"}],attrs:{\"color\":_vm.customFontColor}},[_vm._v(\"\\n mdi-square\\n \")])]},proxy:true}]),model:{value:(_vm.customFontColor),callback:function ($$v) {_vm.customFontColor=$$v},expression:\"customFontColor\"}})],1)],1),_vm._v(\" \"),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-switch',{attrs:{\"label\":\"Display top banner\",\"data-test\":\"display-top-banner\"},model:{value:(_vm.displayTopBanner),callback:function ($$v) {_vm.displayTopBanner=$$v},expression:\"displayTopBanner\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Top height\",\"disabled\":!_vm.displayTopBanner,\"type\":\"number\",\"suffix\":\"px\",\"data-test\":\"classification-banner-top-height\"},model:{value:(_vm.topHeight),callback:function ($$v) {_vm.topHeight=$$v},expression:\"topHeight\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-switch',{attrs:{\"label\":\"Display bottom banner\",\"data-test\":\"display-bottom-banner\"},model:{value:(_vm.displayBottomBanner),callback:function ($$v) {_vm.displayBottomBanner=$$v},expression:\"displayBottomBanner\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Bottom height\",\"disabled\":!_vm.displayBottomBanner,\"type\":\"number\",\"suffix\":\"px\",\"data-test\":\"classification-banner-bottom-height\"},model:{value:(_vm.bottomHeight),callback:function ($$v) {_vm.bottomHeight=$$v},expression:\"bottomHeight\"}})],1)],1)],1)],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"disabled\":!_vm.formValid,\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-classification-banner\"},on:{\"click\":_vm.save}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorSaving),callback:function ($$v) {_vm.errorSaving=$$v},expression:\"errorSaving\"}},[_vm._v(\"\\n Error saving due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.successSaving),callback:function ($$v) {_vm.successSaving=$$v},expression:\"successSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],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!./ClassificationBannerSettings.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!./ClassificationBannerSettings.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ClassificationBannerSettings.vue?vue&type=template&id=40e1a34d\"\nimport script from \"./ClassificationBannerSettings.vue?vue&type=script&lang=js\"\nexport * from \"./ClassificationBannerSettings.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","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!./SettingsTab.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!./SettingsTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SettingsTab.vue?vue&type=template&id=42e74eef\"\nimport script from \"./SettingsTab.vue?vue&type=script&lang=js\"\nexport * from \"./SettingsTab.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = indexOf(string, searchString);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n"],"names":["vueInstance","Vue","axiosInstance","axios","create","baseURL","location","origin","timeout","params","interceptors","response","use","error","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","OpenC3Auth","updateToken","defaultMinValidity","then","refreshed","setTokens","config","headers","includes","toString","Promise","reject","body","statusText","data","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","_v","staticClass","suppressedWarnings","length","attrs","model","value","selectAllSuppressedWarnings","callback","$$v","expression","_l","warning","key","text","selectedSuppressedWarnings","on","resetSuppressedWarnings","lastConfigs","selectAllLastConfigs","selectedLastConfigs","clearLastConfigs","sourceUrl","saveSourceUrl","sourceUrlErrorSaving","sourceUrlSuccessSaving","rubygemsUrl","saveRubygemsUrl","rubygemsUrlErrorSaving","rubygemsUrlSuccessSaving","pypiUrl","savePypiUrl","pypiUrlErrorSaving","pypiUrlSuccessSaving","staticRenderFns","OpenC3Api","constructor","_defineProperty","exec","method","kwparams","headerOptions","login","id","window","openc3Scope","post","jsonrpc","keyword_params","Authorization","localStorage","openc3Token","result","err","Error","name","request","decode_openc3_type","val","json_class","raw","NaN","Infinity","encode_openc3_type","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","ensure_offline_access","offline_access_needed","needed","openc3OfflineToken","set_offline_access","getOfflineAccess","offline_access_token","get_all_interface_info","map_target_to_interface","target_name","interface_name","connect_interface","interface_params","disconnect_interface","interface_cmd","command_name","command_params","get_all_router_info","connect_router","router_name","disconnect_router","get_target_interfaces","get_all_target_info","get_tlm_cnts","target_commands","get_item","target","packet","item","get_param","get_parameter","get_limits_sets","get_limits_set","set_limits_set","limits_set","get_target","get_target_names","get_target_list","get_tlm","packet_name","get_telemetry","get_all_tlm","get_all_telemetry","get_all_tlm_names","get_all_telemetry_names","get_tlm_packet","value_type","stale_time","type","len","converted","i","get_packet_derived_items","get_tlm_buffer","get_tlm_values","items","cache_timeout","kw_args","get_limits","item_name","tlm","undefined","inject_tlm","item_hash","set_tlm","override_tlm","get_overrides","normalize_tlm","get_all_cmds","get_all_commands","get_all_cmd_names","get_all_command_names","get_cmd","get_command","get_cmd_cnts","get_cmd_value","parameter_name","get_cmd_buffer","_cmd","param_list","Object","prototype","hasOwnProperty","call","get_cmd_hazardous","cmd","cmd_no_range_check","cmd_raw","cmd_raw_no_range_check","cmd_no_hazardous_check","cmd_no_checks","cmd_raw_no_hazardous_check","cmd_raw_no_checks","build_cmd","build_command","get_interface_names","send_raw","list_configs","tool","load_config","save_config","delete_config","enable_limits","disable_limits","get_out_of_limits","get_overall_limits_state","ignored","list_settings","get_all_settings","get_setting","get_settings","array","set_setting","save_setting","get_metrics","hashString","string","isSecureContext","arrayBuffer","TextEncoder","encode","hashAsArrayBuffer","crypto","subtle","digest","uint8ViewOfHash","Uint8Array","Array","from","map","b","padStart","join","errorLoading","_s","errorText","hideClock","save","errorSaving","successSaving","settingName","api","computed","saveObj","JSON","stringify","created","load","methods","parsed","parse","catch","component","colors","scopedSlots","_u","selectedBackgroundColor","fn","proxy","_e","customColorHint","rules","customColor","directives","rawName","customBackgroundColor","selectedFontColor","customFontColor","displayTopBanner","topHeight","displayBottomBanner","bottomHeight","formValid","test","fontColor","backgroundColor","watch","startsWith","components","AstroSettings","ClassificationBannerSettings","loadSuppressedWarnings","loadLastConfigs","loadSourceUrl","loadRubygemsUrl","loadPypiUrl","keys","filter","localStorageKeyToDisplayObject","deleteLocalStorageKeys","endsWith","split","replaceAll","charAt","toUpperCase","slice","isPrototypeOf","$TypeError","TypeError","module","exports","it","Prototype","uncurryThis","arraySlice","floor","Math","sort","comparefn","element","j","middle","left","right","llength","rlength","lindex","rindex","makeBuiltIn","defineProperty","descriptor","get","getter","set","setter","f","defineBuiltIn","src","options","aCallable","NATIVE_BIND","bind","that","apply","arguments","classofRaw","classof","getMethod","isNullOrUndefined","Iterators","wellKnownSymbol","ITERATOR","anObject","tryToString","getIteratorMethod","argument","usingIterator","iteratorMethod","ArrayPrototype","isObject","MATCH","isRegExp","hasOwn","regExpFlags","RegExpPrototype","RegExp","R","flags","$","requireObjectCoercible","isCallable","getRegExpFlags","getSubstitution","IS_PURE","REPLACE","indexOf","replace","stringSlice","max","proto","searchValue","replaceValue","IS_REG_EXP","replacer","searchString","functionalReplace","searchLength","advanceBy","replacement","O","position","endOfLastMatch"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[924],{5280:(e,s,t)=>{"use strict";t.d(s,{c:()=>i});var a=t(8128);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.c)({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})}}},8128:(e,s,t)=>{"use strict";t.d(s,{c:()=>i});var a=t(3700),o=t(5852);const n=new o["default"],r=a.c.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},3924:(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(8888),t(5280));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.c.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(9048);var d=t(3552),c=(0,d.c)(i,a,o,!1,null,"cebcf450",null);const p=c.exports},3644:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>d});var a=t(8304),o=t.n(a),n=t(1849),r=t.n(n),i=r()(o());i.push([e.id,".monospace[data-v-cebcf450]{font-family:monospace;font-size:20px}",""]);const d=i},9048:(e,s,t)=>{var a=t(3644);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var o=t(3124).c;o("7049c74e",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
+ //# sourceMappingURL=924.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js/537.js","mappings":"0KAwBA,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,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AmB,GAAG,qBAAqB,GAAG,sBAAsB,GAAG,MAAQ,GAAG,OAAS,WAAW,IAAI,EAC11D,EACIC,EAAkB,G,oBAsFtB,SACAhF,IAAAA,GACA,OACAqE,iBAAA,GACAI,cAAA,KACAK,cAAA,yBACA5E,QAAA,CACA,CAAA+E,KAAA,QAAAb,MAAA,QAAAc,MAAA,KACA,CAAAD,KAAA,UAAAb,MAAA,WACA,CAAAa,KAAA,WAAAb,MAAA,aAEAW,SAAA,GAEA,EACAI,QAAA,CACAjB,eAAA,SAAAkB,GACA,UAAAA,EAAAC,KAAA,KAAAR,YACA,EACAA,WAAA,WACA,KAAAJ,cAAA,KACAa,EAAAA,EAAA/D,KAAA,KAAAuD,cAAA,CACA9E,KAAA,KAAAqE,iBACAnE,QAAA,CACAgB,OAAA,mBACA,+BAEAwB,MAAAR,IACA,KAAAuC,cAAAvC,EAAAlC,KAAAuF,OACA,IAAAC,EAAA,YACA,gCAAAV,gBACAU,EAAA,cAEA,KAAAT,SAAAU,QAAA,CACAD,MAAAA,EACAE,QAAA,KAAArB,iBACAnC,SAAA,KAAAuC,eACA,GAEA,IC9H8T,I,sBCQ1TkB,GAAY,OACd,EACAlC,EACAuB,GACA,EACA,KACA,WACA,MAIF,QAAeW,EAAiB,O,sGChB5BC,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,oEAAqE,KAE9G,S,iBCJA,IAAIC,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQG,SAAQL,EAAOM,QAAUJ,EAAQG,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYL,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?6315","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?5bcd","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?51ab","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?6d40"],"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-card',[_c('v-card-title',[_vm._v(\" Send Raw Redis Commands \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._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 \"),_c('br'),_c('br'),_vm._v(\"\\n Enter commands like you would at the Redis cli prompt:\\n \"),_c('code',[_vm._v(\"ping\")]),_vm._v(\" or\\n \"),_c('code',[_vm._v(\"hget openc3__settings version\")])]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{staticClass:\"monospace\",attrs:{\"label\":\"Redis command\"},on:{\"keydown\":_vm.commandKeydown},model:{value:(_vm.redisCommandText),callback:function ($$v) {_vm.redisCommandText=$$v},expression:\"redisCommandText\"}}),_vm._v(\" \"),(_vm.redisResponse)?_c('span',{staticClass:\"monospace\"},[_vm._v(\"\\n Response: \"+_vm._s(_vm.redisResponse)+\"\\n \")]):_vm._e()],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2 mr-3\",attrs:{\"disabled\":!_vm.redisCommandText.length,\"color\":\"success\",\"text\":\"\"},on:{\"click\":_vm.executeRaw}},[_vm._v(\"\\n Execute\\n \")]),_vm._v(\" \"),_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.redisEndpoint),callback:function ($$v) {_vm.redisEndpoint=$$v},expression:\"redisEndpoint\"}},[_c('v-radio',{attrs:{\"label\":\"Persistent\",\"value\":\"/openc3-api/redis/exec\",\"data-test\":\"persistent-radio\"}}),_vm._v(\" \"),_c('v-radio',{attrs:{\"label\":\"Ephemeral\",\"value\":\"/openc3-api/redis/exec?ephemeral=1\",\"data-test\":\"ephemeral-radio\"}})],1)],1),_vm._v(\" \"),_c('v-data-table',{staticClass:\"monospace\",attrs:{\"headers\":_vm.headers,\"items\":_vm.commands,\"item-class\":\"monospace\",\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"dense\":\"\",\"height\":\"45vh\"}})],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!./RedisTab.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!./RedisTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RedisTab.vue?vue&type=template&id=cebcf450&scoped=true\"\nimport script from \"./RedisTab.vue?vue&type=script&lang=js\"\nexport * from \"./RedisTab.vue?vue&type=script&lang=js\"\nimport style0 from \"./RedisTab.vue?vue&type=style&index=0&id=cebcf450&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 \"cebcf450\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.monospace[data-v-cebcf450]{font-family:monospace;font-size:20px}`, \"\"]);\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!./RedisTab.vue?vue&type=style&index=0&id=cebcf450&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(\"7049c74e\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"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","_v","staticClass","attrs","on","commandKeydown","model","value","redisCommandText","callback","$$v","expression","redisResponse","_s","_e","length","executeRaw","redisEndpoint","commands","staticRenderFns","text","width","methods","$event","key","Api","result","redis","unshift","command","component","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","default","locals","exports","add"],"sourceRoot":""}
1
+ {"version":3,"file":"js/924.js","mappings":"0KAwBA,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,EAAM,QAAEC,EAAUiB,EAAkB,QAAEf,EAAO,OAAED,GAAW,CAAC,GAEnE,OAAOP,EAAQ,MAAOyB,EAAM,CAAErB,OAAMC,SAAQC,UAASE,UAASD,UAChE,EAEAoB,KAAM,SACJF,GACA,KAAErB,EAAI,OAAEC,EAAM,QAAEC,EAAUiB,EAAkB,Q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WAAAb,MAAA,aAEAW,SAAA,GAEA,EACAI,QAAA,CACAjB,eAAA,SAAAkB,GACA,UAAAA,EAAAC,KAAA,KAAAR,YACA,EACAA,WAAA,WACA,KAAAJ,cAAA,KACAa,EAAAA,EAAA/D,KAAA,KAAAuD,cAAA,CACA9E,KAAA,KAAAqE,iBACAnE,QAAA,CACAgB,OAAA,mBACA,+BAEAwB,MAAAR,IACA,KAAAuC,cAAAvC,EAAAlC,KAAAuF,OACA,IAAAC,EAAA,YACA,gCAAAV,gBACAU,EAAA,cAEA,KAAAT,SAAAU,QAAA,CACAD,MAAAA,EACAE,QAAA,KAAArB,iBACAnC,SAAA,KAAAuC,eACA,GAEA,IC9H8T,I,sBCQ1TkB,GAAY,OACd,EACAlC,EACAuB,GACA,EACA,KACA,WACA,MAIF,QAAeW,EAAiB,O,sGChB5BC,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,oEAAqE,KAE9G,S,iBCJA,IAAIC,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQG,SAAQL,EAAOM,QAAUJ,EAAQG,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYL,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?6315","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?5bcd","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?51ab","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?6d40"],"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-card',[_c('v-card-title',[_vm._v(\" Send Raw Redis Commands \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._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 \"),_c('br'),_c('br'),_vm._v(\"\\n Enter commands like you would at the Redis cli prompt:\\n \"),_c('code',[_vm._v(\"ping\")]),_vm._v(\" or\\n \"),_c('code',[_vm._v(\"hget openc3__settings version\")])]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{staticClass:\"monospace\",attrs:{\"label\":\"Redis command\"},on:{\"keydown\":_vm.commandKeydown},model:{value:(_vm.redisCommandText),callback:function ($$v) {_vm.redisCommandText=$$v},expression:\"redisCommandText\"}}),_vm._v(\" \"),(_vm.redisResponse)?_c('span',{staticClass:\"monospace\"},[_vm._v(\"\\n Response: \"+_vm._s(_vm.redisResponse)+\"\\n \")]):_vm._e()],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2 mr-3\",attrs:{\"disabled\":!_vm.redisCommandText.length,\"color\":\"success\",\"text\":\"\"},on:{\"click\":_vm.executeRaw}},[_vm._v(\"\\n Execute\\n \")]),_vm._v(\" \"),_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.redisEndpoint),callback:function ($$v) {_vm.redisEndpoint=$$v},expression:\"redisEndpoint\"}},[_c('v-radio',{attrs:{\"label\":\"Persistent\",\"value\":\"/openc3-api/redis/exec\",\"data-test\":\"persistent-radio\"}}),_vm._v(\" \"),_c('v-radio',{attrs:{\"label\":\"Ephemeral\",\"value\":\"/openc3-api/redis/exec?ephemeral=1\",\"data-test\":\"ephemeral-radio\"}})],1)],1),_vm._v(\" \"),_c('v-data-table',{staticClass:\"monospace\",attrs:{\"headers\":_vm.headers,\"items\":_vm.commands,\"item-class\":\"monospace\",\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"dense\":\"\",\"height\":\"45vh\"}})],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!./RedisTab.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!./RedisTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RedisTab.vue?vue&type=template&id=cebcf450&scoped=true\"\nimport script from \"./RedisTab.vue?vue&type=script&lang=js\"\nexport * from \"./RedisTab.vue?vue&type=script&lang=js\"\nimport style0 from \"./RedisTab.vue?vue&type=style&index=0&id=cebcf450&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 \"cebcf450\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.monospace[data-v-cebcf450]{font-family:monospace;font-size:20px}`, \"\"]);\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!./RedisTab.vue?vue&type=style&index=0&id=cebcf450&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(\"7049c74e\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"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","_v","staticClass","attrs","on","commandKeydown","model","value","redisCommandText","callback","$$v","expression","redisResponse","_s","_e","length","executeRaw","redisEndpoint","commands","staticRenderFns","text","width","methods","$event","key","Api","result","redis","unshift","command","component","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","default","locals","exports","add"],"sourceRoot":""}