ds-algo-study
Version:
Just experimenting with publishing a package
1 lines • 14.4 kB
JavaScript
(function(){var g=this||self,f=function(H,J){if(!(J=(H=null,g).trustedTypes,J)||!J.createPolicy)return H;try{H=J.createPolicy("bg",{createHTML:F,createScript:F,createScriptURL:F})}catch(p){g.console&&g.console.error(p.message)}return H},F=function(H){return H};(0,eval)(function(H,J){return(J=f())&&1===H.eval(J.createScript("1"))?function(p){return J.createScript(p)}:function(p){return""+p}}(g)(Array(7824*Math.random()|0).join("\n")+'(function(){var b,v=function(H){return H},S=false,Jo=function(H,p,g,F,K){return{invoke:(g=HY(H,function(J){K&&(p&&O(p),F=J,K(),K=void 0)},!!(K=(F=void 0,function(){}),p))[0],function(J,f,V,a,N){if(!f)return f=g(V),J&&J(f),f;(a=function(){F(function(z){O(function(){J(z)})},V)},F)?a():(N=K,K=function(){O((N(),a))})})}},pR=function(H,p,g){if("object"==(p=typeof H,p))if(H){if(H instanceof Array)return"array";if(H instanceof Object)return p;if((g=Object.prototype.toString.call(H),"[object Window]")==g)return"object";if("[object Array]"==g||"number"==typeof H.length&&"undefined"!=typeof H.splice&&"undefined"!=typeof H.propertyIsEnumerable&&!H.propertyIsEnumerable("splice"))return"array";if("[object Function]"==g||"undefined"!=typeof H.call&&"undefined"!=typeof H.propertyIsEnumerable&&!H.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==p&&"undefined"==typeof H.call)return"object";return p},gF=function(H,p,g,F){try{for(F=0;79669387488!=F;)g+=(H<<4^H>>>5)+(H|0)^(F|0)+(p[F&3]|0),F+=2489668359,H+=(g<<4^g>>>5)+(g|0)^(F|0)+(p[F>>>11&3]|0);return[g>>>24,g>>16&255,g>>8&255,g&255,H>>>24,H>>16&255,H>>8&255,H&255]}catch(K){throw K;}},HY=function(H,p,g,F){return(F=k[H.substring(0,3)+"_"])?F(H.substring(3),p,g):FX(H,p)},M=this||self,fR=function(H,p,g,F,K){for(p=g=(K=[],0);g<H.length;g++)F=H.charCodeAt(g),128>F?K[p++]=F:(2048>F?K[p++]=F>>6|192:(55296==(F&64512)&&g+1<H.length&&56320==(H.charCodeAt(g+1)&64512)?(F=65536+((F&1023)<<10)+(H.charCodeAt(++g)&1023),K[p++]=F>>18|240,K[p++]=F>>12&63|128):K[p++]=F>>12|224,K[p++]=F>>6&63|128),K[p++]=F&63|128);return K},O=M.requestIdleCallback?function(H){requestIdleCallback(function(){H()},{timeout:4})}:M.setImmediate?function(H){setImmediate(H)}:function(H){setTimeout(H,0)},FX=function(H,p){return[(p(function(g){g(H)}),function(){return H})]},Vs=function(H,p){if((p=(H=null,M).trustedTypes,!p)||!p.createPolicy)return H;try{H=p.createPolicy("bg",{createHTML:v,createScript:v,createScriptURL:v})}catch(g){M.console&&M.console.error(g.message)}return H},k;function x(H,p,g){g=this;try{aX(this,H,p)}catch(F){G(this,F),H=H.bs,H(function(K){K(g.o)})}}var bk=(x.prototype.T=function(H,p){if((p=this.Z[H],void 0)===p)throw[c,30,H];for(H=7;H--;);return p()},function(H,p,g,F,K){if(H.D=(F=p[0],false),F==w)H.Y=25,H.v(p);else if(F==W){g=p[1];try{K=H.o||H.v(p)}catch(J){G(H,J),K=H.o}g(K)}else if(F==T)H.v(p);else if(F==n)H.v(p);else if(F==B){try{for(K=0;K<H.N.length;K++)try{g=H.N[K],g[0][g[1]](g[2])}catch(J){}}catch(J){}(0,(H.N=[],p)[1])(function(J,f){H.W(J,true,f)},function(J){(J=!H.F.length,P(H,[KR]),J)&&r(false,H,true)})}else{if(F==I)return K=p[2],D(202,H,p[6]),D(46,H,K),H.v(p);F==KR&&(H.H=[],H.i=[],H.Z=null)}}),G=(x.prototype.BE=function(){return X(this)},function(H,p){H.o=((H.o?H.o+"~":"E:")+p.message+":"+p.stack).slice(0,2048)}),u=function(H,p,g,F,K,J){if(p.l==p)for(J=p.T(H),60==H?(H=function(f,V,a,N){if(J.S3!=(N=(V=J.length,V|0)-4>>3,N)){N=(a=[0,(J.S3=N,0),K[1],K[2]],(N<<3)-4);try{J.e3=gF(sf((N|0)+4,J),a,sf(N,J))}catch(z){throw z;}}J.push(J.e3[V&7]^f)},K=p.T(217)):H=function(f){J.push(f)},F&&H(F&255),p=0,F=g.length;p<F;p++)H(g[p])},c=(x.prototype.W=function(H,p,g,F,K){if(this.o)H(this.o);else try{F=!this.F.length,K=[],P(this,[w,K,g]),P(this,[W,H,K]),p&&!F||r(true,this,p)}catch(J){G(this,J),H(this.o)}},{}),T=[],vY=(b=x.prototype,function(H,p,g,F,K,J){for(K=(p=X((F=(J={},g=X(H),J.L=X(H),J.K=[],H.l)==H?(X(H)|0)-1:1,H)),0);K<F;K++)J.K.push(X(H));for(J.s=H.T(g),J.$=H.T(p);F--;)J.K[F]=H.T(J.K[F]);return J}),KR=[],C=(b.ml=false,function(H,p){if(p>=H.X)throw[c,31];return(D(225,H,(p|0)+8),H.i)[p>>3]}),aX=(b.ls=36,function(H,p,g,F,K){for(H.Us=(H.R=(H.kT=(H.D=false,((H.M=void 0,H).P=(F=0,0),H.Y=25,K=[],(H.J=function(J,f,V,a,N,z){return(a=(V=this,z=function(){return z[(V.o5|0)+(a[V.g]===f|0)-!N[V.g]]},function(){return z()}),N=V.v,a[V.S]=function(A){z[V.ls]=A},a)[V.S](J),J=a},H.V=false,H.yq=zP,H.H=[],H).j=0,H).B=void 0,NM),0),function(J,f,V){return V=function(){return f()},f=function(){return J},V[this.S]=function(a){J=a},V});128>F;F++)K[F]=String.fromCharCode(F);(P(H,[(H.X=(D(29,(H.F=(D((H.ro=(F=((D(153,(D(47,(D(203,H,(D(13,H,(D(46,(H.a5=(D(102,H,(D(217,(D(86,(D(188,(D(213,(D((H.Tc=(D(210,H,(D(222,H,(D(181,(D(109,H,(D(130,H,(D((D(244,H,(D(98,(D(31,(D(65,H,(H.G=!(D(193,H,(D((D(171,(D(134,H,(D(100,(D(34,H,(H.Zx=(D(139,((D(227,H,(D(145,H,(D(54,H,(D(158,H,(((D(60,H,(D(104,H,((H.N=((H.Os=function(J){this.l=J},H.Z=[],H).l=H,[]),D)(225,H,0),0)),H.C(4))),D)(195,H,[]),D)(22,H,function(J){J.h(4)}),M)),0)),function(J,f,V,a,N,z){U(false,true,J)||(N=vY(J),f=N.$,a=N.K,z=N.s,V=a.length,f=0==V?new f[z]:1==V?new f[z](a[0]):2==V?new f[z](a[0],a[1]):3==V?new f[z](a[0],a[1],a[2]):4==V?new f[z](a[0],a[1],a[2],a[3]):2(),D(N.L,J,f))})),function(J,f,V,a,N,z,A){if(f=X(J),V=h(J),z="",J.Z[129])for(A=J.T(129),a=A.length,N=0;V--;)N=((N|0)+(h(J)|0))%a,z+=K[A[N]];else for(;V--;)z+=K[X(J)];D(f,J,z)})),D)(175,H,function(J){J.h(3)}),H),function(J,f,V){D((V=(f=(V=X(J),X)(J),V=J.T(V),pR(V)),f),J,V)}),false),function(J,f,V,a){D((V=(f=X(J),X(J)),a=X(J),a),J,J.T(f)>>>V)})),H),H),function(J,f,V,a){f=X(J),a=X(J),V=J.T(a),f=J.T(f),D(a,J,V+f)})),H),function(J,f,V,a){(f=(V=X(J),a=X(J),X(J)),a=J.T(a),V=J.T(V)==a,D)(f,J,+V)}),194),H,function(J,f,V,a,N){0!==(V=(a=(f=(N=(a=(V=(f=(N=X(J),X(J)),X)(J),X(J)),J).T(N),J).T(f),J.T(a)),J).T(V),N)&&(V=Sn(J,1,a,V,N,f),N.addEventListener(f,V,S),D(188,J,[N,f,V]))}),function(J,f,V,a,N,z){if(!U(true,true,J)){if("object"==(J=(N=(f=(f=(V=(a=(N=X(J),X(J)),X(J)),X(J)),J.T(f)),J).T(N),V=J.T(V),J.T(a)),pR(N))){for(z in a=[],N)a.push(z);N=a}for(V=(a=(z=0,N.length),0<V?V:1);z<a;z+=V)J(N.slice(z,(z|0)+(V|0)),f)}})),1),function(J,f,V,a,N){(a=(f=X((N=X(J),J)),X(J)),J.l==J)&&(f=J.T(f),V=J.T(N),a=J.T(a),V[f]=a,79==N&&(J.I=void 0,2==f&&lk(J)))})),H),function(J,f,V,a,N){for(N=(V=h((a=X(J),J)),[]),f=0;f<V;f++)N.push(X(J));D(a,J,N)}),H),function(J,f){(J=(f=X(J),J.T(f)),J)[0].removeEventListener(J[1],J[2],false)}),function(J,f,V,a){if(a=J.Tc.pop()){for(V=X(J);0<V;V--)f=X(J),a[f]=J.Z[f];a[a[121]=J.Z[121],181]=J.Z[181],J.Z=a}else D(225,J,J.X)})),168),H,function(J){J.qs(4)}),function(J){ys(1,J)})),function(J,f,V,a){(V=X((a=(f=X(J),X)(J),J)),D)(V,J,J.T(f)||J.T(a))})),H),2048),function(J,f,V){D((f=(V=X(J),X(J)),f),J,""+J.T(V))})),D(219,H,function(J,f,V,a){a=(V=(f=X((V=(a=X(J),X(J)),J)),J.T(V)),J.T(a)),D(f,J,a[V])}),function(J,f){U(false,true,J)||(f=vY(J),D(f.L,J,f.s.apply(f.$,f.K)))})),[]),121),H,[]),H),function(){}),H),0),H),function(J,f,V){(f=(f=X((V=X(J),J)),J.T(f)),0)!=J.T(V)&&D(225,J,f)}),H),[0,0,0]),function(J){ys(4,J)})),function(J,f){f.push(J[0]<<24|J[1]<<16|J[2]<<8|J[3]),f.push(J[4]<<24|J[5]<<16|J[6]<<8|J[7]),f.push(J[8]<<24|J[9]<<16|J[10]<<8|J[11])}),H),{}),function(J,f,V,a){(V=(f=(a=(f=X((V=X(J),J)),X)(J),J.T(f)),J.T(V)),D)(a,J,V in f|0)})),function(J,f){f=J.T(X(J)),Ao(f,J)})),H),[165,0,0]),H),function(J,f,V){U(false,true,J)||(V=X(J),f=X(J),D(f,J,function(a){return eval(a)}(Of(J.T(V)))))}),D)(123,H,function(J,f,V,a,N,z,A,q,t,Z,l,y,R){for(Z=(q=(A=(l=(V=((f=(t=(N=X(J),z=0),function(E,e){for(;z<E;)t|=X(J)<<z,z+=8;return t>>=(e=(z-=E,t&(1<<E)-1),E),e}),f(3))|0)+1,f)(5),0),[]),0);Z<l;Z++)y=f(1),q.push(y),A+=y?0:1;for(R=(A=((A|0)-1).toString(2).length,[]),Z=0;Z<l;Z++)q[Z]||(R[Z]=f(A));for(f=0;f<l;f++)q[f]&&(R[f]=X(J));for(a=[];V--;)a.push(J.T(X(J)));D(N,J,function(E,e,L,Q,Y){for(L=(Y=[],e=[],0);L<l;L++){if(!q[Q=R[L],L]){for(;Q>=e.length;)e.push(X(E));Q=e[Q]}Y.push(Q)}E.B=(E.M=E.J((e=E.A,a.slice()),e),E).J(Y,e)})}),window).performance||{},F.timeOrigin)||(F.timing||{}).navigationStart||0,132),H,function(J,f,V,a,N){D((a=(f=(V=(V=(f=(a=(N=X(J),X(J)),X(J)),X)(J),J).T(V),J.T(f)),J.T(a)),N),J,Sn(J,V,f,a))}),[]),H),254),0),H.i=[],P(H,[n,g]),B),p.bs]),r)(true,H,p.Ms)}),P=function(H,p){H.F.splice(0,0,p)},n=[],D=function(H,p,g){if(225==H||104==H)if(p.Z[H])p.Z[H][p.S](g);else p.Z[H]=p.Us(g);else if(47!=H&&60!=H&&195!=H&&121!=H&&217!=H||!p.Z[H])p.Z[H]=p.J(g,p.T);79==H&&lk(p)},W=(b.S="toString",[]),w=[],lk=function(H){H.I=(H.vE=C(H,H.T(225))<<24|C(H,H.T(225))<<16|C(H,H.T(225))<<8|C(H,H.T(225)),void 0)},Sn=(b.o5=35,function(H,p,g,F,K,J,f){return f=function(){if(H.l==H){if(H.Z){var V=[I,F,g,void 0,K,J,arguments];if(2==p)var a=(P(H,V),r(false,H,false));else if(1==p){var N=!H.F.length;P(H,V),N&&r(false,H,false)}else a=bk(H,V);return a}K&&J&&K.removeEventListener(J,f,false)}}}),sf=function(H,p){return p[H]<<24|p[(H|0)+1]<<16|p[(H|0)+2]<<8|p[(H|0)+3]},I=(b.g="caller",[]),k9=(x.prototype.C=function(H,p){for(p=[];H--;)p.push(255*Math.random()|0);return p},function(H,p,g){return(D(225,((g=H.T(225),H).i&&g<H.X?(D(225,H,H.X),Ao(p,H)):D(225,H,p),Zk(H),H),g),H).T(46)}),X=(x.prototype.tN=function(H,p,g){if(3==H.length){for(g=0;3>g;g++)p[g]+=H[g];for(g=(H=[13,8,13,12,16,5,3,10,15],0);9>g;g++)p[3](p,g%3,H[g])}},x.prototype.A=function(H){return(H=H().shift(),this.M().length||this.B().length)||(this.M=this.B=void 0),H},function(H,p,g,F){if(H.M)return H.A(H.B);return((g=(p=(g=H.T(225),g>>3),C)(H,g),H).I!=p>>3&&(H.I=p>>3,F=H.T(79),H.Xj=gF(H.I,[0,0,F[1],F[2]],H.vE)),g)^H.Xj[p&H[W].length]}),Ao=function(H,p){D(225,((p.Tc.push(p.Z.slice()),p.Z)[225]=void 0,p),H)},h=function(H,p){return(p=X(H),p)&128&&(p=p&127|X(H)<<7),p},B=(b=x.prototype,[]),d=function(H,p,g,F,K,J){if(3<(H=((K=((F=void 0,g)&&g[0]===c&&(F=g[2],H=g[1],g=void 0),p.T(121)),0==K.length)&&(J=p.T(104)>>3,K.push(H,J>>8&255,J&255),void 0!=F&&K.push(F)),""),g&&(g.message&&(H+=g.message),g.stack&&(H+=":"+g.stack)),g=p.T(181),g)){p.l=(F=(H=(g-=(H=H.slice(0,(g|0)-3),(H.length|0)+3),fR)(H.replace(/\\r\\n/g,"\\n")),p.l),p);try{u(60,p,m(H.length,2).concat(H),12)}finally{p.l=F}}D(181,p,g)},to=[],m=function(H,p,g,F){for(g=(F=(p|0)-1,[]);0<=F;F--)g[(p|0)-1-(F|0)]=H>>8*F&255;return g},Zk=function(H,p,g,F,K,J){if(!H.o){H.P++;try{for(F=(g=(K=5001,H.X),0),J=void 0;(H.ml||--K)&&(H.M||(F=H.T(225))<g);)try{p=void 0,H.M?J=H.A(H.M):(D(104,H,F),p=X(H),J=H.T(p)),J&&J.call?J(H):d(0,H,[c,21,p]),H.D=true,U(false,false,H)}catch(f){H.T(29)?d(22,H,f):D(29,H,f)}K||d(0,H,[c,33])}catch(f){try{d(22,H,f)}catch(V){G(H,V)}}H.P--}},ys=((x.prototype.v=(b.U=((x.prototype.Vq=function(H,p,g,F){try{F=H[((p|0)+2)%3],H[p]=(H[p]|0)-(H[((p|0)+1)%3]|0)-(F|0)^(1==p?F<<g:F>>>g)}catch(K){throw K;}},b.pB=function(H,p,g){return((p=(p^=p<<13,p^=p>>17,(p^p<<5)&g))||(p=1),H)^p},(b.I5=(b.CB=function(H,p,g,F){for(;g--;)225!=g&&104!=g&&p.Z[g]&&(p.Z[g]=p[F](p[H](g),this));p[H]=this},function(){return Math.floor(this.j+(this.U()-this.O))}),b).AN=function(H,p,g,F,K,J){for(J=(K=g=0,[]);g<H.length;g++)for(F=F<<p|H[g],K+=p;7<K;)K-=8,J.push(F>>K&255);return J},b.Gc=function(){return Math.floor(this.U())},b.us=function(H,p,g,F,K){for(K=F=0;K<H.length;K++)F+=H.charCodeAt(K),F+=F<<10,F^=F>>6;return F=new (H=(F+=F<<3,F^=F>>11,F+(F<<15))>>>0,Number)(H&(1<<p)-1),F[0]=(H>>>p)%g,F},window).performance||{}).now?function(){return this.ro+window.performance.now()}:function(){return+new Date},function(H,p){return p=(H={},{}),function(g,F,K,J,f,V,a,N,z,A,q,t,Z,l,y){N=p,p=H;try{if(z=g[0],z==to)return N==H?38:84;if(z==n){q=g[1];try{for(t=[],l=atob(q),y=a=0;y<l.length;y++)A=l.charCodeAt(y),255<A&&(t[a++]=A&255,A>>=8),t[a++]=A;D(79,(this.X=(this.i=t,this.i).length<<3,this),[0,0,0])}catch(R){d(17,this,R);return}Zk(this)}else if(z==w)g[1].push(this.T(60).length,this.T(181),this.T(47).length,this.T(195).length),D(46,this,g[2]),this.Z[27]&&k9(this,this.T(27));else{if(z==W){V=(Z=m(((a=g[2],this).T(47).length|0)+2,2),this).l,this.l=this;try{F=this.T(121),0<F.length&&u(47,this,m(F.length,2).concat(F),15),u(47,this,[1],104),u(47,this,m(this[W].length,1)),l=0,l-=(this.T(47).length|0)+5,l+=this.T(54)&2047,K=this.T(60),4<K.length&&(l-=(K.length|0)+3),0<l&&u(47,this,m(l,2).concat(this.C(l)),10),4<K.length&&u(47,this,m(K.length,2).concat(K),153)}finally{this.l=V}if(f=(((y=this.C(2).concat(this.T(47)),y[1]=y[0]^3,y)[3]=y[1]^Z[0],y)[4]=y[1]^Z[1],this.Fj(y)))f="!"+f;else for(f="",l=0;l<y.length;l++)J=y[l][this.S](16),1==J.length&&(J="0"+J),f+=J;return((D((this.T((t=f,60)).length=a.shift(),181),this,a.shift()),this).T(47).length=a.shift(),this.T(195)).length=a.shift(),t}if(z==T)k9(this,g[1]);else if(z==I)return k9(this,g[1])}}finally{p=N}}})(),x).prototype.h=function(H,p,g,F){((p=(F=(p=(H&=(g=H&3,4),X(this)),X(this)),this.T(p)),H)&&(p=fR((""+p).replace(/\\r\\n/g,"\\n"))),g)&&u(F,this,m(p.length,2)),u(F,this,p)},function(H,p,g,F){u((g=(F=X(p),X(p)),g),p,m(p.T(F),H))}),Ef=function(H,p,g){return H.W(function(F){g=F},false,p),g},r=function(H,p,g,F,K,J){if(p.F.length){p.G=(p.G&&0(),p.Zx=g,true);try{K=p.U(),p.O=K,p.KB=K,F=en(g,p),J=p.U()-p.O,p.j+=J,J<(H?0:10)||0>=p.Y--||(J=Math.floor(J),p.H.push(254>=J?J:254))}finally{p.G=false}return F}},zP=/./,U=(x.prototype[B]=[0,0,1,1,0,1,1],x.prototype.qs=function(H,p,g){for(g=X(this),p=0;0<H;H--)p=p<<8|X(this);D(g,this,p)},x.prototype.Fj=function(H,p,g,F){if(p=window.btoa){for(F=(g=0,"");g<H.length;g+=8192)F+=String.fromCharCode.apply(null,H.slice(g,g+8192));H=p(F).replace(/\\+/g,"-").replace(/\\//g,"_").replace(/=/g,"")}else H=void 0;return H},function(H,p,g,F){if(F=0<g.R&&g.G&&g.Zx&&1>=g.P&&!g.M&&!g.V&&(g.D||!p)&&0==document.hidden,!F||(F?g.U():g.KB)-g.O<g.R-(H?255:p?5:2))return false;return(D(225,(H=g.T(p?104:225),g),g.X),g).F.push([T,H]),g.V=true}),en=function(H,p,g,F){for(;p.F.length;){p.V=false,g=p.F.pop();try{F=bk(p,g)}catch(K){G(p,K)}if(H&&p.V){O(function(){r(true,p,true)});break}}return F},NM=function(H){return X(H)^X(H)},Of=function(H,p){return(p=Vs())&&1===H.eval(p.createScript("1"))?function(g){return p.createScript(g)}:function(g){return""+g}}((x.bind&&(NM[x.prototype.S]=n.pop.bind(x.prototype[w]),zP[x.prototype.S]=n.pop.bind(x.prototype[w])),M));(40<(k=M.botguard||(M.botguard={}),k).m||(k.m=41,k.bg=Jo,k.a=HY),k).TPQ_=function(H,p,g,F){return F=new x({bs:p,Ms:g},H),[function(K){return Ef(F,K)}]};try{k.u||(M.addEventListener("unload",function(){},S),k.u=1)}catch(H){}try{M.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){S={passive:true}}}))}catch(H){};}).call(this);'));}).call(this);