PageSourceSearch

https://lantern.io/_next/static/chunks/712.107c7da7ebb8cff3.js

js lantern.io collected 2026-10-02 03:47:02 UTC 12,744 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[712],{3258:function(t,n,a){a.d(n,{W:function(){return l},_:function(){return r}});var e=a(828),o=a(8828),l=900;function r(t){var n=function(t,n){var e=a([t,n]);return e?[e[0],e[1]]:[0,0]},a=t().fitExtent([[12,12],[l-12,488]],{type:"Sphere"}),r=(0,o.Z)(a),i=r.bounds({type:"Sphere"}),c=i[0][0],u=i[0][1],g=i[1][0],y=n(180,-60)[1];return{pathGen:function(t){return r(t)||""},spherePath:function(){return r({type:"Sphere"})||""},clipRect:function(){return"M".concat(c,",").concat(u," L").concat(g,",").concat(u," L").concat(g,",").concat(y," L").concat(c,",").concat(y," Z")},cropBottomY:y,sphereX0:c,sphereY0:u,sphereX1:g,featureBounds:function(t){return r.bounds(t)},featureCentroid:function(t){return r.centroid(t)},project:n,arcPath:function(t,a,o,l){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,c=(0,e.Z)(n(t,a),2),u=c[0],g=c[1],y=(0,e.Z)(n(o,l),2),h=y[0],s=y[1],d=r-(i-1)/2;return"M".concat(u.toFixed(1),",").concat(g.toFixed(1)," Q").concat(((u+h)/2+15*d).toFixed(1),",").concat(((g+s)/2-Math.max(40,.35*Math.sqrt(Math.pow(h-u,2)+Math.pow(s-g,2)))-20*d).toFixed(1)," ").concat(h.toFixed(1),",").concat(s.toFixed(1))}}}},2629:function(t,n,a){a.d(n,{s:function(){return o}});var e=a(1600),o={name:"Borderless",theme:"patterson",projectionFactory:function(){return(0,e.Z)()},oceanFill:"#EDEFEF",landFill:"#FFFFFF",landStroke:"transparent",sphereStroke:"#EDEFEF",dotRadius:2,glowRadius:4,glowOpacity:.7,arcWidth:1.2,arcBaseOpacity:.2,arcFlowOpacity:.6,starScale:1}},1597:function(t,n,a){a.d(n,{$3:function(){return w},HL:function(){return p},MX:function(){return r},QK:function(){return s},SF:function(){return e},Yq:function(){return f},kY:function(){return d},nC:function(){return c},nQ:function(){return i},tb:function(){return u},w5:function(){return m}});var e={activeVolunteers:14283,activeUsers:89412,countriesReached:24,protocolsGenerated:347,protocolsActive:12,totalSessionsToday:312847},o=[{id:"v1",lat:40.7128,lng:-74.006,country:"US",city:"New York",type:"volunteer",protocol:"samizdat-v3.2",active:!0},{id:"v2",lat:51.5074,lng:-.1278,country:"GB",city:"London",type:"volunteer",protocol:"hydra-quic",active:!0},{id:"v3",lat:48.8566,lng:2.3522,country:"FR",city:"Paris",type:"volunteer",protocol:"mirage-tls",active:!0},{id:"v4",lat:52.52,lng:13.405,country:"DE",city:"Berlin",type:"volunteer",protocol:"phantom-ws",active:!0},{id:"v5",lat:35.6762,lng:139.6503,country:"JP",city:"Tokyo",type:"volunteer",protocol:"echo-dtls",active:!0},{id:"v6",lat:37.5665,lng:126.978,country:"KR",city:"Seoul",type:"volunteer",protocol:"drift-h3",active:!0},{id:"v7",lat:-33.8688,lng:151.2093,country:"AU",city:"Sydney",type:"volunteer",protocol:"samizdat-v3.2",active:!0},{id:"v8",lat:43.6532,lng:-79.3832,country:"CA",city:"Toronto",type:"volunteer",protocol:"hydra-quic",active:!0},{id:"v9",lat:59.3293,lng:18.0686,country:"SE",city:"Stockholm",type:"volunteer",protocol:"mirage-tls",active:!0},{id:"v10",lat:47.3769,lng:8.5417,country:"CH",city:"Zurich",type:"volunteer",protocol:"phantom-ws",active:!1},{id:"v11",lat:34.0522,lng:-118.2437,country:"US",city:"Los Angeles",type:"volunteer",protocol:"echo-dtls",active:!0},{id:"v12",lat:55.7558,lng:37.6173,country:"NL",city:"Amsterdam",type:"volunteer",protocol:"drift-h3",active:!0},{id:"u1",lat:35.6892,lng:51.389,country:"IR",city:"Tehran",type:"user",protocol:"samizdat-v3.2",active:!0},{id:"u2",lat:31.2304,lng:121.4737,country:"CN",city:"Shanghai",type:"user",protocol:"hydra-quic",active:!0},{id:"u3",lat:39.9042,lng:116.4074,country:"CN",city:"Beijing",type:"user",protocol:"mirage-tls",active:!0},{id:"u4",lat:55.7558,lng:37.6173,country:"RU",city:"Moscow",type:"user",protocol:"phantom-ws",active:!0},{id:"u5",lat:16.8661,lng:96.1951,country:"MM",city:"Yangon",type:"user",protocol:"echo-dtls",active:!0},{id:"u6",lat:53.9045,lng:27.5615,country:"BY",city:"Minsk",type:"user",protocol:"drift-h3",active:!0},{id:"u7",lat:37.9688,lng:58.3894,country:"TM",city:"Ashgabat",type:"user",protocol:"samizdat-v3.2",active:!0},{id:"u8",lat:21.0285,lng:105.8542,country:"VN",city:"Hanoi",type:"user",protocol:"hydra-quic",active:!0},{id:"u9",lat:32.4279,lng:53.688,country:"IR",city:"Isfahan",type:"user",protocol:"mirage-tls",active:!0},{id:"u10",lat:29.6169,lng:106.5516,country:"CN",city:"Chongqing",type:"user",protocol:"echo-dtls",active:!0},{id:"u11",lat:25.2048,lng:55.2708,country:"AE",city:"Dubai",type:"user",protocol:"drift-h3",active:!0},],l=[{from:o[0],to:o[12],protocol:"samizdat-v3.2",latencyMs:180,bytesPerSec:524288},{from:o[1],to:o[15],protocol:"phantom-ws",latencyMs:95,bytesPerSec:1048576},{from:o[2],to:o[17],protocol:"drift-h3",latencyMs:140,bytesPerSec:786432},{from:o[3],to:o[13],protocol:"hydra-quic",latencyMs:210,bytesPerSec:393216},{from:o[4],to:o[14],protocol:"mirage-tls",latencyMs:65,bytesPerSec:1572864},{from:o[5],to:o[19],protocol:"echo-dtls",latencyMs:88,bytesPerSec:655360},{from:o[6],to:o[16],protocol:"samizdat-v3.2",latencyMs:320,bytesPerSec:262144},{from:o[7],to:o[18],protocol:"mirage-tls",latencyMs:250,bytesPerSec:458752},{from:o[8],to:o[12],protocol:"hydra-quic",latencyMs:170,bytesPerSec:917504},{from:o[10],to:o[21],protocol:"echo-dtls",latencyMs:290,bytesPerSec:327680},],r={IR:[{name:"Tehran",lng:51.39,lat:35.69,weight:1},{name:"Mashhad",lng:59.6,lat:36.3,weight:.35},{name:"Isfahan",lng:51.68,lat:32.65,weight:.28},{name:"Tabriz",lng:46.3,lat:38.08,weight:.22},{name:"Shiraz",lng:52.53,lat:29.59,weight:.2},],CN:[{name:"Shanghai",lng:121.47,lat:31.23,weight:1},{name:"Beijing",lng:116.41,lat:39.9,weight:.85},{name:"Guangzhou",lng:113.26,lat:23.13,weight:.6},{name:"Shenzhen",lng:114.06,lat:22.54,weight:.55},{name:"Chengdu",lng:104.07,lat:30.57,weight:.4},],RU:[{name:"Moscow",lng:37.62,lat:55.76,weight:1},{name:"St Petersburg",lng:30.32,lat:59.93,weight:.42},{name:"Novosibirsk",lng:82.93,lat:55.01,weight:.12},{name:"Yekaterinburg",lng:60.6,lat:56.84,weight:.11},{name:"Kazan",lng:49.11,lat:55.8,weight:.1},],MM:[{name:"Yangon",lng:96.2,lat:16.87,weight:1},{name:"Mandalay",lng:96.08,lat:21.97,weight:.35},{name:"Naypyidaw",lng:96.13,lat:19.76,weight:.18},{name:"Mawlamyine",lng:97.63,lat:16.49,weight:.1},{name:"Taunggyi",lng:97.04,lat:20.78,weight:.08},],BY:[{name:"Minsk",lng:27.56,lat:53.9,weight:1},{name:"Gomel",lng:30.98,lat:52.44,weight:.26},{name:"Mogilev",lng:30.34,lat:53.91,weight:.18},{name:"Vitebsk",lng:30.2,lat:55.19,weight:.17},{name:"Grodno",lng:23.83,lat:53.68,weight:.16},],TM:[{name:"Ashgabat",lng:58.39,lat:37.95,weight:1},{name:"Turkmenabat",lng:63.58,lat:39.07,weight:.28},{name:"Dashoguz",lng:59.97,lat:41.84,weight:.22},{name:"Mary",lng:61.83,lat:37.6,weight:.18},{name:"Balkanabat",lng:54.37,lat:39.51,weight:.1},],VN:[{name:"Ho Chi Minh",lng:106.63,lat:10.82,weight:1},{name:"Hanoi",lng:105.85,lat:21.03,weight:.85},{name:"Da Nang",lng:108.21,lat:16.05,weight:.2},{name:"Hai Phong",lng:106.68,lat:20.86,weight:.18}
1,{name:"Can Tho",lng:105.77,lat:10.04,weight:.15},],CU:[{name:"Havana",lng:-82.37,lat:23.11,weight:1},{name:"Santiago",lng:-75.83,lat:20.02,weight:.25},{name:"Camaguey",lng:-77.92,lat:21.38,weight:.15},{name:"Holguin",lng:-76.26,lat:20.72,weight:.14},{name:"Santa Clara",lng:-79.97,lat:22.41,weight:.12},],SA:[{name:"Riyadh",lng:46.68,lat:24.71,weight:1},{name:"Jeddah",lng:39.17,lat:21.49,weight:.55},{name:"Mecca",lng:39.83,lat:21.39,weight:.3},{name:"Medina",lng:39.61,lat:24.47,weight:.22},{name:"Dammam",lng:50.1,lat:26.43,weight:.2},],PK:[{name:"Karachi",lng:67.01,lat:24.86,weight:1},{name:"Lahore",lng:74.35,lat:31.55,weight:.75},{name:"Islamabad",lng:73.05,lat:33.69,weight:.3},{name:"Faisalabad",lng:73.08,lat:31.42,weight:.25},{name:"Rawalpindi",lng:73.05,lat:33.6,weight:.22},],UZ:[{name:"Tashkent",lng:69.28,lat:41.3,weight:1},{name:"Samarkand",lng:66.96,lat:39.65,weight:.25},{name:"Namangan",lng:71.67,lat:41,weight:.2},{name:"Bukhara",lng:64.42,lat:39.77,weight:.15},{name:"Andijan",lng:72.34,lat:40.78,weight:.14},],TH:[{name:"Bangkok",lng:100.5,lat:13.76,weight:1},{name:"Chiang Mai",lng:98.98,lat:18.79,weight:.15},{name:"Pattaya",lng:100.88,lat:12.93,weight:.12},{name:"Nakhon Ratchasima",lng:102.1,lat:14.97,weight:.1},{name:"Khon Kaen",lng:102.83,lat:16.43,weight:.09},],AE:[{name:"Dubai",lng:55.27,lat:25.2,weight:1},{name:"Abu Dhabi",lng:54.37,lat:24.45,weight:.6},{name:"Sharjah",lng:55.39,lat:25.34,weight:.3},{name:"Al Ain",lng:55.76,lat:24.19,weight:.15},{name:"Ajman",lng:55.44,lat:25.41,weight:.1},]},i=[{id:"us-east",lng:-74,lat:40.7,country:"US"},{id:"us-west",lng:-118.2,lat:34.1,country:"US"},{id:"eu-west",lng:-.13,lat:51.5,country:"GB"},{id:"eu-central",lng:13.4,lat:52.5,country:"DE"},{id:"ap-east",lng:139.7,lat:35.7,country:"JP"},{id:"ap-south",lng:103.9,lat:1.35,country:"SG"},],c={364:"IR",156:"CN",643:"RU",104:"MM",112:"BY",795:"TM",704:"VN",192:"CU",682:"SA",586:"PK",860:"UZ",764:"TH",356:"IN",50:"BD",818:"EG",792:"TR",862:"VE",398:"KZ",840:"US",826:"GB",250:"FR",276:"DE",392:"JP",410:"KR",36:"AU",124:"CA",752:"SE",756:"CH",528:"NL",702:"SG",784:"AE",203:"CZ",76:"BR"},u=new Set(["IR","CN","RU","MM","BY","TM","VN","CU","SA","PK","UZ","TH","AE"]),g=new Set(["CN","IR","RU"]),y=new Set(["BY","VN","PK"]);function h(t){return g.has(t)?"heavy":y.has(t)?"medium":"light"}var s=function(){var t=[],n=0,a=!0,e=!1,o=void 0;try{for(var l,c=Array.from(u)[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var g=l.value,y=r[g];if(y){var s=h(g),d=!0,m=!1,f=void 0;try{for(var p,w=y[Symbol.iterator]();!(d=(p=w.next()).done);d=!0){var v=p.value,S=i[n%i.length];n++;for(var b=.2+.6*v.weight,M=v.weight>.6?2:1,C=0;C<M;C++)if(C>0){var E=i[n%i.length];n++,t.push({id:"mock-".concat(g,"-").concat(v.name,"-").concat(E.id,"-").concat(C),from:[E.lng,E.lat],to:[v.lng,v.lat],traffic:b,country:g,proxyCountry:E.country,volume:s})}else t.push({id:"mock-".concat(g,"-").concat(v.name,"-").concat(S.id,"-").concat(C),from:[S.lng,S.lat],to:[v.lng,v.lat],traffic:b,country:g,proxyCountry:S.country,volume:s})}}catch(U){m=!0,f=U}finally{try{d||null==w.return||w.return()}finally{if(m)throw f}}}}}catch(A){e=!0,o=A}finally{try{a||null==c.return||c.return()}finally{if(e)throw o}}return t}(),d=new Set(i.map(function(t){return t.country})),m=[{id:"infra-us-east",lat:39.04,lng:-77.49,country:"US",city:"Ashburn",label:"US-East"},{id:"infra-us-west",lat:37.39,lng:-121.95,country:"US",city:"San Jose",label:"US-West"},{id:"infra-eu-west",lat:51.51,lng:-.13,country:"GB",city:"London",label:"EU-West"},{id:"infra-eu-central",lat:50.11,lng:8.68,country:"DE",city:"Frankfurt",label:"EU-Central"},{id:"infra-eu-east",lat:50.08,lng:14.44,country:"CZ",city:"Prague",label:"EU-East"},{id:"infra-japan",lat:35.68,lng:139.69,country:"JP",city:"Tokyo",label:"Japan"},{id:"infra-brazil",lat:-23.55,lng:-46.63,country:"BR",city:"S\xe3o Paulo",label:"Brazil"},{id:"infra-sydney",lat:-33.87,lng:151.21,country:"AU",city:"Sydney",label:"Sydney"},{id:"infra-uae",lat:25.28,lng:55.3,country:"AE",city:"Dubai",label:"UAE"},{id:"infra-singapore",lat:1.35,lng:103.82,country:"SG",city:"Singapore",label:"Singapore"},],f=function(){var t=[],n=0,a=!0,e=!1,o=void 0;try{for(var l,i=Array.from(u)[Symbol.iterator]();!(a=(l=i.next()).done);a=!0){var c=l.value,g=r[c];if(g){var y=h(c),s=!0,d=!1,f=void 0;try{for(var p,w=g[Symbol.iterator]();!(s=(p=w.next()).done);s=!0){var v=p.value,S=m[n%m.length];n++;var b=.2+.6*v.weight;t.push({id:"infra-".concat(c,"-").concat(v.name,"-").concat(S.id),from:[S.lng,S.lat],to:[v.lng,v.lat],traffic:b,country:c,proxyCountry:S.country,volume:y})}}catch(M){d=!0,f=M}finally{try{s||null==w.return||w.return()}finally{if(d)throw f}}}}}catch(C){e=!0,o=C}finally{try{a||null==i.return||i.return()}finally{if(e)throw o}}return t}(),p={peopleConnected:91555,unboundedVolunteers:14634},w={nodes:o,routes:l,globalStats:e,cities:r,proxyNodes:i,coords:{IR:[53.69,32.43],CN:[104.2,35.86],RU:[40.32,55.75],MM:[96.08,19.76],BY:[27.95,53.71],TM:[59.56,38.97],VN:[108.28,14.06],CU:[-77.78,21.52],PK:[69.35,30.38],TH:[100.99,15.87],UZ:[64.59,41.38],SA:[45.08,23.89],AE:[53.85,23.42],IN:[78.96,20.59],BD:[90.36,23.68],EG:[30.8,26.82],TR:[35.24,38.96],VE:[-66.59,6.42],KZ:[66.92,48.02]}}},7515:function(t,n,a){a.d(n,{T:function(){return l}});var e=a(7294),o=a(6370);function l(){var t=(0,e.useState)([]),n=t[0],a=t[1],l=(0,e.useState)(!0),r=l[0],i=l[1];return(0,e.useEffect)(function(){var t=!1;return fetch("https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json").then(function(t){return t.json()}).then(function(n){!t&&(a((0,o.Z)(n,n.objects.countries).features.filter(function(t){return"010"!==t.id})),i(!1))}
1).catch(function(t){console.error("Failed to load world atlas:",t),i(!1)}),function(){t=!0}},[]),{features:n,loading:r}}}}]);

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