import{aA as t}from"./bdrFovXZ.js";import{g as u}from"./DmSkecwX.js";import{o as c}from"./D02Qc_ax.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalthis:typeof self<"u"?self:{};n.sentry_release={id:"dcd43fef1e4af7f7614a43abf36301348c5fce67"}}catch{}})();try{(function(){var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalthis:typeof self<"u"?self:{},o=new n.Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="590baa0a-9bce-4413-a81f-08877efb73cc",n._sentryDebugIdIdentifier="sentry-dbid-590baa0a-9bce-4413-a81f-08877efb73cc")})()}catch{}const l="image",g="video",a=["jpg","jpeg","png","gif","webp","svg"];function E(){const n=t();function o(e){var f,r;return((r=(f=e==null?void 0:e.filename)==null?void 0:f.split(".").pop())==null?void 0:r.toLowerCase())??""}function i(e){return(e==null?void 0:e.content_type)||a.includes(o(e))}function d(e,f){return i(e)?{...e,height:f,src:u((e==null?void 0:e.filename)??"",{height:f,focusPoint:c(e==null?void 0:e.focus)}),assetType:l,isImage:!0}:{...e,height:f,src:n((e==null?void 0:e.filename)??"")??"",assetType:g,isImage:!1}}return{isImage:i,getFileExtension:o,getAssetData:d}}export{l as A,E as u}; //# sourceMappingURL=DaY-W9w_.js.map