PageSourceSearch

https://uni8.ai/build/_shared/chunk-KB32KYM6.js

js uni8.ai collected 2026-10-05 13:48:33 UTC 1,579 bytes, 7 lines download raw bytes

1import{a as c,c as m,d as a,e as s}from"/build/_shared/chunk-JVTGCX3W.js";var h=/^[A-Za-z0-9\-\s"'\,]+$/;function u(r){if(!r)return;let o=r.trim();if(!(o.length===0||o.length>64))return h.test(o)?o:void 0}var p="blue",y="222.2 47.4% 11.2%",f="210 40% 98%";function T(r){let o=r?.primaryColor||p,e=c(o),t=s(o)?y:f,n=a(o);return{"--primary":e,"--primary-foreground":t,"--ring":e,"--color-primary-50":n[50],"--color-primary-100":n[100],"--color-primary-200":n[200],"--color-primary-300":n[300],"--color-primary-400":n[400],"--color-primary-500":n[500],"--color-primary-600":n[600],"--color-primary-700":n[700],"--color-primary-800":n[800],"--color-primary-900":n[900],"--color-primary-950":n[950]}}function R(r){let e={...T(r)};if(r?.secondaryColor){let l=c(r.secondaryColor),d=s(r.secondaryColor)?y:f;e["--secondary"]=l,e["--secondary-foreground"]=d;let g=a(r.secondaryColor);for(let i of m)e[`--color-secondary-${i}`]=g[i]}if(r?.accentColor){let l=c(r.accentColor),d=s(r.accentColor)?y:f;e["--accent"]=l,e["--accent-foreground"]=d;let g=a(r.accentColor);for(let i of m)e[`--color-accent-${i}`]=g[i]}let t=u(r?.font),n=u(r?.headingFont)??t;return t&&(e["--font-body"]=t),n&&(e["--font-heading"]=n),e}var b=["community-login","community-register"];function V(r){if(!r.startsWith("/app/"))return!1;let o=r.split("/")[3]??"";return!b.includes(o)}function E(){return T({primaryColor:p})}function O(r){let e=Object.entries(r).filter(([,t])=>t!==void 0).map(([t,n])=>`  ${t}: ${n} !important;`).join(`
2`);return`:root {
3${e}
4}
5.dark {
6${e}
7}`}export{T as a,R as b,V as c,E as d,O as e};

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.