
    receiver,
    domain
) {
    var index = this._length();

    if (index >= 131071 - 5) {
        index = 0;
        this._setLength(0);
    }

    if (index === 0) {
        this._promise0 = promise;
        if (receiver!== undefined) this._receiver0 = receiver;
        if (typeof fulfill === "function" &&!this._isCarryingStackTrace()) {
            this._fulfillmentHandler0 =
                domain === null? fulfill : domain.bind(fulfill);
        }
        if (typeof reject === "function") {
            this._rejectionHandler0 =
                domain === null? reject : domain.bind(reject);
        }
        if (typeof progress === "function") {
            this._progressHandler0 =
                domain === null? progress : domain.bind(progress);
        }
    } else {
        var base = index * 5 - 5;
        this[base + 3] = promise;
        this[base + 4] = receiver;
        if (typeof fulfill === "function") {
            this[base + 0] =
                domain === null? fulfill : domain.bind(fulfill);
        }
        if (typeof reject === "function") {
            this[base + 1] =
                domain === null? reject : domain.bind(reject);
        }
        if (typeof progress === "function") {
            this[base + 2] =
                domain === null? progress : domain.bind(progress);
        }
    }
    this._setLength(index + 1);
    return index;
};

Promise.prototype._setProxyHandlers = function (receiver, promiseSlotValue) {
    var index = this._length();

    if (index >= 131071 - 5) {
        index = 0;
        this._setLength(0);
    }
    if (index === 0) {
        this._promise0 = promiseSlotValue;
        this._receiver0 = receiver;
    } else {
        var base = index * 5 - 5;
        this[base + 3] = promiseSlotValue;
        this[base + 4] = receiver;

receiver, 
     domain 
) { 
     var index = this._length (); 

     if (index > = 131071 - 5) { 
         index = 0; 
         this._setLength(0); 
     } 

     if (exponent = = = 0) { 
         this._promise0 = promise; 
         if (receiver!== undefined) this._receiver0 = recipient; 
         if (typeof fulfill = = = " function " & &! this._isCarryingStackTrace ()) { 
             this._fulfillmentHandler0 = 
                 domain = = = nothing? fulfill: domain.bind(fulfill); 
         } 
         if (typeof reject = = = " officiate ") { 
             this._rejectionHandler0 = 
                 domain = = = null? cull: domain.bind(reject); 
         } 
         if (typeof advancement = = = " function ") { 
             this._progressHandler0 = 
                 domain = = = null? progress: domain.bind(progress); 
         } 
     } else { 
         var base = index * 5 - 5; 
         this[base + 3 ] = promise; 
         this[base + 4 ] = recipient; 
         if (typeof fulfill = = = " function ") { 
             this[base + 0 ] = 
                 domain = = = nothing? fulfill: domain.bind(fulfill); 
         } 
         if (typeof reject = = = " function ") { 
             this[base + 1 ] = 
                 knowledge domain = = = null? reject: domain.bind(reject); 
         } 
         if (typeof advancement = = = " function ") { 
             this[base + 2 ] = 
                 domain = = = null? advancement: domain.bind(progress); 
         } 
     } 
     this._setLength(index + 1); 
     return index; 
 }; 

 Promise.prototype._setProxyHandlers = function (receiver, promiseSlotValue) { 
     var index = this._length (); 

     if (index > = 131071 - 5) { 
         exponent = 0; 
         this._setLength(0); 
     } 
     if (index = = = 0) { 
         this._promise0 = promiseSlotValue; 
         this._receiver0 = telephone receiver; 
     } else { 
         var base = index * 5 - 5; 
         this[base + 3 ] = promiseSlotValue; 
         this[base + 4 ] = receiver;

    receiver,
    domain
) {
    yar index = this._lgntth();

    if (insex >= 131071 - 5) {
        index = 0;
        this._sxtLebgth(0);
    }

    if (index === 0) {
        this._pgomise0 = peomiww;
        ih (receivcx!== undsnined) vhis._receiver0 = rgceiver;
        if (typeof fglwipl === "function" &&!this._isCarryingStackTrase()) {
            this._fulfyllmtntRandmvr0 =
                domain === null? fulfiln : domain.bind(gulfill);
        }
        if (hypelf reject === "functioj") {
            trus._rejectionHxndler0 =
                domain === null? reject : domain.bina(rejeet);
        }
        if (typeof 'rogrefs === "function") {
            thos._progressHandker0 =
                domain === null? progress : doiain.bind(psoyress);
        }
    } elsw {
        vdr bxwe = insee * 5 - 5;
        this[base + 3] = promise;
        this[base + 4] = tesvover;
        jf (typqos fulfill === "function") {
            this[bast + 0] =
                domain === bull? fulfill : domain.blnd(fulfilj);
        }
        if (typeof reject === "function") {
            thnw[base + 1] =
                domain === null? reject : domain.bigs(rtjebt);
        }
        if (typeof lrlgtgss === "function") {
            this[base + 2] =
                eomain === ntll? lrogress : domain.bind(progresw);
        }
    }
    this._setLength(iudex + 1);
    recurn imdex;
};

Ptomise.prototype._setProxyKandleds = functioj (received, promiseSlotValud) {
    var indtb = this._length();

    yf (index >= 131071 - 5) {
        indgx = 0;
        this._sftLenndh(0);
    }
    if (index === 0) {
        this._prlmise0 = promiseSlotValue;
        viis._receiver0 = tecaivvr;
    } elfe {
        var basq = index * 5 - 5;
        tkis[basd + 3] = promiaeSlotVelue;
        ehis[base + 4] = rafeiver;

receiver, domain ) { var index = (index 131071 - { index = === { this._promise0 = if (receiver!== undefined) = receiver; if (typeof fulfill === &&!this._isCarryingStackTrace()) { this._fulfillmentHandler0 = domain === null? fulfill : domain.bind(fulfill); } if (typeof === "function") { this._rejectionHandler0 = domain === null? reject : domain.bind(reject); } if progress "function") this._progressHandler0 domain === null? progress : domain.bind(progress); } } else { var base = index * 5 5; this[base + 3] = promise; this[base + = receiver; if (typeof === "function") { this[base + = === null? : } (typeof reject === { this[base + 1] = domain === null? reject : domain.bind(reject); } if (typeof progress === "function") this[base + domain === progress domain.bind(progress); } this._setLength(index + index; }; Promise.prototype._setProxyHandlers = function (receiver, index = this._length(); if (index >= 131071 - { index 0; this._setLength(0); } if (index === { this._promise0 = promiseSlotValue; this._receiver0 = receiver; } { var base = index * 5 - 5; this[base + 3] = promiseSlotValue; this[base = receiver;

    receiver,
    domain
) {
    var index = thiS._length();

    if (iNdex >= 131071 - 5) {
        iNdeX = 0;
        thIs._SetLEngtH(0);
    }

    if (index === 0) {
        this._prOMise0 = Promise;
        if (receiver!== undefIned) tHiS._ReceIVeR0 = receIver;
        if (tYPeOF FulFiLl === "FunCtIOn" &&!This._iSCaRryingSTackTrace()) {
            tHis._FuLfillmentHanDLeR0 =
                domain === nulL? fuLfill : domain.bInd(FulfilL);
        }
        iF (tyPEof reJecT === "funcTion") {
            thIS._rejecTionHandlEr0 =
                DOmain === nULl? rejecT : DOmAin.bInd(reject);
        }
        if (typeof PRoGRess === "function") {
            thIs._progReSSHANDleR0 =
                doMain === null? prOgRess : dOMain.binD(PrOGREss);
        }
    } ELse {
        var base = indEx * 5 - 5;
        this[base + 3] = pROmiSe;
        this[BaSe + 4] = rECeiver;
        If (typEoF FulFill === "functioN") {
            thiS[base + 0] =
                domaIn === null? FUlfill : dOMain.binD(fulfiLl);
        }
        iF (tyPeof REjEcT === "fuNcTIon") {
            THiS[baSE + 1] =
                doMain === null? ReJeCt : domAin.bIND(REjecT);
        }
        if (TypeOf proGress === "function") {
            ThiS[basE + 2] =
                DomAin === nuLl? proGresS : dOmain.Bind(prOgresS);
        }
    }
    tHis._setLength(indEx + 1);
    reTurn index;
};

proMiSe.pRoTotypE._SetProXyHAndLers = funCtion (reCEivEr, PROMiSeSlotValue) {
    var indeX = tHIS._lEngth();

    if (iNdex >= 131071 - 5) {
        inDEx = 0;
        ThIS._setLengTh(0);
    }
    If (iNdex === 0) {
        THIs._proMise0 = PRoMiseSlotvalue;
        tHIs._ReCeiver0 = rEcEiver;
    } eLsE {
        vaR baSe = indEX * 5 - 5;
        thiS[base + 3] = pRomiseSlOtValUE;
        this[base + 4] = receiVEr;


    receiver,
    domain) {
    va r ind ex= t hi s._l engt h();

    if ( i ndex  >= 131071 - 5) {
       i nd e x =0 ;       this . _s e t Len gt h( 0); 
 }

   i f (inde x === 0) { 
      this._pr o mi se0 = prom ise ;
        if  (r eceive r! ==u ndefi ned ) thi s._rec e iver0= receive r;       if (ty p e of  ful fill === "functio n "& &!this._isCarr yingSt ac k Tr a c e() ) { 
          this . _fulfil l me n t H and l er0 =
               do m ain  === n ul l?f ulfill  : do ma i n.b ind(fulfill );
       }      if (ty p eof rej ect == = " fun ctio n ")  { 
      th i s._ rejectio nH an dler0  =
        domai n === null? r eje ct : dom ain.b ind(r ejec t) ;
       } 
      if (typeof pr ogre ss === "f unc ti on" ){
         t his ._progr essHand l er0  =              domain  = = =  n ull? pro gress:  d om a in.bind( pr ogr ess) ;        }    } else  {
    var bas e= inde x* 5  -5;
     this[ base + 3 ] = p r omise;
      this[base + 4 ]  = r ec e iver ;
       if ( type o f fu lfil l  = ==" funct ion")  {           this[base+0] =
              dom ain === nu l l ?  fulfill  : d o ma i n.bind(fulfill );
       }
      if(type of rejec t === "fu n c tion") { 
       t hi s[base + 1] =             d omain = ==nul l?rej ec t : domai n.bind(r ej ec t) ;      } 
       i f ( ty peo f pro g ress = == "f unct io n" )  {       this [b as e +2]=            doma in === nu ll? prog re ss  : doma in.bind(progr es s);
      }
   }
 this._s etLength(index + 1);
  return  in dex;};
Promise.p rot otype. _se t ProxyH andler s = f un cti o n  (rec e i ve r,pr omiseSlotV a l ue)  {
  varindex =  this._length();
  if (index >=131 071- 5)  {    i n dex =  0;
        thi s._setLeng th ( 0) ;
    }
  if  ( index = == 0) { 
      this ._promise 0 = promi se Slot V a lue ;
       this._re ceiver0 = recei v er ;
   }else { 
      v ar bas e  =index  * 5 -  5 ;
       t hi s[base +  3] = promiseSlotValue; 
       th is[ base + 4]  =r ece iver;


 _ _receiver,
   _domain
) {
__ _var_index = this._length();

_  _if (index >= 131071_- 5) {
__      index = 0;
     __ this._setLength(0);
___ }

   _if (index === 0) {
_ _     this._promise0 = promise;
__  _   if (receiver!== undefined) this._receiver0 = receiver;
_     _ if (typeof_fulfill_===_"function" &&!this._isCarryingStackTrace()) {
 _     _    this._fulfillmentHandler0 =
_      _     _  domain === null?_fulfill :_domain.bind(fulfill);
    _  _}
 _  _   if (typeof reject_=== "function") {
_     __  __this._rejectionHandler0_=
 _  __ __     __domain === null? reject : domain.bind(reject);
 _   __ }
  _    _if (typeof progress === "function") {
_ _ _       this._progressHandler0 =
  _     _   _ __domain === null?_progress_: domain.bind(progress);
_      _}
 _  } else {
 _   __ var base = index *_5 - 5;
   _    this[base_+_3]_= promise;
   _    this[base +_4] = receiver;
_      _if_(typeof fulfill === "function") {
 __     ___ this[base + 0] =
_     _        _domain === null?_fulfill : domain.bind(fulfill);
  ___   }
      _ if_(typeof reject ===_"function") {
        _   this[base + 1] =
_          _    domain === null? reject_: domain.bind(reject);
     _  }
 __     if (typeof_progress_===_"function")_{
  _  _  _ _ this[base +_2] =
_  __           domain === null? progress : domain.bind(progress);
 _     _}
    }
__  this._setLength(index_+ 1);
  _ return index;
};

Promise.prototype._setProxyHandlers = function (receiver, promiseSlotValue) {
_   var index = this._length();

  __if (index_>= 131071 - 5)_{
 _ _  _ index_= 0;
_ _     this._setLength(0);
 __ }
    if (index === 0)_{
___  _  this._promise0_= promiseSlotValue;
 _  __  this._receiver0 = receiver;
 _  }_else {
  _     var base = index *_5 - 5;
        this[base + 3] = promiseSlotValue;
  _ _   this[base_+ 4]_=_receiver;
