1import{c as o,W as Q,d as Y,a0 as f,r as l,Z as W,j as e,P as y,B as r,q as L,n as w,a1 as E,J as I,w as X,U as _,e as i,h as n,a2 as V,f as m,k as h,M as ee,E as c,l as ae,L as H,A as D,t as j,a3 as P,V as z}from"./index-CgaGlvxl.js";import{m as t}from"./proxy-BEPt5ye3.js";import{L as se}from"./log-out-CxjtFcMZ.js";import{H as R}from"./heart-DvRje90U.js";import{G as v}from"./graduation-cap-ZDYoaMre.js";import{S as te}from"./star-D9gZfgk_.js";import{C as re}from"./crown-ApxRmTba.js";import{T as O}from"./truck-BbNs1jwZ.js";import{B as ie}from"./building-2-BxRNl1gI.js";/** 2 * @license lucide-react v0.453.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 ne=o("BookMarked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);/** 7 * @license lucide-react v0.453.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 oe=o("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 12 * @license lucide-react v0.453.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 $=o("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** 17 * @license lucide-react v0.453.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const le=o("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/** 22 * @license lucide-react v0.453.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const ce=o("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/** 27 * @license lucide-react v0.453.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const de=o("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/** 32 * @license lucide-react v0.453.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const me=o("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/** 37 * @license lucide-react v0.453.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */const he=o("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 42 * @license lucide-react v0.453.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */const xe=o("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}
46],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]),pe=[{icon:X,title:"Job Postings",description:"Exclusive access to trucking industry job opportunities"},{icon:oe,title:"Resources & Information",description:"Industry guides, best practices, and educational materials"},{icon:de,title:"Networking",description:"Connect with women across the transportation industry"},{icon:$,title:"Member Only Discounts",description:"Special offers and discounts from our partners"},{icon:_,title:"Mentoring",description:"Guidance from experienced industry professionals"},{icon:R,title:"Empowerment",description:"Support and encouragement in your trucking career"},{icon:v,title:"Access to Training",description:"Professional development and certification programs"},{icon:te,title:"And Much More",description:"Ongoing benefits as our community grows"}],ue=[{name:"Perkopolis",icon:$,description:"Canada's leading provider of fully managed perk programs. Exclusive access to movies, theater, sports, attractions, travel, hotels and much more!",discount:"Exclusive member offers",details:["15% off WestJet flights","Hotel discounts","Car rental discounts","Movies, theater, online shopping"],note:"Each member receives their own unique membership ID. Be sure to register to see all discounts!",website:"https://www.perkopolis.com/",featured:!0},{name:"Blue Tiger Headsets",icon:le,description:"15% off Advantage Series Headsets! Advanced noise cancellation, top Bluetooth performance, longer battery life, extended range, and smart assistant compatibility.",discount:"15% off",code:"WTFC19",website:"https://bluetigerusa.com/discount/WTFC19",featured:!1},{name:"MTS Paralegal Services",icon:xe,description:"12+ years of experience in traffic tickets and small claims court. Expert advice, honest assessments, and highest level of care.",discount:"Free 30 min consultation",note:"Must provide proof of membership. Ontario only.",contact:{name:"Timothy Ellis",phone:"226-444-4882",email:"[email protected]"},website:"https://mtsparalegalservices.com/",featured:!1},{name:"P&F Workwear",icon:V,description:"Quality workwear and safety boots for the trucking industry.",discount:"15% off online purchases",code:"wtfc15",website:"https://pfworkwear.com/",featured:!1},{name:"Mark's Commercial",icon:V,description:"Quality workwear and safety equipment from Mark's Commercial.",discount:"Member discount voucher",note:"Download and print voucher from member portal to redeem at Mark's.",featured:!1}],ge=[{name:"Government of Canada",url:"https://www.canada.ca/en/index.html"},{name:"Federal Labour Board",url:"http://www.labour.gc.ca/eng/home.shtml"},{name:"Canadian Centre for Occupational Health and Safety",url:"http://www.ccohs.ca/oshanswers/information/wcb_canada.html"},{name:"Federal Workers Compensation Board",url:"http://www.labour.gc.ca/eng/health_safety/compensation/index.shtml"},{name:"Transport Canada",url:"http://www.tc.gc.ca/"},{name:"Canadian Council of Motor Transport Administrators",url:"http://www.ccmta.ca/"},{name:"Commercial Vehicle Safety Alliance",url:"http://www.cvsa.org/"},{name:"Natural Resources Canada",url:"https://www.nrcan.gc.ca/"},{name:"Canadian Labour Relations Board",url:"http://www.canadianlabourrelations.com/sexual-harassment-in-the-workplace.html"},{name:"Federal HOS Regulations",url:"http://laws-lois.justice.gc.ca/eng/regulations/SOR-2005-313/"},{name:"Canadian Food Inspection Agency",url:"http://inspection.gc.ca/"},{name:"Association of WCBs of Canada",url:"http://awcbc.org/"},{name:"Canada Small Business Financing Program",url:"https://www.ic.gc.ca/eic/site/csbfp-pfpec.nsf/eng/home"},{name:"Business Benefits Finder (English)",url:"https://innovation.ised-isde.canada.ca/s/?language=en_CA"},{name:"Business Benefits Finder (French)",url:"https://innovation.ised-isde.canada.ca/s/?language=fr"},{name:"COVID-19 Supports (English)",url:"https://www.canada.ca/en/department-finance/economic-response-plan.html#businesses"},{name:"COVID-19 Supports (French)",url:"https://www.canada.ca/fr/ministere-finances/plan-intervention-economique.html"}],we=[{name:"Federal Motor Carrier Safety Administration",url:"https://csa.fmcsa.dot.gov/"},{name:"US Customs and Border Protection",url:"https://www.cbp.gov/"},{name:"US Department of Transportation",url:"http://www.dot.gov/"},{name:"USDA: Generally Allowable Food Items",url:"http://www.aphis.usda.gov/"}],fe=[{name:"Trucking HR Canada",url:"http://www.truckinghr.com/"},{name:"Canadian Trucking Alliance",url:"http://cantruck.ca/"},{name:"Ontario Trucking Association",url:"http://ontruck.org/"},{name:"Alberta Motor Transportation Association",url:"http://www.amta.ca/"},{name:"Manitoba Trucking Association",url:"https://www.trucking.mb.ca/"},{name:"Saskatchewan Trucking Association",url:"http://www.sasktrucking.com/"},{name:"British Columbia Trucking Association",url:"http://www.bctrucking.com/"},{name:"Atlantic Provinces Trucking Association",url:"http://www.apta.ca/"},{name:"Quebec Trucking Association",url:"http://www.carrefour-acq.org/"},{name:"Nova Scotia Trucking Safety Association",url:"http://nstsa.ca/"},{name:"Truckers Association of Nova Scotia",url:"http://www.tans.ca/"},{name:"PEI Trucking Sector Council",url:"http://www.peitsc.ca/"},{name:"Nova Scotia Commercial Vehicle Safety",url:"http://novascotia.ca/tran/trucking/"},{name:"Private Motor Truck Council of Canada",url:"http://www.pmtc.ca/"},{name:"Fleet Safety Council",url:"https://fleetsafetycouncil.com/"},{name:"Commercial Vehicle Safety Alliance",url:"http://www.cvsa.org/"},{name:"Trucking Human Resources Sector Council",url:"http://thrsc.com/"}
46,{name:"Transportation Maintenance and Technology Association",url:"http://tmta.ca/"},{name:"National Transportation Safety Board",url:"http://www.ntsb.gov/"},{name:"Truck Training Schools Association of Ontario",url:"http://ttsao.com/"},{name:"Professional Truck Driver Institute",url:"http://www.ptdi.org/"}],ye=[{name:"Advancing Women In Trucking",url:"https://thrsc.com/project/advancing-women-in-the-trucking-industry/"},{name:"Women's Empowerment Principles",url:"https://weps-gapanalysis.org/"}],je=[{name:"Crossroads Training (Ottawa)",url:"http://trainingatcrossroads.com/"},{name:"KRTS Kim Richardson Transportation Specialists",url:"https://www.krway.com/"},{name:"Ontario Truck Driving School",url:"http://otds.com/"}],ve=[{name:"Western Canada Highway News",url:"http://www.highwaynews.ca/"},{name:"Today's Trucking",url:"http://www.todaystrucking.com/"},{name:"The Lead Pedal Podcast",url:"http://www.theleadpedalpodcast.com/"},{name:"Canada's Trucking Forum",url:"https://www.facebook.com/canadastrucking"}],be=[{name:"WTFC Zoom Background - Corner Logo",description:"Use this branded background for your video calls",url:"/objstore/public/member-downloads/zoom_corner_logo.jpg.b64"},{name:"WTFC Zoom Background - Full Logo",description:"Full logo version for professional meetings",url:"/objstore/public/member-downloads/zoom_full_logo.jpg.b64"},{name:"Mark's Commercial Voucher",description:"Download and print to redeem at Mark's stores",url:"/objstore/public/member-downloads/marks_voucher.pdf.b64"},{name:"WTFC Member Brochure",description:"Share the WTFC mission with others",url:"/objstore/public/member-downloads/member_brochure.jpg.b64"},{name:"Blue Cross Benefits One-Pager",description:"Health benefits information for truckers",url:"/objstore/public/member-downloads/blue_cross_onepager.jpg.b64"}],Ne=[{title:"Individual Membership",subtitle:"For those directly involved in the Trucking Industry",price:"$50.00",period:"/ year (+HST)",icon:_,color:"bg-primary/10 text-primary",featured:!0},{title:"Supportive Membership",subtitle:"For those not directly involved in the Trucking Industry",price:"$65.00",period:"/ year (+HST)",icon:R,color:"bg-accent/10 text-accent-foreground",featured:!1}];function Le(){const[,x]=Q(),{data:p,isLoading:G,isError:b}=Y({queryKey:["/api/member/user"],enabled:!!f(),retry:!1});l.useEffect(()=>{f()||x("/member/login")},[x]),l.useEffect(()=>{b&&(W(),x("/member/login"))},[b,x]);const[N,k]=l.useState(!1),[C,T]=l.useState(null),[M,S]=l.useState(!1),[A,F]=l.useState(null),[B,q]=l.useState({appleWallet:!1,googleWallet:!1});l.useEffect(()=>{fetch("/api/member/wallet-status").then(a=>a.json()).then(a=>q(a)).catch(()=>{})},[]);const U=()=>{W(),x("/")},Z=async()=>{S(!0),F(null);try{const a=f(),s=await fetch("/api/member/google-wallet-url",{headers:{Authorization:`Bearer ${a}`}});if(!s.ok){const d=await s.json().catch(()=>({}));throw new Error(d.message??"Failed to generate Google Wallet pass.")}const{url:u}=await s.json();window.open(u,"_blank")}catch(a){F(a.message??"Something went wrong.")}finally{S(!1)}},J=async()=>{k(!0),T(null);try{const a=f(),s=await fetch("/api/member/wallet-pass",{headers:{Authorization:`Bearer ${a}`}});if(!s.ok){const K=await s.json().catch(()=>({}));throw new Error(K.message??"Failed to download pass.")}const u=await s.blob(),d=URL.createObjectURL(u),g=document.createElement("a");g.href=d,g.download="WTFC_Membership.pkpass",document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(d)}catch(a){T(a.message??"Something went wrong.")}finally{k(!1)}};return G?e.jsx(y,{children:e.jsx("div",{className:"min-h-screen flex items-center justify-center",children:e.jsx("div",{className:"animate-pulse text-muted-foreground",children:"Loading..."})})}):p?e.jsx(y,{children:e.jsxs("div",{className:"min-h-screen",children:[e.jsxs("section",{className:"relative bg-gradient-to-br from-primary/10 via-background to-accent/10 py-16 lg:py-24 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20fill%3D%22%23a02d8c%22%20fill-opacity%3D%220.03%22%3E%3Cpath%20d%3D%22M36%2034v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6%2034v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6%204V0H4v4H0v2h4v4h2V6h4V4H6z%22%2F%3
46E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E')] opacity-50"}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative",children:e.jsxs("div",{className:"flex flex-col lg:flex-row justify-between items-start lg:items-center gap-6 mb-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[e.jsxs(r,{className:"mb-4",variant:"secondary",children:[e.jsx(L,{className:"h-3 w-3 mr-1"}),"Member Portal"]}),e.jsxs("h1",{className:"text-4xl lg:text-5xl font-bold mb-4",children:["Welcome",p!=null&&p.firstName?`, ${p.firstName}`:"","!"]}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl",children:"Your exclusive access to WTFC member benefits and resources"})]}),e.jsxs(t.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2},className:"flex flex-col items-end gap-3",children:[B.appleWallet&&e.jsxs(e.Fragment,{children:[e.jsxs(w,{onClick:J,disabled:N,className:"bg-black hover:bg-gray-900 text-white flex items-center gap-2 px-5 py-2 rounded-xl shadow-md",children:[N?e.jsx(E,{className:"h-4 w-4 animate-spin"}):e.jsx("svg",{viewBox:"0 0 24 24",className:"h-5 w-5 fill-current","aria-hidden":"true",children:e.jsx("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),"Add to Apple Wallet"]}),C&&e.jsx("p",{className:"text-sm text-red-500 max-w-xs text-right",children:C})]}),B.googleWallet&&e.jsxs(e.Fragment,{children:[e.jsxs(w,{onClick:Z,disabled:M,className:"bg-white hover:bg-gray-100 text-gray-800 border border-gray-200 flex items-center gap-2 px-5 py-2 rounded-xl shadow-md",children:[M?e.jsx(E,{className:"h-4 w-4 animate-spin"}):e.jsxs("svg",{viewBox:"0 0 24 24",className:"h-5 w-5","aria-hidden":"true",children:[e.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),e.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),e.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z",fill:"#FBBC05"}),e.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),"Add to Google Wallet"]}),A&&e.jsx("p",{className:"text-sm text-red-500 max-w-xs text-right",children:A})]}),e.jsxs(w,{variant:"outline",onClick:U,"data-testid":"button-logout",children:[e.jsx(se,{className:"h-4 w-4 mr-2"}),"Sign Out"]})]})]})})]}),e.jsx("section",{className:"py-16 bg-card",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-4xl mx-auto",children:[e.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-6",children:"Welcome to the Members Section"}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-4",children:"This is not just an organization, this is a network. We are delighted that you have joined us and trust that the benefits of membership will meet your expectations."}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-4",children:"Our Purpose is to promote personal growth and responsibility to create a recognizable shift toward qualified professionals who are entering the industry."}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed italic",children:`"Women don't have to supp
46ort other women, but so many of us choose to because we know we're better together."`})]})})}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(I,{className:"h-3 w-3 mr-1"}),"Your Benefits"]}),e.jsx("h2",{className:"text-3xl font-bold",children:"Individual Membership Benefits"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:pe.map((a,s)=>e.jsx(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},children:e.jsx(i,{className:"h-full hover-elevate transition-all duration-300 group","data-testid":`benefit-card-${s}`,children:e.jsxs(n,{className:"pt-6",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4 group-hover:bg-primary/20 transition-colors",children:e.jsx(a.icon,{className:"h-6 w-6 text-primary"})}),e.jsx("h3",{className:"font-semibold text-lg mb-2",children:a.title}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a.description})]})})},a.title))})]})}),e.jsx("section",{className:"py-16 bg-gradient-to-br from-primary/5 to-accent/5",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(me,{className:"h-3 w-3 mr-1"}),"Exclusive Offers"]}),e.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Member Discounts & Partner Offers"}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Take advantage of these exclusive discounts and offers available only to WTFC members"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:ue.map((a,s)=>e.jsx(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.05},children:e.jsxs(i,{className:`h-full ${a.featured?"ring-2 ring-primary":""}`,"data-testid":`partner-card-${s}`,children:[a.featured&&e.jsx("div",{className:"bg-primary text-primary-foreground text-center py-1 text-sm font-medium",children:"Featured Partner"}),e.jsx(m,{className:"pb-3",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:e.jsx(a.icon,{className:"h-6 w-6 text-primary"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(h,{className:"text-lg",children:a.name}),e.jsx(r,{variant:"secondary",className:"mt-1",children:a.discount})]})]})}),e.jsxs(n,{className:"space-y-3",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:a.description}),a.details&&e.jsx("ul",{className:"text-sm space-y-1",children:a.details.map((u,d)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-3 w-3 text-primary flex-shrink-0"}),e.jsx("span",{children:u})]},d))}),a.code&&e.jsxs("div",{className:"bg-muted p-3 rounded-md",children:[e.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Discount Code:"}),e.jsx("code",{className:"text-lg font-bold text-primary",children:a.code})]}),a.contact&&e.jsxs("div",{className:"space-y-1 text-sm",children:[a.contact.name&&e.jsx("p",{className:"font-medium",children:a.contact.name}),a.contact.phone&&e.jsxs("p",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(he,{className:"h-3 w-3"}),a.contact.phone]}),a.contact.email&&e.jsxs("p",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(ee,{className:"h-3 w-3"}),e.jsx("a",{href:`mailto:${a.contact.email}`,className:"hover:text-primary transition-colors",children:a.contact.email})]})]}),a.note&&e.jsx("p",{className:"text-xs text-muted-foreground italic",children:a.note}),a.requirements&&e.jsxs("p",{className:"text-xs text-muted-foreground",children:[e.jsx("strong",{children:"Requirements:"})," ",a.requirements]}),a.website&&e.jsxs("a",{href:a.website,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline",children:["Visit Website ",e.jsx(c,{className:"h-3 w-3"})]})]})]})},a.name))})]})}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(re,{className:"h-3 w-3 mr-1"}),"Membership Options"]}),e.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Membership Types"}),e.jsx("p",{className:"text-muted-foreground",children:"Choose the membership that best fits your involvement in the industry"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:Ne.map((a,s)=>e.jsx(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},children:e.jsxs(i,{className:`h-full relative overflow-hidden ${a.featured?"ring-2 ring-primary":""}`,"data-testid":`tier-card-${s}`,children:[a.featured&&e.jsx("div",{className:"absolute top-0 right-0",children:e.jsx(r,{className:"rounded-none rounded-bl-lg",children:"Most Popular"})}),e.jsxs(m,{className:"text-center pb-2",children:[e.jsx("div",{className:`w-16 h-16 rounded-full ${a.color} flex items-center justify-center mx-auto mb-4`,children:e.jsx(a.icon,{className:"h-8 w-8"})}),e.jsx(h,{className:"text-xl",children:a.title}),e.jsx(ae,{children:a.subtitle})]}),e.jsxs(n,{className:"text-center",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx("span",{className:"text-4xl font-bold",children:a.price}),e.jsx("span",{className:"text-muted-foreground",children:a.period})]}),e.jsx(H,{href:"/join",children:e.jsxs(w,{className:"w-full",variant:a.featured?"default":"outline","data-testid":`button-join-${s}`,children:["Join Now",e.jsx(D,{className:"h-4 w-4 ml-2"})]})})]})]})},a.title))})]})}),e.jsx("section",{className:"py-16 bg-card",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(j,{className:"h-3 w-3 mr-1"}),"Resources"]}),e.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Tool Kits"}),e.jsx("p",{className:"text-sm text-muted-foreground max-w-2xl mx-auto italic",children:"Disclaimer: The information provided in these tool kits is general information only and does not constitute legal advice. As a matter of course employers/employees should seek legal advice on employment issues."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-w-2xl mx-auto",children:ye.map((a,s)=>e.jsxs(t.a,{href:a.url,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.05},className:"flex items-center gap-3 p-4 rounded-lg border hover-elevate transition-all","data-testid":`toolkit-link-${s}`,children:[e.jsx(ne,{className:"h-5 w-5 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-sm font-medium",children:a.name}),e.jsx(c,{className:"h-4 w-4 text-muted-foreground ml-auto"})]},a.name))})]})}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(j,{className:"h-3 w-3 mr-1"}),"Member Downloads"]}),e.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Exclusive Member Assets"}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Download branded materials, Zoom backgrounds, and member resources"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 max-w-5xl mx-auto",children:be.map((a,s)=>e.jsx(t.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.05},children:e.jsx(i,{className:"h-full hover-elevate","data-testid":`download-card-${s}`,children:e.jsxs(n,{className:"pt-6",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mb-3",children:e.jsx(j,{className:"h-5 w-5 text-primary"})}),e.jsx("h4",{className:"font-medium mb-1",children:a.name}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:a.description}),e.jsxs("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline font-medium",children:["Download ",e.jsx(c,{className:"h-3 w-3"})]})]})})},a.name))})]})}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(ce,{className:"h-3 w-3 mr-1"}),"Government Resources"]}),e.jsx("h2",{className:"text-3xl font-bold",children:"Government Links"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[e.jsxs(i,{children:[e.jsx(m,{children:e.jsxs(h,{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-2xl",children:"ð¨ð¦"})," Canada"]}
46)}),e.jsx(n,{children:e.jsx("div",{className:"grid grid-cols-1 gap-2",children:ge.map((a,s)=>e.jsxs("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 p-2 rounded hover-elevate text-sm","data-testid":`gov-ca-link-${s}`,children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"flex-1",children:a.name}),e.jsx(c,{className:"h-3 w-3 text-muted-foreground"})]},a.name))})})]}),e.jsxs(i,{children:[e.jsx(m,{children:e.jsxs(h,{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-2xl",children:"ðºð¸"})," USA"]})}),e.jsx(n,{children:e.jsx("div",{className:"grid grid-cols-1 gap-2",children:we.map((a,s)=>e.jsxs("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 p-2 rounded hover-elevate text-sm","data-testid":`gov-us-link-${s}`,children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"flex-1",children:a.name}),e.jsx(c,{className:"h-3 w-3 text-muted-foreground"})]},a.name))})})]})]})]})}),e.jsx("section",{className:"py-16 bg-card",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsxs(r,{variant:"outline",className:"mb-4",children:[e.jsx(O,{className:"h-3 w-3 mr-1"}),"Industry Resources"]}),e.jsx("h2",{className:"text-3xl font-bold",children:"Industry Links"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3",children:fe.map((a,s)=>e.jsxs(t.a,{href:a.url,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.03},className:"flex items-center gap-2 p-3 rounded-lg border hover-elevate text-sm","data-testid":`industry-link-${s}`,children:[e.jsx(O,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"flex-1",children:a.name}),e.jsx(c,{className:"h-3 w-3 text-muted-foreground"})]},a.name))})]})}),e.jsx("section",{className:"py-16",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[e.jsxs(i,{children:[e.jsx(m,{children:e.jsxs(h,{className:"flex items-center gap-2",children:[e.jsx(v,{className:"h-5 w-5 text-primary"}),"Associate Member Schools"]})}),e.jsx(n,{children:e.jsx("div",{className:"space-y-2",children:je.map((a,s)=>e.jsxs("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 p-3 rounded hover-elevate","data-testid":`school-link-${s}`,children:[e.jsx(v,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"flex-1 text-sm",children:a.name}),e.jsx(c,{className:"h-3 w-3 text-muted-foreground"})]},a.name))})})]}),e.jsxs(i,{children:[e.jsx(m,{children:e.jsxs(h,{className:"flex items-center gap-2",children:[e.jsx(z,{className:"h-5 w-5 text-primary"}),"Trucking Media"]})}),e.jsx(n,{children:e.jsx("div",{className:"space-y-2",children:ve.map((a,s)=>e.jsxs("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 p-3 rounded hover-elevate","data-testid":`media-link-${s}`,children:[e.jsx(z,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"flex-1 text-sm",children:a.name}),e.jsx(c,{className:"h-3 w-3 text-muted-foreground"})]},a.name))})})]})]})})}),e.jsx("section",{className:"py-16 bg-gradient-to-br from-primary/5 to-accent/5",children:e.jsx("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsx(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:e.jsx(i,{className:"bg-gradient-to-r from-primary/10 to-accent/10 border-primary/20",children:e.jsx(n,{className:"p-8 lg:p-12",children:e.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-8",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"w-20 h-20 rounded-full bg-primary/20 flex items-center justify-center",children:e.jsx(ie,{className:"h-10 w-10 text-primary"})})}),e.jsxs("div",{className:"flex-1 text-center lg:text-left",children:[e.jsx("h3",{className:"text-2xl font-bold mb-3",children:"Corporate Membership"}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"With our diverse board of trucking industry executives and drivers, together we've built a great organization that helps bridge understanding of issues between carriers and drivers. By being a corporate member, you can be part of delivering the mission and reach an engaged part of the trucking community, while supporting a brighter future."})]}),e.jsx("div",{className:"flex-shrink-0",children:e.jsx(H,{href:"/pricing",children:e.jsxs(w,{size:"lg","data-testid":"button-corporate-info",children:["Learn More",e.jsx(D,{className:"h-4 w-4 ml-2"})]})})})]})})})})})}),e.jsx("section",{className:"py-16 bg-primary text-primary-foreground",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[e.jsx(L,{className:"h-12 w-12 mx-auto mb-6 opacity-80"}),e.jsx("h2",{className:"text-3xl font-bold mb-4",children:"This Is Not Just an Organization"}),e.jsx("p",{className:"text-xl opacity-90 mb-6",children:"This is a network and we're so glad you've joined us."}),e.jsx("p",{className:"text-lg opacity-80",children:"If you are passionate about paving the way for future generations entering our industry, you're in the right place. Thank y
46ou for joining!"})]})})})]})}):e.jsx(y,{children:e.jsx("div",{className:"min-h-screen flex items-center justify-center",children:e.jsx("div",{className:"text-muted-foreground",children:"Redirecting to login..."})})})}export{Le 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.