PageSourceSearch

https://www.taling.me/_next/static/immutable/chunks/0-u4lhy3qbis5.js

js taling.me collected 2026-10-01 11:47:08 UTC 39,138 bytes, 6 lines download raw bytes

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]="36cc8a6f-9d29-1577-4857-3dbec6e6e196")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,200179,e=>{"use strict";var t=e.i(271645);let a="rnwb:message";e.s(["useReactNativeWebViewBridgeForReact",0,function(e){let{handler:l}=e;return(0,t.useEffect)(()=>{if(l)return window&&window.addEventListener(a,e,!0),()=>{window&&window.removeEventListener(a,e,!0)};function e(e){try{let{eventName:t,data:a}=e.data;l&&l(t,a)}catch(e){console.warn(e)}}},[]),{postMessage:(e,t)=>{let a=JSON.stringify({eventName:e,data:t});window&&window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(a)}}}])},303859,e=>{"use strict";var t=e.i(271645);let a=t.forwardRef(function(e,a){let{title:l,titleId:i,...s}=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},s),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,...s}=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},s),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,...s}=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},s),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",()=>v,"useBottomSheetContext",()=>p],76151),e.s(["BottomSheetHeader",()=>r],462206);var t=e.i(843476),a=e.i(500932),l=e.i(271645),i=e.i(174080),s=e.i(569438);let r=e=>{let l,i,r,n,o,d,c,u,m,g=(0,a.c)(21);g[0]!==e?({className:i,handle:n,children:l,...r}=e,g[0]=e,g[1]=l,g[2]=i,g[3]=r,g[4]=n):(l=g[1],i=g[2],r=g[3],n=g[4]);let h=void 0!==n&&n,f=p();g[5]!==f?(o=e=>{f&&f.onDragStart(e.clientY)},g[5]=f,g[6]=o):o=g[6];let v=o;g[7]!==f?(d=e=>{f&&f.onDragStart(e.touches[0].clientY)},g[7]=f,g[8]=d):d=g[8];let x=d,b=f&&"cursor-grab active:cursor-grabbing";return g[9]!==i||g[10]!==b?(c=(0,s.cn)("flex flex-col items-center justify-center rounded-tl-r32 rounded-tr-r32 bg-background-normal px-0\n        py-s12",b,i),g[9]=i,g[10]=b,g[11]=c):c=g[11],g[12]!==h?(u=h&&(0,t.jsx)("div",{className:"h-1 w-[2.75rem] rounded-r6 bg-palette-gray-30"}),g[12]=h,g[13]=u):u=g[13],g[14]!==l||g[15]!==v||g[16]!==x||g[17]!==r||g[18]!==c||g[19]!==u?(m=(0,t.jsxs)("div",{className:c,onMouseDown:v,onTouchStart:x,...r,children:[u,l]}),g[14]=l,g[15]=v,g[16]=x,g[17]=r,g[18]=c,g[19]=u,g[20]=m):m=g[20],m};r.displayName="BottomSheetHeader";let n=(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"}}),o=e=>{let l,i,r,o,d=(0,a.c)(11),{className:c,layout:u,title:m,description:g}=e;return d[0]!==c||d[1]!==u?(l=(0,s.cn)(n({layout:u}),c),d[0]=c,d[1]=u,d[2]=l):l=d[2],d[3]!==m?(i=(0,t.jsx)("p",{className:"text-heading2-bold text-normal",children:m}),d[3]=m,d[4]=i):i=d[4],d[5]!==g?(r=g&&(0,t.jsx)("p",{className:"text-body2normal-medium text-high-emphasis",children:g}),d[5]=g,d[6]=r):r=d[6],d[7]!==l||d[8]!==i||d[9]!==r?(o=(0,t.jsxs)("div",{className:l,children:[i,r]}),d[7]=l,d[8]=i,d[9]=r,d[10]=o):o=d[10],o};o.displayName="BottomSheetContentTitle";let d=e=>{let l,i,r,n,o,d=(0,a.c)(10);return d[0]!==e?({className:i,children:l,...r}=e,d[0]=e,d[1]=l,d[2]=i,d[3]=r):(l=d[1],i=d[2],r=d[3]),d[4]!==i?(n=(0,s.cn)("box-border flex-1 overflow-y-auto bg-background-normal px-s24 py-s16",i),d[4]=i,d[5]=n):n=d[5],d[6]!==l||d[7]!==r||d[8]!==n?(o=(0,t.jsx)("div",{className:n,...r,children:l}),d[6]=l,d[7]=r,d[8]=n,d[9]=o):o=d[9],o};d.displayName="BottomSheetContent",e.s(["BottomSheetContent",0,d],75605);var c=e.i(812622),u=e.i(206248);let m=e=>{let l,i,r,n,o,d=(0,a.c)(32),{className:m,button:g,variant:h,confirmLabel:p,cancelLabel:f,onConfirm:v,onCancel:x,isConfirmDisabled:b,isLoading:y}=e,w=void 0===g?"1button":g,C=void 0===p?"확인":p,N=void 0===f?"취소":f,E=void 0!==b&&b,S=void 0!==y&&y,T="primary"===(void 0===h?"primary":h)?"solidPrimary":"solidBlack";return d[0]!==m?(l=(0,s.cn)("box-border bg-background-normal px-s24 py-s16",m),d[0]=m,d[1]=l):l=d[1],d[2]!==w||d[3]!==C||d[4]!==E||d[5]!==S||d[6]!==v||d[7]!==T?(i="1button"===w&&(0,t.jsx)(c.Button,{variant:T,size:"lg",className:"w-full",onClick:v,disabled:E,isLoading:S,children:C}),d[2]=w,d[3]=C,d[4]=E,d[5]=S,d[6]=v,d[7]=T,d[8]=i):i=d[8],d[9]!==w||d[10]!==N||d[11]!==C||d[12]!==E||d[13]!==S||d[14]!==x||d[15]!==v||d[16]!==T?(r="horizontal"===w&&(0,t.jsxs)("div",{className:"flex w-full gap-s12",children:[(0,t.jsx)(c.Button,{variant:"outlinedAssistive",size:"lg",className:"flex-1",onClick:x,children:N}),(0,t.jsx)(c.Button,{variant:T,size:"lg",className:"flex-1",onClick:v,disabled:E,isLoading:S,children:C})]}),d[9]=w,d[10]=N,d[11]=C,d[12]=E,d[13]=S,d[14]=x,d[15]=v,d[16]=T,d[17]=r):r=d[17],d[18]!==w||d[19]!==N||d[20]!==C||d[21]!==E||d[22]!==S||d[23]!==x||d[24]!==v||d[25]!==T?(n="vertical"===w&&(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-s8",children:[(0,t.jsx)(c.Button,{variant:T,size:"lg",className:"w-full",onClick:v,disabled:E,isLoading:S,children:C}),(0,t.jsx)(u.TextButton,{variant:"assistive",size:"md",onClick:x,children:N})]}),d[18]=w,d[19]=N,d[20]=C,d[21]=E,d[22]=S,d[23]=x,d[24]=v,d[25]=T,d[26]=n):n=d[26],d[27]!==n||d[28]!==l||d[29]!==i||d[30]!==r?(o=(0,t.jsxs)("div",{className:l,children:[i,r,n]}),d[27]=n,d[28]=l,d[29]=i,d[30]=r,d[31]=o):o=d[31],o};m.displayName="BottomSheetFooter",e.s(["BottomSheetFooter",0,m],961640);var g=e.i(505011);let h=(0,l.createContext)(null),p=()=>(0,l.useContext)(h),f=e=>{let r,n,o,d,c,u,m,p,f,v,x,b,y,w,C,N,E,S,T,A,j,I,R,L,O,_,$=(0,a.c)(60);$[0]!==e?({className:n,children:r,isOpen:u,onClose:o,showOverlay:m,bottom:p,ref:c,...d}=e,$[0]=e,$[1]=r,$[2]=n,$[3]=o,$[4]=d,$[5]=c,$[6]=u,$[7]=m,$[8]=p):(r=$[1],n=$[2],o=$[3],d=$[4],c=$[5],u=$[6],m=$[7],p=$[8]);let k=void 0!==u&&u,B=void 0===m||m,P=void 0===p?0:p,V=(0,g.default)(),[M,D]=(0,l.useState)(!1),[U,z]=(0,l.useState)(0),[F,H]=(0,l.useState)(0);$[9]===Symbol.for("react.memo_cache_sentinel")?(f=e=>{D(!0),z(e),H(0)},$[9]=f):f=$[9];let G=f;$[10]!==U||$[11]!==M?(v=e=>{if(!M)return;let t=e-U;t>0&&H(t)},$[10]=U,$[11]=M,$[12]=v):v=$[12];let W=v;$[13]!==F||$[14]!==M||$[15]!==o?(x=()=>{M&&(D(!1),F>100&&o?.(),H(0))},$[13]=F,$[14]=M,$[15]=o,$[16]=x):x=$[16];let Y=x;$[17]!==W?(b=e=>{W(e.clientY)},$[17]=W,$[18]=b):b=$[18];let q=b;$[19]!==Y?(y=()=>{Y()},$[19]=Y,$[20]=y):y=$[20];let Q=y;$[21]!==W?(w=e=>{e.preventDefault(),W(e.touches[0].clientY)},$[21]=W,$[22]=w):w=$[22];let K=w;$[23]!==Y?(C=()=>{Y()},$[23]=Y,$[24]=C):C=$[24];let X=C;$[25]!==q||$[26]!==Q||$[27]!==X||$[28]!==K||$[29]!==M?(N=()=>
2{if(M)return document.addEventListener("mousemove",q),document.addEventListener("mouseup",Q),document.addEventListener("touchmove",K,{passive:!1}),document.addEventListener("touchend",X),()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",Q),document.removeEventListener("touchmove",K),document.removeEventListener("touchend",X)}},E=[M,q,Q,K,X],$[25]=q,$[26]=Q,$[27]=X,$[28]=K,$[29]=M,$[30]=N,$[31]=E):(N=$[30],E=$[31]),(0,l.useEffect)(N,E),$[32]!==k||$[33]!==o?(S=()=>{if(!k)return;let e=e=>{"Escape"===e.key&&o?.()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},T=[k,o],$[32]=k,$[33]=o,$[34]=S,$[35]=T):(S=$[34],T=$[35]),(0,l.useEffect)(S,T),$[36]!==M?(A={onDragStart:G,isDragging:M},$[36]=M,$[37]=A):A=$[37];let J=A;if(!k||!V)return null;$[38]!==o||$[39]!==B?(j=B&&(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"}),$[38]=o,$[39]=B,$[40]=j):j=$[40];let Z=!M&&"transition-transform duration-300",ee=!M&&0===F&&"animate-in slide-in-from-bottom duration-300";$[41]!==n||$[42]!==Z||$[43]!==ee?(I=(0,s.cn)("fixed left-0 right-0 z-modal","flex max-h-[90vh] w-full flex-col overflow-hidden rounded-t-2xl bg-white",Z,ee,n),$[41]=n,$[42]=Z,$[43]=ee,$[44]=I):I=$[44];let et="number"==typeof P?`${P}rem`:P,ea=F>0?`translateY(${F}px)`:void 0;if($[45]!==et||$[46]!==ea?(R={bottom:et,transform:ea},$[45]=et,$[46]=ea,$[47]=R):R=$[47],$[48]!==r||$[49]!==d||$[50]!==c||$[51]!==I||$[52]!==R?(L=(0,t.jsx)("div",{ref:c,className:I,style:R,...d,children:r}),$[48]=r,$[49]=d,$[50]=c,$[51]=I,$[52]=R,$[53]=L):L=$[53],$[54]!==J||$[55]!==L?(O=(0,t.jsx)(h.Provider,{value:J,children:L}),$[54]=J,$[55]=L,$[56]=O):O=$[56],$[57]!==j||$[58]!==O){let e=(0,t.jsxs)(t.Fragment,{children:[j,O]});_=(0,i.createPortal)(e,document.body),$[57]=j,$[58]=O,$[59]=_}else _=$[59];return _};f.displayName="BottomSheet";let v=Object.assign(f,{Header:r,ContentTitle:o,Content:d,Footer:m})},266684,e=>{"use strict";var t=e.i(843476),a=e.i(500932),l=e.i(529206),i=e.i(583740),s=e.i(935392),r=e.i(195519),n=e.i(505011),o=e.i(200179),d=e.i(407633),c=e.i(822315),u=e.i(271645),m=e.i(33750),g=e.i(486339),h=e.i(590397),p=e.i(76151),f=e.i(812622),v=e.i(959443);let x={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 b,y,w,C,N,E,S,T,A=(0,a.c)(67),{isOpen:j,setIsOpen:I,variant:R,talentTitle:L,itemId:O,limitDate:_,onRequestInstallApp:$}=e,k=void 0===R?"installApp":R,B=(0,n.default)(),P=(0,u.useContext)(d.TalingAppContext);A[0]===Symbol.for("react.memo_cache_sentinel")?(b={},A[0]=b):b=A[0];let{postMessage:V}=(0,o.useReactNativeWebViewBridgeForReact)(b),{setNewFuncAlertCookie:M}=(0,r.default)("home-challenge-onboarding-modal"),D=window.location.origin,U=`${D}/redirect-processor/app-store`;A[1]!==P||A[2]!==O||A[3]!==V?(y=()=>{P?V(l.AppGlobalEvents.openChallengePreMission,{itemId:O}):window.location.href=U},A[1]=P,A[2]=O,A[3]=V,A[4]=y):y=A[4];let z=y;A[5]!==I||A[6]!==M?(w=()=>{M(1),I(!1)},A[5]=I,A[6]=M,A[7]=w):w=A[7];let F=w;if(!B)return null;if("vodEnded"===k){let e,a,i,r,n,o,d,u,m,g,p,x;if(A[8]!==_){let t=_?(0,c.default)(_):null,a=t?Math.max(t.startOf("day").diff((0,c.default)().startOf("day"),"day"),0):0;e=t?`VOD는 종료일까지 계속 수강이 가능해요. 
3[${t.format("YYYY년 M월 D일")}(${a}일 남음)]`:"VOD는 종료일까지 계속 수강이 가능해요.",A[8]=_,A[9]=e}else e=A[9];let b=e;A[10]!==P||A[11]!==O||A[12]!==$||A[13]!==V||A[14]!==I?(a=()=>{P?(V(l.AppGlobalEvents.openChallengeHome,{itemId:O}),I(!1)):$?.()},A[10]=P,A[11]=O,A[12]=$,A[13]=V,A[14]=I,A[15]=a):a=A[15];let y=a;return A[16]!==I?(i=()=>I(!1),A[16]=I,A[17]=i):i=A[17],A[18]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(v.Popup.Header,{}),A[18]=r):r=A[18],A[19]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("p",{className:"text-heading2-bold text-normal",children:"종료된 챌린지예요"}),A[19]=n):n=A[19],A[20]!==b?(o=(0,t.jsxs)("div",{className:"box-border flex flex-col items-center gap-s8 px-s24 py-s8 text-center",children:[n,(0,t.jsx)("p",{className:"w-full whitespace-pre-wrap text-body2normal-medium text-high-emphasis",children:b})]}),A[20]=b,A[21]=o):o=A[21],A[22]!==y?(d=(0,t.jsx)(f.Button,{variant:"outlinedBlack",size:"lg",className:"flex-1",onClick:y,children:"챌린지 홈 가기"}),A[22]=y,A[23]=d):d=A[23],A[24]!==O?(u=s.ServicePathUtil.vod.getPlayPathByItem(O),A[24]=O,A[25]=u):u=A[25],A[26]!==I?(m=()=>I(!1),A[26]=I,A[27]=m):m=A[27],A[28]!==u||A[29]!==m?(g=(0,t.jsx)(f.Button,{asChild:!0,variant:"solidBlack",size:"lg",className:"flex-1",children:(0,t.jsx)(h.default,{href:u,onClick:m,children:"VOD 수강하기"})}),A[28]=u,A[29]=m,A[30]=g):g=A[30],A[31]!==d||A[32]!==g?(p=(0,t.jsxs)("div",{className:"flex gap-s12 px-s24 py-s16",children:[d,g]}),A[31]=d,A[32]=g,A[33]=p):p=A[33],A[34]!==j||A[35]!==o||A[36]!==p||A[37]!==i?(x=(0,t.jsxs)(v.Popup,{isOpen:j,onClose:i,maxWidth:"w-[339px]",children:[r,o,p]}),A[34]=j,A[35]=o,A[36]=p,A[37]=i,A[38]=x):x=A[38],x}if(m.isMobile){let e,a,l,s,r,n;A[39]!==I?(e=()=>I(!1),A[39]=I,A[40]=e):e=A[40],A[41]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(p.BottomSheet.Header,{handle:!0}),A[41]=a):a=A[41],A[42]!==L||A[43]!==k?(l="preMission"===k&&L?(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:L}),(0,t.jsx)("div",{className:"text-heading3-semibold text-normal",children:x[k].mobile.title}),(0,t.jsx)("p",{className:"text-label1reading-regular text-neutral",children:x[k].mobile.desc})]}):(0,t.jsx)(p.BottomSheet.ContentTitle,{title:x[k].mobile.title,de
3scription:x[k].mobile.desc,layout:"middle"}),A[42]=L,A[43]=k,A[44]=l):l=A[44],A[45]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(p.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:i.INGLE_IMAGES.VOD,alt:"ingle vod",className:"h-full w-full object-contain"})})})}),A[45]=s):s=A[45];let o=x[k],d=x[k];return A[46]!==z||A[47]!==F||A[48]!==d.mobile.secondary||A[49]!==o.mobile.primary?(r=(0,t.jsx)(p.BottomSheet.Footer,{button:"vertical",confirmLabel:o.mobile.primary,cancelLabel:d.mobile.secondary,onConfirm:z,onCancel:F}),A[46]=z,A[47]=F,A[48]=d.mobile.secondary,A[49]=o.mobile.primary,A[50]=r):r=A[50],A[51]!==j||A[52]!==r||A[53]!==e||A[54]!==l?(n=(0,t.jsxs)(p.BottomSheet,{isOpen:j,onClose:e,children:[a,l,s,r]}),A[51]=j,A[52]=r,A[53]=e,A[54]=l,A[55]=n):n=A[55],n}A[56]!==I?(C=()=>I(!1),A[56]=I,A[57]=C):C=A[57],A[58]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(v.Popup.Header,{}),A[58]=N):N=A[58];let H=x[k],G=x[k];return A[59]!==H.desktop.title||A[60]!==G.desktop.subtitle?(E=(0,t.jsx)(v.Popup.ContentTitle,{title:H.desktop.title,description:G.desktop.subtitle,layout:"middle"}),A[59]=H.desktop.title,A[60]=G.desktop.subtitle,A[61]=E):E=A[61],A[62]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(v.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)(g.default,{value:U,size:224})})})}),A[62]=S):S=A[62],A[63]!==j||A[64]!==C||A[65]!==E?(T=(0,t.jsxs)(v.Popup,{isOpen:j,onClose:C,children:[N,E,S]}),A[63]=j,A[64]=C,A[65]=E,A[66]=T):T=A[66],T}])},998927,e=>{"use strict";var t=e.i(843476),a=e.i(500932),l=e.i(569438),i=e.i(225913),s=e.i(73914);let r=(0,i.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"}}),n=(0,i.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"}}),o=(0,i.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"}}),d=(0,i.cva)("",{variants:{type:{filled:"",outlined:"ring-1 ring-inset bg-transparent"}},defaultVariants:{type:"filled"}});e.s(["Chip",0,function(e){let i,c,u,m,g,h,p,f=(0,a.c)(35),{className:v,variant:x,size:b,shape:y,type:w,children:C,leftIcon:N,rightIcon:E,textColor:S,backgroundColor:T,textClassName:A,onClick:j}=e,I=void 0===x?"primary":x,R=void 0===b?"lg":b,L=void 0===y?"square":y,O=void 0===w?"filled":w;f[0]!==I?(i=()=>{switch(I){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"}}},f[0]=I,f[1]=i):i=f[1];let _=i;if(f[2]!==T||f[3]!==v||f[4]!==_||f[5]!==L||f[6]!==R||f[7]!==S||f[8]!==O||f[9]!==I){let e,t,a="outlined"===O?_():null;c=S||(a?a.text:n({variant:I}));let i=T?null:r({variant:I});f[13]!==T?(e=T&&{backgroundColor:`rgb(var(--${T}))`},f[13]=T,f[14]=e):e=f[14],f[15]!==e?(t={...e},f[15]=e,f[16]=t):t=f[16],u=t,m=(0,l.cn)(o({size:R,shape:L}),i,v,d({type:O}),a?.border),f[2]=T,f[3]=v,f[4]=_,f[5]=L,f[6]=R,f[7]=S,f[8]=O,f[9]=I,f[10]=c,f[11]=u,f[12]=m}else c=f[10],u=f[11],m=f[12];let $=m;f[17]!==R?(g=(e=>{switch(e){case"lg":return"lg";case"md":return"md";case"sm":return"sm";case"xs":return"xs"}})(R),f[17]=R,f[18]=g):g=f[18],f[19]!==C||f[20]!==c||f[21]!==N||f[22]!==E||f[23]!==g||f[24]!==A?(h=(0,t.jsx)(s.ContentLayer,{size:g,leftIcon:N,r
3ightIcon:E,textColor:c,className:A,children:C}),f[19]=C,f[20]=c,f[21]=N,f[22]=E,f[23]=g,f[24]=A,f[25]=h):h=f[25];let k=h;if(j){let e;return f[26]!==$||f[27]!==k||f[28]!==u||f[29]!==j?(e=(0,t.jsx)("button",{type:"button",style:u,className:$,onClick:j,children:k}),f[26]=$,f[27]=k,f[28]=u,f[29]=j,f[30]=e):e=f[30],e}return f[31]!==$||f[32]!==k||f[33]!==u?(p=(0,t.jsx)("div",{style:u,className:$,children:k}),f[31]=$,f[32]=k,f[33]=u,f[34]=p):p=f[34],p}])},767622,e=>{"use strict";var t=e.i(843476),a=e.i(500932),l=e.i(590397),i=e.i(847810),s=e.i(539176),r=e.i(988278),n=e.i(315671),o=e.i(626512);let d=(0,e.i(770703).default)(()=>e.A(991375),{loadableGenerated:{modules:[343757]},ssr:!1}),c={SQUARE:"square",VIDEO:"video"},u={[c.SQUARE]:"aspect-[1/1]",[c.VIDEO]:"aspect-[16/9]"};e.s(["ClassCardThumbnailRatio",0,c,"ClassCardVertical",0,function(e){let m,g,h,p,f,v,x,b,y,w,C,N,E,S=(0,a.c)(38),{href:T,thumbnailUrl:A,thumbnailAlt:j,thumbnailRatio:I,thumbnailOverlay:R,isSoldOut:L,chips:O,title:_,rating:$,tutorName:k,priceArea:B,onClick:P,className:V}=e,M=void 0===I?c.SQUARE:I,D=void 0!==L&&L;S[0]!==V?(m=(0,o.classNames)("group relative flex flex-col gap-s8",V),S[0]=V,S[1]=m):m=S[1];let U=m,z=u[M];S[2]!==z?(g=(0,o.classNames)("relative w-full shrink-0 overflow-hidden rounded-r8 bg-palette-gray-30",z),S[2]=z,S[3]=g):g=S[3],S[4]!==j||S[5]!==M||S[6]!==A?(h=A&&(0,t.jsx)(d,{src:A,alt:j??"클래스 썸네일",className:"h-full w-full object-cover",nextImageOption:{width:640,height:M===c.SQUARE?640:360},fallback:(0,t.jsx)("div",{className:"h-full w-full bg-palette-gray-50 blur-sm"})}),S[4]=j,S[5]=M,S[6]=A,S[7]=h):h=S[7],S[8]!==D?(p=D&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/60",children:(0,t.jsx)("img",{src:s.SOLDOUT_SVG_URL,alt:"솔드아웃",className:"w-full object-contain"})}),S[8]=D,S[9]=p):p=S[9],S[10]!==g||S[11]!==h||S[12]!==p||S[13]!==R?(f=(0,t.jsxs)("div",{className:g,children:[h,p,R]}),S[10]=g,S[11]=h,S[12]=p,S[13]=R,S[14]=f):f=S[14],S[15]!==O?(v=O&&(0,t.jsx)("div",{className:"flex gap-s4",children:O}),S[15]=O,S[16]=v):v=S[16],S[17]!==_?(x=(0,t.jsx)("p",{className:"line-clamp-2 text-body2normal-semibold text-neutral",children:_}),S[17]=_,S[18]=x):x=S[18],S[19]!==$||S[20]!==k?(b=(!!$?.count||k)&&(0,t.jsxs)("div",{className:"flex items-center gap-s4",children:[$&&$.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)(n.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($.avgStars)}),(0,t.jsxs)("span",{className:"text-label1-regular leading-none",children:["(",$.count,")"]})]})]}),k&&(0,t.jsx)("div",{className:"h-[0.75rem] w-px shrink-0 bg-palette-gray-50"})]}),k&&(0,t.jsx)("p",{className:"truncate text-label1-regular text-low-emphasis",children:k})]}),S[19]=$,S[20]=k,S[21]=b):b=S[21],S[22]!==x||S[23]!==b?(y=(0,t.jsxs)("div",{className:"flex flex-col gap-s4",children:[x,b]}),S[22]=x,S[23]=b,S[24]=y):y=S[24],S[25]!==B||S[26]!==y||S[27]!==v?(w=(0,t.jsxs)("div",{className:"flex flex-col gap-s6",children:[v,y,B]}),S[25]=B,S[26]=y,S[27]=v,S[28]=w):w=S[28],S[29]!==w||S[30]!==f?(C=(0,t.jsxs)(t.Fragment,{children:[f,w]}),S[29]=w,S[30]=f,S[31]=C):C=S[31];let F=C;return S[32]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(i.InteractionLayer,{variant:"press"}),S[32]=N):N=S[32],S[33]!==U||S[34]!==F||S[35]!==T||S[36]!==P?(E=(0,t.jsxs)(l.default,{href:T,className:U,onClick:P,children:[F,N]}),S[33]=U,S[34]=F,S[35]=T,S[36]=P,S[37]=E):E=S[37],E},"ClassCardVerticalSkeleton",0,function(e){let l,i,s,r,n,d,m=(0,a.c)(11),{thumbnailRatio:g,className:h}=e,p=void 0===g?c.SQUARE:g;m[0]!==h?(l=(0,o.classNames)("flex flex-col gap-s8",h),m[0]=h,m[1]=l):l=m[1];let f=u[p];return m[2]!==f?(i=(0,o.classNames)("w-full shrink-0 animate-pulse rounded-r8 bg-palette-gray-30",f),m[2]=f,m[3]=i):i=m[3],m[4]!==i?(s=(0,t.jsx)("div",{className:i}),m[4]=i,m[5]=s):s=m[5],m[6]===Symbol.for("react.memo_cache_sentinel")?(r=(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"})]}),m[6]=r):r=m[6],m[7]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsxs)("div",{className:"flex flex-col gap-s6",children:[r,(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"})]})]}),m[7]=n):n=m[7],m[8]!==l||m[9]!==s?(d=(0,t.jsxs)("div",{className:l,children:[s,n]}),m[8]=l,m[9]=s,m[10]=d):d=m[10],d}])},621430,e=>{"use strict";var t=e.i(843476),a=e.i(998927),l=e.i(767622),i=e.i(128501),s=e.i(539176),r=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),g=e.i(770703),h=e.i(704612);let p=(0,g.default)(()=>e.A(496837),{loadableGenerated:{modules:[196096]}});e.s(["TalentClassCardVertical",0,function(e){let{talent:g,query:f,showChip:v=!0,thumbnailOverlay:x,onCardClick:b,eventContext:y,className:w}=e,{trackEvent:C}=(0,r.useMixpanelStore)();try{let e=d.TalentImage.getManagedThumbnailUrl(g),r=e?l.ClassCardThumbnailRatio.SQUARE:l.ClassCardThumbnailRatio.VIDEO,c=e||d.TalentImage.getThumbnailImageUrl(g),N=!c||c.startsWith("http")||c.startsWith("/")?c:`https://${c}`,E=u.MCategoryToKorString[g.mCategory],{avgStars:S,totalReviewCount:T}=g?.engagement?(0,o.default)(g.engagement,g.twinInfo):{avgStars:0,totalReviewCount:0},A=g?.twinInfoV2?{avgStars:g.twinInfoV2.bestAvgStars||S,count:g.twinInfoV2.totalRatingCount||T}:{avgStars:S,count:T},j=new URLSearchParams(f??{}).toString();return(0,t.jsx)(l.ClassCardVertical,{href:`/talent/${g.id}${j?`?${j}`:""}`,thumbnailUrl:N,thumbnailRatio:r,thumbnailOverlay:x,isSoldOut:m.TalentStatus.isSoldOut(g),chips:v&&E?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Chip,{size:"sm",variant:"black",shape:"square",type:"outlined",children:E}),g.majorRegion?.length>0&&g.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:[g.majorRegion[0].name,g.majorRegion.length>1&&` 외 ${g.majorRegion.length-1}곳`]})})]}):void 0,title:(0,n.StringFormat)().sanitizeLineBreak(g?.title)??" ",rating:A,tutorName:g?.tutorInfo?.description||void 0,priceArea:(0,t.jsx)(p,{talent:g,showOriginalPrice
3:!1}),onClick:()=>{if(y?.path){let e=m.TalentType.isSubscription(g),t={class_type:(0,h.getTalentClassTypeEng)(g.mCategory),class_id:g.id,class_title:g.title,class_tutor:g.tutorInfo?.description,class_tutor_id:g.tutorInfo?.id,price:e?g.subscriptionPlans?.[0]?.discountPrice:g.price?.find?.(e=>"Y"===e.defaultYn)?.price};y.path===s.TalentCardEventPath.HOME&&y.groupTitle?t.group_title=y.groupTitle:y.path===s.TalentCardEventPath.CATEGORY&&y.groupTitle?t.category=y.groupTitle:(y.path===s.TalentCardEventPath.SEARCH||y.path===s.TalentCardEventPath.SEARCH_SIMILAR)&&y.groupTitle&&(t.search_keyword=y.groupTitle),C(i.MIXPANEL_EVENTS.TALENT.CARD[y.path],t)}b?.()},className:w})}catch(e){return(0,c.captureException)(e,{extra:{component:"TalentClassCardVertical",payload:{...g}}}),(0,t.jsx)(l.ClassCardVerticalSkeleton,{className:w})}}])},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",s=["taling.me","cloudfront.net"],r=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,f]=(0,l.useReducer)((e,t)=>!0,!1);return p||!n?g?m?(0,t.jsx)(a.default,{src:r(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(r(e));return s.some(e=>t===e||t.endsWith(`.${e}`))}catch{return!1}})(n)?(0,t.jsx)(a.default,{src:r(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:f,onClick:h}):(0,t.jsx)("img",{src:n,alt:o,className:d,loading:u,onError:f,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])},529206,e=>{"use strict";e.s(["AppGlobalEvents",0,{wishChanged:"wishChanged",purchaseFinished:"purchaseFinished",searchKeywordChanged:"searchKeywordChanged",openAppInfo:"openAppInfo",phoneConfirmed:"phoneConfirmed",addCard:"addCard",membershipCanceled:"membershipCanceled",backButtonPressed:"backButtonPressed",phoneVerifiedSuccess:"phoneVerifiedSuccess",updateProfile:"updateProfile",openChallengePreMission:"openChallengePreMission",openChallengeHome:"openChallengeHome",challengeStatusChanged:"challengeStatusChanged",modalOpened:"modalOpened",modalClosed:"modalClosed",closeModal:"closeModal",navigateExchangeMall:"NAVIGATE_EXCHANGE_MALL",requestStoreReview:"requestStoreReview"}])},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}
3/last-viewed-vod`,{vodId:i.vodId},{Authorization:e}),requestPlayerToken(e,t,i,s){let r=s?`?mcpf=${s}`:"";return a.default.get(`${l}/v1/item/${t}/vod/${i}/player-jwt${r}`,{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 s=e.i(970598),r=e.i(619273),n=e.i(621576);let o=s.MCategoryToEngString[s.TalentTypeEnum.CHALLENGE];async function d(e){if(!e)return{inProgressItem:[],endedItem:[]};if(r.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,s,r){let n=[a?"engagement":"",i?"price":""].join(","),o=`${l}/v1/talent/list?talentId=${e.join(",")}&optionalData=${n}&page=${s??1}&limit=${r??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,s)=>t.default.upload(`${l}/v1/engagement/review/talent/${i}`,s,(0,a.default)(e)),edit:(e,i,s)=>t.default.upload(`${l}/v1/engagement/review/${i}`,s,(0,a.default)(e),"PATCH")}}}])},610794,e=>{"use strict";let t=(0,e.i(806344).create)(e=>({isLifelongTalent:!1,setIsLifelongTalent:t=>{e({isLifelongTalent:t})}}));e.s(["useLifelongTalentStore",0,t])},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 s=await t.BffApiService.Engagement.MyWish({accessToken:a,includeTalents:!!i});return e({wishes:l(s.result)}),s.result},toggleWish:async(a,l,i)=>{let[s]=await Promise.all([t.BffApiService.Engagement.ToggleWish({accessToken:a,talentId:l}),new Promise(e=>setTimeout(e,i))]),r=s.result?.isWish;return e(e=>r?{wishes:[...e.wishes,{id:1e5*Math.random(),talentId:Number(l)}]}:{wishes:e.wishes.filter(e=>Number(e.talentId)!==Number(l))}),r}}));e.s(["useUserWishStore",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),s=t.filter(e=>a(e)&&l(e));return{challenges:[...i,...s],vodBadgeChallengeIds:new Set(s.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])},704612,699683,e=>{"use strict";var t=e.i(970598);let a={VOD:"vod",ONOFFLINE:"onoffline",MEMBERSHIP:"membership"};e.s(["DESIGN_VARIANTS",0,a],699683);let l=e=>{if(null==e)return;let a=Number(e);return t.M_CATEGORY_META.find(e=>e.members.includes(a))},i={[t.TalentTypeEnum.VOD]:a.VOD,[t.TalentTypeEnum.P2P_OFFLINE]:a.ONOFFLINE,[t.TalentTypeEnum.EBOOK]:a.ONOFFLINE,[t.TalentTypeEnum.RECODING_VIDEO]:a.ONOFFLINE,[t.TalentTypeEnum.SUBSCRIPTION]:a.MEMBERSHIP};e.s(["getCategoryMetaByType",0,l,"getDesignVariant",0,e=>null==e?null:i[e]??null,"getTalentClassTypeEng",0,e=>l(e??void 0)?.eng,"isTalentInCategory",0,(e,a)=>{let l=t.M_CATEGORY_META.find(e=>e.eng===a);return!!l&&void 0!==e.mCategory&&l.members.includes(e.mCategory)}],704612)},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>
30&&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}`}}])}]);
4
5//# debugId=36cc8a6f-9d29-1577-4857-3dbec6e6e196
6//# sourceMappingURL=08gyrlfhbv25g.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.