import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Aut as t,Mft as n,Mut as r,Mvt as i,N_t as a,Nut as o,O_t as s,jft as c,npt as l,vpt as u}from"./app-initial-BHB6SClA.js";function d(){let e=(0,m.c)(7),t=a(c),n=o(u.petSize),i;e[0]===n?i=e[1]:(i=n===h?null:p(n),e[0]=n,e[1]=i);let s;e[2]===t?s=e[3]:(s=e=>{r(t,u.petSize,p(e))},e[2]=t,e[3]=s);let l;return e[4]!==i||e[5]!==s?(l={mascotWidthPx:i,setMascotWidthPx:s},e[4]=i,e[5]=s,e[6]=l):l=e[6],l}function f(e){if(e!=null)return{[_]:`${p(e)}px`}}function p(e){return Number.isFinite(e)?Math.round(Math.min(224,Math.max(80,e))):h}var m,h,g,_,v=e((()=>{m=i(),s(),l(),n(),t(),h=u.petSize.default,g=192/208,_=`--codex-avatar-width`}));export{v as a,f as i,g as n,d as o,p as r,h as t};
//# sourceMappingURL=avatar-overlay-mascot-size-CydkQqgJ.js.map