light-h5-core-lib 2.8.2 → 2.9.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.
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BeizerUtil = void 0;
4
+ /**
5
+ * 贝塞尔曲线运动
6
+ * @author Aonaufly
7
+ */
8
+ var BeizerUtil = /** @class */ (function () {
9
+ function BeizerUtil() {
10
+ }
11
+ //#region 获得当前坐标
12
+ /**
13
+ * 获得当前坐标
14
+ * @param timer 时间[0,1]
15
+ * @returns
16
+ */
17
+ BeizerUtil.getPosition = function (points, timer) {
18
+ var x = 0, y = 0;
19
+ var bezier;
20
+ for (var i = 0, n = points.length; i < n; i++) {
21
+ bezier =
22
+ Math.min(Math.pow(1 - timer, n - i - 1) * Math.pow(timer, i)) *
23
+ BeizerUtil.calculationC(i, n);
24
+ x += points[i].x * bezier;
25
+ y += points[i].y * bezier;
26
+ }
27
+ return { x: x, y: y };
28
+ };
29
+ //#endregion
30
+ //region 获得路线的长度
31
+ BeizerUtil.distance = function (p1, p2) {
32
+ var dx = p2.x - p1.x;
33
+ var dy = p2.y - p1.y;
34
+ return Math.sqrt(dx * dx + dy * dy);
35
+ };
36
+ /**
37
+ * 获得整个路线的长度
38
+ * @param precision 精确度(微积分方案)
39
+ */
40
+ BeizerUtil.getLength = function (points, precision) {
41
+ if (precision === void 0) { precision = 100; }
42
+ var length = 0;
43
+ var point1;
44
+ var point2;
45
+ for (var t = 0; t < 1; t += 1 / precision) {
46
+ point1 = BeizerUtil.getBezierPoint(points, t);
47
+ point2 = BeizerUtil.getBezierPoint(points, t + 1 / precision);
48
+ length += BeizerUtil.distance(point1, point2);
49
+ }
50
+ return length;
51
+ };
52
+ BeizerUtil.calculationC = function (i, n) {
53
+ return (BeizerUtil.factorial(n - 1) /
54
+ (BeizerUtil.factorial(i) * BeizerUtil.factorial(n - 1 - i)));
55
+ };
56
+ BeizerUtil.factorial = function (num) {
57
+ if (num < 0) {
58
+ return 1;
59
+ }
60
+ else if (num === 0 || num === 1) {
61
+ return 1;
62
+ }
63
+ else {
64
+ return num * BeizerUtil.factorial(num - 1);
65
+ }
66
+ };
67
+ BeizerUtil.getBezierPoint = function (points, t) {
68
+ if (points.length === 1) {
69
+ return points[0];
70
+ }
71
+ var nextPoints = [];
72
+ var x;
73
+ var y;
74
+ for (var i = 0; i < points.length - 1; i++) {
75
+ x = (1 - t) * points[i].x + t * points[i + 1].x;
76
+ y = (1 - t) * points[i].y + t * points[i + 1].y;
77
+ nextPoints.push({ x: x, y: y });
78
+ }
79
+ return BeizerUtil.getBezierPoint(nextPoints, t);
80
+ };
81
+ return BeizerUtil;
82
+ }());
83
+ exports.BeizerUtil = BeizerUtil;
@@ -1,37 +1,43 @@
1
- /**
2
- * 位操作工具(从右向左←)
3
- * @author Aonaufly
4
- */
5
- export class BitUtil {
6
- /**
7
- * 读取uint类型某位的值, bit从1开始
8
- */
9
- public static getBit(value: number, bit: number): number {
10
- return (value & (1 << (bit - 1))) >> (bit - 1);
11
- }
12
-
13
- /**
14
- * 设置value bit(从1开始)位的值为v(0|1)
15
- * 谨记bit<32
16
- */
17
- public static setBit(value: number, bit: number, v: 0 | 1): number {
18
- if (bit > 32) {
19
- return undefined;
20
- }
21
- if (v == 1) {
22
- return value | (v << (bit - 1));
23
- } else {
24
- return (value &= ~0 ^ (1 << (bit - 1)));
25
- }
26
- }
27
-
28
- /**获取1的个数 */
29
- public static get1num(value: number): number {
30
- let count: number = 0;
31
- while (value) {
32
- value = value & (value - 1);
33
- count++;
34
- }
35
- return count;
36
- }
37
- }
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitUtil = void 0;
4
+ /**
5
+ * 位操作工具(从右向左←)
6
+ * @author Aonaufly
7
+ */
8
+ var BitUtil = /** @class */ (function () {
9
+ function BitUtil() {
10
+ }
11
+ /**
12
+ * 读取uint类型某位的值, bit从1开始
13
+ */
14
+ BitUtil.getBit = function (value, bit) {
15
+ return (value & (1 << (bit - 1))) >> (bit - 1);
16
+ };
17
+ /**
18
+ * 设置value 第bit(从1开始)位的值为v(0|1)
19
+ * 谨记bit<32
20
+ */
21
+ BitUtil.setBit = function (value, bit, v) {
22
+ if (bit > 32) {
23
+ return undefined;
24
+ }
25
+ if (v == 1) {
26
+ return value | (v << (bit - 1));
27
+ }
28
+ else {
29
+ return (value &= ~0 ^ (1 << (bit - 1)));
30
+ }
31
+ };
32
+ /**获取1的个数 */
33
+ BitUtil.get1num = function (value) {
34
+ var count = 0;
35
+ while (value) {
36
+ value = value & (value - 1);
37
+ count++;
38
+ }
39
+ return count;
40
+ };
41
+ return BitUtil;
42
+ }());
43
+ exports.BitUtil = BitUtil;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BooleanUtil = void 0;
4
+ /**
5
+ * Bool类型处理
6
+ * @author Aonaufly
7
+ */
8
+ var BooleanUtil = /** @class */ (function () {
9
+ function BooleanUtil() {
10
+ }
11
+ /**
12
+ * 获得Proto中的Bool值
13
+ */
14
+ BooleanUtil.getProtoBool = function (data, key, defaultValue) {
15
+ if (defaultValue === void 0) { defaultValue = false; }
16
+ if (key in data) {
17
+ return data[key];
18
+ }
19
+ return defaultValue;
20
+ };
21
+ return BooleanUtil;
22
+ }());
23
+ exports.BooleanUtil = BooleanUtil;
@@ -0,0 +1,310 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CollisionDetectionUtil = void 0;
19
+ /**
20
+ * 碰撞检测工具
21
+ * @author Aonaufly
22
+ */
23
+ var CollisionDetectionUtil = /** @class */ (function () {
24
+ function CollisionDetectionUtil() {
25
+ }
26
+ /**
27
+ * AABB检测
28
+ * @param aAnchor A的锚点(0~1)
29
+ * @param bAnchor B的描点(0~1)
30
+ * @param aBox
31
+ * @param bBox
32
+ */
33
+ CollisionDetectionUtil.aABB = function (aAnchor, bAnchor, aBox, bBox) {
34
+ if (!CollisionDetectionUtil._aabb) {
35
+ CollisionDetectionUtil._aabb = new AABB();
36
+ }
37
+ var result = CollisionDetectionUtil._aabb.conllision(aAnchor, bAnchor, aBox, bBox);
38
+ CollisionDetectionUtil._aabb.clear();
39
+ return result;
40
+ };
41
+ /**
42
+ * OBB检测
43
+ * @param aCenter A的中心位置
44
+ * @param bCenter B的中心位置
45
+ * @param aOBB
46
+ * @param bOBB
47
+ */
48
+ CollisionDetectionUtil.oBB = function (aCenter, bCenter, aOBB, bOBB) {
49
+ if (!CollisionDetectionUtil._obb) {
50
+ CollisionDetectionUtil._obb = new OBB();
51
+ }
52
+ var result = CollisionDetectionUtil._obb.conllision(aCenter, bCenter, aOBB, bOBB);
53
+ CollisionDetectionUtil._obb.clear();
54
+ return result;
55
+ };
56
+ /**
57
+ * 多边形检测
58
+ * @param aVertices A的每个点的位置
59
+ * @param bVertices B的每个点的位置
60
+ */
61
+ CollisionDetectionUtil.polygon = function (aVertices, bVertices) {
62
+ if (!CollisionDetectionUtil._polygon) {
63
+ CollisionDetectionUtil._polygon = new Polygon();
64
+ }
65
+ var result = CollisionDetectionUtil._polygon.conllision(null, null, aVertices, bVertices);
66
+ CollisionDetectionUtil._polygon.clear();
67
+ return result;
68
+ };
69
+ /**
70
+ * 检测旋转矩形和圆形是否相交<br>
71
+ * <div style="color: #FF0000;">锚点都为0.5</div>
72
+ * @param circle 圆形
73
+ * @param rect 矩形
74
+ */
75
+ CollisionDetectionUtil.circle2Rect = function (circle, rect) {
76
+ var angle = rect.angle / Math.PI * 180;
77
+ var rectMidPointX = rect.position.x;
78
+ var rectMidPointY = rect.position.y;
79
+ var rectLeftBottomX = rect.position.x - rect.width / 2;
80
+ var rectLeftBottomY = rect.position.y - rect.height / 2;
81
+ var unrotatedCircleX = Math.cos(-angle) * (circle.position.x - rectMidPointX) - Math.sin(-angle) * (circle.position.y - rectMidPointY) + rectMidPointX;
82
+ var unrotatedCircleY = Math.sin(-angle) * (circle.position.x - rectMidPointX) + Math.cos(-angle) * (circle.position.y - rectMidPointY) + rectMidPointY;
83
+ var closestX = 0, closestY = 0;
84
+ if (unrotatedCircleX < rectLeftBottomX)
85
+ closestX = rectLeftBottomX;
86
+ else if (unrotatedCircleX > rectLeftBottomX + rect.width)
87
+ closestX = rectLeftBottomX + rect.width;
88
+ else
89
+ closestX = unrotatedCircleX;
90
+ if (unrotatedCircleY < rectLeftBottomY)
91
+ closestY = rectLeftBottomY;
92
+ else if (unrotatedCircleY > rectLeftBottomY + rect.height)
93
+ closestY = rectLeftBottomY + rect.height;
94
+ else
95
+ closestY = unrotatedCircleY;
96
+ var findDistance = function (fromX, fromY, toX, toY) {
97
+ var a = Math.abs(fromX - toX);
98
+ var b = Math.abs(fromY - toY);
99
+ return Math.sqrt((a * a) + (b * b));
100
+ };
101
+ var distance = findDistance(unrotatedCircleX, unrotatedCircleY, closestX, closestY);
102
+ return distance < circle.radius;
103
+ };
104
+ /**
105
+ * 2个圆形是否碰撞
106
+ */
107
+ CollisionDetectionUtil.circle2Circle = function (aCircle, bCircle) {
108
+ var distance = Math.sqrt(Math.pow((aCircle.position.x - bCircle.position.x), 2) + Math.pow((aCircle.position.y - bCircle.position.y), 2));
109
+ return distance <= aCircle.radius + bCircle.radius;
110
+ };
111
+ /**
112
+ * 判断某个点的位置是否位于椭圆内
113
+ * @param pos 点的位置
114
+ * @param centerPos 椭圆中心点
115
+ * @param ellipseAxis 椭圆轴
116
+ * @returns
117
+ */
118
+ CollisionDetectionUtil.IsInEllipse = function (pos, centerPos, ellipseAxis) {
119
+ var diffX = pos.x - centerPos.x;
120
+ var diffY = pos.y - centerPos.y;
121
+ return ((diffX * diffX) / (ellipseAxis.x * ellipseAxis.x) + (diffY * diffY) / (ellipseAxis.y * ellipseAxis.y)) <= 1;
122
+ };
123
+ return CollisionDetectionUtil;
124
+ }());
125
+ exports.CollisionDetectionUtil = CollisionDetectionUtil;
126
+ //#region 碰撞检测基类
127
+ var CollisionBase = /** @class */ (function () {
128
+ function CollisionBase() {
129
+ }
130
+ CollisionBase.prototype.clear = function () {
131
+ this._aAnchor = null;
132
+ this._bAnchor = null;
133
+ };
134
+ /**
135
+ * 碰撞检测处理
136
+ */
137
+ CollisionBase.prototype.conllision = function (aAnchor, bAnchor) {
138
+ var args = [];
139
+ for (var _i = 2; _i < arguments.length; _i++) {
140
+ args[_i - 2] = arguments[_i];
141
+ }
142
+ this._aAnchor = aAnchor;
143
+ this._bAnchor = bAnchor;
144
+ return this.check();
145
+ };
146
+ CollisionBase.prototype.destroy = function () {
147
+ this.clear();
148
+ };
149
+ return CollisionBase;
150
+ }());
151
+ //#endregion
152
+ //#region AABB碰撞(2个矩形的简单碰撞)
153
+ var AABB = /** @class */ (function (_super) {
154
+ __extends(AABB, _super);
155
+ function AABB() {
156
+ return _super !== null && _super.apply(this, arguments) || this;
157
+ }
158
+ AABB.prototype.conllision = function (aAnchor, bAnchor, aBox, bBox) {
159
+ this._aBox = aBox;
160
+ this._bBox = bBox;
161
+ return _super.prototype.conllision.call(this, aAnchor, bAnchor);
162
+ };
163
+ AABB.prototype.check = function () {
164
+ var aX = this._aBox.x - this._aAnchor.x * this._aBox.width;
165
+ var aY = this._aBox.y - this._aAnchor.y * this._aBox.height;
166
+ var bX = this._bBox.x - this._bAnchor.x * this._bBox.width;
167
+ var bY = this._bBox.y - this._bAnchor.y * this._bBox.height;
168
+ return aX < bX + this._bBox.width &&
169
+ aX + this._aBox.width > bX &&
170
+ aY < bY + this._bBox.height &&
171
+ aY + this._aBox.height > bY;
172
+ };
173
+ AABB.prototype.clear = function () {
174
+ this._aBox = null;
175
+ this._bBox = null;
176
+ _super.prototype.clear.call(this);
177
+ };
178
+ return AABB;
179
+ }(CollisionBase));
180
+ //#endregion
181
+ //#region OBB适用于旋转的矩形,需要使用分离轴定理(SAT)进行检测
182
+ var OBB = /** @class */ (function (_super) {
183
+ __extends(OBB, _super);
184
+ function OBB() {
185
+ return _super !== null && _super.apply(this, arguments) || this;
186
+ }
187
+ OBB.prototype.clear = function () {
188
+ this._aOBB = null;
189
+ this._bOBB = null;
190
+ _super.prototype.clear.call(this);
191
+ };
192
+ OBB.prototype.conllision = function (aAnchor, bAnchor, aOBB, bOBB) {
193
+ this._aOBB = aOBB;
194
+ this._bOBB = bOBB;
195
+ return _super.prototype.conllision.call(this, aAnchor, bAnchor);
196
+ };
197
+ OBB.prototype.getVertices = function (isA) {
198
+ var obbInfo = isA ? this._aOBB : this._bOBB;
199
+ var center = isA ? this._aAnchor : this._bAnchor;
200
+ var rad = obbInfo.angle * Math.PI / 180;
201
+ var cos = Math.cos(rad);
202
+ var sin = Math.sin(rad);
203
+ var halfWidth = obbInfo.width / 2;
204
+ var halfHeight = obbInfo.height / 2;
205
+ return [
206
+ {
207
+ x: center.x + cos * halfWidth - sin * halfHeight,
208
+ y: center.y + sin * halfWidth + cos * halfHeight
209
+ },
210
+ {
211
+ x: center.x - cos * halfWidth - sin * halfHeight,
212
+ y: center.y - sin * halfWidth + cos * halfHeight
213
+ },
214
+ {
215
+ x: center.x - cos * halfWidth + sin * halfHeight,
216
+ y: center.y - sin * halfWidth - cos * halfHeight
217
+ },
218
+ {
219
+ x: center.x + cos * halfWidth + sin * halfHeight,
220
+ y: center.y + sin * halfWidth - cos * halfHeight
221
+ }
222
+ ];
223
+ };
224
+ OBB.prototype.getAxes = function (isA) {
225
+ var vertices = this.getVertices(isA);
226
+ return [
227
+ { x: vertices[1].x - vertices[0].x, y: vertices[1].y - vertices[0].y },
228
+ { x: vertices[2].x - vertices[1].x, y: vertices[2].y - vertices[1].y }
229
+ ];
230
+ };
231
+ OBB.prototype.project = function (axis, isA) {
232
+ var vertices = this.getVertices(isA);
233
+ var min = Infinity;
234
+ var max = -Infinity;
235
+ vertices.forEach(function (vertex) {
236
+ var dot = vertex.x * axis.x + vertex.y * axis.y;
237
+ min = Math.min(min, dot);
238
+ max = Math.max(max, dot);
239
+ });
240
+ return { min: min, max: max };
241
+ };
242
+ OBB.prototype.check = function () {
243
+ var axes = this.getAxes(true).concat(this.getAxes(false));
244
+ for (var _i = 0, axes_1 = axes; _i < axes_1.length; _i++) {
245
+ var axis = axes_1[_i];
246
+ var proj1 = this.project(axis, true);
247
+ var proj2 = this.project(axis, false);
248
+ if (proj1.max < proj2.min || proj2.max < proj1.min) {
249
+ return false;
250
+ }
251
+ }
252
+ return true;
253
+ };
254
+ return OBB;
255
+ }(CollisionBase));
256
+ //#endregion
257
+ //#region 多边形
258
+ var Polygon = /** @class */ (function (_super) {
259
+ __extends(Polygon, _super);
260
+ function Polygon() {
261
+ return _super !== null && _super.apply(this, arguments) || this;
262
+ }
263
+ Polygon.prototype.conllision = function (aAnchor, bAnchor, aVertices, bVertices) {
264
+ this._aVertices = aVertices;
265
+ this._bVertices = bVertices;
266
+ return _super.prototype.conllision.call(this, null, null);
267
+ };
268
+ Polygon.prototype.getAxes = function (isA) {
269
+ var vertices = isA ? this._aVertices : this._bVertices;
270
+ var axes = [];
271
+ for (var i = 0; i < vertices.length; i++) {
272
+ var p1 = vertices[i];
273
+ var p2 = vertices[(i + 1) % vertices.length];
274
+ var edge = { x: p2.x - p1.x, y: p2.y - p1.y };
275
+ var normal = { x: -edge.y, y: edge.x };
276
+ axes.push(normal);
277
+ }
278
+ return axes;
279
+ };
280
+ Polygon.prototype.project = function (axis, isA) {
281
+ var min = Infinity;
282
+ var max = -Infinity;
283
+ var vertices = isA ? this._aVertices : this._bVertices;
284
+ vertices.forEach(function (vertex) {
285
+ var dot = vertex.x * axis.x + vertex.y * axis.y;
286
+ min = Math.min(min, dot);
287
+ max = Math.max(max, dot);
288
+ });
289
+ return { min: min, max: max };
290
+ };
291
+ Polygon.prototype.clear = function () {
292
+ this._aVertices = null;
293
+ this._bVertices = null;
294
+ _super.prototype.clear.call(this);
295
+ };
296
+ Polygon.prototype.check = function () {
297
+ var axes = this.getAxes(true).concat(this.getAxes(false));
298
+ for (var _i = 0, axes_2 = axes; _i < axes_2.length; _i++) {
299
+ var axis = axes_2[_i];
300
+ var proj1 = this.project(axis, true);
301
+ var proj2 = this.project(axis, false);
302
+ if (proj1.max < proj2.min || proj2.max < proj1.min) {
303
+ return false;
304
+ }
305
+ }
306
+ return true;
307
+ };
308
+ return Polygon;
309
+ }(CollisionBase));
310
+ //#endregion
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Crc32验证工具
5
+ * @author Aonaufly
6
+ */
7
+ var Crc32Util = /** @class */ (function () {
8
+ function Crc32Util() {
9
+ }
10
+ /**
11
+ * Crc32 number
12
+ */
13
+ Crc32Util.getCrc32Number = function (str, crc) {
14
+ if (crc === void 0) { crc = 0; }
15
+ var n = 0;
16
+ var x;
17
+ crc = crc ^ (-1);
18
+ for (var i = 0, iTop = str.length; i < iTop; i++) {
19
+ n = (crc ^ str.charCodeAt(i)) & 0xFF;
20
+ x = "0x" + Crc32Util.table.substr(n * 9, 8);
21
+ crc = (crc >>> 8) ^ x;
22
+ }
23
+ return crc ^ (-1);
24
+ };
25
+ /**
26
+ * Crc32 string
27
+ */
28
+ Crc32Util.getCrc32String = function (str, crc) {
29
+ if (crc === void 0) { crc = 0; }
30
+ return Crc32Util.getCrc32Number(str, crc).toString(16);
31
+ };
32
+ Crc32Util.table = "00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D";
33
+ return Crc32Util;
34
+ }());
35
+ exports.default = Crc32Util;