1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6f57ff44-0f8a-af88-19fd-159e01dfdb10")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,303859,e=>{"use strict";var t=e.i(271645);let a=t.forwardRef(function(e,a){let{title:l,titleId:i,...r}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),l?t.createElement("title",{id:i},l):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))});e.s(["PlayCircleIcon",0,a],303859)},82164,e=>{"use strict";var t=e.i(271645);let a=t.forwardRef(function(e,a){let{title:l,titleId:i,...r}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),l?t.createElement("title",{id:i},l):null,t.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))});e.s(["ChevronRightIcon",0,a],82164)},315671,e=>{"use strict";var t=e.i(271645);let a=t.forwardRef(function(e,a){let{title:l,titleId:i,...r}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":i},r),l?t.createElement("title",{id:i},l):null,t.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))});e.s(["StarIcon",0,a],315671)},76151,462206,75605,961640,e=>{"use strict";e.s(["BottomSheet",()=>x,"useBottomSheetContext",()=>h],76151),e.s(["BottomSheetHeader",()=>r],462206);var t=e.i(843476),a=e.i(271645),l=e.i(174080),i=e.i(569438);let r=e=>{let{className:a,handle:l=!1,children:r,...s}=e,n=h();return(0,t.jsxs)("div",{className:(0,i.cn)(`flex flex-col items-center justify-center rounded-tl-r32 rounded-tr-r32 bg-background-normal px-0 3 py-s12`,n&&"cursor-grab active:cursor-grabbing",a),onMouseDown:e=>{n&&n.onDragStart(e.clientY)},onTouchStart:e=>{n&&n.onDragStart(e.touches[0].clientY)},...s,children:[l&&(0,t.jsx)("div",{className:"h-1 w-[2.75rem] rounded-r6 bg-palette-gray-30"}),r]})};r.displayName="BottomSheetHeader";let s=(0,e.i(225913).cva)("bg-white box-border flex flex-col gap-s8 px-s24 py-s8",{variants:{layout:{left:"items-start",middle:"items-center text-center"}},defaultVariants:{layout:"left"}}),n=e=>{let{className:a,layout:l,title:r,description:n}=e;return(0,t.jsxs)("div",{className:(0,i.cn)(s({layout:l}),a),children:[(0,t.jsx)("p",{className:"text-heading2-bold text-normal",children:r}),n&&(0,t.jsx)("p",{className:"text-body2normal-medium text-high-emphasis",children:n})]})};n.displayName="BottomSheetContentTitle";let o=e=>{let{className:a,children:l,...r}=e;return(0,t.jsx)("div",{className:(0,i.cn)("box-border flex-1 overflow-y-auto bg-background-normal px-s24 py-s16",a),...r,children:l})};o.displayName="BottomSheetContent",e.s(["BottomSheetContent",0,o],75605);var d=e.i(812622),c=e.i(206248);let u=e=>{let{className:a,button:l="1button",variant:r="primary",confirmLabel:s="íì¸",cancelLabel:n="ì·¨ì",onConfirm:o,onCancel:u,isConfirmDisabled:m=!1,isLoading:g=!1}=e,h="primary"===r?"solidPrimary":"solidBlack";return(0,t.jsxs)("div",{className:(0,i.cn)("box-border bg-background-normal px-s24 py-s16",a),children:["1button"===l&&(0,t.jsx)(d.Button,{variant:h,size:"lg",className:"w-full",onClick:o,disabled:m,isLoading:g,children:s}),"horizontal"===l&&(0,t.jsxs)("div",{className:"flex w-full gap-s12",children:[(0,t.jsx)(d.Button,{variant:"outlinedAssistive",size:"lg",className:"flex-1",onClick:u,children:n}),(0,t.jsx)(d.Button,{variant:h,size:"lg",className:"flex-1",onClick:o,disabled:m,isLoading:g,children:s})]}),"vertical"===l&&(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-s8",children:[(0,t.jsx)(d.Button,{variant:h,size:"lg",className:"w-full",onClick:o,disabled:m,isLoading:g,children:s}),(0,t.jsx)(c.TextButton,{variant:"assistive",size:"md",onClick:u,children:n})]})]})};u.displayName="BottomSheetFooter",e.s(["BottomSheetFooter",0,u],961640);var m=e.i(505011);let g=(0,a.createContext)(null),h=()=>(0,a.useContext)(g),p=e=>{let{className:r,children:s,isOpen:n=!1,onClose:o,showOverlay:d=!0,bottom:c=0,ref:u,...h}=e,p=(0,m.default)(),[x,f]=(0,a.useState)(!1),[v,b]=(0,a.useState)(0),[y,w]=(0,a.useState)(0),C=e=>{if(!x)return;let t=e-v;t>0&&w(t)},N=()=>
3{x&&(f(!1),y>100&&o?.(),w(0))},j=e=>{C(e.clientY)},A=()=>{N()},S=e=>{e.preventDefault(),C(e.touches[0].clientY)},E=()=>{N()};if((0,a.useEffect)(()=>{if(x)return document.addEventListener("mousemove",j),document.addEventListener("mouseup",A),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",E),()=>{document.removeEventListener("mousemove",j),document.removeEventListener("mouseup",A),document.removeEventListener("touchmove",S),document.removeEventListener("touchend",E)}},[x,j,A,S,E]),(0,a.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"===e.key&&o?.()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n,o]),!n||!p)return null;let T=(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"fixed inset-0 z-sub-navigation bg-base-black/50 animate-in fade-in duration-200",onClick:o,"aria-hidden":"true"}),(0,t.jsx)(g.Provider,{value:{onDragStart:e=>{f(!0),b(e),w(0)},isDragging:x},children:(0,t.jsx)("div",{ref:u,className:(0,i.cn)("fixed left-0 right-0 z-modal","flex max-h-[90vh] w-full flex-col overflow-hidden rounded-t-2xl bg-white",!x&&"transition-transform duration-300",!x&&0===y&&"animate-in slide-in-from-bottom duration-300",r),style:{bottom:"number"==typeof c?`${c}rem`:c,transform:y>0?`translateY(${y}px)`:void 0},...h,children:s})})]});return(0,l.createPortal)(T,document.body)};p.displayName="BottomSheet";let x=Object.assign(p,{Header:r,ContentTitle:n,Content:o,Footer:u})},266684,e=>{"use strict";var t=e.i(843476),a=e.i(529206),l=e.i(583740),i=e.i(935392),r=e.i(195519),s=e.i(505011),n=e.i(200179),o=e.i(407633),d=e.i(822315),c=e.i(271645),u=e.i(33750),m=e.i(486339),g=e.i(590397),h=e.i(76151),p=e.i(812622),x=e.i(959443);let f={installApp:{mobile:{title:"ì±ë¦°ì§ë íì ì±ììë§ ì´ì©ì´ ê°ë¥í´ì.",desc:"í¸ë¦¬í ì±ë¦°ì§ ì´ì©ì ìí´, ì±ì 먼ì ì¤ì¹í´ì£¼ì¸ì!",primary:"ì± ì¤ì¹íë¬ ê°ê¸°",secondary:"ë¤ìì í ê²ì"},desktop:{title:"ì, ì±ë¦°ì§ë íì ì±ììë§ ì´ì©ì´ ê°ë¥í´ì.",subtitle:"먼ì , QRì½ë를 ì¤ìºíê³ ì±ì ì¤ì¹í´ì£¼ì¸ì."}},preMission:{mobile:{title:"ì¬ì 미ì ì ìíí´ì£¼ì¸ì.",desc:"미ì ìë£íë©´ 5,000P ì§ê¸!",primary:"ì¬ì 미ì íë¬ê°ê¸°",secondary:"ì¤ëì ì í ëì"},desktop:{title:"ì, ì±ë¦°ì§ë íì ì±ììë§ ì´ì©ì´ ê°ë¥í´ì.",subtitle:"먼ì , QRì½ë를 ì¤ìºíê³ ì±ì ì¤ì¹í´ì£¼ì¸ì."}},scholarship:{mobile:{title:"ì¥íê¸ì íì ì±ììë§ íì¸ì´ ê°ë¥í´ì.",desc:"í¸ë¦¬í ì´ì©ì ìí´, ì±ì 먼ì ì¤ì¹í´ì£¼ì¸ì!",primary:"ì± ì¤ì¹íë¬ ê°ê¸°",secondary:"ë¤ìì í ê²ì"},desktop:{title:"ì¥íê¸ì íì ì±ììë§ íì¸ì´ ê°ë¥í´ì.",subtitle:"먼ì , QRì½ë를 ì¤ìºíê³ ì±ì ì¤ì¹í´ì£¼ì¸ì!"}}};e.s(["default",0,function(e){let{isOpen:v,setIsOpen:b,variant:y="installApp",talentTitle:w,itemId:C,limitDate:N,onRequestInstallApp:j}=e,A=(0,s.default)(),S=(0,c.useContext)(o.TalingAppContext),{postMessage:E}=(0,n.useReactNativeWebViewBridgeForReact)({}),{setNewFuncAlertCookie:T}=(0,r.default)("home-challenge-onboarding-modal"),I=window.location.origin,$=`${I}/redirect-processor/app-store`;if(!A)return null;if("vodEnded"===y){let e=N?(0,d.default)(N):null,l=e?Math.max(e.startOf("day").diff((0,d.default)().startOf("day"),"day"),0):0,r=e?`VODë ì¢ ë£ì¼ê¹ì§ ê³ì ìê°ì´ ê°ë¥í´ì. 4[${e.format("YYYYë Mì Dì¼")}(${l}ì¼ ë¨ì)]`:"VODë ì¢ ë£ì¼ê¹ì§ ê³ì ìê°ì´ ê°ë¥í´ì.";return(0,t.jsxs)(x.Popup,{isOpen:v,onClose:()=>b(!1),maxWidth:"w-[339px]",children:[(0,t.jsx)(x.Popup.Header,{}),(0,t.jsxs)("div",{className:"box-border flex flex-col items-center gap-s8 px-s24 py-s8 text-center",children:[(0,t.jsx)("p",{className:"text-heading2-bold text-normal",children:"ì¢ ë£ë ì±ë¦°ì§ìì"}),(0,t.jsx)("p",{className:"w-full whitespace-pre-wrap text-body2normal-medium text-high-emphasis",children:r})]}),(0,t.jsxs)("div",{className:"flex gap-s12 px-s24 py-s16",children:[(0,t.jsx)(p.Button,{variant:"outlinedBlack",size:"lg",className:"flex-1",onClick:()=>{S?(E(a.AppGlobalEvents.openChallengeHome,{itemId:C}),b(!1)):j?.()},children:"ì±ë¦°ì§ í ê°ê¸°"}),(0,t.jsx)(p.Button,{asChild:!0,variant:"solidBlack",size:"lg",className:"flex-1",children:(0,t.jsx)(g.default,{href:i.ServicePathUtil.vod.getPlayPathByItem(C),onClick:()=>b(!1),children:"VOD ìê°í기"})})]})]})}return u.isMobile?(0,t.jsxs)(h.BottomSheet,{isOpen:v,onClose:()=>b(!1),children:[(0,t.jsx)(h.BottomSheet.Header,{handle:!0}),"preMission"===y&&w?(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-s8 px-s24 py-s8 text-center",children:[(0,t.jsx)("div",{className:"text-heading3-semibold text-primary-challenge-600",children:w}),(0,t.jsx)("div",{className:"text-heading3-semibold text-normal",children:f[y].mobile.title}),(0,t.jsx)("p",{className:"text-label1reading-regular text-neutral",children:f[y].mobile.desc})]}):(0,t.jsx)(h.BottomSheet.ContentTitle,{title:f[y].mobile.title,de
4scription:f[y].mobile.desc,layout:"middle"}),(0,t.jsx)(h.BottomSheet.Content,{children:(0,t.jsx)("div",{className:"flex w-full justify-center",children:(0,t.jsx)("div",{className:"h-[12.5rem] w-[12.5rem]",children:(0,t.jsx)("img",{src:l.INGLE_IMAGES.VOD,alt:"ingle vod",className:"h-full w-full object-contain"})})})}),(0,t.jsx)(h.BottomSheet.Footer,{button:"vertical",confirmLabel:f[y].mobile.primary,cancelLabel:f[y].mobile.secondary,onConfirm:()=>{S?E(a.AppGlobalEvents.openChallengePreMission,{itemId:C}):window.location.href=$},onCancel:()=>{T(1),b(!1)}})]}):(0,t.jsxs)(x.Popup,{isOpen:v,onClose:()=>b(!1),children:[(0,t.jsx)(x.Popup.Header,{}),(0,t.jsx)(x.Popup.ContentTitle,{title:f[y].desktop.title,description:f[y].desktop.subtitle,layout:"middle"}),(0,t.jsx)(x.Popup.Content,{children:(0,t.jsx)("div",{className:"flex w-full justify-center",children:(0,t.jsx)("div",{className:"bg-white pb-s12",children:(0,t.jsx)(m.default,{value:$,size:224})})})})]})}])},998927,e=>{"use strict";var t=e.i(843476),a=e.i(569438),l=e.i(225913),i=e.i(73914);let r=(0,l.cva)("",{variants:{variant:{primary:"bg-primary-onsite-600",secondary:"bg-primary-onsite-100",black:"bg-palette-gray-taling-black",assistive:"bg-palette-gray-30",blue:"bg-palette-blue-50",green:"bg-palette-green-100",red:"bg-palette-red-100",orange:"bg-palette-orange-100",challenge:"bg-primary-challenge-600",white:""}},defaultVariants:{variant:"primary"}}),s=(0,l.cva)("",{variants:{variant:{primary:"text-white",secondary:"text-primary-onsite-500",black:"text-white",assistive:"text-high-emphasis",blue:"text-palette-blue-400",green:"text-palette-green-500",red:"text-palette-red-500",orange:"text-palette-orange-600",challenge:"text-white",white:"text-palette-gray-taling-black"}},defaultVariants:{variant:"primary"}}),n=(0,l.cva)("inline-flex shrink-0",{variants:{size:{lg:"",md:"",sm:"",xs:""},shape:{square:"rounded-r4",pill:"rounded-r1000"}},compoundVariants:[{shape:"square",size:"lg",class:"px-s8 py-s4"},{shape:"square",size:"md",class:"px-s8 py-s2"},{shape:"square",size:"sm",class:"px-s8 py-s2"},{shape:"square",size:"xs",class:"px-s6 py-s2"},{shape:"pill",size:"lg",class:"px-s12 py-s4"},{shape:"pill",size:"md",class:"px-s8 py-s2"},{shape:"pill",size:"sm",class:"px-s8 py-s2"},{shape:"pill",size:"xs",class:"px-s6 py-s2"}],defaultVariants:{size:"lg",shape:"square"}}),o=(0,l.cva)("",{variants:{type:{filled:"",outlined:"ring-1 ring-inset bg-transparent"}},defaultVariants:{type:"filled"}});e.s(["Chip",0,function(e){let{className:l,variant:d="primary",size:c="lg",shape:u="square",type:m="filled",children:g,leftIcon:h,rightIcon:p,textColor:x,backgroundColor:f,textClassName:v,onClick:b}=e,y="outlined"===m?(()=>{switch(d){case"primary":return{text:"text-primary-onsite-600",border:"ring-primary-onsite-600"};case"secondary":case"secondary":return{text:"text-primary-onsite-500",border:"ring-primary-onsite-500"};case"black":return{text:"text-palette-gray-taling-black",border:"ring-palette-gray-taling-black"};case"assistive":return{text:"text-high-emphasis",border:"ring-palette-gray-100"};case"blue":return{text:"text-palette-blue-400",border:"ring-palette-blue-400"};case"green":return{text:"text-palette-green-500",border:"ring-palette-green-500"};case"red":return{text:"text-palette-red-500",border:"ring-palette-red-500"};case"orange":return{text:"text-palette-orange-600",border:"ring-palette-orange-600"};case"challenge":return{text:"text-primary-challenge-600",border:"ring-primary-challenge-600"};case"white":return{text:"text-base-white",border:"ring-base-white"}}})():null,w=x||(y?y.text:s({variant:d})),C=f?null:r({variant:d}),N={...f&&{backgroundColor:`rgb(var(--${f}))`}},j=(0,a.cn)(n({size:c,shape:u}),C,l,o({type:m}),y?.border),A=(0,t.jsx)(i.ContentLayer,{size:(e=>{switch(e){case"lg":return"lg";case"md":return"md";case"sm":return"sm";case"xs":return"xs"}})(c),leftIcon:h,rightIcon:p,textColor:w,className:v,children:g});return b?(0,t.jsx)("button",{type:"button",style:N,className:j,onClick:b,children:A}):(0,t.jsx)("div",{style:N,className:j,children:A})}])},767622,e=>{"use strict";var t=e.i(843476),a=e.i(590397),l=e.i(847810),i=e.i(539176),r=e.i(988278),s=e.i(315671),n=e.i(626512);let o=(0,e.i(770703).default)(()=>e.A(991375),{loadableGenerated:{modules:[343757]},ssr:!1}),d={SQUARE:"square",VIDEO:"video"},c={[d.SQUARE]:"aspect-[1/1]",[d.VIDEO]:"aspect-[16/9]"};e.s(["ClassCardThumbnailRatio",0,d,"ClassCardVertical",0,function(e){let{href:u,thumbnailUrl:m,thumbnailAlt:g,thumbnailRatio:h=d.SQUARE,thumbnailOverlay:p,isSoldOut:x=!1,chips:f,title:v,rating:b,tutorName:y,priceArea:w,onClick:C,className:N}=e,j=(0,n.classNames)("group relative flex flex-col gap-s8",N),A=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,n.classNames)("relative w-full shrink-0 overflow-hidden rounded-r8 bg-palette-gray-30",c[h]),children:[m&&(0,t.jsx)(o,{src:m,alt:g??"í´ëì¤ ì¸ë¤ì¼",className:"h-full w-full object-cover",nextImageOption:{width:640,height:h===d.SQUARE?640:360},fallback:(0,t.jsx)("div",{className:"h-full w-full bg-palette-gray-50 blur-sm"})}),x&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/60",children:(0,t.jsx)("img",{src:i.SOLDOUT_SVG_URL,alt:"ìëìì",className:"w-full object-contain"})}),p]}),(0,t.jsxs)("div",{className:"flex flex-col gap-s6",children:[f&&(0,t.jsx)("div",{className:"flex gap-s4",children:f}),(0,t.jsxs)("div",{className:"flex flex-col gap-s4",children:[(0,t.jsx)("p",{className:"line-clamp-2 text-body2normal-semibold text-neutral",children:v}),(!!b?.count||y)&&(0,t.jsxs)("div",{className:"flex items-center gap-s4",children:[b&&b.count>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-s4","data-testid":"class-card-rating",children:[(0,t.jsx)(s.StarIcon,{className:"h-[1rem] w-[1rem] text-primary-onsite-500"}),(0,t.jsxs)("span",{className:"flex items-center whitespace-nowrap text-normal",children:[(0,t.jsx)("span",{className:"text-label1-semibold leading-none",children:(0,r.StringFormat)().formatRatingScore(b.avgStars)}),(0,t.jsxs)("span",{className:"text-label1-regular leading-none",children:["(",b.count,")"]})]})]}),y&&(0,t.jsx)("div",{className:"h-[0.75rem] w-px shrink-0 bg-palette-gray-50"})]}),y&&(0,t.jsx)("p",{className:"truncate text-label1-regular text-low-emphasis",children:y})]})]}),w]})]});return(0,t.jsxs)(a.default,{href:u,className:j,onClick:C,children:[A,(0,t.jsx)(l.InteractionLayer,{variant:"press"})]})},"ClassCardVerticalSkeleton",0,function(e){let{thumbnailRatio:a=d.SQUARE,className:l}=e;return(0,t.jsxs)("div",{className:(0,n.classNames)("flex flex-col gap-s8",l),children:[(0,t.jsx)("div",{className:(0,n.classNames)("w-full shrink-0 animate-pulse rounded-r8 bg-palette-gray-30",c[a])}),(0,t.jsxs)("div",{className:"flex flex-col gap-s6",children:[(0,t.jsxs)("div",{className:"flex gap-s4",children:[(0,t.jsx)("div",{className:"h-[1.375rem] w-[4rem] animate-pulse rounded-r4 bg-palette-gray-30"}),(0,t.jsx)("div",{className:"h-[1.375rem] w-[3rem] animate-pulse rounded-r4 bg-palette-gray-30"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-s4",children:[(0,t.jsx)("div",{className:"h-[2.5rem] w-full animate-pulse rounded-r4 bg-palette-gray-30"}),(0,t.jsx)("div",{className:"h-[1.125rem] w-[5rem] animate-pulse rounded-r4 bg-palette-gray-30"})]})]})]})}])},621430,e=>{"use strict";var t=e.i(843476),a=e.i(998927),l=e.i(767622),i=e.i(128501),r=e.i(539176),s=e.i(251793),n=e.i(988278),o=e.i(772560),d=e.i(439597),c=e.i(662537),u=e.i(970598),m=e.i(236312);
4let g=(0,e.i(770703).default)(()=>e.A(496837),{loadableGenerated:{modules:[196096]}});e.s(["TalentClassCardVertical",0,function(e){let{talent:h,query:p,showChip:x=!0,thumbnailOverlay:f,onCardClick:v,eventContext:b,className:y}=e,{trackEvent:w}=(0,s.mixpanelStore)();try{let e=d.TalentImage.getManagedThumbnailUrl(h),s=e?l.ClassCardThumbnailRatio.SQUARE:l.ClassCardThumbnailRatio.VIDEO,c=e||d.TalentImage.getThumbnailImageUrl(h),C=!c||c.startsWith("http")||c.startsWith("/")?c:`https://${c}`,N=u.MCategoryToKorString[h.mCategory],{avgStars:j,totalReviewCount:A}=h?.engagement?(0,o.default)(h.engagement,h.twinInfo):{avgStars:0,totalReviewCount:0},S=h?.twinInfoV2?{avgStars:h.twinInfoV2.bestAvgStars||j,count:h.twinInfoV2.totalRatingCount||A}:{avgStars:j,count:A},E=new URLSearchParams(p??{}).toString();return(0,t.jsx)(l.ClassCardVertical,{href:`/talent/${h.id}${E?`?${E}`:""}`,thumbnailUrl:C,thumbnailRatio:s,thumbnailOverlay:f,isSoldOut:m.TalentStatus.isSoldOut(h),chips:x&&N?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Chip,{size:"sm",variant:"black",shape:"square",type:"outlined",children:N}),h.majorRegion?.length>0&&h.mCategory!==u.TalentTypeEnum.EBOOK&&(0,t.jsx)(a.Chip,{size:"sm",variant:"assistive",shape:"square",type:"outlined",className:"min-w-0 shrink",textClassName:"min-w-0",children:(0,t.jsxs)("span",{className:"block truncate",children:[h.majorRegion[0].name,h.majorRegion.length>1&&` ì¸ ${h.majorRegion.length-1}ê³³`]})})]}):void 0,title:(0,n.StringFormat)().sanitizeLineBreak(h?.title)??" ",rating:S,tutorName:h?.tutorInfo?.description||void 0,priceArea:(0,t.jsx)(g,{talent:h,showOriginalPrice:!1}),onClick:()=>{if(b?.path){let e=m.TalentType.isSubscription(h),t={class_type:u.MCategoryToEngString[h.mCategory],class_id:h.id,class_title:h.title,class_tutor:h.tutorInfo?.description,class_tutor_id:h.tutorInfo?.id,price:e?h.subscriptionPlans?.[0]?.discountPrice:h.price?.find?.(e=>"Y"===e.defaultYn)?.price};b.path===r.TalentCardEventPath.HOME&&b.groupTitle?t.group_title=b.groupTitle:b.path===r.TalentCardEventPath.CATEGORY&&b.groupTitle?t.category=b.groupTitle:(b.path===r.TalentCardEventPath.SEARCH||b.path===r.TalentCardEventPath.SEARCH_SIMILAR)&&b.groupTitle&&(t.search_keyword=b.groupTitle),w(i.MIXPANEL_EVENTS.TALENT.CARD[b.path],t)}v?.()},className:y})}catch(e){return(0,c.captureException)(e,{extra:{component:"TalentClassCardVertical",payload:{...h}}}),(0,t.jsx)(l.ClassCardVerticalSkeleton,{className:y})}}])},213650,e=>{"use strict";var t=e.i(843476),a=e.i(657688),l=e.i(271645);let i="//img.taling.me/onsite/profile/default/ingle-01.webp",r=["taling.me","cloudfront.net"],s=e=>e.startsWith("//")?`https:${e}`:e.startsWith("http://")||e.startsWith("https://")?e:`https://${e}`;function n(e){let{src:n,alt:o,className:d="",fallback:c=(0,t.jsx)("div",{className:"h-full bg-taling-gray-300 blur-sm"}),loading:u="lazy",nextImageOption:m,useDefaultImg:g,onClick:h}=e,[p,x]=(0,l.useReducer)((e,t)=>!0,!1);return p||!n?g?m?(0,t.jsx)(a.default,{src:s(i),alt:o,className:d,width:m.width,height:m.height,fill:m.fill,sizes:m.sizes,loading:u,onClick:h}):(0,t.jsx)("img",{src:i,alt:o,className:d,loading:u,onClick:h}):(0,t.jsx)("div",{className:d,children:c}):m&&(e=>{if(e.startsWith("/")&&!e.startsWith("//"))return!1;try{let{hostname:t}=new URL(s(e));return r.some(e=>t===e||t.endsWith(`.${e}`))}catch{return!1}})(n)?(0,t.jsx)(a.default,{src:s(n),alt:o,className:d,width:m.width,height:m.height,fill:m.fill,sizes:m.sizes,placeholder:"blur",blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mO8Ww8AAj8BXkQ+xPEAAAAASUVORK5CYII=",loading:u,onError:x,onClick:h}):(0,t.jsx)("img",{src:n,alt:o,className:d,loading:u,onError:x,onClick:h})}e.s(["ImageFallback",0,n,"ImageSizes",0,{CARD_GRID:"(min-width: 1024px) 228px, (min-width: 640px) 240px, 50vw",LIST_THUMBNAIL:"144px",AVATAR_XS:"24px",AVATAR_SM:"40px",AVATAR_MD:"48px",AVATAR:"56px",AVATAR_LARGE:"176px",ORDER_THUMBNAIL:"160px",REVIEW_FORM_THUMBNAIL:"(min-width: 768px) 384px, 100vw",SHIPMENT_THUMBNAIL:"88px",SIDE_JOB_TOP_CLASS:"80px",SIDE_JOB_DEVELOP_CLASS:"147px"},"default",0,n])},515959,e=>{"use strict";e.s(["NEXT_PUBLIC_CLOUDFRONT_ONSITE",0,"https://img.taling.me","NEXT_PUBLIC_SELF",0,"https://www.taling.me","NEXT_PUBLIC_TALING_STUDIO_SERVER",0,"https://studio.taling.me"])},539176,e=>{"use strict";e.s(["OriginalPricePosition",0,{ABOVE:"above",BESIDE:"beside"},"SOLDOUT_SVG_URL",0,"/talent/soldout.svg","TalentCardEventPath",0,{CATEGORY:"CATEGORY",SEARCH:"SEARCH",HOME:"HOME",SEARCH_SIMILAR:"SEARCH_SIMILAR"},"TalentLevel",0,{MANAGED:"A",GENERAL:"B"}])},154730,e=>{"use strict";var t=e.i(879624);e.s(["default",0,function(){return{setCrossDomainAuthCookie:e=>{let a="https://www.taling.me",l=a?.split(".").slice(-2).join(".")||a,i=t.default.crossDoaminUserAuth;document.cookie=`${i}=${e}; path=/; domain=${l};`},clearCrossDomainAuthCookie:()=>{let e="https://www.taling.me",a=e?.split(".").slice(-2).join(".")||e,l=t.default.crossDoaminUserAuth;document.cookie=`${l}=; path=/; domain=${a}; expires=Thu, 01 Jan 1970 00:00:00 GMT`},getCrossDomainAuthCookie:()=>{let e=t.default.crossDoaminUserAuth,a=document.cookie.split("; ").find(t=>t.startsWith(e));if(!a)return null;let[,l]=a.split("=");return l}}}])},553166,e=>{"use strict";var t=e.i(247167),a=e.i(680023);let l=t.default.env.TALING_CORE_API_SERVER,i={getItemList(e,t){let i=`${l}/v1/item/list?talentType=${t}`;return a.default.get(i,{Authorization:e})},challengeReward:{getHistories(e,t){let i=new URLSearchParams;return t.page&&i.set("page",String(t.page)),t.limit&&i.set("limit",String(t.limit)),t.challengeEnrollmentId&&i.set("challengeEnrollmentId",String(t.challengeEnrollmentId)),a.default.get(`${l}/v1/item/challenge-reward/histories?${i.toString()}`,{Authorization:e})},getWithdrawalRequests(e,t){let i=new URLSearchParams;return t.page&&i.set("page",String(t.page)),t.limit&&i.set("limit",String(t.limit)),a.default.get(`${l}/v1/item/challenge-reward/withdrawal-requests?${i.toString()}`,{Authorization:e})}},vod:{getPlay:(e,t)=>a.default.get(`${l}/v1/item/${t}/vod`,{authorization:e}),getVodProgress:(e,t)=>a.default.get(`${l}/v1/item/vod/${t}/vod-progress`,{authorization:e}),updateLastViewedVod:(e,t,i)=>a.default.patch(`${l}/v1/item/vod/${t}
4/last-viewed-vod`,{vodId:i.vodId},{Authorization:e}),requestPlayerToken(e,t,i,r){let s=r?`?mcpf=${r}`:"";return a.default.get(`${l}/v1/item/${t}/vod/${i}/player-jwt${s}`,{authorization:e})},file:{markAccessed:(e,t)=>a.default.patch(`${l}/v1/item/vod/${t}/attachment`,{},{authorization:e}),getPresignedUrl:(e,t)=>a.default.get(`${l}/v1/item/vod/attachment/${t}/presigned-url`,{authorization:e})}}};var r=e.i(970598),s=e.i(619273),n=e.i(621576);let o=r.MCategoryToEngString[r.TalentTypeEnum.CHALLENGE];async function d(e){if(!e)return{inProgressItem:[],endedItem:[]};if(s.isServer){let t=await i.getItemList(`Bearer ${e}`,o);return t?.result?.data}return(await n.BffApiService.MyClass.Item.List({accessToken:e,talentType:o})).result}e.s(["getMyChallenges",0,d],553166)},554314,e=>{"use strict";var t=e.i(680023),a=e.i(344818);let l="https://api.taling.me";e.s(["TalingClientCoreApi",0,{auth:{getProfile:e=>t.default.get(`${l}/v1/account/profile`,{Authorization:`Bearer ${e}`})},talent:{getTalentList(e,a,i,r,s){let n=[a?"engagement":"",i?"price":""].join(","),o=`${l}/v1/talent/list?talentId=${e.join(",")}&optionalData=${n}&page=${r??1}&limit=${s??20}`;return t.default.get(o)},getTalentVod:e=>t.default.get(`${l}/v1/talent/${e}/detail?infoType=vod,vodCurriculum`),getTalentVodPreview:(e,i)=>t.default.get(`${l}/v1/talent/${e}/detail?infoType=vod,vodCurriculum&preview=true`,(0,a.default)(i))},promotion:{getActiveLandingImageUrl(e){let a=new URLSearchParams;e?.talentId!==void 0&&a.set("talentId",String(e.talentId)),e?.mktId!==void 0&&a.set("mktId",e.mktId);let l=a.toString();return t.default.get(`/api/promotion/active-landing-image${l?`?${l}`:""}`)},getActiveInterstitialImageUrl:()=>t.default.get("/api/promotion/active-interstitial-image"),getUserSegment:e=>t.default.get("/api/promotion/user-segment",e?{Authorization:`Bearer ${e}`}:void 0)},engagement:{review:{write:(e,i,r)=>t.default.upload(`${l}/v1/engagement/review/talent/${i}`,r,(0,a.default)(e)),edit:(e,i,r)=>t.default.upload(`${l}/v1/engagement/review/${i}`,r,(0,a.default)(e),"PATCH")}}}])},343019,e=>{"use strict";var t=e.i(621576),a=e.i(806344);let l=e=>e?.map(e=>({id:e.id,talentId:Number(e.talentId)})),i=(0,a.create)(e=>({wishes:[],clear:()=>{e({wishes:[]})},setWishes:t=>{e({wishes:l(t)})},fetchWishes:async(a,i)=>{if(!a)return e({wishes:[]}),[];let r=await t.BffApiService.Engagement.MyWish({accessToken:a,includeTalents:!!i});return e({wishes:l(r.result)}),r.result},toggleWish:async(a,l,i)=>{let[r]=await Promise.all([t.BffApiService.Engagement.ToggleWish({accessToken:a,talentId:l}),new Promise(e=>setTimeout(e,i))]),s=r.result?.isWish;return e(e=>s?{wishes:[...e.wishes,{id:1e5*Math.random(),talentId:Number(l)}]}:{wishes:e.wishes.filter(e=>Number(e.talentId)!==Number(l))}),s}}));e.s(["userWishStore",0,i])},692914,e=>{"use strict";let t=e.i(515959).NEXT_PUBLIC_CLOUDFRONT_ONSITE||"https://img.taling.me";e.s(["getCdnUrl",0,function(e){return e?/^https?:\/\//i.test(e)?e:`${t}/${e}`:null}])},319397,e=>{"use strict";var t=e.i(583740),a=e.i(822315);let l=e=>{let t=e.additionalInfo?.limitDate;return!!t&&(0,a.default)().isBefore((0,a.default)(t))};e.s(["getChallengeTitle",0,e=>e.challenge?.title??e.talent?.name??"","getVisibleChallenges",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=e=>!e.talent?.deletedAt,i=e.filter(a),r=t.filter(e=>a(e)&&l(e));return{challenges:[...i,...r],vodBadgeChallengeIds:new Set(r.map(e=>e.id))}},"isChallengeOnboarding",0,e=>e===t.ChallengeEnrollmentStatus.ONBOARDING,"isVodViewable",0,l])},727506,e=>{"use strict";let t=e=>10===e.length?e.replace(/(\d{3})(\d{3})(\d{4})/,"$1 $2 $3"):11===e.length?e.replace(/-/g,"").replace(/(\d{3})(\d{4})(\d{4})/,"$1 $2 $3"):e,a=e=>10===e.length?e.replace(/(\d{3})(\d{3})(\d{4})/,"$1-$2-$3"):11===e.length?e.replace(/-/g,"").replace(/(\d{3})(\d{4})(\d{4})/,"$1-$2-$3"):e,l={formatThousands:e=>isNaN(Number(e))?"0":e?.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")??"0",formatDeducted:e=>{let t=Number(e);return!Number.isFinite(t)||t<=0?`${l.formatThousands(0)}ì`:`-${l.formatThousands(t)}ì`},phoneNumber:e=>{try{if(!(e.startsWith("+")&&e.includes(" ")))return t(e.replace(/\D/g,""));{let a=e.split(" ");a.shift();let l=a.join("").replace(/\D/g,"");return t("0"+l)}}catch(t){return e}},phoneNumberWithDash:e=>{try{if(!(e.startsWith("+")&&e.includes(" ")))return a(e.replace(/\D/g,""));{let t=e.split(" ");t.shift();let l=t.join("").replace(/\D/g,"");return a("0"+l)}}catch(t){return e}},maskPhoneNumber:e=>{try{let t;if(e.startsWith("+")&&e.includes(" ")){let a=e.split(" ");a.shift(),t="0"+a.join("").replace(/\D/g,"")}else t=e.replace(/\D/g,"");if(11===t.length)return`${t.slice(0,3)}-****-${t.slice(7)}`;if(10===t.length)return`${t.slice(0,2)}-****-${t.slice(6)}`;if(8===t.length)return`${t.slice(0,4)}-****`;else return t}catch(t){return e}},digitsOnly:e=>e?e.replace(/\D/g,""):""};e.s(["NumberFormat",0,l])},772560,e=>{"use strict";e.s(["default",0,function(e,t){let a=e.wishCount||0,l=e.rating?.count||0,i=e.rating?.avgStars&&e.rating?.count?e.rating?.avgStars*e.rating?.count:0;return t&&t.length>
40&&t.forEach(e=>{let t=e.engagement;if(t&&(a+=t.wishCount||0,t.rating)){let{avgStars:e,count:a}=t.rating;i+=e*a,l+=a}}),{totalWishCount:a,avgStars:l>0?i/l:0,totalReviewCount:l}}])},439597,e=>{"use strict";var t=e.i(515959),a=e.i(539176),l=e.i(236312);e.s(["TalentImage",0,{getThumbnailList(e){if(!e)return[[],0];let t=e.replace(/\|+$/,"").split("|").filter(Boolean),a=t.length;return[t,a]},getThumbnailImageUrl(e){let t=l.TalentType.isVod(e),a=l.TalentType.isChallenge(e),i=e.image;return t||a?i?.pcMainTopImg:i?.coverThumbnailUrl},hasManagedThumbnail:e=>e?.level===a.TalentLevel.MANAGED&&!!e?.image?.managedThumbnailUrl,getManagedThumbnailUrl(e){let a=e?.image?.managedThumbnailUrl;if(a)return`${t.NEXT_PUBLIC_CLOUDFRONT_ONSITE}/${a}`}}])}]); 5 6//# debugId=6f57ff44-0f8a-af88-19fd-159e01dfdb10 7//# sourceMappingURL=1m883d0dbvb91.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.