openc3-cosmos-tool-handbooks 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/handbooks/ArrayWidget-BTxChSds-8cc0d1e219bdee3ee7e0.js +2 -0
- data/tools/handbooks/BarColumn-Cdu3OoMa-4b76872317503486ae81.js +1 -0
- data/tools/handbooks/BlockWidget-PmjzrkXF-bfae6259f429b88cedcb.js +2 -0
- data/tools/handbooks/ButtonWidget-nwDlOBJT-50ab39fbb9d9b5c00067.js +2 -0
- data/tools/handbooks/CanvasWidget-BL8930eT-47ff02ccf569033eef6e.js +1 -0
- data/tools/handbooks/CanvasdotWidget-VCf1fL-G-1a284248f88585709c27.js +1 -0
- data/tools/handbooks/CanvasimageWidget-BIw7Wbf2-b046315b448b1d148566.js +1 -0
- data/tools/handbooks/CanvasimagevalueWidget-CE3Dj5bH-18c3009f2d4445170a68.js +1 -0
- data/tools/handbooks/CanvaslabelWidget-DWmb356h-8e5601d1a3171649e109.js +1 -0
- data/tools/handbooks/CanvaslabelvalueWidget-CI3yYwFs-dcde3864f229b7dfbe35.js +1 -0
- data/tools/handbooks/CanvaslineWidget-COeapH3P-8f4d4146683ef75acfd4.js +1 -0
- data/tools/handbooks/CanvaslinevalueWidget-CI-Bbzfi-40ded28d20c9da97ddb3.js +1 -0
- data/tools/handbooks/CheckbuttonWidget-BQhggcZ2-418addbe204c1382c38a.js +1 -0
- data/tools/handbooks/ComboboxWidget-BzsbOv54-da53a9cc076630707341.js +1 -0
- data/tools/handbooks/DateWidget-B5R_9rA8-2a27a6e4ec29ea02c658.js +1 -0
- data/tools/handbooks/{DetailsDialog-EWjtBjle-59d71533de6f1afb5b3d.js → DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js} +1 -1
- data/tools/handbooks/DynamicWidget-m9EliUR2-8bc0d337f7846bfde4a9.js +1 -0
- data/tools/handbooks/FormatvalueWidget-DZkRJce8-88df31edeca6fe8c2dce.js +1 -0
- data/tools/handbooks/GraphWidget-amwxyH1r-3be150d4abb2db05593f.js +1 -0
- data/tools/handbooks/{Handbooks-75ad4dfc60910c3a3942.js → Handbooks-eb7a6a87f49c2cb87e1e.js} +5 -5
- data/tools/handbooks/HorizontalWidget-CirtfuL8-c4717eb2d56111d23637.js +1 -0
- data/tools/handbooks/HorizontalboxWidget-CyTDt2nl-9e04e5359dcdd96e4295.js +1 -0
- data/tools/handbooks/HorizontallineWidget-BdlNB951-3a9b86a0c6dd7f7d9264.js +1 -0
- data/tools/handbooks/IframeWidget-DnJmCrCA-780fc1e07d841cb1255f.js +1 -0
- data/tools/handbooks/{ImageLoader-CDLQopxJ-3dd0f499f80daf78a94a.js → ImageLoader-CpcR6tPi-1d6748218ed7301a4692.js} +1 -1
- data/tools/handbooks/ImageviewerWidget-DIkmb_C9-fd648220fdd3d5674a9f.js +1 -0
- data/tools/handbooks/LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js +1 -0
- data/tools/handbooks/LabelledWidget-DjturGl5-aa0c4e15e90524cea860.js +1 -0
- data/tools/handbooks/LabelprogressbarWidget-RADJGLj3-4a19a52034cd8a1673f7.js +1 -0
- data/tools/handbooks/LabelsparklineWidget-BlJoICxu-600ff3732fb4805e072c.js +1 -0
- data/tools/handbooks/LabelvalueWidget-DVWJqnlY-6169c2f71c4d8710898e.js +1 -0
- data/tools/handbooks/LabelvaluedescWidget-CsUP7J4U-79f084422cfafa9e4422.js +1 -0
- data/tools/handbooks/LabelvaluelimitsbarWidget-Blj1QXV8-8c6890250864b5d74ac8.js +1 -0
- data/tools/handbooks/LabelvaluelimitscolumnWidget-CvCo-uCe-4eaa1200ef38b9cf207b.js +1 -0
- data/tools/handbooks/LabelvaluerangebarWidget-DpcXhlfF-9693998b4bbf86eb191b.js +1 -0
- data/tools/handbooks/{Layout-klOVw-YN-4784d0d21bc070998a56.js → Layout-C1HoM4Kl-c1f484215a5c1258b34b.js} +1 -1
- data/tools/handbooks/LedWidget-B_K2e5tq-93e6fe5998b0e20dafe5.js +1 -0
- data/tools/handbooks/LimitsbarWidget-DXbqsi4J-b42cd4c8e8ad4936b280.js +1 -0
- data/tools/handbooks/LimitscolorWidget-Ckmuw0YX-b5154551ed8491980695.js +1 -0
- data/tools/handbooks/LimitscolumnWidget-BfY4su5U-cf16d8618cdb65408de6.js +1 -0
- data/tools/handbooks/LinegraphWidget-y-Qy9P0R-23ba63f66dd7d79164a3.js +1 -0
- data/tools/handbooks/MatrixbycolumnsWidget-BTBColrs-f2ad0261998578e0947b.js +1 -0
- data/tools/handbooks/ProgressbarWidget-DpA_-vy9-f4111147a1486b4bdedf.js +1 -0
- data/tools/handbooks/RadiobuttonWidget-BO8zpgwW-cefb0b760bb26f457d85.js +1 -0
- data/tools/handbooks/RadiogroupWidget-Oy7V4S-V-e74215d661ba9b671ff7.js +1 -0
- data/tools/handbooks/RangebarWidget-DHS7S3vI-a5f2efb3969cc11977ae.js +1 -0
- data/tools/handbooks/RollupWidget-CTk9Kjwr-8345e5ca8ae0b418ba7e.js +1 -0
- data/tools/handbooks/ScrollwindowWidget-DD0TOW6s-4e86ef0835c03e92b156.js +1 -0
- data/tools/handbooks/SignalWidget-CC33KMTW-9cc063cb20fa5e140991.js +1 -0
- data/tools/handbooks/SpacerWidget-BnJe_Hq6-66b68eb9bef06ad93a73.js +1 -0
- data/tools/handbooks/SparklineWidget-DMvMQCPm-6a60694be7c7b69f8b0a.js +1 -0
- data/tools/handbooks/TabbookWidget-B3w0JtWe-1f26b22413ecffad5cda.js +1 -0
- data/tools/handbooks/TextboxWidget-D2f0-eol-9125877a5131d0b8de69.js +1 -0
- data/tools/handbooks/TextfieldWidget-DXSdgqVP-4c8bd02cdf83008c43d8.js +1 -0
- data/tools/handbooks/TimeWidget-DvrRaEMz-e9f8639f122a5e09b511.js +1 -0
- data/tools/handbooks/TitleWidget-DqViFQl--13da4f56896efa55a0a2.js +1 -0
- data/tools/handbooks/{VWidget-Dmqf_jKM-314d92caf2bfd6e9b598.js → VWidget-02CG-3Av-e7feaa529e95c4de2997.js} +1 -1
- data/tools/handbooks/ValueWidget-KLYY8L8U-7c8df4e2a7b46a8a2a88.js +1 -0
- data/tools/handbooks/ValuelimitsbarWidget-SR8XNZFB-3365cb42530bcff75891.js +1 -0
- data/tools/handbooks/ValuelimitscolumnWidget-xYZSp6YZ-c990e35db8867b328f5f.js +1 -0
- data/tools/handbooks/ValuerangebarWidget-B6M02a9d-cf821f9babb8d6e3603b.js +1 -0
- data/tools/handbooks/VerticalWidget-z6xUM-ql-a30289a8ea28c6d71e33.js +1 -0
- data/tools/handbooks/VerticalboxWidget-3a9cVsW--b62f35dbe7aee81ccc16.js +1 -0
- data/tools/handbooks/{Widget-orNSvnOh-7804f02e99b774df9c10.js → Widget-C4QVI4IH-2de1c130b781b9886eb4.js} +1 -1
- data/tools/handbooks/{main-e90840241377cd3606aa.js → main-b8feff7544353ef60d67.js} +32 -32
- data/tools/handbooks/main.js +1 -1
- metadata +67 -67
- data/tools/handbooks/ArrayWidget-By62tXtU-4b91b15093cbc7dade19.js +0 -2
- data/tools/handbooks/BarColumn-Dm3D1Lhp-81e8edd87c5188bc3a2a.js +0 -1
- data/tools/handbooks/BlockWidget-CrT45ode-3aecc4b08977365f3d04.js +0 -2
- data/tools/handbooks/ButtonWidget-CKyBBv6m-4bc4e6910c71d9db5fe3.js +0 -2
- data/tools/handbooks/CanvasWidget-PqkppHC7-c1d68091cd2c9792eced.js +0 -1
- data/tools/handbooks/CanvasdotWidget-BUbJgM2d-8f0f90fb7b4e4fa5df77.js +0 -1
- data/tools/handbooks/CanvasimageWidget-DPVBY7mi-b097d99872b07b86f55a.js +0 -1
- data/tools/handbooks/CanvasimagevalueWidget-GX37zzNc-31d06cfe6824a0472a02.js +0 -1
- data/tools/handbooks/CanvaslabelWidget-P2_Y6Edw-c8c76cea19c13fa71a3a.js +0 -1
- data/tools/handbooks/CanvaslabelvalueWidget-Cuas1i9P-5dc661d1d97af72e110d.js +0 -1
- data/tools/handbooks/CanvaslineWidget-BYOYgPya-5a243bee492e888aad04.js +0 -1
- data/tools/handbooks/CanvaslinevalueWidget-3cVJMFo7-6338b199df34ce18e11b.js +0 -1
- data/tools/handbooks/CheckbuttonWidget-B3wgSMuB-7fba15002e10a391b76c.js +0 -1
- data/tools/handbooks/ComboboxWidget-Dzr4Scvf-c0d8623401d73f6f9121.js +0 -1
- data/tools/handbooks/DateWidget-BWh76Ibb-fe0a29181876d68b8194.js +0 -1
- data/tools/handbooks/DynamicWidget-m9EliUR2-1f4cf77762a0181a5ff1.js +0 -1
- data/tools/handbooks/FormatvalueWidget-Rk0_eeIm-96a446a345b5aeeeb97f.js +0 -1
- data/tools/handbooks/GraphWidget-LqekkNDr-7c0c26accbb8bd0d4f54.js +0 -1
- data/tools/handbooks/HorizontalWidget-BcfJ24Zn-be1e21dc8c2dbcb04d8a.js +0 -1
- data/tools/handbooks/HorizontalboxWidget-CQy1Hv9E-b0643d2fdea1c6b8d6aa.js +0 -1
- data/tools/handbooks/HorizontallineWidget-BdlNB951-14d7f2fde11faef575e4.js +0 -1
- data/tools/handbooks/IframeWidget-BBaDrRLo-a475486c8447ff007b0c.js +0 -1
- data/tools/handbooks/ImageviewerWidget-BgO3Pq6I-361a2e41b1529e5ecbeb.js +0 -1
- data/tools/handbooks/LabelWidget-B_C6lKOE-3f83f01c5e5022553a7a.js +0 -1
- data/tools/handbooks/LabelledWidget-B_UGivhr-c539a39fcb037c73d867.js +0 -1
- data/tools/handbooks/LabelprogressbarWidget-BJWCmsYC-1fb98524bfdc33cdd429.js +0 -1
- data/tools/handbooks/LabelsparklineWidget-DILCIh3q-e3f7e0d66031fc3fcfff.js +0 -1
- data/tools/handbooks/LabelvalueWidget-CCZd1NXE-e07fd491790f46d4f2e3.js +0 -1
- data/tools/handbooks/LabelvaluedescWidget-Bsllq8W6-fbac79b29c35378aaba7.js +0 -1
- data/tools/handbooks/LabelvaluelimitsbarWidget-BV-cfaD--8c4e27fb8aedd291ec1f.js +0 -1
- data/tools/handbooks/LabelvaluelimitscolumnWidget-DwA0eRBw-98aa94b16b16d9cbfb0a.js +0 -1
- data/tools/handbooks/LabelvaluerangebarWidget-3GDJz3dj-4fe4dcf049937e1747e3.js +0 -1
- data/tools/handbooks/LedWidget-BAt02s0J-3379ff744e78d1bee564.js +0 -1
- data/tools/handbooks/LimitsbarWidget-JJiyzZjb-d844f6e5051f75abf71c.js +0 -1
- data/tools/handbooks/LimitscolorWidget-CYzXKbYd-eee5b71db19c482f00ab.js +0 -1
- data/tools/handbooks/LimitscolumnWidget-Cd76tBo7-faca780cd4f4b6af1656.js +0 -1
- data/tools/handbooks/LinegraphWidget-DWRtO6Ej-a6d9b58643763fb4f498.js +0 -1
- data/tools/handbooks/MatrixbycolumnsWidget-cwsyjNV2-8d7ba941a4856b024838.js +0 -1
- data/tools/handbooks/ProgressbarWidget-CYDziFej-cea50deed14d9ea9ee7a.js +0 -1
- data/tools/handbooks/RadiobuttonWidget-U6jcQZoD-f41f238e8be070344c07.js +0 -1
- data/tools/handbooks/RadiogroupWidget-HTPJnsB0-6508226be1401d2e8274.js +0 -1
- data/tools/handbooks/RangebarWidget-DW0FJK6y-ba774ebdf5e3edc505d3.js +0 -1
- data/tools/handbooks/RollupWidget-B2qrx55f-3ec2a3c2865daf2f8904.js +0 -1
- data/tools/handbooks/ScrollwindowWidget-CwIDxgO6-7e32c74bf35370436463.js +0 -1
- data/tools/handbooks/SignalWidget-Bosa3AbW-c312535159fecdfcfaa5.js +0 -1
- data/tools/handbooks/SpacerWidget-DYAlt5mt-a74c456bf9547ddbd711.js +0 -1
- data/tools/handbooks/SparklineWidget-CDrVXOFV-322f36bb21482f7e1cca.js +0 -1
- data/tools/handbooks/TabbookWidget-DDdlzCkv-fb51c5c33a1de8811408.js +0 -1
- data/tools/handbooks/TextboxWidget-5euFelEq-7409b1ac6d027010a934.js +0 -1
- data/tools/handbooks/TextfieldWidget-BFripYeh-939fe3d7a7da55cbfd21.js +0 -1
- data/tools/handbooks/TimeWidget-BBSbsUYJ-bd96c3674fd979d9914a.js +0 -1
- data/tools/handbooks/TitleWidget-p8cjo-Bs-4669cdb208df500b2eae.js +0 -1
- data/tools/handbooks/ValueWidget-CZh7JWwT-2a23c36175571db8f128.js +0 -1
- data/tools/handbooks/ValuelimitsbarWidget-DU7ybswC-1bf3f2cfaadea2d5b9e5.js +0 -1
- data/tools/handbooks/ValuelimitscolumnWidget-DMw-h5jM-55312420cef8c9aca8f0.js +0 -1
- data/tools/handbooks/ValuerangebarWidget-DPpofDpA-5178b4bc22208f3fc6bc.js +0 -1
- data/tools/handbooks/VerticalWidget-Ch7VAEmz-dd34bbc4f902f0afeba5.js +0 -1
- data/tools/handbooks/VerticalboxWidget-DYx-TFT4-6d372847e5acee80c0b0.js +0 -1
data/tools/handbooks/{Handbooks-75ad4dfc60910c3a3942.js → Handbooks-eb7a6a87f49c2cb87e1e.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
System.register(["./main-e90840241377cd3606aa.js","vue","vue-router","vuex","vuetify"],function(wt,xr){"use strict";var Ce,Y,b,x,A,je,g,h,I,E,C,q,M,me,j,he,pe,z,Pe;return{setters:[T=>{Ce=T.s,Y=T._},T=>{b=T.resolveComponent,x=T.openBlock,A=T.createBlock,je=T.Teleport,g=T.createVNode,h=T.withCtx,I=T.createElementVNode,E=T.toDisplayString,C=T.createElementBlock,q=T.Fragment,M=T.renderList,me=T.mergeProps,j=T.createTextVNode,he=T.createSlots,pe=T.normalizeStyle,z=T.createCommentVNode,Pe=T.withModifiers},null,null,null],execute:function(){const T={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}},xt={class:"app-title mr-2"},Et=["textContent"];function Ot(t,e,n,r,o,s){const i=b("v-col"),c=b("v-row"),u=b("v-icon"),l=b("v-btn"),d=b("v-divider"),f=b("v-list-item-title"),y=b("v-list-item"),_=b("v-list"),p=b("v-menu"),m=b("v-radio"),R=b("v-list-item-action"),S=b("v-radio-group"),O=b("v-checkbox");return x(),A(je,{to:"#openc3-menu"},[g(c,{"no-gutters":""},{default:h(()=>[g(i,{"align-self":"end"},{default:h(()=>[I("span",xt,E(n.title),1)]),_:1})]),_:1}),g(c,{dense:"",class:"flex-nowrap"},{default:h(()=>[(x(!0),C(q,null,M(n.menus,(k,G)=>(x(),A(p,{ref_for:!0,ref:"topmenu",key:G},{activator:h(({props:w})=>[g(l,me({ref_for:!0},w,{variant:"outlined",class:"mx-1 menu-button","data-test":s.formatDT(`${n.title} ${k.label}`)}),{default:h(()=>[I("span",{textContent:E(k.label)},null,8,Et),g(u,{class:"myicon",end:""},{default:h(()=>e[0]||(e[0]=[j(" mdi-menu-down ")])),_:1})]),_:2},1040,["data-test"])]),default:h(()=>[g(_,null,{default:h(()=>[(x(!0),C(q,null,M(k.items,(w,F)=>(x(),C(q,null,[w.divider?(x(),A(d,{key:F+"-divider"})):w.subMenu&&w.subMenu.length>0?(x(),C("div",{key:F+"-submenu"},[(x(),A(p,{"open-on-hover":"",location:"right",key:F},{activator:h(({props:D})=>[(x(),A(y,me({ref_for:!0},D,{disabled:w.disabled,key:F}),he({append:h(()=>[g(u,null,{default:h(()=>e[1]||(e[1]=[j(" mdi-chevron-right ")])),_:1})]),default:h(()=>[!w.radio&&!w.checkbox?(x(),A(f,{key:0,style:pe("cursor: pointer;"+(w.disabled?"opacity: 0.2":""))},{default:h(()=>[j(E(w.label),1)]),_:2},1032,["style"])):z("",!0)]),_:2},[w.icon?{name:"prepend",fn:h(()=>[g(u,{disabled:w.disabled},{default:h(()=>[j(E(w.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:h(()=>[g(_,null,{default:h(()=>[(x(!0),C(q,null,M(w.subMenu,(D,H)=>(x(),A(y,{key:H,"prepend-icon":D.icon,onClick:Ae=>s.subMenuClick(D)},{default:h(()=>[g(f,null,{default:h(()=>[j(E(D.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):w.radioGroup?(x(),A(S,{"model-value":w.value,"onUpdate:modelValue":w.command,key:F+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:h(()=>[(x(!0),C(q,null,M(w.choices,(D,H)=>(x(),A(y,{key:H+"-choice"},{default:h(()=>[g(R,{class:"list-action"},{default:h(()=>[g(m,{color:"secondary",label:D.label,value:D.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(x(),A(y,{onClick:D=>w.command(w),disabled:w.disabled,"data-test":s.formatDT(`${n.title} ${k.label} ${w.label}`),key:F+"-list"},he({default:h(()=>[w.checkbox?(x(),A(R,{key:0,class:"list-action"},{default:h(()=>[g(O,{modelValue:w.checked,"onUpdate:modelValue":D=>w.checked=D,label:w.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):z("",!0),!w.radio&&!w.checkbox?(x(),A(f,{key:1,style:pe("cursor: pointer;"+(w.disabled?"opacity: 0.2":""))},{default:h(()=>[j(E(w.label),1)]),_:2},1032,["style"])):z("",!0)]),_:2},[w.icon?{name:"prepend",fn:h(()=>[g(u,{icon:w.icon,disabled:w.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const Tt=Ce(T,[["render",Ot],["__scopeId","data-v-0fdf6c8a"]]);var St=Object.defineProperty,Rt=(t,e,n)=>e in t?St(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,kt=(t,e,n)=>Rt(t,e+"",n);function De(t,e){return function(){return t.apply(e,arguments)}}const{toString:Nt}=Object.prototype,{getPrototypeOf:_e}=Object,ne=(t=>e=>{const n=Nt.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),L=t=>(t=t.toLowerCase(),e=>ne(e)===t),re=t=>e=>typeof e===t,{isArray:X}=Array,Q=re("undefined");function At(t){return t!==null&&!Q(t)&&t.constructor!==null&&!Q(t.constructor)&&B(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ue=L("ArrayBuffer");function Ct(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ue(t.buffer),e}const jt=re("string"),B=re("function"),Be=re("number"),oe=t=>t!==null&&typeof t=="object",Pt=t=>t===!0||t===!1,se=t=>{if(ne(t)!=="object")return!1;const e=_e(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Dt=L("Date"),Ut=L("File"),Bt=L("Blob"),Ft=L("FileList"),It=t=>oe(t)&&B(t.pipe),Lt=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||B(t.append)&&((e=ne(t))==="formdata"||e==="object"&&B(t.toString)&&t.toString()==="[object FormData]"))},qt=L("URLSearchParams"),[zt,Vt,Mt,Ht]=["ReadableStream","Request","Response","Headers"].map(L),Wt=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Z(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),X(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const s=n?Object.getOwnPropertyNames(t):Object.keys(t),i=s.length;let c;for(r=0;r<i;r++)c=s[r],e.call(null,t[c],c,t)}}function Fe(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const W=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ie=t=>!Q(t)&&t!==W;function ge(){const{caseless:t}=Ie(this)&&this||{},e={},n=(r,o)=>{const s=t&&Fe(e,o)||o;se(e[s])&&se(r)?e[s]=ge(e[s],r):se(r)?e[s]=ge({},r):X(r)?e[s]=r.slice():e[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Z(arguments[r],n);return e}const Jt=(t,e,n,{allOwnKeys:r}={})=>(Z(e,(o,s)=>{n&&B(o)?t[s]=De(o,n):t[s]=o},{allOwnKeys:r}),t),Kt=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Gt=(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)},Xt=(t,e,n,r)=>{let o,s,i;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)i=o[s],(!r||r(i,t,e))&&!c[i]&&(e[i]=t[i],c[i]=!0);t=n!==!1&&_e(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},$t=(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},Yt=t=>{if(!t)return null;if(X(t))return t;let e=t.length;if(!Be(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Qt=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_e(Uint8Array)),Zt=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const o=r.value;e.call(t,o[0],o[1])}},en=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},tn=L("HTMLFormElement"),nn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),Le=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),rn=L("RegExp"),qe=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Z(n,(o,s)=>{let i;(i=e(o,s,t))!==!1&&(r[s]=i||o)}),Object.defineProperties(t,r)},on=t=>{qe(t,(e,n)=>{if(B(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(B(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+"'")})}})},sn=(t,e)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return X(t)?r(t):r(String(t).split(e)),n},an=()=>{},cn=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,ye="abcdefghijklmnopqrstuvwxyz",ze="0123456789",Ve={DIGIT:ze,ALPHA:ye,ALPHA_DIGIT:ye+ye.toUpperCase()+ze},ln=(t=16,e=Ve.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function un(t){return!!(t&&B(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const dn=t=>{const e=new Array(10),n=(r,o)=>{if(oe(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const s=X(r)?[]:{};return Z(r,(i,c)=>{const u=n(i,o+1);!Q(u)&&(s[c]=u)}),e[o]=void 0,s}}return r};return n(t,0)},fn=L("AsyncFunction"),mn=t=>t&&(oe(t)||B(t))&&B(t.then)&&B(t.catch),Me=((t,e)=>t?setImmediate:e?((n,r)=>(W.addEventListener("message",({source:o,data:s})=>{o===W&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),W.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",B(W.postMessage)),hn=typeof queueMicrotask<"u"?queueMicrotask.bind(W):typeof process<"u"&&process.nextTick||Me,a={isArray:X,isArrayBuffer:Ue,isBuffer:At,isFormData:Lt,isArrayBufferView:Ct,isString:jt,isNumber:Be,isBoolean:Pt,isObject:oe,isPlainObject:se,isReadableStream:zt,isRequest:Vt,isResponse:Mt,isHeaders:Ht,isUndefined:Q,isDate:Dt,isFile:Ut,isBlob:Bt,isRegExp:rn,isFunction:B,isStream:It,isURLSearchParams:qt,isTypedArray:Qt,isFileList:Ft,forEach:Z,merge:ge,extend:Jt,trim:Wt,stripBOM:Kt,inherits:Gt,toFlatObject:Xt,kindOf:ne,kindOfTest:L,endsWith:$t,toArray:Yt,forEachEntry:Zt,matchAll:en,isHTMLForm:tn,hasOwnProperty:Le,hasOwnProp:Le,reduceDescriptors:qe,freezeMethods:on,toObjectSet:sn,toCamelCase:nn,noop:an,toFiniteNumber:cn,findKey:Fe,global:W,isContextDefined:Ie,ALPHABET:Ve,generateString:ln,isSpecCompliantForm:un,toJSONObject:dn,isAsyncFn:fn,isThenable:mn,setImmediate:Me,asap:hn};function v(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}a.inherits(v,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const He=v.prototype,We={};["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=>{We[t]={value:t}}),Object.defineProperties(v,We),Object.defineProperty(He,"isAxiosError",{value:!0}),v.from=(t,e,n,r,o,s)=>{const i=Object.create(He);return a.toFlatObject(t,i,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),v.call(i,t.message,e,n,r,o),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};const pn=null;function be(t){return a.isPlainObject(t)||a.isArray(t)}function Je(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function Ke(t,e,n){return t?t.concat(e).map(function(r,o){return r=Je(r),!n&&o?"["+r+"]":r}).join(n?".":""):e}function _n(t){return a.isArray(t)&&!t.some(be)}const gn=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(t,e,n){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,p){return!a.isUndefined(p[_])});const r=n.metaTokens,o=n.visitor||l,s=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(o))throw new TypeError("visitor must be a function");function u(_){if(_===null)return"";if(a.isDate(_))return _.toISOString();if(!c&&a.isBlob(_))throw new v("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(_)||a.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function l(_,p,m){let R=_;if(_&&!m&&typeof _=="object"){if(a.endsWith(p,"{}"))p=r?p:p.slice(0,-2),_=JSON.stringify(_);else if(a.isArray(_)&&_n(_)||(a.isFileList(_)||a.endsWith(p,"[]"))&&(R=a.toArray(_)))return p=Je(p),R.forEach(function(S,O){!(a.isUndefined(S)||S===null)&&e.append(i===!0?Ke([p],O,s):i===null?p:p+"[]",u(S))}),!1}return be(_)?!0:(e.append(Ke(m,p,s),u(_)),!1)}const d=[],f=Object.assign(gn,{defaultVisitor:l,convertValue:u,isVisitable:be});function y(_,p){if(!a.isUndefined(_)){if(d.indexOf(_)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(_),a.forEach(_,function(m,R){(!(a.isUndefined(m)||m===null)&&o.call(e,m,a.isString(R)?R.trim():R,p,f))===!0&&y(m,p?p.concat(R):[R])}),d.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return y(t),e}function Ge(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&&ie(t,this,e)}const Xe=ve.prototype;Xe.append=function(t,e){this._pairs.push([t,e])},Xe.toString=function(t){const e=t?function(n){return t.call(this,n,Ge)}:Ge;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function yn(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $e(t,e,n){if(!e)return t;const r=n&&n.encode||yn;a.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(o?s=o(e,n):s=a.isURLSearchParams(e)?e.toString():new ve(e,n).toString(r),s){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Ye{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Qe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bn=typeof URLSearchParams<"u"?URLSearchParams:ve,vn=typeof FormData<"u"?FormData:null,wn=typeof Blob<"u"?Blob:null,xn={isBrowser:!0,classes:{URLSearchParams:bn,FormData:vn,Blob:wn},protocols:["http","https","file","blob","url","data"]},we=typeof window<"u"&&typeof document<"u",xe=typeof navigator=="object"&&navigator||void 0,En=we&&(!xe||["ReactNative","NativeScript","NS"].indexOf(xe.product)<0),On=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tn=we&&window.location.href||"http://localhost",Sn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:we,hasStandardBrowserEnv:En,hasStandardBrowserWebWorkerEnv:On,navigator:xe,origin:Tn},Symbol.toStringTag,{value:"Module"})),P={...Sn,...xn};function Rn(t,e){return ie(t,new P.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return P.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function kn(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Nn(t){const e={},n=Object.keys(t);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],e[s]=t[s];return e}function Ze(t){function e(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),u=s>=n.length;return i=!i&&a.isArray(o)?o.length:i,u?(a.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!c):((!o[i]||!a.isObject(o[i]))&&(o[i]=[]),e(n,r,o[i],s)&&a.isArray(o[i])&&(o[i]=Nn(o[i])),!c)}if(a.isFormData(t)&&a.isFunction(t.entries)){const n={};return a.forEachEntry(t,(r,o)=>{e(kn(r),o,n,0)}),n}return null}function An(t,e,n){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}const ee={transitional:Qe,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return r?JSON.stringify(Ze(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Rn(t,this.formSerializer).toString();if((s=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const i=this.env&&this.env.FormData;return ie(s?{"files[]":t}:t,i&&new i,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),An(t)):t}],transformResponse:[function(t){const e=this.transitional||ee.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||r)){const o=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(o)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:P.classes.FormData,Blob:P.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],t=>{ee.headers[t]={}});const Cn=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jn=t=>{const e={};let n,r,o;return t&&t.split(`
|
2
|
-
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&
|
3
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const n=(this[et]=this[et]={accessors:{}}).accessors,r=this.prototype;function o(s){const i=te(s);n[i]||(Bn(r,s),n[i]=!0)}return a.isArray(e)?e.forEach(o):o(e),this}}U.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(U.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),a.freezeMethods(U);function Oe(t,e){const n=this||ee,r=e||n,o=U.from(r.headers);let s=r.data;return a.forEach(t,function(i){s=i.call(n,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function tt(t){return!!(t&&t.__CANCEL__)}function $(t,e,n){v.call(this,t??"canceled",v.ERR_CANCELED,e,n),this.name="CanceledError"}a.inherits($,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 Fn(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function In(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,s=0,i;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),l=r[s];i||(i=u),n[o]=c,r[o]=u;let d=s,f=0;for(;d!==o;)f+=n[d++],d=d%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),u-i<e)return;const y=l&&u-l;return y?Math.round(f*1e3/y):void 0}}function Ln(t,e){let n=0,r=1e3/e,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),t.apply(null,c)};return[(...c)=>{const u=Date.now(),l=u-n;l>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-l)))},()=>o&&i(o)]}const ce=(t,e,n=3)=>{let r=0;const o=In(50,250);return Ln(s=>{const i=s.loaded,c=s.lengthComputable?s.total:void 0,u=i-r,l=o(u),d=i<=c;r=i;const f={loaded:i,total:c,progress:c?i/c:void 0,bytes:u,rate:l||void 0,estimated:l&&c&&d?(c-i)/l:void 0,event:s,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(f)},n)},rt=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},ot=t=>(...e)=>a.asap(()=>t(...e)),qn=P.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,P.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(P.origin),P.navigator&&/(msie|trident)/i.test(P.navigator.userAgent)):()=>!0,zn=P.hasStandardBrowserEnv?{write(t,e,n,r,o,s){const i=[t+"="+encodeURIComponent(e)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.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 Vn(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Mn(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function st(t,e){return t&&!Vn(e)?Mn(t,e):e}const it=t=>t instanceof U?{...t}:t;function J(t,e){e=e||{};const n={};function r(l,d,f,y){return a.isPlainObject(l)&&a.isPlainObject(d)?a.merge.call({caseless:y},l,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function o(l,d,f,y){if(a.isUndefined(d)){if(!a.isUndefined(l))return r(void 0,l,f,y)}else return r(l,d,f,y)}function s(l,d){if(!a.isUndefined(d))return r(void 0,d)}function i(l,d){if(a.isUndefined(d)){if(!a.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function c(l,d,f){if(f in e)return r(l,d);if(f in t)return r(void 0,l)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(l,d,f)=>o(it(l),it(d),f,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(l){const d=u[l]||o,f=d(t[l],e[l],l);a.isUndefined(f)&&d!==c||(n[l]=f)}),n}const at=t=>{const e=J({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:c}=e;e.headers=i=U.from(i),e.url=$e(st(e.baseURL,e.url),t.params,t.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let u;if(a.isFormData(n)){if(P.hasStandardBrowserEnv||P.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[l,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...d].join("; "))}}if(P.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(e)),r||r!==!1&&qn(e.url))){const l=o&&s&&zn.read(s);l&&i.set(o,l)}return e},Hn=typeof XMLHttpRequest<"u",Wn=Hn&&function(t){return new Promise(function(e,n){const r=at(t);let o=r.data;const s=U.from(r.headers).normalize();let{responseType:i,onUploadProgress:c,onDownloadProgress:u}=r,l,d,f,y,_;function p(){y&&y(),_&&_(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function R(){if(!m)return;const O=U.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),k={data:!i||i==="text"||i==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:O,config:t,request:m};nt(function(G){e(G),p()},function(G){n(G),p()},k),m=null}"onloadend"in m?m.onloadend=R:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(R)},m.onabort=function(){m&&(n(new v("Request aborted",v.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new v("Network Error",v.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let O=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const k=r.transitional||Qe;r.timeoutErrorMessage&&(O=r.timeoutErrorMessage),n(new v(O,k.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,t,m)),m=null},o===void 0&&s.setContentType(null),"setRequestHeader"in m&&a.forEach(s.toJSON(),function(O,k){m.setRequestHeader(k,O)}),a.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),i&&i!=="json"&&(m.responseType=r.responseType),u&&([f,_]=ce(u,!0),m.addEventListener("progress",f)),c&&m.upload&&([d,y]=ce(c),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=O=>{m&&(n(!O||O.type?new $(null,t,m):O),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const S=Fn(r.url);if(S&&P.protocols.indexOf(S)===-1){n(new v("Unsupported protocol "+S+":",v.ERR_BAD_REQUEST,t));return}m.send(o||null)})},Jn=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,o;const s=function(l){if(!o){o=!0,c();const d=l instanceof Error?l:this.reason;r.abort(d instanceof v?d:new $(d instanceof Error?d.message:d))}};let i=e&&setTimeout(()=>{i=null,s(new v(`timeout ${e} of ms exceeded`,v.ETIMEDOUT))},e);const c=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),t=null)};t.forEach(l=>l.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>a.asap(c),u}},Kn=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},Gn=async function*(t,e){for await(const n of Xn(t))yield*Kn(n,e)},Xn=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()}},ct=(t,e,n,r)=>{const o=Gn(t,e);let s=0,i,c=u=>{i||(i=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:l,value:d}=await o.next();if(l){c(),u.close();return}let f=d.byteLength;if(n){let y=s+=f;n(y)}u.enqueue(new Uint8Array(d))}catch(l){throw c(l),l}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},le=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",lt=le&&typeof ReadableStream=="function",$n=le&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),ut=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Yn=lt&&ut(()=>{let t=!1;const e=new Request(P.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),dt=64*1024,Te=lt&&ut(()=>a.isReadableStream(new Response("").body)),ue={stream:Te&&(t=>t.body)};le&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!ue[e]&&(ue[e]=a.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new v(`Response type '${e}' is not supported`,v.ERR_NOT_SUPPORT,r)})})})(new Response);const Qn=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(P.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(a.isArrayBufferView(t)||a.isArrayBuffer(t))return t.byteLength;if(a.isURLSearchParams(t)&&(t=t+""),a.isString(t))return(await $n(t)).byteLength},Zn=async(t,e)=>a.toFiniteNumber(t.getContentLength())??Qn(e),er=le&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:c,onUploadProgress:u,responseType:l,headers:d,withCredentials:f="same-origin",fetchOptions:y}=at(t);l=l?(l+"").toLowerCase():"text";let _=Jn([o,s&&s.toAbortSignal()],i),p;const m=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let R;try{if(u&&Yn&&n!=="get"&&n!=="head"&&(R=await Zn(d,r))!==0){let w=new Request(e,{method:"POST",body:r,duplex:"half"}),F;if(a.isFormData(r)&&(F=w.headers.get("content-type"))&&d.setContentType(F),w.body){const[D,H]=rt(R,ce(ot(u)));r=ct(w.body,dt,D,H)}}a.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;p=new Request(e,{...y,signal:_,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:S?f:void 0});let O=await fetch(p);const k=Te&&(l==="stream"||l==="response");if(Te&&(c||k&&m)){const w={};["status","statusText","headers"].forEach(Ae=>{w[Ae]=O[Ae]});const F=a.toFiniteNumber(O.headers.get("content-length")),[D,H]=c&&rt(F,ce(ot(c),!0))||[];O=new Response(ct(O.body,dt,D,()=>{H&&H(),m&&m()}),w)}l=l||"text";let G=await ue[a.findKey(ue,l)||"text"](O,t);return!k&&m&&m(),await new Promise((w,F)=>{nt(w,F,{data:G,headers:U.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:p})})}catch(S){throw m&&m(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new v("Network Error",v.ERR_NETWORK,t,p),{cause:S.cause||S}):v.from(S,S&&S.code,t,p)}}),Se={http:pn,xhr:Wn,fetch:er};a.forEach(Se,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const ft=t=>`- ${t}`,tr=t=>a.isFunction(t)||t===null||t===!1,mt={getAdapter:t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let s=0;s<e;s++){n=t[s];let i;if(r=n,!tr(n)&&(r=Se[(i=String(n)).toLowerCase()],r===void 0))throw new v(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=e?s.length>1?`since :
|
1
|
+
System.register(["./main-b8feff7544353ef60d67.js","vue","single-spa","vue-router","vuex","vuetify"],function(wt,wr){"use strict";var Ce,Y,b,x,A,je,g,h,I,E,C,q,M,me,j,he,pe,z,Pe;return{setters:[T=>{Ce=T.s,Y=T._},T=>{b=T.resolveComponent,x=T.openBlock,A=T.createBlock,je=T.Teleport,g=T.createVNode,h=T.withCtx,I=T.createElementVNode,E=T.toDisplayString,C=T.createElementBlock,q=T.Fragment,M=T.renderList,me=T.mergeProps,j=T.createTextVNode,he=T.createSlots,pe=T.normalizeStyle,z=T.createCommentVNode,Pe=T.withModifiers},null,null,null,null],execute:function(){const T={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}},xt={class:"app-title mr-2"};function Et(t,e,n,r,o,s){const i=b("v-col"),c=b("v-row"),u=b("v-icon"),l=b("v-btn"),d=b("v-divider"),f=b("v-list-item-title"),y=b("v-list-item"),_=b("v-list"),p=b("v-menu"),m=b("v-radio"),R=b("v-list-item-action"),S=b("v-radio-group"),O=b("v-checkbox");return x(),A(je,{to:"#openc3-menu"},[g(c,{"no-gutters":""},{default:h(()=>[g(i,{"align-self":"end"},{default:h(()=>[I("span",xt,E(n.title),1)]),_:1})]),_:1}),g(c,{dense:"",class:"flex-nowrap"},{default:h(()=>[(x(!0),C(q,null,M(n.menus,(k,G)=>(x(),A(p,{ref_for:!0,ref:"topmenu",key:G},{activator:h(({props:w})=>[g(l,me({ref_for:!0},w,{variant:"outlined",class:"mx-1 menu-button",text:k.label,"data-test":s.formatDT(`${n.title} ${k.label}`)}),{append:h(()=>[g(u,{class:"menu-button-icon"},{default:h(()=>e[0]||(e[0]=[j(" mdi-menu-down ")])),_:1})]),_:2},1040,["text","data-test"])]),default:h(()=>[g(_,null,{default:h(()=>[(x(!0),C(q,null,M(k.items,(w,F)=>(x(),C(q,null,[w.divider?(x(),A(d,{key:F+"-divider"})):w.subMenu&&w.subMenu.length>0?(x(),C("div",{key:F+"-submenu"},[(x(),A(p,{"open-on-hover":"",location:"right",key:F},{activator:h(({props:D})=>[(x(),A(y,me({ref_for:!0},D,{disabled:w.disabled,key:F}),he({append:h(()=>[g(u,null,{default:h(()=>e[1]||(e[1]=[j(" mdi-chevron-right ")])),_:1})]),default:h(()=>[!w.radio&&!w.checkbox?(x(),A(f,{key:0,style:pe("cursor: pointer;"+(w.disabled?"opacity: 0.2":""))},{default:h(()=>[j(E(w.label),1)]),_:2},1032,["style"])):z("",!0)]),_:2},[w.icon?{name:"prepend",fn:h(()=>[g(u,{disabled:w.disabled},{default:h(()=>[j(E(w.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:h(()=>[g(_,null,{default:h(()=>[(x(!0),C(q,null,M(w.subMenu,(D,H)=>(x(),A(y,{key:H,"prepend-icon":D.icon,onClick:Ae=>s.subMenuClick(D)},{default:h(()=>[g(f,null,{default:h(()=>[j(E(D.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):w.radioGroup?(x(),A(S,{"model-value":w.value,"onUpdate:modelValue":w.command,key:F+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:h(()=>[(x(!0),C(q,null,M(w.choices,(D,H)=>(x(),A(y,{key:H+"-choice"},{default:h(()=>[g(R,{class:"list-action"},{default:h(()=>[g(m,{color:"secondary",label:D.label,value:D.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(x(),A(y,{onClick:D=>w.command(w),disabled:w.disabled,"data-test":s.formatDT(`${n.title} ${k.label} ${w.label}`),key:F+"-list"},he({default:h(()=>[w.checkbox?(x(),A(R,{key:0,class:"list-action"},{default:h(()=>[g(O,{modelValue:w.checked,"onUpdate:modelValue":D=>w.checked=D,label:w.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):z("",!0),!w.radio&&!w.checkbox?(x(),A(f,{key:1,style:pe("cursor: pointer;"+(w.disabled?"opacity: 0.2":""))},{default:h(()=>[j(E(w.label),1)]),_:2},1032,["style"])):z("",!0)]),_:2},[w.icon?{name:"prepend",fn:h(()=>[g(u,{icon:w.icon,disabled:w.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const Ot=Ce(T,[["render",Et],["__scopeId","data-v-4d454b93"]]);var Tt=Object.defineProperty,St=(t,e,n)=>e in t?Tt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Rt=(t,e,n)=>St(t,e+"",n);function De(t,e){return function(){return t.apply(e,arguments)}}const{toString:kt}=Object.prototype,{getPrototypeOf:_e}=Object,ne=(t=>e=>{const n=kt.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),L=t=>(t=t.toLowerCase(),e=>ne(e)===t),re=t=>e=>typeof e===t,{isArray:X}=Array,Q=re("undefined");function Nt(t){return t!==null&&!Q(t)&&t.constructor!==null&&!Q(t.constructor)&&B(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ue=L("ArrayBuffer");function At(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ue(t.buffer),e}const Ct=re("string"),B=re("function"),Be=re("number"),oe=t=>t!==null&&typeof t=="object",jt=t=>t===!0||t===!1,se=t=>{if(ne(t)!=="object")return!1;const e=_e(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Pt=L("Date"),Dt=L("File"),Ut=L("Blob"),Bt=L("FileList"),Ft=t=>oe(t)&&B(t.pipe),It=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||B(t.append)&&((e=ne(t))==="formdata"||e==="object"&&B(t.toString)&&t.toString()==="[object FormData]"))},Lt=L("URLSearchParams"),[qt,zt,Vt,Mt]=["ReadableStream","Request","Response","Headers"].map(L),Ht=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Z(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),X(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const s=n?Object.getOwnPropertyNames(t):Object.keys(t),i=s.length;let c;for(r=0;r<i;r++)c=s[r],e.call(null,t[c],c,t)}}function Fe(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const W=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ie=t=>!Q(t)&&t!==W;function ge(){const{caseless:t}=Ie(this)&&this||{},e={},n=(r,o)=>{const s=t&&Fe(e,o)||o;se(e[s])&&se(r)?e[s]=ge(e[s],r):se(r)?e[s]=ge({},r):X(r)?e[s]=r.slice():e[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Z(arguments[r],n);return e}const Wt=(t,e,n,{allOwnKeys:r}={})=>(Z(e,(o,s)=>{n&&B(o)?t[s]=De(o,n):t[s]=o},{allOwnKeys:r}),t),Jt=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Kt=(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)},Gt=(t,e,n,r)=>{let o,s,i;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)i=o[s],(!r||r(i,t,e))&&!c[i]&&(e[i]=t[i],c[i]=!0);t=n!==!1&&_e(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Xt=(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},$t=t=>{if(!t)return null;if(X(t))return t;let e=t.length;if(!Be(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Yt=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_e(Uint8Array)),Qt=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const o=r.value;e.call(t,o[0],o[1])}},Zt=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},en=L("HTMLFormElement"),tn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),Le=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),nn=L("RegExp"),qe=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Z(n,(o,s)=>{let i;(i=e(o,s,t))!==!1&&(r[s]=i||o)}),Object.defineProperties(t,r)},rn=t=>{qe(t,(e,n)=>{if(B(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(B(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+"'")})}})},on=(t,e)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return X(t)?r(t):r(String(t).split(e)),n},sn=()=>{},an=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,ye="abcdefghijklmnopqrstuvwxyz",ze="0123456789",Ve={DIGIT:ze,ALPHA:ye,ALPHA_DIGIT:ye+ye.toUpperCase()+ze},cn=(t=16,e=Ve.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function ln(t){return!!(t&&B(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const un=t=>{const e=new Array(10),n=(r,o)=>{if(oe(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const s=X(r)?[]:{};return Z(r,(i,c)=>{const u=n(i,o+1);!Q(u)&&(s[c]=u)}),e[o]=void 0,s}}return r};return n(t,0)},dn=L("AsyncFunction"),fn=t=>t&&(oe(t)||B(t))&&B(t.then)&&B(t.catch),Me=((t,e)=>t?setImmediate:e?((n,r)=>(W.addEventListener("message",({source:o,data:s})=>{o===W&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),W.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",B(W.postMessage)),mn=typeof queueMicrotask<"u"?queueMicrotask.bind(W):typeof process<"u"&&process.nextTick||Me,a={isArray:X,isArrayBuffer:Ue,isBuffer:Nt,isFormData:It,isArrayBufferView:At,isString:Ct,isNumber:Be,isBoolean:jt,isObject:oe,isPlainObject:se,isReadableStream:qt,isRequest:zt,isResponse:Vt,isHeaders:Mt,isUndefined:Q,isDate:Pt,isFile:Dt,isBlob:Ut,isRegExp:nn,isFunction:B,isStream:Ft,isURLSearchParams:Lt,isTypedArray:Yt,isFileList:Bt,forEach:Z,merge:ge,extend:Wt,trim:Ht,stripBOM:Jt,inherits:Kt,toFlatObject:Gt,kindOf:ne,kindOfTest:L,endsWith:Xt,toArray:$t,forEachEntry:Qt,matchAll:Zt,isHTMLForm:en,hasOwnProperty:Le,hasOwnProp:Le,reduceDescriptors:qe,freezeMethods:rn,toObjectSet:on,toCamelCase:tn,noop:sn,toFiniteNumber:an,findKey:Fe,global:W,isContextDefined:Ie,ALPHABET:Ve,generateString:cn,isSpecCompliantForm:ln,toJSONObject:un,isAsyncFn:dn,isThenable:fn,setImmediate:Me,asap:mn};function v(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}a.inherits(v,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const He=v.prototype,We={};["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=>{We[t]={value:t}}),Object.defineProperties(v,We),Object.defineProperty(He,"isAxiosError",{value:!0}),v.from=(t,e,n,r,o,s)=>{const i=Object.create(He);return a.toFlatObject(t,i,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),v.call(i,t.message,e,n,r,o),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};const hn=null;function be(t){return a.isPlainObject(t)||a.isArray(t)}function Je(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function Ke(t,e,n){return t?t.concat(e).map(function(r,o){return r=Je(r),!n&&o?"["+r+"]":r}).join(n?".":""):e}function pn(t){return a.isArray(t)&&!t.some(be)}const _n=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(t,e,n){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,p){return!a.isUndefined(p[_])});const r=n.metaTokens,o=n.visitor||l,s=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(o))throw new TypeError("visitor must be a function");function u(_){if(_===null)return"";if(a.isDate(_))return _.toISOString();if(!c&&a.isBlob(_))throw new v("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(_)||a.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function l(_,p,m){let R=_;if(_&&!m&&typeof _=="object"){if(a.endsWith(p,"{}"))p=r?p:p.slice(0,-2),_=JSON.stringify(_);else if(a.isArray(_)&&pn(_)||(a.isFileList(_)||a.endsWith(p,"[]"))&&(R=a.toArray(_)))return p=Je(p),R.forEach(function(S,O){!(a.isUndefined(S)||S===null)&&e.append(i===!0?Ke([p],O,s):i===null?p:p+"[]",u(S))}),!1}return be(_)?!0:(e.append(Ke(m,p,s),u(_)),!1)}const d=[],f=Object.assign(_n,{defaultVisitor:l,convertValue:u,isVisitable:be});function y(_,p){if(!a.isUndefined(_)){if(d.indexOf(_)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(_),a.forEach(_,function(m,R){(!(a.isUndefined(m)||m===null)&&o.call(e,m,a.isString(R)?R.trim():R,p,f))===!0&&y(m,p?p.concat(R):[R])}),d.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return y(t),e}function Ge(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&&ie(t,this,e)}const Xe=ve.prototype;Xe.append=function(t,e){this._pairs.push([t,e])},Xe.toString=function(t){const e=t?function(n){return t.call(this,n,Ge)}:Ge;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function gn(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $e(t,e,n){if(!e)return t;const r=n&&n.encode||gn;a.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(o?s=o(e,n):s=a.isURLSearchParams(e)?e.toString():new ve(e,n).toString(r),s){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Ye{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Qe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yn=typeof URLSearchParams<"u"?URLSearchParams:ve,bn=typeof FormData<"u"?FormData:null,vn=typeof Blob<"u"?Blob:null,wn={isBrowser:!0,classes:{URLSearchParams:yn,FormData:bn,Blob:vn},protocols:["http","https","file","blob","url","data"]},we=typeof window<"u"&&typeof document<"u",xe=typeof navigator=="object"&&navigator||void 0,xn=we&&(!xe||["ReactNative","NativeScript","NS"].indexOf(xe.product)<0),En=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",On=we&&window.location.href||"http://localhost",Tn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:we,hasStandardBrowserEnv:xn,hasStandardBrowserWebWorkerEnv:En,navigator:xe,origin:On},Symbol.toStringTag,{value:"Module"})),P={...Tn,...wn};function Sn(t,e){return ie(t,new P.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return P.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Rn(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function kn(t){const e={},n=Object.keys(t);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],e[s]=t[s];return e}function Ze(t){function e(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),u=s>=n.length;return i=!i&&a.isArray(o)?o.length:i,u?(a.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!c):((!o[i]||!a.isObject(o[i]))&&(o[i]=[]),e(n,r,o[i],s)&&a.isArray(o[i])&&(o[i]=kn(o[i])),!c)}if(a.isFormData(t)&&a.isFunction(t.entries)){const n={};return a.forEachEntry(t,(r,o)=>{e(Rn(r),o,n,0)}),n}return null}function Nn(t,e,n){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}const ee={transitional:Qe,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return r?JSON.stringify(Ze(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Sn(t,this.formSerializer).toString();if((s=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const i=this.env&&this.env.FormData;return ie(s?{"files[]":t}:t,i&&new i,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),Nn(t)):t}],transformResponse:[function(t){const e=this.transitional||ee.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||r)){const o=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(o)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:P.classes.FormData,Blob:P.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],t=>{ee.headers[t]={}});const An=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Cn=t=>{const e={};let n,r,o;return t&&t.split(`
|
2
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&An[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},et=Symbol("internals");function te(t){return t&&String(t).trim().toLowerCase()}function ae(t){return t===!1||t==null?t:a.isArray(t)?t.map(ae):String(t)}function jn(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 Pn=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ee(t,e,n,r,o){if(a.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!a.isString(e)){if(a.isString(r))return e.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(e)}}function Dn(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Un(t,e){const n=a.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,s,i){return this[r].call(this,e,o,s,i)},configurable:!0})})}class U{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function s(c,u,l){const d=te(u);if(!d)throw new Error("header name must be a non-empty string");const f=a.findKey(o,d);(!f||o[f]===void 0||l===!0||l===void 0&&o[f]!==!1)&&(o[f||u]=ae(c))}const i=(c,u)=>a.forEach(c,(l,d)=>s(l,d,u));if(a.isPlainObject(e)||e instanceof this.constructor)i(e,n);else if(a.isString(e)&&(e=e.trim())&&!Pn(e))i(Cn(e),n);else if(a.isHeaders(e))for(const[c,u]of e.entries())s(u,c,r);else e!=null&&s(n,e,r);return this}get(e,n){if(e=te(e),e){const r=a.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return jn(o);if(a.isFunction(n))return n.call(this,o,r);if(a.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=te(e),e){const r=a.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ee(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function s(i){if(i=te(i),i){const c=a.findKey(r,i);c&&(!n||Ee(r,r[c],c,n))&&(delete r[c],o=!0)}}return a.isArray(e)?e.forEach(s):s(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!e||Ee(this,this[s],s,e,!0))&&(delete this[s],o=!0)}return o}normalize(e){const n=this,r={};return a.forEach(this,(o,s)=>{const i=a.findKey(r,s);if(i){n[i]=ae(o),delete n[s];return}const c=e?Dn(s):String(s).trim();c!==s&&delete n[s],n[c]=ae(o),r[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return a.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
3
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const n=(this[et]=this[et]={accessors:{}}).accessors,r=this.prototype;function o(s){const i=te(s);n[i]||(Un(r,s),n[i]=!0)}return a.isArray(e)?e.forEach(o):o(e),this}}U.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(U.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),a.freezeMethods(U);function Oe(t,e){const n=this||ee,r=e||n,o=U.from(r.headers);let s=r.data;return a.forEach(t,function(i){s=i.call(n,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function tt(t){return!!(t&&t.__CANCEL__)}function $(t,e,n){v.call(this,t??"canceled",v.ERR_CANCELED,e,n),this.name="CanceledError"}a.inherits($,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 Bn(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Fn(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,s=0,i;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),l=r[s];i||(i=u),n[o]=c,r[o]=u;let d=s,f=0;for(;d!==o;)f+=n[d++],d=d%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),u-i<e)return;const y=l&&u-l;return y?Math.round(f*1e3/y):void 0}}function In(t,e){let n=0,r=1e3/e,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),t.apply(null,c)};return[(...c)=>{const u=Date.now(),l=u-n;l>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-l)))},()=>o&&i(o)]}const ce=(t,e,n=3)=>{let r=0;const o=Fn(50,250);return In(s=>{const i=s.loaded,c=s.lengthComputable?s.total:void 0,u=i-r,l=o(u),d=i<=c;r=i;const f={loaded:i,total:c,progress:c?i/c:void 0,bytes:u,rate:l||void 0,estimated:l&&c&&d?(c-i)/l:void 0,event:s,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(f)},n)},rt=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},ot=t=>(...e)=>a.asap(()=>t(...e)),Ln=P.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,P.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(P.origin),P.navigator&&/(msie|trident)/i.test(P.navigator.userAgent)):()=>!0,qn=P.hasStandardBrowserEnv?{write(t,e,n,r,o,s){const i=[t+"="+encodeURIComponent(e)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.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 zn(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Vn(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function st(t,e){return t&&!zn(e)?Vn(t,e):e}const it=t=>t instanceof U?{...t}:t;function J(t,e){e=e||{};const n={};function r(l,d,f,y){return a.isPlainObject(l)&&a.isPlainObject(d)?a.merge.call({caseless:y},l,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function o(l,d,f,y){if(a.isUndefined(d)){if(!a.isUndefined(l))return r(void 0,l,f,y)}else return r(l,d,f,y)}function s(l,d){if(!a.isUndefined(d))return r(void 0,d)}function i(l,d){if(a.isUndefined(d)){if(!a.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function c(l,d,f){if(f in e)return r(l,d);if(f in t)return r(void 0,l)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(l,d,f)=>o(it(l),it(d),f,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(l){const d=u[l]||o,f=d(t[l],e[l],l);a.isUndefined(f)&&d!==c||(n[l]=f)}),n}const at=t=>{const e=J({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:c}=e;e.headers=i=U.from(i),e.url=$e(st(e.baseURL,e.url),t.params,t.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let u;if(a.isFormData(n)){if(P.hasStandardBrowserEnv||P.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[l,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...d].join("; "))}}if(P.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(e)),r||r!==!1&&Ln(e.url))){const l=o&&s&&qn.read(s);l&&i.set(o,l)}return e},Mn=typeof XMLHttpRequest<"u",Hn=Mn&&function(t){return new Promise(function(e,n){const r=at(t);let o=r.data;const s=U.from(r.headers).normalize();let{responseType:i,onUploadProgress:c,onDownloadProgress:u}=r,l,d,f,y,_;function p(){y&&y(),_&&_(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function R(){if(!m)return;const O=U.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),k={data:!i||i==="text"||i==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:O,config:t,request:m};nt(function(G){e(G),p()},function(G){n(G),p()},k),m=null}"onloadend"in m?m.onloadend=R:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(R)},m.onabort=function(){m&&(n(new v("Request aborted",v.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new v("Network Error",v.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let O=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const k=r.transitional||Qe;r.timeoutErrorMessage&&(O=r.timeoutErrorMessage),n(new v(O,k.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,t,m)),m=null},o===void 0&&s.setContentType(null),"setRequestHeader"in m&&a.forEach(s.toJSON(),function(O,k){m.setRequestHeader(k,O)}),a.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),i&&i!=="json"&&(m.responseType=r.responseType),u&&([f,_]=ce(u,!0),m.addEventListener("progress",f)),c&&m.upload&&([d,y]=ce(c),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",y)),(r.cancelToken||r.signal)&&(l=O=>{m&&(n(!O||O.type?new $(null,t,m):O),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const S=Bn(r.url);if(S&&P.protocols.indexOf(S)===-1){n(new v("Unsupported protocol "+S+":",v.ERR_BAD_REQUEST,t));return}m.send(o||null)})},Wn=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,o;const s=function(l){if(!o){o=!0,c();const d=l instanceof Error?l:this.reason;r.abort(d instanceof v?d:new $(d instanceof Error?d.message:d))}};let i=e&&setTimeout(()=>{i=null,s(new v(`timeout ${e} of ms exceeded`,v.ETIMEDOUT))},e);const c=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),t=null)};t.forEach(l=>l.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>a.asap(c),u}},Jn=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},Kn=async function*(t,e){for await(const n of Gn(t))yield*Jn(n,e)},Gn=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()}},ct=(t,e,n,r)=>{const o=Kn(t,e);let s=0,i,c=u=>{i||(i=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:l,value:d}=await o.next();if(l){c(),u.close();return}let f=d.byteLength;if(n){let y=s+=f;n(y)}u.enqueue(new Uint8Array(d))}catch(l){throw c(l),l}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},le=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",lt=le&&typeof ReadableStream=="function",Xn=le&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),ut=(t,...e)=>{try{return!!t(...e)}catch{return!1}},$n=lt&&ut(()=>{let t=!1;const e=new Request(P.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),dt=64*1024,Te=lt&&ut(()=>a.isReadableStream(new Response("").body)),ue={stream:Te&&(t=>t.body)};le&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!ue[e]&&(ue[e]=a.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new v(`Response type '${e}' is not supported`,v.ERR_NOT_SUPPORT,r)})})})(new Response);const Yn=async t=>{if(t==null)return 0;if(a.isBlob(t))return t.size;if(a.isSpecCompliantForm(t))return(await new Request(P.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(a.isArrayBufferView(t)||a.isArrayBuffer(t))return t.byteLength;if(a.isURLSearchParams(t)&&(t=t+""),a.isString(t))return(await Xn(t)).byteLength},Qn=async(t,e)=>a.toFiniteNumber(t.getContentLength())??Yn(e),Zn=le&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:c,onUploadProgress:u,responseType:l,headers:d,withCredentials:f="same-origin",fetchOptions:y}=at(t);l=l?(l+"").toLowerCase():"text";let _=Wn([o,s&&s.toAbortSignal()],i),p;const m=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let R;try{if(u&&$n&&n!=="get"&&n!=="head"&&(R=await Qn(d,r))!==0){let w=new Request(e,{method:"POST",body:r,duplex:"half"}),F;if(a.isFormData(r)&&(F=w.headers.get("content-type"))&&d.setContentType(F),w.body){const[D,H]=rt(R,ce(ot(u)));r=ct(w.body,dt,D,H)}}a.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;p=new Request(e,{...y,signal:_,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:S?f:void 0});let O=await fetch(p);const k=Te&&(l==="stream"||l==="response");if(Te&&(c||k&&m)){const w={};["status","statusText","headers"].forEach(Ae=>{w[Ae]=O[Ae]});const F=a.toFiniteNumber(O.headers.get("content-length")),[D,H]=c&&rt(F,ce(ot(c),!0))||[];O=new Response(ct(O.body,dt,D,()=>{H&&H(),m&&m()}),w)}l=l||"text";let G=await ue[a.findKey(ue,l)||"text"](O,t);return!k&&m&&m(),await new Promise((w,F)=>{nt(w,F,{data:G,headers:U.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:p})})}catch(S){throw m&&m(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new v("Network Error",v.ERR_NETWORK,t,p),{cause:S.cause||S}):v.from(S,S&&S.code,t,p)}}),Se={http:hn,xhr:Hn,fetch:Zn};a.forEach(Se,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const ft=t=>`- ${t}`,er=t=>a.isFunction(t)||t===null||t===!1,mt={getAdapter:t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let s=0;s<e;s++){n=t[s];let i;if(r=n,!er(n)&&(r=Se[(i=String(n)).toLowerCase()],r===void 0))throw new v(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=e?s.length>1?`since :
|
4
4
|
`+s.map(ft).join(`
|
5
|
-
`):" "+ft(s[0]):"as no adapter specified";throw new v("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Se};function Re(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $(null,t)}function ht(t){return Re(t),t.headers=U.from(t.headers),t.data=Oe.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),mt.getAdapter(t.adapter||ee.adapter)(t).then(function(e){return Re(t),e.data=Oe.call(t,t.transformResponse,e),e.headers=U.from(e.headers),e},function(e){return tt(e)||(Re(t),e&&e.response&&(e.response.data=Oe.call(t,t.transformResponse,e.response),e.response.headers=U.from(e.response.headers))),Promise.reject(e)})}const pt="1.7.9",de={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{de[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const _t={};de.transitional=function(t,e,n){function r(o,s){return"[Axios v"+pt+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,i)=>{if(t===!1)throw new v(r(s," has been removed"+(e?" in "+e:"")),v.ERR_DEPRECATED);return e&&!_t[s]&&(_t[s]=!0,console.warn(r(s," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(o,s,i):!0}},de.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function
|
6
|
-
`+s):r.stack=s}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=J(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&fe.assertOptions(r,{silentJSONParsing:V.transitional(V.boolean),forcedJSONParsing:V.transitional(V.boolean),clarifyTimeoutError:V.transitional(V.boolean)},!1),o!=null&&(a.isFunction(o)?n.paramsSerializer={serialize:o}:fe.assertOptions(o,{encode:V.function,serialize:V.function},!0)),fe.assertOptions(n,{baseUrl:V.spelling("baseURL"),withXsrfToken:V.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&a.merge(s.common,s[n.method]);s&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=U.concat(i,s);const c=[];let u=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(u=u&&p.synchronous,c.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let d,f=0,y;if(!u){const p=[ht.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,l),y=p.length,d=Promise.resolve(n);f<y;)d=d.then(p[f++],p[f++]);return d}y=c.length;let _=n;for(f=0;f<y;){const p=c[f++],m=c[f++];try{_=p(_)}catch(R){m.call(this,R);break}}try{d=ht.call(this,_)}catch(p){return Promise.reject(p)}for(f=0,y=l.length;f<y;)d=d.then(l[f++],l[f++]);return d}getUri(e){e=J(this.defaults,e);const n=st(e.baseURL,e.url);return $e(n,e.params,e.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){K.prototype[t]=function(e,n){return this.request(J(n||{},{method:t,url:e,data:(n||{}).data}))}}),a.forEach(["post","put","patch"],function(t){function e(n){return function(r,o,s){return this.request(J(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}K.prototype[t]=e(),K.prototype[t+"Form"]=e(!0)});class ke{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(c=>{r.subscribe(c),s=c}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},e(function(o,s,i){r.reason||(r.reason=new $(o,s,i),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 ke(function(n){e=n}),cancel:e}}}function rr(t){return function(e){return t.apply(null,e)}}function or(t){return a.isObject(t)&&t.isAxiosError===!0}const Ne={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(Ne).forEach(([t,e])=>{Ne[e]=t});function gt(t){const e=new K(t),n=De(K.prototype.request,e);return a.extend(n,K.prototype,e,{allOwnKeys:!0}),a.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return gt(J(t,r))},n}const N=gt(ee);N.Axios=K,N.CanceledError=$,N.CancelToken=ke,N.isCancel=tt,N.VERSION=pt,N.toFormData=ie,N.AxiosError=v,N.Cancel=N.CanceledError,N.all=function(t){return Promise.all(t)},N.spread=rr,N.isAxiosError=or,N.mergeConfig=J,N.AxiosHeaders=U,N.formToJSON=t=>Ze(a.isHTMLForm(t)?new FormData(t):t),N.getAdapter=mt.getAdapter,N.HttpStatusCode=Ne,N.default=N;const yt=N.create({baseURL:location.origin,timeout:6e4,params:{}});yt.interceptors.response.use(t=>t,t=>{var e,n,r,o,s,i,c,u,l,d,f;if(t.response){if(t.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(p){p&&OpenC3Auth.setTokens()}),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let y=`HTTP ${t.response.status} - `;(e=t.response)!=null&&e.statusText&&(y+=`${t.response.statusText} `),(r=(n=t.response)==null?void 0:n.config)!=null&&r.data&&(y+=`${t.response.config.data} `),(s=(o=t.response)==null?void 0:o.data)!=null&&s.message?y+=`${t.response.data.message}`:(c=(i=t.response)==null?void 0:i.data)!=null&&c.exception?y+=`${t.response.data.exception}`:(d=(l=(u=t.response)==null?void 0:u.data)==null?void 0:l.error)!=null&&d.message?(t.response.data.error.class&&(y+=`${t.response.data.error.class} `),y+=`${t.response.data.error.message}`):y+=`${(f=t.response)==null?void 0:f.data}`;const{$cosmosNotify:_}=window;throw _&&_.serious({title:"Network error",body:y}),t}else throw t});var sr={message_types:{welcome:"welcome",disconnect:"disconnect",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},disconnect_reasons:{unauthorized:"unauthorized",invalid_request:"invalid_request",server_restart:"server_restart",remote:"remote"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]};const{message_types:Er,protocols:bt}=sr;bt.slice(0,bt.length-1);class vt{constructor(){kt(this,"id",1)}async exec(e,n,r={},o={},s=6e4){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}this.id=this.id+1;try{return r.scope=window.openc3Scope,o.manual=!0,(await 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",...o},timeout:s})).data.result}catch(i){let c=new Error;throw i.response?(c.name=i.response.data.error.data.class,c.message=i.response.data.error.data.message,c.object=i.response.data.error):i.request?(c.name="Request error",c.message="Request error, no response received"):c.name="Unknown error",c}}decode_openc3_type(e){if(e!==null&&typeof e=="object"&&e.json_class=="Float"&&e.raw){if(e.raw=="NaN")return NaN;if(e.raw=="Infinity")return 1/0;if(e.raw=="-Infinity")return-1/0}return null}encode_openc3_type(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then(e=>{e&&(localStorage.openc3OfflineToken?this.set_offline_access(localStorage.openc3OfflineToken).then(()=>{delete localStorage.openc3OfflineToken}):OpenC3Auth.getOfflineAccess())})}offline_access_needed(){return this.exec("offline_access_needed",[])}set_offline_access(e){return this.exec("set_offline_access",[e])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(e,n){return this.exec("map_target_to_interface",[e,n])}connect_interface(e,...n){return n.length>0?this.exec("connect_interface",[e,...n]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}interface_cmd(e,n,...r){return this.exec("interface_cmd",[e,n,...r])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(e){return this.exec("connect_router",[e])}disconnect_router(e){return this.exec("disconnect_router",[e])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,n,r){return this.exec("get_item",[e,n,r])}get_param(e,n,r){return this.exec("get_param",[e,n,r])}get_parameter(e,n,r){return this.exec("get_param",[e,n,r])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(e){return this.exec("set_limits_set",[e])}get_target(e){return this.exec("get_target",[e])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_names",[])}get_tlm(e,n){return this.exec("get_tlm",[e,n])}get_telemetry(e,n){return this.exec("get_tlm",[e,n])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_tlm",[e])}get_all_tlm_names(e,n=!1){return this.exec("get_all_tlm_names",[e],{hidden:n})}get_all_telemetry_names(e){return this.exec("get_all_tlm_names",[e])}async get_tlm_packet(e,n,r,o=30){const s=await this.exec("get_tlm_packet",[e,n],{type:r,stale_time:o});if(s!=null){let i=s.length,c=null;for(let u=0;u<i;u++)c=this.decode_openc3_type(s[u][1]),c!==null&&(s[u][1]=c)}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 o={stale_time:n};r!==null&&(o.cache_timeout=r);const s=await this.exec("get_tlm_values",[e],o,{},1e4);let i=s[0].length,c=null;for(let u=0;u<i;u++)c=this.decode_openc3_type(s[0][u]),c!==null&&(s[0][u]=c);return s}get_limits(e,n,r){return this.exec("get_limits",[e,n,r])}async tlm(e,n,r,o="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 c=new Error;throw c.name="TypeError",c.message=`Invalid data type ${n}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,c}else s=await this.exec("tlm",[e,n,r],{type:o});let i=this.decode_openc3_type(s);return i!==null&&(s=i),s}async inject_tlm(e,n,r=null,o="CONVERTED"){data=await this.exec("inject_tlm",[e,n,r],{type:o})}set_tlm(e,n,r,o){return this.exec("set_tlm",[e,n,r],{type:o})}override_tlm(e,n,r,o){return this.exec("override_tlm",[e,n,r],{type:o})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,n,r,o){return this.exec("normalize_tlm",[e,n,r],{type:o})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_cmds",[e])}get_all_cmd_names(e,n=!1){return this.exec("get_all_cmd_names",[e],{hidden:n})}get_all_command_names(e){return this.exec("get_all_cmd_names",[e])}get_cmd(e,n){return this.exec("get_cmd",[e,n])}get_command(e,n){return this.exec("get_cmd",[e,n])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,n,r,o="CONVERTED"){return this.exec("get_cmd_value",[e,n,r,o])}get_cmd_buffer(e,n){return this.exec("get_cmd_buffer",[e,n])}_cmd(e,n,r,o,s){let i=null;for(let c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i=this.encode_openc3_type(o[c]),i!==null&&(o[c]=i));return this.exec(e,[n,r,o],{},s)}get_cmd_hazardous(e,n,r,o={}){return n===void 0?this.exec("get_cmd_hazardous",e,{},o):this._cmd("get_cmd_hazardous",e,n,r,o)}cmd(e,n,r,o={}){return n===void 0?this.exec("cmd",e,{},o):this._cmd("cmd",e,n,r,o)}cmd_no_range_check(e,n,r,o={}){return n===void 0?this.exec("cmd_no_range_check",e,{},o):this._cmd("cmd_no_range_check",e,n,r,o)}cmd_raw(e,n,r,o={}){return n===void 0?this.exec("cmd_raw",e,{},o):this._cmd("cmd_raw",e,n,r,o)}cmd_raw_no_range_check(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_range_check",e,{},o):this._cmd("cmd_raw_no_range_check",e,n,r,o)}cmd_no_hazardous_check(e,n,r,o={}){return n===void 0?this.exec("cmd_no_hazardous_check",e,{},o):this._cmd("cmd_no_hazardous_check",e,n,r,o)}cmd_no_checks(e,n,r,o={}){return n===void 0?this.exec("cmd_no_checks",e,{},o):this._cmd("cmd_no_checks",e,n,r,o)}cmd_raw_no_hazardous_check(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",e,{},o):this._cmd("cmd_raw_no_hazardous_check",e,n,r,o)}cmd_raw_no_checks(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_checks",e,{},o):this._cmd("cmd_raw_no_checks",e,n,r,o)}build_cmd(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}build_command(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,n){return this.exec("send_raw",[e,n])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,n){return this.exec("load_config",[e,n])}save_config(e,n,r){return this.exec("save_config",[e,n,r])}delete_config(e,n){return this.exec("delete_config",[e,n])}enable_limits(e,n,r){return this.exec("enable_limits",[e,n,r])}disable_limits(e,n,r){return this.exec("disable_limits",[e,n,r])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(e){return this.exec("get_overall_limits_state",[e])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(e){return this.exec("get_setting",[e])}get_settings(e){return this.exec("get_settings",e)}set_setting(e,n){return this.exec("set_setting",[e,n])}save_setting(e,n){return this.exec("set_setting",[e,n])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),o=new Uint8Array(r);return Array.from(o).map(s=>s.toString(16).padStart(2,"0")).join("")}}}const ir={props:{item:{type:Object,required:!0},hideIgnored:{type:Boolean,required:!0},hideDerived:{type:Boolean,required:!0}},computed:{readConversion(){if(Object.hasOwn(this.item,"read_conversion")){let t=`${this.item.read_conversion.class}`;return this.item.read_conversion.params&&(t+=` with ${this.item.read_conversion.params.join(", ")}`),t}else return!1},writeConversion(){if(Object.hasOwn(this.item,"write_conversion")){let t=`${this.item.write_conversion.class}`;return this.item.write_conversion.params&&(t+=` with ${this.item.write_conversion.params.join(", ")}`),t}else return!1}}},ar={key:0},cr={key:1},lr={key:2},ur={key:3},dr={key:4},fr={key:5};function mr(t,e,n,r,o,s){const i=b("v-card-title"),c=b("v-card-subtitle"),u=b("v-card-text"),l=b("v-card");return x(),A(l,{class:"mx-auto",border:""},{default:h(()=>[g(i,{class:"justify-center"},{default:h(()=>[j(E(n.item.name),1)]),_:1}),g(c,null,{default:h(()=>[j(E(n.item.description),1)]),_:1}),g(u,{class:"text--primary"},{default:h(()=>[I("div",null,"Bit Offset: "+E(n.item.bit_offset),1),I("div",null,"Bit Size: "+E(n.item.bit_size),1),I("div",null,"Data Type: "+E(n.item.data_type),1),I("div",null,"Endianness: "+E(n.item.endianness),1),I("div",null,"Overflow: "+E(n.item.overflow),1),Object.hasOwn(n.item,"minimum")?(x(),C("div",ar," Minimum: "+E(n.item.minimum),1)):z("",!0),Object.hasOwn(n.item,"maximum")?(x(),C("div",cr," Maximum: "+E(n.item.maximum),1)):z("",!0),Object.hasOwn(n.item,"default")?(x(),C("div",lr," Default: "+E(n.item.default),1)):z("",!0),n.item.id_value?(x(),C("div",ur,[I("strong",null," ID Value: 0x"+E(n.item.id_value.toString(16).toUpperCase()),1)])):z("",!0),s.readConversion?(x(),C("div",dr,"Read Conversion: "+E(s.readConversion),1)):z("",!0),s.writeConversion?(x(),C("div",fr,"Write Conversion: "+E(s.writeConversion),1)):z("",!0)]),_:1})]),_:1})}const hr={components:{Item:Y(ir,[["render",mr]])},props:{packet:{type:Object,required:!0},columns:{type:Number,required:!0},hideIgnored:{type:Boolean,required:!0},hideDerived:{type:Boolean,required:!0},ignored:{type:Object}},computed:{items(){let t=this.packet.items;return this.hideIgnored&&(t=t.filter(e=>!this.ignored.includes(e.name))),this.hideDerived&&(t=t.filter(e=>e.data_type!=="DERIVED")),t}}},pr={class:"float-right"};function _r(t,e,n,r,o,s){const i=b("v-card-title"),c=b("v-card-subtitle"),u=b("item"),l=b("v-col"),d=b("v-row"),f=b("v-container"),y=b("v-card-text"),_=b("v-card");return x(),A(_,null,{default:h(()=>[g(i,{class:"text-h4 justify-center"},{default:h(()=>[j(E(n.packet.target_name)+" "+E(n.packet.packet_name),1)]),_:1}),g(c,null,{default:h(()=>[j(E(n.packet.description)+" ",1),I("div",pr,E(n.packet.endianness),1)]),_:1}),g(y,null,{default:h(()=>[g(f,{fluid:""},{default:h(()=>[g(d,{dense:""},{default:h(()=>[(x(!0),C(q,null,M(s.items,p=>(x(),A(l,{key:p.name,cols:n.columns},{default:h(()=>[g(u,{item:p,"hide-ignored":n.hideIgnored,"hide-derived":n.hideDerived},null,8,["item","hide-ignored","hide-derived"])]),_:2},1032,["cols"]))),128))]),_:1})]),_:1})]),_:1})]),_:1})}const gr={components:{Packet:Y(hr,[["render",_r]])},props:{target:{type:String,required:!0},columns:{type:Number,required:!0},hideIgnored:{type:Boolean,required:!0},hideDerived:{type:Boolean,required:!0}},data(){return{api:null,commands:[],telemetry:[],ignoredParams:[],ignoredItems:[]}},created(){this.api=new vt,this.api.get_target(this.target).then(t=>{this.ignoredParams=t.ignored_parameters,this.ignoredItems=t.ignored_items}),this.api.get_all_cmds(this.target).then(t=>{this.commands=t}),this.api.get_all_tlm(this.target).then(t=>{this.telemetry=t})}},yr={class:"text-h3 text-center"};function br(t,e,n,r,o,s){const i=b("v-col"),c=b("v-row"),u=b("packet"),l=b("v-container"),d=b("v-card");return x(),A(d,null,{default:h(()=>[g(l,{id:n.target},{default:h(()=>[I("div",yr,E(n.target),1),g(c,null,{default:h(()=>[g(i,{class:"ml-3 text-h4"},{default:h(()=>e[0]||(e[0]=[j("Commands")])),_:1})]),_:1}),(x(!0),C(q,null,M(o.commands,f=>(x(),A(c,{key:f.packetName,dense:"",class:"mb-4"},{default:h(()=>[g(i,{cols:12},{default:h(()=>[g(u,{packet:f,columns:n.columns,"hide-ignored":n.hideIgnored,"hide-derived":n.hideDerived,ignored:o.ignoredParams},null,8,["packet","columns","hide-ignored","hide-derived","ignored"])]),_:2},1024)]),_:2},1024))),128)),g(c,null,{default:h(()=>[g(i,{class:"ml-3 text-h4"},{default:h(()=>e[1]||(e[1]=[j("Telemetry")])),_:1})]),_:1}),(x(!0),C(q,null,M(o.telemetry,f=>(x(),A(c,{key:f.packetName,dense:"",class:"mb-4"},{default:h(()=>[g(i,{cols:12},{default:h(()=>[g(u,{packet:f,columns:n.columns,"hide-ignored":n.hideIgnored,"hide-derived":n.hideDerived,ignored:o.ignoredItems},null,8,["packet","columns","hide-ignored","hide-derived","ignored"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["id"])]),_:1})}const vr={components:{TopBar:Tt,Target:Y(gr,[["render",br]])},data(){return{title:"Handbooks",targetNames:[],selectedTargetNames:[],renderedTargetNames:[],api:null,columns:3,columnItems:[{title:"1",value:12},{title:"2",value:6},{title:"3",value:4},{title:"4",value:3},{title:"6",value:2},{title:"12",value:1}],hideIgnored:!1,hideDerived:!1,menus:[{label:"View",items:[{label:"Hide Ignored Items",checkbox:!0,command:()=>{this.hideIgnored=!this.hideIgnored}},{label:"Hide Derived Items",checkbox:!0,command:()=>{this.hideDerived=!this.hideDerived}}]}]}},computed:{allTargetsSelected(){return this.targetNames.length===this.selectedTargetNames.length},someTargetsSelected(){return this.selectedTargetNames.length>0&&!this.allTargetsSelected},icon(){return this.allTargetsSelected?"mdi-close-box":this.someTargetsSelected?"mdi-minus-box":"mdi-checkbox-blank-outline"}},created(){this.api=new vt,this.api.get_target_names({params:{scope:window.openc3Scope}}).then(t=>{this.targetNames=t})},methods:{toggleTargets(){this.$nextTick(()=>{this.allTargetsSelected?this.selectedTargetNames=[]:this.selectedTargetNames=this.targetNames.slice()})}}};function wr(t,e,n,r,o,s){const i=b("top-bar"),c=b("v-icon"),u=b("v-list-item-action"),l=b("v-list-item-title"),d=b("v-list-item"),f=b("v-divider"),y=b("v-select"),_=b("v-col"),p=b("v-btn"),m=b("v-row"),R=b("v-container"),S=b("v-card"),O=b("target");return x(),C("div",null,[g(i,{menus:o.menus,title:o.title},null,8,["menus","title"]),g(S,null,{default:h(()=>[g(R,{class:"d-print-none"},{default:h(()=>[g(m,{dense:""},{default:h(()=>[g(_,null,{default:h(()=>[g(y,{class:"ma-0 pa-0",label:"Select Target(s)",density:"compact","hide-details":"",variant:"outlined",items:o.targetNames,modelValue:o.selectedTargetNames,"onUpdate:modelValue":e[1]||(e[1]=k=>o.selectedTargetNames=k),multiple:""},{"prepend-item":h(()=>[g(d,{ripple:"",onMousedown:e[0]||(e[0]=Pe(()=>{},["prevent"])),onClick:s.toggleTargets},{default:h(()=>[g(l,null,{default:h(()=>[g(u,{end:""},{default:h(()=>[g(c,{class:"mr-2"},{default:h(()=>[j(E(s.icon),1)]),_:1}),e[4]||(e[4]=j("Select All "))]),_:1})]),_:1})]),_:1},8,["onClick"]),g(f,{class:"mt-2"})]),_:1},8,["items","modelValue"])]),_:1}),g(_,null,{default:h(()=>[g(p,{class:"bg-primary",onClick:e[2]||(e[2]=k=>o.renderedTargetNames=o.selectedTargetNames)},{default:h(()=>e[5]||(e[5]=[j(" Display ")])),_:1})]),_:1}),g(_,null,{default:h(()=>[g(y,{label:"Item Columns",density:"compact","hide-details":"",variant:"outlined",modelValue:o.columns,"onUpdate:modelValue":e[3]||(e[3]=k=>o.columns=k),items:o.columnItems},null,8,["modelValue","items"])]),_:1})]),_:1})]),_:1})]),_:1}),e[6]||(e[6]=I("div",{style:{height:"15px"}},null,-1)),(x(!0),C(q,null,M(o.renderedTargetNames,k=>(x(),C("div",{key:k},[g(O,{target:k,columns:o.columns,"hide-ignored":o.hideIgnored,"hide-derived":o.hideDerived},null,8,["target","columns","hide-ignored","hide-derived"])]))),128))])}const Rr=wt("default",Y(vr,[["render",wr]]))}}});
|
5
|
+
`):" "+ft(s[0]):"as no adapter specified";throw new v("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Se};function Re(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $(null,t)}function ht(t){return Re(t),t.headers=U.from(t.headers),t.data=Oe.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),mt.getAdapter(t.adapter||ee.adapter)(t).then(function(e){return Re(t),e.data=Oe.call(t,t.transformResponse,e),e.headers=U.from(e.headers),e},function(e){return tt(e)||(Re(t),e&&e.response&&(e.response.data=Oe.call(t,t.transformResponse,e.response),e.response.headers=U.from(e.response.headers))),Promise.reject(e)})}const pt="1.7.9",de={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{de[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const _t={};de.transitional=function(t,e,n){function r(o,s){return"[Axios v"+pt+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,i)=>{if(t===!1)throw new v(r(s," has been removed"+(e?" in "+e:"")),v.ERR_DEPRECATED);return e&&!_t[s]&&(_t[s]=!0,console.warn(r(s," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(o,s,i):!0}},de.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function tr(t,e,n){if(typeof t!="object")throw new v("options must be an object",v.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const s=r[o],i=e[s];if(i){const c=t[s],u=c===void 0||i(c,s,t);if(u!==!0)throw new v("option "+s+" must be "+u,v.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new v("Unknown option "+s,v.ERR_BAD_OPTION)}}const fe={assertOptions:tr,validators:de},V=fe.validators;class K{constructor(e){this.defaults=e,this.interceptors={request:new Ye,response:new Ye}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
6
|
+
`+s):r.stack=s}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=J(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&fe.assertOptions(r,{silentJSONParsing:V.transitional(V.boolean),forcedJSONParsing:V.transitional(V.boolean),clarifyTimeoutError:V.transitional(V.boolean)},!1),o!=null&&(a.isFunction(o)?n.paramsSerializer={serialize:o}:fe.assertOptions(o,{encode:V.function,serialize:V.function},!0)),fe.assertOptions(n,{baseUrl:V.spelling("baseURL"),withXsrfToken:V.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&a.merge(s.common,s[n.method]);s&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=U.concat(i,s);const c=[];let u=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(u=u&&p.synchronous,c.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let d,f=0,y;if(!u){const p=[ht.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,l),y=p.length,d=Promise.resolve(n);f<y;)d=d.then(p[f++],p[f++]);return d}y=c.length;let _=n;for(f=0;f<y;){const p=c[f++],m=c[f++];try{_=p(_)}catch(R){m.call(this,R);break}}try{d=ht.call(this,_)}catch(p){return Promise.reject(p)}for(f=0,y=l.length;f<y;)d=d.then(l[f++],l[f++]);return d}getUri(e){e=J(this.defaults,e);const n=st(e.baseURL,e.url);return $e(n,e.params,e.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){K.prototype[t]=function(e,n){return this.request(J(n||{},{method:t,url:e,data:(n||{}).data}))}}),a.forEach(["post","put","patch"],function(t){function e(n){return function(r,o,s){return this.request(J(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}K.prototype[t]=e(),K.prototype[t+"Form"]=e(!0)});class ke{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(c=>{r.subscribe(c),s=c}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},e(function(o,s,i){r.reason||(r.reason=new $(o,s,i),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 ke(function(n){e=n}),cancel:e}}}function nr(t){return function(e){return t.apply(null,e)}}function rr(t){return a.isObject(t)&&t.isAxiosError===!0}const Ne={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(Ne).forEach(([t,e])=>{Ne[e]=t});function gt(t){const e=new K(t),n=De(K.prototype.request,e);return a.extend(n,K.prototype,e,{allOwnKeys:!0}),a.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return gt(J(t,r))},n}const N=gt(ee);N.Axios=K,N.CanceledError=$,N.CancelToken=ke,N.isCancel=tt,N.VERSION=pt,N.toFormData=ie,N.AxiosError=v,N.Cancel=N.CanceledError,N.all=function(t){return Promise.all(t)},N.spread=nr,N.isAxiosError=rr,N.mergeConfig=J,N.AxiosHeaders=U,N.formToJSON=t=>Ze(a.isHTMLForm(t)?new FormData(t):t),N.getAdapter=mt.getAdapter,N.HttpStatusCode=Ne,N.default=N;const yt=N.create({baseURL:location.origin,timeout:6e4,params:{}});yt.interceptors.response.use(t=>t,t=>{var e,n,r,o,s,i,c,u,l,d,f;if(t.response){if(t.response.status===401&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then(function(p){p&&OpenC3Auth.setTokens()}),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let y=`HTTP ${t.response.status} - `;(e=t.response)!=null&&e.statusText&&(y+=`${t.response.statusText} `),(r=(n=t.response)==null?void 0:n.config)!=null&&r.data&&(y+=`${t.response.config.data} `),(s=(o=t.response)==null?void 0:o.data)!=null&&s.message?y+=`${t.response.data.message}`:(c=(i=t.response)==null?void 0:i.data)!=null&&c.exception?y+=`${t.response.data.exception}`:(d=(l=(u=t.response)==null?void 0:u.data)==null?void 0:l.error)!=null&&d.message?(t.response.data.error.class&&(y+=`${t.response.data.error.class} `),y+=`${t.response.data.error.message}`):y+=`${(f=t.response)==null?void 0:f.data}`;const{$cosmosNotify:_}=window;throw _&&_.serious({title:"Network error",body:y}),t}else throw t});var or={message_types:{welcome:"welcome",disconnect:"disconnect",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},disconnect_reasons:{unauthorized:"unauthorized",invalid_request:"invalid_request",server_restart:"server_restart",remote:"remote"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]};const{message_types:xr,protocols:bt}=or;bt.slice(0,bt.length-1);class vt{constructor(){Rt(this,"id",1)}async exec(e,n,r={},o={},s=6e4){try{await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)&&OpenC3Auth.setTokens()}catch{OpenC3Auth.login()}this.id=this.id+1;try{return r.scope=window.openc3Scope,o.manual=!0,(await 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",...o},timeout:s})).data.result}catch(i){let c=new Error;throw i.response?(c.name=i.response.data.error.data.class,c.message=i.response.data.error.data.message,c.object=i.response.data.error):i.request?(c.name="Request error",c.message="Request error, no response received"):c.name="Unknown error",c}}decode_openc3_type(e){if(e!==null&&typeof e=="object"&&e.json_class=="Float"&&e.raw){if(e.raw=="NaN")return NaN;if(e.raw=="Infinity")return 1/0;if(e.raw=="-Infinity")return-1/0}return null}encode_openc3_type(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then(e=>{e&&(localStorage.openc3OfflineToken?this.set_offline_access(localStorage.openc3OfflineToken).then(()=>{delete localStorage.openc3OfflineToken}):OpenC3Auth.getOfflineAccess())})}offline_access_needed(){return this.exec("offline_access_needed",[])}set_offline_access(e){return this.exec("set_offline_access",[e])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(e,n){return this.exec("map_target_to_interface",[e,n])}connect_interface(e,...n){return n.length>0?this.exec("connect_interface",[e,...n]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}interface_cmd(e,n,...r){return this.exec("interface_cmd",[e,n,...r])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(e){return this.exec("connect_router",[e])}disconnect_router(e){return this.exec("disconnect_router",[e])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,n,r){return this.exec("get_item",[e,n,r])}get_param(e,n,r){return this.exec("get_param",[e,n,r])}get_parameter(e,n,r){return this.exec("get_param",[e,n,r])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(e){return this.exec("set_limits_set",[e])}get_target(e){return this.exec("get_target",[e])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_names",[])}get_tlm(e,n){return this.exec("get_tlm",[e,n])}get_telemetry(e,n){return this.exec("get_tlm",[e,n])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_tlm",[e])}get_all_tlm_names(e,n=!1){return this.exec("get_all_tlm_names",[e],{hidden:n})}get_all_telemetry_names(e){return this.exec("get_all_tlm_names",[e])}async get_tlm_packet(e,n,r,o=30){const s=await this.exec("get_tlm_packet",[e,n],{type:r,stale_time:o});if(s!=null){let i=s.length,c=null;for(let u=0;u<i;u++)c=this.decode_openc3_type(s[u][1]),c!==null&&(s[u][1]=c)}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 o={stale_time:n};r!==null&&(o.cache_timeout=r);const s=await this.exec("get_tlm_values",[e],o,{},1e4);let i=s[0].length,c=null;for(let u=0;u<i;u++)c=this.decode_openc3_type(s[0][u]),c!==null&&(s[0][u]=c);return s}get_limits(e,n,r){return this.exec("get_limits",[e,n,r])}async tlm(e,n,r,o="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 c=new Error;throw c.name="TypeError",c.message=`Invalid data type ${n}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,c}else s=await this.exec("tlm",[e,n,r],{type:o});let i=this.decode_openc3_type(s);return i!==null&&(s=i),s}async inject_tlm(e,n,r=null,o="CONVERTED"){data=await this.exec("inject_tlm",[e,n,r],{type:o})}set_tlm(e,n,r,o){return this.exec("set_tlm",[e,n,r],{type:o})}override_tlm(e,n,r,o){return this.exec("override_tlm",[e,n,r],{type:o})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,n,r,o){return this.exec("normalize_tlm",[e,n,r],{type:o})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_cmds",[e])}get_all_cmd_names(e,n=!1){return this.exec("get_all_cmd_names",[e],{hidden:n})}get_all_command_names(e){return this.exec("get_all_cmd_names",[e])}get_cmd(e,n){return this.exec("get_cmd",[e,n])}get_command(e,n){return this.exec("get_cmd",[e,n])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,n,r,o="CONVERTED"){return this.exec("get_cmd_value",[e,n,r,o])}get_cmd_buffer(e,n){return this.exec("get_cmd_buffer",[e,n])}_cmd(e,n,r,o,s){let i=null;for(let c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i=this.encode_openc3_type(o[c]),i!==null&&(o[c]=i));return this.exec(e,[n,r,o],{},s)}get_cmd_hazardous(e,n,r,o={}){return n===void 0?this.exec("get_cmd_hazardous",e,{},o):this._cmd("get_cmd_hazardous",e,n,r,o)}cmd(e,n,r,o={}){return n===void 0?this.exec("cmd",e,{},o):this._cmd("cmd",e,n,r,o)}cmd_no_range_check(e,n,r,o={}){return n===void 0?this.exec("cmd_no_range_check",e,{},o):this._cmd("cmd_no_range_check",e,n,r,o)}cmd_raw(e,n,r,o={}){return n===void 0?this.exec("cmd_raw",e,{},o):this._cmd("cmd_raw",e,n,r,o)}cmd_raw_no_range_check(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_range_check",e,{},o):this._cmd("cmd_raw_no_range_check",e,n,r,o)}cmd_no_hazardous_check(e,n,r,o={}){return n===void 0?this.exec("cmd_no_hazardous_check",e,{},o):this._cmd("cmd_no_hazardous_check",e,n,r,o)}cmd_no_checks(e,n,r,o={}){return n===void 0?this.exec("cmd_no_checks",e,{},o):this._cmd("cmd_no_checks",e,n,r,o)}cmd_raw_no_hazardous_check(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_hazardous_check",e,{},o):this._cmd("cmd_raw_no_hazardous_check",e,n,r,o)}cmd_raw_no_checks(e,n,r,o={}){return n===void 0?this.exec("cmd_raw_no_checks",e,{},o):this._cmd("cmd_raw_no_checks",e,n,r,o)}build_cmd(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}build_command(e,n,r){return n===void 0?this.exec("build_cmd",e):this._cmd("build_cmd",e,n,r)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,n){return this.exec("send_raw",[e,n])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,n){return this.exec("load_config",[e,n])}save_config(e,n,r){return this.exec("save_config",[e,n,r])}delete_config(e,n){return this.exec("delete_config",[e,n])}enable_limits(e,n,r){return this.exec("enable_limits",[e,n,r])}disable_limits(e,n,r){return this.exec("disable_limits",[e,n,r])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(e){return this.exec("get_overall_limits_state",[e])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(e){return this.exec("get_setting",[e])}get_settings(e){return this.exec("get_settings",e)}set_setting(e,n){return this.exec("set_setting",[e,n])}save_setting(e,n){return this.exec("set_setting",[e,n])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),o=new Uint8Array(r);return Array.from(o).map(s=>s.toString(16).padStart(2,"0")).join("")}}}const sr={props:{item:{type:Object,required:!0},hideIgnored:{type:Boolean,required:!0},hideDerived:{type:Boolean,required:!0}},computed:{readConversion(){if(Object.hasOwn(this.item,"read_conversion")){let t=`${this.item.read_conversion.class}`;return this.item.read_conversion.params&&(t+=` with ${this.item.read_conversion.params.join(", ")}`),t}else return!1},writeConversion(){if(Object.hasOwn(this.item,"write_conversion")){let t=`${this.item.write_conversion.class}`;return this.item.write_conversion.params&&(t+=` with ${this.item.write_conversion.params.join(", ")}`),t}else return!1}}},ir={key:0},ar={key:1},cr={key:2},lr={key:3},ur={key:4},dr={key:5};function fr(t,e,n,r,o,s){const i=b("v-card-title"),c=b("v-card-subtitle"),u=b("v-card-text"),l=b("v-card");return x(),A(l,{class:"mx-auto",border:""},{default:h(()=>[g(i,{class:"justify-center"},{default:h(()=>[j(E(n.item.name),1)]),_:1}),g(c,null,{default:h(()=>[j(E(n.item.description),1)]),_:1}),g(u,{class:"text--primary"},{default:h(()=>[I("div",null,"Bit Offset: "+E(n.item.bit_offset),1),I("div",null,"Bit Size: "+E(n.item.bit_size),1),I("div",null,"Data Type: "+E(n.item.data_type),1),I("div",null,"Endianness: "+E(n.item.endianness),1),I("div",null,"Overflow: "+E(n.item.overflow),1),Object.hasOwn(n.item,"minimum")?(x(),C("div",ir," Minimum: "+E(n.item.minimum),1)):z("",!0),Object.hasOwn(n.item,"maximum")?(x(),C("div",ar," Maximum: "+E(n.item.maximum),1)):z("",!0),Object.hasOwn(n.item,"default")?(x(),C("div",cr," Default: "+E(n.item.default),1)):z("",!0),n.item.id_value?(x(),C("div",lr,[I("strong",null," ID Value: 0x"+E(n.item.id_value.toString(16).toUpperCase()),1)])):z("",!0),s.readConversion?(x(),C("div",ur,"Read Conversion: "+E(s.readConversion),1)):z("",!0),s.writeConversion?(x(),C("div",dr,"Write Conversion: "+E(s.writeConversion),1)):z("",!0)]),_:1})]),_:1})}const mr={components:{Item:Y(sr,[["render",fr]])},props:{packet:{type:Object,required:!0},columns:{type:Number,required:!0},hideIgnored:{type:Boolean,required:!0},hideDerived:{type:Boolean,required:!0},ignored:{type:Object}},computed:{items(){let t=this.packet.items;return this.hideIgnored&&(t=t.filter(e=>!this.ignored.includes(e.name))),this.hideDerived&&(t=t.filter(e=>e.data_type!=="DERIVED")),t}}},hr={class:"float-right"};function pr(t,e,n,r,o,s){const i=b("v-card-title"),c=b("v-card-subtitle"),u=b("item"),l=b("v-col"),d=b("v-row"),f=b("v-container"),y=b("v-card-text"),_=b("v-card");return x(),A(_,null,{default:h(()=>[g(i,{class:"text-h4 justify-center"},{default:h(()=>[j(E(n.packet.target_name)+" "+E(n.packet.packet_name),1)]),_:1}),g(c,null,{default:h(()=>[j(E(n.packet.description)+" ",1),I("div",hr,E(n.packet.endianness),1)]),_:1}),g(y,null,{default:h(()=>[g(f,{fluid:""},{default:h(()=>[g(d,{dense:""},{default:h(()=>[(x(!0),C(q,null,M(s.items,p=>(x(),A(l,{key:p.name,cols:n.columns},{default:h(()=>[g(u,{item:p,"hide-ignored":n.hideIgnored,"hide-derived":n.hideDerived},null,8,["item","hide-ignored","hide-derived"])]),_:2},1032,["cols"]))),128))]),_:1})]),_:1})]),_:1})]),_:1})}const _r={components:{Packet:Y(mr,[["render",pr]])},props:{target:{type:String,required:!0},columns:{type:Number,required:!0},hideIgnored:{type:Boolean,required:!0},hideDerived:{type:Boolean,required:!0}},data(){return{api:null,commands:[],telemetry:[],ignoredParams:[],ignoredItems:[]}},created(){this.api=new vt,this.api.get_target(this.target).then(t=>{this.ignoredParams=t.ignored_parameters,this.ignoredItems=t.ignored_items}),this.api.get_all_cmds(this.target).then(t=>{this.commands=t}),this.api.get_all_tlm(this.target).then(t=>{this.telemetry=t})}},gr={class:"text-h3 text-center"};function yr(t,e,n,r,o,s){const i=b("v-col"),c=b("v-row"),u=b("packet"),l=b("v-container"),d=b("v-card");return x(),A(d,null,{default:h(()=>[g(l,{id:n.target},{default:h(()=>[I("div",gr,E(n.target),1),g(c,null,{default:h(()=>[g(i,{class:"ml-3 text-h4"},{default:h(()=>e[0]||(e[0]=[j("Commands")])),_:1})]),_:1}),(x(!0),C(q,null,M(o.commands,f=>(x(),A(c,{key:f.packetName,dense:"",class:"mb-4"},{default:h(()=>[g(i,{cols:12},{default:h(()=>[g(u,{packet:f,columns:n.columns,"hide-ignored":n.hideIgnored,"hide-derived":n.hideDerived,ignored:o.ignoredParams},null,8,["packet","columns","hide-ignored","hide-derived","ignored"])]),_:2},1024)]),_:2},1024))),128)),g(c,null,{default:h(()=>[g(i,{class:"ml-3 text-h4"},{default:h(()=>e[1]||(e[1]=[j("Telemetry")])),_:1})]),_:1}),(x(!0),C(q,null,M(o.telemetry,f=>(x(),A(c,{key:f.packetName,dense:"",class:"mb-4"},{default:h(()=>[g(i,{cols:12},{default:h(()=>[g(u,{packet:f,columns:n.columns,"hide-ignored":n.hideIgnored,"hide-derived":n.hideDerived,ignored:o.ignoredItems},null,8,["packet","columns","hide-ignored","hide-derived","ignored"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["id"])]),_:1})}const br={components:{TopBar:Ot,Target:Y(_r,[["render",yr]])},data(){return{title:"Handbooks",targetNames:[],selectedTargetNames:[],renderedTargetNames:[],api:null,columns:3,columnItems:[{title:"1",value:12},{title:"2",value:6},{title:"3",value:4},{title:"4",value:3},{title:"6",value:2},{title:"12",value:1}],hideIgnored:!1,hideDerived:!1,menus:[{label:"View",items:[{label:"Hide Ignored Items",checkbox:!0,command:()=>{this.hideIgnored=!this.hideIgnored}},{label:"Hide Derived Items",checkbox:!0,command:()=>{this.hideDerived=!this.hideDerived}}]}]}},computed:{allTargetsSelected(){return this.targetNames.length===this.selectedTargetNames.length},someTargetsSelected(){return this.selectedTargetNames.length>0&&!this.allTargetsSelected},icon(){return this.allTargetsSelected?"mdi-close-box":this.someTargetsSelected?"mdi-minus-box":"mdi-checkbox-blank-outline"}},created(){this.api=new vt,this.api.get_target_names({params:{scope:window.openc3Scope}}).then(t=>{this.targetNames=t})},methods:{toggleTargets(){this.$nextTick(()=>{this.allTargetsSelected?this.selectedTargetNames=[]:this.selectedTargetNames=this.targetNames.slice()})}}};function vr(t,e,n,r,o,s){const i=b("top-bar"),c=b("v-icon"),u=b("v-list-item-action"),l=b("v-list-item-title"),d=b("v-list-item"),f=b("v-divider"),y=b("v-select"),_=b("v-col"),p=b("v-btn"),m=b("v-row"),R=b("v-container"),S=b("v-card"),O=b("target");return x(),C("div",null,[g(i,{menus:o.menus,title:o.title},null,8,["menus","title"]),g(S,null,{default:h(()=>[g(R,{class:"d-print-none"},{default:h(()=>[g(m,{dense:""},{default:h(()=>[g(_,null,{default:h(()=>[g(y,{class:"ma-0 pa-0",label:"Select Target(s)",density:"compact","hide-details":"",variant:"outlined",items:o.targetNames,modelValue:o.selectedTargetNames,"onUpdate:modelValue":e[1]||(e[1]=k=>o.selectedTargetNames=k),multiple:""},{"prepend-item":h(()=>[g(d,{ripple:"",onMousedown:e[0]||(e[0]=Pe(()=>{},["prevent"])),onClick:s.toggleTargets},{default:h(()=>[g(l,null,{default:h(()=>[g(u,{end:""},{default:h(()=>[g(c,{class:"mr-2"},{default:h(()=>[j(E(s.icon),1)]),_:1}),e[4]||(e[4]=j("Select All "))]),_:1})]),_:1})]),_:1},8,["onClick"]),g(f,{class:"mt-2"})]),_:1},8,["items","modelValue"])]),_:1}),g(_,null,{default:h(()=>[g(p,{class:"bg-primary",onClick:e[2]||(e[2]=k=>o.renderedTargetNames=o.selectedTargetNames)},{default:h(()=>e[5]||(e[5]=[j(" Display ")])),_:1})]),_:1}),g(_,null,{default:h(()=>[g(y,{label:"Item Columns",density:"compact","hide-details":"",variant:"outlined",modelValue:o.columns,"onUpdate:modelValue":e[3]||(e[3]=k=>o.columns=k),items:o.columnItems},null,8,["modelValue","items"])]),_:1})]),_:1})]),_:1})]),_:1}),e[6]||(e[6]=I("div",{style:{height:"15px"}},null,-1)),(x(!0),C(q,null,M(o.renderedTargetNames,k=>(x(),C("div",{key:k},[g(O,{target:k,columns:o.columns,"hide-ignored":o.hideIgnored,"hide-derived":o.hideDerived},null,8,["target","columns","hide-ignored","hide-derived"])]))),128))])}const Sr=wt("default",Y(br,[["render",vr]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-c1f484215a5c1258b34b.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var a,s,i,c,o,u,m,g,p,f;return{setters:[e=>{a=e.r},e=>{s=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,u=e.renderList,m=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function d(n,l,r,w,B,x){return s(),i("div",{ref:"container",class:"d-flex flex-row",style:c(n.computedStyle)},[(s(!0),i(o,null,u(n.widgets,(t,v)=>(s(),m(g(t.type),p({ref_for:!0},n.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const h=y("default",f(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./HorizontalWidget-CirtfuL8-c4717eb2d56111d23637.js","./Layout-C1HoM4Kl-c1f484215a5c1258b34b.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(m,x){"use strict";var r,i,n,l,o,s,a,c,u,p,g,d;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createElementBlock,s=e.createVNode,a=e.normalizeStyle,c=e.withCtx,u=e.createTextVNode,p=e.toDisplayString,g=e.mergeProps},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],components:{HorizontalWidget:r}};function v(t,w,C,S,V,b){const y=n("v-banner"),f=n("horizontal-widget");return l(),o("div",null,[s(y,{class:"boxbanner",style:a(t.computedStyle),"single-line":""},{default:c(()=>[u(p(t.parameters[0]),1)]),_:1},8,["style"]),s(f,g(t.listeners,{parameters:t.parameters.slice(1),settings:t.appliedSettings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"screen-id":t.screenId}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone","screen-id"])])}const z=m("default",d(e,[["render",v],["__scopeId","data-v-e9e6c14b"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(l,c){"use strict";var n,t,u;return{setters:[e=>{n=e.openBlock,t=e.createElementBlock},e=>{u=e.s},null,null,null,null],execute:function(){const e={};function r(o,i){return n(),t("hr")}const s=l("default",u(e,[["render",r]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(h,c){"use strict";var i,n,r,s,l;return{setters:[e=>{i=e.o},e=>{n=e.openBlock,r=e.createElementBlock,s=e.normalizeStyle},e=>{l=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data:function(){return{width:800,height:600}},created:function(){this.setWidth(this.parameters[1],"px",this.width),this.setHeight(this.parameters[2],"px",this.height)}},u=["src","width","height"];function a(t,d,m,g,p,f){return n(),r("iframe",{title:"IFrameWidget",src:t.parameters[0],width:t.width,height:t.height,style:s(t.computedStyle)},null,12,u)}const o=h("default",l(e,[["render",a]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-b8feff7544353ef60d67.js"],function(r,s){"use strict";var e;return{setters:[n=>{e=n.I}],execute:function(){const n=r("s",{props:{target:{type:String,require:!0}},methods:{getPresignedUrl:async function(o){let t="targets_modified";return await e.get(`/openc3-api/storage/exists/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).catch(c=>{t="targets"}),(await e.get(`/openc3-api/storage/download/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`)).data.url}}})}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(l,o){"use strict";var a,s,n,r,i;return{setters:[e=>{a=e.o},e=>{s=e.openBlock,n=e.createElementBlock,r=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[a],data:function(){return{valueId:null,imageData:""}},computed:{src:function(){return`data:image/${this.parameters[3]};base64, ${this.screenValues[this.valueId][0]}`}},created:function(){this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},unmounted:function(){this.$emit("deleteItem",this.valueId)}},u=["src","alt","width","height"];function c(t,h,p,v,I,m){return s(),n("img",{src:m.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:r(t.computedStyle)},null,12,u)}const d=l("default",i(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(m,h){"use strict";var s,n,i,l,a,r;return{setters:[t=>{s=t.o},t=>{n=t.openBlock,i=t.createElementBlock,l=t.normalizeStyle,a=t.toDisplayString},t=>{r=t.s},null,null,null,null],execute:function(){const t={mixins:[s],data(){return{fontFamily:null,fontSize:null,fontWeight:"normal",fontStyle:"normal"}},computed:{labelText(){return this.parameters[0]},cssProps(){let e=null;return this.fontSize&&(e=this.fontSize+"px"),{"--font-family":this.fontFamily,"--font-size":e,"--font-weight":this.fontWeight,"--font-style":this.fontStyle}}},created(){this.verifyNumParams("LABEL",1,5,"LABEL <Text> <Font Family> <Font Size> <Font Weight> <Font Style>"),this.parameters[1]&&(this.fontFamily=this.parameters[1]),this.parameters[2]&&(this.fontSize=this.parameters[2]),this.parameters[3]&&(this.fontWeight=this.parameters[3]),this.parameters[4]&&(this.fontStyle=this.parameters[4])}};function f(e,p,c,y,S,o){return n(),i("div",{"data-test":"label",class:"pa-1 mt-1 label",style:l([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=m("default",r(t,[["render",f],["__scopeId","data-v-1d1d3128"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./LedWidget-B_K2e5tq-93e6fe5998b0e20dafe5.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(p,S){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,x,y,b,B,m){const f=s("label-widget"),v=s("led-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const w=p("default",d(e,[["render",g]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./ProgressbarWidget-DpA_-vy9-f4111147a1486b4bdedf.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(g,v){"use strict";var n,l,a,s,o,i,c,r,u,p;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,o=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,u=e.mergeProps},e=>{p=e.s},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,S,x,w,B,m){const y=s("label-widget"),f=s("progressbar-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(y,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(f,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=g("default",p(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./SparklineWidget-DMvMQCPm-6a60694be7c7b69f8b0a.js","vue","./main-b8feff7544353ef60d67.js","./GraphWidget-amwxyH1r-3be150d4abb2db05593f.js","single-spa","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,a,l,o,u,n,s,p;return{setters:[e=>{r=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,s=e.createVNode},e=>{p=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,b,v,x,k,d){const g=l("label-widget"),y=l("sparkline-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[s(g,{parameters:d.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),s(y,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const S=m("default",p(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./ValueWidget-KLYY8L8U-7c8df4e2a7b46a8a2a88.js","vue","./main-b8feff7544353ef60d67.js","./DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js","single-spa","./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var s,l,a,n,i,u,o,r,m,c;return{setters:[e=>{s=e.o},e=>{l=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,o=e.normalizeStyle,r=e.createVNode,m=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[s],components:{LabelWidget:l,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function d(t,x,y,S,V,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[r(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(b,m(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const h=g("default",c(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./ValueWidget-KLYY8L8U-7c8df4e2a7b46a8a2a88.js","./main-b8feff7544353ef60d67.js","vue","./DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js","single-spa","./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","vue-router","vuex","vuetify"],function(d,P){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.s,u=e.F},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,x,y,V,h,v){const b=s("label-widget"),f=s("value-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const w=d("default",l(e,[["render",g]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelvalueWidget-DVWJqnlY-6169c2f71c4d8710898e.js","./LimitsbarWidget-DXbqsi4J-b42cd4c8e8ad4936b280.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./ValueWidget-KLYY8L8U-7c8df4e2a7b46a8a2a88.js","./DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js","single-spa","./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","./BarColumn-Cdu3OoMa-4b76872317503486ae81.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,a,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,V,j,W,L,d){const v=s("labelvalue-widget"),b=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(b,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const S=m("default",g(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./ValueWidget-KLYY8L8U-7c8df4e2a7b46a8a2a88.js","./LimitscolumnWidget-BfY4su5U-cf16d8618cdb65408de6.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","./DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js","single-spa","./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","./BarColumn-Cdu3OoMa-4b76872317503486ae81.js","vue-router","vuex","vuetify"],function(d,W){"use strict";var i,r,a,u,n,o,c,m,s,l,g;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.openBlock,c=e.createElementBlock,m=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,w,V,b,y,B){const v=n("label-widget"),f=n("limitscolumn-widget"),S=n("value-widget");return o(),c("div",{ref:"container",style:m(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(S,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 j=d("default",g(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelvalueWidget-DVWJqnlY-6169c2f71c4d8710898e.js","./RangebarWidget-DHS7S3vI-a5f2efb3969cc11977ae.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","./LabelWidget-BDsypYho-c6f66a708dd72eae8cf2.js","./ValueWidget-KLYY8L8U-7c8df4e2a7b46a8a2a88.js","./DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js","single-spa","./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,V,S,W,j,n){const v=s("labelvalue-widget"),h=s("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(v,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(h,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.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(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(m,g){"use strict";var i,n,l,o,r,a,p,h,c;return{setters:[e=>{i=e.o},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createBlock,r=e.withCtx,a=e.createElementVNode,p=e.mergeProps,h=e.toDisplayString},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}};function d(t,s,f,E,S,u){const v=n("v-tooltip");return l(),o(v,{location:"top"},{activator:r(({props:I})=>[a("div",p({class:"ledwidget mt-1",style:[u.cssProps,t.computedStyle]},I),null,16)]),default:r(()=>[a("span",null,h(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-6a4513e5"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./BarColumn-Cdu3OoMa-4b76872317503486ae81.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(d,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,t=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function v(e,u,I,w,y,_){const h=r("v-tooltip");return a(),n(h,{location:"top"},{activator:s(({props:g})=>[t("div",o({class:"limitsbar",style:[e.cssProps,e.computedStyle]},g),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,c(_.limitsRange),1)]),_:1})}const b=d("default",m(i,[["render",v],["__scopeId","data-v-9f79e720"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(u,h){"use strict";var r,a,l,i,s,n,o,c;return{setters:[e=>{r=e.L},e=>{a=e.resolveComponent,l=e.openBlock,i=e.createElementBlock,s=e.normalizeStyle,n=e.createElementVNode,o=e.createVNode},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],data(){return{radius:15,fullLabelDisplay:!1}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&this.parameters[5].toLowerCase()==="true"&&(this.fullLabelDisplay=!0)},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px","--color":this.limitsColor}}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function d(t,f,g,v,x,p){const m=a("label-widget");return l(),i("div",{ref:"container",class:"d-flex flex-row",style:s(t.computedStyle)},[n("div",{class:"led align-self-center",style:s(p.cssProps)},null,4),o(m,{parameters:p.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const y=u("default",c(e,[["render",d],["__scopeId","data-v-87ec8e4f"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./BarColumn-Cdu3OoMa-4b76872317503486ae81.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.openBlock,l=i.createElementBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return s(),l("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./GraphWidget-amwxyH1r-3be150d4abb2db05593f.js","./main-b8feff7544353ef60d67.js","vue","single-spa","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var i,n,r,a,o,l,d;return{setters:[t=>{i=t.S,n=t._},t=>{r=t.s},t=>{a=t.resolveComponent,o=t.openBlock,l=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function h(e,s,g,v,y,S){const c=a("graph");return o(),l(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=p("default",r(t,[["render",h]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-c1f484215a5c1258b34b.js","./main-b8feff7544353ef60d67.js","vue","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(f,B){"use strict";var o,u,m,n,r,g,l,a,p,d,y;return{setters:[e=>{o=e.r},e=>{u=e.s,m=e.K},e=>{n=e.openBlock,r=e.createElementBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,y=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[o],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(c=>{c.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&c.settings.push(["MARGIN",s])})}}};function h(s,c,i,b,A,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),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 I=f("default",u(e,[["render",h]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.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.openBlock,r=e.createBlock,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,I,f,c){const h=a("rux-progress");return l(),r(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-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(o,d){"use strict";var l,t,n,r,a,s;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.openBlock,r=e.createBlock,a=e.normalizeStyle},e=>{s=e.s},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,y,c,b,v,f){const p=t("v-radio");return n(),r(p,{"hide-details":"",dense:"",label:v.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=o("default",s(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-c1f484215a5c1258b34b.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(h,f){"use strict";var l,a,r,s,o,c,i,m,u,d,p,g;return{setters:[e=>{l=e.r},e=>{a=e.resolveComponent,r=e.openBlock,s=e.createBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,m=e.Fragment,u=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function C(n,v,B,V,y,z){const I=a("v-radio-group");return r(),s(I,{"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(m,null,u(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 k=h("default",g(e,[["render",C]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.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.openBlock,n=t.createElementBlock,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 a(),n("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"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.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.openBlock,a=t.createBlock,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 c(),a(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-C1HoM4Kl-c1f484215a5c1258b34b.js","./VerticalWidget-z6xUM-ql-a30289a8ea28c6d71e33.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(v,k){"use strict";var l,c,s,i,o,u,m,g,p,f,d;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{s=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{d=e.s},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(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,r,B,x,z){return s(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(s(!0),i(u,null,m(n.widgets,(t,h)=>(s(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const w=v("default",d(e,[["render",y]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.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.openBlock,l=t.createBlock,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,B,y,f,C,h){const m=a("v-icon");return s(),l(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const v=p("default",u(t,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(i,o){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,l=e.normalizeStyle},e=>{r=e.s},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(c,m,p,h,d,v){return n(),s("div",{style:l(c.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./GraphWidget-amwxyH1r-3be150d4abb2db05593f.js","./main-b8feff7544353ef60d67.js","vue","single-spa","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var i,s,n,r,a,o,d;return{setters:[t=>{i=t.S,s=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.openBlock,o=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(e,g,m,v,y,f){const h=r("graph");return a(),o(h,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=l("default",n(t,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-c1f484215a5c1258b34b.js","vue","./main-b8feff7544353ef60d67.js","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue-router","single-spa","vuex","vuetify"],function(k,_){"use strict";var p,l,n,s,g,v,i,c,o,u,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createElementBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,c=e.Fragment,o=e.renderList,u=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.s},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function C(t,m,h,D,L,j){const T=l("v-tab"),x=l("v-tabs"),B=l("v-window-item"),S=l("v-window");return n(),s("div",null,[g(x,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(T,{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(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(B,{key:d},{default:i(()=>[(n(!0),s(c,null,o(a.widgets,(r,N)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,target:r.target,parameters:r.parameters,settings:r.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:r.widgets,name:r.name,line:r.line,"line-number":r.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const z=k("default",V(e,[["render",C]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-b8feff7544353ef60d67.js","vue","./DetailsDialog-DLRMqetn-80cefd614ad1ea90b93d.js","single-spa","./VWidget-02CG-3Av-e7feaa529e95c4de2997.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-2de1c130b781b9886eb4.js"],function(y,N){"use strict";var c,a,s,r,n,u,d,l,m,h,g,p,v,x,f,w;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createElementBlock,n=e.createVNode,u=e.normalizeClass,d=e.normalizeStyle,l=e.withCtx,m=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},null,e=>{w=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:f},data:function(){return{width:200,height:200}},mixins:[w],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,o,E,j,F,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),M=a("v-list"),_=a("v-menu"),z=a("details-dialog");return s(),r("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:u(t.valueClass),style:d([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(_,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(M,null,{default:l(()=>[(s(!0),r(m,null,h(t.contextMenuOptions,(i,L)=>(s(),g(B,{key:L,onClick:p(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(z,{"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 T=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.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.openBlock,s=e.createBlock,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,y,f,u,x){const m=l("v-text-field");return n(),s(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]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","./main-b8feff7544353ef60d67.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,V){"use strict";var l,i,n,a,s,r,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createBlock,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 y=m("default",i(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-2de1c130b781b9886eb4.js","vue","./main-b8feff7544353ef60d67.js","vue-router","single-spa","vuex","vuetify"],function(o,p){"use strict";var t,r,n,l,s,a;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,s=e.toDisplayString},e=>{a=e.s},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,f,x,y,g,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},s(u.labelText),5)}const m=o("default",a(e,[["render",i]]))}}});
|