openc3-cosmos-tool-limitsmonitor 6.0.1 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/tools/limitsmonitor/{ArrayWidget-BTxChSds-65d00bda9994f3c7af53.js → ArrayWidget-DBpEoQ1y-10bc2aa62aefae635d7c.js} +2 -2
  3. data/tools/limitsmonitor/{BarColumn-Cdu3OoMa-f3e59682751452abe45e.js → BarColumn-B6tCmNJm-81299b2ec5265c815997.js} +1 -1
  4. data/tools/limitsmonitor/BlockWidget-Bmi0UcUW-7352a46cab16efbe02f6.js +2 -0
  5. data/tools/limitsmonitor/{ButtonWidget-nwDlOBJT-e013309f09e21f889abb.js → ButtonWidget-CHrHS_Bw-8f9b44ca04ad8627a544.js} +2 -2
  6. data/tools/limitsmonitor/CanvasWidget-BqdyLbQz-e40ae0173390c826e4bf.js +1 -0
  7. data/tools/limitsmonitor/CanvasdotWidget-YYwca104-5be5230fc4d7584a582d.js +1 -0
  8. data/tools/limitsmonitor/{CanvasimageWidget-BIw7Wbf2-47faa804e56abbb56cd2.js → CanvasimageWidget-BrYlPQCf-7cb83fbc95a6694fcc75.js} +1 -1
  9. data/tools/limitsmonitor/CanvasimagevalueWidget-HnEOXmZy-21ef90605f467870eda5.js +1 -0
  10. data/tools/limitsmonitor/{CanvaslabelWidget-DWmb356h-89a1044980637ac7426a.js → CanvaslabelWidget-BfMHNei--bbd9ce0f1cc42a44ce8c.js} +1 -1
  11. data/tools/limitsmonitor/{CanvaslabelvalueWidget-CI3yYwFs-ef79b31473cd36a5184d.js → CanvaslabelvalueWidget-0zRDJav3-810a83bbb5c641f6e738.js} +1 -1
  12. data/tools/limitsmonitor/CanvaslineWidget-BmOwJP_G-d372e899711f53540ddb.js +1 -0
  13. data/tools/limitsmonitor/CanvaslinevalueWidget-H3L1aUKM-9243996b855c413926f1.js +1 -0
  14. data/tools/limitsmonitor/CheckbuttonWidget-BnT9X7wE-45077b8b75f6dfd39345.js +1 -0
  15. data/tools/limitsmonitor/{ComboboxWidget-BzsbOv54-bb110f0faf59341868c3.js → ComboboxWidget-BykAAoxH-cd6992d4210826a4ce38.js} +1 -1
  16. data/tools/limitsmonitor/{DateWidget-B5R_9rA8-4dbc82988b60bc852e56.js → DateWidget-FtYD86xW-b6fff7655074d23f5e4b.js} +1 -1
  17. data/tools/limitsmonitor/{DetailsDialog-DLRMqetn-c1e88264145accbab84b.js → DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js} +1 -1
  18. data/tools/limitsmonitor/{DynamicWidget-m9EliUR2-fd2b4aed9ce4129cfda1.js → DynamicWidget-m9EliUR2-26b730c2ac78fdca149b.js} +1 -1
  19. data/tools/limitsmonitor/FormatvalueWidget-OykwwCrw-6d473f90cb2df8d6ad21.js +1 -0
  20. data/tools/limitsmonitor/{GraphWidget-amwxyH1r-4073e232ed355ac937c3.js → GraphWidget-BohHW-97-1f95b047aac874dc24a5.js} +1 -1
  21. data/tools/limitsmonitor/{HorizontalWidget-CirtfuL8-76222a0598554913fb45.js → HorizontalWidget-B7YdcFVN-6d94bf4bb739925d7210.js} +1 -1
  22. data/tools/limitsmonitor/HorizontalboxWidget-D-kCNwI3-6f53b03a7da8c86162c1.js +1 -0
  23. data/tools/limitsmonitor/{HorizontallineWidget-BdlNB951-c740983cc62e6fb9d4f7.js → HorizontallineWidget-BdlNB951-79a8b83089855d6afd68.js} +1 -1
  24. data/tools/limitsmonitor/IframeWidget-0C7GYEVc-5f201c42f8a4a3f857a4.js +1 -0
  25. data/tools/limitsmonitor/{ImageLoader-CpcR6tPi-1fee4f3eeb0a6c520534.js → ImageLoader-y6fAZe9P-a5c428a769ea49ef68da.js} +1 -1
  26. data/tools/limitsmonitor/{ImageviewerWidget-DIkmb_C9-f8deed1e463e6234b3cc.js → ImageviewerWidget-B4HbUIfR-7c52372f6088d994206d.js} +1 -1
  27. data/tools/limitsmonitor/{LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js → LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js} +1 -1
  28. data/tools/limitsmonitor/{LabelledWidget-DjturGl5-9818a24064f153599b46.js → LabelledWidget-C2VGJ5OJ-99fc7922439a01702730.js} +1 -1
  29. data/tools/limitsmonitor/LabelprogressbarWidget-DN0cAeLK-d7bbe2a3c515440e13f6.js +1 -0
  30. data/tools/limitsmonitor/LabelsparklineWidget--sxBENxs-aec45c83ead6762e91de.js +1 -0
  31. data/tools/limitsmonitor/LabelvalueWidget-BWpP5KX6-32c57bd023d22b75fc9c.js +1 -0
  32. data/tools/limitsmonitor/{LabelvaluedescWidget-CsUP7J4U-7fa85b703fbf191fcedb.js → LabelvaluedescWidget-DtJwggDu-538ba5e2feb203768205.js} +1 -1
  33. data/tools/limitsmonitor/{LabelvaluelimitsbarWidget-Blj1QXV8-b1933e9a91f63814e2ed.js → LabelvaluelimitsbarWidget-Bj6UVK-5-cb4d7a45903189163f59.js} +1 -1
  34. data/tools/limitsmonitor/LabelvaluelimitscolumnWidget-BVcEEcUx-236cf34508635cbd85a4.js +1 -0
  35. data/tools/limitsmonitor/{LabelvaluerangebarWidget-DpcXhlfF-110728320d02af581302.js → LabelvaluerangebarWidget-DCJ42bmf-9df0dd9b99ee393496b1.js} +1 -1
  36. data/tools/limitsmonitor/{Layout-C1HoM4Kl-a7bbda53a092bc45e06c.js → Layout-D4YBjuWs-be2d1878767310656ca5.js} +1 -1
  37. data/tools/limitsmonitor/{LedWidget-B_K2e5tq-b44a870758414b940abc.js → LedWidget-hN9JHxjr-3e21201718a4a9b6c8ab.js} +1 -1
  38. data/tools/limitsmonitor/{LimitsMonitor-b8df7d7c646a318a25c2.js → LimitsMonitor-5ccbc6156ab09287f753.js} +6 -6
  39. data/tools/limitsmonitor/{LimitsbarWidget-DXbqsi4J-696a879f4a055ef98599.js → LimitsbarWidget-D-wfz_St-b5a4f1a6cb26c135996b.js} +1 -1
  40. data/tools/limitsmonitor/{LimitscolorWidget-Ckmuw0YX-bdec13a8d949afa47839.js → LimitscolorWidget-B0AVGdkz-ec414c8f6560428f884f.js} +1 -1
  41. data/tools/limitsmonitor/{LimitscolumnWidget-BfY4su5U-c8781d4bdbecf7fdd11f.js → LimitscolumnWidget-Dt5ce4hN-3ab5f802493038f2b108.js} +1 -1
  42. data/tools/limitsmonitor/{LinegraphWidget-y-Qy9P0R-5f325ad442a6b47d5ea2.js → LinegraphWidget-CTjtvtPd-c9a510735d8dc2d5bdc1.js} +1 -1
  43. data/tools/limitsmonitor/MatrixbycolumnsWidget-wLx4NvXV-ec985fa9c917fbaa80b1.js +1 -0
  44. data/tools/limitsmonitor/{ProgressbarWidget-DpA_-vy9-9c2139820ff60bec25ba.js → ProgressbarWidget-B7l0BBiX-31ca29a976d6d563f87b.js} +1 -1
  45. data/tools/limitsmonitor/RadiobuttonWidget-B032jKIw-947ce2fd5e364181b75a.js +1 -0
  46. data/tools/limitsmonitor/RadiogroupWidget-Busjqikr-72666cd93cb5ef59d2f7.js +1 -0
  47. data/tools/limitsmonitor/{RangebarWidget-DHS7S3vI-5d976a46f05c7e82dbf6.js → RangebarWidget-DbYrwEfC-8e4508c3ca65c32801e6.js} +1 -1
  48. data/tools/limitsmonitor/{RollupWidget-CTk9Kjwr-77a9d97d948244754e59.js → RollupWidget-rKxLXuCv-f3860502dc41f764e4f4.js} +1 -1
  49. data/tools/limitsmonitor/{ScrollwindowWidget-DD0TOW6s-7f7bb8a17a58ebddc78a.js → ScrollwindowWidget-D4NKIzQO-6bc311f581482a1ebc7b.js} +1 -1
  50. data/tools/limitsmonitor/{SignalWidget-CC33KMTW-8fac7121eceff94ef2da.js → SignalWidget-h-oivReC-53cabe897e49bb66409a.js} +1 -1
  51. data/tools/limitsmonitor/SpacerWidget-BSy9eOlB-4d6410020e27b5c859d4.js +1 -0
  52. data/tools/limitsmonitor/{SparklineWidget-DMvMQCPm-9342560c9e564a75141e.js → SparklineWidget-C9vdxar--1e1da872a40d23cb526a.js} +1 -1
  53. data/tools/limitsmonitor/TabbookWidget-DTFTKURm-81c7569b723f2f6e87d9.js +1 -0
  54. data/tools/limitsmonitor/TextboxWidget-BZyYHmBq-c4b99f81463452c5e54a.js +1 -0
  55. data/tools/limitsmonitor/{TextfieldWidget-DXSdgqVP-76a3154f5d2f79a4de0e.js → TextfieldWidget-aVRdXRsT-c2c9ec7e805ec1c751cd.js} +1 -1
  56. data/tools/limitsmonitor/TimeWidget-BE2rtMxg-5af126a079a24c333049.js +1 -0
  57. data/tools/limitsmonitor/{TitleWidget-DqViFQl--28c4c2a430b45c39d324.js → TitleWidget-BB29MZb2-7b4b10b0640c517ffda4.js} +1 -1
  58. data/tools/limitsmonitor/{VWidget-02CG-3Av-d3c5e53d610f42607c18.js → VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js} +1 -1
  59. data/tools/limitsmonitor/ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js +1 -0
  60. data/tools/limitsmonitor/{ValuelimitsbarWidget-SR8XNZFB-bbed09d409c05b7c7578.js → ValuelimitsbarWidget-LMXYjWtS-76d5604fc1706981fa55.js} +1 -1
  61. data/tools/limitsmonitor/{ValuelimitscolumnWidget-xYZSp6YZ-e3e034b12de43d3cf04a.js → ValuelimitscolumnWidget-gA3ZcfAT-ca8550256cf63611b931.js} +1 -1
  62. data/tools/limitsmonitor/ValuerangebarWidget-DwZ9KQ0O-21dd7d03d82d6fdaa8a6.js +1 -0
  63. data/tools/limitsmonitor/VerticalWidget-DziyURNu-766271166fc05ccd6b08.js +1 -0
  64. data/tools/limitsmonitor/VerticalboxWidget-OcoZBsFU-3fffa844edef8feb420c.js +1 -0
  65. data/tools/limitsmonitor/{Widget-C4QVI4IH-5a97554019dbe2ca69fb.js → Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js} +1 -1
  66. data/tools/limitsmonitor/{main-327494fd5f18e09d7319.js → main-93c3aaf3971ea1334ca9.js} +74 -74
  67. data/tools/limitsmonitor/main.js +1 -1
  68. metadata +67 -67
  69. data/tools/limitsmonitor/BlockWidget-PmjzrkXF-74f288c0d604e52c6553.js +0 -2
  70. data/tools/limitsmonitor/CanvasWidget-BL8930eT-b19d22b5d879eb1c88e6.js +0 -1
  71. data/tools/limitsmonitor/CanvasdotWidget-VCf1fL-G-c9907c8df5f84b6b0fbe.js +0 -1
  72. data/tools/limitsmonitor/CanvasimagevalueWidget-CE3Dj5bH-2b0426b6ee55fad5ec60.js +0 -1
  73. data/tools/limitsmonitor/CanvaslineWidget-COeapH3P-a48defe04ae5bc502516.js +0 -1
  74. data/tools/limitsmonitor/CanvaslinevalueWidget-CI-Bbzfi-1bc460c83a527949f43c.js +0 -1
  75. data/tools/limitsmonitor/CheckbuttonWidget-BQhggcZ2-c29cd378753ee61fdcfd.js +0 -1
  76. data/tools/limitsmonitor/FormatvalueWidget-DZkRJce8-66d5ebdbb8fa9bfffd42.js +0 -1
  77. data/tools/limitsmonitor/HorizontalboxWidget-CyTDt2nl-1d712f58bdd1eeef6341.js +0 -1
  78. data/tools/limitsmonitor/IframeWidget-DnJmCrCA-e9b8bb8889de79053e02.js +0 -1
  79. data/tools/limitsmonitor/LabelprogressbarWidget-RADJGLj3-b609754f25d29041a064.js +0 -1
  80. data/tools/limitsmonitor/LabelsparklineWidget-BlJoICxu-febffeae5bb6e1740de5.js +0 -1
  81. data/tools/limitsmonitor/LabelvalueWidget-DVWJqnlY-a49572cfacf09e4a43a2.js +0 -1
  82. data/tools/limitsmonitor/LabelvaluelimitscolumnWidget-CvCo-uCe-e007e4876029e2e644a9.js +0 -1
  83. data/tools/limitsmonitor/MatrixbycolumnsWidget-BTBColrs-bbeaeda00156fd16d638.js +0 -1
  84. data/tools/limitsmonitor/RadiobuttonWidget-BO8zpgwW-e530c276d2eed96b427a.js +0 -1
  85. data/tools/limitsmonitor/RadiogroupWidget-Oy7V4S-V-b062d220324dcf01dc6d.js +0 -1
  86. data/tools/limitsmonitor/SpacerWidget-BnJe_Hq6-8893dd34d7ecb5177949.js +0 -1
  87. data/tools/limitsmonitor/TabbookWidget-B3w0JtWe-1d3e4ec1c6d30252a7cd.js +0 -1
  88. data/tools/limitsmonitor/TextboxWidget-D2f0-eol-aead932f5c02ac95f128.js +0 -1
  89. data/tools/limitsmonitor/TimeWidget-DvrRaEMz-289d89642e8f6650dda5.js +0 -1
  90. data/tools/limitsmonitor/ValueWidget-KLYY8L8U-e4b9e6d7b4f7d73b123b.js +0 -1
  91. data/tools/limitsmonitor/ValuerangebarWidget-B6M02a9d-66ad8df1e4044153277c.js +0 -1
  92. data/tools/limitsmonitor/VerticalWidget-z6xUM-ql-a4f3f144ebc6cd085694.js +0 -1
  93. data/tools/limitsmonitor/VerticalboxWidget-3a9cVsW--66457f471e66437f47a2.js +0 -1
@@ -1 +1 @@
1
- System.register(["./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","./LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js","./LedWidget-B_K2e5tq-b44a870758414b940abc.js","vue","./main-327494fd5f18e09d7319.js","vue-router","single-spa","vuex","vuetify"],function(p,S){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,x,y,b,B,m){const f=s("label-widget"),v=s("led-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const w=p("default",d(e,[["render",g]]))}}});
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./LedWidget-hN9JHxjr-3e21201718a4a9b6c8ab.js","vue","./main-93c3aaf3971ea1334ca9.js","vue-router","single-spa","vuex","vuetify"],function(p,x){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,w,b,y,N,m){const f=s("label-widget"),v=s("led-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=p("default",d(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ProgressbarWidget-B7l0BBiX-31ca29a976d6d563f87b.js","vue","./main-93c3aaf3971ea1334ca9.js","vue-router","single-spa","vuex","vuetify"],function(p,y){"use strict";var n,l,a,s,i,o,c,r,u,g;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,u=e.mergeProps},e=>{g=e.s},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,x,S,B,w,m){const f=s("label-widget"),v=s("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=p("default",g(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./SparklineWidget-C9vdxar--1e1da872a40d23cb526a.js","vue","./main-93c3aaf3971ea1334ca9.js","./GraphWidget-BohHW-97-1f95b047aac874dc24a5.js","single-spa","vue-router","vuex","vuetify"],function(p,y){"use strict";var r,i,a,l,o,u,n,s,d;return{setters:[e=>{r=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,s=e.createVNode},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,b,v,x,k,m){const g=l("label-widget"),f=l("sparkline-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[s(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),s(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const S=p("default",d(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js","vue","./main-93c3aaf3971ea1334ca9.js","./DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js","single-spa","./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var r,l,a,n,i,u,m,s,o,c;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,m=e.normalizeStyle,s=e.createVNode,o=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function d(t,w,x,S,V,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:m(t.computedStyle)},[s(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),s(b,o(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const h=g("default",c(e,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","./LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js","./ValueWidget-KLYY8L8U-e4b9e6d7b4f7d73b123b.js","./main-327494fd5f18e09d7319.js","vue","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","vue-router","vuex","vuetify"],function(d,P){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.s,u=e.F},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,x,y,V,h,v){const b=s("label-widget"),f=s("value-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const w=d("default",l(e,[["render",g]]))}}});
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js","./main-93c3aaf3971ea1334ca9.js","vue","./DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js","single-spa","./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","vue-router","vuex","vuetify"],function(d,w){"use strict";var n,i,a,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.s,u=e.F},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:i,ValueWidget:a},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,P,V,j,h,v){const b=s("label-widget"),f=s("value-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const x=d("default",l(e,[["render",g]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-DVWJqnlY-a49572cfacf09e4a43a2.js","./LimitsbarWidget-DXbqsi4J-696a879f4a055ef98599.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue","./main-327494fd5f18e09d7319.js","./LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js","./ValueWidget-KLYY8L8U-e4b9e6d7b4f7d73b123b.js","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","./BarColumn-Cdu3OoMa-f3e59682751452abe45e.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,a,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,V,j,W,L,d){const v=s("labelvalue-widget"),b=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(b,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const S=m("default",g(e,[["render",p]]))}}});
1
+ System.register(["./LabelvalueWidget-BWpP5KX6-32c57bd023d22b75fc9c.js","./LimitsbarWidget-D-wfz_St-b5a4f1a6cb26c135996b.js","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue","./main-93c3aaf3971ea1334ca9.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js","./DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js","single-spa","./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","./BarColumn-B6tCmNJm-81299b2ec5265c815997.js","vue-router","vuex","vuetify"],function(g,b){"use strict";var r,i,a,s,u,o,c,l,n,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,j,V,W,_,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(f,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const S=g("default",m(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js","./LimitscolumnWidget-Dt5ce4hN-3ab5f802493038f2b108.js","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue","./main-93c3aaf3971ea1334ca9.js","./DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js","single-spa","./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","./BarColumn-B6tCmNJm-81299b2ec5265c815997.js","vue-router","vuex","vuetify"],function(d,S){"use strict";var i,r,a,u,s,o,m,c,n,l,g;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,o=e.openBlock,m=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,l=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,j,V,b,x,C){const v=s("label-widget"),f=s("limitscolumn-widget"),w=s("value-widget");return o(),m("div",{ref:"container",style:c(t.computedStyle)},[n(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),n(w,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const W=d("default",g(e,[["render",p]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-DVWJqnlY-a49572cfacf09e4a43a2.js","./RangebarWidget-DHS7S3vI-5d976a46f05c7e82dbf6.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue","./main-327494fd5f18e09d7319.js","./LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js","./ValueWidget-KLYY8L8U-e4b9e6d7b4f7d73b123b.js","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){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,V,S,W,j,n){const v=s("labelvalue-widget"),h=s("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(v,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(h,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
1
+ System.register(["./LabelvalueWidget-BWpP5KX6-32c57bd023d22b75fc9c.js","./RangebarWidget-DbYrwEfC-8e4508c3ca65c32801e6.js","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue","./main-93c3aaf3971ea1334ca9.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js","./DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js","single-spa","./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){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,V,W,j,B,n){const h=s("labelvalue-widget"),v=s("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(h,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(v,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
@@ -1 +1 @@
1
- System.register(["./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue","./main-327494fd5f18e09d7319.js","vue-router","single-spa","vuex","vuetify"],function(m,g){"use strict";var i,n,l,o,r,a,p,h,c;return{setters:[e=>{i=e.o},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createBlock,r=e.withCtx,a=e.createElementVNode,p=e.mergeProps,h=e.toDisplayString},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}};function d(t,s,f,E,S,u){const v=n("v-tooltip");return l(),o(v,{location:"top"},{activator:r(({props:I})=>[a("div",p({class:"ledwidget mt-1",style:[u.cssProps,t.computedStyle]},I),null,16)]),default:r(()=>[a("span",null,h(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-6a4513e5"]]))}}});
1
+ System.register(["./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue","./main-93c3aaf3971ea1334ca9.js","vue-router","single-spa","vuex","vuetify"],function(m,I){"use strict";var i,n,l,o,r,a,p,h,c;return{setters:[e=>{i=e.o},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createBlock,r=e.withCtx,a=e.createElementVNode,p=e.mergeProps,h=e.toDisplayString},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}};function d(t,s,f,E,S,u){const v=n("v-tooltip");return l(),o(v,{location:"top"},{activator:r(({props:g})=>[a("div",p({class:"ledwidget mt-1",style:[u.cssProps,t.computedStyle]},g),null,16)]),default:r(()=>[a("span",null,h(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-6a4513e5"]]))}}});
@@ -1,7 +1,7 @@
1
- System.register(["./main-327494fd5f18e09d7319.js","vue","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","./LabelvalueWidget-DVWJqnlY-a49572cfacf09e4a43a2.js","./LabelvaluelimitsbarWidget-Blj1QXV8-b1933e9a91f63814e2ed.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","./LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js","./ValueWidget-KLYY8L8U-e4b9e6d7b4f7d73b123b.js","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","./LimitsbarWidget-DXbqsi4J-696a879f4a055ef98599.js","./BarColumn-Cdu3OoMa-f3e59682751452abe45e.js"],function(Ut,Mi){"use strict";var Me,re,we,We,ze,qe,y,E,A,He,g,p,R,M,U,z,$,Y,B,oe,Se,q,Ee,$e,Je;return{setters:[x=>{Me=x.s,re=x._,we=x.P,We=x.X,ze=x.Y,qe=x.Z},x=>{y=x.resolveComponent,E=x.openBlock,A=x.createBlock,He=x.Teleport,g=x.createVNode,p=x.withCtx,R=x.createElementVNode,M=x.toDisplayString,U=x.createElementBlock,z=x.Fragment,$=x.renderList,Y=x.mergeProps,B=x.createTextVNode,oe=x.createSlots,Se=x.normalizeStyle,q=x.createCommentVNode,Ee=x.normalizeClass},null,null,x=>{$e=x.default},x=>{Je=x.default},null,null,null,null,null,null,null,null,null],execute:function(){var x=document.createElement("style");x.textContent=`.footer[data-v-dd6c39b3]{padding-top:5px}.v-input[data-v-dd6c39b3]{background-color:var(--color-background-base-default)}.textfield-green[data-v-dd6c39b3]{color:#00c800}.textfield-yellow[data-v-dd6c39b3]{color:#ffdc00}.textfield-red[data-v-dd6c39b3]{color:#ff2d2d}.card-height[data-v-210db24e]{height:calc(100vh - 150px)}
2
- /*$vite$:1*/`,document.head.appendChild(x);const Ft={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}},Bt={class:"app-title mr-2"};function Vt(t,e,n,i,s,r){const o=y("v-col"),l=y("v-row"),u=y("v-icon"),c=y("v-btn"),d=y("v-divider"),h=y("v-list-item-title"),v=y("v-list-item"),_=y("v-list"),m=y("v-menu"),f=y("v-radio"),k=y("v-list-item-action"),C=y("v-radio-group"),O=y("v-checkbox");return E(),A(He,{to:"#openc3-menu"},[g(l,{"no-gutters":""},{default:p(()=>[g(o,{"align-self":"end"},{default:p(()=>[R("span",Bt,M(n.title),1)]),_:1})]),_:1}),g(l,{dense:"",class:"flex-nowrap"},{default:p(()=>[(E(!0),U(z,null,$(n.menus,(S,I)=>(E(),A(m,{ref_for:!0,ref:"topmenu",key:I},{activator:p(({props:b})=>[g(c,Y({ref_for:!0},b,{variant:"outlined",class:"mx-1 menu-button",text:S.label,"data-test":r.formatDT(`${n.title} ${S.label}`)}),{append:p(()=>[g(u,{class:"menu-button-icon"},{default:p(()=>e[0]||(e[0]=[B(" mdi-menu-down ")])),_:1})]),_:2},1040,["text","data-test"])]),default:p(()=>[g(_,null,{default:p(()=>[(E(!0),U(z,null,$(S.items,(b,D)=>(E(),U(z,null,[b.divider?(E(),A(d,{key:D+"-divider"})):b.subMenu&&b.subMenu.length>0?(E(),U("div",{key:D+"-submenu"},[(E(),A(m,{"open-on-hover":"",location:"right",key:D},{activator:p(({props:j})=>[(E(),A(v,Y({ref_for:!0},j,{disabled:b.disabled,key:D}),oe({append:p(()=>[g(u,null,{default:p(()=>e[1]||(e[1]=[B(" mdi-chevron-right ")])),_:1})]),default:p(()=>[!b.radio&&!b.checkbox?(E(),A(h,{key:0,style:Se("cursor: pointer;"+(b.disabled?"opacity: 0.2":""))},{default:p(()=>[B(M(b.label),1)]),_:2},1032,["style"])):q("",!0)]),_:2},[b.icon?{name:"prepend",fn:p(()=>[g(u,{disabled:b.disabled},{default:p(()=>[B(M(b.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:p(()=>[g(_,null,{default:p(()=>[(E(!0),U(z,null,$(b.subMenu,(j,H)=>(E(),A(v,{key:H,"prepend-icon":j.icon,onClick:Ve=>r.subMenuClick(j)},{default:p(()=>[g(h,null,{default:p(()=>[B(M(j.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):b.radioGroup?(E(),A(C,{"model-value":b.value,"onUpdate:modelValue":b.command,key:D+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:p(()=>[(E(!0),U(z,null,$(b.choices,(j,H)=>(E(),A(v,{key:H+"-choice"},{default:p(()=>[g(k,{class:"list-action"},{default:p(()=>[g(f,{color:"secondary",label:j.label,value:j.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(E(),A(v,{onClick:j=>b.command(b),disabled:b.disabled,"data-test":r.formatDT(`${n.title} ${S.label} ${b.label}`),key:D+"-list"},oe({default:p(()=>[b.checkbox?(E(),A(k,{key:0,class:"list-action"},{default:p(()=>[g(O,{modelValue:b.checked,"onUpdate:modelValue":j=>b.checked=j,label:b.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):q("",!0),!b.radio&&!b.checkbox?(E(),A(h,{key:1,style:Se("cursor: pointer;"+(b.disabled?"opacity: 0.2":""))},{default:p(()=>[B(M(b.label),1)]),_:2},1032,["style"])):q("",!0)]),_:2},[b.icon?{name:"prepend",fn:p(()=>[g(u,{icon:b.icon,disabled:b.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const Mt=Me(Ft,[["render",Vt],["__scopeId","data-v-4d454b93"]]);var Wt=Object.defineProperty,zt=(t,e,n)=>e in t?Wt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,qt=(t,e,n)=>zt(t,e+"",n);function Ke(t,e){return function(){return t.apply(e,arguments)}}const{toString:Ht}=Object.prototype,{getPrototypeOf:xe}=Object,ae=(t=>e=>{const n=Ht.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),V=t=>(t=t.toLowerCase(),e=>ae(e)===t),le=t=>e=>typeof e===t,{isArray:Z}=Array,Q=le("undefined");function $t(t){return t!==null&&!Q(t)&&t.constructor!==null&&!Q(t.constructor)&&F(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ge=V("ArrayBuffer");function Jt(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ge(t.buffer),e}const Kt=le("string"),F=le("function"),Ye=le("number"),ce=t=>t!==null&&typeof t=="object",Gt=t=>t===!0||t===!1,ue=t=>{if(ae(t)!=="object")return!1;const e=xe(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Yt=V("Date"),Zt=V("File"),Xt=V("Blob"),Qt=V("FileList"),en=t=>ce(t)&&F(t.pipe),tn=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||F(t.append)&&((e=ae(t))==="formdata"||e==="object"&&F(t.toString)&&t.toString()==="[object FormData]"))},nn=V("URLSearchParams"),[sn,rn,on,an]=["ReadableStream","Request","Response","Headers"].map(V),ln=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ee(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),Z(t))for(i=0,s=t.length;i<s;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let l;for(i=0;i<o;i++)l=r[i],e.call(null,t[l],l,t)}}function Ze(t,e){e=e.toLowerCase();const n=Object.keys(t);let i=n.length,s;for(;i-- >0;)if(s=n[i],e===s.toLowerCase())return s;return null}const J=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Xe=t=>!Q(t)&&t!==J;function Oe(){const{caseless:t}=Xe(this)&&this||{},e={},n=(i,s)=>{const r=t&&Ze(e,s)||s;ue(e[r])&&ue(i)?e[r]=Oe(e[r],i):ue(i)?e[r]=Oe({},i):Z(i)?e[r]=i.slice():e[r]=i};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&ee(arguments[i],n);return e}const cn=(t,e,n,{allOwnKeys:i}={})=>(ee(e,(s,r)=>{n&&F(s)?t[r]=Ke(s,n):t[r]=s},{allOwnKeys:i}),t),un=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),dn=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},hn=(t,e,n,i)=>{let s,r,o;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),r=s.length;r-- >0;)o=s[r],(!i||i(o,t,e))&&!l[o]&&(e[o]=t[o],l[o]=!0);t=n!==!1&&xe(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},fn=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return i!==-1&&i===n},mn=t=>{if(!t)return null;if(Z(t))return t;let e=t.length;if(!Ye(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},pn=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&xe(Uint8Array)),gn=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},_n=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},bn=V("HTMLFormElement"),yn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,i){return n.toUpperCase()+i}),Qe=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),vn=V("RegExp"),et=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};ee(n,(s,r)=>{let o;(o=e(s,r,t))!==!1&&(i[r]=o||s)}),Object.defineProperties(t,i)},wn=t=>{et(t,(e,n)=>{if(F(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=t[n];if(F(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Sn=(t,e)=>{const n={},i=s=>{s.forEach(r=>{n[r]=!0})};return Z(t)?i(t):i(String(t).split(e)),n},En=()=>{},xn=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,Ce="abcdefghijklmnopqrstuvwxyz",tt="0123456789",nt={DIGIT:tt,ALPHA:Ce,ALPHA_DIGIT:Ce+Ce.toUpperCase()+tt},On=(t=16,e=nt.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n};function Cn(t){return!!(t&&F(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Rn=t=>{const e=new Array(10),n=(i,s)=>{if(ce(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[s]=i;const r=Z(i)?[]:{};return ee(i,(o,l)=>{const u=n(o,s+1);!Q(u)&&(r[l]=u)}),e[s]=void 0,r}}return i};return n(t,0)},Tn=V("AsyncFunction"),kn=t=>t&&(ce(t)||F(t))&&F(t.then)&&F(t.catch),it=((t,e)=>t?setImmediate:e?((n,i)=>(J.addEventListener("message",({source:s,data:r})=>{s===J&&r===n&&i.length&&i.shift()()},!1),s=>{i.push(s),J.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",F(J.postMessage)),An=typeof queueMicrotask<"u"?queueMicrotask.bind(J):typeof process<"u"&&process.nextTick||it,a={isArray:Z,isArrayBuffer:Ge,isBuffer:$t,isFormData:tn,isArrayBufferView:Jt,isString:Kt,isNumber:Ye,isBoolean:Gt,isObject:ce,isPlainObject:ue,isReadableStream:sn,isRequest:rn,isResponse:on,isHeaders:an,isUndefined:Q,isDate:Yt,isFile:Zt,isBlob:Xt,isRegExp:vn,isFunction:F,isStream:en,isURLSearchParams:nn,isTypedArray:pn,isFileList:Qt,forEach:ee,merge:Oe,extend:cn,trim:ln,stripBOM:un,inherits:dn,toFlatObject:hn,kindOf:ae,kindOfTest:V,endsWith:fn,toArray:mn,forEachEntry:gn,matchAll:_n,isHTMLForm:bn,hasOwnProperty:Qe,hasOwnProp:Qe,reduceDescriptors:et,freezeMethods:wn,toObjectSet:Sn,toCamelCase:yn,noop:En,toFiniteNumber:xn,findKey:Ze,global:J,isContextDefined:Xe,ALPHABET:nt,generateString:On,isSpecCompliantForm:Cn,toJSONObject:Rn,isAsyncFn:Tn,isThenable:kn,setImmediate:it,asap:An};function w(t,e,n,i,s){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),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(w,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 st=w.prototype,rt={};["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=>{rt[t]={value:t}}),Object.defineProperties(w,rt),Object.defineProperty(st,"isAxiosError",{value:!0}),w.from=(t,e,n,i,s,r)=>{const o=Object.create(st);return a.toFlatObject(t,o,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),w.call(o,t.message,e,n,i,s),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const Ln=null;function Re(t){return a.isPlainObject(t)||a.isArray(t)}function ot(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function at(t,e,n){return t?t.concat(e).map(function(i,s){return i=ot(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function Nn(t){return a.isArray(t)&&!t.some(Re)}const In=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function de(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(_,m){return!a.isUndefined(m[_])});const i=n.metaTokens,s=n.visitor||c,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(_){if(_===null)return"";if(a.isDate(_))return _.toISOString();if(!l&&a.isBlob(_))throw new w("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(_)||a.isTypedArray(_)?l&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function c(_,m,f){let k=_;if(_&&!f&&typeof _=="object"){if(a.endsWith(m,"{}"))m=i?m:m.slice(0,-2),_=JSON.stringify(_);else if(a.isArray(_)&&Nn(_)||(a.isFileList(_)||a.endsWith(m,"[]"))&&(k=a.toArray(_)))return m=ot(m),k.forEach(function(C,O){!(a.isUndefined(C)||C===null)&&e.append(o===!0?at([m],O,r):o===null?m:m+"[]",u(C))}),!1}return Re(_)?!0:(e.append(at(f,m,r),u(_)),!1)}const d=[],h=Object.assign(In,{defaultVisitor:c,convertValue:u,isVisitable:Re});function v(_,m){if(!a.isUndefined(_)){if(d.indexOf(_)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(_),a.forEach(_,function(f,k){(!(a.isUndefined(f)||f===null)&&s.call(e,f,a.isString(k)?k.trim():k,m,h))===!0&&v(f,m?m.concat(k):[k])}),d.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return v(t),e}function lt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Te(t,e){this._pairs=[],t&&de(t,this,e)}const ct=Te.prototype;ct.append=function(t,e){this._pairs.push([t,e])},ct.toString=function(t){const e=t?function(n){return t.call(this,n,lt)}:lt;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 ut(t,e,n){if(!e)return t;const i=n&&n.encode||Dn;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let r;if(s?r=s(e,n):r=a.isURLSearchParams(e)?e.toString():new Te(e,n).toString(i),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class dt{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.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 ht={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jn=typeof URLSearchParams<"u"?URLSearchParams:Te,Pn=typeof FormData<"u"?FormData:null,Un=typeof Blob<"u"?Blob:null,Fn={isBrowser:!0,classes:{URLSearchParams:jn,FormData:Pn,Blob:Un},protocols:["http","https","file","blob","url","data"]},ke=typeof window<"u"&&typeof document<"u",Ae=typeof navigator=="object"&&navigator||void 0,Bn=ke&&(!Ae||["ReactNative","NativeScript","NS"].indexOf(Ae.product)<0),Vn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mn=ke&&window.location.href||"http://localhost",Wn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ke,hasStandardBrowserEnv:Bn,hasStandardBrowserWebWorkerEnv:Vn,navigator:Ae,origin:Mn},Symbol.toStringTag,{value:"Module"})),N={...Wn,...Fn};function zn(t,e){return de(t,new N.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,r){return N.isNode&&a.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function qn(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Hn(t){const e={},n=Object.keys(t);let i;const s=n.length;let r;for(i=0;i<s;i++)r=n[i],e[r]=t[r];return e}function ft(t){function e(n,i,s,r){let o=n[r++];if(o==="__proto__")return!0;const l=Number.isFinite(+o),u=r>=n.length;return o=!o&&a.isArray(s)?s.length:o,u?(a.hasOwnProp(s,o)?s[o]=[s[o],i]:s[o]=i,!l):((!s[o]||!a.isObject(s[o]))&&(s[o]=[]),e(n,i,s[o],r)&&a.isArray(s[o])&&(s[o]=Hn(s[o])),!l)}if(a.isFormData(t)&&a.isFunction(t.entries)){const n={};return a.forEachEntry(t,(i,s)=>{e(qn(i),s,n,0)}),n}return null}function $n(t,e,n){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(t)}const te={transitional:ht,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,s=a.isObject(t);if(s&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return i?JSON.stringify(ft(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 r;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return zn(t,this.formSerializer).toString();if((r=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return de(r?{"files[]":t}:t,o&&new o,this.formSerializer)}}return s||i?(e.setContentType("application/json",!1),$n(t)):t}],transformResponse:[function(t){const e=this.transitional||te.transitional,n=e&&e.forcedJSONParsing,i=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||i)){const s=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(r){if(s)throw r.name==="SyntaxError"?w.from(r,w.ERR_BAD_RESPONSE,this,null,this.response):r}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:N.classes.FormData,Blob:N.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=>{te.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"]),Kn=t=>{const e={};let n,i,s;return t&&t.split(`
3
- `).forEach(function(r){s=r.indexOf(":"),n=r.substring(0,s).trim().toLowerCase(),i=r.substring(s+1).trim(),!(!n||e[n]&&Jn[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e},mt=Symbol("internals");function ne(t){return t&&String(t).trim().toLowerCase()}function he(t){return t===!1||t==null?t:a.isArray(t)?t.map(he):String(t)}function Gn(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const Yn=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Le(t,e,n,i,s){if(a.isFunction(i))return i.call(this,e,n);if(s&&(e=n),!!a.isString(e)){if(a.isString(i))return e.indexOf(i)!==-1;if(a.isRegExp(i))return i.test(e)}}function Zn(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function Xn(t,e){const n=a.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(s,r,o){return this[i].call(this,e,s,r,o)},configurable:!0})})}class P{constructor(e){e&&this.set(e)}set(e,n,i){const s=this;function r(l,u,c){const d=ne(u);if(!d)throw new Error("header name must be a non-empty string");const h=a.findKey(s,d);(!h||s[h]===void 0||c===!0||c===void 0&&s[h]!==!1)&&(s[h||u]=he(l))}const o=(l,u)=>a.forEach(l,(c,d)=>r(c,d,u));if(a.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(a.isString(e)&&(e=e.trim())&&!Yn(e))o(Kn(e),n);else if(a.isHeaders(e))for(const[l,u]of e.entries())r(u,l,i);else e!=null&&r(n,e,i);return this}get(e,n){if(e=ne(e),e){const i=a.findKey(this,e);if(i){const s=this[i];if(!n)return s;if(n===!0)return Gn(s);if(a.isFunction(n))return n.call(this,s,i);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ne(e),e){const i=a.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||Le(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let s=!1;function r(o){if(o=ne(o),o){const l=a.findKey(i,o);l&&(!n||Le(i,i[l],l,n))&&(delete i[l],s=!0)}}return a.isArray(e)?e.forEach(r):r(e),s}clear(e){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const r=n[i];(!e||Le(this,this[r],r,e,!0))&&(delete this[r],s=!0)}return s}normalize(e){const n=this,i={};return a.forEach(this,(s,r)=>{const o=a.findKey(i,r);if(o){n[o]=he(s),delete n[r];return}const l=e?Zn(r):String(r).trim();l!==r&&delete n[r],n[l]=he(s),i[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return a.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=e&&a.isArray(i)?i.join(", "):i)}),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 i=new this(e);return n.forEach(s=>i.set(s)),i}static accessor(e){const n=(this[mt]=this[mt]={accessors:{}}).accessors,i=this.prototype;function s(r){const o=ne(r);n[o]||(Xn(i,r),n[o]=!0)}return a.isArray(e)?e.forEach(s):s(e),this}}P.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(P.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}}),a.freezeMethods(P);function Ne(t,e){const n=this||te,i=e||n,s=P.from(i.headers);let r=i.data;return a.forEach(t,function(o){r=o.call(n,r,s.normalize(),e?e.status:void 0)}),s.normalize(),r}function pt(t){return!!(t&&t.__CANCEL__)}function X(t,e,n){w.call(this,t??"canceled",w.ERR_CANCELED,e,n),this.name="CanceledError"}a.inherits(X,w,{__CANCEL__:!0});function gt(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new w("Request failed with status code "+n.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Qn(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ei(t,e){t=t||10;const n=new Array(t),i=new Array(t);let s=0,r=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=i[r];o||(o=u),n[s]=l,i[s]=u;let d=r,h=0;for(;d!==s;)h+=n[d++],d=d%t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),u-o<e)return;const v=c&&u-c;return v?Math.round(h*1e3/v):void 0}}function ti(t,e){let n=0,i=1e3/e,s,r;const o=(l,u=Date.now())=>{n=u,s=null,r&&(clearTimeout(r),r=null),t.apply(null,l)};return[(...l)=>{const u=Date.now(),c=u-n;c>=i?o(l,u):(s=l,r||(r=setTimeout(()=>{r=null,o(s)},i-c)))},()=>s&&o(s)]}const fe=(t,e,n=3)=>{let i=0;const s=ei(50,250);return ti(r=>{const o=r.loaded,l=r.lengthComputable?r.total:void 0,u=o-i,c=s(u),d=o<=l;i=o;const h={loaded:o,total:l,progress:l?o/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-o)/c:void 0,event:r,lengthComputable:l!=null,[e?"download":"upload"]:!0};t(h)},n)},_t=(t,e)=>{const n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},bt=t=>(...e)=>a.asap(()=>t(...e)),ni=N.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,N.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(N.origin),N.navigator&&/(msie|trident)/i.test(N.navigator.userAgent)):()=>!0,ii=N.hasStandardBrowserEnv?{write(t,e,n,i,s,r){const o=[t+"="+encodeURIComponent(e)];a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(i)&&o.push("path="+i),a.isString(s)&&o.push("domain="+s),r===!0&&o.push("secure"),document.cookie=o.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 si(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ri(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function yt(t,e){return t&&!si(e)?ri(t,e):e}const vt=t=>t instanceof P?{...t}:t;function K(t,e){e=e||{};const n={};function i(c,d,h,v){return a.isPlainObject(c)&&a.isPlainObject(d)?a.merge.call({caseless:v},c,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function s(c,d,h,v){if(a.isUndefined(d)){if(!a.isUndefined(c))return i(void 0,c,h,v)}else return i(c,d,h,v)}function r(c,d){if(!a.isUndefined(d))return i(void 0,d)}function o(c,d){if(a.isUndefined(d)){if(!a.isUndefined(c))return i(void 0,c)}else return i(void 0,d)}function l(c,d,h){if(h in e)return i(c,d);if(h in t)return i(void 0,c)}const u={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(c,d,h)=>s(vt(c),vt(d),h,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(c){const d=u[c]||s,h=d(t[c],e[c],c);a.isUndefined(h)&&d!==l||(n[c]=h)}),n}const wt=t=>{const e=K({},t);let{data:n,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:r,headers:o,auth:l}=e;e.headers=o=P.from(o),e.url=ut(yt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&o.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(a.isFormData(n)){if(N.hasStandardBrowserEnv||N.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[c,...d]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(N.hasStandardBrowserEnv&&(i&&a.isFunction(i)&&(i=i(e)),i||i!==!1&&ni(e.url))){const c=s&&r&&ii.read(r);c&&o.set(s,c)}return e},oi=typeof XMLHttpRequest<"u",ai=oi&&function(t){return new Promise(function(e,n){const i=wt(t);let s=i.data;const r=P.from(i.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:u}=i,c,d,h,v,_;function m(){v&&v(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let f=new XMLHttpRequest;f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout;function k(){if(!f)return;const O=P.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),S={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:O,config:t,request:f};gt(function(I){e(I),m()},function(I){n(I),m()},S),f=null}"onloadend"in f?f.onloadend=k:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(k)},f.onabort=function(){f&&(n(new w("Request aborted",w.ECONNABORTED,t,f)),f=null)},f.onerror=function(){n(new w("Network Error",w.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let O=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||ht;i.timeoutErrorMessage&&(O=i.timeoutErrorMessage),n(new w(O,S.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,f)),f=null},s===void 0&&r.setContentType(null),"setRequestHeader"in f&&a.forEach(r.toJSON(),function(O,S){f.setRequestHeader(S,O)}),a.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),o&&o!=="json"&&(f.responseType=i.responseType),u&&([h,_]=fe(u,!0),f.addEventListener("progress",h)),l&&f.upload&&([d,v]=fe(l),f.upload.addEventListener("progress",d),f.upload.addEventListener("loadend",v)),(i.cancelToken||i.signal)&&(c=O=>{f&&(n(!O||O.type?new X(null,t,f):O),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const C=Qn(i.url);if(C&&N.protocols.indexOf(C)===-1){n(new w("Unsupported protocol "+C+":",w.ERR_BAD_REQUEST,t));return}f.send(s||null)})},li=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let i=new AbortController,s;const r=function(c){if(!s){s=!0,l();const d=c instanceof Error?c:this.reason;i.abort(d instanceof w?d:new X(d instanceof Error?d.message:d))}};let o=e&&setTimeout(()=>{o=null,r(new w(`timeout ${e} of ms exceeded`,w.ETIMEDOUT))},e);const l=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),t=null)};t.forEach(c=>c.addEventListener("abort",r));const{signal:u}=i;return u.unsubscribe=()=>a.asap(l),u}},ci=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let i=0,s;for(;i<n;)s=i+e,yield t.slice(i,s),i=s},ui=async function*(t,e){for await(const n of di(t))yield*ci(n,e)},di=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:i}=await e.read();if(n)break;yield i}}finally{await e.cancel()}},St=(t,e,n,i)=>{const s=ui(t,e);let r=0,o,l=u=>{o||(o=!0,i&&i(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await s.next();if(c){l(),u.close();return}let h=d.byteLength;if(n){let v=r+=h;n(v)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(u){return l(u),s.return()}},{highWaterMark:2})},me=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Et=me&&typeof ReadableStream=="function",hi=me&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),xt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},fi=Et&&xt(()=>{let t=!1;const e=new Request(N.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Ot=64*1024,Ie=Et&&xt(()=>a.isReadableStream(new Response("").body)),pe={stream:Ie&&(t=>t.body)};me&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!pe[e]&&(pe[e]=a.isFunction(t[e])?n=>n[e]():(n,i)=>{throw new w(`Response type '${e}' is not supported`,w.ERR_NOT_SUPPORT,i)})})})(new Response);const mi=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(N.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 hi(t)).byteLength},pi=async(t,e)=>a.toFiniteNumber(t.getContentLength())??mi(e),gi=me&&(async t=>{let{url:e,method:n,data:i,signal:s,cancelToken:r,timeout:o,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:v}=wt(t);c=c?(c+"").toLowerCase():"text";let _=li([s,r&&r.toAbortSignal()],o),m;const f=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let k;try{if(u&&fi&&n!=="get"&&n!=="head"&&(k=await pi(d,i))!==0){let b=new Request(e,{method:"POST",body:i,duplex:"half"}),D;if(a.isFormData(i)&&(D=b.headers.get("content-type"))&&d.setContentType(D),b.body){const[j,H]=_t(k,fe(bt(u)));i=St(b.body,Ot,j,H)}}a.isString(h)||(h=h?"include":"omit");const C="credentials"in Request.prototype;m=new Request(e,{...v,signal:_,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:C?h:void 0});let O=await fetch(m);const S=Ie&&(c==="stream"||c==="response");if(Ie&&(l||S&&f)){const b={};["status","statusText","headers"].forEach(Ve=>{b[Ve]=O[Ve]});const D=a.toFiniteNumber(O.headers.get("content-length")),[j,H]=l&&_t(D,fe(bt(l),!0))||[];O=new Response(St(O.body,Ot,j,()=>{H&&H(),f&&f()}),b)}c=c||"text";let I=await pe[a.findKey(pe,c)||"text"](O,t);return!S&&f&&f(),await new Promise((b,D)=>{gt(b,D,{data:I,headers:P.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:m})})}catch(C){throw f&&f(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,t,m),{cause:C.cause||C}):w.from(C,C&&C.code,t,m)}}),De={http:Ln,xhr:ai,fetch:gi};a.forEach(De,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Ct=t=>`- ${t}`,_i=t=>a.isFunction(t)||t===null||t===!1,Rt={getAdapter:t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let n,i;const s={};for(let r=0;r<e;r++){n=t[r];let o;if(i=n,!_i(n)&&(i=De[(o=String(n)).toLowerCase()],i===void 0))throw new w(`Unknown adapter '${o}'`);if(i)break;s[o||"#"+r]=i}if(!i){const r=Object.entries(s).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since :
1
+ System.register(["./main-93c3aaf3971ea1334ca9.js","vue","single-spa","./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","./IframeWidget-0C7GYEVc-5f201c42f8a4a3f857a4.js","./LabelvalueWidget-BWpP5KX6-32c57bd023d22b75fc9c.js","./LabelvaluelimitsbarWidget-Bj6UVK-5-cb4d7a45903189163f59.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","./LabelWidget-D1JhQAzR-4ddb456f983e6af7f082.js","./ValueWidget-h3905woQ-fcbb9882c26bc56d3182.js","./DetailsDialog-DiVcC3Fg-436e3e3668382eb38258.js","./LimitsbarWidget-D-wfz_St-b5a4f1a6cb26c135996b.js","./BarColumn-B6tCmNJm-81299b2ec5265c815997.js"],function(Ut,Mi){"use strict";var Me,re,we,ze,We,qe,y,E,A,He,g,p,R,M,U,W,$,Y,B,oe,Se,q,Ee,$e,Ke;return{setters:[x=>{Me=x.s,re=x._,we=x.P,ze=x.X,We=x.Y,qe=x.Z},x=>{y=x.resolveComponent,E=x.openBlock,A=x.createBlock,He=x.Teleport,g=x.createVNode,p=x.withCtx,R=x.createElementVNode,M=x.toDisplayString,U=x.createElementBlock,W=x.Fragment,$=x.renderList,Y=x.mergeProps,B=x.createTextVNode,oe=x.createSlots,Se=x.normalizeStyle,q=x.createCommentVNode,Ee=x.normalizeClass},null,null,null,x=>{$e=x.default},x=>{Ke=x.default},null,null,null,null,null,null,null,null,null],execute:function(){var x=document.createElement("style");x.textContent=`.footer[data-v-dd6c39b3]{padding-top:5px}.v-input[data-v-dd6c39b3]{background-color:var(--color-background-base-default)}.textfield-green[data-v-dd6c39b3]{color:#00c800}.textfield-yellow[data-v-dd6c39b3]{color:#ffdc00}.textfield-red[data-v-dd6c39b3]{color:#ff2d2d}.card-height[data-v-210db24e]{height:calc(100vh - 150px)}
2
+ /*$vite$:1*/`,document.head.appendChild(x);const Ft={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}},Bt={class:"app-title mr-2"};function Vt(t,e,n,i,s,r){const o=y("v-col"),l=y("v-row"),u=y("v-icon"),c=y("v-btn"),d=y("v-divider"),f=y("v-list-item-title"),v=y("v-list-item"),_=y("v-list"),m=y("v-menu"),h=y("v-radio"),k=y("v-list-item-action"),C=y("v-radio-group"),O=y("v-checkbox");return E(),A(He,{to:"#openc3-menu"},[g(l,{"no-gutters":""},{default:p(()=>[g(o,{"align-self":"end"},{default:p(()=>[R("span",Bt,M(n.title),1)]),_:1})]),_:1}),g(l,{dense:"",class:"flex-nowrap"},{default:p(()=>[(E(!0),U(W,null,$(n.menus,(S,I)=>(E(),A(m,{ref_for:!0,ref:"topmenu",key:I},{activator:p(({props:b})=>[g(c,Y({ref_for:!0},b,{variant:"outlined",class:"mx-1 menu-button",text:S.label,"data-test":r.formatDT(`${n.title} ${S.label}`)}),{append:p(()=>[g(u,{class:"menu-button-icon"},{default:p(()=>e[0]||(e[0]=[B(" mdi-menu-down ")])),_:1})]),_:2},1040,["text","data-test"])]),default:p(()=>[g(_,null,{default:p(()=>[(E(!0),U(W,null,$(S.items,(b,D)=>(E(),U(W,null,[b.divider?(E(),A(d,{key:D+"-divider"})):b.subMenu&&b.subMenu.length>0?(E(),U("div",{key:D+"-submenu"},[(E(),A(m,{"open-on-hover":"",location:"right",key:D},{activator:p(({props:j})=>[(E(),A(v,Y({ref_for:!0},j,{disabled:b.disabled,key:D}),oe({append:p(()=>[g(u,null,{default:p(()=>e[1]||(e[1]=[B(" mdi-chevron-right ")])),_:1})]),default:p(()=>[!b.radio&&!b.checkbox?(E(),A(f,{key:0,style:Se("cursor: pointer;"+(b.disabled?"opacity: 0.2":""))},{default:p(()=>[B(M(b.label),1)]),_:2},1032,["style"])):q("",!0)]),_:2},[b.icon?{name:"prepend",fn:p(()=>[g(u,{disabled:b.disabled},{default:p(()=>[B(M(b.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:p(()=>[g(_,null,{default:p(()=>[(E(!0),U(W,null,$(b.subMenu,(j,H)=>(E(),A(v,{key:H,"prepend-icon":j.icon,onClick:Ve=>r.subMenuClick(j)},{default:p(()=>[g(f,null,{default:p(()=>[B(M(j.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):b.radioGroup?(E(),A(C,{"model-value":b.value,"onUpdate:modelValue":b.command,key:D+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:p(()=>[(E(!0),U(W,null,$(b.choices,(j,H)=>(E(),A(v,{key:H+"-choice"},{default:p(()=>[g(k,{class:"list-action"},{default:p(()=>[g(h,{color:"secondary",label:j.label,value:j.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(E(),A(v,{onClick:j=>b.command(b),disabled:b.disabled,"data-test":r.formatDT(`${n.title} ${S.label} ${b.label}`),key:D+"-list"},oe({default:p(()=>[b.checkbox?(E(),A(k,{key:0,class:"list-action"},{default:p(()=>[g(O,{modelValue:b.checked,"onUpdate:modelValue":j=>b.checked=j,label:b.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):q("",!0),!b.radio&&!b.checkbox?(E(),A(f,{key:1,style:Se("cursor: pointer;"+(b.disabled?"opacity: 0.2":""))},{default:p(()=>[B(M(b.label),1)]),_:2},1032,["style"])):q("",!0)]),_:2},[b.icon?{name:"prepend",fn:p(()=>[g(u,{icon:b.icon,disabled:b.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const Mt=Me(Ft,[["render",Vt],["__scopeId","data-v-4d454b93"]]);var zt=Object.defineProperty,Wt=(t,e,n)=>e in t?zt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,qt=(t,e,n)=>Wt(t,e+"",n);function Je(t,e){return function(){return t.apply(e,arguments)}}const{toString:Ht}=Object.prototype,{getPrototypeOf:xe}=Object,ae=(t=>e=>{const n=Ht.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),V=t=>(t=t.toLowerCase(),e=>ae(e)===t),le=t=>e=>typeof e===t,{isArray:Z}=Array,Q=le("undefined");function $t(t){return t!==null&&!Q(t)&&t.constructor!==null&&!Q(t.constructor)&&F(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ge=V("ArrayBuffer");function Kt(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ge(t.buffer),e}const Jt=le("string"),F=le("function"),Ye=le("number"),ce=t=>t!==null&&typeof t=="object",Gt=t=>t===!0||t===!1,ue=t=>{if(ae(t)!=="object")return!1;const e=xe(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Yt=V("Date"),Zt=V("File"),Xt=V("Blob"),Qt=V("FileList"),en=t=>ce(t)&&F(t.pipe),tn=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||F(t.append)&&((e=ae(t))==="formdata"||e==="object"&&F(t.toString)&&t.toString()==="[object FormData]"))},nn=V("URLSearchParams"),[sn,rn,on,an]=["ReadableStream","Request","Response","Headers"].map(V),ln=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ee(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),Z(t))for(i=0,s=t.length;i<s;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let l;for(i=0;i<o;i++)l=r[i],e.call(null,t[l],l,t)}}function Ze(t,e){e=e.toLowerCase();const n=Object.keys(t);let i=n.length,s;for(;i-- >0;)if(s=n[i],e===s.toLowerCase())return s;return null}const K=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Xe=t=>!Q(t)&&t!==K;function Oe(){const{caseless:t}=Xe(this)&&this||{},e={},n=(i,s)=>{const r=t&&Ze(e,s)||s;ue(e[r])&&ue(i)?e[r]=Oe(e[r],i):ue(i)?e[r]=Oe({},i):Z(i)?e[r]=i.slice():e[r]=i};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&ee(arguments[i],n);return e}const cn=(t,e,n,{allOwnKeys:i}={})=>(ee(e,(s,r)=>{n&&F(s)?t[r]=Je(s,n):t[r]=s},{allOwnKeys:i}),t),un=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),dn=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},fn=(t,e,n,i)=>{let s,r,o;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),r=s.length;r-- >0;)o=s[r],(!i||i(o,t,e))&&!l[o]&&(e[o]=t[o],l[o]=!0);t=n!==!1&&xe(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},hn=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return i!==-1&&i===n},mn=t=>{if(!t)return null;if(Z(t))return t;let e=t.length;if(!Ye(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},pn=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&xe(Uint8Array)),gn=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},_n=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},bn=V("HTMLFormElement"),yn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,i){return n.toUpperCase()+i}),Qe=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),vn=V("RegExp"),et=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};ee(n,(s,r)=>{let o;(o=e(s,r,t))!==!1&&(i[r]=o||s)}),Object.defineProperties(t,i)},wn=t=>{et(t,(e,n)=>{if(F(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=t[n];if(F(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Sn=(t,e)=>{const n={},i=s=>{s.forEach(r=>{n[r]=!0})};return Z(t)?i(t):i(String(t).split(e)),n},En=()=>{},xn=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,Ce="abcdefghijklmnopqrstuvwxyz",tt="0123456789",nt={DIGIT:tt,ALPHA:Ce,ALPHA_DIGIT:Ce+Ce.toUpperCase()+tt},On=(t=16,e=nt.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n};function Cn(t){return!!(t&&F(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Rn=t=>{const e=new Array(10),n=(i,s)=>{if(ce(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[s]=i;const r=Z(i)?[]:{};return ee(i,(o,l)=>{const u=n(o,s+1);!Q(u)&&(r[l]=u)}),e[s]=void 0,r}}return i};return n(t,0)},Tn=V("AsyncFunction"),kn=t=>t&&(ce(t)||F(t))&&F(t.then)&&F(t.catch),it=((t,e)=>t?setImmediate:e?((n,i)=>(K.addEventListener("message",({source:s,data:r})=>{s===K&&r===n&&i.length&&i.shift()()},!1),s=>{i.push(s),K.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",F(K.postMessage)),An=typeof queueMicrotask<"u"?queueMicrotask.bind(K):typeof process<"u"&&process.nextTick||it,a={isArray:Z,isArrayBuffer:Ge,isBuffer:$t,isFormData:tn,isArrayBufferView:Kt,isString:Jt,isNumber:Ye,isBoolean:Gt,isObject:ce,isPlainObject:ue,isReadableStream:sn,isRequest:rn,isResponse:on,isHeaders:an,isUndefined:Q,isDate:Yt,isFile:Zt,isBlob:Xt,isRegExp:vn,isFunction:F,isStream:en,isURLSearchParams:nn,isTypedArray:pn,isFileList:Qt,forEach:ee,merge:Oe,extend:cn,trim:ln,stripBOM:un,inherits:dn,toFlatObject:fn,kindOf:ae,kindOfTest:V,endsWith:hn,toArray:mn,forEachEntry:gn,matchAll:_n,isHTMLForm:bn,hasOwnProperty:Qe,hasOwnProp:Qe,reduceDescriptors:et,freezeMethods:wn,toObjectSet:Sn,toCamelCase:yn,noop:En,toFiniteNumber:xn,findKey:Ze,global:K,isContextDefined:Xe,ALPHABET:nt,generateString:On,isSpecCompliantForm:Cn,toJSONObject:Rn,isAsyncFn:Tn,isThenable:kn,setImmediate:it,asap:An};function w(t,e,n,i,s){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),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(w,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 st=w.prototype,rt={};["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=>{rt[t]={value:t}}),Object.defineProperties(w,rt),Object.defineProperty(st,"isAxiosError",{value:!0}),w.from=(t,e,n,i,s,r)=>{const o=Object.create(st);return a.toFlatObject(t,o,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),w.call(o,t.message,e,n,i,s),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const Ln=null;function Re(t){return a.isPlainObject(t)||a.isArray(t)}function ot(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function at(t,e,n){return t?t.concat(e).map(function(i,s){return i=ot(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function Nn(t){return a.isArray(t)&&!t.some(Re)}const In=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function de(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(_,m){return!a.isUndefined(m[_])});const i=n.metaTokens,s=n.visitor||c,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(_){if(_===null)return"";if(a.isDate(_))return _.toISOString();if(!l&&a.isBlob(_))throw new w("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(_)||a.isTypedArray(_)?l&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function c(_,m,h){let k=_;if(_&&!h&&typeof _=="object"){if(a.endsWith(m,"{}"))m=i?m:m.slice(0,-2),_=JSON.stringify(_);else if(a.isArray(_)&&Nn(_)||(a.isFileList(_)||a.endsWith(m,"[]"))&&(k=a.toArray(_)))return m=ot(m),k.forEach(function(C,O){!(a.isUndefined(C)||C===null)&&e.append(o===!0?at([m],O,r):o===null?m:m+"[]",u(C))}),!1}return Re(_)?!0:(e.append(at(h,m,r),u(_)),!1)}const d=[],f=Object.assign(In,{defaultVisitor:c,convertValue:u,isVisitable:Re});function v(_,m){if(!a.isUndefined(_)){if(d.indexOf(_)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(_),a.forEach(_,function(h,k){(!(a.isUndefined(h)||h===null)&&s.call(e,h,a.isString(k)?k.trim():k,m,f))===!0&&v(h,m?m.concat(k):[k])}),d.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return v(t),e}function lt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Te(t,e){this._pairs=[],t&&de(t,this,e)}const ct=Te.prototype;ct.append=function(t,e){this._pairs.push([t,e])},ct.toString=function(t){const e=t?function(n){return t.call(this,n,lt)}:lt;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 ut(t,e,n){if(!e)return t;const i=n&&n.encode||Dn;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let r;if(s?r=s(e,n):r=a.isURLSearchParams(e)?e.toString():new Te(e,n).toString(i),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class dt{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.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 ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jn=typeof URLSearchParams<"u"?URLSearchParams:Te,Pn=typeof FormData<"u"?FormData:null,Un=typeof Blob<"u"?Blob:null,Fn={isBrowser:!0,classes:{URLSearchParams:jn,FormData:Pn,Blob:Un},protocols:["http","https","file","blob","url","data"]},ke=typeof window<"u"&&typeof document<"u",Ae=typeof navigator=="object"&&navigator||void 0,Bn=ke&&(!Ae||["ReactNative","NativeScript","NS"].indexOf(Ae.product)<0),Vn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mn=ke&&window.location.href||"http://localhost",zn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ke,hasStandardBrowserEnv:Bn,hasStandardBrowserWebWorkerEnv:Vn,navigator:Ae,origin:Mn},Symbol.toStringTag,{value:"Module"})),N={...zn,...Fn};function Wn(t,e){return de(t,new N.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,r){return N.isNode&&a.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function qn(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Hn(t){const e={},n=Object.keys(t);let i;const s=n.length;let r;for(i=0;i<s;i++)r=n[i],e[r]=t[r];return e}function ht(t){function e(n,i,s,r){let o=n[r++];if(o==="__proto__")return!0;const l=Number.isFinite(+o),u=r>=n.length;return o=!o&&a.isArray(s)?s.length:o,u?(a.hasOwnProp(s,o)?s[o]=[s[o],i]:s[o]=i,!l):((!s[o]||!a.isObject(s[o]))&&(s[o]=[]),e(n,i,s[o],r)&&a.isArray(s[o])&&(s[o]=Hn(s[o])),!l)}if(a.isFormData(t)&&a.isFunction(t.entries)){const n={};return a.forEachEntry(t,(i,s)=>{e(qn(i),s,n,0)}),n}return null}function $n(t,e,n){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(t)}const te={transitional:ft,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,s=a.isObject(t);if(s&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return i?JSON.stringify(ht(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 r;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Wn(t,this.formSerializer).toString();if((r=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return de(r?{"files[]":t}:t,o&&new o,this.formSerializer)}}return s||i?(e.setContentType("application/json",!1),$n(t)):t}],transformResponse:[function(t){const e=this.transitional||te.transitional,n=e&&e.forcedJSONParsing,i=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||i)){const s=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(r){if(s)throw r.name==="SyntaxError"?w.from(r,w.ERR_BAD_RESPONSE,this,null,this.response):r}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:N.classes.FormData,Blob:N.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=>{te.headers[t]={}});const Kn=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"]),Jn=t=>{const e={};let n,i,s;return t&&t.split(`
3
+ `).forEach(function(r){s=r.indexOf(":"),n=r.substring(0,s).trim().toLowerCase(),i=r.substring(s+1).trim(),!(!n||e[n]&&Kn[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e},mt=Symbol("internals");function ne(t){return t&&String(t).trim().toLowerCase()}function fe(t){return t===!1||t==null?t:a.isArray(t)?t.map(fe):String(t)}function Gn(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const Yn=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Le(t,e,n,i,s){if(a.isFunction(i))return i.call(this,e,n);if(s&&(e=n),!!a.isString(e)){if(a.isString(i))return e.indexOf(i)!==-1;if(a.isRegExp(i))return i.test(e)}}function Zn(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function Xn(t,e){const n=a.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(s,r,o){return this[i].call(this,e,s,r,o)},configurable:!0})})}class P{constructor(e){e&&this.set(e)}set(e,n,i){const s=this;function r(l,u,c){const d=ne(u);if(!d)throw new Error("header name must be a non-empty string");const f=a.findKey(s,d);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||u]=fe(l))}const o=(l,u)=>a.forEach(l,(c,d)=>r(c,d,u));if(a.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(a.isString(e)&&(e=e.trim())&&!Yn(e))o(Jn(e),n);else if(a.isHeaders(e))for(const[l,u]of e.entries())r(u,l,i);else e!=null&&r(n,e,i);return this}get(e,n){if(e=ne(e),e){const i=a.findKey(this,e);if(i){const s=this[i];if(!n)return s;if(n===!0)return Gn(s);if(a.isFunction(n))return n.call(this,s,i);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ne(e),e){const i=a.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||Le(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let s=!1;function r(o){if(o=ne(o),o){const l=a.findKey(i,o);l&&(!n||Le(i,i[l],l,n))&&(delete i[l],s=!0)}}return a.isArray(e)?e.forEach(r):r(e),s}clear(e){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const r=n[i];(!e||Le(this,this[r],r,e,!0))&&(delete this[r],s=!0)}return s}normalize(e){const n=this,i={};return a.forEach(this,(s,r)=>{const o=a.findKey(i,r);if(o){n[o]=fe(s),delete n[r];return}const l=e?Zn(r):String(r).trim();l!==r&&delete n[r],n[l]=fe(s),i[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return a.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=e&&a.isArray(i)?i.join(", "):i)}),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 i=new this(e);return n.forEach(s=>i.set(s)),i}static accessor(e){const n=(this[mt]=this[mt]={accessors:{}}).accessors,i=this.prototype;function s(r){const o=ne(r);n[o]||(Xn(i,r),n[o]=!0)}return a.isArray(e)?e.forEach(s):s(e),this}}P.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(P.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}}),a.freezeMethods(P);function Ne(t,e){const n=this||te,i=e||n,s=P.from(i.headers);let r=i.data;return a.forEach(t,function(o){r=o.call(n,r,s.normalize(),e?e.status:void 0)}),s.normalize(),r}function pt(t){return!!(t&&t.__CANCEL__)}function X(t,e,n){w.call(this,t??"canceled",w.ERR_CANCELED,e,n),this.name="CanceledError"}a.inherits(X,w,{__CANCEL__:!0});function gt(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new w("Request failed with status code "+n.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Qn(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ei(t,e){t=t||10;const n=new Array(t),i=new Array(t);let s=0,r=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=i[r];o||(o=u),n[s]=l,i[s]=u;let d=r,f=0;for(;d!==s;)f+=n[d++],d=d%t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),u-o<e)return;const v=c&&u-c;return v?Math.round(f*1e3/v):void 0}}function ti(t,e){let n=0,i=1e3/e,s,r;const o=(l,u=Date.now())=>{n=u,s=null,r&&(clearTimeout(r),r=null),t.apply(null,l)};return[(...l)=>{const u=Date.now(),c=u-n;c>=i?o(l,u):(s=l,r||(r=setTimeout(()=>{r=null,o(s)},i-c)))},()=>s&&o(s)]}const he=(t,e,n=3)=>{let i=0;const s=ei(50,250);return ti(r=>{const o=r.loaded,l=r.lengthComputable?r.total:void 0,u=o-i,c=s(u),d=o<=l;i=o;const f={loaded:o,total:l,progress:l?o/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-o)/c:void 0,event:r,lengthComputable:l!=null,[e?"download":"upload"]:!0};t(f)},n)},_t=(t,e)=>{const n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},bt=t=>(...e)=>a.asap(()=>t(...e)),ni=N.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,N.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(N.origin),N.navigator&&/(msie|trident)/i.test(N.navigator.userAgent)):()=>!0,ii=N.hasStandardBrowserEnv?{write(t,e,n,i,s,r){const o=[t+"="+encodeURIComponent(e)];a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(i)&&o.push("path="+i),a.isString(s)&&o.push("domain="+s),r===!0&&o.push("secure"),document.cookie=o.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 si(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ri(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function yt(t,e){return t&&!si(e)?ri(t,e):e}const vt=t=>t instanceof P?{...t}:t;function J(t,e){e=e||{};const n={};function i(c,d,f,v){return a.isPlainObject(c)&&a.isPlainObject(d)?a.merge.call({caseless:v},c,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function s(c,d,f,v){if(a.isUndefined(d)){if(!a.isUndefined(c))return i(void 0,c,f,v)}else return i(c,d,f,v)}function r(c,d){if(!a.isUndefined(d))return i(void 0,d)}function o(c,d){if(a.isUndefined(d)){if(!a.isUndefined(c))return i(void 0,c)}else return i(void 0,d)}function l(c,d,f){if(f in e)return i(c,d);if(f in t)return i(void 0,c)}const u={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(c,d,f)=>s(vt(c),vt(d),f,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(c){const d=u[c]||s,f=d(t[c],e[c],c);a.isUndefined(f)&&d!==l||(n[c]=f)}),n}const wt=t=>{const e=J({},t);let{data:n,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:r,headers:o,auth:l}=e;e.headers=o=P.from(o),e.url=ut(yt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&o.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(a.isFormData(n)){if(N.hasStandardBrowserEnv||N.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(N.hasStandardBrowserEnv&&(i&&a.isFunction(i)&&(i=i(e)),i||i!==!1&&ni(e.url))){const c=s&&r&&ii.read(r);c&&o.set(s,c)}return e},oi=typeof XMLHttpRequest<"u",ai=oi&&function(t){return new Promise(function(e,n){const i=wt(t);let s=i.data;const r=P.from(i.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:u}=i,c,d,f,v,_;function m(){v&&v(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let h=new XMLHttpRequest;h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout;function k(){if(!h)return;const O=P.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),S={data:!o||o==="text"||o==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:O,config:t,request:h};gt(function(I){e(I),m()},function(I){n(I),m()},S),h=null}"onloadend"in h?h.onloadend=k:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(k)},h.onabort=function(){h&&(n(new w("Request aborted",w.ECONNABORTED,t,h)),h=null)},h.onerror=function(){n(new w("Network Error",w.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let O=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||ft;i.timeoutErrorMessage&&(O=i.timeoutErrorMessage),n(new w(O,S.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,h)),h=null},s===void 0&&r.setContentType(null),"setRequestHeader"in h&&a.forEach(r.toJSON(),function(O,S){h.setRequestHeader(S,O)}),a.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),o&&o!=="json"&&(h.responseType=i.responseType),u&&([f,_]=he(u,!0),h.addEventListener("progress",f)),l&&h.upload&&([d,v]=he(l),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",v)),(i.cancelToken||i.signal)&&(c=O=>{h&&(n(!O||O.type?new X(null,t,h):O),h.abort(),h=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const C=Qn(i.url);if(C&&N.protocols.indexOf(C)===-1){n(new w("Unsupported protocol "+C+":",w.ERR_BAD_REQUEST,t));return}h.send(s||null)})},li=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let i=new AbortController,s;const r=function(c){if(!s){s=!0,l();const d=c instanceof Error?c:this.reason;i.abort(d instanceof w?d:new X(d instanceof Error?d.message:d))}};let o=e&&setTimeout(()=>{o=null,r(new w(`timeout ${e} of ms exceeded`,w.ETIMEDOUT))},e);const l=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),t=null)};t.forEach(c=>c.addEventListener("abort",r));const{signal:u}=i;return u.unsubscribe=()=>a.asap(l),u}},ci=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let i=0,s;for(;i<n;)s=i+e,yield t.slice(i,s),i=s},ui=async function*(t,e){for await(const n of di(t))yield*ci(n,e)},di=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:i}=await e.read();if(n)break;yield i}}finally{await e.cancel()}},St=(t,e,n,i)=>{const s=ui(t,e);let r=0,o,l=u=>{o||(o=!0,i&&i(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await s.next();if(c){l(),u.close();return}let f=d.byteLength;if(n){let v=r+=f;n(v)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(u){return l(u),s.return()}},{highWaterMark:2})},me=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Et=me&&typeof ReadableStream=="function",fi=me&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),xt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},hi=Et&&xt(()=>{let t=!1;const e=new Request(N.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Ot=64*1024,Ie=Et&&xt(()=>a.isReadableStream(new Response("").body)),pe={stream:Ie&&(t=>t.body)};me&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!pe[e]&&(pe[e]=a.isFunction(t[e])?n=>n[e]():(n,i)=>{throw new w(`Response type '${e}' is not supported`,w.ERR_NOT_SUPPORT,i)})})})(new Response);const mi=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(N.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 fi(t)).byteLength},pi=async(t,e)=>a.toFiniteNumber(t.getContentLength())??mi(e),gi=me&&(async t=>{let{url:e,method:n,data:i,signal:s,cancelToken:r,timeout:o,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=wt(t);c=c?(c+"").toLowerCase():"text";let _=li([s,r&&r.toAbortSignal()],o),m;const h=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let k;try{if(u&&hi&&n!=="get"&&n!=="head"&&(k=await pi(d,i))!==0){let b=new Request(e,{method:"POST",body:i,duplex:"half"}),D;if(a.isFormData(i)&&(D=b.headers.get("content-type"))&&d.setContentType(D),b.body){const[j,H]=_t(k,he(bt(u)));i=St(b.body,Ot,j,H)}}a.isString(f)||(f=f?"include":"omit");const C="credentials"in Request.prototype;m=new Request(e,{...v,signal:_,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:C?f:void 0});let O=await fetch(m);const S=Ie&&(c==="stream"||c==="response");if(Ie&&(l||S&&h)){const b={};["status","statusText","headers"].forEach(Ve=>{b[Ve]=O[Ve]});const D=a.toFiniteNumber(O.headers.get("content-length")),[j,H]=l&&_t(D,he(bt(l),!0))||[];O=new Response(St(O.body,Ot,j,()=>{H&&H(),h&&h()}),b)}c=c||"text";let I=await pe[a.findKey(pe,c)||"text"](O,t);return!S&&h&&h(),await new Promise((b,D)=>{gt(b,D,{data:I,headers:P.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:m})})}catch(C){throw h&&h(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,t,m),{cause:C.cause||C}):w.from(C,C&&C.code,t,m)}}),De={http:Ln,xhr:ai,fetch:gi};a.forEach(De,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Ct=t=>`- ${t}`,_i=t=>a.isFunction(t)||t===null||t===!1,Rt={getAdapter:t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let n,i;const s={};for(let r=0;r<e;r++){n=t[r];let o;if(i=n,!_i(n)&&(i=De[(o=String(n)).toLowerCase()],i===void 0))throw new w(`Unknown adapter '${o}'`);if(i)break;s[o||"#"+r]=i}if(!i){const r=Object.entries(s).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since :
5
5
  `+r.map(Ct).join(`
6
- `):" "+Ct(r[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i},adapters:De};function je(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new X(null,t)}function Tt(t){return je(t),t.headers=P.from(t.headers),t.data=Ne.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Rt.getAdapter(t.adapter||te.adapter)(t).then(function(e){return je(t),e.data=Ne.call(t,t.transformResponse,e),e.headers=P.from(e.headers),e},function(e){return pt(e)||(je(t),e&&e.response&&(e.response.data=Ne.call(t,t.transformResponse,e.response),e.response.headers=P.from(e.response.headers))),Promise.reject(e)})}const kt="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 At={};ge.transitional=function(t,e,n){function i(s,r){return"[Axios v"+kt+"] Transitional option '"+s+"'"+r+(n?". "+n:"")}return(s,r,o)=>{if(t===!1)throw new w(i(r," has been removed"+(e?" in "+e:"")),w.ERR_DEPRECATED);return e&&!At[r]&&(At[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(s,r,o):!0}},ge.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function bi(t,e,n){if(typeof t!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let s=i.length;for(;s-- >0;){const r=i[s],o=e[r];if(o){const l=t[r],u=l===void 0||o(l,r,t);if(u!==!0)throw new w("option "+r+" must be "+u,w.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new w("Unknown option "+r,w.ERR_BAD_OPTION)}}const _e={assertOptions:bi,validators:ge},W=_e.validators;class G{constructor(e){this.defaults=e,this.interceptors={request:new dt,response:new dt}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?r&&!String(i.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(i.stack+=`
7
- `+r):i.stack=r}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=K(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:r}=n;i!==void 0&&_e.assertOptions(i,{silentJSONParsing:W.transitional(W.boolean),forcedJSONParsing:W.transitional(W.boolean),clarifyTimeoutError:W.transitional(W.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:_e.assertOptions(s,{encode:W.function,serialize:W.function},!0)),_e.assertOptions(n,{baseUrl:W.spelling("baseURL"),withXsrfToken:W.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=r&&a.merge(r.common,r[n.method]);r&&a.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=P.concat(o,r);const l=[];let u=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(u=u&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,h=0,v;if(!u){const m=[Tt.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,c),v=m.length,d=Promise.resolve(n);h<v;)d=d.then(m[h++],m[h++]);return d}v=l.length;let _=n;for(h=0;h<v;){const m=l[h++],f=l[h++];try{_=m(_)}catch(k){f.call(this,k);break}}try{d=Tt.call(this,_)}catch(m){return Promise.reject(m)}for(h=0,v=c.length;h<v;)d=d.then(c[h++],c[h++]);return d}getUri(e){e=K(this.defaults,e);const n=yt(e.baseURL,e.url);return ut(n,e.params,e.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){G.prototype[t]=function(e,n){return this.request(K(n||{},{method:t,url:e,data:(n||{}).data}))}}),a.forEach(["post","put","patch"],function(t){function e(n){return function(i,s,r){return this.request(K(r||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}G.prototype[t]=e(),G.prototype[t+"Form"]=e(!0)});class Pe{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const i=this;this.promise.then(s=>{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](s);i._listeners=null}),this.promise.then=s=>{let r;const o=new Promise(l=>{i.subscribe(l),r=l}).then(s);return o.cancel=function(){i.unsubscribe(r)},o},e(function(s,r,o){i.reason||(i.reason=new X(s,r,o),n(i.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=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Pe(function(n){e=n}),cancel:e}}}function yi(t){return function(e){return t.apply(null,e)}}function vi(t){return a.isObject(t)&&t.isAxiosError===!0}const Ue={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(Ue).forEach(([t,e])=>{Ue[e]=t});function Lt(t){const e=new G(t),n=Ke(G.prototype.request,e);return a.extend(n,G.prototype,e,{allOwnKeys:!0}),a.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Lt(K(t,i))},n}const L=Lt(te);L.Axios=G,L.CanceledError=X,L.CancelToken=Pe,L.isCancel=pt,L.VERSION=kt,L.toFormData=de,L.AxiosError=w,L.Cancel=L.CanceledError,L.all=function(t){return Promise.all(t)},L.spread=yi,L.isAxiosError=vi,L.mergeConfig=K,L.AxiosHeaders=P,L.formToJSON=t=>ft(a.isHTMLForm(t)?new FormData(t):t),L.getAdapter=Rt.getAdapter,L.HttpStatusCode=Ue,L.default=L;const Nt=L.create({baseURL:location.origin,timeout:6e4,params:{}});Nt.interceptors.response.use(t=>t,t=>{var e,n,i,s,r,o,l,u,c,d,h;if(t.response){if(t.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(m){m&&OpenC3Auth.setTokens()}),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let v=`HTTP ${t.response.status} - `;(e=t.response)!=null&&e.statusText&&(v+=`${t.response.statusText} `),(i=(n=t.response)==null?void 0:n.config)!=null&&i.data&&(v+=`${t.response.config.data} `),(r=(s=t.response)==null?void 0:s.data)!=null&&r.message?v+=`${t.response.data.message}`:(l=(o=t.response)==null?void 0:o.data)!=null&&l.exception?v+=`${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&&(v+=`${t.response.data.error.class} `),v+=`${t.response.data.error.message}`):v+=`${(h=t.response)==null?void 0:h.data}`;const{$cosmosNotify:_}=window;throw _&&_.serious({title:"Network error",body:v}),t}else throw t});var be={logger:typeof console<"u"?console:void 0,WebSocket:typeof WebSocket<"u"?WebSocket:void 0},T={log(...t){this.enabled&&(t.push(Date.now()),be.logger.log("[ActionCable]",...t))}};const ie=()=>new Date().getTime(),ye=t=>(ie()-t)/1e3;class ve{constructor(e){this.visibilityDidChange=this.visibilityDidChange.bind(this),this.connection=e,this.reconnectAttempts=0}start(){this.isRunning()||(this.startedAt=ie(),delete this.stoppedAt,this.startPolling(),addEventListener("visibilitychange",this.visibilityDidChange),T.log(`ConnectionMonitor started. stale threshold = ${this.constructor.staleThreshold} s`))}stop(){this.isRunning()&&(this.stoppedAt=ie(),this.stopPolling(),removeEventListener("visibilitychange",this.visibilityDidChange),T.log("ConnectionMonitor stopped"))}isRunning(){return this.startedAt&&!this.stoppedAt}recordPing(){this.pingedAt=ie()}recordConnect(){this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,T.log("ConnectionMonitor recorded connect")}recordDisconnect(){this.disconnectedAt=ie(),T.log("ConnectionMonitor recorded disconnect")}startPolling(){this.stopPolling(),this.poll()}stopPolling(){clearTimeout(this.pollTimeout)}poll(){this.pollTimeout=setTimeout(()=>{this.reconnectIfStale(),this.poll()},this.getPollInterval())}getPollInterval(){const{staleThreshold:e,reconnectionBackoffRate:n}=this.constructor,i=Math.pow(1+n,Math.min(this.reconnectAttempts,10)),s=(this.reconnectAttempts===0?1:n)*Math.random();return e*1e3*i*(1+s)}reconnectIfStale(){this.connectionIsStale()&&(T.log(`ConnectionMonitor detected stale connection. reconnectAttempts = ${this.reconnectAttempts}, time stale = ${ye(this.refreshedAt)} s, stale threshold = ${this.constructor.staleThreshold} s`),this.reconnectAttempts++,this.disconnectedRecently()?T.log(`ConnectionMonitor skipping reopening recent disconnect. time disconnected = ${ye(this.disconnectedAt)} s`):(T.log("ConnectionMonitor reopening"),this.connection.reopen()))}get refreshedAt(){return this.pingedAt?this.pingedAt:this.startedAt}connectionIsStale(){return ye(this.refreshedAt)>this.constructor.staleThreshold}disconnectedRecently(){return this.disconnectedAt&&ye(this.disconnectedAt)<this.constructor.staleThreshold}visibilityDidChange(){document.visibilityState==="visible"&&setTimeout(()=>{(this.connectionIsStale()||!this.connection.isOpen())&&(T.log(`ConnectionMonitor reopening stale connection on visibilitychange. visibilityState = ${document.visibilityState}`),this.connection.reopen())},200)}}ve.staleThreshold=6,ve.reconnectionBackoffRate=.15;var It={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:se,protocols:Fe}=It,wi=Fe.slice(0,Fe.length-1),Dt=[].indexOf;class Be{constructor(e){this.open=this.open.bind(this),this.consumer=e,this.subscriptions=this.consumer.subscriptions,this.monitor=new ve(this),this.disconnected=!0}send(e){return this.isOpen()?(this.webSocket.send(JSON.stringify(e)),!0):!1}open(){if(this.isActive())return T.log(`Attempted to open WebSocket, but existing socket is ${this.getState()}`),!1;{const e=[...Fe,...this.consumer.subprotocols||[]];return T.log(`Opening WebSocket, current state is ${this.getState()}, subprotocols: ${e}`),this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new be.WebSocket(this.consumer.url,e),this.installEventHandlers(),this.monitor.start(),!0}}close({allowReconnect:e}={allowReconnect:!0}){if(e||this.monitor.stop(),this.isOpen())return this.webSocket.close()}reopen(){if(T.log(`Reopening WebSocket, current state is ${this.getState()}`),this.isActive())try{return this.close()}catch(e){T.log("Failed to reopen WebSocket",e)}finally{T.log(`Reopening WebSocket in ${this.constructor.reopenDelay}ms`),setTimeout(this.open,this.constructor.reopenDelay)}else return this.open()}getProtocol(){if(this.webSocket)return this.webSocket.protocol}isOpen(){return this.isState("open")}isActive(){return this.isState("open","connecting")}triedToReconnect(){return this.monitor.reconnectAttempts>0}isProtocolSupported(){return Dt.call(wi,this.getProtocol())>=0}isState(...e){return Dt.call(e,this.getState())>=0}getState(){if(this.webSocket){for(let e in be.WebSocket)if(be.WebSocket[e]===this.webSocket.readyState)return e.toLowerCase()}return null}installEventHandlers(){for(let e in this.events){const n=this.events[e].bind(this);this.webSocket[`on${e}`]=n}}uninstallEventHandlers(){for(let e in this.events)this.webSocket[`on${e}`]=function(){}}}Be.reopenDelay=500,Be.prototype.events={message(t){if(!this.isProtocolSupported())return;const{identifier:e,message:n,reason:i,reconnect:s,type:r}=JSON.parse(t.data);switch(r){case se.welcome:return this.triedToReconnect()&&(this.reconnectAttempted=!0),this.monitor.recordConnect(),this.subscriptions.reload();case se.disconnect:return T.log(`Disconnecting. Reason: ${i}`),this.close({allowReconnect:s});case se.ping:return this.monitor.recordPing();case se.confirmation:return this.subscriptions.confirmSubscription(e),this.reconnectAttempted?(this.reconnectAttempted=!1,this.subscriptions.notify(e,"connected",{reconnected:!0})):this.subscriptions.notify(e,"connected",{reconnected:!1});case se.rejection:return this.subscriptions.reject(e);default:return this.subscriptions.notify(e,"received",n)}},open(){if(T.log(`WebSocket onopen event, using '${this.getProtocol()}' subprotocol`),this.disconnected=!1,!this.isProtocolSupported())return T.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close(t){if(T.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error(){T.log("WebSocket onerror event")}};const Si=function(t,e){if(e!=null)for(let n in e){const i=e[n];t[n]=i}return t};class Ei{constructor(e,n={},i){this.consumer=e,this.identifier=JSON.stringify(n),Si(this,i)}perform(e,n={}){return n.action=e,this.send(n)}send(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})}unsubscribe(){return this.consumer.subscriptions.remove(this)}}class xi{constructor(e){this.subscriptions=e,this.pendingSubscriptions=[]}guarantee(e){this.pendingSubscriptions.indexOf(e)==-1?(T.log(`SubscriptionGuarantor guaranteeing ${e.identifier}`),this.pendingSubscriptions.push(e)):T.log(`SubscriptionGuarantor already guaranteeing ${e.identifier}`),this.startGuaranteeing()}forget(e){T.log(`SubscriptionGuarantor forgetting ${e.identifier}`),this.pendingSubscriptions=this.pendingSubscriptions.filter(n=>n!==e)}startGuaranteeing(){this.stopGuaranteeing(),this.retrySubscribing()}stopGuaranteeing(){clearTimeout(this.retryTimeout)}retrySubscribing(){this.retryTimeout=setTimeout(()=>{this.subscriptions&&typeof this.subscriptions.subscribe=="function"&&this.pendingSubscriptions.map(e=>{T.log(`SubscriptionGuarantor resubscribing ${e.identifier}`),this.subscriptions.subscribe(e)})},500)}}class Oi{constructor(e){this.consumer=e,this.guarantor=new xi(this),this.subscriptions=[]}create(e,n){const i=e,s=typeof i=="object"?i:{channel:i},r=new Ei(this.consumer,s,n);return this.add(r)}add(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.subscribe(e),e}remove(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e}reject(e){return this.findAll(e).map(n=>(this.forget(n),this.notify(n,"rejected"),n))}forget(e){return this.guarantor.forget(e),this.subscriptions=this.subscriptions.filter(n=>n!==e),e}findAll(e){return this.subscriptions.filter(n=>n.identifier===e)}reload(){return this.subscriptions.map(e=>this.subscribe(e))}notifyAll(e,...n){return this.subscriptions.map(i=>this.notify(i,e,...n))}notify(e,n,...i){let s;return typeof e=="string"?s=this.findAll(e):s=[e],s.map(r=>typeof r[n]=="function"?r[n](...i):void 0)}subscribe(e){this.sendCommand(e,"subscribe")&&this.guarantor.guarantee(e)}confirmSubscription(e){T.log(`Subscription confirmed ${e}`),this.findAll(e).map(n=>this.guarantor.forget(n))}sendCommand(e,n){const{identifier:i}=e;return this.consumer.send({command:n,identifier:i})}}class Ci{constructor(e){this._url=e,this.subscriptions=new Oi(this),this.connection=new Be(this),this.subprotocols=[]}get url(){return Ri(this._url)}send(e){return this.connection.send(e)}connect(){return this.connection.open()}disconnect(){return this.connection.close({allowReconnect:!1})}ensureActiveConnection(){if(!this.connection.isActive())return this.connection.open()}addSubProtocol(e){this.subprotocols=[...this.subprotocols,e]}}function Ri(t){if(typeof t=="function"&&(t=t()),t&&!/^wss?:/i.test(t)){const e=document.createElement("a");return e.href=t,e.href=e.href,e.protocol=e.protocol.replace("http","ws"),e.href}else return t}function Ti(t=ki("url")||It.default_mount_path){return new Ci(t)}function ki(t){const e=document.head.querySelector(`meta[name='action-cable-${t}']`);if(e)return e.getAttribute("content")}ve.staleThreshold=10;class jt{constructor(e="/openc3-api/cable"){this._cable=null,this._url=e}disconnect(){this._cable&&this._cable.disconnect()}createSubscription(e,n,i={},s={}){return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(r=>{if(r&&OpenC3Auth.setTokens(),this._cable==null){let o=this._url+"?scope="+encodeURIComponent(window.openc3Scope)+"&authorization="+encodeURIComponent(localStorage.openc3Token);this._cable=Ti(o)}return this._cable.subscriptions.create({channel:e,...s},i)})}recordPing(){this._cable.connection.monitor.recordPing()}}class Pt{constructor(){qt(this,"id",1)}async exec(e,n,i={},s={},r=6e4){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}this.id=this.id+1;try{return i.scope=window.openc3Scope,s.manual=!0,(await Nt.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:n,id:this.id,keyword_params:i},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...s},timeout:r})).data.result}catch(o){let l=new Error;throw o.response?(l.name=o.response.data.error.data.class,l.message=o.response.data.error.data.message,l.object=o.response.data.error):o.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,...i){return this.exec("interface_cmd",[e,n,...i])}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,i){return this.exec("get_item",[e,n,i])}get_param(e,n,i){return this.exec("get_param",[e,n,i])}get_parameter(e,n,i){return this.exec("get_param",[e,n,i])}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,i,s=30){const r=await this.exec("get_tlm_packet",[e,n],{type:i,stale_time:s});if(r!=null){let o=r.length,l=null;for(let u=0;u<o;u++)l=this.decode_openc3_type(r[u][1]),l!==null&&(r[u][1]=l)}return r}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,i=null){let s={stale_time:n};i!==null&&(s.cache_timeout=i);const r=await this.exec("get_tlm_values",[e],s,{},1e4);let o=r[0].length,l=null;for(let u=0;u<o;u++)l=this.decode_openc3_type(r[0][u]),l!==null&&(r[0][u]=l);return r}get_limits(e,n,i){return this.exec("get_limits",[e,n,i])}async tlm(e,n,i,s="CONVERTED"){let r=null;if(n===void 0)r=await this.exec("tlm",[e]);else if(i===void 0)if(["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(n))r=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 r=await this.exec("tlm",[e,n,i],{type:s});let o=this.decode_openc3_type(r);return o!==null&&(r=o),r}async inject_tlm(e,n,i=null,s="CONVERTED"){data=await this.exec("inject_tlm",[e,n,i],{type:s})}set_tlm(e,n,i,s){return this.exec("set_tlm",[e,n,i],{type:s})}override_tlm(e,n,i,s){return this.exec("override_tlm",[e,n,i],{type:s})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,n,i,s){return this.exec("normalize_tlm",[e,n,i],{type:s})}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,i,s="CONVERTED"){return this.exec("get_cmd_value",[e,n,i,s])}get_cmd_buffer(e,n){return this.exec("get_cmd_buffer",[e,n])}_cmd(e,n,i,s,r){let o=null;for(let l in s)Object.prototype.hasOwnProperty.call(s,l)&&(o=this.encode_openc3_type(s[l]),o!==null&&(s[l]=o));return this.exec(e,[n,i,s],{},r)}get_cmd_hazardous(e,n,i,s={}){return n===void 0?this.exec("get_cmd_hazardous",e,{},s):this._cmd("get_cmd_hazardous",e,n,i,s)}cmd(e,n,i,s={}){return n===void 0?this.exec("cmd",e,{},s):this._cmd("cmd",e,n,i,s)}cmd_no_range_check(e,n,i,s={}){return n===void 0?this.exec("cmd_no_range_check",e,{},s):this._cmd("cmd_no_range_check",e,n,i,s)}cmd_raw(e,n,i,s={}){return n===void 0?this.exec("cmd_raw",e,{},s):this._cmd("cmd_raw",e,n,i,s)}cmd_raw_no_range_check(e,n,i,s={}){return n===void 0?this.exec("cmd_raw_no_range_check",e,{},s):this._cmd("cmd_raw_no_range_check",e,n,i,s)}cmd_no_hazardous_check(e,n,i,s={}){return n===void 0?this.exec("cmd_no_hazardous_check",e,{},s):this._cmd("cmd_no_hazardous_check",e,n,i,s)}cmd_no_checks(e,n,i,s={}){return n===void 0?this.exec("cmd_no_checks",e,{},s):this._cmd("cmd_no_checks",e,n,i,s)}cmd_raw_no_hazardous_check(e,n,i,s={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",e,{},s):this._cmd("cmd_raw_no_hazardous_check",e,n,i,s)}cmd_raw_no_checks(e,n,i,s={}){return n===void 0?this.exec("cmd_raw_no_checks",e,{},s):this._cmd("cmd_raw_no_checks",e,n,i,s)}build_cmd(e,n,i){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,i)}build_command(e,n,i){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,i)}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,i){return this.exec("save_config",[e,n,i])}delete_config(e,n){return this.exec("delete_config",[e,n])}enable_limits(e,n,i){return this.exec("enable_limits",[e,n,i])}disable_limits(e,n,i){return this.exec("disable_limits",[e,n,i])}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),i=await crypto.subtle.digest("SHA-256",n),s=new Uint8Array(i);return Array.from(s).map(r=>r.toString(16).padStart(2,"0")).join("")}}}const Ai={components:{LabelvalueWidget:$e,LabelvaluelimitsbarWidget:Je},props:{modelValue:{type:Array,default:()=>[]},timeZone:{type:String,default:"local"}},mixins:[we],data(){return{api:null,cable:new jt,ignored:[],ignoredItemsDialog:!1,overallState:"GREEN",currentLimitsSet:"",items:[],itemList:[],screenItems:[],screenValues:{},updateCounter:0,widgetSettings:[["WIDTH","580px"],["0","WIDTH","200px"],["1","WIDTH","200px"],["2","WIDTH","180px"]]}},computed:{textFieldClass(){return this.overallState?`textfield-${this.overallState.toLowerCase()}`:""},overallStateFormatted(){return this.ignored.length===0?this.overallState:`${this.overallState} (Some items ignored)`},ignoredFormatted(){return this.ignored.map(t=>t.split("__").join(" "))},astroStatus(){switch(this.overallState){case"GREEN":return"normal";case"YELLOW":return"caution";case"RED":return"critical";case"BLUE":return"standby";default:return null}}},created(){this.api=new Pt;for(let t of this.modelValue)t.match(/.+__.+__.+/)?this.ignoreItem(t,!0):this.ignorePacket(t,!0);this.updateOutOfLimits(),this.getCurrentLimitsSet(),this.currentSetRefreshInterval=setInterval(this.getCurrentLimitsSet,10*1e3),this.cable.createSubscription("LimitsEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}}).then(t=>{this.limitsSubscription=t}),this.cable.createSubscription("ConfigEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing();const e=JSON.parse(t);this.handleConfigEvents(e)}}).then(t=>{this.configSubscription=t})},mounted(){this.updater=setInterval(()=>{this.update()},1e3)},unmounted(){this.updater!=null&&(clearInterval(this.updater),this.updater=null),this.limitsSubscription&&this.limitsSubscription.unsubscribe(),this.configSubscription&&this.configSubscription.unsubscribe(),this.cable.disconnect()},methods:{getCurrentLimitsSet:function(){this.api.get_limits_set().then(t=>{this.currentLimitsSet=t})},updateOutOfLimits(){this.items=[],this.itemList=[],this.api.get_out_of_limits().then(t=>{for(const e of t){let n=e.join("__");if(this.ignored.find(s=>n.includes(s)))continue;this.itemList.push(n);let i={key:e.slice(0,3).join("__"),parameters:e.slice(0,3),timestamp:this.formatDateTime(new Date,this.timeZone)};e[3].includes("YELLOW")&&this.overallState!=="RED"&&(this.overallState="YELLOW"),e[3].includes("RED")&&(this.overallState="RED"),e[3]=="YELLOW"||e[3]=="RED"?i.limits=!1:i.limits=!0,this.items.push(i)}this.calcOverallState()})},calcOverallState(){let t="GREEN";for(let e of this.itemList)if(!this.ignored.find(n=>e.includes(n))&&(e.includes("YELLOW")&&t!=="RED"&&(t="YELLOW"),e.includes("RED"))){t="RED";break}this.overallState=t},ignorePacket(t,e){let[n,i,s]=t.split("__"),r=`${n}__${i}`;for(this.ignored.push(r),e||this.updateIgnored();;){let o=this.itemList.findIndex(l=>l.includes(r));if(o===-1)break;{let l=this.itemList[o].lastIndexOf("__");this.removeItem(this.itemList[o].substring(0,l))}}this.calcOverallState()},ignoreItem(t,e){this.ignored.push(t),e||this.updateIgnored(),this.removeItem(t),this.calcOverallState()},restoreItem(t){this.ignored.splice(t,1),this.updateIgnored(),this.updateOutOfLimits()},removeItem(t){const e=this.itemList.findIndex(n=>n.includes(t));this.items.splice(e,1),this.itemList.splice(e,1)},clearAll(){this.ignored=[],this.updateIgnored(),this.updateOutOfLimits()},updateIgnored(){this.$emit("update:modelValue",this.ignored)},handleConfigEvents(t){for(let e of t)e.kind==="deleted"&&e.type==="target"&&this.updateOutOfLimits()},handleMessages(t){for(let e of t){if(e=JSON.parse(e.event),e.type!="LIMITS_CHANGE")continue;let n=`${e.target_name}__${e.packet_name}__${e.item_name}`;const i=this.itemList.findIndex(r=>r.includes(n));if(i!==-1){this.itemList[i]=`${n}__${e.new_limits_state}`,this.calcOverallState();continue}if(this.ignored.find(r=>n.includes(r))||e.new_limits_state&&!(e.new_limits_state.includes("YELLOW")||e.new_limits_state.includes("RED")))continue;let s={key:n,timestamp:this.formatNanoseconds(e.time_nsec,this.timeZone),parameters:[e.target_name,e.packet_name,e.item_name]};e.new_limits_state=="YELLOW"||e.new_limits_state=="RED"?s.limits=!1:s.limits=!0,this.itemList.push(`${n}__${e.new_limits_state}`),this.items.push(s),this.calcOverallState()}},update(){this.screenItems.length!==0&&this.api.get_tlm_values(this.screenItems).then(t=>{this.updateValues(t)})},updateValues:function(t){this.updateCounter+=1;for(let e=0;e<t.length;e++)t[e].push(this.updateCounter),this.screenValues[this.screenItems[e]]=t[e]},addItem:function(t){this.screenItems.push(t),this.screenValues[t]=[null,null,0]},deleteItem:function(t){let e=this.screenItems.indexOf(t);this.screenItems.splice(e,1)},showIgnored(){this.ignoredItemsDialog=!0}}},Li=["status"],Ni={class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},Ii={class:"font-weight-black"};function Di(t,e,n,i,s,r){const o=y("v-text-field"),l=y("v-row"),u=y("labelvaluelimitsbar-widget"),c=y("labelvalue-widget"),d=y("v-btn"),h=y("v-tooltip"),v=y("v-divider"),_=y("v-card"),m=y("v-spacer"),f=y("v-toolbar"),k=y("v-card-text"),C=y("v-card-actions"),O=y("v-dialog");return E(),U("div",null,[g(_,{class:"pa-5"},{default:p(()=>[g(l,{class:"ma-1"},{default:p(()=>[g(o,{density:"compact",variant:"outlined",readonly:"","hide-details":"",label:"Overall Limits State","model-value":r.overallStateFormatted,class:Ee(r.textFieldClass),style:{"margin-right":"10px","max-width":"280px"},"data-test":"overall-state"},oe({_:2},[r.astroStatus?{name:"prepend-inner",fn:p(()=>[R("rux-status",{status:r.astroStatus},null,8,Li)]),key:"0"}:void 0]),1032,["model-value","class"]),g(o,{density:"compact",variant:"outlined",readonly:"","hide-details":"",label:"Current Limits Set","model-value":s.currentLimitsSet,style:{"max-width":"200px"},"data-test":"limits-set"},null,8,["model-value"])]),_:1}),g(l,{"data-test":"limits-row",class:"my-0 ml-1 mr-1"},{default:p(()=>e[2]||(e[2]=[R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},"Timestamp",-1),R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},"Item Name",-1),R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},"Value",-1),R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"180px"}},"Limits Bar",-1),R("div",{class:"pa-1 mt-1 mr-2 label"},"Controls",-1)])),_:1}),(E(!0),U(z,null,$(s.items,(S,I)=>(E(),U("div",{key:S.key},[g(l,{"data-test":"limits-row",class:"align-center my-0 mx-1"},{default:p(()=>[R("div",Ni,M(S.timestamp),1),S.limits?(E(),A(u,{key:0,parameters:S.parameters,settings:s.widgetSettings,"screen-values":s.screenValues,"screen-time-zone":n.timeZone,onAddItem:r.addItem,onDeleteItem:r.deleteItem},null,8,["parameters","settings","screen-values","screen-time-zone","onAddItem","onDeleteItem"])):(E(),A(c,{key:1,parameters:S.parameters,settings:s.widgetSettings,"screen-values":s.screenValues,"screen-time-zone":n.timeZone,onAddItem:r.addItem,onDeleteItem:r.deleteItem},null,8,["parameters","settings","screen-values","screen-time-zone","onAddItem","onDeleteItem"])),g(h,{location:"top"},{activator:p(({props:b})=>[g(d,Y({icon:"mdi-close-circle-multiple",variant:"text",density:"compact",class:"mr-2",onClick:D=>r.ignorePacket(S.key),ref_for:!0},b),null,16,["onClick"])]),default:p(()=>[e[3]||(e[3]=R("span",null,"Ignore Entire Packet",-1))]),_:2},1024),g(h,{location:"top"},{activator:p(({props:b})=>[g(d,Y({icon:"mdi-close-circle",variant:"text",density:"compact",class:"mr-2",onClick:D=>r.ignoreItem(S.key),ref_for:!0},b),null,16,["onClick"])]),default:p(()=>[e[4]||(e[4]=R("span",null,"Ignore Item",-1))]),_:2},1024),g(h,{location:"top"},{activator:p(({props:b})=>[g(d,Y({icon:"mdi-eye-off",variant:"text",density:"compact",class:"mr-2",onClick:D=>r.removeItem(S.key),ref_for:!0},b),null,16,["onClick"])]),default:p(()=>[e[5]||(e[5]=R("span",null,"Temporarily Hide Item",-1))]),_:2},1024)]),_:2},1024),I<s.items.length?(E(),A(v,{key:I})):q("",!0)]))),128)),e[6]||(e[6]=R("div",{class:"footer"},' Note: Timestamp is "now" for items currently out of limits when the page is loaded. ',-1))]),_:1}),g(O,{modelValue:s.ignoredItemsDialog,"onUpdate:modelValue":e[1]||(e[1]=S=>s.ignoredItemsDialog=S),"max-width":"600"},{default:p(()=>[g(_,null,{default:p(()=>[g(f,{height:"24"},{default:p(()=>[g(m),e[7]||(e[7]=R("span",null,"Ignored Items",-1)),g(m)]),_:1}),g(k,{class:"mt-2"},{default:p(()=>[R("div",null,[(E(!0),U(z,null,$(r.ignoredFormatted,(S,I)=>(E(),U("div",{key:I},[g(l,{class:"ma-1 align-center"},{default:p(()=>[R("span",Ii,M(S),1),g(m),g(d,{onClick:b=>r.restoreItem(I),icon:"mdi-delete",density:"compact",variant:"text","data-test":`remove-ignore-${I}`},null,8,["onClick","data-test"])]),_:2},1024),I<r.ignoredFormatted.length-1?(E(),A(v,{key:I})):q("",!0)]))),128))])]),_:1}),g(C,{class:"px-2"},{default:p(()=>[g(d,{variant:"outlined",onClick:r.clearAll},{default:p(()=>e[8]||(e[8]=[B(" Clear All ")])),_:1},8,["onClick"]),g(m),g(d,{variant:"flat",onClick:e[0]||(e[0]=S=>s.ignoredItemsDialog=!1)},{default:p(()=>e[9]||(e[9]=[B(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const ji=re(Ai,[["render",Di],["__scopeId","data-v-dd6c39b3"]]),Pi={props:{historyCount:{type:Number,default:1e3},timeZone:{type:String,default:"local"}},mixins:[we],data(){return{data:[],cable:new jt,search:"",headers:[{title:"Time",value:"time_nsec",width:250},{title:"Level",value:"level",sortable:!1},{title:"Message",value:"message"}]}},created(){this.cable.createSubscription("LimitsEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}},{historyCount:1e3}).then(t=>{this.limitsSubscription=t})},unmounted(){this.limitsSubscription&&this.limitsSubscription.unsubscribe(),this.cable.disconnect()},methods:{handleMessages(t){for(let e=0;e<t.length;e++){let n=JSON.parse(t[e].event);this.data.unshift(n)}this.data.length>this.historyCount&&(this.data.length=this.historyCount)},getStatus(t){return t.includes("GREEN")?"normal":t.includes("YELLOW")?"caution":t.includes("RED")?"critical":t.includes("BLUE")?"standby":"off"},getColorClass(t){return t.includes("GREEN")?"openc3-green":t.includes("YELLOW")?"openc3-yellow":t.includes("RED")?"openc3-red":t.includes("BLUE")?"openc3-blue":this.$vuetify.theme.dark?"openc3-white":"openc3-black"},calcTableHeight(){return window.innerHeight-250}}},Ui=["status"];function Fi(t,e,n,i,s,r){const o=y("v-spacer"),l=y("v-text-field"),u=y("v-card-title"),c=y("v-data-table"),d=y("v-card");return E(),A(d,{class:"card-height"},{default:p(()=>[g(u,{class:"d-flex align-center"},{default:p(()=>[e[1]||(e[1]=B(" Limits Events ")),g(o),g(l,{modelValue:s.search,"onUpdate:modelValue":e[0]||(e[0]=h=>s.search=h),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),g(c,{headers:s.headers,items:s.data,search:s.search,"items-per-page":-1,"hide-default-footer":"","multi-sort":"",density:"compact",height:r.calcTableHeight(),hover:"","data-test":"limits-events"},{"item.time_nsec":p(({item:h})=>[R("span",null,M(t.formatNanoseconds(h.time_nsec,n.timeZone)),1)]),"item.level":p(({item:h})=>[R("rux-status",{status:r.getStatus(h.message)},null,8,Ui)]),"item.message":p(({item:h})=>[R("span",{class:Ee(r.getColorClass(h.message))},M(h.message),3)]),_:1},8,["headers","items","search","height"])]),_:1})}const Bi={components:{LimitsControl:ji,LimitsEvents:re(Pi,[["render",Fi],["__scopeId","data-v-210db24e"]]),TopBar:Mt,OpenConfigDialog:We,SaveConfigDialog:ze},mixins:[qe],data(){return{title:"Limits Monitor",configKey:"limits_monitor",api:new Pt,timeZone:"local",renderKey:0,ignored:[],openConfig:!1,saveConfig:!1,limitsSets:[],currentLimitsSet:null,currentSetRefreshInterval:null,limitsSetDialog:!1,menus:[{label:"File",items:[{label:"Show Ignored",icon:"mdi-magnify-close",command:()=>{this.$refs.control.showIgnored()}},{label:"Change Limits Set",icon:"mdi-swap-horizontal",command:()=>{this.limitsSetDialog=!0}},{divider:!0},{label:"Open Configuration",icon:"mdi-folder-open",command:()=>{this.openConfig=!0}},{label:"Save Configuration",icon:"mdi-content-save",command:()=>{this.saveConfig=!0}},{label:"Reset Configuration",icon:"mdi-monitor-shimmer",command:()=>{this.ignored=[],this.resetConfigBase(),this.renderKey++}}]}]}},created(){this.api.get_limits_sets().then(t=>{this.limitsSets=t}),this.api.get_setting("time_zone").then(t=>{t&&(this.timeZone=t)}).catch(t=>{})},mounted:function(){if(this.$route.query&&this.$route.query.config)this.openConfiguration(this.$route.query.config,!0);else{let t=this.loadDefaultConfig();JSON.stringify(t)!=="{}"&&(this.ignored=t,this.renderKey++)}},unmounted:function(){clearInterval(this.currentSetRefreshInterval)},methods:{setLimitsSet:function(){this.api.set_limits_set(this.currentLimitsSet),this.limitsSetDialog=!1,this.renderKey++},openConfiguration:function(t,e=!1){this.openConfigBase(t,e,n=>{this.ignored=n,this.renderKey++})},saveConfiguration:function(t){this.saveConfigBase(t,this.ignored)}}};function Vi(t,e,n,i,s,r){const o=y("top-bar"),l=y("limits-control"),u=y("limits-events"),c=y("open-config-dialog"),d=y("save-config-dialog"),h=y("v-spacer"),v=y("v-toolbar"),_=y("v-select"),m=y("v-card-text"),f=y("v-btn"),k=y("v-card-actions"),C=y("v-card"),O=y("v-dialog");return E(),U("div",null,[g(o,{menus:s.menus,title:s.title},null,8,["menus","title"]),(E(),A(l,{ref:"control",modelValue:s.ignored,"onUpdate:modelValue":e[0]||(e[0]=S=>s.ignored=S),key:s.renderKey,"time-zone":s.timeZone},null,8,["modelValue","time-zone"])),e[11]||(e[11]=R("div",{style:{height:"15px"}},null,-1)),g(u,{"time-zone":s.timeZone},null,8,["time-zone"]),s.openConfig?(E(),A(c,{key:0,modelValue:s.openConfig,"onUpdate:modelValue":e[1]||(e[1]=S=>s.openConfig=S),configKey:s.configKey,onSuccess:r.openConfiguration},null,8,["modelValue","configKey","onSuccess"])):q("",!0),s.saveConfig?(E(),A(d,{key:1,modelValue:s.saveConfig,"onUpdate:modelValue":e[2]||(e[2]=S=>s.saveConfig=S),configKey:s.configKey,onSuccess:r.saveConfiguration},null,8,["modelValue","configKey","onSuccess"])):q("",!0),g(O,{modelValue:s.limitsSetDialog,"onUpdate:modelValue":e[5]||(e[5]=S=>s.limitsSetDialog=S),"max-width":"650"},{default:p(()=>[g(C,null,{default:p(()=>[g(v,{height:"24"},{default:p(()=>[g(h),e[6]||(e[6]=R("span",null,"Change Limits Set",-1)),g(h)]),_:1}),g(m,{class:"mt-6"},{default:p(()=>[e[7]||(e[7]=R("span",{style:{display:"block"}}," The Limits Set is a global option which changes the Limits Set across all tools. ",-1)),e[8]||(e[8]=R("span",{style:{display:"block"}}," NOTE: Changing this option clears the current list and recalculates based on the new set. ",-1)),g(_,{label:"Limits Set",items:s.limitsSets,modelValue:s.currentLimitsSet,"onUpdate:modelValue":e[3]||(e[3]=S=>s.currentLimitsSet=S),density:"compact",variant:"outlined","data-test":"limits-set","hide-details":"",class:"mt-3",style:{"max-width":"200px"}},null,8,["items","modelValue"])]),_:1}),g(k,{class:"px-2"},{default:p(()=>[g(h),g(f,{variant:"outlined",onClick:e[4]||(e[4]=S=>s.limitsSetDialog=!1)},{default:p(()=>e[9]||(e[9]=[B(" Cancel ")])),_:1}),g(f,{variant:"flat",onClick:r.setLimitsSet},{default:p(()=>e[10]||(e[10]=[B(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const zi=Ut("default",re(Bi,[["render",Vi]]))}}});
6
+ `):" "+Ct(r[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i},adapters:De};function je(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new X(null,t)}function Tt(t){return je(t),t.headers=P.from(t.headers),t.data=Ne.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Rt.getAdapter(t.adapter||te.adapter)(t).then(function(e){return je(t),e.data=Ne.call(t,t.transformResponse,e),e.headers=P.from(e.headers),e},function(e){return pt(e)||(je(t),e&&e.response&&(e.response.data=Ne.call(t,t.transformResponse,e.response),e.response.headers=P.from(e.response.headers))),Promise.reject(e)})}const kt="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 At={};ge.transitional=function(t,e,n){function i(s,r){return"[Axios v"+kt+"] Transitional option '"+s+"'"+r+(n?". "+n:"")}return(s,r,o)=>{if(t===!1)throw new w(i(r," has been removed"+(e?" in "+e:"")),w.ERR_DEPRECATED);return e&&!At[r]&&(At[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(s,r,o):!0}},ge.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function bi(t,e,n){if(typeof t!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let s=i.length;for(;s-- >0;){const r=i[s],o=e[r];if(o){const l=t[r],u=l===void 0||o(l,r,t);if(u!==!0)throw new w("option "+r+" must be "+u,w.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new w("Unknown option "+r,w.ERR_BAD_OPTION)}}const _e={assertOptions:bi,validators:ge},z=_e.validators;class G{constructor(e){this.defaults=e,this.interceptors={request:new dt,response:new dt}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?r&&!String(i.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(i.stack+=`
7
+ `+r):i.stack=r}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=J(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:r}=n;i!==void 0&&_e.assertOptions(i,{silentJSONParsing:z.transitional(z.boolean),forcedJSONParsing:z.transitional(z.boolean),clarifyTimeoutError:z.transitional(z.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:_e.assertOptions(s,{encode:z.function,serialize:z.function},!0)),_e.assertOptions(n,{baseUrl:z.spelling("baseURL"),withXsrfToken:z.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=r&&a.merge(r.common,r[n.method]);r&&a.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=P.concat(o,r);const l=[];let u=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(u=u&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,f=0,v;if(!u){const m=[Tt.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,c),v=m.length,d=Promise.resolve(n);f<v;)d=d.then(m[f++],m[f++]);return d}v=l.length;let _=n;for(f=0;f<v;){const m=l[f++],h=l[f++];try{_=m(_)}catch(k){h.call(this,k);break}}try{d=Tt.call(this,_)}catch(m){return Promise.reject(m)}for(f=0,v=c.length;f<v;)d=d.then(c[f++],c[f++]);return d}getUri(e){e=J(this.defaults,e);const n=yt(e.baseURL,e.url);return ut(n,e.params,e.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){G.prototype[t]=function(e,n){return this.request(J(n||{},{method:t,url:e,data:(n||{}).data}))}}),a.forEach(["post","put","patch"],function(t){function e(n){return function(i,s,r){return this.request(J(r||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}G.prototype[t]=e(),G.prototype[t+"Form"]=e(!0)});class Pe{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const i=this;this.promise.then(s=>{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](s);i._listeners=null}),this.promise.then=s=>{let r;const o=new Promise(l=>{i.subscribe(l),r=l}).then(s);return o.cancel=function(){i.unsubscribe(r)},o},e(function(s,r,o){i.reason||(i.reason=new X(s,r,o),n(i.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=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Pe(function(n){e=n}),cancel:e}}}function yi(t){return function(e){return t.apply(null,e)}}function vi(t){return a.isObject(t)&&t.isAxiosError===!0}const Ue={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(Ue).forEach(([t,e])=>{Ue[e]=t});function Lt(t){const e=new G(t),n=Je(G.prototype.request,e);return a.extend(n,G.prototype,e,{allOwnKeys:!0}),a.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Lt(J(t,i))},n}const L=Lt(te);L.Axios=G,L.CanceledError=X,L.CancelToken=Pe,L.isCancel=pt,L.VERSION=kt,L.toFormData=de,L.AxiosError=w,L.Cancel=L.CanceledError,L.all=function(t){return Promise.all(t)},L.spread=yi,L.isAxiosError=vi,L.mergeConfig=J,L.AxiosHeaders=P,L.formToJSON=t=>ht(a.isHTMLForm(t)?new FormData(t):t),L.getAdapter=Rt.getAdapter,L.HttpStatusCode=Ue,L.default=L;const Nt=L.create({baseURL:location.origin,timeout:6e4,params:{}});Nt.interceptors.response.use(t=>t,t=>{var e,n,i,s,r,o,l,u,c,d,f;if(t.response){if(t.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(m){m&&OpenC3Auth.setTokens()}),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let v=`HTTP ${t.response.status} - `;(e=t.response)!=null&&e.statusText&&(v+=`${t.response.statusText} `),(i=(n=t.response)==null?void 0:n.config)!=null&&i.data&&(v+=`${t.response.config.data} `),(r=(s=t.response)==null?void 0:s.data)!=null&&r.message?v+=`${t.response.data.message}`:(l=(o=t.response)==null?void 0:o.data)!=null&&l.exception?v+=`${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&&(v+=`${t.response.data.error.class} `),v+=`${t.response.data.error.message}`):v+=`${(f=t.response)==null?void 0:f.data}`;const{$cosmosNotify:_}=window;throw _&&_.serious({title:"Network error",body:v}),t}else throw t});var be={logger:typeof console<"u"?console:void 0,WebSocket:typeof WebSocket<"u"?WebSocket:void 0},T={log(...t){this.enabled&&(t.push(Date.now()),be.logger.log("[ActionCable]",...t))}};const ie=()=>new Date().getTime(),ye=t=>(ie()-t)/1e3;class ve{constructor(e){this.visibilityDidChange=this.visibilityDidChange.bind(this),this.connection=e,this.reconnectAttempts=0}start(){this.isRunning()||(this.startedAt=ie(),delete this.stoppedAt,this.startPolling(),addEventListener("visibilitychange",this.visibilityDidChange),T.log(`ConnectionMonitor started. stale threshold = ${this.constructor.staleThreshold} s`))}stop(){this.isRunning()&&(this.stoppedAt=ie(),this.stopPolling(),removeEventListener("visibilitychange",this.visibilityDidChange),T.log("ConnectionMonitor stopped"))}isRunning(){return this.startedAt&&!this.stoppedAt}recordPing(){this.pingedAt=ie()}recordConnect(){this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,T.log("ConnectionMonitor recorded connect")}recordDisconnect(){this.disconnectedAt=ie(),T.log("ConnectionMonitor recorded disconnect")}startPolling(){this.stopPolling(),this.poll()}stopPolling(){clearTimeout(this.pollTimeout)}poll(){this.pollTimeout=setTimeout(()=>{this.reconnectIfStale(),this.poll()},this.getPollInterval())}getPollInterval(){const{staleThreshold:e,reconnectionBackoffRate:n}=this.constructor,i=Math.pow(1+n,Math.min(this.reconnectAttempts,10)),s=(this.reconnectAttempts===0?1:n)*Math.random();return e*1e3*i*(1+s)}reconnectIfStale(){this.connectionIsStale()&&(T.log(`ConnectionMonitor detected stale connection. reconnectAttempts = ${this.reconnectAttempts}, time stale = ${ye(this.refreshedAt)} s, stale threshold = ${this.constructor.staleThreshold} s`),this.reconnectAttempts++,this.disconnectedRecently()?T.log(`ConnectionMonitor skipping reopening recent disconnect. time disconnected = ${ye(this.disconnectedAt)} s`):(T.log("ConnectionMonitor reopening"),this.connection.reopen()))}get refreshedAt(){return this.pingedAt?this.pingedAt:this.startedAt}connectionIsStale(){return ye(this.refreshedAt)>this.constructor.staleThreshold}disconnectedRecently(){return this.disconnectedAt&&ye(this.disconnectedAt)<this.constructor.staleThreshold}visibilityDidChange(){document.visibilityState==="visible"&&setTimeout(()=>{(this.connectionIsStale()||!this.connection.isOpen())&&(T.log(`ConnectionMonitor reopening stale connection on visibilitychange. visibilityState = ${document.visibilityState}`),this.connection.reopen())},200)}}ve.staleThreshold=6,ve.reconnectionBackoffRate=.15;var It={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:se,protocols:Fe}=It,wi=Fe.slice(0,Fe.length-1),Dt=[].indexOf;class Be{constructor(e){this.open=this.open.bind(this),this.consumer=e,this.subscriptions=this.consumer.subscriptions,this.monitor=new ve(this),this.disconnected=!0}send(e){return this.isOpen()?(this.webSocket.send(JSON.stringify(e)),!0):!1}open(){if(this.isActive())return T.log(`Attempted to open WebSocket, but existing socket is ${this.getState()}`),!1;{const e=[...Fe,...this.consumer.subprotocols||[]];return T.log(`Opening WebSocket, current state is ${this.getState()}, subprotocols: ${e}`),this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new be.WebSocket(this.consumer.url,e),this.installEventHandlers(),this.monitor.start(),!0}}close({allowReconnect:e}={allowReconnect:!0}){if(e||this.monitor.stop(),this.isOpen())return this.webSocket.close()}reopen(){if(T.log(`Reopening WebSocket, current state is ${this.getState()}`),this.isActive())try{return this.close()}catch(e){T.log("Failed to reopen WebSocket",e)}finally{T.log(`Reopening WebSocket in ${this.constructor.reopenDelay}ms`),setTimeout(this.open,this.constructor.reopenDelay)}else return this.open()}getProtocol(){if(this.webSocket)return this.webSocket.protocol}isOpen(){return this.isState("open")}isActive(){return this.isState("open","connecting")}triedToReconnect(){return this.monitor.reconnectAttempts>0}isProtocolSupported(){return Dt.call(wi,this.getProtocol())>=0}isState(...e){return Dt.call(e,this.getState())>=0}getState(){if(this.webSocket){for(let e in be.WebSocket)if(be.WebSocket[e]===this.webSocket.readyState)return e.toLowerCase()}return null}installEventHandlers(){for(let e in this.events){const n=this.events[e].bind(this);this.webSocket[`on${e}`]=n}}uninstallEventHandlers(){for(let e in this.events)this.webSocket[`on${e}`]=function(){}}}Be.reopenDelay=500,Be.prototype.events={message(t){if(!this.isProtocolSupported())return;const{identifier:e,message:n,reason:i,reconnect:s,type:r}=JSON.parse(t.data);switch(r){case se.welcome:return this.triedToReconnect()&&(this.reconnectAttempted=!0),this.monitor.recordConnect(),this.subscriptions.reload();case se.disconnect:return T.log(`Disconnecting. Reason: ${i}`),this.close({allowReconnect:s});case se.ping:return this.monitor.recordPing();case se.confirmation:return this.subscriptions.confirmSubscription(e),this.reconnectAttempted?(this.reconnectAttempted=!1,this.subscriptions.notify(e,"connected",{reconnected:!0})):this.subscriptions.notify(e,"connected",{reconnected:!1});case se.rejection:return this.subscriptions.reject(e);default:return this.subscriptions.notify(e,"received",n)}},open(){if(T.log(`WebSocket onopen event, using '${this.getProtocol()}' subprotocol`),this.disconnected=!1,!this.isProtocolSupported())return T.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close(t){if(T.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error(){T.log("WebSocket onerror event")}};const Si=function(t,e){if(e!=null)for(let n in e){const i=e[n];t[n]=i}return t};class Ei{constructor(e,n={},i){this.consumer=e,this.identifier=JSON.stringify(n),Si(this,i)}perform(e,n={}){return n.action=e,this.send(n)}send(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})}unsubscribe(){return this.consumer.subscriptions.remove(this)}}class xi{constructor(e){this.subscriptions=e,this.pendingSubscriptions=[]}guarantee(e){this.pendingSubscriptions.indexOf(e)==-1?(T.log(`SubscriptionGuarantor guaranteeing ${e.identifier}`),this.pendingSubscriptions.push(e)):T.log(`SubscriptionGuarantor already guaranteeing ${e.identifier}`),this.startGuaranteeing()}forget(e){T.log(`SubscriptionGuarantor forgetting ${e.identifier}`),this.pendingSubscriptions=this.pendingSubscriptions.filter(n=>n!==e)}startGuaranteeing(){this.stopGuaranteeing(),this.retrySubscribing()}stopGuaranteeing(){clearTimeout(this.retryTimeout)}retrySubscribing(){this.retryTimeout=setTimeout(()=>{this.subscriptions&&typeof this.subscriptions.subscribe=="function"&&this.pendingSubscriptions.map(e=>{T.log(`SubscriptionGuarantor resubscribing ${e.identifier}`),this.subscriptions.subscribe(e)})},500)}}class Oi{constructor(e){this.consumer=e,this.guarantor=new xi(this),this.subscriptions=[]}create(e,n){const i=e,s=typeof i=="object"?i:{channel:i},r=new Ei(this.consumer,s,n);return this.add(r)}add(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.subscribe(e),e}remove(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e}reject(e){return this.findAll(e).map(n=>(this.forget(n),this.notify(n,"rejected"),n))}forget(e){return this.guarantor.forget(e),this.subscriptions=this.subscriptions.filter(n=>n!==e),e}findAll(e){return this.subscriptions.filter(n=>n.identifier===e)}reload(){return this.subscriptions.map(e=>this.subscribe(e))}notifyAll(e,...n){return this.subscriptions.map(i=>this.notify(i,e,...n))}notify(e,n,...i){let s;return typeof e=="string"?s=this.findAll(e):s=[e],s.map(r=>typeof r[n]=="function"?r[n](...i):void 0)}subscribe(e){this.sendCommand(e,"subscribe")&&this.guarantor.guarantee(e)}confirmSubscription(e){T.log(`Subscription confirmed ${e}`),this.findAll(e).map(n=>this.guarantor.forget(n))}sendCommand(e,n){const{identifier:i}=e;return this.consumer.send({command:n,identifier:i})}}class Ci{constructor(e){this._url=e,this.subscriptions=new Oi(this),this.connection=new Be(this),this.subprotocols=[]}get url(){return Ri(this._url)}send(e){return this.connection.send(e)}connect(){return this.connection.open()}disconnect(){return this.connection.close({allowReconnect:!1})}ensureActiveConnection(){if(!this.connection.isActive())return this.connection.open()}addSubProtocol(e){this.subprotocols=[...this.subprotocols,e]}}function Ri(t){if(typeof t=="function"&&(t=t()),t&&!/^wss?:/i.test(t)){const e=document.createElement("a");return e.href=t,e.href=e.href,e.protocol=e.protocol.replace("http","ws"),e.href}else return t}function Ti(t=ki("url")||It.default_mount_path){return new Ci(t)}function ki(t){const e=document.head.querySelector(`meta[name='action-cable-${t}']`);if(e)return e.getAttribute("content")}ve.staleThreshold=10;class jt{constructor(e="/openc3-api/cable"){this._cable=null,this._url=e}disconnect(){this._cable&&this._cable.disconnect()}createSubscription(e,n,i={},s={}){return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(r=>{if(r&&OpenC3Auth.setTokens(),this._cable==null){let o=this._url+"?scope="+encodeURIComponent(window.openc3Scope)+"&authorization="+encodeURIComponent(localStorage.openc3Token);this._cable=Ti(o)}return this._cable.subscriptions.create({channel:e,...s},i)})}recordPing(){this._cable.connection.monitor.recordPing()}}class Pt{constructor(){qt(this,"id",1)}async exec(e,n,i={},s={},r=6e4){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}this.id=this.id+1;try{return i.scope=window.openc3Scope,s.manual=!0,(await Nt.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:n,id:this.id,keyword_params:i},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...s},timeout:r})).data.result}catch(o){let l=new Error;throw o.response?(l.name=o.response.data.error.data.class,l.message=o.response.data.error.data.message,l.object=o.response.data.error):o.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,...i){return this.exec("interface_cmd",[e,n,...i])}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,i){return this.exec("get_item",[e,n,i])}get_param(e,n,i){return this.exec("get_param",[e,n,i])}get_parameter(e,n,i){return this.exec("get_param",[e,n,i])}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,i,s=30){const r=await this.exec("get_tlm_packet",[e,n],{type:i,stale_time:s});if(r!=null){let o=r.length,l=null;for(let u=0;u<o;u++)l=this.decode_openc3_type(r[u][1]),l!==null&&(r[u][1]=l)}return r}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,i=null){let s={stale_time:n};i!==null&&(s.cache_timeout=i);const r=await this.exec("get_tlm_values",[e],s,{},1e4);let o=r[0].length,l=null;for(let u=0;u<o;u++)l=this.decode_openc3_type(r[0][u]),l!==null&&(r[0][u]=l);return r}get_limits(e,n,i){return this.exec("get_limits",[e,n,i])}async tlm(e,n,i,s="CONVERTED"){let r=null;if(n===void 0)r=await this.exec("tlm",[e]);else if(i===void 0)if(["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(n))r=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 r=await this.exec("tlm",[e,n,i],{type:s});let o=this.decode_openc3_type(r);return o!==null&&(r=o),r}async inject_tlm(e,n,i=null,s="CONVERTED"){data=await this.exec("inject_tlm",[e,n,i],{type:s})}set_tlm(e,n,i,s){return this.exec("set_tlm",[e,n,i],{type:s})}override_tlm(e,n,i,s){return this.exec("override_tlm",[e,n,i],{type:s})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,n,i,s){return this.exec("normalize_tlm",[e,n,i],{type:s})}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,i,s="CONVERTED"){return this.exec("get_cmd_value",[e,n,i,s])}get_cmd_buffer(e,n){return this.exec("get_cmd_buffer",[e,n])}_cmd(e,n,i,s,r){let o=null;for(let l in s)Object.prototype.hasOwnProperty.call(s,l)&&(o=this.encode_openc3_type(s[l]),o!==null&&(s[l]=o));return this.exec(e,[n,i,s],{},r)}get_cmd_hazardous(e,n,i,s={}){return n===void 0?this.exec("get_cmd_hazardous",e,{},s):this._cmd("get_cmd_hazardous",e,n,i,s)}cmd(e,n,i,s={}){return n===void 0?this.exec("cmd",e,{},s):this._cmd("cmd",e,n,i,s)}cmd_no_range_check(e,n,i,s={}){return n===void 0?this.exec("cmd_no_range_check",e,{},s):this._cmd("cmd_no_range_check",e,n,i,s)}cmd_raw(e,n,i,s={}){return n===void 0?this.exec("cmd_raw",e,{},s):this._cmd("cmd_raw",e,n,i,s)}cmd_raw_no_range_check(e,n,i,s={}){return n===void 0?this.exec("cmd_raw_no_range_check",e,{},s):this._cmd("cmd_raw_no_range_check",e,n,i,s)}cmd_no_hazardous_check(e,n,i,s={}){return n===void 0?this.exec("cmd_no_hazardous_check",e,{},s):this._cmd("cmd_no_hazardous_check",e,n,i,s)}cmd_no_checks(e,n,i,s={}){return n===void 0?this.exec("cmd_no_checks",e,{},s):this._cmd("cmd_no_checks",e,n,i,s)}cmd_raw_no_hazardous_check(e,n,i,s={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",e,{},s):this._cmd("cmd_raw_no_hazardous_check",e,n,i,s)}cmd_raw_no_checks(e,n,i,s={}){return n===void 0?this.exec("cmd_raw_no_checks",e,{},s):this._cmd("cmd_raw_no_checks",e,n,i,s)}build_cmd(e,n,i){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,i)}build_command(e,n,i){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,i)}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,i){return this.exec("save_config",[e,n,i])}delete_config(e,n){return this.exec("delete_config",[e,n])}enable_limits(e,n,i){return this.exec("enable_limits",[e,n,i])}disable_limits(e,n,i){return this.exec("disable_limits",[e,n,i])}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),i=await crypto.subtle.digest("SHA-256",n),s=new Uint8Array(i);return Array.from(s).map(r=>r.toString(16).padStart(2,"0")).join("")}}}const Ai={components:{LabelvalueWidget:$e,LabelvaluelimitsbarWidget:Ke},props:{modelValue:{type:Array,default:()=>[]},timeZone:{type:String,default:"local"}},mixins:[we],data(){return{api:null,cable:new jt,ignored:[],ignoredItemsDialog:!1,overallState:"GREEN",currentLimitsSet:"",items:[],itemList:[],screenItems:[],screenValues:{},updateCounter:0,widgetSettings:[["WIDTH","580px"],["0","WIDTH","200px"],["1","WIDTH","200px"],["2","WIDTH","180px"]]}},computed:{textFieldClass(){return this.overallState?`textfield-${this.overallState.toLowerCase()}`:""},overallStateFormatted(){return this.ignored.length===0?this.overallState:`${this.overallState} (Some items ignored)`},ignoredFormatted(){return this.ignored.map(t=>t.split("__").join(" "))},astroStatus(){switch(this.overallState){case"GREEN":return"normal";case"YELLOW":return"caution";case"RED":return"critical";case"BLUE":return"standby";default:return null}}},created(){this.api=new Pt;for(let t of this.modelValue)t.match(/.+__.+__.+/)?this.ignoreItem(t,!0):this.ignorePacket(t,!0);this.updateOutOfLimits(),this.getCurrentLimitsSet(),this.currentSetRefreshInterval=setInterval(this.getCurrentLimitsSet,10*1e3),this.cable.createSubscription("LimitsEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}}).then(t=>{this.limitsSubscription=t}),this.cable.createSubscription("ConfigEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing();const e=JSON.parse(t);this.handleConfigEvents(e)}}).then(t=>{this.configSubscription=t})},mounted(){this.updater=setInterval(()=>{this.update()},1e3)},unmounted(){this.updater!=null&&(clearInterval(this.updater),this.updater=null),this.limitsSubscription&&this.limitsSubscription.unsubscribe(),this.configSubscription&&this.configSubscription.unsubscribe(),this.cable.disconnect()},methods:{getCurrentLimitsSet:function(){this.api.get_limits_set().then(t=>{this.currentLimitsSet=t})},updateOutOfLimits(){this.items=[],this.itemList=[],this.api.get_out_of_limits().then(t=>{for(const e of t){let n=e.join("__");if(this.ignored.find(s=>n.includes(s)))continue;this.itemList.push(n);let i={key:e.slice(0,3).join("__"),parameters:e.slice(0,3),timestamp:this.formatDateTime(new Date,this.timeZone)};e[3].includes("YELLOW")&&this.overallState!=="RED"&&(this.overallState="YELLOW"),e[3].includes("RED")&&(this.overallState="RED"),e[3]=="YELLOW"||e[3]=="RED"?i.limits=!1:i.limits=!0,this.items.push(i)}this.calcOverallState()})},calcOverallState(){let t="GREEN";for(let e of this.itemList)if(!this.ignored.find(n=>e.includes(n))&&(e.includes("YELLOW")&&t!=="RED"&&(t="YELLOW"),e.includes("RED"))){t="RED";break}this.overallState=t},ignorePacket(t,e){let[n,i,s]=t.split("__"),r=`${n}__${i}`;for(this.ignored.push(r),e||this.updateIgnored();;){let o=this.itemList.findIndex(l=>l.includes(r));if(o===-1)break;{let l=this.itemList[o].lastIndexOf("__");this.removeItem(this.itemList[o].substring(0,l))}}this.calcOverallState()},ignoreItem(t,e){this.ignored.push(t),e||this.updateIgnored(),this.removeItem(t),this.calcOverallState()},restoreItem(t){this.ignored.splice(t,1),this.updateIgnored(),this.updateOutOfLimits()},removeItem(t){const e=this.itemList.findIndex(n=>n.includes(t));this.items.splice(e,1),this.itemList.splice(e,1)},clearAll(){this.ignored=[],this.updateIgnored(),this.updateOutOfLimits()},updateIgnored(){this.$emit("update:modelValue",this.ignored)},handleConfigEvents(t){for(let e of t)e.kind==="deleted"&&e.type==="target"&&this.updateOutOfLimits()},handleMessages(t){for(let e of t){if(e=JSON.parse(e.event),e.type!="LIMITS_CHANGE")continue;let n=`${e.target_name}__${e.packet_name}__${e.item_name}`;const i=this.itemList.findIndex(r=>r.includes(n));if(i!==-1){this.itemList[i]=`${n}__${e.new_limits_state}`,this.calcOverallState();continue}if(this.ignored.find(r=>n.includes(r))||e.new_limits_state&&!(e.new_limits_state.includes("YELLOW")||e.new_limits_state.includes("RED")))continue;let s={key:n,timestamp:this.formatNanoseconds(e.time_nsec,this.timeZone),parameters:[e.target_name,e.packet_name,e.item_name]};e.new_limits_state=="YELLOW"||e.new_limits_state=="RED"?s.limits=!1:s.limits=!0,this.itemList.push(`${n}__${e.new_limits_state}`),this.items.push(s),this.calcOverallState()}},update(){this.screenItems.length!==0&&this.api.get_tlm_values(this.screenItems).then(t=>{this.updateValues(t)})},updateValues:function(t){this.updateCounter+=1;for(let e=0;e<t.length;e++)t[e].push(this.updateCounter),this.screenValues[this.screenItems[e]]=t[e]},addItem:function(t){this.screenItems.push(t),this.screenValues[t]=[null,null,0]},deleteItem:function(t){let e=this.screenItems.indexOf(t);this.screenItems.splice(e,1)},showIgnored(){this.ignoredItemsDialog=!0}}},Li=["status"],Ni={class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},Ii={class:"font-weight-black"};function Di(t,e,n,i,s,r){const o=y("v-text-field"),l=y("v-row"),u=y("labelvaluelimitsbar-widget"),c=y("labelvalue-widget"),d=y("v-btn"),f=y("v-tooltip"),v=y("v-divider"),_=y("v-card"),m=y("v-spacer"),h=y("v-toolbar"),k=y("v-card-text"),C=y("v-card-actions"),O=y("v-dialog");return E(),U("div",null,[g(_,{class:"pa-5"},{default:p(()=>[g(l,{class:"ma-1"},{default:p(()=>[g(o,{density:"compact",variant:"outlined",readonly:"","hide-details":"",label:"Overall Limits State","model-value":r.overallStateFormatted,class:Ee(r.textFieldClass),style:{"margin-right":"10px","max-width":"280px"},"data-test":"overall-state"},oe({_:2},[r.astroStatus?{name:"prepend-inner",fn:p(()=>[R("rux-status",{status:r.astroStatus},null,8,Li)]),key:"0"}:void 0]),1032,["model-value","class"]),g(o,{density:"compact",variant:"outlined",readonly:"","hide-details":"",label:"Current Limits Set","model-value":s.currentLimitsSet,style:{"max-width":"200px"},"data-test":"limits-set"},null,8,["model-value"])]),_:1}),g(l,{"data-test":"limits-row",class:"my-0 ml-1 mr-1"},{default:p(()=>e[2]||(e[2]=[R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},"Timestamp",-1),R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},"Item Name",-1),R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"200px"}},"Value",-1),R("div",{class:"pa-1 mt-1 mr-2 label",style:{width:"180px"}},"Limits Bar",-1),R("div",{class:"pa-1 mt-1 mr-2 label"},"Controls",-1)])),_:1}),(E(!0),U(W,null,$(s.items,(S,I)=>(E(),U("div",{key:S.key},[g(l,{"data-test":"limits-row",class:"align-center my-0 mx-1"},{default:p(()=>[R("div",Ni,M(S.timestamp),1),S.limits?(E(),A(u,{key:0,parameters:S.parameters,settings:s.widgetSettings,"screen-values":s.screenValues,"screen-time-zone":n.timeZone,onAddItem:r.addItem,onDeleteItem:r.deleteItem},null,8,["parameters","settings","screen-values","screen-time-zone","onAddItem","onDeleteItem"])):(E(),A(c,{key:1,parameters:S.parameters,settings:s.widgetSettings,"screen-values":s.screenValues,"screen-time-zone":n.timeZone,onAddItem:r.addItem,onDeleteItem:r.deleteItem},null,8,["parameters","settings","screen-values","screen-time-zone","onAddItem","onDeleteItem"])),g(f,{location:"top"},{activator:p(({props:b})=>[g(d,Y({icon:"mdi-close-circle-multiple",variant:"text",density:"compact",class:"mr-2",onClick:D=>r.ignorePacket(S.key),ref_for:!0},b),null,16,["onClick"])]),default:p(()=>[e[3]||(e[3]=R("span",null,"Ignore Entire Packet",-1))]),_:2},1024),g(f,{location:"top"},{activator:p(({props:b})=>[g(d,Y({icon:"mdi-close-circle",variant:"text",density:"compact",class:"mr-2",onClick:D=>r.ignoreItem(S.key),ref_for:!0},b),null,16,["onClick"])]),default:p(()=>[e[4]||(e[4]=R("span",null,"Ignore Item",-1))]),_:2},1024),g(f,{location:"top"},{activator:p(({props:b})=>[g(d,Y({icon:"mdi-eye-off",variant:"text",density:"compact",class:"mr-2",onClick:D=>r.removeItem(S.key),ref_for:!0},b),null,16,["onClick"])]),default:p(()=>[e[5]||(e[5]=R("span",null,"Temporarily Hide Item",-1))]),_:2},1024)]),_:2},1024),I<s.items.length?(E(),A(v,{key:I})):q("",!0)]))),128)),e[6]||(e[6]=R("div",{class:"footer"},' Note: Timestamp is "now" for items currently out of limits when the page is loaded. ',-1))]),_:1}),g(O,{modelValue:s.ignoredItemsDialog,"onUpdate:modelValue":e[1]||(e[1]=S=>s.ignoredItemsDialog=S),"max-width":"600"},{default:p(()=>[g(_,null,{default:p(()=>[g(h,{height:"24"},{default:p(()=>[g(m),e[7]||(e[7]=R("span",null,"Ignored Items",-1)),g(m)]),_:1}),g(k,{class:"mt-2"},{default:p(()=>[R("div",null,[(E(!0),U(W,null,$(r.ignoredFormatted,(S,I)=>(E(),U("div",{key:I},[g(l,{class:"ma-1 align-center"},{default:p(()=>[R("span",Ii,M(S),1),g(m),g(d,{onClick:b=>r.restoreItem(I),icon:"mdi-delete",density:"compact",variant:"text","data-test":`remove-ignore-${I}`},null,8,["onClick","data-test"])]),_:2},1024),I<r.ignoredFormatted.length-1?(E(),A(v,{key:I})):q("",!0)]))),128))])]),_:1}),g(C,{class:"px-2"},{default:p(()=>[g(d,{variant:"outlined",onClick:r.clearAll},{default:p(()=>e[8]||(e[8]=[B(" Clear All ")])),_:1},8,["onClick"]),g(m),g(d,{variant:"flat",onClick:e[0]||(e[0]=S=>s.ignoredItemsDialog=!1)},{default:p(()=>e[9]||(e[9]=[B(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const ji=re(Ai,[["render",Di],["__scopeId","data-v-dd6c39b3"]]),Pi={props:{historyCount:{type:Number,default:1e3},timeZone:{type:String,default:"local"}},mixins:[we],data(){return{data:[],cable:new jt,search:"",headers:[{title:"Time",value:"time_nsec",width:250},{title:"Level",value:"level",sortable:!1},{title:"Message",value:"message"}]}},created(){this.cable.createSubscription("LimitsEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}},{historyCount:1e3}).then(t=>{this.limitsSubscription=t})},unmounted(){this.limitsSubscription&&this.limitsSubscription.unsubscribe(),this.cable.disconnect()},methods:{handleMessages(t){for(let e=0;e<t.length;e++){let n=JSON.parse(t[e].event);this.data.unshift(n)}this.data.length>this.historyCount&&(this.data.length=this.historyCount)},getStatus(t){return t.includes("GREEN")?"normal":t.includes("YELLOW")?"caution":t.includes("RED")?"critical":t.includes("BLUE")?"standby":"off"},getColorClass(t){return t.includes("GREEN")?"openc3-green":t.includes("YELLOW")?"openc3-yellow":t.includes("RED")?"openc3-red":t.includes("BLUE")?"openc3-blue":this.$vuetify.theme.dark?"openc3-white":"openc3-black"},calcTableHeight(){return window.innerHeight-250}}},Ui=["status"];function Fi(t,e,n,i,s,r){const o=y("v-spacer"),l=y("v-text-field"),u=y("v-card-title"),c=y("v-data-table"),d=y("v-card");return E(),A(d,{class:"card-height"},{default:p(()=>[g(u,{class:"d-flex align-center"},{default:p(()=>[e[1]||(e[1]=B(" Limits Events ")),g(o),g(l,{modelValue:s.search,"onUpdate:modelValue":e[0]||(e[0]=f=>s.search=f),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),g(c,{headers:s.headers,items:s.data,search:s.search,"items-per-page":-1,"hide-default-footer":"","multi-sort":"",density:"compact",height:r.calcTableHeight(),hover:"","data-test":"limits-events"},{"item.time_nsec":p(({item:f})=>[R("span",null,M(t.formatNanoseconds(f.time_nsec,n.timeZone)),1)]),"item.level":p(({item:f})=>[R("rux-status",{status:r.getStatus(f.message)},null,8,Ui)]),"item.message":p(({item:f})=>[R("span",{class:Ee(r.getColorClass(f.message))},M(f.message),3)]),_:1},8,["headers","items","search","height"])]),_:1})}const Bi={components:{LimitsControl:ji,LimitsEvents:re(Pi,[["render",Fi],["__scopeId","data-v-210db24e"]]),TopBar:Mt,OpenConfigDialog:ze,SaveConfigDialog:We},mixins:[qe],data(){return{title:"Limits Monitor",configKey:"limits_monitor",api:new Pt,timeZone:"local",renderKey:0,ignored:[],openConfig:!1,saveConfig:!1,limitsSets:[],currentLimitsSet:null,currentSetRefreshInterval:null,limitsSetDialog:!1,menus:[{label:"File",items:[{label:"Show Ignored",icon:"mdi-magnify-close",command:()=>{this.$refs.control.showIgnored()}},{label:"Change Limits Set",icon:"mdi-swap-horizontal",command:()=>{this.limitsSetDialog=!0}},{divider:!0},{label:"Open Configuration",icon:"mdi-folder-open",command:()=>{this.openConfig=!0}},{label:"Save Configuration",icon:"mdi-content-save",command:()=>{this.saveConfig=!0}},{label:"Reset Configuration",icon:"mdi-monitor-shimmer",command:()=>{this.ignored=[],this.resetConfigBase(),this.renderKey++}}]}]}},created(){this.api.get_limits_sets().then(t=>{this.limitsSets=t}),this.api.get_setting("time_zone").then(t=>{t&&(this.timeZone=t)}).catch(t=>{})},mounted:function(){if(this.$route.query&&this.$route.query.config)this.openConfiguration(this.$route.query.config,!0);else{let t=this.loadDefaultConfig();JSON.stringify(t)!=="{}"&&(this.ignored=t,this.renderKey++)}},unmounted:function(){clearInterval(this.currentSetRefreshInterval)},methods:{setLimitsSet:function(){this.api.set_limits_set(this.currentLimitsSet),this.limitsSetDialog=!1,this.renderKey++},openConfiguration:function(t,e=!1){this.openConfigBase(t,e,n=>{this.ignored=n,this.renderKey++})},saveConfiguration:function(t){this.saveConfigBase(t,this.ignored)}}};function Vi(t,e,n,i,s,r){const o=y("top-bar"),l=y("limits-control"),u=y("limits-events"),c=y("open-config-dialog"),d=y("save-config-dialog"),f=y("v-spacer"),v=y("v-toolbar"),_=y("v-select"),m=y("v-card-text"),h=y("v-btn"),k=y("v-card-actions"),C=y("v-card"),O=y("v-dialog");return E(),U("div",null,[g(o,{menus:s.menus,title:s.title},null,8,["menus","title"]),(E(),A(l,{ref:"control",modelValue:s.ignored,"onUpdate:modelValue":e[0]||(e[0]=S=>s.ignored=S),key:s.renderKey,"time-zone":s.timeZone},null,8,["modelValue","time-zone"])),e[11]||(e[11]=R("div",{style:{height:"15px"}},null,-1)),g(u,{"time-zone":s.timeZone},null,8,["time-zone"]),s.openConfig?(E(),A(c,{key:0,modelValue:s.openConfig,"onUpdate:modelValue":e[1]||(e[1]=S=>s.openConfig=S),configKey:s.configKey,onSuccess:r.openConfiguration},null,8,["modelValue","configKey","onSuccess"])):q("",!0),s.saveConfig?(E(),A(d,{key:1,modelValue:s.saveConfig,"onUpdate:modelValue":e[2]||(e[2]=S=>s.saveConfig=S),configKey:s.configKey,onSuccess:r.saveConfiguration},null,8,["modelValue","configKey","onSuccess"])):q("",!0),g(O,{modelValue:s.limitsSetDialog,"onUpdate:modelValue":e[5]||(e[5]=S=>s.limitsSetDialog=S),"max-width":"650"},{default:p(()=>[g(C,null,{default:p(()=>[g(v,{height:"24"},{default:p(()=>[g(f),e[6]||(e[6]=R("span",null,"Change Limits Set",-1)),g(f)]),_:1}),g(m,{class:"mt-6"},{default:p(()=>[e[7]||(e[7]=R("span",{style:{display:"block"}}," The Limits Set is a global option which changes the Limits Set across all tools. ",-1)),e[8]||(e[8]=R("span",{style:{display:"block"}}," NOTE: Changing this option clears the current list and recalculates based on the new set. ",-1)),g(_,{label:"Limits Set",items:s.limitsSets,modelValue:s.currentLimitsSet,"onUpdate:modelValue":e[3]||(e[3]=S=>s.currentLimitsSet=S),density:"compact",variant:"outlined","data-test":"limits-set","hide-details":"",class:"mt-3",style:{"max-width":"200px"}},null,8,["items","modelValue"])]),_:1}),g(k,{class:"px-2"},{default:p(()=>[g(f),g(h,{variant:"outlined",onClick:e[4]||(e[4]=S=>s.limitsSetDialog=!1)},{default:p(()=>e[9]||(e[9]=[B(" Cancel ")])),_:1}),g(h,{variant:"flat",onClick:r.setLimitsSet},{default:p(()=>e[10]||(e[10]=[B(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const Wi=Ut("default",re(Bi,[["render",Vi]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-Cdu3OoMa-f3e59682751452abe45e.js","vue","./main-327494fd5f18e09d7319.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue-router","single-spa","vuex","vuetify"],function(d,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,t=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function _(e,u,I,w,y,v){const h=r("v-tooltip");return a(),n(h,{location:"top"},{activator:s(({props:g})=>[t("div",o({class:"limitsbar",style:[e.cssProps,e.computedStyle]},g),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,c(v.limitsRange),1)]),_:1})}const b=d("default",m(i,[["render",_],["__scopeId","data-v-9f79e720"]]))}}});
1
+ System.register(["./BarColumn-B6tCmNJm-81299b2ec5265c815997.js","vue","./main-93c3aaf3971ea1334ca9.js","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue-router","single-spa","vuex","vuetify"],function(_,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,t=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function d(e,u,w,I,y,v){const h=r("v-tooltip");return a(),n(h,{location:"top"},{activator:s(({props:g})=>[t("div",o({class:"limitsbar",style:[e.cssProps,e.computedStyle]},g),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,c(v.limitsRange),1)]),_:1})}const b=_("default",m(i,[["render",d],["__scopeId","data-v-9f79e720"]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","vue","./main-327494fd5f18e09d7319.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue-router","single-spa","vuex","vuetify"],function(u,h){"use strict";var r,a,l,i,s,n,o,c;return{setters:[e=>{r=e.L},e=>{a=e.resolveComponent,l=e.openBlock,i=e.createElementBlock,s=e.normalizeStyle,n=e.createElementVNode,o=e.createVNode},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],data(){return{radius:15,fullLabelDisplay:!1}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&this.parameters[5].toLowerCase()==="true"&&(this.fullLabelDisplay=!0)},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px","--color":this.limitsColor}}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function d(t,f,g,v,x,p){const m=a("label-widget");return l(),i("div",{ref:"container",class:"d-flex flex-row",style:s(t.computedStyle)},[n("div",{class:"led align-self-center",style:s(p.cssProps)},null,4),o(m,{parameters:p.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const y=u("default",c(e,[["render",d],["__scopeId","data-v-87ec8e4f"]]))}}});
1
+ System.register(["./VWidget-CGdM4sTw-4d6cf976c46dc49f7f0d.js","vue","./main-93c3aaf3971ea1334ca9.js","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue-router","single-spa","vuex","vuetify"],function(p,h){"use strict";var r,a,l,i,s,n,o,u;return{setters:[e=>{r=e.L},e=>{a=e.resolveComponent,l=e.openBlock,i=e.createElementBlock,s=e.normalizeStyle,n=e.createElementVNode,o=e.createVNode},e=>{u=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],data(){return{radius:15,fullLabelDisplay:!1}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&this.parameters[5].toLowerCase()==="true"&&(this.fullLabelDisplay=!0)},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px","--color":this.limitsColor}}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function d(t,y,g,v,x,c){const m=a("label-widget");return l(),i("div",{ref:"container",class:"d-flex flex-row",style:s(t.computedStyle)},[n("div",{class:"led align-self-center",style:s(c.cssProps)},null,4),o(m,{parameters:c.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const f=p("default",u(e,[["render",d],["__scopeId","data-v-87ec8e4f"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-Cdu3OoMa-f3e59682751452abe45e.js","vue","./main-327494fd5f18e09d7319.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.openBlock,l=i.createElementBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return s(),l("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
1
+ System.register(["./BarColumn-B6tCmNJm-81299b2ec5265c815997.js","vue","./main-93c3aaf3971ea1334ca9.js","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.openBlock,l=i.createElementBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return s(),l("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
@@ -1 +1 @@
1
- System.register(["./GraphWidget-amwxyH1r-4073e232ed355ac937c3.js","./main-327494fd5f18e09d7319.js","vue","single-spa","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var i,n,r,a,o,l,d;return{setters:[t=>{i=t.S,n=t._},t=>{r=t.s},t=>{a=t.resolveComponent,o=t.openBlock,l=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function h(e,s,g,v,y,S){const c=a("graph");return o(),l(c,{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),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=p("default",r(t,[["render",h]]))}}});
1
+ System.register(["./GraphWidget-BohHW-97-1f95b047aac874dc24a5.js","./main-93c3aaf3971ea1334ca9.js","vue","single-spa","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue-router","vuex","vuetify"],function(h,u){"use strict";var i,n,r,o,a,l,d;return{setters:[t=>{i=t.S,n=t._},t=>{r=t.s},t=>{o=t.resolveComponent,a=t.openBlock,l=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function p(e,s,g,v,S,f){const c=o("graph");return a(),l(c,{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),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=h("default",r(t,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-be2d1878767310656ca5.js","./main-93c3aaf3971ea1334ca9.js","vue","./Widget-C7ms_xDE-cf6b5bcf7b113a6c7155.js","vue-router","single-spa","vuex","vuetify"],function(y,C){"use strict";var c,o,m,n,r,g,l,a,p,d,f;return{setters:[e=>{c=e.r},e=>{o=e.s,m=e.K},e=>{n=e.openBlock,r=e.createElementBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,f=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[c],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(u=>{u.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&u.settings.push(["MARGIN",s])})}}};function h(s,u,i,A,j,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(l,null,a(v,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),f({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.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))]))),128))],4)}const b=y("default",o(e,[["render",h]]))}}});