'use client';
import{jsx as m}from"react/jsx-runtime";import e from"next/image";import{createStyle as t,createClass as o}from"@gem-sdk/system";import{getNextImageClasses as r}from"../common/classes.js";import{getNextImageStyles as s}from"../common/styles.js";import{getNextImageReactAttrs as a}from"../common/attrs.js";let i=i=>{let{style:l,imgRef:f,setting:c,priority:n,className:p,width:j,height:g,isNotLazyload:x,isDisableAspectStyle:y,pageContext:b}=i,d=!x&&(b?.enableLazyLoadImage??!0)&&!n,u=t({...l,...s({width:j,height:g,setting:c,isDisableAspectStyle:y,isDisableObjectFit:!1})}),I=o({...r({className:p,hasLazyLoad:d})}),L=a(i);return m(e,{ref:f,...L,style:u,className:I})};export{i as default};
