(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,328414,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(379398),r=e.i(740262);e.s(["StoryBubbleUi1",0,({stories:e,isPost:o,storyIndex:i})=>{let{dispatch:a}=(0,s.useStories)();return(0,t.jsxs)("button",{className:"aspect-[1/2] rounded-button relative overflow-hidden w-[173px]",onClick:o?()=>null:()=>{a({type:r.Types.ToggleModal,payload:{storyIndex:i}})},children:[(0,t.jsxs)("div",{className:"absolute z-[1] top-1 left-2.5 right-2.5",children:[(0,t.jsx)("div",{className:"flex items-center gap-1",children:Array.from(Array(e.length).keys()).map(e=>(0,t.jsx)("div",{className:"h-px flex-1 bg-white rounded-full shadow-storeCard"},e))}),(0,t.jsx)("div",{className:"w-10 h-10 rounded-button border border-white flex items-center justify-center mt-1 bg-white bg-opacity-60",children:(0,t.jsx)(l.default,{src:e?.[0]?.logo_img||"",alt:"story",width:28,height:28,quality:100,className:"rounded-full w-7 h-7 object-cover"})})]}),(0,t.jsx)(l.default,{src:e?.[0].url,alt:e?.[0].product_title||"",fill:!0,className:"w-full h-full object-cover"})]})}])},39352,e=>{e.n(e.i(328414))}]);