UNPKG

@getontime/cli

Version:

Time keeping for live events

2 lines 2.25 kB
System.register(["./jsx-runtime-legacy-DMkDNnVj.js","./constants-legacy-CvecvM28.js","./index-legacy-NWDCUII5.js"],function(e,t){var a,r,i,n,l,o,c,d,s;return{setters:[function(e){a=e.a,r=e.n,i=e.t},function(e){n=e.K},function(e){l=e.t}],execute:function(){(o=document.createElement("style")).textContent=".blink{animation:1s step-start infinite blink}@keyframes blink{0%{opacity:1}50%{opacity:.2}}.fourtyfive{transform:rotate(45deg)}.mirror{transform:rotate(180deg)}.title-card{flex-direction:column;display:flex;position:relative}.title-card__title,.title-card__placeholder{font-size:max(18px,min(2.25vw,42px));font-weight:600;line-height:1.2em}.title-card__title{color:var(--color-override,rgba(255,255,255,.8));min-height:1.2em;padding-right:1em}.title-card__placeholder{color:var(--label-color-override,rgba(255,255,255,.25))}.title-card__secondary{color:var(--secondary-color-override,rgba(255,255,255,.45));font-size:max(15px,min(1.5vw,28px));line-height:1.2em}.title-card__label{color:var(--secondary-color-override,rgba(255,255,255,.45));text-transform:uppercase;font-size:max(12px,min(1.25vw,20px));position:absolute;top:.5rem;right:1rem}.title-card__label--accent{color:var(--accent-color-override,#fa5656)}\n/*$vite$:1*/",document.head.appendChild(o),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]="600b4992-cc6b-4d67-8caa-2f934fc7ff7a",e._sentryDebugIdIdentifier="sentry-dbid-600b4992-cc6b-4d67-8caa-2f934fc7ff7a")}catch(e){}}(),c=a(r(),1),d=i(),e("t",s=(0,c.forwardRef)((e,t)=>{const{label:a,title:r,secondary:i,className:o=""}=e,{getLocalizedString:c}=l(),s="now"===a;return(0,d.jsxs)("div",{className:n(["title-card",o]),ref:t,children:[(0,d.jsx)("span",{className:"title-card__title",children:r}),(0,d.jsx)("span",{className:n(["title-card__label",s&&"title-card__label--accent"]),children:a&&c(`common.${a}`)}),(0,d.jsx)("div",{className:"title-card__secondary",children:i})]})})),s.displayName="TitleCard"}}}); //# sourceMappingURL=TitleCard-legacy-BSpAiMWv.js.map