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]="d0bb7939-5fb8-7e10-5a8f-ad83ad3dff8c")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,996620,e=>{e.v({arcadeArt:"GotomallSharedHomeArtwork-module__WPdA8q__arcadeArt",arcadeBanner:"GotomallSharedHomeArtwork-module__WPdA8q__arcadeBanner",arcadeCopy:"GotomallSharedHomeArtwork-module__WPdA8q__arcadeCopy",arcadeCredit:"GotomallSharedHomeArtwork-module__WPdA8q__arcadeCredit",arcadeImage:"GotomallSharedHomeArtwork-module__WPdA8q__arcadeImage",arcadeShade:"GotomallSharedHomeArtwork-module__WPdA8q__arcadeShade",hero:"GotomallSharedHomeArtwork-module__WPdA8q__hero",heroContent:"GotomallSharedHomeArtwork-module__WPdA8q__heroContent",heroControls:"GotomallSharedHomeArtwork-module__WPdA8q__heroControls",heroCredit:"GotomallSharedHomeArtwork-module__WPdA8q__heroCredit",heroImage:"GotomallSharedHomeArtwork-module__WPdA8q__heroImage",heroShade:"GotomallSharedHomeArtwork-module__WPdA8q__heroShade",heroVignette:"GotomallSharedHomeArtwork-module__WPdA8q__heroVignette",homePrizeLink:"GotomallSharedHomeArtwork-module__WPdA8q__homePrizeLink",homeVoucher:"GotomallSharedHomeArtwork-module__WPdA8q__homeVoucher",voucher:"GotomallSharedHomeArtwork-module__WPdA8q__voucher"})},48011,e=>{"use strict";var t=e.i(843476),a=e.i(875949),r=e.i(102138),i=e.i(271645);let s=[{id:"youtube",label:"YouTube"},{id:"instagram",label:"Instagram"},{id:"threads",label:"Threads"},{id:"x",label:"X"},{id:"tiktok",label:"TikTok"},{id:"naver_blog",label:"ë¤ì´ë² ë¸ë¡ê·¸"}];var l=e.i(995191);function n({items:e,renderCard:a}){let[o,c]=(0,i.useState)("youtube"),d=e.filter(e=>(0,r.publicReviewMetricIdentity)(String(e.video_url||""))?.platform===o).slice(0,3),m=d.length>0&&d.every(e=>void 0!==((0,r.knownPublicCount)(e.publicReviewEngagement?.viewCount)??(e.metadata_fetched_at?(0,r.knownPublicCount)(e.view_count):void 0))),x=s.find(e=>e.id===o);return(0,t.jsxs)("div",{"data-portal-home-channel-content":!0,children:[(0,t.jsx)("div",{role:"tablist","aria-label":"ì½í ì¸ ì±ë",className:"flex gap-2 overflow-x-auto pb-3",children:s.map(({id:e,label:a})=>(0,t.jsx)(l.PortalReviewChannelButton,{channelType:e,channelLabel:a,contentKind:"naver_blog"===e?"blog":"video",active:o===e,role:"tab",id:`home-channel-${e}`,"aria-selected":o===e,"aria-controls":"home-channel-panel",onClick:()=>c(e)},e))}),(0,t.jsxs)("div",{id:"home-channel-panel",role:"tabpanel","aria-labelledby":`home-channel-${o}`,children:[(0,t.jsx)("p",{className:"mb-4 mt-1 text-xs leading-5 text-gray-500",children:m?`${x?.label} \xb7 ì¡°íìê° íì¸ë ê³µê° ì½í ì¸ ì¤ ì¡°íì ì`:`${x?.label} \xb7 ìµê·¼ ê³µê° ì½í ì¸ \xb7 ì íí ì¡°íì ìì ì§ê³ ì `}),d.length?(0,t.jsx)("div",{"data-portal-home-visit-review-preview":!0,className:"flex snap-x snap-mandatory gap-4 overflow-x-auto pb-3 md:grid md:grid-cols-3 md:overflow-visible",children:d.map((e,r)=>(0,t.jsx)("div",{className:"w-[78vw] max-w-[320px] shrink-0 snap-start md:w-auto md:max-w-none",children:a(e)},String(e.id||r)))}):(0,t.jsxs)("div",{className:"rounded-xl bg-gray-50 px-5 py-8 text-sm leading-6 text-gray-500",children:["ìì§ ê³µê°ë ",x?.label," ì½í ì¸ ê° ìì´ì. ê³µê° ì½í ì¸ ê° íì¸ëë©´ ì´ê³³ìì ìê°í´ ëë ¤ì."]})]})]})}var o=e.i(657688),c=e.i(522016),d=e.i(618566),m=e.i(463059),x=e.i(373375),u=e.i(968553),p=e.i(532253),g=e.i(158524),h=e.i(495242),f=e.i(431343),b=e.i(223945),v=e.i(208402),w=e.i(292457),y=e.i(861745),j=e.i(795470),k=e.i(975157),N=e.i(375679),_=e.i(862946),C=e.i(616180),P=e.i(491626),S=e.i(674130);function A(){return(0,t.jsx)("span",{"data-prepartner-home-example-notice":!0,className:"inline-flex rounded-md bg-orange-50 px-2 py-1 text-[10px] font-black text-orange-700",children:"ì ë³´ 미ë±ë¡"})}function $({examples:e}){return(0,t.jsxs)("section",{"data-prepartner-home-creator-examples":!0,className:"mx-auto mt-5 w-full max-w-[1200px] px-4 md:mt-6 [content-visibility:auto] [contain-intrinsic-size:760px]",children:[(0,t.jsx)("div",{className:"mb-5 flex flex-col gap-3 md:flex-row md:items-end md:justify-between",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(A,{}),(0,t.jsx)("h3",{className:"mt-3 text-[21px] font-bold text-gray-900 md:text-[24px]",children:"ì ëª ì¸ Â· YouTube"}),(0,t.jsx)("p",{className:"mt-1 text-[13px] text-gray-500 md:text-[15px]",children:"ì°ë¦¬ ìì¥ì ìê°íë ììê³¼ ì½í ì¸ ê° ì´ê³³ì 모ì¬ì."})]})}),(0,t.jsx)("div",{className:"flex snap-x snap-mandatory gap-3 overflow-x-auto overscroll-x-contain pb-2 scrollbar-hide",children:e.map(e=>(0,t.jsxs)("article",{className:"w-[78vw] max-w-[320px] shrink-0 snap-start overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm sm:w-[300px] md:w-[360px] md:max-w-[360px]",children:[(0,t.jsx)("div",{className:"flex aspect-[4/3] w-full items-center justify-center rounded-lg bg-gray-50 text-gray-400",children:(0,t.jsx)(b.Store,{size:28,"aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"p-3",children:[(0,t.jsx)(A,{}),(0,t.jsx)("h4",{className:"mt-2 line-clamp-2 text-[13px] font-black leading-snug text-gray-950 md:text-[14px]",children:e.title}),(0,t.jsx)("p",{className:"mt-2 line-clamp-2 min-h-[34px] text-[11.5px] font-semibold leading-relaxed text-gray-500 md:text-[12px]",children:e.description})]})]},e.id))})]})}function z({product:e,kind:a}){return(0,t.jsxs)("article",{className:"product"===a?"w-[46vw] min-w-[152px] max-w-[190px] shrink-0 snap-start md:w-auto md:min-w-0 md:max-w-none":"min-w-0",children:[(0,t.jsxs)("div",{className:"relative aspect-[3/4] overflow-hidden rounded-lg bg-gray-100",children:[(0,t.jsx)("div",{className:"flex aspect-[4/3] w-full items-center justify-center rounded-lg bg-gray-50 text-gray-400",children:(0,t.jsx)(b.Store,{size:28,"aria-hidden":"true"})}),(0,t.jsx)("span",{className:"absolute left-2 top-2",children:(0,t.jsx)(A,{})})]}),(0,t.jsxs)("div",{className:"pt-2.5",children:[(0,t.jsx)("p",{className:"mb-1 truncate text-[12px] font-black leading-none text-gray-950",children:e.storeName}),(0,t.jsx)("h4",{className:"min-h-[2.25rem] text-[13px] font-medium leading-[1.35] text-gray-700 line-clamp-2",children:e.name}),(0,t.jsx)("p",{className:"mt-1.5 text-[11px] font-black text-gray-500",children:"food"===a?"ë©ë´ ì ë³´ ì°ë ì ":"ìí ì ë³´ ì°ë ì "})]})]})}function R({product:e}){return(0,t.jsx)(z,{product:e,kind:"food"})}var T=e.i(656679),I=e.i(103239);function M({basePath:e,copy:a,visitReviewItems:r=[]}){let i=(0,I.buildPublicVisitVideoContents)(r);return(0,t.jsxs)("section",{"data-portal-creator-content-section":!0,"data-portal-public-visit-deferred-fallback":!0,className:"mx-auto mt-12 w-full max-w-[1200px] px-4 md:mt-14 [content-visibility:auto] [contain-intrinsic-size:760px]",children:[(0,t.jsxs)("div",{className:"mb-6 flex flex-col gap-3 md:flex-row md:items-end md:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"inline-flex items-center rounded-md border border-orange-100 bg-white px-2.5 py-1 text-xs font-black text-brand-primary",children:a.publicVisitEyebrow}),(0,t.jsx)("h3",{className:"mt-3 text-[21px] font-black tracking-tight text-gray-950 md:text-[26px]",children:a.publicVisitTitle}),(0,t.jsx)("p",{className:"mt-1.5 text-[13px] font-medium leading-relaxed text-gray-500 md:text-[15px]",children:a.publicVisitDesc})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"hidden rounded-md bg-orange-50 px-2.5 py-1 text-[11px] font-black text-brand-primary md:inline-flex",children:a.publicVisitBadge(i.length)}),(0,t.jsx)(c.default,{href:`${e}/visit-reviews?channel=youtube`,prefetch:!1,className:"inline-flex min-h-11 items-center text-[13px] font-black text-gray-600 hover:text-brand-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/40",children:a.more})]})]}),(0,t.jsx)("div",{className:"mb-3 flex items-center gap-3",children:(0,t.jsx)("h4",{className:"text-[15px] font-black text-gray-950",children:a.publicVisitContentTitle})}),(0,t.jsx)("div",{className:"flex snap-x snap-mandatory gap-4 overflow-x-auto overscroll-x-contain pb-2 scrollbar-hide",children:i.map(e=>(0,t.jsx)("article",{className:"w-[78vw] max-w-[320px] shrink-0 snap-start overflow-hidden rounded-xl bg-white shadow-sm ring-1 ring-gray-200/70 sm:w-[300px] md:w-[360px] md:max-w-[360px]",children:(0,t.jsxs)("a",{href:e.videoUrl,target:"_blank",rel:"noreferrer",className:"block text-gray-950",children:[(0,t.jsx)("span",{className:"flex aspect-video items-end bg-gray-950 p-3 text-white md:aspect-[16/10]",children:(0,t.jsx)("span",{className:"line-clamp-2 text-[13px] font-black leading-snug md:text-[14px]",children:e.title})}),(0,t.jsx)("span",{className:"block p-3",children:(0,t.jsx)("span",{className:"line-clamp-2 min-h-[34px] text-[11.5px] font-semibold leading-relaxed text-gray-500 md:text-[12px]",children:e.description})})]})},e.id))})]})}function E({marketSlug:a,basePath:r,copy:s,visitReviewItems:l=[]}){let n=(0,i.useRef)(null),[o,c]=(0,i.useState)(null);return((0,i.useEffect)(()=>
2{if("gotomall"!==a||o)return;let t=!0,r=null,i=0,s=()=>{i+=1,e.A(827438).then(e=>{t&&c(()=>e.PortalHomePublicVisitVideos)}).catch(()=>{t&&!(i>=3)&&(r=globalThis.setTimeout(s,1e3*i))})};if("function"!=typeof window.IntersectionObserver){let e=globalThis.setTimeout(s,0);return()=>{t=!1,globalThis.clearTimeout(e),r&&globalThis.clearTimeout(r)}}let l=n.current;if(!l)return;let d=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(d.disconnect(),s())},{rootMargin:"600px 0px"});return d.observe(l),()=>{t=!1,d.disconnect(),r&&globalThis.clearTimeout(r)}},[o,a]),"gotomall"!==a)?null:(0,t.jsx)("div",{ref:n,"data-portal-public-visit-deferred-boundary":!0,children:o?(0,t.jsx)(o,{basePath:r,copy:s,visitReviewItems:l}):(0,t.jsx)(M,{basePath:r,copy:s,visitReviewItems:l})})}var L=e.i(796760),H=e.i(826819);function G({model:e,variant:a}){return(0,t.jsx)(H.PortalSection,{"data-prepartner-intake-panel":!0,"data-prepartner-intake-variant":a,"data-integration-status":"pending","aria-busy":"false",className:(0,k.cn)("profile"===a&&"pb-24 md:pb-0"),children:(0,t.jsxs)(H.PortalCard,{className:"rounded-2xl border-gray-100 p-5 shadow-toss md:p-6",children:[(0,t.jsx)("p",{className:"text-xs font-black text-brand-primary",children:"í¨ê» ì¤ë¹í기"}),(0,t.jsx)("h2",{className:"mt-1 text-xl font-black tracking-tight text-gray-950 md:text-2xl",children:"home"===a?"ìê¶ ì°ë ì , ì°¸ì¬ ë°©ë²ì íì¸íì¸ì":"ë´ ì¬ì ì ì²ê³¼ ê¶í ìí"}),(0,t.jsx)("p",{className:"mt-1.5 text-sm font-medium leading-relaxed text-gray-500",children:"home"===a?"ê³µì ì ë³´ì ì´ì ë²ìë ìì¸í íì ë° ì°ë í íì ë©ëë¤.":"ìë²ìì íì¸ë ì ì² ìíì ì¹ì¸ë ìí ë§ íìí©ëë¤."}),(0,t.jsx)("div",{className:"mt-5 grid gap-3 sm:grid-cols-2 lg:grid-cols-4",children:e.items.map(e=>(0,t.jsxs)("article",{"data-prepartner-intake-role":e.role,"data-free-market-role":function(e){switch(e){case"visitor":case"creator":case"association":return e;case"merchant":return"store"}}(e.role),className:(0,H.portalCardClassName)({tone:"muted",className:"flex min-w-0 flex-col p-4"}),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("h3",{className:"text-base font-black text-gray-950",children:e.title}),e.status&&(0,t.jsx)("span",{className:`shrink-0 rounded-md px-2 py-1 text-xs font-black ${function(e){switch(e){case"ê²í ì¤":return"bg-amber-50 text-amber-700";case"ì¹ì¸ë¨":return"bg-emerald-50 text-emerald-700";case"ë°ë ¤ë¨":return"bg-rose-50 text-rose-700"}}(e.status.label)}`,children:e.status.label})]}),(0,t.jsx)("p",{className:"mt-2 text-xs font-medium leading-5 text-gray-600",children:e.description}),(0,t.jsx)("p",{className:"mt-2 text-xs font-medium leading-4 text-gray-500",children:e.restriction}),"link"===e.action.kind?(0,t.jsx)(c.default,{href:e.action.href,"data-prepartner-intake-action":e.action.kind,className:"mt-4 inline-flex min-h-10 items-center justify-center rounded-lg bg-brand-primary px-3 text-xs font-black text-white transition-colors hover:bg-orange-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/35",children:e.action.label}):(0,t.jsx)("span",{"aria-disabled":"true","data-prepartner-intake-action":e.action.kind,className:"mt-4 inline-flex min-h-10 items-center justify-center rounded-lg bg-gray-200 px-3 text-center text-xs font-black text-gray-500",children:e.action.label})]},e.role))})]})})}var D=e.i(855191),W=e.i(363733),U=e.i(109873),V=e.i(203807),q=e.i(972520),O=e.i(37727);let B="golmok:gotomall:creator-cohort-1:dismissed-until";function F(){try{let e=Number(window.localStorage.getItem(B)||0);return Number.isFinite(e)&&e>Date.now()}catch{return!1}}function K({enabled:e}){let a=(0,i.useRef)(null),r=(0,i.useRef)(null),[s,l]=(0,i.useState)(!1),n=(0,i.useMemo)(()=>(0,V.creatorRecruitmentApplyHref)("gotomall","gotomall","portal"),[]),c=(0,i.useCallback)(()=>{null!==r.current&&(window.clearTimeout(r.current),r.current=null)},[]),d=(0,i.useCallback)(()=>{c();let e=a.current;e?.open&&e.close(),l(!1)},[c]),m=(0,i.useCallback)(()=>{try{window.localStorage.setItem(B,String(Date.now()+864e5))}catch{}d()},[d]);return((0,i.useEffect)(()=>
2{if(!e||F())return;let t=a.current;if(!t)return;let i=!1,s=()=>{if(!(i||F())&&!t.open){if(Array.from(document.querySelectorAll("dialog[open]")).some(e=>e!==t)){r.current=window.setTimeout(s,700);return}if("function"==typeof t.showModal)try{t.showModal(),l(!0)}catch{r.current=window.setTimeout(s,700)}}};return r.current=window.setTimeout(s,850),()=>{i=!0,c(),t.open&&t.close()}},[c,e]),e)?(0,t.jsx)("dialog",{ref:a,"data-gotomall-creator-cohort-popup":!0,"data-popup-open":s?"true":"false","aria-labelledby":"gotomall-creator-cohort-title","aria-describedby":"gotomall-creator-cohort-description",onCancel:e=>{e.preventDefault(),d()},onClose:()=>l(!1),onMouseDown:e=>{e.target===e.currentTarget&&d()},className:"m-auto max-h-[calc(100dvh-1.5rem)] w-[calc(100%-1.25rem)] max-w-[720px] overflow-y-auto rounded-[24px] border-0 bg-white p-0 text-gray-950 shadow-[0_32px_90px_rgba(0,0,0,0.30)] backdrop:bg-black/60 backdrop:backdrop-blur-[2px]",children:(0,t.jsxs)("div",{className:"relative grid min-w-0 overflow-hidden md:grid-cols-[1.2fr_0.8fr]",children:[(0,t.jsx)("button",{type:"button","aria-label":"ë¡ì»¬ í¬ë¦¬ìì´í° ëª¨ì§ íì
ë«ê¸°",onClick:d,className:"absolute right-3 top-3 z-20 grid h-11 w-11 place-items-center rounded-full bg-white/95 text-gray-700 shadow-sm ring-1 ring-black/5 transition hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-orange-500",children:(0,t.jsx)(O.X,{size:20,"aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"relative min-h-[220px] overflow-hidden bg-[#2f1c14] sm:min-h-[250px] md:min-h-full",children:[(0,t.jsx)(o.default,{src:"/creator-recruitment/creator-visit.webp",alt:"ì¹´ë©ë¼ë¡ ìì ìíì ì´¬ìíë í¬ë¦¬ìì´í° íë ìì ì¬ì§",fill:!0,loading:"eager",unoptimized:!0,sizes:"(max-width: 1023px) 100vw, 360px","data-creator-popup-photo":!0,className:"object-cover object-[30%_25%] lg:object-[30%_center]"}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 p-4 text-white sm:p-6",children:(0,t.jsx)("span",{className:"inline-flex rounded-full bg-white/95 px-3 py-1 text-[11px] font-black text-orange-800 shadow-sm",children:"GOTOMALL à 골목ìì "})})]}),(0,t.jsxs)("section",{className:"min-w-0 p-5 pt-14 sm:p-6 sm:pt-14 md:flex md:flex-col md:justify-center md:pt-6",children:[(0,t.jsx)("h2",{id:"gotomall-creator-cohort-title",className:"break-keep text-[26px] font-black leading-[1.16] tracking-[-0.045em] text-gray-950 sm:text-[29px]",children:"ë¡ì»¬ í¬ë¦¬ìì´í° 1기 모ì§"}),(0,t.jsx)("p",{id:"gotomall-creator-cohort-description",className:"mt-3 break-keep text-sm font-semibold leading-7 text-gray-600",children:"ê°ë¨í ì½í
ì¸ ë¡ í¬ë¦¬ìì´í° íëì ììí´ ë³´ì¸ì."}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsxs)("a",{href:n,"data-gotomall-creator-cohort-apply":!0,autoFocus:!0,className:"inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-xl bg-orange-600 px-4 text-sm font-black text-white shadow-sm transition hover:bg-orange-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-orange-500 focus-visible:ring-offset-2",children:["1기 ì ì²í기",(0,t.jsx)(q.ArrowRight,{size:17,"aria-hidden":"true"})]})}),(0,t.jsx)("button",{type:"button",onClick:m,className:"mx-auto mt-3 flex min-h-10 items-center justify-center px-3 text-xs font-semibold text-gray-400 underline underline-offset-4 transition hover:text-gray-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-orange-500",children:"24ìê° ëì ë³´ì§ ì기"})]})]})}):null}var X=e.i(576459),Y=e.i(996620);let J={recruitment:{src:"/assets/gotomall-home/gotomall-editorial-01-discover.png",alt:"ê³ í¬ëª° ì§íìê°ìì í¨ì
ìíì ëë¬ë³´ë 모ìµ",cta:"ë§¤ì¥ ë³´ê¸°",desktopDescription:"í¨ì
·먹거리·ì¡ì¸ì리 매ì¥ì íê³³ìì ëë¬ë³´ì¸ì."},onnuri:{src:"/assets/gotomall-home/gotomall-editorial-02-event.png",alt:"ê³ í¬ëª° ì¨ë리ìíê¶ ê²½í ì´ë²¤í¸",cta:"ê²½í 보기",desktopDescription:"ì§í ì¤ì¸ ê²½íê³¼ ì°¸ì¬ ì¡°ê±´ì íì¸íì¸ì."},creator:{src:"/assets/gotomall-home/gotomall-editorial-03-creator.png",desktopSrc:"/assets/gotomall-home/gotomall-editorial-03-creator-v2.png",alt:"ê³ í¬ëª° í¨ì
ê³¼ ì¡ì¸ì리를 ìê°íë í¬ë¦¬ìì´í°",cta:"ì½í
ì¸ ë³´ê¸°",desktopDescription:"ê³ í¬ëª°ì ë´ì ììê³¼ ì´ì¼ê¸°ë¥¼ ëë¬ë³´ì¸ì."},review:{src:"/assets/gotomall-home/gotomall-editorial-04-review.png",alt:"ê³ í¬ëª° 방문 í기를 ê³µì íê³ ì모ê¶ì ë°ë ë°©ë²",cta:"í기 보기",desktopDescription:"방문 ì ì¤ì ì¼í í기를 ì°¸ê³ í´ ë³´ì¸ì."},interview:{src:"/assets/gotomall-interview-hero-v3.png",alt:"ê³ í¬ëª° ì¸í°ë·° ì°¸ì¬ ëª¨ì§",cta:"ì°¸ì¬ ì ì²í기",desktopDescription:"ì¸í°ë·° ì°¸ì¬ ë°©ë²ì íì¸íì¸ì."}};function Z(e){let t=J[e.kind];return"interview"===e.kind&&e.imageSrc?e.imageSrc:t.src}let Q={recruitment:"ì·¨í¥",onnuri:"ê²½í ì모",creator:"í¬ë¦¬ìì´í°",review:"ì¼í ì´ì¼ê¸°",interview:"ì¸í°ë·°"};function ee({campaigns:e,campaignIndex:a,setCampaignIndex:r,campaignPaused:s,setCampaignPaused:l}){let n=(0,i.useRef)(null),d=(0,i.useRef)(null),u=()=>r(t=>(t-1+e.length)%e.length),p=()=>r(t=>(t+1)%e.length);(0,i.useEffect)(()=>{let t=e.map(e=>{let t=new window.Image;return t.decoding="async",t.src="creator"===e.kind&&window.matchMedia("(min-width: 1024px)").matches?J.creator.desktopSrc:Z(e),"function"==typeof t.decode&&t.decode().catch(()=>void 0),t});return()=>
2{t.forEach(e=>{e.src=""})}},[e]);let g=e[a]??e[0];return g?(0,t.jsxs)("article",{"data-portal-home-hero":!0,"data-portal-home-campaign-carousel":!0,"data-gotomall-campaign-kind":g.kind,"aria-roledescription":"carousel","aria-label":"ê³ í¬ëª° 주ì ìë´",onTouchStart:e=>{let t=e.touches[0];t&&(n.current=t.clientX,d.current=t.clientY)},onTouchEnd:e=>{let t=e.changedTouches[0],a=n.current,r=d.current;if(n.current=null,d.current=null,!t||null===a||null===r)return;let i=t.clientX-a,s=t.clientY-r;48>Math.abs(i)||Math.abs(i)<=Math.abs(s)||(i<0?p():u())},className:`${Y.default.hero} group relative isolate min-h-[600px] touch-pan-y overflow-hidden bg-[#f6f1e8] sm:min-h-[420px] lg:min-h-[420px]`,children:[e.map((r,i)=>{let s,l,n=J[r.kind],d=function(e,t,a){if(a<2)return 0;let r=(e-t+a)%a;return r>a/2&&(r-=a),r}(i,a,e.length),x=i===a,u=1>=Math.abs(d);return(0,t.jsxs)("div",{"data-gotomall-campaign-kind":r.kind,role:"group","aria-roledescription":"slide","aria-label":`${i+1} / ${e.length}`,"aria-hidden":!x,className:`absolute inset-0 will-change-transform motion-safe:transition-transform motion-safe:duration-500 motion-safe:ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none ${x?"pointer-events-auto":"pointer-events-none"}`,style:{transform:`translate3d(${100*d}%, 0, 0)`,zIndex:x?2:1},children:[(0,t.jsxs)("picture",{children:["creator"===r.kind&&(0,t.jsx)("source",{media:"(min-width: 1024px)",srcSet:J.creator.desktopSrc}),(0,t.jsx)(o.default,{src:Z(r),alt:x?n.alt:"",fill:!0,loading:u?"eager":"lazy",fetchPriority:x?"high":"low",unoptimized:!0,sizes:"100vw",className:Y.default.heroImage,"data-gotomall-hero-artwork":!0})]}),(0,t.jsx)("div",{className:`${Y.default.heroContent} relative mx-auto flex min-h-[600px] w-full max-w-[1200px] flex-col justify-end px-5 pb-20 pt-[230px] text-gray-950 sm:min-h-[420px] sm:justify-center sm:px-8 sm:pb-8 sm:pt-8 lg:min-h-[420px] lg:px-10`,children:(0,t.jsxs)("div",{className:"mr-auto max-w-[20rem] rounded-[20px] bg-[#fffaf3]/64 p-3 shadow-[0_14px_38px_rgba(36,27,18,0.08)] ring-1 ring-white/50 backdrop-blur-sm sm:max-w-[33rem] sm:rounded-[24px] sm:bg-[#fffaf3]/58 sm:p-5",children:[(0,t.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-[0.24em] text-gray-900 sm:text-[12px] sm:tracking-[0.28em]",children:r.eyebrow}),(0,t.jsx)("h2",{className:"mt-2 min-h-[65px] max-w-[20rem] whitespace-pre-line break-keep text-[30px] font-black leading-[1.08] tracking-[-0.055em] sm:mt-4 sm:min-h-[112px] sm:max-w-[31rem] sm:text-[54px] sm:leading-[1.03] sm:tracking-[-0.065em] lg:min-h-[124px] lg:text-[60px]",children:(s=Q[r.kind],(l=r.title.indexOf(s))<0?r.title:(0,t.jsxs)(t.Fragment,{children:[r.title.slice(0,l),(0,t.jsx)("span",{className:"text-[#c2410c]",children:s}),r.title.slice(l+s.length)]}))}),(0,t.jsx)("strong",{"aria-hidden":!r.amountLabel,className:`mt-2 block text-[18px] font-black tracking-[-0.035em] text-[#f4511e] sm:text-[22px] ${r.amountLabel?"":"invisible"}`,children:r.amountLabel||" "}),(0,t.jsx)("p",{"data-gotomall-hero-description":!0,className:"mt-2 max-w-[19rem] break-keep text-[13px] font-semibold leading-[1.55] text-gray-800 sm:mt-3 sm:max-w-[30rem] sm:text-[15px] sm:leading-relaxed",children:n.desktopDescription}),(0,t.jsx)("div",{className:"mt-4 flex flex-wrap gap-2 sm:mt-5",children:(0,t.jsxs)(c.default,{"data-gotomall-hero-cta":!0,href:r.href,prefetch:!1,tabIndex:x?0:-1,className:"inline-flex min-h-12 items-center gap-2 rounded-full bg-gray-950 px-6 text-[14px] font-black text-white shadow-sm transition-colors hover:bg-gray-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f4511e] focus-visible:ring-offset-2 focus-visible:ring-offset-[#f6f1e8]",children:[n.cta," ",(0,t.jsx)(m.ChevronRight,{size:15,"aria-hidden":"true"})]})})]})})]},r.id)}),(0,t.jsx)("span",{className:Y.default.heroCredit,children:"AI ì°ì¶ ì´ë¯¸ì§"}),(0,t.jsxs)("div",{"data-gotomall-hero-controls":!0,className:`${Y.default.heroControls} absolute bottom-5 right-[max(1rem,calc((100%-1200px)/2+1rem))] z-10 flex items-center gap-1 rounded-full bg-white/80 px-1.5 text-gray-950 shadow-sm ring-1 ring-black/10 backdrop-blur-md`,children:[(0,t.jsx)("button",{type:"button","aria-label":"ì´ì ë°°ë",onClick:u,className:"grid h-11 w-11 place-items-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f4511e]",children:(0,t.jsx)(x.ChevronLeft,{size:16,"aria-hidden":"true"})}),(0,t.jsxs)("span",{className:"px-1 text-[11px] font-black tabular-nums","aria-live":"polite",children:[String(a+1).padStart(2,"0")," / ",String(e.length).padStart(2,"0")]}),(0,t.jsx)("button",{type:"button","aria-label":"ë¤ì ë°°ë",onClick:p,className:"grid h-11 w-11 place-items-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f4511e]",children:(0,t.jsx)(m.ChevronRight,{size:16,"aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button","aria-label":s?"ë°°ë ìë ëê¹ ì¬ì":"ë°°ë ìë ëê¹ ì¼ìì ì§","aria-pressed":s,onClick:()=>l(e=>!e),className:"grid h-11 w-11 place-items-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f4511e]",children:s?(0,t.jsx)(f.Play,{size:14,"aria-hidden":"true"}):(0,t.jsx)(h.Pause,{size:14,"aria-hidden":"true"})})]})]}):null}var et=e.i(992163),ea=e.i(730699),er=e.i(346897),ei=e.i(720722),es=e.i(283086);function el({campaigns:e,campaignIndex:a,setCampaignIndex:r,campaignPaused:i,setCampaignPaused:s,basePath:l,categorySection:n}){return(0,t.jsxs)("section",{"data-gotomall-shared-home-top":!0,
2className:"w-full",children:[(0,t.jsx)(ee,{campaigns:e,campaignIndex:a,setCampaignIndex:r,campaignPaused:i,setCampaignPaused:s}),(0,t.jsxs)("div",{className:"mx-auto w-full max-w-[1200px] px-4",children:[(0,t.jsx)("nav",{"aria-label":"ë°ë¡ ì´ì©í기",className:"-mt-5 relative z-20 grid grid-cols-2 gap-2 sm:grid-cols-4 sm:gap-3",children:[{href:`${l}/events`,icon:(0,t.jsx)(ea.Gift,{}),title:"ê²½í 보기",desc:"ì§ê¸ ì°¸ì¬í ì ìë ê²½í",tone:"bg-orange-50 text-orange-600"},{href:`${l}/receipt`,icon:(0,t.jsx)(ei.ReceiptText,{}),title:"ììì¦ ì¸ì¦",desc:"구매 í ì½ê³ ë¹ ë¥¸ ì¸ì¦",tone:"bg-blue-50 text-blue-600"},{href:"/arcade/gotomall",icon:(0,t.jsx)(et.Gamepad2,{}),title:"ìì¼ì´ë",desc:"3D ê³ í¬ëª°ìì ëìì",tone:"bg-purple-50 text-purple-600"},{href:`${l}/map`,icon:(0,t.jsx)(er.MapPin,{}),title:"ë§¤ì¥ ì§ë",desc:"ì°¾ë 매ì¥ì¼ë¡ ë ì½ê²",tone:"bg-emerald-50 text-emerald-600"}].map(e=>(0,t.jsxs)(c.default,{href:e.href,prefetch:!1,className:"flex min-h-[72px] items-center gap-3 rounded-2xl bg-white px-4 shadow-[0_8px_28px_rgba(25,25,25,.08)] ring-1 ring-black/5",children:[(0,t.jsx)("span",{className:`grid h-10 w-10 shrink-0 place-items-center rounded-xl [&>svg]:h-5 [&>svg]:w-5 ${e.tone}`,children:e.icon}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("strong",{className:"block break-keep text-[13px] font-black text-gray-950",children:e.title}),(0,t.jsx)("small",{className:"mt-0.5 block truncate text-[10px] font-bold text-gray-400",children:"ìì¼ì´ë"===e.title?(0,t.jsx)(X.default,{}):e.desc})]}),(0,t.jsx)(m.ChevronRight,{size:15,className:"ml-auto shrink-0 text-gray-400"})]},e.title))}),(0,t.jsx)("div",{className:"pt-7 md:pt-9",children:n})]})]})}function en({prizes:e,prizeIndex:a,setPrizeIndex:r,basePath:i}){let s=e[a]||e[0];return(0,t.jsx)("div",{"data-gotomall-home-benefits":!0,className:"mx-auto mt-6 w-full max-w-[1200px] px-4 md:mt-8",children:(0,t.jsxs)("div",{className:"grid gap-3 lg:grid-cols-2",children:[(0,t.jsxs)("section",{className:"rounded-2xl bg-[#fffaf6] p-4 ring-1 ring-orange-100 sm:p-5","data-gotomall-prize-panel":!0,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("h3",{className:"inline-flex items-center gap-2 text-[17px] font-black text-gray-950",children:[(0,t.jsx)(ea.Gift,{size:18,className:"text-orange-600"}),"ì§ê¸ ì°¸ì¬í ì ìë ê²½í"]}),(0,t.jsxs)(c.default,{href:`${i}/events`,className:"text-[11px] font-black text-gray-500",children:["ì ì²´ 보기 ",(0,t.jsx)(m.ChevronRight,{size:13,className:"inline"})]})]}),s?(0,t.jsxs)(c.default,{href:s.href,prefetch:!1,className:`${Y.default.homePrizeLink} mt-3 min-w-0 items-center gap-3 rounded-xl bg-white p-3 ring-1 ring-orange-100 sm:p-4`,children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"text-[10px] font-black text-orange-600",children:s.label}),(0,t.jsx)("strong",{className:"mt-1 block line-clamp-2 text-[14px] font-black text-gray-950",children:s.title}),(0,t.jsxs)("span",{className:"mt-2 block text-[11px] font-bold text-orange-700",children:["ê²½íÂ·ì°¸ì¬ ì¡°ê±´ 보기"," ",(0,t.jsx)(m.ChevronRight,{size:12,className:"inline"})]})]}),(0,t.jsx)("div",{className:Y.default.homeVoucher,"data-gotomall-prize-voucher":!0,"data-gotomall-prize-amount":!0,"aria-label":`ëì§í¸ ì¨ë리 ${s.amount}`,children:(0,t.jsx)(W.PortalOnnuriVoucher,{amountLabel:s.amount,isEnded:!1,variant:"compact"})})]}):(0,t.jsx)("p",{className:"mt-4 text-sm font-bold text-gray-500",children:"íì¬ ê³µê°ë ê²½íì íì¸í´ 주ì¸ì."}),e.length>1&&(0,t.jsx)("div",{className:"mt-2 flex justify-end gap-1",children:e.map((e,i)=>(0,t.jsx)("button",{type:"button","aria-label":`${i+1}ë²ì§¸ ê²½í`,onClick:()=>r(i),className:"grid h-8 w-7 place-items-center",children:(0,t.jsx)("span",{className:`h-1.5 rounded-full ${i===a?"w-4 bg-orange-600":"w-1.5 bg-orange-200"}`})},e.id))})]}),(0,t.jsxs)("section",{className:"rounded-2xl bg-[#fffaf6] p-4 ring-1 ring-orange-100 sm:p-5","data-gotomall-ticket-ways":!0,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("h3",{className:"inline-flex items-center gap-2 text-[17px] font-black text-gray-950",children:[(0,t.jsx)(v.Ticket,{size:18,className:"text-orange-600"}),"ì모ê¶ì ì´ë ê² ë°ìì"]}),(0,t.jsxs)(c.default,{href:`${i}/events`,className:"text-[11px] font-black text-gray-500",children:["ìëª¨ê¶ ìë´ ",(0,t.jsx)(m.ChevronRight,{size:13,className:"inline"})]})]}),(0,t.jsx)("div",{className:"mt-3 divide-y divide-orange-100 overflow-hidden rounded-xl bg-white ring-1 ring-orange-100",children:[{href:`${i}/receipt`,icon:(0,t.jsx)(ei.ReceiptText,{}),title:"ììì¦ ì¸ì¦",desc:"구매 í ììì¦ì ì¸ì¦íê³ ìëª¨ê¶ ë°ê¸°"},{href:`${i}/profile/reviews`,icon:(0,t.jsx)(g.Link2,{}),title:"í기 ë§í¬ ë±ë¡",desc:"ê³µê° í기 ë§í¬ë¥¼ ë±ë¡íê³ ì¡°ê±´ íì¸"},{href:`${i}/events`,icon:(0,t.jsx)(es.Sparkles,{}),title:"í¬ë¦¬ìì´í°Â·ì´ë²¤í¸",desc:"ì§í ì¤ì¸ ì°¸ì¬ ë°©ë²ê³¼ ì§ê¸ ì¡°ê±´ íì¸"}].map(e=>(0,t.jsxs)(c.default,{href:e.href,prefetch:!1,className:"flex min-h-[64px] items-center gap-3 px-3",children:[(0,t.jsx)("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-xl bg-orange-50 text-orange-600 [&>svg]:h-4 [&>svg]:w-4",children:e.icon}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("strong",{className:"block text-[12px] font-black text-gray-950",children:e.title}),(0,t.jsx)("small",{className:"mt-0.5 block text-[10px] font-bold text-gray-500",children:e.desc})]}),(0,t.jsx)(m.ChevronRight,{size:14,className:"ml-auto text-gray-400"})]},e.title))}),(0,t.jsx)("p",{className:"mt-2 text-[10px] font-bold text-gray-400",children:"ìëª¨ê¶ ì 립과 ê²½í ì모ë ê°ê° ì§íë©ëë¤. ìì¸ ì¡°ê±´ì ì´ë²¤í¸ ìë´ë¥¼ íì¸í´ 주ì¸ì."})]})]})})}function eo(){return(0,t.jsx)("div",{"data-gotomall-home-arcade-section":!0,className:"mx-auto mt-8 w-full max-w-[1200px] px-4 md:mt-10",children:(0,t.jsxs)("section",{className:Y.default.arcadeBanner,"data-gotomall-arcade-banner":!0,children:[(0,t.jsx)("div",{className:Y.default.arcadeArt,children:(0,t.jsx)(o.default,{src:"/assets/gotomall-home/arcade-ai-front-20260929.webp",alt:"ì¼ííë ìºë¦í°ë¡ ê³ í¬ëª° ìì¼ì´ë를 ííí AI ì°ì¶ ì´ë¯¸ì§",fill:!0,unoptimized:!0,loading:"lazy",sizes:"(max-width: 767px) 100v
2w, 960px",className:Y.default.arcadeImage,"data-gotomall-arcade-artwork":!0})}),(0,t.jsx)("span",{className:Y.default.arcadeShade,"aria-hidden":"true"}),(0,t.jsxs)("div",{className:Y.default.arcadeCopy,children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[11px] font-black text-purple-700",children:[(0,t.jsx)(et.Gamepad2,{size:15}),"ì¨ë¼ì¸ììë í¨ê» ",(0,t.jsx)(X.default,{className:"ml-1 rounded-full px-2 py-0.5"})]}),(0,t.jsxs)("h3",{className:"mt-1 text-[25px] font-black tracking-[-.04em] text-gray-950 sm:text-[31px]",children:["ê³ í¬ëª° ",(0,t.jsx)("span",{className:"text-purple-600",children:"ìì¼ì´ë"})]}),(0,t.jsx)("p",{className:"mt-2 max-w-[410px] break-keep text-[12px] font-bold leading-relaxed text-gray-600 sm:text-[13px]",children:"구경íê³ , ê¾¸ë¯¸ê³ , ê°ë³ê² í í. ëë§ì ìºë¦í°ë¡ ê³ í¬ëª°ì ë§ëë³´ì¸ì."}),(0,t.jsxs)(c.default,{href:"/arcade/gotomall",prefetch:!1,className:"mt-4 inline-flex min-h-11 items-center gap-1 rounded-full bg-[#ff5a1f] px-5 text-[12px] font-black text-white",children:["ì§ê¸ íë ì´í기 ",(0,t.jsx)(m.ChevronRight,{size:14})]})]}),(0,t.jsx)("span",{className:Y.default.arcadeCredit,children:"AI ì°ì¶ ì´ë¯¸ì§"})]})})}let ec="/assets/events/gotomall-creator-comment-ticket-hero-202609.png";function ed(e,t,a){let r=e.useLocaleNumber?new Intl.NumberFormat(a).format(t):String(t);return e.template.replace("{count}",r)}let em=new Set(["ffnekxzqgzvtkgdsxoxd.supabase.co","66bfa860aef85bb72f252ff8c25abfba.cdn.bubble.io","tong.visitkorea.or.kr","images.unsplash.com"]);function ex(e){let t="string"==typeof e?e.trim():"";if(!t)return"";if(t.startsWith("//"))return`https:${t}`;if(t.startsWith("/")&&!t.startsWith("//"))return t;try{let e=new URL(t);return"https:"===e.protocol||"http:"===e.protocol?e.href:""}catch{return""}}function eu({src:e,alt:a,className:r,fallback:s,loading:l="lazy",referrerPolicy:n,isLcpHero:c=!1,optimizeLocal:d=!1,sizes:m}){let x=ex(e),[u,p]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{p(!1)},[x]),!x||u)?(0,t.jsx)(t.Fragment,{children:s}):c&&function(e){if(/\.svg(?:\?|#|$)/i.test(e))return!1;if(e.startsWith("/"))return!0;try{let t=new URL(e);return("https:"===t.protocol||"tong.visitkorea.or.kr"===t.hostname)&&em.has(t.hostname)}catch{return!1}}(x)||d&&x.startsWith("/")&&!x.startsWith("//")?(0,t.jsx)(o.default,{"data-portal-home-lcp-image":c?"true":void 0,src:x,alt:a,fill:!0,preload:c,loading:c?"eager":l,quality:c?75:65,sizes:m||"(max-width: 1023px) calc(100vw - 32px), 860px",onError:()=>p(!0),className:r}):(0,t.jsx)("img",{src:x,alt:a,loading:l,fetchPriority:c?"high":void 0,decoding:"async",referrerPolicy:n,onError:()=>p(!0),className:r})}function ep(e){let t=e?new Date(e):new Date;if(Number.isNaN(t.getTime()))return null;let a=new Intl.DateTimeFormat("en-US",{timeZone:"Asia/Seoul",year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(t),r=Number(a.find(e=>"year"===e.type)?.value),i=Number(a.find(e=>"month"===e.type)?.value),s=Number(a.find(e=>"day"===e.type)?.value);return r&&i&&s?{year:r,month:i,day:s}:null}function eg(e){if(!e)return 0;let t=ep(),a=ep(e);if(!t||!a)return 0;let r=Date.UTC(t.year,t.month-1,t.day);return Math.round((Date.UTC(a.year,a.month-1,a.day)-r)/864e5)}function eh(e){if(!1===e.is_active)return!1;let t=e.start_date?eg(e.start_date):0,a=e.end_date?eg(e.end_date):0;return t<=0&&a>=0}function ef({label:e,locale:a}){return(0,t.jsxs)("section",{"data-portal-home-feature-error":e,className:"mx-auto mt-8 w-[calc(100%-2rem)] max-w-[1200px] rounded-xl border border-amber-200 bg-amber-50 px-4 py-4",role:"status",children:[(0,t.jsx)("p",{className:"text-sm font-black text-amber-900",children:e}),(0,t.jsx)("p",{className:"mt-1 text-xs font-semibold text-amber-800",children:"ko"===a?"ì½í
ì¸ ë¥¼ ë¶ë¬ì¤ì§ 못íìµëë¤. ì ì í ë¤ì íì¸í´ 주ì¸ì.":"This content could not be loaded. Please try again shortly."})]})}e.s(["default",0,function({homeCopyPayload:e,uiCopyPayload:s,heroTitle:l,market:z,categories:I=[],categoryStoreCounts:M={},stores:H,products:q,posts:O,reviews:B,events:F=[],festivals:X,visitReviewItems:Y=[],publicVideoReviewItems:J=[],user:Z,commerceSections:Q,features:ee,featureDataStates:et,portalMode:ea}){var er;(0,d.useRouter)();let ei=(0,y.useLocale)(),es=(0,i.useMemo)(()=>({...e,heroTitle:l,activeCount:t=>ed(e.activeCount,t,ei),storesPreview:t=>ed(e.storesPreview,t,ei),recommendedProducts:t=>ed(e.recommendedProducts,t,ei),foodPreview:t=>ed(e.foodPreview,t,ei),activeGiveaways:t=>ed(e.activeGiveaways,t,ei),daysLeft:t=>ed(e.daysLeft,t,ei),participants:t=>ed(e.participants,t,ei),finalActiveDesc:t=>ed(e.finalActiveDesc,t,ei)}),[l,e,ei]),em=(0,i.useMemo)(()=>({...s,activeGiveawayCount:e=>ed(s.activeGiveawayCount,e,ei),categoryStoreCount:e=>ed(s.categoryStoreCount,e,ei),publicVisitBadge:e=>ed(s.publicVisitBadge,e,ei)}),[ei,s]),ep=(0,j.useHydratedClientBasePath)(z?.slug||"gotomall","ko"===ei?void 0:ei),eg="prepartner"===ea,eb=eg?{variant:(er={basePath:ep,variant:"home",creatorStatus:null,merchantAccess:!1,associationAccess:!1}).variant,items:[{role:"visitor",title:"방문ì",description:"íì¬ ììì¦ ì°¸ì¬ë ìë´ ë¨ê³ì´ë©° ìëª¨ê¶ ë¯¸ì§ê¸ ìíì
ëë¤.",restriction:"ê°ì¸ì ë³´ ê¸°ì¤ íì ê³¼ ìê¶ íì±í ë¤ ì¬ê²ì ì¡°ê±´ì ìë´í©ëë¤.",action:{kind:"disabled",label:"ê°ì¸ì ë³´ ê¸°ì¤ íì í ìì"}}
2,function(e){switch(e.creatorStatus){case"pending":return{role:"creator",title:"í¬ë¦¬ìì´í°",description:"ìê¶ì ì´ì¼ê¸°ì ë§¤ë ¥ì í¨ê» ì í íí¸ë를 ì°¾ìµëë¤.",restriction:"ì ì²ë§ì¼ë¡ ê³µê° íëì´ë í¬ë¦¬ìì´í° ê¶íì´ ìê¸°ì§ ììµëë¤.",status:{label:"ê²í ì¤"},action:{kind:"link",label:"ì ì² ìí íì¸",href:`${e.basePath}/creators/apply`}};case"approved":return{role:"creator",title:"í¬ë¦¬ìì´í°",description:"íì¸ë í¬ë¦¬ìì´í° ê¶íì¼ë¡ ì½í
ì¸ ì´ìì ì´ì´ê° ì ììµëë¤.",restriction:"ì¹ì¸ë ìí ìë§ ì´ì ë©ë´ê° ì´ë¦½ëë¤.",status:{label:"ì¹ì¸ë¨"},action:{kind:"link",label:"í¬ë¦¬ìì´í° ê´ë¦¬",href:`${e.basePath}/creator-admin`}};case"rejected":return{role:"creator",title:"í¬ë¦¬ìì´í°",description:"ì ì² ê²°ê³¼ë¥¼ íì¸í ë¤ íìí ì 보를 ë³´ìí ì ììµëë¤.",restriction:"ì¹ì¸ ì ìë ê³µê° íëì´ë í¬ë¦¬ìì´í° ê¶íì´ ìê¸°ì§ ììµëë¤.",status:{label:"ë°ë ¤ë¨"},action:{kind:"link",label:"íì
ì ì²",href:`${e.basePath}/creators/apply`}};case null:return{role:"creator",title:"í¬ë¦¬ìì´í°",description:"ìê¶ì ì´ì¼ê¸°ì ë§¤ë ¥ì í¨ê» ì í íí¸ë를 ì°¾ìµëë¤.",restriction:"ì ì²ë§ì¼ë¡ ê³µê° íëì´ë í¬ë¦¬ìì´í° ê¶íì´ ìê¸°ì§ ììµëë¤.",action:{kind:"link",label:"íì
ì ì²",href:`${e.basePath}/creators/apply`}}}}(er),er.merchantAccess?{role:"merchant",title:"ì°¸ì¬ ìì ",description:"íì¸ë ìì ê¶íì¼ë¡ ì´ì ë©ë´ë¥¼ ì´ì©í ì ììµëë¤.",restriction:"ì¹ì¸ë ìì ìë§ ê´ë¦¬ ë©ë´ê° ì´ë¦½ëë¤.",status:{label:"ì¹ì¸ë¨"},action:{kind:"link",label:"ìì ê´ë¦¬",href:`${er.basePath}/store-admin/dashboard`}}:{role:"merchant",title:"ì°¸ì¬ ìì ",description:"ì°¸ì¬ ìí¥ê³¼ ìì ì 보를 ë¹ê³µê°ë¡ íì¸í©ëë¤.",restriction:"문ìë§ ì ìëë©° ìë ì¹ì¸ì´ë ìì ê´ë¦¬ ê¶íì ìê¸°ì§ ììµëë¤.",action:{kind:"link",label:"ì°¸ì¬ ìì 문ì",href:`${er.basePath}/support`}},er.associationAccess?{role:"association",title:"ìì¸í",description:"íì¸ë ìì¸í ê¶íì¼ë¡ ìê¶ ì´ì ë©ë´ë¥¼ ì´ì©í ì ììµëë¤.",restriction:"ì¹ì¸ë ìì¸í ìí ìë§ ê´ë¦¬ ë©ë´ê° ì´ë¦½ëë¤.",status:{label:"ì¹ì¸ë¨"},action:{kind:"link",label:"ìê¶ ê´ë¦¬",href:`${er.basePath}/admin`}}:{role:"association",title:"ìì¸í",description:"ìê¶ ë²ìì ì´ì ìí ì ë¹ê³µê°ë¡ í¨ê» íì¸í©ëë¤.",restriction:"문ìë§ ì ìëë©° ìë ì¹ì¸ì´ë ìê¶ ê´ë¦¬ ê¶íì ìê¸°ì§ ììµëë¤.",action:{kind:"link",label:"ìì¸í MOU 문ì",href:`${er.basePath}/support`}}]}:null,ev=(0,L.getPrepartnerPortalHomeSamples)(z?.slug||""),ew=ev?ev.categories.map(e=>({...e,parent_id:""})):I,ey=(0,i.useMemo)(()=>(0,C.getPortalGeneralCategoryRailItems)(ew,M),[M,ew]);(0,i.useEffect)(()=>{z?.id&&z?.slug&&(0,N.trackPageViewed)({userId:Z?.id??null,marketId:z.id,slug:z.slug,pageType:"portal_home"})},[z?.id,z?.slug,Z?.id]);let ej=ew.filter(e=>(0,_.isFoodCategory)(e,ei)),ek=(0,_.getFoodCategoryIds)(ew,ei),eN=ej[0]||ew.find(e=>ek.has(e?.id))?`${ep}/stores?feature=food§ion=stores`:`${ep}/stores?q=${encodeURIComponent("ë§ì§")}`,e_=[...O,...(B||[]).map(e=>{let t=e.festival_id?X.find(t=>t.id===e.festival_id):null,a=`${e.store?.["ìí¸ëª
"]||"ìì "} 방문 í기`;return t&&(a=`${t.title} ${"event"===t.type?"ì°¸ì¬":"방문"} í기`),{...e,isReview:!0,ì 목:a,본문:e.content,ìì±ë ì§:e.created_at,íì
:"방문리뷰",author:e.author,storeInfo:e.store,festivalInfo:t,rating:e.rating,ì´ë¯¸ì§s:e.image_urls||[],translations:e.translations}})].sort((e,t)=>e.is_home_featured&&!t.is_home_featured?-1:!e.is_home_featured&&t.is_home_featured?1:new Date(t["ìì±ë ì§"]||t.created_at).getTime()-new Date(e["ìì±ë ì§"]||e.created_at).getTime()).slice(0,3),eC=(0,i.useMemo)(()=>F.filter(eh),[F]);z?.name_translations?.[ei]||z?.name||z?.market_name||z?.["ìê¶ëª
"]||em.fallbackMarketName;let eP=e=>e?.store_id||e?.store?.id||"",eS=e=>e?.source_type==="menu"||e?.source_type==="menu_ai"||e?.target_type==="menu",eA=(q||[]).filter(e
2S).map(e=>e.store).filter(Boolean),e$=(0,i.useMemo)(()=>(0,_.getFoodCategoryIds)(I,ei),[I,ei]),ez=Array.from(new Map([...H.filter(e=>(0,_.isFoodStoreRecord)(e,I,ei,[],e$)),...eA].map((e,t)=>[e?.id||`food-store-${t}`,e])).values()),eR=new Set(ez.map(e=>e.id).filter(Boolean));H.filter(e=>e?.id&&!eR.has(e.id)).filter(e=>!(0,_.isFoodStoreRecord)(e,I,ei,[],e$)).slice(0,8);let eT=(q||[]).filter(e=>e.is_available).filter(e=>!eS(e)).filter(e=>!eR.has(eP(e))).slice(0,8),eI=new Map;(q||[]).forEach(e=>{let t=eP(e);if(!t||!eR.has(t)&&!eS(e))return;let a=eI.get(t)||[];a.length<4&&eI.set(t,[...a,e])});let eM=[...ez].sort((e,t)=>{let a=eI.get(e.id)?.length||0;return(eI.get(t.id)?.length||0)-a}).slice(0,3),eE=Array.from(eI.values()).flat().sort((e,t)=>Number(eS(t))-Number(eS(e))).filter((e,t,a)=>{let r=e.id||`${e.store_id||e.store?.id}-${e.name||e.product_name}-${t}`;return a.findIndex((e,t)=>(e.id||`${e.store_id||e.store?.id}-${e.name||e.product_name}-${t}`)===r)===t}).slice(0,6);ei.startsWith("zh")||ei.split("-")[0];let eL=e=>{let t=e["ì´ë¯¸ì§s"]||e.image_urls||e.images||[];return Array.isArray(t)&&"string"==typeof t[0]?t[0]:e.thumbnail_url||e.image_url||""},eH=!!ev||ee.communityHomePreview.enabled&&"error"!==et.communityHomePreview.status,eG=eT.find(e=>!!(e.image_url||(Array.isArray(e.image_urls)?e.image_urls[0]:""))),eD=e_.find(e=>!!eL(e)),eW=function(e){let t=e=>e.map(e=>ex("string"==typeof e?e:"")).filter(e=>!!e);if(!e)return[];if(Array.isArray(e))return t(e);if("string"!=typeof e)return[];try{let a=JSON.parse(e);if(Array.isArray(a))return t(a)}catch{}let a=ex(e);return a?[a]:[]}(z?.hero_image_url)[0]||z?.logo_url||"",eU=ex(eW||eG?.image_url||(Array.isArray(eG?.image_urls)?eG.image_urls[0]:"")||(eD?eL(eD):"")),[eV,eq]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=window.setTimeout(()=>{eq(z?.slug==="gotomall"&&Date.now()<Date.parse(U.INTERVIEW_CAMPAIGN.closesAt))},0);return()=>window.clearTimeout(e)},[z?.slug]);let eO=(0,i.useMemo)(()=>{let e=eC.length>0?[{id:"onnuri-prizes",kind:"onnuri",eyebrow:"ko"===ei?"ì¨ë리 ê²½í ì´ë²¤í¸":"Onnuri prize event",title:"ko"===ei?z?.slug==="gotomall"?"ì¼íì ì¦ê±°ìì\nê²½í ì모ê¹ì§":"ëì§í¸ ì¨ë리ìíê¶":eC.map(e=>e.prize_name||e.title||"").join(" · "),amountLabel:eC.map(e=>(0,W.getPortalOnnuriPrizeAmountLabel)(e).replace(/([\d,]+)ì/,(e,t)=>`${Number(t.replaceAll(",",""))/1e4}ë§ ì`)).join(" · "),description:"ko"===ei?"ê° ê²½íì ì모 기ê°ê³¼ ì¶ì²¨ ì¡°ê±´ì íì¸íê³ ì°¸ì¬í´ 주ì¸ì.":"Check each prizeâs entry period and draw conditions.",href:1===eC.length?`${ep}/events/${eC[0].id}`:`${ep}/events`}]:[];return[{id:"local-creator-recruitment",kind:"recruitment",eyebrow:"ko"===ei?z?.slug==="gotomall"?"SHOP · EAT · PLAY":"ë¡ì»¬ í¬ë¦¬ìì´í° ëª¨ì§ Â· 기본 ì°¸ì¬ ë¬´ë£":"LOCAL CREATOR RECRUITMENT",title:"ko"===ei?z?.slug==="gotomall"?"ì¤ëì ì·¨í¥ì\nê³ í¬ëª°ìì":`${z?.name||"ì°ë¦¬ ëë¤"}ì ë°ê²¬ì, ëë§ì ì½í
ì¸ ë¡.`:"Turn local discoveries into your own content.",description:"ko"===ei?z?.slug==="gotomall"?"í¨ì
·먹거리·ì¼íì íê³³ìì ê°ë³ê² ëë¬ë³´ì¸ì.":"ë§ì§Â·í¨ì
·ì¼ìì ë°ê²¬ì 기ë¡íê³ í¬ê³¼ ë§ëì. 골목ìì ìì íë ë°©ë²ê³¼ ìì
ì¤ì ëë¬ë³´ì¸ì.":"Share food, fashion and everyday local discoveries, then grow with Golmok.",href:z?.slug==="gotomall"?`${ep}/stores`:(0,V.creatorRecruitmentHref)("market",z?.slug||"gotomall","hero"),imageSrc:eU||ec},...e,{id:"creator-ticket",kind:"creator",eyebrow:"CREATOR CONTENT",title:"ko"===ei?z?.slug==="gotomall"?"í¬ë¦¬ìì´í°ê° ë°ê²¬í\nê³ í¬ëª° ì´ì¼ê¸°":"í¬ë¦¬ìì´í° ê²ìê¸Â·ëê¸ë¡ ë°ë ì모ê¶":"Creator post and comment tickets",description:"ko"===ei?z?.slug==="gotomall"?"ê³ í¬ëª°ì ë´ì ììê³¼ ì´ì¼ê¸°ë¥¼ ëë¬ë³´ì¸ì.":"í¬ë¦¬ìì´í°ì ê²ìê¸ê³¼ ëê¸ ì´ë²¤í¸ ì°¸ì¬ ë°©ë²ì íê³³ìì íì¸íì¸ì.":"See creator post and comment event participation in one place.",href:z?.slug==="gotomall"?`${ep}#portal-creator-content`:`${ep}/events`},{id:"review-share",kind:"review",eyebrow:"REVIEW SHARE",title:"ko"===ei?z?.slug==="gotomall"?"먼ì ë¤ë
ì¨ ì¬ëë¤ì\nì¼í ì´ì¼ê¸°":"ëìì´ ë í기 ê³µì íê³ ìëª¨ê¶ ë°ê¸°":"Share a helpful review",description:"ko"===ei?z?.slug==="gotomall"?"방문 ì ì¤ì ì¼í í기를 ëë¬ë³´ì¸ì.":"ë¸ë¡ê·¸Â·ì¸ì¤í·ì íë¸Â·Threads·X í기를 ê³µì í´ ì£¼ì¸ì.":"Share helpful reviews from every channel.",href:z?.slug==="gotomall"?`${ep}/visit-reviews`:`${ep}/profile/reviews`},...eV?[{id:"interview-recruitment",kind:"interview",eyebrow:"INTERVIEW RECRUITMENT",title:"ko"===ei?"ì¸í°ë·°íê³ ì¨ë리ìíê¶ 5ì² ì ë°ê¸°":"Join an interview and receive an Onnuri gift card",description:"ko"===ei?"9ì 12ì¼ í ìì¼ ì´¬ì ìë£ ì ì§ê¸ëë©°, ìê°ì ì ì² í ê°ë³ ìë´í©ëë¤.":"Receive the reward after filming on Saturday, September 12. Time details follow your application.",href:`${ep}/interview-apply`,imageSrc:"/assets/gotomall-interview-hero-v3.png"}]:[]].slice(0,5)},[eC,ep,eU,ei,z?.name,z?.slug,eV]),[eB,eF]=(0,i.useState)(0),[eK,eX]=(0,i.useState)(!1),[eY,eJ]=(0,i.useState)(!1),eZ=eO[eB]||eO[0],eQ=(0,i.useMemo)(()=>eC.map(e=>({id:e.id,label:"ko"===ei?"ëì§í¸ ì¨ë리":"Digital Onnuri",title:e.prize_name||e.title||"",amount:(0,W.getPortalOnnuriPrizeAmountLabel)(e),description:em.giveawaySlideDesc,href:`${ep}/events/${e.id}`})),[eC,ep,ei,em.giveawaySlideDesc]),[e0,e1]=(0,i.useState)(0),[e2,e5]=(0,i.useState)(!1),[e3,e4]=(0,i.useState)(!1),e6=eQ[e0]||eQ[0],e8=(0,i.useMemo)(()=>Array.from({length:Math.ceil(ey.length/8)},(e,t)=>ey.slice(8*t,8*t+8)),[ey]),[e7,e9]=(0,i.useState)(0),te=e8[e7]||e8[0]||[];(0,i.useEffect)(()=>{eF(e=>Math.min(e,Math.max(0,eO.length-1)))},[eO.length]),(0,i.useEffect)(()=>{e1(e=>Math.min(e,Math.max(0,eQ.length-1)))},[eQ.length]),(0,i.useEffect)(()=>{e9(e=>Math.min(e,Math.max(0,e8.length-1)))},[e8.length]),(0,i.useEffect)(()=>
2{if(eK||eY||eO.length<2||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=window.setInterval(()=>{eF(e=>(e+1)%eO.length)},6e3);return()=>window.clearInterval(e)},[eO.length,eY,eK]),(0,i.useEffect)(()=>{if(e2||e3||eQ.length<2||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=window.setInterval(()=>e1(e=>(e+1)%eQ.length),6500);return()=>window.clearInterval(e)},[eQ.length,e3,e2]);let tt=eE.slice(0,4),ta=(0,t.jsxs)("section",{className:"relative order-2 mt-2 lg:order-3 lg:col-span-full lg:mt-4","data-portal-home-category-rail":!0,"data-portal-home-category-layout":"all-category-carousel",children:[(0,t.jsxs)("div",{className:"flex items-end justify-between gap-4",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-1.5 text-[11px] font-black text-gray-600",children:[(0,t.jsx)(b.Store,{size:14}),es.categoryExplore]}),eg&&(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(A,{})}),(0,t.jsx)("h3",{className:"mt-1 text-[19px] font-black leading-tight text-gray-950 md:text-[20px]",children:"ko"===ei?"ì´ë¤ 매ì¥ì ì°¾ì¼ì¸ì?":em.categoryExploreTitle})]}),(0,t.jsxs)(c.default,{href:`${ep}/stores`,prefetch:!1,"data-portal-home-action-id":"stores",className:"inline-flex min-h-11 shrink-0 items-center gap-1 text-[12px] font-black text-gray-500 transition-colors hover:text-orange-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/30",children:["ko"===ei?"ì ì²´ 매ì¥":em.categoryMoreShoppingHome,(0,t.jsx)(m.ChevronRight,{size:14})]})]}),ey.length>0?(0,t.jsxs)("nav",{"aria-label":"ko"===ei?"ë§¤ì¥ ì¹´í
ê³ ë¦¬":"Store categories",className:"relative mt-4",children:[(0,t.jsx)("div",{"data-portal-home-category-carousel":!0,"data-portal-home-category-page":`${e7+1}/${e8.length}`,className:"grid grid-cols-4 gap-x-2 gap-y-3 lg:grid-cols-8 lg:gap-x-4 lg:gap-y-0",children:te.map((e,a)=>{let r=e.name_translations?.[ei]||e.name,i=eg?`${ep}/stores?view=examples&category=${encodeURIComponent(e.id)}
2`:(0,C.getPortalBrowseCategoryHref)(ep,e,ek);return(0,t.jsxs)("a",{"data-portal-home-category-link":e.id||a,"data-portal-home-category-link-kind":"store-filter",href:i,className:"group flex min-w-0 flex-col items-center gap-1.5 rounded-xl px-1 py-1.5 text-center outline-none transition-transform duration-150 hover:-translate-y-0.5 focus-visible:ring-2 focus-visible:ring-brand-primary/30 active:translate-y-0",children:[(0,t.jsx)(D.PortalCategoryVisual,{category:e,className:"h-14 w-14 rounded-[22px] bg-[#f7f7f5] shadow-[0_6px_16px_rgba(33,33,33,0.05)] transition-transform duration-150 group-hover:scale-105",emojiClassName:"h-14 w-14 rounded-[22px] bg-[#f7f7f5] text-[29px] shadow-[0_6px_16px_rgba(33,33,33,0.05)] transition-transform duration-150 group-hover:scale-105"}),(0,t.jsx)("span",{"data-portal-home-category-label":!0,className:"line-clamp-2 break-keep text-[11px] font-black leading-tight text-gray-700 group-hover:text-gray-950 sm:text-[12px]",children:r})]},e.id||a)})}),e8.length>1&&(0,t.jsxs)("div",{className:"pointer-events-none mt-3 flex items-center justify-center gap-2 lg:absolute lg:inset-y-0 lg:-left-11 lg:-right-11 lg:mt-0 lg:justify-between",children:[(0,t.jsx)("button",{type:"button","aria-label":"ì´ì ì¹´í
ê³ ë¦¬",onClick:()=>e9(e=>(e-1+e8.length)%e8.length),className:"pointer-events-auto grid h-11 w-11 place-items-center rounded-full bg-white text-gray-600 shadow-sm ring-1 ring-gray-100 transition-transform hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)(x.ChevronLeft,{size:18})}),(0,t.jsx)("div",{className:"pointer-events-none flex items-center gap-1.5 lg:absolute lg:left-1/2 lg:-translate-x-1/2","aria-label":"ì¹´í
ê³ ë¦¬ íì´ì§ ì í",children:e8.map((e,a)=>(0,t.jsx)("button",{type:"button","aria-label":`${a+1}ë²ì§¸ ì¹´í
ê³ ë¦¬ 묶ì`,"aria-current":e7===a?"true":void 0,onClick:()=>e9(a),className:"pointer-events-auto grid h-11 w-7 place-items-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)("span",{className:`h-1.5 rounded-full transition-[background-color,width] duration-200 ${e7===a?"w-5 bg-brand-primary":"w-1.5 bg-gray-300 hover:bg-gray-400"}`})},a))}),(0,t.jsx)("button",{type:"button","aria-label":"ë¤ì ì¹´í
ê³ ë¦¬",onClick:()=>e9(e=>(e+1)%e8.length),className:"pointer-events-auto grid h-11 w-11 place-items-center rounded-full bg-white text-gray-600 shadow-sm ring-1 ring-gray-100 transition-transform hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)(m.ChevronRight,{size:18})})]})]}):(0,t.jsx)("div",{className:"mt-3 rounded-xl bg-white px-4 py-5 text-sm font-bold text-gray-500",children:em.categoryEmpty})]});return(0,t.jsxs)("main",{"data-portal-home-hub-content":!0,className:"w-full flex flex-col pb-0 bg-white max-w-full overflow-x-hidden",children:[(0,t.jsx)(K,{enabled:z?.slug==="gotomall"&&"ko"===ei}),z?.slug!=="gotomall"||eg?(0,t.jsx)("section",{className:"w-full mx-auto max-w-[1200px] px-4 pt-4 md:pt-8",children:(0,t.jsxs)("div",{className:(0,k.cn)("grid gap-4 lg:items-stretch",e6&&"lg:grid-cols-[minmax(0,1fr)_minmax(260px,308px)]"),children:[eZ?(0,t.jsxs)("article",{"data-portal-home-hero":!0,"data-portal-home-campaign-carousel":!0,"data-portal-home-primary-purpose":"event-discovery",onMouseEnter:()=>eJ(!0),onMouseLeave:()=>eJ(!1),className:"group relative isolate order-1 flex min-h-[250px] overflow-hidden rounded-2xl border border-orange-100 bg-[#fffaf6] shadow-[0_18px_42px_rgba(147,56,0,0.08)] sm:min-h-[320px] lg:min-h-[360px]",children:[(0,t.jsxs)(c.default,{href:eZ.href,prefetch:!1,className:"relative block min-h-[320px] flex-1 self-stretch lg:min-h-[360px]","aria-label":`${eZ.title} 보기`,children:[(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eu,{src:"interview"===eZ.kind||"recruitment"===eZ.kind?eZ.imageSrc:"onnuri"===eZ.kind?"/assets/events/gotomall-onnuri-prize-hero-v3.png":"creator"===eZ.kind?ec:"/assets/events/gotomall-review-share-hero-202609.png",alt:"onnuri"===eZ.kind?"ì¨ë리 ìíê¶ ê²½íì ìì§íë ì모ê¶ê³¼ ì 물 ì´ë¯¸ì§":"creator"===eZ.kind?"í¬ë¦¬ìì´í° ê²ìê¸ê³¼ ëê¸ ì림ì¼ë¡ ì모ê¶ì ë°ë 모ìµì ìì§íë ì´ë¯¸ì§":"interview"===eZ.kind?"ê³ í¬ëª° ì¸í°ë·° ì°¸ì¬ ëª¨ì§ ì´ë¯¸ì§":"recruitment"===eZ.kind?`${z?.name||"ì§ì"} ë¡ì»¬ í¬ë¦¬ìì´í° ëª¨ì§ ì´ë¯¸ì§`:"í기 ë§í¬ ê³µì ì ìëª¨ê¶ ë³´ìì ìì§íë ì´ë¯¸ì§",fallback:(0,t.jsx)("span",{className:"absolute inset-0 bg-[#fffaf6]","aria-hidden":"true"}),loading:"eager",isLcpHero:!0,sizes:"(min-width: 1200px) 900px, (min-width: 1024px) calc(100vw - 340px), calc(100vw - 32px)",className:"interview"===eZ.kind?"absolute inset-0 h-full w-full object-contain object-right transition-transform duration-700 group-hover:scale-[1.015]":"recruitment"===eZ.kind?"absolute inset-0 h-full w-full object-cover object-center transition-transform duration-700 group-hover:scale-[1.02]":"absolute inset-0 h-full w-full object-cover object-[68%_center] transition-transform duration-700 group-hover:scale-[1.015] sm:object-right"}),(0,t.jsx)("span",{className:"interview"===eZ.kind?"absolute inset-0 bg-gradient-to-r from-[#fffaf6] via-[#fffaf6]/70 via-40% to-[#fffaf6]/10":"recruitment"===eZ.kind?"absolute inset-0 bg-gradient-to-r from-[#fffaf6] via-[#fffaf6]/96 via-58% to-[#fffaf6]/20":"absolute inset-0 bg-gradient-to-r from-[#fffaf6] via-[#fffaf6]/98 via-60% to-[#fffaf6]/18 to-100%","aria-hidden":"true"})]}),(0,t.jsxs)("span",{className:"relative flex min-h-full max-w-[31rem] flex-col justify-center px-5 pt-6 pb-20 sm:px-8 lg:px-10",children:[(0,t.jsxs)("span",{className:"inline-flex w-fit items-center gap-1.5 rounded-full bg-white/92 px-2.5 py-1 text-[11px] font-black text-orange-800 shadow-sm ring-1 ring-orange-100",children:["creator"===eZ.kind?(0,t.jsx)(v.Ticket,{size:13,"aria-hidden":"true"}):"review"===eZ.kind?(0,t.jsx)(g.Link2,{size:13,"aria-hidden":"true"}):"interview"===eZ.kind?(0,t.jsx)(p.Clapperboard,{size:13,"aria-hidden":"true"}):"recruitment"===eZ.kind?(0,t.jsx)(u.Camera,{size:13,"aria-hidden":"true"}):(0,t.jsx)(o.default,{src:"/assets/onnuri-digital-logo.jpeg",alt:"ëì§í¸ ì¨ë리",width:16,height:16,className:"h-4 w-4 roun
2ded object-contain"})," ",eZ.eyebrow]}),(0,t.jsx)("strong",{className:"mt-3 max-w-[18rem] break-keep text-[26px] font-black leading-[1.16] tracking-[-0.045em] text-gray-950 sm:max-w-[26rem] sm:text-[34px] lg:max-w-[28rem] lg:text-[40px]",children:eZ.title}),eZ.amountLabel&&(0,t.jsx)("span",{className:"mt-2 text-[18px] font-bold text-gray-700 sm:text-[22px]",children:eZ.amountLabel}),(0,t.jsx)("span",{className:"mt-3 max-w-[17rem] break-keep text-[13px] font-bold leading-relaxed text-gray-600 sm:max-w-[21rem] sm:text-[15px]",children:eZ.description}),(0,t.jsxs)("span",{className:"mt-5 inline-flex w-fit items-center gap-1.5 rounded-lg bg-gray-950 px-3.5 py-2.5 text-[12px] font-black text-white shadow-sm transition-transform duration-150 group-hover:-translate-y-0.5 group-active:translate-y-0",children:["interview"===eZ.kind?"ì°¸ì¬ ì ì²í기":"recruitment"===eZ.kind?"í¬ë¦¬ìì´í° ìì보기":"ì´ë²¤í¸ ìì¸í 보기"," ",(0,t.jsx)(m.ChevronRight,{size:15,"aria-hidden":"true"})]})]})]}),(0,t.jsxs)("div",{className:"absolute bottom-4 right-4 z-10 flex items-center gap-1 sm:bottom-5 sm:right-6",children:[(0,t.jsx)("button",{type:"button","aria-label":"ì´ì ë°°ë",onClick:()=>eF(e=>(e-1+eO.length)%eO.length),className:"grid h-11 w-11 place-items-center rounded-full bg-white/92 text-gray-700 shadow-sm transition-transform hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)(x.ChevronLeft,{size:18})}),(0,t.jsxs)("span",{"data-portal-home-campaign-pagination":!0,className:"rounded-full bg-gray-950 px-2.5 py-1.5 text-[11px] font-black tabular-nums text-white",children:[eB+1," / ",eO.length]}),(0,t.jsx)("button",{type:"button","aria-label":eK?"ë°°ë ìë ëê¹ ì¬ì":"ë°°ë ìë ëê¹ ì¼ìì ì§",onClick:()=>eX(e=>!e),className:"grid h-11 w-11 place-items-center rounded-full bg-white/92 text-gray-700 shadow-sm transition-transform hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:eK?(0,t.jsx)(f.Play,{size:16}):(0,t.jsx)(h.Pause,{size:16})}),(0,t.jsx)("button",{type:"button","aria-label":"ë¤ì ë°°ë",onClick:()=>eF(e=>(e+1)%eO.length),className:"grid h-11 w-11 place-items-center rounded-full bg-white/92 text-gray-700 shadow-sm transition-transform hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)(m.ChevronRight,{size:18})})]}),(0,t.jsx)("div",{className:"absolute bottom-5 left-5 z-10 flex gap-1.5 sm:left-8 lg:left-10","aria-label":"ë©ì¸ ë°°ë ì¬ë¼ì´ë ì í",children:eO.map((e,a)=>(0,t.jsx)("button",{type:"button","aria-label":`${a+1}ë²ì§¸ ë°°ë \xb7 ${e.title}`,"aria-current":eB===a?"true":void 0,onClick:()=>eF(a),className:"grid h-11 w-5 place-items-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)("span",{className:`h-1.5 rounded-full transition-[background-color,width] duration-200 ${eB===a?"w-5 bg-brand-primary":"w-1.5 bg-gray-300 hover:bg-gray-400"}`})},e.id))})]}):(0,t.jsxs)("article",{"data-portal-home-hero":!0,"data-portal-home-primary-purpose":"store-discovery",className:"group relative isolate order-1 min-h-[250px] overflow-hidden rounded-2xl border border-orange-100 bg-[#fffaf6] shadow-[0_18px_42px_rgba(147,56,0,0.08)] sm:min-h-[320px] lg:min-h-[360px]",children:[(0,t.jsx)(eu,{src:eU,alt:em.posterAriaLabel,isLcpHero:!0,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-[1.03]",fallback:(0,t.jsx)("div",{className:"absolute inset-0 bg-gray-950"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 via-black/20 to-black/5"}),(0,t.jsxs)("div",{className:"relative flex h-full min-h-[260px] flex-col justify-end p-4 text-white sm:min-h-[340px] sm:p-5 lg:min-h-[400px] lg:p-8",children:[(0,t.jsxs)("div",{className:"mb-auto hidden w-fit items-center gap-2 rounded-md bg-white/92 px-2.5 py-1 text-xs font-black text-gray-900 shadow-sm sm:inline-flex",children:[(0,t.jsx)(p.Clapperboard,{size:14,className:"text-orange-800"}),z?.slug==="gotomall"?"ìëª¨ê¶ ì´ë²¤í¸ ìë´":es.shoppingGuide]}),(0,t.jsxs)("div",{className:"max-w-[19rem] sm:max-w-[34rem] lg:max-w-[680px]",children:[(0,t.jsx)("h2",{"data-portal-home-hero-title":!0,className:"text-[23px] font-black leading-[1.16] tracking-tight sm:text-[28px] lg:text-[42px]",children:z?.slug==="gotomall"?"í기를 ë¨ê¸°ê³ , í¬ë¦¬ìì´í°ì í¨ê» ì모ê¶ì ë°ìë³´ì¸ì":es.heroTitle}),(0,t.jsx)("p",{className:"mt-2 hidden line-clamp-2 max-w-[20rem] text-[13px] font-semibold leading-relaxed text-white/82 sm:mt-3 sm:block sm:max-w-xl sm:text-[15px] lg:max-w-[760px] lg:text-[17px]",children:z?.slug==="gotomall"?"í¬ë¦¬ìì´í° ê²ìê¸Â·ëê¸ ì´ë²¤í¸ì í기 ê³µì ë³´ìì íê³³ìì íì¸íì¸ì.":es.heroDesc})]})]})]}),ta,e6&&(0,t.jsxs)("article",{"data-portal-home-prize-carousel":!0,onMouseEnter:()=>e4(!0),onMouseLeave:()=>e4(!1),className:"order-3 relative flex min-w-0 flex-col rounded-2xl bg-[#fffaf6] p-4 ring-1 ring-orange-100 lg:order-2 lg:min-h-[360px]",children:[(0,t.jsxs)(c.default,{"data-portal-home-campaign-coupon":!0,href:e6.href,prefetch:!1,className:"flex min-h-0 flex-1 flex-col rounded-xl outline-none transition-[box-shadow,transform] duration-200 hover:-translate-y-0.5 hover:shadow-toss focus-visible:ring-2 focus-visible:ring-brand-primary",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[11px] font-black text-orange-800",children:[(0,t.jsx)(o.default,{src:"/assets/onnuri-digital-logo.jpeg",alt:"ëì§í¸ ì¨ë리",width:20,height:20,className:"h-5 w-5 rounded object-contain"}),e6.label]}),(0,t.jsxs)("span",{"data-portal-home-prize-pagination":!0,className:"rounded-full bg-white px-2 py-1 text-[10px] font-black tabular-nums text-gray-500",children:[e0+1," / ",eQ.length]})]}),(0,t.jsxs)("div",{"data-portal-home-prize-voucher":!0,"data-prize-id":e6.id,"data-prize-amount":e6.amount,className:"relative mt-4 flex min-h-[174px] flex-1 flex-col overflow-hidden rounded-xl bg-[#fffdfb] p-5 shadow-[0_12px_28px_rgba(92,53,28,0.12)] ring-1 ring-orange-100",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-y-0 left-0 w-2 bg-brand-primary"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute -right-8 -top-10 h-32 w-32 rounded-full bg-[#ffeadc]"}),(0,t.jsxs)("div",{className:"relative flex items-center gap-2.5",children:[(0,t.jsx)(o.default,{src:"/assets/onnuri-digital-logo.jpeg",alt:"","aria-hidden":"true",width:42,he
2ight:42,className:"h-10 w-10 rounded-md object-contain"}),(0,t.jsxs)("span",{className:"flex flex-col leading-tight",children:[(0,t.jsx)("span",{className:"text-[13px] font-black text-gray-950",children:"ëì§í¸ ì¨ë리"}),(0,t.jsx)("span",{className:"mt-0.5 text-[10px] font-bold text-gray-500",children:"모ë°ì¼ ìíê¶"})]})]}),(0,t.jsx)("div",{className:"relative my-4 h-px bg-orange-100"}),(0,t.jsx)("span",{className:"relative text-[10px] font-bold text-gray-500",children:"ê²½í ê¸ì¡"}),(0,t.jsx)("strong",{className:"relative mt-1 text-[28px] font-black tracking-[-0.045em] text-gray-950",children:e6.amount}),(0,t.jsx)("span",{className:"relative mt-auto text-[11px] font-bold text-gray-600",children:e6.title})]},e6.id),(0,t.jsx)("p",{className:"mt-3 text-[12px] font-semibold leading-relaxed text-gray-500",children:e6.description}),(0,t.jsxs)("span",{className:"mt-4 inline-flex min-h-11 items-center gap-1 text-[12px] font-black text-orange-800",children:["ê²½í ìì¸í 보기 ",(0,t.jsx)(m.ChevronRight,{size:14})]})]}),(0,t.jsxs)("div",{className:"mt-1 flex items-center justify-between gap-2",children:[(0,t.jsx)("button",{type:"button","aria-label":"ì´ì ê²½í",onClick:()=>e1(e=>(e-1+eQ.length)%eQ.length),className:"grid h-11 w-11 place-items-center rounded-full bg-white text-gray-700 shadow-sm ring-1 ring-orange-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)(x.ChevronLeft,{size:16})}),(0,t.jsx)("div",{className:"flex gap-1.5","aria-label":"ê²½í ì¬ë¼ì´ë ì í",children:eQ.map((e,a)=>(0,t.jsx)("button",{type:"button","aria-label":`${a+1}ë²ì§¸ ê²½í`,"aria-current":e0===a?"true":void 0,onClick:()=>e1(a),className:"grid h-11 w-5 place-items-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)("span",{className:`h-1.5 rounded-full ${e0===a?"w-4 bg-brand-primary":"w-1.5 bg-orange-200"}`})},e.id))}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("button",{type:"button","aria-label":e2?"ê²½í ìë ëê¹ ì¬ì":"ê²½í ìë ëê¹ ì¼ìì ì§",onClick:()=>e5(e=>!e),className:"grid h-11 w-11 place-items-center rounded-full bg-white text-gray-700 shadow-sm ring-1 ring-orange-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:e2?(0,t.jsx)(f.Play,{size:15}):(0,t.jsx)(h.Pause,{size:15})}),(0,t.jsx)("button",{type:"button","aria-label":"ë¤ì ê²½í",onClick:()=>e1(e=>(e+1)%eQ.length),className:"grid h-11 w-11 place-items-center rounded-full bg-white text-gray-700 shadow-sm ring-1 ring-orange-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",children:(0,t.jsx)(m.ChevronRight,{size:16})})]})]})]})]})}):(0,t.jsx)(el,{campaigns:eO,campaignIndex:eB,setCampaignIndex:eF,campaignPaused:eK,setCampaignPaused:eX,basePath:ep,categorySection:ta}),eg&&ev?(0,t.jsx)($,{examples:ev.creatorContent}):(0,t.jsx)("div",{id:z?.slug==="gotomall"?"portal-creator-content":void 0,className:"w-full scroll-mt-28",children:(0,t.jsx)(E,{marketSlug:z?.slug,basePath:ep,copy:em,visitReviewItems:J})}),z?.slug==="gotomall"&&!eg&&(0,t.jsx)(en,{prizes:eQ,prizeIndex:e0,setPrizeIndex:e1,basePath:ep}),Q,eg&&ev&&(0,t.jsx)("section",{"data-portal-home-food-preview":!0,"data-integration-status":"pending","aria-busy":"false",className:"mx-auto mt-12 w-full max-w-[1200px] px-4 md:mt-14",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-4 flex flex-col gap-3 md:flex-row md:items-end md:justify-between",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"inline-flex rounded-md bg-orange-50 px-2.5 py-1 text-xs font-black text-orange-700",children:"ì ë³´ 미ë±ë¡"}),(0,t.jsx)("h3",{className:"mt-2 text-[22px] font-black leading-tight tracking-tight text-gray-950 md:text-[24px]",children:"먹거리"}),(0,t.jsx)("p",{className:"mt-1 text-[13px] font-medium leading-relaxed text-gray-500 md:text-[15px]",children:"ê³µì ë©ë´Â·ë¨¹ê±°ë¦¬ ì ë³´ë ìê¶ ì°ë ì ì
ëë¤."})]}),(0,t.jsxs)(c.default,{href:eN,prefetch:!1,"data-portal-home-action-id":"food",className:"inline-flex min-h-10 items-center justify-center gap-1.5 rounded-lg border border-amber-100 bg-white px-3.5 text-[12px] font-black text-amber-700",children:["먹거리í 보기 ",(0,t.jsx)(m.ChevronRight,{size:14})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-4 md:grid-cols-4",children:ev.food.map(e=>(0,t.jsx)(R,{product:e},e.id))})]})}),!eg&&ee.foodHomePreview.enabled&&"error"===et.foodHomePreview.status&&(0,t.jsx)(ef,{label:es.findFood,locale:ei}),!eg&&ee.foodHomePreview.enabled&&"error"!==et.foodHomePreview.status&&eM.length>
20&&(0,t.jsx)("section",{"data-portal-home-food-preview":!0,className:"mx-auto mt-12 w-full max-w-[1200px] px-4 md:mt-14",children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"min-w-0",children:tt.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-4 flex flex-col gap-3 md:flex-row md:items-end md:justify-between",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-md bg-amber-50 px-2.5 py-1 text-xs font-black text-amber-700",children:[(0,t.jsx)(w.Utensils,{size:14}),"먹거리 미리보기"]}),(0,t.jsx)("h3",{className:"mt-2 break-keep text-[21px] font-black leading-tight tracking-tight text-gray-950 md:text-[26px]",children:"ë©ë´ ì¬ì§ì 먹거리íìì íì¸íì¸ì"}),(0,t.jsx)("p",{className:"mt-1 text-sm font-semibold text-gray-500 md:text-[15px]",children:"ë©ì¸ íììë ëí ë©ë´ë§ ê°ë³ê² ë³´ì¬ì£¼ê³ , ì ì²´ ììì íìì 먹거리íì¼ë¡ ì´ì´ê°ëë¤."})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsxs)("span",{className:"rounded-md bg-gray-50 px-2.5 py-1.5 text-[12px] font-black text-gray-500",children:[tt.length,"ê° ë¯¸ë¦¬ë³´ê¸°"]}),(0,t.jsxs)(c.default,{href:eN,prefetch:!1,"data-portal-home-action-id":"food",className:"inline-flex min-h-10 items-center justify-center gap-1.5 rounded-lg border border-amber-100 bg-white px-3.5 text-[12px] font-black text-amber-700 transition-colors hover:bg-amber-50",children:["먹거리í 보기",(0,t.jsx)(m.ChevronRight,{size:14})]})]})]}),(0,t.jsx)("div",{id:"portal-food-menu-preview",className:(0,k.cn)("grid gap-4",1===tt.length?"md:grid-cols-1":"grid-cols-2 lg:grid-cols-4"),children:tt.map((e,a)=>{let r=e.image_url||(Array.isArray(e.image_urls)?e.image_urls[0]:""),i=e.name||e.product_name||"ëí ë©ë´",s=e.store?.["ìí¸ëª
"]||e.store_name||"먹거리 매ì¥",l=Number(e.price||e.sale_price||0),n="menu"===e.source_type||"menu_ai"===e.source_type?e.store_id?`${ep}/stores/${e.store_id}`:eN:e.id?`${ep}/products/${e.id}`:eN;return(0,t.jsxs)(c.default,{href:n,prefetch:!1,className:"group/card block min-w-0 bg-white",children:[(0,t.jsx)("div",{className:"aspect-[4/3] overflow-hidden rounded-xl bg-amber-50",children:(0,t.jsx)(eu,{src:r,alt:`${i} ë©ë´ ì¬ì§`,className:"h-full w-full object-cover transition-transform duration-500 group-hover/card:scale-105",referrerPolicy:"no-referrer",fallback:(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center text-amber-300",children:(0,t.jsx)(w.Utensils,{size:30})})})}),(0,t.jsxs)("div",{className:"pt-2.5",children:[(0,t.jsx)("p",{className:"line-clamp-1 text-[13px] font-black text-gray-950",children:i}),(0,t.jsx)("p",{className:"mt-1 text-[13px] font-black text-orange-800",children:l>0?`${l.toLocaleString("ko-KR")}ì`:"ê°ê²© 문ì"}),(0,t.jsx)("p",{className:"mt-1 line-clamp-1 text-[11px] font-bold text-gray-600",children:s})]})]},e.id||`${i}-${a}`)})})]})})})}),eH&&z?.slug!=="gotomall"&&(0,t.jsxs)("section",{id:"visit-reviews","data-portal-home-visit-review-feed":!0,className:"mx-auto mt-12 w-full max-w-[1200px] scroll-mt-28 px-4 md:mt-14",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-end justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[21px] font-black tracking-tight text-gray-950 md:text-[26px]",children:"ì±ëë³ ë² ì¤í¸ ì½í
ì¸ "}),(0,t.jsx)("p",{className:"mt-1.5 text-[13px] font-medium leading-relaxed text-gray-500 md:text-[15px]",children:"ì±ëì ê³¨ë¼ ììê³¼ ê¸ì ëë¬ë³´ì¸ì."})]}),(0,t.jsxs)(c.default,{href:`${ep}/visit-reviews`,prefetch:!1,"data-portal-home-action-id":"visit-reviews",className:"inline-flex min-h-11 shrink-0 items-center gap-1 text-[13px] font-black text-gray-600 hover:text-orange-800",children:["í기 모ë 보기",(0,t.jsx)(m.ChevronRight,{size:15})]})]}),(0,t.jsx)(n,{items:Y,renderCard:e=>{var i;let s,l,n,o=(i=e,(n=(l=(s=((Array.isArray(i?.stores)?i.stores:[])||[]).map(e=>{let t,a,r,i,s=Array.isArray(e?.store)?e.store[0]:e?.store||{},l=e?.store_id||s?.id;return l?{id:l,href:`${ep}/stores/${l}`,name:(t=Array.isArray(e?.store)?e.store[0]:e?.store||{},t?.ìí¸ëª
||t?.name||e?.store_name||"ì°ê²° 매ì¥"),room:s?.í¸ì||e?.room||"",imageUrl:(a=Array.isArray(s?.image_urls)?s.image_urls:[],s?.ì¸ë¤ì¼||a.find(e=>
2"string"==typeof e&&e.trim())||""),segmentThumbnailUrl:e?.segment_thumbnail_url||"",...(i=(r=(Array.isArray(s?.ì¹´í ê³ ë¦¬)?s.ì¹´í ê³ ë¦¬.filter(e=>"string"==typeof e&&e.trim().length>0):"string"==typeof s?.ì¹´í ê³ ë¦¬&&s.ì¹´í ê³ ë¦¬.trim()?[s.ì¹´í ê³ ë¦¬]:[]).map(e=>I.find(t=>t?.id===e||t?.name===e)).filter(Boolean)).find(e=>e.parent_id)||r[0],{categoryLabel:i?.name_translations?.[ei]||i?.name_translations?.ko||i?.name||"",categoryEmoji:i?.ì´ëª¨ì§||"ð¬"})}:null}).filter(Boolean))[0])?{...l,moreCount:Math.max(0,s.length-1)}:null)?{href:n.href,name:n.name,room:n.room,imageUrl:n.imageUrl,categoryLabel:n.categoryLabel,categoryEmoji:n.categoryEmoji,moreCount:n.moreCount}:void 0),c=e?.contentFamily||(0,P.getCurationContentFamily)({video_type:e?.video_type,content:e?.content}),d=String(e?.video_url||"").trim(),m=d||o?.href||`${ep}/visit-reviews`;return(0,t.jsx)(S.default,{homePreview:!0,title:e?.title||em.visitReviews,posterUrl:((e,t)=>{let a=e?.contentFamily||(0,P.getCurationContentFamily)({video_type:e?.video_type,content:e?.content}),r=(e=>{if(!e)return null;let t=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=|shorts\/)([^#&?]*).*/);return t&&t[2]?.length===11?t[2]:null})(e?.video_url),i=t?.imageUrl||(r?`https://img.youtube.com/vi/${r}/hqdefault.jpg`:"");if("blog"===a){let t=e?.thumbnail_url||"";return(0,T.buildNaverBlogPreviewImageProxyUrl)({preparedOnly:!0,imageUrl:t,pageUrl:e?.video_url})||t}return e?.thumbnail_url||i})(e,o),channelLabel:(0,P.getCurationChannelLabel)(e?.video_type==="shorts"?"youtube_shorts":e?.video_type),contentKind:"blog"===c?"blog":"video",creatorName:e?.creator?.name||e?.creator?.users?.displayName||em.visitReviews,primaryHref:m,opensExternal:!!d,linkedStore:o,useLinkedStoreImageFallback:!!o?.imageUrl,sourceBadge:e?.sourceBadge,metricRefreshHref:(0,a.instagramMetricRefreshHref)(String(z.id),d),engagement:e?.publicReviewEngagement||((e?.video_type==="youtube"||e?.video_type==="youtube_shorts")&&e?.metadata_fetched_at?{viewCount:(0,r.knownPublicCount)(e?.view_count),likeCount:(0,r.knownPublicCount)(e?.like_count),commentCount:(0,r.knownPublicCount)(e?.comment_count)}:void 0)},`home-visit-review-${e.id||e.naver_place_review_candidate_id||e.title}`)}})]}),eb&&(0,t.jsx)("div",{className:"mt-12 md:mt-14",children:(0,t.jsx)(G,{model:eb,variant:"home"})}),z?.slug==="gotomall"&&!eg&&(0,t.jsx)(eo,{}),(0,t.jsx)("div",{"data-portal-pre-footer-space":"home","aria-hidden":"true",className:"h-12 shrink-0 md:h-20"})]})},"normalizePortalImageSource",0,ex],48011)}]); 3 4//# debugId=d0bb7939-5fb8-7e10-5a8f-ad83ad3dff8c
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.