Home | History | Annotate | Download | only in js

Lines Matching refs:xh

245 function vh(a){return new uh(a,[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null])}function wh(a){a=a.A;return 32>a?0:a-1>>>5<<5}function xh(a,b,c){for(;;){if(0===b)return c;var d=vh(a);d.l[0]=c;c=d;b-=5}}var zh=function yh(b,c,d,e){var f=new uh(d.Z,Jd(d.l)),g=b.A-1>>>c&31;5===c?f.l[g]=e:(d=d.l[g],b=null!=d?yh(b,c-5,d,e):xh(null,c-5,e),f.l[g]=b);return f};
254 xh(null,this.shift,new uh(null,this.S)),d.l[1]=e):d=zh(this,this.shift,this.root,new uh(null,this.S));return new X(this.meta,this.A+1,c,d,[b],null)};
268 function Qh(a,b){return a===b.Z?b:new uh(a,Jd(b.l))}function Hh(a){return new uh({},Jd(a.l))}function Ih(a){var b=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];Yf(a,0,b,0,a.length);return b}var Sh=function Rh(b,c,d,e){d=Qh(b.root.Z,d);var f=b.A-1>>>c&31;if(5===c)b=e;else{var g=d.l[f];b=null!=g?Rh(b,c-5,g,e):xh(b.root.Z,c-5,e)}d.l[f]=b;return d};
271 5;d[0]=this.root;d[1]=xh(this.root.Z,this.shift,c);this.root=new uh(this.root.Z,d);this.shift=e}else this.root=Sh(this,this.shift,this.root,c)}this.A+=1;return this}throw Error("conj! after persistent!");};h.Pb=function(){if(this.root.Z){this.root.Z=null;var a=this.A-wh(this),b=Array(a);Yf(this.S,0,b,0,a);return new X(null,this.A,this.shift,this.root,b,null)}throw Error("persistent! called twice");};
279 h.N=function(a,b){return new Uh(b,this.count,this.Ia,this.Ab,this.F)};h.X=function(a,b){var c;t(this.Ia)?(c=this.Ab,c=new Uh(this.meta,this.count+1,this.Ia,Gf.e(t(c)?c:Ff,b),null)):c=new Uh(this.meta,this.count+1,Gf.e(this.Ia,b),Ff,null);return c};var Vh=new Uh(null,0,null,Ff,0);function Wh(){this.w=2097152;this.I=0}Wh.prototype.equiv=function(a){return this.H(null,a)};Wh.prototype.H=function(){return!1};var Xh=new Wh;
280 function Yh(a,b){return bg(Uf(b)?P(a)===P(b)?Sg(kg,eh.e(function(a){return C.e(S.j(b,G(a),Xh),Df(a))},a)):null:null)}function Zh(a){this.s=a}Zh.prototype.next=function(){if(null!=this.s){var a=G(this.s);this.s=K(this.s);return{value:a,done:!1}}return{value:null,done:!0}};function $h(a){return new Zh(F(a))}function ai(a){this.s=a}ai.prototype.next=function(){if(null!=this.s){var a=G(this.s),b=Q.j(a,0,null),a=Q.j(a,1,null);this.s=K(this.s);return{value:[b,a],done:!1}}return{value:null,done:!0}};