third_party/es6-module-loader/loader.js
function Module(obj) {
      if (typeof obj != 'object')
        throw new TypeError('Expected object');

      var self = {
        __esModule: true
      };

      for (var key in obj) {
        (function (key) {
          defineProperty(self, key, {
            configurable: false,
            enumerable: true,
            get: function () {
              return obj[key];
            }
          });
        })(key);
      }

      if (Object.preventExtensions)
        Object.preventExtensions(self);

      return self;
    }
function Module(obj) {
      if (typeof obj != 'object')
        throw new TypeError('Expected object');

      var self = {
        __esModule: true
      };

      for (var key in obj) {
        (function (key) {
          defineProperty(self, key, {
            configurable: false,
            enumerable: true,
            get: function () {
              return obj[key];
            }
          });
        })(key);
      }

      if (Object.preventExtensions)
        Object.preventExtensions(self);

      return self;
    }
Module Object