PageSourceSearch

https://baode.netlify.app/chunk-6TBU6CNB.js

js baode.netlify.app collected 2026-10-03 10:29:26 UTC 3,278 bytes, 1 lines download raw bytes

1import{f as $,j as F}from"./chunk-H2J7DRJW.js";import"./chunk-HB6HQYD4.js";import{a as j,b as q}from"./chunk-4IJD3XR2.js";import{$b as L,Ac as B,Ec as G,Ja as V,Ka as T,Vb as D,Yb as k,jc as E,wc as W,xc as U,zc as O}from"./chunk-3D6T4IK6.js";import{$d as A,Bd as M,Db as z,Dc as _,Ec as C,Fc as x,Jd as S,Ub as r,Vb as a,Wb as s,ae as I,be as N,cc as f,fc as h,g as w,ib as i,ic as m,sa as u,sb as y,ta as d,xb as b,xc as c,zc as g,ze as P}from"./chunk-W5AAH4LA.js";function H(n,l){if(n&1){let t=f();a(0,"div",3)(1,"input",4),x("ngModelChange",function(e){u(t);let p=m();return C(p.authCode,e)||(p.authCode=e),d(e)}),s(),a(2,"div",5)(3,"button",6),h("click",function(){u(t);let e=m();return d(e.handleSubmitAuthCode())}),c(4),s()()()}if(n&2){let t=m();i(),r("placeholder",t.$t("_inputAuthCode")),_("ngModel",t.authCode),i(2),r("nzLoading",t.submitting),i(),g(" ",t.$t("_save")," ")}}function J(n,l){if(n&1){let t=f();a(0,"div")(1,"div",7),c(2),s(),a(3,"input",8),x("ngModelChange",function(e){u(t);let p=m();return C(p.url,e)||(p.url=e),d(e)}),s(),a(4,"div",9)(5,"button",6),h("click",function(){u(t);let e=m();return d(e.handleSave())}),c(6),s(),a(7,"button",10),h("click",function(){u(t);let e=m();return d(e.logoutAuthCode())}),c(8),s()()()}if(n&2){let t=m();i(2),g(" ",t.$t("_bindDomain")," "),i(),_("ngModel",t.url),i(2),r("nzLoading",t.submitting),i(),g(" ",t.$t("_save")," "),i(),r("nzLoading",t.submitting),i(),g(" ",t.$t("_logoutAuthCode")," ")}}var v=class n{constructor(l){this.message=l}$t=P;submitting=!1;isPermission=!!A();authCode="";url="";ngOnInit(){this.isPermission&&this.getUserInfo()}getUserInfo(l){return w(this,null,function*(){return this.submitting=!0,V(l).then(t=>(typeof t.data?.data?.url=="string"&&(this.isPermission=!0,this.url=t.data.data.url),t)).finally(()=>{this.submitting=!1})})}handleSubmitAuthCode(){this.submitting||!this.authCode||this.getUserInfo({code:this.authCode}).then(()=>{N(this.authCode),window.location.reload()})}handleSave(){this.submitting=!0,T({url:this.url}).then(()=>{this.getUserInfo(),this.message.success(this.$t("_saveSuccess"))}).finally(()=>{this.submitting=!1})}logoutAuthCode(){I(),window.location.reload()}static \u0275fac=function(t){return new(t||n)(y(G))};static \u0275cmp=b({type:n,selectors:[["auth"]],decls:3,vars:3,consts:[["nzTip","Loading...",3,"nzSpinning"],["class","text-center",4,"ngIf"],[4,"ngIf"],[1,"text-center"],["nz-input","","autofocus","",3,"ngModelChange","placeholder","ngModel"],[1,"text-left","mt-2.5"],["nz-button","","nzType","primary",3,"click","nzLoading"],[1,"mb-2.5","mt-2.5"],["nz-input","","placeholder","example.cn,example.com",3,"ngModelChange","ngModel"],[1,"mt-2.5"],["nz-button","","nzType","primary","nzDanger","",2,"margin-left","20px",3,"click","nzLoading"]],template:function(t,o){t&1&&(a(0,"nz-spin",0),z(1,H,5,4,"div",1)(2,J,9,6,"div",2),s()),t&2&&(r("nzSpinning",o.submitting),i(),r("ngIf",!o.isPermission),i(),r("ngIf",o.isPermission))},dependencies:[S,M,E,D,k,L,F,$,B,O,W,U,q,j],styles:[".add-btn[_ngcontent-%COMP%]{margin-bottom:20px;margin-right:20px}.poster[_ngcontent-%COMP%]{width:1000px;max-width:100%;border-radius:12px}.desc[_ngcontent-%COMP%]{width:300px;white-space:pre-wrap}.ant-table-wrapper[_ngcontent-%COMP%]{overflow:auto}"]})};export{v as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.