openc3-cosmos-tool-limitsmonitor 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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/tools/limitsmonitor/{ArrayWidget-BxEO5hEG-e31f0f4484a2486f09f1.js → ArrayWidget-BbsN1dzF-c495179477f8e0d53c28.js} +2 -2
  3. data/tools/limitsmonitor/{ArrayplotWidget-B_VPoV4v-6821c84c27dd083ac1d1.js → ArrayplotWidget-CCKEyYIx-93ff49cd8d0912a03d2c.js} +1 -1
  4. data/tools/limitsmonitor/{BarColumn-C9dkpg2O-39581cbfa1f879c54974.js → BarColumn-C6p07yWK-31348127e98f8a6d12c1.js} +1 -1
  5. data/tools/limitsmonitor/BlockWidget-DlCHbqZX-89e3ee63181cf8622ec6.js +2 -0
  6. data/tools/limitsmonitor/{ButtonWidget-B6HM0Doo-a16a575cb584e9fa4e76.js → ButtonWidget-CtfJzCBR-45f75e1b1d6357037f78.js} +2 -2
  7. data/tools/limitsmonitor/{CanvasWidget-DZQGG-yQ-10d8eac0fffcfa833076.js → CanvasWidget-CqRlXc4r-ce210af67ae7afaa7fa8.js} +1 -1
  8. data/tools/limitsmonitor/CanvasdotWidget--Xr_KsZs-aad0f9906cec5b300893.js +1 -0
  9. data/tools/limitsmonitor/{CanvasimageWidget-mhcPpAuN-41e2a29b0edc4df95ff6.js → CanvasimageWidget-BPlj5QYK-dfd47f06a39678f852fe.js} +1 -1
  10. data/tools/limitsmonitor/{CanvasimagevalueWidget-Cx-dH8Gc-362130c03797dc77b886.js → CanvasimagevalueWidget-DVFGLt8f-643ff4395f482f959685.js} +1 -1
  11. data/tools/limitsmonitor/CanvaslabelWidget-CYNqmyP0-7812308cdd08338ac612.js +1 -0
  12. data/tools/limitsmonitor/{CanvaslabelvalueWidget-CwmYDCjr-a41116ae5d9866dd1919.js → CanvaslabelvalueWidget-B7yIDmsn-9aeb47cfd72548060a57.js} +1 -1
  13. data/tools/limitsmonitor/CanvaslineWidget-BICdxX0Q-a319487ffd081aefe9f5.js +1 -0
  14. data/tools/limitsmonitor/{CanvaslinevalueWidget-C3sJnjLQ-9e8c71470959e0bec272.js → CanvaslinevalueWidget-Cq-Ddh0P-bb9e3b294170a647d857.js} +1 -1
  15. data/tools/limitsmonitor/CheckbuttonWidget-B74AWeaW-2f167e8846b85b0ddcc2.js +1 -0
  16. data/tools/limitsmonitor/ComboboxWidget-CtyKbEWb-812f099c7a3b392f778c.js +1 -0
  17. data/tools/limitsmonitor/DateWidget-BEVSczU8-dc1894a0c5648e14867e.js +1 -0
  18. data/tools/limitsmonitor/{DetailsDialog-BvbziA7Y-e0d047404b509f9a332a.js → DetailsDialog-DmEC5BTs-9861628031e7555d351a.js} +1 -1
  19. data/tools/limitsmonitor/{DynamicWidget-gFSYxzvT-9dd5d91d5fd21bf3c544.js → DynamicWidget-CfMtj7H8-365d3a085880c321f1b4.js} +1 -1
  20. data/tools/limitsmonitor/{FormatvalueWidget-CGpnTqVH-db0ad74712c1593651b8.js → FormatvalueWidget-DN12xymS-a9bf907de699d0fdbcde.js} +1 -1
  21. data/tools/limitsmonitor/Graph-Bgo0cjl3-a7da22d67a0ed8c014e3.js +1 -0
  22. data/tools/limitsmonitor/{GraphWidget-Dycey-mj-e8389f3f66fdbd36be56.js → GraphWidget-DurWDmpg-994d56a281d499d8b2ab.js} +1 -1
  23. data/tools/limitsmonitor/{HorizontalWidget-D31NRWy5-22fdf7eb72a77151f435.js → HorizontalWidget-Cd_wl1b3-92cc2909919966d788c8.js} +1 -1
  24. data/tools/limitsmonitor/HorizontalboxWidget-BcMTFBU--6963f78ca5443beb09e0.js +1 -0
  25. data/tools/limitsmonitor/HorizontallineWidget-CXFqHclf-a77cbdaeb53e2bc610eb.js +1 -0
  26. data/tools/limitsmonitor/{IframeWidget-Ctj8OIcG-8f0976dfff02f7bd2be8.js → IframeWidget-BPerHCCa-81d77f3fbeb0911acc9c.js} +1 -1
  27. data/tools/limitsmonitor/{ImageLoader-BrNrCBvi-214f2a947227da235be2.js → ImageLoader-4N-7Gj61-98d1112cba636616eb6e.js} +1 -1
  28. data/tools/limitsmonitor/ImageviewerWidget-Cw_H_HmZ-46732fea1911b36c2dc8.js +1 -0
  29. data/tools/limitsmonitor/{LabelWidget-t7I87dp7-b1bce124ab6dfdcfdb79.js → LabelWidget-xrmcVeq8-a934d4d4238473382002.js} +1 -1
  30. data/tools/limitsmonitor/LabelledWidget-D48QoyMk-9caf92dc0ac5571d755b.js +1 -0
  31. data/tools/limitsmonitor/LabelprogressbarWidget-C_950t6g-8a1e1905c0cf0f8fe6f8.js +1 -0
  32. data/tools/limitsmonitor/LabelsparklineWidget-0KXQyPoU-97378cc2e366f349ac56.js +1 -0
  33. data/tools/limitsmonitor/{LabelvalueWidget-Zx_yHCtl-3375343ec8ee890b72b4.js → LabelvalueWidget-CQ06wWDK-30c906574e27cb8385dc.js} +1 -1
  34. data/tools/limitsmonitor/{LabelvaluedescWidget-BBSBh4vI-d53b59b1e2deccea1538.js → LabelvaluedescWidget-Bo8zT01X-8c289d97f2ea7dba9732.js} +1 -1
  35. data/tools/limitsmonitor/{LabelvaluelimitsbarWidget-CZueHYWG-b22361dac809f4773b68.js → LabelvaluelimitsbarWidget-BucTw8Yk-bfeb50716d98e9ddec1c.js} +1 -1
  36. data/tools/limitsmonitor/LabelvaluelimitscolumnWidget-Dflb1hNd-5967e4a4dfe3bcb11e98.js +1 -0
  37. data/tools/limitsmonitor/{LabelvaluerangebarWidget-BhYTBgDq-6634816e2eed6be5844f.js → LabelvaluerangebarWidget-D8cbfXFM-5ac692a8dadeab461a9f.js} +1 -1
  38. data/tools/limitsmonitor/{Layout-Bh7VzCZd-4413af25199d52238484.js → Layout-Tf--nruw-3794f7b5e1017b913cf3.js} +1 -1
  39. data/tools/limitsmonitor/LedWidget-qH_FthkK-d2b7d713e37e9d7e88ad.js +1 -0
  40. data/tools/limitsmonitor/LimitsMonitor-a07e860ebc801f2d58cc.js +8 -0
  41. data/tools/limitsmonitor/{LimitsbarWidget-Djui0IpK-cd6dbfcb920ad694e290.js → LimitsbarWidget-B9lAB2RD-d1f3c0d80df43f4a7e74.js} +1 -1
  42. data/tools/limitsmonitor/{LimitscolorWidget-DdmvKzmx-55ba861629837a003f3f.js → LimitscolorWidget-c6Qa6su7-93d58ea47f21249a7338.js} +1 -1
  43. data/tools/limitsmonitor/{LimitscolumnWidget-Cc19IEjq-39521651b17801e047c6.js → LimitscolumnWidget-CcLs_443-c2b2e70c3855510b158a.js} +1 -1
  44. data/tools/limitsmonitor/LinegraphWidget-BSVYLFo1-adeeef7e9aba7dd8906e.js +1 -0
  45. data/tools/limitsmonitor/{MatrixbycolumnsWidget-DnExVRF8-92faefc2a65502ac2e67.js → MatrixbycolumnsWidget-DXFpZTre-465780941de5d363b0ff.js} +1 -1
  46. data/tools/limitsmonitor/{ProgressbarWidget-DIfqhHRE-bdd12fec51cf8e7b649b.js → ProgressbarWidget-iYGw8-Dc-293bd0c924cc415b0d0c.js} +1 -1
  47. data/tools/limitsmonitor/RadiobuttonWidget-ytmoVZ3u-80e5fb4c8cb8f6e5ed3a.js +1 -0
  48. data/tools/limitsmonitor/{RadiogroupWidget-Ci9sCX39-17b14106fd272ead1682.js → RadiogroupWidget-CusMBhKH-8df4b5d9f2ef4442ebd8.js} +1 -1
  49. data/tools/limitsmonitor/{RangebarWidget-CN0YuHqy-88743bd1380de6bf343b.js → RangebarWidget-D_zGTtCa-7cdd037c37cb8a65621c.js} +1 -1
  50. data/tools/limitsmonitor/{RollupWidget-y4jBtJB2-92d4588deeeaedbb860e.js → RollupWidget-Dolsixyt-7546f5d28b554fdae6f4.js} +1 -1
  51. data/tools/limitsmonitor/ScrollwindowWidget-DV2nZuNi-5ff53430c331f4801115.js +1 -0
  52. data/tools/limitsmonitor/{SignalWidget-DQ5Uc2uV-c4fbb81b6f18950d2679.js → SignalWidget-d9-6h85k-bd310137844a549adeab.js} +1 -1
  53. data/tools/limitsmonitor/SpacerWidget-BH0p2OLi-e6f492b59cfa0190cbf9.js +1 -0
  54. data/tools/limitsmonitor/{SparklineWidget-CZtvu2ss-39ab9fe829ecc18abd3e.js → SparklineWidget-coxi9r2g-9164fc82d9b2c83f575b.js} +1 -1
  55. data/tools/limitsmonitor/TabbookWidget-B1XKplGH-46efd3f390a99cc0e906.js +1 -0
  56. data/tools/limitsmonitor/TextboxWidget-C-_M2M4l-3de11b04c15a8e03f9ca.js +1 -0
  57. data/tools/limitsmonitor/{TextfieldWidget-Df0ANSiU-d97d295a642e9a4f48b5.js → TextfieldWidget-C08N4JE8-65fcd642f125946cec1b.js} +1 -1
  58. data/tools/limitsmonitor/TimeWidget-DtwdEcFg-ec26edfb1938b3db638b.js +1 -0
  59. data/tools/limitsmonitor/TitleWidget-CT-aLcNb-5a951d608bc4b8697b75.js +1 -0
  60. data/tools/limitsmonitor/{VWidget-C4spAawK-e511008555d8894be77e.js → VWidget-DQqb7NVW-ca9c28d1dcfbe431d7e0.js} +1 -1
  61. data/tools/limitsmonitor/ValueWidget-C6RanBj3-3dbf7e600c9cc7d32092.js +1 -0
  62. data/tools/limitsmonitor/ValuelimitsbarWidget-B3bvjfxc-e346a9a944d6ca0d2f62.js +1 -0
  63. data/tools/limitsmonitor/ValuelimitscolumnWidget-QvhI6EcE-16439d72c457ed922b0e.js +1 -0
  64. data/tools/limitsmonitor/ValuerangebarWidget-Dt3K9BnC-f593a92e1a860eae9828.js +1 -0
  65. data/tools/limitsmonitor/{VerticalWidget-D8jUFxjS-db7b4e6f9ee93e73fbb7.js → VerticalWidget-BIIViZgI-a9bf3384447d400268fd.js} +1 -1
  66. data/tools/limitsmonitor/VerticalboxWidget-DY72fLHW-ee0c7a861a85039033c7.js +1 -0
  67. data/tools/limitsmonitor/{Widget-fRCERxGf-d41f5679fd96d070d90a.js → Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.js} +1 -1
  68. data/tools/limitsmonitor/main-753f2fc61e5e6d5ec666.js +1497 -0
  69. data/tools/limitsmonitor/main.js +1 -1
  70. metadata +70 -73
  71. data/tools/limitsmonitor/BlockWidget-CuefOin6-f2aad9a9b939b131f5bd.js +0 -2
  72. data/tools/limitsmonitor/CanvasdotWidget-6wuCSnw_-f069c7d501e8114b7f14.js +0 -1
  73. data/tools/limitsmonitor/CanvaslabelWidget-CQZCeohU-8085970b16c467d2ee75.js +0 -1
  74. data/tools/limitsmonitor/CanvaslineWidget-nTP3fJB4-cdf4d24a4e567c54e127.js +0 -1
  75. data/tools/limitsmonitor/CheckbuttonWidget-5-8YDsQL-d3b9b54e25a9b0477d8a.js +0 -1
  76. data/tools/limitsmonitor/ComboboxWidget-DzBL8h9f-1cba297bf6160f9c2a0b.js +0 -1
  77. data/tools/limitsmonitor/DateWidget-CW7Od7lB-f86884bc1d161d0986a6.js +0 -1
  78. data/tools/limitsmonitor/Graph-3rkhFP3G-13f4b388c563c17ad7c7.js +0 -1
  79. data/tools/limitsmonitor/HorizontalboxWidget-Br8dSVHD-cc49c5aab1ec31d54365.js +0 -1
  80. data/tools/limitsmonitor/HorizontallineWidget-CbxREBYI-4980d0ab74230c46abac.js +0 -1
  81. data/tools/limitsmonitor/ImageviewerWidget-XrsqxmLo-ee30805a897e7426c5ba.js +0 -1
  82. data/tools/limitsmonitor/LabelledWidget-C7TDf92M-ae6b8a8d299d810c2a13.js +0 -1
  83. data/tools/limitsmonitor/LabelprogressbarWidget-wwLURt1u-5a1cfb7aebe8dc3e1da8.js +0 -1
  84. data/tools/limitsmonitor/LabelsparklineWidget-B3awLUyP-2a16839d17999d67d71b.js +0 -1
  85. data/tools/limitsmonitor/LabelvaluelimitscolumnWidget-BTvzyQMq-e38489d6fc917792b1c4.js +0 -1
  86. data/tools/limitsmonitor/LedWidget-CxJjJBBS-f9d36733386476faeb3d.js +0 -1
  87. data/tools/limitsmonitor/LimitsMonitor-1ef55350bb13530a31dc.js +0 -8
  88. data/tools/limitsmonitor/LinegraphWidget-BtieJxeL-c81aec0afa8ba97b1ed3.js +0 -1
  89. data/tools/limitsmonitor/RadiobuttonWidget-QzIkNP7m-63826adbac34bc93af4b.js +0 -1
  90. data/tools/limitsmonitor/ScrollwindowWidget-CBzYk4Y3-ffcb6bc0ee1f30748125.js +0 -1
  91. data/tools/limitsmonitor/SpacerWidget-6rsc_dSM-31909c974472171d748c.js +0 -1
  92. data/tools/limitsmonitor/TabbookWidget-DNALU0jl-bf3d37bf3ce9f3a159b0.js +0 -1
  93. data/tools/limitsmonitor/TextboxWidget-5hqPj74D-97c569569131217eb9ed.js +0 -1
  94. data/tools/limitsmonitor/TimeWidget-C6XQMUG2-f92b5453710475e02238.js +0 -1
  95. data/tools/limitsmonitor/TitleWidget-B9SPUlbW-fe2a55d5e41d2e182431.js +0 -1
  96. data/tools/limitsmonitor/ValueWidget-D4RrYVEK-aa11dca149c0ba475998.js +0 -1
  97. data/tools/limitsmonitor/ValuelimitsbarWidget-Bc9_Vj_f-752dc345d7ac993695d2.js +0 -1
  98. data/tools/limitsmonitor/ValuelimitscolumnWidget-DHKIL7sf-1ae0a39b4a01cfc0b938.js +0 -1
  99. data/tools/limitsmonitor/ValuerangebarWidget-CecQRIok-6ca9dde91df211b1b680.js +0 -1
  100. data/tools/limitsmonitor/VerticalboxWidget-B4eGUSYH-f45cf7c78ffc43f301bd.js +0 -1
  101. data/tools/limitsmonitor/main-198c84edc9d877ab9beb.js +0 -1421
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-3375343ec8ee890b72b4.js","./LimitsbarWidget-Djui0IpK-cd6dbfcb920ad694e290.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.js","vue","./main-198c84edc9d877ab9beb.js","./LabelWidget-t7I87dp7-b1bce124ab6dfdcfdb79.js","./ValueWidget-D4RrYVEK-aa11dca149c0ba475998.js","./DetailsDialog-BvbziA7Y-e0d047404b509f9a332a.js","single-spa","./VWidget-C4spAawK-e511008555d8894be77e.js","./BarColumn-C9dkpg2O-39581cbfa1f879c54974.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-30c906574e27cb8385dc.js","./LimitsbarWidget-B9lAB2RD-d1f3c0d80df43f4a7e74.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.js","./LabelWidget-xrmcVeq8-a934d4d4238473382002.js","./ValueWidget-C6RanBj3-3dbf7e600c9cc7d32092.js","./DetailsDialog-DmEC5BTs-9861628031e7555d351a.js","single-spa","./VWidget-DQqb7NVW-ca9c28d1dcfbe431d7e0.js","./BarColumn-C6p07yWK-31348127e98f8a6d12c1.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-a934d4d4238473382002.js","./ValueWidget-C6RanBj3-3dbf7e600c9cc7d32092.js","./LimitscolumnWidget-CcLs_443-c2b2e70c3855510b158a.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.js","./DetailsDialog-DmEC5BTs-9861628031e7555d351a.js","single-spa","./VWidget-DQqb7NVW-ca9c28d1dcfbe431d7e0.js","./BarColumn-C6p07yWK-31348127e98f8a6d12c1.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-3375343ec8ee890b72b4.js","./RangebarWidget-CN0YuHqy-88743bd1380de6bf343b.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.js","vue","./main-198c84edc9d877ab9beb.js","./LabelWidget-t7I87dp7-b1bce124ab6dfdcfdb79.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-D4RrYVEK-aa11dca149c0ba475998.js","./DetailsDialog-BvbziA7Y-e0d047404b509f9a332a.js","./VWidget-C4spAawK-e511008555d8894be77e.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-30c906574e27cb8385dc.js","./RangebarWidget-D_zGTtCa-7cdd037c37cb8a65621c.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.js","./LabelWidget-xrmcVeq8-a934d4d4238473382002.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-C6RanBj3-3dbf7e600c9cc7d32092.js","./DetailsDialog-DmEC5BTs-9861628031e7555d351a.js","./VWidget-DQqb7NVW-ca9c28d1dcfbe431d7e0.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-d41f5679fd96d070d90a.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-8ddc0c20a29aec6d8ea4.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-753f2fc61e5e6d5ec666.js","vue","./DetailsDialog-DmEC5BTs-9861628031e7555d351a.js","single-spa","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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"]]))}}});
@@ -0,0 +1,8 @@
1
+ System.register(["./main-753f2fc61e5e6d5ec666.js","vue","single-spa","./VWidget-DQqb7NVW-ca9c28d1dcfbe431d7e0.js","./ValueWidget-C6RanBj3-3dbf7e600c9cc7d32092.js","./IframeWidget-BPerHCCa-81d77f3fbeb0911acc9c.js","./ValuelimitsbarWidget-B3bvjfxc-e346a9a944d6ca0d2f62.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.js","./DetailsDialog-DmEC5BTs-9861628031e7555d351a.js","./LimitsbarWidget-B9lAB2RD-d1f3c0d80df43f4a7e74.js","./BarColumn-C6p07yWK-31348127e98f8a6d12c1.js"],function(yn,Os){"use strict";var at,ge,De,ct,lt,ut,y,P,k,dt,g,m,F,H,M,G,re,N,be,_e,Y,Ue,Fe,ht,ft;return{setters:[C=>{at=C.d,ge=C._,De=C.P,ct=C.a,lt=C.b,ut=C.y},C=>{y=C.resolveComponent,P=C.createBlock,k=C.openBlock,dt=C.Teleport,g=C.createVNode,m=C.withCtx,F=C.createElementVNode,H=C.toDisplayString,M=C.createElementBlock,G=C.Fragment,re=C.renderList,N=C.createTextVNode,be=C.mergeProps,_e=C.createSlots,Y=C.createCommentVNode,Ue=C.normalizeStyle,Fe=C.normalizeClass},null,null,C=>{ht=C.default},null,C=>{ft=C.default},null,null,null,null,null,null,null],execute:function(){var C=document.createElement("style");C.textContent=`.footer[data-v-de0d3583]{padding-top:5px}.v-input[data-v-de0d3583]{background-color:var(--color-background-base-default)}.textfield-green[data-v-de0d3583]{color:#00c800}.textfield-yellow[data-v-de0d3583]{color:#ffdc00}.textfield-red[data-v-de0d3583]{color:#ff2d2d}.limits-table[data-v-de0d3583]{margin-top:5px;margin-bottom:10px}.limits-table[data-v-de0d3583] th{font-weight:700;background-color:var(--color-background-base-default)}.card-height[data-v-210db24e]{height:calc(100vh - 150px)}
2
+ /*$vite$:1*/`,document.head.appendChild(C);const wn={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()},subMenuClick(t){t.command(t),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},vn={class:"app-title mr-2"};function Sn(t,e,n,r,i,s){const o=y("v-col"),a=y("v-row"),l=y("v-icon"),u=y("v-btn"),d=y("v-divider"),h=y("v-list-item-title"),b=y("v-list-item"),f=y("v-list"),w=y("v-menu"),p=y("v-radio"),A=y("v-list-item-action"),R=y("v-radio-group"),E=y("v-checkbox");return k(),P(dt,{to:"#openc3-menu"},[g(a,{"no-gutters":""},{default:m(()=>[g(o,{"align-self":"end"},{default:m(()=>[F("span",vn,H(n.title),1)]),_:1})]),_:1}),g(a,{dense:"",class:"flex-nowrap"},{default:m(()=>[(k(!0),M(G,null,re(n.menus,(O,V)=>(k(),P(w,{ref_for:!0,ref:"topmenu",key:V},{activator:m(({props:_})=>[g(u,be({ref_for:!0},_,{variant:"outlined",class:"mx-1 menu-button",text:O.label,"data-test":s.formatDT(`${n.title} ${O.label}`)}),{append:m(()=>[g(l,{class:"menu-button-icon"},{default:m(()=>e[0]||(e[0]=[N(" mdi-menu-down ")])),_:1})]),_:2},1040,["text","data-test"])]),default:m(()=>[g(f,null,{default:m(()=>[(k(!0),M(G,null,re(O.items,(_,j)=>(k(),M(G,null,[_.divider?(k(),P(d,{key:j+"-divider"})):_.subMenu&&_.subMenu.length>0?(k(),M("div",{key:j+"-submenu"},[(k(),P(w,{"open-on-hover":"",location:"right",key:j},{activator:m(({props:T})=>[(k(),P(b,be({ref_for:!0},T,{disabled:_.disabled,key:j}),_e({append:m(()=>[g(l,null,{default:m(()=>e[1]||(e[1]=[N(" mdi-chevron-right ")])),_:1})]),default:m(()=>[!_.radio&&!_.checkbox?(k(),P(h,{key:0,style:Ue("cursor: pointer;"+(_.disabled?"opacity: 0.2":""))},{default:m(()=>[N(H(_.label),1)]),_:2},1032,["style"])):Y("",!0)]),_:2},[_.icon?{name:"prepend",fn:m(()=>[g(l,{disabled:_.disabled},{default:m(()=>[N(H(_.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:m(()=>[g(f,null,{default:m(()=>[(k(!0),M(G,null,re(_.subMenu,(T,x)=>(k(),P(b,{key:x,"prepend-icon":T.icon,onClick:L=>s.subMenuClick(T)},{default:m(()=>[g(h,null,{default:m(()=>[N(H(T.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):_.radioGroup?(k(),P(R,{"model-value":_.value,"onUpdate:modelValue":_.command,key:j+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:m(()=>[(k(!0),M(G,null,re(_.choices,(T,x)=>(k(),P(b,{key:x+"-choice"},{default:m(()=>[g(A,{class:"list-action"},{default:m(()=>[g(p,{color:"secondary",label:T.label,value:T.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(k(),P(b,{onClick:T=>_.command(_),disabled:_.disabled,"data-test":s.formatDT(`${n.title} ${O.label} ${_.label}`),key:j+"-list"},_e({default:m(()=>[_.checkbox?(k(),P(A,{key:0,class:"list-action"},{default:m(()=>[g(E,{modelValue:_.checked,"onUpdate:modelValue":T=>_.checked=T,label:_.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):Y("",!0),!_.radio&&!_.checkbox?(k(),P(h,{key:1,style:Ue("cursor: pointer;"+(_.disabled?"opacity: 0.2":""))},{default:m(()=>[N(H(_.label),1)]),_:2},1032,["style"])):Y("",!0)]),_:2},[_.icon?{name:"prepend",fn:m(()=>[g(l,{icon:_.icon,disabled:_.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const En=at(wn,[["render",Sn],["__scopeId","data-v-4d454b93"]]);var xn=Object.defineProperty,Cn=(t,e,n)=>e in t?xn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ye=(t,e,n)=>Cn(t,typeof e!="symbol"?e+"":e,n);function pt(t,e){return function(){return t.apply(e,arguments)}}const{toString:On}=Object.prototype,{getPrototypeOf:Be}=Object,we=(t=>e=>{const n=On.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),z=t=>(t=t.toLowerCase(),e=>we(e)===t),ve=t=>e=>typeof e===t,{isArray:ie}=Array,ce=ve("undefined");function kn(t){return t!==null&&!ce(t)&&t.constructor!==null&&!ce(t.constructor)&&q(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const mt=z("ArrayBuffer");function Rn(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&mt(t.buffer),e}const An=ve("string"),q=ve("function"),gt=ve("number"),Se=t=>t!==null&&typeof t=="object",In=t=>t===!0||t===!1,Ee=t=>{if(we(t)!=="object")return!1;const e=Be(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Tn=z("Date"),Ln=z("File"),Pn=z("Blob"),Nn=z("FileList"),jn=t=>Se(t)&&q(t.pipe),Dn=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||q(t.append)&&((e=we(t))==="formdata"||e==="object"&&q(t.toString)&&t.toString()==="[object FormData]"))},Un=z("URLSearchParams"),[Fn,Bn,$n,qn]=["ReadableStream","Request","Response","Headers"].map(z),Vn=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function le(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),ie(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const s=n?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;let a;for(r=0;r<o;r++)a=s[r],e.call(null,t[a],a,t)}}function bt(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const Z=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_t=t=>!ce(t)&&t!==Z;function $e(){const{caseless:t}=_t(this)&&this||{},e={},n=(r,i)=>{const s=t&&bt(e,i)||i;Ee(e[s])&&Ee(r)?e[s]=$e(e[s],r):Ee(r)?e[s]=$e({},r):ie(r)?e[s]=r.slice():e[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&le(arguments[r],n);return e}const Mn=(t,e,n,{allOwnKeys:r}={})=>(le(e,(i,s)=>{n&&q(i)?t[s]=pt(i,n):t[s]=i},{allOwnKeys:r}),t),zn=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Wn=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Jn=(t,e,n,r)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Be(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Hn=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},Kn=t=>{if(!t)return null;if(ie(t))return t;let e=t.length;if(!gt(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Gn=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Be(Uint8Array)),Yn=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const i=r.value;e.call(t,i[0],i[1])}},Zn=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Xn=z("HTMLFormElement"),Qn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),yt=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),er=z("RegExp"),wt=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};le(n,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(r[s]=o||i)}),Object.defineProperties(t,r)},tr=t=>{wt(t,(e,n)=>{if(q(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(q(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nr=(t,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ie(t)?r(t):r(String(t).split(e)),n},rr=()=>{},ir=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function sr(t){return!!(t&&q(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const or=t=>{const e=new Array(10),n=(r,i)=>{if(Se(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const s=ie(r)?[]:{};return le(r,(o,a)=>{const l=n(o,i+1);!ce(l)&&(s[a]=l)}),e[i]=void 0,s}}return r};return n(t,0)},ar=z("AsyncFunction"),cr=t=>t&&(Se(t)||q(t))&&q(t.then)&&q(t.catch),vt=((t,e)=>t?setImmediate:e?((n,r)=>(Z.addEventListener("message",({source:i,data:s})=>{i===Z&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Z.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",q(Z.postMessage)),lr=typeof queueMicrotask<"u"?queueMicrotask.bind(Z):typeof process<"u"&&process.nextTick||vt,c={isArray:ie,isArrayBuffer:mt,isBuffer:kn,isFormData:Dn,isArrayBufferView:Rn,isString:An,isNumber:gt,isBoolean:In,isObject:Se,isPlainObject:Ee,isReadableStream:Fn,isRequest:Bn,isResponse:$n,isHeaders:qn,isUndefined:ce,isDate:Tn,isFile:Ln,isBlob:Pn,isRegExp:er,isFunction:q,isStream:jn,isURLSearchParams:Un,isTypedArray:Gn,isFileList:Nn,forEach:le,merge:$e,extend:Mn,trim:Vn,stripBOM:zn,inherits:Wn,toFlatObject:Jn,kindOf:we,kindOfTest:z,endsWith:Hn,toArray:Kn,forEachEntry:Yn,matchAll:Zn,isHTMLForm:Xn,hasOwnProperty:yt,hasOwnProp:yt,reduceDescriptors:wt,freezeMethods:tr,toObjectSet:nr,toCamelCase:Qn,noop:rr,toFiniteNumber:ir,findKey:bt,global:Z,isContextDefined:_t,isSpecCompliantForm:sr,toJSONObject:or,isAsyncFn:ar,isThenable:cr,setImmediate:vt,asap:lr};function v(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}c.inherits(v,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.status}}});const St=v.prototype,Et={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Et[t]={value:t}}),Object.defineProperties(v,Et),Object.defineProperty(St,"isAxiosError",{value:!0}),v.from=(t,e,n,r,i,s)=>{const o=Object.create(St);return c.toFlatObject(t,o,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),v.call(o,t.message,e,n,r,i),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};const ur=null;function qe(t){return c.isPlainObject(t)||c.isArray(t)}function xt(t){return c.endsWith(t,"[]")?t.slice(0,-2):t}function Ct(t,e,n){return t?t.concat(e).map(function(r,i){return r=xt(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function dr(t){return c.isArray(t)&&!t.some(qe)}const hr=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function xe(t,e,n){if(!c.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,w){return!c.isUndefined(w[f])});const r=n.metaTokens,i=n.visitor||u,s=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(e);if(!c.isFunction(i))throw new TypeError("visitor must be a function");function l(f){if(f===null)return"";if(c.isDate(f))return f.toISOString();if(!a&&c.isBlob(f))throw new v("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(f)||c.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function u(f,w,p){let A=f;if(f&&!p&&typeof f=="object"){if(c.endsWith(w,"{}"))w=r?w:w.slice(0,-2),f=JSON.stringify(f);else if(c.isArray(f)&&dr(f)||(c.isFileList(f)||c.endsWith(w,"[]"))&&(A=c.toArray(f)))return w=xt(w),A.forEach(function(R,E){!(c.isUndefined(R)||R===null)&&e.append(o===!0?Ct([w],E,s):o===null?w:w+"[]",l(R))}),!1}return qe(f)?!0:(e.append(Ct(p,w,s),l(f)),!1)}const d=[],h=Object.assign(hr,{defaultVisitor:u,convertValue:l,isVisitable:qe});function b(f,w){if(!c.isUndefined(f)){if(d.indexOf(f)!==-1)throw Error("Circular reference detected in "+w.join("."));d.push(f),c.forEach(f,function(p,A){(!(c.isUndefined(p)||p===null)&&i.call(e,p,c.isString(A)?A.trim():A,w,h))===!0&&b(p,w?w.concat(A):[A])}),d.pop()}}if(!c.isObject(t))throw new TypeError("data must be an object");return b(t),e}function Ot(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Ve(t,e){this._pairs=[],t&&xe(t,this,e)}const kt=Ve.prototype;kt.append=function(t,e){this._pairs.push([t,e])},kt.toString=function(t){const e=t?function(n){return t.call(this,n,Ot)}:Ot;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function fr(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rt(t,e,n){if(!e)return t;const r=n&&n.encode||fr;c.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let s;if(i?s=i(e,n):s=c.isURLSearchParams(e)?e.toString():new Ve(e,n).toString(r),s){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class At{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){c.forEach(this.handlers,function(n){n!==null&&e(n)})}}const It={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pr=typeof URLSearchParams<"u"?URLSearchParams:Ve,mr=typeof FormData<"u"?FormData:null,gr=typeof Blob<"u"?Blob:null,br={isBrowser:!0,classes:{URLSearchParams:pr,FormData:mr,Blob:gr},protocols:["http","https","file","blob","url","data"]},Me=typeof window<"u"&&typeof document<"u",ze=typeof navigator=="object"&&navigator||void 0,_r=Me&&(!ze||["ReactNative","NativeScript","NS"].indexOf(ze.product)<0),yr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",wr=Me&&window.location.href||"http://localhost",vr=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Me,hasStandardBrowserEnv:_r,hasStandardBrowserWebWorkerEnv:yr,navigator:ze,origin:wr},Symbol.toStringTag,{value:"Module"})),U={...vr,...br};function Sr(t,e){return xe(t,new U.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return U.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Er(t){return c.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function xr(t){const e={},n=Object.keys(t);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],e[s]=t[s];return e}function Tt(t){function e(n,r,i,s){let o=n[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),l=s>=n.length;return o=!o&&c.isArray(i)?i.length:o,l?(c.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!c.isObject(i[o]))&&(i[o]=[]),e(n,r,i[o],s)&&c.isArray(i[o])&&(i[o]=xr(i[o])),!a)}if(c.isFormData(t)&&c.isFunction(t.entries)){const n={};return c.forEachEntry(t,(r,i)=>{e(Er(r),i,n,0)}),n}return null}function Cr(t,e,n){if(c.isString(t))try{return(e||JSON.parse)(t),c.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const ue={transitional:It,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=c.isObject(t);if(i&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return r?JSON.stringify(Tt(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t)||c.isReadableStream(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Sr(t,this.formSerializer).toString();if((s=c.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return xe(s?{"files[]":t}:t,o&&new o,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),Cr(t)):t}],transformResponse:[function(t){const e=this.transitional||ue.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(c.isResponse(t)||c.isReadableStream(t))return t;if(t&&c.isString(t)&&(n&&!this.responseType||r)){const i=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?v.from(s,v.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:U.classes.FormData,Blob:U.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],t=>{ue.headers[t]={}});const Or=c.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"]),kr=t=>{const e={};let n,r,i;return t&&t.split(`
3
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||e[n]&&Or[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Lt=Symbol("internals");function de(t){return t&&String(t).trim().toLowerCase()}function Ce(t){return t===!1||t==null?t:c.isArray(t)?t.map(Ce):String(t)}function Rr(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Ar=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function We(t,e,n,r,i){if(c.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!c.isString(e)){if(c.isString(r))return e.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(e)}}function Ir(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Tr(t,e){const n=c.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,s,o){return this[r].call(this,e,i,s,o)},configurable:!0})})}let B=class{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(o,a,l){const u=de(a);if(!u)throw new Error("header name must be a non-empty string");const d=c.findKey(r,u);(!d||r[d]===void 0||l===!0||l===void 0&&r[d]!==!1)&&(r[d||a]=Ce(o))}const s=(o,a)=>c.forEach(o,(l,u)=>i(l,u,a));if(c.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(c.isString(t)&&(t=t.trim())&&!Ar(t))s(kr(t),e);else if(c.isHeaders(t))for(const[o,a]of t.entries())i(a,o,n);else t!=null&&i(e,t,n);return this}get(t,e){if(t=de(t),t){const n=c.findKey(this,t);if(n){const r=this[n];if(!e)return r;if(e===!0)return Rr(r);if(c.isFunction(e))return e.call(this,r,n);if(c.isRegExp(e))return e.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=de(t),t){const n=c.findKey(this,t);return!!(n&&this[n]!==void 0&&(!e||We(this,this[n],n,e)))}return!1}delete(t,e){const n=this;let r=!1;function i(s){if(s=de(s),s){const o=c.findKey(n,s);o&&(!e||We(n,n[o],o,e))&&(delete n[o],r=!0)}}return c.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];(!t||We(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return c.forEach(this,(r,i)=>{const s=c.findKey(n,i);if(s){e[s]=Ce(r),delete e[i];return}const o=t?Ir(i):String(i).trim();o!==i&&delete e[i],e[o]=Ce(r),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return c.forEach(this,(n,r)=>{n!=null&&n!==!1&&(e[r]=t&&c.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(`
4
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach(r=>n.set(r)),n}static accessor(t){const e=(this[Lt]=this[Lt]={accessors:{}}).accessors,n=this.prototype;function r(i){const s=de(i);e[s]||(Tr(n,i),e[s]=!0)}return c.isArray(t)?t.forEach(r):r(t),this}};B.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),c.reduceDescriptors(B.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),c.freezeMethods(B);function Je(t,e){const n=this||ue,r=e||n,i=B.from(r.headers);let s=r.data;return c.forEach(t,function(o){s=o.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function Pt(t){return!!(t&&t.__CANCEL__)}function se(t,e,n){v.call(this,t??"canceled",v.ERR_CANCELED,e,n),this.name="CanceledError"}c.inherits(se,v,{__CANCEL__:!0});function Nt(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new v("Request failed with status code "+n.status,[v.ERR_BAD_REQUEST,v.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Lr(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Pr(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),u=r[s];o||(o=l),n[i]=a,r[i]=l;let d=s,h=0;for(;d!==i;)h+=n[d++],d=d%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),l-o<e)return;const b=u&&l-u;return b?Math.round(h*1e3/b):void 0}}function Nr(t,e){let n=0,r=1e3/e,i,s;const o=(a,l=Date.now())=>{n=l,i=null,s&&(clearTimeout(s),s=null),t.apply(null,a)};return[(...a)=>{const l=Date.now(),u=l-n;u>=r?o(a,l):(i=a,s||(s=setTimeout(()=>{s=null,o(i)},r-u)))},()=>i&&o(i)]}const Oe=(t,e,n=3)=>{let r=0;const i=Pr(50,250);return Nr(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-r,u=i(l),d=o<=a;r=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&d?(a-o)/u:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(h)},n)},jt=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Dt=t=>(...e)=>c.asap(()=>t(...e)),jr=U.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,U.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(U.origin),U.navigator&&/(msie|trident)/i.test(U.navigator.userAgent)):()=>!0,Dr=U.hasStandardBrowserEnv?{write(t,e,n,r,i,s){const o=[t+"="+encodeURIComponent(e)];c.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),c.isString(r)&&o.push("path="+r),c.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ur(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Fr(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Ut(t,e,n){let r=!Ur(e);return t&&(r||n==!1)?Fr(t,e):e}const Ft=t=>t instanceof B?{...t}:t;function X(t,e){e=e||{};const n={};function r(u,d,h,b){return c.isPlainObject(u)&&c.isPlainObject(d)?c.merge.call({caseless:b},u,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function i(u,d,h,b){if(c.isUndefined(d)){if(!c.isUndefined(u))return r(void 0,u,h,b)}else return r(u,d,h,b)}function s(u,d){if(!c.isUndefined(d))return r(void 0,d)}function o(u,d){if(c.isUndefined(d)){if(!c.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,h){if(h in e)return r(u,d);if(h in t)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,d,h)=>i(Ft(u),Ft(d),h,!0)};return c.forEach(Object.keys(Object.assign({},t,e)),function(u){const d=l[u]||i,h=d(t[u],e[u],u);c.isUndefined(h)&&d!==a||(n[u]=h)}),n}const Bt=t=>{const e=X({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=e;e.headers=o=B.from(o),e.url=Rt(Ut(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(c.isFormData(n)){if(U.hasStandardBrowserEnv||U.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...d]=l?l.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...d].join("; "))}}if(U.hasStandardBrowserEnv&&(r&&c.isFunction(r)&&(r=r(e)),r||r!==!1&&jr(e.url))){const u=i&&s&&Dr.read(s);u&&o.set(i,u)}return e},Br=typeof XMLHttpRequest<"u",$r=Br&&function(t){return new Promise(function(e,n){const r=Bt(t);let i=r.data;const s=B.from(r.headers).normalize();let{responseType:o,onUploadProgress:a,onDownloadProgress:l}=r,u,d,h,b,f;function w(){b&&b(),f&&f(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(r.method.toUpperCase(),r.url,!0),p.timeout=r.timeout;function A(){if(!p)return;const E=B.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),O={data:!o||o==="text"||o==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:E,config:t,request:p};Nt(function(V){e(V),w()},function(V){n(V),w()},O),p=null}"onloadend"in p?p.onloadend=A:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(A)},p.onabort=function(){p&&(n(new v("Request aborted",v.ECONNABORTED,t,p)),p=null)},p.onerror=function(){n(new v("Network Error",v.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let E=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const O=r.transitional||It;r.timeoutErrorMessage&&(E=r.timeoutErrorMessage),n(new v(E,O.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,t,p)),p=null},i===void 0&&s.setContentType(null),"setRequestHeader"in p&&c.forEach(s.toJSON(),function(E,O){p.setRequestHeader(O,E)}),c.isUndefined(r.withCredentials)||(p.withCredentials=!!r.withCredentials),o&&o!=="json"&&(p.responseType=r.responseType),l&&([h,f]=Oe(l,!0),p.addEventListener("progress",h)),a&&p.upload&&([d,b]=Oe(a),p.upload.addEventListener("progress",d),p.upload.addEventListener("loadend",b)),(r.cancelToken||r.signal)&&(u=E=>{p&&(n(!E||E.type?new se(null,t,p):E),p.abort(),p=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const R=Lr(r.url);if(R&&U.protocols.indexOf(R)===-1){n(new v("Unsupported protocol "+R+":",v.ERR_BAD_REQUEST,t));return}p.send(i||null)})},qr=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i;const s=function(u){if(!i){i=!0,a();const d=u instanceof Error?u:this.reason;r.abort(d instanceof v?d:new se(d instanceof Error?d.message:d))}};let o=e&&setTimeout(()=>{o=null,s(new v(`timeout ${e} of ms exceeded`,v.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),t=null)};t.forEach(u=>u.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>c.asap(a),l}},Vr=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},Mr=async function*(t,e){for await(const n of zr(t))yield*Vr(n,e)},zr=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},$t=(t,e,n,r)=>{const i=Mr(t,e);let s=0,o,a=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await i.next();if(u){a(),l.close();return}let h=d.byteLength;if(n){let b=s+=h;n(b)}l.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},ke=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qt=ke&&typeof ReadableStream=="function",Wr=ke&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Vt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Jr=qt&&Vt(()=>{let t=!1;const e=new Request(U.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Mt=64*1024,He=qt&&Vt(()=>c.isReadableStream(new Response("").body)),Re={stream:He&&(t=>t.body)};ke&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Re[e]&&(Re[e]=c.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new v(`Response type '${e}' is not supported`,v.ERR_NOT_SUPPORT,r)})})})(new Response);const Hr=async t=>{if(t==null)return 0;if(c.isBlob(t))return t.size;if(c.isSpecCompliantForm(t))return(await new Request(U.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(c.isArrayBufferView(t)||c.isArrayBuffer(t))return t.byteLength;if(c.isURLSearchParams(t)&&(t=t+""),c.isString(t))return(await Wr(t)).byteLength},Kr=async(t,e)=>c.toFiniteNumber(t.getContentLength())??Hr(e),Gr=ke&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:d,withCredentials:h="same-origin",fetchOptions:b}=Bt(t);u=u?(u+"").toLowerCase():"text";let f=qr([i,s&&s.toAbortSignal()],o),w;const p=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let A;try{if(l&&Jr&&n!=="get"&&n!=="head"&&(A=await Kr(d,r))!==0){let _=new Request(e,{method:"POST",body:r,duplex:"half"}),j;if(c.isFormData(r)&&(j=_.headers.get("content-type"))&&d.setContentType(j),_.body){const[T,x]=jt(A,Oe(Dt(l)));r=$t(_.body,Mt,T,x)}}c.isString(h)||(h=h?"include":"omit");const R="credentials"in Request.prototype;w=new Request(e,{...b,signal:f,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:R?h:void 0});let E=await fetch(w);const O=He&&(u==="stream"||u==="response");if(He&&(a||O&&p)){const _={};["status","statusText","headers"].forEach(L=>{_[L]=E[L]});const j=c.toFiniteNumber(E.headers.get("content-length")),[T,x]=a&&jt(j,Oe(Dt(a),!0))||[];E=new Response($t(E.body,Mt,T,()=>{x&&x(),p&&p()}),_)}u=u||"text";let V=await Re[c.findKey(Re,u)||"text"](E,t);return!O&&p&&p(),await new Promise((_,j)=>{Nt(_,j,{data:V,headers:B.from(E.headers),status:E.status,statusText:E.statusText,config:t,request:w})})}catch(R){throw p&&p(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new v("Network Error",v.ERR_NETWORK,t,w),{cause:R.cause||R}):v.from(R,R&&R.code,t,w)}}),Ke={http:ur,xhr:$r,fetch:Gr};c.forEach(Ke,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const zt=t=>`- ${t}`,Yr=t=>c.isFunction(t)||t===null||t===!1,Wt={getAdapter:t=>{t=c.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let s=0;s<e;s++){n=t[s];let o;if(r=n,!Yr(n)&&(r=Ke[(o=String(n)).toLowerCase()],r===void 0))throw new v(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+s]=r}if(!r){const s=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?`since :
5
+ `+s.map(zt).join(`
6
+ `):" "+zt(s[0]):"as no adapter specified";throw new v("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ke};function Ge(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new se(null,t)}function Jt(t){return Ge(t),t.headers=B.from(t.headers),t.data=Je.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Wt.getAdapter(t.adapter||ue.adapter)(t).then(function(e){return Ge(t),e.data=Je.call(t,t.transformResponse,e),e.headers=B.from(e.headers),e},function(e){return Pt(e)||(Ge(t),e&&e.response&&(e.response.data=Je.call(t,t.transformResponse,e.response),e.response.headers=B.from(e.response.headers))),Promise.reject(e)})}const Ht="1.8.4",Ae={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ae[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Kt={};Ae.transitional=function(t,e,n){function r(i,s){return"[Axios v"+Ht+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,o)=>{if(t===!1)throw new v(r(s," has been removed"+(e?" in "+e:"")),v.ERR_DEPRECATED);return e&&!Kt[s]&&(Kt[s]=!0,console.warn(r(s," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(i,s,o):!0}},Ae.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Zr(t,e,n){if(typeof t!="object")throw new v("options must be an object",v.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const s=r[i],o=e[s];if(o){const a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new v("option "+s+" must be "+l,v.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new v("Unknown option "+s,v.ERR_BAD_OPTION)}}const Ie={assertOptions:Zr,validators:Ae},K=Ie.validators;let Q=class{constructor(t){this.defaults=t,this.interceptors={request:new At,response:new At}}async request(t,e){try{return await this._request(t,e)}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+=`
7
+ `+i):n.stack=i}catch{}}throw n}}_request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=X(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;n!==void 0&&Ie.assertOptions(n,{silentJSONParsing:K.transitional(K.boolean),forcedJSONParsing:K.transitional(K.boolean),clarifyTimeoutError:K.transitional(K.boolean)},!1),r!=null&&(c.isFunction(r)?e.paramsSerializer={serialize:r}:Ie.assertOptions(r,{encode:K.function,serialize:K.function},!0)),e.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),Ie.assertOptions(e,{baseUrl:K.spelling("baseURL"),withXsrfToken:K.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let s=i&&c.merge(i.common,i[e.method]);i&&c.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),e.headers=B.concat(s,i);const o=[];let a=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(e)===!1||(a=a&&f.synchronous,o.unshift(f.fulfilled,f.rejected))});const l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});let u,d=0,h;if(!a){const f=[Jt.bind(this),void 0];for(f.unshift.apply(f,o),f.push.apply(f,l),h=f.length,u=Promise.resolve(e);d<h;)u=u.then(f[d++],f[d++]);return u}h=o.length;let b=e;for(d=0;d<h;){const f=o[d++],w=o[d++];try{b=f(b)}catch(p){w.call(this,p);break}}try{u=Jt.call(this,b)}catch(f){return Promise.reject(f)}for(d=0,h=l.length;d<h;)u=u.then(l[d++],l[d++]);return u}getUri(t){t=X(this.defaults,t);const e=Ut(t.baseURL,t.url,t.allowAbsoluteUrls);return Rt(e,t.params,t.paramsSerializer)}};c.forEach(["delete","get","head","options"],function(t){Q.prototype[t]=function(e,n){return this.request(X(n||{},{method:t,url:e,data:(n||{}).data}))}}),c.forEach(["post","put","patch"],function(t){function e(n){return function(r,i,s){return this.request(X(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Q.prototype[t]=e(),Q.prototype[t+"Form"]=e(!0)});let Xr=class _n{constructor(e){if(typeof e!="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 s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},e(function(i,s,o){r.reason||(r.reason=new se(i,s,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new _n(function(n){e=n}),cancel:e}}};function Qr(t){return function(e){return t.apply(null,e)}}function ei(t){return c.isObject(t)&&t.isAxiosError===!0}const Ye={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(Ye).forEach(([t,e])=>{Ye[e]=t});function Gt(t){const e=new Q(t),n=pt(Q.prototype.request,e);return c.extend(n,Q.prototype,e,{allOwnKeys:!0}),c.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return Gt(X(t,r))},n}const I=Gt(ue);I.Axios=Q,I.CanceledError=se,I.CancelToken=Xr,I.isCancel=Pt,I.VERSION=Ht,I.toFormData=xe,I.AxiosError=v,I.Cancel=I.CanceledError,I.all=function(t){return Promise.all(t)},I.spread=Qr,I.isAxiosError=ei,I.mergeConfig=X,I.AxiosHeaders=B,I.formToJSON=t=>Tt(c.isHTMLForm(t)?new FormData(t):t),I.getAdapter=Wt.getAdapter,I.HttpStatusCode=Ye,I.default=I;const{Axios:ks,AxiosError:Rs,CanceledError:As,isCancel:Is,CancelToken:Ts,VERSION:Ls,all:Ps,Cancel:Ns,isAxiosError:js,spread:Ds,toFormData:Us,AxiosHeaders:Fs,HttpStatusCode:Bs,formToJSON:$s,getAdapter:qs,mergeConfig:Vs}=I,Yt=I.create({baseURL:location.origin,timeout:6e4,params:{}});Yt.interceptors.response.use(t=>t,t=>{var e,n,r,i,s,o,a,l,u,d,h;if(t.response){if(t.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(w){w&&OpenC3Auth.setTokens()}),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let b=`HTTP ${t.response.status} - `;(e=t.response)!=null&&e.statusText&&(b+=`${t.response.statusText} `),(r=(n=t.response)==null?void 0:n.config)!=null&&r.data&&(b+=`${t.response.config.data} `),(s=(i=t.response)==null?void 0:i.data)!=null&&s.message?b+=`${t.response.data.message}`:(a=(o=t.response)==null?void 0:o.data)!=null&&a.exception?b+=`${t.response.data.exception}`:(d=(u=(l=t.response)==null?void 0:l.data)==null?void 0:u.error)!=null&&d.message?(t.response.data.error.class&&(b+=`${t.response.data.error.class} `),b+=`${t.response.data.error.message}`):b+=`${(h=t.response)==null?void 0:h.data}`;const{$cosmosNotify:f}=window;throw f&&f.serious({title:"Network error",body:b}),t}else throw t});let Te=()=>({emit(t,...e){for(let n=this.events[t]||[],r=0,i=n.length;r<i;r++)n[r](...e)},events:{},on(t,e){var n;return((n=this.events)[t]||(n[t]=[])).push(e),()=>{var r;this.events[t]=(r=this.events[t])==null?void 0:r.filter(i=>e!==i)}}});class he extends Error{constructor(e,n){e instanceof Error?(super(e.message),this.cause=e):super(e),this.reason=n,this.name="ReasonError"}}class Ze extends he{constructor(e){super("Rejected",e),this.name="SubscriptionRejectedError"}}class ti extends he{constructor(e){super(e||"Timed out to receive subscription ack"),this.name="SubscriptionTimeoutError"}}class W extends he{constructor(e,n){n?super(e,n):super("Disconnected",e),this.name="DisconnectedError"}}class ni extends W{constructor(e){super(e,"stale_connection"),this.name="StaleConnectionError"}}function Zt(t){return t?`{${Object.keys(t).sort().filter(e=>t[e]!==void 0).map(e=>{let n=JSON.stringify(t[e]);return`${JSON.stringify(e)}:${n}`}).join(",")}}`:""}class ri{constructor(e){this.channel=e,this.listeners=[]}watch(){this.listeners.push(this.channel.on("presence",e=>{if(e.type==="info"){this._state||(this._state=this.stateFromInfo(e));return}this._state&&(e.type==="join"?this._state[e.id]=e.info:e.type==="leave"&&delete this._state[e.id])}))}reset(){delete this._state}dispose(){delete this._info,delete this._state,this.listeners.forEach(e=>e()),this.listeners.length=0}async join(e,n){if(!this._info)return this._info={id:e,info:n},this.channel.perform("$presence:join",this._info)}async leave(){if(!this._info)return;let e=await this.channel.perform("$presence:leave");return delete this._info,e}async info(){return this._state?this._state:(this._promise||(this._promise=this._sync()),await this._promise,this._state)}async _sync(){this.watch();try{let e=await this.channel.perform("$presence:info",{});return this._state=this.stateFromInfo(e),this._state}finally{delete this._promise}}stateFromInfo(e){return e.records.reduce((n,{id:r,info:i})=>(n[r]=i,n),{})}}const ee=Symbol("state");class Xt{constructor(e={}){this.emitter=Te(),this.params=Object.freeze(e),this.presence=new ri(this),this.initialConnect=!0,this[ee]="idle"}get identifier(){return this._identifier?this._identifier:(this._identifier=Zt({channel:this.channelId,...this.params}),this._identifier)}get channelId(){return this.constructor.identifier}get state(){return this[ee]}attached(e){if(this.receiver){if(this.receiver!==e)throw Error("Already connected to a different receiver");return!1}return this.receiver=e,!0}connecting(){this[ee]="connecting"}connected(){if(this.state==="connected"||this.state==="closed")return;this[ee]="connected";let e=!1;this.initialConnect?(this.initialConnect=!1,this.emit("connect",{reconnect:!1,restored:e})):this.emit("connect",{reconnect:!0,restored:e})}restored(){if(this.state==="connected")throw Error("Already connected");this[ee]="connected";let e=!0,n=!0;this.initialConnect=!1,this.emit("connect",{reconnect:n,restored:e})}disconnected(e){this.state==="disconnected"||this.state==="closed"||(this[ee]="disconnected",this.presence.reset(),this.emit("disconnect",e))}closed(e){this.state!=="closed"&&(this[ee]="closed",delete this.receiver,this.initialConnect=!0,this.presence.dispose(),this.emit("close",e))}disconnect(){this.state==="idle"||this.state==="closed"||this.receiver.unsubscribe(this)}async perform(e,n){if(this.state==="idle"||this.state==="closed")throw Error("Channel is not subscribed");return this.receiver.perform(this.identifier,e,n)}async send(e){return this.perform(void 0,e)}async whisper(e){try{await this.perform("$whisper",e)}catch(n){let r=this.receiver?this.receiver.logger:null;r&&r.warn("whisper failed: ",n)}}receive(e,n){this.emit("message",e,n)}on(e,n){return this.emitter.on(e,n)}once(e,n){let r=this.emitter.on(e,(...i)=>{r(),n(...i)});return r}emit(e,...n){return this.emitter.emit(e,...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((e,n)=>{let r=[()=>delete this._pendingSubscribe];r.push(this.on("connect",()=>{r.forEach(i=>i()),e()})),r.push(this.on("close",i=>{r.forEach(s=>s()),n(i||new he("Channel was disconnected before subscribing","canceled"))}))}),this._pendingSubscribe)}}class ii{constructor(e){this.id=e,this.intent="unsubscribed",this.state="idle",this.channels=[],this.disposed=!1,this._pendings=[]}add(e){this.channels.includes(e)||this.channels.push(e)}remove(e){let n=this.channels.indexOf(e);n>-1&&this.channels.splice(n,1)}notify(e,...n){this.state=e==="restored"?"connected":e,n.length===1?this.channels.forEach(r=>r[e](n[0])):this.channels.forEach(r=>r[e]())}pending(e){this._checkIntent(e);let n=this._pendings[0];return!n||n.intent!==e?Promise.resolve():n.promise}ensureResubscribed(){this.disposed||(this.intent=void 0,this.ensureSubscribed())}ensureSubscribed(){if(this.intent!=="subscribed"){if(this.disposed)throw Error("Subscription is disposed");this.intent="subscribed",!this._mergeWithPending("unsubscribed")&&this.subscriber(this)}}maybeUnsubscribe(){this.disposed||this.intent==="unsubscribed"||this.channels.length>0||(this.intent="unsubscribed",this._mergeWithPending("subscribed"))||this.unsubscriber(this)}async acquire(e){this._checkIntent(e);let n,r={promise:new Promise(s=>{n=s}),intent:e,release:()=>{this._pendings.splice(this._pendings.indexOf(r),1),n(r)},canceled:!1,acquired:!1},i=this._pendingTop;return this._pendings.push(r),i&&await i.promise,this.gvl&&await this.gvl.acquire(r,e),r.acquired=!0,r}close(e){this.disposed=!0,this.intent=void 0,this.notify("closed",e)}_checkIntent(e){if(!(e==="unsubscribed"||e==="subscribed"))throw Error(`Unknown subscription intent: ${e}`)}get _pendingTop(){return this._pendings.length?this._pendings[this._pendings.length-1]:void 0}_mergeWithPending(e){let n=this._pendingTop;return!n||n.acquired||n.intent!==e?!1:(this._pendings.pop(),n.canceled=!0,!0)}}class si{constructor(){this.queue=[]}async acquire(e,n){n==="subscribed"&&(this.queue.push(e.promise.then(()=>{this.queue.splice(this.queue.indexOf(e),1)})),this.queue.length>1&&await this.queue[this.queue.length-2])}}class oi{constructor(e){e.concurrentSubscribes===!1&&(this.glv=new si),this._subscriptions={},this._localToRemote={}}all(){return Object.values(this._subscriptions)}get(e){return this._subscriptions[e]}create(e,{subscribe:n,unsubscribe:r}){let i=this._subscriptions[e]=new ii(e);return i.remoteId=this._localToRemote[e],i.subscriber=n,i.unsubscriber=r,i.gvl=this.glv,i}remove(e){delete this._subscriptions[e],delete this._localToRemote[e]}storeRemoteId(e,n){this._localToRemote[e]=n;let r=this.get(e);r&&(r.remoteId=n)}}class ai{constructor(e={}){this.subscriptions=new oi(e),this._pendingMessages=[],this._remoteToLocal={}}subscribe(e,n){this._remoteToLocal[n]=e,this.subscriptions.storeRemoteId(e,n),this.flush(n)}unsubscribe(e){let n=this.subscriptions.get(e);if(!n)return;let r=n.remoteId;r&&delete this._remoteToLocal[r],this.subscriptions.remove(e)}transmit(e,n,r){let i=this._remoteToLocal[e];if(!i){this._pendingMessages.push([e,n,r]);return}let s=this.subscriptions.get(i);s&&s.channels.forEach(o=>{o.receive(n,r)})}notify(e,n,r){let i=this._remoteToLocal[e];if(!i)return;let s=this.subscriptions.get(i);s&&s.channels.forEach(o=>o.emit(n,r))}close(){this._pendingMessages.length=0}get size(){return this.channels.length}get channels(){return this.subscriptions.all().flatMap(e=>e.channels)}flush(e){let n=[];for(let r of this._pendingMessages)r[0]===e?this.transmit(r[0],r[1],r[2]):n.push(r);this._pendingMessages=n}}const Qt={debug:0,info:1,warn:2,error:3};class en{constructor(e){this.level=e||"warn"}log(e,n,r){Qt[e]<Qt[this.level]||this.writeLogEntry(e,n,r)}writeLogEntry(){throw Error("Not implemented")}debug(e,n){this.log("debug",e,n)}info(e,n){this.log("info",e,n)}warn(e,n){this.log("warn",e,n)}error(e,n){this.log("error",e,n)}}class fe extends en{writeLogEntry(){}}class ci{encode(e){return JSON.stringify(e)}decode(e){try{return JSON.parse(e)}catch{}}}let li=0;class tn{constructor(e={}){let{logger:n}=e;this.logger=n||new fe,this.pendingSubscriptions={},this.pendingUnsubscriptions={},this.subscribeCooldownInterval=e.subscribeCooldownInterval||250,this.subscribeRetryInterval=e.subscribeRetryInterval||5e3}attached(e){this.cable=e}subscribe(e,n){let r={channel:e};n&&Object.assign(r,n);let i=Zt(r);if(this.pendingUnsubscriptions[i]){let o=this.subscribeCooldownInterval*1.5;return this.logger.debug(`unsubscribed recently, cooldown for ${o}`,i),new Promise(a=>{setTimeout(()=>{a(this.subscribe(e,n))},o)})}if(this.pendingSubscriptions[i])return this.logger.warn("subscription is already pending, skipping",i),Promise.reject(Error("Already subscribing"));let s=this.subscribeRetryInterval;return new Promise((o,a)=>{let l=++li;this.pendingSubscriptions[i]={resolve:o,reject:a,id:l},this.cable.send(this.buildSubscribeRequest(i)),this.maybeRetrySubscribe(l,i,s)})}buildSubscribeRequest(e){return{command:"subscribe",identifier:e}}maybeRetrySubscribe(e,n,r){setTimeout(()=>{let i=this.pendingSubscriptions[n];i&&i.id===e&&(this.logger.warn(`no subscription ack received in ${r}ms, retrying subscribe`,n),this.cable.send(this.buildSubscribeRequest(n)),this.maybeExpireSubscribe(e,n,r))},r)}maybeExpireSubscribe(e,n,r){setTimeout(()=>{let i=this.pendingSubscriptions[n];i&&i.id===e&&(delete this.pendingSubscriptions[n],i.reject(new ti(`Haven't received subscription ack in ${r*2}ms for ${n}`)))},r)}unsubscribe(e){return this.cable.send({command:"unsubscribe",identifier:e}),this.pendingUnsubscriptions[e]=!0,setTimeout(()=>{delete this.pendingUnsubscriptions[e]},this.subscribeCooldownInterval),Promise.resolve()}perform(e,n,r){return n==="$whisper"?this.whisper(e,r):(r||(r={}),r.action=n,this.cable.send({command:"message",identifier:e,data:JSON.stringify(r)}),Promise.resolve())}whisper(e,n){return this.cable.send({command:"whisper",identifier:e,data:n}),Promise.resolve()}receive(e){if(typeof e!="object"){this.logger.error("unsupported message format",{message:e});return}let{type:n,identifier:r,message:i,reason:s,reconnect:o}=e;if(n==="ping")return this.cable.keepalive(e.message);if(this.cable.keepalive(),n==="welcome"){let a=e.sid;return a&&this.cable.setSessionId(a),this.cable.connected()}if(n==="disconnect"){let a=new W(s);this.reset(a),o===!1?this.cable.closed(a):this.cable.disconnected(a);return}if(n==="confirm_subscription"){let a=this.pendingSubscriptions[r];if(!a){this.logger.error("subscription not found, unsubscribing",{type:n,identifier:r}),this.unsubscribe(r);return}return delete this.pendingSubscriptions[r],a.resolve(r)}if(n==="reject_subscription"){let a=this.pendingSubscriptions[r];return a?(delete this.pendingSubscriptions[r],a.reject(new Ze)):this.logger.error("subscription not found",{type:n,identifier:r})}if(i)return{identifier:r,message:i};this.logger.warn(`unknown message type: ${n}`,{message:e})}reset(e){for(let n in this.pendingSubscriptions)this.pendingSubscriptions[n].reject(e);this.pendingSubscriptions={}}recoverableClosure(){return!1}}const nn=()=>Date.now()/1e3|0;class ui extends tn{constructor(e={}){super(e),this.streamsPositions={},this.subscriptionStreams={},this.pendingHistory={},this.pendingPresence={},this.presenceInfo={},this.restoreSince=e.historyTimestamp,this.restoreSince===void 0&&(this.restoreSince=nn()),this.sessionId=void 0,this.sendPongs=e.pongs}reset(e){for(let n in this.pendingPresence)this.pendingPresence[n].reject(e);return this.pendingPresence={},super.reset()}receive(e){if(typeof e!="object"){this.logger.error("unsupported message format",{message:e});return}let{type:n,identifier:r,message:i}=e;if(n==="disconnect"||n==="reject_subscription")return super.receive(e);if(n==="confirm_subscription")return this.subscriptionStreams[r]||(this.subscriptionStreams[r]=new Set),super.receive(e);if(n==="ping")return this.restoreSince&&(this.restoreSince=nn()),this.sendPongs&&this.sendPong(),this.cable.keepalive(e.message);if(this.cable.keepalive(),n==="confirm_history"){this.logger.debug("history result received",e),this.cable.notify("history_received",r);return}if(n==="reject_history"){this.logger.warn("failed to retrieve history",e),this.cable.notify("history_not_found",r);return}if(n==="welcome"){if(this.sessionId=e.sid,this.sessionId&&this.cable.setSessionId(this.sessionId),e.restored){let s=e.restored_ids||Object.keys(this.subscriptionStreams);for(let o of s)this.cable.send({identifier:o,command:"history",history:this.historyRequestFor(o)}),this.presenceInfo[o]&&this.cable.send({identifier:o,command:"join",presence:this.presenceInfo[o]});return this.cable.restored(s)}return this.cable.connected(this.sessionId)}if(n==="presence"){let s=i.type;if(s==="info"){let o=this.pendingPresence[r];o&&(delete this.pendingPresence[r],o.resolve(i))}else if(s==="error"){let o=this.pendingPresence[r];o&&(delete this.pendingPresence[r],o.reject(new Error("failed to retrieve presence")))}return{type:n,identifier:r,message:i}}if(i){let s=this.trackStreamPosition(r,e.stream_id,e.epoch,e.offset);return{identifier:r,message:i,meta:s}}this.logger.warn(`unknown message type: ${n}`,{message:e})}perform(e,n,r){switch(n){case"$presence:join":return this.join(e,r);case"$presence:leave":return this.leave(e,r);case"$presence:info":return this.presence(e,r)}return super.perform(e,n,r)}unsubscribe(e){return delete this.presenceInfo[e],super.unsubscribe(e)}buildSubscribeRequest(e){let n=super.buildSubscribeRequest(e),r=this.historyRequestFor(e);r&&(n.history=r,this.pendingHistory[e]=!0);let i=this.presenceInfo[e];return i&&(n.presence=i),n}recoverableClosure(){return!!this.sessionId}historyRequestFor(e){let n={},r=!1;if(this.subscriptionStreams[e])for(let i of this.subscriptionStreams[e]){let s=this.streamsPositions[i];s&&(r=!0,n[i]=s)}if(!(!r&&!this.restoreSince))return{since:this.restoreSince,streams:n}}trackStreamPosition(e,n,r,i){if(!(!n||!r))return this.subscriptionStreams[e]||(this.subscriptionStreams[e]=new Set),this.subscriptionStreams[e].add(n),this.streamsPositions[n]={epoch:r,offset:i},{stream:n,epoch:r,offset:i}}async sendPong(){await new Promise(e=>setTimeout(e,0)),this.cable.state==="connected"&&this.cable.send({command:"pong"})}async join(e,n){return this.presenceInfo[e]=n,this.cable.send({command:"join",identifier:e,presence:n}),Promise.resolve()}async leave(e,n){return delete this.presenceInfo[e],this.cable.send({command:"leave",identifier:e,presence:n}),Promise.resolve()}presence(e,n){return this.pendingPresence[e]?(this.logger.warn("presence is already pending, skipping",e),Promise.reject(Error("presence request is already pending"))):new Promise((r,i)=>{this.pendingPresence[e]={resolve:r,reject:i},this.cable.send({command:"presence",identifier:e,data:n})})}}class di extends he{constructor(){super("No connection","closed"),this.name="NoConnectionError"}}class Xe extends Xt{constructor(e,n){super(n),this.channelId=e}set channelId(e){this._channelId=e}get channelId(){return this._channelId}}ye(Xe,"identifier","__ghost__");const hi="$pubsub";class Qe extends Xt{async perform(e,n){if(e.startsWith("$"))return super.perform(e,n);throw Error("not implemented")}}ye(Qe,"identifier",hi);const te=Symbol("state");let fi=class{constructor({transport:t,protocol:e,encoder:n,logger:r,lazy:i,hubOptions:s,performFailures:o,transportConfigurator:a}){this.emitter=Te(),this.transport=t,this.encoder=n,this.logger=r||new fe,this.protocol=e,this.performFailures=o||"throw",this.protocol.attached(this),this.hub=new ai(s||{}),this[te]="idle",this.handleClose=this.handleClose.bind(this),this.handleIncoming=this.handleIncoming.bind(this),this.transportConfigurator=a,this.transport.on("close",this.handleClose),this.transport.on("data",this.handleIncoming),this.initialConnect=!0,this.recovering=!1,i===!1&&this.connect().catch(()=>{})}get state(){return this[te]}async connect(){if(this.state==="connected")return Promise.resolve();if(this.state==="connecting")return this.pendingConnect();let t=this.state==="idle";this[te]="connecting";let e=this.pendingConnect();this.logger.debug("connecting");try{this.transportConfigurator&&await this.transportConfigurator(this.transport,{initial:t}),await this.transport.open()}catch(n){this.handleClose(n)}return e}setSessionId(t){this.sessionId=t,this.transport.setParam("sid",t)}connected(){if(this.state==="connected")return;this.logger.info("connected"),this[te]="connected",this.recovering&&this.hub.subscriptions.all().forEach(e=>e.notify("disconnected",new W("recovery_failed"))),this.hub.subscriptions.all().forEach(e=>this._resubscribe(e));let t=!1;this.recovering=!1,this.initialConnect?(this.initialConnect=!1,this.emit("connect",{reconnect:!1,restored:t})):this.emit("connect",{reconnect:!0,restored:t})}restored(t){this.logger.info("connection recovered",{remoteIds:t}),this[te]="connected",this.hub.subscriptions.all().forEach(r=>{t&&r.remoteId&&t.includes(r.remoteId)?r.notify("restored"):(r.notify("disconnected",new W("recovery_failed")),this._resubscribe(r))});let e=!this.initialConnect,n=!0;this.recovering=!1,this.initialConnect=!1,this.emit("connect",{reconnect:e,restored:n})}notify(t,e,n){e&&typeof e!="string"&&(n=e,e=void 0),e?this.hub.notify(e,"info",{type:t,data:n}):this.emit("info",{type:t,data:n})}handleClose(t){this.logger.debug("transport closed",{error:t}),this.disconnected(new W(t,"transport_closed"))}disconnected(t){(this.state==="connected"||this.state==="connecting")&&(this.logger.info("disconnected",{reason:t}),this[te]="disconnected",this.recovering=this.protocol.recoverableClosure(t),this.recovering?this.hub.subscriptions.all().forEach(e=>e.notify("connecting")):this.hub.subscriptions.all().forEach(e=>{e.notify("disconnected",t)}),this.protocol.reset(t),this.hub.close(),this.transport.close(),this.emit("disconnect",t))}closed(t){if(this.state==="closed"||this.state==="idle")return;let e;t&&(e=t instanceof W?t:new W(t,void 0)),this.logger.info("closed",{reason:t||"user"}),this[te]="closed";let n=e||new W("cable_closed");this.hub.subscriptions.all().forEach(r=>r.notify("disconnected",n)),this.hub.close(),this.protocol.reset(),this.transport.close(),this.initialConnect=!0,this.emit("close",e)}disconnect(){this.closed()}handleIncoming(t){if(this.state==="closed"||this.state==="idle")return;let e=this.encoder.decode(t);if(e===void 0){this.logger.error("failed to decode message",{message:t});return}this.logger.debug("incoming data",e);let n=this.protocol.receive(e);if(n){this.logger.debug("processed incoming message",n);let{type:r,identifier:i,message:s,meta:o}=n;r?this.hub.notify(i,r,s):this.hub.transmit(i,s,o)}}send(t){if(this.state==="closed")throw Error("Cable is closed");let e=this.encoder.encode(t);if(e===void 0){this.logger.error("failed to encode message",{message:t});return}this.logger.debug("outgoing message",t),this.transport.send(e)}keepalive(t){this.emit("keepalive",t)}streamFrom(t){let e=new Qe({stream_name:t});return this.subscribe(e)}streamFromSigned(t){let e=new Qe({signed_stream_name:t});return this.subscribe(e)}subscribeTo(t,e){let n,r;return typeof t=="string"&&(r=t,t=Xe),n=r?new t(r,e):new t(e),this.subscribe(n)}subscribe(t){if(!t.attached(this))return t;let e=t.identifier;t.connecting();let n=this.hub.subscriptions.get(e)||this.hub.subscriptions.create(e,{subscribe:r=>this._subscribe(r,t.channelId,t.params),unsubscribe:r=>this._unsubscribe(r)});return n.add(t),n.intent==="subscribed"&&n.state==="connected"&&t.connected(),n.ensureSubscribed(),t}async _resubscribe(t){t.intent!=="subscribed"||!t.channels[0]||(t.notify("connecting"),t.ensureResubscribed())}async _subscribe(t,e,n){let r=t.id;if(this.state==="idle"&&this.connect().catch(()=>{}),this.state!=="connected"){this.logger.debug("cancel subscribe, no connection",{identifier:r});return}this.logger.debug("acquiring subscribe lock",{identifier:r});let i=await t.acquire("subscribed");if(i.canceled){this.logger.debug("subscribe lock has been canceled",{identifier:r}),i.release();return}if(this.logger.debug("subscribe lock has been acquired",{identifier:r}),t.intent!=="subscribed"){this.logger.debug("cancel subscribe request, already unsubscribed"),i.release();return}if(this.state!=="connected"){this.logger.debug("cancel subscribe, no connection",{identifier:r}),i.release();return}if(t.state==="connected"){this.logger.debug("already connected, skip subscribe command",{identifier:r}),t.notify("connected"),i.release();return}let s={identifier:e,params:n};this.logger.debug("subscribing",s);try{let o=await this.protocol.subscribe(e,n);this.hub.subscribe(r,o),this.logger.debug("subscribed",{...s,remoteId:o}),t.notify("connected")}catch(o){if(o){if(o instanceof Ze&&this.logger.warn("rejected",s),o instanceof W){this.logger.debug("disconnected during subscription; will retry on connect",s),i.release();return}this.logger.error("failed to subscribe",{error:o,...s})}t.close(o),this.hub.unsubscribe(r)}i.release()}unsubscribe(t){let e=t.identifier,n=this.hub.subscriptions.get(e);if(!n)throw Error(`Subscription not found: ${e}`);n.remove(t),t.closed(),n.maybeUnsubscribe()}async _unsubscribe(t){let e=t.id;this.logger.debug("acquiring unsubscribe lock",{identifier:e});let n=await t.acquire("unsubscribed");if(n.canceled){this.logger.debug("unsubscribe lock has been canceled",{identifier:e}),n.release();return}if(this.logger.debug("unsubscribe lock has been acquired",{identifier:e}),t.intent!=="unsubscribed"){this.logger.debug("cancel unsubscribe, no longer needed",{identifier:e,intent:t.intent}),n.release();return}if(t.state==="disconnected"||t.state==="closed"){this.logger.debug(`already ${t.state} connected, skip unsubscribe command`,{identifier:e}),n.release();return}let r=t.remoteId;if(this.logger.debug("unsubscribing...",{remoteId:r}),this.state!=="connected"){this.logger.debug("unsubscribe skipped (cable is not connected)",{id:e}),t.close(),this.hub.unsubscribe(e),n.release();return}try{await this.protocol.unsubscribe(r),this.logger.debug("unsubscribed remotely",{id:e})}catch(i){i&&(i instanceof W?this.logger.debug("cable disconnected during the unsubscribe command execution",{id:e,error:i}):this.logger.error("unsubscribe failed",{id:e,error:i}))}t.intent==="unsubscribed"?(t.close(),this.hub.unsubscribe(e)):t.state="closed",n.release()}async perform(t,e,n){if(this.performFailures==="throw")return this._perform(t,e,n);try{return await this._perform(t,e,n)}catch(r){this.performFailures==="warn"&&this.logger.warn("perform failed",{error:r});return}}async _perform(t,e,n){if(this.state==="connecting"&&await this.pendingConnect(),this.state==="closed"||this.state==="disconnected")throw new di;let r=this.hub.subscriptions.get(t);if(!r)throw Error(`Subscription not found: ${t}`);if(await r.pending("subscribed"),r.intent!=="subscribed")throw Error(`Subscription is closed: ${t}`);let i=r.remoteId,s={id:i,action:e,payload:n};this.logger.debug("perform",s);try{let o=await this.protocol.perform(i,e,n);return o&&this.logger.debug("perform result",{message:o,request:s}),o}catch(o){throw this.logger.error("perform failed",{error:o,request:s}),o}}on(t,e){return this.emitter.on(t,e)}once(t,e){let n=this.emitter.on(t,(...r)=>{n(),e(...r)});return n}emit(t,...e){return this.emitter.emit(t,...e)}pendingConnect(){return this._pendingConnect?this._pendingConnect:(this._pendingConnect=new Promise((t,e)=>{let n=[()=>delete this._pendingConnect];n.push(this.on("connect",()=>{n.forEach(r=>r()),t()})),n.push(this.on("close",r=>{n.forEach(i=>i()),e(r)})),n.push(this.on("disconnect",r=>{n.forEach(i=>i()),e(r)}))}),this._pendingConnect)}};const pi={maxMissingPings:2,maxReconnectAttempts:1/0},oe=()=>Date.now(),rn=(t,e)=>{e=e||{};let{backoffRate:n,jitterRatio:r,maxInterval:i}=e;return n=n||2,r===void 0&&(r=.5),s=>{let o=t*n**s,a=o*n,l=o+(a-o)*Math.random(),u=2*(Math.random()-.5)*r;return l=l*(1+u),i&&i<l&&(l=i),l}};let sn=class{constructor({pingInterval:t,...e}){if(this.pingInterval=t,!this.pingInterval)throw Error(`Incorrect pingInterval is provided: ${t}`);if(e=Object.assign({},pi,e),this.strategy=e.reconnectStrategy,!this.strategy)throw Error("Reconnect strategy must be provided");this.maxMissingPings=e.maxMissingPings,this.maxReconnectAttempts=e.maxReconnectAttempts,this.logger=e.logger||new fe,this.state="pending_connect",this.attempts=0,this.disconnectedAt=oe()}watch(t){this.target=t,this.initListeners()}reconnectNow(){return this.state==="connected"||this.state==="pending_connect"||this.state==="closed"?!1:(this.cancelReconnect(),this.state="pending_connect",this.target.connect().catch(t=>{this.logger.info("Failed at reconnecting: "+t)}),!0)}initListeners(){this.unbind=[],this.unbind.push(this.target.on("connect",()=>{this.attempts=0,this.pingedAt=oe(),this.state="connected",this.cancelReconnect(),this.startPolling()})),this.unbind.push(this.target.on("disconnect",()=>{this.disconnectedAt=oe(),this.state="disconnected",this.stopPolling(),this.scheduleReconnect()})),this.unbind.push(this.target.on("close",()=>{this.disconnectedAt=oe(),this.state="closed",this.cancelReconnect(),this.stopPolling()})),this.unbind.push(this.target.on("keepalive",()=>{this.pingedAt=oe()})),this.unbind.push(()=>{this.cancelReconnect(),this.stopPolling()})}dispose(){delete this.target,this.unbind&&this.unbind.forEach(t=>t()),delete this.unbind}startPolling(){this.pollId&&clearTimeout(this.pollId);let t=this.pingInterval+(Math.random()-.5)*this.pingInterval*.5;this.pollId=setTimeout(()=>{this.checkStale(),this.state==="connected"&&this.startPolling()},t)}stopPolling(){this.pollId&&clearTimeout(this.pollId)}checkStale(){let t=oe()-this.pingedAt;t>this.maxMissingPings*this.pingInterval&&(this.logger.warn(`Stale connection: ${t}ms without pings`),this.state="pending_disconnect",this.target.disconnected(new ni))}scheduleReconnect(){if(this.attempts>=this.maxReconnectAttempts){this.target.close();return}let t=this.strategy(this.attempts);this.attempts++,this.logger.info(`Reconnecting in ${t}ms (${this.attempts} attempt)`),this.state="pending_reconnect",this.reconnnectId=setTimeout(()=>this.reconnectNow(),t)}cancelReconnect(){this.reconnnectId&&(clearTimeout(this.reconnnectId),delete this.reconnnectId)}};class mi{constructor(e,n={}){this.transports=e,this.transport=null,this.emitter=Te(),this.unbind=[],this.logger=n.logger||new fe}displayName(){return"fallbacked transport"}async open(){for(let e=0;e<this.transports.length;e++){let n=this.transports[e];try{this.transport=n,this.resetListeners(),this.logger.debug(`Trying to connect via ${n.displayName()}`),await n.open(),this.logger.debug(`Connected via ${n.displayName()}`);return}catch(r){this.logger.debug(`Failed to connect via ${n.displayName()}: ${r.message}`)}}throw this.transport=null,this.resetListeners(),new Error("Couldn't connect via any available transport")}send(e){if(!this.transport)throw new Error("No transport is open");this.transport.send(e)}async close(){if(!this.transport)throw new Error("No transport is open");await this.transport.close(),this.transport=null}setURL(){throw new Error("Not implemented. Set URL for each transport separately")}setParam(e,n){this.transports.forEach(r=>{r.setParam(e,n)})}setToken(e,n){this.transports.forEach(r=>{r.setToken(e,n)})}on(e,n){return this.emitter.on(e,n)}once(e,n){let r=this.emitter.on(e,(...i)=>{r(),n(...i)});return r}get url(){return this.transport?this.transport.url:""}resetListeners(){this.unbind.forEach(e=>e()),this.unbind.length=0,this.transport&&this.unbind.push(this.transport.on("open",()=>{this.emitter.emit("open")}),this.transport.on("data",e=>{this.emitter.emit("data",e)}),this.transport.on("close",e=>{this.emitter.emit("close",e)}),this.transport.on("error",e=>{this.emitter.emit("error",e)}))}}class gi{constructor(e,n={}){this.url=e;let r=n.websocketImplementation;if(r)this.Impl=r;else if(typeof WebSocket<"u")this.Impl=WebSocket;else throw new Error("No WebSocket support");this.connected=!1,this.emitter=Te();let{format:i,subprotocol:s,authStrategy:o}=n;this.format=i||"text",this.connectionOptions=n.websocketOptions,this.authStrategy=o||"param",this.authProtocol="",this.subprotocol=s}displayName(){return"WebSocket("+this.url+")"}open(){let e=this.subprotocol;return this.authStrategy==="sub-protocol"&&(e=[this.subprotocol,this.authProtocol]),this.connectionOptions?this.ws=new this.Impl(this.url,e,this.connectionOptions):this.ws=new this.Impl(this.url,e),this.ws.binaryType="arraybuffer",this.initListeners(),new Promise((n,r)=>{let i=[];i.push(this.once("open",()=>{i.forEach(s=>s()),n()})),i.push(this.once("close",()=>{i.forEach(s=>s()),r(Error("WS connection closed"))}))})}setURL(e){this.url=e}setParam(e,n){let r=new URL(this.url);r.searchParams.set(e,n);let i=`${r.protocol}//${r.host}${r.pathname}?${r.searchParams}`;this.setURL(i)}setToken(e,n="jid"){if(this.authStrategy==="param")this.setParam(n,e);else if(this.authStrategy==="header"){this.connectionOptions=this.connectionOptions||{},this.connectionOptions.headers=this.connectionOptions.headers||{};let r=`x-${n}`.toLowerCase();r=Object.keys(this.connectionOptions.headers).find(i=>i.toLowerCase()===r)||r,this.connectionOptions.headers[r]=e}else if(this.authStrategy==="sub-protocol")this.authProtocol=`anycable-token.${e}`;else throw new Error("Unknown auth strategy: "+this.authStrategy)}send(e){if(!this.ws||!this.connected)throw Error("WebSocket is not connected");this.ws.send(e)}close(){this.ws?this.onclose():this.connected=!1}on(e,n){return this.emitter.on(e,n)}once(e,n){let r=this.emitter.on(e,(...i)=>{r(),n(...i)});return r}initListeners(){this.ws.onerror=e=>{this.connected&&this.emitter.emit("error",e.error||new Error("WS Error"))},this.ws.onclose=()=>{this.onclose()},this.ws.onmessage=e=>{let n=e.data;this.format==="binary"&&(n=new Uint8Array(n)),this.emitter.emit("data",n)},this.ws.onopen=()=>{this.connected=!0,this.emitter.emit("open")}}onclose(){this.ws.onclose=void 0,this.ws.onmessage=void 0,this.ws.onopen=void 0,this.ws.close(),delete this.ws,this.connected=!1,this.emitter.emit("close")}}const on={protocol:"actioncable-v1-json",pingInterval:3e3,maxReconnectAttempts:1/0,maxMissingPings:2,logLevel:"warn",lazy:!0};function bi(t,e){if(typeof t=="object"&&typeof e>"u"&&(e=t,t=void 0),e=e||{},!t&&!e.transport)throw Error("URL or transport must be specified");e=Object.assign({},on,e);let{protocol:n,websocketImplementation:r,websocketFormat:i,websocketOptions:s,websocketAuthStrategy:o,fallbacks:a,logLevel:l,logger:u,transport:d,encoder:h,lazy:b,monitor:f,pingInterval:w,reconnectStrategy:p,maxMissingPings:A,maxReconnectAttempts:R,subprotocol:E,tokenRefresher:O,historyTimestamp:V,protocolOptions:_,concurrentSubscribes:j,performFailures:T,transportConfigurator:x,auth:L}=e;if(u=u||new fe(l),typeof n=="string"){E=E||n;let ae=n.substring(0,n.lastIndexOf("-")),$=n.substring(n.lastIndexOf("-")+1);if(_=_||{},ae==="actioncable-v1")n=new tn({logger:u,..._});else if(ae==="actioncable-v1-ext")n=new ui({logger:u,historyTimestamp:V,..._});else throw Error(`Protocol is not supported yet: ${n}`);if($==="json")h=h||new ci,i=i||"text";else if($==="msgpack"){if(i="binary",!h)throw Error("Msgpack encoder must be specified explicitly. Use `@anycable/msgpack-encoder` package or build your own")}else if($==="protobuf"){if(i=i||"binary",!h)throw Error("Protobuf encoder must be specified explicitly. Use `@anycable/protobuf-encoder` package or build your own")}else throw Error(`Protocol is not supported yet: ${n}`)}if(!n)throw Error("Protocol must be specified");d=d||new gi(t,{websocketImplementation:r,websocketOptions:s,subprotocol:E,authStrategy:o,format:i}),a&&(d=new mi([d,...a],{logger:u})),L&&L.token&&d.setToken(L.token,L.param||"jid"),p=p||rn(w),f!==!1&&(f=f||new sn({pingInterval:w,reconnectStrategy:p,maxMissingPings:A,maxReconnectAttempts:R,logger:u}));let je={concurrentSubscribes:j},J=new fi({protocol:n,transport:d,encoder:h,logger:u,lazy:b,hubOptions:je,performFailures:T,transportConfigurator:x});return f&&(f.watch(J),J.monitor=f),O&&_i(J,async()=>{try{await O(d)}catch(ae){return u.error("Failed to refresh authentication token: "+ae),!1}return J.connect().catch(()=>{}),!0}),J}function _i(t,e){let n=!1;t.on("connect",()=>n=!1),t.on("close",async r=>{if(r){if(n){t.logger.warn("Token auto-refresh is disabled",r);return}r.reason==="token_expired"&&(n=!0,await e())}})}class yi{constructor(e){this.channel=e}notify(e,...n){typeof this[e]=="function"&&this[e](...n)}perform(e,n={}){this.channel.perform(e,n)}send(e){this.channel.send(e)}get identifier(){return this.channel.identifier}unsubscribe(){return this.channel.disconnect()}}class wi extends Xe{constructor(e,n,r){super(e,n),this.subscription=new yi(this),Object.assign(this.subscription,r),this.on("connect",({reconnect:i})=>this.subscription.notify("connected",{reconnected:i})),this.on("disconnect",()=>this.subscription.notify("disconnected",{allowReconnect:!0})),this.on("message",i=>this.subscription.notify("received",i)),this.on("close",i=>{i&&i instanceof Ze?this.subscription.notify("rejected"):this.subscription.notify("disconnected",{allowReconnect:!1})})}}class vi{constructor(e){this.cable=e}create(e,n){let r,i;typeof e=="object"?(r=e.channel,delete e.channel,i=e):(r=e,i={});let s=new wi(r,i,n);return s.subscription.notify("initialized"),this.cable.subscribe(s),s.subscription}findAll(e){return this.cable.hub.channels.filter(n=>n.identifier===e).map(n=>n.subscription)}}class Si{constructor(e){this.cable=e,this.subscriptions=new vi(e)}}class Ei extends en{writeLogEntry(e,n,r){r?console[e](n,r):console[e](n)}}class xi extends sn{watch(e){super.watch(e),this.initActivityListeners()}initActivityListeners(){if(typeof document<"u"&&typeof window<"u"&&document.addEventListener&&window.addEventListener){let e=()=>{document.hidden||this.reconnectNow()&&this.logger.debug("Trigger reconnect due to visibility change")},n=i=>{this.reconnectNow()&&this.logger.debug("Trigger reconnect",{event:i})},r=()=>this.disconnect(new W("page_frozen"));document.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",n,!1),window.addEventListener("online",n,!1),window.addEventListener("resume",n,!1),window.addEventListener("freeze",r,!1),this.unbind.push(()=>{document.removeEventListener("visibilitychange",e,!1),window.removeEventListener("focus",n,!1),window.removeEventListener("online",n,!1),window.removeEventListener("resume",n,!1),window.removeEventListener("freeze",r,!1)})}}disconnect(e){this.state==="disconnected"||this.state==="closed"||(this.logger.info("Disconnecting",{reason:e.message}),this.cancelReconnect(),this.stopPolling(),this.state="pending_disconnect",this.target.disconnected(e))}}const Ci=["cable","action-cable"],Oi="/cable",Le=(t,e)=>{for(let n of Ci){let r=t.head.querySelector(`meta[name='${n}-${e}']`);if(r)return r.getAttribute("content")}},an=t=>t.match(/wss?:\/\//)?t:typeof window<"u"?`${window.location.protocol.replace("http","ws")}//${window.location.host}${t}`:t,ki=()=>{if(typeof document<"u"&&document.head){let t=Le(document,"url");if(t)return an(t)}return an(Oi)},Ri=()=>{if(typeof document<"u"&&document.head){let t=Le(document,"history-timestamp");if(t)return t|0}},Ai=()=>{if(typeof document<"u"&&document.head)return Le(document,"token")},Ii=()=>{if(typeof document<"u"&&document.head)return Le(document,"token-param")};function Ti(t,e){typeof t=="object"&&typeof e>"u"&&(e=t,t=void 0),t=t||ki(),e=e||{},e.historyTimestamp||(e.historyTimestamp=Ri());let n=Ai();if(n){let u=Ii();e.auth=Object.assign({token:n,param:u},e.auth||{})}e=Object.assign({},on,e);let{logLevel:r,logger:i,pingInterval:s,reconnectStrategy:o,maxMissingPings:a,maxReconnectAttempts:l}=e;return i=e.logger=e.logger||new Ei(r),o=e.reconnectStrategy=e.reconnectStrategy||rn(s),e.monitor!==!1&&(e.monitor=e.monitor||new xi({pingInterval:s,reconnectStrategy:o,maxMissingPings:a,maxReconnectAttempts:l,logger:i})),bi(t,e)}function Li(t,e){let n=Ti(t,e);return new Si(n)}class cn{constructor(e="/openc3-api/cable"){this._cable=null,this._url=e}disconnect(){this._cable&&(this._cable.cable.disconnect(),this._cable=null)}createSubscription(e,n,r={},i={}){return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(s=>{if(s&&OpenC3Auth.setTokens(),this._cable==null){let o=this._url+"?scope="+encodeURIComponent(window.openc3Scope)+"&authorization="+encodeURIComponent(localStorage.openc3Token);o=new URL(o,document.baseURI).href,this._cable=Li(o)}return this._cable.subscriptions.create({channel:e,...i},r)})}recordPing(){}}function et(t){return Pi.test(t)}const Pi=/^-?[0-9]+$/;function ln(t){return Ni.test(t)}const Ni=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/;function un(t,e){const n=Number.parseFloat(t),r=String(n),i=dn(t),s=dn(r);return!!(i===s||(e==null?void 0:e.approx)===!0&&!et(t)&&s.length>=14&&i.startsWith(s.substring(0,14)))}let pe=function(t){return t.underflow="underflow",t.overflow="overflow",t.truncate_integer="truncate_integer",t.truncate_float="truncate_float",t}({});function ji(t){if(un(t,{approx:!1}))return;if(et(t))return pe.truncate_integer;const e=Number.parseFloat(t);return Number.isFinite(e)?e===0?pe.underflow:pe.truncate_float:pe.overflow}function dn(t){return t.replace(Di,"").replace(Fi,"").replace(Bi,"").replace(Ui,"")}const Di=/[eE][+-]?\d+$/,Ui=/^-?(0*)?/,Fi=/\./,Bi=/0+$/;class $i{constructor(e){if(ye(this,"isLosslessNumber",!0),!ln(e))throw new Error(`Invalid number (value: "${e}")`);this.value=e}valueOf(){const e=ji(this.value);if(e===void 0||e===pe.truncate_float)return Number.parseFloat(this.value);if(et(this.value))return BigInt(this.value);throw new Error(`Cannot safely convert to number: the value '${this.value}' would ${e} and become ${Number.parseFloat(this.value)}`)}toString(){return this.value}}function qi(t){return t&&typeof t=="object"&&t.isLosslessNumber===!0||!1}function Vi(t){return new $i(t)}function Mi(t,e){return tt({"":t},"",t,e)}function tt(t,e,n,r){return Array.isArray(n)?r.call(t,e,Wi(n,r)):n&&typeof n=="object"&&!qi(n)?r.call(t,e,zi(n,r)):r.call(t,e,n)}function zi(t,e){for(const n of Object.keys(t)){const r=tt(t,n,t[n],e);r!==void 0?t[n]=r:delete t[n]}return t}function Wi(t,e){for(let n=0;n<t.length;n++)t[n]=tt(t,String(n),t[n],e);return t}function Ji(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vi,r=0;const i=a();return w(i),A(),e?Mi(i,e):i;function s(){if(t.charCodeAt(r)===Xi){r++,u();const S={};let D=!0;for(;r<t.length&&t.charCodeAt(r)!==fn;){D?D=!1:(b(),u());const ne=r,me=d();if(me===void 0){O();return}u(),f();const ot=a();if(ot===void 0){L();return}Object.prototype.hasOwnProperty.call(S,me)&&!nt(ot,S[me])&&V(me,ne+1),S[me]=ot}return t.charCodeAt(r)!==fn&&_(),r++,S}}function o(){if(t.charCodeAt(r)===Qi){r++,u();const S=[];let D=!0;for(;r<t.length&&t.charCodeAt(r)!==pn;){D?D=!1:b();const ne=a();p(ne),S.push(ne)}return t.charCodeAt(r)!==pn&&j(),r++,S}}function a(){u();const S=d()??h()??s()??o()??l("true",!0)??l("false",!1)??l("null",null);return u(),S}function l(S,D){if(t.slice(r,r+S.length)===S)return r+=S.length,D}function u(){for(;Hi(t.charCodeAt(r));)r++}function d(){if(t.charCodeAt(r)===rt){r++;let S="";for(;r<t.length&&t.charCodeAt(r)!==rt;){if(t.charCodeAt(r)===Zi){const D=t[r+1],ne=Yi[D];ne!==void 0?(S+=ne,r++):D==="u"?Pe(t.charCodeAt(r+2))&&Pe(t.charCodeAt(r+3))&&Pe(t.charCodeAt(r+4))&&Pe(t.charCodeAt(r+5))?(S+=String.fromCharCode(Number.parseInt(t.slice(r+2,r+6),16)),r+=5):je(r):x(r)}else Gi(t.charCodeAt(r))?S+=t[r]:T(t[r]);r++}return E(),r++,S}}function h(){const S=r;if(t.charCodeAt(r)===mn&&(r++,R(S)),t.charCodeAt(r)===it)r++;else if(Ki(t.charCodeAt(r)))for(r++;Ne(t.charCodeAt(r));)r++;if(t.charCodeAt(r)===as)for(r++,R(S);Ne(t.charCodeAt(r));)r++;if(t.charCodeAt(r)===hs||t.charCodeAt(r)===ds)for(r++,(t.charCodeAt(r)===mn||t.charCodeAt(r)===is)&&r++,R(S);Ne(t.charCodeAt(r));)r++;if(r>S)return n(t.slice(S,r))}function b(){if(t.charCodeAt(r)!==os)throw new SyntaxError(`Comma ',' expected after value ${$()}`);r++}function f(){if(t.charCodeAt(r)!==cs)throw new SyntaxError(`Colon ':' expected after property name ${$()}`);r++}function w(S){if(S===void 0)throw new SyntaxError(`JSON value expected ${$()}`)}function p(S){if(S===void 0)throw new SyntaxError(`Array item expected ${$()}`)}function A(){if(r<t.length)throw new SyntaxError(`Expected end of input ${$()}`)}function R(S){if(!Ne(t.charCodeAt(r))){const D=t.slice(S,r);throw new SyntaxError(`Invalid number '${D}', expecting a digit ${$()}`)}}function E(){if(t.charCodeAt(r)!==rt)throw new SyntaxError(`End of string '"' expected ${$()}`)}function O(){throw new SyntaxError(`Quoted object key expected ${$()}`)}function V(S,D){throw new SyntaxError(`Duplicate key '${S}' encountered at position ${D}`)}function _(){throw new SyntaxError(`Quoted object key or end of object '}' expected ${$()}`)}function j(){throw new SyntaxError(`Array item or end of array ']' expected ${$()}`)}function T(S){throw new SyntaxError(`Invalid character '${S}' ${J()}`)}function x(S){const D=t.slice(S,S+2);throw new SyntaxError(`Invalid escape character '${D}' ${J()}`)}function L(){throw new SyntaxError(`Object value expected after ':' ${J()}`)}function je(S){const D=t.slice(S,S+6);throw new SyntaxError(`Invalid unicode character '${D}' ${J()}`)}function J(){return`at position ${r}`}function ae(){return r<t.length?`but got '${t[r]}'`:"but reached end of input"}function $(){return`${ae()} ${J()}`}}function Hi(t){return t===es||t===ts||t===ns||t===rs}function Pe(t){return t>=it&&t<=st||t>=ls&&t<=fs||t>=us&&t<=ps}function Ne(t){return t>=it&&t<=st}function Ki(t){return t>=ss&&t<=st}function Gi(t){return t>=32&&t<=1114111}function nt(t,e){return t===e?!0:Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((n,r)=>nt(n,e[r])):hn(t)&&hn(e)?[...new Set([...Object.keys(t),...Object.keys(e)])].every(n=>nt(t[n],e[n])):!1}function hn(t){return typeof t=="object"&&t!==null}const Yi={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
8
+ `,r:"\r",t:" "},Zi=92,Xi=123,fn=125,Qi=91,pn=93,es=32,ts=10,ns=9,rs=13,rt=34,is=43,mn=45,it=48,ss=49,st=57,os=44,as=46,cs=58,ls=65,us=97,ds=69,hs=101,fs=70,ps=102;function gn(t,e,n,r){return i(t);function i(l,u){if(Array.isArray(r)){const d=r.find(h=>h.test(l));if(d){const h=d.stringify(l);if(typeof h!="string"||!ln(h))throw new Error(`Invalid JSON number: output of a number stringifier must be a string containing a JSON number (output: ${h})`);return h}}if(typeof l=="boolean"||typeof l=="number"||typeof l=="string"||l===null||l instanceof Date||l instanceof Boolean||l instanceof Number||l instanceof String)return JSON.stringify(l);if(l!=null&&l.isLosslessNumber||typeof l=="bigint")return l.toString();if(Array.isArray(l))return s(l);if(l&&typeof l=="object")return o(l)}function s(l,u){if(l.length===0)return"[]";let d="[";for(let h=0;h<l.length;h++){const b=l[h];typeof b<"u"&&typeof b!="function"?d+=i(b):d+="null",h<l.length-1&&(d+=",")}return d+="]",d}function o(l,u){if(typeof l.toJSON=="function")return gn(l.toJSON(),e,n,void 0);const d=Array.isArray(e)?e.map(String):Object.keys(l);if(d.length===0)return"{}";let h=!0,b="{";for(const f of d){const w=l[f];if(a(f,w)){h?h=!1:b+=",";const p=JSON.stringify(f);b+=`${p}:`,b+=i(w)}}return b+="}",b}function a(l,u){return typeof u<"u"&&typeof u!="function"&&typeof u!="symbol"}}function ms(t){return un(t)?parseFloat(t):BigInt(t)}class bn{constructor(){ye(this,"id",1)}async exec(e,n,r={},i={},s=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 Yt.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:n,id:this.id,keyword_params:r},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...i},timeout:s,transformRequest:[(o,a)=>gn(o)],transformResponse:[o=>Ji(o,void 0,ms)]})).data.result}catch(o){let a=new Error;throw o.response?(a.name=o.response.data.error.data.class,a.message=o.response.data.error.data.message,a.object=o.response.data.error):o.request?(a.name="Request error",a.message="Request error, no response received"):a.name="Unknown error",a}}decode_openc3_type(e){if(e!==null&&typeof e=="object"&&e.json_class=="Float"&&e.raw){if(e.raw=="NaN")return NaN;if(e.raw=="Infinity")return 1/0;if(e.raw=="-Infinity")return-1/0}return null}encode_openc3_type(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then(e=>{e&&(localStorage.openc3OfflineToken?this.set_offline_access(localStorage.openc3OfflineToken).then(()=>{delete localStorage.openc3OfflineToken}):OpenC3Auth.getOfflineAccess())})}offline_access_needed(){return this.exec("offline_access_needed",[])}set_offline_access(e){return this.exec("set_offline_access",[e])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(e,n){return this.exec("map_target_to_interface",[e,n])}connect_interface(e,...n){return n.length>0?this.exec("connect_interface",[e,...n]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}interface_cmd(e,n,...r){return this.exec("interface_cmd",[e,n,...r])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(e){return this.exec("connect_router",[e])}disconnect_router(e){return this.exec("disconnect_router",[e])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,n,r){return this.exec("get_item",[e,n,r])}get_param(e,n,r){return this.exec("get_param",[e,n,r])}get_parameter(e,n,r){return this.exec("get_param",[e,n,r])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(e){return this.exec("set_limits_set",[e])}get_target(e){return this.exec("get_target",[e])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_names",[])}get_tlm(e,n){return this.exec("get_tlm",[e,n])}get_telemetry(e,n){return this.exec("get_tlm",[e,n])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_tlm",[e])}get_all_tlm_names(e,n=!1){return this.exec("get_all_tlm_names",[e],{hidden:n})}get_all_telemetry_names(e){return this.exec("get_all_tlm_names",[e])}get_all_tlm_item_names(e){return this.exec("get_all_tlm_item_names",[e])}async get_tlm_packet(e,n,r,i=30){const s=await this.exec("get_tlm_packet",[e,n],{type:r,stale_time:i});if(s!=null){let o=s.length,a=null;for(let l=0;l<o;l++)a=this.decode_openc3_type(s[l][1]),a!==null&&(s[l][1]=a)}return s}get_packet_derived_items(e,n){return this.exec("get_packet_derived_items",[e,n])}get_tlm_buffer(e,n){return this.exec("get_tlm_buffer",[e,n])}async get_tlm_values(e,n=30,r=null){let i={stale_time:n};r!==null&&(i.cache_timeout=r);const s=await this.exec("get_tlm_values",[e],i,{},1e4);let o=s[0].length,a=null;for(let l=0;l<o;l++)a=this.decode_openc3_type(s[0][l]),a!==null&&(s[0][l]=a);return s}get_limits(e,n,r){return this.exec("get_limits",[e,n,r])}async tlm(e,n,r,i="CONVERTED"){let s=null;if(n===void 0)s=await this.exec("tlm",[e]);else if(r===void 0)if(["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(n))s=await this.exec("tlm",[e],{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 s=await this.exec("tlm",[e,n,r],{type:i});let o=this.decode_openc3_type(s);return o!==null&&(s=o),s}async inject_tlm(e,n,r=null,i="CONVERTED"){await this.exec("inject_tlm",[e,n,r],{type:i})}set_tlm(e,n,r,i){return this.exec("set_tlm",[e,n,r],{type:i})}override_tlm(e,n,r,i){return this.exec("override_tlm",[e,n,r],{type:i})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,n,r,i){return this.exec("normalize_tlm",[e,n,r],{type:i})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_cmds",[e])}get_all_cmd_names(e,n=!1){return this.exec("get_all_cmd_names",[e],{hidden:n})}get_all_command_names(e){return this.exec("get_all_cmd_names",[e])}get_cmd(e,n){return this.exec("get_cmd",[e,n])}get_command(e,n){return this.exec("get_cmd",[e,n])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,n,r,i="CONVERTED"){return this.exec("get_cmd_value",[e,n,r,i])}get_cmd_buffer(e,n){return this.exec("get_cmd_buffer",[e,n])}_cmd(e,n,r,i,s){let o=null;for(let a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o=this.encode_openc3_type(i[a]),o!==null&&(i[a]=o));return this.exec(e,[n,r,i],{},s)}get_cmd_hazardous(e,n,r,i={}){return n===void 0?this.exec("get_cmd_hazardous",e,{},i):this._cmd("get_cmd_hazardous",e,n,r,i)}cmd(e,n,r,i={}){return n===void 0?this.exec("cmd",e,{},i):this._cmd("cmd",e,n,r,i)}cmd_no_range_check(e,n,r,i={}){return n===void 0?this.exec("cmd_no_range_check",e,{},i):this._cmd("cmd_no_range_check",e,n,r,i)}cmd_raw(e,n,r,i={}){return n===void 0?this.exec("cmd_raw",e,{},i):this._cmd("cmd_raw",e,n,r,i)}cmd_raw_no_range_check(e,n,r,i={}){return n===void 0?this.exec("cmd_raw_no_range_check",e,{},i):this._cmd("cmd_raw_no_range_check",e,n,r,i)}cmd_no_hazardous_check(e,n,r,i={}){return n===void 0?this.exec("cmd_no_hazardous_check",e,{},i):this._cmd("cmd_no_hazardous_check",e,n,r,i)}cmd_no_checks(e,n,r,i={}){return n===void 0?this.exec("cmd_no_checks",e,{},i):this._cmd("cmd_no_checks",e,n,r,i)}cmd_raw_no_hazardous_check(e,n,r,i={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",e,{},i):this._cmd("cmd_raw_no_hazardous_check",e,n,r,i)}cmd_raw_no_checks(e,n,r,i={}){return n===void 0?this.exec("cmd_raw_no_checks",e,{},i):this._cmd("cmd_raw_no_checks",e,n,r,i)}build_cmd(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}build_command(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,n){return this.exec("send_raw",[e,n])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,n){return this.exec("load_config",[e,n])}save_config(e,n,r){return this.exec("save_config",[e,n,r])}delete_config(e,n){return this.exec("delete_config",[e,n])}enable_limits(e,n,r){return this.exec("enable_limits",[e,n,r])}disable_limits(e,n,r){return this.exec("disable_limits",[e,n,r])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(e){return this.exec("get_overall_limits_state",[e])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(e){return this.exec("get_setting",[e])}get_settings(e){return this.exec("get_settings",e)}set_setting(e,n){return this.exec("set_setting",[e,n])}update_news(){return this.exec("update_news",[])}save_setting(e,n){return this.exec("set_setting",[e,n])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(s=>s.toString(16).padStart(2,"0")).join("")}}}const gs={components:{ValueWidget:ht,ValuelimitsbarWidget:ft},props:{modelValue:{type:Array,default:()=>[]},timeZone:{type:String,default:"local"}},mixins:[De],data(){return{api:null,cable:new cn,ignored:[],ignoredItemsDialog:!1,overallState:"GREEN",currentLimitsSet:"",items:[],itemList:[],screenItems:[],screenValues:{},updateCounter:0,itemsPerPage:25,search:"",headers:[{title:"Timestamp",key:"timestamp",width:"130px",sortable:!0,nowrap:!0},{title:"Item",key:"item",value:t=>t.parameters[2],sortable:!0,minWidth:"100px",width:"200px",maxWidth:"300px"},{title:"Value",key:"value",width:"380px",sortable:!1},{title:"Controls",key:"actions",width:"80px",sortable:!1},{title:"",key:"limits",sortable:!1}],valueLimitsBarWidgetSettings:[["WIDTH","380px"],["0","WIDTH","200px"],["1","WIDTH","180px"]],valueWidgetSettings:[["WIDTH","200px"]]}},computed:{textFieldClass(){return this.overallState?`textfield-${this.overallState.toLowerCase()}`:""},overallStateFormatted(){return this.ignored.length===0?this.overallState:`${this.overallState} (Some items ignored)`},ignoredFormatted(){return this.ignored.map(t=>t.split("__").join(" "))},astroStatus(){switch(this.overallState){case"GREEN":return"normal";case"YELLOW":return"caution";case"RED":return"critical";case"BLUE":return"standby";default:return null}}},created(){this.api=new bn;for(let t of this.modelValue)t.match(/.+__.+__.+/)?this.ignoreItem(t,!0):this.ignorePacket(t,!0);this.updateOutOfLimits(),this.getCurrentLimitsSet(),this.currentSetRefreshInterval=setInterval(this.getCurrentLimitsSet,10*1e3),this.cable.createSubscription("LimitsEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}}).then(t=>{this.limitsSubscription=t}),this.cable.createSubscription("ConfigEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing();const e=JSON.parse(t);this.handleConfigEvents(e)}}).then(t=>{this.configSubscription=t})},mounted(){this.updater=setInterval(()=>{this.update()},1e3)},unmounted(){this.updater!=null&&(clearInterval(this.updater),this.updater=null),this.limitsSubscription&&this.limitsSubscription.unsubscribe(),this.configSubscription&&this.configSubscription.unsubscribe(),this.cable.disconnect()},methods:{getCurrentLimitsSet:function(){this.api.get_limits_set().then(t=>{this.currentLimitsSet=t})},updateOutOfLimits(){this.items=[],this.itemList=[],this.api.get_out_of_limits().then(t=>{for(const e of t){let n=e.join("__");if(this.ignored.find(i=>n.includes(i)))continue;this.itemList.push(n);let r={key:e.slice(0,3).join("__"),parameters:e.slice(0,3),timestamp:this.formatDateTime(new Date,this.timeZone)};e[3].includes("YELLOW")&&this.overallState!=="RED"&&(this.overallState="YELLOW"),e[3].includes("RED")&&(this.overallState="RED"),e[3]=="YELLOW"||e[3]=="RED"?r.limits=!1:r.limits=!0,this.items.push(r)}this.calcOverallState()})},calcOverallState(){let t="GREEN";for(let e of this.itemList)if(!this.ignored.find(n=>e.includes(n))&&(e.includes("YELLOW")&&t!=="RED"&&(t="YELLOW"),e.includes("RED"))){t="RED";break}this.overallState=t},ignorePacket(t,e){let[n,r,i]=t.split("__"),s=`${n}__${r}`;for(this.ignored.push(s),e||this.updateIgnored();;){let o=this.itemList.findIndex(a=>a.includes(s));if(o===-1)break;{let a=this.itemList[o].lastIndexOf("__");this.removeItem(this.itemList[o].substring(0,a))}}this.calcOverallState()},ignoreItem(t,e){this.ignored.push(t),e||this.updateIgnored(),this.removeItem(t),this.calcOverallState()},restoreItem(t){this.ignored.splice(t,1),this.updateIgnored(),this.updateOutOfLimits()},removeItem(t){const e=this.itemList.findIndex(n=>n.includes(t));this.items.splice(e,1),this.itemList.splice(e,1)},clearAll(){this.ignored=[],this.updateIgnored(),this.updateOutOfLimits()},updateIgnored(){this.$emit("update:modelValue",this.ignored)},handleConfigEvents(t){for(let e of t)e.kind==="deleted"&&e.type==="target"&&this.updateOutOfLimits()},handleMessages(t){for(let e of t){let n=JSON.parse(e.event);if(n.type!="LIMITS_CHANGE")continue;let r=`${n.target_name}__${n.packet_name}__${n.item_name}`;const i=this.itemList.findIndex(o=>o.includes(r));if(i!==-1){this.itemList[i]=`${r}__${n.new_limits_state}`,this.calcOverallState();continue}if(this.ignored.find(o=>r.includes(o))||n.new_limits_state&&!(n.new_limits_state.includes("YELLOW")||n.new_limits_state.includes("RED")))continue;let s={key:r,timestamp:this.formatNanoseconds(n.time_nsec,this.timeZone),parameters:[n.target_name,n.packet_name,n.item_name]};n.new_limits_state=="YELLOW"||n.new_limits_state=="RED"?s.limits=!1:s.limits=!0,this.itemList.push(`${r}__${n.new_limits_state}`),this.items.push(s),this.calcOverallState()}},update(){this.screenItems.length!==0&&this.api.get_tlm_values(this.screenItems).then(t=>{this.updateValues(t)})},updateValues:function(t){this.updateCounter+=1;for(let e=0;e<t.length;e++)t[e].push(this.updateCounter),this.screenValues[this.screenItems[e]]=t[e]},addItem:function(t){this.screenItems.push(t),this.screenValues[t]=[null,null,0]},deleteItem:function(t){let e=this.screenItems.indexOf(t);this.screenItems.splice(e,1)},showIgnored(){this.ignoredItemsDialog=!0},customFilter(t,e,n){if(!e||e.trim()==="")return!0;if(e=e.toLowerCase(),n.parameters&&n.parameters.length>0){for(const r of n.parameters)if(r.toLowerCase().includes(e))return!0}return!!(n.timestamp&&n.timestamp.toLowerCase().includes(e)||n.key&&n.key.toLowerCase().includes(e))}}},bs=["status"],_s={class:"font-weight-black"};function ys(t,e,n,r,i,s){const o=y("v-text-field"),a=y("v-spacer"),l=y("v-row"),u=y("valuelimitsbar-widget"),d=y("value-widget"),h=y("v-btn"),b=y("v-icon"),f=y("v-list-item-title"),w=y("v-list-item"),p=y("v-list"),A=y("v-menu"),R=y("v-data-table"),E=y("v-card"),O=y("v-toolbar"),V=y("v-divider"),_=y("v-card-text"),j=y("v-card-actions"),T=y("v-dialog");return k(),M("div",null,[g(E,{class:"pa-5"},{default:m(()=>[g(l,{class:"ma-1"},{default:m(()=>[g(o,{density:"compact",variant:"outlined",readonly:"","hide-details":"",label:"Overall Limits State","model-value":s.overallStateFormatted,class:Fe(s.textFieldClass),style:{"margin-right":"10px","max-width":"280px"},"data-test":"overall-state"},_e({_:2},[s.astroStatus?{name:"prepend-inner",fn:m(()=>[F("rux-status",{status:s.astroStatus},null,8,bs)]),key:"0"}:void 0]),1032,["model-value","class"]),g(o,{density:"compact",variant:"outlined",readonly:"","hide-details":"",label:"Current Limits Set","model-value":i.currentLimitsSet,style:{"max-width":"200px"},"data-test":"limits-set"},null,8,["model-value"]),g(a),g(o,{modelValue:i.search,"onUpdate:modelValue":e[0]||(e[0]=x=>i.search=x),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",style:{"max-width":"300px"},"data-test":"search"},null,8,["modelValue"])]),_:1}),g(R,{headers:i.headers,items:i.items,search:i.search,"custom-filter":s.customFilter,"item-value":"key","data-test":"limits-table",class:"limits-table",density:"compact","items-per-page":i.itemsPerPage,"onUpdate:itemsPerPage":e[1]||(e[1]=x=>i.itemsPerPage=x)},{"item.timestamp":m(({item:x})=>[N(H(x.timestamp),1)]),"item.value":m(({item:x})=>[x.limits?(k(),P(u,{key:0,parameters:x.parameters,settings:i.valueLimitsBarWidgetSettings,"screen-values":i.screenValues,"screen-time-zone":n.timeZone,onAddItem:s.addItem,onDeleteItem:s.deleteItem},null,8,["parameters","settings","screen-values","screen-time-zone","onAddItem","onDeleteItem"])):(k(),P(d,{key:1,parameters:x.parameters,settings:i.valueWidgetSettings,"screen-values":i.screenValues,"screen-time-zone":n.timeZone,onAddItem:s.addItem,onDeleteItem:s.deleteItem},null,8,["parameters","settings","screen-values","screen-time-zone","onAddItem","onDeleteItem"]))]),"item.actions":m(({item:x})=>[g(A,null,{activator:m(({props:L})=>[g(h,be({icon:"mdi-dots-horizontal",variant:"text",density:"compact"},L),null,16)]),default:m(()=>[g(p,null,{default:m(()=>[g(w,{onClick:L=>s.ignorePacket(x.key)},{prepend:m(()=>[g(b,null,{default:m(()=>e[4]||(e[4]=[N("mdi-close-circle-multiple")])),_:1})]),default:m(()=>[g(f,null,{default:m(()=>e[5]||(e[5]=[N("Ignore Entire Packet")])),_:1})]),_:2},1032,["onClick"]),g(w,{onClick:L=>s.ignoreItem(x.key)},{prepend:m(()=>[g(b,null,{default:m(()=>e[6]||(e[6]=[N("mdi-close-circle")])),_:1})]),default:m(()=>[g(f,null,{default:m(()=>e[7]||(e[7]=[N("Ignore Item")])),_:1})]),_:2},1032,["onClick"]),g(w,{onClick:L=>s.removeItem(x.key)},{prepend:m(()=>[g(b,null,{default:m(()=>e[8]||(e[8]=[N("mdi-eye-off")])),_:1})]),default:m(()=>[g(f,null,{default:m(()=>e[9]||(e[9]=[N("Temporarily Hide Item")])),_:1})]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),"item.limits":m(({item:x})=>[g(a)]),_:1},8,["headers","items","search","custom-filter","items-per-page"]),e[10]||(e[10]=F("div",{class:"footer"},' Note: Timestamp is "now" for items currently out of limits when the page is loaded. ',-1))]),_:1}),g(T,{modelValue:i.ignoredItemsDialog,"onUpdate:modelValue":e[3]||(e[3]=x=>i.ignoredItemsDialog=x),"max-width":"600"},{default:m(()=>[g(E,null,{default:m(()=>[g(O,{height:"24"},{default:m(()=>[g(a),e[11]||(e[11]=F("span",null,"Ignored Items",-1)),g(a)]),_:1}),g(_,{class:"mt-2"},{default:m(()=>[F("div",null,[(k(!0),M(G,null,re(s.ignoredFormatted,(x,L)=>(k(),M("div",{key:L},[g(l,{class:"ma-1 align-center"},{default:m(()=>[F("span",_s,H(x),1),g(a),g(h,{onClick:je=>s.restoreItem(L),icon:"mdi-delete",density:"compact",variant:"text","data-test":`remove-ignore-${L}`},null,8,["onClick","data-test"])]),_:2},1024),L<s.ignoredFormatted.length-1?(k(),P(V,{key:L})):Y("",!0)]))),128))])]),_:1}),g(j,{class:"px-2"},{default:m(()=>[g(h,{variant:"outlined",onClick:s.clearAll},{default:m(()=>e[12]||(e[12]=[N(" Clear All ")])),_:1},8,["onClick"]),g(a),g(h,{variant:"flat",onClick:e[2]||(e[2]=x=>i.ignoredItemsDialog=!1)},{default:m(()=>e[13]||(e[13]=[N(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const ws=ge(gs,[["render",ys],["__scopeId","data-v-de0d3583"]]),vs={props:{historyCount:{type:Number,default:1e3},timeZone:{type:String,default:"local"}},mixins:[De],data(){return{data:[],cable:new cn,search:"",headers:[{title:"Time",value:"time_nsec",width:250},{title:"Level",value:"level",sortable:!1},{title:"Message",value:"message"}]}},created(){this.cable.createSubscription("LimitsEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}},{historyCount:1e3}).then(t=>{this.limitsSubscription=t})},unmounted(){this.limitsSubscription&&this.limitsSubscription.unsubscribe(),this.cable.disconnect()},methods:{handleMessages(t){for(let e=0;e<t.length;e++){let n=JSON.parse(t[e].event);this.data.unshift(n)}this.data.length>this.historyCount&&(this.data.length=this.historyCount)},getStatus(t){return t.includes("GREEN")?"normal":t.includes("YELLOW")?"caution":t.includes("RED")?"critical":t.includes("BLUE")?"standby":"off"},getColorClass(t){return t.includes("GREEN")?"openc3-green":t.includes("YELLOW")?"openc3-yellow":t.includes("RED")?"openc3-red":t.includes("BLUE")?"openc3-blue":this.$vuetify.theme.dark?"openc3-white":"openc3-black"},calcTableHeight(){return window.innerHeight-250}}},Ss=["status"];function Es(t,e,n,r,i,s){const o=y("v-spacer"),a=y("v-text-field"),l=y("v-card-title"),u=y("v-data-table"),d=y("v-card");return k(),P(d,{class:"card-height"},{default:m(()=>[g(l,{class:"d-flex align-center"},{default:m(()=>[e[1]||(e[1]=N(" Limits Events ")),g(o),g(a,{modelValue:i.search,"onUpdate:modelValue":e[0]||(e[0]=h=>i.search=h),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),g(u,{headers:i.headers,items:i.data,search:i.search,"items-per-page":-1,"hide-default-footer":"","multi-sort":"",density:"compact",height:s.calcTableHeight(),hover:"","data-test":"limits-events"},{"item.time_nsec":m(({item:h})=>[F("span",null,H(t.formatNanoseconds(h.time_nsec,n.timeZone)),1)]),"item.level":m(({item:h})=>[F("rux-status",{status:s.getStatus(h.message)},null,8,Ss)]),"item.message":m(({item:h})=>[F("span",{class:Fe(s.getColorClass(h.message))},H(h.message),3)]),_:1},8,["headers","items","search","height"])]),_:1})}const xs={components:{LimitsControl:ws,LimitsEvents:ge(vs,[["render",Es],["__scopeId","data-v-210db24e"]]),TopBar:En,OpenConfigDialog:ut,SaveConfigDialog:lt},mixins:[ct],data(){return{title:"Limits Monitor",configKey:"limits_monitor",api:new bn,timeZone:"local",renderKey:0,ignored:[],openConfig:!1,saveConfig:!1,limitsSets:[],currentLimitsSet:null,currentSetRefreshInterval:null,limitsSetDialog:!1,menus:[{label:"File",items:[{label:"Show Ignored",icon:"mdi-magnify-close",command:()=>{this.$refs.control.showIgnored()}},{label:"Change Limits Set",icon:"mdi-swap-horizontal",command:()=>{this.limitsSetDialog=!0}},{divider:!0},{label:"Open Configuration",icon:"mdi-folder-open",command:()=>{this.openConfig=!0}},{label:"Save Configuration",icon:"mdi-content-save",command:()=>{this.saveConfig=!0}},{label:"Reset Configuration",icon:"mdi-monitor-shimmer",command:()=>{this.ignored=[],this.resetConfigBase(),this.renderKey++}}]}]}},created(){this.api.get_limits_sets().then(t=>{this.limitsSets=t}),this.api.get_setting("time_zone").then(t=>{t&&(this.timeZone=t)}).catch(t=>{})},mounted:function(){if(this.$route.query&&this.$route.query.config)this.openConfiguration(this.$route.query.config,!0);else{let t=this.loadDefaultConfig();JSON.stringify(t)!=="{}"&&(this.ignored=t,this.renderKey++)}},unmounted:function(){clearInterval(this.currentSetRefreshInterval)},methods:{setLimitsSet:function(){this.api.set_limits_set(this.currentLimitsSet),this.limitsSetDialog=!1,this.renderKey++},openConfiguration:function(t,e=!1){this.openConfigBase(t,e,n=>{this.ignored=n,this.renderKey++})},saveConfiguration:function(t){this.saveConfigBase(t,this.ignored)}}};function Cs(t,e,n,r,i,s){const o=y("top-bar"),a=y("limits-control"),l=y("limits-events"),u=y("open-config-dialog"),d=y("save-config-dialog"),h=y("v-spacer"),b=y("v-toolbar"),f=y("v-select"),w=y("v-card-text"),p=y("v-btn"),A=y("v-card-actions"),R=y("v-card"),E=y("v-dialog");return k(),M("div",null,[g(o,{menus:i.menus,title:i.title},null,8,["menus","title"]),(k(),P(a,{ref:"control",modelValue:i.ignored,"onUpdate:modelValue":e[0]||(e[0]=O=>i.ignored=O),key:i.renderKey,"time-zone":i.timeZone},null,8,["modelValue","time-zone"])),e[11]||(e[11]=F("div",{style:{height:"15px"}},null,-1)),g(l,{"time-zone":i.timeZone},null,8,["time-zone"]),i.openConfig?(k(),P(u,{key:0,modelValue:i.openConfig,"onUpdate:modelValue":e[1]||(e[1]=O=>i.openConfig=O),configKey:i.configKey,onSuccess:s.openConfiguration},null,8,["modelValue","configKey","onSuccess"])):Y("",!0),i.saveConfig?(k(),P(d,{key:1,modelValue:i.saveConfig,"onUpdate:modelValue":e[2]||(e[2]=O=>i.saveConfig=O),configKey:i.configKey,onSuccess:s.saveConfiguration},null,8,["modelValue","configKey","onSuccess"])):Y("",!0),g(E,{modelValue:i.limitsSetDialog,"onUpdate:modelValue":e[5]||(e[5]=O=>i.limitsSetDialog=O),"max-width":"650"},{default:m(()=>[g(R,null,{default:m(()=>[g(b,{height:"24"},{default:m(()=>[g(h),e[6]||(e[6]=F("span",null,"Change Limits Set",-1)),g(h)]),_:1}),g(w,{class:"mt-6"},{default:m(()=>[e[7]||(e[7]=F("span",{style:{display:"block"}}," The Limits Set is a global option which changes the Limits Set across all tools. ",-1)),e[8]||(e[8]=F("span",{style:{display:"block"}}," NOTE: Changing this option clears the current list and recalculates based on the new set. ",-1)),g(f,{label:"Limits Set",items:i.limitsSets,modelValue:i.currentLimitsSet,"onUpdate:modelValue":e[3]||(e[3]=O=>i.currentLimitsSet=O),density:"compact",variant:"outlined","data-test":"limits-set","hide-details":"",class:"mt-3",style:{"max-width":"200px"}},null,8,["items","modelValue"])]),_:1}),g(A,{class:"px-2"},{default:m(()=>[g(h),g(p,{variant:"outlined",onClick:e[4]||(e[4]=O=>i.limitsSetDialog=!1)},{default:m(()=>e[9]||(e[9]=[N(" Cancel ")])),_:1}),g(p,{variant:"flat",onClick:s.setLimitsSet},{default:m(()=>e[10]||(e[10]=[N(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const zs=yn("default",ge(xs,[["render",Cs]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-39581cbfa1f879c54974.js","vue","./main-198c84edc9d877ab9beb.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.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-31348127e98f8a6d12c1.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-e511008555d8894be77e.js","vue","./main-198c84edc9d877ab9beb.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.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-ca9c28d1dcfbe431d7e0.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-39581cbfa1f879c54974.js","vue","./main-198c84edc9d877ab9beb.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.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-31348127e98f8a6d12c1.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-994d56a281d499d8b2ab.js","./main-753f2fc61e5e6d5ec666.js","vue","./Graph-Bgo0cjl3-a7da22d67a0ed8c014e3.js","single-spa","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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]]))}}});
@@ -1 +1 @@
1
- System.register(["./Layout-Bh7VzCZd-4413af25199d52238484.js","./main-198c84edc9d877ab9beb.js","vue","./Widget-fRCERxGf-d41f5679fd96d070d90a.js","vue-router","single-spa","vuex","vuetify"],function(h,B){"use strict";var c,o,m,r,n,g,l,a,p,d,f;return{setters:[e=>{c=e.r},e=>{o=e.s,m=e.T},e=>{r=e.createElementBlock,n=e.openBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,f=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[c],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(u=>{u.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&u.settings.push(["MARGIN",s])})}}};function y(s,u,i,b,z,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,C)=>(n(),r("tr",{key:"r"+C},[(n(!0),r(l,null,a(v,(t,w)=>(n(),r("td",{key:"c"+w},[(n(),p(d(t.type),f({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))]))),128))]))),128))],4)}const R=h("default",o(e,[["render",y]]))}}});
1
+ System.register(["./Layout-Tf--nruw-3794f7b5e1017b913cf3.js","./main-753f2fc61e5e6d5ec666.js","vue","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var c,o,m,r,n,g,l,a,p,d,y;return{setters:[e=>{c=e.r},e=>{o=e.d,m=e.g},e=>{r=e.createElementBlock,n=e.openBlock,g=e.normalizeStyle,l=e.Fragment,a=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(l,null,a(k.widgetChunks,(v,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(l,null,a(v,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),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-d41f5679fd96d070d90a.js","vue","./main-198c84edc9d877ab9beb.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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-4413af25199d52238484.js","vue","./main-198c84edc9d877ab9beb.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.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-3794f7b5e1017b913cf3.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-d41f5679fd96d070d90a.js","vue","./main-198c84edc9d877ab9beb.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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-d41f5679fd96d070d90a.js","vue","./main-198c84edc9d877ab9beb.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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-3794f7b5e1017b913cf3.js","./VerticalWidget-BIIViZgI-a9bf3384447d400268fd.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-e511008555d8894be77e.js","vue","./main-198c84edc9d877ab9beb.js","./Widget-fRCERxGf-d41f5679fd96d070d90a.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-ca9c28d1dcfbe431d7e0.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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-e8389f3f66fdbd36be56.js","./main-198c84edc9d877ab9beb.js","vue","./Graph-3rkhFP3G-13f4b388c563c17ad7c7.js","single-spa","./Widget-fRCERxGf-d41f5679fd96d070d90a.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-994d56a281d499d8b2ab.js","./main-753f2fc61e5e6d5ec666.js","vue","./Graph-Bgo0cjl3-a7da22d67a0ed8c014e3.js","single-spa","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-3794f7b5e1017b913cf3.js","vue","./main-753f2fc61e5e6d5ec666.js","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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 @@
1
+ System.register(["./main-753f2fc61e5e6d5ec666.js","vue","./DetailsDialog-DmEC5BTs-9861628031e7555d351a.js","single-spa","./VWidget-DQqb7NVW-ca9c28d1dcfbe431d7e0.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-8ddc0c20a29aec6d8ea4.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-d41f5679fd96d070d90a.js","vue","./main-198c84edc9d877ab9beb.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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-8ddc0c20a29aec6d8ea4.js","./main-753f2fc61e5e6d5ec666.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-8ddc0c20a29aec6d8ea4.js","vue","./main-753f2fc61e5e6d5ec666.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]]))}}});