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,YAClB,GAAK,EAEE,IAAgC,mBAArB,EAAO,UACvB,OAAO,EACF,GAAI,gBAAgB,EACzB,OAAO,EAAO,WAAa,KAE3B,IAAI,EAAQ,EAAO,UACnB,OAAO,OAAS,EAAE,gBAAiC,IAApB,EAAM,UAA0B,EAAE,UAAY,EAAM,WAAa,IAClG,CARE,OAAO,IASX,EACA,IAAK,SAAmB,GAClB,GAAS,gBAAgB,IAC3B,EAAe,KAAM,EAAS,CAC5B,MAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAU,IAEZ,EAAe,KAAM,EAAS,CAC5B,MAAO,CAAC,EACR,YAAY,EACZ,cAAc,EACd,UAAU,IAEZ,EAAc,KAAM,GAExB,EACA,YAAY,EACZ,cAAc,IAEhB,EAAe,EAAE,UAAW,EAAS,CACnC,IAAK,WACH,GAA8B,mBAAnB,KAAK,UACd,OAAO,EAAe,KAAK,aAE7B,KAAM,KAAW,MAAO,CACtB,IAAI,KAAK,UAGP,OAAO,EAAE,UAFT,EAAS,KAAM,EAAe,MAIlC,CACA,OAAI,KAAK,GACyB,mBAAlB,KAAK,GAA0B,KAAK,GAAW,KAAK,GAAS,YAEpE,IAEX,EACA,IAAK,SAAmB,GACtB,EAAS,KAAM,EACjB,EACA,YAAY,EACZ,cAAc,IAGnB,CA5ND,CA4NG,OAAQ","file":"/npm/proto-polyfill@1.7.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/proto-polyfill@1.7.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","(function(O, F) {\n  \"use strict\";\n\n  var O_PROTO = \"__proto__\";\n  var P_PROTO = \"___proto_polyfill_proto___\";\n  var P_FUNCT = \"___proto_polyfill_funct___\";\n  var P_VALUE = \"___proto_polyfill_value___\";\n  var SYMBOL = \"Symbol(\";\n\n  var getPrototypeOf = O[\"getPrototypeOf\"];\n  var getOwnPropertyNames = O[\"getOwnPropertyNames\"];\n  var defineProperty = O[\"defineProperty\"];\n  var getOwnPropertyDescriptor = O[\"getOwnPropertyDescriptor\"];\n  var create = O[\"create\"];\n\n  function getFunction(source, name, what) {\n    var info = getOwnPropertyDescriptor(source, name);\n    var func = info[what];\n    return func[P_FUNCT] || func;\n  }\n\n  function prepareFunction(dest, source, name, what) {\n    function newFunction() {\n      return getFunction(source, name, what).apply(dest, arguments);\n    }\n    defineProperty(newFunction, P_FUNCT, {\n      get: function pFunctionGet() {\n        return getFunction(source, name, what);\n      },\n      enumerable: false,\n      configurable: false\n    });\n    return newFunction;\n  }\n\n  function setProperty(dest, source, name) {\n    var info = getOwnPropertyDescriptor(source, name);\n    var hasSetter = info.set instanceof F;\n    var hasGetter = info.get instanceof F;\n    if (hasSetter && hasGetter) {\n      defineProperty(dest, name, {\n        set: prepareFunction(dest, source, name, \"set\"),\n        get: prepareFunction(dest, source, name, \"get\"),\n        enumerable: info.enumerable || false,\n        configurable: true\n      });\n    } else if (hasSetter) {\n      defineProperty(dest, name, {\n        set: prepareFunction(dest, source, name, \"set\"),\n        enumerable: info.enumerable || false,\n        configurable: true\n      });\n    } else if (hasGetter) {\n      defineProperty(dest, name, {\n        get: prepareFunction(dest, source, name, \"get\"),\n        enumerable: info.enumerable || false,\n        configurable: true\n      });\n    } else {\n      defineProperty(dest, name, {\n        set: function(v) {\n          this[P_VALUE][name] = v;\n        },\n        get: function() {\n          return name in this[P_VALUE] ? this[P_VALUE][name] : this === dest ? source[name] : dest[name];\n        },\n        enumerable: info.enumerable || false,\n        configurable: true\n      });\n    }\n  }\n\n  function setProperties(dest, source) {\n    var names = getOwnPropertyNames(source),\n      name,\n      n = 0;\n    for (; n < names.length; n++) {\n      name = names[n];\n      if (\n        name &&\n        name !== O_PROTO &&\n        name !== P_PROTO &&\n        name !== P_FUNCT &&\n        name !== P_VALUE &&\n        name.indexOf(SYMBOL) !== 0 &&\n        !dest.hasOwnProperty(name)\n      ) {\n        setProperty(dest, source, name);\n      }\n    }\n  }\n\n  function setProto(dest, source) {\n    var sourceProto = typeof source === \"function\" ? source.prototype : source;\n    var sourceConstructor = typeof source === \"function\" ? source : sourceProto && sourceProto.constructor;\n    defineProperty(dest, P_PROTO, {\n      value: sourceProto || source,\n      enumerable: false,\n      configurable: false,\n      writable: false\n    });\n    defineProperty(dest, P_VALUE, {\n      value: {},\n      enumerable: false,\n      configurable: false,\n      writable: false\n    });\n    if (!sourceConstructor) {\n      return;\n    }\n    setProperties(dest, sourceConstructor);\n  }\n\n  if (\n    !(O_PROTO in O) &&\n    !(O_PROTO in F) &&\n    getPrototypeOf instanceof F &&\n    getOwnPropertyNames instanceof F &&\n    defineProperty instanceof F &&\n    getOwnPropertyDescriptor instanceof F\n  ) {\n    O[\"setPrototypeOf\"] = function oSetPrototypeOf(obj, proto) {\n      if (obj instanceof O && obj !== null) {\n        obj.__proto__ = proto;\n      }\n      return obj;\n    };\n    O[\"getPrototypeOf\"] = function oGetPrototypeOf(obj) {\n      return obj instanceof O && obj !== null ? obj.__proto__ : getPrototypeOf(obj);\n    };\n    defineProperty(O, \"create\", {\n      value: function oCreate(source, props) {\n        var C = create(source, props);\n        defineProperty(C, O_PROTO, {\n          get: function cGetProto() {\n            if (this === C) {\n              return source;\n            } else {\n              return C;\n            }\n          },\n          enumerable: false,\n          configurable: false\n        });\n        return C;\n      },\n      enumerable: false,\n      configurable: true,\n      writable: true\n    });\n    defineProperty(O.prototype, O_PROTO, {\n      get: function oGetProto() {\n        switch (typeof this) {\n          case \"string\":\n            return String.prototype;\n          case \"number\":\n            return Number.prototype;\n          case \"boolean\":\n            return Boolean.prototype;\n        }\n        if (P_PROTO in this) {\n          return this[P_PROTO];\n        }\n        var constr = this.constructor;\n        if (!constr) {\n          return null;\n        } else if (typeof constr.prototype === \"function\") {\n          return constr;\n        } else if (this instanceof constr) {\n          return constr.prototype || null;\n        } else {\n          var proto = constr.__proto__;\n          return this !== O.prototype && proto.prototype === undefined ? O.prototype : proto.prototype || null;\n        }\n      },\n      set: function oSetProto(proto) {\n        if (proto && this instanceof O) {\n          defineProperty(this, P_PROTO, {\n            value: proto,\n            enumerable: false,\n            configurable: false,\n            writable: false\n          });\n          defineProperty(this, P_VALUE, {\n            value: {},\n            enumerable: false,\n            configurable: false,\n            writable: false\n          });\n          setProperties(this, proto);\n        }\n      },\n      enumerable: false,\n      configurable: false\n    });\n    defineProperty(F.prototype, O_PROTO, {\n      get: function fGetProto() {\n        if (typeof this.prototype === \"function\") {\n          return getPrototypeOf(this.constructor);\n        }\n        if (!(P_PROTO in this)) {\n          if (this.prototype) {\n            setProto(this, getPrototypeOf(this));\n          } else {\n            return O.prototype;\n          }\n        }\n        if (this[P_PROTO]) {\n          return typeof this[P_PROTO] === \"function\" ? this[P_PROTO] : this[P_PROTO].constructor;\n        } else {\n          return null;\n        }\n      },\n      set: function fSetProto(source) {\n        setProto(this, source);\n      },\n      enumerable: false,\n      configurable: false\n    });\n  }\n})(Object, Function);\n"]}