const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_virtual_token-inspector-manifest-gx3dta5o.js","assets/rolldown-runtime-nx40z1zs.js","assets/entry.client-mpghtlrl.js"])))=>i.map(i=>d[i]);
try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9941d064-7f21-4ba8-8765-19e8f51a2a94`,e._sentryDebugIdIdentifier=`sentry-dbid-9941d064-7f21-4ba8-8765-19e8f51a2a94`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import{Lh as e}from"./entry.client-mpghtlrl.js";var t=new Map,n=new Map,r=!1,i=null;function a(){return r?Promise.resolve():i||(i=(async()=>{try{let i=await e(()=>import(`./_virtual_token-inspector-manifest-gx3dta5o.js`),__vite__mapDeps([0,1,2]));n=new Map(Object.entries(i.originalToMinified)),t=new Map;for(let[e,r]of n)t.has(r)||t.set(r,e);r=!0}catch(e){console.warn(`[TokenInspector] Failed to load minification manifest; falling back to pass-through (minified names will be shown as-is and overrides may not apply).`,e),i=null}})(),i)}var o=/var\((--V[A-Z0-9]+)/,s=/var\((--VariableID-[\d-]+)/,c=/^--V[A-Z0-9]+$/;function l(e){return e.startsWith(`--`)?e.slice(2):e}var u={resolveCssVar(e){let n=t.get(l(e));return{canonicalVar:n?`--${n}`:e,semanticHint:null}},toRuntimeVar(e){let t=n.get(l(e));return!t&&c.test(e)?e:t?`--${t}`:e},shouldScanRule(e){return e.includes(`--V`)||e.includes(`VariableID`)},extractVarId(e){let n=o.exec(e);if(n){let e=t.get(l(n[1]));return e?.startsWith(`VariableID-`)?`--${e}`:n[1]}return s.exec(e)?.[1]},getFallbackVarValue(e,t){return null},inferOriginFallback(e){return c.test(e)?`xds`:null}};export{a as initProdAdapter,u as prodTokenAdapter};