import{g as m,Q as c,ac as l,ad as h}from"./entry.DV6a5_Hb.js";function u(t){return e=>e?t[e]||e:t.missingValue}function g({formatter:t,keyMap:e,joinWith:r="/",valueMap:n}={}){t||(t=(o,f)=>`${o}=${f}`),e&&typeof e!="function"&&(e=u(e));const s=n||{};return Object.keys(s).forEach(o=>{typeof s[o]!="function"&&(s[o]=u(s[o]))}),(o={})=>Object.entries(o).filter(([i,a])=>typeof a<"u").map(([i,a])=>{const p=s[i];return typeof p=="function"&&(a=p(o[i])),i=typeof e=="function"?e(i):i,t(i,a)}).join(r)}function y(t=""){if(typeof t=="number")return t;if(typeof t=="string"&&t.replace("px","").match(/^\d+$/g))return parseInt(t,10)}function S(t=""){if(t===void 0||!t.length)return[];const e=new Set;for(const r of t.split(" ")){const n=parseInt(r.replace("x",""));n&&e.add(n)}return Array.from(e)}function I(t){if(t.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function P(t){const e={};if(typeof t=="string")for(const r of t.split(/[\s,]+/).filter(n=>n)){const n=r.split(":");n.length!==2?e["1px"]=n[0].trim():e[n[0].trim()]=n[1].trim()}else Object.assign(e,t);return e}const b=g(),x=(t,{modifiers:e={},baseURL:r}={})=>{r||(r=m().public.siteUrl);const n=b(e);return{url:c(r,t+(n?"?"+n:""))}},d=Object.freeze(Object.defineProperty({__proto__:null,getImage:x},Symbol.toStringTag,{value:"Module"})),w=g({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:"&",formatter:(t,e)=>l(t)+"_"+l(e)}),_=(t,{modifiers:e={},baseURL:r}={},n)=>{e.width&&e.height&&(e.resize=`${e.width}x${e.height}`,delete e.width,delete e.height);const s=w(e)||"_";return r||(r=c(n.options.nuxt.baseURL,"/_ipx")),{url:c(r,s,h(t))}},j=!0,O=!0,z=Object.freeze(Object.defineProperty({__proto__:null,getImage:_,supportsAlias:O,validateDomains:j},Symbol.toStringTag,{value:"Module"})),$={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"ipx",domains:[],alias:{},densities:[1,2],format:["webp"]};$.providers={local:{provider:d,defaults:{baseURL:"/faculdade-de-medicina-em-minas-gerais/assets/img/"}},portal:{provider:d,defaults:{baseURL:"https://www.unibh.br"}},ipx:{provider:z,defaults:{}}};export{P as a,S as b,I as c,$ as i,y as p};