@webority/repo-checks 0.157.0 → 0.158.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,7 @@ fi
90
90
  `),lineAt:e=>{let t=0,n=a.length-1;for(;t<=n;){let r=t+n>>1,i=a[r];if(i===void 0)throw RangeError(`line start ${r} is missing`);i<=e?t=r+1:n=r-1}return n+1}}}function gi(e){let t=e.trim();if(t===`*`)return[{name:`*`,local:`*`}];let n=[],r=t.match(/\*\s+as\s+([\w$]+)/);if(r){let e=r[1];if(e===void 0)throw TypeError(`namespace import has no local name`);n.push({name:`*`,local:e})}let i=t.match(/\{([^}]*)\}/);if(i){let e=i[1];if(e===void 0)throw TypeError(`named import clause has no body`);for(let t of e.split(`,`)){let e=t.trim().replace(/^type\s+/,``).match(/^([\w$]+)(?:\s+as\s+([\w$]+))?$/);if(e){let t=e[1];if(t===void 0)throw TypeError(`import specifier has no name`);n.push({name:t,local:e[2]??t})}}}let a=t.replace(/\{[^}]*\}/,``).replace(/\*\s+as\s+[\w$]+/,``).replace(/,/g,``).trim();return/^[\w$]+$/.test(a)&&n.push({name:`default`,local:a}),n}function D(e){let t=[],n=(n,r,i,a)=>t.push({kind:r,specifier:i,imported:a,line:e.lineAt(n)});for(let t of e.blanked.matchAll(si)){let[,e,r]=t;if(e===void 0||r===void 0)throw TypeError(`import match lost a group`);n(t.index,`import`,r,gi(e))}for(let t of e.blanked.matchAll(ci)){let[,e]=t;if(e===void 0)throw TypeError(`bare import match lost a group`);n(t.index,`import`,e,[])}for(let t of e.blanked.matchAll(li)){let[,e,r]=t;if(e===void 0||r===void 0)throw TypeError(`export-from match lost a group`);n(t.index,`export-from`,r,gi(e))}for(let t of e.blanked.matchAll(ui)){let[,e]=t;if(e===void 0)throw TypeError(`require match lost a group`);n(t.index,`require`,e,[])}for(let t of e.blanked.matchAll(di)){let[,e]=t;if(e===void 0)throw TypeError(`dynamic import match lost a group`);n(t.index,`dynamic`,e,[])}return t.sort((e,t)=>e.line-t.line)}function _i(e,t,n){let r;if(n.startsWith(`@/`))r=`src/${n.slice(2)}`;else if(n.startsWith(`.`))r=p.normalize(p.join(p.dirname(t),n));else return null;for(let t of ai)if(e.has(r+t))return r+t;return null}function O(e,t,n){let r=[];t.lines.forEach((t,n)=>{let i=oi.exec(t);i&&i[1]===e&&r.push({line:n+1,reason:(i[2]??``).trim()})});let i=new Set(r.filter(e=>e.reason!==``).map(e=>e.line)),a=n.filter(e=>!(i.has(e.line-1)||e.line===1&&i.has(1))).map(n=>({rule:e,file:t.file,line:n.line,message:n.message,...n.note?{note:!0}:{}}));for(let n of r)n.reason===``&&a.push({rule:e,file:t.file,line:n.line,message:`layering-allow needs a reason`});return a}function k(e){return[...e].sort((e,t)=>e.file===t.file?e.line===t.line?e.message===t.message?0:e.message<t.message?-1:1:e.line-t.line:e.file<t.file?-1:1)}var vi=/^src\/screens\/(public|user)\/([^/]+)\/.+/;function yi(e){let t=vi.exec(e);return t?`${t[1]}/${t[2]}`:null}function bi(e,t){let n=T(t),r=new Set(n),i=[];for(let t of n){let n=yi(t);if(n===null)continue;let a=E(e,t),o=[];for(let e of D(a)){let i=_i(r,t,e.specifier),a=i===null?null:yi(i);a!==null&&a!==n&&o.push({line:e.line,message:`imports ${i} from another screen area. react-native.md: a part two areas use lives in src/components/<area>/ or src/components/shared/.`})}i.push(...O(`cross-feature-import`,a,o))}return k(i)}var xi=/* @__PURE__ */ new Set([`assets`,`components`,`constants`,`hooks`,`navigation`,`redux`,`screens`,`services`,`standards`,`types`,`utils`]),Si=/\.(?:js|jsx|ts|tsx)$/,Ci=/^src\/screens\/(?:public\/.+|user\/[^/]+\/.+)$/,wi=/[A-Za-z0-9]Screen\.(?:js|jsx|ts|tsx)$/,Ti=/^src\/screens\/index\.(?:js|ts)$/,Ei=/^src\/assets\/theme\/settings\.(?:js|ts|tsx)$/,Di=[`.js`,`.ts`,`.tsx`,`.jsx`],Oi={folder:`a top-level folder of src is one of assets, components, constants, hooks, navigation, redux, screens, services, standards, types, utils`,screenHome:`a screen file lives in src/screens/public/ or src/screens/user/<area>/`,suffix:`a screen is named without a Screen suffix`,theme:`src/assets/theme holds only its settings file`,types:`src/types holds only ambient .d.ts declaration files`,tsconfig:`an app has a tsconfig.json at its root`},ki=(e,t)=>`${e}: react-native.md App layout: ${t}.`;function Ai(e,t){let n=/* @__PURE__ */ new Set,r=/* @__PURE__ */ new Map,i=(e,t)=>{let n=r.get(e);n===void 0&&(n=[],r.set(e,n)),n.push({line:1,message:ki(e,t)})};for(let e of t){let t=e.split(`/`);if(t[0]!==`src`||t.some(e=>e===`node_modules`||e===`generated`||e===`__tests__`))continue;let r=t[1];t.length>2&&r!==void 0&&!xi.has(r)&&n.add(r),e.startsWith(`src/screens/`)&&Si.test(e)&&(!Ti.test(e)&&!Ci.test(e)&&i(e,Oi.screenHome),wi.test(e)&&i(e,Oi.suffix)),e.startsWith(`src/assets/theme/`)&&!Ei.test(e)&&i(e,Oi.theme),e.startsWith(`src/types/`)&&!e.endsWith(`.d.ts`)&&i(e,Oi.types)}let a=[];t.includes(`tsconfig.json`)||a.push({rule:`folder-layout`,file:`tsconfig.json`,line:1,message:ki(`tsconfig.json`,Oi.tsconfig)});for(let[t,n]of r)hi(t)?a.push(...O(`folder-layout`,E(e,t),n)):a.push(...n.map(e=>({rule:`folder-layout`,file:t,line:e.line,message:e.message})));for(let r of n){let n={rule:`folder-layout`,file:`src/${r}`,line:1,message:ki(`src/${r}`,Oi.folder)},i=Di.map(e=>`src/${r}/index${e}`).find(e=>t.includes(e));if(i===void 0)a.push(n);else for(let t of O(`folder-layout`,E(e,i),[{line:1,message:n.message}]))a.push(t.message===n.message?n:t)}return k(a)}function ji(e,t){let n=T(t),r=pi(n),i=new Set(n),a=[];for(let t of n){if(t.startsWith(`src/screens/`)||t.startsWith(`src/navigation/`))continue;let n=E(e,t),o=[];for(let e of D(n)){let n=_i(i,t,e.specifier);n?.startsWith(`src/screens/`)&&n!==r&&o.push({line:e.line,message:`imports a screen folder from outside src/screens. react-native.md: hooks, utils and components never import screens.`})}a.push(...O(`import-into-screens`,n,o))}return k(a)}var Mi=`@webority/mobile-ui`,Ni=40,Pi=/\{\s*\.\.\.(?:props|rest)\s*\}/,Fi=[`lib/typescript/module/components/index.d.ts`,`lib/typescript/module/index.d.ts`],Ii=e=>`wraps mobile-ui ${e}. react-native.md: no restyle or pass-through wrapper; use ${e} directly, put house defaults in theme settings.`;function Li(e){let n=/* @__PURE__ */ new Set;for(let i of Fi){let a=d(e,`node_modules`,`@webority`,`mobile-ui`,i);if(t(a))for(let e of r(a,`utf8`).matchAll(/export\s+(?!type\b)\{([^}]*)\}\s*from/g)){let t=e[1];if(t===void 0)throw TypeError(`export clause has no body`);for(let e of t.split(`,`)){let t=e.trim().split(/\s+as\s+/).pop();if(t===void 0)throw RangeError(`split always yields a part`);/^[\w$]+$/.test(t)&&n.add(t)}}}return n}function Ri(e){let t=/* @__PURE__ */ new Set;/\bexport\s+default\b/.test(e)&&t.add(`default`);for(let n of e.matchAll(/\bexport\s+(?:const|let|var|function\*?|class)\s+([A-Z][\w$]*)/g)){let e=n[1];if(e===void 0)throw TypeError(`export declaration has no name`);t.add(e)}for(let n of e.matchAll(/\bexport\s*\{([^}]*)\}/g)){let e=n[1];if(e===void 0)throw TypeError(`export clause has no body`);for(let n of e.split(`,`)){let e=n.trim().split(/\s+as\s+/).pop();if(e===void 0)throw RangeError(`split always yields a part`);(e==="default"||/^[A-Z][\w$]*$/.test(e))&&t.add(e)}}return t.size}function zi(e,t){let n=0;for(let r=t;r<e.length;r++){let i=e[r];if(i===`{`)n++;else if(i===`}`)n--;else if(i===`>`&&n===0)return e.slice(t,r+1)}return e.slice(t)}function Bi(e){if(mi(e.text)>Ni)return null;let t=/* @__PURE__ */ new Set;for(let n of D(e))if(!(n.kind!==`import`||n.specifier!==Mi&&!n.specifier.startsWith(`${Mi}/`)))for(let{name:e,local:r}of n.imported)e!==`*`&&t.add(r);if(t.size===0||Ri(e.blanked)!==1)return null;for(let n of e.blanked.matchAll(/(?:=>|\breturn)\s*\(?\s*<([A-Z][\w$]*)/g)){let r=n[1];if(r===void 0)throw TypeError(`component tag has no name`);if(!t.has(r))continue;let i=n.index+n[0].length-r.length-1;if(Pi.test(zi(e.blanked,i)))return{name:r,line:e.lineAt(i)}}return null}function Vi(e,t){let n=Li(e),r=[];for(let i of T(t)){if(!i.startsWith(`src/`))continue;let t=E(e,i),a=[],o=/^App([A-Z][A-Za-z0-9]*)\.[jt]sx?$/.exec(c(i))?.[1];if(o&&n.has(o))a.push({line:1,message:Ii(o)});else{let e=Bi(t);e&&a.push({line:e.line,message:Ii(e.name)})}r.push(...O(`library-wrapper`,t,a))}return k(r)}var Hi=`@webority/mobile-ui`,Ui=/* @__PURE__ */ new Set([`makeStyles`,`useTheme`,`ThemeProvider`]),Wi=/* @__PURE__ */ new Set([`COLORS`,`PALETTE`,`LIGHT_COLORS`,`DARK_COLORS`,`commonStyles`,`FONT_SIZE`,`Responsive`]),Gi=/\bexport\s+(?:const|let|var|function\*?|class)\s+([A-Za-z_$][\w$]*)/g,Ki=/\bexport\s*\{([^}]*)\}/g,qi=e=>`local theme ${e}. react-native.md: the library owns the theme; the app supplies brand and settings only.`;function Ji(e,t){let n=[];for(let r of T(t)){if(!r.startsWith(`src/`))continue;let t=E(e,r),i=[];for(let e of D(t))if(!(e.kind!==`import`||e.specifier===Hi||e.specifier.startsWith(`${Hi}/`)))for(let{name:t,local:n}of e.imported){let r=t==="default"?n:t;Ui.has(r)&&i.push({line:e.line,message:qi(r)})}for(let e of t.blanked.matchAll(Gi)){let n=e[1];if(n===void 0)throw TypeError(`export declaration has no name`);Wi.has(n)&&i.push({line:t.lineAt(e.index),message:qi(n)})}for(let e of t.blanked.matchAll(Ki)){let n=e[1];if(n===void 0)throw TypeError(`export clause has no body`);for(let r of n.split(`,`)){let n=r.trim().split(/\s+as\s+/).pop();if(n===void 0)throw RangeError(`split always yields a part`);Wi.has(n)&&i.push({line:t.lineAt(e.index),message:qi(n)})}}n.push(...O(`local-theme`,t,i))}return k(n)}var Yi=/^(?:workspace:|file:|link:)/;function Xi(e){let t=d(e,`package.json`),n,i;try{n=r(t,`utf8`),i=JSON.parse(n)}catch{return[]}let a={...i.dependencies,...i.devDependencies},o=Object.keys(a).filter(e=>e.startsWith(`@webority/mobile-`)||e===`@webority/biome-config`).filter(e=>!Yi.test(String(a[e]))).sort().map(e=>[e,String(a[e]).replace(/^[\^~]/,``)]),s=o[0],c=s?o.find(([,e])=>e!==s[1]):void 0;if(!s||!c)return[];let l=n.split(`
91
91
  `).findIndex(e=>e.includes(`"${s[0]}"`));return[{rule:`mobile-pins-lockstep`,file:`package.json`,line:l===-1?1:l+1,message:`pins ${s[0]}@${s[1]} and ${c[0]}@${c[1]}. react-native.md: the phone packages move together.`}]}var Zi=/* @__PURE__ */ new Set([`Text`,`TextInput`,`Pressable`,`TouchableOpacity`,`TouchableHighlight`,`TouchableWithoutFeedback`,`ActivityIndicator`,`Modal`,`Switch`,`Button`]),Qi=e=>`${e} from react-native in a screen or product component. react-native.md: use the mobile-ui part (Text, Input, Button, Card onPress, Spinner, Modal, Switch); mark a deliberate use with // layering-allow raw-primitive: <reason>.`;function $i(e,t){let n=[];for(let r of T(t)){if(!r.startsWith(`src/screens/`)&&!r.startsWith(`src/components/`))continue;let t=E(e,r),i=/* @__PURE__ */ new Set;for(let e of D(t))if(e.kind===`import`&&e.specifier===`react-native`)for(let{name:t,local:n}of e.imported)Zi.has(t)&&i.add(n);let a=[];for(let e of i){let n=RegExp(`(?<![\\w$)\\]])<${e.replace(/\$/g,`\\$`)}(?![\\w$.-])`,`g`);for(let r of t.blanked.matchAll(n))a.push({line:t.lineAt(r.index),message:Qi(e)})}n.push(...O(`raw-primitive`,t,a))}return k(n)}function ea(e,t){let n=T(t),r=pi(n);if(r===null)return[];let i=new Set(n),a=/* @__PURE__ */ new Set;for(let t of D(E(e,r))){if(t.kind!==`export-from`)continue;let e=_i(i,r,t.specifier);e!==null&&a.add(e)}let o=[];for(let t of n){if(t===r||t.startsWith(`src/navigation/`))continue;let n=E(e,t),s=[];for(let e of D(n)){let n=_i(i,t,e.specifier);if(n!==null&&n!==t&&a.has(n)){let t=p.basename(n).replace(/\.[^.]+$/,``);s.push({line:e.line,message:`imports the route screen ${t}. react-native.md: share the form or part as a sibling file, never a screen.`})}}o.push(...O(`screen-imports-screen`,n,s))}return k(o)}var ta=400,na=600;function ra(e,t){let n=[];for(let r of T(t)){if(!r.startsWith(`src/screens/`))continue;let t=E(e,r),i=mi(t.text),a=i>ta?[{line:1,message:`${i} lines. react-native.md: split a screen over 400 lines; over 600 is a finding.`,note:i<=na}]:[];n.push(...O(`screen-length`,t,a))}return k(n)}var ia=/(?:^|\/)index\.[jt]sx?$/,aa=/\.(?:stories\.[jt]sx?|meta\.js)$/,oa=e=>e.startsWith(`src/screens/`)&&!ia.test(e),sa=e=>!ia.test(e)&&!aa.test(e),ca=e=>e.startsWith(`src/components/`)&&sa(e);function la(e,t){let n=T(t),r=new Set(n),i=/* @__PURE__ */ new Map,a=t=>{let n=i.get(t);if(n!==void 0)return n;let r=E(e,t);return i.set(t,r),r},o=/* @__PURE__ */ new Map;for(let e of n){if(!e.startsWith(`src/components/`)||!ia.test(e))continue;let t=/* @__PURE__ */ new Map,n=[];for(let i of D(a(e))){if(i.kind!==`export-from`)continue;let a=_i(r,e,i.specifier);if(a!==null)for(let{name:e,local:r}of i.imported)e===`*`&&r===`*`?n.push(a):t.set(r,a)}o.set(e,{named:t,star:n})}let s=(e,t)=>RegExp(`export\\s+(?:const|let|var|function\\*?|class)\\s+${t.replace(/\$/g,`\\$`)}\\b|export\\s*\\{[^}]*\\b${t.replace(/\$/g,`\\$`)}\\b`).test(a(e).blanked),c=/* @__PURE__ */ new Map,l=(e,t)=>{if(e===t||!sa(t))return;let n=c.get(e);n||(n=/* @__PURE__ */ new Set,c.set(e,n)),n.add(t)};for(let e of n)for(let t of D(a(e))){if(t.kind===`export-from`)continue;let n=_i(r,e,t.specifier);if(n===null)continue;let i=o.get(n);if(!i)l(n,e);else for(let{name:n}of t.imported){let t=i.named.get(n)??i.star.find(e=>s(e,n));t&&l(t,e)}}let u=e=>{let t=/* @__PURE__ */ new Set,n=/* @__PURE__ */ new Set([e]),r=[e];for(;r.length>0;){let e=r.pop();if(e===void 0)throw RangeError(`screensReached: pending is empty`);for(let i of c.get(e)??[])n.has(i)||(n.add(i),oa(i)?t.add(i):r.push(i))}return t},d=[];for(let e of n){if(!ca(e))continue;let t=c.get(e)?.size??0,n=t===0||t===1&&u(e).size===1?[{line:1,message:`${e} has ${t} importer(s). react-native.md: a part one screen uses lives beside that screen.`}]:[];d.push(...O(`shared-single-importer`,a(e),n))}return k(d)}var ua=/(?<![\w$.])Responsive\s*\.\s*(?:width|height|font)\s*\(/g,da=`scales by screen width. react-native.md: use theme.space and the text scale.`;function fa(e,t){let n=[];for(let r of T(t)){if(!r.startsWith(`src/`))continue;let t=E(e,r),i=[...t.blanked.matchAll(ua)].map(e=>({line:t.lineAt(e.index),message:da}));n.push(...O(`width-scaling`,t,i))}return k(n)}var pa=[$i,bi,ji,ea,la,Vi,ra,Xi,Ai,Ji,fa],ma=/* @__PURE__ */ new Set([`node_modules`,`android`,`ios`,`.git`]);function ha(e,t=``){let n=[];for(let r of i(d(e,t),{withFileTypes:!0})){if(ma.has(r.name))continue;let i=t?`${t}/${r.name}`:r.name;r.isDirectory()?n.push(...ha(e,i)):n.push(i)}return n}function ga(e){let t=ha(e).sort(),n=[];for(let r of pa.flatMap(n=>n(e,t))){let e=`${r.file}:${r.line} ${r.message}`;r.note?console.log(`note: ${e}`):n.push([`${r.rule}:${r.file}`,e])}return n}var _a=`@webority/mobile-`,va=/^(\d+)\.(\d+)\.(\d+)$/,ya=/^(\d+)\.(\d+)\.(\d+)/,ba=/^(?:workspace:|file:|link:)/;function xa(e,t){let n=t.exec(e);if(n)return[Number(n[1]),Number(n[2]),Number(n[3])]}function Sa(e,t){let[n,r,i]=e,[a,o,s]=t;return n===a?r===o?i<s:r<o:n<a}function Ca(e){let t;try{t=JSON.parse(r(d(e,`package.json`),`utf8`))}catch{return/* @__PURE__ */ new Map}if(typeof t!=`object`||!t)return/* @__PURE__ */ new Map;let n=new Map(Object.entries(t)),i=/* @__PURE__ */ new Map;for(let e of[`dependencies`,`devDependencies`]){let t=n.get(e);if(typeof t==`object`&&t)for(let[e,n]of Object.entries(t))i.set(e,n)}return i}function wa(e,t){let n=xa(t,va);if(!n)throw Error(`webority-repo-checks: phone library version "${t}" is not x.y.z.`);let r=Ca(e),i=[...r.keys()].filter(e=>e.startsWith(_a)).sort(),a=[];for(let e of i){let i=r.get(e);if(typeof i!=`string`||ba.test(i))continue;let o=xa(i.replace(/^[\^~]/,``),ya);o&&Sa(o,n)&&a.push([`mobile-library-pin:${e}`,`"${e}": "${i}" is behind the current phone library ${t}. Move every @webority/mobile-* pin to ${t} together. react-native.md: the phone packages move together.`])}return a}var Ta=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`.git`,`.gradle`,`Pods`,`DerivedData`]);function Ea(e,t){return i(e,{withFileTypes:!0}).flatMap(n=>n.isDirectory()?t.has(n.name)?[]:Ea(d(e,n.name),t):[d(e,n.name)])}var Da=e=>e.split(`\\`).join(`/`);function Oa(e,t){return e.replace(t,e=>e.replace(/[^\n]/g,` `))}function ka(e,t){return e.slice(0,t).split(`
92
92
  `).length}var Aa=/^MainActivity\.(?:kt|java)$/,ja=/\bsuper\.onCreate\(\s*(?!null\s*\))[^)]*\)/;function Ma(e){let n=d(e,`android`,`app`,`src`);if(!t(n))return[];let i=[];for(let t of Ea(n,Ta)){if(!Aa.test(c(t)))continue;let n=Oa(Oa(r(t,`utf8`),/\/\*[\s\S]*?\*\//g),/\/\/[^\n]*/g),a=ja.exec(n);if(!a)continue;let o=Da(m(e,t));i.push([`rn-mainactivity-oncreate-bundle:${o}`,`${o}:${ka(n,a.index)} passes a bundle to super.onCreate. react-native-toolchain.md → Android: super.onCreate(null): pass null, so Android does not restore stale Screen fragments after the OS kills the app, and register the splash screen before it.`])}return i}var Na=/EXPO_UPDATE_URL"[^>]*?\/(Staging|Development)"/,Pa=/<key>EXPO_UPDATE_URL<\/key>\s*<string>[^<]*\/(Staging|Development)<\/string>/,Fa=/^APP_ID=.*\.(staging|development)\s*$/m,Ia=/\/ota\/manifest\/\d+\/\d+\//;function La(e){let n=[{file:d(e,`android`,`app`,`src`,`main`,`AndroidManifest.xml`),pattern:Na,retired:!0},{file:d(e,`android`,`gradle.properties`),pattern:Fa,retired:!1}],r=d(e,`ios`);if(t(r))for(let e of Ea(r,Ta))c(e)===`Expo.plist`&&n.push({file:e,pattern:Pa,retired:!0});return n.filter(({file:e})=>t(e))}function Ra(e){let t=[];for(let{file:n,pattern:i,retired:a}of La(e)){let o=Da(m(e,n)),s=r(n,`utf8`),c=i.exec(s);if(c)t.push([`mobile-production-stamps:${o}`,`${o}:${ka(s,c.index)} carries ${c[1]} values from a mobile-tools prebuild. Run \`mobile-tools prebuild --env Production\` in the app folder before committing, so production builds never read the ${c[1]} update feed or app id.`]);else{let e=a?Ia.exec(s):null;e&&t.push([`mobile-production-stamps:${o}`,`${o}:${ka(s,e.index)} points over-the-air updates at the retired whole-number address. Set OTA_PROJECT_PUBLIC_ID and the platform's component public id in appsettings and run \`mobile-tools prebuild --env Production\` before committing.`])}}return t}var za=/^spa-host\..+\.json$/,Ba=/* @__PURE__ */ new Set([`web.config`,`staticwebapp.config.json`,`_headers`,`spa-host.json`]);function Va(e){let t=[];for(let n of Ea(e,/* @__PURE__ */ new Set([...Ta,`android`,`ios`]))){let i=c(n);if(!Ba.has(i)&&!za.test(i))continue;let a=Oa(r(n,`utf8`),/<!--[\s\S]*?-->/g).split(`
93
- `).findIndex(e=>/\bimmutable\b/i.test(e)&&/cache/i.test(e));if(a===-1)continue;let o=Da(m(e,n));t.push([`spa-host-immutable-assets:${o}`,`${o}:${a+1} sets a Cache-Control with immutable. react.md → SPA deploy artifacts: /assets/* is "public, max-age=31536000" without immutable, because immutable on a content-hashed URL can brick that URL in the browser cache across a bad deploy.`])}return t}var Ha=Object.freeze([`spa-host.json`,`spa-host.Development.json`,`spa-host.Staging.json`,`spa-host.Production.json`]),Ua=Object.freeze([`vite.config.ts`,`vite.config.mts`,`vite.config.js`,`vite.config.mjs`,`vite.config.cjs`]),Wa=/\.[cm]?js$/,Ga=/\btarget\s*:\s*(?:\[|["'](?:es\d|esnext|chrome|firefox|safari|edge|ios|node|modules|baseline))/;function Ka(e,t){let n=[e],r=e;for(;r!==t&&l(r)!==r;)r=l(r),n.push(r);return n}function qa(e,n){let i=[];Ka(e,n).some(e=>t(d(e,`.nvmrc`)))||i.push([`root-file:nvmrc`,`No .nvmrc in this folder or above it. react.md, Node: commit .nvmrc with the supported Node major.`]);for(let n of Ha)t(d(e,n))||i.push([`root-file:${n}`,`${n} is missing beside package.json. react.md, SPA deploy artifacts: a portal carries spa-host.json and one spa-host.<Environment>.json per environment, as the starter does.`]);let a=Ua.find(n=>t(d(e,n)));if(a===void 0)return i;Wa.test(a)&&i.push([`root-file:vite-config-ts`,`${a} is JavaScript. react.md, Language: rename it to vite.config.ts.`]);let o=r(d(e,a),`utf8`);return o.includes(`codeSplitting`)||i.push([`root-file:split-groups`,`${a} has no build.rolldownOptions.output.codeSplitting groups. react.md, Build: split the framework and the design system into their own $initial chunks, as the starter's vite.config.ts does.`]),Ga.test(o)&&i.push([`root-file:build-target`,`${a} sets a build target. react.md, Build: remove build.target and keep Vite's default.`]),i}var Ja=[[`eslint`,`react.md: Biome is the only lint and format tool`],[`@eslint/js`,`react.md: Biome is the only lint and format tool`],[`prettier`,`react.md: Biome is the only lint and format tool`],[`lint-staged`,`react.md: the shared pre-commit hook replaces lint-staged`]],Ya=[[`@typescript-eslint/`,`react.md: Biome is the only lint and format tool`],[`eslint-plugin-`,`react.md: Biome is the only lint and format tool`],[`eslint-config-`,`react.md: Biome is the only lint and format tool`],[`prettier-plugin-`,`react.md: Biome is the only lint and format tool`]],A=`bootstrap-ui.md: hard interactive components come from @webority/ui-react`,Xa=`react.md: Bootstrap 5.3.3 is the only UI framework`,Za=`react.md: dates format through Intl and the web-core formatters`,Qa=`react-native.md: retired; Intl and the mobile-core formatters`,$a={web:[...Ja,[`react-toastify`,`react.md: notifications are toast from @webority/ui-react`],[`downshift`,A],[`react-day-picker`,A],[`react-aria`,A],[`react-aria-components`,A],[`@webority/ui-elements`,`bootstrap-ui.md: products use the App* wrappers, and ui-react brings the elements itself`],[`crypto-js`,`react.md: stored tokens are never encrypted client-side`],[`tailwindcss`,Xa],[`antd`,Xa],[`styled-components`,`react.md: no CSS-in-JS`],[`bootstrap-icons`,`bootstrap-ui.md: icons are AppIcon from @webority/ui-react`],[`iconsax-react`,`ui-components.md: icons are AppIcon from @webority/ui-react`],[`moment`,Za],[`moment-timezone`,Za],[`dayjs`,Za],[`date-fns`,Za],[`react-router-dom`,`react.md: react-router 8 is one package; depend on react-router and import from "react-router" (react-router-dom was merged into it)`]],mobile:[...Ja,[`react-native-permissions`,`react-native.md: retired; each Expo module requests its own permission`],[`moment`,Qa],[`moment-timezone`,Qa],[`dayjs`,Qa],[`react-native-fast-image`,`react-native.md: retired; expo-image`],[`@d11/react-native-fast-image`,`react-native.md: retired; expo-image`],[`formik`,`react-native.md: retired; react-hook-form`],[`yup`,`react-native.md: retired; zod with zodResolver`],[`react-native-status-bar-height`,`react-native.md: retired; react-native-safe-area-context insets`],[`react-native-flash-message`,`react-native.md: retired; the mobile-ui toast`],[`react-native-toast-message`,`react-native.md: retired; the mobile-ui toast`],[`prop-types`,`react-native.md: retired; defaults in the parameter destructure`],[`@react-navigation/stack`,`react-native.md: retired; @react-navigation/native-stack`],[`react-native-version-check`,`react-native.md: retired; the server-driven minimum version`],[`@react-native-firebase/messaging`,`react-native.md: push is expo-notifications through mobile-core`],[`@notifee/react-native`,`react-native.md: push is expo-notifications through mobile-core`],[`patch-package`,`react-native-toolchain.md: patch with pnpm patch, never patch-package`]],demo:[]},eo={web:[...Ya,[`@mui/`,Xa],[`@chakra-ui/`,Xa],[`@emotion/`,`react.md: no CSS-in-JS`],[`@radix-ui/`,A],[`@react-aria/`,A]],mobile:[...Ya],demo:[]},to={web:[[`axios-retry`,`@webority/web-core`,`react.md: retry lives only in @webority/web-core`]],mobile:[[`axios-retry`,`@webority/mobile-core`,`react.md: retry lives only in @webority/mobile-core`]],demo:[]},no={web:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/web-core`,`react.md: clients, auth, errors and logging come from web-core`],[`@webority/ui-react`,`react.md: App* components come from the catalogue`],[`@webority/theme`,`bootstrap-ui.md: look and tokens come from the shared theme`],[`bootstrap`,`bootstrap-ui.md: Bootstrap 5.3.3 on every surface`],[`react-bootstrap`,`bootstrap-ui.md: react-bootstrap is a dependency from project init`],[`sass-embedded`,`react.md: the SCSS compiler is sass-embedded`]],mobile:[[`@biomejs/biome`,`react-native.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/mobile-core`,`react-native.md: apps consume the shared mobile library`],[`@webority/mobile-ui`,`react-native.md: apps consume the shared mobile library`],[`@react-native-firebase/app`,`react-native.md: Crashlytics in every app`],[`@react-native-firebase/crashlytics`,`react-native.md: Crashlytics in every app`]],demo:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`]]},ro=[`agentation`],io=[[`web-import-axios`,/(?:\bfrom\s*|\bimport\s*\(\s*|\brequire\s*\(\s*|^\s*import\s*)["']axios(?:\/[^"']*)?["']/m,`imports axios`,`react.md: HTTP goes through userClient and publicClient from @webority/web-core`],[`web-import-router`,/\bimport\s*\{[^}]*\b(?:BrowserRouter|Routes)\b[^}]*\}\s*from\s*["']react-router(?:-dom)?["']/,`imports BrowserRouter or Routes`,`react.md: routes are objects passed to createBrowserRouter and rendered by RouterProvider`],[`web-import-env-branch`,/\bimport\.meta\.env\.(?:DEV|PROD)\b/,`reads import.meta.env.DEV or PROD`,`react.md: branch on AppSettings.ENVIRONMENT; DEV and PROD only say which React build is bundled`]],ao=[[`web-import-axios-types`,/\b(?:import|export)\s+type\s[^;]*?\bfrom\s*["']axios(?:\/[^"']*)?["']/,`imports types from axios`,`react.md: import AxiosError, AxiosInstance, AxiosRequestConfig and AxiosResponse from @webority/web-core`]],oo=[[`@webority/theme`,`@webority/ui-react`,`@webority/support-react`,`@webority/web-core`,`@webority/biome-config`,`@webority/repo-checks`],[`@webority/mobile-core`,`@webority/mobile-ui`,`@webority/mobile-support`,`@webority/mobile-tools`]],so=`@webority/biome-config/biome.jsonc`,j=`@webority/biome-config`,co={react:[`Children`,`Fragment`,`Profiler`,`StrictMode`,`Suspense`],"react/jsx-runtime":[`Fragment`]},lo=/* @__PURE__ */ `AppAccordion.AppAccountSwitcher.AppActionIcon.AppAlert.AppAsyncBlock.AppAuthLayout.AppAvatar.AppAvatarGroup.AppBadge.AppBanner.AppBreadcrumbs.AppButton.AppButtonGroup.AppCalendar.AppCard.AppCarousel.AppCell.AppChart.AppChartCard.AppCheckbox.AppChip.AppChipGroup.AppChoiceCard.AppChoiceChip.AppCodeBlock.AppColorField.AppColumnMenu.AppCommandPalette.AppCommentThread.AppCompareTable.AppConfirmDialog.AppConsentBanner.AppContextMenu.AppCopyButton.AppCountryFlag.AppDashboardCell.AppDashboardGrid.AppDataTable.AppDatePicker.AppDateRangePicker.AppDescriptions.AppDetailPane.AppDrawer.AppDropZone.AppDropdown.AppDueDate.AppEmptyState.AppErrorBoundary.AppErrorSummary.AppFileAttachment.AppFilePicker.AppFileTiles.AppFileViewer.AppFilterBar.AppFloatingButton.AppFloatingDock.AppFormActions.AppFormRow.AppFormSection.AppHoverCard.AppIcon.AppImagePicker.AppInfoTip.AppInlineEdit.AppInput.AppInputGroup.AppKanban.AppKbd.AppKpiTile.AppLeadPopup.AppLightbox.AppLink.AppMarkdown.AppMentionInput.AppMeter.AppMetricStrip.AppModal.AppNavList.AppNavigationMenu.AppNotificationCenter.AppNumberInput.AppOnboardingChecklist.AppOrgTree.AppOtpInput.AppPageHeader.AppPhoneNumberInput.AppPopover.AppPricingCard.AppProgress.AppQrCode.AppRadio.AppRadioGroup.AppRating.AppRecordPager.AppRelativeTime.AppRepeater.AppRequiredMark.AppResizable.AppResizableHandle.AppResizablePanel.AppResourceCard.AppResult.AppRichText.AppRollingNumber.AppRouteError.AppScoreScale.AppScrollbar.AppSearch.AppSectionCallToAction.AppSectionFaq.AppSectionFeatures.AppSectionHero.AppSectionLeadCapture.AppSectionLogos.AppSectionPricing.AppSectionTestimonials.AppSegmented.AppSelect.AppSeoHead.AppShell.AppShortcutLegend.AppShowMore.AppSkeleton.AppSkeletonLines.AppSkeletonRows.AppSlider.AppSortableList.AppSparkline.AppSpinner.AppSplash.AppSplitButton.AppSplitView.AppStatusBadge.AppStepper.AppSwitch.AppTablePagination.AppTableToolbar.AppTabs.AppTextarea.AppThemeToggle.AppTimePicker.AppTimeline.AppToast.AppToolbar.AppTooltip.AppTour.AppTreeView.AppTruncate.AppUpdateBar.AppWhatsNew.AppWizard.AppWorkspaceSwitcher`.split(`.`),uo=[`lint`,`rn-mainactivity-oncreate-bundle`,`spa-host-immutable-assets`,`oversize`,`advisory`,`endpoint-name`,`api-call`,`api-thunk`,`build-typecheck`,`library-copy`,`mobile-library-pin`,`root-file`,`web-folder`,`web-import-axios-types`,`tracking-plan`];function fo(e,t=process.env){let n=String(t.REPO_CHECKS_ENFORCE??``).split(`,`).map(e=>e.trim()).filter(Boolean);return!uo.includes(e)||n.includes(`all`)||n.includes(e)}var po={version:`0.89.0`,css:{rename:[[`--color-primary-text`,`--color-on-primary`],[`--color-primary-ink`,`--color-primary-text`],[`--color-primary-hover-text`,`--color-on-primary`],[`--color-on-primary-ink`,`--color-on-primary`],[`--color-border-light`,`--color-border-subtle`],[`--color-focus-border`,`--color-field-border-focus`],[`--color-success-active`,`--color-success-pressed`],[`--color-success-10`,`--color-success-soft`],[`--color-success-30`,`--color-success-border`],[`--color-warning-active`,`--color-warning-pressed`],[`--color-warning-10`,`--color-warning-soft`],[`--color-warning-30`,`--color-warning-border`],[`--color-danger-active`,`--color-danger-pressed`],[`--color-danger-10`,`--color-danger-soft`],[`--color-danger-30`,`--color-danger-border`],[`--color-info-active`,`--color-info-pressed`],[`--color-info-10`,`--color-info-soft`],[`--color-info-30`,`--color-info-border`],[`--color-accent`,`--color-warning`],[`--color-accent-soft`,`--color-warning-soft`],[`--color-close-filter`,`--wui-close-filter`],[`--color-pressed-overlay`,`--wui-pressed-overlay`],[`--wui-chart-grid`,`--color-chart-grid`],[`--wui-chart-axis`,`--color-chart-axis`],[`--wui-chart-label`,`--color-chart-label`],[`--wui-shadow-overlay`,`--wui-shadow-popover`],[`--wui-shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-overlay`,`--wui-shadow-popover`],[`--shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-sm`,`--wui-shadow-card`],[`--shadow-md`,`--wui-shadow-card`],[`--shadow-lg`,`--wui-shadow-card`],[`--wui-shadow-card-lifted`,`--wui-card-shadow-lifted`],[`--wui-shadow-card-lifted-hover`,`--wui-card-shadow-lifted-hover`],[`--wui-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-shadow-thumb-hover`,`--wui-thumb-shadow-hover`],[`--radius-sm`,`--wui-radius-sm`],[`--radius`,`--wui-radius-md`],[`--radius-lg`,`--wui-radius-lg`],[`--radius-xl`,`--wui-radius-xl`],[`--wui-radius`,`--wui-radius-md`],[`--wui-control-height-sm`,`--wui-control-sm`],[`--wui-control-height`,`--wui-control-md`],[`--wui-control-height-lg`,`--wui-control-lg`],[`--wui-field-radius-sm`,`--wui-field-sm-radius`],[`--wui-field-radius`,`--wui-field-md-radius`],[`--wui-field-radius-lg`,`--wui-field-lg-radius`],[`--wui-ease-out-quart`,`--wui-ease-out`],[`--wui-font-body`,`--wui-font-ui`],[`--font-sans`,`--wui-font-ui`],[`--wui-fs-smb`,`--wui-fs-sm`],[`--wui-fs-48`,`--wui-fs-4xl`],[`--wui-fs-64`,`--wui-fs-5xl`]],reads:[[`--wui-chart-1`,`--color-chart-1`],[`--wui-chart-2`,`--color-chart-2`],[`--wui-chart-3`,`--color-chart-3`],[`--wui-chart-4`,`--color-chart-4`],[`--wui-chart-5`,`--color-chart-5`],[`--wui-chart-6`,`--color-chart-6`],[`--wui-chart-7`,`--color-chart-7`],[`--wui-chart-8`,`--color-chart-8`],[`--wui-chart-seq-0`,`--color-chart-seq-0`],[`--wui-chart-seq-1`,`--color-chart-seq-1`],[`--wui-chart-seq-2`,`--color-chart-seq-2`],[`--wui-chart-seq-3`,`--color-chart-seq-3`],[`--wui-chart-seq-4`,`--color-chart-seq-4`],[`--wui-chart-seq-5`,`--color-chart-seq-5`],[`--wui-chart-seq-6`,`--color-chart-seq-6`],[`--wui-chart-diverging-low`,`--color-chart-diverging-low`],[`--wui-chart-diverging-mid`,`--color-chart-diverging-mid`],[`--wui-chart-diverging-high`,`--color-chart-diverging-high`],[`--wui-chart-neutral`,`--color-chart-neutral`],[`--wui-dark-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-dark-shadow-thumb-hover`,`--wui-thumb-shadow-hover`]],choose:{"--color-on-status-fill":`Use the ink of the fill's tone: --color-on-success, --color-on-warning, --color-on-danger or --color-on-info.`,"--color-on-status-strong":`Use the ink of the strong fill's tone: --color-on-success-strong, --color-on-warning-strong, --color-on-danger-strong or --color-on-info-strong.`,"--color-success-5":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-20":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-50":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-warning-5":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-20":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-50":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-danger-5":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-20":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-50":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-info-5":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-20":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-50":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`},checkRole:[`--wui-shadow-popover`,`--wui-shadow-modal`],ownable:[`--color-accent`,`--color-accent-soft`,`--shadow-overlay`,`--shadow-overlay-lg`,`--shadow-sm`,`--shadow-md`,`--shadow-lg`,`--radius-sm`,`--radius`,`--radius-lg`,`--radius-xl`,`--font-sans`]},themeReads:[{kind:`path`,from:`colors.primaryHover`,to:`colors.primary-hover`},{kind:`path`,from:`colors.primaryPressed`,to:`colors.primary-pressed`},{kind:`path`,from:`colors.primaryMuted`,to:`colors.primary-soft`},{kind:`path`,from:`colors.secondaryHover`,to:`colors.neutral-hover`},{kind:`path`,from:`colors.secondary`,to:`colors.neutral`},{kind:`path`,from:`colors.error`,to:`colors.danger`},{kind:`path`,from:`colors.onPrimary`,to:`colors.on-primary`},{kind:`path`,from:`colors.onNeutral`,to:`colors.on-neutral-strong`},{kind:`path`,from:`colors.onSecondary`,to:`colors.on-neutral`},{kind:`path`,from:`colors.onSuccess`,to:`colors.on-success`},{kind:`path`,from:`colors.onWarning`,to:`colors.on-warning`},{kind:`path`,from:`colors.onError`,to:`colors.on-danger`},{kind:`path`,from:`colors.onInfo`,to:`colors.on-info`},{kind:`path`,from:`colors.onOverlay`,to:`colors.on-scrim`},{kind:`path`,from:`colors.toneText.primary`,to:`colors.primary-text`},{kind:`path`,from:`colors.toneText.success`,to:`colors.success-text`},{kind:`path`,from:`colors.toneText.warning`,to:`colors.warning-text`},{kind:`path`,from:`colors.toneText.error`,to:`colors.danger-text`},{kind:`path`,from:`colors.toneText.info`,to:`colors.info-text`},{kind:`path`,from:`colors.text.primary`,to:`colors.text-body`},{kind:`path`,from:`colors.text.secondary`,to:`colors.text-muted`},{kind:`path`,from:`colors.text.tertiary`,to:`colors.text-subtle`},{kind:`path`,from:`colors.text.inverse`,to:`colors.text-inverse`},{kind:`path`,from:`colors.text.strong`,to:`colors.text`},{kind:`path`,from:`colors.text.disabled`,to:`colors.text-disabled`},{kind:`path`,from:`colors.text.link`,to:`colors.link`},{kind:`path`,from:`colors.background.primary`,to:`colors.bg`},{kind:`path`,from:`colors.background.secondary`,to:`colors.bg-subtle`},{kind:`path`,from:`colors.background.tertiary`,to:`colors.bg-muted`},{kind:`path`,from:`colors.background.elevated`,to:`colors.surface`},{kind:`path`,from:`colors.background.overlay`,to:`colors.scrim`},{kind:`path`,from:`colors.background.inverse`,to:`colors.surface-inverse`},{kind:`path`,from:`colors.border.primary`,to:`colors.border`},{kind:`path`,from:`colors.border.secondary`,to:`colors.border-subtle`},{kind:`path`,from:`colors.border.focus`,to:`colors.focus-ring`},{kind:`path`,from:`colors.border.error`,to:`colors.danger-border`},{kind:`path`,from:`colors.border.width`,to:`size.border`},{kind:`path`,from:`colors.field.backgroundFocused`,to:`colors.field-bg-focus`},{kind:`path`,from:`colors.field.backgroundDisabled`,to:`colors.field-bg-disabled`},{kind:`path`,from:`colors.field.background`,to:`colors.field-bg`},{kind:`path`,from:`colors.field.borderFocused`,to:`colors.field-border-focus`},{kind:`path`,from:`colors.field.borderError`,to:`colors.field-border-error`},{kind:`path`,from:`colors.field.border`,to:`colors.field-border`},{kind:`path`,from:`colors.field.label`,to:`colors.field-label`},{kind:`path`,from:`colors.field.textDisabled`,to:`colors.field-text-disabled`},{kind:`path`,from:`colors.field.text`,to:`colors.field-text`},{kind:`path`,from:`colors.field.placeholderDisabled`,to:`colors.field-placeholder-disabled`},{kind:`path`,from:`colors.field.placeholder`,to:`colors.field-placeholder`},{kind:`path`,from:`colors.field.iconFocused`,to:`colors.field-icon-focus`},{kind:`path`,from:`colors.field.iconDisabled`,to:`colors.field-icon-disabled`},{kind:`path`,from:`colors.field.icon`,to:`colors.field-icon`},{kind:`path`,from:`colors.field.caret`,to:`colors.field-caret`},{kind:`path`,from:`colors.field.message`,to:`colors.field-message`},{kind:`path`,from:`colors.surface.pressed`,to:`colors.surface-pressed`},{kind:`path`,from:`colors.surface.hovered`,to:`colors.surface-hover`},{kind:`path`,from:`colors.surface.selected`,to:`colors.surface-selected`},{kind:`path`,from:`colors.surface.disabled`,to:`colors.surface-disabled`},{kind:`path`,from:`colors.glass.fill`,to:`colors.glass-fill`},{kind:`path`,from:`colors.glass.border`,to:`colors.glass-border`},{kind:`path`,from:`colors.glass.on`,to:`colors.on-glass`},{kind:`path`,from:`colors.glass.badge`,to:`colors.glass-badge`},{kind:`path`,from:`colors.skeleton.background`,to:`colors.skeleton`},{kind:`path`,from:`colors.skeleton.highlight`,to:`colors.skeleton-highlight`},{kind:`gone`,from:`colors.avatarPalette`,hint:"read colors[`avatar-${n}`] for n 1 to 8"},{kind:`path`,from:`typography.fontFamily.regular`,to:`font.ui.normal`},{kind:`path`,from:`typography.fontFamily.medium`,to:`font.ui.medium`},{kind:`path`,from:`typography.fontFamily.semibold`,to:`font.ui.semibold`},{kind:`path`,from:`typography.fontFamily.bold`,to:`font.ui.bold`},{kind:`gone`,from:`typography.fontFamily.display`,hint:`font.display is a face per weight: font.display.<weight>`},{kind:`prefix`,from:`typography.fontSize.`,to:`text.`},{kind:`prefix`,from:`typography.fontWeight.`,to:`weight.`},{kind:`prefix`,from:`typography.lineHeight.`,to:`leading.`},{kind:`prefix`,from:`typography.letterSpacing.`,to:`letter-spacing.`},{kind:`prefix`,from:`spacing.`,to:`space.`},{kind:`path`,from:`shadows.sm`,to:`shadow.card`},{kind:`path`,from:`shadows.md`,to:`shadow.elevated`},{kind:`path`,from:`shadows.lg`,to:`shadow.popover`},{kind:`path`,from:`shadows.xl`,to:`shadow.modal`},{kind:`gone`,from:`shadows.xs`,hint:`use shadow.card`},{kind:`gone`,from:`shadows.2xl`,hint:`use shadow.modal`},{kind:`gone`,from:`shadows.none`,hint:`omit the shadow`},{kind:`path`,from:`motion.duration.normal`,to:`motion.duration.default`},{kind:`path`,from:`motion.easing.standard`,to:`motion.ease.in-out`},{kind:`prefix`,from:`motion.easing.`,to:`motion.ease.`},{kind:`prefix`,from:`icons`,to:`settings.icons`},{kind:`prefix`,from:`gradients`,to:`settings.gradients`},{kind:`prefix`,from:`textVariants`,to:`settings.textVariants`},{kind:`path`,from:`maxFontSizeMultiplier`,to:`settings.maxFontSizeMultiplier`},{kind:`path`,from:`components.field.defaultVariant`,to:`settings.components.field.defaultVariant`},{kind:`path`,from:`components.field.requiredMarker`,to:`settings.components.field.requiredMarker`},{kind:`path`,from:`components.input.defaultVariant`,to:`settings.components.input.defaultVariant`},{kind:`path`,from:`components.input.defaultLabelMode`,to:`settings.components.input.defaultLabelMode`},{kind:`path`,from:`components.input.tintLabelOnFocus`,to:`settings.components.input.tintLabelOnFocus`},{kind:`path`,from:`components.input.shakeOnError`,to:`settings.components.input.shakeOnError`},{kind:`path`,from:`components.searchBar.defaultVariant`,to:`settings.components.search-bar.defaultVariant`},{kind:`path`,from:`components.select.defaultVariant`,to:`settings.components.select.defaultVariant`},{kind:`path`,from:`components.otpInput.shakeOnError`,to:`settings.components.otp-input.shakeOnError`},{kind:`path`,from:`components.optionSheet.selectedMarker`,to:`settings.components.option-sheet.selectedMarker`},{kind:`path`,from:`components.profilePicker.defaultTone`,to:`settings.components.profile-picker.defaultTone`},{kind:`path`,from:`components.profilePicker.defaultVariant`,to:`settings.components.profile-picker.defaultVariant`},{kind:`path`,from:`components.profilePicker.defaultAvatarTone`,to:`settings.components.profile-picker.defaultAvatarTone`},{kind:`path`,from:`components.slider.thumbPressAnimation`,to:`settings.components.slider.thumbPressAnimation`},{kind:`path`,from:`components.rating.pulseOnPress`,to:`settings.components.rating.pulseOnPress`},{kind:`path`,from:`components.stepper.pulseAnimation`,to:`settings.components.stepper.pulseAnimation`},{kind:`path`,from:`components.tooltip.enableScaleAnimation`,to:`settings.components.tooltip.enableScaleAnimation`},{kind:`path`,from:`components.toast.enableSwipeDismiss`,to:`settings.components.toast.enableSwipeDismiss`},{kind:`path`,from:`components.toast.defaultDurationMs`,to:`settings.components.toast.defaultDurationMs`},{kind:`gone`,from:`components.field.outlined`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.filled`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.underline`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.textColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.disabledTextColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.placeholderColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.fontWeight`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.requiredMarkerColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.input.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.handleColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.switch.thumbColor`,hint:`the thumb reads colors.thumb`},{kind:`gone`,from:`components.slider.thumbPressScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelShowDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeDismissThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackScaleStep`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackMinScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconCircleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonMarginLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.containerPaddingLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.textBlockPaddingRight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.formField.inlineLabelWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressDelayMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressIntervalMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateLoopDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.determinateAnimationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.animationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.strokeWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.trackColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.colorStops`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.rating.pulseScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomSheet.handleColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.selectedFillOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.thumbnailSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.dashedBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeIconColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.inlineSelect.color`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillMaxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillInset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.underlineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingMargin`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleLift`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.viewTransitionDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerPressDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerReleaseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.decadeRangeMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.hapticDebounceMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontSizeRatio`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.text`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontWeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.accordion.cardPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.sideSlotMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.collapseTranslateDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.subtitleMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.actionButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dividerWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgePaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.closeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.maxScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.minScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.doubleTapScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.modal.scaleStartValue`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.circleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.threshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.fullSwipeThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.rubberBandFactor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.failOffsetY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.haloWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.connectorGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.gap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.screenPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.pressAutoHideMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHalfWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowCornerPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.maxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.lineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.exitDurationMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.segmentedControl.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tabs.radius`,hint:`fixed in the library since 0.89.0`},{kind:`kebab`,under:`components`,names:{searchBar:`search-bar`,emptyState:`empty-state`,listItem:`list-item`,otpInput:`otp-input`,segmentedControl:`segmented-control`,floatingActionButton:`floating-action-button`}}],props:[{package:`@webority/mobile-ui`,props:[`tone`,`variant`],from:`error`,to:`danger`}],componentProps:[],propValues:[{package:`@webority/ui-react`,components:[`AppInput`,`AppSelect`,`AppCountrySelect`],prop:`floatingLabel`,true:`border`,false:`off`}],propSplits:[{package:`@webority/ui-react`,components:[`AppInput`],prop:`passwordRequirements`,on:`shown`,off:`off`,into:`passwordPolicy`}],razorAttributes:[{tags:[`app-input`,`app-select`,`app-country-select`],attribute:`floating-label`,values:{true:`border`,false:`off`}},{tags:[`app-input`],attribute:`password-requirements`,values:{true:`shown`,false:`off`}}]},mo=`--color-primary-text`,ho=new Set([...po.css.rename.map(([e])=>e),...po.css.reads.map(([e])=>e),...Object.keys(po.css.choose)].filter(e=>e!==mo)),go=RegExp(`(?<![\\w-])(${[...ho].join(`|`)})(?![\\w-])`,`g`),_o=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`out`,`bin`,`obj`,`.git`,`.next`,`coverage`]),vo=/* @__PURE__ */ new Set([`.css`,`.scss`,`.sass`,`.less`,`.js`,`.jsx`,`.ts`,`.tsx`,`.cshtml`,`.razor`,`.html`,`.vue`]),yo=(e,t)=>_o.has(e)||e===`lib`&&c(t)===`wwwroot`,bo=e=>vo.has(u(e).toLowerCase());function xo(e,t=[]){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?yo(n.name,e)||xo(r,t):bo(n.name)&&t.push(r)}return t}function So(e,t){for(let n=l(e);n.length>t.length;n=l(n))if(yo(c(n),l(n)))return!0;return!1}function Co(e){let n=v(`git`,[`ls-files`,`-z`,`--cached`,`--others`,`--exclude-standard`,`--`,`.`],{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout.split(`\0`).filter(e=>e&&bo(e)).map(t=>d(e,t.split(`/`).join(g))).filter(n=>!So(n,e)&&t(n)):xo(e)}function wo(e){let t=e.slice(0,3).join(`, `),n=e.length-3;return n>0?`${t} and ${n} more`:t}function To(e,t){let n=[];for(let i of Co(e)){let e=r(i,`utf8`),a=[],o=-1;for(let t of e.matchAll(go)){let e=t[1]??``;o<0&&(o=t.index),a.includes(e)||a.push(e)}if(a.length===0)continue;let s=m(t,i).split(`\\`).join(`/`),c=e.slice(0,o).split(`
93
+ `).findIndex(e=>/\bimmutable\b/i.test(e)&&/cache/i.test(e));if(a===-1)continue;let o=Da(m(e,n));t.push([`spa-host-immutable-assets:${o}`,`${o}:${a+1} sets a Cache-Control with immutable. react.md → SPA deploy artifacts: /assets/* is "public, max-age=31536000" without immutable, because immutable on a content-hashed URL can brick that URL in the browser cache across a bad deploy.`])}return t}var Ha=Object.freeze([`spa-host.json`,`spa-host.Development.json`,`spa-host.Staging.json`,`spa-host.Production.json`]),Ua=Object.freeze([`vite.config.ts`,`vite.config.mts`,`vite.config.js`,`vite.config.mjs`,`vite.config.cjs`]),Wa=/\.[cm]?js$/,Ga=/\btarget\s*:\s*(?:\[|["'](?:es\d|esnext|chrome|firefox|safari|edge|ios|node|modules|baseline))/;function Ka(e,t){let n=[e],r=e;for(;r!==t&&l(r)!==r;)r=l(r),n.push(r);return n}function qa(e,n){let i=[];Ka(e,n).some(e=>t(d(e,`.nvmrc`)))||i.push([`root-file:nvmrc`,`No .nvmrc in this folder or above it. react.md, Node: commit .nvmrc with the supported Node major.`]);for(let n of Ha)t(d(e,n))||i.push([`root-file:${n}`,`${n} is missing beside package.json. react.md, SPA deploy artifacts: a portal carries spa-host.json and one spa-host.<Environment>.json per environment, as the starter does.`]);let a=Ua.find(n=>t(d(e,n)));if(a===void 0)return i;Wa.test(a)&&i.push([`root-file:vite-config-ts`,`${a} is JavaScript. react.md, Language: rename it to vite.config.ts.`]);let o=r(d(e,a),`utf8`);return o.includes(`codeSplitting`)||i.push([`root-file:split-groups`,`${a} has no build.rolldownOptions.output.codeSplitting groups. react.md, Build: split the framework and the design system into their own $initial chunks, as the starter's vite.config.ts does.`]),Ga.test(o)&&i.push([`root-file:build-target`,`${a} sets a build target. react.md, Build: remove build.target and keep Vite's default.`]),i}var Ja=[[`eslint`,`react.md: Biome is the only lint and format tool`],[`@eslint/js`,`react.md: Biome is the only lint and format tool`],[`prettier`,`react.md: Biome is the only lint and format tool`],[`lint-staged`,`react.md: the shared pre-commit hook replaces lint-staged`]],Ya=[[`@typescript-eslint/`,`react.md: Biome is the only lint and format tool`],[`eslint-plugin-`,`react.md: Biome is the only lint and format tool`],[`eslint-config-`,`react.md: Biome is the only lint and format tool`],[`prettier-plugin-`,`react.md: Biome is the only lint and format tool`]],A=`bootstrap-ui.md: hard interactive components come from @webority/ui-react`,Xa=`react.md: Bootstrap 5.3.8 is the only UI framework`,Za=`react.md: dates format through Intl and the web-core formatters`,Qa=`react-native.md: retired; Intl and the mobile-core formatters`,$a={web:[...Ja,[`react-toastify`,`react.md: notifications are toast from @webority/ui-react`],[`downshift`,A],[`react-day-picker`,A],[`react-aria`,A],[`react-aria-components`,A],[`@webority/ui-elements`,`bootstrap-ui.md: products use the App* wrappers, and ui-react brings the elements itself`],[`crypto-js`,`react.md: stored tokens are never encrypted client-side`],[`tailwindcss`,Xa],[`antd`,Xa],[`styled-components`,`react.md: no CSS-in-JS`],[`bootstrap-icons`,`bootstrap-ui.md: icons are AppIcon from @webority/ui-react`],[`iconsax-react`,`ui-components.md: icons are AppIcon from @webority/ui-react`],[`moment`,Za],[`moment-timezone`,Za],[`dayjs`,Za],[`date-fns`,Za],[`react-router-dom`,`react.md: react-router 8 is one package; depend on react-router and import from "react-router" (react-router-dom was merged into it)`]],mobile:[...Ja,[`react-native-permissions`,`react-native.md: retired; each Expo module requests its own permission`],[`moment`,Qa],[`moment-timezone`,Qa],[`dayjs`,Qa],[`react-native-fast-image`,`react-native.md: retired; expo-image`],[`@d11/react-native-fast-image`,`react-native.md: retired; expo-image`],[`formik`,`react-native.md: retired; react-hook-form`],[`yup`,`react-native.md: retired; zod with zodResolver`],[`react-native-status-bar-height`,`react-native.md: retired; react-native-safe-area-context insets`],[`react-native-flash-message`,`react-native.md: retired; the mobile-ui toast`],[`react-native-toast-message`,`react-native.md: retired; the mobile-ui toast`],[`prop-types`,`react-native.md: retired; defaults in the parameter destructure`],[`@react-navigation/stack`,`react-native.md: retired; @react-navigation/native-stack`],[`react-native-version-check`,`react-native.md: retired; the server-driven minimum version`],[`@react-native-firebase/messaging`,`react-native.md: push is expo-notifications through mobile-core`],[`@notifee/react-native`,`react-native.md: push is expo-notifications through mobile-core`],[`patch-package`,`react-native-toolchain.md: patch with pnpm patch, never patch-package`]],demo:[]},eo={web:[...Ya,[`@mui/`,Xa],[`@chakra-ui/`,Xa],[`@emotion/`,`react.md: no CSS-in-JS`],[`@radix-ui/`,A],[`@react-aria/`,A]],mobile:[...Ya],demo:[]},to={web:[[`axios-retry`,`@webority/web-core`,`react.md: retry lives only in @webority/web-core`]],mobile:[[`axios-retry`,`@webority/mobile-core`,`react.md: retry lives only in @webority/mobile-core`]],demo:[]},no={web:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/web-core`,`react.md: clients, auth, errors and logging come from web-core`],[`@webority/ui-react`,`react.md: App* components come from the catalogue`],[`@webority/theme`,`bootstrap-ui.md: look and tokens come from the shared theme`],[`bootstrap`,`bootstrap-ui.md: Bootstrap 5.3.8 on every surface`],[`react-bootstrap`,`bootstrap-ui.md: react-bootstrap is a dependency from project init`],[`sass-embedded`,`react.md: the SCSS compiler is sass-embedded`]],mobile:[[`@biomejs/biome`,`react-native.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`],[`@webority/mobile-core`,`react-native.md: apps consume the shared mobile library`],[`@webority/mobile-ui`,`react-native.md: apps consume the shared mobile library`],[`@react-native-firebase/app`,`react-native.md: Crashlytics in every app`],[`@react-native-firebase/crashlytics`,`react-native.md: Crashlytics in every app`]],demo:[[`@biomejs/biome`,`react.md: Biome is mandatory`],[`@webority/biome-config`,`react.md: every repo extends the shared Biome preset`]]},ro=[`agentation`],io=[[`web-import-axios`,/(?:\bfrom\s*|\bimport\s*\(\s*|\brequire\s*\(\s*|^\s*import\s*)["']axios(?:\/[^"']*)?["']/m,`imports axios`,`react.md: HTTP goes through userClient and publicClient from @webority/web-core`],[`web-import-router`,/\bimport\s*\{[^}]*\b(?:BrowserRouter|Routes)\b[^}]*\}\s*from\s*["']react-router(?:-dom)?["']/,`imports BrowserRouter or Routes`,`react.md: routes are objects passed to createBrowserRouter and rendered by RouterProvider`],[`web-import-env-branch`,/\bimport\.meta\.env\.(?:DEV|PROD)\b/,`reads import.meta.env.DEV or PROD`,`react.md: branch on AppSettings.ENVIRONMENT; DEV and PROD only say which React build is bundled`]],ao=[[`web-import-axios-types`,/\b(?:import|export)\s+type\s[^;]*?\bfrom\s*["']axios(?:\/[^"']*)?["']/,`imports types from axios`,`react.md: import AxiosError, AxiosInstance, AxiosRequestConfig and AxiosResponse from @webority/web-core`]],oo=[[`@webority/theme`,`@webority/ui-react`,`@webority/support-react`,`@webority/web-core`,`@webority/biome-config`,`@webority/repo-checks`],[`@webority/mobile-core`,`@webority/mobile-ui`,`@webority/mobile-support`,`@webority/mobile-tools`]],so=`@webority/biome-config/biome.jsonc`,j=`@webority/biome-config`,co={react:[`Children`,`Fragment`,`Profiler`,`StrictMode`,`Suspense`],"react/jsx-runtime":[`Fragment`]},lo=/* @__PURE__ */ `AppAccordion.AppAccountSwitcher.AppActionIcon.AppAlert.AppAsyncBlock.AppAuthLayout.AppAvatar.AppAvatarGroup.AppBadge.AppBanner.AppBreadcrumbs.AppButton.AppButtonGroup.AppCalendar.AppCard.AppCarousel.AppCell.AppChart.AppChartCard.AppCheckbox.AppChip.AppChipGroup.AppChoiceCard.AppChoiceChip.AppCodeBlock.AppColorField.AppColumnMenu.AppCommandPalette.AppCommentThread.AppCompareTable.AppConfirmDialog.AppConsentBanner.AppContextMenu.AppCopyButton.AppCountryFlag.AppDashboardCell.AppDashboardGrid.AppDataTable.AppDatePicker.AppDateRangePicker.AppDescriptions.AppDetailPane.AppDrawer.AppDropZone.AppDropdown.AppDueDate.AppEmptyState.AppErrorBoundary.AppErrorSummary.AppFileAttachment.AppFilePicker.AppFileTiles.AppFileViewer.AppFilterBar.AppFloatingButton.AppFloatingDock.AppFormActions.AppFormRow.AppFormSection.AppHoverCard.AppIcon.AppImagePicker.AppInfoTip.AppInlineEdit.AppInput.AppInputGroup.AppKanban.AppKbd.AppKpiTile.AppLeadPopup.AppLightbox.AppLink.AppMarkdown.AppMentionInput.AppMeter.AppMetricStrip.AppModal.AppNavList.AppNavigationMenu.AppNotificationCenter.AppNumberInput.AppOnboardingChecklist.AppOrgTree.AppOtpInput.AppPageHeader.AppPhoneNumberInput.AppPopover.AppPricingCard.AppProgress.AppQrCode.AppRadio.AppRadioGroup.AppRating.AppRecordPager.AppRelativeTime.AppRepeater.AppRequiredMark.AppResizable.AppResizableHandle.AppResizablePanel.AppResourceCard.AppResult.AppRichText.AppRollingNumber.AppRouteError.AppScoreScale.AppScrollbar.AppSearch.AppSectionCallToAction.AppSectionFaq.AppSectionFeatures.AppSectionHero.AppSectionLeadCapture.AppSectionLogos.AppSectionPricing.AppSectionTestimonials.AppSegmented.AppSelect.AppSeoHead.AppShell.AppShortcutLegend.AppShowMore.AppSkeleton.AppSkeletonLines.AppSkeletonRows.AppSlider.AppSortableList.AppSparkline.AppSpinner.AppSplash.AppSplitButton.AppSplitView.AppStatusBadge.AppStepper.AppSwitch.AppTablePagination.AppTableToolbar.AppTabs.AppTextarea.AppThemeToggle.AppTimePicker.AppTimeline.AppToast.AppToolbar.AppTooltip.AppTour.AppTreeView.AppTruncate.AppUpdateBar.AppWhatsNew.AppWizard.AppWorkspaceSwitcher`.split(`.`),uo=[`lint`,`rn-mainactivity-oncreate-bundle`,`spa-host-immutable-assets`,`oversize`,`advisory`,`endpoint-name`,`api-call`,`api-thunk`,`build-typecheck`,`library-copy`,`mobile-library-pin`,`root-file`,`web-folder`,`web-import-axios-types`,`tracking-plan`];function fo(e,t=process.env){let n=String(t.REPO_CHECKS_ENFORCE??``).split(`,`).map(e=>e.trim()).filter(Boolean);return!uo.includes(e)||n.includes(`all`)||n.includes(e)}var po={version:`0.89.0`,css:{rename:[[`--color-primary-text`,`--color-on-primary`],[`--color-primary-ink`,`--color-primary-text`],[`--color-primary-hover-text`,`--color-on-primary`],[`--color-on-primary-ink`,`--color-on-primary`],[`--color-border-light`,`--color-border-subtle`],[`--color-focus-border`,`--color-field-border-focus`],[`--color-success-active`,`--color-success-pressed`],[`--color-success-10`,`--color-success-soft`],[`--color-success-30`,`--color-success-border`],[`--color-warning-active`,`--color-warning-pressed`],[`--color-warning-10`,`--color-warning-soft`],[`--color-warning-30`,`--color-warning-border`],[`--color-danger-active`,`--color-danger-pressed`],[`--color-danger-10`,`--color-danger-soft`],[`--color-danger-30`,`--color-danger-border`],[`--color-info-active`,`--color-info-pressed`],[`--color-info-10`,`--color-info-soft`],[`--color-info-30`,`--color-info-border`],[`--color-accent`,`--color-warning`],[`--color-accent-soft`,`--color-warning-soft`],[`--color-close-filter`,`--wui-close-filter`],[`--color-pressed-overlay`,`--wui-pressed-overlay`],[`--wui-chart-grid`,`--color-chart-grid`],[`--wui-chart-axis`,`--color-chart-axis`],[`--wui-chart-label`,`--color-chart-label`],[`--wui-shadow-overlay`,`--wui-shadow-popover`],[`--wui-shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-overlay`,`--wui-shadow-popover`],[`--shadow-overlay-lg`,`--wui-shadow-modal`],[`--shadow-sm`,`--wui-shadow-card`],[`--shadow-md`,`--wui-shadow-card`],[`--shadow-lg`,`--wui-shadow-card`],[`--wui-shadow-card-lifted`,`--wui-card-shadow-lifted`],[`--wui-shadow-card-lifted-hover`,`--wui-card-shadow-lifted-hover`],[`--wui-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-shadow-thumb-hover`,`--wui-thumb-shadow-hover`],[`--radius-sm`,`--wui-radius-sm`],[`--radius`,`--wui-radius-md`],[`--radius-lg`,`--wui-radius-lg`],[`--radius-xl`,`--wui-radius-xl`],[`--wui-radius`,`--wui-radius-md`],[`--wui-control-height-sm`,`--wui-control-sm`],[`--wui-control-height`,`--wui-control-md`],[`--wui-control-height-lg`,`--wui-control-lg`],[`--wui-field-radius-sm`,`--wui-field-sm-radius`],[`--wui-field-radius`,`--wui-field-md-radius`],[`--wui-field-radius-lg`,`--wui-field-lg-radius`],[`--wui-ease-out-quart`,`--wui-ease-out`],[`--wui-font-body`,`--wui-font-ui`],[`--font-sans`,`--wui-font-ui`],[`--wui-fs-smb`,`--wui-fs-sm`],[`--wui-fs-48`,`--wui-fs-4xl`],[`--wui-fs-64`,`--wui-fs-5xl`]],reads:[[`--wui-chart-1`,`--color-chart-1`],[`--wui-chart-2`,`--color-chart-2`],[`--wui-chart-3`,`--color-chart-3`],[`--wui-chart-4`,`--color-chart-4`],[`--wui-chart-5`,`--color-chart-5`],[`--wui-chart-6`,`--color-chart-6`],[`--wui-chart-7`,`--color-chart-7`],[`--wui-chart-8`,`--color-chart-8`],[`--wui-chart-seq-0`,`--color-chart-seq-0`],[`--wui-chart-seq-1`,`--color-chart-seq-1`],[`--wui-chart-seq-2`,`--color-chart-seq-2`],[`--wui-chart-seq-3`,`--color-chart-seq-3`],[`--wui-chart-seq-4`,`--color-chart-seq-4`],[`--wui-chart-seq-5`,`--color-chart-seq-5`],[`--wui-chart-seq-6`,`--color-chart-seq-6`],[`--wui-chart-diverging-low`,`--color-chart-diverging-low`],[`--wui-chart-diverging-mid`,`--color-chart-diverging-mid`],[`--wui-chart-diverging-high`,`--color-chart-diverging-high`],[`--wui-chart-neutral`,`--color-chart-neutral`],[`--wui-dark-shadow-thumb`,`--wui-thumb-shadow`],[`--wui-dark-shadow-thumb-hover`,`--wui-thumb-shadow-hover`]],choose:{"--color-on-status-fill":`Use the ink of the fill's tone: --color-on-success, --color-on-warning, --color-on-danger or --color-on-info.`,"--color-on-status-strong":`Use the ink of the strong fill's tone: --color-on-success-strong, --color-on-warning-strong, --color-on-danger-strong or --color-on-info-strong.`,"--color-success-5":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-20":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-success-50":`No meaning holds this step: use --color-success-soft for a fill or --color-success-border for an edge.`,"--color-warning-5":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-20":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-warning-50":`No meaning holds this step: use --color-warning-soft for a fill or --color-warning-border for an edge.`,"--color-danger-5":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-20":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-danger-50":`No meaning holds this step: use --color-danger-soft for a fill or --color-danger-border for an edge.`,"--color-info-5":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-20":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`,"--color-info-50":`No meaning holds this step: use --color-info-soft for a fill or --color-info-border for an edge.`},checkRole:[`--wui-shadow-popover`,`--wui-shadow-modal`],ownable:[`--color-accent`,`--color-accent-soft`,`--shadow-overlay`,`--shadow-overlay-lg`,`--shadow-sm`,`--shadow-md`,`--shadow-lg`,`--radius-sm`,`--radius`,`--radius-lg`,`--radius-xl`,`--font-sans`]},themeReads:[{kind:`path`,from:`colors.primaryHover`,to:`colors.primary-hover`},{kind:`path`,from:`colors.primaryPressed`,to:`colors.primary-pressed`},{kind:`path`,from:`colors.primaryMuted`,to:`colors.primary-soft`},{kind:`path`,from:`colors.secondaryHover`,to:`colors.neutral-hover`},{kind:`path`,from:`colors.secondary`,to:`colors.neutral`},{kind:`path`,from:`colors.error`,to:`colors.danger`},{kind:`path`,from:`colors.onPrimary`,to:`colors.on-primary`},{kind:`path`,from:`colors.onNeutral`,to:`colors.on-neutral-strong`},{kind:`path`,from:`colors.onSecondary`,to:`colors.on-neutral`},{kind:`path`,from:`colors.onSuccess`,to:`colors.on-success`},{kind:`path`,from:`colors.onWarning`,to:`colors.on-warning`},{kind:`path`,from:`colors.onError`,to:`colors.on-danger`},{kind:`path`,from:`colors.onInfo`,to:`colors.on-info`},{kind:`path`,from:`colors.onOverlay`,to:`colors.on-scrim`},{kind:`path`,from:`colors.toneText.primary`,to:`colors.primary-text`},{kind:`path`,from:`colors.toneText.success`,to:`colors.success-text`},{kind:`path`,from:`colors.toneText.warning`,to:`colors.warning-text`},{kind:`path`,from:`colors.toneText.error`,to:`colors.danger-text`},{kind:`path`,from:`colors.toneText.info`,to:`colors.info-text`},{kind:`path`,from:`colors.text.primary`,to:`colors.text-body`},{kind:`path`,from:`colors.text.secondary`,to:`colors.text-muted`},{kind:`path`,from:`colors.text.tertiary`,to:`colors.text-subtle`},{kind:`path`,from:`colors.text.inverse`,to:`colors.text-inverse`},{kind:`path`,from:`colors.text.strong`,to:`colors.text`},{kind:`path`,from:`colors.text.disabled`,to:`colors.text-disabled`},{kind:`path`,from:`colors.text.link`,to:`colors.link`},{kind:`path`,from:`colors.background.primary`,to:`colors.bg`},{kind:`path`,from:`colors.background.secondary`,to:`colors.bg-subtle`},{kind:`path`,from:`colors.background.tertiary`,to:`colors.bg-muted`},{kind:`path`,from:`colors.background.elevated`,to:`colors.surface`},{kind:`path`,from:`colors.background.overlay`,to:`colors.scrim`},{kind:`path`,from:`colors.background.inverse`,to:`colors.surface-inverse`},{kind:`path`,from:`colors.border.primary`,to:`colors.border`},{kind:`path`,from:`colors.border.secondary`,to:`colors.border-subtle`},{kind:`path`,from:`colors.border.focus`,to:`colors.focus-ring`},{kind:`path`,from:`colors.border.error`,to:`colors.danger-border`},{kind:`path`,from:`colors.border.width`,to:`size.border`},{kind:`path`,from:`colors.field.backgroundFocused`,to:`colors.field-bg-focus`},{kind:`path`,from:`colors.field.backgroundDisabled`,to:`colors.field-bg-disabled`},{kind:`path`,from:`colors.field.background`,to:`colors.field-bg`},{kind:`path`,from:`colors.field.borderFocused`,to:`colors.field-border-focus`},{kind:`path`,from:`colors.field.borderError`,to:`colors.field-border-error`},{kind:`path`,from:`colors.field.border`,to:`colors.field-border`},{kind:`path`,from:`colors.field.label`,to:`colors.field-label`},{kind:`path`,from:`colors.field.textDisabled`,to:`colors.field-text-disabled`},{kind:`path`,from:`colors.field.text`,to:`colors.field-text`},{kind:`path`,from:`colors.field.placeholderDisabled`,to:`colors.field-placeholder-disabled`},{kind:`path`,from:`colors.field.placeholder`,to:`colors.field-placeholder`},{kind:`path`,from:`colors.field.iconFocused`,to:`colors.field-icon-focus`},{kind:`path`,from:`colors.field.iconDisabled`,to:`colors.field-icon-disabled`},{kind:`path`,from:`colors.field.icon`,to:`colors.field-icon`},{kind:`path`,from:`colors.field.caret`,to:`colors.field-caret`},{kind:`path`,from:`colors.field.message`,to:`colors.field-message`},{kind:`path`,from:`colors.surface.pressed`,to:`colors.surface-pressed`},{kind:`path`,from:`colors.surface.hovered`,to:`colors.surface-hover`},{kind:`path`,from:`colors.surface.selected`,to:`colors.surface-selected`},{kind:`path`,from:`colors.surface.disabled`,to:`colors.surface-disabled`},{kind:`path`,from:`colors.glass.fill`,to:`colors.glass-fill`},{kind:`path`,from:`colors.glass.border`,to:`colors.glass-border`},{kind:`path`,from:`colors.glass.on`,to:`colors.on-glass`},{kind:`path`,from:`colors.glass.badge`,to:`colors.glass-badge`},{kind:`path`,from:`colors.skeleton.background`,to:`colors.skeleton`},{kind:`path`,from:`colors.skeleton.highlight`,to:`colors.skeleton-highlight`},{kind:`gone`,from:`colors.avatarPalette`,hint:"read colors[`avatar-${n}`] for n 1 to 8"},{kind:`path`,from:`typography.fontFamily.regular`,to:`font.ui.normal`},{kind:`path`,from:`typography.fontFamily.medium`,to:`font.ui.medium`},{kind:`path`,from:`typography.fontFamily.semibold`,to:`font.ui.semibold`},{kind:`path`,from:`typography.fontFamily.bold`,to:`font.ui.bold`},{kind:`gone`,from:`typography.fontFamily.display`,hint:`font.display is a face per weight: font.display.<weight>`},{kind:`prefix`,from:`typography.fontSize.`,to:`text.`},{kind:`prefix`,from:`typography.fontWeight.`,to:`weight.`},{kind:`prefix`,from:`typography.lineHeight.`,to:`leading.`},{kind:`prefix`,from:`typography.letterSpacing.`,to:`letter-spacing.`},{kind:`prefix`,from:`spacing.`,to:`space.`},{kind:`path`,from:`shadows.sm`,to:`shadow.card`},{kind:`path`,from:`shadows.md`,to:`shadow.elevated`},{kind:`path`,from:`shadows.lg`,to:`shadow.popover`},{kind:`path`,from:`shadows.xl`,to:`shadow.modal`},{kind:`gone`,from:`shadows.xs`,hint:`use shadow.card`},{kind:`gone`,from:`shadows.2xl`,hint:`use shadow.modal`},{kind:`gone`,from:`shadows.none`,hint:`omit the shadow`},{kind:`path`,from:`motion.duration.normal`,to:`motion.duration.default`},{kind:`path`,from:`motion.easing.standard`,to:`motion.ease.in-out`},{kind:`prefix`,from:`motion.easing.`,to:`motion.ease.`},{kind:`prefix`,from:`icons`,to:`settings.icons`},{kind:`prefix`,from:`gradients`,to:`settings.gradients`},{kind:`prefix`,from:`textVariants`,to:`settings.textVariants`},{kind:`path`,from:`maxFontSizeMultiplier`,to:`settings.maxFontSizeMultiplier`},{kind:`path`,from:`components.field.defaultVariant`,to:`settings.components.field.defaultVariant`},{kind:`path`,from:`components.field.requiredMarker`,to:`settings.components.field.requiredMarker`},{kind:`path`,from:`components.input.defaultVariant`,to:`settings.components.input.defaultVariant`},{kind:`path`,from:`components.input.defaultLabelMode`,to:`settings.components.input.defaultLabelMode`},{kind:`path`,from:`components.input.tintLabelOnFocus`,to:`settings.components.input.tintLabelOnFocus`},{kind:`path`,from:`components.input.shakeOnError`,to:`settings.components.input.shakeOnError`},{kind:`path`,from:`components.searchBar.defaultVariant`,to:`settings.components.search-bar.defaultVariant`},{kind:`path`,from:`components.select.defaultVariant`,to:`settings.components.select.defaultVariant`},{kind:`path`,from:`components.otpInput.shakeOnError`,to:`settings.components.otp-input.shakeOnError`},{kind:`path`,from:`components.optionSheet.selectedMarker`,to:`settings.components.option-sheet.selectedMarker`},{kind:`path`,from:`components.profilePicker.defaultTone`,to:`settings.components.profile-picker.defaultTone`},{kind:`path`,from:`components.profilePicker.defaultVariant`,to:`settings.components.profile-picker.defaultVariant`},{kind:`path`,from:`components.profilePicker.defaultAvatarTone`,to:`settings.components.profile-picker.defaultAvatarTone`},{kind:`path`,from:`components.slider.thumbPressAnimation`,to:`settings.components.slider.thumbPressAnimation`},{kind:`path`,from:`components.rating.pulseOnPress`,to:`settings.components.rating.pulseOnPress`},{kind:`path`,from:`components.stepper.pulseAnimation`,to:`settings.components.stepper.pulseAnimation`},{kind:`path`,from:`components.tooltip.enableScaleAnimation`,to:`settings.components.tooltip.enableScaleAnimation`},{kind:`path`,from:`components.toast.enableSwipeDismiss`,to:`settings.components.toast.enableSwipeDismiss`},{kind:`path`,from:`components.toast.defaultDurationMs`,to:`settings.components.toast.defaultDurationMs`},{kind:`gone`,from:`components.field.outlined`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.filled`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.underline`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.textColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.disabledTextColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.placeholderColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.fontWeight`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.field.requiredMarkerColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.input.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.handleColor`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.select.fillColors`,hint:`field colours come from the field-* colour names`},{kind:`gone`,from:`components.switch.thumbColor`,hint:`the thumb reads colors.thumb`},{kind:`gone`,from:`components.slider.thumbPressScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelShowDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.slider.labelOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeDismissThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.swipeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackScaleStep`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.stackMinScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.toast.enterSpringMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconCircleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGlyphLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeGlyphText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.closeButtonMarginLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.containerPaddingLeft`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.iconGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.textBlockPaddingRight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionsRowGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.banner.actionButtonRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.formField.inlineLabelWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressDelayMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.numberInput.longPressIntervalMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateLoopDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.indeterminateWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressBar.determinateAnimationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.animationDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.strokeWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.trackColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.progressRing.colorStops`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.rating.pulseScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomSheet.handleColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.choiceGroup.selectedFillOpacity`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.thumbnailSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.filePicker.dashedBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.profilePicker.badgeIconColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.inlineSelect.color`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillMaxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.pillInset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.underlineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingMargin`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.floatingRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.bottomNavigation.bubbleLift`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.viewTransitionDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerPressDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.headerReleaseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.dayInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearCellPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.yearInnerRadius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.decadeRangeMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.datePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideOutDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.monthSlideInDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.navTextLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.dateRangePicker.footerButtonMinHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.hapticDebounceMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timePicker.handleHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.borderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.statusBorderColor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.ringGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontSizeRatio`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.text`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.avatar.fontWeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.accordion.cardPaddingY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.sideSlotMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.collapseTranslateDistance`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.subtitleMarginTop`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.actionButtonSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.iconSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dividerWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.dotOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeMinWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgePaddingX`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeText`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.appBar.badgeLineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.closeVelocityThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.drawer.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.maxScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.minScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.imageGallery.doubleTapScale`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.modal.scaleStartValue`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.circleSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.stepper.pulseDuration`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.threshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.fullSwipeThreshold`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.dragActivationOffset`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.rubberBandFactor`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.failOffsetY`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springDamping`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springStiffness`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.swipeable.springMass`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.dotSize`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.haloWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.timeline.connectorGap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.gap`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.screenPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.pressAutoHideMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHalfWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.arrowCornerPadding`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.maxWidth`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.lineHeight`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tooltip.exitDurationMs`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.segmentedControl.radius`,hint:`fixed in the library since 0.89.0`},{kind:`gone`,from:`components.tabs.radius`,hint:`fixed in the library since 0.89.0`},{kind:`kebab`,under:`components`,names:{searchBar:`search-bar`,emptyState:`empty-state`,listItem:`list-item`,otpInput:`otp-input`,segmentedControl:`segmented-control`,floatingActionButton:`floating-action-button`}}],props:[{package:`@webority/mobile-ui`,props:[`tone`,`variant`],from:`error`,to:`danger`}],componentProps:[],propValues:[{package:`@webority/ui-react`,components:[`AppInput`,`AppSelect`,`AppCountrySelect`],prop:`floatingLabel`,true:`border`,false:`off`}],propSplits:[{package:`@webority/ui-react`,components:[`AppInput`],prop:`passwordRequirements`,on:`shown`,off:`off`,into:`passwordPolicy`}],razorAttributes:[{tags:[`app-input`,`app-select`,`app-country-select`],attribute:`floating-label`,values:{true:`border`,false:`off`}},{tags:[`app-input`],attribute:`password-requirements`,values:{true:`shown`,false:`off`}}]},mo=`--color-primary-text`,ho=new Set([...po.css.rename.map(([e])=>e),...po.css.reads.map(([e])=>e),...Object.keys(po.css.choose)].filter(e=>e!==mo)),go=RegExp(`(?<![\\w-])(${[...ho].join(`|`)})(?![\\w-])`,`g`),_o=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`out`,`bin`,`obj`,`.git`,`.next`,`coverage`]),vo=/* @__PURE__ */ new Set([`.css`,`.scss`,`.sass`,`.less`,`.js`,`.jsx`,`.ts`,`.tsx`,`.cshtml`,`.razor`,`.html`,`.vue`]),yo=(e,t)=>_o.has(e)||e===`lib`&&c(t)===`wwwroot`,bo=e=>vo.has(u(e).toLowerCase());function xo(e,t=[]){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?yo(n.name,e)||xo(r,t):bo(n.name)&&t.push(r)}return t}function So(e,t){for(let n=l(e);n.length>t.length;n=l(n))if(yo(c(n),l(n)))return!0;return!1}function Co(e){let n=v(`git`,[`ls-files`,`-z`,`--cached`,`--others`,`--exclude-standard`,`--`,`.`],{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout.split(`\0`).filter(e=>e&&bo(e)).map(t=>d(e,t.split(`/`).join(g))).filter(n=>!So(n,e)&&t(n)):xo(e)}function wo(e){let t=e.slice(0,3).join(`, `),n=e.length-3;return n>0?`${t} and ${n} more`:t}function To(e,t){let n=[];for(let i of Co(e)){let e=r(i,`utf8`),a=[],o=-1;for(let t of e.matchAll(go)){let e=t[1]??``;o<0&&(o=t.index),a.includes(e)||a.push(e)}if(a.length===0)continue;let s=m(t,i).split(`\\`).join(`/`),c=e.slice(0,o).split(`
94
94
  `).length;n.push([`stale-theme-name:${s}`,`${s}:${c} reads pre-0.89.0 theme names (${wo(a)}). Run webority upgrade 0.89.0 --path <folder> once for the product's style and source folders, then webority brand; no alias for the old names is shipped.`])}return n}var Eo=[`web`,`phone`,`razor`,`node`].map(e=>`${j}/tsconfig/${e}.json`),Do=`biome.jsonc`,Oo=d(`.webority`,`baselines`,`exceptions.json`),ko=d(`.webority`,`baselines`,`suppressions-baseline.json`),Ao=`js`,jo=[`strict`,`noUncheckedIndexedAccess`,`exactOptionalPropertyTypes`,`noImplicitOverride`,`noImplicitReturns`,`noFallthroughCasesInSwitch`,`noUnusedLocals`,`noUnusedParameters`,`noUncheckedSideEffectImports`,`erasableSyntaxOnly`,`verbatimModuleSyntax`,`isolatedModules`,`forceConsistentCasingInFileNames`],Mo=/^(?:\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?|workspace:.+)$/,No=/* @__PURE__ */ new Map([[`off`,0],[`info`,1],[`warn`,2],[`error`,3]]),Po=/\.[cm]?[jt]sx?$/,Fo=/(?:\/\/|\/\*)\s*(?:@ts-(expect-error|ignore|nocheck)\b|biome-ignore\s+([^\s:]+))/g,Io=/^EX-[1-9][0-9]*$/,Lo=/^(?:TASK|BUG|FEATURE)-[0-9]+$|^decisions\/D-[0-9]+-/;function M(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function N(e){return It(r(e,`utf8`))}function Ro(e,t){return m(e,t).split(`\\`).join(`/`)}function zo(e,n,r){let i=e;for(;;){for(let e of r)if(t(d(i,e)))return d(i,e);if(i===n)return null;let e=l(i);if(e===i)return null;i=e}}function Bo(e,n,r){let i=e;for(;;){let e=d(i,`node_modules`,j,r);if(t(e))return e;if(i===n)return null;let a=l(i);if(a===i)return null;i=a}}function Vo(e,t){if(M(e))for(let n of[`dependencies`,`devDependencies`]){let r=e[n];if(!M(r))continue;let i=r[t];if(typeof i==`string`)return i}}function Ho(e){return!M(e)||!M(e.compilerOptions)?{}:e.compilerOptions}function Uo(e){if(typeof e==`string`)return e;if(Array.isArray(e)){let t=e[0];return typeof t==`string`?t:void 0}if(M(e)&&typeof e.level==`string`)return e.level}function Wo(e){let t=/* @__PURE__ */ new Map;if(!M(e))return t;for(let[n,r]of Object.entries(e))if(M(r))for(let[e,i]of Object.entries(r)){let r=Uo(i);r!==void 0&&t.set(`${n}/${e}`,r)}return t}function Go(e,t){let n=Wo(e),r=/* @__PURE__ */ new Set;for(let e of t){let t=M(e)&&M(e.linter)?e.linter.rules:void 0;if(M(t)){for(let[e,i]of Object.entries(t))if(typeof i==`string`){let t=No.get(i);if(t===void 0)continue;for(let[i,a]of n){let n=No.get(a);i.startsWith(`${e}/`)&&n!==void 0&&n>t&&r.add(e)}}else if(M(i))for(let[t,a]of Object.entries(i)){let i=`${e}/${t}`,o=Uo(a),s=n.get(i);if(o===void 0||s===void 0)continue;let c=No.get(o),l=No.get(s);c!==void 0&&l!==void 0&&c<l&&r.add(i)}}}return[...r]}function Ko(e,n,r){let i=[],a=d(n,`tsconfig.json`),o=Ro(e,a),s=(e,t)=>r.covers(e,t)!==null,l=null;if(t(a))try{l=N(a)}catch{return[[`standards:extends`,`tsconfig.json does not parse as JSON. react.md, Language: fix the syntax; the build type-checks with it.`]]}let u=M(l)?l.extends:void 0,f=typeof u==`string`?[u]:Array.isArray(u)?u.filter(e=>typeof e==`string`):[],p=Eo.find(e=>f.includes(e));l!==null&&p===void 0&&!s(`tsconfig:extends`,o)&&i.push([`standards:extends`,`tsconfig.json does not extend a ${j} preset. react.md, Language: add "extends": "${j}/tsconfig/web.json" (or phone, razor or node for that surface) and keep only paths, include and types.`]);let m=d(n,`package.json`),h=Vo(t(m)?N(m):void 0,j);h===void 0&&p!==void 0?i.push([`standards:pin`,`package.json does not declare ${j}, which tsconfig.json extends. Add it at an exact version: pnpm add -D --save-exact ${j}.`]):h!==void 0&&!Mo.test(h)&&i.push([`standards:pin`,`package.json pins ${j} to "${h}", not an exact version. shared-packages.md: pin every @webority/* package exactly; pnpm add -D --save-exact ${j}@<x.y.z>.`]);let g=p===void 0?null:Bo(n,e,p.slice(j.length+1));if(p!==void 0&&g===null&&i.push([`standards:pin`,`${j} is declared but not installed beside this folder. Run pnpm install.`]),g!==null){let e=Ho(N(g)),t=Ho(l);for(let n of jo)e[n]===!0&&t[n]===!1&&!s(`tsconfig:${n}`,o)&&i.push([`standards:loosened:${n}`,`tsconfig.json sets compilerOptions.${n} to false, looser than ${j}. react.md, Language: delete the line so the preset's true applies; a relaxed option needs an exceptions.json entry with rule "tsconfig:${n}".`])}let _=zo(n,e,[`biome.json`,`biome.jsonc`]),v=Bo(n,e,Do);if(_!==null&&v!==null){let t;try{t=N(_)}catch{t=void 0}let n=M(t)&&Array.isArray(t.overrides)?t.overrides:[],r=N(v),a=M(r)&&M(r.linter)?r.linter.rules:void 0,o=Ro(e,_);for(let e of Go(a,n))s(`lint/${e}`,o)||i.push([`standards:override:${e}`,`${c(_)} lowers ${j}'s rule lint/${e} in an overrides block. react.md, Language: delete the override; a rule lowered for some paths needs an exceptions.json entry with rule "lint/${e}" covering them.`])}return i}function qo(e){let n=d(e,ko);if(!t(n))return{};let r=N(n);if(!M(r))throw Error(`webority-repo-checks: .webority/baselines/suppressions-baseline.json must be a JSON object.`);return r}function Jo(e,t){let n=e[t];if(!M(n))return 0;let r=n[Ao];return typeof r==`number`?r:0}function Yo(e,n,i){let a=qo(e),o=[];for(let s of n){if(!Po.test(s))continue;let n=d(e,s);if(!t(n))continue;let c=0;for(let e of r(n,`utf8`).split(`
95
95
  `))for(let t of e.matchAll(Fo)){let e=t[1]===void 0?t[2]??`biome-ignore`:`@ts-${t[1]}`;i.covers(e,s)===null&&(c+=1)}let l=Jo(a,s);c>l&&o.push([`suppression:${s}`,`${s} holds ${c} suppression comment(s) with no registered exception; suppressions-baseline.json allows ${l}. Fix the code and delete the comment, or add an exceptions.json entry for its rule covering this file. The baseline is a ceiling that only shrinks.`])}return o}function Xo(e,t){return e===t?!0:/[*?[]/.test(e)?f(t,e):t.startsWith(e.endsWith(`/`)?e:`${e}/`)}function Zo(e){if(!Array.isArray(e))throw Error(`webority-repo-checks: ${Oo} must be a JSON array of entries.`);return e.map((e,t)=>{let n=`${Oo} entry ${t+1}`;if(!M(e))throw Error(`webority-repo-checks: ${n} must be an object.`);let{id:r,rule:i,paths:a,reason:o,approvedBy:s}=e;if(typeof r!=`string`||!Io.test(r))throw Error(`webority-repo-checks: ${n} needs an id of the form EX-<n>.`);if(typeof i!=`string`||i.length===0)throw Error(`webority-repo-checks: ${n} (${r}) needs a rule.`);if(!Array.isArray(a)||a.length===0||!a.every(e=>typeof e==`string`&&e.length>0))throw Error(`webority-repo-checks: ${n} (${r}) needs one or more non-empty paths.`);if(typeof o!=`string`||o.length<10)throw Error(`webority-repo-checks: ${n} (${r}) needs a reason of at least ten characters.`);if(typeof s!=`string`||!Lo.test(s))throw Error(`webority-repo-checks: ${n} (${r}) needs approvedBy as TASK-n, BUG-n, FEATURE-n or decisions/D-n-.`);return{id:r,rule:i,paths:a.filter(e=>typeof e==`string`)}})}function Qo(e){let n=d(e,Oo),r=t(n)?Zo(N(n)):[];return{covers(e,t){let n=r.find(n=>n.rule===e&&n.paths.some(e=>Xo(e,t)));return n?n.id:null}}}var $o=`tracked-case`;function es(e,t){let n=/* @__PURE__ */ new Map,r=t=>{let r=n.get(t);if(r===void 0){try{r=new Set(i(d(e,t)))}catch{r=/* @__PURE__ */ new Set}n.set(t,r)}return r},a=/* @__PURE__ */ new Set,o=[];for(let e of t){let t=e.split(`/`),n=`.`;for(let e=0;e<t.length;e++){let i=t[e]??``,s=r(n);if(s.has(i)){n=n===`.`?i:`${n}/${i}`;continue}let c=i.toLowerCase(),l=[...s].find(e=>e.toLowerCase()===c);if(l!==void 0){let n=t.slice(0,e+1).join(`/`);if(!a.has(n)){a.add(n);let r=[...t.slice(0,e),l].join(`/`);o.push([`${$o}:${n}`,`tracked as ${n} but on disk as ${r}; a Linux checkout cannot find the import. Run git mv "${n}" "${r}" so git records the rename.`])}}break}}return o}var ts=`@webority/analytics/fleet`,ns=`.webority/tracking-plan.json is not a JSON object. product-analytics.md: the plan is one JSON object with "extends": "${ts}".`;function rs(e){if(!t(d(e,`.github`,`workflows`,`production.yml`)))return[];let n=d(e,`.webority`,`tracking-plan.json`);if(!t(n))return[[`tracking-plan:missing`,`.webority/tracking-plan.json is missing. product-analytics.md: a product repo keeps a tracking plan with "extends": "${ts}".`]];let i;try{i=JSON.parse(r(n,`utf8`))}catch{return[[`tracking-plan:invalid`,ns]]}return typeof i!=`object`||!i||Array.isArray(i)?[[`tracking-plan:invalid`,ns]]:!(`extends`in i)||i.extends!==ts?[[`tracking-plan:extends`,`.webority/tracking-plan.json does not extend ${ts}. product-analytics.md: set "extends": "${ts}".`]]:[]}function is(e){let t=[];return as(d(e,`src`,`components`,`base`))&&t.push([`web-folder:components/base`,`src/components/base/ exists. react.md, Folder layout: never a components/base/ folder; primitives come from @webority/ui-react and the root ErrorBoundary from @webority/web-core. Import those and delete the folder.`]),as(d(e,`src`,`components`,`features`))&&t.push([`web-folder:components/features`,`src/components/features/ is a flat catch-all. react.md, Folder layout: components/<feature>/ holds a component two or more screens of one feature share; move each component to components/<feature>/, or into its screen's file when one screen uses it.`]),t}function as(e){return o(e,{throwIfNoEntry:!1})?.isDirectory()===!0}function os(){let e=JSON.parse(r(new URL(`../package.json`,import.meta.url),`utf8`)),t=typeof e==`object`&&e&&`version`in e?e.version:void 0;if(typeof t!=`string`)throw Error(`webority-repo-checks: its own package.json has no version.`);return t}var P=e=>e.split(`\\`).join(`/`),ss=(e,t)=>P(m(e,t))||`.`;function F(e){return typeof e==`object`&&!!e}function cs(e){return F(e)&&Object.values(e).every(e=>typeof e==`string`)}var ls=[`name`,`main`,`module`,`source`,`packageManager`],us=[`dependencies`,`devDependencies`,`peerDependencies`],ds=[`name`,`version`,`onFail`];function fs(e,t){let n=e=>{throw Error(`webority-repo-checks: ${t} has a ${e} of the wrong type. Fix the file, then run the checks again.`)};if(!F(e))return n(`top level`);let r={};for(let t of ls){let i=e[t];if(i!==void 0){if(typeof i!=`string`)return n(t);r[t]=i}}for(let t of us){let i=e[t];if(i!==void 0){if(!cs(i))return n(t);r[t]=i}}let i=e.exports;if(i!==void 0){if(typeof i!=`string`&&!F(i))return n(`exports`);r.exports=i}let a=e.devEngines;if(a!==void 0){if(!F(a))return n(`devEngines`);let e=a.packageManager;if(e===void 0)r.devEngines={};else{if(!F(e))return n(`devEngines.packageManager`);let t={};for(let r of ds){let i=e[r];if(i!==void 0){if(typeof i!=`string`)return n(`devEngines.packageManager.${r}`);t[r]=i}}r.devEngines={packageManager:t}}}return r}function ps(e){if(!t(e))return null;let n;try{n=JSON.parse(r(e,`utf8`))}catch(t){let n=t instanceof Error?t.message:String(t);throw Error(`webority-repo-checks: ${e} is not valid JSON (${n}). Fix the file, then run the checks again.`)}return fs(n,e)}function ms(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function hs(e){let t=ms(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function I(e,t){let n=ms(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function gs(e){let t=ms(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function _s(e,n){let r=e?.dependencies??{};if(ro.some(e=>r[e]))return null;let i=n&&(t(d(n,`android`))||t(d(n,`ios`)));return r[`react-native`]&&i?`mobile`:r[`react-dom`]&&(e?.devDependencies?.[`react-native-web`]||r[`react-native-web`])?`demo`:r[`react-native`]?`mobile`:r[`react-dom`]?`web`:null}var vs=/^https:\/\/\S+-\d+\.\d+\.\d+(?:-[0-9A-Za-z.]+)?\.(?:tgz|tar\.gz)$/,ys=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e)||vs.test(e),bs=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),xs=e=>/^(?:workspace:|file:|link:)/.test(e);function Ss(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of $a[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of eo[t])for(let t of a.filter(t=>t.startsWith(e)))r.push([`banned:${t}`,`"${t}" is a dependency. ${n}.`]);for(let[e,n,a]of to[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of no[t])(bs.has(e)?n:i)[e]||r.push([`required:${e}`,`"${e}" is not a dependency. ${a}.`]);let o=t===`mobile`?a:a.filter(e=>e.startsWith(`@webority/`)||e===`bootstrap`);for(let e of o){let t=String(i[e]);ys(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}for(let e of oo){let t=e.filter(e=>i[e]&&!xs(String(i[e])));if(new Set(t.map(e=>String(i[e]).replace(/^[\^~]/,``))).size>1){let n=t.map(e=>`${e}@${i[e]}`).join(`, `);r.push([`lockstep:${e[0]}`,`${n} differ. These publish together at one version; move every pin in the set together.`])}}return r}function L(e,n,r){let i=e;for(;;){for(let e of r)if(t(d(i,e)))return d(i,e);if(i===n)return null;let e=l(i);if(e===i)return null;i=e}}function Cs(e,t){let n=e,i=null;for(;;){let e=L(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=It(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function ws(e,t,n){let r=Cs(e,t),i=r&&r!==e?ps(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function Ts(){let e=process.env.WEBORITY_PREREQUISITES??d(y(),`.claude`,`prerequisites.json`);if(!t(e))return null;let n=JSON.parse(r(e,`utf8`)),i=Array.isArray(n)?n.find(e=>F(e)&&e.name===`pnpm`):void 0,a=F(i)?i.minVersion:void 0;if(typeof a!=`string`||!/^\d+\.\d+\.\d+$/.test(a))throw Error(`webority-repo-checks: ${e} has no pnpm entry with an x.y.z minVersion.`);return a}function Es(e,n){let i=[],a=L(e,n,[`pnpm-lock.yaml`]);a||i.push([`pnpm:no-lockfile`,`No pnpm-lock.yaml in this folder or above it. react.md: every JS repo installs with pnpm.`]);let o=a?l(a):e,s=ps(d(o,`package.json`))??ps(d(e,`package.json`)),c=s?.devEngines?.packageManager;c?.name===`pnpm`&&/^\d+\.\d+\.\d+$/.test(c?.version??``)&&c?.onFail===`error`||i.push([`pnpm:dev-engines`,`package.json lacks "devEngines": { "packageManager": { "name": "pnpm", "version": "<x.y.z>", "onFail": "error" } }. react.md: Package manager.`]);let u=Ts();u&&/^\d+\.\d+\.\d+$/.test(c?.version??``)&&c?.version!==u&&i.push([`pnpm:version`,`package.json pins pnpm ${c?.version} in devEngines.packageManager.version; the version in the machine prerequisites list is ${u}. Set it to ${u} and run pnpm install. react.md: Package manager.`]),s?.packageManager!==void 0&&i.push([`pnpm:package-manager`,`package.json sets "packageManager", which pnpm ignores beside devEngines. Move its version into devEngines.packageManager.version and delete it. react.md: Package manager.`]);let f=d(o,`pnpm-workspace.yaml`);if(!t(f))i.push([`pnpm:no-workspace-file`,`No pnpm-workspace.yaml beside the lockfile. react.md: it holds engineStrict, strictPeerDependencies and allowBuilds.`]);else{let e=r(f,`utf8`);/^engineStrict:\s*true\s*$/m.test(e)||i.push([`pnpm:engine-strict`,`pnpm-workspace.yaml lacks engineStrict: true. react.md: a Node mismatch must fail the install.`]),/^strictPeerDependencies:\s*true\s*$/m.test(e)||i.push([`pnpm:strict-peers`,`pnpm-workspace.yaml lacks strictPeerDependencies: true. react.md: a peer conflict must fail the install.`])}for(let n of[`package-lock.json`,`yarn.lock`])t(d(e,n))&&i.push([`pnpm:${n}`,`${n} sits in this folder. react.md: pnpm only; seed pnpm-lock.yaml with pnpm import, then delete it.`]);return i}function Ds(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=[`index.js`,`index.jsx`,`index.ts`,`index.tsx`].map(e=>P(m(t,d(n,e))));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[e.includes??[]].flat().some(e=>!String(e).startsWith(`!`)&&i.some(t=>f(t,String(e)))))}function Os(e,t,n){let i=L(e,t,[`biome.json`,`biome.jsonc`]);if(!i)return[[`biome:missing`,`No biome.json in this folder or above it. react.md: one committed root biome.json.`]];let a;try{a=It(r(i,`utf8`))}catch{return[[`biome:unreadable`,`${c(i)} does not parse.`]]}let o=[];return[a.extends??[]].flat().some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`code-standards/biome.jsonc`))||o.push([`biome:extends`,`${c(i)} does not extend "${so}". react.md: every repo extends the shared preset.`]),a.formatter?.lineEnding&&o.push([`biome:line-ending`,`${c(i)} sets formatter.lineEnding. react.md: inherit it from the shared preset, never set it.`]),a.linter?.rules&&Object.keys(a.linter.rules).length>0&&o.push([`biome:root-rules`,`${c(i)} sets linter.rules at the root. react.md: never a rule's severity at the root; a per-path exception goes in overrides.`]),n===`mobile`&&!Ds(a,l(i),e,`__DEV__`)&&o.push([`biome:dev-global`,`${c(i)} lacks "__DEV__" in javascript.globals. react-native.md: Debugging and agent access.`]),o}var ks=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function As(e,t,n){if(e.start?.line)return e.start.line;if(!Array.isArray(e.span))return null;let i=r(d(t,n)),a=1;for(let t=0;t<(e.span[0]??0);t++)i[t]===10&&a++;return a}function js(e){try{return a(e)}catch{return null}}function Ms(e,t,n){let r=n.split(`/`),i=n.startsWith(`@`)?r.slice(0,2).join(`/`):r[0]??``,a=n.slice(i.length)?`.${n.slice(i.length)}`:`.`,o=L(e,t,[d(`node_modules`,i)]),s=o&&js(o);if(!s)return null;let c=ps(d(s,`package.json`));if(!c)return null;let l=(typeof c.exports==`string`?{".":c.exports}:c.exports)?.[a]??(a===`.`?c.module??c.main:null);if(F(l)&&(l=l.import??l.default),typeof l!=`string`)return null;let u=a===`.`&&typeof c.source==`string`?c.source:l.replace(Ns,`src/`);return{pkgDir:s,entry:d(s,l),sourcePath:d(s,u),workspace:Ps(t,s)}}var Ns=/^(?:\.\/)?(?:dist|lib|build)\//;function Ps(e,t){let n;try{n=a(t)}catch{return!1}let r=m(a(e),n);return!r.startsWith(`..`)&&!r.split(/[\\/]/).includes(`node_modules`)}function Fs(e){try{return o(e).isFile()}catch{return!1}}var Is=[`.ts`,`.tsx`,`.js`,`.jsx`,`.mjs`],Ls=[`index.ts`,`index.tsx`,`index.js`,`index.jsx`,`index.mjs`];function Rs(e){let t=e.replace(/\.(?:[cm]?jsx?|tsx?)$/,``);return[e,...Is.map(e=>t+e),...Ls.map(t=>d(e,t))].find(Fs)??null}function zs(e){return e?e.workspace?Rs(e.sourcePath):e.entry:null}function Bs(e,t,n,r){let i=Ms(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set,o=zs(i);return o===null||Ws(o,r,t,a)}function Vs(e,t,n,r){let i=Ks(l(t),n);return i!==null&&Ws(i,r,e,/* @__PURE__ */ new Set)}var Hs=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,Us=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function Ws(e,t,n,i){if(i.has(e))return!1;i.add(e);let a;try{a=r(e,`utf8`)}catch{return!1}if(RegExp(`\\bexport\\s+(?:async\\s+)?(?:const|let|var|function\\*?|class)\\s+${t}\\b`).test(a)||t==="default"&&/\bexport\s+default\b/.test(a)||RegExp(`\\b(?:module\\.)?exports\\.${t}\\s*=|Object\\.defineProperty\\(\\s*(?:module\\.)?exports\\s*,\\s*["']${t}["']|\\bget\\s+${t}\\s*\\(`).test(a))return!0;for(let[,r,o,s,c]of a.matchAll(Hs))if(r){if(o===t||o===void 0&&c!==void 0&&Gs(e,c,t,n,i))return!0}else if(s!==void 0)for(let r of s.split(`,`)){let[a=``,o]=r.trim().replace(/^type\s+/,``).split(/\s+as\s+/);if((o??a)===t&&(c===void 0||Gs(e,c,a,n,i)))return!0}return!1}function Gs(e,t,n,r,i){let a=t.startsWith(`.`)?Ks(l(e),t):zs(Ms(l(e),r,t));return a!==null&&Ws(a,n,r,i)}function Ks(e,t){let n=d(e,t);for(let e of Us)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function qs(e,n){let r=L(e,n,[ks]);if(!r)return[];let i=t(d(e,`src`))?`src`:`.`,a=v(process.execPath,[r,`lint`,`--only=correctness/noUnresolvedImports`,`--reporter=json`,`--max-diagnostics=none`,`--colors=off`,i],{cwd:e,encoding:`utf8`,maxBuffer:67108864,windowsHide:!0}),o=Js(a.stdout??``);if(o===null)return[[`missing-export:unreadable`,`Biome's report could not be read: ${String(a.stderr||a.stdout||``).slice(0,200)}`]];let s=/* @__PURE__ */ new Map;for(let t of o){let r=String(t.message??``);if(!r.includes(`has no export named`))continue;let i=r.match(/^The (?:path|module) (\S+) has no export named (\w+)/);if(!i){s.set(`unreadable`,[`missing-export:unreadable`,`Biome reported a missing export in a form this check cannot read: ${r.slice(0,200)}`]);continue}let a=i[1]??``,o=i[2]??``;if((Object.hasOwn(co,a)?co[a]:void 0)?.includes(o))continue;let c=h(e,String(t.location?.path));if(a.startsWith(`.`)?Vs(n,c,a,o):Bs(e,n,a,o))continue;let l=P(m(e,c)),u=As(t.location??{},e,l),d=u?`${l}:${u}`:l,f=`missing-export:${l}`,p=`${d} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${f}\0${p}`,[f,p])}return[...s.values()]}function Js(e){try{let t=JSON.parse(e);return!F(t)||!Array.isArray(t.diagnostics)?null:t.diagnostics}catch{return null}}function Ys(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=d(t,`package.json`),n=fs(JSON.parse(r(e,`utf8`)),e),i=typeof n.module==`string`?n.module:typeof n.main==`string`?n.main:`dist/index.js`,a=r(d(t,i),`utf8`),o=new Set([...a.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(o.size>0)return o}catch(e){if(Xs(e)!==`ENOENT`)throw e}return new Set(lo)}function Xs(e){return F(e)?e.code:void 0}function Zs(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?Zs(d(e,t.name)):[d(e,t.name)])}function Qs(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function $s(e){let n=d(e,`src`);if(!t(n))return[];let r=Ys(e),i=[];for(let t of Zs(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0]??``;if(r.has(n)){let r=P(m(e,t));i.push([`catalogue-copy:${r}`,`${r} is named like the @webority/ui-react export ${n}. bootstrap-ui.md: use the catalogue component, never a local copy.`])}}return i}var ec=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,tc=/throw\s+new\s+GradleException\s*\(/,nc=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function rc(e){let n=[],i=d(e,`android`,`app`,`build.gradle`);if(t(i)){let e=r(i,`utf8`).replace(/\/\*[\s\S]*?\*\//g,``).replace(/^\s*\/\/.*$/gm,``);ec.test(e)&&tc.test(e)||n.push([`android-release-signing`,`android/app/build.gradle has no release signing guard. react-native-toolchain.md: when a requested task name contains "release", throw a GradleException that names each missing signing setting, and never sign a release with the debug key.`])}let a=d(e,`android`,`gradle.properties`);return t(a)&&nc.test(r(a,`utf8`))&&n.push([`android-edge-to-edge`,`android/gradle.properties sets edgeToEdgeEnabled=false. react-native-toolchain.md: set edgeToEdgeEnabled=true.`]),n}var ic=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]),ac=/\b(?:import|export)\s+type\s+(?:\{[^}]*\}|\*(?:\s+as\s+[\w$]+)?|[\w$]+)\s+from\s*["'][^"']*["']/g;function oc(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of Zs(i)){if(!ic.has(u(t).toLowerCase())||st(P(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
96
96
  `).map(e=>/^\s*(?:\/\/|\/\*|\*)/.test(e)?``:e).join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/repo-checks",
3
- "version": "0.157.0",
3
+ "version": "0.158.0",
4
4
  "description": "Repository checks for Webority React web portals, React Native apps and Razor sites: banned and required dependencies, pnpm only, exact pins, the shared Biome preset, and token use in style, markup and component code. Run before a push; existing findings and per-file counts sit in a baseline that only shrinks.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "25.6.0",
26
- "@webority/biome-config": "0.157.0",
27
- "@webority/theme": "0.157.0",
26
+ "@webority/biome-config": "0.158.0",
27
+ "@webority/theme": "0.158.0",
28
28
  "typescript": "^7.0.2",
29
29
  "vite": "^8.3.6"
30
30
  },