网站地址
tu-customize-frontId 参数生成
function s(e, t) {
for (var n = [], r = 0; r < 256; ++r)
n[r] = (r + 256).toString(16).substr(1);
var r = t || 0
, i = n;
return [i[e[r++]], i[e[r++]], i[e[r++]], i[e[r++]], "-", i[e[r++]], i[e[r++]], "-", i[e[r++]], i[e[r++]], "-", i[e[r++]], i[e[r++]], "-", i[e[r++]], i[e[r++]], i[e[r++]], i[e[r++]], i[e[r++]], i[e[r++]]].join("")
}
var r=[135, 244, 117, 93, 34, 236];
function d(e, t, n) {
var l=0,o=0;
var u = t && n || 0
, c = t || []
, d = (e = e || {}).node || r
, f = void 0 !== e.clockseq ? e.clockseq : 3096;
if (null == d || null == f) {
var h = a();
null == d && (d = r = [1 | h[0], h[1], h[2], h[3], h[4], h[5]]),
null == f && (f = i = 16383 & (h[6] << 8 | h[7]))
}
var p = void 0 !== e.msecs ? e.msecs : (new Date).getTime()
, m = void 0 !== e.nsecs ? e.nsecs : l + 1
, v = p - o + (m - l) / 1e4;
if (v < 0 && void 0 === e.clockseq && (f = f + 1 & 16383),
(v < 0 || p > o) && void 0 === e.nsecs && (m = 0),
m >= 1e4)
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
o = p,
l = m,
i = f;
var g = (1e4 * (268435455 & (p += 122192928e5)) + m) % 4294967296;
c[u++] = g >>> 24 & 255,
c[u++] = g >>> 16 & 255,
c[u++] = g >>> 8 & 255,
c[u++] = 255 & g;
var b = p / 4294967296 * 1e4 & 268435455;
c[u++] = b >>> 8 & 255,
c[u++] = 255 & b,
c[u++] = b >>> 24 & 15 | 16,
c[u++] = b >>> 16 & 255,
c[u++] = f >>> 8 | 128,
c[u++] = 255 & f;
for (var y = 0; y < 6; ++y)
c[u + y] = d[y];
return t || s(c)
}
//console.log(d())
本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习使用,请在下载后24小时内删除,严禁商用。若由于商用引起版权纠纷,一切责任均由使用者承担。
【注意:本站发布资源来源于网络搜集,均有较强时效性,请在下载前注意查看文章资源发布或更新时间,距离当前时间太久的资源不建议下载,特别是安卓专区相关资源,会有大概率失效无法使用】
评论(0)