
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f9bebbe6-1119-59be-bf6a-14c6ce73a245")}catch(e){}}();
import{N as b,R as i}from"/build/_shared/chunk-UQ5UV5M6.js";function h(t){let n=l(t);return b({[i.color.bg.hubPrimary]:n.hubPrimary,[i.color.bg.hubAccent]:n.hubAccent,[i.color.bg.hubDarkTint]:n.hubDarkTint})}function l(t){let n=t.colors?.primary||i.color.bg.secondary;return{hubPrimary:n,hubAccent:m(n),hubDarkTint:p(n)}}function m(t){let[n,o,e]=a(t),r=1-.05,s=n*r,c=o*r,u=e*r;return g(s,c,u)}function p(t){let[n,o,e]=a(t),r=.2,s=n*r+0*(1-r),c=o*r+0*(1-r),u=e*r+0*(1-r);return g(s,c,u)}function g(t,n,o){return"#"+[t,n,o].map(e=>{let r=Math.floor(e).toString(16);return r.length===1?"0"+r:r}).join("")}function a(t){t=t.replace(/^#/,""),t.length===3&&(t=t.split("").map(o=>o+o).join(""));let n=parseInt(t,16);return[n>>16&255,n>>8&255,n&255]}export{h as a};
//# sourceMappingURL=/build/_shared/chunk-4GOTVWAW.js.map

//# debugId=f9bebbe6-1119-59be-bf6a-14c6ce73a245
