1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,806537,e=>{"use strict";let t=(0,e.i(456420).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],806537)},456539,e=>{"use strict";var t=e.i(144716);e.s(["ChevronUp",()=>t.default])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},786563,e=>{"use strict";let t=(0,e.i(456420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],786563)},247031,e=>{"use strict";e.s(["GROUP_BADGE_ANCHOR",0,"rounded bg-orange-500 px-1.5 py-0.5 text-3xs font-semibold tabular-nums text-white","GROUP_BADGE_FIRST",0,"rounded bg-primary-500 px-1.5 py-0.5 text-3xs font-bold text-white","GROUP_BADGE_FOLLOWER",0,"rounded bg-black/75 px-1.5 py-0.5 text-3xs font-semibold tabular-nums text-orange-300 backdrop-blur-sm","GROUP_BADGE_OFFSET",0,"rounded bg-black/60 px-1.5 py-0.5 text-3xs font-semibold tabular-nums text-white","GROUP_BAND",0,"pointer-events-none absolute -inset-x-1.5 -top-2.5 -bottom-2.5 rounded-2xl border border-orange-200 bg-orange-100/60 dark:border-orange-900/60 dark:bg-orange-950/35","GROUP_BAND_CHIP",0,"absolute -top-5 left-1 rounded-full border border-orange-200 bg-white px-2.5 py-0.5 text-2xs font-bold leading-tight text-orange-700 dark:border-orange-900/60 dark:bg-secondary-900 dark:text-orange-300","GROUP_EXPAND_BUTTON",0,"flex h-full min-h-[9rem] w-full flex-col items-center justify-center gap-2 rounded-lg border border-dashed border-orange-400/60 text-orange-600 transition-colors hover:border-orange-500 hover:bg-orange-500/5 dark:text-orange-300","GROUP_RING_ANCHOR",0,"rounded-lg ring-[3px] ring-orange-500","GROUP_RING_FOLLOWER",0,"rounded-lg ring-2 ring-orange-500/45","VIEWER_BADGE_LATE",0,"bg-red-600/90 text-white","VIEWER_BADGE_ORIGINAL",0,"bg-primary-500/90 text-white"])},430177,e=>{"use strict";var t=e.i(681307),r=e.i(327898);let a=t.z.string().trim().min(1).max(20),n=t.z.object({anchorId:a,index:t.z.number().int().nonnegative(),total:t.z.number().int().nonnegative(),offsetSec:t.z.number().int().nonnegative().nullable()}),s=t.z.object({videoId:a,title:t.z.string().trim().max(500).nullable(),viewCount:t.z.number().int().nonnegative(),durationSec:t.z.number().int().nonnegative().nullable(),publishedAt:t.z.string().datetime({offset:!0}).nullable(),channelId:t.z.string().trim().min(1).max(32),channelTitle:t.z.string().trim().max(255).nullable(),channelImage:t.z.string().trim().max(2048).nullable(),channelCountry:t.z.string().trim().max(10).nullable(),channelHandle:t.z.string().trim().max(100).nullable(),similarCount:t.z.number().int().nonnegative(),topMatchType:t.z.string().trim().max(40).nullable(),thumbnailUrl:t.z.string().trim().min(1).max(2048),group:n.nullable()}),l=t.z.object({position:t.z.number().int().positive(),anchorVideoId:a,videos:t.z.array(s).min(1).max(4)}).strict();t.z.object({groups:t.z.array(l).length(r.CURATED_SIMILAR_GROUP_COUNT)}).superRefine(({groups:e},t)=>{let r=new Set;e.forEach((e,a)=>{e.position!==a+1&&t.addIssue({code:"custom",path:["groups",a,"position"],message:"ê²ì ììë 1ë¶í° ì°ìëì´ì¼ í©ëë¤."}),r.has(e.anchorVideoId)&&t.addIssue({code:"custom",path:["groups",a,"anchorVideoId"],message:"ëí ììì ì¤ë³µ ê²ìí ì ììµëë¤."}),r.add(e.anchorVideoId);let n=new Set;e.videos.forEach((r,s)=>{n.has(r.videoId)&&t.addIssue({code:"custom",path:["groups",a,"videos",s,"videoId"],message:"ê°ì 묶ìì ê°ì ììì ë ì ììµëë¤."}),n.add(r.videoId),r.group?.anchorId!==e.anchorVideoId&&t.addIssue({code:"custom",path:["groups",a,"videos",s,"group","anchorId"],message:"미리보기 ììì 묶ìì ëí ììì 참조í´ì¼ í©ëë¤."}),r.group?.index!==s&&t.addIssue({code:"custom",path:["groups",a,"videos",s,"group","index"],message:"미리보기 ììì ëí ììë¶í° ììëë¡ ì ë ¬ëì´ì¼ í©ëë¤."})});let s=e.videos[0];s?.videoId!==e.anchorVideoId&&t.addIssue({code:"custom",path:["groups",a,"videos",0,"videoId"],message:"첫 미리보기 ììì ëí ììì´ì´ì¼ í©ëë¤."})})}),e.s(["GROUP_VISIBLE_FOLLOWERS",0,3])},763522,e=>{"use strict";var t=e.i(843476),r=e.i(581029),a=e.i(247031);function n(e){return null===e?null:"ìµì´"===e?"ì´ ë¬¶ììì ê°ì¥ 먼ì ì
ë¡ëë ìì":"ë¹ì¼"===e?"묶ì ìµì´ ììê³¼ ê°ì ë ì
ë¡ëë ìì":`묶ì ìµì´ ììë³´ë¤ ${e.slice(1)} ë¤ì ì
ë¡ëë ìì`}e.s(["SimilarVideoCard",0,function({video:e,onPlay:s,groupStyle:l="ring",bandSubdued:i=!1,interactionDisabled:o=!1,thumbnailLoading:c,thumbnailFetchPriority:d}){let u=e.group,h="band"===l,m=!h&&null!==u&&0===u.index,x=!h&&null!==u&&u.index>0,f=function(e){if(null===e)return null;if(e<=0)return"ìµì´";let t=Math.floor(e/86400);if(t<1)return"ë¹ì¼";if(t<30)return`+${t}ì¼`;let r=Math.floor(t/30);return r<12?`+${r}ë¬`:`+${Math.floor(r/12)}ë
`}(u?.offsetSec??null),p=m?a.GROUP_RING_ANCHOR:x?a.GROUP_RING_FOLLOWER:void 0,g=h?void 0:p,b="ìµì´"===f,v=m?(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsxs)("span",{className:a.GROUP_BADGE_ANCHOR,title:`ê°ì ì본 묶ì ${u.total+1}ê°ì ëí ìì${n(f)?` \xb7 ${n(f)}`:""}`,children:["묶ì ",u.total+1,f&&!b?` \xb7 ${f}`:""]}),b&&(0,t.jsx)("span",{className:a.GROUP_BADGE_FIRST,title:"ì´ ë¬¶ììì ê°ì¥ 먼ì ì
ë¡ëë ìì",children:"ìµì´"})]}):x?(0,t.jsxs)("span",{className:b?a.GROUP_BADGE_FIRST:a.GROUP_BADGE_FOLLOWER,title:n(f)??"ê°ì ì본 묶ìì ë§¤ì¹ ìì",children:["â³ ",f??"매ì¹"]}):h&&null!==u&&null!==f?(0,t.jsx)("span",{className:"ìµì´"===f?a.GROUP_BADGE_FIRST:a.GROUP_BADGE_OFFSET,title:n(f)??void 0,children:f}):null;return(0,t.jsx)(r.ShortsCard,{videoId:e.videoId,title:e.title,thumbnailUrl:e.thumbnailUrl,href:`https://www.youtube.com/watch?v=${e.videoId}`,onOpen:s,channelName:e.channelTitle,channelLogoUrl:e.channelImage,channelId:o?null:e.channelId,viewCount:e.viewCount,publishedAt:e.publishedAt,overlayInfo:!0,overlayActions:!o,onThumbnailClick:o?e=>e.preventDefault():void 0,thumbnailClassName:g,thumbnailLoading:c,thumbnailFetchPriority:d,dimmed:!!o||h&&i,thumbnailTopLeft:(0,t.jsxs)("div",{className:"flex flex-col items-start gap-1",children:[e.similarCount>0&&(0,t.jsxs)("span",{className:"rounded-xl bg-black/75 px-2 py-1 text-3xs font-semibold text-white backdrop-blur-sm",title:`ì´ ììê³¼ ê°ì ì본ì ì´ ì ì¬ ìì ${e.similarCount}ê°`,children:["ì ì¬ ",e.similarCount]}),v]})})}])},621482,e=>{"use strict";var t=e.i(469637),r=e.i(992571),a=e.i(869230),n=class extends a.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}
1fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:a}=e,n=super.createResult(e,t),{isFetching:s,isRefetching:l,isError:i,isRefetchError:o}=n,c=a.fetchMeta?.fetchMore?.direction,d=i&&"forward"===c,u=s&&"forward"===c,h=i&&"backward"===c,m=s&&"backward"===c;return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,r.hasNextPage)(t,a.data),hasPreviousPage:(0,r.hasPreviousPage)(t,a.data),isFetchNextPageError:d,isFetchingNextPage:u,isFetchPreviousPageError:h,isFetchingPreviousPage:m,isRefetchError:o&&!d&&!h,isRefetching:l&&!u&&!m}}};e.s(["useInfiniteQuery",0,function(e,r){return(0,t.useBaseQuery)(e,n,r)}],621482)},398160,e=>{"use strict";function t(e){for(let t of["materials/categories","materials-categories","materials/folders"])e.invalidateQueries({queryKey:[t]})}e.s(["invalidateMaterialFolders",0,t,"invalidateMaterialMembership",0,function(e){for(let t of["materials","materials/unread-count","materials/channels"])e.invalidateQueries({queryKey:[t]});t(e)}])},301149,e=>{"use strict";var t=e.i(798919);function r(e){let t=Date.now()-new Date(e).getTime();if(t<6e4)return"ë°©ê¸";let r=Math.floor(t/6e4);if(r<60)return`${r}ë¶ ì `;let a=Math.floor(t/36e5);if(a<24)return`${a}ìê° ì `;let n=Math.floor(t/864e5);if(n<30)return`${n}ì¼ ì `;let s=Math.floor(n/30);return s<12?`${s}ë¬ ì `:`${Math.floor(s/12)}ë
ì `}e.s(["formatAccessTime",0,function(e){let a=new Date(e);return Date.now()-a.getTime()<36e5?r(e):(0,t.getKSTDateString)(a)===(0,t.getKSTDateString)()?(0,t.formatKSTTime)(a):(0,t.formatKST)(a,"MM-DD HH:mm")},"formatGapKo",0,function(e,t){let r=new Date(e).getTime(),a=new Date(t).getTime();if(Number.isNaN(r)||Number.isNaN(a))return null;let n=Math.abs(a-r);if(n<36e5){let e=Math.floor(n/6e4);return e<1?"1ìê° ì´ë´":`${e}ë¶`}let s=Math.floor(n/36e5);if(s<48)return`${s}ìê°`;let l=Math.floor(n/864e5);if(l<30)return`${l}ì¼`;let i=Math.floor(l/30);return i<12?`${i}ê°ì`:`${Math.floor(i/12)}ë
`},"formatTimeAgoShort",0,r,"formatUploadAgo",0,function(e){if(!e)return"";let t=new Date(e).getTime();if(Number.isNaN(t))return"";let r=Date.now()-t;if(r<6e4)return"ë°©ê¸ ì ";let a=Math.floor(r/6e4);if(a<60)return`${a}ë¶ ì `;let n=Math.floor(a/60);if(n<24)return`${n}ìê° ì `;let s=Math.floor(n/24);return s<7?`${s}ì¼ ì `:s<30?`${Math.floor(s/7)}주 ì `:s<365?`${Math.floor(s/30)}ê°ì ì `:`${Math.floor(s/365)}ë
ì `}])},251911,e=>{"use strict";var t=e.i(271645),r=e.i(438847),a=e.i(873925);e.s(["useUpgradePrompt",0,function(){let[,e]=(0,r.useQueryState)("upgrade");return{promptUpgrade:(0,t.useCallback)(t=>{let r=t||"general";(0,a.track)("gate_blocked",{props:{reason:"plan",feature_key:r}}),e(r)},[e])}}])},671240,e=>{"use strict";let t=(0,e.i(456420).default)("bookmark",[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]);e.s(["Bookmark",0,t],671240)},746383,e=>{"use strict";e.s(["SAVE_POPOVER_CONTENT_CLS",0,"z-[var(--z-modal)] w-80 overflow-hidden rounded-xl border-0 bg-card p-0 text-card-foreground shadow-xl outline-none data-[state=open]:animate-in data-[state=open]:fade-in-0","SAVE_POPOVER_MAX_WIDTH_STYLE",0,{maxWidth:"calc(100vw - 24px)"},"SAVE_POPOVER_SIDE_PROPS",0,{side:"right",align:"start",sideOffset:10,collisionPadding:12}])},74176,e=>{"use strict";e.s(["displayShortsTitle",0,function(e){if(null===e||""===e)return e;let t=e.replace(/(?:\s*#\S+)+\s*$/,"").trim();if(t.length>0)return t;let r=e.match(/#[^\s#]+/g);return r&&0!==r.length?r.slice(0,3).join(" ")+(r.length>3?" â¦":""):e},"shortsThumbUrl",0,function(e){return`https://i.ytimg.com/vi/${e}/hq720.jpg`}])},438583,e=>{"use strict";let t=(0,e.i(456420).default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);e.s(["Video",0,t],438583)},268047,e=>{"use strict";function t(e,r,a="px"){let n=r?`clamp(${e}${a}, ${r.pct}%, ${r.max}${a})`:`${e}${a}`;return{gridTemplateColumns:`repeat(auto-fill, minmax(min(100%, ${n}), 1fr))`}}let r=t(9.375,{pct:7,max:12.5},"rem"),a=t(260),n=t(30,void 0,"rem");e.s(["CARD_GRID_AUTOFILL",0,a,"CHANNEL_CARD_GRID_AUTOFILL",0,n,"VIDEO_GRID_AUTOFILL",0,r,"gridAutofill",0,t])},581029,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(522016),n=e.i(170263),s=e.i(438583),l=e.i(2674),i=e.i(301149),o=e.i(704654),c=e.i(127923),d=e.i(671240),u=e.i(975157),h=e.i(725504),m=e.i(748278),x=e.i(746383);function f({videoId:e,channelId:a}){let[n,s]=(0,r.useState)(!1),[l,i]=(0,r.useState)(!1),{getSaved:o,syncSaved:p,saveToFolder:g,removeFromFolder:b,removeSaved:v,savePending:y,requireLogin:k}=(0,h.useShortsViewerActions)(),N={videoId:e,channelId:a},j=o(e);return(0,t.jsxs)("span",{style:{display:"contents"},onClick:e=>e.stopPropagation(),role:"presentation",children:[(0,t.jsxs)(c.Popover.Root,{open:n,onOpenChange:function(t){if(!t)return void s(!1);
1if(!k()){if(j)return void v(N);p(e),s(!0)}},children:[(0,t.jsx)(c.Popover.Trigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button","aria-label":j?"ì ì¥ í´ì ":"ì ì¥",onClick:e=>e.stopPropagation(),className:"flex size-6 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur-sm transition-colors hover:bg-black/70 disabled:opacity-50",children:(0,t.jsx)(d.Bookmark,{size:13,className:(0,u.cn)("shrink-0",j&&"fill-primary-400 text-primary-400")})})}),(0,t.jsx)(c.Popover.Portal,{children:(0,t.jsx)(c.Popover.Content,{...x.SAVE_POPOVER_SIDE_PROPS,onClick:e=>e.stopPropagation(),style:x.SAVE_POPOVER_MAX_WIDTH_STYLE,className:x.SAVE_POPOVER_CONTENT_CLS,children:(0,t.jsx)(m.ShortsFolderPicker,{spacious:!0,target:N,saved:j,savePending:y,onSaveToFolder:g,onRemoveFromFolder:b,onRequestNewFolder:()=>{s(!1),i(!0)},onCloseMenu:()=>s(!1)})})})]}),(0,t.jsx)(m.NewMaterialFolderModal,{isOpen:l,onClose:()=>i(!1),onCreated:e=>{i(!1),g(N,e)}})]})}var p=e.i(74176);function g({onFooterClick:e,footerClickLabel:r,children:a}){return e?(0,t.jsx)("div",{role:"button",tabIndex:0,"aria-label":r,onClick:e,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),e())},className:"-mx-1 cursor-pointer rounded-md px-1 pb-0.5 transition-colors hover:bg-secondary-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 dark:hover:bg-secondary-800/60",children:a}):(0,t.jsx)(t.Fragment,{children:a})}e.s(["ShortsCard",0,function({videoId:e,title:c,thumbnailUrl:d,fallbackIcon:u,channelName:h,channelHref:m,channelLogoUrl:x,channelId:b,showChannel:v=!0,viewCount:y,publishedAt:k,href:N,linkTarget:j="_blank",onOpen:w,onThumbnailClick:P,aspect:_="portrait",overlayInfo:O=!1,overlayActions:I=!1,highlight:R=!1,dimmed:T=!1,selected:C=!1,className:S,thumbnailClassName:$,statsSlot:A,onFooterClick:E,footerClickLabel:M,overlayTitleTrailing:z,titlePrefix:D,thumbnailTopLeft:L,thumbnailTopRight:G,thumbnailBottomLeft:U,thumbnailBottomRight:V,channelTrailing:F,statsTrailing:B,footerExtra:K,onThumbnailLoad:H,thumbnailLoading:W="lazy",thumbnailFetchPriority:Q,onThumbnailError:q,onTouchStart:X,onTouchEnd:Y,onTouchMove:J}){let[Z,ee]=(0,r.useState)(!1),[et,er]=(0,r.useState)(!1),ea=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{ea.current&&clearTimeout(ea.current)},[]);let en=!!e,es=d??(e?(0,p.shortsThumbUrl)(e):null),el=k?(0,i.formatTimeAgoShort)(k):null,ei=`overflow-hidden rounded-lg border bg-white transition-all hover:shadow-lg dark:bg-secondary-900 ${C?"border-primary-500 ring-1 ring-primary-500/30":R?"viral-glow border-amber-400/70 dark:border-amber-400/50":"border-secondary-200 dark:border-secondary-700"}`,eo=O?`group relative flex h-full flex-col${S?` ${S}`:""}`:`group relative flex h-full flex-col hover:-translate-y-0.5 ${ei}${S?` ${S}`:""}`,ec=`${O?`relative ${ei}`:"relative"}${$?` ${$}`:""}`,ed=(0,t.jsxs)(t.Fragment,{children:[x?(0,t.jsx)("img",{src:x,alt:"",loading:"lazy",className:"h-5 w-5 shrink-0 rounded-full object-cover"}):(0,t.jsx)("span",{className:"grid h-5 w-5 shrink-0 place-items-center rounded-full bg-secondary-200 text-3xs font-bold text-secondary-600 dark:bg-secondary-700 dark:text-secondary-300",children:(h??"?").slice(0,1)}),(0,t.jsx)("span",{className:"truncate text-2xs text-secondary-600 dark:text-secondary-300",children:h??"ì±ë 미ì"})]}),eu=(0,t.jsxs)(t.Fragment,{children:[x?(0,t.jsx)("img",{src:x,alt:"",loading:"lazy",className:"h-4 w-4 shrink-0 rounded-full object-cover ring-1 ring-white/30"}):(0,t.jsx)("span",{className:"grid h-4 w-4 shrink-0 place-items-center rounded-full bg-white/25 text-3xs font-bold text-white",children:(h??"?").slice(0,1)}),(0,t.jsx)("span",{className:"truncate text-2xs font-medium text-white/85",children:h??"ì±ë 미ì"})]});return(0,t.jsxs)("div",{className:`${eo} ${(0,n.mediaCardHoverClass)(e)}`,children:[(0,t.jsxs)("div",{className:ec,onMouseEnter:()=>{en&&(ea.current&&clearTimeout(ea.current),ea.current=setTimeout(()=>ee(!0),280))},onMouseLeave:()=>{ea.current&&clearTimeout(ea.current),ee(!1),er(!1)},onTouchStart:X,onTouchEnd:Y,onTouchMove:J,children:[(0,t.jsx)("a",{href:N,target:j,rel:"noopener noreferrer",onClick:function(e){P?P(e):!w||e.metaKey||e.ctrlKey||1===e.button||(e.preventDefault(),w())},className:`relative block ${"video"===_?"aspect-video":"aspect-[9/16]"} bg-secondary-100 dark:bg-secondary-800`,children:es?(0,t.jsx)("img",{src:es,alt:c??"",loading:W,fetchPriority:Q,decoding:"async",onLoad:H,onError:q,className:`h-full w-full object-cover${"mono"===T?" grayscale opacity-80":T?" saturate-25 opacity-70":""}`}):(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center text-secondary-400",children:u??(0,t.jsx)(s.Video,{size:32})})}),en&&Z&&(0,t.jsx)("iframe",{src:`https://www.youtube.com/embed/${e}
1?autoplay=1&mute=1&controls=0&loop=1&playlist=${e}&modestbranding=1&rel=0&playsinline=1&disablekb=1`,allow:"autoplay; encrypted-media",onLoad:()=>er(!0),className:`pointer-events-none absolute inset-0 h-full w-full transition-opacity duration-300 ${et?"opacity-100":"opacity-0"}`,loading:"lazy",title:c??""}),null!=L&&(0,t.jsx)("div",{className:"absolute left-1 top-1 z-10 md:left-2 md:top-2",children:L}),null!=G&&(0,t.jsx)("div",{className:"absolute right-1 top-1 z-10 md:right-2 md:top-2",children:G}),I&&e&&b&&(0,t.jsxs)("div",{className:"absolute right-1.5 top-1.5 z-20 flex items-center gap-1 opacity-0 transition-opacity focus-within:opacity-100 group-hover:opacity-100 max-md:opacity-100",children:[(0,t.jsx)(f,{videoId:e,channelId:b,channelTitle:h}),(0,t.jsx)(o.ShortsCardMenu,{videoId:e,channelId:b,channelTitle:h,variant:"overlay"})]}),null!=U&&(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-1.5 left-1.5 z-10",children:U}),null!=V&&(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-1.5 right-1.5 z-10",children:V}),O&&(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 bg-gradient-to-t from-black/85 via-black/35 to-transparent px-2.5 pb-2 pt-10",children:[(0,t.jsx)("div",{className:"flex min-w-0 items-center gap-1.5",children:b?(0,t.jsx)(a.default,{href:`/channel/${b}`,prefetch:!1,onClick:e=>e.stopPropagation(),className:"pointer-events-auto flex min-w-0 items-center gap-1.5 transition-opacity hover:opacity-80",children:eu}):(0,t.jsx)("div",{className:"flex min-w-0 items-center gap-1.5",children:eu})}),(0,t.jsxs)("div",{className:"flex items-end gap-1",children:[(0,t.jsxs)("h3",{className:`min-w-0 flex-1 line-clamp-2 break-keep text-xs font-bold leading-snug ${T?"text-white/70":"text-white"}`,children:[D,(0,p.displayShortsTitle)(c)??e]}),null!=z&&(0,t.jsx)("div",{className:"shrink-0",children:z})]})]})]}),O?(0,t.jsxs)(g,{onFooterClick:E,footerClickLabel:M,children:[null!=A?A:(0,t.jsxs)("div",{className:"flex items-center gap-1 px-0.5 pt-1.5 pb-0 text-2xs text-secondary-500 dark:text-secondary-400",children:[(0,t.jsxs)("span",{className:"shrink-0 whitespace-nowrap text-sm font-bold tabular-nums text-secondary-900 dark:text-secondary-100",children:[(0,l.formatCompactKo)(y,{nullText:"-",zeroAsNull:!0}),y?"í":""]}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[el&&(0,t.jsx)("span",{className:"shrink-0",children:el}),null!=B&&(0,t.jsx)("div",{className:"shrink-0",children:B}),!I&&e&&b&&(0,t.jsx)(o.ShortsCardMenu,{videoId:e,channelId:b,channelTitle:h})]})]}),K]}):(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1 px-2 py-2",children:[v&&(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5",children:[m?(0,t.jsx)("a",{href:m,onClick:e=>e.stopPropagation(),className:"flex min-w-0 items-center gap-1.5 transition-colors hover:text-secondary-900 dark:hover:text-secondary-100",children:ed}):ed,null!=F&&(0,t.jsx)("div",{className:"ml-auto shrink-0",children:F})]}),(0,t.jsxs)("h3",{className:`line-clamp-2 break-keep text-xs font-bold leading-snug ${T?"text-secondary-500 dark:text-secondary-400":"text-secondary-900 dark:text-secondary-100"}`,children:[D,(0,p.displayShortsTitle)(c)??e]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 text-2xs text-secondary-500 dark:text-secondary-400",children:[(0,t.jsx)("span",{className:"text-sm font-bold tabular-nums text-secondary-900 dark:text-secondary-100",children:(0,l.formatCompactKo)(y,{nullText:"-",zeroAsNull:!0})}),el&&(0,t.jsx)("span",{"aria-hidden":!0,children:"·"}),el&&(0,t.jsx)("span",{className:"shrink-0",children:el}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[null!=B&&(0,t.jsx)("div",{className:"shrink-0",children:B}),e&&b&&(0,t.jsx)(o.ShortsCardMenu,{videoId:e,channelId:b,channelTitle:h})]})]}),K]})]})}],581029)},70155,e=>{"use strict";var t=e.i(843476),r=e.i(806537),a=e.i(975157);let n={"9/16":"aspect-[9/16]","16/9":"aspect-video"},s="relative flex select-none flex-col overflow-hidden rounded-lg",l="size-6",i={contentVisibility:"auto",containIntrinsicSize:"auto 300px"};function o(e){let t=43758.5453*Math.sin(12.9898*e+78.233);return t-Math.floor(t)}let c=["locked-ring-lime","locked-ring-yellow","locked-ring-purple","locked-ring-orange"];function d(){return(0,t.jsxs)("span",{className:(0,a.cn)("relative flex items-center justify-center",l),children:[(0,t.jsx)("span",{className:"locked-card-halo absolute inset-0 rounded-full bg-secondary-300/25 blur-md","aria-hidden":!0}),(0,t.jsx)(r.Lock,{size:20,strokeWidth:2,className:"locked-card-lock relative"})]})}function u(){return(0,t.jsxs)("span",{className:(0,a.cn)("relative flex items-center justify-center",l),children:[(0,t.jsx)("span",{className:"locked-card-halo absolute inset-0 rounded-full bg-white/30 blur-md","aria-hidden":!0}),(0,t.jsx)(r.Lock,{size:20,strokeWidth:2,className:"locked-hero-lock relative"})]})}function h({src:e}){return(0,t.jsxs)("span",{className:"absolute inset-0 overflow-hidden","aria-hidden":!0,
1children:[(0,t.jsx)("img",{src:e,alt:"",loading:"lazy",decoding:"async",className:"size-full scale-125 object-cover opacity-60 blur-md saturate-100"}),(0,t.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-secondary-900/10 via-secondary-900/40 to-secondary-900/80"})]})}e.s(["LOCKED_CTA_CLASS",0,"mt-0.5 inline-flex items-center rounded-full border border-white/60 px-3 py-1 text-2xs font-semibold text-white transition-colors hover:border-white hover:bg-white/10","LockedCards",0,function({count:e=12,aspect:r="9/16",title:l,description:m,action:x,onLockedClick:f,teaser:p,startRank:g,backdrops:b,className:v}){let y=e=>b&&b.length>0?b[(3*e+1)%b.length]:null,k=f?e=>e.stopPropagation():void 0,N=function(e){let t=new Set,r=0,a=0;for(;r<e;){let n=1+Math.floor(3*o(a++)),s=5+Math.floor(4*o(a++));for(let a=0;a<n&&r+a<e;a++)t.add(r+a);r+=n+s}return t}(Math.max(0,e-1)),j=function(e){let t=new Map,r=-1;for(let a of[...e].sort((e,t)=>e-t)){let e=Math.floor(o(a+97)*c.length)%c.length;e===r&&(e=(e+1)%c.length),t.set(a,c[e]),r=e}return t}(N);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,a.cn)(s,"locked-card-surface ring-1 ring-secondary-700",n[r],f?"cursor-pointer":null,v),style:i,onClick:f,children:[y(0)?(0,t.jsx)(h,{src:y(0)}):null,(0,t.jsxs)("div",{className:"relative z-10 flex flex-1 flex-col items-center justify-center gap-2 px-3 text-center",children:[(0,t.jsx)(u,{}),(0,t.jsx)("p",{className:"text-xs font-bold leading-snug break-keep text-secondary-50",children:l}),m?(0,t.jsx)("p",{className:"text-3xs leading-relaxed break-keep text-secondary-300",children:m}):null,x?(0,t.jsx)("div",{className:"mt-0.5",onClick:k,role:"presentation",children:x}):null]})]}),Array.from({length:Math.max(0,e-1)}).map((e,l)=>(0,t.jsxs)("div",{className:(0,a.cn)(s,"locked-card-surface",N.has(l)?["locked-ring-host",j.get(l)]:"ring-1 ring-secondary-700/50",n[r],f?"cursor-pointer":null,v),style:{...i,"--locked-delay":`${l%7*.45}s`,...N.has(l)?{"--locked-ring-delay":`-${Math.floor(6e3*o(l+31))}ms`}:{}},onClick:f,"aria-hidden":!0,children:[N.has(l)?(0,t.jsx)("span",{className:"locked-ring"}):null,y(l+1)?(0,t.jsx)(h,{src:y(l+1)}):null,void 0!==g?(0,t.jsx)("span",{className:"absolute left-2.5 top-2 z-10 text-sm font-black leading-none tabular-nums text-secondary-50/20",children:g+l+1}):null,(0,t.jsxs)("div",{className:"relative z-10 flex flex-1 flex-col items-center justify-center gap-1.5 px-2.5 text-center",children:[(0,t.jsx)(d,{}),(0,t.jsx)("p",{className:"text-3xs font-medium leading-snug break-keep whitespace-pre-line text-secondary-300",children:p})]})]},l))]})}])}]);
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.