1import{r as n,Q as T,a as _,d as W,j as e,L as s,l as G,B as h,X as q,A as H,m as V}from"./index-BmVsY7uV.js";import{F as K,u as Y,S as u,L as j,M as Q,s as N}from"./useAuth-BLq1rRZR.js";import{S as X}from"./sparkles-BTnMNeFF.js";import{A as J}from"./activity-CdBU216v.js";import{D as O,a as P,b as z,c as l,d as p}from"./dropdown-menu-BylkUW9Z.js";import{U as Z}from"./user-F1w1uPif.js";const U=[{id:"rccp",slug:"rccp",name:"Return Converter x CopyPaste Bot",category:"Order Fulfilment & Returns",bannerBg:"#0d1117",shortDescription:"One-click eBay to Amazon order fulfilment plus instant return label generation â two tools in one platform.",fullDescription:"CP Bot & Return Converter is an essential toolkit for Amazon-to-eBay dropshippers. It completely eliminates manual data entry by automatically copying your eBay customer's address and pasting it seamlessly into the Amazon checkout page with a single click. Additionally, generate compliant return shipping labels for your eBay customers, fully compatible with Amazon AU returns, without paying a cent for the Return Converter module.",features:[{title:"One-click copy",description:"Copy eBay address to Amazon in one click",icon:"mouse-pointer-click"},{title:"Instant labels",description:"Generate eBay return labels instantly",icon:"zap"},{title:"History tracking",description:"Fulfilment history and activity tracking",icon:"line-chart"},{title:"Cloud clipboard",description:"Cloud clipboard for cross-device sync",icon:"cloud"}],price:"AUD $19/month",isFree:!1,howItWorks:["Install the CP Bot Chrome extension or log in to the dashboard.","Copy the customer address directly to Amazon checkout.","Use the dashboard to generate instant return labels.","Manage all your fulfillment needs in one place."],builtFor:"Australian eBay sellers who fulfill orders via Amazon and want to eliminate manual data entry and handle returns effortlessly.",seoKeywords:"CP Bot, Return Converter, eBay to Amazon fulfillment, return label generator, address copier, Chrome extension, dropshipping automation",appUrl:"https://rccp.automationalchemists.com"},{id:"list_flow",slug:"listflow",name:"ListFlow",category:"PRODUCT MANAGEMENT",bannerBg:"#0a0d0a",icon:X,shortDescription:"Track, list, and monitor products across eBay. A faster AutoDS alternative.",fullDescription:"Built to move fast: import your listings in bulk, publish to eBay, and let ListFlow watch prices and stock while you focus on sourcing the next win. No bloat, no modules you'll never touch, just the tools eBay sellers actually use, including built-in market research so you know what similar listings are already selling for before you set a price.",features:[{title:"Bulk listing",description:"Import and list dozens of products from Amazon to eBay in seconds.",icon:"layers"},{title:"Price monitoring",description:"Get alerts when prices change on Amazon to protect your margins.",icon:"line-chart"},{title:"Inventory sync",description:"Automatically update your stock levels when items go out of stock.",icon:"refresh-cw"},{title:"eBay Research",description:"See what similar listings are actively selling for â active prices, sold comps, seller data â pulled straight from eBay's official API, so pricing decisions aren't a guess.",icon:"search"}],price:"AUD $59/month",isFree:!1,howItWorks:["Connect your eBay store securely via our dashboard.","Input Amazon product URLs or ASINs to import items.","Review and customize the listings in bulk.","Publish directly to eBay and let ListFlow monitor the rest."],builtFor:"Sellers looking for a fast, reliable, and cost-effective way to manage their eBay inventory without the bloat of traditional tools.",seoKeywords:"ListFlow, AutoDS alternative, eBay listing tool, price monitoring, inventory sync, bulk listing, dropshipping software",appUrl:"https://listflow.automationalchemists.com"},{id:"order_bot",slug:"orderbot",name:"Order Bot",category:"NOTIFICATIONS",bannerBg:"#0d0d0a",icon:J,shortDescription:"Get instant WhatsApp or Discord alerts the moment you receive a new eBay order.",fullDescription:"Never miss a sale again. Order Bot connects directly to your eBay store and sends instant, real-time alerts straight to your WhatsApp or Discord the second an order comes in. Stay on top of your business from anywhere, ensuring you can fulfill orders promptly and provide top-tier customer service.",features:[{title:"WhatsApp alerts",description:"Receive a message directly to your phone the instant a sale occurs.",icon:"message-circle"},{title:"Discord integration",description:"Push order notifications to a dedicated channel in your Discord server.",icon:"hash"},{title:"Real-time speed",description:"Alerts are delivered in milliseconds, ensuring you can act fast.",icon:"clock"}],price:"AUD $7/month",isFree:!1,howItWorks:["Link your eBay account in the Order Bot dashboard.","Choose your preferred notification channel (WhatsApp or Discord).","Follow the prompt to connect your number or server.","Start receiving instant alerts for every sale."],builtFor:"Sellers who want to stay informed of their sales in real-time, away from their desks.",seoKeywords:"Order Bot, eBay sales notifications, WhatsApp alerts, Discord alerts for eBay, real-time sales tracking, dropshipping notifications",appUrl:"https://orderbot.automationalchemists.com"},{id:"invoice_generator",slug:"invoicegen",name:"Invoice Generator",category:"INVOICING",bannerBg:"#0a0d10",icon:K,shortDescription:"Auto-generate professional invoices for your eBay sales in one click.",fullDescription:"Provide professional, compliant invoices to your customers with zero effort. The Invoice Generator pulls data directly from your eBay sales to instantly create custom-branded, ready-to-export PDF invoices. Enhance your brand credibility and streamline your accounting process.",features:[{title:"One-click creation",description:"Generate a full invoice directly from the order page instantly.",icon:"file-text"},{title:"Custom branding",description:"Add your store's logo, address, and ABN to look highly professional.",icon:"image"}
1,{title:"PDF export",description:"Download ready-to-send PDF files that you can easily attach to messages.",icon:"download"}],price:"AUD $5/month",isFree:!1,howItWorks:["Connect your store and upload your logo/branding details.","View your recent eBay orders in the dashboard.",'Click "Generate" on any order to create the invoice.',"Download the PDF or email it directly to the customer."],builtFor:"Professional sellers who need to provide compliant, branded tax invoices quickly and easily.",seoKeywords:"eBay invoice generator, automated invoicing, dropshipping tax invoice, custom branded invoice, PDF invoice maker",appUrl:"https://invoicegen.automationalchemists.com"}],ne=({hideAuthButton:k=!1})=>{const[R,L]=n.useState(!1),[x,i]=n.useState(!1),[d,C]=n.useState(!1),[f,y]=n.useState(null),[b,A]=n.useState(!1),r=T(),g=_(),{user:o,signOut:M}=Y(),{toast:w}=W(),B=n.useRef({});n.useEffect(()=>{(async()=>{if(!o){C(!1);return}const{data:a}=await N.from("user_roles").select("role").eq("user_id",o.id).eq("role","admin").maybeSingle();C(!!a)})()},[o]),n.useEffect(()=>{(async()=>{if(!o){y(null);return}const{data:a}=await N.from("profiles").select("full_name").eq("id",o.id).maybeSingle();a?.full_name?y(a.full_name):y(null)})()},[o]),n.useEffect(()=>{(async()=>{if(!o){A(!1);return}const{count:a}=await N.from("tool_notifications").select("id",{count:"exact",head:!0}).eq("user_id",o.id).eq("notified",!0).is("seen_at",null);A((a||0)>0)})()},[o,r.pathname]);const $=f?f.charAt(0).toUpperCase():o?.email?.charAt(0).toUpperCase()||"U",D=f||o?.user_metadata?.full_name||"User",S=()=>e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"flex items-center justify-center h-8 w-8 rounded-full bg-yellow-accent text-teal-900 font-bold text-sm",children:$}),b&&e.jsx("div",{className:"absolute -top-1 -right-1 w-2.5 h-2.5 bg-yellow-accent text-teal-900 rounded-full border-2 border-[#1C2128]"})]});n.useEffect(()=>{const t=()=>{L(window.scrollY>20)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]);const I=t=>{if(r.pathname!=="/"){window.location.href=`/#${t}`;return}const a=document.getElementById(t);a&&(a.scrollIntoView({behavior:"smooth"}),i(!1))},m=(t,a)=>{if(r.pathname===a){const F=Date.now(),c=B.current[a]||{count:0,lastClick:0};if(F-c.lastClick>1500&&(c.count=0),c.count++,c.lastClick=F,B.current[a]=c,c.count>=4){t.preventDefault();const E=a.replace("/","")||"home";w({title:"𤦠Really?",description:`You're already on the ${E} page, idiot!`}),c.count=0}}},v=async()=>{const{error:t}=await M();t?w({title:"Error",description:"Failed to sign out. Please try again.",variant:"destructive"}):(w({title:"Signed out",description:"You have been signed out successfully."}),g("/"))};return e.jsx("nav",{className:`fixed top-0 left-0 right-0 z-[100] transition-all duration-300 ${R?"bg-teal-900/95 backdrop-blur-md shadow-sm border-b border-teal-800":"bg-teal-900/80 backdrop-blur-md border-b border-transparent shadow-sm"}`,children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 md:px-12 py-3 sm:py-4 max-w-7xl",children:[e.jsxs("div",{className:"flex items-center justify-between h-12 sm:h-14",children:[e.jsxs(s,{to:"/",className:"flex items-center space-x-3 group",children:[e.jsx("img",{src:G,alt:"Automation Alchemists Logo",className:"w-10 h-10 sm:w-12 sm:h-12 object-contain transition-all duration-500 group-hover:rotate-[360deg]"}),e.jsx("span",{className:"hidden sm:block text-lg sm:text-xl md:text-2xl font-bold text-white font-display",children:"Automation Alchemists"})]}),e.jsxs("div",{className:"hidden md:flex items-center gap-6 xl:gap-8",children:[e.jsx("button",{onClick:()=>I("home"),className:"text-mint-50/70 hover:text-white transition-all duration-300 font-display text-sm font-semibold",children:"Home"}),e.jsx(s,{to:"/company",onClick:t=>m(t,"/company"),className:`transition-all duration-300 font-display text-sm font-semibold ${r.pathname==="/company"?"text-white border-b-2 border-teal-600 pb-1":"text-mint-50/70 hover:text-white"}`,children:"Company"}),e.jsx(s,{to:"/services",onClick:t=>m(t,"/services"),className:`transition-all duration-300 font-display text-sm font-semibold ${r.pathname==="/services"?"text-white border-b-2 border-teal-600 pb-1":"text-mint-50/70 hover:text-white"}`,children:"Services"}),e.jsx(s,{to:"/virtual-assistance",onClick:t=>m(t,"/virtual-assistance"),className:`transition-all duration-300 font-display text-sm font-semibold ${r.pathname==="/virtual-assistance"?"text-white border-b-2 border-teal-600 pb-1":"text-mint-50/70 hover:text-white"}`,children:"Virtual Assistance"}),e.jsxs("div",{className:"relative group",children:[e.jsx(s,{to:"/tools",onClick:t=>m(t,"/tools"),className:`transition-all duration-300 font-display text-sm font-semibold flex items-center gap-1 py-4 ${r.pathname.startsWith("/tools")?"text-white border-b-2 border-teal-600":"text-mint-50/70 hover:text-white"}`,children:"Tools"}),e.jsxs("div",{className:"absolute top-full left-0 w-[320px] bg-teal-900 border border-teal-800 text-white rounded-xl shadow-lg op
1acity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300 z-[200] overflow-hidden",children:[e.jsx("div",{className:"px-4 py-3 border-b border-teal-800",children:e.jsx("p",{className:"text-xs font-semibold text-mint-50/70 uppercase tracking-wider font-display",children:"Our Tools"})}),e.jsx("div",{className:"p-2",children:U.map(t=>{const a=t.icon;return e.jsxs(s,{to:`/tools/${t.slug}`,className:"cursor-pointer font-display rounded-lg px-3 py-3 hover:bg-teal-800/50 focus:bg-teal-800/50 flex items-start gap-3 w-full transition-colors",children:[e.jsx("div",{className:"mt-0.5 bg-teal-800 p-1.5 rounded-md text-teal-600 shrink-0",children:a?e.jsx(a,{className:"w-4 h-4"}):e.jsx("img",{src:"/images/rccp-logo.png",alt:t.name,className:"w-4 h-4 object-contain"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-white text-sm",children:t.name}),e.jsx("p",{className:"text-xs text-mint-50/70 line-clamp-1",children:t.shortDescription})]})]},t.id)})})]})]}),e.jsx(s,{to:"/contact",onClick:t=>m(t,"/contact"),className:`transition-all duration-300 font-display text-sm font-semibold ${r.pathname==="/contact"?"text-white border-b-2 border-teal-600 pb-1":"text-mint-50/70 hover:text-white"}`,children:"Contact"}),d&&e.jsxs(s,{to:"/admin",onClick:t=>m(t,"/admin"),className:"text-mint-50/70 hover:text-teal-600 transition-colors font-display text-sm font-bold flex items-center gap-1",children:[e.jsx(u,{className:"h-4 w-4"}),"Admin"]})]}),!k&&e.jsx("div",{className:"hidden md:flex items-center gap-4",children:o?e.jsxs(O,{children:[e.jsx(P,{asChild:!0,children:e.jsx(h,{variant:"ghost",className:"relative h-12 w-12 rounded-full hover:bg-teal-800 transition-colors p-0 flex items-center justify-center text-white",children:e.jsx(S,{})})}),e.jsxs(z,{className:"w-64 bg-teal-900 border-teal-800 text-white rounded-xl shadow-lg p-0 z-[200]",align:"end",sideOffset:8,forceMount:!0,children:[e.jsxs("div",{className:"px-4 py-3 border-b border-teal-800 bg-teal-800/30 rounded-t-xl",children:[e.jsxs("p",{className:"text-sm font-bold text-white font-display",children:["Hello, ",D.split(" ")[0]]}),e.jsx("p",{className:"text-xs text-mint-50/70 font-display truncate",children:o.email})]}),e.jsxs("div",{className:"p-2",children:[e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsx(s,{to:"/dashboard",className:"block w-full",children:e.jsx("span",{children:"Dashboard"})})}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsxs(s,{to:"/account/notifications",className:"block w-full flex items-center justify-between",children:[e.jsx("span",{children:"Notifications"}),b&&e.jsx("span",{className:"w-2 h-2 rounded-full bg-yellow-accent text-teal-900"})]})}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsx(s,{to:"/account",className:"block w-full",children:e.jsx("span",{children:"Account settings"})})}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsx(s,{to:"/billing",className:"block w-full",children:e.jsx("span",{children:"Billing"})})})]}),e.jsx(p,{className:"bg-teal-800"}),d&&e.jsxs("div",{className:"p-2",children:[e.jsx("p",{className:"px-2 py-1.5 text-xs font-semibold text-mint-50/70 uppercase tracking-wider",children:"Admin"}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsxs(s,{to:"/admin",onClick:()=>{},className:"block w-full flex items-center",children:[e.jsx(u,{className:"mr-2 h-4 w-4 text-mint-50/70"}),e.jsx("span",{children:"Admin Dashboard"})]})})]}),d&&e.jsx(p,{className:"bg-teal-800"}),e.jsx("div",{className:"p-2",children:e.jsxs(l,{onClick:v,className:"text-red-400 focus:text-red-400 focus:bg-red-900/20 cursor-pointer font-display rounded-lg px-3 py-2",children:[e.jsx(j,{className:"mr-2 h-4 w-4"}),e.jsx("span",{children:"Sign out"})]})})]})]}):e.jsx(h,{onClick:()=>g("/auth"),className:"bg-yellow-accent text-teal-900 font-display text-sm font-semibold px-6 py-5 rounded hover:bg-yellow-accent/90 hover:shadow-lg transition-all duration-300 active:scale-95 border-none",children:"Login or Register"})}),e.jsxs("div",{className:"md:hidden flex items-center gap-2",children:[o&&e.jsxs(O,{children:[e.jsx(P,{asChild:!0,children:e.jsx("button",{className:"p-2 hover:bg-teal-800 rounded-full transition-colors flex items-center justify-center text-white",children:e.jsx(S,{})})}),e.jsxs(z,{className:"w-64 bg-teal-900 border-teal-800 text-white rounded-xl shadow-lg p-0 z-[200]",align:"end",sideOffset:8,forceMount:!0,children:[e.jsxs("div",{className:"px-4 py-3 border-b border-teal-800 bg-teal-800/30 rounded-t-xl",children:[e.jsxs("p",{className:"text-sm font-bold text-white font-display",children:["Hello, ",D.split(" ")[0]]}),e.jsx("p",{className:"text-xs text-mint-50/70 font-display truncate",children:o.email})]}),e.jsxs("div",{className:"p-2",children:[e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsx(s,{to:"/dashboard",onClick:()=>i(!1),className:"block w-full",children:e.jsx("span",{children:"Dashboard"})})}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsxs(s,{to:"/account/notifications",onClick:()=>i(!1),className:"block w-full flex items-center justify-between",children:[e.jsx("span",{children:"Notifications"}),b&&e.jsx("span",{className:"w-2 h-2 rounded-full bg-yellow-accent text-teal-900"})]})}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsx(s,{to:"/account",onClick:()=>i(!1),className:"block w-full",children:e.jsx("span",{children:"Account settings"})})}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsx(s,{to:"/billing",onClick:()=>i(!1),className:"block w-full",children:e.jsx("span",{children:"Billing"})})})]}),e.jsx(p,{className:"bg-teal-800"}),d&&e.jsxs("div",{className:"p-2",children:[e.jsx("p",{className:"px-2 py-1.5 text-xs font-semibold text-mint-50/70 uppercase tracking-wider",children:"Admin"}),e.jsx(l,{asChild:!0,className:"cursor-pointer font-display rounded-lg px-3 py-2 hover:bg-teal-800/50 focus:bg-teal-800/50 text-white",children:e.jsxs(s,{to:"/admin",onClick:()=>i(!1),className:"block w-full flex items-center",children:[e.jsx(u,{className:"mr-2 h-4 w-4 text-mint-50/70"}),e.jsx("span",{children:"Admin Dashboard"})]})})]}),d&&e.jsx(p,{className:"bg-teal-800"}),e.jsx("div",{className:"p-2",children:e.jsxs(l,{onClick:v,className:"text-red-400 focus:text-red-400 focus:bg-red-900/20 cursor-pointer font-display rounded-lg px-3 py-2",children:[e.jsx(j,{className:"mr-2 h-4 w-4"}),e.jsx("span",{children:"Sign out"})]})})]})]}),e.jsx("button",{className:"text-white p-2 hover:bg-teal-800 rounded-full transition-colors",onClick:()=>i(!x),children:x?e.jsx(q,{size:24}):e.jsx(Q,{size:24})})]})]}),e.jsx(H,{children:x&&e.jsx(V.div,{initial:{opacity:0,height:0}
1,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},className:"md:hidden overflow-hidden",children:e.jsxs("div",{className:"mt-4 pb-4 flex flex-col gap-4",children:[e.jsx("button",{onClick:()=>I("home"),className:"text-left text-white hover:text-teal-600 font-semibold transition-colors py-2 font-display",children:"Home"}),e.jsx(s,{to:"/company",onClick:()=>i(!1),className:"text-white hover:text-teal-600 font-semibold transition-colors py-2 font-display",children:"Company"}),e.jsx(s,{to:"/services",onClick:()=>i(!1),className:"text-white hover:text-teal-600 font-semibold transition-colors py-2 font-display",children:"Services"}),e.jsx(s,{to:"/virtual-assistance",onClick:()=>i(!1),className:"text-white hover:text-teal-600 font-semibold transition-colors py-2 font-display",children:"Virtual Assistance"}),e.jsxs("div",{className:"py-2",children:[e.jsx(s,{to:"/tools",onClick:()=>i(!1),className:"block text-xs font-semibold text-mint-50/70 uppercase tracking-wider mb-3 font-display",children:"Our Tools"}),e.jsx("div",{className:"pl-4 border-l-2 border-teal-800 space-y-4",children:U.map(t=>e.jsx(s,{to:`/tools/${t.slug}`,onClick:()=>i(!1),className:"block text-mint-50/70 hover:text-white transition-colors font-display text-sm font-medium",children:t.name},t.id))})]}),e.jsx(s,{to:"/contact",onClick:()=>i(!1),className:"text-white hover:text-teal-600 font-semibold transition-colors py-2 font-display",children:"Contact"}),d&&e.jsxs(s,{to:"/admin",onClick:()=>i(!1),className:"text-mint-50/70 hover:text-teal-600 font-semibold transition-colors py-2 font-display flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),"Admin Dashboard"]}),!k&&e.jsx("div",{className:"pt-4 border-t border-teal-800 space-y-4",children:o?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-sm text-mint-50/70 px-4 font-display font-medium",children:[e.jsx(Z,{className:"w-4 h-4 inline mr-2 text-teal-600"}),o.email]}),e.jsxs(h,{onClick:()=>{v(),i(!1)},variant:"outline",className:"w-full font-display border-teal-800 text-white bg-transparent hover:bg-teal-800",children:[e.jsx(j,{className:"w-4 h-4 mr-2"}),"Sign Out"]})]}):e.jsx(h,{onClick:()=>{g("/auth"),i(!1)},className:"w-full rounded px-6 py-5 bg-yellow-accent text-teal-900 hover:bg-yellow-accent/90 hover:shadow-lg font-semibold font-display shadow-sm transition-all duration-300",children:"Login or Register"})})]})})})]})})};export{ne as N,U as t};
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.