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