openc3-cosmos-tool-tablemanager 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/tools/tablemanager/ArrayWidget-BTxChSds-4c7be81461f86bf1d1f4.js +2 -0
  3. data/tools/tablemanager/BarColumn-Cdu3OoMa-7ebc6bba2ec2b7443275.js +1 -0
  4. data/tools/tablemanager/BlockWidget-PmjzrkXF-7e44cd932e96ec1cb07e.js +2 -0
  5. data/tools/tablemanager/ButtonWidget-nwDlOBJT-599a2911a8b78bbce7da.js +2 -0
  6. data/tools/tablemanager/CanvasWidget-BL8930eT-a14d83a92021224f0626.js +1 -0
  7. data/tools/tablemanager/CanvasdotWidget-VCf1fL-G-8296c8ef351d05f7fd4c.js +1 -0
  8. data/tools/tablemanager/CanvasimageWidget-BIw7Wbf2-2ea750787f6ff181f1fa.js +1 -0
  9. data/tools/tablemanager/CanvasimagevalueWidget-CE3Dj5bH-62cb25a71058838c0d48.js +1 -0
  10. data/tools/tablemanager/CanvaslabelWidget-DWmb356h-c8de747a0875052f202a.js +1 -0
  11. data/tools/tablemanager/CanvaslabelvalueWidget-CI3yYwFs-8db0b41f4a616417b399.js +1 -0
  12. data/tools/tablemanager/CanvaslineWidget-COeapH3P-2e5d2368470440a25895.js +1 -0
  13. data/tools/tablemanager/CanvaslinevalueWidget-CI-Bbzfi-96c7dab8e2b034c361fd.js +1 -0
  14. data/tools/tablemanager/CheckbuttonWidget-BQhggcZ2-3e19c1e6c65109201ddc.js +1 -0
  15. data/tools/tablemanager/ComboboxWidget-BzsbOv54-12343d35a5e073a2a66d.js +1 -0
  16. data/tools/tablemanager/DateWidget-B5R_9rA8-97046c2ecfec14541bc0.js +1 -0
  17. data/tools/tablemanager/{DetailsDialog-EWjtBjle-48ad16dbf2121c7db04c.js → DetailsDialog-DLRMqetn-1b4bd3859b4c0f280356.js} +1 -1
  18. data/tools/tablemanager/DynamicWidget-m9EliUR2-4024998196afd5f66fe5.js +1 -0
  19. data/tools/tablemanager/FormatvalueWidget-DZkRJce8-bca26a9fbef9d7e71788.js +1 -0
  20. data/tools/tablemanager/GraphWidget-amwxyH1r-676c999496f7b52e6f0b.js +1 -0
  21. data/tools/tablemanager/HorizontalWidget-CirtfuL8-8924c9ec652986724f14.js +1 -0
  22. data/tools/tablemanager/HorizontalboxWidget-CyTDt2nl-b358e5d8b599e442a248.js +1 -0
  23. data/tools/tablemanager/HorizontallineWidget-BdlNB951-652e6bb14cb73644c5c4.js +1 -0
  24. data/tools/tablemanager/IframeWidget-DnJmCrCA-245ffa4ae4a62eb99d36.js +1 -0
  25. data/tools/tablemanager/{ImageLoader-CDLQopxJ-b362c5b6b2dc94a1927c.js → ImageLoader-CpcR6tPi-51dd38612be20c408708.js} +1 -1
  26. data/tools/tablemanager/ImageviewerWidget-DIkmb_C9-b26e9b8b7fb3fb11abed.js +1 -0
  27. data/tools/tablemanager/LabelWidget-BDsypYho-dcd6d462ce2ed62b0354.js +1 -0
  28. data/tools/tablemanager/LabelledWidget-DjturGl5-569d7335b7abf3a46a7b.js +1 -0
  29. data/tools/tablemanager/LabelprogressbarWidget-RADJGLj3-e8bc2350bdaffeeff707.js +1 -0
  30. data/tools/tablemanager/LabelsparklineWidget-BlJoICxu-42bba4884be7553addea.js +1 -0
  31. data/tools/tablemanager/LabelvalueWidget-DVWJqnlY-4c7298007ae6cd53ac24.js +1 -0
  32. data/tools/tablemanager/LabelvaluedescWidget-CsUP7J4U-4d36453d8b9949722fdb.js +1 -0
  33. data/tools/tablemanager/LabelvaluelimitsbarWidget-Blj1QXV8-602a32c20e82e376a3bc.js +1 -0
  34. data/tools/tablemanager/LabelvaluelimitscolumnWidget-CvCo-uCe-ee9e3a00f463fcaa8406.js +1 -0
  35. data/tools/tablemanager/LabelvaluerangebarWidget-DpcXhlfF-78d678cfd24776df07ae.js +1 -0
  36. data/tools/tablemanager/{Layout-klOVw-YN-945c9339f451bef7e299.js → Layout-C1HoM4Kl-d9b72a724670a2a49805.js} +1 -1
  37. data/tools/tablemanager/LedWidget-B_K2e5tq-9942abb86d2119003a15.js +1 -0
  38. data/tools/tablemanager/LimitsbarWidget-DXbqsi4J-b81a41599540cc069630.js +1 -0
  39. data/tools/tablemanager/LimitscolorWidget-Ckmuw0YX-d4e7a9e88649d2bac4c4.js +1 -0
  40. data/tools/tablemanager/LimitscolumnWidget-BfY4su5U-d7c978be2b1498fd49d5.js +1 -0
  41. data/tools/tablemanager/LinegraphWidget-y-Qy9P0R-ed3714afcf15eb1cc911.js +1 -0
  42. data/tools/tablemanager/MatrixbycolumnsWidget-BTBColrs-1ac469dfc8a92414edcc.js +1 -0
  43. data/tools/tablemanager/ProgressbarWidget-DpA_-vy9-efaa0616ed6739f8d034.js +1 -0
  44. data/tools/tablemanager/RadiobuttonWidget-BO8zpgwW-1173e100ad584dd8423d.js +1 -0
  45. data/tools/tablemanager/RadiogroupWidget-Oy7V4S-V-6771560f7acba217e856.js +1 -0
  46. data/tools/tablemanager/RangebarWidget-DHS7S3vI-dd35439083d052dc4430.js +1 -0
  47. data/tools/tablemanager/RollupWidget-CTk9Kjwr-2a70c797f16bad65c1c2.js +1 -0
  48. data/tools/tablemanager/ScrollwindowWidget-DD0TOW6s-15301f1fb16a68ef8017.js +1 -0
  49. data/tools/tablemanager/SignalWidget-CC33KMTW-59ee45b8bb122f9f86fb.js +1 -0
  50. data/tools/tablemanager/SpacerWidget-BnJe_Hq6-d9d355d970666d06d14d.js +1 -0
  51. data/tools/tablemanager/SparklineWidget-DMvMQCPm-c1eb0aac54b9ed67c5d1.js +1 -0
  52. data/tools/tablemanager/TabbookWidget-B3w0JtWe-e60dce13a103c3a267d7.js +1 -0
  53. data/tools/tablemanager/TableManager-4d6cd5e88be36ef98f22.js +10 -0
  54. data/tools/tablemanager/TextboxWidget-D2f0-eol-4fdbcb25e29b50f118f5.js +1 -0
  55. data/tools/tablemanager/TextfieldWidget-DXSdgqVP-15d9841bdf4a83b7a686.js +1 -0
  56. data/tools/tablemanager/TimeWidget-DvrRaEMz-240c9fa16748f3db373b.js +1 -0
  57. data/tools/tablemanager/TitleWidget-DqViFQl--154f86314dab158bea86.js +1 -0
  58. data/tools/tablemanager/{VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js → VWidget-02CG-3Av-078bbd0f0405e6aa73ed.js} +1 -1
  59. data/tools/tablemanager/ValueWidget-KLYY8L8U-755aeff02f2198f3a6c1.js +1 -0
  60. data/tools/tablemanager/ValuelimitsbarWidget-SR8XNZFB-128a10f660f0657add6c.js +1 -0
  61. data/tools/tablemanager/ValuelimitscolumnWidget-xYZSp6YZ-ebbd1740879726e75ef3.js +1 -0
  62. data/tools/tablemanager/ValuerangebarWidget-B6M02a9d-9dbda148765d75adbbb7.js +1 -0
  63. data/tools/tablemanager/VerticalWidget-z6xUM-ql-ac996801e51342fd6e24.js +1 -0
  64. data/tools/tablemanager/VerticalboxWidget-3a9cVsW--fb21a3b06b96e9db97ac.js +1 -0
  65. data/tools/tablemanager/{Widget-orNSvnOh-6875cac048a7f8a1cb7e.js → Widget-C4QVI4IH-3f6647936adce5c38a68.js} +1 -1
  66. data/tools/tablemanager/{main-d2f01c5f64af7a18d0cd.js → main-74ac7eecdb0666c6a3ed.js} +34 -34
  67. data/tools/tablemanager/main.js +1 -1
  68. metadata +67 -67
  69. data/tools/tablemanager/ArrayWidget-By62tXtU-a5e441ab6bd961c1e81c.js +0 -2
  70. data/tools/tablemanager/BarColumn-Dm3D1Lhp-6533ffcfb1380d6338bb.js +0 -1
  71. data/tools/tablemanager/BlockWidget-CrT45ode-18bc995028ac0345c3d1.js +0 -2
  72. data/tools/tablemanager/ButtonWidget-CKyBBv6m-2cd5e39646f8530184f8.js +0 -2
  73. data/tools/tablemanager/CanvasWidget-PqkppHC7-e32c02172a5d78dc5d34.js +0 -1
  74. data/tools/tablemanager/CanvasdotWidget-BUbJgM2d-d63a85366cd2542462b8.js +0 -1
  75. data/tools/tablemanager/CanvasimageWidget-DPVBY7mi-7fd5e1163ad1cb425a05.js +0 -1
  76. data/tools/tablemanager/CanvasimagevalueWidget-GX37zzNc-c0065c34b15078f5ce90.js +0 -1
  77. data/tools/tablemanager/CanvaslabelWidget-P2_Y6Edw-b20ca44827358baf3b26.js +0 -1
  78. data/tools/tablemanager/CanvaslabelvalueWidget-Cuas1i9P-beb2ba0c015b3e257b57.js +0 -1
  79. data/tools/tablemanager/CanvaslineWidget-BYOYgPya-d0a8111f6986cce6581e.js +0 -1
  80. data/tools/tablemanager/CanvaslinevalueWidget-3cVJMFo7-ffad64909baa62c5a2e1.js +0 -1
  81. data/tools/tablemanager/CheckbuttonWidget-B3wgSMuB-43966d31f7d768117846.js +0 -1
  82. data/tools/tablemanager/ComboboxWidget-Dzr4Scvf-402e1d4fcd80b9582c44.js +0 -1
  83. data/tools/tablemanager/DateWidget-BWh76Ibb-52cd25419503f543891b.js +0 -1
  84. data/tools/tablemanager/DynamicWidget-m9EliUR2-c4b55d29163a62eac2ea.js +0 -1
  85. data/tools/tablemanager/FormatvalueWidget-Rk0_eeIm-1b3e21d2a5a302ca1990.js +0 -1
  86. data/tools/tablemanager/GraphWidget-LqekkNDr-6b6215e7f20aec9e893a.js +0 -1
  87. data/tools/tablemanager/HorizontalWidget-BcfJ24Zn-366041882fc79759fff9.js +0 -1
  88. data/tools/tablemanager/HorizontalboxWidget-CQy1Hv9E-6cf8ffc2ffd7f3d9eecb.js +0 -1
  89. data/tools/tablemanager/HorizontallineWidget-BdlNB951-731b37ae194e5392d988.js +0 -1
  90. data/tools/tablemanager/IframeWidget-BBaDrRLo-1691275ef8f872dd859d.js +0 -1
  91. data/tools/tablemanager/ImageviewerWidget-BgO3Pq6I-cef3c980302a9dc4c7cb.js +0 -1
  92. data/tools/tablemanager/LabelWidget-B_C6lKOE-ceb4de5192a33b189717.js +0 -1
  93. data/tools/tablemanager/LabelledWidget-B_UGivhr-dfa95d46573ea9ee233c.js +0 -1
  94. data/tools/tablemanager/LabelprogressbarWidget-BJWCmsYC-358d5b49f6cc975c00d0.js +0 -1
  95. data/tools/tablemanager/LabelsparklineWidget-DILCIh3q-b2f627be5070fe54ab1b.js +0 -1
  96. data/tools/tablemanager/LabelvalueWidget-CCZd1NXE-ade0fc6eca78677f5357.js +0 -1
  97. data/tools/tablemanager/LabelvaluedescWidget-Bsllq8W6-7c0ebcdd34ddad0cba20.js +0 -1
  98. data/tools/tablemanager/LabelvaluelimitsbarWidget-BV-cfaD--6d88b4a9a59bd9012418.js +0 -1
  99. data/tools/tablemanager/LabelvaluelimitscolumnWidget-DwA0eRBw-9c19de6f6ab68e6749ec.js +0 -1
  100. data/tools/tablemanager/LabelvaluerangebarWidget-3GDJz3dj-3c48f97fd9d7e2010954.js +0 -1
  101. data/tools/tablemanager/LedWidget-BAt02s0J-24e0f7ddc071ffbd79db.js +0 -1
  102. data/tools/tablemanager/LimitsbarWidget-JJiyzZjb-c65c064bfae876acd221.js +0 -1
  103. data/tools/tablemanager/LimitscolorWidget-CYzXKbYd-7735f2996a321adf879e.js +0 -1
  104. data/tools/tablemanager/LimitscolumnWidget-Cd76tBo7-dbd1b628a6d3617486f4.js +0 -1
  105. data/tools/tablemanager/LinegraphWidget-DWRtO6Ej-752592d1523334dfd146.js +0 -1
  106. data/tools/tablemanager/MatrixbycolumnsWidget-cwsyjNV2-7faf06bbfa486114391d.js +0 -1
  107. data/tools/tablemanager/ProgressbarWidget-CYDziFej-e111a46921e4ee3af56d.js +0 -1
  108. data/tools/tablemanager/RadiobuttonWidget-U6jcQZoD-a2b032cb8f4409e4a9b4.js +0 -1
  109. data/tools/tablemanager/RadiogroupWidget-HTPJnsB0-94851c581ced37702658.js +0 -1
  110. data/tools/tablemanager/RangebarWidget-DW0FJK6y-9f7d979be718500151b6.js +0 -1
  111. data/tools/tablemanager/RollupWidget-B2qrx55f-a8ba8c8a5c957b996a20.js +0 -1
  112. data/tools/tablemanager/ScrollwindowWidget-CwIDxgO6-fcff75f0a891d612d988.js +0 -1
  113. data/tools/tablemanager/SignalWidget-Bosa3AbW-fffc754c3c046f66fa5d.js +0 -1
  114. data/tools/tablemanager/SpacerWidget-DYAlt5mt-11e4549a313cb7735b3e.js +0 -1
  115. data/tools/tablemanager/SparklineWidget-CDrVXOFV-7d0de925e5fe71338408.js +0 -1
  116. data/tools/tablemanager/TabbookWidget-DDdlzCkv-bc06202601c10b07febe.js +0 -1
  117. data/tools/tablemanager/TableManager-cef9dda0483267a1bd4f.js +0 -10
  118. data/tools/tablemanager/TextboxWidget-5euFelEq-c48e91c2a70fbf489e5e.js +0 -1
  119. data/tools/tablemanager/TextfieldWidget-BFripYeh-d55da2824bb7129ad8d2.js +0 -1
  120. data/tools/tablemanager/TimeWidget-BBSbsUYJ-46a303496f752cb5d70d.js +0 -1
  121. data/tools/tablemanager/TitleWidget-p8cjo-Bs-1a55060ee981c19dba78.js +0 -1
  122. data/tools/tablemanager/ValueWidget-CZh7JWwT-7269b90a9cf3701166be.js +0 -1
  123. data/tools/tablemanager/ValuelimitsbarWidget-DU7ybswC-a8ebafed15da13b05492.js +0 -1
  124. data/tools/tablemanager/ValuelimitscolumnWidget-DMw-h5jM-1b76b97cab832532dd27.js +0 -1
  125. data/tools/tablemanager/ValuerangebarWidget-DPpofDpA-f7ad8a72b09393bb2544.js +0 -1
  126. data/tools/tablemanager/VerticalWidget-Ch7VAEmz-5c5b743c2ddc92136a4b.js +0 -1
  127. data/tools/tablemanager/VerticalboxWidget-DYx-TFT4-7b65533aa838da17bd59.js +0 -1
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","vue-router","vuex","vuetify"],function(h,d){"use strict";var r,l,c,a,o,u;return{setters:[t=>{r=t.o},t=>{l=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function m(e,n,s,b,E,i){const p=l("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o(i.pointerStyle),icon:e.icon,status:i.status,label:e.label,sublabel:e.subLabel,onClick:i.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=h("default",u(t,[["render",m]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-945c9339f451bef7e299.js","./VerticalWidget-Ch7VAEmz-5c5b743c2ddc92136a4b.js","vue","./main-d2f01c5f64af7a18d0cd.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue-router","vuex","vuetify"],function(d,k){"use strict";var l,c,r,i,o,m,u,g,p,f,v;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{r=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,m=e.Fragment,u=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{v=e.s},null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,s,B,N,z){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(m,null,u(n.widgets,(t,h)=>(r(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const w=d("default",v(e,[["render",y]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue","./main-d2f01c5f64af7a18d0cd.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue-router","vuex","vuetify"],function(h,m){"use strict";var r,a,s,n,i,l,c,o;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.openBlock,n=t.createBlock,i=t.withCtx,l=t.createTextVNode,c=t.toDisplayString},t=>{o=t.s},null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function p(e,v,B,f,k,u){const d=a("v-icon");return s(),n(d,{onClick:u.clickHandler},{default:i(()=>[l(c(u.displayedIcon),1)]),_:1},8,["onClick"])}const g=h("default",o(t,[["render",p]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","vue-router","vuex","vuetify"],function(i,c){"use strict";var t,n,s,r,l;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,r=e.normalizeStyle},e=>{l=e.s},null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(o,m,h,p,v,d){return n(),s("div",{style:r(o.computedStyle)},null,4)}const a=i("default",l(e,[["render",u]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./GraphWidget-LqekkNDr-6b6215e7f20aec9e893a.js","./main-d2f01c5f64af7a18d0cd.js","vue","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue-router","vuex","vuetify"],function(p,c){"use strict";var i,s,n,r,a,o,d;return{setters:[t=>{i=t.S,s=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.openBlock,o=t.createBlock,d=t.normalizeStyle},null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function h(e,g,m,v,S,f){const l=r("graph");return a(),o(l,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=p("default",n(t,[["render",h]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-945c9339f451bef7e299.js","vue","./main-d2f01c5f64af7a18d0cd.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue-router","vuex","vuetify"],function(k,_){"use strict";var p,l,n,s,g,v,i,c,o,u,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createElementBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,c=e.Fragment,o=e.renderList,u=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.s},null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function T(t,m,z,D,L,j){const x=l("v-tab"),N=l("v-tabs"),S=l("v-window-item"),B=l("v-window");return n(),s("div",null,[g(N,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(S,{key:d},{default:i(()=>[(n(!0),s(c,null,o(a.widgets,(r,C)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${C}`,target:r.target,parameters:r.parameters,settings:r.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:r.widgets,name:r.name,line:r.line,"line-number":r.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const h=k("default",V(e,[["render",T]]))}}});
@@ -1,10 +0,0 @@
1
- System.register(["./main-d2f01c5f64af7a18d0cd.js","vue","./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js"],function(Nt,Dr){"use strict";var we,se,Me,y,E,O,f,h,U,L,ve,xe,S,ze,B,$,W,Ee,ae,ke,K,Se,$e;return{setters:[k=>{we=k.s,se=k._,Me=k.j},k=>{y=k.resolveComponent,E=k.openBlock,O=k.createBlock,f=k.withCtx,h=k.createVNode,U=k.createElementVNode,L=k.toDisplayString,ve=k.normalizeProps,xe=k.guardReactiveProps,S=k.createTextVNode,ze=k.Teleport,B=k.createElementBlock,$=k.Fragment,W=k.renderList,Ee=k.mergeProps,ae=k.createSlots,ke=k.normalizeStyle,K=k.createCommentVNode,Se=k.withModifiers},k=>{$e=k.k},null,null,null,null],execute:function(){var k=document.createElement("style");k.textContent=`.filename[data-v-3e18cdee]{background-color:var(--color-background-base-default)}
2
- /*$vite$:1*/`,document.head.appendChild(k);const jt={props:{modelValue:Boolean,text:String,title:String,width:{type:Number,default:800}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},methods:{download:function(){const t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download",`${this.title}.txt`),e.click()}}},Ft={class:"mx-2"},Ut={class:"pa-3"},Dt={class:"text"};function Pt(t,e,n,r,o,i){const s=y("v-spacer"),l=y("v-icon"),u=y("v-tooltip"),c=y("v-toolbar"),d=y("v-card-text"),m=y("v-btn"),g=y("v-card-actions"),b=y("v-card"),_=y("v-dialog");return E(),O(_,{modelValue:i.show,"onUpdate:modelValue":e[1]||(e[1]=p=>i.show=p),width:n.width,scrollable:""},{default:f(()=>[h(b,null,{default:f(()=>[h(c,{height:"24"},{default:f(()=>[h(s),U("span",null,L(n.title),1),h(s),U("div",Ft,[h(u,{location:"top"},{activator:f(({props:p})=>[U("div",ve(xe(p)),[h(l,{"data-test":"downloadIcon",onClick:i.download},{default:f(()=>e[2]||(e[2]=[S(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:f(()=>[e[3]||(e[3]=U("span",null," Download ",-1))]),_:1})])]),_:1}),h(d,{style:{"max-height":"80vh"}},{default:f(()=>[U("div",Ut,[U("span",Dt,L(n.text),1)])]),_:1}),h(g,{class:"px-2"},{default:f(()=>[h(s),h(m,{variant:"flat",onClick:e[0]||(e[0]=p=>i.show=!i.show)},{default:f(()=>e[4]||(e[4]=[S(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","width"])}const Bt=we(jt,[["render",Pt],["__scopeId","data-v-a60ace75"]]),Vt={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()},subMenuClick(t){t.command(t),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},It={class:"app-title mr-2"},Lt=["textContent"];function qt(t,e,n,r,o,i){const s=y("v-col"),l=y("v-row"),u=y("v-icon"),c=y("v-btn"),d=y("v-divider"),m=y("v-list-item-title"),g=y("v-list-item"),b=y("v-list"),_=y("v-menu"),p=y("v-radio"),A=y("v-list-item-action"),R=y("v-radio-group"),T=y("v-checkbox");return E(),O(ze,{to:"#openc3-menu"},[h(l,{"no-gutters":""},{default:f(()=>[h(s,{"align-self":"end"},{default:f(()=>[U("span",It,L(n.title),1)]),_:1})]),_:1}),h(l,{dense:"",class:"flex-nowrap"},{default:f(()=>[(E(!0),B($,null,W(n.menus,(D,H)=>(E(),O(_,{ref_for:!0,ref:"topmenu",key:H},{activator:f(({props:w})=>[h(c,Ee({ref_for:!0},w,{variant:"outlined",class:"mx-1 menu-button","data-test":i.formatDT(`${n.title} ${D.label}`)}),{default:f(()=>[U("span",{textContent:L(D.label)},null,8,Lt),h(u,{class:"myicon",end:""},{default:f(()=>e[0]||(e[0]=[S(" mdi-menu-down ")])),_:1})]),_:2},1040,["data-test"])]),default:f(()=>[h(b,null,{default:f(()=>[(E(!0),B($,null,W(D.items,(w,P)=>(E(),B($,null,[w.divider?(E(),O(d,{key:P+"-divider"})):w.subMenu&&w.subMenu.length>0?(E(),B("div",{key:P+"-submenu"},[(E(),O(_,{"open-on-hover":"",location:"right",key:P},{activator:f(({props:N})=>[(E(),O(g,Ee({ref_for:!0},N,{disabled:w.disabled,key:P}),ae({append:f(()=>[h(u,null,{default:f(()=>e[1]||(e[1]=[S(" mdi-chevron-right ")])),_:1})]),default:f(()=>[!w.radio&&!w.checkbox?(E(),O(m,{key:0,style:ke("cursor: pointer;"+(w.disabled?"opacity: 0.2":""))},{default:f(()=>[S(L(w.label),1)]),_:2},1032,["style"])):K("",!0)]),_:2},[w.icon?{name:"prepend",fn:f(()=>[h(u,{disabled:w.disabled},{default:f(()=>[S(L(w.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:f(()=>[h(b,null,{default:f(()=>[(E(!0),B($,null,W(w.subMenu,(N,z)=>(E(),O(g,{key:z,"prepend-icon":N.icon,onClick:Z=>i.subMenuClick(N)},{default:f(()=>[h(m,null,{default:f(()=>[S(L(N.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):w.radioGroup?(E(),O(R,{"model-value":w.value,"onUpdate:modelValue":w.command,key:P+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:f(()=>[(E(!0),B($,null,W(w.choices,(N,z)=>(E(),O(g,{key:z+"-choice"},{default:f(()=>[h(A,{class:"list-action"},{default:f(()=>[h(p,{color:"secondary",label:N.label,value:N.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(E(),O(g,{onClick:N=>w.command(w),disabled:w.disabled,"data-test":i.formatDT(`${n.title} ${D.label} ${w.label}`),key:P+"-list"},ae({default:f(()=>[w.checkbox?(E(),O(A,{key:0,class:"list-action"},{default:f(()=>[h(T,{modelValue:w.checked,"onUpdate:modelValue":N=>w.checked=N,label:w.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):K("",!0),!w.radio&&!w.checkbox?(E(),O(m,{key:1,style:ke("cursor: pointer;"+(w.disabled?"opacity: 0.2":""))},{default:f(()=>[S(L(w.label),1)]),_:2},1032,["style"])):K("",!0)]),_:2},[w.icon?{name:"prepend",fn:f(()=>[h(u,{icon:w.icon,disabled:w.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const Mt=we(Vt,[["render",qt],["__scopeId","data-v-0fdf6c8a"]]);var zt=Object.defineProperty,$t=(t,e,n)=>e in t?zt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ht=(t,e,n)=>$t(t,e+"",n);function He(t,e){return function(){return t.apply(e,arguments)}}const{toString:Wt}=Object.prototype,{getPrototypeOf:Oe}=Object,le=(t=>e=>{const n=Wt.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),q=t=>(t=t.toLowerCase(),e=>le(e)===t),ce=t=>e=>typeof e===t,{isArray:Y}=Array,te=ce("undefined");function Kt(t){return t!==null&&!te(t)&&t.constructor!==null&&!te(t.constructor)&&I(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const We=q("ArrayBuffer");function Jt(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&We(t.buffer),e}const Gt=ce("string"),I=ce("function"),Ke=ce("number"),ue=t=>t!==null&&typeof t=="object",Xt=t=>t===!0||t===!1,de=t=>{if(le(t)!=="object")return!1;const e=Oe(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Yt=q("Date"),Qt=q("File"),Zt=q("Blob"),en=q("FileList"),tn=t=>ue(t)&&I(t.pipe),nn=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||I(t.append)&&((e=le(t))==="formdata"||e==="object"&&I(t.toString)&&t.toString()==="[object FormData]"))},rn=q("URLSearchParams"),[on,sn,an,ln]=["ReadableStream","Request","Response","Headers"].map(q),cn=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ne(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),Y(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let l;for(r=0;r<s;r++)l=i[r],e.call(null,t[l],l,t)}}function Je(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const J=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ge=t=>!te(t)&&t!==J;function Te(){const{caseless:t}=Ge(this)&&this||{},e={},n=(r,o)=>{const i=t&&Je(e,o)||o;de(e[i])&&de(r)?e[i]=Te(e[i],r):de(r)?e[i]=Te({},r):Y(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&ne(arguments[r],n);return e}const un=(t,e,n,{allOwnKeys:r}={})=>(ne(e,(o,i)=>{n&&I(o)?t[i]=He(o,n):t[i]=o},{allOwnKeys:r}),t),dn=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),fn=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},pn=(t,e,n,r)=>{let o,i,s;const l={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!l[s]&&(e[s]=t[s],l[s]=!0);t=n!==!1&&Oe(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},mn=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},hn=t=>{if(!t)return null;if(Y(t))return t;let e=t.length;if(!Ke(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},_n=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Oe(Uint8Array)),gn=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const o=r.value;e.call(t,o[0],o[1])}},bn=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},yn=q("HTMLFormElement"),wn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),Xe=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),vn=q("RegExp"),Ye=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};ne(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},xn=t=>{Ye(t,(e,n)=>{if(I(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(I(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},En=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Y(t)?r(t):r(String(t).split(e)),n},kn=()=>{},Sn=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,Re="abcdefghijklmnopqrstuvwxyz",Qe="0123456789",Ze={DIGIT:Qe,ALPHA:Re,ALPHA_DIGIT:Re+Re.toUpperCase()+Qe},On=(t=16,e=Ze.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function Tn(t){return!!(t&&I(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Rn=t=>{const e=new Array(10),n=(r,o)=>{if(ue(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=Y(r)?[]:{};return ne(r,(s,l)=>{const u=n(s,o+1);!te(u)&&(i[l]=u)}),e[o]=void 0,i}}return r};return n(t,0)},An=q("AsyncFunction"),Cn=t=>t&&(ue(t)||I(t))&&I(t.then)&&I(t.catch),et=((t,e)=>t?setImmediate:e?((n,r)=>(J.addEventListener("message",({source:o,data:i})=>{o===J&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),J.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",I(J.postMessage)),Nn=typeof queueMicrotask<"u"?queueMicrotask.bind(J):typeof process<"u"&&process.nextTick||et,a={isArray:Y,isArrayBuffer:We,isBuffer:Kt,isFormData:nn,isArrayBufferView:Jt,isString:Gt,isNumber:Ke,isBoolean:Xt,isObject:ue,isPlainObject:de,isReadableStream:on,isRequest:sn,isResponse:an,isHeaders:ln,isUndefined:te,isDate:Yt,isFile:Qt,isBlob:Zt,isRegExp:vn,isFunction:I,isStream:tn,isURLSearchParams:rn,isTypedArray:_n,isFileList:en,forEach:ne,merge:Te,extend:un,trim:cn,stripBOM:dn,inherits:fn,toFlatObject:pn,kindOf:le,kindOfTest:q,endsWith:mn,toArray:hn,forEachEntry:gn,matchAll:bn,isHTMLForm:yn,hasOwnProperty:Xe,hasOwnProp:Xe,reduceDescriptors:Ye,freezeMethods:xn,toObjectSet:En,toCamelCase:wn,noop:kn,toFiniteNumber:Sn,findKey:Je,global:J,isContextDefined:Ge,ALPHABET:Ze,generateString:On,isSpecCompliantForm:Tn,toJSONObject:Rn,isAsyncFn:An,isThenable:Cn,setImmediate:et,asap:Nn};function v(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}a.inherits(v,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const tt=v.prototype,nt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{nt[t]={value:t}}),Object.defineProperties(v,nt),Object.defineProperty(tt,"isAxiosError",{value:!0}),v.from=(t,e,n,r,o,i)=>{const s=Object.create(tt);return a.toFlatObject(t,s,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),v.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const jn=null;function Ae(t){return a.isPlainObject(t)||a.isArray(t)}function rt(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function ot(t,e,n){return t?t.concat(e).map(function(r,o){return r=rt(r),!n&&o?"["+r+"]":r}).join(n?".":""):e}function Fn(t){return a.isArray(t)&&!t.some(Ae)}const Un=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function fe(t,e,n){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,_){return!a.isUndefined(_[b])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(o))throw new TypeError("visitor must be a function");function u(b){if(b===null)return"";if(a.isDate(b))return b.toISOString();if(!l&&a.isBlob(b))throw new v("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(b)||a.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,_,p){let A=b;if(b&&!p&&typeof b=="object"){if(a.endsWith(_,"{}"))_=r?_:_.slice(0,-2),b=JSON.stringify(b);else if(a.isArray(b)&&Fn(b)||(a.isFileList(b)||a.endsWith(_,"[]"))&&(A=a.toArray(b)))return _=rt(_),A.forEach(function(R,T){!(a.isUndefined(R)||R===null)&&e.append(s===!0?ot([_],T,i):s===null?_:_+"[]",u(R))}),!1}return Ae(b)?!0:(e.append(ot(p,_,i),u(b)),!1)}const d=[],m=Object.assign(Un,{defaultVisitor:c,convertValue:u,isVisitable:Ae});function g(b,_){if(!a.isUndefined(b)){if(d.indexOf(b)!==-1)throw Error("Circular reference detected in "+_.join("."));d.push(b),a.forEach(b,function(p,A){(!(a.isUndefined(p)||p===null)&&o.call(e,p,a.isString(A)?A.trim():A,_,m))===!0&&g(p,_?_.concat(A):[A])}),d.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return g(t),e}function it(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Ce(t,e){this._pairs=[],t&&fe(t,this,e)}const st=Ce.prototype;st.append=function(t,e){this._pairs.push([t,e])},st.toString=function(t){const e=t?function(n){return t.call(this,n,it)}:it;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function Dn(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function at(t,e,n){if(!e)return t;const r=n&&n.encode||Dn;a.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(e,n):i=a.isURLSearchParams(e)?e.toString():new Ce(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class lt{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(n){n!==null&&e(n)})}}const ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Pn=typeof URLSearchParams<"u"?URLSearchParams:Ce,Bn=typeof FormData<"u"?FormData:null,Vn=typeof Blob<"u"?Blob:null,In={isBrowser:!0,classes:{URLSearchParams:Pn,FormData:Bn,Blob:Vn},protocols:["http","https","file","blob","url","data"]},Ne=typeof window<"u"&&typeof document<"u",je=typeof navigator=="object"&&navigator||void 0,Ln=Ne&&(!je||["ReactNative","NativeScript","NS"].indexOf(je.product)<0),qn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mn=Ne&&window.location.href||"http://localhost",zn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ne,hasStandardBrowserEnv:Ln,hasStandardBrowserWebWorkerEnv:qn,navigator:je,origin:Mn},Symbol.toStringTag,{value:"Module"})),j={...zn,...In};function $n(t,e){return fe(t,new j.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return j.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Hn(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Wn(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function ut(t){function e(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),u=i>=n.length;return s=!s&&a.isArray(o)?o.length:s,u?(a.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!a.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&a.isArray(o[s])&&(o[s]=Wn(o[s])),!l)}if(a.isFormData(t)&&a.isFunction(t.entries)){const n={};return a.forEachEntry(t,(r,o)=>{e(Hn(r),o,n,0)}),n}return null}function Kn(t,e,n){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}const re={transitional:ct,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return r?JSON.stringify(ut(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return $n(t,this.formSerializer).toString();if((i=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return fe(i?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),Kn(t)):t}],transformResponse:[function(t){const e=this.transitional||re.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||r)){const o=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?v.from(i,v.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],t=>{re.headers[t]={}});const Jn=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gn=t=>{const e={};let n,r,o;return t&&t.split(`
3
- `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||e[n]&&Jn[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},dt=Symbol("internals");function oe(t){return t&&String(t).trim().toLowerCase()}function pe(t){return t===!1||t==null?t:a.isArray(t)?t.map(pe):String(t)}function Xn(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Yn=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Fe(t,e,n,r,o){if(a.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!a.isString(e)){if(a.isString(r))return e.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(e)}}function Qn(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Zn(t,e){const n=a.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class V{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(l,u,c){const d=oe(u);if(!d)throw new Error("header name must be a non-empty string");const m=a.findKey(o,d);(!m||o[m]===void 0||c===!0||c===void 0&&o[m]!==!1)&&(o[m||u]=pe(l))}const s=(l,u)=>a.forEach(l,(c,d)=>i(c,d,u));if(a.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(a.isString(e)&&(e=e.trim())&&!Yn(e))s(Gn(e),n);else if(a.isHeaders(e))for(const[l,u]of e.entries())i(u,l,r);else e!=null&&i(n,e,r);return this}get(e,n){if(e=oe(e),e){const r=a.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return Xn(o);if(a.isFunction(n))return n.call(this,o,r);if(a.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=oe(e),e){const r=a.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Fe(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=oe(s),s){const l=a.findKey(r,s);l&&(!n||Fe(r,r[l],l,n))&&(delete r[l],o=!0)}}return a.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Fe(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return a.forEach(this,(o,i)=>{const s=a.findKey(r,i);if(s){n[s]=pe(o),delete n[i];return}const l=e?Qn(i):String(i).trim();l!==i&&delete n[i],n[l]=pe(o),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return a.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
4
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const n=(this[dt]=this[dt]={accessors:{}}).accessors,r=this.prototype;function o(i){const s=oe(i);n[s]||(Zn(r,i),n[s]=!0)}return a.isArray(e)?e.forEach(o):o(e),this}}V.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(V.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),a.freezeMethods(V);function Ue(t,e){const n=this||re,r=e||n,o=V.from(r.headers);let i=r.data;return a.forEach(t,function(s){i=s.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function ft(t){return!!(t&&t.__CANCEL__)}function Q(t,e,n){v.call(this,t??"canceled",v.ERR_CANCELED,e,n),this.name="CanceledError"}a.inherits(Q,v,{__CANCEL__:!0});function pt(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new v("Request failed with status code "+n.status,[v.ERR_BAD_REQUEST,v.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function er(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function tr(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=r[i];s||(s=u),n[o]=l,r[o]=u;let d=i,m=0;for(;d!==o;)m+=n[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-s<e)return;const g=c&&u-c;return g?Math.round(m*1e3/g):void 0}}function nr(t,e){let n=0,r=1e3/e,o,i;const s=(l,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),t.apply(null,l)};return[(...l)=>{const u=Date.now(),c=u-n;c>=r?s(l,u):(o=l,i||(i=setTimeout(()=>{i=null,s(o)},r-c)))},()=>o&&s(o)]}const me=(t,e,n=3)=>{let r=0;const o=tr(50,250);return nr(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,u=s-r,c=o(u),d=s<=l;r=s;const m={loaded:s,total:l,progress:l?s/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-s)/c:void 0,event:i,lengthComputable:l!=null,[e?"download":"upload"]:!0};t(m)},n)},mt=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},ht=t=>(...e)=>a.asap(()=>t(...e)),rr=j.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,j.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0,or=j.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(r)&&s.push("path="+r),a.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ir(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function sr(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function _t(t,e){return t&&!ir(e)?sr(t,e):e}const gt=t=>t instanceof V?{...t}:t;function G(t,e){e=e||{};const n={};function r(c,d,m,g){return a.isPlainObject(c)&&a.isPlainObject(d)?a.merge.call({caseless:g},c,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function o(c,d,m,g){if(a.isUndefined(d)){if(!a.isUndefined(c))return r(void 0,c,m,g)}else return r(c,d,m,g)}function i(c,d){if(!a.isUndefined(d))return r(void 0,d)}function s(c,d){if(a.isUndefined(d)){if(!a.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function l(c,d,m){if(m in e)return r(c,d);if(m in t)return r(void 0,c)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,d,m)=>o(gt(c),gt(d),m,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(c){const d=u[c]||o,m=d(t[c],e[c],c);a.isUndefined(m)&&d!==l||(n[c]=m)}),n}const bt=t=>{const e=G({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=e;e.headers=s=V.from(s),e.url=at(_t(e.baseURL,e.url),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(a.isFormData(n)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[c,...d]=u?u.split(";").map(m=>m.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...d].join("; "))}}if(j.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(e)),r||r!==!1&&rr(e.url))){const c=o&&i&&or.read(i);c&&s.set(o,c)}return e},ar=typeof XMLHttpRequest<"u",lr=ar&&function(t){return new Promise(function(e,n){const r=bt(t);let o=r.data;const i=V.from(r.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=r,c,d,m,g,b;function _(){g&&g(),b&&b(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let p=new XMLHttpRequest;p.open(r.method.toUpperCase(),r.url,!0),p.timeout=r.timeout;function A(){if(!p)return;const T=V.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),D={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:T,config:t,request:p};pt(function(H){e(H),_()},function(H){n(H),_()},D),p=null}"onloadend"in p?p.onloadend=A:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(A)},p.onabort=function(){p&&(n(new v("Request aborted",v.ECONNABORTED,t,p)),p=null)},p.onerror=function(){n(new v("Network Error",v.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const D=r.transitional||ct;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),n(new v(T,D.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,t,p)),p=null},o===void 0&&i.setContentType(null),"setRequestHeader"in p&&a.forEach(i.toJSON(),function(T,D){p.setRequestHeader(D,T)}),a.isUndefined(r.withCredentials)||(p.withCredentials=!!r.withCredentials),s&&s!=="json"&&(p.responseType=r.responseType),u&&([m,b]=me(u,!0),p.addEventListener("progress",m)),l&&p.upload&&([d,g]=me(l),p.upload.addEventListener("progress",d),p.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(c=T=>{p&&(n(!T||T.type?new Q(null,t,p):T),p.abort(),p=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const R=er(r.url);if(R&&j.protocols.indexOf(R)===-1){n(new v("Unsupported protocol "+R+":",v.ERR_BAD_REQUEST,t));return}p.send(o||null)})},cr=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,l();const d=c instanceof Error?c:this.reason;r.abort(d instanceof v?d:new Q(d instanceof Error?d.message:d))}};let s=e&&setTimeout(()=>{s=null,i(new v(`timeout ${e} of ms exceeded`,v.ETIMEDOUT))},e);const l=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),t=null)};t.forEach(c=>c.addEventListener("abort",i));const{signal:u}=r;return u.unsubscribe=()=>a.asap(l),u}},ur=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},dr=async function*(t,e){for await(const n of fr(t))yield*ur(n,e)},fr=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},yt=(t,e,n,r)=>{const o=dr(t,e);let i=0,s,l=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await o.next();if(c){l(),u.close();return}let m=d.byteLength;if(n){let g=i+=m;n(g)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(u){return l(u),o.return()}},{highWaterMark:2})},he=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wt=he&&typeof ReadableStream=="function",pr=he&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),vt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},mr=wt&&vt(()=>{let t=!1;const e=new Request(j.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),xt=64*1024,De=wt&&vt(()=>a.isReadableStream(new Response("").body)),_e={stream:De&&(t=>t.body)};he&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!_e[e]&&(_e[e]=a.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new v(`Response type '${e}' is not supported`,v.ERR_NOT_SUPPORT,r)})})})(new Response);const hr=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(j.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(a.isArrayBufferView(t)||a.isArrayBuffer(t))return t.byteLength;if(a.isURLSearchParams(t)&&(t=t+""),a.isString(t))return(await pr(t)).byteLength},_r=async(t,e)=>a.toFiniteNumber(t.getContentLength())??hr(e),gr=he&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:m="same-origin",fetchOptions:g}=bt(t);c=c?(c+"").toLowerCase():"text";let b=cr([o,i&&i.toAbortSignal()],s),_;const p=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let A;try{if(u&&mr&&n!=="get"&&n!=="head"&&(A=await _r(d,r))!==0){let w=new Request(e,{method:"POST",body:r,duplex:"half"}),P;if(a.isFormData(r)&&(P=w.headers.get("content-type"))&&d.setContentType(P),w.body){const[N,z]=mt(A,me(ht(u)));r=yt(w.body,xt,N,z)}}a.isString(m)||(m=m?"include":"omit");const R="credentials"in Request.prototype;_=new Request(e,{...g,signal:b,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:R?m:void 0});let T=await fetch(_);const D=De&&(c==="stream"||c==="response");if(De&&(l||D&&p)){const w={};["status","statusText","headers"].forEach(Z=>{w[Z]=T[Z]});const P=a.toFiniteNumber(T.headers.get("content-length")),[N,z]=l&&mt(P,me(ht(l),!0))||[];T=new Response(yt(T.body,xt,N,()=>{z&&z(),p&&p()}),w)}c=c||"text";let H=await _e[a.findKey(_e,c)||"text"](T,t);return!D&&p&&p(),await new Promise((w,P)=>{pt(w,P,{data:H,headers:V.from(T.headers),status:T.status,statusText:T.statusText,config:t,request:_})})}catch(R){throw p&&p(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new v("Network Error",v.ERR_NETWORK,t,_),{cause:R.cause||R}):v.from(R,R&&R.code,t,_)}}),Pe={http:jn,xhr:lr,fetch:gr};a.forEach(Pe,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Et=t=>`- ${t}`,br=t=>a.isFunction(t)||t===null||t===!1,kt={getAdapter:t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){n=t[i];let s;if(r=n,!br(n)&&(r=Pe[(s=String(n)).toLowerCase()],r===void 0))throw new v(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
5
- `+i.map(Et).join(`
6
- `):" "+Et(i[0]):"as no adapter specified";throw new v("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Pe};function Be(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Q(null,t)}function St(t){return Be(t),t.headers=V.from(t.headers),t.data=Ue.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),kt.getAdapter(t.adapter||re.adapter)(t).then(function(e){return Be(t),e.data=Ue.call(t,t.transformResponse,e),e.headers=V.from(e.headers),e},function(e){return ft(e)||(Be(t),e&&e.response&&(e.response.data=Ue.call(t,t.transformResponse,e.response),e.response.headers=V.from(e.response.headers))),Promise.reject(e)})}const Ot="1.7.9",ge={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ge[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Tt={};ge.transitional=function(t,e,n){function r(o,i){return"[Axios v"+Ot+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,s)=>{if(t===!1)throw new v(r(i," has been removed"+(e?" in "+e:"")),v.ERR_DEPRECATED);return e&&!Tt[i]&&(Tt[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(o,i,s):!0}},ge.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function yr(t,e,n){if(typeof t!="object")throw new v("options must be an object",v.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const l=t[i],u=l===void 0||s(l,i,t);if(u!==!0)throw new v("option "+i+" must be "+u,v.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new v("Unknown option "+i,v.ERR_BAD_OPTION)}}const be={assertOptions:yr,validators:ge},M=be.validators;class X{constructor(e){this.defaults=e,this.interceptors={request:new lt,response:new lt}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
7
- `+i):r.stack=i}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=G(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&be.assertOptions(r,{silentJSONParsing:M.transitional(M.boolean),forcedJSONParsing:M.transitional(M.boolean),clarifyTimeoutError:M.transitional(M.boolean)},!1),o!=null&&(a.isFunction(o)?n.paramsSerializer={serialize:o}:be.assertOptions(o,{encode:M.function,serialize:M.function},!0)),be.assertOptions(n,{baseUrl:M.spelling("baseURL"),withXsrfToken:M.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&a.merge(i.common,i[n.method]);i&&a.forEach(["delete","get","head","post","put","patch","common"],_=>{delete i[_]}),n.headers=V.concat(s,i);const l=[];let u=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(u=u&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,m=0,g;if(!u){const _=[St.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,c),g=_.length,d=Promise.resolve(n);m<g;)d=d.then(_[m++],_[m++]);return d}g=l.length;let b=n;for(m=0;m<g;){const _=l[m++],p=l[m++];try{b=_(b)}catch(A){p.call(this,A);break}}try{d=St.call(this,b)}catch(_){return Promise.reject(_)}for(m=0,g=c.length;m<g;)d=d.then(c[m++],c[m++]);return d}getUri(e){e=G(this.defaults,e);const n=_t(e.baseURL,e.url);return at(n,e.params,e.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){X.prototype[t]=function(e,n){return this.request(G(n||{},{method:t,url:e,data:(n||{}).data}))}}),a.forEach(["post","put","patch"],function(t){function e(n){return function(r,o,i){return this.request(G(i||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}X.prototype[t]=e(),X.prototype[t+"Form"]=e(!0)});class Ve{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(o,i,s){r.reason||(r.reason=new Q(o,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Ve(function(n){e=n}),cancel:e}}}function wr(t){return function(e){return t.apply(null,e)}}function vr(t){return a.isObject(t)&&t.isAxiosError===!0}const Ie={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ie).forEach(([t,e])=>{Ie[e]=t});function Rt(t){const e=new X(t),n=He(X.prototype.request,e);return a.extend(n,X.prototype,e,{allOwnKeys:!0}),a.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return Rt(G(t,r))},n}const C=Rt(re);C.Axios=X,C.CanceledError=Q,C.CancelToken=Ve,C.isCancel=ft,C.VERSION=Ot,C.toFormData=fe,C.AxiosError=v,C.Cancel=C.CanceledError,C.all=function(t){return Promise.all(t)},C.spread=wr,C.isAxiosError=vr,C.mergeConfig=G,C.AxiosHeaders=V,C.formToJSON=t=>ut(a.isHTMLForm(t)?new FormData(t):t),C.getAdapter=kt.getAdapter,C.HttpStatusCode=Ie,C.default=C;const Le=C.create({baseURL:location.origin,timeout:6e4,params:{}});Le.interceptors.response.use(t=>t,t=>{var e,n,r,o,i,s,l,u,c,d,m;if(t.response){if(t.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(_){_&&OpenC3Auth.setTokens()}),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let g=`HTTP ${t.response.status} - `;(e=t.response)!=null&&e.statusText&&(g+=`${t.response.statusText} `),(r=(n=t.response)==null?void 0:n.config)!=null&&r.data&&(g+=`${t.response.config.data} `),(i=(o=t.response)==null?void 0:o.data)!=null&&i.message?g+=`${t.response.data.message}`:(l=(s=t.response)==null?void 0:s.data)!=null&&l.exception?g+=`${t.response.data.exception}`:(d=(c=(u=t.response)==null?void 0:u.data)==null?void 0:c.error)!=null&&d.message?(t.response.data.error.class&&(g+=`${t.response.data.error.class} `),g+=`${t.response.data.error.message}`):g+=`${(m=t.response)==null?void 0:m.data}`;const{$cosmosNotify:b}=window;throw b&&b.serious({title:"Network error",body:g}),t}else throw t});const ye=async function(t,e,{data:n,params:r={},headers:o,noAuth:i=!1,noScope:s=!1,onUploadProgress:l=!1}={}){if(!i){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}o.Authorization=localStorage.openc3Token}return o.manual=!0,!s&&!r.scope&&(r.scope=window.openc3Scope),Le({method:t,url:e,data:n,params:r,headers:o,onUploadProgress:l})},qe={Accept:"application/json"},At={...qe,"Content-Type":"application/json"},F={get:function(t,{params:e,headers:n=qe,noScope:r,noAuth:o,onUploadProgress:i}={}){return ye("get",t,{params:e,headers:n,noScope:r,noAuth:o,onUploadProgress:i})},put:function(t,{data:e,params:n,headers:r=At,noScope:o,noAuth:i,onUploadProgress:s}={}){return ye("put",t,{data:e,params:n,headers:r,noScope:o,noAuth:i,onUploadProgress:s})},post:function(t,{data:e,params:n,headers:r=At,noScope:o,noAuth:i,onUploadProgress:s}={}){return ye("post",t,{data:e,params:n,headers:r,noScope:o,noAuth:i,onUploadProgress:s})},delete:function(t,{params:e,headers:n=qe,noScope:r,noAuth:o,onUploadProgress:i}={}){return ye("delete",t,{params:e,headers:n,noScope:r,noAuth:o,onUploadProgress:i})}};var xr={message_types:{welcome:"welcome",disconnect:"disconnect",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},disconnect_reasons:{unauthorized:"unauthorized",invalid_request:"invalid_request",server_restart:"server_restart",remote:"remote"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]};const{message_types:Pr,protocols:Ct}=xr;Ct.slice(0,Ct.length-1);class Er{constructor(){Ht(this,"id",1)}async exec(e,n,r={},o={},i=6e4){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}this.id=this.id+1;try{return r.scope=window.openc3Scope,o.manual=!0,(await Le.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:n,id:this.id,keyword_params:r},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...o},timeout:i})).data.result}catch(s){let l=new Error;throw s.response?(l.name=s.response.data.error.data.class,l.message=s.response.data.error.data.message,l.object=s.response.data.error):s.request?(l.name="Request error",l.message="Request error, no response received"):l.name="Unknown error",l}}decode_openc3_type(e){if(e!==null&&typeof e=="object"&&e.json_class=="Float"&&e.raw){if(e.raw=="NaN")return NaN;if(e.raw=="Infinity")return 1/0;if(e.raw=="-Infinity")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,n){return this.exec("map_target_to_interface",[e,n])}connect_interface(e,...n){return n.length>0?this.exec("connect_interface",[e,...n]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}interface_cmd(e,n,...r){return this.exec("interface_cmd",[e,n,...r])}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_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,n,r){return this.exec("get_item",[e,n,r])}get_param(e,n,r){return this.exec("get_param",[e,n,r])}get_parameter(e,n,r){return this.exec("get_param",[e,n,r])}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_names",[])}get_tlm(e,n){return this.exec("get_tlm",[e,n])}get_telemetry(e,n){return this.exec("get_tlm",[e,n])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_tlm",[e])}get_all_tlm_names(e,n=!1){return this.exec("get_all_tlm_names",[e],{hidden:n})}get_all_telemetry_names(e){return this.exec("get_all_tlm_names",[e])}async get_tlm_packet(e,n,r,o=30){const i=await this.exec("get_tlm_packet",[e,n],{type:r,stale_time:o});if(i!=null){let s=i.length,l=null;for(let u=0;u<s;u++)l=this.decode_openc3_type(i[u][1]),l!==null&&(i[u][1]=l)}return i}get_packet_derived_items(e,n){return this.exec("get_packet_derived_items",[e,n])}get_tlm_buffer(e,n){return this.exec("get_tlm_buffer",[e,n])}async get_tlm_values(e,n=30,r=null){let o={stale_time:n};r!==null&&(o.cache_timeout=r);const i=await this.exec("get_tlm_values",[e],o,{},1e4);let s=i[0].length,l=null;for(let u=0;u<s;u++)l=this.decode_openc3_type(i[0][u]),l!==null&&(i[0][u]=l);return i}get_limits(e,n,r){return this.exec("get_limits",[e,n,r])}async tlm(e,n,r,o="CONVERTED"){let i=null;if(n===void 0)i=await this.exec("tlm",[e]);else if(r===void 0)if(["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(n))i=await this.exec("tlm",[e],{type:n});else{let l=new Error;throw l.name="TypeError",l.message=`Invalid data type ${n}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,l}else i=await this.exec("tlm",[e,n,r],{type:o});let s=this.decode_openc3_type(i);return s!==null&&(i=s),i}async inject_tlm(e,n,r=null,o="CONVERTED"){data=await this.exec("inject_tlm",[e,n,r],{type:o})}set_tlm(e,n,r,o){return this.exec("set_tlm",[e,n,r],{type:o})}override_tlm(e,n,r,o){return this.exec("override_tlm",[e,n,r],{type:o})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,n,r,o){return this.exec("normalize_tlm",[e,n,r],{type:o})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_cmds",[e])}get_all_cmd_names(e,n=!1){return this.exec("get_all_cmd_names",[e],{hidden:n})}get_all_command_names(e){return this.exec("get_all_cmd_names",[e])}get_cmd(e,n){return this.exec("get_cmd",[e,n])}get_command(e,n){return this.exec("get_cmd",[e,n])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,n,r,o="CONVERTED"){return this.exec("get_cmd_value",[e,n,r,o])}get_cmd_buffer(e,n){return this.exec("get_cmd_buffer",[e,n])}_cmd(e,n,r,o,i){let s=null;for(let l in o)Object.prototype.hasOwnProperty.call(o,l)&&(s=this.encode_openc3_type(o[l]),s!==null&&(o[l]=s));return this.exec(e,[n,r,o],{},i)}get_cmd_hazardous(e,n,r,o={}){return n===void 0?this.exec("get_cmd_hazardous",e,{},o):this._cmd("get_cmd_hazardous",e,n,r,o)}cmd(e,n,r,o={}){return n===void 0?this.exec("cmd",e,{},o):this._cmd("cmd",e,n,r,o)}cmd_no_range_check(e,n,r,o={}){return n===void 0?this.exec("cmd_no_range_check",e,{},o):this._cmd("cmd_no_range_check",e,n,r,o)}cmd_raw(e,n,r,o={}){return n===void 0?this.exec("cmd_raw",e,{},o):this._cmd("cmd_raw",e,n,r,o)}cmd_raw_no_range_check(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_range_check",e,{},o):this._cmd("cmd_raw_no_range_check",e,n,r,o)}cmd_no_hazardous_check(e,n,r,o={}){return n===void 0?this.exec("cmd_no_hazardous_check",e,{},o):this._cmd("cmd_no_hazardous_check",e,n,r,o)}cmd_no_checks(e,n,r,o={}){return n===void 0?this.exec("cmd_no_checks",e,{},o):this._cmd("cmd_no_checks",e,n,r,o)}cmd_raw_no_hazardous_check(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",e,{},o):this._cmd("cmd_raw_no_hazardous_check",e,n,r,o)}cmd_raw_no_checks(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_checks",e,{},o):this._cmd("cmd_raw_no_checks",e,n,r,o)}build_cmd(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}build_command(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,n){return this.exec("send_raw",[e,n])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,n){return this.exec("load_config",[e,n])}save_config(e,n,r){return this.exec("save_config",[e,n,r])}delete_config(e,n){return this.exec("delete_config",[e,n])}enable_limits(e,n,r){return this.exec("enable_limits",[e,n,r])}disable_limits(e,n,r){return this.exec("disable_limits",[e,n,r])}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,n){return this.exec("set_setting",[e,n])}save_setting(e,n){return this.exec("set_setting",[e,n])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),o=new Uint8Array(r);return Array.from(o).map(i=>i.toString(16).padStart(2,"0")).join("")}}}const kr={mixins:[$e],props:{item:{type:Object,required:!0}},data(){return{dataItem:this.item,stateValue:null,checkValue:!1}},created(){this.dataItem.states&&(this.stateValue=this.dataItem.states[this.dataItem.value]),this.isCheckbox&&(this.checkValue=this.stateValue===1)},computed:{isCheckbox:function(){let t=!0;if(this.dataItem.states)for(const e of Object.keys(this.dataItem.states))e!=="CHECKED"&&e!=="UNCHECKED"&&(t=!1);else t=!1;return t},itemStates:function(){let t=[];for(const[e,n]of Object.entries(this.dataItem.states))t.push({title:e,value:n});return t}},watch:{checkValue:function(){this.checkValue?this.$emit("change","CHECKED"):this.$emit("change","UNCHECKED")},stateValue:function(){let t=Object.keys(this.dataItem.states).find(e=>this.dataItem.states[e]===this.stateValue);this.$emit("change",t)}},methods:{textChange:function(t){this.dataItem.value=t,this.$emit("change",this.dataItem.value)},format:function(t){return t&&t.json_class==="String"&&t.raw!==void 0&&(this.dataItem.editable=!1),this.formatValueBase(t)}}};function Sr(t,e,n,r,o,i){const s=y("v-checkbox"),l=y("v-select"),u=y("v-text-field");return E(),B("td",null,[i.isCheckbox?(E(),O(s,{key:0,density:"compact","hide-details":"",modelValue:o.checkValue,"onUpdate:modelValue":e[0]||(e[0]=c=>o.checkValue=c),disabled:!o.dataItem.editable,"data-test":"table-item-checkbox"},null,8,["modelValue","disabled"])):o.dataItem.states?(E(),O(l,{key:1,density:"compact","hide-details":"",modelValue:o.stateValue,"onUpdate:modelValue":e[1]||(e[1]=c=>o.stateValue=c),items:i.itemStates,disabled:!o.dataItem.editable,"data-test":"table-item-select"},null,8,["modelValue","items","disabled"])):(E(),O(u,{key:2,variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"","onUpdate:modelValue":i.textChange,"model-value":i.format(o.dataItem.value),disabled:!o.dataItem.editable,"data-test":"table-item-text-field"},null,8,["onUpdate:modelValue","model-value","disabled"]))])}const Or={components:{TableItem:se(kr,[["render",Sr]])},props:{items:{type:Object,required:!0}},data(){return{dataItems:this.items}},computed:{oneDimensional(){return this.dataItems.length===1}},methods:{onChange:function(t,e,n){this.$emit("change",{index:e,event:n})}}},Tr={class:"text-start"},Rr={key:0,class:"text-start"};function Ar(t,e,n,r,o,i){const s=y("table-item");return E(),B("tr",null,[U("td",Tr,L(o.dataItems[0].index),1),i.oneDimensional?(E(),B("td",Rr,L(o.dataItems[0].name),1)):K("",!0),(E(!0),B($,null,W(o.dataItems,(l,u)=>(E(),O(s,{key:l.name,item:l,onChange:Se(c=>i.onChange(l,u,c),["self"])},null,8,["item","onChange"]))),128))])}const Cr={components:{TopBar:Mt,TableRow:se(Or,[["render",Ar]]),FileOpenSaveDialog:Me,SimpleTextDialog:Bt},data(){return{title:"Table Manager",search:"",curTab:null,tables:[],api:null,definition:null,fileInput:null,definitionFilename:"",fileNew:!1,filename:"",fileModified:"",lockedBy:null,fileOpen:!1,showSave:!1,showSaveAs:!1,showError:!1,errorTitle:"",errorText:"",uploadScript:null,downloadScript:null,scriptBackground:!0}},computed:{readOnly:function(){return!!this.lockedBy},fullFilename(){return`${this.filename} ${this.fileModified}`.trim()},menus:function(){return[{label:"File",items:[{label:"New File",icon:"mdi-file-plus",command:()=>{this.newFile()}},{label:"Open File",icon:"mdi-folder-open",command:()=>{this.openFile()}},{divider:!0},{label:"Save File",icon:"mdi-content-save",command:()=>{this.saveFile()}},{label:"Save As...",icon:"mdi-content-save",command:()=>{this.saveAs()}},{divider:!0},{label:"Delete File",icon:"mdi-delete",command:()=>{this.delete()}}]}]}},watch:{filename:function(t){let e=this.filename.split("/").slice(0,2).join("/")+"/procedures/upload",n=this.filename.split("/").slice(0,2).join("/")+"/procedures/download";F.get(`/openc3-api/tables/${e}.rb`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(r=>{this.uploadScript=`${e}.rb`}).catch(r=>{F.get(`/openc3-api/tables/${e}.py`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(o=>{this.uploadScript=`${e}.py`}).catch(o=>{this.uploadScript=null})}),F.get(`/openc3-api/tables/${n}.rb`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(r=>{this.downloadScript=`${n}.rb`}).catch(r=>{F.get(`/openc3-api/tables/${n}.py`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(o=>{this.downloadScript=`${n}.py`}).catch(o=>{this.downloadScript=null})})}},created(){this.api=new Er,this.api.ensure_offline_access()},methods:{newFile:function(){this.fileModified="",this.fileNew=!0,this.fileOpen=!0},openFile:function(){this.fileOpen=!0},setFile:function({file:t,locked:e}){t.name.includes(".txt")?this.fileNew?(this.buildNewBinary(t.name),this.fileNew=!1):this.getDefinition(t.name):(this.unlockFile(),this.filename=t.name.split("*")[0],this.fileModified="",this.lockedBy=e,this.getDefinition())},setError(t){this.errorTitle="Error",this.errorText=`Error: ${t}`,this.errorText=response.data.message,this.showError=!0},saveFile:function(){this.showSave=!0;const t=new FormData;t.append("binary",this.filename),t.append("definition",this.definitionFilename),t.append("tables",JSON.stringify(this.tables)),F.post(`/openc3-api/tables/${this.filename}`,{data:t,headers:{"Content-Type":"multipart/form-data"}}).then(e=>{this.fileModified="",setTimeout(()=>{this.showSave=!1},2e3)}).catch(({response:e})=>{this.showSave=!1,this.errorTitle="Save Error",this.errorText=e.data.message,this.showError=!0}),this.lockFile()},saveAs:function(){this.showSaveAs=!0},saveAsFilename:function(t){F.put(`/openc3-api/tables/${this.filename}/save-as/${t}`).then(e=>{this.filename=t,this.getDefinition(this.definitionFilename)})},delete:function(){this.filename!==""&&this.$dialog.confirm(`Permanently delete file: ${this.filename}`,{okText:"Delete",cancelText:"Cancel"}).then(t=>F.delete(`/openc3-api/tables/${this.filename}`,{data:{}})).then(t=>{this.tables=[],this.filename="",this.definitionFilename=""}).catch(t=>{})},downloadBinary:function(t=null){const e=new FormData;e.append("binary",this.filename),e.append("definition",this.definitionFilename),t!==null&&e.append("table",t),F.post("/openc3-api/tables/binary",{data:e,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{const r=window.atob(n.data.contents),o=new Uint8Array(r.length);for(let l=0;l<r.length;++l)o[l]=r.charCodeAt(l);const i=new Blob([o],{type:"application/octet-stream"}),s=document.createElement("a");s.href=URL.createObjectURL(i),s.setAttribute("download",n.data.filename),s.click()})},downloadDefinition:function(t=null){const e=new FormData;e.append("definition",this.definitionFilename),t!==null&&e.append("table",t),F.post("/openc3-api/tables/definition",{data:e,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{const r=new Blob([n.data.contents],{type:"text/plain"}),o=document.createElement("a");o.href=URL.createObjectURL(r),o.setAttribute("download",n.data.filename),o.click()})},downloadReport:function(t=null){const e=new FormData;e.append("binary",this.filename),e.append("definition",this.definitionFilename),t!==null&&e.append("table",t),F.post("/openc3-api/tables/report",{data:e,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{const r=`Binary: ${this.filename}
8
- Definition: ${this.definitionFilename}
9
-
10
- `,o=new Blob([r,n.data.contents],{type:"text/plain"}),i=document.createElement("a");i.href=URL.createObjectURL(o),i.setAttribute("download",n.data.filename),i.click()})},upload(){F.post(`/script-api/scripts/${this.uploadScript}/run`,{data:{environment:[{key:"TBL_FILENAME",value:this.filename}]}}).then(t=>{this.scriptBackground!==!0&&window.open(`/tools/scriptrunner/${t.data}`,"_blank")})},download(){this.$dialog.confirm(`Are you sure you want to overwrite ${this.filename}? You can Save As to create a new file and then Download to preserve the existing file. Note: Once the download completes you will need to re-open the file to see changes.`,{okText:"Download (Overwrite!)",cancelText:"Cancel"}).then(()=>{F.post(`/script-api/scripts/${this.downloadScript}/run`,{data:{environment:[{key:"TBL_FILENAME",value:this.filename}]}}).then(t=>{this.scriptBackground!==!0&&window.open(`/tools/scriptrunner/${t.data}`,"_blank")})}).catch(t=>{})},confirmLocalUnlock:function(){this.$dialog.confirm("Are you sure you want to unlock this file for editing? If another user is editing this file, your changes might conflict with each other.",{okText:"Force Unlock",cancelText:"Cancel"}).then(()=>(this.lockedBy=null,this.lockFile()))},lockFile:function(){return F.post(`/openc3-api/tables/${this.filename}/lock`)},unlockFile:function(){this.filename!==""&&!this.readOnly&&F.post(`/openc3-api/tables/${this.filename}/unlock`)},getDefinition:function(t=null){t||(t=this.filename.replace("/bin/","/config/").replace(".bin","_def.txt")),this.tables=[];const e=new FormData;e.append("binary",this.filename),e.append("definition",t),F.post("/openc3-api/tables/load",{data:e,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{this.definitionFilename=n.data.definition,this.tables=n.data.tables.map(r=>({...r,headers:r.headers.map((o,i)=>{const s={title:o,filterable:o!=="INDEX"};return r.numColumns===1?{...s,value:`[0].${o.toLowerCase()}`}:{...s,value:`[${i}].value`}})})),n.data.errors&&this.$notify.caution({title:"Warning",body:n.data.errors})}).catch(n=>{n.response.status==404?(this.$notify.normal({title:"Definition File Not Found",body:`Definition file ${t} not found. Please select definition file.`}),this.fileOpen=!0):this.$notify.serious({title:"Error",body:`Error loading due to ${n.response.statusText}. Status: ${n.response.status}`})})},buildNewBinary:function(t){const e=new FormData;e.append("definition",t),F.post("/openc3-api/tables/generate",{data:e,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{this.filename=n.data.filename,this.getDefinition(t)})},onChange:function(t,{index:e,event:n}){this.fileModified="*",t[e].value=n}}},Nr={style:{position:"absolute"},class:"ma-3"};function jr(t,e,n,r,o,i){const s=y("top-bar"),l=y("v-file-input"),u=y("v-text-field"),c=y("v-col"),d=y("v-row"),m=y("v-icon"),g=y("v-btn"),b=y("v-checkbox"),_=y("v-tooltip"),p=y("v-card-text"),A=y("v-spacer"),R=y("v-card-title"),T=y("v-tab"),D=y("v-tabs"),H=y("table-row"),w=y("v-data-table"),P=y("v-tabs-window-item"),N=y("v-tabs-window"),z=y("v-card"),Z=y("file-open-save-dialog"),Fr=y("simple-text-dialog");return E(),B("div",null,[h(s,{menus:i.menus,title:o.title},null,8,["menus","title"]),h(l,{"show-size":"",modelValue:o.fileInput,"onUpdate:modelValue":e[0]||(e[0]=x=>o.fileInput=x),ref:"fileInput",accept:".bin","data-test":"file-input",style:{position:"fixed",top:"-100%"}},null,8,["modelValue"]),h(z,null,{default:f(()=>[h(p,null,{default:f(()=>[h(d,{dense:""},{default:f(()=>[h(c,{cols:"6"},{default:f(()=>[h(u,{variant:"outlined",density:"compact",readonly:"","hide-details":"",label:"Filename",modelValue:i.fullFilename,"onUpdate:modelValue":e[1]||(e[1]=x=>i.fullFilename=x),id:"filename",class:"filename","data-test":"filename"},null,8,["modelValue"])]),_:1}),h(c,{cols:"6"},{default:f(()=>[h(u,{variant:"outlined",density:"compact",readonly:"","hide-details":"",label:"Definition",modelValue:o.definitionFilename,"onUpdate:modelValue":e[2]||(e[2]=x=>o.definitionFilename=x),id:"definition-filename",class:"filename","data-test":"definition-filename"},null,8,["modelValue"])]),_:1})]),_:1}),h(d,{dense:""},{default:f(()=>[h(c,{cols:"auto",class:"mr-auto"},{default:f(()=>[e[25]||(e[25]=U("span",{class:"text-body-1 ma-2"},"File Download:",-1)),h(g,{dense:"",color:"primary",class:"mr-3",onClick:e[3]||(e[3]=x=>i.downloadBinary(null)),disabled:o.filename=="","data-test":"download-file-binary"},{default:f(()=>[e[20]||(e[20]=S(" Binary ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[19]||(e[19]=[S(" mdi-file-code ")])),_:1})]),_:1},8,["disabled"]),h(g,{dense:"",color:"primary",class:"mr-3",onClick:e[4]||(e[4]=x=>i.downloadDefinition(null)),disabled:o.filename=="","data-test":"download-file-definition"},{default:f(()=>[e[22]||(e[22]=S(" Definition ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[21]||(e[21]=[S(" mdi-file-document-edit ")])),_:1})]),_:1},8,["disabled"]),h(g,{dense:"",color:"primary",onClick:e[5]||(e[5]=x=>i.downloadReport(null)),disabled:o.filename=="","data-test":"download-file-report"},{default:f(()=>[e[24]||(e[24]=S(" Report ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[23]||(e[23]=[S(" mdi-file-document ")])),_:1})]),_:1},8,["disabled"])]),_:1}),h(c,{cols:"auto"},{default:f(()=>[h(g,{dense:"",color:"primary",onClick:e[6]||(e[6]=x=>i.upload()),disabled:!o.uploadScript,"data-test":"upload-file"},{default:f(()=>[e[27]||(e[27]=S(" Upload ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[26]||(e[26]=[S(" mdi-file-upload ")])),_:1})]),_:1},8,["disabled"])]),_:1}),h(c,{cols:"auto"},{default:f(()=>[h(g,{dense:"",color:"primary",onClick:e[7]||(e[7]=x=>i.download()),disabled:!o.downloadScript,"data-test":"download-file"},{default:f(()=>[e[29]||(e[29]=S(" Download ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[28]||(e[28]=[S(" mdi-file-download ")])),_:1})]),_:1},8,["disabled"])]),_:1}),h(c,{cols:"auto"},{default:f(()=>[h(_,{location:"top"},{activator:f(({props:x})=>[U("span",ve(xe(x)),[h(b,{modelValue:o.scriptBackground,"onUpdate:modelValue":e[8]||(e[8]=ie=>o.scriptBackground=ie),label:"B/G",class:"shrink mt-0","data-test":"upload-background"},null,8,["modelValue"])],16)]),default:f(()=>[e[30]||(e[30]=U("span",null,"Run upload download scripts in the background",-1))]),_:1})]),_:1})]),_:1})]),_:1}),h(R,{class:"d-flex align-center"},{default:f(()=>[e[31]||(e[31]=S(" Items ")),h(A),h(u,{modelValue:o.search,"onUpdate:modelValue":e[9]||(e[9]=x=>o.search=x),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),(E(),O(D,{modelValue:o.curTab,"onUpdate:modelValue":e[10]||(e[10]=x=>o.curTab=x),key:`v-tabs_${o.tables.length}`},{default:f(()=>[(E(!0),B($,null,W(o.tables,(x,ie)=>(E(),O(T,{key:ie},{default:f(()=>[S(L(x.name),1)]),_:2},1024))),128))]),_:1},8,["modelValue"])),(E(),O(N,{modelValue:o.curTab,"onUpdate:modelValue":e[11]||(e[11]=x=>o.curTab=x),key:`v-tabs-window_${o.tables.length}`},{default:f(()=>[(E(!0),B($,null,W(o.tables,(x,ie)=>(E(),O(P,{key:`${o.filename}${ie}`},{default:f(()=>[h(w,{headers:x.headers,items:x.rows,search:o.search,"items-per-page":20,"items-per-page-options":[10,20,50,100,-1],"multi-sort":"",density:"compact","data-test":x.name},ae({item:f(({item:ee})=>[(E(),O(H,{items:ee,key:ee[0].name,onChange:Se(Ur=>i.onChange(ee,Ur),["self"])},null,8,["items","onChange"]))]),_:2},[o.tables.length>1?{name:"tfoot",fn:f(()=>[U("div",Nr,[e[38]||(e[38]=U("span",{class:"text-body-1 mr-3"},"Table Download:",-1)),h(g,{dense:"",color:"primary",class:"mr-3",onClick:ee=>i.downloadBinary(x.name),disabled:o.filename=="","data-test":"download-table-binary"},{default:f(()=>[e[33]||(e[33]=S(" Binary ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[32]||(e[32]=[S(" mdi-file-code ")])),_:1})]),_:2},1032,["onClick","disabled"]),h(g,{dense:"",color:"primary",class:"mr-3",onClick:ee=>i.downloadDefinition(x.name),disabled:o.filename=="","data-test":"download-table-definition"},{default:f(()=>[e[35]||(e[35]=S(" Definition ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[34]||(e[34]=[S(" mdi-file-document-edit ")])),_:1})]),_:2},1032,["onClick","disabled"]),h(g,{dense:"",color:"primary",onClick:ee=>i.downloadReport(x.name),disabled:o.filename=="","data-test":"download-table-report"},{default:f(()=>[e[37]||(e[37]=S(" Report ")),h(m,{end:"",theme:"dark"},{default:f(()=>e[36]||(e[36]=[S(" mdi-file-document ")])),_:1})]),_:2},1032,["onClick","disabled"])])]),key:"0"}:void 0]),1032,["headers","items","search","data-test"])]),_:2},1024))),128))]),_:1},8,["modelValue"]))]),_:1}),o.fileOpen?(E(),O(Z,{key:0,modelValue:o.fileOpen,"onUpdate:modelValue":e[12]||(e[12]=x=>o.fileOpen=x),type:"open","api-url":"/openc3-api/tables",onFile:e[13]||(e[13]=x=>i.setFile(x)),onError:e[14]||(e[14]=x=>i.setError(x))},null,8,["modelValue"])):K("",!0),o.showSaveAs?(E(),O(Z,{key:1,modelValue:o.showSaveAs,"onUpdate:modelValue":e[15]||(e[15]=x=>o.showSaveAs=x),type:"save","require-target-parent-dir":"","api-url":"/openc3-api/tables","input-filename":o.filename,onFilename:e[16]||(e[16]=x=>i.saveAsFilename(x)),onError:e[17]||(e[17]=x=>i.setError(x))},null,8,["modelValue","input-filename"])):K("",!0),h(Fr,{modelValue:o.showError,"onUpdate:modelValue":e[18]||(e[18]=x=>o.showError=x),title:o.errorTitle,text:o.errorText},null,8,["modelValue","title","text"])])}const Ir=Nt("default",se(Cr,[["render",jr],["__scopeId","data-v-3e18cdee"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-d2f01c5f64af7a18d0cd.js","vue","./DetailsDialog-EWjtBjle-48ad16dbf2121c7db04c.js","./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js"],function(y,z){"use strict";var c,a,s,r,n,u,m,l,d,h,g,p,v,x,f,w;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createElementBlock,n=e.createVNode,u=e.normalizeClass,m=e.normalizeStyle,l=e.withCtx,d=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},e=>{w=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:f},data:function(){return{width:200,height:200}},mixins:[w],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,o,T,L,W,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),_=a("v-list"),j=a("v-menu"),M=a("details-dialog");return s(),r("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:u(t.valueClass),style:m([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(j,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(_,null,{default:l(()=>[(s(!0),r(d,null,h(t.contextMenuOptions,(i,N)=>(s(),g(B,{key:N,onClick:p(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(M,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":o[1]||(o[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const E=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","vue-router","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,o,r;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createBlock,o=e.normalizeStyle},e=>{r=e.s},null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,a,y,f,u,x){const v=l("v-text-field");return n(),s(v,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=m=>u.value=m),style:o(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",r(e,[["render",c]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","./main-d2f01c5f64af7a18d0cd.js","vue","vue-router","vuex","vuetify"],function(m,v){"use strict";var l,i,n,r,a,s,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{r=e.resolveComponent,a=e.openBlock,s=e.createBlock,o=e.normalizeStyle},null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,V,f,t,S){const h=r("v-text-field");return a(),s(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const y=m("default",i(e,[["render",c]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","vue-router","vuex","vuetify"],function(a,m){"use strict";var t,r,n,l,o,s;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,o=e.toDisplayString},e=>{s=e.s},null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,f,x,y,h,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},o(u.labelText),5)}const p=a("default",s(e,[["render",i]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-d2f01c5f64af7a18d0cd.js","vue","./DetailsDialog-EWjtBjle-48ad16dbf2121c7db04c.js","./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js"],function(w,W){"use strict";var c,a,r,o,d,n,l,m,p,v,u,g,h,f,x,y,V,S;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,r=e.openBlock,o=e.createElementBlock,d=e.normalizeStyle,n=e.createVNode,l=e.withCtx,m=e.mergeProps,p=e.createSlots,v=e.createElementVNode,u=e.toDisplayString,g=e.Fragment,h=e.renderList,f=e.createBlock,x=e.withModifiers,y=e.createTextVNode},e=>{V=e.P},e=>{S=e.L},null,null,null,null],execute:function(){const C={components:{DetailsDialog:V},mixins:[S],data:function(){return{width:16}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+4,"ch",this.width)}};function E(t,i,U,I,z,k){const _=a("rux-status"),D=a("v-text-field"),N=a("v-tooltip"),B=a("v-list-item-title"),L=a("v-list-item"),M=a("v-list"),T=a("v-menu"),j=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,k.aging])},[n(N,{location:"top"},{activator:l(({props:s})=>[n(D,m({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},s),p({_:2},[t.astroStatus?{name:"prepend-inner",fn:l(()=>[n(_,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:l(()=>[v("span",null,u(k.fullName),1)]),_:1}),n(T,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=s=>t.contextMenuShown=s),target:[t.x,t.y],style:{"z-index":"3000"}},{default:l(()=>[n(M,null,{default:l(()=>[(r(!0),o(g,null,h(t.contextMenuOptions,(s,P)=>(r(),f(L,{key:P,onClick:x(s.action,["stop"])},{default:l(()=>[n(B,null,{default:l(()=>[y(u(s.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(j,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=s=>t.viewDetails=s)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const A=w("default",c(C,[["render",E],["__scopeId","data-v-c21e4dde"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./ValueWidget-CZh7JWwT-7269b90a9cf3701166be.js","./LimitsbarWidget-JJiyzZjb-c65c064bfae876acd221.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","./DetailsDialog-EWjtBjle-48ad16dbf2121c7db04c.js","./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-6533ffcfb1380d6338bb.js"],function(g,f){"use strict";var l,i,a,s,o,u,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitsbarWidget:i}};function d(t,x,V,W,w,y){const p=s("value-widget"),v=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(p,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),n(v,r(t.$attrs,{parameters:t.parameters.slice(0,3),settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const j=g("default",m(e,[["render",d]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./ValueWidget-CZh7JWwT-7269b90a9cf3701166be.js","./LimitscolumnWidget-Cd76tBo7-dbd1b628a6d3617486f4.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","./DetailsDialog-EWjtBjle-48ad16dbf2121c7db04c.js","./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-6533ffcfb1380d6338bb.js"],function(g,f){"use strict";var l,i,a,s,o,u,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitscolumnWidget:i}};function d(t,V,W,B,S,w){const p=s("limitscolumn-widget"),v=s("value-widget");return o(),u("div",{ref:"container",style:c(t.computedStyle)},[n(p,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"]),n(v,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const j=g("default",m(e,[["render",d]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./ValueWidget-CZh7JWwT-7269b90a9cf3701166be.js","./RangebarWidget-DW0FJK6y-9f7d979be718500151b6.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue","./main-d2f01c5f64af7a18d0cd.js","./DetailsDialog-EWjtBjle-48ad16dbf2121c7db04c.js","./VWidget-Dmqf_jKM-1329ca1be4695fe1efaf.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,m,o,u,s,a,c;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,u=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{ValueWidget:n,RangebarWidget:i},computed:{valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,W,S,w,x,p){const v=r("value-widget"),h=r("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:u(t.computedStyle)},[s(v,a(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(h,a(t.$attrs,{parameters:p.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const j=g("default",c(e,[["render",d]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-945c9339f451bef7e299.js","vue","./main-d2f01c5f64af7a18d0cd.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue-router","vuex","vuetify"],function(v,k){"use strict";var a,r,i,c,o,m,u,g,p,f;return{setters:[e=>{a=e.r},e=>{r=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,m=e.renderList,u=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null],execute:function(){const e={mixins:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function y(n,l,s,w,B,N){return r(),i("div",{ref:"container",class:"d-flex flex-column",style:c(n.computedStyle)},[(r(!0),i(o,null,m(n.widgets,(t,d)=>(r(),u(g(t.type),p({ref_for:!0},n.listeners,{key:d,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const h=v("default",f(e,[["render",y]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./VerticalWidget-Ch7VAEmz-5c5b743c2ddc92136a4b.js","./Layout-klOVw-YN-945c9339f451bef7e299.js","vue","./main-d2f01c5f64af7a18d0cd.js","./Widget-orNSvnOh-6875cac048a7f8a1cb7e.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,n,a,l,s,c,o,u,g,p,v;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,a=e.openBlock,l=e.createElementBlock,s=e.createVNode,c=e.normalizeStyle,o=e.withCtx,u=e.createTextVNode,g=e.toDisplayString,p=e.mergeProps},e=>{v=e.s},null,null,null,null],execute:function(){const e={mixins:[i],components:{VerticalWidget:r}};function d(t,x,S,k,N,z){const y=n("v-banner"),V=n("vertical-widget");return a(),l("div",null,[s(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),s(V,p(t.listeners,{parameters:t.parameters.slice(1),settings:t.settings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone"])])}const w=m("default",v(e,[["render",d],["__scopeId","data-v-832aa5cd"]]))}}});