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