openc3-cosmos-tool-cmdtlmserver 5.20.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/plugin.txt +2 -2
  3. data/tools/cmdtlmserver/ArrayWidget-By62tXtU-71c668c2b12f3647b2aa.js +2 -0
  4. data/tools/cmdtlmserver/BarColumn-Dm3D1Lhp-0e936d8648b3ed447feb.js +1 -0
  5. data/tools/cmdtlmserver/BlockWidget-CrT45ode-886b3faff84b37db6c51.js +2 -0
  6. data/tools/cmdtlmserver/ButtonWidget-CKyBBv6m-3b8176a5b59e2fe6ede9.js +2 -0
  7. data/tools/cmdtlmserver/CanvasWidget-PqkppHC7-fd8f2fe4b4158775777e.js +1 -0
  8. data/tools/cmdtlmserver/CanvasdotWidget-BUbJgM2d-7f320c3f245428eff6e0.js +1 -0
  9. data/tools/cmdtlmserver/CanvasimageWidget-DPVBY7mi-21593c9450e5c05595d2.js +1 -0
  10. data/tools/cmdtlmserver/CanvasimagevalueWidget-GX37zzNc-35ce65c12b0ff93c1e64.js +1 -0
  11. data/tools/cmdtlmserver/CanvaslabelWidget-P2_Y6Edw-1fc22fee78e455e0bacc.js +1 -0
  12. data/tools/cmdtlmserver/CanvaslabelvalueWidget-Cuas1i9P-958866656e489e737d07.js +1 -0
  13. data/tools/cmdtlmserver/CanvaslineWidget-BYOYgPya-d389d6419c193203d6b8.js +1 -0
  14. data/tools/cmdtlmserver/CanvaslinevalueWidget-3cVJMFo7-2946dcc156558454a815.js +1 -0
  15. data/tools/cmdtlmserver/CheckbuttonWidget-B3wgSMuB-2e200064cf109304de12.js +1 -0
  16. data/tools/cmdtlmserver/CmdPacketsTab-b15d0514cdb75bd29bd8.js +1 -0
  17. data/tools/cmdtlmserver/CmdTlmServer-18df2af9fea7fa1a5a7c.js +2 -0
  18. data/tools/cmdtlmserver/ComboboxWidget-Dzr4Scvf-699c8eacd9a8687ee70d.js +1 -0
  19. data/tools/cmdtlmserver/DateWidget-BWh76Ibb-d6f7da26ea2fd4cb72e8.js +1 -0
  20. data/tools/cmdtlmserver/DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js +1 -0
  21. data/tools/cmdtlmserver/DynamicWidget-m9EliUR2-62ab2ad533de794320d4.js +1 -0
  22. data/tools/cmdtlmserver/FormatvalueWidget-Rk0_eeIm-50cdf441547b0cb8608d.js +1 -0
  23. data/tools/cmdtlmserver/GraphWidget-LqekkNDr-da2fa45489caf0d4fad1.js +1 -0
  24. data/tools/cmdtlmserver/HorizontalWidget-BcfJ24Zn-21157dc1940825a36df8.js +1 -0
  25. data/tools/cmdtlmserver/HorizontalboxWidget-CQy1Hv9E-d2088459c65904a689d2.js +1 -0
  26. data/tools/cmdtlmserver/HorizontallineWidget-BdlNB951-4dee66ec89d4aa3f5f07.js +1 -0
  27. data/tools/cmdtlmserver/IframeWidget-BBaDrRLo-c6c36b42c6c6f9a2dfa3.js +1 -0
  28. data/tools/cmdtlmserver/ImageLoader-CDLQopxJ-4c9cccf9c544ba381bd4.js +1 -0
  29. data/tools/cmdtlmserver/ImageviewerWidget-BgO3Pq6I-49d5b6d7e95afdb924d9.js +1 -0
  30. data/tools/cmdtlmserver/InterfacesTab-acffaa153abb0955b428.js +1 -0
  31. data/tools/cmdtlmserver/LabelWidget-B_C6lKOE-21bc54b64ce81b8d5e91.js +1 -0
  32. data/tools/cmdtlmserver/LabelledWidget-B_UGivhr-45bd4b27e27af75c76ce.js +1 -0
  33. data/tools/cmdtlmserver/LabelprogressbarWidget-BJWCmsYC-a38332a26d43fbc7cb11.js +1 -0
  34. data/tools/cmdtlmserver/LabelsparklineWidget-DILCIh3q-a123a563ebb202129724.js +1 -0
  35. data/tools/cmdtlmserver/LabelvalueWidget-CCZd1NXE-e3c1d1b547bd294e08fc.js +1 -0
  36. data/tools/cmdtlmserver/LabelvaluedescWidget-Bsllq8W6-c61edd74c658e4cbc152.js +1 -0
  37. data/tools/cmdtlmserver/LabelvaluelimitsbarWidget-BV-cfaD--6fbc9f8ce13090936c15.js +1 -0
  38. data/tools/cmdtlmserver/LabelvaluelimitscolumnWidget-DwA0eRBw-20f41ba3a09d3c059323.js +1 -0
  39. data/tools/cmdtlmserver/LabelvaluerangebarWidget-3GDJz3dj-13a0899a53ecebdbdb8d.js +1 -0
  40. data/tools/cmdtlmserver/Layout-klOVw-YN-a721899dc469c373afa9.js +1 -0
  41. data/tools/cmdtlmserver/LedWidget-BAt02s0J-710e81df00d16611ca6c.js +1 -0
  42. data/tools/cmdtlmserver/LimitsbarWidget-JJiyzZjb-b5becd869841fa1595ff.js +1 -0
  43. data/tools/cmdtlmserver/LimitscolorWidget-CYzXKbYd-7e2a7414bebb0d967056.js +1 -0
  44. data/tools/cmdtlmserver/LimitscolumnWidget-Cd76tBo7-6de0345076b09ddf4e33.js +1 -0
  45. data/tools/cmdtlmserver/LinegraphWidget-DWRtO6Ej-cedf2afc896274387b0a.js +1 -0
  46. data/tools/cmdtlmserver/MatrixbycolumnsWidget-cwsyjNV2-c35c7acd7f9bbe099adc.js +1 -0
  47. data/tools/cmdtlmserver/ProgressbarWidget-CYDziFej-98afe46a60db5ef50bc2.js +1 -0
  48. data/tools/cmdtlmserver/RadiobuttonWidget-U6jcQZoD-f8933c81d6f206fea4f9.js +1 -0
  49. data/tools/cmdtlmserver/RadiogroupWidget-HTPJnsB0-10f8679497847aa5eedf.js +1 -0
  50. data/tools/cmdtlmserver/RangebarWidget-DW0FJK6y-ca5c172b1f8d8b0bdd04.js +1 -0
  51. data/tools/cmdtlmserver/RawDialog-7cfffbbe1160eb2dfa0f.js +11 -0
  52. data/tools/cmdtlmserver/RollupWidget-B2qrx55f-9b4d46c83244d93b538e.js +1 -0
  53. data/tools/cmdtlmserver/RoutersTab-e227a58650cef2f7cb45.js +1 -0
  54. data/tools/cmdtlmserver/ScrollwindowWidget-CwIDxgO6-ea5bb31dc3cfde35e775.js +1 -0
  55. data/tools/cmdtlmserver/SignalWidget-Bosa3AbW-d0ae775dd5c4743bd297.js +1 -0
  56. data/tools/cmdtlmserver/SpacerWidget-DYAlt5mt-78b1595bcafcd837342e.js +1 -0
  57. data/tools/cmdtlmserver/SparklineWidget-CDrVXOFV-2183c82cc253586cf77f.js +1 -0
  58. data/tools/cmdtlmserver/StatusTab-e815b6f5b133af771d3c.js +1 -0
  59. data/tools/cmdtlmserver/TabbookWidget-DDdlzCkv-ccba59d5746cd2b8788e.js +1 -0
  60. data/tools/cmdtlmserver/TargetsTab-22e2db6d75a3e9456d69.js +1 -0
  61. data/tools/cmdtlmserver/TextboxWidget-5euFelEq-eb2c48ecf9a4852448b3.js +1 -0
  62. data/tools/cmdtlmserver/TextfieldWidget-BFripYeh-5f0267b7e9745eb772d6.js +1 -0
  63. data/tools/cmdtlmserver/TimeWidget-BBSbsUYJ-41f6ac9de864b392c87e.js +1 -0
  64. data/tools/cmdtlmserver/TitleWidget-p8cjo-Bs-ae7c644a01c9f5ffd68c.js +1 -0
  65. data/tools/cmdtlmserver/TlmPacketsTab-d2f22dccdcd0109dc9fc.js +1 -0
  66. data/tools/cmdtlmserver/Updater-3608194712b19b896303.js +1 -0
  67. data/tools/cmdtlmserver/VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js +1 -0
  68. data/tools/cmdtlmserver/ValueWidget-CZh7JWwT-561515c3bc47da2968a1.js +1 -0
  69. data/tools/cmdtlmserver/ValuelimitsbarWidget-DU7ybswC-bccfe404aabe243d72f4.js +1 -0
  70. data/tools/cmdtlmserver/ValuelimitscolumnWidget-DMw-h5jM-1cfd35ce298999a0ff6a.js +1 -0
  71. data/tools/cmdtlmserver/ValuerangebarWidget-DPpofDpA-d242d66cd64e9a78f881.js +1 -0
  72. data/tools/cmdtlmserver/VerticalWidget-Ch7VAEmz-71645022feffa66a8825.js +1 -0
  73. data/tools/cmdtlmserver/VerticalboxWidget-DYx-TFT4-5f9dfe83d76b0a3739bd.js +1 -0
  74. data/tools/cmdtlmserver/Widget-orNSvnOh-c2189f557c1c3db5d0d5.js +1 -0
  75. data/tools/cmdtlmserver/main-74390a4d748a97f336a8.js +1422 -0
  76. data/tools/cmdtlmserver/main.js +1 -0
  77. data/tools/cmdtlmserver/services-6fab0d9d3d41ee3bbe0a.js +6 -0
  78. metadata +77 -32
  79. data/tools/cmdtlmserver/img/logo.png +0 -0
  80. data/tools/cmdtlmserver/index.html +0 -4
  81. data/tools/cmdtlmserver/js/195.js +0 -2
  82. data/tools/cmdtlmserver/js/195.js.map +0 -1
  83. data/tools/cmdtlmserver/js/272.js +0 -2
  84. data/tools/cmdtlmserver/js/272.js.map +0 -1
  85. data/tools/cmdtlmserver/js/275.js +0 -2
  86. data/tools/cmdtlmserver/js/275.js.map +0 -1
  87. data/tools/cmdtlmserver/js/30.js +0 -2
  88. data/tools/cmdtlmserver/js/30.js.map +0 -1
  89. data/tools/cmdtlmserver/js/303.js +0 -2
  90. data/tools/cmdtlmserver/js/303.js.map +0 -1
  91. data/tools/cmdtlmserver/js/305.js +0 -2
  92. data/tools/cmdtlmserver/js/305.js.map +0 -1
  93. data/tools/cmdtlmserver/js/328.js +0 -2
  94. data/tools/cmdtlmserver/js/328.js.map +0 -1
  95. data/tools/cmdtlmserver/js/364.js +0 -2
  96. data/tools/cmdtlmserver/js/364.js.map +0 -1
  97. data/tools/cmdtlmserver/js/467.js +0 -2
  98. data/tools/cmdtlmserver/js/467.js.map +0 -1
  99. data/tools/cmdtlmserver/js/59.js +0 -2
  100. data/tools/cmdtlmserver/js/59.js.map +0 -1
  101. data/tools/cmdtlmserver/js/625.js +0 -2
  102. data/tools/cmdtlmserver/js/625.js.map +0 -1
  103. data/tools/cmdtlmserver/js/739.js +0 -2
  104. data/tools/cmdtlmserver/js/739.js.map +0 -1
  105. data/tools/cmdtlmserver/js/938.js +0 -2
  106. data/tools/cmdtlmserver/js/938.js.map +0 -1
  107. data/tools/cmdtlmserver/js/app.js +0 -2
  108. data/tools/cmdtlmserver/js/app.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ System.register(["./Updater-3608194712b19b896303.js","vue","./main-74390a4d748a97f336a8.js"],function(at,fe){"use strict";var X,y,B,L,V,Q,m,c,d,T,W,F,_,j,A;return{setters:[f=>{X=f.U},f=>{y=f.resolveComponent,B=f.withDirectives,L=f.openBlock,V=f.createElementBlock,Q=f.normalizeStyle,m=f.createElementVNode,c=f.createVNode,d=f.withCtx,T=f.normalizeProps,W=f.guardReactiveProps,F=f.createTextVNode,_=f.toDisplayString,j=f.vShow},f=>{A=f._}],execute:function(){var f=document.createElement("style");f.textContent=`.raw-dialog[data-v-b400cbdd]{position:absolute;top:0;left:5px;z-index:1;border:solid;border-width:1px;border-color:#fff;resize:vertical;overflow:auto;min-height:28px;max-height:85vh;width:815px;background-color:var(--color-background-base-selected)}.raw-dialog .toolbar-wrapper[data-v-b400cbdd]{position:sticky;top:0;z-index:1}.raw-dialog[data-v-b400cbdd] .v-card-text{background-color:var(--color-background-base-selected)}.v-textarea[data-v-b400cbdd] textarea{margin-top:10px;font-family:Courier New,Courier,monospace;overflow-y:hidden}
2
+ /*$vite$:1*/`,document.head.appendChild(f);const G=6048e5,rt=864e5,$=Symbol.for("constructDateFrom");function k(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&$ in e?e[$](t):e instanceof Date?new e.constructor(t):new Date(t)}function v(e,t){return k(t||e,e)}let it={};function q(){return it}function Y(e,t){var s,l,h,w;const n=q(),a=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((w=(h=n.locale)==null?void 0:h.options)==null?void 0:w.weekStartsOn)??0,r=v(e,t==null?void 0:t.in),i=r.getDay(),o=(i<a?7:0)+i-a;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function R(e,t){return Y(e,{...t,weekStartsOn:1})}function I(e,t){const n=v(e,t==null?void 0:t.in),a=n.getFullYear(),r=k(n,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);const i=R(r),o=k(n,0);o.setFullYear(a,0,4),o.setHours(0,0,0,0);const s=R(o);return n.getTime()>=i.getTime()?a+1:n.getTime()>=s.getTime()?a:a-1}function z(e){const t=v(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function ot(e,...t){const n=k.bind(null,t.find(a=>typeof a=="object"));return t.map(n)}function J(e,t){const n=v(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function st(e,t,n){const[a,r]=ot(n==null?void 0:n.in,e,t),i=J(a),o=J(r),s=+i-z(i),l=+o-z(o);return Math.round((s-l)/rt)}function ut(e,t){const n=I(e,t),a=k(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),R(a)}function ct(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function dt(e){return!(!ct(e)&&typeof e!="number"||isNaN(+v(e)))}function lt(e,t){const n=v(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const ft={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ht=(e,t,n)=>{let a;const r=ft[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function H(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const mt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bt={date:H({formats:mt,defaultWidth:"full"}),time:H({formats:gt,defaultWidth:"full"}),dateTime:H({formats:wt,defaultWidth:"full"})},yt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},vt=(e,t,n,a)=>yt[e];function C(e){return(t,n)=>{const a=n!=null&&n.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;r=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}const pt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},kt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Pt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Mt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ot={ordinalNumber:(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:C({values:pt,defaultWidth:"wide"}),quarter:C({values:xt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:C({values:Dt,defaultWidth:"wide"}),day:C({values:kt,defaultWidth:"wide"}),dayPeriod:C({values:Pt,defaultWidth:"wide",formattingValues:Mt,defaultFormattingWidth:"wide"})};function E(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;const o=i[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?St(s,p=>p.test(o)):_t(s,p=>p.test(o));let h;h=e.valueCallback?e.valueCallback(l):l,h=n.valueCallback?n.valueCallback(h):h;const w=t.slice(o.length);return{value:h,rest:w}}}function _t(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function St(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Tt(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(r.length);return{value:o,rest:s}}}const Wt=/^(\d+)(th|st|nd|rd)?/i,Yt=/\d+/i,Ct={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Et={any:[/^b/i,/^(a|c)/i]},Nt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ft={any:[/1/i,/2/i,/3/i,/4/i]},qt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Rt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ht={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Xt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Bt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Lt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Vt={ordinalNumber:Tt({matchPattern:Wt,parsePattern:Yt,valueCallback:e=>parseInt(e,10)}),era:E({matchPatterns:Ct,defaultMatchWidth:"wide",parsePatterns:Et,defaultParseWidth:"any"}),quarter:E({matchPatterns:Nt,defaultMatchWidth:"wide",parsePatterns:Ft,defaultParseWidth:"any",valueCallback:e=>e+1}),month:E({matchPatterns:qt,defaultMatchWidth:"wide",parsePatterns:Rt,defaultParseWidth:"any"}),day:E({matchPatterns:Ht,defaultMatchWidth:"wide",parsePatterns:Xt,defaultParseWidth:"any"}),dayPeriod:E({matchPatterns:Bt,defaultMatchWidth:"any",parsePatterns:Lt,defaultParseWidth:"any"})},Qt={code:"en-US",formatDistance:ht,formatLong:bt,formatRelative:vt,localize:Ot,match:Vt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function jt(e,t){const n=v(e,t==null?void 0:t.in);return st(n,lt(n))+1}function At(e,t){const n=v(e,t==null?void 0:t.in),a=+R(n)-+ut(n);return Math.round(a/G)+1}function U(e,t){var w,p,x,M;const n=v(e,t==null?void 0:t.in),a=n.getFullYear(),r=q(),i=(t==null?void 0:t.firstWeekContainsDate)??((p=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((M=(x=r.locale)==null?void 0:x.options)==null?void 0:M.firstWeekContainsDate)??1,o=k((t==null?void 0:t.in)||e,0);o.setFullYear(a+1,0,i),o.setHours(0,0,0,0);const s=Y(o,t),l=k((t==null?void 0:t.in)||e,0);l.setFullYear(a,0,i),l.setHours(0,0,0,0);const h=Y(l,t);return+n>=+s?a+1:+n>=+h?a:a-1}function Gt(e,t){var s,l,h,w;const n=q(),a=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((w=(h=n.locale)==null?void 0:h.options)==null?void 0:w.firstWeekContainsDate)??1,r=U(e,t),i=k((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),Y(i,t)}function $t(e,t){const n=v(e,t==null?void 0:t.in),a=+Y(n,t)-+Gt(n,t);return Math.round(a/G)+1}function u(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const P={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return u(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):u(n+1,2)},d(e,t){return u(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return u(e.getHours()%12||12,t.length)},H(e,t){return u(e.getHours(),t.length)},m(e,t){return u(e.getMinutes(),t.length)},s(e,t){return u(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return u(r,t.length)}},S={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},K={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return P.y(e,t)},Y:function(e,t,n,a){const r=U(e,a),i=r>0?r:1-r;if(t==="YY"){const o=i%100;return u(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):u(i,t.length)},R:function(e,t){const n=I(e);return u(n,t.length)},u:function(e,t){const n=e.getFullYear();return u(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return u(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return u(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return P.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return u(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=$t(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):u(r,t.length)},I:function(e,t,n){const a=At(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):u(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):P.d(e,t)},D:function(e,t,n){const a=jt(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):u(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return u(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return u(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return u(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=S.noon:a===0?r=S.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=S.evening:a>=12?r=S.afternoon:a>=4?r=S.morning:r=S.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return P.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):P.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):u(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):u(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):P.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):P.s(e,t)},S:function(e,t){return P.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return tt(a);case"XXXX":case"XX":return O(a);case"XXXXX":case"XXX":default:return O(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return tt(a);case"xxxx":case"xx":return O(a);case"xxxxx":case"xxx":default:return O(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Z(a,":");case"OOOO":default:return"GMT"+O(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Z(a,":");case"zzzz":default:return"GMT"+O(a,":")}},t:function(e,t,n){const a=Math.trunc(+e/1e3);return u(a,t.length)},T:function(e,t,n){return u(+e,t.length)}};function Z(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),i=a%60;return i===0?n+String(r):n+String(r)+t+u(i,2)}function tt(e,t){return e%60===0?(e>0?"-":"+")+u(Math.abs(e)/60,2):O(e,t)}function O(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=u(Math.trunc(a/60),2),i=u(a%60,2);return n+r+t+i}const et=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},nt=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},It={p:nt,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return et(e,t);let i;switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",et(a,t)).replace("{{time}}",nt(r,t))}},zt=/^D+$/,Jt=/^Y+$/,Ut=["D","DD","YY","YYYY"];function Kt(e){return zt.test(e)}function Zt(e){return Jt.test(e)}function te(e,t,n){const a=ee(e,t,n);if(console.warn(a),Ut.includes(e))throw new RangeError(a)}function ee(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const ne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,re=/^'([^]*?)'?$/,ie=/''/g,oe=/[a-zA-Z]/;function se(e,t,n){var w,p,x,M;const a=q(),r=a.locale??Qt,i=a.firstWeekContainsDate??((p=(w=a.locale)==null?void 0:w.options)==null?void 0:p.firstWeekContainsDate)??1,o=a.weekStartsOn??((M=(x=a.locale)==null?void 0:x.options)==null?void 0:M.weekStartsOn)??0,s=v(e,n==null?void 0:n.in);if(!dt(s))throw new RangeError("Invalid time value");let l=t.match(ae).map(b=>{const g=b[0];if(g==="p"||g==="P"){const N=It[g];return N(b,r.formatLong)}return b}).join("").match(ne).map(b=>{if(b==="''")return{isToken:!1,value:"'"};const g=b[0];if(g==="'")return{isToken:!1,value:ue(b)};if(K[g])return{isToken:!0,value:b};if(g.match(oe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:b}});r.localize.preprocessor&&(l=r.localize.preprocessor(s,l));const h={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return l.map(b=>{if(!b.isToken)return b.value;const g=b.value;(Zt(g)||Kt(g))&&te(g,t,String(e));const N=K[g[0]];return N(s,g,r.localize,h)}).join("")}function ue(e){const t=e.match(re);return t?t[1].replace(ie,"'"):e}const ce={mixins:[X],props:{type:String,visible:Boolean,targetName:String,packetName:String,zIndex:{type:Number,default:1}},data(){return{header:"",receivedTime:"",rawData:"",paused:!1,receivedCount:"",dragX:0,dragY:0,top:0,left:0}},computed:{buttonLabel:function(){return this.paused?"Resume":"Pause"},buttonIcon:function(){return this.paused?"mdi-play":"mdi-pause"},isVisible:{get:function(){return this.visible},set:function(e){this.header="",this.receivedTime="",this.rawData="",this.receivedCount="",this.paused=!1,this.buttonLabel="Pause",this.$emit("display",e)}},computedStyle(){let e={};return e.top=this.top+"px",e.left=this.left+"px",e["z-index"]=this.zIndex,e},numRows(){let e=this.rawData.split(`
3
+ `).length;return e+Math.floor(e/2e3)}},mounted(){this.$refs.bar.onmousedown=this.dragMouseDown,this.$refs.rawDialog.onmouseup=this.focusEvent},methods:{focusEvent:function(e){this.$emit("focus")},dragMouseDown:function(e){e=e||window.event,e.preventDefault(),this.dragX=e.clientX,this.dragY=e.clientY,document.onmouseup=this.closeDragElement,document.onmousemove=this.elementDrag},elementDrag:function(e){e=e||window.event,e.preventDefault();let t=this.dragX-e.clientX,n=this.dragY-e.clientY;this.dragX=e.clientX,this.dragY=e.clientY,this.top=this.$refs.bar.parentElement.offsetTop-n,this.left=this.$refs.bar.parentElement.offsetLeft-t},closeDragElement:function(){document.onmouseup=null,document.onmousemove=null},buildRawData:function(){return`${this.header}
4
+ Received Time: ${this.receivedTime}
5
+ Count: ${this.receivedCount}
6
+ ${this.rawData}`},copyRawData:function(){navigator.clipboard.writeText(this.buildRawData())},downloadRawData:function(){const e=new Blob([this.buildRawData()],{type:"plain/text"}),t=document.createElement("a");t.href=URL.createObjectURL(e);const n=se(Date.now(),"yyyy_MM_dd_HH_mm_ss");t.setAttribute("download",`${n}_${this.targetName}_${this.packetName}.txt`),t.click()},pause:function(){this.paused=!this.paused},update:function(){!this.isVisible||this.paused||(this.header=`Raw ${this.type} Packet: ${this.targetName} ${this.packetName}`,this.type==="Telemetry"?this.updateTelemetry():this.updateCommand())},updateTelemetry:function(){this.api.get_tlm_buffer(this.targetName,this.packetName).then(e=>{let t=e.buffer;t.raw!==void 0?t=t.raw:t=new TextEncoder().encode(t),this.receivedTime=new Date(e.time/1e6),this.receivedCount=e.received_count,this.rawData=`Address Data Ascii
7
+ ---------------------------------------------------------------------------
8
+ `+this.formatBuffer(t)})},updateCommand:function(){this.api.get_cmd_buffer(this.targetName,this.packetName).then(e=>{let t=e.buffer;t.raw!==void 0?t=t.raw:t=new TextEncoder().encode(t),this.receivedTime=new Date(e.time/1e6),this.receivedCount=e.received_count,this.rawData=`Address Data Ascii
9
+ ---------------------------------------------------------------------------
10
+ `+this.formatBuffer(t)})},formatBuffer:function(e){let t="",n=0,a="";if(e.forEach(r=>{n%16===0&&(t+=this.numHex(n,8)+": "),t+=this.numHex(r),r>=32&&r<=126?a+=String.fromCharCode(r):a+=" ",n++,n%16===0?(t+=" "+a+`
11
+ `,a=""):t+=" "}),n%16!=0){let r=n%16-1+n%16*2,i=" ".repeat(47-r),o=" ".repeat(16-a.length);t+=i+" "+a+o}return t},numHex(e,t=2){let n=e.toString(16);return"0".repeat(t-n.length)+n}}},de={ref:"bar",class:"toolbar-wrapper"};function le(e,t,n,a,r,i){const o=y("v-icon"),s=y("v-tooltip"),l=y("v-spacer"),h=y("v-toolbar"),w=y("v-btn"),p=y("v-card-title"),x=y("v-col"),M=y("v-row"),b=y("v-textarea"),g=y("v-card-text"),N=y("v-card");return B((L(),V("div",{style:Q(i.computedStyle),class:"raw-dialog",ref:"rawDialog"},[m("div",de,[c(h,{height:"24"},{default:d(()=>[c(s,{location:"top"},{activator:d(({props:D})=>[m("div",T(W(D)),[c(o,{"data-test":"copy-icon",onClick:i.copyRawData},{default:d(()=>t[2]||(t[2]=[F(" mdi-content-copy ")])),_:1},8,["onClick"])],16)]),default:d(()=>[t[3]||(t[3]=m("span",null," Copy ",-1))]),_:1}),c(s,{location:"top"},{activator:d(({props:D})=>[m("div",T(W(D)),[c(o,{"data-test":"download",onClick:i.downloadRawData},{default:d(()=>t[4]||(t[4]=[F(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:d(()=>[t[5]||(t[5]=m("span",null," Download ",-1))]),_:1}),c(l),m("span",null,_(n.type),1),c(l),c(s,{location:"top"},{activator:d(({props:D})=>[m("div",T(W(D)),[c(o,{"data-test":"close",onClick:t[0]||(t[0]=we=>e.$emit("close"))},{default:d(()=>t[6]||(t[6]=[F(" mdi-close-box ")])),_:1})],16)]),default:d(()=>[t[7]||(t[7]=m("span",null," Close ",-1))]),_:1})]),_:1})],512),c(N,null,{default:d(()=>[c(p,{class:"d-flex align-center justify-content-space-between"},{default:d(()=>[m("span",null,_(r.header),1),c(l),c(s,{location:"top"},{activator:d(({props:D})=>[m("div",T(W(D)),[c(w,{icon:i.buttonIcon,variant:"text","data-test":"pause",onClick:i.pause},null,8,["icon","onClick"])],16)]),default:d(()=>[m("span",null,_(i.buttonLabel),1)]),_:1})]),_:1}),c(g,null,{default:d(()=>[c(M,{dense:""},{default:d(()=>[c(x,{cols:"4"},{default:d(()=>t[8]||(t[8]=[m("span",null," Received Time: ",-1)])),_:1}),c(x,{class:"text-right"},{default:d(()=>[m("span",null,_(r.receivedTime),1)]),_:1})]),_:1}),c(M,{dense:""},{default:d(()=>[c(x,{cols:"4"},{default:d(()=>t[9]||(t[9]=[m("span",null," Count: ",-1)])),_:1}),c(x,{class:"text-right"},{default:d(()=>[m("span",null,_(r.receivedCount),1)]),_:1})]),_:1}),c(b,{class:"pa-0 ma-0",modelValue:r.rawData,"onUpdate:modelValue":t[1]||(t[1]=D=>r.rawData=D),rows:i.numRows,"no-resize":"",readonly:""},null,8,["modelValue","rows"])]),_:1})]),_:1})],4)),[[j,i.isVisible]])}const ge=at("R",A(ce,[["render",le],["__scopeId","data-v-b400cbdd"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Updater-3608194712b19b896303.js","vue","./main-74390a4d748a97f336a8.js","./services-6fab0d9d3d41ee3bbe0a.js","vue-router","vuex","vuetify"],function(x,E){"use strict";var m,r,b,h,d,u,f,p,C,y,k;return{setters:[n=>{m=n.U},n=>{r=n.resolveComponent,b=n.openBlock,h=n.createBlock,d=n.withCtx,u=n.createVNode,f=n.createTextVNode,p=n.toDisplayString,C=n.createElementVNode,y=n.normalizeClass},n=>{k=n._},null,null,null,null],execute:function(){const n={mixins:[m],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],buttonsDisabled:!1,headers:[{title:"Name",key:"name"},{title:"Action",key:"connect",sortable:!1,filterable:!1},{title:"Connected",key:"connected"},{title:"Clients",key:"clients"},{title:"Tx Q size",key:"tx_q_size"},{title:"Rx Q size",key:"rx_q_size"},{title:"Tx bytes",key:"tx_bytes"},{title:"Rx bytes",key:"rx_bytes"},{title:"Cmd pkts",key:"cmd_pkts"},{title:"Tlm pkts",key:"tlm_pkts"}]}},methods:{sortTable(l,t,o){return l.sort((s,c)=>{for(let i=0;i<t.length;i++){let e=t[i],_=o[i];if(e==="connected"){if(s[e]===c[e])continue;return _?s[e]==="CONNECTED"?1:-1:s[e]==="CONNECTED"?-1:1}else if(e==="name"){if(s[e]===c[e])continue;return _?c[e].localeCompare(s[e]):s[e].localeCompare(c[e])}else{if(s[e]===c[e])continue;return _?c[e]-s[e]:s[e]-c[e]}}}),l},connectDisconnect(l){this.buttonsDisabled=!0,l.connected==="DISCONNECTED"?this.api.connect_router(l.name):this.api.disconnect_router(l.name)},update(){this.tabId==this.curTab&&this.api.get_all_router_info().then(l=>{this.data=[];for(let t of l){let o=null,s=null;t[1]=="DISCONNECTED"?(o="Connect",s="openc3-white"):t[1]=="CONNECTED"?(o="Disconnect",s="openc3-green"):(o="Cancel",s="openc3-red"),this.data.push({name:t[0],connect:o,connectedClass:s,connected:t[1],clients:t[2],tx_q_size:t[3],rx_q_size:t[4],tx_bytes:t[5],rx_bytes:t[6],cmd_pkts:t[7],tlm_pkts:t[8]})}this.buttonsDisabled=!1})}}};function v(l,t,o,s,c,i){const e=r("v-spacer"),_=r("v-text-field"),N=r("v-card-title"),D=r("v-btn"),T=r("v-data-table"),g=r("v-card");return b(),h(g,null,{default:d(()=>[u(N,{class:"d-flex align-center justify-content-space-between"},{default:d(()=>[f(p(c.data.length)+" Routers ",1),u(e),u(_,{modelValue:c.search,"onUpdate:modelValue":t[0]||(t[0]=a=>c.search=a),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),u(T,{headers:c.headers,items:c.data,search:c.search,"custom-sort":i.sortTable,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"routers-table"},{"item.connect":d(({item:a})=>[u(D,{block:"",color:"primary",disabled:c.buttonsDisabled,onClick:z=>i.connectDisconnect(a)},{default:d(()=>[f(p(a.connect),1)]),_:2},1032,["disabled","onClick"])]),"item.connected":d(({item:a})=>[C("span",{class:y(a.connectedClass)},p(a.connected),3)]),_:1},8,["headers","items","search","custom-sort"])]),_:1})}const V=x("default",k(n,[["render",v]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-a721899dc469c373afa9.js","./VerticalWidget-Ch7VAEmz-71645022feffa66a8825.js","vue","./main-74390a4d748a97f336a8.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js","vue","./main-74390a4d748a97f336a8.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-LqekkNDr-da2fa45489caf0d4fad1.js","./main-74390a4d748a97f336a8.js","vue","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./services-6fab0d9d3d41ee3bbe0a.js","./Updater-3608194712b19b896303.js","vue","./main-74390a4d748a97f336a8.js","vue-router","vuex","vuetify"],function(_,S){"use strict";var l,i,t,c,o,a,n,u,d,p;return{setters:[e=>{l=e.i},e=>{i=e.U},e=>{t=e.resolveComponent,c=e.openBlock,o=e.createElementBlock,a=e.createVNode,n=e.withCtx,u=e.createTextVNode,d=e.toDisplayString},e=>{p=e._},null,null,null],execute:function(){const e={mixins:[i],props:{tabId:Number,curTab:Number},data(){return{api:new l,apiStatus:[],apiHeaders:[{title:"Port",value:"port"},{title:"Clients",value:"clients"},{title:"Requests",value:"requests"},{title:"Avg Request Time",value:"avgTime"},{title:"Server Threads",value:"threads"}],backgroundTasks:[],backgroundHeaders:[{title:"Name",value:"name"},{title:"State",value:"state"},{title:"Status",value:"status"},{title:"Control",value:"control"}],search:"",data:[],headers:[{title:"Metric",key:"metric_name"},{title:"Value",key:"value"}]}},methods:{update(){this.tabId==this.curTab&&this.api.get_metrics().then(v=>{this.data=[];for(const[r,m]of Object.entries(v))this.data.push({metric_name:r,value:m})})}}};function h(v,r,m,V,s,N){const f=t("v-spacer"),b=t("v-text-field"),g=t("v-card-title"),x=t("v-data-table"),k=t("v-card");return c(),o("div",null,[a(k,null,{default:n(()=>[a(g,{class:"d-flex align-center justify-content-space-between"},{default:n(()=>[u(d(s.data.length)+" Metrics ",1),a(f),a(b,{modelValue:s.search,"onUpdate:modelValue":r[0]||(r[0]=y=>s.search=y),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),a(x,{headers:s.headers,items:s.data,search:s.search,"items-per-page":10,"items-per-page-options":[10,20,50,100,-1],"multi-sort":"","data-test":"metrics-table"},null,8,["headers","items","search"])]),_:1})])}const T=_("default",p(e,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-a721899dc469c373afa9.js","vue","./main-74390a4d748a97f336a8.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue-router","vuex","vuetify"],function(k,h){"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,_,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 z=k("default",V(e,[["render",T]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./services-6fab0d9d3d41ee3bbe0a.js","./main-74390a4d748a97f336a8.js","vue","./Updater-3608194712b19b896303.js","vue-router","vuex","vuetify"],function(U,G){"use strict";var E,u,V,T,i,c,v,n,s,l,h,C,b,a,A,x;return{setters:[o=>{E=o.s,u=o.n},o=>{V=o.s,T=o._},o=>{i=o.resolveComponent,c=o.openBlock,v=o.createBlock,n=o.withCtx,s=o.createVNode,l=o.createElementVNode,h=o.createElementBlock,C=o.toDisplayString,b=o.createCommentVNode,a=o.createTextVNode,A=o.mergeProps},o=>{x=o.U},null,null,null],execute:function(){const o={props:{modelValue:Boolean,reason:String},emits:["update:modelValue"],data(){return{logo:"/img/logo.png"}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}}},M={class:"logo"},B=["src"],D={key:0},j={class:"pb-4 pl-4 reason"};function I(t,e,p,z,r,m){const y=i("v-spacer"),f=i("v-toolbar"),g=i("v-card-text"),k=i("v-btn"),S=i("v-card-actions"),w=i("v-card"),N=i("v-dialog");return c(),v(N,{modelValue:m.show,"onUpdate:modelValue":e[1]||(e[1]=_=>m.show=_),width:"650px"},{default:n(()=>[s(f,{height:"24"},{default:n(()=>[s(y),e[2]||(e[2]=l("span",null," Upgrade to COSMOS Enterprise Edition ",-1)),s(y)]),_:1}),s(w,null,{default:n(()=>[s(g,{class:"mt-4"},{default:n(()=>[l("div",M,[l("img",{src:r.logo,alt:"OpenC3"},null,8,B),e[3]||(e[3]=l("div",{class:"cosmos"},"Enterprise Edition",-1))]),e[4]||(e[4]=l("div",{class:"pb-4"}," Thank you for using the COSMOS Open Source Edition! ",-1)),p.reason?(c(),h("div",D,[l("div",j,C(p.reason),1)])):b("",!0),e[5]||(e[5]=a(" COSMOS Enterprise Edition removes all restrictions and offers users with role based access control, scaling on kubernetes, cloud platform support, multiple scopes, Calendar and Autonomic, various integrations with common protocols and hardware, commercial licensing, and much more!")),e[6]||(e[6]=l("br",null,null,-1)),e[7]||(e[7]=l("br",null,null,-1)),e[8]||(e[8]=a(" Learn more at ")),e[9]||(e[9]=l("a",{href:"https://openc3.com/enterprise"}," https://openc3.com/enterprise ",-1)),e[10]||(e[10]=a(" and help support COSMOS Open Source by supporting our business. Contact us at ")),e[11]||(e[11]=l("a",{href:"mailto:support@openc3.com"},"support@openc3.com",-1)),e[12]||(e[12]=a(" for more information about Enterprise Edition, COSMOS training, COSMOS support, and custom COSMOS development. "))]),_:1}),s(S,{class:"px-2"},{default:n(()=>[s(y),s(k,{variant:"flat",onClick:e[0]||(e[0]=_=>m.show=!m.show)},{default:n(()=>e[13]||(e[13]=[a(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const K={components:{UpgradeToEnterpriseDialog:V(o,[["render",I],["__scopeId","data-v-6fa47877"]])},mixins:[x],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],cable:new E,enterprise:!1,headers:[{title:"Target Name",key:"name"},{title:"Interfaces",key:"interface"},{title:"Command Authority Username",key:"username"},{title:"Take Command Authority",key:"take"},{title:"Release Command Authority",key:"release"}],cmdAuth:{},commandAuthority:!1,showUpgradeToEnterpriseDialog:!1}},created:async function(){await u.get("/openc3-api/info").then(t=>{t.data.enterprise&&(this.enterprise=!0)}),this.api.get_target_interfaces().then(t=>{for(let e of t)this.data.push({name:e[0],interface:e[1],username:""})}),this.enterprise&&(u.get(`/openc3-api/scopes/${window.openc3Scope}`).then(t=>{t.data.command_authority&&(this.commandAuthority=!0)}),u.get("/openc3-api/cmdauth").then(t=>{this.cmdAuth=t.data}),this.cable.createSubscription("SystemEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}}).then(t=>{this.systemSubscription=t}))},unmounted(){this.systemSubscription&&this.systemSubscription.unsubscribe(),this.cable.disconnect()},methods:{handleMessages(t){t.forEach(e=>{let p=JSON.parse(e.event);switch(p.type){case"scope":window.openc3Scope===p.name&&(this.commandAuthority=p.command_authority);break;case"cmd_auth_take":this.cmdAuth[p.name]=p;break;case"cmd_auth_release":delete this.cmdAuth[p.name];break}})},tooltipHandler(t){this.enterprise?this.commandAuthority?this[t]():window.open("/tools/admin/scopes","_blank"):this.showUpgradeToEnterpriseDialog=!0},update(){this.tabId==this.curTab&&this.api.get_target_interfaces().then(async t=>{for(let e=0;e<t.length;e++)this.data[e].name=t[e][0],this.data[e].interface=t[e][1],this.enterprise&&(this.cmdAuth[this.data[e].name]?this.data[e].username=this.cmdAuth[this.data[e].name].username:this.data[e].username="")})},take(t){u.post("/openc3-api/cmdauth/take",{data:{target_name:t}})},release(t){u.post("/openc3-api/cmdauth/release",{data:{target_name:t}})},takeAll(){u.post("/openc3-api/cmdauth/take-all")},releaseAll(){u.post("/openc3-api/cmdauth/release-all")}}},W={key:0},H={key:1},P={key:0},R={key:1},J={key:0},L={key:0};function q(t,e,p,z,r,m){const y=i("v-spacer"),f=i("v-icon"),g=i("v-btn"),k=i("v-tooltip"),S=i("v-text-field"),w=i("v-card-title"),N=i("v-data-table"),_=i("upgrade-to-enterprise-dialog"),F=i("v-card");return c(),v(F,null,{default:n(()=>[s(w,{class:"d-flex align-center justify-content-space-between"},{default:n(()=>[a(C(r.data.length)+" Targets ",1),s(y),s(k,{location:"top",disabled:r.enterprise&&r.commandAuthority},{activator:n(({props:d})=>[l("div",A(d,{onClick:e[0]||(e[0]=O=>m.tooltipHandler("takeAll"))}),[s(g,{color:"primary",class:"mr-2",disabled:!r.commandAuthority,"data-test":"take-all"},{default:n(()=>[e[5]||(e[5]=a(" Take All Cmd Authority ")),s(f,{end:""},{default:n(()=>e[4]||(e[4]=[a(" mdi-account-check ")])),_:1})]),_:1},8,["disabled"])],16)]),default:n(()=>[r.enterprise?(c(),h("span",W,e[6]||(e[6]=[a(" Command Authority is disabled."),l("br",null,null,-1),a("Click the button above to navigate to the Admin Console / Scopes Tab. ")]))):(c(),h("span",H,e[7]||(e[7]=[a(" Command Authority is Enterprise Only."),l("br",null,null,-1),a("Click the button above to learn more. ")])))]),_:1},8,["disabled"]),s(k,{location:"top",disabled:r.enterprise&&r.commandAuthority},{activator:n(({props:d})=>[l("div",A(d,{onClick:e[1]||(e[1]=O=>m.tooltipHandler("releaseAll"))}),[s(g,{color:"primary",class:"mr-2",disabled:!r.commandAuthority,"data-test":"release-all"},{default:n(()=>[e[9]||(e[9]=a(" Release All Cmd Authority ")),s(f,{end:""},{default:n(()=>e[8]||(e[8]=[a(" mdi-account-cancel ")])),_:1})]),_:1},8,["disabled"])],16)]),default:n(()=>[r.enterprise?(c(),h("span",P,e[10]||(e[10]=[a(" Command Authority is disabled."),l("br",null,null,-1),a("Click the button above to navigate to the Admin Console / Scopes Tab. ")]))):(c(),h("span",R,e[11]||(e[11]=[a(" Command Authority is Enterprise Only."),l("br",null,null,-1),a("Click the button above to learn more. ")])))]),_:1},8,["disabled"]),s(S,{modelValue:r.search,"onUpdate:modelValue":e[2]||(e[2]=d=>r.search=d),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),s(N,{headers:r.headers,items:r.data,search:r.search,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"targets-table"},{"item.take":n(({item:d})=>[d.name==="UNKNOWN"?(c(),h("span",J,"N/A")):b("",!0),d.name!="UNKNOWN"?(c(),v(g,{key:1,block:"",color:"primary",onClick:O=>m.take(d.name),disabled:!r.commandAuthority},{default:n(()=>[e[13]||(e[13]=a(" Take ")),s(f,{end:""},{default:n(()=>e[12]||(e[12]=[a(" mdi-account-check ")])),_:1})]),_:2},1032,["onClick","disabled"])):b("",!0)]),"item.release":n(({item:d})=>[d.name==="UNKNOWN"?(c(),h("span",L,"N/A")):b("",!0),d.name!="UNKNOWN"?(c(),v(g,{key:1,block:"",color:"primary",onClick:O=>m.release(d.name),disabled:!r.commandAuthority},{default:n(()=>[e[15]||(e[15]=a(" Release ")),s(f,{end:""},{default:n(()=>e[14]||(e[14]=[a(" mdi-account-cancel ")])),_:1})]),_:2},1032,["onClick","disabled"])):b("",!0)]),_:1},8,["headers","items","search"]),s(_,{modelValue:r.showUpgradeToEnterpriseDialog,"onUpdate:modelValue":e[3]||(e[3]=d=>r.showUpgradeToEnterpriseDialog=d),reason:"Command Authority is Enterprise Only"},null,8,["modelValue"])]),_:1})}const X=U("default",T(K,[["render",q]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-74390a4d748a97f336a8.js","vue","./DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js","./VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","./main-74390a4d748a97f336a8.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Updater-3608194712b19b896303.js","./RawDialog-7cfffbbe1160eb2dfa0f.js","vue","./main-74390a4d748a97f336a8.js","./services-6fab0d9d3d41ee3bbe0a.js","vue-router","vuex","vuetify"],function(V,B){"use strict";var w,v,r,c,d,i,o,m,h,u,k,b,f,x;return{setters:[t=>{w=t.U},t=>{v=t.R},t=>{r=t.resolveComponent,c=t.openBlock,d=t.createBlock,i=t.withCtx,o=t.createVNode,m=t.createTextVNode,h=t.toDisplayString,u=t.createElementBlock,k=t.createCommentVNode,b=t.Fragment,f=t.renderList},t=>{x=t._},null,null,null,null],execute:function(){const t={components:{RawDialog:v},mixins:[w],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],headers:[{title:"Target Name",key:"target_name"},{title:"Packet Name",key:"packet_name"},{title:"Packet Count",key:"count"},{title:"View Raw",key:"view_raw"},{title:"View In Packet Viewer",key:"view_in_pkt_viewer"}],rawDialogs:[],visible:null}},created(){this.api.get_target_names().then(n=>{n.map(e=>{this.api.get_all_tlm_names(e).then(s=>{this.data=this.data.concat(s.map(_=>({target_name:e,packet_name:_,count:0})))})})})},methods:{focus(n){this.rawDialogs.map(s=>{s.zIndex=1});let e=this.rawDialogs.indexOf(n);this.rawDialogs[e].zIndex=2},openViewRaw(n,e){this.rawDialogs.map(s=>{s.zIndex=1}),this.rawDialogs=this.rawDialogs.concat({target_name:n,packet_name:e,zIndex:2})},closeRawDialog(n){let e=this.rawDialogs.indexOf(n);this.rawDialogs.splice(e,1)},openPktViewer(n,e){window.open(`/tools/packetviewer/${encodeURIComponent(n)}/${encodeURIComponent(e)}`,"_blank")},currentItems(n){this.visible=n.map(e=>[e.columns.target_name,e.columns.packet_name])},update(){this.tabId==this.curTab&&this.visible!==null&&this.api.get_tlm_cnts(this.visible).then(n=>{for(let e=0;e<n.length;e++){let s=this.data.findIndex(_=>_.target_name===this.visible[e][0]&&_.packet_name===this.visible[e][1]);this.data[s].count=n[e]}})}}},N={key:0};function D(n,e,s,_,l,p){const I=r("v-spacer"),C=r("v-text-field"),R=r("v-card-title"),y=r("v-btn"),U=r("v-icon"),T=r("v-data-table"),P=r("raw-dialog"),z=r("v-card");return c(),d(z,null,{default:i(()=>[o(R,{class:"d-flex align-center justify-content-space-between"},{default:i(()=>[m(h(l.data.length)+" Telemetry Packets ",1),o(I),o(C,{modelValue:l.search,"onUpdate:modelValue":e[0]||(e[0]=a=>l.search=a),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),o(T,{headers:l.headers,items:l.data,search:l.search,"items-per-page":10,"items-per-page-options":[10,20,50,100],"sort-by":[{key:"target_name"},{key:"packet_name"}],"onUpdate:currentItems":p.currentItems,"data-test":"tlm-packets-table"},{"item.view_raw":i(({item:a})=>[o(y,{block:"",color:"primary",disabled:a.count<1,onClick:g=>p.openViewRaw(a.target_name,a.packet_name)},{default:i(()=>e[1]||(e[1]=[m(" View Raw ")])),_:2},1032,["disabled","onClick"])]),"item.view_in_pkt_viewer":i(({item:a})=>[a.target_name==="UNKNOWN"?(c(),u("span",N,"N/A")):k("",!0),a.target_name!="UNKNOWN"?(c(),d(y,{key:1,block:"",color:"primary",onClick:g=>p.openPktViewer(a.target_name,a.packet_name)},{default:i(()=>[e[3]||(e[3]=m(" View In Packet Viewer ")),o(U,{end:""},{default:i(()=>e[2]||(e[2]=[m(" mdi-open-in-new ")])),_:1})]),_:2},1032,["onClick"])):k("",!0)]),_:1},8,["headers","items","search","onUpdate:currentItems"]),(c(!0),u(b,null,f(l.rawDialogs,a=>(c(),d(P,{key:a.target_name+"_"+a.packet_name,type:"Telemetry","target-name":a.target_name,"packet-name":a.packet_name,visible:!0,"z-index":a.zIndex,onClose:g=>p.closeRawDialog(a),onFocus:g=>p.focus(a)},null,8,["target-name","packet-name","z-index","onClose","onFocus"]))),128))]),_:1})}const j=V("default",x(t,[["render",D]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./services-6fab0d9d3d41ee3bbe0a.js"],function(r,a){"use strict";var e;return{setters:[t=>{e=t.i}],execute:function(){const t=r("U",{props:{refreshInterval:{default:1e3}},data(){return{updater:null,api:null}},created(){this.api=new e},mounted(){this.changeUpdater()},beforeUnmount(){this.updater!=null&&(clearInterval(this.updater),this.updater=null)},watch:{refreshInterval:function(n,s){this.changeUpdater()}},methods:{changeUpdater(){this.updater!=null&&(clearInterval(this.updater),this.updater=null),this.updater=setInterval(()=>{this.update()},this.refreshInterval)}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-74390a4d748a97f336a8.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js"],function(S,T){"use strict";var _,w;return{setters:[h=>{_=h.P},h=>{w=h.o}],execute:function(){var h={},b;function x(){return b||(b=1,function(t){(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(n){return V(E(n),arguments)}function I(n,u){return c.apply(null,[n].concat(u||[]))}function V(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,v,d;for(l=0;l<p;l++)if(typeof n[l]=="string")o+=n[l];else if(typeof n[l]=="object"){if(r=n[l],r.keys)for(e=u[i],a=0;a<r.keys.length;a++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[a],r.keys[a-1]));e=e[r.keys[a]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function E(n){if(f[n])return f[n];for(var u=n,i,p=[],e=0;u;){if((i=s.text.exec(u))!==null)p.push(i[0]);else if((i=s.modulo.exec(u))!==null)p.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],a=[];if((a=s.key.exec(l))!==null)for(o.push(a[1]);(l=l.substring(a[0].length))!=="";)if((a=s.key_access.exec(l))!==null)o.push(a[1]);else if((a=s.index_access.exec(l))!==null)o.push(a[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");p.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[n]=p}t.sprintf=c,t.vsprintf=I,typeof window<"u"&&(window.sprintf=c,window.vsprintf=I)})()}(h)),h}x();const k={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=S("L",{mixins:[w,_,k],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.includes("PACKET_TIMEFORMATTED")||this.valueId.includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-74390a4d748a97f336a8.js","vue","./DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js","./VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-CZh7JWwT-561515c3bc47da2968a1.js","./LimitsbarWidget-JJiyzZjb-b5becd869841fa1595ff.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.js","./DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js","./VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-0e936d8648b3ed447feb.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-CZh7JWwT-561515c3bc47da2968a1.js","./LimitscolumnWidget-Cd76tBo7-6de0345076b09ddf4e33.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.js","./DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js","./VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-0e936d8648b3ed447feb.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-CZh7JWwT-561515c3bc47da2968a1.js","./RangebarWidget-DW0FJK6y-ca5c172b1f8d8b0bdd04.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.js","vue","./main-74390a4d748a97f336a8.js","./DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js","./VWidget-Dmqf_jKM-2854e5bda271afc8bffe.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-a721899dc469c373afa9.js","vue","./main-74390a4d748a97f336a8.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VerticalWidget-Ch7VAEmz-71645022feffa66a8825.js","./Layout-klOVw-YN-a721899dc469c373afa9.js","vue","./main-74390a4d748a97f336a8.js","./Widget-orNSvnOh-c2189f557c1c3db5d0d5.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"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-74390a4d748a97f336a8.js"],function(o,d){"use strict";var p,r;return{setters:[n=>{p=n.z,r=n.a}],execute:function(){const n=o("o",{mixins:[p],props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:()=>[]},settings:{type:Array,default:()=>[]},screenValues:{type:Object,default:()=>{}},screenTimeZone:{type:String,default:"local"},namedWidgets:{type:Object,default:{}},line:{type:String,default:""},lineNumber:{type:Number,default:0}},data(){return{appliedSettings:[],appliedStyle:{},widgetName:null,screenId:"NO_SCREEN"}},computed:{computedStyle:function(){return this.appliedSettings.forEach(t=>{this.applyStyleSetting(t)}),this.appliedStyle.width===void 0&&this.appliedStyle.height===void 0&&(this.appliedStyle.flex="0 10 100%"),this.appliedStyle},screen:function(){const t=this;return{getNamedWidget:function(e){return t.$store.getters.namedWidget(t.toQualifiedWidgetName(e))},open:function(e,i){t.$emit("open",e,i)},close:function(e,i){t.$emit("close",e,i)},closeAll:function(){t.$emit("closeAll")}}},listeners:function(){return Object.entries(this.$attrs).reduce((t,e)=>e[0].startsWith("on")?{...t,[e[0]]:e[1]}:t,{})}},watch:{widgetName:function(t,e){this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(e)),this.$store.commit("setNamedWidget",{[this.toQualifiedWidgetName(t)]:this})}},created(){var t,e;this.screenId=(t=this.settings.find(i=>i[0]==="__SCREEN_ID__"))==null?void 0:t.at(1),this.widgetName=(e=this.settings.find(i=>i[0]==="NAMED_WIDGET"))==null?void 0:e.at(1),this.appliedSettings=this.settings.map(i=>{const s=parseInt(i[0]);if(isNaN(s)||this.widgetIndex===null)return i;if(this.widgetIndex===s)return i.slice(1)}).filter(i=>i!==void 0)},beforeUnmount(){this.widgetName&&this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(this.widgetName))},methods:{applyStyleSetting(t){switch(t[0]){case"TEXTALIGN":this.appliedStyle["text-align"]=t[1].toLowerCase()+" !important",this.appliedStyle["--text-align"]=t[1].toLowerCase();break;case"PADDING":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.padding=t[1]+" !important";break;case"MARGIN":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.margin=t[1]+" !important";break;case"BACKCOLOR":this.appliedStyle["background-color"]=this.getColor(t.slice(1))+" !important";break;case"TEXTCOLOR":this.appliedStyle.color=this.getColor(t.slice(1))+" !important";break;case"BORDERCOLOR":this.appliedStyle["border-width"]="1px!important",this.appliedStyle["border-style"]="solid!important",this.appliedStyle["border-color"]=this.getColor(t.slice(1))+" !important";break;case"WIDTH":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.width=t[1]+" !important";break;case"HEIGHT":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.height=t[1]+" !important";break;case"RAW":this.appliedStyle[t[1].toLowerCase()]=t[2]+" !important";break}},verifyNumParams(t,e,i,s=""){let a={line:this.line,lineNumber:this.lineNumber,keyword:t,parameters:this.parameters};for(let l=1;l<=e;l++)if(this.parameters[l-1]===void 0)throw new r(a,`Not enough parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration");if(i!==null&&this.parameters.length>i)throw new r(a,`Too many parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration")},setWidth(t,e="px",i="120"){let s=this.appliedSettings.find(a=>a[0]==="WIDTH");return s?s.WIDTH:t?(this.appliedSettings.push(["WIDTH",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["WIDTH",`${i}${e}`]),parseInt(i))},setHeight(t,e="px",i="20"){let s=null;return s=this.appliedSettings.find(a=>a[0]==="HEIGHT"),s?s.HEIGHT:t?(this.appliedSettings.push(["HEIGHT",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["HEIGHT",`${i}${e}`]),parseInt(i))},getColor(t){switch(t.length){case 1:return t[0].toLowerCase();case 3:return`rgb(${t[0]},${t[1]},${t[2]})`}},toQualifiedWidgetName(t){return`${this.screenId}:${t}`}}})}}});