PageSourceSearch

https://tripleonejobs.com/_next/static/chunks/app/pricing/page-60f8aa42ed9a8e16.js

js tripleonejobs.com collected 2026-10-10 02:35:37 UTC 33,502 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6907],{20120:(e,t,a)=>{"use strict";a.d(t,{$v:()=>g,EO:()=>m,Lt:()=>o,Rx:()=>y,Zr:()=>f,ck:()=>h,r7:()=>x,tv:()=>c,wd:()=>p});var r=a(95155),s=a(12115),i=a(35646),n=a(25016),l=a(97003);let o=i.bL,c=i.l9,d=i.ZL,u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});u.displayName=i.hJ.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(i.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...s})]})});m.displayName=i.UC.displayName;let p=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};p.displayName="AlertDialogHeader";let h=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};h.displayName="AlertDialogFooter";let x=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...s})});x.displayName=i.hE.displayName;let g=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...s})});g.displayName=i.VY.displayName;let y=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.rc,{ref:t,className:(0,n.cn)((0,l.r)(),a),...s})});y.displayName=i.rc.displayName;let f=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.ZD,{ref:t,className:(0,n.cn)((0,l.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...s})});f.displayName=i.ZD.displayName},25016:(e,t,a)=>{"use strict";a.d(t,{cn:()=>i});var r=a(2821),s=a(75889);function i(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,s.QP)((0,r.$)(t))}},39309:(e,t,a)=>{"use strict";a.d(t,{A:()=>n,d:()=>i});var r=a(50391);class s{async getPlans(e){return(await r.A.get("/api/subscriptions/plans",{params:e?{type:e}:{}})).data.data}async getPlan(e){return(await r.A.get("/api/subscriptions/plans/".concat(e))).data.data}async createStripePayment(e){try{return(await r.A.post("/api/subscriptions/create-payment",{planId:e})).data.data}catch(r){var t,a;let e=Error((null==(a=r.response)||null==(t=a.data)?void 0:t.message)||r.message||"Failed to create payment intent");throw e.response=r.response,e}}async confirmStripePayment(e,t){return(await r.A.post("/api/subscriptions/confirm-payment",{paymentIntentId:e,planId:t})).data.data.subscription}async createFreeSubscription(e){try{return(await r.A.post("/api/subscriptions/create-free",{planId:e})).data.data.subscription}catch(r){var t,a;let e=Error((null==(a=r.response)||null==(t=a.data)?void 0:t.message)||r.message||"Failed to create free subscription");throw e.response=r.response,e}}async getUserSubscriptions(e){return(await r.A.get("/api/subscriptions/my-subscriptions",{params:e?{type:e}:{}})).data.data}async getSubscriptionStatus(e){return(await r.A.get("/api/subscriptions/status",{params:e?{type:e}:{}})).data.data}async getSubscription(e){return(await r.A.get("/api/subscriptions/".concat(e))).data.data}async cancelSubscription(e,t,a){return(await r.A.post("/api/subscriptions/".concat(e,"/cancel"),{reason:t,feedback:a})).data.data}async canMarkJobAsFeatured(){try{var e,t;
1let a=await this.getSubscriptionStatus("EMPLOYER_FEATURED");return!!((null==(e=a.employerBenefits)?void 0:e.isFeatured)&&(null==(t=a.employerBenefits)?void 0:t.featuredJobsLimit)>0)}catch(e){return console.error("Error checking featured job eligibility:",e),!1}}async canSubmitResumeRequest(){try{var e;let t=await this.getSubscriptionStatus("JOBSEEKER_RESUME");if(!t.jobSeekerBenefits)return{canSubmit:!1,remainingRequests:0};if(null==(e=t.usageStats)?void 0:e.unlimited)return{canSubmit:!0,remainingRequests:-1};let a=t.usageStats?t.usageStats.limit-t.usageStats.used:0;return{canSubmit:a>0,remainingRequests:a}}catch(e){return console.error("Error checking resume request eligibility:",e),{canSubmit:!1,remainingRequests:0}}}async getAllSubscriptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(await r.A.get("/api/subscriptions/admin/subscriptions",{params:e})).data.data}async getSubscriptionStats(){return(await r.A.get("/api/subscriptions/admin/subscriptions/stats")).data.data}async processExpiredSubscriptions(){return(await r.A.post("/api/subscriptions/admin/subscriptions/process-expired")).data.data}}let i=new s,n=i},50391:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(95125);let s="https://tripleonejobs.com",i=r.A.create({baseURL:s,headers:{"Content-Type":"application/json","ngrok-skip-browser-warning":"true"}}),n=!1,l=[],o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;l.forEach(a=>{let{resolve:r,reject:s}=a;e?s(e):r(t)}),l=[]};i.interceptors.request.use(e=>{let t=localStorage.getItem("accessToken");return t&&(e.headers.Authorization="Bearer ".concat(t)),e},e=>Promise.reject(e)),i.interceptors.response.use(e=>e,async e=>{var t;let a=e.config;if((null==(t=e.response)?void 0:t.status)===401&&!a._retry){if(n)return new Promise((e,t)=>{l.push({resolve:e,reject:t})}).then(e=>(a.headers.Authorization="Bearer ".concat(e),i(a))).catch(e=>Promise.reject(e));a._retry=!0,n=!0;let t=localStorage.getItem("refreshToken");if(!t)return localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),localStorage.removeItem("user"),window.location.href="/auth/login",Promise.reject(e);try{let e=await r.A.post("".concat(s,"/api/sessions/refresh"),{refreshToken:t});if(e.data.data.accessToken)return localStorage.setItem("accessToken",e.data.data.accessToken),localStorage.setItem("user",JSON.stringify(e.data.data.user)),o(null,e.data.data.accessToken),a.headers.Authorization="Bearer ".concat(e.data.data.accessToken),i(a)}catch(e){return localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),localStorage.removeItem("user"),o(e,null),window.location.href="/auth/login",Promise.reject(e)}finally{n=!1}}return Promise.reject(e)});let c=i},58764:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>L});var r=a(95155),s=a(12115),i=a(951),n=a(83209),l=a(67812),o=a(97003),c=a(90923),d=a(19408),u=a(68854),m=a(89715),p=a(26983),h=a(91169),x=a(52472),g=a(35626),y=a(65993),f=a(35299),b=a(6132),v=a(39347),j=a(5917),w=a(20063),N=a(39309),P=a(28171),k=a(32559),A=a(50391);class S{static getInstance(){return S.instance||(S.instance=new S),S.instance}checkExistingPayPal(){if("undefined"!=typeof document&&(window.paypal&&"function"==typeof window.paypal.Buttons&&(this.paypalAvailable=!0),document.querySelector('script[src*="paypal.com/sdk/js"]'))){let e=0,t=setInterval(()=>{e++,window.paypal&&"function"==typeof window.paypal.Buttons?(this.paypalAvailable=!0,this.notifyAvailability(!0),clearInterval(t)):e>=20&&clearInterval(t)},100)}}isAvailable(){let e=window.paypal||window.paypal_sdk,t=e&&"function"==typeof e.Buttons;return t&&e&&(this.paypalInstance=e),t&&!this.paypalAvailable?(this.paypalAvailable=!0,this.notifyAvailability(!0)):!t&&this.paypalAvailable&&(this.paypalAvailable=!1,this.paypalInstance=null,this.notifyAvailability(!1)),t}getPayPalInstance(){return this.paypalInstance?this.paypalInstance:window.paypal||window.paypal_sdk}onAvailabilityChange(e){return this.availabilityCallbacks.add(e),e(this.isAvailable()),()=>{this.availabilityCallbacks.delete(e)}}notifyAvailability(e){this.availabilityCallbacks.forEach(t=>{try{t(e)}catch(e){}})}async waitForPayPal(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6e4;return this.isAvailable()||this.scriptLoading&&this.loadPromise&&(await this.loadPromise,this.isAvailable())?Promise.resolve():(this.scriptLoaded||this.scriptLoading||await this.loadSDK(),new Promise(t=>{let a=0,r=e/100,s=null,i=()=>
1{if(this.isAvailable()){s&&clearTimeout(s),t();return}if(++a>=r){this.startSlowChecking(),t();return}s=setTimeout(i,100)};i()}))}startSlowChecking(){this.slowCheckInterval||(this.slowCheckInterval=setInterval(()=>{let e=this.paypalAvailable;this.isAvailable()&&!e&&this.stopChecking()},2e3))}stopChecking(){this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=null),this.slowCheckInterval&&(clearInterval(this.slowCheckInterval),this.slowCheckInterval=null)}async loadSDK(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"USD";return"undefined"==typeof document?Promise.reject(Error("PayPal SDK can only be loaded in browser environment")):this.isAvailable()?Promise.resolve():(this.scriptLoading&&this.loadPromise||(document.querySelector('script[src*="paypal.com/sdk/js"]')?(this.scriptLoaded=!0,this.scriptLoading=!0,this.loadPromise=this.waitForPayPalFromExistingScript()):(this.scriptLoading=!0,this.loadPromise=this.loadPayPalScript(e))),this.loadPromise)}async waitForPayPalFromExistingScript(){if(await new Promise(e=>setTimeout(e,1e3)),this.isAvailable()){this.scriptLoading=!1;return}return new Promise(e=>{let t=0,a=null,r=()=>{if(t++,this.isAvailable()){this.scriptLoading=!1,a&&clearTimeout(a),e();return}if(t>=150){this.scriptLoading=!1,this.startSlowChecking(),a&&clearTimeout(a),e();return}a=setTimeout(r,100)};r()})}async loadPayPalScript(e){if("undefined"==typeof document)throw Error("PayPal SDK can only be loaded in browser environment");try{let a=(await A.A.get("/api/paypal/client-id")).data;if(!a.success||!a.clientId)throw Error(a.message||"PayPal Client ID not found");this.clientId=a.clientId;let r=document.querySelector('script[src*="paypal.com/sdk/js"]');if(r){var t;if(decodeURIComponent((null==(t=r.src.match(/client-id=([^&]+)/))?void 0:t[1])||"")===this.clientId){this.scriptLoaded=!0,await this.waitForPayPalFromExistingScript();return}r.remove()}let s=document.createElement("script");s.src="https://www.paypal.com/sdk/js?client-id=".concat(encodeURIComponent(this.clientId),"&currency=").concat(e,"&intent=capture&components=buttons"),s.async=!0,s.setAttribute("data-namespace","paypal_sdk"),s.id="paypal-sdk-script";let i=[],n=e=>{e.filename&&e.filename.includes("paypal.com")&&i.push(e.message||"Unknown PayPal error")},l=e=>{var t,a;let r=(null==(t=e.reason)?void 0:t.message)||(null==(a=e.reason)?void 0:a.toString())||"";(r.toLowerCase().includes("paypal")||r.includes("paypal_js_sdk"))&&i.push(r)};return window.addEventListener("error",n,!0),window.addEventListener("unhandledrejection",l),new Promise((e,t)=>{s.onload=async()=>{this.scriptLoaded=!0,await new Promise(e=>setTimeout(e,1e3)),window.removeEventListener("error",n,!0),window.removeEventListener("unhandledrejection",l),await this.waitForPayPalFromExistingScript(),this.isAvailable()||this.startSlowChecking(),e()},s.onerror=e=>{this.scriptLoading=!1,this.scriptLoaded=!1,window.removeEventListener("error",n,!0),window.removeEventListener("unhandledrejection",l),t(Error("Failed to load PayPal SDK script. Check network tab and PayPal Client ID configuration."))},document.head.appendChild(s)})}catch(e){throw this.scriptLoading=!1,this.scriptLoaded=!1,e}}cleanup(){this.stopChecking(),this.availabilityCallbacks.clear()}constructor(){this.scriptLoaded=!1,this.scriptLoading=!1,this.paypalAvailable=!1,this.availabilityCallbacks=new Set,this.loadPromise=null,this.checkInterval=null,this.slowCheckInterval=null,this.clientId=null,this.paypalInstance=null,this.checkExistingPayPal()}}S.instance=null;let E=null;function C(){return"undefined"==typeof document?null:(E||(E=S.getInstance()),E)}function R(e){let{plan:t,onSuccess:a,onError:i,onCancel:n}=e,[l,c]=(0,s.useState)(!1),[d,u]=(0,s.useState)(null),[m,p]=(0,s.useState)(!1),h=(0,s.useRef)(null),x=(0,s.useRef)({onSuccess:a,onError:i,onCancel:n}),g=(0,s.useRef)(null),y=(0,w.useRouter)(),{toast:v}=(0,P.dj)(),j=0===t.price;(0,s.useEffect)(()=>{x.current={onSuccess:a,onError:i,onCancel:n}},[a,i,n]);let A=async()=>{try{p(!0),v({title:"Activating Subscription",description:"Activating your free subscription...",duration:3e3});let e=await N.A.createFreeSubscription(t.id);v({title:"Success!",description:"Your free ".concat(t.name," subscription has been activated!"),duration:5e3}),null==a||a(e),y.push("/".concat("EMPLOYER_FEATURED"===t.type?"employer":"jobseeker","/subscription"))}catch(a){var e,r;let t=(null==(r=a.response)||null==(e=r.data)?void 0:e.message)||a.message||"Failed to activate free subscription";
1u(t),v({title:"Subscription Error",description:t,variant:"destructive",duration:5e3}),null==i||i(Error(t))}finally{p(!1)}};return((0,s.useEffect)(()=>{if(j)return;let e=C();if(!e)return;let a=!0;return g.current=e.onAvailabilityChange(e=>{a&&(c(e),u(null))}),e.loadSDK(t.currency||"USD").catch(e=>{a&&u(e.message||"Failed to load PayPal SDK")}),()=>{a=!1,g.current&&(g.current(),g.current=null)}},[j,t.currency]),(0,s.useEffect)(()=>{if(j||!l||!h.current)return;let e=h.current;if(""!==e.innerHTML)return;let a=C();if(!a)return;if(!a.isAvailable())return void c(!1);let r=setTimeout(()=>{let r=a.getPayPalInstance();if(!r||"function"!=typeof r.Buttons)return void c(!1);try{r.Buttons({style:{layout:"vertical",color:"blue",shape:"rect",label:"paypal"},createOrder:async(e,a)=>{try{let e=await N.A.createPayPalOrder(t.id);if(!e.orderId)throw Error("Failed to create PayPal order");return e.orderId}catch(t){var r,s,i,n;let e=(null==(s=t.response)||null==(r=s.data)?void 0:r.message)||t.message||"Failed to create payment order";throw u(e),v({title:"Subscription Error",description:e,variant:"destructive",duration:6e3}),null==(i=(n=x.current).onError)||i.call(n,Error(e)),Error(e)}},onApprove:async(e,a)=>{var r,s,i,n,l,o;try{v({title:"Processing Payment",description:"Capturing your payment and activating subscription...",duration:3e3});let a=await N.A.capturePayment(e.orderID,t.id,e.payerID);v({title:"Success!",description:"Your ".concat(t.name," subscription has been activated!"),duration:5e3}),null==(r=(s=x.current).onSuccess)||r.call(s,a),y.push("/".concat("EMPLOYER_FEATURED"===t.type?"employer":"jobseeker","/subscription"))}catch(t){let e=(null==(n=t.response)||null==(i=n.data)?void 0:i.message)||t.message||"Failed to process payment";u(e),v({title:"Payment Error",description:e,variant:"destructive",duration:5e3}),null==(l=(o=x.current).onError)||l.call(o,t)}},onError:e=>{var t,a;let r=e.message||e.toString()||"An error occurred with PayPal";u(r),v({title:"PayPal Error",description:r,variant:"destructive",duration:5e3}),null==(t=(a=x.current).onError)||t.call(a,Error(r))},onCancel:e=>{var t,a;v({title:"Payment Cancelled",description:"Your payment was cancelled. You can try again anytime.",duration:3e3}),null==(t=(a=x.current).onCancel)||t.call(a)}}).render(e).then(()=>{}).catch(e=>{u("Failed to render PayPal button: ".concat(e.message)),c(!1)})}catch(e){u("Failed to initialize PayPal button: ".concat(e.message)),c(!1)}},100);return()=>{clearTimeout(r)}},[l,t.id,t.type,t.name,j,y,v]),j)?(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(o.$,{onClick:A,disabled:m,className:"w-full py-6 text-lg font-semibold",size:"lg",children:m?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f.A,{className:"h-5 w-5 animate-spin mr-2"}),"Activating..."]}):"Get Started Free"})}):(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)("div",{ref:h,className:"w-full min-h-[50px]"}),!l&&!d&&(0,r.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,r.jsx)(f.A,{className:"h-8 w-8 animate-spin text-primary"}),(0,r.jsx)("span",{className:"ml-2 text-muted-foreground",children:"Loading PayPal..."})]}),d&&(0,r.jsxs)("div",{className:"mt-4 text-center",children:[(0,r.jsxs)(k.Fc,{variant:"destructive",className:"mb-2",children:[(0,r.jsx)(b.A,{className:"h-4 w-4"}),(0,r.jsx)(k.TN,{children:d})]}),(0,r.jsx)(o.$,{variant:"outline",size:"sm",onClick:()=>{u(null),c(!1),window.location.reload()},className:"mt-2",children:"Retry Loading PayPal"})]})]})}var I=a(8345);function L(){let e=(0,w.useRouter)(),{toast:t}=(0,P.dj)(),[a,k]=(0,s.useState)("employer"),[A,S]=(0,s.useState)([]),[E,C]=(0,s.useState)(!0),[L,F]=(0,s.use
1State)(null),[T,B]=(0,s.useState)("monthly"),[Y,D]=(0,s.useState)("MONTHLY");(0,s.useEffect)(()=>{(async()=>{try{C(!0);let e=await N.A.getPlans("EMPLOYER_FEATURED");S(e)}catch(e){console.error("Error fetching employer plans:",e),F("Failed to load pricing plans"),t({title:"Error",description:"Failed to load pricing plans. Please try again.",variant:"destructive"})}finally{C(!1)}})()},[t]);let _=e=>{console.log("Subscription activated:",e)},O=e=>{console.error("Subscription error:",e)},z=e=>0===e.price?0:("annual"===T&&"YEARLY"===e.billingCycle||"monthly"===T&&e.billingCycle,e.price),Z=[{icon:(0,r.jsx)(m.A,{className:"h-8 w-8 text-blue-500"}),title:"Professional Resume Writing",description:"Expert writers craft compelling resumes tailored to your industry"},{icon:(0,r.jsx)(p.A,{className:"h-8 w-8 text-green-500"}),title:"Fast Turnaround",description:"Get your professional resume delivered in 2-5 business days"},{icon:(0,r.jsx)(h.A,{className:"h-8 w-8 text-purple-500"}),title:"Multiple Revisions",description:"Work with writers to perfect your resume with included revisions"},{icon:(0,r.jsx)(x.A,{className:"h-8 w-8 text-yellow-500"}),title:"ATS Optimized",description:"Resumes are optimized to pass Applicant Tracking Systems"}];return(0,r.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-background via-background to-muted/20",children:[(0,r.jsx)("div",{className:"fixed top-6 left-6 z-50",children:(0,r.jsx)(i.P.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2},children:(0,r.jsxs)(o.$,{variant:"outline",size:"lg",onClick:()=>e.push("/"),className:"group bg-background/95 backdrop-blur-md border-2 border-primary/20 hover:border-primary/40 hover:bg-primary/5 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105",children:[(0,r.jsx)(g.A,{className:"h-4 w-4 mr-2 group-hover:-translate-x-1 transition-transform duration-200"}),(0,r.jsx)(y.A,{className:"h-5 w-5 mr-2 group-hover:scale-110 transition-transform duration-200"}),(0,r.jsx)("span",{className:"font-semibold",children:"Back to Home"})]})})}),(0,r.jsxs)("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[(0,r.jsx)("div",{className:"text-center mb-12",children:(0,r.jsxs)(i.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[(0,r.jsx)("h1",{className:"text-4xl md:text-5xl font-bold bg-gradient-to-r from-primary to-primary/60 bg-clip-text text-transparent mb-4",children:"Pricing Plans"}),(0,r.jsx)("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Choose the perfect plan for your needs - whether you're an employer looking to hire or a job seeker looking to advance your career"})]})}),(0,r.jsxs)(c.tU,{value:a,onValueChange:e=>k(e),className:"space-y-8",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsxs)(c.j7,{className:"grid w-full max-w-md grid-cols-2 bg-muted/50 p-1 rounded-xl",children:[(0,r.jsxs)(c.Xi,{value:"employer",className:"data-[state=active]:bg-background data-[state=active]:shadow-sm transition-all duration-200",children:[(0,r.jsx)(d.A,{className:"h-4 w-4 mr-2"}),"Employer Plans"]}),(0,r.jsxs)(c.Xi,{value:"jobseeker",className:"data-[state=active]:bg-background data-[state=active]:shadow-sm transition-all duration-200",children:[(0,r.jsx)(m.A,{className:"h-4 w-4 mr-2"}),"Job Seeker Plans"]})]})}),(0,r.jsxs)(c.av,{value:"employer",className:"space-y-8",children:[(0,r.jsxs)("div",{className:"text-center mb-8",children:[(0,r.jsxs)("h2",{className:"text-3xl font-bold mb-2 flex items-center justify-center gap-2",children:[(0,r.jsx)(d.A,{className:"h-8 w-8 text-primary"}),"Employer Plans"]}),(0,r.jsx)("p",{className:"text-lg text-muted-foreground",children:"Choose the perfect plan to boost your hiring success with featured job postings and premium visibility"})]}),E?(0,r.jsxs)("div",{className:"flex justify-center items-center py-20",children:[(0,r.jsx)(f.A,{className:"h-8 w-8 animate-spin text-primary"}),(0,r.jsx)("span",{className:"ml-2 text-muted-foreground",children:"Loading plans..."})]}):L?(0,r.jsxs)("div",{className:"text-center py-20",children:[(0,r.jsx)(b.A,{className:"h-12 w-12 text-destructive mx-auto mb-4"}),(0,r.jsx)("p",{className:"text-red-500 mb-4",children:L}),(0,r.jsx)(o.$,{onClick:()=>window.location.reload(),children:"Try Again"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.P.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{delay:.2},className:"flex justify-center mb-12",children:(0,r.jsx)(c.tU,{value:T,onValueChange:e=>B(e),children:(0,r.jsxs)(c.j7,{className:"grid w-full max-w-md grid-cols-2 bg-muted/50 p-1 rounded-xl",children:[(0,r.jsx)(c.Xi,{value:"monthly",className:"data-[state=active]:bg-background data-[state=active]:shadow-sm transition-all duration-200",children:"Monthly"}),(0,r.jsxs)(c.Xi,{value:"annual",className:"data-[state=active]:bg-background data-[state=active]:shadow-sm transition-all duration-200",children:["Annual",(0,r.jsx)(l.E,{className:"ml-2 bg-green-500 text-white text-xs px-2 py-0.5",children:"Up to 70% off"})]})]})})}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl",children:A.filter(e=>"annual"===T?"YEARLY"===e.billingCycle:"MONTHLY"===e.billingCycle).map((e,t)=>{let a=((e,t)=>{let a=e.toLowerCase();return a.includes("starter")||a.includes("basic")||a.includes("free")?{icon:d.A,color:"text-blue-500",bgColor:"bg-blue-50 dark:bg-blue-950/20",borderColor:"border-blue-200 dark:border-blue-800",popular:!1}:a.includes("professional")||a.includes("premium")||a.includes("standard")?{icon:d.A,color:"text-green-500",bgColor:"bg-green-50 dark:bg-green-950/20",borderColor:"border-green-200 dark:border-green-800",popular:!0}:{icon:u.A,color:"text-purple-500",bgColor:"bg-purple-50 dark:bg-purple-950/20",borderColor:"border-purple-200 dark:border-purple-800",popular:1===t}})(e.name,t),s=a.icon,o=(e=>{if("annual"===T&&"YEARLY"===e.billingCycle&&e.price>0){let t=e.name.toLowerCase().replace("yearly","").replace("annual","").trim(),a=A.find(e=>"MONTHLY"===e.billingCycle&&e.price>0&&e.name.toLowerCase().replace("monthly","").trim()===t);if(a){let t=Math.round((12*a.price-e.price)*100)/100;if(t>0)return"Save $".concat(t.toFixed(2))}}return null})(e);return(0,r.jsx)(i.P.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1*t},className:"relative",children:(0,r.jsxs)(n.Zp,{className:"h-full transition-all duration-300 hover:shadow-xl hover:-translate-y-2 ".concat(a.popular?"ring-2 ring-primary shadow-lg scale-105":"hover:shadow-lg"," ").concat(a.bgColor," ").concat(a.borderColor),children:[a.popular&&(0,r.jsx)("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2",children:(0,r.jsxs)(l.E,{className:"bg-primary text-primary-foreground px-4 py-1",children:[(0,r.jsx)(v.A,{className:"h-3 w-3 mr-1"}),"Most Popular"]})}),(0,r.jsxs)(n.aR,{className:"text-center pb-4",children:[(0,r.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full ".concat(a.bgColor," mb-4 mx-auto"),children:(0,r.jsx)(s,{className:"h-8 w-8 ".concat(a.color)})}),(0,r.jsx)(n.ZB,{className:"text-2xl font-bold",children:e.name}),(0,r.jsx)(n.BT,{className:"text-base",children:e.description})]}),(0,r.jsxs)(n.Wu,{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"flex items-center justify-center space-x-2 mb-2",children:0===z(e)?(0,r.jsx)("span",{className:"text-4xl font-bold text-foreground",children:"Free"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"text-4xl font-bold text-foreground",children:["$",z(e)]}),(0,r.jsxs)("span",{className:"text-muted-foreground",children:["/","annual"===T?"year":"month"]})]})}),o&&(0,r.jsx)(l.E,{variant:"secondary",className:"text-xs mb-2 bg-green-100 text-green-700 dark:bg-green-900 dark:text-green-300",children:o}),0===z(e)&&(0,r.jsx)(l.E,{className:"text-xs mb-2 bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200",children:"Free Forever"})]}),(0,r.jsx)("div",{className:"space-y-3",children:e.features&&Object.entries(e.features).filter(e=>{let[t]=e;return"analytics"!==t}).map(e=>{let[t,a]=e;return(0,r.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,r.jsx)(j.A,{className:"h-5 w-5 text-green-500 mt-0.5 flex-shrink-0"}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsxs)("span",{className:"font-medium capitalize",children:[t.replace(/([A-Z])/g," $1").toLowerCase(),":"]}),(0,r.jsx)("span",{className:"text-muted-foreground ml-1",children:"boolean"==typeof a?a?"Included":"Not included":a})]})]},t)})}),(0,r.jsx)(R,{plan:e,onSuccess:_,onError:O})]})]})},e.id)})})}),(0,r.jsx)(i.P.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"mt-16 text-center",children:(0,r.jsxs)("div",{className:"bg-muted/50 rounded-lg p-8 max-w-4xl mx-auto",children:[(0,r.jsx)("h3",{className:"text-2xl font-semibold mb-4",children:"Why Choose Our Featured Plans?"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 text-left",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold mb-2",children:"Enhanced Visibility"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"Your jobs appear at the top of search results and get priority placement"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold mb-2",children:"More Applications"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"Featured jobs receive 3x more applications than regular postings"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold mb-2",children:"Premium Support"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"Get dedicated support to help you find the perfect candidates"})]})]})]})})]})]}),(0,r.jsxs)(c.av,{value:"jobseeker",className:"space-y-8",children:[(0,r.jsxs)("div",{className:"text-center mb-8",children:[(0,r.jsxs)("h2",{className:"text-3xl font-bold mb-2 flex items-center justify-center gap-2",children:[(0,r.jsx)(m.A,{className:"h-8 w-8 text-primary"}),"Job Seeker Plans"]}),(0,r.jsx)("p",{className:"text-lg text-muted-foreground",children:"Get professional help with your resume and career documents. Our expert writers will create compelling, ATS-optimized resumes that help you land more interviews."})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12",children:Z.map((e,t)=>(0,r.jsxs)(n.Zp,{className:"text-center hover:shadow-lg transition-shadow",children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)("div",{className:"flex justify-center mb-2",children:e.icon}),(0,r.jsx)(n.ZB,{className:"text-lg",children:e.title})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)(n.BT,{children:e.description})})]},t))}),(0,r.jsx)("div",{className:"flex justify-center mb-8",children:(0,r.jsx)(c.tU,{value:Y,onValueChange:e=>D(e),className:"w-full max-w-md",children:(0,r.jsxs)(c.j7,{className:"grid w-full grid-cols-2 bg-muted/50 p-1 rounded-xl",children:[(0,r.jsx)(c.Xi,{value:"MONTHLY",className:"data-[state=active]:bg-background data-[state=active]:shadow-sm transition-all duration-200",children:"Monthly"}),(0,r.jsx)(c.Xi,{value:"YEARLY",className:"data-[state=active]:bg-background data-[state=active]:shadow-sm transition-all duration-200",children:"Annually (up to 70% off)"})]})})}),(0,r.jsx)(I.A,{type:"JOBSEEKER_RESUME",billingCycle:Y}),(0,r.jsxs)("div",{className:"mt-16",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold text-center mb-8",children:"How It Works"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[(0,r.jsxs)(n.Zp,{className:"text-center",children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mx-auto mb-2",children:"1"}),(0,r.jsx)(n.ZB,{className:"text-lg",children:"Choose Your Plan"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-muted-foreground",children:"Select the plan that fits your needs and complete the secure payment"})})]}),(0,r.jsxs)(n.Zp,{className:"text-center",children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-green-100 text-green-600 rounded-full flex items-center justify-center mx-auto mb-2",children:"2"}),(0,r.jsx)(n.ZB,{className:"text-lg",children:"Submit Your Request"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-muted-foreground",children:"Provide your current resume and job preferences through our platform"})})]}),(0,r.jsxs)(n.Zp,{className:"text-center",children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center mx-auto mb-2",children:"3"}),(0,r.jsx)(n.ZB,{className:"text-lg",children:"Expert Writing"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-muted-foreground",children:"Our professional writers craft your resume with industry best practices"})})]}),(0,r.jsxs)(n.Zp,{className:"text-center",children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-yellow-100 text-yellow-600 rounded-full flex items-center justify-center mx-auto mb-2",children:"4"}),(0,r.jsx)(n.ZB,{className:"text-lg",children:"Review & Revise"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-muted-foreground",children:"Review your new resume and request revisions until you're satisfied"})})]})]})]})]})]})]})]})}},67812:(e,t,a)=>{"use strict";a.d(t,{E:()=>l});var r=a(95155),s=a(83101),i=a(25016);let n=(0,s.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:t,variant:a,...s}=e;return(0,r.jsx)("div",{className:(0,i.cn)(n({variant:a}),t),...s})}},83209:(e,t,a)=>{"use strict";a.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>u});var r=a(95155),s=a(12115),i=a(25016);let n=s.forwardRef((e,t)=>
1{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});c.displayName="CardDescription";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...s})});d.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},94772:(e,t,a)=>{Promise.resolve().then(a.bind(a,58764))},97003:(e,t,a)=>{"use strict";a.d(t,{$:()=>c,r:()=>o});var r=a(95155),s=a(12115),i=a(32467),n=a(83101),l=a(25016);let o=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,asChild:c=!1,...d}=e,u=c?i.DX:"button";return(0,r.jsx)(u,{className:(0,l.cn)(o({variant:s,size:n,className:a})),ref:t,...d})});c.displayName="Button"}},e=>{e.O(0,[4999,1029,5125,3148,9511,8720,2428,2386,1439,5317,4721,8345,8441,1255,7358],()=>e(e.s=94772)),_N_E=e.O()}]);

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.