window.__require = function e(t, n, r) {
  function s(o, u, npmPkgName) {
    if (!n[o]) {
      if (!t[o]) {
        var b = o;
        if (o.includes("./")) {
          b = o.split("/");
          b = b[b.length - 1];
        }
        if (!t[b]) {
          var a = "function" == typeof __require && __require;
          if (!u && a) return a(b, !0);
          if (i) return i(b, !0);
          throw new Error("Cannot find module '" + o + "'");
        }
        o = b;
      }
      var f = n[o] = {
        exports: {}
      };
      t[o][0].call(f.exports, function(e) {
        var n = t[o][1][e];
        return s(n || e, void 0, e.includes("./") ? void 0 : e);
      }, f, f.exports, e, t, n, r);
    }
    npmPkgName && n[o] && !n[npmPkgName] && (n[npmPkgName] = n[o]);
    return n[o].exports;
  }
  var i = "function" == typeof __require && __require;
  for (var o = 0; o < r.length; o++) s(r[o]);
  return s;
}({
  "MTFNB-assetLoader": [ function(require, module, exports) {
    "use strict";
    cc._RF.push(module, "94198qinRFOroIcYd0sQsER", "MTFNB-assetLoader");
    "use strict";
    var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
      void 0 === k2 && (k2 = k);
      Object.defineProperty(o, k2, {
        enumerable: true,
        get: function() {
          return m[k];
        }
      });
    } : function(o, m, k, k2) {
      void 0 === k2 && (k2 = k);
      o[k2] = m[k];
    });
    var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) {
      Object.defineProperty(o, "default", {
        enumerable: true,
        value: v
      });
    } : function(o, v) {
      o["default"] = v;
    });
    var __decorate = this && this.__decorate || function(decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if ("object" === typeof Reflect && "function" === typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
      return c > 3 && r && Object.defineProperty(target, key, r), r;
    };
    var __importStar = this && this.__importStar || function(mod) {
      if (mod && mod.__esModule) return mod;
      var result = {};
      if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
      __setModuleDefault(result, mod);
      return result;
    };
    var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) {
      function adopt(value) {
        return value instanceof P ? value : new P(function(resolve) {
          resolve(value);
        });
      }
      return new (P || (P = Promise))(function(resolve, reject) {
        function fulfilled(value) {
          try {
            step(generator.next(value));
          } catch (e) {
            reject(e);
          }
        }
        function rejected(value) {
          try {
            step(generator["throw"](value));
          } catch (e) {
            reject(e);
          }
        }
        function step(result) {
          result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
        }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
      });
    };
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    const zip = __importStar(require("./libs/MTFNB-zip-no-worker-inflate.min"));
    const {ccclass: ccclass, property: property} = cc._decorator;
    zip.configure({
      useWebWorkers: false
    });
    let AssetLoader = class AssetLoader extends cc.Component {
      constructor() {
        super(...arguments);
        this.gameId = "MTFNB";
        this.bundleName = "FishAssets";
        this.sceneName = "Game";
        this._bar = null;
      }
      get bar() {
        this._bar || (this._bar = this.node.getChildByName("bar").getChildByName("$progress").getComponent(cc.ProgressBar));
        return this._bar;
      }
      getBundleVersion(bundleURLPath) {
        return __awaiter(this, void 0, void 0, function*() {
          return new Promise((resolve, reject) => {
            cc.assetManager.loadRemote(`${bundleURLPath}/version.json`, (err, asset) => {
              err && reject(err);
              if (asset.json["version"]) {
                const version = asset.json["version"];
                console.log("getBundleVersion success!", version);
                resolve(version);
              }
            });
          });
        });
      }
      downloadZipBundle(zipBundleURLPath, bundleName) {
        return __awaiter(this, void 0, void 0, function*() {
          return new Promise((resolve, reject) => {
            const storagePath = "undefined" !== typeof jsb ? jsb.fileUtils.getWritablePath() : "undefined path/";
            const unzipLocalBundlePath = `${storagePath}${bundleName}/`;
            let xhr = new XMLHttpRequest();
            xhr.open("GET", zipBundleURLPath, true);
            xhr.responseType = "arraybuffer";
            xhr.onprogress = event => {
              if (event.lengthComputable) {
                const percentComplete = event.loaded / event.total * 100;
                console.log(`downloadZipBundle progress: ${percentComplete.toFixed(2)}%`);
              } else console.log(`downloadZipBundle Downloaded ${event.loaded} bytes`);
            };
            xhr.onreadystatechange = () => __awaiter(this, void 0, void 0, function*() {
              if (4 === xhr.readyState && 200 === xhr.status) {
                console.log("Zip bundle download completed!");
                if ("undefined" !== typeof jsb) {
                  console.log("Unzipping bundle...");
                  let data = new Uint8Array(xhr.response);
                  yield this.unzipBundle(data, unzipLocalBundlePath);
                }
                resolve(unzipLocalBundlePath);
              }
            });
            xhr.send();
          });
        });
      }
      unzipBundle(binaryData, unzipTargetPath) {
        return __awaiter(this, void 0, void 0, function*() {
          const storagePath = "undefined" !== typeof jsb ? jsb.fileUtils.getWritablePath() : "undefined path/";
          const reader = new zip.ZipReader(new zip.Uint8ArrayReader(binaryData));
          const entries = yield reader.getEntries();
          for (const entry of entries) {
            const fullPath = unzipTargetPath + entry.filename;
            if (entry.directory) jsb.fileUtils.createDirectory(fullPath); else {
              const writer = new zip.Uint8ArrayWriter();
              const data = yield entry.getData(writer);
              const dir = fullPath.substring(0, fullPath.lastIndexOf("/"));
              jsb.fileUtils.isDirectoryExist(dir) || jsb.fileUtils.createDirectory(dir);
              const success = jsb.fileUtils.writeDataToFile(data, fullPath);
              success ? console.log("Write file success:", entry.filename) : console.error("Failed to write:", entry.filename);
            }
          }
          yield reader.close();
          console.log("Unzip complete!");
        });
      }
      onLoad() {
        return __awaiter(this, void 0, void 0, function*() {
          let options = {};
          if (cc.sys.isNative) {
            let bundleURLPath = "";
            if (window["subGameInitData_" + this.gameId]) {
              bundleURLPath = "https://www.gl7s.com/jsbGame/FishAssets";
              this.bundleName = `${bundleURLPath}/FishAssets.zip`;
            } else {
              bundleURLPath = "http://18.142.202.107:9999/newRemote/FishAssets";
              this.bundleName = bundleURLPath;
            }
            this.sceneName = `${this.gameId}-Game`;
            try {
              options["version"] = yield this.getBundleVersion(bundleURLPath);
            } catch (e) {
              console.error("getBundleVersion error", e);
            }
            let localBundlePath = "";
            try {
              localBundlePath = yield this.downloadZipBundle(this.bundleName, "FishAssets");
              console.warn("downloadZipBundle localBundlePath", localBundlePath);
            } catch (e) {
              console.error("downloadZipBundle error", e);
            }
            localBundlePath && (this.bundleName = localBundlePath);
          }
          this.bar.progress = 0;
          cc.assetManager.loadBundle(this.bundleName, options, (err, assetBundle) => {
            if (err) return;
            console.log(`Load asset bundle ${this.bundleName} success...loading scene ${this.sceneName}`);
            let bundle = cc.assetManager.getBundle(this.gameId);
            bundle.loadScene(this.sceneName, (finish, total) => {
              if (!this.bar.enabledInHierarchy) return;
              if (this.bar.progress > finish / total) return;
              this.bar.progress = finish / total;
            }, (err1, scene) => {
              cc.assetManager.bundles.forEach((val, key) => {
                console.log("Loaded bundle:", val, key);
              });
              cc.director.runScene(scene);
            });
          });
        });
      }
    };
    __decorate([ property ], AssetLoader.prototype, "gameId", void 0);
    __decorate([ property ], AssetLoader.prototype, "bundleName", void 0);
    __decorate([ property ], AssetLoader.prototype, "sceneName", void 0);
    AssetLoader = __decorate([ ccclass ], AssetLoader);
    exports.default = AssetLoader;
    cc._RF.pop();
  }, {
    "./libs/MTFNB-zip-no-worker-inflate.min": "MTFNB-zip-no-worker-inflate.min"
  } ],
  "MTFNB-zip-no-worker-inflate.min": [ function(require, module, exports) {
    "use strict";
    cc._RF.push(module, "1899fsUcc9MyLRrjKDBYvVc", "MTFNB-zip-no-worker-inflate.min");
    "use strict";
    function _assertThisInitialized(self) {
      if (void 0 === self) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
      return self;
    }
    function _defineProperties(target, props) {
      for (var i = 0; i < props.length; i++) {
        var descriptor = props[i];
        descriptor.enumerable = descriptor.enumerable || false;
        descriptor.configurable = true;
        "value" in descriptor && (descriptor.writable = true);
        Object.defineProperty(target, descriptor.key, descriptor);
      }
    }
    function _createClass(Constructor, protoProps, staticProps) {
      protoProps && _defineProperties(Constructor.prototype, protoProps);
      staticProps && _defineProperties(Constructor, staticProps);
      Object.defineProperty(Constructor, "prototype", {
        writable: false
      });
      return Constructor;
    }
    function _createForOfIteratorHelperLoose(o, allowArrayLike) {
      var it = "undefined" !== typeof Symbol && o[Symbol.iterator] || o["@@iterator"];
      if (it) return (it = it.call(o)).next.bind(it);
      if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && "number" === typeof o.length) {
        it && (o = it);
        var i = 0;
        return function() {
          if (i >= o.length) return {
            done: true
          };
          return {
            done: false,
            value: o[i++]
          };
        };
      }
      throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
    }
    function _unsupportedIterableToArray(o, minLen) {
      if (!o) return;
      if ("string" === typeof o) return _arrayLikeToArray(o, minLen);
      var n = Object.prototype.toString.call(o).slice(8, -1);
      "Object" === n && o.constructor && (n = o.constructor.name);
      if ("Map" === n || "Set" === n) return Array.from(o);
      if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
    }
    function _arrayLikeToArray(arr, len) {
      (null == len || len > arr.length) && (len = arr.length);
      for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
      return arr2;
    }
    function _inheritsLoose(subClass, superClass) {
      subClass.prototype = Object.create(superClass.prototype);
      subClass.prototype.constructor = subClass;
      _setPrototypeOf(subClass, superClass);
    }
    function _setPrototypeOf(o, p) {
      _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
        o.__proto__ = p;
        return o;
      };
      return _setPrototypeOf(o, p);
    }
    function _regeneratorRuntime() {
      _regeneratorRuntime = function _regeneratorRuntime() {
        return exports;
      };
      var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
      function define(obj, key, value) {
        return Object.defineProperty(obj, key, {
          value: value,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }), obj[key];
      }
      try {
        define({}, "");
      } catch (err) {
        define = function define(obj, key, value) {
          return obj[key] = value;
        };
      }
      function wrap(innerFn, outerFn, self, tryLocsList) {
        var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []);
        return generator._invoke = function(innerFn, self, context) {
          var state = "suspendedStart";
          return function(method, arg) {
            if ("executing" === state) throw new Error("Generator is already running");
            if ("completed" === state) {
              if ("throw" === method) throw arg;
              return doneResult();
            }
            for (context.method = method, context.arg = arg; ;) {
              var delegate = context.delegate;
              if (delegate) {
                var delegateResult = maybeInvokeDelegate(delegate, context);
                if (delegateResult) {
                  if (delegateResult === ContinueSentinel) continue;
                  return delegateResult;
                }
              }
              if ("next" === context.method) context.sent = context._sent = context.arg; else if ("throw" === context.method) {
                if ("suspendedStart" === state) throw state = "completed", context.arg;
                context.dispatchException(context.arg);
              } else "return" === context.method && context.abrupt("return", context.arg);
              state = "executing";
              var record = tryCatch(innerFn, self, context);
              if ("normal" === record.type) {
                if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
                return {
                  value: record.arg,
                  done: context.done
                };
              }
              "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
            }
          };
        }(innerFn, self, context), generator;
      }
      function tryCatch(fn, obj, arg) {
        try {
          return {
            type: "normal",
            arg: fn.call(obj, arg)
          };
        } catch (err) {
          return {
            type: "throw",
            arg: err
          };
        }
      }
      exports.wrap = wrap;
      var ContinueSentinel = {};
      function Generator() {}
      function GeneratorFunction() {}
      function GeneratorFunctionPrototype() {}
      var IteratorPrototype = {};
      define(IteratorPrototype, iteratorSymbol, function() {
        return this;
      });
      var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([])));
      NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
      var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
      function defineIteratorMethods(prototype) {
        [ "next", "throw", "return" ].forEach(function(method) {
          define(prototype, method, function(arg) {
            return this._invoke(method, arg);
          });
        });
      }
      function AsyncIterator(generator, PromiseImpl) {
        function invoke(method, arg, resolve, reject) {
          var record = tryCatch(generator[method], generator, arg);
          if ("throw" !== record.type) {
            var result = record.arg, value = result.value;
            return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value) {
              invoke("next", value, resolve, reject);
            }, function(err) {
              invoke("throw", err, resolve, reject);
            }) : PromiseImpl.resolve(value).then(function(unwrapped) {
              result.value = unwrapped, resolve(result);
            }, function(error) {
              return invoke("throw", error, resolve, reject);
            });
          }
          reject(record.arg);
        }
        var previousPromise;
        this._invoke = function(method, arg) {
          function callInvokeWithMethodAndArg() {
            return new PromiseImpl(function(resolve, reject) {
              invoke(method, arg, resolve, reject);
            });
          }
          return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
        };
      }
      function maybeInvokeDelegate(delegate, context) {
        var method = delegate.iterator[context.method];
        if (void 0 === method) {
          if (context.delegate = null, "throw" === context.method) {
            if (delegate.iterator["return"] && (context.method = "return", context.arg = void 0, 
            maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
            context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
          }
          return ContinueSentinel;
        }
        var record = tryCatch(method, delegate.iterator, context.arg);
        if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, 
        context.delegate = null, ContinueSentinel;
        var info = record.arg;
        return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, 
        "return" !== context.method && (context.method = "next", context.arg = void 0), 
        context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), 
        context.delegate = null, ContinueSentinel);
      }
      function pushTryEntry(locs) {
        var entry = {
          tryLoc: locs[0]
        };
        1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], 
        entry.afterLoc = locs[3]), this.tryEntries.push(entry);
      }
      function resetTryEntry(entry) {
        var record = entry.completion || {};
        record.type = "normal", delete record.arg, entry.completion = record;
      }
      function Context(tryLocsList) {
        this.tryEntries = [ {
          tryLoc: "root"
        } ], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
      }
      function values(iterable) {
        if (iterable) {
          var iteratorMethod = iterable[iteratorSymbol];
          if (iteratorMethod) return iteratorMethod.call(iterable);
          if ("function" == typeof iterable.next) return iterable;
          if (!isNaN(iterable.length)) {
            var i = -1, next = function next() {
              for (;++i < iterable.length; ) if (hasOwn.call(iterable, i)) return next.value = iterable[i], 
              next.done = !1, next;
              return next.value = void 0, next.done = !0, next;
            };
            return next.next = next;
          }
        }
        return {
          next: doneResult
        };
      }
      function doneResult() {
        return {
          value: void 0,
          done: !0
        };
      }
      return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), 
      define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), 
      exports.isGeneratorFunction = function(genFun) {
        var ctor = "function" == typeof genFun && genFun.constructor;
        return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
      }, exports.mark = function(genFun) {
        return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, 
        define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), 
        genFun;
      }, exports.awrap = function(arg) {
        return {
          __await: arg
        };
      }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function() {
        return this;
      }), exports.AsyncIterator = AsyncIterator, exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
        void 0 === PromiseImpl && (PromiseImpl = Promise);
        var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
        return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
          return result.done ? result.value : iter.next();
        });
      }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function() {
        return this;
      }), define(Gp, "toString", function() {
        return "[object Generator]";
      }), exports.keys = function(object) {
        var keys = [];
        for (var key in object) keys.push(key);
        return keys.reverse(), function next() {
          for (;keys.length; ) {
            var key = keys.pop();
            if (key in object) return next.value = key, next.done = !1, next;
          }
          return next.done = !0, next;
        };
      }, exports.values = values, Context.prototype = {
        constructor: Context,
        reset: function reset(skipTempReset) {
          if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = !1, 
          this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), 
          !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0);
        },
        stop: function stop() {
          this.done = !0;
          var rootRecord = this.tryEntries[0].completion;
          if ("throw" === rootRecord.type) throw rootRecord.arg;
          return this.rval;
        },
        dispatchException: function dispatchException(exception) {
          if (this.done) throw exception;
          var context = this;
          function handle(loc, caught) {
            return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", 
            context.arg = void 0), !!caught;
          }
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i], record = entry.completion;
            if ("root" === entry.tryLoc) return handle("end");
            if (entry.tryLoc <= this.prev) {
              var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc");
              if (hasCatch && hasFinally) {
                if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
                if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
              } else if (hasCatch) {
                if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
              } else {
                if (!hasFinally) throw new Error("try statement without catch or finally");
                if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
              }
            }
          }
        },
        abrupt: function abrupt(type, arg) {
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
              var finallyEntry = entry;
              break;
            }
          }
          finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
          var record = finallyEntry ? finallyEntry.completion : {};
          return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", 
          this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
        },
        complete: function complete(record, afterLoc) {
          if ("throw" === record.type) throw record.arg;
          return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, 
          this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), 
          ContinueSentinel;
        },
        finish: function finish(finallyLoc) {
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), 
            resetTryEntry(entry), ContinueSentinel;
          }
        },
        catch: function _catch(tryLoc) {
          for (var i = this.tryEntries.length - 1; i >= 0; --i) {
            var entry = this.tryEntries[i];
            if (entry.tryLoc === tryLoc) {
              var record = entry.completion;
              if ("throw" === record.type) {
                var thrown = record.arg;
                resetTryEntry(entry);
              }
              return thrown;
            }
          }
          throw new Error("illegal catch attempt");
        },
        delegateYield: function delegateYield(iterable, resultName, nextLoc) {
          return this.delegate = {
            iterator: values(iterable),
            resultName: resultName,
            nextLoc: nextLoc
          }, "next" === this.method && (this.arg = void 0), ContinueSentinel;
        }
      }, exports;
    }
    function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
      try {
        var info = gen[key](arg);
        var value = info.value;
      } catch (error) {
        reject(error);
        return;
      }
      info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
    }
    function _asyncToGenerator(fn) {
      return function() {
        var self = this, args = arguments;
        return new Promise(function(resolve, reject) {
          var gen = fn.apply(self, args);
          function _next(value) {
            asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
          }
          function _throw(err) {
            asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
          }
          _next(void 0);
        });
      };
    }
    (function(e, t) {
      "object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define([ "exports" ], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).zip = {});
    })(void 0, function(e) {
      var t = globalThis.Array, n = globalThis.Object, i = globalThis.String, r = globalThis.BigInt, a = globalThis.Math, s = globalThis.Date, o = globalThis.Map, l = globalThis.URL, c = globalThis.Error, d = globalThis.Uint8Array, u = globalThis.Uint16Array, f = globalThis.Uint32Array, h = globalThis.DataView, _ = globalThis.Blob, w = globalThis.Promise, p = globalThis.TextEncoder, b = globalThis.TextDecoder, g = globalThis.FileReader, y = globalThis.document, x = globalThis.crypto, m = globalThis.btoa, k = -2, v = -3, R = -5, S = [ 0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535 ], A = [ 96, 7, 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, 9, 192, 80, 7, 10, 0, 8, 96, 0, 8, 32, 0, 9, 160, 0, 8, 0, 0, 8, 128, 0, 8, 64, 0, 9, 224, 80, 7, 6, 0, 8, 88, 0, 8, 24, 0, 9, 144, 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, 9, 208, 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, 9, 176, 0, 8, 8, 0, 8, 136, 0, 8, 72, 0, 9, 240, 80, 7, 4, 0, 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, 8, 116, 0, 8, 52, 0, 9, 200, 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, 9, 168, 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, 9, 232, 80, 7, 8, 0, 8, 92, 0, 8, 28, 0, 9, 152, 84, 7, 83, 0, 8, 124, 0, 8, 60, 0, 9, 216, 82, 7, 23, 0, 8, 108, 0, 8, 44, 0, 9, 184, 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, 9, 248, 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, 50, 0, 9, 196, 81, 7, 11, 0, 8, 98, 0, 8, 34, 0, 9, 164, 0, 8, 2, 0, 8, 130, 0, 8, 66, 0, 9, 228, 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, 9, 148, 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, 9, 212, 82, 7, 19, 0, 8, 106, 0, 8, 42, 0, 9, 180, 0, 8, 10, 0, 8, 138, 0, 8, 74, 0, 9, 244, 80, 7, 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, 9, 204, 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, 9, 172, 0, 8, 6, 0, 8, 134, 0, 8, 70, 0, 9, 236, 80, 7, 9, 0, 8, 94, 0, 8, 30, 0, 9, 156, 84, 7, 99, 0, 8, 126, 0, 8, 62, 0, 9, 220, 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, 9, 188, 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, 9, 252, 96, 7, 256, 0, 8, 81, 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, 0, 8, 49, 0, 9, 194, 80, 7, 10, 0, 8, 97, 0, 8, 33, 0, 9, 162, 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, 9, 226, 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, 9, 146, 83, 7, 59, 0, 8, 121, 0, 8, 57, 0, 9, 210, 81, 7, 17, 0, 8, 105, 0, 8, 41, 0, 9, 178, 0, 8, 9, 0, 8, 137, 0, 8, 73, 0, 9, 242, 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, 9, 202, 81, 7, 13, 0, 8, 101, 0, 8, 37, 0, 9, 170, 0, 8, 5, 0, 8, 133, 0, 8, 69, 0, 9, 234, 80, 7, 8, 0, 8, 93, 0, 8, 29, 0, 9, 154, 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, 9, 218, 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, 9, 186, 0, 8, 13, 0, 8, 141, 0, 8, 77, 0, 9, 250, 80, 7, 3, 0, 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, 8, 115, 0, 8, 51, 0, 9, 198, 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, 9, 166, 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, 9, 230, 80, 7, 7, 0, 8, 91, 0, 8, 27, 0, 9, 150, 84, 7, 67, 0, 8, 123, 0, 8, 59, 0, 9, 214, 82, 7, 19, 0, 8, 107, 0, 8, 43, 0, 9, 182, 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, 9, 246, 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, 55, 0, 9, 206, 81, 7, 15, 0, 8, 103, 0, 8, 39, 0, 9, 174, 0, 8, 7, 0, 8, 135, 0, 8, 71, 0, 9, 238, 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, 9, 158, 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, 9, 222, 82, 7, 27, 0, 8, 111, 0, 8, 47, 0, 9, 190, 0, 8, 15, 0, 8, 143, 0, 8, 79, 0, 9, 254, 96, 7, 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, 9, 193, 80, 7, 10, 0, 8, 96, 0, 8, 32, 0, 9, 161, 0, 8, 0, 0, 8, 128, 0, 8, 64, 0, 9, 225, 80, 7, 6, 0, 8, 88, 0, 8, 24, 0, 9, 145, 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, 9, 209, 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, 9, 177, 0, 8, 8, 0, 8, 136, 0, 8, 72, 0, 9, 241, 80, 7, 4, 0, 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, 8, 116, 0, 8, 52, 0, 9, 201, 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, 9, 169, 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, 9, 233, 80, 7, 8, 0, 8, 92, 0, 8, 28, 0, 9, 153, 84, 7, 83, 0, 8, 124, 0, 8, 60, 0, 9, 217, 82, 7, 23, 0, 8, 108, 0, 8, 44, 0, 9, 185, 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, 9, 249, 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, 50, 0, 9, 197, 81, 7, 11, 0, 8, 98, 0, 8, 34, 0, 9, 165, 0, 8, 2, 0, 8, 130, 0, 8, 66, 0, 9, 229, 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, 9, 149, 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, 9, 213, 82, 7, 19, 0, 8, 106, 0, 8, 42, 0, 9, 181, 0, 8, 10, 0, 8, 138, 0, 8, 74, 0, 9, 245, 80, 7, 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, 9, 205, 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, 9, 173, 0, 8, 6, 0, 8, 134, 0, 8, 70, 0, 9, 237, 80, 7, 9, 0, 8, 94, 0, 8, 30, 0, 9, 157, 84, 7, 99, 0, 8, 126, 0, 8, 62, 0, 9, 221, 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, 9, 189, 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, 9, 253, 96, 7, 256, 0, 8, 81, 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, 0, 8, 49, 0, 9, 195, 80, 7, 10, 0, 8, 97, 0, 8, 33, 0, 9, 163, 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, 9, 227, 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, 9, 147, 83, 7, 59, 0, 8, 121, 0, 8, 57, 0, 9, 211, 81, 7, 17, 0, 8, 105, 0, 8, 41, 0, 9, 179, 0, 8, 9, 0, 8, 137, 0, 8, 73, 0, 9, 243, 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, 9, 203, 81, 7, 13, 0, 8, 101, 0, 8, 37, 0, 9, 171, 0, 8, 5, 0, 8, 133, 0, 8, 69, 0, 9, 235, 80, 7, 8, 0, 8, 93, 0, 8, 29, 0, 9, 155, 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, 9, 219, 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, 9, 187, 0, 8, 13, 0, 8, 141, 0, 8, 77, 0, 9, 251, 80, 7, 3, 0, 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, 8, 115, 0, 8, 51, 0, 9, 199, 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, 9, 167, 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, 9, 231, 80, 7, 7, 0, 8, 91, 0, 8, 27, 0, 9, 151, 84, 7, 67, 0, 8, 123, 0, 8, 59, 0, 9, 215, 82, 7, 19, 0, 8, 107, 0, 8, 43, 0, 9, 183, 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, 9, 247, 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, 55, 0, 9, 207, 81, 7, 15, 0, 8, 103, 0, 8, 39, 0, 9, 175, 0, 8, 7, 0, 8, 135, 0, 8, 71, 0, 9, 239, 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, 9, 159, 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, 9, 223, 82, 7, 27, 0, 8, 111, 0, 8, 47, 0, 9, 191, 0, 8, 15, 0, 8, 143, 0, 8, 79, 0, 9, 255 ], T = [ 80, 5, 1, 87, 5, 257, 83, 5, 17, 91, 5, 4097, 81, 5, 5, 89, 5, 1025, 85, 5, 65, 93, 5, 16385, 80, 5, 3, 88, 5, 513, 84, 5, 33, 92, 5, 8193, 82, 5, 9, 90, 5, 2049, 86, 5, 129, 192, 5, 24577, 80, 5, 2, 87, 5, 385, 83, 5, 25, 91, 5, 6145, 81, 5, 7, 89, 5, 1537, 85, 5, 97, 93, 5, 24577, 80, 5, 4, 88, 5, 769, 84, 5, 49, 92, 5, 12289, 82, 5, 13, 90, 5, 3073, 86, 5, 193, 192, 5, 24577 ], U = [ 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0 ], z = [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 112, 112 ], E = [ 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577 ], F = [ 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13 ];
      function D() {
        var e, t, n, i, r, a;
        function s(e, t, s, o, l, c, d, u, f, h, _) {
          var w, p, b, g, y, x, m, k, S, A, T, U, z, E, F;
          A = 0, y = s;
          do {
            n[e[t + A]]++, A++, y--;
          } while (0 !== y);
          if (n[0] == s) return d[0] = -1, u[0] = 0, 0;
          for (k = u[0], x = 1; 15 >= x && 0 === n[x]; x++) ;
          for (m = x, x > k && (k = x), y = 15; 0 !== y && 0 === n[y]; y--) ;
          for (b = y, k > y && (k = y), u[0] = k, E = 1 << x; y > x; x++, E <<= 1) if (0 > (E -= n[x])) return v;
          if (0 > (E -= n[y])) return v;
          for (n[y] += E, a[1] = x = 0, A = 1, z = 2; 0 != --y; ) a[z] = x += n[A], z++, A++;
          y = 0, A = 0;
          do {
            0 !== (x = e[t + A]) && (_[a[x]++] = y), A++;
          } while (++y < s);
          for (s = a[b], a[0] = y = 0, A = 0, g = -1, U = -k, r[0] = 0, T = 0, F = 0; b >= m; m++) for (w = n[m]; 0 != w--; ) {
            for (;m > U + k; ) {
              if (g++, U += k, F = b - U, F = F > k ? k : F, (p = 1 << (x = m - U)) > w + 1 && (p -= w + 1, 
              z = m, F > x)) for (;++x < F && (p <<= 1) > n[++z]; ) p -= n[z];
              if (F = 1 << x, h[0] + F > 1440) return v;
              r[g] = T = h[0], h[0] += F, 0 !== g ? (a[g] = y, i[0] = x, i[1] = k, x = y >>> U - k, 
              i[2] = T - r[g - 1] - x, f.set(i, 3 * (r[g - 1] + x))) : d[0] = T;
            }
            for (i[1] = m - U, s > A ? _[A] < o ? (i[0] = 256 > _[A] ? 0 : 96, i[2] = _[A++]) : (i[0] = c[_[A] - o] + 16 + 64, 
            i[2] = l[_[A++] - o]) : i[0] = 192, p = 1 << m - U, x = y >>> U; F > x; x += p) f.set(i, 3 * (T + x));
            for (x = 1 << m - 1; 0 != (y & x); x >>>= 1) y ^= x;
            for (y ^= x, S = (1 << U) - 1; (y & S) != a[g]; ) g--, U -= k, S = (1 << U) - 1;
          }
          return 0 !== E && 1 != b ? R : 0;
        }
        function o(s) {
          var o;
          for (e || (e = [], t = [], n = new Int32Array(16), i = [], r = new Int32Array(15), 
          a = new Int32Array(16)), t.length < s && (t = []), o = 0; s > o; o++) t[o] = 0;
          for (o = 0; 16 > o; o++) n[o] = 0;
          for (o = 0; 3 > o; o++) i[o] = 0;
          r.set(n.subarray(0, 15), 0), a.set(n.subarray(0, 16), 0);
        }
        this.inflate_trees_bits = function(n, i, r, a, l) {
          var c;
          return o(19), e[0] = 0, c = s(n, 0, 19, 19, null, null, r, i, a, e, t), c == v ? l.msg = "oversubscribed dynamic bit lengths tree" : c != R && 0 !== i[0] || (l.msg = "incomplete dynamic bit lengths tree", 
          c = v), c;
        }, this.inflate_trees_dynamic = function(n, i, r, a, l, c, d, u, f) {
          var h;
          return o(288), e[0] = 0, h = s(r, 0, n, 257, U, z, c, a, u, e, t), 0 != h || 0 === a[0] ? (h == v ? f.msg = "oversubscribed literal/length tree" : -4 != h && (f.msg = "incomplete literal/length tree", 
          h = v), h) : (o(288), h = s(r, n, i, 0, E, F, d, l, u, e, t), 0 != h || 0 === l[0] && n > 257 ? (h == v ? f.msg = "oversubscribed distance tree" : h == R ? (f.msg = "incomplete distance tree", 
          h = v) : -4 != h && (f.msg = "empty distance tree with lengths", h = v), h) : 0);
        };
      }
      function C() {
        var e = this;
        var t, n, i, r, a = 0, s = 0, o = 0, l = 0, c = 0, d = 0, u = 0, f = 0, h = 0, _ = 0;
        function w(e, t, n, i, r, a, s, o) {
          var l, c, d, u, f, h, _, w, p, b, g, y, x, m, k, R;
          _ = o.next_in_index, w = o.avail_in, f = s.bitb, h = s.bitk, p = s.write, b = p < s.read ? s.read - p - 1 : s.end - p, 
          g = S[e], y = S[t];
          do {
            for (;20 > h; ) w--, f |= (255 & o.read_byte(_++)) << h, h += 8;
            if (l = f & g, c = n, d = i, R = 3 * (d + l), 0 !== (u = c[R])) for (;;) {
              if (f >>= c[R + 1], h -= c[R + 1], 0 != (16 & u)) {
                for (u &= 15, x = c[R + 2] + (f & S[u]), f >>= u, h -= u; 15 > h; ) w--, f |= (255 & o.read_byte(_++)) << h, 
                h += 8;
                for (l = f & y, c = r, d = a, R = 3 * (d + l), u = c[R]; ;) {
                  if (f >>= c[R + 1], h -= c[R + 1], 0 != (16 & u)) {
                    for (u &= 15; u > h; ) w--, f |= (255 & o.read_byte(_++)) << h, h += 8;
                    if (m = c[R + 2] + (f & S[u]), f >>= u, h -= u, b -= x, m > p) {
                      k = p - m;
                      do {
                        k += s.end;
                      } while (0 > k);
                      if (u = s.end - k, x > u) {
                        if (x -= u, p - k > 0 && u > p - k) do {
                          s.win[p++] = s.win[k++];
                        } while (0 != --u); else s.win.set(s.win.subarray(k, k + u), p), p += u, k += u, 
                        u = 0;
                        k = 0;
                      }
                    } else k = p - m, p - k > 0 && 2 > p - k ? (s.win[p++] = s.win[k++], s.win[p++] = s.win[k++], 
                    x -= 2) : (s.win.set(s.win.subarray(k, k + 2), p), p += 2, k += 2, x -= 2);
                    if (p - k > 0 && x > p - k) do {
                      s.win[p++] = s.win[k++];
                    } while (0 != --x); else s.win.set(s.win.subarray(k, k + x), p), p += x, k += x, 
                    x = 0;
                    break;
                  }
                  if (0 != (64 & u)) return o.msg = "invalid distance code", x = o.avail_in - w, x = x > h >> 3 ? h >> 3 : x, 
                  w += x, _ -= x, h -= x << 3, s.bitb = f, s.bitk = h, o.avail_in = w, o.total_in += _ - o.next_in_index, 
                  o.next_in_index = _, s.write = p, v;
                  l += c[R + 2], l += f & S[u], R = 3 * (d + l), u = c[R];
                }
                break;
              }
              if (0 != (64 & u)) return 0 != (32 & u) ? (x = o.avail_in - w, x = x > h >> 3 ? h >> 3 : x, 
              w += x, _ -= x, h -= x << 3, s.bitb = f, s.bitk = h, o.avail_in = w, o.total_in += _ - o.next_in_index, 
              o.next_in_index = _, s.write = p, 1) : (o.msg = "invalid literal/length code", x = o.avail_in - w, 
              x = x > h >> 3 ? h >> 3 : x, w += x, _ -= x, h -= x << 3, s.bitb = f, s.bitk = h, 
              o.avail_in = w, o.total_in += _ - o.next_in_index, o.next_in_index = _, s.write = p, 
              v);
              if (l += c[R + 2], l += f & S[u], R = 3 * (d + l), 0 === (u = c[R])) {
                f >>= c[R + 1], h -= c[R + 1], s.win[p++] = c[R + 2], b--;
                break;
              }
            } else f >>= c[R + 1], h -= c[R + 1], s.win[p++] = c[R + 2], b--;
          } while (b >= 258 && w >= 10);
          return x = o.avail_in - w, x = x > h >> 3 ? h >> 3 : x, w += x, _ -= x, h -= x << 3, 
          s.bitb = f, s.bitk = h, o.avail_in = w, o.total_in += _ - o.next_in_index, o.next_in_index = _, 
          s.write = p, 0;
        }
        e.init = function(e, a, s, o, l, c) {
          t = 0, u = e, f = a, i = s, h = o, r = l, _ = c, n = null;
        }, e.proc = function(e, p, b) {
          var g, y, x, m, R, A, T, U = 0, z = 0, E = 0;
          for (E = p.next_in_index, m = p.avail_in, U = e.bitb, z = e.bitk, R = e.write, A = R < e.read ? e.read - R - 1 : e.end - R; ;) switch (t) {
           case 0:
            if (A >= 258 && m >= 10 && (e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
            p.next_in_index = E, e.write = R, b = w(u, f, i, h, r, _, e, p), E = p.next_in_index, 
            m = p.avail_in, U = e.bitb, z = e.bitk, R = e.write, A = R < e.read ? e.read - R - 1 : e.end - R, 
            0 != b)) {
              t = 1 == b ? 7 : 9;
              break;
            }
            o = u, n = i, s = h, t = 1;

           case 1:
            for (g = o; g > z; ) {
              if (0 === m) return e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
              p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
              b = 0, m--, U |= (255 & p.read_byte(E++)) << z, z += 8;
            }
            if (y = 3 * (s + (U & S[g])), U >>>= n[y + 1], z -= n[y + 1], x = n[y], 0 === x) {
              l = n[y + 2], t = 6;
              break;
            }
            if (0 != (16 & x)) {
              c = 15 & x, a = n[y + 2], t = 2;
              break;
            }
            if (0 == (64 & x)) {
              o = x, s = y / 3 + n[y + 2];
              break;
            }
            if (0 != (32 & x)) {
              t = 7;
              break;
            }
            return t = 9, p.msg = "invalid literal/length code", b = v, e.bitb = U, e.bitk = z, 
            p.avail_in = m, p.total_in += E - p.next_in_index, p.next_in_index = E, e.write = R, 
            e.inflate_flush(p, b);

           case 2:
            for (g = c; g > z; ) {
              if (0 === m) return e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
              p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
              b = 0, m--, U |= (255 & p.read_byte(E++)) << z, z += 8;
            }
            a += U & S[g], U >>= g, z -= g, o = f, n = r, s = _, t = 3;

           case 3:
            for (g = o; g > z; ) {
              if (0 === m) return e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
              p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
              b = 0, m--, U |= (255 & p.read_byte(E++)) << z, z += 8;
            }
            if (y = 3 * (s + (U & S[g])), U >>= n[y + 1], z -= n[y + 1], x = n[y], 0 != (16 & x)) {
              c = 15 & x, d = n[y + 2], t = 4;
              break;
            }
            if (0 == (64 & x)) {
              o = x, s = y / 3 + n[y + 2];
              break;
            }
            return t = 9, p.msg = "invalid distance code", b = v, e.bitb = U, e.bitk = z, p.avail_in = m, 
            p.total_in += E - p.next_in_index, p.next_in_index = E, e.write = R, e.inflate_flush(p, b);

           case 4:
            for (g = c; g > z; ) {
              if (0 === m) return e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
              p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
              b = 0, m--, U |= (255 & p.read_byte(E++)) << z, z += 8;
            }
            d += U & S[g], U >>= g, z -= g, t = 5;

           case 5:
            for (T = R - d; 0 > T; ) T += e.end;
            for (;0 !== a; ) {
              if (0 === A && (R == e.end && 0 !== e.read && (R = 0, A = R < e.read ? e.read - R - 1 : e.end - R), 
              0 === A && (e.write = R, b = e.inflate_flush(p, b), R = e.write, A = R < e.read ? e.read - R - 1 : e.end - R, 
              R == e.end && 0 !== e.read && (R = 0, A = R < e.read ? e.read - R - 1 : e.end - R), 
              0 === A))) return e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
              p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
              e.win[R++] = e.win[T++], A--, T == e.end && (T = 0), a--;
            }
            t = 0;
            break;

           case 6:
            if (0 === A && (R == e.end && 0 !== e.read && (R = 0, A = R < e.read ? e.read - R - 1 : e.end - R), 
            0 === A && (e.write = R, b = e.inflate_flush(p, b), R = e.write, A = R < e.read ? e.read - R - 1 : e.end - R, 
            R == e.end && 0 !== e.read && (R = 0, A = R < e.read ? e.read - R - 1 : e.end - R), 
            0 === A))) return e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
            p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
            b = 0, e.win[R++] = l, A--, t = 0;
            break;

           case 7:
            if (z > 7 && (z -= 8, m++, E--), e.write = R, b = e.inflate_flush(p, b), R = e.write, 
            A = R < e.read ? e.read - R - 1 : e.end - R, e.read != e.write) return e.bitb = U, 
            e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, p.next_in_index = E, 
            e.write = R, e.inflate_flush(p, b);
            t = 8;

           case 8:
            return b = 1, e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
            p.next_in_index = E, e.write = R, e.inflate_flush(p, b);

           case 9:
            return b = v, e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
            p.next_in_index = E, e.write = R, e.inflate_flush(p, b);

           default:
            return b = k, e.bitb = U, e.bitk = z, p.avail_in = m, p.total_in += E - p.next_in_index, 
            p.next_in_index = E, e.write = R, e.inflate_flush(p, b);
          }
        }, e.free = function() {};
      }
      D.inflate_trees_fixed = function(e, t, n, i) {
        return e[0] = 9, t[0] = 5, n[0] = A, i[0] = T, 0;
      };
      var B = [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ];
      function W(e, t) {
        var n = this;
        var i, r = 0, a = 0, s = 0, o = 0;
        var l = [ 0 ], c = [ 0 ], u = new C();
        var f = 0, h = new Int32Array(4320);
        var _ = new D();
        n.bitk = 0, n.bitb = 0, n.win = new d(t), n.end = t, n.read = 0, n.write = 0, n.reset = function(e, t) {
          t && (t[0] = 0), 6 == r && u.free(e), r = 0, n.bitk = 0, n.bitb = 0, n.read = n.write = 0;
        }, n.reset(e, null), n.inflate_flush = function(e, t) {
          var i, r, a;
          return r = e.next_out_index, a = n.read, i = (a > n.write ? n.end : n.write) - a, 
          i > e.avail_out && (i = e.avail_out), 0 !== i && t == R && (t = 0), e.avail_out -= i, 
          e.total_out += i, e.next_out.set(n.win.subarray(a, a + i), r), r += i, a += i, a == n.end && (a = 0, 
          n.write == n.end && (n.write = 0), i = n.write - a, i > e.avail_out && (i = e.avail_out), 
          0 !== i && t == R && (t = 0), e.avail_out -= i, e.total_out += i, e.next_out.set(n.win.subarray(a, a + i), r), 
          r += i, a += i), e.next_out_index = r, n.read = a, t;
        }, n.proc = function(e, t) {
          var d, w, p, b, g, y, x, m;
          for (b = e.next_in_index, g = e.avail_in, w = n.bitb, p = n.bitk, y = n.write, x = y < n.read ? n.read - y - 1 : n.end - y; ;) {
            var _R = void 0, _A = void 0, _T = void 0, _U = void 0, _z = void 0, _E = void 0, _F = void 0, _C = void 0;
            switch (r) {
             case 0:
              for (;3 > p; ) {
                if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
                e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                t = 0, g--, w |= (255 & e.read_byte(b++)) << p, p += 8;
              }
              switch (d = 7 & w, f = 1 & d, d >>> 1) {
               case 0:
                w >>>= 3, p -= 3, d = 7 & p, w >>>= d, p -= d, r = 1;
                break;

               case 1:
                _R = [], _A = [], _T = [ [] ], _U = [ [] ], D.inflate_trees_fixed(_R, _A, _T, _U), 
                u.init(_R[0], _A[0], _T[0], 0, _U[0], 0), w >>>= 3, p -= 3, r = 6;
                break;

               case 2:
                w >>>= 3, p -= 3, r = 3;
                break;

               case 3:
                return w >>>= 3, p -= 3, r = 9, e.msg = "invalid block type", t = v, n.bitb = w, 
                n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, e.next_in_index = b, 
                n.write = y, n.inflate_flush(e, t);
              }
              break;

             case 1:
              for (;32 > p; ) {
                if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
                e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                t = 0, g--, w |= (255 & e.read_byte(b++)) << p, p += 8;
              }
              if ((~w >>> 16 & 65535) != (65535 & w)) return r = 9, e.msg = "invalid stored block lengths", 
              t = v, n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              a = 65535 & w, w = p = 0, r = 0 !== a ? 2 : 0 !== f ? 7 : 0;
              break;

             case 2:
              if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              if (0 === x && (y == n.end && 0 !== n.read && (y = 0, x = y < n.read ? n.read - y - 1 : n.end - y), 
              0 === x && (n.write = y, t = n.inflate_flush(e, t), y = n.write, x = y < n.read ? n.read - y - 1 : n.end - y, 
              y == n.end && 0 !== n.read && (y = 0, x = y < n.read ? n.read - y - 1 : n.end - y), 
              0 === x))) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              if (t = 0, d = a, d > g && (d = g), d > x && (d = x), n.win.set(e.read_buf(b, d), y), 
              b += d, g -= d, y += d, x -= d, 0 != (a -= d)) break;
              r = 0 !== f ? 7 : 0;
              break;

             case 3:
              for (;14 > p; ) {
                if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
                e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                t = 0, g--, w |= (255 & e.read_byte(b++)) << p, p += 8;
              }
              if (s = d = 16383 & w, (31 & d) > 29 || (d >> 5 & 31) > 29) return r = 9, e.msg = "too many length or distance symbols", 
              t = v, n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              if (d = 258 + (31 & d) + (d >> 5 & 31), !i || i.length < d) i = []; else for (m = 0; d > m; m++) i[m] = 0;
              w >>>= 14, p -= 14, o = 0, r = 4;

             case 4:
              for (;4 + (s >>> 10) > o; ) {
                for (;3 > p; ) {
                  if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
                  e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                  t = 0, g--, w |= (255 & e.read_byte(b++)) << p, p += 8;
                }
                i[B[o++]] = 7 & w, w >>>= 3, p -= 3;
              }
              for (;19 > o; ) i[B[o++]] = 0;
              if (l[0] = 7, d = _.inflate_trees_bits(i, l, c, h, e), 0 != d) return (t = d) == v && (i = null, 
              r = 9), n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              o = 0, r = 5;

             case 5:
              for (;d = s, 258 + (31 & d) + (d >> 5 & 31) > o; ) {
                var _a = void 0, _u = void 0;
                for (d = l[0]; d > p; ) {
                  if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
                  e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                  t = 0, g--, w |= (255 & e.read_byte(b++)) << p, p += 8;
                }
                if (d = h[3 * (c[0] + (w & S[d])) + 1], _u = h[3 * (c[0] + (w & S[d])) + 2], 16 > _u) w >>>= d, 
                p -= d, i[o++] = _u; else {
                  for (m = 18 == _u ? 7 : _u - 14, _a = 18 == _u ? 11 : 3; d + m > p; ) {
                    if (0 === g) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
                    e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                    t = 0, g--, w |= (255 & e.read_byte(b++)) << p, p += 8;
                  }
                  if (w >>>= d, p -= d, _a += w & S[m], w >>>= m, p -= m, m = o, d = s, m + _a > 258 + (31 & d) + (d >> 5 & 31) || 16 == _u && 1 > m) return i = null, 
                  r = 9, e.msg = "invalid bit length repeat", t = v, n.bitb = w, n.bitk = p, e.avail_in = g, 
                  e.total_in += b - e.next_in_index, e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
                  _u = 16 == _u ? i[m - 1] : 0;
                  do {
                    i[m++] = _u;
                  } while (0 != --_a);
                  o = m;
                }
              }
              if (c[0] = -1, _z = [], _E = [], _F = [], _C = [], _z[0] = 9, _E[0] = 6, d = s, 
              d = _.inflate_trees_dynamic(257 + (31 & d), 1 + (d >> 5 & 31), i, _z, _E, _F, _C, h, e), 
              0 != d) return d == v && (i = null, r = 9), t = d, n.bitb = w, n.bitk = p, e.avail_in = g, 
              e.total_in += b - e.next_in_index, e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              u.init(_z[0], _E[0], h, _F[0], h, _C[0]), r = 6;

             case 6:
              if (n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, e.next_in_index = b, 
              n.write = y, 1 != (t = u.proc(n, e, t))) return n.inflate_flush(e, t);
              if (t = 0, u.free(e), b = e.next_in_index, g = e.avail_in, w = n.bitb, p = n.bitk, 
              y = n.write, x = y < n.read ? n.read - y - 1 : n.end - y, 0 === f) {
                r = 0;
                break;
              }
              r = 7;

             case 7:
              if (n.write = y, t = n.inflate_flush(e, t), y = n.write, x = y < n.read ? n.read - y - 1 : n.end - y, 
              n.read != n.write) return n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
              r = 8;

             case 8:
              return t = 1, n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);

             case 9:
              return t = v, n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);

             default:
              return t = k, n.bitb = w, n.bitk = p, e.avail_in = g, e.total_in += b - e.next_in_index, 
              e.next_in_index = b, n.write = y, n.inflate_flush(e, t);
            }
          }
        }, n.free = function(e) {
          n.reset(e, null), n.win = null, h = null;
        }, n.set_dictionary = function(e, t, i) {
          n.win.set(e.subarray(t, t + i), 0), n.read = n.write = i;
        }, n.sync_point = function() {
          return 1 == r ? 1 : 0;
        };
      }
      var I = 13, L = [ 0, 0, 255, 255 ];
      function H() {
        var e = this;
        function t(e) {
          return e && e.istate ? (e.total_in = e.total_out = 0, e.msg = null, e.istate.mode = 7, 
          e.istate.blocks.reset(e, null), 0) : k;
        }
        e.mode = 0, e.method = 0, e.was = [ 0 ], e.need = 0, e.marker = 0, e.wbits = 0, 
        e.inflateEnd = function(t) {
          return e.blocks && e.blocks.free(t), e.blocks = null, 0;
        }, e.inflateInit = function(n, i) {
          return n.msg = null, e.blocks = null, 8 > i || i > 15 ? (e.inflateEnd(n), k) : (e.wbits = i, 
          n.istate.blocks = new W(n, 1 << i), t(n), 0);
        }, e.inflate = function(e, t) {
          var n, i;
          if (!e || !e.istate || !e.next_in) return k;
          var r = e.istate;
          for (t = 4 == t ? R : 0, n = R; ;) switch (r.mode) {
           case 0:
            if (0 === e.avail_in) return n;
            if (n = t, e.avail_in--, e.total_in++, 8 != (15 & (r.method = e.read_byte(e.next_in_index++)))) {
              r.mode = I, e.msg = "unknown compression method", r.marker = 5;
              break;
            }
            if (8 + (r.method >> 4) > r.wbits) {
              r.mode = I, e.msg = "invalid win size", r.marker = 5;
              break;
            }
            r.mode = 1;

           case 1:
            if (0 === e.avail_in) return n;
            if (n = t, e.avail_in--, e.total_in++, i = 255 & e.read_byte(e.next_in_index++), 
            ((r.method << 8) + i) % 31 != 0) {
              r.mode = I, e.msg = "incorrect header check", r.marker = 5;
              break;
            }
            if (0 == (32 & i)) {
              r.mode = 7;
              break;
            }
            r.mode = 2;

           case 2:
            if (0 === e.avail_in) return n;
            n = t, e.avail_in--, e.total_in++, r.need = (255 & e.read_byte(e.next_in_index++)) << 24 & 4278190080, 
            r.mode = 3;

           case 3:
            if (0 === e.avail_in) return n;
            n = t, e.avail_in--, e.total_in++, r.need += (255 & e.read_byte(e.next_in_index++)) << 16 & 16711680, 
            r.mode = 4;

           case 4:
            if (0 === e.avail_in) return n;
            n = t, e.avail_in--, e.total_in++, r.need += (255 & e.read_byte(e.next_in_index++)) << 8 & 65280, 
            r.mode = 5;

           case 5:
            return 0 === e.avail_in ? n : (n = t, e.avail_in--, e.total_in++, r.need += 255 & e.read_byte(e.next_in_index++), 
            r.mode = 6, 2);

           case 6:
            return r.mode = I, e.msg = "need dictionary", r.marker = 0, k;

           case 7:
            if (n = r.blocks.proc(e, n), n == v) {
              r.mode = I, r.marker = 0;
              break;
            }
            if (0 == n && (n = t), 1 != n) return n;
            n = t, r.blocks.reset(e, r.was), r.mode = 12;

           case 12:
            return e.avail_in = 0, 1;

           case I:
            return v;

           default:
            return k;
          }
        }, e.inflateSetDictionary = function(e, t, n) {
          var i = 0, r = n;
          if (!e || !e.istate || 6 != e.istate.mode) return k;
          var a = e.istate;
          return r < 1 << a.wbits || (r = (1 << a.wbits) - 1, i = n - r), a.blocks.set_dictionary(t, i, r), 
          a.mode = 7, 0;
        }, e.inflateSync = function(e) {
          var n, i, r, a, s;
          if (!e || !e.istate) return k;
          var o = e.istate;
          if (o.mode != I && (o.mode = I, o.marker = 0), 0 === (n = e.avail_in)) return R;
          for (i = e.next_in_index, r = o.marker; 0 !== n && 4 > r; ) e.read_byte(i) == L[r] ? r++ : r = 0 !== e.read_byte(i) ? 0 : 4 - r, 
          i++, n--;
          return e.total_in += i - e.next_in_index, e.next_in_index = i, e.avail_in = n, o.marker = r, 
          4 != r ? v : (a = e.total_in, s = e.total_out, t(e), e.total_in = a, e.total_out = s, 
          o.mode = 7, 0);
        }, e.inflateSyncPoint = function(e) {
          return e && e.istate && e.istate.blocks ? e.istate.blocks.sync_point() : k;
        };
      }
      function M() {}
      M.prototype = {
        inflateInit: function inflateInit(e) {
          var t = this;
          return t.istate = new H(), e || (e = 15), t.istate.inflateInit(t, e);
        },
        inflate: function inflate(e) {
          var t = this;
          return t.istate ? t.istate.inflate(t, e) : k;
        },
        inflateEnd: function inflateEnd() {
          var e = this;
          if (!e.istate) return k;
          var t = e.istate.inflateEnd(e);
          return e.istate = null, t;
        },
        inflateSync: function inflateSync() {
          var e = this;
          return e.istate ? e.istate.inflateSync(e) : k;
        },
        inflateSetDictionary: function inflateSetDictionary(e, t) {
          var n = this;
          return n.istate ? n.istate.inflateSetDictionary(n, e, t) : k;
        },
        read_byte: function read_byte(e) {
          return this.next_in[e];
        },
        read_buf: function read_buf(e, t) {
          return this.next_in.subarray(e, e + t);
        }
      };
      var N = {
        chunkSize: 524288,
        maxWorkers: "undefined" != typeof navigator && navigator.hardwareConcurrency || 2,
        terminateWorkerTimeout: 5e3,
        useWebWorkers: !0,
        workerScripts: void 0
      }, O = n.assign({}, N);
      function P(e) {
        if (void 0 !== e.baseURL && (O.baseURL = e.baseURL), void 0 !== e.chunkSize && (O.chunkSize = e.chunkSize), 
        void 0 !== e.maxWorkers && (O.maxWorkers = e.maxWorkers), void 0 !== e.terminateWorkerTimeout && (O.terminateWorkerTimeout = e.terminateWorkerTimeout), 
        void 0 !== e.useWebWorkers && (O.useWebWorkers = e.useWebWorkers), void 0 !== e.Deflate && (O.Deflate = e.Deflate), 
        void 0 !== e.Inflate && (O.Inflate = e.Inflate), void 0 !== e.workerScripts) {
          if (e.workerScripts.deflate) {
            if (!t.isArray(e.workerScripts.deflate)) throw new c("workerScripts.deflate must be an array");
            O.workerScripts || (O.workerScripts = {}), O.workerScripts.deflate = e.workerScripts.deflate;
          }
          if (e.workerScripts.inflate) {
            if (!t.isArray(e.workerScripts.inflate)) throw new c("workerScripts.inflate must be an array");
            O.workerScripts || (O.workerScripts = {}), O.workerScripts.inflate = e.workerScripts.inflate;
          }
        }
      }
      var V = [];
      for (var _e2 = 0; 256 > _e2; _e2++) {
        var _t2 = _e2;
        for (var _e3 = 0; 8 > _e3; _e3++) 1 & _t2 ? _t2 = _t2 >>> 1 ^ 3988292384 : _t2 >>>= 1;
        V[_e2] = _t2;
      }
      var q = function() {
        function q(e) {
          this.crc = e || -1;
        }
        var _proto = q.prototype;
        _proto.append = function append(e) {
          var t = 0 | this.crc;
          for (var _n = 0, _i = 0 | e.length; _i > _n; _n++) t = t >>> 8 ^ V[255 & (t ^ e[_n])];
          this.crc = t;
        };
        _proto.get = function get() {
          return ~this.crc;
        };
        return q;
      }();
      var K = {
        concat: function concat(e, t) {
          if (0 === e.length || 0 === t.length) return e.concat(t);
          var n = e[e.length - 1], i = K.getPartial(n);
          return 32 === i ? e.concat(t) : K._shiftRight(t, i, 0 | n, e.slice(0, e.length - 1));
        },
        bitLength: function bitLength(e) {
          var t = e.length;
          if (0 === t) return 0;
          var n = e[t - 1];
          return 32 * (t - 1) + K.getPartial(n);
        },
        clamp: function clamp(e, t) {
          if (32 * e.length < t) return e;
          var n = (e = e.slice(0, a.ceil(t / 32))).length;
          return t &= 31, n > 0 && t && (e[n - 1] = K.partial(t, e[n - 1] & 2147483648 >> t - 1, 1)), 
          e;
        },
        partial: function partial(e, t, n) {
          return 32 === e ? t : (n ? 0 | t : t << 32 - e) + 1099511627776 * e;
        },
        getPartial: function getPartial(e) {
          return a.round(e / 1099511627776) || 32;
        },
        _shiftRight: function _shiftRight(e, t, n, i) {
          for (void 0 === i && (i = []); t >= 32; t -= 32) i.push(n), n = 0;
          if (0 === t) return i.concat(e);
          for (var _r = 0; _r < e.length; _r++) i.push(n | e[_r] >>> t), n = e[_r] << 32 - t;
          var r = e.length ? e[e.length - 1] : 0, a = K.getPartial(r);
          return i.push(K.partial(t + a & 31, t + a > 32 ? n : i.pop(), 1)), i;
        }
      }, Z = {
        bytes: {
          fromBits: function fromBits(e) {
            var t = K.bitLength(e) / 8, n = new d(t);
            var i;
            for (var _r2 = 0; t > _r2; _r2++) 0 == (3 & _r2) && (i = e[_r2 / 4]), n[_r2] = i >>> 24, 
            i <<= 8;
            return n;
          },
          toBits: function toBits(e) {
            var t = [];
            var n, i = 0;
            for (n = 0; n < e.length; n++) i = i << 8 | e[n], 3 == (3 & n) && (t.push(i), i = 0);
            return 3 & n && t.push(K.partial(8 * (3 & n), i)), t;
          }
        }
      }, G = {
        sha1: function sha1(e) {
          e ? (this._h = e._h.slice(0), this._buffer = e._buffer.slice(0), this._length = e._length) : this.reset();
        }
      };
      G.sha1.prototype = {
        blockSize: 512,
        reset: function reset() {
          var e = this;
          return e._h = this._init.slice(0), e._buffer = [], e._length = 0, e;
        },
        update: function update(e) {
          var t = this;
          "string" == typeof e && (e = Z.utf8String.toBits(e));
          var n = t._buffer = K.concat(t._buffer, e), i = t._length, r = t._length = i + K.bitLength(e);
          if (r > 9007199254740991) throw new c("Cannot hash more than 2^53 - 1 bits");
          var a = new f(n);
          var s = 0;
          for (var _e4 = t.blockSize + i - (t.blockSize + i & t.blockSize - 1); r >= _e4; _e4 += t.blockSize) t._block(a.subarray(16 * s, 16 * (s + 1))), 
          s += 1;
          return n.splice(0, 16 * s), t;
        },
        finalize: function finalize() {
          var e = this;
          var t = e._buffer;
          var n = e._h;
          t = K.concat(t, [ K.partial(1, 1) ]);
          for (var _e5 = t.length + 2; 15 & _e5; _e5++) t.push(0);
          for (t.push(a.floor(e._length / 4294967296)), t.push(0 | e._length); t.length; ) e._block(t.splice(0, 16));
          return e.reset(), n;
        },
        _init: [ 1732584193, 4023233417, 2562383102, 271733878, 3285377520 ],
        _key: [ 1518500249, 1859775393, 2400959708, 3395469782 ],
        _f: function _f(e, t, n, i) {
          return e > 19 ? e > 39 ? e > 59 ? e > 79 ? void 0 : t ^ n ^ i : t & n | t & i | n & i : t ^ n ^ i : t & n | ~t & i;
        },
        _S: function _S(e, t) {
          return t << e | t >>> 32 - e;
        },
        _block: function _block(e) {
          var n = this, i = n._h, r = t(80);
          for (var _t3 = 0; 16 > _t3; _t3++) r[_t3] = e[_t3];
          var s = i[0], o = i[1], l = i[2], c = i[3], d = i[4];
          for (var _e6 = 0; 79 >= _e6; _e6++) {
            16 > _e6 || (r[_e6] = n._S(1, r[_e6 - 3] ^ r[_e6 - 8] ^ r[_e6 - 14] ^ r[_e6 - 16]));
            var _t4 = n._S(5, s) + n._f(_e6, o, l, c) + d + r[_e6] + n._key[a.floor(_e6 / 20)] | 0;
            d = c, c = l, l = n._S(30, o), o = s, s = _t4;
          }
          i[0] = i[0] + s | 0, i[1] = i[1] + o | 0, i[2] = i[2] + l | 0, i[3] = i[3] + c | 0, 
          i[4] = i[4] + d | 0;
        }
      };
      var j = {
        getRandomValues: function getRandomValues(e) {
          var t = new f(e.buffer), n = function n(e) {
            var t = 987654321;
            var n = 4294967295;
            return function() {
              return t = 36969 * (65535 & t) + (t >> 16) & n, (((t << 16) + (e = 18e3 * (65535 & e) + (e >> 16) & n) & n) / 4294967296 + .5) * (a.random() > .5 ? 1 : -1);
            };
          };
          for (var _i2, _r3 = 0; _r3 < e.length; _r3 += 4) {
            var _e7 = n(4294967296 * (_i2 || a.random()));
            _i2 = 987654071 * _e7(), t[_r3 / 4] = 4294967296 * _e7() | 0;
          }
          return e;
        }
      }, X = {
        importKey: function importKey(e) {
          return new X.hmacSha1(Z.bytes.toBits(e));
        },
        pbkdf2: function pbkdf2(e, t, n, i) {
          if (n = n || 1e4, 0 > i || 0 > n) throw new c("invalid params to pbkdf2");
          var r = 1 + (i >> 5) << 2;
          var a, s, o, l, d;
          var u = new ArrayBuffer(r);
          var f = new h(u), _ = 0;
          var w = K;
          for (t = Z.bytes.toBits(t), d = 1; (r || 1) > _; d++) {
            for (a = s = e.encrypt(w.concat(t, [ d ])), o = 1; n > o; o++) for (s = e.encrypt(s), 
            l = 0; l < s.length; l++) a[l] ^= s[l];
            for (o = 0; (r || 1) > _ && o < a.length; o++) f.setInt32(_, a[o]), _ += 4;
          }
          return u.slice(0, i / 8);
        },
        hmacSha1: function() {
          function hmacSha1(e) {
            var t = this, n = t._hash = G.sha1, i = [ [], [] ], r = n.prototype.blockSize / 32;
            t._baseHash = [ new n(), new n() ], e.length > r && (e = n.hash(e));
            for (var _t5 = 0; r > _t5; _t5++) i[0][_t5] = 909522486 ^ e[_t5], i[1][_t5] = 1549556828 ^ e[_t5];
            t._baseHash[0].update(i[0]), t._baseHash[1].update(i[1]), t._resultHash = new n(t._baseHash[0]);
          }
          var _proto2 = hmacSha1.prototype;
          _proto2.reset = function reset() {
            var e = this;
            e._resultHash = new e._hash(e._baseHash[0]), e._updated = !1;
          };
          _proto2.update = function update(e) {
            this._updated = !0, this._resultHash.update(e);
          };
          _proto2.digest = function digest() {
            var e = this, t = e._resultHash.finalize(), n = new e._hash(e._baseHash[1]).update(t).finalize();
            return e.reset(), n;
          };
          _proto2.encrypt = function encrypt(e) {
            if (this._updated) throw new c("encrypt on already updated hmac called!");
            return this.update(e), this.digest(e);
          };
          return hmacSha1;
        }()
      }, Y = "Invalid pasword", J = 16, Q = {
        name: "PBKDF2"
      }, $ = n.assign({
        hash: {
          name: "HMAC"
        }
      }, Q), ee = n.assign({
        iterations: 1e3,
        hash: {
          name: "SHA-1"
        }
      }, Q), te = [ "deriveBits" ], ne = [ 8, 12, 16 ], ie = [ 16, 24, 32 ], re = 10, ae = [ 0, 0, 0, 0 ], se = void 0 !== x, oe = se && void 0 !== x.subtle, le = Z.bytes, ce = function() {
        function ce(e) {
          var t = this;
          t._tables = [ [ [], [], [], [], [] ], [ [], [], [], [], [] ] ], t._tables[0][0][0] || t._precompute();
          var n = t._tables[0][4], i = t._tables[1], r = e.length;
          var a, s, o, l = 1;
          if (4 !== r && 6 !== r && 8 !== r) throw new c("invalid aes key size");
          for (t._key = [ s = e.slice(0), o = [] ], a = r; 4 * r + 28 > a; a++) {
            var _e8 = s[a - 1];
            (a % r == 0 || 8 === r && a % r == 4) && (_e8 = n[_e8 >>> 24] << 24 ^ n[_e8 >> 16 & 255] << 16 ^ n[_e8 >> 8 & 255] << 8 ^ n[255 & _e8], 
            a % r == 0 && (_e8 = _e8 << 8 ^ _e8 >>> 24 ^ l << 24, l = l << 1 ^ 283 * (l >> 7))), 
            s[a] = s[a - r] ^ _e8;
          }
          for (var _e9 = 0; a; _e9++, a--) {
            var _t6 = s[3 & _e9 ? a : a - 4];
            o[_e9] = 4 >= a || 4 > _e9 ? _t6 : i[0][n[_t6 >>> 24]] ^ i[1][n[_t6 >> 16 & 255]] ^ i[2][n[_t6 >> 8 & 255]] ^ i[3][n[255 & _t6]];
          }
        }
        var _proto3 = ce.prototype;
        _proto3.encrypt = function encrypt(e) {
          return this._crypt(e, 0);
        };
        _proto3.decrypt = function decrypt(e) {
          return this._crypt(e, 1);
        };
        _proto3._precompute = function _precompute() {
          var e = this._tables[0], t = this._tables[1], n = e[4], i = t[4], r = [], a = [];
          var s, o, l, c;
          for (var _e10 = 0; 256 > _e10; _e10++) a[(r[_e10] = _e10 << 1 ^ 283 * (_e10 >> 7)) ^ _e10] = _e10;
          for (var _d = s = 0; !n[_d]; _d ^= o || 1, s = a[s] || 1) {
            var _a2 = s ^ s << 1 ^ s << 2 ^ s << 3 ^ s << 4;
            _a2 = _a2 >> 8 ^ 255 & _a2 ^ 99, n[_d] = _a2, i[_a2] = _d, c = r[l = r[o = r[_d]]];
            var _u2 = 16843009 * c ^ 65537 * l ^ 257 * o ^ 16843008 * _d, _f2 = 257 * r[_a2] ^ 16843008 * _a2;
            for (var _n2 = 0; 4 > _n2; _n2++) e[_n2][_d] = _f2 = _f2 << 24 ^ _f2 >>> 8, t[_n2][_a2] = _u2 = _u2 << 24 ^ _u2 >>> 8;
          }
          for (var _n3 = 0; 5 > _n3; _n3++) e[_n3] = e[_n3].slice(0), t[_n3] = t[_n3].slice(0);
        };
        _proto3._crypt = function _crypt(e, t) {
          if (4 !== e.length) throw new c("invalid aes block size");
          var n = this._key[t], i = n.length / 4 - 2, r = [ 0, 0, 0, 0 ], a = this._tables[t], s = a[0], o = a[1], l = a[2], d = a[3], u = a[4];
          var f, h, _, w = e[0] ^ n[0], p = e[t ? 3 : 1] ^ n[1], b = e[2] ^ n[2], g = e[t ? 1 : 3] ^ n[3], y = 4;
          for (var _e11 = 0; i > _e11; _e11++) f = s[w >>> 24] ^ o[p >> 16 & 255] ^ l[b >> 8 & 255] ^ d[255 & g] ^ n[y], 
          h = s[p >>> 24] ^ o[b >> 16 & 255] ^ l[g >> 8 & 255] ^ d[255 & w] ^ n[y + 1], _ = s[b >>> 24] ^ o[g >> 16 & 255] ^ l[w >> 8 & 255] ^ d[255 & p] ^ n[y + 2], 
          g = s[g >>> 24] ^ o[w >> 16 & 255] ^ l[p >> 8 & 255] ^ d[255 & b] ^ n[y + 3], y += 4, 
          w = f, p = h, b = _;
          for (var _e12 = 0; 4 > _e12; _e12++) r[t ? 3 & -_e12 : _e12] = u[w >>> 24] << 24 ^ u[p >> 16 & 255] << 16 ^ u[b >> 8 & 255] << 8 ^ u[255 & g] ^ n[y++], 
          f = w, w = p, p = b, b = g, g = f;
          return r;
        };
        return ce;
      }(), de = function() {
        function de(e, t) {
          this._prf = e, this._initIv = t, this._iv = t;
        }
        var _proto4 = de.prototype;
        _proto4.reset = function reset() {
          this._iv = this._initIv;
        };
        _proto4.update = function update(e) {
          return this.calculate(this._prf, e, this._iv);
        };
        _proto4.incWord = function incWord(e) {
          if (255 == (e >> 24 & 255)) {
            var _t7 = e >> 16 & 255, _n4 = e >> 8 & 255, _i3 = 255 & e;
            255 === _t7 ? (_t7 = 0, 255 === _n4 ? (_n4 = 0, 255 === _i3 ? _i3 = 0 : ++_i3) : ++_n4) : ++_t7, 
            e = 0, e += _t7 << 16, e += _n4 << 8, e += _i3;
          } else e += 1 << 24;
          return e;
        };
        _proto4.incCounter = function incCounter(e) {
          0 === (e[0] = this.incWord(e[0])) && (e[1] = this.incWord(e[1]));
        };
        _proto4.calculate = function calculate(e, t, n) {
          var i;
          if (!(i = t.length)) return [];
          var r = K.bitLength(t);
          for (var _r4 = 0; i > _r4; _r4 += 4) {
            this.incCounter(n);
            var _i4 = e.encrypt(n);
            t[_r4] ^= _i4[0], t[_r4 + 1] ^= _i4[1], t[_r4 + 2] ^= _i4[2], t[_r4 + 3] ^= _i4[3];
          }
          return K.clamp(t, r);
        };
        return de;
      }(), ue = X.hmacSha1;
      var fe = function() {
        function fe(e, t, i) {
          n.assign(this, {
            password: e,
            signed: t,
            strength: i - 1,
            pendingInput: new d(0)
          });
        }
        var _proto5 = fe.prototype;
        _proto5.append = function() {
          var _append = _asyncToGenerator(_regeneratorRuntime().mark(function _callee2(e) {
            var n, _i5;
            return _regeneratorRuntime().wrap(function _callee2$(_context2) {
              while (1) switch (_context2.prev = _context2.next) {
               case 0:
                n = this;
                if (!n.password) {
                  _context2.next = 9;
                  break;
                }
                _i5 = be(e, 0, ne[n.strength] + 2);
                _context2.next = 5;
                return function() {
                  var _ref = _asyncToGenerator(_regeneratorRuntime().mark(function _callee(e, t, n) {
                    var i, r;
                    return _regeneratorRuntime().wrap(function _callee$(_context) {
                      while (1) switch (_context.prev = _context.next) {
                       case 0:
                        _context.next = 2;
                        return we(e, n, be(t, 0, ne[e.strength]));

                       case 2:
                        i = be(t, ne[e.strength]), r = e.keys.passwordVerification;
                        if (!(r[0] != i[0] || r[1] != i[1])) {
                          _context.next = 5;
                          break;
                        }
                        throw new c(Y);

                       case 5:
                       case "end":
                        return _context.stop();
                      }
                    }, _callee);
                  }));
                  return function(_x2, _x3, _x4) {
                    return _ref.apply(this, arguments);
                  };
                }()(n, _i5, n.password);

               case 5:
                n.password = null;
                n.aesCtrGladman = new de(new ce(n.keys.key), t.from(ae));
                n.hmac = new ue(n.keys.authentication);
                e = be(e, ne[n.strength] + 2);

               case 9:
                return _context2.abrupt("return", _e(n, e, new d(e.length - re - (e.length - re) % J), 0, re, !0));

               case 10:
               case "end":
                return _context2.stop();
              }
            }, _callee2, this);
          }));
          function append(_x) {
            return _append.apply(this, arguments);
          }
          return append;
        }();
        _proto5.flush = function flush() {
          var e = this, t = e.pendingInput, n = be(t, 0, t.length - re), i = be(t, t.length - re);
          var r = new d(0);
          if (n.length) {
            var _t8 = le.toBits(n);
            e.hmac.update(_t8);
            var _i6 = e.aesCtrGladman.update(_t8);
            r = le.fromBits(_i6);
          }
          var a = !0;
          if (e.signed) {
            var _t9 = be(le.fromBits(e.hmac.digest()), 0, re);
            for (var _e13 = 0; re > _e13; _e13++) _t9[_e13] != i[_e13] && (a = !1);
          }
          return {
            valid: a,
            data: r
          };
        };
        return fe;
      }();
      var he = function() {
        function he(e, t) {
          n.assign(this, {
            password: e,
            strength: t - 1,
            pendingInput: new d(0)
          });
        }
        var _proto6 = he.prototype;
        _proto6.append = function() {
          var _append2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee4(e) {
            var n, i, r;
            return _regeneratorRuntime().wrap(function _callee4$(_context4) {
              while (1) switch (_context4.prev = _context4.next) {
               case 0:
                n = this;
                i = new d(0);
                _context4.t0 = n.password;
                if (!_context4.t0) {
                  _context4.next = 10;
                  break;
                }
                _context4.next = 6;
                return function() {
                  var _ref2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee3(e, t) {
                    var n, i;
                    return _regeneratorRuntime().wrap(function _callee3$(_context3) {
                      while (1) switch (_context3.prev = _context3.next) {
                       case 0:
                        n = (i = new d(ne[e.strength]), se && "function" == typeof x.getRandomValues ? x.getRandomValues(i) : j.getRandomValues(i));
                        _context3.next = 3;
                        return we(e, t, n);

                       case 3:
                        return _context3.abrupt("return", pe(n, e.keys.passwordVerification));

                       case 4:
                       case "end":
                        return _context3.stop();
                      }
                    }, _callee3);
                  }));
                  return function(_x6, _x7) {
                    return _ref2.apply(this, arguments);
                  };
                }()(n, n.password);

               case 6:
                i = _context4.sent;
                n.password = null;
                n.aesCtrGladman = new de(new ce(n.keys.key), t.from(ae));
                n.hmac = new ue(n.keys.authentication);

               case 10:
                r = new d(i.length + e.length - e.length % J);
                return _context4.abrupt("return", (r.set(i, 0), _e(n, e, r, i.length, 0)));

               case 12:
               case "end":
                return _context4.stop();
              }
            }, _callee4, this);
          }));
          function append(_x5) {
            return _append2.apply(this, arguments);
          }
          return append;
        }();
        _proto6.flush = function flush() {
          var e = this;
          var t = new d(0);
          if (e.pendingInput.length) {
            var _n5 = e.aesCtrGladman.update(le.toBits(e.pendingInput));
            e.hmac.update(_n5), t = le.fromBits(_n5);
          }
          var n = be(le.fromBits(e.hmac.digest()), 0, re);
          return {
            data: pe(t, n),
            signature: n
          };
        };
        return he;
      }();
      function _e(e, t, n, i, r, a) {
        var s = t.length - r;
        var o;
        for (e.pendingInput.length && (t = pe(e.pendingInput, t), n = function(e, t) {
          if (t && t > e.length) {
            var _n6 = e;
            (e = new d(t)).set(_n6, 0);
          }
          return e;
        }(n, s - s % J)), o = 0; s - J >= o; o += J) {
          var _r5 = le.toBits(be(t, o, o + J));
          a && e.hmac.update(_r5);
          var _s = e.aesCtrGladman.update(_r5);
          a || e.hmac.update(_s), n.set(le.fromBits(_s), o + i);
        }
        return e.pendingInput = be(t, o), n;
      }
      function we(_x8, _x9, _x10) {
        return _we.apply(this, arguments);
      }
      function _we() {
        _we = _asyncToGenerator(_regeneratorRuntime().mark(function _callee38(e, t, i) {
          var r, a, s, o;
          return _regeneratorRuntime().wrap(function _callee38$(_context39) {
            while (1) switch (_context39.prev = _context39.next) {
             case 0:
              r = function(e) {
                if (void 0 === p) {
                  var _t17 = new d((e = unescape(encodeURIComponent(e))).length);
                  for (var _n13 = 0; _n13 < _t17.length; _n13++) _t17[_n13] = e.charCodeAt(_n13);
                  return _t17;
                }
                return new p().encode(e);
              }(t);
              _context39.next = 3;
              return function() {
                var _ref11 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee36(e, t, n, i, r) {
                  return _regeneratorRuntime().wrap(function _callee36$(_context37) {
                    while (1) switch (_context37.prev = _context37.next) {
                     case 0:
                      return _context37.abrupt("return", se && oe && "function" == typeof x.subtle.importKey ? x.subtle.importKey("raw", t, n, !1, r) : X.importKey(t));

                     case 1:
                     case "end":
                      return _context37.stop();
                    }
                  }, _callee36);
                }));
                return function(_x81, _x82, _x83, _x84, _x85) {
                  return _ref11.apply(this, arguments);
                };
              }()(0, r, $, 0, te);

             case 3:
              a = _context39.sent;
              _context39.next = 6;
              return function() {
                var _ref12 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee37(e, t, n) {
                  return _regeneratorRuntime().wrap(function _callee37$(_context38) {
                    while (1) switch (_context38.prev = _context38.next) {
                     case 0:
                      if (!(se && oe && "function" == typeof x.subtle.deriveBits)) {
                        _context38.next = 6;
                        break;
                      }
                      _context38.next = 3;
                      return x.subtle.deriveBits(e, t, n);

                     case 3:
                      _context38.t0 = _context38.sent;
                      _context38.next = 7;
                      break;

                     case 6:
                      _context38.t0 = X.pbkdf2(t, e.salt, ee.iterations, n);

                     case 7:
                      return _context38.abrupt("return", _context38.t0);

                     case 8:
                     case "end":
                      return _context38.stop();
                    }
                  }, _callee37);
                }));
                return function(_x86, _x87, _x88) {
                  return _ref12.apply(this, arguments);
                };
              }()(n.assign({
                salt: i
              }, ee), a, 8 * (2 * ie[e.strength] + 2));

             case 6:
              s = _context39.sent;
              o = new d(s);
              e.keys = {
                key: le.toBits(be(o, 0, ie[e.strength])),
                authentication: le.toBits(be(o, ie[e.strength], 2 * ie[e.strength])),
                passwordVerification: be(o, 2 * ie[e.strength])
              };

             case 9:
             case "end":
              return _context39.stop();
            }
          }, _callee38);
        }));
        return _we.apply(this, arguments);
      }
      function pe(e, t) {
        var n = e;
        return e.length + t.length && (n = new d(e.length + t.length), n.set(e, 0), n.set(t, e.length)), 
        n;
      }
      function be(e, t, n) {
        return e.subarray(t, n);
      }
      var ge = function() {
        function ge(e, t) {
          n.assign(this, {
            password: e,
            passwordVerification: t
          }), ke(this, e);
        }
        var _proto7 = ge.prototype;
        _proto7.append = function append(e) {
          var t = this;
          if (t.password) {
            var _n7 = xe(t, e.subarray(0, 12));
            if (t.password = null, _n7[11] != t.passwordVerification) throw new c(Y);
            e = e.subarray(12);
          }
          return xe(t, e);
        };
        _proto7.flush = function flush() {
          return {
            valid: !0,
            data: new d(0)
          };
        };
        return ge;
      }();
      var ye = function() {
        function ye(e, t) {
          n.assign(this, {
            password: e,
            passwordVerification: t
          }), ke(this, e);
        }
        var _proto8 = ye.prototype;
        _proto8.append = function append(e) {
          var t = this;
          var n, i;
          if (t.password) {
            t.password = null;
            var _r6 = x.getRandomValues(new d(12));
            _r6[11] = t.passwordVerification, n = new d(e.length + _r6.length), n.set(me(t, _r6), 0), 
            i = 12;
          } else n = new d(e.length), i = 0;
          return n.set(me(t, e), i), n;
        };
        _proto8.flush = function flush() {
          return {
            data: new d(0)
          };
        };
        return ye;
      }();
      function xe(e, t) {
        var n = new d(t.length);
        for (var i = 0; i < t.length; i++) n[i] = Re(e) ^ t[i], ve(e, n[i]);
        return n;
      }
      function me(e, t) {
        var n = new d(t.length);
        for (var i = 0; i < t.length; i++) n[i] = Re(e) ^ t[i], ve(e, t[i]);
        return n;
      }
      function ke(e, t) {
        e.keys = [ 305419896, 591751049, 878082192 ], e.crcKey0 = new q(e.keys[0]), e.crcKey2 = new q(e.keys[2]);
        for (var _n8 = 0; _n8 < t.length; _n8++) ve(e, t.charCodeAt(_n8));
      }
      function ve(e, t) {
        e.crcKey0.append([ t ]), e.keys[0] = ~e.crcKey0.get(), e.keys[1] = Ae(e.keys[1] + Se(e.keys[0])), 
        e.keys[1] = Ae(a.imul(e.keys[1], 134775813) + 1), e.crcKey2.append([ e.keys[1] >>> 24 ]), 
        e.keys[2] = ~e.crcKey2.get();
      }
      function Re(e) {
        var t = 2 | e.keys[2];
        return Se(a.imul(t, 1 ^ t) >>> 8);
      }
      function Se(e) {
        return 255 & e;
      }
      function Ae(e) {
        return 4294967295 & e;
      }
      var Te = "inflate", Ue = "Invalid signature";
      var ze = function() {
        function ze(e, _ref3, _ref4) {
          var t = _ref3.signature, i = _ref3.password, r = _ref3.signed, a = _ref3.compressed, s = _ref3.zipCrypto, o = _ref3.passwordVerification, l = _ref3.encryptionStrength;
          var c = _ref4.chunkSize;
          var d = !!i;
          n.assign(this, {
            signature: t,
            encrypted: d,
            signed: r,
            compressed: a,
            inflate: a && new e({
              chunkSize: c
            }),
            crc32: r && new q(),
            zipCrypto: s,
            decrypt: d && s ? new ge(i, o) : new fe(i, r, l)
          });
        }
        var _proto9 = ze.prototype;
        _proto9.append = function() {
          var _append3 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee5(e) {
            var t;
            return _regeneratorRuntime().wrap(function _callee5$(_context5) {
              while (1) switch (_context5.prev = _context5.next) {
               case 0:
                t = this;
                _context5.t0 = t.encrypted && e.length;
                if (!_context5.t0) {
                  _context5.next = 6;
                  break;
                }
                _context5.next = 5;
                return t.decrypt.append(e);

               case 5:
                e = _context5.sent;

               case 6:
                _context5.t1 = t.compressed && e.length;
                if (!_context5.t1) {
                  _context5.next = 11;
                  break;
                }
                _context5.next = 10;
                return t.inflate.append(e);

               case 10:
                e = _context5.sent;

               case 11:
                (!t.encrypted || t.zipCrypto) && t.signed && e.length && t.crc32.append(e);
                return _context5.abrupt("return", e);

               case 13:
               case "end":
                return _context5.stop();
              }
            }, _callee5, this);
          }));
          function append(_x11) {
            return _append3.apply(this, arguments);
          }
          return append;
        }();
        _proto9.flush = function() {
          var _flush = _asyncToGenerator(_regeneratorRuntime().mark(function _callee6() {
            var e, t, n, _t10, _n9;
            return _regeneratorRuntime().wrap(function _callee6$(_context6) {
              while (1) switch (_context6.prev = _context6.next) {
               case 0:
                e = this;
                n = new d(0);
                if (!e.encrypted) {
                  _context6.next = 7;
                  break;
                }
                _t10 = e.decrypt.flush();
                if (_t10.valid) {
                  _context6.next = 6;
                  break;
                }
                throw new c(Ue);

               case 6:
                n = _t10.data;

               case 7:
                if (!((!e.encrypted || e.zipCrypto) && e.signed)) {
                  _context6.next = 11;
                  break;
                }
                _n9 = new h(new d(4).buffer);
                if (!(t = e.crc32.get(), _n9.setUint32(0, t), e.signature != _n9.getUint32(0, !1))) {
                  _context6.next = 11;
                  break;
                }
                throw new c(Ue);

               case 11:
                _context6.t0 = e.compressed;
                if (!_context6.t0) {
                  _context6.next = 21;
                  break;
                }
                _context6.next = 15;
                return e.inflate.append(n);

               case 15:
                _context6.t1 = _context6.sent;
                if (_context6.t1) {
                  _context6.next = 18;
                  break;
                }
                _context6.t1 = new d(0);

               case 18:
                n = _context6.t1;
                _context6.next = 21;
                return e.inflate.flush();

               case 21:
                return _context6.abrupt("return", {
                  data: n,
                  signature: t
                });

               case 22:
               case "end":
                return _context6.stop();
              }
            }, _callee6, this);
          }));
          function flush() {
            return _flush.apply(this, arguments);
          }
          return flush;
        }();
        return ze;
      }();
      var Ee = function() {
        function Ee(e, _ref5, _ref6) {
          var t = _ref5.encrypted, i = _ref5.signed, r = _ref5.compressed, a = _ref5.level, s = _ref5.zipCrypto, o = _ref5.password, l = _ref5.passwordVerification, c = _ref5.encryptionStrength;
          var d = _ref6.chunkSize;
          n.assign(this, {
            encrypted: t,
            signed: i,
            compressed: r,
            deflate: r && new e({
              level: a || 5,
              chunkSize: d
            }),
            crc32: i && new q(),
            zipCrypto: s,
            encrypt: t && s ? new ye(o, l) : new he(o, c)
          });
        }
        var _proto10 = Ee.prototype;
        _proto10.append = function() {
          var _append4 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee7(e) {
            var t, n;
            return _regeneratorRuntime().wrap(function _callee7$(_context7) {
              while (1) switch (_context7.prev = _context7.next) {
               case 0:
                t = this;
                n = e;
                _context7.t0 = t.compressed && e.length;
                if (!_context7.t0) {
                  _context7.next = 7;
                  break;
                }
                _context7.next = 6;
                return t.deflate.append(e);

               case 6:
                n = _context7.sent;

               case 7:
                _context7.t1 = t.encrypted && n.length;
                if (!_context7.t1) {
                  _context7.next = 12;
                  break;
                }
                _context7.next = 11;
                return t.encrypt.append(n);

               case 11:
                n = _context7.sent;

               case 12:
                (!t.encrypted || t.zipCrypto) && t.signed && e.length && t.crc32.append(e);
                return _context7.abrupt("return", n);

               case 14:
               case "end":
                return _context7.stop();
              }
            }, _callee7, this);
          }));
          function append(_x12) {
            return _append4.apply(this, arguments);
          }
          return append;
        }();
        _proto10.flush = function() {
          var _flush2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee8() {
            var e, t, n, i, _r7;
            return _regeneratorRuntime().wrap(function _callee8$(_context8) {
              while (1) switch (_context8.prev = _context8.next) {
               case 0:
                e = this;
                n = new d(0);
                _context8.t0 = e.compressed;
                if (!_context8.t0) {
                  _context8.next = 10;
                  break;
                }
                _context8.next = 6;
                return e.deflate.flush();

               case 6:
                _context8.t1 = _context8.sent;
                if (_context8.t1) {
                  _context8.next = 9;
                  break;
                }
                _context8.t1 = new d(0);

               case 9:
                n = _context8.t1;

               case 10:
                if (!e.encrypted) {
                  _context8.next = 18;
                  break;
                }
                _context8.next = 13;
                return e.encrypt.append(n);

               case 13:
                n = _context8.sent;
                i = e.encrypt.flush();
                t = i.signature;
                _r7 = new d(n.length + i.data.length);
                _r7.set(n, 0), _r7.set(i.data, n.length), n = _r7;

               case 18:
                return _context8.abrupt("return", (e.encrypted && !e.zipCrypto || !e.signed || (t = e.crc32.get()), 
                {
                  data: n,
                  signature: t
                }));

               case 19:
               case "end":
                return _context8.stop();
              }
            }, _callee8, this);
          }));
          function flush() {
            return _flush2.apply(this, arguments);
          }
          return flush;
        }();
        return Ee;
      }();
      var Fe = "init", De = "append", Ce = "flush";
      var Be = !0;
      var We = function We(e, t, i, r, a, s, o) {
        return n.assign(e, {
          busy: !0,
          codecConstructor: t,
          options: n.assign({}, i),
          scripts: o,
          terminate: function terminate() {
            e.worker && !e.busy && (e.worker.terminate(), e["interface"] = null);
          },
          onTaskFinished: function onTaskFinished() {
            e.busy = !1, a(e);
          }
        }), s ? function(e, t) {
          var n;
          var i = {
            type: "module"
          };
          if (!e["interface"]) {
            if (Be) try {
              e.worker = r({}, t.baseURL);
            } catch (n) {
              Be = !1, e.worker = r(i, t.baseURL);
            } else e.worker = r(i, t.baseURL);
            e.worker.addEventListener("message", function(t) {
              var i = t.data;
              if (n) {
                var _t11 = i.error, _r8 = i.type;
                if (_t11) {
                  var _i7 = new c(_t11.message);
                  _i7.stack = _t11.stack, n.reject(_i7), n = null, e.onTaskFinished();
                } else if (_r8 == Fe || _r8 == Ce || _r8 == De) {
                  var _t12 = i.data;
                  _r8 == Ce ? (n.resolve({
                    data: new d(_t12),
                    signature: i.signature
                  }), n = null, e.onTaskFinished()) : n.resolve(_t12 && new d(_t12));
                }
              }
            }, !1), e["interface"] = {
              append: function append(e) {
                return a({
                  type: De,
                  data: e
                });
              },
              flush: function flush() {
                return a({
                  type: Ce
                });
              },
              abort: function abort() {
                e.onTaskFinished();
              }
            };
          }
          return e["interface"];
          function r(t, n) {
            var i, r;
            i = e.scripts[0], "function" == typeof i && (i = i());
            try {
              r = new l(i, n);
            } catch (e) {
              r = i;
            }
            return new Worker(r, t);
          }
          function a(_x13) {
            return _a3.apply(this, arguments);
          }
          function _a3() {
            _a3 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee9(i) {
              var _n10, _i8;
              return _regeneratorRuntime().wrap(function _callee9$(_context9) {
                while (1) switch (_context9.prev = _context9.next) {
                 case 0:
                  if (n) {
                    _context9.next = 4;
                    break;
                  }
                  _n10 = e.options, _i8 = e.scripts.slice(1);
                  _context9.next = 4;
                  return s({
                    scripts: _i8,
                    type: Fe,
                    options: _n10,
                    config: {
                      chunkSize: t.chunkSize
                    }
                  });

                 case 4:
                  return _context9.abrupt("return", s(i));

                 case 5:
                 case "end":
                  return _context9.stop();
                }
              }, _callee9);
            }));
            return _a3.apply(this, arguments);
          }
          function s(t) {
            var i = e.worker, r = new w(function(e, t) {
              return n = {
                resolve: e,
                reject: t
              };
            });
            try {
              if (t.data) try {
                t.data = t.data.buffer, i.postMessage(t, [ t.data ]);
              } catch (e) {
                i.postMessage(t);
              } else i.postMessage(t);
            } catch (t) {
              n.reject(t), n = null, e.onTaskFinished();
            }
            return r;
          }
        }(e, r) : function(e, t) {
          var n = function(e, t, n) {
            return t.codecType.startsWith("deflate") ? new Ee(e, t, n) : t.codecType.startsWith(Te) ? new ze(e, t, n) : void 0;
          }(e.codecConstructor, e.options, t);
          return {
            append: function append(t) {
              return _asyncToGenerator(_regeneratorRuntime().mark(function _callee10() {
                return _regeneratorRuntime().wrap(function _callee10$(_context10) {
                  while (1) switch (_context10.prev = _context10.next) {
                   case 0:
                    _context10.prev = 0;
                    _context10.next = 3;
                    return n.append(t);

                   case 3:
                    return _context10.abrupt("return", _context10.sent);

                   case 6:
                    _context10.prev = 6;
                    _context10.t0 = _context10["catch"](0);
                    throw e.onTaskFinished(), _context10.t0;

                   case 9:
                   case "end":
                    return _context10.stop();
                  }
                }, _callee10, null, [ [ 0, 6 ] ]);
              }))();
            },
            flush: function flush() {
              return _asyncToGenerator(_regeneratorRuntime().mark(function _callee11() {
                return _regeneratorRuntime().wrap(function _callee11$(_context11) {
                  while (1) switch (_context11.prev = _context11.next) {
                   case 0:
                    _context11.prev = 0;
                    _context11.next = 3;
                    return n.flush();

                   case 3:
                    return _context11.abrupt("return", _context11.sent);

                   case 4:
                    _context11.prev = 4;
                    e.onTaskFinished();
                    return _context11.finish(4);

                   case 7:
                   case "end":
                    return _context11.stop();
                  }
                }, _callee11, null, [ [ 0, , 4, 7 ] ]);
              }))();
            },
            abort: function abort() {
              e.onTaskFinished();
            }
          };
        }(e, r);
      };
      var Ie = [], Le = [];
      function He(e) {
        e.terminateTimeout && (clearTimeout(e.terminateTimeout), e.terminateTimeout = null);
      }
      var Me = "Abort error";
      function Ne(e, t) {
        if (e && e.aborted) throw t.abort(), new c(Me);
      }
      function Oe(_x14, _x15) {
        return _Oe.apply(this, arguments);
      }
      function _Oe() {
        _Oe = _asyncToGenerator(_regeneratorRuntime().mark(function _callee39(e, t) {
          return _regeneratorRuntime().wrap(function _callee39$(_context40) {
            while (1) switch (_context40.prev = _context40.next) {
             case 0:
              _context40.t0 = t.length;
              if (!_context40.t0) {
                _context40.next = 4;
                break;
              }
              _context40.next = 4;
              return e.writeUint8Array(t);

             case 4:
              return _context40.abrupt("return", t.length);

             case 5:
             case "end":
              return _context40.stop();
            }
          }, _callee39);
        }));
        return _Oe.apply(this, arguments);
      }
      var Pe = "HTTP error ", Ve = "HTTP Range not supported", qe = "text/plain", Ke = "GET";
      var Ze = function() {
        function Ze() {
          this.size = 0;
        }
        var _proto11 = Ze.prototype;
        _proto11.init = function init() {
          this.initialized = !0;
        };
        return Ze;
      }();
      var Ge = function(_Ze) {
        _inheritsLoose(Ge, _Ze);
        function Ge() {
          return _Ze.apply(this, arguments) || this;
        }
        return Ge;
      }(Ze);
      var je = function(_Ze2) {
        _inheritsLoose(je, _Ze2);
        function je() {
          return _Ze2.apply(this, arguments) || this;
        }
        var _proto12 = je.prototype;
        _proto12.writeUint8Array = function writeUint8Array(e) {
          this.size += e.length;
        };
        return je;
      }(Ze);
      var Xe = function(_Ge) {
        _inheritsLoose(Xe, _Ge);
        function Xe(e) {
          var _this;
          _this = _Ge.call(this) || this, _this.blob = e, _this.size = e.size;
          return _this;
        }
        var _proto13 = Xe.prototype;
        _proto13.readUint8Array = function() {
          var _readUint8Array = _asyncToGenerator(_regeneratorRuntime().mark(function _callee12(e, t) {
            var _this2 = this;
            var _n11;
            return _regeneratorRuntime().wrap(function _callee12$(_context12) {
              while (1) switch (_context12.prev = _context12.next) {
               case 0:
                if (!this.blob.arrayBuffer) {
                  _context12.next = 6;
                  break;
                }
                _context12.t0 = d;
                _context12.next = 4;
                return this.blob.slice(e, e + t).arrayBuffer();

               case 4:
                _context12.t1 = _context12.sent;
                return _context12.abrupt("return", new _context12.t0(_context12.t1));

               case 6:
                _n11 = new g();
                return _context12.abrupt("return", new w(function(i, r) {
                  _n11.onload = function(e) {
                    return i(new d(e.target.result));
                  }, _n11.onerror = function() {
                    return r(_n11.error);
                  }, _n11.readAsArrayBuffer(_this2.blob.slice(e, e + t));
                }));

               case 8:
               case "end":
                return _context12.stop();
              }
            }, _callee12, this);
          }));
          function readUint8Array(_x16, _x17) {
            return _readUint8Array.apply(this, arguments);
          }
          return readUint8Array;
        }();
        return Xe;
      }(Ge);
      function Ye(e) {
        e.pendingBlob = new _([], {
          type: e.contentType
        }), e.arrayBuffers = [];
      }
      function Je(e) {
        e.pendingBlob = new _([ e.pendingBlob ].concat(e.arrayBuffers), {
          type: e.contentType
        }), e.arrayBuffers = [];
      }
      var Qe = function(_Ge2) {
        _inheritsLoose(Qe, _Ge2);
        function Qe(e, t) {
          var _this3;
          _this3 = _Ge2.call(this) || this, _this3.url = e, _this3.preventHeadRequest = t.preventHeadRequest, 
          _this3.useRangeHeader = t.useRangeHeader, _this3.forceRangeRequests = t.forceRangeRequests, 
          _this3.options = n.assign({}, t), delete _this3.options.preventHeadRequest, delete _this3.options.useRangeHeader, 
          delete _this3.options.forceRangeRequests, delete _this3.options.useXHR;
          return _this3;
        }
        var _proto14 = Qe.prototype;
        _proto14.init = function() {
          var _init = _asyncToGenerator(_regeneratorRuntime().mark(function _callee13() {
            return _regeneratorRuntime().wrap(function _callee13$(_context13) {
              while (1) switch (_context13.prev = _context13.next) {
               case 0:
                _Ge2.prototype.init.call(this);
                _context13.next = 3;
                return et(this, lt, rt);

               case 3:
               case "end":
                return _context13.stop();
              }
            }, _callee13, this);
          }));
          function init() {
            return _init.apply(this, arguments);
          }
          return init;
        }();
        _proto14.readUint8Array = function() {
          var _readUint8Array2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee14(e, t) {
            return _regeneratorRuntime().wrap(function _callee14$(_context14) {
              while (1) switch (_context14.prev = _context14.next) {
               case 0:
                return _context14.abrupt("return", tt(this, e, t, lt, rt));

               case 1:
               case "end":
                return _context14.stop();
              }
            }, _callee14, this);
          }));
          function readUint8Array(_x18, _x19) {
            return _readUint8Array2.apply(this, arguments);
          }
          return readUint8Array;
        }();
        return Qe;
      }(Ge);
      var $e = function(_Ge3) {
        _inheritsLoose($e, _Ge3);
        function $e(e, t) {
          var _this4;
          _this4 = _Ge3.call(this) || this, _this4.url = e, _this4.preventHeadRequest = t.preventHeadRequest, 
          _this4.useRangeHeader = t.useRangeHeader, _this4.forceRangeRequests = t.forceRangeRequests, 
          _this4.options = t;
          return _this4;
        }
        var _proto15 = $e.prototype;
        _proto15.init = function() {
          var _init2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee15() {
            return _regeneratorRuntime().wrap(function _callee15$(_context15) {
              while (1) switch (_context15.prev = _context15.next) {
               case 0:
                _Ge3.prototype.init.call(this);
                _context15.next = 3;
                return et(this, ct, at);

               case 3:
               case "end":
                return _context15.stop();
              }
            }, _callee15, this);
          }));
          function init() {
            return _init2.apply(this, arguments);
          }
          return init;
        }();
        _proto15.readUint8Array = function() {
          var _readUint8Array3 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee16(e, t) {
            return _regeneratorRuntime().wrap(function _callee16$(_context16) {
              while (1) switch (_context16.prev = _context16.next) {
               case 0:
                return _context16.abrupt("return", tt(this, e, t, ct, at));

               case 1:
               case "end":
                return _context16.stop();
              }
            }, _callee16, this);
          }));
          function readUint8Array(_x20, _x21) {
            return _readUint8Array3.apply(this, arguments);
          }
          return readUint8Array;
        }();
        return $e;
      }(Ge);
      function et(_x22, _x23, _x24) {
        return _et.apply(this, arguments);
      }
      function _et() {
        _et = _asyncToGenerator(_regeneratorRuntime().mark(function _callee40(e, t, n) {
          var _i10, r, _a5, _e22, _t19;
          return _regeneratorRuntime().wrap(function _callee40$(_context41) {
            while (1) switch (_context41.prev = _context41.next) {
             case 0:
              if (!(function(e) {
                if (void 0 !== y) {
                  var _t18 = y.createElement("a");
                  return _t18.href = e, "http:" == _t18.protocol || "https:" == _t18.protocol;
                }
                return /^https?:\/\//i.test(e);
              }(e.url) && (e.useRangeHeader || e.forceRangeRequests))) {
                _context41.next = 16;
                break;
              }
              _context41.next = 3;
              return t(Ke, e, nt(e));

             case 3:
              _i10 = _context41.sent;
              if (!(!e.forceRangeRequests && "bytes" != _i10.headers.get("Accept-Ranges"))) {
                _context41.next = 6;
                break;
              }
              throw new c(Ve);

             case 6:
              _a5 = _i10.headers.get("Content-Range");
              if (_a5) {
                _e22 = _a5.trim().split(/\s*\/\s*/);
                if (_e22.length) {
                  _t19 = _e22[1];
                  _t19 && "*" != _t19 && (r = Number(_t19));
                }
              }
              if (!(void 0 === r)) {
                _context41.next = 13;
                break;
              }
              _context41.next = 11;
              return ot(e, t, n);

             case 11:
              _context41.next = 14;
              break;

             case 13:
              e.size = r;

             case 14:
              _context41.next = 18;
              break;

             case 16:
              _context41.next = 18;
              return ot(e, t, n);

             case 18:
             case "end":
              return _context41.stop();
            }
          }, _callee40);
        }));
        return _et.apply(this, arguments);
      }
      function tt(_x25, _x26, _x27, _x28, _x29) {
        return _tt.apply(this, arguments);
      }
      function _tt() {
        _tt = _asyncToGenerator(_regeneratorRuntime().mark(function _callee41(e, t, n, i, r) {
          var _r14;
          return _regeneratorRuntime().wrap(function _callee41$(_context42) {
            while (1) switch (_context42.prev = _context42.next) {
             case 0:
              if (!(e.useRangeHeader || e.forceRangeRequests)) {
                _context42.next = 11;
                break;
              }
              _context42.next = 3;
              return i(Ke, e, nt(e, t, n));

             case 3:
              _r14 = _context42.sent;
              if (!(206 != _r14.status)) {
                _context42.next = 6;
                break;
              }
              throw new c(Ve);

             case 6:
              _context42.t0 = d;
              _context42.next = 9;
              return _r14.arrayBuffer();

             case 9:
              _context42.t1 = _context42.sent;
              return _context42.abrupt("return", new _context42.t0(_context42.t1));

             case 11:
              _context42.t2 = e.data;
              if (_context42.t2) {
                _context42.next = 15;
                break;
              }
              _context42.next = 15;
              return r(e, e.options);

             case 15:
              return _context42.abrupt("return", new d(e.data.subarray(t, t + n)));

             case 16:
             case "end":
              return _context42.stop();
            }
          }, _callee41);
        }));
        return _tt.apply(this, arguments);
      }
      function nt(e, t, i) {
        void 0 === t && (t = 0);
        void 0 === i && (i = 1);
        return n.assign({}, it(e), {
          Range: "bytes=" + t + "-" + (t + i - 1)
        });
      }
      function it(e) {
        var t = e.options.headers;
        if (t) return Symbol.iterator in t ? n.fromEntries(t) : t;
      }
      function rt(_x30) {
        return _rt.apply(this, arguments);
      }
      function _rt() {
        _rt = _asyncToGenerator(_regeneratorRuntime().mark(function _callee42(e) {
          return _regeneratorRuntime().wrap(function _callee42$(_context43) {
            while (1) switch (_context43.prev = _context43.next) {
             case 0:
              _context43.next = 2;
              return st(e, lt);

             case 2:
             case "end":
              return _context43.stop();
            }
          }, _callee42);
        }));
        return _rt.apply(this, arguments);
      }
      function at(_x31) {
        return _at.apply(this, arguments);
      }
      function _at() {
        _at = _asyncToGenerator(_regeneratorRuntime().mark(function _callee43(e) {
          return _regeneratorRuntime().wrap(function _callee43$(_context44) {
            while (1) switch (_context44.prev = _context44.next) {
             case 0:
              _context44.next = 2;
              return st(e, ct);

             case 2:
             case "end":
              return _context44.stop();
            }
          }, _callee43);
        }));
        return _at.apply(this, arguments);
      }
      function st(_x32, _x33) {
        return _st.apply(this, arguments);
      }
      function _st() {
        _st = _asyncToGenerator(_regeneratorRuntime().mark(function _callee44(e, t) {
          var n;
          return _regeneratorRuntime().wrap(function _callee44$(_context45) {
            while (1) switch (_context45.prev = _context45.next) {
             case 0:
              _context45.next = 2;
              return t(Ke, e, it(e));

             case 2:
              n = _context45.sent;
              _context45.t0 = d;
              _context45.next = 6;
              return n.arrayBuffer();

             case 6:
              _context45.t1 = _context45.sent;
              e.data = new _context45.t0(_context45.t1);
              e.size || (e.size = e.data.length);

             case 9:
             case "end":
              return _context45.stop();
            }
          }, _callee44);
        }));
        return _st.apply(this, arguments);
      }
      function ot(_x34, _x35, _x36) {
        return _ot.apply(this, arguments);
      }
      function _ot() {
        _ot = _asyncToGenerator(_regeneratorRuntime().mark(function _callee45(e, t, n) {
          var _i11;
          return _regeneratorRuntime().wrap(function _callee45$(_context46) {
            while (1) switch (_context46.prev = _context46.next) {
             case 0:
              if (!e.preventHeadRequest) {
                _context46.next = 5;
                break;
              }
              _context46.next = 3;
              return n(e, e.options);

             case 3:
              _context46.next = 14;
              break;

             case 5:
              _context46.next = 7;
              return t("HEAD", e, it(e));

             case 7:
              _i11 = _context46.sent.headers.get("Content-Length");
              if (!_i11) {
                _context46.next = 12;
                break;
              }
              e.size = Number(_i11);
              _context46.next = 14;
              break;

             case 12:
              _context46.next = 14;
              return n(e, e.options);

             case 14:
             case "end":
              return _context46.stop();
            }
          }, _callee45);
        }));
        return _ot.apply(this, arguments);
      }
      function lt(_x37, _x38, _x39) {
        return _lt.apply(this, arguments);
      }
      function _lt() {
        _lt = _asyncToGenerator(_regeneratorRuntime().mark(function _callee46(e, _ref7, r) {
          var t, i, a;
          return _regeneratorRuntime().wrap(function _callee46$(_context47) {
            while (1) switch (_context47.prev = _context47.next) {
             case 0:
              t = _ref7.options, i = _ref7.url;
              _context47.next = 3;
              return fetch(i, n.assign({}, t, {
                method: e,
                headers: r
              }));

             case 3:
              a = _context47.sent;
              if (!(400 > a.status)) {
                _context47.next = 6;
                break;
              }
              return _context47.abrupt("return", a);

             case 6:
              throw new c(Pe + (a.statusText || a.status));

             case 7:
             case "end":
              return _context47.stop();
            }
          }, _callee46);
        }));
        return _lt.apply(this, arguments);
      }
      function ct(e, _ref8, i) {
        var t = _ref8.url;
        return new w(function(r, a) {
          var s = new XMLHttpRequest();
          if (s.addEventListener("load", function() {
            if (400 > s.status) {
              var _e14 = [];
              s.getAllResponseHeaders().trim().split(/[\r\n]+/).forEach(function(t) {
                var n = t.trim().split(/\s*:\s*/);
                n[0] = n[0].trim().replace(/^[a-z]|-[a-z]/g, function(e) {
                  return e.toUpperCase();
                }), _e14.push(n);
              }), r({
                status: s.status,
                arrayBuffer: function arrayBuffer() {
                  return s.response;
                },
                headers: new o(_e14)
              });
            } else a(new c(Pe + (s.statusText || s.status)));
          }, !1), s.addEventListener("error", function(e) {
            return a(e.detail.error);
          }, !1), s.open(e, t), i) for (var _iterator = _createForOfIteratorHelperLoose(n.entries(i)), _step; !(_step = _iterator()).done; ) {
            var _e15 = _step.value;
            s.setRequestHeader(_e15[0], _e15[1]);
          }
          s.responseType = "arraybuffer", s.send();
        });
      }
      var dt = function(_Ge4) {
        _inheritsLoose(dt, _Ge4);
        function dt(e, t) {
          var _this5;
          void 0 === t && (t = {});
          _this5 = _Ge4.call(this) || this, _this5.url = e, t.useXHR ? _this5.reader = new $e(e, t) : _this5.reader = new Qe(e, t);
          return _this5;
        }
        var _proto16 = dt.prototype;
        _proto16.init = function() {
          var _init3 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee17() {
            return _regeneratorRuntime().wrap(function _callee17$(_context17) {
              while (1) switch (_context17.prev = _context17.next) {
               case 0:
                _Ge4.prototype.init.call(this);
                _context17.next = 3;
                return this.reader.init();

               case 3:
               case "end":
                return _context17.stop();
              }
            }, _callee17, this);
          }));
          function init() {
            return _init3.apply(this, arguments);
          }
          return init;
        }();
        _proto16.readUint8Array = function() {
          var _readUint8Array4 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee18(e, t) {
            return _regeneratorRuntime().wrap(function _callee18$(_context18) {
              while (1) switch (_context18.prev = _context18.next) {
               case 0:
                return _context18.abrupt("return", this.reader.readUint8Array(e, t));

               case 1:
               case "end":
                return _context18.stop();
              }
            }, _callee18, this);
          }));
          function readUint8Array(_x40, _x41) {
            return _readUint8Array4.apply(this, arguments);
          }
          return readUint8Array;
        }();
        _createClass(dt, [ {
          key: "size",
          get: function get() {
            return this.reader.size;
          },
          set: function set(e) {}
        } ]);
        return dt;
      }(Ge);
      var ut = 4294967295, ft = 33639248, ht = 101075792, _t = "\0\u263a\u263b\u2665\u2666\u2663\u2660\u2022\u25d8\u25cb\u25d9\u2642\u2640\u266a\u266b\u263c\u25ba\u25c4\u2195\u203c\xb6\xa7\u25ac\u21a8\u2191\u2193\u2192\u2190\u221f\u2194\u25b2\u25bc !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\xec\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\xff\xd6\xdc\xa2\xa3\xa5\u20a7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\u2310\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0 ".split("");
      function wt(_x42, _x43) {
        return _wt.apply(this, arguments);
      }
      function _wt() {
        _wt = _asyncToGenerator(_regeneratorRuntime().mark(function _callee47(e, t) {
          var _t20;
          return _regeneratorRuntime().wrap(function _callee47$(_context48) {
            while (1) switch (_context48.prev = _context48.next) {
             case 0:
              if (!(t && "cp437" == t.trim().toLowerCase())) {
                _context48.next = 2;
                break;
              }
              return _context48.abrupt("return", function(e) {
                var t = "";
                for (var _n14 = 0; _n14 < e.length; _n14++) t += _t[e[_n14]];
                return t;
              }(e));

             case 2:
              if (!(void 0 === b)) {
                _context48.next = 5;
                break;
              }
              _t20 = new g();
              return _context48.abrupt("return", new w(function(n, i) {
                _t20.onload = function(e) {
                  return n(e.target.result);
                }, _t20.onerror = function() {
                  return i(_t20.error);
                }, _t20.readAsText(new _([ e ]));
              }));

             case 5:
              return _context48.abrupt("return", new b(t).decode(e));

             case 6:
             case "end":
              return _context48.stop();
            }
          }, _callee47);
        }));
        return _wt.apply(this, arguments);
      }
      var pt = [ "filename", "rawFilename", "directory", "encrypted", "compressedSize", "uncompressedSize", "lastModDate", "rawLastModDate", "comment", "rawComment", "signature", "extraField", "rawExtraField", "bitFlag", "extraFieldZip64", "extraFieldUnicodePath", "extraFieldUnicodeComment", "extraFieldAES", "filenameUTF8", "commentUTF8", "offset", "zip64", "compressionMethod", "extraFieldNTFS", "lastAccessDate", "creationDate", "extraFieldExtendedTimestamp", "version", "versionMadeBy", "msDosCompatible", "internalFileAttribute", "externalFileAttribute" ];
      var bt = function bt(e) {
        var _this6 = this;
        pt.forEach(function(t) {
          return _this6[t] = e[t];
        });
      };
      var gt = "File format is not recognized", yt = "End of central directory not found", xt = "End of Zip64 central directory not found", mt = "End of Zip64 central directory locator not found", kt = "Central directory header not found", vt = "Local file header not found", Rt = "Zip64 extra field not found", St = "File contains encrypted entry", At = "Encryption method not supported", Tt = "Compression method not supported", Ut = "utf-8", zt = "cp437", Et = [ "uncompressedSize", "compressedSize", "offset" ];
      var Ft = function() {
        function Ft(e, t, i) {
          n.assign(this, {
            reader: e,
            config: t,
            options: i
          });
        }
        var _proto17 = Ft.prototype;
        _proto17.getData = function() {
          var _getData = _asyncToGenerator(_regeneratorRuntime().mark(function _callee21(e, t, n) {
            var i, r, s, o, l, d, u, f, h, _, p, b, g, y, x, m, k, v, R;
            return _regeneratorRuntime().wrap(function _callee21$(_context21) {
              while (1) switch (_context21.prev = _context21.next) {
               case 0:
                void 0 === n && (n = {});
                i = this, r = i.reader, s = i.offset, o = i.extraFieldAES, l = i.compressionMethod, 
                d = i.config, u = i.bitFlag, f = i.signature, h = i.rawLastModDate, _ = i.compressedSize, 
                p = i.localDirectory = {};
                _context21.t0 = r.initialized;
                if (_context21.t0) {
                  _context21.next = 6;
                  break;
                }
                _context21.next = 6;
                return r.init();

               case 6:
                _context21.next = 8;
                return Vt(r, s, 30);

               case 8:
                b = _context21.sent;
                g = Pt(b);
                y = Wt(i, n, "password");
                if (!(y = y && y.length && y, o && 99 != o.originalCompressionMethod)) {
                  _context21.next = 13;
                  break;
                }
                throw new c(Tt);

               case 13:
                if (!(0 != l && 8 != l)) {
                  _context21.next = 15;
                  break;
                }
                throw new c(Tt);

               case 15:
                if (!(67324752 != Nt(g, 0))) {
                  _context21.next = 17;
                  break;
                }
                throw new c(vt);

               case 17:
                Dt(p, g, 4);
                _context21.next = 20;
                return Vt(r, s, 30 + p.filenameLength + p.extraFieldLength);

               case 20:
                b = _context21.sent;
                p.rawExtraField = b.subarray(30 + p.filenameLength);
                _context21.next = 24;
                return Ct(i, p, g, 4);

               case 24:
                t.lastAccessDate = p.lastAccessDate;
                t.creationDate = p.creationDate;
                x = i.encrypted && p.encrypted, m = x && !o;
                if (!x) {
                  _context21.next = 32;
                  break;
                }
                if (!(!m && void 0 === o.strength)) {
                  _context21.next = 30;
                  break;
                }
                throw new c(At);

               case 30:
                if (y) {
                  _context21.next = 32;
                  break;
                }
                throw new c(St);

               case 32:
                _context21.next = 34;
                return function(e, t, n) {
                  var i = !(!t.compressed && !t.signed && !t.encrypted) && (t.useWebWorkers || void 0 === t.useWebWorkers && n.useWebWorkers), r = i && n.workerScripts ? n.workerScripts[t.codecType] : [];
                  if (Ie.length < n.maxWorkers) {
                    var _s2 = {};
                    return Ie.push(_s2), We(_s2, e, t, n, a, i, r);
                  }
                  var _s3 = Ie.find(function(e) {
                    return !e.busy;
                  });
                  return _s3 ? (He(_s3), We(_s3, e, t, n, a, i, r)) : new w(function(n) {
                    return Le.push({
                      resolve: n,
                      codecConstructor: e,
                      options: t,
                      webWorker: i,
                      scripts: r
                    });
                  });
                  function a(e) {
                    if (Le.length) {
                      var _Le$splice = Le.splice(0, 1), _Le$splice$ = _Le$splice[0], _t13 = _Le$splice$.resolve, _i9 = _Le$splice$.codecConstructor, _r9 = _Le$splice$.options, _s4 = _Le$splice$.webWorker, _o = _Le$splice$.scripts;
                      _t13(We(e, _i9, _r9, n, a, _s4, _o));
                    } else e.worker ? (He(e), Number.isFinite(n.terminateWorkerTimeout) && n.terminateWorkerTimeout >= 0 && (e.terminateTimeout = setTimeout(function() {
                      Ie = Ie.filter(function(t) {
                        return t != e;
                      }), e.terminate();
                    }, n.terminateWorkerTimeout))) : Ie = Ie.filter(function(t) {
                      return t != e;
                    });
                  }
                }(d.Inflate, {
                  codecType: Te,
                  password: y,
                  zipCrypto: m,
                  encryptionStrength: o && o.strength,
                  signed: Wt(i, n, "checkSignature"),
                  passwordVerification: m && (u.dataDescriptor ? h >>> 8 & 255 : f >>> 24 & 255),
                  signature: f,
                  compressed: 0 != l,
                  encrypted: x,
                  useWebWorkers: Wt(i, n, "useWebWorkers")
                }, d);

               case 34:
                k = _context21.sent;
                _context21.t1 = e.initialized;
                if (_context21.t1) {
                  _context21.next = 39;
                  break;
                }
                _context21.next = 39;
                return e.init();

               case 39:
                v = Wt(i, n, "signal"), R = s + 30 + p.filenameLength + p.extraFieldLength;
                _context21.next = 42;
                return function() {
                  var _ref9 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee20(e, t, n, i, r, s, o) {
                    var l;
                    return _regeneratorRuntime().wrap(function _callee20$(_context20) {
                      while (1) switch (_context20.prev = _context20.next) {
                       case 0:
                        l = a.max(s.chunkSize, 64);
                        return _context20.abrupt("return", function() {
                          var _s5 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee19(c, d) {
                            var u, _f3, _h, _2, _t14;
                            return _regeneratorRuntime().wrap(function _callee19$(_context19) {
                              while (1) switch (_context19.prev = _context19.next) {
                               case 0:
                                void 0 === c && (c = 0);
                                void 0 === d && (d = 0);
                                u = o.signal;
                                if (!(r > c)) {
                                  _context19.next = 21;
                                  break;
                                }
                                Ne(u, e);
                                _context19.next = 7;
                                return t.readUint8Array(c + i, a.min(l, r - c));

                               case 7:
                                _f3 = _context19.sent;
                                _h = _f3.length;
                                Ne(u, e);
                                _context19.next = 12;
                                return e.append(_f3);

                               case 12:
                                _2 = _context19.sent;
                                Ne(u, e);
                                _context19.t0 = d;
                                _context19.next = 17;
                                return Oe(n, _2);

                               case 17:
                                d = _context19.t0 += _context19.sent;
                                if (!o.onprogress) {
                                  _context19.next = 20;
                                  break;
                                }
                                try {
                                  o.onprogress(c + _h, r);
                                } catch (e) {}

                               case 20:
                                return _context19.abrupt("return", s(c + l, d));

                               case 21:
                                _context19.next = 23;
                                return e.flush();

                               case 23:
                                _t14 = _context19.sent;
                                _context19.t1 = d;
                                _context19.next = 27;
                                return Oe(n, _t14.data);

                               case 27:
                                d = _context19.t1 += _context19.sent;
                                return _context19.abrupt("return", {
                                  signature: _t14.signature,
                                  length: d
                                });

                               case 29:
                               case "end":
                                return _context19.stop();
                              }
                            }, _callee19);
                          }));
                          function s(_x54, _x55) {
                            return _s5.apply(this, arguments);
                          }
                          return s;
                        }()());

                       case 2:
                       case "end":
                        return _context20.stop();
                      }
                    }, _callee20);
                  }));
                  return function(_x47, _x48, _x49, _x50, _x51, _x52, _x53) {
                    return _ref9.apply(this, arguments);
                  };
                }()(k, r, e, R, _, d, {
                  onprogress: n.onprogress,
                  signal: v
                });

               case 42:
                return _context21.abrupt("return", e.getData());

               case 43:
               case "end":
                return _context21.stop();
              }
            }, _callee21, this);
          }));
          function getData(_x44, _x45, _x46) {
            return _getData.apply(this, arguments);
          }
          return getData;
        }();
        return Ft;
      }();
      function Dt(e, t, i) {
        var r = e.rawBitFlag = Mt(t, i + 2), a = 1 == (1 & r), s = Nt(t, i + 6);
        n.assign(e, {
          encrypted: a,
          version: Mt(t, i),
          bitFlag: {
            level: (6 & r) >> 1,
            dataDescriptor: 8 == (8 & r),
            languageEncodingFlag: 2048 == (2048 & r)
          },
          rawLastModDate: s,
          lastModDate: It(s),
          filenameLength: Mt(t, i + 22),
          extraFieldLength: Mt(t, i + 24)
        });
      }
      function Ct(_x56, _x57, _x58, _x59) {
        return _Ct.apply(this, arguments);
      }
      function _Ct() {
        _Ct = _asyncToGenerator(_regeneratorRuntime().mark(function _callee48(e, t, i, r) {
          var l, u, f, h, _e23, _t21, _, w, p, b, g, y, x;
          return _regeneratorRuntime().wrap(function _callee48$(_context49) {
            while (1) switch (_context49.prev = _context49.next) {
             case 0:
              l = t.rawExtraField, u = t.extraField = new o(), f = Pt(new d(l));
              h = 0;
              try {
                for (;h < l.length; ) {
                  _e23 = Mt(f, h), _t21 = Mt(f, h + 2);
                  u.set(_e23, {
                    type: _e23,
                    data: l.slice(h + 4, h + 4 + _t21)
                  }), h += 4 + _t21;
                }
              } catch (e) {}
              _ = Mt(i, r + 4);
              t.signature = Nt(i, r + 10), t.uncompressedSize = Nt(i, r + 18), t.compressedSize = Nt(i, r + 14);
              w = u.get(1);
              w && (function(e, t) {
                t.zip64 = !0;
                var n = Pt(e.data);
                e.values = [];
                for (var _t22 = 0; _t22 < a.floor(e.data.length / 8); _t22++) e.values.push(Ot(n, 0 + 8 * _t22));
                var i = Et.filter(function(e) {
                  return t[e] == ut;
                });
                for (var _t23 = 0; _t23 < i.length; _t23++) e[i[_t23]] = e.values[_t23];
                Et.forEach(function(n) {
                  if (t[n] == ut) {
                    if (void 0 === e[n]) throw new c(Rt);
                    t[n] = e[n];
                  }
                });
              }(w, t), t.extraFieldZip64 = w);
              p = u.get(28789);
              _context49.t0 = p;
              if (!_context49.t0) {
                _context49.next = 13;
                break;
              }
              _context49.next = 12;
              return Bt(p, "filename", "rawFilename", t, e);

             case 12:
              t.extraFieldUnicodePath = p;

             case 13:
              b = u.get(25461);
              _context49.t1 = b;
              if (!_context49.t1) {
                _context49.next = 19;
                break;
              }
              _context49.next = 18;
              return Bt(b, "comment", "rawComment", t, e);

             case 18:
              t.extraFieldUnicodeComment = b;

             case 19:
              g = u.get(39169);
              g ? (function(e, t, n) {
                var i = Pt(e.data);
                e.vendorVersion = Ht(i, 0), e.vendorId = Ht(i, 2);
                var r = Ht(i, 4);
                e.strength = r, e.originalCompressionMethod = n, t.compressionMethod = e.compressionMethod = Mt(i, 5);
              }(g, t, _), t.extraFieldAES = g) : t.compressionMethod = _;
              y = u.get(10);
              y && (function(e, t) {
                var i = Pt(e.data);
                var r, a = 4;
                try {
                  for (;a < e.data.length && !r; ) {
                    var _t24 = Mt(i, a), _n15 = Mt(i, a + 2);
                    1 == _t24 && (r = e.data.slice(a + 4, a + 4 + _n15)), a += 4 + _n15;
                  }
                } catch (e) {}
                try {
                  if (r && 24 == r.length) {
                    var _i12 = Pt(r), _a6 = _i12.getBigUint64(0, !0), _s6 = _i12.getBigUint64(8, !0), _o2 = _i12.getBigUint64(16, !0);
                    n.assign(e, {
                      rawLastModDate: _a6,
                      rawLastAccessDate: _s6,
                      rawCreationDate: _o2
                    });
                    var _l = {
                      lastModDate: Lt(_a6),
                      lastAccessDate: Lt(_s6),
                      creationDate: Lt(_o2)
                    };
                    n.assign(e, _l), n.assign(t, _l);
                  }
                } catch (e) {}
              }(y, t), t.extraFieldNTFS = y);
              x = u.get(21589);
              x && (function(e, t) {
                var n = Pt(e.data), i = Ht(n, 0), r = [], a = [];
                1 == (1 & i) && (r.push("lastModDate"), a.push("rawLastModDate")), 2 == (2 & i) && (r.push("lastAccessDate"), 
                a.push("rawLastAccessDate")), 4 == (4 & i) && (r.push("creationDate"), a.push("rawCreationDate"));
                var o = 1;
                r.forEach(function(i, r) {
                  if (e.data.length >= o + 4) {
                    var _l2 = Nt(n, o);
                    t[i] = e[i] = new s(1e3 * _l2);
                    var _c = a[r];
                    e[_c] = _l2;
                  }
                  o += 4;
                });
              }(x, t), t.extraFieldExtendedTimestamp = x);

             case 25:
             case "end":
              return _context49.stop();
            }
          }, _callee48);
        }));
        return _Ct.apply(this, arguments);
      }
      function Bt(_x60, _x61, _x62, _x63, _x64) {
        return _Bt.apply(this, arguments);
      }
      function _Bt() {
        _Bt = _asyncToGenerator(_regeneratorRuntime().mark(function _callee49(e, t, n, i, r) {
          var a, s, o;
          return _regeneratorRuntime().wrap(function _callee49$(_context50) {
            while (1) switch (_context50.prev = _context50.next) {
             case 0:
              a = Pt(e.data);
              e.version = Ht(a, 0), e.signature = Nt(a, 1);
              s = new q();
              s.append(r[n]);
              o = Pt(new d(4));
              o.setUint32(0, s.get(), !0);
              _context50.next = 8;
              return wt(e.data.subarray(5));

             case 8:
              e[t] = _context50.sent;
              e.valid = !r.bitFlag.languageEncodingFlag && e.signature == Nt(o, 0);
              e.valid && (i[t] = e[t], i[t + "UTF8"] = !0);

             case 11:
             case "end":
              return _context50.stop();
            }
          }, _callee49);
        }));
        return _Bt.apply(this, arguments);
      }
      function Wt(e, t, n) {
        return void 0 === t[n] ? e.options[n] : t[n];
      }
      function It(e) {
        var t = (4294901760 & e) >> 16, n = 65535 & e;
        try {
          return new s(1980 + ((65024 & t) >> 9), ((480 & t) >> 5) - 1, 31 & t, (63488 & n) >> 11, (2016 & n) >> 5, 2 * (31 & n), 0);
        } catch (e) {}
      }
      function Lt(e) {
        return new s(Number(e / r(1e4) - r(116444736e5)));
      }
      function Ht(e, t) {
        return e.getUint8(t);
      }
      function Mt(e, t) {
        return e.getUint16(t, !0);
      }
      function Nt(e, t) {
        return e.getUint32(t, !0);
      }
      function Ot(e, t) {
        return Number(e.getBigUint64(t, !0));
      }
      function Pt(e) {
        return new h(e.buffer);
      }
      function Vt(e, t, n) {
        return e.readUint8Array(t, n);
      }
      P({
        Inflate: function Inflate(e) {
          var t = new M(), n = e && e.chunkSize ? a.floor(2 * e.chunkSize) : 131072, i = new d(n);
          var r = !1;
          t.inflateInit(), t.next_out = i, this.append = function(e, a) {
            var s = [];
            var o, l, u = 0, f = 0, h = 0;
            if (0 !== e.length) {
              t.next_in_index = 0, t.next_in = e, t.avail_in = e.length;
              do {
                if (t.next_out_index = 0, t.avail_out = n, 0 !== t.avail_in || r || (t.next_in_index = 0, 
                r = !0), o = t.inflate(0), r && o === R) {
                  if (0 !== t.avail_in) throw new c("inflating: bad input");
                } else if (0 !== o && 1 !== o) throw new c("inflating: " + t.msg);
                if ((r || 1 === o) && t.avail_in === e.length) throw new c("inflating: bad input");
                t.next_out_index && (t.next_out_index === n ? s.push(new d(i)) : s.push(i.slice(0, t.next_out_index))), 
                h += t.next_out_index, a && t.next_in_index > 0 && t.next_in_index != u && (a(t.next_in_index), 
                u = t.next_in_index);
              } while (t.avail_in > 0 || 0 === t.avail_out);
              return s.length > 1 ? (l = new d(h), s.forEach(function(e) {
                l.set(e, f), f += e.length;
              })) : l = s[0] || new d(0), l;
            }
          }, this.flush = function() {
            t.inflateEnd();
          };
        }
      }), e.BlobReader = Xe, e.BlobWriter = function(_je) {
        _inheritsLoose(_class, _je);
        function _class(e) {
          var _this7;
          _this7 = _je.call(this) || this, _this7.contentType = e, _this7.arrayBuffersMaxlength = 8, 
          Ye(_assertThisInitialized(_this7));
          return _this7;
        }
        var _proto18 = _class.prototype;
        _proto18.writeUint8Array = function() {
          var _writeUint8Array = _asyncToGenerator(_regeneratorRuntime().mark(function _callee22(e) {
            return _regeneratorRuntime().wrap(function _callee22$(_context22) {
              while (1) switch (_context22.prev = _context22.next) {
               case 0:
                _je.prototype.writeUint8Array.call(this, e), this.arrayBuffers.length == this.arrayBuffersMaxlength && Je(this), 
                this.arrayBuffers.push(e.buffer);

               case 1:
               case "end":
                return _context22.stop();
              }
            }, _callee22, this);
          }));
          function writeUint8Array(_x65) {
            return _writeUint8Array.apply(this, arguments);
          }
          return writeUint8Array;
        }();
        _proto18.getData = function getData() {
          return this.blob || (this.arrayBuffers.length && Je(this), this.blob = this.pendingBlob, 
          Ye(this)), this.blob;
        };
        return _class;
      }(je), e.Data64URIReader = function(_Ge5) {
        _inheritsLoose(_class2, _Ge5);
        function _class2(e) {
          var _this8;
          _this8 = _Ge5.call(this) || this, _this8.dataURI = e;
          var t = e.length;
          for (;"=" == e.charAt(t - 1); ) t--;
          _this8.dataStart = e.indexOf(",") + 1, _this8.size = a.floor(.75 * (t - _this8.dataStart));
          return _this8;
        }
        var _proto19 = _class2.prototype;
        _proto19.readUint8Array = function() {
          var _readUint8Array5 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee23(e, t) {
            var n, i, r, s, _e16;
            return _regeneratorRuntime().wrap(function _callee23$(_context23) {
              while (1) switch (_context23.prev = _context23.next) {
               case 0:
                n = new d(t), i = 4 * a.floor(e / 3), r = atob(this.dataURI.substring(i + this.dataStart, 4 * a.ceil((e + t) / 3) + this.dataStart)), 
                s = e - 3 * a.floor(i / 4);
                for (_e16 = s; s + t > _e16; _e16++) n[_e16 - s] = r.charCodeAt(_e16);
                return _context23.abrupt("return", n);

               case 3:
               case "end":
                return _context23.stop();
              }
            }, _callee23, this);
          }));
          function readUint8Array(_x66, _x67) {
            return _readUint8Array5.apply(this, arguments);
          }
          return readUint8Array;
        }();
        return _class2;
      }(Ge), e.Data64URIWriter = function(_je2) {
        _inheritsLoose(_class3, _je2);
        function _class3(e) {
          var _this9;
          _this9 = _je2.call(this) || this, _this9.data = "data:" + (e || "") + ";base64,", 
          _this9.pending = [];
          return _this9;
        }
        var _proto20 = _class3.prototype;
        _proto20.writeUint8Array = function() {
          var _writeUint8Array2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee24(e) {
            var t, n, r;
            return _regeneratorRuntime().wrap(function _callee24$(_context24) {
              while (1) switch (_context24.prev = _context24.next) {
               case 0:
                _je2.prototype.writeUint8Array.call(this, e);
                t = 0, n = this.pending;
                r = this.pending.length;
                for (this.pending = "", t = 0; t < 3 * a.floor((r + e.length) / 3) - r; t++) n += i.fromCharCode(e[t]);
                for (;t < e.length; t++) this.pending += i.fromCharCode(e[t]);
                n.length > 2 ? this.data += m(n) : this.pending = n;

               case 6:
               case "end":
                return _context24.stop();
              }
            }, _callee24, this);
          }));
          function writeUint8Array(_x68) {
            return _writeUint8Array2.apply(this, arguments);
          }
          return writeUint8Array;
        }();
        _proto20.getData = function getData() {
          return this.data + m(this.pending);
        };
        return _class3;
      }(je), e.ERR_ABORT = Me, e.ERR_BAD_FORMAT = gt, e.ERR_CENTRAL_DIRECTORY_NOT_FOUND = kt, 
      e.ERR_ENCRYPTED = St, e.ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND = mt, e.ERR_EOCDR_NOT_FOUND = yt, 
      e.ERR_EOCDR_ZIP64_NOT_FOUND = xt, e.ERR_EXTRAFIELD_ZIP64_NOT_FOUND = Rt, e.ERR_HTTP_RANGE = Ve, 
      e.ERR_INVALID_PASSWORD = Y, e.ERR_INVALID_SIGNATURE = Ue, e.ERR_LOCAL_FILE_HEADER_NOT_FOUND = vt, 
      e.ERR_UNSUPPORTED_COMPRESSION = Tt, e.ERR_UNSUPPORTED_ENCRYPTION = At, e.HttpRangeReader = function(_dt) {
        _inheritsLoose(_class4, _dt);
        function _class4(e, t) {
          var _this10;
          void 0 === t && (t = {});
          t.useRangeHeader = !0, _this10 = _dt.call(this, e, t) || this;
          return _this10;
        }
        return _class4;
      }(dt), e.HttpReader = dt, e.Reader = Ge, e.TextReader = function(_Ge6) {
        _inheritsLoose(_class5, _Ge6);
        function _class5(e) {
          var _this11;
          _this11 = _Ge6.call(this) || this, _this11.blobReader = new Xe(new _([ e ], {
            type: qe
          }));
          return _this11;
        }
        var _proto21 = _class5.prototype;
        _proto21.init = function() {
          var _init4 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee25() {
            return _regeneratorRuntime().wrap(function _callee25$(_context25) {
              while (1) switch (_context25.prev = _context25.next) {
               case 0:
                _Ge6.prototype.init.call(this), this.blobReader.init(), this.size = this.blobReader.size;

               case 1:
               case "end":
                return _context25.stop();
              }
            }, _callee25, this);
          }));
          function init() {
            return _init4.apply(this, arguments);
          }
          return init;
        }();
        _proto21.readUint8Array = function() {
          var _readUint8Array6 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee26(e, t) {
            return _regeneratorRuntime().wrap(function _callee26$(_context26) {
              while (1) switch (_context26.prev = _context26.next) {
               case 0:
                return _context26.abrupt("return", this.blobReader.readUint8Array(e, t));

               case 1:
               case "end":
                return _context26.stop();
              }
            }, _callee26, this);
          }));
          function readUint8Array(_x69, _x70) {
            return _readUint8Array6.apply(this, arguments);
          }
          return readUint8Array;
        }();
        return _class5;
      }(Ge), e.TextWriter = function(_je3) {
        _inheritsLoose(_class6, _je3);
        function _class6(e) {
          var _this12;
          _this12 = _je3.call(this) || this, _this12.encoding = e, _this12.blob = new _([], {
            type: qe
          });
          return _this12;
        }
        var _proto22 = _class6.prototype;
        _proto22.writeUint8Array = function() {
          var _writeUint8Array3 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee27(e) {
            return _regeneratorRuntime().wrap(function _callee27$(_context27) {
              while (1) switch (_context27.prev = _context27.next) {
               case 0:
                _je3.prototype.writeUint8Array.call(this, e), this.blob = new _([ this.blob, e.buffer ], {
                  type: qe
                });

               case 1:
               case "end":
                return _context27.stop();
              }
            }, _callee27, this);
          }));
          function writeUint8Array(_x71) {
            return _writeUint8Array3.apply(this, arguments);
          }
          return writeUint8Array;
        }();
        _proto22.getData = function getData() {
          var _this13 = this;
          if (this.blob.text) return this.blob.text();
          var _e17 = new g();
          return new w(function(t, n) {
            _e17.onload = function(e) {
              return t(e.target.result);
            }, _e17.onerror = function() {
              return n(_e17.error);
            }, _e17.readAsText(_this13.blob, _this13.encoding);
          });
        };
        return _class6;
      }(je), e.Uint8ArrayReader = function(_Ge7) {
        _inheritsLoose(_class7, _Ge7);
        function _class7(e) {
          var _this14;
          _this14 = _Ge7.call(this) || this, _this14.array = e, _this14.size = e.length;
          return _this14;
        }
        var _proto23 = _class7.prototype;
        _proto23.readUint8Array = function() {
          var _readUint8Array7 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee28(e, t) {
            return _regeneratorRuntime().wrap(function _callee28$(_context28) {
              while (1) switch (_context28.prev = _context28.next) {
               case 0:
                return _context28.abrupt("return", this.array.slice(e, e + t));

               case 1:
               case "end":
                return _context28.stop();
              }
            }, _callee28, this);
          }));
          function readUint8Array(_x72, _x73) {
            return _readUint8Array7.apply(this, arguments);
          }
          return readUint8Array;
        }();
        return _class7;
      }(Ge), e.Uint8ArrayWriter = function(_je4) {
        _inheritsLoose(_class8, _je4);
        function _class8() {
          var _this15;
          _this15 = _je4.call(this) || this, _this15.array = new d(0);
          return _this15;
        }
        var _proto24 = _class8.prototype;
        _proto24.writeUint8Array = function() {
          var _writeUint8Array4 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee29(e) {
            var t;
            return _regeneratorRuntime().wrap(function _callee29$(_context29) {
              while (1) switch (_context29.prev = _context29.next) {
               case 0:
                _je4.prototype.writeUint8Array.call(this, e);
                t = this.array;
                this.array = new d(t.length + e.length), this.array.set(t), this.array.set(e, t.length);

               case 3:
               case "end":
                return _context29.stop();
              }
            }, _callee29, this);
          }));
          function writeUint8Array(_x74) {
            return _writeUint8Array4.apply(this, arguments);
          }
          return writeUint8Array;
        }();
        _proto24.getData = function getData() {
          return this.array;
        };
        return _class8;
      }(je), e.WritableStreamWriter = function(_je5) {
        _inheritsLoose(_class9, _je5);
        function _class9(e) {
          var _this16;
          _this16 = _je5.call(this) || this, _this16.writableStream = e, _this16.writer = e.getWriter();
          return _this16;
        }
        var _proto25 = _class9.prototype;
        _proto25.writeUint8Array = function() {
          var _writeUint8Array5 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee30(e) {
            return _regeneratorRuntime().wrap(function _callee30$(_context30) {
              while (1) switch (_context30.prev = _context30.next) {
               case 0:
                _context30.next = 2;
                return this.writer.ready;

               case 2:
                return _context30.abrupt("return", this.writer.write(e));

               case 3:
               case "end":
                return _context30.stop();
              }
            }, _callee30, this);
          }));
          function writeUint8Array(_x75) {
            return _writeUint8Array5.apply(this, arguments);
          }
          return writeUint8Array;
        }();
        _proto25.getData = function() {
          var _getData2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee31() {
            return _regeneratorRuntime().wrap(function _callee31$(_context31) {
              while (1) switch (_context31.prev = _context31.next) {
               case 0:
                _context31.next = 2;
                return this.writer.ready;

               case 2:
                _context31.next = 4;
                return this.writer.close();

               case 4:
                return _context31.abrupt("return", this.writableStream);

               case 5:
               case "end":
                return _context31.stop();
              }
            }, _callee31, this);
          }));
          function getData() {
            return _getData2.apply(this, arguments);
          }
          return getData;
        }();
        return _class9;
      }(je), e.Writer = je, e.ZipReader = function() {
        function _class10(e, t) {
          void 0 === t && (t = {});
          n.assign(this, {
            reader: e,
            options: t,
            config: O
          });
        }
        var _proto26 = _class10.prototype;
        _proto26.getEntries = function() {
          var _getEntries = _asyncToGenerator(_regeneratorRuntime().mark(function _callee34(e) {
            var t, i, r, s, o, l, u, f, _e19, _t15, _n12, _a4, _e20, h, _, p, _e21, _t16, b, _loop, _r13;
            return _regeneratorRuntime().wrap(function _callee34$(_context35) {
              while (1) switch (_context35.prev = _context35.next) {
               case 0:
                void 0 === e && (e = {});
                t = this, i = t.reader;
                _context35.t0 = i.initialized;
                if (_context35.t0) {
                  _context35.next = 6;
                  break;
                }
                _context35.next = 6;
                return i.init();

               case 6:
                if (!(22 > i.size)) {
                  _context35.next = 8;
                  break;
                }
                throw new c(gt);

               case 8:
                _context35.next = 10;
                return function() {
                  var _ref10 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee33(e, t, n) {
                    var i, r, _r10;
                    return _regeneratorRuntime().wrap(function _callee33$(_context33) {
                      while (1) switch (_context33.prev = _context33.next) {
                       case 0:
                        _r10 = function _r12() {
                          _r10 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee32(t) {
                            var r, a, _e18;
                            return _regeneratorRuntime().wrap(function _callee32$(_context32) {
                              while (1) switch (_context32.prev = _context32.next) {
                               case 0:
                                r = n - t;
                                _context32.next = 3;
                                return Vt(e, r, t);

                               case 3:
                                a = _context32.sent;
                                _e18 = a.length - 22;

                               case 5:
                                if (!(_e18 >= 0)) {
                                  _context32.next = 11;
                                  break;
                                }
                                if (!(a[_e18] == i[0] && a[_e18 + 1] == i[1] && a[_e18 + 2] == i[2] && a[_e18 + 3] == i[3])) {
                                  _context32.next = 8;
                                  break;
                                }
                                return _context32.abrupt("return", {
                                  offset: r + _e18,
                                  buffer: a.slice(_e18, _e18 + 22).buffer
                                });

                               case 8:
                                _e18--;
                                _context32.next = 5;
                                break;

                               case 11:
                               case "end":
                                return _context32.stop();
                              }
                            }, _callee32);
                          }));
                          return _r10.apply(this, arguments);
                        };
                        r = function _r11(_x80) {
                          return _r10.apply(this, arguments);
                        };
                        i = new d(4);
                        Pt(i).setUint32(0, 101010256, !0);
                        _context33.next = 6;
                        return r(22);

                       case 6:
                        _context33.t0 = _context33.sent;
                        if (_context33.t0) {
                          _context33.next = 11;
                          break;
                        }
                        _context33.next = 10;
                        return r(a.min(1048582, n));

                       case 10:
                        _context33.t0 = _context33.sent;

                       case 11:
                        return _context33.abrupt("return", _context33.t0);

                       case 12:
                       case "end":
                        return _context33.stop();
                      }
                    }, _callee33);
                  }));
                  return function(_x77, _x78, _x79) {
                    return _ref10.apply(this, arguments);
                  };
                }()(i, 0, i.size);

               case 10:
                r = _context35.sent;
                if (r) {
                  _context35.next = 13;
                  break;
                }
                throw new c(yt);

               case 13:
                s = Pt(r);
                o = Nt(s, 12), l = Nt(s, 16), u = Mt(s, 8), f = 0;
                if (!(l == ut || o == ut || 65535 == u)) {
                  _context35.next = 40;
                  break;
                }
                _context35.t1 = Pt;
                _context35.next = 19;
                return Vt(i, r.offset - 20, 20);

               case 19:
                _context35.t2 = _context35.sent;
                _e19 = (0, _context35.t1)(_context35.t2);
                if (!(117853008 != Nt(_e19, 0))) {
                  _context35.next = 23;
                  break;
                }
                throw new c(xt);

               case 23:
                l = Ot(_e19, 8);
                _context35.next = 26;
                return Vt(i, l, 56);

               case 26:
                _t15 = _context35.sent;
                _n12 = Pt(_t15);
                _a4 = r.offset - 20 - 56;
                if (!(Nt(_n12, 0) != ht && l != _a4)) {
                  _context35.next = 37;
                  break;
                }
                _e20 = l;
                l = _a4;
                f = l - _e20;
                _context35.next = 35;
                return Vt(i, l, 56);

               case 35:
                _t15 = _context35.sent;
                _n12 = Pt(_t15);

               case 37:
                if (!(Nt(_n12, 0) != ht)) {
                  _context35.next = 39;
                  break;
                }
                throw new c(mt);

               case 39:
                u = Ot(_n12, 32), o = Ot(_n12, 40), l -= o;

               case 40:
                if (!(0 > l || l >= i.size)) {
                  _context35.next = 42;
                  break;
                }
                throw new c(gt);

               case 42:
                h = 0;
                _context35.next = 45;
                return Vt(i, l, o);

               case 45:
                _ = _context35.sent;
                p = Pt(_);
                if (!o) {
                  _context35.next = 57;
                  break;
                }
                _e21 = r.offset - o;
                if (!(Nt(p, h) != ft && l != _e21)) {
                  _context35.next = 57;
                  break;
                }
                _t16 = l;
                l = _e21;
                f = l - _t16;
                _context35.next = 55;
                return Vt(i, l, o);

               case 55:
                _ = _context35.sent;
                p = Pt(_);

               case 57:
                if (!(0 > l || l >= i.size)) {
                  _context35.next = 59;
                  break;
                }
                throw new c(gt);

               case 59:
                b = [];
                _loop = _regeneratorRuntime().mark(function _loop(_r13) {
                  var a, s, o, l, d, g, y, x, m, k, _yield$w$all, v, R, S;
                  return _regeneratorRuntime().wrap(function _loop$(_context34) {
                    while (1) switch (_context34.prev = _context34.next) {
                     case 0:
                      a = new Ft(i, t.config, t.options);
                      if (!(Nt(p, h) != ft)) {
                        _context34.next = 3;
                        break;
                      }
                      throw new c(kt);

                     case 3:
                      Dt(a, p, h + 6);
                      s = !!a.bitFlag.languageEncodingFlag, o = h + 46, l = o + a.filenameLength, d = l + a.extraFieldLength, 
                      g = Mt(p, h + 4), y = 0 == (0 & g);
                      n.assign(a, {
                        versionMadeBy: g,
                        msDosCompatible: y,
                        compressedSize: 0,
                        uncompressedSize: 0,
                        commentLength: Mt(p, h + 32),
                        directory: y && 16 == (16 & Ht(p, h + 38)),
                        offset: Nt(p, h + 42) + f,
                        internalFileAttribute: Nt(p, h + 34),
                        externalFileAttribute: Nt(p, h + 38),
                        rawFilename: _.subarray(o, l),
                        filenameUTF8: s,
                        commentUTF8: s,
                        rawExtraField: _.subarray(l, d)
                      });
                      x = d + a.commentLength;
                      a.rawComment = _.subarray(d, x);
                      m = Wt(t, e, "filenameEncoding");
                      k = Wt(t, e, "commentEncoding");
                      _context34.next = 12;
                      return w.all([ wt(a.rawFilename, a.filenameUTF8 ? Ut : m || zt), wt(a.rawComment, a.commentUTF8 ? Ut : k || zt) ]);

                     case 12:
                      _yield$w$all = _context34.sent;
                      v = _yield$w$all[0];
                      R = _yield$w$all[1];
                      a.filename = v;
                      a.comment = R;
                      !a.directory && a.filename.endsWith("/") && (a.directory = !0);
                      _context34.next = 20;
                      return Ct(a, a, p, h + 6);

                     case 20:
                      S = new bt(a);
                      if (S.getData = function(e, t) {
                        return a.getData(e, S, t);
                      }, b.push(S), h = x, e.onprogress) try {
                        e.onprogress(_r13 + 1, u, new bt(a));
                      } catch (e) {}

                     case 22:
                     case "end":
                      return _context34.stop();
                    }
                  }, _loop);
                });
                _r13 = 0;

               case 62:
                if (!(u > _r13)) {
                  _context35.next = 67;
                  break;
                }
                return _context35.delegateYield(_loop(_r13), "t3", 64);

               case 64:
                _r13++;
                _context35.next = 62;
                break;

               case 67:
                return _context35.abrupt("return", b);

               case 68:
               case "end":
                return _context35.stop();
              }
            }, _callee34, this);
          }));
          function getEntries(_x76) {
            return _getEntries.apply(this, arguments);
          }
          return getEntries;
        }();
        _proto26.close = function() {
          var _close = _asyncToGenerator(_regeneratorRuntime().mark(function _callee35() {
            return _regeneratorRuntime().wrap(function _callee35$(_context36) {
              while (1) switch (_context36.prev = _context36.next) {
               case 0:
               case "end":
                return _context36.stop();
              }
            }, _callee35);
          }));
          function close() {
            return _close.apply(this, arguments);
          }
          return close;
        }();
        return _class10;
      }(), e.configure = P, e.getMimeType = function() {
        return "application/octet-stream";
      }, e.terminateWorkers = function() {
        Ie.forEach(function(e) {
          He(e), e.terminate();
        });
      }, n.defineProperty(e, "__esModule", {
        value: !0
      });
    });
    cc._RF.pop();
  }, {} ]
}, {}, [ "MTFNB-assetLoader", "MTFNB-zip-no-worker-inflate.min" ]);