1"use strict";(self.webpackChunksoftorbits=self.webpackChunksoftorbits||[]).push([[2008],{2008:(e,t,s)=>{s.r(t),s.d(t,{default:()=>j});var n=s(9205),r=s(3523),i=s(7302),a=s(4847),o=s(5608),l=s(5114),c=s(7207),d=s(6402),p=(s(8048),s(9790)),m=s(34),h=s(8773),y=s(1731);function x(e){"undefined"!==typeof gtag&>ag("event","conversion",{send_to:"AW-18035131816/B0hOCPP5uY4cEKiL6ZdD",value:null!==e&&void 0!==e?e:1,currency:"USD"})}const u="3CvlN0Uqw3c9G0Do6a5R";function f(e){return"string"===typeof e.invoiceLink&&e.invoiceLink||"string"===typeof e.invoice_link&&e.invoice_link||"string"===typeof e.checkout_url&&e.checkout_url||"string"===typeof e.payment_url&&e.payment_url||"string"===typeof e.url&&e.url||"string"===typeof e.redirect_url&&e.redirect_url||"string"===typeof e.invoice_url&&e.invoice_url||null}async function g(e){var t;const s=(r=e.credits)>=400?"W1gZpwNPqpv296WvlPbJ":r>=100?"GZ47Oii5wpe5kIaKKtlf":r>=30?u:5===r?"cnwsU5jM4ZzNXFbIKdwM":u;var r;const{firstName:i,lastName:a}=function(e){const t=((e.split("@")[0]||"customer").trim()||"customer").replace(/[.+_]/g," ").trim().split(/\s+/).filter(Boolean);return t.length>=2?{firstName:t[0].slice(0,64),lastName:t.slice(1).join(" ").slice(0,64)}:{firstName:(t[0]||"Customer").slice(0,64),lastName:"Customer"}}(e.email),o="undefined"!==typeof window?window.location.origin:"https://www.softorbits.net",l={products:s,email:e.email,successURL:"".concat(o,"/"),cancelURL:"".concat(o,"/"),firstName:i,lastName:a,country:"US",webhookURL:e.webhookURL,reference:e.reference};console.info("[SellerCX] POST /v1/orders/create",(0,n.A)((0,n.A)({merchantId:"qFSx50spmvHJJBE2np7P"},l),{},{webhookURL:e.webhookURL.length>90?"".concat(e.webhookURL.slice(0,90),"\u2026"):e.webhookURL}));const c=await fetch("https://api.seller.cx/v1/orders/create",{method:"POST",headers:{"Content-Type":"application/json","x-api-key":"cf93451e-57ee-4ba7-8f05-f6bb9a3ef3aa"},body:JSON.stringify(l)}),d=await c.text();if(console.info("[SellerCX] response",{ok:c.ok,status:c.status,contentType:null!==(t=c.headers.get("content-type"))&&void 0!==t?t:"",bodyLength:d.length,bodyPreview:d.length>600?"".concat(d.slice(0,600),"\u2026"):d}),!c.ok)throw console.error("[SellerCX] error body:",d),new Error("SellerCX ".concat(c.status,": ").concat(d?d.slice(0,300):c.statusText||"request failed"));let p;try{p=JSON.parse(d)}catch(y){throw console.error("[SellerCX] JSON.parse failed",y,d),new Error("SellerCX: expected JSON (".concat(y instanceof Error?y.message:String(y),")"))}const m=p.data&&"object"===typeof p.data&&!Array.isArray(p.data)?p.data:null,h=f(p)||(m?f(m):null);if(!h)throw console.error("[SellerCX] no invoiceLink in JSON",p),new Error("SellerCX: response had no invoiceLink");return console.info("[SellerCX] invoiceLink:",h),h}async function b(e,t){const s=Math.floor(1e5+9e5*Math.random()),n=l.A.get("sid")||"",r="https://www.softorbits.net/socrm/ipn.php?method=paycx&email=".concat(encodeURIComponent(e),"&credits=").concat(t,"&sid=").concat(n,"&orderid=").concat(s),i=await g({email:e.trim(),credits:t,webhookURL:r,reference:"order".concat(s,"-credits").concat(t,"-sid").concat(n||"none")});window.open(i,"_blank")}function w(e){let{coin:t,price:s,address:n,onClose:a,paymentId:o,instructions:l,addressLabel:c,extraButton:d}=e;const[p,m]=(0,r.useState)(!1),[h,x]=(0,r.useState)(!1),[u,f]=(0,r.useState)("waiting"),[g,b]=(0,r.useState)("Waiting for payment");return(0,r.useEffect)(()=>{let e;return h&&(e=setInterval(async()=>{try{const t="YOUR_NOWPAYMENTS_API_KEY",s=await fetch("https://api.nowpayments.io/v1/payment/".concat(o),{headers:{"x-api-key":t}}),n=await s.json();f(n.payment_status),"finished"===n.payment_status||"confirmed"===n.payment_status?(b("Payment received!"),e&&clearInterval(e)):b("Waiting for payment\nThis will update automatically.")}catch(t){b("Error checking payment status")}},4e3)),()=>{e&&clearInterval(e)}}
1,[h,o]),(0,y.jsx)(i.A,{title:"How it works",show:!0,className:"priceModal",onClose:a,children:(0,y.jsxs)("div",{className:"buy-credits-payment-instructions",style:{padding:24,background:"linear-gradient(180deg, var(--yellow-accent-light) 0%, transparent 55%)",borderRadius:"0 0 12px 12px"},children:[l,d,(0,y.jsx)("div",{style:{fontWeight:600,marginBottom:8,color:"#334155"},children:c}),(0,y.jsx)("div",{style:{background:"color-mix(in srgb, var(--yellow-accent) 12%, #fff)",color:"#0f172a",borderRadius:10,padding:14,fontSize:17,marginBottom:10,wordBreak:"break-all",border:"1px solid color-mix(in srgb, var(--yellow-accent) 35%, transparent)",fontFamily:"ui-monospace, monospace"},children:n}),(0,y.jsx)("button",{className:"buy-credits-pay-method-btn",style:{width:"100%",marginBottom:12,justifyContent:"center",background:"var(--yellow-accent)",color:"#fff",border:"none",boxShadow:"0 2px 12px color-mix(in srgb, var(--yellow-accent) 35%, transparent)"},onClick:()=>{navigator.clipboard.writeText(n),m(!0),setTimeout(()=>m(!1),1200)},children:p?"Copied!":"Copy address"}),h?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{style:{display:"flex",justifyContent:"center",marginBottom:8},children:(0,y.jsx)("div",{className:"buy-credits-pay-spinner buy-credits-pay-spinner--lg"})}),(0,y.jsx)("div",{style:{textAlign:"center",fontSize:16,marginBottom:16,whiteSpace:"pre-line",color:"#475569"},children:g})]}):(0,y.jsx)("button",{className:"buy-credits-pay-method-btn",style:{width:"100%",marginBottom:16,justifyContent:"center"},onClick:()=>x(!0),children:"Payment sent? Check status"}),(0,y.jsx)("button",{className:"buy-credits-pay-method-btn",style:{width:"100%",marginBottom:4,justifyContent:"center",fontWeight:500,opacity:.92},onClick:()=>window.open("https://www.softorbits.net/support.html","_blank"),children:"Contact support"})]})})}const j=()=>{const{t:e}=(0,c.Bd)(),t=l.A.get("abtest");var s=!1;void 0===t?(s=Math.random()<.5,l.A.set("abtest",s?"1":"0")):s="1"===t;const u=s?"new__p9":"old__p9",f=(0,h.vR)()||window.location.pathname.includes("/app/"),g=19.99;let j=39;const v=30,S=100,C="https://grtsoft.gumroad.com/l/gxonm",[k,N]=(0,a.L4)(o.Be),_=(0,a.vc)(o.Hv),[B,U]=(0,a.L4)(o.XL),L=(0,a.lZ)(o.a5),A=(0,a.lZ)(o.Vz),[P,E]=(0,a.L4)(o.GC),[I,R]=(0,a.L4)(o.AN),[D,M]=(0,r.useState)(0),[z]=(0,a.L4)(o.kT),[T,W]=(0,r.useState)(!1),[$,F]=(0,r.useState)(0),[O,X]=(0,r.useState)(0),[G,H]=r.useState("monthly"),[J,K]=r.useState(f?1:0),[Y,Z]=r.useState(50),[q,V]=r.useState(v),[Q,ee]=r.useState(.3998),[te,se]=r.useState(1.3),[ne,re]=r.useState(g),[ie,ae]=r.useState(j),[oe,le]=r.useState(.3998),[ce,de]=r.useState(29/120),[pe,me]=r.useState(59/120),[he,ye]=r.useState(0),[xe,ue]=r.useState(0),[fe,ge]=(0,a.L4)(o.s4),[be,we]=(0,r.useState)(null),[je,ve]=(0,r.useState)(0),[Se,Ce]=(0,r.useState)(!1),[ke,Ne]=(0,r.useState)(""),[_e,Be]=(0,r.useState)(19.99),[Ue,Le]=(0,r.useState)(!1),[Ae,Pe]=(0,r.useState)(l.A.get("email")||""),[Ee,Ie]=(0,r.useState)(null),Re=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(Ae);async function De(e){const t=He,s=_e,n=l.A.get("sid")||"",r=Math.floor(1e5+9e5*Math.random()),i=encodeURIComponent("https://www.softorbits.net/socrm/ipn.php?method=card2crypt&email=".concat(encodeURIComponent(e),"&credits=").concat(t,"&sid=").concat(n,"&orderid=").concat(r));console.log(i);const a="https://api.card2crypto.org/control/wallet.php?address=0xc546e4bF439A35F70c3086e6bd20be19A0D2F7e3&callback=".concat(i);try{const t=await fetch(a,{method:"GET"}),n=await t.json();if(n&&n.address_in){const t="https://pay.card2crypto.org/process-payment.php?address=".concat(n.address_in,"&amount=").concat(s,"&provider=unlimit&email=").concat(encodeURIComponent(e),"¤cy=USD&domain=pay.card2crypto.org");x(s),window.open(t,"_blank","noopener,noreferrer"),N(!1)}else alert("Failed to create wallet.")}catch(o){alert("Error contacting payment provider."),console.log(o)}}const Me=f?e("short_on_credits"):0===D?e("Upgrade your plan"):fe<=2?"\u2b50"+e("Buy Premium"):e("short_on_credits");(0,r.useEffect)(()=>{const e=new URLSearchParams(window.location.search);if("true"!==e.get("buy"))return;
1const t=(e.get("coupon")||"").trim(),s=(e.get("email")||"").trim().replace(/\s/g,"+");if(!t||!s)return;if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s))return;l.A.set("email",s);const n=l.A.get("sid")||"",r=new URLSearchParams({wanted:"true",offer_code:t,email:s});n&&r.set("sid",n);try{window.history.replaceState({},"",window.location.pathname)}catch(i){}x(9),window.location.href="".concat(C,"?").concat(r.toString())},[]);const ze={apiKey:"AIzaSyBh32Wrr5QOsoqXidC3jfBHHxtP1hl469w",authDomain:"softorbits-a0bfb.firebaseapp.com",projectId:"softorbits-a0bfb",storageBucket:"softorbits-a0bfb.firebasestorage.app",messagingSenderId:"352925395587",appId:"1:352925395587:web:18ab5b1ca2628e27c149b6",measurementId:"G-Z5DGNCE6RS"};let Te;try{Te=(0,p.Wp)(ze)}catch(Qe){}(0,r.useCallback)(e=>{null!==e&&setTimeout(()=>{e.scrollTo({top:O,left:0})},100)},[O]);const We="https://www.softorbits.net/actions/order.html?cpid=sas";async function $e(e){const t=window.open(e,"_blank","noopener,noreferrer");t&&(t.opener=null),await(0,d.bK)({action:"open url",url:e})}async function Fe(e,t,s,n){const r=n?"&coupon="+n:"",i="".concat(t,";").concat(P,";").concat(u),a=We+r+"&lic="+e+"&credits="+i+"&price="+s+"&tool="+z;x(s),$e(a)}(0,r.useEffect)(()=>{(e=>{if(e)try{const t=parseInt(e.slice(-2),10);ve(t)}catch(Qe){ve(0)}else ve(0)})(I)},[I]);const Oe=()=>{N(!1)},[Xe,Ge]=(0,r.useState)(1),[He,Je]=(0,r.useState)(120);(0,r.useEffect)(()=>{Je(120)},[Xe]);const[Ke,Ye]=(0,r.useState)(0),Ze=("translateX(-".concat(340*Ke,"px)"),{EXCLUSIVE10:10,BESTDEAL20:20,FINAL30:30}[(I||"").trim().toUpperCase()]||0);function qe(e){if(!Ze)return null;const t=/^\$([\d.]+)$/.exec((e||"").trim());if(!t)return null;const s=parseFloat(t[1]);if(!isFinite(s)||s<=0)return null;const n=Math.round(s*(100-Ze))/100;return"$"+(Number.isInteger(n)?n.toString():n.toFixed(2))}function Ve(t){let{index:s,title:n,price:r,price2:i,subtitle2:a,subtitle:o,credits:l,selected:c,onClick:d,badge:p,greenBage:m,nobox:h,off:x}=t;return(0,y.jsx)("div",{className:"flex flex-col gap-4 mb-6",children:(0,y.jsxs)("div",{className:"w-full rounded-lg cursor-pointer transition-all duration-200 border-2 ".concat(c?"shadow-md bg-white border-[var(--yellow-accent)]":"shadow-sm bg-blue border-transparent"),onClick:d,style:{position:"relative"},children:[p&&(0,y.jsx)("div",{style:{position:"absolute",top:0,right:0,borderRadius:"0 0.4rem 0 0.4rem",background:m?"#20B082":"#000",color:m?"#ddffee":"#fff",fontWeight:500,fontSize:14,padding:"6px 16px",zIndex:2,margin:0,pointerEvents:"none"},children:p}),(0,y.jsxs)("div",{className:"flex justify-between items-center "+(""==n&&p?"p-5":"p-4"),children:[(0,y.jsxs)("div",{className:"flex-1",children:[(0,y.jsx)("div",{className:"mb-2",children:(0,y.jsxs)("span",{className:"text-14px font-semibold text-gray-800 uppercase",children:[n,x&&(0,y.jsxs)("span",{style:{marginLeft:20},className:"font-medium text-[16px] px-2 py-1 mr-1 rounded-full bg-green-100 text-green-700",children:["- ",x,"%"]})]})}),!l&&(0,y.jsxs)("div",{className:"my-8px",children:[!i&&qe(r)?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("s",{className:"text-gray-500 text-sm",style:{marginRight:8},children:r}),(0,y.jsx)("span",{className:(h?" bigger ":"text-32px ")+"font-bold text-gray-800",style:{fontWeight:"bold"},children:qe(r)})]}):(0,y.jsx)("span",{className:(i||h?" bigger ":"text-32px ")+"font-bold text-gray-800",style:{fontWeight:"bold"},children:r}),"\xa0",(0,y.jsx)("span",{className:"text-gray-500 text-sm",children:o}),i&&i>0&&(0,y.jsxs)("span",{children:[(0,y.jsx)("s",{style:{marginLeft:20,marginRight:7},className:"text-gray-500 text-sm ",children:a}),(0,y.jsxs)("span",{className:(i?" bigger ":"text-32px ")+"font-bold text-gray-800",style:{fontWeight:"bold"},children:["$",i]})]})]}),l&&(0,y.jsxs)("div",{className:"flex items-center justify-center",children:[(0,y.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"#20B082",viewBox:"0 0 12 12",className:"mr-0.5",children:(0,y.jsx)("path",{d:"M2.087 6.849h1.837v4.213c0 .62.785.912 1.201.444l4.501-5.032c.393-.438.078-1.123-.517-1.123H7.272V1.138c0-.62-.785-.912-1.201-.444L1.57 5.726c-.386.438-.071 1.123.517 1.123",fill:"inherit"})}),(0,y.jsx)("div",{style:{marginLeft:-5},className:"font-medium text-[16px] px-2 py-1 mr-1 rounded-full bg-green-100 text-green-700",children:l}),(0,y.jsxs)("div",{className:"text-[14px]",children:[e("credits_for",{price:""})," ",qe(r)?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("s",{className:"text-gray-500",children:r})," ",(0,y.jsx)("span",{className:"text-[16px] font-bold text-gray-800",children:qe(r)})]}):(0,y.jsx)("span",{className:"text-[16px] font-bold text-gray-800",children:r})]})]})]}),!h&&!i&&(0,y.jsx)("div",{className:"flex items-center justify-center ml-4",children:c?(0,y.jsx)("span",{style:{width:32,height:32,borderRadius:"50%",background:"#000",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,y.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,y.jsx)("circle",{cx:"10",cy:"10",r:"10",fill:"#000"}),(0,y.jsx)("path",{d:"M6 10.5L9 13.5L14 8.5",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}):(0,y.jsx)("span",{style:{width:32,height:32,borderRadius:"50%",background:"#f0f0f0",border:"2px s
1olid #d1d5dc",display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})})}return!k||B||f?k&&!_?(0,y.jsx)(i.A,{title:e("Purchase unavailable"),show:k,className:"priceModal",onClose:Oe,children:(0,y.jsxs)("div",{style:{padding:24,textAlign:"center"},children:[(0,y.jsx)("div",{style:{fontSize:17,marginBottom:20,color:"#334155"},children:e("Sorry, service is not available at your region.")}),(0,y.jsx)("button",{className:"buy-credits-pay-method-btn",style:{width:"100%",justifyContent:"center",background:"var(--yellow-accent)",color:"#fff",border:"none",boxShadow:"0 2px 12px color-mix(in srgb, var(--yellow-accent) 35%, transparent)"},onClick:()=>window.open("https://www.softorbits.net/support.html","_blank"),children:e("Contact support")})]})}):(0,y.jsxs)(y.Fragment,{children:[f&&(0,y.jsx)(i.A,{title:e("Select payment method"),show:Ue,className:"priceModal",onClose:()=>Le(!1),children:(0,y.jsxs)("div",{className:"buy-credits-payment-dialog",children:[(0,y.jsx)("a",{onClick:()=>{const e=(0,m.xI)(),t=new m.HF;(0,m.df)(e,t).then(e=>{const t=e.user;t.email&&(Pe(t.email),l.A.set("email",t.email))}).catch(console.error)},className:"googleBtn",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",cursor:"pointer",borderRadius:12,border:"1px solid color-mix(in srgb, var(--yellow-accent) 40%, transparent)",boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},children:(0,y.jsxs)("div",{className:"btnInner",children:[(0,y.jsx)("div",{className:"btnIcon",children:(0,y.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"26px",height:"26px",children:[(0,y.jsxs)("linearGradient",{id:"gPayDlg1",x1:"29.401",x2:"29.401",y1:"4.064",y2:"106.734",gradientTransform:"matrix(1 0 0 -1 0 66)",gradientUnits:"userSpaceOnUse",children:[(0,y.jsx)("stop",{offset:"0",stopColor:"#ff5840"}),(0,y.jsx)("stop",{offset:"1",stopColor:"#fa528c"})]}),(0,y.jsx)("path",{fill:"url(#gPayDlg1)",d:"M47.46,15.5l-1.37,1.48c-1.34,1.44-3.5,1.67-5.15,0.6c-2.71-1.75-6.43-3.13-11-2.37c-4.94,0.83-9.17,3.85-11.64,7.97l-8.03-6.08C14.99,9.82,23.2,5,32.5,5c5,0,9.94,1.56,14.27,4.46C48.81,10.83,49.13,13.71,47.46,15.5z"}),(0,y.jsxs)("linearGradient",{id:"gPayDlg2",x1:"12.148",x2:"12.148",y1:".872",y2:"47.812",gradientTransform:"matrix(1 0 0 -1 0 66)",gradientUnits:"userSpaceOnUse",children:[(0,y.jsx)("stop",{offset:"0",stopColor:"#feaa53"}),(0,y.jsx)("stop",{offset:"1",stopColor:"#ffde44"})]}),(0,y.jsx)("path",{fill:"url(#gPayDlg2)",d:"M16.01,30.91c-0.09,2.47,0.37,4.83,1.27,6.96l-8.21,6.05c-1.35-2.51-2.3-5.28-2.75-8.22c-1.06-6.88,0.54-13.38,3.95-18.6l8.03,6.08C16.93,25.47,16.1,28.11,16.01,30.91z"}),(0,y.jsxs)("linearGradient",{id:"gPayDlg3",x1:"29.76",x2:"29.76",y1:"32.149",y2:"-6.939",gradientTransform:"matrix(1 0 0 -1 0 66)",gradientUnits:"userSpaceOnUse",children:[(0,y.jsx)("stop",{offset:"0",stopColor:"#42d778"}),(0,y.jsx)("stop",{offset:"1",stopColor:"#34b171"})]}),(0,y.jsx)("path",{fill:"url(#gPayDlg3)",d:"M50.45,51.28c-4.55,4.07-10.61,
16.57-17.36,6.71C22.91,58.2,13.66,52.53,9.07,43.92l8.21-6.05C19.78,43.81,25.67,48,32.5,48c3.94,0,7.52-1.28,10.33-3.44L50.45,51.28z"}),(0,y.jsxs)("linearGradient",{id:"gPayDlg4",x1:"46",x2:"46",y1:"3.638",y2:"35.593",gradientTransform:"matrix(1 0 0 -1 0 66)",gradientUnits:"userSpaceOnUse",children:[(0,y.jsx)("stop",{offset:"0",stopColor:"#155cde"}),(0,y.jsx)("stop",{offset:"1",stopColor:"#2eb5f0"})]}),(0,y.jsx)("path",{fill:"url(#gPayDlg4)",d:"M59,31.97c0.01,7.73-3.26,14.58-8.55,19.31l-7.62-6.72c2.1-1.61,3.77-3.71,4.84-6.15c0.29-0.66-0.2-1.41-0.92-1.41H37c-2.21,0-4-1.79-4-4v-2c0-2.21,1.79-4,4-4h17C56.75,27,59,29.22,59,31.97z"})]})}),(0,y.jsx)("div",{style:{width:10}}),(0,y.jsx)("div",{style:{textAlign:"left",width:"100%"},children:"Login with Google"})]})}),(0,y.jsx)("div",{className:"buy-credits-pay-divider",children:"or enter email"}),(0,y.jsxs)("div",{children:[(0,y.jsxs)("label",{style:{fontSize:14,fontWeight:600,display:"block",marginBottom:6,color:"#334155"},children:["Email ",(0,y.jsx)("span",{style:{color:"#dc2626"},children:"*"})]}),(0,y.jsx)("input",{type:"email",placeholder:"[email protected]",value:Ae,onChange:e=>Pe(e.target.value),style:{width:"100%",padding:"12px 14px",borderRadius:10,border:"1.5px solid ".concat(Ae&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(Ae)?"#e53e3e":"color-mix(in srgb, var(--yellow-accent) 45%, #e2e8f0)"),fontSize:16,boxSizing:"border-box",outline:"none",background:"rgba(255,255,255,0.9)"}}),Ae&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(Ae)&&(0,y.jsx)("span",{style:{color:"#e53e3e",fontSize:13,marginTop:4,display:"block"},children:"Enter a valid email address"})]}),Ee&&(0,y.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:10,padding:"6px 0",color:"#475569"},children:[(0,y.jsx)("div",{className:"buy-credits-pay-spinner buy-credits-pay-spinner--lg"}),(0,y.jsx)("span",{style:{fontSize:14},children:"Processing\u2026"})]}),(0,y.jsxs)("button",{type:"button",className:"buy-credits-pay-method-btn",disabled:!Re||null!==Ee,style:{opacity:Re&&!Ee?1:.48},onClick:async()=>{Ie("paycx2");try{await b(Ae,He)}catch(e){console.error("[SellerCX] Card checkout (same as Telegram)",e);const t=e instanceof Error?e.message:String(e);alert("Error starting payment: "+t)}finally{Ie(null)}},children:[(0,y.jsx)("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,y.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[(0,y.jsx)("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",stroke:"var(--yellow-accent, #f97316)",strokeWidth:"1.75",fill:"rgba(255,255,255,0.9)"}),(0,y.jsx)("path",{d:"M2 9h20",stroke:"var(--yellow-accent, #f97316)",strokeWidth:"1.75"}),(0,y.jsx)("rect",{x:"5",y:"14",width:"5",height:"2",rx:"0.5",fill:"var(--yellow-accent, #f97316)",opacity:"0.85"})]})}),"Cryptocurrency","paycx2"===Ee&&(0,y.jsx)("div",{className:"buy-credits-pay-spinner buy-credits-pay-spinner--ml-auto"})]}),(0,y.jsxs)("button",{className:"buy-credits-pay-method-btn",style:{opacity:Re&&!Ee?1:.5},disabled:!Re||null!==Ee,onClick:async()=>{Ie("USDC");try{const e=Math.floor(1e5+9e5*Math.random()),t=l.A.get("sid")||"",s="https://www.softorbits.net/socrm/ipn.php?method=card2crypt&email=".concat(encodeURIComponent(Ae),"&credits=").concat(He,"&sid=").concat(t,"&orderid=").concat(e),r=await async function(e,t,s){const r={price_amount:e,price_currency:"usd",pay_currency:t};s&&(r.ipn_callback_url=s);const i=await fetch("https://www.softorbits.net/socrm/api/credit.php?method=nowpayments_payment",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!i.ok)throw new Error("NOWPayments API error: "+i.status);const a=await i.json();return(0,n.A)({pay_address:a.pay_address,payment_id:a.payment_id},a)}(_e,"USDC",s);we({coin:"USDC",price:_e,address:r.pay_address,paymentId:r.payment_id})}catch(e){console.error(e)}finally{Ie(null)}},children:[(0,y.jsx)("span",{style:{marginRight:10,display:"flex",gap:4}}),"Credit Card (via crypto)","USDC"===Ee&&(0,y.jsx)("div",{className:"buy-credits-pay-spinner buy-credits-pay-spinner--ml-auto"})]}),(0,y.jsxs)("button",{className:"buy-credits-pay-method-btn",style:{opacity:Re&&!Ee?1:.5},disabled:!Re||null!==Ee,onClick:async()=>{Ie("alternate");try{await De(Ae)}finally{Ie(null)}},children:[(0,y.jsx)("span",{style:{marginRight:10,display:"flex",gap:4}}),"Credit Card (via crypto)",(0,y.jsx)("span",{style:{fontFamily:"monospace",color:"#1769fa",fontWeight:700,marginLeft:8},children:"alternate"}),"alternate"===Ee&&(0,y.jsx)("div",{className:"buy-credits-pay-spinner buy-credits-pay-spinner--ml-auto"})]}),(0,y.jsxs)("button",{type:"button",className:"buy-credits-pay-method-btn",disabled:!Re||null!==Ee,style:{opacity:Re&&!Ee?1:.48},onClick:async()=>{Ie("paycx");try{await b(Ae,He)}
1catch(e){console.error("[SellerCX] Cards via Telegram",e);const t=e instanceof Error?e.message:String(e);alert("Error starting payment: "+t)}finally{Ie(null)}},children:[(0,y.jsx)("span",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,y.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[(0,y.jsx)("circle",{cx:"12",cy:"12",r:"12",fill:"#229ED9"}),(0,y.jsx)("path",{fill:"#fff",d:"M5.671 11.777c-.048-.17.017-.35.16-.45l12.04-4.65c.15-.06.33-.02.43.12.05.07.08.15.08.24v.04l-2.05 9.55c-.05.22-.24.37-.46.37-.08 0-.16-.02-.23-.05l-2.72-1.12-1.55 1.48c-.1.1-.24.15-.38.15-.05 0-.1 0-.15-.02-.2-.06-.33-.24-.33-.45l.05-2.02 6.35-5.9-7.86 4.9-2.9-.9c-.17-.05-.28-.2-.28-.37 0-.05 0-.1.02-.15z"})]})}),"Cards via Telegram","paycx"===Ee&&(0,y.jsx)("div",{className:"buy-credits-pay-spinner buy-credits-pay-spinner--ml-auto"})]})]})}),be&&(0,y.jsx)(w,{coin:be.coin,price:be.price,address:be.address,paymentId:be.paymentId,onClose:()=>we(null),instructions:"USDC"===be.coin?(0,y.jsxs)("ol",{style:{marginBottom:24,fontSize:16},children:[(0,y.jsxs)("li",{children:["Go to ",(0,y.jsx)("b",{children:"Paybis"}),". Under ",(0,y.jsx)("b",{children:"You Receive"})," enter ",(0,y.jsx)("b",{children:be.price}),", then click ",(0,y.jsx)("b",{children:"Buy USD Coin"}),"."]}),(0,y.jsx)("li",{children:"Enter your email address and complete verification."}),(0,y.jsxs)("li",{children:["Copy the USDC BASE address below, paste it into Paybis (select ",(0,y.jsx)("b",{children:"External wallet"}),"), and complete the payment."]})]}):(0,y.jsxs)("ol",{style:{marginBottom:24,fontSize:16},children:[(0,y.jsxs)("li",{children:["Open the ",(0,y.jsx)("b",{children:"Crypto"})," tab in your PayPal or Venmo account."]}),(0,y.jsxs)("li",{children:["Buy ",(0,y.jsxs)("b",{children:[be.price," PYUSD"]})," (PayPal USD)."]}),(0,y.jsxs)("li",{children:["Send ",(0,y.jsxs)("b",{children:[be.price," PYUSD"]})," to the address below."]})]}),addressLabel:"USDC"===be.coin?"USDC BASE ADDRESS":"".concat(be.coin," ADDRESS (ETHEREUM)"),extraButton:"USDC"===be.coin?(0,y.jsxs)("button",{className:"buy-credits-pay-method-btn",style:{width:"100%",marginBottom:16,justifyContent:"center",background:"var(--yellow-accent)",color:"#fff",border:"none",boxShadow:"0 2px 12px color-mix(in srgb, var(--yellow-accent) 35%, transparent)"},onClick:()=>window.open("https://paybis.com/buy-usd-coin-base/","_blank"),children:["Go to Paybis ",(0,y.jsx)("span",{style:{marginLeft:8},children:"\u2197"})]}):null}),(0,y.jsx)("div",{children:(0,y.jsx)(i.A,{title:Me,show:k,className:"priceModal",onClose:Oe,children:(0,y.jsx)("div",{style:Se?{filter:"blur(6px)",pointerEvents:"none",userSelect:"none"}:{},children:(0,y.jsxs)("div",{className:"",style:window.innerWidth>768?{}:{marginBottom:"2rem",paddingBottom:"max(2.5rem, env(safe-area-inset-bottom, 0px), 32px)"},children:[(0,y.jsxs)("div",{style:{justifyContent:"center",alignItems:"center",marginBottom:20,textAlign:"center"},children:[(0,y.jsx)("div",{children:e("grab_more_credits")}),(0,y.jsx)(y.Fragment,{})]}),(0,y.jsx)("div",{children:(0,y.jsxs)("div",{className:"px-6",children:[!f&&(0,y.jsx)("div",{style:{display:"flex",marginTop:10,justifyContent:"center",alignItems:"center"},children:(0,y.jsxs)("div",{className:"mask-box",style:{background:"#fff"},children:[(0,y.jsx)("div",{className:"mask",style:{transform:"translateX(".concat(0===J?0:"180px",")")}}),(0,y.jsx)("a",{className:"MuiButton-root ",href:"#",style:0===J?{fontWeight:600}:{},onClick:()=>{K(0)},children:e("subscription")}),(0,y.jsx)("a",{href:"#",className:"MuiButton-root ",style:0!==J?{fontWeight:600}:{},onClick:()=>{K(1)},children:e("topupcredits")})]})}),(0,y.jsxs)("div",{className:"mt-6",children:[0===J?(0,y.jsxs)(y.Fragment,{children:[Ve({index:0,title:e("monthly"),price:"$"+g,credits:"",subtitle:"/ ".concat(e("month")),selected:0===Xe,onClick:()=>Ge(0)}),Ve({index:1,title:e("yearly"),price:"$9.92",credits:"",subtitle:"/ ".concat(e("month")),selected:1===Xe,onClick:()=>Ge(1),badge:(0,y.jsx)("span",{children:e("popular")}),greenBage:!1}),Ve({index:4,title:e("one_time_payment"),price:"$9",credits:5..toString(),subtitle:"",selected:4===Xe,onClick:()=>Ge(4)})]}):(0,y.jsxs)(y.Fragment,{children:[f&&Ve({index:0,title:"",price:"$9",credits:5..toString(),subtitle:"",selected:-1===Xe,onClick:()=>Ge(-1)}),Ve({index:0,title:"",price:"$39",credits:v.toString(),subtitle:"",selected:0===Xe,onClick:()=>Ge(0)}),Ve({index:1,title:"",price:"$59",subtitle:"",credits:S.toString(),selected:1===Xe,onClick:()=>Ge(1)}),Ve({index:2,title:"",price:"$89",credits:400..toString(),subtitle:"",selected:2===Xe,onClick:()=>Ge(2)})]}),0===J&&2!==Xe&&3!==Xe&&4!==Xe?(0,y.jsx)("div",{className:" rounded-b-lg ",children:(0,y.jsx)("ul",{className:"space-y-2",style:{marginBottom:0},children:(0,y.jsxs)("li",{className:"flex items-center justify-center",children:[(0,y.jsx)("svg",{className:"ov-icon mr-3 h-7 w-7","aria-hidden":"true",width:"19.2",height:"19.2",viewBox:"-1.6 -1.6 19.2 19.2",fill:"
1currentColor",style:{fontSize:"1.2em"},children:(0,y.jsx)("path",{d:"M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 001.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 00-1.828 1.829l-.645 1.936a.361.361 0 01-.686 0l-.645-1.937a2.89 2.89 0 00-1.828-1.828l-1.937-.645a.361.361 0 010-.686l1.937-.645a2.89 2.89 0 001.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 01.412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 010 .412l-1.162.387A1.734 1.734 0 004.593 5.69l-.387 1.162a.217.217 0 01-.412 0L3.407 5.69A1.734 1.734 0 002.31 4.593l-1.162-.387a.217.217 0 010-.412l1.162-.387A1.734 1.734 0 003.407 2.31l.387-1.162zM10.863.099a.145.145 0 01.274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 010 .274l-.774.258a1.156 1.156 0 00-.732.732l-.258.774a.145.145 0 01-.274 0l-.258-.774a1.156 1.156 0 00-.732-.732L9.1 2.137a.145.145 0 010-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z"})}),(0,y.jsx)("span",{className:"text-gray-700 font-semibold text-14px mt-1.5",children:e("monthly_credits",{count:He})})]})})}):(0,y.jsx)("div",{className:"",children:(0,y.jsxs)("ul",{className:"space-y-2",style:{marginBottom:0},children:[(0,y.jsxs)("li",{className:"flex items-start",children:[(0,y.jsx)("svg",{className:"ov-icon text-green-500 mr-2","aria-hidden":"true",width:"19.2",height:"19.2",viewBox:"-43.52 -43.52 599.04 599.04",fill:"currentColor",style:{fontSize:"1.2em;"},children:(0,y.jsx)("path",{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})}),(0,y.jsx)("span",{className:"text-gray-700 text-md mt-1",children:e("neverexpe")})]}),(0,y.jsxs)("li",{className:"flex items-start",children:[(0,y.jsx)("svg",{className:"ov-icon text-green-500 mr-2","aria-hidden":"true",width:"19.2",height:"19.2",viewBox:"-43.52 -43.52 599.04 599.04",fill:"currentColor",style:{fontSize:"1.2em;"},children:(0,y.jsx)("path",{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})}),(0,y.jsx)("span",{className:"text-gray-700 text-md mt-1",children:e("one_time_payment")})]})]})}),(0,y.jsxs)("div",{style:{margin:"24px 0 0 0"},children:[(0,y.jsx)("button",{style:{width:"100%",background:"#000",color:"#fff",fontWeight:600,fontSize:18,borderRadius:12,padding:"16px 0",border:"none",cursor:"pointer",marginBottom:1===Xe?8:0},onClick:function(){if(4===Xe){const e=l.A.get("sid")||"",t=(l.A.get("email")||P||"").trim(),s=new URLSearchParams({wanted:"true"});e&&s.set("sid",e),t&&s.set("email",t);const n=(I||"").trim();return n&&s.set("offer_code",n),x(9),window.open("".concat(C,"?").concat(s.toString()),"_blank","noopener,noreferrer"),void N(!1)}var e=1===Xe?"home1y":"home1m",t=He,s=1===Xe?119:g;if(2==Xe?(e="lite",t=v,s=j):3==Xe&&(e="home",t=S,s=59),1==J&&(e="home",-1==Xe?(e="starter",t=5):0==Xe?(e="lite",t=v):t=1==Xe?S:400,s=-1==Xe?9:0==Xe?j:1==Xe?59:89),f)return Je(t),Le(!0),void Be(s);Fe(e,t,s,I)},children:0===J?1===Xe?e("choose_yearly_plan"):4===Xe?e("get_credits_for",{count:5,price:"$9"}):2===Xe||3===Xe?e("get_credits_for",{count:2===Xe?v:S,price:"$"+(2===Xe?j:59)}):e("choose_monthly_plan"):e("get_credits_for",-1===Xe?{count:5,price:"$9"}:0===Xe?{count:v,price:"$39"}:1===Xe?{count:S,price:"$59"}:{count:400,price:"$89"})}),0===J&&(0,y.jsxs)("div",{style:{textAlign:"center",color:"#333",fontSize:16,marginTop:12,marginBottom:8},children:["",(0,y.jsx)("a",{href:"#",onClick:()=>{K(1)},children:e("morecredits")})]})]})]})]})})]})})})})]}):(0,y.jsx)(i.A,{title:e("Sign in to continue"),show:k,className:"priceModal",onClose:Oe,children:(0,y.jsxs)("div",{style:{padding:24,textAlign:"center"},children:[(0,y.jsx)("div",{style:{fontSize:17,marginBottom:20,color:"#334155"},children:e("Please sign in to purchase credits.")}),(0,y.jsx)("button",{className:"buy-credits-pay-method-btn",style:{width:"100%",justifyContent:"center",background:"var(--yellow-accent)",color:"#fff",border:"none",boxShadow:"0 2px 12px color-mix(in srgb, var(--yellow-accent) 35%, transparent)"},onClick:()=>{N(!1),A(0),L(!0)},children:e("login")})]})})}}}]);
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.