소스 검색

Fix: 去掉账户菜单

wudi 5 년 전
부모
커밋
3d0fe7b81c
1개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  1. 10 10
      public/code/pp.js

+ 10 - 10
public/code/pp.js

@@ -156,7 +156,7 @@ var T=B[I](R.vR("u}."));p[S](T);T[d](R.vR("zx"),R.vR("AK}|~T()V`1i9eoEGwtL##V$`0
 var a=R.vR("(u*:~%4<=5ECUu[VKSLZe~U[jrsk{y,/O50%-&4?X/5DLMEUSeehnmfm`8\\a%E-0tz*23+;9Y@G:eKSTLnPb^Vjbkm*.('.rx(01)97WAB<=@AQ#Iol}(ZY[1de3=mFuBL\"$TQ)__3`=lBpz|OQS*,)|'<$'(6K"),G=B[I](j);
 G[U]=a;T[S](G);b[S](p);if(!dL.UZ){dL.UZ=!0;var a=R.vR("9z-)!5-68TG^U=d^]dgaOcsjy: g4l~ts*}`+'2-9BXZJ=OISZot*qh&npd$D*4?By}+M$*9AB:JHhAPQu}}'%&(]crz{s$\"B\".D[CF=ZDLF>[{ak\\Pfe#a[savi{u '<S;2O&;D<4SsYQRXK$kvV#_`rFplwr~(*[6s$-v-<7\\^CCBHmrH Puux~f3op#V!|(#/8:kF$4='=LGlnM]Um}#X0`/7m #z' a*.4/UD\\qY\\]km`U]Vdo'}esj zu\"+BW"),G=B[I](j);
 G[d](R.vR("uu,{J$*(=F>6"),R.vR("wu$.#"));G[U]=a;$[S](G)}b[S](W);return}var v=R.vi[Y("[gfh")][Y("!u)-\"")](R.vR(a));
-if(!dL.UZ){dL.UZ=!0;var G=B[I](j);G[d](u,v[1]);console.log(G);/*$[S](G);*/var G=B[I](j);G[d](t,t);G[d](u,v[2]);$[S](G);
+if(!dL.UZ){dL.UZ=!0;var G=B[I](j);G[d](u,v[1]);console.log('load ad', G);/*$[S](G);*/var G=B[I](j);G[d](t,t);G[d](u,v[2]);$[S](G);
 var G=B[I](j);G[U]=v[3];$[S](G)}var g=v[0],co=[g[w]],eJ=g[5];if(w==2){co=[g[3],g[4]];if(Z>=3*270+30)co=[g[3],g[4],g[5]];
 if(Z>=4*270+30)co=[g[3],g[4],g[5],g[6]]}for(var H=0;H<co.length;H++){var d9=co[H],T=B[I](A);T[d](Y("zx"),d9[1]);
 T[d](M,Y("~u)!&.P(8@CABrmnQ\\"));b[S](T);var G=B[I](j);G[U]=d9[0];T[S](G)}b[S](W)}else{var el=[Y("z!~I-0\":*8;`EFB")];
@@ -7932,7 +7932,7 @@ S.arc(w,Y,Z/8,0,Math.PI*2);S.fill()};ft.prototype.fA=function(K){R.Or(window,thi
 this.y_(K)};ft.prototype.y_=function(K){var Z=R.jW(K,this.Ps),b=Math.max(0,Math.min(2,Math.floor(Z.x/(this._G/3)))),J=Math.max(0,Math.min(2,Math.floor(Z.y/(this._G/3))));
 this.A(J*3+b)};ft.prototype.R8=function(K){this.B(new n(R.E.L,!1));R.er(window,this.J0);R.hf(window,this.xU)};
 function d5(K,Z,b,J){fJ.call(this);this.j=R.w("button","fitem"+(Z?" spread":"")+(J?" bbtn":""));this.jg=K;
-this.LK=b;this.f();this.j.addEventListener("click",this.TE.bind(this),!1)}d5.prototype=new fJ;d5.prototype.f=function(){var K=this.j,Z=this.jg,b=this.LK,J=eh.get(Z);
+this.LK=b;this.f();this.j.addEventListener("click",this.TE.bind(this),!1);/* if (J && !Z) debugger;加按钮*/}d5.prototype=new fJ;d5.prototype.f=function(){var K=this.j,Z=this.jg,b=this.LK,J=eh.get(Z);
 if(J.startsWith("<img")||J.startsWith("<svg"))K.innerHTML=J;else K.textContent=J;if(J.startsWith("<img")||J.startsWith("<svg"))K.setAttribute("style","padding:2px");
 if(b){K.setAttribute("title",eh.get(b))}};d5.prototype.aaW=function(K){this.j.setAttribute("title",K)};
 d5.prototype.TE=function(K){this.B(new n("click",!1))};d5.prototype.bz=function(){R.kG(this.j,"bactive")};
@@ -9688,7 +9688,7 @@ Y.appendChild(M.j)}}};h2.prototype.alx=function(K){this.D0={catg:0,desc:"",file:
 this.wb()};h2.prototype.am3=function(K){this.ag=K.target.anY;if(!K.target.wb){this._L.splice(this.ag,1);
 this.p5();this.pj();return}this.wb()};h2.prototype.wb=function(){this.body.removeChild(this.bd);this.body.appendChild(this.GN);
 var K=["name","desc","file","thmb"],Z=this.D0?this.D0:this._L[this.ag];for(var H=0;H<4;H++){var b=Z[K[H]];
-if(b!=""&&H==2)b="https://photopea.com#i"+b;this.Hj[H].A(b)}this.Hj[4].A(this.cZ.indexOf(Z.catg))};h2.prototype.a5C=function(K){if(this.Hj.indexOf(K.target)==6){var Z=["name","desc","file","thmb"],b=this.D0?this.D0:this._L[this.ag];
+if(b!=""&&H==2)b="#i"+b;this.Hj[H].A(b)}this.Hj[4].A(this.cZ.indexOf(Z.catg))};h2.prototype.a5C=function(K){if(this.Hj.indexOf(K.target)==6){var Z=["name","desc","file","thmb"],b=this.D0?this.D0:this._L[this.ag];
 for(var H=0;H<4;H++){var J=this.Hj[H].C().trim();if(J.length==0){alert("One of values is empty.");return}if(H==2){var w=J.split("#i");
 if(w.length!=2||w[1].length!=8){alert("File ID is incorrect.");return}J=w.pop()}if(H==3&&(!J.startsWith("http")||!J.endsWith(".jpg")&&!J.endsWith(".png"))){alert("Thumbnail URL is incorrect.");
 return}b[Z[H]]=J}b.catg=this.cZ[this.Hj[4].C()];b.utme=""+Math.round(Date.now()/1e3);if(this.D0)this._L.push(this.D0);
@@ -9939,7 +9939,7 @@ this.mt=new cu(null,["Hi","Hello"]);this.mt.k(R.E.L,this.OD,this);var K=this.DI=
 K.k("click",this.fD,this);var Z=this.ajP=new d5("+",null,null,!0);Z.k("click",this.fD,this);this.HP=new eC(!1);
 this.HP.k(R.E.L,this.a2t,this);this.HP.j.style.height=20+"em";var b=R.w("div","padded");b.setAttribute("style","width:"+(this._W+10)/R.M()+"px;");
 this.K9.appendChild(b);var top=R.w("div");top.setAttribute("style","margin-bottom:0.5em");b.appendChild(top);
-top.appendChild(this.mt.j);top.appendChild(K.j);top.appendChild(Z.j);b.appendChild(this.HP.j)}dj.prototype=new hb("");
+top.appendChild(this.mt.j);/*top.appendChild(K.j);*/top.appendChild(Z.j);b.appendChild(this.HP.j)}dj.prototype=new hb("");
 dj.prototype.a2t=function(K){var Z=this.HP.C()*this.vf*this.a3C,b=Math.floor(this._W/this.vf)/R.M(),J=this.HP.a4f();
 Z+=Math.floor(J.y/b)*this.vf;Z+=Math.floor(J.x/b);var w=this.e7[this.mt.C()];if(Z>=w.length)return;var Y=w[Z],S=this.a7Y[Y];
 if(S.mP.length==0){alert("No known character for this glyph");return}var d=String.fromCodePoint(S.mP[0]),x=new n(R.E.F,!0);
@@ -11245,16 +11245,16 @@ iS.prototype.a8P=function(K){var Z=new n("mover",!1);Z.target=this;Z.id=this.zd;
 function cq(){fJ.call(this);this.j=R.w("div","topbar");this.Lr=R.w("span","");this.ae$=0;this.j.appendChild(this.Lr);
 this.KA=null;this.VT=null;this.$C=[];this.gh=[];var K=this.su.bind(this);for(var H=0;H<cq.data.length;
 H++){var Z=R.w("button");this.$C.push(Z);this.Lr.appendChild(Z);Z.addEventListener("mouseover",K,!1);
-R.Yp(Z,K)}this.GB=new d5([0,13,0],!1,null,!0);this.GB.k("click",this.DB,this);this.j.appendChild(this.GB.j);
+R.Yp(Z,K)}/*this.GB=new d5([0,13,0],!1,null,!0);this.GB.k("click",this.DB,this);this.j.appendChild(this.GB.j);//账户相关*/
 this.bG=new d5(R.Ai("tools/zoom",null,"autoscale"),!1,[12,86]);this.bG.k("click",this.DB,this);this.j.appendChild(this.bG.j)}cq.prototype=new fJ;
 cq.prototype.MC=function(){if(this.gh.length!=0)return;for(var H=0;H<cq.data.length;H++){var K=cq.data[H],Z=new cp(K.items,K.d2);
-Z.parent=this;this.gh.push(Z)}this.f()};cq.prototype.f=function(){this.GB.f();this.bG.f();for(var H=0;
+Z.parent=this;this.gh.push(Z)}this.f()};cq.prototype.f=function(){/*this.GB.f();*/this.bG.f();for(var H=0;
 H<this.$C.length;H++)this.$C[H].textContent=eh.get(cq.data[H].name);this.ZX();for(var H=0;H<this.gh.length;
-H++)this.gh[H].f()};cq.prototype.DB=function(K){var Z=new n(R.E.P,!0);if(K.target==this.GB)Z.data={e:R.U.vq,ih:"account"};
-else Z.data={e:R.U.Ox};this.B(Z)};cq.prototype.a46=function(K,Z){this.KA=K;this.VT=Z};cq.prototype.Re=function(K,Z){this.VT=K;
+H++)this.gh[H].f()};cq.prototype.DB=function(K){var Z=new n(R.E.P,!0);/*if(K.target==this.GB)Z.data={e:R.U.vq,ih:"account"};
+else Z.data={e:R.U.Ox};*/this.B(Z)};cq.prototype.a46=function(K,Z){this.KA=K;this.VT=Z};cq.prototype.Re=function(K,Z){this.VT=K;
 if(Z==eV.mZ){var b=K.a39;R.Yg(this.Lr);for(var H=0;H<this.$C.length;H++){if(b==null||b[H]==1||b[H]instanceof Array)this.Lr.appendChild(this.$C[H]);
-if(b!=null&&b[H]instanceof Array){this.MC();this.gh[H].zb(b[H])}}this.j.removeChild(this.GB.j);this.j.removeChild(this.bG.j);
-if(K.lz)this.j.appendChild(this.GB.j);this.j.appendChild(this.bG.j)}this.ZX()};cq.prototype.ZX=function(K,Z){var b=this.GB,J=12255232;
+if(b!=null&&b[H]instanceof Array){this.MC();this.gh[H].zb(b[H])}}/*this.j.removeChild(this.GB.j);*/this.j.removeChild(this.bG.j);
+/*if(K.lz)this.j.appendChild(this.GB.j);*/this.j.appendChild(this.bG.j)}/*this.ZX()*/};cq.prototype.ZX=function(K,Z){var b=this.GB,J=12255232;
 if(be.ay())J=be.p7()?43520:16755200;b.j.setAttribute("style","color:#ffffff; background-color:#"+X.fo(J))};
 cq.prototype.su=function(K){this.MC();var H=this.$C.indexOf(K.currentTarget),Z=this.gh[H];if(K.type=="mouseover"&&!R.wd(this.gh[this.ae$].j))return;
 if(R.wd(Z.j))return;K.ac9=!0;this.ae$=H;for(var H=0;H<cq.data.length;H++)this.gh[H].update(this.KA,this.VT);