1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[419],{68723:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/village-administrative-officer-pack-299",function(){return s(60394)}])},50721:function(e,t,s){"use strict";var l=s(85893),a=s(67294),i=s(91444),n=s(51471),r=s(59363),o=s(67095),d=s(89593),c=s(11163),u=s(33299),m=s(96352),x=s(80667);t.Z=e=>{let{setLogin:t,setUnlock:p}=e,v=(0,r.TL)(),h=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,{data:f}=(0,u.useSession)(),g=(0,c.useRouter)(),[b,w]=(0,a.useState)({firstName:{value:"",message:""},email:{value:"",message:""},password:{value:"",message:""},phoneNumber:{value:"",message:""},code:{value:"",message:""}}),[j,y]=(0,a.useState)((0,x.rM)("false")),N=e=>{let{value:t,name:s}=e.target;switch(w(e=>({...e,[s]:{value:t,message:""}})),s){case"firstName":w(e=>({...e,firstName:{...e.firstName,message:t?"":"Enter firstname"}}));break;case"email":{let e=h.test(t);w(t=>({...t,email:{...t.email,message:e?"":"Invalid email format"}}));break}case"password":{let e=t.length>=6;w(t=>({...t,password:{...t.password,message:e?"":"Password must be at least 6 characters"}}))}}},C=async e=>{try{e.preventDefault(),v(n.rY.setLoader(!0));let s={firstName:b.firstName.value,username:b.email.value.substring(0,b.email.value.lastIndexOf("@")),email:b.email.value,password:b.password.value};if(s.firstName&&s.password&&h.test(s.email)){let e=await v((0,o.F)({...d.signUpApi,body:s}));if(v(n.rY.setLoader(!1)),e.payload&&e.payload){(await (0,u.signIn)("credentials",{redirect:!1,email:b.email.value,password:b.password.value})).ok&&(i.Am.success("Successufull Register",{position:i.Am.POSITION.TOP_CENTER,autoClose:1e4,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"}),"/signup"!==g.asPath?g.push(g.asPath):g.push(sessionStorage.getItem("callback")?(0,x.rM)(sessionStorage.getItem("callback")):"/"),p(!1),t(!1));return}i.Am.error("Email or Username are already taken",{position:"top-center",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"})}else i.Am.error("Invalid firstName or password or Email",{position:i.Am.POSITION.TOP_CENTER,autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"});v(n.rY.setLoader(!1))}catch(e){}};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"".concat("/signup"===g.asPath?" min-h-screen":""," bg-gray-100 pt-5"),children:(0,l.jsx)("div",{className:"flex pt-3 max-md:items-center max-md:justify-center max-md:px-4 max-md:py-3 lg:justify-center",children:(0,l.jsxs)("div",{className:"max ".concat("/signup"!==g.asPath?"w-[480px]":""," flex w-full flex-col overflow-hidden rounded-[20px] bg-white shadow-lg max-md:w-[480px] max-md:py-5 lg:max-w-screen-sm lg:flex-1 lg:flex-row"),children:["/signup"===g.asPath&&(0,l.jsx)(i.Ix,{}),(0,l.jsxs)("div",{className:"bg-white max-md:px-5 md:px-[40px] md:py-5 lg:flex-1",children:[!(null==f?void 0:f.jwt)&&(0,l.jsxs)("div",{className:" mb-5 flex justify-between overflow-hidden rounded-lg border border-black",children:[(0,l.jsx)("div",{className:" w-1/2 py-3 max-sm:px-2 text-center".concat(j?" text-black":" bg-blue-700 text-white"),onClick:()=>{y(!1)},children:"Login With OTP"}),(0,l.jsx)("div",{className:" w-1/2 px-20 py-3 text-center max-sm:px-7 ".concat(j?"bg-blue-700 text-white":" text-black"),onClick:()=>y(!0),children:"Sign Up"})]}),(0,l.jsx)("h3",{className:"my-4 text-center text-3xl font-bold leading-[34px] tracking-[-2px] text-gray-700"}),j?(0,l.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,l.jsx)("div",{className:"flex max-md:flex-col md:gap-[20px]",children:(0,l.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,l.jsx)("label",{htmlFor:"email",className:"my-[10px] text-sm font-bold text-gray-500",children:"Full Name"}),(0,l.jsx)("input",{type:"firstName",id:"email",name:"firstName",placeholder:"First Name",autoFocus:!0,value:b.firstName.value,onChange:N,className:"rounded border border-gray-300 px-4 py-2 transition duration-300 focus:border-transparent focus:outline-none focus:ring-4 focus:ring-blue-200"}),(0,l.jsx)("span",{className:"text-red-700",children:b.firstName.message})]})}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("label",{htmlFor:"email",className:"my-[10px] text-sm font-bold text-gray-500",children:"Email"}),(0,l.jsx)("input",{type:"email",id:"email",placeholder:"Enter Email",autoFocus:!0,name:"email",value:b.email.value,onChange:N,className:"rounded border border-gray-300 px-4 py-2 transition duration-300 focus:border-transparent focus:outline-none focus:ring-4 focus:ring-blue-200"}),(0,l.jsx)("span",{className:"text-red-700",children:b.email.message})]}),(0,l.jsxs)("div",{className:"flex flex-col space-y-1",children:[(0,l.jsx)("div",{className:"flex items-center justify-between",children:(0,l.jsx)("label",{htmlFor:"password",className:"my-[10px] text-sm font-bold text-gray-500",children:"Password"})}),(0,l.jsx)("input",{placeholder:"Enter password",type:"password",id:"password",name:"password",value:b.password.value,onChange:N,className:"rounded border border-gray-300 px-4 py-2 transition duration-300 focus:border-transparent focus:outline-none focus:ring-4 focus:ring-blue-200"}),(0,l.jsx)("span",{className:"text-red-700",children:b.password.message})]}),(0,l.jsx)("div",{className:" py-3",children:(0,l.jsx)("button",{onClick:e=>{var t,l;C(e),s.e(1767).then(s.t.bind(s,51767,23)).then(e=>e.default).then(e=>{e.init("1136468974119600"),e.track("CompleteRegistration")}),null===(l=window)||void 0===l||null===(t=l.location)||void 0===t||t.href},className:"w-full rounded-lg bg-[#7F56D9] px-4 py-2 text-lg font-semibold text-white shadow transition-colors duration-300 hover:bg-[#4847A4] focus:outline-none focus:ring-4 focus:ring-blue-200",children:"Create Account"})}),(0,l.jsxs)("div",{className:"flex items-center justify-center gap-[10px] text-center",children:[(0,l.jsx)("p",{className:"text-[20px] text-[#001D6C]",children:"Already have an account?"}),(0,l.jsx)("div",{onClick:()=>{"/signup"===g.asPath?g.push("/login"):(t(!0),p(!1))},className:"text-sm text-[#000000] underline hover:cursor-pointer focus:text-blue-800",children:"Login Here"})]})]}
1):(0,l.jsx)(m.J,{setLogin:t,setUnlock:p})]})]})})})})}},60394:function(e,t,s){"use strict";s.r(t);var l=s(85893),a=s(17004),i=s(11163),n=s(80667),r=s(91444),o=s(96486),d=s(59363),c=s(51471),u=s(77615),m=s(50721),x=s(71133),p=s(60868),v=s(61165),h=s(67294),f=s(89593),g=s(14608),b=s(48398),w=s(25675),j=s.n(w);t.default=(0,b.Yw)(function(e){var t,s;let{visible:b=!0,children:w}=e,y=(0,d.TL)(),[N,C]=(0,h.useState)(),L=(0,a.T)(),[k,_]=(0,h.useState)(!1),[P,O]=(0,h.useState)(!1),I=(0,n.Y2)(),S=(0,i.useRouter)(),E=(0,d.iP)(),{isLoading:A}=(0,d.DK)(f.subscriptionApi.key),{state:F,sgt:M}=S.query,T=(0,v.Z)(),Z="en"===S.locale?"ka":"ka-kn",R="en"===S.locale?"vao-paper-1":"vao-paper-1-kn",{pathname:B,asPath:D,query:z,locale:U}=S,Y=(0,p.Z)({apiObj:{...f.subscriptionApi,url:!(null==R?void 0:R.includes(void 0))&&!(null==Z?void 0:Z.includes(void 0))&&"".concat(f.SUBSCRIPTION_PLANS,"locale=").concat(null==S?void 0:S.locale,"&filters[categories][slug][$eq]=").concat(R,"&filters[state][slug][$eq]=").concat(Z,"&populate=*&optimize=true&showInFrontEnd=all")}}),H=S.asPath==="/subscription?state=".concat(F,"&sgt=").concat(M),K=null==Y?void 0:null===(t=Y.userSubscriptions)||void 0===t?void 0:t.filter(e=>(null==e?void 0:e.isActive)===!0&&new Date("".concat(null==e?void 0:e.expiryDate))>=new Date),q=null==K?void 0:K.map(e=>{var t;return null==e?void 0:null===(t=e.subscription_plan)||void 0===t?void 0:t.id}),W=null==Y?void 0:Y.data;(0,h.useEffect)(()=>{if((null==W?void 0:W.length)>0){var e,t;C(N||(null===(t=o.sortBy(W,[function(e){return null==e?void 0:e.newPrice}]))||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.id))}},[N,W]);let $=async(e,t)=>{var s,l,a,i,o,d;e.preventDefault();let u={data:{state:"ka",category:F,subject:M,type:"buy_now_subscription",Mediun:S.locale,url:S.asPath,SubScriprion_Plan:{id:null==W?void 0:null===(s=W[0])||void 0===s?void 0:s.id,Name:null==W?void 0:null===(l=W[0])||void 0===l?void 0:l.name},userId:null==L?void 0:null===(a=L.user)||void 0===a?void 0:a.id,logTime:new Date}};(0,n.o)(u);try{(0,n.rM)("true");{let e={subscriptionId:+t,userId:null==L?void 0:L.user.id,redirectUrl:"https://karnataka-recruitment.com/subscription/checkout/successful",paymentMethod:"RAZORPAY",source:(null==L?void 0:null===(i=L.user)||void 0===i?void 0:i.device_id)?"mobileApp":T?"mobileApp":"null"===sessionStorage.getItem("source")?"whatsapp":sessionStorage.getItem("source")};sessionStorage.setItem("practiceTest","/".concat(S.locale,"/").concat(F,"/").concat(M)),y(c.rY.setLoader(!0));let s=await g.Z.post("".concat(f.PHONEPE_API),e,{Authorization:I});{let e={key:"rzp_live_RoiTIHU0w1qnVJ",amount:s.data.amount,currency:s.data.currency,name:"Karnataka Recruitment",description:"",redirect:!0,image:"https://karnataka-recruitment.com/images/DSCLogoFinal.png",order_id:s.data.orderId,callback_url:s.data.callBackUrl,notes:{address:""},modal:{ondismiss:function(){g.Z.post("".concat(f.BASE_API_URL,"/api/payment-transactions/razorpayCancelStatus"),{razorpay_order_id:s.data.orderId,userCancelled:!0},{Authorization:I})}},theme:{color:"#3399cc"}};(null==L?void 0:null===(o=L.user)||void 0===o?void 0:o.phoneNumber)&&(e.prefill={contact:"".concat(null==L?void 0:null===(d=L.user)||void 0===d?void 0:d.phoneNumber)});let t=new window.Razorpay(e);y(c.rY.setLoader(!1)),t.open()}y(c.rY.setLoader(!1))}void 0!==E&&"function"==typeof window.gtag_report_conversion&&window.gtag_report_conversion("","buy_now")}catch(e){throw y(c.rY.setLoader(!1)),400===e.status&&r.Am.error(e.data.error.message,{position:"top-center",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"}),e}},J=[43,42];return(0,l.jsx)("div",{className:"".concat("kn"===S.locale?"te":""," bg-[#023047]/10 px-2"),children:(0,l.jsx)("div",{children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Ix,{}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center gap-5",children:(0,l.jsxs)("div",{className:"flex rounded-xl border-[2.8px] border-[#fb8500] py-[0.2px] text-center",children:[(0,l.jsx)("span",{className:"".concat("kn"===U?"drop-text bg-[#fb8500] text-white":"text-[#023047]"," rounded-[10px] px-5 py-3 text-base font-bold transition-all duration-300 ease-in-out hover:cursor-pointer max-sm:text-[12px] max-sm:leading-4"),onClick:()=>{S.replace({pathname:B,query:z},D,{locale:"kn"})},children:"Kannada Medium"}),(0,l.jsx)("span",{className:"".concat("en"===U?"drop-text bg-[#fb8500] text-white":"text-[#023047]"," rounded-[10px] px-5 py-3 text-base font-bold transition-all duration-300 ease-in-out hover:cursor-pointer max-sm:text-[12px] max-sm:leading-4"),onClick:()=>{S.replace({pathname:B,query:z},D,{locale:"en"})},children:"English Medium"})]})}),b?(0,l.jsx)("div",{className:" mx-auto w-full",children:(0,l.jsx)("div",{className:"flex justify-center \n ",children:A?(0,l.jsx)("div",{className:H&&"min-h-screen",children:(0,l.jsx)("div",{className:" flex items-center justify-center ",children:(0,l.jsx)("div",{className:" flex items-center justify-center",children:(0,l.jsx)("div",{className:" loader"})})})}):(0,l.jsx)("div",{children:(null==Y?void 0:Y.data)===0?(0,l.jsxs)("div",{className:"text-xl",children:["No Subscriptions available, Please Contact"," ",(0,l.jsx)("a",{href:"mailto:[email protected]",className:"text-blue-400",children:"[email protected]"})]}):(0,l.jsx)("div",{className:"".concat(H&&"min-h-screen"," mx-auto max-w-screen-md py-1 "),children:(0,l.jsx)("div",{className:" flex w-full flex-col items-center justify-center gap-5 max-sm:grid max-sm:grid-cols-1",style:{scrollbarWidth:"none"},children:null===(s=o.sortBy(W,[function(e){return null==e?void 0:e.newPrice}]))||void 0===s?void 0:s.map((e,t)=>(0,l.jsx)("div",{children:(null==J?void 0:J.includes(null==e?void 0:e.id))&&(0,l.jsxs)("div",{className:"flex w-[765px] flex-col gap-1 rounded-xl ".concat(N===(null==e?void 0:e.id)&&H&&(null==E?void 0:E.width)<650?"border-2 border-green-800 bg-[#9BD3D0]/50":"bg-[#f2f2f2]"," p-5 text-black shadow-md max-sm:w-full"),onClick:t=>(C(null==e?void 0:e.id),(null==L?void 0:L.jwt)===void 0)?(0,n.rM)("false")?_(!0):O(!0):(null==q?void 0:q.includes(null==e?void 0:e.id))?void 0:$(t,null==e?void 0:e.id),children:[(0,l.jsx)("h1",{className:"text-center text-sm font-semibold text-blue-600",children:null==e?void 0:e.name}),(0,l.jsxs)("div",{className:" flex items-center justify-center gap-1 text-[12px] font-semibold",children:[(0,l.jsx)("span",{children:"4.3"}),(0,l.jsx)("div",{className:" -translate-y-[2px]",children:(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"30",viewBox:"0 0 60 17",fill:"none",children:[(0,l.jsxs)("g",{"clip-path":"url(#clip0_2347_5126)",children:[(0,l.jsx)("path",{d:"M11.0772 7.07445C10.987 6.79719 10.748 6.59633 10.4599 6.55426L7.54289 6.13027L6.23825 3.48898C5.98079 2.96656 5.12614 2.96656 4.86868 3.48898L3.56403 6.13027L0.65391 6.55426C0.36598 6.59621 0.126918 6.79789 0.0375039 7.07445C-0.0526133 7.35172 0.0229726 7.655 0.231566 7.85738L2.34129 9.90828L1.84407 12.8109C1.7952 13.0973 1.91286 13.3876 2.14805 13.5587C2.38407 13.7291 2.69567 13.7512 2.95313 13.616L5.55317 12.2449L8.16094 13.616C8.2725 13.6748 8.39473 13.7039 8.51614 13.7039C8.67422 13.7039 8.8323
11 13.655 8.96684 13.5588C9.20215 13.3869 9.31969 13.0974 9.27082 12.811L8.7736 9.9084L10.8833 7.8575C11.0917 7.6557 11.1673 7.35102 11.0772 7.07445Z",fill:"#FF8500"}),(0,l.jsx)("path",{d:"M23.2986 7.07445C23.2084 6.79719 22.9694 6.59633 22.6813 6.55426L19.7643 6.13027L18.4596 3.48898C18.2022 2.96656 17.3475 2.96656 17.0901 3.48898L15.7854 6.13027L12.8752 6.55426C12.5873 6.59621 12.3482 6.79789 12.2588 7.07445C12.1687 7.35172 12.2443 7.655 12.4528 7.85738L14.5626 9.90828L14.0653 12.8109C14.0165 13.0973 14.1341 13.3884 14.3693 13.5587C14.6046 13.7291 14.9178 13.7512 15.1744 13.616L17.7745 12.2449L20.3822 13.616C20.4938 13.6748 20.616 13.7039 20.7374 13.7039C20.8955 13.7039 21.0536 13.655 21.1881 13.5588C21.4234 13.3869 21.541 13.0974 21.4921 12.811L20.9949 9.9084L23.1046 7.8575C23.3131 7.6557 23.3887 7.35102 23.2986 7.07445Z",fill:"#FF8500"}),(0,l.jsx)("path",{d:"M35.5199 7.07445C35.4297 6.79719 35.1907 6.59633 34.9026 6.55426L31.9855 6.13027L30.6808 3.48898C30.4234 2.96656 29.5687 2.96656 29.3113 3.48898L28.0066 6.13027L25.0964 6.55426C24.8085 6.59621 24.5694 6.79789 24.48 7.07445C24.3899 7.35172 24.4654 7.655 24.674 7.85738L26.7838 9.90828L26.2865 12.8109C26.2377 13.0973 26.3553 13.3884 26.5905 13.5587C26.8258 13.7291 27.139 13.7512 27.3956 13.616L29.9958 12.2449L32.6035 13.616C32.7151 13.6748 32.8373 13.7039 32.9587 13.7039C33.1168 13.7039 33.2749 13.655 33.4094 13.5588C33.6447 13.3869 33.7623 13.0974 33.7134 12.811L33.2162 9.9084L35.3259 7.8575C35.5344 7.6557 35.61 7.35102 35.5199 7.07445Z",fill:"#FF8500"}),(0,l.jsx)("path",{d:"M47.7412 7.0736C47.6511 6.79634 47.412 6.59548 47.124 6.55341L44.207 6.12942L42.9023 3.48825C42.6448 2.96583 41.7902 2.96583 41.5327 3.48825L40.2281 6.12954L37.3179 6.55353C37.0299 6.59548 36.7909 6.79716 36.7014 7.07372C36.6113 7.35099 36.6869 7.65427 36.8955 7.85665L39.0052 9.90755L38.508 12.8102C38.4591 13.0966 38.5768 13.3868 38.812 13.5579C39.048 13.7283 39.3604 13.7505 39.6171 13.6152L42.2172 12.2442L44.825 13.6152C44.9366 13.6741 45.0588 13.7031 45.1802 13.7031C45.3383 13.7031 45.4964 13.6543 45.6309 13.5581C45.8662 13.3861 45.9837 13.0967 45.9349 12.8103L45.4377 9.90766L47.5474 7.85677C47.7557 7.65567 47.8313 7.35017 47.7412 7.0736Z",fill:"#FF8500"}),(0,l.jsx)("path",{d:"M59.9626 7.07434C59.8725 6.79707 59.6335 6.59621 59.3454 6.55414L56.4284 6.13027L55.1237 3.48898C54.8663 2.96656 54.0116 2.96656 53.7542 3.48898L52.4495 6.13027L49.5393 6.55414C49.2514 6.59621 49.0123 6.79777 48.9229 7.07434C48.8328 7.3516 48.9083 7.65488 49.1169 7.85727L51.2267 9.90816L50.7294 12.8108C50.6806 13.0972 50.7982 13.3875 51.0334 13.5586C51.2694 13.7288 51.5819 13.7511 51.8385 13.6159L54.4387 12.2448L57.0464 13.6159C57.158
113.6747 57.2802 13.7037 57.4016 13.7037C57.5597 13.7037 57.7178 13.6549 57.8523 13.5587C58.0876 13.3868 58.2052 13.0973 58.1563 12.8109L57.6591 9.90828L59.7688 7.85738C59.9772 7.65558 60.0528 7.35078 59.9626 7.07434ZM56.3038 9.09313C56.1236 9.26879 56.0403 9.52168 56.083 9.76988L56.387 11.5435L54.7929 10.7056C54.6822 10.6468 54.5599 10.6177 54.4377 10.6177C54.3155 10.6177 54.1933 10.6468 54.0825 10.7056L52.4969 11.5413L52.8008 9.77C52.8436 9.5218 52.7604 9.2682 52.5801 9.09324L51.2938 7.84285L53.0666 7.58469C53.3148 7.54883 53.5295 7.39215 53.6411 7.16691L54.4377 5.55289L55.2344 7.16691C55.3459 7.39297 55.5605 7.54883 55.8095 7.58469L57.5892 7.84367L56.3038 9.09313Z",fill:"#FF8500"})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0_2347_5126",children:(0,l.jsx)("rect",{width:"60",height:"20",fill:"white"})})})]})}),(0,l.jsx)("span",{children:"30K+ Aspirants Are Practicing"})]}),(0,l.jsxs)("div",{className:" flex justify-between py-2",children:[(0,l.jsxs)("div",{className:"flex justify-between max-sm:basis-full md:basis-1/3",children:[(0,l.jsxs)("p",{className:"text-3xl font-[700] ",children:["â¹ ",null==e?void 0:e.newPrice]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("p",{className:"text-lg font-semibold text-gray-500 line-through",children:["â¹ ",null==e?void 0:e.oldPrice]}),(0,l.jsxs)("p",{className:"text-sm font-[500] text-blue-800",children:["validty: ",null==e?void 0:e.subscriptionInDays," ","Days"]})]})]}),E.width>650&&(0,l.jsx)("button",{className:" bottom-0 rounded-lg bg-gradient-to-b from-[#d2b204] to-[#edd003] py-1 font-[500] max-sm:absolute max-sm:bottom-4 max-sm:basis-full max-sm:px-[140px] max-sm:py-5 sm:basis-1/2 md:block ",onClick:t=>(null==L?void 0:L.jwt)===void 0?(0,n.rM)("false")?_(!0):O(!0):(null==q?void 0:q.includes(null==e?void 0:e.id))?void 0:$(t,null==e?void 0:e.id),children:(null==q?void 0:q.includes(null==e?void 0:e.id))?" Already Subscribed":"Buy Now"})]}),(0,l.jsx)(j(),{src:"kn"===U?"/images/KR_299.jpg":"/images/KR_EN_299.jpg",width:1200,height:600,alt:""}),E.width<650&&!H&&(0,l.jsx)("button",{className:"rounded-lg bg-gradient-to-b from-[#d2b204] to-[#edd003] py-3 font-[500] ",onClick:t=>(null==L?void 0:L.jwt)===void 0?(0,n.rM)("false")?_(!0):O(!0):(null==q?void 0:q.includes(null==e?void 0:e.id))?void 0:$(t,null==e?void 0:e.id),children:(null==q?void 0:q.includes(null==e?void 0:e.id))?" Already Subscribed":"Buy Now"})]})},t))})})})})}):(0,l.jsx)("div",{className:" hover:cursor-pointer",onClick:()=>(null==L?void 0:L.jwt)===void 0?(0,n.rM)("false")?_(!0):O(!0):S.push("/subscription?state=".concat(Z,"&sgt=").concat(R,"&name=").concat(name)),children:w}),(0,l.jsx)(u.Z,{isOpen:k,setIsOpen:_,children:(0,l.jsx)("div",{className:" h-max",children:(0,l.jsx)(m.Z,{setUnlock:_,setLogin:O})})}),(0,l.jsx)(u.Z,{isOpen:P,setIsOpen:O,children:(0,l.jsx)(x.Z,{setLogin:O,setUnlock:_})}),H&&E.width<650&&(0,l.jsx)("div",{className:" fixed bottom-0 z-50 h-16 w-full bg-white px-5 pb-20 pt-10 text-center",children:(null==q?void 0:q.includes(N))?(0,l.jsx)("button",{onClick:()=>S.push("/dashboard"),className:"w-full rounded-xl bg-gradient-to-b from-[#d2b204] to-[#edd003] py-3 text-xl font-bold text-black",children:"Start Test"}):(0,l.jsx)("button",{className:"w-full rounded-xl bg-gradient-to-b from-[#d2b204] to-[#edd003] py-3 text-xl font-bold text-black",onClick:e=>(null==L?void 0:L.jwt)===void 0?O(!0):$(e,N),children:"Buy Now"})})]})})})})},88357:function(e,t,s){"use strict";s.d(t,{w_:function(){return o}});var l=s(67294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=l.createContext&&l.createContext(a),n=function(){return(n=Object.assign||function(e){for(var t,s=1,l=arguments.length;s<l;s++)for(var a in t=arguments[s])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},r=function(e,t){var s={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(s[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,l=Object.getOwnPropertySymbols(e);a<l.length;a++)0>t.indexOf(l[a])&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(s[l[a]]=e[l[a]]);return s};function o(e){return function(t){return l.createElement(d,n({attr:n({},e.attr)},t),function e(t){return t&&t.map(function(t,s){return l.createElement(t.tag,n({key:s},t.attr),e(t.child))})}(e.child))}}function d(e){var t=function(t){var s,a=e.attr,i=e.size,o=e.title,d=r(e,["attr","size","title"]),c=i||t.size||"1em";return t.className&&(s=t.className),e.className&&(s=(s?s+" ":"")+e.className),l.createElement("svg",n({stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0"},t.attr,a,d,{className:s,style:n(n({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),o&&l.createElement("title",null,o),e.children)};return void 0!==i?l.createElement(i.Consumer,null,function(e){return t(e)}):t(a)}}},function(e){e.O(0,[1057,3662,8159,7481,6352,9323,2888,9774,179],function(){return e(e.s=68723)}),_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.