@contact_incruiter/fcc 1.0.3 → 1.0.5
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +112 -112
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../node_modules/clsx/dist/clsx.mjs","../node_modules/tailwind-merge/dist/bundle-mjs.mjs","../src/lib/utils.ts","../src/components/common/StatusBadge.tsx","../src/components/common/ProductIcon.tsx","../src/components/common/SearchBar.tsx","../src/components/common/PageHeader.tsx","../src/components/layout/Sidebar.tsx","../src/components/layout/TopBar.tsx","../src/components/layout/AppShell.tsx","../src/components/dashboard/WelcomeBanner.tsx","../src/components/dashboard/QuickActionCard.tsx","../src/components/dashboard/SubscriptionCard.tsx","../src/components/dashboard/AIBanner.tsx","../src/components/workflow/WorkflowTemplateCard.tsx","../src/components/workflow/WorkflowListItem.tsx","../src/components/workflow/PipelineNode.tsx","../src/components/workflow/ConditionalBranch.tsx","../src/components/workflow/AddStepButton.tsx","../src/components/workflow/ProductDragPanel.tsx","../src/components/workflow/TransitionConditionDialog.tsx","../src/components/workflow/WorkflowDesigner.tsx","../src/shared/InCruiterSidebar.tsx","../src/shared/InCruiterTopBar.tsx"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Concatenates two arrays faster than the array spread operator.\n */\nconst concatArrays = (array1, array2) => {\n // Pre-allocate for better V8 optimization\n const combinedArray = new Array(array1.length + array2.length);\n for (let i = 0; i < array1.length; i++) {\n combinedArray[i] = array1[i];\n }\n for (let i = 0; i < array2.length; i++) {\n combinedArray[array1.length + i] = array2[i];\n }\n return combinedArray;\n};\n\n// Factory function ensures consistent object shapes\nconst createClassValidatorObject = (classGroupId, validator) => ({\n classGroupId,\n validator\n});\n// Factory ensures consistent ClassPartObject shape\nconst createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({\n nextPart,\n validators,\n classGroupId\n});\nconst CLASS_PART_SEPARATOR = '-';\nconst EMPTY_CONFLICTS = [];\n// I use two dots here because one dot is used as prefix for class groups in plugins\nconst ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';\nconst createClassGroupUtils = config => {\n const classMap = createClassMap(config);\n const {\n conflictingClassGroups,\n conflictingClassGroupModifiers\n } = config;\n const getClassGroupId = className => {\n if (className.startsWith('[') && className.endsWith(']')) {\n return getGroupIdForArbitraryProperty(className);\n }\n const classParts = className.split(CLASS_PART_SEPARATOR);\n // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.\n const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;\n return getGroupRecursive(classParts, startIndex, classMap);\n };\n const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n if (hasPostfixModifier) {\n const modifierConflicts = conflictingClassGroupModifiers[classGroupId];\n const baseConflicts = conflictingClassGroups[classGroupId];\n if (modifierConflicts) {\n if (baseConflicts) {\n // Merge base conflicts with modifier conflicts\n return concatArrays(baseConflicts, modifierConflicts);\n }\n // Only modifier conflicts\n return modifierConflicts;\n }\n // Fall back to without postfix if no modifier conflicts\n return baseConflicts || EMPTY_CONFLICTS;\n }\n return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;\n };\n return {\n getClassGroupId,\n getConflictingClassGroupIds\n };\n};\nconst getGroupRecursive = (classParts, startIndex, classPartObject) => {\n const classPathsLength = classParts.length - startIndex;\n if (classPathsLength === 0) {\n return classPartObject.classGroupId;\n }\n const currentClassPart = classParts[startIndex];\n const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n if (nextClassPartObject) {\n const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);\n if (result) return result;\n }\n const validators = classPartObject.validators;\n if (validators === null) {\n return undefined;\n }\n // Build classRest string efficiently by joining from startIndex onwards\n const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);\n const validatorsLength = validators.length;\n for (let i = 0; i < validatorsLength; i++) {\n const validatorObj = validators[i];\n if (validatorObj.validator(classRest)) {\n return validatorObj.classGroupId;\n }\n }\n return undefined;\n};\n/**\n * Get the class group ID for an arbitrary property.\n *\n * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.\n */\nconst getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {\n const content = className.slice(1, -1);\n const colonIndex = content.indexOf(':');\n const property = content.slice(0, colonIndex);\n return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;\n})();\n/**\n * Exported for testing only\n */\nconst createClassMap = config => {\n const {\n theme,\n classGroups\n } = config;\n return processClassGroups(classGroups, theme);\n};\n// Split into separate functions to maintain monomorphic call sites\nconst processClassGroups = (classGroups, theme) => {\n const classMap = createClassPartObject();\n for (const classGroupId in classGroups) {\n const group = classGroups[classGroupId];\n processClassesRecursively(group, classMap, classGroupId, theme);\n }\n return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n const len = classGroup.length;\n for (let i = 0; i < len; i++) {\n const classDefinition = classGroup[i];\n processClassDefinition(classDefinition, classPartObject, classGroupId, theme);\n }\n};\n// Split into separate functions for each type to maintain monomorphic call sites\nconst processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (typeof classDefinition === 'string') {\n processStringDefinition(classDefinition, classPartObject, classGroupId);\n return;\n }\n if (typeof classDefinition === 'function') {\n processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);\n return;\n }\n processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);\n};\nconst processStringDefinition = (classDefinition, classPartObject, classGroupId) => {\n const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);\n classPartObjectToEdit.classGroupId = classGroupId;\n};\nconst processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (isThemeGetter(classDefinition)) {\n processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n return;\n }\n if (classPartObject.validators === null) {\n classPartObject.validators = [];\n }\n classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));\n};\nconst processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n const entries = Object.entries(classDefinition);\n const len = entries.length;\n for (let i = 0; i < len; i++) {\n const [key, value] = entries[i];\n processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);\n }\n};\nconst getPart = (classPartObject, path) => {\n let current = classPartObject;\n const parts = path.split(CLASS_PART_SEPARATOR);\n const len = parts.length;\n for (let i = 0; i < len; i++) {\n const part = parts[i];\n let next = current.nextPart.get(part);\n if (!next) {\n next = createClassPartObject();\n current.nextPart.set(part, next);\n }\n current = next;\n }\n return current;\n};\n// Type guard maintains monomorphic check\nconst isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;\n\n// LRU cache implementation using plain objects for simplicity\nconst createLruCache = maxCacheSize => {\n if (maxCacheSize < 1) {\n return {\n get: () => undefined,\n set: () => {}\n };\n }\n let cacheSize = 0;\n let cache = Object.create(null);\n let previousCache = Object.create(null);\n const update = (key, value) => {\n cache[key] = value;\n cacheSize++;\n if (cacheSize > maxCacheSize) {\n cacheSize = 0;\n previousCache = cache;\n cache = Object.create(null);\n }\n };\n return {\n get(key) {\n let value = cache[key];\n if (value !== undefined) {\n return value;\n }\n if ((value = previousCache[key]) !== undefined) {\n update(key, value);\n return value;\n }\n },\n set(key, value) {\n if (key in cache) {\n cache[key] = value;\n } else {\n update(key, value);\n }\n }\n };\n};\nconst IMPORTANT_MODIFIER = '!';\nconst MODIFIER_SEPARATOR = ':';\nconst EMPTY_MODIFIERS = [];\n// Pre-allocated result object shape for consistency\nconst createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n isExternal\n});\nconst createParseClassName = config => {\n const {\n prefix,\n experimentalParseClassName\n } = config;\n /**\n * Parse class name into parts.\n *\n * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n */\n let parseClassName = className => {\n // Use simple array with push for better performance\n const modifiers = [];\n let bracketDepth = 0;\n let parenDepth = 0;\n let modifierStart = 0;\n let postfixModifierPosition;\n const len = className.length;\n for (let index = 0; index < len; index++) {\n const currentCharacter = className[index];\n if (bracketDepth === 0 && parenDepth === 0) {\n if (currentCharacter === MODIFIER_SEPARATOR) {\n modifiers.push(className.slice(modifierStart, index));\n modifierStart = index + 1;\n continue;\n }\n if (currentCharacter === '/') {\n postfixModifierPosition = index;\n continue;\n }\n }\n if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;\n }\n const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);\n // Inline important modifier check\n let baseClassName = baseClassNameWithImportantModifier;\n let hasImportantModifier = false;\n if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(0, -1);\n hasImportantModifier = true;\n } else if (\n /**\n * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.\n * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864\n */\n baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(1);\n hasImportantModifier = true;\n }\n const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;\n return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);\n };\n if (prefix) {\n const fullPrefix = prefix + MODIFIER_SEPARATOR;\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);\n }\n if (experimentalParseClassName) {\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => experimentalParseClassName({\n className,\n parseClassName: parseClassNameOriginal\n });\n }\n return parseClassName;\n};\n\n/**\n * Sorts modifiers according to following schema:\n * - Predefined modifiers are sorted alphabetically\n * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it\n */\nconst createSortModifiers = config => {\n // Pre-compute weights for all known modifiers for O(1) comparison\n const modifierWeights = new Map();\n // Assign weights to sensitive modifiers (highest priority, but preserve order)\n config.orderSensitiveModifiers.forEach((mod, index) => {\n modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods\n });\n return modifiers => {\n const result = [];\n let currentSegment = [];\n // Process modifiers in one pass\n for (let i = 0; i < modifiers.length; i++) {\n const modifier = modifiers[i];\n // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)\n const isArbitrary = modifier[0] === '[';\n const isOrderSensitive = modifierWeights.has(modifier);\n if (isArbitrary || isOrderSensitive) {\n // Sort and flush current segment alphabetically\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n currentSegment = [];\n }\n result.push(modifier);\n } else {\n // Regular modifier - add to current segment for batch sorting\n currentSegment.push(modifier);\n }\n }\n // Sort and add any remaining segment items\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n }\n return result;\n };\n};\nconst createConfigUtils = config => ({\n cache: createLruCache(config.cacheSize),\n parseClassName: createParseClassName(config),\n sortModifiers: createSortModifiers(config),\n postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),\n ...createClassGroupUtils(config)\n});\nconst createPostfixLookupClassGroupIds = config => {\n const lookup = Object.create(null);\n const classGroupIds = config.postfixLookupClassGroups;\n if (classGroupIds) {\n for (let i = 0; i < classGroupIds.length; i++) {\n lookup[classGroupIds[i]] = true;\n }\n }\n return lookup;\n};\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n const {\n parseClassName,\n getClassGroupId,\n getConflictingClassGroupIds,\n sortModifiers,\n postfixLookupClassGroupIds\n } = configUtils;\n /**\n * Set of classGroupIds in following format:\n * `{importantModifier}{variantModifiers}{classGroupId}`\n * @example 'float'\n * @example 'hover:focus:bg-color'\n * @example 'md:!pr'\n */\n const classGroupsInConflict = [];\n const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n let result = '';\n for (let index = classNames.length - 1; index >= 0; index -= 1) {\n const originalClassName = classNames[index];\n const {\n isExternal,\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition\n } = parseClassName(originalClassName);\n if (isExternal) {\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n let hasPostfixModifier = !!maybePostfixModifierPosition;\n let classGroupId;\n if (hasPostfixModifier) {\n const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);\n classGroupId = getClassGroupId(baseClassNameWithoutPostfix);\n const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : undefined;\n if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {\n classGroupId = classGroupIdWithPostfix;\n hasPostfixModifier = false;\n }\n } else {\n classGroupId = getClassGroupId(baseClassName);\n }\n if (!classGroupId) {\n if (!hasPostfixModifier) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n classGroupId = getClassGroupId(baseClassName);\n if (!classGroupId) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n hasPostfixModifier = false;\n }\n // Fast path: skip sorting for empty or single modifier\n const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');\n const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n const classId = modifierId + classGroupId;\n if (classGroupsInConflict.indexOf(classId) > -1) {\n // Tailwind class omitted due to conflict\n continue;\n }\n classGroupsInConflict.push(classId);\n const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n for (let i = 0; i < conflictGroups.length; ++i) {\n const group = conflictGroups[i];\n classGroupsInConflict.push(modifierId + group);\n }\n // Tailwind class not in conflict\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n }\n return result;\n};\n\n/**\n * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.\n *\n * Specifically:\n * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js\n * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts\n *\n * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)\n */\nconst twJoin = (...classLists) => {\n let index = 0;\n let argument;\n let resolvedValue;\n let string = '';\n while (index < classLists.length) {\n if (argument = classLists[index++]) {\n if (resolvedValue = toValue(argument)) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst toValue = mix => {\n // Fast path for strings\n if (typeof mix === 'string') {\n return mix;\n }\n let resolvedValue;\n let string = '';\n for (let k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if (resolvedValue = toValue(mix[k])) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst createTailwindMerge = (createConfigFirst, ...createConfigRest) => {\n let configUtils;\n let cacheGet;\n let cacheSet;\n let functionToCall;\n const initTailwindMerge = classList => {\n const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n configUtils = createConfigUtils(config);\n cacheGet = configUtils.cache.get;\n cacheSet = configUtils.cache.set;\n functionToCall = tailwindMerge;\n return tailwindMerge(classList);\n };\n const tailwindMerge = classList => {\n const cachedResult = cacheGet(classList);\n if (cachedResult) {\n return cachedResult;\n }\n const result = mergeClassList(classList, configUtils);\n cacheSet(classList, result);\n return result;\n };\n functionToCall = initTailwindMerge;\n return (...args) => functionToCall(twJoin(...args));\n};\nconst fallbackThemeArr = [];\nconst fromTheme = key => {\n const themeGetter = theme => theme[key] || fallbackThemeArr;\n themeGetter.isThemeGetter = true;\n return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i;\nconst arbitraryVariableRegex = /^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i;\nconst fractionRegex = /^\\d+(?:\\.\\d+)?\\/\\d+(?:\\.\\d+)?$/;\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/;\n// Shadow always begins with x and y offset separated by underscore optionally prepended by inset\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isFraction = value => fractionRegex.test(value);\nconst isNumber = value => !!value && !Number.isNaN(Number(value));\nconst isInteger = value => !!value && Number.isInteger(Number(value));\nconst isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));\nconst isTshirtSize = value => tshirtUnitRegex.test(value);\nconst isAny = () => true;\nconst isLengthOnly = value =>\n// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n// For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\nlengthUnitRegex.test(value) && !colorFunctionRegex.test(value);\nconst isNever = () => false;\nconst isShadow = value => shadowRegex.test(value);\nconst isImage = value => imageRegex.test(value);\nconst isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);\nconst isNamedContainerQuery = value => value.startsWith('@container') && (value[10] === '/' && value[11] !== undefined || value[11] === 's' && value[16] !== undefined && value.startsWith('-size/', 10) || value[11] === 'n' && value[18] !== undefined && value.startsWith('-normal/', 10));\nconst isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);\nconst isArbitraryValue = value => arbitraryValueRegex.test(value);\nconst isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);\nconst isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);\nconst isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);\nconst isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);\nconst isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);\nconst isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);\nconst isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);\nconst isArbitraryVariable = value => arbitraryVariableRegex.test(value);\nconst isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);\nconst isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);\nconst isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);\nconst isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);\nconst isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);\nconst isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);\nconst isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);\n// Helpers\nconst getIsArbitraryValue = (value, testLabel, testValue) => {\n const result = arbitraryValueRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return testValue(result[2]);\n }\n return false;\n};\nconst getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {\n const result = arbitraryVariableRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return shouldMatchNoLabel;\n }\n return false;\n};\n// Labels\nconst isLabelPosition = label => label === 'position' || label === 'percentage';\nconst isLabelImage = label => label === 'image' || label === 'url';\nconst isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';\nconst isLabelLength = label => label === 'length';\nconst isLabelNumber = label => label === 'number';\nconst isLabelFamilyName = label => label === 'family-name';\nconst isLabelWeight = label => label === 'number' || label === 'weight';\nconst isLabelShadow = label => label === 'shadow';\nconst validators = /*#__PURE__*/Object.defineProperty({\n __proto__: null,\n isAny,\n isAnyNonArbitrary,\n isArbitraryFamilyName,\n isArbitraryImage,\n isArbitraryLength,\n isArbitraryNumber,\n isArbitraryPosition,\n isArbitraryShadow,\n isArbitrarySize,\n isArbitraryValue,\n isArbitraryVariable,\n isArbitraryVariableFamilyName,\n isArbitraryVariableImage,\n isArbitraryVariableLength,\n isArbitraryVariablePosition,\n isArbitraryVariableShadow,\n isArbitraryVariableSize,\n isArbitraryVariableWeight,\n isArbitraryWeight,\n isFraction,\n isInteger,\n isNamedContainerQuery,\n isNumber,\n isPercent,\n isTshirtSize\n}, Symbol.toStringTag, {\n value: 'Module'\n});\nconst getDefaultConfig = () => {\n /**\n * Theme getters for theme variable namespaces\n * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces\n */\n /***/\n const themeColor = fromTheme('color');\n const themeFont = fromTheme('font');\n const themeText = fromTheme('text');\n const themeFontWeight = fromTheme('font-weight');\n const themeTracking = fromTheme('tracking');\n const themeLeading = fromTheme('leading');\n const themeBreakpoint = fromTheme('breakpoint');\n const themeContainer = fromTheme('container');\n const themeSpacing = fromTheme('spacing');\n const themeRadius = fromTheme('radius');\n const themeShadow = fromTheme('shadow');\n const themeInsetShadow = fromTheme('inset-shadow');\n const themeTextShadow = fromTheme('text-shadow');\n const themeDropShadow = fromTheme('drop-shadow');\n const themeBlur = fromTheme('blur');\n const themePerspective = fromTheme('perspective');\n const themeAspect = fromTheme('aspect');\n const themeEase = fromTheme('ease');\n const themeAnimate = fromTheme('animate');\n /**\n * Helpers to avoid repeating the same scales\n *\n * We use functions that create a new array every time they're called instead of static arrays.\n * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.\n */\n /***/\n const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];\n const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-top', 'top-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-top', 'bottom-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-bottom', 'bottom-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-bottom'];\n const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];\n const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];\n const scaleOverscroll = () => ['auto', 'contain', 'none'];\n const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];\n const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];\n const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartAndEnd = () => ['auto', {\n span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]\n }, isInteger, isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];\n const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];\n const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];\n const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];\n const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];\n const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];\n const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {\n position: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleBgRepeat = () => ['no-repeat', {\n repeat: ['', 'x', 'y', 'space', 'round']\n }];\n const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {\n size: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];\n const scaleRadius = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];\n const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];\n const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];\n const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];\n const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];\n const scaleBlur = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];\n const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];\n return {\n cacheSize: 500,\n theme: {\n animate: ['spin', 'ping', 'pulse', 'bounce'],\n aspect: ['video'],\n blur: [isTshirtSize],\n breakpoint: [isTshirtSize],\n color: [isAny],\n container: [isTshirtSize],\n 'drop-shadow': [isTshirtSize],\n ease: ['in', 'out', 'in-out'],\n font: [isAnyNonArbitrary],\n 'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],\n 'inset-shadow': [isTshirtSize],\n leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],\n perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],\n radius: [isTshirtSize],\n shadow: [isTshirtSize],\n spacing: ['px', isNumber],\n text: [isTshirtSize],\n 'text-shadow': [isTshirtSize],\n tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']\n },\n classGroups: {\n // --------------\n // --- Layout ---\n // --------------\n /**\n * Aspect Ratio\n * @see https://tailwindcss.com/docs/aspect-ratio\n */\n aspect: [{\n aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]\n }],\n /**\n * Container\n * @see https://tailwindcss.com/docs/container\n * @deprecated since Tailwind CSS v4.0.0\n */\n container: ['container'],\n /**\n * Container Type\n * @see https://tailwindcss.com/docs/responsive-design#container-queries\n */\n 'container-type': [{\n '@container': ['', 'normal', 'size', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Container Name\n * @see https://tailwindcss.com/docs/responsive-design#named-containers\n */\n 'container-named': [isNamedContainerQuery],\n /**\n * Columns\n * @see https://tailwindcss.com/docs/columns\n */\n columns: [{\n columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]\n }],\n /**\n * Break After\n * @see https://tailwindcss.com/docs/break-after\n */\n 'break-after': [{\n 'break-after': scaleBreak()\n }],\n /**\n * Break Before\n * @see https://tailwindcss.com/docs/break-before\n */\n 'break-before': [{\n 'break-before': scaleBreak()\n }],\n /**\n * Break Inside\n * @see https://tailwindcss.com/docs/break-inside\n */\n 'break-inside': [{\n 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']\n }],\n /**\n * Box Decoration Break\n * @see https://tailwindcss.com/docs/box-decoration-break\n */\n 'box-decoration': [{\n 'box-decoration': ['slice', 'clone']\n }],\n /**\n * Box Sizing\n * @see https://tailwindcss.com/docs/box-sizing\n */\n box: [{\n box: ['border', 'content']\n }],\n /**\n * Display\n * @see https://tailwindcss.com/docs/display\n */\n display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],\n /**\n * Screen Reader Only\n * @see https://tailwindcss.com/docs/display#screen-reader-only\n */\n sr: ['sr-only', 'not-sr-only'],\n /**\n * Floats\n * @see https://tailwindcss.com/docs/float\n */\n float: [{\n float: ['right', 'left', 'none', 'start', 'end']\n }],\n /**\n * Clear\n * @see https://tailwindcss.com/docs/clear\n */\n clear: [{\n clear: ['left', 'right', 'both', 'none', 'start', 'end']\n }],\n /**\n * Isolation\n * @see https://tailwindcss.com/docs/isolation\n */\n isolation: ['isolate', 'isolation-auto'],\n /**\n * Object Fit\n * @see https://tailwindcss.com/docs/object-fit\n */\n 'object-fit': [{\n object: ['contain', 'cover', 'fill', 'none', 'scale-down']\n }],\n /**\n * Object Position\n * @see https://tailwindcss.com/docs/object-position\n */\n 'object-position': [{\n object: scalePositionWithArbitrary()\n }],\n /**\n * Overflow\n * @see https://tailwindcss.com/docs/overflow\n */\n overflow: [{\n overflow: scaleOverflow()\n }],\n /**\n * Overflow X\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-x': [{\n 'overflow-x': scaleOverflow()\n }],\n /**\n * Overflow Y\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-y': [{\n 'overflow-y': scaleOverflow()\n }],\n /**\n * Overscroll Behavior\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n overscroll: [{\n overscroll: scaleOverscroll()\n }],\n /**\n * Overscroll Behavior X\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-x': [{\n 'overscroll-x': scaleOverscroll()\n }],\n /**\n * Overscroll Behavior Y\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-y': [{\n 'overscroll-y': scaleOverscroll()\n }],\n /**\n * Position\n * @see https://tailwindcss.com/docs/position\n */\n position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],\n /**\n * Inset\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n inset: [{\n inset: scaleInset()\n }],\n /**\n * Inset Inline\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-x': [{\n 'inset-x': scaleInset()\n }],\n /**\n * Inset Block\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-y': [{\n 'inset-y': scaleInset()\n }],\n /**\n * Inset Inline Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-s` in next major release\n */\n start: [{\n 'inset-s': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n start: scaleInset()\n }],\n /**\n * Inset Inline End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-e` in next major release\n */\n end: [{\n 'inset-e': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n end: scaleInset()\n }],\n /**\n * Inset Block Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-bs': [{\n 'inset-bs': scaleInset()\n }],\n /**\n * Inset Block End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-be': [{\n 'inset-be': scaleInset()\n }],\n /**\n * Top\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n top: [{\n top: scaleInset()\n }],\n /**\n * Right\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n right: [{\n right: scaleInset()\n }],\n /**\n * Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n bottom: [{\n bottom: scaleInset()\n }],\n /**\n * Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n left: [{\n left: scaleInset()\n }],\n /**\n * Visibility\n * @see https://tailwindcss.com/docs/visibility\n */\n visibility: ['visible', 'invisible', 'collapse'],\n /**\n * Z-Index\n * @see https://tailwindcss.com/docs/z-index\n */\n z: [{\n z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------------\n // --- Flexbox and Grid ---\n // ------------------------\n /**\n * Flex Basis\n * @see https://tailwindcss.com/docs/flex-basis\n */\n basis: [{\n basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]\n }],\n /**\n * Flex Direction\n * @see https://tailwindcss.com/docs/flex-direction\n */\n 'flex-direction': [{\n flex: ['row', 'row-reverse', 'col', 'col-reverse']\n }],\n /**\n * Flex Wrap\n * @see https://tailwindcss.com/docs/flex-wrap\n */\n 'flex-wrap': [{\n flex: ['nowrap', 'wrap', 'wrap-reverse']\n }],\n /**\n * Flex\n * @see https://tailwindcss.com/docs/flex\n */\n flex: [{\n flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]\n }],\n /**\n * Flex Grow\n * @see https://tailwindcss.com/docs/flex-grow\n */\n grow: [{\n grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Flex Shrink\n * @see https://tailwindcss.com/docs/flex-shrink\n */\n shrink: [{\n shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Order\n * @see https://tailwindcss.com/docs/order\n */\n order: [{\n order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Grid Template Columns\n * @see https://tailwindcss.com/docs/grid-template-columns\n */\n 'grid-cols': [{\n 'grid-cols': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Column Start / End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start-end': [{\n col: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Column Start\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start': [{\n 'col-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Column End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-end': [{\n 'col-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Template Rows\n * @see https://tailwindcss.com/docs/grid-template-rows\n */\n 'grid-rows': [{\n 'grid-rows': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Row Start / End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start-end': [{\n row: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Row Start\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start': [{\n 'row-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Row End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-end': [{\n 'row-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Auto Flow\n * @see https://tailwindcss.com/docs/grid-auto-flow\n */\n 'grid-flow': [{\n 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']\n }],\n /**\n * Grid Auto Columns\n * @see https://tailwindcss.com/docs/grid-auto-columns\n */\n 'auto-cols': [{\n 'auto-cols': scaleGridAutoColsRows()\n }],\n /**\n * Grid Auto Rows\n * @see https://tailwindcss.com/docs/grid-auto-rows\n */\n 'auto-rows': [{\n 'auto-rows': scaleGridAutoColsRows()\n }],\n /**\n * Gap\n * @see https://tailwindcss.com/docs/gap\n */\n gap: [{\n gap: scaleUnambiguousSpacing()\n }],\n /**\n * Gap X\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-x': [{\n 'gap-x': scaleUnambiguousSpacing()\n }],\n /**\n * Gap Y\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-y': [{\n 'gap-y': scaleUnambiguousSpacing()\n }],\n /**\n * Justify Content\n * @see https://tailwindcss.com/docs/justify-content\n */\n 'justify-content': [{\n justify: [...scaleAlignPrimaryAxis(), 'normal']\n }],\n /**\n * Justify Items\n * @see https://tailwindcss.com/docs/justify-items\n */\n 'justify-items': [{\n 'justify-items': [...scaleAlignSecondaryAxis(), 'normal']\n }],\n /**\n * Justify Self\n * @see https://tailwindcss.com/docs/justify-self\n */\n 'justify-self': [{\n 'justify-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n /**\n * Align Content\n * @see https://tailwindcss.com/docs/align-content\n */\n 'align-content': [{\n content: ['normal', ...scaleAlignPrimaryAxis()]\n }],\n /**\n * Align Items\n * @see https://tailwindcss.com/docs/align-items\n */\n 'align-items': [{\n items: [...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Align Self\n * @see https://tailwindcss.com/docs/align-self\n */\n 'align-self': [{\n self: ['auto', ...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Place Content\n * @see https://tailwindcss.com/docs/place-content\n */\n 'place-content': [{\n 'place-content': scaleAlignPrimaryAxis()\n }],\n /**\n * Place Items\n * @see https://tailwindcss.com/docs/place-items\n */\n 'place-items': [{\n 'place-items': [...scaleAlignSecondaryAxis(), 'baseline']\n }],\n /**\n * Place Self\n * @see https://tailwindcss.com/docs/place-self\n */\n 'place-self': [{\n 'place-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n // Spacing\n /**\n * Padding\n * @see https://tailwindcss.com/docs/padding\n */\n p: [{\n p: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline\n * @see https://tailwindcss.com/docs/padding\n */\n px: [{\n px: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block\n * @see https://tailwindcss.com/docs/padding\n */\n py: [{\n py: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline Start\n * @see https://tailwindcss.com/docs/padding\n */\n ps: [{\n ps: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline End\n * @see https://tailwindcss.com/docs/padding\n */\n pe: [{\n pe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block Start\n * @see https://tailwindcss.com/docs/padding\n */\n pbs: [{\n pbs: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block End\n * @see https://tailwindcss.com/docs/padding\n */\n pbe: [{\n pbe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Top\n * @see https://tailwindcss.com/docs/padding\n */\n pt: [{\n pt: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Right\n * @see https://tailwindcss.com/docs/padding\n */\n pr: [{\n pr: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Bottom\n * @see https://tailwindcss.com/docs/padding\n */\n pb: [{\n pb: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Left\n * @see https://tailwindcss.com/docs/padding\n */\n pl: [{\n pl: scaleUnambiguousSpacing()\n }],\n /**\n * Margin\n * @see https://tailwindcss.com/docs/margin\n */\n m: [{\n m: scaleMargin()\n }],\n /**\n * Margin Inline\n * @see https://tailwindcss.com/docs/margin\n */\n mx: [{\n mx: scaleMargin()\n }],\n /**\n * Margin Block\n * @see https://tailwindcss.com/docs/margin\n */\n my: [{\n my: scaleMargin()\n }],\n /**\n * Margin Inline Start\n * @see https://tailwindcss.com/docs/margin\n */\n ms: [{\n ms: scaleMargin()\n }],\n /**\n * Margin Inline End\n * @see https://tailwindcss.com/docs/margin\n */\n me: [{\n me: scaleMargin()\n }],\n /**\n * Margin Block Start\n * @see https://tailwindcss.com/docs/margin\n */\n mbs: [{\n mbs: scaleMargin()\n }],\n /**\n * Margin Block End\n * @see https://tailwindcss.com/docs/margin\n */\n mbe: [{\n mbe: scaleMargin()\n }],\n /**\n * Margin Top\n * @see https://tailwindcss.com/docs/margin\n */\n mt: [{\n mt: scaleMargin()\n }],\n /**\n * Margin Right\n * @see https://tailwindcss.com/docs/margin\n */\n mr: [{\n mr: scaleMargin()\n }],\n /**\n * Margin Bottom\n * @see https://tailwindcss.com/docs/margin\n */\n mb: [{\n mb: scaleMargin()\n }],\n /**\n * Margin Left\n * @see https://tailwindcss.com/docs/margin\n */\n ml: [{\n ml: scaleMargin()\n }],\n /**\n * Space Between X\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x': [{\n 'space-x': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between X Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x-reverse': ['space-x-reverse'],\n /**\n * Space Between Y\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y': [{\n 'space-y': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between Y Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y-reverse': ['space-y-reverse'],\n // --------------\n // --- Sizing ---\n // --------------\n /**\n * Size\n * @see https://tailwindcss.com/docs/width#setting-both-width-and-height\n */\n size: [{\n size: scaleSizing()\n }],\n /**\n * Inline Size\n * @see https://tailwindcss.com/docs/width\n */\n 'inline-size': [{\n inline: ['auto', ...scaleSizingInline()]\n }],\n /**\n * Min-Inline Size\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-inline-size': [{\n 'min-inline': ['auto', ...scaleSizingInline()]\n }],\n /**\n * Max-Inline Size\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-inline-size': [{\n 'max-inline': ['none', ...scaleSizingInline()]\n }],\n /**\n * Block Size\n * @see https://tailwindcss.com/docs/height\n */\n 'block-size': [{\n block: ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Min-Block Size\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-block-size': [{\n 'min-block': ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Max-Block Size\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-block-size': [{\n 'max-block': ['none', ...scaleSizingBlock()]\n }],\n /**\n * Width\n * @see https://tailwindcss.com/docs/width\n */\n w: [{\n w: [themeContainer, 'screen', ...scaleSizing()]\n }],\n /**\n * Min-Width\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-w': [{\n 'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'none', ...scaleSizing()]\n }],\n /**\n * Max-Width\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-w': [{\n 'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n {\n screen: [themeBreakpoint]\n }, ...scaleSizing()]\n }],\n /**\n * Height\n * @see https://tailwindcss.com/docs/height\n */\n h: [{\n h: ['screen', 'lh', ...scaleSizing()]\n }],\n /**\n * Min-Height\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-h': [{\n 'min-h': ['screen', 'lh', 'none', ...scaleSizing()]\n }],\n /**\n * Max-Height\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-h': [{\n 'max-h': ['screen', 'lh', ...scaleSizing()]\n }],\n // ------------------\n // --- Typography ---\n // ------------------\n /**\n * Font Size\n * @see https://tailwindcss.com/docs/font-size\n */\n 'font-size': [{\n text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Font Smoothing\n * @see https://tailwindcss.com/docs/font-smoothing\n */\n 'font-smoothing': ['antialiased', 'subpixel-antialiased'],\n /**\n * Font Style\n * @see https://tailwindcss.com/docs/font-style\n */\n 'font-style': ['italic', 'not-italic'],\n /**\n * Font Weight\n * @see https://tailwindcss.com/docs/font-weight\n */\n 'font-weight': [{\n font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]\n }],\n /**\n * Font Stretch\n * @see https://tailwindcss.com/docs/font-stretch\n */\n 'font-stretch': [{\n 'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]\n }],\n /**\n * Font Family\n * @see https://tailwindcss.com/docs/font-family\n */\n 'font-family': [{\n font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]\n }],\n /**\n * Font Feature Settings\n * @see https://tailwindcss.com/docs/font-feature-settings\n */\n 'font-features': [{\n 'font-features': [isArbitraryValue]\n }],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-normal': ['normal-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-ordinal': ['ordinal'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-slashed-zero': ['slashed-zero'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-figure': ['lining-nums', 'oldstyle-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-spacing': ['proportional-nums', 'tabular-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],\n /**\n * Letter Spacing\n * @see https://tailwindcss.com/docs/letter-spacing\n */\n tracking: [{\n tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Line Clamp\n * @see https://tailwindcss.com/docs/line-clamp\n */\n 'line-clamp': [{\n 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]\n }],\n /**\n * Line Height\n * @see https://tailwindcss.com/docs/line-height\n */\n leading: [{\n leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n themeLeading, ...scaleUnambiguousSpacing()]\n }],\n /**\n * List Style Image\n * @see https://tailwindcss.com/docs/list-style-image\n */\n 'list-image': [{\n 'list-image': ['none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * List Style Position\n * @see https://tailwindcss.com/docs/list-style-position\n */\n 'list-style-position': [{\n list: ['inside', 'outside']\n }],\n /**\n * List Style Type\n * @see https://tailwindcss.com/docs/list-style-type\n */\n 'list-style-type': [{\n list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Alignment\n * @see https://tailwindcss.com/docs/text-align\n */\n 'text-alignment': [{\n text: ['left', 'center', 'right', 'justify', 'start', 'end']\n }],\n /**\n * Placeholder Color\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://v3.tailwindcss.com/docs/placeholder-color\n */\n 'placeholder-color': [{\n placeholder: scaleColor()\n }],\n /**\n * Text Color\n * @see https://tailwindcss.com/docs/text-color\n */\n 'text-color': [{\n text: scaleColor()\n }],\n /**\n * Text Decoration\n * @see https://tailwindcss.com/docs/text-decoration\n */\n 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],\n /**\n * Text Decoration Style\n * @see https://tailwindcss.com/docs/text-decoration-style\n */\n 'text-decoration-style': [{\n decoration: [...scaleLineStyle(), 'wavy']\n }],\n /**\n * Text Decoration Thickness\n * @see https://tailwindcss.com/docs/text-decoration-thickness\n */\n 'text-decoration-thickness': [{\n decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]\n }],\n /**\n * Text Decoration Color\n * @see https://tailwindcss.com/docs/text-decoration-color\n */\n 'text-decoration-color': [{\n decoration: scaleColor()\n }],\n /**\n * Text Underline Offset\n * @see https://tailwindcss.com/docs/text-underline-offset\n */\n 'underline-offset': [{\n 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Transform\n * @see https://tailwindcss.com/docs/text-transform\n */\n 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],\n /**\n * Text Overflow\n * @see https://tailwindcss.com/docs/text-overflow\n */\n 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],\n /**\n * Text Wrap\n * @see https://tailwindcss.com/docs/text-wrap\n */\n 'text-wrap': [{\n text: ['wrap', 'nowrap', 'balance', 'pretty']\n }],\n /**\n * Text Indent\n * @see https://tailwindcss.com/docs/text-indent\n */\n indent: [{\n indent: scaleUnambiguousSpacing()\n }],\n /**\n * Tab Size\n * @see https://tailwindcss.com/docs/tab-size\n */\n 'tab-size': [{\n tab: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Vertical Alignment\n * @see https://tailwindcss.com/docs/vertical-align\n */\n 'vertical-align': [{\n align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Whitespace\n * @see https://tailwindcss.com/docs/whitespace\n */\n whitespace: [{\n whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']\n }],\n /**\n * Word Break\n * @see https://tailwindcss.com/docs/word-break\n */\n break: [{\n break: ['normal', 'words', 'all', 'keep']\n }],\n /**\n * Overflow Wrap\n * @see https://tailwindcss.com/docs/overflow-wrap\n */\n wrap: [{\n wrap: ['break-word', 'anywhere', 'normal']\n }],\n /**\n * Hyphens\n * @see https://tailwindcss.com/docs/hyphens\n */\n hyphens: [{\n hyphens: ['none', 'manual', 'auto']\n }],\n /**\n * Content\n * @see https://tailwindcss.com/docs/content\n */\n content: [{\n content: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // -------------------\n // --- Backgrounds ---\n // -------------------\n /**\n * Background Attachment\n * @see https://tailwindcss.com/docs/background-attachment\n */\n 'bg-attachment': [{\n bg: ['fixed', 'local', 'scroll']\n }],\n /**\n * Background Clip\n * @see https://tailwindcss.com/docs/background-clip\n */\n 'bg-clip': [{\n 'bg-clip': ['border', 'padding', 'content', 'text']\n }],\n /**\n * Background Origin\n * @see https://tailwindcss.com/docs/background-origin\n */\n 'bg-origin': [{\n 'bg-origin': ['border', 'padding', 'content']\n }],\n /**\n * Background Position\n * @see https://tailwindcss.com/docs/background-position\n */\n 'bg-position': [{\n bg: scaleBgPosition()\n }],\n /**\n * Background Repeat\n * @see https://tailwindcss.com/docs/background-repeat\n */\n 'bg-repeat': [{\n bg: scaleBgRepeat()\n }],\n /**\n * Background Size\n * @see https://tailwindcss.com/docs/background-size\n */\n 'bg-size': [{\n bg: scaleBgSize()\n }],\n /**\n * Background Image\n * @see https://tailwindcss.com/docs/background-image\n */\n 'bg-image': [{\n bg: ['none', {\n linear: [{\n to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']\n }, isInteger, isArbitraryVariable, isArbitraryValue],\n radial: ['', isArbitraryVariable, isArbitraryValue],\n conic: [isInteger, isArbitraryVariable, isArbitraryValue]\n }, isArbitraryVariableImage, isArbitraryImage]\n }],\n /**\n * Background Color\n * @see https://tailwindcss.com/docs/background-color\n */\n 'bg-color': [{\n bg: scaleColor()\n }],\n /**\n * Gradient Color Stops From Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from-pos': [{\n from: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops Via Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via-pos': [{\n via: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops To Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to-pos': [{\n to: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops From\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from': [{\n from: scaleColor()\n }],\n /**\n * Gradient Color Stops Via\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via': [{\n via: scaleColor()\n }],\n /**\n * Gradient Color Stops To\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to': [{\n to: scaleColor()\n }],\n // ---------------\n // --- Borders ---\n // ---------------\n /**\n * Border Radius\n * @see https://tailwindcss.com/docs/border-radius\n */\n rounded: [{\n rounded: scaleRadius()\n }],\n /**\n * Border Radius Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-s': [{\n 'rounded-s': scaleRadius()\n }],\n /**\n * Border Radius End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-e': [{\n 'rounded-e': scaleRadius()\n }],\n /**\n * Border Radius Top\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-t': [{\n 'rounded-t': scaleRadius()\n }],\n /**\n * Border Radius Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-r': [{\n 'rounded-r': scaleRadius()\n }],\n /**\n * Border Radius Bottom\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-b': [{\n 'rounded-b': scaleRadius()\n }],\n /**\n * Border Radius Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-l': [{\n 'rounded-l': scaleRadius()\n }],\n /**\n * Border Radius Start Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ss': [{\n 'rounded-ss': scaleRadius()\n }],\n /**\n * Border Radius Start End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-se': [{\n 'rounded-se': scaleRadius()\n }],\n /**\n * Border Radius End End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ee': [{\n 'rounded-ee': scaleRadius()\n }],\n /**\n * Border Radius End Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-es': [{\n 'rounded-es': scaleRadius()\n }],\n /**\n * Border Radius Top Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tl': [{\n 'rounded-tl': scaleRadius()\n }],\n /**\n * Border Radius Top Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tr': [{\n 'rounded-tr': scaleRadius()\n }],\n /**\n * Border Radius Bottom Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-br': [{\n 'rounded-br': scaleRadius()\n }],\n /**\n * Border Radius Bottom Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-bl': [{\n 'rounded-bl': scaleRadius()\n }],\n /**\n * Border Width\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w': [{\n border: scaleBorderWidth()\n }],\n /**\n * Border Width Inline\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-x': [{\n 'border-x': scaleBorderWidth()\n }],\n /**\n * Border Width Block\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-y': [{\n 'border-y': scaleBorderWidth()\n }],\n /**\n * Border Width Inline Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-s': [{\n 'border-s': scaleBorderWidth()\n }],\n /**\n * Border Width Inline End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-e': [{\n 'border-e': scaleBorderWidth()\n }],\n /**\n * Border Width Block Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-bs': [{\n 'border-bs': scaleBorderWidth()\n }],\n /**\n * Border Width Block End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-be': [{\n 'border-be': scaleBorderWidth()\n }],\n /**\n * Border Width Top\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-t': [{\n 'border-t': scaleBorderWidth()\n }],\n /**\n * Border Width Right\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-r': [{\n 'border-r': scaleBorderWidth()\n }],\n /**\n * Border Width Bottom\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-b': [{\n 'border-b': scaleBorderWidth()\n }],\n /**\n * Border Width Left\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-l': [{\n 'border-l': scaleBorderWidth()\n }],\n /**\n * Divide Width X\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x': [{\n 'divide-x': scaleBorderWidth()\n }],\n /**\n * Divide Width X Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x-reverse': ['divide-x-reverse'],\n /**\n * Divide Width Y\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y': [{\n 'divide-y': scaleBorderWidth()\n }],\n /**\n * Divide Width Y Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y-reverse': ['divide-y-reverse'],\n /**\n * Border Style\n * @see https://tailwindcss.com/docs/border-style\n */\n 'border-style': [{\n border: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Divide Style\n * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style\n */\n 'divide-style': [{\n divide: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Border Color\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color': [{\n border: scaleColor()\n }],\n /**\n * Border Color Inline\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-x': [{\n 'border-x': scaleColor()\n }],\n /**\n * Border Color Block\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-y': [{\n 'border-y': scaleColor()\n }],\n /**\n * Border Color Inline Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-s': [{\n 'border-s': scaleColor()\n }],\n /**\n * Border Color Inline End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-e': [{\n 'border-e': scaleColor()\n }],\n /**\n * Border Color Block Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-bs': [{\n 'border-bs': scaleColor()\n }],\n /**\n * Border Color Block End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-be': [{\n 'border-be': scaleColor()\n }],\n /**\n * Border Color Top\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-t': [{\n 'border-t': scaleColor()\n }],\n /**\n * Border Color Right\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-r': [{\n 'border-r': scaleColor()\n }],\n /**\n * Border Color Bottom\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-b': [{\n 'border-b': scaleColor()\n }],\n /**\n * Border Color Left\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-l': [{\n 'border-l': scaleColor()\n }],\n /**\n * Divide Color\n * @see https://tailwindcss.com/docs/divide-color\n */\n 'divide-color': [{\n divide: scaleColor()\n }],\n /**\n * Outline Style\n * @see https://tailwindcss.com/docs/outline-style\n */\n 'outline-style': [{\n outline: [...scaleLineStyle(), 'none', 'hidden']\n }],\n /**\n * Outline Offset\n * @see https://tailwindcss.com/docs/outline-offset\n */\n 'outline-offset': [{\n 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Outline Width\n * @see https://tailwindcss.com/docs/outline-width\n */\n 'outline-w': [{\n outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Outline Color\n * @see https://tailwindcss.com/docs/outline-color\n */\n 'outline-color': [{\n outline: scaleColor()\n }],\n // ---------------\n // --- Effects ---\n // ---------------\n /**\n * Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow\n */\n shadow: [{\n shadow: [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color\n */\n 'shadow-color': [{\n shadow: scaleColor()\n }],\n /**\n * Inset Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow\n */\n 'inset-shadow': [{\n 'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Inset Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color\n */\n 'inset-shadow-color': [{\n 'inset-shadow': scaleColor()\n }],\n /**\n * Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring\n */\n 'ring-w': [{\n ring: scaleBorderWidth()\n }],\n /**\n * Ring Width Inset\n * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-w-inset': ['ring-inset'],\n /**\n * Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color\n */\n 'ring-color': [{\n ring: scaleColor()\n }],\n /**\n * Ring Offset Width\n * @see https://v3.tailwindcss.com/docs/ring-offset-width\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-w': [{\n 'ring-offset': [isNumber, isArbitraryLength]\n }],\n /**\n * Ring Offset Color\n * @see https://v3.tailwindcss.com/docs/ring-offset-color\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-color': [{\n 'ring-offset': scaleColor()\n }],\n /**\n * Inset Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring\n */\n 'inset-ring-w': [{\n 'inset-ring': scaleBorderWidth()\n }],\n /**\n * Inset Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color\n */\n 'inset-ring-color': [{\n 'inset-ring': scaleColor()\n }],\n /**\n * Text Shadow\n * @see https://tailwindcss.com/docs/text-shadow\n */\n 'text-shadow': [{\n 'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Text Shadow Color\n * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color\n */\n 'text-shadow-color': [{\n 'text-shadow': scaleColor()\n }],\n /**\n * Opacity\n * @see https://tailwindcss.com/docs/opacity\n */\n opacity: [{\n opacity: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Mix Blend Mode\n * @see https://tailwindcss.com/docs/mix-blend-mode\n */\n 'mix-blend': [{\n 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']\n }],\n /**\n * Background Blend Mode\n * @see https://tailwindcss.com/docs/background-blend-mode\n */\n 'bg-blend': [{\n 'bg-blend': scaleBlendMode()\n }],\n /**\n * Mask Clip\n * @see https://tailwindcss.com/docs/mask-clip\n */\n 'mask-clip': [{\n 'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }, 'mask-no-clip'],\n /**\n * Mask Composite\n * @see https://tailwindcss.com/docs/mask-composite\n */\n 'mask-composite': [{\n mask: ['add', 'subtract', 'intersect', 'exclude']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image-linear-pos': [{\n 'mask-linear': [isNumber]\n }],\n 'mask-image-linear-from-pos': [{\n 'mask-linear-from': scaleMaskImagePosition()\n }],\n 'mask-image-linear-to-pos': [{\n 'mask-linear-to': scaleMaskImagePosition()\n }],\n 'mask-image-linear-from-color': [{\n 'mask-linear-from': scaleColor()\n }],\n 'mask-image-linear-to-color': [{\n 'mask-linear-to': scaleColor()\n }],\n 'mask-image-t-from-pos': [{\n 'mask-t-from': scaleMaskImagePosition()\n }],\n 'mask-image-t-to-pos': [{\n 'mask-t-to': scaleMaskImagePosition()\n }],\n 'mask-image-t-from-color': [{\n 'mask-t-from': scaleColor()\n }],\n 'mask-image-t-to-color': [{\n 'mask-t-to': scaleColor()\n }],\n 'mask-image-r-from-pos': [{\n 'mask-r-from': scaleMaskImagePosition()\n }],\n 'mask-image-r-to-pos': [{\n 'mask-r-to': scaleMaskImagePosition()\n }],\n 'mask-image-r-from-color': [{\n 'mask-r-from': scaleColor()\n }],\n 'mask-image-r-to-color': [{\n 'mask-r-to': scaleColor()\n }],\n 'mask-image-b-from-pos': [{\n 'mask-b-from': scaleMaskImagePosition()\n }],\n 'mask-image-b-to-pos': [{\n 'mask-b-to': scaleMaskImagePosition()\n }],\n 'mask-image-b-from-color': [{\n 'mask-b-from': scaleColor()\n }],\n 'mask-image-b-to-color': [{\n 'mask-b-to': scaleColor()\n }],\n 'mask-image-l-from-pos': [{\n 'mask-l-from': scaleMaskImagePosition()\n }],\n 'mask-image-l-to-pos': [{\n 'mask-l-to': scaleMaskImagePosition()\n }],\n 'mask-image-l-from-color': [{\n 'mask-l-from': scaleColor()\n }],\n 'mask-image-l-to-color': [{\n 'mask-l-to': scaleColor()\n }],\n 'mask-image-x-from-pos': [{\n 'mask-x-from': scaleMaskImagePosition()\n }],\n 'mask-image-x-to-pos': [{\n 'mask-x-to': scaleMaskImagePosition()\n }],\n 'mask-image-x-from-color': [{\n 'mask-x-from': scaleColor()\n }],\n 'mask-image-x-to-color': [{\n 'mask-x-to': scaleColor()\n }],\n 'mask-image-y-from-pos': [{\n 'mask-y-from': scaleMaskImagePosition()\n }],\n 'mask-image-y-to-pos': [{\n 'mask-y-to': scaleMaskImagePosition()\n }],\n 'mask-image-y-from-color': [{\n 'mask-y-from': scaleColor()\n }],\n 'mask-image-y-to-color': [{\n 'mask-y-to': scaleColor()\n }],\n 'mask-image-radial': [{\n 'mask-radial': [isArbitraryVariable, isArbitraryValue]\n }],\n 'mask-image-radial-from-pos': [{\n 'mask-radial-from': scaleMaskImagePosition()\n }],\n 'mask-image-radial-to-pos': [{\n 'mask-radial-to': scaleMaskImagePosition()\n }],\n 'mask-image-radial-from-color': [{\n 'mask-radial-from': scaleColor()\n }],\n 'mask-image-radial-to-color': [{\n 'mask-radial-to': scaleColor()\n }],\n 'mask-image-radial-shape': [{\n 'mask-radial': ['circle', 'ellipse']\n }],\n 'mask-image-radial-size': [{\n 'mask-radial': [{\n closest: ['side', 'corner'],\n farthest: ['side', 'corner']\n }]\n }],\n 'mask-image-radial-pos': [{\n 'mask-radial-at': scalePosition()\n }],\n 'mask-image-conic-pos': [{\n 'mask-conic': [isNumber]\n }],\n 'mask-image-conic-from-pos': [{\n 'mask-conic-from': scaleMaskImagePosition()\n }],\n 'mask-image-conic-to-pos': [{\n 'mask-conic-to': scaleMaskImagePosition()\n }],\n 'mask-image-conic-from-color': [{\n 'mask-conic-from': scaleColor()\n }],\n 'mask-image-conic-to-color': [{\n 'mask-conic-to': scaleColor()\n }],\n /**\n * Mask Mode\n * @see https://tailwindcss.com/docs/mask-mode\n */\n 'mask-mode': [{\n mask: ['alpha', 'luminance', 'match']\n }],\n /**\n * Mask Origin\n * @see https://tailwindcss.com/docs/mask-origin\n */\n 'mask-origin': [{\n 'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }],\n /**\n * Mask Position\n * @see https://tailwindcss.com/docs/mask-position\n */\n 'mask-position': [{\n mask: scaleBgPosition()\n }],\n /**\n * Mask Repeat\n * @see https://tailwindcss.com/docs/mask-repeat\n */\n 'mask-repeat': [{\n mask: scaleBgRepeat()\n }],\n /**\n * Mask Size\n * @see https://tailwindcss.com/docs/mask-size\n */\n 'mask-size': [{\n mask: scaleBgSize()\n }],\n /**\n * Mask Type\n * @see https://tailwindcss.com/docs/mask-type\n */\n 'mask-type': [{\n 'mask-type': ['alpha', 'luminance']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image': [{\n mask: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------\n // --- Filters ---\n // ---------------\n /**\n * Filter\n * @see https://tailwindcss.com/docs/filter\n */\n filter: [{\n filter: [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Blur\n * @see https://tailwindcss.com/docs/blur\n */\n blur: [{\n blur: scaleBlur()\n }],\n /**\n * Brightness\n * @see https://tailwindcss.com/docs/brightness\n */\n brightness: [{\n brightness: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Contrast\n * @see https://tailwindcss.com/docs/contrast\n */\n contrast: [{\n contrast: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Drop Shadow\n * @see https://tailwindcss.com/docs/drop-shadow\n */\n 'drop-shadow': [{\n 'drop-shadow': [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Drop Shadow Color\n * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color\n */\n 'drop-shadow-color': [{\n 'drop-shadow': scaleColor()\n }],\n /**\n * Grayscale\n * @see https://tailwindcss.com/docs/grayscale\n */\n grayscale: [{\n grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Hue Rotate\n * @see https://tailwindcss.com/docs/hue-rotate\n */\n 'hue-rotate': [{\n 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Invert\n * @see https://tailwindcss.com/docs/invert\n */\n invert: [{\n invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Saturate\n * @see https://tailwindcss.com/docs/saturate\n */\n saturate: [{\n saturate: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Sepia\n * @see https://tailwindcss.com/docs/sepia\n */\n sepia: [{\n sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Filter\n * @see https://tailwindcss.com/docs/backdrop-filter\n */\n 'backdrop-filter': [{\n 'backdrop-filter': [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Blur\n * @see https://tailwindcss.com/docs/backdrop-blur\n */\n 'backdrop-blur': [{\n 'backdrop-blur': scaleBlur()\n }],\n /**\n * Backdrop Brightness\n * @see https://tailwindcss.com/docs/backdrop-brightness\n */\n 'backdrop-brightness': [{\n 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Contrast\n * @see https://tailwindcss.com/docs/backdrop-contrast\n */\n 'backdrop-contrast': [{\n 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Grayscale\n * @see https://tailwindcss.com/docs/backdrop-grayscale\n */\n 'backdrop-grayscale': [{\n 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Hue Rotate\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n */\n 'backdrop-hue-rotate': [{\n 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Invert\n * @see https://tailwindcss.com/docs/backdrop-invert\n */\n 'backdrop-invert': [{\n 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Opacity\n * @see https://tailwindcss.com/docs/backdrop-opacity\n */\n 'backdrop-opacity': [{\n 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Saturate\n * @see https://tailwindcss.com/docs/backdrop-saturate\n */\n 'backdrop-saturate': [{\n 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Sepia\n * @see https://tailwindcss.com/docs/backdrop-sepia\n */\n 'backdrop-sepia': [{\n 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n // --------------\n // --- Tables ---\n // --------------\n /**\n * Border Collapse\n * @see https://tailwindcss.com/docs/border-collapse\n */\n 'border-collapse': [{\n border: ['collapse', 'separate']\n }],\n /**\n * Border Spacing\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing': [{\n 'border-spacing': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing X\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-x': [{\n 'border-spacing-x': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing Y\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-y': [{\n 'border-spacing-y': scaleUnambiguousSpacing()\n }],\n /**\n * Table Layout\n * @see https://tailwindcss.com/docs/table-layout\n */\n 'table-layout': [{\n table: ['auto', 'fixed']\n }],\n /**\n * Caption Side\n * @see https://tailwindcss.com/docs/caption-side\n */\n caption: [{\n caption: ['top', 'bottom']\n }],\n // ---------------------------------\n // --- Transitions and Animation ---\n // ---------------------------------\n /**\n * Transition Property\n * @see https://tailwindcss.com/docs/transition-property\n */\n transition: [{\n transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Behavior\n * @see https://tailwindcss.com/docs/transition-behavior\n */\n 'transition-behavior': [{\n transition: ['normal', 'discrete']\n }],\n /**\n * Transition Duration\n * @see https://tailwindcss.com/docs/transition-duration\n */\n duration: [{\n duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Timing Function\n * @see https://tailwindcss.com/docs/transition-timing-function\n */\n ease: [{\n ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Delay\n * @see https://tailwindcss.com/docs/transition-delay\n */\n delay: [{\n delay: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Animation\n * @see https://tailwindcss.com/docs/animation\n */\n animate: [{\n animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------\n // --- Transforms ---\n // ------------------\n /**\n * Backface Visibility\n * @see https://tailwindcss.com/docs/backface-visibility\n */\n backface: [{\n backface: ['hidden', 'visible']\n }],\n /**\n * Perspective\n * @see https://tailwindcss.com/docs/perspective\n */\n perspective: [{\n perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Perspective Origin\n * @see https://tailwindcss.com/docs/perspective-origin\n */\n 'perspective-origin': [{\n 'perspective-origin': scalePositionWithArbitrary()\n }],\n /**\n * Rotate\n * @see https://tailwindcss.com/docs/rotate\n */\n rotate: [{\n rotate: scaleRotate()\n }],\n /**\n * Rotate X\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-x': [{\n 'rotate-x': scaleRotate()\n }],\n /**\n * Rotate Y\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-y': [{\n 'rotate-y': scaleRotate()\n }],\n /**\n * Rotate Z\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-z': [{\n 'rotate-z': scaleRotate()\n }],\n /**\n * Scale\n * @see https://tailwindcss.com/docs/scale\n */\n scale: [{\n scale: scaleScale()\n }],\n /**\n * Scale X\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-x': [{\n 'scale-x': scaleScale()\n }],\n /**\n * Scale Y\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-y': [{\n 'scale-y': scaleScale()\n }],\n /**\n * Scale Z\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-z': [{\n 'scale-z': scaleScale()\n }],\n /**\n * Scale 3D\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-3d': ['scale-3d'],\n /**\n * Skew\n * @see https://tailwindcss.com/docs/skew\n */\n skew: [{\n skew: scaleSkew()\n }],\n /**\n * Skew X\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-x': [{\n 'skew-x': scaleSkew()\n }],\n /**\n * Skew Y\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-y': [{\n 'skew-y': scaleSkew()\n }],\n /**\n * Transform\n * @see https://tailwindcss.com/docs/transform\n */\n transform: [{\n transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']\n }],\n /**\n * Transform Origin\n * @see https://tailwindcss.com/docs/transform-origin\n */\n 'transform-origin': [{\n origin: scalePositionWithArbitrary()\n }],\n /**\n * Transform Style\n * @see https://tailwindcss.com/docs/transform-style\n */\n 'transform-style': [{\n transform: ['3d', 'flat']\n }],\n /**\n * Translate\n * @see https://tailwindcss.com/docs/translate\n */\n translate: [{\n translate: scaleTranslate()\n }],\n /**\n * Translate X\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-x': [{\n 'translate-x': scaleTranslate()\n }],\n /**\n * Translate Y\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-y': [{\n 'translate-y': scaleTranslate()\n }],\n /**\n * Translate Z\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-z': [{\n 'translate-z': scaleTranslate()\n }],\n /**\n * Translate None\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-none': ['translate-none'],\n /**\n * Zoom\n * @see https://tailwindcss.com/docs/zoom\n */\n zoom: [{\n zoom: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------------\n // --- Interactivity ---\n // ---------------------\n /**\n * Accent Color\n * @see https://tailwindcss.com/docs/accent-color\n */\n accent: [{\n accent: scaleColor()\n }],\n /**\n * Appearance\n * @see https://tailwindcss.com/docs/appearance\n */\n appearance: [{\n appearance: ['none', 'auto']\n }],\n /**\n * Caret Color\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n */\n 'caret-color': [{\n caret: scaleColor()\n }],\n /**\n * Color Scheme\n * @see https://tailwindcss.com/docs/color-scheme\n */\n 'color-scheme': [{\n scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']\n }],\n /**\n * Cursor\n * @see https://tailwindcss.com/docs/cursor\n */\n cursor: [{\n cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Field Sizing\n * @see https://tailwindcss.com/docs/field-sizing\n */\n 'field-sizing': [{\n 'field-sizing': ['fixed', 'content']\n }],\n /**\n * Pointer Events\n * @see https://tailwindcss.com/docs/pointer-events\n */\n 'pointer-events': [{\n 'pointer-events': ['auto', 'none']\n }],\n /**\n * Resize\n * @see https://tailwindcss.com/docs/resize\n */\n resize: [{\n resize: ['none', '', 'y', 'x']\n }],\n /**\n * Scroll Behavior\n * @see https://tailwindcss.com/docs/scroll-behavior\n */\n 'scroll-behavior': [{\n scroll: ['auto', 'smooth']\n }],\n /**\n * Scrollbar Thumb Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-thumb-color': [{\n 'scrollbar-thumb': scaleColor()\n }],\n /**\n * Scrollbar Track Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-track-color': [{\n 'scrollbar-track': scaleColor()\n }],\n /**\n * Scrollbar Gutter\n * @see https://tailwindcss.com/docs/scrollbar-gutter\n */\n 'scrollbar-gutter': [{\n 'scrollbar-gutter': ['auto', 'stable', 'both']\n }],\n /**\n * Scrollbar Width\n * @see https://tailwindcss.com/docs/scrollbar-width\n */\n 'scrollbar-w': [{\n scrollbar: ['auto', 'thin', 'none']\n }],\n /**\n * Scroll Margin\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-m': [{\n 'scroll-m': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mx': [{\n 'scroll-mx': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-my': [{\n 'scroll-my': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ms': [{\n 'scroll-ms': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-me': [{\n 'scroll-me': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbs': [{\n 'scroll-mbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbe': [{\n 'scroll-mbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Top\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mt': [{\n 'scroll-mt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Right\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mr': [{\n 'scroll-mr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Bottom\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mb': [{\n 'scroll-mb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Left\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ml': [{\n 'scroll-ml': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-p': [{\n 'scroll-p': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-px': [{\n 'scroll-px': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-py': [{\n 'scroll-py': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-ps': [{\n 'scroll-ps': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pe': [{\n 'scroll-pe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbs': [{\n 'scroll-pbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbe': [{\n 'scroll-pbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Top\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pt': [{\n 'scroll-pt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Right\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pr': [{\n 'scroll-pr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Bottom\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pb': [{\n 'scroll-pb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Left\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pl': [{\n 'scroll-pl': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Snap Align\n * @see https://tailwindcss.com/docs/scroll-snap-align\n */\n 'snap-align': [{\n snap: ['start', 'end', 'center', 'align-none']\n }],\n /**\n * Scroll Snap Stop\n * @see https://tailwindcss.com/docs/scroll-snap-stop\n */\n 'snap-stop': [{\n snap: ['normal', 'always']\n }],\n /**\n * Scroll Snap Type\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-type': [{\n snap: ['none', 'x', 'y', 'both']\n }],\n /**\n * Scroll Snap Type Strictness\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-strictness': [{\n snap: ['mandatory', 'proximity']\n }],\n /**\n * Touch Action\n * @see https://tailwindcss.com/docs/touch-action\n */\n touch: [{\n touch: ['auto', 'none', 'manipulation']\n }],\n /**\n * Touch Action X\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-x': [{\n 'touch-pan': ['x', 'left', 'right']\n }],\n /**\n * Touch Action Y\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-y': [{\n 'touch-pan': ['y', 'up', 'down']\n }],\n /**\n * Touch Action Pinch Zoom\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-pz': ['touch-pinch-zoom'],\n /**\n * User Select\n * @see https://tailwindcss.com/docs/user-select\n */\n select: [{\n select: ['none', 'text', 'all', 'auto']\n }],\n /**\n * Will Change\n * @see https://tailwindcss.com/docs/will-change\n */\n 'will-change': [{\n 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]\n }],\n // -----------\n // --- SVG ---\n // -----------\n /**\n * Fill\n * @see https://tailwindcss.com/docs/fill\n */\n fill: [{\n fill: ['none', ...scaleColor()]\n }],\n /**\n * Stroke Width\n * @see https://tailwindcss.com/docs/stroke-width\n */\n 'stroke-w': [{\n stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]\n }],\n /**\n * Stroke\n * @see https://tailwindcss.com/docs/stroke\n */\n stroke: [{\n stroke: ['none', ...scaleColor()]\n }],\n // ---------------------\n // --- Accessibility ---\n // ---------------------\n /**\n * Forced Color Adjust\n * @see https://tailwindcss.com/docs/forced-color-adjust\n */\n 'forced-color-adjust': [{\n 'forced-color-adjust': ['auto', 'none']\n }]\n },\n conflictingClassGroups: {\n 'container-named': ['container-type'],\n overflow: ['overflow-x', 'overflow-y'],\n overscroll: ['overscroll-x', 'overscroll-y'],\n inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],\n 'inset-x': ['right', 'left'],\n 'inset-y': ['top', 'bottom'],\n flex: ['basis', 'grow', 'shrink'],\n gap: ['gap-x', 'gap-y'],\n p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],\n px: ['pr', 'pl'],\n py: ['pt', 'pb'],\n m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],\n mx: ['mr', 'ml'],\n my: ['mt', 'mb'],\n size: ['w', 'h'],\n 'font-size': ['leading'],\n 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],\n 'fvn-ordinal': ['fvn-normal'],\n 'fvn-slashed-zero': ['fvn-normal'],\n 'fvn-figure': ['fvn-normal'],\n 'fvn-spacing': ['fvn-normal'],\n 'fvn-fraction': ['fvn-normal'],\n 'line-clamp': ['display', 'overflow'],\n rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],\n 'rounded-s': ['rounded-ss', 'rounded-es'],\n 'rounded-e': ['rounded-se', 'rounded-ee'],\n 'rounded-t': ['rounded-tl', 'rounded-tr'],\n 'rounded-r': ['rounded-tr', 'rounded-br'],\n 'rounded-b': ['rounded-br', 'rounded-bl'],\n 'rounded-l': ['rounded-tl', 'rounded-bl'],\n 'border-spacing': ['border-spacing-x', 'border-spacing-y'],\n 'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-bs', 'border-w-be', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],\n 'border-w-x': ['border-w-r', 'border-w-l'],\n 'border-w-y': ['border-w-t', 'border-w-b'],\n 'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-bs', 'border-color-be', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],\n 'border-color-x': ['border-color-r', 'border-color-l'],\n 'border-color-y': ['border-color-t', 'border-color-b'],\n translate: ['translate-x', 'translate-y', 'translate-none'],\n 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],\n 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],\n 'scroll-mx': ['scroll-mr', 'scroll-ml'],\n 'scroll-my': ['scroll-mt', 'scroll-mb'],\n 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],\n 'scroll-px': ['scroll-pr', 'scroll-pl'],\n 'scroll-py': ['scroll-pt', 'scroll-pb'],\n touch: ['touch-x', 'touch-y', 'touch-pz'],\n 'touch-x': ['touch'],\n 'touch-y': ['touch'],\n 'touch-pz': ['touch']\n },\n conflictingClassGroupModifiers: {\n 'font-size': ['leading']\n },\n postfixLookupClassGroups: ['container-type'],\n orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']\n };\n};\n\n/**\n * @param baseConfig Config where other config will be merged into. This object will be mutated.\n * @param configExtension Partial config to merge into the `baseConfig`.\n */\nconst mergeConfigs = (baseConfig, {\n cacheSize,\n prefix,\n experimentalParseClassName,\n extend = {},\n override = {}\n}) => {\n overrideProperty(baseConfig, 'cacheSize', cacheSize);\n overrideProperty(baseConfig, 'prefix', prefix);\n overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);\n overrideConfigProperties(baseConfig.theme, override.theme);\n overrideConfigProperties(baseConfig.classGroups, override.classGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers);\n overrideProperty(baseConfig, 'postfixLookupClassGroups', override.postfixLookupClassGroups);\n overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers);\n mergeConfigProperties(baseConfig.theme, extend.theme);\n mergeConfigProperties(baseConfig.classGroups, extend.classGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers);\n mergeArrayProperties(baseConfig, extend, 'postfixLookupClassGroups');\n mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers');\n return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n if (overrideValue !== undefined) {\n baseObject[overrideKey] = overrideValue;\n }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n if (overrideObject) {\n for (const key in overrideObject) {\n overrideProperty(baseObject, key, overrideObject[key]);\n }\n }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n if (mergeObject) {\n for (const key in mergeObject) {\n mergeArrayProperties(baseObject, mergeObject, key);\n }\n }\n};\nconst mergeArrayProperties = (baseObject, mergeObject, key) => {\n const mergeValue = mergeObject[key];\n if (mergeValue !== undefined) {\n baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;\n }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);\nexport { createTailwindMerge, extendTailwindMerge, fromTheme, getDefaultConfig, mergeConfigs, twJoin, twMerge, validators };\n//# sourceMappingURL=bundle-mjs.mjs.map\n","import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import { cn } from '@/lib/utils'\nimport type { TemplateBadge, WorkflowStatus, ConfigStatus } from '@/components/types'\n\ntype BadgeVariant = TemplateBadge | WorkflowStatus | ConfigStatus\n\nconst variantMap: Record<BadgeVariant, string> = {\n Popular: 'bg-green-100 text-green-700',\n Fast: 'bg-orange-100 text-orange-600',\n Premium: 'bg-purple-100 text-purple-700',\n Complete: 'bg-blue-100 text-blue-700',\n AI: 'bg-teal-100 text-teal-700',\n Lean: 'bg-slate-100 text-slate-600',\n Active: 'bg-green-100 text-green-700',\n Draft: 'bg-orange-100 text-orange-600',\n Paused: 'bg-yellow-100 text-yellow-700',\n Stopped: 'bg-red-100 text-red-600',\n Configured: '',\n 'Configuration Pending': '',\n}\n\nconst solidConfigStyles: Partial<Record<BadgeVariant, React.CSSProperties>> = {\n Configured: { background: '#21C45D', color: '#fff', border: 'none' },\n 'Configuration Pending': { background: '#DC2828', color: '#fff', border: 'none' },\n}\n\ninterface StatusBadgeProps {\n status: BadgeVariant\n className?: string\n dot?: boolean\n}\n\nexport function StatusBadge({ status, className, dot = false }: StatusBadgeProps) {\n const solidStyle = solidConfigStyles[status]\n const isConfig = status === 'Configured' || status === 'Configuration Pending'\n\n return (\n <span\n className={cn(\n 'inline-flex items-center gap-1 rounded-full',\n isConfig\n ? 'px-[10px] py-[2px] text-[10px] font-semibold leading-[15px]'\n : 'px-2 py-0.5 text-xs font-medium',\n variantMap[status] ?? 'bg-gray-100 text-gray-600',\n className,\n )}\n style={solidStyle}\n >\n {dot && !isConfig && (\n <span\n className={cn('h-1.5 w-1.5 rounded-full', {\n 'bg-green-500': status === 'Active',\n 'bg-orange-500': status === 'Draft',\n 'bg-red-500': status === 'Stopped',\n })}\n />\n )}\n {status}\n </span>\n )\n}\n","import { Bot, Calendar, GraduationCap, Phone, Shield, Video } from 'lucide-react'\nimport { cn } from '../../lib/utils'\nimport type { ProductName } from '../types'\n\ninterface ProductConfig {\n label: string\n Icon: typeof Bot\n gradient: string\n}\n\n/* Match brand colors from Figma design */\nconst productConfig: Record<ProductName, ProductConfig> = {\n incscreen: {\n label: 'IncScreen',\n Icon: Phone,\n gradient: 'linear-gradient(135deg, #0d9488 0%, #14b8a6 100%)',\n },\n incbot: {\n label: 'IncBot',\n Icon: Bot,\n gradient: 'linear-gradient(135deg, #2563eb 0%, #3b82f6 100%)',\n },\n incvid: {\n label: 'IncVid',\n Icon: Video,\n gradient: 'linear-gradient(135deg, #4f46e5 0%, #6366f1 100%)',\n },\n incfeed: {\n label: 'IncFeed',\n Icon: Calendar,\n gradient: 'linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%)',\n },\n incserve: {\n label: 'IncServe',\n Icon: GraduationCap,\n gradient: 'linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%)',\n },\n incproctor: {\n label: 'IncProctor',\n Icon: Shield,\n gradient: 'linear-gradient(135deg, #475569 0%, #64748b 100%)',\n },\n}\n\nconst sizeMap = {\n sm: { box: 28, icon: 13, radius: 7 },\n md: { box: 36, icon: 17, radius: 9 },\n lg: { box: 48, icon: 22, radius: 12 },\n}\n\ninterface ProductIconProps {\n product: ProductName\n size?: 'sm' | 'md' | 'lg'\n className?: string\n}\n\nexport function ProductIcon({ product, size = 'md', className }: ProductIconProps) {\n const config = productConfig[product]\n const { box, icon, radius } = sizeMap[size]\n const { Icon, gradient } = config\n\n return (\n <span\n className={cn('flex flex-shrink-0 items-center justify-center', className)}\n style={{\n width: box,\n height: box,\n borderRadius: radius,\n background: gradient,\n }}\n >\n <Icon size={icon} color=\"#fff\" />\n </span>\n )\n}\n\nexport function getProductLabel(product: ProductName) {\n return productConfig[product]?.label ?? product\n}\n","import { Search } from 'lucide-react'\nimport { cn } from '@/lib/utils'\n\ninterface SearchBarProps {\n placeholder?: string\n shortcut?: string\n className?: string\n onSearch?: (value: string) => void\n}\n\nexport function SearchBar({\n placeholder = 'Search...',\n shortcut = '⌘K',\n className,\n onSearch,\n}: SearchBarProps) {\n return (\n <div className={cn('relative flex items-center', className)}>\n <Search size={14} className=\"absolute left-3 text-gray-400 pointer-events-none\" strokeWidth={2} />\n <input\n type=\"text\"\n placeholder={placeholder}\n onChange={(e) => onSearch?.(e.target.value)}\n className={cn(\n 'h-8 w-56 rounded-lg border border-gray-200 bg-gray-50',\n 'pl-8 pr-14 text-[13px] text-gray-700 placeholder:text-gray-400',\n 'focus:outline-none focus:ring-2 focus:ring-blue-400/30 focus:border-blue-400/60',\n 'transition-colors',\n )}\n />\n {shortcut && (\n <div className=\"absolute right-2.5 flex items-center gap-0.5 pointer-events-none\">\n <kbd className=\"flex items-center rounded bg-gray-100 px-1.5 py-0.5 text-[10px] font-medium text-gray-400 font-sans border border-gray-200\">\n {shortcut}\n </kbd>\n </div>\n )}\n </div>\n )\n}\n","import type { ReactNode } from 'react'\nimport { cn } from '@/lib/utils'\n\ninterface PageHeaderProps {\n title: string\n description?: string\n breadcrumb?: string\n actions?: ReactNode\n className?: string\n}\n\nexport function PageHeader({ title, description, breadcrumb, actions, className }: PageHeaderProps) {\n return (\n <div className={cn('flex items-start justify-between', className)}>\n <div>\n {breadcrumb && (\n <p className=\"mb-1 text-xs text-gray-400 uppercase tracking-wider\">{breadcrumb}</p>\n )}\n <h1 className=\"text-2xl font-bold text-gray-900\">{title}</h1>\n {description && <p className=\"mt-1 text-sm text-gray-500\">{description}</p>}\n </div>\n {actions && <div className=\"flex items-center gap-2\">{actions}</div>}\n </div>\n )\n}\n","import type { ReactNode } from 'react'\nimport { useState } from 'react'\nimport { Menu, ChevronsUpDown, UserCircle, CreditCard, type LucideIcon } from 'lucide-react'\nimport type { UserProfile } from '../types'\n\n/* ── Tokens ─────────────────────────────────────────────────── */\nconst BRAND = '#12b6bc'\nconst ACTIVE_BG = '#f5fbf8'\nconst HOVER_BG = 'rgba(0,0,0,0.03)'\nconst BORDER = 'rgba(0,0,0,0.07)'\n\n/* ── Nav item type ───────────────────────────────────────────── */\nexport interface SidebarNavItem {\n label: string\n Icon: LucideIcon\n href: string\n badge?: number\n hasChevron?: boolean\n}\n\n/* ── NavRow ──────────────────────────────────────────────────── */\nfunction NavRow({\n item,\n active,\n collapsed,\n onNavigate,\n}: {\n item: SidebarNavItem\n active: boolean\n collapsed?: boolean\n onNavigate?: (href: string) => void\n}) {\n return (\n <button\n onClick={() => onNavigate?.(item.href)}\n title={collapsed ? item.label : undefined}\n className=\"flex w-full items-center overflow-hidden\"\n style={{\n gap: collapsed ? 0 : 20,\n paddingLeft: collapsed ? 0 : 15,\n paddingRight: collapsed ? 0 : 10,\n paddingTop: 10,\n paddingBottom: 10,\n justifyContent: collapsed ? 'center' : undefined,\n background: active ? ACTIVE_BG : 'transparent',\n borderLeft: active ? `2px solid ${BRAND}` : '2px solid transparent',\n borderRadius: 0,\n }}\n onMouseEnter={(e) => {\n if (!active) (e.currentTarget as HTMLElement).style.background = HOVER_BG\n }}\n onMouseLeave={(e) => {\n if (!active) (e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n >\n <item.Icon\n size={22}\n style={{ flexShrink: 0, color: active ? BRAND : '#9ca3af', display: 'block' }}\n />\n\n {!collapsed && (\n <>\n <span\n className=\"flex-1 text-left\"\n style={{\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 13,\n lineHeight: '24px',\n fontWeight: active ? 700 : 500,\n color: active ? BRAND : '#000',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {item.label}\n </span>\n\n {item.badge !== undefined && (\n <span\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 19,\n minWidth: 20,\n paddingInline: 4,\n borderRadius: 10,\n background: 'rgba(18,182,188,0.14)',\n color: BRAND,\n fontSize: 10,\n fontWeight: 600,\n flexShrink: 0,\n }}\n >\n {item.badge}\n </span>\n )}\n </>\n )}\n </button>\n )\n}\n\n/* ── Sidebar props ───────────────────────────────────────────── */\nexport interface SidebarProps {\n user: UserProfile\n logoSrc?: string\n logoAlt?: string\n navItems?: SidebarNavItem[]\n otherItems?: SidebarNavItem[]\n activeHref?: string\n onNavigate?: (href: string) => void\n onMyProfile?: () => void\n onAccountsBilling?: () => void\n children?: ReactNode\n}\n\nexport function Sidebar({\n user,\n logoSrc,\n logoAlt = 'Logo',\n navItems = [],\n otherItems = [],\n activeHref = '/',\n onNavigate,\n onMyProfile,\n onAccountsBilling,\n}: SidebarProps) {\n const [profileOpen, setProfileOpen] = useState(false)\n const [collapsed, setCollapsed] = useState(false)\n\n const initials = user.name\n .split(' ')\n .map((n) => n[0])\n .join('')\n .slice(0, 2)\n .toUpperCase()\n\n return (\n <aside\n className=\"flex h-screen flex-shrink-0 flex-col bg-white transition-all duration-200\"\n style={{ width: collapsed ? 52 : 250, borderRight: `1px solid ${BORDER}` }}\n >\n {/* Logo + hamburger */}\n <div\n className=\"flex flex-shrink-0 items-center\"\n style={{\n height: 52,\n padding: 10,\n borderBottom: `1px solid ${BORDER}`,\n justifyContent: collapsed ? 'center' : 'space-between',\n }}\n >\n {!collapsed && logoSrc && (\n <img src={logoSrc} alt={logoAlt} style={{ height: 36, width: 'auto', objectFit: 'contain' }} />\n )}\n <button\n onClick={() => {\n setCollapsed((v) => !v)\n setProfileOpen(false)\n }}\n className=\"flex items-center justify-center rounded-md text-gray-400 hover:bg-gray-100 transition-colors\"\n style={{ width: 28, height: 28, flexShrink: 0 }}\n aria-label=\"Toggle menu\"\n >\n <Menu size={16} />\n </button>\n </div>\n\n {/* User profile */}\n <div className=\"flex-shrink-0\">\n <button\n onClick={() => !collapsed && setProfileOpen((v) => !v)}\n className=\"flex w-full items-center transition-colors\"\n style={{\n gap: 12,\n padding: 12,\n background: 'rgba(18,182,188,0.05)',\n justifyContent: collapsed ? 'center' : undefined,\n }}\n >\n {user.avatarUrl ? (\n <img\n src={user.avatarUrl}\n alt={user.name}\n className=\"rounded-full object-cover\"\n style={{ width: 32, height: 32, flexShrink: 0 }}\n />\n ) : (\n <div\n className=\"flex items-center justify-center rounded-full text-white\"\n style={{\n width: 32,\n height: 32,\n flexShrink: 0,\n fontSize: 11,\n fontWeight: 700,\n background: 'linear-gradient(135deg, #3b82f6 0%, #12b6bc 100%)',\n }}\n >\n {initials}\n </div>\n )}\n {!collapsed && (\n <>\n <div className=\"flex-1 min-w-0 text-left\">\n <p\n style={{\n fontFamily: \"'Plus Jakarta Sans', sans-serif\",\n fontSize: 14,\n fontWeight: 500,\n color: '#000',\n lineHeight: '1.45',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.name}\n </p>\n <p\n style={{\n fontFamily: \"'Plus Jakarta Sans', sans-serif\",\n fontSize: 12,\n fontWeight: 400,\n color: '#3f3f3f',\n lineHeight: '1.5',\n marginTop: 1,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.role}\n </p>\n </div>\n <ChevronsUpDown size={16} style={{ color: '#9ca3af', flexShrink: 0 }} />\n </>\n )}\n </button>\n\n {profileOpen && (\n <>\n {[\n { label: 'My Profile', Icon: UserCircle, action: onMyProfile },\n { label: 'Accounts & Billing', Icon: CreditCard, action: onAccountsBilling },\n ].map(({ label, Icon, action }) => (\n <button\n key={label}\n onClick={action}\n className=\"flex w-full items-center overflow-hidden\"\n style={{\n gap: 20,\n paddingLeft: 15,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 10,\n background: 'transparent',\n borderLeft: '2px solid transparent',\n borderRadius: 0,\n }}\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = HOVER_BG\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n >\n <Icon size={22} style={{ color: '#878787', flexShrink: 0 }} />\n <span\n style={{\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 13,\n lineHeight: '24px',\n fontWeight: 500,\n color: '#000',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {label}\n </span>\n </button>\n ))}\n </>\n )}\n </div>\n\n {/* Main nav */}\n <nav className=\"flex-1 overflow-y-auto\">\n {navItems.length > 0 && !collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Inter', sans-serif\",\n }}\n >\n MAIN MENU\n </div>\n )}\n {navItems.map((item) => (\n <NavRow\n key={item.href}\n item={item}\n active={activeHref === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n />\n ))}\n </nav>\n\n {/* Other nav */}\n {otherItems.length > 0 && (\n <div className=\"flex-shrink-0\">\n {!collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 8,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Inter', sans-serif\",\n borderTop: `1px solid ${BORDER}`,\n }}\n >\n OTHER\n </div>\n )}\n {collapsed && <div style={{ height: 8, borderTop: `1px solid ${BORDER}` }} />}\n {otherItems.map((item) => (\n <NavRow\n key={item.href}\n item={item}\n active={activeHref === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n />\n ))}\n <div style={{ height: 16 }} />\n </div>\n )}\n </aside>\n )\n}\n","import type { ReactNode } from 'react'\nimport { Bell } from 'lucide-react'\nimport { cn } from '../../lib/utils'\n\ninterface TopBarProps {\n title: string\n breadcrumb?: string\n actions?: ReactNode\n notificationCount?: number\n onBellClick?: () => void\n className?: string\n}\n\nexport function TopBar({\n title,\n breadcrumb,\n actions,\n notificationCount = 0,\n onBellClick,\n className,\n}: TopBarProps) {\n return (\n <header\n className={cn('flex h-[52px] flex-shrink-0 items-center justify-between bg-white px-6', className)}\n style={{ borderBottom: '1px solid rgba(0,0,0,0.07)' }}\n >\n {/* Left: title */}\n <div className=\"flex items-center gap-2 min-w-0\">\n <h2 className=\"text-[15px] font-bold text-gray-900 leading-none\">{title}</h2>\n {breadcrumb && (\n <>\n <span className=\"text-gray-300 leading-none\">/</span>\n <span className=\"text-[13px] text-gray-500 truncate\">{breadcrumb}</span>\n </>\n )}\n </div>\n\n {/* Right: optional actions + bell */}\n <div className=\"flex flex-shrink-0 items-center gap-2.5\">\n {actions}\n\n <button\n onClick={onBellClick}\n className=\"relative flex h-8 w-8 items-center justify-center rounded-lg text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-colors\"\n aria-label=\"Notifications\"\n >\n <Bell size={16} strokeWidth={1.75} />\n {notificationCount > 0 && (\n <span className=\"absolute right-1.5 top-1.5 flex h-2 w-2 rounded-full bg-blue-500 ring-1 ring-white\" />\n )}\n </button>\n </div>\n </header>\n )\n}\n","import type { ReactNode } from 'react'\nimport { cn } from '../../lib/utils'\nimport { Sidebar, type SidebarNavItem } from './Sidebar'\nimport { TopBar } from './TopBar'\nimport type { UserProfile } from '../types'\n\nexport interface AppShellProps {\n user: UserProfile\n logoSrc?: string\n logoAlt?: string\n navItems?: SidebarNavItem[]\n otherItems?: SidebarNavItem[]\n activeHref?: string\n topBarTitle?: string\n topBarBreadcrumb?: string\n topBarActions?: ReactNode\n notificationCount?: number\n onNavigate?: (href: string) => void\n onMyProfile?: () => void\n onAccountsBilling?: () => void\n onBellClick?: () => void\n children: ReactNode\n className?: string\n}\n\nexport function AppShell({\n user,\n logoSrc,\n logoAlt,\n navItems,\n otherItems,\n activeHref,\n topBarTitle = '',\n topBarBreadcrumb,\n topBarActions,\n notificationCount,\n onNavigate,\n onMyProfile,\n onAccountsBilling,\n onBellClick,\n children,\n className,\n}: AppShellProps) {\n return (\n <div className=\"flex h-screen overflow-hidden bg-gray-50\">\n <Sidebar\n user={user}\n logoSrc={logoSrc}\n logoAlt={logoAlt}\n navItems={navItems}\n otherItems={otherItems}\n activeHref={activeHref}\n onNavigate={onNavigate}\n onMyProfile={onMyProfile}\n onAccountsBilling={onAccountsBilling}\n />\n\n <div className=\"flex flex-1 min-w-0 flex-col overflow-hidden\">\n <TopBar\n title={topBarTitle}\n breadcrumb={topBarBreadcrumb}\n actions={topBarActions}\n notificationCount={notificationCount}\n onBellClick={onBellClick}\n />\n\n <main\n className={cn('flex-1 overflow-y-auto', className)}\n style={{ margin: 12, borderRadius: 6, border: '1px solid #E5E7EB', background: '#fff' }}\n >\n {children}\n </main>\n </div>\n </div>\n )\n}\n","interface WelcomeBannerProps {\n name: string\n subtitle?: string\n}\n\nexport function WelcomeBanner({\n name,\n subtitle = '',\n}: WelcomeBannerProps) {\n const firstName = name.split(' ')[0]\n\n return (\n <div>\n <h1 className=\"text-[26px] font-bold leading-tight text-gray-900\">\n Welcome back,{' '}\n <span style={{ color: '#3b82f6' }}>{firstName}</span>{' '}\n <span aria-hidden>👋</span>\n </h1>\n <p className=\"mt-1.5 text-[13.5px] text-gray-500\">{subtitle}</p>\n </div>\n )\n}\n","import type { ReactNode } from 'react'\nimport { cn } from '@/lib/utils'\n\ninterface QuickActionCardProps {\n icon: ReactNode\n iconBg?: string\n title: string\n subtitle: string\n onClick?: () => void\n className?: string\n}\n\nexport function QuickActionCard({\n icon,\n iconBg = '#eff6ff',\n title,\n subtitle,\n onClick,\n className,\n}: QuickActionCardProps) {\n return (\n <button\n onClick={onClick}\n className={cn(\n 'flex items-center gap-4 rounded-xl bg-white px-5 py-4 text-left',\n 'transition-all',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/40',\n className,\n )}\n style={{\n border: '1px solid rgba(0,0,0,0.07)',\n }}\n >\n <div\n className=\"flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-xl\"\n style={{ background: iconBg }}\n >\n {icon}\n </div>\n <div>\n <p className=\"text-[13.5px] font-semibold text-gray-900 leading-snug\">{title}</p>\n <p className=\"mt-0.5 text-[12px] text-gray-500 leading-snug\">{subtitle}</p>\n </div>\n </button>\n )\n}\n","import { ProductIcon } from '@/components/common/ProductIcon'\nimport type { SubscriptionData } from '@/components/types'\n\ninterface SubscriptionCardProps extends SubscriptionData {\n onOpenDashboard?: () => void\n}\n\nexport function SubscriptionCard({\n name,\n product,\n status,\n validTill,\n usage,\n onOpenDashboard,\n}: SubscriptionCardProps) {\n const isActive = status === 'Active'\n\n return (\n <div\n className=\"flex items-center gap-4 rounded-xl bg-white px-5 py-4\"\n style={{ border: '1px solid rgba(0,0,0,0.07)' }}\n >\n <ProductIcon product={product} size=\"md\" className=\"flex-shrink-0\" />\n\n <div className=\"min-w-0 flex-1\">\n <p className=\"truncate text-[13px] font-semibold\" style={{ color: '#111118' }}>{name}</p>\n <div className=\"mt-1 flex items-center gap-1.5\">\n <span\n className=\"inline-block h-[6px] w-[6px] rounded-full\"\n style={{ background: isActive ? '#16a34a' : '#f59e0b' }}\n />\n <span className=\"text-[11.5px] font-medium\" style={{ color: isActive ? '#16a34a' : '#d97706' }}>\n {status}\n </span>\n <span className=\"text-[11.5px]\" style={{ color: '#d1d5db' }}>·</span>\n <span className=\"text-[11.5px]\" style={{ color: '#9ca3af' }}>Valid till {validTill}</span>\n </div>\n </div>\n\n {/* Usage bar */}\n <div className=\"hidden w-32 flex-shrink-0 sm:block\">\n <div className=\"flex items-center justify-between mb-1.5\">\n <span className=\"text-[10.5px]\" style={{ color: '#aab' }}>Usage</span>\n <span className=\"text-[10.5px] font-semibold\" style={{ color: '#374151' }}>{usage}%</span>\n </div>\n <div className=\"h-[3px] w-full overflow-hidden rounded-full\" style={{ background: 'rgba(0,0,0,0.06)' }}>\n <div\n className=\"h-full rounded-full transition-all\"\n style={{\n width: `${usage}%`,\n background: 'linear-gradient(90deg, #133f7d 0%, #12b6bc 100%)',\n }}\n />\n </div>\n </div>\n\n {/* Open Dashboard — Figma: light gray button */}\n <button\n onClick={onOpenDashboard}\n className=\"ml-2 flex-shrink-0 rounded-lg text-[11px] font-medium transition-colors hover:bg-gray-200\"\n style={{\n background: '#f1f2f4',\n border: '1px solid rgba(0,0,0,0.10)',\n color: '#111118',\n height: 28,\n padding: '0 11px',\n }}\n >\n Open Dashboard\n </button>\n </div>\n )\n}\n","interface AIBannerProps {\n product: string\n message: string\n ctaLabel?: string\n onExplore?: () => void\n}\n\nexport function AIBanner({ product, message, ctaLabel = 'Explore →', onExplore }: AIBannerProps) {\n return (\n <div\n className=\"flex items-center gap-3 px-4 py-3\"\n style={{\n borderRadius: 12,\n border: '1px dashed rgba(99, 102, 241, 0.25)',\n background: 'rgba(99, 102, 241, 0.04)',\n }}\n >\n <span className=\"flex-shrink-0 text-base leading-none\" aria-hidden>\n 💡\n </span>\n <p className=\"flex-1 text-[13px] text-gray-600 leading-snug\">\n Based on your usage,{' '}\n <span className=\"font-semibold text-gray-900\">{product}</span>{' '}\n {message}{' '}\n <button\n onClick={onExplore}\n className=\"font-semibold text-blue-600 hover:underline\"\n style={{ background: 'none', border: 'none', cursor: 'pointer', padding: 0 }}\n >\n {ctaLabel}\n </button>\n </p>\n </div>\n )\n}\n","import { ArrowRight, Workflow } from 'lucide-react'\nimport type { TemplateBadge } from '@/components/types'\n\ninterface WorkflowTemplateCardProps {\n icon: string\n title: string\n description: string\n badge: TemplateBadge\n steps: string[]\n onUseTemplate?: () => void\n}\n\nconst BADGE_COLOR: Record<TemplateBadge, string> = {\n Popular: '#2563eb',\n Fast: '#d97706',\n Premium: '#7c3aed',\n Complete: '#c2410c',\n AI: '#0d9488',\n Lean: '#a16207',\n}\n\nexport function WorkflowTemplateCard({\n title,\n description,\n badge,\n steps,\n onUseTemplate,\n}: WorkflowTemplateCardProps) {\n const badgeColor = BADGE_COLOR[badge] ?? BADGE_COLOR.Popular\n\n return (\n <div\n className=\"flex flex-col rounded-2xl bg-white transition-colors hover:border-gray-300\"\n style={{\n border: '1px solid rgba(0,0,0,0.08)',\n padding: '20px',\n }}\n >\n {/* Header: icon + badge text */}\n <div className=\"flex items-start justify-between mb-4\">\n <div\n style={{\n width: 44,\n height: 44,\n borderRadius: 12,\n background: 'rgba(16,185,129,0.12)',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n }}\n >\n <Workflow size={22} color=\"#10b981\" />\n </div>\n <span\n style={{\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 13,\n fontWeight: 600,\n color: badgeColor,\n }}\n >\n {badge}\n </span>\n </div>\n\n {/* Title */}\n <h3\n style={{\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 16,\n fontWeight: 700,\n color: '#111118',\n marginBottom: 8,\n }}\n >\n {title}\n </h3>\n\n {/* Description */}\n <p\n style={{\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 13,\n lineHeight: '1.6',\n color: '#6b7280',\n marginBottom: 20,\n flexGrow: 1,\n }}\n >\n {description}\n </p>\n\n {/* Steps + inline \"+ Use Template\" */}\n <div className=\"flex flex-wrap items-center gap-1.5\">\n {steps.map((step, i) => (\n <span key={step} className=\"flex items-center gap-1\">\n <span\n style={{\n background: '#f1f5f9',\n color: '#475569',\n border: '1px solid #e2e8f0',\n borderRadius: 6,\n padding: '3px 8px',\n fontSize: 11,\n fontFamily: \"'Inter', sans-serif\",\n fontWeight: 500,\n }}\n >\n {step}\n </span>\n {i < steps.length - 1 && (\n <ArrowRight size={9} style={{ color: '#cbd5e1', flexShrink: 0 }} />\n )}\n </span>\n ))}\n <button\n onClick={onUseTemplate}\n style={{\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 12,\n fontWeight: 500,\n color: '#6b7280',\n background: 'none',\n border: 'none',\n cursor: 'pointer',\n padding: 0,\n marginLeft: 4,\n whiteSpace: 'nowrap',\n }}\n className=\"hover:text-gray-900 transition-colors\"\n >\n + Use Template\n </button>\n </div>\n </div>\n )\n}\n","import { useState, useRef, useEffect } from 'react'\nimport {\n Play,\n FileText,\n ArrowRight,\n Pencil,\n UserPlus,\n MoreVertical,\n Pause,\n Square,\n Copy,\n} from 'lucide-react'\nimport type { WorkflowData } from '@/components/types'\n\ntype ExtendedStatus = WorkflowData['status'] | 'Paused' | 'Stopped'\n\nexport interface WorkflowListItemProps extends Omit<WorkflowData, 'status'> {\n status: ExtendedStatus\n onEdit?: () => void\n onAddCandidate?: () => void\n onReplicate?: () => void\n onPause?: () => void\n onResume?: () => void\n onStop?: () => void\n onDelete?: () => void\n}\n\nconst STATUS_STYLE: Record<string, { bg: string; color: string; border: string }> = {\n Active: { bg: '#f0fdf4', color: '#15803d', border: '#bbf7d0' },\n Paused: { bg: '#fefce8', color: '#a16207', border: '#fde68a' },\n Stopped: { bg: '#fef2f2', color: '#b91c1c', border: '#fecaca' },\n Draft: { bg: '#fff7ed', color: '#c2410c', border: '#fed7aa' },\n}\n\nconst STATUS_ICON: Record<string, React.ReactNode> = {\n Active: <Play size={15} fill=\"#16a34a\" style={{ color: '#16a34a' }} />,\n Paused: <Pause size={15} fill=\"#ca8a04\" style={{ color: '#ca8a04' }} />,\n Stopped: <Square size={15} fill=\"#dc2626\" style={{ color: '#dc2626' }} />,\n Draft: <FileText size={15} style={{ color: '#ea580c' }} />,\n}\n\nconst STATUS_ICON_BG: Record<string, string> = {\n Active: '#f0fdf4',\n Paused: '#fefce8',\n Stopped: '#fef2f2',\n Draft: '#fff7ed',\n}\n\nexport function WorkflowListItem({\n title,\n steps,\n createdAt,\n status,\n candidates,\n hired,\n onEdit,\n onAddCandidate,\n onReplicate,\n onPause,\n onResume,\n onStop,\n onDelete,\n}: WorkflowListItemProps) {\n const [menuOpen, setMenuOpen] = useState(false)\n const menuRef = useRef<HTMLDivElement>(null)\n\n useEffect(() => {\n function handler(e: MouseEvent) {\n if (menuRef.current && !menuRef.current.contains(e.target as Node)) setMenuOpen(false)\n }\n document.addEventListener('mousedown', handler)\n return () => document.removeEventListener('mousedown', handler)\n }, [])\n\n const style = STATUS_STYLE[status] ?? STATUS_STYLE.Draft\n const icon = STATUS_ICON[status] ?? STATUS_ICON.Draft\n const iconBg = STATUS_ICON_BG[status] ?? STATUS_ICON_BG.Draft\n const canAddCandidate = status === 'Active'\n\n return (\n <div className=\"flex items-center gap-4 rounded-xl border border-[rgba(0,0,0,0.06)] bg-white px-5 py-4 transition-colors hover:border-gray-200\">\n {/* Status icon */}\n <div\n className=\"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-full\"\n style={{ background: iconBg }}\n >\n {icon}\n </div>\n\n {/* Info */}\n <div className=\"min-w-0 flex-1\">\n <p className=\"truncate text-[13.5px] font-semibold text-gray-900\">{title}</p>\n <div className=\"mt-1 flex flex-wrap items-center gap-1.5\">\n {steps.map((step, i) => (\n <span key={step} className=\"flex items-center gap-1.5\">\n <span className=\"text-[12px] text-gray-500\">{step}</span>\n {i < steps.length - 1 && <ArrowRight size={9} className=\"text-gray-300\" />}\n </span>\n ))}\n <span className=\"text-gray-300 text-[12px] select-none\">·</span>\n <span className=\"text-[12px] text-gray-400\">Created {createdAt}</span>\n </div>\n </div>\n\n {/* Stats */}\n <div className=\"hidden flex-shrink-0 sm:flex items-center gap-5\">\n <div className=\"text-center\">\n <p className=\"text-[15px] font-bold text-gray-900\">{candidates}</p>\n <p className=\"text-[10.5px] text-gray-400\">Candidates</p>\n </div>\n <div className=\"text-center\">\n <p className=\"text-[15px] font-bold text-gray-900\">{hired}</p>\n <p className=\"text-[10.5px] text-gray-400\">Hired</p>\n </div>\n </div>\n\n {/* Status badge */}\n <span\n className=\"flex-shrink-0 rounded-full px-2.5 py-0.5 text-[11px] font-semibold\"\n style={{ background: style.bg, color: style.color, border: `1px solid ${style.border}` }}\n >\n {status}\n </span>\n\n {/* Actions */}\n <div className=\"flex flex-shrink-0 items-center gap-2\">\n <button\n onClick={onEdit}\n className=\"flex items-center gap-1.5 rounded-lg border border-[#e5e7eb] px-3 h-[28px] text-[12px] font-medium text-gray-600 hover:bg-gray-50 transition-colors\"\n >\n <Pencil size={11} />\n Edit\n </button>\n <button\n onClick={onAddCandidate}\n disabled={!canAddCandidate}\n className=\"flex items-center gap-1.5 rounded-lg h-[28px] px-3 text-[12px] font-medium text-white transition-opacity hover:opacity-90 disabled:opacity-40 disabled:cursor-not-allowed\"\n style={{ background: '#133F7D' }}\n >\n <UserPlus size={11} />\n Add Candidate\n </button>\n\n {/* 3-dot menu */}\n <div ref={menuRef} className=\"relative\">\n <button\n onClick={() => setMenuOpen((v) => !v)}\n className=\"flex h-[28px] w-[28px] items-center justify-center rounded-lg border border-[#e5e7eb] text-gray-400 hover:bg-gray-50 transition-colors\"\n >\n <MoreVertical size={14} />\n </button>\n\n {menuOpen && (\n <div className=\"absolute right-0 top-full mt-1 z-50 w-44 rounded-xl border border-gray-200 bg-white shadow-lg overflow-hidden\">\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onReplicate?.()\n }}\n >\n <Copy size={13} className=\"text-gray-400\" />\n Replicate\n </button>\n\n {status === 'Paused' ? (\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onResume?.()\n }}\n >\n <Play size={13} className=\"text-gray-400\" />\n Resume Workflow\n </button>\n ) : status === 'Active' ? (\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onPause?.()\n }}\n >\n <Pause size={13} className=\"text-gray-400\" />\n Pause Workflow\n </button>\n ) : null}\n\n {status !== 'Stopped' && (\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onStop?.()\n }}\n >\n <Square size={13} className=\"text-gray-400\" />\n Stop Workflow\n </button>\n )}\n\n <div className=\"h-px bg-gray-100\" />\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-red-500 hover:bg-red-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onDelete?.()\n }}\n >\n <FileText size={13} className=\"text-red-400\" />\n Delete\n </button>\n </div>\n )}\n </div>\n </div>\n </div>\n )\n}\n","import { Settings, Trash2, Briefcase } from 'lucide-react'\nimport { ProductIcon } from '../common/ProductIcon'\nimport { cn } from '../../lib/utils'\nimport type { NodeType, ProductName, ConfigStatus, PipelineNodeConfig } from '../types'\n\nconst productNameMap: Record<ProductName, string> = {\n incscreen: 'IncScreen',\n incbot: 'IncBot',\n incvid: 'IncVid',\n incfeed: 'IncFeed',\n incserve: 'IncServe',\n incproctor: 'IncProctor',\n}\n\n/* Configured (not editable) — navy tint */\nconst CONFIGURED_STYLE = {\n border: '2px solid rgba(19,63,125,0.30)',\n background: 'rgba(19,63,125,0.05)',\n boxShadow: 'none',\n}\n\n/* Editable (pending / default) — white with subtle shadow */\nconst EDITABLE_STYLE = {\n border: '1px solid rgba(19,63,125,0.12)',\n background: '#ffffff',\n boxShadow: '0 1px 3px 0 rgba(15,23,41,0.05), 0 1px 2px -1px rgba(15,23,41,0.05)',\n}\n\nfunction computeDetails(\n type: NodeType,\n product: ProductName | undefined,\n status: ConfigStatus | undefined,\n config: PipelineNodeConfig | undefined,\n fallback: string | undefined,\n): string {\n if (status === 'Configuration Pending') return 'Configuration Pending...'\n\n if (type === 'onboarding') return 'Auto-create entry in onboarding dashboard'\n\n if (!config) return fallback ?? ''\n\n if (type === 'position') {\n const parts: string[] = []\n if (config.title) parts.push(config.title)\n if (config.domain) parts.push(config.domain)\n if (config.expRange) parts.push(config.expRange)\n if (config.positionCount) parts.push(`${config.positionCount} pos`)\n if (config.skillCount) parts.push(`${config.skillCount} skills`)\n return parts.join(' · ')\n }\n\n if (product === 'incscreen') {\n const parts: string[] = []\n if (config.interviewType) parts.push(config.interviewType)\n if (config.questionSetId) parts.push(`#${config.questionSetId}`)\n return parts.join(' · ') || (fallback ?? '')\n }\n\n if (product === 'incbot') {\n const parts: string[] = []\n if (config.interviewType) parts.push(config.interviewType)\n if (config.questionSetId) parts.push(`#${config.questionSetId}`)\n if (config.linkExpiry) parts.push(config.linkExpiry)\n return parts.join(' · ') || (fallback ?? '')\n }\n\n if (product === 'incfeed' || product === 'incvid' || product === 'incserve') {\n const parts: string[] = []\n if (config.panelistCount) parts.push(`${config.panelistCount} panelists`)\n if (config.schedulingType) parts.push(config.schedulingType)\n return parts.join(' · ') || (fallback ?? '')\n }\n\n return fallback ?? ''\n}\n\ninterface PipelineNodeProps {\n type?: NodeType\n product?: ProductName\n productTag?: string\n status?: ConfigStatus\n config?: PipelineNodeConfig\n details?: string\n iconUrl?: string\n onSettings?: () => void\n onDelete?: () => void\n className?: string\n}\n\nexport function PipelineNode({\n type = 'product',\n product,\n productTag,\n status,\n config,\n details,\n iconUrl,\n onSettings,\n onDelete,\n className,\n}: PipelineNodeProps) {\n const isPosition = type === 'position'\n const isOnboarding = type === 'onboarding'\n\n const isConfigured = status === 'Configured' || isPosition || isOnboarding\n const cardStyle = isConfigured ? CONFIGURED_STYLE : EDITABLE_STYLE\n\n const displayName = isPosition\n ? 'Position'\n : isOnboarding\n ? 'Onboarding'\n : product && Object.prototype.hasOwnProperty.call(productNameMap, product)\n ? productNameMap[product]\n : ''\n\n const description = computeDetails(type, product, status, config, details)\n\n return (\n <div\n className={cn('flex items-center gap-3.5 px-4 py-3.5 w-full max-w-lg', className)}\n style={{\n borderRadius: 12,\n border: cardStyle.border,\n background: cardStyle.background,\n boxShadow: cardStyle.boxShadow,\n }}\n >\n {/* Icon */}\n {isPosition || isOnboarding ? (\n <div\n className=\"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-lg\"\n style={{ background: isPosition ? '#e0e7ff' : '#dcfce7' }}\n >\n <Briefcase size={17} style={{ color: isPosition ? '#6366f1' : '#16a34a' }} />\n </div>\n ) : product ? (\n iconUrl ? (\n <img\n src={iconUrl}\n alt={product}\n className=\"flex-shrink-0 rounded-md object-cover\"\n style={{ width: 36, height: 36 }}\n />\n ) : (\n <ProductIcon product={product} size=\"md\" className=\"flex-shrink-0\" />\n )\n ) : null}\n\n {/* Content */}\n <div className=\"flex-1 min-w-0\">\n <div className=\"flex items-center gap-2 flex-wrap\">\n <span className=\"text-[13.5px] font-bold text-gray-900\">{displayName}</span>\n {productTag && (\n <span\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n padding: '2px 10px',\n borderRadius: 9999,\n border: '1px solid #E5E7EB',\n color: '#0F1729',\n fontSize: 10,\n fontWeight: 600,\n lineHeight: '15px',\n whiteSpace: 'nowrap',\n }}\n >\n {productTag}\n </span>\n )}\n {status && (\n <span\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n borderRadius: 9999,\n border: '1px solid transparent',\n background: status === 'Configured' ? '#21C45D' : '#DC2828',\n padding: '2px 10px',\n color: '#FFF',\n fontSize: 10,\n fontWeight: 600,\n lineHeight: '15px',\n whiteSpace: 'nowrap',\n }}\n >\n {status}\n </span>\n )}\n </div>\n {description && (\n <p className=\"mt-0.5 truncate text-[12px]\" style={{ color: '#6b7280' }}>\n {description}\n </p>\n )}\n </div>\n\n {/* Action buttons */}\n <div className=\"flex flex-shrink-0 items-center gap-0.5\">\n <button\n onClick={onSettings}\n className=\"rounded-md p-1.5 hover:bg-white/70 transition-colors\"\n style={{ color: '#0F1729' }}\n aria-label=\"Settings\"\n >\n <Settings size={14} />\n </button>\n {!isPosition && (\n <button\n onClick={onDelete}\n className=\"rounded-md p-1.5 text-gray-400 hover:text-red-500 transition-colors\"\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = '#fee2e2'\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n aria-label=\"Delete\"\n >\n <Trash2 size={14} color=\"#DC2828\" />\n </button>\n )}\n </div>\n </div>\n )\n}\n","import { GitMerge, Hand, Zap, Settings2 } from 'lucide-react'\nimport { cn } from '../../lib/utils'\nimport type { Branch, ConnectorType } from '../types'\n\nconst branchColorMap = {\n green: 'border-green-300 bg-green-50 text-green-700',\n yellow: 'border-orange-300 bg-orange-50 text-orange-700',\n red: 'border-red-300 bg-red-50 text-red-600',\n}\n\ninterface ConditionalBranchProps {\n type: ConnectorType\n branches?: Branch[]\n threshold?: number\n className?: string\n onClick?: () => void\n}\n\nexport function ConditionalBranch({\n type,\n branches = [],\n threshold,\n className,\n onClick,\n}: ConditionalBranchProps) {\n const isManual = type === 'manual-review'\n const isAutomatic = type === 'automatic'\n const isConditional = type === 'conditional'\n\n const pillContent = isManual ? (\n <>\n <Hand size={12} />\n Manual Review\n </>\n ) : isAutomatic ? (\n <>\n <Zap size={12} />\n {`Automatic${threshold !== undefined ? ` @ ${threshold}%` : ''}`}\n </>\n ) : isConditional ? (\n <>\n <GitMerge size={12} />\n Conditional\n </>\n ) : (\n <>\n <Settings2 size={12} />\n Condition Not Configured\n </>\n )\n\n const pillInlineStyle: React.CSSProperties = isAutomatic\n ? {\n border: '1px solid rgba(60, 131, 246, 0.30)',\n background: 'rgba(60, 131, 246, 0.10)',\n color: '#3C83F6',\n }\n : isManual\n ? {\n border: '1px solid rgba(245, 159, 10, 0.30)',\n background: 'rgba(245, 159, 10, 0.10)',\n color: '#F59F0A',\n }\n : isConditional\n ? {\n border: '1px solid rgba(13, 148, 136, 0.30)',\n background: 'rgba(13, 148, 136, 0.10)',\n color: '#0d9488',\n }\n : {\n border: '1px solid #d1d5db',\n background: '#fff',\n color: '#9ca3af',\n }\n\n const pillBaseStyle: React.CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n padding: '4px 10px',\n borderRadius: 9999,\n fontSize: 12,\n fontWeight: 500,\n lineHeight: '16px',\n whiteSpace: 'nowrap',\n ...pillInlineStyle,\n }\n\n return (\n <div className={cn('flex flex-col items-center gap-2', className)}>\n {onClick ? (\n <button\n onClick={onClick}\n style={{\n ...pillBaseStyle,\n cursor: 'pointer',\n transition: 'all 0.15s',\n }}\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.opacity = '0.8'\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.opacity = '1'\n }}\n >\n {pillContent}\n </button>\n ) : (\n <div style={pillBaseStyle}>{pillContent}</div>\n )}\n\n {isConditional && branches.length > 0 && (\n <div className=\"flex flex-wrap items-center justify-center gap-2\">\n {branches.map((branch) => (\n <span\n key={branch.label}\n className={cn(\n 'rounded-full border px-3 py-1 text-[11px] font-medium',\n branchColorMap[branch.color],\n )}\n >\n {branch.label}\n </span>\n ))}\n </div>\n )}\n </div>\n )\n}\n","import { Plus } from 'lucide-react'\nimport { cn } from '../../lib/utils'\n\ninterface AddStepButtonProps {\n onClick?: () => void\n className?: string\n}\n\nexport function AddStepButton({ onClick, className }: AddStepButtonProps) {\n return (\n <button\n onClick={onClick}\n aria-label=\"Add step\"\n className={cn(\n 'flex h-7 w-7 items-center justify-center rounded-full border-2 border-dashed border-gray-300 text-gray-400',\n 'transition-all hover:border-blue-400 hover:bg-blue-50 hover:text-blue-600 hover:scale-110',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500',\n className,\n )}\n style={{ background: '#F8F9FB' }}\n >\n <Plus size={14} />\n </button>\n )\n}\n","import { GraduationCap } from 'lucide-react'\nimport { ProductIcon, getProductLabel } from '../common/ProductIcon'\nimport type { ProductName } from '../types'\n\nexport type DragItem = { kind: 'product'; product: ProductName } | { kind: 'onboarding' }\n\nexport interface SubscribedProduct {\n subdomain: string\n icon?: string\n}\n\nconst AVAILABLE_PRODUCTS: { product: ProductName; description: string }[] = [\n { product: 'incscreen', description: 'Conversational AI Recruiter' },\n { product: 'incbot', description: 'AI Video Interview Software' },\n { product: 'incvid', description: 'Video Interview Portal' },\n { product: 'incfeed', description: 'Interview Scheduling Software' },\n { product: 'incserve', description: 'Interview as a Service' },\n]\n\nfunction GripDots() {\n return (\n <div className=\"grid grid-cols-2 gap-[3px] flex-shrink-0\">\n {Array.from({ length: 6 }).map((_, i) => (\n <div key={i} className=\"h-[4px] w-[4px] rounded-full bg-gray-300\" />\n ))}\n </div>\n )\n}\n\nfunction ProductAvatar({ product, iconUrl }: { product: ProductName; iconUrl?: string }) {\n if (iconUrl) {\n return (\n <img\n src={iconUrl}\n alt={product}\n className=\"flex-shrink-0 rounded-md object-cover\"\n style={{ width: 28, height: 28 }}\n />\n )\n }\n return <ProductIcon product={product} size=\"sm\" />\n}\n\ninterface ProductDragPanelProps {\n open: boolean\n onClose: () => void\n onSelectProduct?: (product: ProductName) => void\n onSelectItem?: (item: DragItem) => void\n subscribedProducts?: SubscribedProduct[]\n showOnboarding?: boolean\n addedProducts?: string[]\n onboardingAdded?: boolean\n}\n\nexport function ProductDragPanel({\n open,\n onClose,\n onSelectProduct,\n onSelectItem,\n subscribedProducts,\n showOnboarding = false,\n addedProducts = [],\n onboardingAdded = false,\n}: ProductDragPanelProps) {\n if (!open) return null\n\n const iconMap = new Map<string, string | undefined>(\n (subscribedProducts ?? [])\n .filter((p) => p.subdomain)\n .map((p) => [p.subdomain.toLowerCase(), p.icon]),\n )\n\n const visibleProducts =\n subscribedProducts && subscribedProducts.length > 0\n ? AVAILABLE_PRODUCTS.filter(({ product }) => iconMap.has(product.toLowerCase()))\n : AVAILABLE_PRODUCTS\n\n function handleSelect(product: ProductName) {\n if (addedProducts.includes(product)) return\n onSelectProduct?.(product)\n onSelectItem?.({ kind: 'product', product })\n onClose()\n }\n\n function handleOnboarding() {\n if (onboardingAdded) return\n onSelectItem?.({ kind: 'onboarding' })\n onClose()\n }\n\n return (\n <aside className=\"flex w-[300px] flex-shrink-0 flex-col border-l border-gray-200 overflow-hidden\">\n <div className=\"px-4 py-3.5\" style={{ background: '#133F7D' }}>\n <h3 className=\"text-[12.5px] font-bold text-white leading-snug\">\n Drag & Drop Products to create Workflow\n </h3>\n <p className=\"mt-1 text-[11px] text-white/60 leading-snug\">\n Set the conditions to execute further flow\n </p>\n </div>\n\n <div className=\"flex-1 overflow-y-auto bg-[#f5f6f8] p-2.5 flex flex-col gap-2\">\n {visibleProducts.map(({ product, description }) => {\n const isAdded = addedProducts.includes(product)\n return (\n <button\n key={product}\n draggable={!isAdded}\n onDragEnd={() => !isAdded && handleSelect(product)}\n onClick={() => handleSelect(product)}\n disabled={isAdded}\n className=\"flex w-full items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-2.5 py-2.5 text-left transition-all\"\n style={{\n opacity: isAdded ? 0.4 : 1,\n cursor: isAdded ? 'not-allowed' : 'grab',\n }}\n >\n <GripDots />\n <ProductAvatar product={product} iconUrl={iconMap.get(product.toLowerCase())} />\n <div className=\"min-w-0\">\n <p className=\"text-[12px] font-bold text-gray-900 leading-tight\">\n {getProductLabel(product)}:\n </p>\n <p className=\"text-[10.5px] text-gray-500 leading-tight\">{description}</p>\n </div>\n </button>\n )\n })}\n\n {showOnboarding && (\n <button\n draggable={!onboardingAdded}\n onDragEnd={() => !onboardingAdded && handleOnboarding()}\n onClick={handleOnboarding}\n disabled={onboardingAdded}\n className=\"flex w-full items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-2.5 py-2.5 text-left transition-all\"\n style={{\n opacity: onboardingAdded ? 0.4 : 1,\n cursor: onboardingAdded ? 'not-allowed' : 'grab',\n }}\n >\n <GripDots />\n <div\n className=\"flex h-7 w-7 items-center justify-center rounded-md flex-shrink-0\"\n style={{ background: 'linear-gradient(135deg, #16a34a 0%, #22c55e 100%)' }}\n >\n <GraduationCap size={14} color=\"#fff\" />\n </div>\n <div className=\"min-w-0\">\n <p className=\"text-[12px] font-bold text-gray-900 leading-tight\">Onboarding:</p>\n <p className=\"text-[10.5px] text-gray-500 leading-tight\">Candidate Onboarding</p>\n </div>\n </button>\n )}\n </div>\n </aside>\n )\n}\n","import { useState } from 'react'\nimport { X, Zap, User } from 'lucide-react'\nimport { getProductLabel } from '../common/ProductIcon'\nimport type { ProductName, TransitionCondition, TransitionType, IncScreenAdvanceOn } from '../types'\n\ninterface TransitionConditionDialogProps {\n product: ProductName\n onSave: (condition: TransitionCondition) => void\n onCancel: () => void\n}\n\nconst THRESHOLD_LABEL: Record<string, string> = {\n incscreen: 'Resume Score Threshold',\n position: 'Resume Score Threshold',\n}\n\nfunction getThresholdLabel(product: ProductName): string {\n return THRESHOLD_LABEL[product] ?? 'Pass Threshold'\n}\n\nexport function TransitionConditionDialog({\n product,\n onSave,\n onCancel,\n}: TransitionConditionDialogProps) {\n const [transitionType, setTransitionType] = useState<TransitionType>('Automatic')\n const [threshold, setThreshold] = useState(60)\n const [advanceOn, setAdvanceOn] = useState<IncScreenAdvanceOn>('Qualified')\n\n const isIncScreen = product === 'incscreen'\n\n function handleSave() {\n const condition: TransitionCondition = {\n type: transitionType,\n ...(transitionType === 'Automatic' && !isIncScreen && { threshold }),\n ...(transitionType === 'Automatic' && isIncScreen && { advanceOn }),\n }\n onSave(condition)\n }\n\n return (\n /* Backdrop */\n <div\n className=\"fixed inset-0 z-50 flex items-center justify-center\"\n style={{ background: 'rgba(0,0,0,0.35)' }}\n onClick={(e) => {\n if (e.target === e.currentTarget) onCancel()\n }}\n >\n <div\n className=\"relative w-[560px] rounded-xl bg-white shadow-2xl\"\n style={{ border: '1px solid #e2e8f0' }}\n >\n {/* Close */}\n <button\n onClick={onCancel}\n className=\"absolute right-3.5 top-3.5 rounded-md p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-colors\"\n >\n <X size={16} />\n </button>\n\n <div className=\"p-5\">\n {/* Title */}\n <h2 className=\"text-[15px] font-semibold text-gray-900\">\n Transition after {getProductLabel(product)}\n </h2>\n\n {/* Type toggle */}\n <div className=\"mt-4 grid grid-cols-2 gap-3\">\n {(['Automatic', 'Manual'] as TransitionType[]).map((t) => {\n const active = transitionType === t\n return (\n <button\n key={t}\n onClick={() => setTransitionType(t)}\n className=\"flex flex-col items-center gap-1.5 rounded-lg border py-4 transition-all\"\n style={\n active\n ? { borderColor: '#12b6bc', background: '#f0fdfe', color: '#0e7490' }\n : { borderColor: '#e2e8f0', background: '#f8fafc', color: '#64748b' }\n }\n >\n {t === 'Automatic' ? (\n <Zap\n size={18}\n strokeWidth={2}\n style={{ color: active ? '#12b6bc' : '#94a3b8' }}\n />\n ) : (\n <User\n size={18}\n strokeWidth={2}\n style={{ color: active ? '#12b6bc' : '#94a3b8' }}\n />\n )}\n <span className=\"text-[13px] font-semibold\">{t}</span>\n </button>\n )\n })}\n </div>\n\n {/* Condition body */}\n <div className=\"mt-5 min-h-[80px]\">\n {transitionType === 'Automatic' ? (\n isIncScreen ? (\n /* IncScreen: advance-on selector */\n <div>\n <p className=\"mb-2.5 text-[12.5px] font-medium text-gray-700\">\n Advance candidate if Interview status is:\n </p>\n <div className=\"grid grid-cols-3 gap-2.5\">\n {(['Qualified', 'Disqualified', 'Both'] as IncScreenAdvanceOn[]).map((opt) => {\n const active = advanceOn === opt\n return (\n <button\n key={opt}\n onClick={() => setAdvanceOn(opt)}\n className=\"rounded-lg border py-2.5 text-[12.5px] font-medium transition-all\"\n style={\n active\n ? { borderColor: '#12b6bc', background: '#f0fdfe', color: '#0e7490' }\n : { borderColor: '#e2e8f0', background: '#f8fafc', color: '#475569' }\n }\n >\n {opt}\n </button>\n )\n })}\n </div>\n <p className=\"mt-3 text-[11.5px] text-gray-500\">\n Candidates auto-advance if the above condition is matched; others trigger\n auto-reject + feedback email.\n </p>\n </div>\n ) : (\n /* Others: threshold slider */\n <div>\n <div className=\"mb-2 flex items-center justify-between\">\n <p className=\"text-[12.5px] font-medium text-gray-700\">\n {getThresholdLabel(product)}\n </p>\n <span className=\"text-[12.5px] font-semibold\" style={{ color: '#12b6bc' }}>\n {threshold}%\n </span>\n </div>\n <input\n type=\"range\"\n min={0}\n max={100}\n value={threshold}\n onChange={(e) => setThreshold(Number(e.target.value))}\n className=\"w-full accent-teal-500\"\n style={{ accentColor: '#12b6bc' }}\n />\n <p className=\"mt-3 text-[11.5px] text-gray-500\">\n Candidates auto-advance on pass; below threshold triggers auto-reject + feedback\n email.\n </p>\n </div>\n )\n ) : (\n /* Manual */\n <p className=\"text-[12.5px] text-gray-600 leading-relaxed\">\n How does your team Approve or Reject each candidate at this step? Reviews must be\n done manually before the candidate moves to the next stage.\n </p>\n )}\n </div>\n\n {/* Actions */}\n <div className=\"mt-6 flex justify-end gap-2.5\">\n <button\n onClick={onCancel}\n className=\"rounded-lg border border-gray-200 px-5 py-2 text-[13px] font-medium text-gray-600 hover:bg-gray-50 transition-colors\"\n >\n Cancel\n </button>\n <button\n onClick={handleSave}\n className=\"rounded-lg px-5 py-2 text-[13px] font-semibold text-white transition-opacity hover:opacity-90\"\n style={{ background: '#0f1f3d' }}\n >\n Save\n </button>\n </div>\n </div>\n </div>\n </div>\n )\n}\n","import { useState } from 'react'\nimport { ArrowLeft, Send, FileText, Play } from 'lucide-react'\nimport { PipelineNode } from './PipelineNode'\nimport { ConditionalBranch } from './ConditionalBranch'\nimport { AddStepButton } from './AddStepButton'\nimport { ProductDragPanel } from './ProductDragPanel'\nimport { TransitionConditionDialog } from './TransitionConditionDialog'\nimport type { PipelineStepData, ProductName, TransitionCondition } from '@/components/types'\n\nconst DEFAULT_STEPS: PipelineStepData[] = [\n {\n id: 'position',\n type: 'position',\n details: '',\n },\n]\n\ninterface WorkflowDesignerProps {\n title?: string\n status?: 'draft' | 'active'\n initialSteps?: PipelineStepData[]\n onBack?: () => void\n onPublish?: () => void\n onSaveDraft?: () => void\n}\n\ntype View = 'designer' | 'run'\n\nexport function WorkflowDesigner({\n title: initialTitle = 'Untitled Pipeline',\n status = 'draft',\n initialSteps = DEFAULT_STEPS,\n onBack,\n onPublish,\n onSaveDraft,\n}: WorkflowDesignerProps) {\n const [title, setTitle] = useState(initialTitle)\n const [steps, setSteps] = useState(initialSteps)\n const [view, setView] = useState<View>('designer')\n const [showDragPanel, setShowDragPanel] = useState(false)\n const [pendingProduct, setPendingProduct] = useState<ProductName | null>(null)\n\n function handleDeleteStep(id: string) {\n setSteps((prev) => prev.filter((s) => s.id !== id))\n }\n\n function handleAddStep() {\n setShowDragPanel(true)\n }\n\n function handleSelectProduct(product: ProductName) {\n setPendingProduct(product)\n }\n\n function handleTransitionSave(condition: TransitionCondition) {\n if (!pendingProduct) return\n\n const connectorType = condition.type === 'Automatic' ? 'automatic' : 'manual-review'\n\n const newStep: PipelineStepData = {\n id: `${pendingProduct}-${Date.now()}`,\n type: 'product',\n product: pendingProduct,\n status: 'Configuration Pending',\n transitionCondition: condition,\n connector: {\n type: connectorType,\n ...(condition.type === 'Automatic' &&\n condition.threshold !== undefined && {\n branches: [\n { label: `≥ ${condition.threshold}%`, color: 'green' },\n { label: `< ${condition.threshold}%`, color: 'red' },\n ],\n }),\n },\n }\n\n setSteps((prev) => [...prev, newStep])\n setPendingProduct(null)\n setShowDragPanel(false)\n }\n\n function handleTransitionCancel() {\n setPendingProduct(null)\n }\n\n return (\n <div className=\"flex h-full flex-col overflow-hidden bg-gray-50\">\n {/* Designer toolbar */}\n <div className=\"flex items-center gap-3 border-b border-gray-200 bg-white px-5 py-3.5\">\n <button\n onClick={onBack}\n className=\"rounded-lg p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-colors\"\n aria-label=\"Go back\"\n >\n <ArrowLeft size={16} />\n </button>\n\n <input\n value={title}\n onChange={(e) => setTitle(e.target.value)}\n className=\"rounded-md border-0 bg-transparent text-[14px] font-bold text-gray-900 focus:outline-none focus:ring-2 focus:ring-blue-400/40 px-2 py-1 max-w-xs\"\n />\n\n <span\n className=\"rounded-full px-2.5 py-0.5 text-[11px] font-semibold capitalize\"\n style={\n status === 'active'\n ? { background: '#f0fdf4', color: '#15803d', border: '1px solid #bbf7d0' }\n : { background: '#f1f5f9', color: '#475569', border: '1px solid #e2e8f0' }\n }\n >\n {status}\n </span>\n\n <div className=\"ml-auto flex items-center gap-2\">\n {/* View toggle */}\n <div className=\"flex rounded-lg border border-gray-200 bg-gray-50 p-0.5\">\n <button\n onClick={() => setView('designer')}\n className={`rounded-md px-3 py-1.5 text-[12px] font-medium transition-colors ${\n view === 'designer' ? 'text-white shadow-sm' : 'text-gray-500 hover:text-gray-700'\n }`}\n style={view === 'designer' ? { background: '#0f1f3d' } : {}}\n >\n Designer\n </button>\n <button\n onClick={() => setView('run')}\n className={`flex items-center gap-1.5 rounded-md px-3 py-1.5 text-[12px] font-medium transition-colors ${\n view === 'run' ? 'text-white shadow-sm' : 'text-gray-500 hover:text-gray-700'\n }`}\n style={view === 'run' ? { background: '#0f1f3d' } : {}}\n >\n <Play size={11} />\n Run\n </button>\n </div>\n\n <button\n onClick={onSaveDraft}\n className=\"flex items-center gap-1.5 rounded-lg border border-gray-200 px-3.5 h-8 text-[12px] font-medium text-gray-600 hover:bg-gray-50 transition-colors\"\n >\n <FileText size={13} />\n Draft\n </button>\n\n <button\n onClick={onPublish}\n className=\"flex items-center gap-1.5 rounded-lg h-8 px-3.5 text-[12px] font-semibold text-white transition-opacity hover:opacity-90\"\n style={{ background: '#0f1f3d' }}\n >\n <Send size={13} />\n Publish\n </button>\n </div>\n </div>\n\n {/* Canvas + optional drag panel */}\n <div className=\"flex flex-1 overflow-hidden\">\n {/* Pipeline canvas */}\n <div\n className=\"flex flex-1 overflow-y-auto p-8\"\n style={{\n backgroundImage: 'radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px)',\n backgroundSize: '20px 20px',\n }}\n onClick={() => {\n if (!pendingProduct) setShowDragPanel(false)\n }}\n >\n <div className=\"flex flex-col items-center gap-0 w-full max-w-lg mx-auto\">\n {steps.map((step, idx) => {\n const isLast = idx === steps.length - 1\n const hasConnector = step.connector && step.connector.type !== 'simple'\n\n return (\n <div key={step.id} className=\"flex w-full flex-col items-center\">\n {/* Node */}\n <PipelineNode\n type={step.type}\n product={step.product}\n productTag={step.productTag}\n status={step.status}\n config={step.config}\n details={step.details}\n onDelete={() => handleDeleteStep(step.id)}\n onSettings={() => setShowDragPanel(true)}\n />\n\n {/* Connector */}\n {!isLast && (\n <div className=\"flex flex-col items-center py-2\">\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n\n {hasConnector && step.connector ? (\n <>\n <ConditionalBranch\n type={step.connector.type}\n branches={step.connector.branches}\n threshold={step.transitionCondition?.threshold}\n />\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n </>\n ) : null}\n\n <AddStepButton onClick={handleAddStep} />\n\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n </div>\n )}\n </div>\n )\n })}\n\n {/* Terminal add button */}\n <div className=\"flex flex-col items-center pt-2\">\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n <AddStepButton onClick={handleAddStep} />\n </div>\n </div>\n </div>\n\n {/* Drag panel (toggled) */}\n <ProductDragPanel\n open={showDragPanel}\n onClose={() => setShowDragPanel(false)}\n onSelectProduct={handleSelectProduct}\n />\n </div>\n\n {/* Transition condition dialog — shown after product selection */}\n {pendingProduct && (\n <TransitionConditionDialog\n product={pendingProduct}\n onSave={handleTransitionSave}\n onCancel={handleTransitionCancel}\n />\n )}\n </div>\n )\n}\n","import React, { useState, useEffect, type ReactNode } from 'react'\nimport { Menu, ChevronsUpDown, UserCircle, CreditCard, ChevronDown } from 'lucide-react'\n\n/* ── Design tokens ──────────────────────────────────────────────── */\nconst BRAND = '#12b6bc'\nconst ACTIVE_BG = '#f5fbf8'\nconst HOVER_BG = 'rgba(0,0,0,0.03)'\nconst BORDER = 'rgba(0,0,0,0.07)'\n\n/* ── Types ──────────────────────────────────────────────────────── */\nexport type IconComponent = React.ComponentType<{\n size?: number\n style?: React.CSSProperties\n className?: string\n}>\n\nexport interface SidebarNavItemConfig {\n label: string\n Icon: IconComponent\n /** Internal navigation href — calls onNavigate(href) */\n href?: string\n /** External link — opens in new tab */\n link?: string\n badge?: number\n /** Shows a chevron and uses expandedContent as a collapsible panel */\n hasChevron?: boolean\n expandedContent?: ReactNode\n onClick?: () => void\n}\n\nexport interface SidebarProfileItemConfig {\n label: string\n Icon: IconComponent\n href?: string\n link?: string\n onClick?: () => void\n}\n\nexport interface InCruiterSidebarUser {\n name?: string\n role?: string\n avatarUrl?: string\n}\n\nexport interface InCruiterSidebarProps {\n logoSrc?: string\n user?: InCruiterSidebarUser\n /** Main nav items. Defaults to empty — pass your own. */\n navItems?: SidebarNavItemConfig[]\n /** Bottom \"other\" nav items (e.g. Support, Logout). Defaults to empty. */\n otherItems?: SidebarNavItemConfig[]\n /** Profile dropdown items. Defaults to My Profile + Accounts & Billing. */\n profileItems?: SidebarProfileItemConfig[]\n activeHref?: string\n onNavigate?: (href: string) => void\n /** Controlled collapse — pass alongside onToggleCollapse to host collapse state */\n collapsed?: boolean\n onToggleCollapse?: (collapsed: boolean) => void\n children?: ReactNode\n}\n\n/* ── Default profile items ──────────────────────────────────────── */\nconst DEFAULT_PROFILE_ITEMS: SidebarProfileItemConfig[] = [\n { label: 'My Profile', Icon: UserCircle },\n { label: 'Accounts & Billing', Icon: CreditCard },\n]\n\n/* ── NavRow ─────────────────────────────────────────────────────── */\ninterface NavRowProps {\n item: SidebarNavItemConfig\n active: boolean\n collapsed: boolean\n expanded?: boolean\n onNavigate?: (href: string) => void\n onToggle?: (href: string) => void\n}\n\nfunction NavRow({ item, active, collapsed, expanded, onNavigate, onToggle }: NavRowProps) {\n const { label, href, link, Icon, badge, hasChevron, expandedContent, onClick } = item\n\n const handleClick = () => {\n if (onClick) {\n onClick()\n } else if (link) {\n window.open(link, '_blank', 'noopener,noreferrer')\n } else if (hasChevron && expandedContent && href) {\n onToggle?.(href)\n } else if (href) {\n onNavigate?.(href)\n }\n }\n\n return (\n <>\n <button\n onClick={handleClick}\n title={collapsed ? label : undefined}\n style={{\n display: 'flex',\n width: '100%',\n alignItems: 'center',\n overflow: 'hidden',\n gap: collapsed ? 0 : 20,\n paddingLeft: collapsed ? 0 : 15,\n paddingRight: collapsed ? 0 : 10,\n paddingTop: 10,\n paddingBottom: 10,\n justifyContent: collapsed ? 'center' : undefined,\n background: active || expanded ? ACTIVE_BG : 'transparent',\n borderLeft: active || expanded ? `2px solid ${BRAND}` : '2px solid transparent',\n borderTop: 'none',\n borderRight: 'none',\n borderBottom: 'none',\n borderRadius: 0,\n cursor: 'pointer',\n outline: 'none',\n transition: 'background 0.12s',\n }}\n onMouseEnter={(e) => {\n if (!active && !expanded) (e.currentTarget as HTMLElement).style.background = HOVER_BG\n }}\n onMouseLeave={(e) => {\n if (!active && !expanded) (e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n >\n <Icon\n size={22}\n style={{ flexShrink: 0, color: active || expanded ? BRAND : '#9ca3af', display: 'block' }}\n />\n {!collapsed && (\n <>\n <span\n style={{\n flex: 1,\n textAlign: 'left',\n fontFamily: \"'Inter', 'Manrope-Regular', sans-serif\",\n fontSize: 13,\n lineHeight: '24px',\n fontWeight: active || expanded ? 700 : 500,\n color: active || expanded ? BRAND : '#000',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {label}\n </span>\n {badge !== undefined && (\n <span\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 19,\n minWidth: 20,\n paddingInline: 4,\n borderRadius: 10,\n background: 'rgba(18,182,188,0.14)',\n color: BRAND,\n fontSize: 10,\n fontWeight: 600,\n flexShrink: 0,\n }}\n >\n {badge}\n </span>\n )}\n {hasChevron && expandedContent && (\n <ChevronDown\n size={16}\n style={{\n flexShrink: 0,\n color: '#9ca3af',\n transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',\n transition: 'transform 0.2s',\n }}\n />\n )}\n {hasChevron && !expandedContent && (\n <svg\n width={16}\n height={16}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#9ca3af\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n style={{ flexShrink: 0, transform: 'rotate(-90deg)' }}\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n )}\n </>\n )}\n </button>\n\n {!collapsed && expanded && expandedContent && (\n <div\n style={{\n background: 'rgba(18,182,188,0.02)',\n borderLeft: `2px solid ${BRAND}`,\n overflow: 'hidden',\n maxHeight: 320,\n overflowY: 'auto',\n }}\n >\n {expandedContent}\n </div>\n )}\n </>\n )\n}\n\n/* ── InCruiterSidebar ───────────────────────────────────────────── */\nexport function InCruiterSidebar({\n logoSrc,\n user = {},\n navItems = [],\n otherItems = [],\n profileItems,\n activeHref = '/',\n onNavigate,\n collapsed: collapsedProp,\n onToggleCollapse,\n children,\n}: InCruiterSidebarProps) {\n const profileNav = profileItems ?? DEFAULT_PROFILE_ITEMS\n\n const isProfileActive = profileNav.some(\n (item) => item.href && activeHref && (activeHref === item.href || activeHref.startsWith(item.href + '/'))\n )\n\n const [collapsedInternal, setCollapsedInternal] = useState(false)\n const collapsed = collapsedProp !== undefined ? collapsedProp : collapsedInternal\n const setCollapsed = onToggleCollapse\n ? (fn: boolean | ((prev: boolean) => boolean)) => {\n const next = typeof fn === 'function' ? fn(collapsed) : fn\n onToggleCollapse(next)\n }\n : (fn: boolean | ((prev: boolean) => boolean)) =>\n setCollapsedInternal(typeof fn === 'function' ? fn(collapsedInternal) : fn)\n\n const [profileOpen, setProfileOpen] = useState(isProfileActive)\n const [expandedItem, setExpandedItem] = useState<string | null>(null)\n\n useEffect(() => {\n if (isProfileActive) setProfileOpen(true)\n }, [isProfileActive])\n\n const initials = user.name\n ? user.name\n .split(' ')\n .map((n) => n[0])\n .join('')\n .slice(0, 2)\n .toUpperCase()\n : '?'\n\n const handleToggle = (href: string) => {\n setExpandedItem((prev) => (prev === href ? null : href))\n }\n\n return (\n <div style={{ display: 'flex', height: '100%' }}>\n {/* ── Sidebar ────────────────────────────────────────── */}\n <aside\n style={{\n width: collapsed ? 56 : 250,\n flexShrink: 0,\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n background: '#fff',\n borderRight: `1px solid ${BORDER}`,\n transition: 'width 0.2s ease',\n overflow: 'hidden',\n zIndex: 100,\n }}\n >\n {/* Logo row */}\n <div\n style={{\n height: 52,\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: collapsed ? 'center' : 'space-between',\n padding: 10,\n borderBottom: `1px solid ${BORDER}`,\n }}\n >\n {!collapsed && logoSrc && (\n <img\n src={logoSrc}\n alt=\"Logo\"\n style={{ height: 36, width: 'auto', objectFit: 'contain' }}\n />\n )}\n <button\n onClick={() => {\n setCollapsed((v) => !v)\n setExpandedItem(null)\n }}\n style={{\n width: 28,\n height: 28,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 6,\n border: 'none',\n background: 'transparent',\n color: '#9ca3af',\n cursor: 'pointer',\n flexShrink: 0,\n outline: 'none',\n }}\n onMouseEnter={(e) => ((e.currentTarget as HTMLElement).style.background = '#f3f4f6')}\n onMouseLeave={(e) => ((e.currentTarget as HTMLElement).style.background = 'transparent')}\n aria-label=\"Toggle sidebar\"\n >\n <Menu size={16} />\n </button>\n </div>\n\n {/* User profile */}\n <div style={{ flexShrink: 0 }}>\n <button\n onClick={() => {\n if (collapsed) {\n setCollapsed(false)\n setProfileOpen(true)\n } else {\n setProfileOpen((v) => !v)\n }\n }}\n style={{\n display: 'flex',\n width: '100%',\n alignItems: 'center',\n gap: 12,\n padding: 12,\n justifyContent: collapsed ? 'center' : undefined,\n background: isProfileActive ? '#f5fbf8' : 'rgba(18,182,188,0.05)',\n borderLeft: isProfileActive ? '2px solid #12b6bc' : '2px solid transparent',\n borderTop: 'none',\n borderRight: 'none',\n borderBottom: 'none',\n cursor: 'pointer',\n outline: 'none',\n }}\n >\n {user.avatarUrl ? (\n <img\n src={user.avatarUrl}\n alt={user.name ?? 'User'}\n style={{\n width: 32,\n height: 32,\n borderRadius: '50%',\n objectFit: 'cover',\n flexShrink: 0,\n outline: isProfileActive ? '2px solid #12b6bc' : 'none',\n outlineOffset: 2,\n }}\n />\n ) : (\n <div\n style={{\n width: 32,\n height: 32,\n borderRadius: '50%',\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: 11,\n fontWeight: 700,\n outline: isProfileActive ? '2px solid #12b6bc' : 'none',\n outlineOffset: 2,\n color: '#fff',\n background: 'linear-gradient(135deg, #3b82f6 0%, #12b6bc 100%)',\n }}\n >\n {initials}\n </div>\n )}\n {!collapsed && (\n <>\n <div style={{ flex: 1, minWidth: 0, textAlign: 'left' }}>\n <p\n style={{\n margin: 0,\n fontFamily: \"'Plus Jakarta Sans', 'Inter', sans-serif\",\n fontSize: 14,\n fontWeight: 500,\n color: '#000',\n lineHeight: 1.45,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.name ?? 'User'}\n </p>\n <p\n style={{\n margin: 0,\n fontFamily: \"'Plus Jakarta Sans', 'Inter', sans-serif\",\n fontSize: 12,\n fontWeight: 400,\n color: '#3f3f3f',\n lineHeight: 1.5,\n marginTop: 1,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.role ?? ''}\n </p>\n </div>\n <ChevronsUpDown size={16} style={{ color: '#9ca3af', flexShrink: 0 }} />\n </>\n )}\n </button>\n\n {(profileOpen || (collapsed && isProfileActive)) && (\n <>\n {profileNav.map((item) => (\n <NavRow\n key={item.label}\n item={{\n ...item,\n onClick: item.onClick\n ? () => {\n if (!collapsed) setProfileOpen(false)\n item.onClick?.()\n }\n : item.link\n ? () => {\n if (!collapsed) setProfileOpen(false)\n window.open(item.link, '_blank', 'noopener,noreferrer')\n }\n : undefined,\n }}\n active={!!(item.href && activeHref && (activeHref === item.href || activeHref.startsWith(item.href + '/')))}\n collapsed={collapsed}\n onNavigate={onNavigate}\n onToggle={handleToggle}\n />\n ))}\n </>\n )}\n </div>\n\n {/* Main nav */}\n <nav style={{ flex: 1, overflowY: 'auto' }}>\n {navItems.length > 0 && !collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Inter', sans-serif\",\n }}\n >\n MAIN MENU\n </div>\n )}\n {navItems.map((item) => (\n <NavRow\n key={item.href ?? item.label}\n item={item}\n active={activeHref === item.href}\n expanded={expandedItem === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n onToggle={handleToggle}\n />\n ))}\n </nav>\n\n {/* Other nav */}\n {otherItems.length > 0 && (\n <div style={{ flexShrink: 0 }}>\n {!collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 8,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Inter', sans-serif\",\n borderTop: `1px solid ${BORDER}`,\n }}\n >\n OTHER\n </div>\n )}\n {collapsed && <div style={{ height: 8, borderTop: `1px solid ${BORDER}` }} />}\n {otherItems.map((item) => (\n <NavRow\n key={item.href ?? item.label}\n item={item}\n active={activeHref === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n onToggle={handleToggle}\n />\n ))}\n <div style={{ height: 16 }} />\n </div>\n )}\n </aside>\n\n {/* Page content */}\n <div style={{ flex: 1, minWidth: 0, display: 'flex', flexDirection: 'column' }}>\n {children}\n </div>\n </div>\n )\n}\n","import { type ReactNode, type Ref } from 'react'\nimport { Bell } from 'lucide-react'\n\nconst BORDER = 'rgba(0,0,0,0.07)'\nconst BRAND = '#12b6bc'\n\nexport interface TopBarNavLink {\n label: string\n active?: boolean\n onClick?: () => void\n}\n\nexport interface InCruiterTopBarProps {\n /** Page title shown on the left when there are no navLinks */\n title?: string\n /** Shows a blue dot badge when > 0 */\n notificationCount?: number\n onBellClick?: () => void\n /** Ref for outside-click detection on the bell button wrapper */\n bellRef?: Ref<HTMLDivElement>\n /** Dropdown node rendered below the bell */\n notificationDropdown?: ReactNode\n /** ReactNode rendered on the left side (e.g. a quick-create button) */\n leftButton?: ReactNode\n /** Tab-style links rendered in the centre-right area */\n navLinks?: TopBarNavLink[]\n /** ReactNode rendered just before navLinks (e.g. a \"What's New\" button) */\n rightExtra?: ReactNode\n}\n\nexport function InCruiterTopBar({\n title = '',\n notificationCount = 0,\n onBellClick,\n bellRef,\n notificationDropdown,\n leftButton,\n navLinks = [],\n rightExtra,\n}: InCruiterTopBarProps) {\n const hasNav = navLinks.length > 0\n\n return (\n <header\n style={{\n height: 52,\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n background: '#fff',\n borderBottom: `1px solid ${BORDER}`,\n padding: '0 12px',\n zIndex: 99,\n gap: 16,\n }}\n >\n {/* Left: optional button + page title */}\n <div style={{ display: 'flex', alignItems: 'center', gap: 12, flexShrink: 0 }}>\n {leftButton}\n {!hasNav && (\n <h2\n style={{\n margin: 0,\n fontSize: 15,\n fontWeight: 700,\n color: '#111118',\n fontFamily: \"'Inter', 'Manrope-Regular', sans-serif\",\n whiteSpace: 'nowrap',\n }}\n >\n {title}\n </h2>\n )}\n </div>\n\n {/* Centre-right: nav links */}\n {hasNav && (\n <nav\n style={{\n display: 'flex',\n alignItems: 'stretch',\n gap: 0,\n height: '100%',\n flex: 1,\n justifyContent: 'flex-end',\n marginRight: 8,\n }}\n >\n {rightExtra && (\n <div style={{ display: 'flex', alignItems: 'center', paddingRight: 8 }}>\n {rightExtra}\n </div>\n )}\n {navLinks.map((link, i) => (\n <button\n key={i}\n onClick={link.onClick}\n style={{\n position: 'relative',\n height: '100%',\n padding: '0 16px',\n background: 'none',\n border: 'none',\n borderBottom: link.active ? `2px solid ${BRAND}` : '2px solid transparent',\n cursor: 'pointer',\n fontFamily: \"'Inter','Manrope-Regular',sans-serif\",\n fontSize: 13,\n fontWeight: link.active ? 700 : 500,\n color: link.active ? BRAND : '#6b7280',\n whiteSpace: 'nowrap',\n outline: 'none',\n transition: 'color 0.15s, border-color 0.15s',\n }}\n onMouseEnter={(e) => {\n if (!link.active) (e.currentTarget as HTMLElement).style.color = '#374151'\n }}\n onMouseLeave={(e) => {\n if (!link.active) (e.currentTarget as HTMLElement).style.color = '#6b7280'\n }}\n >\n {link.label}\n </button>\n ))}\n </nav>\n )}\n\n {/* What's New when no nav links */}\n {!hasNav && rightExtra && (\n <div style={{ flexShrink: 0, marginLeft: 'auto' }}>{rightExtra}</div>\n )}\n\n {/* Right: bell */}\n <div\n ref={bellRef}\n style={{\n position: 'relative',\n flexShrink: 0,\n marginLeft: hasNav || rightExtra ? 0 : 'auto',\n }}\n >\n <button\n onClick={onBellClick}\n style={{\n width: 32,\n height: 32,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 8,\n border: 'none',\n background: 'transparent',\n color: '#9ca3af',\n cursor: 'pointer',\n position: 'relative',\n outline: 'none',\n }}\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = '#f3f4f6'\n ;(e.currentTarget as HTMLElement).style.color = '#6b7280'\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = 'transparent'\n ;(e.currentTarget as HTMLElement).style.color = '#9ca3af'\n }}\n aria-label=\"Notifications\"\n >\n <Bell size={16} strokeWidth={1.75} />\n {notificationCount > 0 && (\n <span\n style={{\n position: 'absolute',\n top: 6,\n right: 6,\n width: 7,\n height: 7,\n borderRadius: '50%',\n background: '#3b82f6',\n border: '1.5px solid #fff',\n }}\n />\n )}\n </button>\n {notificationDropdown}\n </div>\n </header>\n )\n}\n"],"names":["r","e","t","f","n","o","clsx","concatArrays","array1","array2","combinedArray","i","createClassValidatorObject","classGroupId","validator","createClassPartObject","nextPart","validators","CLASS_PART_SEPARATOR","EMPTY_CONFLICTS","ARBITRARY_PROPERTY_PREFIX","createClassGroupUtils","config","classMap","createClassMap","conflictingClassGroups","conflictingClassGroupModifiers","className","getGroupIdForArbitraryProperty","classParts","startIndex","getGroupRecursive","hasPostfixModifier","modifierConflicts","baseConflicts","classPartObject","currentClassPart","nextClassPartObject","result","classRest","validatorsLength","validatorObj","content","colonIndex","property","theme","classGroups","processClassGroups","group","processClassesRecursively","classGroup","len","classDefinition","processClassDefinition","processStringDefinition","processFunctionDefinition","processObjectDefinition","classPartObjectToEdit","getPart","isThemeGetter","entries","key","value","path","current","parts","part","next","func","createLruCache","maxCacheSize","cacheSize","cache","previousCache","update","IMPORTANT_MODIFIER","MODIFIER_SEPARATOR","EMPTY_MODIFIERS","createResultObject","modifiers","hasImportantModifier","baseClassName","maybePostfixModifierPosition","isExternal","createParseClassName","prefix","experimentalParseClassName","parseClassName","bracketDepth","parenDepth","modifierStart","postfixModifierPosition","index","currentCharacter","baseClassNameWithImportantModifier","fullPrefix","parseClassNameOriginal","createSortModifiers","modifierWeights","mod","currentSegment","modifier","isArbitrary","isOrderSensitive","createConfigUtils","createPostfixLookupClassGroupIds","lookup","classGroupIds","SPLIT_CLASSES_REGEX","mergeClassList","classList","configUtils","getClassGroupId","getConflictingClassGroupIds","sortModifiers","postfixLookupClassGroupIds","classGroupsInConflict","classNames","originalClassName","baseClassNameWithoutPostfix","classGroupIdWithPostfix","variantModifier","modifierId","classId","conflictGroups","twJoin","classLists","argument","resolvedValue","string","toValue","mix","k","createTailwindMerge","createConfigFirst","createConfigRest","cacheGet","cacheSet","functionToCall","initTailwindMerge","previousConfig","createConfigCurrent","tailwindMerge","cachedResult","args","fallbackThemeArr","fromTheme","themeGetter","arbitraryValueRegex","arbitraryVariableRegex","fractionRegex","tshirtUnitRegex","lengthUnitRegex","colorFunctionRegex","shadowRegex","imageRegex","isFraction","isNumber","isInteger","isPercent","isTshirtSize","isAny","isLengthOnly","isNever","isShadow","isImage","isAnyNonArbitrary","isArbitraryValue","isArbitraryVariable","isNamedContainerQuery","isArbitrarySize","getIsArbitraryValue","isLabelSize","isArbitraryLength","isLabelLength","isArbitraryNumber","isLabelNumber","isArbitraryWeight","isLabelWeight","isArbitraryFamilyName","isLabelFamilyName","isArbitraryPosition","isLabelPosition","isArbitraryImage","isLabelImage","isArbitraryShadow","isLabelShadow","isArbitraryVariableLength","getIsArbitraryVariable","isArbitraryVariableFamilyName","isArbitraryVariablePosition","isArbitraryVariableSize","isArbitraryVariableImage","isArbitraryVariableShadow","isArbitraryVariableWeight","testLabel","testValue","shouldMatchNoLabel","label","getDefaultConfig","themeColor","themeFont","themeText","themeFontWeight","themeTracking","themeLeading","themeBreakpoint","themeContainer","themeSpacing","themeRadius","themeShadow","themeInsetShadow","themeTextShadow","themeDropShadow","themeBlur","themePerspective","themeAspect","themeEase","themeAnimate","scaleBreak","scalePosition","scalePositionWithArbitrary","scaleOverflow","scaleOverscroll","scaleUnambiguousSpacing","scaleInset","scaleGridTemplateColsRows","scaleGridColRowStartAndEnd","scaleGridColRowStartOrEnd","scaleGridAutoColsRows","scaleAlignPrimaryAxis","scaleAlignSecondaryAxis","scaleMargin","scaleSizing","scaleSizingInline","scaleSizingBlock","scaleColor","scaleBgPosition","scaleBgRepeat","scaleBgSize","scaleGradientStopPosition","scaleRadius","scaleBorderWidth","scaleLineStyle","scaleBlendMode","scaleMaskImagePosition","scaleBlur","scaleRotate","scaleScale","scaleSkew","scaleTranslate","twMerge","cn","inputs","variantMap","solidConfigStyles","StatusBadge","status","dot","solidStyle","isConfig","jsxs","jsx","productConfig","Phone","Bot","Video","Calendar","GraduationCap","Shield","sizeMap","ProductIcon","product","size","box","icon","radius","Icon","gradient","getProductLabel","SearchBar","placeholder","shortcut","onSearch","Search","PageHeader","title","description","breadcrumb","actions","BRAND","ACTIVE_BG","HOVER_BG","BORDER","NavRow","item","active","collapsed","onNavigate","Fragment","Sidebar","user","logoSrc","logoAlt","navItems","otherItems","activeHref","onMyProfile","onAccountsBilling","profileOpen","setProfileOpen","useState","setCollapsed","initials","v","Menu","ChevronsUpDown","UserCircle","CreditCard","action","TopBar","notificationCount","onBellClick","Bell","AppShell","topBarTitle","topBarBreadcrumb","topBarActions","children","WelcomeBanner","name","subtitle","firstName","QuickActionCard","iconBg","onClick","SubscriptionCard","validTill","usage","onOpenDashboard","isActive","AIBanner","message","ctaLabel","onExplore","BADGE_COLOR","WorkflowTemplateCard","badge","steps","onUseTemplate","badgeColor","Workflow","step","ArrowRight","STATUS_STYLE","STATUS_ICON","Play","Pause","Square","FileText","STATUS_ICON_BG","WorkflowListItem","createdAt","candidates","hired","onEdit","onAddCandidate","onReplicate","onPause","onResume","onStop","onDelete","menuOpen","setMenuOpen","menuRef","useRef","useEffect","handler","style","canAddCandidate","Pencil","UserPlus","MoreVertical","Copy","productNameMap","CONFIGURED_STYLE","EDITABLE_STYLE","computeDetails","type","fallback","PipelineNode","productTag","details","iconUrl","onSettings","isPosition","isOnboarding","cardStyle","displayName","Briefcase","Settings","Trash2","branchColorMap","ConditionalBranch","branches","threshold","isManual","isAutomatic","isConditional","pillContent","Hand","Zap","GitMerge","Settings2","pillBaseStyle","branch","AddStepButton","Plus","AVAILABLE_PRODUCTS","GripDots","_","ProductAvatar","ProductDragPanel","open","onClose","onSelectProduct","onSelectItem","subscribedProducts","showOnboarding","addedProducts","onboardingAdded","iconMap","p","visibleProducts","handleSelect","handleOnboarding","isAdded","THRESHOLD_LABEL","getThresholdLabel","TransitionConditionDialog","onSave","onCancel","transitionType","setTransitionType","setThreshold","advanceOn","setAdvanceOn","isIncScreen","handleSave","condition","X","User","opt","DEFAULT_STEPS","WorkflowDesigner","initialTitle","initialSteps","onBack","onPublish","onSaveDraft","setTitle","setSteps","view","setView","showDragPanel","setShowDragPanel","pendingProduct","setPendingProduct","handleDeleteStep","id","prev","s","handleAddStep","handleSelectProduct","handleTransitionSave","connectorType","newStep","handleTransitionCancel","ArrowLeft","Send","idx","isLast","hasConnector","DEFAULT_PROFILE_ITEMS","expanded","onToggle","href","link","hasChevron","expandedContent","handleClick","ChevronDown","InCruiterSidebar","profileItems","collapsedProp","onToggleCollapse","profileNav","isProfileActive","collapsedInternal","setCollapsedInternal","fn","expandedItem","setExpandedItem","handleToggle","InCruiterTopBar","bellRef","notificationDropdown","leftButton","navLinks","rightExtra","hasNav"],"mappings":"kKAAA,SAASA,GAAEC,EAAE,CAAC,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAa,OAAOH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,cAA8B,MAAM,MAAQ,SAClD,EACA,aAAW,gBAEX,SAAA,CAAAqQ,EAAAA,IAAC6D,EAAAA,KAAA,CAAK,KAAM,GAAI,YAAa,KAAM,EAClCF,EAAoB,GACnB3D,EAAAA,IAAC,OAAA,CACC,MAAO,CACL,SAAU,WACV,IAAK,EACL,MAAO,EACP,MAAO,EACP,OAAQ,EACR,aAAc,MACd,WAAY,UACZ,OAAQ,kBAAA,CACV,CAAA,CACF,CAAA,CAAA,EAGHoP,CAAA,CAAA,CAAA,CACH,CAAA,CAAA,CAGN","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../node_modules/clsx/dist/clsx.mjs","../node_modules/tailwind-merge/dist/bundle-mjs.mjs","../src/lib/utils.ts","../src/components/common/StatusBadge.tsx","../src/components/common/ProductIcon.tsx","../src/components/common/SearchBar.tsx","../src/components/common/PageHeader.tsx","../src/components/layout/Sidebar.tsx","../src/components/layout/TopBar.tsx","../src/components/layout/AppShell.tsx","../src/components/dashboard/WelcomeBanner.tsx","../src/components/dashboard/QuickActionCard.tsx","../src/components/dashboard/SubscriptionCard.tsx","../src/components/dashboard/AIBanner.tsx","../src/components/workflow/WorkflowTemplateCard.tsx","../src/components/workflow/WorkflowListItem.tsx","../src/components/workflow/PipelineNode.tsx","../src/components/workflow/ConditionalBranch.tsx","../src/components/workflow/AddStepButton.tsx","../src/components/workflow/ProductDragPanel.tsx","../src/components/workflow/TransitionConditionDialog.tsx","../src/components/workflow/WorkflowDesigner.tsx","../src/shared/InCruiterSidebar.tsx","../src/shared/InCruiterTopBar.tsx"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Concatenates two arrays faster than the array spread operator.\n */\nconst concatArrays = (array1, array2) => {\n // Pre-allocate for better V8 optimization\n const combinedArray = new Array(array1.length + array2.length);\n for (let i = 0; i < array1.length; i++) {\n combinedArray[i] = array1[i];\n }\n for (let i = 0; i < array2.length; i++) {\n combinedArray[array1.length + i] = array2[i];\n }\n return combinedArray;\n};\n\n// Factory function ensures consistent object shapes\nconst createClassValidatorObject = (classGroupId, validator) => ({\n classGroupId,\n validator\n});\n// Factory ensures consistent ClassPartObject shape\nconst createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({\n nextPart,\n validators,\n classGroupId\n});\nconst CLASS_PART_SEPARATOR = '-';\nconst EMPTY_CONFLICTS = [];\n// I use two dots here because one dot is used as prefix for class groups in plugins\nconst ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';\nconst createClassGroupUtils = config => {\n const classMap = createClassMap(config);\n const {\n conflictingClassGroups,\n conflictingClassGroupModifiers\n } = config;\n const getClassGroupId = className => {\n if (className.startsWith('[') && className.endsWith(']')) {\n return getGroupIdForArbitraryProperty(className);\n }\n const classParts = className.split(CLASS_PART_SEPARATOR);\n // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.\n const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;\n return getGroupRecursive(classParts, startIndex, classMap);\n };\n const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n if (hasPostfixModifier) {\n const modifierConflicts = conflictingClassGroupModifiers[classGroupId];\n const baseConflicts = conflictingClassGroups[classGroupId];\n if (modifierConflicts) {\n if (baseConflicts) {\n // Merge base conflicts with modifier conflicts\n return concatArrays(baseConflicts, modifierConflicts);\n }\n // Only modifier conflicts\n return modifierConflicts;\n }\n // Fall back to without postfix if no modifier conflicts\n return baseConflicts || EMPTY_CONFLICTS;\n }\n return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;\n };\n return {\n getClassGroupId,\n getConflictingClassGroupIds\n };\n};\nconst getGroupRecursive = (classParts, startIndex, classPartObject) => {\n const classPathsLength = classParts.length - startIndex;\n if (classPathsLength === 0) {\n return classPartObject.classGroupId;\n }\n const currentClassPart = classParts[startIndex];\n const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n if (nextClassPartObject) {\n const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);\n if (result) return result;\n }\n const validators = classPartObject.validators;\n if (validators === null) {\n return undefined;\n }\n // Build classRest string efficiently by joining from startIndex onwards\n const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);\n const validatorsLength = validators.length;\n for (let i = 0; i < validatorsLength; i++) {\n const validatorObj = validators[i];\n if (validatorObj.validator(classRest)) {\n return validatorObj.classGroupId;\n }\n }\n return undefined;\n};\n/**\n * Get the class group ID for an arbitrary property.\n *\n * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.\n */\nconst getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {\n const content = className.slice(1, -1);\n const colonIndex = content.indexOf(':');\n const property = content.slice(0, colonIndex);\n return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;\n})();\n/**\n * Exported for testing only\n */\nconst createClassMap = config => {\n const {\n theme,\n classGroups\n } = config;\n return processClassGroups(classGroups, theme);\n};\n// Split into separate functions to maintain monomorphic call sites\nconst processClassGroups = (classGroups, theme) => {\n const classMap = createClassPartObject();\n for (const classGroupId in classGroups) {\n const group = classGroups[classGroupId];\n processClassesRecursively(group, classMap, classGroupId, theme);\n }\n return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n const len = classGroup.length;\n for (let i = 0; i < len; i++) {\n const classDefinition = classGroup[i];\n processClassDefinition(classDefinition, classPartObject, classGroupId, theme);\n }\n};\n// Split into separate functions for each type to maintain monomorphic call sites\nconst processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (typeof classDefinition === 'string') {\n processStringDefinition(classDefinition, classPartObject, classGroupId);\n return;\n }\n if (typeof classDefinition === 'function') {\n processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);\n return;\n }\n processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);\n};\nconst processStringDefinition = (classDefinition, classPartObject, classGroupId) => {\n const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);\n classPartObjectToEdit.classGroupId = classGroupId;\n};\nconst processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (isThemeGetter(classDefinition)) {\n processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n return;\n }\n if (classPartObject.validators === null) {\n classPartObject.validators = [];\n }\n classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));\n};\nconst processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n const entries = Object.entries(classDefinition);\n const len = entries.length;\n for (let i = 0; i < len; i++) {\n const [key, value] = entries[i];\n processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);\n }\n};\nconst getPart = (classPartObject, path) => {\n let current = classPartObject;\n const parts = path.split(CLASS_PART_SEPARATOR);\n const len = parts.length;\n for (let i = 0; i < len; i++) {\n const part = parts[i];\n let next = current.nextPart.get(part);\n if (!next) {\n next = createClassPartObject();\n current.nextPart.set(part, next);\n }\n current = next;\n }\n return current;\n};\n// Type guard maintains monomorphic check\nconst isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;\n\n// LRU cache implementation using plain objects for simplicity\nconst createLruCache = maxCacheSize => {\n if (maxCacheSize < 1) {\n return {\n get: () => undefined,\n set: () => {}\n };\n }\n let cacheSize = 0;\n let cache = Object.create(null);\n let previousCache = Object.create(null);\n const update = (key, value) => {\n cache[key] = value;\n cacheSize++;\n if (cacheSize > maxCacheSize) {\n cacheSize = 0;\n previousCache = cache;\n cache = Object.create(null);\n }\n };\n return {\n get(key) {\n let value = cache[key];\n if (value !== undefined) {\n return value;\n }\n if ((value = previousCache[key]) !== undefined) {\n update(key, value);\n return value;\n }\n },\n set(key, value) {\n if (key in cache) {\n cache[key] = value;\n } else {\n update(key, value);\n }\n }\n };\n};\nconst IMPORTANT_MODIFIER = '!';\nconst MODIFIER_SEPARATOR = ':';\nconst EMPTY_MODIFIERS = [];\n// Pre-allocated result object shape for consistency\nconst createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n isExternal\n});\nconst createParseClassName = config => {\n const {\n prefix,\n experimentalParseClassName\n } = config;\n /**\n * Parse class name into parts.\n *\n * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n */\n let parseClassName = className => {\n // Use simple array with push for better performance\n const modifiers = [];\n let bracketDepth = 0;\n let parenDepth = 0;\n let modifierStart = 0;\n let postfixModifierPosition;\n const len = className.length;\n for (let index = 0; index < len; index++) {\n const currentCharacter = className[index];\n if (bracketDepth === 0 && parenDepth === 0) {\n if (currentCharacter === MODIFIER_SEPARATOR) {\n modifiers.push(className.slice(modifierStart, index));\n modifierStart = index + 1;\n continue;\n }\n if (currentCharacter === '/') {\n postfixModifierPosition = index;\n continue;\n }\n }\n if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;\n }\n const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);\n // Inline important modifier check\n let baseClassName = baseClassNameWithImportantModifier;\n let hasImportantModifier = false;\n if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(0, -1);\n hasImportantModifier = true;\n } else if (\n /**\n * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.\n * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864\n */\n baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(1);\n hasImportantModifier = true;\n }\n const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;\n return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);\n };\n if (prefix) {\n const fullPrefix = prefix + MODIFIER_SEPARATOR;\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);\n }\n if (experimentalParseClassName) {\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => experimentalParseClassName({\n className,\n parseClassName: parseClassNameOriginal\n });\n }\n return parseClassName;\n};\n\n/**\n * Sorts modifiers according to following schema:\n * - Predefined modifiers are sorted alphabetically\n * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it\n */\nconst createSortModifiers = config => {\n // Pre-compute weights for all known modifiers for O(1) comparison\n const modifierWeights = new Map();\n // Assign weights to sensitive modifiers (highest priority, but preserve order)\n config.orderSensitiveModifiers.forEach((mod, index) => {\n modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods\n });\n return modifiers => {\n const result = [];\n let currentSegment = [];\n // Process modifiers in one pass\n for (let i = 0; i < modifiers.length; i++) {\n const modifier = modifiers[i];\n // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)\n const isArbitrary = modifier[0] === '[';\n const isOrderSensitive = modifierWeights.has(modifier);\n if (isArbitrary || isOrderSensitive) {\n // Sort and flush current segment alphabetically\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n currentSegment = [];\n }\n result.push(modifier);\n } else {\n // Regular modifier - add to current segment for batch sorting\n currentSegment.push(modifier);\n }\n }\n // Sort and add any remaining segment items\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n }\n return result;\n };\n};\nconst createConfigUtils = config => ({\n cache: createLruCache(config.cacheSize),\n parseClassName: createParseClassName(config),\n sortModifiers: createSortModifiers(config),\n postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),\n ...createClassGroupUtils(config)\n});\nconst createPostfixLookupClassGroupIds = config => {\n const lookup = Object.create(null);\n const classGroupIds = config.postfixLookupClassGroups;\n if (classGroupIds) {\n for (let i = 0; i < classGroupIds.length; i++) {\n lookup[classGroupIds[i]] = true;\n }\n }\n return lookup;\n};\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n const {\n parseClassName,\n getClassGroupId,\n getConflictingClassGroupIds,\n sortModifiers,\n postfixLookupClassGroupIds\n } = configUtils;\n /**\n * Set of classGroupIds in following format:\n * `{importantModifier}{variantModifiers}{classGroupId}`\n * @example 'float'\n * @example 'hover:focus:bg-color'\n * @example 'md:!pr'\n */\n const classGroupsInConflict = [];\n const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n let result = '';\n for (let index = classNames.length - 1; index >= 0; index -= 1) {\n const originalClassName = classNames[index];\n const {\n isExternal,\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition\n } = parseClassName(originalClassName);\n if (isExternal) {\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n let hasPostfixModifier = !!maybePostfixModifierPosition;\n let classGroupId;\n if (hasPostfixModifier) {\n const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);\n classGroupId = getClassGroupId(baseClassNameWithoutPostfix);\n const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : undefined;\n if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {\n classGroupId = classGroupIdWithPostfix;\n hasPostfixModifier = false;\n }\n } else {\n classGroupId = getClassGroupId(baseClassName);\n }\n if (!classGroupId) {\n if (!hasPostfixModifier) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n classGroupId = getClassGroupId(baseClassName);\n if (!classGroupId) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n hasPostfixModifier = false;\n }\n // Fast path: skip sorting for empty or single modifier\n const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');\n const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n const classId = modifierId + classGroupId;\n if (classGroupsInConflict.indexOf(classId) > -1) {\n // Tailwind class omitted due to conflict\n continue;\n }\n classGroupsInConflict.push(classId);\n const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n for (let i = 0; i < conflictGroups.length; ++i) {\n const group = conflictGroups[i];\n classGroupsInConflict.push(modifierId + group);\n }\n // Tailwind class not in conflict\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n }\n return result;\n};\n\n/**\n * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.\n *\n * Specifically:\n * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js\n * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts\n *\n * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)\n */\nconst twJoin = (...classLists) => {\n let index = 0;\n let argument;\n let resolvedValue;\n let string = '';\n while (index < classLists.length) {\n if (argument = classLists[index++]) {\n if (resolvedValue = toValue(argument)) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst toValue = mix => {\n // Fast path for strings\n if (typeof mix === 'string') {\n return mix;\n }\n let resolvedValue;\n let string = '';\n for (let k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if (resolvedValue = toValue(mix[k])) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst createTailwindMerge = (createConfigFirst, ...createConfigRest) => {\n let configUtils;\n let cacheGet;\n let cacheSet;\n let functionToCall;\n const initTailwindMerge = classList => {\n const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n configUtils = createConfigUtils(config);\n cacheGet = configUtils.cache.get;\n cacheSet = configUtils.cache.set;\n functionToCall = tailwindMerge;\n return tailwindMerge(classList);\n };\n const tailwindMerge = classList => {\n const cachedResult = cacheGet(classList);\n if (cachedResult) {\n return cachedResult;\n }\n const result = mergeClassList(classList, configUtils);\n cacheSet(classList, result);\n return result;\n };\n functionToCall = initTailwindMerge;\n return (...args) => functionToCall(twJoin(...args));\n};\nconst fallbackThemeArr = [];\nconst fromTheme = key => {\n const themeGetter = theme => theme[key] || fallbackThemeArr;\n themeGetter.isThemeGetter = true;\n return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i;\nconst arbitraryVariableRegex = /^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i;\nconst fractionRegex = /^\\d+(?:\\.\\d+)?\\/\\d+(?:\\.\\d+)?$/;\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/;\n// Shadow always begins with x and y offset separated by underscore optionally prepended by inset\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isFraction = value => fractionRegex.test(value);\nconst isNumber = value => !!value && !Number.isNaN(Number(value));\nconst isInteger = value => !!value && Number.isInteger(Number(value));\nconst isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));\nconst isTshirtSize = value => tshirtUnitRegex.test(value);\nconst isAny = () => true;\nconst isLengthOnly = value =>\n// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n// For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\nlengthUnitRegex.test(value) && !colorFunctionRegex.test(value);\nconst isNever = () => false;\nconst isShadow = value => shadowRegex.test(value);\nconst isImage = value => imageRegex.test(value);\nconst isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);\nconst isNamedContainerQuery = value => value.startsWith('@container') && (value[10] === '/' && value[11] !== undefined || value[11] === 's' && value[16] !== undefined && value.startsWith('-size/', 10) || value[11] === 'n' && value[18] !== undefined && value.startsWith('-normal/', 10));\nconst isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);\nconst isArbitraryValue = value => arbitraryValueRegex.test(value);\nconst isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);\nconst isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);\nconst isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);\nconst isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);\nconst isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);\nconst isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);\nconst isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);\nconst isArbitraryVariable = value => arbitraryVariableRegex.test(value);\nconst isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);\nconst isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);\nconst isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);\nconst isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);\nconst isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);\nconst isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);\nconst isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);\n// Helpers\nconst getIsArbitraryValue = (value, testLabel, testValue) => {\n const result = arbitraryValueRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return testValue(result[2]);\n }\n return false;\n};\nconst getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {\n const result = arbitraryVariableRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return shouldMatchNoLabel;\n }\n return false;\n};\n// Labels\nconst isLabelPosition = label => label === 'position' || label === 'percentage';\nconst isLabelImage = label => label === 'image' || label === 'url';\nconst isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';\nconst isLabelLength = label => label === 'length';\nconst isLabelNumber = label => label === 'number';\nconst isLabelFamilyName = label => label === 'family-name';\nconst isLabelWeight = label => label === 'number' || label === 'weight';\nconst isLabelShadow = label => label === 'shadow';\nconst validators = /*#__PURE__*/Object.defineProperty({\n __proto__: null,\n isAny,\n isAnyNonArbitrary,\n isArbitraryFamilyName,\n isArbitraryImage,\n isArbitraryLength,\n isArbitraryNumber,\n isArbitraryPosition,\n isArbitraryShadow,\n isArbitrarySize,\n isArbitraryValue,\n isArbitraryVariable,\n isArbitraryVariableFamilyName,\n isArbitraryVariableImage,\n isArbitraryVariableLength,\n isArbitraryVariablePosition,\n isArbitraryVariableShadow,\n isArbitraryVariableSize,\n isArbitraryVariableWeight,\n isArbitraryWeight,\n isFraction,\n isInteger,\n isNamedContainerQuery,\n isNumber,\n isPercent,\n isTshirtSize\n}, Symbol.toStringTag, {\n value: 'Module'\n});\nconst getDefaultConfig = () => {\n /**\n * Theme getters for theme variable namespaces\n * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces\n */\n /***/\n const themeColor = fromTheme('color');\n const themeFont = fromTheme('font');\n const themeText = fromTheme('text');\n const themeFontWeight = fromTheme('font-weight');\n const themeTracking = fromTheme('tracking');\n const themeLeading = fromTheme('leading');\n const themeBreakpoint = fromTheme('breakpoint');\n const themeContainer = fromTheme('container');\n const themeSpacing = fromTheme('spacing');\n const themeRadius = fromTheme('radius');\n const themeShadow = fromTheme('shadow');\n const themeInsetShadow = fromTheme('inset-shadow');\n const themeTextShadow = fromTheme('text-shadow');\n const themeDropShadow = fromTheme('drop-shadow');\n const themeBlur = fromTheme('blur');\n const themePerspective = fromTheme('perspective');\n const themeAspect = fromTheme('aspect');\n const themeEase = fromTheme('ease');\n const themeAnimate = fromTheme('animate');\n /**\n * Helpers to avoid repeating the same scales\n *\n * We use functions that create a new array every time they're called instead of static arrays.\n * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.\n */\n /***/\n const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];\n const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-top', 'top-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-top', 'bottom-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-bottom', 'bottom-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-bottom'];\n const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];\n const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];\n const scaleOverscroll = () => ['auto', 'contain', 'none'];\n const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];\n const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];\n const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartAndEnd = () => ['auto', {\n span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]\n }, isInteger, isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];\n const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];\n const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];\n const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];\n const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];\n const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];\n const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {\n position: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleBgRepeat = () => ['no-repeat', {\n repeat: ['', 'x', 'y', 'space', 'round']\n }];\n const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {\n size: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];\n const scaleRadius = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];\n const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];\n const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];\n const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];\n const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];\n const scaleBlur = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];\n const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];\n return {\n cacheSize: 500,\n theme: {\n animate: ['spin', 'ping', 'pulse', 'bounce'],\n aspect: ['video'],\n blur: [isTshirtSize],\n breakpoint: [isTshirtSize],\n color: [isAny],\n container: [isTshirtSize],\n 'drop-shadow': [isTshirtSize],\n ease: ['in', 'out', 'in-out'],\n font: [isAnyNonArbitrary],\n 'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],\n 'inset-shadow': [isTshirtSize],\n leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],\n perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],\n radius: [isTshirtSize],\n shadow: [isTshirtSize],\n spacing: ['px', isNumber],\n text: [isTshirtSize],\n 'text-shadow': [isTshirtSize],\n tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']\n },\n classGroups: {\n // --------------\n // --- Layout ---\n // --------------\n /**\n * Aspect Ratio\n * @see https://tailwindcss.com/docs/aspect-ratio\n */\n aspect: [{\n aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]\n }],\n /**\n * Container\n * @see https://tailwindcss.com/docs/container\n * @deprecated since Tailwind CSS v4.0.0\n */\n container: ['container'],\n /**\n * Container Type\n * @see https://tailwindcss.com/docs/responsive-design#container-queries\n */\n 'container-type': [{\n '@container': ['', 'normal', 'size', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Container Name\n * @see https://tailwindcss.com/docs/responsive-design#named-containers\n */\n 'container-named': [isNamedContainerQuery],\n /**\n * Columns\n * @see https://tailwindcss.com/docs/columns\n */\n columns: [{\n columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]\n }],\n /**\n * Break After\n * @see https://tailwindcss.com/docs/break-after\n */\n 'break-after': [{\n 'break-after': scaleBreak()\n }],\n /**\n * Break Before\n * @see https://tailwindcss.com/docs/break-before\n */\n 'break-before': [{\n 'break-before': scaleBreak()\n }],\n /**\n * Break Inside\n * @see https://tailwindcss.com/docs/break-inside\n */\n 'break-inside': [{\n 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']\n }],\n /**\n * Box Decoration Break\n * @see https://tailwindcss.com/docs/box-decoration-break\n */\n 'box-decoration': [{\n 'box-decoration': ['slice', 'clone']\n }],\n /**\n * Box Sizing\n * @see https://tailwindcss.com/docs/box-sizing\n */\n box: [{\n box: ['border', 'content']\n }],\n /**\n * Display\n * @see https://tailwindcss.com/docs/display\n */\n display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],\n /**\n * Screen Reader Only\n * @see https://tailwindcss.com/docs/display#screen-reader-only\n */\n sr: ['sr-only', 'not-sr-only'],\n /**\n * Floats\n * @see https://tailwindcss.com/docs/float\n */\n float: [{\n float: ['right', 'left', 'none', 'start', 'end']\n }],\n /**\n * Clear\n * @see https://tailwindcss.com/docs/clear\n */\n clear: [{\n clear: ['left', 'right', 'both', 'none', 'start', 'end']\n }],\n /**\n * Isolation\n * @see https://tailwindcss.com/docs/isolation\n */\n isolation: ['isolate', 'isolation-auto'],\n /**\n * Object Fit\n * @see https://tailwindcss.com/docs/object-fit\n */\n 'object-fit': [{\n object: ['contain', 'cover', 'fill', 'none', 'scale-down']\n }],\n /**\n * Object Position\n * @see https://tailwindcss.com/docs/object-position\n */\n 'object-position': [{\n object: scalePositionWithArbitrary()\n }],\n /**\n * Overflow\n * @see https://tailwindcss.com/docs/overflow\n */\n overflow: [{\n overflow: scaleOverflow()\n }],\n /**\n * Overflow X\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-x': [{\n 'overflow-x': scaleOverflow()\n }],\n /**\n * Overflow Y\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-y': [{\n 'overflow-y': scaleOverflow()\n }],\n /**\n * Overscroll Behavior\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n overscroll: [{\n overscroll: scaleOverscroll()\n }],\n /**\n * Overscroll Behavior X\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-x': [{\n 'overscroll-x': scaleOverscroll()\n }],\n /**\n * Overscroll Behavior Y\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-y': [{\n 'overscroll-y': scaleOverscroll()\n }],\n /**\n * Position\n * @see https://tailwindcss.com/docs/position\n */\n position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],\n /**\n * Inset\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n inset: [{\n inset: scaleInset()\n }],\n /**\n * Inset Inline\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-x': [{\n 'inset-x': scaleInset()\n }],\n /**\n * Inset Block\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-y': [{\n 'inset-y': scaleInset()\n }],\n /**\n * Inset Inline Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-s` in next major release\n */\n start: [{\n 'inset-s': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n start: scaleInset()\n }],\n /**\n * Inset Inline End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-e` in next major release\n */\n end: [{\n 'inset-e': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n end: scaleInset()\n }],\n /**\n * Inset Block Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-bs': [{\n 'inset-bs': scaleInset()\n }],\n /**\n * Inset Block End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-be': [{\n 'inset-be': scaleInset()\n }],\n /**\n * Top\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n top: [{\n top: scaleInset()\n }],\n /**\n * Right\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n right: [{\n right: scaleInset()\n }],\n /**\n * Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n bottom: [{\n bottom: scaleInset()\n }],\n /**\n * Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n left: [{\n left: scaleInset()\n }],\n /**\n * Visibility\n * @see https://tailwindcss.com/docs/visibility\n */\n visibility: ['visible', 'invisible', 'collapse'],\n /**\n * Z-Index\n * @see https://tailwindcss.com/docs/z-index\n */\n z: [{\n z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------------\n // --- Flexbox and Grid ---\n // ------------------------\n /**\n * Flex Basis\n * @see https://tailwindcss.com/docs/flex-basis\n */\n basis: [{\n basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]\n }],\n /**\n * Flex Direction\n * @see https://tailwindcss.com/docs/flex-direction\n */\n 'flex-direction': [{\n flex: ['row', 'row-reverse', 'col', 'col-reverse']\n }],\n /**\n * Flex Wrap\n * @see https://tailwindcss.com/docs/flex-wrap\n */\n 'flex-wrap': [{\n flex: ['nowrap', 'wrap', 'wrap-reverse']\n }],\n /**\n * Flex\n * @see https://tailwindcss.com/docs/flex\n */\n flex: [{\n flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]\n }],\n /**\n * Flex Grow\n * @see https://tailwindcss.com/docs/flex-grow\n */\n grow: [{\n grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Flex Shrink\n * @see https://tailwindcss.com/docs/flex-shrink\n */\n shrink: [{\n shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Order\n * @see https://tailwindcss.com/docs/order\n */\n order: [{\n order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Grid Template Columns\n * @see https://tailwindcss.com/docs/grid-template-columns\n */\n 'grid-cols': [{\n 'grid-cols': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Column Start / End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start-end': [{\n col: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Column Start\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start': [{\n 'col-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Column End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-end': [{\n 'col-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Template Rows\n * @see https://tailwindcss.com/docs/grid-template-rows\n */\n 'grid-rows': [{\n 'grid-rows': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Row Start / End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start-end': [{\n row: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Row Start\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start': [{\n 'row-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Row End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-end': [{\n 'row-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Auto Flow\n * @see https://tailwindcss.com/docs/grid-auto-flow\n */\n 'grid-flow': [{\n 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']\n }],\n /**\n * Grid Auto Columns\n * @see https://tailwindcss.com/docs/grid-auto-columns\n */\n 'auto-cols': [{\n 'auto-cols': scaleGridAutoColsRows()\n }],\n /**\n * Grid Auto Rows\n * @see https://tailwindcss.com/docs/grid-auto-rows\n */\n 'auto-rows': [{\n 'auto-rows': scaleGridAutoColsRows()\n }],\n /**\n * Gap\n * @see https://tailwindcss.com/docs/gap\n */\n gap: [{\n gap: scaleUnambiguousSpacing()\n }],\n /**\n * Gap X\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-x': [{\n 'gap-x': scaleUnambiguousSpacing()\n }],\n /**\n * Gap Y\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-y': [{\n 'gap-y': scaleUnambiguousSpacing()\n }],\n /**\n * Justify Content\n * @see https://tailwindcss.com/docs/justify-content\n */\n 'justify-content': [{\n justify: [...scaleAlignPrimaryAxis(), 'normal']\n }],\n /**\n * Justify Items\n * @see https://tailwindcss.com/docs/justify-items\n */\n 'justify-items': [{\n 'justify-items': [...scaleAlignSecondaryAxis(), 'normal']\n }],\n /**\n * Justify Self\n * @see https://tailwindcss.com/docs/justify-self\n */\n 'justify-self': [{\n 'justify-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n /**\n * Align Content\n * @see https://tailwindcss.com/docs/align-content\n */\n 'align-content': [{\n content: ['normal', ...scaleAlignPrimaryAxis()]\n }],\n /**\n * Align Items\n * @see https://tailwindcss.com/docs/align-items\n */\n 'align-items': [{\n items: [...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Align Self\n * @see https://tailwindcss.com/docs/align-self\n */\n 'align-self': [{\n self: ['auto', ...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Place Content\n * @see https://tailwindcss.com/docs/place-content\n */\n 'place-content': [{\n 'place-content': scaleAlignPrimaryAxis()\n }],\n /**\n * Place Items\n * @see https://tailwindcss.com/docs/place-items\n */\n 'place-items': [{\n 'place-items': [...scaleAlignSecondaryAxis(), 'baseline']\n }],\n /**\n * Place Self\n * @see https://tailwindcss.com/docs/place-self\n */\n 'place-self': [{\n 'place-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n // Spacing\n /**\n * Padding\n * @see https://tailwindcss.com/docs/padding\n */\n p: [{\n p: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline\n * @see https://tailwindcss.com/docs/padding\n */\n px: [{\n px: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block\n * @see https://tailwindcss.com/docs/padding\n */\n py: [{\n py: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline Start\n * @see https://tailwindcss.com/docs/padding\n */\n ps: [{\n ps: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline End\n * @see https://tailwindcss.com/docs/padding\n */\n pe: [{\n pe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block Start\n * @see https://tailwindcss.com/docs/padding\n */\n pbs: [{\n pbs: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block End\n * @see https://tailwindcss.com/docs/padding\n */\n pbe: [{\n pbe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Top\n * @see https://tailwindcss.com/docs/padding\n */\n pt: [{\n pt: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Right\n * @see https://tailwindcss.com/docs/padding\n */\n pr: [{\n pr: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Bottom\n * @see https://tailwindcss.com/docs/padding\n */\n pb: [{\n pb: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Left\n * @see https://tailwindcss.com/docs/padding\n */\n pl: [{\n pl: scaleUnambiguousSpacing()\n }],\n /**\n * Margin\n * @see https://tailwindcss.com/docs/margin\n */\n m: [{\n m: scaleMargin()\n }],\n /**\n * Margin Inline\n * @see https://tailwindcss.com/docs/margin\n */\n mx: [{\n mx: scaleMargin()\n }],\n /**\n * Margin Block\n * @see https://tailwindcss.com/docs/margin\n */\n my: [{\n my: scaleMargin()\n }],\n /**\n * Margin Inline Start\n * @see https://tailwindcss.com/docs/margin\n */\n ms: [{\n ms: scaleMargin()\n }],\n /**\n * Margin Inline End\n * @see https://tailwindcss.com/docs/margin\n */\n me: [{\n me: scaleMargin()\n }],\n /**\n * Margin Block Start\n * @see https://tailwindcss.com/docs/margin\n */\n mbs: [{\n mbs: scaleMargin()\n }],\n /**\n * Margin Block End\n * @see https://tailwindcss.com/docs/margin\n */\n mbe: [{\n mbe: scaleMargin()\n }],\n /**\n * Margin Top\n * @see https://tailwindcss.com/docs/margin\n */\n mt: [{\n mt: scaleMargin()\n }],\n /**\n * Margin Right\n * @see https://tailwindcss.com/docs/margin\n */\n mr: [{\n mr: scaleMargin()\n }],\n /**\n * Margin Bottom\n * @see https://tailwindcss.com/docs/margin\n */\n mb: [{\n mb: scaleMargin()\n }],\n /**\n * Margin Left\n * @see https://tailwindcss.com/docs/margin\n */\n ml: [{\n ml: scaleMargin()\n }],\n /**\n * Space Between X\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x': [{\n 'space-x': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between X Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x-reverse': ['space-x-reverse'],\n /**\n * Space Between Y\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y': [{\n 'space-y': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between Y Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y-reverse': ['space-y-reverse'],\n // --------------\n // --- Sizing ---\n // --------------\n /**\n * Size\n * @see https://tailwindcss.com/docs/width#setting-both-width-and-height\n */\n size: [{\n size: scaleSizing()\n }],\n /**\n * Inline Size\n * @see https://tailwindcss.com/docs/width\n */\n 'inline-size': [{\n inline: ['auto', ...scaleSizingInline()]\n }],\n /**\n * Min-Inline Size\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-inline-size': [{\n 'min-inline': ['auto', ...scaleSizingInline()]\n }],\n /**\n * Max-Inline Size\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-inline-size': [{\n 'max-inline': ['none', ...scaleSizingInline()]\n }],\n /**\n * Block Size\n * @see https://tailwindcss.com/docs/height\n */\n 'block-size': [{\n block: ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Min-Block Size\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-block-size': [{\n 'min-block': ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Max-Block Size\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-block-size': [{\n 'max-block': ['none', ...scaleSizingBlock()]\n }],\n /**\n * Width\n * @see https://tailwindcss.com/docs/width\n */\n w: [{\n w: [themeContainer, 'screen', ...scaleSizing()]\n }],\n /**\n * Min-Width\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-w': [{\n 'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'none', ...scaleSizing()]\n }],\n /**\n * Max-Width\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-w': [{\n 'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n {\n screen: [themeBreakpoint]\n }, ...scaleSizing()]\n }],\n /**\n * Height\n * @see https://tailwindcss.com/docs/height\n */\n h: [{\n h: ['screen', 'lh', ...scaleSizing()]\n }],\n /**\n * Min-Height\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-h': [{\n 'min-h': ['screen', 'lh', 'none', ...scaleSizing()]\n }],\n /**\n * Max-Height\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-h': [{\n 'max-h': ['screen', 'lh', ...scaleSizing()]\n }],\n // ------------------\n // --- Typography ---\n // ------------------\n /**\n * Font Size\n * @see https://tailwindcss.com/docs/font-size\n */\n 'font-size': [{\n text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Font Smoothing\n * @see https://tailwindcss.com/docs/font-smoothing\n */\n 'font-smoothing': ['antialiased', 'subpixel-antialiased'],\n /**\n * Font Style\n * @see https://tailwindcss.com/docs/font-style\n */\n 'font-style': ['italic', 'not-italic'],\n /**\n * Font Weight\n * @see https://tailwindcss.com/docs/font-weight\n */\n 'font-weight': [{\n font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]\n }],\n /**\n * Font Stretch\n * @see https://tailwindcss.com/docs/font-stretch\n */\n 'font-stretch': [{\n 'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]\n }],\n /**\n * Font Family\n * @see https://tailwindcss.com/docs/font-family\n */\n 'font-family': [{\n font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]\n }],\n /**\n * Font Feature Settings\n * @see https://tailwindcss.com/docs/font-feature-settings\n */\n 'font-features': [{\n 'font-features': [isArbitraryValue]\n }],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-normal': ['normal-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-ordinal': ['ordinal'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-slashed-zero': ['slashed-zero'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-figure': ['lining-nums', 'oldstyle-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-spacing': ['proportional-nums', 'tabular-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],\n /**\n * Letter Spacing\n * @see https://tailwindcss.com/docs/letter-spacing\n */\n tracking: [{\n tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Line Clamp\n * @see https://tailwindcss.com/docs/line-clamp\n */\n 'line-clamp': [{\n 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]\n }],\n /**\n * Line Height\n * @see https://tailwindcss.com/docs/line-height\n */\n leading: [{\n leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n themeLeading, ...scaleUnambiguousSpacing()]\n }],\n /**\n * List Style Image\n * @see https://tailwindcss.com/docs/list-style-image\n */\n 'list-image': [{\n 'list-image': ['none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * List Style Position\n * @see https://tailwindcss.com/docs/list-style-position\n */\n 'list-style-position': [{\n list: ['inside', 'outside']\n }],\n /**\n * List Style Type\n * @see https://tailwindcss.com/docs/list-style-type\n */\n 'list-style-type': [{\n list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Alignment\n * @see https://tailwindcss.com/docs/text-align\n */\n 'text-alignment': [{\n text: ['left', 'center', 'right', 'justify', 'start', 'end']\n }],\n /**\n * Placeholder Color\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://v3.tailwindcss.com/docs/placeholder-color\n */\n 'placeholder-color': [{\n placeholder: scaleColor()\n }],\n /**\n * Text Color\n * @see https://tailwindcss.com/docs/text-color\n */\n 'text-color': [{\n text: scaleColor()\n }],\n /**\n * Text Decoration\n * @see https://tailwindcss.com/docs/text-decoration\n */\n 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],\n /**\n * Text Decoration Style\n * @see https://tailwindcss.com/docs/text-decoration-style\n */\n 'text-decoration-style': [{\n decoration: [...scaleLineStyle(), 'wavy']\n }],\n /**\n * Text Decoration Thickness\n * @see https://tailwindcss.com/docs/text-decoration-thickness\n */\n 'text-decoration-thickness': [{\n decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]\n }],\n /**\n * Text Decoration Color\n * @see https://tailwindcss.com/docs/text-decoration-color\n */\n 'text-decoration-color': [{\n decoration: scaleColor()\n }],\n /**\n * Text Underline Offset\n * @see https://tailwindcss.com/docs/text-underline-offset\n */\n 'underline-offset': [{\n 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Transform\n * @see https://tailwindcss.com/docs/text-transform\n */\n 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],\n /**\n * Text Overflow\n * @see https://tailwindcss.com/docs/text-overflow\n */\n 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],\n /**\n * Text Wrap\n * @see https://tailwindcss.com/docs/text-wrap\n */\n 'text-wrap': [{\n text: ['wrap', 'nowrap', 'balance', 'pretty']\n }],\n /**\n * Text Indent\n * @see https://tailwindcss.com/docs/text-indent\n */\n indent: [{\n indent: scaleUnambiguousSpacing()\n }],\n /**\n * Tab Size\n * @see https://tailwindcss.com/docs/tab-size\n */\n 'tab-size': [{\n tab: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Vertical Alignment\n * @see https://tailwindcss.com/docs/vertical-align\n */\n 'vertical-align': [{\n align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Whitespace\n * @see https://tailwindcss.com/docs/whitespace\n */\n whitespace: [{\n whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']\n }],\n /**\n * Word Break\n * @see https://tailwindcss.com/docs/word-break\n */\n break: [{\n break: ['normal', 'words', 'all', 'keep']\n }],\n /**\n * Overflow Wrap\n * @see https://tailwindcss.com/docs/overflow-wrap\n */\n wrap: [{\n wrap: ['break-word', 'anywhere', 'normal']\n }],\n /**\n * Hyphens\n * @see https://tailwindcss.com/docs/hyphens\n */\n hyphens: [{\n hyphens: ['none', 'manual', 'auto']\n }],\n /**\n * Content\n * @see https://tailwindcss.com/docs/content\n */\n content: [{\n content: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // -------------------\n // --- Backgrounds ---\n // -------------------\n /**\n * Background Attachment\n * @see https://tailwindcss.com/docs/background-attachment\n */\n 'bg-attachment': [{\n bg: ['fixed', 'local', 'scroll']\n }],\n /**\n * Background Clip\n * @see https://tailwindcss.com/docs/background-clip\n */\n 'bg-clip': [{\n 'bg-clip': ['border', 'padding', 'content', 'text']\n }],\n /**\n * Background Origin\n * @see https://tailwindcss.com/docs/background-origin\n */\n 'bg-origin': [{\n 'bg-origin': ['border', 'padding', 'content']\n }],\n /**\n * Background Position\n * @see https://tailwindcss.com/docs/background-position\n */\n 'bg-position': [{\n bg: scaleBgPosition()\n }],\n /**\n * Background Repeat\n * @see https://tailwindcss.com/docs/background-repeat\n */\n 'bg-repeat': [{\n bg: scaleBgRepeat()\n }],\n /**\n * Background Size\n * @see https://tailwindcss.com/docs/background-size\n */\n 'bg-size': [{\n bg: scaleBgSize()\n }],\n /**\n * Background Image\n * @see https://tailwindcss.com/docs/background-image\n */\n 'bg-image': [{\n bg: ['none', {\n linear: [{\n to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']\n }, isInteger, isArbitraryVariable, isArbitraryValue],\n radial: ['', isArbitraryVariable, isArbitraryValue],\n conic: [isInteger, isArbitraryVariable, isArbitraryValue]\n }, isArbitraryVariableImage, isArbitraryImage]\n }],\n /**\n * Background Color\n * @see https://tailwindcss.com/docs/background-color\n */\n 'bg-color': [{\n bg: scaleColor()\n }],\n /**\n * Gradient Color Stops From Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from-pos': [{\n from: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops Via Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via-pos': [{\n via: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops To Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to-pos': [{\n to: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops From\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from': [{\n from: scaleColor()\n }],\n /**\n * Gradient Color Stops Via\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via': [{\n via: scaleColor()\n }],\n /**\n * Gradient Color Stops To\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to': [{\n to: scaleColor()\n }],\n // ---------------\n // --- Borders ---\n // ---------------\n /**\n * Border Radius\n * @see https://tailwindcss.com/docs/border-radius\n */\n rounded: [{\n rounded: scaleRadius()\n }],\n /**\n * Border Radius Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-s': [{\n 'rounded-s': scaleRadius()\n }],\n /**\n * Border Radius End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-e': [{\n 'rounded-e': scaleRadius()\n }],\n /**\n * Border Radius Top\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-t': [{\n 'rounded-t': scaleRadius()\n }],\n /**\n * Border Radius Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-r': [{\n 'rounded-r': scaleRadius()\n }],\n /**\n * Border Radius Bottom\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-b': [{\n 'rounded-b': scaleRadius()\n }],\n /**\n * Border Radius Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-l': [{\n 'rounded-l': scaleRadius()\n }],\n /**\n * Border Radius Start Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ss': [{\n 'rounded-ss': scaleRadius()\n }],\n /**\n * Border Radius Start End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-se': [{\n 'rounded-se': scaleRadius()\n }],\n /**\n * Border Radius End End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ee': [{\n 'rounded-ee': scaleRadius()\n }],\n /**\n * Border Radius End Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-es': [{\n 'rounded-es': scaleRadius()\n }],\n /**\n * Border Radius Top Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tl': [{\n 'rounded-tl': scaleRadius()\n }],\n /**\n * Border Radius Top Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tr': [{\n 'rounded-tr': scaleRadius()\n }],\n /**\n * Border Radius Bottom Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-br': [{\n 'rounded-br': scaleRadius()\n }],\n /**\n * Border Radius Bottom Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-bl': [{\n 'rounded-bl': scaleRadius()\n }],\n /**\n * Border Width\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w': [{\n border: scaleBorderWidth()\n }],\n /**\n * Border Width Inline\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-x': [{\n 'border-x': scaleBorderWidth()\n }],\n /**\n * Border Width Block\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-y': [{\n 'border-y': scaleBorderWidth()\n }],\n /**\n * Border Width Inline Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-s': [{\n 'border-s': scaleBorderWidth()\n }],\n /**\n * Border Width Inline End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-e': [{\n 'border-e': scaleBorderWidth()\n }],\n /**\n * Border Width Block Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-bs': [{\n 'border-bs': scaleBorderWidth()\n }],\n /**\n * Border Width Block End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-be': [{\n 'border-be': scaleBorderWidth()\n }],\n /**\n * Border Width Top\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-t': [{\n 'border-t': scaleBorderWidth()\n }],\n /**\n * Border Width Right\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-r': [{\n 'border-r': scaleBorderWidth()\n }],\n /**\n * Border Width Bottom\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-b': [{\n 'border-b': scaleBorderWidth()\n }],\n /**\n * Border Width Left\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-l': [{\n 'border-l': scaleBorderWidth()\n }],\n /**\n * Divide Width X\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x': [{\n 'divide-x': scaleBorderWidth()\n }],\n /**\n * Divide Width X Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x-reverse': ['divide-x-reverse'],\n /**\n * Divide Width Y\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y': [{\n 'divide-y': scaleBorderWidth()\n }],\n /**\n * Divide Width Y Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y-reverse': ['divide-y-reverse'],\n /**\n * Border Style\n * @see https://tailwindcss.com/docs/border-style\n */\n 'border-style': [{\n border: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Divide Style\n * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style\n */\n 'divide-style': [{\n divide: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Border Color\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color': [{\n border: scaleColor()\n }],\n /**\n * Border Color Inline\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-x': [{\n 'border-x': scaleColor()\n }],\n /**\n * Border Color Block\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-y': [{\n 'border-y': scaleColor()\n }],\n /**\n * Border Color Inline Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-s': [{\n 'border-s': scaleColor()\n }],\n /**\n * Border Color Inline End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-e': [{\n 'border-e': scaleColor()\n }],\n /**\n * Border Color Block Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-bs': [{\n 'border-bs': scaleColor()\n }],\n /**\n * Border Color Block End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-be': [{\n 'border-be': scaleColor()\n }],\n /**\n * Border Color Top\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-t': [{\n 'border-t': scaleColor()\n }],\n /**\n * Border Color Right\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-r': [{\n 'border-r': scaleColor()\n }],\n /**\n * Border Color Bottom\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-b': [{\n 'border-b': scaleColor()\n }],\n /**\n * Border Color Left\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-l': [{\n 'border-l': scaleColor()\n }],\n /**\n * Divide Color\n * @see https://tailwindcss.com/docs/divide-color\n */\n 'divide-color': [{\n divide: scaleColor()\n }],\n /**\n * Outline Style\n * @see https://tailwindcss.com/docs/outline-style\n */\n 'outline-style': [{\n outline: [...scaleLineStyle(), 'none', 'hidden']\n }],\n /**\n * Outline Offset\n * @see https://tailwindcss.com/docs/outline-offset\n */\n 'outline-offset': [{\n 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Outline Width\n * @see https://tailwindcss.com/docs/outline-width\n */\n 'outline-w': [{\n outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Outline Color\n * @see https://tailwindcss.com/docs/outline-color\n */\n 'outline-color': [{\n outline: scaleColor()\n }],\n // ---------------\n // --- Effects ---\n // ---------------\n /**\n * Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow\n */\n shadow: [{\n shadow: [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color\n */\n 'shadow-color': [{\n shadow: scaleColor()\n }],\n /**\n * Inset Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow\n */\n 'inset-shadow': [{\n 'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Inset Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color\n */\n 'inset-shadow-color': [{\n 'inset-shadow': scaleColor()\n }],\n /**\n * Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring\n */\n 'ring-w': [{\n ring: scaleBorderWidth()\n }],\n /**\n * Ring Width Inset\n * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-w-inset': ['ring-inset'],\n /**\n * Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color\n */\n 'ring-color': [{\n ring: scaleColor()\n }],\n /**\n * Ring Offset Width\n * @see https://v3.tailwindcss.com/docs/ring-offset-width\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-w': [{\n 'ring-offset': [isNumber, isArbitraryLength]\n }],\n /**\n * Ring Offset Color\n * @see https://v3.tailwindcss.com/docs/ring-offset-color\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-color': [{\n 'ring-offset': scaleColor()\n }],\n /**\n * Inset Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring\n */\n 'inset-ring-w': [{\n 'inset-ring': scaleBorderWidth()\n }],\n /**\n * Inset Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color\n */\n 'inset-ring-color': [{\n 'inset-ring': scaleColor()\n }],\n /**\n * Text Shadow\n * @see https://tailwindcss.com/docs/text-shadow\n */\n 'text-shadow': [{\n 'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Text Shadow Color\n * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color\n */\n 'text-shadow-color': [{\n 'text-shadow': scaleColor()\n }],\n /**\n * Opacity\n * @see https://tailwindcss.com/docs/opacity\n */\n opacity: [{\n opacity: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Mix Blend Mode\n * @see https://tailwindcss.com/docs/mix-blend-mode\n */\n 'mix-blend': [{\n 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']\n }],\n /**\n * Background Blend Mode\n * @see https://tailwindcss.com/docs/background-blend-mode\n */\n 'bg-blend': [{\n 'bg-blend': scaleBlendMode()\n }],\n /**\n * Mask Clip\n * @see https://tailwindcss.com/docs/mask-clip\n */\n 'mask-clip': [{\n 'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }, 'mask-no-clip'],\n /**\n * Mask Composite\n * @see https://tailwindcss.com/docs/mask-composite\n */\n 'mask-composite': [{\n mask: ['add', 'subtract', 'intersect', 'exclude']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image-linear-pos': [{\n 'mask-linear': [isNumber]\n }],\n 'mask-image-linear-from-pos': [{\n 'mask-linear-from': scaleMaskImagePosition()\n }],\n 'mask-image-linear-to-pos': [{\n 'mask-linear-to': scaleMaskImagePosition()\n }],\n 'mask-image-linear-from-color': [{\n 'mask-linear-from': scaleColor()\n }],\n 'mask-image-linear-to-color': [{\n 'mask-linear-to': scaleColor()\n }],\n 'mask-image-t-from-pos': [{\n 'mask-t-from': scaleMaskImagePosition()\n }],\n 'mask-image-t-to-pos': [{\n 'mask-t-to': scaleMaskImagePosition()\n }],\n 'mask-image-t-from-color': [{\n 'mask-t-from': scaleColor()\n }],\n 'mask-image-t-to-color': [{\n 'mask-t-to': scaleColor()\n }],\n 'mask-image-r-from-pos': [{\n 'mask-r-from': scaleMaskImagePosition()\n }],\n 'mask-image-r-to-pos': [{\n 'mask-r-to': scaleMaskImagePosition()\n }],\n 'mask-image-r-from-color': [{\n 'mask-r-from': scaleColor()\n }],\n 'mask-image-r-to-color': [{\n 'mask-r-to': scaleColor()\n }],\n 'mask-image-b-from-pos': [{\n 'mask-b-from': scaleMaskImagePosition()\n }],\n 'mask-image-b-to-pos': [{\n 'mask-b-to': scaleMaskImagePosition()\n }],\n 'mask-image-b-from-color': [{\n 'mask-b-from': scaleColor()\n }],\n 'mask-image-b-to-color': [{\n 'mask-b-to': scaleColor()\n }],\n 'mask-image-l-from-pos': [{\n 'mask-l-from': scaleMaskImagePosition()\n }],\n 'mask-image-l-to-pos': [{\n 'mask-l-to': scaleMaskImagePosition()\n }],\n 'mask-image-l-from-color': [{\n 'mask-l-from': scaleColor()\n }],\n 'mask-image-l-to-color': [{\n 'mask-l-to': scaleColor()\n }],\n 'mask-image-x-from-pos': [{\n 'mask-x-from': scaleMaskImagePosition()\n }],\n 'mask-image-x-to-pos': [{\n 'mask-x-to': scaleMaskImagePosition()\n }],\n 'mask-image-x-from-color': [{\n 'mask-x-from': scaleColor()\n }],\n 'mask-image-x-to-color': [{\n 'mask-x-to': scaleColor()\n }],\n 'mask-image-y-from-pos': [{\n 'mask-y-from': scaleMaskImagePosition()\n }],\n 'mask-image-y-to-pos': [{\n 'mask-y-to': scaleMaskImagePosition()\n }],\n 'mask-image-y-from-color': [{\n 'mask-y-from': scaleColor()\n }],\n 'mask-image-y-to-color': [{\n 'mask-y-to': scaleColor()\n }],\n 'mask-image-radial': [{\n 'mask-radial': [isArbitraryVariable, isArbitraryValue]\n }],\n 'mask-image-radial-from-pos': [{\n 'mask-radial-from': scaleMaskImagePosition()\n }],\n 'mask-image-radial-to-pos': [{\n 'mask-radial-to': scaleMaskImagePosition()\n }],\n 'mask-image-radial-from-color': [{\n 'mask-radial-from': scaleColor()\n }],\n 'mask-image-radial-to-color': [{\n 'mask-radial-to': scaleColor()\n }],\n 'mask-image-radial-shape': [{\n 'mask-radial': ['circle', 'ellipse']\n }],\n 'mask-image-radial-size': [{\n 'mask-radial': [{\n closest: ['side', 'corner'],\n farthest: ['side', 'corner']\n }]\n }],\n 'mask-image-radial-pos': [{\n 'mask-radial-at': scalePosition()\n }],\n 'mask-image-conic-pos': [{\n 'mask-conic': [isNumber]\n }],\n 'mask-image-conic-from-pos': [{\n 'mask-conic-from': scaleMaskImagePosition()\n }],\n 'mask-image-conic-to-pos': [{\n 'mask-conic-to': scaleMaskImagePosition()\n }],\n 'mask-image-conic-from-color': [{\n 'mask-conic-from': scaleColor()\n }],\n 'mask-image-conic-to-color': [{\n 'mask-conic-to': scaleColor()\n }],\n /**\n * Mask Mode\n * @see https://tailwindcss.com/docs/mask-mode\n */\n 'mask-mode': [{\n mask: ['alpha', 'luminance', 'match']\n }],\n /**\n * Mask Origin\n * @see https://tailwindcss.com/docs/mask-origin\n */\n 'mask-origin': [{\n 'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }],\n /**\n * Mask Position\n * @see https://tailwindcss.com/docs/mask-position\n */\n 'mask-position': [{\n mask: scaleBgPosition()\n }],\n /**\n * Mask Repeat\n * @see https://tailwindcss.com/docs/mask-repeat\n */\n 'mask-repeat': [{\n mask: scaleBgRepeat()\n }],\n /**\n * Mask Size\n * @see https://tailwindcss.com/docs/mask-size\n */\n 'mask-size': [{\n mask: scaleBgSize()\n }],\n /**\n * Mask Type\n * @see https://tailwindcss.com/docs/mask-type\n */\n 'mask-type': [{\n 'mask-type': ['alpha', 'luminance']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image': [{\n mask: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------\n // --- Filters ---\n // ---------------\n /**\n * Filter\n * @see https://tailwindcss.com/docs/filter\n */\n filter: [{\n filter: [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Blur\n * @see https://tailwindcss.com/docs/blur\n */\n blur: [{\n blur: scaleBlur()\n }],\n /**\n * Brightness\n * @see https://tailwindcss.com/docs/brightness\n */\n brightness: [{\n brightness: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Contrast\n * @see https://tailwindcss.com/docs/contrast\n */\n contrast: [{\n contrast: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Drop Shadow\n * @see https://tailwindcss.com/docs/drop-shadow\n */\n 'drop-shadow': [{\n 'drop-shadow': [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Drop Shadow Color\n * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color\n */\n 'drop-shadow-color': [{\n 'drop-shadow': scaleColor()\n }],\n /**\n * Grayscale\n * @see https://tailwindcss.com/docs/grayscale\n */\n grayscale: [{\n grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Hue Rotate\n * @see https://tailwindcss.com/docs/hue-rotate\n */\n 'hue-rotate': [{\n 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Invert\n * @see https://tailwindcss.com/docs/invert\n */\n invert: [{\n invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Saturate\n * @see https://tailwindcss.com/docs/saturate\n */\n saturate: [{\n saturate: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Sepia\n * @see https://tailwindcss.com/docs/sepia\n */\n sepia: [{\n sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Filter\n * @see https://tailwindcss.com/docs/backdrop-filter\n */\n 'backdrop-filter': [{\n 'backdrop-filter': [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Blur\n * @see https://tailwindcss.com/docs/backdrop-blur\n */\n 'backdrop-blur': [{\n 'backdrop-blur': scaleBlur()\n }],\n /**\n * Backdrop Brightness\n * @see https://tailwindcss.com/docs/backdrop-brightness\n */\n 'backdrop-brightness': [{\n 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Contrast\n * @see https://tailwindcss.com/docs/backdrop-contrast\n */\n 'backdrop-contrast': [{\n 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Grayscale\n * @see https://tailwindcss.com/docs/backdrop-grayscale\n */\n 'backdrop-grayscale': [{\n 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Hue Rotate\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n */\n 'backdrop-hue-rotate': [{\n 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Invert\n * @see https://tailwindcss.com/docs/backdrop-invert\n */\n 'backdrop-invert': [{\n 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Opacity\n * @see https://tailwindcss.com/docs/backdrop-opacity\n */\n 'backdrop-opacity': [{\n 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Saturate\n * @see https://tailwindcss.com/docs/backdrop-saturate\n */\n 'backdrop-saturate': [{\n 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Sepia\n * @see https://tailwindcss.com/docs/backdrop-sepia\n */\n 'backdrop-sepia': [{\n 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n // --------------\n // --- Tables ---\n // --------------\n /**\n * Border Collapse\n * @see https://tailwindcss.com/docs/border-collapse\n */\n 'border-collapse': [{\n border: ['collapse', 'separate']\n }],\n /**\n * Border Spacing\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing': [{\n 'border-spacing': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing X\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-x': [{\n 'border-spacing-x': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing Y\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-y': [{\n 'border-spacing-y': scaleUnambiguousSpacing()\n }],\n /**\n * Table Layout\n * @see https://tailwindcss.com/docs/table-layout\n */\n 'table-layout': [{\n table: ['auto', 'fixed']\n }],\n /**\n * Caption Side\n * @see https://tailwindcss.com/docs/caption-side\n */\n caption: [{\n caption: ['top', 'bottom']\n }],\n // ---------------------------------\n // --- Transitions and Animation ---\n // ---------------------------------\n /**\n * Transition Property\n * @see https://tailwindcss.com/docs/transition-property\n */\n transition: [{\n transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Behavior\n * @see https://tailwindcss.com/docs/transition-behavior\n */\n 'transition-behavior': [{\n transition: ['normal', 'discrete']\n }],\n /**\n * Transition Duration\n * @see https://tailwindcss.com/docs/transition-duration\n */\n duration: [{\n duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Timing Function\n * @see https://tailwindcss.com/docs/transition-timing-function\n */\n ease: [{\n ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Delay\n * @see https://tailwindcss.com/docs/transition-delay\n */\n delay: [{\n delay: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Animation\n * @see https://tailwindcss.com/docs/animation\n */\n animate: [{\n animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------\n // --- Transforms ---\n // ------------------\n /**\n * Backface Visibility\n * @see https://tailwindcss.com/docs/backface-visibility\n */\n backface: [{\n backface: ['hidden', 'visible']\n }],\n /**\n * Perspective\n * @see https://tailwindcss.com/docs/perspective\n */\n perspective: [{\n perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Perspective Origin\n * @see https://tailwindcss.com/docs/perspective-origin\n */\n 'perspective-origin': [{\n 'perspective-origin': scalePositionWithArbitrary()\n }],\n /**\n * Rotate\n * @see https://tailwindcss.com/docs/rotate\n */\n rotate: [{\n rotate: scaleRotate()\n }],\n /**\n * Rotate X\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-x': [{\n 'rotate-x': scaleRotate()\n }],\n /**\n * Rotate Y\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-y': [{\n 'rotate-y': scaleRotate()\n }],\n /**\n * Rotate Z\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-z': [{\n 'rotate-z': scaleRotate()\n }],\n /**\n * Scale\n * @see https://tailwindcss.com/docs/scale\n */\n scale: [{\n scale: scaleScale()\n }],\n /**\n * Scale X\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-x': [{\n 'scale-x': scaleScale()\n }],\n /**\n * Scale Y\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-y': [{\n 'scale-y': scaleScale()\n }],\n /**\n * Scale Z\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-z': [{\n 'scale-z': scaleScale()\n }],\n /**\n * Scale 3D\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-3d': ['scale-3d'],\n /**\n * Skew\n * @see https://tailwindcss.com/docs/skew\n */\n skew: [{\n skew: scaleSkew()\n }],\n /**\n * Skew X\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-x': [{\n 'skew-x': scaleSkew()\n }],\n /**\n * Skew Y\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-y': [{\n 'skew-y': scaleSkew()\n }],\n /**\n * Transform\n * @see https://tailwindcss.com/docs/transform\n */\n transform: [{\n transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']\n }],\n /**\n * Transform Origin\n * @see https://tailwindcss.com/docs/transform-origin\n */\n 'transform-origin': [{\n origin: scalePositionWithArbitrary()\n }],\n /**\n * Transform Style\n * @see https://tailwindcss.com/docs/transform-style\n */\n 'transform-style': [{\n transform: ['3d', 'flat']\n }],\n /**\n * Translate\n * @see https://tailwindcss.com/docs/translate\n */\n translate: [{\n translate: scaleTranslate()\n }],\n /**\n * Translate X\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-x': [{\n 'translate-x': scaleTranslate()\n }],\n /**\n * Translate Y\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-y': [{\n 'translate-y': scaleTranslate()\n }],\n /**\n * Translate Z\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-z': [{\n 'translate-z': scaleTranslate()\n }],\n /**\n * Translate None\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-none': ['translate-none'],\n /**\n * Zoom\n * @see https://tailwindcss.com/docs/zoom\n */\n zoom: [{\n zoom: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------------\n // --- Interactivity ---\n // ---------------------\n /**\n * Accent Color\n * @see https://tailwindcss.com/docs/accent-color\n */\n accent: [{\n accent: scaleColor()\n }],\n /**\n * Appearance\n * @see https://tailwindcss.com/docs/appearance\n */\n appearance: [{\n appearance: ['none', 'auto']\n }],\n /**\n * Caret Color\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n */\n 'caret-color': [{\n caret: scaleColor()\n }],\n /**\n * Color Scheme\n * @see https://tailwindcss.com/docs/color-scheme\n */\n 'color-scheme': [{\n scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']\n }],\n /**\n * Cursor\n * @see https://tailwindcss.com/docs/cursor\n */\n cursor: [{\n cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Field Sizing\n * @see https://tailwindcss.com/docs/field-sizing\n */\n 'field-sizing': [{\n 'field-sizing': ['fixed', 'content']\n }],\n /**\n * Pointer Events\n * @see https://tailwindcss.com/docs/pointer-events\n */\n 'pointer-events': [{\n 'pointer-events': ['auto', 'none']\n }],\n /**\n * Resize\n * @see https://tailwindcss.com/docs/resize\n */\n resize: [{\n resize: ['none', '', 'y', 'x']\n }],\n /**\n * Scroll Behavior\n * @see https://tailwindcss.com/docs/scroll-behavior\n */\n 'scroll-behavior': [{\n scroll: ['auto', 'smooth']\n }],\n /**\n * Scrollbar Thumb Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-thumb-color': [{\n 'scrollbar-thumb': scaleColor()\n }],\n /**\n * Scrollbar Track Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-track-color': [{\n 'scrollbar-track': scaleColor()\n }],\n /**\n * Scrollbar Gutter\n * @see https://tailwindcss.com/docs/scrollbar-gutter\n */\n 'scrollbar-gutter': [{\n 'scrollbar-gutter': ['auto', 'stable', 'both']\n }],\n /**\n * Scrollbar Width\n * @see https://tailwindcss.com/docs/scrollbar-width\n */\n 'scrollbar-w': [{\n scrollbar: ['auto', 'thin', 'none']\n }],\n /**\n * Scroll Margin\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-m': [{\n 'scroll-m': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mx': [{\n 'scroll-mx': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-my': [{\n 'scroll-my': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ms': [{\n 'scroll-ms': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-me': [{\n 'scroll-me': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbs': [{\n 'scroll-mbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbe': [{\n 'scroll-mbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Top\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mt': [{\n 'scroll-mt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Right\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mr': [{\n 'scroll-mr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Bottom\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mb': [{\n 'scroll-mb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Left\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ml': [{\n 'scroll-ml': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-p': [{\n 'scroll-p': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-px': [{\n 'scroll-px': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-py': [{\n 'scroll-py': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-ps': [{\n 'scroll-ps': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pe': [{\n 'scroll-pe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbs': [{\n 'scroll-pbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbe': [{\n 'scroll-pbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Top\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pt': [{\n 'scroll-pt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Right\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pr': [{\n 'scroll-pr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Bottom\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pb': [{\n 'scroll-pb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Left\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pl': [{\n 'scroll-pl': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Snap Align\n * @see https://tailwindcss.com/docs/scroll-snap-align\n */\n 'snap-align': [{\n snap: ['start', 'end', 'center', 'align-none']\n }],\n /**\n * Scroll Snap Stop\n * @see https://tailwindcss.com/docs/scroll-snap-stop\n */\n 'snap-stop': [{\n snap: ['normal', 'always']\n }],\n /**\n * Scroll Snap Type\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-type': [{\n snap: ['none', 'x', 'y', 'both']\n }],\n /**\n * Scroll Snap Type Strictness\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-strictness': [{\n snap: ['mandatory', 'proximity']\n }],\n /**\n * Touch Action\n * @see https://tailwindcss.com/docs/touch-action\n */\n touch: [{\n touch: ['auto', 'none', 'manipulation']\n }],\n /**\n * Touch Action X\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-x': [{\n 'touch-pan': ['x', 'left', 'right']\n }],\n /**\n * Touch Action Y\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-y': [{\n 'touch-pan': ['y', 'up', 'down']\n }],\n /**\n * Touch Action Pinch Zoom\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-pz': ['touch-pinch-zoom'],\n /**\n * User Select\n * @see https://tailwindcss.com/docs/user-select\n */\n select: [{\n select: ['none', 'text', 'all', 'auto']\n }],\n /**\n * Will Change\n * @see https://tailwindcss.com/docs/will-change\n */\n 'will-change': [{\n 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]\n }],\n // -----------\n // --- SVG ---\n // -----------\n /**\n * Fill\n * @see https://tailwindcss.com/docs/fill\n */\n fill: [{\n fill: ['none', ...scaleColor()]\n }],\n /**\n * Stroke Width\n * @see https://tailwindcss.com/docs/stroke-width\n */\n 'stroke-w': [{\n stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]\n }],\n /**\n * Stroke\n * @see https://tailwindcss.com/docs/stroke\n */\n stroke: [{\n stroke: ['none', ...scaleColor()]\n }],\n // ---------------------\n // --- Accessibility ---\n // ---------------------\n /**\n * Forced Color Adjust\n * @see https://tailwindcss.com/docs/forced-color-adjust\n */\n 'forced-color-adjust': [{\n 'forced-color-adjust': ['auto', 'none']\n }]\n },\n conflictingClassGroups: {\n 'container-named': ['container-type'],\n overflow: ['overflow-x', 'overflow-y'],\n overscroll: ['overscroll-x', 'overscroll-y'],\n inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],\n 'inset-x': ['right', 'left'],\n 'inset-y': ['top', 'bottom'],\n flex: ['basis', 'grow', 'shrink'],\n gap: ['gap-x', 'gap-y'],\n p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],\n px: ['pr', 'pl'],\n py: ['pt', 'pb'],\n m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],\n mx: ['mr', 'ml'],\n my: ['mt', 'mb'],\n size: ['w', 'h'],\n 'font-size': ['leading'],\n 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],\n 'fvn-ordinal': ['fvn-normal'],\n 'fvn-slashed-zero': ['fvn-normal'],\n 'fvn-figure': ['fvn-normal'],\n 'fvn-spacing': ['fvn-normal'],\n 'fvn-fraction': ['fvn-normal'],\n 'line-clamp': ['display', 'overflow'],\n rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],\n 'rounded-s': ['rounded-ss', 'rounded-es'],\n 'rounded-e': ['rounded-se', 'rounded-ee'],\n 'rounded-t': ['rounded-tl', 'rounded-tr'],\n 'rounded-r': ['rounded-tr', 'rounded-br'],\n 'rounded-b': ['rounded-br', 'rounded-bl'],\n 'rounded-l': ['rounded-tl', 'rounded-bl'],\n 'border-spacing': ['border-spacing-x', 'border-spacing-y'],\n 'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-bs', 'border-w-be', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],\n 'border-w-x': ['border-w-r', 'border-w-l'],\n 'border-w-y': ['border-w-t', 'border-w-b'],\n 'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-bs', 'border-color-be', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],\n 'border-color-x': ['border-color-r', 'border-color-l'],\n 'border-color-y': ['border-color-t', 'border-color-b'],\n translate: ['translate-x', 'translate-y', 'translate-none'],\n 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],\n 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],\n 'scroll-mx': ['scroll-mr', 'scroll-ml'],\n 'scroll-my': ['scroll-mt', 'scroll-mb'],\n 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],\n 'scroll-px': ['scroll-pr', 'scroll-pl'],\n 'scroll-py': ['scroll-pt', 'scroll-pb'],\n touch: ['touch-x', 'touch-y', 'touch-pz'],\n 'touch-x': ['touch'],\n 'touch-y': ['touch'],\n 'touch-pz': ['touch']\n },\n conflictingClassGroupModifiers: {\n 'font-size': ['leading']\n },\n postfixLookupClassGroups: ['container-type'],\n orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']\n };\n};\n\n/**\n * @param baseConfig Config where other config will be merged into. This object will be mutated.\n * @param configExtension Partial config to merge into the `baseConfig`.\n */\nconst mergeConfigs = (baseConfig, {\n cacheSize,\n prefix,\n experimentalParseClassName,\n extend = {},\n override = {}\n}) => {\n overrideProperty(baseConfig, 'cacheSize', cacheSize);\n overrideProperty(baseConfig, 'prefix', prefix);\n overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);\n overrideConfigProperties(baseConfig.theme, override.theme);\n overrideConfigProperties(baseConfig.classGroups, override.classGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers);\n overrideProperty(baseConfig, 'postfixLookupClassGroups', override.postfixLookupClassGroups);\n overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers);\n mergeConfigProperties(baseConfig.theme, extend.theme);\n mergeConfigProperties(baseConfig.classGroups, extend.classGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers);\n mergeArrayProperties(baseConfig, extend, 'postfixLookupClassGroups');\n mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers');\n return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n if (overrideValue !== undefined) {\n baseObject[overrideKey] = overrideValue;\n }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n if (overrideObject) {\n for (const key in overrideObject) {\n overrideProperty(baseObject, key, overrideObject[key]);\n }\n }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n if (mergeObject) {\n for (const key in mergeObject) {\n mergeArrayProperties(baseObject, mergeObject, key);\n }\n }\n};\nconst mergeArrayProperties = (baseObject, mergeObject, key) => {\n const mergeValue = mergeObject[key];\n if (mergeValue !== undefined) {\n baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;\n }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);\nexport { createTailwindMerge, extendTailwindMerge, fromTheme, getDefaultConfig, mergeConfigs, twJoin, twMerge, validators };\n//# sourceMappingURL=bundle-mjs.mjs.map\n","import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import { cn } from '@/lib/utils'\nimport type { TemplateBadge, WorkflowStatus, ConfigStatus } from '@/components/types'\n\ntype BadgeVariant = TemplateBadge | WorkflowStatus | ConfigStatus\n\nconst variantMap: Record<BadgeVariant, string> = {\n Popular: 'bg-green-100 text-green-700',\n Fast: 'bg-orange-100 text-orange-600',\n Premium: 'bg-purple-100 text-purple-700',\n Complete: 'bg-blue-100 text-blue-700',\n AI: 'bg-teal-100 text-teal-700',\n Lean: 'bg-slate-100 text-slate-600',\n Active: 'bg-green-100 text-green-700',\n Draft: 'bg-orange-100 text-orange-600',\n Paused: 'bg-yellow-100 text-yellow-700',\n Stopped: 'bg-red-100 text-red-600',\n Configured: '',\n 'Configuration Pending': '',\n}\n\nconst solidConfigStyles: Partial<Record<BadgeVariant, React.CSSProperties>> = {\n Configured: { background: '#21C45D', color: '#fff', border: 'none' },\n 'Configuration Pending': { background: '#DC2828', color: '#fff', border: 'none' },\n}\n\ninterface StatusBadgeProps {\n status: BadgeVariant\n className?: string\n dot?: boolean\n}\n\nexport function StatusBadge({ status, className, dot = false }: StatusBadgeProps) {\n const solidStyle = solidConfigStyles[status]\n const isConfig = status === 'Configured' || status === 'Configuration Pending'\n\n return (\n <span\n className={cn(\n 'inline-flex items-center gap-1 rounded-full',\n isConfig\n ? 'px-[10px] py-[2px] text-[10px] font-semibold leading-[15px]'\n : 'px-2 py-0.5 text-xs font-medium',\n variantMap[status] ?? 'bg-gray-100 text-gray-600',\n className,\n )}\n style={solidStyle}\n >\n {dot && !isConfig && (\n <span\n className={cn('h-1.5 w-1.5 rounded-full', {\n 'bg-green-500': status === 'Active',\n 'bg-orange-500': status === 'Draft',\n 'bg-red-500': status === 'Stopped',\n })}\n />\n )}\n {status}\n </span>\n )\n}\n","import { Bot, Calendar, GraduationCap, Phone, Shield, Video } from 'lucide-react'\nimport { cn } from '../../lib/utils'\nimport type { ProductName } from '../types'\n\ninterface ProductConfig {\n label: string\n Icon: typeof Bot\n gradient: string\n}\n\n/* Match brand colors from Figma design */\nconst productConfig: Record<ProductName, ProductConfig> = {\n incscreen: {\n label: 'IncScreen',\n Icon: Phone,\n gradient: 'linear-gradient(135deg, #0d9488 0%, #14b8a6 100%)',\n },\n incbot: {\n label: 'IncBot',\n Icon: Bot,\n gradient: 'linear-gradient(135deg, #2563eb 0%, #3b82f6 100%)',\n },\n incvid: {\n label: 'IncVid',\n Icon: Video,\n gradient: 'linear-gradient(135deg, #4f46e5 0%, #6366f1 100%)',\n },\n incfeed: {\n label: 'IncFeed',\n Icon: Calendar,\n gradient: 'linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%)',\n },\n incserve: {\n label: 'IncServe',\n Icon: GraduationCap,\n gradient: 'linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%)',\n },\n incproctor: {\n label: 'IncProctor',\n Icon: Shield,\n gradient: 'linear-gradient(135deg, #475569 0%, #64748b 100%)',\n },\n}\n\nconst sizeMap = {\n sm: { box: 28, icon: 13, radius: 7 },\n md: { box: 36, icon: 17, radius: 9 },\n lg: { box: 48, icon: 22, radius: 12 },\n}\n\ninterface ProductIconProps {\n product: ProductName\n size?: 'sm' | 'md' | 'lg'\n className?: string\n}\n\nexport function ProductIcon({ product, size = 'md', className }: ProductIconProps) {\n const config = productConfig[product]\n const { box, icon, radius } = sizeMap[size]\n const { Icon, gradient } = config\n\n return (\n <span\n className={cn('flex flex-shrink-0 items-center justify-center', className)}\n style={{\n width: box,\n height: box,\n borderRadius: radius,\n background: gradient,\n }}\n >\n <Icon size={icon} color=\"#fff\" />\n </span>\n )\n}\n\nexport function getProductLabel(product: ProductName) {\n return productConfig[product]?.label ?? product\n}\n","import { Search } from 'lucide-react'\nimport { cn } from '@/lib/utils'\n\ninterface SearchBarProps {\n placeholder?: string\n shortcut?: string\n className?: string\n onSearch?: (value: string) => void\n}\n\nexport function SearchBar({\n placeholder = 'Search...',\n shortcut = '⌘K',\n className,\n onSearch,\n}: SearchBarProps) {\n return (\n <div className={cn('relative flex items-center', className)}>\n <Search size={14} className=\"absolute left-3 text-gray-400 pointer-events-none\" strokeWidth={2} />\n <input\n type=\"text\"\n placeholder={placeholder}\n onChange={(e) => onSearch?.(e.target.value)}\n className={cn(\n 'h-8 w-56 rounded-lg border border-gray-200 bg-gray-50',\n 'pl-8 pr-14 text-[13px] text-gray-700 placeholder:text-gray-400',\n 'focus:outline-none focus:ring-2 focus:ring-blue-400/30 focus:border-blue-400/60',\n 'transition-colors',\n )}\n />\n {shortcut && (\n <div className=\"absolute right-2.5 flex items-center gap-0.5 pointer-events-none\">\n <kbd className=\"flex items-center rounded bg-gray-100 px-1.5 py-0.5 text-[10px] font-medium text-gray-400 font-sans border border-gray-200\">\n {shortcut}\n </kbd>\n </div>\n )}\n </div>\n )\n}\n","import type { ReactNode } from 'react'\nimport { cn } from '@/lib/utils'\n\ninterface PageHeaderProps {\n title: string\n description?: string\n breadcrumb?: string\n actions?: ReactNode\n className?: string\n}\n\nexport function PageHeader({ title, description, breadcrumb, actions, className }: PageHeaderProps) {\n return (\n <div className={cn('flex items-start justify-between', className)}>\n <div>\n {breadcrumb && (\n <p className=\"mb-1 text-xs text-gray-400 uppercase tracking-wider\">{breadcrumb}</p>\n )}\n <h1 className=\"text-2xl font-bold text-gray-900\">{title}</h1>\n {description && <p className=\"mt-1 text-sm text-gray-500\">{description}</p>}\n </div>\n {actions && <div className=\"flex items-center gap-2\">{actions}</div>}\n </div>\n )\n}\n","import type { ReactNode } from 'react'\nimport { useState } from 'react'\nimport { Menu, ChevronsUpDown, UserCircle, CreditCard, type LucideIcon } from 'lucide-react'\nimport type { UserProfile } from '../types'\n\n/* ── Tokens ─────────────────────────────────────────────────── */\nconst BRAND = '#12b6bc'\nconst ACTIVE_BG = '#f5fbf8'\nconst HOVER_BG = 'rgba(0,0,0,0.03)'\nconst BORDER = 'rgba(0,0,0,0.07)'\n\n/* ── Nav item type ───────────────────────────────────────────── */\nexport interface SidebarNavItem {\n label: string\n Icon: LucideIcon\n href: string\n badge?: number\n hasChevron?: boolean\n}\n\n/* ── NavRow ──────────────────────────────────────────────────── */\nfunction NavRow({\n item,\n active,\n collapsed,\n onNavigate,\n}: {\n item: SidebarNavItem\n active: boolean\n collapsed?: boolean\n onNavigate?: (href: string) => void\n}) {\n return (\n <button\n onClick={() => onNavigate?.(item.href)}\n title={collapsed ? item.label : undefined}\n className=\"flex w-full items-center overflow-hidden\"\n style={{\n gap: collapsed ? 0 : 20,\n paddingLeft: collapsed ? 0 : 15,\n paddingRight: collapsed ? 0 : 10,\n paddingTop: 10,\n paddingBottom: 10,\n justifyContent: collapsed ? 'center' : undefined,\n background: active ? ACTIVE_BG : 'transparent',\n borderLeft: active ? `2px solid ${BRAND}` : '2px solid transparent',\n borderRadius: 0,\n }}\n onMouseEnter={(e) => {\n if (!active) (e.currentTarget as HTMLElement).style.background = HOVER_BG\n }}\n onMouseLeave={(e) => {\n if (!active) (e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n >\n <item.Icon\n size={22}\n style={{ flexShrink: 0, color: active ? BRAND : '#9ca3af', display: 'block' }}\n />\n\n {!collapsed && (\n <>\n <span\n className=\"flex-1 text-left\"\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 13,\n lineHeight: '24px',\n fontWeight: active ? 700 : 500,\n color: active ? BRAND : '#000',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {item.label}\n </span>\n\n {item.badge !== undefined && (\n <span\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 19,\n minWidth: 20,\n paddingInline: 4,\n borderRadius: 10,\n background: 'rgba(18,182,188,0.14)',\n color: BRAND,\n fontSize: 10,\n fontWeight: 600,\n flexShrink: 0,\n }}\n >\n {item.badge}\n </span>\n )}\n </>\n )}\n </button>\n )\n}\n\n/* ── Sidebar props ───────────────────────────────────────────── */\nexport interface SidebarProps {\n user: UserProfile\n logoSrc?: string\n logoAlt?: string\n navItems?: SidebarNavItem[]\n otherItems?: SidebarNavItem[]\n activeHref?: string\n onNavigate?: (href: string) => void\n onMyProfile?: () => void\n onAccountsBilling?: () => void\n children?: ReactNode\n}\n\nexport function Sidebar({\n user,\n logoSrc,\n logoAlt = 'Logo',\n navItems = [],\n otherItems = [],\n activeHref = '/',\n onNavigate,\n onMyProfile,\n onAccountsBilling,\n}: SidebarProps) {\n const [profileOpen, setProfileOpen] = useState(false)\n const [collapsed, setCollapsed] = useState(false)\n\n const initials = user.name\n .split(' ')\n .map((n) => n[0])\n .join('')\n .slice(0, 2)\n .toUpperCase()\n\n return (\n <aside\n className=\"flex h-screen flex-shrink-0 flex-col bg-white transition-all duration-200\"\n style={{ width: collapsed ? 52 : 250, borderRight: `1px solid ${BORDER}` }}\n >\n {/* Logo + hamburger */}\n <div\n className=\"flex flex-shrink-0 items-center\"\n style={{\n height: 52,\n padding: 10,\n borderBottom: `1px solid ${BORDER}`,\n justifyContent: collapsed ? 'center' : 'space-between',\n }}\n >\n {!collapsed && logoSrc && (\n <img src={logoSrc} alt={logoAlt} style={{ height: 36, width: 'auto', objectFit: 'contain' }} />\n )}\n <button\n onClick={() => {\n setCollapsed((v) => !v)\n setProfileOpen(false)\n }}\n className=\"flex items-center justify-center rounded-md text-gray-400 hover:bg-gray-100 transition-colors\"\n style={{ width: 28, height: 28, flexShrink: 0 }}\n aria-label=\"Toggle menu\"\n >\n <Menu size={16} />\n </button>\n </div>\n\n {/* User profile */}\n <div className=\"flex-shrink-0\">\n <button\n onClick={() => !collapsed && setProfileOpen((v) => !v)}\n className=\"flex w-full items-center transition-colors\"\n style={{\n gap: 12,\n padding: 12,\n background: 'rgba(18,182,188,0.05)',\n justifyContent: collapsed ? 'center' : undefined,\n }}\n >\n {user.avatarUrl ? (\n <img\n src={user.avatarUrl}\n alt={user.name}\n className=\"rounded-full object-cover\"\n style={{ width: 32, height: 32, flexShrink: 0 }}\n />\n ) : (\n <div\n className=\"flex items-center justify-center rounded-full text-white\"\n style={{\n width: 32,\n height: 32,\n flexShrink: 0,\n fontSize: 11,\n fontWeight: 700,\n background: 'linear-gradient(135deg, #3b82f6 0%, #12b6bc 100%)',\n }}\n >\n {initials}\n </div>\n )}\n {!collapsed && (\n <>\n <div className=\"flex-1 min-w-0 text-left\">\n <p\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 14,\n fontWeight: 500,\n color: '#000',\n lineHeight: '1.45',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.name}\n </p>\n <p\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 12,\n fontWeight: 400,\n color: '#3f3f3f',\n lineHeight: '1.5',\n marginTop: 1,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.role}\n </p>\n </div>\n <ChevronsUpDown size={16} style={{ color: '#9ca3af', flexShrink: 0 }} />\n </>\n )}\n </button>\n\n {profileOpen && (\n <>\n {[\n { label: 'My Profile', Icon: UserCircle, action: onMyProfile },\n { label: 'Accounts & Billing', Icon: CreditCard, action: onAccountsBilling },\n ].map(({ label, Icon, action }) => (\n <button\n key={label}\n onClick={action}\n className=\"flex w-full items-center overflow-hidden\"\n style={{\n gap: 20,\n paddingLeft: 15,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 10,\n background: 'transparent',\n borderLeft: '2px solid transparent',\n borderRadius: 0,\n }}\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = HOVER_BG\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n >\n <Icon size={22} style={{ color: '#878787', flexShrink: 0 }} />\n <span\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 13,\n lineHeight: '24px',\n fontWeight: 500,\n color: '#000',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {label}\n </span>\n </button>\n ))}\n </>\n )}\n </div>\n\n {/* Main nav */}\n <nav className=\"flex-1 overflow-y-auto\">\n {navItems.length > 0 && !collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Manrope', sans-serif\",\n }}\n >\n MAIN MENU\n </div>\n )}\n {navItems.map((item) => (\n <NavRow\n key={item.href}\n item={item}\n active={activeHref === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n />\n ))}\n </nav>\n\n {/* Other nav */}\n {otherItems.length > 0 && (\n <div className=\"flex-shrink-0\">\n {!collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 8,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Manrope', sans-serif\",\n borderTop: `1px solid ${BORDER}`,\n }}\n >\n OTHER\n </div>\n )}\n {collapsed && <div style={{ height: 8, borderTop: `1px solid ${BORDER}` }} />}\n {otherItems.map((item) => (\n <NavRow\n key={item.href}\n item={item}\n active={activeHref === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n />\n ))}\n <div style={{ height: 16 }} />\n </div>\n )}\n </aside>\n )\n}\n","import type { ReactNode } from 'react'\nimport { Bell } from 'lucide-react'\nimport { cn } from '../../lib/utils'\n\ninterface TopBarProps {\n title: string\n breadcrumb?: string\n actions?: ReactNode\n notificationCount?: number\n onBellClick?: () => void\n className?: string\n}\n\nexport function TopBar({\n title,\n breadcrumb,\n actions,\n notificationCount = 0,\n onBellClick,\n className,\n}: TopBarProps) {\n return (\n <header\n className={cn('flex h-[52px] flex-shrink-0 items-center justify-between bg-white px-6', className)}\n style={{ borderBottom: '1px solid rgba(0,0,0,0.07)' }}\n >\n {/* Left: title */}\n <div className=\"flex items-center gap-2 min-w-0\">\n <h2 className=\"text-[15px] font-bold text-gray-900 leading-none\">{title}</h2>\n {breadcrumb && (\n <>\n <span className=\"text-gray-300 leading-none\">/</span>\n <span className=\"text-[13px] text-gray-500 truncate\">{breadcrumb}</span>\n </>\n )}\n </div>\n\n {/* Right: optional actions + bell */}\n <div className=\"flex flex-shrink-0 items-center gap-2.5\">\n {actions}\n\n <button\n onClick={onBellClick}\n className=\"relative flex h-8 w-8 items-center justify-center rounded-lg text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-colors\"\n aria-label=\"Notifications\"\n >\n <Bell size={16} strokeWidth={1.75} />\n {notificationCount > 0 && (\n <span className=\"absolute right-1.5 top-1.5 flex h-2 w-2 rounded-full bg-blue-500 ring-1 ring-white\" />\n )}\n </button>\n </div>\n </header>\n )\n}\n","import type { ReactNode } from 'react'\nimport { cn } from '../../lib/utils'\nimport { Sidebar, type SidebarNavItem } from './Sidebar'\nimport { TopBar } from './TopBar'\nimport type { UserProfile } from '../types'\n\nexport interface AppShellProps {\n user: UserProfile\n logoSrc?: string\n logoAlt?: string\n navItems?: SidebarNavItem[]\n otherItems?: SidebarNavItem[]\n activeHref?: string\n topBarTitle?: string\n topBarBreadcrumb?: string\n topBarActions?: ReactNode\n notificationCount?: number\n onNavigate?: (href: string) => void\n onMyProfile?: () => void\n onAccountsBilling?: () => void\n onBellClick?: () => void\n children: ReactNode\n className?: string\n}\n\nexport function AppShell({\n user,\n logoSrc,\n logoAlt,\n navItems,\n otherItems,\n activeHref,\n topBarTitle = '',\n topBarBreadcrumb,\n topBarActions,\n notificationCount,\n onNavigate,\n onMyProfile,\n onAccountsBilling,\n onBellClick,\n children,\n className,\n}: AppShellProps) {\n return (\n <div className=\"flex h-screen overflow-hidden bg-gray-50\">\n <Sidebar\n user={user}\n logoSrc={logoSrc}\n logoAlt={logoAlt}\n navItems={navItems}\n otherItems={otherItems}\n activeHref={activeHref}\n onNavigate={onNavigate}\n onMyProfile={onMyProfile}\n onAccountsBilling={onAccountsBilling}\n />\n\n <div className=\"flex flex-1 min-w-0 flex-col overflow-hidden\">\n <TopBar\n title={topBarTitle}\n breadcrumb={topBarBreadcrumb}\n actions={topBarActions}\n notificationCount={notificationCount}\n onBellClick={onBellClick}\n />\n\n <main\n className={cn('flex-1 overflow-y-auto', className)}\n style={{ margin: 12, borderRadius: 6, border: '1px solid #E5E7EB', background: '#fff' }}\n >\n {children}\n </main>\n </div>\n </div>\n )\n}\n","interface WelcomeBannerProps {\n name: string\n subtitle?: string\n}\n\nexport function WelcomeBanner({\n name,\n subtitle = '',\n}: WelcomeBannerProps) {\n const firstName = name.split(' ')[0]\n\n return (\n <div>\n <h1 className=\"text-[26px] font-bold leading-tight text-gray-900\">\n Welcome back,{' '}\n <span style={{ color: '#3b82f6' }}>{firstName}</span>{' '}\n <span aria-hidden>👋</span>\n </h1>\n <p className=\"mt-1.5 text-[13.5px] text-gray-500\">{subtitle}</p>\n </div>\n )\n}\n","import type { ReactNode } from 'react'\nimport { cn } from '@/lib/utils'\n\ninterface QuickActionCardProps {\n icon: ReactNode\n iconBg?: string\n title: string\n subtitle: string\n onClick?: () => void\n className?: string\n}\n\nexport function QuickActionCard({\n icon,\n iconBg = '#eff6ff',\n title,\n subtitle,\n onClick,\n className,\n}: QuickActionCardProps) {\n return (\n <button\n onClick={onClick}\n className={cn(\n 'flex items-center gap-4 rounded-xl bg-white px-5 py-4 text-left',\n 'transition-all',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/40',\n className,\n )}\n style={{\n border: '1px solid rgba(0,0,0,0.07)',\n }}\n >\n <div\n className=\"flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-xl\"\n style={{ background: iconBg }}\n >\n {icon}\n </div>\n <div>\n <p className=\"text-[13.5px] font-semibold text-gray-900 leading-snug\">{title}</p>\n <p className=\"mt-0.5 text-[12px] text-gray-500 leading-snug\">{subtitle}</p>\n </div>\n </button>\n )\n}\n","import { ProductIcon } from '@/components/common/ProductIcon'\nimport type { SubscriptionData } from '@/components/types'\n\ninterface SubscriptionCardProps extends SubscriptionData {\n onOpenDashboard?: () => void\n}\n\nexport function SubscriptionCard({\n name,\n product,\n status,\n validTill,\n usage,\n onOpenDashboard,\n}: SubscriptionCardProps) {\n const isActive = status === 'Active'\n\n return (\n <div\n className=\"flex items-center gap-4 rounded-xl bg-white px-5 py-4\"\n style={{ border: '1px solid rgba(0,0,0,0.07)' }}\n >\n <ProductIcon product={product} size=\"md\" className=\"flex-shrink-0\" />\n\n <div className=\"min-w-0 flex-1\">\n <p className=\"truncate text-[13px] font-semibold\" style={{ color: '#111118' }}>{name}</p>\n <div className=\"mt-1 flex items-center gap-1.5\">\n <span\n className=\"inline-block h-[6px] w-[6px] rounded-full\"\n style={{ background: isActive ? '#16a34a' : '#f59e0b' }}\n />\n <span className=\"text-[11.5px] font-medium\" style={{ color: isActive ? '#16a34a' : '#d97706' }}>\n {status}\n </span>\n <span className=\"text-[11.5px]\" style={{ color: '#d1d5db' }}>·</span>\n <span className=\"text-[11.5px]\" style={{ color: '#9ca3af' }}>Valid till {validTill}</span>\n </div>\n </div>\n\n {/* Usage bar */}\n <div className=\"hidden w-32 flex-shrink-0 sm:block\">\n <div className=\"flex items-center justify-between mb-1.5\">\n <span className=\"text-[10.5px]\" style={{ color: '#aab' }}>Usage</span>\n <span className=\"text-[10.5px] font-semibold\" style={{ color: '#374151' }}>{usage}%</span>\n </div>\n <div className=\"h-[3px] w-full overflow-hidden rounded-full\" style={{ background: 'rgba(0,0,0,0.06)' }}>\n <div\n className=\"h-full rounded-full transition-all\"\n style={{\n width: `${usage}%`,\n background: 'linear-gradient(90deg, #133f7d 0%, #12b6bc 100%)',\n }}\n />\n </div>\n </div>\n\n {/* Open Dashboard — Figma: light gray button */}\n <button\n onClick={onOpenDashboard}\n className=\"ml-2 flex-shrink-0 rounded-lg text-[11px] font-medium transition-colors hover:bg-gray-200\"\n style={{\n background: '#f1f2f4',\n border: '1px solid rgba(0,0,0,0.10)',\n color: '#111118',\n height: 28,\n padding: '0 11px',\n }}\n >\n Open Dashboard\n </button>\n </div>\n )\n}\n","interface AIBannerProps {\n product: string\n message: string\n ctaLabel?: string\n onExplore?: () => void\n}\n\nexport function AIBanner({ product, message, ctaLabel = 'Explore →', onExplore }: AIBannerProps) {\n return (\n <div\n className=\"flex items-center gap-3 px-4 py-3\"\n style={{\n borderRadius: 12,\n border: '1px dashed rgba(99, 102, 241, 0.25)',\n background: 'rgba(99, 102, 241, 0.04)',\n }}\n >\n <span className=\"flex-shrink-0 text-base leading-none\" aria-hidden>\n 💡\n </span>\n <p className=\"flex-1 text-[13px] text-gray-600 leading-snug\">\n Based on your usage,{' '}\n <span className=\"font-semibold text-gray-900\">{product}</span>{' '}\n {message}{' '}\n <button\n onClick={onExplore}\n className=\"font-semibold text-blue-600 hover:underline\"\n style={{ background: 'none', border: 'none', cursor: 'pointer', padding: 0 }}\n >\n {ctaLabel}\n </button>\n </p>\n </div>\n )\n}\n","import { ArrowRight, Workflow } from 'lucide-react'\nimport type { TemplateBadge } from '@/components/types'\n\ninterface WorkflowTemplateCardProps {\n icon: string\n title: string\n description: string\n badge: TemplateBadge\n steps: string[]\n onUseTemplate?: () => void\n}\n\nconst BADGE_COLOR: Record<TemplateBadge, string> = {\n Popular: '#2563eb',\n Fast: '#d97706',\n Premium: '#7c3aed',\n Complete: '#c2410c',\n AI: '#0d9488',\n Lean: '#a16207',\n}\n\nexport function WorkflowTemplateCard({\n title,\n description,\n badge,\n steps,\n onUseTemplate,\n}: WorkflowTemplateCardProps) {\n const badgeColor = BADGE_COLOR[badge] ?? BADGE_COLOR.Popular\n\n return (\n <div\n className=\"flex flex-col rounded-2xl bg-white transition-colors hover:border-gray-300\"\n style={{\n border: '1px solid rgba(0,0,0,0.08)',\n padding: '20px',\n }}\n >\n {/* Header: icon + badge text */}\n <div className=\"flex items-start justify-between mb-4\">\n <div\n style={{\n width: 44,\n height: 44,\n borderRadius: 12,\n background: 'rgba(16,185,129,0.12)',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n }}\n >\n <Workflow size={22} color=\"#10b981\" />\n </div>\n <span\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 13,\n fontWeight: 600,\n color: badgeColor,\n }}\n >\n {badge}\n </span>\n </div>\n\n {/* Title */}\n <h3\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 16,\n fontWeight: 700,\n color: '#111118',\n marginBottom: 8,\n }}\n >\n {title}\n </h3>\n\n {/* Description */}\n <p\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 13,\n lineHeight: '1.6',\n color: '#6b7280',\n marginBottom: 20,\n flexGrow: 1,\n }}\n >\n {description}\n </p>\n\n {/* Steps + inline \"+ Use Template\" */}\n <div className=\"flex flex-wrap items-center gap-1.5\">\n {steps.map((step, i) => (\n <span key={step} className=\"flex items-center gap-1\">\n <span\n style={{\n background: '#f1f5f9',\n color: '#475569',\n border: '1px solid #e2e8f0',\n borderRadius: 6,\n padding: '3px 8px',\n fontSize: 11,\n fontFamily: \"'Manrope', sans-serif\",\n fontWeight: 500,\n }}\n >\n {step}\n </span>\n {i < steps.length - 1 && (\n <ArrowRight size={9} style={{ color: '#cbd5e1', flexShrink: 0 }} />\n )}\n </span>\n ))}\n <button\n onClick={onUseTemplate}\n style={{\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 12,\n fontWeight: 500,\n color: '#6b7280',\n background: 'none',\n border: 'none',\n cursor: 'pointer',\n padding: 0,\n marginLeft: 4,\n whiteSpace: 'nowrap',\n }}\n className=\"hover:text-gray-900 transition-colors\"\n >\n + Use Template\n </button>\n </div>\n </div>\n )\n}\n","import { useState, useRef, useEffect } from 'react'\nimport {\n Play,\n FileText,\n ArrowRight,\n Pencil,\n UserPlus,\n MoreVertical,\n Pause,\n Square,\n Copy,\n} from 'lucide-react'\nimport type { WorkflowData } from '@/components/types'\n\ntype ExtendedStatus = WorkflowData['status'] | 'Paused' | 'Stopped'\n\nexport interface WorkflowListItemProps extends Omit<WorkflowData, 'status'> {\n status: ExtendedStatus\n onEdit?: () => void\n onAddCandidate?: () => void\n onReplicate?: () => void\n onPause?: () => void\n onResume?: () => void\n onStop?: () => void\n onDelete?: () => void\n}\n\nconst STATUS_STYLE: Record<string, { bg: string; color: string; border: string }> = {\n Active: { bg: '#f0fdf4', color: '#15803d', border: '#bbf7d0' },\n Paused: { bg: '#fefce8', color: '#a16207', border: '#fde68a' },\n Stopped: { bg: '#fef2f2', color: '#b91c1c', border: '#fecaca' },\n Draft: { bg: '#fff7ed', color: '#c2410c', border: '#fed7aa' },\n}\n\nconst STATUS_ICON: Record<string, React.ReactNode> = {\n Active: <Play size={15} fill=\"#16a34a\" style={{ color: '#16a34a' }} />,\n Paused: <Pause size={15} fill=\"#ca8a04\" style={{ color: '#ca8a04' }} />,\n Stopped: <Square size={15} fill=\"#dc2626\" style={{ color: '#dc2626' }} />,\n Draft: <FileText size={15} style={{ color: '#ea580c' }} />,\n}\n\nconst STATUS_ICON_BG: Record<string, string> = {\n Active: '#f0fdf4',\n Paused: '#fefce8',\n Stopped: '#fef2f2',\n Draft: '#fff7ed',\n}\n\nexport function WorkflowListItem({\n title,\n steps,\n createdAt,\n status,\n candidates,\n hired,\n onEdit,\n onAddCandidate,\n onReplicate,\n onPause,\n onResume,\n onStop,\n onDelete,\n}: WorkflowListItemProps) {\n const [menuOpen, setMenuOpen] = useState(false)\n const menuRef = useRef<HTMLDivElement>(null)\n\n useEffect(() => {\n function handler(e: MouseEvent) {\n if (menuRef.current && !menuRef.current.contains(e.target as Node)) setMenuOpen(false)\n }\n document.addEventListener('mousedown', handler)\n return () => document.removeEventListener('mousedown', handler)\n }, [])\n\n const style = STATUS_STYLE[status] ?? STATUS_STYLE.Draft\n const icon = STATUS_ICON[status] ?? STATUS_ICON.Draft\n const iconBg = STATUS_ICON_BG[status] ?? STATUS_ICON_BG.Draft\n const canAddCandidate = status === 'Active'\n\n return (\n <div className=\"flex items-center gap-4 rounded-xl border border-[rgba(0,0,0,0.06)] bg-white px-5 py-4 transition-colors hover:border-gray-200\">\n {/* Status icon */}\n <div\n className=\"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-full\"\n style={{ background: iconBg }}\n >\n {icon}\n </div>\n\n {/* Info */}\n <div className=\"min-w-0 flex-1\">\n <p className=\"truncate text-[13.5px] font-semibold text-gray-900\">{title}</p>\n <div className=\"mt-1 flex flex-wrap items-center gap-1.5\">\n {steps.map((step, i) => (\n <span key={step} className=\"flex items-center gap-1.5\">\n <span className=\"text-[12px] text-gray-500\">{step}</span>\n {i < steps.length - 1 && <ArrowRight size={9} className=\"text-gray-300\" />}\n </span>\n ))}\n <span className=\"text-gray-300 text-[12px] select-none\">·</span>\n <span className=\"text-[12px] text-gray-400\">Created {createdAt}</span>\n </div>\n </div>\n\n {/* Stats */}\n <div className=\"hidden flex-shrink-0 sm:flex items-center gap-5\">\n <div className=\"text-center\">\n <p className=\"text-[15px] font-bold text-gray-900\">{candidates}</p>\n <p className=\"text-[10.5px] text-gray-400\">Candidates</p>\n </div>\n <div className=\"text-center\">\n <p className=\"text-[15px] font-bold text-gray-900\">{hired}</p>\n <p className=\"text-[10.5px] text-gray-400\">Hired</p>\n </div>\n </div>\n\n {/* Status badge */}\n <span\n className=\"flex-shrink-0 rounded-full px-2.5 py-0.5 text-[11px] font-semibold\"\n style={{ background: style.bg, color: style.color, border: `1px solid ${style.border}` }}\n >\n {status}\n </span>\n\n {/* Actions */}\n <div className=\"flex flex-shrink-0 items-center gap-2\">\n <button\n onClick={onEdit}\n className=\"flex items-center gap-1.5 rounded-lg border border-[#e5e7eb] px-3 h-[28px] text-[12px] font-medium text-gray-600 hover:bg-gray-50 transition-colors\"\n >\n <Pencil size={11} />\n Edit\n </button>\n <button\n onClick={onAddCandidate}\n disabled={!canAddCandidate}\n className=\"flex items-center gap-1.5 rounded-lg h-[28px] px-3 text-[12px] font-medium text-white transition-opacity hover:opacity-90 disabled:opacity-40 disabled:cursor-not-allowed\"\n style={{ background: '#133F7D' }}\n >\n <UserPlus size={11} />\n Add Candidate\n </button>\n\n {/* 3-dot menu */}\n <div ref={menuRef} className=\"relative\">\n <button\n onClick={() => setMenuOpen((v) => !v)}\n className=\"flex h-[28px] w-[28px] items-center justify-center rounded-lg border border-[#e5e7eb] text-gray-400 hover:bg-gray-50 transition-colors\"\n >\n <MoreVertical size={14} />\n </button>\n\n {menuOpen && (\n <div className=\"absolute right-0 top-full mt-1 z-50 w-44 rounded-xl border border-gray-200 bg-white shadow-lg overflow-hidden\">\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onReplicate?.()\n }}\n >\n <Copy size={13} className=\"text-gray-400\" />\n Replicate\n </button>\n\n {status === 'Paused' ? (\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onResume?.()\n }}\n >\n <Play size={13} className=\"text-gray-400\" />\n Resume Workflow\n </button>\n ) : status === 'Active' ? (\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onPause?.()\n }}\n >\n <Pause size={13} className=\"text-gray-400\" />\n Pause Workflow\n </button>\n ) : null}\n\n {status !== 'Stopped' && (\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-gray-700 hover:bg-gray-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onStop?.()\n }}\n >\n <Square size={13} className=\"text-gray-400\" />\n Stop Workflow\n </button>\n )}\n\n <div className=\"h-px bg-gray-100\" />\n <button\n className=\"flex w-full items-center gap-2.5 px-4 py-2.5 text-[13px] text-red-500 hover:bg-red-50 transition-colors\"\n onClick={() => {\n setMenuOpen(false)\n onDelete?.()\n }}\n >\n <FileText size={13} className=\"text-red-400\" />\n Delete\n </button>\n </div>\n )}\n </div>\n </div>\n </div>\n )\n}\n","import { Settings, Trash2, Briefcase } from 'lucide-react'\nimport { ProductIcon } from '../common/ProductIcon'\nimport { cn } from '../../lib/utils'\nimport type { NodeType, ProductName, ConfigStatus, PipelineNodeConfig } from '../types'\n\nconst productNameMap: Record<ProductName, string> = {\n incscreen: 'IncScreen',\n incbot: 'IncBot',\n incvid: 'IncVid',\n incfeed: 'IncFeed',\n incserve: 'IncServe',\n incproctor: 'IncProctor',\n}\n\n/* Configured (not editable) — navy tint */\nconst CONFIGURED_STYLE = {\n border: '2px solid rgba(19,63,125,0.30)',\n background: 'rgba(19,63,125,0.05)',\n boxShadow: 'none',\n}\n\n/* Editable (pending / default) — white with subtle shadow */\nconst EDITABLE_STYLE = {\n border: '1px solid rgba(19,63,125,0.12)',\n background: '#ffffff',\n boxShadow: '0 1px 3px 0 rgba(15,23,41,0.05), 0 1px 2px -1px rgba(15,23,41,0.05)',\n}\n\nfunction computeDetails(\n type: NodeType,\n product: ProductName | undefined,\n status: ConfigStatus | undefined,\n config: PipelineNodeConfig | undefined,\n fallback: string | undefined,\n): string {\n if (status === 'Configuration Pending') return 'Configuration Pending...'\n\n if (type === 'onboarding') return 'Auto-create entry in onboarding dashboard'\n\n if (!config) return fallback ?? ''\n\n if (type === 'position') {\n const parts: string[] = []\n if (config.title) parts.push(config.title)\n if (config.domain) parts.push(config.domain)\n if (config.expRange) parts.push(config.expRange)\n if (config.positionCount) parts.push(`${config.positionCount} pos`)\n if (config.skillCount) parts.push(`${config.skillCount} skills`)\n return parts.join(' · ')\n }\n\n if (product === 'incscreen') {\n const parts: string[] = []\n if (config.interviewType) parts.push(config.interviewType)\n if (config.questionSetId) parts.push(`#${config.questionSetId}`)\n return parts.join(' · ') || (fallback ?? '')\n }\n\n if (product === 'incbot') {\n const parts: string[] = []\n if (config.interviewType) parts.push(config.interviewType)\n if (config.questionSetId) parts.push(`#${config.questionSetId}`)\n if (config.linkExpiry) parts.push(config.linkExpiry)\n return parts.join(' · ') || (fallback ?? '')\n }\n\n if (product === 'incfeed' || product === 'incvid' || product === 'incserve') {\n const parts: string[] = []\n if (config.panelistCount) parts.push(`${config.panelistCount} panelists`)\n if (config.schedulingType) parts.push(config.schedulingType)\n return parts.join(' · ') || (fallback ?? '')\n }\n\n return fallback ?? ''\n}\n\ninterface PipelineNodeProps {\n type?: NodeType\n product?: ProductName\n productTag?: string\n status?: ConfigStatus\n config?: PipelineNodeConfig\n details?: string\n iconUrl?: string\n onSettings?: () => void\n onDelete?: () => void\n className?: string\n}\n\nexport function PipelineNode({\n type = 'product',\n product,\n productTag,\n status,\n config,\n details,\n iconUrl,\n onSettings,\n onDelete,\n className,\n}: PipelineNodeProps) {\n const isPosition = type === 'position'\n const isOnboarding = type === 'onboarding'\n\n const isConfigured = status === 'Configured' || isPosition || isOnboarding\n const cardStyle = isConfigured ? CONFIGURED_STYLE : EDITABLE_STYLE\n\n const displayName = isPosition\n ? 'Position'\n : isOnboarding\n ? 'Onboarding'\n : product && Object.prototype.hasOwnProperty.call(productNameMap, product)\n ? productNameMap[product]\n : ''\n\n const description = computeDetails(type, product, status, config, details)\n\n return (\n <div\n className={cn('flex items-center gap-3.5 px-4 py-3.5 w-full max-w-lg', className)}\n style={{\n borderRadius: 12,\n border: cardStyle.border,\n background: cardStyle.background,\n boxShadow: cardStyle.boxShadow,\n }}\n >\n {/* Icon */}\n {isPosition || isOnboarding ? (\n <div\n className=\"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-lg\"\n style={{ background: isPosition ? '#e0e7ff' : '#dcfce7' }}\n >\n <Briefcase size={17} style={{ color: isPosition ? '#6366f1' : '#16a34a' }} />\n </div>\n ) : product ? (\n iconUrl ? (\n <img\n src={iconUrl}\n alt={product}\n className=\"flex-shrink-0 rounded-md object-cover\"\n style={{ width: 36, height: 36 }}\n />\n ) : (\n <ProductIcon product={product} size=\"md\" className=\"flex-shrink-0\" />\n )\n ) : null}\n\n {/* Content */}\n <div className=\"flex-1 min-w-0\">\n <div className=\"flex items-center gap-2 flex-wrap\">\n <span className=\"text-[13.5px] font-bold text-gray-900\">{displayName}</span>\n {productTag && (\n <span\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n padding: '2px 10px',\n borderRadius: 9999,\n border: '1px solid #E5E7EB',\n color: '#0F1729',\n fontSize: 10,\n fontWeight: 600,\n lineHeight: '15px',\n whiteSpace: 'nowrap',\n }}\n >\n {productTag}\n </span>\n )}\n {status && (\n <span\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n borderRadius: 9999,\n border: '1px solid transparent',\n background: status === 'Configured' ? '#21C45D' : '#DC2828',\n padding: '2px 10px',\n color: '#FFF',\n fontSize: 10,\n fontWeight: 600,\n lineHeight: '15px',\n whiteSpace: 'nowrap',\n }}\n >\n {status}\n </span>\n )}\n </div>\n {description && (\n <p className=\"mt-0.5 truncate text-[12px]\" style={{ color: '#6b7280' }}>\n {description}\n </p>\n )}\n </div>\n\n {/* Action buttons */}\n <div className=\"flex flex-shrink-0 items-center gap-0.5\">\n <button\n onClick={onSettings}\n className=\"rounded-md p-1.5 hover:bg-white/70 transition-colors\"\n style={{ color: '#0F1729' }}\n aria-label=\"Settings\"\n >\n <Settings size={14} />\n </button>\n {!isPosition && (\n <button\n onClick={onDelete}\n className=\"rounded-md p-1.5 text-gray-400 hover:text-red-500 transition-colors\"\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = '#fee2e2'\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n aria-label=\"Delete\"\n >\n <Trash2 size={14} color=\"#DC2828\" />\n </button>\n )}\n </div>\n </div>\n )\n}\n","import { GitMerge, Hand, Zap, Settings2 } from 'lucide-react'\nimport { cn } from '../../lib/utils'\nimport type { Branch, ConnectorType } from '../types'\n\nconst branchColorMap = {\n green: 'border-green-300 bg-green-50 text-green-700',\n yellow: 'border-orange-300 bg-orange-50 text-orange-700',\n red: 'border-red-300 bg-red-50 text-red-600',\n}\n\ninterface ConditionalBranchProps {\n type: ConnectorType\n branches?: Branch[]\n threshold?: number\n className?: string\n onClick?: () => void\n}\n\nexport function ConditionalBranch({\n type,\n branches = [],\n threshold,\n className,\n onClick,\n}: ConditionalBranchProps) {\n const isManual = type === 'manual-review'\n const isAutomatic = type === 'automatic'\n const isConditional = type === 'conditional'\n\n const pillContent = isManual ? (\n <>\n <Hand size={12} />\n Manual Review\n </>\n ) : isAutomatic ? (\n <>\n <Zap size={12} />\n {`Automatic${threshold !== undefined ? ` @ ${threshold}%` : ''}`}\n </>\n ) : isConditional ? (\n <>\n <GitMerge size={12} />\n Conditional\n </>\n ) : (\n <>\n <Settings2 size={12} />\n Condition Not Configured\n </>\n )\n\n const pillInlineStyle: React.CSSProperties = isAutomatic\n ? {\n border: '1px solid rgba(60, 131, 246, 0.30)',\n background: 'rgba(60, 131, 246, 0.10)',\n color: '#3C83F6',\n }\n : isManual\n ? {\n border: '1px solid rgba(245, 159, 10, 0.30)',\n background: 'rgba(245, 159, 10, 0.10)',\n color: '#F59F0A',\n }\n : isConditional\n ? {\n border: '1px solid rgba(13, 148, 136, 0.30)',\n background: 'rgba(13, 148, 136, 0.10)',\n color: '#0d9488',\n }\n : {\n border: '1px solid #d1d5db',\n background: '#fff',\n color: '#9ca3af',\n }\n\n const pillBaseStyle: React.CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n padding: '4px 10px',\n borderRadius: 9999,\n fontSize: 12,\n fontWeight: 500,\n lineHeight: '16px',\n whiteSpace: 'nowrap',\n ...pillInlineStyle,\n }\n\n return (\n <div className={cn('flex flex-col items-center gap-2', className)}>\n {onClick ? (\n <button\n onClick={onClick}\n style={{\n ...pillBaseStyle,\n cursor: 'pointer',\n transition: 'all 0.15s',\n }}\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.opacity = '0.8'\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.opacity = '1'\n }}\n >\n {pillContent}\n </button>\n ) : (\n <div style={pillBaseStyle}>{pillContent}</div>\n )}\n\n {isConditional && branches.length > 0 && (\n <div className=\"flex flex-wrap items-center justify-center gap-2\">\n {branches.map((branch) => (\n <span\n key={branch.label}\n className={cn(\n 'rounded-full border px-3 py-1 text-[11px] font-medium',\n branchColorMap[branch.color],\n )}\n >\n {branch.label}\n </span>\n ))}\n </div>\n )}\n </div>\n )\n}\n","import { Plus } from 'lucide-react'\nimport { cn } from '../../lib/utils'\n\ninterface AddStepButtonProps {\n onClick?: () => void\n className?: string\n}\n\nexport function AddStepButton({ onClick, className }: AddStepButtonProps) {\n return (\n <button\n onClick={onClick}\n aria-label=\"Add step\"\n className={cn(\n 'flex h-7 w-7 items-center justify-center rounded-full border-2 border-dashed border-gray-300 text-gray-400',\n 'transition-all hover:border-blue-400 hover:bg-blue-50 hover:text-blue-600 hover:scale-110',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500',\n className,\n )}\n style={{ background: '#F8F9FB' }}\n >\n <Plus size={14} />\n </button>\n )\n}\n","import { GraduationCap } from 'lucide-react'\nimport { ProductIcon, getProductLabel } from '../common/ProductIcon'\nimport type { ProductName } from '../types'\n\nexport type DragItem = { kind: 'product'; product: ProductName } | { kind: 'onboarding' }\n\nexport interface SubscribedProduct {\n subdomain: string\n icon?: string\n}\n\nconst AVAILABLE_PRODUCTS: { product: ProductName; description: string }[] = [\n { product: 'incscreen', description: 'Conversational AI Recruiter' },\n { product: 'incbot', description: 'AI Video Interview Software' },\n { product: 'incvid', description: 'Video Interview Portal' },\n { product: 'incfeed', description: 'Interview Scheduling Software' },\n { product: 'incserve', description: 'Interview as a Service' },\n]\n\nfunction GripDots() {\n return (\n <div className=\"grid grid-cols-2 gap-[3px] flex-shrink-0\">\n {Array.from({ length: 6 }).map((_, i) => (\n <div key={i} className=\"h-[4px] w-[4px] rounded-full bg-gray-300\" />\n ))}\n </div>\n )\n}\n\nfunction ProductAvatar({ product, iconUrl }: { product: ProductName; iconUrl?: string }) {\n if (iconUrl) {\n return (\n <img\n src={iconUrl}\n alt={product}\n className=\"flex-shrink-0 rounded-md object-cover\"\n style={{ width: 28, height: 28 }}\n />\n )\n }\n return <ProductIcon product={product} size=\"sm\" />\n}\n\ninterface ProductDragPanelProps {\n open: boolean\n onClose: () => void\n onSelectProduct?: (product: ProductName) => void\n onSelectItem?: (item: DragItem) => void\n subscribedProducts?: SubscribedProduct[]\n showOnboarding?: boolean\n addedProducts?: string[]\n onboardingAdded?: boolean\n}\n\nexport function ProductDragPanel({\n open,\n onClose,\n onSelectProduct,\n onSelectItem,\n subscribedProducts,\n showOnboarding = false,\n addedProducts = [],\n onboardingAdded = false,\n}: ProductDragPanelProps) {\n if (!open) return null\n\n const iconMap = new Map<string, string | undefined>(\n (subscribedProducts ?? [])\n .filter((p) => p.subdomain)\n .map((p) => [p.subdomain.toLowerCase(), p.icon]),\n )\n\n const visibleProducts =\n subscribedProducts && subscribedProducts.length > 0\n ? AVAILABLE_PRODUCTS.filter(({ product }) => iconMap.has(product.toLowerCase()))\n : AVAILABLE_PRODUCTS\n\n function handleSelect(product: ProductName) {\n if (addedProducts.includes(product)) return\n onSelectProduct?.(product)\n onSelectItem?.({ kind: 'product', product })\n onClose()\n }\n\n function handleOnboarding() {\n if (onboardingAdded) return\n onSelectItem?.({ kind: 'onboarding' })\n onClose()\n }\n\n return (\n <aside className=\"flex w-[300px] flex-shrink-0 flex-col border-l border-gray-200 overflow-hidden\">\n <div className=\"px-4 py-3.5\" style={{ background: '#133F7D' }}>\n <h3 className=\"text-[12.5px] font-bold text-white leading-snug\">\n Drag & Drop Products to create Workflow\n </h3>\n <p className=\"mt-1 text-[11px] text-white/60 leading-snug\">\n Set the conditions to execute further flow\n </p>\n </div>\n\n <div className=\"flex-1 overflow-y-auto bg-[#f5f6f8] p-2.5 flex flex-col gap-2\">\n {visibleProducts.map(({ product, description }) => {\n const isAdded = addedProducts.includes(product)\n return (\n <button\n key={product}\n draggable={!isAdded}\n onDragEnd={() => !isAdded && handleSelect(product)}\n onClick={() => handleSelect(product)}\n disabled={isAdded}\n className=\"flex w-full items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-2.5 py-2.5 text-left transition-all\"\n style={{\n opacity: isAdded ? 0.4 : 1,\n cursor: isAdded ? 'not-allowed' : 'grab',\n }}\n >\n <GripDots />\n <ProductAvatar product={product} iconUrl={iconMap.get(product.toLowerCase())} />\n <div className=\"min-w-0\">\n <p className=\"text-[12px] font-bold text-gray-900 leading-tight\">\n {getProductLabel(product)}:\n </p>\n <p className=\"text-[10.5px] text-gray-500 leading-tight\">{description}</p>\n </div>\n </button>\n )\n })}\n\n {showOnboarding && (\n <button\n draggable={!onboardingAdded}\n onDragEnd={() => !onboardingAdded && handleOnboarding()}\n onClick={handleOnboarding}\n disabled={onboardingAdded}\n className=\"flex w-full items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-2.5 py-2.5 text-left transition-all\"\n style={{\n opacity: onboardingAdded ? 0.4 : 1,\n cursor: onboardingAdded ? 'not-allowed' : 'grab',\n }}\n >\n <GripDots />\n <div\n className=\"flex h-7 w-7 items-center justify-center rounded-md flex-shrink-0\"\n style={{ background: 'linear-gradient(135deg, #16a34a 0%, #22c55e 100%)' }}\n >\n <GraduationCap size={14} color=\"#fff\" />\n </div>\n <div className=\"min-w-0\">\n <p className=\"text-[12px] font-bold text-gray-900 leading-tight\">Onboarding:</p>\n <p className=\"text-[10.5px] text-gray-500 leading-tight\">Candidate Onboarding</p>\n </div>\n </button>\n )}\n </div>\n </aside>\n )\n}\n","import { useState } from 'react'\nimport { X, Zap, User } from 'lucide-react'\nimport { getProductLabel } from '../common/ProductIcon'\nimport type { ProductName, TransitionCondition, TransitionType, IncScreenAdvanceOn } from '../types'\n\ninterface TransitionConditionDialogProps {\n product: ProductName\n onSave: (condition: TransitionCondition) => void\n onCancel: () => void\n}\n\nconst THRESHOLD_LABEL: Record<string, string> = {\n incscreen: 'Resume Score Threshold',\n position: 'Resume Score Threshold',\n}\n\nfunction getThresholdLabel(product: ProductName): string {\n return THRESHOLD_LABEL[product] ?? 'Pass Threshold'\n}\n\nexport function TransitionConditionDialog({\n product,\n onSave,\n onCancel,\n}: TransitionConditionDialogProps) {\n const [transitionType, setTransitionType] = useState<TransitionType>('Automatic')\n const [threshold, setThreshold] = useState(60)\n const [advanceOn, setAdvanceOn] = useState<IncScreenAdvanceOn>('Qualified')\n\n const isIncScreen = product === 'incscreen'\n\n function handleSave() {\n const condition: TransitionCondition = {\n type: transitionType,\n ...(transitionType === 'Automatic' && !isIncScreen && { threshold }),\n ...(transitionType === 'Automatic' && isIncScreen && { advanceOn }),\n }\n onSave(condition)\n }\n\n return (\n /* Backdrop */\n <div\n className=\"fixed inset-0 z-50 flex items-center justify-center\"\n style={{ background: 'rgba(0,0,0,0.35)' }}\n onClick={(e) => {\n if (e.target === e.currentTarget) onCancel()\n }}\n >\n <div\n className=\"relative w-[560px] rounded-xl bg-white shadow-2xl\"\n style={{ border: '1px solid #e2e8f0' }}\n >\n {/* Close */}\n <button\n onClick={onCancel}\n className=\"absolute right-3.5 top-3.5 rounded-md p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-colors\"\n >\n <X size={16} />\n </button>\n\n <div className=\"p-5\">\n {/* Title */}\n <h2 className=\"text-[15px] font-semibold text-gray-900\">\n Transition after {getProductLabel(product)}\n </h2>\n\n {/* Type toggle */}\n <div className=\"mt-4 grid grid-cols-2 gap-3\">\n {(['Automatic', 'Manual'] as TransitionType[]).map((t) => {\n const active = transitionType === t\n return (\n <button\n key={t}\n onClick={() => setTransitionType(t)}\n className=\"flex flex-col items-center gap-1.5 rounded-lg border py-4 transition-all\"\n style={\n active\n ? { borderColor: '#12b6bc', background: '#f0fdfe', color: '#0e7490' }\n : { borderColor: '#e2e8f0', background: '#f8fafc', color: '#64748b' }\n }\n >\n {t === 'Automatic' ? (\n <Zap\n size={18}\n strokeWidth={2}\n style={{ color: active ? '#12b6bc' : '#94a3b8' }}\n />\n ) : (\n <User\n size={18}\n strokeWidth={2}\n style={{ color: active ? '#12b6bc' : '#94a3b8' }}\n />\n )}\n <span className=\"text-[13px] font-semibold\">{t}</span>\n </button>\n )\n })}\n </div>\n\n {/* Condition body */}\n <div className=\"mt-5 min-h-[80px]\">\n {transitionType === 'Automatic' ? (\n isIncScreen ? (\n /* IncScreen: advance-on selector */\n <div>\n <p className=\"mb-2.5 text-[12.5px] font-medium text-gray-700\">\n Advance candidate if Interview status is:\n </p>\n <div className=\"grid grid-cols-3 gap-2.5\">\n {(['Qualified', 'Disqualified', 'Both'] as IncScreenAdvanceOn[]).map((opt) => {\n const active = advanceOn === opt\n return (\n <button\n key={opt}\n onClick={() => setAdvanceOn(opt)}\n className=\"rounded-lg border py-2.5 text-[12.5px] font-medium transition-all\"\n style={\n active\n ? { borderColor: '#12b6bc', background: '#f0fdfe', color: '#0e7490' }\n : { borderColor: '#e2e8f0', background: '#f8fafc', color: '#475569' }\n }\n >\n {opt}\n </button>\n )\n })}\n </div>\n <p className=\"mt-3 text-[11.5px] text-gray-500\">\n Candidates auto-advance if the above condition is matched; others trigger\n auto-reject + feedback email.\n </p>\n </div>\n ) : (\n /* Others: threshold slider */\n <div>\n <div className=\"mb-2 flex items-center justify-between\">\n <p className=\"text-[12.5px] font-medium text-gray-700\">\n {getThresholdLabel(product)}\n </p>\n <span className=\"text-[12.5px] font-semibold\" style={{ color: '#12b6bc' }}>\n {threshold}%\n </span>\n </div>\n <input\n type=\"range\"\n min={0}\n max={100}\n value={threshold}\n onChange={(e) => setThreshold(Number(e.target.value))}\n className=\"w-full accent-teal-500\"\n style={{ accentColor: '#12b6bc' }}\n />\n <p className=\"mt-3 text-[11.5px] text-gray-500\">\n Candidates auto-advance on pass; below threshold triggers auto-reject + feedback\n email.\n </p>\n </div>\n )\n ) : (\n /* Manual */\n <p className=\"text-[12.5px] text-gray-600 leading-relaxed\">\n How does your team Approve or Reject each candidate at this step? Reviews must be\n done manually before the candidate moves to the next stage.\n </p>\n )}\n </div>\n\n {/* Actions */}\n <div className=\"mt-6 flex justify-end gap-2.5\">\n <button\n onClick={onCancel}\n className=\"rounded-lg border border-gray-200 px-5 py-2 text-[13px] font-medium text-gray-600 hover:bg-gray-50 transition-colors\"\n >\n Cancel\n </button>\n <button\n onClick={handleSave}\n className=\"rounded-lg px-5 py-2 text-[13px] font-semibold text-white transition-opacity hover:opacity-90\"\n style={{ background: '#0f1f3d' }}\n >\n Save\n </button>\n </div>\n </div>\n </div>\n </div>\n )\n}\n","import { useState } from 'react'\nimport { ArrowLeft, Send, FileText, Play } from 'lucide-react'\nimport { PipelineNode } from './PipelineNode'\nimport { ConditionalBranch } from './ConditionalBranch'\nimport { AddStepButton } from './AddStepButton'\nimport { ProductDragPanel } from './ProductDragPanel'\nimport { TransitionConditionDialog } from './TransitionConditionDialog'\nimport type { PipelineStepData, ProductName, TransitionCondition } from '@/components/types'\n\nconst DEFAULT_STEPS: PipelineStepData[] = [\n {\n id: 'position',\n type: 'position',\n details: '',\n },\n]\n\ninterface WorkflowDesignerProps {\n title?: string\n status?: 'draft' | 'active'\n initialSteps?: PipelineStepData[]\n onBack?: () => void\n onPublish?: () => void\n onSaveDraft?: () => void\n}\n\ntype View = 'designer' | 'run'\n\nexport function WorkflowDesigner({\n title: initialTitle = 'Untitled Pipeline',\n status = 'draft',\n initialSteps = DEFAULT_STEPS,\n onBack,\n onPublish,\n onSaveDraft,\n}: WorkflowDesignerProps) {\n const [title, setTitle] = useState(initialTitle)\n const [steps, setSteps] = useState(initialSteps)\n const [view, setView] = useState<View>('designer')\n const [showDragPanel, setShowDragPanel] = useState(false)\n const [pendingProduct, setPendingProduct] = useState<ProductName | null>(null)\n\n function handleDeleteStep(id: string) {\n setSteps((prev) => prev.filter((s) => s.id !== id))\n }\n\n function handleAddStep() {\n setShowDragPanel(true)\n }\n\n function handleSelectProduct(product: ProductName) {\n setPendingProduct(product)\n }\n\n function handleTransitionSave(condition: TransitionCondition) {\n if (!pendingProduct) return\n\n const connectorType = condition.type === 'Automatic' ? 'automatic' : 'manual-review'\n\n const newStep: PipelineStepData = {\n id: `${pendingProduct}-${Date.now()}`,\n type: 'product',\n product: pendingProduct,\n status: 'Configuration Pending',\n transitionCondition: condition,\n connector: {\n type: connectorType,\n ...(condition.type === 'Automatic' &&\n condition.threshold !== undefined && {\n branches: [\n { label: `≥ ${condition.threshold}%`, color: 'green' },\n { label: `< ${condition.threshold}%`, color: 'red' },\n ],\n }),\n },\n }\n\n setSteps((prev) => [...prev, newStep])\n setPendingProduct(null)\n setShowDragPanel(false)\n }\n\n function handleTransitionCancel() {\n setPendingProduct(null)\n }\n\n return (\n <div className=\"flex h-full flex-col overflow-hidden bg-gray-50\">\n {/* Designer toolbar */}\n <div className=\"flex items-center gap-3 border-b border-gray-200 bg-white px-5 py-3.5\">\n <button\n onClick={onBack}\n className=\"rounded-lg p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-600 transition-colors\"\n aria-label=\"Go back\"\n >\n <ArrowLeft size={16} />\n </button>\n\n <input\n value={title}\n onChange={(e) => setTitle(e.target.value)}\n className=\"rounded-md border-0 bg-transparent text-[14px] font-bold text-gray-900 focus:outline-none focus:ring-2 focus:ring-blue-400/40 px-2 py-1 max-w-xs\"\n />\n\n <span\n className=\"rounded-full px-2.5 py-0.5 text-[11px] font-semibold capitalize\"\n style={\n status === 'active'\n ? { background: '#f0fdf4', color: '#15803d', border: '1px solid #bbf7d0' }\n : { background: '#f1f5f9', color: '#475569', border: '1px solid #e2e8f0' }\n }\n >\n {status}\n </span>\n\n <div className=\"ml-auto flex items-center gap-2\">\n {/* View toggle */}\n <div className=\"flex rounded-lg border border-gray-200 bg-gray-50 p-0.5\">\n <button\n onClick={() => setView('designer')}\n className={`rounded-md px-3 py-1.5 text-[12px] font-medium transition-colors ${\n view === 'designer' ? 'text-white shadow-sm' : 'text-gray-500 hover:text-gray-700'\n }`}\n style={view === 'designer' ? { background: '#0f1f3d' } : {}}\n >\n Designer\n </button>\n <button\n onClick={() => setView('run')}\n className={`flex items-center gap-1.5 rounded-md px-3 py-1.5 text-[12px] font-medium transition-colors ${\n view === 'run' ? 'text-white shadow-sm' : 'text-gray-500 hover:text-gray-700'\n }`}\n style={view === 'run' ? { background: '#0f1f3d' } : {}}\n >\n <Play size={11} />\n Run\n </button>\n </div>\n\n <button\n onClick={onSaveDraft}\n className=\"flex items-center gap-1.5 rounded-lg border border-gray-200 px-3.5 h-8 text-[12px] font-medium text-gray-600 hover:bg-gray-50 transition-colors\"\n >\n <FileText size={13} />\n Draft\n </button>\n\n <button\n onClick={onPublish}\n className=\"flex items-center gap-1.5 rounded-lg h-8 px-3.5 text-[12px] font-semibold text-white transition-opacity hover:opacity-90\"\n style={{ background: '#0f1f3d' }}\n >\n <Send size={13} />\n Publish\n </button>\n </div>\n </div>\n\n {/* Canvas + optional drag panel */}\n <div className=\"flex flex-1 overflow-hidden\">\n {/* Pipeline canvas */}\n <div\n className=\"flex flex-1 overflow-y-auto p-8\"\n style={{\n backgroundImage: 'radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px)',\n backgroundSize: '20px 20px',\n }}\n onClick={() => {\n if (!pendingProduct) setShowDragPanel(false)\n }}\n >\n <div className=\"flex flex-col items-center gap-0 w-full max-w-lg mx-auto\">\n {steps.map((step, idx) => {\n const isLast = idx === steps.length - 1\n const hasConnector = step.connector && step.connector.type !== 'simple'\n\n return (\n <div key={step.id} className=\"flex w-full flex-col items-center\">\n {/* Node */}\n <PipelineNode\n type={step.type}\n product={step.product}\n productTag={step.productTag}\n status={step.status}\n config={step.config}\n details={step.details}\n onDelete={() => handleDeleteStep(step.id)}\n onSettings={() => setShowDragPanel(true)}\n />\n\n {/* Connector */}\n {!isLast && (\n <div className=\"flex flex-col items-center py-2\">\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n\n {hasConnector && step.connector ? (\n <>\n <ConditionalBranch\n type={step.connector.type}\n branches={step.connector.branches}\n threshold={step.transitionCondition?.threshold}\n />\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n </>\n ) : null}\n\n <AddStepButton onClick={handleAddStep} />\n\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n </div>\n )}\n </div>\n )\n })}\n\n {/* Terminal add button */}\n <div className=\"flex flex-col items-center pt-2\">\n <div className=\"h-4 w-px\" style={{ background: '#cbd5e1' }} />\n <AddStepButton onClick={handleAddStep} />\n </div>\n </div>\n </div>\n\n {/* Drag panel (toggled) */}\n <ProductDragPanel\n open={showDragPanel}\n onClose={() => setShowDragPanel(false)}\n onSelectProduct={handleSelectProduct}\n />\n </div>\n\n {/* Transition condition dialog — shown after product selection */}\n {pendingProduct && (\n <TransitionConditionDialog\n product={pendingProduct}\n onSave={handleTransitionSave}\n onCancel={handleTransitionCancel}\n />\n )}\n </div>\n )\n}\n","import React, { useState, useEffect, type ReactNode } from 'react'\nimport { Menu, ChevronsUpDown, UserCircle, CreditCard, ChevronDown } from 'lucide-react'\n\n/* ── Design tokens ──────────────────────────────────────────────── */\nconst BRAND = '#12b6bc'\nconst ACTIVE_BG = '#f5fbf8'\nconst HOVER_BG = 'rgba(0,0,0,0.03)'\nconst BORDER = 'rgba(0,0,0,0.07)'\n\n/* ── Types ──────────────────────────────────────────────────────── */\nexport type IconComponent = React.ComponentType<{\n size?: number\n style?: React.CSSProperties\n className?: string\n}>\n\nexport interface SidebarNavItemConfig {\n label: string\n Icon: IconComponent\n /** Internal navigation href — calls onNavigate(href) */\n href?: string\n /** External link — opens in new tab */\n link?: string\n badge?: number\n /** Shows a chevron and uses expandedContent as a collapsible panel */\n hasChevron?: boolean\n expandedContent?: ReactNode\n onClick?: () => void\n}\n\nexport interface SidebarProfileItemConfig {\n label: string\n Icon: IconComponent\n href?: string\n link?: string\n onClick?: () => void\n}\n\nexport interface InCruiterSidebarUser {\n name?: string\n role?: string\n avatarUrl?: string\n}\n\nexport interface InCruiterSidebarProps {\n logoSrc?: string\n user?: InCruiterSidebarUser\n /** Main nav items. Defaults to empty — pass your own. */\n navItems?: SidebarNavItemConfig[]\n /** Bottom \"other\" nav items (e.g. Support, Logout). Defaults to empty. */\n otherItems?: SidebarNavItemConfig[]\n /** Profile dropdown items. Defaults to My Profile + Accounts & Billing. */\n profileItems?: SidebarProfileItemConfig[]\n activeHref?: string\n onNavigate?: (href: string) => void\n /** Controlled collapse — pass alongside onToggleCollapse to host collapse state */\n collapsed?: boolean\n onToggleCollapse?: (collapsed: boolean) => void\n children?: ReactNode\n}\n\n/* ── Default profile items ──────────────────────────────────────── */\nconst DEFAULT_PROFILE_ITEMS: SidebarProfileItemConfig[] = [\n { label: 'My Profile', Icon: UserCircle },\n { label: 'Accounts & Billing', Icon: CreditCard },\n]\n\n/* ── NavRow ─────────────────────────────────────────────────────── */\ninterface NavRowProps {\n item: SidebarNavItemConfig\n active: boolean\n collapsed: boolean\n expanded?: boolean\n onNavigate?: (href: string) => void\n onToggle?: (href: string) => void\n}\n\nfunction NavRow({ item, active, collapsed, expanded, onNavigate, onToggle }: NavRowProps) {\n const { label, href, link, Icon, badge, hasChevron, expandedContent, onClick } = item\n\n const handleClick = () => {\n if (onClick) {\n onClick()\n } else if (link) {\n window.open(link, '_blank', 'noopener,noreferrer')\n } else if (hasChevron && expandedContent && href) {\n onToggle?.(href)\n } else if (href) {\n onNavigate?.(href)\n }\n }\n\n return (\n <>\n <button\n onClick={handleClick}\n title={collapsed ? label : undefined}\n style={{\n display: 'flex',\n width: '100%',\n alignItems: 'center',\n overflow: 'hidden',\n gap: collapsed ? 0 : 20,\n paddingLeft: collapsed ? 0 : 15,\n paddingRight: collapsed ? 0 : 10,\n paddingTop: 10,\n paddingBottom: 10,\n justifyContent: collapsed ? 'center' : undefined,\n background: active || expanded ? ACTIVE_BG : 'transparent',\n borderLeft: active || expanded ? `2px solid ${BRAND}` : '2px solid transparent',\n borderTop: 'none',\n borderRight: 'none',\n borderBottom: 'none',\n borderRadius: 0,\n cursor: 'pointer',\n outline: 'none',\n transition: 'background 0.12s',\n }}\n onMouseEnter={(e) => {\n if (!active && !expanded) (e.currentTarget as HTMLElement).style.background = HOVER_BG\n }}\n onMouseLeave={(e) => {\n if (!active && !expanded) (e.currentTarget as HTMLElement).style.background = 'transparent'\n }}\n >\n <Icon\n size={22}\n style={{ flexShrink: 0, color: active || expanded ? BRAND : '#9ca3af', display: 'block' }}\n />\n {!collapsed && (\n <>\n <span\n style={{\n flex: 1,\n textAlign: 'left',\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 13,\n lineHeight: '24px',\n fontWeight: active || expanded ? 700 : 500,\n color: active || expanded ? BRAND : '#000',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {label}\n </span>\n {badge !== undefined && (\n <span\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 19,\n minWidth: 20,\n paddingInline: 4,\n borderRadius: 10,\n background: 'rgba(18,182,188,0.14)',\n color: BRAND,\n fontSize: 10,\n fontWeight: 600,\n flexShrink: 0,\n }}\n >\n {badge}\n </span>\n )}\n {hasChevron && expandedContent && (\n <ChevronDown\n size={16}\n style={{\n flexShrink: 0,\n color: '#9ca3af',\n transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',\n transition: 'transform 0.2s',\n }}\n />\n )}\n {hasChevron && !expandedContent && (\n <svg\n width={16}\n height={16}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#9ca3af\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n style={{ flexShrink: 0, transform: 'rotate(-90deg)' }}\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n )}\n </>\n )}\n </button>\n\n {!collapsed && expanded && expandedContent && (\n <div\n style={{\n background: 'rgba(18,182,188,0.02)',\n borderLeft: `2px solid ${BRAND}`,\n overflow: 'hidden',\n maxHeight: 320,\n overflowY: 'auto',\n }}\n >\n {expandedContent}\n </div>\n )}\n </>\n )\n}\n\n/* ── InCruiterSidebar ───────────────────────────────────────────── */\nexport function InCruiterSidebar({\n logoSrc,\n user = {},\n navItems = [],\n otherItems = [],\n profileItems,\n activeHref = '/',\n onNavigate,\n collapsed: collapsedProp,\n onToggleCollapse,\n children,\n}: InCruiterSidebarProps) {\n const profileNav = profileItems ?? DEFAULT_PROFILE_ITEMS\n\n const isProfileActive = profileNav.some(\n (item) => item.href && activeHref && (activeHref === item.href || activeHref.startsWith(item.href + '/'))\n )\n\n const [collapsedInternal, setCollapsedInternal] = useState(false)\n const collapsed = collapsedProp !== undefined ? collapsedProp : collapsedInternal\n const setCollapsed = onToggleCollapse\n ? (fn: boolean | ((prev: boolean) => boolean)) => {\n const next = typeof fn === 'function' ? fn(collapsed) : fn\n onToggleCollapse(next)\n }\n : (fn: boolean | ((prev: boolean) => boolean)) =>\n setCollapsedInternal(typeof fn === 'function' ? fn(collapsedInternal) : fn)\n\n const [profileOpen, setProfileOpen] = useState(isProfileActive)\n const [expandedItem, setExpandedItem] = useState<string | null>(null)\n\n useEffect(() => {\n if (isProfileActive) setProfileOpen(true)\n }, [isProfileActive])\n\n const initials = user.name\n ? user.name\n .split(' ')\n .map((n) => n[0])\n .join('')\n .slice(0, 2)\n .toUpperCase()\n : '?'\n\n const handleToggle = (href: string) => {\n setExpandedItem((prev) => (prev === href ? null : href))\n }\n\n return (\n <div style={{ display: 'flex', height: '100%' }}>\n {/* ── Sidebar ────────────────────────────────────────── */}\n <aside\n style={{\n width: collapsed ? 56 : 250,\n flexShrink: 0,\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n background: '#fff',\n borderRight: `1px solid ${BORDER}`,\n transition: 'width 0.2s ease',\n overflow: 'hidden',\n zIndex: 100,\n }}\n >\n {/* Logo row */}\n <div\n style={{\n height: 52,\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: collapsed ? 'center' : 'space-between',\n padding: 10,\n borderBottom: `1px solid ${BORDER}`,\n }}\n >\n {!collapsed && logoSrc && (\n <img\n src={logoSrc}\n alt=\"Logo\"\n style={{ height: 36, width: 'auto', objectFit: 'contain' }}\n />\n )}\n <button\n onClick={() => {\n setCollapsed((v) => !v)\n setExpandedItem(null)\n }}\n style={{\n width: 28,\n height: 28,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 6,\n border: 'none',\n background: 'transparent',\n color: '#9ca3af',\n cursor: 'pointer',\n flexShrink: 0,\n outline: 'none',\n }}\n onMouseEnter={(e) => ((e.currentTarget as HTMLElement).style.background = '#f3f4f6')}\n onMouseLeave={(e) => ((e.currentTarget as HTMLElement).style.background = 'transparent')}\n aria-label=\"Toggle sidebar\"\n >\n <Menu size={16} />\n </button>\n </div>\n\n {/* User profile */}\n <div style={{ flexShrink: 0 }}>\n <button\n onClick={() => {\n if (collapsed) {\n setCollapsed(false)\n setProfileOpen(true)\n } else {\n setProfileOpen((v) => !v)\n }\n }}\n style={{\n display: 'flex',\n width: '100%',\n alignItems: 'center',\n gap: 12,\n padding: 12,\n justifyContent: collapsed ? 'center' : undefined,\n background: isProfileActive ? '#f5fbf8' : 'rgba(18,182,188,0.05)',\n borderLeft: isProfileActive ? '2px solid #12b6bc' : '2px solid transparent',\n borderTop: 'none',\n borderRight: 'none',\n borderBottom: 'none',\n cursor: 'pointer',\n outline: 'none',\n }}\n >\n {user.avatarUrl ? (\n <img\n src={user.avatarUrl}\n alt={user.name ?? 'User'}\n style={{\n width: 32,\n height: 32,\n borderRadius: '50%',\n objectFit: 'cover',\n flexShrink: 0,\n outline: isProfileActive ? '2px solid #12b6bc' : 'none',\n outlineOffset: 2,\n }}\n />\n ) : (\n <div\n style={{\n width: 32,\n height: 32,\n borderRadius: '50%',\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: 11,\n fontWeight: 700,\n outline: isProfileActive ? '2px solid #12b6bc' : 'none',\n outlineOffset: 2,\n color: '#fff',\n background: 'linear-gradient(135deg, #3b82f6 0%, #12b6bc 100%)',\n }}\n >\n {initials}\n </div>\n )}\n {!collapsed && (\n <>\n <div style={{ flex: 1, minWidth: 0, textAlign: 'left' }}>\n <p\n style={{\n margin: 0,\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 14,\n fontWeight: 500,\n color: '#000',\n lineHeight: 1.45,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.name ?? 'User'}\n </p>\n <p\n style={{\n margin: 0,\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 12,\n fontWeight: 400,\n color: '#3f3f3f',\n lineHeight: 1.5,\n marginTop: 1,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n >\n {user.role ?? ''}\n </p>\n </div>\n <ChevronsUpDown size={16} style={{ color: '#9ca3af', flexShrink: 0 }} />\n </>\n )}\n </button>\n\n {(profileOpen || (collapsed && isProfileActive)) && (\n <>\n {profileNav.map((item) => (\n <NavRow\n key={item.label}\n item={{\n ...item,\n onClick: item.onClick\n ? () => {\n if (!collapsed) setProfileOpen(false)\n item.onClick?.()\n }\n : item.link\n ? () => {\n if (!collapsed) setProfileOpen(false)\n window.open(item.link, '_blank', 'noopener,noreferrer')\n }\n : undefined,\n }}\n active={!!(item.href && activeHref && (activeHref === item.href || activeHref.startsWith(item.href + '/')))}\n collapsed={collapsed}\n onNavigate={onNavigate}\n onToggle={handleToggle}\n />\n ))}\n </>\n )}\n </div>\n\n {/* Main nav */}\n <nav style={{ flex: 1, overflowY: 'auto' }}>\n {navItems.length > 0 && !collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Manrope', sans-serif\",\n }}\n >\n MAIN MENU\n </div>\n )}\n {navItems.map((item) => (\n <NavRow\n key={item.href ?? item.label}\n item={item}\n active={activeHref === item.href}\n expanded={expandedItem === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n onToggle={handleToggle}\n />\n ))}\n </nav>\n\n {/* Other nav */}\n {otherItems.length > 0 && (\n <div style={{ flexShrink: 0 }}>\n {!collapsed && (\n <div\n style={{\n paddingLeft: 20,\n paddingRight: 10,\n paddingTop: 8,\n paddingBottom: 6,\n fontSize: 11,\n fontWeight: 600,\n letterSpacing: '0.06em',\n color: 'rgba(0,0,0,0.45)',\n fontFamily: \"'Manrope', sans-serif\",\n borderTop: `1px solid ${BORDER}`,\n }}\n >\n OTHER\n </div>\n )}\n {collapsed && <div style={{ height: 8, borderTop: `1px solid ${BORDER}` }} />}\n {otherItems.map((item) => (\n <NavRow\n key={item.href ?? item.label}\n item={item}\n active={activeHref === item.href}\n collapsed={collapsed}\n onNavigate={onNavigate}\n onToggle={handleToggle}\n />\n ))}\n <div style={{ height: 16 }} />\n </div>\n )}\n </aside>\n\n {/* Page content */}\n <div style={{ flex: 1, minWidth: 0, display: 'flex', flexDirection: 'column' }}>\n {children}\n </div>\n </div>\n )\n}\n","import { type ReactNode, type Ref } from 'react'\nimport { Bell } from 'lucide-react'\n\nconst BORDER = 'rgba(0,0,0,0.07)'\nconst BRAND = '#12b6bc'\n\nexport interface TopBarNavLink {\n label: string\n active?: boolean\n onClick?: () => void\n}\n\nexport interface InCruiterTopBarProps {\n /** Page title shown on the left when there are no navLinks */\n title?: string\n /** Shows a blue dot badge when > 0 */\n notificationCount?: number\n onBellClick?: () => void\n /** Ref for outside-click detection on the bell button wrapper */\n bellRef?: Ref<HTMLDivElement>\n /** Dropdown node rendered below the bell */\n notificationDropdown?: ReactNode\n /** ReactNode rendered on the left side (e.g. a quick-create button) */\n leftButton?: ReactNode\n /** Tab-style links rendered in the centre-right area */\n navLinks?: TopBarNavLink[]\n /** ReactNode rendered just before navLinks (e.g. a \"What's New\" button) */\n rightExtra?: ReactNode\n}\n\nexport function InCruiterTopBar({\n title = '',\n notificationCount = 0,\n onBellClick,\n bellRef,\n notificationDropdown,\n leftButton,\n navLinks = [],\n rightExtra,\n}: InCruiterTopBarProps) {\n const hasNav = navLinks.length > 0\n\n return (\n <header\n style={{\n height: 52,\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n background: '#fff',\n borderBottom: `1px solid ${BORDER}`,\n padding: '0 12px',\n zIndex: 99,\n gap: 16,\n }}\n >\n {/* Left: optional button + page title */}\n <div style={{ display: 'flex', alignItems: 'center', gap: 12, flexShrink: 0 }}>\n {leftButton}\n {!hasNav && (\n <h2\n style={{\n margin: 0,\n fontSize: 15,\n fontWeight: 700,\n color: '#111118',\n fontFamily: \"'Manrope', sans-serif\",\n whiteSpace: 'nowrap',\n }}\n >\n {title}\n </h2>\n )}\n </div>\n\n {/* Centre-right: nav links */}\n {hasNav && (\n <nav\n style={{\n display: 'flex',\n alignItems: 'stretch',\n gap: 0,\n height: '100%',\n flex: 1,\n justifyContent: 'flex-end',\n marginRight: 8,\n }}\n >\n {rightExtra && (\n <div style={{ display: 'flex', alignItems: 'center', paddingRight: 8 }}>\n {rightExtra}\n </div>\n )}\n {navLinks.map((link, i) => (\n <button\n key={i}\n onClick={link.onClick}\n style={{\n position: 'relative',\n height: '100%',\n padding: '0 16px',\n background: 'none',\n border: 'none',\n borderBottom: link.active ? `2px solid ${BRAND}` : '2px solid transparent',\n cursor: 'pointer',\n fontFamily: \"'Manrope', sans-serif\",\n fontSize: 13,\n fontWeight: link.active ? 700 : 500,\n color: link.active ? BRAND : '#6b7280',\n whiteSpace: 'nowrap',\n outline: 'none',\n transition: 'color 0.15s, border-color 0.15s',\n }}\n onMouseEnter={(e) => {\n if (!link.active) (e.currentTarget as HTMLElement).style.color = '#374151'\n }}\n onMouseLeave={(e) => {\n if (!link.active) (e.currentTarget as HTMLElement).style.color = '#6b7280'\n }}\n >\n {link.label}\n </button>\n ))}\n </nav>\n )}\n\n {/* What's New when no nav links */}\n {!hasNav && rightExtra && (\n <div style={{ flexShrink: 0, marginLeft: 'auto' }}>{rightExtra}</div>\n )}\n\n {/* Right: bell */}\n <div\n ref={bellRef}\n style={{\n position: 'relative',\n flexShrink: 0,\n marginLeft: hasNav || rightExtra ? 0 : 'auto',\n }}\n >\n <button\n onClick={onBellClick}\n style={{\n width: 32,\n height: 32,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 8,\n border: 'none',\n background: 'transparent',\n color: '#9ca3af',\n cursor: 'pointer',\n position: 'relative',\n outline: 'none',\n }}\n onMouseEnter={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = '#f3f4f6'\n ;(e.currentTarget as HTMLElement).style.color = '#6b7280'\n }}\n onMouseLeave={(e) => {\n ;(e.currentTarget as HTMLElement).style.background = 'transparent'\n ;(e.currentTarget as HTMLElement).style.color = '#9ca3af'\n }}\n aria-label=\"Notifications\"\n >\n <Bell size={16} strokeWidth={1.75} />\n {notificationCount > 0 && (\n <span\n style={{\n position: 'absolute',\n top: 6,\n right: 6,\n width: 7,\n height: 7,\n borderRadius: '50%',\n background: '#3b82f6',\n border: '1.5px solid #fff',\n }}\n />\n )}\n </button>\n {notificationDropdown}\n </div>\n </header>\n )\n}\n"],"names":["r","e","t","f","n","o","clsx","concatArrays","array1","array2","combinedArray","i","createClassValidatorObject","classGroupId","validator","createClassPartObject","nextPart","validators","CLASS_PART_SEPARATOR","EMPTY_CONFLICTS","ARBITRARY_PROPERTY_PREFIX","createClassGroupUtils","config","classMap","createClassMap","conflictingClassGroups","conflictingClassGroupModifiers","className","getGroupIdForArbitraryProperty","classParts","startIndex","getGroupRecursive","hasPostfixModifier","modifierConflicts","baseConflicts","classPartObject","currentClassPart","nextClassPartObject","result","classRest","validatorsLength","validatorObj","content","colonIndex","property","theme","classGroups","processClassGroups","group","processClassesRecursively","classGroup","len","classDefinition","processClassDefinition","processStringDefinition","processFunctionDefinition","processObjectDefinition","classPartObjectToEdit","getPart","isThemeGetter","entries","key","value","path","current","parts","part","next","func","createLruCache","maxCacheSize","cacheSize","cache","previousCache","update","IMPORTANT_MODIFIER","MODIFIER_SEPARATOR","EMPTY_MODIFIERS","createResultObject","modifiers","hasImportantModifier","baseClassName","maybePostfixModifierPosition","isExternal","createParseClassName","prefix","experimentalParseClassName","parseClassName","bracketDepth","parenDepth","modifierStart","postfixModifierPosition","index","currentCharacter","baseClassNameWithImportantModifier","fullPrefix","parseClassNameOriginal","createSortModifiers","modifierWeights","mod","currentSegment","modifier","isArbitrary","isOrderSensitive","createConfigUtils","createPostfixLookupClassGroupIds","lookup","classGroupIds","SPLIT_CLASSES_REGEX","mergeClassList","classList","configUtils","getClassGroupId","getConflictingClassGroupIds","sortModifiers","postfixLookupClassGroupIds","classGroupsInConflict","classNames","originalClassName","baseClassNameWithoutPostfix","classGroupIdWithPostfix","variantModifier","modifierId","classId","conflictGroups","twJoin","classLists","argument","resolvedValue","string","toValue","mix","k","createTailwindMerge","createConfigFirst","createConfigRest","cacheGet","cacheSet","functionToCall","initTailwindMerge","previousConfig","createConfigCurrent","tailwindMerge","cachedResult","args","fallbackThemeArr","fromTheme","themeGetter","arbitraryValueRegex","arbitraryVariableRegex","fractionRegex","tshirtUnitRegex","lengthUnitRegex","colorFunctionRegex","shadowRegex","imageRegex","isFraction","isNumber","isInteger","isPercent","isTshirtSize","isAny","isLengthOnly","isNever","isShadow","isImage","isAnyNonArbitrary","isArbitraryValue","isArbitraryVariable","isNamedContainerQuery","isArbitrarySize","getIsArbitraryValue","isLabelSize","isArbitraryLength","isLabelLength","isArbitraryNumber","isLabelNumber","isArbitraryWeight","isLabelWeight","isArbitraryFamilyName","isLabelFamilyName","isArbitraryPosition","isLabelPosition","isArbitraryImage","isLabelImage","isArbitraryShadow","isLabelShadow","isArbitraryVariableLength","getIsArbitraryVariable","isArbitraryVariableFamilyName","isArbitraryVariablePosition","isArbitraryVariableSize","isArbitraryVariableImage","isArbitraryVariableShadow","isArbitraryVariableWeight","testLabel","testValue","shouldMatchNoLabel","label","getDefaultConfig","themeColor","themeFont","themeText","themeFontWeight","themeTracking","themeLeading","themeBreakpoint","themeContainer","themeSpacing","themeRadius","themeShadow","themeInsetShadow","themeTextShadow","themeDropShadow","themeBlur","themePerspective","themeAspect","themeEase","themeAnimate","scaleBreak","scalePosition","scalePositionWithArbitrary","scaleOverflow","scaleOverscroll","scaleUnambiguousSpacing","scaleInset","scaleGridTemplateColsRows","scaleGridColRowStartAndEnd","scaleGridColRowStartOrEnd","scaleGridAutoColsRows","scaleAlignPrimaryAxis","scaleAlignSecondaryAxis","scaleMargin","scaleSizing","scaleSizingInline","scaleSizingBlock","scaleColor","scaleBgPosition","scaleBgRepeat","scaleBgSize","scaleGradientStopPosition","scaleRadius","scaleBorderWidth","scaleLineStyle","scaleBlendMode","scaleMaskImagePosition","scaleBlur","scaleRotate","scaleScale","scaleSkew","scaleTranslate","twMerge","cn","inputs","variantMap","solidConfigStyles","StatusBadge","status","dot","solidStyle","isConfig","jsxs","jsx","productConfig","Phone","Bot","Video","Calendar","GraduationCap","Shield","sizeMap","ProductIcon","product","size","box","icon","radius","Icon","gradient","getProductLabel","SearchBar","placeholder","shortcut","onSearch","Search","PageHeader","title","description","breadcrumb","actions","BRAND","ACTIVE_BG","HOVER_BG","BORDER","NavRow","item","active","collapsed","onNavigate","Fragment","Sidebar","user","logoSrc","logoAlt","navItems","otherItems","activeHref","onMyProfile","onAccountsBilling","profileOpen","setProfileOpen","useState","setCollapsed","initials","v","Menu","ChevronsUpDown","UserCircle","CreditCard","action","TopBar","notificationCount","onBellClick","Bell","AppShell","topBarTitle","topBarBreadcrumb","topBarActions","children","WelcomeBanner","name","subtitle","firstName","QuickActionCard","iconBg","onClick","SubscriptionCard","validTill","usage","onOpenDashboard","isActive","AIBanner","message","ctaLabel","onExplore","BADGE_COLOR","WorkflowTemplateCard","badge","steps","onUseTemplate","badgeColor","Workflow","step","ArrowRight","STATUS_STYLE","STATUS_ICON","Play","Pause","Square","FileText","STATUS_ICON_BG","WorkflowListItem","createdAt","candidates","hired","onEdit","onAddCandidate","onReplicate","onPause","onResume","onStop","onDelete","menuOpen","setMenuOpen","menuRef","useRef","useEffect","handler","style","canAddCandidate","Pencil","UserPlus","MoreVertical","Copy","productNameMap","CONFIGURED_STYLE","EDITABLE_STYLE","computeDetails","type","fallback","PipelineNode","productTag","details","iconUrl","onSettings","isPosition","isOnboarding","cardStyle","displayName","Briefcase","Settings","Trash2","branchColorMap","ConditionalBranch","branches","threshold","isManual","isAutomatic","isConditional","pillContent","Hand","Zap","GitMerge","Settings2","pillBaseStyle","branch","AddStepButton","Plus","AVAILABLE_PRODUCTS","GripDots","_","ProductAvatar","ProductDragPanel","open","onClose","onSelectProduct","onSelectItem","subscribedProducts","showOnboarding","addedProducts","onboardingAdded","iconMap","p","visibleProducts","handleSelect","handleOnboarding","isAdded","THRESHOLD_LABEL","getThresholdLabel","TransitionConditionDialog","onSave","onCancel","transitionType","setTransitionType","setThreshold","advanceOn","setAdvanceOn","isIncScreen","handleSave","condition","X","User","opt","DEFAULT_STEPS","WorkflowDesigner","initialTitle","initialSteps","onBack","onPublish","onSaveDraft","setTitle","setSteps","view","setView","showDragPanel","setShowDragPanel","pendingProduct","setPendingProduct","handleDeleteStep","id","prev","s","handleAddStep","handleSelectProduct","handleTransitionSave","connectorType","newStep","handleTransitionCancel","ArrowLeft","Send","idx","isLast","hasConnector","DEFAULT_PROFILE_ITEMS","expanded","onToggle","href","link","hasChevron","expandedContent","handleClick","ChevronDown","InCruiterSidebar","profileItems","collapsedProp","onToggleCollapse","profileNav","isProfileActive","collapsedInternal","setCollapsedInternal","fn","expandedItem","setExpandedItem","handleToggle","InCruiterTopBar","bellRef","notificationDropdown","leftButton","navLinks","rightExtra","hasNav"],"mappings":"kKAAA,SAASA,GAAEC,EAAE,CAAC,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