try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`ff19d755-6b3e-4cc4-886d-22d02349cfab`,e._sentryDebugIdIdentifier=`sentry-dbid-ff19d755-6b3e-4cc4-886d-22d02349cfab`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Fg as t,Ig as n,Yo as r,xr as i}from"./entry.client-dr7r6s9a.js";var a=t(),o=e(n(),1);function s(e){let t=(0,a.c)(8),{displayMode:n,productId:s,isScrolled:c,scrimOpacity:l}=e,u=i(),d=r(),f=u.setPageImageStateDetails,p,m;return t[0]!==d||t[1]!==f||t[2]!==s||t[3]!==n||t[4]!==c||t[5]!==l?(p=()=>{d&&f({imageSource:s?{productId:s,type:`product`}:void 0,displayMode:n,isScrolled:c,scrimOpacity:l})},m=[f,s,d,n,c,l],t[0]=d,t[1]=f,t[2]=s,t[3]=n,t[4]=c,t[5]=l,t[6]=p,t[7]=m):(p=t[6],m=t[7]),(0,o.useEffect)(p,m),u}export{s as t};