openc3-cosmos-demo 5.16.2 → 5.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/targets/INST/screens/array.txt +3 -1
- data/targets/INST/screens/rollup.txt +22 -0
- data/targets/INST2/screens/array.txt +3 -1
- data/tools/widgets/BigWidget/BigWidget.umd.min.js +1 -1
- data/tools/widgets/BigWidget/BigWidget.umd.min.js.map +1 -1
- data/tools/widgets/DataviewerquaternionWidget/DataviewerquaternionWidget.umd.min.js.map +1 -1
- data/tools/widgets/DataviewertimeWidget/DataviewertimeWidget.umd.min.js +1 -1
- data/tools/widgets/DataviewertimeWidget/DataviewertimeWidget.umd.min.js.map +1 -1
- data/tools/widgets/HelloworldWidget/HelloworldWidget.umd.min.js.map +1 -1
- metadata +3 -2
@@ -1,2 +1,2 @@
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["DataviewertimeWidget"]=t():e["DataviewertimeWidget"]=t()})("undefined"!==typeof self?self:this,(()=>(()=>{"use strict";var e={4977:(e,t,n)=>{var r=n(4188),o=n(3174),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},4121:(e,t,n)=>{var r=n(6712),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},5458:(e,t,n)=>{var r=n(4282),o=n(7065),i=n(4466).f,a=r("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},3770:(e,t,n)=>{var r=n(831),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},1458:(e,t,n)=>{var r=n(380),o=n(675),i=n(9389),a=function(e){return function(t,n,a){var c=r(t),s=i(c);if(0===s)return!e&&-1;var u,l=o(a,s);if(e&&n!==n){while(s>l)if(u=c[l++],u!==u)return!0}else for(;s>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},8689:(e,t,n)=>{var r=n(6881),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},8657:(e,t,n)=>{var r=n(4418),o=n(3168),i=n(9304),a=n(4466);e.exports=function(e,t,n){for(var c=o(t),s=a.f,u=i.f,l=0;l<c.length;l++){var f=c[l];r(e,f)||n&&r(n,f)||s(e,f,u(t,f))}}},680:(e,t,n)=>{var r=n(5234);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6224:e=>{e.exports=function(e,t){return{value:e,done:t}}},8088:(e,t,n)=>{var r=n(6893),o=n(4466),i=n(9123);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9123:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7509:(e,t,n)=>{var r=n(4188),o=n(4466),i=n(4530),a=n(4798);e.exports=function(e,t,n,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:t;if(r(n)&&i(n,u,c),c.global)s?e[t]=n:a(t,n);else{try{c.unsafe?e[t]&&(s=!0):delete e[t]}catch(l){}s?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},4798:(e,t,n)=>{var r=n(1488),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6893:(e,t,n)=>{var r=n(5234);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5926:(e,t,n)=>{var r=n(1488),o=n(831),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},9429:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7463:(e,t,n)=>{var r=n(5926),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},4109:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3749:(e,t,n)=>{var r,o,i=n(1488),a=n(4109),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},1274:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(e,t,n)=>{var r=n(1488),o=n(9304).f,i=n(8088),a=n(7509),c=n(4798),s=n(8657),u=n(8489);e.exports=function(e,t){var n,l,f,p,d,v,m=e.target,h=e.global,y=e.stat;if(l=h?r:y?r[m]||c(m,{}):r[m]&&r[m].prototype,l)for(f in t){if(d=t[f],e.dontCallGetSet?(v=o(l,f),p=v&&v.value):p=l[f],n=u(h?f:m+(y?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;s(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(l,f,d,e)}}},5234:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},9055:(e,t,n)=>{var r=n(5234);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9944:(e,t,n)=>{var r=n(9055),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},2735:(e,t,n)=>{var r=n(6893),o=n(4418),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},1025:(e,t,n)=>{var r=n(6881),o=n(4977);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},6881:(e,t,n)=>{var r=n(9055),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},5604:(e,t,n)=>{var r=n(1488),o=n(4188),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},2913:(e,t,n)=>{var r=n(4977),o=n(4318);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},1488:function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4418:(e,t,n)=>{var r=n(6881),o=n(3628),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7588:e=>{e.exports={}},7458:(e,t,n)=>{var r=n(5604);e.exports=r("document","documentElement")},9622:(e,t,n)=>{var r=n(6893),o=n(5234),i=n(5926);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7568:(e,t,n)=>{var r=n(6881),o=n(5234),i=n(8689),a=Object,c=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):a(e)}:a},3029:(e,t,n)=>{var r=n(6881),o=n(4188),i=n(2694),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3086:(e,t,n)=>{var r,o,i,a=n(5945),c=n(1488),s=n(831),u=n(8088),l=n(4418),f=n(2694),p=n(168),d=n(7588),v="Object already initialized",m=c.TypeError,h=c.WeakMap,y=function(e){return i(e)?o(e):r(e,{})},g=function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}};if(a||f.state){var b=f.state||(f.state=new h);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw new m(v);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,t){if(l(e,A))throw new m(v);return t.facade=e,u(e,A,t),t},o=function(e){return l(e,A)?e[A]:{}},i=function(e){return l(e,A)}}e.exports={set:r,get:o,has:i,enforce:y,getterFor:g}},4188:e=>{var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8489:(e,t,n)=>{var r=n(5234),o=n(4188),i=/#|\.prototype\./,a=function(e,t){var n=s[c(e)];return n===l||n!==u&&(o(t)?r(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},4318:e=>{e.exports=function(e){return null===e||void 0===e}},831:(e,t,n)=>{var r=n(4188);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},6712:(e,t,n)=>{var r=n(831);e.exports=function(e){return r(e)||null===e}},1942:e=>{e.exports=!1},6032:(e,t,n)=>{var r=n(5604),o=n(4188),i=n(4578),a=n(9809),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,c(e))}},9383:(e,t,n)=>{var r=n(2037).IteratorPrototype,o=n(7065),i=n(9123),a=n(3754),c=n(9164),s=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,l,!1,!0),c[l]=s,e}},3217:(e,t,n)=>{var r=n(5613),o=n(9944),i=n(1942),a=n(2735),c=n(4188),s=n(9383),u=n(1786),l=n(5054),f=n(3754),p=n(8088),d=n(7509),v=n(4282),m=n(9164),h=n(2037),y=a.PROPER,g=a.CONFIGURABLE,b=h.IteratorPrototype,A=h.BUGGY_SAFARI_ITERATORS,w=v("iterator"),x="keys",T="values",O="entries",S=function(){return this};e.exports=function(e,t,n,a,v,h,C){s(n,t,a);var _,E,j,P=function(e){if(e===v&&I)return I;if(!A&&e&&e in D)return D[e];switch(e){case x:return function(){return new n(this,e)};case T:return function(){return new n(this,e)};case O:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",R=!1,D=e.prototype,L=D[w]||D["@@iterator"]||v&&D[v],I=!A&&L||P(v),M="Array"===t&&D.entries||L;if(M&&(_=u(M.call(new e)),_!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):c(_[w])||d(_,w,S)),f(_,k,!0,!0),i&&(m[k]=S))),y&&v===T&&L&&L.name!==T&&(!i&&g?p(D,"name",T):(R=!0,I=function(){return o(L,this)})),v)if(E={values:P(T),keys:h?I:P(x),entries:P(O)},C)for(j in E)(A||R||!(j in D))&&d(D,j,E[j]);else r({target:t,proto:!0,forced:A||R},E);return i&&!C||D[w]===I||d(D,w,I,{name:v}),m[t]=I,E}},2037:(e,t,n)=>{var r,o,i,a=n(5234),c=n(4188),s=n(831),u=n(7065),l=n(1786),f=n(7509),p=n(4282),d=n(1942),v=p("iterator"),m=!1;[].keys&&(i=[].keys(),"next"in i?(o=l(l(i)),o!==Object.prototype&&(r=o)):m=!0);var h=!s(r)||a((function(){var e={};return r[v].call(e)!==e}));h?r={}:d&&(r=u(r)),c(r[v])||f(r,v,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},9164:e=>{e.exports={}},9389:(e,t,n)=>{var r=n(7611);e.exports=function(e){return r(e.length)}},4530:(e,t,n)=>{var r=n(6881),o=n(5234),i=n(4188),a=n(4418),c=n(6893),s=n(2735).CONFIGURABLE,u=n(3029),l=n(3086),f=l.enforce,p=l.get,d=String,v=Object.defineProperty,m=r("".slice),h=r("".replace),y=r([].join),g=c&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),A=e.exports=function(e,t,n){"Symbol("===m(d(t),0,7)&&(t="["+h(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(c?v(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&a(n,"arity")&&e.length!==n.arity&&v(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?c&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=f(e);return a(r,"source")||(r.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=A((function(){return i(this)&&p(this).source||u(this)}),"toString")},142:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},7065:(e,t,n)=>{var r,o=n(3770),i=n(30),a=n(1274),c=n(7588),s=n(7458),u=n(5926),l=n(168),f=">",p="<",d="prototype",v="script",m=l("IE_PROTO"),h=function(){},y=function(e){return p+v+f+e+p+"/"+v+f},g=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+v+":";return t.style.display="none",s.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},A=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}A="undefined"!=typeof document?document.domain&&r?g(r):b():g(r);var e=a.length;while(e--)delete A[d][a[e]];return A()};c[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=o(e),n=new h,h[d]=null,n[m]=e):n=A(),void 0===t?n:i.f(n,t)}},30:(e,t,n)=>{var r=n(6893),o=n(3315),i=n(4466),a=n(3770),c=n(380),s=n(7137);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);var n,r=c(t),o=s(t),u=o.length,l=0;while(u>l)i.f(e,n=o[l++],r[n]);return e}},4466:(e,t,n)=>{var r=n(6893),o=n(9622),i=n(3315),a=n(3770),c=n(2344),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=r?i?function(e,t,n){if(a(e),t=c(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=c(t),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},9304:(e,t,n)=>{var r=n(6893),o=n(9944),i=n(4416),a=n(9123),c=n(380),s=n(2344),u=n(4418),l=n(9622),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=c(e),t=s(t),l)try{return f(e,t)}catch(n){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},5629:(e,t,n)=>{var r=n(1843),o=n(1274),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},156:(e,t)=>{t.f=Object.getOwnPropertySymbols},1786:(e,t,n)=>{var r=n(4418),o=n(4188),i=n(3628),a=n(168),c=n(680),s=a("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,s))return t[s];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},4578:(e,t,n)=>{var r=n(6881);e.exports=r({}.isPrototypeOf)},1843:(e,t,n)=>{var r=n(6881),o=n(4418),i=n(380),a=n(1458).indexOf,c=n(7588),s=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(c,n)&&o(r,n)&&s(l,n);while(t.length>u)o(r,n=t[u++])&&(~a(l,n)||s(l,n));return l}},7137:(e,t,n)=>{var r=n(1843),o=n(1274);e.exports=Object.keys||function(e){return r(e,o)}},4416:(e,t)=>{var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},5054:(e,t,n)=>{var r=n(1025),o=n(831),i=n(9509),a=n(4121);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(c){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},2287:(e,t,n)=>{var r=n(9944),o=n(4188),i=n(831),a=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&o(n=e.toString)&&!i(c=r(n,e)))return c;if(o(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&o(n=e.toString)&&!i(c=r(n,e)))return c;throw new a("Can't convert object to primitive value")}},3168:(e,t,n)=>{var r=n(5604),o=n(6881),i=n(5629),a=n(156),c=n(3770),s=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=a.f;return n?s(t,n(e)):t}},9509:(e,t,n)=>{var r=n(4318),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},3754:(e,t,n)=>{var r=n(4466).f,o=n(4418),i=n(4282),a=i("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&r(e,a,{configurable:!0,value:t})}},168:(e,t,n)=>{var r=n(746),o=n(6209),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},2694:(e,t,n)=>{var r=n(1942),o=n(1488),i=n(4798),a="__core-js_shared__",c=e.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},746:(e,t,n)=>{var r=n(2694);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},8944:(e,t,n)=>{var r=n(3749),o=n(5234),i=n(1488),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},675:(e,t,n)=>{var r=n(6744),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},380:(e,t,n)=>{var r=n(7568),o=n(9509);e.exports=function(e){return r(o(e))}},6744:(e,t,n)=>{var r=n(142);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7611:(e,t,n)=>{var r=n(6744),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},3628:(e,t,n)=>{var r=n(9509),o=Object;e.exports=function(e){return o(r(e))}},290:(e,t,n)=>{var r=n(9944),o=n(831),i=n(6032),a=n(2913),c=n(2287),s=n(4282),u=TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,s=a(e,l);if(s){if(void 0===t&&(t="default"),n=r(s,e,t),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},2344:(e,t,n)=>{var r=n(290),o=n(6032);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3174:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},6209:(e,t,n)=>{var r=n(6881),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},9809:(e,t,n)=>{var r=n(8944);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3315:(e,t,n)=>{var r=n(6893),o=n(5234);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5945:(e,t,n)=>{var r=n(1488),o=n(4188),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},4282:(e,t,n)=>{var r=n(1488),o=n(746),i=n(4418),a=n(6209),c=n(8944),s=n(9809),u=r.Symbol,l=o("wks"),f=s?u["for"]||u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},3873:(e,t,n)=>{var r=n(380),o=n(5458),i=n(9164),a=n(3086),c=n(4466).f,s=n(3217),u=n(6224),l=n(1942),f=n(6893),p="Array Iterator",d=a.set,v=a.getterFor(p);e.exports=s(Array,"Array",(function(e,t){d(this,{type:p,target:r(e),index:0,kind:t})}),(function(){var e=v(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==m.name)try{c(m,"name",{value:"values"})}catch(h){}},7010:(e,t,n)=>{var r=n(1488),o=n(9429),i=n(7463),a=n(3873),c=n(8088),s=n(3754),u=n(4282),l=u("iterator"),f=a.values,p=function(e,t){if(e){if(e[l]!==f)try{c(e,l,f)}catch(r){e[l]=f}if(s(e,t,!0),o[t])for(var n in a)if(e[n]!==a[n])try{c(e,n,a[n])}catch(r){e[n]=a[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{n.p=""})();var r={};return(()=>{if(n.d(r,{default:()=>v}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(n.p=t[1])}function o(){var e="/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",t="07550a0e6fa6c0afbbc868e64a0d85ed0f4e9f37",n=new Function("return this")(),r="__coverage__",i={path:"/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",statementMap:{0:{start:{line:1,column:13},end:{line:2,column:1}},1:{start:{line:1,column:39},end:{line:1,column:43}},2:{start:{line:1,column:47},end:{line:1,column:59}},3:{start:{line:1,column:60},end:{line:1,column:1494}},4:{start:{line:3,column:22},end:{line:3,column:24}}},fnMap:{0:{name:"render",decl:{start:{line:1,column:22},end:{line:1,column:28}},loc:{start:{line:1,column:30},end:{line:2,column:1}},line:1}},branchMap:{0:{loc:{start:{line:1,column:901},end:{line:1,column:1187}},type:"cond-expr",locations:[{start:{line:1,column:916},end:{line:1,column:1178}},{start:{line:1,column:1179},end:{line:1,column:1187}}],line:1},1:{loc:{start:{line:1,column:1200},end:{line:1,column:1490}},type:"cond-expr",locations:[{start:{line:1,column:1215},end:{line:1,column:1481}},{start:{line:1,column:1482},end:{line:1,column:1490}}],line:1}},s:{0:0,1:0,2:0,3:0,4:0},f:{0:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"07550a0e6fa6c0afbbc868e64a0d85ed0f4e9f37"},a=n[r]||(n[r]={});a[e]&&a[e].hash===t||(a[e]=i);var c=a[e];return o=function(){return c},c}o(),o().s[0]++;var i=function(){o().f[0]++;var e=(o().s[1]++,this),t=(o().s[2]++,e._self._c);return o().s[3]++,t("v-container",[t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Current Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.date}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("UTC Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.utc}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Stream Time (UTC):")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.streamTime}})],1)],1),e._v(" "),e.hasDecom?(o().b[0][0]++,t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Packet Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.packetTime}})],1)],1)):(o().b[0][1]++,e._e()),e._v(" "),e.hasDecom?(o().b[1][0]++,t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Received Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.receivedTime}})],1)],1)):(o().b[1][1]++,e._e())],1)},a=(o().s[4]++,[]);n(7010);const c={props:{config:{type:Object},packets:{type:Array}},data:function(){return{currentConfig:{},currentPackets:[],latestData:null}},computed:{hasRaw:function(){for(let e=0;e<this.currentPackets.length;e++)if("RAW"===this.currentPackets[e].mode)return!0;return!1},hasDecom:function(){for(let e=0;e<this.currentPackets.length;e++)if("DECOM"===this.currentPackets[e].mode)return!0;return!1}},watch:{currentConfig:{deep:!0,handler:function(e){this.$emit("config",e)}}},created:function(){this.config&&(this.currentConfig={...this.config}),this.packets&&(this.currentPackets=[...this.packets])},methods:{receive:function(e){this.latestData=e}}};function s(){var e="/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",t="907cc55e91afd48c95f539432dc992e3a41635e9",n=new Function("return this")(),r="__coverage__",o={path:"/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",statementMap:{0:{start:{line:7,column:4},end:{line:12,column:5}},1:{start:{line:16,column:6},end:{line:16,column:36}},2:{start:{line:21,column:6},end:{line:29,column:8}},3:{start:{line:23,column:8},end:{line:26,column:9}},4:{start:{line:24,column:10},end:{line:24,column:58}},5:{start:{line:25,column:10},end:{line:25,column:62}},6:{start:{line:27,column:8},end:{line:27,column:73}},7:{start:{line:28,column:8},end:{line:28,column:30}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:8},end:{line:6,column:9}},loc:{start:{line:6,column:20},end:{line:13,column:3}},line:6},1:{name:"(anonymous_1)",decl:{start:{line:15,column:9},end:{line:15,column:10}},loc:{start:{line:15,column:21},end:{line:17,column:5}},line:15},2:{name:"(anonymous_2)",decl:{start:{line:20,column:16},end:{line:20,column:17}},loc:{start:{line:20,column:32},end:{line:30,column:5}},line:20},3:{name:"(anonymous_3)",decl:{start:{line:21,column:19},end:{line:21,column:20}},loc:{start:{line:21,column:31},end:{line:29,column:7}},line:21}},branchMap:{0:{loc:{start:{line:23,column:8},end:{line:26,column:9}},type:"if",locations:[{start:{line:23,column:8},end:{line:26,column:9}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:23}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0},f:{0:0,1:0,2:0,3:0},b:{0:[0,0]},inputSourceMap:{version:3,sources:["DataviewertimeWidget.vue"],names:[],mappings:";AA6FA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",file:"DataviewertimeWidget.vue",sourceRoot:"src",sourcesContent:['\x3c!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n--\x3e\n\n<template>\n <v-container>\n <v-row dense>\n <v-col>Current Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="date" /></v-col\n ></v-row>\n <v-row dense>\n <v-col>UTC Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="utc" /></v-col\n ></v-row>\n <v-row dense>\n <v-col>Stream Time (UTC):</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="streamTime" /></v-col\n ></v-row>\n <v-row dense v-if="hasDecom">\n <v-col>Packet Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="packetTime" /></v-col\n ></v-row>\n <v-row dense v-if="hasDecom">\n <v-col>Received Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="receivedTime" /></v-col\n ></v-row>\n </v-container>\n</template>\n\n<script>\nimport Component from \'@openc3/tool-common/src/components/dataviewer/Component\'\n\nexport default {\n mixins: [Component],\n data: function () {\n return {\n packetTime: null,\n receivedTime: null,\n currentTime: null,\n date: new Date(),\n }\n },\n computed: {\n utc: function () {\n return this.date.toUTCString()\n },\n },\n watch: {\n latestData: function (data) {\n data.forEach((packet) => {\n // This only works with DECOM packets\n if (\'buffer\' in packet === false) {\n this.packetTime = packet[\'PACKET_TIMEFORMATTED\']\n this.receivedTime = packet[\'RECEIVED_TIMEFORMATTED\']\n }\n this.streamTime = new Date(packet.__time / 1000000).toISOString()\n this.date = new Date()\n })\n },\n },\n}\n<\/script>\n']},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"907cc55e91afd48c95f539432dc992e3a41635e9"},i=n[r]||(n[r]={});i[e]&&i[e].hash===t||(i[e]=o);var a=i[e];return s=function(){return a},a}s();const u={mixins:[c],data:function(){return s().f[0]++,s().s[0]++,{packetTime:null,receivedTime:null,currentTime:null,date:new Date}},computed:{utc:function(){return s().f[1]++,s().s[1]++,this.date.toUTCString()}},watch:{latestData:function(e){s().f[2]++,s().s[2]++,e.forEach((e=>{s().f[3]++,s().s[3]++,"buffer"in e===!1?(s().b[0][0]++,s().s[4]++,this.packetTime=e["PACKET_TIMEFORMATTED"],s().s[5]++,this.receivedTime=e["RECEIVED_TIMEFORMATTED"]):s().b[0][1]++,s().s[6]++,this.streamTime=new Date(e.__time/1e6).toISOString(),s().s[7]++,this.date=new Date}))}}},l=u;function f(e,t,n,r,o,i,a,c){var s,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(e,t){return s.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:u}}var p=f(l,i,a,!1,null,null,null);const d=p.exports,v=d})(),r=r["default"],r})()));
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["DataviewertimeWidget"]=t():e["DataviewertimeWidget"]=t()})("undefined"!==typeof self?self:this,(()=>(()=>{"use strict";var e={4977:(e,t,n)=>{var r=n(4188),o=n(3174),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},4121:(e,t,n)=>{var r=n(6712),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},5458:(e,t,n)=>{var r=n(4282),o=n(7065),i=n(4466).f,a=r("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},3770:(e,t,n)=>{var r=n(831),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},1458:(e,t,n)=>{var r=n(380),o=n(675),i=n(9389),a=function(e){return function(t,n,a){var c=r(t),s=i(c);if(0===s)return!e&&-1;var u,l=o(a,s);if(e&&n!==n){while(s>l)if(u=c[l++],u!==u)return!0}else for(;s>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},8689:(e,t,n)=>{var r=n(6881),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},8657:(e,t,n)=>{var r=n(4418),o=n(3168),i=n(9304),a=n(4466);e.exports=function(e,t,n){for(var c=o(t),s=a.f,u=i.f,l=0;l<c.length;l++){var f=c[l];r(e,f)||n&&r(n,f)||s(e,f,u(t,f))}}},680:(e,t,n)=>{var r=n(5234);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6224:e=>{e.exports=function(e,t){return{value:e,done:t}}},8088:(e,t,n)=>{var r=n(6893),o=n(4466),i=n(9123);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9123:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7509:(e,t,n)=>{var r=n(4188),o=n(4466),i=n(4530),a=n(4798);e.exports=function(e,t,n,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:t;if(r(n)&&i(n,u,c),c.global)s?e[t]=n:a(t,n);else{try{c.unsafe?e[t]&&(s=!0):delete e[t]}catch(l){}s?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},4798:(e,t,n)=>{var r=n(1488),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6893:(e,t,n)=>{var r=n(5234);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5926:(e,t,n)=>{var r=n(1488),o=n(831),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},9429:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7463:(e,t,n)=>{var r=n(5926),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},4109:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3749:(e,t,n)=>{var r,o,i=n(1488),a=n(4109),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},1274:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(e,t,n)=>{var r=n(1488),o=n(9304).f,i=n(8088),a=n(7509),c=n(4798),s=n(8657),u=n(8489);e.exports=function(e,t){var n,l,f,p,d,v,m=e.target,h=e.global,y=e.stat;if(l=h?r:y?r[m]||c(m,{}):r[m]&&r[m].prototype,l)for(f in t){if(d=t[f],e.dontCallGetSet?(v=o(l,f),p=v&&v.value):p=l[f],n=u(h?f:m+(y?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;s(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(l,f,d,e)}}},5234:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},9055:(e,t,n)=>{var r=n(5234);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9944:(e,t,n)=>{var r=n(9055),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},2735:(e,t,n)=>{var r=n(6893),o=n(4418),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},1025:(e,t,n)=>{var r=n(6881),o=n(4977);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},6881:(e,t,n)=>{var r=n(9055),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},5604:(e,t,n)=>{var r=n(1488),o=n(4188),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},2913:(e,t,n)=>{var r=n(4977),o=n(4318);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},1488:function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4418:(e,t,n)=>{var r=n(6881),o=n(3628),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7588:e=>{e.exports={}},7458:(e,t,n)=>{var r=n(5604);e.exports=r("document","documentElement")},9622:(e,t,n)=>{var r=n(6893),o=n(5234),i=n(5926);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7568:(e,t,n)=>{var r=n(6881),o=n(5234),i=n(8689),a=Object,c=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):a(e)}:a},3029:(e,t,n)=>{var r=n(6881),o=n(4188),i=n(2694),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3086:(e,t,n)=>{var r,o,i,a=n(5945),c=n(1488),s=n(831),u=n(8088),l=n(4418),f=n(2694),p=n(168),d=n(7588),v="Object already initialized",m=c.TypeError,h=c.WeakMap,y=function(e){return i(e)?o(e):r(e,{})},g=function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}};if(a||f.state){var b=f.state||(f.state=new h);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw new m(v);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,t){if(l(e,A))throw new m(v);return t.facade=e,u(e,A,t),t},o=function(e){return l(e,A)?e[A]:{}},i=function(e){return l(e,A)}}e.exports={set:r,get:o,has:i,enforce:y,getterFor:g}},4188:e=>{var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8489:(e,t,n)=>{var r=n(5234),o=n(4188),i=/#|\.prototype\./,a=function(e,t){var n=s[c(e)];return n===l||n!==u&&(o(t)?r(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},4318:e=>{e.exports=function(e){return null===e||void 0===e}},831:(e,t,n)=>{var r=n(4188);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},6712:(e,t,n)=>{var r=n(831);e.exports=function(e){return r(e)||null===e}},1942:e=>{e.exports=!1},6032:(e,t,n)=>{var r=n(5604),o=n(4188),i=n(4578),a=n(9809),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,c(e))}},9383:(e,t,n)=>{var r=n(2037).IteratorPrototype,o=n(7065),i=n(9123),a=n(3754),c=n(9164),s=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,l,!1,!0),c[l]=s,e}},3217:(e,t,n)=>{var r=n(5613),o=n(9944),i=n(1942),a=n(2735),c=n(4188),s=n(9383),u=n(1786),l=n(5054),f=n(3754),p=n(8088),d=n(7509),v=n(4282),m=n(9164),h=n(2037),y=a.PROPER,g=a.CONFIGURABLE,b=h.IteratorPrototype,A=h.BUGGY_SAFARI_ITERATORS,w=v("iterator"),x="keys",T="values",O="entries",S=function(){return this};e.exports=function(e,t,n,a,v,h,C){s(n,t,a);var _,E,j,P=function(e){if(e===v&&I)return I;if(!A&&e&&e in D)return D[e];switch(e){case x:return function(){return new n(this,e)};case T:return function(){return new n(this,e)};case O:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",R=!1,D=e.prototype,L=D[w]||D["@@iterator"]||v&&D[v],I=!A&&L||P(v),M="Array"===t&&D.entries||L;if(M&&(_=u(M.call(new e)),_!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):c(_[w])||d(_,w,S)),f(_,k,!0,!0),i&&(m[k]=S))),y&&v===T&&L&&L.name!==T&&(!i&&g?p(D,"name",T):(R=!0,I=function(){return o(L,this)})),v)if(E={values:P(T),keys:h?I:P(x),entries:P(O)},C)for(j in E)(A||R||!(j in D))&&d(D,j,E[j]);else r({target:t,proto:!0,forced:A||R},E);return i&&!C||D[w]===I||d(D,w,I,{name:v}),m[t]=I,E}},2037:(e,t,n)=>{var r,o,i,a=n(5234),c=n(4188),s=n(831),u=n(7065),l=n(1786),f=n(7509),p=n(4282),d=n(1942),v=p("iterator"),m=!1;[].keys&&(i=[].keys(),"next"in i?(o=l(l(i)),o!==Object.prototype&&(r=o)):m=!0);var h=!s(r)||a((function(){var e={};return r[v].call(e)!==e}));h?r={}:d&&(r=u(r)),c(r[v])||f(r,v,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},9164:e=>{e.exports={}},9389:(e,t,n)=>{var r=n(7611);e.exports=function(e){return r(e.length)}},4530:(e,t,n)=>{var r=n(6881),o=n(5234),i=n(4188),a=n(4418),c=n(6893),s=n(2735).CONFIGURABLE,u=n(3029),l=n(3086),f=l.enforce,p=l.get,d=String,v=Object.defineProperty,m=r("".slice),h=r("".replace),y=r([].join),g=c&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),A=e.exports=function(e,t,n){"Symbol("===m(d(t),0,7)&&(t="["+h(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(c?v(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&a(n,"arity")&&e.length!==n.arity&&v(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?c&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=f(e);return a(r,"source")||(r.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=A((function(){return i(this)&&p(this).source||u(this)}),"toString")},142:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},7065:(e,t,n)=>{var r,o=n(3770),i=n(30),a=n(1274),c=n(7588),s=n(7458),u=n(5926),l=n(168),f=">",p="<",d="prototype",v="script",m=l("IE_PROTO"),h=function(){},y=function(e){return p+v+f+e+p+"/"+v+f},g=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+v+":";return t.style.display="none",s.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},A=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}A="undefined"!=typeof document?document.domain&&r?g(r):b():g(r);var e=a.length;while(e--)delete A[d][a[e]];return A()};c[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=o(e),n=new h,h[d]=null,n[m]=e):n=A(),void 0===t?n:i.f(n,t)}},30:(e,t,n)=>{var r=n(6893),o=n(3315),i=n(4466),a=n(3770),c=n(380),s=n(7137);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);var n,r=c(t),o=s(t),u=o.length,l=0;while(u>l)i.f(e,n=o[l++],r[n]);return e}},4466:(e,t,n)=>{var r=n(6893),o=n(9622),i=n(3315),a=n(3770),c=n(2344),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=r?i?function(e,t,n){if(a(e),t=c(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=c(t),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},9304:(e,t,n)=>{var r=n(6893),o=n(9944),i=n(4416),a=n(9123),c=n(380),s=n(2344),u=n(4418),l=n(9622),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=c(e),t=s(t),l)try{return f(e,t)}catch(n){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},5629:(e,t,n)=>{var r=n(1843),o=n(1274),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},156:(e,t)=>{t.f=Object.getOwnPropertySymbols},1786:(e,t,n)=>{var r=n(4418),o=n(4188),i=n(3628),a=n(168),c=n(680),s=a("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,s))return t[s];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},4578:(e,t,n)=>{var r=n(6881);e.exports=r({}.isPrototypeOf)},1843:(e,t,n)=>{var r=n(6881),o=n(4418),i=n(380),a=n(1458).indexOf,c=n(7588),s=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(c,n)&&o(r,n)&&s(l,n);while(t.length>u)o(r,n=t[u++])&&(~a(l,n)||s(l,n));return l}},7137:(e,t,n)=>{var r=n(1843),o=n(1274);e.exports=Object.keys||function(e){return r(e,o)}},4416:(e,t)=>{var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},5054:(e,t,n)=>{var r=n(1025),o=n(831),i=n(9509),a=n(4121);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(c){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},2287:(e,t,n)=>{var r=n(9944),o=n(4188),i=n(831),a=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&o(n=e.toString)&&!i(c=r(n,e)))return c;if(o(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&o(n=e.toString)&&!i(c=r(n,e)))return c;throw new a("Can't convert object to primitive value")}},3168:(e,t,n)=>{var r=n(5604),o=n(6881),i=n(5629),a=n(156),c=n(3770),s=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=a.f;return n?s(t,n(e)):t}},9509:(e,t,n)=>{var r=n(4318),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},3754:(e,t,n)=>{var r=n(4466).f,o=n(4418),i=n(4282),a=i("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&r(e,a,{configurable:!0,value:t})}},168:(e,t,n)=>{var r=n(746),o=n(6209),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},2694:(e,t,n)=>{var r=n(1942),o=n(1488),i=n(4798),a="__core-js_shared__",c=e.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},746:(e,t,n)=>{var r=n(2694);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},8944:(e,t,n)=>{var r=n(3749),o=n(5234),i=n(1488),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},675:(e,t,n)=>{var r=n(6744),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},380:(e,t,n)=>{var r=n(7568),o=n(9509);e.exports=function(e){return r(o(e))}},6744:(e,t,n)=>{var r=n(142);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7611:(e,t,n)=>{var r=n(6744),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},3628:(e,t,n)=>{var r=n(9509),o=Object;e.exports=function(e){return o(r(e))}},290:(e,t,n)=>{var r=n(9944),o=n(831),i=n(6032),a=n(2913),c=n(2287),s=n(4282),u=TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,s=a(e,l);if(s){if(void 0===t&&(t="default"),n=r(s,e,t),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},2344:(e,t,n)=>{var r=n(290),o=n(6032);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3174:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},6209:(e,t,n)=>{var r=n(6881),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},9809:(e,t,n)=>{var r=n(8944);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3315:(e,t,n)=>{var r=n(6893),o=n(5234);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5945:(e,t,n)=>{var r=n(1488),o=n(4188),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},4282:(e,t,n)=>{var r=n(1488),o=n(746),i=n(4418),a=n(6209),c=n(8944),s=n(9809),u=r.Symbol,l=o("wks"),f=s?u["for"]||u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},3873:(e,t,n)=>{var r=n(380),o=n(5458),i=n(9164),a=n(3086),c=n(4466).f,s=n(3217),u=n(6224),l=n(1942),f=n(6893),p="Array Iterator",d=a.set,v=a.getterFor(p);e.exports=s(Array,"Array",(function(e,t){d(this,{type:p,target:r(e),index:0,kind:t})}),(function(){var e=v(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==m.name)try{c(m,"name",{value:"values"})}catch(h){}},7010:(e,t,n)=>{var r=n(1488),o=n(9429),i=n(7463),a=n(3873),c=n(8088),s=n(3754),u=n(4282),l=u("iterator"),f=a.values,p=function(e,t){if(e){if(e[l]!==f)try{c(e,l,f)}catch(r){e[l]=f}if(s(e,t,!0),o[t])for(var n in a)if(e[n]!==a[n])try{c(e,n,a[n])}catch(r){e[n]=a[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{n.p=""})();var r={};if(n.d(r,{default:()=>h}),"undefined"!==typeof window){var o=window.document.currentScript,i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}function a(){var e="/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",t="07550a0e6fa6c0afbbc868e64a0d85ed0f4e9f37",n=new Function("return this")(),r="__coverage__",o={path:"/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",statementMap:{0:{start:{line:1,column:13},end:{line:2,column:1}},1:{start:{line:1,column:39},end:{line:1,column:43}},2:{start:{line:1,column:47},end:{line:1,column:59}},3:{start:{line:1,column:60},end:{line:1,column:1494}},4:{start:{line:3,column:22},end:{line:3,column:24}}},fnMap:{0:{name:"render",decl:{start:{line:1,column:22},end:{line:1,column:28}},loc:{start:{line:1,column:30},end:{line:2,column:1}},line:1}},branchMap:{0:{loc:{start:{line:1,column:901},end:{line:1,column:1187}},type:"cond-expr",locations:[{start:{line:1,column:916},end:{line:1,column:1178}},{start:{line:1,column:1179},end:{line:1,column:1187}}],line:1},1:{loc:{start:{line:1,column:1200},end:{line:1,column:1490}},type:"cond-expr",locations:[{start:{line:1,column:1215},end:{line:1,column:1481}},{start:{line:1,column:1482},end:{line:1,column:1490}}],line:1}},s:{0:0,1:0,2:0,3:0,4:0},f:{0:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"07550a0e6fa6c0afbbc868e64a0d85ed0f4e9f37"},i=n[r]||(n[r]={});i[e]&&i[e].hash===t||(i[e]=o);var c=i[e];return a=function(){return c},c}a(),a().s[0]++;var c=function(){a().f[0]++;var e=(a().s[1]++,this),t=(a().s[2]++,e._self._c);return a().s[3]++,t("v-container",[t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Current Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.date}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("UTC Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.utc}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Stream Time (UTC):")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.streamTime}})],1)],1),e._v(" "),e.hasDecom?(a().b[0][0]++,t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Packet Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.packetTime}})],1)],1)):(a().b[0][1]++,e._e()),e._v(" "),e.hasDecom?(a().b[1][0]++,t("v-row",{attrs:{dense:""}},[t("v-col",[e._v("Received Time:")]),e._v(" "),t("v-col",[t("v-text-field",{attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Time",value:e.receivedTime}})],1)],1)):(a().b[1][1]++,e._e())],1)},s=(a().s[4]++,[]);n(7010);const u={props:{config:{type:Object},packets:{type:Array}},data:function(){return{currentConfig:{},currentPackets:[],latestData:null}},computed:{hasRaw:function(){for(let e=0;e<this.currentPackets.length;e++)if("RAW"===this.currentPackets[e].mode)return!0;return!1},hasDecom:function(){for(let e=0;e<this.currentPackets.length;e++)if("DECOM"===this.currentPackets[e].mode)return!0;return!1}},watch:{currentConfig:{deep:!0,handler:function(e){this.$emit("config",e)}}},created:function(){this.config&&(this.currentConfig={...this.config}),this.packets&&(this.currentPackets=[...this.packets])},methods:{receive:function(e){this.latestData=e}}};function l(){var e="/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",t="907cc55e91afd48c95f539432dc992e3a41635e9",n=new Function("return this")(),r="__coverage__",o={path:"/openc3/plugins/packages/openc3-cosmos-demo/src/DataviewertimeWidget.vue",statementMap:{0:{start:{line:7,column:4},end:{line:12,column:5}},1:{start:{line:16,column:6},end:{line:16,column:36}},2:{start:{line:21,column:6},end:{line:29,column:8}},3:{start:{line:23,column:8},end:{line:26,column:9}},4:{start:{line:24,column:10},end:{line:24,column:58}},5:{start:{line:25,column:10},end:{line:25,column:62}},6:{start:{line:27,column:8},end:{line:27,column:73}},7:{start:{line:28,column:8},end:{line:28,column:30}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:8},end:{line:6,column:9}},loc:{start:{line:6,column:20},end:{line:13,column:3}},line:6},1:{name:"(anonymous_1)",decl:{start:{line:15,column:9},end:{line:15,column:10}},loc:{start:{line:15,column:21},end:{line:17,column:5}},line:15},2:{name:"(anonymous_2)",decl:{start:{line:20,column:16},end:{line:20,column:17}},loc:{start:{line:20,column:32},end:{line:30,column:5}},line:20},3:{name:"(anonymous_3)",decl:{start:{line:21,column:19},end:{line:21,column:20}},loc:{start:{line:21,column:31},end:{line:29,column:7}},line:21}},branchMap:{0:{loc:{start:{line:23,column:8},end:{line:26,column:9}},type:"if",locations:[{start:{line:23,column:8},end:{line:26,column:9}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:23}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0},f:{0:0,1:0,2:0,3:0},b:{0:[0,0]},inputSourceMap:{version:3,sources:["DataviewertimeWidget.vue"],names:[],mappings:";AA6FA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",file:"DataviewertimeWidget.vue",sourceRoot:"src",sourcesContent:['\x3c!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n--\x3e\n\n<template>\n <v-container>\n <v-row dense>\n <v-col>Current Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="date" /></v-col\n ></v-row>\n <v-row dense>\n <v-col>UTC Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="utc" /></v-col\n ></v-row>\n <v-row dense>\n <v-col>Stream Time (UTC):</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="streamTime" /></v-col\n ></v-row>\n <v-row dense v-if="hasDecom">\n <v-col>Packet Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="packetTime" /></v-col\n ></v-row>\n <v-row dense v-if="hasDecom">\n <v-col>Received Time:</v-col>\n <v-col>\n <v-text-field\n solo\n dense\n readonly\n single-line\n hide-no-data\n hide-details\n placeholder="Time"\n :value="receivedTime" /></v-col\n ></v-row>\n </v-container>\n</template>\n\n<script>\nimport Component from \'@openc3/tool-common/src/components/dataviewer/Component\'\n\nexport default {\n mixins: [Component],\n data: function () {\n return {\n packetTime: null,\n receivedTime: null,\n currentTime: null,\n date: new Date(),\n }\n },\n computed: {\n utc: function () {\n return this.date.toUTCString()\n },\n },\n watch: {\n latestData: function (data) {\n data.forEach((packet) => {\n // This only works with DECOM packets\n if (\'buffer\' in packet === false) {\n this.packetTime = packet[\'PACKET_TIMEFORMATTED\']\n this.receivedTime = packet[\'RECEIVED_TIMEFORMATTED\']\n }\n this.streamTime = new Date(packet.__time / 1000000).toISOString()\n this.date = new Date()\n })\n },\n },\n}\n<\/script>\n']},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"907cc55e91afd48c95f539432dc992e3a41635e9"},i=n[r]||(n[r]={});i[e]&&i[e].hash===t||(i[e]=o);var a=i[e];return l=function(){return a},a}l();const f={mixins:[u],data:function(){return l().f[0]++,l().s[0]++,{packetTime:null,receivedTime:null,currentTime:null,date:new Date}},computed:{utc:function(){return l().f[1]++,l().s[1]++,this.date.toUTCString()}},watch:{latestData:function(e){l().f[2]++,l().s[2]++,e.forEach((e=>{l().f[3]++,l().s[3]++,"buffer"in e===!1?(l().b[0][0]++,l().s[4]++,this.packetTime=e["PACKET_TIMEFORMATTED"],l().s[5]++,this.receivedTime=e["RECEIVED_TIMEFORMATTED"]):l().b[0][1]++,l().s[6]++,this.streamTime=new Date(e.__time/1e6).toISOString(),l().s[7]++,this.date=new Date}))}}},p=f;function d(e,t,n,r,o,i,a,c){var s,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(e,t){return s.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:u}}var v=d(p,c,s,!1,null,null,null);const m=v.exports,h=m;return r=r["default"],r})()));
|
2
2
|
//# sourceMappingURL=DataviewertimeWidget.umd.min.js.map
|