tools/widgets/DataviewertimeWidget/DataviewertimeWidget.umd.min.js in openc3-cosmos-demo-5.12.0 vs tools/widgets/DataviewertimeWidget/DataviewertimeWidget.umd.min.js in openc3-cosmos-demo-5.13.0

- old
+ new

@@ -1 +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={1052:(e,t,n)=>{var r=n(688),o=n(3397),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},9568:(e,t,n)=>{var r=n(688),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},586:(e,t,n)=>{var r=n(2032),o=n(8536),i=n(2131).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}},9175:(e,t,n)=>{var r=n(5309),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},1138:(e,t,n)=>{var r=n(6854),o=n(7352),i=n(8344),a=function(e){return function(t,n,a){var c,s=r(t),u=i(s),l=o(a,u);if(e&&n!==n){while(u>l)if(c=s[l++],c!==c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2177:(e,t,n)=>{var r=n(9668),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},3891:(e,t,n)=>{var r=n(4678),o=n(990),i=n(7537),a=n(2131);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))}}},8440:(e,t,n)=>{var r=n(4694);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9374:e=>{e.exports=function(e,t){return{value:e,done:t}}},2385:(e,t,n)=>{var r=n(9924),o=n(2131),i=n(7781);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7781:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2470:(e,t,n)=>{var r=n(688),o=n(2131),i=n(1135),a=n(1604);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}},1604:(e,t,n)=>{var r=n(2150),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}},9924:(e,t,n)=>{var r=n(4694);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1811:e=>{var t="object"==typeof document&&document.all,n="undefined"==typeof t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},1442:(e,t,n)=>{var r=n(2150),o=n(5309),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7587: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}},26:(e,t,n)=>{var r=n(1442),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},1370:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7067:(e,t,n)=>{var r,o,i=n(2150),a=n(1370),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},2367:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5532:(e,t,n)=>{var r=n(2150),o=n(7537).f,i=n(2385),a=n(2470),c=n(1604),s=n(3891),u=n(1633);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]||{}).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)}}},4694:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},6398:(e,t,n)=>{var r=n(4694);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8724:(e,t,n)=>{var r=n(6398),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},453:(e,t,n)=>{var r=n(9924),o=n(4678),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}},1092:(e,t,n)=>{var r=n(9668),o=n(1052);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},9668:(e,t,n)=>{var r=n(6398),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)}}},2160:(e,t,n)=>{var r=n(2150),o=n(688),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]}},5383:(e,t,n)=>{var r=n(1052),o=n(5268);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},2150: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)||function(){return this}()||this||Function("return this")()},4678:(e,t,n)=>{var r=n(9668),o=n(298),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7390:e=>{e.exports={}},8651:(e,t,n)=>{var r=n(2160);e.exports=r("document","documentElement")},7913:(e,t,n)=>{var r=n(9924),o=n(4694),i=n(1442);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4347:(e,t,n)=>{var r=n(9668),o=n(4694),i=n(2177),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},1881:(e,t,n)=>{var r=n(9668),o=n(688),i=n(6762),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},7804:(e,t,n)=>{var r,o,i,a=n(4724),c=n(2150),s=n(5309),u=n(2385),l=n(4678),f=n(6762),p=n(1962),d=n(7390),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}},688:(e,t,n)=>{var r=n(1811),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},1633:(e,t,n)=>{var r=n(4694),o=n(688),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},5268:e=>{e.exports=function(e){return null===e||void 0===e}},5309:(e,t,n)=>{var r=n(688),o=n(1811),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},6555:e=>{e.exports=!1},7935:(e,t,n)=>{var r=n(2160),o=n(688),i=n(6148),a=n(4866),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))}},5848:(e,t,n)=>{var r=n(6070).IteratorPrototype,o=n(8536),i=n(7781),a=n(7495),c=n(8515),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}},8772:(e,t,n)=>{var r=n(5532),o=n(8724),i=n(6555),a=n(453),c=n(688),s=n(5848),u=n(7610),l=n(4584),f=n(7495),p=n(2385),d=n(2470),v=n(2032),m=n(8515),h=n(6070),y=a.PROPER,g=a.CONFIGURABLE,b=h.IteratorPrototype,A=h.BUGGY_SAFARI_ITERATORS,w=v("iterator"),x="keys",T="values",S="entries",O=function(){return this};e.exports=function(e,t,n,a,v,h,C){s(n,t,a);var _,j,E,P=function(e){if(e===v&&I)return I;if(!A&&e&&e in R)return R[e];switch(e){case x:return function(){return new n(this,e)};case T:return function(){return new n(this,e)};case S:return function(){return new n(this,e)}}return function(){return new n(this)}},D=t+" Iterator",k=!1,R=e.prototype,L=R[w]||R["@@iterator"]||v&&R[v],I=!A&&L||P(v),M="Array"===t&&R.entries||L;if(M&&(_=u(M.call(new e)),_!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):c(_[w])||d(_,w,O)),f(_,D,!0,!0),i&&(m[D]=O))),y&&v===T&&L&&L.name!==T&&(!i&&g?p(R,"name",T):(k=!0,I=function(){return o(L,this)})),v)if(j={values:P(T),keys:h?I:P(x),entries:P(S)},C)for(E in j)(A||k||!(E in R))&&d(R,E,j[E]);else r({target:t,proto:!0,forced:A||k},j);return i&&!C||R[w]===I||d(R,w,I,{name:v}),m[t]=I,j}},6070:(e,t,n)=>{var r,o,i,a=n(4694),c=n(688),s=n(5309),u=n(8536),l=n(7610),f=n(2470),p=n(2032),d=n(6555),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}},8515:e=>{e.exports={}},8344:(e,t,n)=>{var r=n(7331);e.exports=function(e){return r(e.length)}},1135:(e,t,n)=>{var r=n(9668),o=n(4694),i=n(688),a=n(4678),c=n(9924),s=n(453).CONFIGURABLE,u=n(1881),l=n(7804),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")},1787:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},8536:(e,t,n)=>{var r,o=n(9175),i=n(227),a=n(2367),c=n(7390),s=n(8651),u=n(1442),l=n(1962),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)}},227:(e,t,n)=>{var r=n(9924),o=n(2666),i=n(2131),a=n(9175),c=n(6854),s=n(1728);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}},2131:(e,t,n)=>{var r=n(9924),o=n(7913),i=n(2666),a=n(9175),c=n(2358),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}},7537:(e,t,n)=>{var r=n(9924),o=n(8724),i=n(8208),a=n(7781),c=n(6854),s=n(2358),u=n(4678),l=n(7913),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])}},6217:(e,t,n)=>{var r=n(1528),o=n(2367),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},5168:(e,t)=>{t.f=Object.getOwnPropertySymbols},7610:(e,t,n)=>{var r=n(4678),o=n(688),i=n(298),a=n(1962),c=n(8440),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}},6148:(e,t,n)=>{var r=n(9668);e.exports=r({}.isPrototypeOf)},1528:(e,t,n)=>{var r=n(9668),o=n(4678),i=n(6854),a=n(1138).indexOf,c=n(7390),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}},1728:(e,t,n)=>{var r=n(1528),o=n(2367);e.exports=Object.keys||function(e){return r(e,o)}},8208:(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},4584:(e,t,n)=>{var r=n(1092),o=n(9175),i=n(9568);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(a){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},110:(e,t,n)=>{var r=n(8724),o=n(688),i=n(5309),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")}},990:(e,t,n)=>{var r=n(2160),o=n(9668),i=n(6217),a=n(5168),c=n(9175),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}},1166:(e,t,n)=>{var r=n(5268),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},7495:(e,t,n)=>{var r=n(2131).f,o=n(4678),i=n(2032),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})}},1962:(e,t,n)=>{var r=n(2645),o=n(5736),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},6762:(e,t,n)=>{var r=n(2150),o=n(1604),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2645:(e,t,n)=>{var r=n(6555),o=n(6762);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"})},4112:(e,t,n)=>{var r=n(7067),o=n(4694),i=n(2150),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}))},7352:(e,t,n)=>{var r=n(1680),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)}},6854:(e,t,n)=>{var r=n(4347),o=n(1166);e.exports=function(e){return r(o(e))}},1680:(e,t,n)=>{var r=n(1787);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7331:(e,t,n)=>{var r=n(1680),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},298:(e,t,n)=>{var r=n(1166),o=Object;e.exports=function(e){return o(r(e))}},1272:(e,t,n)=>{var r=n(8724),o=n(5309),i=n(7935),a=n(5383),c=n(110),s=n(2032),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)}},2358:(e,t,n)=>{var r=n(1272),o=n(7935);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3397:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},5736:(e,t,n)=>{var r=n(9668),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},4866:(e,t,n)=>{var r=n(4112);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2666:(e,t,n)=>{var r=n(9924),o=n(4694);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4724:(e,t,n)=>{var r=n(2150),o=n(688),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},2032:(e,t,n)=>{var r=n(2150),o=n(2645),i=n(4678),a=n(5736),c=n(4112),s=n(4866),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]}},1211:(e,t,n)=>{var r=n(6854),o=n(586),i=n(8515),a=n(7804),c=n(2131).f,s=n(8772),u=n(9374),l=n(6555),f=n(9924),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){}},309:(e,t,n)=>{var r=n(2150),o=n(7587),i=n(26),a=n(1211),c=n(2385),s=n(2032),u=s("iterator"),l=s("toStringTag"),f=a.values,p=function(e,t){if(e){if(e[u]!==f)try{c(e,u,f)}catch(r){e[u]=f}if(e[l]||c(e,l,t),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(309);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})())); +(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={1052:(e,t,n)=>{var r=n(688),o=n(3397),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},9568:(e,t,n)=>{var r=n(688),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},586:(e,t,n)=>{var r=n(2032),o=n(8536),i=n(2131).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}},9175:(e,t,n)=>{var r=n(5309),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},1138:(e,t,n)=>{var r=n(6854),o=n(7352),i=n(8344),a=function(e){return function(t,n,a){var c,s=r(t),u=i(s),l=o(a,u);if(e&&n!==n){while(u>l)if(c=s[l++],c!==c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2177:(e,t,n)=>{var r=n(9668),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},3891:(e,t,n)=>{var r=n(4678),o=n(990),i=n(7537),a=n(2131);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))}}},8440:(e,t,n)=>{var r=n(4694);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9374:e=>{e.exports=function(e,t){return{value:e,done:t}}},2385:(e,t,n)=>{var r=n(9924),o=n(2131),i=n(7781);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7781:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2470:(e,t,n)=>{var r=n(688),o=n(2131),i=n(1135),a=n(1604);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}},1604:(e,t,n)=>{var r=n(2150),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}},9924:(e,t,n)=>{var r=n(4694);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1811:e=>{var t="object"==typeof document&&document.all,n="undefined"==typeof t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},1442:(e,t,n)=>{var r=n(2150),o=n(5309),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7587: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}},26:(e,t,n)=>{var r=n(1442),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},1370:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7067:(e,t,n)=>{var r,o,i=n(2150),a=n(1370),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},2367:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5532:(e,t,n)=>{var r=n(2150),o=n(7537).f,i=n(2385),a=n(2470),c=n(1604),s=n(3891),u=n(1633);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]||{}).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)}}},4694:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},6398:(e,t,n)=>{var r=n(4694);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8724:(e,t,n)=>{var r=n(6398),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},453:(e,t,n)=>{var r=n(9924),o=n(4678),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}},1092:(e,t,n)=>{var r=n(9668),o=n(1052);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},9668:(e,t,n)=>{var r=n(6398),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)}}},2160:(e,t,n)=>{var r=n(2150),o=n(688),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]}},5383:(e,t,n)=>{var r=n(1052),o=n(5268);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},2150: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")()},4678:(e,t,n)=>{var r=n(9668),o=n(298),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7390:e=>{e.exports={}},8651:(e,t,n)=>{var r=n(2160);e.exports=r("document","documentElement")},7913:(e,t,n)=>{var r=n(9924),o=n(4694),i=n(1442);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4347:(e,t,n)=>{var r=n(9668),o=n(4694),i=n(2177),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},1881:(e,t,n)=>{var r=n(9668),o=n(688),i=n(6762),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},7804:(e,t,n)=>{var r,o,i,a=n(4724),c=n(2150),s=n(5309),u=n(2385),l=n(4678),f=n(6762),p=n(1962),d=n(7390),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}},688:(e,t,n)=>{var r=n(1811),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},1633:(e,t,n)=>{var r=n(4694),o=n(688),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},5268:e=>{e.exports=function(e){return null===e||void 0===e}},5309:(e,t,n)=>{var r=n(688),o=n(1811),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},6555:e=>{e.exports=!1},7935:(e,t,n)=>{var r=n(2160),o=n(688),i=n(6148),a=n(4866),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))}},5848:(e,t,n)=>{var r=n(6070).IteratorPrototype,o=n(8536),i=n(7781),a=n(7495),c=n(8515),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}},8772:(e,t,n)=>{var r=n(5532),o=n(8724),i=n(6555),a=n(453),c=n(688),s=n(5848),u=n(7610),l=n(4584),f=n(7495),p=n(2385),d=n(2470),v=n(2032),m=n(8515),h=n(6070),y=a.PROPER,g=a.CONFIGURABLE,b=h.IteratorPrototype,A=h.BUGGY_SAFARI_ITERATORS,w=v("iterator"),x="keys",T="values",S="entries",O=function(){return this};e.exports=function(e,t,n,a,v,h,C){s(n,t,a);var _,j,E,P=function(e){if(e===v&&I)return I;if(!A&&e&&e in R)return R[e];switch(e){case x:return function(){return new n(this,e)};case T:return function(){return new n(this,e)};case S:return function(){return new n(this,e)}}return function(){return new n(this)}},D=t+" Iterator",k=!1,R=e.prototype,L=R[w]||R["@@iterator"]||v&&R[v],I=!A&&L||P(v),M="Array"===t&&R.entries||L;if(M&&(_=u(M.call(new e)),_!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):c(_[w])||d(_,w,O)),f(_,D,!0,!0),i&&(m[D]=O))),y&&v===T&&L&&L.name!==T&&(!i&&g?p(R,"name",T):(k=!0,I=function(){return o(L,this)})),v)if(j={values:P(T),keys:h?I:P(x),entries:P(S)},C)for(E in j)(A||k||!(E in R))&&d(R,E,j[E]);else r({target:t,proto:!0,forced:A||k},j);return i&&!C||R[w]===I||d(R,w,I,{name:v}),m[t]=I,j}},6070:(e,t,n)=>{var r,o,i,a=n(4694),c=n(688),s=n(5309),u=n(8536),l=n(7610),f=n(2470),p=n(2032),d=n(6555),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}},8515:e=>{e.exports={}},8344:(e,t,n)=>{var r=n(7331);e.exports=function(e){return r(e.length)}},1135:(e,t,n)=>{var r=n(9668),o=n(4694),i=n(688),a=n(4678),c=n(9924),s=n(453).CONFIGURABLE,u=n(1881),l=n(7804),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")},1787:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},8536:(e,t,n)=>{var r,o=n(9175),i=n(227),a=n(2367),c=n(7390),s=n(8651),u=n(1442),l=n(1962),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)}},227:(e,t,n)=>{var r=n(9924),o=n(2666),i=n(2131),a=n(9175),c=n(6854),s=n(1728);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}},2131:(e,t,n)=>{var r=n(9924),o=n(7913),i=n(2666),a=n(9175),c=n(2358),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}},7537:(e,t,n)=>{var r=n(9924),o=n(8724),i=n(8208),a=n(7781),c=n(6854),s=n(2358),u=n(4678),l=n(7913),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])}},6217:(e,t,n)=>{var r=n(1528),o=n(2367),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},5168:(e,t)=>{t.f=Object.getOwnPropertySymbols},7610:(e,t,n)=>{var r=n(4678),o=n(688),i=n(298),a=n(1962),c=n(8440),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}},6148:(e,t,n)=>{var r=n(9668);e.exports=r({}.isPrototypeOf)},1528:(e,t,n)=>{var r=n(9668),o=n(4678),i=n(6854),a=n(1138).indexOf,c=n(7390),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}},1728:(e,t,n)=>{var r=n(1528),o=n(2367);e.exports=Object.keys||function(e){return r(e,o)}},8208:(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},4584:(e,t,n)=>{var r=n(1092),o=n(9175),i=n(9568);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(a){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},110:(e,t,n)=>{var r=n(8724),o=n(688),i=n(5309),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")}},990:(e,t,n)=>{var r=n(2160),o=n(9668),i=n(6217),a=n(5168),c=n(9175),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}},1166:(e,t,n)=>{var r=n(5268),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},7495:(e,t,n)=>{var r=n(2131).f,o=n(4678),i=n(2032),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})}},1962:(e,t,n)=>{var r=n(2645),o=n(5736),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},6762:(e,t,n)=>{var r=n(2150),o=n(1604),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2645:(e,t,n)=>{var r=n(6555),o=n(6762);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4112:(e,t,n)=>{var r=n(7067),o=n(4694),i=n(2150),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}))},7352:(e,t,n)=>{var r=n(1680),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)}},6854:(e,t,n)=>{var r=n(4347),o=n(1166);e.exports=function(e){return r(o(e))}},1680:(e,t,n)=>{var r=n(1787);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7331:(e,t,n)=>{var r=n(1680),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},298:(e,t,n)=>{var r=n(1166),o=Object;e.exports=function(e){return o(r(e))}},1272:(e,t,n)=>{var r=n(8724),o=n(5309),i=n(7935),a=n(5383),c=n(110),s=n(2032),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)}},2358:(e,t,n)=>{var r=n(1272),o=n(7935);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3397:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},5736:(e,t,n)=>{var r=n(9668),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},4866:(e,t,n)=>{var r=n(4112);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2666:(e,t,n)=>{var r=n(9924),o=n(4694);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4724:(e,t,n)=>{var r=n(2150),o=n(688),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},2032:(e,t,n)=>{var r=n(2150),o=n(2645),i=n(4678),a=n(5736),c=n(4112),s=n(4866),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]}},1211:(e,t,n)=>{var r=n(6854),o=n(586),i=n(8515),a=n(7804),c=n(2131).f,s=n(8772),u=n(9374),l=n(6555),f=n(9924),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){}},309:(e,t,n)=>{var r=n(2150),o=n(7587),i=n(26),a=n(1211),c=n(2385),s=n(7495),u=n(2032),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(309);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})())); \ No newline at end of file