PageSourceSearch

https://sms4sats.com/_next/static/chunks/897-0243a41224eb9257.js

js sms4sats.com collected 2026-10-03 19:35:02 UTC 131,072 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[897],{7370:function(e,a,t){t.d(a,{Z:function(){return g}});var r=t(5893),n=t(1664),i=t.n(n),o=t(1120),s=t(5258),c=t(3832),l=t(8358),u=t(2318),d=new TextEncoder,p=(new TextDecoder,new Uint8Array(d.encode("zDKO6XYXioc")),t(6204)),v=(0,o.Z)((function(e){return{chip:{backgroundColor:"#ebebeb",color:"#9791a1",borderRadius:".25rem",padding:"none",marginBottom:15}}})),b=function(){var e=v();return(0,r.jsx)(p.Z,{className:e.chip,label:"v0.7.14",size:"small"})},m=(0,o.Z)((function(e){return{root:{flexGrow:1},logo:{flexGrow:1,marginTop:10},links:{float:"right"},linkText:{color:"#9791a1 !important",textDecoration:"none"},button:{textTransform:"none",color:"#9791a1"}}}));function g(){var e=m();return(0,r.jsx)("div",{className:e.root,children:(0,r.jsx)(s.Z,{color:"transparent",position:"static",elevation:0,children:(0,r.jsx)(c.Z,{maxWidth:"lg",children:(0,r.jsxs)(l.Z,{children:[(0,r.jsxs)(u.Z,{variant:"h6",className:e.logo,children:[(0,r.jsx)(i(),{href:"/",children:(0,r.jsx)("a",{children:(0,r.jsx)("img",{src:"/assets/images/logo.png",alt:"logo",width:"50",height:"35"})})}),(0,r.jsx)(b,{})]}),(0,r.jsx)(u.Z,{variant:"h6",className:e.links,children:(0,r.jsx)(i(),{href:"/faq",children:(0,r.jsx)("a",{className:e.linkText,children:"FAQ"})})}),(0,r.jsx)(u.Z,{variant:"h6",className:e.links,style:{marginLeft:8},children:(0,r.jsx)(i(),{href:"https://docs.sms4sats.com",children:(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:e.linkText,children:"API"})})}),(0,r.jsx)(u.Z,{variant:"h6",className:e.links,style:{marginLeft:8},children:(0,r.jsx)(i(),{href:"https://api.sms4sats.com/skill.md",children:(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:e.linkText,children:"Agents"})})})]})})})})}},6278:function(e,a,t){t.d(a,{Z:function(){return d}});var r=t(5893),n=t(2318),i=t(1120),o=t(3832),s=t(9659),c=t(8341),l=t(3781),u=(0,i.Z)((function(e){return{root:{display:"flex",flexDirection:"column",marginTop:8},footer:{textAlign:"center",padding:e.spacing(3,2)}}}));function d(){var e=u();return(0,r.jsx)("div",{className:e.root,children:(0,r.jsx)("footer",{className:e.footer,children:(0,r.jsx)(o.Z,{maxWidth:"sm",children:(0,r.jsxs)(n.Z,{variant:"body1",style:{textAlign:"center"},children:["Need support? Get in touch",(0,r.jsx)(s.Z,{href:"https://t.me/sms4sats",target:"_blank",rel:"noopener",color:"inherit",style:{textDecoration:"none",marginLeft:"4px"},children:(0,r.jsx)(c.Z,{style:{verticalAlign:"middle"}})}),(0,r.jsx)(s.Z,{href:"mailto:[email protected]",target:"_blank",rel:"noopener",color:"inherit",style:{textDecoration:"none",marginLeft:"6px"},children:(0,r.jsx)(l.Z,{style:{verticalAlign:"middle"}})})]})})})})}},5813:function(e,a,t){t.d(a,{Z:function(){return ht}});var r=t(6042),n=t(9396),i=t(9534),o=t(5893),s=t(7294),c=t(5697),l=t.n(c),u=t(1120),d=t(5258),p=t(3832),v=t(7821),b=t(1423),m=t(7568),g=t(4924),h=t(414),y=t(5357),w=t(1594),f=t(2876),x=t(1994),k=t(282),j=t(4421),S=t(5477),Z=t(7239),C=t(2318),N=t(8936),T=t(7155),z=t(3437),I=t(1653),A=t(3468),M=(0,u.Z)((function(e){return{root:{display:"flex",justifyContent:"center",margin:e.spacing(1.5,0),width:"100%","& .lpk-trigger":{background:"transparent",border:0,borderRadius:8,color:e.palette.primary.main,fontFamily:"inherit",fontSize:"0.875rem",fontWeight:600,minHeight:44,padding:e.spacing(1,1.5),textDecoration:"underline",textUnderlineOffset:3},"& .lpk-trigger:hover":{background:e.palette.action.hover},"& .lpk-trigger:focus-visible":{outline:"3px solid ".concat(e.palette.primary.main),outlineOffset:2}}}}));function R(e){var a=e.invoice,t=M();return(0,o.jsx)("div",{className:t.root,children:(0,o.jsx)(A.Xu,{invoice:a,trigger:"button"})})}var P=Object.freeze(["aaa","aag","aaq","aat","aav","aax","aay","aaz","aba","abb","abc","abd","abe","abg","abh","abk","abl","abn","abo","abq","abt","abu","ac","acb","acc","acd","ace","aci","acm","acn","acr","acu","acw","acz","ada","adc","adi","adj","adp","adt","adu","adv","adw","ady","adz","ae","aeg","aeh","aej","ael","aem","aeq","aer","aes","aet","aeu","aex","aey","aez","afa","afc","afd","afe","aff","afn","afo","afp","afr","afs","afu","afz","aga","agb","agc","agd","agg","agh","agi","agj","agk","agl","agm","agv","agw","agx","ah","ahb","ahc","ahd","ahe","ahf","ahi","ahj","ahk","ahl","ahn","ahr","ahv","ahx","aid","aig","aih","aik","ail","aim","aiq","ais","ait","aiv","aiw","aix","aiz","ajc","aje","ajj","ajn","ajq","aju","ajv","ajy","aka","akd","akj","akl","akm","ako","akp","akr","akz","alb","alg","alj","alm","alo","alp","als","alx","aly","am","ama","amb","ami","amw","amy","amz","ana","anb","ane","ang","anh","ani","anj","anl","anm","ann","ano","anq","anw","anx","aon","aop","aq","asj","awv","awz","bc","bcq","bd","bl","bn","bo","bp","br","bv","bw","bz","cb","ccu","cj","cm","cn","co","cp","cq","cr","cw","cy","da","df","dg","dh","dj","dl","do","dp","dr","ds","dt","dy","ee","ef","ej","em","ep","et","ev","ew","ex","fb","fd","ff","fh","fk","fr","fs","ft","fu","fv","fw","fz","ge","gf","gj","gk","gm","go","gp","gq","gr","gs","gt","gx","ha","hb","hc","ht","hu","hw","hx","hy","hz","ib","ie","ig","ij","il","im","ip","ir","ja","jc","jg","ji","jl","jq","jr","js","ju","jx","jy","ka","kc","ke","kf","ki","kj","kk","kl","km","kq","kt","kv","kw","ky","lc","lf","li","lj","lm","ls","ly","ma","mb","md","me","mg","mi","mm","mo","ms","mt","mv","mw","mx","my","nc","nf","ng","nh","ni","nq","ns","nt","nv","ny","nz","oc","oe","of","oi","oj","ok","om","ot","ov","oz","pb","pc","pd","pf","pm","pr","pu","pv","py","pz","qe","qf","qg","qh","qj","qo","qq","qr","qv","qx","qy","rc","rd","re","rj","rk","rl","rn","rr","rs","rt","ry","sa","sb","sc","sd","sg","sh","si","sl","sn","
1sr","st","sv","sw","sy","ta","tc","tf","tg","ti","tk","tl","tm","tn","tp","tr","ts","tu","tw","tx","tz","ua","ub","ue","uf","ui","uk","ul","us","uu","uv","uz","vd","ve","vg","vi","vk","vm","vp","vs","vy","vz","wa","wb","wc","wd","we","wg","wh","wp","wr","wt","wu","ww","wx","xd","xh","xk","xm","xr","xs","xt","xu","xx","xy","xz","ya","yh","yi","yj","yk","yl","ym","yn","yu","yw","yx","yy","za","zb","zd","ze","zg","zh","zk","zl","zm","zn","zo","zp","zr","zs","zt","zy"]),B=Object.freeze(["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","91","92","93","94","95","96","97","99","100","101","102","103","104","105","106","107","108","109","111","112","114","115","116","117","118","119","120","121","122","123","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","154","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","177","178","179","180","181","182","183","184","185","186","187","189","190","195","196"]),q=/^[a-z0-9_-]{1,32}$/,E=/^\d{1,4}$/,_=new Set(P),O=new Set(B),D=function(e){var a=function(e){var a=(null===e||void 0===e?void 0:e.code)||(null===e||void 0===e?void 0:e.value)||(null===e||void 0===e?void 0:e.key)||e||"",t=String(a).trim().toLowerCase();return q.test(t)?t:null}(e);return a&&_.has(a)?"/assets/webp/".concat(a,"0.webp"):null},G=function(e){var a=String(null!==e&&void 0!==e?e:"").trim();return E.test(a)&&O.has(a)?"/assets/country/".concat(a,".webp"):null},L=function(e){var a=String(e||"").trim();return a?a.charAt(0).toUpperCase():"?"};function F(e){var a=e.src,t=e.label,i=e.fallback,c=e.size,l=void 0===c?28:c,u=(0,s.useState)(!a),d=u[0],p=u[1];(0,s.useEffect)((function(){p(!a)}),[a]);var v={width:l,height:l,minWidth:l,marginRight:8,borderRadius:"50%"};return d?(0,o.jsx)("span",{"aria-hidden":"true",title:"".concat(t||"Unknown"," icon unavailable"),style:(0,n.Z)((0,r.Z)({},v),{display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",background:"rgba(127, 127, 127, 0.16)",color:"inherit",fontSize:Math.max(12,Math.round(.48*l)),fontWeight:700,lineHeight:1}),children:i||L(t)}):(0,o.jsx)("img",{src:a,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",onError:function(){return p(!0)},style:(0,n.Z)((0,r.Z)({},v),{display:"inline-block",objectFit:"contain",background:"rgba(255, 255, 255, 0.9)"})})}var U=t(4811);function W(e){return H.apply(this,arguments)}function H(){return(H=(0,m.Z)((function(e){var a;return(0,h.__generator)(this,(function(t){switch(t.label){case 0:if(!window.webln)return[2,!1];t.label=1;case 1:return t.trys.push([1,4,,5]),[4,(0,U.requestProvider)()];case 2:return(a=t.sent())?[4,a.sendPayment(e)]:[2,!1];case 3:return t.sent(),[2,!0];case 4:return t.sent(),[2,!1];case 5:return[2]}}
1))}))).apply(this,arguments)}var K=[{key:"vk",text:"vk.com",value:"vk",image:{avatar:!0,src:"/assets/webp/vk0.webp"}},{key:"ok",text:"ok.ru",value:"ok",image:{avatar:!0,src:"/assets/webp/ok0.webp"}},{key:"wa",text:"Whatsapp",value:"wa",image:{avatar:!0,src:"/assets/webp/wa0.webp"}},{key:"vi",text:"Viber",value:"vi",image:{avatar:!0,src:"/assets/webp/vi0.webp"}},{key:"tg",text:"Telegram",value:"tg",image:{avatar:!0,src:"/assets/webp/tg0.webp"}},{key:"wb",text:"WeChat",value:"wb",image:{avatar:!0,src:"/assets/webp/wb0.webp"}},{key:"go",text:"Google,youtube,Gmail",value:"go",image:{avatar:!0,src:"/assets/webp/go0.webp"}},{key:"av",text:"avito",value:"av",image:{avatar:!0,src:"/assets/webp/av0.webp"}},{key:"fb",text:"facebook",value:"fb",image:{avatar:!0,src:"/assets/webp/fb0.webp"}},{key:"tw",text:"Twitter",value:"tw",image:{avatar:!0,src:"/assets/webp/tw0.webp"}},{key:"ub",text:"Uber",value:"ub",image:{avatar:!0,src:"/assets/webp/ub0.webp"}},{key:"qw",text:"Qiwi",value:"qw",image:{avatar:!0,src:"/assets/webp/qw0.webp"}},{key:"gt",text:"Gett",value:"gt",image:{avatar:!0,src:"/assets/webp/gt0.webp"}},{key:"sn",text:"OLX",value:"sn",image:{avatar:!0,src:"/assets/webp/sn0.webp"}},{key:"ig",text:"Instagram",value:"ig",image:{avatar:!0,src:"/assets/webp/ig0.webp"}},{key:"ss",text:"hezzl",value:"ss",image:{avatar:!0,src:"/assets/webp/ss0.webp"}},{key:"ym",text:"youla.ru",value:"ym",image:{avatar:!0,src:"/assets/webp/ym0.webp"}},{key:"ma",text:"Mail.ru",value:"ma",image:{avatar:!0,src:"/assets/webp/ma0.webp"}},{key:"mm",text:"Microsoft",value:"mm",image:{avatar:!0,src:"/assets/webp/mm0.webp"}},{key:"uk",text:"Airbnb",value:"uk",image:{avatar:!0,src:"/assets/webp/uk0.webp"}},{key:"me",text:"Line messenger",value:"me",image:{avatar:!0,src:"/assets/webp/me0.webp"}},{key:"mb",text:"Yahoo",value:"mb",image:{avatar:!0,src:"/assets/webp/mb0.webp"}},{key:"we",text:"DrugVokrug",value:"we",image:{avatar:!0,src:"/assets/webp/we0.webp"}},{key:"bd",text:"5ka.ru",value:"bd",image:{avatar:!0,src:"/assets/webp/bd0.webp"}},{key:"kp",text:"HQ Trivia",value:"kp",image:{avatar:!0,src:"/assets/webp/kp0.webp"}},{key:"dt",text:"Delivery Club",value:"dt",image:{avatar:!0,src:"/assets/webp/dt0.webp"}},{key:"ya",text:"Yandex",value:"ya",image:{avatar:!0,src:"/assets/webp/ya0.webp"}},{key:"mt",text:"Steam",value:"mt",image:{avatar:!0,src:"/assets/webp/mt0.webp"}},{key:"oi",text:"Tinder",value:"oi",image:{avatar:!0,src:"/assets/webp/oi0.webp"}},{key:"fd",text:"Mamba",value:"fd",image:{avatar:!0,src:"/assets/webp/fd0.webp"}},{key:"zz",text:"DENT",value:"zz",image:{avatar:!0,src:"/assets/webp/zz0.webp"}},{key:"kt",text:"KakaoTalk",value:"kt",image:{avatar:!0,src:"/assets/webp/kt0.webp"}},{key:"pm",text:"AOL",value:"pm",image:{avatar:!0,src:"/assets/webp/pm0.webp"}},{key:"tn",text:"LinkedIN",value:"tn",image:{avatar:!0,src:"/assets/webp/tn0.webp"}},{key:"qq",text:"Tencent QQ",value:"qq",image:{avatar:!0,src:"/assets/webp/qq0.webp"}},{key:"mg",text:"Magnit",value:"mg",image:{avatar:!0,src:"/assets/webp/mg0.webp"}},{key:"pf",text:"pof.com",value:"pf",image:{avatar:!0,src:"/assets/webp/pf0.webp"}},{key:"yl",text:"Yalla",value:"yl",image:{avatar:!0,src:"/assets/webp/yl0.webp"}},{key:"kl",text:"kolesa.kz",value:"kl",image:{avatar:!0,src:"/assets/webp/kl0.webp"}},{key:"po",text:"premium.one",value:"po",image:{avatar:!0,src:"/assets/webp/po0.webp"}},{key:"nv",text:"Naver",value:"nv",image:{avatar:!0,src:"/assets/webp/nv0.webp"}},{key:"nf",text:"Netflix",value:"nf",image:{avatar:!0,src:"/assets/webp/nf0.webp"}},{key:"iq",text:"icq",value:"iq",image:{avatar:!0,src:"/assets/webp/iq0.webp"}},{key:"ob",text:"Onlinerby",value:"ob",image:{avatar:!0,src:"/assets/webp/ob0.webp"}},{key:"kb",text:"kufarby",value:"kb",image:{avatar:!0,src:"/assets/webp/kb0.webp"}},{key:"im",text:"Imo",value:"im",image:{avatar:!0,src:"/assets/webp/im0.webp"}},{key:"mc",text:"Michat",value:"mc",image:{avatar:!0,src:"/assets/webp/mc0.webp"}},{key:"ds",text:"Discord",value:"ds",image:{avatar:!0,src:"/assets/webp/ds0.webp"}},{key:"vv",text:"Seosprint",value:"vv",image:{avatar:!0,src:"/assets/webp/vv0.webp"}},{key:"ji",text:"Monobank",value:"ji",image:{avatar:!0,src:"/assets/webp/ji0.webp"}},{key:"lf",text:"TikTok/Douyin",value:"lf",image:{avatar:!0,src:"/assets/webp/lf0.webp"}},{key:"hu",text:"Ukrnet",value:"hu",image:{avatar:!0,src:"/assets/webp/hu0.webp"}},{key:"wg",text:"Skout",value:"wg",image:{avatar:!0,src:"/assets/webp/wg0.webp"}},{key:"rz",text:"EasyPay",value:"rz",image:{avatar:!0,src:"/assets/webp/rz0.webp"}},{key:"vf",text:"Q12 Trivia",value:"vf",image:{avatar:!0,src:"/assets/webp/vf0.webp"}},{key:"ny",text:"Pyro Music",value:"ny",image:{avatar:!0,src:"/assets/webp/ny0.webp"}},{key:"rr",text:"Wolt",value:"rr",image:{avatar:!0,src:"/assets/webp/rr0.webp"}},{key:"fe",text:"CliQQ",value:"fe",image:{avatar:!0,src:"/assets/webp/fe0.webp"}},{key:"la",text:"ssoidnet",value:"la",image:{avatar:!0,src:"/assets/webp/la0.webp"}},{key:"zh",text:"Zoho",value:"zh",image:{avatar:!0,src:"/assets/webp/zh0.webp"}},{key:"gp",text:"Ticketmaster",value:"gp",image:{avatar:!0,src:"/assets/webp/gp0.webp"}},{key:"am",text:"Amazon",value:"am",image:{avatar:!0,src:"/assets/webp/am0.webp"}},{key:"ly",text:"Olacabs",value:"ly",image:{avatar:!0,src:"/assets/webp/ly0.webp"}},{key:"tc",text:"Rambler",value:"tc",image:{avatar:!0,src:"/assets/webp/tc0.webp"}},{key:"dp",text:"ProtonMail",value:"dp",image:{avatar:!0,src:"/assets/webp/dp0.webp"}},{key:"pg",text:"NRJ Music Awards",value:"pg",image:{avatar:!0,src:"/assets/webp/pg
10.webp"}},{key:"yf",text:"Citymobil",value:"yf",image:{avatar:!0,src:"/assets/webp/yf0.webp"}},{key:"op",text:"MIRATORG",value:"op",image:{avatar:!0,src:"/assets/webp/op0.webp"}},{key:"fx",text:"PGbonus",value:"fx",image:{avatar:!0,src:"/assets/webp/fx0.webp"}},{key:"qr",text:"MEGA",value:"qr",image:{avatar:!0,src:"/assets/webp/qr0.webp"}},{key:"yk",text:"\u0421\u043f\u043e\u0440\u0442\u041c\u0430\u0441\u0442\u0435\u0440",value:"yk",image:{avatar:!0,src:"/assets/webp/yk0.webp"}},{key:"ls",text:"Careem",value:"ls",image:{avatar:!0,src:"/assets/webp/ls0.webp"}},{key:"bl",text:"BIGO LIVE",value:"bl",image:{avatar:!0,src:"/assets/webp/bl0.webp"}},{key:"mu",text:"MyMusicTaste",value:"mu",image:{avatar:!0,src:"/assets/webp/mu0.webp"}},{key:"fu",text:"Snapchat",value:"fu",image:{avatar:!0,src:"/assets/webp/fu0.webp"}},{key:"bf",text:"Keybase",value:"bf",image:{avatar:!0,src:"/assets/webp/bf0.webp"}},{key:"sg",text:"OZON",value:"sg",image:{avatar:!0,src:"/assets/webp/sg0.webp"}},{key:"uu",text:"Wildberries",value:"uu",image:{avatar:!0,src:"/assets/webp/uu0.webp"}},{key:"ua",text:"BlaBlaCar",value:"ua",image:{avatar:!0,src:"/assets/webp/ua0.webp"}},{key:"ab",text:"Alibaba",value:"ab",image:{avatar:!0,src:"/assets/webp/ab0.webp"}},{key:"iv",text:"Inboxlv",value:"iv",image:{avatar:!0,src:"/assets/webp/iv0.webp"}},{key:"zy",text:"Nttgame",value:"zy",image:{avatar:!0,src:"/assets/webp/zy0.webp"}},{key:"gd",text:"Surveytime",value:"gd",image:{avatar:!0,src:"/assets/webp/gd0.webp"}},{key:"fy",text:"Mylove",value:"fy",image:{avatar:!0,src:"/assets/webp/fy0.webp"}},{key:"ce",text:"mosru",value:"ce",image:{avatar:!0,src:"/assets/webp/ce0.webp"}},{key:"tl",text:"Truecaller",value:"tl",image:{avatar:!0,src:"/assets/webp/tl0.webp"}},{key:"hm",text:"Globus",value:"hm",image:{avatar:!0,src:"/assets/webp/hm0.webp"}},{key:"tx",text:"Bolt",value:"tx",image:{avatar:!0,src:"/assets/webp/tx0.webp"}},{key:"ka",text:"Shopee",value:"ka",image:{avatar:!0,src:"/assets/webp/ka0.webp"}},{key:"pl",text:"\u041f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u043e\u043a",value:"pl",image:{avatar:!0,src:"/assets/webp/pl0.webp"}},{key:"ip",text:"Burger King",value:"ip",image:{avatar:!0,src:"/assets/webp/ip0.webp"}},{key:"cm",text:"Prom",value:"cm",image:{avatar:!0,src:"/assets/webp/cm0.webp"}},{key:"hw",text:"AliPay",value:"hw",image:{avatar:!0,src:"/assets/webp/hw0.webp"}},{key:"de",text:"Karusel",value:"de",image:{avatar:!0,src:"/assets/webp/de0.webp"}},{key:"jc",text:"IVI",value:"jc",image:{avatar:!0,src:"/assets/webp/jc0.webp"}},{key:"rl",text:"inDriver",value:"rl",image:{avatar:!0,src:"/assets/webp/rl0.webp"}},{key:"df",text:"Happn",value:"df",image:{avatar:!0,src:"/assets/webp/df0.webp"}},{key:"ui",text:"RuTube",value:"ui",image:{avatar:!0,src:"/assets/webp/ui0.webp"}},{key:"up",text:"Magnolia",value:"up",image:{avatar:!0,src:"/assets/webp/up0.webp"}},{key:"nz",text:"Foodpanda",value:"nz",image:{avatar:!0,src:"/assets/webp/nz0.webp"}},{key:"kf",text:"Weibo",value:"kf",image:{avatar:!0,src:"/assets/webp/kf0.webp"}},{key:"ri",text:"BillMill",value:"ri",image:{avatar:!0,src:"/assets/webp/ri0.webp"}},{key:"cc",text:"Quipp",value:"cc",image:{avatar:!0,src:"/assets/webp/cc0.webp"}},{key:"lr",text:"Okta",value:"lr",image:{avatar:!0,src:"/assets/webp/lr0.webp"}},{key:"za",text:"JDcom",value:"za",image:{avatar:!0,src:"/assets/webp/za0.webp"}},{key:"da",text:"MTS CashBack",value:"da",image:{avatar:!0,src:"/assets/webp/da0.webp"}},{key:"ug",text:"Fiqsy",value:"ug",image:{avatar:!0,src:"/assets/webp/ug0.webp"}},{key:"sq",text:"KuCoinPlay",value:"sq",image:{avatar:!0,src:"/assets/webp/sq0.webp"}},{key:"zr",text:"Papara",value:"zr",image:{avatar:!0,src:"/assets/webp/zr0.webp"}},{key:"xv",text:"Wish",value:"xv",image:{avatar:!0,src:"/assets/webp/xv0.webp"}},{key:"cx",text:"Icrypex",value:"cx",image:{avatar:!0,src:"/assets/webp/cx0.webp"}},{key:"cw",text:"PaddyPower",value:"cw",image:{avatar:!0,src:"/assets/webp/cw0.webp"}},{key:"li",text:"Baidu",value:"li",image:{avatar:!0,src:"/assets/webp/li0.webp"}},{key:"dz",text:"Dominos Pizza",value:"dz",image:{avatar:!0,src:"/assets/webp/dz0.webp"}},{key:"xz",text:"paycell",value:"xz",image:{avatar:!0,src:"/assets/webp/xz0.webp"}},{key:"rd",text:"Lenta",value:"rd",image:{avatar:!0,src:"/assets/webp/rd0.webp"}},{key:"qb",text:"Payberry",value:"qb",image:{avatar:!0,src:"/assets/webp/qb0.webp"}},{key:"hz",text:"Drom",value:"hz",image:{avatar:!0,src:"/assets/webp/hz0.webp"}},{key:"gl",text:"GlobalTel",value:"gl",image:{avatar:!0,src:"/assets/webp/gl0.webp"}},{key:"zk",text:"Deliveroo",value:"zk",image:{avatar:!0,src:"/assets/webp/zk0.webp"}},{key:"ia",text:"Socios",value:"ia",image:{avatar:!0,src:"/assets/webp/ia0.webp"}},{key:"xl",text:"Wmaraci",value:"xl",image:{avatar:!0,src:"/assets/webp/xl0.webp"}},{key:"yi",text:"Yemeksepeti",value:"yi",image:{avatar:!0,src:"/assets/webp/yi0.webp"}},{key:"ew",text:"Nike",value:"ew",image:{avatar:!0,src:"/assets/webp/ew0.webp"}},{key:"ae",text:"myGLO",value:"ae",image:{avatar:!0,src:"/assets/webp/ae0.webp"}},{key:"gb",text:"YouStar",value:"gb",image:{avatar:!0,src:"/assets/webp/gb0.webp"}},{key:"cy",text:"\u0420\u0421\u0410",value:"cy",image:{avatar:!0,src:"/assets/webp/cy0.webp"}},{key:"qm",text:"RosaKhutor",value:"qm",image:{avatar:!0,src:"/assets/webp/qm0.webp"}},{key:"dh",text:"eBay",value:"dh",image:{avatar:!0,src:"/assets/webp/dh0.webp"}},{key:"yb",text:"\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0413\u043e\u0440\u043e\u0434",value:"yb",image:{avatar:!0,src:"/assets/webp/yb0.webp"}},{key:"qe",text:"GG",value:"qe",image:{avatar:!0,src:"/assets/webp/qe0.webp"}},{key:"yw",text:"Grindr",value:"yw",image:{avatar:!0,src:"/assets/webp/yw0.webp"}},{key:"uz",text:"OffGamers",value:"uz",image:{avatar:!0,src:"/assets/webp/uz0.webp"}},{key:"gx",text:"Hepsiburadacom",value:"gx",image:{avatar:!0,src:"/assets/webp/gx0.webp"}},{key:"re",text:"Coinbase",value:"re",image:{avatar:!0,src:"/assets/webp/re0.webp"}},{key:"tj",text:"dbrUA",value:"tj",image:{avatar:!0,src:"/assets/webp/tj0.webp"}},{key:"ts",text:"PayPal",value:"ts",image:{avatar:!0,src:"/assets/webp/ts0.webp"}},{key:"rt",text:"hily",value:"rt",image:{avatar:!0,src:"/assets/webp/rt0.webp"}},{key:"sf",text:"SneakersnStuff",value:"sf",image:{avatar:!0,src:"/assets/webp/sf0.webp"}},{key:"sv",text:"Dostavista",value:"sv",image:{avatar:!0,src:"/assets/webp/sv0.webp"}},{key:"qi",text:"32red",value:"qi",image:{avatar:!0,src:"/assets/webp/qi0.webp"}},{key:"bz",text:"Blizzard",value:"bz",image:{avatar:!0,src:"/assets/webp/bz0.webp"}},{key:"db",text:"ezbuy",value:"db",image:{avatar:!0,src:"/assets/webp/db0.webp"}},{key:"vw",text:"CoinField",value:"vw",image:{avatar:!0,src:"/assets/webp/vw0.webp"}},{key:"zl",text:"Airtel",value:"zl",image:{avatar:!0,src:"/assets/webp/zl0.webp"}},{key:"wf",text:"YandexGo",value:"wf",image:{avatar:!0,src:"/assets/webp/wf0.webp"}},{key:"lw",text:"MrGreen",value:"lw",image:{avatar:!0,src:"/assets/webp/lw0.webp"}},{key:"co",text:"Rediffmail",value:"co",image:{avatar:!0,src:"/assets/webp/co0.webp"}},{key:"ey",text:"miloan",value:"ey",image:{avatar:!0,src:"/assets/webp/ey0.webp"}},{key:"ge",text:"Paytm",value:"ge",image:{avatar:!0,src:"/assets/webp/ge0.webp"}},{key:"os",text:"Dhani",value:"os",image:{avatar:!0,src:"/assets/webp/os0.webp"}},{key:"ql",text:"CMTcuzdan",value:"ql",image:{avatar:!0,src:"/assets/webp/ql0.webp"}},{key:"cq",text:"Mercado",value:"cq",image:{avatar:!0,src:"/assets/webp/cq0.webp"}},{key:"xk",text:"DiDi",value:"xk",image:{avatar:!0,src:"/assets/webp/xk0.webp"}},{key:"py",text:"Monese",value:"py",image:{avatar:!0,src:"/assets/webp/py0.webp"}},{key:"rv",text:"Kotak811",value:"rv",image:{avatar:!0,src:"/assets/webp/rv0.webp"}},{key:"jl",text:"Hopi",value:"jl",image:{avatar:!0,src:"/assets/webp/jl0.webp"}},{key:"pr",text:"Trendyol",value:"pr",image:{avatar:!0,src:"/assets/webp/pr0.webp"}},{key:"pu",text:"Justdating",value:"pu",image:{avatar:!0,src:"/assets/webp/pu0.webp"}},{key:"dk",text:"Pairs",value:"dk",image:{avatar:!0,src:"/assets/webp/dk0.webp"}},{key:"fm",text:"Touchance",value:"fm",image:{avatar:!0,src:"/assets/webp/fm0.webp"}},{key:"sw",text:"NCsoft",value:"sw",image:{avatar:!0,src:"/assets/webp/sw0.webp"}},{key:"nr",text:"Tosla",value:"nr",image:{avatar:!0,src:"/assets/webp/nr0.webp"}},{key:"hy",text:"Ininal",value:"hy",image:{avatar:!0,src:"/assets/webp/hy0.webp"}},{key:"tr",text:"Paysend",value:"tr",image:{avatar:!0,src:"/assets/webp/tr0.webp"}},{key:"pq",text:"CDkeys",value:"pq",image:{avatar:!0,src:"/assets/webp/pq0.webp"}},{key:"ff",text:"AVON",value:"ff",image:{avatar:!0,src:"/assets/webp/ff0.webp"}},{key:"sd",text:"dodopizza",value:"sd",image:{avatar:!0,src:"/assets/webp/sd0.webp"}},{key:"ry",text:"McDonalds",value:"ry",image:{avatar:!0,src:"/assets/webp/ry0.webp"}},{key:"le",text:"E bike Gewinnspiel",value:"le",image:{avatar:!0,src:"/assets/webp/le0.webp"}},{key:"hr",text:"JKF",value:"hr",image:{avatar:!0,src:"/assets/webp/hr0.webp"}},{key:"qa",text:"MyFishka",value:"qa",image:{avatar:!0,src:"/assets/webp/qa0.webp"}},{key:"wc",text:"Craigslist",value:"wc",image:{avatar:!0,src:"/assets/webp/wc0.webp"}},{key:"kw",text:"Foody",value:"kw",image:{avatar:!0,src:"/assets/webp/kw0.webp"}},{key:"jg",text:"Grab",value:"jg",image:{avatar:!0,src:"/assets/webp/jg0.webp"}},{key:"mj",text:"Zalo",value:"mj",image:{avatar:!0,src:"/assets/webp/mj0.webp"}},{key:"eu",text:"LiveScore",value:"eu",image:{avatar:!0,src:"/assets/webp/eu0.webp"}},{key:"ll",text:"888casino",value:"ll",image:{avatar:!0,src:"/assets/webp/ll0.webp"}},{key:"ed",text:"Gamer",value:"ed",image:{avatar:!0,src:"/assets/webp/ed0.webp"}},{key:"pp",text:"Huya",value:"pp",image:{avatar:!0,src:"/assets/webp/pp0.webp"}},{key:"th",text:"WestStein",value:"th",image:{avatar:!0,src:"/assets/webp/th0.webp"}},{key:"xr",text:"Tango",value:"xr",image:{avatar:!0,src:"/assets/webp/xr0.webp"}},{key:"iz",text:"Global24",value:"iz",image:{avatar:!0,src:"/assets/webp/iz0.webp"}},{key:"tk",text:"\u041c\u0412\u0438\u0434\u0435\u043e",value:"tk",image:{avatar:!0,src:"/assets/webp/tk0.webp"}},{key:"rx",text:"Sheerid",value:"rx",image:{avatar:!0,src:"/assets/webp/rx0.webp"}},{key:"ki",text:"99app",value:"ki",image:{avatar:!0,src:"/assets/webp/ki0.webp"}},{key:"my",text:"CAIXA",value:"my",image:{avatar:!0,src:"/assets/webp/my0.webp"}},{key:"zm",text:"OfferUp",value:"zm",image:{avatar:!0,src:"/assets/webp/zm0.webp"}},{key:"tq",text:"Swvl",value:"tq",image:{avatar:!0,src:"/assets/webp/tq0.webp"}},{key:"au",text:"Haraj",value:"au",image:{avatar:!0,src:"/assets/webp/au0.webp"}},{key:"ei",text:"Taksheel",value:"ei",image:{avatar:!0,src:"/assets/webp/ei0.webp"}},{key:"rp",text:"hamrahaval",value:"rp",image:{avatar:!0,src:"/assets/webp/rp0.webp"}},{key:"pa",text:"Gamekit",value:"pa",image:{avatar:!0,src:"/assets/webp/pa0.webp"}},{key:"fs",text:"\u015eikayet var",value:"fs",image:{avatar:!0,src:"/assets/webp/fs0.webp"}},{key:"ul",text:"Getir",value:"ul",image:{avatar:!0,src:"/assets/webp/ul0.webp"}},{key:"cf",text:"irancell",value:"cf",image:{avatar:!0,src:"/assets/webp/cf0.webp"}},{key:"bt",text:"Alfa",value:"bt",image:{avatar:!0,src:"/assets/webp/bt0.webp"}},{key:"ud",text:"Disney Hotstar",value:"ud",image:{avatar:!0,src:"/assets/webp/ud0.webp"}},{key:"qu",text:"Agroinform",value:"qu",image:{avatar:!0,src:"/assets/webp/qu0.webp"}},{key:"un",text:"humblebundle",value:"un",image:{avatar:!0,src:"/assets/webp/un0.webp"}},{key:"rm",text:"Faberlic",value:"rm",image:{avatar:!0,src:"/assets/webp/rm0.webp"}},{key:"uo",text:"CafeBazaar",value:"uo",image:{avatar:!0,src:"/assets/webp/uo0.webp"}},{key:"ti",text:"cryptocom",value:"ti",image:{avatar:!0,src:"/assets/webp/ti0.webp"}},{key:"nk",text:"Gittigidiyor",value:"nk",image:{avatar:!0,src:"/assets/webp/nk0.webp"}},{key:"jm",text:"mzadqatar",value:"jm",image:{avatar:!0,src:"/assets/webp/jm0.webp"}},{key:"lp",text:"Algida",value:"lp",image:{avatar:!0,src:"/assets/webp/lp0.webp"}},{key:"si",text:"Cita Previa",value:"si",image:{avatar:!0,src:"/assets/webp/si0.webp"}},{key:"fj",text:"Potato Chat",value:"fj",image:{avatar:!0,src:"/assets/webp/fj0.webp"}},{key:"pt",text:"Bitaqaty",value:"pt",image:{avatar:!0,src:"/assets/webp/pt0.webp"}},{key:"qc",text:"\u041f\u0440\u0430\u0439\u043c\u0435\u0440\u0438\u0437 2020",value:"qc",
1image:{avatar:!0,src:"/assets/webp/qc0.webp"}},{key:"yo",text:"Amasia",value:"yo",image:{avatar:!0,src:"/assets/webp/yo0.webp"}},{key:"ve",text:"Dream11",value:"ve",image:{avatar:!0,src:"/assets/webp/ve0.webp"}},{key:"qh",text:"Oriflame",value:"qh",image:{avatar:!0,src:"/assets/webp/qh0.webp"}},{key:"iu",text:"Bykea",value:"iu",image:{avatar:!0,src:"/assets/webp/iu0.webp"}},{key:"ib",text:"Immowelt",value:"ib",image:{avatar:!0,src:"/assets/webp/ib0.webp"}},{key:"zv",text:"Digikala",value:"zv",image:{avatar:!0,src:"/assets/webp/zv0.webp"}},{key:"vn",text:"Yaay",value:"vn",image:{avatar:!0,src:"/assets/webp/vn0.webp"}},{key:"wn",text:"GameArena",value:"wn",image:{avatar:!0,src:"/assets/webp/wn0.webp"}},{key:"bj",text:"\u0412\u0438\u0442\u0430 \u044d\u043a\u0441\u043f\u0440\u0435\u0441\u0441",value:"bj",image:{avatar:!0,src:"/assets/webp/bj0.webp"}},{key:"st",text:"Auchan",value:"st",image:{avatar:!0,src:"/assets/webp/st0.webp"}},{key:"ev",text:"Picpay",value:"ev",image:{avatar:!0,src:"/assets/webp/ev0.webp"}},{key:"cd",text:"SpotHit",value:"cd",image:{avatar:!0,src:"/assets/webp/cd0.webp"}},{key:"vo",text:"Brand20ua",value:"vo",image:{avatar:!0,src:"/assets/webp/vo0.webp"}},{key:"il",text:"IQOS",value:"il",image:{avatar:!0,src:"/assets/webp/il0.webp"}},{key:"dx",text:"Powerkredite",value:"dx",image:{avatar:!0,src:"/assets/webp/dx0.webp"}},{key:"el",text:"Bisu",value:"el",image:{avatar:!0,src:"/assets/webp/el0.webp"}},{key:"dn",text:"Paxful",value:"dn",image:{avatar:!0,src:"/assets/webp/dn0.webp"}},{key:"lk",text:"PurePlatfrom",value:"lk",image:{avatar:!0,src:"/assets/webp/lk0.webp"}},{key:"vc",text:"Banqi",value:"vc",image:{avatar:!0,src:"/assets/webp/vc0.webp"}},{key:"wj",text:"1\u0445bet",value:"wj",image:{avatar:!0,src:"/assets/webp/wj0.webp"}},{key:"jj",text:"Aitu",value:"jj",image:{avatar:!0,src:"/assets/webp/jj0.webp"}},{key:"an",text:"Adidas",value:"an",image:{avatar:!0,src:"/assets/webp/an0.webp"}},{key:"jr",text:"\u0421\u0430\u043c\u043e\u043a\u0430\u0442",value:"jr",image:{avatar:!0,src:"/assets/webp/jr0.webp"}},{key:"nb",text:"\u0412\u0435\u0440\u043d\u044b\u0439",value:"nb",image:{avatar:!0,src:"/assets/webp/nb0.webp"}},{key:"gv",text:"Humta",value:"gv",image:{avatar:!0,src:"/assets/webp/gv0.webp"}},{key:"dw",text:"Divar",value:"dw",image:{avatar:!0,src:"/assets/webp/dw0.webp"}},{key:"gj",text:"Carousell",value:"gj",image:{avatar:!0,src:"/assets/webp/gj0.webp"}},{key:"hc",text:"MOMO",value:"hc",image:{avatar:!0,src:"/assets/webp/hc0.webp"}},{key:"uf",text:"Eneba",value:"uf",image:{avatar:!0,src:"/assets/webp/uf0.webp"}},{key:"kn",text:"Verse",value:"kn",image:{avatar:!0,src:"/assets/webp/kn0.webp"}},{key:"qd",text:"Taobao",value:"qd",image:{avatar:!0,src:"/assets/webp/qd0.webp"}},{key:"hn",text:"1688",value:"hn",image:{avatar:!0,src:"/assets/webp/hn0.webp"}},{key:"zf",text:"OnTaxi",value:"zf",image:{avatar:!0,src:"/assets/webp/zf0.webp"}},{key:"gi",text:"Hotline",value:"gi",image:{avatar:!0,src:"/assets/webp/gi0.webp"}},{key:"uc",text:"Tatneft",value:"uc",image:{avatar:!0,src:"/assets/webp/uc0.webp"}},{key:"mn",text:"RRSA",value:"mn",image:{avatar:!0,src:"/assets/webp/mn0.webp"}},{key:"ak",text:"Douyu",value:"ak",image:{avatar:!0,src:"/assets/webp/ak0.webp"}},{key:"cp",text:"Uklon",value:"cp",image:{avatar:!0,src:"/assets/webp/cp0.webp"}},{key:"qo",text:"Moneylion",value:"qo",image:{avatar:!0,src:"/assets/webp/qo0.webp"}},{key:"wx",text:"Apple",value:"wx",image:{avatar:!0,src:"/assets/webp/wx0.webp"}},{key:"et",text:"Clubhouse",value:"et",image:{avatar:!0,src:"/assets/webp/et0.webp"}},{key:"px",text:"Nifty",value:"px",image:{avatar:!0,src:"/assets/webp/px0.webp"}},{key:"jh",text:"PingPong",value:"jh",image:{avatar:!0,src:"/assets/webp/jh0.webp"}},{key:"lb",text:"Mailru Group",value:"lb",image:{avatar:!0,src:"/assets/webp/lb0.webp"}},{key:"lt",text:"BitClout",value:"lt",image:{avatar:!0,src:"/assets/webp/lt0.webp"}},{key:"sk",text:"Skroutz",value:"sk",image:{avatar:!0,src:"/assets/webp/sk0.webp"}},{key:"oh",text:"MapleSEA",value:"oh",image:{avatar:!0,src:"/assets/webp/oh0.webp"}},{key:"km",text:"Rozetka",value:"km",image:{avatar:!0,src:"/assets/webp/km0.webp"}},{key:"af",text:"GalaxyWin",value:"af",image:{avatar:!0,src:"/assets/webp/af0.webp"}},{key:"tt",text:"Ziglu",value:"tt",image:{avatar:!0,src:"/assets/webp/tt0.webp"}},{key:"jf",text:"Likee",value:"jf",image:{avatar:!0,src:"/assets/webp/jf0.webp"}},{key:"az",text:"CityBase",value:"az",image:{avatar:!0,src:"/assets/webp/az0.webp"}},{key:"yn",text:"Allegro",value:"yn",image:{avatar:!0,src:"/assets/webp/yn0.webp"}},{key:"wl",text:"YouGotaGift",value:"wl",image:{avatar:!0,src:"/assets/webp/wl0.webp"}},{key:"dl",text:"Lazada",value:"dl",image:{avatar:!0,src:"/assets/webp/dl0.webp"}},{key:"gc",text:"TradingView",value:"gc",image:{avatar:!0,src:"/assets/webp/gc0.webp"}},{key:"cn",text:"Fiverr",value:"cn",image:{avatar:!0,src:"/assets/webp/cn0.webp"}},{key:"ou",text:"Gabi",value:"ou",image:{avatar:!0,src:"/assets/webp/ou0.webp"}},{key:"vp",text:"Kwai",value:"vp",image:{avatar:!0,src:"/assets/webp/vp0.webp"}},{key:"rj",text:"\u0414\u0435\u0442\u0441\u043a\u0438\u0439 \u043c\u0438\u0440",value:"rj",
1image:{avatar:!0,src:"/assets/webp/rj0.webp"}},{key:"uh",text:"Yubo",value:"uh",image:{avatar:!0,src:"/assets/webp/uh0.webp"}},{key:"es",text:"iQIYI",value:"es",image:{avatar:!0,src:"/assets/webp/es0.webp"}},{key:"be",text:"goods",value:"be",image:{avatar:!0,src:"/assets/webp/be0.webp"}},{key:"aq",text:"Glovo",value:"aq",image:{avatar:!0,src:"/assets/webp/aq0.webp"}},{key:"pd",text:"IFood",value:"pd",image:{avatar:!0,src:"/assets/webp/pd0.webp"}},{key:"zw",text:"Quack",value:"zw",image:{avatar:!0,src:"/assets/webp/zw0.webp"}},{key:"gm",text:"Mocospace",value:"gm",image:{avatar:!0,src:"/assets/webp/gm0.webp"}},{key:"fi",text:"Dundle",value:"fi",image:{avatar:!0,src:"/assets/webp/fi0.webp"}},{key:"hg",text:"Switips",value:"hg",image:{avatar:!0,src:"/assets/webp/hg0.webp"}},{key:"qz",text:"Faceit",value:"qz",image:{avatar:!0,src:"/assets/webp/qz0.webp"}},{key:"gz",text:"LYKA",value:"gz",image:{avatar:!0,src:"/assets/webp/gz0.webp"}},{key:"jq",text:"Paysafecard",value:"jq",image:{avatar:!0,src:"/assets/webp/jq0.webp"}},{key:"ue",text:"Onet",value:"ue",image:{avatar:!0,src:"/assets/webp/ue0.webp"}},{key:"xf",text:"LightChat",value:"xf",image:{avatar:!0,src:"/assets/webp/xf0.webp"}},{key:"bp",text:"GoFundMe",value:"bp",image:{avatar:!0,src:"/assets/webp/bp0.webp"}},{key:"vy",text:"Meta",value:"vy",image:{avatar:!0,src:"/assets/webp/vy0.webp"}},{key:"ea",text:"JamesDelivery",value:"ea",image:{avatar:!0,src:"/assets/webp/ea0.webp"}},{key:"hj",text:"Stoloto",value:"hj",image:{avatar:!0,src:"/assets/webp/hj0.webp"}},{key:"sh",text:"Vkusvill",value:"sh",image:{avatar:!0,src:"/assets/webp/sh0.webp"}},{key:"vg",text:"ShellBox",value:"vg",image:{avatar:!0,src:"/assets/webp/vg0.webp"}},{key:"qf",text:"RedBook",value:"qf",image:{avatar:!0,src:"/assets/webp/qf0.webp"}},{key:"nq",text:"Trip",value:"nq",image:{avatar:!0,src:"/assets/webp/nq0.webp"}},{key:"ww",text:"BIP",value:"ww",image:{avatar:!0,src:"/assets/webp/ww0.webp"}},{key:"ke",text:"\u042d\u043b\u044c\u0434\u043e\u0440\u0430\u0434\u043e",value:"ke",image:{avatar:!0,src:"/assets/webp/ke0.webp"}},{key:"qj",text:"Whoosh",value:"qj",image:{avatar:!0,src:"/assets/webp/qj0.webp"}},{key:"ol",text:"KazanExpress",value:"ol",image:{avatar:!0,src:"/assets/webp/ol0.webp"}},{key:"tm",text:"Akulaku",value:"tm",image:{avatar:!0,src:"/assets/webp/tm0.webp"}},{key:"ra",text:"KeyPay",value:"ra",image:{avatar:!0,src:"/assets/webp/ra0.webp"}},{key:"xj",text:"\u0421\u0431\u0435\u0440\u041c\u0430\u0440\u043a\u0435\u0442",value:"xj",image:{avatar:!0,src:"/assets/webp/xj0.webp"}},{key:"vd",text:"Betfair",value:"vd",image:{avatar:!0,src:"/assets/webp/vd0.webp"}},{key:"ni",text:"Gojek",value:"ni",image:{avatar:!0,src:"/assets/webp/ni0.webp"}},{key:"mr",text:"Fastmail",value:"mr",image:{avatar:!0,src:"/assets/webp/mr0.webp"}},{key:"hx",text:"AliExpress",value:"hx",image:{avatar:!0,src:"/assets/webp/hx0.webp"}},{key:"bv",text:"Metro",value:"bv",image:{avatar:!0,src:"/assets/webp/bv0.webp"}},{key:"sj",text:"HandyPick",value:"sj",image:{avatar:!0,src:"/assets/webp/sj0.webp"}},{key:"td",text:"ChaingeFinance",value:"td",image:{avatar:!0,src:"/assets/webp/td0.webp"}},{key:"dm",text:"Iwplay",value:"dm",image:{avatar:!0,src:"/assets/webp/dm0.webp"}},{key:"xs",text:"GroupMe",value:"xs",image:{avatar:!0,src:"/assets/webp/xs0.webp"}},{key:"kz",text:"NimoTV",value:"kz",image:{avatar:!0,src:"/assets/webp/kz0.webp"}},{key:"nu",text:"Stripe",value:"nu",image:{avatar:!0,src:"/assets/webp/nu0.webp"}},{key:"kr",text:"Eyecon",value:"kr",image:{avatar:!0,src:"/assets/webp/kr0.webp"}},{key:"pz",text:"Lidl",value:"pz",image:{avatar:!0,src:"/assets/webp/pz0.webp"}},{key:"hb",text:"Twitch",value:"hb",image:{avatar:!0,src:"/assets/webp/hb0.webp"}},{key:"xe",text:"GalaxyChat",value:"xe",image:{avatar:!0,src:"/assets/webp/xe0.webp"}},{key:"io",text:"\u0417\u0434\u0440\u0430\u0432\u0421\u0438\u0442\u0438",value:"io",image:{avatar:!0,src:"/assets/webp/io0.webp"}},{key:"ad",text:"Iti",value:"ad",image:{avatar:!0,src:"/assets/webp/ad0.webp"}},{key:"zg",text:"Setel",value:"zg",image:{avatar:!0,src:"/assets/webp/zg0.webp"}},{key:"ij",text:"Revolut",value:"ij",image:{avatar:!0,src:"/assets/webp/ij0.webp"}},{key:"sl",text:"\u0421\u0431\u0435\u0440\u0410\u043f\u0442\u0435\u043a\u0430",value:"sl",image:{avatar:!0,src:"/assets/webp/sl0.webp"}},{key:"wp",text:"163\u0421OM",value:"wp",image:{avatar:!0,src:"/assets/webp/wp0.webp"}},{key:"en",text:"Hermes",value:"en",image:{avatar:!0,src:"/assets/webp/en0.webp"}},{key:"zo",text:"Kaggle",value:"zo",image:{avatar:!0,src:"/assets/webp/zo0.webp"}},{key:"vx",text:"HeyBox",value:"vx",image:{avatar:!0,src:"/assets/webp/vx0.webp"}},{key:"uj",text:"\u0421hampion\u0421asino",value:"uj",image:{avatar:!0,src:"/assets/webp/uj0.webp"}},{key:"ga",text:"Roposo",value:"ga",image:{avatar:!0,src:"/assets/webp/ga0.webp"}},{key:"dr",text:"OpenAI",value:"dr",image:{avatar:!0,src:"/assets/webp/dr0.webp"}},{key:"atw",text:"DeepSeek",value:"atw",image:{avatar:!0,src:"/assets/webp/atw0.webp"}},{key:"acz",text:"Claude",value:"acz",image:{avatar:!0,src:"/assets/webp/acz0.webp"}},{key:"ot",text:"Any other",value:"ot",image:{avatar:!0,src:"/assets/webp/ot0.webp"}}],V=[{cc:0,country:"Russia"},{cc:0,country:"Russian"},{cc:0,country:"Russian Federation"},{cc:1,country:"Ukraine"},{cc:2,country:"Kazakhstan"},{cc:3,country:"China"},{cc:4,country:"Philippines"},{cc:5,country:"Myanmar"}
1,{cc:6,country:"Indonesia"},{cc:7,country:"Malaysia"},{cc:8,country:"Kenya"},{cc:9,country:"Tanzania"},{cc:10,country:"Vietnam"},{cc:11,country:"Kyrgyzstan"},{cc:12,country:"USA (virtual)"},{cc:13,country:"Israel"},{cc:14,country:"HongKong"},{cc:15,country:"Poland"},{cc:16,country:"England"},{cc:16,country:"United Kingdom"},{cc:18,country:"DCongo"},{cc:19,country:"Nigeria"},{cc:20,country:"Macao"},{cc:21,country:"Egypt"},{cc:22,country:"India"},{cc:23,country:"Ireland"},{cc:24,country:"Cambodia"},{cc:25,country:"Laos"},{cc:26,country:"Haiti"},{cc:27,country:"Ivory"},{cc:28,country:"Gambia"},{cc:29,country:"Serbia"},{cc:30,country:"Yemen"},{cc:31,country:"Southafrica"},{cc:31,country:"South Africa"},{cc:32,country:"Romania"},{cc:33,country:"Colombia"},{cc:34,country:"Estonia"},{cc:36,country:"Canada"},{cc:37,country:"Morocco"},{cc:38,country:"Ghana"},{cc:39,country:"Argentina"},{cc:40,country:"Uzbekistan"},{cc:41,country:"Cameroon"},{cc:42,country:"Chad"},{cc:43,country:"Germany"},{cc:44,country:"Lithuania"},{cc:45,country:"Croatia"},{cc:46,country:"Sweden"},{cc:47,country:"Iraq"},{cc:48,country:"Netherlands"},{cc:49,country:"Latvia"},{cc:50,country:"Austria"},{cc:51,country:"Belarus"},{cc:52,country:"Thailand"},{cc:53,country:"Saudiarabia"},{cc:54,country:"Mexico"},{cc:55,country:"Taiwan"},{cc:56,country:"Spain"},{cc:58,country:"Algeria"},{cc:59,country:"Slovenia"},{cc:60,country:"Bangladesh"},{cc:61,country:"Senegal"},{cc:62,country:"Turkey"},{cc:63,country:"Czech"},{cc:63,country:"Czech Republic"},{cc:64,country:"Srilanka"},{cc:65,country:"Peru"},{cc:66,country:"Pakistan"},{cc:67,country:"Newzealand"},{cc:67,country:"New Zealand"},{cc:68,country:"Guinea"},{cc:69,country:"Mali"},{cc:70,country:"Venezuela"},{cc:71,country:"Ethiopia"},{cc:72,country:"Mongolia"},{cc:73,country:"Brazil"},{cc:74,country:"Afghanistan"},{cc:75,country:"Uganda"},{cc:76,country:"Angola"},{cc:77,country:"Cyprus"},{cc:78,country:"France"},{cc:79,country:"Papua"},{cc:80,country:"Mozambique"},{cc:81,country:"Nepal"},{cc:82,country:"Belgium"},{cc:83,country:"Bulgaria"},{cc:84,country:"Hungary"},{cc:85,country:"Moldova"},{cc:85,country:"Moldova, Republic of"},{cc:86,country:"Italy"},{cc:87,country:"Paraguay"},{cc:88,country:"Honduras"},{cc:89,country:"Tunisia"},{cc:90,country:"Nicaragua"},{cc:91,country:"Timorleste"},{cc:92,country:"Bolivia"},{cc:93,country:"Costarica"},{cc:94,country:"Guatemala"},{cc:95,country:"Uae"},{cc:96,country:"Zimbabwe"},{cc:97,country:"Puertorico"},{cc:99,country:"Togo"},{cc:100,country:"Kuwait"},{cc:101,country:"Salvador"},{cc:102,country:"Libyan"},{cc:103,country:"Jamaica"},{cc:104,country:"Trinidad"},{cc:105,country:"Ecuador"},{cc:106,country:"Swaziland"},{cc:107,country:"Oman"},{cc:108,country:"Bosnia"},{cc:109,country:"Dominican"},{cc:111,country:"Qatar"},{cc:112,country:"Panama"},{cc:114,country:"Mauritania"},{cc:115,country:"Sierraleone"},{cc:116,country:"Jordan"},{cc:117,country:"Portugal"},{cc:118,country:"Barbados"},{cc:119,country:"Burundi"},{cc:120,country:"Benin"},{cc:121,country:"Brunei"},{cc:122,country:"Bahamas"},{cc:123,country:"Botswana"},{cc:124,country:"Belize"},{cc:125,country:"Caf"},{cc:126,country:"Dominica"},{cc:127,country:"Grenada"},{cc:128,country:"Georgia"},{cc:129,country:"Greece"},{cc:130,country:"Guineabissau"},{cc:131,country:"Guyana"},{cc:132,country:"Iceland"},{cc:133,country:"Comoros"},{cc:134,country:"Saintkitts"},{cc:135,country:"Liberia"},{cc:136,country:"Lesotho"},{cc:137,country:"Malawi"},{cc:138,country:"Namibia"},{cc:139,country:"Niger"},{cc:140,country:"Rwanda"},{cc:141,country:"Slovakia"},{cc:142,country:"Suriname"},{cc:143,country:"Tajikistan"},{cc:144,country:"Monaco"},{cc:145,country:"Bahrain"},{cc:146,country:"Reunion"},{cc:147,country:"Zambia"},{cc:148,country:"Armenia"},{cc:149,country:"Somalia"},{cc:150,country:"Congo"},{cc:151,country:"Chile"},{cc:152,country:"Furkinafaso"},{cc:153,country:"Lebanon"},{cc:154,country:"Gabon"},{cc:155,country:"Albania"},{cc:156,country:"Uruguay"},{cc:157,country:"Mauritius"},{cc:158,country:"Bhutan"},{cc:159,country:"Maldives"},{cc:160,country:"Guadeloupe"},{cc:161,country:"Turkmenistan"},{cc:162,country:"Frenchguiana"},{cc:163,country:"Finland"},{cc:164,country:"Saintlucia"},{cc:165,country:"Luxembourg"},{cc:166,country:"Saintvincentgrenadines"}
1,{cc:167,country:"Equatorialguinea"},{cc:168,country:"Djibouti"},{cc:169,country:"Antiguabarbuda"},{cc:170,country:"Caymanislands"},{cc:171,country:"Montenegro"},{cc:172,country:"Denmark"},{cc:173,country:"Switzerland"},{cc:174,country:"Norway"},{cc:175,country:"Australia"},{cc:176,country:"Eritrea"},{cc:177,country:"Southsudan"},{cc:178,country:"Saotomeandprincipe"},{cc:179,country:"Aruba"},{cc:180,country:"Montserrat"},{cc:181,country:"Anguilla"},{cc:182,country:"Japan"},{cc:183,country:"Northmacedonia"},{cc:184,country:"Seychelles"},{cc:185,country:"Newcaledonia"},{cc:186,country:"Capeverde"},{cc:187,country:"USA"},{cc:187,country:"United States"},{cc:187,country:"United States of America"},{cc:189,country:"Fiji"},{cc:190,country:"Southkorea"},{cc:195,country:"Bermuda"},{cc:196,country:"Singapore"},{cc:999,country:"Auto-Select"},{cc:999,country:"Auto"}],Y=[{code:"ZZ",label:"Auto-Select",phone:"888"},{code:"AF",label:"Afghanistan",phone:"93"},{code:"AG",label:"Antigua and Barbuda",phone:"1-268"},{code:"AI",label:"Anguilla",phone:"1-264"},{code:"AL",label:"Albania",phone:"355"},{code:"AM",label:"Armenia",phone:"374"},{code:"AO",label:"Angola",phone:"244"},{code:"AR",label:"Argentina",phone:"54"},{code:"AT",label:"Austria",phone:"43"},{code:"AU",label:"Australia",phone:"61",suggested:!0},{code:"AW",label:"Aruba",phone:"297"},{code:"AZ",label:"Azerbaijan",phone:"994"},{code:"BA",label:"Bosnia and Herzegovina",phone:"387"},{code:"BB",label:"Barbados",phone:"1-246"},{code:"BD",label:"Bangladesh",phone:"880"},{code:"BE",label:"Belgium",phone:"32"},{code:"BF",label:"Burkina Faso",phone:"226"},{code:"BG",label:"Bulgaria",phone:"359"},{code:"BH",label:"Bahrain",phone:"973"},{code:"BI",label:"Burundi",phone:"257"},{code:"BJ",label:"Benin",phone:"229"},{code:"BM",label:"Bermuda",phone:"1-441"},{code:"BO",label:"Bolivia",phone:"591"},{code:"BR",label:"Brazil",phone:"55"},{code:"BS",label:"Bahamas",phone:"1-242"},{code:"BT",label:"Bhutan",phone:"975"},{code:"BW",label:"Botswana",phone:"267"},{code:"BY",label:"Belarus",phone:"375"},{code:"BZ",label:"Belize",phone:"501"},{code:"CA",label:"Canada",phone:"1",suggested:!0},{code:"CD",label:"Congo, Democratic Republic of the",phone:"243"},{code:"CG",label:"Congo, Republic of the",phone:"242"},{code:"CH",label:"Switzerland",phone:"41"},{code:"CL",label:"Chile",phone:"56"},{code:"CM",label:"Cameroon",phone:"237"},{code:"CN",label:"China",phone:"86"},{code:"CO",label:"Colombia",phone:"57"},{code:"CR",label:"Costa Rica",phone:"506"},{code:"CU",label:"Cuba",phone:"53"},{code:"CV",label:"Cape Verde",phone:"238"},{code:"CY",label:"Cyprus",phone:"357"},{code:"CZ",label:"Czech Republic",phone:"420"},{code:"DE",label:"Germany",phone:"49",suggested:!0},{code:"DJ",label:"Djibouti",phone:"253"},{code:"DK",label:"Denmark",phone:"45"},{code:"DM",label:"Dominica",phone:"1-767"},{code:"DO",label:"Dominican Republic",phone:"1-809"},{code:"DZ",label:"Algeria",phone:"213"},{code:"EC",label:"Ecuador",phone:"593"},{code:"EE",label:"Estonia",phone:"372"},{code:"EG",label:"Egypt",phone:"20"},{code:"ER",label:"Eritrea",phone:"291"},{code:"ES",label:"Spain",phone:"34"},{code:"ET",label:"Ethiopia",phone:"251"},{code:"FI",label:"Finland",phone:"358"},{code:"FJ",label:"Fiji",phone:"679"},{code:"FO",label:"Faroe Islands",phone:"298"},{code:"FR",label:"France",phone:"33",suggested:!0},{code:"GA",label:"Gabon",phone:"241"},{code:"GB",label:"United Kingdom",phone:"44"},{code:"GD",label:"Grenada",phone:"1-473"},{code:"GE",label:"Georgia",phone:"995"},{code:"GF",label:"French Guiana",phone:"594"},{code:"GG",label:"Guernsey",phone:"44"},{code:"GH",label:"Ghana",phone:"233"},{code:"GI",label:"Gibraltar",phone:"350"},{code:"GL",label:"Greenland",phone:"299"},{code:"GM",label:"Gambia",phone:"220"},{code:"GN",label:"Guinea",phone:"224"},{code:"GP",label:"Guadeloupe",phone:"590"},{code:"GQ",label:"Equatorial Guinea",phone:"240"},{code:"GR",label:"Greece",phone:"30"},{code:"GS",label:"South Georgia and the South Sandwich Islands",phone:"500"},{code:"GT",label:"Guatemala",phone:"502"},{code:"GU",label:"Guam",phone:"1-671"},{code:"GW",label:"Guinea-Bissau",phone:"245"},{code:"GY",label:"Guyana",phone:"592"},{code:"HK",label:"Hong Kong",phone:"852"},{code:"HM",label:"Heard Island and McDonald Islands",phone:"672"},{code:"HN",label:"Honduras",phone:"504"},{code:"HR",label:"Croatia",phone:"385"},{code:"HT",label:"Haiti",phone:"509"},{code:"HU",label:"Hungary",phone:"36"},{code:"ID",label:"Indonesia",phone:"62"},{code:"IE",label:"Ireland",phone:"353"},{code:"IL",label:"Israel",phone:"972"},{code:"IM",label:"Isle of Man",phone:"44"}
1,{code:"IN",label:"India",phone:"91"},{code:"IO",label:"British Indian Ocean Territory",phone:"246"},{code:"IQ",label:"Iraq",phone:"964"},{code:"IR",label:"Iran, Islamic Republic of",phone:"98"},{code:"IS",label:"Iceland",phone:"354"},{code:"IT",label:"Italy",phone:"39"},{code:"JE",label:"Jersey",phone:"44"},{code:"JM",label:"Jamaica",phone:"1-876"},{code:"JO",label:"Jordan",phone:"962"},{code:"JP",label:"Japan",phone:"81",suggested:!0},{code:"KE",label:"Kenya",phone:"254"},{code:"KG",label:"Kyrgyzstan",phone:"996"},{code:"KH",label:"Cambodia",phone:"855"},{code:"KM",label:"Comoros",phone:"269"},{code:"KN",label:"Saint Kitts and Nevis",phone:"1-869"},{code:"KP",label:"Korea, Democratic People's Republic of",phone:"850"},{code:"KR",label:"Korea, Republic of",phone:"82"},{code:"KW",label:"Kuwait",phone:"965"},{code:"KY",label:"Cayman Islands",phone:"1-345"},{code:"KZ",label:"Kazakhstan",phone:"7"},{code:"LA",label:"Lao People's Democratic Republic",phone:"856"},{code:"LB",label:"Lebanon",phone:"961"},{code:"LC",label:"Saint Lucia",phone:"1-758"},{code:"LI",label:"Liechtenstein",phone:"423"},{code:"LK",label:"Sri Lanka",phone:"94"},{code:"LR",label:"Liberia",phone:"231"},{code:"LS",label:"Lesotho",phone:"266"},{code:"LT",label:"Lithuania",phone:"370"},{code:"LU",label:"Luxembourg",phone:"352"},{code:"LV",label:"Latvia",phone:"371"},{code:"LY",label:"Libya",phone:"218"},{code:"MA",label:"Morocco",phone:"212"},{code:"MC",label:"Monaco",phone:"377"},{code:"MD",label:"Moldova, Republic of",phone:"373"},{code:"ME",label:"Montenegro",phone:"382"},{code:"MF",label:"Saint Martin (French part)",phone:"590"},{code:"MG",label:"Madagascar",phone:"261"},{code:"MH",label:"Marshall Islands",phone:"692"},{code:"MK",label:"Macedonia, the Former Yugoslav Republic of",phone:"389"},{code:"ML",label:"Mali",phone:"223"},{code:"MM",label:"Myanmar",phone:"95"},{code:"MN",label:"Mongolia",phone:"976"},{code:"MO",label:"Macao",phone:"853"},{code:"MR",label:"Mauritania",phone:"222"},{code:"MS",label:"Montserrat",phone:"1-664"},{code:"MT",label:"Malta",phone:"356"},{code:"MU",label:"Mauritius",phone:"230"},{code:"MV",label:"Maldives",phone:"960"},{code:"MW",label:"Malawi",phone:"265"},{code:"MX",label:"Mexico",phone:"52"},{code:"MY",label:"Malaysia",phone:"60"},{code:"MZ",label:"Mozambique",phone:"258"},{code:"NA",label:"Namibia",phone:"264"},{code:"NC",label:"New Caledonia",phone:"687"},{code:"NE",label:"Niger",phone:"227"},{code:"NF",label:"Norfolk Island",phone:"672"},{code:"NG",label:"Nigeria",phone:"234"},{code:"NI",label:"Nicaragua",phone:"505"},{code:"NL",label:"Netherlands",phone:"31"},{code:"NO",label:"Norway",phone:"47"},{code:"NP",label:"Nepal",phone:"977"},{code:"NR",label:"Nauru",phone:"674"},{code:"NU",label:"Niue",phone:"683"},{code:"NZ",label:"New Zealand",phone:"64"},{code:"OM",label:"Oman",phone:"968"},{code:"PA",label:"Panama",phone:"507"},{code:"PE",label:"Peru",phone:"51"},{code:"PF",label:"French Polynesia",phone:"689"},{code:"PG",label:"Papua New Guinea",phone:"675"},{code:"PH",label:"Philippines",phone:"63"},{code:"PK",label:"Pakistan",phone:"92"},{code:"PL",label:"Poland",phone:"48"},{code:"PM",label:"Saint Pierre and Miquelon",phone:"508"},{code:"PN",label:"Pitcairn",phone:"870"},{code:"PR",label:"Puerto Rico",phone:"1"},{code:"PS",label:"Palestine, State of",phone:"970"},{code:"PT",label:"Portugal",phone:"351"},{code:"PW",label:"Palau",phone:"680"},{code:"PY",label:"Paraguay",phone:"595"},{code:"QA",label:"Qatar",phone:"974"},{code:"RE",label:"Reunion",phone:"262"},{code:"RO",label:"Romania",phone:"40"},{code:"RS",label:"Serbia",phone:"381"},{code:"RU",label:"Russian Federation",phone:"7"},{code:"RW",label:"Rwanda",phone:"250"},{code:"SA",label:"Saudi Arabia",phone:"966"},{code:"SB",label:"Solomon Islands",phone:"677"},{code:"SC",label:"Seychelles",phone:"248"},{code:"SD",label:"Sudan",phone:"249"},{code:"SE",label:"Sweden",phone:"46"},{code:"SG",label:"Singapore",phone:"65"},{code:"SH",label:"Saint Helena",phone:"290"},{code:"SI",label:"Slovenia",phone:"386"},{code:"SJ",label:"Svalbard and Jan Mayen",phone:"47"},{code:"SK",label:"Slovakia",phone:"421"},{code:"SL",label:"Sierra Leone",phone:"232"},{code:"SM",label:"San Marino",phone:"378"},{code:"SN",label:"Senegal",phone:"221"},{code:"SO",label:"Somalia",phone:"252"},{code:"SR",label:"Suriname",phone:"597"},{code:"SS",label:"South Sudan",phone:"211"},{code:"ST",label:"Sao Tome and Principe",phone:"239"},{code:"SV",label:"El Salvador",phone:"503"},{code:"SX",label:"Sint Maarten (Dutch part)",phone:"1-721"},{code:"SY",label:"Syrian Arab Republic",phone:"963"},{code:"SZ",label:"Swaziland",phone:"268"},{code:"TC",label:"Turks and Caicos Islands",phone:"1-649"},{code:"TD",label:"Chad",phone:"235"},{code:"TF",label:"French Southern Territories",phone:"262"},{code:"TG",label:"Togo",phone:"228"},{code:"TH",label:"Thailand",phone:"66"},{code:"TJ",label:"Tajikistan",phone:"992"},{code:"TK",label:"Tokelau",phone:"690"},{code:"TL",label:"Timor-Leste",phone:"670"},{code:"TM",label:"Turkmenistan",phone:"993"},{code:"TN",label:"Tunisia",phone:"216"},{code:"TO",label:"Tonga",phone:"676"},{code:"TR",label:"Turkey",phone:"90"},{code:"TT",label:"Trinidad and Tobago",phone:"1-868"},{code:"TV",label:"Tuvalu",phone:"688"},{code:"TW",label:"Taiwan, Province of China",phone:"886"},{code:"TZ",label:"United Republic of Tanzania",phone:"255"},{code:"UA",label:"Ukraine",phone:"380"},{code:"UG",label:"Uganda",phone:"256"},{code:"US",label:"United States",phone:"1",suggested:!0},{code:"UY",label:"Uruguay",phone:"598"},{code:"UZ",label:"Uzbekistan",phone:"998"},{code:"VA",label:"Holy See (Vatican City State)",phone:"379"},{code:"VC",label:"Saint Vincent and the Grenadines",phone:"1-784"},{code:"VE",label:"Venezuela",phone:"58"},{code:"VG",label:"British Virgin Islands",phone:"1-284"},{code:"VI",label:"US Virgin Islands",phone:"1-340"},{code:"VN",label:"Vietnam",phone:"84"},{code:"VU",label:"Vanuatu",phone:"678"},{code:"WF",label:"Wallis and Futuna",phone:"681"},{code:"WS",label:"Samoa",phone:"685"},{code:"XK",label:"Kosovo",phone:"383"},{code:"YE",label:"Yemen",phone:"967"},{code:"YT",label:"Mayotte",phone:"262"},{code:"ZA",label:"South Africa",phone:"27"},{code:"ZM",label:"Zambia",phone:"260"},{code:"ZW",label:"Zimbabwe",phone:"263"}],J=[{key:"24",text:"24 Hours",value:24},{key:"72",text:"3 Days",value:72},{key:"168",text:"7 Days",value:168}];function Q(e){return"ZZ"==e?"\ud83c\udf0e":"undefined"!==typeof String.fromCodePoint?e.toUpperCase().replace(/./g,(function(e){return String.fromCodePoint(e.charCodeAt(0)+127397)})):e}var $=t(1438),X=t(2951),ee=t(8668),ae=t(253),te=t(5892),re=t(1224);function ne(){return"function"===typeof DOMException?new DOMException("The request was aborted","AbortError"):Object.assign(new Error("The request was aborted"),{name:"AbortError"})}function ie(e,a){return new Promise((function(t,r){if(null===a||void 0===a?void 0:a.aborted)r(ne());else{var n=setTimeout(t,e);null===a||void 0===a||a.addEventListener("abort",(function(){clearTimeout(n),r(ne())}),{once:!0})}}))}function oe(e){return se.apply(this,arguments)}function se(){return se=(0,m.Z)((function(e){var a,t,r,n,i,o,s,c,l,u,d=arguments;return(0,h.__generator)(this,(function(p){switch(p.label){case 0:a=d.length>1&&void 0!==d[1]?d[1]:{},t=a.retries,r=void 0===t?1:t,n=a.delayMs,i=void 0===n?250:n,o=a.signal,s=a.sleep,c=void 0===s?ie:s,l=0,p.label=1;case 1:if(null===o||void 0===o?void 0:o.aborted)throw ne();p.label=2;case 2:return p.trys.push([2,4,,6]),[4,e()];case 3:return[2,p.sent()];case 4:if("AbortError"===(null===(u=p.sent())||void 0===u?void 0:u.name))throw u;if(!(null===u||void 0===u?void 0:u.transient)||l>=r)throw u;return l+=1,[4,c(i,o)];case 5:return p.sent(),[3,6];case 6:return[3,1];case 7:return[2]}}
1))})),se.apply(this,arguments)}var ce=(t(4155).env.NEXT_PUBLIC_SMS4SATS_API_BASE||"https://api.sms4sats.com").replace(/\/$/,""),le=function(e){(0,ee.Z)(t,e);var a=(0,re.Z)(t);function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.status,o=void 0===i?0:i,s=n.code,c=void 0===s?"REQUEST_FAILED":s,l=n.requestId,u=void 0===l?"":l,d=n.details,p=void 0===d?null:d;return(0,$.Z)(this,t),(r=a.call(this,e)).name="ApiError",r.status=o,r.code=c,r.requestId=u,r.details=p,r}return(0,X.Z)(t,[{key:"transient",get:function(){return 0===this.status||[408,425,429].includes(this.status)||this.status>=500}}]),t}((0,te.Z)(Error)),ue=function(e,a){var t=new URL("".concat(ce).concat(e));return Object.entries(a||{}).forEach((function(e){var a=(0,ae.Z)(e,2),r=a[0],n=a[1];void 0!==n&&null!==n&&""!==n&&t.searchParams.set(r,String(n))})),t.toString()};function de(e){return pe.apply(this,arguments)}function pe(){return pe=(0,m.Z)((function(e){var a,t,n,i,o,s,c,l,u,d,p,v,b,m,g=arguments;return(0,h.__generator)(this,(function(h){switch(h.label){case 0:a=g.length>1&&void 0!==g[1]?g[1]:{},t=a.method,n=void 0===t?"GET":t,i=a.params,o=a.body,s=a.token,c=a.idempotencyKey,l=a.signal,h.label=1;case 1:return h.trys.push([1,3,,4]),[4,fetch(ue(e,i),(0,r.Z)({method:n,signal:l,cache:"no-store",headers:(0,r.Z)({Accept:"application/json"},o?{"Content-Type":"application/json"}:{},s?{Authorization:"Bearer ".concat(s)}:{},c?{"Idempotency-Key":c}:{})},o?{body:JSON.stringify(o)}:{}))];case 2:return u=h.sent(),[3,4];case 3:if("AbortError"===(null===(d=h.sent())||void 0===d?void 0:d.name))throw d;throw new le("Unable to reach SMS4Sats. Check your connection and try again.",{details:d});case 4:p=u.headers.get("content-type")||"",h.label=5;case 5:return h.trys.push([5,10,,11]),p.includes("application/json")?[4,u.json()]:[3,7];case 6:return b=h.sent(),[3,9];case 7:return[4,u.text()];case 8:b=h.sent(),h.label=9;case 9:return v=b,[3,11];case 10:if("AbortError"===(null===(m=h.sent())||void 0===m?void 0:m.name))throw m;return v=p.includes("application/json")?null:"",[3,11];case 11:if(!u.ok)throw new le((null===v||void 0===v?void 0:v.message)||(null===v||void 0===v?void 0:v.error)||"Request failed (".concat(u.status,")"),{status:u.status,code:(null===v||void 0===v?void 0:v.error)||"REQUEST_FAILED",requestId:(null===v||void 0===v?void 0:v.requestId)||u.headers.get("x-request-id")||"",details:v});if(!v||"object"!==typeof v)throw new le("The server returned an invalid response",{status:u.status,code:"INVALID_RESPONSE",details:v});return[2,v]}}))})),pe.apply(this,arguments)}var ve=function(e){return"rent"===e?"/v2/rent-numbers":"/v2/receive-sms"},be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return de("/v2/receive-sms/catalog",(0,n.Z)((0,r.Z)({},a),{params:{country:e}}))},me=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oe((function(){return de("/v2/receive-sms/quote",(0,n.Z)((0,r.Z)({},a),{method:"POST",body:e}))}),{retries:1,delayMs:250,signal:a.signal})},ge=function(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return de("/v2/receive-sms/orders",(0,n.Z)((0,r.Z)({},t),{method:"POST",body:e,idempotencyKey:a}))},he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.service,t=void 0===a?"full":a,i=e.durationMinutes,o=void 0===i?120:i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return de("/v2/rent-numbers/catalog",(0,n.Z)((0,r.Z)({},s),{params:{service:t,durationMinutes:o}}))},ye=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return de("/v2/rent-numbers/quote",(0,n.Z)((0,r.Z)({},a),{method:"POST",body:e}))},we=function(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return de("/v2/rent-numbers/orders",(0,n.Z)((0,r.Z)({},t),{method:"POST",body:e,idempotencyKey:a}))},fe=function(e,a,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return de("".concat(ve(e),"/orders/").concat(encodeURIComponent(a)),(0,n.Z)((0,r.Z)({},i),{token:t}))},xe=function(e,a,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return de("".concat(ve(e),"/orders/").concat(encodeURIComponent(a),"/cancel"),(0,n.Z)((0,r.Z)({},i),{method:"POST",token:t}))},ke="sms4sats:web-order:v2",je=function(e){return"".concat(ke,":").concat(e)},Se=function(e){return"".concat(ke,":").concat(e,":create-attempt")},Ze=function(e){return"".concat(ke,":").concat(e,":outcome")},Ce=function(){try{return window.localStorage}catch(e){return null}};function Ne(e,a){if(!(null===a||void 0===a?void 0:a.orderId)||!(null===a||void 0===a?void 0:a.accessToken))return null;var t,r,n={orderId:String(a.orderId),accessToken:String(a.accessToken),orderReference:a.orderReference||"".concat(a.orderId,".").concat(a.accessToken),invoice:a.invoice||"",priceS
1ats:null!==(t=a.priceSats)&&void 0!==t?t:null,service:a.service||"",country:a.country||"",durationMinutes:null!==(r=a.durationMinutes)&&void 0!==r?r:null,savedAt:(new Date).toISOString()};try{var i;null===(i=Ce())||void 0===i||i.setItem(je(e),JSON.stringify(n))}catch(o){}return n}function Te(e){try{var a,t=JSON.parse((null===(a=Ce())||void 0===a?void 0:a.getItem(je(e)))||"null");return(null===t||void 0===t?void 0:t.orderId)&&(null===t||void 0===t?void 0:t.accessToken)?(0,n.Z)((0,r.Z)({},t),{orderReference:t.orderReference||"".concat(t.orderId,".").concat(t.accessToken)}):null}catch(i){return null}}function ze(e){try{var a;null===(a=Ce())||void 0===a||a.removeItem(je(e))}catch(t){}}function Ie(e,a){try{var t,r=JSON.parse((null===(t=Ce())||void 0===t?void 0:t.getItem(Se(e)))||"null");return(null===r||void 0===r?void 0:r.signature)===a&&(null===r||void 0===r?void 0:r.key)?r:null}catch(n){return null}}function Ae(e,a){try{var t;null===(t=Ce())||void 0===t||t.setItem(Se(e),JSON.stringify(a))}catch(r){}return a}function Me(e){try{var a;null===(a=Ce())||void 0===a||a.removeItem(Se(e))}catch(t){}}function Re(e){!function(e,a){try{var t,r;a?null===(t=Ce())||void 0===t||t.setItem(Ze(e),String(a)):null===(r=Ce())||void 0===r||r.removeItem(Ze(e))}catch(n){}}(e,"")}function Pe(){if("undefined"!==typeof crypto&&"function"===typeof crypto.randomUUID)return crypto.randomUUID();if("undefined"!==typeof crypto&&"function"===typeof crypto.getRandomValues){var e=crypto.getRandomValues(new Uint8Array(16));e[6]=15&e[6]|64,e[8]=63&e[8]|128;var a=Array.from(e,(function(e){return e.toString(16).padStart(2,"0")})).join("");return"".concat(a.slice(0,8),"-").concat(a.slice(8,12),"-").concat(a.slice(12,16),"-").concat(a.slice(16,20),"-").concat(a.slice(20))}throw new Error("Secure random order identifiers are not supported by this browser")}var Be={snapshot:null,error:null,polling:!1,failures:0};function qe(e,a){switch(a.type){case"reset":return Be;case"request":return(0,n.Z)((0,r.Z)({},e),{polling:!0});case"success":return{snapshot:a.snapshot,error:null,polling:!1,failures:0};case"transient_error":return(0,n.Z)((0,r.Z)({},e),{error:a.error,polling:!1,failures:e.failures+1});case"fatal_error":return(0,n.Z)((0,r.Z)({},e),{error:a.error,polling:!1});default:return e}}var Ee=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e4;return Math.min(t,a*Math.pow(2,Math.min(e,4)))},_e=function(e){return!["completed","cancelled","expired","failed"].includes((null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus))};function Oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.product,t=e.orderId,i=e.accessToken,o=e.enabled,c=void 0===o||o,l=e.intervalMs,u=void 0===l?5e3:l,d=e.shouldContinue,p=void 0===d?_e:d,v=e.onSnapshot,b=(0,s.useReducer)(qe,Be),g=b[0],y=b[1],w=(0,s.useRef)(0),f=(0,s.useRef)(0),x=(0,s.useRef)(0),k=(0,s.useRef)(0),j=(0,s.useRef)(v),S=(0,s.useRef)(p);(0,s.useEffect)((function(){j.current=v}),[v]),(0,s.useEffect)((function(){S.current=p}),[p]);var Z=(0,s.useCallback)((function(){w.current+=1,k.current=0,y({type:"reset"})}),[]),C=(0,s.useCallback)((0,m.Z)((function(){var e,r,n,o,s,l;return(0,h.__generator)(this,(function(u){switch(u.label){case 0:if(!c||!a||!t||!i)return[2,null];e=w.current,r=++f.current,n=new AbortController,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,fe(a,t,i,{signal:n.signal})];case 2:return s=u.sent(),e!==w.current||r<x.current?[2,null]:(x.current=r,k.current=0,y({type:"success",snapshot:s}),null===(o=j.current)||void 0===o||o.call(j,s),[2,s]);case 3:if(l=u.sent(),e!==w.current||r<x.current)return[2,null];throw"AbortError"!==(null===l||void 0===l?void 0:l.name)&&(x.current=r,(null===l||void 0===l?void 0:l.transient)&&(k.current+=1),y({type:(null===l||void 0===l?void 0:l.transient)?"transient_error":"fatal_error",error:l})),l;case 4:return[2]}}
1))})),[c,a,t,i]);return(0,s.useEffect)((function(){if(k.current=0,y({type:"reset"}),c&&a&&t&&i&&"undefined"!==typeof document){var e=++w.current,r=null,n=null,o=!1,s=function(a){o||e!==w.current||(window.clearTimeout(r),r=window.setTimeout(l,a))},l=function(){var r=(0,m.Z)((function(){var r,c,l,d;return(0,h.__generator)(this,(function(p){switch(p.label){case 0:if(o||e!==w.current)return[2];if("hidden"===document.visibilityState)return[2];null===n||void 0===n||n.abort(),n=new AbortController,y({type:"request"}),r=++f.current,p.label=1;case 1:return p.trys.push([1,3,,4]),[4,fe(a,t,i,{signal:n.signal})];case 2:return l=p.sent(),o||e!==w.current?[2]:r<x.current?(s(u),[2]):(x.current=r,k.current=0,y({type:"success",snapshot:l}),null===(c=j.current)||void 0===c||c.call(j,l),S.current(l)?s(u):o=!0,[3,4]);case 3:return d=p.sent(),o||"AbortError"===(null===d||void 0===d?void 0:d.name)||e!==w.current?[2]:r<x.current?(s(u),[2]):(x.current=r,(null===d||void 0===d?void 0:d.transient)?(k.current+=1,y({type:"transient_error",error:d}),s(Ee(k.current-1,u))):y({type:"fatal_error",error:d}),[3,4]);case 4:return[2]}}
1))}));return function(){return r.apply(this,arguments)}}(),d=function(){"hidden"===document.visibilityState?(window.clearTimeout(r),null===n||void 0===n||n.abort()):s(0)};return document.addEventListener("visibilitychange",d),s(0),function(){o=!0,w.current+=1,window.clearTimeout(r),null===n||void 0===n||n.abort(),document.removeEventListener("visibilitychange",d)}}}),[c,a,t,i,u]),(0,n.Z)((0,r.Z)({},g),{refresh:C,reset:Z})}var De=t(3681),Ge=t(1959),Le=t(5255),Fe=t(8130),Ue=t(9815),We=function(e){return String(e||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g," ").trim()},He=function(e){return String(e||"").replace(/\D/g,"")},Ke={russia:{code:"RU",label:"Russian Federation",phone:"7"},russian:{code:"RU",label:"Russian Federation",phone:"7"},tanzania:{code:"TZ",label:"Tanzania",phone:"255"},"usa virtual":{code:"US",label:"United States",phone:"1"},usa:{code:"US",label:"United States",phone:"1"},"united states of america":{code:"US",label:"United States",phone:"1"},england:{code:"GB",label:"United Kingdom",phone:"44"},dcongo:{code:"CD",label:"Congo, Democratic Republic of the",phone:"243"},laos:{code:"LA",label:"Lao People's Democratic Republic",phone:"856"},ivory:{code:"CI",label:"C\xf4te d'Ivoire",phone:"225"},taiwan:{code:"TW",label:"Taiwan",phone:"886"},czech:{code:"CZ",label:"Czech Republic",phone:"420"},papua:{code:"PG",label:"Papua New Guinea",phone:"675"},moldova:{code:"MD",label:"Moldova, Republic of",phone:"373"},uae:{code:"AE",label:"United Arab Emirates",phone:"971"},salvador:{code:"SV",label:"El Salvador",phone:"503"},libyan:{code:"LY",label:"Libya",phone:"218"},trinidad:{code:"TT",label:"Trinidad and Tobago",phone:"1"},bosnia:{code:"BA",label:"Bosnia and Herzegovina",phone:"387"},dominican:{code:"DO",label:"Dominican Republic",phone:"1"},brunei:{code:"BN",label:"Brunei Darussalam",phone:"673"},caf:{code:"CF",label:"Central African Republic",phone:"236"},saintkitts:{code:"KN",label:"Saint Kitts and Nevis",phone:"1"},congo:{code:"CG",label:"Congo, Republic of the",phone:"242"},furkinafaso:{code:"BF",label:"Burkina Faso",phone:"226"},saintvincentgrenadines:{code:"VC",label:"Saint Vincent and the Grenadines",phone:"1"},antiguabarbuda:{code:"AG",label:"Antigua and Barbuda",phone:"1"},northmacedonia:{code:"MK",label:"North Macedonia",phone:"389"},southkorea:{code:"KR",label:"South Korea",phone:"82"}},Ve=function(e){return We(e).replace(/\s/g,"")},Ye=function(e){var a=String(e||"").toUpperCase();return/^[A-Z]{2}$/.test(a)?a.replace(/./g,(function(e){return String.fromCodePoint(e.charCodeAt(0)+127397)})):""},Je=new Set(["auto","auto select"]),Qe=function(e){return"ZZ"===String((null===e||void 0===e?void 0:e.code)||"").toUpperCase()||Je.has(We((null===e||void 0===e?void 0:e.label)||e))},$e=function(e){return He(String((null===e||void 0===e?void 0:e.phone)||"").split("-")[0])},Xe=function(e){var a=e.countryName,t=e.phoneDigits,r=e.countryOptions.filter((function(e){return!Qe(e)})),n=We(a);if(n&&!Je.has(n)){var i=r.find((function(e){return We(e.label)===n}));if(i)return i;var o=r.find((function(e){return Ve(e.label)===Ve(a)}));if(o)return o;var s=Ke[n];if(s)return r.find((function(e){return e.code===s.code}))||s}var c=r.filter((function(e){var a=He(e.phone);return a&&t.startsWith(a)})).sort((function(e,a){return He(a.phone).length-He(e.phone).length}));if(!c.length)return null;var l=He(c[0].phone).length,u=c.filter((function(e){return He(e.phone).length===l}));return 1===u.length?u[0]:null},ea=function(e,a){return(0,Ue.Z)(new Set(a.filter((function(e){return!Qe(e)})).map($e).filter((function(a){return a&&e.startsWith(a)})))).sort((function(e,a){return a.length-e.length}))[0]||""},aa=(0,u.Z)((function(e){return{shell:{color:"#202124",fontFamily:"inherit"},card:{border:"1px solid #d9dce7",borderRadius:14,background:"#ffffff",overflow:"hidden",boxShadow:"0 8px 24px rgba(42,48,83,.07)"},subtitle:{margin:"5px 0 0",color:"#626662",fontSize:13,lineHeight:1.4},heroCopy:(0,g.Z)({width:"calc(100% - 28px)",margin:14,padding:"15px 16px",display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,border:"1px solid #c8cee8",borderRadius:12,background:"#eef1fb",color:"#202124",cursor:"pointer",textAlign:"left",transition:"transform 120ms ease, background 120ms ease","&:hover":{background:"#e4e8f7",transform:"translateY(-1px)"},"&:active":{transform:"scale(.99)"},"&:focus-visible":{outline:"3px solid rgba(63,81,181,.28)",outlineOffset:2}},e.breakpoints.down("xs"),{gap:6,padding:"14px 12px"}),heroLabel:{display:"block",marginBottom:4,fontSize:12,fontWeight:700,opacity:.72},heroValue:(0,g.Z)({display:"block",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:"clamp(20px, 5vw, 29px)",fontWeight:800,letterSpacing:".015em",lineHeight:1.05,whiteSpace:"nowrap"},e.breakpoints.down("xs"),{fontSize:16}),copyAction:(0,g.Z)({display:"inline-flex",alignItems:"center",justifyContent:"center",gap:5,flexShrink:0,minWidth:84,minHeight:42,padding:"8px 11px",borderRadius:999,background:"#3f51b5",color:"#ffffff",fontSize:12,fontWeight:800},e.breakpoints.down("xs"),{minWidth:42,width:42,padding:0}),copyActionText:(0,g.Z)({},e.breakpoints.down("xs"),{display:"none"}),detailGrid:(0,g.Z)({display:"grid",gridTemplateColumns:"1.25fr .8fr 1.7fr",gap:1,borderTop:"1px solid #e0e3ec",background:"#e0e3ec"},e.breakpoints.down("xs"),{gridTemplateColumns:"1fr 1fr"}),detailButton:{minWidth:0,minHeight:72,padding:"11px 13px",border:0,background:"#ffffff",color:"#202124",cursor:"pointer",textAlign:"left",display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,"&:hover":{background:"#f5f6fa"},"&:focus-visible":{position:"relative",zIndex:1,outline:"3px solid rgba(63,81,181,.24)",outlineOffset:-3}},numberOnly:(0,g.Z)({},e.breakpoints.down("xs"),{gridColumn:"1 / -1"}),detailLabel:{display:"block",marginBottom:3,color:"#868685",fontSize:11,fontWeight:700},detailValue:{display:"flex",alignItems:"center",gap:6,overflow:"hidden",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:14,fontWeight:750,textOverflow:"ellipsis",whiteSpace:"nowrap"},detailIcon:{flexShrink:0,color:"#3f51b5",fontSize:18},waiting:{marginTop:12,padding:"12px 14px",display:"flex",gap:10,border:"1px solid #d9dce7",borderRadius:14,background:"#f7f8fb",flexDirection:"column"},waitingRow:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:10},waitingText:{display:"flex",alignItems:"center",gap:8,color:"#45475a",fontSize:13,fontWeight:650},waitDot:{width:8,height:8,borderRadius:"50%",background:"#3f51b5",boxShadow:"0 0 0 5px rgba(63,81,181,.12)"},waitingProgress:{width:"100%",height:4,borderRadius:999},timer:{flexShrink:0,fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",fontWeight:800},codeCard:{border:"1px solid #c8cee8",borderRadius:14,padding:16,background:"#f7f8fc",boxShadow:"0 8px 24px rgba(42,48,83,.07)"}
1,codeTop:{display:"flex",alignItems:"center",gap:9,marginBottom:12,color:"#303f9f",fontSize:14,fontWeight:800},successMark:{display:"grid",placeItems:"center",width:24,height:24,borderRadius:"50%",background:"#3f51b5",color:"white"},codeButton:{width:"100%",boxSizing:"border-box",minHeight:78,padding:"13px 16px",display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,border:0,borderRadius:15,background:"#ffffff",color:"#202124",cursor:"pointer",boxShadow:"0 0 0 1px #d9dce7",textAlign:"left","&:hover":{transform:"translateY(-1px)"},"&:focus-visible":{outline:"3px solid rgba(63,81,181,.28)",outlineOffset:2}},codeValue:(0,g.Z)({fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:"clamp(30px, 9vw, 44px)",fontWeight:900,letterSpacing:".08em",lineHeight:1,whiteSpace:"nowrap"},e.breakpoints.down("xs"),{fontSize:30,letterSpacing:".05em"}),phoneAfterCode:{marginTop:12},orderIdButton:{width:"100%",marginTop:8,padding:"9px 11px",display:"flex",alignItems:"center",justifyContent:"space-between",gap:10,border:"1px solid #d9dce7",borderRadius:10,background:"transparent",color:"#626662",cursor:"pointer",textAlign:"left","&:hover":{background:"#f7f8fb"},"&:focus-visible":{outline:"3px solid rgba(63,81,181,.24)",outlineOffset:2}},orderIdText:{minWidth:0},orderIdValue:{display:"block",marginTop:2,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontSize:11,lineHeight:1.35,overflowWrap:"anywhere"},loading:{padding:22,textAlign:"center",color:"#626662"},loadingSpinner:{marginBottom:10},actions:(0,g.Z)({display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(140px, 1fr))",gap:8,marginTop:12,"& .MuiButton-root":{minHeight:44,margin:0}},e.breakpoints.down("xs"),{gridTemplateColumns:"1fr"}),srOnly:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0}}})),ta=function(){var e=(0,m.Z)((function(e){var a,t,r;return(0,h.__generator)(this,(function(n){switch(n.label){case 0:return e?(null===navigator||void 0===navigator||null===(a=navigator.clipboard)||void 0===a?void 0:a.writeText)?[4,navigator.clipboard.writeText(e)]:[3,2]:[2,!1];case 1:return n.sent(),[2,!0];case 2:return(t=document.createElement("textarea")).value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),r=document.execCommand("copy"),document.body.removeChild(t),[2,r]}}))}));return function(a){return e.apply(this,arguments)}}(),ra=function(e){var a=e.copied,t=e.className;return a?(0,o.jsx)(Ge.Z,{className:t,"aria-hidden":"true"}):(0,o.jsx)(Z.Z,{className:t,"aria-hidden":"true"})},na={full:"Full number",country:"Country","calling-code":"Calling code","number-only":"Number only",code:"Verification code","order-id":"Order ID"};function ia(e){var a=e.orderId,t=e.phoneNumber,r=e.countryId,n=e.code,i=e.expiresAt,c=e.waitingForNumber,l=e.waitingForCode,u=e.cancellable,d=e.isCancelling,p=e.onCancel,v=e.onNewOrder,b=e.showNewOrder,g=aa(),y=(0,s.useState)(""),w=y[0],f=y[1],x=(0,s.useRef)(!0),j=(0,s.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.phoneNumber,t=e.countryId,r=e.providerCountries,n=void 0===r?[]:r,i=e.countryOptions,o=void 0===i?[]:i,s=String(a||"").trim(),c=He(s),l=n.find((function(e){return String(e.cc)===String(t)})),u=String((null===l||void 0===l?void 0:l.country)||"").trim(),d=Qe(u)?"":u,p=Xe({countryName:d,phoneDigits:c,countryOptions:o}),v=$e(p)||ea(c,o),b=Boolean(v&&c.startsWith(v))?c.slice(v.length):c,m=c;return{countryName:(null===p||void 0===p?void 0:p.label)||d||"Country unavailable",isoCode:(null===p||void 0===p?void 0:p.code)||"",flag:Ye(null===p||void 0===p?void 0:p.code),callingCode:v?"+".concat(v):"",callingCodeDigits:v,nationalNumber:b,internationalNumber:m?"+".concat(m):""}}({phoneNumber:t,countryId:r,providerCountries:V,countryOptions:Y})}),[t,r]);(0,s.useEffect)((function(){return x.current=!0,function(){x.current=!1}}),[]),(0,s.useEffect)((function(){if(w){var e=window.setTimeout((function(){return f("")}
1),1600);return function(){return window.clearTimeout(e)}}}),[w]);var Z=function(){var e=(0,m.Z)((function(e,a){return(0,h.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,ta(a)];case 1:return t.sent()&&x.current&&f(e),[3,3];case 2:return t.sent(),x.current&&f(""),[3,3];case 3:return[2]}}))}));return function(a,t){return e.apply(this,arguments)}}(),C=function(e,a,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(!t)return null;var i=w===e;return(0,o.jsxs)("button",{type:"button",className:"".concat(g.detailButton," ").concat(r),onClick:function(){return Z(e,t)},"aria-label":i?"".concat(a," copied"):"Copy ".concat(a.toLowerCase(),": ").concat(t),children:[(0,o.jsxs)("span",{children:[(0,o.jsx)("span",{className:g.detailLabel,children:i?"Copied":a}),(0,o.jsxs)("span",{className:g.detailValue,children:[n&&(0,o.jsx)("span",{"aria-hidden":"true",children:n}),t]})]}),(0,o.jsx)(ra,{copied:i,className:g.detailIcon})]})},N=(0,o.jsxs)("div",{className:"".concat(g.card," ").concat(n?g.phoneAfterCode:""),children:[(0,o.jsxs)("button",{type:"button",className:g.heroCopy,onClick:function(){return Z("full",j.internationalNumber)},"aria-label":"Copy full phone number: ".concat(j.internationalNumber),children:[(0,o.jsxs)("span",{children:[(0,o.jsx)("span",{className:g.heroLabel,children:"Full number"}),(0,o.jsx)("span",{className:g.heroValue,children:j.internationalNumber})]}),(0,o.jsxs)("span",{className:g.copyAction,children:[(0,o.jsx)(ra,{copied:"full"===w}),(0,o.jsx)("span",{className:g.copyActionText,children:"full"===w?"Copied":"Copy"})]})]}),(0,o.jsxs)("div",{className:g.detailGrid,children:["Country unavailable"!==j.countryName&&C("country","Country",j.countryName,"",j.flag),C("calling-code","Calling code",j.callingCode),C("number-only","Number only",j.nationalNumber,g.numberOnly)]})]});return(0,o.jsxs)("div",{className:g.shell,children:[(0,o.jsx)("span",{className:g.srOnly,"aria-live":"polite","aria-atomic":"true",children:w?"".concat(na[w]," copied"):""}),c&&(0,o.jsxs)("div",{className:"".concat(g.card," ").concat(g.loading),role:"status",children:[(0,o.jsx)(S.Z,{size:28,className:g.loadingSpinner}),(0,o.jsx)("div",{children:(0,o.jsx)("strong",{children:"Getting your number\u2026"})}),(0,o.jsx)("div",{className:g.subtitle,children:"This usually takes only a few seconds."})]}),n&&(0,o.jsxs)("div",{className:g.codeCard,role:"status",children:[(0,o.jsxs)("div",{className:g.codeTop,children:[(0,o.jsx)("span",{className:g.successMark,children:(0,o.jsx)(Ge.Z,{fontSize:"small"})}),"SMS code received"]}),(0,o.jsxs)("button",{type:"button",className:g.codeButton,onClick:function(){return Z("code",n)},"aria-label":"Copy SMS code: ".concat(n),children:[(0,o.jsxs)("span",{children:[(0,o.jsx)("span",{className:g.detailLabel,children:"Your verification code"}),(0,o.jsx)("span",{className:g.codeValue,children:n})]}),(0,o.jsxs)("span",{className:g.copyAction,children:[(0,o.jsx)(ra,{copied:"code"===w}),(0,o.jsx)("span",{className:g.copyActionText,children:"code"===w?"Copied":"Copy code"})]})]})]}),t&&N,a&&(0,o.jsxs)("button",{type:"button",className:g.orderIdButton,onClick:function(){return Z("order-id",a)},"aria-label":"order-id"===w?"Order ID copied":"Copy order ID: ".concat(a),children:[(0,o.jsxs)("span",{className:g.orderIdText,children:[(0,o.jsx)("span",{className:g.detailLabel,children:"order-id"===w?"Copied":"Order ID"}),(0,o.jsx)("span",{className:g.orderIdValue,children:a})]}),(0,o.jsx)(ra,{copied:"order-id"===w,className:g.detailIcon})]}),l&&(0,o.jsxs)("div",{className:g.waiting,"aria-label":"Waiting for the SMS code",role:"status",children:[(0,o.jsxs)("div",{className:g.waitingRow,children:[(0,o.jsxs)("span",{className:g.waitingText,children:[(0,o.jsx)("span",{className:g.waitDot}),"Waiting for the SMS code"]}),(0,o.jsx)("span",{className:g.timer,children:i?(0,o.jsx)(Fe.ZP,{date:new Date(i).getTime(),daysInHours:!0}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Le.Z,{fontSize:"small"})," Waiting"]})})]}),(0,o.jsx)(De.Z,{className:g.waitingProgress,"aria-label":"SMS code pending"})]}),(0,o.jsxs)("div",{className:g.actions,children:[l&&(0,o.jsx)(k.Z,{variant:"outlined",disabled:!u||d,onClick:p,children:d?"Cancelling\u2026":"Cancel order"}),b&&!l&&(0,o.jsx)(k.Z,{onClick:v,variant:"contained",color:"primary",children:"New order"})]})]})}var oa=new Set(["failed","expired","cancelled"]),sa=new Set(["paid","allocating","waiting_for_sms","code_received","settlement_pending","completed"]),ca=function(e){return oa.has(String(e||""))};function la(e){var a=String((null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus)||"");return!["code_received","completed","cancelled","expired","failed"].includes(a)&&(!Array.isArray(null===e||void 0===e?void 0:e.messages)||0===e.messages.length)}function ua(e){var a=String((null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus)||"");return sa.has(a)||Boolean(null===e||void 0===e?void 0:e.paidAt)}function da(e){var a=String((null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus)||"");return ua(e)&&!ca(a)}function pa(e){if(!ua(e))return"";var a=String((null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus)||"");return"expired"===a?"SMS timed out. Your payment was canceled and is returning to your wallet.":"cancelled"===a?"Order canceled. Your payment is returning to your wallet.":""}var va=function(e){return(null===e||void 0===e?void 0:e.code)||(null===e||void 0===e?void 0:e.value)||(null===e||void 0===e?void 0:e.key)||e||""},ba=function(e){return(null===e||void 0===e?void 0:e.text)||(null===e||void 0===e?void 0:e.name)||(null===e||void 0===e?void 0:e.label)||va(e)};var ma=t(5160),ga=1500,ha=(0,u.Z)((function(e){return{root:{width:"100%"},validationShell:{minHeight:420,display:"flex",alignItems:"center",justifyContent:"center",color:e.palette.text.secondary},stepper:{backgroundColor:"transparent"},button:{marginTop:e.spacing(2),marginRight:e.spacing(1)},actionsContainer:{marginTop:e.spacing(1),marginBottom:e.spacing(2)},loadingRow:{minHeight:72,display:"flex",alignItems:"center",justifyContent:"center",marginBottom:e.spacing(2)},invoiceRow:(0,g.Z)({display:"flex",width:"100%",alignItems:"stretch",gap:e.spacing(1),marginTop:e.spacing(1)},e.breakpoints.down("xs"),{flexDirection:"column"}),invoiceField:{flex:1,minWidth:0},invoiceCopy:(0,g.Z)({minWidth:132,borderRadius:10},e.breakpoints.down("xs"),{width:"100%",minHeight:46}),invoiceNotice:{marginTop:e.spacing(1.5),width:"100%",boxSizing:"border-box"},savedOrderAlert:{marginBottom:e.spacing(2)},outcomeNotice:{marginTop:e.spacing(1),marginBottom:e.spacing(2),width:"100%",boxSizing:"border-box",borderRadius:10},savedOrderActions:{display:"flex",flexWrap:"wrap",gap:e.spacing(1),marginTop:e.spacing(1)},qrMargin:{marginTop:8,marginBottom:8}}})),ya=function(e){var a;return e&&"Auto-Select"!==e.label?String((null===(a=V.find((function(a){return a.country===e.label})))||void 0===a?void 0:a.cc)||e.code||"auto"):"auto"},wa=function(e){return(null===e||void 0===e?void 0:e.code)||(null===e||void 0===e?void 0:e.value)||(null===e||void 0===e?void 0:e.key)||e||""},fa=function(e){return(null===e||void 0===e?void 0:e.text)||(null===e||void 0===e?void 0:e.label)||(null===e||void 0===e?void 0:e.code)||e||""},xa=function(e){return(null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus)||""},ka=function(e){return(null===e||void 0===e?void 0:e.message)||"Something went wrong. Please try again."};function ja(e){var a=e.defaultServiceSearchTerm,t=void 0===a?"":a,i=ha(),c=(0,s.use
1State)(0),l=c[0],u=c[1],d=(0,s.useState)(Y[0]||null),p=d[0],v=d[1],b=(0,s.useState)(null),g=b[0],A=b[1],M=(0,s.useState)(t),P=M[0],B=M[1],q=(0,s.useState)([]),E=q[0],_=q[1],O=(0,s.useState)(!1),L=O[0],U=O[1],H=(0,s.useState)(!1),J=H[0],$=H[1],X=(0,s.useState)(!1),ee=X[0],ae=X[1],te=(0,s.useState)(!1),re=te[0],ne=te[1],ie=(0,s.useState)(!1),oe=ie[0],se=ie[1],ce=(0,s.useState)(""),le=ce[0],ue=ce[1],de=(0,s.useState)(""),pe=de[0],ve=de[1],he=(0,s.useState)(""),ye=he[0],we=he[1],ke=(0,s.useState)(""),je=ke[0],Se=ke[1],Ze=(0,s.useState)(ga),Ce=Ze[0],Be=Ze[1],qe=(0,s.useState)(null),Ee=qe[0],_e=qe[1],De=(0,s.useState)(null),Ge=De[0],Le=De[1],Fe=(0,s.useState)(!1),Ue=Fe[0],We=Fe[1],He=(0,s.useRef)(""),Ke=(0,s.useRef)(null),Ve=(0,s.useRef)(!1),Ye=(0,s.useRef)(!1),Je=(0,s.useRef)(""),Qe=(0,s.useRef)(""),$e=(0,s.useRef)(g);(0,s.useEffect)((function(){$e.current=g}),[g]);var Xe=(0,s.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.notice,r=void 0===a?"":a,n=e.error,i=void 0===n?"":n;ze("receive"),Me("receive"),Re("receive"),_e(null),Le(null),v(Y[0]||null),A(null),$e.current=null,B(t||""),$(!1),ae(!1),ne(!1),se(!1),Be(ga),Se(""),ue(""),ve(i),we(r),u(0),Ke.current=null,Ve.current=!1,He.current="",Je.current="",Qe.current=""}),[t]),ea=(0,s.useMemo)((function(){return{service_name:fa(g)||"",country:(null===p||void 0===p?void 0:p.label)||"Auto-Select",product_type:"sms_receive",order_value:Ce,value:Ce,currency:"SATS"}}),[g,p,Ce]),aa=Oe({product:"receive",orderId:null===Ee||void 0===Ee?void 0:Ee.orderId,accessToken:null===Ee||void 0===Ee?void 0:Ee.accessToken,enabled:Boolean(Ee),shouldContinue:la}),ta=aa.snapshot,ra=aa.error,na=aa.refresh,oa=aa.reset;(0,s.useEffect)((function(){var e=!0,a=Te("receive");return Re("receive"),We(!0),a?(fe("receive",a.orderId,a.accessToken).then((function(t){if(e&&!Ye.current)return da(t)?void Le({access:a,snapshot:t}):(ze("receive"),void Me("receive"))})).catch((function(){})),function(){e=!1}):function(){e=!1}}),[]),(0,s.useEffect)((function(){if(Ue&&!Ee){var e=new AbortController,a=!0;return U(!0),ue(""),be(ya(p),{signal:e.signal}).then((function(e){if(a){var i=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){var a=K.find((function(a){return a.value===e.code||a.key===e.code}));return(0,n.Z)((0,r.Z)({},a,e),{value:e.code,text:(null===a||void 0===a?void 0:a.text)||e.name||e.code})}))}(e.services||[]),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",t=va(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null),r=String(a||"").trim().toLowerCase(),n=t?e.find((function(e){return va(e)===t}))||null:e.find((function(e){return r&&(ba(e).toLowerCase()===r||va(e).toLowerCase()===r)}))||null;return{selection:n,inputValue:n?ba(n):t?"":a||""}}(i,$e.current,t);_(i),ae(!1),A(o.selection),B(o.inputValue)}})).catch((function(e){a&&"AbortError"!==(null===e||void 0===e?void 0:e.name)&&ue(ka(e))})).finally((function(){a&&U(!1)})),function(){a=!1,e.abort()}}}),[p,t,Ue,Ee]),(0,s.useEffect)((function(){if(Ee||!g)return $(!1),void ae(!1);var e=new AbortController,a=!0;return $(!0),ae(!1),ue(""),me({country:ya(p),service:wa(g)},{signal:e.signal}).then((function(e){a&&(Be(e.priceSats),ae(!0),ue(""))})).catch((function(e){a&&"AbortError"!==(null===e||void 0===e?void 0:e.name)&&ue(ka(e))})).finally((function(){a&&$(!1)})),function(){a=!1,e.abort()}}),[p,g,Ee]),(0,s.useEffect)((function(){var e,a;if(Ee&&ta&&ta.orderId===Ee.orderId){var t=xa(ta);null!=ta.priceSats&&Be(ta.priceSats);var i=ua(ta),o=ca(t),s=(null===(e=V.find((function(e){return String(e.cc)===String(ta.country)})))||void 0===e?void 0:e.country)||ta.country||ea.country,c=(0,n.Z)((0,r.Z)({},ea),{service_name:ta.service||ea.service_name,country:s,order_value:ta.priceSats,value:ta.priceSats});i&&Je.current!==ta.orderId&&((0,ma.WE)(c,ta.orderId),Je.current=ta.orderId),o?Xe({notice:pa(ta),error:"failed"===t&&ta.error||""}):(i&&u(2),(null===(a=ta.messages)||void 0===a?void 0:a.length)&&Qe.current!==ta.orderId&&((0,ma.FD)(c,ta.orderId),Qe.current=ta.orderId))}}),[ta,ea,Xe,Ee]);var sa=function(){var e=(0,m.Z)((function(){var e,a,t,i,o,s,c;return(0,h.__generator)(this,(function(l){switch(l.label){case 0:if(!g||Ve.current)return[2];we(""),Re("receive"),ve(""),Ye.current=!0,Le(null),Ve.current=!0,u(1),ne(!0),ue(""),e=new URLSearchParams(window.location.search).get("ref")||void 0,a=(0,r.Z)({country:ya(p),service:wa(g)},e?{referral:e}:{}),t="sms_receive:".concat(a.country,":").concat(a.service),i=JSON.stringify(a),He.current!==t&&((0,ma.t$)(ea,t),He.current=t),Ke.current&&Ke.current.signature===i||(Ke.current=Ie("receive",i)||Ae("receive",{signature:i,key:Pe()})),l.label=1;case 1:return l.trys.push([1,4,5,6]),[4,ge(a,Ke.current.key)];case 2:return o=l.sent(),s=Ne("receive",(0,r.Z)({},o,a)),_e(s),Se(o.invoice),Be(o.priceSats),(0,ma.mF)((0,n.Z)((0,r.Z)({},ea),{order_value:o.priceSats,value:o.priceSats}),o.orderId),(0,ma.LM)((0,n.Z)((0,r.Z)({},ea),{order_value:o.priceSats,value:o.priceSats}),o.orderId),(0,ma.BG)((0,n.Z)((0,r.Z)({},ea),{order_value:o.priceSats,value:o.priceSats}),o.orderId),Ke.current=null,Me("receive"),He.current="",[4,W(o.invoice)];case 3:return l.sent(),[3,6];case 4:return c=l.sent(),ue(ka(c)),(null===c||void 0===c?void 0:c.transient)||"IDEMPOTENCY_IN_PROGRESS"===(null===c||void 0===c?void 0:c.code)||(Ke.current=null,Me("receive")),u(0),He.current="",[3,6];case 5:return Ve.current=!1,ne(!1),[7];case 6:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),ja=function(){var e=(0,m.Z)((function(){var e,a;return(0,h.__generator)(this,(function(t){switch(t.label){case 0:if(!Ee)return[2];se(!0),ue(""),t.label=1;case 1:return t.trys.push([1,4,5,6]),[4,xe("receive",Ee.orderId,Ee.accessToken)];case 2:return e=t.sent(),ca(xa(e))?(Xe({notice:pa(e),error:"failed"===xa(e)&&e.error||""}),[2]):[4,na().catch((function(){return null}))];case 3:return t.sent(),[3,6];case 4:return a=t.sent(),ue(ka(a)),[3,6];case 5:return se(!1),[7];case 6:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),Sa=function(){var e,a,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.snapshot,n=t.hasOrderAccess,i=void 0!==n&&n,o=(null===r||void 0===r?void 0:r.status)||(null===r||void 0===r?void 0:r.orderStatus)||"",s=ca(o),c=null===r||void 0===r||null===(e=r.messages)||void 0===e?void 0:e[0],l=(null===c||void 0===c?void 0:c.code)||(null===c||void 0===c?void 0:c.content)||"",u=(null===r||void 0===r?void 0:r.phoneNumber)||"",d=s?"":u,p=s?"":l;return{status:o,isTerminalError:s,shouldDiscardOrder:s&&i,number:d,code:p,waitingForNumber:Boolean(i)&&!d&&!s,waitingForCode:Boolean(d)&&!p&&!s,cancellable:Boolean(null===r||void 0===r||null===(a=r.cancellation)||void 0===a?void 0:a.eligible)&&!s}}({snapshot:ta,hasOrderAccess:Boolean(Ee)}),Za=Sa.isTerminalError,Ca=Sa.number,Na=Sa.code,Ta=Sa.waitingForNumber,za=Sa.waitingForCode,Ia=Sa.cancellable&&!oe,Aa=pe||le,Ma=Boolean(g&&(L||J||!ee)&&!le&&!re),Ra=Boolean(Ee&&ra&&!ra.transient),Pa=ee||je?"Pay ".concat(Ce," sats (Tap or Scan)"):"Pay Lightning Invoice",Ba=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(e.storageLoaded,e.hasOrderAccess),t=void 0!==a&&a,r=e.snapshot,n=void 0===r?null:r,i=(e.fatalPollingError,e.fallbackStep),o=void 0===i?0:i,s=t?n:null,c=ua(s);return{showFlow:!0,checkingSavedOrder:!1,activeStep:s&&c?2:o}}({storageLoaded:Ue,hasOrderAccess:Boolean(Ee),snapshot:ta,fatalPollingError:Ra,fallbackStep:l}),qa=Ba.activeStep;return(0,o.jsxs)("div",{className:i.root,children:[Ge&&(0,o.jsxs)(N.Z,{severity:"info",variant:"outlined",className:i.savedOrderAlert,children:[(0,o.jsx)(T.Z,{children:"Paid order found"}),"Resume it to continue receiving your number or code.",(0,o.jsxs)("div",{className:i.savedOrderActions,children:[(0,o.jsx)(k.Z,{onClick:function(){if(Ge){var e,a,t=Ge.access,r=Ge.snapshot;if(da(r))Ye.current=!0,Le(null),ue(""),_e(t),Se(t.invoice||""),Be(null!==(a=null!==(e=null===r||void 0===r?void 0:r.priceSats)&&void 0!==e?e:t.priceSats)&&void 0!==a?a:ga),u(2);else Xe()}},variant:"contained",color:"primary",children:"Resume paid order"}),(0,o.jsx)(k.Z,{onClick:function(){Ye.current=!0,Le(null)},variant:"text",color:"primary",children:"Not now"})]})]}),Aa&&(0,o.jsx)(N.Z,{severity:"error",variant:"outlined",children:Aa}),Ra&&(0,o.jsxs)(N.Z,{severity:"warning",variant:"outlined",children:["We could not refresh this order. Your saved order is still safe.",(0,o.jsx)(k.Z,{onClick:function(){return na().catch((function(){return null}))},className:i.button,variant:"outlined",color:"primary",children:"Retry connection"})]}),(null===ra||void 0===ra?void 0:ra.transient)&&(0,o.jsx)(N.Z,{severity:"warning",variant:"outlined",children:"Connection interrupted. Retrying automatically\u2026"}),(0,o.jsxs)(y.Z,{activeStep:qa,orientation:"vertical",className:i.stepper,children:[(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Select Country & Service"}),(0,o.jsxs)(x.Z,{children:[ye&&(0,o.jsx)(N.Z,{severity:"warning",variant:"outlined",className:i.outcomeNotice,children:ye}),(0,o.jsx)(z.ZP,{id:"country-select",style:{marginBottom:8,marginTop:8},options:Y,value:p,onChange:function(e,a){var r=a||Y[0]||null;we(""),Re("receive"),v(r),Ke.current=null,ae(!1),A(null),B(t||""),(0,ma.EE)({country:(null===r||void 0===r?void 0:r.label)||"Auto-Select",product_type:"sms_receive"},"sms_receive:".concat((null===r||void 0===r?void 0:r.label)||"auto"))},autoComplete:!0,autoSelect:!0,autoHighlight:!0,getOptionLabel:function(e){return(null===e||void 0===e?void 0:e.label)||""},getOptionSelected:function(e,a){return(null===e||void 0===e?void 0:e.code)===(null===a||void 0===a?void 0:a.code)&&(null===e||void 0===e?void 0:e.label)===(null===a||void 0===a?void 0:a.label)},renderOption:function(e){return(0,o.jsxs)(s.Fragment,{children:[(0,o.jsx)(F,{src:G(ya(e)),label:e.label,fallback:"Auto-Select"===e.label?"\ud83c\udf10":Q(e.code)}),e.label]})},renderInput:function(e){return(0,o.jsx)(j.Z,(0,n.Z)((0,r.Z)({},e),{label:"Country",variant:"outlined",inputProps:(0,n.Z)((0,r.Z)({},e.inputProps),{autoComplete:"new-password"})}))}}),(0,o.jsx)(z.ZP,{id:"service-select",style:{marginBottom:8},options:E,value:g,inputValue:P,loading:L,onChange:function(e,a){we(""),Re("receive"),Ke.current=null,ae(!1),A(a),a&&(B(fa(a)),(0,ma.N)({service_name:fa(a),country:(null===p||void 0===p?void 0:p.label)||"Auto-Select",product_type:"sms_receive"},"sms_receive:".concat(wa(a))))},onInputChange:function(e,a,t){"reset"!==t&&B(a)},autoHighlight:!0,getOptionLabel:fa,getOptionSelected:function(e,a){return wa(e)===wa(a)},renderOption:function(e){return(0,o.jsxs)(s.Fragment,{children:[(0,o.jsx)(F,{src:D(e),label:fa(e)}),fa(e)]})},renderInput:function(e){return(0,o.jsx)(j.Z,(0,n.Z)((0,r.Z)({},e),{label:"Service",variant:"outlined",inputProps:(0,n.Z)((0,r.Z)({},e.inputProps),{autoComplete:"new-password"})}))}}),(0,o.jsx)(C.Z,{variant:"caption",color:"textSecondary",children:"Availability and price are confirmed before order creation."}),(0,o.jsx)("div",{className:i.actionsContainer,children:(0,o.jsx)(k.Z,{fullWidth:!0,disabled:!g||L||J||!ee||re,variant:"contained",color:"primary",onClick:sa,className:i.button,"aria-busy":Ma,startIcon:Ma?(0,o.jsx)(S.Z,{size:16,thickness:3,color:"inherit"}):void 0,children:re?"Creating\u2026":Ma?"Checking availability\u2026":"Next"})})]})]}),(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:Pa}),(0,o.jsxs)(x.Z,{children:[re&&(0,o.jsx)("div",{className:i.loadingRow,"aria-live":"polite","aria-label":"Creating order",children:(0,o.jsx)(S.Z,{color:"primary"})}),!re&&je&&(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:"100%",alignItems:"center"},children:[(0,o.jsx)("a",{href:"lightning:".concat(je),children:(0,o.jsx)(I.Z,{value:je,className:i.qrMargin})}),(0,o.jsxs)("div",{className:i.invoiceRow,children:[(0,o.jsx)(j.Z,{className:i.invoiceField,label:"Lightning invoice",variant:"outlined",value:je,inputProps:{readOnly:!0}}),(0,o.jsx)(k.Z,{className:i.invoiceCopy,disabled:!je,onClick:function(){return navigator.clipboard.writeText(je)},variant:"contained",color:"primary",startIcon:(0,o.jsx)(Z.Z,{}),children:"Copy invoice"})]}),(0,o.jsx)(R,{invoice:je}),(0,o.jsxs)(N.Z,{variant:"outlined",severity:"info",className:i.invoiceNotice,children:[(0,o.jsx)(T.Z,{children:"No Code = No Payment"}),"If no code arrives, your hold payment is canceled automatically."]})]}),!re&&!je&&(0,o.jsx)(k.Z,{variant:"outlined",onClick:function(){return u(0)},className:i.button,children:"Back"}),Ia&&(0,o.jsx)(k.Z,{variant:"outlined",disabled:oe,onClick:ja,className:i.button,children:oe?"Cancelling\u2026":"Cancel order"})]})]}),(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Reveal Number & Code"}),(0,o.jsx)(x.Z,{children:!Za&&(0,o.jsx)(ia,{phoneNumber:Ca,countryId:(null===ta||void 0===ta?void 0:ta.country)||(null===Ee||void 0===Ee?void 0:Ee.country),code:Na,expiresAt:null===ta||void 0===ta?void 0:ta.expiresAt,waitingForNumber:Ta,waitingForCode:za,cancellable:Ia,isCancelling:oe,onCancel:ja,onNewOrder:function(){oa(),Ye.current=!0,Xe()},showNewOrder:Boolean(Na||ra&&!ra.transient)})})]})]})]})}var Sa=t(1749),Za=t(9895),Ca=t(7812),Na=t(7773),Ta=t(4276),za=t(868),Ia=t(2302),Aa=t(9613),Ma=t(8222),Ra=t(6847),Pa=t(3750),Ba=t(7394),qa=new Set(["failed","expired","cancelled"]),Ea=function(e){return qa.has(String(e||""))};var _a="full",Oa=J[0]||{text:"24 Hours",value:24},Da=function(e){return(null===e||void 0===e?void 0:e.status)||(null===e||void 0===e?void 0:e.orderStatus)||""},Ga=function(e){return(null===e||void 0===e?void 0:e.message)||"Something went wrong. Please try again."},La=(0,u.Z)((function(e){return{root:{width:"100%"},stepper:{backgroundColor:"transparent"},button:{marginTop:e.spacing(1),marginRight:e.spacing(1)},alert:{marginTop:e.spacing(1)},actionsContainer:{marginBottom:e.spacing(2)},resetContainer:{padding:e.spacing(3)},paperBottom:{marginBottom:e.spacing(2),padding:e.spacing(3)},qrMargin:{marginBottom:16},centerVertical:{verticalAlign:"middle"}}})),Fa=function(e){var a,t=String(e.country),i=null===(a=V.find((function(e){return String(e.cc)===t})))||void 0===a?void 0:a.country,o={England:"United Kingdom",US:"United States",USA:"United States",Czech:"Czech Republic"}[i]||i||t,s=Y.find((function(e){return e.label===o}));return(0,n.Z)((0,r.Z)({},e),{providerId:t,label:o,code:(null===s||void 0===s?void 0:s.code)||"ZZ"})};
1function Ua(){var e,a=La(),t=(0,s.useState)(0),i=t[0],c=t[1],l=(0,s.useState)(Oa),u=l[0],d=l[1],p=(0,s.useState)([]),v=p[0],b=p[1],g=(0,s.useState)(null),C=g[0],A=g[1],M=(0,s.useState)(!1),P=M[0],B=M[1],q=(0,s.useState)(!1),E=q[0],_=q[1],O=(0,s.useState)(!1),D=O[0],G=O[1],L=(0,s.useState)(""),F=L[0],U=L[1],H=(0,s.useState)(""),K=H[0],Y=H[1],$=(0,s.useState)(15e3),X=$[0],ee=$[1],ae=(0,s.useState)(null),te=ae[0],re=ae[1],ne=(0,s.useState)(""),ie=ne[0],oe=ne[1],se=(0,s.useRef)(""),ce=(0,s.useRef)(null),le=(0,s.useRef)(!1),ue=(0,s.useRef)(""),de=60*Number((null===u||void 0===u?void 0:u.value)||24),pe=(0,s.useMemo)((function(){return{service_name:_a,country:(null===C||void 0===C?void 0:C.label)||"",product_type:"number_rental",order_value:X,value:X,currency:"SATS"}}),[C,X]),ve=Oe({product:"rent",orderId:null===te||void 0===te?void 0:te.orderId,accessToken:null===te||void 0===te?void 0:te.accessToken,enabled:Boolean(te)}),be=ve.snapshot,me=ve.error,ge=ve.refresh;(0,s.useEffect)((function(){var e=Te("rent");e&&(re(e),oe(e.orderReference),Y(e.invoice||""),null!=e.priceSats&&ee(e.priceSats),c(e.invoice?1:2))}),[]),(0,s.useEffect)((function(){var e=new AbortController,a=!0;return B(!0),b([]),A(null),U(""),he({service:_a,durationMinutes:de},{signal:e.signal}).then((function(e){if(a){var t=(e.countries||[]).filter((function(e){return Number(e.availability)>0})).map(Fa);b(t),A((function(e){return t.find((function(a){return a.providerId===(null===e||void 0===e?void 0:e.providerId)}))||t[0]||null}))}})).catch((function(e){a&&"AbortError"!==(null===e||void 0===e?void 0:e.name)&&U(Ga(e))})).finally((function(){a&&B(!1)})),function(){a=!1,e.abort()}}),[de]),(0,s.useEffect)((function(){if(C){var e=new AbortController;return U(""),ye({country:C.providerId,service:_a,durationMinutes:de},{signal:e.signal}).then((function(e){ee(e.priceSats),U("")})).catch((function(e){"AbortError"!==(null===e||void 0===e?void 0:e.name)&&U(Ga(e))})),function(){return e.abort()}}}),[C,de]),(0,s.useEffect)((function(){var e;if(be){null!=be.priceSats&&ee(be.priceSats);var a=Da(be),t=Boolean(be.paidAt)||["paid","allocating","settlement_pending","rent_active","completed"].includes(a),i=Ea(a),o=(null===(e=V.find((function(e){return String(e.cc)===String(be.country)})))||void 0===e?void 0:e.country)||be.country||pe.country;if(i)return ze("rent"),Me("rent"),re(null),oe(""),Y(""),c(0),ce.current=null,void(ue.current="");t&&c(2),t&&ue.current!==be.orderId&&((0,ma.WE)((0,n.Z)((0,r.Z)({},pe),{service_name:be.service||_a,country:o,order_value:be.priceSats,value:be.priceSats}),be.orderId),ue.current=be.orderId)}}),[be,pe]);var fe=function(){var e=(0,m.Z)((function(){var e,a,t,i,o,s,l;return(0,h.__generator)(this,(function(u){switch(u.label){case 0:if(!C||le.current)return[2];le.current=!0,c(1),_(!0),U(""),e=new URLSearchParams(window.location.search).get("ref")||void 0,a=(0,r.Z)({country:C.providerId,service:_a,durationMinutes:de},e?{referral:e}:{}),t="number_rental:".concat(a.country,":").concat(de),i=JSON.stringify(a),se.current!==t&&((0,ma.t$)(pe,t),se.current=t),ce.current&&ce.current.signature===i||(ce.current=Ie("rent",i)||Ae("rent",{signature:i,key:Pe()})),u.label=1;case 1:return u.trys.push([1,4,5,6]),[4,we(a,ce.current.key)];case 2:return o=u.sent(),s=Ne("rent",(0,r.Z)({},o,a)),re(s),oe(s.orderReference),Y(o.invoice),ee(o.priceSats),(0,ma.mF)((0,n.Z)((0,r.Z)({},pe),{order_value:o.priceSats,value:o.priceSats}),o.orderId),(0,ma.BG)((0,n.Z)((0,r.Z)({},pe),{order_value:o.priceSats,value:o.priceSats}),o.orderId),ce.current=null,Me("rent"),se.current="",[4,W(o.invoice)];case 3:return u.sent(),[3,6];case 4:return l=u.sent(),U(Ga(l)),(null===l||void 0===l?void 0:l.transient)||"IDEMPOTENCY_IN_PROGRESS"===(null===l||void 0===l?void 0:l.code)||(ce.current=null,Me("rent")),c(0),se.current="",[3,6];case 5:return le.current=!1,_(!1),[7];case 6:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),ke=function(){var e=(0,m.Z)((function(){var e;return(0,h.__generator)(this,(function(a){switch(a.label){case 0:if(!te)return[2];G(!0),U(""),a.label=1;case 1:return a.trys.push([1,4,5,6]),[4,xe("rent",te.orderId,te.accessToken)];case 2:return a.sent(),[4,ge().catch((function(){return null}))];case 3:return a.sent(),[3,6];case 4:return e=a.sent(),U(Ga(e)),[3,6];case 5:return G(!1),[7];case 6:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),je=function(){ze("rent"),re(null),oe(""),Y(""),U(""),c(0),ce.current=null,Me("rent"),ue.current=""},Se=Da(be),Ze=["failed","expired","cancelled"].includes(Se),Ce=Boolean(null===be||void 0===be||null===(e=be.cancellation)||void 0===e?void 0:e.eligible)&&!D,Re=(null===be||void 0===be?void 0:be.phoneNumber)||"",Be=Array.isArray(null===be||void 0===be?void 0:be.messages)?be.messages:[],qe=F||(me&&!me.transient?Ga(me):""),Ee=Boolean(te&&me&&!me.transient),_e=(null===te||void 0===te?void 0:te.orderReference)||(te?"".concat(te.orderId,".").concat(te.accessToken):"");return(0,o.jsxs)("div",{className:a.root,children:[(0,o.jsxs)(N.Z,{variant:"outlined",severity:"warning",className:a.alert,children:[(0,o.jsx)(T.Z,{children:"No Refunds after allocation"}),"Rental numbers are non-refundable after a number is allocated and may not work for every service."]}),qe&&(0,o.jsx)(N.Z,{severity:"error",variant:"outlined",className:a.alert,children:qe}),Ee&&(0,o.jsx)(k.Z,{onClick:je,className:a.button,variant:"contained",color:"primary",children:"Discard saved rental and start again"}),(null===me||void 0===me?void 0:me.transient)&&(0,o.jsx)(N.Z,{severity:"warning",variant:"outlined",className:a.alert,children:"Connection interrupted. Retrying automatically\u2026"}),(0,o.jsxs)(y.Z,{activeStep:i,orientation:"vertical",className:a.stepper,children:[(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Select Country & Duration"}),(0,o.jsxs)(x.Z,{children:[(0,o.jsx)(z.ZP,{id:"rental-country-select",style:{marginBottom:8,marginTop:8},options:v,value:C,loading:P,onChange:function(e,a){a&&(ce.current=null,A(a),null!=a.priceSats&&ee(a.priceSats),(0,ma.EE)({country:a.label,product_type:"number_rental"},"number_rental:".concat(a.providerId)))},autoComplete:!0,autoSelect:!0,autoHighlight:!0,getOptionLabel:function(e){return(null===e||void 0===e?void 0:e.label)||""},getOptionSelected:function(e,a){return(null===e||void 0===e?void 0:e.providerId)===(null===a||void 0===a?void 0:a.providerId)},renderOption:function(e){return(0,o.jsxs)(s.Fragment,{children:[(0,o.jsx)("span",{style:{marginRight:4},children:Q(e.code)}),e.label]})},renderInput:function(e){return(0,o.jsx)(j.Z,(0,n.Z)((0,r.Z)({},e),{label:"Country",variant:"outlined",inputProps:(0,n.Z)((0,r.Z)({},e.inputProps),{autoComplete:"new-password"})}))}}),(0,o.jsx)(z.ZP,{id:"duration-select",style:{marginBottom:8},options:J,value:u,onChange:function(e,a){a&&(ce.current=null,d(a),(0,ma.N)({service_name:"".concat(a.value,"h rental"),country:(null===C||void 0===C?void 0:C.label)||"",product_type:"number_rental"},"number_rental:".concat(a.value,"h")))},getOptionLabel:function(e){return(null===e||void 0===e?void 0:e.text)||""},getOptionSelected:function(e,a){return(null===e||void 0===e?void 0:e.value)===(null===a||void 0===a?void 0:a.value)},renderInput:function(e){return(0,o.jsx)(j.Z,(0,n.Z)((0,r.Z)({},e),{label:"Duration",variant:"outlined",inputProps:(0,n.Z)((0,r.Z)({},e.inputProps),{autoComplete:"new-password"})}))}}),(0,o.jsx)("div",{className:a.actionsContainer,children:(0,o.jsx)(k.Z,{fullWidth:!0,disabled:!C||P||E,variant:"contained",color:"primary",onClick:fe,className:a.button,children:E?"Creating\u2026":"Next"})})]})]}),(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Pay ".concat(X," sats (Tap or Scan)")}),(0,o.jsxs)(x.Z,{children:[E&&(0,o.jsx)(S.Z,{}),!E&&K&&(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:"100%",alignItems:"center"},children:[(0,o.jsx)("a",{href:"lightning:".concat(K),children:(0,o.jsx)(I.Z,{value:K,className:a.qrMargin})}),(0,o.jsxs)("div",{style:{display:"flex",width:"100%"},children:[(0,o.jsx)(j.Z,{style:{marginTop:4,width:"100%"},label:"invoice",variant:"outlined",value:K,inputProps:{readOnly:!0}}),(0,o.jsx)(Ca.Z,{disabled:!K,onClick:function(){return navigator.clipboard.writeText(K)},children:(0,o.jsx)(Z.Z,{})})]}),(0,o.jsx)(R,{invoice:K}),(0,o.jsxs)("a",{href:"https://fixedfloat.com/ETH/BTCLN?ref=pmdxabka",target:"_blank",rel:"noreferrer",children:["Pay the Lightning invoice with other coins ",(0,o.jsx)(Ta.Z,{className:a.centerVertical})]})]}),!K&&(0,o.jsx)(k.Z,{variant:"outlined",onClick:function(){return c(0)},className:a.button,children:"Back"}),Ce&&(0,o.jsx)(k.Z,{variant:"outlined",disabled:D,onClick:ke,className:a.button,children:D?"Cancelling\u2026":"Cancel rental"})]})]}),(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Reveal Number"}),(0,o.jsxs)(x.Z,{children:[!Re&&!Ze&&(0,o.jsx)(S.Z,{}),Re&&(0,o.jsx)(N.Z,{severity:"success",icon:(0,o.jsx)(Na.Z,{}),children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,o.jsxs)("p",{children:["Phone Number: ",(0,o.jsx)("strong",{children:Re})]}),(0,o.jsx)(za.ZP,{title:"Copy Phone Number",children:(0,o.jsx)(k.Z,{onClick:function(){return navigator.clipboard.writeText(Re)},startIcon:(0,o.jsx)(Z.Z,{})})})]})}),Ze&&(0,o.jsxs)(N.Z,{severity:"error",variant:"outlined",children:[(0,o.jsx)(T.Z,{children:"Rental unavailable"}),(null===be||void 0===be?void 0:be.error)||"Order ".concat(Se,".")]}),(Ze||me&&!me.transient)&&(0,o.jsx)(k.Z,{onClick:je,className:a.button,variant:"contained",color:"primary",children:"New Rental"})]})]})]}),(0,o.jsxs)(Za.Z,{elevation:1,className:a.resetContainer,children:[(0,o.jsxs)(N.Z,{variant:"outlined",severity:"info",children:[(0,o.jsx)(T.Z,{children:"Existing Rentals"}),"Paste the complete rental reference (",(0,o.jsx)("strong",{children:"id.token"}),") to access the number and messages. The token is required and is stored only in this browser."]}
1),(0,o.jsxs)(Sa.Z,{container:!0,spacing:1,children:[(0,o.jsx)(Sa.Z,{item:!0,xs:12,sm:9,children:(0,o.jsx)(j.Z,{label:"Rental reference (id.token)",variant:"outlined",value:ie,onChange:function(e){return oe(e.target.value)},style:{marginTop:16},fullWidth:!0})}),(0,o.jsx)(Sa.Z,{item:!0,xs:12,sm:3,children:(0,o.jsx)(k.Z,{variant:"contained",color:"primary",onClick:function(){var e=function(e){var a=String(e||"").trim(),t=a.indexOf(".");return t<=0||t===a.length-1?null:{orderId:a.slice(0,t),accessToken:a.slice(t+1),orderReference:a}}(ie);if(e){var a=Ne("rent",e);re(a),Y(""),U(""),c(2)}else U("Enter the complete rental reference in the id.token format.")},className:a.button,style:{marginTop:16},fullWidth:!0,children:"Look up"})})]})]}),te&&(0,o.jsxs)(Za.Z,{elevation:1,className:a.paperBottom,style:{marginTop:16},children:[(0,o.jsxs)(N.Z,{variant:"outlined",severity:"success",children:[(0,o.jsx)(T.Z,{children:"Rental Phone Details"}),"Save this complete reference to continue using your rental from another browser."]}),(0,o.jsxs)(Sa.Z,{container:!0,spacing:1,children:[(0,o.jsx)(Sa.Z,{item:!0,xs:12,children:(0,o.jsxs)("div",{style:{display:"flex",width:"100%"},children:[(0,o.jsx)(j.Z,{label:"Rental reference",variant:"outlined",value:_e,style:{marginTop:16},fullWidth:!0,inputProps:{readOnly:!0}}),(0,o.jsx)(Ca.Z,{disabled:!_e,onClick:function(){return navigator.clipboard.writeText(_e)},children:(0,o.jsx)(Z.Z,{})})]})}),(0,o.jsx)(Sa.Z,{item:!0,xs:12,children:(0,o.jsx)(j.Z,{label:"Phone Number",variant:"outlined",value:Re,fullWidth:!0,inputProps:{readOnly:!0}})}),(0,o.jsx)(Sa.Z,{item:!0,xs:12,children:(0,o.jsx)(j.Z,{label:"Rental End Date",variant:"outlined",value:(null===be||void 0===be?void 0:be.endDate)?new Date(be.endDate).toLocaleString():"",fullWidth:!0,inputProps:{readOnly:!0}})})]}),Re&&!Ze&&(0,o.jsx)(k.Z,{onClick:je,className:a.button,variant:"outlined",children:"Start another rental"}),Be.length>0&&(0,o.jsx)(Ra.Z,{component:Za.Z,className:a.button,style:{marginTop:16},children:(0,o.jsxs)(Ia.Z,{"aria-label":"sms table",children:[(0,o.jsx)(Pa.Z,{children:(0,o.jsxs)(Ba.Z,{children:[(0,o.jsx)(Ma.Z,{children:"Text"}),(0,o.jsx)(Ma.Z,{children:"Code"}),(0,o.jsx)(Ma.Z,{children:"Date"}),(0,o.jsx)(Ma.Z,{children:"ID"})]})}),(0,o.jsx)(Aa.Z,{children:Be.map((function(e,a){return(0,o.jsxs)(Ba.Z,{children:[(0,o.jsx)(Ma.Z,{children:e.content}),(0,o.jsx)(Ma.Z,{children:e.code}),(0,o.jsx)(Ma.Z,{children:e.receivedAt?new Date(e.receivedAt).toLocaleString():""}),(0,o.jsx)(Ma.Z,{children:e.id})]},e.id||"".concat(e.receivedAt,"-").concat(a))}))})]})})]})]})}var Wa=t(6210),Ha=t(3099),Ka=t(3781),Va=t(9669),Ya=t.n(Va),Ja=t(9637),Qa=/^[a-f0-9]{64}$/i,$a=/^[a-f0-9]{64}$/i;function Xa(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=String(e||"").trim(),r=String(a||"").trim();return r?"".concat(t,".").concat(r):t}function et(e){var a=String(e||"").trim();return a?{headers:{Authorization:"Bearer ".concat(a)}}:{}}var at="https://api.sms4sats.com/v2/emails",tt=["completed","cancelled","failed","expired"],rt=["cancelled","failed","expired"],nt=["paid","waiting_for_email","code_received","completed"],it=(0,u.Z)((function(e){return{root:{width:"100%"},stepper:{backgroundColor:"transparent"},button:{marginTop:e.spacing(1),marginRight:e.spacing(1)},actionsContainer:{marginBottom:e.spacing(2)},qrMargin:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},formField:{marginBottom:e.spacing(2),marginTop:e.spacing(1)},invoiceWrap:{alignItems:"center",display:"flex",flexDirection:"column",width:"100%"},row:{display:"flex",width:"100%"},fullWidth:{width:"100%"},breakWord:{wordBreak:"break-word"},orderSummary:{position:"relative",paddingRight:e.spacing(6)},summaryDownload:{position:"absolute",right:e.spacing(1),top:e.spacing(1)},stepLabelLink:{color:e.palette.primary.main,cursor:"pointer",fontSize:"0.85rem",fontWeight:400,marginLeft:e.spacing(1),textDecoration:"underline"},messageFrame:{border:"1px solid #ddd",borderRadius:4,marginTop:e.spacing(1),minHeight:220,width:"100%"}}})),ot=function(e){return e.trim().toLowerCase().replace(/^@/,"")},st=function(e){var a,t,r,n,i,o;return(null===e||void 0===e||null===(a=e.response)||void 0===a||null===(t=a.data)||void 0===t?void 0:t.message)||(null===e||void 0===e||null===(r=e.response)||void 0===r||null===(n=r.data)||void 0===n?void 0:n.error)||(null===e||void 0===e||null===(i=e.response)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.code)||(null===e||void 0===e?void 0:e.message)||"Something went wrong. Please try again."},ct=function(e){return(null===e||void 0===e?void 0:e.email)||(null===e||void 0===e?void 0:e.address)||(null===e||void 0===e?void 0:e.emailAddress)||(null===e||void 0===e?void 0:e.mail)||""},lt=function(e){var a,t,r;return(null===e||void 0===e?void 0:e.code)||(null===e||void 0===e?void 0:e.activationCode)||(null===e||void 0===e?void 0:e.otp)||(null===e||void 0===e?void 0:e.pin)||(null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.code)||(null===e||void 0===e||null===(t=e.messages)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.code)||""},ut=function(e){var a,t=(null===e||void 0===e?void 0:e.message)||(null===e||void 0===e?void 0:e.emailMessage)||(null===e||void 0===e||null===(a=e.messages)||void 0===a?void 0:a[0]);return t?"string"===typeof t?t:t.text||t.body||t.subject||JSON.stringify(t,null,2):""},dt=function(e){var a=e.replace(/<script[\s\S]*?>[\s\S]*?<\/script>/gi,"").replace(/\son\w+=(["']).*?\1/gi,"").replace(/\s(href|src)=(["'])\s*javascript:[\s\S]*?\2/gi,"");return"<!doctype html>\n<html>\n  <head>\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'none'; img-src data:; style-src 'unsafe-inline'; base-uri 'none'; form-action 'none';\" />\n    <style>\n      body { color: #222; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.45; margin: 12px; }\n    </style>\n  </head>\n  <body>".concat(a,"</body>\n</html>")};function pt(){var e=it(),a=(0,s.useRef)(),t=(0,s.useRef)(""),i=(0,s.use
1State)(0),c=i[0],l=i[1],u=(0,s.useState)(""),d=u[0],p=u[1],v=(0,s.useState)(null),b=v[0],g=v[1],A=(0,s.useState)([]),M=A[0],P=A[1],B=(0,s.useState)(!1),q=B[0],E=B[1],_=(0,s.useState)(""),O=_[0],D=_[1],G=(0,s.useState)(!1),L=G[0],F=G[1],U=(0,s.useState)(""),H=U[0],K=U[1],V=(0,s.useState)(""),Y=V[0],J=V[1],Q=(0,s.useState)(""),$=Q[0],X=Q[1],ee=(0,s.useState)(""),ae=ee[0],te=ee[1],re=(0,s.useState)(""),ne=re[0],ie=re[1],oe=(0,s.useState)(null),se=oe[0],ce=oe[1],le=(0,s.useState)(""),ue=le[0],de=le[1],pe=(0,s.useState)(!1),ve=pe[0],be=pe[1],me=(0,s.useState)(!1),ge=me[0],he=me[1],ye=(0,s.useState)(!1),we=ye[0],fe=ye[1],xe=(0,s.useState)(""),ke=xe[0],je=xe[1],Se=(0,s.useState)(!1),Ze=Se[0],Ce=Se[1],Ne=(0,s.useState)(0),Te=Ne[0],ze=Ne[1],Ie=(0,s.useState)(Date.now()),Ae=Ie[0],Me=Ie[1],Re=(0,s.useMemo)((function(){return ct(se)}),[se]),Pe=(0,s.useMemo)((function(){return lt(se)}),[se]),Be=(0,s.useMemo)((function(){return ut(se)}),[se]),qe=ue||(null===se||void 0===se?void 0:se.status)||"",Ee=(0,s.useMemo)((function(){return function(e){var a=e.trim().toLowerCase();if(!a)return"";try{var t=/^[a-z][a-z0-9+.-]*:\/\//i.test(a)?a:"https://".concat(a);return new URL(t).hostname.replace(/^www\./,"").replace(/\.$/,"")}catch(ke){return a.replace(/^[a-z][a-z0-9+.-]*:\/\//i,"").split(/[/?#]/)[0].split("@").pop().split(":")[0].replace(/^www\./,"").replace(/\.$/,"")}}(d)}),[d]),_e=(0,s.useMemo)((function(){return e=Ee,Boolean(e)&&e.length<=253&&e.includes(".")&&/^[a-z0-9.-]+$/.test(e)&&e.split(".").every((function(e){return e.length>0&&e.length<=63&&!e.startsWith("-")&&!e.endsWith("-")}));var e}),[Ee]),Oe=(null===b||void 0===b?void 0:b.priceSats)||"",De=tt.includes(qe),Ge=rt.includes(qe),Fe=Boolean(Pe||Be||"code_received"===qe||"completed"===qe),Ue=Ee||(null===se||void 0===se?void 0:se.site)||(null===se||void 0===se?void 0:se.service)||"",We=(null===b||void 0===b?void 0:b.name)||(null===se||void 0===se?void 0:se.domain)||(null===se||void 0===se?void 0:se.emailDomain)||"",He=(0,s.useMemo)((function(){return Xa(ae,ne)}),[ae,ne]),Ke=Math.max(0,Te-Ae),Ve=Ze?"Cancel":"Cancel available in ".concat(function(e){var a=Math.max(0,Math.ceil(e/1e3)),t=Math.floor(a/60),r=a%60;return"".concat(t,":").concat(String(r).padStart(2,"0"))}(Ke));(0,s.useEffect)((function(){return function(){return Je()}}),[]),(0,s.useEffect)((function(){if(g(null),P([]),D(""),!L&&d.trim()){if(!_e)return E(!1),void D("Enter a valid site domain.");var e=!1,a=setTimeout((0,m.Z)((function(){var a,t,r;return(0,h.__generator)(this,(function(n){switch(n.label){case 0:E(!0),D(""),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,Ya().get("".concat(at,"/domains"),{params:{site:Ee}})];case 2:return a=n.sent(),i=a.data,t=(Array.isArray(i)?i:(null===i||void 0===i?void 0:i.data)||(null===i||void 0===i?void 0:i.domains)||(null===i||void 0===i?void 0:i.items)||[]).map((function(e){if("string"===typeof e)return{name:ot(e)};var a=ot((null===e||void 0===e?void 0:e.name)||(null===e||void 0===e?void 0:e.domain)||(null===e||void 0===e?void 0:e.value)||"");return a?{name:a,priceSats:(null===e||void 0===e?void 0:e.priceSats)||(null===e||void 0===e?void 0:e.price_sats)||(null===e||void 0===e?void 0:e.costSats)||(null===e||void 0===e?void 0:e.sats),cost:null===e||void 0===e?void 0:e.cost,count:null===e||void 0===e?void 0:e.count}:null})).filter(Boolean),e?[2]:(P(t),g(t[0]||null),0===t.length&&D("No email domains are currently available for this site."),[3,5]);case 3:return r=n.sent(),e?[2]:(D(st(r)),[3,5]);case 4:return e||E(!1),[7];case 5:return[2]}var i}))})),400);return function(){e=!0,clearTimeout(a)}}E(!1)}),[L,_e,Ee,d]),(0,s.useEffect)((function(){if(Ce(!1),ae&&nt.includes(qe)&&!Fe&&!De){var e=function(e){var a=(null===e||void 0===e?void 0:e.paidAt)||(null===e||void 0===e?void 0:e.createdAt)||(null===e||void 0===e?void 0:e.timestamp),t=a?new Date(a).getTime():NaN;return Number.isNaN(t)?Date.now():t}(se)+12e4,a=Math.max(0,e-Date.now());ze(e);var t=setTimeout((function(){return Ce(!0)}),a);return function(){return clearTimeout(t)}}ze(0)}),[Fe,De,qe,se,ae]),(0,s.useEffect)((function(){if(Te&&!Ze){var e=setInterval((function(){return Me(Date.now())}),1e3);return function(){return clearInterval(e)}}}),[Ze,Te]);var Ye,Je=function(){a.current&&(clearInterval(a.current),a.current=null)},Qe=function(){Je(),J(""),X(""),te(""),ie(""),ce(null),de(""),je(""),Ce(!1),ze(0),he(!1),fe(!1)},$e=function(){var e=(0,m.Z)((function(e){var a,t,r,n,i,o,s=arguments;return(0,h.__generator)(this,(function(c){switch(c.label){case 0:if(a=s.length>1&&void 0!==s[1]?s[1]:ne,t=!(s.length>2&&void 0!==s[2])||s[2],!e)return[2];he(!0),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Ya().get("".concat(at,"/").concat(e),et(a))];case 2:return r=c.sent(),n=r.data||{},i=n.status||"",ce(n),de(i),nt.includes(i)&&((0,ma.WE)({service_name:n.site||Ee||"previous_email",country:"",product_type:"temporary_email",order_value:n.priceSats||$||"",value:n.priceSats||$||"",currency:n.priceSats||$?"SATS":""},e),l((function(e){return Math.max(e,2)}))),tt.includes(i)&&(Je(),he(!1)),ct(n)&&(lt(n)||ut(n)||"code_received"===i||"completed"===i)&&(0,ma.jL)({service_name:n.site||Ee||"previous_email",country:"",product_type:"temporary_email"},e),[3,4];
1case 3:return o=c.sent(),je(st(o)),t||he(!1),[3,4];case 4:return[2]}}))}));return function(a){return e.apply(this,arguments)}}(),Xe=function(e,t){Je(),$e(e,t,!1),a.current=setInterval((function(){return $e(e,t)}),5e3)},ea=function(){var e=(0,m.Z)((function(e){var a,i,o,s,c,u=arguments;return(0,h.__generator)(this,(function(d){switch(d.label){case 0:if(a=u.length>1&&void 0!==u[1]?u[1]:{},i=e.orderId||e.id,o=e.accessToken||"",s=e.payreq||e.invoice,!i||!s)throw new Error("The API did not return an order invoice.");return te(i),ie(o),J(s),X(e.priceSats||""),de(e.status||"pending_payment"),c=e.priceSats||a.order_value||"",(0,ma.mF)((0,n.Z)((0,r.Z)({},a),{order_value:c,value:c,currency:c?"SATS":""}),i),(0,ma.F$)({order_value:c,value:c,currency:c?"SATS":"",product_type:"temporary_email"},i),(0,ma.BG)((0,n.Z)((0,r.Z)({},a),{order_value:c,value:c,currency:c?"SATS":""}),i),t.current="",l(1),Xe(i,o),[4,W(s)];case 1:return d.sent(),[2]}}))}));return function(a){return e.apply(this,arguments)}}(),aa=function(){var e=(0,m.Z)((function(){var e,a,r,n;return(0,h.__generator)(this,(function(i){switch(i.label){case 0:be(!0),Qe(),i.label=1;case 1:return i.trys.push([1,4,5,6]),a="".concat((e={service_name:Ee,country:"",product_type:"temporary_email",order_value:Oe,value:Oe,currency:Oe?"SATS":""}).product_type,":").concat(Ee,":").concat((null===b||void 0===b?void 0:b.name)||""),t.current!==a&&((0,ma.N)({service_name:Ee,country:"",product_type:"temporary_email"},"temporary_email:".concat(Ee,":").concat((null===b||void 0===b?void 0:b.name)||"")),(0,ma.t$)(e),t.current=a),[4,Ya().post(at,{site:Ee,domain:ot((null===b||void 0===b?void 0:b.name)||"")},{headers:{"X-SMS4SATS-Email-Capability":"v1"}})];case 2:return r=i.sent(),[4,ea(r.data||{},e)];case 3:return i.sent(),[3,6];case 4:return n=i.sent(),t.current="",je(st(n)),l(0),[3,6];case 5:return be(!1),[7];case 6:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),ta=function(){L?ra(H):aa()},ra=function(){var e=(0,m.Z)((function(e){var a,r,n,i,o,s,c,l;return(0,h.__generator)(this,(function(u){switch(u.label){case 0:if(a=e||Xa(ae,ne),r=function(e){var a=String(e||"").trim(),t=(0,Ja.Z)(a.split(".")),r=t[0],n=t[1],i=void 0===n?"":n;return t.slice(2).length||!Qa.test(r)||i&&!$a.test(i)?null:{orderId:r,accessToken:i}}(a),!r)return je("Enter the complete email order reference."),[2];n=r.orderId,i=r.accessToken,be(!0),Qe(),u.label=1;case 1:return u.trys.push([1,4,5,6]),s="".concat((o={service_name:"previous_email",country:"",product_type:"temporary_email",order_value:"",value:"",currency:""}).product_type,":reorder:").concat(n),t.current!==s&&((0,ma.t$)(o),t.current=s),[4,Ya().post("".concat(at,"/").concat(n,"/reorder"),void 0,et(i))];case 2:return c=u.sent(),[4,ea(c.data||{},o)];case 3:return u.sent(),[3,6];case 4:return l=u.sent(),t.current="",te(n),ie(i),je(st(l)),[3,6];case 5:return be(!1),[7];case 6:return[2]}}))}));return function(a){return e.apply(this,arguments)}}(),na=function(){var e=(0,m.Z)((function(){var e,a,t;return(0,h.__generator)(this,(function(r){switch(r.label){case 0:if(!ae)return[2];fe(!0),je(""),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,Ya().post("".concat(at,"/").concat(ae,"/cancel"),void 0,et(ne))];case 2:return e=r.sent(),a=e.data||{},ce(a),de(a.status||"cancelled"),Je(),he(!1),[3,5];case 3:return t=r.sent(),je(st(t)),[3,5];case 4:return fe(!1),[7];case 5:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),ia=function(e){e&&navigator.clipboard.writeText(e)},oa=function(){Qe(),l(0),p(""),g(null),P([]),D(""),E(!1),F(!1),K("")};return(0,o.jsx)("div",{className:e.root,children:(0,o.jsxs)(y.Z,{activeStep:c,orientation:"vertical",className:e.stepper,children:[(0,o.jsxs)(w.Z,{children:[(0,o.jsxs)(f.Z,{children:["Enter Site & Email Domain",(0,o.jsx)(C.Z,{component:"span",className:e.stepLabelLink,onClick:function(){F((function(e){return!e})),je(""),D("")},children:L?"new order":"or reorder previous email"})]}),(0,o.jsxs)(x.Z,{children:[L?(0,o.jsx)(j.Z,{className:e.formField,label:"Previous order reference",placeholder:"Paste the complete id.token reference",variant:"outlined",value:H,onChange:function(e){return K(e.target.value.trim())},fullWidth:!0}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(j.Z,{className:e.formField,label:"Site",placeholder:"telegram.com",variant:"outlined",value:d,onChange:function(e){return p(e.target.value)},fullWidth:!0}),(0,o.jsx)(z.ZP,{id:"email-domain-select",className:e.formField,options:M,value:b,loading:q,disabled:!_e||q||0===M.length,onChange:function(e,a){return g(a)},getOptionLabel:function(e){return(null===e||void 0===e?void 0:e.name)||""},renderOption:function(e){return(0,o.jsxs)("span",{children:[e.name,void 0!==e.count&&(0,o.jsxs)(C.Z,{component:"span",variant:"caption",color:"textSecondary",children:[" ","(",e.count," available)"]})]})},renderInput:function(e){return(0,o.jsx)(j.Z,(0,n.Z)((0,r.Z)({},e),{label:"Email domain",placeholder:_e?"Select domain":"Enter site first",variant:"outlined",fullWidth:!0,InputProps:(0,n.Z)((0,r.Z)({},e.InputProps),{endAdornment:(0,o.jsxs)(o.Fragment,{children:[q?(0,o.jsx)(S.Z,{color:"inherit",size:20}):null,e.InputProps.endAdornment]})})}))}})]}),(O||ke)&&(0,o.jsx)(N.Z,{severity:"error",variant:"outlined",style:{marginTop:8},children:O||ke}),(0,o.jsx)("div",{className:e.actionsContainer,children:(0,o.jsx)(k.Z,{fullWidth:!0,disabled:L?!H.trim()||ve:!_e||!(null===b||void 0===b?void 0:b.name)||ve||q,variant:"contained",color:"primary",onClick:function(){L?ra(H.trim()):aa()},className:e.button,children:ve?(0,o.jsx)(S.Z,{size:24}):"Next"})})]})]},1),(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Pay ".concat($||Oe||""," sats (Tap or Scan)")}),(0,o.jsxs)(x.Z,{children:[(ve||!Y)&&(0,o.jsx)(S.Z,{}),!ve&&Y&&(0,o.jsxs)("div",{className:e.invoiceWrap,children:[(0,o.jsx)("a",{href:"lightning:".concat(Y),children:(0,o.jsx)(I.Z,{value:Y,className:e.qrMargin})}),(0,o.jsxs)("div",{className:e.row,children:[(0,o.jsx)(j.Z,{label:"invoice",variant:"outlined",value:Y,className:e.fullWidth,inputProps:{readOnly:!0}}),(0,o.jsx)(za.ZP,{title:"Copy invoice",children:(0,o.jsx)(Ca.Z,{disabled:!Y,onClick:function(){return ia(Y)},children:(0,o.jsx)(Z.Z,{})})})]}),(0,o.jsx)(R,{invoice:Y}),(0,o.jsx)(N.Z,{variant:"outlined",severity:"info",style:{marginTop:8},className:e.breakWord,children:"Save the complete order reference. It is required to view, cancel, or reorder this email."}),(0,o.jsxs)("div",{className:e.row,children:[(0,o.jsx)(j.Z,{label:"Order reference",variant:"outlined",value:He,className:e.fullWidth,inputProps:{readOnly:!0}}),(0,o.jsx)(za.ZP,{title:"Copy order reference",children:(0,o.jsx)(Ca.Z,{disabled:!He,onClick:function(){return ia(He)},children:(0,o.jsx)(Z.Z,{})})})]})]}),ke&&(0,o.jsx)(N.Z,{severity:"error",variant:"outlined",style:{marginTop:8},children:ke}),(0,o.jsx)("div",{className:e.actionsContainer,children:(0,o.jsxs)(Sa.Z,{container:!0,spacing:1,children:[(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",onClick:function(){l((function(e){return Math.max(0,e-1)}))},className:e.button,children:"Back"})}),Ge&&(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",onClick:ta,className:e.button,startIcon:(0,o.jsx)(Wa.Z,{}),children:"Re-try"})})]})})]})]},2),(0,o.jsxs)(w.Z,{children:[(0,o.jsx)(f.Z,{children:"Reveal Email & Code"}),(0,o.jsxs)(x.Z,{children:[(0,o.jsxs)(N.Z,{severity:"info",variant:"outlined",className:"".concat(e.breakWord," ").concat(e.orderSummary),children:[(0,o.jsx)(za.ZP,{title:"Download order details",children:(0,o.jsx)(Ca.Z,{"aria-label":"Download order details",size:"small",onClick:function(){if(ae){var e={orderId:ae,orderReference:He,previousOrderReference:L?H:void 0,site:Ue,domain:We,email:Re,activationCode:Pe,status:qe,priceSats:$||Oe,message:Be,savedAt:(new Date).toISOString()},a=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),t=URL.createObjectURL(a),r=document.createElement("a");r.href=t,r.download="sms4sats-email-order-".concat(ae.slice(0,8),".json"),document.body.appendChild(r),r.click(),r.remove(),URL.revokeObjectURL(t)}},className:e.summaryDownload,children:(0,o.jsx)(Ha.Z,{})})}),(0,o.jsxs)("p",{children:["Order ID: ",(0,o.jsx)("strong",{children:ae})]}),L&&(0,o.jsxs)("p",{children:["Previous Order ID: ",(0,o.jsx)("strong",{children:H})]}),Ue&&(0,o.jsxs)("p",{children:["Site: ",(0,o.jsx)("strong",{children:Ue})]}),We&&(0,o.jsxs)("p",{children:["Domain: ",(0,o.jsx)("strong",{children:We})]}),Re&&(0,o.jsxs)("p",{children:["Email: ",(0,o.jsx)("strong",{children:Re})]})]}),!Fe&&!Ge&&(0,o.jsxs)(N.Z,{severity:"info",icon:(0,o.jsx)(Le.Z,{}),style:{marginTop:8},children:["Waiting for the email activation code.",ge&&(0,o.jsx)(S.Z,{size:18,style:{marginLeft:8,verticalAlign:"middle"}})]}),Re&&(0,o.jsx)(N.Z,{severity:"success",icon:(0,o.jsx)(Ka.Z,{}),style:{marginTop:8},children:(0,o.jsxs)("div",{className:e.row,children:[(0,o.jsxs)("span",{className:e.fullWidth,children:["Email Address: ",(0,o.jsx)("strong",{children:Re})]}),(0,o.jsx)(za.ZP,{title:"Copy email address",children:(0,o.jsx)(Ca.Z,{size:"small",onClick:function(){return ia(Re)},children:(0,o.jsx)(Z.Z,{})})})]})}),Pe&&(0,o.jsxs)(N.Z,{severity:"success",variant:"outlined",style:{marginTop:8},children:[(0,o.jsx)(T.Z,{children:"Code Received"}),"Activation Code: ",(0,o.jsx)("strong",{children:Pe})]}),Be&&(Ye=Be,/<\/?[a-z][\s\S]*>/i.test(Ye)?(0,o.jsx)("iframe",{title:"Email message",sandbox:"",referrerPolicy:"no-referrer",srcDoc:dt(Be),className:e.messageFrame}):(0,o.jsx)(j.Z,{label:"Email message",value:Be,variant:"outlined",multiline:!0,minRows:4,fullWidth:!0,style:{marginTop:8},inputProps:{readOnly:!0}})),Ge&&(0,o.jsxs)(N.Z,{severity:"error",variant:"outlined",style:{marginTop:8},children:[(0,o.jsxs)(T.Z,{children:["Order ",qe]}),"Start the same order again with one click."]}),ke&&(0,o.jsx)(N.Z,{severity:"error",variant:"outlined",style:{marginTop:8},children:ke}),(0,o.jsx)("div",{className:e.actionsContainer,children:(0,o.jsxs)(Sa.Z,{container:!0,spacing:1,children:[!Fe&&!Ge&&(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",disabled:!Ze||we,onClick:na,className:e.button,children:we?"Cancelling...":Ve})}),Ge&&(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",onClick:ta,className:e.button,startIcon:(0,o.jsx)(Wa.Z,{}),children:"Re-try"})}),Ge&&(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",onClick:oa,className:e.button,startIcon:(0,o.jsx)(Wa.Z,{}),children:"Start Over"})}),Pe&&(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",onClick:function(){return ia(Pe)},className:e.button,startIcon:(0,o.jsx)(Z.Z,{}),children:"Copy Code"})}),Fe&&(0,o.jsx)(Sa.Z,{item:!0,children:(0,o.jsx)(k.Z,{variant:"outlined",onClick:oa,className:e.button,startIcon:(0,o.jsx)(Wa.Z,{}),children:"Start Over"})})]})})]})]},3)]})})}var vt=["receive","rent","email"],bt={receive:0,rent:1,email:2};function mt(e){var a=e.children,t=e.value,s=e.index,c=(0,i.Z)(e,["children","value","index"]);return(0,o.jsx)("div",(0,n.Z)((0,r.Z)({role:"tabpanel",hidden:t!==s,id:"simple-tabpanel-".concat(s),"aria-labelledby":"simple-tab-".concat(s)},c),{children:t===s&&a}))}mt.propTypes={children:l().node,index:l().any.isRequired,value:l().any.isRequired},ht.propTypes={defaultTab:l().oneOf(vt),defaultServiceSearchTerm:l().string};var gt=(0,u.Z)((function(e){return{root:{maxWidth:"768px"},bar:{marginTop:35,backgroundColor:"#ebebeb",borderRadius:"8px"},TabPanel:{marginTop:15},tab:{padding:15,color:"#3f3f3f"}}}));
1function ht(e){var a=e.defaultTab,t=void 0===a?"receive":a,r=e.defaultServiceSearchTerm,n=void 0===r?"":r,i=gt(),c=(0,s.useState)(bt[t]||0),l=c[0],u=c[1],m=(0,s.useState)(-1),g=m[0],h=m[1];(0,s.useEffect)((function(){if(-1===g){var e=new URLSearchParams(window.location.search);switch(e.get("op")){case"receive":u(0),(0,ma.YU)("receive");break;case"send":u(0),(0,ma.YU)("receive"),e.set("op","receive"),window.history.replaceState({},"","".concat(window.location.pathname,"?").concat(e.toString()).concat(window.location.hash));break;case"rent":u(1),(0,ma.YU)("rent");break;case"email":u(2),(0,ma.YU)("email");break;default:u(bt[t]||0),(0,ma.YU)(t||"receive")}h(1)}}),[t,g]);return(0,o.jsx)("div",{children:(0,o.jsxs)(p.Z,{className:i.root,children:[(0,o.jsx)(d.Z,{position:"static",className:i.bar,elevation:0,children:(0,o.jsxs)(v.Z,{value:l,onChange:function(e,a){u(a),(0,ma.YU)(vt[a])},centered:!0,TabIndicatorProps:{style:{background:"#000"}},children:[(0,o.jsx)(b.Z,{label:"Receive",className:i.tab}),(0,o.jsx)(b.Z,{label:"Rent",className:i.tab}),(0,o.jsx)(b.Z,{label:"Email",className:i.tab})]})}),(0,o.jsx)(mt,{value:l,index:0,className:i.TabPanel,children:(0,o.jsx)(ja,{defaultServiceSearchTerm:n})}),(0,o.jsx)(mt,{value:l,index:1,className:i.TabPanel,children:(0,o.jsx)(Ua,{})}),(0,o.jsx)(mt,{value:l,index:2,className:i.TabPanel,children:(0,o.jsx)(pt,{})})]})})}}}]);

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.