PageSourceSearch

https://cdn.inflearn.com/monolith/courses/_next/static/chunks/3226-594eca7fadf544b2.js

js inflearn.com collected 2026-09-24 08:40:28 UTC 18,278 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkhostApp_courses=self.webpackChunkhostApp_courses||[]).push([[3226],{4858:function(e,r,t){t.d(r,{n:function(){return ec}});var n=t(86843),i=t(55802),l=t(31237),o=t(84433),a=t(72692),c=t(64476);let s={md:11,sm:10},d=e=>{let{challenge:r,attributionToken:t,onClick:d}=e;return(0,n.Y)(c.i,{onClick:d,challenge:r,attributionToken:t,badges:(0,n.FD)(n.FK,{children:[(0,n.Y)(o.P,{applyClosedAtUTC:r.applyClosedAtUTC,categoryTitle:r.representativeCategory?.title??"",applyEndedAtUTC:r.applyEndedAtUTC,capacity:r.capacity,applicantCount:r.applicantCount,applicantRate:r.applicantRate,color:"gray.9",remainingCount:r.displayRemainingApplicantCount??0,fs:s}),(0,n.Y)(a.Wh,{isFree:r.isFree,isDiscounting:r.isDiscounting,discountRate:r.discountRate??0,color:{primary:"white",secondary:"gray.9"},challengeStatus:r.challengeStatus,fs:s,backgroundColor:{primary:l.b.warning,secondary:i.yK.dark[0]}})]}),title:r.title,instructorName:r.instructor?.name})};var u=t(37718),p=t(85371);function f(e){let r=(0,u.jE)();return t=>{let n=Array.isArray(e)?[e[0]]:e;r.setQueriesData({queryKey:n},e=>(0,p.A)(e)?e:{...e,data:{...e.data,items:e.data.items.map(e=>t(e))}})}}var g=t(85118),h=t(61102),C=t(27584),E=t(74396);let y=e=>{let{children:r,...t}=e;return(0,n.Y)(E.$,{size:"xs",variant:"default",fullWidth:!0,...t,children:r})},A=e=>(0,n.Y)(y,{disabled:!0,rightSection:(0,n.Y)(h.I,{icon:C.QRE}),...e,children:"신청 완료"});var m=t(52827),Y=t(76239),b=t(57910),S=t(39763),T=t(25823),k=t(30777),N=t(54157),_=t(73323);let L=e=>{let{children:r,tracker:t}=e,{open:i}=(0,N.v)(),{data:l}=(0,_.xc)(),{openVerifyPhoneModal:o}=(0,k.lp)(),a=(0,u.jE)(),c=()=>{r.props.onClick(),a.invalidateQueries((0,_.$6)())};return(0,n.Y)(n.FK,{children:(0,T.isValidElement)(r)?(0,T.cloneElement)(r,{onClick:()=>{if((0,p.A)(l)){i();return}if((0,p.A)(l.phone)){o({onVerifySuccess:c,tracker:t});return}r.props.onClick()}}):r})};var I=t(53625),P=t(55738);let v=e=>{let{courseId:r,spot:t="challenge-list"}=e,{trackCourseMixpanelEvent:n,isLoading:i}=(0,P.h)({courseId:r,courseType:I.F8.CHALLENGE});return{trackChallengeListEvent:(0,T.useCallback)((e,r)=>{n(e,{...r,spot:t})},[n]),isLoading:i}},w=e=>{let{courseId:r,onSuccess:t,...i}=e,{showNotification:l}=(0,Y.aV)(),{trackChallengeListEvent:o,isLoading:a}=v({courseId:r}),{mutate:c,isLoading:s}=(0,S.J)({options:{onSuccess:()=>{l({type:"success",title:"오픈 알림 신청 완료",message:"챌린지가 열리면 가장 먼저 안내드릴게요!"}),t?.()},onError:e=>{if(e instanceof m.h&&"INVALID_SUBSCRIBE_TIME"===e.errorCode){l({type:"error",title:"알림 신청 가능한 시간이 아닙니다.",children:(0,n.Y)(n.FK,{children:"모집 알림 신청은 모집 시작 시각으로부터 1시간 전까지만 가능해요."})});return}l({type:"error",title:"일시적인 오류가 발생했습니다.",children:(0,n.Y)(n.FK,{children:"새로고침 후에도 문제가 지속될 경우 고객센터로 문의해주세요."})})}}});return(0,n.Y)(L,{tracker:o,children:(0,n.Y)(y,{...i,loading:a||s,onClick:()=>{c({type:b.gf9.CHALLENGE_APPLY_STARTED,courseId:r})},children:"오픈 알림 신청"})})},D=e=>{let{courseId:r,onSuccess:t,...i}=e,{showNotification:l}=(0,Y.aV)(),{trackChallengeListEvent:o,isLoading:a}=v({courseId:r}),{mutate:c,isLoading:s}=(0,S.J)({options:{onSuccess:()=>{l({type:"success",title:"오픈 알림 신청 완료",message:"새로운 챌린지가 열리면 가장 먼저 안내드릴게요!"}),t?.()},onError:()=>{l({type:"error",title:"일시적인 오류가 발생했습니다.",children:(0,n.Y)(n.FK,{children:"새로고침 후에도 문제가 지속될 경우 고객센터로 문의해주세요."})})}}});return(0,n.Y)(L,{tracker:o,children:(0,n.Y)(y,{...i,loading:a||s,onClick:()=>{c({type:b.gf9.NEW_CHALLENGE_OPENED,courseId:r})},children:"오픈 알림 신청"})})};var R=t(38971),x=t(78451),G=t(63816),O=t(54442),F=t(64847),U=t(47278),H=t(67931),M=t.n(H),B=t(43537),z=t(51343),K=t(26230);let V=M()(()=>Promise.all([t.e(205),t.e(1207),t.e(8572),t.e(8847),t.e(4547),t.e(187),t.e(9963)]).then(t.bind(t,19963)).then(e=>e.ChallengeSurveyModal),{loadableGenerated:{webpack:()=>[19963]},ssr:!1}),$=e=>{let{courseId:r,slug:t,onSuccess:i,title:l,isLiveOngoing:o=!1,spot:a,...c}=e,{trackChallengeListEvent:s,isLoading:d}=v({courseId:r,spot:a}),[u,p]=(0,U.j)(!1),{mutate:f,isLoading:g}=function(e){let{options:r}=e;return(0,b.GFd)({url:b.xE.CLIENT_V1_VOUCHERS_FREE,options:r})}({options:{onSuccess:()=>{s(K.Z.REGISTER_FREE_COURSE),(0,R.GE)({size:"sm",title:(0,n.FD)(x.Y,{gap:8,align:"center",children:[(0,n.Y)(G.j,{w:256,height:24,width:128,src:`${B.EO}/assets/images/challenge/lightning-live.png`,alt:"라이트닝 라이브 로고"}),(0,n.Y)(O.E,{size:"lg",fw:700,styles:{root:{lineHeight:1}},children:"신청 완료"})]}),children:(0,n.FD)(F.B,{gap:16,children:[(0,n.FD)(O.E,{size:"sm",fw:600,styles:{root:{lineHeight:1.6}},children:["“",l,"”"]}),(0,n.FD)(O.E,{size:"sm",c:"gray.7",children:["무료로 챌린지 수강신청을 완료했어요.",(0,n.Y)("br",{}),"챌린지 일정은 커리큘럼에서 자세히 확인할 수 있어요!"]})]}),labels:{confirm:"확인",cancel:"커리큘럼 보기"},confirmProps:{color:"infgreen"},cancelProps:{onClick:()=>{window.open(`${z.tl.CHALLENGE_DETAIL({slug:t})}#curriculum`,"_blank")}},withCloseButton:!0,footerType:"right"}),i?.()}}}),h=()=>{p.close(),f({courseId:r})};return(0,n.FD)(n.FK,{children:[(0,n.Y)(L,{tracker:s,children:(0,n.Y)(y,{...c,loading:d||g,onClick:()=>{s(K.Z.CLICK_STUDY_NOW),p.open()},children:c.disabled?"모집 마감":o?"바로 보기":"무료 신청"})}),u&&(0,n.Y)("div",{onClick:e=>e.stopPropagation(),children:(0,n.Y)(V,{courseId:r,opened:!0,onClose:p.close,onSubmitSuccess:h,onSurveyNotRequired:h})})]})},j={md:11,sm:10},W=e=>{let{challenge:r,onClick:t}=e,l=f((0,g.sN)({}));return(0,n.Y)(c.i,{onClick:t,challenge:r,bg:"gray.0",badges:(0,n.Y)(a.Wh,{isFree:r.isFree,isDiscounting:r.isDiscounting,discountRate:r.discountRate??0,color:{primary:"white",secondary:"dark.6"},challengeStatus:r.challengeStatus,fs:j,backgroundColor:{secondary:i.yK.dark[0]}}),title:r.title,instructorName:r.instructor?.name,cta:r.isAlreadySubscribed?(0,n.Y)(A,{}):(0,n.Y)(D,{courseId:r.id,onSuccess:()=>{l(e=>({...e,isAlreadySubscribed:e.instructor?.id===r.instructor?.id||e.isAlreadySubscribed}))}})})};var q=t(20976),Q=t(59300),J=t.n(Q),Z=t(28149),X=t(8274),ee=t(51402),er=t(14694),et=t(24217),en=t(49280);let ei=e=>{let{challenge:r,onClick:t,spot:l}=e,o=f((0,en.M)({})),{isLaptop:a}=(0,i.il)(),{t:s}=(0,er.Bd)(),d=!(0,p.A)(r.liveSessionStartedAtUTC)&&!(0,p.A)(r.liveSessionEndedAtUTC)&&J()().isAfter(J()(r.liveSessionStartedAtUTC))&&J()().isBefore(J()(r.liveSessionEndedAtUTC)),u=()=>{window.location.href=z.tl.COURSES_LECTURE({courseId:r.id,unitId:"current"})};return(0,n.Y)(c.i,{onClick:t,challenge:r,leftTopSection:(0,p.A)(r.liveSessionStartedAtUTC)?null:d?(0,n.Y)(q.E,{size:a?"md":"lg",variant:"filled",color:"red",px:6,children:(0,n.Y)(O.E,{fw:700,styles:{root:{lineHeight:1}},children:s("LIVE 진행 중")})}):(0,n.Y)(q.E,{size:a?"md":"lg",variant:"dot",color:"red",px:6,children:(0,n.Y)(O.E,{styles:{root:{lineHeight:1}},children:(0,n.Y)(Z.ib,{dateTime:r.liveSessionStartedAtUTC,locale:"k
1o",format:"MM/DD HH:mm"})})}),rightTopSection:(()=>{if(d||(0,p.A)(r.applyEndedAtUTC))return null;let e=J()(r.applyEndedAtUTC).diff(J()(),"hours");return e<0||e>=24?null:(0,n.Y)(et.Ay,{date:J()(r.applyEndedAtUTC).toDate(),onComplete:()=>{},renderer:e=>{let{hours:r,minutes:t,seconds:i,completed:l}=e;return(0,n.Y)(q.E,{size:a?"md":"lg",variant:"filled",color:"pink",px:6,children:(0,n.Y)(O.E,{fw:700,styles:{root:{lineHeight:1}},children:(0,X.A)((0,ee.A)([r,t,i],e=>(l?0:e).toString().padStart(2,"0")),":")})})}})})(),cta:r.isAlreadyApplied||r.isAlreadySubscribed?d?(0,n.Y)(y,{onClick:u,children:s("바로 보기")}):(0,n.Y)(A,{}):J()().isBefore(J()(r.applyStartedAtUTC))?(0,n.Y)(w,{courseId:r.id,onSuccess:()=>o(e=>({...e,isAlreadyApplied:e.id===r.id||e.isAlreadyApplied}))}):(0,n.Y)($,{courseId:r.id,title:r.title,slug:r.slug,disabled:!r.canApply,spot:l,onSuccess:()=>{if(d){u();return}o(e=>({...e,isAlreadyApplied:e.id===r.id||e.isAlreadyApplied}))},isLiveOngoing:d}),title:r.title})},el=e=>"price"in e,eo=e=>"liveSessionStartedAtUTC"in e,ea=e=>el(e)&&e.challengeStatus===b.m2k.COMPLETED,ec=e=>{let{challenge:r,attributionToken:t,onClick:i,spot:l}=e;return eo(r)?(0,n.Y)(ei,{challenge:r,onClick:i,spot:l}):ea(r)?(0,n.Y)(W,{challenge:r,onClick:i}):(0,n.Y)(d,{challenge:r,onClick:i,attributionToken:t})}},9519:function(e,r,t){t.d(r,{O:function(){return o}});var n=t(86843),i=t(30875),l=t(55802);function o(e){let{children:r}=e;return(0,n.Y)(i.a,{component:"ul",css:{display:"grid",columnGap:16,rowGap:24,gridTemplateColumns:"repeat(5, minmax(0, 1fr))",[l.fC.desktop]:{gridTemplateColumns:"repeat(4, minmax(0, 1fr))"},[l.fC.tablet]:{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"},[l.fC.mobile]:{columnGap:8,rowGap:16},[l.fC.smallMobile]:{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},children:r})}},28973:function(e,r,t){t.d(r,{P:function(){return u},o:function(){return d}});var n=t(86843),i=t(43179),l=t(30875),o=t(9971),a=t(64847),c=t(55802),s=t(9519);function d(e){let{count:r=5}=e;return(0,n.Y)(s.O,{children:Array.from({length:r}).map((e,r)=>(0,n.Y)(u,{},r))})}function u(){return(0,n.FD)(o.E,{w:"100%",h:"100%",styles:{root:{borderRadius:8,display:"flex",flexDirection:"column",overflow:"hidden"}},children:[(0,n.Y)(i.g,{ratio:3/1.95,w:"100%",children:(0,n.Y)(l.a,{w:"100%",h:"100%"})}),(0,n.Y)(a.B,{gap:8,w:"100%",justify:"space-between",styles:{root:{flex:1,padding:"8px 10px 16px 10px",[c.fC.tablet]:{padding:"8px 8px 16px 8px"}}},children:(0,n.FD)(a.B,{gap:8,children:[(0,n.FD)(a.B,{gap:4,children:[(0,n.Y)(l.a,{h:20}),(0,n.Y)(l.a,{h:20}),(0,n.Y)(l.a,{h:20})]}),(0,n.Y)(l.a,{h:16})]})})]})}},31237:function(e,r,t){t.d(r,{b:function(){return c},f:function(){return s}});var n=t(86843),i=t(71455),l=t(55802),o=t(30875),a=t(54442);t(71702);let c={default:function(e,r){let[t,n,i]=function(e){let r=e.replace("#",""),t=3===r.length?r.split("").map(e=>e+e).join(""):r;return[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16)]}(e);return`rgba(${t}, ${n}, ${i}, 0.1)`}("#000000",0),warning:l.yK.red[6]},s=e=>{let{children:r,color:t,backgroundColor:c,fs:s,style:d}=e;return(0,n.Y)(o.a,{display:"inline-flex",bg:c,px:6,py:4,css:(0,i.css)([{borderRadius:4,alignItems:"center",justifyContent:"center"},d]),children:(0,n.Y)(a.E,{fw:700,c:t,styles:{root:{fontSize:s.md,lineHeight:"1.4",whiteSpace:"nowrap",[l.fC.tablet]:{width:"auto",fontSize:s.sm}}},children:r})})}},49280:function(e,r,t){t.d(r,{M:function(){return o},k:function(){return l}});var n=t(40644),i=t(57910);function l(e){let{params:r={pageNumber:1,pageSize:10},options:t}=e;return(0,i.eHr)({queryKey:o(r),url:n.A.stringifyUrl({url:i.xE.CLIENT_V1_CHALLENGES_FREE_LIVE,query:r}),options:t})}let o=e=>[i.xE.CLIENT_V1_CHALLENGES_FREE_LIVE,e]},49501:function(e,r,t){t.d(r,{O:function(){return i},z:function(){return l}});var n=t(13378);let i={MAIN_CATEGORY:"MAIN_CATEGORY",COUNT_DOWN:"COUNT_DOWN",APPLICANT_COUNT:"APPLICANT_COUNT",REMAINING_SEATS:"REMAINING_SEATS"},l=e=>{let{capacity:r,applicantRate:t,applyEndedAtUTC:l,applyClosedAtUTC:o}=e,a=n.y.utc(),c=n.y.utc(l).local(),s=c.diff(a,"hours",!0),d=c.diff(a,"days",!0);return o?i.MAIN_CATEGORY:s>=0&&s<24?i.COUNT_DOWN:r>=200&&t>=.6?i.APPLICANT_COUNT:t>.5||t<=.5&&d<3&&d>=0?i.REMAINING_SEATS:i.MAIN_CATEGORY}},64476:function(e,r,t){t.d(r,{i:function(){return C}});var n=t(86843),i=t(17918),l=t(43179),o=t(30875),a=t(76969),c=t(78451),s=t(63816),d=t(64847),u=t(54442),p=t(55802),f=t(23305),g=t.n(f),h=t(51343);let C=e=>{let{onClick:r,challenge:t,href:f,thumbnailUrl:C,leftTopSection:E,rightTopSection:y,badges:A,title:m,instructorName:Y,cta:b,attributionToken:S,...T}=e;return(0,n.Y)(i.M,{component:g(),underline:"never",target:"_blank",href:f??(0,h.t9)(h.tl.CHALLENGE_DETAIL({slug:t?.slug??""}),{attributionToken:S}),h:"100%",onClick:()=>{r?.()},children:(0,n.FD)(d.B,{w:"100%",h:"100%",styles:{root:{borderRadius:8,border:`1px solid ${p.yK.gray[2]}`,overflow:"hidden","@media (hover: hover)":{"&:hover .challenge-card-thumbnail":{transform:"scale(1.1)"}}}},children:[(0,n.FD)(l.g,{pos:"relative",ratio:3/1.95,w:"100%",bg:"gray.3",styles:{root:{overflow:"hidden"}},children:[(0,n.Y)(s.j,{className:"challenge-card-thumbnail",w:492,src:C??t?.thumbnailUrl??"",width:"100%",height:"100%",loading:"lazy",css:{transition:"transform 0.1s ease-in-out"}}),(E||y)&&(0,n.FD)(o.a,{pos:"absolute",top:0,left:0,w:"100%",h:"fit-content",children:[E&&(0,n.Y)(d.B,{justify:"flex-start",pos:"absolute",top:8,left:8,children:E}),y&&(0,n.Y)(d.B,{justify:"flex-start",pos:"absolute",top:8,right:8,children:y})]})]}),(0,n.FD)(d.B,{gap:8,bg:"white",w:"100%",justify:"space-between",styles:{root:{flex:1,padding:"8px 10px 16px 10px",[p.fC.tablet]:{padding:"8px 8px 16px 8px"}}},...T,children:[(0,n.FD)(d.B,{gap:8,children:[(0,n.FD)(d.B,{gap:6,children:[A&&(0,n.Y)(c.Y,{gap:4,wrap:"nowrap",children:A}),(0,n.Y)(a.g,{lineClamp:2,children:(0,n.Y)(u.E,{size:"md",c:"gray.9",fw:600,styles:{root:{lineHeight:1.4,[p.fC.tablet]:{fontSize:14}}},children:m})})]}),Y&&(0,n.Y)(u.E,{size:"sm",c:"gray.6",children:Y})]}),b&&(0,n.Y)(o.a,{onClick:e=>{e.stopPropagation(),e.preventDefault()},children:b})]})]})})}},72692:function(e,r,t){t.d(r,{T7:function(){return h},Wh:function(){return c}});var n=t(86843),i=t(42136),l=t(57910),o=t(67528),a=t(31237);let c=e=>{let{isFree:r,isDiscounting:t,discountRate:l,color:o,backgroundColor:c,challengeStatus:h,fs:C}=e,{isBeforeApplying:E,isApplying:y,isAfterApplying:A,isProcessing:m,isParticipating:Y,isCompleted:b}=g(h),S=(0,i.A)({primary:a.b.warning,secondary:a.b.default},c);return E||y?r?(0,n.Y)(s,{color:o.primary,backgroundColor:S.primary,fs:C}):t&&l?(0,n.Y)(d,{discountRate:l,color:o.primary,backgroundColor:S.primary,fs:C}):null:A?(0,n.Y)(u,{color:o.secondary,backgroundColor:S.secondary,fs:C}):m||Y?(0,n.Y)(f,{color:o.secondary,backgroundColor:S.secondary,fs:C}):b?(0,n.Y)(p,{color:o.secondary,backgroundColor:S.secondary,fs:C}):null},s=e=>{let{color:r,backgroundColor:t,fs:i}=e;return(0,n.Y)(a.f,{color:r,backgroundColor:t,fs:i,children:"무료"})},d=e=>{let{discountRate:r,color:t,backgroundColor:i,fs:l}=e;return(0,n.Y)(a.f,{color:t,backgroundColor:i,fs:l,children:`${r}% 할인`})},u=e=>{let{color:r,backgroundColor:t,fs:i}=e;return(0,n.Y)(a.f,{color:r,backgroundColor:t,fs:i,children:"마감"})}
1,p=e=>{let{color:r,backgroundColor:t,fs:i}=e;return(0,n.Y)(a.f,{color:r,backgroundColor:t,fs:i,children:"종료"})},f=e=>{let{color:r,backgroundColor:t,fs:i}=e;return(0,n.Y)(a.f,{color:r,backgroundColor:t,fs:i,children:"진행중"})},g=e=>{let r=e===l.m2k.BEFORE_APPLY,t=e===l.m2k.APPLYING,n=e===l.m2k.AFTER_APPLY;return{isBeforeApplying:r,isApplying:t,isAfterApplying:n,isProcessing:e===l.m2k.PROCESSING,isParticipating:e===l.m2k.PARTICIPATING,isCompleted:e===l.m2k.COMPLETED}},h={[l.m2k.BEFORE_APPLY]:o.g.IS_CHALLENGE_BEFORE_APPLY,[l.m2k.APPLYING]:o.g.IS_CHALLENGE_APPLYING,[l.m2k.AFTER_APPLY]:o.g.IS_CHALLENGE_AFTER_APPLY,[l.m2k.PROCESSING]:o.g.IS_CHALLENGE_PROCESSING,[l.m2k.PARTICIPATING]:o.g.IS_CHALLENGE_PARTICIPATING,[l.m2k.COMPLETED]:o.g.IS_CHALLENGE_COMPLETED}},84433:function(e,r,t){t.d(r,{P:function(){return d}});var n=t(86843),i=t(54442),l=t(55802),o=t(24217),a=t(49501),c=t(13378),s=t(31237);let d=e=>{let{applyClosedAtUTC:r,categoryTitle:t,applyEndedAtUTC:i,capacity:l,applicantCount:o,applicantRate:c,color:d,remainingCount:p,fs:C}=e,E=(0,a.z)({applyClosedAtUTC:r,applyEndedAtUTC:i,capacity:l,applicantRate:c}),y=s.b.default;return E===a.O.MAIN_CATEGORY?(0,n.Y)(h,{title:t,color:d,backgroundColor:y,fs:C}):E===a.O.COUNT_DOWN?(0,n.Y)(u,{applyEndedAtUTC:i,color:d,backgroundColor:y,fs:C}):E===a.O.APPLICANT_COUNT?(0,n.Y)(f,{applicantCount:o,color:d,backgroundColor:y,fs:C}):E===a.O.REMAINING_SEATS?(0,n.Y)(g,{color:d,backgroundColor:y,remainingCount:p,fs:C}):(0,n.Y)(h,{title:t,color:d,backgroundColor:y,fs:C})},u=e=>{let{applyEndedAtUTC:r,color:t,backgroundColor:i,fs:a}=e;return(0,n.Y)(s.f,{color:t,backgroundColor:i,fs:a,style:{width:"100px",[l.fC.tablet]:{width:"92px"}},children:(0,n.Y)(o.Ay,{date:c.y.utc(r).toDate(),renderer:p})})},p=e=>{let{hours:r,minutes:t,seconds:n}=e,i=String(r).padStart(2,"0"),l=String(t).padStart(2,"0"),o=String(n).padStart(2,"0");return`마감까지 ${i}:${l}:${o}`},f=e=>{let{applicantCount:r,color:t,backgroundColor:o,fs:a}=e;return(0,n.FD)(s.f,{color:t,backgroundColor:o,fs:a,children:[(0,n.Y)(i.E,{component:"span",children:`${r}명이 신청`}),(0,n.Y)(i.E,{component:"span",styles:{root:{[l.fC.mobile]:{display:"none"}}},children:"했어요"})]})},g=e=>{let{color:r,backgroundColor:t,remainingCount:o,fs:a}=e;return(0,n.FD)(s.f,{color:r,backgroundColor:t,fs:a,children:[(0,n.FD)(i.E,{component:"span",styles:{root:{[l.fC.mobile]:{display:"none"}}},children:["단,"," "]}),(0,n.FD)(i.E,{component:"span",children:[o,"자리 남았어요"]})]})},h=e=>{let{title:r,color:t,backgroundColor:i,fs:l}=e;return(0,n.Y)(s.f,{color:t,backgroundColor:i,fs:l,children:r||"챌린지"})}},85118:function(e,r,t){t.d(r,{Kt:function(){return l},aF:function(){return c},b5:function(){return a},ki:function(){return s},sN:function(){return o}});var n=t(40644),i=t(57910);function l(e){let{params:r,options:t}=e;return(0,i.oO2)({queryKey:o(r),url:n.A.stringifyUrl({url:i.xE.CLIENT_V1_CHALLENGES_ENDED,query:r}),options:t})}let o=e=>[i.xE.CLIENT_V1_CHALLENGES_ENDED,e],a=(e,r)=>(0,i.hlK)({queryKey:o(e),url:n.A.stringifyUrl({url:i.xE.CLIENT_V1_CHALLENGES_ENDED,query:e}),options:r}),c=20,s={pageNumber:1,pageSize:20}},86749:function(e,r,t){t.d(r,{c:function(){return o}});var n=t(25949),i=t(25823),l=t(43537);function o(){(0,i.useEffect)(()=>{if("localhost"===l.AN)return;let e=n.MonitoringService.getInstance(),r=performance.getEntriesByType("navigation")[0],t=r?.type==="back_forward";if(e.datadog.setGlobalContextProperty("is_back_navigation",t),t&&"PerformanceObserver"in window){let r=new PerformanceObserver(r=>{let t=r.getEntries(),n=t[t.length-1];n&&e.datadog.setGlobalContextProperty("lcp_value",n.startTime)});return r.observe({entryTypes:["largest-contentful-paint"]}),()=>{r.takeRecords(),r.disconnect()}}},[])}}}]);
2//# sourceMappingURL=3226-594eca7fadf544b2.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.