MCPcopy Create free account
hub / github.com/alignoth/alignoth / nr

Function nr

resources/vega.min.js:2057–2072  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

2055 [`${Vn}-${Xn}`]: "%H:%M",
2056 };
2057 function nr(t, e) {
2058 const n = ot({}, er, e),
2059 r = tr(t),
2060 i = r.length;
2061 let o,
2062 a,
2063 s = "",
2064 u = 0;
2065 for (u = 0; u < i; )
2066 for (o = r.length; o > u; --o)
2067 if (((a = r.slice(u, o).join("-")), null != n[a])) {
2068 ((s += n[a]), (u = o));
2069 break;
2070 }
2071 return s.trim();
2072 }
2073 const rr = new Date();
2074 function ir(t) {
2075 return (

Callers

nothing calls this directly

Calls 2

otFunction · 0.70
trFunction · 0.70

Tested by

no test coverage detected