PageSourceSearch

https://rideshareguides.com/assets/Support-DT0jwogB.js

js rideshareguides.com collected 2026-10-08 20:46:50 UTC 46,632 bytes, 31 lines download raw bytes

1import{aY as W,aO as ce,aP as Z,r as l,U as de,cF as Y,j as e,cG as H,al as k,P,W as K,V,l as S,N as A,S as Q,d as ee,F as xe,k as me,a as te,e as q,ak as pe,aI as ue,t as I,ai as he,aj as ge,b as fe,cr as be,cJ as ye,c7 as we}from"./index-Bn97Kz8X.js";import{S as je}from"./SEO-BjAPr8No.js";import{S as Ne}from"./SocialShell-CHQr62aA.js";import{B as ve}from"./BackToDriverHQ-BcTdxsIk.js";import{R as ze}from"./RSGDriverHQAssistant-CuXEPeBw.js";import{L as O}from"./lock-BRypwRBS.js";import{Z as ke}from"./zap-Cbe5Dgwm.js";import{C as G}from"./credit-card-DE_LYtFa.js";import{S as Se}from"./settings-BeKR1yt2.js";import{I as _e}from"./inbox-CiHCxKof.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const Be=W("CircleUserRound",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const X=W("Clock4",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const Ce=W("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]),p="#F45815",D="Platform bug report",$="Thank you for helping improve RideShareGuides. Tell us what you were trying to do, what you expected, and what you saw.",R="ee2c4f83-177d-49c5-9790-c273fdfb460a";function Te(t){const s=t.split(/[?#]/,1)[0].trim();return!s.startsWith("/")||s.startsWith("//")||s.length>180||!/^\/[A-Za-z0-9/_~.!%-]*$/.test(s)?null:s}function Ee(t,s){return s?`${t}
17
18Reported from: ${s}`:t}const M="cdbb50a38f02b0eed07e8563ed181af942ecaa73b9534c4617fa6408c6a68c52";function Fe(){const t=encodeURIComponent(window.location.href);return`${"https://www.buildy.ai/api".replace(/\/api\/?$/,"").replace(/\/$/,"")}/auth/app-login?app_id=9xrrufffexrbbkhc2dshz&from_url=${t}`}const Pe=14e3;function U(t){const s=[],n=new Set,r=(d,y=0)=>{if(!d||typeof d!="object"||Array.isArray(d)||y>6)return;const v=d;if(n.has(v))return;n.add(v);const g=d;s.push(g);for(const z of["data","response","body","result","payload","details"])r(g[z],y+1)};return r(t),s}function se(t){if(t instanceof Error)return t.message.trim();if(typeof t=="string")return t.trim();if(!t||typeof t!="object"||Array.isArray(t))return"";const s=t;return se(s.error??s.message??s.reason??s.details)}function J(t){if(typeof t!="string"||!t.trim())return!1;try{const s=new URL(t.trim());return(s.protocol==="https:"||s.protocol==="http:")&&!!s.hostname}catch{return!1}}function Ae(t){if(J(t))return t.trim();for(const s of U(t))if(J(s.url))return s.url.trim();return null}function Ie(t){for(const s of U(t)){const n=s.status??s.statusCode??s.httpStatus,r=typeof n=="number"||typeof n=="string"?Number(n):NaN;if(Number.isInteger(r)&&r>=100&&r<=599)return r}return null}function Re(t){for(const s of U(t))if(typeof s.code=="string"&&s.code.trim())return s.code.trim().toLowerCase();return""}function ne(t){const s=[];t instanceof Error&&t.message.trim()&&s.push(t.message.trim());for(const n of U(t))for(const r of["error","message","reason","details"]){const d=se(n[r]);d&&s.push(d)}return s[0]||""}function Me(t){const s=ne(t),n=s.toLowerCase(),r=Ie(t),d=Re(t);return r===401||["unauthorized","authentication_required","invalid_session","token_expired"].includes(d)||/authentication required|sign[ -]?in|session .*expired|invalid token|login required|reauthenticat/i.test(n)?"Your sign-in session expired. Sign in again, then retry billing management.":/no billing profile|no stripe customer|subscribe to a plan|billing profile.*found/i.test(n)?"No billing profile is linked to this account yet. If you were charged, contact support and keep your receipt handy.":/multiple billing|ambiguous|more than one.*(?:customer|profile)/i.test(n)||d==="ambiguous_customer"?"We found more than one billing profile for this account. Contact support so we can open the correct one.":d==="billing_timeout"||d==="client_timeout"||/timed? out|timeout|taking too long|temporarily unavailable|could not reach|stripe is not configured|service unavailable/i.test(n)?"Billing is taking longer than expected. The request stopped safely, so please try again.":s&&s.length<=240&&!/api request failed|internal server error|undefined/i.test(n)?s:"We couldn't open billing management right now. Please try again."}async function Oe(t){let s;try{return await Promise.race([t,new Promise((n,r)=>{s=window.setTimeout(()=>r(Object.assign(new Error("Billing portal request timed out."),{code:"client_timeout"})),Pe)})])}finally{s!==void 0&&window.clearTimeout(s)}}function Le(){try{const t=window.open("","_blank");if(!t)return null;try{t.document.title="Opening secure billing portal"}catch{}return t}catch{return null}}function Ue(t,s){if(s)try{if(!s.closed)return s.location.href=t,{opened:!0,usedTemporaryTab:!0}}catch{}try{if(window.open(t,"_blank","noopener,noreferrer"))return{opened:!0,usedTemporaryTab:!1}}catch{}return{opened:!1,usedTemporaryTab:!1}}function Ge(t){if(t)try{t.closed||t.close()}catch{}}const $e=["My earnings calculator shows NaN — fix it?","How does the ROI payback math work?","I was charged but still show Free — help","I need help managing my subscription","Where are my saved tools?"],C="rsg_benny_support_cid",qe={role:"assistant",content:"Hi, I'm Benny the Beaver, your RSG platform support guide. I can help with account and dashboard questions, forms, listings, payments, subscriptions, navigation, and platform tools. I can explain where to go and what to do next, without guessing at account or payment details. What can I help you find?",ts:new Date};function L({initialEmail:t,compact:s=!1,bugReport:n=!1,initialSubject:r,reportedFrom:d,anchorId:y}){const{toast:v}=Z(),g=n?(r==null?void 0:r.trim())||D:"",[z,T]=l.useState(""),[u,E]=l.useState(t||""),[f,i]=l.useState(g),[c,F
18]=l.useState(""),[x,b]=l.useState(!1),[a,w]=l.useState(!1),[_,B]=l.useState(null);l.useEffect(()=>{t&&!u&&E(t)},[t]),l.useEffect(()=>{n&&r&&i(m=>m.trim()?m:r)},[n,r]);const o=()=>{T(""),i(g),F(""),t||E(""),w(!1),B(null)},h=async m=>{if(m.preventDefault(),B(null),!z.trim()||!u.trim()||!f.trim()||!c.trim()){B("Please fill in all fields: name, email, subject, and message.");return}if(!u.includes("@")){B("Please enter a valid email address.");return}const N=Ee(c.trim(),n?d:null);b(!0);try{await ye.create({name:z.trim(),email:u.trim(),subject:f.trim(),message:N,status:"new"});try{const j="[email protected]",ie=n?"RSG PLATFORM BUG REPORT":"RSG SUPPORT ESCALATION",ae=n?"New Platform Bug Report":"New Admin Contact from Support Page",re=n?"A visitor reported something that may need a platform fix. Their report is saved in AdminInquiry.":"This came from the /pro-support contact form. Benny could not solve it or the visitor requested human help.",le=n?"[RSG Bug Report]":"[RSG Support]",oe=`
19          <div style="font-family:Inter,sans-serif;max-width:600px;margin:0 auto;padding:24px;">
20            <div style="background:#F45815;color:white;padding:12px 18px;border-radius:12px;display:inline-block;font-weight:700;letter-spacing:0.05em;font-size:12px;">${ie}</div>
21            <h1 style="font-size:22px;margin:20px 0 8px;">${ae}</h1>
22            <p style="color:#666;font-size:13px;margin-bottom:20px;">${re}</p>
23            <table style="width:100%;border-collapse:collapse;">
24              <tr><td style="padding:8px 0;font-weight:600;width:90px;">Name:</td><td>${z.trim()}</td></tr>
25              <tr><td style="padding:8px 0;font-weight:600;">Email:</td><td><a href="mailto:${u.trim()}">${u.trim()}</a></td></tr>
26              <tr><td style="padding:8px 0;font-weight:600;">Subject:</td><td>${f.trim()}</td></tr>
27            </table>
28            <div style="margin-top:16px;padding:16px;background:#FFFBF8;border:1px solid #FFE4D6;border-radius:12px;white-space:pre-wrap;line-height:1.6;">${N.replace(/</g,"&lt;")}</div>
29            <p style="margin-top:20px;font-size:12px;color:#888;">Reply directly to ${u.trim()}. reply_to is set.</p>
30          </div>
31        `;await we({to:j,subject:`${le} ${f.trim()} | ${z.trim()}`,body_html:oe,from_name:"RSG Support Bot",reply_to:u.trim()})}catch(j){console.warn("Admin email notification failed (record still saved)",j)}w(!0),v({title:n?"Bug report sent":"Message sent",description:n?"Thank you for helping improve RSG. Our team will follow up soon.":"We got your inquiry. Admin will follow up soon."})}catch(j){console.error("AdminInquiry submit failed",j),B((j==null?void 0:j.message)||"Could not send message. Please try again.")}finally{b(!1)}};return a?e.jsx("div",{id:y,className:`scroll-mt-24 rounded-[22px] border bg-white shadow-[0_12px_32px_rgba(0,0,0,0.06)] ${s?"p-5":"p-6 sm:p-7"}`,style:{borderColor:"#E7E5E4"},children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-emerald-50 text-emerald-600 ring-1 ring-emerald-200",children:e.jsx(ee,{className:"h-5 w-5"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h4",{className:"text-[15px] font-bold tracking-tight text-zinc-900",children:n?"Thanks for helping improve RSG":"Message received, thank you"}),e.jsx("p",{className:"mt-1.5 text-[13px] leading-relaxed text-zinc-600",children:n?e.jsxs(e.Fragment,{children:["Your bug report is saved and our team was notified. We appreciate you helping us improve the platform. We typically reply within a few hours during business days. Check your email at ",e.jsx("span",{className:"font-semibold text-zinc-800",children:u})," for the follow-up."]}):e.jsxs(e.Fragment,{children:["Your inquiry is saved and our team was notified. We typically reply within a few hours during business days. Check your email at ",e.jsx("span",{className:"font-semibold text-zinc-800",children:u})," for the follow-up."]})}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[e.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-4 py-2 text-[12px] font-semibold text-zinc-700 transition hover:bg-zinc-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/25",children:[e.jsx(q,{className:"h-3.5 w-3.5"})," ",n?"Send another report":"Send another message"]}),n&&e.jsxs(S,{to:"/page-index",className:"inline-flex items-center gap-1.5 rounded-full bg-zinc-900 px-4 py-2 text-[12px] font-semibold text-white transition hover:bg-[#F45815] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/25",children:["Open platform guide ",e.jsx(k,{className:"h-3.5 w-3.5"})]}),e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-zinc-50 px-3 py-2 text-[11px] text-zinc-500 ring-1 ring-zinc-200",children:[e.jsx(X,{className:"h-3 w-3"})," Avg response: 2-4 hrs"]})]})]})]})}):e.jsxs("div",{id:y,className:`scroll-mt-24 rounded-[22px] border bg-white shadow-[0_12px_32px_rgba(0,0,0,0.06)] ${s?"p-5":"p-6 sm:p-7"}
31`,style:{borderColor:"#E7E5E4"},children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-[12px] text-white shadow-[0_6px_18px_rgba(244,88,21,0.28)]",style:{background:p},children:e.jsx(_e,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsxs("h3",{className:"flex items-center gap-2 text-[14px] font-bold tracking-tight text-zinc-900",children:[n?"Report a platform bug":"Contact Admin",e.jsx("span",{className:"rounded-full bg-zinc-900 px-2 py-0.5 text-[9px] font-bold uppercase tracking-widest text-white",children:n?"Bug report":"Escalation"})]}),e.jsx("p",{className:"mt-0.5 max-w-[48ch] text-[11.5px] leading-snug text-zinc-500",children:n?"Thanks for taking the time to report it. Tell us what you were trying to do and what happened. Your report helps us improve RSG.":"Benny could not solve it? Reach a human directly."})]})]}),!s&&e.jsxs("span",{className:"hidden items-center gap-1 rounded-full border border-zinc-200 bg-zinc-50 px-2.5 py-1 text-[10px] font-medium text-zinc-500 sm:inline-flex",children:[e.jsx(X,{className:"h-3 w-3"})," 2-4 hr reply"]})]}),e.jsxs("form",{onSubmit:h,className:"mt-5 space-y-3.5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-3.5 sm:grid-cols-2",children:[e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"mb-1.5 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-zinc-500",children:[e.jsx(Be,{className:"h-3 w-3"})," Your name"]}),e.jsx("input",{value:z,onChange:m=>T(m.target.value),placeholder:"Marcus Johnson",className:"h-[42px] w-full rounded-full border border-zinc-200 bg-zinc-50 px-4 text-[13.5px] text-zinc-900 outline-none placeholder:text-zinc-400 focus:border-[#F45815]/30 focus:bg-white focus:ring-[3px] focus:ring-[#F45815]/10 transition"})]}),e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"mb-1.5 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-zinc-500",children:[e.jsx(pe,{className:"h-3 w-3"})," Email"]}),e.jsx("input",{value:u,onChange:m=>E(m.target.value),type:"email",placeholder:"[email protected]",className:"h-[42px] w-full rounded-full border border-zinc-200 bg-zinc-50 px-4 text-[13.5px] text-zinc-900 outline-none placeholder:text-zinc-400 focus:border-[#F45815]/30 focus:bg-white focus:ring-[3px] focus:ring-[#F45815]/10 transition"})]})]}),e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"mb-1.5 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-zinc-500",children:[e.jsx(Ce,{className:"h-3 w-3"})," ",n?"Report subject":"Subject"]}),e.jsx("input",{value:f,onChange:m=>i(m.target.value),placeholder:n?D:"Billing issue, calculator bug, feature request...",className:"h-[42px] w-full rounded-full border border-zinc-200 bg-zinc-50 px-4 text-[13.5px] text-zinc-900 outline-none placeholder:text-zinc-400 focus:border-[#F45815]/30 focus:bg-white focus:ring-[3px] focus:ring-[#F45815]/10 transition"})]}),e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"mb-1.5 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-zinc-500",children:[e.jsx(ue,{className:"h-3 w-3"})," ",n?"What happened?":"Message"]}),e.jsx("textarea",{value:c,onChange:m=>F(m.target.value),placeholder:n?"Tell us what you were trying to do, what you expected, and what you saw. Leave out passwords or private details.":"Tell us what Benny couldn't help with, include screenshots or steps if you can.",rows:s?4:5,className:"min-h-[96px] w-full resize-none rounded-[18px] border border-zinc-200 bg-zinc-50 px-4 py-3 text-[13.5px] leading-relaxed text-zinc-900 outline-none placeholder:text-zinc-400 focus:border-[#F45815]/30 focus:bg-white focus:ring-[3px] focus:ring-[#F45815]/10 transition"})]}),_&&e.jsx("div",{className:"rounded-[12px] border border-red-200 bg-red-50 px-3.5 py-2.5 text-[12.5px] leading-relaxed text-red-700",children:_}),e.jsxs("div",{className:"flex items-center gap-3 pt-1",children:[e.jsxs("button",{type:"submit",disabled:x,className:"inline-flex h-[42px] items-center justify-center gap-2 rounded-full px-6 text-[13px] font-bold text-white shadow-sm transition hover:brightness-[1.05] disabled:opacity-60",style:{background:p},children:[x?e.jsx(te,{className:"h-4 w-4 animate-spin"}):e.jsx(q,{className:"h-4 w-4"}),x?"Sending...":n?"Send bug report":"Send to admin"]}),!s&&e.jsx("p",{className:"text-[11px] leading-snug text-zinc-400",children:"We store this securely and email admin. Reply-to is your email above."})]})]}),!s&&e.jsxs("div",{className:"mt-5 rounded-[14px] border border-dashed border-zinc-200 bg-[#FFFEFB] p-3",children:[e.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.1em] text-zinc-500",children:"What happens next"}),e.jsx("p",{className:"mt-1 text-[12px] leading-relaxed text-zinc-600",children:n?"Your report is saved to AdminInquiry and an email goes to [email protected]. The team will review what you shared and reply directly from the inbox.":"Your note is saved to AdminInquiry and an email goes to [email protected] with your details. Admin replies directly from inbox. For urgent billing, keep your Str
31ipe receipt handy."})]})]})}function De(){const[t,s]=l.useState([qe]),[n,r]=l.useState(""),[d,y]=l.useState(!1),[v,g]=l.useState(null),[z,T]=l.useState(!0),u=l.useRef(null);l.useEffect(()=>{try{const i=localStorage.getItem(C);i&&g(i)}catch{}(async()=>{try{if(localStorage.getItem(C))return;const i=await I({agent_id:R,mode:"init"},{headers:{"X-Public-Chat-Key":M}}),c=i==null?void 0:i.conversation_id;if(c){g(c);try{localStorage.setItem(C,c)}catch{}}}catch{}})()},[]),l.useEffect(()=>{var i;(i=u.current)==null||i.scrollTo({top:u.current.scrollHeight,behavior:"smooth"})},[t,d]);const E=async()=>{if(v)return v;try{const i=localStorage.getItem(C);if(i)return g(i),i}catch{}try{const i=await I({agent_id:R,mode:"init"},{headers:{"X-Public-Chat-Key":M}}),c=i==null?void 0:i.conversation_id;if(c){g(c);try{localStorage.setItem(C,c)}catch{}return c}}catch{}return null},f=async i=>{const c=i.trim();if(!c||d)return;const F={role:"user",content:c,ts:new Date};s(x=>[...x,F]),r(""),y(!0),T(!1);try{let x=await E();if(!x)try{const a=await I({agent_id:R,mode:"init"},{headers:{"X-Public-Chat-Key":M}});if(x=(a==null?void 0:a.conversation_id)||null,x){g(x);try{localStorage.setItem(C,x)}catch{}}}catch{}let b="";if(x){const a=await I({agent_id:R,mode:"message",message:c,conversation_id:x},{headers:{"X-Public-Chat-Key":M}});b=(a==null?void 0:a.response)||(a==null?void 0:a.message)||(a==null?void 0:a.output)||(typeof a=="string"?a:"");const w=a==null?void 0:a.conversation_id;if(w&&w!==x){g(w);try{localStorage.setItem(C,w)}catch{}}if(!b)throw new Error("empty")}else{const a=await I({agent_id:R,mode:"init",message:c},{headers:{"X-Public-Chat-Key":M}});b=(a==null?void 0:a.response)||(a==null?void 0:a.message)||(a==null?void 0:a.output)||"";const w=a==null?void 0:a.conversation_id;if(w){g(w);try{localStorage.setItem(C,w)}catch{}}if(!b)throw new Error("empty direct")}s(a=>[...a,{role:"assistant",content:b,ts:new Date}])}catch(x){console.warn("[Benny Support] chat failed",x),s(b=>[...b,{role:"assistant",content:"Benny hit a speed bump — try again in a moment. If billing is urgent, use Manage Subscription on the right. For calculator NaN, make sure hours and rate are numbers, not blank.",ts:new Date}])}finally{y(!1)}};return e.jsxs("div",{className:"flex flex-col overflow-hidden rounded-[22px] border border-zinc-200 bg-white shadow-[0_12px_32px_rgba(0,0,0,0.06)]",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 border-b border-zinc-100 bg-gradient-to-br from-[#FFFBF8] to-white px-5 py-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"relative flex h-10 w-10 items-center justify-center rounded-full text-white shadow-[0_6px_18px_rgba(244,88,21,0.28)]",style:{background:p},children:[e.jsx("span",{className:"relative h-9 w-9 overflow-hidden rounded-full ring-2 ring-white/50",children:e.jsx("img",{src:he,alt:ge,width:160,height:160,className:"h-full w-full object-cover",style:{objectPosition:"center 26%",transform:"scale(1.72) translateY(10%)"}})}),e.jsx("span",{className:"absolute -bottom-0.5 -right-0.5 h-3 w-3 rounded-full border-2 border-white bg-emerald-500"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"text-[14px] font-bold tracking-tight text-zinc-900",children:"Chat with Benny the Beaver"}),e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-emerald-50 px-2 py-0.5 text-[10px] font-bold uppercase tracking-widest text-emerald-700 ring-1 ring-emerald-200",children:[e.jsx("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-emerald-500"})," Online"]})]}),e.jsx("p",{className:"mt-0.5 text-[11px] font-medium text-zinc-500",children:"RSG Support • Calculators • Billing • Navigation"})]})]}),e.jsxs("span",{className:"hidden items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-3 py-1 text-[10px] font-bold uppercase tracking-widest text-zinc-500 sm:inline-flex",children:[e.jsx(fe,{className:"h-3 w-3",style:{color:p}})," Benny Support"]})]}),e.jsx("div",{ref:u,className:"max-h-[520px] min-h-[420px] overflow-y-auto bg-[#FFFEFB] px-4 py-5 sm:px-5",style:{minHeight:"500px"},children:e.jsxs("div",{className:"space-y-4",children:[t.map((i,c)=>e.jsx("div",{className:`flex ${i.role==="user"?"justify-end":"justify-start"}`,children:e.jsxs("div",{className:`max-w-[84%] ${i.role==="user"?"items-end":"items-start"}`,children:[e.jsx("div",{className:`rounded-[18px] px-4 py-3 text-[13.5px] leading-[1.55] shadow-sm ${i.role==="user"?"rounded-br-[4px] text-white":"rounded-bl-[4px] border border-zinc-200 bg-white text-zinc-800"}`,style:i.role==="user"?{background:p}:void 0,children:e.jsx("p",{className:"whitespace-pre-wrap break-words",children:i.content})}),e.jsx("p",{className:`mt-1.5 px-1 text-[10px] ${i.role==="user"?"text-right text-zinc-400":"text-zinc-400"}`,children:i.ts.toLocaleTimeString([],{hour:"numeric",minute:"2-digit"})})]})},c)),d&&e.jsx("div",{className:"flex justify-start",children:e.jsx("div",{className:"rounded-bl-[4px] rounded-[18px] border border-zinc-200 bg-white px-4 py-3 shadow-sm",children:e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-zinc-300 [animation-delay:-0.3s]"}),e.jsx("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-zinc-400 [animation-delay:-0.15s]"}),e.jsx("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-zinc-500"})]})})})]})}),z&&e.jsxs("div",{className:"border-t border-zinc-100 bg-white px-3 py-2.5",children:[e.jsx("p",{className:"mb-2 px-1 text-[10px] font-bold uppercase tracking-[0.14em] text-zinc-400",children:"Try asking"}),e.jsx("div",{className:"flex gap-2 overflow-x-auto pb-1 scrollbar-none",children:$e.map(i=>e.jsx("button",{onClick:()=>f(i),className:"shrink-0 whitespace-nowrap rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1.5 text-[11.5px] font-medium text-zinc-700 transition hover:border-[#F45815]/30 hover:bg-[#FFF1EB] hover:text-[#F45815]",children:i},i))})]}),e.jsxs("div",{className:"border-t border-zinc-200 bg-white p-3",children:[e.jsxs("div",{className:"flex items-center gap-2 rounded-full border border-zinc-200 bg-zinc-50 px-2 py-1.5 shadow-[inset_0_1px_0_rgba(255,255,255,0.6)] focus-within:border-[#F45815]/40 focu
31s-within:bg-white focus-within:ring-[3px] focus-within:ring-[#F45815]/10",children:[e.jsx("input",{value:n,onChange:i=>r(i.target.value),onKeyDown:i=>{i.key==="Enter"&&!i.shiftKey&&(i.preventDefault(),f(n))},placeholder:"Ask about calculators, billing, or navigation…",className:"h-9 min-w-0 flex-1 bg-transparent px-3 text-[14px] text-zinc-900 placeholder:text-zinc-400 outline-none"}),e.jsx("button",{onClick:()=>f(n),disabled:!n.trim()||d,className:"inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition hover:brightness-110 disabled:opacity-40",style:{background:p},"aria-label":"Send message",children:e.jsx(q,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"mt-2 px-1 text-[10px] leading-relaxed text-zinc-400",children:"Benny helps with account and dashboard questions, forms, listings, payments, subscriptions, and the RSG platform. Ask anything. Response times are typically under 30 seconds."})]})]})}function tt(){const t=ce(),{toast:s}=Z(),n=new URLSearchParams(t.search).get("mode")==="bug",r=t.state,d=Te(typeof(r==null?void 0:r.reportedFrom)=="string"?r.reportedFrom:t.pathname),y={bugReport:n,initialSubject:n?D:void 0,reportedFrom:d},[v,g]=l.useState(!0),[z,T]=l.useState(!1),[u,E]=l.useState(!1),[f,i]=l.useState(!1),[c,F]=l.useState(null),[x,b]=l.useState(null),[a,w]=l.useState(null),_=l.useCallback(async()=>{try{const o=await de.me();T(!0),w((o==null?void 0:o.email)||null);try{let h=[];try{h=await Y.filter({user_id:o==null?void 0:o.id})||[]}catch{}if(h.length===0&&(o!=null&&o.email))try{const m=await Y.filter({email:o.email})||[],N=m.filter(j=>j.user_id===(o==null?void 0:o.id));h=N.length>0?N:m.length===1?m:[]}catch{}h.length>0&&E(!!h[0].subscribed)}catch{}}catch{T(!1)}finally{g(!1)}},[]);l.useEffect(()=>{_()},[_]),l.useEffect(()=>{const o=()=>{_()},h=()=>{document.visibilityState==="visible"&&_()};return window.addEventListener("focus",o),document.addEventListener("visibilitychange",h),()=>{window.removeEventListener("focus",o),document.removeEventListener("visibilitychange",h)}},[_]),l.useEffect(()=>{if(!n||t.hash!=="#contact"||v)return;const o=window.requestAnimationFrame(()=>{var h;(h=document.getElementById("contact"))==null||h.scrollIntoView({behavior:"smooth",block:"start"})});return()=>window.cancelAnimationFrame(o)},[n,t.hash,v]);const B=async()=>{if(f)return;i(!0),b(null),F(null);const o=Le();let h=!1;try{const m=await Oe(Promise.resolve().then(()=>be({}))),N=Ae(m);if(!N)throw Object.assign(new Error(ne(m)||"Billing portal URL not returned."),{response:m});const j=Ue(N,o);h=j.usedTemporaryTab,j.opened||(b("Your browser blocked the new tab. Use the secure link below to open billing management."),F(N))}catch(m){const N=Me(m);b(N),s({title:"Could not open billing",description:N,variant:"destructive"})}finally{h||Ge(o),i(!1)}};return e.jsxs(Ne,{children:[e.jsx(je,{title:"Support — Chat with Benny the Beaver | RideShareGuides",description:"Support from Benny the Beaver for account guidance, forms, listings, payments, subscriptions, and RSG platform navigation.",url:"https://rideshareguides.com/pro-support"}),e.jsx("div",{className:"mx-auto max-w-[1180px] px-1 pb-3",children:e.jsx(ve,{variant:"light"})}),e.jsxs("div",{className:"pointer-events-none absolute inset-0 -z-10 overflow-hidden",children:[e.jsx("div",{className:"absolute left-[-8%] top-[-10%] h-[420px] w-[560px] rounded-full blur-[80px]",style:{background:`${p}10`}}),e.jsx("div",{className:"absolute right-[-10%] top-[16%] h-[360px] w-[480px] rounded-full blur-[90px]",style:{background:"#0F766E12"}})]}),v?e.jsxs("div",{className:"mx-auto max-w-[1180px] space-y-4 animate-pulse px-1",children:[e.jsx("div",{className:"h-[96px] rounded-[24px] bg-zinc-100"}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1.2fr_0.8fr] gap-6",children:[e.jsx("div",{className:"h-[560px] rounded-[22px] bg-zinc-100"}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"h-[200px] rounded-[18px] bg-zinc-100"}),e.jsx("div",{className:"h-[180px] rounded-[18px] bg-zinc-100"})]})]})]}):z?u?e.jsxs("div",{className:"mx-auto max-w-[1180px]",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full px-3.5 py-1.5 text-[11px] font-bold uppercase tracking-[0.14em] text-white shadow-sm",style:{background:p},children:[e.jsx(A,{className:"h-3.5 w-3.5"})," Member support access active"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-3 py-1 text-[11px] font-medium text-zinc-600",children:[e.jsx(Q,{className:"h-3.5 w-3.5"})," Priority • Subscriber verified"]}),a&&e.jsx("span",{className:"hidden sm:inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1 text-[11px] text-zinc-500",children:a})]}),e.jsxs("div",{className:"mt-5 flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-[42px] sm:text-[58px] font-black leading-[0.88] tracking-tight text-zinc-900",style:{fontFamily:"'Bebas Neue', sans-serif"},children:n?"REPORT A PLATFORM BUG":"SUPPORT"}),e.jsx("p",{className:"mt-2 text-[19px] font-medium leading-tight text-zinc-800",style:{fontFamily:"'Barlow Condensed', sans-serif"},children:n?"Help us make RideShareGuides better":"Priority help from Benny the Beaver, your RSG platform support guide"}),e.jsx("p",{className:"mt-2 max-w-[54ch] text-[13px] leading-relaxed text-zinc-500",children:n?$:"Your member access is active. Ask Benny about your account and dashboard, forms, listings, payments or subscriptions, and where things live across the RSG platform. If Benny can't solve it, escalate to a human through the form on the right."})]}),e.jsxs("div",{className:"hidden lg:flex items-center gap-2",children:[e.jsxs(S,{to:"/pro-tools",className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-4 py-2 text-[12px] font-semibold text-zinc-700 hover:bg-zinc-50",children:[e.jsx(P,{className:"h-4 w-4"})," Tools"]}),e.jsxs(S,{to:"/pro-social",className:"inline-flex items-center gap-1.5 rounded-full px-4 py-2 text-[12px] font-semibold text-white",style:{background:p},children:[e.jsx(A,{className:"h-4 w-4"})," Member Hub"]})]})]}),e.jsxs("div",{className:"mt-7 grid grid-cols-1 gap-6 lg:grid-cols-[1.25fr_0.75fr] lg:items-start",children:[e.jsxs("div",{children:[e.jsx(De,{}),e.jsxs("p",{className:"mt-3 flex items-center gap-1.5 px-1 text-[11px] text-zinc-400",children:[e.jsx(Q,{className:"h-3.5 w-3.5"})," Benny helps with account and dashboard questions, forms, listings, payments, subscriptions, and the RSG platform. If Benny can't help, use Contact Admin on the right. It goes straight to a human."]})]}),e.jsxs("div",{className:"space-y-4 lg:sticky lg:top-[84px]",children:[e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-white p-5 sm:p-6 shadow-[0_8px_24px_rgba(0,0,0,0.04)]",children:[e.jsxs("h3",{className:"flex items-center gap-2 text-[13px] font-bold uppercase tracking-[0.12em] text-zinc-900",children:[e.jsx(ee,{className:"h-4 w-4",style:{color:p}})," What Benny can help with"]}),e.jsxs("ul",{className:"mt-4 space-y-3",children:[e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx("span",{className:"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",style:{background:`${p}12`,color:p},children:e.jsx(P,{className:"h-3.5 w-3.5"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-semibold text-zinc-900",children:"ROI Calculator questions"}),e.jsx("p",{className:"mt-0.5 text-[12px] leading-relaxed text-zinc-500",children:"Break-even months, annual ROI %, when an investment pays back."})]})]}),e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx("span",{className:"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(K,{className:"h-3.5 w-3.5 text-zinc-600"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-semibold text-zinc-900",children:"Earnings Calculator help"}),e.jsx("p",{className:"mt-0.5 text-[12px] leading-relaxed text-zinc-500",children:"True hourly after expenses, why N
31aN shows, gross vs keep rate."})]})]}),e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx("span",{className:"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(G,{className:"h-3.5 w-3.5 text-zinc-600"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-semibold text-zinc-900",children:"Subscription & billing"}),e.jsx("p",{className:"mt-0.5 text-[12px] leading-relaxed text-zinc-500",children:"Charged but still Free, invoices, cancel flow, Stripe portal."})]})]}),e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx("span",{className:"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(V,{className:"h-3.5 w-3.5 text-zinc-600"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-semibold text-zinc-900",children:"Platform navigation"}),e.jsx("p",{className:"mt-0.5 text-[12px] leading-relaxed text-zinc-500",children:"Where Tools, Directory, Community live."})]})]})]})]}),e.jsx(L,{...y,initialEmail:a,compact:!0,anchorId:"contact"}),e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-white p-5",children:[e.jsx("h3",{className:"text-[12px] font-bold uppercase tracking-[0.14em] text-zinc-500",children:"Quick links"}),e.jsxs("div",{className:"mt-4 grid grid-cols-1 gap-2",children:[e.jsxs(S,{to:"/pro-social",className:"group flex items-center justify-between rounded-full border border-zinc-200 bg-zinc-50 px-4 py-2.5 text-[13px] font-medium text-zinc-800 transition hover:border-[#F45815]/30 hover:bg-[#FFF1EB]",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-white ring-1 ring-zinc-200",children:e.jsx(A,{className:"h-3.5 w-3.5",style:{color:p}})})," Member Hub"]}),e.jsx(k,{className:"h-4 w-4 text-zinc-400 group-hover:text-[#F45815] transition-colors"})]}),e.jsxs(S,{to:"/pro-tools",className:"group flex items-center justify-between rounded-full border border-zinc-200 bg-white px-4 py-2.5 text-[13px] font-medium text-zinc-700 transition hover:bg-zinc-50",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(P,{className:"h-3.5 w-3.5"})})," Tools & Calculators"]}),e.jsx(k,{className:"h-4 w-4 text-zinc-400 group-hover:text-zinc-900"})]}),e.jsxs(S,{to:"/directory",className:"group flex items-center justify-between rounded-full border border-zinc-200 bg-white px-4 py-2.5 text-[13px] font-medium text-zinc-700 transition hover:bg-zinc-50",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(xe,{className:"h-3.5 w-3.5"})})," Member Directory"]}),e.jsx(k,{className:"h-4 w-4 text-zinc-400 group-hover:text-zinc-900"})]}),e.jsxs(S,{to:"/group",className:"group flex items-center justify-between rounded-full border border-zinc-200 bg-white px-4 py-2.5 text-[13px] font-medium text-zinc-700 transition hover:bg-zinc-50",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(me,{className:"h-3.5 w-3.5"})})," Community"]}),e.jsx(k,{className:"h-4 w-4 text-zinc-400 group-hover:text-zinc-900"})]})]})]}),e.jsxs("div",{className:"rounded-[18px] border border-zinc-900 bg-zinc-900 p-5 text-white",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-white/10",children:e.jsx(Se,{className:"h-4 w-4"})}),e.jsx("h3",{className:"text-[13px] font-semibold tracking-tight",children:"Subscription management"})]}),e.jsx("p",{className:"mt-3 text-[12px] leading-relaxed text-white/70",children:"Update payment method, view invoices, change plan, or cancel anytime from the Stripe customer portal."}),e.jsxs("button",{type:"button",onClick:B,disabled:f,"aria-busy":f,"aria-describedby":x?"billing-portal-status":void 0,className:"mt-4 inline-flex w-full items-center justify-center gap-2 rounded-full bg-white px-5 py-2.5 text-[13px] font-bold text-zinc-900 transition hover:bg-zinc-100 disabled:opacity-60",children:[f?e.jsx(te,{className:"h-4 w-4 animate-spin"}):e.jsx(G,{className:"h-4 w-4"})," ",f?"Opening billing...":"Manage Subscription"]}),(x||c)&&e.jsxs("div",{id:"billing-portal-status",role:"status","aria-live":"polite",className:"mt-3 rounded-[14px] border border-white/15 bg-white/10 p-3",children:[x&&e.jsx("p",{className:"text-[12px] leading-relaxed text-white/85",children:x}),e.jsxs("div",{className:"mt-2.5 flex flex-wrap items-center gap-2",children:[c&&e.jsxs("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 rounded-full bg-white px-3.5 py-2 text-[12px] font-bold text-zinc-900 transition hover:bg-zinc-100",children:["Open billing portal ",e.jsx(k,{className:"h-3.5 w-3.5"})]}),x&&e.jsx("button",{type:"button",onClick:B,className:"inline-flex items-center gap-1.5 rounded-full border border-white/20 px-3.5 py-2 text-[12px] font-semibold text-white transition hover:bg-white/10",children:"Try again"})]})]})]}),e.jsxs("div",{className:"rounded-[16px] border border-dashed border-zinc-200 bg-white/70 p-4",children:[e.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.12em] text-zinc-500",children:"Escalation note"}),e.jsx("p",{className:"mt-1.5 text-[12px] leading-relaxed text-zinc-600",children:"If Benny can't solve it, use Contact Admin above. Your message is saved and emailed to admin with your email as reply-to. Average human reply 2-4 hours on business days."})]})]})]}),e.jsx("div",{className:"mt-10 flex justify-center lg:hidden",children:e.jsxs(S,{to:"/pro-social",className:"inline-flex items-center gap-2 rounded-full border border-zinc-200 bg-white px-5 py-2.5 text-[13px] font-semibold text-zinc-700 shadow-sm",children:[e.jsx(A,{className:"h-4 w-4",style:{color:p}})," Back to Member Hub ",e.jsx(k,{className:"h-4 w-4"})]})})]}):e.jsxs("div",{className:"mx-auto max-w-[1180px] px-1 pb-16",children:[e.jsxs("div",{className:"rounded-[24px] border border-amber-200 bg-gradient-to-br from-amber-50 via-white to-w
31hite p-6 sm:p-8 shadow-sm",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-amber-200 bg-amber-50 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-amber-800",children:[e.jsx(O,{className:"h-3.5 w-3.5"})," Member chat access"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1 text-[11px] font-medium text-zinc-600",children:[e.jsx(H,{className:"h-3.5 w-3.5"})," Benny Support"]})]}),e.jsx("div",{className:"mt-5 flex flex-col gap-6 lg:flex-row lg:items-start lg:justify-between",children:e.jsxs("div",{children:[e.jsx("h1",{className:"text-[36px] sm:text-[52px] font-black leading-[0.88] tracking-tight text-zinc-900",style:{fontFamily:"'Bebas Neue', sans-serif"},children:n?"REPORT A PLATFORM BUG":"SUPPORT"}),e.jsx("p",{className:"mt-2 text-[18px] font-medium text-zinc-800",style:{fontFamily:"'Barlow Condensed', sans-serif"},children:n?"Help us make RideShareGuides better":"Priority support, direct chat with Benny the Beaver, and troubleshooting help"}),e.jsx("p",{className:"mt-2 max-w-[52ch] text-[13px] leading-relaxed text-zinc-600",children:n?$:"Benny chat is available to eligible existing members. Admin contact below is open to everyone. Send a message to a human now if you need help."})]})})]}),e.jsxs("div",{className:"relative mt-8 grid grid-cols-1 gap-6 lg:grid-cols-[1.25fr_0.75fr]",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-[22px] border border-zinc-200 bg-white shadow-[0_12px_32px_rgba(0,0,0,0.06)]",children:[e.jsxs("div",{className:"pointer-events-none select-none opacity-40 blur-[6px]",children:[e.jsx("div",{className:"flex items-center justify-between border-b border-zinc-100 px-5 py-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-10 w-10 rounded-full",style:{background:p}}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-3 w-24 rounded bg-zinc-200"}),e.jsx("div",{className:"h-2 w-32 rounded bg-zinc-100"})]})]})}),e.jsxs("div",{className:"space-y-3 p-5",children:[e.jsxs("div",{className:"max-w-[70%] rounded-[18px] border border-zinc-200 bg-white p-4",children:[e.jsx("div",{className:"h-3 w-full rounded bg-zinc-200"}),e.jsx("div",{className:"mt-2 h-3 w-[80%] rounded bg-zinc-100"})]}),e.jsx("div",{className:"ml-auto max-w-[60%] rounded-[18px] p-4",style:{background:p},children:e.jsx("div",{className:"h-3 w-full rounded bg-white/60"})})]})]}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-white/60 backdrop-blur-[2px]",children:e.jsxs("div",{className:"mx-4 w-full max-w-[360px] rounded-[20px] border border-zinc-200 bg-white p-6 text-center shadow-[0_20px_48px_rgba(0,0,0,0.14)]",children:[e.jsx("div",{className:"mx-auto flex h-10 w-10 items-center justify-center rounded-full text-white",style:{background:p},children:e.jsx(O,{className:"h-4 w-4"})}),e.jsx("p",{className:"mt-3 text-[14px] font-bold text-zinc-900",children:"Benny chat requires eligible member access"}),e.jsx("p",{className:"mt-1 text-[12px] leading-relaxed text-zinc-500",children:"Direct troubleshooting for earnings and ROI calculators, plus billing help and platform navigation."}),e.jsx("p",{className:"mt-4 rounded-[14px] border border-amber-200 bg-amber-50 px-3.5 py-2.5 text-[12px] font-semibold leading-relaxed text-amber-900",children:"Existing members can use Benny chat after account access is verified. Admin contact below is open to everyone."})]})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-white p-5",children:[e.jsxs("h3",{className:"flex items-center gap-2 text-[13px] font-bold uppercase tracking-[0.12em] text-zinc-900",children:[e.jsx(ke,{className:"h-4 w-4",style:{color:p}})," What Benny can help with"]}),e.jsx("ul",{className:"mt-4 space-y-2.5",children:[{icon:P,label:"ROI Calculator questions — break-even, payback, % math"},{icon:K,label:"Earnings Calculator help — true hourly, expenses, NaN fixes"},{icon:G,label:"Subscription & billing: charges, invoices, member access not activating"},{icon:V,label:"Platform navigation — where tools, directory, community live"}].map(o=>e.jsxs("li",{className:"flex items-start gap-2.5 text-[12.5px] leading-relaxed text-zinc-600",children:[e.jsx("span",{className:"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-zinc-50 ring-1 ring-zinc-200",children:e.jsx(o.icon,{className:"h-3 w-3 text-zinc-500"})}),o.label]},o.label))})]}),e.jsx(L,{...y,initialEmail:a,compact:!0,anchorId:"contact"}),e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-[#171512] p-5 text-white",children:[e.jsx("h3",{className:"text-[13px] font-bold uppercase tracking-[0.12em]",style:{fontFamily:"'Barlow Condensed', sans-serif"}
31,children:"Quick links"}),e.jsxs("div",{className:"mt-4 grid grid-cols-1 gap-2",children:[e.jsxs(S,{to:"/pro-social",className:"flex items-center justify-between rounded-full border border-white/15 bg-white/10 px-4 py-2.5 text-[12px] font-medium text-white transition hover:bg-white/15",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(A,{className:"h-4 w-4"})," Member Hub"]}),e.jsx(k,{className:"h-3.5 w-3.5 opacity-60"})]}),e.jsxs(S,{to:"/pro-tools",className:"flex items-center justify-between rounded-full border border-white/10 bg-white/5 px-4 py-2.5 text-[12px] font-medium text-white/80 transition hover:bg-white/10",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(P,{className:"h-4 w-4"})," Tools"]}),e.jsx(k,{className:"h-3.5 w-3.5 opacity-60"})]})]})]})]})]}),e.jsx("div",{className:"mt-8",children:e.jsx(L,{...y,initialEmail:a,compact:!1})})]}):e.jsxs("div",{className:"mx-auto max-w-[1180px] px-1 pb-16",children:[e.jsxs("div",{className:"rounded-[24px] border border-amber-200 bg-gradient-to-br from-amber-50 via-white to-white p-6 sm:p-8 shadow-sm",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-amber-200 bg-amber-50 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-amber-800",children:[e.jsx(O,{className:"h-3.5 w-3.5"})," Member chat access"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1 text-[11px] font-medium text-zinc-600",children:[e.jsx(H,{className:"h-3.5 w-3.5"})," Benny Support"]})]}),e.jsx("h1",{className:"mt-5 text-[36px] sm:text-[48px] font-black leading-[0.88] tracking-tight text-zinc-900",style:{fontFamily:"'Bebas Neue', sans-serif"},children:n?"REPORT A PLATFORM BUG":"SUPPORT + ADMIN CONTACT"}),e.jsx("p",{className:"mt-2 max-w-[60ch] text-[13px] leading-relaxed text-zinc-600",children:n?$:"Benny the Beaver is available to eligible existing members. You can still reach a human admin directly below. Sign in to check your member access, or send a message and we will reply within hours."})]}),e.jsxs("div",{className:"mx-auto mt-8 grid max-w-[900px] grid-cols-1 gap-6",children:[e.jsxs("div",{className:"rounded-[28px] border border-zinc-200 bg-white p-8 sm:p-10 shadow-[0_16px_48px_rgba(0,0,0,0.06)] text-center",children:[e.jsx("div",{className:"mx-auto flex h-14 w-14 items-center justify-center rounded-[16px]",style:{background:`${p}14`,color:p},children:e.jsx(O,{className:"h-6 w-6"})}),e.jsx("h2",{className:"mt-6 text-[28px] leading-[0.95] tracking-[0.02em] text-zinc-900",style:{fontFamily:"'Bebas Neue', sans-serif"},children:"BENNY CHAT IS MEMBER ACCESS"}),e.jsx("p",{className:"mx-auto mt-3 max-w-[40ch] text-[14px] leading-relaxed text-zinc-600",children:"Priority help from Benny, calculator troubleshooting, and subscription support are available to eligible existing members."}),e.jsxs("a",{href:Fe(),className:"mt-6 inline-flex w-full items-center justify-center gap-2 rounded-full px-6 py-3.5 text-[14px] font-semibold text-white transition hover:opacity-90",style:{background:p},children:["Sign in to continue ",e.jsx(k,{className:"h-4 w-4"})]}),e.jsx("p",{className:"mt-3 text-[11px] text-zinc-500",children:"Free community at /community • Member chat access is currently limited to eligible existing members"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2 px-1",children:[e.jsx("div",{className:"h-px flex-1 bg-zinc-200"}),e.jsx("span",{className:"text-[11px] font-bold uppercase tracking-[0.16em] text-zinc-400",children:"Or contact admin directly — everyone can use this"}),e.jsx("div",{className:"h-px flex-1 bg-zinc-200"})]}),e.jsx(L,{...y,compact:!1,anchorId:"contact"})]})]})]}),e.jsx(ze,{})]})}export{tt as default};

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