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