PageSourceSearch

https://electricianu.com/assets/EuMemberships-LlhhhUvg.js

js electricianu.com collected 2026-10-07 21:09:04 UTC 8,205 bytes, 1 lines download raw bytes

1import{u as w,q as k,v as C,s as E,j as e,E as F,H as P,w as S,x as Y,y as q,Y as a,N as y,R as M,z as _}from"./index-BOL8O2AA.js";import{u as L,r as p,L as u}from"./vendor-react-BrpnTgIw.js";import"./vendor-supabase-DkS1Rjbo.js";const T=[["📹","Video Library","Hundreds of real-world electrical videos - rough-in to finish, code to calculations."],["📚","Full Course Library","Structured courses on the NEC, load calculations, theory, and more. Full Power unlocks everything."],["✅","Practice Exams","Realistic tests covering journeyman and master exam topics. Track your score progress over time."],["📜","Completion Transcript","A verifiable record of every course you finish - useful for employers and licensing boards."],["🏆","Points & Badges","Earn points as you watch and complete lessons. Unlock badges that show your dedication."],["📱","Learn Anywhere","Mobile-optimized. Watch on your phone between jobs, tablet at night, or laptop at home."]],h=n=>`$${(n/100).toFixed(n%100?2:0)}`;function A(){const n=L(),{companyId:d}=w(),{add:g,has:b}=k(),{isFreeMember:o,hasMembership:i}=C(),[r,m]=p.useState(!1),[s,N]=p.useState(null);p.useEffect(()=>{d&&E.from("product").select("id,slug,title,price_cents,yearly_price_cents,ce_hours,is_ce").eq("company_id",d).eq("kind","membership").eq("is_active",!0).eq("slug","eu-membership").maybeSingle().then(({data:t})=>N(t))},[d]);const c=(s==null?void 0:s.price_cents)??2500,l=(s==null?void 0:s.yearly_price_cents)??c*10,x=Math.round((1-l/(c*12))*100);function v(){s&&(g({id:s.id,slug:s.slug,title:s.title,priceCents:r?l:c,ceHours:s.ce_hours,isCe:s.is_ce,billing:"subscription",interval:r?"year":"month"}),n("/cart-checkout"))}return e.jsxs("div",{className:"eup-mem",children:[e.jsxs(F,{images:[P,S,Y],eyebrow:"⚡ Master Your Craft",sub:"Start free with limited access to the whole EU Universe. Upgrade to Full Power anytime. Cancel anytime.",children:["Learn ",e.jsx(q,{words:["Theory","Code","Wiring","Installation","Diagnostics","Safety","Materials","Tools","Leadership","Business"]}),e.jsx("br",{}),"From Anywhere, Anytime."]}),e.jsx("section",{className:"emp-section",id:"plans",children:e.jsxs("div",{className:"eu-pwrap",children:[e.jsxs("div",{className:"emp-section-head",children:[e.jsx("p",{className:"emp-kick",children:"Membership Plans"}),e.jsx("h2",{className:"emp-section-title",children:"Simple, transparent pricing"}),e.jsx("p",{className:"emp-section-sub",children:"No contracts. Cancel anytime. Upgrade whenever you're ready."}),e.jsxs("div",{className:"emp-toggle-wrap",children:[e.jsx("span",{className:`emp-toggle-label${r?"":" active"}`,onClick:()=>m(!1),children:"Monthly"}),e.jsxs("button",{type:"button",className:`emp-toggle${r?" on":""}`,"aria-label":"Pay yearly","aria-pressed":r,onClick:()=>m(t=>!t),children:[e.jsx("span",{className:"emp-toggle-track"}),e.jsx("span",{className:"emp-toggle-knob"})]}),e.jsxs("span",{className:`emp-toggle-label${r?" active":""}`,onClick:()=>m(!0),children:["Yearly ",x>0&&e.jsxs("span",{className:"emp-save-badge",children:["Save ",x,"%"]})]})]})]}),e.jsxs("div",{className:"emp-plans",style:{"--cols":2},children:[e.jsxs("div",{className:`emp-card${o?" current":""}`,children:[e.jsx("span",{className:"emp-card-badge tier",children:"Free Forever"}),e.jsx("div",{className:"emp-card-name",children:"Plugged In"}),e.jsx("div",{className:"emp-card-desc",children:"Getting a taste and joining the community."}),e.jsx("div",{className:"emp-price",children:e.jsx("span",{className:"emp-price-amount free-amt",children:"Free"})}),e.jsx("hr",{className:"emp-divider"}),e.jsxs("ul",{className:"emp-features",children:[e.jsxs("li",{children:[e.jsx(a,{}),"Free articles"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Sample lessons"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Practice exams"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Ad free YouTube library"]}),e.jsxs("li",{className:"dim",children:[e.jsx(y,{}),"Full video library"]}),e.jsxs("li",{className:"dim",children:[e.jsx(y,{}),"Full course library"]})]}),e.jsxs("div",{className:"emp-cta",children:[e.jsx("button",{type:"button",className:"emp-btn-primary",disabled:o||i,onClick:()=>n("/signup"),children:o?"Your current plan ✓":i?"Included in your plan ✓":"Join Free"}),!o&&!i&&e.jsx(M,{style:{marginTop:12}})]})]}),e.jsxs("div",{className:`emp-card featured${i?" current":""}`,children:[e.jsx("span",{className:"emp-card-badge hot",children:"Most Popular"}),e.jsx("div",{className:"emp-card-name",children:"Full Power"}),e.jsx("div",{className:"emp-card-desc",children:"Serious learners and pros chasing certification."}),e.jsxs("div",{className:"emp-price",children:[e.jsxs("div",{children:[e.jsx("span",{className:"emp-price-amount",children:h(r?Math.round(l/12):c)}),e.jsx("span",{className:"emp-price-period",children:" / month"})]}),r&&e.jsxs("div",{className:"emp-price-note",children:["Billed ",h(l),"/year · save ",h(c*12-l)]})]}),e.jsx("hr",{className:"emp-divider"}),e.jsxs("ul",{className:"emp-features",children:[e.jsxs("li",{children:[e.jsx(a,{}),"Everything in Plugged In"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Full video library"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Full course library"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Multiple NEC Code Years"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Progress tracking, points & badges"]}),e.jsxs("li",{children:[e.jsx(a,{}),"Completion transcript"]})]}),e.jsx("div",{className:"emp-cta",children:e.jsx("button",{type:"button",className:"emp-btn-primary",disabled:i||!s,onClick:v,children:i?"Your current plan ✓":s?b(s.id)?"In your cart ✓":"Get Full Power":"Loading…"})})]})]})]})}),e.jsx("section",{className:"emp-section-alt",id:"features",children:e.jsxs("div",{className:"eu-pwrap",children:[e.jsxs("div",{className:"emp-section-head",children:[e.jsx("p",{className:"emp-kick",children:"What You Get"}),e.jsx("h2",{className:"emp-section-title",children:"Built for working electricians"}),e.jsx("p",{className:"emp-section-sub",children:"Every feature designed around how y
1ou actually learn on the job."})]}),e.jsx("div",{className:"emp-feats",children:T.map(([t,j,f])=>e.jsxs("div",{className:"emp-feat",children:[e.jsx("div",{className:"emp-feat-icon",children:t}),e.jsx("h3",{children:j}),e.jsx("p",{children:f})]},j))})]})}),e.jsx("section",{className:"emp-section",id:"faq",children:e.jsxs("div",{className:"eu-pwrap",children:[e.jsxs("div",{className:"emp-section-head",children:[e.jsx("p",{className:"emp-kick",children:"Questions"}),e.jsx("h2",{className:"emp-section-title",children:"Frequently asked"})]}),e.jsx(_,{items:[{q:"Can I cancel anytime?",a:"Yes - cancel from your account dashboard at any time. You keep access until the end of your current billing period. No questions asked."},{q:"What do I get with Full Power?",a:"Full Power unlocks the full video library, every structured course, practice exams, multiple NEC code years, progress tracking, points and badges, and a completion transcript."},{q:"Do you offer CE (continuing education) courses?",a:e.jsxs(e.Fragment,{children:["Yes. State-approved CE courses are sold separately - not part of the monthly membership. Visit our ",e.jsx(u,{to:"/continuing-education",children:"CE page"})," for state-specific options."]})},{q:"Can I switch between monthly and yearly?",a:"Yes. Change your plan anytime from your Manage Membership page."},{q:"Is there a team or business option?",a:e.jsxs(e.Fragment,{children:["Yes - our business plan is what you’re looking for. Buy seats, assign training to your techs, and track completion from an admin dashboard. ",e.jsx(u,{to:"/business",children:"Learn more →"})]})},{q:"What payment methods do you accept?",a:"We accept all major credit and debit cards. Your card is charged at signup (except for the free level) and automatically charged each billing period until you cancel."}]})]})}),e.jsxs("div",{className:"emp-crew",children:[e.jsx("h2",{children:"Training a crew?"}),e.jsx("p",{children:"The Business system gives you seat-based memberships, admin controls, assignment tracking, and completion reporting - all in one dashboard."}),e.jsx(u,{to:"/business",className:"emp-btn-crew",children:"See Business Plans →"})]})]})}export{A 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.