1(self.webpackChunkhostApp_courses=self.webpackChunkhostApp_courses||[]).push([[6868],{20243:function(e,r,t){"use strict";t.r(r),t.d(r,{DASHBOARD_GAP:function(){return eA},__N_SSP:function(){return ew},default:function(){return eT}});var n=t(86843),i=t(54860),s=t(30875),o=t(99659),l=t(64847),a=t(50530),c=t(85371),d=t(40644),u=t(25823),h=t(2573),f=t(42730),p=t(62484),E=t(92631),g=t(54708),m=t(93887),y=t(17918),_=t(14694),b=t(53625),C=t(61944),Y=t(51343),I=t(52952),x=t(98562);function S(e){let{slug:r,courseId:t,courseType:i}=e,{t:s}=(0,_.Bd)(),{data:o,isLoading:l,isError:a}=(0,f.Pt$)({queryKey:[h.x.CLIENT_V1_QUESTION_LATEST],url:d.A.stringifyUrl({url:h.x.CLIENT_V1_QUESTION_LATEST,query:{courseId:t,pageNumber:1,pageSize:5}})});if(l)return(0,n.Y)(I.A,{title:(0,n.Y)(m.E,{w:100,h:24,mb:4}),description:(0,n.Y)(m.E,{w:160,h:20}),children:(0,n.Y)(m.E,{height:152})});if(a||(0,c.A)(o)||0===o.length)return null;let u=o.map(e=>({...e,url:C.t.QUESTION_DETAIL({id:e.id,slug:e.slug})}))||[];return(0,n.Y)(I.A,{title:i===b.F8.ONLINE?(0,n.Y)(y.M,{href:Y.tl.COURSE_DETAIL_COMMUNITY({slug:r,cid:t}),c:"gray.9",children:s("ìµê·¼ ì§ë¬¸")}):s("ìµê·¼ ì§ë¬¸"),description:s("ê¶ê¸í ì ì ì§ë¬¸íê³ ëµë³ì ë°ìë³´ì¸ì."),style:{flexGrow:1},children:(0,n.Y)(x.l,{data:u,target:"_blank"})})}var N=t(23775),w=t(25669),A=t(30220),T=t(67931),D=t.n(T),R=t(57910),v=t(8690),L=t(54442),O=t(52866);function F(e){let{learningTime:r}=e,{runtimeHour:t,runtimeMinutes:i}=(0,O.F)({runtime:r});return(0,n.FD)(N.SimpleGrid,{cols:2,spacing:4,styles:{root:{width:"100%",height:"100%"}},children:[(0,n.Y)(o.s,{bg:"gray.0",styles:{root:{borderRadius:"8px"}},justify:"center",align:"center",children:(0,n.Y)(_.x6,{i18nKey:"ê°ììì¸_ë°íì_ìê°_Trans",values:{runtimeHour:t},components:{p1:(0,n.Y)(L.E,{fz:26,fw:500,c:"gray.7"}),p2:(0,n.Y)(L.E,{fz:14,fw:600,c:"gray.6",pt:6})}})}),(0,n.Y)(o.s,{bg:"gray.0",styles:{root:{borderRadius:"8px"}},justify:"center",align:"center",children:(0,n.Y)(_.x6,{i18nKey:"ê°ììì¸_ë°íì_ë¶_Trans",values:{runtimeMinutes:i},components:{p1:(0,n.Y)(L.E,{fz:26,fw:500,c:"gray.7"}),p2:(0,n.Y)(L.E,{fz:14,fw:600,c:"gray.6",pt:6})}})})]})}function U(e){let{count:r}=e,{t}=(0,_.Bd)();return(0,n.FD)(o.s,{bg:"gray.0",styles:{root:{borderRadius:"8px",width:"100%",height:"100%"}},justify:"center",align:"center",gap:2,children:[(0,n.Y)(L.E,{fz:26,fw:500,c:"gray.7",children:r}),(0,n.Y)(L.E,{fz:14,fw:600,c:"gray.6",pt:6,children:t("count_unit_times")})]})}function B(e){let{title:r,content:t,contentAlign:i="center"}=e;return(0,n.FD)(l.B,{gap:8,align:"center",children:[(0,n.Y)(o.s,{align:i,justify:"center",styles:{root:{width:"100%",height:"100px"}},children:t}),(0,n.Y)(L.E,{c:"gray.6",fz:12,fw:600,children:r})]})}let j=D()(()=>Promise.all([t.e(6533),t.e(667),t.e(9283)]).then(t.bind(t,19283)),{loadableGenerated:{webpack:()=>[19283]},ssr:!1,loading:()=>(0,n.Y)(m.E,{h:126})});function k(e){return(0,n.Y)(A.tH,{fallback:null,children:(0,n.Y)(u.Suspense,{fallback:(0,n.Y)(V,{}),children:(0,n.Y)($,{...e})})})}function V(){return(0,n.Y)(I.A,{title:(0,n.Y)(m.E,{w:100,h:24,mb:4}),description:(0,n.Y)(m.E,{w:160,h:20}),children:(0,n.Y)(m.E,{h:126})})}function $(e){let{userId:r,courseId:t,courseType:s,isMcpCourse:o}=e,{t:l}=(0,_.Bd)();return(0,n.Y)(w.h,{...(0,R.kr0)({queryKey:[h.x.CLIENT_V1_COURSE_COURSEID_STUDY_PROGRESS(String(t))],url:h.x.CLIENT_V1_COURSE_COURSEID_STUDY_PROGRESS(String(t))}),children:e=>{let{data:a}=e,d=a?.data;return(0,c.A)(d)?null:(0,n.Y)(I.A,{title:l("íìµ íí©"),description:l("ì§ê¸ê¹ì§ íìµí ë´ì©ê³¼ ì§ëì¨ì ì²´í¬í´ ë³´ì¸ì."),children:(0,n.FD)(N.SimpleGrid,{cols:{base:2,sm:3},spacing:16,styles:{root:{[i.fC.mobile]:{"& > div:last-child":{gridColumn:"span 2"}}}},children:[(0,n.Y)(B,{title:l("ìë£ ìì
"),content:(0,n.Y)(j,{completeCount:d.completeCount,totalUnitCount:d.totalUnitCount,progress:d.progress})}),o?(0,n.Y)(K,{mcpCallCount:d.mcpCallCount??0}):(0,n.Y)(B,{title:l("ì´ íìµìê°"),content:(0,n.Y)(F,{learningTime:d.totalCompleteRuntime})}),(0,n.Y)(B,{title:l("ìë£ì¦"),content:(0,n.Y)(v.A,{isCertificateProvided:d.isCertificateProvided,isCertificateIssued:d.isCertificateIssued,userId:r,courseId:t,voucherId:d.voucherId,courseType:s}),contentAlign:"flex-end"})]})})}})}function K(e){let{mcpCallCount:r=0}=e,{t}=(0,_.Bd)();return(0,n.Y)(B,{title:t("mcp_usage_count"),content:(0,n.Y)(U,{count:r})})}
1var P=t(78451),W=t(74396),G=t(61102),z=t(93140),M=t(22050),q=t(69718),H=t(75725),Q=t(3057),X=t(89242);function Z(e){let{slug:r,courseId:t,courseType:i}=e,{t:s}=(0,_.Bd)(),{lang:o}=(0,a.uU)(),{data:d,isLoading:u,isError:h}=(0,H.A)({courseId:t,lang:o}),[f,p]=(0,q.useDisclosure)(!1),{data:E,isError:g}=(0,Q.Xk)({courseId:t});if(u)return(0,n.Y)(I.A,{title:(0,n.Y)(m.E,{w:100,h:24,mb:4}),description:(0,n.Y)(m.E,{w:160,h:20}),children:(0,n.Y)(m.E,{height:88})});if(h||(0,c.A)(d))return null;let C=0===d.length,S={ON:Y.tl.COURSE_DETAIL_NEWS({slug:r,cid:t}),CHALLENGE:Y.tl.CHALLENGE_DETAIL_NEWS({slug:r,cid:t}),OFF:""},N=e=>i===b.F8.ONLINE?Y.tl.COURSE_DETAIL_NEWS_DETAIL({slug:r,newsId:String(e),cid:t}):i===b.F8.CHALLENGE?Y.tl.CHALLENGE_DETAIL_NEWS_DETAIL({slug:r,newsId:String(e),cid:t}):"",w=d.map(e=>({...e,url:N(e.id)}));return(0,n.FD)(n.FK,{children:[(0,n.Y)(I.A,{title:(0,n.FD)(P.Y,{justify:"space-between",children:[(0,n.Y)(y.M,{href:S[i],c:"gray.9",children:s("ììì")}),E?(0,n.Y)(W.$,{variant:"default",size:"xs",leftSection:(0,n.Y)(G.I,{icon:E.globalNewsAgreement&&E.courseNewsAgreement?M.z$e:M.iN5}),disabled:g,onClick:p.open,children:s("ì림")}):null]}),description:s("ì¤ì ê³µì§ ì¬íê³¼ ë³ê²½ë ì¼ì ì íì¸íì¸ì."),children:C?(0,n.Y)(l.B,{h:152,justify:"center",w:"100%",children:(0,n.Y)(z.g,{title:s("ìì±ë ììì´ ìì´ì."),body:s("ìë¡ì´ ììì 기ë¤ë ¤ 주ì¸ì.")})}):(0,n.Y)(x.l,{data:w})}),E?(0,n.Y)(X.A,{isOpened:f,onClose:p.close,courseNewsAlarmEnabled:E.courseNewsAgreement,globalNewsAlarmEnabled:E.globalNewsAgreement,courseId:t}):null]})}var J=t(74578),ee=t(78050),er=t(59355),et=t(51003),en=t(49811);let ei=e=>`/v1/activity-log/courses/${e}/cheer/message`,es=async(e,r)=>en.FP.get(e,r);function eo(e){let{courseId:r}=e;return ei(String(r))}var el=t(26230),ea=t(55738),ec=t(38556);function ed(){return(0,n.Y)(P.Y,{component:"section",bg:"white",p:{base:"16px",sm:24},styles:{root:{borderRadius:"16px",[i.fC.mobile]:{borderRadius:0}}},children:(0,n.Y)(m.E,{h:62,styles:{root:{borderRadius:"8px"}}})})}var eu=t(50514);let eh={low:[(0,eu.a)("ìë¡ì´ ììì í´ë³¼ê¹ì?"),(0,eu.a)("ì²ì²í ììí´ë ê´ì°®ìì."),(0,eu.a)("ì¡°ê¸ì© í¨ê» ëìê°ì."),(0,eu.a)("ìì í 걸ìì´ í° ë³í를 ë§ëëë¤."),(0,eu.a)("ì§ê¸ë¶í° 차근차근 ë°°ìë´ì.")],mid:[(0,eu.a)("ì´ì ë§ë¬´ë¦¬ë¥¼ í¥í´ ê°ë³¼ê¹ì?"),(0,eu.a)("ê±°ì ë¤ ìì´ì! ì¡°ê¸ë§ ë íë´ì."),(0,eu.a)("ëê¹ì§ í¬ê¸°íì§ ë§ì¸ì!"),(0,eu.a)("ë§ì§ë§ê¹ì§ ìµì ì ë¤í´ë´ì."),(0,eu.a)("목í를 ëìì ëê³ ìì´ì!")],high:[(0,eu.a)("ëë¨í´ì! íìµì 모ë ìë£íì´ì!"),(0,eu.a)("목í ë¬ì±ì ì¶íí©ëë¤!"),(0,eu.a)("ëë¼ì´ ì±ì·¨ë¥¼ ì´ë£¨ì
¨êµ°ì!"),(0,eu.a)("íìµ ì¬ì ì ì±ê³µì ì¼ë¡ ë§ë¬´ë¦¬íì
¨ìµëë¤!"),(0,eu.a)("íë¥í´ì! ì´ì ë¤ì ëì ì í¥í´ ëìê°ì¸ì.")]},ef=Math.floor(5*Math.random()),ep=e=>e<50?eh.low:e<100?eh.mid:eh.high,eE=e=>e[ef]();function eg(e){let{courseId:r}=e,{t}=(0,_.Bd)(),{trackCourseMixpanelEvent:s}=(0,ea.h)(),{data:l,isLoading:a}=(0,R.nwc)({queryKey:[h.x.CLIENT_V1_COURSE_COURSEID_STUDY_PROGRESS(String(r))],url:h.x.CLIENT_V1_COURSE_COURSEID_STUDY_PROGRESS(String(r))}),{data:u,isLoading:p}=function(e){let{queryKey:r,url:t,options:n,requestOptions:i}=e,s=(0,et.I)(r,()=>es(t,i),n);return{...s,data:s.data?.data}}({queryKey:function(e){let{courseId:r}=e;return[eo({courseId:r})]}({courseId:r}),url:eo({courseId:r}),options:void 0}),{data:E,isLoading:g}=(0,f.WE$)({queryKey:[h.x.CLIENT_V1_SESSION],url:h.x.CLIENT_V1_SESSION}),{data:m,isLoading:y}=(0,R.HA6)({queryKey:[`${h.x.CLIENT_V1_INSTRUCTORS_COURSE}?${d.A.stringify({courseId:r})}`],url:d.A.stringifyUrl({url:h.x.CLIENT_V1_INSTRUCTORS_COURSE,query:{courseId:r}})});if(a||g||p||y)return(0,n.Y)(ed,{});if((0,c.A)(l)||(0,c.A)(E))return null;let b=eE(ep(Number(l.progress)));return(0,n.FD)(I.A,{headerMb:0,children:[(0,n.FD)(P.Y,{justify:"space-between",gap:16,align:"flex-start",children:[(0,n.FD)(o.s,{gap:8,styles:{root:{flex:1,[i.fC.mobile]:{flexDirection:"column"}}},children:[(0,n.Y)(ee.e,{alt:t("íë¡í ì´ë¯¸ì§"),size:30,radius:"xl",src:`${E.userThumbnailUrl}?w=72`,styles:{root:{minWidth:"unset",[i.fC.mobile]:{width:"36px",height:"36px"}}}}),(0,n.Y)(L.E,{fz:{base:"18px",sm:20},fw:700,styles:{root:{flex:1}},children:t("{{session.userName}} ë, {{randomWelcomeMessage}}",{"session.userName":E.userName,randomWelcomeMessage:b})})]}),(0,n.Y)(W.$,{component:"a",href:C.t.LECTURE_CURRENT_UNIT({courseId:r}),variant:"default",size:"sm",onClick:e=>{e.preventDefault(),s(el.Z.CLICK_STUDY_CONTINUE_ON_SDP,{spot:"welcome"}),(0,ec.k)(e,e.currentTarget.href)},styles:{root:{[i.fC.mobile]:{position:"absolute",top:"24px",right:"16px"}}},children:t("íìµí기")})]}),u?(0,n.FD)(P.Y,{gap:16,mt:{base:"8px",sm:16},align:"flex-end",children:[(0,n.Y)(o.s,{bg:"gray.0",px:16,py:12,styles:{root:{flex:1,border:`1px solid ${i.yK.gray[2]}`,borderRadius:"16px"}},children:(0,n.Y)(L.E,{styles:{root:{[i.fC.mobile]:{fontSize:"14px"}}},children:u.message})}
1),m?.items[0]&&!(0,er.A)(m.items[0].thumbnail,"default_profile.png")?(0,n.Y)(ee.e,{component:"a",href:C.t.USER_PROFILE(m.items[0].id,m.items[0].slug),size:"lg",radius:"xl",src:`${m.items[0].thumbnail}?w=104`,styles:{root:{border:`2px solid ${i.yK.infgreen[3]}`,[i.fC.mobile]:{display:"none"}}}}):null]}):null]})}var em=t(27488),ey=t(76193),e_=t(88171),eb=t(44065),eC=t(82461),eY=t(73323),eI=t(18148),ex=t(82008),eS=t(37584),eN=t(36534),ew=!0;let eA=16;function eT(e){let{hackle:r}=e,{slug:t}=(0,eC.z)(),{trackCourseMixpanelEvent:m}=(0,ea.h)(),{data:y,isLoading:_}=(0,eY.xc)(),{data:C}=(0,eI.A)(t),Y=(0,eN.PN)(C?.id),{data:I}=(0,ex.Sx)({courseId:C?.id}),{data:x}=(0,f.bSu)({queryKey:[`${h.x.CLIENT_V1_REVIEWS_WRITABLE}?${d.A.stringify({courseId:C?.id})}`],url:`${h.x.CLIENT_V1_REVIEWS_WRITABLE}?${d.A.stringify({courseId:C?.id})}`,options:{enabled:!!C?.id}});return((0,u.useEffect)(()=>{_||m(el.Z.VIEW_COURSE_DASHBOARD,{},{executeOnce:!0})},[m,_]),(0,c.A)(C)||(0,c.A)(y))?null:(0,n.FD)(p.q,{decisions:{[eS.hv]:r.decision},exposureProperties:{[eS.hv]:Y},children:[(0,n.Y)(J.J,{slug:t}),(0,n.Y)(e_.g,{accessInfo:C,background:i.yK.gray[1],isDashboard:!0,children:(0,n.FD)(n.FK,{children:[x?.canWriteReview?(0,n.Y)(s.a,{mb:eA,children:(0,n.Y)(ey.A,{courseId:C.id,spot:"course_dashboard",styles:{root:{[i.fC.mobile]:{borderRadius:0}}}})}):null,(0,n.Y)(em.q,{courseId:C.id,isFree:!1,compact:!0,view:"mobile"}),(0,n.FD)(o.s,{gap:eA,styles:{root:{flexDirection:"row",[i.fC.tablet]:{flexDirection:"column"}}},children:[(0,n.FD)(l.B,{gap:eA,styles:{root:{flex:1}},children:[(0,n.Y)(eg,{courseId:C.id}),(0,n.Y)(k,{userId:y.id,courseId:C.id,courseType:b.F8.ONLINE,isMcpCourse:I?.isMcpCourse??!1}),(0,n.Y)(E.A,{courseId:C.id,courseType:b.F8.ONLINE,originalCourseId:null})]}),(0,n.FD)(l.B,{gap:eA,styles:{root:{width:`${eb.K}px`,[i.fC.tablet]:{width:"unset"}}},children:[(0,n.FD)(o.s,{gap:eA,styles:{root:{flexDirection:"column",[i.fC.tablet]:{flexDirection:"row","> *":{flex:1}},[i.fC.mobile]:{flexDirection:"column"},"&:empty":{display:"none"}}},children:[(0,n.Y)(em.q,{courseId:C.id,isFree:!1,compact:!0,view:"desktop"}),(0,n.Y)(Z,{slug:t,courseId:C.id,courseType:b.F8.ONLINE}),(0,n.Y)(S,{slug:t,courseId:C.id,courseType:b.F8.ONLINE})]}),(0,n.Y)(a.fn,{children:(0,n.Y)(g.M,{courseId:C.id})})]})]})]})})]})}eT.disableBottomNavigation=!0,eT.disableAppShellScrollTransition=!0,eT.disableFNB=!0,eT.appShellStyle={"& footer":{marginBottom:0,[i.fC.tablet]:{marginBottom:"66px"}}}},30220:function(e,r,t){"use strict";t.d(r,{tH:function(){return I}});var n=t(10997),i=t(72831),s=class e extends Error{static assert(r,t){if(!r)throw new e(t)}},o=t(25823),l=t(73362);let a=e=>{let r=(0,o.useRef)(e);return(0,o.useEffect)(()=>{r.current=e},[e]),r.current},c=e=>a(e)!==e,d=e=>e+1;var u=(0,n.f1)((0,i.j)());let h=(0,o.createContext)(void 0),f=Object.assign(({blockOutside:e=!1,children:r})=>{let[t,n]=(0,o.useReducer)(d,0),i=(0,o.useContext)(h),s=c(null==i?void 0:i.resetKey);(0,o.useEffect)(()=>{!e&&s&&n()},[s,e]);let a=(0,o.useMemo)(()=>({reset:n,resetKey:t}),[t]);return(0,l.jsx)(h.Provider,{value:a,children:r})},{displayName:"ErrorBoundaryGroup",with:(e={},r)=>Object.assign(t=>(0,l.jsx)(f,(0,u.default)((0,u.default)({},e),{},{children:(0,l.jsx)(r,(0,u.default)({},t))})),{displayName:`ErrorBoundaryGroup.with(${r.displayName||r.name||"Component"})`}),Consumer:({children:e})=>(0,l.jsx)(l.Fragment,{children:e(p())})}),p=()=>{let e=(0,o.useContext)(h);return s.assert(null!=e,"useErrorBoundaryGroup: this hook should be called in ErrorBoundary.props.children"),(0,o.useMemo)(()=>({reset:e.reset}),[e.reset])},E=(e=[],r=[])=>e.length!==r.length||e.some((e,t)=>!Object.is(e,r[t]));var g=(0,n.f1)((0,n.Vh)()),m=(0,n.f1)((0,i.j)());let y=(e,r)=>"boolean"==typeof e?e:e.prototype instanceof Error?r instanceof e:e(r),_={isError:!1,error:null};var b=class extends o.Component{constructor(...e){super(...e),(0,g.default)(this,"state",_),(0,g.default)(this,"reset",()=>{var e,r;null===(e=(r=this.props).onReset)||void 0===e||e.call(r),this.setState(_)})}static getDerivedStateFromError(e){return{isError:!0,error:e}}componentDidUpdate(e,r){let{isError:t}=this.state,{resetKeys:n}=this.props;t&&r.isError&&E(e.resetKeys,n)&&this.reset()}componentDidCatch(e,r){var t,n;null===(t=(n=this.props).onError)||void 0===t||t.call(n,e,r)}render(){let{children:e,fallback:r,shouldCatch:t=!0}=this.props,{isError:n,error:i}=this.state,o=e;if(n){if(i instanceof s)throw i;if(i instanceof C)throw i.originalError;if(!(Array.isArray(t)?t.some(e=>y(e,i)):y(t,i))||void 0===r)throw i;o=(0,l.jsx)(Y,{children:"function"==typeof r?(0,l.jsx)(r,{error:i,reset:this.reset}):r})}return(0,l.jsx)(x.Provider,{value:(0,m.default)((0,m.default)({},this.state),{},{reset:this.reset}),children:o})}}
1,C=class extends Error{constructor(e){super(),(0,g.default)(this,"originalError",void 0),this.originalError=e}},Y=class extends o.Component{componentDidCatch(e){throw e instanceof s?e:new C(e)}render(){return this.props.children}};let I=Object.assign((0,o.forwardRef)(({fallback:e,children:r,onError:t,onReset:n,resetKeys:i,shouldCatch:s},a)=>{var c;let d=null!==(c=(0,o.useContext)(h))&&void 0!==c?c:{resetKey:0},u=(0,o.useRef)(null);return(0,o.useImperativeHandle)(a,()=>({reset:()=>{var e;return null===(e=u.current)||void 0===e?void 0:e.reset()}})),(0,l.jsx)(b,{shouldCatch:s,fallback:e,onError:t,onReset:n,resetKeys:[d.resetKey,...i||[]],ref:u,children:r})}),{displayName:"ErrorBoundary",with:(e={fallback:void 0},r)=>Object.assign(t=>(0,l.jsx)(I,(0,m.default)((0,m.default)({},e),{},{children:(0,l.jsx)(r,(0,m.default)({},t))})),{displayName:`ErrorBoundary.with(${r.displayName||r.name||"Component"})`}),Consumer:({children:e})=>(0,l.jsx)(l.Fragment,{children:e(S())})}),x=Object.assign((0,o.createContext)(null),{displayName:"ErrorBoundaryContext"}),S=()=>{let[e,r]=(0,o.useState)({isError:!1,error:null});if(e.isError)throw e.error;let t=(0,o.useContext)(x);return s.assert(null!=t&&!t.isError,"useErrorBoundary: this hook should be called in ErrorBoundary.props.children"),(0,o.useMemo)(()=>({setError:e=>r({isError:!0,error:e})}),[])}},52564:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/course/[slug]/dashboard",function(){return t(20243)}])},76193:function(e,r,t){"use strict";t.d(r,{A:function(){return D}});var n=t(86843),i=t(31121),s=t(30875),o=t(74396),l=t(78451),a=t(61102),c=t(64847),d=t(54442),u=t(54860),h=t(50530),f=t(27584),p=t(69718),E=t(37718),g=t(2633),m=t(14694),y=t(67931),_=t.n(y),b=t(40644),C=t(2573),Y=t(42730),I=t(26230),x=t(55738),S=t(99102),N=t(79677);let w=_()(()=>t.e(9915).then(t.bind(t,49915)),{loadableGenerated:{webpack:()=>[49915]},ssr:!1}),A=_()(()=>t.e(9191).then(t.bind(t,19191)),{loadableGenerated:{webpack:()=>[19191]},ssr:!1}),T=_()(()=>t.e(9316).then(t.bind(t,49316)),{loadableGenerated:{webpack:()=>[49316]},ssr:!1}),D=e=>{let{courseId:r,onAddReviewSuccess:t,spot:y,styles:_}=e,{lang:D}=(0,h.uU)(),{t:R}=(0,m.Bd)(),[v,L]=(0,p.useDisclosure)(!1),O=(0,N._)(),{openCourseReviewThanksModal:F}=(0,S.x)(),{trackCourseMixpanelEvent:U}=(0,x.h)(),B=(0,E.jE)(),{mutate:j,isLoading:k}=(0,Y.H7b)({url:C.x.CLIENT_V2_REVIEWS,options:{onError:O,onSuccess:(e,n)=>{U(I.Z.SUBMIT_REVIEW_ON_SDP,{my_star_rate:n.rating,review_body:n.content||null,spot:y}),L.close(),F(),B.invalidateQueries([`${C.x.CLIENT_V1_REVIEWS_WRITABLE}?${b.A.stringify({courseId:r})}`]),t&&t()}}}),V=e=>{let{body:t="",rating:n,reasons:i}=e;j({lang:D,rating:n,reasons:i,courseId:r,...!(0,g.A)(t)&&{content:t}})};return(0,n.FD)(s.a,{children:[(0,n.Y)(i.F,{type:"warning",styles:_,children:(0,n.FD)(l.Y,{justify:"space-between",children:[(0,n.FD)(l.Y,{gap:8,children:[(0,n.Y)(a.I,{icon:f.yy,color:"yellow.6",css:{alignSelf:"flex-start",marginTop:"2px",[u.fC.mobile]:{alignSelf:"center",marginTop:"unset"}}}),(0,n.FD)(c.B,{children:[(0,n.Y)(d.E,{fw:700,lineHeight:"1.5",fz:14,children:R("ìê°íì ë¨ê²¨ì£¼ì¸ì")}),(0,n.FD)(s.a,{css:{[u.fC.mobile]:{display:"none"}},children:[(0,n.Y)(d.E,{children:R("ì¬ë¬ë¶ì ìì¤í ìê°íì´ ë¤ë¥¸ íìµìë¤ìê² í° ëìì´ ë©ëë¤.")}),(0,n.Y)(d.E,{children:R("ê°ë¨í í¼ëë°±ì ë¨ê²¨ì£¼ì¸ì.")})]})]})]}),(0,n.Y)(o.$,{color:"orange.6",styles:{root:{alignSelf:"flex-start"}},onClick:()=>{U(I.Z.VIEW_REVIEW_MODAL,{click_spot:y,my_star_rate:null}),L.open()},children:R("ìê°í ë¨ê¸°ê¸°")})]})}),v&&(0,n.Y)(w,{lang:D,isOpened:v,onClose:L.close,form:(0,n.Y)(A,{children:(0,n.Y)(T,{onCancel:L.close,isLoading:k,onSubmit:e=>{let{body:r,rating:t,reasons:n}=e;V({body:r,rating:t,reasons:n})}})})})]})}}},function(e){e.x(),_N_E=Promise.all([e.f.consumes||function(e,r){},e.f.remotes||function(e,r){}].reduce(function(e,r){return r("6868",e),e},[])).then(function(){return e.X(0,[636,8792,976,1207,6474,6563,6969,1121,1039,7833,2053,5591,7276,3224,2664,2644,8050,9640,8614,3059,8834,3817,2628,3305,9588,1302,908,9771],function(){return e(e.s=52564)})})}]); 2//# sourceMappingURL=dashboard-77b2cdb06d923d0e.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.