1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6420],{96405:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/company/CompanyPage",function(){return a(27671)}])},53518:function(t,e,a){"use strict";var n=a(85893),c=a(14930),i=a(93967),l=a.n(i),o=a(11163);e.Z=t=>{let{children:e,type:a,radius:i,className:r,isLoading:s,isDisabled:d,href:m,onClick:u}=t,p=(0,o.useRouter)();return(0,n.jsx)(c.A,{onClick:m?()=>{p.push(m)}:u,type:a,isLoading:s,isDisabled:d,radius:i,className:l()("w-[304px]","h-[55px]","md:w-[366px]","md:h-[55px]","lg:w-[400px]","lg:h-[60px]","rounded-full","bg-primary","text-white","font-semibold","lg:text-[18px]","md:text-[16px]","text-[13px]",d&&"bg-disabled text-[#8F8F8F]",r),children:e})}},24907:function(t,e,a){"use strict";a.d(e,{Z:function(){return s}});var n=a(85893),c=a(9008),i=a.n(c),l=a(24991),o=a(33666);let r={login:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.login.title")," ")},verification:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.verification.title")," ")},company:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.company.title")," ")},home:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.home.title")," ")},about:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.about.title")," ")},anniversaries:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.anniversaries.title")," ")},calendar:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.calendar.title")," ")},"calendar/monthly":{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.calendar/monthly.title")," ")},campaigns:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.campaigns.title")," ")},contacts:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.contacts.title")," ")},educations:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.educations.title")," ")},felicitation:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.felicitation.title")," ")},gallery:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.gallery.title")," ")},help:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.help.title")," ")},incidents:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.incidents.title")," ")},meals:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.meals.title")," ")},news:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.news.title")," ")},notifications:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.notifications.title")," ")},openPositions:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.openPositions.title")," ")},profile:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.profile.title")," ")},proposals:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.proposals.title")," ")},shuttle:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.shuttle.title")," ")},surveys:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.surveys.title")," ")},voting:{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.voting.title")," ")},"i-am-here":{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.iamHere.title")," ")},"user-felicitations":{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.userFelicitations.title")," ")},"user-felicitations/create":{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.userFelicitations/create.title")," ")},"user-felicitations/received":{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.userFelicitations/received.title")," ")},"user-felicitations/sent":{title:"".concat((0,o.fz)()," - ").concat(l.ZP.t("metadata.userFelicitations/sent.title")," ")}};var s=t=>{var e;let{path:a}=t;return(0,n.jsxs)(i(),{children:[(0,n.jsxs)("title",{children:[null===(e=r[a])||void 0===e?void 0:e.title," "]}),(0,n.jsx)("desc",{})]})}},27671:function(t,e,a){"use strict";a.r(e),a.d(e,{__N_SSP:function(){return u}});var n=a(85893),c=a(66595),i=a(53518),l=a(93967),o=a.n(l),r=a(67421),s=a(24907),d=a(95803),m=a(77740),u=!0;e.default=()=>{let{t}=(0,r.$G)(),{router:e,watch:a,control:l,clickButton:u,isLoading:p,setValue:x}=(0,d.default)(),f=o()("md:min-h-[111.1vh]","min-h-screen","flex flex-col items-center px-10","lg:pt-[128px]","md:pt-[175px]","pt-[151px]","pb-5",'lg:bg-[url("/images/background/auth/default/bg-desktop.png")]','md:bg-[url("/images/background/auth/default/bg-tablet.png")]','bg-[url("/images/background/auth/default/bg-mobile.png")]',"bg-cover","bg-center");return(0,n.jsxs)("div",{className:f,children:[(0,n.jsx)(s.Z,{path:"company"}),(0,n.jsx)(c.Sf,{className:o()("lg:w-[451.3px] lg:h-[354.6px]","md:w-[400px] md:h-[314.4px]","w-[325px] h-[255.4px]")}),(0,n.jsx)("h4",{className:o()("mt-[-50px] mb-[12px]","text-primary-text","font-bold","lg:text-[34px]","md:text-[28px]","text-[24px]"),children:t("selectCompany.headerTitle")}),(0,n.jsx)("span",{className:o()("font-thin","text-center","text-secondary-text","text-[21px]"),children:t("selectCompany.title")}),(0,n.jsx)(m.default,{companies:(()=>{try{var t;return JSON.parse(null==e?void 0:null===(t=e.query)||void 0===t?void 0:t.companies)}catch(t){return[]}})(),companyId:a("companyId"),control:l,onChangeCompanyId:t=>{x("companyId",t)}}),(0,n.jsx)(i.Z,{isLoading:p,onClick:u,className:o()("mt-[50px]"),isDisabled:!a("companyId"),children:t("selectCompany.cta")})]})}},10005:function(t,e,a){"use strict";a.r(e);var n=a(85893),c=a(34189),i=a(93967),l=a.n(i);e.default=t=>{let{item:e,value:a,onClick:i}=t;return(0,n.jsxs)("div",{onClick:()=>{i&&i(null==e?void 0:e.id)}
1,className:l()("lg:w-[415px] lg:min-h-[60px]","md:w-[327px] md:min-h-[60px]","w-[355px] min-h-[58px]","py-3","lg:mr-[20px] lg:mb-[20px]","md:mb-[15px] md:mr-[15px]","mb-[10px]","flex","justify-between","rounded-lg","bg-white","border-1","items-center","px-5","hover:opacity-80","transition-all","cursor-pointer"),children:[(0,n.jsx)("label",{className:l()("text-[#043353]","font-bold","pointer-events-none","md:text-[18px]","text-[17px]"),children:e.name}),(0,n.jsx)(c.K,{isSelected:a==(null==e?void 0:e.id),radius:"full",className:"pointer-events-none",classNames:{base:"border-red-500 border-red-500",wrapper:l()("bg-[#EDF1F5]","md:w-[35px] md:h-[35px]","w-[33px] h-[33px]")}})]})}},77740:function(t,e,a){"use strict";a.r(e);var n=a(85893),c=a(87536),i=a(10005);e.default=t=>{let{companies:e,companyId:a,control:l,onChangeCompanyId:o}=t;return(0,n.jsx)("div",{className:"flex flex-wrap justify-center mt-[35px]",children:null==e?void 0:e.map((t,e)=>(0,n.jsx)(c.Qr,{defaultValue:a,control:l,name:"companyId",render:a=>{let{field:{value:c}}=a;return(0,n.jsx)(i.default,{value:c,item:t,onClick:t=>{o(t)}},e)}},e))})}},95803:function(t,e,a){"use strict";a.r(e);var n=a(11163),c=a(87536),i=a(82191),l=a(28399),o=a(54443),r=a(80537),s=a(67294),d=a(47041),m=a(30781),u=a(67421),p=a(19034),x=a.n(p),f=a(54764),h=a.n(f);e.default=()=>{let{handleSubmit:t,control:e,getValues:p,setValue:f,watch:g}=(0,c.cI)(),v=(0,n.useRouter)(),b=(0,o.TL)(),[y,P]=(0,s.useState)(!1),{i18n:Z}=(0,u.$G)(),w=async t=>{if(!t){let t=(0,d.getCookie)(m.R.DEVICE_LANGUAGE)||"tr";try{let{default:e}=await Promise.resolve().then(a.bind(a,57004));await e.updateLanguage("tr"===t?"tr-TR":"en-US")}catch(t){console.error("Failed to update language on server:",t)}return}let e=t.split("-")[0];Z.changeLanguage(e),(0,d.setCookie)(m.R.DEVICE_LANGUAGE,e,{sameSite:"none",secure:!0}),x().locale(e),h().locale(e),document&&(document.documentElement.lang=e)};return{clickButton:async()=>{P(!0);try{var t;await i.Z.loginWithOTP({phoneNumber:null==v?void 0:v.query.phone,otpCode:null==v?void 0:v.query.otpCode,companyId:p("companyId")}),(null==v?void 0:null===(t=v.query)||void 0===t?void 0:t.rememberMe)&&(0,d.setCookie)(m.R.PHONE_NUMBER,null==v?void 0:v.query.phone,{sameSite:"none",secure:!0});let e=await i.Z.getMe();await b((0,l.av)(e)),await b((0,r.Tv)()),await w(null==e?void 0:e.locale),v.push("/home")}catch(t){}P(!1)},isLoading:y,handleSubmit:t,control:e,getValues:p,setValue:f,watch:g,router:v}}}},function(t){t.O(0,[8043,4189,7536,2888,9774,179],function(){return t(t.s=96405)}),_N_E=t.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.