cfpilot 0.15.0 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- const __sfx=(()=>{const __t=new TextDecoder(),__c=new Map();return b=>{let v=__c.get(b);if(v===void 0){const s=atob(b),u=new Uint8Array(s.length);for(let i=0;i<s.length;i++)u[i]=s.charCodeAt(i);v=__t.decode(u);__c.set(b,v)}return v}})();var $n=Object.defineProperty;var x=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(o){throw n=[o],o}};var ye=(e,t)=>{for(var n in t)$n(e,n,{get:t[n],enumerable:!0})};function we(e){let t=new Uint8Array(e);crypto.getRandomValues(t);let n="";for(let o of t)n+=be[o>>4]+be[o&15];return n}function Ge(){let e=new Uint8Array(16);crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=[];for(let n of e)t.push(be[n>>4]+be[n&15]);return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}function se(e,t){if(e.length!==t.length)return!1;let n=0;for(let o=0;o<e.length;o++)n|=e.charCodeAt(o)^t.charCodeAt(o);return n===0}var be,j=x(()=>{"use strict";be="0123456789abcdef"});function O(e){let t=lr.exec(e);if(!t)return!1;for(let n=1;n<=4;n++){let o=Number(t[n]);if(!Number.isInteger(o)||o<0||o>255)return!1}return!0}function V(e){return!e.includes(":")||!/^[0-9a-fA-F:.]+$/.test(e)?!1:ie(e)!==null}function ie(e){if(!e.includes(":"))return null;let t=e,n=t.lastIndexOf(":"),o=t.slice(n+1);if(o.includes(".")){if(!O(o))return null;let u=o.split(".").map(d=>Number(d));t=`${t.slice(0,n+1)}${(u[0]<<8|u[1]).toString(16)}:${(u[2]<<8|u[3]).toString(16)}`}let r=t.indexOf("::"),s,i;if(r>=0){if(t.indexOf("::",r+1)>=0)return null;let u=t.slice(0,r),d=t.slice(r+2);s=u?u.split(":"):[],i=d?d.split(":"):[]}else s=t.split(":"),i=[];let a=s.length+i.length;if(a>8)return null;let c=[],f=u=>/^[0-9a-fA-F]{1,4}$/.test(u)?parseInt(u,16):null;for(let u of s){let d=f(u);if(d===null)return null;c.push(d)}let l=8-a;for(let u=0;u<l;u++)c.push(0);for(let u of i){let d=f(u);if(d===null)return null;c.push(d)}return c.length===8?c:null}function cr(e){let t=e.map(c=>(c&65535).toString(16)),n=-1,o=0,r=-1,s=0;for(let c=0;c<t.length;c++)t[c]==="0"?(r<0&&(r=c),s++,s>o&&(o=s,n=r)):(r=-1,s=0);if(o<2)return t.join(":");let i=t.slice(0,n).join(":"),a=t.slice(n+o).join(":");return`${i}::${a}`}function ur(e,t,n,o){if(t<0||t>=e.length)return null;if(n===1)return t+5>e.length?null:{hostname:`${e[t+1]}.${e[t+2]}.${e[t+3]}.${e[t+4]}`,next:t+5};if(o?n===2:n===3){if(t+2>e.length)return null;let r=e[t+1];return t+2+r>e.length?null:{hostname:ar.decode(e.subarray(t+2,t+2+r)),next:t+2+r}}if(o?n===3:n===4){if(t+17>e.length)return null;let r=new DataView(e.buffer,e.byteOffset+t+1,16),s=[];for(let i=0;i<8;i++)s.push(r.getUint16(i*2,!1));return{hostname:cr(s),next:t+17}}return null}async function We(e,t){let n=await e.peekExactly(1);if(!n)return null;let o=n[0],r;if(o===1)r=5;else if(t?o===2:o===3){let a=await e.peekExactly(2);if(!a)return null;r=2+a[1]}else if(t?o===3:o===4)r=17;else return null;let s=await e.peekExactly(r);if(!s)return null;let i=ur(s,0,o,t);return i?(e.skip(r),{hostname:i.hostname,addressType:o,consumed:r}):null}var ar,lr,G=x(()=>{"use strict";ar=new TextDecoder,lr=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/});function Ot(e){let t=e.replace(/-/g,"").trim().toLowerCase();if(!/^[0-9a-f]{32}$/.test(t))return null;let n=new Uint8Array(16);for(let o=0;o<16;o++)n[o]=parseInt(t.slice(o*2,o*2+2),16);return n}async function Mt(e,t){let n=await e.readExactly(1);if(!n)return null;let o=await e.readExactly(16);if(!o)return null;let r=Ot(t);if(!r)return null;for(let d=0;d<16;d++)if(o[d]!==r[d])return null;let s=await e.readExactly(1);if(!s)return null;let i=s[0],a=i>0?await e.readExactly(i):new Uint8Array(0);if(!a)return null;let c=await e.readExactly(1);if(!c)return null;let f=await e.readExactly(2);if(!f)return null;let l=await We(e,!0);if(!l)return null;let u=f[0]<<8|f[1];return{header:{version:n[0],command:c[0],port:u,hostname:l.hostname,addressType:l.addressType,addons:a},payload:e.release()}}function Bt(e,t){if(e.byteLength<18)return null;let n=Ot(t);if(!n)return null;for(let f=0;f<16;f++)if(e[1+f]!==n[f])return null;let o=e[17],r=18+o;if(e.byteLength<r+4)return null;let s=e[r];r+=1;let i=e[r]<<8|e[r+1];r+=2;let a=e[r];r+=1;let c="";if(a===1){if(e.byteLength<r+4)return null;c=`${e[r]}.${e[r+1]}.${e[r+2]}.${e[r+3]}`,r+=4}else if(a===2){if(e.byteLength<r+1)return null;let f=e[r];if(r+=1,e.byteLength<r+f)return null;c=fr.decode(e.subarray(r,r+f)),r+=f}else if(a===3){if(e.byteLength<r+16)return null;let f=[];for(let l=0;l<8;l++)f.push((e[r+l*2]<<8|e[r+l*2+1]).toString(16));c=f.join(":"),r+=16}else return null;return{header:{version:e[0],command:s,port:i,hostname:c,addressType:a,addons:e.subarray(18,18+o)},consumed:r}}var kt,Ut,fr,Xe=x(()=>{"use strict";G();kt=1,Ut=2,fr=new TextDecoder});function F(e,t){return e>>>t|e<<32-t}function dr(e){let t=new Uint32Array([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]),n=e.length*8,o=Math.ceil((e.length+9)/64)*64,r=new Uint8Array(o);r.set(e),r[e.length]=128;let s=new DataView(r.buffer);s.setUint32(o-8,Math.floor(n/4294967296),!1),s.setUint32(o-4,n>>>0,!1);let i=new Uint32Array(64);for(let c=0;c<o;c+=64){for(let p=0;p<16;p++)i[p]=s.getUint32(c+p*4,!1);for(let p=16;p<64;p++){let w=F(i[p-15],7)^F(i[p-15],18)^i[p-15]>>>3,A=F(i[p-2],17)^F(i[p-2],19)^i[p-2]>>>10;i[p]=i[p-16]+w+i[p-7]+A>>>0}let f=t[0],l=t[1],u=t[2],d=t[3],g=t[4],y=t[5],T=t[6],C=t[7];for(let p=0;p<64;p++){let w=F(g,6)^F(g,11)^F(g,25),A=g&y^~g&T,U=C+w+A+pr[p]+i[p]>>>0,R=F(f,2)^F(f,13)^F(f,22),W=f&l^f&u^l&u,N=R+W>>>0;C=T,T=y,y=g,g=d+U>>>0,d=u,u=l,l=f,f=U+N>>>0}t[0]=t[0]+f>>>0,t[1]=t[1]+l>>>0,t[2]=t[2]+u>>>0,t[3]=t[3]+d>>>0,t[4]=t[4]+g>>>0,t[5]=t[5]+y>>>0,t[6]=t[6]+T>>>0,t[7]=t[7]+C>>>0}let a=new Uint8Array(28);for(let c=0;c<7;c++)a[c*4]=t[c]>>>24&255,a[c*4+1]=t[c]>>>16&255,a[c*4+2]=t[c]>>>8&255,a[c*4+3]=t[c]&255;return a}function Ft(e){let t=dr(e),n="";for(let o of t)n+=Ht[o>>4]+Ht[o&15];return n}var pr,Ht,Kt=x(()=>{"use strict";pr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ht="0123456789abcdef"});function hr(e){return Ft(mr.encode(e))}function Yt(e,t){if(e.byteLength<58||!t)return null;let n=hr(t);if(Gt.decode(e.subarray(0,56)).trim().toLowerCase()!==n||e[56]!==13||e[57]!==10)return null;let r=58;if(e.byteLength<r+2)return null;let s=e[r];r+=1;let i=e[r];r+=1;let a="";if(i===1){if(e.byteLength<r+4)return null;a=`${e[r]}.${e[r+1]}.${e[r+2]}.${e[r+3]}`,r+=4}else if(i===3){if(e.byteLength<r+1)return null;let f=e[r];if(r+=1,e.byteLength<r+f)return null;a=Gt.decode(e.subarray(r,r+f)),r+=f}else if(i===4){if(e.byteLength<r+16)return null;let f=[];for(let l=0;l<8;l++)f.push((e[r+l*2]<<8|e[r+l*2+1]).toString(16));a=f.join(":"),r+=16}else return null;if(e.byteLength<r+4)return null;let c=e[r]<<8|e[r+1];return r+=2,e[r]!==13||e[r+1]!==10?null:(r+=2,{header:{command:s,port:c,hostname:a,addressType:i},consumed:r})}var jt,mr,Gt,zt=x(()=>{"use strict";G();Kt();jt=3,mr=new TextEncoder,Gt=new TextDecoder});function gr(e,t){if(e.byteLength===0)return t;if(t.byteLength===0)return e;let n=new Uint8Array(e.byteLength+t.byteLength);return n.set(e,0),n.set(t,e.byteLength),n}function Ve(e){if(e.byteLength<12)return new Uint8Array(0);let t=e.slice();return t[2]=128|e[2]&1,t[3]=130,t}var xe,Wt=x(()=>{"use strict";xe=class{constructor(t){this.options=t}options;pending=new Uint8Array(0);queue=Promise.resolve();dropped=0;push(t){if(t.byteLength!==0){if(this.pending=gr(this.pending,t),this.pending.byteLength>262144){this.pending=new Uint8Array(0);return}this.drain()}}get droppedCount(){return this.dropped}drain(){for(;this.pending.byteLength>=2;){let t=this.pending[0]<<8|this.pending[1];if(t===0||t>65535){this.dropped+=1,this.pending=this.pending.subarray(2);continue}if(this.pending.byteLength<2+t)return;let n=this.pending.slice(2,2+t);this.pending=this.pending.subarray(2+t),this.queue=this.queue.then(()=>this.resolve(n)).catch(()=>{})}}async resolve(t){let n=new AbortController,o=setTimeout(()=>n.abort(),this.options.timeoutMs??5e3);try{let r=await fetch(this.options.endpoint,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:t.slice().buffer,signal:n.signal});if(!r.ok){this.reply(Ve(t));return}let s=new Uint8Array(await r.arrayBuffer());if(s.byteLength===0){this.reply(Ve(t));return}this.reply(s)}catch{this.reply(Ve(t))}finally{clearTimeout(o)}}reply(t){if(t.byteLength===0||t.byteLength>65535)return;let n=new Uint8Array(2+t.byteLength);n[0]=t.byteLength>>8&255,n[1]=t.byteLength&255,n.set(t,2),this.options.send(n)}}});function Ze(e,t){if(e.byteLength===0)return t;if(t.byteLength===0)return e;let n=new Uint8Array(new ArrayBuffer(e.byteLength+t.byteLength));return n.set(e,0),n.set(t,e.byteLength),n}async function Xt(e,t=yr){let n=e.bufferedAmount;typeof n=="number"&&(n<=t||await new Promise(o=>{setTimeout(o,0)}))}var Y,yr,ae=x(()=>{"use strict";Y=class{reader;chunks=[];size=0;done=!1;constructor(t){this.reader=t.getReader()}async cancel(t){if(!this.done){this.done=!0,this.chunks=[],this.size=0;try{await this.reader.cancel(t)}catch{}}}async fill(){for(;;){if(this.done)return null;let{done:t,value:n}=await this.reader.read();if(t)return this.done=!0,null;if(n&&n.byteLength>0)return this.chunks.push(n),this.size+=n.byteLength,n.byteLength}}async readExactly(t){if(t===0)return new Uint8Array(0);for(;this.size<t;){if(this.done)return null;let{done:n,value:o}=await this.reader.read();if(n)return this.done=!0,this.size>=t?this.take(t):null;o&&o.byteLength>0&&(this.chunks.push(o),this.size+=o.byteLength)}return this.take(t)}take(t){let n=new Uint8Array(t),o=0;for(;o<t;){let r=this.chunks[0],s=t-o;r.byteLength<=s?(n.set(r,o),o+=r.byteLength,this.chunks.shift()):(n.set(r.subarray(0,s),o),this.chunks[0]=r.subarray(s),o+=s)}return this.size-=t,n}async peekExactly(t){if(t===0)return new Uint8Array(0);for(;this.size<t;){if(this.done)return null;let{done:n,value:o}=await this.reader.read();if(n)return this.done=!0,this.size>=t?this.slice(t):null;o&&o.byteLength>0&&(this.chunks.push(o),this.size+=o.byteLength)}return this.slice(t)}skip(t){return this.size<t?null:this.take(t)}slice(t){let n=new Uint8Array(t),o=0;for(let r of this.chunks){if(o>=t)break;let s=Math.min(r.byteLength,t-o);n.set(r.subarray(0,s),o),o+=s}return n}peek(){if(this.chunks.length===0)return new Uint8Array(0);let t=this.chunks.reduce((r,s)=>r+s.byteLength,0),n=new Uint8Array(t),o=0;for(let r of this.chunks)n.set(r,o),o+=r.byteLength;return n}release(){let t=this.peek();this.chunks=[],this.size=0;let n=this.reader,o=this,r=!1;return new ReadableStream({async pull(s){if(!r&&(r=!0,t.byteLength>0)){s.enqueue(t);return}if(o.done){s.close();return}try{let{done:i,value:a}=await n.read();i?(o.done=!0,s.close()):a&&a.byteLength>0&&s.enqueue(a)}catch(i){s.error(i)}},cancel(s){n.cancel(s)}})}},yr=4*1024*1024});var Ee,Vt=x(()=>{"use strict";Ee=class{tail=Promise.resolve();run(t){let n=this.tail.then(t);return this.tail=n.catch(()=>{}),n}write(t,n){return this.run(async()=>{let o=t();o&&await o.write(n)})}}});async function z(e,t,n,o){let r=Date.now()+n,s=null;try{let i=await Promise.race([e.readExactly(t),new Promise(a=>{s=setTimeout(()=>a(null),Math.max(1,r-Date.now()))})]);if(i===null)throw new Error(""+o+__sfx("6LaF5pe277yI")+n+__sfx("bXMg5peg5ZON5bqU77yJ"));return i}finally{s&&clearTimeout(s)}}async function Zt(e,t,n,o,r={}){let s=new Y(e),i=t.getWriter(),a=r.handshakeTimeoutMs??br,c=async f=>{await i.write(f)};try{let f=[0];r.username&&f.push(2);let l=new Uint8Array(2+f.length);l[0]=5,l[1]=f.length,l.set(f,2),await c(l);let u=await z(s,2,a,__sfx("U09DS1M1IOaPoeaJiw=="));if(!u||u[0]!==5)throw new Error(__sfx("U09DS1M1IOaPoeaJi+Wksei0pe+8mumdnuazleWTjeW6lA=="));let d=u[1];if(d===2){let p=new TextEncoder().encode(r.username??""),w=new TextEncoder().encode(r.password??""),A=new Uint8Array(3+p.length+w.length);A[0]=1,A[1]=p.length,A.set(p,2),A[2+p.length]=w.length,A.set(w,3+p.length),await c(A);let U=await z(s,2,a,__sfx("U09DS1M1IOiupOivgQ=="));if(!U||U[1]!==0)throw new Error(__sfx("U09DS1M1IOeUqOaIt+WQjS/lr4bnoIHorqTor4HlpLHotKU="))}else if(d!==0)throw new Error(__sfx("U09DS1M1IOS4jeaUr+aMgeeahOiupOivgeaWueW8j++8mjB4")+d.toString(16)+"");let g=wr(n,o),y=new Uint8Array(3+g.length);y[0]=5,y[1]=1,y[2]=0,y.set(g,3),await c(y);let T=await z(s,4,a,__sfx("U09DS1M1IENPTk5FQ1Q="));if(!T||T[0]!==5)throw new Error(__sfx("U09DS1M1IENPTk5FQ1Qg5ZON5bqU6Z2e5rOV"));if(T[1]!==0)throw new Error(__sfx("U09DS1M1IENPTk5FQ1Qg5aSx6LSl77yaMHg=")+T[1].toString(16)+"");let C=T[3];if(C===1)await z(s,4,a,__sfx("U09DS1M1IOWTjeW6lA=="));else if(C===3){let p=await z(s,1,a,__sfx("U09DS1M1IOWTjeW6lA=="));if(!p)throw new Error(__sfx("U09DS1M1IOWTjeW6lOaIquaWrQ=="));await z(s,p[0],a,__sfx("U09DS1M1IOWTjeW6lA=="))}else if(C===4)await z(s,16,a,__sfx("U09DS1M1IOWTjeW6lA=="));else throw new Error(__sfx("U09DS1M1IOWTjeW6lOWcsOWdgOexu+Wei+mdnuazlQ=="));return await z(s,2,a,__sfx("U09DS1M1IOWTjeW6lA==")),s.release()}finally{try{i.releaseLock()}catch{}}}function wr(e,t){let n=e.replace(/^\[|\]$/g,"");if(O(n)){let s=n.split(".").map(a=>Number(a)),i=new Uint8Array(7);return i[0]=1,i.set(s,1),i[5]=t>>8&255,i[6]=t&255,i}if(V(n)){let s=ie(n),i=new Uint8Array(19);if(i[0]=4,s)for(let a=0;a<8;a++){let c=s[a]??0;i[1+a*2]=c>>8&255,i[2+a*2]=c&255}return i[17]=t>>8&255,i[18]=t&255,i}let o=new TextEncoder().encode(n),r=new Uint8Array(2+o.length+2);return r[0]=3,r[1]=o.length,r.set(o,2),r[r.length-2]=t>>8&255,r[r.length-1]=t&255,r}var br,Qt=x(()=>{"use strict";ae();G();br=6e3});function Er(e){let t=e.byteLength;for(let n=0;n+3<t;n++)if(xr.every((o,r)=>e[n+r]===o))return n;return-1}async function qt(e,t,n,o,r={}){let s=new Y(e),i=t.getWriter(),a=n.includes(":")?`[${n}]:${o}`:`${n}:${o}`;try{let c=r.username&&r.password?__sfx("UHJveHktQXV0aG9yaXphdGlvbjogQmFzaWMg")+btoa(`${r.username}:${r.password}`)+"\r\n":"",f=[__sfx("Q09OTkVDVCA=")+a+" HTTP/1.1",`Host: ${a}`,__sfx("UHJveHktQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ=="),__sfx("VXNlci1BZ2VudDogQ0ZQaWxvdC8xLjA="),c,"",""].join(`\r
2
- `);await i.write(new TextEncoder().encode(f));let l=Date.now()+Qe,u="";for(;;){let T=s.peek(),C=Er(T);if(C>=0){u=new TextDecoder().decode(T.subarray(0,C)),s.skip(C+4);break}if(T.byteLength>8192)throw new Error(__sfx("SFRUUCDku6PnkIblk43lupTlpLTotoXov4cgODE5MiDlrZfoioI="));let p=l-Date.now();if(p<=0)throw new Error(__sfx("SFRUUCDku6PnkIbmj6HmiYvotoXml7bvvIg=")+Qe+__sfx("bXMg5peg5ZON5bqU77yJ"));let w=null,A;try{A=await Promise.race([s.fill(),new Promise(U=>{w=setTimeout(()=>U("timeout"),p)})])}finally{w&&clearTimeout(w)}if(A==="timeout")throw new Error(__sfx("SFRUUCDku6PnkIbmj6HmiYvotoXml7bvvIg=")+Qe+__sfx("bXMg5peg5ZON5bqU77yJ"));if(A===null)throw new Error(__sfx("SFRUUCDku6PnkIblk43lupTkuI3lrozmlbTvvIjov57mjqXooqvmj5DliY3lhbPpl63vvIk="))}let g=u.split(`\r
3
- `)[0]??"",y=/^HTTP\/1\.[01]\s+(\d{3})/.exec(g);if(!y)throw new Error(__sfx("SFRUUCDku6PnkIblk43lupTpnZ7ms5U="));if(y[1]!=="200")throw new Error(__sfx("SFRUUCDku6PnkIYgQ09OTkVDVCDlpLHotKXvvJo=")+y[1]+"");return s.release()}finally{try{i.releaseLock()}catch{}}}var xr,Qe,Jt=x(()=>{"use strict";ae();xr=[13,10,13,10];Qe=6e3});function Je(e){if(e instanceof Z||(e instanceof Error?e.message:String(e)).includes($t))return!0;let n=e instanceof Error?e.cause:void 0;return n!==void 0&&n!==e&&Je(n)}function _t(e){let t=e.split(".");if(t.length!==4)return null;let n=0;for(let o of t){if(!/^\d{1,3}$/.test(o))return null;let r=Number(o);if(r>255)return null;n=n*256+r}return n>>>0}function Ae(e){let t=_t(e);if(t===null)return null;for(let[n,o,r,s]of Ar){let i=_t(n);if(i===null)continue;let a=o===0?0:4294967295<<32-o>>>0;if((t&a)===(i&a))return{kind:r,reason:s}}return null}function qe(e){let t=e[6]??0,n=e[7]??0;return`${t>>>8}.${t&255}.${n>>>8}.${n&255}`}function Sr(e){let t=(e.split("%")[0]??"").toLowerCase();if(!t.includes(":"))return null;let n=ie(t);if(!n)return null;let o=n[0]===0&&n[1]===0&&n[2]===0&&n[3]===0&&n[4]===0;if(o&&n[5]===65535)return Ae(qe(n))??null;if(o&&n[5]===0&&n[6]===0&&(n[7]===0||n[7]===1))return n[7]===1?{kind:"loopback",reason:__sfx("546v5Zue5Zyw5Z2A")}:{kind:"unspecified",reason:__sfx("5pyq5oyH5a6a5Zyw5Z2A")};if(o&&n[5]===0)return Ae(qe(n))??null;if(n[0]===100&&n[1]===65435&&n[2]===0&&n[3]===0&&n[4]===0&&n[5]===0){let s=Ae(qe(n));if(s)return s}let r=n[0]??0;return(r&65024)===64512?{kind:"ula",reason:__sfx("SVB2NiDllK/kuIDmnKzlnLDlnLDlnYA=")}:(r&65472)===65152?{kind:"link-local",reason:__sfx("SVB2NiDpk77ot6/mnKzlnLDlnLDlnYA=")}:(r&65280)===65280?{kind:"multicast",reason:__sfx("SVB2NiDnu4Tmkq3lnLDlnYA=")}:null}function _e(e){let t=e.trim().toLowerCase().replace(/^\[|\]$/g,"");if(t==="")return null;if(t.includes(":"))return Sr(t);if(/^\d{1,3}(?:\.\d{1,3}){3}$/.test(t))return Ae(t);if(t==="localhost"||t.endsWith(".localhost"))return{kind:"loopback",reason:__sfx("546v5Zue5Li75py65ZCN")};for(let n of Pr)if(t.endsWith(n))return{kind:"internal-name",reason:__sfx("5YaF572R5Z+f5ZCN5ZCO57yA")};return null}var $t,en,Z,Ar,Pr,$e=x(()=>{"use strict";G();$t=__sfx("55uu5qCH5Zyw5Z2A6KKr562W55Wl5oum5oiq"),en={kind:"ipv6-direct-unsupported",reason:__sfx("55u06L+e5LiO5Y+N5Luj6YCa6YGT5LiN5pSv5oyBIElQdjYg55uu5qCH77yM5Y+v5pS555So6JC95Zyw5Luj55CG6L2s5Y+R")},Z=class extends Error{kind;constructor(t,n){super(`${$t}\uFF1A${t}\uFF08${n.reason}\uFF09`),this.name="TargetBlockedError",this.kind=n.kind}};Ar=[[__sfx("MC4wLjAuMA=="),8,"unspecified",__sfx("5pyq5oyH5a6a5Zyw5Z2A")],[__sfx("MTAuMC4wLjA="),8,"private",__sfx("56eB5pyJ572R5q61")],[__sfx("MTAwLjY0LjAuMA=="),10,"cgnat",__sfx("6L+Q6JCl5ZWG57qnIE5BVCDnvZHmrrU=")],[__sfx("MTI3LjAuMC4w"),8,"loopback",__sfx("546v5Zue5Zyw5Z2A")],[__sfx("MTY5LjI1NC4wLjA="),16,"link-local",__sfx("6ZO+6Lev5pys5ZywIC8g5LqR5YWD5pWw5o2u5Zyw5Z2A")],[__sfx("MTcyLjE2LjAuMA=="),12,"private",__sfx("56eB5pyJ572R5q61")],[__sfx("MTkyLjE2OC4wLjA="),16,"private",__sfx("56eB5pyJ572R5q61")],[__sfx("MjI0LjAuMC4w"),4,"multicast",__sfx("57uE5pKt5Zyw5Z2A")],[__sfx("MjQwLjAuMC4w"),4,"reserved",__sfx("5L+d55WZ5Zyw5Z2A")]];Pr=[".local",".internal"]});function vr(e){return/^\d{1,3}(\.\d{1,3}){3}$/.test(e)?!0:e.includes(":")&&/^[0-9a-fA-F:.]+$/.test(e)}function et(e,t){let n=e.trim(),o=/^\[([^\]]+)\](?::(\d+))?$/.exec(n);if(o)return{host:o[1],port:Number(o[2]??t)};if(n.includes(":")&&n.split(":").length>2)return{host:n,port:t};let r=n.lastIndexOf(":");if(r<0)return{host:n,port:t};let s=n.slice(0,r),i=Number(n.slice(r+1));return s?{host:s,port:Number.isInteger(i)&&i>0?i:t}:{host:n,port:t}}async function Rr(e,t,n,o=on){try{let r=`${e}?name=${encodeURIComponent(t)}&type=${n}`,s=await fetch(r,{headers:{accept:"application/dns-json"},signal:AbortSignal.timeout(o)});if(!s.ok)return[];let i=await s.json();if(!i||i.Status!==0||!Array.isArray(i.Answer))return[];let a=n==="TXT"?16:n==="A"?1:28;return i.Answer.filter(c=>c.type===a).map(c=>String(c.data))}catch{return[]}}async function nn(e,t,n={}){for(let o of Tr){if(n.deadline!==void 0&&Date.now()>=n.deadline)break;let r=n.timeoutMs??on,s=n.deadline!==void 0?n.deadline-Date.now():Number[__sfx("UE9TSVRJVkVfSU5GSU5JVFk=")],i=Math.max(50,Math.min(r,s)),a=await Rr(o,e,t,i);if(a.length>0)return a}return[]}function Dr(e,t){let n=[],o=String(e).replace(/^"|"$/g,"").replace(/\\010/g,",").replace(/\\n/g,",").trim();if(!o||o===rn)return n;let r=o.split(/[,;\s]+/).filter(Boolean);if(r.length===0)return n;for(let s of r){let i=s.trim();if(!i)continue;let{host:a,port:c}=et(i,t);if(!O(a)&&!V(a))return[];n.push({hostname:a,port:c})}return n}async function Se(e,t,n={}){let o=e.trim();if(!o)return[];if(vr(o))return[{hostname:o,port:t}];let r=`${o}:${t}`,s=tn.get(r);if(s&&Date.now()-s.at<Cr)return s.ips;let i=[],[a,c]=await Promise.all([n.skipTxt?Promise.resolve([]):nn(o,"TXT",n),nn(o,"A",n)]);if(!n.skipTxt)for(let u of a){let d=Dr(u,t);if(d.length>0){i.push(...d);break}if(String(u).replace(/^"|"$/g,"").replace(/\\010/g,",").trim()===rn)break}if(i.length===0)for(let u of c)O(u)&&i.push({hostname:u,port:t});let f=[],l=new Set;for(let u of i){let d=`${u.hostname}:${u.port}`;l.has(d)||(l.add(d),f.push(u))}return f.length>0&&tn.set(r,{at:Date.now(),ips:f}),f}var rn,Tr,on,Cr,tn,Pe=x(()=>{"use strict";G();rn=__sfx("QGVkZ2V0dW5uZWw="),Tr=["https://cloudflare-dns.com/dns-query","https://dns.alidns.com/resolve","https://doh.pub/dns-query"],on=4e3,Cr=300*1e3,tn=new Map});var at={};ye(at,{[__sfx("QlVJTFRJTl9SRUxBWV9ET01BSU5T")]:()=>cn,[__sfx("QlVJTFRJTl9SRUxBWV9SRUdJT04=")]:()=>Ce,[__sfx("Q09MT19UT19DT1VOVFJZ")]:()=>un,[__sfx("UkVHSU9OX0FESkFDRU5DWQ==")]:()=>an,[__sfx("UkVHSU9OX09SREVS")]:()=>nt,[__sfx("UkVMQVlfQkFUQ0hfU0laRQ==")]:()=>J,[__sfx("UkVMQVlfRE9NQUlOX0xJTUlU")]:()=>it,[__sfx("VU5LTk9XTl9SRUdJT04=")]:()=>sn,clearRelayCache:()=>kr,collectRelayEndpoints:()=>le,coloToCountry:()=>Te,rankRegions:()=>st,regionOfEntry:()=>tt,resolveRelayEntry:()=>ot,selectRelayDomains:()=>pn,sortEndpointsByRegion:()=>ln});function tt(e){let n=e.trim().toLowerCase().replace(/:\d{1,5}$/,"");return Ce[n]??sn}function st(e){let t=(e??"").trim().toUpperCase();if(!t)return[...nt];let n=an[t]??[],o=nt.filter(r=>r!==t&&!n.includes(r));return[t,...n,...o]}function ln(e,t){let n=st(t),o=r=>{let s=n.indexOf(r);return s>=0?s:n.length};return e.map((r,s)=>({e:r,i:s})).sort((r,s)=>{let i=o(r.e.regionCode),a=o(s.e.regionCode);return i!==a?i-a:r.i-s.i}).map(r=>r.e)}function Te(e){let t=String(e??"").toUpperCase();return t?un[t]??(/^[A-Z]{2}$/.test(t)?t:"US"):"US"}async function ot(e,t=443,n=fn,o={}){let r=e.trim();if(!r)return[];let s=`${r}:${t}:${n}`,i=rt.get(s);if(i&&Date.now()-i.at<Nr)return i.ips;let a=r,c=t,f=(r.match(/:/g)??[]).length;if(f===1){let u=/^(.*):(\d{1,5})$/.exec(r);u&&(a=u[1],c=Number(u[2]))}else if(f>1&&r.startsWith("[")){let u=/^\[([^\]]+)\]:(\d{1,5})$/.exec(r);u&&(a=u[1],c=Number(u[2]))}let l=[];if(O(a)||V(a))l=[{ip:a,port:Number.isInteger(c)&&c>0?c:t,label:r,regionCode:tt(r)}];else try{l=(await Se(a,c,{skipTxt:o.skipTxt,deadline:o.deadline,timeoutMs:o.timeoutMs})).slice(0,n).map(d=>({ip:d.hostname,port:d.port,label:`${a} \u2192 ${d.hostname}`,regionCode:tt(r)}))}catch{l=[]}return l.length>0&&rt.set(s,{at:Date.now(),ips:l}),l}function pn(e,t=it){let n=Te(e),o=st(n),r=s=>{let i=Ce[s];if(!i)return o.length+1;let a=o.indexOf(i);return a>=0?a:o.length};return cn.map((s,i)=>({d:s,i,rank:r(s)})).sort((s,i)=>s.rank!==i.rank?s.rank-i.rank:s.i-i.i).map(s=>s.d).slice(0,Math.max(0,t))}async function le(e={}){let t=e.perDomain??fn,n=[],o=new Set,r=p=>{for(let w of p){let A=`${w.ip}:${w.port}`;o.has(A)||(o.add(A),n.push(w))}},s=(e.userEntries??"").trim(),i=s?s.split(/[\n,;]+/).map(p=>p.trim()).filter(Boolean):[],a=e.domainLimit??it,c=e.useBuiltin!==!1?pn(e.colo,a):[],f=p=>e.perDomain!==void 0?t:Ce[p]===Te(e.colo)?Ir:Lr,l=await Promise.all([...i.map(p=>ot(p,443,t,{deadline:e.deadline,timeoutMs:e.timeoutMs})),...c.map(p=>ot(p,443,f(p),{skipTxt:!0,deadline:e.deadline,timeoutMs:e.timeoutMs}))]),u=n.length;for(let p=0;p<i.length;p++)r(l[p]);let d=n.length-u,g=l.slice(i.length),y=g.reduce((p,w)=>Math.max(p,w.length),0);for(let p=0;p<y;p++)for(let w of g)p<w.length&&r([w[p]]);let T=n.slice(0,d),C=ln(n.slice(d),Te(e.colo));return[...T,...C]}function kr(){rt.clear()}var sn,an,nt,Ce,cn,un,fn,J,it,Ir,Lr,Nr,rt,ce=x(()=>{"use strict";G();Pe();sn="??";an={[__sfx("VVM=")]:["SG","JP","KR"],[__sfx("U0c=")]:["JP","KR","US"],[__sfx("SlA=")]:["SG","KR","US"],[__sfx("S1I=")]:["JP","SG","US"],[__sfx("REU=")]:["NL","GB","SE","FI"],[__sfx("U0U=")]:["DE","NL","FI","GB"],[__sfx("Tkw=")]:["DE","GB","SE","FI"],[__sfx("Rkk=")]:["SE","DE","NL","GB"],[__sfx("R0I=")]:["DE","NL","SE","FI"]},nt=["US","SG","JP","KR","DE","SE","NL","FI","GB"];Ce={[__sfx("cHJveHlpcC5oay5jbWxpdXNzc3MubmV0")]:"HK",[__sfx("cHJveHlpcC51cy5jbWxpdXNzc3MubmV0")]:"US",[__sfx("cHJveHlpcC5zZy5jbWxpdXNzc3MubmV0")]:"SG",[__sfx("cHJveHlpcC5qcC5jbWxpdXNzc3MubmV0")]:"JP",[__sfx("cHJveHlpcC5rci5jbWxpdXNzc3MubmV0")]:"KR",[__sfx("cHJveHlpcC5kZS5jbWxpdXNzc3MubmV0")]:"DE",[__sfx("cHJveHlpcC5zZS5jbWxpdXNzc3MubmV0")]:"SE",[__sfx("cHJveHlpcC5ubC5jbWxpdXNzc3MubmV0")]:"NL",[__sfx("cHJveHlpcC5maS5jbWxpdXNzc3MubmV0")]:"FI",[__sfx("cHJveHlpcC5nYi5jbWxpdXNzc3MubmV0")]:"GB",[__sfx("cHJveHlpcC5vcmFjbGUuY21saXVzc3NzLm5ldA==")]:"Oracle",[__sfx("cHJveHlpcC5kaWdpdGFsb2NlYW4uY21saXVzc3NzLm5ldA==")]:"DigitalOcean",[__sfx("cHJveHlpcC52dWx0ci5jbWxpdXNzc3MubmV0")]:"Vultr",[__sfx("cHJveHlpcC5tdWx0YWNvbS5jbWxpdXNzc3MubmV0")]:"Multacom"},cn=[__sfx("cHJveHlpcC5oay5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5qcC5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5zZy5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC51cy5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5kZS5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5nYi5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5rci5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5ubC5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5zZS5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5maS5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5vcmFjbGUuY21saXVzc3NzLm5ldA=="),__sfx("cHJveHlpcC5kaWdpdGFsb2NlYW4uY21saXVzc3NzLm5ldA=="),__sfx("cHJveHlpcC52dWx0ci5jbWxpdXNzc3MubmV0"),__sfx("cHJveHlpcC5tdWx0YWNvbS5jbWxpdXNzc3MubmV0")],un={[__sfx("SEtH")]:"HK",[__sfx("U1lE")]:"AU",[__sfx("TUVM")]:"AU",[__sfx("Qk5F")]:"AU",[__sfx("UEVS")]:"AU",[__sfx("QURM")]:"AU",[__sfx("Q0JS")]:"AU",[__sfx("U0lO")]:"SG",[__sfx("TlJU")]:"JP",[__sfx("SE5E")]:"JP",[__sfx("S0lY")]:"JP",[__sfx("VFlP")]:"JP",[__sfx("T1NB")]:"JP",[__sfx("TkdP")]:"JP",[__sfx("Q1RT")]:"JP",[__sfx("RlVL")]:"JP",[__sfx("T0tB")]:"JP",[__sfx("SUNO")]:"KR",[__sfx("U0VM")]:"KR",[__sfx("UFVT")]:"KR",[__sfx("RlJB")]:"DE",[__sfx("TVVD")]:"DE",[__sfx("RFVT")]:"DE",[__sfx("QkVS")]:"DE",[__sfx("SEFN")]:"DE",[__sfx("U1RS")]:"DE",[__sfx("VklF")]:"DE",[__sfx("WlJI")]:"DE",[__sfx("Q0RH")]:"FR",[__sfx("TUFE")]:"ES",[__sfx("TVhQ")]:"IT",[__sfx("RkNP")]:"IT",[__sfx("UFJH")]:"CZ",[__sfx("V0FX")]:"PL",[__sfx("QVJO")]:"SE",[__sfx("QU1T")]:"NL",[__sfx("SEVM")]:"FI",[__sfx("TEhS")]:"GB",[__sfx("TEdX")]:"GB",[__sfx("TUFO")]:"GB",[__sfx("RURJ")]:"GB",[__sfx("TEFY")]:"US",[__sfx("U0pD")]:"US",[__sfx("U0ZP")]:"US",[__sfx("U0VB")]:"US",[__sfx("UERY")]:"US",[__sfx("U0FO")]:"US",[__sfx("TEFT")]:"US",[__sfx("UEhY")]:"US",[__sfx("U0xD")]:"US",[__sfx("REVO")]:"US",[__sfx("REZX")]:"US",[__sfx("SUFI")]:"US",[__sfx("QVVT")]:"US",[__sfx("T1JE")]:"US",[__sfx("TVNQ")]:"US",[__sfx("RFRX")]:"US",[__sfx("U1RM")]:"US",[__sfx("TUNJ")]:"US",[__sfx("QVRM")]:"US",[__sfx("TUlB")]:"US",[__sfx("TUNP")]:"US",[__sfx("Qk5B")]:"US",[__sfx("Q0xU")]:"US",[__sfx("SUFE")]:"US",[__sfx("Qk9T")]:"US",[__sfx("RVdS")]:"US",[__sfx("SkZL")]:"US",[__sfx("UEhM")]:"US",[__sfx("WVla")]:"CA",[__sfx("WVZS")]:"CA",[__sfx("WVVM")]:"CA",[__sfx("TUVY")]:"MX",[__sfx("R1JV")]:"BR",[__sfx("VFBF")]:"TW",[__sfx("S0hI")]:"TW",[__sfx("VFNB")]:"TW",[__sfx("Uk1R")]:"TW"};fn=4,J=6,it=3,Ir=2,Lr=1,Nr=30*1e3,rt=new Map});function dn(e){let t=e.split(".");if(t.length!==4)return null;let n=0;for(let o of t){if(!/^\d{1,3}$/.test(o))return null;let r=Number(o);if(r>255)return null;n=n*256+r}return n>>>0}function _(e){let t=dn(e);if(t===null)return!1;for(let[n,o]of Ur){let r=dn(n);if(r===null)continue;let s=o===0?0:4294967295<<32-o>>>0;if((t&s)===(r&s))return!0}return!1}function mn(e){let t=[],n=new Set,o=l=>{let u=`${l.source}|${l.host}|${l.port}`;n.has(u)||(n.add(u),t.push(l))};for(let l of e.proxies??[])l.kind==="direct"?o({source:"proxy",host:l.host,port:l.port,label:__sfx("UHJveHlJUCA=")+l.host+":"+l.port+"",via:{kind:"direct",host:l.host,port:l.port}}):o({source:"proxy",host:l.host,port:l.port,label:`${l.kind.toUpperCase()} ${l.host}:${l.port}`,via:{kind:l.kind,host:l.host,port:l.port,username:l.username,password:l.password,serverName:l.serverName}});let s=_(e.targetHost)||e.deprioritizeDirect===!0;o({source:"direct",host:e.targetHost,port:e.targetPort,label:__sfx("55u06L+eIA==")+e.targetHost+":"+e.targetPort+"",deprioritized:s});let i=e.optimizedIps??[],a=i.filter(l=>!_(l.ip)),c=i.filter(l=>_(l.ip));for(let l of a)o({source:"optimized",host:l.ip,port:l.port,label:__sfx("5LyY6YCJIA==")+l.ip+":"+l.port+""});for(let l of c)o({source:"optimized",host:l.ip,port:l.port,label:__sfx("5LyY6YCJIA==")+l.ip+":"+l.port+__sfx("77yIQ2xvdWRmbGFyZSDnvZHmrrXvvIzlj6/og73kuI3lj6/ovr7vvIk="),deprioritized:!0});let f=e.relay??[];for(let l of f)o({source:"relay",host:l.ip,port:l.port,label:__sfx("5Y+N5LujIA==")+l.label+"",deprioritized:!e.relayAsPrimary});return t.map((l,u)=>({candidate:l,index:u})).sort((l,u)=>{let d=+!!l.candidate.deprioritized-+!!u.candidate.deprioritized;return d!==0?d:l.index-u.index}).map(l=>l.candidate)}function hn(e){let t=e.filter(o=>!o.deprioritized),n=t.filter(o=>o.source==="proxy");return{landing:n.filter(o=>o.via?.kind!=="direct"),[__sfx("cHJveHlJcA==")]:n.filter(o=>o.via?.kind==="direct"),direct:t.filter(o=>o.source!=="proxy"),fallback:e.filter(o=>o.deprioritized)}}function gn(e,t){let n=e instanceof Error?e.message:String(e);return Je(e)?{kind:"policy",message:n,candidate:t}:/proxy request failed|cannot connect to the specified address|TCP Loop/i.test(n)?{kind:"blocked",message:n,candidate:t}:/timeout|超时|timed out|abort/i.test(n)?{kind:"timeout",message:n,candidate:t}:{kind:"other",message:n,candidate:t}}function yn(e){switch(e.kind){case"blocked":return __sfx("5Ye656uZ6KKrIENsb3VkZmxhcmUg5ouS57ud77yI")+e.candidate+"):"+e.message+__sfx("CiAg5bi46KeB5Y6f5Zug77ya55uu5qCH5Zyw5Z2A5ZyoIENsb3VkZmxhcmUg6Ieq5a62572R5q6177yIV29ya2VyIOS4jeiDveS4u+WKqOi/nuWbniBDRiDoh6rlt7HnmoTlhaXlj6PvvInjgIIKICDihpIg5o2i5LiA5Liq56ys5LiJ5pa5IElQ77yM5oiW5pS555So5Luj55CG6JC95Zyw44CC");case"policy":return __sfx("5Ye656uZ6KKr562W55Wl5ouS57ud77yI")+e.candidate+"):"+e.message+__sfx("CiAg55uu5qCH5bGe5LqO546v5ZueIC8g5YaF572RIC8g6ZO+6Lev5pys5ZywIC8g5L+d55WZ5Zyw5Z2A77yMV29ya2VyIOebtOi/nuaXoOazleWIsOi+vuOAggogIOKGkiDopoHorr/pl67lsYDln5/nvZHorr7lpIfvvIzor7fphY3nva7okL3lnLDku6PnkIbvvIjnlLHku6PnkIbkvqflu7rov57vvInjgII=");case"timeout":return __sfx("5Ye656uZ6LaF5pe277yI")+e.candidate+"):"+e.message+__sfx("CiAg4oaSIOivpeWcsOWdgOW9k+WJjeS4jeWPr+i+vu+8jOWPr+aNouS4gOadoeWAmemAieaIluWQr+eUqOS7o+eQhuiQveWcsOOAgg==");default:return __sfx("5Ye656uZ5aSx6LSl77yI")+e.candidate+"):"+e.message+""}}var Ur,lt=x(()=>{"use strict";$e();Ur=[[__sfx("MTA0LjE2LjAuMA=="),13],[__sfx("MTA0LjI0LjAuMA=="),14],[__sfx("MTA0LjMxLjAuMA=="),15],[__sfx("MTcyLjY0LjAuMA=="),13],[__sfx("MTYyLjE1OC4wLjA="),15],[__sfx("MTg4LjExNC45Ni4w"),20],[__sfx("MTQxLjEwMS42NC4w"),18],[__sfx("MTA4LjE2Mi4xOTIuMA=="),18],[__sfx("MTAzLjIxLjI0NC4w"),22],[__sfx("MTAzLjIyLjIwMC4w"),22],[__sfx("MTAzLjMxLjQuMA=="),22],[__sfx("MTMxLjAuNzIuMA=="),22],[__sfx("MTk3LjIzNC4yNDAuMA=="),22],[__sfx("MTk4LjQxLjEyOC4w"),17],[__sfx("MTkyLjAuMC4w"),24],[__sfx("MTkyLjAuMi4w"),24],[__sfx("MTkyLjg4Ljk5LjA="),24],[__sfx("MTk5LjI3LjEyOC4w"),21],[__sfx("MjIzLjUuNS4w"),24],[__sfx("MS4wLjAuMA=="),24],[__sfx("MS4xLjEuMA=="),24]]});function bn(e,t="direct"){let n=e.trim();if(!n)return null;let o=t,r=n,s=/^([a-z0-9+.-]+):\/\//i.exec(n);if(s){let d=s[1].toLowerCase();r=n.slice(s[0].length),d===__sfx("c29ja3M1")||d===__sfx("c29ja3M=")||d===__sfx("c29ja3M1aA==")?o=__sfx("c29ja3M1"):d==="https"?o="https":d==="http"&&(o="http")}let i=r.lastIndexOf("@"),a={};if(i>=0){let d=r.slice(0,i);r=r.slice(i+1);let g=d.indexOf(":");g>=0?a={username:d.slice(0,g),password:d.slice(g+1)}:a={username:d}}let c,f=/#sni=([^/#]+)/i.exec(r);f&&(c=f[1].trim(),r=r.slice(0,f.index)+r.slice(f.index+f[0].length));let{host:l,port:u}=et(r,0);return!l||!Number.isInteger(u)||u<=0||u>65535?null:(!c&&o==="https"&&!Or(l)&&(c=l),{host:l,port:u,kind:o,...a,...c?{serverName:c}:{}})}function Or(e){return/^\d{1,3}(\.\d{1,3}){3}$/.test(e)}function ue(e,t="direct"){let n=[];for(let o of e.split(/[\n,;]+/)){let r=o.trim();if(!r)continue;let s=bn(r,t);s&&n.push(s)}return n}var ct=x(()=>{"use strict";Pe()});async function Mr(){return ut||(ut=(async()=>(await import("cloudflare:sockets")).connect)()),await ut}function Hr(e,t){if(!O(e))return null;let n=e.split(".").map(i=>Number(i)),o=(n[0]<<8|n[1]).toString(16),r=(n[2]<<8|n[3]).toString(16);return`${t.replace(/:+$/,"")}::${o}:${r}`}async function ve(e,t,n,o,r){let i=(await Mr())({hostname:e,port:t},o?{secureTransport:o}:void 0),a=async(f,l)=>{let u,d=new Promise((g,y)=>{u=setTimeout(()=>y(new Error(""+l+__sfx("6LaF5pe277ya")+e+":"+t+"")),n)});try{return await Promise.race([f,d])}finally{u&&clearTimeout(u)}},c;try{if(await a(i.opened,__sfx("6L+e5o6l")),o==="starttls"){if(c=i.startTls?.(r?{expectedServerHostname:r}:void 0),!c)throw new Error(__sfx("5b2T5YmN6L+Q6KGM5pe25LiN5pSv5oyBIHN0YXJ0VGxz"));return await a(c.opened,__sfx("VExTIOaPoeaJiw==")),c}return i}catch(f){try{await(c??i).close()}catch{}throw f}}async function Fr(e){let t=e.timeoutMs??dt;try{let n=await ve(e.hostname,e.port,t);return{readable:n.readable,writable:n.writable,via:"direct",endpoint:`${e.hostname}:${e.port}`,close:()=>{try{n.close()}catch{}}}}catch(n){if(e.nat64&&O(e.hostname)){let o=Hr(e.hostname,e.nat64);if(o){let r=await ve(o,e.port,t);return{readable:r.readable,writable:r.writable,via:"nat64",endpoint:`${o}:${e.port}`,close:()=>{try{r.close()}catch{}}}}}throw n}}function Kr(e){return e.includes(":")}function Gr(e){return e.source==="proxy"&&e.via!==void 0&&e.via.kind!=="direct"}async function jr(e,t){let n=e.timeoutMs??dt;if(t.kind==="direct"){let s=await ve(t.host,t.port,n);return{readable:s.readable,writable:s.writable,via:"direct",endpoint:`${t.host}:${t.port}`,close:()=>{try{s.close()}catch{}}}}let o=t.kind==="https"?"starttls":void 0,r=await ve(t.host,t.port,n,o,t.kind==="https"?t.serverName:void 0);try{return t.kind==="http"||t.kind==="https"?{readable:await qt(r.readable,r.writable,e.hostname,e.port,{username:t.username,password:t.password}),writable:r.writable,via:t.kind,endpoint:`${t.host}:${t.port}`,close:()=>{try{r.close()}catch{}}}:{readable:await Zt(r.readable,r.writable,e.hostname,e.port,{username:t.username,password:t.password}),writable:r.writable,via:__sfx("c29ja3M1"),endpoint:`${t.host}:${t.port}`,close:()=>{try{r.close()}catch{}}}}catch(s){try{await r.close()}catch{}throw s}}function xn(e){return e instanceof Error?e.message:typeof e=="string"?e:String(e)}function zr(e){if(e.length===0)return __sfx("5pyq55+l5Y6f5Zug");let t=e.map(xn),n=t.slice(-Yr),o=t.length-n.length;return`${o>0?`\uFF08\u5171 ${t.length} \u6761\uFF0C\u7701\u7565\u524D ${o} \u6761\uFF09`:""}${n.join("\uFF1B")}`}function Wr(e){return e.length===0?Promise.reject(new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Ye656uZ5ouo5Y+35pa55byP"))):new Promise((t,n)=>{let o=e.length,r=!1,s=[];for(let i of e)i().then(a=>{if(r){try{a.writable.getWriter().close()}catch{}return}r=!0,t(a)},a=>{s.push(a),o-=1,o===0&&!r&&(r=!0,n(new Error(__sfx("5pys5om5IA==")+e.length+__sfx("IOS4quWAmemAieWFqOmDqOWksei0pe+8mg==")+zr(s)+"")))})})}async function pt(e,t){if(e.length===0)throw new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Ye656uZ5ouo5Y+35pa55byP"));if(!t||e.length<=1){let s=new Error(__sfx("5ouo5Y+35aSx6LSl"));for(let i of e)try{return await i()}catch(a){s=a}throw s}let n=[],o=new Error(__sfx("5ouo5Y+35aSx6LSl"));for(let s=0;s<e.length;s+=ft){let i=e.slice(s,s+ft);try{return await Wr(i)}catch(a){o=a,n.push(xn(a))}}throw new Error(__sfx("5YWo6YOoIA==")+e.length+__sfx("IOS4quWAmemAieWdh+Wksei0pe+8iOWIhiA=")+n.length+__sfx("IOaJue+8jOavj+aJueacgOWkmiA=")+ft+__sfx("IOS4quW5tuWPke+8ie+8mgo=")+n.join(`
4
- `),{cause:o})}async function wn(e,t){let n=[...e];if(!t)return n;try{let o=await le(t),r=new Set(n.map(s=>`${s.ip}:${s.port}`));for(let s of o){let i=`${s.ip}:${s.port}`;r.has(i)||(r.add(i),n.push(s))}}catch{}return n}async function Xr(e,t,n){if(e.length===0)return null;for(let o=0;o<e.length;o+=J){let s=e.slice(o,o+J).map(i=>t({source:"relay",host:i.ip,port:i.port,label:__sfx("5Y+N5LujIA==")+i.label+""}));try{return await pt(s,n)}catch{}}return null}async function fe(e){let t=e.proxies??[],n=e.concurrent??!0;if(!e.skipTargetPolicy&&t.length===0){let h=_e(e.hostname);if(h)throw new Z(e.hostname,h)}let o=e.budgetMs??Br,r=Date.now()+o,s=[...e.optimizedIps??[]],i=!1;if(e.resolvePreferred)try{let h=await Se(e.hostname,e.port,{deadline:r});if(h.length>0){i=!0;for(let S of h)s.push({ip:S.hostname,port:S.port})}}catch{}let a=_(e.hostname),c=i&&s.length>0&&s.every(h=>_(h.ip)),f=[...e.relay??[]],l=c||a;l&&e.relayPool&&(f=await wn(f,{...e.relayPool,deadline:r}));let u=l?f.slice(0,J):[],d=l?f.slice(J):[],g=mn({targetHost:e.hostname,targetPort:e.port,optimizedIps:s,proxies:t,deprioritizeDirect:a||c,relay:u,relayAsPrimary:u.length>0});if(g.length===0)throw new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Ye656uZ5ouo5Y+35pa55byP"));let y=h=>async()=>{let S=r-Date.now();if(S<=0)throw new Error(__sfx("5ouo5Y+36aKE566X5bey55So5bC977yI")+o+"ms):"+e.hostname+":"+e.port+"");let L=Math.max(200,Math.min(e.timeoutMs??dt,S)),oe={...e,timeoutMs:L};try{if(!Gr(h)&&Kr(e.hostname))throw new Z(e.hostname,en);if(!e.skipTargetPolicy&&h.source!=="proxy"&&h.source!=="relay"){let M=_e(h.host);if(M)throw new Z(h.host,M)}return h.source==="proxy"&&h.via?await jr(oe,{host:h.via.host,port:h.via.port,kind:h.via.kind,username:h.via.username,password:h.via.password,serverName:h.via.serverName}):await Fr({...oe,hostname:h.host,port:h.port})}catch(M){let me=gn(M,h.label);throw e.onFailure?.(me),M}},T=hn(g),{landing:C,[__sfx("cHJveHlJcA==")]:p,direct:w,fallback:A}=T,U=C.length>0||p.length>0,R=async()=>{if(C.length===0)throw new Error(__sfx("5pyq6YWN572u6JC95Zyw5Luj55CG"));let h;for(let S of C)try{return await y(S)()}catch(L){h=L}throw h??new Error(__sfx("6JC95Zyw5Luj55CG5YWo6YOo5aSx6LSl"))},W=async()=>{if(p.length===0)throw new Error(__sfx("5pyq6YWN572uIFByb3h5SVA="));return await pt(p.map(y),!0)},N=async()=>{let h;if(C.length>0)try{return await R()}catch(S){h=S}if(p.length>0)try{return await W()}catch(S){h=S}throw h??new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Luj55CG"))},q=async()=>await pt(w.map(y),n),X=async()=>{let h=d;return h.length===0&&e.relayPool&&(h=await wn([],{...e.relayPool,deadline:r})),await Xr(h,y,n)},K=async()=>{for(let h of A)try{return await y(h)()}catch{}return null};if(!U)try{return await q()}catch(h){let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}let H=e.proxyMode??"only",re=a||c;if(H==="only")try{return await N()}catch(h){let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}if(H==="global"||H==="smart"&&re)try{return await N()}catch(h){if(H==="global")try{return await q()}catch{}let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}try{return await q()}catch(h){try{return await N()}catch{}let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}}var ut,dt,Br,ft,Yr,mt=x(()=>{"use strict";Qt();Jt();$e();G();Pe();ce();lt();ct();ut=null;dt=8e3,Br=15e3;ft=6,Yr=8});async function En(e,t,n,o=!0,r){let s=e.getReader(),i=t.getWriter();try{for(;!n?.exhausted;){let{done:a,value:c}=await s.read();if(a)break;if(!(!c||c.byteLength===0)){if(r?.(c.byteLength))break;await i.write(c)}}}catch{}finally{if(o)try{await i.close()}catch{}else try{i.releaseLock()}catch{}try{s.releaseLock()}catch{}}}var $,Re=x(()=>{"use strict";$=class{constructor(t){this.limitBytes=t}limitBytes;total=0;get enabled(){return this.limitBytes>0}get bytes(){return this.total}add(t){return this.limitBytes<=0||t<=0?!1:(this.total+=t,this.total>this.limitBytes)}}});var Rn={};ye(Rn,{[__sfx("aGFuZGxlV2ViU29ja2V0")]:()=>Le,recentDiagnostics:()=>Qr,recordDiagnostics:()=>ee,truncateCloseReason:()=>vn});function vn(e,t=123){let n=new TextEncoder;if(n.encode(e).length<=t)return e;let o=e.slice(0,t);for(;n.encode(o).length>t;)o=o.slice(0,-1);o=o.replace(/\uFFFD+$/,"");let r="\u2026";for(;o.length>0&&n.encode(o+r).length>t;)o=o.slice(0,-1);return o+r}function ee(e,t,n){Ie.unshift({at:Date.now(),target:e,failures:t,summary:n}),Ie.length>Cn&&(Ie.length=Cn)}function Qr(){return Ie}function Jr(e){if(!e)return new Uint8Array(0);let t=e.trim();if(!t||t.length>16384)return new Uint8Array(0);try{let n=t.replace(/-/g,"+").replace(/_/g,"/"),o=n.length%4===0?"":"=".repeat(4-n.length%4),r=atob(n+o);if(r.length<17||r.length>8192)return new Uint8Array(0);let s=new Uint8Array(r.length);for(let i=0;i<r.length;i++)s[i]=r.charCodeAt(i);return s}catch{return new Uint8Array(0)}}async function Le(e,t,n,o,r,s){let[i,a]=Object.values(new WebSocketPair);try{a.accept({allowHalfOpen:!0})}catch{a.accept()}a.binaryType="arraybuffer";let c=Jr(e.headers.get(__sfx("c2VjLXdlYnNvY2tldC1wcm90b2NvbA=="))),f=!1,l=null,u=null,d=new Ee,g=null,y=null,T=!1,C=!1,p=null,w=null,A=m=>{try{a.send(m)}catch{}},U=m=>{let b=new Uint8Array(2+m.byteLength);b[0]=0,b[1]=m.byteLength,b.set(m,2),A(b)},R=(m,b)=>{T=!0;try{a.close(m,vn(b))}catch{}W()},W=()=>{if(!C){if(C=!0,h(),g&&(clearTimeout(g),g=null),N&&(clearTimeout(N),N=null),y){let m=y;y=null;try{m.cancel()}catch{}}if(l){let m=l.close;if(m)try{m()}catch{}else try{l.writable.close()}catch{}}}},N=null,q=new Set,X=0,K=[],H=0,re=m=>{if(!(m.byteLength===0||M>0)){if(H+m.byteLength>Tn){R(1009,__sfx("5pyq56Gu6K6k6YCa6Lev55qE5LiK6KGM5pWw5o2u6L+H5aSa"));return}if(De+m.byteLength>Zr){R(1009,__sfx("5a6e5L6L5YaF5a2Y6aKE566X5bey5ruh77yM6K+36YeN6K+V"));return}K.push(m),H+=m.byteLength,De+=m.byteLength}},h=()=>{De=Math.max(0,De-H),K=[],H=0},S=0,L=()=>{S+=1},oe=async()=>{if(!l)return;let m=++S,b=l.readable.getReader();y=b,N&&clearTimeout(N);let P=setTimeout(()=>{N===P&&(N=null),!(M>0)&&H!==0&&(ee(`${p.hostname}:${p.port}`,[],__sfx("55u06L+eIA==")+Sn+__sfx("bXMg5peg5LiL6KGM5pWw5o2u77yM5pS56LWw5Y+N5Luj5YWl5Y+j")),_n())},Sn);N=P;try{for(;;){let{done:k,value:D}=await b.read();if(k)break;if(D&&D.byteLength>0){let I=M===0;if(M+=D.byteLength,I&&h(),me.add(D.byteLength)){Tt();return}await Xt(a),A(D)}}}catch{}finally{try{b.releaseLock()}catch{}clearTimeout(P),N===P&&(N=null),y===b&&(y=null),m===S&&!T&&R(1e3,"done")}},M=0,me=new $((n.dataBudgetMB||0)*1024*1024),Tt=()=>{let m=__sfx("5Y2V6L+e5o6l5rWB6YeP6LaF6L+HIA==")+n.dataBudgetMB+__sfx("TUIg5LiK6ZmQ");ee(p?`${p.hostname}:${p.port}`:__sfx("5pyq5bu656uL5Ye656uZ"),[],m),R(1009,m)},Ct=async m=>{let b=u;if(b)try{await d.write(()=>u===b?b:null,m)}catch{W()}},Qn=async m=>{if(c.byteLength===0)return;let b=c;c=new Uint8Array(0),re(b),await m.write(b)},vt=m=>{if(t===__sfx("dmxlc3M=")){let P=Bt(m,n.uuid);return P?{command:P.header.command,port:P.header.port,hostname:P.header.hostname,headerLength:P.consumed}:null}let b=Yt(m,n[__sfx("dHJvamFuUGFzc3dvcmQ=")]);return b?{command:b.header.command,port:b.header.port,hostname:b.header.hostname,headerLength:b.consumed}:null},qn=()=>{g&&(clearTimeout(g),g=null)},Jn=async()=>{if(!(T||f)){if(vt(c)){await Fe();return}R(1008,c.byteLength===0?__sfx("5o+h5omL6LaF5pe277ya5pyq5pS25Yiw5Y2P6K6u5aS0"):__sfx("5o+h5omL6LaF5pe277ya5Y2P6K6u5aS05LiN5a6M5pW05oiW6K6k6K+B5aSx6LSl"))}},Fe=async()=>{if(T||f)return;let m=vt(c);if(!m){c.byteLength>0&&!g&&(g=setTimeout(()=>{g=null,Jn().catch(I=>R(1011,String(I)))},qr));return}if(qn(),f)return;f=!0,p=m;let b=t===__sfx("dmxlc3M=")?Ut:jt;if(m.command===b){if(t===__sfx("dmxlc3M=")&&n.udpDns==="doh"&&m.port===53){U(new Uint8Array(0)),w=new xe({endpoint:n.udpDnsEndpoint,send:A});let I=c.subarray(m.headerLength);I.byteLength>0&&w.push(I);return}R(1002,n.udpDns==="doh"?__sfx("VURQIOS7heaUr+aMgSBETlPvvIg1MyDnq6/lj6PvvIk="):__sfx("VURQIOacquWQr+eUqO+8iOmdouadv+WPr+W8gOWQryBETlMgb3ZlciBEb0jvvIk="));return}t===__sfx("dmxlc3M=")&&U(new Uint8Array(0));let P=[],k=null;try{l=await fe({hostname:m.hostname,port:m.port,proxies:o,timeoutMs:An,concurrent:n.concurrentDial,nat64:n.nat64||void 0,proxyMode:n.proxyMode,resolvePreferred:n.resolvePreferred,relayPool:{userEntries:n.relayPool||void 0,useBuiltin:n.useBuiltinRelay,colo:typeof e.cf?.colo=="string"?e.cf.colo:void 0},onFailure:I=>{P.push(I),s?.failures.push(I)}})}catch(I){k=I}if(!l){let I=P.length>0?P.map(he=>yn(he)).join(`
5
- `):__sfx("5Ye656uZ6L+e5o6l5aSx6LSl77ya")+String(k)+"";ee(`${m.hostname}:${m.port}`,P,I),R(1011,I);return}u=l.writable.getWriter();let D=c.byteLength>m.headerLength?c.subarray(m.headerLength):new Uint8Array(0);D.byteLength>0&&(re(D),await Ct(D)),c=new Uint8Array(0),r?.waitUntil(oe())},_n=async()=>{let m=p;if(!m){R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya55uu5qCH5pyq6Kej5p6Q"));return}if(X>=Pn){R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya55u06L+e5LiO5Y+N5Luj5YWl5Y+j5Z2H5peg5ZON5bqU"));return}X++;let b=[];try{b=await le({userEntries:n.relayPool||void 0,useBuiltin:n.useBuiltinRelay,colo:typeof e.cf?.colo=="string"?e.cf.colo:void 0})}catch{b=[]}let P=b.filter(k=>!q.has(`${k.ip}:${k.port}`));if(P.length===0){R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya5peg5Y+N5Luj5YWl5Y+j5Y+v55So"));return}for(let k of P.slice(0,Pn)){if(q.add(`${k.ip}:${k.port}`),L(),l){let D=l;if(D.close)try{D.close()}catch{}}u=null,M=0;try{let D=await fe({hostname:k.ip,port:k.port,timeoutMs:An,resolvePreferred:!1,skipTargetPolicy:!0});if(!D)continue;l=D;let I=D.writable.getWriter();u=I;let he=0;for(let ge of K)he+=ge.byteLength;let Ke=new Uint8Array(he),Dt=0;for(let ge of K)Ke.set(ge,Dt),Dt+=ge.byteLength;await d.run(async()=>{Ke.byteLength>0&&await I.write(Ke),await Qn(I)}),ee(`${m.hostname}:${m.port}`,[],__sfx("5bey5YiH5o2i5Y+N5Luj5YWl5Y+jIA==")+k.ip+":"+k.port+""),r?.waitUntil(oe());return}catch(D){ee(`${m.hostname}:${m.port}`,[],__sfx("5Y+N5Luj5YWl5Y+jIA==")+k.ip+":"+k.port+__sfx("IOWksei0pe+8mg==")+String(D)+"")}}R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya5omA5pyJ5Y+N5Luj5YWl5Y+j5Z2H5aSx6LSl"))};a.addEventListener("message",m=>{(async()=>{let b=m.data,P=typeof b=="string"?new TextEncoder().encode(b):new Uint8Array(b);if(P.byteLength!==0){if(me.add(P.byteLength)){Tt();return}if(!f){if(c=Ze(c,P),c.byteLength>Vr){R(1009,__sfx("5o+h5omL5aS06LaF6L+HIDY0S0I="));return}await Fe();return}if(w){w.push(P);return}if(!u){if(c=Ze(c,P),c.byteLength>Tn){R(1009,__sfx("5ouo5Y+35pyf6Ze05pWw5o2u6L+H5aSa"));return}return}re(P),await Ct(P)}})()});let Rt=()=>{W()};a.addEventListener("close",Rt),a.addEventListener("error",Rt),c.byteLength>0&&Fe().catch(m=>R(1011,String(m)));try{return new Response(null,{status:101,[__sfx("d2ViU29ja2V0")]:i})}catch(m){return console.error(__sfx("W+iHqueglOaVsOaNrumdol0gMTAxIOWTjeW6lOaehOmAoOWksei0pe+8mg=="),m),new Response(null,{status:200})}}var An,Sn,Pn,Vr,Tn,Zr,De,Ie,Cn,qr,ht=x(()=>{"use strict";Xe();zt();Wt();ae();Vt();mt();Re();lt();ce();An=5e3,Sn=2500,Pn=2,Vr=64*1024,Tn=8*1024*1024,Zr=32*1024*1024,De=0;Ie=[],Cn=20;qr=2e3});var Dn={};ye(Dn,{[__sfx("aGFuZGxlWGh0dHA=")]:()=>gt,[__sfx("cmVjZW50WGh0dHBEaWFnbm9zdGljcw==")]:()=>eo,[__sfx("cmVjb3JkWGh0dHBEaWFnbm9zdGljcw==")]:()=>ke});function $r(e,t){return new Promise(n=>{let o=setTimeout(()=>n(null),t);e.then(r=>{clearTimeout(o),n(r)},()=>{clearTimeout(o),n(null)})})}function ke(e,t,n){Ne.unshift({at:Date.now(),target:e,...t,summary:n}),Ne.length>20&&(Ne.length=20)}function eo(){return Ne}async function gt(e,t,n){let o=e.body;if(!o)return new Response(__sfx("57y65bCR6K+35rGC5L2T"),{status:400});let r=new Y(o),s=await $r(Mt(r,t.uuid),_r);if(!s)return await r.cancel("header timeout"),new Response(__sfx("VkxFU1Mg5aS06Kej5p6Q5aSx6LSl"),{status:400});if(s.header.command!==kt)return await s.payload.cancel("unsupported UDP"),new Response(__sfx("WEhUVFAg5pqC5LiN5pSv5oyBIFVEUA=="),{status:400});let i;try{i=await fe({hostname:s.header.hostname,port:s.header.port,proxies:n,nat64:t.nat64,concurrent:t.concurrentDial,proxyMode:t.proxyMode,resolvePreferred:t.resolvePreferred,relayPool:{userEntries:t.relayPool||void 0,useBuiltin:t.useBuiltinRelay},onFailure:p=>{ke(`${s.header.hostname}:${s.header.port}`,p,__sfx("WEhUVFAg5Ye656uZ5aSx6LSl77yI")+p.candidate+"):"+p.message+"")}})}catch(p){ke(`${s.header.hostname}:${s.header.port}`,{kind:"dial",message:String(p),candidate:"all"},__sfx("WEhUVFAg5Ye656uZ5YWo6YOo5aSx6LSl77ya")+String(p)+"");try{s.payload.cancel("dial failed").catch(()=>{})}catch{}return new Response(__sfx("5Ye656uZ5LiN5Y+v55So"),{status:502})}let a=s.header.addons;if(a.byteLength>255)return new Response(__sfx("QWRkb25zIOmVv+W6pui2heWHuiBWTEVTUyDljY/orq7kuIrpmZA="),{status:400});let c=new Uint8Array(2+a.byteLength);c[0]=s.header.version,c[1]=a.byteLength,c.set(a,2);let f=!1,l=null,u=!1,d=new $((t.dataBudgetMB||0)*1024*1024),g=null,y=()=>{if(u)return;u=!0;let p=__sfx("5Y2V6L+e5o6l5rWB6YeP6LaF6L+HIA==")+t.dataBudgetMB+__sfx("TUIg5LiK6ZmQ");if(ke(`${s.header.hostname}:${s.header.port}`,{kind:"budget",message:p,candidate:"traffic"},p),i.close)try{i.close()}catch{}try{g?.close()}catch{}},T=p=>d.add(p)?(y(),!0):!1;En(s.payload,i.writable,void 0,!1,T).catch(()=>{});let C=new ReadableStream({start(p){g=p,p.enqueue(c),f=!0},async pull(p){if(!(u||!f)){l||(l=i.readable.getReader());try{let{done:w,value:A}=await l.read();if(u)return;if(w){if(i.close)try{i.close()}catch{}p.close();return}if(A&&A.byteLength>0){if(d.add(A.byteLength)){y();return}p.enqueue(A)}}catch(w){if(u)return;if(i.close)try{i.close()}catch{}try{p.error(w)}catch{}}}},cancel(p){u=!0;try{i.readable.cancel(p)}catch{}if(i.close)try{i.close()}catch{}}});return new Response(C,{status:200,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-store","X-Accel-Buffering":"no"}})}var _r,Ne,yt=x(()=>{"use strict";ae();Xe();Re();mt();_r=2e3;Ne=[]});function Oe(){return new Response(JSON.stringify({build:bt,version:to,ts:Date.now()}),{status:200,headers:{"Content-Type":"application/json","Cache-Control":"no-store","Access-Control-Allow-Origin":"*"}})}var bt,to,Ue,wt=x(()=>{"use strict";bt="58a56f1-cd391244",to=__sfx("MC4xNS4w"),Ue=__sfx("L19fY2ZwX3ZlcnNpb24=")});function In(e){return e[__sfx("S1Y=")]?new te(e[__sfx("S1Y=")]):new xt}var te,xt,Me=x(()=>{"use strict";te=class{constructor(t){this.kv=t}kv;async get(t){return await this.kv.get(t)}async put(t,n,o){o&&o>=60?await this.kv.put(t,n,{expirationTtl:o}):await this.kv.put(t,n)}async delete(t){await this.kv.delete(t)}async list(t){let n=[],o;do{let r=await this.kv.list({prefix:t,cursor:o});for(let s of r.keys)n.push(s.name);o=r.list_complete?void 0:r.cursor}while(o);return n}},xt=class{data=new Map;async get(t){let n=this.data.get(t);return n?n.expiresAt>0&&n.expiresAt<=Date.now()?(this.data.delete(t),null):n.value:null}async put(t,n,o){let r=o?Date.now()+o*1e3:0;this.data.set(t,{value:n,expiresAt:r})}async delete(t){this.data.delete(t)}async list(t){return[...this.data.keys()].filter(n=>n.startsWith(t))}}});function Q(e,t){if(e==null)return t;let n=String(e).trim();if(n==="")return t;let o=Number(n);return Number.isFinite(o)?o:t}function B(e,t){if(e==null||e==="")return t;let n=String(e).trim().toLowerCase();return["1","true","yes","on"].includes(n)?!0:["0","false","no","off"].includes(n)?!1:t}function no(e){let t=e.trim().toLowerCase();return t==="global"||t==="fallback"||t==="smart"?t:"only"}function Nn(e){return e.trim().toLowerCase()==="signed"?"signed":"legacy"}function kn(e){return e.trim().toLowerCase()==="doh"?"doh":"off"}function v(e,t){return e==null?t:String(e)}function ro(e){return{uuid:v(e[__sfx("VVVJRA==")],""),[__sfx("dHJvamFuUGFzc3dvcmQ=")]:v(e[__sfx("VFJPSkFOX1BBU1NXT1JE")],""),wsPath:v(e[__sfx("V1NfUEFUSA==")]||e[__sfx("UEFUSA==")],E.wsPath),[__sfx("dHJvamFuUGF0aA==")]:E[__sfx("dHJvamFuUGF0aA==")],[__sfx("eGh0dHBQYXRo")]:E[__sfx("eGh0dHBQYXRo")],add:v(e[__sfx("QURE")],""),addApi:v(e[__sfx("QUREQVBJ")],""),addCsv:v(e[__sfx("QUREX0NTVg==")],""),poolOfficial:B(e[__sfx("T0ZGSUNJQUxfSVA=")],E.poolOfficial),officialCount:Q(e[__sfx("T0ZGSUNJQUxfSVBfQ09VTlQ=")],E.officialCount),poolDomain:B(e[__sfx("UFJFRkVSUkVEX0RPTUFJTg==")],E.poolDomain),domainCount:Q(e[__sfx("UFJFRkVSUkVEX0RPTUFJTl9DT1VOVA==")],E.domainCount),poolManual:B(e[__sfx("TUFOVUFMX0lQ")],E.poolManual),poolCountries:v(e[__sfx("UE9PTF9DT1VOVFJJRVM=")],E.poolCountries),dls:Q(e[__sfx("RExT")],0),maxLatency:Q(e[__sfx("TUFYX0xBVEVOQ1k=")],0),maxNodes:0,[__sfx("cHJveHlJcA==")]:v(e[__sfx("UFJPWFlJUA==")],""),[__sfx("c29ja3M1")]:v(e[__sfx("U09DS1M1")],""),httpProxy:v(e[__sfx("SFRUUF9QUk9YWQ==")],""),proxyMode:no(v(e[__sfx("UFJPWFlfTU9ERQ==")],"")),nat64:v(e[__sfx("TkFUNjQ=")],""),concurrentDial:B(e[__sfx("VENQX0NPTkNVUlJFTlRfRElBTA==")],!0),dataBudgetMB:Q(e[__sfx("REFUQV9CVURHRVRfTUI=")],E.dataBudgetMB),resolvePreferred:B(e[__sfx("UkVTT0xWRV9QUkVGRVJSRUQ=")],E.resolvePreferred),relayPool:v(e[__sfx("UkVMQVlfUE9PTA==")],""),useBuiltinRelay:B(e[__sfx("VVNFX0JVSUxUSU5fUkVMQVk=")],E.useBuiltinRelay),[__sfx("ZW5hYmxlVHJvamFu")]:B(e[__sfx("RU5BQkxFX1RST0pBTg==")]??e[__sfx("VFJPSkFO")],E[__sfx("ZW5hYmxlVHJvamFu")]),[__sfx("ZW5hYmxlWGh0dHA=")]:B(e[__sfx("RU5BQkxFX1hIVFRQ")]??e[__sfx("WEhUVFA=")],E[__sfx("ZW5hYmxlWGh0dHA=")]),subDomain:"",subProtocol:"both",subTransport:"both",subVariants:v(e[__sfx("U1VCX1ZBUklBTlRT")],E.subVariants),subName:v(e[__sfx("U1VCX05BTUU=")],E.subName).trim()||E.subName,subPorts:v(e[__sfx("U1VCX1BPUlRT")],E.subPorts),clientFingerprint:E.clientFingerprint,ech:B(e[__sfx("RUNI")],E.ech),echHost:v(e[__sfx("RUNIX0hPU1Q=")],E.echHost),echDns:v(e[__sfx("RUNIX0ROUw==")],E.echDns),tlsFragment:!1,tlsFragmentSize:E.tlsFragmentSize,tlsFragmentDelay:E.tlsFragmentDelay,subToken:Nn(v(e[__sfx("U1VCX1RPS0VOX01PREU=")],"")),subTokenTtlDays:Q(e[__sfx("U1VCX1RPS0VOX1RUTF9EQVlT")],E.subTokenTtlDays),unlockProbe:B(e[__sfx("VU5MT0NLX1BST0JF")],E.unlockProbe),udpDns:kn(v(e[__sfx("VURQX0ROUw==")],"")),udpDnsEndpoint:v(e[__sfx("VURQX0ROU19FTkRQT0lOVA==")],E.udpDnsEndpoint)}}function oo(e,t){let n={...e};for(let[o,r]of Object.entries(t))if(r!=null)if(o==="dls"||o==="maxLatency"||o==="maxNodes"||o==="officialCount"||o==="domainCount"||o==="dataBudgetMB"||o==="subTokenTtlDays")n[o]=Q(r,0);else if(o==="concurrentDial"||o==="resolvePreferred"||o==="useBuiltinRelay"||o===__sfx("ZW5hYmxlVHJvamFu")||o===__sfx("ZW5hYmxlWGh0dHA=")||o==="tlsFragment"||o==="ech"||o==="poolOfficial"||o==="poolDomain"||o==="poolManual"||o==="unlockProbe")n[o]=B(r,!1);else if(o==="subProtocol"){let s=String(r);n[o]=s===__sfx("dmxlc3M=")||s===__sfx("dHJvamFu")||s==="both"?s:"both"}else if(o==="subTransport"){let s=String(r);n[o]=s==="ws"||s===__sfx("eGh0dHA=")||s==="both"?s:"both"}else o==="subToken"?n[o]=Nn(String(r)):o==="udpDns"?n[o]=kn(String(r)):n[o]=String(r);return n}async function Un(e,t){let n=ro(t),o=await e.get(Ln),r={};if(o)try{r=JSON.parse(o)}catch{r={}}let s=oo(n,r),i=!1,a=e instanceof te;return!s.uuid&&a&&(s.uuid=Ge(),i=!0),!s[__sfx("dHJvamFuUGFzc3dvcmQ=")]&&a&&(s[__sfx("dHJvamFuUGFzc3dvcmQ=")]=Ge().replace(/-/g,"").slice(0,16),i=!0),s.officialCount<1&&(s.officialCount=E.officialCount,i=!0),s.domainCount<1&&(s.domainCount=E.domainCount,i=!0),i&&await so(e,s),s}async function so(e,t){await e.put(Ln,JSON.stringify(t))}var Ln,E,Be=x(()=>{"use strict";j();Me();Ln="CONFIG",E={uuid:"",[__sfx("dHJvamFuUGFzc3dvcmQ=")]:"",wsPath:__sfx("L3ZsZXNz"),[__sfx("dHJvamFuUGF0aA==")]:__sfx("L3Ryb2phbg=="),[__sfx("eGh0dHBQYXRo")]:__sfx("L3hodHRw"),add:"",addApi:"",addCsv:"",poolOfficial:!0,officialCount:20,poolDomain:!0,domainCount:10,poolManual:!0,poolCountries:"",dls:0,maxLatency:0,maxNodes:0,[__sfx("cHJveHlJcA==")]:"",[__sfx("c29ja3M1")]:"",httpProxy:"",proxyMode:"only",nat64:"",concurrentDial:!0,dataBudgetMB:0,resolvePreferred:!0,relayPool:"",useBuiltinRelay:!0,[__sfx("ZW5hYmxlVHJvamFu")]:!0,[__sfx("ZW5hYmxlWGh0dHA=")]:!0,subDomain:"",subProtocol:__sfx("dmxlc3M="),subTransport:"ws",subVariants:__sfx("dmxlc3Mtd3M="),subName:__sfx("Q0ZQaWxvdA=="),subPorts:"443",clientFingerprint:"chrome",ech:!1,echHost:__sfx("Y2xvdWRmbGFyZS1lY2guY29t"),echDns:"",tlsFragment:!1,tlsFragmentSize:"10-20",tlsFragmentDelay:"10-20",subToken:"legacy",subTokenTtlDays:0,unlockProbe:!1,udpDns:"off",udpDnsEndpoint:"https://dns.google/dns-query"}});var On,io,Ps,ao,Ts,Mn=x(()=>{"use strict";On={[__sfx("SEs=")]:["HKG"],[__sfx("VFc=")]:["TPE","KHH"],[__sfx("SlA=")]:["NRT","KIX","CTS","FUK"],[__sfx("S1I=")]:["ICN","PUS"],[__sfx("U0c=")]:["SIN"],[__sfx("TVk=")]:["KUL"],[__sfx("VEg=")]:["BKK"],[__sfx("Vk4=")]:["SGN","HAN"],[__sfx("SUQ=")]:["CGK","DPS"],[__sfx("UEg=")]:["MNL"],[__sfx("SU4=")]:["BOM","MAA","DEL"],[__sfx("QVU=")]:["SYD","MEL","BNE","PER"],[__sfx("Tlo=")]:["AKL"],[__sfx("VVM=")]:["LAX","SJC","SEA","ORD","DFW","IAD","EWR","ATL","MIA","DEN","PHX","BOS"],[__sfx("Q0E=")]:["YYZ","YVR","YYC"],[__sfx("R0I=")]:["LHR","MAN"],[__sfx("REU=")]:["FRA","MUC","BER"],[__sfx("RlI=")]:["CDG","MRS"],[__sfx("Tkw=")]:["AMS"],[__sfx("SVQ=")]:["MXP","FCO"],[__sfx("RVM=")]:["MAD","BCN"],[__sfx("U0U=")]:["ARN"],[__sfx("Q0g=")]:["ZRH"],[__sfx("QVQ=")]:["VIE"],[__sfx("UEw=")]:["WAW"],[__sfx("UlU=")]:["DME","SVO"],[__sfx("VFI=")]:["IST"],[__sfx("QUU=")]:["DXB"],[__sfx("SUw=")]:["TLV"],[__sfx("WkE=")]:["JNB"],[__sfx("QlI=")]:["GRU","GIG"],[__sfx("QVI=")]:["EZE"],[__sfx("Q0w=")]:["SCL"],[__sfx("TVg=")]:["MEX"]},io=__sfx("SEtH6aaZ5rivLFRQReWPsOWMlyxOUlTkuJzkuqwsS0lY5aSn6ZiqLElDTummluWwlCxTSU7mlrDliqDlnaEsS1VM5ZCJ6ZqG5Z2hLEJLS+abvOiwtyxTR07og6Hlv5fmmI7luIIsTU5M6ams5bC85ouJLFNZROaCieWwvCxNRUzloqjlsJTmnKwsTEFY5rSb5p2J55+2LFNKQ+Wco+S9leWhnixTRUHopb/pm4Xlm74sT1JE6Iqd5Yqg5ZOlLElBROWNjuebm+mhvyxFV1Lnur3nk6blhYssWVla5aSa5Lym5aSaLFlWUua4qeWTpeWNjixMSFLkvKbmlaYsRlJB5rOV5YWw5YWL56aPLENER+W3tOm7jixBTVPpmL/lp4bmlq/nibnkuLksTUFE6ams5b636YeMLEFSTuaWr+W+t+WTpeWwlOaRqSxJU1TkvIrmlq/lnabluIPlsJQsRFhC6L+q5ouc"),Ps=(()=>{let e={};for(let t of io.split(","))t.length>3&&(e[t.slice(0,3)]=t.slice(3));return e})(),ao=new Map;for(let[e,t]of Object.entries(On))for(let n of t)ao.set(n,e);Ts=Object.keys(On)});var Bn=x(()=>{"use strict"});var Gs,Hn=x(()=>{"use strict";G();j();Mn();Bn();Gs=".cn,qq.com,tencent.com,weixin.qq.com,baidu.com,bdstatic.com,bilibili.com,hdslb.com,taobao.com,tmall.com,jd.com,aliyun.com,alicdn.com,alipay.com,163.com,126.net,zhihu.com,weibo.com,sina.com.cn,youku.com,iqiyi.com,douyin.com,xiaohongshu.com,mi.com,huawei.com,csdn.net,gitee.com,cnblogs.com".split(",")});var Ws,Fn=x(()=>{"use strict";Me();j();Ws=new TextEncoder});var li,Kn=x(()=>{"use strict";Be();j();li=3600*24});function Gn(e){return In(e)}async function jn(e,t){if(pe.config&&Date.now()-pe.configAt<lo)return pe.config;let n=await Un(e,t);return pe.config=n,pe.configAt=Date.now(),n}var lo,pe,At=x(()=>{"use strict";Me();Be();Kn();lo=15e3,pe={config:null,configAt:0,auth:null,authAt:0}});var zn={};ye(zn,{clearUnlockCache:()=>bo,runUnlockProbe:()=>yo});function ho(e,t,n){return e===200?"ok":e===404?t==="status"?"region":"unknown":e===403||e===451?"blocked":t==="trace"&&/\bloc=[A-Z]{2}\b/.test(n)?"ok":"unknown"}async function go(e){let t=Date.now(),n=new AbortController,o=setTimeout(()=>n.abort(),fo);try{let r=await fetch(e.url,{method:"GET",redirect:"manual",signal:n.signal,headers:{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0 Safari/537.36",Accept:"text/html,application/xhtml+xml,*/*"}}),s="";e.mode==="trace"&&(s=(await r.text()).slice(0,512));let i=/\bloc=([A-Z]{2})\b/.exec(s)?.[1];return{id:e.id,status:r.status,verdict:ho(r.status,e.mode,s),ms:Date.now()-t,...i?{loc:i}:{}}}catch(r){let s=r instanceof Error?r.message:String(r);return{id:e.id,status:0,verdict:"unknown",ms:Date.now()-t,error:/abort/i.test(s)?"timeout":"fetch-failed"}}finally{clearTimeout(o)}}async function yo(e,t){let n=e||"UNK",o=Date.now(),r=ne.get(n);if(r&&o-r.at<po)return{...r.data,cached:!0};let s=await Promise.all(uo.map(a=>go(a))),i={colo:n,region:t,cached:!1,at:o,targets:s};if(ne.size>=mo){let a="",c=Number[__sfx("UE9TSVRJVkVfSU5GSU5JVFk=")];for(let[f,l]of ne)l.at<c&&(c=l.at,a=f);a&&ne.delete(a)}return ne.set(n,{at:o,data:i}),i}function bo(){ne.clear()}var uo,fo,po,mo,ne,Wn=x(()=>{"use strict";uo=[{id:"netflix",url:"https://www.netflix.com/title/81215567",mode:"status"},{id:"youtube",url:"https://www.youtube.com/premium",mode:"status"},{id:"gemini",url:"https://gemini.google.com/",mode:"status"}],fo=4e3,po=600*1e3,mo=16,ne=new Map});j();var er=8*1024*1024,tr=2*1024*1024,Lt=600*1e3,nr=6*1024*1024*1024,je=Date.now(),Ye=0;function Nt(e){e-je>=Lt&&(je=e,Ye=0)}function rr(e,t=Date.now()){Nt(t),Ye+=e}function It(e){return Nt(e),nr-Ye}var or=(()=>{let e=new Uint8Array(65536),t=2654435769;for(let n=0;n<e.length;n++)t^=t<<13,t^=t>>>17,t^=t<<5,e[n]=t&255;return e})(),sr=5e3;function ir(e,t=sr){let n=!1,o=setTimeout(()=>{if(!n){n=!0;try{e(1e3,"Probe idle timeout")}catch{}}},t),r=o;return typeof r?.unref=="function"&&r.unref(),{cancel:()=>{n||(n=!0,clearTimeout(o))}}}async function ze(e){let t=new URL(e.url);if(e.headers.get("Upgrade")?.toLowerCase()===__sfx("d2Vic29ja2V0")){let f=new WebSocketPair,[l,u]=Object.values(f);u.accept();let d=ir((g,y)=>u.close(g,y));return u.addEventListener("message",g=>{let y=typeof g.data=="string"?g.data:"";if(y==="PING"||y==="ping"){d.cancel(),u.send(JSON.stringify({pong:!0,colo:e.cf?.colo??"UNK",clientIp:e.headers.get("CF-Connecting-IP")??""}));try{u.close(1e3,"Probe complete")}catch{}return}d.cancel();try{u.close(1e3,"Probe aborted")}catch{}}),u.addEventListener("close",()=>d.cancel()),u.addEventListener("error",()=>d.cancel()),new Response(null,{status:101,[__sfx("d2ViU29ja2V0")]:l})}let o=Number.parseInt(t.searchParams.get("bytes")??"",10),r=Number.isFinite(o)&&o>0?Math.min(o,er):tr,s=Date.now();if(It(s)<=0){let f=Math.max(1e3,je+Lt-s);return new Response(JSON.stringify({ok:!1,error:"probe budget exhausted"}),{status:429,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store","Retry-After":String(Math.ceil(f/1e3))}})}let i=or,a=0,c=new ReadableStream({pull(f){let l=It(Date.now());if(a>=r||l<=0){f.close();return}let u=Math.min(i.byteLength,r-a,l);f.enqueue(i.subarray(0,u)),a+=u,rr(u)}});return new Response(c,{status:200,headers:{"Content-Type":"application/octet-stream","Content-Encoding":"identity","Cache-Control":"no-store","Access-Control-Allow-Origin":"*","X-Probe-Bytes":String(r),"X-Probe-Nonce":we(4)}})}ht();yt();ct();wt();j();Be();Re();Hn();Fn();j();function Et(e){let t=e===200?"Welcome":e===404?"Not Found":"Service Unavailable",n=`<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>${t}</title><style>body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f7f8fa;color:#333;font-family:-apple-system,"Segoe UI","PingFang SC",sans-serif}.c{text-align:center}h1{font-size:22px;font-weight:600;margin:0 0 10px}p{color:#888;font-size:14px;margin:0}</style></head><body><div class="c"><h1>${t}</h1><p>This site is up and running.</p></div></body></html>`;return new Response(n,{status:e,headers:{"Content-Type":"text/html; charset=utf-8","Cache-Control":"no-store","X-Content-Type-Options":"nosniff"}})}At();At();async function Yn(e){let t=Gn(e);return await jn(t,e)}function St(e){let t=[];return t.push(...ue(e[__sfx("cHJveHlJcA==")],"direct")),t.push(...ue(e[__sfx("c29ja3M1")],__sfx("c29ja3M1"))),t.push(...ue(e.httpProxy,"http")),t}var Pt=6e4,wo=10,de=0,He=0;function Xn(e){return e>=He?(de=0,He=e+Pt,!1):de>=wo}function Vn(e,t,n){if(!n)return!1;let o=(e.headers.get(__sfx("eC1jZnBpbG90LXRva2Vu"))??t.searchParams.get("token")??"").trim();if(!o)return!1;let r=Date.now();return se(o,n)?(de=0,!0):(r>=He&&(He=r+Pt,de=0),de+=1,!1)}async function Zn(e,t,n){let o=new URL(e.url);if(o.pathname===__sfx("L19fZWRnZV9wcm9iZQ=="))return ze(e);if(o.pathname===Ue||o.pathname===__sfx("L19fdmVyc2lvbg=="))return Oe();if(o.pathname==="/region"&&e.method==="GET"){let{coloToCountry:i,rankRegions:a}=await Promise.resolve().then(()=>(ce(),at)),c=e.cf?.colo??"",f=c?i(c):"";return new Response(JSON.stringify({ok:!0,colo:c,region:f,relayPreference:f?a(f):[],timestamp:new Date().toISOString()},null,2),{status:200,headers:{"Content-Type":"application/json; charset=utf-8"}})}let r=await Yn(t);if(o.pathname===__sfx("L19fZGlhZw==")){if(Xn(Date.now()))return new Response(JSON.stringify({ok:!1,error:"token attempts throttled"},null,2),{status:429,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store","Retry-After":String(Math.ceil(Pt/1e3))}});if(!Vn(e,o,r.uuid))return null;let{recentDiagnostics:i}=await Promise.resolve().then(()=>(ht(),Rn)),{[__sfx("cmVjZW50WGh0dHBEaWFnbm9zdGljcw==")]:a}=await Promise.resolve().then(()=>(yt(),Dn));return new Response(JSON.stringify({ok:!0,impl:"self",build:bt,recent:i(),[__sfx("eGh0dHA=")]:a()},null,2),{status:200,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store"}})}if(o.pathname==="/__unlock_probe"){if(!r.unlockProbe)return null;if(Xn(Date.now()))return new Response(JSON.stringify({ok:!1,error:"token attempts throttled"},null,2),{status:429,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store"}});if(!Vn(e,o,r.uuid))return null;let{coloToCountry:i}=await Promise.resolve().then(()=>(ce(),at)),{runUnlockProbe:a}=await Promise.resolve().then(()=>(Wn(),zn)),c=e.cf?.colo??"",f=c?i(c):"",l=await a(c,f);return new Response(JSON.stringify({ok:!0,...l},null,2),{status:200,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store"}})}let s=e.headers.get("Upgrade")?.toLowerCase();return o.pathname===r.wsPath?s!==__sfx("d2Vic29ja2V0")?null:await Le(e,__sfx("dmxlc3M="),r,St(r),n):r[__sfx("ZW5hYmxlVHJvamFu")]&&o.pathname===r[__sfx("dHJvamFuUGF0aA==")]?s!==__sfx("d2Vic29ja2V0")?null:await Le(e,__sfx("dHJvamFu"),r,St(r),n):r[__sfx("ZW5hYmxlWGh0dHA=")]&&o.pathname===r[__sfx("eGh0dHBQYXRo")]?e.method!=="POST"?null:await gt(e,r,St(r)):null}wt();var ea={async fetch(e,t,n){try{return new URL(e.url).pathname===Ue?Oe():await Zn(e,t,n)??Et(200)}catch{return Et(500)}}};export{ea as default};
1
+ const __sfx=(()=>{const __t=new TextDecoder(),__c=new Map();return b=>{let v=__c.get(b);if(v===void 0){const s=atob(b),u=new Uint8Array(s.length);for(let i=0;i<s.length;i++)u[i]=s.charCodeAt(i);v=__t.decode(u);__c.set(b,v)}return v}})();var $n=Object.defineProperty;var x=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(o){throw n=[o],o}};var ye=(e,t)=>{for(var n in t)$n(e,n,{get:t[n],enumerable:!0})};function we(e){let t=new Uint8Array(e);crypto.getRandomValues(t);let n="";for(let o of t)n+=be[o>>4]+be[o&15];return n}function Ge(){let e=new Uint8Array(16);crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=[];for(let n of e)t.push(be[n>>4]+be[n&15]);return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}function se(e,t){if(e.length!==t.length)return!1;let n=0;for(let o=0;o<e.length;o++)n|=e.charCodeAt(o)^t.charCodeAt(o);return n===0}var be,j=x(()=>{"use strict";be="0123456789abcdef"});function O(e){let t=lr.exec(e);if(!t)return!1;for(let n=1;n<=4;n++){let o=Number(t[n]);if(!Number.isInteger(o)||o<0||o>255)return!1}return!0}function V(e){return!e.includes(":")||!/^[0-9a-fA-F:.]+$/.test(e)?!1:ie(e)!==null}function ie(e){if(!e.includes(":"))return null;let t=e,n=t.lastIndexOf(":"),o=t.slice(n+1);if(o.includes(".")){if(!O(o))return null;let u=o.split(".").map(p=>Number(p));t=`${t.slice(0,n+1)}${(u[0]<<8|u[1]).toString(16)}:${(u[2]<<8|u[3]).toString(16)}`}let r=t.indexOf("::"),s,i;if(r>=0){if(t.indexOf("::",r+1)>=0)return null;let u=t.slice(0,r),p=t.slice(r+2);s=u?u.split(":"):[],i=p?p.split(":"):[]}else s=t.split(":"),i=[];let a=s.length+i.length;if(a>8)return null;let l=[],f=u=>/^[0-9a-fA-F]{1,4}$/.test(u)?parseInt(u,16):null;for(let u of s){let p=f(u);if(p===null)return null;l.push(p)}let c=8-a;for(let u=0;u<c;u++)l.push(0);for(let u of i){let p=f(u);if(p===null)return null;l.push(p)}return l.length===8?l:null}function cr(e){let t=e.map(l=>(l&65535).toString(16)),n=-1,o=0,r=-1,s=0;for(let l=0;l<t.length;l++)t[l]==="0"?(r<0&&(r=l),s++,s>o&&(o=s,n=r)):(r=-1,s=0);if(o<2)return t.join(":");let i=t.slice(0,n).join(":"),a=t.slice(n+o).join(":");return`${i}::${a}`}function ur(e,t,n,o){if(t<0||t>=e.length)return null;if(n===1)return t+5>e.length?null:{hostname:`${e[t+1]}.${e[t+2]}.${e[t+3]}.${e[t+4]}`,next:t+5};if(o?n===2:n===3){if(t+2>e.length)return null;let r=e[t+1];return t+2+r>e.length?null:{hostname:ar.decode(e.subarray(t+2,t+2+r)),next:t+2+r}}if(o?n===3:n===4){if(t+17>e.length)return null;let r=new DataView(e.buffer,e.byteOffset+t+1,16),s=[];for(let i=0;i<8;i++)s.push(r.getUint16(i*2,!1));return{hostname:cr(s),next:t+17}}return null}async function We(e,t){let n=await e.peekExactly(1);if(!n)return null;let o=n[0],r;if(o===1)r=5;else if(t?o===2:o===3){let a=await e.peekExactly(2);if(!a)return null;r=2+a[1]}else if(t?o===3:o===4)r=17;else return null;let s=await e.peekExactly(r);if(!s)return null;let i=ur(s,0,o,t);return i?(e.skip(r),{hostname:i.hostname,addressType:o,consumed:r}):null}var ar,lr,G=x(()=>{"use strict";ar=new TextDecoder,lr=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/});function Ot(e){let t=e.replace(/-/g,"").trim().toLowerCase();if(!/^[0-9a-f]{32}$/.test(t))return null;let n=new Uint8Array(16);for(let o=0;o<16;o++)n[o]=parseInt(t.slice(o*2,o*2+2),16);return n}async function Mt(e,t){let n=await e.readExactly(1);if(!n)return null;let o=await e.readExactly(16);if(!o)return null;let r=Ot(t);if(!r)return null;for(let p=0;p<16;p++)if(o[p]!==r[p])return null;let s=await e.readExactly(1);if(!s)return null;let i=s[0],a=i>0?await e.readExactly(i):new Uint8Array(0);if(!a)return null;let l=await e.readExactly(1);if(!l)return null;let f=await e.readExactly(2);if(!f)return null;let c=await We(e,!0);if(!c)return null;let u=f[0]<<8|f[1];return{header:{version:n[0],command:l[0],port:u,hostname:c.hostname,addressType:c.addressType,addons:a},payload:e.release()}}function Bt(e,t){if(e.byteLength<18)return null;let n=Ot(t);if(!n)return null;for(let f=0;f<16;f++)if(e[1+f]!==n[f])return null;let o=e[17],r=18+o;if(e.byteLength<r+4)return null;let s=e[r];r+=1;let i=e[r]<<8|e[r+1];r+=2;let a=e[r];r+=1;let l="";if(a===1){if(e.byteLength<r+4)return null;l=`${e[r]}.${e[r+1]}.${e[r+2]}.${e[r+3]}`,r+=4}else if(a===2){if(e.byteLength<r+1)return null;let f=e[r];if(r+=1,e.byteLength<r+f)return null;l=fr.decode(e.subarray(r,r+f)),r+=f}else if(a===3){if(e.byteLength<r+16)return null;let f=[];for(let c=0;c<8;c++)f.push((e[r+c*2]<<8|e[r+c*2+1]).toString(16));l=f.join(":"),r+=16}else return null;return{header:{version:e[0],command:s,port:i,hostname:l,addressType:a,addons:e.subarray(18,18+o)},consumed:r}}var kt,Ut,fr,Xe=x(()=>{"use strict";G();kt=1,Ut=2,fr=new TextDecoder});function F(e,t){return e>>>t|e<<32-t}function pr(e){let t=new Uint32Array([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]),n=e.length*8,o=Math.ceil((e.length+9)/64)*64,r=new Uint8Array(o);r.set(e),r[e.length]=128;let s=new DataView(r.buffer);s.setUint32(o-8,Math.floor(n/4294967296),!1),s.setUint32(o-4,n>>>0,!1);let i=new Uint32Array(64);for(let l=0;l<o;l+=64){for(let d=0;d<16;d++)i[d]=s.getUint32(l+d*4,!1);for(let d=16;d<64;d++){let w=F(i[d-15],7)^F(i[d-15],18)^i[d-15]>>>3,A=F(i[d-2],17)^F(i[d-2],19)^i[d-2]>>>10;i[d]=i[d-16]+w+i[d-7]+A>>>0}let f=t[0],c=t[1],u=t[2],p=t[3],g=t[4],y=t[5],T=t[6],C=t[7];for(let d=0;d<64;d++){let w=F(g,6)^F(g,11)^F(g,25),A=g&y^~g&T,U=C+w+A+dr[d]+i[d]>>>0,R=F(f,2)^F(f,13)^F(f,22),W=f&c^f&u^c&u,N=R+W>>>0;C=T,T=y,y=g,g=p+U>>>0,p=u,u=c,c=f,f=U+N>>>0}t[0]=t[0]+f>>>0,t[1]=t[1]+c>>>0,t[2]=t[2]+u>>>0,t[3]=t[3]+p>>>0,t[4]=t[4]+g>>>0,t[5]=t[5]+y>>>0,t[6]=t[6]+T>>>0,t[7]=t[7]+C>>>0}let a=new Uint8Array(28);for(let l=0;l<7;l++)a[l*4]=t[l]>>>24&255,a[l*4+1]=t[l]>>>16&255,a[l*4+2]=t[l]>>>8&255,a[l*4+3]=t[l]&255;return a}function Ft(e){let t=pr(e),n="";for(let o of t)n+=Ht[o>>4]+Ht[o&15];return n}var dr,Ht,Kt=x(()=>{"use strict";dr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ht="0123456789abcdef"});function hr(e){return Ft(mr.encode(e))}function Yt(e,t){if(e.byteLength<58||!t)return null;let n=hr(t);if(Gt.decode(e.subarray(0,56)).trim().toLowerCase()!==n||e[56]!==13||e[57]!==10)return null;let r=58;if(e.byteLength<r+2)return null;let s=e[r];r+=1;let i=e[r];r+=1;let a="";if(i===1){if(e.byteLength<r+4)return null;a=`${e[r]}.${e[r+1]}.${e[r+2]}.${e[r+3]}`,r+=4}else if(i===3){if(e.byteLength<r+1)return null;let f=e[r];if(r+=1,e.byteLength<r+f)return null;a=Gt.decode(e.subarray(r,r+f)),r+=f}else if(i===4){if(e.byteLength<r+16)return null;let f=[];for(let c=0;c<8;c++)f.push((e[r+c*2]<<8|e[r+c*2+1]).toString(16));a=f.join(":"),r+=16}else return null;if(e.byteLength<r+4)return null;let l=e[r]<<8|e[r+1];return r+=2,e[r]!==13||e[r+1]!==10?null:(r+=2,{header:{command:s,port:l,hostname:a,addressType:i},consumed:r})}var jt,mr,Gt,zt=x(()=>{"use strict";G();Kt();jt=3,mr=new TextEncoder,Gt=new TextDecoder});function gr(e,t){if(e.byteLength===0)return t;if(t.byteLength===0)return e;let n=new Uint8Array(e.byteLength+t.byteLength);return n.set(e,0),n.set(t,e.byteLength),n}function Ve(e){if(e.byteLength<12)return new Uint8Array(0);let t=e.slice();return t[2]=128|e[2]&1,t[3]=130,t}var xe,Wt=x(()=>{"use strict";xe=class{constructor(t){this.options=t}options;pending=new Uint8Array(0);queue=Promise.resolve();dropped=0;push(t){if(t.byteLength!==0){if(this.pending=gr(this.pending,t),this.pending.byteLength>262144){this.pending=new Uint8Array(0);return}this.drain()}}get droppedCount(){return this.dropped}drain(){for(;this.pending.byteLength>=2;){let t=this.pending[0]<<8|this.pending[1];if(t===0||t>65535){this.dropped+=1,this.pending=this.pending.subarray(2);continue}if(this.pending.byteLength<2+t)return;let n=this.pending.slice(2,2+t);this.pending=this.pending.subarray(2+t),this.queue=this.queue.then(()=>this.resolve(n)).catch(()=>{})}}async resolve(t){let n=new AbortController,o=setTimeout(()=>n.abort(),this.options.timeoutMs??5e3);try{let r=await fetch(this.options.endpoint,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:t.slice().buffer,signal:n.signal});if(!r.ok){this.reply(Ve(t));return}let s=new Uint8Array(await r.arrayBuffer());if(s.byteLength===0){this.reply(Ve(t));return}this.reply(s)}catch{this.reply(Ve(t))}finally{clearTimeout(o)}}reply(t){if(t.byteLength===0||t.byteLength>65535)return;let n=new Uint8Array(2+t.byteLength);n[0]=t.byteLength>>8&255,n[1]=t.byteLength&255,n.set(t,2),this.options.send(n)}}});function Ze(e,t){if(e.byteLength===0)return t;if(t.byteLength===0)return e;let n=new Uint8Array(new ArrayBuffer(e.byteLength+t.byteLength));return n.set(e,0),n.set(t,e.byteLength),n}async function Xt(e,t=yr){let n=e.bufferedAmount;typeof n=="number"&&(n<=t||await new Promise(o=>{setTimeout(o,0)}))}var Y,yr,ae=x(()=>{"use strict";Y=class{reader;chunks=[];size=0;done=!1;constructor(t){this.reader=t.getReader()}async cancel(t){if(!this.done){this.done=!0,this.chunks=[],this.size=0;try{await this.reader.cancel(t)}catch{}}}async fill(){for(;;){if(this.done)return null;let{done:t,value:n}=await this.reader.read();if(t)return this.done=!0,null;if(n&&n.byteLength>0)return this.chunks.push(n),this.size+=n.byteLength,n.byteLength}}async readExactly(t){if(t===0)return new Uint8Array(0);for(;this.size<t;){if(this.done)return null;let{done:n,value:o}=await this.reader.read();if(n)return this.done=!0,this.size>=t?this.take(t):null;o&&o.byteLength>0&&(this.chunks.push(o),this.size+=o.byteLength)}return this.take(t)}take(t){let n=new Uint8Array(t),o=0;for(;o<t;){let r=this.chunks[0],s=t-o;r.byteLength<=s?(n.set(r,o),o+=r.byteLength,this.chunks.shift()):(n.set(r.subarray(0,s),o),this.chunks[0]=r.subarray(s),o+=s)}return this.size-=t,n}async peekExactly(t){if(t===0)return new Uint8Array(0);for(;this.size<t;){if(this.done)return null;let{done:n,value:o}=await this.reader.read();if(n)return this.done=!0,this.size>=t?this.slice(t):null;o&&o.byteLength>0&&(this.chunks.push(o),this.size+=o.byteLength)}return this.slice(t)}skip(t){return this.size<t?null:this.take(t)}slice(t){let n=new Uint8Array(t),o=0;for(let r of this.chunks){if(o>=t)break;let s=Math.min(r.byteLength,t-o);n.set(r.subarray(0,s),o),o+=s}return n}peek(){if(this.chunks.length===0)return new Uint8Array(0);let t=this.chunks.reduce((r,s)=>r+s.byteLength,0),n=new Uint8Array(t),o=0;for(let r of this.chunks)n.set(r,o),o+=r.byteLength;return n}release(){let t=this.peek();this.chunks=[],this.size=0;let n=this.reader,o=this,r=!1;return new ReadableStream({async pull(s){if(!r&&(r=!0,t.byteLength>0)){s.enqueue(t);return}if(o.done){s.close();return}try{let{done:i,value:a}=await n.read();i?(o.done=!0,s.close()):a&&a.byteLength>0&&s.enqueue(a)}catch(i){s.error(i)}},cancel(s){n.cancel(s)}})}},yr=4*1024*1024});var Ee,Vt=x(()=>{"use strict";Ee=class{tail=Promise.resolve();run(t){let n=this.tail.then(t);return this.tail=n.catch(()=>{}),n}write(t,n){return this.run(async()=>{let o=t();o&&await o.write(n)})}}});async function z(e,t,n,o){let r=Date.now()+n,s=null;try{let i=await Promise.race([e.readExactly(t),new Promise(a=>{s=setTimeout(()=>a(null),Math.max(1,r-Date.now()))})]);if(i===null)throw new Error(""+o+__sfx("6LaF5pe277yI")+n+__sfx("bXMg5peg5ZON5bqU77yJ"));return i}finally{s&&clearTimeout(s)}}async function Zt(e,t,n,o,r={}){let s=new Y(e),i=t.getWriter(),a=r.handshakeTimeoutMs??br,l=async f=>{await i.write(f)};try{let f=[0];r.username&&f.push(2);let c=new Uint8Array(2+f.length);c[0]=5,c[1]=f.length,c.set(f,2),await l(c);let u=await z(s,2,a,__sfx("U09DS1M1IOaPoeaJiw=="));if(!u||u[0]!==5)throw new Error(__sfx("U09DS1M1IOaPoeaJi+Wksei0pe+8mumdnuazleWTjeW6lA=="));let p=u[1];if(p===2){let d=new TextEncoder().encode(r.username??""),w=new TextEncoder().encode(r.password??""),A=new Uint8Array(3+d.length+w.length);A[0]=1,A[1]=d.length,A.set(d,2),A[2+d.length]=w.length,A.set(w,3+d.length),await l(A);let U=await z(s,2,a,__sfx("U09DS1M1IOiupOivgQ=="));if(!U||U[1]!==0)throw new Error(__sfx("U09DS1M1IOeUqOaIt+WQjS/lr4bnoIHorqTor4HlpLHotKU="))}else if(p!==0)throw new Error(__sfx("U09DS1M1IOS4jeaUr+aMgeeahOiupOivgeaWueW8j++8mjB4")+p.toString(16)+"");let g=wr(n,o),y=new Uint8Array(3+g.length);y[0]=5,y[1]=1,y[2]=0,y.set(g,3),await l(y);let T=await z(s,4,a,__sfx("U09DS1M1IENPTk5FQ1Q="));if(!T||T[0]!==5)throw new Error(__sfx("U09DS1M1IENPTk5FQ1Qg5ZON5bqU6Z2e5rOV"));if(T[1]!==0)throw new Error(__sfx("U09DS1M1IENPTk5FQ1Qg5aSx6LSl77yaMHg=")+T[1].toString(16)+"");let C=T[3];if(C===1)await z(s,4,a,__sfx("U09DS1M1IOWTjeW6lA=="));else if(C===3){let d=await z(s,1,a,__sfx("U09DS1M1IOWTjeW6lA=="));if(!d)throw new Error(__sfx("U09DS1M1IOWTjeW6lOaIquaWrQ=="));await z(s,d[0],a,__sfx("U09DS1M1IOWTjeW6lA=="))}else if(C===4)await z(s,16,a,__sfx("U09DS1M1IOWTjeW6lA=="));else throw new Error(__sfx("U09DS1M1IOWTjeW6lOWcsOWdgOexu+Wei+mdnuazlQ=="));return await z(s,2,a,__sfx("U09DS1M1IOWTjeW6lA==")),s.release()}finally{try{i.releaseLock()}catch{}}}function wr(e,t){let n=e.replace(/^\[|\]$/g,"");if(O(n)){let s=n.split(".").map(a=>Number(a)),i=new Uint8Array(7);return i[0]=1,i.set(s,1),i[5]=t>>8&255,i[6]=t&255,i}if(V(n)){let s=ie(n),i=new Uint8Array(19);if(i[0]=4,s)for(let a=0;a<8;a++){let l=s[a]??0;i[1+a*2]=l>>8&255,i[2+a*2]=l&255}return i[17]=t>>8&255,i[18]=t&255,i}let o=new TextEncoder().encode(n),r=new Uint8Array(2+o.length+2);return r[0]=3,r[1]=o.length,r.set(o,2),r[r.length-2]=t>>8&255,r[r.length-1]=t&255,r}var br,Qt=x(()=>{"use strict";ae();G();br=6e3});function Er(e){let t=e.byteLength;for(let n=0;n+3<t;n++)if(xr.every((o,r)=>e[n+r]===o))return n;return-1}async function qt(e,t,n,o,r={}){let s=new Y(e),i=t.getWriter(),a=n.includes(":")?`[${n}]:${o}`:`${n}:${o}`;try{let l=r.username&&r.password?__sfx("UHJveHktQXV0aG9yaXphdGlvbjogQmFzaWMg")+btoa(`${r.username}:${r.password}`)+"\r\n":"",f=[__sfx("Q09OTkVDVCA=")+a+" HTTP/1.1",`Host: ${a}`,__sfx("UHJveHktQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ=="),__sfx("VXNlci1BZ2VudDogQ0ZQaWxvdC8xLjA="),l,"",""].join(`\r
2
+ `);await i.write(new TextEncoder().encode(f));let c=Date.now()+Qe,u="";for(;;){let T=s.peek(),C=Er(T);if(C>=0){u=new TextDecoder().decode(T.subarray(0,C)),s.skip(C+4);break}if(T.byteLength>8192)throw new Error(__sfx("SFRUUCDku6PnkIblk43lupTlpLTotoXov4cgODE5MiDlrZfoioI="));let d=c-Date.now();if(d<=0)throw new Error(__sfx("SFRUUCDku6PnkIbmj6HmiYvotoXml7bvvIg=")+Qe+__sfx("bXMg5peg5ZON5bqU77yJ"));let w=null,A;try{A=await Promise.race([s.fill(),new Promise(U=>{w=setTimeout(()=>U("timeout"),d)})])}finally{w&&clearTimeout(w)}if(A==="timeout")throw new Error(__sfx("SFRUUCDku6PnkIbmj6HmiYvotoXml7bvvIg=")+Qe+__sfx("bXMg5peg5ZON5bqU77yJ"));if(A===null)throw new Error(__sfx("SFRUUCDku6PnkIblk43lupTkuI3lrozmlbTvvIjov57mjqXooqvmj5DliY3lhbPpl63vvIk="))}let g=u.split(`\r
3
+ `)[0]??"",y=/^HTTP\/1\.[01]\s+(\d{3})/.exec(g);if(!y)throw new Error(__sfx("SFRUUCDku6PnkIblk43lupTpnZ7ms5U="));if(y[1]!=="200")throw new Error(__sfx("SFRUUCDku6PnkIYgQ09OTkVDVCDlpLHotKXvvJo=")+y[1]+"");return s.release()}finally{try{i.releaseLock()}catch{}}}var xr,Qe,Jt=x(()=>{"use strict";ae();xr=[13,10,13,10];Qe=6e3});function Je(e){if(e instanceof Z||(e instanceof Error?e.message:String(e)).includes($t))return!0;let n=e instanceof Error?e.cause:void 0;return n!==void 0&&n!==e&&Je(n)}function _t(e){let t=e.split(".");if(t.length!==4)return null;let n=0;for(let o of t){if(!/^\d{1,3}$/.test(o))return null;let r=Number(o);if(r>255)return null;n=n*256+r}return n>>>0}function Ae(e){let t=_t(e);if(t===null)return null;for(let[n,o,r,s]of Ar){let i=_t(n);if(i===null)continue;let a=o===0?0:4294967295<<32-o>>>0;if((t&a)===(i&a))return{kind:r,reason:s}}return null}function qe(e){let t=e[6]??0,n=e[7]??0;return`${t>>>8}.${t&255}.${n>>>8}.${n&255}`}function Sr(e){let t=(e.split("%")[0]??"").toLowerCase();if(!t.includes(":"))return null;let n=ie(t);if(!n)return null;let o=n[0]===0&&n[1]===0&&n[2]===0&&n[3]===0&&n[4]===0;if(o&&n[5]===65535)return Ae(qe(n))??null;if(o&&n[5]===0&&n[6]===0&&(n[7]===0||n[7]===1))return n[7]===1?{kind:"loopback",reason:__sfx("546v5Zue5Zyw5Z2A")}:{kind:"unspecified",reason:__sfx("5pyq5oyH5a6a5Zyw5Z2A")};if(o&&n[5]===0)return Ae(qe(n))??null;if(n[0]===100&&n[1]===65435&&n[2]===0&&n[3]===0&&n[4]===0&&n[5]===0){let s=Ae(qe(n));if(s)return s}let r=n[0]??0;return(r&65024)===64512?{kind:"ula",reason:__sfx("SVB2NiDllK/kuIDmnKzlnLDlnLDlnYA=")}:(r&65472)===65152?{kind:"link-local",reason:__sfx("SVB2NiDpk77ot6/mnKzlnLDlnLDlnYA=")}:(r&65280)===65280?{kind:"multicast",reason:__sfx("SVB2NiDnu4Tmkq3lnLDlnYA=")}:null}function _e(e){let t=e.trim().toLowerCase().replace(/^\[|\]$/g,"");if(t==="")return null;if(t.includes(":"))return Sr(t);if(/^\d{1,3}(?:\.\d{1,3}){3}$/.test(t))return Ae(t);if(t==="localhost"||t.endsWith(".localhost"))return{kind:"loopback",reason:__sfx("546v5Zue5Li75py65ZCN")};for(let n of Pr)if(t.endsWith(n))return{kind:"internal-name",reason:__sfx("5YaF572R5Z+f5ZCN5ZCO57yA")};return null}var $t,en,Z,Ar,Pr,$e=x(()=>{"use strict";G();$t=__sfx("55uu5qCH5Zyw5Z2A6KKr562W55Wl5oum5oiq"),en={kind:"ipv6-direct-unsupported",reason:__sfx("55u06L+e5LiO5Y+N5Luj6YCa6YGT5LiN5pSv5oyBIElQdjYg55uu5qCH77yM5Y+v5pS555So6JC95Zyw5Luj55CG6L2s5Y+R")},Z=class extends Error{kind;constructor(t,n){super(`${$t}\uFF1A${t}\uFF08${n.reason}\uFF09`),this.name="TargetBlockedError",this.kind=n.kind}};Ar=[[__sfx("MC4wLjAuMA=="),8,"unspecified",__sfx("5pyq5oyH5a6a5Zyw5Z2A")],[__sfx("MTAuMC4wLjA="),8,"private",__sfx("56eB5pyJ572R5q61")],[__sfx("MTAwLjY0LjAuMA=="),10,"cgnat",__sfx("6L+Q6JCl5ZWG57qnIE5BVCDnvZHmrrU=")],[__sfx("MTI3LjAuMC4w"),8,"loopback",__sfx("546v5Zue5Zyw5Z2A")],[__sfx("MTY5LjI1NC4wLjA="),16,"link-local",__sfx("6ZO+6Lev5pys5ZywIC8g5LqR5YWD5pWw5o2u5Zyw5Z2A")],[__sfx("MTcyLjE2LjAuMA=="),12,"private",__sfx("56eB5pyJ572R5q61")],[__sfx("MTkyLjE2OC4wLjA="),16,"private",__sfx("56eB5pyJ572R5q61")],[__sfx("MjI0LjAuMC4w"),4,"multicast",__sfx("57uE5pKt5Zyw5Z2A")],[__sfx("MjQwLjAuMC4w"),4,"reserved",__sfx("5L+d55WZ5Zyw5Z2A")]];Pr=[".local",".internal"]});function vr(e){return/^\d{1,3}(\.\d{1,3}){3}$/.test(e)?!0:e.includes(":")&&/^[0-9a-fA-F:.]+$/.test(e)}function et(e,t){let n=e.trim(),o=/^\[([^\]]+)\](?::(\d+))?$/.exec(n);if(o)return{host:o[1],port:Number(o[2]??t)};if(n.includes(":")&&n.split(":").length>2)return{host:n,port:t};let r=n.lastIndexOf(":");if(r<0)return{host:n,port:t};let s=n.slice(0,r),i=Number(n.slice(r+1));return s?{host:s,port:Number.isInteger(i)&&i>0?i:t}:{host:n,port:t}}async function Rr(e,t,n,o=on){try{let r=`${e}?name=${encodeURIComponent(t)}&type=${n}`,s=await fetch(r,{headers:{accept:"application/dns-json"},signal:AbortSignal.timeout(o)});if(!s.ok)return[];let i=await s.json();if(!i||i.Status!==0||!Array.isArray(i.Answer))return[];let a=n==="TXT"?16:n==="A"?1:28;return i.Answer.filter(l=>l.type===a).map(l=>String(l.data))}catch{return[]}}async function nn(e,t,n={}){for(let o of Tr){if(n.deadline!==void 0&&Date.now()>=n.deadline)break;let r=n.timeoutMs??on,s=n.deadline!==void 0?n.deadline-Date.now():Number[__sfx("UE9TSVRJVkVfSU5GSU5JVFk=")],i=Math.max(50,Math.min(r,s)),a=await Rr(o,e,t,i);if(a.length>0)return a}return[]}function Dr(e,t){let n=[],o=String(e).replace(/^"|"$/g,"").replace(/\\010/g,",").replace(/\\n/g,",").trim();if(!o||o===rn)return n;let r=o.split(/[,;\s]+/).filter(Boolean);if(r.length===0)return n;for(let s of r){let i=s.trim();if(!i)continue;let{host:a,port:l}=et(i,t);if(!O(a)&&!V(a))return[];n.push({hostname:a,port:l})}return n}async function Se(e,t,n={}){let o=e.trim();if(!o)return[];if(vr(o))return[{hostname:o,port:t}];let r=`${o}:${t}`,s=tn.get(r);if(s&&Date.now()-s.at<Cr)return s.ips;let i=[],[a,l]=await Promise.all([n.skipTxt?Promise.resolve([]):nn(o,"TXT",n),nn(o,"A",n)]);if(!n.skipTxt)for(let u of a){let p=Dr(u,t);if(p.length>0){i.push(...p);break}if(String(u).replace(/^"|"$/g,"").replace(/\\010/g,",").trim()===rn)break}if(i.length===0)for(let u of l)O(u)&&i.push({hostname:u,port:t});let f=[],c=new Set;for(let u of i){let p=`${u.hostname}:${u.port}`;c.has(p)||(c.add(p),f.push(u))}return f.length>0&&tn.set(r,{at:Date.now(),ips:f}),f}var rn,Tr,on,Cr,tn,Pe=x(()=>{"use strict";G();rn=__sfx("QGVkZ2V0dW5uZWw="),Tr=["https://cloudflare-dns.com/dns-query","https://dns.alidns.com/resolve","https://doh.pub/dns-query"],on=4e3,Cr=300*1e3,tn=new Map});var at={};ye(at,{[__sfx("QlVJTFRJTl9SRUxBWV9ET01BSU5T")]:()=>cn,[__sfx("QlVJTFRJTl9SRUxBWV9SRUdJT04=")]:()=>Ce,[__sfx("Q09MT19UT19DT1VOVFJZ")]:()=>un,[__sfx("UkVHSU9OX0FESkFDRU5DWQ==")]:()=>an,[__sfx("UkVHSU9OX09SREVS")]:()=>nt,[__sfx("UkVMQVlfQkFUQ0hfU0laRQ==")]:()=>J,[__sfx("UkVMQVlfRE9NQUlOX0xJTUlU")]:()=>it,[__sfx("VU5LTk9XTl9SRUdJT04=")]:()=>sn,clearRelayCache:()=>kr,collectRelayEndpoints:()=>le,coloToCountry:()=>Te,rankRegions:()=>st,regionOfEntry:()=>tt,resolveRelayEntry:()=>ot,selectRelayDomains:()=>dn,sortEndpointsByRegion:()=>ln});function tt(e,t=Ce){let o=e.trim().toLowerCase().replace(/:\d{1,5}$/,"");return t[o]??sn}function st(e){let t=(e??"").trim().toUpperCase();if(!t)return[...nt];let n=an[t]??[],o=nt.filter(r=>r!==t&&!n.includes(r));return[t,...n,...o]}function ln(e,t){let n=st(t),o=r=>{let s=n.indexOf(r);return s>=0?s:n.length};return e.map((r,s)=>({e:r,i:s})).sort((r,s)=>{let i=o(r.e.regionCode),a=o(s.e.regionCode);return i!==a?i-a:r.i-s.i}).map(r=>r.e)}function Te(e){let t=String(e??"").toUpperCase();return t?un[t]??(/^[A-Z]{2}$/.test(t)?t:"US"):"US"}async function ot(e,t=443,n=fn,o={}){let r=e.trim();if(!r)return[];let s=`${r}:${t}:${n}`,i=rt.get(s);if(i&&Date.now()-i.at<Nr)return i.ips;let a=r,l=t,f=(r.match(/:/g)??[]).length;if(f===1){let u=/^(.*):(\d{1,5})$/.exec(r);u&&(a=u[1],l=Number(u[2]))}else if(f>1&&r.startsWith("[")){let u=/^\[([^\]]+)\]:(\d{1,5})$/.exec(r);u&&(a=u[1],l=Number(u[2]))}let c=[];if(O(a)||V(a))c=[{ip:a,port:Number.isInteger(l)&&l>0?l:t,label:r,regionCode:tt(r)}];else try{c=(await Se(a,l,{skipTxt:o.skipTxt,deadline:o.deadline,timeoutMs:o.timeoutMs})).slice(0,n).map(p=>({ip:p.hostname,port:p.port,label:`${a} \u2192 ${p.hostname}`,regionCode:tt(r)}))}catch{c=[]}return c.length>0&&rt.set(s,{at:Date.now(),ips:c}),c}function dn(e,t=it,n=cn,o=Ce){let r=Te(e),s=st(r),i=a=>{let l=o[a];if(!l)return s.length+1;let f=s.indexOf(l);return f>=0?f:s.length};return n.map((a,l)=>({d:a,i:l,rank:i(a)})).sort((a,l)=>a.rank!==l.rank?a.rank-l.rank:a.i-l.i).map(a=>a.d).slice(0,Math.max(0,t))}async function le(e={}){let t=e.perDomain??fn,n=[],o=new Set,r=d=>{for(let w of d){let A=`${w.ip}:${w.port}`;o.has(A)||(o.add(A),n.push(w))}},s=(e.userEntries??"").trim(),i=s?s.split(/[\n,;]+/).map(d=>d.trim()).filter(Boolean):[],a=e.domainLimit??it,l=e.useBuiltin!==!1?dn(e.colo,a):[],f=d=>e.perDomain!==void 0?t:Ce[d]===Te(e.colo)?Ir:Lr,c=await Promise.all([...i.map(d=>ot(d,443,t,{deadline:e.deadline,timeoutMs:e.timeoutMs})),...l.map(d=>ot(d,443,f(d),{skipTxt:!0,deadline:e.deadline,timeoutMs:e.timeoutMs}))]),u=n.length;for(let d=0;d<i.length;d++)r(c[d]);let p=n.length-u,g=c.slice(i.length),y=g.reduce((d,w)=>Math.max(d,w.length),0);for(let d=0;d<y;d++)for(let w of g)d<w.length&&r([w[d]]);let T=n.slice(0,p),C=ln(n.slice(p),Te(e.colo));return[...T,...C]}function kr(){rt.clear()}var sn,an,nt,Ce,cn,un,fn,J,it,Ir,Lr,Nr,rt,ce=x(()=>{"use strict";G();Pe();sn="??";an={[__sfx("VVM=")]:["SG","JP","KR"],[__sfx("U0c=")]:["JP","KR","US"],[__sfx("SlA=")]:["SG","KR","US"],[__sfx("S1I=")]:["JP","SG","US"],[__sfx("REU=")]:["NL","GB","SE","FI"],[__sfx("U0U=")]:["DE","NL","FI","GB"],[__sfx("Tkw=")]:["DE","GB","SE","FI"],[__sfx("Rkk=")]:["SE","DE","NL","GB"],[__sfx("R0I=")]:["DE","NL","SE","FI"]},nt=["US","SG","JP","KR","DE","SE","NL","FI","GB"];Ce={},cn=[__sfx("MTkyLjE4LjEzNi4yNTU="),__sfx("MTI4LjEyMS4zMS4yNTI="),__sfx("MTI5LjE1OS4zNy4xMzY="),__sfx("MjMuMTQ0LjEyLjYz"),__sfx("MjE2LjM2Ljg2LjYy"),__sfx("NDUuMTMzLjExNy4xODU="),__sfx("MzguODQuMjAxLjIyOA=="),__sfx("MTA5LjEyMC4xNDIuMjE5"),__sfx("NDUuMTQwLjE2Ny40Mw=="),__sfx("NS4yNTMuMTg4LjEzOQ=="),__sfx("MjE2LjM2LjgyLjMx"),__sfx("MTY3LjI1My45Ni45MA=="),__sfx("MTk0Ljg3LjYyLjEzOQ=="),__sfx("MjMuMTQ0LjIwLjE4NA=="),__sfx("MTI4LjEyMS4zMS41OA=="),__sfx("MTA0LjIzOC4xNTQuNzc="),__sfx("MzguMjQ0LjE1MC4xMTM="),__sfx("MTU1LjI0OC4xODEuMTg5"),__sfx("MjE2LjM2LjgyLjE0MQ=="),__sfx("NjQuMTgxLjI1NS4yMTU="),__sfx("MzEuMjUuMjM5LjY2"),__sfx("NDUuNzYuMjQ2LjE5Mg=="),__sfx("MjMuOTUuMTEzLjYx"),__sfx("MTUxLjI0NC4yMDEuMjA3")],un={[__sfx("SEtH")]:"HK",[__sfx("U1lE")]:"AU",[__sfx("TUVM")]:"AU",[__sfx("Qk5F")]:"AU",[__sfx("UEVS")]:"AU",[__sfx("QURM")]:"AU",[__sfx("Q0JS")]:"AU",[__sfx("U0lO")]:"SG",[__sfx("TlJU")]:"JP",[__sfx("SE5E")]:"JP",[__sfx("S0lY")]:"JP",[__sfx("VFlP")]:"JP",[__sfx("T1NB")]:"JP",[__sfx("TkdP")]:"JP",[__sfx("Q1RT")]:"JP",[__sfx("RlVL")]:"JP",[__sfx("T0tB")]:"JP",[__sfx("SUNO")]:"KR",[__sfx("U0VM")]:"KR",[__sfx("UFVT")]:"KR",[__sfx("RlJB")]:"DE",[__sfx("TVVD")]:"DE",[__sfx("RFVT")]:"DE",[__sfx("QkVS")]:"DE",[__sfx("SEFN")]:"DE",[__sfx("U1RS")]:"DE",[__sfx("VklF")]:"DE",[__sfx("WlJI")]:"DE",[__sfx("Q0RH")]:"FR",[__sfx("TUFE")]:"ES",[__sfx("TVhQ")]:"IT",[__sfx("RkNP")]:"IT",[__sfx("UFJH")]:"CZ",[__sfx("V0FX")]:"PL",[__sfx("QVJO")]:"SE",[__sfx("QU1T")]:"NL",[__sfx("SEVM")]:"FI",[__sfx("TEhS")]:"GB",[__sfx("TEdX")]:"GB",[__sfx("TUFO")]:"GB",[__sfx("RURJ")]:"GB",[__sfx("TEFY")]:"US",[__sfx("U0pD")]:"US",[__sfx("U0ZP")]:"US",[__sfx("U0VB")]:"US",[__sfx("UERY")]:"US",[__sfx("U0FO")]:"US",[__sfx("TEFT")]:"US",[__sfx("UEhY")]:"US",[__sfx("U0xD")]:"US",[__sfx("REVO")]:"US",[__sfx("REZX")]:"US",[__sfx("SUFI")]:"US",[__sfx("QVVT")]:"US",[__sfx("T1JE")]:"US",[__sfx("TVNQ")]:"US",[__sfx("RFRX")]:"US",[__sfx("U1RM")]:"US",[__sfx("TUNJ")]:"US",[__sfx("QVRM")]:"US",[__sfx("TUlB")]:"US",[__sfx("TUNP")]:"US",[__sfx("Qk5B")]:"US",[__sfx("Q0xU")]:"US",[__sfx("SUFE")]:"US",[__sfx("Qk9T")]:"US",[__sfx("RVdS")]:"US",[__sfx("SkZL")]:"US",[__sfx("UEhM")]:"US",[__sfx("WVla")]:"CA",[__sfx("WVZS")]:"CA",[__sfx("WVVM")]:"CA",[__sfx("TUVY")]:"MX",[__sfx("R1JV")]:"BR",[__sfx("VFBF")]:"TW",[__sfx("S0hI")]:"TW",[__sfx("VFNB")]:"TW",[__sfx("Uk1R")]:"TW"};fn=4,J=6,it=6,Ir=2,Lr=1,Nr=30*1e3,rt=new Map});function pn(e){let t=e.split(".");if(t.length!==4)return null;let n=0;for(let o of t){if(!/^\d{1,3}$/.test(o))return null;let r=Number(o);if(r>255)return null;n=n*256+r}return n>>>0}function _(e){let t=pn(e);if(t===null)return!1;for(let[n,o]of Ur){let r=pn(n);if(r===null)continue;let s=o===0?0:4294967295<<32-o>>>0;if((t&s)===(r&s))return!0}return!1}function mn(e){let t=[],n=new Set,o=c=>{let u=`${c.source}|${c.host}|${c.port}`;n.has(u)||(n.add(u),t.push(c))};for(let c of e.proxies??[])c.kind==="direct"?o({source:"proxy",host:c.host,port:c.port,label:__sfx("UHJveHlJUCA=")+c.host+":"+c.port+"",via:{kind:"direct",host:c.host,port:c.port}}):o({source:"proxy",host:c.host,port:c.port,label:`${c.kind.toUpperCase()} ${c.host}:${c.port}`,via:{kind:c.kind,host:c.host,port:c.port,username:c.username,password:c.password,serverName:c.serverName}});let s=_(e.targetHost)||e.deprioritizeDirect===!0;o({source:"direct",host:e.targetHost,port:e.targetPort,label:__sfx("55u06L+eIA==")+e.targetHost+":"+e.targetPort+"",deprioritized:s});let i=e.optimizedIps??[],a=i.filter(c=>!_(c.ip)),l=i.filter(c=>_(c.ip));for(let c of a)o({source:"optimized",host:c.ip,port:c.port,label:__sfx("5LyY6YCJIA==")+c.ip+":"+c.port+""});for(let c of l)o({source:"optimized",host:c.ip,port:c.port,label:__sfx("5LyY6YCJIA==")+c.ip+":"+c.port+__sfx("77yIQ2xvdWRmbGFyZSDnvZHmrrXvvIzlj6/og73kuI3lj6/ovr7vvIk="),deprioritized:!0});let f=e.relay??[];for(let c of f)o({source:"relay",host:c.ip,port:c.port,label:__sfx("5Y+N5LujIA==")+c.label+"",deprioritized:!e.relayAsPrimary});return t.map((c,u)=>({candidate:c,index:u})).sort((c,u)=>{let p=+!!c.candidate.deprioritized-+!!u.candidate.deprioritized;return p!==0?p:c.index-u.index}).map(c=>c.candidate)}function hn(e){let t=e.filter(o=>!o.deprioritized),n=t.filter(o=>o.source==="proxy");return{landing:n.filter(o=>o.via?.kind!=="direct"),[__sfx("cHJveHlJcA==")]:n.filter(o=>o.via?.kind==="direct"),direct:t.filter(o=>o.source!=="proxy"),fallback:e.filter(o=>o.deprioritized)}}function gn(e,t){let n=e instanceof Error?e.message:String(e);return Je(e)?{kind:"policy",message:n,candidate:t}:/proxy request failed|cannot connect to the specified address|TCP Loop/i.test(n)?{kind:"blocked",message:n,candidate:t}:/timeout|超时|timed out|abort/i.test(n)?{kind:"timeout",message:n,candidate:t}:{kind:"other",message:n,candidate:t}}function yn(e){switch(e.kind){case"blocked":return __sfx("5Ye656uZ6KKrIENsb3VkZmxhcmUg5ouS57ud77yI")+e.candidate+"):"+e.message+__sfx("CiAg5bi46KeB5Y6f5Zug77ya55uu5qCH5Zyw5Z2A5ZyoIENsb3VkZmxhcmUg6Ieq5a62572R5q6177yIV29ya2VyIOS4jeiDveS4u+WKqOi/nuWbniBDRiDoh6rlt7HnmoTlhaXlj6PvvInjgIIKICDihpIg5o2i5LiA5Liq56ys5LiJ5pa5IElQ77yM5oiW5pS555So5Luj55CG6JC95Zyw44CC");case"policy":return __sfx("5Ye656uZ6KKr562W55Wl5ouS57ud77yI")+e.candidate+"):"+e.message+__sfx("CiAg55uu5qCH5bGe5LqO546v5ZueIC8g5YaF572RIC8g6ZO+6Lev5pys5ZywIC8g5L+d55WZ5Zyw5Z2A77yMV29ya2VyIOebtOi/nuaXoOazleWIsOi+vuOAggogIOKGkiDopoHorr/pl67lsYDln5/nvZHorr7lpIfvvIzor7fphY3nva7okL3lnLDku6PnkIbvvIjnlLHku6PnkIbkvqflu7rov57vvInjgII=");case"timeout":return __sfx("5Ye656uZ6LaF5pe277yI")+e.candidate+"):"+e.message+__sfx("CiAg4oaSIOivpeWcsOWdgOW9k+WJjeS4jeWPr+i+vu+8jOWPr+aNouS4gOadoeWAmemAieaIluWQr+eUqOS7o+eQhuiQveWcsOOAgg==");default:return __sfx("5Ye656uZ5aSx6LSl77yI")+e.candidate+"):"+e.message+""}}var Ur,lt=x(()=>{"use strict";$e();Ur=[[__sfx("MTA0LjE2LjAuMA=="),13],[__sfx("MTA0LjI0LjAuMA=="),14],[__sfx("MTA0LjMxLjAuMA=="),15],[__sfx("MTcyLjY0LjAuMA=="),13],[__sfx("MTYyLjE1OC4wLjA="),15],[__sfx("MTg4LjExNC45Ni4w"),20],[__sfx("MTQxLjEwMS42NC4w"),18],[__sfx("MTA4LjE2Mi4xOTIuMA=="),18],[__sfx("MTAzLjIxLjI0NC4w"),22],[__sfx("MTAzLjIyLjIwMC4w"),22],[__sfx("MTAzLjMxLjQuMA=="),22],[__sfx("MTMxLjAuNzIuMA=="),22],[__sfx("MTk3LjIzNC4yNDAuMA=="),22],[__sfx("MTk4LjQxLjEyOC4w"),17],[__sfx("MTkyLjAuMC4w"),24],[__sfx("MTkyLjAuMi4w"),24],[__sfx("MTkyLjg4Ljk5LjA="),24],[__sfx("MTk5LjI3LjEyOC4w"),21],[__sfx("MjIzLjUuNS4w"),24],[__sfx("MS4wLjAuMA=="),24],[__sfx("MS4xLjEuMA=="),24]]});function bn(e,t="direct"){let n=e.trim();if(!n)return null;let o=t,r=n,s=/^([a-z0-9+.-]+):\/\//i.exec(n);if(s){let p=s[1].toLowerCase();r=n.slice(s[0].length),p===__sfx("c29ja3M1")||p===__sfx("c29ja3M=")||p===__sfx("c29ja3M1aA==")?o=__sfx("c29ja3M1"):p==="https"?o="https":p==="http"&&(o="http")}let i=r.lastIndexOf("@"),a={};if(i>=0){let p=r.slice(0,i);r=r.slice(i+1);let g=p.indexOf(":");g>=0?a={username:p.slice(0,g),password:p.slice(g+1)}:a={username:p}}let l,f=/#sni=([^/#]+)/i.exec(r);f&&(l=f[1].trim(),r=r.slice(0,f.index)+r.slice(f.index+f[0].length));let{host:c,port:u}=et(r,0);return!c||!Number.isInteger(u)||u<=0||u>65535?null:(!l&&o==="https"&&!Or(c)&&(l=c),{host:c,port:u,kind:o,...a,...l?{serverName:l}:{}})}function Or(e){return/^\d{1,3}(\.\d{1,3}){3}$/.test(e)}function ue(e,t="direct"){let n=[];for(let o of e.split(/[\n,;]+/)){let r=o.trim();if(!r)continue;let s=bn(r,t);s&&n.push(s)}return n}var ct=x(()=>{"use strict";Pe()});async function Mr(){return ut||(ut=(async()=>(await import("cloudflare:sockets")).connect)()),await ut}function Hr(e,t){if(!O(e))return null;let n=e.split(".").map(i=>Number(i)),o=(n[0]<<8|n[1]).toString(16),r=(n[2]<<8|n[3]).toString(16);return`${t.replace(/:+$/,"")}::${o}:${r}`}async function ve(e,t,n,o,r){let i=(await Mr())({hostname:e,port:t},o?{secureTransport:o}:void 0),a=async(f,c)=>{let u,p=new Promise((g,y)=>{u=setTimeout(()=>y(new Error(""+c+__sfx("6LaF5pe277ya")+e+":"+t+"")),n)});try{return await Promise.race([f,p])}finally{u&&clearTimeout(u)}},l;try{if(await a(i.opened,__sfx("6L+e5o6l")),o==="starttls"){if(l=i.startTls?.(r?{expectedServerHostname:r}:void 0),!l)throw new Error(__sfx("5b2T5YmN6L+Q6KGM5pe25LiN5pSv5oyBIHN0YXJ0VGxz"));return await a(l.opened,__sfx("VExTIOaPoeaJiw==")),l}return i}catch(f){try{await(l??i).close()}catch{}throw f}}async function Fr(e){let t=e.timeoutMs??pt;try{let n=await ve(e.hostname,e.port,t);return{readable:n.readable,writable:n.writable,via:"direct",endpoint:`${e.hostname}:${e.port}`,close:()=>{try{n.close()}catch{}}}}catch(n){if(e.nat64&&O(e.hostname)){let o=Hr(e.hostname,e.nat64);if(o){let r=await ve(o,e.port,t);return{readable:r.readable,writable:r.writable,via:"nat64",endpoint:`${o}:${e.port}`,close:()=>{try{r.close()}catch{}}}}}throw n}}function Kr(e){return e.includes(":")}function Gr(e){return e.source==="proxy"&&e.via!==void 0&&e.via.kind!=="direct"}async function jr(e,t){let n=e.timeoutMs??pt;if(t.kind==="direct"){let s=await ve(t.host,t.port,n);return{readable:s.readable,writable:s.writable,via:"direct",endpoint:`${t.host}:${t.port}`,close:()=>{try{s.close()}catch{}}}}let o=t.kind==="https"?"starttls":void 0,r=await ve(t.host,t.port,n,o,t.kind==="https"?t.serverName:void 0);try{return t.kind==="http"||t.kind==="https"?{readable:await qt(r.readable,r.writable,e.hostname,e.port,{username:t.username,password:t.password}),writable:r.writable,via:t.kind,endpoint:`${t.host}:${t.port}`,close:()=>{try{r.close()}catch{}}}:{readable:await Zt(r.readable,r.writable,e.hostname,e.port,{username:t.username,password:t.password}),writable:r.writable,via:__sfx("c29ja3M1"),endpoint:`${t.host}:${t.port}`,close:()=>{try{r.close()}catch{}}}}catch(s){try{await r.close()}catch{}throw s}}function xn(e){return e instanceof Error?e.message:typeof e=="string"?e:String(e)}function zr(e){if(e.length===0)return __sfx("5pyq55+l5Y6f5Zug");let t=e.map(xn),n=t.slice(-Yr),o=t.length-n.length;return`${o>0?`\uFF08\u5171 ${t.length} \u6761\uFF0C\u7701\u7565\u524D ${o} \u6761\uFF09`:""}${n.join("\uFF1B")}`}function Wr(e){return e.length===0?Promise.reject(new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Ye656uZ5ouo5Y+35pa55byP"))):new Promise((t,n)=>{let o=e.length,r=!1,s=[];for(let i of e)i().then(a=>{if(r){try{a.writable.getWriter().close()}catch{}return}r=!0,t(a)},a=>{s.push(a),o-=1,o===0&&!r&&(r=!0,n(new Error(__sfx("5pys5om5IA==")+e.length+__sfx("IOS4quWAmemAieWFqOmDqOWksei0pe+8mg==")+zr(s)+"")))})})}async function dt(e,t){if(e.length===0)throw new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Ye656uZ5ouo5Y+35pa55byP"));if(!t||e.length<=1){let s=new Error(__sfx("5ouo5Y+35aSx6LSl"));for(let i of e)try{return await i()}catch(a){s=a}throw s}let n=[],o=new Error(__sfx("5ouo5Y+35aSx6LSl"));for(let s=0;s<e.length;s+=ft){let i=e.slice(s,s+ft);try{return await Wr(i)}catch(a){o=a,n.push(xn(a))}}throw new Error(__sfx("5YWo6YOoIA==")+e.length+__sfx("IOS4quWAmemAieWdh+Wksei0pe+8iOWIhiA=")+n.length+__sfx("IOaJue+8jOavj+aJueacgOWkmiA=")+ft+__sfx("IOS4quW5tuWPke+8ie+8mgo=")+n.join(`
4
+ `),{cause:o})}async function wn(e,t){let n=[...e];if(!t)return n;try{let o=await le(t),r=new Set(n.map(s=>`${s.ip}:${s.port}`));for(let s of o){let i=`${s.ip}:${s.port}`;r.has(i)||(r.add(i),n.push(s))}}catch{}return n}async function Xr(e,t,n){if(e.length===0)return null;for(let o=0;o<e.length;o+=J){let s=e.slice(o,o+J).map(i=>t({source:"relay",host:i.ip,port:i.port,label:__sfx("5Y+N5LujIA==")+i.label+""}));try{return await dt(s,n)}catch{}}return null}async function fe(e){let t=e.proxies??[],n=e.concurrent??!0;if(!e.skipTargetPolicy&&t.length===0){let h=_e(e.hostname);if(h)throw new Z(e.hostname,h)}let o=e.budgetMs??Br,r=Date.now()+o,s=[...e.optimizedIps??[]],i=!1;if(e.resolvePreferred)try{let h=await Se(e.hostname,e.port,{deadline:r});if(h.length>0){i=!0;for(let S of h)s.push({ip:S.hostname,port:S.port})}}catch{}let a=_(e.hostname),l=i&&s.length>0&&s.every(h=>_(h.ip)),f=[...e.relay??[]],c=l||a;c&&e.relayPool&&(f=await wn(f,{...e.relayPool,deadline:r}));let u=c?f.slice(0,J):[],p=c?f.slice(J):[],g=mn({targetHost:e.hostname,targetPort:e.port,optimizedIps:s,proxies:t,deprioritizeDirect:a||l,relay:u,relayAsPrimary:u.length>0});if(g.length===0)throw new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Ye656uZ5ouo5Y+35pa55byP"));let y=h=>async()=>{let S=r-Date.now();if(S<=0)throw new Error(__sfx("5ouo5Y+36aKE566X5bey55So5bC977yI")+o+"ms):"+e.hostname+":"+e.port+"");let L=Math.max(200,Math.min(e.timeoutMs??pt,S)),oe={...e,timeoutMs:L};try{if(!Gr(h)&&Kr(e.hostname))throw new Z(e.hostname,en);if(!e.skipTargetPolicy&&h.source!=="proxy"&&h.source!=="relay"){let M=_e(h.host);if(M)throw new Z(h.host,M)}return h.source==="proxy"&&h.via?await jr(oe,{host:h.via.host,port:h.via.port,kind:h.via.kind,username:h.via.username,password:h.via.password,serverName:h.via.serverName}):await Fr({...oe,hostname:h.host,port:h.port})}catch(M){let me=gn(M,h.label);throw e.onFailure?.(me),M}},T=hn(g),{landing:C,[__sfx("cHJveHlJcA==")]:d,direct:w,fallback:A}=T,U=C.length>0||d.length>0,R=async()=>{if(C.length===0)throw new Error(__sfx("5pyq6YWN572u6JC95Zyw5Luj55CG"));let h;for(let S of C)try{return await y(S)()}catch(L){h=L}throw h??new Error(__sfx("6JC95Zyw5Luj55CG5YWo6YOo5aSx6LSl"))},W=async()=>{if(d.length===0)throw new Error(__sfx("5pyq6YWN572uIFByb3h5SVA="));return await dt(d.map(y),!0)},N=async()=>{let h;if(C.length>0)try{return await R()}catch(S){h=S}if(d.length>0)try{return await W()}catch(S){h=S}throw h??new Error(__sfx("5rKh5pyJ5Y+v55So55qE5Luj55CG"))},q=async()=>await dt(w.map(y),n),X=async()=>{let h=p;return h.length===0&&e.relayPool&&(h=await wn([],{...e.relayPool,deadline:r})),await Xr(h,y,n)},K=async()=>{for(let h of A)try{return await y(h)()}catch{}return null};if(!U)try{return await q()}catch(h){let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}let H=e.proxyMode??"only",re=a||l;if(H==="only")try{return await N()}catch(h){let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}if(H==="global"||H==="smart"&&re)try{return await N()}catch(h){if(H==="global")try{return await q()}catch{}let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}try{return await q()}catch(h){try{return await N()}catch{}let S=await X();if(S)return S;let L=await K();if(L)return L;throw h}}var ut,pt,Br,ft,Yr,mt=x(()=>{"use strict";Qt();Jt();$e();G();Pe();ce();lt();ct();ut=null;pt=8e3,Br=15e3;ft=6,Yr=8});async function En(e,t,n,o=!0,r){let s=e.getReader(),i=t.getWriter();try{for(;!n?.exhausted;){let{done:a,value:l}=await s.read();if(a)break;if(!(!l||l.byteLength===0)){if(r?.(l.byteLength))break;await i.write(l)}}}catch{}finally{if(o)try{await i.close()}catch{}else try{i.releaseLock()}catch{}try{s.releaseLock()}catch{}}}var $,Re=x(()=>{"use strict";$=class{constructor(t){this.limitBytes=t}limitBytes;total=0;get enabled(){return this.limitBytes>0}get bytes(){return this.total}add(t){return this.limitBytes<=0||t<=0?!1:(this.total+=t,this.total>this.limitBytes)}}});var Rn={};ye(Rn,{[__sfx("aGFuZGxlV2ViU29ja2V0")]:()=>Le,recentDiagnostics:()=>Qr,recordDiagnostics:()=>ee,truncateCloseReason:()=>vn});function vn(e,t=123){let n=new TextEncoder;if(n.encode(e).length<=t)return e;let o=e.slice(0,t);for(;n.encode(o).length>t;)o=o.slice(0,-1);o=o.replace(/\uFFFD+$/,"");let r="\u2026";for(;o.length>0&&n.encode(o+r).length>t;)o=o.slice(0,-1);return o+r}function ee(e,t,n){Ie.unshift({at:Date.now(),target:e,failures:t,summary:n}),Ie.length>Cn&&(Ie.length=Cn)}function Qr(){return Ie}function Jr(e){if(!e)return new Uint8Array(0);let t=e.trim();if(!t||t.length>16384)return new Uint8Array(0);try{let n=t.replace(/-/g,"+").replace(/_/g,"/"),o=n.length%4===0?"":"=".repeat(4-n.length%4),r=atob(n+o);if(r.length<17||r.length>8192)return new Uint8Array(0);let s=new Uint8Array(r.length);for(let i=0;i<r.length;i++)s[i]=r.charCodeAt(i);return s}catch{return new Uint8Array(0)}}async function Le(e,t,n,o,r,s){let[i,a]=Object.values(new WebSocketPair);try{a.accept({allowHalfOpen:!0})}catch{a.accept()}a.binaryType="arraybuffer";let l=Jr(e.headers.get(__sfx("c2VjLXdlYnNvY2tldC1wcm90b2NvbA=="))),f=!1,c=null,u=null,p=new Ee,g=null,y=null,T=!1,C=!1,d=null,w=null,A=m=>{try{a.send(m)}catch{}},U=m=>{let b=new Uint8Array(2+m.byteLength);b[0]=0,b[1]=m.byteLength,b.set(m,2),A(b)},R=(m,b)=>{T=!0;try{a.close(m,vn(b))}catch{}W()},W=()=>{if(!C){if(C=!0,h(),g&&(clearTimeout(g),g=null),N&&(clearTimeout(N),N=null),y){let m=y;y=null;try{m.cancel()}catch{}}if(c){let m=c.close;if(m)try{m()}catch{}else try{c.writable.close()}catch{}}}},N=null,q=new Set,X=0,K=[],H=0,re=m=>{if(!(m.byteLength===0||M>0)){if(H+m.byteLength>Tn){R(1009,__sfx("5pyq56Gu6K6k6YCa6Lev55qE5LiK6KGM5pWw5o2u6L+H5aSa"));return}if(De+m.byteLength>Zr){R(1009,__sfx("5a6e5L6L5YaF5a2Y6aKE566X5bey5ruh77yM6K+36YeN6K+V"));return}K.push(m),H+=m.byteLength,De+=m.byteLength}},h=()=>{De=Math.max(0,De-H),K=[],H=0},S=0,L=()=>{S+=1},oe=async()=>{if(!c)return;let m=++S,b=c.readable.getReader();y=b,N&&clearTimeout(N);let P=setTimeout(()=>{N===P&&(N=null),!(M>0)&&H!==0&&(ee(`${d.hostname}:${d.port}`,[],__sfx("55u06L+eIA==")+Sn+__sfx("bXMg5peg5LiL6KGM5pWw5o2u77yM5pS56LWw5Y+N5Luj5YWl5Y+j")),_n())},Sn);N=P;try{for(;;){let{done:k,value:D}=await b.read();if(k)break;if(D&&D.byteLength>0){let I=M===0;if(M+=D.byteLength,I&&h(),me.add(D.byteLength)){Tt();return}await Xt(a),A(D)}}}catch{}finally{try{b.releaseLock()}catch{}clearTimeout(P),N===P&&(N=null),y===b&&(y=null),m===S&&!T&&R(1e3,"done")}},M=0,me=new $((n.dataBudgetMB||0)*1024*1024),Tt=()=>{let m=__sfx("5Y2V6L+e5o6l5rWB6YeP6LaF6L+HIA==")+n.dataBudgetMB+__sfx("TUIg5LiK6ZmQ");ee(d?`${d.hostname}:${d.port}`:__sfx("5pyq5bu656uL5Ye656uZ"),[],m),R(1009,m)},Ct=async m=>{let b=u;if(b)try{await p.write(()=>u===b?b:null,m)}catch{W()}},Qn=async m=>{if(l.byteLength===0)return;let b=l;l=new Uint8Array(0),re(b),await m.write(b)},vt=m=>{if(t===__sfx("dmxlc3M=")){let P=Bt(m,n.uuid);return P?{command:P.header.command,port:P.header.port,hostname:P.header.hostname,headerLength:P.consumed}:null}let b=Yt(m,n[__sfx("dHJvamFuUGFzc3dvcmQ=")]);return b?{command:b.header.command,port:b.header.port,hostname:b.header.hostname,headerLength:b.consumed}:null},qn=()=>{g&&(clearTimeout(g),g=null)},Jn=async()=>{if(!(T||f)){if(vt(l)){await Fe();return}R(1008,l.byteLength===0?__sfx("5o+h5omL6LaF5pe277ya5pyq5pS25Yiw5Y2P6K6u5aS0"):__sfx("5o+h5omL6LaF5pe277ya5Y2P6K6u5aS05LiN5a6M5pW05oiW6K6k6K+B5aSx6LSl"))}},Fe=async()=>{if(T||f)return;let m=vt(l);if(!m){l.byteLength>0&&!g&&(g=setTimeout(()=>{g=null,Jn().catch(I=>R(1011,String(I)))},qr));return}if(qn(),f)return;f=!0,d=m;let b=t===__sfx("dmxlc3M=")?Ut:jt;if(m.command===b){if(t===__sfx("dmxlc3M=")&&n.udpDns==="doh"&&m.port===53){U(new Uint8Array(0)),w=new xe({endpoint:n.udpDnsEndpoint,send:A});let I=l.subarray(m.headerLength);I.byteLength>0&&w.push(I);return}R(1002,n.udpDns==="doh"?__sfx("VURQIOS7heaUr+aMgSBETlPvvIg1MyDnq6/lj6PvvIk="):__sfx("VURQIOacquWQr+eUqO+8iOmdouadv+WPr+W8gOWQryBETlMgb3ZlciBEb0jvvIk="));return}t===__sfx("dmxlc3M=")&&U(new Uint8Array(0));let P=[],k=null;try{c=await fe({hostname:m.hostname,port:m.port,proxies:o,timeoutMs:An,concurrent:n.concurrentDial,nat64:n.nat64||void 0,proxyMode:n.proxyMode,resolvePreferred:n.resolvePreferred,relayPool:{userEntries:n.relayPool||void 0,useBuiltin:n.useBuiltinRelay,colo:typeof e.cf?.colo=="string"?e.cf.colo:void 0},onFailure:I=>{P.push(I),s?.failures.push(I)}})}catch(I){k=I}if(!c){let I=P.length>0?P.map(he=>yn(he)).join(`
5
+ `):__sfx("5Ye656uZ6L+e5o6l5aSx6LSl77ya")+String(k)+"";ee(`${m.hostname}:${m.port}`,P,I),R(1011,I);return}u=c.writable.getWriter();let D=l.byteLength>m.headerLength?l.subarray(m.headerLength):new Uint8Array(0);D.byteLength>0&&(re(D),await Ct(D)),l=new Uint8Array(0),r?.waitUntil(oe())},_n=async()=>{let m=d;if(!m){R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya55uu5qCH5pyq6Kej5p6Q"));return}if(X>=Pn){R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya55u06L+e5LiO5Y+N5Luj5YWl5Y+j5Z2H5peg5ZON5bqU"));return}X++;let b=[];try{b=await le({userEntries:n.relayPool||void 0,useBuiltin:n.useBuiltinRelay,colo:typeof e.cf?.colo=="string"?e.cf.colo:void 0})}catch{b=[]}let P=b.filter(k=>!q.has(`${k.ip}:${k.port}`));if(P.length===0){R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya5peg5Y+N5Luj5YWl5Y+j5Y+v55So"));return}for(let k of P.slice(0,Pn)){if(q.add(`${k.ip}:${k.port}`),L(),c){let D=c;if(D.close)try{D.close()}catch{}}u=null,M=0;try{let D=await fe({hostname:k.ip,port:k.port,timeoutMs:An,resolvePreferred:!1,skipTargetPolicy:!0});if(!D)continue;c=D;let I=D.writable.getWriter();u=I;let he=0;for(let ge of K)he+=ge.byteLength;let Ke=new Uint8Array(he),Dt=0;for(let ge of K)Ke.set(ge,Dt),Dt+=ge.byteLength;await p.run(async()=>{Ke.byteLength>0&&await I.write(Ke),await Qn(I)}),ee(`${m.hostname}:${m.port}`,[],__sfx("5bey5YiH5o2i5Y+N5Luj5YWl5Y+jIA==")+k.ip+":"+k.port+""),r?.waitUntil(oe());return}catch(D){ee(`${m.hostname}:${m.port}`,[],__sfx("5Y+N5Luj5YWl5Y+jIA==")+k.ip+":"+k.port+__sfx("IOWksei0pe+8mg==")+String(D)+"")}}R(1011,__sfx("5Ye656uZ5peg5pWw5o2u77ya5omA5pyJ5Y+N5Luj5YWl5Y+j5Z2H5aSx6LSl"))};a.addEventListener("message",m=>{(async()=>{let b=m.data,P=typeof b=="string"?new TextEncoder().encode(b):new Uint8Array(b);if(P.byteLength!==0){if(me.add(P.byteLength)){Tt();return}if(!f){if(l=Ze(l,P),l.byteLength>Vr){R(1009,__sfx("5o+h5omL5aS06LaF6L+HIDY0S0I="));return}await Fe();return}if(w){w.push(P);return}if(!u){if(l=Ze(l,P),l.byteLength>Tn){R(1009,__sfx("5ouo5Y+35pyf6Ze05pWw5o2u6L+H5aSa"));return}return}re(P),await Ct(P)}})()});let Rt=()=>{W()};a.addEventListener("close",Rt),a.addEventListener("error",Rt),l.byteLength>0&&Fe().catch(m=>R(1011,String(m)));try{return new Response(null,{status:101,[__sfx("d2ViU29ja2V0")]:i})}catch(m){return console.error(__sfx("W+iHqueglOaVsOaNrumdol0gMTAxIOWTjeW6lOaehOmAoOWksei0pe+8mg=="),m),new Response(null,{status:200})}}var An,Sn,Pn,Vr,Tn,Zr,De,Ie,Cn,qr,ht=x(()=>{"use strict";Xe();zt();Wt();ae();Vt();mt();Re();lt();ce();An=5e3,Sn=2500,Pn=2,Vr=64*1024,Tn=8*1024*1024,Zr=32*1024*1024,De=0;Ie=[],Cn=20;qr=2e3});var Dn={};ye(Dn,{[__sfx("aGFuZGxlWGh0dHA=")]:()=>gt,[__sfx("cmVjZW50WGh0dHBEaWFnbm9zdGljcw==")]:()=>eo,[__sfx("cmVjb3JkWGh0dHBEaWFnbm9zdGljcw==")]:()=>ke});function $r(e,t){return new Promise(n=>{let o=setTimeout(()=>n(null),t);e.then(r=>{clearTimeout(o),n(r)},()=>{clearTimeout(o),n(null)})})}function ke(e,t,n){Ne.unshift({at:Date.now(),target:e,...t,summary:n}),Ne.length>20&&(Ne.length=20)}function eo(){return Ne}async function gt(e,t,n){let o=e.body;if(!o)return new Response(__sfx("57y65bCR6K+35rGC5L2T"),{status:400});let r=new Y(o),s=await $r(Mt(r,t.uuid),_r);if(!s)return await r.cancel("header timeout"),new Response(__sfx("VkxFU1Mg5aS06Kej5p6Q5aSx6LSl"),{status:400});if(s.header.command!==kt)return await s.payload.cancel("unsupported UDP"),new Response(__sfx("WEhUVFAg5pqC5LiN5pSv5oyBIFVEUA=="),{status:400});let i;try{i=await fe({hostname:s.header.hostname,port:s.header.port,proxies:n,nat64:t.nat64,concurrent:t.concurrentDial,proxyMode:t.proxyMode,resolvePreferred:t.resolvePreferred,relayPool:{userEntries:t.relayPool||void 0,useBuiltin:t.useBuiltinRelay},onFailure:d=>{ke(`${s.header.hostname}:${s.header.port}`,d,__sfx("WEhUVFAg5Ye656uZ5aSx6LSl77yI")+d.candidate+"):"+d.message+"")}})}catch(d){ke(`${s.header.hostname}:${s.header.port}`,{kind:"dial",message:String(d),candidate:"all"},__sfx("WEhUVFAg5Ye656uZ5YWo6YOo5aSx6LSl77ya")+String(d)+"");try{s.payload.cancel("dial failed").catch(()=>{})}catch{}return new Response(__sfx("5Ye656uZ5LiN5Y+v55So"),{status:502})}let a=s.header.addons;if(a.byteLength>255)return new Response(__sfx("QWRkb25zIOmVv+W6pui2heWHuiBWTEVTUyDljY/orq7kuIrpmZA="),{status:400});let l=new Uint8Array(2+a.byteLength);l[0]=s.header.version,l[1]=a.byteLength,l.set(a,2);let f=!1,c=null,u=!1,p=new $((t.dataBudgetMB||0)*1024*1024),g=null,y=()=>{if(u)return;u=!0;let d=__sfx("5Y2V6L+e5o6l5rWB6YeP6LaF6L+HIA==")+t.dataBudgetMB+__sfx("TUIg5LiK6ZmQ");if(ke(`${s.header.hostname}:${s.header.port}`,{kind:"budget",message:d,candidate:"traffic"},d),i.close)try{i.close()}catch{}try{g?.close()}catch{}},T=d=>p.add(d)?(y(),!0):!1;En(s.payload,i.writable,void 0,!1,T).catch(()=>{});let C=new ReadableStream({start(d){g=d,d.enqueue(l),f=!0},async pull(d){if(!(u||!f)){c||(c=i.readable.getReader());try{let{done:w,value:A}=await c.read();if(u)return;if(w){if(i.close)try{i.close()}catch{}d.close();return}if(A&&A.byteLength>0){if(p.add(A.byteLength)){y();return}d.enqueue(A)}}catch(w){if(u)return;if(i.close)try{i.close()}catch{}try{d.error(w)}catch{}}}},cancel(d){u=!0;try{i.readable.cancel(d)}catch{}if(i.close)try{i.close()}catch{}}});return new Response(C,{status:200,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-store","X-Accel-Buffering":"no"}})}var _r,Ne,yt=x(()=>{"use strict";ae();Xe();Re();mt();_r=2e3;Ne=[]});function Oe(){return new Response(JSON.stringify({build:bt,version:to,ts:Date.now()}),{status:200,headers:{"Content-Type":"application/json","Cache-Control":"no-store","Access-Control-Allow-Origin":"*"}})}var bt,to,Ue,wt=x(()=>{"use strict";bt="b0b7d2f-547f9c43",to=__sfx("MC4xNS40"),Ue=__sfx("L19fY2ZwX3ZlcnNpb24=")});function In(e){return e[__sfx("S1Y=")]?new te(e[__sfx("S1Y=")]):new xt}var te,xt,Me=x(()=>{"use strict";te=class{constructor(t){this.kv=t}kv;async get(t){return await this.kv.get(t)}async put(t,n,o){o&&o>=60?await this.kv.put(t,n,{expirationTtl:o}):await this.kv.put(t,n)}async delete(t){await this.kv.delete(t)}async list(t){let n=[],o;do{let r=await this.kv.list({prefix:t,cursor:o});for(let s of r.keys)n.push(s.name);o=r.list_complete?void 0:r.cursor}while(o);return n}},xt=class{data=new Map;async get(t){let n=this.data.get(t);return n?n.expiresAt>0&&n.expiresAt<=Date.now()?(this.data.delete(t),null):n.value:null}async put(t,n,o){let r=o?Date.now()+o*1e3:0;this.data.set(t,{value:n,expiresAt:r})}async delete(t){this.data.delete(t)}async list(t){return[...this.data.keys()].filter(n=>n.startsWith(t))}}});function Q(e,t){if(e==null)return t;let n=String(e).trim();if(n==="")return t;let o=Number(n);return Number.isFinite(o)?o:t}function B(e,t){if(e==null||e==="")return t;let n=String(e).trim().toLowerCase();return["1","true","yes","on"].includes(n)?!0:["0","false","no","off"].includes(n)?!1:t}function no(e){let t=e.trim().toLowerCase();return t==="global"||t==="fallback"||t==="smart"?t:"only"}function Nn(e){return e.trim().toLowerCase()==="signed"?"signed":"legacy"}function kn(e){return e.trim().toLowerCase()==="doh"?"doh":"off"}function v(e,t){return e==null?t:String(e)}function ro(e){return{uuid:v(e[__sfx("VVVJRA==")],""),[__sfx("dHJvamFuUGFzc3dvcmQ=")]:v(e[__sfx("VFJPSkFOX1BBU1NXT1JE")],""),wsPath:v(e[__sfx("V1NfUEFUSA==")]||e[__sfx("UEFUSA==")],E.wsPath),[__sfx("dHJvamFuUGF0aA==")]:E[__sfx("dHJvamFuUGF0aA==")],[__sfx("eGh0dHBQYXRo")]:E[__sfx("eGh0dHBQYXRo")],add:v(e[__sfx("QURE")],""),addApi:v(e[__sfx("QUREQVBJ")],""),addCsv:v(e[__sfx("QUREX0NTVg==")],""),poolOfficial:B(e[__sfx("T0ZGSUNJQUxfSVA=")],E.poolOfficial),officialCount:Q(e[__sfx("T0ZGSUNJQUxfSVBfQ09VTlQ=")],E.officialCount),poolDomain:B(e[__sfx("UFJFRkVSUkVEX0RPTUFJTg==")],E.poolDomain),domainCount:Q(e[__sfx("UFJFRkVSUkVEX0RPTUFJTl9DT1VOVA==")],E.domainCount),poolManual:B(e[__sfx("TUFOVUFMX0lQ")],E.poolManual),poolCountries:v(e[__sfx("UE9PTF9DT1VOVFJJRVM=")],E.poolCountries),dls:Q(e[__sfx("RExT")],0),maxLatency:Q(e[__sfx("TUFYX0xBVEVOQ1k=")],0),maxNodes:0,[__sfx("cHJveHlJcA==")]:v(e[__sfx("UFJPWFlJUA==")],""),[__sfx("c29ja3M1")]:v(e[__sfx("U09DS1M1")],""),httpProxy:v(e[__sfx("SFRUUF9QUk9YWQ==")],""),proxyMode:no(v(e[__sfx("UFJPWFlfTU9ERQ==")],"")),nat64:v(e[__sfx("TkFUNjQ=")],""),concurrentDial:B(e[__sfx("VENQX0NPTkNVUlJFTlRfRElBTA==")],!0),dataBudgetMB:Q(e[__sfx("REFUQV9CVURHRVRfTUI=")],E.dataBudgetMB),resolvePreferred:B(e[__sfx("UkVTT0xWRV9QUkVGRVJSRUQ=")],E.resolvePreferred),relayPool:v(e[__sfx("UkVMQVlfUE9PTA==")],""),useBuiltinRelay:B(e[__sfx("VVNFX0JVSUxUSU5fUkVMQVk=")],E.useBuiltinRelay),[__sfx("ZW5hYmxlVHJvamFu")]:B(e[__sfx("RU5BQkxFX1RST0pBTg==")]??e[__sfx("VFJPSkFO")],E[__sfx("ZW5hYmxlVHJvamFu")]),[__sfx("ZW5hYmxlWGh0dHA=")]:B(e[__sfx("RU5BQkxFX1hIVFRQ")]??e[__sfx("WEhUVFA=")],E[__sfx("ZW5hYmxlWGh0dHA=")]),subDomain:"",subProtocol:"both",subTransport:"both",subVariants:v(e[__sfx("U1VCX1ZBUklBTlRT")],E.subVariants),subName:v(e[__sfx("U1VCX05BTUU=")],E.subName).trim()||E.subName,subPorts:v(e[__sfx("U1VCX1BPUlRT")],E.subPorts),clientFingerprint:E.clientFingerprint,ech:B(e[__sfx("RUNI")],E.ech),echHost:v(e[__sfx("RUNIX0hPU1Q=")],E.echHost),echDns:v(e[__sfx("RUNIX0ROUw==")],E.echDns),tlsFragment:!1,tlsFragmentSize:E.tlsFragmentSize,tlsFragmentDelay:E.tlsFragmentDelay,subToken:Nn(v(e[__sfx("U1VCX1RPS0VOX01PREU=")],"")),subTokenTtlDays:Q(e[__sfx("U1VCX1RPS0VOX1RUTF9EQVlT")],E.subTokenTtlDays),unlockProbe:B(e[__sfx("VU5MT0NLX1BST0JF")],E.unlockProbe),udpDns:kn(v(e[__sfx("VURQX0ROUw==")],"")),udpDnsEndpoint:v(e[__sfx("VURQX0ROU19FTkRQT0lOVA==")],E.udpDnsEndpoint)}}function oo(e,t){let n={...e};for(let[o,r]of Object.entries(t))if(r!=null)if(o==="dls"||o==="maxLatency"||o==="maxNodes"||o==="officialCount"||o==="domainCount"||o==="dataBudgetMB"||o==="subTokenTtlDays")n[o]=Q(r,0);else if(o==="concurrentDial"||o==="resolvePreferred"||o==="useBuiltinRelay"||o===__sfx("ZW5hYmxlVHJvamFu")||o===__sfx("ZW5hYmxlWGh0dHA=")||o==="tlsFragment"||o==="ech"||o==="poolOfficial"||o==="poolDomain"||o==="poolManual"||o==="unlockProbe")n[o]=B(r,!1);else if(o==="subProtocol"){let s=String(r);n[o]=s===__sfx("dmxlc3M=")||s===__sfx("dHJvamFu")||s==="both"?s:"both"}else if(o==="subTransport"){let s=String(r);n[o]=s==="ws"||s===__sfx("eGh0dHA=")||s==="both"?s:"both"}else o==="subToken"?n[o]=Nn(String(r)):o==="udpDns"?n[o]=kn(String(r)):n[o]=String(r);return n}async function Un(e,t){let n=ro(t),o=await e.get(Ln),r={};if(o)try{r=JSON.parse(o)}catch{r={}}let s=oo(n,r),i=!1,a=e instanceof te;return!s.uuid&&a&&(s.uuid=Ge(),i=!0),!s[__sfx("dHJvamFuUGFzc3dvcmQ=")]&&a&&(s[__sfx("dHJvamFuUGFzc3dvcmQ=")]=Ge().replace(/-/g,"").slice(0,16),i=!0),s.officialCount<1&&(s.officialCount=E.officialCount,i=!0),s.domainCount<1&&(s.domainCount=E.domainCount,i=!0),i&&await so(e,s),s}async function so(e,t){await e.put(Ln,JSON.stringify(t))}var Ln,E,Be=x(()=>{"use strict";j();Me();Ln="CONFIG",E={uuid:"",[__sfx("dHJvamFuUGFzc3dvcmQ=")]:"",wsPath:__sfx("L3ZsZXNz"),[__sfx("dHJvamFuUGF0aA==")]:__sfx("L3Ryb2phbg=="),[__sfx("eGh0dHBQYXRo")]:__sfx("L3hodHRw"),add:"",addApi:"",addCsv:"",poolOfficial:!0,officialCount:20,poolDomain:!0,domainCount:10,poolManual:!0,poolCountries:"",dls:0,maxLatency:0,maxNodes:0,[__sfx("cHJveHlJcA==")]:"",[__sfx("c29ja3M1")]:"",httpProxy:"",proxyMode:"only",nat64:"",concurrentDial:!0,dataBudgetMB:0,resolvePreferred:!0,relayPool:"",useBuiltinRelay:!0,[__sfx("ZW5hYmxlVHJvamFu")]:!0,[__sfx("ZW5hYmxlWGh0dHA=")]:!0,subDomain:"",subProtocol:__sfx("dmxlc3M="),subTransport:"ws",subVariants:__sfx("dmxlc3Mtd3M="),subName:__sfx("Q0ZQaWxvdA=="),subPorts:"443",clientFingerprint:"chrome",ech:!1,echHost:__sfx("Y2xvdWRmbGFyZS1lY2guY29t"),echDns:"",tlsFragment:!1,tlsFragmentSize:"10-20",tlsFragmentDelay:"10-20",subToken:"legacy",subTokenTtlDays:0,unlockProbe:!1,udpDns:"off",udpDnsEndpoint:"https://dns.google/dns-query"}});var On,io,Ps,ao,Ts,Mn=x(()=>{"use strict";On={[__sfx("SEs=")]:["HKG"],[__sfx("VFc=")]:["TPE","KHH"],[__sfx("SlA=")]:["NRT","KIX","CTS","FUK"],[__sfx("S1I=")]:["ICN","PUS"],[__sfx("U0c=")]:["SIN"],[__sfx("TVk=")]:["KUL"],[__sfx("VEg=")]:["BKK"],[__sfx("Vk4=")]:["SGN","HAN"],[__sfx("SUQ=")]:["CGK","DPS"],[__sfx("UEg=")]:["MNL"],[__sfx("SU4=")]:["BOM","MAA","DEL"],[__sfx("QVU=")]:["SYD","MEL","BNE","PER"],[__sfx("Tlo=")]:["AKL"],[__sfx("VVM=")]:["LAX","SJC","SEA","ORD","DFW","IAD","EWR","ATL","MIA","DEN","PHX","BOS"],[__sfx("Q0E=")]:["YYZ","YVR","YYC"],[__sfx("R0I=")]:["LHR","MAN"],[__sfx("REU=")]:["FRA","MUC","BER"],[__sfx("RlI=")]:["CDG","MRS"],[__sfx("Tkw=")]:["AMS"],[__sfx("SVQ=")]:["MXP","FCO"],[__sfx("RVM=")]:["MAD","BCN"],[__sfx("U0U=")]:["ARN"],[__sfx("Q0g=")]:["ZRH"],[__sfx("QVQ=")]:["VIE"],[__sfx("UEw=")]:["WAW"],[__sfx("UlU=")]:["DME","SVO"],[__sfx("VFI=")]:["IST"],[__sfx("QUU=")]:["DXB"],[__sfx("SUw=")]:["TLV"],[__sfx("WkE=")]:["JNB"],[__sfx("QlI=")]:["GRU","GIG"],[__sfx("QVI=")]:["EZE"],[__sfx("Q0w=")]:["SCL"],[__sfx("TVg=")]:["MEX"]},io=__sfx("SEtH6aaZ5rivLFRQReWPsOWMlyxOUlTkuJzkuqwsS0lY5aSn6ZiqLElDTummluWwlCxTSU7mlrDliqDlnaEsS1VM5ZCJ6ZqG5Z2hLEJLS+abvOiwtyxTR07og6Hlv5fmmI7luIIsTU5M6ams5bC85ouJLFNZROaCieWwvCxNRUzloqjlsJTmnKwsTEFY5rSb5p2J55+2LFNKQ+Wco+S9leWhnixTRUHopb/pm4Xlm74sT1JE6Iqd5Yqg5ZOlLElBROWNjuebm+mhvyxFV1Lnur3nk6blhYssWVla5aSa5Lym5aSaLFlWUua4qeWTpeWNjixMSFLkvKbmlaYsRlJB5rOV5YWw5YWL56aPLENER+W3tOm7jixBTVPpmL/lp4bmlq/nibnkuLksTUFE6ams5b636YeMLEFSTuaWr+W+t+WTpeWwlOaRqSxJU1TkvIrmlq/lnabluIPlsJQsRFhC6L+q5ouc"),Ps=(()=>{let e={};for(let t of io.split(","))t.length>3&&(e[t.slice(0,3)]=t.slice(3));return e})(),ao=new Map;for(let[e,t]of Object.entries(On))for(let n of t)ao.set(n,e);Ts=Object.keys(On)});var Bn=x(()=>{"use strict"});var Gs,Hn=x(()=>{"use strict";G();j();Mn();Bn();Gs=".cn,qq.com,tencent.com,weixin.qq.com,baidu.com,bdstatic.com,bilibili.com,hdslb.com,taobao.com,tmall.com,jd.com,aliyun.com,alicdn.com,alipay.com,163.com,126.net,zhihu.com,weibo.com,sina.com.cn,youku.com,iqiyi.com,douyin.com,xiaohongshu.com,mi.com,huawei.com,csdn.net,gitee.com,cnblogs.com".split(",")});var Ws,Fn=x(()=>{"use strict";Me();j();Ws=new TextEncoder});var li,Kn=x(()=>{"use strict";Be();j();li=3600*24});function Gn(e){return In(e)}async function jn(e,t){if(de.config&&Date.now()-de.configAt<lo)return de.config;let n=await Un(e,t);return de.config=n,de.configAt=Date.now(),n}var lo,de,At=x(()=>{"use strict";Me();Be();Kn();lo=15e3,de={config:null,configAt:0,auth:null,authAt:0}});var zn={};ye(zn,{clearUnlockCache:()=>bo,runUnlockProbe:()=>yo});function ho(e,t,n){return e===200?"ok":e===404?t==="status"?"region":"unknown":e===403||e===451?"blocked":t==="trace"&&/\bloc=[A-Z]{2}\b/.test(n)?"ok":"unknown"}async function go(e){let t=Date.now(),n=new AbortController,o=setTimeout(()=>n.abort(),fo);try{let r=await fetch(e.url,{method:"GET",redirect:"manual",signal:n.signal,headers:{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0 Safari/537.36",Accept:"text/html,application/xhtml+xml,*/*"}}),s="";e.mode==="trace"&&(s=(await r.text()).slice(0,512));let i=/\bloc=([A-Z]{2})\b/.exec(s)?.[1];return{id:e.id,status:r.status,verdict:ho(r.status,e.mode,s),ms:Date.now()-t,...i?{loc:i}:{}}}catch(r){let s=r instanceof Error?r.message:String(r);return{id:e.id,status:0,verdict:"unknown",ms:Date.now()-t,error:/abort/i.test(s)?"timeout":"fetch-failed"}}finally{clearTimeout(o)}}async function yo(e,t){let n=e||"UNK",o=Date.now(),r=ne.get(n);if(r&&o-r.at<po)return{...r.data,cached:!0};let s=await Promise.all(uo.map(a=>go(a))),i={colo:n,region:t,cached:!1,at:o,targets:s};if(ne.size>=mo){let a="",l=Number[__sfx("UE9TSVRJVkVfSU5GSU5JVFk=")];for(let[f,c]of ne)c.at<l&&(l=c.at,a=f);a&&ne.delete(a)}return ne.set(n,{at:o,data:i}),i}function bo(){ne.clear()}var uo,fo,po,mo,ne,Wn=x(()=>{"use strict";uo=[{id:"netflix",url:"https://www.netflix.com/title/81215567",mode:"status"},{id:"youtube",url:"https://www.youtube.com/premium",mode:"status"},{id:"gemini",url:"https://gemini.google.com/",mode:"status"}],fo=4e3,po=600*1e3,mo=16,ne=new Map});j();var er=8*1024*1024,tr=2*1024*1024,Lt=600*1e3,nr=6*1024*1024*1024,je=Date.now(),Ye=0;function Nt(e){e-je>=Lt&&(je=e,Ye=0)}function rr(e,t=Date.now()){Nt(t),Ye+=e}function It(e){return Nt(e),nr-Ye}var or=(()=>{let e=new Uint8Array(65536),t=2654435769;for(let n=0;n<e.length;n++)t^=t<<13,t^=t>>>17,t^=t<<5,e[n]=t&255;return e})(),sr=5e3;function ir(e,t=sr){let n=!1,o=setTimeout(()=>{if(!n){n=!0;try{e(1e3,"Probe idle timeout")}catch{}}},t),r=o;return typeof r?.unref=="function"&&r.unref(),{cancel:()=>{n||(n=!0,clearTimeout(o))}}}async function ze(e){let t=new URL(e.url);if(e.headers.get("Upgrade")?.toLowerCase()===__sfx("d2Vic29ja2V0")){let f=new WebSocketPair,[c,u]=Object.values(f);u.accept();let p=ir((g,y)=>u.close(g,y));return u.addEventListener("message",g=>{let y=typeof g.data=="string"?g.data:"";if(y==="PING"||y==="ping"){p.cancel(),u.send(JSON.stringify({pong:!0,colo:e.cf?.colo??"UNK",clientIp:e.headers.get("CF-Connecting-IP")??""}));try{u.close(1e3,"Probe complete")}catch{}return}p.cancel();try{u.close(1e3,"Probe aborted")}catch{}}),u.addEventListener("close",()=>p.cancel()),u.addEventListener("error",()=>p.cancel()),new Response(null,{status:101,[__sfx("d2ViU29ja2V0")]:c})}let o=Number.parseInt(t.searchParams.get("bytes")??"",10),r=Number.isFinite(o)&&o>0?Math.min(o,er):tr,s=Date.now();if(It(s)<=0){let f=Math.max(1e3,je+Lt-s);return new Response(JSON.stringify({ok:!1,error:"probe budget exhausted"}),{status:429,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store","Retry-After":String(Math.ceil(f/1e3))}})}let i=or,a=0,l=new ReadableStream({pull(f){let c=It(Date.now());if(a>=r||c<=0){f.close();return}let u=Math.min(i.byteLength,r-a,c);f.enqueue(i.subarray(0,u)),a+=u,rr(u)}});return new Response(l,{status:200,headers:{"Content-Type":"application/octet-stream","Content-Encoding":"identity","Cache-Control":"no-store","Access-Control-Allow-Origin":"*","X-Probe-Bytes":String(r),"X-Probe-Nonce":we(4)}})}ht();yt();ct();wt();j();Be();Re();Hn();Fn();j();function Et(e){let t=e===200?"Welcome":e===404?"Not Found":"Service Unavailable",n=`<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>${t}</title><style>body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f7f8fa;color:#333;font-family:-apple-system,"Segoe UI","PingFang SC",sans-serif}.c{text-align:center}h1{font-size:22px;font-weight:600;margin:0 0 10px}p{color:#888;font-size:14px;margin:0}</style></head><body><div class="c"><h1>${t}</h1><p>This site is up and running.</p></div></body></html>`;return new Response(n,{status:e,headers:{"Content-Type":"text/html; charset=utf-8","Cache-Control":"no-store","X-Content-Type-Options":"nosniff"}})}At();At();async function Yn(e){let t=Gn(e);return await jn(t,e)}function St(e){let t=[];return t.push(...ue(e[__sfx("cHJveHlJcA==")],"direct")),t.push(...ue(e[__sfx("c29ja3M1")],__sfx("c29ja3M1"))),t.push(...ue(e.httpProxy,"http")),t}var Pt=6e4,wo=10,pe=0,He=0;function Xn(e){return e>=He?(pe=0,He=e+Pt,!1):pe>=wo}function Vn(e,t,n){if(!n)return!1;let o=(e.headers.get(__sfx("eC1jZnBpbG90LXRva2Vu"))??t.searchParams.get("token")??"").trim();if(!o)return!1;let r=Date.now();return se(o,n)?(pe=0,!0):(r>=He&&(He=r+Pt,pe=0),pe+=1,!1)}async function Zn(e,t,n){let o=new URL(e.url);if(o.pathname===__sfx("L19fZWRnZV9wcm9iZQ=="))return ze(e);if(o.pathname===Ue||o.pathname===__sfx("L19fdmVyc2lvbg=="))return Oe();if(o.pathname==="/region"&&e.method==="GET"){let{coloToCountry:i,rankRegions:a}=await Promise.resolve().then(()=>(ce(),at)),l=e.cf?.colo??"",f=l?i(l):"";return new Response(JSON.stringify({ok:!0,colo:l,region:f,relayPreference:f?a(f):[],timestamp:new Date().toISOString()},null,2),{status:200,headers:{"Content-Type":"application/json; charset=utf-8"}})}let r=await Yn(t);if(o.pathname===__sfx("L19fZGlhZw==")){if(Xn(Date.now()))return new Response(JSON.stringify({ok:!1,error:"token attempts throttled"},null,2),{status:429,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store","Retry-After":String(Math.ceil(Pt/1e3))}});if(!Vn(e,o,r.uuid))return null;let{recentDiagnostics:i}=await Promise.resolve().then(()=>(ht(),Rn)),{[__sfx("cmVjZW50WGh0dHBEaWFnbm9zdGljcw==")]:a}=await Promise.resolve().then(()=>(yt(),Dn));return new Response(JSON.stringify({ok:!0,impl:"self",build:bt,recent:i(),[__sfx("eGh0dHA=")]:a()},null,2),{status:200,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store"}})}if(o.pathname==="/__unlock_probe"){if(!r.unlockProbe)return null;if(Xn(Date.now()))return new Response(JSON.stringify({ok:!1,error:"token attempts throttled"},null,2),{status:429,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store"}});if(!Vn(e,o,r.uuid))return null;let{coloToCountry:i}=await Promise.resolve().then(()=>(ce(),at)),{runUnlockProbe:a}=await Promise.resolve().then(()=>(Wn(),zn)),l=e.cf?.colo??"",f=l?i(l):"",c=await a(l,f);return new Response(JSON.stringify({ok:!0,...c},null,2),{status:200,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store"}})}let s=e.headers.get("Upgrade")?.toLowerCase();return o.pathname===r.wsPath?s!==__sfx("d2Vic29ja2V0")?null:await Le(e,__sfx("dmxlc3M="),r,St(r),n):r[__sfx("ZW5hYmxlVHJvamFu")]&&o.pathname===r[__sfx("dHJvamFuUGF0aA==")]?s!==__sfx("d2Vic29ja2V0")?null:await Le(e,__sfx("dHJvamFu"),r,St(r),n):r[__sfx("ZW5hYmxlWGh0dHA=")]&&o.pathname===r[__sfx("eGh0dHBQYXRo")]?e.method!=="POST"?null:await gt(e,r,St(r)):null}wt();var ea={async fetch(e,t,n){try{return new URL(e.url).pathname===Ue?Oe():await Zn(e,t,n)??Et(200)}catch{return Et(500)}}};export{ea as default};
@@ -0,0 +1,200 @@
1
+ 192.18.136.255
2
+ 128.121.31.252
3
+ 129.159.37.136
4
+ 23.144.12.63
5
+ 216.36.86.62
6
+ 45.133.117.185
7
+ 38.84.201.228
8
+ 109.120.142.219
9
+ 45.140.167.43
10
+ 5.253.188.139
11
+ 216.36.82.31
12
+ 167.253.96.90
13
+ 194.87.62.139
14
+ 23.144.20.184
15
+ 128.121.31.58
16
+ 147.45.135.207
17
+ 154.36.134.112
18
+ 216.36.82.151
19
+ 216.36.82.223
20
+ 154.9.250.178
21
+ 104.248.193.174
22
+ 154.12.50.186
23
+ 156.154.245.83
24
+ 216.195.213.132
25
+ 216.36.82.13
26
+ 103.7.54.214
27
+ 51.91.249.37
28
+ 168.133.88.154
29
+ 194.147.16.230
30
+ 38.58.57.214
31
+ 193.247.77.107
32
+ 139.64.132.117
33
+ 168.151.20.157
34
+ 103.251.165.157
35
+ 144.124.228.213
36
+ 166.0.17.155
37
+ 23.148.204.16
38
+ 23.227.193.153
39
+ 216.36.86.172
40
+ 31.57.118.201
41
+ 154.37.211.50
42
+ 104.202.107.113
43
+ 216.195.213.89
44
+ 154.44.1.165
45
+ 154.9.241.64
46
+ 216.167.33.174
47
+ 23.144.4.243
48
+ 38.175.209.81
49
+ 38.244.24.45
50
+ 51.91.254.153
51
+ 57.128.177.235
52
+ 38.244.59.145
53
+ 24.150.16.183
54
+ 23.141.204.141
55
+ 216.195.213.87
56
+ 109.120.142.21
57
+ 172.233.60.113
58
+ 154.9.240.98
59
+ 147.182.229.237
60
+ 103.76.85.150
61
+ 216.195.213.127
62
+ 45.144.154.195
63
+ 38.246.238.34
64
+ 216.36.86.43
65
+ 154.7.183.116
66
+ 192.204.33.150
67
+ 154.36.163.51
68
+ 192.204.33.170
69
+ 146.103.117.162
70
+ 154.29.148.233
71
+ 192.220.54.50
72
+ 209.33.173.7
73
+ 216.195.213.76
74
+ 57.129.137.198
75
+ 51.91.254.99
76
+ 38.58.108.251
77
+ 38.47.119.14
78
+ 31.56.205.135
79
+ 154.64.251.220
80
+ 213.165.84.165
81
+ 137.184.228.85
82
+ 104.234.50.115
83
+ 216.36.82.180
84
+ 43.250.54.97
85
+ 54.37.38.254
86
+ 192.220.76.219
87
+ 151.241.227.21
88
+ 154.12.53.59
89
+ 154.40.35.57
90
+ 103.13.211.83
91
+ 57.128.176.147
92
+ 51.91.253.83
93
+ 38.150.33.154
94
+ 37.157.242.6
95
+ 57.128.183.40
96
+ 216.36.121.136
97
+ 165.232.148.158
98
+ 107.174.42.185
99
+ 216.36.86.162
100
+ 107.175.224.82
101
+ 154.12.52.246
102
+ 192.210.133.140
103
+ 194.146.12.230
104
+ 216.36.82.75
105
+ 23.141.196.61
106
+ 38.244.25.136
107
+ 51.91.254.158
108
+ 38.244.17.147
109
+ 38.47.116.97
110
+ 38.244.25.17
111
+ 216.195.213.133
112
+ 154.7.180.14
113
+ 155.117.18.57
114
+ 154.44.4.21
115
+ 136.0.197.191
116
+ 193.233.134.77
117
+ 51.91.252.34
118
+ 38.58.108.84
119
+ 37.120.184.11
120
+ 159.60.146.82
121
+ 23.144.4.59
122
+ 154.41.80.234
123
+ 154.36.155.40
124
+ 152.53.239.169
125
+ 154.44.27.72
126
+ 193.26.157.139
127
+ 38.47.113.201
128
+ 23.172.40.231
129
+ 216.167.81.153
130
+ 57.129.137.222
131
+ 216.167.16.112
132
+ 192.227.167.44
133
+ 154.12.59.225
134
+ 154.9.224.175
135
+ 154.36.170.93
136
+ 154.29.150.192
137
+ 149.7.2.142
138
+ 136.0.197.91
139
+ 128.121.31.218
140
+ 157.238.208.34
141
+ 45.155.102.223
142
+ 216.36.86.68
143
+ 216.36.82.25
144
+ 216.36.82.246
145
+ 216.195.213.100
146
+ 193.32.177.101
147
+ 23.95.18.184
148
+ 192.220.30.26
149
+ 185.166.196.219
150
+ 154.9.249.40
151
+ 154.40.59.195
152
+ 152.67.208.8
153
+ 192.220.96.41
154
+ 57.128.183.6
155
+ 216.36.82.55
156
+ 216.36.82.137
157
+ 216.36.82.11
158
+ 192.204.33.233
159
+ 172.252.125.72
160
+ 154.7.179.136
161
+ 154.40.40.236
162
+ 147.45.241.138
163
+ 178.173.255.254
164
+ 37.252.5.75
165
+ 45.144.29.179
166
+ 38.92.14.119
167
+ 38.246.230.77
168
+ 38.22.94.79
169
+ 38.207.168.229
170
+ 216.36.86.47
171
+ 47.178.14.172
172
+ 194.87.49.3
173
+ 155.117.18.149
174
+ 154.64.247.96
175
+ 154.44.24.183
176
+ 154.29.159.32
177
+ 116.203.252.143
178
+ 216.167.83.166
179
+ 38.127.121.254
180
+ 23.95.88.103
181
+ 216.195.213.107
182
+ 192.145.30.213
183
+ 193.17.182.35
184
+ 178.208.65.85
185
+ 213.183.44.184
186
+ 38.246.237.218
187
+ 38.34.15.74
188
+ 216.36.82.140
189
+ 216.36.82.194
190
+ 192.204.42.61
191
+ 149.7.2.79
192
+ 144.31.122.120
193
+ 192.204.58.175
194
+ 51.91.253.174
195
+ 38.80.189.19
196
+ 24.141.96.92
197
+ 23.172.40.230
198
+ 216.36.86.195
199
+ 216.36.82.84
200
+ 216.195.213.123