1import{L as Oe}from"./candidate-e914995d.js";import{g as ze}from"./consideration.api-e2599891.js";import{g as Je}from"./dashboard.api-50d76768.js";import{g as Ge,a as He,b as xe}from"./favorites.api-6aa07a6f.js";import{r as Ye,A as Ke}from"./AdBanner-042d4335.js";import{A as qe}from"./index-036f8f2c.js";import{B as me}from"./Button-9dc74d29.js";import{l as Qe,r as Xe,C as Fe}from"./Carousel-2fa4a6b3.js";import Ae from"./ContentWithEmptyState-f97b3e2c.js";import{S as Ze,M as et,a as De,c as Pe,t as tt,o as at}from"./MessageSummaryCard-b8d2ee76.js";import{A as ot}from"./AgentInterviewGuideModal-1c9fdc75.js";import{a as st,A as nt}from"./AgentServiceGuideModal-a09ff8a7.js";import{E as it}from"./constants-473ef558.js";import{M as lt,a as ut}from"./Modal-9f645830.js";import{_ as Z}from"./plugin-vue_export-helper-c27b6911.js";import{d as K,f as j,o as d,b as U,w as L,a as o,n as _,u as Y,g as S,j as g,x as be,c as b,F as O,k as x,t as W,r as rt,h as X,p as ke,i as Ee,m as he,q as Se,G as dt,l as Te,e as se,K as ne,V as ct,W as mt,X as pt}from"./authMe-2da8f4c0.js";import{P as gt}from"./PlatformDirectModal-bcce2bf8.js";import{S as fe}from"./SectionTitle-d2ffdebb.js";import{S as Ne,N as ft,P as Ve,A as Ue}from"./autoplay-ffeafb17.js";import{J as vt}from"./JobCard-4bd55eed.js";import{R as _t}from"./RegistrationModal-cd5ed212.js";import{T as bt}from"./index-6ea3a47e.js";import{t as ve,i as Ie,u as yt,a as ht}from"./useTopAuthInteractions-8e7d1692.js";import{j as ye,a as _e}from"./jobsPaths-358144c4.js";import"./http.service-a1b723e1.js";import"./_commonjsHelpers-de833af9.js";import"./configs-eafd8bea.js";import"./banner-w2-0727ec35.js";import"./image-empty-8fa4de52.js";import"./useWelcomeGuideDirectActivation-ed9be2ee.js";import"./isCandidateApiCodeSuccess-0724a5fb.js";import"./extractApiErrorMessage-bf8a702d.js";import"./SpaInternalLink-940e5ceb.js";import"./spaNavigation-2d47e049.js";import"./LoadingButton-edb7272b.js";import"./JobCardMedia-15256b46.js";import"./job.api-b8d29733.js";import"./prefectures-6db4ea3b.js";import"./pinia-1355021b.js";import"./eeasy-1f9be8cc.js";import"./proposition.api-7cf8efe6.js";import"./useToast-004f8806.js";import"./toast.store-f6098438.js";import"./jobListToggleState-c0073490.js";const wt="_body_42xtz_2",At="_inner_42xtz_16",Bt="_tightBlock_42xtz_30",Ct="_message_42xtz_37",kt="_subline_42xtz_41",Et="_buttonWrapper_42xtz_45",St="_paragraph_42xtz_54",jt="_b2_42xtz_60",Ft={body:wt,inner:At,tightBlock:Bt,message:Ct,subline:kt,buttonWrapper:Et,paragraph:St,b2:jt},Tt=["href"],It=K({__name:"EeasyMyPageGuideModal",props:{modelValue:{type:Boolean}},emits:["update:modelValue","close"],setup(e,{emit:p}){const r=e,u=j({get:()=>r.modelValue,set:t=>{p("update:modelValue",t)}}),w=()=>{u.value=!1};return(t,n)=>(d(),U(lt,{modelValue:u.value,"onUpdate:modelValue":n[0]||(n[0]=c=>u.value=c),title:"ãã£ãªã¢ã«ã¦ã³ã»ãªã³ã°ã®ãæ¡å
","show-title":!0,"show-title-icon":!0,"title-icon-type":"agent","show-close":!0,"close-on-backdrop":!0,"close-on-esc":!0,"auto-focus":!1,"body-padding":"0","max-width":640,onClose:w},{footer:L(()=>[o("div",{class:_(t.$style.buttonWrapper)},[o("a",{href:Y(it),target:"_blank",rel:"noopener noreferrer",class:"text-decoration-none"},[S(me,{variant:"primary","button-style":"filled"},{default:L(()=>[o("span",{class:_(t.$style.paragraph)},[o("b",{class:_(t.$style.b2)},"æ¥ç¨èª¿æ´ãã",2)],2)]),_:1})],8,Tt)],2)]),default:L(()=>[o("div",{class:_(t.$style.body)},[o("div",{class:_(t.$style.inner)},[o("p",{class:_(t.$style.message)},"ãè»¢è·æ´»åã®ãç¶æ³ã¯ãããã§ããããï¼",2),o("div",{class:_(t.$style.tightBlock)},[o("p",{class:_(t.$style.message)},"ç¾æç¹ã§ããã®è»¢è·ããèãã§ãªãã¨ããæ¹ã§ãã",2),o("p",{class:_(t.$style.message)}," ãã¾ãã¯æ
å ±åéã®ã¿ããå¸å ´æãå¸å ´ä¾¡å¤ãç¥ãããããç¾ç¶ãæ´çãã¦ããããã ",2),o("p",{class:_(t.$style.message)}," ãªã©ããã¾ããããã¾ãã¯ã«ã¸ã¥ã¢ã«ã«ã話ãã§ããã°ã¨åãã¾ãã ",2)],2),o("p",{class:_(t.$style.subline)},"â¼30ç§ã§äºç´å®äºï¼ä»ããæçæ¥ç¨ãã確èªããã ãã¾ãã",2)],2)],2)
1]),_:1},8,["modelValue"]))}}),$t={$style:Ft},Mt=Z(It,[["__cssModules",$t]]);const Rt=e=>(ke("data-v-e118f07a"),e=e(),Ee(),e),Lt={class:"filled-tab__tabs",role:"tablist","aria-label":"ã³ã³ãã³ãåãæ¿ãã¿ã"},Dt=["id","aria-selected","aria-controls","onClick"],Pt={class:"filled-tab__label"},Nt=["id","aria-labelledby"],Vt={class:"filled-tab__placeholder"},Ut={class:"filled-tab__placeholder-title"},Wt=Rt(()=>o("p",{class:"filled-tab__placeholder-text"},"ã³ã³ãã³ããããã«é ç½®ãã¦ãã ããã",-1)),Ot=K({__name:"FilledTab",props:{tabs:{},modelValue:{},equalWidthOnMobile:{type:Boolean,default:!0},beforeChange:{}},emits:["update:modelValue","change"],setup(e,{emit:p}){const r=e,u=j(()=>r.tabs||[]),t=g((()=>{var a;return r.modelValue&&u.value.some(h=>h.id===r.modelValue)?r.modelValue:((a=u.value[0])==null?void 0:a.id)??""})());be(()=>r.modelValue,a=>{a&&u.value.some(h=>h.id===a)&&(t.value=a)}),be(u,a=>{var h;a.some(l=>l.id===t.value)||(t.value=((h=a[0])==null?void 0:h.id)??"")},{deep:!0});const n=j(()=>t.value),c=j(()=>u.value.find(a=>a.id===n.value)),s=j(()=>{switch(u.value.length){case 2:return"filled-tab--double";case 3:return"filled-tab--triple";default:return""}}),F=a=>{var h;a!==n.value&&u.value.some(l=>l.id===a)&&((h=r.beforeChange)==null?void 0:h.call(r,a))!==!1&&(t.value=a,p("update:modelValue",a),p("change",a))};return(a,h)=>(d(),b("div",{class:_(["filled-tab",s.value,{"filled-tab--mobile-full":a.equalWidthOnMobile}])},[o("div",Lt,[(d(!0),b(O,null,x(u.value,l=>(d(),b("button",{id:`filled-tab-${l.id}`,key:l.id,type:"button",class:_(["filled-tab__tab",{"is-active":l.id===n.value}]),role:"tab","aria-selected":l.id===n.value,"aria-controls":`filled-tab-panel-${l.id}`,onClick:I=>F(l.id)},[o("span",Pt,W(l.label),1)],10,Dt))),128))]),c.value?(d(),b("div",{key:0,id:`filled-tab-panel-${c.value.id}`,class:"filled-tab__panel",role:"tabpanel","aria-labelledby":`filled-tab-${c.value.id}`},[rt(a.$slots,"default",{activeTab:c.value},()=>[o("div",Vt,[o("p",Ut,W(c.value.label),1),Wt])],!0)],8,Nt)):X("",!0)],2))}}),Be=Z(Ot,[["__scopeId","data-v-e118f07a"]]),zt="/vite-pro/assets/action-list-toggle-3418ae1f.svg",Jt="/vite-pro/assets/card-next-847b7040.svg",Gt=[{key:"jobEntry",title:"æ±äººä¼å¡ç»é²",description:"伿¥ããç´æ¥ã¹ã«ã¦ããå±ãããã«ï¼"},{key:"agentService",title:"ã¨ã¼ã¸ã§ã³ããµã¼ãã¹ç»é²",description:"è·åçµæ´æ¸ã®æ¸ãæ¹æ¯æ´ããã£ãªã¢ã®æ£å¸ããæ±äººã®é¸å®ãªã©å¹ åºããµãã¼ã"},{key:"basicInfo",title:"åºç¤æ å ±ã®ç»é²",description:`伿¥ã¹ã«ã¦ããå±ããããï¼ 2ã¨ã¼ã¸ã§ã³ãããã®ç´¹ä»æ±äººã®ç²¾åº¦ãé«ã¾ãï¼`},{key:"agentInterview",title:"ã¨ã¼ã¸ã§ã³ãã¨ã®é¢è«",description:"æ å½ã³ã³ãµã«ã¿ã³ãã¨ã®é¢è«æ¥ç¨ãè¨å®ï¼"}],Ht="_container_15efc_22",xt="_header_15efc_40",Yt="_headerTitle_15efc_47",Kt="_toggleButton_15efc_52",qt="_rotated_15efc_71",Qt="_actionList_15efc_75",Xt="_isClosed_15efc_87",Zt="_actionListLoading_15efc_98",ea="_actionListLoadingSpinner_15efc_108",ta="_item_15efc_125",aa="_labelWrap_15efc_146",oa="_titleWrap_15efc_153",sa="_title_15efc_153",na="_descriptionWrap_15efc_163",ia="_description_15efc_163",la="_linkIcon_15efc_174",ua={container:Ht,header:xt,headerTitle:Yt,toggleButton:Kt,rotated:qt,actionList:Qt,isClosed:Xt,actionListLoading:Zt,actionListLoadingSpinner:ea,"action-list-spinner-rotate":"_action-list-spinner-rotate_15efc_1",item:ta,labelWrap:aa,titleWrap:oa,title:sa,descriptionWrap:na,description:ia,linkIcon:la},ra=["aria-expanded"],da=["src"],ca=["onClick"],ma=["src"],pa=K({__name:"ActionList",props:{visibleActions:{},userPlatform:{},shouldShowStepsRegistration:{type:Boolean},loading:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:p}){const r=e,u=`top-auth-action-list-${crypto.randomUUID()}`,w=g(!0),t=j(()=>{const s=r.userPlatform,F=r.shouldShowStepsRegistration===!0,a={jobEntry:s==="agent",agentService:s==="direct",basicInfo:F,agentInterview:s==="agent"||s==="both",...r.visibleActions};return Gt.filter(h=>a[h.key])}),n=()=>{w.value=!w.value},c=s=>{p("select",s.key)};return(s,F)=>(d(),b("div",{class:_(s.$style.container)},[o("div",{class:_(s.$style.header)},[o("b",{class:_(s.$style.headerTitle)},"è»¢è·æ´»åãããè¯ãããããã®ã¢ã¯ã·ã§ã³",2),o("button",{class:_([s.$style.toggleButton,{[s.$style.rotated]:!w.value}]),type:"button","aria-expanded":w.value,"aria-controls":u,onClick:n},[o("img",{src:Y(zt),alt:"ã¢ã¯ã·ã§ã³ãªã¹ãã®éé"},null,8,da)],10,ra)],2),s.loading?(d(),b("div",{key:0,class:_(s.$style.actionListLoading),"aria-busy":"true","aria-live":"polite"},[o("div",{class:_(s.$style.actionListLoadingSpinner),role:"status"},null,2)],2)):(d(),b("div",{key:1,id:u,class:_([s.$style.actionList,{[s.$style.isClosed]:!w.value}])},[(d(!0),b(O,null,x(t.value,a=>(d(),b("button",{key:a.key,class:_(s.$style.item),type:"button",onClick:h=>c(a)},[o("div",{class:_(s.$style.labelWrap)},[o("div",{class:_(s.$style.titleWrap)},[o("b",{class:_(s.$style.title)},W(a.title),3)],2),a.description?(d(),b("div",{key:0,class:_(s.$style.descriptionWrap)},[o("div",{class:_(s.$style.description)},W(a.description),3)],2)):X("",!0)],2),o("img",{class:_(s.$style.linkIcon),src:Y(Jt),alt:"ãªã³ã¯å ã¸"},null,10,ma)],10,ca))),128))],2))],2))}}),ga={$style:ua},fa=Z(pa,[["__cssModules",ga]]);const je=e=>(ke("data-v-c7d606e4"),e=e(),Ee(),e),va={class:"agent-recommend-card"},_a={class:"agent-comment-card__header"},ba={class:"agent-comment-card__avatar-wrapper"},ya=["src"],ha=je(()=>o("div",{class:"agent-comment-card__avatar-ring"},null,-1)),wa=je(()=>o("div",{class:"agent-comment-card__title"},[o("p",{class:"agent-comment-card__role"},"æ±äººæ å½ã¹ã¿ãã"),o("p",{class:"agent-comment-card__name"},"ãããããã¤ã³ã")],-1)),Aa={class:"agent-comment-card__body"}
2,Ba={key:0,class:"agent-comment-card__desktop-link-space","aria-hidden":"true"},Ca=je(()=>o("span",{class:"agent-comment-card__pointer","aria-hidden":"true"},null,-1)),Ce=72,ka=640,Ea=K({__name:"AgentRecommendJobCard",props:{item:{}},setup(e){const p=e,r=ut,u=g(null),w=g(null),t=g(!1),n=g(typeof window>"u"?1024:window.innerWidth),c=g(0),s=g(0),F=g(!1),a=g(p.item.comment);let h=0;const l=j(()=>n.value>=ka),I=j(()=>l.value?Number.POSITIVE_INFINITY:80),f=g(null),k=j(()=>!l.value&&t.value),E=j(()=>c.value>Ce+1||p.item.comment.length>I.value),B=j(()=>F.value&&!!p.item.job.href),T=j(()=>l.value?F.value:E.value),N=j(()=>k.value?Math.max(c.value,Ce):Ce),z=()=>{n.value=typeof window>"u"?1024:window.innerWidth},V=()=>{var v;s.value=((v=w.value)==null?void 0:v.offsetHeight)??0},J=()=>{const v=++h;a.value=p.item.comment,F.value=!1,!(!u.value||!l.value)&&ne(async()=>{const H=u.value;if(!H||v!==h||!(H.scrollHeight>H.clientHeight+1))return;F.value=!0,await ne();const te=u.value;if(!te||v!==h)return;let le=0,q=p.item.comment.length,pe="â¦";for(;le<=q;){const ue=Math.floor((le+q)/2),ge=`${p.item.comment.slice(0,ue)}â¦`;if(a.value=ge,await ne(),v!==h)return;te.scrollHeight<=te.clientHeight+1?(pe=ge,le=ue+1):q=ue-1}a.value=pe})},G=()=>{if(!u.value)return;const v=u.value,H=v.style.webkitLineClamp,ee=v.style.maxHeight;v.style.webkitLineClamp="unset",v.style.maxHeight="none",c.value=v.scrollHeight,v.style.webkitLineClamp=H,v.style.maxHeight=ee},M=()=>{z(),V(),ne(()=>{if(l.value){J();return}F.value=!1,a.value=p.item.comment,G()})};he(()=>{M(),window.addEventListener("resize",M),typeof ResizeObserver<"u"&&w.value&&(f.value=new ResizeObserver(()=>{M()}),f.value.observe(w.value))}),Se(()=>{var v;window.removeEventListener("resize",M),f.value&&w.value&&f.value.unobserve(w.value),(v=f.value)==null||v.disconnect()}),be(()=>p.item.comment,()=>{t.value=!1,M()});const i=()=>{l.value||(t.value=!t.value,M())},A=j(()=>l.value?a.value:k.value||!T.value?p.item.comment:`${p.item.comment.slice(0,I.value)}â¦`),m=j(()=>l.value&&s.value>0?{height:`${s.value}px`}:{}),$=j(()=>({"--comment-max-height":`${N.value}px`}));return(v,H)=>{const ee=dt("RouterLink");return d(),b("div",va,[o("div",{class:"agent-comment-card",style:Te(m.value)},[o("div",_a,[o("div",ba,[o("img",{class:"agent-comment-card__avatar",src:Y(r),alt:""},null,8,ya),ha]),wa]),o("div",Aa,[o("p",{ref_key:"commentRef",ref:u,class:_(["agent-comment-card__comment",{"is-expanded":k.value,"is-desktop-clamped":B.value}]),style:Te($.value)},[se(W(A.value)+" ",1),B.value?(d(),b("span",Ba," ç¶ããèªã ")):X("",!0)],6),T.value&&!l.value?(d(),b("button",{key:0,type:"button",class:"agent-comment-card__more",onClick:i},W(k.value?"éãã":"ç¶ããèªã"),1)):X("",!0),B.value?(d(),U(ee,{key:1,class:"agent-comment-card__more",to:v.item.job.href??""},{default:L(()=>[se(" ç¶ããèªã ")]),_:1},8,["to"])):X("",!0)]),Ca],4),o("div",{ref_key:"jobCardRef",ref:w,class:"agent-recommend-card__job-card"},[S(vt,{"company-name":v.item.job.companyName,"job-title":v.item.job.jobTitle,"prefecture-names":v.item.job.prefectureNames,"occupation-descriptions":v.item.job.occupationDescriptions,"industry-names":v.item.job.industryNames,skills:v.item.job.skills,"wage-min":v.item.job.wageMin,"wage-max":v.item.job.wageMax,"image-url":v.item.job.imageUrl,"image-alt":v.item.job.imageAlt,"show-image-wrapper":v.item.job.showImageWrapper,href:v.item.job.href,"show-new-chip":v.item.job.showNewChip,"outline-button-active":v.item.job.outlineButtonActive,"on-bookmark":v.item.job.onBookmark,"on-apply":v.item.job.onApply,"show-apply-button":!0,"action-type":"detail-only"},null,8,["company-name","job-title","prefecture-names","occupation-descriptions","industry-names","skills","wage-min","wage-max","image-url","image-alt","show-image-wrapper","href","show-new-chip","outline-button-active","on-bookmark","on-apply"])],512)])}}}),Sa=Z(Ea,[["__scopeId","data-v-c7d606e4"]]);const ja=e=>(ke("data-v-fdf5c8ac"),e=e(),Ee(),e),Fa={key:0,class:"carousel__loading","aria-busy":"true","aria-live":"polite"},Ta=ja(()=>o("div",{class:"carousel__loading-spinner",role:"status"},null,-1)),Ia=[Ta],$a={key:1,class:"agent-recommend-carousel__empty"},Ma={class:"swiper-wrapper"},Ra={class:"carousel__card-wrapper"},La={class:"carousel__controls"},Da=["src"],Pa={class:"carousel__dots"},Na=["src"],$e=640,Me=1247,Va=K({__name:"AgentRecommendJobCardCarousel",props:{items:{},loading:{type:Boolean,default:!1}},setup(e){const p=e,r=(f,k)=>{let E;return(...B)=>{E&&clearTimeout(E),E=setTimeout(()=>
2f(...B),k)}},u=g(null),w=g(null),t=g(null),n=g(null),c=g(null),s=g(!0),F=(f,k)=>{const E=B=>B==null||B===""?void 0:Number(B);return{wageMin:E(f),wageMax:E(k)}},a=j(()=>p.items.map(f=>{var B,T,N,z,V,J,G,M,i,A,m,$;const{wageMin:k,wageMax:E}=F((B=f.job)==null?void 0:B.wageMin,(T=f.job)==null?void 0:T.wageMax);return{...f,comment:f.comment??"",job:{...f.job,showNewChip:!!((N=f.job)!=null&&N.showNewChip),prefectureNames:((V=(z=f.job)==null?void 0:z.prefectureNames)==null?void 0:V.filter(Boolean))||[],occupationDescriptions:((G=(J=f.job)==null?void 0:J.occupationDescriptions)==null?void 0:G.filter(Boolean))||[],industryNames:((i=(M=f.job)==null?void 0:M.industryNames)==null?void 0:i.filter(Boolean))||[],skills:((m=(A=f.job)==null?void 0:A.skills)==null?void 0:m.filter(Boolean))||[],wageMin:k,wageMax:E,showImageWrapper:(($=f.job)==null?void 0:$.showImageWrapper)??!0}}})),h=()=>{const f=a.value.length,k=B=>Math.max(1,Math.min(B,f||1));return{currentSlidesPerView:(()=>{const B=window.innerWidth;return B>=Me?k(2):(B>=$e,k(1))})(),base:{slidesPerView:k(1),spaceBetween:10},breakpoints:{[$e]:{slidesPerView:k(1),spaceBetween:12,centeredSlides:f===1},[Me]:{slidesPerView:k(2),spaceBetween:16,centeredSlides:f===1}}}},l=()=>{if(!u.value)return;c.value&&c.value.destroy(!0,!0);const{currentSlidesPerView:f,base:k,breakpoints:E}=h(),B=a.value.length,T=B>f;s.value=T;const N=B===1;c.value=new Ne(u.value,{modules:[ft,Ve,Ue],...k,loop:T,allowTouchMove:T,centeredSlides:N,navigation:{nextEl:t.value,prevEl:w.value,enabled:T},pagination:{el:n.value,clickable:T,enabled:T},breakpoints:E})},I=r(l,250);return he(()=>{p.loading||l(),window.addEventListener("resize",I)}),be(()=>p.loading,f=>{f||ne(l)}),Se(()=>{window.removeEventListener("resize",I),c.value&&c.value.destroy(!0,!0)}),(f,k)=>(d(),b("div",{class:_(["carousel",{"carousel--single-slide":a.value.length===1}])},[f.loading?(d(),b("div",Fa,Ia)):a.value.length===0?(d(),b("p",$a," ã¨ã¼ã¸ã§ã³ãããã®ããããæ±äººã¯ããã¾ããã ")):(d(),b("div",{key:2,ref_key:"swiperRef",ref:u,class:"swiper"},[o("div",Ma,[(d(!0),b(O,null,x(a.value,(E,B)=>(d(),b("div",{key:E.id||B,class:"swiper-slide"},[o("div",Ra,[S(Sa,{item:E},null,8,["item"])])]))),128))]),ct(o("div",La,[o("button",{ref_key:"prevRef",ref:w,class:"carousel__nav-btn",type:"button","aria-label":"åã¸"},[o("img",{src:Y(Qe),alt:"åã¸"},null,8,Da)],512),o("div",Pa,[o("div",{ref_key:"paginationRef",ref:n,class:"swiper-pagination"},null,512)]),o("button",{ref_key:"nextRef",ref:t,class:"carousel__nav-btn",type:"button","aria-label":"次ã¸"},[o("img",{src:Y(Xe),alt:"次ã¸"},null,8,Na)],512)],512),[[mt,s.value]])],512))],2))}}),Ua=Z(Va,[["__scopeId","data-v-fdf5c8ac"]]),Wa="/vite-pro/assets/banner-referral-dd7d8317.webp",Oa="/vite-pro/assets/banner-guide-c98b7f09.webp",za="/vite-pro/assets/banner-ef-90d52b8c.webp",Ja="__FEATURED_BANNER__",Ga=2e3,Ha=()=>{if(typeof window>"u")return;const e=window[Ja];if(!(!(e!=null&&e.image_path)||!(e!=null&&e.link_url)))return{id:"featured-banner",imageUrl:e.image_path,alt:e.company_name?`${e.company_name} åºåããã¼`:"åºåããã¼",linkUrl:e.link_url,linkTarget:e.link_target,linkRel:e.link_rel}},xa=Ye(),Ya=[{id:"referral",imageUrl:Wa,alt:"ãåéç´¹ä»ã®ãæ¡å
",modalTarget:"#referralModal",ariaLabel:"ãåéç´¹ä»ã®ãæ¡å
ãéã"},{id:"job-change-guide",imageUrl:Oa,alt:"è·åçµæ´æ¸ã®æ¸ãæ¹",linkUrl:"https://se-navi.jp/media/job-change/",linkTarget:"_blank",linkRel:"noopener noreferrer"},{id:"freelance-offer",imageUrl:za,alt:"ããªã¼ã©ã³ã¹å¯æ¥æ¡ä»¶ãªãã¨ã³ã¸ãã¢ãã¡ã¯ããªã¼",linkUrl:"https://www.engineer-factory.com",linkTarget:"_blank",linkRel:"noopener noreferrer"},{id:"fair-6293",imageUrl:"https://se-navi.jp/media/wp-content/uploads/6293_ec.png",alt:"ITã»Webæ¥ç 転è·ãã§ã¢éå¬ä¸",linkUrl:"https://se-navi.jp/media/6293/",linkTarget:"_blank",linkRel:"noopener noreferrer"},{id:"engineer-6885",imageUrl:"https://se-navi.jp/media/wp-content/uploads/6885_ec.png",alt:"æªçµé¨ããç®æãã¨ã³ã¸ãã¢ç¹é",linkUrl:"https://se-navi.jp/media/6885/",linkTarget:"_blank",linkRel:"noopener noreferrer"}],Re=[...xa,...Ya];const Ka={class:"banner-carousel"},qa={class:"swiper-wrapper"},Qa=["data-bs-target","aria-label"],Xa=["src","alt"],Za=["href","target","rel"],eo=["src","alt"],to=K({__name:"BannerCarousel",setup(e){const p=g(null),r=g(null),u=g(null),w=Ha(),t=a=>{var f;const h=a.modalTarget?a.modalTarget.startsWith("#")?a.modalTarget:`#${a.modalTarget}`:void 0,l=(f=a.linkUrl)==null?void 0:f.startsWith("http"),I=a.linkTarget??(l?"_blank":"_self");return{...a,modalTarget:h,linkTarget:I,linkRel:a.linkRel??(I==="_blank"?"noopener noreferrer":void 0)}},n=j(()=>(w?[w,...Re]:[...Re]).map(h=>t(h))),c=(a,h)=>{let l;return(...I)=>{l&&clearTimeout(l),l=setTimeout(()=>a(...I),h)}},s=()=>
2{if(!p.value||!r.value)return;u.value&&u.value.destroy(!0,!0);const a=n.value.length>1;u.value=new Ne(p.value,{modules:[Ue,Ve],slidesPerView:1,spaceBetween:12,speed:600,loop:a,grabCursor:!0,pagination:{el:r.value,clickable:!0},autoplay:a?{delay:Ga,disableOnInteraction:!1}:!1,breakpoints:{640:{slidesPerView:2,slidesPerGroup:1},1e3:{slidesPerView:3,slidesPerGroup:1}},observer:!0,observeParents:!0})},F=c(()=>s(),250);return he(async()=>{await ne(),s(),window.addEventListener("resize",F)}),Se(()=>{window.removeEventListener("resize",F),u.value&&(u.value.destroy(!0,!0),u.value=null)}),(a,h)=>(d(),b("div",Ka,[o("div",{ref_key:"swiperEl",ref:p,class:"swiper"},[o("div",qa,[(d(!0),b(O,null,x(n.value,l=>(d(),b("div",{key:l.id,class:"swiper-slide"},[l.modalTarget?(d(),b("button",{key:0,class:"banner-carousel__button",type:"button","data-bs-toggle":"modal","data-bs-target":l.modalTarget,"aria-label":l.ariaLabel??`${l.alt}ãéã`},[o("img",{src:l.imageUrl,alt:l.alt,class:"banner-carousel__image",loading:"lazy"},null,8,Xa)],8,Qa)):(d(),b("a",{key:1,class:"banner-carousel__link",href:l.linkUrl,target:l.linkTarget,rel:l.linkRel},[o("img",{src:l.imageUrl,alt:l.alt,class:"banner-carousel__image",loading:"lazy"},null,8,eo)],8,Za))]))),128))]),o("div",{ref_key:"paginationEl",ref:r,class:"banner-carousel__pagination"},null,512)],512)]))}}),ao=Z(to,[["__scopeId","data-v-9ab8571e"]]),oo="_sectionLayout_1hykg_33",so="_platformSections_1hykg_37",no="_platformSection_1hykg_37",io="_actionListWrapper_1hykg_49",lo="_sectionLoading_1hykg_65",uo="_sectionLoadingSpinner_1hykg_73",ro="_agentRecommendLoading_1hykg_90",co="_agentRecommendLoadingSpinner_1hykg_98",mo="_directAgentRecommendCta_1hykg_110",po="_directAgentRecommendBody_1hykg_132",go="_directAgentRecommendHint_1hykg_139",fo={sectionLayout:oo,platformSections:so,platformSection:no,actionListWrapper:io,sectionLoading:lo,sectionLoadingSpinner:uo,"section-loading-spin":"_section-loading-spin_1hykg_1",agentRecommendLoading:ro,agentRecommendLoadingSpinner:co,directAgentRecommendCta:mo,directAgentRecommendBody:po,directAgentRecommendHint:go},vo={class:"d-flex flex-column gap-2"},_o={key:1,class:"d-flex flex-column gap-3"},bo={class:"d-flex flex-column gap-3"},yo={class:"d-flex flex-column gap-3"},ho=K({__name:"TopAuthView",props:{announcements:{},agentRecommendItems:{},messageTabs:{},messageItemsByTab:{},messageEmptyStateByTab:{},favoriteTabs:{},favoriteItemsByTab:{},jobsTabs:{},jobsItemsByTab:{},shouldShowStepsRegistration:{type:Boolean},dashboardLoading:{type:Boolean},favoriteSectionLoadingByTab:{},userPlatform:{},showEeasyMyPageGuideModal:{type:Boolean}},emits:["update:showEeasyMyPageGuideModal","registration-completed"],setup(e,{emit:p}){const r=e,u=i=>{var A;return!!r.dashboardLoading||!!((A=r.favoriteSectionLoadingByTab)!=null&&A[i])},w=g(!1),t=g(!1),n=g(!1),c=g(!1),s=j(()=>r.userPlatform==="direct"),F=j(()=>s.value?["message","agentRecommend"]:["agentRecommend","message"]),a=j(()=>r.userPlatform==="agent"?"agent":void 0),h=j(()=>r.userPlatform==="agent"?"considering":void 0),l=()=>{n.value=!0},I=()=>{localStorage.setItem("prePathOfTeaser",`${window.location.pathname}${window.location.search}`)},f=i=>{(i.button===0||i.button===1)&&I()},k=async()=>{p("registration-completed")},E=i=>(r.messageItemsByTab[i]||[]).slice(0,3),B=i=>{var A;return((A=r.messageEmptyStateByTab)==null?void 0:A[i])??(i==="agent"?De(!1):Pe(!1))},T=i=>(r.favoriteItemsByTab[i]||[]).map(A=>({...A,actionType:"detail-only"})),N=i=>(r.jobsItemsByTab[i]||[]).map(A=>({...A,actionType:"detail-only"})),z=i=>{switch(i){case"scout":return"伿¥ã¹ã«ã¦ãæ±äººã¯ããã¾ããã";case"agent":return"ã¨ã¼ã¸ã§ã³ãæ±äººã¯ããã¾ããã";case"history":return"é²è¦§å±¥æ´ã®æ±äººã¯ããã¾ããã";default:return"æ±äººã¯ããã¾ããã"}},V=()=>{t.value=!0},J=i=>r.userPlatform==="direct"&&i==="agent"?(l(),!1):r.userPlatform==="agent"&&i==="direct"?(V(),!1):!0,G=i=>r.userPlatform==="direct"&&i==="considering"?(l(),!1):r.userPlatform==="agent"&&i==="favorites"?(V(),!1):!0,M=i=>{var m;const A={basicInfo:()=>{w.value=!0},jobEntry:()=>{V()},agentService:()=>{l()},agentInterview:()=>{c.value=!0}};(m=A[i])==null||m.call(A)};return(i,A)=>(d(),b("div",{class:_(["d-flex flex-column",i.$style.sectionLayout])},[o("div",vo,[(d(!0),b(O,null,x(i.announcements,m=>(d(),U(qe,{id:m.id,key:m.id,title:m.title},null,8,["id","title"]))),128))]),o("div",{class:_(i.$style.actionListWrapper)},[S(fa,{"should-show-steps-registration":r.shouldShowStepsRegistration,"user-platform":r.userPlatform,loading:r.dashboardLoading,onSelect:M},null,8,["should-show-steps-registration","user-platform","loading"])],2),o("div",{class:_(i.$style.platformSections)},[(d(!0),b(O,null,x(F.value,m=>(d(),b(O,{key:m},[m==="message"?(d(),b("div",{key:0,"data-testid":"top-auth-section-message",class:_(i.$style.platformSection)},[S(fe,{type:"message"}),S(Be,{tabs:i.messageTabs,"model-value":a.value,"before-change":J},{default:L(({activeTab:$})=>[S(Ae,{items:E($.id),"empty-message":$.id==="agent"?"ã¨ã¼ã¸ã§ã³ãã®é¸èã¯ããã¾ããã":"伿¥ã¹ã«ã¦ãã®é¸èã¯ããã¾ããã",loading:i.dashboardLoading},{empty:L(()=>[B($.id)?(d(),U(Ze,{key:0,content:B($.id),surface:"transparent",tone:"light","button-style":"outlined"},null,8,["content"])):X("",!0)]),default:L(()=>[i.dashboardLoading?(d(),b("div",{key:0,class:_(i.$style.sectionLoading),"aria-busy":"true","aria-live":"polite"},[o("div",{class:_(i.$style.sectionLoadingSpinner),role:"status"},null,2)],2)):(d(),b("div",_o,[(d(!0),b(O,null,x(E($.id),v=>(d(),U(et,pt({key:v.messageId},v),null,16))),128)),S(me,{variant:"primary","button-style":"outlined",to:$.id==="agent"?"/messages?platform=agent":"/messages",class:"align-self-center w-auto text-nowrap"},{default:L(()=>[se(W($.id==="agent"?"ã¨ã¼ã¸ã§ã³ãã®é¸è管çä¸è¦§ãè¦ã":"伿¥ã¹ã«ã¦ãã®é¸è管çä¸è¦§ãè¦ã"),1)]),_:2},1032,["to"])]))]),_:2},1032,["items","empty-message","loading"])]),_:1},8,["tabs","model-value"])],2)):(d(),b("div",{key:1,"data-testid":"top-auth-section-agent-recommend",class:_(i.$style.platformSection)},[S(fe,{type:"agent"}),s.value?(d(),b("div",{key:0,class:_(i.$style.directAgentRecommendCta)},[o("div",{class:_(i.$style.directAgentRecommendBody)},[(d(!0),b(O,null,x(Y(st),$=>(d(),b("p",{key:$,class:_(i.$style.directAgentRecommendHint)},W($),3))),128))],2),S(me,{variant:"primary","button-style":"filled",to:Y(bt),class:"align-self-center rounded-pill px-4",onMousedown:f},{default:L(()=>[se(" ã¨ã¼ã¸ã§ã³ããµã¼ãã¹ã®ãç´¹ä» ")]),_:1},8,["to"])],2)):(d(),U(Ua,{key:1,items:i.agentRecommendItems,loading:i.dashboardLoading},null,8,["items","loading"]))],2))],64))),128))],2),S(Ke),S(fe,{type:"bookmark"}),S(Be,{tabs:i.favoriteTabs,"model-value":h.value,"before-change":G},{default:L(({activeTab:m})=>[S(Ae,{items:T(m.id),"empty-message":m.id==="considering"?"æ¤è¨ä¸ã®æ±äººã¯ããã¾ããã":"æ°ã«ãªãæ±äººã¯ããã¾ããã",loading:u(m.id)},{default:L(()=>[o("div",bo,[(d(),U(Fe,{key:m.id,items:T(m.id),loading:u(m.id),"loading-spinner-theme":"light"},null,8,["items","loading"])),S(me,{variant:"primary","button-style":"outlined",to:m.id==="considering"?"/agent/auth/consideration_jobs":"/favorites/received",class:"align-self-center w-auto text-nowrap"},{default:L(()=>[se(W(m.id==="considering"?"æ¤è¨ä¸ã®æ±äººä¸è¦§ãè¦ã":"æ°ã«ãªãæ±äººä¸è¦§ãè¦ã"),1)]),_:2},1032,["to"])])]),_:2},1032,["items","empty-message","loading"])]),_:1},8,["tabs","model-value"]),S(fe,{type:"jobs"}),S(Be,{tabs:i.jobsTabs},{default:L(({activeTab:m})=>[S(Ae,{items:N(m.id),"empty-message":z(m.id),loading:i.dashboardLoading},{default:L(()=>[o("div",yo,[(d(),U(Fe,{key:m.id,items:N(m.id),loading:i.dashboardLoading,"loading-spinner-theme":"light"},null,8,["items","loading"])),m.id!=="history"?(d(),U(me,{key:0,variant:"primary","button-style":"outlined",to:m.id==="agent"?"/jobs/agent":"/jobs/direct",class:"align-self-center w-auto text-nowrap"},{default:L(()=>[se(W(m.id==="agent"?"ã¨ã¼ã¸ã§ã³ãæ±äººã®ä¸è¦§ãè¦ã":"伿¥ã¹ã«ã¦ãæ±äººã®ä¸è¦§ãè¦ã"),1)]),_:2},1032,["to"])):X("",!0)])]),_:2},1032,["items","empty-message","loading"])]),_:1},8,["tabs"]),S(ao,{class:"mt-4"}),S(_t,{modelValue:w.value,"onUpdate:modelValue":A[0]||(A[0]=m=>w.value=m),"should-show-steps-registration":i.shouldShowStepsRegistration,"on-submit":k},null,8,["modelValue","should-show-steps-registration"]),S(gt,{modelValue:t.value,"onUpdate:modelValue":A[1]||(A[1]=m=>t.value=m)},null,8,["modelValue"]),S(nt,{modelValue:n.value,"onUpdate:modelValue":A[2]||(A[2]=m=>n.value=m)},null,8,["modelValue"]),S(ot,{modelValue:c.value,"onUpdate:modelValue":A[3]||(A[3]=m=>c.value=m)},null,8,["modelValue"]),S(Mt,{"model-value":r.showEeasyMyPageGuideModal??!1,"onUpdate:modelValue":A[4]||(A[4]=m=>p("update:showEeasyMyPageGuideModal",m))},null,8,["model-value"])],2))}}),wo={$style:fo}
2,Ao=Z(ho,[["__cssModules",wo]]),Bo=e=>{switch(e){case 1:return"é¸èçµäº";case 3:return"ã¨ã¼ã¸ã§ã³ã確èªä¸";case 34:return"å
å®";default:return e>=24&&e<=33?"颿¥çµæå¾
ã¡":"é¸èä¸"}},Co=e=>{switch(e){case 1:return"ãã¡ãã®é¸èã¯çµäºãã¦ããã¾ãã";case 3:return"ç¾å¨ã¨ã¼ã¸ã§ã³ãã確èªãã¦ããã¾ãã確èªã§ã次第ãæ
å½è
ãããé£çµ¡ãããã¾ãã";case 34:return"ãã¡ãã®é¸èã¯å
å®ã¨ãªãã¾ãããããã§ã¨ããããã¾ãã";default:return e>=24&&e<=33?"ãã¡ãã®é¸èã¯ç¾å¨ã颿¥ã®çµæå¾
ã¡ã§ããã¨ã¼ã¸ã§ã³ããããé£çµ¡ãããã¾ãã®ã§ãä»ãã°ãããå¾
ã¡ä¸ããã":"é¸èãé²è¡ä¸ã§ãã"}},ko=e=>({companyName:e.company_name??"",messageTitle:e.message_title??"é¸èã®ãæ¡å
",messageSnippet:e.job_title??"ã¡ãã»ã¼ã¸ãã確èªãã ããã",messageId:e.id,isUnread:e.is_unread,detailPathPrefix:"/messages",replyStatus:e.is_unreplied?"unreplied":"replied",variant:e.is_unreplied?"tinted":"plain",propositionStatus:tt(e.action_type??null),isAgent:!1}),Eo=(e,p)=>{var t,n,c,s;const r=((t=e.occupation_descriptions)!=null&&t.length?e.occupation_descriptions.join("ã"):null)??((n=e.industry_names)!=null&&n.length?e.industry_names.join("ã"):null)??"é¸èãé²è¡ä¸ã§ãã",u=p?Bo(e.current_stage_id):((c=e.job)==null?void 0:c.name)??"é¸èã®ãæ¡å
",w=p?Co(e.current_stage_id):r.slice(0,80);return{companyName:((s=e.company)==null?void 0:s.name)??"",messageTitle:u,messageSnippet:w,messageId:e.id,detailPathPrefix:"/messages",detailPathQuery:p?"?platform=agent":void 0,variant:"tinted",propositionStatus:at(e.current_stage_id),isAgent:p}},We=e=>{if(e==="company_favorite")return"company";if(e==="candidate_favorite")return"candidate";if(e==="matching_favorite"||e==="matching")return"matching"},ie=e=>{if(e)return Math.round(e/1e4)},So=e=>{const p=We(e.favorite_status);return{id:e.job_id,company:e.company_name,title:e.job_title,href:ye(e.job_id),prefectureNames:[e.prefecture_name],occupationDescriptions:e.occupations,industryNames:e.industries,skills:e.skills,wageMin:ie(e.min_income),wageMax:ie(e.max_income),imageUrl:e.image_url??void 0,platform:"direct",...p!=null&&{favoriteCategory:p}}},jo=e=>{const p=We(e.favorite_status);return{id:e.job_id,company:e.company_name,title:e.job_title,href:ye(e.job_id),prefectureNames:[e.prefecture_name??""],occupationDescriptions:e.occupations,industryNames:e.industries,skills:e.skills,wageMin:ie(e.min_income),wageMax:ie(e.max_income),imageUrl:e.image_url??void 0,platform:"direct",...p!=null&&{favoriteCategory:p}}},Fo=e=>({id:e.job.id,company:e.company.name,title:e.job.name,href:_e(e.job.id),prefectureNames:e.prefecture_names,occupationDescriptions:e.occupation_descriptions,industryNames:e.industry_names,skills:e.skill_names,wageMin:e.job.wage_min??void 0,wageMax:e.job.wage_max??void 0,imageUrl:e.image_url??void 0,platform:"agent"}),To=e=>({id:e.id,title:e.title}),Io=e=>({mapDashboardJobToRecommendItem:t=>{var s;const n=ve(t.job.id),c=t.id??t.job.id;return{id:c,comment:t.job.job_recommendation&&t.job.job_recommendation.trim()||"",job:{companyName:t.company.name,jobTitle:t.job.name,prefectureNames:t.prefecture_names,occupationDescriptions:t.occupation_descriptions,industryNames:t.industry_names??void 0,skills:t.skill_names,wageMin:t.job.wage_min??void 0,wageMax:t.job.wage_max??void 0,imageUrl:t.job.image_url??void 0,href:`/recommended-jobs/${c}`,outlineButtonActive:n==null?!1:((s=e.getConsiderationState(n))==null?void 0:s.active)??!1,onBookmark:async()=>{n!=null&&await e.onToggleConsideration(n)}}}},mapMatchingFlowToCarouselItem:t=>{var c;const n=ve(t.job.id);return{id:t.job.id,company:t.company.name,title:t.job.name,href:_e(t.job.id),prefectureNames:t.prefecture_names,occupationDescriptions:t.occupation_descriptions,industryNames:t.industry_names??void 0,skills:t.skill_names,wageMin:t.job.wage_min,wageMax:t.job.wage_max,platform:"agent",outlineButtonActive:n==null?!1:((c=e.getConsiderationState(n))==null?void 0:c.active)??!1,onBookmark:async()=>{n!=null&&await e.onToggleConsideration(n)}}},mapDashboardJobToCarouselItem:t=>
2{const n=ve(t.job.id),c=n==null?void 0:e.getFavoriteState(n),s=n==null?void 0:e.getConsiderationState(n);return{id:t.job.id,company:t.company.name,title:t.job.name,wageMin:t.job.wage_min??void 0,wageMax:t.job.wage_max??void 0,prefectureNames:t.prefecture_names,occupationDescriptions:t.occupation_descriptions,industryNames:t.industry_names??void 0,skills:t.skill_names,imageUrl:t.job.image_url??void 0,platform:t.is_direct?"direct":"agent",href:t.is_direct?ye(t.job.id):_e(t.job.id),outlineButtonActive:t.is_direct?void 0:(s==null?void 0:s.active)??!1,favoriteButtonActive:t.is_direct?Ie((c==null?void 0:c.favoriteStatus)??null):void 0,onBookmark:n==null?void 0:async()=>{if(t.is_direct){await e.onToggleFavorite(n);return}await e.onToggleConsideration(n)}}},mapRecentlyJobToCarouselItem:t=>{const n=ve(t.id),c=n==null?void 0:e.getFavoriteState(n),s=n==null?void 0:e.getConsiderationState(n);return{id:t.id,company:t.company_name,title:t.title,href:t.platform==="agent"?_e(t.id):ye(t.id),prefectureNames:[t.prefecture_name],occupationDescriptions:t.occupations,industryNames:t.industries,skills:t.skills,wageMin:t.platform==="direct"?ie(t.min_income??null):t.min_income??void 0,wageMax:t.platform==="direct"?ie(t.max_income??null):t.max_income??void 0,imageUrl:t.image_url??void 0,platform:t.platform,outlineButtonActive:t.platform==="agent"?(s==null?void 0:s.active)??!1:void 0,favoriteButtonActive:t.platform==="direct"?Ie((c==null?void 0:c.favoriteStatus)??null):void 0,onBookmark:n==null?void 0:async()=>{if(t.platform==="direct"){await e.onToggleFavorite(n);return}await e.onToggleConsideration(n)}}}}),Le=10,As=K({__name:"TopAuthPage",setup(e){function p(y){const C=y==null?"":String(y).toLowerCase();if(C==="agent")return"agent";if(C==="direct")return"direct";if(C==="both")return"both"}const r=g(!0),u=g({favorites:!1,considering:!1}),w=g([]),t=g([]),n=g({direct:[],agent:[]}),c=g({favorites:[],considering:[]}),s=g({scout:[],agent:[],history:[]}),F=g([]),a=g([]),h=g([]),l=g([]),I=g([]),f=g([]),k=g(!1),E=g(void 0),B=g(void 0),T=g(!1),N=[{id:"direct",label:"伿¥ã¹ã«ã¦ã"},{id:"agent",label:"ã¨ã¼ã¸ã§ã³ã"}],z=[{id:"favorites",label:"æ°ã«ãªãæ±äººãªã¹ã"},{id:"considering",label:"æ¤è¨ä¸ã®æ±äººãªã¹ã"}],V=[{id:"scout",label:"伿¥ã¹ã«ã¦ãæ±äºº"},{id:"agent",label:"ã¨ã¼ã¸ã§ã³ãæ±äºº"},{id:"history",label:"é²è¦§å±¥æ´"}],{considerationByJobId:J,favoriteByJobId:G,isPreCounseling:M,refreshConsiderationState:i,refreshFavoriteState:A,handleToggleConsideration:m,handleToggleFavorite:$}=yt({onConsiderationUpdated:async()=>{await ge(),q()},onFavoriteUpdated:async()=>{await ue(),q()}}),v=j(()=>({direct:Pe(k.value),agent:De(M.value)})),{mapDashboardJobToRecommendItem:H,mapMatchingFlowToCarouselItem:ee,mapDashboardJobToCarouselItem:te,mapRecentlyJobToCarouselItem:le}=Io({getConsiderationState:y=>J.value[y],getFavoriteState:y=>G.value[y],onToggleConsideration:m,onToggleFavorite:$});function q(){t.value=F.value.map(H),c.value={favorites:I.value,considering:f.value},s.value={scout:a.value.map(te),agent:h.value.map(te),history:l.value.map(le)}}function pe(y,C){return y!=="agent"&&y!=="both"?!1:C===!0}async function ue(){var y,C,R,ae,Q,D;u.value={...u.value,favorites:!0};try{const[re,de,ce]=await Promise.allSettled([Ge({page:1}),He({page:1}),xe({page:1})]),oe=[];if(re.status==="fulfilled"&&oe.push(...((C=(y=re.value)==null?void 0:y.data)==null?void 0:C.entries)??[]),de.status==="fulfilled"&&oe.push(...((ae=(R=de.value)==null?void 0:R.data)==null?void 0:ae.entries)??[]),ce.status==="fulfilled"&&oe.push(...((D=(Q=ce.value)==null?void 0:Q.data)==null?void 0:D.entries)??[]),!(re.status==="fulfilled"||de.status==="fulfilled"||ce.status==="fulfilled"))return;I.value=oe.slice(0,Le).map(jo)}finally{u.value={...u.value,favorites:!1}}}async function ge(){var y;u.value={...u.value,considering:!0};try{const C=await ze();ht(M,C==null?void 0:C.data);const R=Array.isArray((y=C==null?void 0:C.data)==null?void 0:y.entries)?C.data.entries:[];f.value=R.slice(0,Le).map(Fo)}finally{u.value={...u.value,considering:!1}}}return he(async()=>{try{const y=await Oe(),C=(y==null?void 0:y.data)??y??{},ae=(C.candidate??C.profile??C).platform,Q=p(ae);Q&&(B.value=Q)}catch{}try{const y=await Je(),C=y&&Number(y.code)===1,R=typeof(y==null?void 0:y.data)=="object"&&y.data!==null?y.data:typeof(y==null?void 0:y.direct_jobs)<"u"?y:null;
2if(C&&R){E.value=R.should_show_steps_registration??!1;const ae=R.maintenance_announcements??[],Q=R.general_announcements??[];w.value=[...ae,...Q].map(To);const D=R;k.value=D.has_available_scouts??!1,D.is_pre_counseling!==void 0&&(M.value=D.is_pre_counseling);const re=(D.recommended_jobs??[]).filter(P=>!!P&&typeof P=="object"&&!!P.job&&!!P.company);F.value=re;const de=D.selection_propositions??[],ce=D.matching_flows??[];n.value={direct:de.map(ko),agent:ce.map(P=>Eo(P,!0))};const oe=(D.consideration_matching_flows??[]).filter(P=>!!(P!=null&&P.job)&&P.job.id!=null&&P.job.name!=null);I.value=(D.favorite_propositions??[]).map(So),f.value=oe.map(ee);const we=R;l.value=Array.isArray(we.recently_jobs)?we.recently_jobs:[],a.value=D.direct_jobs??[],h.value=D.agent_jobs??[],await Promise.all([i(),A()]),q(),pe(B.value,M.value)&&(T.value=!0)}else E.value=!1}catch{E.value=!1}finally{r.value=!1}}),(y,C)=>(d(),U(Ao,{announcements:w.value,"agent-recommend-items":t.value,"message-tabs":N,"message-items-by-tab":n.value,"message-empty-state-by-tab":v.value,"favorite-tabs":z,"favorite-items-by-tab":c.value,"jobs-tabs":V,"jobs-items-by-tab":s.value,"should-show-steps-registration":E.value,"user-platform":B.value,"dashboard-loading":r.value,"favorite-section-loading-by-tab":u.value,"show-eeasy-my-page-guide-modal":T.value,onRegistrationCompleted:C[0]||(C[0]=R=>E.value=!1),"onUpdate:showEeasyMyPageGuideModal":C[1]||(C[1]=R=>T.value=R)},null,8,["announcements","agent-recommend-items","message-items-by-tab","message-empty-state-by-tab","favorite-items-by-tab","jobs-items-by-tab","should-show-steps-registration","user-platform","dashboard-loading","favorite-section-loading-by-tab","show-eeasy-my-page-guide-modal"]))}});export{As as default}; 3//# sourceMappingURL=TopAuthPage-55abcf75.js.map
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.