Build 576754stable
Module 833658
984 characters · in 68925.4de164704c201108.jsDependencies
Source Raw
function(e,t,r){"use strict";var n=r(267768),i=r(870064),o=r(741623),a=r(14665),s=r(899204),l=r(904283),u=r(732937),c=r(228047),f=r(94535),d=r(444139),p=r(227106);e.exports=function(e,t,r){if(!p(e))throw new o("Assertion failed: O must be an Object");if(!u(t))throw new o("Assertion failed: P must be a Property Key");if(!a(r))throw new o("Assertion failed: Desc must be a Property Descriptor");if(!n){if(s(r))throw new i("This environment does not support accessor property descriptors.");var h=!(t in e)&&r["[[Writable]]"]&&r["[[Enumerable]]"]&&r["[[Configurable]]"]&&"[[Value]]"in r,m=t in e&&(!("[[Configurable]]"in r)||r["[[Configurable]]"])&&(!("[[Enumerable]]"in r)||r["[[Enumerable]]"])&&(!("[[Writable]]"in r)||r["[[Writable]]"])&&"[[Value]]"in r;if(h||m)return e[t]=r["[[Value]]"],f(e[t],r["[[Value]]"]);throw new i("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var g=n(e,t),v=g&&c(g),y=l(e);return d(e,t,y,r,v)}}