'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js");const Img=({layout:e,borderRadius:s,aspectRatio:t,image:r,alt:a,style:l,enableBorder:m,...c})=>{let u=system.createStyle(styles.getImageWrapperStyle({borderRadius:s,aspectRatio:t,layout:e},l)),o=system.createClass(classes.getImageWrapperClass({enableBorder:m}));return jsxRuntime.jsx("img",{...c,src:r?.src,alt:a,className:o,style:u})};Img.defaultProps={layout:{desktop:"cover"}},exports.default=Img;
