1import{l as t,f as e}from"./2c1ab0fe.D_oO1jU7.js";import{a1 as r}from"./164ad2e3.DgUUtBtV.js";import{O as n,ae as a}from"./4c290a1e.D9lE9kmU.js";var o=(t=>(t.Light="LIGHT",t.Dark="DARK",t))(o||{});const s=[90,49,244],u=[255,255,255];function i(t){const e=t.map((t=>{const e=t/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}));return.2126*e[0]+.7152*e[1]+.0722*e[2]}function c(t,e){const r=i(t),n=i(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function m(t){let e=t,r="rgba(255, 255, 255, 1)";for(;e;){const t=getComputedStyle(e).backgroundColor;if(t){const e=l(t);if(e[3]&&e[3]>.1){r=t;break}}e=e.parentElement}return r}function f(t){let e=u;if(t.startsWith("#"))e=function(t){let e=0,r=0,n=0;return 4===t.length?(e=Number(`0x${t[1]}${t[1]}`),r=Number(`0x${t[2]}${t[2]}`),n=Number(`0x${t[3]}${t[3]}`)):7===t.length&&(e=Number(`0x${t[1]}${t[2]}`),r=Number(`0x${t[3]}${t[4]}`),n=Number(`0x${t[5]}${t[6]}`)),[e,r,n]}(t);else if(t.startsWith("rgb")&&(e=l(t),4===e.length&&e[3]<=.043&&e.slice(0,3).every((t=>0===t))))return o.Light;return c(e,s)>c(e,u)?o.Light:o.Dark}function l(t){const e=(t.match(/(\d+\.\d+|\d+)/g)||[]).map(Number);for(;e.length<4;)e.push(1);return e}const h=()=>{const{checkout:o}=n(),s=o.configuration.visibility.showAside,u=a(),i=r({base:!0,medium:!1}),c=t(s),m=t(i);return e((()=>!(c.value&&!m.value&&u.value)))};export{o as T,m as g,f as p,h as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.