@webority/repo-checks 0.144.1 → 0.145.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.
- package/dist/repo-checks.js +14 -14
- package/package.json +2 -2
package/dist/repo-checks.js
CHANGED
|
@@ -77,7 +77,7 @@ fi
|
|
|
77
77
|
`).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 Qr=/* @__PURE__ */ new Set([`Text`,`TextInput`,`Pressable`,`TouchableOpacity`,`TouchableHighlight`,`TouchableWithoutFeedback`,`ActivityIndicator`,`Modal`,`Switch`,`Button`]),$r=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 ei(e,t){let n=[];for(let r of E(t)){if(!r.startsWith(`src/screens/`)&&!r.startsWith(`src/components/`))continue;let t=D(e,r),i=/* @__PURE__ */ new Set;for(let e of O(t))if(e.kind===`import`&&e.specifier===`react-native`)for(let{name:t,local:n}of e.imported)Qr.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:$r(e)})}n.push(...A(`raw-primitive`,t,a))}return j(n)}var ti=`src/screens/index.js`;function ni(e,t){let n=E(t);if(!n.includes(ti))return[];let r=new Set(n),i=/* @__PURE__ */ new Set;for(let t of O(D(e,ti))){if(t.kind!==`export-from`)continue;let e=k(r,ti,t.specifier);e!==null&&i.add(e)}let a=[];for(let t of n){if(t===ti||t.startsWith(`src/navigation/`))continue;let n=D(e,t),o=[];for(let e of O(n)){let n=k(r,t,e.specifier);if(n!==null&&n!==t&&i.has(n)){let t=p.basename(n).replace(/\.[^.]+$/,``);o.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.`})}}a.push(...A(`screen-imports-screen`,n,o))}return j(a)}var ri=400,ii=600;function ai(e,t){let n=[];for(let r of E(t)){if(!r.startsWith(`src/screens/`))continue;let t=D(e,r),i=vr(t.text),a=i>ri?[{line:1,message:`${i} lines. react-native.md: split a screen over 400 lines; over 600 is a finding.`,note:i<=ii}]:[];n.push(...A(`screen-length`,t,a))}return j(n)}var oi=/(?:^|\/)index\.[jt]sx?$/,si=/\.(?:stories\.[jt]sx?|meta\.js)$/,ci=e=>e.startsWith(`src/screens/`)&&!oi.test(e),li=e=>!oi.test(e)&&!si.test(e),ui=e=>e.startsWith(`src/components/`)&&li(e);function di(e,t){let n=E(t),r=new Set(n),i=/* @__PURE__ */ new Map,a=t=>(i.has(t)||i.set(t,D(e,t)),i.get(t)),o=/* @__PURE__ */ new Map;for(let e of n){if(!e.startsWith(`src/components/`)||!oi.test(e))continue;let t=/* @__PURE__ */ new Map,n=[];for(let i of O(a(e))){if(i.kind!==`export-from`)continue;let a=k(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)=>{e!==t&&li(t)&&(c.has(e)||c.set(e,/* @__PURE__ */ new Set),c.get(e).add(t))};for(let e of n)for(let t of O(a(e))){if(t.kind===`export-from`)continue;let n=k(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;)for(let e of c.get(r.pop())??[])n.has(e)||(n.add(e),ci(e)?t.add(e):r.push(e));return t},d=[];for(let e of n){if(!ui(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(...A(`shared-single-importer`,a(e),n))}return j(d)}var fi=/(?<![\w$.])Responsive\s*\.\s*(?:width|height|font)\s*\(/g,pi=`scales by screen width. react-native.md: use theme.space and the text scale.`;function mi(e,t){let n=[];for(let r of E(t)){if(!r.startsWith(`src/`))continue;let t=D(e,r),i=[...t.blanked.matchAll(fi)].map(e=>({line:t.lineAt(e.index),message:pi}));n.push(...A(`width-scaling`,t,i))}return j(n)}var hi=[ei,Cr,Mr,ni,di,Hr,ai,Zr,Ar,Yr,mi],gi=/* @__PURE__ */ new Set([`node_modules`,`android`,`ios`,`.git`]);function _i(e,t=``){let n=[];for(let r of i(d(e,t),{withFileTypes:!0})){if(gi.has(r.name))continue;let i=t?`${t}/${r.name}`:r.name;r.isDirectory()?n.push(..._i(e,i)):n.push(i)}return n}function vi(e){let t=_i(e).sort(),n=[];for(let r of hi.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 yi=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`.git`,`.gradle`,`Pods`,`DerivedData`]);function N(e,t){return i(e,{withFileTypes:!0}).flatMap(n=>n.isDirectory()?t.has(n.name)?[]:N(d(e,n.name),t):[d(e,n.name)])}var bi=e=>e.split(`\\`).join(`/`);function xi(e,t){return e.replace(t,e=>e.replace(/[^\n]/g,` `))}function Si(e,t){return e.slice(0,t).split(`
|
|
78
78
|
`).length}var Ci=/^MainActivity\.(?:kt|java)$/,wi=/\bsuper\.onCreate\(\s*(?!null\s*\))[^)]*\)/;function Ti(e){let n=d(e,`android`,`app`,`src`);if(!t(n))return[];let i=[];for(let t of N(n,yi)){if(!Ci.test(c(t)))continue;let n=xi(xi(r(t,`utf8`),/\/\*[\s\S]*?\*\//g),/\/\/[^\n]*/g),a=wi.exec(n);if(!a)continue;let o=bi(m(e,t));i.push([`rn-mainactivity-oncreate-bundle:${o}`,`${o}:${Si(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 Ei=/EXPO_UPDATE_URL"[^>]*?\/(Staging|Development)"/,Di=/<key>EXPO_UPDATE_URL<\/key>\s*<string>[^<]*\/(Staging|Development)<\/string>/,Oi=/^APP_ID=.*\.(staging|development)\s*$/m;function ki(e){let n=[{file:d(e,`android`,`app`,`src`,`main`,`AndroidManifest.xml`),pattern:Ei},{file:d(e,`android`,`gradle.properties`),pattern:Oi}],r=d(e,`ios`);if(t(r))for(let e of N(r,yi))c(e)===`Expo.plist`&&n.push({file:e,pattern:Di});return n.filter(({file:e})=>t(e))}function Ai(e){let t=[];for(let{file:n,pattern:i}of ki(e)){let a=bi(m(e,n)),o=r(n,`utf8`),s=i.exec(o);s&&t.push([`mobile-production-stamps:${a}`,`${a}:${Si(o,s.index)} carries ${s[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 ${s[1]} update feed or app id.`])}return t}var ji=/^spa-host\..+\.json$/,Mi=/* @__PURE__ */ new Set([`web.config`,`staticwebapp.config.json`,`_headers`,`spa-host.json`]);function Ni(e){let t=[];for(let n of N(e,/* @__PURE__ */ new Set([...yi,`android`,`ios`]))){let i=c(n);if(!Mi.has(i)&&!ji.test(i))continue;let a=xi(r(n,`utf8`),/<!--[\s\S]*?-->/g).split(`
|
|
79
79
|
`).findIndex(e=>/\bimmutable\b/i.test(e)&&/cache/i.test(e));if(a===-1)continue;let o=bi(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 Pi=[[`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`]],Fi=[[`@typescript-eslint/`,`react.md: no TypeScript toolchain residue`],[`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`]],P=`bootstrap-ui.md: hard interactive components come from @webority/ui-react`,Ii=`react.md: Bootstrap 5.3.3 is the only UI framework`,Li=`react.md: dates format through Intl and the web-core formatters`,Ri=`react-native.md: retired; Intl and the mobile-core formatters`,zi={web:[...Pi,[`react-toastify`,`react.md: notifications are toast from @webority/ui-react`],[`downshift`,P],[`react-day-picker`,P],[`react-aria`,P],[`react-aria-components`,P],[`@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`,Ii],[`antd`,Ii],[`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`,Li],[`moment-timezone`,Li],[`dayjs`,Li],[`date-fns`,Li]],mobile:[...Pi,[`typescript`,`react-native.md: app code is JavaScript`],[`@types/react`,`react-native.md: app code is JavaScript`],[`@react-native/typescript-config`,`react-native.md: app code is JavaScript`],[`react-native-permissions`,`react-native.md: retired; each Expo module requests its own permission`],[`moment`,Ri],[`moment-timezone`,Ri],[`dayjs`,Ri],[`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:[]},Bi={web:[...Fi,[`@mui/`,Ii],[`@chakra-ui/`,Ii],[`@emotion/`,`react.md: no CSS-in-JS`],[`@radix-ui/`,P],[`@react-aria/`,P]],mobile:[...Fi],demo:[]},Vi={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:[]},Hi={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`]]},Ui=[`agentation`],Wi=[[`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`]],Gi=[[`@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`]],Ki=`@webority/biome-config/biome.jsonc`,qi={react:[`Children`,`Fragment`,`Profiler`,`StrictMode`,`Suspense`]},Ji=/* @__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(`.`),Yi=[`lint`,`rn-mainactivity-oncreate-bundle`,`spa-host-immutable-assets`,`oversize`,`advisory`,`endpoint-name`];function Xi(e,t=process.env){let n=String(t.REPO_CHECKS_ENFORCE??``).split(`,`).map(e=>e.trim()).filter(Boolean);return!Yi.includes(e)||n.includes(`all`)||n.includes(e)}var Zi={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`}}]},Qi=`--color-primary-text`,$i=new Set([...Zi.css.rename.map(([e])=>e),...Zi.css.reads.map(([e])=>e),...Object.keys(Zi.css.choose)].filter(e=>e!==Qi)),ea=RegExp(`(?<![\\w-])(${[...$i].join(`|`)})(?![\\w-])`,`g`),ta=/* @__PURE__ */ new Set([`node_modules`,`dist`,`build`,`out`,`bin`,`obj`,`.git`,`.next`,`coverage`]),na=/* @__PURE__ */ new Set([`.css`,`.scss`,`.sass`,`.less`,`.js`,`.jsx`,`.ts`,`.tsx`,`.cshtml`,`.razor`,`.html`,`.vue`]),ra=(e,t)=>ta.has(e)||e===`lib`&&c(t)===`wwwroot`,ia=e=>na.has(u(e).toLowerCase());function aa(e,t=[]){for(let n of i(e,{withFileTypes:!0})){let r=d(e,n.name);n.isDirectory()?ra(n.name,e)||aa(r,t):ia(n.name)&&t.push(r)}return t}function oa(e,t){for(let n=l(e);n.length>t.length;n=l(n))if(ra(c(n),l(n)))return!0;return!1}function sa(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&&ia(e)).map(t=>d(e,t.split(`/`).join(g))).filter(n=>!oa(n,e)&&t(n)):aa(e)}function ca(e){let t=e.slice(0,3).join(`, `),n=e.length-3;return n>0?`${t} and ${n} more`:t}function la(e,t){let n=[];for(let i of sa(e)){let e=r(i,`utf8`),a=[],o=-1;for(let t of e.matchAll(ea))o<0&&(o=t.index),a.includes(t[1])||a.push(t[1]);if(a.length===0)continue;let s=m(t,i).split(`\\`).join(`/`),c=e.slice(0,o).split(`
|
|
80
|
-
`).length;n.push([`stale-theme-name:${s}`,`${s}:${c} reads pre-0.89.0 theme names (${ca(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 ua=`tracked-case`;function da(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([`${ua}:${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 F=e=>e.split(`\\`).join(`/`),fa=(e,t)=>F(m(e,t))||`.`;function I(e){try{return JSON.parse(r(e,`utf8`))}catch{return null}}function pa(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function ma(e){let t=pa(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function L(e,t){let n=pa(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function ha(e){let t=pa(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function ga(e,n){let r=e?.dependencies??{};if(Ui.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 _a=/^https:\/\/\S+-\d+\.\d+\.\d+(?:-[0-9A-Za-z.]+)?\.(?:tgz|tar\.gz)$/,va=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e)||_a.test(e),ya=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),ba=e=>/^(?:workspace:|file:|link:)/.test(e);function xa(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of zi[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of Bi[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 Vi[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of Hi[t])(ya.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]);va(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}for(let e of Gi){let t=e.filter(e=>i[e]&&!ba(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 R(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 Sa(e,t){let n=e,i=null;for(;;){let e=R(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=ut(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function Ca(e,t,n){let r=Sa(e,t),i=r&&r!==e?I(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function wa(e,n){let i=[],a=R(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=I(d(o,`package.json`))??I(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.`]),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 u=d(o,`pnpm-workspace.yaml`);if(!t(u))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(u,`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 Ta(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=F(m(t,d(n,`index.js`)));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[].concat(e.includes??[]).some(e=>!String(e).startsWith(`!`)&&f(i,String(e))))}function Ea(e,t,n){let i=R(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=ut(r(i,`utf8`))}catch{return[[`biome:unreadable`,`${c(i)} does not parse.`]]}let o=[];return[].concat(a.extends??[]).some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`biome-config/biome.jsonc`))||o.push([`biome:extends`,`${c(i)} does not extend "${Ki}". 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`&&!Ta(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 Da=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function Oa(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];t++)i[t]===10&&a++;return a}function ka(e){try{return a(e)}catch{return null}}function Aa(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=R(e,t,[d(`node_modules`,i)]),s=o&&ka(o),c=s&&I(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(l&&typeof l==`object`&&(l=l.import??l.default),typeof l!=`string`)return null;let u=a===`.`&&typeof c.source==`string`?c.source:l.replace(ja,`src/`);return{pkgDir:s,entry:d(s,l),sourcePath:d(s,u),workspace:Ma(t,s)}}var ja=/^(?:\.\/)?(?:dist|lib|build)\//;function Ma(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 Na(e){try{return o(e).isFile()}catch{return!1}}var Pa=[`.ts`,`.tsx`,`.js`,`.jsx`,`.mjs`],Fa=[`index.ts`,`index.tsx`,`index.js`,`index.jsx`,`index.mjs`];function Ia(e){let t=e.replace(/\.(?:[cm]?jsx?|tsx?)$/,``);return[e,...Pa.map(e=>t+e),...Fa.map(t=>d(e,t))].find(Na)??null}function La(e){return e?e.workspace?Ia(e.sourcePath):e.entry:null}function Ra(e,t,n,r){if(n.startsWith(`.`))return!1;let i=Aa(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set,o=La(i);return o===null||Va(o,r,t,a)}var za=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,Ba=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function Va(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(za))if(r){if(o===t||o===void 0&&c!==void 0&&Ha(e,c,t,n,i))return!0}else 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||Ha(e,c,a,n,i)))return!0}return!1}function Ha(e,t,n,r,i){let a=t.startsWith(`.`)?Ua(l(e),t):La(Aa(l(e),r,t));return a!==null&&Va(a,n,r,i)}function Ua(e,t){let n=d(e,t);for(let e of Ba)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function Wa(e,n){let r=R(e,n,[Da]);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=null;try{o=JSON.parse(a.stdout??``).diagnostics}catch{o=null}if(!Array.isArray(o))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,o]=i;if(Object.hasOwn(qi,a)&&qi[a].includes(o)||Ra(e,n,a,o))continue;let c=F(m(e,h(e,String(t.location?.path)))),l=Oa(t.location??{},e,c),u=l?`${c}:${l}`:c,d=`missing-export:${c}`,f=`${u} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${d}\0${f}`,[d,f])}return[...s.values()]}function Ga(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=JSON.parse(r(d(t,`package.json`),`utf8`)),n=typeof e.module==`string`?e.module:typeof e.main==`string`?e.main:`dist/index.js`,i=r(d(t,n),`utf8`),a=new Set([...i.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(a.size>0)return a}catch{}return new Set(Ji)}function Ka(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?Ka(d(e,t.name)):[d(e,t.name)])}function qa(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function Ja(e){let n=d(e,`src`);if(!t(n))return[];let r=Ga(e),i=[];for(let t of Ka(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0];if(r.has(n)){let r=F(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 Ya=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,Xa=/throw\s+new\s+GradleException\s*\(/,Za=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function Qa(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,``);Ya.test(e)&&Xa.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)&&Za.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 $a=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]);function eo(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of Ka(i)){if(!$a.has(u(t).toLowerCase())||Ne(F(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
|
|
80
|
+
`).length;n.push([`stale-theme-name:${s}`,`${s}:${c} reads pre-0.89.0 theme names (${ca(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 ua=`tracked-case`;function da(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([`${ua}:${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 F=e=>e.split(`\\`).join(`/`),fa=(e,t)=>F(m(e,t))||`.`;function I(e){try{return JSON.parse(r(e,`utf8`))}catch{return null}}function pa(e,t){let n=v(`git`,t,{cwd:e,encoding:`utf8`,windowsHide:!0,maxBuffer:67108864});return n.status===0?n.stdout:null}function ma(e){let t=pa(e,[`rev-parse`,`--show-toplevel`]);return t?t.trim():null}function L(e,t){let n=pa(e,[`ls-files`,`-z`,`--`,...t.flatMap(e=>[e,`:(glob)**/${e}`])]);return n?[...new Set(n.split(`\0`).filter(Boolean))]:[]}function ha(e){let t=pa(e,[`ls-files`,`-z`]);return t?t.split(`\0`).filter(Boolean):[]}function ga(e,n){let r=e?.dependencies??{};if(Ui.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 _a=/^https:\/\/\S+-\d+\.\d+\.\d+(?:-[0-9A-Za-z.]+)?\.(?:tgz|tar\.gz)$/,va=e=>/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(e)||/^(?:workspace:\*|file:|link:)/.test(e)||_a.test(e),ya=/* @__PURE__ */ new Set([`@biomejs/biome`,`@webority/biome-config`]),ba=e=>/^(?:workspace:|file:|link:)/.test(e);function xa(e,t,n){let r=[],i={...e.dependencies,...e.devDependencies},a=Object.keys(i);for(let[e,n]of zi[t])i[e]&&r.push([`banned:${e}`,`"${e}" is a dependency. ${n}.`]);for(let[e,n]of Bi[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 Vi[t])i[e]&&i[n]&&r.push([`banned:${e}`,`"${e}" is a dependency beside ${n}. ${a}.`]);for(let[e,a]of Hi[t])(ya.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]);va(t)||r.push([`not-exact:${e}`,`"${e}": "${t}" is a range. Pin the version the lockfile holds, without ^ or ~.`])}for(let e of Gi){let t=e.filter(e=>i[e]&&!ba(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 R(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 Sa(e,t){let n=e,i=null;for(;;){let e=R(n,t,[`biome.json`,`biome.jsonc`]);if(!e)return i;i=l(e);let a;try{a=ut(r(e,`utf8`))}catch{return i}let o=l(i);if(a.root!==!1||i===t||o===i)return i;n=o}}function Ca(e,t,n){let r=Sa(e,t),i=r&&r!==e?I(d(r,`package.json`)):null;return i?{...i.dependencies,...i.devDependencies}:n}function wa(e,n){let i=[],a=R(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=I(d(o,`package.json`))??I(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.`]),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 u=d(o,`pnpm-workspace.yaml`);if(!t(u))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(u,`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 Ta(e,t,n,r){if((e.javascript?.globals??[]).includes(r))return!0;let i=F(m(t,d(n,`index.js`)));return(e.overrides??[]).some(e=>(e.javascript?.globals??[]).includes(r)&&[].concat(e.includes??[]).some(e=>!String(e).startsWith(`!`)&&f(i,String(e))))}function Ea(e,t,n){let i=R(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=ut(r(i,`utf8`))}catch{return[[`biome:unreadable`,`${c(i)} does not parse.`]]}let o=[];return[].concat(a.extends??[]).some(e=>e===`@webority/biome-config/biome.jsonc`||String(e).endsWith(`biome-config/biome.jsonc`))||o.push([`biome:extends`,`${c(i)} does not extend "${Ki}". 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`&&!Ta(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 Da=d(`node_modules`,`@biomejs`,`biome`,`bin`,`biome`);function Oa(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];t++)i[t]===10&&a++;return a}function ka(e){try{return a(e)}catch{return null}}function Aa(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=R(e,t,[d(`node_modules`,i)]),s=o&&ka(o),c=s&&I(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(l&&typeof l==`object`&&(l=l.import??l.default),typeof l!=`string`)return null;let u=a===`.`&&typeof c.source==`string`?c.source:l.replace(ja,`src/`);return{pkgDir:s,entry:d(s,l),sourcePath:d(s,u),workspace:Ma(t,s)}}var ja=/^(?:\.\/)?(?:dist|lib|build)\//;function Ma(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 Na(e){try{return o(e).isFile()}catch{return!1}}var Pa=[`.ts`,`.tsx`,`.js`,`.jsx`,`.mjs`],Fa=[`index.ts`,`index.tsx`,`index.js`,`index.jsx`,`index.mjs`];function Ia(e){let t=e.replace(/\.(?:[cm]?jsx?|tsx?)$/,``);return[e,...Pa.map(e=>t+e),...Fa.map(t=>d(e,t))].find(Na)??null}function La(e){return e?e.workspace?Ia(e.sourcePath):e.entry:null}function Ra(e,t,n,r){if(n.startsWith(`.`))return!1;let i=Aa(e,t,n);if(!i)return!1;let a=/* @__PURE__ */ new Set,o=La(i);return o===null||Va(o,r,t,a)}var za=/\bexport\s*(?:(\*)(?:\s*as\s+([\w$]+))?|\{([^}]*)\})(?:\s*from\s*["']([^"']+)["'])?/g,Ba=[``,`.js`,`.mjs`,`.cjs`,`.jsx`,`.ts`,`.tsx`,`/index.js`,`/index.mjs`,`/index.jsx`,`/index.ts`,`/index.tsx`];function Va(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(za))if(r){if(o===t||o===void 0&&c!==void 0&&Ha(e,c,t,n,i))return!0}else 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||Ha(e,c,a,n,i)))return!0}return!1}function Ha(e,t,n,r,i){let a=t.startsWith(`.`)?Ua(l(e),t):La(Aa(l(e),r,t));return a!==null&&Va(a,n,r,i)}function Ua(e,t){let n=d(e,t);for(let e of Ba)if(o(n+e,{throwIfNoEntry:!1})?.isFile())return n+e;return null}function Wa(e,n){let r=R(e,n,[Da]);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=null;try{o=JSON.parse(a.stdout??``).diagnostics}catch{o=null}if(!Array.isArray(o))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,o]=i;if(Object.hasOwn(qi,a)&&qi[a].includes(o)||Ra(e,n,a,o))continue;let c=F(m(e,h(e,String(t.location?.path)))),l=Oa(t.location??{},e,c),u=l?`${c}:${l}`:c,d=`missing-export:${c}`,f=`${u} imports ${o} from ${a}, which does not export it. Import the name the module exports (a default export is imported without braces).`;s.set(`${d}\0${f}`,[d,f])}return[...s.values()]}function Ga(e){let t=d(e,`node_modules`,`@webority`,`ui-react`);try{let e=JSON.parse(r(d(t,`package.json`),`utf8`)),n=typeof e.module==`string`?e.module:typeof e.main==`string`?e.main:`dist/index.js`,i=r(d(t,n),`utf8`),a=new Set([...i.matchAll(/App[A-Z][A-Za-z0-9]*/g)].map(e=>e[0]));if(a.size>0)return a}catch(e){if(e.code!==`ENOENT`)throw e}return new Set(Ji)}function Ka(e){return i(e,{withFileTypes:!0}).flatMap(t=>t.isDirectory()?Ka(d(e,t.name)):[d(e,t.name)])}function qa(e){try{return JSON.parse(r(d(e,`package.json`),`utf8`)).name===`@webority/ui-root`}catch{return!1}}function Ja(e){let n=d(e,`src`);if(!t(n))return[];let r=Ga(e),i=[];for(let t of Ka(n)){if(![`.jsx`,`.tsx`].includes(u(t)))continue;let n=c(t).split(`.`)[0];if(r.has(n)){let r=F(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 Ya=/gradle\.startParameter\.taskNames[^\n]*["']release["']/,Xa=/throw\s+new\s+GradleException\s*\(/,Za=/^\s*edgeToEdgeEnabled\s*=\s*false\s*$/m;function Qa(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,``);Ya.test(e)&&Xa.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)&&Za.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 $a=/* @__PURE__ */ new Set([`.js`,`.jsx`,`.mjs`,`.cjs`,`.ts`,`.tsx`]);function eo(e,n){let i=d(e,`src`);if(!t(i))return[];let a=[];for(let t of Ka(i)){if(!$a.has(u(t).toLowerCase())||Ne(F(m(n,t)),n))continue;let i=r(t,`utf8`).split(`
|
|
81
81
|
`).map(e=>/^\s*(?:\/\/|\/\*|\*)/.test(e)?``:e).join(`
|
|
82
82
|
`),o=F(m(e,t));for(let[e,t,n,r]of Wi)t.test(i)&&a.push([`${e}:${o}`,`${o} ${n}. ${r}.`])}return a}var to=`.husky/pre-commit`,no=[`library`,`tool`],ro=`.webority/settings.json`;function io(e){let n=d(e,ro);if(t(n)&&!no.includes(JSON.parse(r(n,`utf8`)).kind))return[];let i=d(e,to),a=t(i)?r(i,`utf8`).replace(/\r\n/g,`
|
|
83
83
|
`):null;return a===`# Fast only. The expensive verification is \`corepack pnpm check\`, run by hand before pushing
|
|
@@ -145,22 +145,22 @@ fi
|
|
|
145
145
|
`?`
|
|
146
146
|
`:` `),r++);r<n&&(t.push("`"),r++)}else t.push(i),r++}return t.join(``)}var So=/\bfunction\s+([A-Z][\w$]*)\s*\(|\bconst\s+([A-Z][\w$]*)\s*=\s*(?:memo\(\s*|forwardRef\(\s*)?(?:\([^)]*\)|[\w$]+)\s*=>/g;function Co(e,t,{spreadCounts:n=!0}={}){let r=/* @__PURE__ */ new Set;for(let i of e.matchAll(So)){let a=z(e,i.index+i[0].length);for(;a&&fo.has(a.name);)a=z(e,a.nameEnd);if(!a)continue;let o=No(e,a.nameEnd);(n&&o.spread||t.test(o.top))&&r.add(i[1]??i[2])}return r}function wo(e,t,n){let r=To(e,t,n);if(!r.block)return Ao(e,r.start,n);let i=Eo(e,r.start,n);for(let t=0;t<i.length;t++){let r=t+1<i.length?i[t+1]:n,a=Ao(e,i[t],r);if(a)return a}return null}function To(e,t,n){mo.lastIndex=t;let r=mo.exec(e);ho.lastIndex=t;let i=ho.exec(e),a=r&&r.index<n?r.index:-1,o=i&&i.index<n?i.index:-1;if(o!==-1&&(a===-1||o<a)){let r=e.indexOf(`(`,o),i=r===-1?-1:e.indexOf(`{`,ko(e,r));return i===-1||i>=n?{start:t,block:!1}:{start:i+1,block:!0}}if(a===-1)return{start:t,block:!1};let s=a+2;for(;s<n&&/\s/.test(e[s]);)s++;return e[s]===`{`?{start:s+1,block:!0}:{start:s,block:!1}}function Eo(e,t,n){let r=[],i=t;for(;i<n;){let t=e[i];if(t===`{`&&Do(e,i))i=Oo(e,i)+1;else if(go.lastIndex=i,t===`r`&&go.test(e)){let t=i+6;for(;t<n&&(e[t]===` `||e[t]===` `);)t++;t<n&&!`;
|
|
147
147
|
\r})`.includes(e[t])&&r.push(t),i=t}else i++}return r}function Do(e,t){let n=t-1;for(;n>=0&&/\s/.test(e[n]);)n--;if(n>=1&&e[n]===`>`&&e[n-1]===`=`)return!0;if(e[n]!==`)`)return!1;let r=0;for(;n>=0;n--)if(e[n]===`)`)r++;else if(e[n]===`(`&&--r===0)break;let i=e.slice(Math.max(0,n-80),n);return/\bfunction\b(?:\s+[\w$]+)?\s*$/.test(i)}function Oo(e,t){let n=0;for(let r=t;r<e.length;r++)if(e[r]===`{`)n++;else if(e[r]===`}`&&--n===0)return r;return e.length}function ko(e,t){let n=0;for(let r=t;r<e.length;r++)if(e[r]===`(`)n++;else if(e[r]===`)`&&--n===0)return r;return e.length}function Ao(e,t,n){let r=z(e,t);for(;r&&r.index<n&&fo.has(r.name);)r=z(e,r.nameEnd);return!r||r.index>=n||jo(e,t,r.index)>0?null:r}function jo(e,t,n){let r=0;for(let i=t;i<n;i++)e[i]===`{`?r++:e[i]===`}`&&r>0&&r--;return r}function Mo(e,t){let n=0;for(let r=t;r<e.length;r++)if(e[r]===`(`)n++;else if(e[r]===`)`&&(n--,n===0))return r;return e.length}function z(e,t){lo.lastIndex=t;let n=lo.exec(e);return n?{index:n.index,name:n[1],nameEnd:n.index+n[0].length}:null}function No(e,t){let n=0,r=``,i=!1,a=t;for(;a<e.length;a++){let t=e[a];if(n===0&&t===`>`)break;n===0?(t===`{`&&(uo.lastIndex=a,uo.test(e)&&(i=!0),n++),r+=t):(r+=` `,t===`{`?n++:t===`}`&&n--)}return{top:r,spread:i,from:t}}function Po(e){let t=[0];for(let n=0;n<e.length;n++)e[n]===`
|
|
148
|
-
`&&t.push(n+1);return t}function Fo(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=n+r>>1;e[i]<=t?n=i+1:r=i-1}return r+1}var Io=[`.js`,`.jsx`,`.ts`,`.tsx`],Lo=/\.(?:js|jsx|ts|tsx)$/,Ro=/(?:^|\/)index\.[jt]sx?$/,zo=/\.meta\.[jt]sx?$|\.stories\.[jt]sx?$/,Bo=/(?:<partial\s+name="([^"]+)"|\bPartial(?:Async)?\(\s*"([^"]+)"|\bLayout\s*=\s*"([^"]+)")/g,Vo=/"([^"\\\n]*)"/g,Ho=/^_[\w.-]+$/,
|
|
148
|
+
`&&t.push(n+1);return t}function Fo(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=n+r>>1;e[i]<=t?n=i+1:r=i-1}return r+1}var Io=[`.js`,`.jsx`,`.ts`,`.tsx`],Lo=/\.(?:js|jsx|ts|tsx)$/,Ro=/(?:^|\/)index\.[jt]sx?$/,zo=/\.meta\.[jt]sx?$|\.stories\.[jt]sx?$/,Bo=/(?:<partial\s+name="([^"]+)"|\bPartial(?:Async)?\(\s*"([^"]+)"|\bLayout\s*=\s*"([^"]+)")/g,Vo=/"([^"\\\n]*)"/g,Ho=new RegExp(String.raw`\b(?:${`TopbarEndPartial`})\s*=\s*"(_[^"\\\n]*)"`,`g`),Uo=/^_[\w.-]+$/,Wo=/(?:ProjectReference\s+Include|Project\s+Path)="([^"]+)"/g,Go=/(?:^|\/)src\/components\/([^/]+)\/[^/]+$/,Ko=/(?:^|\/)Pages\/Shared\/(_[^/]+)\.cshtml$/,qo=/(?:^|\/)[^/]+\.Web\.Common\/[^/]+\.csproj$/,Jo=/(?:^|\/)_ViewStart\.cshtml$/,Yo=/\bLayout\s*=\s*"([^"]+)"/g,Xo=/(?:^|\/)_[^/]*Layout\.cshtml$/,Zo=/^\s*@\*\s*layering-allow\s+([a-z-]+)\s*(?::\s*(.*?))?\s*\*@\s*$/;function Qo(e,n){let i=new Set(n),a=/* @__PURE__ */ new Map,o=/* @__PURE__ */ new Map,s=/* @__PURE__ */ new Map,c=/* @__PURE__ */ new Map,u=t=>(c.has(t)||c.set(t,D(e,t)),c.get(t)),f=/* @__PURE__ */ new Map,m=e=>{if(!Ro.test(e))return null;if(!f.has(e)){let t=/* @__PURE__ */ new Map,n=[];for(let r of O(u(e))){if(r.kind!==`export-from`)continue;let a=es(e,r.specifier,i);if(a!==null)for(let{name:e,local:i}of r.imported)e===`*`&&i===`*`?n.push(a):t.set(i,a)}f.set(e,{named:t,star:n})}return f.get(e)},h=(e,t)=>RegExp(`export\\s+(?:const|let|var|function\\*?|class)\\s+${t}\\b|export\\s*\\{[^}]*\\b${t}\\b`).test(u(e).blanked);for(let e of n)if(Lo.test(e)&&!zo.test(e))for(let t of O(u(e))){let n=es(e,t.specifier,i);if(n===null)continue;let r=t.kind===`export-from`?null:m(n);if(!r){t.kind===`export-from`&&Ro.test(e)||B(a,n,e);continue}B(a,n,e);let o=t.imported.filter(({name:e})=>e!==`*`),s=o.length===t.imported.length&&o.length>0?o.map(({name:e})=>r.named.get(e)??r.star.find(t=>h(t,e))):[...r.named.values(),...r.star];for(let t of s)B(a,t??null,e)}let g=/* @__PURE__ */ new Set;for(let t of n){if(!Lo.test(t)&&!t.endsWith(`.cshtml`))continue;let n=$o(r(d(e,t),`utf8`));for(let e of n.matchAll(Bo)){let n=(e[1]??e[2]??e[3]).split(`/`).pop().replace(/\.cshtml$/,``);B(o,n,t),Xo.test(t)&&g.add(n)}}let _=L(e,[`*.cs`,`*.csproj`,`*.sln`,`*.slnx`]).filter(n=>t(d(e,n)));for(let t of _){let n=r(d(e,t),`utf8`);if(t.endsWith(`.cs`)){let e=$o(n);for(let t of e.matchAll(Ho))g.add(t[1]);for(let n of e.matchAll(Vo)){let e=n[1].split(`/`).pop().replace(/\.cshtml$/,``);Uo.test(e)&&B(o,e,t)}}else for(let e of n.matchAll(Wo))B(s,p.normalize(p.join(l(t),e[1].replace(/\\/g,`/`))),t)}let v=new Set(_.filter(e=>e.endsWith(`.csproj`)).map(e=>p.dirname(e))),y=/* @__PURE__ */ new Map;for(let t of n){if(!Jo.test(t))continue;let n=$o(r(d(e,t),`utf8`));for(let e of n.matchAll(Yo))B(y,as(t,v),e[1].split(`/`).pop().replace(/\.cshtml$/,``))}let b=[];for(let e of n){if(!Lo.test(e)||!rs(e))continue;let t=ts(a,e,e),n=t>=2||t===1&&is(a,e),r=`used by ${t} other file${t===1?``:`s`}`;for(let t of A(`single-use-component`,u(e),n?[]:[{line:1,message:r}]))b.push({rule:`single-use-component`,file:e,line:1,text:t.message,hint:t.message===r?`move it next to the page that uses it`:null})}for(let t of n){let n=Ko.exec(t);if(!n)continue;let i=os(r(d(e,t),`utf8`));i===``&&b.push({rule:`single-use-component`,file:t,line:1,text:`layering-allow needs a reason`,hint:null});let a=Xo.test(t)||g.has(n[1])||(y.get(as(t,v))?.has(n[1])??!1);i||a||ns(b,t,ts(o,n[1],t))}for(let e of _)e.endsWith(`.csproj`)&&qo.test(e)&&ns(b,e,ts(s,e,e));return b}function $o(e){return e.split(`
|
|
149
149
|
`).filter(e=>!/^\s*(?:\/\/|\/\*|\*)/.test(e)).join(`
|
|
150
|
-
`)}function
|
|
151
|
-
`,1)[0]);return t?.[1]===`single-use-component`?(t[2]??``).trim():null}var
|
|
152
|
-
`),r=[];for(let e of t.matchAll(
|
|
153
|
-
`).length;r.push({rule:
|
|
154
|
-
`),a=[];for(let e of
|
|
155
|
-
`).length;a.push({rule:`library-class-restyle`,line:o,text:(i[o-1]??``).trim().slice(0,160),hint:`restyles library class .${t[1]}; use a library prop or token, or a product class`})}return a}var hs=/*#__PURE__*/ JSON.parse(`["accordion","accordion-body","accordion-button","accordion-collapse","accordion-flush","accordion-header","accordion-item","alert","alert-accent","alert-action","alert-borderless","alert-content","alert-danger","alert-dark","alert-dismissible","alert-has-action","alert-has-icon","alert-heading","alert-icon","alert-icon-image","alert-info","alert-lg","alert-light","alert-link","alert-neutral","alert-primary","alert-secondary","alert-sm","alert-stack","alert-success","alert-warning","app-content","app-footer","app-main","app-nav-badge","app-nav-caret","app-nav-group","app-nav-group-label","app-nav-icon","app-nav-item","app-nav-sub","app-nav-sub-inner","app-nav-subitem","app-nav-text","app-nav-trailing","app-phone-number-input","app-popover","app-scrim","app-shell","app-sidebar","app-sidebar-brand","app-sidebar-brand-text","app-sidebar-foot","app-sidebar-scroll","app-sidebar-start","app-sidebar-start-compact","app-sidebar-toggle","app-tab","app-tab-count","app-tab-icon","app-tab-img","app-tab-indicator","app-tabs","app-tabs-fitted","app-tabs-group","app-tabs-lg","app-tabs-pills","app-tabs-scroll-btn","app-tabs-sm","app-tabs-vertical","app-tabs-wrap","app-topbar","app-topbar-end","app-topbar-menu","app-topbar-start","badge","badge-danger","badge-dot","badge-info","badge-primary","badge-success","badge-warning","breadcrumb","breadcrumb-item","btn","btn-anim-expand","btn-anim-fill","btn-anim-glow","btn-anim-none","btn-anim-roll","btn-anim-sheen","btn-check","btn-close","btn-close-white","btn-danger","btn-dark","btn-ghost-danger","btn-ghost-info","btn-ghost-neutral","btn-ghost-primary","btn-ghost-success","btn-ghost-warning","btn-glass","btn-group","btn-group-lg","btn-group-sm","btn-group-vertical","btn-icon","btn-info","btn-lg","btn-light","btn-link","btn-link-danger","btn-link-info","btn-link-neutral","btn-link-primary","btn-link-success","btn-link-warning","btn-neutral","btn-outline-danger","btn-outline-dark","btn-outline-info","btn-outline-light","btn-outline-neutral","btn-outline-primary","btn-outline-secondary","btn-outline-success","btn-outline-warning","btn-pill","btn-pill-sm","btn-primary","btn-radius-xl","btn-secondary","btn-sm","btn-soft-danger","btn-soft-info","btn-soft-neutral","btn-soft-primary","btn-soft-success","btn-soft-warning","btn-static","btn-success","btn-toolbar","btn-warning","card","card-accent","card-body","card-clickable","card-close","card-compact","card-constrained","card-divided","card-elevated","card-flush","card-footer","card-group","card-header","card-header-actions","card-header-icon","card-header-main","card-header-pills","card-header-tabs","card-header-titles","card-img","card-img-bottom","card-img-overlay","card-img-top","card-lifted","card-link","card-media","card-muted","card-outlined","card-pad-lg","card-pad-none","card-pad-sm","card-subtitle","card-text","card-title","dropdown","dropdown-center","dropdown-divider","dropdown-header","dropdown-item","dropdown-item-text","dropdown-menu","dropdown-menu-dark","dropdown-menu-end","dropdown-menu-lg-end","dropdown-menu-lg-start","dropdown-menu-md-end","dropdown-menu-md-start","dropdown-menu-sm-end","dropdown-menu-sm-start","dropdown-menu-start","dropdown-menu-xl-end","dropdown-menu-xl-start","dropdown-menu-xxl-end","dropdown-menu-xxl-start","dropdown-search-icon","dropdown-search-input","dropdown-search-wrapper","dropdown-toggle","dropdown-toggle-split","form-check","form-check-circle","form-check-inline","form-check-input","form-check-label","form-check-lg","form-check-reverse","form-check-sm","form-control","form-control-color","form-control-lg","form-control-plaintext","form-control-sm","form-label","form-select","form-select-lg","form-select-sm","form-text","input-group","input-group-lg","input-group-sm","input-group-text","list-group","list-group-flush","list-group-horizontal","list-group-horizontal-lg","list-group-horizontal-md","list-group-horizontal-sm","list-group-horizontal-xl","list-group-horizontal-xxl","list-group-item","list-group-item-action","list-group-item-danger","list-group-item-dark","list-group-item-info","list-group-item-light","list-group-item-primary","list-group-item-secondary","list-group-item-success","list-group-item-warning","list-group-numbered","modal","modal-backdrop","modal-body","modal-content","modal-dialog","modal-dialog-centered","modal-dialog-scrollable","modal-footer","modal-fullscreen","modal-fullscreen-lg-down","modal-fullscreen-md-down","modal-fullscreen-sm-down","modal-fullscreen-xl-down","modal-fullscreen-xxl-down","modal-header","modal-lg","modal-open","modal-sm","modal-static","modal-title","modal-xl","nav-link","nav-pills","nav-tabs","offcanvas","offcanvas-backdrop","offcanvas-body","offcanvas-bottom","offcanvas-end","offcanvas-header","offcanvas-lg","offcanvas-md","offcanvas-sm","offcanvas-start","offcanvas-title","offcanvas-top","offcanvas-xl","offcanvas-xxl","page-item","page-link","pagination","pagination-lg","pagination-sm","progress","progress-bar","progress-bar-animated","progress-bar-striped","progress-sm","progress-stacked","spinner-border","spinner-border-sm","table","table-active","table-bordered","table-borderless","table-danger","table-dark","table-group-divider","table-hover","table-info","table-ledger","table-light","table-pagination","table-primary","table-responsive","table-responsive-lg","table-responsive-md","table-responsive-sm","table-responsive-xl","table-responsive-xxl","table-secondary","table-sm","table-striped","table-striped-columns","table-success","table-warning","table-wrap","wui-accordion","wui-accordion-body","wui-accordion-count","wui-accordion-flat","wui-accordion-icon","wui-accordion-item","wui-accordion-panel","wui-accordion-trigger","wui-account-switcher","wui-account-switcher-badge","wui-account-switcher-label","wui-account-switcher-list","wui-account-switcher-option","wui-account-switcher-option-name","wui-account-switcher-option-note","wui-account-switcher-option-text","wui-account-switcher-tick","wui-action-icon-file","wui-addon","wui-addon-group","wui-addon-group-lg","wui-addon-group-sm","wui-attach-error","wui-attach-progress","wui-auth","wui-auth-aside","wui-auth-body","wui-auth-footer","wui-auth-logo","wui-auth-main","wui-auth-panel","wui-auth-split","wui-banner","wui-banner-action","wui-banner-body","wui-banner-danger","wui-banner-dismiss","wui-banner-has-action","wui-banner-icon","wui-banner-info","wui-banner-neutral","wui-banner-success","wui-banner-warning","wui-bell-body","wui-bell-count","wui-bell-dot","wui-bell-foot","wui-bell-head","wui-bell-icon","wui-bell-item","wui-bell-item-read","wui-bell-item-title","wui-bell-list","wui-bell-markall","wui-bell-menu","wui-bell-state","wui-bell-title","wui-bell-trigger","wui-bell-when","wui-brand-dark","wui-brand-has-mark","wui-brand-light","wui-brand-logo","wui-brand-mark","wui-brand-mark-only","wui-brand-themed","wui-btn-group","wui-btn-group-full","wui-btn-pin-end","wui-btn-pin-icon","wui-btn-roll","wui-btn-roll-ico","wui-btn-roll-ico__next","wui-btn-roll__a","wui-btn-roll__b","wui-btn-shape-pill","wui-btn-shape-sharp","wui-calendar-chip","wui-calendar-chip-time","wui-calendar-chip-title","wui-calendar-event-danger","wui-calendar-event-info","wui-calendar-event-neutral","wui-calendar-event-primary","wui-calendar-event-success","wui-calendar-event-warning","wui-calendar-fallback","wui-calendar-nav","wui-calendar-nav-btn","wui-calendar-stack","wui-calendar-status","wui-calendar-status-text","wui-calendar-surface","wui-calendar-title","wui-calendar-today-btn","wui-calendar-toolbar","wui-calendar-view-btn","wui-calendar-views","wui-carousel","wui-carousel-arrow","wui-carousel-dot","wui-carousel-dots","wui-carousel-pause","wui-carousel-pause-icon","wui-carousel-pause-text","wui-carousel-slide","wui-carousel-stage","wui-carousel-track","wui-cell","wui-cell-end","wui-cell-mono","wui-cell-numeric","wui-cell-primary","wui-cell-secondary","wui-chart-canvas","wui-chart-card","wui-chart-card-legend-off","wui-chart-card-legend-tool","wui-chart-card-retry","wui-chart-card-tool","wui-chart-legend","wui-chart-legend-item","wui-chart-legend-label","wui-chart-legend-swatch","wui-chart-legend-swatch-line","wui-chart-num","wui-chart-skeleton","wui-chart-state","wui-chart-state-text","wui-chart-surface","wui-chart-table","wui-chart-table-note","wui-chart-table-wrap","wui-chart-tooltip","wui-chart-tooltip-body","wui-chart-tooltip-foot","wui-chart-tooltip-label","wui-chart-tooltip-row","wui-chart-tooltip-swatch","wui-chart-tooltip-swatch-line","wui-chart-tooltip-title","wui-chart-tooltip-value","wui-check","wui-chip-group","wui-chip-group-nowrap","wui-choice-chip-solid","wui-cmd-back","wui-cmd-card","wui-cmd-crumb","wui-cmd-crumbs","wui-cmd-empty","wui-cmd-footer","wui-cmd-group","wui-cmd-group-label","wui-cmd-input","wui-cmd-item","wui-cmd-item-chevron","wui-cmd-item-desc","wui-cmd-item-icon","wui-cmd-item-label","wui-cmd-item-meta","wui-cmd-item-text","wui-cmd-list","wui-cmd-mark","wui-cmd-page","wui-cmd-recents","wui-cmd-search","wui-cmd-search-icon","wui-cmd-spinner","wui-cmd-tabs","wui-cmd-trail","wui-code-bar","wui-code-block","wui-code-copy","wui-code-copy-icon","wui-code-line","wui-code-pre","wui-code-source","wui-code-t-attr","wui-code-t-comment","wui-code-t-function","wui-code-t-keyword","wui-code-t-literal","wui-code-t-number","wui-code-t-punct","wui-code-t-string","wui-code-t-tag","wui-code-t-type","wui-code-t-variable","wui-code-title","wui-code-view","wui-col-grow","wui-col-hidden","wui-col-resizable","wui-col-resize","wui-col-span-2","wui-col-span-3","wui-col-span-full","wui-cols-2","wui-cols-3","wui-cols-4","wui-column-menu","wui-column-menu-item","wui-column-menu-title","wui-comment--internal","wui-comment--mine","wui-comment-action","wui-comment-actions","wui-comment-attachment","wui-comment-attachment-size","wui-comment-attachments","wui-comment-author","wui-comment-avatar","wui-comment-composer","wui-comment-composer-avatar","wui-comment-composer-inline","wui-comment-confirm","wui-comment-confirm-text","wui-comment-edited","wui-comment-editor","wui-comment-empty","wui-comment-error","wui-comment-form-actions","wui-comment-head","wui-comment-internal-badge","wui-comment-list","wui-comment-main","wui-comment-reactions","wui-comment-replies","wui-comment-reply","wui-comment-row","wui-comment-text","wui-comment-text-deleted","wui-comment-thread","wui-comment-thread--conversation","wui-comment-time","wui-compare-center","wui-compare-code","wui-compare-group","wui-compare-group-row","wui-compare-nowrap","wui-compare-relaxed","wui-compare-scroll","wui-compare-scroll-table","wui-compare-state","wui-compare-state-no","wui-compare-state-partial","wui-compare-state-warn","wui-compare-state-yes","wui-compare-sticky-first","wui-compare-sticky-head","wui-confirm","wui-confirm-actions","wui-confirm-body","wui-confirm-content","wui-confirm-icon","wui-confirm-msg","wui-confirm-plain","wui-confirm-title","wui-consent-banner-accept","wui-consent-banner-actions","wui-consent-banner-category","wui-consent-banner-category-description","wui-consent-banner-description","wui-consent-banner-heading","wui-consent-banner-panel","wui-consent-banner-policy","wui-consent-banner-reject","wui-consent-banner-save","wui-consent-banner-settings","wui-consent-banner-settings-toggle","wui-context-menu-chevron","wui-context-menu-hint","wui-context-menu-panel","wui-context-menu-search","wui-context-menu-sub","wui-context-menu-subpanel","wui-context-menu-tick","wui-control","wui-control-group","wui-control-label","wui-crop-controls","wui-crop-frame","wui-crop-frame--round","wui-crop-handle","wui-crop-handle--ne","wui-crop-handle--nw","wui-crop-handle--se","wui-crop-handle--sw","wui-crop-img","wui-crop-preview","wui-crop-previews","wui-crop-previews--round","wui-crop-stage","wui-crop-toolbtn","wui-crop-tools","wui-crop-zoom","wui-crop-zoombtn","wui-dashboard-cell","wui-dashboard-cell-3","wui-dashboard-cell-4","wui-dashboard-cell-6","wui-dashboard-grid","wui-daterange-main","wui-daterange-pop--presets","wui-daterange-preset","wui-daterange-presets","wui-descs-col-4","wui-descs-emphasis","wui-descs-icon","wui-descs-link","wui-descs-list","wui-descs-span-1","wui-descs-span-10","wui-descs-span-11","wui-descs-span-12","wui-descs-span-2","wui-descs-span-3","wui-descs-span-4","wui-descs-span-5","wui-descs-span-6","wui-descs-span-7","wui-descs-span-8","wui-descs-span-9","wui-descs-summary","wui-detail-pane","wui-drawer","wui-drawer-backdrop","wui-drawer-body","wui-drawer-close","wui-drawer-discard","wui-drawer-discard-text","wui-drawer-discarding","wui-drawer-footer","wui-drawer-grip","wui-drawer-handle","wui-drawer-header","wui-drawer-headtext","wui-drawer-locked","wui-drawer-panel","wui-drawer-subtitle","wui-drawer-title","wui-drawer-title-ic","wui-drop-tray","wui-dropdown-form","wui-dropdown-item-disabled","wui-dropdown-menu-lg","wui-dropdown-menu-md","wui-dropdown-menu-sm","wui-dropdown-trigger","wui-dropdown-trigger-neutral","wui-due-date","wui-due-date-danger","wui-due-date-empty","wui-due-date-warning","wui-empty-illustration","wui-empty-illustration-custom","wui-empty-state-table","wui-error-summary","wui-error-summary-list","wui-error-summary-title","wui-expand-cell","wui-expand-toggle","wui-field-busy","wui-field-message","wui-file-busy","wui-file-input-button-field","wui-file-tile","wui-file-tile-ext","wui-file-tile-meta","wui-file-tile-name","wui-file-tile-text","wui-file-tiles","wui-file-viewer-actions","wui-file-viewer-audio-art","wui-file-viewer-body","wui-file-viewer-canvas","wui-file-viewer-center","wui-file-viewer-controls","wui-file-viewer-divider","wui-file-viewer-download","wui-file-viewer-end","wui-file-viewer-fullscreen","wui-file-viewer-group","wui-file-viewer-hit","wui-file-viewer-hit-current","wui-file-viewer-image","wui-file-viewer-image-scroll","wui-file-viewer-image-stage","wui-file-viewer-links","wui-file-viewer-menu","wui-file-viewer-menu-tick","wui-file-viewer-name","wui-file-viewer-page","wui-file-viewer-page-input","wui-file-viewer-page-total","wui-file-viewer-pages","wui-file-viewer-panning","wui-file-viewer-player","wui-file-viewer-player-audio","wui-file-viewer-print-frame","wui-file-viewer-row","wui-file-viewer-scroll","wui-file-viewer-search","wui-file-viewer-search-count","wui-file-viewer-search-field","wui-file-viewer-seek","wui-file-viewer-sheet","wui-file-viewer-skeleton","wui-file-viewer-slot","wui-file-viewer-speed","wui-file-viewer-stage","wui-file-viewer-start","wui-file-viewer-status","wui-file-viewer-text","wui-file-viewer-thumb","wui-file-viewer-thumb-frame","wui-file-viewer-thumb-no","wui-file-viewer-thumbs","wui-file-viewer-time","wui-file-viewer-toolbar","wui-file-viewer-video","wui-file-viewer-view-end","wui-file-viewer-volume","wui-file-viewer-zoom","wui-filter-bar","wui-filter-bar--folded","wui-filter-chip-inline","wui-filter-count-desktop","wui-filter-count-phone","wui-filter-form","wui-filter-more","wui-filter-more-head","wui-filter-more-panel","wui-filter-more-panel-end","wui-filter-more-trigger","wui-filter-popover","wui-filter-popover-field","wui-filter-popover-foot","wui-filter-popover-grid","wui-filter-popover-head","wui-filter-popover-more","wui-filter-popover-note","wui-filter-popover-panel","wui-filter-popover-title","wui-filter-popover-trigger","wui-flag","wui-float-above","wui-floating-btn","wui-floating-btn--lg","wui-floating-btn--secondary","wui-floating-btn--sm","wui-floating-stack","wui-floating-stack-item","wui-floating-stack-item--primary","wui-floating-stack-item--secondary","wui-force-active","wui-force-focus","wui-force-hover","wui-form-cols-1","wui-form-cols-10","wui-form-cols-11","wui-form-cols-12","wui-form-cols-2","wui-form-cols-3","wui-form-cols-4","wui-form-cols-5","wui-form-cols-6","wui-form-cols-7","wui-form-cols-8","wui-form-cols-9","wui-form-compact","wui-form-inline","wui-form-labels-start","wui-form-row-keep","wui-form-rule-none","wui-form-section","wui-form-section-head","wui-form-section-title","wui-form-side","wui-form-title-display","wui-grid","wui-grid-lg-2","wui-grid-lg-3","wui-grid-lg-4","wui-grid-md-2","wui-grid-md-3","wui-grid-md-4","wui-group-cell","wui-group-count","wui-group-label","wui-group-row","wui-group-toggle","wui-has-value-avatar","wui-hidden-from-lg","wui-hidden-from-md","wui-hidden-from-sm","wui-hidden-from-xl","wui-hover-card-loading","wui-hover-card-panel","wui-hover-card-trigger","wui-icon","wui-icon-tip","wui-ill-accent","wui-ill-accent-line","wui-ill-card","wui-ill-danger","wui-ill-danger-fill","wui-ill-danger-line","wui-ill-dash","wui-ill-ink","wui-ill-mute","wui-ill-soft","wui-ill-thick","wui-illustration","wui-image-picker","wui-image-picker-avatar","wui-image-picker-buttons","wui-image-picker-buttons-actions","wui-image-picker-buttons-badge","wui-image-picker-buttons-camera","wui-image-picker-buttons-face","wui-image-picker-buttons-img","wui-image-picker-buttons-placeholder","wui-image-picker-field","wui-image-picker-field-inline","wui-image-picker-field-profile","wui-image-picker-hint","wui-image-picker-img","wui-image-picker-logo","wui-image-picker-meta","wui-image-picker-overlay","wui-image-picker-remove","wui-image-picker-ring","wui-image-picker-rounded","wui-image-picker-row","wui-image-picker-shell","wui-image-picker-square","wui-image-picker-subtitle","wui-image-picker-title","wui-inline-edit","wui-inline-edit--nowrap","wui-inline-edit-display","wui-inline-edit-editor","wui-inline-edit-error","wui-inline-edit-icon","wui-inline-edit-saved","wui-inline-edit-spinner","wui-inline-edit-status","wui-inline-edit-value","wui-input-group","wui-input-leading","wui-input-trailing","wui-kanban","wui-kanban-action","wui-kanban-actions","wui-kanban-board","wui-kanban-body","wui-kanban-card","wui-kanban-card-title","wui-kanban-collapse","wui-kanban-column","wui-kanban-count","wui-kanban-dot","wui-kanban-drop-note","wui-kanban-empty","wui-kanban-ghost","wui-kanban-head","wui-kanban-hint","wui-kanban-lock","wui-kanban-more","wui-kanban-summary","wui-kanban-switch","wui-kanban-switch-title","wui-kanban-switcher","wui-kanban-title","wui-kbd","wui-kpi-delta--danger","wui-kpi-delta--neutral","wui-kpi-delta--success","wui-leaving","wui-lightbox","wui-lightbox-bar","wui-lightbox-btn","wui-lightbox-caption","wui-lightbox-count","wui-lightbox-image","wui-lightbox-item","wui-lightbox-nav","wui-lightbox-next","wui-lightbox-overlay","wui-lightbox-prev","wui-lightbox-stage","wui-lightbox-status","wui-lightbox-tools","wui-lightbox-zoomed","wui-link","wui-link--bracket","wui-link--clamp","wui-link--fade","wui-link--glow","wui-link--grow","wui-link--highlight","wui-link--icon","wui-link--lg","wui-link--none","wui-link--shine","wui-link--slide","wui-link--sm","wui-link--static","wui-link--surface-dark","wui-link--underline","wui-link--underline-center","wui-link__ic","wui-link__ic--left","wui-link__ic--right","wui-link__label","wui-list-card-count","wui-list-card-filters","wui-markdown","wui-markdown-citation","wui-markdown-source","wui-mention","wui-mention-empty","wui-mention-input","wui-mention-input-text","wui-mention-menu","wui-mention-option","wui-mention-option-description","wui-mention-option-label","wui-mention-option-photo","wui-mention-option-text","wui-meta-list","wui-metric","wui-metric-label","wui-metric-note","wui-metric-strip","wui-metric-strip-cols-3","wui-metric-strip-cols-4","wui-metric-strip-cols-5","wui-metric-strip-sm","wui-metric-tone-danger","wui-metric-tone-info","wui-metric-tone-success","wui-metric-tone-warning","wui-metric-value","wui-modal","wui-modal-back","wui-modal-backdrop-stacked","wui-modal-body","wui-modal-close","wui-modal-dim","wui-modal-eyebrow","wui-modal-footer","wui-modal-fullscreen","wui-modal-header","wui-modal-header-actions","wui-modal-headicon","wui-modal-heading","wui-modal-headtext","wui-modal-loading","wui-modal-shell","wui-modal-skeleton","wui-modal-skeleton--short","wui-modal-stacked","wui-modal-state","wui-modal-state-actions","wui-modal-state-text","wui-modal-state-title","wui-modal-submit-error","wui-modal-subtitle","wui-modal-title","wui-money","wui-mono","wui-name-cell","wui-nav-depth-2","wui-nav-depth-3","wui-nav-depth-4","wui-nav-depth-5","wui-nav-depth-6","wui-nav-group-after","wui-nav-group-body","wui-nav-group-caret","wui-nav-group-collapsible","wui-nav-group-folded","wui-nav-group-text","wui-nav-group-toggle","wui-nav-header","wui-nav-list","wui-nav-list-count","wui-nav-list-divider","wui-nav-list-dot","wui-nav-list-icon","wui-nav-list-item","wui-nav-list-label","wui-nav-menu-chevron","wui-nav-menu-item","wui-nav-menu-link","wui-nav-menu-link-desc","wui-nav-menu-link-label","wui-nav-menu-link-text","wui-nav-menu-links","wui-nav-menu-list","wui-nav-menu-panel","wui-nav-menu-toplink","wui-nav-menu-trigger","wui-nav-new","wui-nav-split","wui-nav-split-link","wui-nav-split-toggle","wui-notification-center","wui-notification-center-body","wui-notification-center-count","wui-notification-center-day","wui-notification-center-dot","wui-notification-center-empty","wui-notification-center-foot","wui-notification-center-head","wui-notification-center-icon","wui-notification-center-item","wui-notification-center-item-read","wui-notification-center-item-text","wui-notification-center-item-title","wui-notification-center-items","wui-notification-center-list","wui-notification-center-live","wui-notification-center-markall","wui-notification-center-panel","wui-notification-center-tabs","wui-notification-center-title","wui-notification-center-trigger","wui-notification-center-unread-label","wui-notification-center-when","wui-onboarding","wui-onboarding-bar","wui-onboarding-body","wui-onboarding-card","wui-onboarding-chevron","wui-onboarding-count","wui-onboarding-desc","wui-onboarding-dismiss","wui-onboarding-head","wui-onboarding-label","wui-onboarding-mark","wui-onboarding-restore","wui-onboarding-seg","wui-onboarding-step","wui-onboarding-steps","wui-onboarding-title","wui-onboarding-toggle","wui-opt-avatar","wui-opt-hint","wui-opt-label","wui-opt-name","wui-org-tree","wui-org-tree-canvas","wui-org-tree-children","wui-org-tree-count","wui-org-tree-item","wui-org-tree-match","wui-org-tree-name","wui-org-tree-node","wui-org-tree-overlay","wui-org-tree-role","wui-org-tree-search","wui-org-tree-team","wui-org-tree-text","wui-org-tree-toggle","wui-org-tree-toolbar","wui-overflow","wui-overflow-item","wui-overflow-menu","wui-overflow-more","wui-page-header-meta-below","wui-page-header-subtitle-inline","wui-page-title-slot","wui-pager-summary","wui-period-month","wui-period-month-label","wui-period-picker","wui-phone-prefix","wui-pin-end","wui-pin-end-edge","wui-pin-start","wui-pin-start-edge","wui-pre-line","wui-prewrap","wui-progress-danger","wui-progress-indeterminate","wui-progress-info","wui-progress-label","wui-progress-labelled","wui-progress-neutral","wui-progress-primary","wui-progress-success","wui-progress-warning","wui-pw-inline","wui-radio","wui-radio-group","wui-radio-group-card","wui-radio-group-inline","wui-radio-option-desc","wui-rating","wui-rating-fill","wui-rating-glyphs","wui-rating-input","wui-rating-lg","wui-rating-previewing","wui-rating-sm","wui-rating-star","wui-rating-star-full","wui-rating-star-half","wui-rating-star-preview","wui-rating-stars","wui-rating-value","wui-rb-dialog","wui-reaction","wui-reaction-add","wui-reaction-choice","wui-reaction-count","wui-reaction-mine","wui-reaction-picker","wui-record-pager","wui-record-pager-next","wui-record-pager-position","wui-record-pager-prev","wui-relative-time","wui-remote-drawer","wui-remote-drawer-dialog","wui-resizable","wui-resizable-handle","wui-resizable-panel","wui-rich-text-button","wui-rich-text-content","wui-rich-text-empty","wui-rich-text-glyph","wui-rich-text-glyph-bold","wui-rich-text-glyph-italic","wui-rich-text-group","wui-rich-text-link-apply","wui-rich-text-link-cancel","wui-rich-text-link-error","wui-rich-text-link-input","wui-rich-text-link-remove","wui-rich-text-linkbar","wui-rich-text-prose","wui-rich-text-shell","wui-rich-text-toolbar","wui-rolling-number","wui-rolling-number-char","wui-rolling-number-digit","wui-rolling-number-reel","wui-rolling-number-roll","wui-rolling-number-text","wui-row-active","wui-row-dragging","wui-row-expanded","wui-row-header","wui-row-link","wui-row-save-error","wui-row-switch","wui-row-switch__thumb","wui-row-switch__track","wui-score-scale","wui-score-scale__ends","wui-score-scale__item","wui-score-scale__item--selected","wui-scroll","wui-search-collapsible","wui-search-toggle","wui-section","wui-section-actions","wui-section-call-to-action","wui-section-call-to-action--band","wui-section-center","wui-section-eyebrow","wui-section-eyebrow-danger","wui-section-eyebrow-info","wui-section-eyebrow-neutral","wui-section-eyebrow-pill","wui-section-eyebrow-primary","wui-section-eyebrow-success","wui-section-eyebrow-warning","wui-section-faq","wui-section-faq--split","wui-section-faq-body","wui-section-feature","wui-section-feature-body","wui-section-feature-icon","wui-section-feature-text","wui-section-feature-title","wui-section-features","wui-section-features-list","wui-section-features-rows","wui-section-head","wui-section-hero","wui-section-inner","wui-section-lead-consent","wui-section-lead-fields","wui-section-lead-form","wui-section-lead-success","wui-section-lead-text","wui-section-logo","wui-section-logo-img","wui-section-logo-text","wui-section-logos","wui-section-logos-list","wui-section-media","wui-section-muted","wui-section-pricing","wui-section-subtitle","wui-section-testimonial","wui-section-testimonial-author","wui-section-testimonial-avatar","wui-section-testimonial-name","wui-section-testimonial-quote","wui-section-testimonial-role","wui-section-testimonial-who","wui-section-testimonials-list","wui-section-title","wui-section-title-body","wui-segmented-borderless","wui-segmented-option-count","wui-select","wui-select-add","wui-select-caret","wui-select-cell","wui-select-check","wui-select-chips","wui-select-clear","wui-select-clear-all","wui-select-control","wui-select-draft","wui-select-empty","wui-select-error","wui-select-footer","wui-select-group","wui-select-hint","wui-select-icon","wui-select-input","wui-select-lg","wui-select-loading","wui-select-menu","wui-select-menu-fixed","wui-select-multi","wui-select-opt-desc","wui-select-opt-meta","wui-select-opt-name","wui-select-option","wui-select-option-rich","wui-select-option-text","wui-select-options","wui-select-placeholder","wui-select-prefix","wui-select-reset","wui-select-search","wui-select-sm","wui-select-spinner","wui-select-value","wui-select-value-avatar","wui-shell-launcher","wui-shell-top","wui-shell-top-brand","wui-shell-top-nav","wui-shortcut-close","wui-shortcut-group","wui-shortcut-group-title","wui-shortcut-keys","wui-shortcut-legend","wui-shortcut-sheet","wui-shortcut-sheet-below","wui-shortcut-sheet-head","wui-shortcut-sheet-start","wui-shortcut-sheet-title","wui-shortcut-toggle","wui-show-more","wui-show-more-body","wui-show-more-toggle","wui-skeleton-cell","wui-skeleton-lines","wui-skip-link","wui-slider-rail","wui-sort-lead","wui-sortable-active","wui-sortable-body","wui-sortable-dragging","wui-sortable-ghost","wui-sortable-handle","wui-sortable-item","wui-sortable-live","wui-sparkline","wui-spin","wui-spinner","wui-spinner-sm","wui-split-all","wui-split-badge","wui-split-button","wui-split-check","wui-split-chips","wui-split-count","wui-split-empty","wui-split-head","wui-split-head-bulk","wui-split-head-main","wui-split-item","wui-split-item-end","wui-split-item-main","wui-split-item-meta","wui-split-item-title","wui-split-items","wui-split-legend","wui-split-link","wui-split-list","wui-split-menu","wui-split-pane","wui-split-pane-body","wui-split-pane-error","wui-split-pane-head","wui-split-reading","wui-split-skeleton","wui-split-skeleton-meta","wui-split-skeleton-title","wui-split-view","wui-step-done-tone-danger","wui-step-done-tone-info","wui-step-done-tone-primary","wui-step-done-tone-success","wui-step-done-tone-warning","wui-step-size-lg","wui-step-size-sm","wui-step-tile","wui-step-tile-body","wui-step-tile-state","wui-step-tiles","wui-step-tone-danger","wui-step-tone-info","wui-step-tone-primary","wui-step-tone-success","wui-step-tone-warning","wui-stepper-no-connectors","wui-stepper-start","wui-struct-card-filled","wui-struct-card-glyph","wui-struct-card-glyph-on","wui-struct-card-lg","wui-struct-card-no-check","wui-struct-card-sm","wui-struct-card-stacked","wui-support-composer","wui-support-event","wui-support-reply","wui-support-reply-agent","wui-support-reply-body","wui-support-reply-head","wui-support-search","wui-support-subject","wui-support-subject-meta","wui-support-tabs","wui-support-toolbar","wui-tab-label","wui-tabbar","wui-tabbar-badge","wui-tabbar-icon","wui-tabbar-item","wui-tabbar-label","wui-table-compact","wui-table-cozy","wui-table-empty","wui-table-error","wui-table-flush","wui-table-pager","wui-table-pagination-sm","wui-table-pagination-standalone","wui-table-scroll","wui-table-server","wui-table-stack","wui-table-sticky-actions","wui-table-sticky-first","wui-table-striped","wui-table-toolbar","wui-table-toolbar-actions","wui-table-toolbar-all","wui-table-toolbar-bulk","wui-table-toolbar-clear","wui-table-toolbar-count","wui-table-toolbar-filters","wui-table-toolbar-main","wui-text-2xl","wui-text-3xl","wui-text-4xl","wui-text-base","wui-text-lg","wui-text-sm","wui-text-xl","wui-text-xs","wui-theme-switching","wui-theme-toggle","wui-timeline--lg","wui-timeline--sm","wui-timeline--steps","wui-timeline--steps-vertical","wui-timeline-eyebrow","wui-timepicker-col","wui-timepicker-cols","wui-timepicker-error","wui-timepicker-field","wui-timepicker-toggle","wui-toast","wui-toast--anim-jelly","wui-toast--anim-organic","wui-toast--anim-spring","wui-toast--danger","wui-toast--dragging","wui-toast--info","wui-toast--shape-pill","wui-toast--shape-sharp","wui-toast--success","wui-toast--surface-inverse","wui-toast--warning","wui-toast-action","wui-toast-close","wui-toast-container","wui-toast-content","wui-toast-icon","wui-toast-message","wui-toast-more","wui-toast-progress","wui-toast-task","wui-toast-title","wui-toast-track","wui-toast-track-fill","wui-toast-track-pct","wui-tooltip","wui-tooltip-inverse","wui-topsearch","wui-topsearch-all","wui-topsearch-empty","wui-topsearch-group","wui-topsearch-group-label","wui-topsearch-hit","wui-topsearch-hit-icon","wui-topsearch-hit-sub","wui-topsearch-hit-text","wui-topsearch-hit-title","wui-topsearch-open","wui-topsearch-panel","wui-topsearch-results","wui-tour-actions","wui-tour-arrow","wui-tour-back","wui-tour-card","wui-tour-end","wui-tour-end-button","wui-tour-end-mark","wui-tour-end-message","wui-tour-end-next","wui-tour-end-title","wui-tour-hint","wui-tour-layer","wui-tour-media","wui-tour-media-toggle","wui-tour-nav","wui-tour-next","wui-tour-pointer","wui-tour-position","wui-tour-progress-bar","wui-tour-progress-segment","wui-tour-skip","wui-tour-spot","wui-tour-text","wui-tour-title","wui-tree","wui-tree-badge","wui-tree-check","wui-tree-group","wui-tree-icon","wui-tree-item","wui-tree-label","wui-tree-row","wui-tree-row-error","wui-tree-row-selected","wui-tree-spinner","wui-tree-toggle","wui-truncate","wui-truncate-multi","wui-truncate-text","wui-usermenu-caret","wui-usermenu-extra","wui-usermenu-foot","wui-usermenu-head","wui-usermenu-logout","wui-usermenu-menu","wui-usermenu-name","wui-usermenu-role","wui-usermenu-roles","wui-usermenu-roles-label","wui-usermenu-section","wui-usermenu-text","wui-usermenu-trigger","wui-usermenu-who","wui-virtual-off","wui-virtual-spacer","wui-whats-new","wui-whats-new-body","wui-whats-new-date","wui-whats-new-dot","wui-whats-new-empty","wui-whats-new-entry","wui-whats-new-entry-title","wui-whats-new-image","wui-whats-new-link","wui-whats-new-list","wui-whats-new-name","wui-whats-new-panel","wui-whats-new-title","wui-whats-new-trigger","wui-whats-new-unread","wui-wizard-topbar","wui-wizard-topbar-close","wui-wizard-topbar-count","wui-wizard-topbar-title"]`),gs=`raw-bootstrap`,_s=/* @__PURE__ */ new Map([[`btn`,`AppButton/<app-button>`],[`card`,`AppCard/<app-card>`],[`modal`,`AppModal/<app-modal>`],[`table`,`AppDataTable/<app-data-table>`],[`badge`,`AppBadge/<app-status-badge>`],[`alert`,`AppAlert/<app-alert>`],[`form-control`,`AppInput/<app-input>`],[`form-select`,`AppSelect/<app-select>`],[`form-check-input`,`AppCheckbox/<app-checkbox>`],[`pagination`,`AppTablePagination/<app-table-pagination>`],[`nav-tabs`,`AppTabs/<app-tabs>`],[`dropdown-menu`,`AppDropdown/<app-dropdown>`],[`offcanvas`,`AppDrawer/<app-drawer>`],[`breadcrumb`,`AppBreadcrumbs/<app-breadcrumbs>`],[`progress`,`AppProgress/<app-progress>`],[`spinner-border`,`AppSpinner/<app-spinner>`],[`accordion`,`AppAccordion/<app-accordion>`]]),vs=/(?<![\w-])(?:class|className)\s*=\s*/g,ys=/(["'`])((?:\\[\s\S]|(?!\1)[^\\])*)\1/g;function bs(e){let t=``,n=null;for(let r=0;r<e.length;r+=1){let i=e[r],a=e[r+1];if(n)t+=i,i===`\\`&&a!==void 0?(t+=a,r+=1):(i===n||i===`
|
|
150
|
+
`)}function es(e,t,n){let r;if(t.startsWith(`@/`)){let n=e.startsWith(`src/`)?0:e.indexOf(`/src/`)+1;if(n===0&&!e.startsWith(`src/`))return null;r=`${e.slice(0,n)}src/${t.slice(2)}`}else if(t.startsWith(`.`))r=p.normalize(p.join(p.dirname(e),t));else return null;return[r,...Io.map(e=>r+e),...Io.map(e=>p.join(r,`index${e}`))].find(e=>n.has(e))??null}function B(e,t,n){t!==null&&(e.has(t)||e.set(t,/* @__PURE__ */ new Set),e.get(t).add(n))}function ts(e,t,n){return[...e.get(t)??/* @__PURE__ */ new Set].filter(e=>e!==n).length}function ns(e,t,n){n>=2||e.push({rule:`single-use-component`,file:t,line:1,text:`used by ${n} other file${n===1?``:`s`}`,hint:`move it next to the page that uses it`})}function rs(e){let t=Go.exec(e);return t!==null&&t[1]!==`layout`&&!Ro.test(e)&&!zo.test(e)}function is(e,t){let n=[...e.get(t)??[]].filter(e=>e!==t);return n.length===1&&rs(n[0])&&ts(e,n[0],n[0])>=2}function as(e,t){let n=p.dirname(e);for(;n!==`.`&&!t.has(n);)n=p.dirname(n);return n}function os(e){let t=Zo.exec(e.split(`
|
|
151
|
+
`,1)[0]);return t?.[1]===`single-use-component`?(t[2]??``).trim():null}var ss=`error-summary-title`,cs=/<app-error-summary(?=[\s/>])/g,ls=/(?<![\w-])title\s*=\s*(?:"([^"]*)"|'([^']*)')/,us=/please\s+(fix|correct)|(fix|correct)\s+the\s+following|the\s+following\s+(errors?|problems?|issues?)|there\s+(is|are|was|were)\s+(an?\s+|some\s+)?(errors?|problems?)/i;function ds(e,t){let n=null;for(let r=t;r<e.length;r+=1){let t=e[r];if(n)t===n&&(n=null);else if(t===`"`||t===`'`)n=t;else if(t===`>`)return r}return e.length}function fs(e){let t=C(e,`markup`),n=e.split(`
|
|
152
|
+
`),r=[];for(let e of t.matchAll(cs)){let i=ls.exec(t.slice(e.index,ds(t,e.index)));if(!i)continue;let a=i[1]??i[2];if(a.includes(`@`)||!us.test(a))continue;let o=t.slice(0,e.index).split(`
|
|
153
|
+
`).length;r.push({rule:ss,line:o,text:(n[o-1]??``).trim().slice(0,160),hint:`drop the title: the library error summary writes the standard heading`})}return r}var ps=/\.([A-Za-z_][\w-]*)/g,ms=/[^\s>+~,]+/g,hs=/^\s*(?:,|$)/;function*gs(e){let t=0;for(let n=0;n<e.length;n+=1){let r=e[n];r===`{`?(yield{text:e.slice(t,n),index:t},t=n+1):(r===`}`||r===`;`)&&(t=n+1)}}function _s(e,t,n){let r=C(e,t),i=e.split(`
|
|
154
|
+
`),a=[];for(let e of gs(r)){let t=vs(e.text,n);if(!t)continue;let o=r.slice(0,e.index+t.index).split(`
|
|
155
|
+
`).length;a.push({rule:`library-class-restyle`,line:o,text:(i[o-1]??``).trim().slice(0,160),hint:`restyles library class .${t.name}; use a library prop or token, or a product class`})}return a}function vs(e,t){for(let n of e.matchAll(ms))if(hs.test(e.slice(n.index+n[0].length))){for(let e of n[0].matchAll(ps))if(t.has(e[1]))return{index:n.index+e.index,name:e[1]}}return null}var ys=/*#__PURE__*/ JSON.parse(`["accordion","accordion-body","accordion-button","accordion-collapse","accordion-flush","accordion-header","accordion-item","alert","alert-accent","alert-action","alert-borderless","alert-content","alert-danger","alert-dark","alert-dismissible","alert-has-action","alert-has-icon","alert-heading","alert-icon","alert-icon-image","alert-info","alert-lg","alert-light","alert-link","alert-neutral","alert-primary","alert-secondary","alert-sm","alert-stack","alert-success","alert-warning","app-content","app-footer","app-main","app-nav-badge","app-nav-caret","app-nav-group","app-nav-group-label","app-nav-icon","app-nav-item","app-nav-sub","app-nav-sub-inner","app-nav-subitem","app-nav-text","app-nav-trailing","app-phone-number-input","app-popover","app-scrim","app-shell","app-sidebar","app-sidebar-brand","app-sidebar-brand-text","app-sidebar-foot","app-sidebar-scroll","app-sidebar-start","app-sidebar-start-compact","app-sidebar-toggle","app-tab","app-tab-count","app-tab-icon","app-tab-img","app-tab-indicator","app-tabs","app-tabs-fitted","app-tabs-group","app-tabs-lg","app-tabs-pills","app-tabs-scroll-btn","app-tabs-sm","app-tabs-vertical","app-tabs-wrap","app-topbar","app-topbar-end","app-topbar-menu","app-topbar-start","badge","badge-danger","badge-dot","badge-info","badge-primary","badge-success","badge-warning","breadcrumb","breadcrumb-item","btn","btn-anim-expand","btn-anim-fill","btn-anim-glow","btn-anim-none","btn-anim-roll","btn-anim-sheen","btn-check","btn-close","btn-close-white","btn-danger","btn-dark","btn-ghost-danger","btn-ghost-info","btn-ghost-neutral","btn-ghost-primary","btn-ghost-success","btn-ghost-warning","btn-glass","btn-group","btn-group-lg","btn-group-sm","btn-group-vertical","btn-icon","btn-info","btn-lg","btn-light","btn-link","btn-link-danger","btn-link-info","btn-link-neutral","btn-link-primary","btn-link-success","btn-link-warning","btn-neutral","btn-outline-danger","btn-outline-dark","btn-outline-info","btn-outline-light","btn-outline-neutral","btn-outline-primary","btn-outline-secondary","btn-outline-success","btn-outline-warning","btn-pill","btn-pill-sm","btn-primary","btn-radius-xl","btn-secondary","btn-sm","btn-soft-danger","btn-soft-info","btn-soft-neutral","btn-soft-primary","btn-soft-success","btn-soft-warning","btn-static","btn-success","btn-toolbar","btn-warning","card","card-accent","card-body","card-clickable","card-close","card-compact","card-constrained","card-divided","card-elevated","card-flush","card-footer","card-group","card-header","card-header-actions","card-header-icon","card-header-main","card-header-pills","card-header-tabs","card-header-titles","card-img","card-img-bottom","card-img-overlay","card-img-top","card-lifted","card-link","card-media","card-muted","card-outlined","card-pad-lg","card-pad-none","card-pad-sm","card-subtitle","card-text","card-title","dropdown","dropdown-center","dropdown-divider","dropdown-header","dropdown-item","dropdown-item-text","dropdown-menu","dropdown-menu-dark","dropdown-menu-end","dropdown-menu-lg-end","dropdown-menu-lg-start","dropdown-menu-md-end","dropdown-menu-md-start","dropdown-menu-sm-end","dropdown-menu-sm-start","dropdown-menu-start","dropdown-menu-xl-end","dropdown-menu-xl-start","dropdown-menu-xxl-end","dropdown-menu-xxl-start","dropdown-search-icon","dropdown-search-input","dropdown-search-wrapper","dropdown-toggle","dropdown-toggle-split","form-check","form-check-circle","form-check-inline","form-check-input","form-check-label","form-check-lg","form-check-reverse","form-check-sm","form-control","form-control-color","form-control-lg","form-control-plaintext","form-control-sm","form-label","form-select","form-select-lg","form-select-sm","form-text","input-group","input-group-lg","input-group-sm","input-group-text","list-group","list-group-flush","list-group-horizontal","list-group-horizontal-lg","list-group-horizontal-md","list-group-horizontal-sm","list-group-horizontal-xl","list-group-horizontal-xxl","list-group-item","list-group-item-action","list-group-item-danger","list-group-item-dark","list-group-item-info","list-group-item-light","list-group-item-primary","list-group-item-secondary","list-group-item-success","list-group-item-warning","list-group-numbered","modal","modal-backdrop","modal-body","modal-content","modal-dialog","modal-dialog-centered","modal-dialog-scrollable","modal-footer","modal-fullscreen","modal-fullscreen-lg-down","modal-fullscreen-md-down","modal-fullscreen-sm-down","modal-fullscreen-xl-down","modal-fullscreen-xxl-down","modal-header","modal-lg","modal-open","modal-sm","modal-static","modal-title","modal-xl","nav-link","nav-pills","nav-tabs","offcanvas","offcanvas-backdrop","offcanvas-body","offcanvas-bottom","offcanvas-end","offcanvas-header","offcanvas-lg","offcanvas-md","offcanvas-sm","offcanvas-start","offcanvas-title","offcanvas-top","offcanvas-xl","offcanvas-xxl","page-item","page-link","pagination","pagination-lg","pagination-sm","progress","progress-bar","progress-bar-animated","progress-bar-striped","progress-sm","progress-stacked","spinner-border","spinner-border-sm","table","table-active","table-bordered","table-borderless","table-danger","table-dark","table-group-divider","table-hover","table-info","table-ledger","table-light","table-pagination","table-primary","table-responsive","table-responsive-lg","table-responsive-md","table-responsive-sm","table-responsive-xl","table-responsive-xxl","table-secondary","table-sm","table-striped","table-striped-columns","table-success","table-warning","table-wrap","wui-accordion","wui-accordion-body","wui-accordion-count","wui-accordion-flat","wui-accordion-icon","wui-accordion-item","wui-accordion-panel","wui-accordion-trigger","wui-account-switcher","wui-account-switcher-badge","wui-account-switcher-label","wui-account-switcher-list","wui-account-switcher-option","wui-account-switcher-option-name","wui-account-switcher-option-note","wui-account-switcher-option-text","wui-account-switcher-tick","wui-action-icon-file","wui-addon","wui-addon-group","wui-addon-group-lg","wui-addon-group-sm","wui-attach-error","wui-attach-progress","wui-auth","wui-auth-aside","wui-auth-body","wui-auth-footer","wui-auth-logo","wui-auth-main","wui-auth-panel","wui-auth-split","wui-banner","wui-banner-action","wui-banner-body","wui-banner-danger","wui-banner-dismiss","wui-banner-has-action","wui-banner-icon","wui-banner-info","wui-banner-neutral","wui-banner-success","wui-banner-warning","wui-bell-body","wui-bell-count","wui-bell-dot","wui-bell-foot","wui-bell-head","wui-bell-icon","wui-bell-item","wui-bell-item-read","wui-bell-item-title","wui-bell-list","wui-bell-markall","wui-bell-menu","wui-bell-state","wui-bell-title","wui-bell-trigger","wui-bell-when","wui-brand-dark","wui-brand-has-mark","wui-brand-light","wui-brand-logo","wui-brand-mark","wui-brand-mark-only","wui-brand-themed","wui-btn-group","wui-btn-group-full","wui-btn-pin-end","wui-btn-pin-icon","wui-btn-roll","wui-btn-roll-ico","wui-btn-roll-ico__next","wui-btn-roll__a","wui-btn-roll__b","wui-btn-shape-pill","wui-btn-shape-sharp","wui-calendar-chip","wui-calendar-chip-time","wui-calendar-chip-title","wui-calendar-event-danger","wui-calendar-event-info","wui-calendar-event-neutral","wui-calendar-event-primary","wui-calendar-event-success","wui-calendar-event-warning","wui-calendar-fallback","wui-calendar-nav","wui-calendar-nav-btn","wui-calendar-stack","wui-calendar-status","wui-calendar-status-text","wui-calendar-surface","wui-calendar-title","wui-calendar-today-btn","wui-calendar-toolbar","wui-calendar-view-btn","wui-calendar-views","wui-carousel","wui-carousel-arrow","wui-carousel-dot","wui-carousel-dots","wui-carousel-pause","wui-carousel-pause-icon","wui-carousel-pause-text","wui-carousel-slide","wui-carousel-stage","wui-carousel-track","wui-cell","wui-cell-end","wui-cell-mono","wui-cell-numeric","wui-cell-primary","wui-cell-secondary","wui-chart-canvas","wui-chart-card","wui-chart-card-legend-off","wui-chart-card-legend-tool","wui-chart-card-retry","wui-chart-card-tool","wui-chart-legend","wui-chart-legend-item","wui-chart-legend-label","wui-chart-legend-swatch","wui-chart-legend-swatch-line","wui-chart-num","wui-chart-skeleton","wui-chart-state","wui-chart-state-text","wui-chart-surface","wui-chart-table","wui-chart-table-note","wui-chart-table-wrap","wui-chart-tooltip","wui-chart-tooltip-body","wui-chart-tooltip-foot","wui-chart-tooltip-label","wui-chart-tooltip-row","wui-chart-tooltip-swatch","wui-chart-tooltip-swatch-line","wui-chart-tooltip-title","wui-chart-tooltip-value","wui-check","wui-chip-group","wui-chip-group-nowrap","wui-choice-chip-solid","wui-cmd-back","wui-cmd-card","wui-cmd-crumb","wui-cmd-crumbs","wui-cmd-empty","wui-cmd-footer","wui-cmd-group","wui-cmd-group-label","wui-cmd-input","wui-cmd-item","wui-cmd-item-chevron","wui-cmd-item-desc","wui-cmd-item-icon","wui-cmd-item-label","wui-cmd-item-meta","wui-cmd-item-text","wui-cmd-list","wui-cmd-mark","wui-cmd-page","wui-cmd-recents","wui-cmd-search","wui-cmd-search-icon","wui-cmd-spinner","wui-cmd-tabs","wui-cmd-trail","wui-code-bar","wui-code-block","wui-code-copy","wui-code-copy-icon","wui-code-line","wui-code-pre","wui-code-source","wui-code-t-attr","wui-code-t-comment","wui-code-t-function","wui-code-t-keyword","wui-code-t-literal","wui-code-t-number","wui-code-t-punct","wui-code-t-string","wui-code-t-tag","wui-code-t-type","wui-code-t-variable","wui-code-title","wui-code-view","wui-col-grow","wui-col-hidden","wui-col-resizable","wui-col-resize","wui-col-span-2","wui-col-span-3","wui-col-span-full","wui-cols-2","wui-cols-3","wui-cols-4","wui-column-menu","wui-column-menu-item","wui-column-menu-title","wui-comment--internal","wui-comment--mine","wui-comment-action","wui-comment-actions","wui-comment-attachment","wui-comment-attachment-size","wui-comment-attachments","wui-comment-author","wui-comment-avatar","wui-comment-composer","wui-comment-composer-avatar","wui-comment-composer-inline","wui-comment-confirm","wui-comment-confirm-text","wui-comment-edited","wui-comment-editor","wui-comment-empty","wui-comment-error","wui-comment-form-actions","wui-comment-head","wui-comment-internal-badge","wui-comment-list","wui-comment-main","wui-comment-reactions","wui-comment-replies","wui-comment-reply","wui-comment-row","wui-comment-text","wui-comment-text-deleted","wui-comment-thread","wui-comment-thread--conversation","wui-comment-time","wui-compare-center","wui-compare-code","wui-compare-group","wui-compare-group-row","wui-compare-nowrap","wui-compare-relaxed","wui-compare-scroll","wui-compare-scroll-table","wui-compare-state","wui-compare-state-no","wui-compare-state-partial","wui-compare-state-warn","wui-compare-state-yes","wui-compare-sticky-first","wui-compare-sticky-head","wui-confirm","wui-confirm-actions","wui-confirm-body","wui-confirm-content","wui-confirm-icon","wui-confirm-msg","wui-confirm-plain","wui-confirm-title","wui-consent-banner-accept","wui-consent-banner-actions","wui-consent-banner-category","wui-consent-banner-category-description","wui-consent-banner-description","wui-consent-banner-heading","wui-consent-banner-panel","wui-consent-banner-policy","wui-consent-banner-reject","wui-consent-banner-save","wui-consent-banner-settings","wui-consent-banner-settings-toggle","wui-context-menu-chevron","wui-context-menu-hint","wui-context-menu-panel","wui-context-menu-search","wui-context-menu-sub","wui-context-menu-subpanel","wui-context-menu-tick","wui-control","wui-control-group","wui-control-label","wui-crop-controls","wui-crop-frame","wui-crop-frame--round","wui-crop-handle","wui-crop-handle--ne","wui-crop-handle--nw","wui-crop-handle--se","wui-crop-handle--sw","wui-crop-img","wui-crop-preview","wui-crop-previews","wui-crop-previews--round","wui-crop-stage","wui-crop-toolbtn","wui-crop-tools","wui-crop-zoom","wui-crop-zoombtn","wui-dashboard-cell","wui-dashboard-cell-3","wui-dashboard-cell-4","wui-dashboard-cell-6","wui-dashboard-grid","wui-daterange-main","wui-daterange-pop--presets","wui-daterange-preset","wui-daterange-presets","wui-descs-col-4","wui-descs-emphasis","wui-descs-icon","wui-descs-link","wui-descs-list","wui-descs-span-1","wui-descs-span-10","wui-descs-span-11","wui-descs-span-12","wui-descs-span-2","wui-descs-span-3","wui-descs-span-4","wui-descs-span-5","wui-descs-span-6","wui-descs-span-7","wui-descs-span-8","wui-descs-span-9","wui-descs-summary","wui-detail-pane","wui-drawer","wui-drawer-backdrop","wui-drawer-body","wui-drawer-close","wui-drawer-discard","wui-drawer-discard-text","wui-drawer-discarding","wui-drawer-footer","wui-drawer-grip","wui-drawer-handle","wui-drawer-header","wui-drawer-headtext","wui-drawer-locked","wui-drawer-panel","wui-drawer-subtitle","wui-drawer-title","wui-drawer-title-ic","wui-drop-tray","wui-dropdown-form","wui-dropdown-item-disabled","wui-dropdown-menu-lg","wui-dropdown-menu-md","wui-dropdown-menu-sm","wui-dropdown-trigger","wui-dropdown-trigger-neutral","wui-due-date","wui-due-date-danger","wui-due-date-empty","wui-due-date-warning","wui-empty-illustration","wui-empty-illustration-custom","wui-empty-state-table","wui-error-summary","wui-error-summary-list","wui-error-summary-title","wui-expand-cell","wui-expand-toggle","wui-field-busy","wui-field-message","wui-file-busy","wui-file-input-button-field","wui-file-tile","wui-file-tile-ext","wui-file-tile-meta","wui-file-tile-name","wui-file-tile-text","wui-file-tiles","wui-file-viewer-actions","wui-file-viewer-audio-art","wui-file-viewer-body","wui-file-viewer-canvas","wui-file-viewer-center","wui-file-viewer-controls","wui-file-viewer-divider","wui-file-viewer-download","wui-file-viewer-end","wui-file-viewer-fullscreen","wui-file-viewer-group","wui-file-viewer-hit","wui-file-viewer-hit-current","wui-file-viewer-image","wui-file-viewer-image-scroll","wui-file-viewer-image-stage","wui-file-viewer-links","wui-file-viewer-menu","wui-file-viewer-menu-tick","wui-file-viewer-name","wui-file-viewer-page","wui-file-viewer-page-input","wui-file-viewer-page-total","wui-file-viewer-pages","wui-file-viewer-panning","wui-file-viewer-player","wui-file-viewer-player-audio","wui-file-viewer-print-frame","wui-file-viewer-row","wui-file-viewer-scroll","wui-file-viewer-search","wui-file-viewer-search-count","wui-file-viewer-search-field","wui-file-viewer-seek","wui-file-viewer-sheet","wui-file-viewer-skeleton","wui-file-viewer-slot","wui-file-viewer-speed","wui-file-viewer-stage","wui-file-viewer-start","wui-file-viewer-status","wui-file-viewer-text","wui-file-viewer-thumb","wui-file-viewer-thumb-frame","wui-file-viewer-thumb-no","wui-file-viewer-thumbs","wui-file-viewer-time","wui-file-viewer-toolbar","wui-file-viewer-video","wui-file-viewer-view-end","wui-file-viewer-volume","wui-file-viewer-zoom","wui-filter-bar","wui-filter-bar--folded","wui-filter-chip-inline","wui-filter-count-desktop","wui-filter-count-phone","wui-filter-form","wui-filter-more","wui-filter-more-head","wui-filter-more-panel","wui-filter-more-panel-end","wui-filter-more-trigger","wui-filter-popover","wui-filter-popover-field","wui-filter-popover-foot","wui-filter-popover-grid","wui-filter-popover-head","wui-filter-popover-more","wui-filter-popover-note","wui-filter-popover-panel","wui-filter-popover-title","wui-filter-popover-trigger","wui-flag","wui-float-above","wui-floating-btn","wui-floating-btn--lg","wui-floating-btn--secondary","wui-floating-btn--sm","wui-floating-stack","wui-floating-stack-item","wui-floating-stack-item--primary","wui-floating-stack-item--secondary","wui-force-active","wui-force-focus","wui-force-hover","wui-form-cols-1","wui-form-cols-10","wui-form-cols-11","wui-form-cols-12","wui-form-cols-2","wui-form-cols-3","wui-form-cols-4","wui-form-cols-5","wui-form-cols-6","wui-form-cols-7","wui-form-cols-8","wui-form-cols-9","wui-form-compact","wui-form-inline","wui-form-labels-start","wui-form-row-keep","wui-form-rule-none","wui-form-section","wui-form-section-head","wui-form-section-title","wui-form-side","wui-form-title-display","wui-grid","wui-grid-lg-2","wui-grid-lg-3","wui-grid-lg-4","wui-grid-md-2","wui-grid-md-3","wui-grid-md-4","wui-group-cell","wui-group-count","wui-group-label","wui-group-row","wui-group-toggle","wui-has-value-avatar","wui-hidden-from-lg","wui-hidden-from-md","wui-hidden-from-sm","wui-hidden-from-xl","wui-hover-card-loading","wui-hover-card-panel","wui-hover-card-trigger","wui-icon","wui-icon-tip","wui-ill-accent","wui-ill-accent-line","wui-ill-card","wui-ill-danger","wui-ill-danger-fill","wui-ill-danger-line","wui-ill-dash","wui-ill-ink","wui-ill-mute","wui-ill-soft","wui-ill-thick","wui-illustration","wui-image-picker","wui-image-picker-avatar","wui-image-picker-buttons","wui-image-picker-buttons-actions","wui-image-picker-buttons-badge","wui-image-picker-buttons-camera","wui-image-picker-buttons-face","wui-image-picker-buttons-img","wui-image-picker-buttons-placeholder","wui-image-picker-field","wui-image-picker-field-inline","wui-image-picker-field-profile","wui-image-picker-hint","wui-image-picker-img","wui-image-picker-logo","wui-image-picker-meta","wui-image-picker-overlay","wui-image-picker-remove","wui-image-picker-ring","wui-image-picker-rounded","wui-image-picker-row","wui-image-picker-shell","wui-image-picker-square","wui-image-picker-subtitle","wui-image-picker-title","wui-inline-edit","wui-inline-edit--nowrap","wui-inline-edit-display","wui-inline-edit-editor","wui-inline-edit-error","wui-inline-edit-icon","wui-inline-edit-saved","wui-inline-edit-spinner","wui-inline-edit-status","wui-inline-edit-value","wui-input-group","wui-input-leading","wui-input-trailing","wui-kanban","wui-kanban-action","wui-kanban-actions","wui-kanban-board","wui-kanban-body","wui-kanban-card","wui-kanban-card-title","wui-kanban-collapse","wui-kanban-column","wui-kanban-count","wui-kanban-dot","wui-kanban-drop-note","wui-kanban-empty","wui-kanban-ghost","wui-kanban-head","wui-kanban-hint","wui-kanban-lock","wui-kanban-more","wui-kanban-summary","wui-kanban-switch","wui-kanban-switch-title","wui-kanban-switcher","wui-kanban-title","wui-kbd","wui-kpi-delta--danger","wui-kpi-delta--neutral","wui-kpi-delta--success","wui-leaving","wui-lightbox","wui-lightbox-bar","wui-lightbox-btn","wui-lightbox-caption","wui-lightbox-count","wui-lightbox-image","wui-lightbox-item","wui-lightbox-nav","wui-lightbox-next","wui-lightbox-overlay","wui-lightbox-prev","wui-lightbox-stage","wui-lightbox-status","wui-lightbox-tools","wui-lightbox-zoomed","wui-link","wui-link--bracket","wui-link--clamp","wui-link--fade","wui-link--glow","wui-link--grow","wui-link--highlight","wui-link--icon","wui-link--lg","wui-link--none","wui-link--shine","wui-link--slide","wui-link--sm","wui-link--static","wui-link--surface-dark","wui-link--underline","wui-link--underline-center","wui-link__ic","wui-link__ic--left","wui-link__ic--right","wui-link__label","wui-list-card-count","wui-list-card-filters","wui-markdown","wui-markdown-citation","wui-markdown-source","wui-mention","wui-mention-empty","wui-mention-input","wui-mention-input-text","wui-mention-menu","wui-mention-option","wui-mention-option-description","wui-mention-option-label","wui-mention-option-photo","wui-mention-option-text","wui-meta-list","wui-metric","wui-metric-label","wui-metric-note","wui-metric-strip","wui-metric-strip-cols-3","wui-metric-strip-cols-4","wui-metric-strip-cols-5","wui-metric-strip-sm","wui-metric-tone-danger","wui-metric-tone-info","wui-metric-tone-success","wui-metric-tone-warning","wui-metric-value","wui-modal","wui-modal-back","wui-modal-backdrop-stacked","wui-modal-body","wui-modal-close","wui-modal-dim","wui-modal-eyebrow","wui-modal-footer","wui-modal-fullscreen","wui-modal-header","wui-modal-header-actions","wui-modal-headicon","wui-modal-heading","wui-modal-headtext","wui-modal-loading","wui-modal-shell","wui-modal-skeleton","wui-modal-skeleton--short","wui-modal-stacked","wui-modal-state","wui-modal-state-actions","wui-modal-state-text","wui-modal-state-title","wui-modal-submit-error","wui-modal-subtitle","wui-modal-title","wui-money","wui-mono","wui-name-cell","wui-nav-depth-2","wui-nav-depth-3","wui-nav-depth-4","wui-nav-depth-5","wui-nav-depth-6","wui-nav-group-after","wui-nav-group-body","wui-nav-group-caret","wui-nav-group-collapsible","wui-nav-group-folded","wui-nav-group-text","wui-nav-group-toggle","wui-nav-header","wui-nav-list","wui-nav-list-count","wui-nav-list-divider","wui-nav-list-dot","wui-nav-list-icon","wui-nav-list-item","wui-nav-list-label","wui-nav-menu-chevron","wui-nav-menu-item","wui-nav-menu-link","wui-nav-menu-link-desc","wui-nav-menu-link-label","wui-nav-menu-link-text","wui-nav-menu-links","wui-nav-menu-list","wui-nav-menu-panel","wui-nav-menu-toplink","wui-nav-menu-trigger","wui-nav-new","wui-nav-split","wui-nav-split-link","wui-nav-split-toggle","wui-notification-center","wui-notification-center-body","wui-notification-center-count","wui-notification-center-day","wui-notification-center-dot","wui-notification-center-empty","wui-notification-center-foot","wui-notification-center-head","wui-notification-center-icon","wui-notification-center-item","wui-notification-center-item-read","wui-notification-center-item-text","wui-notification-center-item-title","wui-notification-center-items","wui-notification-center-list","wui-notification-center-live","wui-notification-center-markall","wui-notification-center-panel","wui-notification-center-tabs","wui-notification-center-title","wui-notification-center-trigger","wui-notification-center-unread-label","wui-notification-center-when","wui-onboarding","wui-onboarding-bar","wui-onboarding-body","wui-onboarding-card","wui-onboarding-chevron","wui-onboarding-count","wui-onboarding-desc","wui-onboarding-dismiss","wui-onboarding-head","wui-onboarding-label","wui-onboarding-mark","wui-onboarding-restore","wui-onboarding-seg","wui-onboarding-step","wui-onboarding-steps","wui-onboarding-title","wui-onboarding-toggle","wui-opt-avatar","wui-opt-hint","wui-opt-label","wui-opt-name","wui-org-tree","wui-org-tree-canvas","wui-org-tree-children","wui-org-tree-count","wui-org-tree-item","wui-org-tree-match","wui-org-tree-name","wui-org-tree-node","wui-org-tree-overlay","wui-org-tree-role","wui-org-tree-search","wui-org-tree-team","wui-org-tree-text","wui-org-tree-toggle","wui-org-tree-toolbar","wui-overflow","wui-overflow-item","wui-overflow-menu","wui-overflow-more","wui-page-header-meta-below","wui-page-header-subtitle-inline","wui-page-title-slot","wui-pager-summary","wui-period-month","wui-period-month-label","wui-period-picker","wui-phone-prefix","wui-pin-end","wui-pin-end-edge","wui-pin-start","wui-pin-start-edge","wui-pre-line","wui-prewrap","wui-progress-danger","wui-progress-indeterminate","wui-progress-info","wui-progress-label","wui-progress-labelled","wui-progress-neutral","wui-progress-primary","wui-progress-success","wui-progress-warning","wui-pw-inline","wui-radio","wui-radio-group","wui-radio-group-card","wui-radio-group-inline","wui-radio-option-desc","wui-rating","wui-rating-fill","wui-rating-glyphs","wui-rating-input","wui-rating-lg","wui-rating-previewing","wui-rating-sm","wui-rating-star","wui-rating-star-full","wui-rating-star-half","wui-rating-star-preview","wui-rating-stars","wui-rating-value","wui-rb-dialog","wui-reaction","wui-reaction-add","wui-reaction-choice","wui-reaction-count","wui-reaction-mine","wui-reaction-picker","wui-record-pager","wui-record-pager-next","wui-record-pager-position","wui-record-pager-prev","wui-relative-time","wui-remote-drawer","wui-remote-drawer-dialog","wui-resizable","wui-resizable-handle","wui-resizable-panel","wui-rich-text-button","wui-rich-text-content","wui-rich-text-empty","wui-rich-text-glyph","wui-rich-text-glyph-bold","wui-rich-text-glyph-italic","wui-rich-text-group","wui-rich-text-link-apply","wui-rich-text-link-cancel","wui-rich-text-link-error","wui-rich-text-link-input","wui-rich-text-link-remove","wui-rich-text-linkbar","wui-rich-text-prose","wui-rich-text-shell","wui-rich-text-toolbar","wui-rolling-number","wui-rolling-number-char","wui-rolling-number-digit","wui-rolling-number-reel","wui-rolling-number-roll","wui-rolling-number-text","wui-row-active","wui-row-dragging","wui-row-expanded","wui-row-header","wui-row-link","wui-row-save-error","wui-row-switch","wui-row-switch__thumb","wui-row-switch__track","wui-score-scale","wui-score-scale__ends","wui-score-scale__item","wui-score-scale__item--selected","wui-scroll","wui-search-collapsible","wui-search-toggle","wui-section","wui-section-actions","wui-section-call-to-action","wui-section-call-to-action--band","wui-section-center","wui-section-eyebrow","wui-section-eyebrow-danger","wui-section-eyebrow-info","wui-section-eyebrow-neutral","wui-section-eyebrow-pill","wui-section-eyebrow-primary","wui-section-eyebrow-success","wui-section-eyebrow-warning","wui-section-faq","wui-section-faq--split","wui-section-faq-body","wui-section-feature","wui-section-feature-body","wui-section-feature-icon","wui-section-feature-text","wui-section-feature-title","wui-section-features","wui-section-features-list","wui-section-features-rows","wui-section-head","wui-section-hero","wui-section-inner","wui-section-lead-consent","wui-section-lead-fields","wui-section-lead-form","wui-section-lead-success","wui-section-lead-text","wui-section-logo","wui-section-logo-img","wui-section-logo-text","wui-section-logos","wui-section-logos-list","wui-section-media","wui-section-muted","wui-section-pricing","wui-section-subtitle","wui-section-testimonial","wui-section-testimonial-author","wui-section-testimonial-avatar","wui-section-testimonial-name","wui-section-testimonial-quote","wui-section-testimonial-role","wui-section-testimonial-who","wui-section-testimonials-list","wui-section-title","wui-section-title-body","wui-segmented-borderless","wui-segmented-option-count","wui-select","wui-select-add","wui-select-caret","wui-select-cell","wui-select-check","wui-select-chips","wui-select-clear","wui-select-clear-all","wui-select-control","wui-select-draft","wui-select-empty","wui-select-error","wui-select-footer","wui-select-group","wui-select-hint","wui-select-icon","wui-select-input","wui-select-lg","wui-select-loading","wui-select-menu","wui-select-menu-fixed","wui-select-multi","wui-select-opt-desc","wui-select-opt-meta","wui-select-opt-name","wui-select-option","wui-select-option-rich","wui-select-option-text","wui-select-options","wui-select-placeholder","wui-select-prefix","wui-select-reset","wui-select-search","wui-select-sm","wui-select-spinner","wui-select-value","wui-select-value-avatar","wui-shell-launcher","wui-shell-top","wui-shell-top-brand","wui-shell-top-nav","wui-shortcut-close","wui-shortcut-group","wui-shortcut-group-title","wui-shortcut-keys","wui-shortcut-legend","wui-shortcut-sheet","wui-shortcut-sheet-below","wui-shortcut-sheet-head","wui-shortcut-sheet-start","wui-shortcut-sheet-title","wui-shortcut-toggle","wui-show-more","wui-show-more-body","wui-show-more-toggle","wui-skeleton-cell","wui-skeleton-lines","wui-skip-link","wui-slider-rail","wui-sort-lead","wui-sortable-active","wui-sortable-body","wui-sortable-dragging","wui-sortable-ghost","wui-sortable-handle","wui-sortable-item","wui-sortable-live","wui-sparkline","wui-spin","wui-spinner","wui-spinner-sm","wui-split-all","wui-split-badge","wui-split-button","wui-split-check","wui-split-chips","wui-split-count","wui-split-empty","wui-split-head","wui-split-head-bulk","wui-split-head-main","wui-split-item","wui-split-item-end","wui-split-item-main","wui-split-item-meta","wui-split-item-title","wui-split-items","wui-split-legend","wui-split-link","wui-split-list","wui-split-menu","wui-split-pane","wui-split-pane-body","wui-split-pane-error","wui-split-pane-head","wui-split-reading","wui-split-skeleton","wui-split-skeleton-meta","wui-split-skeleton-title","wui-split-view","wui-step-done-tone-danger","wui-step-done-tone-info","wui-step-done-tone-primary","wui-step-done-tone-success","wui-step-done-tone-warning","wui-step-size-lg","wui-step-size-sm","wui-step-tile","wui-step-tile-body","wui-step-tile-state","wui-step-tiles","wui-step-tone-danger","wui-step-tone-info","wui-step-tone-primary","wui-step-tone-success","wui-step-tone-warning","wui-stepper-no-connectors","wui-stepper-start","wui-struct-card-filled","wui-struct-card-glyph","wui-struct-card-glyph-on","wui-struct-card-lg","wui-struct-card-no-check","wui-struct-card-sm","wui-struct-card-stacked","wui-support-composer","wui-support-event","wui-support-reply","wui-support-reply-agent","wui-support-reply-body","wui-support-reply-head","wui-support-search","wui-support-subject","wui-support-subject-meta","wui-support-tabs","wui-support-toolbar","wui-tab-label","wui-tabbar","wui-tabbar-badge","wui-tabbar-icon","wui-tabbar-item","wui-tabbar-label","wui-table-compact","wui-table-cozy","wui-table-empty","wui-table-error","wui-table-flush","wui-table-pager","wui-table-pagination-sm","wui-table-pagination-standalone","wui-table-scroll","wui-table-server","wui-table-stack","wui-table-sticky-actions","wui-table-sticky-first","wui-table-striped","wui-table-toolbar","wui-table-toolbar-actions","wui-table-toolbar-all","wui-table-toolbar-bulk","wui-table-toolbar-clear","wui-table-toolbar-count","wui-table-toolbar-filters","wui-table-toolbar-main","wui-text-2xl","wui-text-3xl","wui-text-4xl","wui-text-base","wui-text-lg","wui-text-sm","wui-text-xl","wui-text-xs","wui-theme-switching","wui-theme-toggle","wui-timeline--lg","wui-timeline--sm","wui-timeline--steps","wui-timeline--steps-vertical","wui-timeline-eyebrow","wui-timepicker-col","wui-timepicker-cols","wui-timepicker-error","wui-timepicker-field","wui-timepicker-toggle","wui-toast","wui-toast--anim-jelly","wui-toast--anim-organic","wui-toast--anim-spring","wui-toast--danger","wui-toast--dragging","wui-toast--info","wui-toast--shape-pill","wui-toast--shape-sharp","wui-toast--success","wui-toast--surface-inverse","wui-toast--warning","wui-toast-action","wui-toast-close","wui-toast-container","wui-toast-content","wui-toast-icon","wui-toast-message","wui-toast-more","wui-toast-progress","wui-toast-task","wui-toast-title","wui-toast-track","wui-toast-track-fill","wui-toast-track-pct","wui-tooltip","wui-tooltip-inverse","wui-topsearch","wui-topsearch-all","wui-topsearch-empty","wui-topsearch-group","wui-topsearch-group-label","wui-topsearch-hit","wui-topsearch-hit-icon","wui-topsearch-hit-sub","wui-topsearch-hit-text","wui-topsearch-hit-title","wui-topsearch-open","wui-topsearch-panel","wui-topsearch-results","wui-tour-actions","wui-tour-arrow","wui-tour-back","wui-tour-card","wui-tour-end","wui-tour-end-button","wui-tour-end-mark","wui-tour-end-message","wui-tour-end-next","wui-tour-end-title","wui-tour-hint","wui-tour-layer","wui-tour-media","wui-tour-media-toggle","wui-tour-nav","wui-tour-next","wui-tour-pointer","wui-tour-position","wui-tour-progress-bar","wui-tour-progress-segment","wui-tour-skip","wui-tour-spot","wui-tour-text","wui-tour-title","wui-tree","wui-tree-badge","wui-tree-check","wui-tree-group","wui-tree-icon","wui-tree-item","wui-tree-label","wui-tree-row","wui-tree-row-error","wui-tree-row-selected","wui-tree-spinner","wui-tree-toggle","wui-truncate","wui-truncate-multi","wui-truncate-text","wui-usermenu-caret","wui-usermenu-extra","wui-usermenu-foot","wui-usermenu-head","wui-usermenu-logout","wui-usermenu-menu","wui-usermenu-name","wui-usermenu-role","wui-usermenu-roles","wui-usermenu-roles-label","wui-usermenu-section","wui-usermenu-text","wui-usermenu-trigger","wui-usermenu-who","wui-virtual-off","wui-virtual-spacer","wui-whats-new","wui-whats-new-body","wui-whats-new-date","wui-whats-new-dot","wui-whats-new-empty","wui-whats-new-entry","wui-whats-new-entry-title","wui-whats-new-image","wui-whats-new-link","wui-whats-new-list","wui-whats-new-name","wui-whats-new-panel","wui-whats-new-title","wui-whats-new-trigger","wui-whats-new-unread","wui-wizard-topbar","wui-wizard-topbar-close","wui-wizard-topbar-count","wui-wizard-topbar-title"]`),bs=`raw-bootstrap`,xs=/* @__PURE__ */ new Map([[`btn`,`AppButton/<app-button>`],[`card`,`AppCard/<app-card>`],[`modal`,`AppModal/<app-modal>`],[`table`,`AppDataTable/<app-data-table>`],[`badge`,`AppBadge/<app-status-badge>`],[`alert`,`AppAlert/<app-alert>`],[`form-control`,`AppInput/<app-input>`],[`form-select`,`AppSelect/<app-select>`],[`form-check-input`,`AppCheckbox/<app-checkbox>`],[`pagination`,`AppTablePagination/<app-table-pagination>`],[`nav-tabs`,`AppTabs/<app-tabs>`],[`dropdown-menu`,`AppDropdown/<app-dropdown>`],[`offcanvas`,`AppDrawer/<app-drawer>`],[`breadcrumb`,`AppBreadcrumbs/<app-breadcrumbs>`],[`progress`,`AppProgress/<app-progress>`],[`spinner-border`,`AppSpinner/<app-spinner>`],[`accordion`,`AppAccordion/<app-accordion>`]]),Ss=/(?<![\w-])(?:class|className)\s*=\s*/g,Cs=/(["'`])((?:\\[\s\S]|(?!\1)[^\\])*)\1/g;function ws(e){let t=``,n=null;for(let r=0;r<e.length;r+=1){let i=e[r],a=e[r+1];if(n)t+=i,i===`\\`&&a!==void 0?(t+=a,r+=1):(i===n||i===`
|
|
156
156
|
`&&n!=="`")&&(n=null);else if(i===`/`&&a===`/`){let n=e.indexOf(`
|
|
157
|
-
`,r),i=n===-1?e.length:n;t+=` `.repeat(i-r),r=i-1}else if(i===`/`&&a===`*`){let n=e.indexOf(`*/`,r+2),i=n===-1?e.length:n+2;t+=e.slice(r,i).replace(/[^\n]/g,` `),r=i-1}else(i===`"`||i===`'`||i==="`")&&(n=i),t+=i}return t}function
|
|
157
|
+
`,r),i=n===-1?e.length:n;t+=` `.repeat(i-r),r=i-1}else if(i===`/`&&a===`*`){let n=e.indexOf(`*/`,r+2),i=n===-1?e.length:n+2;t+=e.slice(r,i).replace(/[^\n]/g,` `),r=i-1}else(i===`"`||i===`'`||i==="`")&&(n=i),t+=i}return t}function Ts(e,t){let n=[],r=e[t];if(r===`"`||r===`'`){let i=e.indexOf(r,t+1);i!==-1&&n.push({base:t+1,content:e.slice(t+1,i)})}else if(r===`{`){let r=0,i=t;for(;i<e.length;i+=1)if(e[i]===`{`)r+=1;else if(e[i]===`}`&&(--r,r===0))break;let a=e.slice(t,i);for(let e of a.matchAll(Cs))n.push({base:t+e.index+1,content:e[2]})}return n}function Es(e,t){let n=t===`markup`?C(e,`markup`):ws(e),r=[0];for(let e=0;e<n.length;e+=1)n[e]===`
|
|
158
158
|
`&&r.push(e+1);let i=e.split(`
|
|
159
|
-
`),a=e=>{let t=0,n=r.length-1;for(;t<n;){let i=t+n+1>>1;r[i]<=e?t=i:n=i-1}return t},o=[];for(let e of n.matchAll(
|
|
160
|
-
`).length}var
|
|
161
|
-
`),i=[],a=(e,t)=>{i.push({rule:
|
|
159
|
+
`),a=e=>{let t=0,n=r.length-1;for(;t<n;){let i=t+n+1>>1;r[i]<=e?t=i:n=i-1}return t},o=[];for(let e of n.matchAll(Ss)){let t=e.index+e[0].length;for(let e of Ts(n,t))for(let t of e.content.matchAll(/\S+/g)){let n=xs.get(t[0]);if(!n)continue;let r=a(e.base+t.index);o.push({rule:bs,line:r+1,text:(i[r]??``).trim().slice(0,160),hint:`use ${n} in place of the raw Bootstrap class "${t[0]}"`})}}return o.sort((e,t)=>e.line-t.line),o}var Ds=`route-internal-id`,Os=`route by the record's public id ("{publicId:guid}"), never its internal number`,ks=`pass the record's PublicId, never its internal Id`,As=/^\s*@page\s+"([^"]*)"/gm,js=/\basp-route-([A-Za-z][\w-]*)\s*=\s*"@\(?\s*([\w.?!]+?)\.Id\s*\)?"/g,Ms=/\b(?:Route|Http(?:Get|Post|Put|Patch|Delete))\s*\(\s*@?"([^"]*)"/g,Ns=/\.Map(?:Get|Post|Put|Patch|Delete|Methods)?\s*\(\s*@?"([^"]*)"/g,Ps=/\{([^{}]*)\}/g,Fs=/^(?:[Ii]d|[a-z][A-Za-z0-9]*Id)$/,Is=[`int`,`long`];function Ls(e){let t=[];for(let n of e.matchAll(Ps)){let[e,...r]=n[1].replace(/^\*{1,2}/,``).split(`:`),i=e.replace(/=.*$/,``).replace(/\?$/,``);Fs.test(i)&&r.some(e=>Is.includes(e.replace(/\?$/,``)))&&t.push(i)}return t}function Rs(e){let t=[];for(let n of e.matchAll(Ps)){let[e,...r]=n[1].replace(/^\*{1,2}/,``).split(`:`);r.some(e=>e.replace(/\?$/,``)===`guid`)&&t.push(e.replace(/=.*$/,``).replace(/\?$/,``))}return t}function zs(e,t){return e.slice(0,t).split(`
|
|
160
|
+
`).length}var Bs=/\basp-page\s*=\s*"([^"]*)"/,Vs=/\basp-area\s*=\s*"([^"]*)"/,Hs=/(?:^|\/)(?:Areas\/([^/]+)\/)?Pages(\/.+)\.cshtml$/i;function Us(e){let t=e?Hs.exec(e.replaceAll(`\\`,`/`)):null;return t?{area:t[1]??null,path:t[2]}:null}function Ws(e,t,n){let r=e.lastIndexOf(`<`,t),i=e.indexOf(`>`,t),a=e.slice(r===-1?0:r,i===-1?e.length:i),o=Vs.exec(a)?.[1],s=Bs.exec(a)?.[1];return s===void 0?o===void 0||n!==null&&o.toLowerCase()===(n.area??``).toLowerCase():n===null||o!==void 0&&o.toLowerCase()!==(n.area??``).toLowerCase()?!1:s.startsWith(`/`)?s.toLowerCase()===n.path.toLowerCase():s.split(`/`).pop()?.toLowerCase()===n.path.split(`/`).pop()?.toLowerCase()}function Gs(e,t,n){let r=e.split(`
|
|
161
|
+
`),i=[],a=(e,t)=>{i.push({rule:Ds,line:e,text:(r[e-1]??``).trim().slice(0,160),hint:t})},o=(e,t)=>{for(let n of Ls(e))a(t,Os)};if(t===`markup`){let t=C(e,`markup`),r=/* @__PURE__ */ new Set;for(let e of t.matchAll(As)){o(e[1],zs(t,e.index+e[0].indexOf(`@page`)));for(let t of Rs(e[1]))r.add(t.toLowerCase())}let s=Us(n);for(let e of t.matchAll(js))r.has(e[1].toLowerCase())&&Ws(t,e.index,s)||a(zs(t,e.index),ks);return i}for(let t of[Ms,Ns])for(let n of e.matchAll(t)){let t=zs(e,n.index);(r[t-1]??``).trim().startsWith(`//`)||o(n[1],t)}return i}function Ks(e,t){if(!/\.(?:jsx|tsx|cshtml)$/i.test(e))return[];let n=t.endsWith(`
|
|
162
162
|
`)?t.split(`
|
|
163
163
|
`).length-1:t.split(`
|
|
164
|
-
`).length;return n>800?[{rule:`oversize`,line:1,text:`over 800 lines: split it along its concerns`,hint:null}]:n>600?[{rule:`oversize`,line:1,text:`over 600 lines`,hint:null}]:[]}var
|
|
164
|
+
`).length;return n>800?[{rule:`oversize`,line:1,text:`over 800 lines: split it along its concerns`,hint:null}]:n>600?[{rule:`oversize`,line:1,text:`over 600 lines`,hint:null}]:[]}var qs=`rename-wrapper`,Js=`@webority/ui-react`,Ys=`["']${Js}["']`,V=e=>e.replace(/[^\n]/g,` `),Xs=`shadowed-library-name`;function H(e,t,n,r=qs){let i=e.slice(0,t).split(`
|
|
165
165
|
`).length;return{rule:r,line:i,text:e.split(`
|
|
166
|
-
`)[i-1].trim(),hint:n}}function qs(e){return e.replace(/\/\*[\s\S]*?\*\//g,V).replace(/\/\/[^\n]*/g,V)}function Js(e){let t=/* @__PURE__ */ new Map,n=RegExp(`import\\s+(?:type\\s+)?([^;'"]*?)\\s+from\\s*${Gs}`,`g`);for(let r of e.matchAll(n)){let e=r[1],n=e.match(/\{([^}]*)\}/);if(n)for(let e of n[1].split(`,`)){let n=e.trim().replace(/^type\s+/,``).split(/\s+as\s+/);n[0]&&t.set(n[n.length-1],n[0])}let i=e.match(/\*\s*as\s+(\w+)/);i&&t.set(i[1],`*`);let a=e.replace(/\{[^}]*\}/,``).replace(/\*\s*as\s+\w+/,``);for(let e of a.split(`,`)){let n=e.trim();/^\w+$/.test(n)&&t.set(n,`default`)}}return t}function Ys(e){let t=RegExp(`^[ \\t]*export\\s+(?:type\\s+)?(?:\\*(?:\\s+as\\s+\\w+)?|\\{[^}]*\\})\\s*from\\s*${Gs}`,`gm`);return[...e.matchAll(t)].map(t=>H(e,t.index,`Import the name from ${Ws} where it is used; a file that only re-exports it adds nothing.`))}function Xs(e,t){let n=[];if(t.size===0)return n;let r=`Import the name from ${Ws} where it is used instead of exporting it through this file.`;for(let i of e.matchAll(/^[ \t]*export\s*\{([^}]*)\}(?!\s*from)/gm))i[1].split(`,`).some(e=>t.has(e.trim().replace(/^type\s+/,``).split(/\s+as\s+/)[0]))&&n.push(H(e,i.index,r));for(let i of e.matchAll(/^[ \t]*export\s+default\s+(\w+)\s*;?[ \t]*$/gm))t.has(i[1])&&n.push(H(e,i.index,r));return n}function Zs(e,t,n,r){if(!/\.(jsx|tsx)$/.test(e))return[];let i=qs(t);if(/\buse[A-Z]\w*\s*[(<]/.test(i)||/\b(if|switch)\s*\(/.test(i)||[...i.matchAll(/\breturn\b/g)].length>1)return[];let a=i.match(/(?:\breturn|=>)\s*\(?\s*<([A-Za-z][\w.]*)/);if(!a)return[];let o=a[1],s=r.get(o);return!s||s===`*`||!n.has(s)||[...i.matchAll(/<([A-Za-z][\w.]*)/g)].length!==1||/[?]|&&|\|\|/.test(i.slice(a.index))?[]:[H(t,a.index,`Import ${s} from ${Ws} and use it where this component is used instead of a wrapper.`)]}function Qs(e,t){let n=e.split(/[\\/]/).pop();if(!n.startsWith(`_`)||!n.endsWith(`.cshtml`))return[];let r=t.replace(/@\*[\s\S]*?\*@/g,V).replace(/<!--[\s\S]*?-->/g,V).replace(/^[ \t]*@(?:model|using)\b[^\n]*/gm,V),i=r.search(/\S/);if(i<0)return[];let a=r.slice(i).trimEnd(),o=a.match(/^<(app-[a-z0-9-]+)/);return!o||!a.endsWith(`/>`)&&!a.endsWith(`</${o[1]}>`)||(a.match(/<[A-Za-z]/g)||[]).length!==1?[]:[H(t,i,`Render the <${o[1]}> tag directly where the partial is used instead of a partial that only renders it.`)]}function $s(e,t,n,r){let i=[];for(let[a,o]of r){if(a===o||!n.has(o))continue;let r=RegExp(`\\b(?:function|class|const|let|var)\\s+${o}\\b`).exec(e);r&&i.push(H(t,r.index,`Declares ${o} over the library's ${o}; use the library component and its props, or give the product component its own name.`,Ks))}return i}function ec(e,t,n){let r=Js(t);return[...Ys(t),...Xs(t,r),...Zs(e,t,n,r),...Qs(e,t),.../\.(jsx|tsx)$/.test(e)?$s(qs(t),t,n,r):[]]}var tc=()=>new Set(hs),nc=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`],rc=/(?:\bfrom\s*|\brequire\(\s*)["'](?:react-native|@webority\/mobile-ui)(?:\/[^"']*)?["']/;function ic(e,t,n,i,a){let o=/* @__PURE__ */ new Set;for(let s of O(D(e,t))){if(s.kind!==`import`||s.imported.length===0)continue;let c=$o(t,s.specifier,i);if(c===null)continue;let l=`${n}:${c}`;a.has(l)||a.set(l,yo(r(d(e,c),`utf8`),{phone:n}));let u=a.get(l);for(let{name:e,local:t}of s.imported)u.has(e)&&o.add(t)}return o}var ac=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`,`*.cshtml`];function oc(e){let n=[];for(let i of L(e,[`package.json`])){if(!t(d(e,i)))continue;let a;try{a=JSON.parse(r(d(e,i),`utf8`))}catch{continue}if(ga(a,d(e,p.dirname(i)))!==`mobile`)continue;let o=p.dirname(i);n.push(o===`.`?`src/`:`${o}/src/`)}return n}function sc(e,n=null){let i=n?n.map(t=>fa(e,t)):null,a=oc(e),o=e=>!i||i.some(t=>t===`.`||e===t||e.startsWith(`${t}/`)),s=L(e,Object.keys(Se).map(e=>`*${e}`)).filter(n=>t(d(e,n))&&!Ne(n,e)&&o(n)),c=[],l=tc(),f=qa(e),p=Ga(e),m=null,h=/* @__PURE__ */ new Map;for(let n of s){let i=u(n).toLowerCase(),o=Se[i],s=r(d(e,n),`utf8`),g=n.startsWith(`packages/`)||n.startsWith(`samples/`),_=f&&g,v=()=>_?[]:[...Ss(s,o),...ec(n,s,p)],y=[];if(o===`scss`||o===`css`||o===`markup`)y=xn(s,o),o!==`scss`&&o!==`css`||_||y.push(...ms(s,o,l)),o===`markup`&&y.push(...v(),...g?[]:ds(s),...g?[]:Vs(s,`markup`,n),...Hs(n,s));else if(o===`script`){let r=!g&&a.some(e=>n.startsWith(e)),o=qn(s)||r;if(Ce.includes(i)&&!o)continue;let c=[];if(!g){let i=r||rc.test(s);m??=new Set(L(e,nc).filter(n=>t(d(e,n)))),c=bo(s,{phone:i,keyedImports:s.includes(`.map(`)?ic(e,n,i,m,h):/* @__PURE__ */ new Set})}y=[...Jn(s,{phone:o,colourLiterals:r}),...c],r&&a.some(e=>n===`${e}assets/theme/settings.js`)&&(y=y.filter(e=>e.rule!==`raw-colour`)),(i===`.jsx`||i===`.tsx`)&&y.push(...v(),...Hs(n,s))}else o===`csharp`&&(g||(y=Vs(s,`csharp`)));for(let e of y)c.push({id:`${e.rule}:${n}`,line:e.line,text:e.text,hint:e.hint})}let g=L(e,ac).filter(n=>t(d(e,n)));for(let t of Zo(e,g)){let n=t.file.startsWith(`packages/`)||t.file.startsWith(`samples/`);o(t.file)&&!Ne(t.file,e)&&!n&&c.push({id:`${t.rule}:${t.file}`,line:t.line,text:t.text,hint:t.hint})}return c.sort((e,t)=>e.id<t.id?-1:e.id>t.id?1:e.line-t.line)}function cc(e){let t={};for(let n of e)t[n.id]=(t[n.id]||0)+1;return t}var U=process.argv.slice(2),lc=/* @__PURE__ */ new Set([`--baseline-accept`,`--reason`,`--baseline-adopt`]),uc=new Set(U.flatMap((e,t)=>lc.has(e)?[t+1]:[])),W=new Set(U.filter((e,t)=>e.startsWith(`--`)&&!uc.has(t))),G=U.filter((e,t)=>!e.startsWith(`--`)&&!uc.has(t)),dc=W.has(`--sync-hook`),fc=e=>U.includes(e)?U[U.indexOf(e)+1]:void 0,pc=fc(`--baseline-accept`),mc=fc(`--reason`),hc=fc(`--baseline-adopt`)?.split(`,`).map(e=>e.trim()).filter(Boolean),gc=e=>typeof e==`string`&&e.trim()!==``,K=e=>process.stdout.write(`${e}\n`),q=e=>process.stderr.write(`${e}\n`);W.has(`--json`)&&(console.log=(...e)=>console.error(...e));var _c=/* @__PURE__ */ new Set([`--json`,`--offline`,`--baseline-init`,`--baseline-shrink`,`--baseline-accept`,`--reason`,`--sync-hook`,`--baseline-adopt`]),vc=[...W].filter(e=>!_c.has(e)),yc=W.has(`--baseline-accept`),bc=(yc||W.has(`--reason`))&&!(gc(pc)&&gc(mc)),xc=yc&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||dc||W.has(`--baseline-adopt`)),Sc=W.has(`--baseline-adopt`)&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||W.has(`--baseline-accept`)||dc);(vc.length||W.has(`--baseline-init`)&&W.has(`--baseline-shrink`)||dc&&(W.size>1||G.length)||bc||xc||Sc)&&(q(`repo-checks: unknown or conflicting options ${vc.join(` `)}`.trim()),q(`usage: webority-repo-checks [--json] [--offline] [--baseline-init | --baseline-shrink] [--baseline-accept <folder> --reason <text>] [--baseline-adopt <rule,...>] [app folder ...]`),q(` webority-repo-checks --sync-hook`),process.exit(2));var J=ma(process.cwd());if(J||(q(`repo-checks: not inside a git repository.`),process.exit(2)),dc){let t=d(J,to);n(l(t),{recursive:!0}),s(t,lt),e(t,493),K(`repo-checks: wrote ${t}`),process.exit(0)}var Cc=W.has(`--offline`);Cc&&q(`repo-checks: advisory rule skipped (--offline).`);var wc=ao(J,G.length?G.map(e=>h(process.cwd(),e)):null,{advisories:!Cc}).sort((e,t)=>e.pkg===t.pkg?0:e.pkg<t.pkg?-1:1),Tc=wc.filter(e=>e.warning),Ec=wc.filter(e=>!e.warning),Dc=Ec.filter(e=>e.id.startsWith(`lint:`)),Oc=Ec.filter(e=>!e.id.startsWith(`lint:`)),kc=sc(J,G.length?G.map(e=>h(process.cwd(),e)):null),Y={findings:Oc.map(e=>ee(e.pkg,e.id)),counts:cc(kc)},Ac=new Map(Oc.map(e=>[ee(e.pkg,e.id),e]));if(W.has(`--baseline-init`)){G.length&&(q(`repo-checks: --baseline-init reads the whole repository; run it without folder arguments.`),process.exit(2)),t(d(J,`.webority/baselines/repo-checks-baseline.json`))&&(q(`repo-checks: ${y} already exists. It only shrinks: fix a new finding, or run --baseline-shrink after fixing old ones.`),process.exit(2)),ae(J,oe(Y));let e=Object.keys(Y.counts).length;K(`repo-checks: recorded ${Oc.length} finding(s) and ${e} counted file(s) (${kc.length} code finding(s)) in ${y}.`),process.exit(0)}var X=(()=>{try{return te(J)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}})();if(W.has(`--baseline-shrink`)){G.length&&(q(`repo-checks: --baseline-shrink reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=le(X,Y);ae(J,ue(X,Y)),K(`repo-checks: dropped ${e.stale.length} fixed finding(s) and lowered ${e.fallen.length} count(s) in ${y}.`),process.exit(0)}if(yc){G.length&&(q(`repo-checks: --baseline-accept reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=de(X,Y,pc,mc),t=new Set(X.findings),n=e.findings.filter(e=>!t.has(e)).length,r=Object.keys(e.counts).filter(t=>(X.counts[t]??0)<e.counts[t]).length;ae(J,e),K(`repo-checks: accepted ${n} finding(s) and ${r} count(s) under ${pc} (${mc}).`),process.exit(0)}if(W.has(`--baseline-adopt`)){G.length&&(q(`repo-checks: --baseline-adopt reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2)),hc?.length||(q(`repo-checks: --baseline-adopt needs a comma-separated list of rule ids.`),process.exit(2));let e;try{e=se(X,Y,hc)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}ae(J,e);let t=new Set(X.findings);for(let n of hc){let r=e.findings.filter(e=>!t.has(e)&&S(e)[1].split(`:`)[0]===n).length,i=Object.keys(e.counts).filter(e=>!(e in X.counts)&&e.split(`:`)[0]===n).length;K(`repo-checks: adopted ${r} finding(s) and ${i} count(s) for ${n} in ${y}.`)}process.exit(0)}var jc=new Set(G.map(e=>m(J,h(process.cwd(),e)).split(`\\`).join(`/`)||`.`)),Mc=G.length?{pkgs:jc,dirs:[...jc]}:null,Z=le(ce(X??{version:2,findings:[],counts:{}},Mc),Y),Nc={"raw-measure":Pe,"palette-read":Le,"raw-colour":Fe,"root-font-size":Ie,"raw-motion":Re,"dark-read":ze,"missing-canvas-key":Be,"repeated-canvas-key":Ve},Pc=e=>Nc[e.slice(0,e.indexOf(`:`))],Q=[...Z.fresh.map(e=>Ac.get(e)),...Dc],Fc=Z.known.map(e=>Ac.get(e)),Ic=e=>[`${e.current} found, ${e.baseline} recorded.`,Pc(e.id)].filter(Boolean).join(` `),Lc=e=>Xi(e.id.split(`:`)[0]),$=Z.over.filter(Lc).map(e=>({pkg:`.`,id:e.id,message:Ic(e),lines:kc.filter(t=>t.id===e.id).map(({line:e,text:t,hint:n})=>({line:e,text:t,hint:n}))})),Rc=Z.over.filter(e=>!Lc(e)).map(e=>({pkg:`.`,id:e.id,message:Ic(e)})),zc=Z.within.map(e=>({pkg:`.`,id:e.id,message:`${e.current} found, ${e.baseline} recorded.`})),Bc=[...Z.stale.map(S),...Z.fallen.map(e=>[`.`,e.id])],Vc=[...Tc,...Rc];if(W.has(`--json`)||(()=>{if(Vc.length!==0){q(`repo-checks: ${Vc.length} warning(s), not enforced yet. Name a rule in REPO_CHECKS_ENFORCE (comma list, or all) to fail on it:`);for(let e of Vc)q(` - ${e.pkg} ${e.id}: ${e.message}`)}})(),W.has(`--json`)){let e={root:J,new:[...Q,...$],known:[...Fc,...zc],stale:Bc,warnings:Vc.map(e=>({pkg:e.pkg,id:e.id,message:e.message}))};K(JSON.stringify(e,null,2)),process.exitCode=Q.length||$.length?1:0}else if(Q.length||$.length){if(Q.length){q(`repo-checks: ${Q.length} new finding(s)`);let e=null;for(let t of Q)t.pkg!==e&&(e=t.pkg,q(` ${e}`)),q(` - ${t.id}: ${t.message}`)}if($.length){q(`repo-checks: ${$.length} file(s) above their recorded count`);for(let e of $){q(` ${e.id}: ${e.message}`);for(let t of e.lines)q(` ${t.line}: ${t.text}`),t.hint!==null&&q(` ${t.hint}`)}}process.exitCode=1}else{if(K(`repo-checks: no new findings.`),Fc.length||zc.length){let e=Z.within.reduce((e,t)=>e+t.current,0);K(`repo-checks: ${Fc.length} known finding(s) and ${e} counted code finding(s) in ${zc.length} file(s) recorded in ${y}.`)}if(Z.stale.length){K(`repo-checks: ${Z.stale.length} baseline entr${Z.stale.length===1?`y is`:`ies are`} fixed; drop them with webority-repo-checks --baseline-shrink:`);for(let e of Z.stale.map(S))K(` ${e[0]} ${e[1]}`)}if(Z.fallen.length){K(`repo-checks: ${Z.fallen.length} count(s) fell; record them with webority-repo-checks --baseline-shrink:`);for(let e of Z.fallen)K(` ${e.id} ${e.baseline} -> ${e.current}`)}}export{};
|
|
166
|
+
`)[i-1].trim(),hint:n}}function Zs(e){return e.replace(/\/\*[\s\S]*?\*\//g,V).replace(/\/\/[^\n]*/g,V)}function Qs(e){let t=/* @__PURE__ */ new Map,n=RegExp(`import\\s+(?:type\\s+)?([^;'"]*?)\\s+from\\s*${Ys}`,`g`);for(let r of e.matchAll(n)){let e=r[1],n=e.match(/\{([^}]*)\}/);if(n)for(let e of n[1].split(`,`)){let n=e.trim().replace(/^type\s+/,``).split(/\s+as\s+/);n[0]&&t.set(n[n.length-1],n[0])}let i=e.match(/\*\s*as\s+(\w+)/);i&&t.set(i[1],`*`);let a=e.replace(/\{[^}]*\}/,``).replace(/\*\s*as\s+\w+/,``);for(let e of a.split(`,`)){let n=e.trim();/^\w+$/.test(n)&&t.set(n,`default`)}}return t}function $s(e){let t=RegExp(`^[ \\t]*export\\s+(?:type\\s+)?(?:\\*(?:\\s+as\\s+\\w+)?|\\{[^}]*\\})\\s*from\\s*${Ys}`,`gm`);return[...e.matchAll(t)].map(t=>H(e,t.index,`Import the name from ${Js} where it is used; a file that only re-exports it adds nothing.`))}function ec(e,t){let n=[];if(t.size===0)return n;let r=`Import the name from ${Js} where it is used instead of exporting it through this file.`;for(let i of e.matchAll(/^[ \t]*export\s*\{([^}]*)\}(?!\s*from)/gm))i[1].split(`,`).some(e=>t.has(e.trim().replace(/^type\s+/,``).split(/\s+as\s+/)[0]))&&n.push(H(e,i.index,r));for(let i of e.matchAll(/^[ \t]*export\s+default\s+(\w+)\s*;?[ \t]*$/gm))t.has(i[1])&&n.push(H(e,i.index,r));return n}function tc(e,t,n,r){if(!/\.(jsx|tsx)$/.test(e))return[];let i=Zs(t);if(/\buse[A-Z]\w*\s*[(<]/.test(i)||/\b(if|switch)\s*\(/.test(i)||[...i.matchAll(/\breturn\b/g)].length>1)return[];let a=i.match(/(?:\breturn|=>)\s*\(?\s*<([A-Za-z][\w.]*)/);if(!a)return[];let o=a[1],s=r.get(o);return!s||s===`*`||!n.has(s)||[...i.matchAll(/<([A-Za-z][\w.]*)/g)].length!==1||/[?]|&&|\|\|/.test(i.slice(a.index))?[]:[H(t,a.index,`Import ${s} from ${Js} and use it where this component is used instead of a wrapper.`)]}function nc(e,t){let n=e.split(/[\\/]/).pop();if(!n.startsWith(`_`)||!n.endsWith(`.cshtml`))return[];let r=t.replace(/@\*[\s\S]*?\*@/g,V).replace(/<!--[\s\S]*?-->/g,V).replace(/^[ \t]*@(?:model|using)\b[^\n]*/gm,V),i=r.search(/\S/);if(i<0)return[];let a=r.slice(i).trimEnd(),o=a.match(/^<(app-[a-z0-9-]+)/);return!o||!a.endsWith(`/>`)&&!a.endsWith(`</${o[1]}>`)||(a.match(/<[A-Za-z]/g)||[]).length!==1?[]:[H(t,i,`Render the <${o[1]}> tag directly where the partial is used instead of a partial that only renders it.`)]}function rc(e,t,n,r){let i=[];for(let[a,o]of r){if(a===o||!n.has(o))continue;let r=RegExp(`\\b(?:function|class|const|let|var)\\s+${o}\\b`).exec(e);r&&i.push(H(t,r.index,`Declares ${o} over the library's ${o}; use the library component and its props, or give the product component its own name.`,Xs))}return i}function ic(e,t,n){let r=Qs(t);return[...$s(t),...ec(t,r),...tc(e,t,n,r),...nc(e,t),.../\.(jsx|tsx)$/.test(e)?rc(Zs(t),t,n,r):[]]}var ac=()=>new Set(ys),oc=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`],sc=/(?:\bfrom\s*|\brequire\(\s*)["'](?:react-native|@webority\/mobile-ui)(?:\/[^"']*)?["']/;function cc(e,t,n,i,a){let o=/* @__PURE__ */ new Set;for(let s of O(D(e,t))){if(s.kind!==`import`||s.imported.length===0)continue;let c=es(t,s.specifier,i);if(c===null)continue;let l=`${n}:${c}`;a.has(l)||a.set(l,yo(r(d(e,c),`utf8`),{phone:n}));let u=a.get(l);for(let{name:e,local:t}of s.imported)u.has(e)&&o.add(t)}return o}var lc=[`*.js`,`*.jsx`,`*.ts`,`*.tsx`,`*.cshtml`];function uc(e){let n=[];for(let i of L(e,[`package.json`])){if(!t(d(e,i)))continue;let a;try{a=JSON.parse(r(d(e,i),`utf8`))}catch{continue}if(ga(a,d(e,p.dirname(i)))!==`mobile`)continue;let o=p.dirname(i);n.push(o===`.`?`src/`:`${o}/src/`)}return n}function dc(e,n=null){let i=n?n.map(t=>fa(e,t)):null,a=uc(e),o=e=>!i||i.some(t=>t===`.`||e===t||e.startsWith(`${t}/`)),s=L(e,Object.keys(Se).map(e=>`*${e}`)).filter(n=>t(d(e,n))&&!Ne(n,e)&&o(n)),c=[],l=ac(),f=qa(e),p=Ga(e),m=null,h=/* @__PURE__ */ new Map;for(let n of s){let i=u(n).toLowerCase(),o=Se[i],s=r(d(e,n),`utf8`),g=n.startsWith(`packages/`)||n.startsWith(`samples/`),_=f&&g,v=()=>_?[]:[...Es(s,o),...ic(n,s,p)],y=[];if(o===`scss`||o===`css`||o===`markup`)y=xn(s,o),o!==`scss`&&o!==`css`||_||y.push(..._s(s,o,l)),o===`markup`&&y.push(...v(),...g?[]:fs(s),...g?[]:Gs(s,`markup`,n),...Ks(n,s));else if(o===`script`){let r=!g&&a.some(e=>n.startsWith(e)),o=qn(s)||r;if(Ce.includes(i)&&!o)continue;let c=[];if(!g){let i=r||sc.test(s);m??=new Set(L(e,oc).filter(n=>t(d(e,n)))),c=bo(s,{phone:i,keyedImports:s.includes(`.map(`)?cc(e,n,i,m,h):/* @__PURE__ */ new Set})}y=[...Jn(s,{phone:o,colourLiterals:r}),...c],r&&a.some(e=>n===`${e}assets/theme/settings.js`)&&(y=y.filter(e=>e.rule!==`raw-colour`)),(i===`.jsx`||i===`.tsx`)&&y.push(...v(),...Ks(n,s))}else o===`csharp`&&(g||(y=Gs(s,`csharp`)));for(let e of y)c.push({id:`${e.rule}:${n}`,line:e.line,text:e.text,hint:e.hint})}let g=L(e,lc).filter(n=>t(d(e,n)));for(let t of Qo(e,g)){let n=t.file.startsWith(`packages/`)||t.file.startsWith(`samples/`);o(t.file)&&!Ne(t.file,e)&&!n&&c.push({id:`${t.rule}:${t.file}`,line:t.line,text:t.text,hint:t.hint})}return c.sort((e,t)=>e.id<t.id?-1:e.id>t.id?1:e.line-t.line)}function fc(e){let t={};for(let n of e)t[n.id]=(t[n.id]||0)+1;return t}var U=process.argv.slice(2),pc=/* @__PURE__ */ new Set([`--baseline-accept`,`--reason`,`--baseline-adopt`]),mc=new Set(U.flatMap((e,t)=>pc.has(e)?[t+1]:[])),W=new Set(U.filter((e,t)=>e.startsWith(`--`)&&!mc.has(t))),G=U.filter((e,t)=>!e.startsWith(`--`)&&!mc.has(t)),hc=W.has(`--sync-hook`),gc=e=>U.includes(e)?U[U.indexOf(e)+1]:void 0,_c=gc(`--baseline-accept`),vc=gc(`--reason`),yc=gc(`--baseline-adopt`)?.split(`,`).map(e=>e.trim()).filter(Boolean),bc=e=>typeof e==`string`&&e.trim()!==``,K=e=>process.stdout.write(`${e}\n`),q=e=>process.stderr.write(`${e}\n`);W.has(`--json`)&&(console.log=(...e)=>console.error(...e));var xc=/* @__PURE__ */ new Set([`--json`,`--offline`,`--baseline-init`,`--baseline-shrink`,`--baseline-accept`,`--reason`,`--sync-hook`,`--baseline-adopt`]),Sc=[...W].filter(e=>!xc.has(e)),Cc=W.has(`--baseline-accept`),wc=(Cc||W.has(`--reason`))&&!(bc(_c)&&bc(vc)),Tc=Cc&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||hc||W.has(`--baseline-adopt`)),Ec=W.has(`--baseline-adopt`)&&(W.has(`--baseline-init`)||W.has(`--baseline-shrink`)||W.has(`--baseline-accept`)||hc);(Sc.length||W.has(`--baseline-init`)&&W.has(`--baseline-shrink`)||hc&&(W.size>1||G.length)||wc||Tc||Ec)&&(q(`repo-checks: unknown or conflicting options ${Sc.join(` `)}`.trim()),q(`usage: webority-repo-checks [--json] [--offline] [--baseline-init | --baseline-shrink] [--baseline-accept <folder> --reason <text>] [--baseline-adopt <rule,...>] [app folder ...]`),q(` webority-repo-checks --sync-hook`),process.exit(2));var J=ma(process.cwd());if(J||(q(`repo-checks: not inside a git repository.`),process.exit(2)),hc){let t=d(J,to);n(l(t),{recursive:!0}),s(t,lt),e(t,493),K(`repo-checks: wrote ${t}`),process.exit(0)}var Dc=W.has(`--offline`);Dc&&q(`repo-checks: advisory rule skipped (--offline).`);var Oc=ao(J,G.length?G.map(e=>h(process.cwd(),e)):null,{advisories:!Dc}).sort((e,t)=>e.pkg===t.pkg?0:e.pkg<t.pkg?-1:1),kc=Oc.filter(e=>e.warning),Ac=Oc.filter(e=>!e.warning),jc=Ac.filter(e=>e.id.startsWith(`lint:`)),Mc=Ac.filter(e=>!e.id.startsWith(`lint:`)),Nc=dc(J,G.length?G.map(e=>h(process.cwd(),e)):null),Y={findings:Mc.map(e=>ee(e.pkg,e.id)),counts:fc(Nc)},Pc=new Map(Mc.map(e=>[ee(e.pkg,e.id),e]));if(W.has(`--baseline-init`)){G.length&&(q(`repo-checks: --baseline-init reads the whole repository; run it without folder arguments.`),process.exit(2)),t(d(J,`.webority/baselines/repo-checks-baseline.json`))&&(q(`repo-checks: ${y} already exists. It only shrinks: fix a new finding, or run --baseline-shrink after fixing old ones.`),process.exit(2)),ae(J,oe(Y));let e=Object.keys(Y.counts).length;K(`repo-checks: recorded ${Mc.length} finding(s) and ${e} counted file(s) (${Nc.length} code finding(s)) in ${y}.`),process.exit(0)}var X=(()=>{try{return te(J)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}})();if(W.has(`--baseline-shrink`)){G.length&&(q(`repo-checks: --baseline-shrink reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=le(X,Y);ae(J,ue(X,Y)),K(`repo-checks: dropped ${e.stale.length} fixed finding(s) and lowered ${e.fallen.length} count(s) in ${y}.`),process.exit(0)}if(Cc){G.length&&(q(`repo-checks: --baseline-accept reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2));let e=de(X,Y,_c,vc),t=new Set(X.findings),n=e.findings.filter(e=>!t.has(e)).length,r=Object.keys(e.counts).filter(t=>(X.counts[t]??0)<e.counts[t]).length;ae(J,e),K(`repo-checks: accepted ${n} finding(s) and ${r} count(s) under ${_c} (${vc}).`),process.exit(0)}if(W.has(`--baseline-adopt`)){G.length&&(q(`repo-checks: --baseline-adopt reads the whole repository; run it without folder arguments.`),process.exit(2)),X===null&&(q(`repo-checks: no ${y}; run webority-repo-checks --baseline-init first.`),process.exit(2)),yc?.length||(q(`repo-checks: --baseline-adopt needs a comma-separated list of rule ids.`),process.exit(2));let e;try{e=se(X,Y,yc)}catch(e){throw e instanceof x&&(q(`repo-checks: ${e.message}`),process.exit(2)),e}ae(J,e);let t=new Set(X.findings);for(let n of yc){let r=e.findings.filter(e=>!t.has(e)&&S(e)[1].split(`:`)[0]===n).length,i=Object.keys(e.counts).filter(e=>!(e in X.counts)&&e.split(`:`)[0]===n).length;K(`repo-checks: adopted ${r} finding(s) and ${i} count(s) for ${n} in ${y}.`)}process.exit(0)}var Fc=new Set(G.map(e=>m(J,h(process.cwd(),e)).split(`\\`).join(`/`)||`.`)),Ic=G.length?{pkgs:Fc,dirs:[...Fc]}:null,Z=le(ce(X??{version:2,findings:[],counts:{}},Ic),Y),Lc={"raw-measure":Pe,"palette-read":Le,"raw-colour":Fe,"root-font-size":Ie,"raw-motion":Re,"dark-read":ze,"missing-canvas-key":Be,"repeated-canvas-key":Ve},Rc=e=>Lc[e.slice(0,e.indexOf(`:`))],Q=[...Z.fresh.map(e=>Pc.get(e)),...jc],zc=Z.known.map(e=>Pc.get(e)),Bc=e=>[`${e.current} found, ${e.baseline} recorded.`,Rc(e.id)].filter(Boolean).join(` `),Vc=e=>Xi(e.id.split(`:`)[0]),$=Z.over.filter(Vc).map(e=>({pkg:`.`,id:e.id,message:Bc(e),lines:Nc.filter(t=>t.id===e.id).map(({line:e,text:t,hint:n})=>({line:e,text:t,hint:n}))})),Hc=Z.over.filter(e=>!Vc(e)).map(e=>({pkg:`.`,id:e.id,message:Bc(e)})),Uc=Z.within.map(e=>({pkg:`.`,id:e.id,message:`${e.current} found, ${e.baseline} recorded.`})),Wc=[...Z.stale.map(S),...Z.fallen.map(e=>[`.`,e.id])],Gc=[...kc,...Hc];if(W.has(`--json`)||(()=>{if(Gc.length!==0){q(`repo-checks: ${Gc.length} warning(s), not enforced yet. Name a rule in REPO_CHECKS_ENFORCE (comma list, or all) to fail on it:`);for(let e of Gc)q(` - ${e.pkg} ${e.id}: ${e.message}`)}})(),W.has(`--json`)){let e={root:J,new:[...Q,...$],known:[...zc,...Uc],stale:Wc,warnings:Gc.map(e=>({pkg:e.pkg,id:e.id,message:e.message}))};K(JSON.stringify(e,null,2)),process.exitCode=Q.length||$.length?1:0}else if(Q.length||$.length){if(Q.length){q(`repo-checks: ${Q.length} new finding(s)`);let e=null;for(let t of Q)t.pkg!==e&&(e=t.pkg,q(` ${e}`)),q(` - ${t.id}: ${t.message}`)}if($.length){q(`repo-checks: ${$.length} file(s) above their recorded count`);for(let e of $){q(` ${e.id}: ${e.message}`);for(let t of e.lines)q(` ${t.line}: ${t.text}`),t.hint!==null&&q(` ${t.hint}`)}}process.exitCode=1}else{if(K(`repo-checks: no new findings.`),zc.length||Uc.length){let e=Z.within.reduce((e,t)=>e+t.current,0);K(`repo-checks: ${zc.length} known finding(s) and ${e} counted code finding(s) in ${Uc.length} file(s) recorded in ${y}.`)}if(Z.stale.length){K(`repo-checks: ${Z.stale.length} baseline entr${Z.stale.length===1?`y is`:`ies are`} fixed; drop them with webority-repo-checks --baseline-shrink:`);for(let e of Z.stale.map(S))K(` ${e[0]} ${e[1]}`)}if(Z.fallen.length){K(`repo-checks: ${Z.fallen.length} count(s) fell; record them with webority-repo-checks --baseline-shrink:`);for(let e of Z.fallen)K(` ${e.id} ${e.baseline} -> ${e.current}`)}}export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/repo-checks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.145.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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"node": ">=24.15 <27"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@webority/theme": "0.
|
|
25
|
+
"@webority/theme": "0.145.0",
|
|
26
26
|
"vite": "^8.0.12"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|