UNPKG

@getontime/cli

Version:

Time keeping for live events

2 lines 1.78 kB
System.register(["./constants-legacy-CvecvM28.js"],function(e,t){var r,n,a,o,s,i;function d(e){return e.startsWith("_")?function(e){const t=e.replace(/[a-zA-Z0-9]/g,e=>/[a-zA-Z]/.test(e)?String.fromCharCode((e<="Z"?90:122)>=(e=e.charCodeAt(0)+13)?e:e-26):String.fromCharCode((e<="4"?57:48)>=(e=e.charCodeAt(0)+5)?e:e-10));return e.startsWith("_")?t.replace("_",""):`_${t}`}(e):e}return e({a:async function(e){r.post(`${s}/welcomedialog`,{show:e})},i:async function(e){return r.post(s,e)},n:async function(e){return(await r.get(`${s}/serverport`,{signal:e?.signal})).data},o:function(e){return e instanceof Error?e.message:String(e)},r:async function(e){return r.post(`${s}/serverport`,{serverPort:e})},t:function(){const{data:e,status:t,isFetching:n,isError:c,refetch:u}=o({queryKey:a,queryFn:({signal:e})=>async function(e){return(await r.get(s,{signal:e?.signal})).data}({signal:e}),placeholderData:(e,t)=>e,select:e=>{const t={...e};return e.editorKey&&(t.editorKey=d(e.editorKey)),e.operatorKey&&(t.operatorKey=d(e.operatorKey)),t}});return{data:e??i,status:t,isFetching:n,isError:c,refetch:u}}}),{setters:[function(e){r=e._n,n=e.b,a=e.r,o=e.vn}],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]="a0e0619e-1dad-45d4-adb2-64186a701bf8",e._sentryDebugIdIdentifier="sentry-dbid-a0e0619e-1dad-45d4-adb2-64186a701bf8")}catch(e){}}(),s=`${n}/settings`,i={version:"4.0.0",editorKey:null,operatorKey:null,timeFormat:"24",language:"en"}}}}); //# sourceMappingURL=useSettings-legacy-CmEM1qbK.js.map