@getontime/cli
Version:
Time keeping for live events
2 lines • 1.64 kB
JavaScript
System.register(["./useSocket-legacy-C772wu7w.js","./constants-legacy-CvecvM28.js"],function(e,t){var n,r,u,o,c,i,s,f;return e({a:function(e){if(e)return e.startsWith("#")?e:`#${e}`},i:function(e){return null!==e&&("true"===e?.toLowerCase()||"1"===e)},n:function(e,t,n){if(e&&"string"==typeof t&&"none"!==t){if("parent"===t){if(!n||!e.parent)return;return n[e.parent]?.title}if(t.startsWith("custom-")){const n=t.split("custom-")[1];return e.custom?.[n]}return e[t]}},r:function(e,t,n,r,u){if(!r)return null;switch(u??t){case o.CountDown:return null===r.current?null:e?Math.max(r.current,0):r.current;case o.CountUp:return r.elapsed;case o.Clock:return n;case o.None:default:return null}},t:function(e,t,a,d){if(null==e||t===o.None)return d.removeSeconds?f:s;if(t===o.Clock)return n(e,{override:d?.clockFormat});let l=e;d.removeSeconds&&l<-1e3&&t!==o.CountUp&&(l-=r);let b=u(l,{direction:t});return d.removeLeadingZero&&(b=c(b)),d.removeSeconds&&(b=function(e,t){return(e=i(e)).length<3?`${e} ${t}`:e}(b,a)),b}}),{setters:[function(e){n=e.$,r=e.Ct,u=e._t,o=e.qt,c=e.vt,e.wt,i=e.yt},function(e){s=e.J,f=e.Y}],execute:function(){!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"f14ad0099eab1969fdd065b56af5fdd3cf530de6"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8fba4265-9621-4e9f-94e6-2836b10cedc3",e._sentryDebugIdIdentifier="sentry-dbid-8fba4265-9621-4e9f-94e6-2836b10cedc3")}catch(e){}}()}}});
//# sourceMappingURL=viewUtils-legacy-djI28uVO.js.map