shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$sources$ImageSource = function(global, require, module, exports) {
  global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
  require = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$sources$TextureSource");
  "use strict";
  class ImageSource extends require.TextureSource {
    constructor(options) {
      super(options);
      this.uploadMethodId = "image";
      this.autoGarbageCollect = !0;
    }
    static test(resource) {
      return globalThis.HTMLImageElement && resource instanceof HTMLImageElement || "undefined" !== typeof ImageBitmap && resource instanceof ImageBitmap || globalThis.VideoFrame && resource instanceof VideoFrame;
    }
  }
  ImageSource.extension = global.ExtensionType.TextureSource;
  exports.ImageSource = ImageSource;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$sources$ImageSource.js.map
