@wrdagency/blockout 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/2NBKRL7C-DnAMmXv4.js +81 -0
  2. package/dist/CaretDown.es-eySGHzTJ.js +32 -0
  3. package/dist/CaretUp.es-Cy8czlHG.js +32 -0
  4. package/dist/P7GR5CS5-BryEvRCz.js +621 -0
  5. package/dist/SSRBase.es-BUXS72ra.js +33 -0
  6. package/dist/T7VMP3TM--1s529fr.js +3544 -0
  7. package/dist/UQQRIHDV-Bfi_RJby.js +1046 -0
  8. package/dist/VIIRIBF3-XWA2y8Hu.js +21 -0
  9. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  10. package/dist/assets/index.css +1 -0
  11. package/dist/assets/index10.css +1 -0
  12. package/dist/assets/index11.css +1 -0
  13. package/dist/assets/index2.css +1 -0
  14. package/dist/assets/index3.css +1 -0
  15. package/dist/assets/index4.css +1 -0
  16. package/dist/assets/index5.css +1 -0
  17. package/dist/assets/index6.css +1 -0
  18. package/dist/assets/index7.css +1 -0
  19. package/dist/assets/index8.css +1 -0
  20. package/dist/assets/index9.css +1 -0
  21. package/dist/components/button/index.d.ts +9 -0
  22. package/dist/components/button/index.js +28 -0
  23. package/dist/components/button-group/index.d.ts +6 -0
  24. package/dist/components/button-group/index.js +6 -0
  25. package/dist/components/controls/base-control/index.d.ts +3 -0
  26. package/dist/components/controls/base-control/index.js +26 -0
  27. package/dist/components/controls/base-control/props.d.ts +23 -0
  28. package/dist/components/controls/base-control/props.js +21 -0
  29. package/dist/components/controls/index.d.ts +6 -0
  30. package/dist/components/controls/index.js +14 -0
  31. package/dist/components/controls/number-control/index.d.ts +6 -0
  32. package/dist/components/controls/number-control/index.js +52 -0
  33. package/dist/components/controls/select-control/index.d.ts +9 -0
  34. package/dist/components/controls/select-control/index.js +591 -0
  35. package/dist/components/controls/select-control/options.d.ts +11 -0
  36. package/dist/components/controls/select-control/options.js +12 -0
  37. package/dist/components/controls/text-control/index.d.ts +6 -0
  38. package/dist/components/controls/text-control/index.js +12 -0
  39. package/dist/components/controls/textarea-control/index.d.ts +6 -0
  40. package/dist/components/controls/textarea-control/index.js +18 -0
  41. package/dist/components/controls/toggle-control/index.d.ts +8 -0
  42. package/dist/components/controls/toggle-control/index.js +46 -0
  43. package/dist/components/data-table/column.d.ts +4 -0
  44. package/dist/components/data-table/column.js +874 -0
  45. package/dist/components/data-table/context.d.ts +7 -0
  46. package/dist/components/data-table/context.js +36 -0
  47. package/dist/components/data-table/example.d.ts +1 -0
  48. package/dist/components/data-table/example.js +5 -0
  49. package/dist/components/data-table/footer.d.ts +2 -0
  50. package/dist/components/data-table/footer.js +23 -0
  51. package/dist/components/data-table/header.d.ts +7 -0
  52. package/dist/components/data-table/header.js +408 -0
  53. package/dist/components/data-table/index.d.ts +10 -0
  54. package/dist/components/data-table/index.js +86 -0
  55. package/dist/components/data-table/types.d.ts +75 -0
  56. package/dist/components/data-table/types.js +1 -0
  57. package/dist/components/index.d.ts +5 -0
  58. package/dist/components/index.js +23 -0
  59. package/dist/components/menu/icon.d.ts +4 -0
  60. package/dist/components/menu/icon.js +6 -0
  61. package/dist/components/menu/index.d.ts +8 -0
  62. package/dist/components/menu/index.js +131 -0
  63. package/dist/components/menu/item.d.ts +7 -0
  64. package/dist/components/menu/item.js +8 -0
  65. package/dist/components/menu/items/action.d.ts +7 -0
  66. package/dist/components/menu/items/action.js +23 -0
  67. package/dist/components/menu/items/spacer.d.ts +2 -0
  68. package/dist/components/menu/items/spacer.js +46 -0
  69. package/dist/components/menu/items/submenu.d.ts +7 -0
  70. package/dist/components/menu/items/submenu.js +7 -0
  71. package/dist/components/menu/items/toggle.d.ts +7 -0
  72. package/dist/components/menu/items/toggle.js +109 -0
  73. package/dist/components/menu/types.d.ts +28 -0
  74. package/dist/components/menu/types.js +1 -0
  75. package/dist/components/visually-hidden/index.d.ts +2 -0
  76. package/dist/components/visually-hidden/index.js +5 -0
  77. package/dist/index.d.ts +2 -0
  78. package/dist/index.js +25 -0
  79. package/dist/item-CPVd5mKo.js +758 -0
  80. package/dist/primitives/draggable/index.d.ts +17 -0
  81. package/dist/primitives/draggable/index.js +52 -0
  82. package/dist/primitives/index.d.ts +1 -0
  83. package/dist/primitives/index.js +4 -0
  84. package/dist/primitives/resizable/index.d.ts +7 -0
  85. package/dist/primitives/resizable/index.js +76 -0
  86. package/dist/types/component.d.ts +4 -0
  87. package/dist/types/component.js +1 -0
  88. package/dist/types/math.d.ts +10 -0
  89. package/dist/types/math.js +1 -0
  90. package/dist/utils/css.d.ts +1 -0
  91. package/dist/utils/css.js +6 -0
  92. package/dist/utils/noop.d.ts +1 -0
  93. package/dist/utils/noop.js +5 -0
  94. package/package.json +61 -0
  95. package/readme.md +3 -0
@@ -0,0 +1,874 @@
1
+ import { g as lr } from "../../_commonjsHelpers-C6fGbg64.js";
2
+ function tr(T) {
3
+ throw new Error('Could not dynamically require "' + T + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
+ }
5
+ var or = { exports: {} }, cr;
6
+ function dr() {
7
+ return cr || (cr = 1, function(T, J) {
8
+ (function(_) {
9
+ T.exports = _();
10
+ })(function() {
11
+ return function _(U, S, L) {
12
+ function k(C, O) {
13
+ if (!S[C]) {
14
+ if (!U[C]) {
15
+ var z = typeof tr == "function" && tr;
16
+ if (!O && z) return z(C, !0);
17
+ if (M) return M(C, !0);
18
+ throw new Error("Cannot find module '" + C + "'");
19
+ }
20
+ O = S[C] = { exports: {} }, U[C][0].call(O.exports, function(q) {
21
+ var H = U[C][1][q];
22
+ return k(H || q);
23
+ }, O, O.exports, _, U, S, L);
24
+ }
25
+ return S[C].exports;
26
+ }
27
+ for (var M = typeof tr == "function" && tr, V = 0; V < L.length; V++) k(L[V]);
28
+ return k;
29
+ }({ 1: [function(_, U, S) {
30
+ (function(L, k, M, V, C, O, z, q, H) {
31
+ var p = _("crypto");
32
+ function E(s, c) {
33
+ c = b(s, c);
34
+ var n;
35
+ return (n = c.algorithm !== "passthrough" ? p.createHash(c.algorithm) : new I()).write === void 0 && (n.write = n.update, n.end = n.update), h(c, n).dispatch(s), n.update || n.end(""), n.digest ? n.digest(c.encoding === "buffer" ? void 0 : c.encoding) : (s = n.read(), c.encoding !== "buffer" ? s.toString(c.encoding) : s);
36
+ }
37
+ (S = U.exports = E).sha1 = function(s) {
38
+ return E(s);
39
+ }, S.keys = function(s) {
40
+ return E(s, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
41
+ }, S.MD5 = function(s) {
42
+ return E(s, { algorithm: "md5", encoding: "hex" });
43
+ }, S.keysMD5 = function(s) {
44
+ return E(s, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
45
+ };
46
+ var f = p.getHashes ? p.getHashes().slice() : ["sha1", "md5"], g = (f.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
47
+ function b(s, c) {
48
+ var n = {};
49
+ if (n.algorithm = (c = c || {}).algorithm || "sha1", n.encoding = c.encoding || "hex", n.excludeValues = !!c.excludeValues, n.algorithm = n.algorithm.toLowerCase(), n.encoding = n.encoding.toLowerCase(), n.ignoreUnknown = c.ignoreUnknown === !0, n.respectType = c.respectType !== !1, n.respectFunctionNames = c.respectFunctionNames !== !1, n.respectFunctionProperties = c.respectFunctionProperties !== !1, n.unorderedArrays = c.unorderedArrays === !0, n.unorderedSets = c.unorderedSets !== !1, n.unorderedObjects = c.unorderedObjects !== !1, n.replacer = c.replacer || void 0, n.excludeKeys = c.excludeKeys || void 0, s === void 0) throw new Error("Object argument required.");
50
+ for (var o = 0; o < f.length; ++o) f[o].toLowerCase() === n.algorithm.toLowerCase() && (n.algorithm = f[o]);
51
+ if (f.indexOf(n.algorithm) === -1) throw new Error('Algorithm "' + n.algorithm + '" not supported. supported values: ' + f.join(", "));
52
+ if (g.indexOf(n.encoding) === -1 && n.algorithm !== "passthrough") throw new Error('Encoding "' + n.encoding + '" not supported. supported values: ' + g.join(", "));
53
+ return n;
54
+ }
55
+ function y(s) {
56
+ if (typeof s == "function") return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(s)) != null;
57
+ }
58
+ function h(s, c, n) {
59
+ n = n || [];
60
+ function o(t) {
61
+ return c.update ? c.update(t, "utf8") : c.write(t, "utf8");
62
+ }
63
+ return { dispatch: function(t) {
64
+ return this["_" + ((t = s.replacer ? s.replacer(t) : t) === null ? "null" : typeof t)](t);
65
+ }, _object: function(t) {
66
+ var u, a = Object.prototype.toString.call(t), B = /\[object (.*)\]/i.exec(a);
67
+ if (B = (B = B ? B[1] : "unknown:[" + a + "]").toLowerCase(), 0 <= (a = n.indexOf(t))) return this.dispatch("[CIRCULAR:" + a + "]");
68
+ if (n.push(t), M !== void 0 && M.isBuffer && M.isBuffer(t)) return o("buffer:"), o(t);
69
+ if (B === "object" || B === "function" || B === "asyncfunction") return a = Object.keys(t), s.unorderedObjects && (a = a.sort()), s.respectType === !1 || y(t) || a.splice(0, 0, "prototype", "__proto__", "constructor"), s.excludeKeys && (a = a.filter(function(A) {
70
+ return !s.excludeKeys(A);
71
+ })), o("object:" + a.length + ":"), u = this, a.forEach(function(A) {
72
+ u.dispatch(A), o(":"), s.excludeValues || u.dispatch(t[A]), o(",");
73
+ });
74
+ if (!this["_" + B]) {
75
+ if (s.ignoreUnknown) return o("[" + B + "]");
76
+ throw new Error('Unknown object type "' + B + '"');
77
+ }
78
+ this["_" + B](t);
79
+ }, _array: function(t, A) {
80
+ A = A !== void 0 ? A : s.unorderedArrays !== !1;
81
+ var a = this;
82
+ if (o("array:" + t.length + ":"), !A || t.length <= 1) return t.forEach(function(x) {
83
+ return a.dispatch(x);
84
+ });
85
+ var B = [], A = t.map(function(x) {
86
+ var v = new I(), N = n.slice();
87
+ return h(s, v, N).dispatch(x), B = B.concat(N.slice(n.length)), v.read().toString();
88
+ });
89
+ return n = n.concat(B), A.sort(), this._array(A, !1);
90
+ }, _date: function(t) {
91
+ return o("date:" + t.toJSON());
92
+ }, _symbol: function(t) {
93
+ return o("symbol:" + t.toString());
94
+ }, _error: function(t) {
95
+ return o("error:" + t.toString());
96
+ }, _boolean: function(t) {
97
+ return o("bool:" + t.toString());
98
+ }, _string: function(t) {
99
+ o("string:" + t.length + ":"), o(t.toString());
100
+ }, _function: function(t) {
101
+ o("fn:"), y(t) ? this.dispatch("[native]") : this.dispatch(t.toString()), s.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(t.name)), s.respectFunctionProperties && this._object(t);
102
+ }, _number: function(t) {
103
+ return o("number:" + t.toString());
104
+ }, _xml: function(t) {
105
+ return o("xml:" + t.toString());
106
+ }, _null: function() {
107
+ return o("Null");
108
+ }, _undefined: function() {
109
+ return o("Undefined");
110
+ }, _regexp: function(t) {
111
+ return o("regex:" + t.toString());
112
+ }, _uint8array: function(t) {
113
+ return o("uint8array:"), this.dispatch(Array.prototype.slice.call(t));
114
+ }, _uint8clampedarray: function(t) {
115
+ return o("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(t));
116
+ }, _int8array: function(t) {
117
+ return o("int8array:"), this.dispatch(Array.prototype.slice.call(t));
118
+ }, _uint16array: function(t) {
119
+ return o("uint16array:"), this.dispatch(Array.prototype.slice.call(t));
120
+ }, _int16array: function(t) {
121
+ return o("int16array:"), this.dispatch(Array.prototype.slice.call(t));
122
+ }, _uint32array: function(t) {
123
+ return o("uint32array:"), this.dispatch(Array.prototype.slice.call(t));
124
+ }, _int32array: function(t) {
125
+ return o("int32array:"), this.dispatch(Array.prototype.slice.call(t));
126
+ }, _float32array: function(t) {
127
+ return o("float32array:"), this.dispatch(Array.prototype.slice.call(t));
128
+ }, _float64array: function(t) {
129
+ return o("float64array:"), this.dispatch(Array.prototype.slice.call(t));
130
+ }, _arraybuffer: function(t) {
131
+ return o("arraybuffer:"), this.dispatch(new Uint8Array(t));
132
+ }, _url: function(t) {
133
+ return o("url:" + t.toString());
134
+ }, _map: function(t) {
135
+ return o("map:"), t = Array.from(t), this._array(t, s.unorderedSets !== !1);
136
+ }, _set: function(t) {
137
+ return o("set:"), t = Array.from(t), this._array(t, s.unorderedSets !== !1);
138
+ }, _file: function(t) {
139
+ return o("file:"), this.dispatch([t.name, t.size, t.type, t.lastModfied]);
140
+ }, _blob: function() {
141
+ if (s.ignoreUnknown) return o("[blob]");
142
+ throw Error(`Hashing Blob objects is currently not supported
143
+ (see https://github.com/puleos/object-hash/issues/26)
144
+ Use "options.replacer" or "options.ignoreUnknown"
145
+ `);
146
+ }, _domwindow: function() {
147
+ return o("domwindow");
148
+ }, _bigint: function(t) {
149
+ return o("bigint:" + t.toString());
150
+ }, _process: function() {
151
+ return o("process");
152
+ }, _timer: function() {
153
+ return o("timer");
154
+ }, _pipe: function() {
155
+ return o("pipe");
156
+ }, _tcp: function() {
157
+ return o("tcp");
158
+ }, _udp: function() {
159
+ return o("udp");
160
+ }, _tty: function() {
161
+ return o("tty");
162
+ }, _statwatcher: function() {
163
+ return o("statwatcher");
164
+ }, _securecontext: function() {
165
+ return o("securecontext");
166
+ }, _connection: function() {
167
+ return o("connection");
168
+ }, _zlib: function() {
169
+ return o("zlib");
170
+ }, _context: function() {
171
+ return o("context");
172
+ }, _nodescript: function() {
173
+ return o("nodescript");
174
+ }, _httpparser: function() {
175
+ return o("httpparser");
176
+ }, _dataview: function() {
177
+ return o("dataview");
178
+ }, _signal: function() {
179
+ return o("signal");
180
+ }, _fsevent: function() {
181
+ return o("fsevent");
182
+ }, _tlswrap: function() {
183
+ return o("tlswrap");
184
+ } };
185
+ }
186
+ function I() {
187
+ return { buf: "", write: function(s) {
188
+ this.buf += s;
189
+ }, end: function(s) {
190
+ this.buf += s;
191
+ }, read: function() {
192
+ return this.buf;
193
+ } };
194
+ }
195
+ S.writeToStream = function(s, c, n) {
196
+ return n === void 0 && (n = c, c = {}), h(c = b(s, c), n).dispatch(s);
197
+ };
198
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
199
+ }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(_, U, S) {
200
+ (function(L, k, M, V, C, O, z, q, H) {
201
+ (function(p) {
202
+ var E = typeof Uint8Array < "u" ? Uint8Array : Array, f = 43, g = 47, b = 48, y = 97, h = 65, I = 45, s = 95;
203
+ function c(n) {
204
+ return n = n.charCodeAt(0), n === f || n === I ? 62 : n === g || n === s ? 63 : n < b ? -1 : n < b + 10 ? n - b + 26 + 26 : n < h + 26 ? n - h : n < y + 26 ? n - y + 26 : void 0;
205
+ }
206
+ p.toByteArray = function(n) {
207
+ var o, t;
208
+ if (0 < n.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
209
+ var u = n.length, u = n.charAt(u - 2) === "=" ? 2 : n.charAt(u - 1) === "=" ? 1 : 0, a = new E(3 * n.length / 4 - u), B = 0 < u ? n.length - 4 : n.length, A = 0;
210
+ function x(v) {
211
+ a[A++] = v;
212
+ }
213
+ for (o = 0; o < B; o += 4, 0) x((16711680 & (t = c(n.charAt(o)) << 18 | c(n.charAt(o + 1)) << 12 | c(n.charAt(o + 2)) << 6 | c(n.charAt(o + 3)))) >> 16), x((65280 & t) >> 8), x(255 & t);
214
+ return u == 2 ? x(255 & (t = c(n.charAt(o)) << 2 | c(n.charAt(o + 1)) >> 4)) : u == 1 && (x((t = c(n.charAt(o)) << 10 | c(n.charAt(o + 1)) << 4 | c(n.charAt(o + 2)) >> 2) >> 8 & 255), x(255 & t)), a;
215
+ }, p.fromByteArray = function(n) {
216
+ var o, t, u, a, B = n.length % 3, A = "";
217
+ function x(v) {
218
+ return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(v);
219
+ }
220
+ for (o = 0, u = n.length - B; o < u; o += 3) t = (n[o] << 16) + (n[o + 1] << 8) + n[o + 2], A += x((a = t) >> 18 & 63) + x(a >> 12 & 63) + x(a >> 6 & 63) + x(63 & a);
221
+ switch (B) {
222
+ case 1:
223
+ A = (A += x((t = n[n.length - 1]) >> 2)) + x(t << 4 & 63) + "==";
224
+ break;
225
+ case 2:
226
+ A = (A = (A += x((t = (n[n.length - 2] << 8) + n[n.length - 1]) >> 10)) + x(t >> 4 & 63)) + x(t << 2 & 63) + "=";
227
+ }
228
+ return A;
229
+ };
230
+ })(S === void 0 ? this.base64js = {} : S);
231
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
232
+ }, { buffer: 3, lYpoI2: 11 }], 3: [function(_, U, S) {
233
+ (function(L, k, f, V, C, O, z, q, H) {
234
+ var p = _("base64-js"), E = _("ieee754");
235
+ function f(r, e, i) {
236
+ if (!(this instanceof f)) return new f(r, e, i);
237
+ var d, l, m, j, Y = typeof r;
238
+ if (e === "base64" && Y == "string") for (r = (j = r).trim ? j.trim() : j.replace(/^\s+|\s+$/g, ""); r.length % 4 != 0; ) r += "=";
239
+ if (Y == "number") d = W(r);
240
+ else if (Y == "string") d = f.byteLength(r, e);
241
+ else {
242
+ if (Y != "object") throw new Error("First argument needs to be a number, array or string.");
243
+ d = W(r.length);
244
+ }
245
+ if (f._useTypedArrays ? l = f._augment(new Uint8Array(d)) : ((l = this).length = d, l._isBuffer = !0), f._useTypedArrays && typeof r.byteLength == "number") l._set(r);
246
+ else if (F(j = r) || f.isBuffer(j) || j && typeof j == "object" && typeof j.length == "number") for (m = 0; m < d; m++) f.isBuffer(r) ? l[m] = r.readUInt8(m) : l[m] = r[m];
247
+ else if (Y == "string") l.write(r, 0, e);
248
+ else if (Y == "number" && !f._useTypedArrays && !i) for (m = 0; m < d; m++) l[m] = 0;
249
+ return l;
250
+ }
251
+ function g(r, e, i, d) {
252
+ return f._charsWritten = rr(function(l) {
253
+ for (var m = [], j = 0; j < l.length; j++) m.push(255 & l.charCodeAt(j));
254
+ return m;
255
+ }(e), r, i, d);
256
+ }
257
+ function b(r, e, i, d) {
258
+ return f._charsWritten = rr(function(l) {
259
+ for (var m, j, Y = [], R = 0; R < l.length; R++) j = l.charCodeAt(R), m = j >> 8, j = j % 256, Y.push(j), Y.push(m);
260
+ return Y;
261
+ }(e), r, i, d);
262
+ }
263
+ function y(r, e, i) {
264
+ var d = "";
265
+ i = Math.min(r.length, i);
266
+ for (var l = e; l < i; l++) d += String.fromCharCode(r[l]);
267
+ return d;
268
+ }
269
+ function h(r, e, i, m) {
270
+ m || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 1 < r.length, "Trying to read beyond buffer length"));
271
+ var l, m = r.length;
272
+ if (!(m <= e)) return i ? (l = r[e], e + 1 < m && (l |= r[e + 1] << 8)) : (l = r[e] << 8, e + 1 < m && (l |= r[e + 1])), l;
273
+ }
274
+ function I(r, e, i, m) {
275
+ m || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 3 < r.length, "Trying to read beyond buffer length"));
276
+ var l, m = r.length;
277
+ if (!(m <= e)) return i ? (e + 2 < m && (l = r[e + 2] << 16), e + 1 < m && (l |= r[e + 1] << 8), l |= r[e], e + 3 < m && (l += r[e + 3] << 24 >>> 0)) : (e + 1 < m && (l = r[e + 1] << 16), e + 2 < m && (l |= r[e + 2] << 8), e + 3 < m && (l |= r[e + 3]), l += r[e] << 24 >>> 0), l;
278
+ }
279
+ function s(r, e, i, d) {
280
+ if (d || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 1 < r.length, "Trying to read beyond buffer length")), !(r.length <= e)) return d = h(r, e, i, !0), 32768 & d ? -1 * (65535 - d + 1) : d;
281
+ }
282
+ function c(r, e, i, d) {
283
+ if (d || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 3 < r.length, "Trying to read beyond buffer length")), !(r.length <= e)) return d = I(r, e, i, !0), 2147483648 & d ? -1 * (4294967295 - d + 1) : d;
284
+ }
285
+ function n(r, e, i, d) {
286
+ return d || (w(typeof i == "boolean", "missing or invalid endian"), w(e + 3 < r.length, "Trying to read beyond buffer length")), E.read(r, e, i, 23, 4);
287
+ }
288
+ function o(r, e, i, d) {
289
+ return d || (w(typeof i == "boolean", "missing or invalid endian"), w(e + 7 < r.length, "Trying to read beyond buffer length")), E.read(r, e, i, 52, 8);
290
+ }
291
+ function t(r, e, i, d, l) {
292
+ if (l || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 1 < r.length, "trying to write beyond buffer length"), nr(e, 65535)), l = r.length, !(l <= i)) for (var m = 0, j = Math.min(l - i, 2); m < j; m++) r[i + m] = (e & 255 << 8 * (d ? m : 1 - m)) >>> 8 * (d ? m : 1 - m);
293
+ }
294
+ function u(r, e, i, d, l) {
295
+ if (l || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "trying to write beyond buffer length"), nr(e, 4294967295)), l = r.length, !(l <= i)) for (var m = 0, j = Math.min(l - i, 4); m < j; m++) r[i + m] = e >>> 8 * (d ? m : 3 - m) & 255;
296
+ }
297
+ function a(r, e, i, d, l) {
298
+ l || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 1 < r.length, "Trying to write beyond buffer length"), er(e, 32767, -32768)), r.length <= i || t(r, 0 <= e ? e : 65535 + e + 1, i, d, l);
299
+ }
300
+ function B(r, e, i, d, l) {
301
+ l || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "Trying to write beyond buffer length"), er(e, 2147483647, -2147483648)), r.length <= i || u(r, 0 <= e ? e : 4294967295 + e + 1, i, d, l);
302
+ }
303
+ function A(r, e, i, d, l) {
304
+ l || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "Trying to write beyond buffer length"), ar(e, 34028234663852886e22, -34028234663852886e22)), r.length <= i || E.write(r, e, i, d, 23, 4);
305
+ }
306
+ function x(r, e, i, d, l) {
307
+ l || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 7 < r.length, "Trying to write beyond buffer length"), ar(e, 17976931348623157e292, -17976931348623157e292)), r.length <= i || E.write(r, e, i, d, 52, 8);
308
+ }
309
+ S.Buffer = f, S.SlowBuffer = f, S.INSPECT_MAX_BYTES = 50, f.poolSize = 8192, f._useTypedArrays = function() {
310
+ try {
311
+ var r = new ArrayBuffer(0), e = new Uint8Array(r);
312
+ return e.foo = function() {
313
+ return 42;
314
+ }, e.foo() === 42 && typeof e.subarray == "function";
315
+ } catch {
316
+ return !1;
317
+ }
318
+ }(), f.isEncoding = function(r) {
319
+ switch (String(r).toLowerCase()) {
320
+ case "hex":
321
+ case "utf8":
322
+ case "utf-8":
323
+ case "ascii":
324
+ case "binary":
325
+ case "base64":
326
+ case "raw":
327
+ case "ucs2":
328
+ case "ucs-2":
329
+ case "utf16le":
330
+ case "utf-16le":
331
+ return !0;
332
+ default:
333
+ return !1;
334
+ }
335
+ }, f.isBuffer = function(r) {
336
+ return !(r == null || !r._isBuffer);
337
+ }, f.byteLength = function(r, e) {
338
+ var i;
339
+ switch (r += "", e || "utf8") {
340
+ case "hex":
341
+ i = r.length / 2;
342
+ break;
343
+ case "utf8":
344
+ case "utf-8":
345
+ i = Q(r).length;
346
+ break;
347
+ case "ascii":
348
+ case "binary":
349
+ case "raw":
350
+ i = r.length;
351
+ break;
352
+ case "base64":
353
+ i = sr(r).length;
354
+ break;
355
+ case "ucs2":
356
+ case "ucs-2":
357
+ case "utf16le":
358
+ case "utf-16le":
359
+ i = 2 * r.length;
360
+ break;
361
+ default:
362
+ throw new Error("Unknown encoding");
363
+ }
364
+ return i;
365
+ }, f.concat = function(r, e) {
366
+ if (w(F(r), `Usage: Buffer.concat(list, [totalLength])
367
+ list should be an Array.`), r.length === 0) return new f(0);
368
+ if (r.length === 1) return r[0];
369
+ if (typeof e != "number") for (l = e = 0; l < r.length; l++) e += r[l].length;
370
+ for (var i = new f(e), d = 0, l = 0; l < r.length; l++) {
371
+ var m = r[l];
372
+ m.copy(i, d), d += m.length;
373
+ }
374
+ return i;
375
+ }, f.prototype.write = function(r, e, i, d) {
376
+ isFinite(e) ? isFinite(i) || (d = i, i = void 0) : (R = d, d = e, e = i, i = R), e = Number(e) || 0;
377
+ var l, m, j, Y, R = this.length - e;
378
+ switch ((!i || R < (i = Number(i))) && (i = R), d = String(d || "utf8").toLowerCase()) {
379
+ case "hex":
380
+ l = function(G, X, $, P) {
381
+ $ = Number($) || 0;
382
+ var K = G.length - $;
383
+ (!P || K < (P = Number(P))) && (P = K), w((K = X.length) % 2 == 0, "Invalid hex string"), K / 2 < P && (P = K / 2);
384
+ for (var Z = 0; Z < P; Z++) {
385
+ var fr = parseInt(X.substr(2 * Z, 2), 16);
386
+ w(!isNaN(fr), "Invalid hex string"), G[$ + Z] = fr;
387
+ }
388
+ return f._charsWritten = 2 * Z, Z;
389
+ }(this, r, e, i);
390
+ break;
391
+ case "utf8":
392
+ case "utf-8":
393
+ m = this, j = e, Y = i, l = f._charsWritten = rr(Q(r), m, j, Y);
394
+ break;
395
+ case "ascii":
396
+ case "binary":
397
+ l = g(this, r, e, i);
398
+ break;
399
+ case "base64":
400
+ m = this, j = e, Y = i, l = f._charsWritten = rr(sr(r), m, j, Y);
401
+ break;
402
+ case "ucs2":
403
+ case "ucs-2":
404
+ case "utf16le":
405
+ case "utf-16le":
406
+ l = b(this, r, e, i);
407
+ break;
408
+ default:
409
+ throw new Error("Unknown encoding");
410
+ }
411
+ return l;
412
+ }, f.prototype.toString = function(r, e, i) {
413
+ var d, l, m, j, Y = this;
414
+ if (r = String(r || "utf8").toLowerCase(), e = Number(e) || 0, (i = i !== void 0 ? Number(i) : Y.length) === e) return "";
415
+ switch (r) {
416
+ case "hex":
417
+ d = function(R, G, X) {
418
+ var $ = R.length;
419
+ (!G || G < 0) && (G = 0), (!X || X < 0 || $ < X) && (X = $);
420
+ for (var P = "", K = G; K < X; K++) P += D(R[K]);
421
+ return P;
422
+ }(Y, e, i);
423
+ break;
424
+ case "utf8":
425
+ case "utf-8":
426
+ d = function(R, G, X) {
427
+ var $ = "", P = "";
428
+ X = Math.min(R.length, X);
429
+ for (var K = G; K < X; K++) R[K] <= 127 ? ($ += ur(P) + String.fromCharCode(R[K]), P = "") : P += "%" + R[K].toString(16);
430
+ return $ + ur(P);
431
+ }(Y, e, i);
432
+ break;
433
+ case "ascii":
434
+ case "binary":
435
+ d = y(Y, e, i);
436
+ break;
437
+ case "base64":
438
+ l = Y, j = i, d = (m = e) === 0 && j === l.length ? p.fromByteArray(l) : p.fromByteArray(l.slice(m, j));
439
+ break;
440
+ case "ucs2":
441
+ case "ucs-2":
442
+ case "utf16le":
443
+ case "utf-16le":
444
+ d = function(R, G, X) {
445
+ for (var $ = R.slice(G, X), P = "", K = 0; K < $.length; K += 2) P += String.fromCharCode($[K] + 256 * $[K + 1]);
446
+ return P;
447
+ }(Y, e, i);
448
+ break;
449
+ default:
450
+ throw new Error("Unknown encoding");
451
+ }
452
+ return d;
453
+ }, f.prototype.toJSON = function() {
454
+ return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
455
+ }, f.prototype.copy = function(r, e, i, d) {
456
+ if (e = e || 0, (d = d || d === 0 ? d : this.length) !== (i = i || 0) && r.length !== 0 && this.length !== 0) {
457
+ w(i <= d, "sourceEnd < sourceStart"), w(0 <= e && e < r.length, "targetStart out of bounds"), w(0 <= i && i < this.length, "sourceStart out of bounds"), w(0 <= d && d <= this.length, "sourceEnd out of bounds"), d > this.length && (d = this.length);
458
+ var l = (d = r.length - e < d - i ? r.length - e + i : d) - i;
459
+ if (l < 100 || !f._useTypedArrays) for (var m = 0; m < l; m++) r[m + e] = this[m + i];
460
+ else r._set(this.subarray(i, i + l), e);
461
+ }
462
+ }, f.prototype.slice = function(r, e) {
463
+ var i = this.length;
464
+ if (r = N(r, i, 0), e = N(e, i, i), f._useTypedArrays) return f._augment(this.subarray(r, e));
465
+ for (var d = e - r, l = new f(d, void 0, !0), m = 0; m < d; m++) l[m] = this[m + r];
466
+ return l;
467
+ }, f.prototype.get = function(r) {
468
+ return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(r);
469
+ }, f.prototype.set = function(r, e) {
470
+ return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(r, e);
471
+ }, f.prototype.readUInt8 = function(r, e) {
472
+ if (e || (w(r != null, "missing offset"), w(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return this[r];
473
+ }, f.prototype.readUInt16LE = function(r, e) {
474
+ return h(this, r, !0, e);
475
+ }, f.prototype.readUInt16BE = function(r, e) {
476
+ return h(this, r, !1, e);
477
+ }, f.prototype.readUInt32LE = function(r, e) {
478
+ return I(this, r, !0, e);
479
+ }, f.prototype.readUInt32BE = function(r, e) {
480
+ return I(this, r, !1, e);
481
+ }, f.prototype.readInt8 = function(r, e) {
482
+ if (e || (w(r != null, "missing offset"), w(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return 128 & this[r] ? -1 * (255 - this[r] + 1) : this[r];
483
+ }, f.prototype.readInt16LE = function(r, e) {
484
+ return s(this, r, !0, e);
485
+ }, f.prototype.readInt16BE = function(r, e) {
486
+ return s(this, r, !1, e);
487
+ }, f.prototype.readInt32LE = function(r, e) {
488
+ return c(this, r, !0, e);
489
+ }, f.prototype.readInt32BE = function(r, e) {
490
+ return c(this, r, !1, e);
491
+ }, f.prototype.readFloatLE = function(r, e) {
492
+ return n(this, r, !0, e);
493
+ }, f.prototype.readFloatBE = function(r, e) {
494
+ return n(this, r, !1, e);
495
+ }, f.prototype.readDoubleLE = function(r, e) {
496
+ return o(this, r, !0, e);
497
+ }, f.prototype.readDoubleBE = function(r, e) {
498
+ return o(this, r, !1, e);
499
+ }, f.prototype.writeUInt8 = function(r, e, i) {
500
+ i || (w(r != null, "missing value"), w(e != null, "missing offset"), w(e < this.length, "trying to write beyond buffer length"), nr(r, 255)), e >= this.length || (this[e] = r);
501
+ }, f.prototype.writeUInt16LE = function(r, e, i) {
502
+ t(this, r, e, !0, i);
503
+ }, f.prototype.writeUInt16BE = function(r, e, i) {
504
+ t(this, r, e, !1, i);
505
+ }, f.prototype.writeUInt32LE = function(r, e, i) {
506
+ u(this, r, e, !0, i);
507
+ }, f.prototype.writeUInt32BE = function(r, e, i) {
508
+ u(this, r, e, !1, i);
509
+ }, f.prototype.writeInt8 = function(r, e, i) {
510
+ i || (w(r != null, "missing value"), w(e != null, "missing offset"), w(e < this.length, "Trying to write beyond buffer length"), er(r, 127, -128)), e >= this.length || (0 <= r ? this.writeUInt8(r, e, i) : this.writeUInt8(255 + r + 1, e, i));
511
+ }, f.prototype.writeInt16LE = function(r, e, i) {
512
+ a(this, r, e, !0, i);
513
+ }, f.prototype.writeInt16BE = function(r, e, i) {
514
+ a(this, r, e, !1, i);
515
+ }, f.prototype.writeInt32LE = function(r, e, i) {
516
+ B(this, r, e, !0, i);
517
+ }, f.prototype.writeInt32BE = function(r, e, i) {
518
+ B(this, r, e, !1, i);
519
+ }, f.prototype.writeFloatLE = function(r, e, i) {
520
+ A(this, r, e, !0, i);
521
+ }, f.prototype.writeFloatBE = function(r, e, i) {
522
+ A(this, r, e, !1, i);
523
+ }, f.prototype.writeDoubleLE = function(r, e, i) {
524
+ x(this, r, e, !0, i);
525
+ }, f.prototype.writeDoubleBE = function(r, e, i) {
526
+ x(this, r, e, !1, i);
527
+ }, f.prototype.fill = function(r, e, i) {
528
+ if (e = e || 0, i = i || this.length, w(typeof (r = typeof (r = r || 0) == "string" ? r.charCodeAt(0) : r) == "number" && !isNaN(r), "value is not a number"), w(e <= i, "end < start"), i !== e && this.length !== 0) {
529
+ w(0 <= e && e < this.length, "start out of bounds"), w(0 <= i && i <= this.length, "end out of bounds");
530
+ for (var d = e; d < i; d++) this[d] = r;
531
+ }
532
+ }, f.prototype.inspect = function() {
533
+ for (var r = [], e = this.length, i = 0; i < e; i++) if (r[i] = D(this[i]), i === S.INSPECT_MAX_BYTES) {
534
+ r[i + 1] = "...";
535
+ break;
536
+ }
537
+ return "<Buffer " + r.join(" ") + ">";
538
+ }, f.prototype.toArrayBuffer = function() {
539
+ if (typeof Uint8Array > "u") throw new Error("Buffer.toArrayBuffer not supported in this browser");
540
+ if (f._useTypedArrays) return new f(this).buffer;
541
+ for (var r = new Uint8Array(this.length), e = 0, i = r.length; e < i; e += 1) r[e] = this[e];
542
+ return r.buffer;
543
+ };
544
+ var v = f.prototype;
545
+ function N(r, e, i) {
546
+ return typeof r != "number" ? i : e <= (r = ~~r) ? e : 0 <= r || 0 <= (r += e) ? r : 0;
547
+ }
548
+ function W(r) {
549
+ return (r = ~~Math.ceil(+r)) < 0 ? 0 : r;
550
+ }
551
+ function F(r) {
552
+ return (Array.isArray || function(e) {
553
+ return Object.prototype.toString.call(e) === "[object Array]";
554
+ })(r);
555
+ }
556
+ function D(r) {
557
+ return r < 16 ? "0" + r.toString(16) : r.toString(16);
558
+ }
559
+ function Q(r) {
560
+ for (var e = [], i = 0; i < r.length; i++) {
561
+ var d = r.charCodeAt(i);
562
+ if (d <= 127) e.push(r.charCodeAt(i));
563
+ else for (var l = i, m = (55296 <= d && d <= 57343 && i++, encodeURIComponent(r.slice(l, i + 1)).substr(1).split("%")), j = 0; j < m.length; j++) e.push(parseInt(m[j], 16));
564
+ }
565
+ return e;
566
+ }
567
+ function sr(r) {
568
+ return p.toByteArray(r);
569
+ }
570
+ function rr(r, e, i, d) {
571
+ for (var l = 0; l < d && !(l + i >= e.length || l >= r.length); l++) e[l + i] = r[l];
572
+ return l;
573
+ }
574
+ function ur(r) {
575
+ try {
576
+ return decodeURIComponent(r);
577
+ } catch {
578
+ return "�";
579
+ }
580
+ }
581
+ function nr(r, e) {
582
+ w(typeof r == "number", "cannot write a non-number as a number"), w(0 <= r, "specified a negative value for writing an unsigned value"), w(r <= e, "value is larger than maximum value for type"), w(Math.floor(r) === r, "value has a fractional component");
583
+ }
584
+ function er(r, e, i) {
585
+ w(typeof r == "number", "cannot write a non-number as a number"), w(r <= e, "value larger than maximum allowed value"), w(i <= r, "value smaller than minimum allowed value"), w(Math.floor(r) === r, "value has a fractional component");
586
+ }
587
+ function ar(r, e, i) {
588
+ w(typeof r == "number", "cannot write a non-number as a number"), w(r <= e, "value larger than maximum allowed value"), w(i <= r, "value smaller than minimum allowed value");
589
+ }
590
+ function w(r, e) {
591
+ if (!r) throw new Error(e || "Failed assertion");
592
+ }
593
+ f._augment = function(r) {
594
+ return r._isBuffer = !0, r._get = r.get, r._set = r.set, r.get = v.get, r.set = v.set, r.write = v.write, r.toString = v.toString, r.toLocaleString = v.toString, r.toJSON = v.toJSON, r.copy = v.copy, r.slice = v.slice, r.readUInt8 = v.readUInt8, r.readUInt16LE = v.readUInt16LE, r.readUInt16BE = v.readUInt16BE, r.readUInt32LE = v.readUInt32LE, r.readUInt32BE = v.readUInt32BE, r.readInt8 = v.readInt8, r.readInt16LE = v.readInt16LE, r.readInt16BE = v.readInt16BE, r.readInt32LE = v.readInt32LE, r.readInt32BE = v.readInt32BE, r.readFloatLE = v.readFloatLE, r.readFloatBE = v.readFloatBE, r.readDoubleLE = v.readDoubleLE, r.readDoubleBE = v.readDoubleBE, r.writeUInt8 = v.writeUInt8, r.writeUInt16LE = v.writeUInt16LE, r.writeUInt16BE = v.writeUInt16BE, r.writeUInt32LE = v.writeUInt32LE, r.writeUInt32BE = v.writeUInt32BE, r.writeInt8 = v.writeInt8, r.writeInt16LE = v.writeInt16LE, r.writeInt16BE = v.writeInt16BE, r.writeInt32LE = v.writeInt32LE, r.writeInt32BE = v.writeInt32BE, r.writeFloatLE = v.writeFloatLE, r.writeFloatBE = v.writeFloatBE, r.writeDoubleLE = v.writeDoubleLE, r.writeDoubleBE = v.writeDoubleBE, r.fill = v.fill, r.inspect = v.inspect, r.toArrayBuffer = v.toArrayBuffer, r;
595
+ };
596
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
597
+ }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(_, U, S) {
598
+ (function(L, k, p, V, C, O, z, q, H) {
599
+ var p = _("buffer").Buffer, E = 4, f = new p(E);
600
+ f.fill(0), U.exports = { hash: function(g, b, y, h) {
601
+ for (var I = b(function(t, u) {
602
+ t.length % E != 0 && (a = t.length + (E - t.length % E), t = p.concat([t, f], a));
603
+ for (var a, B = [], A = u ? t.readInt32BE : t.readInt32LE, x = 0; x < t.length; x += E) B.push(A.call(t, x));
604
+ return B;
605
+ }(g = p.isBuffer(g) ? g : new p(g), h), 8 * g.length), b = h, s = new p(y), c = b ? s.writeInt32BE : s.writeInt32LE, n = 0; n < I.length; n++) c.call(s, I[n], 4 * n, !0);
606
+ return s;
607
+ } };
608
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
609
+ }, { buffer: 3, lYpoI2: 11 }], 5: [function(_, U, S) {
610
+ (function(L, k, p, V, C, O, z, q, H) {
611
+ var p = _("buffer").Buffer, E = _("./sha"), f = _("./sha256"), g = _("./rng"), b = { sha1: E, sha256: f, md5: _("./md5") }, y = 64, h = new p(y);
612
+ function I(t, u) {
613
+ var a = b[t = t || "sha1"], B = [];
614
+ return a || s("algorithm:", t, "is not yet supported"), { update: function(A) {
615
+ return p.isBuffer(A) || (A = new p(A)), B.push(A), A.length, this;
616
+ }, digest: function(A) {
617
+ var x = p.concat(B), x = u ? function(v, N, W) {
618
+ p.isBuffer(N) || (N = new p(N)), p.isBuffer(W) || (W = new p(W)), N.length > y ? N = v(N) : N.length < y && (N = p.concat([N, h], y));
619
+ for (var F = new p(y), D = new p(y), Q = 0; Q < y; Q++) F[Q] = 54 ^ N[Q], D[Q] = 92 ^ N[Q];
620
+ return W = v(p.concat([F, W])), v(p.concat([D, W]));
621
+ }(a, u, x) : a(x);
622
+ return B = null, A ? x.toString(A) : x;
623
+ } };
624
+ }
625
+ function s() {
626
+ var t = [].slice.call(arguments).join(" ");
627
+ throw new Error([t, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join(`
628
+ `));
629
+ }
630
+ h.fill(0), S.createHash = function(t) {
631
+ return I(t);
632
+ }, S.createHmac = I, S.randomBytes = function(t, u) {
633
+ if (!u || !u.call) return new p(g(t));
634
+ try {
635
+ u.call(this, void 0, new p(g(t)));
636
+ } catch (a) {
637
+ u(a);
638
+ }
639
+ };
640
+ var c, n = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], o = function(t) {
641
+ S[t] = function() {
642
+ s("sorry,", t, "is not implemented yet");
643
+ };
644
+ };
645
+ for (c in n) o(n[c]);
646
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
647
+ }, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(_, U, S) {
648
+ (function(L, k, M, V, C, O, z, q, H) {
649
+ var p = _("./helpers");
650
+ function E(s, c) {
651
+ s[c >> 5] |= 128 << c % 32, s[14 + (c + 64 >>> 9 << 4)] = c;
652
+ for (var n = 1732584193, o = -271733879, t = -1732584194, u = 271733878, a = 0; a < s.length; a += 16) {
653
+ var B = n, A = o, x = t, v = u, n = g(n, o, t, u, s[a + 0], 7, -680876936), u = g(u, n, o, t, s[a + 1], 12, -389564586), t = g(t, u, n, o, s[a + 2], 17, 606105819), o = g(o, t, u, n, s[a + 3], 22, -1044525330);
654
+ n = g(n, o, t, u, s[a + 4], 7, -176418897), u = g(u, n, o, t, s[a + 5], 12, 1200080426), t = g(t, u, n, o, s[a + 6], 17, -1473231341), o = g(o, t, u, n, s[a + 7], 22, -45705983), n = g(n, o, t, u, s[a + 8], 7, 1770035416), u = g(u, n, o, t, s[a + 9], 12, -1958414417), t = g(t, u, n, o, s[a + 10], 17, -42063), o = g(o, t, u, n, s[a + 11], 22, -1990404162), n = g(n, o, t, u, s[a + 12], 7, 1804603682), u = g(u, n, o, t, s[a + 13], 12, -40341101), t = g(t, u, n, o, s[a + 14], 17, -1502002290), n = b(n, o = g(o, t, u, n, s[a + 15], 22, 1236535329), t, u, s[a + 1], 5, -165796510), u = b(u, n, o, t, s[a + 6], 9, -1069501632), t = b(t, u, n, o, s[a + 11], 14, 643717713), o = b(o, t, u, n, s[a + 0], 20, -373897302), n = b(n, o, t, u, s[a + 5], 5, -701558691), u = b(u, n, o, t, s[a + 10], 9, 38016083), t = b(t, u, n, o, s[a + 15], 14, -660478335), o = b(o, t, u, n, s[a + 4], 20, -405537848), n = b(n, o, t, u, s[a + 9], 5, 568446438), u = b(u, n, o, t, s[a + 14], 9, -1019803690), t = b(t, u, n, o, s[a + 3], 14, -187363961), o = b(o, t, u, n, s[a + 8], 20, 1163531501), n = b(n, o, t, u, s[a + 13], 5, -1444681467), u = b(u, n, o, t, s[a + 2], 9, -51403784), t = b(t, u, n, o, s[a + 7], 14, 1735328473), n = y(n, o = b(o, t, u, n, s[a + 12], 20, -1926607734), t, u, s[a + 5], 4, -378558), u = y(u, n, o, t, s[a + 8], 11, -2022574463), t = y(t, u, n, o, s[a + 11], 16, 1839030562), o = y(o, t, u, n, s[a + 14], 23, -35309556), n = y(n, o, t, u, s[a + 1], 4, -1530992060), u = y(u, n, o, t, s[a + 4], 11, 1272893353), t = y(t, u, n, o, s[a + 7], 16, -155497632), o = y(o, t, u, n, s[a + 10], 23, -1094730640), n = y(n, o, t, u, s[a + 13], 4, 681279174), u = y(u, n, o, t, s[a + 0], 11, -358537222), t = y(t, u, n, o, s[a + 3], 16, -722521979), o = y(o, t, u, n, s[a + 6], 23, 76029189), n = y(n, o, t, u, s[a + 9], 4, -640364487), u = y(u, n, o, t, s[a + 12], 11, -421815835), t = y(t, u, n, o, s[a + 15], 16, 530742520), n = h(n, o = y(o, t, u, n, s[a + 2], 23, -995338651), t, u, s[a + 0], 6, -198630844), u = h(u, n, o, t, s[a + 7], 10, 1126891415), t = h(t, u, n, o, s[a + 14], 15, -1416354905), o = h(o, t, u, n, s[a + 5], 21, -57434055), n = h(n, o, t, u, s[a + 12], 6, 1700485571), u = h(u, n, o, t, s[a + 3], 10, -1894986606), t = h(t, u, n, o, s[a + 10], 15, -1051523), o = h(o, t, u, n, s[a + 1], 21, -2054922799), n = h(n, o, t, u, s[a + 8], 6, 1873313359), u = h(u, n, o, t, s[a + 15], 10, -30611744), t = h(t, u, n, o, s[a + 6], 15, -1560198380), o = h(o, t, u, n, s[a + 13], 21, 1309151649), n = h(n, o, t, u, s[a + 4], 6, -145523070), u = h(u, n, o, t, s[a + 11], 10, -1120210379), t = h(t, u, n, o, s[a + 2], 15, 718787259), o = h(o, t, u, n, s[a + 9], 21, -343485551), n = I(n, B), o = I(o, A), t = I(t, x), u = I(u, v);
655
+ }
656
+ return Array(n, o, t, u);
657
+ }
658
+ function f(s, c, n, o, t, u) {
659
+ return I((c = I(I(c, s), I(o, u))) << t | c >>> 32 - t, n);
660
+ }
661
+ function g(s, c, n, o, t, u, a) {
662
+ return f(c & n | ~c & o, s, c, t, u, a);
663
+ }
664
+ function b(s, c, n, o, t, u, a) {
665
+ return f(c & o | n & ~o, s, c, t, u, a);
666
+ }
667
+ function y(s, c, n, o, t, u, a) {
668
+ return f(c ^ n ^ o, s, c, t, u, a);
669
+ }
670
+ function h(s, c, n, o, t, u, a) {
671
+ return f(n ^ (c | ~o), s, c, t, u, a);
672
+ }
673
+ function I(s, c) {
674
+ var n = (65535 & s) + (65535 & c);
675
+ return (s >> 16) + (c >> 16) + (n >> 16) << 16 | 65535 & n;
676
+ }
677
+ U.exports = function(s) {
678
+ return p.hash(s, E, 16);
679
+ };
680
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
681
+ }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(_, U, S) {
682
+ (function(L, k, M, V, C, O, z, q, H) {
683
+ U.exports = function(p) {
684
+ for (var E, f = new Array(p), g = 0; g < p; g++) (3 & g) == 0 && (E = 4294967296 * Math.random()), f[g] = E >>> ((3 & g) << 3) & 255;
685
+ return f;
686
+ };
687
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
688
+ }, { buffer: 3, lYpoI2: 11 }], 8: [function(_, U, S) {
689
+ (function(L, k, M, V, C, O, z, q, H) {
690
+ var p = _("./helpers");
691
+ function E(b, y) {
692
+ b[y >> 5] |= 128 << 24 - y % 32, b[15 + (y + 64 >> 9 << 4)] = y;
693
+ for (var h, I, s, c = Array(80), n = 1732584193, o = -271733879, t = -1732584194, u = 271733878, a = -1009589776, B = 0; B < b.length; B += 16) {
694
+ for (var A = n, x = o, v = t, N = u, W = a, F = 0; F < 80; F++) {
695
+ c[F] = F < 16 ? b[B + F] : g(c[F - 3] ^ c[F - 8] ^ c[F - 14] ^ c[F - 16], 1);
696
+ var D = f(f(g(n, 5), (D = o, I = t, s = u, (h = F) < 20 ? D & I | ~D & s : !(h < 40) && h < 60 ? D & I | D & s | I & s : D ^ I ^ s)), f(f(a, c[F]), (h = F) < 20 ? 1518500249 : h < 40 ? 1859775393 : h < 60 ? -1894007588 : -899497514)), a = u, u = t, t = g(o, 30), o = n, n = D;
697
+ }
698
+ n = f(n, A), o = f(o, x), t = f(t, v), u = f(u, N), a = f(a, W);
699
+ }
700
+ return Array(n, o, t, u, a);
701
+ }
702
+ function f(b, y) {
703
+ var h = (65535 & b) + (65535 & y);
704
+ return (b >> 16) + (y >> 16) + (h >> 16) << 16 | 65535 & h;
705
+ }
706
+ function g(b, y) {
707
+ return b << y | b >>> 32 - y;
708
+ }
709
+ U.exports = function(b) {
710
+ return p.hash(b, E, 20, !0);
711
+ };
712
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
713
+ }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(_, U, S) {
714
+ (function(L, k, M, V, C, O, z, q, H) {
715
+ function p(y, h) {
716
+ var I = (65535 & y) + (65535 & h);
717
+ return (y >> 16) + (h >> 16) + (I >> 16) << 16 | 65535 & I;
718
+ }
719
+ function E(y, h) {
720
+ var I, s = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), c = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), n = new Array(64);
721
+ y[h >> 5] |= 128 << 24 - h % 32, y[15 + (h + 64 >> 9 << 4)] = h;
722
+ for (var o, t, u = 0; u < y.length; u += 16) {
723
+ for (var a = c[0], B = c[1], A = c[2], x = c[3], v = c[4], N = c[5], W = c[6], F = c[7], D = 0; D < 64; D++) n[D] = D < 16 ? y[D + u] : p(p(p((t = n[D - 2], g(t, 17) ^ g(t, 19) ^ b(t, 10)), n[D - 7]), (t = n[D - 15], g(t, 7) ^ g(t, 18) ^ b(t, 3))), n[D - 16]), I = p(p(p(p(F, g(t = v, 6) ^ g(t, 11) ^ g(t, 25)), v & N ^ ~v & W), s[D]), n[D]), o = p(g(o = a, 2) ^ g(o, 13) ^ g(o, 22), a & B ^ a & A ^ B & A), F = W, W = N, N = v, v = p(x, I), x = A, A = B, B = a, a = p(I, o);
724
+ c[0] = p(a, c[0]), c[1] = p(B, c[1]), c[2] = p(A, c[2]), c[3] = p(x, c[3]), c[4] = p(v, c[4]), c[5] = p(N, c[5]), c[6] = p(W, c[6]), c[7] = p(F, c[7]);
725
+ }
726
+ return c;
727
+ }
728
+ var f = _("./helpers"), g = function(y, h) {
729
+ return y >>> h | y << 32 - h;
730
+ }, b = function(y, h) {
731
+ return y >>> h;
732
+ };
733
+ U.exports = function(y) {
734
+ return f.hash(y, E, 32, !0);
735
+ };
736
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
737
+ }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(_, U, S) {
738
+ (function(L, k, M, V, C, O, z, q, H) {
739
+ S.read = function(p, E, f, g, u) {
740
+ var y, h, I = 8 * u - g - 1, s = (1 << I) - 1, c = s >> 1, n = -7, o = f ? u - 1 : 0, t = f ? -1 : 1, u = p[E + o];
741
+ for (o += t, y = u & (1 << -n) - 1, u >>= -n, n += I; 0 < n; y = 256 * y + p[E + o], o += t, n -= 8) ;
742
+ for (h = y & (1 << -n) - 1, y >>= -n, n += g; 0 < n; h = 256 * h + p[E + o], o += t, n -= 8) ;
743
+ if (y === 0) y = 1 - c;
744
+ else {
745
+ if (y === s) return h ? NaN : 1 / 0 * (u ? -1 : 1);
746
+ h += Math.pow(2, g), y -= c;
747
+ }
748
+ return (u ? -1 : 1) * h * Math.pow(2, y - g);
749
+ }, S.write = function(p, E, f, g, b, a) {
750
+ var h, I, s = 8 * a - b - 1, c = (1 << s) - 1, n = c >> 1, o = b === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, t = g ? 0 : a - 1, u = g ? 1 : -1, a = E < 0 || E === 0 && 1 / E < 0 ? 1 : 0;
751
+ for (E = Math.abs(E), isNaN(E) || E === 1 / 0 ? (I = isNaN(E) ? 1 : 0, h = c) : (h = Math.floor(Math.log(E) / Math.LN2), E * (g = Math.pow(2, -h)) < 1 && (h--, g *= 2), 2 <= (E += 1 <= h + n ? o / g : o * Math.pow(2, 1 - n)) * g && (h++, g /= 2), c <= h + n ? (I = 0, h = c) : 1 <= h + n ? (I = (E * g - 1) * Math.pow(2, b), h += n) : (I = E * Math.pow(2, n - 1) * Math.pow(2, b), h = 0)); 8 <= b; p[f + t] = 255 & I, t += u, I /= 256, b -= 8) ;
752
+ for (h = h << b | I, s += b; 0 < s; p[f + t] = 255 & h, t += u, h /= 256, s -= 8) ;
753
+ p[f + t - u] |= 128 * a;
754
+ };
755
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
756
+ }, { buffer: 3, lYpoI2: 11 }], 11: [function(_, U, S) {
757
+ (function(L, k, M, V, C, O, z, q, H) {
758
+ var p, E, f;
759
+ function g() {
760
+ }
761
+ (L = U.exports = {}).nextTick = (E = typeof window < "u" && window.setImmediate, f = typeof window < "u" && window.postMessage && window.addEventListener, E ? function(b) {
762
+ return window.setImmediate(b);
763
+ } : f ? (p = [], window.addEventListener("message", function(b) {
764
+ var y = b.source;
765
+ y !== window && y !== null || b.data !== "process-tick" || (b.stopPropagation(), 0 < p.length && p.shift()());
766
+ }, !0), function(b) {
767
+ p.push(b), window.postMessage("process-tick", "*");
768
+ }) : function(b) {
769
+ setTimeout(b, 0);
770
+ }), L.title = "browser", L.browser = !0, L.env = {}, L.argv = [], L.on = g, L.addListener = g, L.once = g, L.off = g, L.removeListener = g, L.removeAllListeners = g, L.emit = g, L.binding = function(b) {
771
+ throw new Error("process.binding is not supported");
772
+ }, L.cwd = function() {
773
+ return "/";
774
+ }, L.chdir = function(b) {
775
+ throw new Error("process.chdir is not supported");
776
+ };
777
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/process/browser.js", "/node_modules/gulp-browserify/node_modules/process");
778
+ }, { buffer: 3, lYpoI2: 11 }] }, {}, [1])(1);
779
+ });
780
+ }(or)), or.exports;
781
+ }
782
+ var hr = dr();
783
+ const pr = /* @__PURE__ */ lr(hr);
784
+ function yr(T) {
785
+ const J = T.accessorKey, _ = ({ column: k }) => String(k.accessorKey || k.id), U = ({ row: k, column: M }) => M.accessorKey ? String(k[M.accessorKey]) : "", S = (k) => null, L = (k, M) => J ? k[J] > M[J] ? 1 : M[J] > k[J] ? -1 : 0 : k > M ? 1 : M > k ? -1 : 0;
786
+ return {
787
+ id: T.id || pr(T),
788
+ accessorKey: J,
789
+ header: ir(T.header || _),
790
+ cell: ir(T.cell || U),
791
+ footer: ir(T.footer || S),
792
+ sortable: typeof T.sortable == "function" ? T.sortable : T.sortable === !1 ? void 0 : L
793
+ };
794
+ }
795
+ function ir(T) {
796
+ return typeof T == "function" ? T : () => T;
797
+ }
798
+ function wr(T, J, _) {
799
+ const U = J.findIndex((C) => C.id === T.id), S = J.length, L = J[U];
800
+ if (!L)
801
+ throw new Error("State not found with ID.");
802
+ const k = (C, O = {}) => {
803
+ _(
804
+ (z) => z.map(
805
+ (q) => q.id === T.id ? { ...q, ...C } : { ...q, ...O }
806
+ )
807
+ );
808
+ }, M = (C, O = {}, z = {}) => {
809
+ C = Math.min(Math.max(C, 0), S), _((q) => {
810
+ let H = [...q];
811
+ H.splice(U, 1), H.splice(C, 0, L);
812
+ let p = {}, E = {};
813
+ return C !== 0 ? p.isSticky = !1 : E.isSticky = !1, H = H.map(
814
+ (f) => f.id === T.id ? { ...f, ...O, ...p } : { ...f, ...z, ...E }
815
+ ), H;
816
+ });
817
+ }, V = {
818
+ id: T.id,
819
+ accessorKey: T.accessorKey,
820
+ header: T.header,
821
+ cell: T.cell,
822
+ footer: T.footer,
823
+ position: {
824
+ index: U,
825
+ isFirst: () => U === 0,
826
+ isLast: () => U === S - 1,
827
+ moveTo: (C) => M(C),
828
+ moveLeft: () => M(U - 1),
829
+ moveRight: () => M(U + 1),
830
+ moveToStart: () => M(0),
831
+ moveToEnd: () => M(S - 1)
832
+ },
833
+ sticky: {
834
+ stuck: L.isSticky,
835
+ stick: () => {
836
+ M(0, { isSticky: !0 }, { isSticky: !1 });
837
+ },
838
+ unstick: () => k({ isSticky: !1 })
839
+ },
840
+ visibility: {
841
+ hidden: L.isHidden,
842
+ toggle: () => k({ isHidden: !L.isHidden }),
843
+ show: () => k({ isHidden: !0 }),
844
+ hide: () => k({ isHidden: !1 })
845
+ }
846
+ };
847
+ return T.sortable && (V.sort = {
848
+ direction: L.sortDirection,
849
+ compare: T.sortable,
850
+ clear: () => k({ sortDirection: "none" }),
851
+ toggle: () => k(
852
+ {
853
+ sortDirection: L.sortDirection === "ascending" ? "descending" : "ascending"
854
+ },
855
+ { sortDirection: "none" }
856
+ ),
857
+ ascending: () => k({ sortDirection: "ascending" }, { sortDirection: "none" }),
858
+ descending: () => k({ sortDirection: "descending" }, { sortDirection: "none" })
859
+ }), V;
860
+ }
861
+ function mr(T) {
862
+ function J(_) {
863
+ const U = T.findIndex(function(S) {
864
+ return S.id === _;
865
+ });
866
+ return U === -1 ? 1 / 0 : U;
867
+ }
868
+ return (_, U) => J(_.id) - J(U.id);
869
+ }
870
+ export {
871
+ wr as createColumn,
872
+ mr as createColumnSorter,
873
+ yr as normalizeColumn
874
+ };