openc3-cosmos-tool-tablemanager 6.2.1 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/tools/tablemanager/{ArrayWidget-BxEO5hEG-3a73fe422564c0429019.js → ArrayWidget-BbsN1dzF-959f895dd277057383c1.js} +2 -2
  3. data/tools/tablemanager/{ArrayplotWidget-B_VPoV4v-614b214bbb69773602e6.js → ArrayplotWidget-CCKEyYIx-346527d8ce418723987f.js} +1 -1
  4. data/tools/tablemanager/{BarColumn-C9dkpg2O-afaaf4c015a17f51205d.js → BarColumn-C6p07yWK-b792c9c7d152d8e7eac0.js} +1 -1
  5. data/tools/tablemanager/BlockWidget-DlCHbqZX-931e540736560d3298ad.js +2 -0
  6. data/tools/tablemanager/{ButtonWidget-B6HM0Doo-ab11ef0f26b360b37c5f.js → ButtonWidget-CtfJzCBR-21a7269786cac7b63ed2.js} +2 -2
  7. data/tools/tablemanager/{CanvasWidget-DZQGG-yQ-450fa6b1ddd932d29d98.js → CanvasWidget-CqRlXc4r-7ea98cc5aa658273d3ab.js} +1 -1
  8. data/tools/tablemanager/CanvasdotWidget--Xr_KsZs-fd37759adf5ff324502c.js +1 -0
  9. data/tools/tablemanager/{CanvasimageWidget-mhcPpAuN-3a4572ba31e277b16cbd.js → CanvasimageWidget-BPlj5QYK-4f3fc8e5b175b2af118a.js} +1 -1
  10. data/tools/tablemanager/{CanvasimagevalueWidget-Cx-dH8Gc-6a5ad086319cf0d016eb.js → CanvasimagevalueWidget-DVFGLt8f-5d90c4a6f82cfaeea904.js} +1 -1
  11. data/tools/tablemanager/CanvaslabelWidget-CYNqmyP0-ee5f201f9b9a94ef6529.js +1 -0
  12. data/tools/tablemanager/{CanvaslabelvalueWidget-CwmYDCjr-95d9dc3d6675b6cd6e95.js → CanvaslabelvalueWidget-B7yIDmsn-a62a21cc67b2555f10ed.js} +1 -1
  13. data/tools/tablemanager/CanvaslineWidget-BICdxX0Q-c00d646b5ebac0888f19.js +1 -0
  14. data/tools/tablemanager/{CanvaslinevalueWidget-C3sJnjLQ-411d1f87490e88f39075.js → CanvaslinevalueWidget-Cq-Ddh0P-7cd0e41fbdea71aaf9d7.js} +1 -1
  15. data/tools/tablemanager/CheckbuttonWidget-B74AWeaW-b3c0cfbdc0a8149a68ca.js +1 -0
  16. data/tools/tablemanager/ComboboxWidget-CtyKbEWb-dc447488fe813641c5c0.js +1 -0
  17. data/tools/tablemanager/DateWidget-BEVSczU8-1f01bd84bcb9e186cab1.js +1 -0
  18. data/tools/tablemanager/{DetailsDialog-BvbziA7Y-8ff3365fb0330e67e92d.js → DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js} +1 -1
  19. data/tools/tablemanager/{DynamicWidget-gFSYxzvT-80de147600fb5278d2fa.js → DynamicWidget-CfMtj7H8-7310a45e174b3e0e1f4d.js} +1 -1
  20. data/tools/tablemanager/{FormatvalueWidget-CGpnTqVH-a388e9c67416044cd56a.js → FormatvalueWidget-DN12xymS-5d92462ee8b18046d1f4.js} +1 -1
  21. data/tools/tablemanager/Graph-Bgo0cjl3-52421e0307d7ca0fbe50.js +1 -0
  22. data/tools/tablemanager/{GraphWidget-Dycey-mj-84f812318e1113f14c38.js → GraphWidget-DurWDmpg-c9b122c94c912d0741ba.js} +1 -1
  23. data/tools/tablemanager/{HorizontalWidget-D31NRWy5-958adfe5f70cc49258e5.js → HorizontalWidget-Cd_wl1b3-1c2997802975048e709f.js} +1 -1
  24. data/tools/tablemanager/HorizontalboxWidget-BcMTFBU--8ad91cd7bc665ab4766a.js +1 -0
  25. data/tools/tablemanager/HorizontallineWidget-CXFqHclf-de6750f9b87d7529cbf5.js +1 -0
  26. data/tools/tablemanager/{IframeWidget-Ctj8OIcG-b610a31a59161ba750cf.js → IframeWidget-BPerHCCa-cdb2815ceb98ee81983f.js} +1 -1
  27. data/tools/tablemanager/{ImageLoader-BrNrCBvi-4a283664736dbaae848c.js → ImageLoader-4N-7Gj61-a07bd29ee9cfe36f21d7.js} +1 -1
  28. data/tools/tablemanager/ImageviewerWidget-Cw_H_HmZ-dc0a5ab97b39f8b02ffd.js +1 -0
  29. data/tools/tablemanager/{LabelWidget-t7I87dp7-23d565a7a3e595de5a3a.js → LabelWidget-xrmcVeq8-d217d37c2a6475bb6a9d.js} +1 -1
  30. data/tools/tablemanager/LabelledWidget-D48QoyMk-24bd01061fc3c283bb8e.js +1 -0
  31. data/tools/tablemanager/LabelprogressbarWidget-C_950t6g-42d1ee457a76977a9926.js +1 -0
  32. data/tools/tablemanager/LabelsparklineWidget-0KXQyPoU-4fefa82bdaecf6d9a3d0.js +1 -0
  33. data/tools/tablemanager/{LabelvalueWidget-Zx_yHCtl-e5c665527952e66cb7bd.js → LabelvalueWidget-CQ06wWDK-ac37a8b84574824ad5b7.js} +1 -1
  34. data/tools/tablemanager/{LabelvaluedescWidget-BBSBh4vI-efaa36da0688d2643586.js → LabelvaluedescWidget-Bo8zT01X-9c0bf9f4cf055d8313f8.js} +1 -1
  35. data/tools/tablemanager/{LabelvaluelimitsbarWidget-CZueHYWG-17bead7bb9d109e43b93.js → LabelvaluelimitsbarWidget-BucTw8Yk-e8fa86e345960718befd.js} +1 -1
  36. data/tools/tablemanager/LabelvaluelimitscolumnWidget-Dflb1hNd-a33ca9d0e9a93745c199.js +1 -0
  37. data/tools/tablemanager/{LabelvaluerangebarWidget-BhYTBgDq-2bdd722a647658c589bd.js → LabelvaluerangebarWidget-D8cbfXFM-ef9ea25e0833526e661c.js} +1 -1
  38. data/tools/tablemanager/{Layout-Bh7VzCZd-8c7800d758c191052a54.js → Layout-Tf--nruw-7e1c88bcb2d1e9c2cc9c.js} +1 -1
  39. data/tools/tablemanager/LedWidget-qH_FthkK-8c5e19d8ac9c7a6f321d.js +1 -0
  40. data/tools/tablemanager/{LimitsbarWidget-Djui0IpK-9c16f9767089dad25ed6.js → LimitsbarWidget-B9lAB2RD-46ce18c4a5dd690481e6.js} +1 -1
  41. data/tools/tablemanager/{LimitscolorWidget-DdmvKzmx-81f0bbf494d5c0a3fa28.js → LimitscolorWidget-c6Qa6su7-1ac01b8834b586d34820.js} +1 -1
  42. data/tools/tablemanager/{LimitscolumnWidget-Cc19IEjq-5e1e31809753a837e695.js → LimitscolumnWidget-CcLs_443-f29417bf8f4f674783bd.js} +1 -1
  43. data/tools/tablemanager/LinegraphWidget-BSVYLFo1-2acb1a88e7e56ce79a5a.js +1 -0
  44. data/tools/tablemanager/MatrixbycolumnsWidget-DXFpZTre-8918bddf56b2e85dce07.js +1 -0
  45. data/tools/tablemanager/{ProgressbarWidget-DIfqhHRE-57a1a49f10e1f8c4fe88.js → ProgressbarWidget-iYGw8-Dc-224838ec829e2d0aaaa2.js} +1 -1
  46. data/tools/tablemanager/RadiobuttonWidget-ytmoVZ3u-203d8cf62a1dbf9d4a07.js +1 -0
  47. data/tools/tablemanager/{RadiogroupWidget-Ci9sCX39-a9368165055b6fb98bec.js → RadiogroupWidget-CusMBhKH-b3330247ae7a777565fa.js} +1 -1
  48. data/tools/tablemanager/{RangebarWidget-CN0YuHqy-55884175e54d1bf0242c.js → RangebarWidget-D_zGTtCa-3b37862085afd896c860.js} +1 -1
  49. data/tools/tablemanager/{RollupWidget-y4jBtJB2-3212cb134c1c60f94d02.js → RollupWidget-Dolsixyt-215ca55830b76e505c94.js} +1 -1
  50. data/tools/tablemanager/ScrollwindowWidget-DV2nZuNi-688f314da002c3dea6fb.js +1 -0
  51. data/tools/tablemanager/{SignalWidget-DQ5Uc2uV-216dbd95901481c86c15.js → SignalWidget-d9-6h85k-5806e363f98a90f36b92.js} +1 -1
  52. data/tools/tablemanager/SpacerWidget-BH0p2OLi-3e44b9fc8ff9cdb8e47e.js +1 -0
  53. data/tools/tablemanager/{SparklineWidget-CZtvu2ss-df7d74a972238c4b44b5.js → SparklineWidget-coxi9r2g-e8dd44a94f090ab553c2.js} +1 -1
  54. data/tools/tablemanager/TabbookWidget-B1XKplGH-21be3775bb05a42b4489.js +1 -0
  55. data/tools/tablemanager/TableManager-57dfe866c6d08795123c.js +13 -0
  56. data/tools/tablemanager/TextboxWidget-C-_M2M4l-1be0ab781fe0200895fd.js +1 -0
  57. data/tools/tablemanager/{TextfieldWidget-Df0ANSiU-a28e82fd9d48be8f8681.js → TextfieldWidget-C08N4JE8-1d9f7537a0fa53d0113c.js} +1 -1
  58. data/tools/tablemanager/TimeWidget-DtwdEcFg-afe7ad8fa99dd194ca59.js +1 -0
  59. data/tools/tablemanager/TitleWidget-CT-aLcNb-458d3c419a64e978301d.js +1 -0
  60. data/tools/tablemanager/{VWidget-C4spAawK-8c01507f7f06c5187684.js → VWidget-DQqb7NVW-d11f448dc9b15447843f.js} +1 -1
  61. data/tools/tablemanager/ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js +1 -0
  62. data/tools/tablemanager/ValuelimitsbarWidget-B3bvjfxc-25ed16c2313234a49832.js +1 -0
  63. data/tools/tablemanager/ValuelimitscolumnWidget-QvhI6EcE-e110f67cadf8ca55f828.js +1 -0
  64. data/tools/tablemanager/ValuerangebarWidget-Dt3K9BnC-75e9d7e093a62f7c3249.js +1 -0
  65. data/tools/tablemanager/{VerticalWidget-D8jUFxjS-cf44fa81ee676059ad9a.js → VerticalWidget-BIIViZgI-9b15e72a48b5a570cf2a.js} +1 -1
  66. data/tools/tablemanager/VerticalboxWidget-DY72fLHW-66bb7cf651d4ee151f1f.js +1 -0
  67. data/tools/tablemanager/{Widget-fRCERxGf-cfb11a01a4e0819f0115.js → Widget-oyqWpFXJ-c03892ad37a5994a2368.js} +1 -1
  68. data/tools/tablemanager/main-1bc219fcc4bfc28dfaea.js +1497 -0
  69. data/tools/tablemanager/main.js +1 -1
  70. metadata +70 -73
  71. data/tools/tablemanager/BlockWidget-CuefOin6-2ce5f8e02729dff1191a.js +0 -2
  72. data/tools/tablemanager/CanvasdotWidget-6wuCSnw_-3e9a58f6ec929696a27d.js +0 -1
  73. data/tools/tablemanager/CanvaslabelWidget-CQZCeohU-2a4272c49b592e4ddf45.js +0 -1
  74. data/tools/tablemanager/CanvaslineWidget-nTP3fJB4-aea34db4c2864fce9a30.js +0 -1
  75. data/tools/tablemanager/CheckbuttonWidget-5-8YDsQL-c0409ca47123c3f97f46.js +0 -1
  76. data/tools/tablemanager/ComboboxWidget-DzBL8h9f-5954ab30bd7b7426b22c.js +0 -1
  77. data/tools/tablemanager/DateWidget-CW7Od7lB-1d0b15f0e4330f7e065f.js +0 -1
  78. data/tools/tablemanager/Graph-3rkhFP3G-1b4e0490f8d49eee571f.js +0 -1
  79. data/tools/tablemanager/HorizontalboxWidget-Br8dSVHD-5039ded5a283caa87aac.js +0 -1
  80. data/tools/tablemanager/HorizontallineWidget-CbxREBYI-37095b3ec5bbd179e346.js +0 -1
  81. data/tools/tablemanager/ImageviewerWidget-XrsqxmLo-9c12d72a58d8807ae1d6.js +0 -1
  82. data/tools/tablemanager/LabelledWidget-C7TDf92M-1c3bd9b94afe1875582f.js +0 -1
  83. data/tools/tablemanager/LabelprogressbarWidget-wwLURt1u-3c35046cdccb5a71641b.js +0 -1
  84. data/tools/tablemanager/LabelsparklineWidget-B3awLUyP-2931c20a0ea5be337cfa.js +0 -1
  85. data/tools/tablemanager/LabelvaluelimitscolumnWidget-BTvzyQMq-b6ffd102e2b4d8350578.js +0 -1
  86. data/tools/tablemanager/LedWidget-CxJjJBBS-26ce1b6e69c9598eb5b0.js +0 -1
  87. data/tools/tablemanager/LinegraphWidget-BtieJxeL-5bcb3fef06b23b91f5f2.js +0 -1
  88. data/tools/tablemanager/MatrixbycolumnsWidget-DnExVRF8-7f673688a46bf30cf39a.js +0 -1
  89. data/tools/tablemanager/RadiobuttonWidget-QzIkNP7m-c961855d53dedce26894.js +0 -1
  90. data/tools/tablemanager/ScrollwindowWidget-CBzYk4Y3-647d2a92619222daf4b8.js +0 -1
  91. data/tools/tablemanager/SpacerWidget-6rsc_dSM-fa85148918d47c63fca8.js +0 -1
  92. data/tools/tablemanager/TabbookWidget-DNALU0jl-51a0e5ec34cf2a336675.js +0 -1
  93. data/tools/tablemanager/TableManager-4489278ed163678dc1b3.js +0 -11
  94. data/tools/tablemanager/TextboxWidget-5hqPj74D-f302a608328b0b1967db.js +0 -1
  95. data/tools/tablemanager/TimeWidget-C6XQMUG2-dd29c7ddc2d565ba7979.js +0 -1
  96. data/tools/tablemanager/TitleWidget-B9SPUlbW-4ff0c087c1a143f4def0.js +0 -1
  97. data/tools/tablemanager/ValueWidget-D4RrYVEK-1772418f3c2af2fafe2f.js +0 -1
  98. data/tools/tablemanager/ValuelimitsbarWidget-Bc9_Vj_f-6789a20f577eb37c438b.js +0 -1
  99. data/tools/tablemanager/ValuelimitscolumnWidget-DHKIL7sf-24c5ee3bba096f057c3d.js +0 -1
  100. data/tools/tablemanager/ValuerangebarWidget-CecQRIok-95791525460c7348f42a.js +0 -1
  101. data/tools/tablemanager/VerticalboxWidget-B4eGUSYH-fe49e2388548a6c9c51d.js +0 -1
  102. data/tools/tablemanager/main-2fe9a0af25d48afd561f.js +0 -1423
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-e5c665527952e66cb7bd.js","./LimitsbarWidget-Djui0IpK-9c16f9767089dad25ed6.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue","./main-2fe9a0af25d48afd561f.js","./LabelWidget-t7I87dp7-23d565a7a3e595de5a3a.js","./ValueWidget-D4RrYVEK-1772418f3c2af2fafe2f.js","./DetailsDialog-BvbziA7Y-8ff3365fb0330e67e92d.js","single-spa","./VWidget-C4spAawK-8c01507f7f06c5187684.js","./BarColumn-C9dkpg2O-afaaf4c015a17f51205d.js","vue-router","vuex","vuetify"],function(m,b){"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.createElementBlock,o=e.openBlock,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,S,V,x,y,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return o(),u("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 j=m("default",g(e,[["render",p]]))}}});
1
+ System.register(["./LabelvalueWidget-CQ06wWDK-ac37a8b84574824ad5b7.js","./LimitsbarWidget-B9lAB2RD-46ce18c4a5dd690481e6.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","./LabelWidget-xrmcVeq8-d217d37c2a6475bb6a9d.js","./ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","./BarColumn-C6p07yWK-b792c9c7d152d8e7eac0.js","vue-router","vuex","vuetify"],function(g,f){"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.createElementBlock,o=e.openBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{m=e.d},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,S,V,y,d){const v=s("labelvalue-widget"),b=s("limitsbar-widget");return o(),u("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 W=g("default",m(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelWidget-xrmcVeq8-d217d37c2a6475bb6a9d.js","./ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js","./LimitscolumnWidget-CcLs_443-f29417bf8f4f674783bd.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","./BarColumn-C6p07yWK-b792c9c7d152d8e7eac0.js","vue-router","vuex","vuetify"],function(d,j){"use strict";var r,i,a,u,n,o,c,m,s,l,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.createElementBlock,c=e.openBlock,m=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{g=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:r,ValueWidget:i,LimitscolumnWidget:a}};function p(t,V,b,w,y,x){const v=n("label-widget"),W=n("limitscolumn-widget"),f=n("value-widget");return c(),o("div",{ref:"container",style:m(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(W,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"]),s(f,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 S=d("default",g(e,[["render",p]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-e5c665527952e66cb7bd.js","./RangebarWidget-CN0YuHqy-55884175e54d1bf0242c.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue","./main-2fe9a0af25d48afd561f.js","./LabelWidget-t7I87dp7-23d565a7a3e595de5a3a.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-D4RrYVEK-1772418f3c2af2fafe2f.js","./DetailsDialog-BvbziA7Y-8ff3365fb0330e67e92d.js","./VWidget-C4spAawK-8c01507f7f06c5187684.js"],function(g,h){"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.createElementBlock,o=e.openBlock,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,j,x,y,n){const v=s("labelvalue-widget"),f=s("rangebar-widget");return o(),m("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(f,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-CQ06wWDK-ac37a8b84574824ad5b7.js","./RangebarWidget-D_zGTtCa-3b37862085afd896c860.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","./LabelWidget-xrmcVeq8-d217d37c2a6475bb6a9d.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js"],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.createElementBlock,o=e.openBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.d},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 o(),m("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-fRCERxGf-cfb11a01a4e0819f0115.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-oyqWpFXJ-c03892ad37a5994a2368.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:()=>[]}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-1bc219fcc4bfc28dfaea.js","vue","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","vuex","vuetify"],function(I,T){"use strict";var d,n,h,c,l,i,p,u,v,g,w,x,f,C,_,D;return{setters:[e=>{d=e.d},e=>{n=e.resolveComponent,h=e.createElementBlock,c=e.openBlock,l=e.createVNode,i=e.withCtx,p=e.createElementVNode,u=e.toDisplayString,v=e.mergeProps,g=e.Fragment,w=e.renderList,x=e.createBlock,f=e.withModifiers,C=e.createTextVNode},e=>{_=e.P},null,e=>{D=e.o},null,null,null],execute:function(){const e={components:{DetailsDialog:_},mixins:[D],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"},viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},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]},getClass(){let t="ledwidget mt-2";return this.screenValues[this.valueId][1]==="STALE"&&(t+=" stale"),t}},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)},methods:{showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}};function k(t,s,$,L,r,o){const S=n("v-tooltip"),V=n("v-list-item-title"),E=n("v-list-item"),y=n("v-list"),M=n("v-menu"),N=n("details-dialog");return c(),h("div",null,[l(S,{location:"top"},{activator:i(({props:a})=>[p("div",v({class:o.getClass,style:[o.cssProps,t.computedStyle]},a,{onContextmenu:s[0]||(s[0]=(...m)=>o.showContextMenu&&o.showContextMenu(...m))}),null,16)]),default:i(()=>[p("span",null,u(o.fullName),1)]),_:1}),l(M,{modelValue:r.contextMenuShown,"onUpdate:modelValue":s[1]||(s[1]=a=>r.contextMenuShown=a),target:[r.x,r.y],style:{"z-index":"3000"}},{default:i(()=>[l(y,null,{default:i(()=>[(c(!0),h(g,null,w(r.contextMenuOptions,(a,m)=>(c(),x(E,{key:m,onClick:f(a.action,["stop"])},{default:i(()=>[l(V,null,{default:i(()=>[C(u(a.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),l(N,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:r.viewDetails,"onUpdate:modelValue":s[2]||(s[2]=a=>r.viewDetails=a)},null,8,["target-name","packet-name","item-name","modelValue"])])}const B=I("default",d(e,[["render",k],["__scopeId","data-v-a468dd16"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-afaaf4c015a17f51205d.js","vue","./main-2fe9a0af25d48afd561f.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.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.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},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 v(e,u,w,I,R,_){const g=r("v-tooltip");return n(),a(g,{location:"top"},{activator:s(({props:h})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},h),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,o(_.limitsRange),1)]),_:1})}const b=d("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
1
+ System.register(["./BarColumn-C6p07yWK-b792c9c7d152d8e7eac0.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(u,g){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},i=>{m=i.d},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 v(e,d,y,w,I,_){const h=r("v-tooltip");return n(),a(h,{location:"top"},{activator:s(({props:p})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},p),d[0]||(d[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,o(_.limitsRange),1)]),_:1})}const b=u("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-C4spAawK-8c01507f7f06c5187684.js","vue","./main-2fe9a0af25d48afd561f.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue-router","single-spa","vuex","vuetify"],function(d,C){"use strict";var l,i,n,a,s,o,p,m,u,c;return{setters:[e=>{l=e.L},e=>{i=e.resolveComponent,n=e.createElementBlock,a=e.openBlock,s=e.normalizeStyle,o=e.createElementVNode,p=e.createBlock,m=e.createCommentVNode,u=e.normalizeClass},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{radius:15,fullLabelDisplay:!1,displayLabel:!0}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&(this.parameters[5].toLowerCase()==="true"?this.fullLabelDisplay=!0:this.parameters[5].toLowerCase()==="nil"?this.displayLabel=!1:this.parameters[5].toLowerCase()==="none"&&(this.displayLabel=!1))},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"}},myComputedStyle(){return delete this.computedStyle.flex,this.computedStyle}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function h(t,g,L,v,y,r){const f=i("label-widget");return a(),n("div",{ref:"container",class:"d-flex flex-row",style:s(r.myComputedStyle)},[o("div",{class:u(`led align-self-center ${this.limitsColor}`),style:s(r.cssProps)},null,6),y.displayLabel?(a(),p(f,{key:0,parameters:r.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])):m("",!0)],4)}const b=d("default",c(e,[["render",h],["__scopeId","data-v-b106d59f"]]))}}});
1
+ System.register(["./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(d,b){"use strict";var l,i,n,a,s,o,p,m,u,c;return{setters:[e=>{l=e.L},e=>{i=e.resolveComponent,n=e.createElementBlock,a=e.openBlock,s=e.normalizeStyle,o=e.createElementVNode,p=e.createBlock,m=e.createCommentVNode,u=e.normalizeClass},e=>{c=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{radius:15,fullLabelDisplay:!1,displayLabel:!0}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&(this.parameters[5].toLowerCase()==="true"?this.fullLabelDisplay=!0:this.parameters[5].toLowerCase()==="nil"?this.displayLabel=!1:this.parameters[5].toLowerCase()==="none"&&(this.displayLabel=!1))},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"}},myComputedStyle(){return delete this.computedStyle.flex,this.computedStyle}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function h(t,g,L,v,y,r){const f=i("label-widget");return a(),n("div",{ref:"container",class:"d-flex flex-row",style:s(r.myComputedStyle)},[o("div",{class:u(`led align-self-center ${this.limitsColor}`),style:s(r.cssProps)},null,6),y.displayLabel?(a(),p(f,{key:0,parameters:r.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])):m("",!0)],4)}const C=d("default",c(e,[["render",h],["__scopeId","data-v-b106d59f"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-afaaf4c015a17f51205d.js","vue","./main-2fe9a0af25d48afd561f.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.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.createElementBlock,l=i.openBlock,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 l(),s("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-C6p07yWK-b792c9c7d152d8e7eac0.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.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.createElementBlock,l=i.openBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.d},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 l(),s("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"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-DurWDmpg-c9b122c94c912d0741ba.js","./main-1bc219fcc4bfc28dfaea.js","vue","./Graph-Bgo0cjl3-52421e0307d7ca0fbe50.js","single-spa","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var s,n,r,o,a,l,d;return{setters:[t=>{s=t._},t=>{n=t.d},t=>{r=t.resolveComponent,o=t.createBlock,a=t.openBlock,l=t.normalizeStyle},t=>{d=t.S},null,null,null,null,null],execute:function(){const t={components:{Graph:d},mixins:[s]};function h(e,i,m,v,y,S){const c=r("graph");return a(),o(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:l(e.computedStyle),"time-zone":this.screenTimeZone,onPause:i[0]||(i[0]=()=>e.state="pause"),onStart:i[1]||(i[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 g=p("default",n(t,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-7e1c88bcb2d1e9c2cc9c.js","./main-1bc219fcc4bfc28dfaea.js","vue","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var c,o,m,r,n,g,a,l,p,d,y;return{setters:[e=>{c=e.r},e=>{o=e.d,m=e.a},e=>{r=e.createElementBlock,n=e.openBlock,g=e.normalizeStyle,a=e.Fragment,l=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,y=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,z,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(a,null,l(k.widgetChunks,(v,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(a,null,l(v,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),y({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=f("default",o(e,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue","./main-2fe9a0af25d48afd561f.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.createBlock,r=e.openBlock,n=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,I,c){const h=a("rux-progress");return r(),l(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.createBlock,r=e.openBlock,n=e.normalizeStyle},e=>{i=e.d},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,I,c){const h=a("rux-progress");return r(),l(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(s,v){"use strict";var l,t,n,r,a,o;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.createBlock,r=e.openBlock,a=e.normalizeStyle},e=>{o=e.d},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,m,c,b,d,f){const p=t("v-radio");return r(),n(p,{"hide-details":"",dense:"",label:d.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const y=s("default",o(e,[["render",u]]))}}});
@@ -1 +1 @@
1
- System.register(["./Layout-Bh7VzCZd-8c7800d758c191052a54.js","vue","./main-2fe9a0af25d48afd561f.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue-router","single-spa","vuex","vuetify"],function(f,k){"use strict";var a,l,s,r,c,o,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,c=e.normalizeStyle,o=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function h(n,v,I,z,y,V){const C=l("v-radio-group");return r(),s(C,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:c(n.computedStyle)},{default:o(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const B=f("default",g(e,[["render",h]]))}}});
1
+ System.register(["./Layout-Tf--nruw-7e1c88bcb2d1e9c2cc9c.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var a,l,s,r,o,c,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.d},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function h(n,v,B,w,y,z){const k=l("v-radio-group");return r(),s(k,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:o(n.computedStyle)},{default:c(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const I=f("default",g(e,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue","./main-2fe9a0af25d48afd561f.js","vue-router","single-spa","vuex","vuetify"],function(c,d){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.createElementBlock,n=t.openBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.s},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,v,u){return n(),a("div",{class:"rangebar",style:h([u.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const m=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(c,u){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.createElementBlock,n=t.openBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.d},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,v,d){return n(),a("div",{class:"rangebar",style:h([d.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const m=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue","./main-2fe9a0af25d48afd561f.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.createBlock,a=t.openBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null,null],execute:function(){const t={mixins:[i],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return a(),c(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.createBlock,a=t.openBlock,o=t.normalizeStyle},t=>{u=t.d},null,null,null,null],execute:function(){const t={mixins:[i],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return a(),c(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-7e1c88bcb2d1e9c2cc9c.js","./VerticalWidget-BIIViZgI-9b15e72a48b5a570cf2a.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,c,i,r,o,u,m,g,p,d,f;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{i=e.createElementBlock,r=e.openBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,d=e.mergeProps},e=>{f=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function v(n,a,s,B,I,R){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(u,null,m(n.widgets,(t,h)=>(r(),g(p(t.type),d({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const w=y("default",f(e,[["render",v]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-C4spAawK-8c01507f7f06c5187684.js","vue","./main-2fe9a0af25d48afd561f.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,s,l,n,i,c,o,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.createBlock,l=t.openBlock,n=t.normalizeStyle,i=t.withCtx,c=t.createTextVNode,o=t.toDisplayString},t=>{u=t.s},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,f,v,y,C,h){const m=a("v-icon");return l(),s(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
1
+ System.register(["./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,l,n,s,i,o,c,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,l=t.createBlock,n=t.openBlock,s=t.normalizeStyle,i=t.withCtx,o=t.createTextVNode,c=t.toDisplayString},t=>{u=t.d},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,v,y,f,k,h){const m=a("v-icon");return n(),l(m,{onClick:h.clickHandler,style:s(e.computedStyle)},{default:i(()=>[o(c(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(i,c){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.createElementBlock,s=e.openBlock,l=e.normalizeStyle},e=>{r=e.d},null,null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(o,m,p,d,h,y){return s(),n("div",{style:l(o.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
@@ -1 +1 @@
1
- System.register(["./GraphWidget-Dycey-mj-84f812318e1113f14c38.js","./main-2fe9a0af25d48afd561f.js","vue","./Graph-3rkhFP3G-1b4e0490f8d49eee571f.js","single-spa","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var s,i,n,r,a,o,d;return{setters:[e=>{s=e._},e=>{i=e.s},e=>{n=e.resolveComponent,r=e.createBlock,a=e.openBlock,o=e.normalizeStyle},e=>{d=e.S},null,null,null,null,null],execute:function(){const e={components:{Graph:d},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(t,g,m,v,f,y){const h=n("graph");return a(),r(h,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:o(t.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=l("default",i(e,[["render",p]]))}}});
1
+ System.register(["./GraphWidget-DurWDmpg-c9b122c94c912d0741ba.js","./main-1bc219fcc4bfc28dfaea.js","vue","./Graph-Bgo0cjl3-52421e0307d7ca0fbe50.js","single-spa","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","vuex","vuetify"],function(p,c){"use strict";var i,s,n,r,a,o,d;return{setters:[e=>{i=e._},e=>{s=e.d},e=>{n=e.resolveComponent,r=e.createBlock,a=e.openBlock,o=e.normalizeStyle},e=>{d=e.S},null,null,null,null,null],execute:function(){const e={components:{Graph:d},mixins:[i],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function l(t,g,m,v,y,f){const h=n("graph");return a(),r(h,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:o(t.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=p("default",s(e,[["render",l]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-7e1c88bcb2d1e9c2cc9c.js","vue","./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue-router","single-spa","vuex","vuetify"],function(T,z){"use strict";var p,l,s,r,g,v,i,u,c,o,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,s=e.createElementBlock,r=e.openBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,u=e.Fragment,c=e.renderList,o=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.d},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function k(t,m,h,D,F,L){const x=l("v-tab"),B=l("v-tabs"),C=l("v-window-item"),S=l("v-window");return r(),s("div",null,[g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(C,{key:d},{default:i(()=>[(r(!0),s(u,null,c(a.widgets,(n,N)=>(r(),o(w(n.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,target:n.target,parameters:n.parameters,settings:n.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:n.widgets,name:n.name,line:n.line,"line-number":n.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const _=T("default",V(e,[["render",k]]))}}});
@@ -0,0 +1,13 @@
1
+ System.register(["./main-1bc219fcc4bfc28dfaea.js","vue","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","./IframeWidget-BPerHCCa-cdb2815ceb98ee81983f.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js"],function(sn,ao){"use strict";var se,ae,me,b,A,y,st,g,h,F,N,U,J,K,O,Ne,ge,G,je,Ue,le,at,lt,ct,ut,De,Ie,Pe,dt;return{setters:[C=>{se=C.d,ae=C.O,me=C._},C=>{b=C.resolveComponent,A=C.createBlock,y=C.openBlock,st=C.Teleport,g=C.createVNode,h=C.withCtx,F=C.createElementVNode,N=C.toDisplayString,U=C.createElementBlock,J=C.Fragment,K=C.renderList,O=C.createTextVNode,Ne=C.mergeProps,ge=C.createSlots,G=C.createCommentVNode,je=C.normalizeStyle,Ue=C.withKeys,le=C.withModifiers,at=C.withDirectives,lt=C.vShow,ct=C.ref,ut=C.computed,De=C.watch,Ie=C.normalizeProps,Pe=C.guardReactiveProps},null,C=>{dt=C.k},null,null,null,null,null],execute:function(){var C=document.createElement("style");C.textContent=`.filename[data-v-581bcfd1]{background-color:var(--color-background-base-default)}
2
+ /*$vite$:1*/`,document.head.appendChild(C);const an={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(e){return e.replaceAll(" ","-").toLowerCase()},subMenuClick(e){e.command(e),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},ln={class:"app-title mr-2"};function cn(e,t,n,r,i,o){const s=b("v-col"),a=b("v-row"),c=b("v-icon"),u=b("v-btn"),d=b("v-divider"),f=b("v-list-item-title"),_=b("v-list-item"),p=b("v-list"),w=b("v-menu"),m=b("v-radio"),R=b("v-list-item-action"),k=b("v-radio-group"),T=b("v-checkbox");return y(),A(st,{to:"#openc3-menu"},[g(a,{"no-gutters":""},{default:h(()=>[g(s,{"align-self":"end"},{default:h(()=>[F("span",ln,N(n.title),1)]),_:1})]),_:1}),g(a,{dense:"",class:"flex-nowrap"},{default:h(()=>[(y(!0),U(J,null,K(n.menus,(P,W)=>(y(),A(w,{ref_for:!0,ref:"topmenu",key:W},{activator:h(({props:x})=>[g(u,Ne({ref_for:!0},x,{variant:"outlined",class:"mx-1 menu-button",text:P.label,"data-test":o.formatDT(`${n.title} ${P.label}`)}),{append:h(()=>[g(c,{class:"menu-button-icon"},{default:h(()=>t[0]||(t[0]=[O(" mdi-menu-down ")])),_:1})]),_:2},1040,["text","data-test"])]),default:h(()=>[g(p,null,{default:h(()=>[(y(!0),U(J,null,K(P.items,(x,B)=>(y(),U(J,null,[x.divider?(y(),A(d,{key:B+"-divider"})):x.subMenu&&x.subMenu.length>0?(y(),U("div",{key:B+"-submenu"},[(y(),A(w,{"open-on-hover":"",location:"right",key:B},{activator:h(({props:D})=>[(y(),A(_,Ne({ref_for:!0},D,{disabled:x.disabled,key:B}),ge({append:h(()=>[g(c,null,{default:h(()=>t[1]||(t[1]=[O(" mdi-chevron-right ")])),_:1})]),default:h(()=>[!x.radio&&!x.checkbox?(y(),A(f,{key:0,style:je("cursor: pointer;"+(x.disabled?"opacity: 0.2":""))},{default:h(()=>[O(N(x.label),1)]),_:2},1032,["style"])):G("",!0)]),_:2},[x.icon?{name:"prepend",fn:h(()=>[g(c,{disabled:x.disabled},{default:h(()=>[O(N(x.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:h(()=>[g(p,null,{default:h(()=>[(y(!0),U(J,null,K(x.subMenu,(D,z)=>(y(),A(_,{key:z,"prepend-icon":D.icon,onClick:Y=>o.subMenuClick(D)},{default:h(()=>[g(f,null,{default:h(()=>[O(N(D.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):x.radioGroup?(y(),A(k,{"model-value":x.value,"onUpdate:modelValue":x.command,key:B+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:h(()=>[(y(!0),U(J,null,K(x.choices,(D,z)=>(y(),A(_,{key:z+"-choice"},{default:h(()=>[g(R,{class:"list-action"},{default:h(()=>[g(m,{color:"secondary",label:D.label,value:D.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(y(),A(_,{onClick:D=>x.command(x),disabled:x.disabled,"data-test":o.formatDT(`${n.title} ${P.label} ${x.label}`),key:B+"-list"},ge({default:h(()=>[x.checkbox?(y(),A(R,{key:0,class:"list-action"},{default:h(()=>[g(T,{modelValue:x.checked,"onUpdate:modelValue":D=>x.checked=D,label:x.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):G("",!0),!x.radio&&!x.checkbox?(y(),A(f,{key:1,style:je("cursor: pointer;"+(x.disabled?"opacity: 0.2":""))},{default:h(()=>[O(N(x.label),1)]),_:2},1032,["style"])):G("",!0)]),_:2},[x.icon?{name:"prepend",fn:h(()=>[g(c,{icon:x.icon,disabled:x.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const un=se(an,[["render",cn],["__scopeId","data-v-4d454b93"]]),dn=function(e){if(e&&e.includes(".")){let t=e.split(".").pop();if(t==="py")return"mdi-language-python";if(t==="rb")return"mdi-language-ruby";if(t==="js")return"mdi-language-javascript";if(t==="csv")return"mdi-file-delimited";if(t==="txt")return"mdi-file-document";if(t==="png"||t==="gif"||t==="jpg")return"mdi-file-image"}return"mdi-file"},fn={class:"tree-node"},hn={class:"content-wrapper"},pn=["tabindex"],mn={key:1},gn={key:2,class:"children"},_n={__name:"TreeNode",props:{node:{type:Object,required:!0},search:{type:String,default:""},type:{type:String,default:"open"}},emits:["nodeToggled","request"],setup(e,{emit:t}){const n=e,r=ct(n.node.isOpen||!1),i=ut(()=>{const d=f=>{var _;return!n.search||f.path.toLowerCase().includes(n.search.toLowerCase())?!0:!!((_=f.children)!=null&&_.some(d))};return d(n.node)});De(()=>n.node.isOpen,d=>{r.path=d}),De(()=>n.search,d=>{d?n.node.isOpen||a():n.node.isOpen&&a()});const o=t,s=d=>{d.children?(a(),n.type==="save"&&o("request",d)):o("request",d)},a=()=>{n.node.children&&(r.path=!r.path,n.node.isOpen=r.path,o("nodeToggled",n.node.id,r.path))},c=(d,f)=>{o("nodeToggled",d,f)},u=d=>{o("request",d)};return(d,f)=>{const _=b("v-icon"),p=b("v-btn"),w=b("tree-node",!0);return y(),U("div",fn,[i.value?(y(),U("div",{key:0,onClick:f[2]||(f[2]=m=>s(e.node)),class:"node-content"},[F("div",hn,[e.node.children?(y(),A(_,{key:0,class:"toggle-icon",style:{"padding-right":"10px"}},{default:h(()=>[O(N(e.node.isOpen?"mdi-menu-down":"mdi-menu-right"),1)]),_:1})):G("",!0),e.node.children?(y(),A(_,{key:1,size:"small",style:{"padding-right":"10px"}},{default:h(()=>f[3]||(f[3]=[O(N("mdi-folder"))])),_:1})):e.node.title.includes(".rb")?(y(),A(_,{key:2,size:"small",style:{"padding-right":"10px"}},{default:h(()=>f[4]||(f[4]=[O(N("mdi-language-ruby"))])),_:1})):e.node.title.includes(".py")?(y(),A(_,{key:3,size:"small",style:{"padding-right":"10px"}},{default:h(()=>f[5]||(f[5]=[O(N("mdi-language-python"))])),_:1})):(y(),A(_,{key:4,size:"small",style:{"padding-right":"10px"}},{default:h(()=>f[6]||(f[6]=[O(N("mdi-file-document"))])),_:1})),F("span",{class:"title",tabindex:e.node.children?-1:0,onKeyup:f[0]||(f[0]=Ue(m=>s(e.node),["enter"]))},N(e.node.title),41,pn),e.node.title==="__TEMP__"?(y(),A(p,{key:5,icon:"",onClick:f[1]||(f[1]=m=>o("delete")),style:{"margin-left":"auto"}},{default:h(()=>[g(_,null,{default:h(()=>f[7]||(f[7]=[O(" mdi-delete ")])),_:1})]),_:1})):G("",!0)])])):(y(),U("div",mn)),e.node.children&&e.node.isOpen?(y(),U("div",gn,[(y(!0),U(J,null,K(e.node.children,m=>(y(),A(w,{key:m.id,node:m,search:e.search,type:e.type,onNodeToggled:c,onRequest:u},null,8,["node","search","type"]))),128))])):G("",!0)])}}},bn=se(_n,[["__scopeId","data-v-20be9af4"]]),yn={components:{TreeNode:bn},props:{type:{type:String,required:!0,validator:function(e){return["open","save"].indexOf(e)!==-1}},apiUrl:String,requireTargetParentDir:Boolean,inputFilename:String,modelValue:Boolean},data(){return{tree:[],items:[],search:null,selectedFile:null,disableButtons:!1,targets:[],targetsRetrieved:[],loading:!0}},computed:{show:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},title:function(){return this.type==="open"?"File Open":"File Save As..."},submit:function(){return this.type==="open"?"OPEN":"SAVE"},helpText:function(){return this.type==="open"?"Click on folders to open them and then click a file to select it before clicking Open. Use the search box to filter the results. You can also Tab to the files and Enter to select.":"Click on the folder to save into. Then complete the filename path with the desired name. Use the search box to filter the results."},error:function(){if(this.selectedFile===""||this.selectedFile===null)return"No file selected must select a file";if(!this.selectedFile.match(this.validFilenameRegex)||this.selectedFile.match(/\.\.|\/\/|\.\/|\/\./)){let e=`${this.selectedFile} is not a valid filename. Must `;return this.requireTargetParentDir&&(e+="be in a target directory and "),e+=`only contain alphanumeric characters (including !-_.*) and a valid extension.
3
+
4
+ For example: TGT1/procedures/test.py or TGT2/lib/inst.rb`,e}return this.type==="save"&&this.selectedFile.match(/\*$/)?`${this.selectedFile} is not a valid filename. Must not end in '*'.`:null},validFilenameRegex:function(){const e="0-9a-zA-Z";let t=`[${`${e}\\/\\!\\-\\_\\.\\*\\'\\(\\)`}]+\\.[${e}]+`;return this.requireTargetParentDir&&(t=`\\/?${`(${this.targets.join("|")})`}\\/${t}`),new RegExp(t)}},created(){ae.get("/openc3-api/targets").then(e=>{this.targets=e.data,this.targets.push("__TEMP__"),this.targets.forEach(t=>{this.items.push({id:t,disabled:!0,title:t,children:[],path:t}),this.loadFiles(t)}),this.loading=!1})},methods:{calcIcon:function(e){return dn(e)},loadFiles:function(e){ae.get(this.apiUrl,{params:{target:e}}).then(t=>{if(t.data.length===0){this.items=this.items.filter(r=>r.id!==e);return}for(let r of t.data.sort())this.filepath=r,this.insertFile(this.items,2,r);this.inputFilename&&(this.selectedFile=this.inputFilename);const n=this.items.findIndex(r=>r.id===e);n!==-1&&(this.items[n].disabled=!1)}).catch(t=>{this.$emit("error",`Failed to connect to OpenC3. ${t}`)})},clear:function(){this.show=!1,this.overwrite=!1,this.disableButtons=!1},activeFile:function(e){e.length===0?this.selectedFile=null:(this.selectedFile=this.findItem(this.items,e.id),setTimeout(()=>{this.$refs.submitBtn.$el.focus()},100))},findItem:function(e,t){for(let n of e){if(n.id===t)return n.path;if(n.children){const r=this.findItem(n.children,t);if(r)return r}}return null},exists:function(e,t){let n=!1;for(let r of e){if(r.path===t||r.path.length>1&&r.path[r.path.length-1]==="*"&&r.path.slice(0,r.path.length-1)===t)return!0;r.children&&(n=n||this.exists(r.children,t))}return n},success:function(){this.selectedFile!==null&&this.error===null&&(this.type==="open"?this.openSuccess():this.saveSuccess())},deleteTemp:function(){this.$dialog.confirm("Are you sure you want to delete all the temporary files?",{okText:"Delete",cancelText:"Cancel"}).then(e=>ae.delete("/script-api/scripts/temp_files")).then(e=>{this.$emit("clear-temp"),this.loadFiles("__TEMP__")}).catch(e=>{this.$notify.serious({title:"Error",body:`Failed to remove script temporary files due to ${e}`})})},openSuccess:function(){this.disableButtons=!0,ae.get(`${this.apiUrl}/${this.selectedFile}`).then(e=>{const t={name:this.selectedFile,contents:e.data.contents};e.data.suites&&(t.suites=JSON.parse(e.data.suites)),e.data.error&&(t.error=e.data.error),e.data.success&&(t.success=e.data.success);const n=e.data.locked,r=e.data.breakpoints;this.$emit("file",{file:t,locked:n,breakpoints:r}),this.clear()}).catch(e=>{this.$emit("error",`Failed to open ${this.selectedFile}. ${e}`),this.clear()})},saveSuccess:function(){this.exists(this.items,this.selectedFile)?this.$dialog.confirm(`Are you sure you want to overwrite: ${this.selectedFile}`,{okText:"Overwrite",cancelText:"Cancel"}).then(e=>{this.$emit("filename",this.selectedFile),this.clear()}).catch(e=>{}):(this.$emit("filename",this.selectedFile),this.clear())},insertFile:function(e,t,n){let r=n.split("/");if(r.length===1){e.push({id:this.filepath,title:r[0],file:"ruby",path:this.filepath});return}const i=e.findIndex(o=>o.title===r[0]);i===-1?(e.push({id:this.filepath.split("/").slice(0,t-1).join("/"),title:r[0],children:[],path:this.filepath.split("/").slice(0,t-1).join("/")}),this.insertFile(e[e.length-1].children,t+1,r.slice(1).join("/"))):this.insertFile(e[i].children,t+1,r.slice(1).join("/"))}}},wn={class:"pa-3"},vn={class:"overflow-y-auto tree-container"};function xn(e,t,n,r,i,o){const s=b("v-progress-circular"),a=b("v-overlay"),c=b("v-spacer"),u=b("v-toolbar"),d=b("v-row"),f=b("v-text-field"),_=b("tree-node"),p=b("v-btn"),w=b("v-card-text"),m=b("v-card"),R=b("v-dialog");return y(),A(R,{modelValue:o.show,"onUpdate:modelValue":t[4]||(t[4]=k=>o.show=k),width:"600",onKeydown:t[5]||(t[5]=Ue(k=>o.success(),["enter"]))},{default:h(()=>[g(m,null,{default:h(()=>[g(a,{"model-value":i.loading},{default:h(()=>[g(s,{indeterminate:"",absolute:"",size:"64"})]),_:1},8,["model-value"]),F("form",{onSubmit:t[3]||(t[3]=le((...k)=>o.success&&o.success(...k),["prevent"]))},[g(u,{height:"24"},{default:h(()=>[g(c),F("span",null,N(o.title),1),g(c)]),_:1}),g(w,null,{default:h(()=>[F("div",wn,[g(d,null,{default:h(()=>[O(N(o.helpText),1)]),_:1}),g(d,{dense:"",class:"mt-5"},{default:h(()=>[g(f,{modelValue:i.search,"onUpdate:modelValue":t[0]||(t[0]=k=>i.search=k),flat:"",autofocus:"","hide-details":"",clearable:"",label:"Search","prepend-inner-icon":"mdi-magnify",density:"compact","data-test":"file-open-save-search"},null,8,["modelValue"])]),_:1}),F("div",vn,[(y(!0),U(J,null,K(i.items,k=>(y(),A(_,{key:`${k.id}`,node:k,search:i.search,type:n.type,onRequest:o.activeFile,onDelete:o.deleteTemp},null,8,["node","search","type","onRequest","onDelete"]))),128))]),g(d,{class:"my-2"},{default:h(()=>[g(f,{modelValue:i.selectedFile,"onUpdate:modelValue":t[1]||(t[1]=k=>i.selectedFile=k),"hide-details":"",label:"Filename","data-test":"file-open-save-filename",disabled:n.type==="open"},null,8,["modelValue","disabled"])]),_:1}),g(d,{dense:""},{default:h(()=>[at(F("div",{class:"my-2 text-red",style:{"white-space":"pre-line"}},N(o.error),513),[[lt,o.error]])]),_:1}),g(d,{class:"mt-2"},{default:h(()=>[g(c),g(p,{onClick:t[2]||(t[2]=k=>o.show=!1),variant:"outlined",class:"mx-2","data-test":"file-open-save-cancel-btn",disabled:i.disableButtons},{default:h(()=>t[6]||(t[6]=[O(" Cancel ")])),_:1},8,["disabled"]),g(p,{onClick:le(o.success,["prevent"]),ref:"submitBtn",type:"submit",color:"primary",class:"mx-2","data-test":"file-open-save-submit-btn",disabled:i.disableButtons||!!o.error},{default:h(()=>[O(N(o.submit),1)]),_:1},8,["onClick","disabled"])]),_:1})])]),_:1})],32)]),_:1})]),_:1},8,["modelValue"])}const En=se(yn,[["render",xn]]),Sn={props:{modelValue:Boolean,text:String,title:String,width:{type:Number,default:800}},computed:{show:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{download:function(){const e=new Blob([this.text],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.title}.txt`),t.click()}}},kn={class:"mx-2"},On={class:"pa-3"},An={class:"text"};function Cn(e,t,n,r,i,o){const s=b("v-spacer"),a=b("v-icon"),c=b("v-tooltip"),u=b("v-toolbar"),d=b("v-card-text"),f=b("v-btn"),_=b("v-card-actions"),p=b("v-card"),w=b("v-dialog");return y(),A(w,{modelValue:o.show,"onUpdate:modelValue":t[1]||(t[1]=m=>o.show=m),width:n.width,scrollable:""},{default:h(()=>[g(p,null,{default:h(()=>[g(u,{height:"24"},{default:h(()=>[g(s),F("span",null,N(n.title),1),g(s),F("div",kn,[g(c,{location:"top"},{activator:h(({props:m})=>[F("div",Ie(Pe(m)),[g(a,{"data-test":"downloadIcon",onClick:o.download},{default:h(()=>t[2]||(t[2]=[O(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:h(()=>[t[3]||(t[3]=F("span",null," Download ",-1))]),_:1})])]),_:1}),g(d,{style:{"max-height":"80vh"}},{default:h(()=>[F("div",On,[F("span",An,N(n.text),1)])]),_:1}),g(_,{class:"px-2"},{default:h(()=>[g(s),g(f,{variant:"flat",onClick:t[0]||(t[0]=m=>o.show=!o.show)},{default:h(()=>t[4]||(t[4]=[O(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","width"])}const Tn=se(Sn,[["render",Cn],["__scopeId","data-v-a60ace75"]]);var Rn=Object.defineProperty,Fn=(e,t,n)=>t in e?Rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_e=(e,t,n)=>Fn(e,typeof t!="symbol"?t+"":t,n);function ft(e,t){return function(){return e.apply(t,arguments)}}const{toString:Nn}=Object.prototype,{getPrototypeOf:Be}=Object,be=(e=>t=>{const n=Nn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),H=e=>(e=e.toLowerCase(),t=>be(t)===e),ye=e=>t=>typeof t===e,{isArray:ie}=Array,ce=ye("undefined");function jn(e){return e!==null&&!ce(e)&&e.constructor!==null&&!ce(e.constructor)&&M(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ht=H("ArrayBuffer");function Un(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ht(e.buffer),t}const Dn=ye("string"),M=ye("function"),pt=ye("number"),we=e=>e!==null&&typeof e=="object",In=e=>e===!0||e===!1,ve=e=>{if(be(e)!=="object")return!1;const t=Be(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Pn=H("Date"),Bn=H("File"),$n=H("Blob"),Vn=H("FileList"),Ln=e=>we(e)&&M(e.pipe),qn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||M(e.append)&&((t=be(e))==="formdata"||t==="object"&&M(e.toString)&&e.toString()==="[object FormData]"))},Mn=H("URLSearchParams"),[zn,Jn,Hn,Wn]=["ReadableStream","Request","Response","Headers"].map(H),Kn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ue(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ie(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let a;for(r=0;r<s;r++)a=o[r],t.call(null,e[a],a,e)}}function mt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Q=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,gt=e=>!ce(e)&&e!==Q;function $e(){const{caseless:e}=gt(this)&&this||{},t={},n=(r,i)=>{const o=e&&mt(t,i)||i;ve(t[o])&&ve(r)?t[o]=$e(t[o],r):ve(r)?t[o]=$e({},r):ie(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ue(arguments[r],n);return t}const Gn=(e,t,n,{allOwnKeys:r}={})=>(ue(t,(i,o)=>{n&&M(i)?e[o]=ft(i,n):e[o]=i},{allOwnKeys:r}),e),Xn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Yn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Qn=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Be(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Zn=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},er=e=>{if(!e)return null;if(ie(e))return e;let t=e.length;if(!pt(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},tr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Be(Uint8Array)),nr=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},rr=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ir=H("HTMLFormElement"),or=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),_t=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sr=H("RegExp"),bt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ue(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},ar=e=>{bt(e,(t,n)=>{if(M(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(M(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},lr=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ie(e)?r(e):r(String(e).split(t)),n},cr=()=>{},ur=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function dr(e){return!!(e&&M(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const fr=e=>{const t=new Array(10),n=(r,i)=>{if(we(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ie(r)?[]:{};return ue(r,(s,a)=>{const c=n(s,i+1);!ce(c)&&(o[a]=c)}),t[i]=void 0,o}}return r};return n(e,0)},hr=H("AsyncFunction"),pr=e=>e&&(we(e)||M(e))&&M(e.then)&&M(e.catch),yt=((e,t)=>e?setImmediate:t?((n,r)=>(Q.addEventListener("message",({source:i,data:o})=>{i===Q&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Q.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",M(Q.postMessage)),mr=typeof queueMicrotask<"u"?queueMicrotask.bind(Q):typeof process<"u"&&process.nextTick||yt,l={isArray:ie,isArrayBuffer:ht,isBuffer:jn,isFormData:qn,isArrayBufferView:Un,isString:Dn,isNumber:pt,isBoolean:In,isObject:we,isPlainObject:ve,isReadableStream:zn,isRequest:Jn,isResponse:Hn,isHeaders:Wn,isUndefined:ce,isDate:Pn,isFile:Bn,isBlob:$n,isRegExp:sr,isFunction:M,isStream:Ln,isURLSearchParams:Mn,isTypedArray:tr,isFileList:Vn,forEach:ue,merge:$e,extend:Gn,trim:Kn,stripBOM:Xn,inherits:Yn,toFlatObject:Qn,kindOf:be,kindOfTest:H,endsWith:Zn,toArray:er,forEachEntry:nr,matchAll:rr,isHTMLForm:ir,hasOwnProperty:_t,hasOwnProp:_t,reduceDescriptors:bt,freezeMethods:ar,toObjectSet:lr,toCamelCase:or,noop:cr,toFiniteNumber:ur,findKey:mt,global:Q,isContextDefined:gt,isSpecCompliantForm:dr,toJSONObject:fr,isAsyncFn:hr,isThenable:pr,setImmediate:yt,asap:mr};function E(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}l.inherits(E,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:l.toJSONObject(this.config),code:this.code,status:this.status}}});const wt=E.prototype,vt={};["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(e=>{vt[e]={value:e}}),Object.defineProperties(E,vt),Object.defineProperty(wt,"isAxiosError",{value:!0}),E.from=(e,t,n,r,i,o)=>{const s=Object.create(wt);return l.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),E.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const gr=null;function Ve(e){return l.isPlainObject(e)||l.isArray(e)}function xt(e){return l.endsWith(e,"[]")?e.slice(0,-2):e}function Et(e,t,n){return e?e.concat(t).map(function(r,i){return r=xt(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function _r(e){return l.isArray(e)&&!e.some(Ve)}const br=l.toFlatObject(l,{},null,function(e){return/^is[A-Z]/.test(e)});function xe(e,t,n){if(!l.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=l.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,w){return!l.isUndefined(w[p])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&l.isSpecCompliantForm(t);if(!l.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(l.isDate(p))return p.toISOString();if(!a&&l.isBlob(p))throw new E("Blob is not supported. Use a Buffer instead.");return l.isArrayBuffer(p)||l.isTypedArray(p)?a&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,w,m){let R=p;if(p&&!m&&typeof p=="object"){if(l.endsWith(w,"{}"))w=r?w:w.slice(0,-2),p=JSON.stringify(p);else if(l.isArray(p)&&_r(p)||(l.isFileList(p)||l.endsWith(w,"[]"))&&(R=l.toArray(p)))return w=xt(w),R.forEach(function(k,T){!(l.isUndefined(k)||k===null)&&t.append(s===!0?Et([w],T,o):s===null?w:w+"[]",c(k))}),!1}return Ve(p)?!0:(t.append(Et(m,w,o),c(p)),!1)}const d=[],f=Object.assign(br,{defaultVisitor:u,convertValue:c,isVisitable:Ve});function _(p,w){if(!l.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+w.join("."));d.push(p),l.forEach(p,function(m,R){(!(l.isUndefined(m)||m===null)&&i.call(t,m,l.isString(R)?R.trim():R,w,f))===!0&&_(m,w?w.concat(R):[R])}),d.pop()}}if(!l.isObject(e))throw new TypeError("data must be an object");return _(e),t}function St(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Le(e,t){this._pairs=[],e&&xe(e,this,t)}const kt=Le.prototype;kt.append=function(e,t){this._pairs.push([e,t])},kt.toString=function(e){const t=e?function(n){return e.call(this,n,St)}:St;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function yr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ot(e,t,n){if(!t)return e;const r=n&&n.encode||yr;l.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=l.isURLSearchParams(t)?t.toString():new Le(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class At{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){l.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wr=typeof URLSearchParams<"u"?URLSearchParams:Le,vr=typeof FormData<"u"?FormData:null,xr=typeof Blob<"u"?Blob:null,Er={isBrowser:!0,classes:{URLSearchParams:wr,FormData:vr,Blob:xr},protocols:["http","https","file","blob","url","data"]},qe=typeof window<"u"&&typeof document<"u",Me=typeof navigator=="object"&&navigator||void 0,Sr=qe&&(!Me||["ReactNative","NativeScript","NS"].indexOf(Me.product)<0),kr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Or=qe&&window.location.href||"http://localhost",Ar=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qe,hasStandardBrowserEnv:Sr,hasStandardBrowserWebWorkerEnv:kr,navigator:Me,origin:Or},Symbol.toStringTag,{value:"Module"})),V={...Ar,...Er};function Cr(e,t){return xe(e,new V.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return V.isNode&&l.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Tr(e){return l.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Rr(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function Tt(e){function t(n,r,i,o){let s=n[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=o>=n.length;return s=!s&&l.isArray(i)?i.length:s,c?(l.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!l.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&l.isArray(i[s])&&(i[s]=Rr(i[s])),!a)}if(l.isFormData(e)&&l.isFunction(e.entries)){const n={};return l.forEachEntry(e,(r,i)=>{t(Tr(r),i,n,0)}),n}return null}function Fr(e,t,n){if(l.isString(e))try{return(t||JSON.parse)(e),l.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const de={transitional:Ct,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=l.isObject(e);if(i&&l.isHTMLForm(e)&&(e=new FormData(e)),l.isFormData(e))return r?JSON.stringify(Tt(e)):e;if(l.isArrayBuffer(e)||l.isBuffer(e)||l.isStream(e)||l.isFile(e)||l.isBlob(e)||l.isReadableStream(e))return e;if(l.isArrayBufferView(e))return e.buffer;if(l.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Cr(e,this.formSerializer).toString();if((o=l.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return xe(o?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),Fr(e)):e}],transformResponse:[function(e){const t=this.transitional||de.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(l.isResponse(e)||l.isReadableStream(e))return e;if(e&&l.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(i)throw o.name==="SyntaxError"?E.from(o,E.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:V.classes.FormData,Blob:V.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};l.forEach(["delete","get","head","post","put","patch"],e=>{de.headers[e]={}});const Nr=l.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"]),jr=e=>{const t={};let n,r,i;return e&&e.split(`
5
+ `).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&Nr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Rt=Symbol("internals");function fe(e){return e&&String(e).trim().toLowerCase()}function Ee(e){return e===!1||e==null?e:l.isArray(e)?e.map(Ee):String(e)}function Ur(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Dr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ze(e,t,n,r,i){if(l.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!l.isString(t)){if(l.isString(r))return t.indexOf(r)!==-1;if(l.isRegExp(r))return r.test(t)}}function Ir(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Pr(e,t){const n=l.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}let q=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(s,a,c){const u=fe(a);if(!u)throw new Error("header name must be a non-empty string");const d=l.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||a]=Ee(s))}const o=(s,a)=>l.forEach(s,(c,u)=>i(c,u,a));if(l.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(l.isString(e)&&(e=e.trim())&&!Dr(e))o(jr(e),t);else if(l.isHeaders(e))for(const[s,a]of e.entries())i(a,s,n);else e!=null&&i(t,e,n);return this}get(e,t){if(e=fe(e),e){const n=l.findKey(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return Ur(r);if(l.isFunction(t))return t.call(this,r,n);if(l.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fe(e),e){const n=l.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||ze(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let r=!1;function i(o){if(o=fe(o),o){const s=l.findKey(n,o);s&&(!t||ze(n,n[s],s,t))&&(delete n[s],r=!0)}}return l.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];(!e||ze(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return l.forEach(this,(r,i)=>{const o=l.findKey(n,i);if(o){t[o]=Ee(r),delete t[i];return}const s=e?Ir(i):String(i).trim();s!==i&&delete t[i],t[s]=Ee(r),n[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return l.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&l.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
6
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(r=>n.set(r)),n}static accessor(e){const t=(this[Rt]=this[Rt]={accessors:{}}).accessors,n=this.prototype;function r(i){const o=fe(i);t[o]||(Pr(n,i),t[o]=!0)}return l.isArray(e)?e.forEach(r):r(e),this}};q.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),l.reduceDescriptors(q.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),l.freezeMethods(q);function Je(e,t){const n=this||de,r=t||n,i=q.from(r.headers);let o=r.data;return l.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Ft(e){return!!(e&&e.__CANCEL__)}function oe(e,t,n){E.call(this,e??"canceled",E.ERR_CANCELED,t,n),this.name="CanceledError"}l.inherits(oe,E,{__CANCEL__:!0});function Nt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new E("Request failed with status code "+n.status,[E.ERR_BAD_REQUEST,E.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Br(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $r(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=r[o];s||(s=c),n[i]=a,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s<t)return;const _=u&&c-u;return _?Math.round(f*1e3/_):void 0}}function Vr(e,t){let n=0,r=1e3/t,i,o;const s=(a,c=Date.now())=>{n=c,i=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const c=Date.now(),u=c-n;u>=r?s(a,c):(i=a,o||(o=setTimeout(()=>{o=null,s(i)},r-u)))},()=>i&&s(i)]}const Se=(e,t,n=3)=>{let r=0;const i=$r(50,250);return Vr(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,c=s-r,u=i(c),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&d?(a-s)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},jt=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ut=e=>(...t)=>l.asap(()=>e(...t)),Lr=V.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,V.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(V.origin),V.navigator&&/(msie|trident)/i.test(V.navigator.userAgent)):()=>!0,qr=V.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];l.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),l.isString(r)&&s.push("path="+r),l.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zr(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Dt(e,t,n){let r=!Mr(t);return e&&(r||n==!1)?zr(e,t):t}const It=e=>e instanceof q?{...e}:e;function Z(e,t){t=t||{};const n={};function r(u,d,f,_){return l.isPlainObject(u)&&l.isPlainObject(d)?l.merge.call({caseless:_},u,d):l.isPlainObject(d)?l.merge({},d):l.isArray(d)?d.slice():d}function i(u,d,f,_){if(l.isUndefined(d)){if(!l.isUndefined(u))return r(void 0,u,f,_)}else return r(u,d,f,_)}function o(u,d){if(!l.isUndefined(d))return r(void 0,d)}function s(u,d){if(l.isUndefined(d)){if(!l.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,d,f)=>i(It(u),It(d),f,!0)};return l.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||i,f=d(e[u],t[u],u);l.isUndefined(f)&&d!==a||(n[u]=f)}),n}const Pt=e=>{const t=Z({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=t;t.headers=s=q.from(s),t.url=Ot(Dt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(l.isFormData(n)){if(V.hasStandardBrowserEnv||V.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...d]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...d].join("; "))}}if(V.hasStandardBrowserEnv&&(r&&l.isFunction(r)&&(r=r(t)),r||r!==!1&&Lr(t.url))){const u=i&&o&&qr.read(o);u&&s.set(i,u)}return t},Jr=typeof XMLHttpRequest<"u",Hr=Jr&&function(e){return new Promise(function(t,n){const r=Pt(e);let i=r.data;const o=q.from(r.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=r,u,d,f,_,p;function w(){_&&_(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function R(){if(!m)return;const T=q.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),P={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:T,config:e,request:m};Nt(function(W){t(W),w()},function(W){n(W),w()},P),m=null}"onloadend"in m?m.onloadend=R:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(R)},m.onabort=function(){m&&(n(new E("Request aborted",E.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new E("Network Error",E.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const P=r.transitional||Ct;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),n(new E(T,P.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,e,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&l.forEach(o.toJSON(),function(T,P){m.setRequestHeader(P,T)}),l.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),c&&([f,p]=Se(c,!0),m.addEventListener("progress",f)),a&&m.upload&&([d,_]=Se(a),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",_)),(r.cancelToken||r.signal)&&(u=T=>{m&&(n(!T||T.type?new oe(null,e,m):T),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const k=Br(r.url);if(k&&V.protocols.indexOf(k)===-1){n(new E("Unsupported protocol "+k+":",E.ERR_BAD_REQUEST,e));return}m.send(i||null)})},Wr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,a();const d=u instanceof Error?u:this.reason;r.abort(d instanceof E?d:new oe(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,o(new E(`timeout ${t} of ms exceeded`,E.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>l.asap(a),c}},Kr=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Gr=async function*(e,t){for await(const n of Xr(e))yield*Kr(n,t)},Xr=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Bt=(e,t,n,r)=>{const i=Gr(e,t);let o=0,s,a=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){a(),c.close();return}let f=d.byteLength;if(n){let _=o+=f;n(_)}c.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(c){return a(c),i.return()}},{highWaterMark:2})},ke=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",$t=ke&&typeof ReadableStream=="function",Yr=ke&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Vt=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Qr=$t&&Vt(()=>{let e=!1;const t=new Request(V.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Lt=64*1024,He=$t&&Vt(()=>l.isReadableStream(new Response("").body)),Oe={stream:He&&(e=>e.body)};ke&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Oe[t]&&(Oe[t]=l.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new E(`Response type '${t}' is not supported`,E.ERR_NOT_SUPPORT,r)})})})(new Response);const Zr=async e=>{if(e==null)return 0;if(l.isBlob(e))return e.size;if(l.isSpecCompliantForm(e))return(await new Request(V.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(l.isArrayBufferView(e)||l.isArrayBuffer(e))return e.byteLength;if(l.isURLSearchParams(e)&&(e=e+""),l.isString(e))return(await Yr(e)).byteLength},ei=async(e,t)=>l.toFiniteNumber(e.getContentLength())??Zr(t),ti=ke&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:_}=Pt(e);u=u?(u+"").toLowerCase():"text";let p=Wr([i,o&&o.toAbortSignal()],s),w;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let R;try{if(c&&Qr&&n!=="get"&&n!=="head"&&(R=await ei(d,r))!==0){let x=new Request(t,{method:"POST",body:r,duplex:"half"}),B;if(l.isFormData(r)&&(B=x.headers.get("content-type"))&&d.setContentType(B),x.body){const[D,z]=jt(R,Se(Ut(c)));r=Bt(x.body,Lt,D,z)}}l.isString(f)||(f=f?"include":"omit");const k="credentials"in Request.prototype;w=new Request(t,{..._,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:k?f:void 0});let T=await fetch(w);const P=He&&(u==="stream"||u==="response");if(He&&(a||P&&m)){const x={};["status","statusText","headers"].forEach(Y=>{x[Y]=T[Y]});const B=l.toFiniteNumber(T.headers.get("content-length")),[D,z]=a&&jt(B,Se(Ut(a),!0))||[];T=new Response(Bt(T.body,Lt,D,()=>{z&&z(),m&&m()}),x)}u=u||"text";let W=await Oe[l.findKey(Oe,u)||"text"](T,e);return!P&&m&&m(),await new Promise((x,B)=>{Nt(x,B,{data:W,headers:q.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:w})})}catch(k){throw m&&m(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new E("Network Error",E.ERR_NETWORK,e,w),{cause:k.cause||k}):E.from(k,k&&k.code,e,w)}}),We={http:gr,xhr:Hr,fetch:ti};l.forEach(We,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qt=e=>`- ${e}`,ni=e=>l.isFunction(e)||e===null||e===!1,Mt={getAdapter:e=>{e=l.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let s;if(r=n,!ni(n)&&(r=We[(s=String(n)).toLowerCase()],r===void 0))throw new E(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+o]=r}if(!r){const o=Object.entries(i).map(([a,c])=>`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
7
+ `+o.map(qt).join(`
8
+ `):" "+qt(o[0]):"as no adapter specified";throw new E("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:We};function Ke(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new oe(null,e)}function zt(e){return Ke(e),e.headers=q.from(e.headers),e.data=Je.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mt.getAdapter(e.adapter||de.adapter)(e).then(function(t){return Ke(e),t.data=Je.call(e,e.transformResponse,t),t.headers=q.from(t.headers),t},function(t){return Ft(t)||(Ke(e),t&&t.response&&(t.response.data=Je.call(e,e.transformResponse,t.response),t.response.headers=q.from(t.response.headers))),Promise.reject(t)})}const Jt="1.8.4",Ae={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ae[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ht={};Ae.transitional=function(e,t,n){function r(i,o){return"[Axios v"+Jt+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,s)=>{if(e===!1)throw new E(r(o," has been removed"+(t?" in "+t:"")),E.ERR_DEPRECATED);return t&&!Ht[o]&&(Ht[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,o,s):!0}},Ae.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function ri(e,t,n){if(typeof e!="object")throw new E("options must be an object",E.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],c=a===void 0||s(a,o,e);if(c!==!0)throw new E("option "+o+" must be "+c,E.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new E("Unknown option "+o,E.ERR_BAD_OPTION)}}const Ce={assertOptions:ri,validators:Ae},X=Ce.validators;let ee=class{constructor(e){this.defaults=e,this.interceptors={request:new At,response:new At}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
9
+ `+i):n.stack=i}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Z(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&Ce.assertOptions(n,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean)},!1),r!=null&&(l.isFunction(r)?t.paramsSerializer={serialize:r}:Ce.assertOptions(r,{encode:X.function,serialize:X.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ce.assertOptions(t,{baseUrl:X.spelling("baseURL"),withXsrfToken:X.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&l.merge(i.common,i[t.method]);i&&l.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),t.headers=q.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(t)===!1||(a=a&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!a){const p=[zt.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),f=p.length,u=Promise.resolve(t);d<f;)u=u.then(p[d++],p[d++]);return u}f=s.length;let _=t;for(d=0;d<f;){const p=s[d++],w=s[d++];try{_=p(_)}catch(m){w.call(this,m);break}}try{u=zt.call(this,_)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Z(this.defaults,e);const t=Dt(e.baseURL,e.url,e.allowAbsoluteUrls);return Ot(t,e.params,e.paramsSerializer)}};l.forEach(["delete","get","head","options"],function(e){ee.prototype[e]=function(t,n){return this.request(Z(n||{},{method:e,url:t,data:(n||{}).data}))}}),l.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,o){return this.request(Z(o||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}ee.prototype[e]=t(),ee.prototype[e+"Form"]=t(!0)});let ii=class on{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(i,o,s){r.reason||(r.reason=new oe(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new on(function(n){t=n}),cancel:t}}};function oi(e){return function(t){return e.apply(null,t)}}function si(e){return l.isObject(e)&&e.isAxiosError===!0}const Ge={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(Ge).forEach(([e,t])=>{Ge[t]=e});function Wt(e){const t=new ee(e),n=ft(ee.prototype.request,t);return l.extend(n,ee.prototype,t,{allOwnKeys:!0}),l.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Wt(Z(e,r))},n}const j=Wt(de);j.Axios=ee,j.CanceledError=oe,j.CancelToken=ii,j.isCancel=Ft,j.VERSION=Jt,j.toFormData=xe,j.AxiosError=E,j.Cancel=j.CanceledError,j.all=function(e){return Promise.all(e)},j.spread=oi,j.isAxiosError=si,j.mergeConfig=Z,j.AxiosHeaders=q,j.formToJSON=e=>Tt(l.isHTMLForm(e)?new FormData(e):e),j.getAdapter=Mt.getAdapter,j.HttpStatusCode=Ge,j.default=j;const{Axios:lo,AxiosError:co,CanceledError:uo,isCancel:fo,CancelToken:ho,VERSION:po,all:mo,Cancel:go,isAxiosError:_o,spread:bo,toFormData:yo,AxiosHeaders:wo,HttpStatusCode:vo,formToJSON:xo,getAdapter:Eo,mergeConfig:So}=j,Xe=j.create({baseURL:location.origin,timeout:6e4,params:{}});Xe.interceptors.response.use(e=>e,e=>{var t,n,r,i,o,s,a,c,u,d,f;if(e.response){if(e.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(w){w&&OpenC3Auth.setTokens()}),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let _=`HTTP ${e.response.status} - `;(t=e.response)!=null&&t.statusText&&(_+=`${e.response.statusText} `),(r=(n=e.response)==null?void 0:n.config)!=null&&r.data&&(_+=`${e.response.config.data} `),(o=(i=e.response)==null?void 0:i.data)!=null&&o.message?_+=`${e.response.data.message}`:(a=(s=e.response)==null?void 0:s.data)!=null&&a.exception?_+=`${e.response.data.exception}`:(d=(u=(c=e.response)==null?void 0:c.data)==null?void 0:u.error)!=null&&d.message?(e.response.data.error.class&&(_+=`${e.response.data.error.class} `),_+=`${e.response.data.error.message}`):_+=`${(f=e.response)==null?void 0:f.data}`;const{$cosmosNotify:p}=window;throw p&&p.serious({title:"Network error",body:_}),e}else throw e});const Te=async function(e,t,{data:n,params:r={},headers:i,noAuth:o=!1,noScope:s=!1,onUploadProgress:a=!1}={}){if(!o){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}i.Authorization=localStorage.openc3Token}return i.manual=!0,!s&&!r.scope&&(r.scope=window.openc3Scope),Xe({method:e,url:t,data:n,params:r,headers:i,onUploadProgress:a})},Ye={Accept:"application/json"},Kt={...Ye,"Content-Type":"application/json"},L={get:function(e,{params:t,headers:n=Ye,noScope:r,noAuth:i,onUploadProgress:o}={}){return Te("get",e,{params:t,headers:n,noScope:r,noAuth:i,onUploadProgress:o})},put:function(e,{data:t,params:n,headers:r=Kt,noScope:i,noAuth:o,onUploadProgress:s}={}){return Te("put",e,{data:t,params:n,headers:r,noScope:i,noAuth:o,onUploadProgress:s})},post:function(e,{data:t,params:n,headers:r=Kt,noScope:i,noAuth:o,onUploadProgress:s}={}){return Te("post",e,{data:t,params:n,headers:r,noScope:i,noAuth:o,onUploadProgress:s})},delete:function(e,{params:t,headers:n=Ye,noScope:r,noAuth:i,onUploadProgress:o}={}){return Te("delete",e,{params:t,headers:n,noScope:r,noAuth:i,onUploadProgress:o})}};let ai=()=>({emit(e,...t){for(let n=this.events[e]||[],r=0,i=n.length;r<i;r++)n[r](...t)},events:{},on(e,t){var n;return((n=this.events)[e]||(n[e]=[])).push(t),()=>{var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(i=>t!==i)}}});class li extends Error{constructor(t,n){t instanceof Error?(super(t.message),this.cause=t):super(t),this.reason=n,this.name="ReasonError"}}function ci(e){return e?`{${Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>{let n=JSON.stringify(e[t]);return`${JSON.stringify(t)}:${n}`}).join(",")}}`:""}class ui{constructor(t){this.channel=t,this.listeners=[]}watch(){this.listeners.push(this.channel.on("presence",t=>{if(t.type==="info"){this._state||(this._state=this.stateFromInfo(t));return}this._state&&(t.type==="join"?this._state[t.id]=t.info:t.type==="leave"&&delete this._state[t.id])}))}reset(){delete this._state}dispose(){delete this._info,delete this._state,this.listeners.forEach(t=>t()),this.listeners.length=0}async join(t,n){if(!this._info)return this._info={id:t,info:n},this.channel.perform("$presence:join",this._info)}async leave(){if(!this._info)return;let t=await this.channel.perform("$presence:leave");return delete this._info,t}async info(){return this._state?this._state:(this._promise||(this._promise=this._sync()),await this._promise,this._state)}async _sync(){this.watch();try{let t=await this.channel.perform("$presence:info",{});return this._state=this.stateFromInfo(t),this._state}finally{delete this._promise}}stateFromInfo(t){return t.records.reduce((n,{id:r,info:i})=>(n[r]=i,n),{})}}const te=Symbol("state");class Gt{constructor(t={}){this.emitter=ai(),this.params=Object.freeze(t),this.presence=new ui(this),this.initialConnect=!0,this[te]="idle"}get identifier(){return this._identifier?this._identifier:(this._identifier=ci({channel:this.channelId,...this.params}),this._identifier)}get channelId(){return this.constructor.identifier}get state(){return this[te]}attached(t){if(this.receiver){if(this.receiver!==t)throw Error("Already connected to a different receiver");return!1}return this.receiver=t,!0}connecting(){this[te]="connecting"}connected(){if(this.state==="connected"||this.state==="closed")return;this[te]="connected";let t=!1;this.initialConnect?(this.initialConnect=!1,this.emit("connect",{reconnect:!1,restored:t})):this.emit("connect",{reconnect:!0,restored:t})}restored(){if(this.state==="connected")throw Error("Already connected");this[te]="connected";let t=!0,n=!0;this.initialConnect=!1,this.emit("connect",{reconnect:n,restored:t})}disconnected(t){this.state==="disconnected"||this.state==="closed"||(this[te]="disconnected",this.presence.reset(),this.emit("disconnect",t))}closed(t){this.state!=="closed"&&(this[te]="closed",delete this.receiver,this.initialConnect=!0,this.presence.dispose(),this.emit("close",t))}disconnect(){this.state==="idle"||this.state==="closed"||this.receiver.unsubscribe(this)}async perform(t,n){if(this.state==="idle"||this.state==="closed")throw Error("Channel is not subscribed");return this.receiver.perform(this.identifier,t,n)}async send(t){return this.perform(void 0,t)}async whisper(t){try{await this.perform("$whisper",t)}catch(n){let r=this.receiver?this.receiver.logger:null;r&&r.warn("whisper failed: ",n)}}receive(t,n){this.emit("message",t,n)}on(t,n){return this.emitter.on(t,n)}once(t,n){let r=this.emitter.on(t,(...i)=>{r(),n(...i)});return r}emit(t,...n){return this.emitter.emit(t,...n)}ensureSubscribed(){return this.state==="connected"?Promise.resolve():this.state==="closed"?Promise.reject(Error("Channel is unsubscribed")):this.pendingSubscribe()}pendingSubscribe(){return this._pendingSubscribe?this._pendingSubscribe:(this._pendingSubscribe=new Promise((t,n)=>{let r=[()=>delete this._pendingSubscribe];r.push(this.on("connect",()=>{r.forEach(i=>i()),t()})),r.push(this.on("close",i=>{r.forEach(o=>o()),n(i||new li("Channel was disconnected before subscribing","canceled"))}))}),this._pendingSubscribe)}}class di extends Gt{constructor(t,n){super(n),this.channelId=t}set channelId(t){this._channelId=t}get channelId(){return this._channelId}}_e(di,"identifier","__ghost__");const fi="$pubsub";class hi extends Gt{async perform(t,n){if(t.startsWith("$"))return super.perform(t,n);throw Error("not implemented")}}_e(hi,"identifier",fi);function Qe(e){return pi.test(e)}const pi=/^-?[0-9]+$/;function Xt(e){return mi.test(e)}const mi=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/;function Yt(e,t){const n=Number.parseFloat(e),r=String(n),i=Qt(e),o=Qt(r);return!!(i===o||(t==null?void 0:t.approx)===!0&&!Qe(e)&&o.length>=14&&i.startsWith(o.substring(0,14)))}let he=function(e){return e.underflow="underflow",e.overflow="overflow",e.truncate_integer="truncate_integer",e.truncate_float="truncate_float",e}({});function gi(e){if(Yt(e,{approx:!1}))return;if(Qe(e))return he.truncate_integer;const t=Number.parseFloat(e);return Number.isFinite(t)?t===0?he.underflow:he.truncate_float:he.overflow}function Qt(e){return e.replace(_i,"").replace(yi,"").replace(wi,"").replace(bi,"")}const _i=/[eE][+-]?\d+$/,bi=/^-?(0*)?/,yi=/\./,wi=/0+$/;class vi{constructor(t){if(_e(this,"isLosslessNumber",!0),!Xt(t))throw new Error(`Invalid number (value: "${t}")`);this.value=t}valueOf(){const t=gi(this.value);if(t===void 0||t===he.truncate_float)return Number.parseFloat(this.value);if(Qe(this.value))return BigInt(this.value);throw new Error(`Cannot safely convert to number: the value '${this.value}' would ${t} and become ${Number.parseFloat(this.value)}`)}toString(){return this.value}}function xi(e){return e&&typeof e=="object"&&e.isLosslessNumber===!0||!1}function Ei(e){return new vi(e)}function Si(e,t){return Ze({"":e},"",e,t)}function Ze(e,t,n,r){return Array.isArray(n)?r.call(e,t,Oi(n,r)):n&&typeof n=="object"&&!xi(n)?r.call(e,t,ki(n,r)):r.call(e,t,n)}function ki(e,t){for(const n of Object.keys(e)){const r=Ze(e,n,e[n],t);r!==void 0?e[n]=r:delete e[n]}return e}function Oi(e,t){for(let n=0;n<e.length;n++)e[n]=Ze(e,String(n),e[n],t);return e}function Ai(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ei,r=0;const i=a();return w(i),R(),t?Si(i,t):i;function o(){if(e.charCodeAt(r)===ji){r++,u();const S={};let I=!0;for(;r<e.length&&e.charCodeAt(r)!==en;){I?I=!1:(_(),u());const re=r,pe=d();if(pe===void 0){P();return}u(),p();const ot=a();if(ot===void 0){Y();return}Object.prototype.hasOwnProperty.call(S,pe)&&!et(ot,S[pe])&&W(pe,re+1),S[pe]=ot}return e.charCodeAt(r)!==en&&x(),r++,S}}function s(){if(e.charCodeAt(r)===Ui){r++,u();const S=[];let I=!0;for(;r<e.length&&e.charCodeAt(r)!==tn;){I?I=!1:_();const re=a();m(re),S.push(re)}return e.charCodeAt(r)!==tn&&B(),r++,S}}function a(){u();const S=d()??f()??o()??s()??c("true",!0)??c("false",!1)??c("null",null);return u(),S}function c(S,I){if(e.slice(r,r+S.length)===S)return r+=S.length,I}function u(){for(;Ci(e.charCodeAt(r));)r++}function d(){if(e.charCodeAt(r)===tt){r++;let S="";for(;r<e.length&&e.charCodeAt(r)!==tt;){if(e.charCodeAt(r)===Ni){const I=e[r+1],re=Fi[I];re!==void 0?(S+=re,r++):I==="u"?Re(e.charCodeAt(r+2))&&Re(e.charCodeAt(r+3))&&Re(e.charCodeAt(r+4))&&Re(e.charCodeAt(r+5))?(S+=String.fromCharCode(Number.parseInt(e.slice(r+2,r+6),16)),r+=5):it(r):z(r)}else Ri(e.charCodeAt(r))?S+=e[r]:D(e[r]);r++}return T(),r++,S}}function f(){const S=r;if(e.charCodeAt(r)===nn&&(r++,k(S)),e.charCodeAt(r)===nt)r++;else if(Ti(e.charCodeAt(r)))for(r++;Fe(e.charCodeAt(r));)r++;if(e.charCodeAt(r)===qi)for(r++,k(S);Fe(e.charCodeAt(r));)r++;if(e.charCodeAt(r)===Wi||e.charCodeAt(r)===Hi)for(r++,(e.charCodeAt(r)===nn||e.charCodeAt(r)===$i)&&r++,k(S);Fe(e.charCodeAt(r));)r++;if(r>S)return n(e.slice(S,r))}function _(){if(e.charCodeAt(r)!==Li)throw new SyntaxError(`Comma ',' expected after value ${$()}`);r++}function p(){if(e.charCodeAt(r)!==Mi)throw new SyntaxError(`Colon ':' expected after property name ${$()}`);r++}function w(S){if(S===void 0)throw new SyntaxError(`JSON value expected ${$()}`)}function m(S){if(S===void 0)throw new SyntaxError(`Array item expected ${$()}`)}function R(){if(r<e.length)throw new SyntaxError(`Expected end of input ${$()}`)}function k(S){if(!Fe(e.charCodeAt(r))){const I=e.slice(S,r);throw new SyntaxError(`Invalid number '${I}', expecting a digit ${$()}`)}}function T(){if(e.charCodeAt(r)!==tt)throw new SyntaxError(`End of string '"' expected ${$()}`)}function P(){throw new SyntaxError(`Quoted object key expected ${$()}`)}function W(S,I){throw new SyntaxError(`Duplicate key '${S}' encountered at position ${I}`)}function x(){throw new SyntaxError(`Quoted object key or end of object '}' expected ${$()}`)}function B(){throw new SyntaxError(`Array item or end of array ']' expected ${$()}`)}function D(S){throw new SyntaxError(`Invalid character '${S}' ${v()}`)}function z(S){const I=e.slice(S,S+2);throw new SyntaxError(`Invalid escape character '${I}' ${v()}`)}function Y(){throw new SyntaxError(`Object value expected after ':' ${v()}`)}function it(S){const I=e.slice(S,S+6);throw new SyntaxError(`Invalid unicode character '${I}' ${v()}`)}function v(){return`at position ${r}`}function ne(){return r<e.length?`but got '${e[r]}'`:"but reached end of input"}function $(){return`${ne()} ${v()}`}}function Ci(e){return e===Di||e===Ii||e===Pi||e===Bi}function Re(e){return e>=nt&&e<=rt||e>=zi&&e<=Ki||e>=Ji&&e<=Gi}function Fe(e){return e>=nt&&e<=rt}function Ti(e){return e>=Vi&&e<=rt}function Ri(e){return e>=32&&e<=1114111}function et(e,t){return e===t?!0:Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((n,r)=>et(n,t[r])):Zt(e)&&Zt(t)?[...new Set([...Object.keys(e),...Object.keys(t)])].every(n=>et(e[n],t[n])):!1}function Zt(e){return typeof e=="object"&&e!==null}const Fi={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
10
+ `,r:"\r",t:" "},Ni=92,ji=123,en=125,Ui=91,tn=93,Di=32,Ii=10,Pi=9,Bi=13,tt=34,$i=43,nn=45,nt=48,Vi=49,rt=57,Li=44,qi=46,Mi=58,zi=65,Ji=97,Hi=69,Wi=101,Ki=70,Gi=102;function rn(e,t,n,r){return i(e);function i(c,u){if(Array.isArray(r)){const d=r.find(f=>f.test(c));if(d){const f=d.stringify(c);if(typeof f!="string"||!Xt(f))throw new Error(`Invalid JSON number: output of a number stringifier must be a string containing a JSON number (output: ${f})`);return f}}if(typeof c=="boolean"||typeof c=="number"||typeof c=="string"||c===null||c instanceof Date||c instanceof Boolean||c instanceof Number||c instanceof String)return JSON.stringify(c);if(c!=null&&c.isLosslessNumber||typeof c=="bigint")return c.toString();if(Array.isArray(c))return o(c);if(c&&typeof c=="object")return s(c)}function o(c,u){if(c.length===0)return"[]";let d="[";for(let f=0;f<c.length;f++){const _=c[f];typeof _<"u"&&typeof _!="function"?d+=i(_):d+="null",f<c.length-1&&(d+=",")}return d+="]",d}function s(c,u){if(typeof c.toJSON=="function")return rn(c.toJSON(),t,n,void 0);const d=Array.isArray(t)?t.map(String):Object.keys(c);if(d.length===0)return"{}";let f=!0,_="{";for(const p of d){const w=c[p];if(a(p,w)){f?f=!1:_+=",";const m=JSON.stringify(p);_+=`${m}:`,_+=i(w)}}return _+="}",_}function a(c,u){return typeof u<"u"&&typeof u!="function"&&typeof u!="symbol"}}function Xi(e){return Yt(e)?parseFloat(e):BigInt(e)}class Yi{constructor(){_e(this,"id",1)}async exec(t,n,r={},i={},o=6e4){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}this.id=this.id+1;try{return r.scope=window.openc3Scope,i.manual=!0,(await Xe.post("/openc3-api/api",{jsonrpc:"2.0",method:t,params:n,id:this.id,keyword_params:r},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...i},timeout:o,transformRequest:[(s,a)=>rn(s)],transformResponse:[s=>Ai(s,void 0,Xi)]})).data.result}catch(s){let a=new Error;throw s.response?(a.name=s.response.data.error.data.class,a.message=s.response.data.error.data.message,a.object=s.response.data.error):s.request?(a.name="Request error",a.message="Request error, no response received"):a.name="Unknown error",a}}decode_openc3_type(t){if(t!==null&&typeof t=="object"&&t.json_class=="Float"&&t.raw){if(t.raw=="NaN")return NaN;if(t.raw=="Infinity")return 1/0;if(t.raw=="-Infinity")return-1/0}return null}encode_openc3_type(t){return Number.isNaN(t)?{json_class:"Float",raw:"NaN"}:t==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:t==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then(t=>{t&&(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(t){return this.exec("set_offline_access",[t])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(t,n){return this.exec("map_target_to_interface",[t,n])}connect_interface(t,...n){return n.length>0?this.exec("connect_interface",[t,...n]):this.exec("connect_interface",[t])}disconnect_interface(t){return this.exec("disconnect_interface",[t])}interface_cmd(t,n,...r){return this.exec("interface_cmd",[t,n,...r])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(t){return this.exec("connect_router",[t])}disconnect_router(t){return this.exec("disconnect_router",[t])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_tlm_cnts(t){return this.exec("get_tlm_cnts",[t])}get_item(t,n,r){return this.exec("get_item",[t,n,r])}get_param(t,n,r){return this.exec("get_param",[t,n,r])}get_parameter(t,n,r){return this.exec("get_param",[t,n,r])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(t){return this.exec("set_limits_set",[t])}get_target(t){return this.exec("get_target",[t])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_names",[])}get_tlm(t,n){return this.exec("get_tlm",[t,n])}get_telemetry(t,n){return this.exec("get_tlm",[t,n])}get_all_tlm(t){return this.exec("get_all_tlm",[t])}get_all_telemetry(t){return this.exec("get_all_tlm",[t])}get_all_tlm_names(t,n=!1){return this.exec("get_all_tlm_names",[t],{hidden:n})}get_all_telemetry_names(t){return this.exec("get_all_tlm_names",[t])}get_all_tlm_item_names(t){return this.exec("get_all_tlm_item_names",[t])}async get_tlm_packet(t,n,r,i=30){const o=await this.exec("get_tlm_packet",[t,n],{type:r,stale_time:i});if(o!=null){let s=o.length,a=null;for(let c=0;c<s;c++)a=this.decode_openc3_type(o[c][1]),a!==null&&(o[c][1]=a)}return o}get_packet_derived_items(t,n){return this.exec("get_packet_derived_items",[t,n])}get_tlm_buffer(t,n){return this.exec("get_tlm_buffer",[t,n])}async get_tlm_values(t,n=30,r=null){let i={stale_time:n};r!==null&&(i.cache_timeout=r);const o=await this.exec("get_tlm_values",[t],i,{},1e4);let s=o[0].length,a=null;for(let c=0;c<s;c++)a=this.decode_openc3_type(o[0][c]),a!==null&&(o[0][c]=a);return o}get_limits(t,n,r){return this.exec("get_limits",[t,n,r])}async tlm(t,n,r,i="CONVERTED"){let o=null;if(n===void 0)o=await this.exec("tlm",[t]);else if(r===void 0)if(["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(n))o=await this.exec("tlm",[t],{type:n});else{let a=new Error;throw a.name="TypeError",a.message=`Invalid data type ${n}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,a}else o=await this.exec("tlm",[t,n,r],{type:i});let s=this.decode_openc3_type(o);return s!==null&&(o=s),o}async inject_tlm(t,n,r=null,i="CONVERTED"){await this.exec("inject_tlm",[t,n,r],{type:i})}set_tlm(t,n,r,i){return this.exec("set_tlm",[t,n,r],{type:i})}override_tlm(t,n,r,i){return this.exec("override_tlm",[t,n,r],{type:i})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(t,n,r,i){return this.exec("normalize_tlm",[t,n,r],{type:i})}get_all_cmds(t){return this.exec("get_all_cmds",[t])}get_all_commands(t){return this.exec("get_all_cmds",[t])}get_all_cmd_names(t,n=!1){return this.exec("get_all_cmd_names",[t],{hidden:n})}get_all_command_names(t){return this.exec("get_all_cmd_names",[t])}get_cmd(t,n){return this.exec("get_cmd",[t,n])}get_command(t,n){return this.exec("get_cmd",[t,n])}get_cmd_cnts(t){return this.exec("get_cmd_cnts",[t])}get_cmd_value(t,n,r,i="CONVERTED"){return this.exec("get_cmd_value",[t,n,r,i])}get_cmd_buffer(t,n){return this.exec("get_cmd_buffer",[t,n])}_cmd(t,n,r,i,o){let s=null;for(let a in i)Object.prototype.hasOwnProperty.call(i,a)&&(s=this.encode_openc3_type(i[a]),s!==null&&(i[a]=s));return this.exec(t,[n,r,i],{},o)}get_cmd_hazardous(t,n,r,i={}){return n===void 0?this.exec("get_cmd_hazardous",t,{},i):this._cmd("get_cmd_hazardous",t,n,r,i)}cmd(t,n,r,i={}){return n===void 0?this.exec("cmd",t,{},i):this._cmd("cmd",t,n,r,i)}cmd_no_range_check(t,n,r,i={}){return n===void 0?this.exec("cmd_no_range_check",t,{},i):this._cmd("cmd_no_range_check",t,n,r,i)}cmd_raw(t,n,r,i={}){return n===void 0?this.exec("cmd_raw",t,{},i):this._cmd("cmd_raw",t,n,r,i)}cmd_raw_no_range_check(t,n,r,i={}){return n===void 0?this.exec("cmd_raw_no_range_check",t,{},i):this._cmd("cmd_raw_no_range_check",t,n,r,i)}cmd_no_hazardous_check(t,n,r,i={}){return n===void 0?this.exec("cmd_no_hazardous_check",t,{},i):this._cmd("cmd_no_hazardous_check",t,n,r,i)}cmd_no_checks(t,n,r,i={}){return n===void 0?this.exec("cmd_no_checks",t,{},i):this._cmd("cmd_no_checks",t,n,r,i)}cmd_raw_no_hazardous_check(t,n,r,i={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",t,{},i):this._cmd("cmd_raw_no_hazardous_check",t,n,r,i)}cmd_raw_no_checks(t,n,r,i={}){return n===void 0?this.exec("cmd_raw_no_checks",t,{},i):this._cmd("cmd_raw_no_checks",t,n,r,i)}build_cmd(t,n,r){return n===void 0?this.exec("build_cmd",t):this._cmd("build_cmd",t,n,r)}build_command(t,n,r){return n===void 0?this.exec("build_cmd",t):this._cmd("build_cmd",t,n,r)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(t,n){return this.exec("send_raw",[t,n])}list_configs(t){return this.exec("list_configs",[t])}load_config(t,n){return this.exec("load_config",[t,n])}save_config(t,n,r){return this.exec("save_config",[t,n,r])}delete_config(t,n){return this.exec("delete_config",[t,n])}enable_limits(t,n,r){return this.exec("enable_limits",[t,n,r])}disable_limits(t,n,r){return this.exec("disable_limits",[t,n,r])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(t){return this.exec("get_overall_limits_state",[t])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(t){return this.exec("get_setting",[t])}get_settings(t){return this.exec("get_settings",t)}set_setting(t,n){return this.exec("set_setting",[t,n])}update_news(){return this.exec("update_news",[])}save_setting(t,n){return this.exec("set_setting",[t,n])}get_metrics(){return this.exec("get_metrics",[])}async hashString(t){if(window.isSecureContext){const n=new TextEncoder().encode(t),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(o=>o.toString(16).padStart(2,"0")).join("")}}}const Qi={mixins:[dt],props:{item:{type:Object,required:!0}},data(){return{dataItem:this.item,stateValue:null,checkValue:!1}},created(){this.dataItem.states&&(this.stateValue=this.dataItem.states[this.dataItem.value]),this.isCheckbox&&(this.checkValue=this.stateValue===1)},computed:{isCheckbox:function(){let e=!0;if(this.dataItem.states)for(const t of Object.keys(this.dataItem.states))t!=="CHECKED"&&t!=="UNCHECKED"&&(e=!1);else e=!1;return e},itemStates:function(){let e=[];for(const[t,n]of Object.entries(this.dataItem.states))e.push({title:t,value:n});return e}},watch:{checkValue:function(){this.checkValue?this.$emit("change","CHECKED"):this.$emit("change","UNCHECKED")},stateValue:function(){let e=Object.keys(this.dataItem.states).find(t=>this.dataItem.states[t]===this.stateValue);this.$emit("change",e)}},methods:{textChange:function(e){this.dataItem.value=e,this.$emit("change",this.dataItem.value)},format:function(e){return e&&e.json_class==="String"&&e.raw!==void 0&&(this.dataItem.editable=!1),this.formatValueBase(e)}}};function Zi(e,t,n,r,i,o){const s=b("v-checkbox"),a=b("v-select"),c=b("v-text-field");return y(),U("td",null,[o.isCheckbox?(y(),A(s,{key:0,density:"compact","hide-details":"",modelValue:i.checkValue,"onUpdate:modelValue":t[0]||(t[0]=u=>i.checkValue=u),disabled:!i.dataItem.editable,"data-test":"table-item-checkbox"},null,8,["modelValue","disabled"])):i.dataItem.states?(y(),A(a,{key:1,density:"compact","hide-details":"",modelValue:i.stateValue,"onUpdate:modelValue":t[1]||(t[1]=u=>i.stateValue=u),items:o.itemStates,disabled:!i.dataItem.editable,"data-test":"table-item-select"},null,8,["modelValue","items","disabled"])):(y(),A(c,{key:2,variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"","onUpdate:modelValue":o.textChange,"model-value":o.format(i.dataItem.value),disabled:!i.dataItem.editable,"data-test":"table-item-text-field"},null,8,["onUpdate:modelValue","model-value","disabled"]))])}const eo={components:{TableItem:me(Qi,[["render",Zi]])},props:{items:{type:Object,required:!0}},data(){return{dataItems:this.items}},computed:{oneDimensional(){return this.dataItems.length===1}},methods:{onChange:function(e,t,n){this.$emit("change",{index:t,event:n})}}},to={class:"text-start"},no={key:0,class:"text-start"};function ro(e,t,n,r,i,o){const s=b("table-item");return y(),U("tr",null,[F("td",to,N(i.dataItems[0].index),1),o.oneDimensional?(y(),U("td",no,N(i.dataItems[0].name),1)):G("",!0),(y(!0),U(J,null,K(i.dataItems,(a,c)=>(y(),A(s,{key:a.name,item:a,onChange:le(u=>o.onChange(a,c,u),["self"])},null,8,["item","onChange"]))),128))])}const io={components:{TopBar:un,TableRow:me(eo,[["render",ro]]),FileOpenSaveDialog:En,SimpleTextDialog:Tn},data(){return{title:"Table Manager",search:"",curTab:null,tables:[],api:null,definition:null,fileInput:null,definitionFilename:"",fileNew:!1,filename:"",fileModified:"",lockedBy:null,fileOpen:!1,showSave:!1,showSaveAs:!1,showError:!1,errorTitle:"",errorText:"",uploadScript:null,downloadScript:null,scriptBackground:!0}},computed:{readOnly:function(){return!!this.lockedBy},fullFilename(){return`${this.filename} ${this.fileModified}`.trim()},menus:function(){return[{label:"File",items:[{label:"New File",icon:"mdi-file-plus",command:()=>{this.newFile()}},{label:"Open File",icon:"mdi-folder-open",command:()=>{this.openFile()}},{divider:!0},{label:"Save File",icon:"mdi-content-save",command:()=>{this.saveFile()}},{label:"Save As...",icon:"mdi-content-save",command:()=>{this.saveAs()}},{divider:!0},{label:"Delete File",icon:"mdi-delete",command:()=>{this.delete()}}]}]}},watch:{filename:function(e){let t=this.filename.split("/").slice(0,2).join("/")+"/procedures/upload",n=this.filename.split("/").slice(0,2).join("/")+"/procedures/download";L.get(`/openc3-api/tables/${t}.rb`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(r=>{this.uploadScript=`${t}.rb`}).catch(r=>{L.get(`/openc3-api/tables/${t}.py`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(i=>{this.uploadScript=`${t}.py`}).catch(i=>{this.uploadScript=null})}),L.get(`/openc3-api/tables/${n}.rb`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(r=>{this.downloadScript=`${n}.rb`}).catch(r=>{L.get(`/openc3-api/tables/${n}.py`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).then(i=>{this.downloadScript=`${n}.py`}).catch(i=>{this.downloadScript=null})})}},created(){this.api=new Yi,this.api.ensure_offline_access()},methods:{newFile:function(){this.fileModified="",this.fileNew=!0,this.fileOpen=!0},openFile:function(){this.fileOpen=!0},setFile:function({file:e,locked:t}){e.name.includes(".txt")?this.fileNew?(this.buildNewBinary(e.name),this.fileNew=!1):this.getDefinition(e.name):(this.unlockFile(),this.filename=e.name.split("*")[0],this.fileModified="",this.lockedBy=t,this.getDefinition())},setError(e){this.errorTitle="Error",this.errorText=`Error: ${e}`,this.errorText=response.data.message,this.showError=!0},saveFile:function(){this.showSave=!0;const e=new FormData;e.append("binary",this.filename),e.append("definition",this.definitionFilename),e.append("tables",JSON.stringify(this.tables)),L.post(`/openc3-api/tables/${this.filename}`,{data:e,headers:{"Content-Type":"multipart/form-data"}}).then(t=>{this.fileModified="",setTimeout(()=>{this.showSave=!1},2e3)}).catch(({response:t})=>{this.showSave=!1,this.errorTitle="Save Error",this.errorText=t.data.message,this.showError=!0}),this.lockFile()},saveAs:function(){this.showSaveAs=!0},saveAsFilename:function(e){L.put(`/openc3-api/tables/${this.filename}/save-as/${e}`).then(t=>{this.filename=e,this.getDefinition(this.definitionFilename)})},delete:function(){this.filename!==""&&this.$dialog.confirm(`Permanently delete file: ${this.filename}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>L.delete(`/openc3-api/tables/${this.filename}`,{data:{}})).then(e=>{this.tables=[],this.filename="",this.definitionFilename=""}).catch(e=>{})},downloadBinary:function(e=null){const t=new FormData;t.append("binary",this.filename),t.append("definition",this.definitionFilename),e!==null&&t.append("table_name",e),L.post("/openc3-api/tables/binary",{data:t,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{const r=window.atob(n.data.contents),i=new Uint8Array(r.length);for(let a=0;a<r.length;++a)i[a]=r.charCodeAt(a);const o=new Blob([i],{type:"application/octet-stream"}),s=document.createElement("a");s.href=URL.createObjectURL(o),s.setAttribute("download",n.data.filename),s.click()})},downloadDefinition:function(e=null){const t=new FormData;t.append("definition",this.definitionFilename),e!==null&&t.append("table_name",e),L.post("/openc3-api/tables/definition",{data:t,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{const r=new Blob([n.data.contents],{type:"text/plain"}),i=document.createElement("a");i.href=URL.createObjectURL(r),i.setAttribute("download",n.data.filename),i.click()})},downloadReport:function(e=null){const t=new FormData;t.append("binary",this.filename),t.append("definition",this.definitionFilename),e!==null&&t.append("table_name",e),L.post("/openc3-api/tables/report",{data:t,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{const r=`Binary: ${this.filename}
11
+ Definition: ${this.definitionFilename}
12
+
13
+ `,i=new Blob([r,n.data.contents],{type:"text/plain"}),o=document.createElement("a");o.href=URL.createObjectURL(i),o.setAttribute("download",n.data.filename),o.click()})},upload(){L.post(`/script-api/scripts/${this.uploadScript}/run`,{data:{environment:[{key:"TBL_FILENAME",value:this.filename}]}}).then(e=>{this.scriptBackground!==!0&&window.open(`/tools/scriptrunner/${e.data}`,"_blank")})},download(){this.$dialog.confirm(`Are you sure you want to overwrite ${this.filename}? You can Save As to create a new file and then Download to preserve the existing file. Note: Once the download completes you will need to re-open the file to see changes.`,{okText:"Download (Overwrite!)",cancelText:"Cancel"}).then(()=>{L.post(`/script-api/scripts/${this.downloadScript}/run`,{data:{environment:[{key:"TBL_FILENAME",value:this.filename}]}}).then(e=>{this.scriptBackground!==!0&&window.open(`/tools/scriptrunner/${e.data}`,"_blank")})}).catch(e=>{})},confirmLocalUnlock:function(){this.$dialog.confirm("Are you sure you want to unlock this file for editing? If another user is editing this file, your changes might conflict with each other.",{okText:"Force Unlock",cancelText:"Cancel"}).then(()=>(this.lockedBy=null,this.lockFile()))},lockFile:function(){return L.post(`/openc3-api/tables/${this.filename}/lock`)},unlockFile:function(){this.filename!==""&&!this.readOnly&&L.post(`/openc3-api/tables/${this.filename}/unlock`)},getDefinition:function(e=null){e||(e=this.filename.replace("/bin/","/config/").replace(".bin","_def.txt")),this.tables=[];const t=new FormData;t.append("binary",this.filename),t.append("definition",e),L.post("/openc3-api/tables/load",{data:t,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{this.definitionFilename=n.data.definition,this.tables=n.data.tables.map(r=>({...r,headers:r.headers.map((i,o)=>{const s={title:i,filterable:i!=="INDEX"};return r.numColumns===1?{...s,value:`[0].${i.toLowerCase()}`}:{...s,value:`[${o}].value`}})})),n.data.errors&&this.$notify.caution({title:"Warning",body:n.data.errors})}).catch(n=>{n.response.status==404?(this.$notify.normal({title:"Definition File Not Found",body:`Definition file ${e} not found. Please select definition file.`}),this.fileOpen=!0):this.$notify.serious({title:"Error",body:`Error loading due to ${n.response.statusText}. Status: ${n.response.status}`})})},buildNewBinary:function(e){const t=new FormData;t.append("definition",e),L.post("/openc3-api/tables/generate",{data:t,headers:{"Content-Type":"multipart/form-data"}}).then(n=>{this.filename=n.data.filename,this.getDefinition(e)})},onChange:function(e,{index:t,event:n}){this.fileModified="*",e[t].value=n}}},oo={style:{position:"absolute"},class:"ma-3"};function so(e,t,n,r,i,o){const s=b("top-bar"),a=b("v-file-input"),c=b("v-text-field"),u=b("v-col"),d=b("v-row"),f=b("v-icon"),_=b("v-btn"),p=b("v-checkbox"),w=b("v-tooltip"),m=b("v-card-text"),R=b("v-spacer"),k=b("v-card-title"),T=b("v-tab"),P=b("v-tabs"),W=b("table-row"),x=b("v-data-table"),B=b("v-tabs-window-item"),D=b("v-tabs-window"),z=b("v-card"),Y=b("file-open-save-dialog"),it=b("simple-text-dialog");return y(),U("div",null,[g(s,{menus:o.menus,title:i.title},null,8,["menus","title"]),g(a,{"show-size":"",modelValue:i.fileInput,"onUpdate:modelValue":t[0]||(t[0]=v=>i.fileInput=v),ref:"fileInput",accept:".bin","data-test":"file-input",style:{position:"fixed",top:"-100%"}},null,8,["modelValue"]),g(z,null,{default:h(()=>[g(m,null,{default:h(()=>[g(d,{dense:""},{default:h(()=>[g(u,{cols:"6"},{default:h(()=>[g(c,{variant:"outlined",density:"compact",readonly:"","hide-details":"",label:"Filename",modelValue:o.fullFilename,"onUpdate:modelValue":t[1]||(t[1]=v=>o.fullFilename=v),id:"filename",class:"filename","data-test":"filename"},null,8,["modelValue"])]),_:1}),g(u,{cols:"6"},{default:h(()=>[g(c,{variant:"outlined",density:"compact",readonly:"","hide-details":"",label:"Definition",modelValue:i.definitionFilename,"onUpdate:modelValue":t[2]||(t[2]=v=>i.definitionFilename=v),id:"definition-filename",class:"filename","data-test":"definition-filename"},null,8,["modelValue"])]),_:1})]),_:1}),g(d,{dense:""},{default:h(()=>[g(u,{cols:"auto",class:"mr-auto"},{default:h(()=>[t[25]||(t[25]=F("span",{class:"text-body-1 ma-2"},"File Download:",-1)),g(_,{dense:"",color:"primary",class:"mr-3",onClick:t[3]||(t[3]=v=>o.downloadBinary(null)),disabled:i.filename=="","data-test":"download-file-binary"},{default:h(()=>[t[20]||(t[20]=O(" Binary ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[19]||(t[19]=[O(" mdi-file-code ")])),_:1})]),_:1},8,["disabled"]),g(_,{dense:"",color:"primary",class:"mr-3",onClick:t[4]||(t[4]=v=>o.downloadDefinition(null)),disabled:i.filename=="","data-test":"download-file-definition"},{default:h(()=>[t[22]||(t[22]=O(" Definition ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[21]||(t[21]=[O(" mdi-file-document-edit ")])),_:1})]),_:1},8,["disabled"]),g(_,{dense:"",color:"primary",onClick:t[5]||(t[5]=v=>o.downloadReport(null)),disabled:i.filename=="","data-test":"download-file-report"},{default:h(()=>[t[24]||(t[24]=O(" Report ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[23]||(t[23]=[O(" mdi-file-document ")])),_:1})]),_:1},8,["disabled"])]),_:1}),g(u,{cols:"auto"},{default:h(()=>[g(_,{dense:"",color:"primary",onClick:t[6]||(t[6]=v=>o.upload()),disabled:!i.uploadScript,"data-test":"upload-file"},{default:h(()=>[t[27]||(t[27]=O(" Upload ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[26]||(t[26]=[O(" mdi-file-upload ")])),_:1})]),_:1},8,["disabled"])]),_:1}),g(u,{cols:"auto"},{default:h(()=>[g(_,{dense:"",color:"primary",onClick:t[7]||(t[7]=v=>o.download()),disabled:!i.downloadScript,"data-test":"download-file"},{default:h(()=>[t[29]||(t[29]=O(" Download ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[28]||(t[28]=[O(" mdi-file-download ")])),_:1})]),_:1},8,["disabled"])]),_:1}),g(u,{cols:"auto"},{default:h(()=>[g(w,{location:"top"},{activator:h(({props:v})=>[F("span",Ie(Pe(v)),[g(p,{modelValue:i.scriptBackground,"onUpdate:modelValue":t[8]||(t[8]=ne=>i.scriptBackground=ne),label:"B/G",class:"shrink mt-0","data-test":"upload-background"},null,8,["modelValue"])],16)]),default:h(()=>[t[30]||(t[30]=F("span",null,"Run upload download scripts in the background",-1))]),_:1})]),_:1})]),_:1})]),_:1}),g(k,{class:"d-flex align-center"},{default:h(()=>[t[31]||(t[31]=O(" Items ")),g(R),g(c,{modelValue:i.search,"onUpdate:modelValue":t[9]||(t[9]=v=>i.search=v),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),(y(),A(P,{modelValue:i.curTab,"onUpdate:modelValue":t[10]||(t[10]=v=>i.curTab=v),key:`v-tabs_${i.tables.length}`},{default:h(()=>[(y(!0),U(J,null,K(i.tables,(v,ne)=>(y(),A(T,{key:ne},{default:h(()=>[O(N(v.name),1)]),_:2},1024))),128))]),_:1},8,["modelValue"])),(y(),A(D,{modelValue:i.curTab,"onUpdate:modelValue":t[11]||(t[11]=v=>i.curTab=v),key:`v-tabs-window_${i.tables.length}`},{default:h(()=>[(y(!0),U(J,null,K(i.tables,(v,ne)=>(y(),A(B,{key:`${i.filename}${ne}`},{default:h(()=>[g(x,{headers:v.headers,items:v.rows,search:i.search,"items-per-page":20,"items-per-page-options":[10,20,50,100,-1],"multi-sort":"",density:"compact","data-test":v.name},ge({item:h(({item:$})=>[(y(),A(W,{items:$,key:$[0].name,onChange:le(S=>o.onChange($,S),["self"])},null,8,["items","onChange"]))]),_:2},[i.tables.length>1?{name:"tfoot",fn:h(()=>[F("div",oo,[t[38]||(t[38]=F("span",{class:"text-body-1 mr-3"},"Table Download:",-1)),g(_,{dense:"",color:"primary",class:"mr-3",onClick:$=>o.downloadBinary(v.name),disabled:i.filename=="","data-test":"download-table-binary"},{default:h(()=>[t[33]||(t[33]=O(" Binary ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[32]||(t[32]=[O(" mdi-file-code ")])),_:1})]),_:2},1032,["onClick","disabled"]),g(_,{dense:"",color:"primary",class:"mr-3",onClick:$=>o.downloadDefinition(v.name),disabled:i.filename=="","data-test":"download-table-definition"},{default:h(()=>[t[35]||(t[35]=O(" Definition ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[34]||(t[34]=[O(" mdi-file-document-edit ")])),_:1})]),_:2},1032,["onClick","disabled"]),g(_,{dense:"",color:"primary",onClick:$=>o.downloadReport(v.name),disabled:i.filename=="","data-test":"download-table-report"},{default:h(()=>[t[37]||(t[37]=O(" Report ")),g(f,{end:"",theme:"dark"},{default:h(()=>t[36]||(t[36]=[O(" mdi-file-document ")])),_:1})]),_:2},1032,["onClick","disabled"])])]),key:"0"}:void 0]),1032,["headers","items","search","data-test"])]),_:2},1024))),128))]),_:1},8,["modelValue"]))]),_:1}),i.fileOpen?(y(),A(Y,{key:0,modelValue:i.fileOpen,"onUpdate:modelValue":t[12]||(t[12]=v=>i.fileOpen=v),type:"open","api-url":"/openc3-api/tables",onFile:t[13]||(t[13]=v=>o.setFile(v)),onError:t[14]||(t[14]=v=>o.setError(v))},null,8,["modelValue"])):G("",!0),i.showSaveAs?(y(),A(Y,{key:1,modelValue:i.showSaveAs,"onUpdate:modelValue":t[15]||(t[15]=v=>i.showSaveAs=v),type:"save","require-target-parent-dir":"","api-url":"/openc3-api/tables","input-filename":i.filename,onFilename:t[16]||(t[16]=v=>o.saveAsFilename(v)),onError:t[17]||(t[17]=v=>o.setError(v))},null,8,["modelValue","input-filename"])):G("",!0),g(it,{modelValue:i.showError,"onUpdate:modelValue":t[18]||(t[18]=v=>i.showError=v),title:i.errorTitle,text:i.errorText},null,8,["modelValue","title","text"])])}const Ao=sn("default",me(io,[["render",so],["__scopeId","data-v-581bcfd1"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-1bc219fcc4bfc28dfaea.js","vue","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js"],function(w,E){"use strict";var c,a,r,s,n,u,d,l,m,h,p,g,v,x,y,f;return{setters:[e=>{c=e.d},e=>{a=e.resolveComponent,r=e.createElementBlock,s=e.openBlock,n=e.createVNode,u=e.normalizeStyle,d=e.normalizeClass,l=e.withCtx,m=e.Fragment,h=e.renderList,p=e.createBlock,g=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{y=e.P},null,e=>{f=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:y},data:function(){return{width:200,height:200}},mixins:[f],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,o,L,W,j,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),_=a("v-list"),N=a("v-menu"),T=a("details-dialog");return s(),r("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:d(t.valueClass),style:u([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(N,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(_,null,{default:l(()=>[(s(!0),r(m,null,h(t.contextMenuOptions,(i,z)=>(s(),p(B,{key:z,onClick:g(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(T,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":o[1]||(o[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const M=w("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-cfb11a01a4e0819f0115.js","vue","./main-2fe9a0af25d48afd561f.js","vue-router","single-spa","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.createBlock,s=e.openBlock,a=e.normalizeStyle},e=>{o=e.s},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,r,f,y,u,x){const m=l("v-text-field");return s(),n(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",o(e,[["render",c]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.createBlock,s=e.openBlock,a=e.normalizeStyle},e=>{o=e.d},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,r,y,f,u,x){const m=l("v-text-field");return s(),n(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const h=i("default",o(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","./main-1bc219fcc4bfc28dfaea.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,y){"use strict";var l,i,n,a,r,s,o;return{setters:[e=>{l=e.o},e=>{i=e.d,n=e.P},e=>{a=e.resolveComponent,r=e.createBlock,s=e.openBlock,o=e.normalizeStyle},null,null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,f,v,t,b){const h=a("v-text-field");return s(),r(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const V=m("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","vue-router","single-spa","vuex","vuetify"],function(a,p){"use strict";var t,r,n,l,o,s;return{setters:[e=>{t=e.o},e=>{r=e.createElementBlock,n=e.openBlock,l=e.normalizeStyle,o=e.toDisplayString},e=>{s=e.d},null,null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,y,d,f,x,u){return n(),r("div",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},o(u.labelText),5)}const m=a("default",s(e,[["render",i]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-2fe9a0af25d48afd561f.js","./Widget-fRCERxGf-cfb11a01a4e0819f0115.js"],function(S,T){"use strict";var w,_;return{setters:[p=>{w=p.P},p=>{_=p.o}],execute:function(){var p={},I;function k(){return I||(I=1,function(t){(function(){var s={not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(a){return E(V(a),arguments)}function x(a,u){return c.apply(null,[a].concat(u||[]))}function E(a,u){var i=1,h=a.length,e,o="",l,n,r,f,g,y,v,d;for(l=0;l<h;l++)if(typeof a[l]=="string")o+=a[l];else if(typeof a[l]=="object"){if(r=a[l],r.keys)for(e=u[i],n=0;n<r.keys.length;n++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[n],r.keys[n-1]));e=e[r.keys[n]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,f=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+f:g==="0"?d+f+e:f+d+e)}return o}var m=Object.create(null);function V(a){if(m[a])return m[a];for(var u=a,i,h=[],e=0;u;){if((i=s.text.exec(u))!==null)h.push(i[0]);else if((i=s.modulo.exec(u))!==null)h.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],n=[];if((n=s.key.exec(l))!==null)for(o.push(n[1]);(l=l.substring(n[0].length))!=="";)if((n=s.key_access.exec(l))!==null)o.push(n[1]);else if((n=s.index_access.exec(l))!==null)o.push(n[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");h.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return m[a]=h}t.sprintf=c,t.vsprintf=x,typeof window<"u"&&(window.sprintf=c,window.vsprintf=x)})()}(p)),p}k();const b={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}};S({k:b,L:{mixins:[_,w,b],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.toUpperCase().includes("PACKET_TIMEFORMATTED")||this.valueId.toUpperCase().includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}}})}}});
1
+ System.register(["./main-1bc219fcc4bfc28dfaea.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js"],function(x,T){"use strict";var w,_;return{setters:[p=>{w=p.P},p=>{_=p.o}],execute:function(){var p={},I;function k(){return I||(I=1,function(t){(function(){var s={not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(a){return V(E(a),arguments)}function S(a,u){return c.apply(null,[a].concat(u||[]))}function V(a,u){var i=1,h=a.length,e,o="",l,n,r,m,g,y,v,d;for(l=0;l<h;l++)if(typeof a[l]=="string")o+=a[l];else if(typeof a[l]=="object"){if(r=a[l],r.keys)for(e=u[i],n=0;n<r.keys.length;n++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[n],r.keys[n-1]));e=e[r.keys[n]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function E(a){if(f[a])return f[a];for(var u=a,i,h=[],e=0;u;){if((i=s.text.exec(u))!==null)h.push(i[0]);else if((i=s.modulo.exec(u))!==null)h.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],n=[];if((n=s.key.exec(l))!==null)for(o.push(n[1]);(l=l.substring(n[0].length))!=="";)if((n=s.key_access.exec(l))!==null)o.push(n[1]);else if((n=s.index_access.exec(l))!==null)o.push(n[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");h.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[a]=h}t.sprintf=c,t.vsprintf=S,typeof window<"u"&&(window.sprintf=c,window.vsprintf=S)})()}(p)),p}k();const b={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}};x({k:b,L:{mixins:[_,w,b],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.toUpperCase().includes("PACKET_TIMEFORMATTED")||this.valueId.toUpperCase().includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-1bc219fcc4bfc28dfaea.js","vue","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js"],function(C,A){"use strict";var c,a,o,r,d,n,l,m,u,p,v,g,h,f,x,y,V,k;return{setters:[e=>{c=e.d},e=>{a=e.resolveComponent,o=e.createElementBlock,r=e.openBlock,d=e.normalizeStyle,n=e.createVNode,l=e.withCtx,m=e.createElementVNode,u=e.toDisplayString,p=e.mergeProps,v=e.createSlots,g=e.Fragment,h=e.renderList,f=e.createBlock,x=e.withModifiers,y=e.createTextVNode},e=>{V=e.P},null,e=>{k=e.L},null,null,null,null],execute:function(){const S={components:{DetailsDialog:V},mixins:[k],data:function(){return{width:16}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+4,"ch",this.width)}};function D(t,i,j,I,z,w){const E=a("rux-status"),_=a("v-text-field"),N=a("v-tooltip"),T=a("v-list-item-title"),B=a("v-list-item"),L=a("v-list"),M=a("v-menu"),P=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,w.aging])},[n(N,{location:"top"},{activator:l(({props:s})=>[n(_,p({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},s),v({_:2},[t.astroStatus?{name:"prepend-inner",fn:l(()=>[n(E,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:l(()=>[m("span",null,u(w.fullName),1)]),_:1}),n(M,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=s=>t.contextMenuShown=s),target:[t.x,t.y],style:{"z-index":"3000"}},{default:l(()=>[n(L,null,{default:l(()=>[(r(!0),o(g,null,h(t.contextMenuOptions,(s,W)=>(r(),f(B,{key:W,onClick:x(s.action,["stop"])},{default:l(()=>[n(T,null,{default:l(()=>[y(u(s.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(P,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=s=>t.viewDetails=s)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const U=C("default",c(S,[["render",D],["__scopeId","data-v-c21e4dde"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js","./LimitsbarWidget-B9lAB2RD-46ce18c4a5dd690481e6.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue-router","vuex","vuetify","./BarColumn-C6p07yWK-b792c9c7d152d8e7eac0.js"],function(g,f){"use strict";var r,i,a,n,o,u,c,s,l,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{n=e.resolveComponent,o=e.createElementBlock,u=e.openBlock,c=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{m=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:r,LimitsbarWidget:i}};function d(t,B,W,b,j,V){const p=n("value-widget"),v=n("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(p,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(v,l(t.$attrs,{parameters:t.parameters.slice(0,3),settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const y=g("default",m(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js","./LimitscolumnWidget-CcLs_443-f29417bf8f4f674783bd.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue-router","vuex","vuetify","./BarColumn-C6p07yWK-b792c9c7d152d8e7eac0.js"],function(g,f){"use strict";var r,i,a,n,u,o,c,s,l,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{n=e.resolveComponent,u=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{m=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:r,LimitscolumnWidget:i}};function d(t,W,j,y,B,C){const p=n("limitscolumn-widget"),v=n("value-widget");return o(),u("div",{ref:"container",style:c(t.computedStyle)},[s(p,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(v,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const V=g("default",m(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-C6RanBj3-2f0a0c754e68ac6c14a2.js","./RangebarWidget-D_zGTtCa-3b37862085afd896c860.js","./Widget-oyqWpFXJ-c03892ad37a5994a2368.js","vue","./main-1bc219fcc4bfc28dfaea.js","./DetailsDialog-DmEC5BTs-1d5b2d4cb4d94c28fb08.js","single-spa","./VWidget-DQqb7NVW-d11f448dc9b15447843f.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,m,u,o,s,a,p;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,m=e.createElementBlock,u=e.openBlock,o=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{p=e.d},null,null,null,null,null,null],execute:function(){const e={mixins:[l],components:{ValueWidget:n,RangebarWidget:i},computed:{valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,V,W,j,x,c){const v=r("value-widget"),h=r("rangebar-widget");return u(),m("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[s(v,a(t.$attrs,{parameters:c.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(h,a(t.$attrs,{parameters:c.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const B=g("default",p(e,[["render",d]]))}}});