Select Git revision
index.js 49.82 KiB
// GENERATED FILE. DO NOT EDIT.
(function (global, factory) {
function unwrapDefault(exports) {
return "default" in exports ? exports.default : exports;
}
if (typeof define === "function" && define.amd) {
define([], function () {
var exports = {};
factory(exports);
return unwrapDefault(exports);
});
} else if (typeof exports === "object") {
factory(exports);
if (typeof module === "object") module.exports = unwrapDefault(exports);
} else {
(function () {
var exports = {};
factory(exports);
global.Long = unwrapDefault(exports);
})();
}
})(
typeof globalThis !== "undefined"
? globalThis
: typeof self !== "undefined"
? self
: this,
function (_exports) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true,
});
_exports.default = void 0;
/**
* @license
* Copyright 2009 The Closure Library Authors
* Copyright 2020 Daniel Wirtz / The long.js Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
*/
// WebAssembly optimizations to do native i64 multiplication and divide
var wasm = null;
try {
wasm = new WebAssembly.Instance(
new WebAssembly.Module(
new Uint8Array([
// \0asm
0, 97, 115, 109,
// version 1
1, 0, 0, 0,
// section "type"
1, 13, 2,
// 0, () => i32
96, 0, 1, 127,
// 1, (i32, i32, i32, i32) => i32
96, 4, 127, 127, 127, 127, 1, 127,