@pittorica/stack-react 0.8.2
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/.turbo/turbo-build.log +18 -0
- package/LICENSE +21 -0
- package/dist/Stack.d.ts +17 -0
- package/dist/Stack.d.ts.map +1 -0
- package/dist/index.cjs +19985 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19957 -0
- package/dist/index.js.map +1 -0
- package/dist/stack.css.d.ts +80 -0
- package/dist/stack.css.d.ts.map +1 -0
- package/package.json +44 -0
- package/src/Stack.tsx +77 -0
- package/src/index.ts +2 -0
- package/src/stack.css.ts +73 -0
- package/tsconfig.app.json +33 -0
- package/tsconfig.json +7 -0
- package/tsconfig.node.json +26 -0
- package/vite.config.ts +35 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["addFunctionSerializer","recipe","stylesheets","injectStyles","hasOwnProperty","merge","cssesc","AhoCorasick","r","adapterStack","currentAdapter","hasConfiguredAdapter","setAdapterIfNotSet","setAdapter","appendCss","registerClassName","registerComposition","markCompositionUsed","getIdentOption","_taggedTemplateLiteral","ownKeys","_objectSpread","_defineProperty","_toPropertyKey","_toPrimitive","createDedent","dedent","alignValue","__assign","r","lexicalAnalysis","_c","consumeString","wouldStartIdentifier","consumeEscape","consumeNumeric","consumeNumber","consumeIdentUnsafe","consumeIdent","consumeUrl","consumeIdentLike","simplifyAST","simplifyMediaQuery","simplifyMediaCondition","createError","toAST","toUnflattenedAST","removeWhitespace","syntacticAnalysis","mediaQueryTokens","tokenizeMediaQuery","tokenizeMediaCondition","tokenizeMediaFeature","tokenizeRange","toPrimitive","r","toPropertyKey","_defineProperty","ownKeys","_objectSpread2","_objectWithoutPropertiesLoose","_objectWithoutProperties","forEach","omit","mapKeys","composeStylesIntoSet","dedupeAndJoinClassList","_templateObject$1","escapeRegex","validateSelector","dedent","_taggedTemplateLiteral","ConditionalRuleset","_loop","dependents","simplePseudoMap","simplePseudos","simplePseudoLookup","_templateObject","createMediaQueryError","validateMediaQuery","_excluded","_excluded2","DECLARATION","UNITLESS","dashify","replaceBetweenIndexes","DOUBLE_SPACE","specialKeys","Stylesheet","localClassNames","AhoCorasick","composedClassLists","identifier","rule","query","renderCss","_loop2","key","v","transformCss","murmur2","_templateObject","refCounter","fileScopes","getFileScope","dedent","_taggedTemplateLiteral","getAndIncrementRefCounter","perf","warned","PROCESS","emitWarning","AC","AS","shouldWarn","isPosInt","getUintArray","ZeroArray","Stack","#constructing","LRUCache","#starts","#ttls","#sizes","#keyMap","#keyList","#valList","#next","#prev","#head","#tail","#free","#isBackgroundFetch","#backgroundFetch","#moveToTail","#indexes","#rindexes","#isStale","#max","#maxSize","#calculatedSize","#size","#fetchMethod","#memoMethod","#dispose","#disposeAfter","#hasFetchMethod","#disposed","#hasDispose","#hasDisposeAfter","#initializeSizeTracking","#initializeTTLTracking","#setItemTTL","#delete","#updateItemAge","#statusTTL","#removeItemSize","#requireSize","#addItemSize","#evict","#isValidIndex","v","bf","#connect","#clear","isMergeableObject","REACT_ELEMENT_TYPE","deepmerge","localClassNames","composedClassLists","bufferedCSSObjs","setAdapterIfNotSet","transformCss","getLastSlashBeforeIndex","_getDebugFileName","memoizedGetDebugFileName","LRUCache","getDebugFileName","getDevPrefix","getFileScope","normalizeIdentifier","generateIdentifier","getIdentOption","_objectSpread2","getAndIncrementRefCounter","hash","composedStyle","dedupeAndJoinClassList","deepmerge","style","toPrimitive","r","toPropertyKey","_defineProperty","ownKeys","_objectSpread2","style","addRecipe","recipe","stackStyle","base","display","variants","direction","horizontal","flexDirection","vertical","align","start","alignItems","center","end","stretch","justify","justifyContent","spaceBetween","spaceAround","spaceEvenly","gap","none","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge","xxxxlarge","defaultVariants","REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","ReactSharedInternals","hasOwnProperty","Component","getIteratorFn","MAYBE_ITERATOR_SYMBOL","emptyObject","ReactNoopUpdateQueue","ComponentDummy","PureComponent","noop","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","ReactSharedInternals","hasOwnProperty","ReactElement","REACT_ELEMENT_TYPE","cloneAndReplaceKey","isValidElement","escape","getElementKey","resolveThenable","mapIntoArray","userProvidedKeyEscapeRegex","isArrayImpl","mapChildren","lazyInitializer","assign","reportGlobalError","ReactSharedInternals","r","clsx","REACT_ELEMENT_TYPE$1","Symbol","for","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE$1","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_CONSUMER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_ACTIVITY_TYPE","MAYBE_ITERATOR_SYMBOL","iterator","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","assign","Object","emptyObject","Component","props","context","updater","refs","prototype","isReactComponent","setState","partialState","callback","Error","forceUpdate","ComponentDummy","PureComponent","pureComponentPrototype","constructor","isPureReactComponent","isArrayImpl","Array","isArray","noop","ReactSharedInternals$1","H","A","T","S","hasOwnProperty$1","hasOwnProperty","ReactElement","type","key","refProp","ref","$$typeof","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","replace","match","userProvidedKeyEscapeRegex","getElementKey","element","index","toString","resolveThenable","thenable","status","value","reason","then","fulfilledValue","error","mapIntoArray","children","array","escapedPrefix","nameSoFar","invokeCallback","_init","_payload","c","push","nextNamePrefix","i","length","call","next","done","String","keys","join","mapChildren","func","result","count","child","lazyInitializer","payload","_status","ctor","_result","moduleObject","default","reportGlobalError","reportError","window","ErrorEvent","event","bubbles","cancelable","message","dispatchEvent","process","emit","console","Children","map","forEach","forEachFunc","forEachContext","apply","arguments","n","toArray","only","exports","Activity","Fragment","Profiler","StrictMode","Suspense","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","__COMPILER_RUNTIME","__proto__","size","useMemoCache","cache","fn","cacheSignal","cloneElement","config","propName","childArray","createContext","defaultValue","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","createElement","childrenLength","defaultProps","createRef","current","forwardRef","render","lazy","memo","compare","startTransition","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","types","unstable_useCacheRefresh","useCacheRefresh","use","usable","useActionState","action","initialState","permalink","useCallback","deps","useContext","Context","useDebugValue","useDeferredValue","initialValue","useEffect","create","useEffectEvent","useId","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useOptimistic","passthrough","reducer","useReducer","initialArg","init","useRef","useState","useSyncExternalStore","subscribe","getSnapshot","getServerSnapshot","useTransition","version","env","NODE_ENV","defineDeprecationWarning","methodName","info","defineProperty","Component$1","get","warn","getIteratorFn$1","MAYBE_ITERATOR_SYMBOL$1","warnNoop","publicInstance","callerName","displayName","name","warningKey","didWarnStateUpdateForUnmountedComponent","emptyObject$1","ReactNoopUpdateQueue$1","ComponentDummy$1","PureComponent$1","noop$1","testStringCoercion","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","toStringTag","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_FRAGMENT_TYPE$2","REACT_PROFILER_TYPE$1","REACT_STRICT_MODE_TYPE$1","REACT_SUSPENSE_TYPE$1","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE$1","tag","REACT_PORTAL_TYPE$1","REACT_CONTEXT_TYPE$1","REACT_CONSUMER_TYPE$1","REACT_FORWARD_REF_TYPE$1","innerType","REACT_MEMO_TYPE$1","REACT_LAZY_TYPE$1","x","getTaskName","getOwner","dispatcher","ReactSharedInternals$2","UnknownOwner","hasValidKey","hasOwnProperty$2","getter","getOwnPropertyDescriptor","isReactWarning","defineKeyPropWarningGetter","warnAboutAccessingKey","specialPropKeyWarningShown","configurable","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement$1","owner","debugStack","debugTask","REACT_ELEMENT_TYPE$2","_owner","enumerable","_store","writable","freeze","cloneAndReplaceKey$1","_debugStack","_debugTask","validated","validateChildKeys","node","isValidElement$1","escape$1","getElementKey$1","resolveThenable$1","mapIntoArray$1","childKey","isArrayImpl$1","userProvidedKeyEscapeRegex$1","entries","didWarnAboutMaps","mapChildren$1","lazyInitializer$1","ioInfo","_ioInfo","start","end","performance","now","_ioInfo2","resolveDispatcher","releaseAsyncTransition","asyncTransitions","enqueueTask","task","enqueueTaskImpl","requireString","Math","random","slice","module","setImmediate","_err","didWarnAboutMessageChannel","MessageChannel","channel","port1","onmessage","port2","postMessage","aggregateErrors","errors","AggregateError","popActScope","prevActQueue","prevActScopeDepth","actScopeDepth","recursivelyFlushAsyncActWork","resolve","reject","queue","actQueue","flushActQueue","thrownErrors","isFlushing","didUsePromise","continuation","splice","__REACT_DEVTOOLS_GLOBAL_HOOK__","registerInternalModuleStart","assign$1","deprecatedAPIs","replaceState","fnName","isBatchingLegacy","didScheduleLegacyUpdate","getCurrentStack","recentlyCreatedOwnerStacks","createTask","react_stack_bottom_frame","callStackForError","didWarnAboutOldJSXRuntime","unknownOwnerDebugStack","bind","unknownOwnerDebugTask","reportGlobalError$1","didWarnNoAwaitAct","queueSeveralMicrotasks","queueMicrotask","act","didAwaitActCall","error$0","_thrownError","returnValue$jscomp$0","captureOwnerStack","a","_currentRenderer","_currentRenderer2","_i","refObject","seal","elementType","ownName","set","lazyType","_debugInfo","awaited","_updatedFibers","Set","clear","formatterFn","registerInternalModuleStop","require_react_production","require_react_development","ReactSharedInternals","require_react","require_react_compiler_runtime_production","require_react_compiler_runtime_development","r","t","o","f","clsx","clsx_default","__create","__defProp","__getOwnPropDesc","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf","__hasOwnProp","__commonJSMin","cb","mod","__copyProps","to","from","except","desc","k","__toESM","isNodeMode","target","__esModule","stylesheets","injectStyles","_ref","fileScope","css","fileScopeId","packageName","filePath","stylesheet","styleEl","document","setAttribute","head","appendChild","innerHTML","require_vanilla_extract_private_cjs_prod","exports$1","getVarName","variable","matches","obj","path","concat","walkObject","clone","_value","currentPath","require_vanilla_extract_private_cjs_dev","require_vanilla_extract_private_cjs","module$1","import_cssesc","merge","merge$1","options","defaults","regexAnySingleEscape","regexSingleEscape","regexExcessiveSpaces","cssesc","cssesc$1","string","quotes","quote","isIdentifier","firstChar","charAt","output","counter","character","codePoint","charCodeAt","extra","toUpperCase","escapeEverything","test","$0","$1","$2","wrap","import_vanilla_extract_private_cjs","AhoCorasick","keywords","failure","gotoFn","_buildTables","state","word","curr","l","xs","state2","r$1","shift","s","fs","search","str","results","foundStrs","adapterStack","appendCss","registerClassName","onEndFileScope","registerComposition","markCompositionUsed","getIdentOption","currentAdapter","hasConfiguredAdapter","setAdapterIfNotSet","newAdapter","setAdapter","appendCss$1","registerClassName$1","registerComposition$1","markCompositionUsed$1","getIdentOption$1","adapter","_taggedTemplateLiteral","strings","raw","defineProperties","require_types","AttributeAction","IgnoreCaseMode","SelectorType","Unknown","QuirksMode","IgnoreCase","CaseSensitive","require_parse","parse","isTraversal","types_1","reName","reEscape","actionTypes","Map","Element","Start","End","Any","Not","Hyphen","unpackPseudos","selector","Adjacent","Child","Descendant","Parent","Sibling","ColumnCombinator","stripQuotesFromPseudos","funescape","_","escaped","escapedWhitespace","high","parseInt","fromCharCode","unescapeCSS","isQuote","isWhitespace","subselects","endIndex","parseSelector","selectorIndex","tokens","getName","offset","stripWhitespace","readValueWithParenthesis","isEscaped","pos","slashCount","ensureNotTraversal","addTraversal","addSpecialAttribute","action$1","Attribute","namespace","ignoreCase","finalizeSubselector","pop","loop","Equals","name_1","startsWith","Exists","possibleAction","sectionEnd","valueStart","forceIgnore","attributeSelector","PseudoElement","toLowerCase","data","name_2","has","quot","Pseudo","indexOf","name_3","Universal","Tag","require_stringify","__spreadArray","pack","ar","stringify","attribValChars","pseudoValChars","charsToEscapeInAttributeValue","charsToEscapeInPseudoValue","charsToEscapeInName","token","stringifyToken","arr","getNamespace","getNamespacedName","escapeName","getActionValue","charsToEscape","lastIdx","ret","import_commonjs","__createBinding","m","k2","__exportStar","exports$1$1","p","parse_1","stringify_1","ownKeys$2","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","_objectSpread","source","_defineProperty$2","getOwnPropertyDescriptors","_toPropertyKey","arg","_toPrimitive","input","hint","prim","toPrimitive","res","TypeError","Number","dedent_default","createDedent","dedent","withOptions","newOptions","values","alignValues","escapeSpecialCharacters","trimWhitespace","alignValue","lines","split","mindent","indent","min","trim","Bun","braced","unbraced","hex","fromCodePoint","precedingText","includes","indentMatch","lastIndexOf","import_dist","__assign","__assign$1","__rest","propertyIsEnumerable","__values","__read","weirdNewlines","nullOrSurrogates","commentRegex","lexicalAnalysis","lexicalAnalysis$1","code","code_1","consumeString","_a","lastIndex","nextCode","flag","wouldStartIdentifier","consumeIdentUnsafe","_b","_c$1","plusNumeric","consumeNumeric","_d","tokenTuple","unit","minusNumeric","_e","nextNextCode","consumeIdentLike","_f","_g","nextNextNextCode","consumeIdent","_h","consumeEscape","_j","_k","_l","consumeString$1","firstCode","charCodes","charCode","wouldStartIdentifier$1","consumeEscape$1","hexCharCodes","code_2","code_3","consumeNumeric$1","numberResult","consumeNumber","numberEndIndex","numberValue","numberFlag","identResult","consumeNumber$1","numberChars","nextNextIsDigit","numberString","parseFloat","isNaN","consumeIdentUnsafe$1","identChars","code_4","consumeIdent$1","code_5","consumeUrl","consumeUrl$1","urlChars","hasFinishedWord","consumeIdentLike$1","result_1","simplifyAST","simplifyAST$1","ast","simplifyMediaQuery","simplifyMediaQuery$1","mediaQuery","mediaCondition","simplifyMediaCondition","operator","mediaPrefix","mediaType","simplifyMediaCondition$1","unsimplifiedChild","spliceArgs","i_1","createError","createError$1","err","toAST","toAST$1","toUnflattenedAST","toUnflattenedAST$1","tokenList","startIndex","syntacticAnalysis","removeWhitespace","removeWhitespace$1","newTokenList","before","wsAfter","wsBefore","syntacticAnalysis$1","e_1","mediaQueryList","mediaQueries","mediaQueryTokens","mediaQueryTokens$1","tokenizeMediaQuery","nonNullMediaQueryTokens","mediaQueryTokens_1","mediaQueryTokens_1_1","mediaQueryToken","e_1_1","tokenizeMediaQuery$1","firstToken","tokenizeMediaCondition","firstIndex","firstNonUnaryToken","value_1","tokensWithParens","secondNonUnaryToken","tokenizeMediaCondition$1","mayContainOr","previousOperator","endIndexOfFirstFeature","maxDepth","max","featureTokens","tokenizeMediaFeature","nextToken","siblings","tokenizeMediaFeature$1","rawTokens","b","numerator","denominator","feature","valueToken","prefix","range","tokenizeRange","featureName","tokenizeRange$1","leftToken","leftOp","rightOp","rightToken","hasLeft","tokenIndexAfterFirstOp","tokenAfterFirstOp","secondOpToken","followingToken","validRange","lt","rt","toPrimitive$1","toPropertyKey$1","_defineProperty$1","ownKeys$1","r$2","_objectSpread2$1","_objectWithoutPropertiesLoose","excluded","sourceKeys","_objectWithoutProperties","sourceSymbolKeys","_key","omit","omitKeys","_key2","mapKeys","_key3","composeStylesIntoSet","_len","classNames","_key5","className","add","dedupeAndJoinClassList","_templateObject$1","escapeRegex","validateSelector","targetClassName","replaceTarget","targetRegex","RegExp","selectorParts","cause","ConditionalRuleset","ConditionalRuleset$1","ruleset","precedenceLookup","findOrCreateCondition","conditionQuery","targetCondition","query","rules","getConditionalRulesetByPath","conditionPath","currRuleset","addRule","rule","addConditionPrecedence","conditionOrder","_ruleset$precedenceLo","conditionPrecedence","lowerPrecedenceCondition","isCompatible","incomingRuleset","condition","orderPrecedence","_incomingRuleset$prec","matchingCondition","incomingOrderPrecedence","_this$precedenceLooku","mergeIfCompatible","getSortedRuleset","_this","sortedRuleset","_loop","_loop$1","dependents$1","conditionForQuery","firstMatchingDependent","findIndex","dependents","renderToArray","selectors","simplePseudoMap","simplePseudos","simplePseudoLookup","_templateObject$2","createMediaQueryError","msg","validateMediaQuery","_excluded$1","_excluded2","DECLARATION","UNITLESS","animationIterationCount","borderImage","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","columnCount","columns","flex","flexGrow","flexShrink","fontWeight","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","initialLetter","lineClamp","lineHeight","maxLines","opacity","order","orphans","scale","tabSize","WebkitLineClamp","widows","zIndex","zoom","fillOpacity","floodOpacity","maskBorder","maskBorderOutset","maskBorderSlice","maskBorderWidth","shapeImageThreshold","stopOpacity","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","dashify","replaceBetweenIndexes","replacement","DOUBLE_SPACE","specialKeys","Stylesheet","localClassNames$1","composedClassLists$1","conditionalRulesets","fontFaceRules","keyframesRules","propertyRules","localClassNamesMap","localClassName","localClassNamesSearch","layers","composedClassLists","identifier","classList","regex","reverse","processCssObj","root","fromEntries","_ref2","keyframe","transformVars","transformProperties","currConditionalRuleset","layerDefinition","addLayer","mainRule","transformLayer","transformMedia","transformSupports","transformContainer","transformStartingStyle","transformSimplePseudos","transformSelectors","addConditionalRule","cssRule","conditions","transformSelector","parentConditions","layer","uniqueLayerKey","transformContent","pixelifyProperties","_ref3","vars","rest","_ref4","content","transformClassname","transformedSelector","identifier$1","lastReplaceIndex","firstMatch","selectorRule","rule$1","selectorRoot","_this$currConditional","query$1","mediaRule","_this$currConditional2","containerRule","containerQuery","_this$currConditional3","layerRule","_this$currConditional4","supportsRule","_this$currConditional5","nestedAtRuleKey","find","toCss","fontFaceRule","renderCss","property","definition","nesting","cssObj","part","conditionalRuleset","conditionalRule","Boolean","v","_loop2","_loop2$1","key$1","v$1","transformCss","_ref5","localClassNames","cssObjs","murmur2","h","len","_templateObject","refCounter","fileScopes","hasFileScope","getFileScope","getAndIncrementRefCounter","perf","Date","warned","PROCESS","emitWarning","AC","globalThis","AbortController","AS","AbortSignal","onabort","_onabort","aborted","addEventListener","warnACPolyfill","signal","abort","printACPolyfillWarning","LRU_CACHE_IGNORE_AC_WARNING","shouldWarn","isPosInt","floor","isFinite","getUintArray","pow","Uint8Array","Uint16Array","Uint32Array","MAX_SAFE_INTEGER","ZeroArray","fill","Stack","Stack$1","heap","constructing","HeapCls","LRUCache","LRUCache$1","maxSize","dispose","disposeAfter","fetchMethod","memoMethod","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","noDisposeOnSet","noUpdateTTL","maxEntrySize","sizeCalculation","noDeleteOnFetchRejection","noDeleteOnStaleGet","allowStaleOnFetchAbort","allowStaleOnFetchRejection","ignoreFetchAbort","calculatedSize","keyMap","keyList","valList","prev","tail","free","disposed","sizes","starts","ttls","hasDispose","hasFetchMethod","hasDisposeAfter","unsafeExposeInternals","isBackgroundFetch","backgroundFetch","moveToTail","indexes","rindexes","isStale","UintArray","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","Infinity","#initializeTTLTracking","setItemTTL","setTimeout","delete","unref","updateItemAge","statusTTL","cachedNow","getNow","remainingTTL","#updateItemAge","#statusTTL","#setItemTTL","#isStale","#initializeSizeTracking","removeItemSize","requireSize","addItemSize","evict","entrySize","totalCalculatedSize","#addItemSize","_s","_st","#requireSize","_v","#indexes","isValidIndex","#rindexes","#isValidIndex","rentries","rkeys","rvalues","getOptions","__staleWhileFetching","thisp","rforEach","purgeStale","deleted","entry","dump","age","unshift","load","setOptions","maxEntrySizeExceeded","oldVal","__abortController","oldValue","dt","val","#evict","hasOptions","peek","peekOptions","#backgroundFetch","ac","fetchOpts","updateCache","ignoreAbort","fetchAborted","fetchError","fetchAbortIgnored","fetchResolved","fetchFail","bf$1","fetchUpdated","eb","er","fetchRejected","allowStaleAborted","noDelete","returnedStale","__returned","pcall","rej","fmp","Promise","fetchDispatched","bf","#isBackgroundFetch","fetch","fetchOptions","forceRefresh","stale","staleVal","forceFetch","memoOptions","vv","fetching","connect","#connect","#moveToTail","#delete","pi","ni","#clear","isDate","d","isEmpty","isObject","args","isEmptyObject","makeObjectWithoutPrototype","diff","lhs","rhs","deletedValues","reduce","acc","valueOf","difference","diff_default","require_picocolors","argv","isColorSupported","NO_COLOR","FORCE_COLOR","platform","stdout","isTTY","TERM","CI","formatter","open","close","replaceClose","cursor","substring","createColors","enabled","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","black","red","green","yellow","blue","magenta","cyan","white","gray","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","require_cjs","isMergeableObject","isMergeableObject$1","isNonNullObject","isSpecial","stringValue","isReactElement","emptyTarget","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","getMergeFunction","customMerge","getEnumerableOwnPropertySymbols","symbol","getKeys","propertyIsOnObject","propertyIsUnsafe","mergeObject","destination","arrayMerge","sourceIsArray","all","deepmergeAll","import_picocolors","import_cjs","bufferedCSSObjs","browserRuntimeAdapter","composition","getLastSlashBeforeIndex","pathIndex","_getDebugFileName","file","lastIndexOfDotCss","lastSlashIndex","secondLastSlashIndex","dir","memoizedGetDebugFileName","cachedResult","getDebugFileName","getDevPrefix","debugId","debugFileName","parts","_debugFileName","normalizeIdentifier","generateIdentifier","identOption","refCount","fileScopeHash","devPrefix","hash","normaliseObject","validateContract","contract","theDiff","valid","diffString","renderDiff","diffLine","whitespace","line","orig","diff$1","innerNesting","sort","buildPropertyRule","syntax","inherits","createVar","debugIdOrDeclaration","cssVarName","assignVars","varContract","varSetters","createThemeContract","_excluded","createGlobalTheme","arg2","arg3","themeContractProvided","layerName","extractLayerFromTokens","themeContract","composedStyle","styleRules","sourceArray","style","composeStyles","compose","borderContract","radius","none","xsmall","small","medium","large","xlarge","xxlarge","full","colorScaleContract","color","onColor","colorContract","transparent","brand","success","warning","fontSizeScale","pitto","border","font","family","sans","mono","serif","weight","light","regular","semibold","extrabold","lineHeights","tight","normal","loose","body","label","title","headline","display","spacing","xxxlarge","xxxxlarge","PALETTE","addFunctionSerializer","recipe","toPropertyKey","_defineProperty","ownKeys","_objectSpread2","createSprinkles$1","composeStyles$1","sprinklesStyles","styles","sprinklesKeys","shorthandNames","sprinklesFn","shorthands","nonShorthands","hasShorthands","shorthand","sprinkle","propMapping","mappings","finalProps","propValue","prop","sprinkle$1","defaultClass","responsiveIndex","responsiveValue","conditionName","responsiveArray","_conditionName","SprinklesError","format","invalidPropValue","prop$1","value$1","possibleValues","breakpointCount","_responsiveValue","_conditionName2","_value2","properties","processValue","valueName$1","defaultConditions","defaultCondition","defaultClasses","styleValue","_styleValue","valueName","conditionNames","mockComposeStyles","createSprinkles","importPath","importName","borderProperties","borderRadius","generateColorMap","colorMap","colorContract$1","baseKey","colorScale","safeScale","levelKey","typedLevelKey","levelTokens","colorKey","onColorKey","scaledColorKey","onScaledColorKey","flatColorMap","colorProperties","backgroundColor","bg","sizeMap","auto","sprinkles","mobile","tablet","desktop","wide","gridTemplateColumns","gridAutoFlow","flexDirection","alignItems","justifyContent","flexWrap","width","maxWidth","height","placeItems","padding","paddingTop","paddingBottom","paddingLeft","paddingRight","paddingX","paddingY","margin","marginTop","marginBottom","marginLeft","marginRight","marginX","marginY","gap","columnGap","rowGap","pt","pb","pl","pr","px","py","mt","mb","ml","mr","mx","my","g","cg","rg","fontSize","bodyXsmall","bodySmall","bodyMedium","bodyLarge","bodyXlarge","bodyXxlarge","labelXsmall","labelSmall","labelMedium","labelLarge","labelXlarge","labelXxlarge","titleXsmall","titleSmall","titleMedium","titleLarge","titleXlarge","titleXxlarge","headlineXsmall","headlineSmall","headlineMedium","headlineLarge","headlineXlarge","headlineXxlarge","displayXsmall","displaySmall","displayMedium","displayLarge","displayXlarge","displayXxlarge","borderTheme","colors","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","color_name_default","reverseNames","hasOwn","cs","model","hsl","hwb","rgb","abbr","rgba","per","keyword","hexAlpha","i2","round","clamp","alpha","hexDouble","percent","hsla","hwba","number_","string_","color_string_default","reverseKeywords","convert$1","channels","labels","hsv","cmyk","xyz","lab","oklab","lch","oklch","ansi16","ansi256","hcg","apple","conversions_default","LAB_FT","srgbNonlinearTransform","cc","srgbNonlinearTransformInv","delta","rdif","gdif","bdif","diffc","w","lp","cbrt","mp","sp","aa","bb","y","comparativeDistance","reversed","currentClosestDistance","POSITIVE_INFINITY","currentClosestKeyword","distance","z","t3","t2","t1","smin","lmin","hi","q","vmin","sl","wh","bl","ratio","ll","y2","x2","z2","atan2","PI","sqrt","hr","cos","sin","saturation","ansi","mult","trunc","rem","colorString","char","integer","chroma","hue","grayscale","pure","mg","buildGraph","graph","models$1","parent","deriveBFS","fromModel","adjacents","adjacent","link","wrapConversion","toModel","cur","conversion","route","route_default","convert","models","wrapRaw","wrappedFn","arg0","wrapRounded","routes","routeModels","color_convert_default","skippedModels","hashedModelKeys","limiters","Color","valpha","zeroArray","hashedKeys","JSON","limit","toJSON","places","self","arguments_","percentString","unitArray","unitObject","roundToPlace","getset","maxfn","saturationl","lightness","saturationv","wblack","hexa","rgbArray","alphaHex","rgbNumber","luminosity","lum","chan","contrast","color2","lum1","lum2","level","contrastRatio","isDark","isLight","negate","lighten","darken","saturate","desaturate","whiten","blacken","fade","opaquer","rotate","degrees","mix","mixinColor","color1","w1","w2","assertArray","roundTo","number","toFixed","modifier","color_default","getContrastTextColor","hexColor","blackColor","whiteColor","contrastWithBlack","getScaleValue","baseColorHex","amount","finalColorHex","createColorScale","colorName","createColorScaleTheme","REACT_ELEMENT_TYPE","jsxProd","maybeKey","jsx","jsxDEVImpl","isStaticChildren","didWarnAboutKeySpread","React$1","trackActualOwner","jsxs","require_react_jsx_runtime_production","require_react_jsx_runtime_development","Box","$","import_compiler_runtime","T0","htmlProps","t0","as","t2$1","t3$1","sprinkleProps","atomicClasses","import_jsx_runtime","__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf","__hasOwnProp","prototype","hasOwnProperty","__commonJSMin","cb","mod","exports","__copyProps","to","from","except","desc","keys","i","n","length","key","call","get","k","bind","enumerable","__toESM","isNodeMode","target","__esModule","value","stylesheets","injectStyles","_ref","fileScope","css","fileScopeId","packageName","filePath","join","stylesheet","styleEl","document","createElement","setAttribute","head","appendChild","innerHTML","require_vanilla_extract_private_cjs_prod","getVarName","variable","matches","match","obj","path","result","Error","concat","walkObject","fn","arguments","clone","_value","currentPath","Array","isArray","console","warn","require_vanilla_extract_private_cjs_dev","require_vanilla_extract_private_cjs","module","process","env","NODE_ENV","require_cssesc","merge","options","defaults","regexAnySingleEscape","regexSingleEscape","regexExcessiveSpaces","cssesc","string","quotes","quote","isIdentifier","firstChar","charAt","output","counter","character","codePoint","charCodeAt","extra","toString","toUpperCase","escapeEverything","test","slice","replace","$0","$1","$2","wrap","version","import_cssesc","import_vanilla_extract_private_cjs","AhoCorasick","constructor","keywords","failure","gotoFn","_buildTables","state","word","curr","l","push","xs","state2","r","shift","s","fs","search","str","results","foundStrs","mockAdapter","appendCss","registerClassName","onEndFileScope","registerComposition","markCompositionUsed","getIdentOption","adapterStack","currentAdapter","hasConfiguredAdapter","setAdapterIfNotSet","newAdapter","setAdapter","adapter","_taggedTemplateLiteral","strings","raw","freeze","defineProperties","require_types","AttributeAction","IgnoreCaseMode","SelectorType","Unknown","QuirksMode","IgnoreCase","CaseSensitive","require_parse","parse","isTraversal","types_1","reName","reEscape","actionTypes","Map","Element","Start","End","Any","Not","Hyphen","unpackPseudos","Set","selector","type","Adjacent","Child","Descendant","Parent","Sibling","ColumnCombinator","stripQuotesFromPseudos","funescape","_","escaped","escapedWhitespace","high","parseInt","String","fromCharCode","unescapeCSS","isQuote","c","isWhitespace","subselects","endIndex","parseSelector","selectorIndex","tokens","getName","offset","name","stripWhitespace","readValueWithParenthesis","start","isEscaped","pos","slashCount","ensureNotTraversal","addTraversal","addSpecialAttribute","action","Attribute","namespace","ignoreCase","finalizeSubselector","pop","loop","Equals","name_1","startsWith","Exists","possibleAction","sectionEnd","valueStart","forceIgnore","attributeSelector","PseudoElement","toLowerCase","data","name_2","has","quot","Pseudo","indexOf","name_3","Universal","Tag","require_stringify","__spreadArray","pack","ar","stringify","attribValChars","pseudoValChars","charsToEscapeInAttributeValue","map","charsToEscapeInPseudoValue","charsToEscapeInName","token","stringifyToken","index","arr","getNamespace","getNamespacedName","escapeName","getActionValue","charsToEscape","lastIdx","ret","require_commonjs","__createBinding","o","m","k2","writable","configurable","__exportStar","exports$1","p","parse_1","stringify_1","import_commonjs","ownKeys$2","object","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","apply","_objectSpread","source","forEach","_defineProperty$2","getOwnPropertyDescriptors","_toPropertyKey","arg","_toPrimitive","input","hint","prim","Symbol","toPrimitive","res","TypeError","Number","dedent","createDedent","dedent_default","withOptions","newOptions","values","alignValues","escapeSpecialCharacters","trimWhitespace","next","alignValue","lines","split","mindent","indent","Math","min","trim","Bun","braced","unbraced","hex","fromCodePoint","precedingText","includes","indentMatch","lastIndexOf","require_dist","__assign","assign","t","__rest","e","propertyIsEnumerable","__values","iterator","done","__read","error","weirdNewlines","nullOrSurrogates","commentRegex","lexicalAnalysis","code","code_1","consumeString","_a","lastIndex","nextCode","flag","wouldStartIdentifier","consumeIdentUnsafe","_b","_c","plusNumeric","consumeNumeric","_d","tokenTuple","unit","minusNumeric","_e","nextNextCode","consumeIdentLike","_f","_g","nextNextNextCode","consumeIdent","_h","consumeEscape","_j","_k","_l","firstCode","charCodes","charCode","hexCharCodes","code_2","code_3","numberResult","consumeNumber","numberEndIndex","numberValue","numberFlag","identResult","numberChars","nextNextIsDigit","numberString","parseFloat","isNaN","identChars","code_4","code_5","consumeUrl","urlChars","hasFinishedWord","result_1","simplifyAST","ast","simplifyMediaQuery","mediaQuery","mediaCondition","simplifyMediaCondition","operator","children","mediaPrefix","mediaType","unsimplifiedChild","child","spliceArgs","i_1","splice","createError","message","err","toAST","toUnflattenedAST","tokenList","startIndex","syntacticAnalysis","removeWhitespace","newTokenList","before","wsAfter","wsBefore","e_1","mediaQueryList","mediaQueries","mediaQueryTokens","tokenizeMediaQuery","nonNullMediaQueryTokens","mediaQueryTokens_1","mediaQueryTokens_1_1","mediaQueryToken","e_1_1","firstToken","tokenizeMediaCondition","firstIndex","firstNonUnaryToken","value_1","tokensWithParens","secondNonUnaryToken","mayContainOr","previousOperator","endIndexOfFirstFeature","maxDepth","count","max","featureTokens","tokenizeMediaFeature","nextToken","siblings","rawTokens","a","b","numerator","denominator","context","feature","valueToken","prefix","range","tokenizeRange","featureName","leftToken","leftOp","rightOp","rightToken","hasLeft","tokenIndexAfterFirstOp","tokenAfterFirstOp","secondOpToken","followingToken","validRange","lt","rt","import_dist","toPrimitive$1","toPropertyKey$1","_defineProperty$1","ownKeys$1","_objectSpread2$1","_objectWithoutPropertiesLoose","excluded","sourceKeys","_objectWithoutProperties","sourceSymbolKeys","_key","omit","omitKeys","_key2","mapKeys","_key3","composeStylesIntoSet","set","_len","classNames","_key5","className","add","dedupeAndJoinClassList","_templateObject$1","escapeRegex","validateSelector","targetClassName","replaceTarget","targetRegex","RegExp","default","selectorParts","cause","ConditionalRuleset","ruleset","precedenceLookup","findOrCreateCondition","conditionQuery","targetCondition","query","rules","getConditionalRulesetByPath","conditionPath","currRuleset","addRule","rule","addConditionPrecedence","conditionOrder","_ruleset$precedenceLo","conditionPrecedence","lowerPrecedenceCondition","isCompatible","incomingRuleset","condition","orderPrecedence","entries","_incomingRuleset$prec","matchingCondition","incomingOrderPrecedence","_this$precedenceLooku","mergeIfCompatible","getSortedRuleset","_this","sortedRuleset","_loop","dependents","conditionForQuery","firstMatchingDependent","findIndex","renderToArray","selectors","simplePseudoMap","simplePseudos","simplePseudoLookup","_templateObject$2","createMediaQueryError","msg","validateMediaQuery","_excluded$1","_excluded2","DECLARATION","UNITLESS","animationIterationCount","borderImage","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","columnCount","columns","flex","flexGrow","flexShrink","fontWeight","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","initialLetter","lineClamp","lineHeight","maxLines","opacity","order","orphans","scale","tabSize","WebkitLineClamp","widows","zIndex","zoom","fillOpacity","floodOpacity","maskBorder","maskBorderOutset","maskBorderSlice","maskBorderWidth","shapeImageThreshold","stopOpacity","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","dashify","replaceBetweenIndexes","replacement","end","DOUBLE_SPACE","specialKeys","Stylesheet","localClassNames","composedClassLists","conditionalRulesets","fontFaceRules","keyframesRules","propertyRules","localClassNamesMap","localClassName","localClassNamesSearch","layers","identifier","classList","regex","reverse","processCssObj","root","fromEntries","_ref2","keyframe","transformVars","transformProperties","currConditionalRuleset","layerDefinition","addLayer","mainRule","transformLayer","transformMedia","transformSupports","transformContainer","transformStartingStyle","transformSimplePseudos","transformSelectors","addConditionalRule","cssRule","conditions","transformSelector","parentConditions","layer","uniqueLayerKey","transformContent","pixelifyProperties","_ref3","vars","rest","_ref4","content","transformClassname","transformedSelector","lastReplaceIndex","firstMatch","selectorRule","selectorRoot","_this$currConditional","mediaRule","_this$currConditional2","containerRule","containerQuery","_this$currConditional3","layerRule","_this$currConditional4","supportsRule","_this$currConditional5","nestedAtRuleKey","find","toCss","fontFaceRule","renderCss","property","definition","nesting","cssObj","part","conditionalRuleset","conditionalRule","Boolean","v","_loop2","transformCss","_ref5","cssObjs","murmur2","h","len","_templateObject","refCounter","fileScopes","hasFileScope","getFileScope","getAndIncrementRefCounter","perf","performance","now","Date","warned","PROCESS","emitWarning","AC","globalThis","AbortController","AS","AbortSignal","onabort","_onabort","reason","aborted","addEventListener","warnACPolyfill","signal","abort","printACPolyfillWarning","LRU_CACHE_IGNORE_AC_WARNING","shouldWarn","isPosInt","floor","isFinite","getUintArray","pow","Uint8Array","Uint16Array","Uint32Array","MAX_SAFE_INTEGER","ZeroArray","size","fill","Stack","heap","constructing","HeapCls","LRUCache","maxSize","dispose","disposeAfter","fetchMethod","memoMethod","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","noDisposeOnSet","noUpdateTTL","maxEntrySize","sizeCalculation","noDeleteOnFetchRejection","noDeleteOnStaleGet","allowStaleOnFetchAbort","allowStaleOnFetchRejection","ignoreFetchAbort","calculatedSize","keyMap","keyList","valList","prev","tail","free","disposed","sizes","starts","ttls","hasDispose","hasFetchMethod","hasDisposeAfter","unsafeExposeInternals","isBackgroundFetch","backgroundFetch","moveToTail","indexes","rindexes","isStale","UintArray","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","Infinity","#initializeTTLTracking","setItemTTL","setTimeout","delete","unref","updateItemAge","statusTTL","status","cachedNow","getNow","remainingTTL","#updateItemAge","#statusTTL","#setItemTTL","#isStale","#initializeSizeTracking","removeItemSize","requireSize","addItemSize","evict","entrySize","totalCalculatedSize","_i","#addItemSize","_s","_st","#requireSize","_v","#indexes","isValidIndex","#rindexes","#isValidIndex","rentries","rkeys","rvalues","toStringTag","getOptions","__staleWhileFetching","thisp","rforEach","purgeStale","deleted","info","entry","dump","age","unshift","load","clear","setOptions","maxEntrySizeExceeded","oldVal","__abortController","oldValue","dt","task","val","#evict","hasOptions","peek","peekOptions","#backgroundFetch","ac","fetchOpts","updateCache","ignoreAbort","fetchAborted","fetchError","fetchAbortIgnored","fetchResolved","fetchFail","bf","fetchUpdated","eb","er","fetchRejected","allowStaleAborted","noDelete","returnedStale","__returned","pcall","rej","fmp","Promise","then","fetchDispatched","#isBackgroundFetch","fetch","fetchOptions","forceRefresh","stale","staleVal","forceFetch","memo","memoOptions","vv","fetching","connect","#connect","#moveToTail","#delete","pi","ni","#clear","isDate","d","isEmpty","isObject","args","isEmptyObject","makeObjectWithoutPrototype","diff","lhs","rhs","deletedValues","reduce","acc","valueOf","difference","diff_default","require_picocolors","argv","isColorSupported","NO_COLOR","FORCE_COLOR","platform","stdout","isTTY","TERM","CI","formatter","open","close","replaceClose","cursor","substring","createColors","enabled","f","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","black","red","green","yellow","blue","magenta","cyan","white","gray","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","require_cjs","isMergeableObject","isNonNullObject","isSpecial","stringValue","isReactElement","REACT_ELEMENT_TYPE","for","$$typeof","emptyTarget","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","element","getMergeFunction","customMerge","getEnumerableOwnPropertySymbols","symbol","getKeys","propertyIsOnObject","propertyIsUnsafe","mergeObject","destination","arrayMerge","sourceIsArray","all","deepmergeAll","array","deepmerge_1","import_picocolors","import_cjs","bufferedCSSObjs","browserRuntimeAdapter","composition","window","getLastSlashBeforeIndex","pathIndex","_getDebugFileName","file","lastIndexOfDotCss","lastSlashIndex","secondLastSlashIndex","dir","memoizedGetDebugFileName","cache","cachedResult","getDebugFileName","getDevPrefix","debugId","debugFileName","parts","_debugFileName","normalizeIdentifier","generateIdentifier","identOption","refCount","fileScopeHash","devPrefix","hash","normaliseObject","validateContract","contract","theDiff","valid","diffString","renderDiff","diffLine","whitespace","line","orig","innerNesting","sort","buildPropertyRule","syntax","inherits","initialValue","createVar","debugIdOrDeclaration","cssVarName","assignVars","varContract","varSetters","createThemeContract","_excluded","createGlobalTheme","arg2","arg3","themeContractProvided","layerName","extractLayerFromTokens","themeContract","composedStyle","styleRules","sourceArray","style","composeStyles","compose","borderContract","radius","none","xsmall","small","medium","large","xlarge","xxlarge","full","SCALABLE_COLOR_TOKENS","PURE_COLOR_TOKENS","COLOR_SCALES","colorScaleContract","color","onColor","colorContract","transparent","brand","success","warning","fontSizeScale","fontContract","family","sans","mono","serif","weight","light","regular","semibold","extrabold","lineHeights","tight","normal","loose","body","label","title","headline","display","SPACING_TOKENS","spacingContract","xxxlarge","xxxxlarge","pitto","border","font","spacing","PALETTE","addFunctionSerializer","recipe","toPropertyKey","_defineProperty","ownKeys","_objectSpread2","createSprinkles$1","sprinklesStyles","styles","sprinklesKeys","shorthandNames","sprinklesFn","props","shorthands","nonShorthands","hasShorthands","shorthand","sprinkle","propMapping","mappings","finalProps","propValue","prop","defaultClass","responsiveIndex","responsiveValue","conditionName","responsiveArray","_conditionName","SprinklesError","format","invalidPropValue","possibleValues","breakpointCount","_responsiveValue","_conditionName2","_value2","properties","processValue","valueName","defaultConditions","defaultCondition","defaultClasses","styleValue","_styleValue","conditionNames","mockComposeStyles","createSprinkles","config","importPath","importName","borderProperties","borderRadius","generateColorMap","colorMap","baseKey","colorScale","safeScale","levelKey","typedLevelKey","levelTokens","colorKey","onColorKey","scaledColorKey","onScaledColorKey","flatColorMap","COLOR_TOKEN_KEYS","BG_COLOR_TOKENS","colorProperties","backgroundColor","bg","sizeMap","auto","responsiveProperties","mobile","tablet","desktop","wide","gridTemplateColumns","gridAutoFlow","flexDirection","alignItems","justifyContent","flexWrap","width","maxWidth","height","placeItems","spacingProperties","padding","paddingTop","paddingBottom","paddingLeft","paddingRight","paddingX","paddingY","margin","marginTop","marginBottom","marginLeft","marginRight","marginX","marginY","gap","columnGap","rowGap","pt","pb","pl","pr","px","py","mt","mb","ml","mr","mx","my","g","cg","rg","fontWeightMap","fontSizeMap","bodyXsmall","bodySmall","bodyMedium","bodyLarge","bodyXlarge","bodyXxlarge","labelXsmall","labelSmall","labelMedium","labelLarge","labelXlarge","labelXxlarge","titleXsmall","titleSmall","titleMedium","titleLarge","titleXlarge","titleXxlarge","headlineXsmall","headlineSmall","headlineMedium","headlineLarge","headlineXlarge","headlineXxlarge","displayXsmall","displaySmall","displayMedium","displayLarge","displayXlarge","displayXxlarge","typographyProperties","fontSize","sprinkles","borderTheme","colors","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","color_name_default","reverseNames","hasOwn","cs","model","hsl","hwb","rgb","abbr","rgba","per","keyword","hexAlpha","i2","round","clamp","alpha","hexDouble","percent","hsla","hwba","number_","string_","color_string_default","reverseKeywords","convert$1","channels","labels","hsv","cmyk","xyz","lab","oklab","lch","oklch","ansi16","ansi256","hcg","apple","conversions_default","LAB_FT","srgbNonlinearTransform","cc","srgbNonlinearTransformInv","delta","rdif","gdif","bdif","diffc","w","lp","cbrt","mp","sp","aa","bb","y","comparativeDistance","x","reversed","currentClosestDistance","POSITIVE_INFINITY","currentClosestKeyword","distance","z","t3","t2","t1","smin","lmin","hi","q","vmin","sl","wh","bl","ratio","ll","y2","x2","z2","atan2","PI","sqrt","hr","cos","sin","saturation","ansi","mult","trunc","rem","colorString","char","integer","chroma","hue","grayscale","pure","mg","buildGraph","graph","models","parent","deriveBFS","fromModel","queue","current","adjacents","adjacent","node","link","wrapConversion","toModel","cur","conversion","route","route_default","convert","wrapRaw","wrappedFn","arg0","wrapRounded","routes","routeModels","color_convert_default","skippedModels","hashedModelKeys","limiters","Color","valpha","zeroArray","hashedKeys","JSON","limit","toJSON","places","self","arguments_","percentString","unitArray","unitObject","roundToPlace","getset","maxfn","saturationl","lightness","saturationv","wblack","hexa","rgbArray","alphaHex","rgbNumber","luminosity","lum","chan","contrast","color2","lum1","lum2","level","contrastRatio","isDark","isLight","negate","lighten","darken","saturate","desaturate","whiten","blacken","fade","opaquer","rotate","degrees","mix","mixinColor","color1","w1","w2","assertArray","roundTo","number","toFixed","channel","modifier","color_default","getContrastTextColor","hexColor","blackColor","whiteColor","contrastWithBlack","getScaleValue","baseColorHex","amount","finalColorHex","createColorScale","colorName","createColorScaleTheme","colorTheme","fontTheme","spacingTheme","theme","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","ReactSharedInternals","hasOwnProperty","ReactElement","REACT_ELEMENT_TYPE","isArrayImpl","isValidElement","React","React","clsx","Box","BoxProps","SPACING_TOKENS","SpacingToken","stackStyle","STACK_DIRECTIONS","const","StackDirection","STACK_ALIGNS","StackAlign","STACK_JUSTIFIES","StackJustify","StackProps","Omit","direction","align","justify","gap","Stack","FC","t0","$","_c","className","props","t1","t2","t3","undefined","t4","includes","isGapToken","T0","t5","t6","stackClass","t7","t8","style","t9"],"sources":["../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/functionSerializer/dist/vanilla-extract-css-functionSerializer.browser.esm.js","../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js","../../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js","../../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js","../../../node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js","../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.browser.esm.js","../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-8e47dbd7.browser.esm.js","../../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/types.js","../../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/parse.js","../../../node_modules/.pnpm/dedent@1.7.1/node_modules/dedent/dist/dedent.mjs","../../../node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/media-query-parser.esm.js","../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/transformCss-20240126.browser.esm.js","../../../node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js","../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.browser.esm.js","../../../node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js","../../../node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js","../../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.browser.esm.js","../../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js","../../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.esm.js","../src/stack.css.ts","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.development.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-compiler-runtime.production.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-compiler-runtime.development.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/compiler-runtime.js","../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.development.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-compiler-runtime.production.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-compiler-runtime.development.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/compiler-runtime.js","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../styles/dist/index.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.development.js","../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js","../../src/Box.tsx","../../styles/dist/index.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js","../src/Stack.tsx"],"sourcesContent":["function addFunctionSerializer(target, recipe) {\n // TODO: Update to \"__function_serializer__\" in future.\n // __recipe__ is the backwards compatible name\n Object.defineProperty(target, '__recipe__', {\n value: recipe,\n writable: false\n });\n return target;\n}\n\nexport { addFunctionSerializer };\n","var stylesheets = {};\nvar injectStyles = _ref => {\n var {\n fileScope,\n css\n } = _ref;\n var fileScopeId = fileScope.packageName ? [fileScope.packageName, fileScope.filePath].join('/') : fileScope.filePath;\n var stylesheet = stylesheets[fileScopeId];\n if (!stylesheet) {\n var styleEl = document.createElement('style');\n if (fileScope.packageName) {\n styleEl.setAttribute('data-package', fileScope.packageName);\n }\n styleEl.setAttribute('data-file', fileScope.filePath);\n styleEl.setAttribute('type', 'text/css');\n stylesheet = stylesheets[fileScopeId] = styleEl;\n document.head.appendChild(styleEl);\n }\n stylesheet.innerHTML = css;\n};\n\nexport { injectStyles };\n","function getVarName(variable) {\n var matches = variable.match(/^var\\((.*)\\)$/);\n if (matches) {\n return matches[1];\n }\n return variable;\n}\n\nfunction get(obj, path) {\n var result = obj;\n for (var key of path) {\n if (!(key in result)) {\n throw new Error(\"Path \".concat(path.join(' -> '), \" does not exist in object\"));\n }\n result = result[key];\n }\n return result;\n}\n\nfunction walkObject(obj, fn) {\n var path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var clone = {};\n for (var key in obj) {\n var _value = obj[key];\n var currentPath = [...path, key];\n if (typeof _value === 'string' || typeof _value === 'number' || _value == null) {\n clone[key] = fn(_value, currentPath);\n } else if (typeof _value === 'object' && !Array.isArray(_value)) {\n clone[key] = walkObject(_value, fn, currentPath);\n } else {\n console.warn(\"Skipping invalid key \\\"\".concat(currentPath.join('.'), \"\\\". Should be a string, number, null or object. Received: \\\"\").concat(Array.isArray(_value) ? 'Array' : typeof _value, \"\\\"\"));\n }\n }\n return clone;\n}\n\nexport { get, getVarName, walkObject };\n","/*! https://mths.be/cssesc v3.0.0 by @mathias */\n'use strict';\n\nvar object = {};\nvar hasOwnProperty = object.hasOwnProperty;\nvar merge = function merge(options, defaults) {\n\tif (!options) {\n\t\treturn defaults;\n\t}\n\tvar result = {};\n\tfor (var key in defaults) {\n\t\t// `if (defaults.hasOwnProperty(key) { … }` is not needed here, since\n\t\t// only recognized option names are used.\n\t\tresult[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];\n\t}\n\treturn result;\n};\n\nvar regexAnySingleEscape = /[ -,\\.\\/:-@\\[-\\^`\\{-~]/;\nvar regexSingleEscape = /[ -,\\.\\/:-@\\[\\]\\^`\\{-~]/;\nvar regexAlwaysEscape = /['\"\\\\]/;\nvar regexExcessiveSpaces = /(^|\\\\+)?(\\\\[A-F0-9]{1,6})\\x20(?![a-fA-F0-9\\x20])/g;\n\n// https://mathiasbynens.be/notes/css-escapes#css\nvar cssesc = function cssesc(string, options) {\n\toptions = merge(options, cssesc.options);\n\tif (options.quotes != 'single' && options.quotes != 'double') {\n\t\toptions.quotes = 'single';\n\t}\n\tvar quote = options.quotes == 'double' ? '\"' : '\\'';\n\tvar isIdentifier = options.isIdentifier;\n\n\tvar firstChar = string.charAt(0);\n\tvar output = '';\n\tvar counter = 0;\n\tvar length = string.length;\n\twhile (counter < length) {\n\t\tvar character = string.charAt(counter++);\n\t\tvar codePoint = character.charCodeAt();\n\t\tvar value = void 0;\n\t\t// If it’s not a printable ASCII character…\n\t\tif (codePoint < 0x20 || codePoint > 0x7E) {\n\t\t\tif (codePoint >= 0xD800 && codePoint <= 0xDBFF && counter < length) {\n\t\t\t\t// It’s a high surrogate, and there is a next character.\n\t\t\t\tvar extra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) {\n\t\t\t\t\t// next character is low surrogate\n\t\t\t\t\tcodePoint = ((codePoint & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000;\n\t\t\t\t} else {\n\t\t\t\t\t// It’s an unmatched surrogate; only append this code unit, in case\n\t\t\t\t\t// the next code unit is the high surrogate of a surrogate pair.\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvalue = '\\\\' + codePoint.toString(16).toUpperCase() + ' ';\n\t\t} else {\n\t\t\tif (options.escapeEverything) {\n\t\t\t\tif (regexAnySingleEscape.test(character)) {\n\t\t\t\t\tvalue = '\\\\' + character;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = '\\\\' + codePoint.toString(16).toUpperCase() + ' ';\n\t\t\t\t}\n\t\t\t} else if (/[\\t\\n\\f\\r\\x0B]/.test(character)) {\n\t\t\t\tvalue = '\\\\' + codePoint.toString(16).toUpperCase() + ' ';\n\t\t\t} else if (character == '\\\\' || !isIdentifier && (character == '\"' && quote == character || character == '\\'' && quote == character) || isIdentifier && regexSingleEscape.test(character)) {\n\t\t\t\tvalue = '\\\\' + character;\n\t\t\t} else {\n\t\t\t\tvalue = character;\n\t\t\t}\n\t\t}\n\t\toutput += value;\n\t}\n\n\tif (isIdentifier) {\n\t\tif (/^-[-\\d]/.test(output)) {\n\t\t\toutput = '\\\\-' + output.slice(1);\n\t\t} else if (/\\d/.test(firstChar)) {\n\t\t\toutput = '\\\\3' + firstChar + ' ' + output.slice(1);\n\t\t}\n\t}\n\n\t// Remove spaces after `\\HEX` escapes that are not followed by a hex digit,\n\t// since they’re redundant. Note that this is only possible if the escape\n\t// sequence isn’t preceded by an odd number of backslashes.\n\toutput = output.replace(regexExcessiveSpaces, function ($0, $1, $2) {\n\t\tif ($1 && $1.length % 2) {\n\t\t\t// It’s not safe to remove the space, so don’t.\n\t\t\treturn $0;\n\t\t}\n\t\t// Strip the space.\n\t\treturn ($1 || '') + $2;\n\t});\n\n\tif (!isIdentifier && options.wrap) {\n\t\treturn quote + output + quote;\n\t}\n\treturn output;\n};\n\n// Expose default options (so they can be overridden globally).\ncssesc.options = {\n\t'escapeEverything': false,\n\t'isIdentifier': false,\n\t'quotes': 'single',\n\t'wrap': false\n};\n\ncssesc.version = '3.0.0';\n\nmodule.exports = cssesc;\n","// src/index.ts\nvar AhoCorasick = class {\n constructor(keywords) {\n const { failure, gotoFn, output } = this._buildTables(keywords);\n this.gotoFn = gotoFn;\n this.output = output;\n this.failure = failure;\n }\n _buildTables(keywords) {\n const gotoFn = {\n 0: {}\n };\n const output = {};\n let state = 0;\n for (const word of keywords) {\n let curr = 0;\n for (const l of word) {\n if (gotoFn[curr] && l in gotoFn[curr]) {\n curr = gotoFn[curr][l];\n } else {\n state++;\n gotoFn[curr][l] = state;\n gotoFn[state] = {};\n curr = state;\n output[state] = [];\n }\n }\n output[curr].push(word);\n }\n const failure = {};\n const xs = [];\n for (const l in gotoFn[0]) {\n const state2 = gotoFn[0][l];\n failure[state2] = 0;\n xs.push(state2);\n }\n while (xs.length > 0) {\n const r = xs.shift();\n if (r !== void 0) {\n for (const l in gotoFn[r]) {\n const s = gotoFn[r][l];\n xs.push(s);\n let state2 = failure[r];\n while (state2 > 0 && !(l in gotoFn[state2])) {\n state2 = failure[state2];\n }\n if (l in gotoFn[state2]) {\n const fs = gotoFn[state2][l];\n failure[s] = fs;\n output[s] = [...output[s], ...output[fs]];\n } else {\n failure[s] = 0;\n }\n }\n }\n }\n return {\n gotoFn,\n output,\n failure\n };\n }\n search(str) {\n let state = 0;\n const results = [];\n for (let i = 0; i < str.length; i++) {\n const l = str[i];\n while (state > 0 && !(l in this.gotoFn[state])) {\n state = this.failure[state];\n }\n if (!(l in this.gotoFn[state])) {\n continue;\n }\n state = this.gotoFn[state][l];\n if (this.output[state].length > 0) {\n const foundStrs = this.output[state];\n results.push([i, foundStrs]);\n }\n }\n return results;\n }\n match(str) {\n let state = 0;\n for (let i = 0; i < str.length; i++) {\n const l = str[i];\n while (state > 0 && !(l in this.gotoFn[state])) {\n state = this.failure[state];\n }\n if (!(l in this.gotoFn[state])) {\n continue;\n }\n state = this.gotoFn[state][l];\n if (this.output[state].length > 0) {\n return true;\n }\n }\n return false;\n }\n};\nexport {\n AhoCorasick as default\n};\n","var mockAdapter = {\n appendCss: () => {},\n registerClassName: () => {},\n onEndFileScope: () => {},\n registerComposition: () => {},\n markCompositionUsed: () => {},\n getIdentOption: () => process.env.NODE_ENV === 'production' ? 'short' : 'debug'\n};\nvar adapterStack = [mockAdapter];\nvar currentAdapter = () => {\n if (adapterStack.length < 1) {\n throw new Error('No adapter configured');\n }\n return adapterStack[adapterStack.length - 1];\n};\nvar hasConfiguredAdapter = false;\nvar setAdapterIfNotSet = newAdapter => {\n if (!hasConfiguredAdapter) {\n setAdapter(newAdapter);\n }\n};\nvar setAdapter = newAdapter => {\n if (!newAdapter) {\n throw new Error('No adapter provided when calling \"setAdapter\"');\n }\n hasConfiguredAdapter = true;\n adapterStack.push(newAdapter);\n};\nvar removeAdapter = () => {\n adapterStack.pop();\n};\nvar appendCss = function appendCss() {\n return currentAdapter().appendCss(...arguments);\n};\nvar registerClassName = function registerClassName() {\n return currentAdapter().registerClassName(...arguments);\n};\nvar registerComposition = function registerComposition() {\n return currentAdapter().registerComposition(...arguments);\n};\nvar markCompositionUsed = function markCompositionUsed() {\n return currentAdapter().markCompositionUsed(...arguments);\n};\nvar onBeginFileScope = function onBeginFileScope() {\n var _currentAdapter$onBeg, _currentAdapter;\n for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {\n props[_key] = arguments[_key];\n }\n return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props);\n};\nvar onEndFileScope = function onEndFileScope() {\n return currentAdapter().onEndFileScope(...arguments);\n};\nvar getIdentOption = function getIdentOption() {\n var adapter = currentAdapter();\n\n // Backwards compatibility with old versions of the integration package\n if (!('getIdentOption' in adapter)) {\n return process.env.NODE_ENV === 'production' ? 'short' : 'debug';\n }\n return adapter.getIdentOption(...arguments);\n};\n\nexport { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onBeginFileScope, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet };\n","function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\n\nexport { _taggedTemplateLiteral as _ };\n","export var SelectorType;\n(function (SelectorType) {\n SelectorType[\"Attribute\"] = \"attribute\";\n SelectorType[\"Pseudo\"] = \"pseudo\";\n SelectorType[\"PseudoElement\"] = \"pseudo-element\";\n SelectorType[\"Tag\"] = \"tag\";\n SelectorType[\"Universal\"] = \"universal\";\n // Traversals\n SelectorType[\"Adjacent\"] = \"adjacent\";\n SelectorType[\"Child\"] = \"child\";\n SelectorType[\"Descendant\"] = \"descendant\";\n SelectorType[\"Parent\"] = \"parent\";\n SelectorType[\"Sibling\"] = \"sibling\";\n SelectorType[\"ColumnCombinator\"] = \"column-combinator\";\n})(SelectorType || (SelectorType = {}));\n/**\n * Modes for ignore case.\n *\n * This could be updated to an enum, and the object is\n * the current stand-in that will allow code to be updated\n * without big changes.\n */\nexport const IgnoreCaseMode = {\n Unknown: null,\n QuirksMode: \"quirks\",\n IgnoreCase: true,\n CaseSensitive: false,\n};\nexport var AttributeAction;\n(function (AttributeAction) {\n AttributeAction[\"Any\"] = \"any\";\n AttributeAction[\"Element\"] = \"element\";\n AttributeAction[\"End\"] = \"end\";\n AttributeAction[\"Equals\"] = \"equals\";\n AttributeAction[\"Exists\"] = \"exists\";\n AttributeAction[\"Hyphen\"] = \"hyphen\";\n AttributeAction[\"Not\"] = \"not\";\n AttributeAction[\"Start\"] = \"start\";\n})(AttributeAction || (AttributeAction = {}));\n","import { SelectorType, AttributeAction, } from \"./types\";\nconst reName = /^[^\\\\#]?(?:\\\\(?:[\\da-f]{1,6}\\s?|.)|[\\w\\-\\u00b0-\\uFFFF])+/;\nconst reEscape = /\\\\([\\da-f]{1,6}\\s?|(\\s)|.)/gi;\nconst actionTypes = new Map([\n [126 /* Tilde */, AttributeAction.Element],\n [94 /* Circumflex */, AttributeAction.Start],\n [36 /* Dollar */, AttributeAction.End],\n [42 /* Asterisk */, AttributeAction.Any],\n [33 /* ExclamationMark */, AttributeAction.Not],\n [124 /* Pipe */, AttributeAction.Hyphen],\n]);\n// Pseudos, whose data property is parsed as well.\nconst unpackPseudos = new Set([\n \"has\",\n \"not\",\n \"matches\",\n \"is\",\n \"where\",\n \"host\",\n \"host-context\",\n]);\n/**\n * Checks whether a specific selector is a traversal.\n * This is useful eg. in swapping the order of elements that\n * are not traversals.\n *\n * @param selector Selector to check.\n */\nexport function isTraversal(selector) {\n switch (selector.type) {\n case SelectorType.Adjacent:\n case SelectorType.Child:\n case SelectorType.Descendant:\n case SelectorType.Parent:\n case SelectorType.Sibling:\n case SelectorType.ColumnCombinator:\n return true;\n default:\n return false;\n }\n}\nconst stripQuotesFromPseudos = new Set([\"contains\", \"icontains\"]);\n// Unescape function taken from https://github.com/jquery/sizzle/blob/master/src/sizzle.js#L152\nfunction funescape(_, escaped, escapedWhitespace) {\n const high = parseInt(escaped, 16) - 0x10000;\n // NaN means non-codepoint\n return high !== high || escapedWhitespace\n ? escaped\n : high < 0\n ? // BMP codepoint\n String.fromCharCode(high + 0x10000)\n : // Supplemental Plane codepoint (surrogate pair)\n String.fromCharCode((high >> 10) | 0xd800, (high & 0x3ff) | 0xdc00);\n}\nfunction unescapeCSS(str) {\n return str.replace(reEscape, funescape);\n}\nfunction isQuote(c) {\n return c === 39 /* SingleQuote */ || c === 34 /* DoubleQuote */;\n}\nfunction isWhitespace(c) {\n return (c === 32 /* Space */ ||\n c === 9 /* Tab */ ||\n c === 10 /* NewLine */ ||\n c === 12 /* FormFeed */ ||\n c === 13 /* CarriageReturn */);\n}\n/**\n * Parses `selector`, optionally with the passed `options`.\n *\n * @param selector Selector to parse.\n * @param options Options for parsing.\n * @returns Returns a two-dimensional array.\n * The first dimension represents selectors separated by commas (eg. `sub1, sub2`),\n * the second contains the relevant tokens for that selector.\n */\nexport function parse(selector) {\n const subselects = [];\n const endIndex = parseSelector(subselects, `${selector}`, 0);\n if (endIndex < selector.length) {\n throw new Error(`Unmatched selector: ${selector.slice(endIndex)}`);\n }\n return subselects;\n}\nfunction parseSelector(subselects, selector, selectorIndex) {\n let tokens = [];\n function getName(offset) {\n const match = selector.slice(selectorIndex + offset).match(reName);\n if (!match) {\n throw new Error(`Expected name, found ${selector.slice(selectorIndex)}`);\n }\n const [name] = match;\n selectorIndex += offset + name.length;\n return unescapeCSS(name);\n }\n function stripWhitespace(offset) {\n selectorIndex += offset;\n while (selectorIndex < selector.length &&\n isWhitespace(selector.charCodeAt(selectorIndex))) {\n selectorIndex++;\n }\n }\n function readValueWithParenthesis() {\n selectorIndex += 1;\n const start = selectorIndex;\n let counter = 1;\n for (; counter > 0 && selectorIndex < selector.length; selectorIndex++) {\n if (selector.charCodeAt(selectorIndex) ===\n 40 /* LeftParenthesis */ &&\n !isEscaped(selectorIndex)) {\n counter++;\n }\n else if (selector.charCodeAt(selectorIndex) ===\n 41 /* RightParenthesis */ &&\n !isEscaped(selectorIndex)) {\n counter--;\n }\n }\n if (counter) {\n throw new Error(\"Parenthesis not matched\");\n }\n return unescapeCSS(selector.slice(start, selectorIndex - 1));\n }\n function isEscaped(pos) {\n let slashCount = 0;\n while (selector.charCodeAt(--pos) === 92 /* BackSlash */)\n slashCount++;\n return (slashCount & 1) === 1;\n }\n function ensureNotTraversal() {\n if (tokens.length > 0 && isTraversal(tokens[tokens.length - 1])) {\n throw new Error(\"Did not expect successive traversals.\");\n }\n }\n function addTraversal(type) {\n if (tokens.length > 0 &&\n tokens[tokens.length - 1].type === SelectorType.Descendant) {\n tokens[tokens.length - 1].type = type;\n return;\n }\n ensureNotTraversal();\n tokens.push({ type });\n }\n function addSpecialAttribute(name, action) {\n tokens.push({\n type: SelectorType.Attribute,\n name,\n action,\n value: getName(1),\n namespace: null,\n ignoreCase: \"quirks\",\n });\n }\n /**\n * We have finished parsing the current part of the selector.\n *\n * Remove descendant tokens at the end if they exist,\n * and return the last index, so that parsing can be\n * picked up from here.\n */\n function finalizeSubselector() {\n if (tokens.length &&\n tokens[tokens.length - 1].type === SelectorType.Descendant) {\n tokens.pop();\n }\n if (tokens.length === 0) {\n throw new Error(\"Empty sub-selector\");\n }\n subselects.push(tokens);\n }\n stripWhitespace(0);\n if (selector.length === selectorIndex) {\n return selectorIndex;\n }\n loop: while (selectorIndex < selector.length) {\n const firstChar = selector.charCodeAt(selectorIndex);\n switch (firstChar) {\n // Whitespace\n case 32 /* Space */:\n case 9 /* Tab */:\n case 10 /* NewLine */:\n case 12 /* FormFeed */:\n case 13 /* CarriageReturn */: {\n if (tokens.length === 0 ||\n tokens[0].type !== SelectorType.Descendant) {\n ensureNotTraversal();\n tokens.push({ type: SelectorType.Descendant });\n }\n stripWhitespace(1);\n break;\n }\n // Traversals\n case 62 /* GreaterThan */: {\n addTraversal(SelectorType.Child);\n stripWhitespace(1);\n break;\n }\n case 60 /* LessThan */: {\n addTraversal(SelectorType.Parent);\n stripWhitespace(1);\n break;\n }\n case 126 /* Tilde */: {\n addTraversal(SelectorType.Sibling);\n stripWhitespace(1);\n break;\n }\n case 43 /* Plus */: {\n addTraversal(SelectorType.Adjacent);\n stripWhitespace(1);\n break;\n }\n // Special attribute selectors: .class, #id\n case 46 /* Period */: {\n addSpecialAttribute(\"class\", AttributeAction.Element);\n break;\n }\n case 35 /* Hash */: {\n addSpecialAttribute(\"id\", AttributeAction.Equals);\n break;\n }\n case 91 /* LeftSquareBracket */: {\n stripWhitespace(1);\n // Determine attribute name and namespace\n let name;\n let namespace = null;\n if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */) {\n // Equivalent to no namespace\n name = getName(1);\n }\n else if (selector.startsWith(\"*|\", selectorIndex)) {\n namespace = \"*\";\n name = getName(2);\n }\n else {\n name = getName(0);\n if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */ &&\n selector.charCodeAt(selectorIndex + 1) !==\n 61 /* Equal */) {\n namespace = name;\n name = getName(1);\n }\n }\n stripWhitespace(0);\n // Determine comparison operation\n let action = AttributeAction.Exists;\n const possibleAction = actionTypes.get(selector.charCodeAt(selectorIndex));\n if (possibleAction) {\n action = possibleAction;\n if (selector.charCodeAt(selectorIndex + 1) !==\n 61 /* Equal */) {\n throw new Error(\"Expected `=`\");\n }\n stripWhitespace(2);\n }\n else if (selector.charCodeAt(selectorIndex) === 61 /* Equal */) {\n action = AttributeAction.Equals;\n stripWhitespace(1);\n }\n // Determine value\n let value = \"\";\n let ignoreCase = null;\n if (action !== \"exists\") {\n if (isQuote(selector.charCodeAt(selectorIndex))) {\n const quote = selector.charCodeAt(selectorIndex);\n let sectionEnd = selectorIndex + 1;\n while (sectionEnd < selector.length &&\n (selector.charCodeAt(sectionEnd) !== quote ||\n isEscaped(sectionEnd))) {\n sectionEnd += 1;\n }\n if (selector.charCodeAt(sectionEnd) !== quote) {\n throw new Error(\"Attribute value didn't end\");\n }\n value = unescapeCSS(selector.slice(selectorIndex + 1, sectionEnd));\n selectorIndex = sectionEnd + 1;\n }\n else {\n const valueStart = selectorIndex;\n while (selectorIndex < selector.length &&\n ((!isWhitespace(selector.charCodeAt(selectorIndex)) &&\n selector.charCodeAt(selectorIndex) !==\n 93 /* RightSquareBracket */) ||\n isEscaped(selectorIndex))) {\n selectorIndex += 1;\n }\n value = unescapeCSS(selector.slice(valueStart, selectorIndex));\n }\n stripWhitespace(0);\n // See if we have a force ignore flag\n const forceIgnore = selector.charCodeAt(selectorIndex) | 0x20;\n // If the forceIgnore flag is set (either `i` or `s`), use that value\n if (forceIgnore === 115 /* LowerS */) {\n ignoreCase = false;\n stripWhitespace(1);\n }\n else if (forceIgnore === 105 /* LowerI */) {\n ignoreCase = true;\n stripWhitespace(1);\n }\n }\n if (selector.charCodeAt(selectorIndex) !==\n 93 /* RightSquareBracket */) {\n throw new Error(\"Attribute selector didn't terminate\");\n }\n selectorIndex += 1;\n const attributeSelector = {\n type: SelectorType.Attribute,\n name,\n action,\n value,\n namespace,\n ignoreCase,\n };\n tokens.push(attributeSelector);\n break;\n }\n case 58 /* Colon */: {\n if (selector.charCodeAt(selectorIndex + 1) === 58 /* Colon */) {\n tokens.push({\n type: SelectorType.PseudoElement,\n name: getName(2).toLowerCase(),\n data: selector.charCodeAt(selectorIndex) ===\n 40 /* LeftParenthesis */\n ? readValueWithParenthesis()\n : null,\n });\n continue;\n }\n const name = getName(1).toLowerCase();\n let data = null;\n if (selector.charCodeAt(selectorIndex) ===\n 40 /* LeftParenthesis */) {\n if (unpackPseudos.has(name)) {\n if (isQuote(selector.charCodeAt(selectorIndex + 1))) {\n throw new Error(`Pseudo-selector ${name} cannot be quoted`);\n }\n data = [];\n selectorIndex = parseSelector(data, selector, selectorIndex + 1);\n if (selector.charCodeAt(selectorIndex) !==\n 41 /* RightParenthesis */) {\n throw new Error(`Missing closing parenthesis in :${name} (${selector})`);\n }\n selectorIndex += 1;\n }\n else {\n data = readValueWithParenthesis();\n if (stripQuotesFromPseudos.has(name)) {\n const quot = data.charCodeAt(0);\n if (quot === data.charCodeAt(data.length - 1) &&\n isQuote(quot)) {\n data = data.slice(1, -1);\n }\n }\n data = unescapeCSS(data);\n }\n }\n tokens.push({ type: SelectorType.Pseudo, name, data });\n break;\n }\n case 44 /* Comma */: {\n finalizeSubselector();\n tokens = [];\n stripWhitespace(1);\n break;\n }\n default: {\n if (selector.startsWith(\"/*\", selectorIndex)) {\n const endIndex = selector.indexOf(\"*/\", selectorIndex + 2);\n if (endIndex < 0) {\n throw new Error(\"Comment was not terminated\");\n }\n selectorIndex = endIndex + 2;\n // Remove leading whitespace\n if (tokens.length === 0) {\n stripWhitespace(0);\n }\n break;\n }\n let namespace = null;\n let name;\n if (firstChar === 42 /* Asterisk */) {\n selectorIndex += 1;\n name = \"*\";\n }\n else if (firstChar === 124 /* Pipe */) {\n name = \"\";\n if (selector.charCodeAt(selectorIndex + 1) === 124 /* Pipe */) {\n addTraversal(SelectorType.ColumnCombinator);\n stripWhitespace(2);\n break;\n }\n }\n else if (reName.test(selector.slice(selectorIndex))) {\n name = getName(0);\n }\n else {\n break loop;\n }\n if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */ &&\n selector.charCodeAt(selectorIndex + 1) !== 124 /* Pipe */) {\n namespace = name;\n if (selector.charCodeAt(selectorIndex + 1) ===\n 42 /* Asterisk */) {\n name = \"*\";\n selectorIndex += 2;\n }\n else {\n name = getName(1);\n }\n }\n tokens.push(name === \"*\"\n ? { type: SelectorType.Universal, namespace }\n : { type: SelectorType.Tag, name, namespace });\n }\n }\n }\n finalizeSubselector();\n return selectorIndex;\n}\n","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nconst dedent = createDedent({});\nexport default dedent;\nfunction createDedent(options) {\n dedent.withOptions = newOptions => createDedent(_objectSpread(_objectSpread({}, options), newOptions));\n return dedent;\n function dedent(strings, ...values) {\n const raw = typeof strings === \"string\" ? [strings] : strings.raw;\n const {\n alignValues = false,\n escapeSpecialCharacters = Array.isArray(strings),\n trimWhitespace = true\n } = options;\n\n // first, perform interpolation\n let result = \"\";\n for (let i = 0; i < raw.length; i++) {\n let next = raw[i];\n if (escapeSpecialCharacters) {\n // handle escaped newlines, backticks, and interpolation characters\n next = next.replace(/\\\\\\n[ \\t]*/g, \"\").replace(/\\\\`/g, \"`\").replace(/\\\\\\$/g, \"$\").replace(/\\\\\\{/g, \"{\");\n }\n result += next;\n if (i < values.length) {\n const value = alignValues ? alignValue(values[i], result) : values[i];\n\n // eslint-disable-next-line @typescript-eslint/restrict-plus-operands\n result += value;\n }\n }\n\n // now strip indentation\n const lines = result.split(\"\\n\");\n let mindent = null;\n for (const l of lines) {\n const m = l.match(/^(\\s+)\\S+/);\n if (m) {\n const indent = m[1].length;\n if (!mindent) {\n // this is the first indented line\n mindent = indent;\n } else {\n mindent = Math.min(mindent, indent);\n }\n }\n }\n if (mindent !== null) {\n const m = mindent; // appease TypeScript\n result = lines\n // https://github.com/typescript-eslint/typescript-eslint/issues/7140\n // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with\n .map(l => l[0] === \" \" || l[0] === \"\\t\" ? l.slice(m) : l).join(\"\\n\");\n }\n\n // dedent eats leading and trailing whitespace too\n if (trimWhitespace) {\n result = result.trim();\n }\n\n // handle escaped newlines at the end to ensure they don't get stripped too\n if (escapeSpecialCharacters) {\n result = result.replace(/\\\\n/g, \"\\n\");\n }\n\n // Workaround for Bun issue with Unicode characters\n // https://github.com/oven-sh/bun/issues/8745\n if (typeof Bun !== \"undefined\") {\n result = result.replace(\n // Matches e.g. \\\\u{1f60a} or \\\\u5F1F\n /\\\\u(?:\\{([\\da-fA-F]{1,6})\\}|([\\da-fA-F]{4}))/g, (_, braced, unbraced) => {\n var _ref;\n const hex = (_ref = braced !== null && braced !== void 0 ? braced : unbraced) !== null && _ref !== void 0 ? _ref : \"\";\n return String.fromCodePoint(parseInt(hex, 16));\n });\n }\n return result;\n }\n}\n\n/**\n * Adjusts the indentation of a multi-line interpolated value to match the current line.\n */\nfunction alignValue(value, precedingText) {\n if (typeof value !== \"string\" || !value.includes(\"\\n\")) {\n return value;\n }\n const currentLine = precedingText.slice(precedingText.lastIndexOf(\"\\n\") + 1);\n const indentMatch = currentLine.match(/^(\\s+)/);\n if (indentMatch) {\n const indent = indentMatch[1];\n return value.replace(/\\n/g, `\\n${indent}`);\n }\n return value;\n}\n","/*! @license MediaQueryParser - MIT License - Tom Golden (github@tbjgolden.com) */\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nfunction __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nfunction __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\n\nvar weirdNewlines = /(\\u000D|\\u000C|\\u000D\\u000A)/g;\nvar nullOrSurrogates = /[\\u0000\\uD800-\\uDFFF]/g;\nvar commentRegex = /(\\/\\*)[\\s\\S]*?(\\*\\/)/g;\nvar lexicalAnalysis = function lexicalAnalysis(str, index) {\n if (index === void 0) {\n index = 0;\n }\n\n str = str.replace(weirdNewlines, '\\n').replace(nullOrSurrogates, \"\\uFFFD\");\n str = str.replace(commentRegex, '');\n var tokens = [];\n\n for (; index < str.length; index += 1) {\n var code = str.charCodeAt(index);\n\n if (code === 0x0009 || code === 0x0020 || code === 0x000a) {\n var code_1 = str.charCodeAt(++index);\n\n while (code_1 === 0x0009 || code_1 === 0x0020 || code_1 === 0x000a) {\n code_1 = str.charCodeAt(++index);\n }\n\n index -= 1;\n tokens.push({\n type: '<whitespace-token>'\n });\n } else if (code === 0x0022) {\n var result = consumeString(str, index);\n\n if (result === null) {\n return null;\n }\n\n var _a = __read(result, 2),\n lastIndex = _a[0],\n value = _a[1];\n\n tokens.push({\n type: '<string-token>',\n value: value\n });\n index = lastIndex;\n } else if (code === 0x0023) {\n if (index + 1 < str.length) {\n var nextCode = str.charCodeAt(index + 1);\n\n if (nextCode === 0x005f || nextCode >= 0x0041 && nextCode <= 0x005a || nextCode >= 0x0061 && nextCode <= 0x007a || nextCode >= 0x0080 || nextCode >= 0x0030 && nextCode <= 0x0039 || nextCode === 0x005c && index + 2 < str.length && str.charCodeAt(index + 2) !== 0x000a) {\n var flag = wouldStartIdentifier(str, index + 1) ? 'id' : 'unrestricted';\n var result = consumeIdentUnsafe(str, index + 1);\n\n if (result !== null) {\n var _b = __read(result, 2),\n lastIndex = _b[0],\n value = _b[1];\n\n tokens.push({\n type: '<hash-token>',\n value: value.toLowerCase(),\n flag: flag\n });\n index = lastIndex;\n continue;\n }\n }\n }\n\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n } else if (code === 0x0027) {\n var result = consumeString(str, index);\n\n if (result === null) {\n return null;\n }\n\n var _c = __read(result, 2),\n lastIndex = _c[0],\n value = _c[1];\n\n tokens.push({\n type: '<string-token>',\n value: value\n });\n index = lastIndex;\n } else if (code === 0x0028) {\n tokens.push({\n type: '<(-token>'\n });\n } else if (code === 0x0029) {\n tokens.push({\n type: '<)-token>'\n });\n } else if (code === 0x002b) {\n var plusNumeric = consumeNumeric(str, index);\n\n if (plusNumeric === null) {\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n } else {\n var _d = __read(plusNumeric, 2),\n lastIndex = _d[0],\n tokenTuple = _d[1];\n\n if (tokenTuple[0] === '<dimension-token>') {\n tokens.push({\n type: '<dimension-token>',\n value: tokenTuple[1],\n unit: tokenTuple[2].toLowerCase(),\n flag: 'number'\n });\n } else if (tokenTuple[0] === '<number-token>') {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: tokenTuple[2]\n });\n } else {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: 'number'\n });\n }\n\n index = lastIndex;\n }\n } else if (code === 0x002c) {\n tokens.push({\n type: '<comma-token>'\n });\n } else if (code === 0x002d) {\n var minusNumeric = consumeNumeric(str, index);\n\n if (minusNumeric !== null) {\n var _e = __read(minusNumeric, 2),\n lastIndex = _e[0],\n tokenTuple = _e[1];\n\n if (tokenTuple[0] === '<dimension-token>') {\n tokens.push({\n type: '<dimension-token>',\n value: tokenTuple[1],\n unit: tokenTuple[2].toLowerCase(),\n flag: 'number'\n });\n } else if (tokenTuple[0] === '<number-token>') {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: tokenTuple[2]\n });\n } else {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: 'number'\n });\n }\n\n index = lastIndex;\n continue;\n }\n\n if (index + 2 < str.length) {\n var nextCode = str.charCodeAt(index + 1);\n var nextNextCode = str.charCodeAt(index + 2);\n\n if (nextCode === 0x002d && nextNextCode === 0x003e) {\n tokens.push({\n type: '<CDC-token>'\n });\n index += 2;\n continue;\n }\n }\n\n var result = consumeIdentLike(str, index);\n\n if (result !== null) {\n var _f = __read(result, 3),\n lastIndex = _f[0],\n value = _f[1],\n type = _f[2];\n\n tokens.push({\n type: type,\n value: value\n });\n index = lastIndex;\n continue;\n }\n\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n } else if (code === 0x002e) {\n var minusNumeric = consumeNumeric(str, index);\n\n if (minusNumeric === null) {\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n } else {\n var _g = __read(minusNumeric, 2),\n lastIndex = _g[0],\n tokenTuple = _g[1];\n\n if (tokenTuple[0] === '<dimension-token>') {\n tokens.push({\n type: '<dimension-token>',\n value: tokenTuple[1],\n unit: tokenTuple[2].toLowerCase(),\n flag: 'number'\n });\n } else if (tokenTuple[0] === '<number-token>') {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: tokenTuple[2]\n });\n } else {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: 'number'\n });\n }\n\n index = lastIndex;\n continue;\n }\n } else if (code === 0x003a) {\n tokens.push({\n type: '<colon-token>'\n });\n } else if (code === 0x003b) {\n tokens.push({\n type: '<semicolon-token>'\n });\n } else if (code === 0x003c) {\n if (index + 3 < str.length) {\n var nextCode = str.charCodeAt(index + 1);\n var nextNextCode = str.charCodeAt(index + 2);\n var nextNextNextCode = str.charCodeAt(index + 3);\n\n if (nextCode === 0x0021 && nextNextCode === 0x002d && nextNextNextCode === 0x002d) {\n tokens.push({\n type: '<CDO-token>'\n });\n index += 3;\n continue;\n }\n }\n\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n } else if (code === 0x0040) {\n var result = consumeIdent(str, index + 1);\n\n if (result !== null) {\n var _h = __read(result, 2),\n lastIndex = _h[0],\n value = _h[1];\n\n tokens.push({\n type: '<at-keyword-token>',\n value: value.toLowerCase()\n });\n index = lastIndex;\n continue;\n }\n\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n } else if (code === 0x005b) {\n tokens.push({\n type: '<[-token>'\n });\n } else if (code === 0x005c) {\n var result = consumeEscape(str, index);\n\n if (result === null) {\n return null;\n }\n\n var _j = __read(result, 2),\n lastIndex = _j[0],\n value = _j[1];\n\n str = str.slice(0, index) + value + str.slice(lastIndex + 1);\n index -= 1;\n } else if (code === 0x005d) {\n tokens.push({\n type: '<]-token>'\n });\n } else if (code === 0x007b) {\n tokens.push({\n type: '<{-token>'\n });\n } else if (code === 0x007d) {\n tokens.push({\n type: '<}-token>'\n });\n } else if (code >= 0x0030 && code <= 0x0039) {\n var result = consumeNumeric(str, index);\n\n var _k = __read(result, 2),\n lastIndex = _k[0],\n tokenTuple = _k[1];\n\n if (tokenTuple[0] === '<dimension-token>') {\n tokens.push({\n type: '<dimension-token>',\n value: tokenTuple[1],\n unit: tokenTuple[2].toLowerCase(),\n flag: 'number'\n });\n } else if (tokenTuple[0] === '<number-token>') {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: tokenTuple[2]\n });\n } else {\n tokens.push({\n type: tokenTuple[0],\n value: tokenTuple[1],\n flag: 'number'\n });\n }\n\n index = lastIndex;\n } else if (code === 0x005f || code >= 0x0041 && code <= 0x005a || code >= 0x0061 && code <= 0x007a || code >= 0x0080) {\n var result = consumeIdentLike(str, index);\n\n if (result === null) {\n return null;\n }\n\n var _l = __read(result, 3),\n lastIndex = _l[0],\n value = _l[1],\n type = _l[2];\n\n tokens.push({\n type: type,\n value: value\n });\n index = lastIndex;\n } else {\n tokens.push({\n type: '<delim-token>',\n value: code\n });\n }\n }\n\n tokens.push({\n type: '<EOF-token>'\n });\n return tokens;\n};\nvar consumeString = function consumeString(str, index) {\n if (str.length <= index + 1) return null;\n var firstCode = str.charCodeAt(index);\n var charCodes = [];\n\n for (var i = index + 1; i < str.length; i += 1) {\n var code = str.charCodeAt(i);\n\n if (code === firstCode) {\n return [i, String.fromCharCode.apply(null, charCodes)];\n } else if (code === 0x005c) {\n var result = consumeEscape(str, i);\n if (result === null) return null;\n\n var _a = __read(result, 2),\n lastIndex = _a[0],\n charCode = _a[1];\n\n charCodes.push(charCode);\n i = lastIndex;\n } else if (code === 0x000a) {\n return null;\n } else {\n charCodes.push(code);\n }\n }\n\n return null;\n};\nvar wouldStartIdentifier = function wouldStartIdentifier(str, index) {\n if (str.length <= index) return false;\n var code = str.charCodeAt(index);\n\n if (code === 0x002d) {\n if (str.length <= index + 1) return false;\n var nextCode = str.charCodeAt(index + 1);\n\n if (nextCode === 0x002d || nextCode === 0x005f || nextCode >= 0x0041 && nextCode <= 0x005a || nextCode >= 0x0061 && nextCode <= 0x007a || nextCode >= 0x0080) {\n return true;\n } else if (nextCode === 0x005c) {\n if (str.length <= index + 2) return false;\n var nextNextCode = str.charCodeAt(index + 2);\n return nextNextCode !== 0x000a;\n } else {\n return false;\n }\n } else if (code === 0x005f || code >= 0x0041 && code <= 0x005a || code >= 0x0061 && code <= 0x007a || code >= 0x0080) {\n return true;\n } else if (code === 0x005c) {\n if (str.length <= index + 1) return false;\n var nextCode = str.charCodeAt(index + 1);\n return nextCode !== 0x000a;\n } else {\n return false;\n }\n};\nvar consumeEscape = function consumeEscape(str, index) {\n if (str.length <= index + 1) return null;\n if (str.charCodeAt(index) !== 0x005c) return null;\n var code = str.charCodeAt(index + 1);\n\n if (code === 0x000a) {\n return null;\n } else if (code >= 0x0030 && code <= 0x0039 || code >= 0x0041 && code <= 0x0046 || code >= 0x0061 && code <= 0x0066) {\n var hexCharCodes = [code];\n var min = Math.min(index + 7, str.length);\n var i = index + 2;\n\n for (; i < min; i += 1) {\n var code_2 = str.charCodeAt(i);\n\n if (code_2 >= 0x0030 && code_2 <= 0x0039 || code_2 >= 0x0041 && code_2 <= 0x0046 || code_2 >= 0x0061 && code_2 <= 0x0066) {\n hexCharCodes.push(code_2);\n } else {\n break;\n }\n }\n\n if (i < str.length) {\n var code_3 = str.charCodeAt(i);\n\n if (code_3 === 0x0009 || code_3 === 0x0020 || code_3 === 0x000a) {\n i += 1;\n }\n }\n\n return [i - 1, parseInt(String.fromCharCode.apply(null, hexCharCodes), 16)];\n } else {\n return [index + 1, code];\n }\n};\nvar consumeNumeric = function consumeNumeric(str, index) {\n var numberResult = consumeNumber(str, index);\n if (numberResult === null) return null;\n\n var _a = __read(numberResult, 3),\n numberEndIndex = _a[0],\n numberValue = _a[1],\n numberFlag = _a[2];\n\n var identResult = consumeIdent(str, numberEndIndex + 1);\n\n if (identResult !== null) {\n var _b = __read(identResult, 2),\n identEndIndex = _b[0],\n identValue = _b[1];\n\n return [identEndIndex, ['<dimension-token>', numberValue, identValue]];\n }\n\n if (numberEndIndex + 1 < str.length && str.charCodeAt(numberEndIndex + 1) === 0x0025) {\n return [numberEndIndex + 1, ['<percentage-token>', numberValue]];\n }\n\n return [numberEndIndex, ['<number-token>', numberValue, numberFlag]];\n};\nvar consumeNumber = function consumeNumber(str, index) {\n if (str.length <= index) return null;\n var flag = 'integer';\n var numberChars = [];\n var firstCode = str.charCodeAt(index);\n\n if (firstCode === 0x002b || firstCode === 0x002d) {\n index += 1;\n if (firstCode === 0x002d) numberChars.push(0x002d);\n }\n\n while (index < str.length) {\n var code = str.charCodeAt(index);\n\n if (code >= 0x0030 && code <= 0x0039) {\n numberChars.push(code);\n index += 1;\n } else {\n break;\n }\n }\n\n if (index + 1 < str.length) {\n var nextCode = str.charCodeAt(index);\n var nextNextCode = str.charCodeAt(index + 1);\n\n if (nextCode === 0x002e && nextNextCode >= 0x0030 && nextNextCode <= 0x0039) {\n numberChars.push(nextCode, nextNextCode);\n flag = 'number';\n index += 2;\n\n while (index < str.length) {\n var code = str.charCodeAt(index);\n\n if (code >= 0x0030 && code <= 0x0039) {\n numberChars.push(code);\n index += 1;\n } else {\n break;\n }\n }\n }\n }\n\n if (index + 1 < str.length) {\n var nextCode = str.charCodeAt(index);\n var nextNextCode = str.charCodeAt(index + 1);\n var nextNextNextCode = str.charCodeAt(index + 2);\n\n if (nextCode === 0x0045 || nextCode === 0x0065) {\n var nextNextIsDigit = nextNextCode >= 0x0030 && nextNextCode <= 0x0039;\n\n if (nextNextIsDigit || (nextNextCode === 0x002b || nextNextCode === 0x002d) && nextNextNextCode >= 0x0030 && nextNextNextCode <= 0x0039) {\n flag = 'number';\n\n if (nextNextIsDigit) {\n numberChars.push(0x0045, nextNextCode);\n index += 2;\n } else if (nextNextCode === 0x002d) {\n numberChars.push(0x0045, 0x002d, nextNextNextCode);\n index += 3;\n } else {\n numberChars.push(0x0045, nextNextNextCode);\n index += 3;\n }\n\n while (index < str.length) {\n var code = str.charCodeAt(index);\n\n if (code >= 0x0030 && code <= 0x0039) {\n numberChars.push(code);\n index += 1;\n } else {\n break;\n }\n }\n }\n }\n }\n\n var numberString = String.fromCharCode.apply(null, numberChars);\n var value = flag === 'number' ? parseFloat(numberString) : parseInt(numberString);\n if (value === -0) value = 0;\n return Number.isNaN(value) ? null : [index - 1, value, flag];\n};\nvar consumeIdentUnsafe = function consumeIdentUnsafe(str, index) {\n if (str.length <= index) {\n return null;\n }\n\n var identChars = [];\n\n for (var code = str.charCodeAt(index); index < str.length; code = str.charCodeAt(++index)) {\n if (code === 0x002d || code === 0x005f || code >= 0x0041 && code <= 0x005a || code >= 0x0061 && code <= 0x007a || code >= 0x0080 || code >= 0x0030 && code <= 0x0039) {\n identChars.push(code);\n continue;\n } else {\n var result = consumeEscape(str, index);\n\n if (result !== null) {\n var _a = __read(result, 2),\n lastIndex = _a[0],\n code_4 = _a[1];\n\n identChars.push(code_4);\n index = lastIndex;\n continue;\n }\n }\n\n break;\n }\n\n return index === 0 ? null : [index - 1, String.fromCharCode.apply(null, identChars)];\n};\nvar consumeIdent = function consumeIdent(str, index) {\n if (str.length <= index || !wouldStartIdentifier(str, index)) {\n return null;\n }\n\n var identChars = [];\n\n for (var code = str.charCodeAt(index); index < str.length; code = str.charCodeAt(++index)) {\n if (code === 0x002d || code === 0x005f || code >= 0x0041 && code <= 0x005a || code >= 0x0061 && code <= 0x007a || code >= 0x0080 || code >= 0x0030 && code <= 0x0039) {\n identChars.push(code);\n continue;\n } else {\n var result = consumeEscape(str, index);\n\n if (result !== null) {\n var _a = __read(result, 2),\n lastIndex = _a[0],\n code_5 = _a[1];\n\n identChars.push(code_5);\n index = lastIndex;\n continue;\n }\n }\n\n break;\n }\n\n return [index - 1, String.fromCharCode.apply(null, identChars)];\n};\nvar consumeUrl = function consumeUrl(str, index) {\n var code = str.charCodeAt(index);\n\n while (code === 0x0009 || code === 0x0020 || code === 0x000a) {\n code = str.charCodeAt(++index);\n }\n\n var urlChars = [];\n var hasFinishedWord = false;\n\n while (index < str.length) {\n if (code === 0x0029) {\n return [index, String.fromCharCode.apply(null, urlChars)];\n } else if (code === 0x0022 || code === 0x0027 || code === 0x0028) {\n return null;\n } else if (code === 0x0009 || code === 0x0020 || code === 0x000a) {\n if (!hasFinishedWord && urlChars.length !== 0) hasFinishedWord = true;\n } else if (code === 0x005c) {\n var result = consumeEscape(str, index);\n if (result === null || hasFinishedWord) return null;\n\n var _a = __read(result, 2),\n lastIndex = _a[0],\n value = _a[1];\n\n urlChars.push(value);\n index = lastIndex;\n } else {\n if (hasFinishedWord) return null;\n urlChars.push(code);\n }\n\n code = str.charCodeAt(++index);\n }\n\n return null;\n};\nvar consumeIdentLike = function consumeIdentLike(str, index) {\n var result = consumeIdent(str, index);\n if (result === null) return null;\n\n var _a = __read(result, 2),\n lastIndex = _a[0],\n value = _a[1];\n\n if (value.toLowerCase() === 'url') {\n if (str.length > lastIndex + 1) {\n var nextCode = str.charCodeAt(lastIndex + 1);\n\n if (nextCode === 0x0028) {\n for (var offset = 2; lastIndex + offset < str.length; offset += 1) {\n var nextNextCode = str.charCodeAt(lastIndex + offset);\n\n if (nextNextCode === 0x0022 || nextNextCode === 0x0027) {\n return [lastIndex + 1, value.toLowerCase(), '<function-token>'];\n } else if (nextNextCode !== 0x0009 && nextNextCode !== 0x0020 && nextNextCode !== 0x000a) {\n var result_1 = consumeUrl(str, lastIndex + offset);\n if (result_1 === null) return null;\n\n var _b = __read(result_1, 2),\n lastUrlIndex = _b[0],\n value_1 = _b[1];\n\n return [lastUrlIndex, value_1, '<url-token>'];\n }\n }\n\n return [lastIndex + 1, value.toLowerCase(), '<function-token>'];\n }\n }\n } else if (str.length > lastIndex + 1) {\n var nextCode = str.charCodeAt(lastIndex + 1);\n\n if (nextCode === 0x0028) {\n return [lastIndex + 1, value.toLowerCase(), '<function-token>'];\n }\n }\n\n return [lastIndex, value.toLowerCase(), '<ident-token>'];\n};\n\nvar simplifyAST = function simplifyAST(ast) {\n for (var i = ast.length - 1; i >= 0; i--) {\n ast[i] = simplifyMediaQuery(ast[i]);\n }\n\n return ast;\n};\n\nvar simplifyMediaQuery = function simplifyMediaQuery(mediaQuery) {\n if (mediaQuery.mediaCondition === null) return mediaQuery;\n var mediaCondition = simplifyMediaCondition(mediaQuery.mediaCondition);\n\n if (mediaCondition.operator === null && mediaCondition.children.length === 1 && 'children' in mediaCondition.children[0]) {\n mediaCondition = mediaCondition.children[0];\n }\n\n return {\n mediaPrefix: mediaQuery.mediaPrefix,\n mediaType: mediaQuery.mediaType,\n mediaCondition: mediaCondition\n };\n};\n\nvar simplifyMediaCondition = function simplifyMediaCondition(mediaCondition) {\n for (var i = mediaCondition.children.length - 1; i >= 0; i--) {\n var unsimplifiedChild = mediaCondition.children[i];\n\n if (!('context' in unsimplifiedChild)) {\n var child = simplifyMediaCondition(unsimplifiedChild);\n\n if (child.operator === null && child.children.length === 1) {\n mediaCondition.children[i] = child.children[0];\n } else if (child.operator === mediaCondition.operator && (child.operator === 'and' || child.operator === 'or')) {\n var spliceArgs = [i, 1];\n\n for (var i_1 = 0; i_1 < child.children.length; i_1++) {\n spliceArgs.push(child.children[i_1]);\n }\n\n mediaCondition.children.splice.apply(mediaCondition.children, spliceArgs);\n }\n }\n }\n\n return mediaCondition;\n};\n\nvar createError = function createError(message, err) {\n if (err instanceof Error) {\n return new Error(\"\".concat(err.message.trim(), \"\\n\").concat(message.trim()));\n } else {\n return new Error(message.trim());\n }\n};\n\nvar toAST = function toAST(str) {\n return simplifyAST(toUnflattenedAST(str));\n};\nvar toUnflattenedAST = function toUnflattenedAST(str) {\n var tokenList = lexicalAnalysis(str.trim());\n\n if (tokenList === null) {\n throw createError('Failed tokenizing');\n }\n\n var startIndex = 0;\n var endIndex = tokenList.length - 1;\n\n if (tokenList[0].type === '<at-keyword-token>' && tokenList[0].value === 'media') {\n if (tokenList[1].type !== '<whitespace-token>') {\n throw createError('Expected whitespace after media');\n }\n\n startIndex = 2;\n\n for (var i = 2; i < tokenList.length - 1; i++) {\n var token = tokenList[i];\n\n if (token.type === '<{-token>') {\n endIndex = i;\n break;\n } else if (token.type === '<semicolon-token>') {\n throw createError(\"Expected '{' in media query but found ';'\");\n }\n }\n }\n\n tokenList = tokenList.slice(startIndex, endIndex);\n return syntacticAnalysis(tokenList);\n};\nvar removeWhitespace = function removeWhitespace(tokenList) {\n var newTokenList = [];\n var before = false;\n\n for (var i = 0; i < tokenList.length; i++) {\n if (tokenList[i].type === '<whitespace-token>') {\n before = true;\n\n if (newTokenList.length > 0) {\n newTokenList[newTokenList.length - 1].wsAfter = true;\n }\n } else {\n newTokenList.push(__assign(__assign({}, tokenList[i]), {\n wsBefore: before,\n wsAfter: false\n }));\n before = false;\n }\n }\n\n return newTokenList;\n};\nvar syntacticAnalysis = function syntacticAnalysis(tokenList) {\n var e_1, _a;\n\n var mediaQueryList = [[]];\n\n for (var i = 0; i < tokenList.length; i++) {\n var token = tokenList[i];\n\n if (token.type === '<comma-token>') {\n mediaQueryList.push([]);\n } else {\n mediaQueryList[mediaQueryList.length - 1].push(token);\n }\n }\n\n var mediaQueries = mediaQueryList.map(removeWhitespace);\n\n if (mediaQueries.length === 1 && mediaQueries[0].length === 0) {\n return [{\n mediaCondition: null,\n mediaPrefix: null,\n mediaType: 'all'\n }];\n } else {\n var mediaQueryTokens = mediaQueries.map(function (mediaQueryTokens) {\n if (mediaQueryTokens.length === 0) {\n return null;\n } else {\n return tokenizeMediaQuery(mediaQueryTokens);\n }\n });\n var nonNullMediaQueryTokens = [];\n\n try {\n for (var mediaQueryTokens_1 = __values(mediaQueryTokens), mediaQueryTokens_1_1 = mediaQueryTokens_1.next(); !mediaQueryTokens_1_1.done; mediaQueryTokens_1_1 = mediaQueryTokens_1.next()) {\n var mediaQueryToken = mediaQueryTokens_1_1.value;\n\n if (mediaQueryToken !== null) {\n nonNullMediaQueryTokens.push(mediaQueryToken);\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (mediaQueryTokens_1_1 && !mediaQueryTokens_1_1.done && (_a = mediaQueryTokens_1[\"return\"])) _a.call(mediaQueryTokens_1);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n\n if (nonNullMediaQueryTokens.length === 0) {\n throw createError('No valid media queries');\n }\n\n return nonNullMediaQueryTokens;\n }\n};\nvar tokenizeMediaQuery = function tokenizeMediaQuery(tokens) {\n var firstToken = tokens[0];\n\n if (firstToken.type === '<(-token>') {\n try {\n return {\n mediaPrefix: null,\n mediaType: 'all',\n mediaCondition: tokenizeMediaCondition(tokens, true)\n };\n } catch (err) {\n throw createError(\"Expected media condition after '('\", err);\n }\n } else if (firstToken.type === '<ident-token>') {\n var mediaPrefix = null;\n var mediaType = void 0;\n var value = firstToken.value;\n\n if (value === 'only' || value === 'not') {\n mediaPrefix = value;\n }\n\n var firstIndex = mediaPrefix === null ? 0 : 1;\n\n if (tokens.length <= firstIndex) {\n throw createError(\"Expected extra token in media query\");\n }\n\n var firstNonUnaryToken = tokens[firstIndex];\n\n if (firstNonUnaryToken.type === '<ident-token>') {\n var value_1 = firstNonUnaryToken.value;\n\n if (value_1 === 'all') {\n mediaType = 'all';\n } else if (value_1 === 'print' || value_1 === 'screen') {\n mediaType = value_1;\n } else if (value_1 === 'tty' || value_1 === 'tv' || value_1 === 'projection' || value_1 === 'handheld' || value_1 === 'braille' || value_1 === 'embossed' || value_1 === 'aural' || value_1 === 'speech') {\n mediaPrefix = mediaPrefix === 'not' ? null : 'not';\n mediaType = 'all';\n } else {\n throw createError(\"Unknown ident '\".concat(value_1, \"' in media query\"));\n }\n } else if (mediaPrefix === 'not' && firstNonUnaryToken.type === '<(-token>') {\n var tokensWithParens = [{\n type: '<(-token>',\n wsBefore: false,\n wsAfter: false\n }];\n tokensWithParens.push.apply(tokensWithParens, tokens);\n tokensWithParens.push({\n type: '<)-token>',\n wsBefore: false,\n wsAfter: false\n });\n\n try {\n return {\n mediaPrefix: null,\n mediaType: 'all',\n mediaCondition: tokenizeMediaCondition(tokensWithParens, true)\n };\n } catch (err) {\n throw createError(\"Expected media condition after '('\", err);\n }\n } else {\n throw createError('Invalid media query');\n }\n\n if (firstIndex + 1 === tokens.length) {\n return {\n mediaPrefix: mediaPrefix,\n mediaType: mediaType,\n mediaCondition: null\n };\n } else if (firstIndex + 4 < tokens.length) {\n var secondNonUnaryToken = tokens[firstIndex + 1];\n\n if (secondNonUnaryToken.type === '<ident-token>' && secondNonUnaryToken.value === 'and') {\n try {\n return {\n mediaPrefix: mediaPrefix,\n mediaType: mediaType,\n mediaCondition: tokenizeMediaCondition(tokens.slice(firstIndex + 2), false)\n };\n } catch (err) {\n throw createError(\"Expected media condition after 'and'\", err);\n }\n } else {\n throw createError(\"Expected 'and' after media prefix\");\n }\n } else {\n throw createError('Expected media condition after media prefix');\n }\n } else {\n throw createError('Expected media condition or media prefix');\n }\n};\nvar tokenizeMediaCondition = function tokenizeMediaCondition(tokens, mayContainOr, previousOperator) {\n if (previousOperator === void 0) {\n previousOperator = null;\n }\n\n if (tokens.length < 3 || tokens[0].type !== '<(-token>' || tokens[tokens.length - 1].type !== '<)-token>') {\n throw new Error('Invalid media condition');\n }\n\n var endIndexOfFirstFeature = tokens.length - 1;\n var maxDepth = 0;\n var count = 0;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (token.type === '<(-token>') {\n count += 1;\n maxDepth = Math.max(maxDepth, count);\n } else if (token.type === '<)-token>') {\n count -= 1;\n }\n\n if (count === 0) {\n endIndexOfFirstFeature = i;\n break;\n }\n }\n\n if (count !== 0) {\n throw new Error('Mismatched parens\\nInvalid media condition');\n }\n\n var child;\n var featureTokens = tokens.slice(0, endIndexOfFirstFeature + 1);\n\n if (maxDepth === 1) {\n child = tokenizeMediaFeature(featureTokens);\n } else {\n if (featureTokens[1].type === '<ident-token>' && featureTokens[1].value === 'not') {\n child = tokenizeMediaCondition(featureTokens.slice(2, -1), true, 'not');\n } else {\n child = tokenizeMediaCondition(featureTokens.slice(1, -1), true);\n }\n }\n\n if (endIndexOfFirstFeature === tokens.length - 1) {\n return {\n operator: previousOperator,\n children: [child]\n };\n } else {\n var nextToken = tokens[endIndexOfFirstFeature + 1];\n\n if (nextToken.type !== '<ident-token>') {\n throw new Error('Invalid operator\\nInvalid media condition');\n } else if (previousOperator !== null && previousOperator !== nextToken.value) {\n throw new Error(\"'\".concat(nextToken.value, \"' and '\").concat(previousOperator, \"' must not be at same level\\nInvalid media condition\"));\n } else if (nextToken.value === 'or' && !mayContainOr) {\n throw new Error(\"Cannot use 'or' at top level of a media query\\nInvalid media condition\");\n } else if (nextToken.value !== 'and' && nextToken.value !== 'or') {\n throw new Error(\"Invalid operator: '\".concat(nextToken.value, \"'\\nInvalid media condition\"));\n }\n\n var siblings = tokenizeMediaCondition(tokens.slice(endIndexOfFirstFeature + 2), mayContainOr, nextToken.value);\n return {\n operator: nextToken.value,\n children: [child].concat(siblings.children)\n };\n }\n};\nvar tokenizeMediaFeature = function tokenizeMediaFeature(rawTokens) {\n if (rawTokens.length < 3 || rawTokens[0].type !== '<(-token>' || rawTokens[rawTokens.length - 1].type !== '<)-token>') {\n throw new Error('Invalid media feature');\n }\n\n var tokens = [rawTokens[0]];\n\n for (var i = 1; i < rawTokens.length; i++) {\n if (i < rawTokens.length - 2) {\n var a = rawTokens[i];\n var b = rawTokens[i + 1];\n var c = rawTokens[i + 2];\n\n if (a.type === '<number-token>' && a.value > 0 && b.type === '<delim-token>' && b.value === 0x002f && c.type === '<number-token>' && c.value > 0) {\n tokens.push({\n type: '<ratio-token>',\n numerator: a.value,\n denominator: c.value,\n wsBefore: a.wsBefore,\n wsAfter: c.wsAfter\n });\n i += 2;\n continue;\n }\n }\n\n tokens.push(rawTokens[i]);\n }\n\n var nextToken = tokens[1];\n\n if (nextToken.type === '<ident-token>' && tokens.length === 3) {\n return {\n context: 'boolean',\n feature: nextToken.value\n };\n } else if (tokens.length === 5 && tokens[1].type === '<ident-token>' && tokens[2].type === '<colon-token>') {\n var valueToken = tokens[3];\n\n if (valueToken.type === '<number-token>' || valueToken.type === '<dimension-token>' || valueToken.type === '<ratio-token>' || valueToken.type === '<ident-token>') {\n var feature = tokens[1].value;\n var prefix = null;\n var slice = feature.slice(0, 4);\n\n if (slice === 'min-') {\n prefix = 'min';\n feature = feature.slice(4);\n } else if (slice === 'max-') {\n prefix = 'max';\n feature = feature.slice(4);\n }\n\n valueToken.wsBefore;\n valueToken.wsAfter;\n var value = __rest(valueToken, [\"wsBefore\", \"wsAfter\"]);\n\n return {\n context: 'value',\n prefix: prefix,\n feature: feature,\n value: value\n };\n }\n } else if (tokens.length >= 5) {\n try {\n var range = tokenizeRange(tokens);\n return {\n context: 'range',\n feature: range.featureName,\n range: range\n };\n } catch (err) {\n throw createError('Invalid media feature', err);\n }\n }\n\n throw new Error('Invalid media feature');\n};\nvar tokenizeRange = function tokenizeRange(tokens) {\n var _a, _b, _c, _d;\n\n if (tokens.length < 5 || tokens[0].type !== '<(-token>' || tokens[tokens.length - 1].type !== '<)-token>') {\n throw new Error('Invalid range');\n }\n\n var range = {\n leftToken: null,\n leftOp: null,\n featureName: '',\n rightOp: null,\n rightToken: null\n };\n var hasLeft = tokens[1].type === '<number-token>' || tokens[1].type === '<dimension-token>' || tokens[1].type === '<ratio-token>' || tokens[1].type === '<ident-token>' && tokens[1].value === 'infinite';\n\n if (tokens[2].type === '<delim-token>') {\n if (tokens[2].value === 0x003c) {\n if (tokens[3].type === '<delim-token>' && tokens[3].value === 0x003d && !tokens[3].wsBefore) {\n range[hasLeft ? 'leftOp' : 'rightOp'] = '<=';\n } else {\n range[hasLeft ? 'leftOp' : 'rightOp'] = '<';\n }\n } else if (tokens[2].value === 0x003e) {\n if (tokens[3].type === '<delim-token>' && tokens[3].value === 0x003d && !tokens[3].wsBefore) {\n range[hasLeft ? 'leftOp' : 'rightOp'] = '>=';\n } else {\n range[hasLeft ? 'leftOp' : 'rightOp'] = '>';\n }\n } else if (tokens[2].value === 0x003d) {\n range[hasLeft ? 'leftOp' : 'rightOp'] = '=';\n } else {\n throw new Error('Invalid range');\n }\n\n if (hasLeft) {\n range.leftToken = tokens[1];\n } else if (tokens[1].type === '<ident-token>') {\n range.featureName = tokens[1].value;\n } else {\n throw new Error('Invalid range');\n }\n\n var tokenIndexAfterFirstOp = 2 + ((_b = (_a = range[hasLeft ? 'leftOp' : 'rightOp']) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);\n var tokenAfterFirstOp = tokens[tokenIndexAfterFirstOp];\n\n if (hasLeft) {\n if (tokenAfterFirstOp.type === '<ident-token>') {\n range.featureName = tokenAfterFirstOp.value;\n\n if (tokens.length >= 7) {\n var secondOpToken = tokens[tokenIndexAfterFirstOp + 1];\n var followingToken = tokens[tokenIndexAfterFirstOp + 2];\n\n if (secondOpToken.type === '<delim-token>') {\n var charCode = secondOpToken.value;\n\n if (charCode === 0x003c) {\n if (followingToken.type === '<delim-token>' && followingToken.value === 0x003d && !followingToken.wsBefore) {\n range.rightOp = '<=';\n } else {\n range.rightOp = '<';\n }\n } else if (charCode === 0x003e) {\n if (followingToken.type === '<delim-token>' && followingToken.value === 0x003d && !followingToken.wsBefore) {\n range.rightOp = '>=';\n } else {\n range.rightOp = '>';\n }\n } else {\n throw new Error('Invalid range');\n }\n\n var tokenAfterSecondOp = tokens[tokenIndexAfterFirstOp + 1 + ((_d = (_c = range.rightOp) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0)];\n range.rightToken = tokenAfterSecondOp;\n } else {\n throw new Error('Invalid range');\n }\n } else if (tokenIndexAfterFirstOp + 2 !== tokens.length) {\n throw new Error('Invalid range');\n }\n } else {\n throw new Error('Invalid range');\n }\n } else {\n range.rightToken = tokenAfterFirstOp;\n }\n\n var validRange = null;\n var lt = range.leftToken,\n leftOp = range.leftOp,\n featureName = range.featureName,\n rightOp = range.rightOp,\n rt = range.rightToken;\n var leftToken = null;\n\n if (lt !== null) {\n if (lt.type === '<ident-token>') {\n var type = lt.type,\n value = lt.value;\n\n if (value === 'infinite') {\n leftToken = {\n type: type,\n value: value\n };\n }\n } else if (lt.type === '<number-token>' || lt.type === '<dimension-token>' || lt.type === '<ratio-token>') {\n lt.wsBefore;\n lt.wsAfter;\n var ltNoWS = __rest(lt, [\"wsBefore\", \"wsAfter\"]);\n\n leftToken = ltNoWS;\n }\n }\n\n var rightToken = null;\n\n if (rt !== null) {\n if (rt.type === '<ident-token>') {\n var type = rt.type,\n value = rt.value;\n\n if (value === 'infinite') {\n rightToken = {\n type: type,\n value: value\n };\n }\n } else if (rt.type === '<number-token>' || rt.type === '<dimension-token>' || rt.type === '<ratio-token>') {\n rt.wsBefore;\n rt.wsAfter;\n var rtNoWS = __rest(rt, [\"wsBefore\", \"wsAfter\"]);\n\n rightToken = rtNoWS;\n }\n }\n\n if (leftToken !== null && rightToken !== null) {\n if ((leftOp === '<' || leftOp === '<=') && (rightOp === '<' || rightOp === '<=')) {\n validRange = {\n leftToken: leftToken,\n leftOp: leftOp,\n featureName: featureName,\n rightOp: rightOp,\n rightToken: rightToken\n };\n } else if ((leftOp === '>' || leftOp === '>=') && (rightOp === '>' || rightOp === '>=')) {\n validRange = {\n leftToken: leftToken,\n leftOp: leftOp,\n featureName: featureName,\n rightOp: rightOp,\n rightToken: rightToken\n };\n } else {\n throw new Error('Invalid range');\n }\n } else if (leftToken === null && leftOp === null && rightOp !== null && rightToken !== null) {\n validRange = {\n leftToken: leftToken,\n leftOp: leftOp,\n featureName: featureName,\n rightOp: rightOp,\n rightToken: rightToken\n };\n } else if (leftToken !== null && leftOp !== null && rightOp === null && rightToken === null) {\n validRange = {\n leftToken: leftToken,\n leftOp: leftOp,\n featureName: featureName,\n rightOp: rightOp,\n rightToken: rightToken\n };\n }\n\n return validRange;\n } else {\n throw new Error('Invalid range');\n }\n};\n\nexport { consumeEscape, consumeIdent, consumeIdentLike, consumeIdentUnsafe, consumeNumber, consumeNumeric, consumeString, consumeUrl, lexicalAnalysis, removeWhitespace, syntacticAnalysis, toAST, toUnflattenedAST, tokenizeMediaCondition, tokenizeMediaFeature, tokenizeMediaQuery, tokenizeRange, wouldStartIdentifier };\n//# sourceMappingURL=media-query-parser.esm.js.map\n","import { getVarName } from '@vanilla-extract/private';\nimport cssesc from 'cssesc';\nimport AhoCorasick from 'modern-ahocorasick';\nimport { markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.browser.esm.js';\nimport { _ as _taggedTemplateLiteral } from './taggedTemplateLiteral-8e47dbd7.browser.esm.js';\nimport { parse } from 'css-what';\nimport dedent from 'dedent';\nimport { toAST } from 'media-query-parser';\n\nfunction toPrimitive(t, r) {\n if (\"object\" != typeof t || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != typeof i) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\n\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == typeof i ? i : String(i);\n}\n\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n _defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\n\nfunction forEach(obj, fn) {\n for (var _key in obj) {\n fn(obj[_key], _key);\n }\n}\nfunction omit(obj, omitKeys) {\n var result = {};\n for (var _key2 in obj) {\n if (omitKeys.indexOf(_key2) === -1) {\n result[_key2] = obj[_key2];\n }\n }\n return result;\n}\nfunction mapKeys(obj, fn) {\n var result = {};\n for (var _key3 in obj) {\n result[fn(obj[_key3], _key3)] = obj[_key3];\n }\n return result;\n}\nfunction composeStylesIntoSet(set) {\n for (var _len = arguments.length, classNames = new Array(_len > 1 ? _len - 1 : 0), _key5 = 1; _key5 < _len; _key5++) {\n classNames[_key5 - 1] = arguments[_key5];\n }\n for (var className of classNames) {\n if (className.length === 0) {\n continue;\n }\n if (typeof className === 'string') {\n if (className.includes(' ')) {\n composeStylesIntoSet(set, ...className.trim().split(' '));\n } else {\n set.add(className);\n }\n } else if (Array.isArray(className)) {\n composeStylesIntoSet(set, ...className);\n }\n }\n}\nfunction dedupeAndJoinClassList(classNames) {\n var set = new Set();\n composeStylesIntoSet(set, ...classNames);\n return Array.from(set).join(' ');\n}\n\nvar _templateObject$1;\n\n// https://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\nfunction escapeRegex(string) {\n return string.replace(/[-/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n}\nvar validateSelector = (selector, targetClassName) => {\n var replaceTarget = () => {\n var targetRegex = new RegExp(\".\".concat(escapeRegex(cssesc(targetClassName, {\n isIdentifier: true\n }))), 'g');\n return selector.replace(targetRegex, '&');\n };\n var selectorParts;\n try {\n selectorParts = parse(selector);\n } catch (err) {\n throw new Error(\"Invalid selector: \".concat(replaceTarget()), {\n cause: err\n });\n }\n selectorParts.forEach(tokens => {\n try {\n for (var i = tokens.length - 1; i >= -1; i--) {\n if (!tokens[i]) {\n throw new Error();\n }\n var token = tokens[i];\n if (token.type === 'child' || token.type === 'parent' || token.type === 'sibling' || token.type === 'adjacent' || token.type === 'descendant') {\n throw new Error();\n }\n if (token.type === 'attribute' && token.name === 'class' && token.value === targetClassName) {\n return; // Found it\n }\n }\n } catch (err) {\n throw new Error(dedent(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral([\"\\n Invalid selector: \", \"\\n \\n Style selectors must target the '&' character (along with any modifiers), e.g. \", \" or \", \".\\n \\n This is to ensure that each style block only affects the styling of a single class.\\n \\n If your selector is targeting another class, you should move it to the style definition for that class, e.g. given we have styles for 'parent' and 'child' elements, instead of adding a selector of \", \") to 'parent', you should add \", \" to 'child').\\n \\n If your selector is targeting something global, use the 'globalStyle' function instead, e.g. if you wanted to write \", \", you should instead write 'globalStyle(\", \", { ... })'\\n \"])), replaceTarget(), '`${parent} &`', '`${parent} &:hover`', '`& ${child}`', '`${parent} &`', '`& h1`', '`${parent} h1`'), {\n cause: err\n });\n }\n });\n};\n\n/** e.g. @media screen and (min-width: 500px) */\n\nclass ConditionalRuleset {\n /**\n * Stores information about where conditions must be in relation to other conditions\n *\n * e.g. mobile -> tablet, desktop\n */\n\n constructor() {\n this.ruleset = new Map();\n this.precedenceLookup = new Map();\n }\n findOrCreateCondition(conditionQuery) {\n var targetCondition = this.ruleset.get(conditionQuery);\n if (!targetCondition) {\n // No target condition so create one\n targetCondition = {\n query: conditionQuery,\n rules: [],\n children: new ConditionalRuleset()\n };\n this.ruleset.set(conditionQuery, targetCondition);\n }\n return targetCondition;\n }\n getConditionalRulesetByPath(conditionPath) {\n var currRuleset = this;\n for (var query of conditionPath) {\n var condition = currRuleset.findOrCreateCondition(query);\n currRuleset = condition.children;\n }\n return currRuleset;\n }\n addRule(rule, conditionQuery, conditionPath) {\n var ruleset = this.getConditionalRulesetByPath(conditionPath);\n var targetCondition = ruleset.findOrCreateCondition(conditionQuery);\n if (!targetCondition) {\n throw new Error('Failed to add conditional rule');\n }\n targetCondition.rules.push(rule);\n }\n addConditionPrecedence(conditionPath, conditionOrder) {\n var ruleset = this.getConditionalRulesetByPath(conditionPath);\n for (var i = 0; i < conditionOrder.length; i++) {\n var _ruleset$precedenceLo;\n var query = conditionOrder[i];\n var conditionPrecedence = (_ruleset$precedenceLo = ruleset.precedenceLookup.get(query)) !== null && _ruleset$precedenceLo !== void 0 ? _ruleset$precedenceLo : new Set();\n for (var lowerPrecedenceCondition of conditionOrder.slice(i + 1)) {\n conditionPrecedence.add(lowerPrecedenceCondition);\n }\n ruleset.precedenceLookup.set(query, conditionPrecedence);\n }\n }\n isCompatible(incomingRuleset) {\n for (var [condition, orderPrecedence] of this.precedenceLookup.entries()) {\n for (var lowerPrecedenceCondition of orderPrecedence) {\n var _incomingRuleset$prec;\n if ((_incomingRuleset$prec = incomingRuleset.precedenceLookup.get(lowerPrecedenceCondition)) !== null && _incomingRuleset$prec !== void 0 && _incomingRuleset$prec.has(condition)) {\n return false;\n }\n }\n }\n\n // Check that children are compatible\n for (var {\n query,\n children\n } of incomingRuleset.ruleset.values()) {\n var matchingCondition = this.ruleset.get(query);\n if (matchingCondition && !matchingCondition.children.isCompatible(children)) {\n return false;\n }\n }\n return true;\n }\n merge(incomingRuleset) {\n // Merge rulesets into one array\n for (var {\n query,\n rules,\n children\n } of incomingRuleset.ruleset.values()) {\n var matchingCondition = this.ruleset.get(query);\n if (matchingCondition) {\n matchingCondition.rules.push(...rules);\n matchingCondition.children.merge(children);\n } else {\n this.ruleset.set(query, {\n query,\n rules,\n children\n });\n }\n }\n\n // Merge order precedences\n for (var [condition, incomingOrderPrecedence] of incomingRuleset.precedenceLookup.entries()) {\n var _this$precedenceLooku;\n var orderPrecedence = (_this$precedenceLooku = this.precedenceLookup.get(condition)) !== null && _this$precedenceLooku !== void 0 ? _this$precedenceLooku : new Set();\n this.precedenceLookup.set(condition, new Set([...orderPrecedence, ...incomingOrderPrecedence]));\n }\n }\n\n /**\n * Merge another ConditionalRuleset into this one if they are compatible\n *\n * @returns true if successful, false if the ruleset is incompatible\n */\n mergeIfCompatible(incomingRuleset) {\n if (!this.isCompatible(incomingRuleset)) {\n return false;\n }\n this.merge(incomingRuleset);\n return true;\n }\n getSortedRuleset() {\n var _this = this;\n var sortedRuleset = [];\n\n // Loop through all queries and add them to the sorted ruleset\n var _loop = function _loop(dependents) {\n var conditionForQuery = _this.ruleset.get(query);\n if (!conditionForQuery) {\n throw new Error(\"Can't find condition for \".concat(query));\n }\n\n // Find the location of the first dependent condition in the sortedRuleset\n // A dependent condition is a condition that must be placed *after* the current one\n var firstMatchingDependent = sortedRuleset.findIndex(condition => dependents.has(condition.query));\n if (firstMatchingDependent > -1) {\n // Insert the condition before the dependent one\n sortedRuleset.splice(firstMatchingDependent, 0, conditionForQuery);\n } else {\n // No match, just insert at the end\n sortedRuleset.push(conditionForQuery);\n }\n };\n for (var [query, dependents] of this.precedenceLookup.entries()) {\n _loop(dependents);\n }\n return sortedRuleset;\n }\n renderToArray() {\n var arr = [];\n for (var {\n query,\n rules,\n children\n } of this.getSortedRuleset()) {\n var selectors = {};\n for (var rule of rules) {\n selectors[rule.selector] = _objectSpread2(_objectSpread2({}, selectors[rule.selector]), rule.rule);\n }\n Object.assign(selectors, ...children.renderToArray());\n arr.push({\n [query]: selectors\n });\n }\n return arr;\n }\n}\n\nvar simplePseudoMap = {\n ':-moz-any-link': true,\n ':-moz-full-screen': true,\n ':-moz-placeholder': true,\n ':-moz-read-only': true,\n ':-moz-read-write': true,\n ':-ms-fullscreen': true,\n ':-ms-input-placeholder': true,\n ':-webkit-any-link': true,\n ':-webkit-full-screen': true,\n '::-moz-color-swatch': true,\n '::-moz-list-bullet': true,\n '::-moz-list-number': true,\n '::-moz-page-sequence': true,\n '::-moz-page': true,\n '::-moz-placeholder': true,\n '::-moz-progress-bar': true,\n '::-moz-range-progress': true,\n '::-moz-range-thumb': true,\n '::-moz-range-track': true,\n '::-moz-scrolled-page-sequence': true,\n '::-moz-selection': true,\n '::-ms-backdrop': true,\n '::-ms-browse': true,\n '::-ms-check': true,\n '::-ms-clear': true,\n '::-ms-fill-lower': true,\n '::-ms-fill-upper': true,\n '::-ms-fill': true,\n '::-ms-reveal': true,\n '::-ms-thumb': true,\n '::-ms-ticks-after': true,\n '::-ms-ticks-before': true,\n '::-ms-tooltip': true,\n '::-ms-track': true,\n '::-ms-value': true,\n '::-webkit-backdrop': true,\n '::-webkit-calendar-picker-indicator': true,\n '::-webkit-inner-spin-button': true,\n '::-webkit-input-placeholder': true,\n '::-webkit-meter-bar': true,\n '::-webkit-meter-even-less-good-value': true,\n '::-webkit-meter-inner-element': true,\n '::-webkit-meter-optimum-value': true,\n '::-webkit-meter-suboptimum-value': true,\n '::-webkit-outer-spin-button': true,\n '::-webkit-progress-bar': true,\n '::-webkit-progress-inner-element': true,\n '::-webkit-progress-inner-value': true,\n '::-webkit-progress-value': true,\n '::-webkit-resizer': true,\n '::-webkit-scrollbar-button': true,\n '::-webkit-scrollbar-corner': true,\n '::-webkit-scrollbar-thumb': true,\n '::-webkit-scrollbar-track-piece': true,\n '::-webkit-scrollbar-track': true,\n '::-webkit-scrollbar': true,\n '::-webkit-search-cancel-button': true,\n '::-webkit-search-results-button': true,\n '::-webkit-slider-runnable-track': true,\n '::-webkit-slider-thumb': true,\n '::after': true,\n '::backdrop': true,\n '::before': true,\n '::cue': true,\n '::file-selector-button': true,\n '::first-letter': true,\n '::first-line': true,\n '::grammar-error': true,\n '::marker': true,\n '::placeholder': true,\n '::selection': true,\n '::spelling-error': true,\n '::target-text': true,\n '::view-transition-group': true,\n '::view-transition-image-pair': true,\n '::view-transition-new': true,\n '::view-transition-old': true,\n '::view-transition': true,\n ':active': true,\n ':after': true,\n ':any-link': true,\n ':before': true,\n ':blank': true,\n ':checked': true,\n ':default': true,\n ':defined': true,\n ':disabled': true,\n ':empty': true,\n ':enabled': true,\n ':first-child': true,\n ':first-letter': true,\n ':first-line': true,\n ':first-of-type': true,\n ':first': true,\n ':focus-visible': true,\n ':focus-within': true,\n ':focus': true,\n ':fullscreen': true,\n ':hover': true,\n ':in-range': true,\n ':indeterminate': true,\n ':invalid': true,\n ':last-child': true,\n ':last-of-type': true,\n ':left': true,\n ':link': true,\n ':only-child': true,\n ':only-of-type': true,\n ':optional': true,\n ':out-of-range': true,\n ':placeholder-shown': true,\n ':read-only': true,\n ':read-write': true,\n ':required': true,\n ':right': true,\n ':root': true,\n ':scope': true,\n ':target': true,\n ':valid': true,\n ':visited': true\n};\nvar simplePseudos = Object.keys(simplePseudoMap);\nvar simplePseudoLookup = simplePseudoMap;\n\nvar _templateObject;\nvar createMediaQueryError = (mediaQuery, msg) => new Error(dedent(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n Invalid media query: \\\"\", \"\\\"\\n\\n \", \"\\n\\n Read more on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries\\n \"])), mediaQuery, msg));\nvar validateMediaQuery = mediaQuery => {\n // Empty queries will start with '@media '\n if (mediaQuery === '@media ') {\n throw createMediaQueryError(mediaQuery, 'Query is empty');\n }\n try {\n toAST(mediaQuery);\n } catch (e) {\n throw createMediaQueryError(mediaQuery, e.message);\n }\n};\n\nvar _excluded = [\"vars\"],\n _excluded2 = [\"content\"];\nvar DECLARATION = '__DECLARATION';\nvar UNITLESS = {\n animationIterationCount: true,\n borderImage: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n columnCount: true,\n columns: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n fontWeight: true,\n gridArea: true,\n gridColumn: true,\n gridColumnEnd: true,\n gridColumnStart: true,\n gridRow: true,\n gridRowEnd: true,\n gridRowStart: true,\n initialLetter: true,\n lineClamp: true,\n lineHeight: true,\n maxLines: true,\n opacity: true,\n order: true,\n orphans: true,\n scale: true,\n tabSize: true,\n WebkitLineClamp: true,\n widows: true,\n zIndex: true,\n zoom: true,\n // svg properties\n fillOpacity: true,\n floodOpacity: true,\n maskBorder: true,\n maskBorderOutset: true,\n maskBorderSlice: true,\n maskBorderWidth: true,\n shapeImageThreshold: true,\n stopOpacity: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\nfunction dashify(str) {\n return str.replace(/([A-Z])/g, '-$1').replace(/^ms-/, '-ms-').toLowerCase();\n}\nfunction replaceBetweenIndexes(target, startIndex, endIndex, replacement) {\n var start = target.slice(0, startIndex);\n var end = target.slice(endIndex);\n return \"\".concat(start).concat(replacement).concat(end);\n}\nvar DOUBLE_SPACE = ' ';\nvar specialKeys = [...simplePseudos, '@layer', '@media', '@supports', '@container', '@starting-style', 'selectors'];\nclass Stylesheet {\n constructor(localClassNames, composedClassLists) {\n this.rules = [];\n this.conditionalRulesets = [new ConditionalRuleset()];\n this.fontFaceRules = [];\n this.keyframesRules = [];\n this.propertyRules = [];\n this.localClassNamesMap = new Map(localClassNames.map(localClassName => [localClassName, localClassName]));\n this.localClassNamesSearch = new AhoCorasick(localClassNames);\n this.layers = new Map();\n\n // Class list compositions should be priortized by Newer > Older\n // Therefore we reverse the array as they are added in sequence\n this.composedClassLists = composedClassLists.map(_ref => {\n var {\n identifier,\n classList\n } = _ref;\n return {\n identifier,\n regex: RegExp(\"(\".concat(classList, \")\"), 'g')\n };\n }).reverse();\n }\n processCssObj(root) {\n if (root.type === 'fontFace') {\n this.fontFaceRules.push(root.rule);\n return;\n }\n if (root.type === 'property') {\n this.propertyRules.push(root);\n return;\n }\n if (root.type === 'keyframes') {\n root.rule = Object.fromEntries(Object.entries(root.rule).map(_ref2 => {\n var [keyframe, rule] = _ref2;\n return [keyframe, this.transformVars(this.transformProperties(rule))];\n }));\n this.keyframesRules.push(root);\n return;\n }\n this.currConditionalRuleset = new ConditionalRuleset();\n if (root.type === 'layer') {\n var layerDefinition = \"@layer \".concat(root.name);\n this.addLayer([layerDefinition]);\n } else {\n // Add main styles\n var mainRule = omit(root.rule, specialKeys);\n this.addRule({\n selector: root.selector,\n rule: mainRule\n });\n this.transformLayer(root, root.rule['@layer']);\n this.transformMedia(root, root.rule['@media']);\n this.transformSupports(root, root.rule['@supports']);\n this.transformContainer(root, root.rule['@container']);\n this.transformStartingStyle(root, root.rule['@starting-style']);\n this.transformSimplePseudos(root, root.rule);\n this.transformSelectors(root, root.rule);\n }\n var activeConditionalRuleset = this.conditionalRulesets[this.conditionalRulesets.length - 1];\n if (!activeConditionalRuleset.mergeIfCompatible(this.currConditionalRuleset)) {\n // Ruleset merge failed due to incompatibility. We now deopt by starting a fresh ConditionalRuleset\n this.conditionalRulesets.push(this.currConditionalRuleset);\n }\n }\n addConditionalRule(cssRule, conditions) {\n // Run `transformProperties` before `transformVars` as we don't want to pixelify CSS Vars\n var rule = this.transformVars(this.transformProperties(cssRule.rule));\n var selector = this.transformSelector(cssRule.selector);\n if (!this.currConditionalRuleset) {\n throw new Error(\"Couldn't add conditional rule\");\n }\n var conditionQuery = conditions[conditions.length - 1];\n var parentConditions = conditions.slice(0, conditions.length - 1);\n this.currConditionalRuleset.addRule({\n selector,\n rule\n }, conditionQuery, parentConditions);\n }\n addRule(cssRule) {\n // Run `transformProperties` before `transformVars` as we don't want to pixelify CSS Vars\n var rule = this.transformVars(this.transformProperties(cssRule.rule));\n var selector = this.transformSelector(cssRule.selector);\n this.rules.push({\n selector,\n rule\n });\n }\n addLayer(layer) {\n var uniqueLayerKey = layer.join(' - ');\n this.layers.set(uniqueLayerKey, layer);\n }\n transformProperties(cssRule) {\n return this.transformContent(this.pixelifyProperties(cssRule));\n }\n pixelifyProperties(cssRule) {\n forEach(cssRule, (value, key) => {\n if (typeof value === 'number' && value !== 0 && !UNITLESS[key]) {\n // @ts-expect-error Any ideas?\n cssRule[key] = \"\".concat(value, \"px\");\n }\n });\n return cssRule;\n }\n transformVars(_ref3) {\n var {\n vars\n } = _ref3,\n rest = _objectWithoutProperties(_ref3, _excluded);\n if (!vars) {\n return rest;\n }\n return _objectSpread2(_objectSpread2({}, mapKeys(vars, (_value, key) => getVarName(key))), rest);\n }\n transformContent(_ref4) {\n var {\n content\n } = _ref4,\n rest = _objectWithoutProperties(_ref4, _excluded2);\n if (typeof content === 'undefined') {\n return rest;\n }\n\n // Handle fallback arrays:\n var contentArray = Array.isArray(content) ? content : [content];\n return _objectSpread2({\n content: contentArray.map(value =>\n // This logic was adapted from Stitches :)\n value && (value.includes('\"') || value.includes(\"'\") || /^([A-Za-z-]+\\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)(\\s|$)/.test(value)) ? value : \"\\\"\".concat(value, \"\\\"\"))\n }, rest);\n }\n transformClassname(identifier) {\n return \".\".concat(cssesc(identifier, {\n isIdentifier: true\n }));\n }\n transformSelector(selector) {\n // Map class list compositions to single identifiers\n var transformedSelector = selector;\n var _loop = function _loop(identifier) {\n transformedSelector = transformedSelector.replace(regex, () => {\n markCompositionUsed(identifier);\n return identifier;\n });\n };\n for (var {\n identifier,\n regex\n } of this.composedClassLists) {\n _loop(identifier);\n }\n if (this.localClassNamesMap.has(transformedSelector)) {\n return this.transformClassname(transformedSelector);\n }\n var results = this.localClassNamesSearch.search(transformedSelector);\n var lastReplaceIndex = transformedSelector.length;\n\n // Perform replacements backwards to simplify index handling\n for (var i = results.length - 1; i >= 0; i--) {\n var [endIndex, [firstMatch]] = results[i];\n var startIndex = endIndex - firstMatch.length + 1;\n\n // Class names can be substrings of other class names\n // e.g. '_1g1ptzo1' and '_1g1ptzo10'\n //\n // Additionally, concatenated classnames can contain substrings equal to other classnames\n // e.g. '&&' where '&' is 'debugName_hash1' and 'debugName_hash1d' is also a local classname\n // Before transforming the selector, this would look like `debugName_hash1debugName_hash1`\n // which contains the substring `debugName_hash1d`’.\n //\n // In either of these cases, the last replace index will occur either before or within the\n // current replacement range (from `startIndex` to `endIndex`).\n // If this occurs, we skip the replacement to avoid transforming the selector incorrectly.\n var skipReplacement = lastReplaceIndex <= endIndex;\n if (skipReplacement) {\n continue;\n }\n lastReplaceIndex = startIndex;\n\n // If class names already starts with a '.' then skip\n if (transformedSelector[startIndex - 1] !== '.') {\n transformedSelector = replaceBetweenIndexes(transformedSelector, startIndex, endIndex + 1, this.transformClassname(firstMatch));\n }\n }\n return transformedSelector;\n }\n transformSelectors(root, rule, conditions) {\n forEach(rule.selectors, (selectorRule, selector) => {\n if (root.type !== 'local') {\n throw new Error(\"Selectors are not allowed within \".concat(root.type === 'global' ? '\"globalStyle\"' : '\"selectors\"'));\n }\n var transformedSelector = this.transformSelector(selector.replace(RegExp('&', 'g'), root.selector));\n validateSelector(transformedSelector, root.selector);\n var rule = {\n selector: transformedSelector,\n rule: omit(selectorRule, specialKeys)\n };\n if (conditions) {\n this.addConditionalRule(rule, conditions);\n } else {\n this.addRule(rule);\n }\n var selectorRoot = {\n type: 'selector',\n selector: transformedSelector,\n rule: selectorRule\n };\n this.transformLayer(selectorRoot, selectorRule['@layer'], conditions);\n this.transformSupports(selectorRoot, selectorRule['@supports'], conditions);\n this.transformMedia(selectorRoot, selectorRule['@media'], conditions);\n this.transformContainer(selectorRoot, selectorRule['@container'], conditions);\n this.transformStartingStyle(selectorRoot, selectorRule['@starting-style'], conditions);\n });\n }\n transformMedia(root, rules) {\n var parentConditions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n if (rules) {\n var _this$currConditional;\n (_this$currConditional = this.currConditionalRuleset) === null || _this$currConditional === void 0 || _this$currConditional.addConditionPrecedence(parentConditions, Object.keys(rules).map(query => \"@media \".concat(query)));\n for (var [query, mediaRule] of Object.entries(rules)) {\n var mediaQuery = \"@media \".concat(query);\n validateMediaQuery(mediaQuery);\n var conditions = [...parentConditions, mediaQuery];\n this.addConditionalRule({\n selector: root.selector,\n rule: omit(mediaRule, specialKeys)\n }, conditions);\n if (root.type === 'local') {\n this.transformSimplePseudos(root, mediaRule, conditions);\n this.transformSelectors(root, mediaRule, conditions);\n }\n this.transformLayer(root, mediaRule['@layer'], conditions);\n this.transformSupports(root, mediaRule['@supports'], conditions);\n this.transformContainer(root, mediaRule['@container'], conditions);\n this.transformStartingStyle(root, mediaRule['@starting-style'], conditions);\n }\n }\n }\n transformContainer(root, rules) {\n var parentConditions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n if (rules) {\n var _this$currConditional2;\n (_this$currConditional2 = this.currConditionalRuleset) === null || _this$currConditional2 === void 0 || _this$currConditional2.addConditionPrecedence(parentConditions, Object.keys(rules).map(query => \"@container \".concat(query)));\n forEach(rules, (containerRule, query) => {\n var containerQuery = \"@container \".concat(query);\n var conditions = [...parentConditions, containerQuery];\n this.addConditionalRule({\n selector: root.selector,\n rule: omit(containerRule, specialKeys)\n }, conditions);\n if (root.type === 'local') {\n this.transformSimplePseudos(root, containerRule, conditions);\n this.transformSelectors(root, containerRule, conditions);\n }\n this.transformLayer(root, containerRule['@layer'], conditions);\n this.transformSupports(root, containerRule['@supports'], conditions);\n this.transformMedia(root, containerRule['@media'], conditions);\n this.transformStartingStyle(root, containerRule['@starting-style'], conditions);\n });\n }\n }\n transformLayer(root, rules) {\n var parentConditions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n if (rules) {\n var _this$currConditional3;\n (_this$currConditional3 = this.currConditionalRuleset) === null || _this$currConditional3 === void 0 || _this$currConditional3.addConditionPrecedence(parentConditions, Object.keys(rules).map(name => \"@layer \".concat(name)));\n forEach(rules, (layerRule, name) => {\n var conditions = [...parentConditions, \"@layer \".concat(name)];\n this.addLayer(conditions);\n this.addConditionalRule({\n selector: root.selector,\n rule: omit(layerRule, specialKeys)\n }, conditions);\n if (root.type === 'local') {\n this.transformSimplePseudos(root, layerRule, conditions);\n this.transformSelectors(root, layerRule, conditions);\n }\n this.transformMedia(root, layerRule['@media'], conditions);\n this.transformSupports(root, layerRule['@supports'], conditions);\n this.transformContainer(root, layerRule['@container'], conditions);\n this.transformStartingStyle(root, layerRule['@starting-style'], conditions);\n });\n }\n }\n transformSupports(root, rules) {\n var parentConditions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n if (rules) {\n var _this$currConditional4;\n (_this$currConditional4 = this.currConditionalRuleset) === null || _this$currConditional4 === void 0 || _this$currConditional4.addConditionPrecedence(parentConditions, Object.keys(rules).map(query => \"@supports \".concat(query)));\n forEach(rules, (supportsRule, query) => {\n var conditions = [...parentConditions, \"@supports \".concat(query)];\n this.addConditionalRule({\n selector: root.selector,\n rule: omit(supportsRule, specialKeys)\n }, conditions);\n if (root.type === 'local') {\n this.transformSimplePseudos(root, supportsRule, conditions);\n this.transformSelectors(root, supportsRule, conditions);\n }\n this.transformLayer(root, supportsRule['@layer'], conditions);\n this.transformMedia(root, supportsRule['@media'], conditions);\n this.transformContainer(root, supportsRule['@container'], conditions);\n this.transformStartingStyle(root, supportsRule['@starting-style'], conditions);\n });\n }\n }\n transformSimplePseudos(root, rule, conditions) {\n for (var key of Object.keys(rule)) {\n // Process simple pseudos\n if (simplePseudoLookup[key]) {\n if (root.type !== 'local') {\n throw new Error(\"Simple pseudos are not valid in \".concat(root.type === 'global' ? '\"globalStyle\"' : '\"selectors\"'));\n }\n if (conditions) {\n this.addConditionalRule({\n selector: \"\".concat(root.selector).concat(key),\n rule: rule[key]\n }, conditions);\n } else {\n this.addRule({\n conditions,\n selector: \"\".concat(root.selector).concat(key),\n rule: rule[key]\n });\n }\n }\n }\n }\n transformStartingStyle(root, rules) {\n var parentConditions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n if (rules) {\n var _this$currConditional5;\n var nestedAtRuleKey = Object.keys(rules).find(key => key.startsWith('@'));\n if (nestedAtRuleKey) {\n throw new Error(\"Nested at-rules (e.g. \\\"\".concat(nestedAtRuleKey, \"\\\") are not allowed inside @starting-style.\"));\n }\n (_this$currConditional5 = this.currConditionalRuleset) === null || _this$currConditional5 === void 0 || _this$currConditional5.addConditionPrecedence(parentConditions, ['@starting-style']);\n var conditions = [...parentConditions, '@starting-style'];\n this.addConditionalRule({\n selector: root.selector,\n rule: omit(rules, specialKeys)\n }, conditions);\n if (root.type === 'local') {\n this.transformSimplePseudos(root, rules, conditions);\n this.transformSelectors(root, rules, conditions);\n }\n }\n }\n toCss() {\n var css = [];\n\n // Render font-face rules\n for (var fontFaceRule of this.fontFaceRules) {\n css.push(renderCss({\n '@font-face': fontFaceRule\n }));\n }\n\n // Render property rules\n for (var property of this.propertyRules) {\n css.push(renderCss({\n [\"@property \".concat(property.name)]: property.rule\n }));\n }\n\n // Render keyframes\n for (var keyframe of this.keyframesRules) {\n css.push(renderCss({\n [\"@keyframes \".concat(keyframe.name)]: keyframe.rule\n }));\n }\n\n // Render layer definitions\n for (var layer of this.layers.values()) {\n var [definition, ...nesting] = layer.reverse();\n var cssObj = {\n [definition]: DECLARATION\n };\n for (var part of nesting) {\n cssObj = {\n [part]: cssObj\n };\n }\n css.push(renderCss(cssObj));\n }\n\n // Render unconditional rules\n for (var rule of this.rules) {\n css.push(renderCss({\n [rule.selector]: rule.rule\n }));\n }\n\n // Render conditional rules\n for (var conditionalRuleset of this.conditionalRulesets) {\n for (var conditionalRule of conditionalRuleset.renderToArray()) {\n css.push(renderCss(conditionalRule));\n }\n }\n return css.filter(Boolean);\n }\n}\nfunction renderCss(v) {\n var indent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var rules = [];\n var _loop2 = function _loop2(key) {\n var value = v[key];\n if (value && Array.isArray(value)) {\n rules.push(...value.map(v => renderCss({\n [key]: v\n }, indent)));\n } else if (value && typeof value === 'object') {\n var isEmpty = Object.keys(value).length === 0;\n if (!isEmpty) {\n rules.push(\"\".concat(indent).concat(key, \" {\\n\").concat(renderCss(value, indent + DOUBLE_SPACE), \"\\n\").concat(indent, \"}\"));\n }\n } else if (value === DECLARATION) {\n rules.push(\"\".concat(indent).concat(key, \";\"));\n } else {\n rules.push(\"\".concat(indent).concat(key.startsWith('--') ? key : dashify(key), \": \").concat(value, \";\"));\n }\n };\n for (var key of Object.keys(v)) {\n _loop2(key);\n }\n return rules.join('\\n');\n}\nfunction transformCss(_ref5) {\n var {\n localClassNames,\n cssObjs,\n composedClassLists\n } = _ref5;\n var stylesheet = new Stylesheet(localClassNames, composedClassLists);\n for (var root of cssObjs) {\n stylesheet.processCssObj(root);\n }\n return stylesheet.toCss();\n}\n\nexport { _objectSpread2 as _, _objectWithoutProperties as a, dedupeAndJoinClassList as d, transformCss as t };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","import { _ as _taggedTemplateLiteral } from '../../dist/taggedTemplateLiteral-8e47dbd7.browser.esm.js';\nimport dedent from 'dedent';\nimport { onBeginFileScope, onEndFileScope } from '../../adapter/dist/vanilla-extract-css-adapter.browser.esm.js';\n\nvar _templateObject;\nvar refCounter = 0;\nvar fileScopes = [];\nfunction setFileScope(filePath, packageName) {\n refCounter = 0;\n var fileScope = {\n filePath,\n packageName\n };\n fileScopes.unshift(fileScope);\n onBeginFileScope(fileScope);\n}\nfunction endFileScope() {\n onEndFileScope(getFileScope());\n refCounter = 0;\n fileScopes.splice(0, 1);\n}\nfunction hasFileScope() {\n return fileScopes.length > 0;\n}\nfunction getFileScope() {\n if (fileScopes.length === 0) {\n throw new Error(dedent(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n Styles were unable to be assigned to a file. This is generally caused by one of the following:\\n\\n - You may have created styles outside of a '.css.ts' context\\n - You may have incorrect configuration. See https://vanilla-extract.style/documentation/getting-started\\n \"]))));\n }\n return fileScopes[0];\n}\nfunction getAndIncrementRefCounter() {\n return refCounter++;\n}\n\nexport { endFileScope, getAndIncrementRefCounter, getFileScope, hasFileScope, setFileScope };\n","/**\n * @module LRUCache\n */\nconst perf = typeof performance === 'object' &&\n performance &&\n typeof performance.now === 'function'\n ? performance\n : Date;\nconst warned = new Set();\n/* c8 ignore start */\nconst PROCESS = (typeof process === 'object' && !!process ? process : {});\n/* c8 ignore start */\nconst emitWarning = (msg, type, code, fn) => {\n typeof PROCESS.emitWarning === 'function'\n ? PROCESS.emitWarning(msg, type, code, fn)\n : console.error(`[${code}] ${type}: ${msg}`);\n};\nlet AC = globalThis.AbortController;\nlet AS = globalThis.AbortSignal;\n/* c8 ignore start */\nif (typeof AC === 'undefined') {\n //@ts-ignore\n AS = class AbortSignal {\n onabort;\n _onabort = [];\n reason;\n aborted = false;\n addEventListener(_, fn) {\n this._onabort.push(fn);\n }\n };\n //@ts-ignore\n AC = class AbortController {\n constructor() {\n warnACPolyfill();\n }\n signal = new AS();\n abort(reason) {\n if (this.signal.aborted)\n return;\n //@ts-ignore\n this.signal.reason = reason;\n //@ts-ignore\n this.signal.aborted = true;\n //@ts-ignore\n for (const fn of this.signal._onabort) {\n fn(reason);\n }\n this.signal.onabort?.(reason);\n }\n };\n let printACPolyfillWarning = PROCESS.env?.LRU_CACHE_IGNORE_AC_WARNING !== '1';\n const warnACPolyfill = () => {\n if (!printACPolyfillWarning)\n return;\n printACPolyfillWarning = false;\n emitWarning('AbortController is not defined. If using lru-cache in ' +\n 'node 14, load an AbortController polyfill from the ' +\n '`node-abort-controller` package. A minimal polyfill is ' +\n 'provided for use by LRUCache.fetch(), but it should not be ' +\n 'relied upon in other contexts (eg, passing it to other APIs that ' +\n 'use AbortController/AbortSignal might have undesirable effects). ' +\n 'You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.', 'NO_ABORT_CONTROLLER', 'ENOTSUP', warnACPolyfill);\n };\n}\n/* c8 ignore stop */\nconst shouldWarn = (code) => !warned.has(code);\nconst TYPE = Symbol('type');\nconst isPosInt = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n);\n/* c8 ignore start */\n// This is a little bit ridiculous, tbh.\n// The maximum array length is 2^32-1 or thereabouts on most JS impls.\n// And well before that point, you're caching the entire world, I mean,\n// that's ~32GB of just integers for the next/prev links, plus whatever\n// else to hold that many keys and values. Just filling the memory with\n// zeroes at init time is brutal when you get that big.\n// But why not be complete?\n// Maybe in the future, these limits will have expanded.\nconst getUintArray = (max) => !isPosInt(max)\n ? null\n : max <= Math.pow(2, 8)\n ? Uint8Array\n : max <= Math.pow(2, 16)\n ? Uint16Array\n : max <= Math.pow(2, 32)\n ? Uint32Array\n : max <= Number.MAX_SAFE_INTEGER\n ? ZeroArray\n : null;\n/* c8 ignore stop */\nclass ZeroArray extends Array {\n constructor(size) {\n super(size);\n this.fill(0);\n }\n}\nclass Stack {\n heap;\n length;\n // private constructor\n static #constructing = false;\n static create(max) {\n const HeapCls = getUintArray(max);\n if (!HeapCls)\n return [];\n Stack.#constructing = true;\n const s = new Stack(max, HeapCls);\n Stack.#constructing = false;\n return s;\n }\n constructor(max, HeapCls) {\n /* c8 ignore start */\n if (!Stack.#constructing) {\n throw new TypeError('instantiate Stack using Stack.create(n)');\n }\n /* c8 ignore stop */\n this.heap = new HeapCls(max);\n this.length = 0;\n }\n push(n) {\n this.heap[this.length++] = n;\n }\n pop() {\n return this.heap[--this.length];\n }\n}\n/**\n * Default export, the thing you're using this module to get.\n *\n * The `K` and `V` types define the key and value types, respectively. The\n * optional `FC` type defines the type of the `context` object passed to\n * `cache.fetch()` and `cache.memo()`.\n *\n * Keys and values **must not** be `null` or `undefined`.\n *\n * All properties from the options object (with the exception of `max`,\n * `maxSize`, `fetchMethod`, `memoMethod`, `dispose` and `disposeAfter`) are\n * added as normal public members. (The listed options are read-only getters.)\n *\n * Changing any of these will alter the defaults for subsequent method calls.\n */\nexport class LRUCache {\n // options that cannot be changed without disaster\n #max;\n #maxSize;\n #dispose;\n #disposeAfter;\n #fetchMethod;\n #memoMethod;\n /**\n * {@link LRUCache.OptionsBase.ttl}\n */\n ttl;\n /**\n * {@link LRUCache.OptionsBase.ttlResolution}\n */\n ttlResolution;\n /**\n * {@link LRUCache.OptionsBase.ttlAutopurge}\n */\n ttlAutopurge;\n /**\n * {@link LRUCache.OptionsBase.updateAgeOnGet}\n */\n updateAgeOnGet;\n /**\n * {@link LRUCache.OptionsBase.updateAgeOnHas}\n */\n updateAgeOnHas;\n /**\n * {@link LRUCache.OptionsBase.allowStale}\n */\n allowStale;\n /**\n * {@link LRUCache.OptionsBase.noDisposeOnSet}\n */\n noDisposeOnSet;\n /**\n * {@link LRUCache.OptionsBase.noUpdateTTL}\n */\n noUpdateTTL;\n /**\n * {@link LRUCache.OptionsBase.maxEntrySize}\n */\n maxEntrySize;\n /**\n * {@link LRUCache.OptionsBase.sizeCalculation}\n */\n sizeCalculation;\n /**\n * {@link LRUCache.OptionsBase.noDeleteOnFetchRejection}\n */\n noDeleteOnFetchRejection;\n /**\n * {@link LRUCache.OptionsBase.noDeleteOnStaleGet}\n */\n noDeleteOnStaleGet;\n /**\n * {@link LRUCache.OptionsBase.allowStaleOnFetchAbort}\n */\n allowStaleOnFetchAbort;\n /**\n * {@link LRUCache.OptionsBase.allowStaleOnFetchRejection}\n */\n allowStaleOnFetchRejection;\n /**\n * {@link LRUCache.OptionsBase.ignoreFetchAbort}\n */\n ignoreFetchAbort;\n // computed properties\n #size;\n #calculatedSize;\n #keyMap;\n #keyList;\n #valList;\n #next;\n #prev;\n #head;\n #tail;\n #free;\n #disposed;\n #sizes;\n #starts;\n #ttls;\n #hasDispose;\n #hasFetchMethod;\n #hasDisposeAfter;\n /**\n * Do not call this method unless you need to inspect the\n * inner workings of the cache. If anything returned by this\n * object is modified in any way, strange breakage may occur.\n *\n * These fields are private for a reason!\n *\n * @internal\n */\n static unsafeExposeInternals(c) {\n return {\n // properties\n starts: c.#starts,\n ttls: c.#ttls,\n sizes: c.#sizes,\n keyMap: c.#keyMap,\n keyList: c.#keyList,\n valList: c.#valList,\n next: c.#next,\n prev: c.#prev,\n get head() {\n return c.#head;\n },\n get tail() {\n return c.#tail;\n },\n free: c.#free,\n // methods\n isBackgroundFetch: (p) => c.#isBackgroundFetch(p),\n backgroundFetch: (k, index, options, context) => c.#backgroundFetch(k, index, options, context),\n moveToTail: (index) => c.#moveToTail(index),\n indexes: (options) => c.#indexes(options),\n rindexes: (options) => c.#rindexes(options),\n isStale: (index) => c.#isStale(index),\n };\n }\n // Protected read-only members\n /**\n * {@link LRUCache.OptionsBase.max} (read-only)\n */\n get max() {\n return this.#max;\n }\n /**\n * {@link LRUCache.OptionsBase.maxSize} (read-only)\n */\n get maxSize() {\n return this.#maxSize;\n }\n /**\n * The total computed size of items in the cache (read-only)\n */\n get calculatedSize() {\n return this.#calculatedSize;\n }\n /**\n * The number of items stored in the cache (read-only)\n */\n get size() {\n return this.#size;\n }\n /**\n * {@link LRUCache.OptionsBase.fetchMethod} (read-only)\n */\n get fetchMethod() {\n return this.#fetchMethod;\n }\n get memoMethod() {\n return this.#memoMethod;\n }\n /**\n * {@link LRUCache.OptionsBase.dispose} (read-only)\n */\n get dispose() {\n return this.#dispose;\n }\n /**\n * {@link LRUCache.OptionsBase.disposeAfter} (read-only)\n */\n get disposeAfter() {\n return this.#disposeAfter;\n }\n constructor(options) {\n const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort, } = options;\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer');\n }\n const UintArray = max ? getUintArray(max) : Array;\n if (!UintArray) {\n throw new Error('invalid max value: ' + max);\n }\n this.#max = max;\n this.#maxSize = maxSize;\n this.maxEntrySize = maxEntrySize || this.#maxSize;\n this.sizeCalculation = sizeCalculation;\n if (this.sizeCalculation) {\n if (!this.#maxSize && !this.maxEntrySize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize or maxEntrySize');\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function');\n }\n }\n if (memoMethod !== undefined &&\n typeof memoMethod !== 'function') {\n throw new TypeError('memoMethod must be a function if defined');\n }\n this.#memoMethod = memoMethod;\n if (fetchMethod !== undefined &&\n typeof fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified');\n }\n this.#fetchMethod = fetchMethod;\n this.#hasFetchMethod = !!fetchMethod;\n this.#keyMap = new Map();\n this.#keyList = new Array(max).fill(undefined);\n this.#valList = new Array(max).fill(undefined);\n this.#next = new UintArray(max);\n this.#prev = new UintArray(max);\n this.#head = 0;\n this.#tail = 0;\n this.#free = Stack.create(max);\n this.#size = 0;\n this.#calculatedSize = 0;\n if (typeof dispose === 'function') {\n this.#dispose = dispose;\n }\n if (typeof disposeAfter === 'function') {\n this.#disposeAfter = disposeAfter;\n this.#disposed = [];\n }\n else {\n this.#disposeAfter = undefined;\n this.#disposed = undefined;\n }\n this.#hasDispose = !!this.#dispose;\n this.#hasDisposeAfter = !!this.#disposeAfter;\n this.noDisposeOnSet = !!noDisposeOnSet;\n this.noUpdateTTL = !!noUpdateTTL;\n this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection;\n this.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection;\n this.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort;\n this.ignoreFetchAbort = !!ignoreFetchAbort;\n // NB: maxEntrySize is set to maxSize if it's set\n if (this.maxEntrySize !== 0) {\n if (this.#maxSize !== 0) {\n if (!isPosInt(this.#maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified');\n }\n }\n if (!isPosInt(this.maxEntrySize)) {\n throw new TypeError('maxEntrySize must be a positive integer if specified');\n }\n this.#initializeSizeTracking();\n }\n this.allowStale = !!allowStale;\n this.noDeleteOnStaleGet = !!noDeleteOnStaleGet;\n this.updateAgeOnGet = !!updateAgeOnGet;\n this.updateAgeOnHas = !!updateAgeOnHas;\n this.ttlResolution =\n isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution\n : 1;\n this.ttlAutopurge = !!ttlAutopurge;\n this.ttl = ttl || 0;\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified');\n }\n this.#initializeTTLTracking();\n }\n // do not allow completely unbounded caches\n if (this.#max === 0 && this.ttl === 0 && this.#maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required');\n }\n if (!this.ttlAutopurge && !this.#max && !this.#maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED';\n if (shouldWarn(code)) {\n warned.add(code);\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.';\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache);\n }\n }\n }\n /**\n * Return the number of ms left in the item's TTL. If item is not in cache,\n * returns `0`. Returns `Infinity` if item is in cache without a defined TTL.\n */\n getRemainingTTL(key) {\n return this.#keyMap.has(key) ? Infinity : 0;\n }\n #initializeTTLTracking() {\n const ttls = new ZeroArray(this.#max);\n const starts = new ZeroArray(this.#max);\n this.#ttls = ttls;\n this.#starts = starts;\n this.#setItemTTL = (index, ttl, start = perf.now()) => {\n starts[index] = ttl !== 0 ? start : 0;\n ttls[index] = ttl;\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.#isStale(index)) {\n this.#delete(this.#keyList[index], 'expire');\n }\n }, ttl + 1);\n // unref() not supported on all platforms\n /* c8 ignore start */\n if (t.unref) {\n t.unref();\n }\n /* c8 ignore stop */\n }\n };\n this.#updateItemAge = index => {\n starts[index] = ttls[index] !== 0 ? perf.now() : 0;\n };\n this.#statusTTL = (status, index) => {\n if (ttls[index]) {\n const ttl = ttls[index];\n const start = starts[index];\n /* c8 ignore next */\n if (!ttl || !start)\n return;\n status.ttl = ttl;\n status.start = start;\n status.now = cachedNow || getNow();\n const age = status.now - start;\n status.remainingTTL = ttl - age;\n }\n };\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0;\n const getNow = () => {\n const n = perf.now();\n if (this.ttlResolution > 0) {\n cachedNow = n;\n const t = setTimeout(() => (cachedNow = 0), this.ttlResolution);\n // not available on all platforms\n /* c8 ignore start */\n if (t.unref) {\n t.unref();\n }\n /* c8 ignore stop */\n }\n return n;\n };\n this.getRemainingTTL = key => {\n const index = this.#keyMap.get(key);\n if (index === undefined) {\n return 0;\n }\n const ttl = ttls[index];\n const start = starts[index];\n if (!ttl || !start) {\n return Infinity;\n }\n const age = (cachedNow || getNow()) - start;\n return ttl - age;\n };\n this.#isStale = index => {\n const s = starts[index];\n const t = ttls[index];\n return !!t && !!s && (cachedNow || getNow()) - s > t;\n };\n }\n // conditionally set private methods related to TTL\n #updateItemAge = () => { };\n #statusTTL = () => { };\n #setItemTTL = () => { };\n /* c8 ignore stop */\n #isStale = () => false;\n #initializeSizeTracking() {\n const sizes = new ZeroArray(this.#max);\n this.#calculatedSize = 0;\n this.#sizes = sizes;\n this.#removeItemSize = index => {\n this.#calculatedSize -= sizes[index];\n sizes[index] = 0;\n };\n this.#requireSize = (k, v, size, sizeCalculation) => {\n // provisionally accept background fetches.\n // actual value size will be checked when they return.\n if (this.#isBackgroundFetch(v)) {\n return 0;\n }\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function');\n }\n size = sizeCalculation(v, k);\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)');\n }\n }\n else {\n throw new TypeError('invalid size value (must be positive integer). ' +\n 'When maxSize or maxEntrySize is used, sizeCalculation ' +\n 'or size must be set.');\n }\n }\n return size;\n };\n this.#addItemSize = (index, size, status) => {\n sizes[index] = size;\n if (this.#maxSize) {\n const maxSize = this.#maxSize - sizes[index];\n while (this.#calculatedSize > maxSize) {\n this.#evict(true);\n }\n }\n this.#calculatedSize += sizes[index];\n if (status) {\n status.entrySize = size;\n status.totalCalculatedSize = this.#calculatedSize;\n }\n };\n }\n #removeItemSize = _i => { };\n #addItemSize = (_i, _s, _st) => { };\n #requireSize = (_k, _v, size, sizeCalculation) => {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize or maxEntrySize on cache');\n }\n return 0;\n };\n *#indexes({ allowStale = this.allowStale } = {}) {\n if (this.#size) {\n for (let i = this.#tail; true;) {\n if (!this.#isValidIndex(i)) {\n break;\n }\n if (allowStale || !this.#isStale(i)) {\n yield i;\n }\n if (i === this.#head) {\n break;\n }\n else {\n i = this.#prev[i];\n }\n }\n }\n }\n *#rindexes({ allowStale = this.allowStale } = {}) {\n if (this.#size) {\n for (let i = this.#head; true;) {\n if (!this.#isValidIndex(i)) {\n break;\n }\n if (allowStale || !this.#isStale(i)) {\n yield i;\n }\n if (i === this.#tail) {\n break;\n }\n else {\n i = this.#next[i];\n }\n }\n }\n }\n #isValidIndex(index) {\n return (index !== undefined &&\n this.#keyMap.get(this.#keyList[index]) === index);\n }\n /**\n * Return a generator yielding `[key, value]` pairs,\n * in order from most recently used to least recently used.\n */\n *entries() {\n for (const i of this.#indexes()) {\n if (this.#valList[i] !== undefined &&\n this.#keyList[i] !== undefined &&\n !this.#isBackgroundFetch(this.#valList[i])) {\n yield [this.#keyList[i], this.#valList[i]];\n }\n }\n }\n /**\n * Inverse order version of {@link LRUCache.entries}\n *\n * Return a generator yielding `[key, value]` pairs,\n * in order from least recently used to most recently used.\n */\n *rentries() {\n for (const i of this.#rindexes()) {\n if (this.#valList[i] !== undefined &&\n this.#keyList[i] !== undefined &&\n !this.#isBackgroundFetch(this.#valList[i])) {\n yield [this.#keyList[i], this.#valList[i]];\n }\n }\n }\n /**\n * Return a generator yielding the keys in the cache,\n * in order from most recently used to least recently used.\n */\n *keys() {\n for (const i of this.#indexes()) {\n const k = this.#keyList[i];\n if (k !== undefined &&\n !this.#isBackgroundFetch(this.#valList[i])) {\n yield k;\n }\n }\n }\n /**\n * Inverse order version of {@link LRUCache.keys}\n *\n * Return a generator yielding the keys in the cache,\n * in order from least recently used to most recently used.\n */\n *rkeys() {\n for (const i of this.#rindexes()) {\n const k = this.#keyList[i];\n if (k !== undefined &&\n !this.#isBackgroundFetch(this.#valList[i])) {\n yield k;\n }\n }\n }\n /**\n * Return a generator yielding the values in the cache,\n * in order from most recently used to least recently used.\n */\n *values() {\n for (const i of this.#indexes()) {\n const v = this.#valList[i];\n if (v !== undefined &&\n !this.#isBackgroundFetch(this.#valList[i])) {\n yield this.#valList[i];\n }\n }\n }\n /**\n * Inverse order version of {@link LRUCache.values}\n *\n * Return a generator yielding the values in the cache,\n * in order from least recently used to most recently used.\n */\n *rvalues() {\n for (const i of this.#rindexes()) {\n const v = this.#valList[i];\n if (v !== undefined &&\n !this.#isBackgroundFetch(this.#valList[i])) {\n yield this.#valList[i];\n }\n }\n }\n /**\n * Iterating over the cache itself yields the same results as\n * {@link LRUCache.entries}\n */\n [Symbol.iterator]() {\n return this.entries();\n }\n /**\n * A String value that is used in the creation of the default string\n * description of an object. Called by the built-in method\n * `Object.prototype.toString`.\n */\n [Symbol.toStringTag] = 'LRUCache';\n /**\n * Find a value for which the supplied fn method returns a truthy value,\n * similar to `Array.find()`. fn is called as `fn(value, key, cache)`.\n */\n find(fn, getOptions = {}) {\n for (const i of this.#indexes()) {\n const v = this.#valList[i];\n const value = this.#isBackgroundFetch(v)\n ? v.__staleWhileFetching\n : v;\n if (value === undefined)\n continue;\n if (fn(value, this.#keyList[i], this)) {\n return this.get(this.#keyList[i], getOptions);\n }\n }\n }\n /**\n * Call the supplied function on each item in the cache, in order from most\n * recently used to least recently used.\n *\n * `fn` is called as `fn(value, key, cache)`.\n *\n * If `thisp` is provided, function will be called in the `this`-context of\n * the provided object, or the cache if no `thisp` object is provided.\n *\n * Does not update age or recenty of use, or iterate over stale values.\n */\n forEach(fn, thisp = this) {\n for (const i of this.#indexes()) {\n const v = this.#valList[i];\n const value = this.#isBackgroundFetch(v)\n ? v.__staleWhileFetching\n : v;\n if (value === undefined)\n continue;\n fn.call(thisp, value, this.#keyList[i], this);\n }\n }\n /**\n * The same as {@link LRUCache.forEach} but items are iterated over in\n * reverse order. (ie, less recently used items are iterated over first.)\n */\n rforEach(fn, thisp = this) {\n for (const i of this.#rindexes()) {\n const v = this.#valList[i];\n const value = this.#isBackgroundFetch(v)\n ? v.__staleWhileFetching\n : v;\n if (value === undefined)\n continue;\n fn.call(thisp, value, this.#keyList[i], this);\n }\n }\n /**\n * Delete any stale entries. Returns true if anything was removed,\n * false otherwise.\n */\n purgeStale() {\n let deleted = false;\n for (const i of this.#rindexes({ allowStale: true })) {\n if (this.#isStale(i)) {\n this.#delete(this.#keyList[i], 'expire');\n deleted = true;\n }\n }\n return deleted;\n }\n /**\n * Get the extended info about a given entry, to get its value, size, and\n * TTL info simultaneously. Returns `undefined` if the key is not present.\n *\n * Unlike {@link LRUCache#dump}, which is designed to be portable and survive\n * serialization, the `start` value is always the current timestamp, and the\n * `ttl` is a calculated remaining time to live (negative if expired).\n *\n * Always returns stale values, if their info is found in the cache, so be\n * sure to check for expirations (ie, a negative {@link LRUCache.Entry#ttl})\n * if relevant.\n */\n info(key) {\n const i = this.#keyMap.get(key);\n if (i === undefined)\n return undefined;\n const v = this.#valList[i];\n const value = this.#isBackgroundFetch(v)\n ? v.__staleWhileFetching\n : v;\n if (value === undefined)\n return undefined;\n const entry = { value };\n if (this.#ttls && this.#starts) {\n const ttl = this.#ttls[i];\n const start = this.#starts[i];\n if (ttl && start) {\n const remain = ttl - (perf.now() - start);\n entry.ttl = remain;\n entry.start = Date.now();\n }\n }\n if (this.#sizes) {\n entry.size = this.#sizes[i];\n }\n return entry;\n }\n /**\n * Return an array of [key, {@link LRUCache.Entry}] tuples which can be\n * passed to {@link LRLUCache#load}.\n *\n * The `start` fields are calculated relative to a portable `Date.now()`\n * timestamp, even if `performance.now()` is available.\n *\n * Stale entries are always included in the `dump`, even if\n * {@link LRUCache.OptionsBase.allowStale} is false.\n *\n * Note: this returns an actual array, not a generator, so it can be more\n * easily passed around.\n */\n dump() {\n const arr = [];\n for (const i of this.#indexes({ allowStale: true })) {\n const key = this.#keyList[i];\n const v = this.#valList[i];\n const value = this.#isBackgroundFetch(v)\n ? v.__staleWhileFetching\n : v;\n if (value === undefined || key === undefined)\n continue;\n const entry = { value };\n if (this.#ttls && this.#starts) {\n entry.ttl = this.#ttls[i];\n // always dump the start relative to a portable timestamp\n // it's ok for this to be a bit slow, it's a rare operation.\n const age = perf.now() - this.#starts[i];\n entry.start = Math.floor(Date.now() - age);\n }\n if (this.#sizes) {\n entry.size = this.#sizes[i];\n }\n arr.unshift([key, entry]);\n }\n return arr;\n }\n /**\n * Reset the cache and load in the items in entries in the order listed.\n *\n * The shape of the resulting cache may be different if the same options are\n * not used in both caches.\n *\n * The `start` fields are assumed to be calculated relative to a portable\n * `Date.now()` timestamp, even if `performance.now()` is available.\n */\n load(arr) {\n this.clear();\n for (const [key, entry] of arr) {\n if (entry.start) {\n // entry.start is a portable timestamp, but we may be using\n // node's performance.now(), so calculate the offset, so that\n // we get the intended remaining TTL, no matter how long it's\n // been on ice.\n //\n // it's ok for this to be a bit slow, it's a rare operation.\n const age = Date.now() - entry.start;\n entry.start = perf.now() - age;\n }\n this.set(key, entry.value, entry);\n }\n }\n /**\n * Add a value to the cache.\n *\n * Note: if `undefined` is specified as a value, this is an alias for\n * {@link LRUCache#delete}\n *\n * Fields on the {@link LRUCache.SetOptions} options param will override\n * their corresponding values in the constructor options for the scope\n * of this single `set()` operation.\n *\n * If `start` is provided, then that will set the effective start\n * time for the TTL calculation. Note that this must be a previous\n * value of `performance.now()` if supported, or a previous value of\n * `Date.now()` if not.\n *\n * Options object may also include `size`, which will prevent\n * calling the `sizeCalculation` function and just use the specified\n * number if it is a positive integer, and `noDisposeOnSet` which\n * will prevent calling a `dispose` function in the case of\n * overwrites.\n *\n * If the `size` (or return value of `sizeCalculation`) for a given\n * entry is greater than `maxEntrySize`, then the item will not be\n * added to the cache.\n *\n * Will update the recency of the entry.\n *\n * If the value is `undefined`, then this is an alias for\n * `cache.delete(key)`. `undefined` is never stored in the cache.\n */\n set(k, v, setOptions = {}) {\n if (v === undefined) {\n this.delete(k);\n return this;\n }\n const { ttl = this.ttl, start, noDisposeOnSet = this.noDisposeOnSet, sizeCalculation = this.sizeCalculation, status, } = setOptions;\n let { noUpdateTTL = this.noUpdateTTL } = setOptions;\n const size = this.#requireSize(k, v, setOptions.size || 0, sizeCalculation);\n // if the item doesn't fit, don't do anything\n // NB: maxEntrySize set to maxSize by default\n if (this.maxEntrySize && size > this.maxEntrySize) {\n if (status) {\n status.set = 'miss';\n status.maxEntrySizeExceeded = true;\n }\n // have to delete, in case something is there already.\n this.#delete(k, 'set');\n return this;\n }\n let index = this.#size === 0 ? undefined : this.#keyMap.get(k);\n if (index === undefined) {\n // addition\n index = (this.#size === 0\n ? this.#tail\n : this.#free.length !== 0\n ? this.#free.pop()\n : this.#size === this.#max\n ? this.#evict(false)\n : this.#size);\n this.#keyList[index] = k;\n this.#valList[index] = v;\n this.#keyMap.set(k, index);\n this.#next[this.#tail] = index;\n this.#prev[index] = this.#tail;\n this.#tail = index;\n this.#size++;\n this.#addItemSize(index, size, status);\n if (status)\n status.set = 'add';\n noUpdateTTL = false;\n }\n else {\n // update\n this.#moveToTail(index);\n const oldVal = this.#valList[index];\n if (v !== oldVal) {\n if (this.#hasFetchMethod && this.#isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort(new Error('replaced'));\n const { __staleWhileFetching: s } = oldVal;\n if (s !== undefined && !noDisposeOnSet) {\n if (this.#hasDispose) {\n this.#dispose?.(s, k, 'set');\n }\n if (this.#hasDisposeAfter) {\n this.#disposed?.push([s, k, 'set']);\n }\n }\n }\n else if (!noDisposeOnSet) {\n if (this.#hasDispose) {\n this.#dispose?.(oldVal, k, 'set');\n }\n if (this.#hasDisposeAfter) {\n this.#disposed?.push([oldVal, k, 'set']);\n }\n }\n this.#removeItemSize(index);\n this.#addItemSize(index, size, status);\n this.#valList[index] = v;\n if (status) {\n status.set = 'replace';\n const oldValue = oldVal && this.#isBackgroundFetch(oldVal)\n ? oldVal.__staleWhileFetching\n : oldVal;\n if (oldValue !== undefined)\n status.oldValue = oldValue;\n }\n }\n else if (status) {\n status.set = 'update';\n }\n }\n if (ttl !== 0 && !this.#ttls) {\n this.#initializeTTLTracking();\n }\n if (this.#ttls) {\n if (!noUpdateTTL) {\n this.#setItemTTL(index, ttl, start);\n }\n if (status)\n this.#statusTTL(status, index);\n }\n if (!noDisposeOnSet && this.#hasDisposeAfter && this.#disposed) {\n const dt = this.#disposed;\n let task;\n while ((task = dt?.shift())) {\n this.#disposeAfter?.(...task);\n }\n }\n return this;\n }\n /**\n * Evict the least recently used item, returning its value or\n * `undefined` if cache is empty.\n */\n pop() {\n try {\n while (this.#size) {\n const val = this.#valList[this.#head];\n this.#evict(true);\n if (this.#isBackgroundFetch(val)) {\n if (val.__staleWhileFetching) {\n return val.__staleWhileFetching;\n }\n }\n else if (val !== undefined) {\n return val;\n }\n }\n }\n finally {\n if (this.#hasDisposeAfter && this.#disposed) {\n const dt = this.#disposed;\n let task;\n while ((task = dt?.shift())) {\n this.#disposeAfter?.(...task);\n }\n }\n }\n }\n #evict(free) {\n const head = this.#head;\n const k = this.#keyList[head];\n const v = this.#valList[head];\n if (this.#hasFetchMethod && this.#isBackgroundFetch(v)) {\n v.__abortController.abort(new Error('evicted'));\n }\n else if (this.#hasDispose || this.#hasDisposeAfter) {\n if (this.#hasDispose) {\n this.#dispose?.(v, k, 'evict');\n }\n if (this.#hasDisposeAfter) {\n this.#disposed?.push([v, k, 'evict']);\n }\n }\n this.#removeItemSize(head);\n // if we aren't about to use the index, then null these out\n if (free) {\n this.#keyList[head] = undefined;\n this.#valList[head] = undefined;\n this.#free.push(head);\n }\n if (this.#size === 1) {\n this.#head = this.#tail = 0;\n this.#free.length = 0;\n }\n else {\n this.#head = this.#next[head];\n }\n this.#keyMap.delete(k);\n this.#size--;\n return head;\n }\n /**\n * Check if a key is in the cache, without updating the recency of use.\n * Will return false if the item is stale, even though it is technically\n * in the cache.\n *\n * Check if a key is in the cache, without updating the recency of\n * use. Age is updated if {@link LRUCache.OptionsBase.updateAgeOnHas} is set\n * to `true` in either the options or the constructor.\n *\n * Will return `false` if the item is stale, even though it is technically in\n * the cache. The difference can be determined (if it matters) by using a\n * `status` argument, and inspecting the `has` field.\n *\n * Will not update item age unless\n * {@link LRUCache.OptionsBase.updateAgeOnHas} is set.\n */\n has(k, hasOptions = {}) {\n const { updateAgeOnHas = this.updateAgeOnHas, status } = hasOptions;\n const index = this.#keyMap.get(k);\n if (index !== undefined) {\n const v = this.#valList[index];\n if (this.#isBackgroundFetch(v) &&\n v.__staleWhileFetching === undefined) {\n return false;\n }\n if (!this.#isStale(index)) {\n if (updateAgeOnHas) {\n this.#updateItemAge(index);\n }\n if (status) {\n status.has = 'hit';\n this.#statusTTL(status, index);\n }\n return true;\n }\n else if (status) {\n status.has = 'stale';\n this.#statusTTL(status, index);\n }\n }\n else if (status) {\n status.has = 'miss';\n }\n return false;\n }\n /**\n * Like {@link LRUCache#get} but doesn't update recency or delete stale\n * items.\n *\n * Returns `undefined` if the item is stale, unless\n * {@link LRUCache.OptionsBase.allowStale} is set.\n */\n peek(k, peekOptions = {}) {\n const { allowStale = this.allowStale } = peekOptions;\n const index = this.#keyMap.get(k);\n if (index === undefined ||\n (!allowStale && this.#isStale(index))) {\n return;\n }\n const v = this.#valList[index];\n // either stale and allowed, or forcing a refresh of non-stale value\n return this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n }\n #backgroundFetch(k, index, options, context) {\n const v = index === undefined ? undefined : this.#valList[index];\n if (this.#isBackgroundFetch(v)) {\n return v;\n }\n const ac = new AC();\n const { signal } = options;\n // when/if our AC signals, then stop listening to theirs.\n signal?.addEventListener('abort', () => ac.abort(signal.reason), {\n signal: ac.signal,\n });\n const fetchOpts = {\n signal: ac.signal,\n options,\n context,\n };\n const cb = (v, updateCache = false) => {\n const { aborted } = ac.signal;\n const ignoreAbort = options.ignoreFetchAbort && v !== undefined;\n if (options.status) {\n if (aborted && !updateCache) {\n options.status.fetchAborted = true;\n options.status.fetchError = ac.signal.reason;\n if (ignoreAbort)\n options.status.fetchAbortIgnored = true;\n }\n else {\n options.status.fetchResolved = true;\n }\n }\n if (aborted && !ignoreAbort && !updateCache) {\n return fetchFail(ac.signal.reason);\n }\n // either we didn't abort, and are still here, or we did, and ignored\n const bf = p;\n if (this.#valList[index] === p) {\n if (v === undefined) {\n if (bf.__staleWhileFetching) {\n this.#valList[index] = bf.__staleWhileFetching;\n }\n else {\n this.#delete(k, 'fetch');\n }\n }\n else {\n if (options.status)\n options.status.fetchUpdated = true;\n this.set(k, v, fetchOpts.options);\n }\n }\n return v;\n };\n const eb = (er) => {\n if (options.status) {\n options.status.fetchRejected = true;\n options.status.fetchError = er;\n }\n return fetchFail(er);\n };\n const fetchFail = (er) => {\n const { aborted } = ac.signal;\n const allowStaleAborted = aborted && options.allowStaleOnFetchAbort;\n const allowStale = allowStaleAborted || options.allowStaleOnFetchRejection;\n const noDelete = allowStale || options.noDeleteOnFetchRejection;\n const bf = p;\n if (this.#valList[index] === p) {\n // if we allow stale on fetch rejections, then we need to ensure that\n // the stale value is not removed from the cache when the fetch fails.\n const del = !noDelete || bf.__staleWhileFetching === undefined;\n if (del) {\n this.#delete(k, 'fetch');\n }\n else if (!allowStaleAborted) {\n // still replace the *promise* with the stale value,\n // since we are done with the promise at this point.\n // leave it untouched if we're still waiting for an\n // aborted background fetch that hasn't yet returned.\n this.#valList[index] = bf.__staleWhileFetching;\n }\n }\n if (allowStale) {\n if (options.status && bf.__staleWhileFetching !== undefined) {\n options.status.returnedStale = true;\n }\n return bf.__staleWhileFetching;\n }\n else if (bf.__returned === bf) {\n throw er;\n }\n };\n const pcall = (res, rej) => {\n const fmp = this.#fetchMethod?.(k, v, fetchOpts);\n if (fmp && fmp instanceof Promise) {\n fmp.then(v => res(v === undefined ? undefined : v), rej);\n }\n // ignored, we go until we finish, regardless.\n // defer check until we are actually aborting,\n // so fetchMethod can override.\n ac.signal.addEventListener('abort', () => {\n if (!options.ignoreFetchAbort ||\n options.allowStaleOnFetchAbort) {\n res(undefined);\n // when it eventually resolves, update the cache.\n if (options.allowStaleOnFetchAbort) {\n res = v => cb(v, true);\n }\n }\n });\n };\n if (options.status)\n options.status.fetchDispatched = true;\n const p = new Promise(pcall).then(cb, eb);\n const bf = Object.assign(p, {\n __abortController: ac,\n __staleWhileFetching: v,\n __returned: undefined,\n });\n if (index === undefined) {\n // internal, don't expose status.\n this.set(k, bf, { ...fetchOpts.options, status: undefined });\n index = this.#keyMap.get(k);\n }\n else {\n this.#valList[index] = bf;\n }\n return bf;\n }\n #isBackgroundFetch(p) {\n if (!this.#hasFetchMethod)\n return false;\n const b = p;\n return (!!b &&\n b instanceof Promise &&\n b.hasOwnProperty('__staleWhileFetching') &&\n b.__abortController instanceof AC);\n }\n async fetch(k, fetchOptions = {}) {\n const { \n // get options\n allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, \n // set options\n ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, \n // fetch exclusive options\n noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, allowStaleOnFetchAbort = this.allowStaleOnFetchAbort, context, forceRefresh = false, status, signal, } = fetchOptions;\n if (!this.#hasFetchMethod) {\n if (status)\n status.fetch = 'get';\n return this.get(k, {\n allowStale,\n updateAgeOnGet,\n noDeleteOnStaleGet,\n status,\n });\n }\n const options = {\n allowStale,\n updateAgeOnGet,\n noDeleteOnStaleGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n noDeleteOnFetchRejection,\n allowStaleOnFetchRejection,\n allowStaleOnFetchAbort,\n ignoreFetchAbort,\n status,\n signal,\n };\n let index = this.#keyMap.get(k);\n if (index === undefined) {\n if (status)\n status.fetch = 'miss';\n const p = this.#backgroundFetch(k, index, options, context);\n return (p.__returned = p);\n }\n else {\n // in cache, maybe already fetching\n const v = this.#valList[index];\n if (this.#isBackgroundFetch(v)) {\n const stale = allowStale && v.__staleWhileFetching !== undefined;\n if (status) {\n status.fetch = 'inflight';\n if (stale)\n status.returnedStale = true;\n }\n return stale ? v.__staleWhileFetching : (v.__returned = v);\n }\n // if we force a refresh, that means do NOT serve the cached value,\n // unless we are already in the process of refreshing the cache.\n const isStale = this.#isStale(index);\n if (!forceRefresh && !isStale) {\n if (status)\n status.fetch = 'hit';\n this.#moveToTail(index);\n if (updateAgeOnGet) {\n this.#updateItemAge(index);\n }\n if (status)\n this.#statusTTL(status, index);\n return v;\n }\n // ok, it is stale or a forced refresh, and not already fetching.\n // refresh the cache.\n const p = this.#backgroundFetch(k, index, options, context);\n const hasStale = p.__staleWhileFetching !== undefined;\n const staleVal = hasStale && allowStale;\n if (status) {\n status.fetch = isStale ? 'stale' : 'refresh';\n if (staleVal && isStale)\n status.returnedStale = true;\n }\n return staleVal ? p.__staleWhileFetching : (p.__returned = p);\n }\n }\n async forceFetch(k, fetchOptions = {}) {\n const v = await this.fetch(k, fetchOptions);\n if (v === undefined)\n throw new Error('fetch() returned undefined');\n return v;\n }\n memo(k, memoOptions = {}) {\n const memoMethod = this.#memoMethod;\n if (!memoMethod) {\n throw new Error('no memoMethod provided to constructor');\n }\n const { context, forceRefresh, ...options } = memoOptions;\n const v = this.get(k, options);\n if (!forceRefresh && v !== undefined)\n return v;\n const vv = memoMethod(k, v, {\n options,\n context,\n });\n this.set(k, vv, options);\n return vv;\n }\n /**\n * Return a value from the cache. Will update the recency of the cache\n * entry found.\n *\n * If the key is not found, get() will return `undefined`.\n */\n get(k, getOptions = {}) {\n const { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, status, } = getOptions;\n const index = this.#keyMap.get(k);\n if (index !== undefined) {\n const value = this.#valList[index];\n const fetching = this.#isBackgroundFetch(value);\n if (status)\n this.#statusTTL(status, index);\n if (this.#isStale(index)) {\n if (status)\n status.get = 'stale';\n // delete only if not an in-flight background fetch\n if (!fetching) {\n if (!noDeleteOnStaleGet) {\n this.#delete(k, 'expire');\n }\n if (status && allowStale)\n status.returnedStale = true;\n return allowStale ? value : undefined;\n }\n else {\n if (status &&\n allowStale &&\n value.__staleWhileFetching !== undefined) {\n status.returnedStale = true;\n }\n return allowStale ? value.__staleWhileFetching : undefined;\n }\n }\n else {\n if (status)\n status.get = 'hit';\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching.\n // If it's not stale, and fetching, AND has a __staleWhileFetching\n // value, then that means the user fetched with {forceRefresh:true},\n // so it's safe to return that value.\n if (fetching) {\n return value.__staleWhileFetching;\n }\n this.#moveToTail(index);\n if (updateAgeOnGet) {\n this.#updateItemAge(index);\n }\n return value;\n }\n }\n else if (status) {\n status.get = 'miss';\n }\n }\n #connect(p, n) {\n this.#prev[n] = p;\n this.#next[p] = n;\n }\n #moveToTail(index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.#tail) {\n if (index === this.#head) {\n this.#head = this.#next[index];\n }\n else {\n this.#connect(this.#prev[index], this.#next[index]);\n }\n this.#connect(this.#tail, index);\n this.#tail = index;\n }\n }\n /**\n * Deletes a key out of the cache.\n *\n * Returns true if the key was deleted, false otherwise.\n */\n delete(k) {\n return this.#delete(k, 'delete');\n }\n #delete(k, reason) {\n let deleted = false;\n if (this.#size !== 0) {\n const index = this.#keyMap.get(k);\n if (index !== undefined) {\n deleted = true;\n if (this.#size === 1) {\n this.#clear(reason);\n }\n else {\n this.#removeItemSize(index);\n const v = this.#valList[index];\n if (this.#isBackgroundFetch(v)) {\n v.__abortController.abort(new Error('deleted'));\n }\n else if (this.#hasDispose || this.#hasDisposeAfter) {\n if (this.#hasDispose) {\n this.#dispose?.(v, k, reason);\n }\n if (this.#hasDisposeAfter) {\n this.#disposed?.push([v, k, reason]);\n }\n }\n this.#keyMap.delete(k);\n this.#keyList[index] = undefined;\n this.#valList[index] = undefined;\n if (index === this.#tail) {\n this.#tail = this.#prev[index];\n }\n else if (index === this.#head) {\n this.#head = this.#next[index];\n }\n else {\n const pi = this.#prev[index];\n this.#next[pi] = this.#next[index];\n const ni = this.#next[index];\n this.#prev[ni] = this.#prev[index];\n }\n this.#size--;\n this.#free.push(index);\n }\n }\n }\n if (this.#hasDisposeAfter && this.#disposed?.length) {\n const dt = this.#disposed;\n let task;\n while ((task = dt?.shift())) {\n this.#disposeAfter?.(...task);\n }\n }\n return deleted;\n }\n /**\n * Clear the cache entirely, throwing away all values.\n */\n clear() {\n return this.#clear('delete');\n }\n #clear(reason) {\n for (const index of this.#rindexes({ allowStale: true })) {\n const v = this.#valList[index];\n if (this.#isBackgroundFetch(v)) {\n v.__abortController.abort(new Error('deleted'));\n }\n else {\n const k = this.#keyList[index];\n if (this.#hasDispose) {\n this.#dispose?.(v, k, reason);\n }\n if (this.#hasDisposeAfter) {\n this.#disposed?.push([v, k, reason]);\n }\n }\n }\n this.#keyMap.clear();\n this.#valList.fill(undefined);\n this.#keyList.fill(undefined);\n if (this.#ttls && this.#starts) {\n this.#ttls.fill(0);\n this.#starts.fill(0);\n }\n if (this.#sizes) {\n this.#sizes.fill(0);\n }\n this.#head = 0;\n this.#tail = 0;\n this.#free.length = 0;\n this.#calculatedSize = 0;\n this.#size = 0;\n if (this.#hasDisposeAfter && this.#disposed) {\n const dt = this.#disposed;\n let task;\n while ((task = dt?.shift())) {\n this.#disposeAfter?.(...task);\n }\n }\n }\n}\n//# sourceMappingURL=index.js.map","'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n","import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js';\nimport { t as transformCss, _ as _objectSpread2, a as _objectWithoutProperties, d as dedupeAndJoinClassList } from './transformCss-20240126.browser.esm.js';\nimport { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.browser.esm.js';\nimport hash from '@emotion/hash';\nimport { getAndIncrementRefCounter, getFileScope, hasFileScope } from '../fileScope/dist/vanilla-extract-css-fileScope.browser.esm.js';\nimport { LRUCache } from 'lru-cache';\nimport { walkObject, get } from '@vanilla-extract/private';\nimport cssesc from 'cssesc';\nimport { diff } from 'deep-object-diff';\nimport pc from 'picocolors';\nimport { _ as _taggedTemplateLiteral } from './taggedTemplateLiteral-8e47dbd7.browser.esm.js';\nimport dedent from 'dedent';\nimport deepmerge from 'deepmerge';\nimport 'modern-ahocorasick';\nimport 'css-what';\nimport 'media-query-parser';\n\nvar localClassNames = new Set();\nvar composedClassLists = [];\nvar bufferedCSSObjs = [];\nvar browserRuntimeAdapter = {\n appendCss: cssObj => {\n bufferedCSSObjs.push(cssObj);\n },\n registerClassName: className => {\n localClassNames.add(className);\n },\n registerComposition: composition => {\n composedClassLists.push(composition);\n },\n markCompositionUsed: () => {},\n onEndFileScope: fileScope => {\n var css = transformCss({\n localClassNames: Array.from(localClassNames),\n composedClassLists,\n cssObjs: bufferedCSSObjs\n }).join('\\n');\n injectStyles({\n fileScope,\n css\n });\n bufferedCSSObjs = [];\n },\n getIdentOption: () => process.env.NODE_ENV === 'production' ? 'short' : 'debug'\n};\n{\n setAdapterIfNotSet(browserRuntimeAdapter);\n}\n\nvar getLastSlashBeforeIndex = (path, index) => {\n var pathIndex = index - 1;\n while (pathIndex >= 0) {\n if (path[pathIndex] === '/') {\n return pathIndex;\n }\n pathIndex--;\n }\n return -1;\n};\n\n/**\n * Assumptions:\n * - The path is always normalized to use posix file separators (/) (see `addFileScope`)\n * - The path is always relative to the project root, i.e. there will never be a leading slash (see `addFileScope`)\n * - As long as `.css` is there, we have a valid `.css.*` file path, because otherwise there wouldn't\n * be a file scope to begin with\n *\n * The LRU cache we use can't cache undefined/null values, so we opt to return an empty string,\n * rather than using a custom Symbol or something similar.\n */\nvar _getDebugFileName = path => {\n var file;\n var lastIndexOfDotCss = path.lastIndexOf('.css');\n if (lastIndexOfDotCss === -1) {\n return '';\n }\n var lastSlashIndex = getLastSlashBeforeIndex(path, lastIndexOfDotCss);\n file = path.slice(lastSlashIndex + 1, lastIndexOfDotCss);\n\n // There are no slashes, therefore theres no directory to extract\n if (lastSlashIndex === -1) {\n return file;\n }\n var secondLastSlashIndex = getLastSlashBeforeIndex(path, lastSlashIndex - 1);\n // If secondLastSlashIndex is -1, it means that the path looks like `directory/file.css.ts`,\n // in which case dir will still be sliced starting at 0, which is what we want\n var dir = path.slice(secondLastSlashIndex + 1, lastSlashIndex);\n var debugFileName = file !== 'index' ? file : dir;\n return debugFileName;\n};\nvar memoizedGetDebugFileName = () => {\n var cache = new LRUCache({\n max: 500\n });\n return path => {\n var cachedResult = cache.get(path);\n if (cachedResult) {\n return cachedResult;\n }\n var result = _getDebugFileName(path);\n cache.set(path, result);\n return result;\n };\n};\nvar getDebugFileName = memoizedGetDebugFileName();\n\nfunction getDevPrefix(_ref) {\n var {\n debugId,\n debugFileName\n } = _ref;\n var parts = debugId ? [debugId.replace(/\\s/g, '_')] : [];\n if (debugFileName) {\n var {\n filePath\n } = getFileScope();\n var _debugFileName = getDebugFileName(filePath);\n\n // debugFileName could be an empty string\n if (_debugFileName) {\n parts.unshift(_debugFileName);\n }\n }\n return parts.join('_');\n}\nfunction normalizeIdentifier(identifier) {\n return identifier.match(/^[0-9]/) ? \"_\".concat(identifier) : identifier;\n}\nfunction generateIdentifier(arg) {\n var identOption = getIdentOption();\n var {\n debugId,\n debugFileName = true\n } = _objectSpread2(_objectSpread2({}, typeof arg === 'string' ? {\n debugId: arg\n } : null), typeof arg === 'object' ? arg : null);\n\n // Convert ref count to base 36 for optimal hash lengths\n var refCount = getAndIncrementRefCounter().toString(36);\n var {\n filePath,\n packageName\n } = getFileScope();\n var fileScopeHash = hash(packageName ? \"\".concat(packageName).concat(filePath) : filePath);\n var identifier = \"\".concat(fileScopeHash).concat(refCount);\n if (identOption === 'debug') {\n var devPrefix = getDevPrefix({\n debugId,\n debugFileName\n });\n if (devPrefix) {\n identifier = \"\".concat(devPrefix, \"__\").concat(identifier);\n }\n return normalizeIdentifier(identifier);\n }\n if (typeof identOption === 'function') {\n identifier = identOption({\n hash: identifier,\n debugId,\n filePath,\n packageName\n });\n if (!identifier.match(/^[A-Z_][0-9A-Z_-]+$/i)) {\n throw new Error(\"Identifier function returned invalid indentifier: \\\"\".concat(identifier, \"\\\"\"));\n }\n return identifier;\n }\n return normalizeIdentifier(identifier);\n}\n\nvar normaliseObject = obj => walkObject(obj, () => '');\nfunction validateContract(contract, tokens) {\n var theDiff = diff(normaliseObject(contract), normaliseObject(tokens));\n var valid = Object.keys(theDiff).length === 0;\n return {\n valid,\n diffString: valid ? '' : renderDiff(contract, theDiff)\n };\n}\nfunction diffLine(value, nesting, type) {\n var whitespace = [...Array(nesting).keys()].map(() => ' ').join('');\n var line = \"\".concat(type ? type : ' ').concat(whitespace).concat(value);\n if (process.env.NODE_ENV !== 'test') {\n if (type === '-') {\n return pc.red(line);\n }\n if (type === '+') {\n return pc.green(line);\n }\n }\n return line;\n}\nfunction renderDiff(orig, diff) {\n var nesting = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var lines = [];\n if (nesting === 0) {\n lines.push(diffLine('{', 0));\n }\n var innerNesting = nesting + 1;\n var keys = Object.keys(diff).sort();\n for (var key of keys) {\n var value = diff[key];\n if (!(key in orig)) {\n lines.push(diffLine(\"\".concat(key, \": ...,\"), innerNesting, '+'));\n } else if (typeof value === 'object') {\n lines.push(diffLine(\"\".concat(key, \": {\"), innerNesting));\n lines.push(renderDiff(orig[key], diff[key], innerNesting));\n lines.push(diffLine('}', innerNesting));\n } else {\n lines.push(diffLine(\"\".concat(key, \": ...,\"), innerNesting, '-'));\n }\n }\n if (nesting === 0) {\n lines.push(diffLine('}', 0));\n }\n return lines.join('\\n');\n}\n\nvar buildPropertyRule = _ref => {\n var {\n syntax,\n inherits,\n initialValue\n } = _ref;\n return _objectSpread2({\n syntax: \"\\\"\".concat(Array.isArray(syntax) ? syntax.join(' | ') : syntax, \"\\\"\"),\n inherits: inherits ? 'true' : 'false'\n }, initialValue != null ? {\n initialValue\n } : {});\n};\nfunction createVar(debugIdOrDeclaration, debugId) {\n var cssVarName = cssesc(generateIdentifier({\n debugId: typeof debugIdOrDeclaration === 'string' ? debugIdOrDeclaration : debugId,\n debugFileName: false\n }), {\n isIdentifier: true\n });\n if (debugIdOrDeclaration && typeof debugIdOrDeclaration === 'object') {\n appendCss({\n type: 'property',\n name: \"--\".concat(cssVarName),\n rule: buildPropertyRule(debugIdOrDeclaration)\n }, getFileScope());\n }\n return \"var(--\".concat(cssVarName, \")\");\n}\nfunction createGlobalVar(name, declaration) {\n if (declaration && typeof declaration === 'object') {\n appendCss({\n type: 'property',\n name: \"--\".concat(name),\n rule: buildPropertyRule(declaration)\n }, getFileScope());\n }\n return \"var(--\".concat(name, \")\");\n}\nfunction assertVarName(value) {\n if (typeof value !== 'string' || !/^var\\(--.*\\)$/.test(value)) {\n throw new Error(\"Invalid variable name: \".concat(value));\n }\n}\nfunction fallbackVar() {\n var finalValue = '';\n for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n values.reverse().forEach(value => {\n if (finalValue === '') {\n finalValue = String(value);\n } else {\n assertVarName(value);\n finalValue = value.replace(/\\)$/, \", \".concat(finalValue, \")\"));\n }\n });\n return finalValue;\n}\nfunction assignVars(varContract, tokens) {\n var varSetters = {};\n var {\n valid,\n diffString\n } = validateContract(varContract, tokens);\n if (!valid) {\n throw new Error(\"Tokens don't match contract.\\n\".concat(diffString));\n }\n walkObject(tokens, (value, path) => {\n varSetters[get(varContract, path)] = String(value);\n });\n return varSetters;\n}\nfunction createThemeContract(tokens) {\n return walkObject(tokens, (_value, path) => {\n return createVar(path.join('-'));\n });\n}\nfunction createGlobalThemeContract(tokens, mapFn) {\n return walkObject(tokens, (value, path) => {\n var rawVarName = typeof mapFn === 'function' ? mapFn(value, path) : value;\n var varName = typeof rawVarName === 'string' ? rawVarName.replace(/^--/, '') : null;\n if (typeof varName !== 'string' || varName !== cssesc(varName, {\n isIdentifier: true\n })) {\n throw new Error(\"Invalid variable name for \\\"\".concat(path.join('.'), \"\\\": \").concat(varName));\n }\n return \"var(--\".concat(varName, \")\");\n });\n}\n\nvar _excluded = [\"@layer\"];\nfunction createGlobalTheme(selector, arg2, arg3) {\n var themeContractProvided = Boolean(arg3);\n var tokenArg = themeContractProvided ? arg3 : arg2;\n var {\n layerName,\n tokens\n } = extractLayerFromTokens(tokenArg);\n var themeContract = themeContractProvided ? arg2 : createThemeContract(tokens);\n var rule = {\n vars: assignVars(themeContract, tokens)\n };\n if (layerName) {\n rule = {\n '@layer': {\n [layerName]: rule\n }\n };\n }\n appendCss({\n type: 'global',\n selector: selector,\n rule\n }, getFileScope());\n if (!themeContractProvided) {\n return themeContract;\n }\n}\nfunction createTheme(arg1, arg2, arg3) {\n var themeClassName = generateIdentifier(typeof arg2 === 'object' ? arg3 : arg2);\n registerClassName(themeClassName, getFileScope());\n var vars = typeof arg2 === 'object' ? createGlobalTheme(themeClassName, arg1, arg2) : createGlobalTheme(themeClassName, arg1);\n return vars ? [themeClassName, vars] : themeClassName;\n}\nfunction extractLayerFromTokens(tokens) {\n if ('@layer' in tokens) {\n var {\n '@layer': layerName\n } = tokens,\n rest = _objectWithoutProperties(tokens, _excluded);\n return {\n layerName,\n tokens: rest\n };\n }\n return {\n tokens\n };\n}\n\nvar _templateObject;\nfunction composedStyle(rules, debugId) {\n var className = generateIdentifier(debugId);\n registerClassName(className, getFileScope());\n var classList = [];\n var styleRules = [];\n for (var rule of rules) {\n if (typeof rule === 'string') {\n classList.push(rule);\n } else {\n styleRules.push(rule);\n }\n }\n var result = className;\n if (classList.length > 0) {\n result = \"\".concat(className, \" \").concat(dedupeAndJoinClassList(classList));\n registerComposition({\n identifier: className,\n classList: result\n }, getFileScope());\n if (styleRules.length > 0) {\n // If there are styles attached to this composition then it is\n // always used and should never be removed\n markCompositionUsed(className);\n }\n }\n if (styleRules.length > 0) {\n var _rule = deepmerge.all(styleRules, {\n // Replace arrays rather than merging\n arrayMerge: (_, sourceArray) => sourceArray\n });\n appendCss({\n type: 'local',\n selector: className,\n rule: _rule\n }, getFileScope());\n }\n return result;\n}\nfunction style(rule, debugId) {\n if (Array.isArray(rule)) {\n return composedStyle(rule, debugId);\n }\n var className = generateIdentifier(debugId);\n registerClassName(className, getFileScope());\n appendCss({\n type: 'local',\n selector: className,\n rule\n }, getFileScope());\n return className;\n}\n\n/**\n * @deprecated The same functionality is now provided by the 'style' function when you pass it an array\n */\nfunction composeStyles() {\n var compose = hasFileScope() ? composedStyle : dedupeAndJoinClassList;\n for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {\n classNames[_key] = arguments[_key];\n }\n return compose(classNames);\n}\nfunction globalStyle(selector, rule) {\n appendCss({\n type: 'global',\n selector,\n rule\n }, getFileScope());\n}\nfunction fontFace(rule, debugId) {\n var fontFamily = \"\\\"\".concat(cssesc(generateIdentifier(debugId), {\n quotes: 'double'\n }), \"\\\"\");\n var rules = Array.isArray(rule) ? rule : [rule];\n for (var singleRule of rules) {\n if ('fontFamily' in singleRule) {\n throw new Error(dedent(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n This function creates and returns a hashed font-family name, so the \\\"fontFamily\\\" property should not be provided.\\n \\n If you'd like to define a globally scoped custom font, you can use the \\\"globalFontFace\\\" function instead.\\n \"]))));\n }\n appendCss({\n type: 'fontFace',\n rule: _objectSpread2(_objectSpread2({}, singleRule), {}, {\n fontFamily\n })\n }, getFileScope());\n }\n return fontFamily;\n}\nfunction globalFontFace(fontFamily, rule) {\n var rules = Array.isArray(rule) ? rule : [rule];\n for (var singleRule of rules) {\n appendCss({\n type: 'fontFace',\n rule: _objectSpread2(_objectSpread2({}, singleRule), {}, {\n fontFamily\n })\n }, getFileScope());\n }\n}\nfunction keyframes(rule, debugId) {\n var name = cssesc(generateIdentifier(debugId), {\n isIdentifier: true\n });\n appendCss({\n type: 'keyframes',\n name,\n rule\n }, getFileScope());\n return name;\n}\nfunction globalKeyframes(name, rule) {\n appendCss({\n type: 'keyframes',\n name,\n rule\n }, getFileScope());\n}\nfunction styleVariants() {\n if (typeof (arguments.length <= 1 ? undefined : arguments[1]) === 'function') {\n var _data = arguments.length <= 0 ? undefined : arguments[0];\n var _mapData = arguments.length <= 1 ? undefined : arguments[1];\n var _debugId = arguments.length <= 2 ? undefined : arguments[2];\n var _classMap = {};\n for (var _key2 in _data) {\n _classMap[_key2] = style(_mapData(_data[_key2], _key2), _debugId ? \"\".concat(_debugId, \"_\").concat(_key2) : _key2);\n }\n return _classMap;\n }\n var styleMap = arguments.length <= 0 ? undefined : arguments[0];\n var debugId = arguments.length <= 1 ? undefined : arguments[1];\n var classMap = {};\n for (var _key3 in styleMap) {\n classMap[_key3] = style(styleMap[_key3], debugId ? \"\".concat(debugId, \"_\").concat(_key3) : _key3);\n }\n return classMap;\n}\n\n// createContainer is used for local scoping of CSS containers\n// For now it is mostly just an alias of generateIdentifier\nvar createContainer = debugId => generateIdentifier(debugId);\n\n// createViewTransition is used for locally scoping CSS view transitions\n// For now it is mostly just an alias of generateIdentifier\nvar createViewTransition = debugId => generateIdentifier(debugId);\n\nvar defaultLayerOptions = {};\nvar merge = (obj1, obj2) => _objectSpread2(_objectSpread2({}, obj1), obj2);\nvar getLayerArgs = function getLayerArgs() {\n var options = defaultLayerOptions;\n var debugId = arguments.length <= 0 ? undefined : arguments[0];\n if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'object') {\n options = merge(defaultLayerOptions, arguments.length <= 0 ? undefined : arguments[0]);\n debugId = arguments.length <= 1 ? undefined : arguments[1];\n }\n return [options, debugId];\n};\nfunction layer() {\n var [options, debugId] = getLayerArgs(...arguments);\n var name = generateIdentifier(debugId);\n if (options.parent) {\n name = \"\".concat(options.parent, \".\").concat(name);\n }\n appendCss({\n type: 'layer',\n name\n }, getFileScope());\n return name;\n}\nfunction globalLayer() {\n var [options, name] = getLayerArgs(...arguments);\n if (options.parent) {\n name = \"\".concat(options.parent, \".\").concat(name);\n }\n appendCss({\n type: 'layer',\n name\n }, getFileScope());\n return name;\n}\n\nexport { assertVarName, assignVars, composeStyles, createContainer, createGlobalTheme, createGlobalThemeContract, createGlobalVar, createTheme, createThemeContract, createVar, createViewTransition, fallbackVar, fontFace, generateIdentifier, globalFontFace, globalKeyframes, globalLayer, globalStyle, keyframes, layer, style, styleVariants };\n","function toPrimitive(t, r) {\n if (\"object\" != typeof t || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != typeof i) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\n\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == typeof i ? i : String(i);\n}\n\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n _defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\n\nfunction mapValues(input, fn) {\n var result = {};\n for (var _key in input) {\n result[_key] = fn(input[_key], _key);\n }\n return result;\n}\n\nvar shouldApplyCompound = (compoundCheck, selections, defaultVariants) => {\n for (var key of Object.keys(compoundCheck)) {\n var _selections$key;\n if (compoundCheck[key] !== ((_selections$key = selections[key]) !== null && _selections$key !== void 0 ? _selections$key : defaultVariants[key])) {\n return false;\n }\n }\n return true;\n};\nvar createRuntimeFn = config => {\n var runtimeFn = options => {\n var className = config.defaultClassName;\n var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);\n for (var variantName in selections) {\n var _selections$variantNa;\n var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];\n if (variantSelection != null) {\n var selection = variantSelection;\n if (typeof selection === 'boolean') {\n // @ts-expect-error\n selection = selection === true ? 'true' : 'false';\n }\n var selectionClassName =\n // @ts-expect-error\n config.variantClassNames[variantName][selection];\n if (selectionClassName) {\n className += ' ' + selectionClassName;\n }\n }\n }\n for (var [compoundCheck, compoundClassName] of config.compoundVariants) {\n if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {\n className += ' ' + compoundClassName;\n }\n }\n return className;\n };\n runtimeFn.variants = () => Object.keys(config.variantClassNames);\n runtimeFn.classNames = {\n get base() {\n return config.defaultClassName.split(' ')[0];\n },\n get variants() {\n return mapValues(config.variantClassNames, classNames => mapValues(classNames, className => className.split(' ')[0]));\n }\n };\n return runtimeFn;\n};\n\nexport { createRuntimeFn as c, mapValues as m };\n","import { addRecipe } from '@vanilla-extract/css/recipe';\nimport { style, styleVariants } from '@vanilla-extract/css';\nimport { m as mapValues, c as createRuntimeFn } from './createRuntimeFn-62c9670f.esm.js';\n\nfunction recipe(options, debugId) {\n var {\n variants = {},\n defaultVariants = {},\n compoundVariants = [],\n base\n } = options;\n var defaultClassName;\n if (!base || typeof base === 'string') {\n var baseClassName = style({});\n defaultClassName = base ? \"\".concat(baseClassName, \" \").concat(base) : baseClassName;\n } else {\n defaultClassName = style(base, debugId);\n }\n\n // @ts-expect-error\n var variantClassNames = mapValues(variants, (variantGroup, variantGroupName) => styleVariants(variantGroup, styleRule => typeof styleRule === 'string' ? [styleRule] : styleRule, debugId ? \"\".concat(debugId, \"_\").concat(variantGroupName) : variantGroupName));\n var compounds = [];\n for (var {\n style: theStyle,\n variants: _variants\n } of compoundVariants) {\n compounds.push([_variants, typeof theStyle === 'string' ? theStyle : style(theStyle, \"\".concat(debugId, \"_compound_\").concat(compounds.length))]);\n }\n var config = {\n defaultClassName,\n variantClassNames,\n defaultVariants,\n compoundVariants: compounds\n };\n return addRecipe(createRuntimeFn(config), {\n importPath: '@vanilla-extract/recipes/createRuntimeFn',\n importName: 'createRuntimeFn',\n // @ts-expect-error\n args: [config]\n });\n}\n\nexport { recipe };\n","import { recipe } from '@vanilla-extract/recipes';\n\nexport const stackStyle = recipe({\n base: {\n display: 'flex',\n },\n variants: {\n direction: {\n horizontal: {\n flexDirection: 'row',\n },\n 'horizontal-reversed': {\n flexDirection: 'row-reverse',\n },\n vertical: {\n flexDirection: 'column',\n },\n 'vertical-reversed': {\n flexDirection: 'column-reverse',\n },\n },\n align: {\n start: {\n alignItems: 'flex-start',\n },\n center: {\n alignItems: 'center',\n },\n end: {\n alignItems: 'flex-end',\n },\n stretch: {\n alignItems: 'stretch',\n },\n },\n justify: {\n start: {\n justifyContent: 'flex-start',\n },\n center: {\n justifyContent: 'center',\n },\n end: {\n justifyContent: 'flex-end',\n },\n spaceBetween: {\n justifyContent: 'space-between',\n },\n spaceAround: {\n justifyContent: 'space-around',\n },\n spaceEvenly: {\n justifyContent: 'space-evenly',\n },\n },\n gap: {\n none: { gap: 0 },\n xsmall: { gap: '0.25rem' },\n small: { gap: '0.5rem' },\n medium: { gap: '1rem' },\n large: { gap: '1.5rem' },\n xlarge: { gap: '2rem' },\n xxlarge: { gap: '3rem' },\n xxxlarge: { gap: '4rem' },\n xxxxlarge: { gap: '6rem' },\n },\n },\n defaultVariants: {\n direction: 'horizontal',\n align: 'center',\n justify: 'center',\n },\n});\n","/**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function () {},\n enqueueReplaceState: function () {},\n enqueueSetState: function () {}\n },\n assign = Object.assign,\n emptyObject = {};\nfunction Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\nComponent.prototype.isReactComponent = {};\nComponent.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n};\nComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n};\nfunction ComponentDummy() {}\nComponentDummy.prototype = Component.prototype;\nfunction PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\nvar pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());\npureComponentPrototype.constructor = PureComponent;\nassign(pureComponentPrototype, Component.prototype);\npureComponentPrototype.isPureReactComponent = !0;\nvar isArrayImpl = Array.isArray;\nfunction noop() {}\nvar ReactSharedInternals = { H: null, A: null, T: null, S: null },\n hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction ReactElement(type, key, props) {\n var refProp = props.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== refProp ? refProp : null,\n props: props\n };\n}\nfunction cloneAndReplaceKey(oldElement, newKey) {\n return ReactElement(oldElement.type, newKey, oldElement.props);\n}\nfunction isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n}\nfunction escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n}\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction getElementKey(element, index) {\n return \"object\" === typeof element && null !== element && null != element.key\n ? escape(\"\" + element.key)\n : index.toString(36);\n}\nfunction resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n}\nfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback)\n return (\n (callback = callback(children)),\n (invokeCallback =\n \"\" === nameSoFar ? \".\" + getElementKey(children, 0) : nameSoFar),\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != invokeCallback &&\n (escapedPrefix =\n invokeCallback.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (callback = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (children && children.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n invokeCallback\n )),\n array.push(callback)),\n 1\n );\n invokeCallback = 0;\n var nextNamePrefix = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = nextNamePrefix + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n children = i.call(children), i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = nextNamePrefix + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n}\nfunction mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n}\nfunction lazyInitializer(payload) {\n if (-1 === payload._status) {\n var ctor = payload._result;\n ctor = ctor();\n ctor.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status)\n (payload._status = 1), (payload._result = moduleObject);\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status)\n (payload._status = 2), (payload._result = error);\n }\n );\n -1 === payload._status && ((payload._status = 0), (payload._result = ctor));\n }\n if (1 === payload._status) return payload._result.default;\n throw payload._result;\n}\nvar reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n Children = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n };\nexports.Activity = REACT_ACTIVITY_TYPE;\nexports.Children = Children;\nexports.Component = Component;\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.Profiler = REACT_PROFILER_TYPE;\nexports.PureComponent = PureComponent;\nexports.StrictMode = REACT_STRICT_MODE_TYPE;\nexports.Suspense = REACT_SUSPENSE_TYPE;\nexports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\nexports.__COMPILER_RUNTIME = {\n __proto__: null,\n c: function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n }\n};\nexports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n};\nexports.cacheSignal = function () {\n return null;\n};\nexports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" + element + \".\"\n );\n var props = assign({}, element.props),\n key = element.key;\n if (null != config)\n for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n for (var childArray = Array(propName), i = 0; i < propName; i++)\n childArray[i] = arguments[i + 2];\n props.children = childArray;\n }\n return ReactElement(element.type, key, props);\n};\nexports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n return defaultValue;\n};\nexports.createElement = function (type, config, children) {\n var propName,\n props = {},\n key = null;\n if (null != config)\n for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (props[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) props.children = children;\n else if (1 < childrenLength) {\n for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)\n childArray[i] = arguments[i + 2];\n props.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === props[propName] &&\n (props[propName] = childrenLength[propName]);\n return ReactElement(type, key, props);\n};\nexports.createRef = function () {\n return { current: null };\n};\nexports.forwardRef = function (render) {\n return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };\n};\nexports.isValidElement = isValidElement;\nexports.lazy = function (ctor) {\n return {\n $$typeof: REACT_LAZY_TYPE,\n _payload: { _status: -1, _result: ctor },\n _init: lazyInitializer\n };\n};\nexports.memo = function (type, compare) {\n return {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n};\nexports.startTransition = function (scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n returnValue.then(noop, reportGlobalError);\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n};\nexports.unstable_useCacheRefresh = function () {\n return ReactSharedInternals.H.useCacheRefresh();\n};\nexports.use = function (usable) {\n return ReactSharedInternals.H.use(usable);\n};\nexports.useActionState = function (action, initialState, permalink) {\n return ReactSharedInternals.H.useActionState(action, initialState, permalink);\n};\nexports.useCallback = function (callback, deps) {\n return ReactSharedInternals.H.useCallback(callback, deps);\n};\nexports.useContext = function (Context) {\n return ReactSharedInternals.H.useContext(Context);\n};\nexports.useDebugValue = function () {};\nexports.useDeferredValue = function (value, initialValue) {\n return ReactSharedInternals.H.useDeferredValue(value, initialValue);\n};\nexports.useEffect = function (create, deps) {\n return ReactSharedInternals.H.useEffect(create, deps);\n};\nexports.useEffectEvent = function (callback) {\n return ReactSharedInternals.H.useEffectEvent(callback);\n};\nexports.useId = function () {\n return ReactSharedInternals.H.useId();\n};\nexports.useImperativeHandle = function (ref, create, deps) {\n return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);\n};\nexports.useInsertionEffect = function (create, deps) {\n return ReactSharedInternals.H.useInsertionEffect(create, deps);\n};\nexports.useLayoutEffect = function (create, deps) {\n return ReactSharedInternals.H.useLayoutEffect(create, deps);\n};\nexports.useMemo = function (create, deps) {\n return ReactSharedInternals.H.useMemo(create, deps);\n};\nexports.useOptimistic = function (passthrough, reducer) {\n return ReactSharedInternals.H.useOptimistic(passthrough, reducer);\n};\nexports.useReducer = function (reducer, initialArg, init) {\n return ReactSharedInternals.H.useReducer(reducer, initialArg, init);\n};\nexports.useRef = function (initialValue) {\n return ReactSharedInternals.H.useRef(initialValue);\n};\nexports.useState = function (initialState) {\n return ReactSharedInternals.H.useState(initialState);\n};\nexports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n) {\n return ReactSharedInternals.H.useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n};\nexports.useTransition = function () {\n return ReactSharedInternals.H.useTransition();\n};\nexports.version = \"19.2.3\";\n","/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function defineDeprecationWarning(methodName, info) {\n Object.defineProperty(Component.prototype, methodName, {\n get: function () {\n console.warn(\n \"%s(...) is deprecated in plain JavaScript React classes. %s\",\n info[0],\n info[1]\n );\n }\n });\n }\n function getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n }\n function warnNoop(publicInstance, callerName) {\n publicInstance =\n ((publicInstance = publicInstance.constructor) &&\n (publicInstance.displayName || publicInstance.name)) ||\n \"ReactClass\";\n var warningKey = publicInstance + \".\" + callerName;\n didWarnStateUpdateForUnmountedComponent[warningKey] ||\n (console.error(\n \"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.\",\n callerName,\n publicInstance\n ),\n (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));\n }\n function Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function ComponentDummy() {}\n function PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function cloneAndReplaceKey(oldElement, newKey) {\n newKey = ReactElement(\n oldElement.type,\n newKey,\n oldElement.props,\n oldElement._owner,\n oldElement._debugStack,\n oldElement._debugTask\n );\n oldElement._store &&\n (newKey._store.validated = oldElement._store.validated);\n return newKey;\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n }\n function getElementKey(element, index) {\n return \"object\" === typeof element &&\n null !== element &&\n null != element.key\n ? (checkKeyStringCoercion(element.key), escape(\"\" + element.key))\n : index.toString(36);\n }\n function resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"),\n (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n }\n function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback) {\n invokeCallback = children;\n callback = callback(invokeCallback);\n var childKey =\n \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != childKey &&\n (escapedPrefix =\n childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (null != callback.key &&\n ((invokeCallback && invokeCallback.key === callback.key) ||\n checkKeyStringCoercion(callback.key)),\n (escapedPrefix = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (invokeCallback && invokeCallback.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n childKey\n )),\n \"\" !== nameSoFar &&\n null != invokeCallback &&\n isValidElement(invokeCallback) &&\n null == invokeCallback.key &&\n invokeCallback._store &&\n !invokeCallback._store.validated &&\n (escapedPrefix._store.validated = 2),\n (callback = escapedPrefix)),\n array.push(callback));\n return 1;\n }\n invokeCallback = 0;\n childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = childKey + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n i === children.entries &&\n (didWarnAboutMaps ||\n console.warn(\n \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n ),\n (didWarnAboutMaps = !0)),\n children = i.call(children),\n i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = childKey + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n }\n function mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n }\n function lazyInitializer(payload) {\n if (-1 === payload._status) {\n var ioInfo = payload._ioInfo;\n null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());\n ioInfo = payload._result;\n var thenable = ioInfo();\n thenable.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 1;\n payload._result = moduleObject;\n var _ioInfo = payload._ioInfo;\n null != _ioInfo && (_ioInfo.end = performance.now());\n void 0 === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = moduleObject));\n }\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 2;\n payload._result = error;\n var _ioInfo2 = payload._ioInfo;\n null != _ioInfo2 && (_ioInfo2.end = performance.now());\n void 0 === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n }\n );\n ioInfo = payload._ioInfo;\n if (null != ioInfo) {\n ioInfo.value = thenable;\n var displayName = thenable.displayName;\n \"string\" === typeof displayName && (ioInfo.name = displayName);\n }\n -1 === payload._status &&\n ((payload._status = 0), (payload._result = thenable));\n }\n if (1 === payload._status)\n return (\n (ioInfo = payload._result),\n void 0 === ioInfo &&\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\",\n ioInfo\n ),\n \"default\" in ioInfo ||\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\",\n ioInfo\n ),\n ioInfo.default\n );\n throw payload._result;\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n function releaseAsyncTransition() {\n ReactSharedInternals.asyncTransitions--;\n }\n function enqueueTask(task) {\n if (null === enqueueTaskImpl)\n try {\n var requireString = (\"require\" + Math.random()).slice(0, 7);\n enqueueTaskImpl = (module && module[requireString]).call(\n module,\n \"timers\"\n ).setImmediate;\n } catch (_err) {\n enqueueTaskImpl = function (callback) {\n !1 === didWarnAboutMessageChannel &&\n ((didWarnAboutMessageChannel = !0),\n \"undefined\" === typeof MessageChannel &&\n console.error(\n \"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"\n ));\n var channel = new MessageChannel();\n channel.port1.onmessage = callback;\n channel.port2.postMessage(void 0);\n };\n }\n return enqueueTaskImpl(task);\n }\n function aggregateErrors(errors) {\n return 1 < errors.length && \"function\" === typeof AggregateError\n ? new AggregateError(errors)\n : errors[0];\n }\n function popActScope(prevActQueue, prevActScopeDepth) {\n prevActScopeDepth !== actScopeDepth - 1 &&\n console.error(\n \"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"\n );\n actScopeDepth = prevActScopeDepth;\n }\n function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n var queue = ReactSharedInternals.actQueue;\n if (null !== queue)\n if (0 !== queue.length)\n try {\n flushActQueue(queue);\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n });\n return;\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n else ReactSharedInternals.actQueue = null;\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(queue))\n : resolve(returnValue);\n }\n function flushActQueue(queue) {\n if (!isFlushing) {\n isFlushing = !0;\n var i = 0;\n try {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n do {\n ReactSharedInternals.didUsePromise = !1;\n var continuation = callback(!1);\n if (null !== continuation) {\n if (ReactSharedInternals.didUsePromise) {\n queue[i] = callback;\n queue.splice(0, i);\n return;\n }\n callback = continuation;\n } else break;\n } while (1);\n }\n queue.length = 0;\n } catch (error) {\n queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n } finally {\n isFlushing = !1;\n }\n }\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n didWarnStateUpdateForUnmountedComponent = {},\n ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, \"forceUpdate\");\n },\n enqueueReplaceState: function (publicInstance) {\n warnNoop(publicInstance, \"replaceState\");\n },\n enqueueSetState: function (publicInstance) {\n warnNoop(publicInstance, \"setState\");\n }\n },\n assign = Object.assign,\n emptyObject = {};\n Object.freeze(emptyObject);\n Component.prototype.isReactComponent = {};\n Component.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n };\n Component.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n };\n var deprecatedAPIs = {\n isMounted: [\n \"isMounted\",\n \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"\n ],\n replaceState: [\n \"replaceState\",\n \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"\n ]\n };\n for (fnName in deprecatedAPIs)\n deprecatedAPIs.hasOwnProperty(fnName) &&\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n ComponentDummy.prototype = Component.prototype;\n deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n deprecatedAPIs.constructor = PureComponent;\n assign(deprecatedAPIs, Component.prototype);\n deprecatedAPIs.isPureReactComponent = !0;\n var isArrayImpl = Array.isArray,\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals = {\n H: null,\n A: null,\n T: null,\n S: null,\n actQueue: null,\n asyncTransitions: 0,\n isBatchingLegacy: !1,\n didScheduleLegacyUpdate: !1,\n didUsePromise: !1,\n thrownErrors: [],\n getCurrentStack: null,\n recentlyCreatedOwnerStacks: 0\n },\n hasOwnProperty = Object.prototype.hasOwnProperty,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n deprecatedAPIs = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(\n deprecatedAPIs,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutMaps = !1,\n userProvidedKeyEscapeRegex = /\\/+/g,\n reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n didWarnAboutMessageChannel = !1,\n enqueueTaskImpl = null,\n actScopeDepth = 0,\n didWarnNoAwaitAct = !1,\n isFlushing = !1,\n queueSeveralMicrotasks =\n \"function\" === typeof queueMicrotask\n ? function (callback) {\n queueMicrotask(function () {\n return queueMicrotask(callback);\n });\n }\n : enqueueTask;\n deprecatedAPIs = Object.freeze({\n __proto__: null,\n c: function (size) {\n return resolveDispatcher().useMemoCache(size);\n }\n });\n var fnName = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n };\n exports.Activity = REACT_ACTIVITY_TYPE;\n exports.Children = fnName;\n exports.Component = Component;\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.Profiler = REACT_PROFILER_TYPE;\n exports.PureComponent = PureComponent;\n exports.StrictMode = REACT_STRICT_MODE_TYPE;\n exports.Suspense = REACT_SUSPENSE_TYPE;\n exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\n exports.__COMPILER_RUNTIME = deprecatedAPIs;\n exports.act = function (callback) {\n var prevActQueue = ReactSharedInternals.actQueue,\n prevActScopeDepth = actScopeDepth;\n actScopeDepth++;\n var queue = (ReactSharedInternals.actQueue =\n null !== prevActQueue ? prevActQueue : []),\n didAwaitActCall = !1;\n try {\n var result = callback();\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n (popActScope(prevActQueue, prevActScopeDepth),\n (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n if (\n null !== result &&\n \"object\" === typeof result &&\n \"function\" === typeof result.then\n ) {\n var thenable = result;\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"\n ));\n });\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n thenable.then(\n function (returnValue) {\n popActScope(prevActQueue, prevActScopeDepth);\n if (0 === prevActScopeDepth) {\n try {\n flushActQueue(queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue,\n resolve,\n reject\n );\n });\n } catch (error$0) {\n ReactSharedInternals.thrownErrors.push(error$0);\n }\n if (0 < ReactSharedInternals.thrownErrors.length) {\n var _thrownError = aggregateErrors(\n ReactSharedInternals.thrownErrors\n );\n ReactSharedInternals.thrownErrors.length = 0;\n reject(_thrownError);\n }\n } else resolve(returnValue);\n },\n function (error) {\n popActScope(prevActQueue, prevActScopeDepth);\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((error = aggregateErrors(\n ReactSharedInternals.thrownErrors\n )),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(error))\n : reject(error);\n }\n );\n }\n };\n }\n var returnValue$jscomp$0 = result;\n popActScope(prevActQueue, prevActScopeDepth);\n 0 === prevActScopeDepth &&\n (flushActQueue(queue),\n 0 !== queue.length &&\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"\n ));\n }),\n (ReactSharedInternals.actQueue = null));\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n 0 === prevActScopeDepth\n ? ((ReactSharedInternals.actQueue = queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue$jscomp$0,\n resolve,\n reject\n );\n }))\n : resolve(returnValue$jscomp$0);\n }\n };\n };\n exports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n };\n exports.cacheSignal = function () {\n return null;\n };\n exports.captureOwnerStack = function () {\n var getCurrentStack = ReactSharedInternals.getCurrentStack;\n return null === getCurrentStack ? null : getCurrentStack();\n };\n exports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" +\n element +\n \".\"\n );\n var props = assign({}, element.props),\n key = element.key,\n owner = element._owner;\n if (null != config) {\n var JSCompiler_inline_result;\n a: {\n if (\n hasOwnProperty.call(config, \"ref\") &&\n (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(\n config,\n \"ref\"\n ).get) &&\n JSCompiler_inline_result.isReactWarning\n ) {\n JSCompiler_inline_result = !1;\n break a;\n }\n JSCompiler_inline_result = void 0 !== config.ref;\n }\n JSCompiler_inline_result && (owner = getOwner());\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key));\n for (propName in config)\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n }\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n JSCompiler_inline_result = Array(propName);\n for (var i = 0; i < propName; i++)\n JSCompiler_inline_result[i] = arguments[i + 2];\n props.children = JSCompiler_inline_result;\n }\n props = ReactElement(\n element.type,\n key,\n props,\n owner,\n element._debugStack,\n element._debugTask\n );\n for (key = 2; key < arguments.length; key++)\n validateChildKeys(arguments[key]);\n return props;\n };\n exports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n defaultValue._currentRenderer = null;\n defaultValue._currentRenderer2 = null;\n return defaultValue;\n };\n exports.createElement = function (type, config, children) {\n for (var i = 2; i < arguments.length; i++)\n validateChildKeys(arguments[i]);\n i = {};\n var key = null;\n if (null != config)\n for (propName in (didWarnAboutOldJSXRuntime ||\n !(\"__self\" in config) ||\n \"key\" in config ||\n ((didWarnAboutOldJSXRuntime = !0),\n console.warn(\n \"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\"\n )),\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key)),\n config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (i[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) i.children = children;\n else if (1 < childrenLength) {\n for (\n var childArray = Array(childrenLength), _i = 0;\n _i < childrenLength;\n _i++\n )\n childArray[_i] = arguments[_i + 2];\n Object.freeze && Object.freeze(childArray);\n i.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n key &&\n defineKeyPropWarningGetter(\n i,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return ReactElement(\n type,\n key,\n i,\n getOwner(),\n propName ? Error(\"react-stack-top-frame\") : unknownOwnerDebugStack,\n propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.createRef = function () {\n var refObject = { current: null };\n Object.seal(refObject);\n return refObject;\n };\n exports.forwardRef = function (render) {\n null != render && render.$$typeof === REACT_MEMO_TYPE\n ? console.error(\n \"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"\n )\n : \"function\" !== typeof render\n ? console.error(\n \"forwardRef requires a render function but was given %s.\",\n null === render ? \"null\" : typeof render\n )\n : 0 !== render.length &&\n 2 !== render.length &&\n console.error(\n \"forwardRef render functions accept exactly two parameters: props and ref. %s\",\n 1 === render.length\n ? \"Did you forget to use the ref parameter?\"\n : \"Any additional parameter will be undefined.\"\n );\n null != render &&\n null != render.defaultProps &&\n console.error(\n \"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\"\n );\n var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },\n ownName;\n Object.defineProperty(elementType, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n render.name ||\n render.displayName ||\n (Object.defineProperty(render, \"name\", { value: name }),\n (render.displayName = name));\n }\n });\n return elementType;\n };\n exports.isValidElement = isValidElement;\n exports.lazy = function (ctor) {\n ctor = { _status: -1, _result: ctor };\n var lazyType = {\n $$typeof: REACT_LAZY_TYPE,\n _payload: ctor,\n _init: lazyInitializer\n },\n ioInfo = {\n name: \"lazy\",\n start: -1,\n end: -1,\n value: null,\n owner: null,\n debugStack: Error(\"react-stack-top-frame\"),\n debugTask: console.createTask ? console.createTask(\"lazy()\") : null\n };\n ctor._ioInfo = ioInfo;\n lazyType._debugInfo = [{ awaited: ioInfo }];\n return lazyType;\n };\n exports.memo = function (type, compare) {\n null == type &&\n console.error(\n \"memo: The first argument must be a component. Instead received: %s\",\n null === type ? \"null\" : typeof type\n );\n compare = {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n var ownName;\n Object.defineProperty(compare, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n type.name ||\n type.displayName ||\n (Object.defineProperty(type, \"name\", { value: name }),\n (type.displayName = name));\n }\n });\n return compare;\n };\n exports.startTransition = function (scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition._updatedFibers = new Set();\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n (ReactSharedInternals.asyncTransitions++,\n returnValue.then(releaseAsyncTransition, releaseAsyncTransition),\n returnValue.then(noop, reportGlobalError));\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null === prevTransition &&\n currentTransition._updatedFibers &&\n ((scope = currentTransition._updatedFibers.size),\n currentTransition._updatedFibers.clear(),\n 10 < scope &&\n console.warn(\n \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n )),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (null !== prevTransition.types &&\n prevTransition.types !== currentTransition.types &&\n console.error(\n \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n ),\n (prevTransition.types = currentTransition.types)),\n (ReactSharedInternals.T = prevTransition);\n }\n };\n exports.unstable_useCacheRefresh = function () {\n return resolveDispatcher().useCacheRefresh();\n };\n exports.use = function (usable) {\n return resolveDispatcher().use(usable);\n };\n exports.useActionState = function (action, initialState, permalink) {\n return resolveDispatcher().useActionState(\n action,\n initialState,\n permalink\n );\n };\n exports.useCallback = function (callback, deps) {\n return resolveDispatcher().useCallback(callback, deps);\n };\n exports.useContext = function (Context) {\n var dispatcher = resolveDispatcher();\n Context.$$typeof === REACT_CONSUMER_TYPE &&\n console.error(\n \"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\"\n );\n return dispatcher.useContext(Context);\n };\n exports.useDebugValue = function (value, formatterFn) {\n return resolveDispatcher().useDebugValue(value, formatterFn);\n };\n exports.useDeferredValue = function (value, initialValue) {\n return resolveDispatcher().useDeferredValue(value, initialValue);\n };\n exports.useEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useEffect(create, deps);\n };\n exports.useEffectEvent = function (callback) {\n return resolveDispatcher().useEffectEvent(callback);\n };\n exports.useId = function () {\n return resolveDispatcher().useId();\n };\n exports.useImperativeHandle = function (ref, create, deps) {\n return resolveDispatcher().useImperativeHandle(ref, create, deps);\n };\n exports.useInsertionEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useInsertionEffect(create, deps);\n };\n exports.useLayoutEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useLayoutEffect(create, deps);\n };\n exports.useMemo = function (create, deps) {\n return resolveDispatcher().useMemo(create, deps);\n };\n exports.useOptimistic = function (passthrough, reducer) {\n return resolveDispatcher().useOptimistic(passthrough, reducer);\n };\n exports.useReducer = function (reducer, initialArg, init) {\n return resolveDispatcher().useReducer(reducer, initialArg, init);\n };\n exports.useRef = function (initialValue) {\n return resolveDispatcher().useRef(initialValue);\n };\n exports.useState = function (initialState) {\n return resolveDispatcher().useState(initialState);\n };\n exports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n return resolveDispatcher().useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n };\n exports.useTransition = function () {\n return resolveDispatcher().useTransition();\n };\n exports.version = \"19.2.3\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/**\n * @license React\n * react-compiler-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nexports.c = function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n};\n","/**\n * @license React\n * react-compiler-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n var ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n exports.c = function (size) {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher.useMemoCache(size);\n };\n })();\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-compiler-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-compiler-runtime.development.js');\n}\n","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 * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function () {},\n enqueueReplaceState: function () {},\n enqueueSetState: function () {}\n },\n assign = Object.assign,\n emptyObject = {};\nfunction Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\nComponent.prototype.isReactComponent = {};\nComponent.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n};\nComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n};\nfunction ComponentDummy() {}\nComponentDummy.prototype = Component.prototype;\nfunction PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\nvar pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());\npureComponentPrototype.constructor = PureComponent;\nassign(pureComponentPrototype, Component.prototype);\npureComponentPrototype.isPureReactComponent = !0;\nvar isArrayImpl = Array.isArray;\nfunction noop() {}\nvar ReactSharedInternals = { H: null, A: null, T: null, S: null },\n hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction ReactElement(type, key, props) {\n var refProp = props.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== refProp ? refProp : null,\n props: props\n };\n}\nfunction cloneAndReplaceKey(oldElement, newKey) {\n return ReactElement(oldElement.type, newKey, oldElement.props);\n}\nfunction isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n}\nfunction escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n}\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction getElementKey(element, index) {\n return \"object\" === typeof element && null !== element && null != element.key\n ? escape(\"\" + element.key)\n : index.toString(36);\n}\nfunction resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n}\nfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback)\n return (\n (callback = callback(children)),\n (invokeCallback =\n \"\" === nameSoFar ? \".\" + getElementKey(children, 0) : nameSoFar),\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != invokeCallback &&\n (escapedPrefix =\n invokeCallback.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (callback = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (children && children.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n invokeCallback\n )),\n array.push(callback)),\n 1\n );\n invokeCallback = 0;\n var nextNamePrefix = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = nextNamePrefix + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n children = i.call(children), i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = nextNamePrefix + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n}\nfunction mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n}\nfunction lazyInitializer(payload) {\n if (-1 === payload._status) {\n var ctor = payload._result;\n ctor = ctor();\n ctor.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status)\n (payload._status = 1), (payload._result = moduleObject);\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status)\n (payload._status = 2), (payload._result = error);\n }\n );\n -1 === payload._status && ((payload._status = 0), (payload._result = ctor));\n }\n if (1 === payload._status) return payload._result.default;\n throw payload._result;\n}\nvar reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n Children = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n };\nexports.Activity = REACT_ACTIVITY_TYPE;\nexports.Children = Children;\nexports.Component = Component;\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.Profiler = REACT_PROFILER_TYPE;\nexports.PureComponent = PureComponent;\nexports.StrictMode = REACT_STRICT_MODE_TYPE;\nexports.Suspense = REACT_SUSPENSE_TYPE;\nexports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\nexports.__COMPILER_RUNTIME = {\n __proto__: null,\n c: function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n }\n};\nexports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n};\nexports.cacheSignal = function () {\n return null;\n};\nexports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" + element + \".\"\n );\n var props = assign({}, element.props),\n key = element.key;\n if (null != config)\n for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n for (var childArray = Array(propName), i = 0; i < propName; i++)\n childArray[i] = arguments[i + 2];\n props.children = childArray;\n }\n return ReactElement(element.type, key, props);\n};\nexports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n return defaultValue;\n};\nexports.createElement = function (type, config, children) {\n var propName,\n props = {},\n key = null;\n if (null != config)\n for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (props[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) props.children = children;\n else if (1 < childrenLength) {\n for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)\n childArray[i] = arguments[i + 2];\n props.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === props[propName] &&\n (props[propName] = childrenLength[propName]);\n return ReactElement(type, key, props);\n};\nexports.createRef = function () {\n return { current: null };\n};\nexports.forwardRef = function (render) {\n return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };\n};\nexports.isValidElement = isValidElement;\nexports.lazy = function (ctor) {\n return {\n $$typeof: REACT_LAZY_TYPE,\n _payload: { _status: -1, _result: ctor },\n _init: lazyInitializer\n };\n};\nexports.memo = function (type, compare) {\n return {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n};\nexports.startTransition = function (scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n returnValue.then(noop, reportGlobalError);\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n};\nexports.unstable_useCacheRefresh = function () {\n return ReactSharedInternals.H.useCacheRefresh();\n};\nexports.use = function (usable) {\n return ReactSharedInternals.H.use(usable);\n};\nexports.useActionState = function (action, initialState, permalink) {\n return ReactSharedInternals.H.useActionState(action, initialState, permalink);\n};\nexports.useCallback = function (callback, deps) {\n return ReactSharedInternals.H.useCallback(callback, deps);\n};\nexports.useContext = function (Context) {\n return ReactSharedInternals.H.useContext(Context);\n};\nexports.useDebugValue = function () {};\nexports.useDeferredValue = function (value, initialValue) {\n return ReactSharedInternals.H.useDeferredValue(value, initialValue);\n};\nexports.useEffect = function (create, deps) {\n return ReactSharedInternals.H.useEffect(create, deps);\n};\nexports.useEffectEvent = function (callback) {\n return ReactSharedInternals.H.useEffectEvent(callback);\n};\nexports.useId = function () {\n return ReactSharedInternals.H.useId();\n};\nexports.useImperativeHandle = function (ref, create, deps) {\n return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);\n};\nexports.useInsertionEffect = function (create, deps) {\n return ReactSharedInternals.H.useInsertionEffect(create, deps);\n};\nexports.useLayoutEffect = function (create, deps) {\n return ReactSharedInternals.H.useLayoutEffect(create, deps);\n};\nexports.useMemo = function (create, deps) {\n return ReactSharedInternals.H.useMemo(create, deps);\n};\nexports.useOptimistic = function (passthrough, reducer) {\n return ReactSharedInternals.H.useOptimistic(passthrough, reducer);\n};\nexports.useReducer = function (reducer, initialArg, init) {\n return ReactSharedInternals.H.useReducer(reducer, initialArg, init);\n};\nexports.useRef = function (initialValue) {\n return ReactSharedInternals.H.useRef(initialValue);\n};\nexports.useState = function (initialState) {\n return ReactSharedInternals.H.useState(initialState);\n};\nexports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n) {\n return ReactSharedInternals.H.useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n};\nexports.useTransition = function () {\n return ReactSharedInternals.H.useTransition();\n};\nexports.version = \"19.2.3\";\n","/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function defineDeprecationWarning(methodName, info) {\n Object.defineProperty(Component.prototype, methodName, {\n get: function () {\n console.warn(\n \"%s(...) is deprecated in plain JavaScript React classes. %s\",\n info[0],\n info[1]\n );\n }\n });\n }\n function getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n }\n function warnNoop(publicInstance, callerName) {\n publicInstance =\n ((publicInstance = publicInstance.constructor) &&\n (publicInstance.displayName || publicInstance.name)) ||\n \"ReactClass\";\n var warningKey = publicInstance + \".\" + callerName;\n didWarnStateUpdateForUnmountedComponent[warningKey] ||\n (console.error(\n \"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.\",\n callerName,\n publicInstance\n ),\n (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));\n }\n function Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function ComponentDummy() {}\n function PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function cloneAndReplaceKey(oldElement, newKey) {\n newKey = ReactElement(\n oldElement.type,\n newKey,\n oldElement.props,\n oldElement._owner,\n oldElement._debugStack,\n oldElement._debugTask\n );\n oldElement._store &&\n (newKey._store.validated = oldElement._store.validated);\n return newKey;\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n }\n function getElementKey(element, index) {\n return \"object\" === typeof element &&\n null !== element &&\n null != element.key\n ? (checkKeyStringCoercion(element.key), escape(\"\" + element.key))\n : index.toString(36);\n }\n function resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"),\n (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n }\n function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback) {\n invokeCallback = children;\n callback = callback(invokeCallback);\n var childKey =\n \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != childKey &&\n (escapedPrefix =\n childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (null != callback.key &&\n ((invokeCallback && invokeCallback.key === callback.key) ||\n checkKeyStringCoercion(callback.key)),\n (escapedPrefix = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (invokeCallback && invokeCallback.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n childKey\n )),\n \"\" !== nameSoFar &&\n null != invokeCallback &&\n isValidElement(invokeCallback) &&\n null == invokeCallback.key &&\n invokeCallback._store &&\n !invokeCallback._store.validated &&\n (escapedPrefix._store.validated = 2),\n (callback = escapedPrefix)),\n array.push(callback));\n return 1;\n }\n invokeCallback = 0;\n childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = childKey + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n i === children.entries &&\n (didWarnAboutMaps ||\n console.warn(\n \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n ),\n (didWarnAboutMaps = !0)),\n children = i.call(children),\n i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = childKey + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n }\n function mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n }\n function lazyInitializer(payload) {\n if (-1 === payload._status) {\n var ioInfo = payload._ioInfo;\n null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());\n ioInfo = payload._result;\n var thenable = ioInfo();\n thenable.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 1;\n payload._result = moduleObject;\n var _ioInfo = payload._ioInfo;\n null != _ioInfo && (_ioInfo.end = performance.now());\n void 0 === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = moduleObject));\n }\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 2;\n payload._result = error;\n var _ioInfo2 = payload._ioInfo;\n null != _ioInfo2 && (_ioInfo2.end = performance.now());\n void 0 === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n }\n );\n ioInfo = payload._ioInfo;\n if (null != ioInfo) {\n ioInfo.value = thenable;\n var displayName = thenable.displayName;\n \"string\" === typeof displayName && (ioInfo.name = displayName);\n }\n -1 === payload._status &&\n ((payload._status = 0), (payload._result = thenable));\n }\n if (1 === payload._status)\n return (\n (ioInfo = payload._result),\n void 0 === ioInfo &&\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\",\n ioInfo\n ),\n \"default\" in ioInfo ||\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\",\n ioInfo\n ),\n ioInfo.default\n );\n throw payload._result;\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n function releaseAsyncTransition() {\n ReactSharedInternals.asyncTransitions--;\n }\n function enqueueTask(task) {\n if (null === enqueueTaskImpl)\n try {\n var requireString = (\"require\" + Math.random()).slice(0, 7);\n enqueueTaskImpl = (module && module[requireString]).call(\n module,\n \"timers\"\n ).setImmediate;\n } catch (_err) {\n enqueueTaskImpl = function (callback) {\n !1 === didWarnAboutMessageChannel &&\n ((didWarnAboutMessageChannel = !0),\n \"undefined\" === typeof MessageChannel &&\n console.error(\n \"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"\n ));\n var channel = new MessageChannel();\n channel.port1.onmessage = callback;\n channel.port2.postMessage(void 0);\n };\n }\n return enqueueTaskImpl(task);\n }\n function aggregateErrors(errors) {\n return 1 < errors.length && \"function\" === typeof AggregateError\n ? new AggregateError(errors)\n : errors[0];\n }\n function popActScope(prevActQueue, prevActScopeDepth) {\n prevActScopeDepth !== actScopeDepth - 1 &&\n console.error(\n \"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"\n );\n actScopeDepth = prevActScopeDepth;\n }\n function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n var queue = ReactSharedInternals.actQueue;\n if (null !== queue)\n if (0 !== queue.length)\n try {\n flushActQueue(queue);\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n });\n return;\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n else ReactSharedInternals.actQueue = null;\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(queue))\n : resolve(returnValue);\n }\n function flushActQueue(queue) {\n if (!isFlushing) {\n isFlushing = !0;\n var i = 0;\n try {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n do {\n ReactSharedInternals.didUsePromise = !1;\n var continuation = callback(!1);\n if (null !== continuation) {\n if (ReactSharedInternals.didUsePromise) {\n queue[i] = callback;\n queue.splice(0, i);\n return;\n }\n callback = continuation;\n } else break;\n } while (1);\n }\n queue.length = 0;\n } catch (error) {\n queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n } finally {\n isFlushing = !1;\n }\n }\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n didWarnStateUpdateForUnmountedComponent = {},\n ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, \"forceUpdate\");\n },\n enqueueReplaceState: function (publicInstance) {\n warnNoop(publicInstance, \"replaceState\");\n },\n enqueueSetState: function (publicInstance) {\n warnNoop(publicInstance, \"setState\");\n }\n },\n assign = Object.assign,\n emptyObject = {};\n Object.freeze(emptyObject);\n Component.prototype.isReactComponent = {};\n Component.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n };\n Component.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n };\n var deprecatedAPIs = {\n isMounted: [\n \"isMounted\",\n \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"\n ],\n replaceState: [\n \"replaceState\",\n \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"\n ]\n };\n for (fnName in deprecatedAPIs)\n deprecatedAPIs.hasOwnProperty(fnName) &&\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n ComponentDummy.prototype = Component.prototype;\n deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n deprecatedAPIs.constructor = PureComponent;\n assign(deprecatedAPIs, Component.prototype);\n deprecatedAPIs.isPureReactComponent = !0;\n var isArrayImpl = Array.isArray,\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals = {\n H: null,\n A: null,\n T: null,\n S: null,\n actQueue: null,\n asyncTransitions: 0,\n isBatchingLegacy: !1,\n didScheduleLegacyUpdate: !1,\n didUsePromise: !1,\n thrownErrors: [],\n getCurrentStack: null,\n recentlyCreatedOwnerStacks: 0\n },\n hasOwnProperty = Object.prototype.hasOwnProperty,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n deprecatedAPIs = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(\n deprecatedAPIs,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutMaps = !1,\n userProvidedKeyEscapeRegex = /\\/+/g,\n reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n didWarnAboutMessageChannel = !1,\n enqueueTaskImpl = null,\n actScopeDepth = 0,\n didWarnNoAwaitAct = !1,\n isFlushing = !1,\n queueSeveralMicrotasks =\n \"function\" === typeof queueMicrotask\n ? function (callback) {\n queueMicrotask(function () {\n return queueMicrotask(callback);\n });\n }\n : enqueueTask;\n deprecatedAPIs = Object.freeze({\n __proto__: null,\n c: function (size) {\n return resolveDispatcher().useMemoCache(size);\n }\n });\n var fnName = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n };\n exports.Activity = REACT_ACTIVITY_TYPE;\n exports.Children = fnName;\n exports.Component = Component;\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.Profiler = REACT_PROFILER_TYPE;\n exports.PureComponent = PureComponent;\n exports.StrictMode = REACT_STRICT_MODE_TYPE;\n exports.Suspense = REACT_SUSPENSE_TYPE;\n exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\n exports.__COMPILER_RUNTIME = deprecatedAPIs;\n exports.act = function (callback) {\n var prevActQueue = ReactSharedInternals.actQueue,\n prevActScopeDepth = actScopeDepth;\n actScopeDepth++;\n var queue = (ReactSharedInternals.actQueue =\n null !== prevActQueue ? prevActQueue : []),\n didAwaitActCall = !1;\n try {\n var result = callback();\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n (popActScope(prevActQueue, prevActScopeDepth),\n (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n if (\n null !== result &&\n \"object\" === typeof result &&\n \"function\" === typeof result.then\n ) {\n var thenable = result;\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"\n ));\n });\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n thenable.then(\n function (returnValue) {\n popActScope(prevActQueue, prevActScopeDepth);\n if (0 === prevActScopeDepth) {\n try {\n flushActQueue(queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue,\n resolve,\n reject\n );\n });\n } catch (error$0) {\n ReactSharedInternals.thrownErrors.push(error$0);\n }\n if (0 < ReactSharedInternals.thrownErrors.length) {\n var _thrownError = aggregateErrors(\n ReactSharedInternals.thrownErrors\n );\n ReactSharedInternals.thrownErrors.length = 0;\n reject(_thrownError);\n }\n } else resolve(returnValue);\n },\n function (error) {\n popActScope(prevActQueue, prevActScopeDepth);\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((error = aggregateErrors(\n ReactSharedInternals.thrownErrors\n )),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(error))\n : reject(error);\n }\n );\n }\n };\n }\n var returnValue$jscomp$0 = result;\n popActScope(prevActQueue, prevActScopeDepth);\n 0 === prevActScopeDepth &&\n (flushActQueue(queue),\n 0 !== queue.length &&\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"\n ));\n }),\n (ReactSharedInternals.actQueue = null));\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n 0 === prevActScopeDepth\n ? ((ReactSharedInternals.actQueue = queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue$jscomp$0,\n resolve,\n reject\n );\n }))\n : resolve(returnValue$jscomp$0);\n }\n };\n };\n exports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n };\n exports.cacheSignal = function () {\n return null;\n };\n exports.captureOwnerStack = function () {\n var getCurrentStack = ReactSharedInternals.getCurrentStack;\n return null === getCurrentStack ? null : getCurrentStack();\n };\n exports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" +\n element +\n \".\"\n );\n var props = assign({}, element.props),\n key = element.key,\n owner = element._owner;\n if (null != config) {\n var JSCompiler_inline_result;\n a: {\n if (\n hasOwnProperty.call(config, \"ref\") &&\n (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(\n config,\n \"ref\"\n ).get) &&\n JSCompiler_inline_result.isReactWarning\n ) {\n JSCompiler_inline_result = !1;\n break a;\n }\n JSCompiler_inline_result = void 0 !== config.ref;\n }\n JSCompiler_inline_result && (owner = getOwner());\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key));\n for (propName in config)\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n }\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n JSCompiler_inline_result = Array(propName);\n for (var i = 0; i < propName; i++)\n JSCompiler_inline_result[i] = arguments[i + 2];\n props.children = JSCompiler_inline_result;\n }\n props = ReactElement(\n element.type,\n key,\n props,\n owner,\n element._debugStack,\n element._debugTask\n );\n for (key = 2; key < arguments.length; key++)\n validateChildKeys(arguments[key]);\n return props;\n };\n exports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n defaultValue._currentRenderer = null;\n defaultValue._currentRenderer2 = null;\n return defaultValue;\n };\n exports.createElement = function (type, config, children) {\n for (var i = 2; i < arguments.length; i++)\n validateChildKeys(arguments[i]);\n i = {};\n var key = null;\n if (null != config)\n for (propName in (didWarnAboutOldJSXRuntime ||\n !(\"__self\" in config) ||\n \"key\" in config ||\n ((didWarnAboutOldJSXRuntime = !0),\n console.warn(\n \"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\"\n )),\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key)),\n config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (i[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) i.children = children;\n else if (1 < childrenLength) {\n for (\n var childArray = Array(childrenLength), _i = 0;\n _i < childrenLength;\n _i++\n )\n childArray[_i] = arguments[_i + 2];\n Object.freeze && Object.freeze(childArray);\n i.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n key &&\n defineKeyPropWarningGetter(\n i,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return ReactElement(\n type,\n key,\n i,\n getOwner(),\n propName ? Error(\"react-stack-top-frame\") : unknownOwnerDebugStack,\n propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.createRef = function () {\n var refObject = { current: null };\n Object.seal(refObject);\n return refObject;\n };\n exports.forwardRef = function (render) {\n null != render && render.$$typeof === REACT_MEMO_TYPE\n ? console.error(\n \"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"\n )\n : \"function\" !== typeof render\n ? console.error(\n \"forwardRef requires a render function but was given %s.\",\n null === render ? \"null\" : typeof render\n )\n : 0 !== render.length &&\n 2 !== render.length &&\n console.error(\n \"forwardRef render functions accept exactly two parameters: props and ref. %s\",\n 1 === render.length\n ? \"Did you forget to use the ref parameter?\"\n : \"Any additional parameter will be undefined.\"\n );\n null != render &&\n null != render.defaultProps &&\n console.error(\n \"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\"\n );\n var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },\n ownName;\n Object.defineProperty(elementType, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n render.name ||\n render.displayName ||\n (Object.defineProperty(render, \"name\", { value: name }),\n (render.displayName = name));\n }\n });\n return elementType;\n };\n exports.isValidElement = isValidElement;\n exports.lazy = function (ctor) {\n ctor = { _status: -1, _result: ctor };\n var lazyType = {\n $$typeof: REACT_LAZY_TYPE,\n _payload: ctor,\n _init: lazyInitializer\n },\n ioInfo = {\n name: \"lazy\",\n start: -1,\n end: -1,\n value: null,\n owner: null,\n debugStack: Error(\"react-stack-top-frame\"),\n debugTask: console.createTask ? console.createTask(\"lazy()\") : null\n };\n ctor._ioInfo = ioInfo;\n lazyType._debugInfo = [{ awaited: ioInfo }];\n return lazyType;\n };\n exports.memo = function (type, compare) {\n null == type &&\n console.error(\n \"memo: The first argument must be a component. Instead received: %s\",\n null === type ? \"null\" : typeof type\n );\n compare = {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n var ownName;\n Object.defineProperty(compare, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n type.name ||\n type.displayName ||\n (Object.defineProperty(type, \"name\", { value: name }),\n (type.displayName = name));\n }\n });\n return compare;\n };\n exports.startTransition = function (scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition._updatedFibers = new Set();\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n (ReactSharedInternals.asyncTransitions++,\n returnValue.then(releaseAsyncTransition, releaseAsyncTransition),\n returnValue.then(noop, reportGlobalError));\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null === prevTransition &&\n currentTransition._updatedFibers &&\n ((scope = currentTransition._updatedFibers.size),\n currentTransition._updatedFibers.clear(),\n 10 < scope &&\n console.warn(\n \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n )),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (null !== prevTransition.types &&\n prevTransition.types !== currentTransition.types &&\n console.error(\n \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n ),\n (prevTransition.types = currentTransition.types)),\n (ReactSharedInternals.T = prevTransition);\n }\n };\n exports.unstable_useCacheRefresh = function () {\n return resolveDispatcher().useCacheRefresh();\n };\n exports.use = function (usable) {\n return resolveDispatcher().use(usable);\n };\n exports.useActionState = function (action, initialState, permalink) {\n return resolveDispatcher().useActionState(\n action,\n initialState,\n permalink\n );\n };\n exports.useCallback = function (callback, deps) {\n return resolveDispatcher().useCallback(callback, deps);\n };\n exports.useContext = function (Context) {\n var dispatcher = resolveDispatcher();\n Context.$$typeof === REACT_CONSUMER_TYPE &&\n console.error(\n \"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\"\n );\n return dispatcher.useContext(Context);\n };\n exports.useDebugValue = function (value, formatterFn) {\n return resolveDispatcher().useDebugValue(value, formatterFn);\n };\n exports.useDeferredValue = function (value, initialValue) {\n return resolveDispatcher().useDeferredValue(value, initialValue);\n };\n exports.useEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useEffect(create, deps);\n };\n exports.useEffectEvent = function (callback) {\n return resolveDispatcher().useEffectEvent(callback);\n };\n exports.useId = function () {\n return resolveDispatcher().useId();\n };\n exports.useImperativeHandle = function (ref, create, deps) {\n return resolveDispatcher().useImperativeHandle(ref, create, deps);\n };\n exports.useInsertionEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useInsertionEffect(create, deps);\n };\n exports.useLayoutEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useLayoutEffect(create, deps);\n };\n exports.useMemo = function (create, deps) {\n return resolveDispatcher().useMemo(create, deps);\n };\n exports.useOptimistic = function (passthrough, reducer) {\n return resolveDispatcher().useOptimistic(passthrough, reducer);\n };\n exports.useReducer = function (reducer, initialArg, init) {\n return resolveDispatcher().useReducer(reducer, initialArg, init);\n };\n exports.useRef = function (initialValue) {\n return resolveDispatcher().useRef(initialValue);\n };\n exports.useState = function (initialState) {\n return resolveDispatcher().useState(initialState);\n };\n exports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n return resolveDispatcher().useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n };\n exports.useTransition = function () {\n return resolveDispatcher().useTransition();\n };\n exports.version = \"19.2.3\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/**\n * @license React\n * react-compiler-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nexports.c = function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n};\n","/**\n * @license React\n * react-compiler-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n var ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n exports.c = function (size) {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher.useMemoCache(size);\n };\n })();\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-compiler-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-compiler-runtime.development.js');\n}\n","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;","//#region rolldown:runtime\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\tvalue: mod,\n\tenumerable: true\n}) : target, mod));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js\nvar stylesheets = {};\nvar injectStyles = (_ref) => {\n\tvar { fileScope, css } = _ref;\n\tvar fileScopeId = fileScope.packageName ? [fileScope.packageName, fileScope.filePath].join(\"/\") : fileScope.filePath;\n\tvar stylesheet = stylesheets[fileScopeId];\n\tif (!stylesheet) {\n\t\tvar styleEl = document.createElement(\"style\");\n\t\tif (fileScope.packageName) styleEl.setAttribute(\"data-package\", fileScope.packageName);\n\t\tstyleEl.setAttribute(\"data-file\", fileScope.filePath);\n\t\tstyleEl.setAttribute(\"type\", \"text/css\");\n\t\tstylesheet = stylesheets[fileScopeId] = styleEl;\n\t\tdocument.head.appendChild(styleEl);\n\t}\n\tstylesheet.innerHTML = css;\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.cjs.prod.js\nvar require_vanilla_extract_private_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tfunction getVarName(variable) {\n\t\tvar matches = variable.match(/^var\\((.*)\\)$/);\n\t\tif (matches) return matches[1];\n\t\treturn variable;\n\t}\n\tfunction get(obj, path) {\n\t\tvar result = obj;\n\t\tfor (var key of path) {\n\t\t\tif (!(key in result)) throw new Error(\"Path \".concat(path.join(\" -> \"), \" does not exist in object\"));\n\t\t\tresult = result[key];\n\t\t}\n\t\treturn result;\n\t}\n\tfunction walkObject(obj, fn) {\n\t\tvar path = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tvar clone = {};\n\t\tfor (var key in obj) {\n\t\t\tvar _value = obj[key];\n\t\t\tvar currentPath = [...path, key];\n\t\t\tif (typeof _value === \"string\" || typeof _value === \"number\" || _value == null) clone[key] = fn(_value, currentPath);\n\t\t\telse if (typeof _value === \"object\" && !Array.isArray(_value)) clone[key] = walkObject(_value, fn, currentPath);\n\t\t\telse console.warn(\"Skipping invalid key \\\"\".concat(currentPath.join(\".\"), \"\\\". Should be a string, number, null or object. Received: \\\"\").concat(Array.isArray(_value) ? \"Array\" : typeof _value, \"\\\"\"));\n\t\t}\n\t\treturn clone;\n\t}\n\texports.get = get;\n\texports.getVarName = getVarName;\n\texports.walkObject = walkObject;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.cjs.dev.js\nvar require_vanilla_extract_private_cjs_dev = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.cjs.js\nvar require_vanilla_extract_private_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tif (process.env.NODE_ENV === \"production\") module.exports = require_vanilla_extract_private_cjs_prod();\n\telse module.exports = require_vanilla_extract_private_cjs_dev();\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js\n/*! https://mths.be/cssesc v3.0.0 by @mathias */\nvar require_cssesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tvar hasOwnProperty = {}.hasOwnProperty;\n\tvar merge = function merge(options, defaults) {\n\t\tif (!options) return defaults;\n\t\tvar result = {};\n\t\tfor (var key in defaults) result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];\n\t\treturn result;\n\t};\n\tvar regexAnySingleEscape = /[ -,\\.\\/:-@\\[-\\^`\\{-~]/;\n\tvar regexSingleEscape = /[ -,\\.\\/:-@\\[\\]\\^`\\{-~]/;\n\tvar regexExcessiveSpaces = /(^|\\\\+)?(\\\\[A-F0-9]{1,6})\\x20(?![a-fA-F0-9\\x20])/g;\n\tvar cssesc = function cssesc(string, options) {\n\t\toptions = merge(options, cssesc.options);\n\t\tif (options.quotes != \"single\" && options.quotes != \"double\") options.quotes = \"single\";\n\t\tvar quote = options.quotes == \"double\" ? \"\\\"\" : \"'\";\n\t\tvar isIdentifier = options.isIdentifier;\n\t\tvar firstChar = string.charAt(0);\n\t\tvar output = \"\";\n\t\tvar counter = 0;\n\t\tvar length = string.length;\n\t\twhile (counter < length) {\n\t\t\tvar character = string.charAt(counter++);\n\t\t\tvar codePoint = character.charCodeAt();\n\t\t\tvar value = void 0;\n\t\t\tif (codePoint < 32 || codePoint > 126) {\n\t\t\t\tif (codePoint >= 55296 && codePoint <= 56319 && counter < length) {\n\t\t\t\t\tvar extra = string.charCodeAt(counter++);\n\t\t\t\t\tif ((extra & 64512) == 56320) codePoint = ((codePoint & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\telse counter--;\n\t\t\t\t}\n\t\t\t\tvalue = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n\t\t\t} else if (options.escapeEverything) if (regexAnySingleEscape.test(character)) value = \"\\\\\" + character;\n\t\t\telse value = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n\t\t\telse if (/[\\t\\n\\f\\r\\x0B]/.test(character)) value = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n\t\t\telse if (character == \"\\\\\" || !isIdentifier && (character == \"\\\"\" && quote == character || character == \"'\" && quote == character) || isIdentifier && regexSingleEscape.test(character)) value = \"\\\\\" + character;\n\t\t\telse value = character;\n\t\t\toutput += value;\n\t\t}\n\t\tif (isIdentifier) {\n\t\t\tif (/^-[-\\d]/.test(output)) output = \"\\\\-\" + output.slice(1);\n\t\t\telse if (/\\d/.test(firstChar)) output = \"\\\\3\" + firstChar + \" \" + output.slice(1);\n\t\t}\n\t\toutput = output.replace(regexExcessiveSpaces, function($0, $1, $2) {\n\t\t\tif ($1 && $1.length % 2) return $0;\n\t\t\treturn ($1 || \"\") + $2;\n\t\t});\n\t\tif (!isIdentifier && options.wrap) return quote + output + quote;\n\t\treturn output;\n\t};\n\tcssesc.options = {\n\t\t\"escapeEverything\": false,\n\t\t\"isIdentifier\": false,\n\t\t\"quotes\": \"single\",\n\t\t\"wrap\": false\n\t};\n\tcssesc.version = \"3.0.0\";\n\tmodule.exports = cssesc;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js\nvar import_cssesc = /* @__PURE__ */ __toESM(require_cssesc());\nvar import_vanilla_extract_private_cjs = require_vanilla_extract_private_cjs();\nvar AhoCorasick = class {\n\tconstructor(keywords) {\n\t\tconst { failure, gotoFn, output } = this._buildTables(keywords);\n\t\tthis.gotoFn = gotoFn;\n\t\tthis.output = output;\n\t\tthis.failure = failure;\n\t}\n\t_buildTables(keywords) {\n\t\tconst gotoFn = { 0: {} };\n\t\tconst output = {};\n\t\tlet state = 0;\n\t\tfor (const word of keywords) {\n\t\t\tlet curr = 0;\n\t\t\tfor (const l of word) if (gotoFn[curr] && l in gotoFn[curr]) curr = gotoFn[curr][l];\n\t\t\telse {\n\t\t\t\tstate++;\n\t\t\t\tgotoFn[curr][l] = state;\n\t\t\t\tgotoFn[state] = {};\n\t\t\t\tcurr = state;\n\t\t\t\toutput[state] = [];\n\t\t\t}\n\t\t\toutput[curr].push(word);\n\t\t}\n\t\tconst failure = {};\n\t\tconst xs = [];\n\t\tfor (const l in gotoFn[0]) {\n\t\t\tconst state2 = gotoFn[0][l];\n\t\t\tfailure[state2] = 0;\n\t\t\txs.push(state2);\n\t\t}\n\t\twhile (xs.length > 0) {\n\t\t\tconst r = xs.shift();\n\t\t\tif (r !== void 0) for (const l in gotoFn[r]) {\n\t\t\t\tconst s = gotoFn[r][l];\n\t\t\t\txs.push(s);\n\t\t\t\tlet state2 = failure[r];\n\t\t\t\twhile (state2 > 0 && !(l in gotoFn[state2])) state2 = failure[state2];\n\t\t\t\tif (l in gotoFn[state2]) {\n\t\t\t\t\tconst fs = gotoFn[state2][l];\n\t\t\t\t\tfailure[s] = fs;\n\t\t\t\t\toutput[s] = [...output[s], ...output[fs]];\n\t\t\t\t} else failure[s] = 0;\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tgotoFn,\n\t\t\toutput,\n\t\t\tfailure\n\t\t};\n\t}\n\tsearch(str) {\n\t\tlet state = 0;\n\t\tconst results = [];\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\tconst l = str[i];\n\t\t\twhile (state > 0 && !(l in this.gotoFn[state])) state = this.failure[state];\n\t\t\tif (!(l in this.gotoFn[state])) continue;\n\t\t\tstate = this.gotoFn[state][l];\n\t\t\tif (this.output[state].length > 0) {\n\t\t\t\tconst foundStrs = this.output[state];\n\t\t\t\tresults.push([i, foundStrs]);\n\t\t\t}\n\t\t}\n\t\treturn results;\n\t}\n\tmatch(str) {\n\t\tlet state = 0;\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\tconst l = str[i];\n\t\t\twhile (state > 0 && !(l in this.gotoFn[state])) state = this.failure[state];\n\t\t\tif (!(l in this.gotoFn[state])) continue;\n\t\t\tstate = this.gotoFn[state][l];\n\t\t\tif (this.output[state].length > 0) return true;\n\t\t}\n\t\treturn false;\n\t}\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js\nvar mockAdapter = {\n\tappendCss: () => {},\n\tregisterClassName: () => {},\n\tonEndFileScope: () => {},\n\tregisterComposition: () => {},\n\tmarkCompositionUsed: () => {},\n\tgetIdentOption: () => process.env.NODE_ENV === \"production\" ? \"short\" : \"debug\"\n};\nvar adapterStack = [mockAdapter];\nvar currentAdapter = () => {\n\tif (adapterStack.length < 1) throw new Error(\"No adapter configured\");\n\treturn adapterStack[adapterStack.length - 1];\n};\nvar hasConfiguredAdapter = false;\nvar setAdapterIfNotSet = (newAdapter) => {\n\tif (!hasConfiguredAdapter) setAdapter(newAdapter);\n};\nvar setAdapter = (newAdapter) => {\n\tif (!newAdapter) throw new Error(\"No adapter provided when calling \\\"setAdapter\\\"\");\n\thasConfiguredAdapter = true;\n\tadapterStack.push(newAdapter);\n};\nvar appendCss = function appendCss() {\n\treturn currentAdapter().appendCss(...arguments);\n};\nvar registerClassName = function registerClassName() {\n\treturn currentAdapter().registerClassName(...arguments);\n};\nvar registerComposition = function registerComposition() {\n\treturn currentAdapter().registerComposition(...arguments);\n};\nvar markCompositionUsed = function markCompositionUsed() {\n\treturn currentAdapter().markCompositionUsed(...arguments);\n};\nvar getIdentOption = function getIdentOption() {\n\tvar adapter = currentAdapter();\n\tif (!(\"getIdentOption\" in adapter)) return process.env.NODE_ENV === \"production\" ? \"short\" : \"debug\";\n\treturn adapter.getIdentOption(...arguments);\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js\nfunction _taggedTemplateLiteral(strings, raw) {\n\tif (!raw) raw = strings.slice(0);\n\treturn Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } }));\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/types.js\nvar require_types = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.AttributeAction = exports.IgnoreCaseMode = exports.SelectorType = void 0;\n\t(function(SelectorType) {\n\t\tSelectorType[\"Attribute\"] = \"attribute\";\n\t\tSelectorType[\"Pseudo\"] = \"pseudo\";\n\t\tSelectorType[\"PseudoElement\"] = \"pseudo-element\";\n\t\tSelectorType[\"Tag\"] = \"tag\";\n\t\tSelectorType[\"Universal\"] = \"universal\";\n\t\tSelectorType[\"Adjacent\"] = \"adjacent\";\n\t\tSelectorType[\"Child\"] = \"child\";\n\t\tSelectorType[\"Descendant\"] = \"descendant\";\n\t\tSelectorType[\"Parent\"] = \"parent\";\n\t\tSelectorType[\"Sibling\"] = \"sibling\";\n\t\tSelectorType[\"ColumnCombinator\"] = \"column-combinator\";\n\t})(exports.SelectorType || (exports.SelectorType = {}));\n\t/**\n\t* Modes for ignore case.\n\t*\n\t* This could be updated to an enum, and the object is\n\t* the current stand-in that will allow code to be updated\n\t* without big changes.\n\t*/\n\texports.IgnoreCaseMode = {\n\t\tUnknown: null,\n\t\tQuirksMode: \"quirks\",\n\t\tIgnoreCase: true,\n\t\tCaseSensitive: false\n\t};\n\t(function(AttributeAction) {\n\t\tAttributeAction[\"Any\"] = \"any\";\n\t\tAttributeAction[\"Element\"] = \"element\";\n\t\tAttributeAction[\"End\"] = \"end\";\n\t\tAttributeAction[\"Equals\"] = \"equals\";\n\t\tAttributeAction[\"Exists\"] = \"exists\";\n\t\tAttributeAction[\"Hyphen\"] = \"hyphen\";\n\t\tAttributeAction[\"Not\"] = \"not\";\n\t\tAttributeAction[\"Start\"] = \"start\";\n\t})(exports.AttributeAction || (exports.AttributeAction = {}));\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/parse.js\nvar require_parse = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.parse = exports.isTraversal = void 0;\n\tvar types_1 = require_types();\n\tvar reName = /^[^\\\\#]?(?:\\\\(?:[\\da-f]{1,6}\\s?|.)|[\\w\\-\\u00b0-\\uFFFF])+/;\n\tvar reEscape = /\\\\([\\da-f]{1,6}\\s?|(\\s)|.)/gi;\n\tvar actionTypes = new Map([\n\t\t[126, types_1.AttributeAction.Element],\n\t\t[94, types_1.AttributeAction.Start],\n\t\t[36, types_1.AttributeAction.End],\n\t\t[42, types_1.AttributeAction.Any],\n\t\t[33, types_1.AttributeAction.Not],\n\t\t[124, types_1.AttributeAction.Hyphen]\n\t]);\n\tvar unpackPseudos = new Set([\n\t\t\"has\",\n\t\t\"not\",\n\t\t\"matches\",\n\t\t\"is\",\n\t\t\"where\",\n\t\t\"host\",\n\t\t\"host-context\"\n\t]);\n\t/**\n\t* Checks whether a specific selector is a traversal.\n\t* This is useful eg. in swapping the order of elements that\n\t* are not traversals.\n\t*\n\t* @param selector Selector to check.\n\t*/\n\tfunction isTraversal(selector) {\n\t\tswitch (selector.type) {\n\t\t\tcase types_1.SelectorType.Adjacent:\n\t\t\tcase types_1.SelectorType.Child:\n\t\t\tcase types_1.SelectorType.Descendant:\n\t\t\tcase types_1.SelectorType.Parent:\n\t\t\tcase types_1.SelectorType.Sibling:\n\t\t\tcase types_1.SelectorType.ColumnCombinator: return true;\n\t\t\tdefault: return false;\n\t\t}\n\t}\n\texports.isTraversal = isTraversal;\n\tvar stripQuotesFromPseudos = new Set([\"contains\", \"icontains\"]);\n\tfunction funescape(_, escaped, escapedWhitespace) {\n\t\tvar high = parseInt(escaped, 16) - 65536;\n\t\treturn high !== high || escapedWhitespace ? escaped : high < 0 ? String.fromCharCode(high + 65536) : String.fromCharCode(high >> 10 | 55296, high & 1023 | 56320);\n\t}\n\tfunction unescapeCSS(str) {\n\t\treturn str.replace(reEscape, funescape);\n\t}\n\tfunction isQuote(c) {\n\t\treturn c === 39 || c === 34;\n\t}\n\tfunction isWhitespace(c) {\n\t\treturn c === 32 || c === 9 || c === 10 || c === 12 || c === 13;\n\t}\n\t/**\n\t* Parses `selector`, optionally with the passed `options`.\n\t*\n\t* @param selector Selector to parse.\n\t* @param options Options for parsing.\n\t* @returns Returns a two-dimensional array.\n\t* The first dimension represents selectors separated by commas (eg. `sub1, sub2`),\n\t* the second contains the relevant tokens for that selector.\n\t*/\n\tfunction parse(selector) {\n\t\tvar subselects = [];\n\t\tvar endIndex = parseSelector(subselects, \"\".concat(selector), 0);\n\t\tif (endIndex < selector.length) throw new Error(\"Unmatched selector: \".concat(selector.slice(endIndex)));\n\t\treturn subselects;\n\t}\n\texports.parse = parse;\n\tfunction parseSelector(subselects, selector, selectorIndex) {\n\t\tvar tokens = [];\n\t\tfunction getName(offset) {\n\t\t\tvar match = selector.slice(selectorIndex + offset).match(reName);\n\t\t\tif (!match) throw new Error(\"Expected name, found \".concat(selector.slice(selectorIndex)));\n\t\t\tvar name = match[0];\n\t\t\tselectorIndex += offset + name.length;\n\t\t\treturn unescapeCSS(name);\n\t\t}\n\t\tfunction stripWhitespace(offset) {\n\t\t\tselectorIndex += offset;\n\t\t\twhile (selectorIndex < selector.length && isWhitespace(selector.charCodeAt(selectorIndex))) selectorIndex++;\n\t\t}\n\t\tfunction readValueWithParenthesis() {\n\t\t\tselectorIndex += 1;\n\t\t\tvar start = selectorIndex;\n\t\t\tvar counter = 1;\n\t\t\tfor (; counter > 0 && selectorIndex < selector.length; selectorIndex++) if (selector.charCodeAt(selectorIndex) === 40 && !isEscaped(selectorIndex)) counter++;\n\t\t\telse if (selector.charCodeAt(selectorIndex) === 41 && !isEscaped(selectorIndex)) counter--;\n\t\t\tif (counter) throw new Error(\"Parenthesis not matched\");\n\t\t\treturn unescapeCSS(selector.slice(start, selectorIndex - 1));\n\t\t}\n\t\tfunction isEscaped(pos) {\n\t\t\tvar slashCount = 0;\n\t\t\twhile (selector.charCodeAt(--pos) === 92) slashCount++;\n\t\t\treturn (slashCount & 1) === 1;\n\t\t}\n\t\tfunction ensureNotTraversal() {\n\t\t\tif (tokens.length > 0 && isTraversal(tokens[tokens.length - 1])) throw new Error(\"Did not expect successive traversals.\");\n\t\t}\n\t\tfunction addTraversal(type) {\n\t\t\tif (tokens.length > 0 && tokens[tokens.length - 1].type === types_1.SelectorType.Descendant) {\n\t\t\t\ttokens[tokens.length - 1].type = type;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tensureNotTraversal();\n\t\t\ttokens.push({ type });\n\t\t}\n\t\tfunction addSpecialAttribute(name, action) {\n\t\t\ttokens.push({\n\t\t\t\ttype: types_1.SelectorType.Attribute,\n\t\t\t\tname,\n\t\t\t\taction,\n\t\t\t\tvalue: getName(1),\n\t\t\t\tnamespace: null,\n\t\t\t\tignoreCase: \"quirks\"\n\t\t\t});\n\t\t}\n\t\t/**\n\t\t* We have finished parsing the current part of the selector.\n\t\t*\n\t\t* Remove descendant tokens at the end if they exist,\n\t\t* and return the last index, so that parsing can be\n\t\t* picked up from here.\n\t\t*/\n\t\tfunction finalizeSubselector() {\n\t\t\tif (tokens.length && tokens[tokens.length - 1].type === types_1.SelectorType.Descendant) tokens.pop();\n\t\t\tif (tokens.length === 0) throw new Error(\"Empty sub-selector\");\n\t\t\tsubselects.push(tokens);\n\t\t}\n\t\tstripWhitespace(0);\n\t\tif (selector.length === selectorIndex) return selectorIndex;\n\t\tloop: while (selectorIndex < selector.length) {\n\t\t\tvar firstChar = selector.charCodeAt(selectorIndex);\n\t\t\tswitch (firstChar) {\n\t\t\t\tcase 32:\n\t\t\t\tcase 9:\n\t\t\t\tcase 10:\n\t\t\t\tcase 12:\n\t\t\t\tcase 13:\n\t\t\t\t\tif (tokens.length === 0 || tokens[0].type !== types_1.SelectorType.Descendant) {\n\t\t\t\t\t\tensureNotTraversal();\n\t\t\t\t\t\ttokens.push({ type: types_1.SelectorType.Descendant });\n\t\t\t\t\t}\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 62:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Child);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 60:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Parent);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 126:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Sibling);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 43:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Adjacent);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 46:\n\t\t\t\t\taddSpecialAttribute(\"class\", types_1.AttributeAction.Element);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 35:\n\t\t\t\t\taddSpecialAttribute(\"id\", types_1.AttributeAction.Equals);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 91:\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tvar name_1 = void 0;\n\t\t\t\t\tvar namespace = null;\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 124) name_1 = getName(1);\n\t\t\t\t\telse if (selector.startsWith(\"*|\", selectorIndex)) {\n\t\t\t\t\t\tnamespace = \"*\";\n\t\t\t\t\t\tname_1 = getName(2);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tname_1 = getName(0);\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 124 && selector.charCodeAt(selectorIndex + 1) !== 61) {\n\t\t\t\t\t\t\tnamespace = name_1;\n\t\t\t\t\t\t\tname_1 = getName(1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tstripWhitespace(0);\n\t\t\t\t\tvar action = types_1.AttributeAction.Exists;\n\t\t\t\t\tvar possibleAction = actionTypes.get(selector.charCodeAt(selectorIndex));\n\t\t\t\t\tif (possibleAction) {\n\t\t\t\t\t\taction = possibleAction;\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) !== 61) throw new Error(\"Expected `=`\");\n\t\t\t\t\t\tstripWhitespace(2);\n\t\t\t\t\t} else if (selector.charCodeAt(selectorIndex) === 61) {\n\t\t\t\t\t\taction = types_1.AttributeAction.Equals;\n\t\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\t}\n\t\t\t\t\tvar value = \"\";\n\t\t\t\t\tvar ignoreCase = null;\n\t\t\t\t\tif (action !== \"exists\") {\n\t\t\t\t\t\tif (isQuote(selector.charCodeAt(selectorIndex))) {\n\t\t\t\t\t\t\tvar quote = selector.charCodeAt(selectorIndex);\n\t\t\t\t\t\t\tvar sectionEnd = selectorIndex + 1;\n\t\t\t\t\t\t\twhile (sectionEnd < selector.length && (selector.charCodeAt(sectionEnd) !== quote || isEscaped(sectionEnd))) sectionEnd += 1;\n\t\t\t\t\t\t\tif (selector.charCodeAt(sectionEnd) !== quote) throw new Error(\"Attribute value didn't end\");\n\t\t\t\t\t\t\tvalue = unescapeCSS(selector.slice(selectorIndex + 1, sectionEnd));\n\t\t\t\t\t\t\tselectorIndex = sectionEnd + 1;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar valueStart = selectorIndex;\n\t\t\t\t\t\t\twhile (selectorIndex < selector.length && (!isWhitespace(selector.charCodeAt(selectorIndex)) && selector.charCodeAt(selectorIndex) !== 93 || isEscaped(selectorIndex))) selectorIndex += 1;\n\t\t\t\t\t\t\tvalue = unescapeCSS(selector.slice(valueStart, selectorIndex));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstripWhitespace(0);\n\t\t\t\t\t\tvar forceIgnore = selector.charCodeAt(selectorIndex) | 32;\n\t\t\t\t\t\tif (forceIgnore === 115) {\n\t\t\t\t\t\t\tignoreCase = false;\n\t\t\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\t\t} else if (forceIgnore === 105) {\n\t\t\t\t\t\t\tignoreCase = true;\n\t\t\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) !== 93) throw new Error(\"Attribute selector didn't terminate\");\n\t\t\t\t\tselectorIndex += 1;\n\t\t\t\t\tvar attributeSelector = {\n\t\t\t\t\t\ttype: types_1.SelectorType.Attribute,\n\t\t\t\t\t\tname: name_1,\n\t\t\t\t\t\taction,\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\tnamespace,\n\t\t\t\t\t\tignoreCase\n\t\t\t\t\t};\n\t\t\t\t\ttokens.push(attributeSelector);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 58:\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) === 58) {\n\t\t\t\t\t\ttokens.push({\n\t\t\t\t\t\t\ttype: types_1.SelectorType.PseudoElement,\n\t\t\t\t\t\t\tname: getName(2).toLowerCase(),\n\t\t\t\t\t\t\tdata: selector.charCodeAt(selectorIndex) === 40 ? readValueWithParenthesis() : null\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tvar name_2 = getName(1).toLowerCase();\n\t\t\t\t\tvar data = null;\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 40) if (unpackPseudos.has(name_2)) {\n\t\t\t\t\t\tif (isQuote(selector.charCodeAt(selectorIndex + 1))) throw new Error(\"Pseudo-selector \".concat(name_2, \" cannot be quoted\"));\n\t\t\t\t\t\tdata = [];\n\t\t\t\t\t\tselectorIndex = parseSelector(data, selector, selectorIndex + 1);\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex) !== 41) throw new Error(\"Missing closing parenthesis in :\".concat(name_2, \" (\").concat(selector, \")\"));\n\t\t\t\t\t\tselectorIndex += 1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdata = readValueWithParenthesis();\n\t\t\t\t\t\tif (stripQuotesFromPseudos.has(name_2)) {\n\t\t\t\t\t\t\tvar quot = data.charCodeAt(0);\n\t\t\t\t\t\t\tif (quot === data.charCodeAt(data.length - 1) && isQuote(quot)) data = data.slice(1, -1);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdata = unescapeCSS(data);\n\t\t\t\t\t}\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype: types_1.SelectorType.Pseudo,\n\t\t\t\t\t\tname: name_2,\n\t\t\t\t\t\tdata\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t\tcase 44:\n\t\t\t\t\tfinalizeSubselector();\n\t\t\t\t\ttokens = [];\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (selector.startsWith(\"/*\", selectorIndex)) {\n\t\t\t\t\t\tvar endIndex = selector.indexOf(\"*/\", selectorIndex + 2);\n\t\t\t\t\t\tif (endIndex < 0) throw new Error(\"Comment was not terminated\");\n\t\t\t\t\t\tselectorIndex = endIndex + 2;\n\t\t\t\t\t\tif (tokens.length === 0) stripWhitespace(0);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tvar namespace = null;\n\t\t\t\t\tvar name_3 = void 0;\n\t\t\t\t\tif (firstChar === 42) {\n\t\t\t\t\t\tselectorIndex += 1;\n\t\t\t\t\t\tname_3 = \"*\";\n\t\t\t\t\t} else if (firstChar === 124) {\n\t\t\t\t\t\tname_3 = \"\";\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) === 124) {\n\t\t\t\t\t\t\taddTraversal(types_1.SelectorType.ColumnCombinator);\n\t\t\t\t\t\t\tstripWhitespace(2);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (reName.test(selector.slice(selectorIndex))) name_3 = getName(0);\n\t\t\t\t\telse break loop;\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 124 && selector.charCodeAt(selectorIndex + 1) !== 124) {\n\t\t\t\t\t\tnamespace = name_3;\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) === 42) {\n\t\t\t\t\t\t\tname_3 = \"*\";\n\t\t\t\t\t\t\tselectorIndex += 2;\n\t\t\t\t\t\t} else name_3 = getName(1);\n\t\t\t\t\t}\n\t\t\t\t\ttokens.push(name_3 === \"*\" ? {\n\t\t\t\t\t\ttype: types_1.SelectorType.Universal,\n\t\t\t\t\t\tnamespace\n\t\t\t\t\t} : {\n\t\t\t\t\t\ttype: types_1.SelectorType.Tag,\n\t\t\t\t\t\tname: name_3,\n\t\t\t\t\t\tnamespace\n\t\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tfinalizeSubselector();\n\t\treturn selectorIndex;\n\t}\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/stringify.js\nvar require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tvar __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {\n\t\tif (pack || arguments.length === 2) {\n\t\t\tfor (var i = 0, l = from.length, ar; i < l; i++) if (ar || !(i in from)) {\n\t\t\t\tif (!ar) ar = Array.prototype.slice.call(from, 0, i);\n\t\t\t\tar[i] = from[i];\n\t\t\t}\n\t\t}\n\t\treturn to.concat(ar || Array.prototype.slice.call(from));\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.stringify = void 0;\n\tvar types_1 = require_types();\n\tvar attribValChars = [\"\\\\\", \"\\\"\"];\n\tvar pseudoValChars = __spreadArray(__spreadArray([], attribValChars, true), [\"(\", \")\"], false);\n\tvar charsToEscapeInAttributeValue = new Set(attribValChars.map(function(c) {\n\t\treturn c.charCodeAt(0);\n\t}));\n\tvar charsToEscapeInPseudoValue = new Set(pseudoValChars.map(function(c) {\n\t\treturn c.charCodeAt(0);\n\t}));\n\tvar charsToEscapeInName = new Set(__spreadArray(__spreadArray([], pseudoValChars, true), [\n\t\t\"~\",\n\t\t\"^\",\n\t\t\"$\",\n\t\t\"*\",\n\t\t\"+\",\n\t\t\"!\",\n\t\t\"|\",\n\t\t\":\",\n\t\t\"[\",\n\t\t\"]\",\n\t\t\" \",\n\t\t\".\"\n\t], false).map(function(c) {\n\t\treturn c.charCodeAt(0);\n\t}));\n\t/**\n\t* Turns `selector` back into a string.\n\t*\n\t* @param selector Selector to stringify.\n\t*/\n\tfunction stringify(selector) {\n\t\treturn selector.map(function(token) {\n\t\t\treturn token.map(stringifyToken).join(\"\");\n\t\t}).join(\", \");\n\t}\n\texports.stringify = stringify;\n\tfunction stringifyToken(token, index, arr) {\n\t\tswitch (token.type) {\n\t\t\tcase types_1.SelectorType.Child: return index === 0 ? \"> \" : \" > \";\n\t\t\tcase types_1.SelectorType.Parent: return index === 0 ? \"< \" : \" < \";\n\t\t\tcase types_1.SelectorType.Sibling: return index === 0 ? \"~ \" : \" ~ \";\n\t\t\tcase types_1.SelectorType.Adjacent: return index === 0 ? \"+ \" : \" + \";\n\t\t\tcase types_1.SelectorType.Descendant: return \" \";\n\t\t\tcase types_1.SelectorType.ColumnCombinator: return index === 0 ? \"|| \" : \" || \";\n\t\t\tcase types_1.SelectorType.Universal: return token.namespace === \"*\" && index + 1 < arr.length && \"name\" in arr[index + 1] ? \"\" : \"\".concat(getNamespace(token.namespace), \"*\");\n\t\t\tcase types_1.SelectorType.Tag: return getNamespacedName(token);\n\t\t\tcase types_1.SelectorType.PseudoElement: return \"::\".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? \"\" : \"(\".concat(escapeName(token.data, charsToEscapeInPseudoValue), \")\"));\n\t\t\tcase types_1.SelectorType.Pseudo: return \":\".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? \"\" : \"(\".concat(typeof token.data === \"string\" ? escapeName(token.data, charsToEscapeInPseudoValue) : stringify(token.data), \")\"));\n\t\t\tcase types_1.SelectorType.Attribute:\n\t\t\t\tif (token.name === \"id\" && token.action === types_1.AttributeAction.Equals && token.ignoreCase === \"quirks\" && !token.namespace) return \"#\".concat(escapeName(token.value, charsToEscapeInName));\n\t\t\t\tif (token.name === \"class\" && token.action === types_1.AttributeAction.Element && token.ignoreCase === \"quirks\" && !token.namespace) return \".\".concat(escapeName(token.value, charsToEscapeInName));\n\t\t\t\tvar name_1 = getNamespacedName(token);\n\t\t\t\tif (token.action === types_1.AttributeAction.Exists) return \"[\".concat(name_1, \"]\");\n\t\t\t\treturn \"[\".concat(name_1).concat(getActionValue(token.action), \"=\\\"\").concat(escapeName(token.value, charsToEscapeInAttributeValue), \"\\\"\").concat(token.ignoreCase === null ? \"\" : token.ignoreCase ? \" i\" : \" s\", \"]\");\n\t\t}\n\t}\n\tfunction getActionValue(action) {\n\t\tswitch (action) {\n\t\t\tcase types_1.AttributeAction.Equals: return \"\";\n\t\t\tcase types_1.AttributeAction.Element: return \"~\";\n\t\t\tcase types_1.AttributeAction.Start: return \"^\";\n\t\t\tcase types_1.AttributeAction.End: return \"$\";\n\t\t\tcase types_1.AttributeAction.Any: return \"*\";\n\t\t\tcase types_1.AttributeAction.Not: return \"!\";\n\t\t\tcase types_1.AttributeAction.Hyphen: return \"|\";\n\t\t\tcase types_1.AttributeAction.Exists: throw new Error(\"Shouldn't be here\");\n\t\t}\n\t}\n\tfunction getNamespacedName(token) {\n\t\treturn \"\".concat(getNamespace(token.namespace)).concat(escapeName(token.name, charsToEscapeInName));\n\t}\n\tfunction getNamespace(namespace) {\n\t\treturn namespace !== null ? \"\".concat(namespace === \"*\" ? \"*\" : escapeName(namespace, charsToEscapeInName), \"|\") : \"\";\n\t}\n\tfunction escapeName(str, charsToEscape) {\n\t\tvar lastIdx = 0;\n\t\tvar ret = \"\";\n\t\tfor (var i = 0; i < str.length; i++) if (charsToEscape.has(str.charCodeAt(i))) {\n\t\t\tret += \"\".concat(str.slice(lastIdx, i), \"\\\\\").concat(str.charAt(i));\n\t\t\tlastIdx = i + 1;\n\t\t}\n\t\treturn ret.length > 0 ? ret + str.slice(lastIdx) : str;\n\t}\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/index.js\nvar require_commonjs = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tvar __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {\n\t\tif (k2 === void 0) k2 = k;\n\t\tvar desc = Object.getOwnPropertyDescriptor(m, k);\n\t\tif (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn m[k];\n\t\t\t}\n\t\t};\n\t\tObject.defineProperty(o, k2, desc);\n\t}) : (function(o, m, k, k2) {\n\t\tif (k2 === void 0) k2 = k;\n\t\to[k2] = m[k];\n\t}));\n\tvar __exportStar = exports && exports.__exportStar || function(m, exports$1) {\n\t\tfor (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.stringify = exports.parse = exports.isTraversal = void 0;\n\t__exportStar(require_types(), exports);\n\tvar parse_1 = require_parse();\n\tObject.defineProperty(exports, \"isTraversal\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn parse_1.isTraversal;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"parse\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn parse_1.parse;\n\t\t}\n\t});\n\tvar stringify_1 = require_stringify();\n\tObject.defineProperty(exports, \"stringify\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn stringify_1.stringify;\n\t\t}\n\t});\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/dedent@1.7.1/node_modules/dedent/dist/dedent.mjs\nvar import_commonjs = require_commonjs();\nfunction ownKeys$2(object, enumerableOnly) {\n\tvar keys = Object.keys(object);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar symbols = Object.getOwnPropertySymbols(object);\n\t\tenumerableOnly && (symbols = symbols.filter(function(sym) {\n\t\t\treturn Object.getOwnPropertyDescriptor(object, sym).enumerable;\n\t\t})), keys.push.apply(keys, symbols);\n\t}\n\treturn keys;\n}\nfunction _objectSpread(target) {\n\tfor (var i = 1; i < arguments.length; i++) {\n\t\tvar source = null != arguments[i] ? arguments[i] : {};\n\t\ti % 2 ? ownKeys$2(Object(source), !0).forEach(function(key) {\n\t\t\t_defineProperty$2(target, key, source[key]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function(key) {\n\t\t\tObject.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n\t\t});\n\t}\n\treturn target;\n}\nfunction _defineProperty$2(obj, key, value) {\n\tkey = _toPropertyKey(key);\n\tif (key in obj) Object.defineProperty(obj, key, {\n\t\tvalue,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\telse obj[key] = value;\n\treturn obj;\n}\nfunction _toPropertyKey(arg) {\n\tvar key = _toPrimitive(arg, \"string\");\n\treturn typeof key === \"symbol\" ? key : String(key);\n}\nfunction _toPrimitive(input, hint) {\n\tif (typeof input !== \"object\" || input === null) return input;\n\tvar prim = input[Symbol.toPrimitive];\n\tif (prim !== void 0) {\n\t\tvar res = prim.call(input, hint || \"default\");\n\t\tif (typeof res !== \"object\") return res;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (hint === \"string\" ? String : Number)(input);\n}\nconst dedent = createDedent({});\nvar dedent_default = dedent;\nfunction createDedent(options) {\n\tdedent.withOptions = (newOptions) => createDedent(_objectSpread(_objectSpread({}, options), newOptions));\n\treturn dedent;\n\tfunction dedent(strings, ...values) {\n\t\tconst raw = typeof strings === \"string\" ? [strings] : strings.raw;\n\t\tconst { alignValues = false, escapeSpecialCharacters = Array.isArray(strings), trimWhitespace = true } = options;\n\t\tlet result = \"\";\n\t\tfor (let i = 0; i < raw.length; i++) {\n\t\t\tlet next = raw[i];\n\t\t\tif (escapeSpecialCharacters) next = next.replace(/\\\\\\n[ \\t]*/g, \"\").replace(/\\\\`/g, \"`\").replace(/\\\\\\$/g, \"$\").replace(/\\\\\\{/g, \"{\");\n\t\t\tresult += next;\n\t\t\tif (i < values.length) {\n\t\t\t\tconst value = alignValues ? alignValue(values[i], result) : values[i];\n\t\t\t\tresult += value;\n\t\t\t}\n\t\t}\n\t\tconst lines = result.split(\"\\n\");\n\t\tlet mindent = null;\n\t\tfor (const l of lines) {\n\t\t\tconst m = l.match(/^(\\s+)\\S+/);\n\t\t\tif (m) {\n\t\t\t\tconst indent = m[1].length;\n\t\t\t\tif (!mindent) mindent = indent;\n\t\t\t\telse mindent = Math.min(mindent, indent);\n\t\t\t}\n\t\t}\n\t\tif (mindent !== null) {\n\t\t\tconst m = mindent;\n\t\t\tresult = lines.map((l) => l[0] === \" \" || l[0] === \"\t\" ? l.slice(m) : l).join(\"\\n\");\n\t\t}\n\t\tif (trimWhitespace) result = result.trim();\n\t\tif (escapeSpecialCharacters) result = result.replace(/\\\\n/g, \"\\n\");\n\t\tif (typeof Bun !== \"undefined\") result = result.replace(/\\\\u(?:\\{([\\da-fA-F]{1,6})\\}|([\\da-fA-F]{4}))/g, (_, braced, unbraced) => {\n\t\t\tvar _ref;\n\t\t\tconst hex = (_ref = braced !== null && braced !== void 0 ? braced : unbraced) !== null && _ref !== void 0 ? _ref : \"\";\n\t\t\treturn String.fromCodePoint(parseInt(hex, 16));\n\t\t});\n\t\treturn result;\n\t}\n}\n/**\n* Adjusts the indentation of a multi-line interpolated value to match the current line.\n*/\nfunction alignValue(value, precedingText) {\n\tif (typeof value !== \"string\" || !value.includes(\"\\n\")) return value;\n\tconst indentMatch = precedingText.slice(precedingText.lastIndexOf(\"\\n\") + 1).match(/^(\\s+)/);\n\tif (indentMatch) {\n\t\tconst indent = indentMatch[1];\n\t\treturn value.replace(/\\n/g, `\\n${indent}`);\n\t}\n\treturn value;\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/index.js\n/*! @license MediaQueryParser - MIT License - Tom Golden (github@tbjgolden.com) */\nvar require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t/*! *****************************************************************************\n\tCopyright (c) Microsoft Corporation.\n\t\n\tPermission to use, copy, modify, and/or distribute this software for any\n\tpurpose with or without fee is hereby granted.\n\t\n\tTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n\tREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n\tAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n\tINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n\tLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n\tOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n\tPERFORMANCE OF THIS SOFTWARE.\n\t***************************************************************************** */\n\tvar __assign = function() {\n\t\t__assign = Object.assign || function __assign(t) {\n\t\t\tfor (var s, i = 1, n = arguments.length; i < n; i++) {\n\t\t\t\ts = arguments[i];\n\t\t\t\tfor (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n\t\t\t}\n\t\t\treturn t;\n\t\t};\n\t\treturn __assign.apply(this, arguments);\n\t};\n\tfunction __rest(s, e) {\n\t\tvar t = {};\n\t\tfor (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n\t\tif (s != null && typeof Object.getOwnPropertySymbols === \"function\") {\n\t\t\tfor (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n\t\t}\n\t\treturn t;\n\t}\n\tfunction __values(o) {\n\t\tvar s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n\t\tif (m) return m.call(o);\n\t\tif (o && typeof o.length === \"number\") return { next: function() {\n\t\t\tif (o && i >= o.length) o = void 0;\n\t\t\treturn {\n\t\t\t\tvalue: o && o[i++],\n\t\t\t\tdone: !o\n\t\t\t};\n\t\t} };\n\t\tthrow new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n\t}\n\tfunction __read(o, n) {\n\t\tvar m = typeof Symbol === \"function\" && o[Symbol.iterator];\n\t\tif (!m) return o;\n\t\tvar i = m.call(o), r, ar = [], e;\n\t\ttry {\n\t\t\twhile ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n\t\t} catch (error) {\n\t\t\te = { error };\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (r && !r.done && (m = i[\"return\"])) m.call(i);\n\t\t\t} finally {\n\t\t\t\tif (e) throw e.error;\n\t\t\t}\n\t\t}\n\t\treturn ar;\n\t}\n\tvar weirdNewlines = /(\\u000D|\\u000C|\\u000D\\u000A)/g;\n\tvar nullOrSurrogates = /[\\u0000\\uD800-\\uDFFF]/g;\n\tvar commentRegex = /(\\/\\*)[\\s\\S]*?(\\*\\/)/g;\n\tvar lexicalAnalysis = function lexicalAnalysis(str, index) {\n\t\tif (index === void 0) index = 0;\n\t\tstr = str.replace(weirdNewlines, \"\\n\").replace(nullOrSurrogates, \"�\");\n\t\tstr = str.replace(commentRegex, \"\");\n\t\tvar tokens = [];\n\t\tfor (; index < str.length; index += 1) {\n\t\t\tvar code = str.charCodeAt(index);\n\t\t\tif (code === 9 || code === 32 || code === 10) {\n\t\t\t\tvar code_1 = str.charCodeAt(++index);\n\t\t\t\twhile (code_1 === 9 || code_1 === 32 || code_1 === 10) code_1 = str.charCodeAt(++index);\n\t\t\t\tindex -= 1;\n\t\t\t\ttokens.push({ type: \"<whitespace-token>\" });\n\t\t\t} else if (code === 34) {\n\t\t\t\tvar result = consumeString(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], value = _a[1];\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<string-token>\",\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else if (code === 35) {\n\t\t\t\tif (index + 1 < str.length) {\n\t\t\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\t\t\tif (nextCode === 95 || nextCode >= 65 && nextCode <= 90 || nextCode >= 97 && nextCode <= 122 || nextCode >= 128 || nextCode >= 48 && nextCode <= 57 || nextCode === 92 && index + 2 < str.length && str.charCodeAt(index + 2) !== 10) {\n\t\t\t\t\t\tvar flag = wouldStartIdentifier(str, index + 1) ? \"id\" : \"unrestricted\";\n\t\t\t\t\t\tvar result = consumeIdentUnsafe(str, index + 1);\n\t\t\t\t\t\tif (result !== null) {\n\t\t\t\t\t\t\tvar _b = __read(result, 2), lastIndex = _b[0], value = _b[1];\n\t\t\t\t\t\t\ttokens.push({\n\t\t\t\t\t\t\t\ttype: \"<hash-token>\",\n\t\t\t\t\t\t\t\tvalue: value.toLowerCase(),\n\t\t\t\t\t\t\t\tflag\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 39) {\n\t\t\t\tvar result = consumeString(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _c = __read(result, 2), lastIndex = _c[0], value = _c[1];\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<string-token>\",\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else if (code === 40) tokens.push({ type: \"<(-token>\" });\n\t\t\telse if (code === 41) tokens.push({ type: \"<)-token>\" });\n\t\t\telse if (code === 43) {\n\t\t\t\tvar plusNumeric = consumeNumeric(str, index);\n\t\t\t\tif (plusNumeric === null) tokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t\telse {\n\t\t\t\t\tvar _d = __read(plusNumeric, 2), lastIndex = _d[0], tokenTuple = _d[1];\n\t\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t\t});\n\t\t\t\t\telse tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t}\n\t\t\t} else if (code === 44) tokens.push({ type: \"<comma-token>\" });\n\t\t\telse if (code === 45) {\n\t\t\t\tvar minusNumeric = consumeNumeric(str, index);\n\t\t\t\tif (minusNumeric !== null) {\n\t\t\t\t\tvar _e = __read(minusNumeric, 2), lastIndex = _e[0], tokenTuple = _e[1];\n\t\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t\t});\n\t\t\t\t\telse tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (index + 2 < str.length) {\n\t\t\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\t\t\tvar nextNextCode = str.charCodeAt(index + 2);\n\t\t\t\t\tif (nextCode === 45 && nextNextCode === 62) {\n\t\t\t\t\t\ttokens.push({ type: \"<CDC-token>\" });\n\t\t\t\t\t\tindex += 2;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvar result = consumeIdentLike(str, index);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _f = __read(result, 3), lastIndex = _f[0], value = _f[1], type = _f[2];\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 46) {\n\t\t\t\tvar minusNumeric = consumeNumeric(str, index);\n\t\t\t\tif (minusNumeric === null) tokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t\telse {\n\t\t\t\t\tvar _g = __read(minusNumeric, 2), lastIndex = _g[0], tokenTuple = _g[1];\n\t\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t\t});\n\t\t\t\t\telse tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else if (code === 58) tokens.push({ type: \"<colon-token>\" });\n\t\t\telse if (code === 59) tokens.push({ type: \"<semicolon-token>\" });\n\t\t\telse if (code === 60) {\n\t\t\t\tif (index + 3 < str.length) {\n\t\t\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\t\t\tvar nextNextCode = str.charCodeAt(index + 2);\n\t\t\t\t\tvar nextNextNextCode = str.charCodeAt(index + 3);\n\t\t\t\t\tif (nextCode === 33 && nextNextCode === 45 && nextNextNextCode === 45) {\n\t\t\t\t\t\ttokens.push({ type: \"<CDO-token>\" });\n\t\t\t\t\t\tindex += 3;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 64) {\n\t\t\t\tvar result = consumeIdent(str, index + 1);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _h = __read(result, 2), lastIndex = _h[0], value = _h[1];\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype: \"<at-keyword-token>\",\n\t\t\t\t\t\tvalue: value.toLowerCase()\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 91) tokens.push({ type: \"<[-token>\" });\n\t\t\telse if (code === 92) {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _j = __read(result, 2), lastIndex = _j[0], value = _j[1];\n\t\t\t\tstr = str.slice(0, index) + value + str.slice(lastIndex + 1);\n\t\t\t\tindex -= 1;\n\t\t\t} else if (code === 93) tokens.push({ type: \"<]-token>\" });\n\t\t\telse if (code === 123) tokens.push({ type: \"<{-token>\" });\n\t\t\telse if (code === 125) tokens.push({ type: \"<}-token>\" });\n\t\t\telse if (code >= 48 && code <= 57) {\n\t\t\t\tvar result = consumeNumeric(str, index);\n\t\t\t\tvar _k = __read(result, 2), lastIndex = _k[0], tokenTuple = _k[1];\n\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\tflag: \"number\"\n\t\t\t\t});\n\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t});\n\t\t\t\telse tokens.push({\n\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\tflag: \"number\"\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else if (code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128) {\n\t\t\t\tvar result = consumeIdentLike(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _l = __read(result, 3), lastIndex = _l[0], value = _l[1], type = _l[2];\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype,\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else tokens.push({\n\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\tvalue: code\n\t\t\t});\n\t\t}\n\t\ttokens.push({ type: \"<EOF-token>\" });\n\t\treturn tokens;\n\t};\n\tvar consumeString = function consumeString(str, index) {\n\t\tif (str.length <= index + 1) return null;\n\t\tvar firstCode = str.charCodeAt(index);\n\t\tvar charCodes = [];\n\t\tfor (var i = index + 1; i < str.length; i += 1) {\n\t\t\tvar code = str.charCodeAt(i);\n\t\t\tif (code === firstCode) return [i, String.fromCharCode.apply(null, charCodes)];\n\t\t\telse if (code === 92) {\n\t\t\t\tvar result = consumeEscape(str, i);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], charCode = _a[1];\n\t\t\t\tcharCodes.push(charCode);\n\t\t\t\ti = lastIndex;\n\t\t\t} else if (code === 10) return null;\n\t\t\telse charCodes.push(code);\n\t\t}\n\t\treturn null;\n\t};\n\tvar wouldStartIdentifier = function wouldStartIdentifier(str, index) {\n\t\tif (str.length <= index) return false;\n\t\tvar code = str.charCodeAt(index);\n\t\tif (code === 45) {\n\t\t\tif (str.length <= index + 1) return false;\n\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\tif (nextCode === 45 || nextCode === 95 || nextCode >= 65 && nextCode <= 90 || nextCode >= 97 && nextCode <= 122 || nextCode >= 128) return true;\n\t\t\telse if (nextCode === 92) {\n\t\t\t\tif (str.length <= index + 2) return false;\n\t\t\t\treturn str.charCodeAt(index + 2) !== 10;\n\t\t\t} else return false;\n\t\t} else if (code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128) return true;\n\t\telse if (code === 92) {\n\t\t\tif (str.length <= index + 1) return false;\n\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\treturn nextCode !== 10;\n\t\t} else return false;\n\t};\n\tvar consumeEscape = function consumeEscape(str, index) {\n\t\tif (str.length <= index + 1) return null;\n\t\tif (str.charCodeAt(index) !== 92) return null;\n\t\tvar code = str.charCodeAt(index + 1);\n\t\tif (code === 10) return null;\n\t\telse if (code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102) {\n\t\t\tvar hexCharCodes = [code];\n\t\t\tvar min = Math.min(index + 7, str.length);\n\t\t\tvar i = index + 2;\n\t\t\tfor (; i < min; i += 1) {\n\t\t\t\tvar code_2 = str.charCodeAt(i);\n\t\t\t\tif (code_2 >= 48 && code_2 <= 57 || code_2 >= 65 && code_2 <= 70 || code_2 >= 97 && code_2 <= 102) hexCharCodes.push(code_2);\n\t\t\t\telse break;\n\t\t\t}\n\t\t\tif (i < str.length) {\n\t\t\t\tvar code_3 = str.charCodeAt(i);\n\t\t\t\tif (code_3 === 9 || code_3 === 32 || code_3 === 10) i += 1;\n\t\t\t}\n\t\t\treturn [i - 1, parseInt(String.fromCharCode.apply(null, hexCharCodes), 16)];\n\t\t} else return [index + 1, code];\n\t};\n\tvar consumeNumeric = function consumeNumeric(str, index) {\n\t\tvar numberResult = consumeNumber(str, index);\n\t\tif (numberResult === null) return null;\n\t\tvar _a = __read(numberResult, 3), numberEndIndex = _a[0], numberValue = _a[1], numberFlag = _a[2];\n\t\tvar identResult = consumeIdent(str, numberEndIndex + 1);\n\t\tif (identResult !== null) {\n\t\t\tvar _b = __read(identResult, 2);\n\t\t\treturn [_b[0], [\n\t\t\t\t\"<dimension-token>\",\n\t\t\t\tnumberValue,\n\t\t\t\t_b[1]\n\t\t\t]];\n\t\t}\n\t\tif (numberEndIndex + 1 < str.length && str.charCodeAt(numberEndIndex + 1) === 37) return [numberEndIndex + 1, [\"<percentage-token>\", numberValue]];\n\t\treturn [numberEndIndex, [\n\t\t\t\"<number-token>\",\n\t\t\tnumberValue,\n\t\t\tnumberFlag\n\t\t]];\n\t};\n\tvar consumeNumber = function consumeNumber(str, index) {\n\t\tif (str.length <= index) return null;\n\t\tvar flag = \"integer\";\n\t\tvar numberChars = [];\n\t\tvar firstCode = str.charCodeAt(index);\n\t\tif (firstCode === 43 || firstCode === 45) {\n\t\t\tindex += 1;\n\t\t\tif (firstCode === 45) numberChars.push(45);\n\t\t}\n\t\twhile (index < str.length) {\n\t\t\tvar code = str.charCodeAt(index);\n\t\t\tif (code >= 48 && code <= 57) {\n\t\t\t\tnumberChars.push(code);\n\t\t\t\tindex += 1;\n\t\t\t} else break;\n\t\t}\n\t\tif (index + 1 < str.length) {\n\t\t\tvar nextCode = str.charCodeAt(index);\n\t\t\tvar nextNextCode = str.charCodeAt(index + 1);\n\t\t\tif (nextCode === 46 && nextNextCode >= 48 && nextNextCode <= 57) {\n\t\t\t\tnumberChars.push(nextCode, nextNextCode);\n\t\t\t\tflag = \"number\";\n\t\t\t\tindex += 2;\n\t\t\t\twhile (index < str.length) {\n\t\t\t\t\tvar code = str.charCodeAt(index);\n\t\t\t\t\tif (code >= 48 && code <= 57) {\n\t\t\t\t\t\tnumberChars.push(code);\n\t\t\t\t\t\tindex += 1;\n\t\t\t\t\t} else break;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (index + 1 < str.length) {\n\t\t\tvar nextCode = str.charCodeAt(index);\n\t\t\tvar nextNextCode = str.charCodeAt(index + 1);\n\t\t\tvar nextNextNextCode = str.charCodeAt(index + 2);\n\t\t\tif (nextCode === 69 || nextCode === 101) {\n\t\t\t\tvar nextNextIsDigit = nextNextCode >= 48 && nextNextCode <= 57;\n\t\t\t\tif (nextNextIsDigit || (nextNextCode === 43 || nextNextCode === 45) && nextNextNextCode >= 48 && nextNextNextCode <= 57) {\n\t\t\t\t\tflag = \"number\";\n\t\t\t\t\tif (nextNextIsDigit) {\n\t\t\t\t\t\tnumberChars.push(69, nextNextCode);\n\t\t\t\t\t\tindex += 2;\n\t\t\t\t\t} else if (nextNextCode === 45) {\n\t\t\t\t\t\tnumberChars.push(69, 45, nextNextNextCode);\n\t\t\t\t\t\tindex += 3;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnumberChars.push(69, nextNextNextCode);\n\t\t\t\t\t\tindex += 3;\n\t\t\t\t\t}\n\t\t\t\t\twhile (index < str.length) {\n\t\t\t\t\t\tvar code = str.charCodeAt(index);\n\t\t\t\t\t\tif (code >= 48 && code <= 57) {\n\t\t\t\t\t\t\tnumberChars.push(code);\n\t\t\t\t\t\t\tindex += 1;\n\t\t\t\t\t\t} else break;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tvar numberString = String.fromCharCode.apply(null, numberChars);\n\t\tvar value = flag === \"number\" ? parseFloat(numberString) : parseInt(numberString);\n\t\tif (value === -0) value = 0;\n\t\treturn Number.isNaN(value) ? null : [\n\t\t\tindex - 1,\n\t\t\tvalue,\n\t\t\tflag\n\t\t];\n\t};\n\tvar consumeIdentUnsafe = function consumeIdentUnsafe(str, index) {\n\t\tif (str.length <= index) return null;\n\t\tvar identChars = [];\n\t\tfor (var code = str.charCodeAt(index); index < str.length; code = str.charCodeAt(++index)) {\n\t\t\tif (code === 45 || code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128 || code >= 48 && code <= 57) {\n\t\t\t\tidentChars.push(code);\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], code_4 = _a[1];\n\t\t\t\t\tidentChars.push(code_4);\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\treturn index === 0 ? null : [index - 1, String.fromCharCode.apply(null, identChars)];\n\t};\n\tvar consumeIdent = function consumeIdent(str, index) {\n\t\tif (str.length <= index || !wouldStartIdentifier(str, index)) return null;\n\t\tvar identChars = [];\n\t\tfor (var code = str.charCodeAt(index); index < str.length; code = str.charCodeAt(++index)) {\n\t\t\tif (code === 45 || code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128 || code >= 48 && code <= 57) {\n\t\t\t\tidentChars.push(code);\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], code_5 = _a[1];\n\t\t\t\t\tidentChars.push(code_5);\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\treturn [index - 1, String.fromCharCode.apply(null, identChars)];\n\t};\n\tvar consumeUrl = function consumeUrl(str, index) {\n\t\tvar code = str.charCodeAt(index);\n\t\twhile (code === 9 || code === 32 || code === 10) code = str.charCodeAt(++index);\n\t\tvar urlChars = [];\n\t\tvar hasFinishedWord = false;\n\t\twhile (index < str.length) {\n\t\t\tif (code === 41) return [index, String.fromCharCode.apply(null, urlChars)];\n\t\t\telse if (code === 34 || code === 39 || code === 40) return null;\n\t\t\telse if (code === 9 || code === 32 || code === 10) {\n\t\t\t\tif (!hasFinishedWord && urlChars.length !== 0) hasFinishedWord = true;\n\t\t\t} else if (code === 92) {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result === null || hasFinishedWord) return null;\n\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], value = _a[1];\n\t\t\t\turlChars.push(value);\n\t\t\t\tindex = lastIndex;\n\t\t\t} else {\n\t\t\t\tif (hasFinishedWord) return null;\n\t\t\t\turlChars.push(code);\n\t\t\t}\n\t\t\tcode = str.charCodeAt(++index);\n\t\t}\n\t\treturn null;\n\t};\n\tvar consumeIdentLike = function consumeIdentLike(str, index) {\n\t\tvar result = consumeIdent(str, index);\n\t\tif (result === null) return null;\n\t\tvar _a = __read(result, 2), lastIndex = _a[0], value = _a[1];\n\t\tif (value.toLowerCase() === \"url\") {\n\t\t\tif (str.length > lastIndex + 1) {\n\t\t\t\tvar nextCode = str.charCodeAt(lastIndex + 1);\n\t\t\t\tif (nextCode === 40) {\n\t\t\t\t\tfor (var offset = 2; lastIndex + offset < str.length; offset += 1) {\n\t\t\t\t\t\tvar nextNextCode = str.charCodeAt(lastIndex + offset);\n\t\t\t\t\t\tif (nextNextCode === 34 || nextNextCode === 39) return [\n\t\t\t\t\t\t\tlastIndex + 1,\n\t\t\t\t\t\t\tvalue.toLowerCase(),\n\t\t\t\t\t\t\t\"<function-token>\"\n\t\t\t\t\t\t];\n\t\t\t\t\t\telse if (nextNextCode !== 9 && nextNextCode !== 32 && nextNextCode !== 10) {\n\t\t\t\t\t\t\tvar result_1 = consumeUrl(str, lastIndex + offset);\n\t\t\t\t\t\t\tif (result_1 === null) return null;\n\t\t\t\t\t\t\tvar _b = __read(result_1, 2);\n\t\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\t\t_b[0],\n\t\t\t\t\t\t\t\t_b[1],\n\t\t\t\t\t\t\t\t\"<url-token>\"\n\t\t\t\t\t\t\t];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn [\n\t\t\t\t\t\tlastIndex + 1,\n\t\t\t\t\t\tvalue.toLowerCase(),\n\t\t\t\t\t\t\"<function-token>\"\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (str.length > lastIndex + 1) {\n\t\t\tvar nextCode = str.charCodeAt(lastIndex + 1);\n\t\t\tif (nextCode === 40) return [\n\t\t\t\tlastIndex + 1,\n\t\t\t\tvalue.toLowerCase(),\n\t\t\t\t\"<function-token>\"\n\t\t\t];\n\t\t}\n\t\treturn [\n\t\t\tlastIndex,\n\t\t\tvalue.toLowerCase(),\n\t\t\t\"<ident-token>\"\n\t\t];\n\t};\n\tvar simplifyAST = function simplifyAST(ast) {\n\t\tfor (var i = ast.length - 1; i >= 0; i--) ast[i] = simplifyMediaQuery(ast[i]);\n\t\treturn ast;\n\t};\n\tvar simplifyMediaQuery = function simplifyMediaQuery(mediaQuery) {\n\t\tif (mediaQuery.mediaCondition === null) return mediaQuery;\n\t\tvar mediaCondition = simplifyMediaCondition(mediaQuery.mediaCondition);\n\t\tif (mediaCondition.operator === null && mediaCondition.children.length === 1 && \"children\" in mediaCondition.children[0]) mediaCondition = mediaCondition.children[0];\n\t\treturn {\n\t\t\tmediaPrefix: mediaQuery.mediaPrefix,\n\t\t\tmediaType: mediaQuery.mediaType,\n\t\t\tmediaCondition\n\t\t};\n\t};\n\tvar simplifyMediaCondition = function simplifyMediaCondition(mediaCondition) {\n\t\tfor (var i = mediaCondition.children.length - 1; i >= 0; i--) {\n\t\t\tvar unsimplifiedChild = mediaCondition.children[i];\n\t\t\tif (!(\"context\" in unsimplifiedChild)) {\n\t\t\t\tvar child = simplifyMediaCondition(unsimplifiedChild);\n\t\t\t\tif (child.operator === null && child.children.length === 1) mediaCondition.children[i] = child.children[0];\n\t\t\t\telse if (child.operator === mediaCondition.operator && (child.operator === \"and\" || child.operator === \"or\")) {\n\t\t\t\t\tvar spliceArgs = [i, 1];\n\t\t\t\t\tfor (var i_1 = 0; i_1 < child.children.length; i_1++) spliceArgs.push(child.children[i_1]);\n\t\t\t\t\tmediaCondition.children.splice.apply(mediaCondition.children, spliceArgs);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn mediaCondition;\n\t};\n\tvar createError = function createError(message, err) {\n\t\tif (err instanceof Error) return new Error(\"\".concat(err.message.trim(), \"\\n\").concat(message.trim()));\n\t\telse return new Error(message.trim());\n\t};\n\tvar toAST = function toAST(str) {\n\t\treturn simplifyAST(toUnflattenedAST(str));\n\t};\n\tvar toUnflattenedAST = function toUnflattenedAST(str) {\n\t\tvar tokenList = lexicalAnalysis(str.trim());\n\t\tif (tokenList === null) throw createError(\"Failed tokenizing\");\n\t\tvar startIndex = 0;\n\t\tvar endIndex = tokenList.length - 1;\n\t\tif (tokenList[0].type === \"<at-keyword-token>\" && tokenList[0].value === \"media\") {\n\t\t\tif (tokenList[1].type !== \"<whitespace-token>\") throw createError(\"Expected whitespace after media\");\n\t\t\tstartIndex = 2;\n\t\t\tfor (var i = 2; i < tokenList.length - 1; i++) {\n\t\t\t\tvar token = tokenList[i];\n\t\t\t\tif (token.type === \"<{-token>\") {\n\t\t\t\t\tendIndex = i;\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (token.type === \"<semicolon-token>\") throw createError(\"Expected '{' in media query but found ';'\");\n\t\t\t}\n\t\t}\n\t\ttokenList = tokenList.slice(startIndex, endIndex);\n\t\treturn syntacticAnalysis(tokenList);\n\t};\n\tvar removeWhitespace = function removeWhitespace(tokenList) {\n\t\tvar newTokenList = [];\n\t\tvar before = false;\n\t\tfor (var i = 0; i < tokenList.length; i++) if (tokenList[i].type === \"<whitespace-token>\") {\n\t\t\tbefore = true;\n\t\t\tif (newTokenList.length > 0) newTokenList[newTokenList.length - 1].wsAfter = true;\n\t\t} else {\n\t\t\tnewTokenList.push(__assign(__assign({}, tokenList[i]), {\n\t\t\t\twsBefore: before,\n\t\t\t\twsAfter: false\n\t\t\t}));\n\t\t\tbefore = false;\n\t\t}\n\t\treturn newTokenList;\n\t};\n\tvar syntacticAnalysis = function syntacticAnalysis(tokenList) {\n\t\tvar e_1, _a;\n\t\tvar mediaQueryList = [[]];\n\t\tfor (var i = 0; i < tokenList.length; i++) {\n\t\t\tvar token = tokenList[i];\n\t\t\tif (token.type === \"<comma-token>\") mediaQueryList.push([]);\n\t\t\telse mediaQueryList[mediaQueryList.length - 1].push(token);\n\t\t}\n\t\tvar mediaQueries = mediaQueryList.map(removeWhitespace);\n\t\tif (mediaQueries.length === 1 && mediaQueries[0].length === 0) return [{\n\t\t\tmediaCondition: null,\n\t\t\tmediaPrefix: null,\n\t\t\tmediaType: \"all\"\n\t\t}];\n\t\telse {\n\t\t\tvar mediaQueryTokens = mediaQueries.map(function(mediaQueryTokens) {\n\t\t\t\tif (mediaQueryTokens.length === 0) return null;\n\t\t\t\telse return tokenizeMediaQuery(mediaQueryTokens);\n\t\t\t});\n\t\t\tvar nonNullMediaQueryTokens = [];\n\t\t\ttry {\n\t\t\t\tfor (var mediaQueryTokens_1 = __values(mediaQueryTokens), mediaQueryTokens_1_1 = mediaQueryTokens_1.next(); !mediaQueryTokens_1_1.done; mediaQueryTokens_1_1 = mediaQueryTokens_1.next()) {\n\t\t\t\t\tvar mediaQueryToken = mediaQueryTokens_1_1.value;\n\t\t\t\t\tif (mediaQueryToken !== null) nonNullMediaQueryTokens.push(mediaQueryToken);\n\t\t\t\t}\n\t\t\t} catch (e_1_1) {\n\t\t\t\te_1 = { error: e_1_1 };\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (mediaQueryTokens_1_1 && !mediaQueryTokens_1_1.done && (_a = mediaQueryTokens_1[\"return\"])) _a.call(mediaQueryTokens_1);\n\t\t\t\t} finally {\n\t\t\t\t\tif (e_1) throw e_1.error;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (nonNullMediaQueryTokens.length === 0) throw createError(\"No valid media queries\");\n\t\t\treturn nonNullMediaQueryTokens;\n\t\t}\n\t};\n\tvar tokenizeMediaQuery = function tokenizeMediaQuery(tokens) {\n\t\tvar firstToken = tokens[0];\n\t\tif (firstToken.type === \"<(-token>\") try {\n\t\t\treturn {\n\t\t\t\tmediaPrefix: null,\n\t\t\t\tmediaType: \"all\",\n\t\t\t\tmediaCondition: tokenizeMediaCondition(tokens, true)\n\t\t\t};\n\t\t} catch (err) {\n\t\t\tthrow createError(\"Expected media condition after '('\", err);\n\t\t}\n\t\telse if (firstToken.type === \"<ident-token>\") {\n\t\t\tvar mediaPrefix = null;\n\t\t\tvar mediaType = void 0;\n\t\t\tvar value = firstToken.value;\n\t\t\tif (value === \"only\" || value === \"not\") mediaPrefix = value;\n\t\t\tvar firstIndex = mediaPrefix === null ? 0 : 1;\n\t\t\tif (tokens.length <= firstIndex) throw createError(\"Expected extra token in media query\");\n\t\t\tvar firstNonUnaryToken = tokens[firstIndex];\n\t\t\tif (firstNonUnaryToken.type === \"<ident-token>\") {\n\t\t\t\tvar value_1 = firstNonUnaryToken.value;\n\t\t\t\tif (value_1 === \"all\") mediaType = \"all\";\n\t\t\t\telse if (value_1 === \"print\" || value_1 === \"screen\") mediaType = value_1;\n\t\t\t\telse if (value_1 === \"tty\" || value_1 === \"tv\" || value_1 === \"projection\" || value_1 === \"handheld\" || value_1 === \"braille\" || value_1 === \"embossed\" || value_1 === \"aural\" || value_1 === \"speech\") {\n\t\t\t\t\tmediaPrefix = mediaPrefix === \"not\" ? null : \"not\";\n\t\t\t\t\tmediaType = \"all\";\n\t\t\t\t} else throw createError(\"Unknown ident '\".concat(value_1, \"' in media query\"));\n\t\t\t} else if (mediaPrefix === \"not\" && firstNonUnaryToken.type === \"<(-token>\") {\n\t\t\t\tvar tokensWithParens = [{\n\t\t\t\t\ttype: \"<(-token>\",\n\t\t\t\t\twsBefore: false,\n\t\t\t\t\twsAfter: false\n\t\t\t\t}];\n\t\t\t\ttokensWithParens.push.apply(tokensWithParens, tokens);\n\t\t\t\ttokensWithParens.push({\n\t\t\t\t\ttype: \"<)-token>\",\n\t\t\t\t\twsBefore: false,\n\t\t\t\t\twsAfter: false\n\t\t\t\t});\n\t\t\t\ttry {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tmediaPrefix: null,\n\t\t\t\t\t\tmediaType: \"all\",\n\t\t\t\t\t\tmediaCondition: tokenizeMediaCondition(tokensWithParens, true)\n\t\t\t\t\t};\n\t\t\t\t} catch (err) {\n\t\t\t\t\tthrow createError(\"Expected media condition after '('\", err);\n\t\t\t\t}\n\t\t\t} else throw createError(\"Invalid media query\");\n\t\t\tif (firstIndex + 1 === tokens.length) return {\n\t\t\t\tmediaPrefix,\n\t\t\t\tmediaType,\n\t\t\t\tmediaCondition: null\n\t\t\t};\n\t\t\telse if (firstIndex + 4 < tokens.length) {\n\t\t\t\tvar secondNonUnaryToken = tokens[firstIndex + 1];\n\t\t\t\tif (secondNonUnaryToken.type === \"<ident-token>\" && secondNonUnaryToken.value === \"and\") try {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tmediaPrefix,\n\t\t\t\t\t\tmediaType,\n\t\t\t\t\t\tmediaCondition: tokenizeMediaCondition(tokens.slice(firstIndex + 2), false)\n\t\t\t\t\t};\n\t\t\t\t} catch (err) {\n\t\t\t\t\tthrow createError(\"Expected media condition after 'and'\", err);\n\t\t\t\t}\n\t\t\t\telse throw createError(\"Expected 'and' after media prefix\");\n\t\t\t} else throw createError(\"Expected media condition after media prefix\");\n\t\t} else throw createError(\"Expected media condition or media prefix\");\n\t};\n\tvar tokenizeMediaCondition = function tokenizeMediaCondition(tokens, mayContainOr, previousOperator) {\n\t\tif (previousOperator === void 0) previousOperator = null;\n\t\tif (tokens.length < 3 || tokens[0].type !== \"<(-token>\" || tokens[tokens.length - 1].type !== \"<)-token>\") throw new Error(\"Invalid media condition\");\n\t\tvar endIndexOfFirstFeature = tokens.length - 1;\n\t\tvar maxDepth = 0;\n\t\tvar count = 0;\n\t\tfor (var i = 0; i < tokens.length; i++) {\n\t\t\tvar token = tokens[i];\n\t\t\tif (token.type === \"<(-token>\") {\n\t\t\t\tcount += 1;\n\t\t\t\tmaxDepth = Math.max(maxDepth, count);\n\t\t\t} else if (token.type === \"<)-token>\") count -= 1;\n\t\t\tif (count === 0) {\n\t\t\t\tendIndexOfFirstFeature = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (count !== 0) throw new Error(\"Mismatched parens\\nInvalid media condition\");\n\t\tvar child;\n\t\tvar featureTokens = tokens.slice(0, endIndexOfFirstFeature + 1);\n\t\tif (maxDepth === 1) child = tokenizeMediaFeature(featureTokens);\n\t\telse if (featureTokens[1].type === \"<ident-token>\" && featureTokens[1].value === \"not\") child = tokenizeMediaCondition(featureTokens.slice(2, -1), true, \"not\");\n\t\telse child = tokenizeMediaCondition(featureTokens.slice(1, -1), true);\n\t\tif (endIndexOfFirstFeature === tokens.length - 1) return {\n\t\t\toperator: previousOperator,\n\t\t\tchildren: [child]\n\t\t};\n\t\telse {\n\t\t\tvar nextToken = tokens[endIndexOfFirstFeature + 1];\n\t\t\tif (nextToken.type !== \"<ident-token>\") throw new Error(\"Invalid operator\\nInvalid media condition\");\n\t\t\telse if (previousOperator !== null && previousOperator !== nextToken.value) throw new Error(\"'\".concat(nextToken.value, \"' and '\").concat(previousOperator, \"' must not be at same level\\nInvalid media condition\"));\n\t\t\telse if (nextToken.value === \"or\" && !mayContainOr) throw new Error(\"Cannot use 'or' at top level of a media query\\nInvalid media condition\");\n\t\t\telse if (nextToken.value !== \"and\" && nextToken.value !== \"or\") throw new Error(\"Invalid operator: '\".concat(nextToken.value, \"'\\nInvalid media condition\"));\n\t\t\tvar siblings = tokenizeMediaCondition(tokens.slice(endIndexOfFirstFeature + 2), mayContainOr, nextToken.value);\n\t\t\treturn {\n\t\t\t\toperator: nextToken.value,\n\t\t\t\tchildren: [child].concat(siblings.children)\n\t\t\t};\n\t\t}\n\t};\n\tvar tokenizeMediaFeature = function tokenizeMediaFeature(rawTokens) {\n\t\tif (rawTokens.length < 3 || rawTokens[0].type !== \"<(-token>\" || rawTokens[rawTokens.length - 1].type !== \"<)-token>\") throw new Error(\"Invalid media feature\");\n\t\tvar tokens = [rawTokens[0]];\n\t\tfor (var i = 1; i < rawTokens.length; i++) {\n\t\t\tif (i < rawTokens.length - 2) {\n\t\t\t\tvar a = rawTokens[i];\n\t\t\t\tvar b = rawTokens[i + 1];\n\t\t\t\tvar c = rawTokens[i + 2];\n\t\t\t\tif (a.type === \"<number-token>\" && a.value > 0 && b.type === \"<delim-token>\" && b.value === 47 && c.type === \"<number-token>\" && c.value > 0) {\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype: \"<ratio-token>\",\n\t\t\t\t\t\tnumerator: a.value,\n\t\t\t\t\t\tdenominator: c.value,\n\t\t\t\t\t\twsBefore: a.wsBefore,\n\t\t\t\t\t\twsAfter: c.wsAfter\n\t\t\t\t\t});\n\t\t\t\t\ti += 2;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\ttokens.push(rawTokens[i]);\n\t\t}\n\t\tvar nextToken = tokens[1];\n\t\tif (nextToken.type === \"<ident-token>\" && tokens.length === 3) return {\n\t\t\tcontext: \"boolean\",\n\t\t\tfeature: nextToken.value\n\t\t};\n\t\telse if (tokens.length === 5 && tokens[1].type === \"<ident-token>\" && tokens[2].type === \"<colon-token>\") {\n\t\t\tvar valueToken = tokens[3];\n\t\t\tif (valueToken.type === \"<number-token>\" || valueToken.type === \"<dimension-token>\" || valueToken.type === \"<ratio-token>\" || valueToken.type === \"<ident-token>\") {\n\t\t\t\tvar feature = tokens[1].value;\n\t\t\t\tvar prefix = null;\n\t\t\t\tvar slice = feature.slice(0, 4);\n\t\t\t\tif (slice === \"min-\") {\n\t\t\t\t\tprefix = \"min\";\n\t\t\t\t\tfeature = feature.slice(4);\n\t\t\t\t} else if (slice === \"max-\") {\n\t\t\t\t\tprefix = \"max\";\n\t\t\t\t\tfeature = feature.slice(4);\n\t\t\t\t}\n\t\t\t\tvalueToken.wsBefore;\n\t\t\t\tvalueToken.wsAfter;\n\t\t\t\tvar value = __rest(valueToken, [\"wsBefore\", \"wsAfter\"]);\n\t\t\t\treturn {\n\t\t\t\t\tcontext: \"value\",\n\t\t\t\t\tprefix,\n\t\t\t\t\tfeature,\n\t\t\t\t\tvalue\n\t\t\t\t};\n\t\t\t}\n\t\t} else if (tokens.length >= 5) try {\n\t\t\tvar range = tokenizeRange(tokens);\n\t\t\treturn {\n\t\t\t\tcontext: \"range\",\n\t\t\t\tfeature: range.featureName,\n\t\t\t\trange\n\t\t\t};\n\t\t} catch (err) {\n\t\t\tthrow createError(\"Invalid media feature\", err);\n\t\t}\n\t\tthrow new Error(\"Invalid media feature\");\n\t};\n\tvar tokenizeRange = function tokenizeRange(tokens) {\n\t\tvar _a, _b, _c, _d;\n\t\tif (tokens.length < 5 || tokens[0].type !== \"<(-token>\" || tokens[tokens.length - 1].type !== \"<)-token>\") throw new Error(\"Invalid range\");\n\t\tvar range = {\n\t\t\tleftToken: null,\n\t\t\tleftOp: null,\n\t\t\tfeatureName: \"\",\n\t\t\trightOp: null,\n\t\t\trightToken: null\n\t\t};\n\t\tvar hasLeft = tokens[1].type === \"<number-token>\" || tokens[1].type === \"<dimension-token>\" || tokens[1].type === \"<ratio-token>\" || tokens[1].type === \"<ident-token>\" && tokens[1].value === \"infinite\";\n\t\tif (tokens[2].type === \"<delim-token>\") {\n\t\t\tif (tokens[2].value === 60) if (tokens[3].type === \"<delim-token>\" && tokens[3].value === 61 && !tokens[3].wsBefore) range[hasLeft ? \"leftOp\" : \"rightOp\"] = \"<=\";\n\t\t\telse range[hasLeft ? \"leftOp\" : \"rightOp\"] = \"<\";\n\t\t\telse if (tokens[2].value === 62) if (tokens[3].type === \"<delim-token>\" && tokens[3].value === 61 && !tokens[3].wsBefore) range[hasLeft ? \"leftOp\" : \"rightOp\"] = \">=\";\n\t\t\telse range[hasLeft ? \"leftOp\" : \"rightOp\"] = \">\";\n\t\t\telse if (tokens[2].value === 61) range[hasLeft ? \"leftOp\" : \"rightOp\"] = \"=\";\n\t\t\telse throw new Error(\"Invalid range\");\n\t\t\tif (hasLeft) range.leftToken = tokens[1];\n\t\t\telse if (tokens[1].type === \"<ident-token>\") range.featureName = tokens[1].value;\n\t\t\telse throw new Error(\"Invalid range\");\n\t\t\tvar tokenIndexAfterFirstOp = 2 + ((_b = (_a = range[hasLeft ? \"leftOp\" : \"rightOp\"]) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);\n\t\t\tvar tokenAfterFirstOp = tokens[tokenIndexAfterFirstOp];\n\t\t\tif (hasLeft) if (tokenAfterFirstOp.type === \"<ident-token>\") {\n\t\t\t\trange.featureName = tokenAfterFirstOp.value;\n\t\t\t\tif (tokens.length >= 7) {\n\t\t\t\t\tvar secondOpToken = tokens[tokenIndexAfterFirstOp + 1];\n\t\t\t\t\tvar followingToken = tokens[tokenIndexAfterFirstOp + 2];\n\t\t\t\t\tif (secondOpToken.type === \"<delim-token>\") {\n\t\t\t\t\t\tvar charCode = secondOpToken.value;\n\t\t\t\t\t\tif (charCode === 60) if (followingToken.type === \"<delim-token>\" && followingToken.value === 61 && !followingToken.wsBefore) range.rightOp = \"<=\";\n\t\t\t\t\t\telse range.rightOp = \"<\";\n\t\t\t\t\t\telse if (charCode === 62) if (followingToken.type === \"<delim-token>\" && followingToken.value === 61 && !followingToken.wsBefore) range.rightOp = \">=\";\n\t\t\t\t\t\telse range.rightOp = \">\";\n\t\t\t\t\t\telse throw new Error(\"Invalid range\");\n\t\t\t\t\t\trange.rightToken = tokens[tokenIndexAfterFirstOp + 1 + ((_d = (_c = range.rightOp) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0)];\n\t\t\t\t\t} else throw new Error(\"Invalid range\");\n\t\t\t\t} else if (tokenIndexAfterFirstOp + 2 !== tokens.length) throw new Error(\"Invalid range\");\n\t\t\t} else throw new Error(\"Invalid range\");\n\t\t\telse range.rightToken = tokenAfterFirstOp;\n\t\t\tvar validRange = null;\n\t\t\tvar lt = range.leftToken, leftOp = range.leftOp, featureName = range.featureName, rightOp = range.rightOp, rt = range.rightToken;\n\t\t\tvar leftToken = null;\n\t\t\tif (lt !== null) {\n\t\t\t\tif (lt.type === \"<ident-token>\") {\n\t\t\t\t\tvar type = lt.type, value = lt.value;\n\t\t\t\t\tif (value === \"infinite\") leftToken = {\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t};\n\t\t\t\t} else if (lt.type === \"<number-token>\" || lt.type === \"<dimension-token>\" || lt.type === \"<ratio-token>\") {\n\t\t\t\t\tlt.wsBefore;\n\t\t\t\t\tlt.wsAfter;\n\t\t\t\t\tleftToken = __rest(lt, [\"wsBefore\", \"wsAfter\"]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar rightToken = null;\n\t\t\tif (rt !== null) {\n\t\t\t\tif (rt.type === \"<ident-token>\") {\n\t\t\t\t\tvar type = rt.type, value = rt.value;\n\t\t\t\t\tif (value === \"infinite\") rightToken = {\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t};\n\t\t\t\t} else if (rt.type === \"<number-token>\" || rt.type === \"<dimension-token>\" || rt.type === \"<ratio-token>\") {\n\t\t\t\t\trt.wsBefore;\n\t\t\t\t\trt.wsAfter;\n\t\t\t\t\trightToken = __rest(rt, [\"wsBefore\", \"wsAfter\"]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (leftToken !== null && rightToken !== null) if ((leftOp === \"<\" || leftOp === \"<=\") && (rightOp === \"<\" || rightOp === \"<=\")) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\telse if ((leftOp === \">\" || leftOp === \">=\") && (rightOp === \">\" || rightOp === \">=\")) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\telse throw new Error(\"Invalid range\");\n\t\t\telse if (leftToken === null && leftOp === null && rightOp !== null && rightToken !== null) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\telse if (leftToken !== null && leftOp !== null && rightOp === null && rightToken === null) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\treturn validRange;\n\t\t} else throw new Error(\"Invalid range\");\n\t};\n\texports.toAST = toAST;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/transformCss-fd0786e1.esm.js\nvar import_dist = require_dist();\nfunction toPrimitive$1(t, r) {\n\tif (\"object\" != typeof t || !t) return t;\n\tvar e = t[Symbol.toPrimitive];\n\tif (void 0 !== e) {\n\t\tvar i = e.call(t, r || \"default\");\n\t\tif (\"object\" != typeof i) return i;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (\"string\" === r ? String : Number)(t);\n}\nfunction toPropertyKey$1(t) {\n\tvar i = toPrimitive$1(t, \"string\");\n\treturn \"symbol\" == typeof i ? i : String(i);\n}\nfunction _defineProperty$1(obj, key, value) {\n\tkey = toPropertyKey$1(key);\n\tif (key in obj) Object.defineProperty(obj, key, {\n\t\tvalue,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\telse obj[key] = value;\n\treturn obj;\n}\nfunction ownKeys$1(e, r) {\n\tvar t = Object.keys(e);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar o = Object.getOwnPropertySymbols(e);\n\t\tr && (o = o.filter(function(r) {\n\t\t\treturn Object.getOwnPropertyDescriptor(e, r).enumerable;\n\t\t})), t.push.apply(t, o);\n\t}\n\treturn t;\n}\nfunction _objectSpread2$1(e) {\n\tfor (var r = 1; r < arguments.length; r++) {\n\t\tvar t = null != arguments[r] ? arguments[r] : {};\n\t\tr % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {\n\t\t\t_defineProperty$1(e, r, t[r]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {\n\t\t\tObject.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n\t\t});\n\t}\n\treturn e;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n\tif (source == null) return {};\n\tvar target = {};\n\tvar sourceKeys = Object.keys(source);\n\tvar key, i;\n\tfor (i = 0; i < sourceKeys.length; i++) {\n\t\tkey = sourceKeys[i];\n\t\tif (excluded.indexOf(key) >= 0) continue;\n\t\ttarget[key] = source[key];\n\t}\n\treturn target;\n}\nfunction _objectWithoutProperties(source, excluded) {\n\tif (source == null) return {};\n\tvar target = _objectWithoutPropertiesLoose(source, excluded);\n\tvar key, i;\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\t\tfor (i = 0; i < sourceSymbolKeys.length; i++) {\n\t\t\tkey = sourceSymbolKeys[i];\n\t\t\tif (excluded.indexOf(key) >= 0) continue;\n\t\t\tif (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n\t\t\ttarget[key] = source[key];\n\t\t}\n\t}\n\treturn target;\n}\nfunction forEach(obj, fn) {\n\tfor (var _key in obj) fn(obj[_key], _key);\n}\nfunction omit(obj, omitKeys) {\n\tvar result = {};\n\tfor (var _key2 in obj) if (omitKeys.indexOf(_key2) === -1) result[_key2] = obj[_key2];\n\treturn result;\n}\nfunction mapKeys(obj, fn) {\n\tvar result = {};\n\tfor (var _key3 in obj) result[fn(obj[_key3], _key3)] = obj[_key3];\n\treturn result;\n}\nfunction composeStylesIntoSet(set) {\n\tfor (var _len = arguments.length, classNames = new Array(_len > 1 ? _len - 1 : 0), _key5 = 1; _key5 < _len; _key5++) classNames[_key5 - 1] = arguments[_key5];\n\tfor (var className of classNames) {\n\t\tif (className.length === 0) continue;\n\t\tif (typeof className === \"string\") if (className.includes(\" \")) composeStylesIntoSet(set, ...className.trim().split(\" \"));\n\t\telse set.add(className);\n\t\telse if (Array.isArray(className)) composeStylesIntoSet(set, ...className);\n\t}\n}\nfunction dedupeAndJoinClassList(classNames) {\n\tvar set = /* @__PURE__ */ new Set();\n\tcomposeStylesIntoSet(set, ...classNames);\n\treturn Array.from(set).join(\" \");\n}\nvar _templateObject$1;\nfunction escapeRegex(string) {\n\treturn string.replace(/[-/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\");\n}\nvar validateSelector = (selector, targetClassName) => {\n\tvar replaceTarget = () => {\n\t\tvar targetRegex = new RegExp(\".\".concat(escapeRegex((0, import_cssesc.default)(targetClassName, { isIdentifier: true }))), \"g\");\n\t\treturn selector.replace(targetRegex, \"&\");\n\t};\n\tvar selectorParts;\n\ttry {\n\t\tselectorParts = (0, import_commonjs.parse)(selector);\n\t} catch (err) {\n\t\tthrow new Error(\"Invalid selector: \".concat(replaceTarget()), { cause: err });\n\t}\n\tselectorParts.forEach((tokens) => {\n\t\ttry {\n\t\t\tfor (var i = tokens.length - 1; i >= -1; i--) {\n\t\t\t\tif (!tokens[i]) throw new Error();\n\t\t\t\tvar token = tokens[i];\n\t\t\t\tif (token.type === \"child\" || token.type === \"parent\" || token.type === \"sibling\" || token.type === \"adjacent\" || token.type === \"descendant\") throw new Error();\n\t\t\t\tif (token.type === \"attribute\" && token.name === \"class\" && token.value === targetClassName) return;\n\t\t\t}\n\t\t} catch (err) {\n\t\t\tthrow new Error(dedent_default(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral([\n\t\t\t\t\"\\n Invalid selector: \",\n\t\t\t\t\"\\n \\n Style selectors must target the '&' character (along with any modifiers), e.g. \",\n\t\t\t\t\" or \",\n\t\t\t\t\".\\n \\n This is to ensure that each style block only affects the styling of a single class.\\n \\n If your selector is targeting another class, you should move it to the style definition for that class, e.g. given we have styles for 'parent' and 'child' elements, instead of adding a selector of \",\n\t\t\t\t\") to 'parent', you should add \",\n\t\t\t\t\" to 'child').\\n \\n If your selector is targeting something global, use the 'globalStyle' function instead, e.g. if you wanted to write \",\n\t\t\t\t\", you should instead write 'globalStyle(\",\n\t\t\t\t\", { ... })'\\n \"\n\t\t\t])), replaceTarget(), \"`${parent} &`\", \"`${parent} &:hover`\", \"`& ${child}`\", \"`${parent} &`\", \"`& h1`\", \"`${parent} h1`\"), { cause: err });\n\t\t}\n\t});\n};\n/** e.g. @media screen and (min-width: 500px) */\nvar ConditionalRuleset = class ConditionalRuleset {\n\t/**\n\t* Stores information about where conditions must be in relation to other conditions\n\t*\n\t* e.g. mobile -> tablet, desktop\n\t*/\n\tconstructor() {\n\t\tthis.ruleset = /* @__PURE__ */ new Map();\n\t\tthis.precedenceLookup = /* @__PURE__ */ new Map();\n\t}\n\tfindOrCreateCondition(conditionQuery) {\n\t\tvar targetCondition = this.ruleset.get(conditionQuery);\n\t\tif (!targetCondition) {\n\t\t\ttargetCondition = {\n\t\t\t\tquery: conditionQuery,\n\t\t\t\trules: [],\n\t\t\t\tchildren: new ConditionalRuleset()\n\t\t\t};\n\t\t\tthis.ruleset.set(conditionQuery, targetCondition);\n\t\t}\n\t\treturn targetCondition;\n\t}\n\tgetConditionalRulesetByPath(conditionPath) {\n\t\tvar currRuleset = this;\n\t\tfor (var query of conditionPath) currRuleset = currRuleset.findOrCreateCondition(query).children;\n\t\treturn currRuleset;\n\t}\n\taddRule(rule, conditionQuery, conditionPath) {\n\t\tvar targetCondition = this.getConditionalRulesetByPath(conditionPath).findOrCreateCondition(conditionQuery);\n\t\tif (!targetCondition) throw new Error(\"Failed to add conditional rule\");\n\t\ttargetCondition.rules.push(rule);\n\t}\n\taddConditionPrecedence(conditionPath, conditionOrder) {\n\t\tvar ruleset = this.getConditionalRulesetByPath(conditionPath);\n\t\tfor (var i = 0; i < conditionOrder.length; i++) {\n\t\t\tvar _ruleset$precedenceLo;\n\t\t\tvar query = conditionOrder[i];\n\t\t\tvar conditionPrecedence = (_ruleset$precedenceLo = ruleset.precedenceLookup.get(query)) !== null && _ruleset$precedenceLo !== void 0 ? _ruleset$precedenceLo : /* @__PURE__ */ new Set();\n\t\t\tfor (var lowerPrecedenceCondition of conditionOrder.slice(i + 1)) conditionPrecedence.add(lowerPrecedenceCondition);\n\t\t\truleset.precedenceLookup.set(query, conditionPrecedence);\n\t\t}\n\t}\n\tisCompatible(incomingRuleset) {\n\t\tfor (var [condition, orderPrecedence] of this.precedenceLookup.entries()) for (var lowerPrecedenceCondition of orderPrecedence) {\n\t\t\tvar _incomingRuleset$prec;\n\t\t\tif ((_incomingRuleset$prec = incomingRuleset.precedenceLookup.get(lowerPrecedenceCondition)) !== null && _incomingRuleset$prec !== void 0 && _incomingRuleset$prec.has(condition)) return false;\n\t\t}\n\t\tfor (var { query, children } of incomingRuleset.ruleset.values()) {\n\t\t\tvar matchingCondition = this.ruleset.get(query);\n\t\t\tif (matchingCondition && !matchingCondition.children.isCompatible(children)) return false;\n\t\t}\n\t\treturn true;\n\t}\n\tmerge(incomingRuleset) {\n\t\tfor (var { query, rules, children } of incomingRuleset.ruleset.values()) {\n\t\t\tvar matchingCondition = this.ruleset.get(query);\n\t\t\tif (matchingCondition) {\n\t\t\t\tmatchingCondition.rules.push(...rules);\n\t\t\t\tmatchingCondition.children.merge(children);\n\t\t\t} else this.ruleset.set(query, {\n\t\t\t\tquery,\n\t\t\t\trules,\n\t\t\t\tchildren\n\t\t\t});\n\t\t}\n\t\tfor (var [condition, incomingOrderPrecedence] of incomingRuleset.precedenceLookup.entries()) {\n\t\t\tvar _this$precedenceLooku;\n\t\t\tvar orderPrecedence = (_this$precedenceLooku = this.precedenceLookup.get(condition)) !== null && _this$precedenceLooku !== void 0 ? _this$precedenceLooku : /* @__PURE__ */ new Set();\n\t\t\tthis.precedenceLookup.set(condition, new Set([...orderPrecedence, ...incomingOrderPrecedence]));\n\t\t}\n\t}\n\t/**\n\t* Merge another ConditionalRuleset into this one if they are compatible\n\t*\n\t* @returns true if successful, false if the ruleset is incompatible\n\t*/\n\tmergeIfCompatible(incomingRuleset) {\n\t\tif (!this.isCompatible(incomingRuleset)) return false;\n\t\tthis.merge(incomingRuleset);\n\t\treturn true;\n\t}\n\tgetSortedRuleset() {\n\t\tvar _this = this;\n\t\tvar sortedRuleset = [];\n\t\tvar _loop = function _loop(dependents) {\n\t\t\tvar conditionForQuery = _this.ruleset.get(query);\n\t\t\tif (!conditionForQuery) throw new Error(\"Can't find condition for \".concat(query));\n\t\t\tvar firstMatchingDependent = sortedRuleset.findIndex((condition) => dependents.has(condition.query));\n\t\t\tif (firstMatchingDependent > -1) sortedRuleset.splice(firstMatchingDependent, 0, conditionForQuery);\n\t\t\telse sortedRuleset.push(conditionForQuery);\n\t\t};\n\t\tfor (var [query, dependents] of this.precedenceLookup.entries()) _loop(dependents);\n\t\treturn sortedRuleset;\n\t}\n\trenderToArray() {\n\t\tvar arr = [];\n\t\tfor (var { query, rules, children } of this.getSortedRuleset()) {\n\t\t\tvar selectors = {};\n\t\t\tfor (var rule of rules) selectors[rule.selector] = _objectSpread2$1(_objectSpread2$1({}, selectors[rule.selector]), rule.rule);\n\t\t\tObject.assign(selectors, ...children.renderToArray());\n\t\t\tarr.push({ [query]: selectors });\n\t\t}\n\t\treturn arr;\n\t}\n};\nvar simplePseudoMap = {\n\t\":-moz-any-link\": true,\n\t\":-moz-full-screen\": true,\n\t\":-moz-placeholder\": true,\n\t\":-moz-read-only\": true,\n\t\":-moz-read-write\": true,\n\t\":-ms-fullscreen\": true,\n\t\":-ms-input-placeholder\": true,\n\t\":-webkit-any-link\": true,\n\t\":-webkit-full-screen\": true,\n\t\"::-moz-color-swatch\": true,\n\t\"::-moz-list-bullet\": true,\n\t\"::-moz-list-number\": true,\n\t\"::-moz-page-sequence\": true,\n\t\"::-moz-page\": true,\n\t\"::-moz-placeholder\": true,\n\t\"::-moz-progress-bar\": true,\n\t\"::-moz-range-progress\": true,\n\t\"::-moz-range-thumb\": true,\n\t\"::-moz-range-track\": true,\n\t\"::-moz-scrolled-page-sequence\": true,\n\t\"::-moz-selection\": true,\n\t\"::-ms-backdrop\": true,\n\t\"::-ms-browse\": true,\n\t\"::-ms-check\": true,\n\t\"::-ms-clear\": true,\n\t\"::-ms-fill-lower\": true,\n\t\"::-ms-fill-upper\": true,\n\t\"::-ms-fill\": true,\n\t\"::-ms-reveal\": true,\n\t\"::-ms-thumb\": true,\n\t\"::-ms-ticks-after\": true,\n\t\"::-ms-ticks-before\": true,\n\t\"::-ms-tooltip\": true,\n\t\"::-ms-track\": true,\n\t\"::-ms-value\": true,\n\t\"::-webkit-backdrop\": true,\n\t\"::-webkit-calendar-picker-indicator\": true,\n\t\"::-webkit-inner-spin-button\": true,\n\t\"::-webkit-input-placeholder\": true,\n\t\"::-webkit-meter-bar\": true,\n\t\"::-webkit-meter-even-less-good-value\": true,\n\t\"::-webkit-meter-inner-element\": true,\n\t\"::-webkit-meter-optimum-value\": true,\n\t\"::-webkit-meter-suboptimum-value\": true,\n\t\"::-webkit-outer-spin-button\": true,\n\t\"::-webkit-progress-bar\": true,\n\t\"::-webkit-progress-inner-element\": true,\n\t\"::-webkit-progress-inner-value\": true,\n\t\"::-webkit-progress-value\": true,\n\t\"::-webkit-resizer\": true,\n\t\"::-webkit-scrollbar-button\": true,\n\t\"::-webkit-scrollbar-corner\": true,\n\t\"::-webkit-scrollbar-thumb\": true,\n\t\"::-webkit-scrollbar-track-piece\": true,\n\t\"::-webkit-scrollbar-track\": true,\n\t\"::-webkit-scrollbar\": true,\n\t\"::-webkit-search-cancel-button\": true,\n\t\"::-webkit-search-results-button\": true,\n\t\"::-webkit-slider-runnable-track\": true,\n\t\"::-webkit-slider-thumb\": true,\n\t\"::after\": true,\n\t\"::backdrop\": true,\n\t\"::before\": true,\n\t\"::cue\": true,\n\t\"::file-selector-button\": true,\n\t\"::first-letter\": true,\n\t\"::first-line\": true,\n\t\"::grammar-error\": true,\n\t\"::marker\": true,\n\t\"::placeholder\": true,\n\t\"::selection\": true,\n\t\"::spelling-error\": true,\n\t\"::target-text\": true,\n\t\"::view-transition-group\": true,\n\t\"::view-transition-image-pair\": true,\n\t\"::view-transition-new\": true,\n\t\"::view-transition-old\": true,\n\t\"::view-transition\": true,\n\t\":active\": true,\n\t\":after\": true,\n\t\":any-link\": true,\n\t\":before\": true,\n\t\":blank\": true,\n\t\":checked\": true,\n\t\":default\": true,\n\t\":defined\": true,\n\t\":disabled\": true,\n\t\":empty\": true,\n\t\":enabled\": true,\n\t\":first-child\": true,\n\t\":first-letter\": true,\n\t\":first-line\": true,\n\t\":first-of-type\": true,\n\t\":first\": true,\n\t\":focus-visible\": true,\n\t\":focus-within\": true,\n\t\":focus\": true,\n\t\":fullscreen\": true,\n\t\":hover\": true,\n\t\":in-range\": true,\n\t\":indeterminate\": true,\n\t\":invalid\": true,\n\t\":last-child\": true,\n\t\":last-of-type\": true,\n\t\":left\": true,\n\t\":link\": true,\n\t\":only-child\": true,\n\t\":only-of-type\": true,\n\t\":optional\": true,\n\t\":out-of-range\": true,\n\t\":placeholder-shown\": true,\n\t\":read-only\": true,\n\t\":read-write\": true,\n\t\":required\": true,\n\t\":right\": true,\n\t\":root\": true,\n\t\":scope\": true,\n\t\":target\": true,\n\t\":valid\": true,\n\t\":visited\": true\n};\nvar simplePseudos = Object.keys(simplePseudoMap);\nvar simplePseudoLookup = simplePseudoMap;\nvar _templateObject$2;\nvar createMediaQueryError = (mediaQuery, msg) => new Error(dedent_default(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral([\n\t\"\\n Invalid media query: \\\"\",\n\t\"\\\"\\n\\n \",\n\t\"\\n\\n Read more on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries\\n \"\n])), mediaQuery, msg));\nvar validateMediaQuery = (mediaQuery) => {\n\tif (mediaQuery === \"@media \") throw createMediaQueryError(mediaQuery, \"Query is empty\");\n\ttry {\n\t\t(0, import_dist.toAST)(mediaQuery);\n\t} catch (e) {\n\t\tthrow createMediaQueryError(mediaQuery, e.message);\n\t}\n};\nvar _excluded$1 = [\"vars\"], _excluded2 = [\"content\"];\nvar DECLARATION = \"__DECLARATION\";\nvar UNITLESS = {\n\tanimationIterationCount: true,\n\tborderImage: true,\n\tborderImageOutset: true,\n\tborderImageSlice: true,\n\tborderImageWidth: true,\n\tboxFlex: true,\n\tboxFlexGroup: true,\n\tcolumnCount: true,\n\tcolumns: true,\n\tflex: true,\n\tflexGrow: true,\n\tflexShrink: true,\n\tfontWeight: true,\n\tgridArea: true,\n\tgridColumn: true,\n\tgridColumnEnd: true,\n\tgridColumnStart: true,\n\tgridRow: true,\n\tgridRowEnd: true,\n\tgridRowStart: true,\n\tinitialLetter: true,\n\tlineClamp: true,\n\tlineHeight: true,\n\tmaxLines: true,\n\topacity: true,\n\torder: true,\n\torphans: true,\n\tscale: true,\n\ttabSize: true,\n\tWebkitLineClamp: true,\n\twidows: true,\n\tzIndex: true,\n\tzoom: true,\n\tfillOpacity: true,\n\tfloodOpacity: true,\n\tmaskBorder: true,\n\tmaskBorderOutset: true,\n\tmaskBorderSlice: true,\n\tmaskBorderWidth: true,\n\tshapeImageThreshold: true,\n\tstopOpacity: true,\n\tstrokeDashoffset: true,\n\tstrokeMiterlimit: true,\n\tstrokeOpacity: true,\n\tstrokeWidth: true\n};\nfunction dashify(str) {\n\treturn str.replace(/([A-Z])/g, \"-$1\").replace(/^ms-/, \"-ms-\").toLowerCase();\n}\nfunction replaceBetweenIndexes(target, startIndex, endIndex, replacement) {\n\tvar start = target.slice(0, startIndex);\n\tvar end = target.slice(endIndex);\n\treturn \"\".concat(start).concat(replacement).concat(end);\n}\nvar DOUBLE_SPACE = \" \";\nvar specialKeys = [\n\t...simplePseudos,\n\t\"@layer\",\n\t\"@media\",\n\t\"@supports\",\n\t\"@container\",\n\t\"@starting-style\",\n\t\"selectors\"\n];\nvar Stylesheet = class {\n\tconstructor(localClassNames, composedClassLists) {\n\t\tthis.rules = [];\n\t\tthis.conditionalRulesets = [new ConditionalRuleset()];\n\t\tthis.fontFaceRules = [];\n\t\tthis.keyframesRules = [];\n\t\tthis.propertyRules = [];\n\t\tthis.localClassNamesMap = new Map(localClassNames.map((localClassName) => [localClassName, localClassName]));\n\t\tthis.localClassNamesSearch = new AhoCorasick(localClassNames);\n\t\tthis.layers = /* @__PURE__ */ new Map();\n\t\tthis.composedClassLists = composedClassLists.map((_ref) => {\n\t\t\tvar { identifier, classList } = _ref;\n\t\t\treturn {\n\t\t\t\tidentifier,\n\t\t\t\tregex: RegExp(\"(\".concat(classList, \")\"), \"g\")\n\t\t\t};\n\t\t}).reverse();\n\t}\n\tprocessCssObj(root) {\n\t\tif (root.type === \"fontFace\") {\n\t\t\tthis.fontFaceRules.push(root.rule);\n\t\t\treturn;\n\t\t}\n\t\tif (root.type === \"property\") {\n\t\t\tthis.propertyRules.push(root);\n\t\t\treturn;\n\t\t}\n\t\tif (root.type === \"keyframes\") {\n\t\t\troot.rule = Object.fromEntries(Object.entries(root.rule).map((_ref2) => {\n\t\t\t\tvar [keyframe, rule] = _ref2;\n\t\t\t\treturn [keyframe, this.transformVars(this.transformProperties(rule))];\n\t\t\t}));\n\t\t\tthis.keyframesRules.push(root);\n\t\t\treturn;\n\t\t}\n\t\tthis.currConditionalRuleset = new ConditionalRuleset();\n\t\tif (root.type === \"layer\") {\n\t\t\tvar layerDefinition = \"@layer \".concat(root.name);\n\t\t\tthis.addLayer([layerDefinition]);\n\t\t} else {\n\t\t\tvar mainRule = omit(root.rule, specialKeys);\n\t\t\tthis.addRule({\n\t\t\t\tselector: root.selector,\n\t\t\t\trule: mainRule\n\t\t\t});\n\t\t\tthis.transformLayer(root, root.rule[\"@layer\"]);\n\t\t\tthis.transformMedia(root, root.rule[\"@media\"]);\n\t\t\tthis.transformSupports(root, root.rule[\"@supports\"]);\n\t\t\tthis.transformContainer(root, root.rule[\"@container\"]);\n\t\t\tthis.transformStartingStyle(root, root.rule[\"@starting-style\"]);\n\t\t\tthis.transformSimplePseudos(root, root.rule);\n\t\t\tthis.transformSelectors(root, root.rule);\n\t\t}\n\t\tif (!this.conditionalRulesets[this.conditionalRulesets.length - 1].mergeIfCompatible(this.currConditionalRuleset)) this.conditionalRulesets.push(this.currConditionalRuleset);\n\t}\n\taddConditionalRule(cssRule, conditions) {\n\t\tvar rule = this.transformVars(this.transformProperties(cssRule.rule));\n\t\tvar selector = this.transformSelector(cssRule.selector);\n\t\tif (!this.currConditionalRuleset) throw new Error(\"Couldn't add conditional rule\");\n\t\tvar conditionQuery = conditions[conditions.length - 1];\n\t\tvar parentConditions = conditions.slice(0, conditions.length - 1);\n\t\tthis.currConditionalRuleset.addRule({\n\t\t\tselector,\n\t\t\trule\n\t\t}, conditionQuery, parentConditions);\n\t}\n\taddRule(cssRule) {\n\t\tvar rule = this.transformVars(this.transformProperties(cssRule.rule));\n\t\tvar selector = this.transformSelector(cssRule.selector);\n\t\tthis.rules.push({\n\t\t\tselector,\n\t\t\trule\n\t\t});\n\t}\n\taddLayer(layer) {\n\t\tvar uniqueLayerKey = layer.join(\" - \");\n\t\tthis.layers.set(uniqueLayerKey, layer);\n\t}\n\ttransformProperties(cssRule) {\n\t\treturn this.transformContent(this.pixelifyProperties(cssRule));\n\t}\n\tpixelifyProperties(cssRule) {\n\t\tforEach(cssRule, (value, key) => {\n\t\t\tif (typeof value === \"number\" && value !== 0 && !UNITLESS[key]) cssRule[key] = \"\".concat(value, \"px\");\n\t\t});\n\t\treturn cssRule;\n\t}\n\ttransformVars(_ref3) {\n\t\tvar { vars } = _ref3, rest = _objectWithoutProperties(_ref3, _excluded$1);\n\t\tif (!vars) return rest;\n\t\treturn _objectSpread2$1(_objectSpread2$1({}, mapKeys(vars, (_value, key) => (0, import_vanilla_extract_private_cjs.getVarName)(key))), rest);\n\t}\n\ttransformContent(_ref4) {\n\t\tvar { content } = _ref4, rest = _objectWithoutProperties(_ref4, _excluded2);\n\t\tif (typeof content === \"undefined\") return rest;\n\t\treturn _objectSpread2$1({ content: (Array.isArray(content) ? content : [content]).map((value) => value && (value.includes(\"\\\"\") || value.includes(\"'\") || /^([A-Za-z-]+\\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)(\\s|$)/.test(value)) ? value : \"\\\"\".concat(value, \"\\\"\")) }, rest);\n\t}\n\ttransformClassname(identifier) {\n\t\treturn \".\".concat((0, import_cssesc.default)(identifier, { isIdentifier: true }));\n\t}\n\ttransformSelector(selector) {\n\t\tvar transformedSelector = selector;\n\t\tvar _loop = function _loop(identifier) {\n\t\t\ttransformedSelector = transformedSelector.replace(regex, () => {\n\t\t\t\tmarkCompositionUsed(identifier);\n\t\t\t\treturn identifier;\n\t\t\t});\n\t\t};\n\t\tfor (var { identifier, regex } of this.composedClassLists) _loop(identifier);\n\t\tif (this.localClassNamesMap.has(transformedSelector)) return this.transformClassname(transformedSelector);\n\t\tvar results = this.localClassNamesSearch.search(transformedSelector);\n\t\tvar lastReplaceIndex = transformedSelector.length;\n\t\tfor (var i = results.length - 1; i >= 0; i--) {\n\t\t\tvar [endIndex, [firstMatch]] = results[i];\n\t\t\tvar startIndex = endIndex - firstMatch.length + 1;\n\t\t\tif (lastReplaceIndex <= endIndex) continue;\n\t\t\tlastReplaceIndex = startIndex;\n\t\t\tif (transformedSelector[startIndex - 1] !== \".\") transformedSelector = replaceBetweenIndexes(transformedSelector, startIndex, endIndex + 1, this.transformClassname(firstMatch));\n\t\t}\n\t\treturn transformedSelector;\n\t}\n\ttransformSelectors(root, rule, conditions) {\n\t\tforEach(rule.selectors, (selectorRule, selector) => {\n\t\t\tif (root.type !== \"local\") throw new Error(\"Selectors are not allowed within \".concat(root.type === \"global\" ? \"\\\"globalStyle\\\"\" : \"\\\"selectors\\\"\"));\n\t\t\tvar transformedSelector = this.transformSelector(selector.replace(RegExp(\"&\", \"g\"), root.selector));\n\t\t\tvalidateSelector(transformedSelector, root.selector);\n\t\t\tvar rule = {\n\t\t\t\tselector: transformedSelector,\n\t\t\t\trule: omit(selectorRule, specialKeys)\n\t\t\t};\n\t\t\tif (conditions) this.addConditionalRule(rule, conditions);\n\t\t\telse this.addRule(rule);\n\t\t\tvar selectorRoot = {\n\t\t\t\ttype: \"selector\",\n\t\t\t\tselector: transformedSelector,\n\t\t\t\trule: selectorRule\n\t\t\t};\n\t\t\tthis.transformLayer(selectorRoot, selectorRule[\"@layer\"], conditions);\n\t\t\tthis.transformSupports(selectorRoot, selectorRule[\"@supports\"], conditions);\n\t\t\tthis.transformMedia(selectorRoot, selectorRule[\"@media\"], conditions);\n\t\t\tthis.transformContainer(selectorRoot, selectorRule[\"@container\"], conditions);\n\t\t\tthis.transformStartingStyle(selectorRoot, selectorRule[\"@starting-style\"], conditions);\n\t\t});\n\t}\n\ttransformMedia(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional;\n\t\t\t(_this$currConditional = this.currConditionalRuleset) === null || _this$currConditional === void 0 || _this$currConditional.addConditionPrecedence(parentConditions, Object.keys(rules).map((query) => \"@media \".concat(query)));\n\t\t\tfor (var [query, mediaRule] of Object.entries(rules)) {\n\t\t\t\tvar mediaQuery = \"@media \".concat(query);\n\t\t\t\tvalidateMediaQuery(mediaQuery);\n\t\t\t\tvar conditions = [...parentConditions, mediaQuery];\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(mediaRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, mediaRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, mediaRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformLayer(root, mediaRule[\"@layer\"], conditions);\n\t\t\t\tthis.transformSupports(root, mediaRule[\"@supports\"], conditions);\n\t\t\t\tthis.transformContainer(root, mediaRule[\"@container\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, mediaRule[\"@starting-style\"], conditions);\n\t\t\t}\n\t\t}\n\t}\n\ttransformContainer(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional2;\n\t\t\t(_this$currConditional2 = this.currConditionalRuleset) === null || _this$currConditional2 === void 0 || _this$currConditional2.addConditionPrecedence(parentConditions, Object.keys(rules).map((query) => \"@container \".concat(query)));\n\t\t\tforEach(rules, (containerRule, query) => {\n\t\t\t\tvar containerQuery = \"@container \".concat(query);\n\t\t\t\tvar conditions = [...parentConditions, containerQuery];\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(containerRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, containerRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, containerRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformLayer(root, containerRule[\"@layer\"], conditions);\n\t\t\t\tthis.transformSupports(root, containerRule[\"@supports\"], conditions);\n\t\t\t\tthis.transformMedia(root, containerRule[\"@media\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, containerRule[\"@starting-style\"], conditions);\n\t\t\t});\n\t\t}\n\t}\n\ttransformLayer(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional3;\n\t\t\t(_this$currConditional3 = this.currConditionalRuleset) === null || _this$currConditional3 === void 0 || _this$currConditional3.addConditionPrecedence(parentConditions, Object.keys(rules).map((name) => \"@layer \".concat(name)));\n\t\t\tforEach(rules, (layerRule, name) => {\n\t\t\t\tvar conditions = [...parentConditions, \"@layer \".concat(name)];\n\t\t\t\tthis.addLayer(conditions);\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(layerRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, layerRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, layerRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformMedia(root, layerRule[\"@media\"], conditions);\n\t\t\t\tthis.transformSupports(root, layerRule[\"@supports\"], conditions);\n\t\t\t\tthis.transformContainer(root, layerRule[\"@container\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, layerRule[\"@starting-style\"], conditions);\n\t\t\t});\n\t\t}\n\t}\n\ttransformSupports(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional4;\n\t\t\t(_this$currConditional4 = this.currConditionalRuleset) === null || _this$currConditional4 === void 0 || _this$currConditional4.addConditionPrecedence(parentConditions, Object.keys(rules).map((query) => \"@supports \".concat(query)));\n\t\t\tforEach(rules, (supportsRule, query) => {\n\t\t\t\tvar conditions = [...parentConditions, \"@supports \".concat(query)];\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(supportsRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, supportsRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, supportsRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformLayer(root, supportsRule[\"@layer\"], conditions);\n\t\t\t\tthis.transformMedia(root, supportsRule[\"@media\"], conditions);\n\t\t\t\tthis.transformContainer(root, supportsRule[\"@container\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, supportsRule[\"@starting-style\"], conditions);\n\t\t\t});\n\t\t}\n\t}\n\ttransformSimplePseudos(root, rule, conditions) {\n\t\tfor (var key of Object.keys(rule)) if (simplePseudoLookup[key]) {\n\t\t\tif (root.type !== \"local\") throw new Error(\"Simple pseudos are not valid in \".concat(root.type === \"global\" ? \"\\\"globalStyle\\\"\" : \"\\\"selectors\\\"\"));\n\t\t\tif (conditions) this.addConditionalRule({\n\t\t\t\tselector: \"\".concat(root.selector).concat(key),\n\t\t\t\trule: rule[key]\n\t\t\t}, conditions);\n\t\t\telse this.addRule({\n\t\t\t\tconditions,\n\t\t\t\tselector: \"\".concat(root.selector).concat(key),\n\t\t\t\trule: rule[key]\n\t\t\t});\n\t\t}\n\t}\n\ttransformStartingStyle(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional5;\n\t\t\tvar nestedAtRuleKey = Object.keys(rules).find((key) => key.startsWith(\"@\"));\n\t\t\tif (nestedAtRuleKey) throw new Error(\"Nested at-rules (e.g. \\\"\".concat(nestedAtRuleKey, \"\\\") are not allowed inside @starting-style.\"));\n\t\t\t(_this$currConditional5 = this.currConditionalRuleset) === null || _this$currConditional5 === void 0 || _this$currConditional5.addConditionPrecedence(parentConditions, [\"@starting-style\"]);\n\t\t\tvar conditions = [...parentConditions, \"@starting-style\"];\n\t\t\tthis.addConditionalRule({\n\t\t\t\tselector: root.selector,\n\t\t\t\trule: omit(rules, specialKeys)\n\t\t\t}, conditions);\n\t\t\tif (root.type === \"local\") {\n\t\t\t\tthis.transformSimplePseudos(root, rules, conditions);\n\t\t\t\tthis.transformSelectors(root, rules, conditions);\n\t\t\t}\n\t\t}\n\t}\n\ttoCss() {\n\t\tvar css = [];\n\t\tfor (var fontFaceRule of this.fontFaceRules) css.push(renderCss({ \"@font-face\": fontFaceRule }));\n\t\tfor (var property of this.propertyRules) css.push(renderCss({ [\"@property \".concat(property.name)]: property.rule }));\n\t\tfor (var keyframe of this.keyframesRules) css.push(renderCss({ [\"@keyframes \".concat(keyframe.name)]: keyframe.rule }));\n\t\tfor (var layer of this.layers.values()) {\n\t\t\tvar [definition, ...nesting] = layer.reverse();\n\t\t\tvar cssObj = { [definition]: DECLARATION };\n\t\t\tfor (var part of nesting) cssObj = { [part]: cssObj };\n\t\t\tcss.push(renderCss(cssObj));\n\t\t}\n\t\tfor (var rule of this.rules) css.push(renderCss({ [rule.selector]: rule.rule }));\n\t\tfor (var conditionalRuleset of this.conditionalRulesets) for (var conditionalRule of conditionalRuleset.renderToArray()) css.push(renderCss(conditionalRule));\n\t\treturn css.filter(Boolean);\n\t}\n};\nfunction renderCss(v) {\n\tvar indent = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : \"\";\n\tvar rules = [];\n\tvar _loop2 = function _loop2(key) {\n\t\tvar value = v[key];\n\t\tif (value && Array.isArray(value)) rules.push(...value.map((v) => renderCss({ [key]: v }, indent)));\n\t\telse if (value && typeof value === \"object\") {\n\t\t\tif (!(Object.keys(value).length === 0)) rules.push(\"\".concat(indent).concat(key, \" {\\n\").concat(renderCss(value, indent + DOUBLE_SPACE), \"\\n\").concat(indent, \"}\"));\n\t\t} else if (value === DECLARATION) rules.push(\"\".concat(indent).concat(key, \";\"));\n\t\telse rules.push(\"\".concat(indent).concat(key.startsWith(\"--\") ? key : dashify(key), \": \").concat(value, \";\"));\n\t};\n\tfor (var key of Object.keys(v)) _loop2(key);\n\treturn rules.join(\"\\n\");\n}\nfunction transformCss(_ref5) {\n\tvar { localClassNames, cssObjs, composedClassLists } = _ref5;\n\tvar stylesheet = new Stylesheet(localClassNames, composedClassLists);\n\tfor (var root of cssObjs) stylesheet.processCssObj(root);\n\treturn stylesheet.toCss();\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js\nfunction murmur2(str) {\n\tvar h = 0;\n\tvar k, i = 0, len = str.length;\n\tfor (; len >= 4; ++i, len -= 4) {\n\t\tk = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;\n\t\tk = (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);\n\t\tk ^= k >>> 24;\n\t\th = (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);\n\t}\n\tswitch (len) {\n\t\tcase 3: h ^= (str.charCodeAt(i + 2) & 255) << 16;\n\t\tcase 2: h ^= (str.charCodeAt(i + 1) & 255) << 8;\n\t\tcase 1:\n\t\t\th ^= str.charCodeAt(i) & 255;\n\t\t\th = (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);\n\t}\n\th ^= h >>> 13;\n\th = (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);\n\treturn ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js\nvar _templateObject;\nvar refCounter = 0;\nvar fileScopes = [];\nfunction hasFileScope() {\n\treturn fileScopes.length > 0;\n}\nfunction getFileScope() {\n\tif (fileScopes.length === 0) throw new Error(dedent_default(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n Styles were unable to be assigned to a file. This is generally caused by one of the following:\\n\\n - You may have created styles outside of a '.css.ts' context\\n - You may have incorrect configuration. See https://vanilla-extract.style/documentation/getting-started\\n \"]))));\n\treturn fileScopes[0];\n}\nfunction getAndIncrementRefCounter() {\n\treturn refCounter++;\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js\n/**\n* @module LRUCache\n*/\nconst perf = typeof performance === \"object\" && performance && typeof performance.now === \"function\" ? performance : Date;\nconst warned = /* @__PURE__ */ new Set();\n/* c8 ignore start */\nconst PROCESS = typeof process === \"object\" && !!process ? process : {};\n/* c8 ignore start */\nconst emitWarning = (msg, type, code, fn) => {\n\ttypeof PROCESS.emitWarning === \"function\" ? PROCESS.emitWarning(msg, type, code, fn) : console.error(`[${code}] ${type}: ${msg}`);\n};\nlet AC = globalThis.AbortController;\nlet AS = globalThis.AbortSignal;\n/* c8 ignore start */\nif (typeof AC === \"undefined\") {\n\tAS = class AbortSignal {\n\t\tonabort;\n\t\t_onabort = [];\n\t\treason;\n\t\taborted = false;\n\t\taddEventListener(_, fn) {\n\t\t\tthis._onabort.push(fn);\n\t\t}\n\t};\n\tAC = class AbortController {\n\t\tconstructor() {\n\t\t\twarnACPolyfill();\n\t\t}\n\t\tsignal = new AS();\n\t\tabort(reason) {\n\t\t\tif (this.signal.aborted) return;\n\t\t\tthis.signal.reason = reason;\n\t\t\tthis.signal.aborted = true;\n\t\t\tfor (const fn of this.signal._onabort) fn(reason);\n\t\t\tthis.signal.onabort?.(reason);\n\t\t}\n\t};\n\tlet printACPolyfillWarning = PROCESS.env?.LRU_CACHE_IGNORE_AC_WARNING !== \"1\";\n\tconst warnACPolyfill = () => {\n\t\tif (!printACPolyfillWarning) return;\n\t\tprintACPolyfillWarning = false;\n\t\temitWarning(\"AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.\", \"NO_ABORT_CONTROLLER\", \"ENOTSUP\", warnACPolyfill);\n\t};\n}\n/* c8 ignore stop */\nconst shouldWarn = (code) => !warned.has(code);\nconst isPosInt = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n);\n/* c8 ignore start */\nconst getUintArray = (max) => !isPosInt(max) ? null : max <= Math.pow(2, 8) ? Uint8Array : max <= Math.pow(2, 16) ? Uint16Array : max <= Math.pow(2, 32) ? Uint32Array : max <= Number.MAX_SAFE_INTEGER ? ZeroArray : null;\n/* c8 ignore stop */\nvar ZeroArray = class extends Array {\n\tconstructor(size) {\n\t\tsuper(size);\n\t\tthis.fill(0);\n\t}\n};\nvar Stack = class Stack {\n\theap;\n\tlength;\n\tstatic #constructing = false;\n\tstatic create(max) {\n\t\tconst HeapCls = getUintArray(max);\n\t\tif (!HeapCls) return [];\n\t\tStack.#constructing = true;\n\t\tconst s = new Stack(max, HeapCls);\n\t\tStack.#constructing = false;\n\t\treturn s;\n\t}\n\tconstructor(max, HeapCls) {\n\t\t/* c8 ignore start */\n\t\tif (!Stack.#constructing) throw new TypeError(\"instantiate Stack using Stack.create(n)\");\n\t\t/* c8 ignore stop */\n\t\tthis.heap = new HeapCls(max);\n\t\tthis.length = 0;\n\t}\n\tpush(n) {\n\t\tthis.heap[this.length++] = n;\n\t}\n\tpop() {\n\t\treturn this.heap[--this.length];\n\t}\n};\n/**\n* Default export, the thing you're using this module to get.\n*\n* The `K` and `V` types define the key and value types, respectively. The\n* optional `FC` type defines the type of the `context` object passed to\n* `cache.fetch()` and `cache.memo()`.\n*\n* Keys and values **must not** be `null` or `undefined`.\n*\n* All properties from the options object (with the exception of `max`,\n* `maxSize`, `fetchMethod`, `memoMethod`, `dispose` and `disposeAfter`) are\n* added as normal public members. (The listed options are read-only getters.)\n*\n* Changing any of these will alter the defaults for subsequent method calls.\n*/\nvar LRUCache = class LRUCache {\n\t#max;\n\t#maxSize;\n\t#dispose;\n\t#disposeAfter;\n\t#fetchMethod;\n\t#memoMethod;\n\t/**\n\t* {@link LRUCache.OptionsBase.ttl}\n\t*/\n\tttl;\n\t/**\n\t* {@link LRUCache.OptionsBase.ttlResolution}\n\t*/\n\tttlResolution;\n\t/**\n\t* {@link LRUCache.OptionsBase.ttlAutopurge}\n\t*/\n\tttlAutopurge;\n\t/**\n\t* {@link LRUCache.OptionsBase.updateAgeOnGet}\n\t*/\n\tupdateAgeOnGet;\n\t/**\n\t* {@link LRUCache.OptionsBase.updateAgeOnHas}\n\t*/\n\tupdateAgeOnHas;\n\t/**\n\t* {@link LRUCache.OptionsBase.allowStale}\n\t*/\n\tallowStale;\n\t/**\n\t* {@link LRUCache.OptionsBase.noDisposeOnSet}\n\t*/\n\tnoDisposeOnSet;\n\t/**\n\t* {@link LRUCache.OptionsBase.noUpdateTTL}\n\t*/\n\tnoUpdateTTL;\n\t/**\n\t* {@link LRUCache.OptionsBase.maxEntrySize}\n\t*/\n\tmaxEntrySize;\n\t/**\n\t* {@link LRUCache.OptionsBase.sizeCalculation}\n\t*/\n\tsizeCalculation;\n\t/**\n\t* {@link LRUCache.OptionsBase.noDeleteOnFetchRejection}\n\t*/\n\tnoDeleteOnFetchRejection;\n\t/**\n\t* {@link LRUCache.OptionsBase.noDeleteOnStaleGet}\n\t*/\n\tnoDeleteOnStaleGet;\n\t/**\n\t* {@link LRUCache.OptionsBase.allowStaleOnFetchAbort}\n\t*/\n\tallowStaleOnFetchAbort;\n\t/**\n\t* {@link LRUCache.OptionsBase.allowStaleOnFetchRejection}\n\t*/\n\tallowStaleOnFetchRejection;\n\t/**\n\t* {@link LRUCache.OptionsBase.ignoreFetchAbort}\n\t*/\n\tignoreFetchAbort;\n\t#size;\n\t#calculatedSize;\n\t#keyMap;\n\t#keyList;\n\t#valList;\n\t#next;\n\t#prev;\n\t#head;\n\t#tail;\n\t#free;\n\t#disposed;\n\t#sizes;\n\t#starts;\n\t#ttls;\n\t#hasDispose;\n\t#hasFetchMethod;\n\t#hasDisposeAfter;\n\t/**\n\t* Do not call this method unless you need to inspect the\n\t* inner workings of the cache. If anything returned by this\n\t* object is modified in any way, strange breakage may occur.\n\t*\n\t* These fields are private for a reason!\n\t*\n\t* @internal\n\t*/\n\tstatic unsafeExposeInternals(c) {\n\t\treturn {\n\t\t\tstarts: c.#starts,\n\t\t\tttls: c.#ttls,\n\t\t\tsizes: c.#sizes,\n\t\t\tkeyMap: c.#keyMap,\n\t\t\tkeyList: c.#keyList,\n\t\t\tvalList: c.#valList,\n\t\t\tnext: c.#next,\n\t\t\tprev: c.#prev,\n\t\t\tget head() {\n\t\t\t\treturn c.#head;\n\t\t\t},\n\t\t\tget tail() {\n\t\t\t\treturn c.#tail;\n\t\t\t},\n\t\t\tfree: c.#free,\n\t\t\tisBackgroundFetch: (p) => c.#isBackgroundFetch(p),\n\t\t\tbackgroundFetch: (k, index, options, context) => c.#backgroundFetch(k, index, options, context),\n\t\t\tmoveToTail: (index) => c.#moveToTail(index),\n\t\t\tindexes: (options) => c.#indexes(options),\n\t\t\trindexes: (options) => c.#rindexes(options),\n\t\t\tisStale: (index) => c.#isStale(index)\n\t\t};\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.max} (read-only)\n\t*/\n\tget max() {\n\t\treturn this.#max;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.maxSize} (read-only)\n\t*/\n\tget maxSize() {\n\t\treturn this.#maxSize;\n\t}\n\t/**\n\t* The total computed size of items in the cache (read-only)\n\t*/\n\tget calculatedSize() {\n\t\treturn this.#calculatedSize;\n\t}\n\t/**\n\t* The number of items stored in the cache (read-only)\n\t*/\n\tget size() {\n\t\treturn this.#size;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.fetchMethod} (read-only)\n\t*/\n\tget fetchMethod() {\n\t\treturn this.#fetchMethod;\n\t}\n\tget memoMethod() {\n\t\treturn this.#memoMethod;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.dispose} (read-only)\n\t*/\n\tget dispose() {\n\t\treturn this.#dispose;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.disposeAfter} (read-only)\n\t*/\n\tget disposeAfter() {\n\t\treturn this.#disposeAfter;\n\t}\n\tconstructor(options) {\n\t\tconst { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;\n\t\tif (max !== 0 && !isPosInt(max)) throw new TypeError(\"max option must be a nonnegative integer\");\n\t\tconst UintArray = max ? getUintArray(max) : Array;\n\t\tif (!UintArray) throw new Error(\"invalid max value: \" + max);\n\t\tthis.#max = max;\n\t\tthis.#maxSize = maxSize;\n\t\tthis.maxEntrySize = maxEntrySize || this.#maxSize;\n\t\tthis.sizeCalculation = sizeCalculation;\n\t\tif (this.sizeCalculation) {\n\t\t\tif (!this.#maxSize && !this.maxEntrySize) throw new TypeError(\"cannot set sizeCalculation without setting maxSize or maxEntrySize\");\n\t\t\tif (typeof this.sizeCalculation !== \"function\") throw new TypeError(\"sizeCalculation set to non-function\");\n\t\t}\n\t\tif (memoMethod !== void 0 && typeof memoMethod !== \"function\") throw new TypeError(\"memoMethod must be a function if defined\");\n\t\tthis.#memoMethod = memoMethod;\n\t\tif (fetchMethod !== void 0 && typeof fetchMethod !== \"function\") throw new TypeError(\"fetchMethod must be a function if specified\");\n\t\tthis.#fetchMethod = fetchMethod;\n\t\tthis.#hasFetchMethod = !!fetchMethod;\n\t\tthis.#keyMap = /* @__PURE__ */ new Map();\n\t\tthis.#keyList = new Array(max).fill(void 0);\n\t\tthis.#valList = new Array(max).fill(void 0);\n\t\tthis.#next = new UintArray(max);\n\t\tthis.#prev = new UintArray(max);\n\t\tthis.#head = 0;\n\t\tthis.#tail = 0;\n\t\tthis.#free = Stack.create(max);\n\t\tthis.#size = 0;\n\t\tthis.#calculatedSize = 0;\n\t\tif (typeof dispose === \"function\") this.#dispose = dispose;\n\t\tif (typeof disposeAfter === \"function\") {\n\t\t\tthis.#disposeAfter = disposeAfter;\n\t\t\tthis.#disposed = [];\n\t\t} else {\n\t\t\tthis.#disposeAfter = void 0;\n\t\t\tthis.#disposed = void 0;\n\t\t}\n\t\tthis.#hasDispose = !!this.#dispose;\n\t\tthis.#hasDisposeAfter = !!this.#disposeAfter;\n\t\tthis.noDisposeOnSet = !!noDisposeOnSet;\n\t\tthis.noUpdateTTL = !!noUpdateTTL;\n\t\tthis.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection;\n\t\tthis.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection;\n\t\tthis.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort;\n\t\tthis.ignoreFetchAbort = !!ignoreFetchAbort;\n\t\tif (this.maxEntrySize !== 0) {\n\t\t\tif (this.#maxSize !== 0) {\n\t\t\t\tif (!isPosInt(this.#maxSize)) throw new TypeError(\"maxSize must be a positive integer if specified\");\n\t\t\t}\n\t\t\tif (!isPosInt(this.maxEntrySize)) throw new TypeError(\"maxEntrySize must be a positive integer if specified\");\n\t\t\tthis.#initializeSizeTracking();\n\t\t}\n\t\tthis.allowStale = !!allowStale;\n\t\tthis.noDeleteOnStaleGet = !!noDeleteOnStaleGet;\n\t\tthis.updateAgeOnGet = !!updateAgeOnGet;\n\t\tthis.updateAgeOnHas = !!updateAgeOnHas;\n\t\tthis.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0 ? ttlResolution : 1;\n\t\tthis.ttlAutopurge = !!ttlAutopurge;\n\t\tthis.ttl = ttl || 0;\n\t\tif (this.ttl) {\n\t\t\tif (!isPosInt(this.ttl)) throw new TypeError(\"ttl must be a positive integer if specified\");\n\t\t\tthis.#initializeTTLTracking();\n\t\t}\n\t\tif (this.#max === 0 && this.ttl === 0 && this.#maxSize === 0) throw new TypeError(\"At least one of max, maxSize, or ttl is required\");\n\t\tif (!this.ttlAutopurge && !this.#max && !this.#maxSize) {\n\t\t\tconst code = \"LRU_CACHE_UNBOUNDED\";\n\t\t\tif (shouldWarn(code)) {\n\t\t\t\twarned.add(code);\n\t\t\t\temitWarning(\"TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.\", \"UnboundedCacheWarning\", code, LRUCache);\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Return the number of ms left in the item's TTL. If item is not in cache,\n\t* returns `0`. Returns `Infinity` if item is in cache without a defined TTL.\n\t*/\n\tgetRemainingTTL(key) {\n\t\treturn this.#keyMap.has(key) ? Infinity : 0;\n\t}\n\t#initializeTTLTracking() {\n\t\tconst ttls = new ZeroArray(this.#max);\n\t\tconst starts = new ZeroArray(this.#max);\n\t\tthis.#ttls = ttls;\n\t\tthis.#starts = starts;\n\t\tthis.#setItemTTL = (index, ttl, start = perf.now()) => {\n\t\t\tstarts[index] = ttl !== 0 ? start : 0;\n\t\t\tttls[index] = ttl;\n\t\t\tif (ttl !== 0 && this.ttlAutopurge) {\n\t\t\t\tconst t = setTimeout(() => {\n\t\t\t\t\tif (this.#isStale(index)) this.#delete(this.#keyList[index], \"expire\");\n\t\t\t\t}, ttl + 1);\n\t\t\t\t/* c8 ignore start */\n\t\t\t\tif (t.unref) t.unref();\n\t\t\t}\n\t\t};\n\t\tthis.#updateItemAge = (index) => {\n\t\t\tstarts[index] = ttls[index] !== 0 ? perf.now() : 0;\n\t\t};\n\t\tthis.#statusTTL = (status, index) => {\n\t\t\tif (ttls[index]) {\n\t\t\t\tconst ttl = ttls[index];\n\t\t\t\tconst start = starts[index];\n\t\t\t\t/* c8 ignore next */\n\t\t\t\tif (!ttl || !start) return;\n\t\t\t\tstatus.ttl = ttl;\n\t\t\t\tstatus.start = start;\n\t\t\t\tstatus.now = cachedNow || getNow();\n\t\t\t\tstatus.remainingTTL = ttl - (status.now - start);\n\t\t\t}\n\t\t};\n\t\tlet cachedNow = 0;\n\t\tconst getNow = () => {\n\t\t\tconst n = perf.now();\n\t\t\tif (this.ttlResolution > 0) {\n\t\t\t\tcachedNow = n;\n\t\t\t\tconst t = setTimeout(() => cachedNow = 0, this.ttlResolution);\n\t\t\t\t/* c8 ignore start */\n\t\t\t\tif (t.unref) t.unref();\n\t\t\t}\n\t\t\treturn n;\n\t\t};\n\t\tthis.getRemainingTTL = (key) => {\n\t\t\tconst index = this.#keyMap.get(key);\n\t\t\tif (index === void 0) return 0;\n\t\t\tconst ttl = ttls[index];\n\t\t\tconst start = starts[index];\n\t\t\tif (!ttl || !start) return Infinity;\n\t\t\treturn ttl - ((cachedNow || getNow()) - start);\n\t\t};\n\t\tthis.#isStale = (index) => {\n\t\t\tconst s = starts[index];\n\t\t\tconst t = ttls[index];\n\t\t\treturn !!t && !!s && (cachedNow || getNow()) - s > t;\n\t\t};\n\t}\n\t#updateItemAge = () => {};\n\t#statusTTL = () => {};\n\t#setItemTTL = () => {};\n\t/* c8 ignore stop */\n\t#isStale = () => false;\n\t#initializeSizeTracking() {\n\t\tconst sizes = new ZeroArray(this.#max);\n\t\tthis.#calculatedSize = 0;\n\t\tthis.#sizes = sizes;\n\t\tthis.#removeItemSize = (index) => {\n\t\t\tthis.#calculatedSize -= sizes[index];\n\t\t\tsizes[index] = 0;\n\t\t};\n\t\tthis.#requireSize = (k, v, size, sizeCalculation) => {\n\t\t\tif (this.#isBackgroundFetch(v)) return 0;\n\t\t\tif (!isPosInt(size)) if (sizeCalculation) {\n\t\t\t\tif (typeof sizeCalculation !== \"function\") throw new TypeError(\"sizeCalculation must be a function\");\n\t\t\t\tsize = sizeCalculation(v, k);\n\t\t\t\tif (!isPosInt(size)) throw new TypeError(\"sizeCalculation return invalid (expect positive integer)\");\n\t\t\t} else throw new TypeError(\"invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.\");\n\t\t\treturn size;\n\t\t};\n\t\tthis.#addItemSize = (index, size, status) => {\n\t\t\tsizes[index] = size;\n\t\t\tif (this.#maxSize) {\n\t\t\t\tconst maxSize = this.#maxSize - sizes[index];\n\t\t\t\twhile (this.#calculatedSize > maxSize) this.#evict(true);\n\t\t\t}\n\t\t\tthis.#calculatedSize += sizes[index];\n\t\t\tif (status) {\n\t\t\t\tstatus.entrySize = size;\n\t\t\t\tstatus.totalCalculatedSize = this.#calculatedSize;\n\t\t\t}\n\t\t};\n\t}\n\t#removeItemSize = (_i) => {};\n\t#addItemSize = (_i, _s, _st) => {};\n\t#requireSize = (_k, _v, size, sizeCalculation) => {\n\t\tif (size || sizeCalculation) throw new TypeError(\"cannot set size without setting maxSize or maxEntrySize on cache\");\n\t\treturn 0;\n\t};\n\t*#indexes({ allowStale = this.allowStale } = {}) {\n\t\tif (this.#size) for (let i = this.#tail;;) {\n\t\t\tif (!this.#isValidIndex(i)) break;\n\t\t\tif (allowStale || !this.#isStale(i)) yield i;\n\t\t\tif (i === this.#head) break;\n\t\t\telse i = this.#prev[i];\n\t\t}\n\t}\n\t*#rindexes({ allowStale = this.allowStale } = {}) {\n\t\tif (this.#size) for (let i = this.#head;;) {\n\t\t\tif (!this.#isValidIndex(i)) break;\n\t\t\tif (allowStale || !this.#isStale(i)) yield i;\n\t\t\tif (i === this.#tail) break;\n\t\t\telse i = this.#next[i];\n\t\t}\n\t}\n\t#isValidIndex(index) {\n\t\treturn index !== void 0 && this.#keyMap.get(this.#keyList[index]) === index;\n\t}\n\t/**\n\t* Return a generator yielding `[key, value]` pairs,\n\t* in order from most recently used to least recently used.\n\t*/\n\t*entries() {\n\t\tfor (const i of this.#indexes()) if (this.#valList[i] !== void 0 && this.#keyList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield [this.#keyList[i], this.#valList[i]];\n\t}\n\t/**\n\t* Inverse order version of {@link LRUCache.entries}\n\t*\n\t* Return a generator yielding `[key, value]` pairs,\n\t* in order from least recently used to most recently used.\n\t*/\n\t*rentries() {\n\t\tfor (const i of this.#rindexes()) if (this.#valList[i] !== void 0 && this.#keyList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield [this.#keyList[i], this.#valList[i]];\n\t}\n\t/**\n\t* Return a generator yielding the keys in the cache,\n\t* in order from most recently used to least recently used.\n\t*/\n\t*keys() {\n\t\tfor (const i of this.#indexes()) {\n\t\t\tconst k = this.#keyList[i];\n\t\t\tif (k !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield k;\n\t\t}\n\t}\n\t/**\n\t* Inverse order version of {@link LRUCache.keys}\n\t*\n\t* Return a generator yielding the keys in the cache,\n\t* in order from least recently used to most recently used.\n\t*/\n\t*rkeys() {\n\t\tfor (const i of this.#rindexes()) {\n\t\t\tconst k = this.#keyList[i];\n\t\t\tif (k !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield k;\n\t\t}\n\t}\n\t/**\n\t* Return a generator yielding the values in the cache,\n\t* in order from most recently used to least recently used.\n\t*/\n\t*values() {\n\t\tfor (const i of this.#indexes()) if (this.#valList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield this.#valList[i];\n\t}\n\t/**\n\t* Inverse order version of {@link LRUCache.values}\n\t*\n\t* Return a generator yielding the values in the cache,\n\t* in order from least recently used to most recently used.\n\t*/\n\t*rvalues() {\n\t\tfor (const i of this.#rindexes()) if (this.#valList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield this.#valList[i];\n\t}\n\t/**\n\t* Iterating over the cache itself yields the same results as\n\t* {@link LRUCache.entries}\n\t*/\n\t[Symbol.iterator]() {\n\t\treturn this.entries();\n\t}\n\t/**\n\t* A String value that is used in the creation of the default string\n\t* description of an object. Called by the built-in method\n\t* `Object.prototype.toString`.\n\t*/\n\t[Symbol.toStringTag] = \"LRUCache\";\n\t/**\n\t* Find a value for which the supplied fn method returns a truthy value,\n\t* similar to `Array.find()`. fn is called as `fn(value, key, cache)`.\n\t*/\n\tfind(fn, getOptions = {}) {\n\t\tfor (const i of this.#indexes()) {\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0) continue;\n\t\t\tif (fn(value, this.#keyList[i], this)) return this.get(this.#keyList[i], getOptions);\n\t\t}\n\t}\n\t/**\n\t* Call the supplied function on each item in the cache, in order from most\n\t* recently used to least recently used.\n\t*\n\t* `fn` is called as `fn(value, key, cache)`.\n\t*\n\t* If `thisp` is provided, function will be called in the `this`-context of\n\t* the provided object, or the cache if no `thisp` object is provided.\n\t*\n\t* Does not update age or recenty of use, or iterate over stale values.\n\t*/\n\tforEach(fn, thisp = this) {\n\t\tfor (const i of this.#indexes()) {\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0) continue;\n\t\t\tfn.call(thisp, value, this.#keyList[i], this);\n\t\t}\n\t}\n\t/**\n\t* The same as {@link LRUCache.forEach} but items are iterated over in\n\t* reverse order. (ie, less recently used items are iterated over first.)\n\t*/\n\trforEach(fn, thisp = this) {\n\t\tfor (const i of this.#rindexes()) {\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0) continue;\n\t\t\tfn.call(thisp, value, this.#keyList[i], this);\n\t\t}\n\t}\n\t/**\n\t* Delete any stale entries. Returns true if anything was removed,\n\t* false otherwise.\n\t*/\n\tpurgeStale() {\n\t\tlet deleted = false;\n\t\tfor (const i of this.#rindexes({ allowStale: true })) if (this.#isStale(i)) {\n\t\t\tthis.#delete(this.#keyList[i], \"expire\");\n\t\t\tdeleted = true;\n\t\t}\n\t\treturn deleted;\n\t}\n\t/**\n\t* Get the extended info about a given entry, to get its value, size, and\n\t* TTL info simultaneously. Returns `undefined` if the key is not present.\n\t*\n\t* Unlike {@link LRUCache#dump}, which is designed to be portable and survive\n\t* serialization, the `start` value is always the current timestamp, and the\n\t* `ttl` is a calculated remaining time to live (negative if expired).\n\t*\n\t* Always returns stale values, if their info is found in the cache, so be\n\t* sure to check for expirations (ie, a negative {@link LRUCache.Entry#ttl})\n\t* if relevant.\n\t*/\n\tinfo(key) {\n\t\tconst i = this.#keyMap.get(key);\n\t\tif (i === void 0) return void 0;\n\t\tconst v = this.#valList[i];\n\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\tif (value === void 0) return void 0;\n\t\tconst entry = { value };\n\t\tif (this.#ttls && this.#starts) {\n\t\t\tconst ttl = this.#ttls[i];\n\t\t\tconst start = this.#starts[i];\n\t\t\tif (ttl && start) {\n\t\t\t\tentry.ttl = ttl - (perf.now() - start);\n\t\t\t\tentry.start = Date.now();\n\t\t\t}\n\t\t}\n\t\tif (this.#sizes) entry.size = this.#sizes[i];\n\t\treturn entry;\n\t}\n\t/**\n\t* Return an array of [key, {@link LRUCache.Entry}] tuples which can be\n\t* passed to {@link LRLUCache#load}.\n\t*\n\t* The `start` fields are calculated relative to a portable `Date.now()`\n\t* timestamp, even if `performance.now()` is available.\n\t*\n\t* Stale entries are always included in the `dump`, even if\n\t* {@link LRUCache.OptionsBase.allowStale} is false.\n\t*\n\t* Note: this returns an actual array, not a generator, so it can be more\n\t* easily passed around.\n\t*/\n\tdump() {\n\t\tconst arr = [];\n\t\tfor (const i of this.#indexes({ allowStale: true })) {\n\t\t\tconst key = this.#keyList[i];\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0 || key === void 0) continue;\n\t\t\tconst entry = { value };\n\t\t\tif (this.#ttls && this.#starts) {\n\t\t\t\tentry.ttl = this.#ttls[i];\n\t\t\t\tconst age = perf.now() - this.#starts[i];\n\t\t\t\tentry.start = Math.floor(Date.now() - age);\n\t\t\t}\n\t\t\tif (this.#sizes) entry.size = this.#sizes[i];\n\t\t\tarr.unshift([key, entry]);\n\t\t}\n\t\treturn arr;\n\t}\n\t/**\n\t* Reset the cache and load in the items in entries in the order listed.\n\t*\n\t* The shape of the resulting cache may be different if the same options are\n\t* not used in both caches.\n\t*\n\t* The `start` fields are assumed to be calculated relative to a portable\n\t* `Date.now()` timestamp, even if `performance.now()` is available.\n\t*/\n\tload(arr) {\n\t\tthis.clear();\n\t\tfor (const [key, entry] of arr) {\n\t\t\tif (entry.start) {\n\t\t\t\tconst age = Date.now() - entry.start;\n\t\t\t\tentry.start = perf.now() - age;\n\t\t\t}\n\t\t\tthis.set(key, entry.value, entry);\n\t\t}\n\t}\n\t/**\n\t* Add a value to the cache.\n\t*\n\t* Note: if `undefined` is specified as a value, this is an alias for\n\t* {@link LRUCache#delete}\n\t*\n\t* Fields on the {@link LRUCache.SetOptions} options param will override\n\t* their corresponding values in the constructor options for the scope\n\t* of this single `set()` operation.\n\t*\n\t* If `start` is provided, then that will set the effective start\n\t* time for the TTL calculation. Note that this must be a previous\n\t* value of `performance.now()` if supported, or a previous value of\n\t* `Date.now()` if not.\n\t*\n\t* Options object may also include `size`, which will prevent\n\t* calling the `sizeCalculation` function and just use the specified\n\t* number if it is a positive integer, and `noDisposeOnSet` which\n\t* will prevent calling a `dispose` function in the case of\n\t* overwrites.\n\t*\n\t* If the `size` (or return value of `sizeCalculation`) for a given\n\t* entry is greater than `maxEntrySize`, then the item will not be\n\t* added to the cache.\n\t*\n\t* Will update the recency of the entry.\n\t*\n\t* If the value is `undefined`, then this is an alias for\n\t* `cache.delete(key)`. `undefined` is never stored in the cache.\n\t*/\n\tset(k, v, setOptions = {}) {\n\t\tif (v === void 0) {\n\t\t\tthis.delete(k);\n\t\t\treturn this;\n\t\t}\n\t\tconst { ttl = this.ttl, start, noDisposeOnSet = this.noDisposeOnSet, sizeCalculation = this.sizeCalculation, status } = setOptions;\n\t\tlet { noUpdateTTL = this.noUpdateTTL } = setOptions;\n\t\tconst size = this.#requireSize(k, v, setOptions.size || 0, sizeCalculation);\n\t\tif (this.maxEntrySize && size > this.maxEntrySize) {\n\t\t\tif (status) {\n\t\t\t\tstatus.set = \"miss\";\n\t\t\t\tstatus.maxEntrySizeExceeded = true;\n\t\t\t}\n\t\t\tthis.#delete(k, \"set\");\n\t\t\treturn this;\n\t\t}\n\t\tlet index = this.#size === 0 ? void 0 : this.#keyMap.get(k);\n\t\tif (index === void 0) {\n\t\t\tindex = this.#size === 0 ? this.#tail : this.#free.length !== 0 ? this.#free.pop() : this.#size === this.#max ? this.#evict(false) : this.#size;\n\t\t\tthis.#keyList[index] = k;\n\t\t\tthis.#valList[index] = v;\n\t\t\tthis.#keyMap.set(k, index);\n\t\t\tthis.#next[this.#tail] = index;\n\t\t\tthis.#prev[index] = this.#tail;\n\t\t\tthis.#tail = index;\n\t\t\tthis.#size++;\n\t\t\tthis.#addItemSize(index, size, status);\n\t\t\tif (status) status.set = \"add\";\n\t\t\tnoUpdateTTL = false;\n\t\t} else {\n\t\t\tthis.#moveToTail(index);\n\t\t\tconst oldVal = this.#valList[index];\n\t\t\tif (v !== oldVal) {\n\t\t\t\tif (this.#hasFetchMethod && this.#isBackgroundFetch(oldVal)) {\n\t\t\t\t\toldVal.__abortController.abort(/* @__PURE__ */ new Error(\"replaced\"));\n\t\t\t\t\tconst { __staleWhileFetching: s } = oldVal;\n\t\t\t\t\tif (s !== void 0 && !noDisposeOnSet) {\n\t\t\t\t\t\tif (this.#hasDispose) this.#dispose?.(s, k, \"set\");\n\t\t\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\t\t\ts,\n\t\t\t\t\t\t\tk,\n\t\t\t\t\t\t\t\"set\"\n\t\t\t\t\t\t]);\n\t\t\t\t\t}\n\t\t\t\t} else if (!noDisposeOnSet) {\n\t\t\t\t\tif (this.#hasDispose) this.#dispose?.(oldVal, k, \"set\");\n\t\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\t\toldVal,\n\t\t\t\t\t\tk,\n\t\t\t\t\t\t\"set\"\n\t\t\t\t\t]);\n\t\t\t\t}\n\t\t\t\tthis.#removeItemSize(index);\n\t\t\t\tthis.#addItemSize(index, size, status);\n\t\t\t\tthis.#valList[index] = v;\n\t\t\t\tif (status) {\n\t\t\t\t\tstatus.set = \"replace\";\n\t\t\t\t\tconst oldValue = oldVal && this.#isBackgroundFetch(oldVal) ? oldVal.__staleWhileFetching : oldVal;\n\t\t\t\t\tif (oldValue !== void 0) status.oldValue = oldValue;\n\t\t\t\t}\n\t\t\t} else if (status) status.set = \"update\";\n\t\t}\n\t\tif (ttl !== 0 && !this.#ttls) this.#initializeTTLTracking();\n\t\tif (this.#ttls) {\n\t\t\tif (!noUpdateTTL) this.#setItemTTL(index, ttl, start);\n\t\t\tif (status) this.#statusTTL(status, index);\n\t\t}\n\t\tif (!noDisposeOnSet && this.#hasDisposeAfter && this.#disposed) {\n\t\t\tconst dt = this.#disposed;\n\t\t\tlet task;\n\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t}\n\t\treturn this;\n\t}\n\t/**\n\t* Evict the least recently used item, returning its value or\n\t* `undefined` if cache is empty.\n\t*/\n\tpop() {\n\t\ttry {\n\t\t\twhile (this.#size) {\n\t\t\t\tconst val = this.#valList[this.#head];\n\t\t\t\tthis.#evict(true);\n\t\t\t\tif (this.#isBackgroundFetch(val)) {\n\t\t\t\t\tif (val.__staleWhileFetching) return val.__staleWhileFetching;\n\t\t\t\t} else if (val !== void 0) return val;\n\t\t\t}\n\t\t} finally {\n\t\t\tif (this.#hasDisposeAfter && this.#disposed) {\n\t\t\t\tconst dt = this.#disposed;\n\t\t\t\tlet task;\n\t\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t\t}\n\t\t}\n\t}\n\t#evict(free) {\n\t\tconst head = this.#head;\n\t\tconst k = this.#keyList[head];\n\t\tconst v = this.#valList[head];\n\t\tif (this.#hasFetchMethod && this.#isBackgroundFetch(v)) v.__abortController.abort(/* @__PURE__ */ new Error(\"evicted\"));\n\t\telse if (this.#hasDispose || this.#hasDisposeAfter) {\n\t\t\tif (this.#hasDispose) this.#dispose?.(v, k, \"evict\");\n\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\tv,\n\t\t\t\tk,\n\t\t\t\t\"evict\"\n\t\t\t]);\n\t\t}\n\t\tthis.#removeItemSize(head);\n\t\tif (free) {\n\t\t\tthis.#keyList[head] = void 0;\n\t\t\tthis.#valList[head] = void 0;\n\t\t\tthis.#free.push(head);\n\t\t}\n\t\tif (this.#size === 1) {\n\t\t\tthis.#head = this.#tail = 0;\n\t\t\tthis.#free.length = 0;\n\t\t} else this.#head = this.#next[head];\n\t\tthis.#keyMap.delete(k);\n\t\tthis.#size--;\n\t\treturn head;\n\t}\n\t/**\n\t* Check if a key is in the cache, without updating the recency of use.\n\t* Will return false if the item is stale, even though it is technically\n\t* in the cache.\n\t*\n\t* Check if a key is in the cache, without updating the recency of\n\t* use. Age is updated if {@link LRUCache.OptionsBase.updateAgeOnHas} is set\n\t* to `true` in either the options or the constructor.\n\t*\n\t* Will return `false` if the item is stale, even though it is technically in\n\t* the cache. The difference can be determined (if it matters) by using a\n\t* `status` argument, and inspecting the `has` field.\n\t*\n\t* Will not update item age unless\n\t* {@link LRUCache.OptionsBase.updateAgeOnHas} is set.\n\t*/\n\thas(k, hasOptions = {}) {\n\t\tconst { updateAgeOnHas = this.updateAgeOnHas, status } = hasOptions;\n\t\tconst index = this.#keyMap.get(k);\n\t\tif (index !== void 0) {\n\t\t\tconst v = this.#valList[index];\n\t\t\tif (this.#isBackgroundFetch(v) && v.__staleWhileFetching === void 0) return false;\n\t\t\tif (!this.#isStale(index)) {\n\t\t\t\tif (updateAgeOnHas) this.#updateItemAge(index);\n\t\t\t\tif (status) {\n\t\t\t\t\tstatus.has = \"hit\";\n\t\t\t\t\tthis.#statusTTL(status, index);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t} else if (status) {\n\t\t\t\tstatus.has = \"stale\";\n\t\t\t\tthis.#statusTTL(status, index);\n\t\t\t}\n\t\t} else if (status) status.has = \"miss\";\n\t\treturn false;\n\t}\n\t/**\n\t* Like {@link LRUCache#get} but doesn't update recency or delete stale\n\t* items.\n\t*\n\t* Returns `undefined` if the item is stale, unless\n\t* {@link LRUCache.OptionsBase.allowStale} is set.\n\t*/\n\tpeek(k, peekOptions = {}) {\n\t\tconst { allowStale = this.allowStale } = peekOptions;\n\t\tconst index = this.#keyMap.get(k);\n\t\tif (index === void 0 || !allowStale && this.#isStale(index)) return;\n\t\tconst v = this.#valList[index];\n\t\treturn this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t}\n\t#backgroundFetch(k, index, options, context) {\n\t\tconst v = index === void 0 ? void 0 : this.#valList[index];\n\t\tif (this.#isBackgroundFetch(v)) return v;\n\t\tconst ac = new AC();\n\t\tconst { signal } = options;\n\t\tsignal?.addEventListener(\"abort\", () => ac.abort(signal.reason), { signal: ac.signal });\n\t\tconst fetchOpts = {\n\t\t\tsignal: ac.signal,\n\t\t\toptions,\n\t\t\tcontext\n\t\t};\n\t\tconst cb = (v, updateCache = false) => {\n\t\t\tconst { aborted } = ac.signal;\n\t\t\tconst ignoreAbort = options.ignoreFetchAbort && v !== void 0;\n\t\t\tif (options.status) if (aborted && !updateCache) {\n\t\t\t\toptions.status.fetchAborted = true;\n\t\t\t\toptions.status.fetchError = ac.signal.reason;\n\t\t\t\tif (ignoreAbort) options.status.fetchAbortIgnored = true;\n\t\t\t} else options.status.fetchResolved = true;\n\t\t\tif (aborted && !ignoreAbort && !updateCache) return fetchFail(ac.signal.reason);\n\t\t\tconst bf = p;\n\t\t\tif (this.#valList[index] === p) if (v === void 0) if (bf.__staleWhileFetching) this.#valList[index] = bf.__staleWhileFetching;\n\t\t\telse this.#delete(k, \"fetch\");\n\t\t\telse {\n\t\t\t\tif (options.status) options.status.fetchUpdated = true;\n\t\t\t\tthis.set(k, v, fetchOpts.options);\n\t\t\t}\n\t\t\treturn v;\n\t\t};\n\t\tconst eb = (er) => {\n\t\t\tif (options.status) {\n\t\t\t\toptions.status.fetchRejected = true;\n\t\t\t\toptions.status.fetchError = er;\n\t\t\t}\n\t\t\treturn fetchFail(er);\n\t\t};\n\t\tconst fetchFail = (er) => {\n\t\t\tconst { aborted } = ac.signal;\n\t\t\tconst allowStaleAborted = aborted && options.allowStaleOnFetchAbort;\n\t\t\tconst allowStale = allowStaleAborted || options.allowStaleOnFetchRejection;\n\t\t\tconst noDelete = allowStale || options.noDeleteOnFetchRejection;\n\t\t\tconst bf = p;\n\t\t\tif (this.#valList[index] === p) {\n\t\t\t\tif (!noDelete || bf.__staleWhileFetching === void 0) this.#delete(k, \"fetch\");\n\t\t\t\telse if (!allowStaleAborted) this.#valList[index] = bf.__staleWhileFetching;\n\t\t\t}\n\t\t\tif (allowStale) {\n\t\t\t\tif (options.status && bf.__staleWhileFetching !== void 0) options.status.returnedStale = true;\n\t\t\t\treturn bf.__staleWhileFetching;\n\t\t\t} else if (bf.__returned === bf) throw er;\n\t\t};\n\t\tconst pcall = (res, rej) => {\n\t\t\tconst fmp = this.#fetchMethod?.(k, v, fetchOpts);\n\t\t\tif (fmp && fmp instanceof Promise) fmp.then((v) => res(v === void 0 ? void 0 : v), rej);\n\t\t\tac.signal.addEventListener(\"abort\", () => {\n\t\t\t\tif (!options.ignoreFetchAbort || options.allowStaleOnFetchAbort) {\n\t\t\t\t\tres(void 0);\n\t\t\t\t\tif (options.allowStaleOnFetchAbort) res = (v) => cb(v, true);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tif (options.status) options.status.fetchDispatched = true;\n\t\tconst p = new Promise(pcall).then(cb, eb);\n\t\tconst bf = Object.assign(p, {\n\t\t\t__abortController: ac,\n\t\t\t__staleWhileFetching: v,\n\t\t\t__returned: void 0\n\t\t});\n\t\tif (index === void 0) {\n\t\t\tthis.set(k, bf, {\n\t\t\t\t...fetchOpts.options,\n\t\t\t\tstatus: void 0\n\t\t\t});\n\t\t\tindex = this.#keyMap.get(k);\n\t\t} else this.#valList[index] = bf;\n\t\treturn bf;\n\t}\n\t#isBackgroundFetch(p) {\n\t\tif (!this.#hasFetchMethod) return false;\n\t\tconst b = p;\n\t\treturn !!b && b instanceof Promise && b.hasOwnProperty(\"__staleWhileFetching\") && b.__abortController instanceof AC;\n\t}\n\tasync fetch(k, fetchOptions = {}) {\n\t\tconst { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, allowStaleOnFetchAbort = this.allowStaleOnFetchAbort, context, forceRefresh = false, status, signal } = fetchOptions;\n\t\tif (!this.#hasFetchMethod) {\n\t\t\tif (status) status.fetch = \"get\";\n\t\t\treturn this.get(k, {\n\t\t\t\tallowStale,\n\t\t\t\tupdateAgeOnGet,\n\t\t\t\tnoDeleteOnStaleGet,\n\t\t\t\tstatus\n\t\t\t});\n\t\t}\n\t\tconst options = {\n\t\t\tallowStale,\n\t\t\tupdateAgeOnGet,\n\t\t\tnoDeleteOnStaleGet,\n\t\t\tttl,\n\t\t\tnoDisposeOnSet,\n\t\t\tsize,\n\t\t\tsizeCalculation,\n\t\t\tnoUpdateTTL,\n\t\t\tnoDeleteOnFetchRejection,\n\t\t\tallowStaleOnFetchRejection,\n\t\t\tallowStaleOnFetchAbort,\n\t\t\tignoreFetchAbort,\n\t\t\tstatus,\n\t\t\tsignal\n\t\t};\n\t\tlet index = this.#keyMap.get(k);\n\t\tif (index === void 0) {\n\t\t\tif (status) status.fetch = \"miss\";\n\t\t\tconst p = this.#backgroundFetch(k, index, options, context);\n\t\t\treturn p.__returned = p;\n\t\t} else {\n\t\t\tconst v = this.#valList[index];\n\t\t\tif (this.#isBackgroundFetch(v)) {\n\t\t\t\tconst stale = allowStale && v.__staleWhileFetching !== void 0;\n\t\t\t\tif (status) {\n\t\t\t\t\tstatus.fetch = \"inflight\";\n\t\t\t\t\tif (stale) status.returnedStale = true;\n\t\t\t\t}\n\t\t\t\treturn stale ? v.__staleWhileFetching : v.__returned = v;\n\t\t\t}\n\t\t\tconst isStale = this.#isStale(index);\n\t\t\tif (!forceRefresh && !isStale) {\n\t\t\t\tif (status) status.fetch = \"hit\";\n\t\t\t\tthis.#moveToTail(index);\n\t\t\t\tif (updateAgeOnGet) this.#updateItemAge(index);\n\t\t\t\tif (status) this.#statusTTL(status, index);\n\t\t\t\treturn v;\n\t\t\t}\n\t\t\tconst p = this.#backgroundFetch(k, index, options, context);\n\t\t\tconst staleVal = p.__staleWhileFetching !== void 0 && allowStale;\n\t\t\tif (status) {\n\t\t\t\tstatus.fetch = isStale ? \"stale\" : \"refresh\";\n\t\t\t\tif (staleVal && isStale) status.returnedStale = true;\n\t\t\t}\n\t\t\treturn staleVal ? p.__staleWhileFetching : p.__returned = p;\n\t\t}\n\t}\n\tasync forceFetch(k, fetchOptions = {}) {\n\t\tconst v = await this.fetch(k, fetchOptions);\n\t\tif (v === void 0) throw new Error(\"fetch() returned undefined\");\n\t\treturn v;\n\t}\n\tmemo(k, memoOptions = {}) {\n\t\tconst memoMethod = this.#memoMethod;\n\t\tif (!memoMethod) throw new Error(\"no memoMethod provided to constructor\");\n\t\tconst { context, forceRefresh, ...options } = memoOptions;\n\t\tconst v = this.get(k, options);\n\t\tif (!forceRefresh && v !== void 0) return v;\n\t\tconst vv = memoMethod(k, v, {\n\t\t\toptions,\n\t\t\tcontext\n\t\t});\n\t\tthis.set(k, vv, options);\n\t\treturn vv;\n\t}\n\t/**\n\t* Return a value from the cache. Will update the recency of the cache\n\t* entry found.\n\t*\n\t* If the key is not found, get() will return `undefined`.\n\t*/\n\tget(k, getOptions = {}) {\n\t\tconst { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, status } = getOptions;\n\t\tconst index = this.#keyMap.get(k);\n\t\tif (index !== void 0) {\n\t\t\tconst value = this.#valList[index];\n\t\t\tconst fetching = this.#isBackgroundFetch(value);\n\t\t\tif (status) this.#statusTTL(status, index);\n\t\t\tif (this.#isStale(index)) {\n\t\t\t\tif (status) status.get = \"stale\";\n\t\t\t\tif (!fetching) {\n\t\t\t\t\tif (!noDeleteOnStaleGet) this.#delete(k, \"expire\");\n\t\t\t\t\tif (status && allowStale) status.returnedStale = true;\n\t\t\t\t\treturn allowStale ? value : void 0;\n\t\t\t\t} else {\n\t\t\t\t\tif (status && allowStale && value.__staleWhileFetching !== void 0) status.returnedStale = true;\n\t\t\t\t\treturn allowStale ? value.__staleWhileFetching : void 0;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (status) status.get = \"hit\";\n\t\t\t\tif (fetching) return value.__staleWhileFetching;\n\t\t\t\tthis.#moveToTail(index);\n\t\t\t\tif (updateAgeOnGet) this.#updateItemAge(index);\n\t\t\t\treturn value;\n\t\t\t}\n\t\t} else if (status) status.get = \"miss\";\n\t}\n\t#connect(p, n) {\n\t\tthis.#prev[n] = p;\n\t\tthis.#next[p] = n;\n\t}\n\t#moveToTail(index) {\n\t\tif (index !== this.#tail) {\n\t\t\tif (index === this.#head) this.#head = this.#next[index];\n\t\t\telse this.#connect(this.#prev[index], this.#next[index]);\n\t\t\tthis.#connect(this.#tail, index);\n\t\t\tthis.#tail = index;\n\t\t}\n\t}\n\t/**\n\t* Deletes a key out of the cache.\n\t*\n\t* Returns true if the key was deleted, false otherwise.\n\t*/\n\tdelete(k) {\n\t\treturn this.#delete(k, \"delete\");\n\t}\n\t#delete(k, reason) {\n\t\tlet deleted = false;\n\t\tif (this.#size !== 0) {\n\t\t\tconst index = this.#keyMap.get(k);\n\t\t\tif (index !== void 0) {\n\t\t\t\tdeleted = true;\n\t\t\t\tif (this.#size === 1) this.#clear(reason);\n\t\t\t\telse {\n\t\t\t\t\tthis.#removeItemSize(index);\n\t\t\t\t\tconst v = this.#valList[index];\n\t\t\t\t\tif (this.#isBackgroundFetch(v)) v.__abortController.abort(/* @__PURE__ */ new Error(\"deleted\"));\n\t\t\t\t\telse if (this.#hasDispose || this.#hasDisposeAfter) {\n\t\t\t\t\t\tif (this.#hasDispose) this.#dispose?.(v, k, reason);\n\t\t\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\t\t\tv,\n\t\t\t\t\t\t\tk,\n\t\t\t\t\t\t\treason\n\t\t\t\t\t\t]);\n\t\t\t\t\t}\n\t\t\t\t\tthis.#keyMap.delete(k);\n\t\t\t\t\tthis.#keyList[index] = void 0;\n\t\t\t\t\tthis.#valList[index] = void 0;\n\t\t\t\t\tif (index === this.#tail) this.#tail = this.#prev[index];\n\t\t\t\t\telse if (index === this.#head) this.#head = this.#next[index];\n\t\t\t\t\telse {\n\t\t\t\t\t\tconst pi = this.#prev[index];\n\t\t\t\t\t\tthis.#next[pi] = this.#next[index];\n\t\t\t\t\t\tconst ni = this.#next[index];\n\t\t\t\t\t\tthis.#prev[ni] = this.#prev[index];\n\t\t\t\t\t}\n\t\t\t\t\tthis.#size--;\n\t\t\t\t\tthis.#free.push(index);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (this.#hasDisposeAfter && this.#disposed?.length) {\n\t\t\tconst dt = this.#disposed;\n\t\t\tlet task;\n\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t}\n\t\treturn deleted;\n\t}\n\t/**\n\t* Clear the cache entirely, throwing away all values.\n\t*/\n\tclear() {\n\t\treturn this.#clear(\"delete\");\n\t}\n\t#clear(reason) {\n\t\tfor (const index of this.#rindexes({ allowStale: true })) {\n\t\t\tconst v = this.#valList[index];\n\t\t\tif (this.#isBackgroundFetch(v)) v.__abortController.abort(/* @__PURE__ */ new Error(\"deleted\"));\n\t\t\telse {\n\t\t\t\tconst k = this.#keyList[index];\n\t\t\t\tif (this.#hasDispose) this.#dispose?.(v, k, reason);\n\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\tv,\n\t\t\t\t\tk,\n\t\t\t\t\treason\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\t\tthis.#keyMap.clear();\n\t\tthis.#valList.fill(void 0);\n\t\tthis.#keyList.fill(void 0);\n\t\tif (this.#ttls && this.#starts) {\n\t\t\tthis.#ttls.fill(0);\n\t\t\tthis.#starts.fill(0);\n\t\t}\n\t\tif (this.#sizes) this.#sizes.fill(0);\n\t\tthis.#head = 0;\n\t\tthis.#tail = 0;\n\t\tthis.#free.length = 0;\n\t\tthis.#calculatedSize = 0;\n\t\tthis.#size = 0;\n\t\tif (this.#hasDisposeAfter && this.#disposed) {\n\t\t\tconst dt = this.#disposed;\n\t\t\tlet task;\n\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t}\n\t}\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/utils.js\nconst isDate = (d) => d instanceof Date;\nconst isEmpty = (o) => Object.keys(o).length === 0;\nconst isObject = (o) => o != null && typeof o === \"object\";\nconst hasOwnProperty = (o, ...args) => Object.prototype.hasOwnProperty.call(o, ...args);\nconst isEmptyObject = (o) => isObject(o) && isEmpty(o);\nconst makeObjectWithoutPrototype = () => Object.create(null);\n\n//#endregion\n//#region ../../node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/diff.js\nconst diff = (lhs, rhs) => {\n\tif (lhs === rhs) return {};\n\tif (!isObject(lhs) || !isObject(rhs)) return rhs;\n\tconst deletedValues = Object.keys(lhs).reduce((acc, key) => {\n\t\tif (!hasOwnProperty(rhs, key)) acc[key] = void 0;\n\t\treturn acc;\n\t}, makeObjectWithoutPrototype());\n\tif (isDate(lhs) || isDate(rhs)) {\n\t\tif (lhs.valueOf() == rhs.valueOf()) return {};\n\t\treturn rhs;\n\t}\n\treturn Object.keys(rhs).reduce((acc, key) => {\n\t\tif (!hasOwnProperty(lhs, key)) {\n\t\t\tacc[key] = rhs[key];\n\t\t\treturn acc;\n\t\t}\n\t\tconst difference = diff(lhs[key], rhs[key]);\n\t\tif (isEmptyObject(difference) && !isDate(difference) && (isEmptyObject(lhs[key]) || !isEmptyObject(rhs[key]))) return acc;\n\t\tacc[key] = difference;\n\t\treturn acc;\n\t}, deletedValues);\n};\nvar diff_default = diff;\n\n//#endregion\n//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js\nvar require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tlet p = process || {}, argv = p.argv || [], env = p.env || {};\n\tlet isColorSupported = !(!!env.NO_COLOR || argv.includes(\"--no-color\")) && (!!env.FORCE_COLOR || argv.includes(\"--color\") || p.platform === \"win32\" || (p.stdout || {}).isTTY && env.TERM !== \"dumb\" || !!env.CI);\n\tlet formatter = (open, close, replace = open) => (input) => {\n\t\tlet string = \"\" + input, index = string.indexOf(close, open.length);\n\t\treturn ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;\n\t};\n\tlet replaceClose = (string, close, replace, index) => {\n\t\tlet result = \"\", cursor = 0;\n\t\tdo {\n\t\t\tresult += string.substring(cursor, index) + replace;\n\t\t\tcursor = index + close.length;\n\t\t\tindex = string.indexOf(close, cursor);\n\t\t} while (~index);\n\t\treturn result + string.substring(cursor);\n\t};\n\tlet createColors = (enabled = isColorSupported) => {\n\t\tlet f = enabled ? formatter : () => String;\n\t\treturn {\n\t\t\tisColorSupported: enabled,\n\t\t\treset: f(\"\\x1B[0m\", \"\\x1B[0m\"),\n\t\t\tbold: f(\"\\x1B[1m\", \"\\x1B[22m\", \"\\x1B[22m\\x1B[1m\"),\n\t\t\tdim: f(\"\\x1B[2m\", \"\\x1B[22m\", \"\\x1B[22m\\x1B[2m\"),\n\t\t\titalic: f(\"\\x1B[3m\", \"\\x1B[23m\"),\n\t\t\tunderline: f(\"\\x1B[4m\", \"\\x1B[24m\"),\n\t\t\tinverse: f(\"\\x1B[7m\", \"\\x1B[27m\"),\n\t\t\thidden: f(\"\\x1B[8m\", \"\\x1B[28m\"),\n\t\t\tstrikethrough: f(\"\\x1B[9m\", \"\\x1B[29m\"),\n\t\t\tblack: f(\"\\x1B[30m\", \"\\x1B[39m\"),\n\t\t\tred: f(\"\\x1B[31m\", \"\\x1B[39m\"),\n\t\t\tgreen: f(\"\\x1B[32m\", \"\\x1B[39m\"),\n\t\t\tyellow: f(\"\\x1B[33m\", \"\\x1B[39m\"),\n\t\t\tblue: f(\"\\x1B[34m\", \"\\x1B[39m\"),\n\t\t\tmagenta: f(\"\\x1B[35m\", \"\\x1B[39m\"),\n\t\t\tcyan: f(\"\\x1B[36m\", \"\\x1B[39m\"),\n\t\t\twhite: f(\"\\x1B[37m\", \"\\x1B[39m\"),\n\t\t\tgray: f(\"\\x1B[90m\", \"\\x1B[39m\"),\n\t\t\tbgBlack: f(\"\\x1B[40m\", \"\\x1B[49m\"),\n\t\t\tbgRed: f(\"\\x1B[41m\", \"\\x1B[49m\"),\n\t\t\tbgGreen: f(\"\\x1B[42m\", \"\\x1B[49m\"),\n\t\t\tbgYellow: f(\"\\x1B[43m\", \"\\x1B[49m\"),\n\t\t\tbgBlue: f(\"\\x1B[44m\", \"\\x1B[49m\"),\n\t\t\tbgMagenta: f(\"\\x1B[45m\", \"\\x1B[49m\"),\n\t\t\tbgCyan: f(\"\\x1B[46m\", \"\\x1B[49m\"),\n\t\t\tbgWhite: f(\"\\x1B[47m\", \"\\x1B[49m\"),\n\t\t\tblackBright: f(\"\\x1B[90m\", \"\\x1B[39m\"),\n\t\t\tredBright: f(\"\\x1B[91m\", \"\\x1B[39m\"),\n\t\t\tgreenBright: f(\"\\x1B[92m\", \"\\x1B[39m\"),\n\t\t\tyellowBright: f(\"\\x1B[93m\", \"\\x1B[39m\"),\n\t\t\tblueBright: f(\"\\x1B[94m\", \"\\x1B[39m\"),\n\t\t\tmagentaBright: f(\"\\x1B[95m\", \"\\x1B[39m\"),\n\t\t\tcyanBright: f(\"\\x1B[96m\", \"\\x1B[39m\"),\n\t\t\twhiteBright: f(\"\\x1B[97m\", \"\\x1B[39m\"),\n\t\t\tbgBlackBright: f(\"\\x1B[100m\", \"\\x1B[49m\"),\n\t\t\tbgRedBright: f(\"\\x1B[101m\", \"\\x1B[49m\"),\n\t\t\tbgGreenBright: f(\"\\x1B[102m\", \"\\x1B[49m\"),\n\t\t\tbgYellowBright: f(\"\\x1B[103m\", \"\\x1B[49m\"),\n\t\t\tbgBlueBright: f(\"\\x1B[104m\", \"\\x1B[49m\"),\n\t\t\tbgMagentaBright: f(\"\\x1B[105m\", \"\\x1B[49m\"),\n\t\t\tbgCyanBright: f(\"\\x1B[106m\", \"\\x1B[49m\"),\n\t\t\tbgWhiteBright: f(\"\\x1B[107m\", \"\\x1B[49m\")\n\t\t};\n\t};\n\tmodule.exports = createColors();\n\tmodule.exports.createColors = createColors;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js\nvar require_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tvar isMergeableObject = function isMergeableObject(value) {\n\t\treturn isNonNullObject(value) && !isSpecial(value);\n\t};\n\tfunction isNonNullObject(value) {\n\t\treturn !!value && typeof value === \"object\";\n\t}\n\tfunction isSpecial(value) {\n\t\tvar stringValue = Object.prototype.toString.call(value);\n\t\treturn stringValue === \"[object RegExp]\" || stringValue === \"[object Date]\" || isReactElement(value);\n\t}\n\tvar REACT_ELEMENT_TYPE = typeof Symbol === \"function\" && Symbol.for ? Symbol.for(\"react.element\") : 60103;\n\tfunction isReactElement(value) {\n\t\treturn value.$$typeof === REACT_ELEMENT_TYPE;\n\t}\n\tfunction emptyTarget(val) {\n\t\treturn Array.isArray(val) ? [] : {};\n\t}\n\tfunction cloneUnlessOtherwiseSpecified(value, options) {\n\t\treturn options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;\n\t}\n\tfunction defaultArrayMerge(target, source, options) {\n\t\treturn target.concat(source).map(function(element) {\n\t\t\treturn cloneUnlessOtherwiseSpecified(element, options);\n\t\t});\n\t}\n\tfunction getMergeFunction(key, options) {\n\t\tif (!options.customMerge) return deepmerge;\n\t\tvar customMerge = options.customMerge(key);\n\t\treturn typeof customMerge === \"function\" ? customMerge : deepmerge;\n\t}\n\tfunction getEnumerableOwnPropertySymbols(target) {\n\t\treturn Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol);\n\t\t}) : [];\n\t}\n\tfunction getKeys(target) {\n\t\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));\n\t}\n\tfunction propertyIsOnObject(object, property) {\n\t\ttry {\n\t\t\treturn property in object;\n\t\t} catch (_) {\n\t\t\treturn false;\n\t\t}\n\t}\n\tfunction propertyIsUnsafe(target, key) {\n\t\treturn propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));\n\t}\n\tfunction mergeObject(target, source, options) {\n\t\tvar destination = {};\n\t\tif (options.isMergeableObject(target)) getKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t\tgetKeys(source).forEach(function(key) {\n\t\t\tif (propertyIsUnsafe(target, key)) return;\n\t\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) destination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t\telse destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t});\n\t\treturn destination;\n\t}\n\tfunction deepmerge(target, source, options) {\n\t\toptions = options || {};\n\t\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\t\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\t\tvar sourceIsArray = Array.isArray(source);\n\t\tif (!(sourceIsArray === Array.isArray(target))) return cloneUnlessOtherwiseSpecified(source, options);\n\t\telse if (sourceIsArray) return options.arrayMerge(target, source, options);\n\t\telse return mergeObject(target, source, options);\n\t}\n\tdeepmerge.all = function deepmergeAll(array, options) {\n\t\tif (!Array.isArray(array)) throw new Error(\"first argument should be an array\");\n\t\treturn array.reduce(function(prev, next) {\n\t\t\treturn deepmerge(prev, next, options);\n\t\t}, {});\n\t};\n\tvar deepmerge_1 = deepmerge;\n\tmodule.exports = deepmerge_1;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js\nvar import_picocolors = /* @__PURE__ */ __toESM(require_picocolors());\nvar import_cjs = /* @__PURE__ */ __toESM(require_cjs());\nvar localClassNames = /* @__PURE__ */ new Set();\nvar composedClassLists = [];\nvar bufferedCSSObjs = [];\nvar browserRuntimeAdapter = {\n\tappendCss: (cssObj) => {\n\t\tbufferedCSSObjs.push(cssObj);\n\t},\n\tregisterClassName: (className) => {\n\t\tlocalClassNames.add(className);\n\t},\n\tregisterComposition: (composition) => {\n\t\tcomposedClassLists.push(composition);\n\t},\n\tmarkCompositionUsed: () => {},\n\tonEndFileScope: (fileScope) => {\n\t\tinjectStyles({\n\t\t\tfileScope,\n\t\t\tcss: transformCss({\n\t\t\t\tlocalClassNames: Array.from(localClassNames),\n\t\t\t\tcomposedClassLists,\n\t\t\t\tcssObjs: bufferedCSSObjs\n\t\t\t}).join(\"\\n\")\n\t\t});\n\t\tbufferedCSSObjs = [];\n\t},\n\tgetIdentOption: () => process.env.NODE_ENV === \"production\" ? \"short\" : \"debug\"\n};\nif (typeof window !== \"undefined\") setAdapterIfNotSet(browserRuntimeAdapter);\nvar getLastSlashBeforeIndex = (path, index) => {\n\tvar pathIndex = index - 1;\n\twhile (pathIndex >= 0) {\n\t\tif (path[pathIndex] === \"/\") return pathIndex;\n\t\tpathIndex--;\n\t}\n\treturn -1;\n};\n/**\n* Assumptions:\n* - The path is always normalized to use posix file separators (/) (see `addFileScope`)\n* - The path is always relative to the project root, i.e. there will never be a leading slash (see `addFileScope`)\n* - As long as `.css` is there, we have a valid `.css.*` file path, because otherwise there wouldn't\n* be a file scope to begin with\n*\n* The LRU cache we use can't cache undefined/null values, so we opt to return an empty string,\n* rather than using a custom Symbol or something similar.\n*/\nvar _getDebugFileName = (path) => {\n\tvar file;\n\tvar lastIndexOfDotCss = path.lastIndexOf(\".css\");\n\tif (lastIndexOfDotCss === -1) return \"\";\n\tvar lastSlashIndex = getLastSlashBeforeIndex(path, lastIndexOfDotCss);\n\tfile = path.slice(lastSlashIndex + 1, lastIndexOfDotCss);\n\tif (lastSlashIndex === -1) return file;\n\tvar secondLastSlashIndex = getLastSlashBeforeIndex(path, lastSlashIndex - 1);\n\tvar dir = path.slice(secondLastSlashIndex + 1, lastSlashIndex);\n\treturn file !== \"index\" ? file : dir;\n};\nvar memoizedGetDebugFileName = () => {\n\tvar cache = new LRUCache({ max: 500 });\n\treturn (path) => {\n\t\tvar cachedResult = cache.get(path);\n\t\tif (cachedResult) return cachedResult;\n\t\tvar result = _getDebugFileName(path);\n\t\tcache.set(path, result);\n\t\treturn result;\n\t};\n};\nvar getDebugFileName = memoizedGetDebugFileName();\nfunction getDevPrefix(_ref) {\n\tvar { debugId, debugFileName } = _ref;\n\tvar parts = debugId ? [debugId.replace(/\\s/g, \"_\")] : [];\n\tif (debugFileName) {\n\t\tvar { filePath } = getFileScope();\n\t\tvar _debugFileName = getDebugFileName(filePath);\n\t\tif (_debugFileName) parts.unshift(_debugFileName);\n\t}\n\treturn parts.join(\"_\");\n}\nfunction normalizeIdentifier(identifier) {\n\treturn identifier.match(/^[0-9]/) ? \"_\".concat(identifier) : identifier;\n}\nfunction generateIdentifier(arg) {\n\tvar identOption = getIdentOption();\n\tvar { debugId, debugFileName = true } = _objectSpread2$1(_objectSpread2$1({}, typeof arg === \"string\" ? { debugId: arg } : null), typeof arg === \"object\" ? arg : null);\n\tvar refCount = getAndIncrementRefCounter().toString(36);\n\tvar { filePath, packageName } = getFileScope();\n\tvar fileScopeHash = murmur2(packageName ? \"\".concat(packageName).concat(filePath) : filePath);\n\tvar identifier = \"\".concat(fileScopeHash).concat(refCount);\n\tif (identOption === \"debug\") {\n\t\tvar devPrefix = getDevPrefix({\n\t\t\tdebugId,\n\t\t\tdebugFileName\n\t\t});\n\t\tif (devPrefix) identifier = \"\".concat(devPrefix, \"__\").concat(identifier);\n\t\treturn normalizeIdentifier(identifier);\n\t}\n\tif (typeof identOption === \"function\") {\n\t\tidentifier = identOption({\n\t\t\thash: identifier,\n\t\t\tdebugId,\n\t\t\tfilePath,\n\t\t\tpackageName\n\t\t});\n\t\tif (!identifier.match(/^[A-Z_][0-9A-Z_-]+$/i)) throw new Error(\"Identifier function returned invalid indentifier: \\\"\".concat(identifier, \"\\\"\"));\n\t\treturn identifier;\n\t}\n\treturn normalizeIdentifier(identifier);\n}\nvar normaliseObject = (obj) => (0, import_vanilla_extract_private_cjs.walkObject)(obj, () => \"\");\nfunction validateContract(contract, tokens) {\n\tvar theDiff = diff_default(normaliseObject(contract), normaliseObject(tokens));\n\tvar valid = Object.keys(theDiff).length === 0;\n\treturn {\n\t\tvalid,\n\t\tdiffString: valid ? \"\" : renderDiff(contract, theDiff)\n\t};\n}\nfunction diffLine(value, nesting, type) {\n\tvar whitespace = [...Array(nesting).keys()].map(() => \" \").join(\"\");\n\tvar line = \"\".concat(type ? type : \" \").concat(whitespace).concat(value);\n\tif (process.env.NODE_ENV !== \"test\") {\n\t\tif (type === \"-\") return import_picocolors.default.red(line);\n\t\tif (type === \"+\") return import_picocolors.default.green(line);\n\t}\n\treturn line;\n}\nfunction renderDiff(orig, diff) {\n\tvar nesting = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;\n\tvar lines = [];\n\tif (nesting === 0) lines.push(diffLine(\"{\", 0));\n\tvar innerNesting = nesting + 1;\n\tfor (var key of Object.keys(diff).sort()) {\n\t\tvar value = diff[key];\n\t\tif (!(key in orig)) lines.push(diffLine(\"\".concat(key, \": ...,\"), innerNesting, \"+\"));\n\t\telse if (typeof value === \"object\") {\n\t\t\tlines.push(diffLine(\"\".concat(key, \": {\"), innerNesting));\n\t\t\tlines.push(renderDiff(orig[key], diff[key], innerNesting));\n\t\t\tlines.push(diffLine(\"}\", innerNesting));\n\t\t} else lines.push(diffLine(\"\".concat(key, \": ...,\"), innerNesting, \"-\"));\n\t}\n\tif (nesting === 0) lines.push(diffLine(\"}\", 0));\n\treturn lines.join(\"\\n\");\n}\nvar buildPropertyRule = (_ref) => {\n\tvar { syntax, inherits, initialValue } = _ref;\n\treturn _objectSpread2$1({\n\t\tsyntax: \"\\\"\".concat(Array.isArray(syntax) ? syntax.join(\" | \") : syntax, \"\\\"\"),\n\t\tinherits: inherits ? \"true\" : \"false\"\n\t}, initialValue != null ? { initialValue } : {});\n};\nfunction createVar(debugIdOrDeclaration, debugId) {\n\tvar cssVarName = (0, import_cssesc.default)(generateIdentifier({\n\t\tdebugId: typeof debugIdOrDeclaration === \"string\" ? debugIdOrDeclaration : debugId,\n\t\tdebugFileName: false\n\t}), { isIdentifier: true });\n\tif (debugIdOrDeclaration && typeof debugIdOrDeclaration === \"object\") appendCss({\n\t\ttype: \"property\",\n\t\tname: \"--\".concat(cssVarName),\n\t\trule: buildPropertyRule(debugIdOrDeclaration)\n\t}, getFileScope());\n\treturn \"var(--\".concat(cssVarName, \")\");\n}\nfunction assignVars(varContract, tokens) {\n\tvar varSetters = {};\n\tvar { valid, diffString } = validateContract(varContract, tokens);\n\tif (!valid) throw new Error(\"Tokens don't match contract.\\n\".concat(diffString));\n\t(0, import_vanilla_extract_private_cjs.walkObject)(tokens, (value, path) => {\n\t\tvarSetters[(0, import_vanilla_extract_private_cjs.get)(varContract, path)] = String(value);\n\t});\n\treturn varSetters;\n}\nfunction createThemeContract(tokens) {\n\treturn (0, import_vanilla_extract_private_cjs.walkObject)(tokens, (_value, path) => {\n\t\treturn createVar(path.join(\"-\"));\n\t});\n}\nvar _excluded = [\"@layer\"];\nfunction createGlobalTheme(selector, arg2, arg3) {\n\tvar themeContractProvided = Boolean(arg3);\n\tvar { layerName, tokens } = extractLayerFromTokens(themeContractProvided ? arg3 : arg2);\n\tvar themeContract = themeContractProvided ? arg2 : createThemeContract(tokens);\n\tvar rule = { vars: assignVars(themeContract, tokens) };\n\tif (layerName) rule = { \"@layer\": { [layerName]: rule } };\n\tappendCss({\n\t\ttype: \"global\",\n\t\tselector,\n\t\trule\n\t}, getFileScope());\n\tif (!themeContractProvided) return themeContract;\n}\nfunction extractLayerFromTokens(tokens) {\n\tif (\"@layer\" in tokens) {\n\t\tvar { \"@layer\": layerName } = tokens;\n\t\treturn {\n\t\t\tlayerName,\n\t\t\ttokens: _objectWithoutProperties(tokens, _excluded)\n\t\t};\n\t}\n\treturn { tokens };\n}\nfunction composedStyle(rules, debugId) {\n\tvar className = generateIdentifier(debugId);\n\tregisterClassName(className, getFileScope());\n\tvar classList = [];\n\tvar styleRules = [];\n\tfor (var rule of rules) if (typeof rule === \"string\") classList.push(rule);\n\telse styleRules.push(rule);\n\tvar result = className;\n\tif (classList.length > 0) {\n\t\tresult = \"\".concat(className, \" \").concat(dedupeAndJoinClassList(classList));\n\t\tregisterComposition({\n\t\t\tidentifier: className,\n\t\t\tclassList: result\n\t\t}, getFileScope());\n\t\tif (styleRules.length > 0) markCompositionUsed(className);\n\t}\n\tif (styleRules.length > 0) appendCss({\n\t\ttype: \"local\",\n\t\tselector: className,\n\t\trule: import_cjs.default.all(styleRules, { arrayMerge: (_, sourceArray) => sourceArray })\n\t}, getFileScope());\n\treturn result;\n}\nfunction style(rule, debugId) {\n\tif (Array.isArray(rule)) return composedStyle(rule, debugId);\n\tvar className = generateIdentifier(debugId);\n\tregisterClassName(className, getFileScope());\n\tappendCss({\n\t\ttype: \"local\",\n\t\tselector: className,\n\t\trule\n\t}, getFileScope());\n\treturn className;\n}\n/**\n* @deprecated The same functionality is now provided by the 'style' function when you pass it an array\n*/\nfunction composeStyles() {\n\tvar compose = hasFileScope() ? composedStyle : dedupeAndJoinClassList;\n\tfor (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) classNames[_key] = arguments[_key];\n\treturn compose(classNames);\n}\n\n//#endregion\n//#region src/contracts/border.css.ts\nconst borderContract = createThemeContract({ radius: {\n\tnone: \"\",\n\txsmall: \"\",\n\tsmall: \"\",\n\tmedium: \"\",\n\tlarge: \"\",\n\txlarge: \"\",\n\txxlarge: \"\",\n\tfull: \"\"\n} });\n\n//#endregion\n//#region src/contracts/color.css.ts\nconst SCALABLE_COLOR_TOKENS = [\n\t\"black\",\n\t\"white\",\n\t\"gray\",\n\t\"brand\",\n\t\"info\",\n\t\"success\",\n\t\"warning\",\n\t\"error\"\n];\nconst PURE_COLOR_TOKENS = [\"transparent\", ...SCALABLE_COLOR_TOKENS];\nconst COLOR_SCALES = [\n\t\"100\",\n\t\"200\",\n\t\"300\",\n\t\"400\",\n\t\"500\",\n\t\"600\",\n\t\"700\",\n\t\"800\",\n\t\"900\"\n];\nconst colorScaleContract = (color) => ({\n\t[color]: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t100: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t200: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t300: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t400: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t500: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t600: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t700: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t800: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t900: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t}\n});\nconst colorContract = createThemeContract({\n\ttransparent: \"\",\n\tblack: colorScaleContract(\"black\"),\n\twhite: colorScaleContract(\"white\"),\n\tgray: colorScaleContract(\"gray\"),\n\tbrand: colorScaleContract(\"brand\"),\n\tinfo: colorScaleContract(\"info\"),\n\tsuccess: colorScaleContract(\"success\"),\n\twarning: colorScaleContract(\"warning\"),\n\terror: colorScaleContract(\"error\")\n});\n\n//#endregion\n//#region src/contracts/font.css.ts\nconst fontSizeScale = {\n\txsmall: \"\",\n\tsmall: \"\",\n\tmedium: \"\",\n\tlarge: \"\",\n\txlarge: \"\",\n\txxlarge: \"\"\n};\nconst fontContract = createThemeContract({\n\tfamily: {\n\t\tbrand: \"\",\n\t\tsans: \"\",\n\t\tmono: \"\",\n\t\tserif: \"\"\n\t},\n\tweight: {\n\t\tlight: \"\",\n\t\tregular: \"\",\n\t\tmedium: \"\",\n\t\tsemibold: \"\",\n\t\tbold: \"\",\n\t\textrabold: \"\"\n\t},\n\tlineHeights: {\n\t\ttight: \"\",\n\t\tnormal: \"\",\n\t\tloose: \"\"\n\t},\n\tsize: {\n\t\troot: \"\",\n\t\tbody: fontSizeScale,\n\t\tlabel: fontSizeScale,\n\t\ttitle: fontSizeScale,\n\t\theadline: fontSizeScale,\n\t\tdisplay: fontSizeScale\n\t}\n});\n\n//#endregion\n//#region src/contracts/spacing.css.ts\nconst SPACING_TOKENS = [\n\t\"none\",\n\t\"xsmall\",\n\t\"small\",\n\t\"medium\",\n\t\"large\",\n\t\"xlarge\",\n\t\"xxlarge\",\n\t\"xxxlarge\",\n\t\"xxxxlarge\"\n];\nconst spacingContract = createThemeContract({\n\tnone: \"\",\n\txsmall: \"\",\n\tsmall: \"\",\n\tmedium: \"\",\n\tlarge: \"\",\n\txlarge: \"\",\n\txxlarge: \"\",\n\txxxlarge: \"\",\n\txxxxlarge: \"\"\n});\n\n//#endregion\n//#region src/contract.css.ts\nconst pitto = createThemeContract({\n\tborder: borderContract,\n\tcolor: colorContract,\n\tfont: fontContract,\n\tspacing: spacingContract\n});\n\n//#endregion\n//#region src/palette.ts\nconst PALETTE = {\n\ttransparent: \"rgba(0,0,0,0)\",\n\tblack: \"#1a1313\",\n\twhite: \"#f4f4f4\",\n\tgray: \"#757575\",\n\tbrand: \"#314CB6\",\n\tinfo: \"#0a81d1\",\n\tsuccess: \"#004f2d\",\n\twarning: \"#e9b44c\",\n\terror: \"#9b2915\"\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/functionSerializer/dist/vanilla-extract-css-functionSerializer.esm.js\nfunction addFunctionSerializer(target, recipe) {\n\tObject.defineProperty(target, \"__recipe__\", {\n\t\tvalue: recipe,\n\t\twritable: false\n\t});\n\treturn target;\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+sprinkles@1.6.5_@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/sprinkles/dist/createSprinkles-74286718.esm.js\nfunction toPrimitive(t, r) {\n\tif (\"object\" != typeof t || !t) return t;\n\tvar e = t[Symbol.toPrimitive];\n\tif (void 0 !== e) {\n\t\tvar i = e.call(t, r || \"default\");\n\t\tif (\"object\" != typeof i) return i;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (\"string\" === r ? String : Number)(t);\n}\nfunction toPropertyKey(t) {\n\tvar i = toPrimitive(t, \"string\");\n\treturn \"symbol\" == typeof i ? i : String(i);\n}\nfunction _defineProperty(obj, key, value) {\n\tkey = toPropertyKey(key);\n\tif (key in obj) Object.defineProperty(obj, key, {\n\t\tvalue,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\telse obj[key] = value;\n\treturn obj;\n}\nfunction ownKeys(e, r) {\n\tvar t = Object.keys(e);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar o = Object.getOwnPropertySymbols(e);\n\t\tr && (o = o.filter(function(r) {\n\t\t\treturn Object.getOwnPropertyDescriptor(e, r).enumerable;\n\t\t})), t.push.apply(t, o);\n\t}\n\treturn t;\n}\nfunction _objectSpread2(e) {\n\tfor (var r = 1; r < arguments.length; r++) {\n\t\tvar t = null != arguments[r] ? arguments[r] : {};\n\t\tr % 2 ? ownKeys(Object(t), !0).forEach(function(r) {\n\t\t\t_defineProperty(e, r, t[r]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {\n\t\t\tObject.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n\t\t});\n\t}\n\treturn e;\n}\nvar createSprinkles$1 = (composeStyles) => function() {\n\tfor (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];\n\tvar sprinklesStyles = Object.assign({}, ...args.map((a) => a.styles));\n\tvar sprinklesKeys = Object.keys(sprinklesStyles);\n\tvar shorthandNames = sprinklesKeys.filter((property) => \"mappings\" in sprinklesStyles[property]);\n\tvar sprinklesFn = (props) => {\n\t\tvar classNames = [];\n\t\tvar shorthands = {};\n\t\tvar nonShorthands = _objectSpread2({}, props);\n\t\tvar hasShorthands = false;\n\t\tfor (var shorthand of shorthandNames) {\n\t\t\tvar value = props[shorthand];\n\t\t\tif (value != null) {\n\t\t\t\tvar sprinkle = sprinklesStyles[shorthand];\n\t\t\t\thasShorthands = true;\n\t\t\t\tfor (var propMapping of sprinkle.mappings) {\n\t\t\t\t\tshorthands[propMapping] = value;\n\t\t\t\t\tif (nonShorthands[propMapping] == null) delete nonShorthands[propMapping];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tvar finalProps = hasShorthands ? _objectSpread2(_objectSpread2({}, shorthands), nonShorthands) : props;\n\t\tvar _loop = function _loop() {\n\t\t\tvar propValue = finalProps[prop];\n\t\t\tvar sprinkle = sprinklesStyles[prop];\n\t\t\ttry {\n\t\t\t\tif (sprinkle.mappings) return 1;\n\t\t\t\tif (typeof propValue === \"string\" || typeof propValue === \"number\") {\n\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\t\tif (!sprinkle.values[propValue].defaultClass) throw new Error();\n\t\t\t\t\t}\n\t\t\t\t\tclassNames.push(sprinkle.values[propValue].defaultClass);\n\t\t\t\t} else if (Array.isArray(propValue)) for (var responsiveIndex = 0; responsiveIndex < propValue.length; responsiveIndex++) {\n\t\t\t\t\tvar responsiveValue = propValue[responsiveIndex];\n\t\t\t\t\tif (responsiveValue != null) {\n\t\t\t\t\t\tvar conditionName = sprinkle.responsiveArray[responsiveIndex];\n\t\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\t\t\tif (!sprinkle.values[responsiveValue].conditions[conditionName]) throw new Error();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclassNames.push(sprinkle.values[responsiveValue].conditions[conditionName]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse for (var _conditionName in propValue) {\n\t\t\t\t\tvar _value = propValue[_conditionName];\n\t\t\t\t\tif (_value != null) {\n\t\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\t\t\tif (!sprinkle.values[_value].conditions[_conditionName]) throw new Error();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclassNames.push(sprinkle.values[_value].conditions[_conditionName]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\tclass SprinklesError extends Error {\n\t\t\t\t\t\tconstructor(message) {\n\t\t\t\t\t\t\tsuper(message);\n\t\t\t\t\t\t\tthis.name = \"SprinklesError\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tvar format = (v) => typeof v === \"string\" ? \"\\\"\".concat(v, \"\\\"\") : v;\n\t\t\t\t\tvar invalidPropValue = (prop, value, possibleValues) => {\n\t\t\t\t\t\tthrow new SprinklesError(\"\\\"\".concat(prop, \"\\\" has no value \").concat(format(value), \". Possible values are \").concat(Object.keys(possibleValues).map(format).join(\", \")));\n\t\t\t\t\t};\n\t\t\t\t\tif (!sprinkle) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" is not a valid sprinkle\"));\n\t\t\t\t\tif (typeof propValue === \"string\" || typeof propValue === \"number\") {\n\t\t\t\t\t\tif (!(propValue in sprinkle.values)) invalidPropValue(prop, propValue, sprinkle.values);\n\t\t\t\t\t\tif (!sprinkle.values[propValue].defaultClass) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" has no default condition. You must specify which conditions to target explicitly. Possible options are \").concat(Object.keys(sprinkle.values[propValue].conditions).map(format).join(\", \")));\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof propValue === \"object\") {\n\t\t\t\t\t\tif (!(\"conditions\" in sprinkle.values[Object.keys(sprinkle.values)[0]])) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" is not a conditional property\"));\n\t\t\t\t\t\tif (Array.isArray(propValue)) {\n\t\t\t\t\t\t\tif (!(\"responsiveArray\" in sprinkle)) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" does not support responsive arrays\"));\n\t\t\t\t\t\t\tvar breakpointCount = sprinkle.responsiveArray.length;\n\t\t\t\t\t\t\tif (breakpointCount < propValue.length) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" only supports up to \").concat(breakpointCount, \" breakpoints. You passed \").concat(propValue.length));\n\t\t\t\t\t\t\tfor (var _responsiveValue of propValue) if (!sprinkle.values[_responsiveValue]) invalidPropValue(prop, _responsiveValue, sprinkle.values);\n\t\t\t\t\t\t} else for (var _conditionName2 in propValue) {\n\t\t\t\t\t\t\tvar _value2 = propValue[_conditionName2];\n\t\t\t\t\t\t\tif (_value2 != null) {\n\t\t\t\t\t\t\t\tif (!sprinkle.values[_value2]) invalidPropValue(prop, _value2, sprinkle.values);\n\t\t\t\t\t\t\t\tif (!sprinkle.values[_value2].conditions[_conditionName2]) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" has no condition named \").concat(format(_conditionName2), \". Possible values are \").concat(Object.keys(sprinkle.values[_value2].conditions).map(format).join(\", \")));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t};\n\t\tfor (var prop in finalProps) if (_loop()) continue;\n\t\treturn composeStyles(classNames.join(\" \"));\n\t};\n\treturn Object.assign(sprinklesFn, { properties: new Set(sprinklesKeys) });\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+sprinkles@1.6.5_@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/sprinkles/dist/vanilla-extract-sprinkles.esm.js\nfunction defineProperties(options) {\n\tvar styles = \"shorthands\" in options ? Object.fromEntries(Object.entries(options.shorthands).map((_ref) => {\n\t\tvar [prop, mappings] = _ref;\n\t\treturn [prop, { mappings }];\n\t})) : {};\n\tvar _loop = function _loop(key) {\n\t\tvar property = options.properties[key];\n\t\tstyles[key] = { values: {} };\n\t\tif (\"responsiveArray\" in options) styles[key].responsiveArray = options.responsiveArray;\n\t\tvar processValue = (valueName, value) => {\n\t\t\tif (\"conditions\" in options) {\n\t\t\t\tstyles[key].values[valueName] = { conditions: {} };\n\t\t\t\tvar defaultConditions = options.defaultCondition ? Array.isArray(options.defaultCondition) ? options.defaultCondition : [options.defaultCondition] : [];\n\t\t\t\tvar defaultClasses = [];\n\t\t\t\tfor (var _conditionName in options.conditions) {\n\t\t\t\t\tvar styleValue = typeof value === \"object\" ? value : { [key]: value };\n\t\t\t\t\tvar condition = options.conditions[_conditionName];\n\t\t\t\t\tif (condition[\"@supports\"]) styleValue = { \"@supports\": { [condition[\"@supports\"]]: styleValue } };\n\t\t\t\t\tif (condition[\"@container\"]) styleValue = { \"@container\": { [condition[\"@container\"]]: styleValue } };\n\t\t\t\t\tif (condition[\"@media\"]) styleValue = { \"@media\": { [condition[\"@media\"]]: styleValue } };\n\t\t\t\t\tif (condition.selector) styleValue = { selectors: { [condition.selector]: styleValue } };\n\t\t\t\t\tif (options[\"@layer\"]) styleValue = { \"@layer\": { [options[\"@layer\"]]: styleValue } };\n\t\t\t\t\tvar className = style(styleValue, \"\".concat(key, \"_\").concat(String(valueName), \"_\").concat(_conditionName));\n\t\t\t\t\tstyles[key].values[valueName].conditions[_conditionName] = className;\n\t\t\t\t\tif (defaultConditions.indexOf(_conditionName) > -1) defaultClasses.push(className);\n\t\t\t\t}\n\t\t\t\tif (defaultClasses.length > 0) styles[key].values[valueName].defaultClass = defaultClasses.join(\" \");\n\t\t\t} else {\n\t\t\t\tvar _styleValue = typeof value === \"object\" ? value : { [key]: value };\n\t\t\t\tif (options[\"@layer\"]) _styleValue = { \"@layer\": { [options[\"@layer\"]]: _styleValue } };\n\t\t\t\tstyles[key].values[valueName] = { defaultClass: style(_styleValue, \"\".concat(key, \"_\").concat(String(valueName))) };\n\t\t\t}\n\t\t};\n\t\tif (Array.isArray(property)) for (var value of property) processValue(value, value);\n\t\telse for (var valueName in property) {\n\t\t\tvar _value = property[valueName];\n\t\t\tprocessValue(valueName, _value);\n\t\t}\n\t};\n\tfor (var key in options.properties) _loop(key);\n\treturn {\n\t\tconditions: \"conditions\" in options ? {\n\t\t\tdefaultCondition: options.defaultCondition,\n\t\t\tconditionNames: Object.keys(options.conditions),\n\t\t\tresponsiveArray: options.responsiveArray\n\t\t} : void 0,\n\t\tstyles\n\t};\n}\nvar mockComposeStyles = (classList) => classList;\nfunction createSprinkles() {\n\tfor (var _len = arguments.length, config = new Array(_len), _key = 0; _key < _len; _key++) config[_key] = arguments[_key];\n\treturn addFunctionSerializer(createSprinkles$1(hasFileScope() ? composeStyles : mockComposeStyles)(...config), {\n\t\timportPath: \"@vanilla-extract/sprinkles/createRuntimeSprinkles\",\n\t\timportName: \"createSprinkles\",\n\t\targs: config\n\t});\n}\n\n//#endregion\n//#region src/sprinkles/borders.css.ts\nconst borderProperties = defineProperties({ properties: { borderRadius: pitto.border.radius } });\n\n//#endregion\n//#region src/sprinkles/color.css.ts\nconst generateColorMap = () => {\n\tconst colorMap = {};\n\tconst colorContract = pitto.color;\n\tcolorMap[\"transparent\"] = colorContract.transparent;\n\tcolorMap[\"inherit\"] = \"inherit\";\n\tcolorMap[\"currentColor\"] = \"currentColor\";\n\tfor (const baseKey of Object.keys(colorContract)) {\n\t\tif (baseKey === \"transparent\") continue;\n\t\tconst colorScale = colorContract[baseKey];\n\t\tconst safeScale = colorScale;\n\t\tfor (const levelKey of Object.keys(colorScale)) {\n\t\t\tconst typedLevelKey = levelKey;\n\t\t\tconst levelTokens = safeScale[typedLevelKey];\n\t\t\tif (!levelTokens) continue;\n\t\t\tif (typedLevelKey === baseKey) {\n\t\t\t\tconst colorKey = baseKey;\n\t\t\t\tcolorMap[colorKey] = levelTokens.color;\n\t\t\t\tconst onColorKey = `on${baseKey.charAt(0).toUpperCase() + baseKey.slice(1)}`;\n\t\t\t\tcolorMap[onColorKey] = levelTokens.onColor;\n\t\t\t} else {\n\t\t\t\tconst scaledColorKey = `${baseKey}${typedLevelKey}`;\n\t\t\t\tcolorMap[scaledColorKey] = levelTokens.color;\n\t\t\t\tconst onScaledColorKey = `on${baseKey.charAt(0).toUpperCase() + baseKey.slice(1)}${typedLevelKey}`;\n\t\t\t\tcolorMap[onScaledColorKey] = levelTokens.onColor;\n\t\t\t}\n\t\t}\n\t}\n\treturn colorMap;\n};\nconst flatColorMap = generateColorMap();\nconst COLOR_TOKEN_KEYS = Object.keys(flatColorMap);\nconst BG_COLOR_TOKENS = COLOR_TOKEN_KEYS.filter((key) => !key.startsWith(\"on\"));\nconst colorProperties = defineProperties({\n\tproperties: {\n\t\tbackgroundColor: flatColorMap,\n\t\tcolor: flatColorMap\n\t},\n\tshorthands: {\n\t\tbg: [\"backgroundColor\"],\n\t\tc: [\"color\"]\n\t}\n});\n\n//#endregion\n//#region src/sprinkles/responsive.css.ts\nconst sizeMap = Object.assign({}, pitto.spacing, {\n\t\"100%\": \"100%\",\n\tauto: \"auto\"\n});\nconst responsiveProperties = defineProperties({\n\tconditions: {\n\t\tmobile: {},\n\t\ttablet: { \"@media\": \"screen and (min-width: 768px)\" },\n\t\tdesktop: { \"@media\": \"screen and (min-width: 1024px)\" },\n\t\twide: { \"@media\": \"screen and (min-width: 1200px)\" }\n\t},\n\tdefaultCondition: \"mobile\",\n\tproperties: {\n\t\tdisplay: [\n\t\t\t\"none\",\n\t\t\t\"block\",\n\t\t\t\"inline\",\n\t\t\t\"inline-block\",\n\t\t\t\"flex\",\n\t\t\t\"inline-flex\",\n\t\t\t\"grid\",\n\t\t\t\"inline-grid\"\n\t\t],\n\t\tgridTemplateColumns: {\n\t\t\t1: \"repeat(1, minmax(0, 1fr))\",\n\t\t\t2: \"repeat(2, minmax(0, 1fr))\",\n\t\t\t3: \"repeat(3, minmax(0, 1fr))\",\n\t\t\t4: \"repeat(4, minmax(0, 1fr))\",\n\t\t\t5: \"repeat(5, minmax(0, 1fr))\",\n\t\t\t6: \"repeat(6, minmax(0, 1fr))\",\n\t\t\t7: \"repeat(7, minmax(0, 1fr))\",\n\t\t\t8: \"repeat(8, minmax(0, 1fr))\",\n\t\t\t9: \"repeat(9, minmax(0, 1fr))\",\n\t\t\t10: \"repeat(10, minmax(0, 1fr))\",\n\t\t\t11: \"repeat(11, minmax(0, 1fr))\",\n\t\t\t12: \"repeat(12, minmax(0, 1fr))\",\n\t\t\tnone: \"none\"\n\t\t},\n\t\tgridColumn: {\n\t\t\tauto: \"auto\",\n\t\t\t\"span-1\": \"span 1 / span 1\",\n\t\t\t\"span-2\": \"span 2 / span 2\",\n\t\t\t\"span-3\": \"span 3 / span 3\",\n\t\t\t\"span-4\": \"span 4 / span 4\",\n\t\t\t\"span-5\": \"span 5 / span 5\",\n\t\t\t\"span-6\": \"span 6 / span 6\",\n\t\t\t\"span-7\": \"span 7 / span 7\",\n\t\t\t\"span-8\": \"span 8 / span 8\",\n\t\t\t\"span-9\": \"span 9 / span 9\",\n\t\t\t\"span-10\": \"span 10 / span 10\",\n\t\t\t\"span-11\": \"span 11 / span 11\",\n\t\t\t\"span-12\": \"span 12 / span 12\",\n\t\t\tfull: \"1 / -1\",\n\t\t\tstart: \"1\",\n\t\t\tend: \"-1\"\n\t\t},\n\t\tgridRow: {\n\t\t\tauto: \"auto\",\n\t\t\t\"span-1\": \"span 1 / span 1\",\n\t\t\t\"span-2\": \"span 2 / span 2\",\n\t\t\t\"span-3\": \"span 3 / span 3\",\n\t\t\t\"span-4\": \"span 4 / span 4\",\n\t\t\t\"span-5\": \"span 5 / span 5\",\n\t\t\t\"span-6\": \"span 6 / span 6\",\n\t\t\t\"span-7\": \"span 7 / span 7\",\n\t\t\t\"span-8\": \"span 8 / span 8\",\n\t\t\t\"span-9\": \"span 9 / span 9\",\n\t\t\t\"span-10\": \"span 10 / span 10\",\n\t\t\t\"span-11\": \"span 11 / span 11\",\n\t\t\t\"span-12\": \"span 12 / span 12\",\n\t\t\tfull: \"1 / -1\"\n\t\t},\n\t\tgridAutoFlow: [\n\t\t\t\"row\",\n\t\t\t\"column\",\n\t\t\t\"dense\",\n\t\t\t\"row dense\",\n\t\t\t\"column dense\"\n\t\t],\n\t\tflexDirection: [\n\t\t\t\"row\",\n\t\t\t\"column\",\n\t\t\t\"row-reverse\",\n\t\t\t\"column-reverse\"\n\t\t],\n\t\talignItems: [\n\t\t\t\"stretch\",\n\t\t\t\"flex-start\",\n\t\t\t\"center\",\n\t\t\t\"flex-end\",\n\t\t\t\"baseline\"\n\t\t],\n\t\tjustifyContent: [\n\t\t\t\"flex-start\",\n\t\t\t\"center\",\n\t\t\t\"flex-end\",\n\t\t\t\"space-between\",\n\t\t\t\"space-around\",\n\t\t\t\"space-evenly\"\n\t\t],\n\t\tflexWrap: [\n\t\t\t\"nowrap\",\n\t\t\t\"wrap\",\n\t\t\t\"wrap-reverse\"\n\t\t],\n\t\twidth: sizeMap,\n\t\tmaxWidth: {\n\t\t\tnone: \"none\",\n\t\t\t\"100%\": \"100%\",\n\t\t\tsmall: \"640px\",\n\t\t\tmedium: \"768px\",\n\t\t\tlarge: \"1024px\",\n\t\t\txlarge: \"1280px\",\n\t\t\txxlarge: \"1536px\"\n\t\t},\n\t\theight: sizeMap\n\t},\n\tshorthands: { placeItems: [\"alignItems\", \"justifyContent\"] }\n});\n\n//#endregion\n//#region src/sprinkles/spacing.css.ts\nconst spacingProperties = defineProperties({\n\tproperties: {\n\t\tpadding: pitto.spacing,\n\t\tpaddingTop: pitto.spacing,\n\t\tpaddingBottom: pitto.spacing,\n\t\tpaddingLeft: pitto.spacing,\n\t\tpaddingRight: pitto.spacing,\n\t\tpaddingX: pitto.spacing,\n\t\tpaddingY: pitto.spacing,\n\t\tmargin: pitto.spacing,\n\t\tmarginTop: pitto.spacing,\n\t\tmarginBottom: pitto.spacing,\n\t\tmarginLeft: pitto.spacing,\n\t\tmarginRight: pitto.spacing,\n\t\tmarginX: pitto.spacing,\n\t\tmarginY: pitto.spacing,\n\t\tgap: pitto.spacing,\n\t\tcolumnGap: pitto.spacing,\n\t\trowGap: pitto.spacing\n\t},\n\tshorthands: {\n\t\tp: [\"padding\"],\n\t\tpt: [\"paddingTop\"],\n\t\tpb: [\"paddingBottom\"],\n\t\tpl: [\"paddingLeft\"],\n\t\tpr: [\"paddingRight\"],\n\t\tpx: [\"paddingLeft\", \"paddingRight\"],\n\t\tpy: [\"paddingTop\", \"paddingBottom\"],\n\t\tm: [\"margin\"],\n\t\tmt: [\"marginTop\"],\n\t\tmb: [\"marginBottom\"],\n\t\tml: [\"marginLeft\"],\n\t\tmr: [\"marginRight\"],\n\t\tmx: [\"marginLeft\", \"marginRight\"],\n\t\tmy: [\"marginTop\", \"marginBottom\"],\n\t\tg: [\"gap\"],\n\t\tcg: [\"columnGap\"],\n\t\trg: [\"rowGap\"]\n\t}\n});\n\n//#endregion\n//#region src/sprinkles/typography.css.ts\nconst fontWeightMap = {\n\tlight: pitto.font.weight.light,\n\tregular: pitto.font.weight.regular,\n\tmedium: pitto.font.weight.medium,\n\tsemibold: pitto.font.weight.semibold,\n\tbold: pitto.font.weight.bold,\n\textrabold: pitto.font.weight.extrabold\n};\nconst fontSizeMap = {\n\tbodyXsmall: pitto.font.size.body.xsmall,\n\tbodySmall: pitto.font.size.body.small,\n\tbodyMedium: pitto.font.size.body.medium,\n\tbodyLarge: pitto.font.size.body.large,\n\tbodyXlarge: pitto.font.size.body.xlarge,\n\tbodyXxlarge: pitto.font.size.body.xxlarge,\n\tlabelXsmall: pitto.font.size.label.xsmall,\n\tlabelSmall: pitto.font.size.label.small,\n\tlabelMedium: pitto.font.size.label.medium,\n\tlabelLarge: pitto.font.size.label.large,\n\tlabelXlarge: pitto.font.size.label.xlarge,\n\tlabelXxlarge: pitto.font.size.label.xxlarge,\n\ttitleXsmall: pitto.font.size.title.xsmall,\n\ttitleSmall: pitto.font.size.title.small,\n\ttitleMedium: pitto.font.size.title.medium,\n\ttitleLarge: pitto.font.size.title.large,\n\ttitleXlarge: pitto.font.size.title.xlarge,\n\ttitleXxlarge: pitto.font.size.title.xxlarge,\n\theadlineXsmall: pitto.font.size.headline.xsmall,\n\theadlineSmall: pitto.font.size.headline.small,\n\theadlineMedium: pitto.font.size.headline.medium,\n\theadlineLarge: pitto.font.size.headline.large,\n\theadlineXlarge: pitto.font.size.headline.xlarge,\n\theadlineXxlarge: pitto.font.size.headline.xxlarge,\n\tdisplayXsmall: pitto.font.size.display.xsmall,\n\tdisplaySmall: pitto.font.size.display.small,\n\tdisplayMedium: pitto.font.size.display.medium,\n\tdisplayLarge: pitto.font.size.display.large,\n\tdisplayXlarge: pitto.font.size.display.xlarge,\n\tdisplayXxlarge: pitto.font.size.display.xxlarge\n};\nconst typographyProperties = defineProperties({ properties: {\n\tfontWeight: fontWeightMap,\n\tfontSize: fontSizeMap\n} });\n\n//#endregion\n//#region src/sprinkles.css.ts\nconst sprinkles = createSprinkles(borderProperties, colorProperties, responsiveProperties, spacingProperties, typographyProperties);\n\n//#endregion\n//#region src/theme/border.ts\nconst borderTheme = { radius: {\n\tnone: \"0rem\",\n\txsmall: \"0.25rem\",\n\tsmall: \"0.5rem\",\n\tmedium: \"0.75rem\",\n\tlarge: \"1rem\",\n\txlarge: \"1.75rem\",\n\txxlarge: \"3rem\",\n\tfull: \"50%\"\n} };\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-name@2.1.0/node_modules/color-name/index.js\nconst colors = {\n\taliceblue: [\n\t\t240,\n\t\t248,\n\t\t255\n\t],\n\tantiquewhite: [\n\t\t250,\n\t\t235,\n\t\t215\n\t],\n\taqua: [\n\t\t0,\n\t\t255,\n\t\t255\n\t],\n\taquamarine: [\n\t\t127,\n\t\t255,\n\t\t212\n\t],\n\tazure: [\n\t\t240,\n\t\t255,\n\t\t255\n\t],\n\tbeige: [\n\t\t245,\n\t\t245,\n\t\t220\n\t],\n\tbisque: [\n\t\t255,\n\t\t228,\n\t\t196\n\t],\n\tblack: [\n\t\t0,\n\t\t0,\n\t\t0\n\t],\n\tblanchedalmond: [\n\t\t255,\n\t\t235,\n\t\t205\n\t],\n\tblue: [\n\t\t0,\n\t\t0,\n\t\t255\n\t],\n\tblueviolet: [\n\t\t138,\n\t\t43,\n\t\t226\n\t],\n\tbrown: [\n\t\t165,\n\t\t42,\n\t\t42\n\t],\n\tburlywood: [\n\t\t222,\n\t\t184,\n\t\t135\n\t],\n\tcadetblue: [\n\t\t95,\n\t\t158,\n\t\t160\n\t],\n\tchartreuse: [\n\t\t127,\n\t\t255,\n\t\t0\n\t],\n\tchocolate: [\n\t\t210,\n\t\t105,\n\t\t30\n\t],\n\tcoral: [\n\t\t255,\n\t\t127,\n\t\t80\n\t],\n\tcornflowerblue: [\n\t\t100,\n\t\t149,\n\t\t237\n\t],\n\tcornsilk: [\n\t\t255,\n\t\t248,\n\t\t220\n\t],\n\tcrimson: [\n\t\t220,\n\t\t20,\n\t\t60\n\t],\n\tcyan: [\n\t\t0,\n\t\t255,\n\t\t255\n\t],\n\tdarkblue: [\n\t\t0,\n\t\t0,\n\t\t139\n\t],\n\tdarkcyan: [\n\t\t0,\n\t\t139,\n\t\t139\n\t],\n\tdarkgoldenrod: [\n\t\t184,\n\t\t134,\n\t\t11\n\t],\n\tdarkgray: [\n\t\t169,\n\t\t169,\n\t\t169\n\t],\n\tdarkgreen: [\n\t\t0,\n\t\t100,\n\t\t0\n\t],\n\tdarkgrey: [\n\t\t169,\n\t\t169,\n\t\t169\n\t],\n\tdarkkhaki: [\n\t\t189,\n\t\t183,\n\t\t107\n\t],\n\tdarkmagenta: [\n\t\t139,\n\t\t0,\n\t\t139\n\t],\n\tdarkolivegreen: [\n\t\t85,\n\t\t107,\n\t\t47\n\t],\n\tdarkorange: [\n\t\t255,\n\t\t140,\n\t\t0\n\t],\n\tdarkorchid: [\n\t\t153,\n\t\t50,\n\t\t204\n\t],\n\tdarkred: [\n\t\t139,\n\t\t0,\n\t\t0\n\t],\n\tdarksalmon: [\n\t\t233,\n\t\t150,\n\t\t122\n\t],\n\tdarkseagreen: [\n\t\t143,\n\t\t188,\n\t\t143\n\t],\n\tdarkslateblue: [\n\t\t72,\n\t\t61,\n\t\t139\n\t],\n\tdarkslategray: [\n\t\t47,\n\t\t79,\n\t\t79\n\t],\n\tdarkslategrey: [\n\t\t47,\n\t\t79,\n\t\t79\n\t],\n\tdarkturquoise: [\n\t\t0,\n\t\t206,\n\t\t209\n\t],\n\tdarkviolet: [\n\t\t148,\n\t\t0,\n\t\t211\n\t],\n\tdeeppink: [\n\t\t255,\n\t\t20,\n\t\t147\n\t],\n\tdeepskyblue: [\n\t\t0,\n\t\t191,\n\t\t255\n\t],\n\tdimgray: [\n\t\t105,\n\t\t105,\n\t\t105\n\t],\n\tdimgrey: [\n\t\t105,\n\t\t105,\n\t\t105\n\t],\n\tdodgerblue: [\n\t\t30,\n\t\t144,\n\t\t255\n\t],\n\tfirebrick: [\n\t\t178,\n\t\t34,\n\t\t34\n\t],\n\tfloralwhite: [\n\t\t255,\n\t\t250,\n\t\t240\n\t],\n\tforestgreen: [\n\t\t34,\n\t\t139,\n\t\t34\n\t],\n\tfuchsia: [\n\t\t255,\n\t\t0,\n\t\t255\n\t],\n\tgainsboro: [\n\t\t220,\n\t\t220,\n\t\t220\n\t],\n\tghostwhite: [\n\t\t248,\n\t\t248,\n\t\t255\n\t],\n\tgold: [\n\t\t255,\n\t\t215,\n\t\t0\n\t],\n\tgoldenrod: [\n\t\t218,\n\t\t165,\n\t\t32\n\t],\n\tgray: [\n\t\t128,\n\t\t128,\n\t\t128\n\t],\n\tgreen: [\n\t\t0,\n\t\t128,\n\t\t0\n\t],\n\tgreenyellow: [\n\t\t173,\n\t\t255,\n\t\t47\n\t],\n\tgrey: [\n\t\t128,\n\t\t128,\n\t\t128\n\t],\n\thoneydew: [\n\t\t240,\n\t\t255,\n\t\t240\n\t],\n\thotpink: [\n\t\t255,\n\t\t105,\n\t\t180\n\t],\n\tindianred: [\n\t\t205,\n\t\t92,\n\t\t92\n\t],\n\tindigo: [\n\t\t75,\n\t\t0,\n\t\t130\n\t],\n\tivory: [\n\t\t255,\n\t\t255,\n\t\t240\n\t],\n\tkhaki: [\n\t\t240,\n\t\t230,\n\t\t140\n\t],\n\tlavender: [\n\t\t230,\n\t\t230,\n\t\t250\n\t],\n\tlavenderblush: [\n\t\t255,\n\t\t240,\n\t\t245\n\t],\n\tlawngreen: [\n\t\t124,\n\t\t252,\n\t\t0\n\t],\n\tlemonchiffon: [\n\t\t255,\n\t\t250,\n\t\t205\n\t],\n\tlightblue: [\n\t\t173,\n\t\t216,\n\t\t230\n\t],\n\tlightcoral: [\n\t\t240,\n\t\t128,\n\t\t128\n\t],\n\tlightcyan: [\n\t\t224,\n\t\t255,\n\t\t255\n\t],\n\tlightgoldenrodyellow: [\n\t\t250,\n\t\t250,\n\t\t210\n\t],\n\tlightgray: [\n\t\t211,\n\t\t211,\n\t\t211\n\t],\n\tlightgreen: [\n\t\t144,\n\t\t238,\n\t\t144\n\t],\n\tlightgrey: [\n\t\t211,\n\t\t211,\n\t\t211\n\t],\n\tlightpink: [\n\t\t255,\n\t\t182,\n\t\t193\n\t],\n\tlightsalmon: [\n\t\t255,\n\t\t160,\n\t\t122\n\t],\n\tlightseagreen: [\n\t\t32,\n\t\t178,\n\t\t170\n\t],\n\tlightskyblue: [\n\t\t135,\n\t\t206,\n\t\t250\n\t],\n\tlightslategray: [\n\t\t119,\n\t\t136,\n\t\t153\n\t],\n\tlightslategrey: [\n\t\t119,\n\t\t136,\n\t\t153\n\t],\n\tlightsteelblue: [\n\t\t176,\n\t\t196,\n\t\t222\n\t],\n\tlightyellow: [\n\t\t255,\n\t\t255,\n\t\t224\n\t],\n\tlime: [\n\t\t0,\n\t\t255,\n\t\t0\n\t],\n\tlimegreen: [\n\t\t50,\n\t\t205,\n\t\t50\n\t],\n\tlinen: [\n\t\t250,\n\t\t240,\n\t\t230\n\t],\n\tmagenta: [\n\t\t255,\n\t\t0,\n\t\t255\n\t],\n\tmaroon: [\n\t\t128,\n\t\t0,\n\t\t0\n\t],\n\tmediumaquamarine: [\n\t\t102,\n\t\t205,\n\t\t170\n\t],\n\tmediumblue: [\n\t\t0,\n\t\t0,\n\t\t205\n\t],\n\tmediumorchid: [\n\t\t186,\n\t\t85,\n\t\t211\n\t],\n\tmediumpurple: [\n\t\t147,\n\t\t112,\n\t\t219\n\t],\n\tmediumseagreen: [\n\t\t60,\n\t\t179,\n\t\t113\n\t],\n\tmediumslateblue: [\n\t\t123,\n\t\t104,\n\t\t238\n\t],\n\tmediumspringgreen: [\n\t\t0,\n\t\t250,\n\t\t154\n\t],\n\tmediumturquoise: [\n\t\t72,\n\t\t209,\n\t\t204\n\t],\n\tmediumvioletred: [\n\t\t199,\n\t\t21,\n\t\t133\n\t],\n\tmidnightblue: [\n\t\t25,\n\t\t25,\n\t\t112\n\t],\n\tmintcream: [\n\t\t245,\n\t\t255,\n\t\t250\n\t],\n\tmistyrose: [\n\t\t255,\n\t\t228,\n\t\t225\n\t],\n\tmoccasin: [\n\t\t255,\n\t\t228,\n\t\t181\n\t],\n\tnavajowhite: [\n\t\t255,\n\t\t222,\n\t\t173\n\t],\n\tnavy: [\n\t\t0,\n\t\t0,\n\t\t128\n\t],\n\toldlace: [\n\t\t253,\n\t\t245,\n\t\t230\n\t],\n\tolive: [\n\t\t128,\n\t\t128,\n\t\t0\n\t],\n\tolivedrab: [\n\t\t107,\n\t\t142,\n\t\t35\n\t],\n\torange: [\n\t\t255,\n\t\t165,\n\t\t0\n\t],\n\torangered: [\n\t\t255,\n\t\t69,\n\t\t0\n\t],\n\torchid: [\n\t\t218,\n\t\t112,\n\t\t214\n\t],\n\tpalegoldenrod: [\n\t\t238,\n\t\t232,\n\t\t170\n\t],\n\tpalegreen: [\n\t\t152,\n\t\t251,\n\t\t152\n\t],\n\tpaleturquoise: [\n\t\t175,\n\t\t238,\n\t\t238\n\t],\n\tpalevioletred: [\n\t\t219,\n\t\t112,\n\t\t147\n\t],\n\tpapayawhip: [\n\t\t255,\n\t\t239,\n\t\t213\n\t],\n\tpeachpuff: [\n\t\t255,\n\t\t218,\n\t\t185\n\t],\n\tperu: [\n\t\t205,\n\t\t133,\n\t\t63\n\t],\n\tpink: [\n\t\t255,\n\t\t192,\n\t\t203\n\t],\n\tplum: [\n\t\t221,\n\t\t160,\n\t\t221\n\t],\n\tpowderblue: [\n\t\t176,\n\t\t224,\n\t\t230\n\t],\n\tpurple: [\n\t\t128,\n\t\t0,\n\t\t128\n\t],\n\trebeccapurple: [\n\t\t102,\n\t\t51,\n\t\t153\n\t],\n\tred: [\n\t\t255,\n\t\t0,\n\t\t0\n\t],\n\trosybrown: [\n\t\t188,\n\t\t143,\n\t\t143\n\t],\n\troyalblue: [\n\t\t65,\n\t\t105,\n\t\t225\n\t],\n\tsaddlebrown: [\n\t\t139,\n\t\t69,\n\t\t19\n\t],\n\tsalmon: [\n\t\t250,\n\t\t128,\n\t\t114\n\t],\n\tsandybrown: [\n\t\t244,\n\t\t164,\n\t\t96\n\t],\n\tseagreen: [\n\t\t46,\n\t\t139,\n\t\t87\n\t],\n\tseashell: [\n\t\t255,\n\t\t245,\n\t\t238\n\t],\n\tsienna: [\n\t\t160,\n\t\t82,\n\t\t45\n\t],\n\tsilver: [\n\t\t192,\n\t\t192,\n\t\t192\n\t],\n\tskyblue: [\n\t\t135,\n\t\t206,\n\t\t235\n\t],\n\tslateblue: [\n\t\t106,\n\t\t90,\n\t\t205\n\t],\n\tslategray: [\n\t\t112,\n\t\t128,\n\t\t144\n\t],\n\tslategrey: [\n\t\t112,\n\t\t128,\n\t\t144\n\t],\n\tsnow: [\n\t\t255,\n\t\t250,\n\t\t250\n\t],\n\tspringgreen: [\n\t\t0,\n\t\t255,\n\t\t127\n\t],\n\tsteelblue: [\n\t\t70,\n\t\t130,\n\t\t180\n\t],\n\ttan: [\n\t\t210,\n\t\t180,\n\t\t140\n\t],\n\tteal: [\n\t\t0,\n\t\t128,\n\t\t128\n\t],\n\tthistle: [\n\t\t216,\n\t\t191,\n\t\t216\n\t],\n\ttomato: [\n\t\t255,\n\t\t99,\n\t\t71\n\t],\n\tturquoise: [\n\t\t64,\n\t\t224,\n\t\t208\n\t],\n\tviolet: [\n\t\t238,\n\t\t130,\n\t\t238\n\t],\n\twheat: [\n\t\t245,\n\t\t222,\n\t\t179\n\t],\n\twhite: [\n\t\t255,\n\t\t255,\n\t\t255\n\t],\n\twhitesmoke: [\n\t\t245,\n\t\t245,\n\t\t245\n\t],\n\tyellow: [\n\t\t255,\n\t\t255,\n\t\t0\n\t],\n\tyellowgreen: [\n\t\t154,\n\t\t205,\n\t\t50\n\t]\n};\nfor (const key in colors) Object.freeze(colors[key]);\nvar color_name_default = Object.freeze(colors);\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-string@2.1.4/node_modules/color-string/index.js\nconst reverseNames = Object.create(null);\nfor (const name in color_name_default) if (Object.hasOwn(color_name_default, name)) reverseNames[color_name_default[name]] = name;\nconst cs = {\n\tto: {},\n\tget: {}\n};\ncs.get = function(string) {\n\tconst prefix = string.slice(0, 3).toLowerCase();\n\tlet value;\n\tlet model;\n\tswitch (prefix) {\n\t\tcase \"hsl\":\n\t\t\tvalue = cs.get.hsl(string);\n\t\t\tmodel = \"hsl\";\n\t\t\tbreak;\n\t\tcase \"hwb\":\n\t\t\tvalue = cs.get.hwb(string);\n\t\t\tmodel = \"hwb\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tvalue = cs.get.rgb(string);\n\t\t\tmodel = \"rgb\";\n\t\t\tbreak;\n\t}\n\tif (!value) return null;\n\treturn {\n\t\tmodel,\n\t\tvalue\n\t};\n};\ncs.get.rgb = function(string) {\n\tif (!string) return null;\n\tconst abbr = /^#([a-f\\d]{3,4})$/i;\n\tconst hex = /^#([a-f\\d]{6})([a-f\\d]{2})?$/i;\n\tconst rgba = /^rgba?\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(?=[\\s,])\\s*(?:,\\s*)?([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(?=[\\s,])\\s*(?:,\\s*)?([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)\\s*(?:[\\s,|/]\\s*([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(%?)\\s*)?\\)$/i;\n\tconst per = /^rgba?\\(\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*(?:[\\s,|/]\\s*([+-]?[\\d.]+)(%?)\\s*)?\\)$/i;\n\tconst keyword = /^(\\w+)$/;\n\tlet rgb = [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t1\n\t];\n\tlet match;\n\tlet i;\n\tlet hexAlpha;\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\tconst i2 = i * 2;\n\t\t\trgb[i] = Number.parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\t\tif (hexAlpha) rgb[3] = Number.parseInt(hexAlpha, 16) / 255;\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\t\tfor (i = 0; i < 3; i++) rgb[i] = Number.parseInt(match[i] + match[i], 16);\n\t\tif (hexAlpha) rgb[3] = Number.parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) rgb[i] = Number.parseFloat(match[i + 1]);\n\t\tif (match[4]) rgb[3] = match[5] ? Number.parseFloat(match[4]) * .01 : Number.parseFloat(match[4]);\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) rgb[i] = Math.round(Number.parseFloat(match[i + 1]) * 2.55);\n\t\tif (match[4]) rgb[3] = match[5] ? Number.parseFloat(match[4]) * .01 : Number.parseFloat(match[4]);\n\t} else if (match = string.toLowerCase().match(keyword)) {\n\t\tif (match[1] === \"transparent\") return [\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0\n\t\t];\n\t\tif (!Object.hasOwn(color_name_default, match[1])) return null;\n\t\trgb = color_name_default[match[1]].slice();\n\t\trgb[3] = 1;\n\t\treturn rgb;\n\t} else return null;\n\tfor (i = 0; i < 3; i++) rgb[i] = clamp(rgb[i], 0, 255);\n\trgb[3] = clamp(rgb[3], 0, 1);\n\treturn rgb;\n};\ncs.get.hsl = function(string) {\n\tif (!string) return null;\n\tconst match = string.match(/^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*(?:[,|/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:e[+-]?\\d+)?)\\s*)?\\)$/i);\n\tif (match) {\n\t\tconst alpha = Number.parseFloat(match[4]);\n\t\treturn [\n\t\t\t(Number.parseFloat(match[1]) % 360 + 360) % 360,\n\t\t\tclamp(Number.parseFloat(match[2]), 0, 100),\n\t\t\tclamp(Number.parseFloat(match[3]), 0, 100),\n\t\t\tclamp(Number.isNaN(alpha) ? 1 : alpha, 0, 1)\n\t\t];\n\t}\n\treturn null;\n};\ncs.get.hwb = function(string) {\n\tif (!string) return null;\n\tconst match = string.match(/^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*[\\s,]\\s*([+-]?[\\d.]+)%\\s*[\\s,]\\s*([+-]?[\\d.]+)%\\s*(?:[\\s,]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:e[+-]?\\d+)?)\\s*)?\\)$/i);\n\tif (match) {\n\t\tconst alpha = Number.parseFloat(match[4]);\n\t\treturn [\n\t\t\t(Number.parseFloat(match[1]) % 360 + 360) % 360,\n\t\t\tclamp(Number.parseFloat(match[2]), 0, 100),\n\t\t\tclamp(Number.parseFloat(match[3]), 0, 100),\n\t\t\tclamp(Number.isNaN(alpha) ? 1 : alpha, 0, 1)\n\t\t];\n\t}\n\treturn null;\n};\ncs.to.hex = function(...rgba) {\n\treturn \"#\" + hexDouble(rgba[0]) + hexDouble(rgba[1]) + hexDouble(rgba[2]) + (rgba[3] < 1 ? hexDouble(Math.round(rgba[3] * 255)) : \"\");\n};\ncs.to.rgb = function(...rgba) {\n\treturn rgba.length < 4 || rgba[3] === 1 ? \"rgb(\" + Math.round(rgba[0]) + \", \" + Math.round(rgba[1]) + \", \" + Math.round(rgba[2]) + \")\" : \"rgba(\" + Math.round(rgba[0]) + \", \" + Math.round(rgba[1]) + \", \" + Math.round(rgba[2]) + \", \" + rgba[3] + \")\";\n};\ncs.to.rgb.percent = function(...rgba) {\n\tconst r = Math.round(rgba[0] / 255 * 100);\n\tconst g = Math.round(rgba[1] / 255 * 100);\n\tconst b = Math.round(rgba[2] / 255 * 100);\n\treturn rgba.length < 4 || rgba[3] === 1 ? \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\" : \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + rgba[3] + \")\";\n};\ncs.to.hsl = function(...hsla) {\n\treturn hsla.length < 4 || hsla[3] === 1 ? \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\" : \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \" + hsla[3] + \")\";\n};\ncs.to.hwb = function(...hwba) {\n\tlet a = \"\";\n\tif (hwba.length >= 4 && hwba[3] !== 1) a = \", \" + hwba[3];\n\treturn \"hwb(\" + hwba[0] + \", \" + hwba[1] + \"%, \" + hwba[2] + \"%\" + a + \")\";\n};\ncs.to.keyword = function(...rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\nfunction clamp(number_, min, max) {\n\treturn Math.min(Math.max(min, number_), max);\n}\nfunction hexDouble(number_) {\n\tconst string_ = Math.round(number_).toString(16).toUpperCase();\n\treturn string_.length < 2 ? \"0\" + string_ : string_;\n}\nvar color_string_default = cs;\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/conversions.js\nconst reverseKeywords = {};\nfor (const key of Object.keys(color_name_default)) reverseKeywords[color_name_default[key]] = key;\nconst convert$1 = {\n\trgb: {\n\t\tchannels: 3,\n\t\tlabels: \"rgb\"\n\t},\n\thsl: {\n\t\tchannels: 3,\n\t\tlabels: \"hsl\"\n\t},\n\thsv: {\n\t\tchannels: 3,\n\t\tlabels: \"hsv\"\n\t},\n\thwb: {\n\t\tchannels: 3,\n\t\tlabels: \"hwb\"\n\t},\n\tcmyk: {\n\t\tchannels: 4,\n\t\tlabels: \"cmyk\"\n\t},\n\txyz: {\n\t\tchannels: 3,\n\t\tlabels: \"xyz\"\n\t},\n\tlab: {\n\t\tchannels: 3,\n\t\tlabels: \"lab\"\n\t},\n\toklab: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"okl\",\n\t\t\t\"oka\",\n\t\t\t\"okb\"\n\t\t]\n\t},\n\tlch: {\n\t\tchannels: 3,\n\t\tlabels: \"lch\"\n\t},\n\toklch: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"okl\",\n\t\t\t\"okc\",\n\t\t\t\"okh\"\n\t\t]\n\t},\n\thex: {\n\t\tchannels: 1,\n\t\tlabels: [\"hex\"]\n\t},\n\tkeyword: {\n\t\tchannels: 1,\n\t\tlabels: [\"keyword\"]\n\t},\n\tansi16: {\n\t\tchannels: 1,\n\t\tlabels: [\"ansi16\"]\n\t},\n\tansi256: {\n\t\tchannels: 1,\n\t\tlabels: [\"ansi256\"]\n\t},\n\thcg: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"h\",\n\t\t\t\"c\",\n\t\t\t\"g\"\n\t\t]\n\t},\n\tapple: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"r16\",\n\t\t\t\"g16\",\n\t\t\t\"b16\"\n\t\t]\n\t},\n\tgray: {\n\t\tchannels: 1,\n\t\tlabels: [\"gray\"]\n\t}\n};\nvar conversions_default = convert$1;\nconst LAB_FT = (6 / 29) ** 3;\nfunction srgbNonlinearTransform(c) {\n\tconst cc = c > .0031308 ? 1.055 * c ** (1 / 2.4) - .055 : c * 12.92;\n\treturn Math.min(Math.max(0, cc), 1);\n}\nfunction srgbNonlinearTransformInv(c) {\n\treturn c > .04045 ? ((c + .055) / 1.055) ** 2.4 : c / 12.92;\n}\nfor (const model of Object.keys(convert$1)) {\n\tif (!(\"channels\" in convert$1[model])) throw new Error(\"missing channels property: \" + model);\n\tif (!(\"labels\" in convert$1[model])) throw new Error(\"missing channel labels property: \" + model);\n\tif (convert$1[model].labels.length !== convert$1[model].channels) throw new Error(\"channel and label counts mismatch: \" + model);\n\tconst { channels, labels } = convert$1[model];\n\tdelete convert$1[model].channels;\n\tdelete convert$1[model].labels;\n\tObject.defineProperty(convert$1[model], \"channels\", { value: channels });\n\tObject.defineProperty(convert$1[model], \"labels\", { value: labels });\n}\nconvert$1.rgb.hsl = function(rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\tswitch (max) {\n\t\tcase min:\n\t\t\th = 0;\n\t\t\tbreak;\n\t\tcase r:\n\t\t\th = (g - b) / delta;\n\t\t\tbreak;\n\t\tcase g:\n\t\t\th = 2 + (b - r) / delta;\n\t\t\tbreak;\n\t\tcase b:\n\t\t\th = 4 + (r - g) / delta;\n\t\t\tbreak;\n\t}\n\th = Math.min(h * 60, 360);\n\tif (h < 0) h += 360;\n\tconst l = (min + max) / 2;\n\tif (max === min) s = 0;\n\telse if (l <= .5) s = delta / (max + min);\n\telse s = delta / (2 - max - min);\n\treturn [\n\t\th,\n\t\ts * 100,\n\t\tl * 100\n\t];\n};\nconvert$1.rgb.hsv = function(rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function(c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\t\tswitch (v) {\n\t\t\tcase r:\n\t\t\t\th = bdif - gdif;\n\t\t\t\tbreak;\n\t\t\tcase g:\n\t\t\t\th = 1 / 3 + rdif - bdif;\n\t\t\t\tbreak;\n\t\t\tcase b:\n\t\t\t\th = 2 / 3 + gdif - rdif;\n\t\t\t\tbreak;\n\t\t}\n\t\tif (h < 0) h += 1;\n\t\telse if (h > 1) h -= 1;\n\t}\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\nconvert$1.rgb.hwb = function(rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert$1.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\treturn [\n\t\th,\n\t\tw * 100,\n\t\tb * 100\n\t];\n};\nconvert$1.rgb.oklab = function(rgb) {\n\tconst r = srgbNonlinearTransformInv(rgb[0] / 255);\n\tconst g = srgbNonlinearTransformInv(rgb[1] / 255);\n\tconst b = srgbNonlinearTransformInv(rgb[2] / 255);\n\tconst lp = Math.cbrt(.4122214708 * r + .5363325363 * g + .0514459929 * b);\n\tconst mp = Math.cbrt(.2119034982 * r + .6806995451 * g + .1073969566 * b);\n\tconst sp = Math.cbrt(.0883024619 * r + .2817188376 * g + .6299787005 * b);\n\tconst l = .2104542553 * lp + .793617785 * mp - .0040720468 * sp;\n\tconst aa = 1.9779984951 * lp - 2.428592205 * mp + .4505937099 * sp;\n\tconst bb = .0259040371 * lp + .7827717662 * mp - .808675766 * sp;\n\treturn [\n\t\tl * 100,\n\t\taa * 100,\n\t\tbb * 100\n\t];\n};\nconvert$1.rgb.cmyk = function(rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\treturn [\n\t\tc * 100,\n\t\tm * 100,\n\t\ty * 100,\n\t\tk * 100\n\t];\n};\nfunction comparativeDistance(x, y) {\n\treturn (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2;\n}\nconvert$1.rgb.keyword = function(rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) return reversed;\n\tlet currentClosestDistance = Number.POSITIVE_INFINITY;\n\tlet currentClosestKeyword;\n\tfor (const keyword of Object.keys(color_name_default)) {\n\t\tconst value = color_name_default[keyword];\n\t\tconst distance = comparativeDistance(rgb, value);\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\treturn currentClosestKeyword;\n};\nconvert$1.keyword.rgb = function(keyword) {\n\treturn [...color_name_default[keyword]];\n};\nconvert$1.rgb.xyz = function(rgb) {\n\tconst r = srgbNonlinearTransformInv(rgb[0] / 255);\n\tconst g = srgbNonlinearTransformInv(rgb[1] / 255);\n\tconst b = srgbNonlinearTransformInv(rgb[2] / 255);\n\tconst x = r * .4124564 + g * .3575761 + b * .1804375;\n\tconst y = r * .2126729 + g * .7151522 + b * .072175;\n\tconst z = r * .0193339 + g * .119192 + b * .9503041;\n\treturn [\n\t\tx * 100,\n\t\ty * 100,\n\t\tz * 100\n\t];\n};\nconvert$1.rgb.lab = function(rgb) {\n\tconst xyz = convert$1.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\tx = x > LAB_FT ? x ** (1 / 3) : 7.787 * x + 16 / 116;\n\ty = y > LAB_FT ? y ** (1 / 3) : 7.787 * y + 16 / 116;\n\tz = z > LAB_FT ? z ** (1 / 3) : 7.787 * z + 16 / 116;\n\treturn [\n\t\t116 * y - 16,\n\t\t500 * (x - y),\n\t\t200 * (y - z)\n\t];\n};\nconvert$1.hsl.rgb = function(hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t3;\n\tlet value;\n\tif (s === 0) {\n\t\tvalue = l * 255;\n\t\treturn [\n\t\t\tvalue,\n\t\t\tvalue,\n\t\t\tvalue\n\t\t];\n\t}\n\tconst t2 = l < .5 ? l * (1 + s) : l + s - l * s;\n\tconst t1 = 2 * l - t2;\n\tconst rgb = [\n\t\t0,\n\t\t0,\n\t\t0\n\t];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) t3++;\n\t\tif (t3 > 1) t3--;\n\t\tif (6 * t3 < 1) value = t1 + (t2 - t1) * 6 * t3;\n\t\telse if (2 * t3 < 1) value = t2;\n\t\telse if (3 * t3 < 2) value = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\telse value = t1;\n\t\trgb[i] = value * 255;\n\t}\n\treturn rgb;\n};\nconvert$1.hsl.hsv = function(hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, .01);\n\tl *= 2;\n\ts *= l <= 1 ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\treturn [\n\t\th,\n\t\t(l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s)) * 100,\n\t\tv * 100\n\t];\n};\nconvert$1.hsv.rgb = function(hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - s * f);\n\tconst t = 255 * v * (1 - s * (1 - f));\n\tv *= 255;\n\tswitch (hi) {\n\t\tcase 0: return [\n\t\t\tv,\n\t\t\tt,\n\t\t\tp\n\t\t];\n\t\tcase 1: return [\n\t\t\tq,\n\t\t\tv,\n\t\t\tp\n\t\t];\n\t\tcase 2: return [\n\t\t\tp,\n\t\t\tv,\n\t\t\tt\n\t\t];\n\t\tcase 3: return [\n\t\t\tp,\n\t\t\tq,\n\t\t\tv\n\t\t];\n\t\tcase 4: return [\n\t\t\tt,\n\t\t\tp,\n\t\t\tv\n\t\t];\n\t\tcase 5: return [\n\t\t\tv,\n\t\t\tp,\n\t\t\tq\n\t\t];\n\t}\n};\nconvert$1.hsv.hsl = function(hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, .01);\n\tlet sl;\n\tlet l;\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= lmin <= 1 ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\treturn [\n\t\th,\n\t\tsl * 100,\n\t\tl * 100\n\t];\n};\nconvert$1.hwb.rgb = function(hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\tif ((i & 1) !== 0) f = 1 - f;\n\tconst n = wh + f * (v - wh);\n\tlet r;\n\tlet g;\n\tlet b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0:\n\t\t\tr = v;\n\t\t\tg = n;\n\t\t\tb = wh;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tr = n;\n\t\t\tg = v;\n\t\t\tb = wh;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tr = wh;\n\t\t\tg = v;\n\t\t\tb = n;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tr = wh;\n\t\t\tg = n;\n\t\t\tb = v;\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tr = n;\n\t\t\tg = wh;\n\t\t\tb = v;\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tr = v;\n\t\t\tg = wh;\n\t\t\tb = n;\n\t\t\tbreak;\n\t}\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.cmyk.rgb = function(cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.xyz.rgb = function(xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\tr = x * 3.2404542 + y * -1.5371385 + z * -.4985314;\n\tg = x * -.969266 + y * 1.8760108 + z * .041556;\n\tb = x * .0556434 + y * -.2040259 + z * 1.0572252;\n\tr = srgbNonlinearTransform(r);\n\tg = srgbNonlinearTransform(g);\n\tb = srgbNonlinearTransform(b);\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.xyz.lab = function(xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\tx = x > LAB_FT ? x ** (1 / 3) : 7.787 * x + 16 / 116;\n\ty = y > LAB_FT ? y ** (1 / 3) : 7.787 * y + 16 / 116;\n\tz = z > LAB_FT ? z ** (1 / 3) : 7.787 * z + 16 / 116;\n\treturn [\n\t\t116 * y - 16,\n\t\t500 * (x - y),\n\t\t200 * (y - z)\n\t];\n};\nconvert$1.xyz.oklab = function(xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tconst lp = Math.cbrt(.8189330101 * x + .3618667424 * y - .1288597137 * z);\n\tconst mp = Math.cbrt(.0329845436 * x + .9293118715 * y + .0361456387 * z);\n\tconst sp = Math.cbrt(.0482003018 * x + .2643662691 * y + .633851707 * z);\n\tconst l = .2104542553 * lp + .793617785 * mp - .0040720468 * sp;\n\tconst a = 1.9779984951 * lp - 2.428592205 * mp + .4505937099 * sp;\n\tconst b = .0259040371 * lp + .7827717662 * mp - .808675766 * sp;\n\treturn [\n\t\tl * 100,\n\t\ta * 100,\n\t\tb * 100\n\t];\n};\nconvert$1.oklab.oklch = function(oklab) {\n\treturn convert$1.lab.lch(oklab);\n};\nconvert$1.oklab.xyz = function(oklab) {\n\tconst ll = oklab[0] / 100;\n\tconst a = oklab[1] / 100;\n\tconst b = oklab[2] / 100;\n\tconst l = (.999999998 * ll + .396337792 * a + .215803758 * b) ** 3;\n\tconst m = (1.000000008 * ll - .105561342 * a - .063854175 * b) ** 3;\n\tconst s = (1.000000055 * ll - .089484182 * a - 1.291485538 * b) ** 3;\n\tconst x = 1.227013851 * l - .55779998 * m + .281256149 * s;\n\tconst y = -.040580178 * l + 1.11225687 * m - .071676679 * s;\n\tconst z = -.076381285 * l - .421481978 * m + 1.58616322 * s;\n\treturn [\n\t\tx * 100,\n\t\ty * 100,\n\t\tz * 100\n\t];\n};\nconvert$1.oklab.rgb = function(oklab) {\n\tconst ll = oklab[0] / 100;\n\tconst aa = oklab[1] / 100;\n\tconst bb = oklab[2] / 100;\n\tconst l = (ll + .3963377774 * aa + .2158037573 * bb) ** 3;\n\tconst m = (ll - .1055613458 * aa - .0638541728 * bb) ** 3;\n\tconst s = (ll - .0894841775 * aa - 1.291485548 * bb) ** 3;\n\tconst r = srgbNonlinearTransform(4.0767416621 * l - 3.3077115913 * m + .2309699292 * s);\n\tconst g = srgbNonlinearTransform(-1.2684380046 * l + 2.6097574011 * m - .3413193965 * s);\n\tconst b = srgbNonlinearTransform(-.0041960863 * l - .7034186147 * m + 1.707614701 * s);\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.oklch.oklab = function(oklch) {\n\treturn convert$1.lch.lab(oklch);\n};\nconvert$1.lab.xyz = function(lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > LAB_FT ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > LAB_FT ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > LAB_FT ? z2 : (z - 16 / 116) / 7.787;\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\treturn [\n\t\tx,\n\t\ty,\n\t\tz\n\t];\n};\nconvert$1.lab.lch = function(lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\th = Math.atan2(b, a) * 360 / 2 / Math.PI;\n\tif (h < 0) h += 360;\n\treturn [\n\t\tl,\n\t\tMath.sqrt(a * a + b * b),\n\t\th\n\t];\n};\nconvert$1.lch.lab = function(lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst hr = lch[2] / 360 * 2 * Math.PI;\n\treturn [\n\t\tl,\n\t\tc * Math.cos(hr),\n\t\tc * Math.sin(hr)\n\t];\n};\nconvert$1.rgb.ansi16 = function(args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert$1.rgb.hsv(args)[2] : saturation;\n\tvalue = Math.round(value / 50);\n\tif (value === 0) return 30;\n\tlet ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255));\n\tif (value === 2) ansi += 60;\n\treturn ansi;\n};\nconvert$1.hsv.ansi16 = function(args) {\n\treturn convert$1.rgb.ansi16(convert$1.hsv.rgb(args), args[2]);\n};\nconvert$1.rgb.ansi256 = function(args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\tif (r >> 4 === g >> 4 && g >> 4 === b >> 4) {\n\t\tif (r < 8) return 16;\n\t\tif (r > 248) return 231;\n\t\treturn Math.round((r - 8) / 247 * 24) + 232;\n\t}\n\treturn 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5);\n};\nconvert$1.ansi16.rgb = function(args) {\n\targs = args[0];\n\tlet color = args % 10;\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) color += 3.5;\n\t\tcolor = color / 10.5 * 255;\n\t\treturn [\n\t\t\tcolor,\n\t\t\tcolor,\n\t\t\tcolor\n\t\t];\n\t}\n\tconst mult = (Math.trunc(args > 50) + 1) * .5;\n\treturn [\n\t\t(color & 1) * mult * 255,\n\t\t(color >> 1 & 1) * mult * 255,\n\t\t(color >> 2 & 1) * mult * 255\n\t];\n};\nconvert$1.ansi256.rgb = function(args) {\n\targs = args[0];\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [\n\t\t\tc,\n\t\t\tc,\n\t\t\tc\n\t\t];\n\t}\n\targs -= 16;\n\tlet rem;\n\treturn [\n\t\tMath.floor(args / 36) / 5 * 255,\n\t\tMath.floor((rem = args % 36) / 6) / 5 * 255,\n\t\trem % 6 / 5 * 255\n\t];\n};\nconvert$1.rgb.hex = function(args) {\n\tconst string = (((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255)).toString(16).toUpperCase();\n\treturn \"000000\".slice(string.length) + string;\n};\nconvert$1.hex.rgb = function(args) {\n\tconst match = args.toString(16).match(/[a-f\\d]{6}|[a-f\\d]{3}/i);\n\tif (!match) return [\n\t\t0,\n\t\t0,\n\t\t0\n\t];\n\tlet colorString = match[0];\n\tif (match[0].length === 3) colorString = [...colorString].map((char) => char + char).join(\"\");\n\tconst integer = Number.parseInt(colorString, 16);\n\treturn [\n\t\tinteger >> 16 & 255,\n\t\tinteger >> 8 & 255,\n\t\tinteger & 255\n\t];\n};\nconvert$1.rgb.hcg = function(rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = max - min;\n\tlet hue;\n\tconst grayscale = chroma < 1 ? min / (1 - chroma) : 0;\n\tif (chroma <= 0) hue = 0;\n\telse if (max === r) hue = (g - b) / chroma % 6;\n\telse if (max === g) hue = 2 + (b - r) / chroma;\n\telse hue = 4 + (r - g) / chroma;\n\thue /= 6;\n\thue %= 1;\n\treturn [\n\t\thue * 360,\n\t\tchroma * 100,\n\t\tgrayscale * 100\n\t];\n};\nconvert$1.hsl.hcg = function(hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tconst c = l < .5 ? 2 * s * l : 2 * s * (1 - l);\n\tlet f = 0;\n\tif (c < 1) f = (l - .5 * c) / (1 - c);\n\treturn [\n\t\thsl[0],\n\t\tc * 100,\n\t\tf * 100\n\t];\n};\nconvert$1.hsv.hcg = function(hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst c = s * v;\n\tlet f = 0;\n\tif (c < 1) f = (v - c) / (1 - c);\n\treturn [\n\t\thsv[0],\n\t\tc * 100,\n\t\tf * 100\n\t];\n};\nconvert$1.hcg.rgb = function(hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tif (c === 0) return [\n\t\tg * 255,\n\t\tg * 255,\n\t\tg * 255\n\t];\n\tconst pure = [\n\t\t0,\n\t\t0,\n\t\t0\n\t];\n\tconst hi = h % 1 * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1;\n\t\t\tpure[1] = v;\n\t\t\tpure[2] = 0;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tpure[0] = w;\n\t\t\tpure[1] = 1;\n\t\t\tpure[2] = 0;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tpure[0] = 0;\n\t\t\tpure[1] = 1;\n\t\t\tpure[2] = v;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tpure[0] = 0;\n\t\t\tpure[1] = w;\n\t\t\tpure[2] = 1;\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tpure[0] = v;\n\t\t\tpure[1] = 0;\n\t\t\tpure[2] = 1;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tpure[0] = 1;\n\t\t\tpure[1] = 0;\n\t\t\tpure[2] = w;\n\t}\n\tmg = (1 - c) * g;\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\nconvert$1.hcg.hsv = function(hcg) {\n\tconst c = hcg[1] / 100;\n\tconst v = c + hcg[2] / 100 * (1 - c);\n\tlet f = 0;\n\tif (v > 0) f = c / v;\n\treturn [\n\t\thcg[0],\n\t\tf * 100,\n\t\tv * 100\n\t];\n};\nconvert$1.hcg.hsl = function(hcg) {\n\tconst c = hcg[1] / 100;\n\tconst l = hcg[2] / 100 * (1 - c) + .5 * c;\n\tlet s = 0;\n\tif (l > 0 && l < .5) s = c / (2 * l);\n\telse if (l >= .5 && l < 1) s = c / (2 * (1 - l));\n\treturn [\n\t\thcg[0],\n\t\ts * 100,\n\t\tl * 100\n\t];\n};\nconvert$1.hcg.hwb = function(hcg) {\n\tconst c = hcg[1] / 100;\n\tconst v = c + hcg[2] / 100 * (1 - c);\n\treturn [\n\t\thcg[0],\n\t\t(v - c) * 100,\n\t\t(1 - v) * 100\n\t];\n};\nconvert$1.hwb.hcg = function(hwb) {\n\tconst w = hwb[1] / 100;\n\tconst v = 1 - hwb[2] / 100;\n\tconst c = v - w;\n\tlet g = 0;\n\tif (c < 1) g = (v - c) / (1 - c);\n\treturn [\n\t\thwb[0],\n\t\tc * 100,\n\t\tg * 100\n\t];\n};\nconvert$1.apple.rgb = function(apple) {\n\treturn [\n\t\tapple[0] / 65535 * 255,\n\t\tapple[1] / 65535 * 255,\n\t\tapple[2] / 65535 * 255\n\t];\n};\nconvert$1.rgb.apple = function(rgb) {\n\treturn [\n\t\trgb[0] / 255 * 65535,\n\t\trgb[1] / 255 * 65535,\n\t\trgb[2] / 255 * 65535\n\t];\n};\nconvert$1.gray.rgb = function(args) {\n\treturn [\n\t\targs[0] / 100 * 255,\n\t\targs[0] / 100 * 255,\n\t\targs[0] / 100 * 255\n\t];\n};\nconvert$1.gray.hsl = function(args) {\n\treturn [\n\t\t0,\n\t\t0,\n\t\targs[0]\n\t];\n};\nconvert$1.gray.hsv = convert$1.gray.hsl;\nconvert$1.gray.hwb = function(gray) {\n\treturn [\n\t\t0,\n\t\t100,\n\t\tgray[0]\n\t];\n};\nconvert$1.gray.cmyk = function(gray) {\n\treturn [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\tgray[0]\n\t];\n};\nconvert$1.gray.lab = function(gray) {\n\treturn [\n\t\tgray[0],\n\t\t0,\n\t\t0\n\t];\n};\nconvert$1.gray.hex = function(gray) {\n\tconst value = Math.round(gray[0] / 100 * 255) & 255;\n\tconst string = ((value << 16) + (value << 8) + value).toString(16).toUpperCase();\n\treturn \"000000\".slice(string.length) + string;\n};\nconvert$1.rgb.gray = function(rgb) {\n\treturn [(rgb[0] + rgb[1] + rgb[2]) / 3 / 255 * 100];\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/route.js\nfunction buildGraph() {\n\tconst graph = {};\n\tconst models = Object.keys(conversions_default);\n\tfor (let { length } = models, i = 0; i < length; i++) graph[models[i]] = {\n\t\tdistance: -1,\n\t\tparent: null\n\t};\n\treturn graph;\n}\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel];\n\tgraph[fromModel].distance = 0;\n\twhile (queue.length > 0) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions_default[current]);\n\t\tfor (let { length } = adjacents, i = 0; i < length; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\treturn graph;\n}\nfunction link(from, to) {\n\treturn function(args) {\n\t\treturn to(from(args));\n\t};\n}\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions_default[graph[toModel].parent][toModel];\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions_default[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\tfn.conversion = path;\n\treturn fn;\n}\nfunction route(fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\tconst models = Object.keys(graph);\n\tfor (let { length } = models, i = 0; i < length; i++) {\n\t\tconst toModel = models[i];\n\t\tif (graph[toModel].parent === null) continue;\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\treturn conversion;\n}\nvar route_default = route;\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/index.js\nconst convert = {};\nconst models = Object.keys(conversions_default);\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function(...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === void 0 || arg0 === null) return arg0;\n\t\tif (arg0.length > 1) args = arg0;\n\t\treturn fn(args);\n\t};\n\tif (\"conversion\" in fn) wrappedFn.conversion = fn.conversion;\n\treturn wrappedFn;\n}\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function(...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === void 0 || arg0 === null) return arg0;\n\t\tif (arg0.length > 1) args = arg0;\n\t\tconst result = fn(args);\n\t\tif (typeof result === \"object\") for (let { length } = result, i = 0; i < length; i++) result[i] = Math.round(result[i]);\n\t\treturn result;\n\t};\n\tif (\"conversion\" in fn) wrappedFn.conversion = fn.conversion;\n\treturn wrappedFn;\n}\nfor (const fromModel of models) {\n\tconvert[fromModel] = {};\n\tObject.defineProperty(convert[fromModel], \"channels\", { value: conversions_default[fromModel].channels });\n\tObject.defineProperty(convert[fromModel], \"labels\", { value: conversions_default[fromModel].labels });\n\tconst routes = route_default(fromModel);\n\tconst routeModels = Object.keys(routes);\n\tfor (const toModel of routeModels) {\n\t\tconst fn = routes[toModel];\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t}\n}\nvar color_convert_default = convert;\n\n//#endregion\n//#region ../../node_modules/.pnpm/color@5.0.3/node_modules/color/index.js\nconst skippedModels = [\n\t\"keyword\",\n\t\"gray\",\n\t\"hex\"\n];\nconst hashedModelKeys = {};\nfor (const model of Object.keys(color_convert_default)) hashedModelKeys[[...color_convert_default[model].labels].sort().join(\"\")] = model;\nconst limiters = {};\nfunction Color(object, model) {\n\tif (!(this instanceof Color)) return new Color(object, model);\n\tif (model && model in skippedModels) model = null;\n\tif (model && !(model in color_convert_default)) throw new Error(\"Unknown model: \" + model);\n\tlet i;\n\tlet channels;\n\tif (object == null) {\n\t\tthis.model = \"rgb\";\n\t\tthis.color = [\n\t\t\t0,\n\t\t\t0,\n\t\t\t0\n\t\t];\n\t\tthis.valpha = 1;\n\t} else if (object instanceof Color) {\n\t\tthis.model = object.model;\n\t\tthis.color = [...object.color];\n\t\tthis.valpha = object.valpha;\n\t} else if (typeof object === \"string\") {\n\t\tconst result = color_string_default.get(object);\n\t\tif (result === null) throw new Error(\"Unable to parse color from string: \" + object);\n\t\tthis.model = result.model;\n\t\tchannels = color_convert_default[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === \"number\" ? result.value[channels] : 1;\n\t} else if (object.length > 0) {\n\t\tthis.model = model || \"rgb\";\n\t\tchannels = color_convert_default[this.model].channels;\n\t\tthis.color = zeroArray(Array.prototype.slice.call(object, 0, channels), channels);\n\t\tthis.valpha = typeof object[channels] === \"number\" ? object[channels] : 1;\n\t} else if (typeof object === \"number\") {\n\t\tthis.model = \"rgb\";\n\t\tthis.color = [\n\t\t\tobject >> 16 & 255,\n\t\t\tobject >> 8 & 255,\n\t\t\tobject & 255\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\t\tconst keys = Object.keys(object);\n\t\tif (\"alpha\" in object) {\n\t\t\tkeys.splice(keys.indexOf(\"alpha\"), 1);\n\t\t\tthis.valpha = typeof object.alpha === \"number\" ? object.alpha : 0;\n\t\t}\n\t\tconst hashedKeys = keys.sort().join(\"\");\n\t\tif (!(hashedKeys in hashedModelKeys)) throw new Error(\"Unable to parse color from object: \" + JSON.stringify(object));\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\t\tconst { labels } = color_convert_default[this.model];\n\t\tconst color = [];\n\t\tfor (i = 0; i < labels.length; i++) color.push(object[labels[i]]);\n\t\tthis.color = zeroArray(color);\n\t}\n\tif (limiters[this.model]) {\n\t\tchannels = color_convert_default[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tconst limit = limiters[this.model][i];\n\t\t\tif (limit) this.color[i] = limit(this.color[i]);\n\t\t}\n\t}\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\tif (Object.freeze) Object.freeze(this);\n}\nColor.prototype = {\n\ttoString() {\n\t\treturn this.string();\n\t},\n\ttoJSON() {\n\t\treturn this[this.model]();\n\t},\n\tstring(places) {\n\t\tlet self = this.model in color_string_default.to ? this : this.rgb();\n\t\tself = self.round(typeof places === \"number\" ? places : 1);\n\t\tconst arguments_ = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn color_string_default.to[self.model](...arguments_);\n\t},\n\tpercentString(places) {\n\t\tconst self = this.rgb().round(typeof places === \"number\" ? places : 1);\n\t\tconst arguments_ = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn color_string_default.to.rgb.percent(...arguments_);\n\t},\n\tarray() {\n\t\treturn this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];\n\t},\n\tobject() {\n\t\tconst result = {};\n\t\tconst { channels } = color_convert_default[this.model];\n\t\tconst { labels } = color_convert_default[this.model];\n\t\tfor (let i = 0; i < channels; i++) result[labels[i]] = this.color[i];\n\t\tif (this.valpha !== 1) result.alpha = this.valpha;\n\t\treturn result;\n\t},\n\tunitArray() {\n\t\tconst rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\t\tif (this.valpha !== 1) rgb.push(this.valpha);\n\t\treturn rgb;\n\t},\n\tunitObject() {\n\t\tconst rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\t\tif (this.valpha !== 1) rgb.alpha = this.valpha;\n\t\treturn rgb;\n\t},\n\tround(places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);\n\t},\n\talpha(value) {\n\t\tif (value !== void 0) return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);\n\t\treturn this.valpha;\n\t},\n\tred: getset(\"rgb\", 0, maxfn(255)),\n\tgreen: getset(\"rgb\", 1, maxfn(255)),\n\tblue: getset(\"rgb\", 2, maxfn(255)),\n\thue: getset([\n\t\t\"hsl\",\n\t\t\"hsv\",\n\t\t\"hsl\",\n\t\t\"hwb\",\n\t\t\"hcg\"\n\t], 0, (value) => (value % 360 + 360) % 360),\n\tsaturationl: getset(\"hsl\", 1, maxfn(100)),\n\tlightness: getset(\"hsl\", 2, maxfn(100)),\n\tsaturationv: getset(\"hsv\", 1, maxfn(100)),\n\tvalue: getset(\"hsv\", 2, maxfn(100)),\n\tchroma: getset(\"hcg\", 1, maxfn(100)),\n\tgray: getset(\"hcg\", 2, maxfn(100)),\n\twhite: getset(\"hwb\", 1, maxfn(100)),\n\twblack: getset(\"hwb\", 2, maxfn(100)),\n\tcyan: getset(\"cmyk\", 0, maxfn(100)),\n\tmagenta: getset(\"cmyk\", 1, maxfn(100)),\n\tyellow: getset(\"cmyk\", 2, maxfn(100)),\n\tblack: getset(\"cmyk\", 3, maxfn(100)),\n\tx: getset(\"xyz\", 0, maxfn(95.047)),\n\ty: getset(\"xyz\", 1, maxfn(100)),\n\tz: getset(\"xyz\", 2, maxfn(108.833)),\n\tl: getset(\"lab\", 0, maxfn(100)),\n\ta: getset(\"lab\", 1),\n\tb: getset(\"lab\", 2),\n\tkeyword(value) {\n\t\tif (value !== void 0) return new Color(value);\n\t\treturn color_convert_default[this.model].keyword(this.color);\n\t},\n\thex(value) {\n\t\tif (value !== void 0) return new Color(value);\n\t\treturn color_string_default.to.hex(...this.rgb().round().color);\n\t},\n\thexa(value) {\n\t\tif (value !== void 0) return new Color(value);\n\t\tconst rgbArray = this.rgb().round().color;\n\t\tlet alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n\t\tif (alphaHex.length === 1) alphaHex = \"0\" + alphaHex;\n\t\treturn color_string_default.to.hex(...rgbArray) + alphaHex;\n\t},\n\trgbNumber() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn (rgb[0] & 255) << 16 | (rgb[1] & 255) << 8 | rgb[2] & 255;\n\t},\n\tluminosity() {\n\t\tconst rgb = this.rgb().color;\n\t\tconst lum = [];\n\t\tfor (const [i, element] of rgb.entries()) {\n\t\t\tconst chan = element / 255;\n\t\t\tlum[i] = chan <= .04045 ? chan / 12.92 : ((chan + .055) / 1.055) ** 2.4;\n\t\t}\n\t\treturn .2126 * lum[0] + .7152 * lum[1] + .0722 * lum[2];\n\t},\n\tcontrast(color2) {\n\t\tconst lum1 = this.luminosity();\n\t\tconst lum2 = color2.luminosity();\n\t\tif (lum1 > lum2) return (lum1 + .05) / (lum2 + .05);\n\t\treturn (lum2 + .05) / (lum1 + .05);\n\t},\n\tlevel(color2) {\n\t\tconst contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7) return \"AAA\";\n\t\treturn contrastRatio >= 4.5 ? \"AA\" : \"\";\n\t},\n\tisDark() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 1e4 < 128;\n\t},\n\tisLight() {\n\t\treturn !this.isDark();\n\t},\n\tnegate() {\n\t\tconst rgb = this.rgb();\n\t\tfor (let i = 0; i < 3; i++) rgb.color[i] = 255 - rgb.color[i];\n\t\treturn rgb;\n\t},\n\tlighten(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\tdarken(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\tsaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\tdesaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\twhiten(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\tblacken(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\tgrayscale() {\n\t\tconst rgb = this.rgb().color;\n\t\tconst value = rgb[0] * .3 + rgb[1] * .59 + rgb[2] * .11;\n\t\treturn Color.rgb(value, value, value);\n\t},\n\tfade(ratio) {\n\t\treturn this.alpha(this.valpha - this.valpha * ratio);\n\t},\n\topaquer(ratio) {\n\t\treturn this.alpha(this.valpha + this.valpha * ratio);\n\t},\n\trotate(degrees) {\n\t\tconst hsl = this.hsl();\n\t\tlet hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\tmix(mixinColor, weight) {\n\t\tif (!mixinColor || !mixinColor.rgb) throw new Error(\"Argument to \\\"mix\\\" was not a Color instance, but rather an instance of \" + typeof mixinColor);\n\t\tconst color1 = mixinColor.rgb();\n\t\tconst color2 = this.rgb();\n\t\tconst p = weight === void 0 ? .5 : weight;\n\t\tconst w = 2 * p - 1;\n\t\tconst a = color1.alpha() - color2.alpha();\n\t\tconst w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2;\n\t\tconst w2 = 1 - w1;\n\t\treturn Color.rgb(w1 * color1.red() + w2 * color2.red(), w1 * color1.green() + w2 * color2.green(), w1 * color1.blue() + w2 * color2.blue(), color1.alpha() * p + color2.alpha() * (1 - p));\n\t}\n};\nfor (const model of Object.keys(color_convert_default)) {\n\tif (skippedModels.includes(model)) continue;\n\tconst { channels } = color_convert_default[model];\n\tColor.prototype[model] = function(...arguments_) {\n\t\tif (this.model === model) return new Color(this);\n\t\tif (arguments_.length > 0) return new Color(arguments_, model);\n\t\treturn new Color([...assertArray(color_convert_default[this.model][model].raw(this.color)), this.valpha], model);\n\t};\n\tColor[model] = function(...arguments_) {\n\t\tlet color = arguments_[0];\n\t\tif (typeof color === \"number\") color = zeroArray(arguments_, channels);\n\t\treturn new Color(color, model);\n\t};\n}\nfunction roundTo(number, places) {\n\treturn Number(number.toFixed(places));\n}\nfunction roundToPlace(places) {\n\treturn function(number) {\n\t\treturn roundTo(number, places);\n\t};\n}\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\tfor (const m of model) (limiters[m] ||= [])[channel] = modifier;\n\tmodel = model[0];\n\treturn function(value) {\n\t\tlet result;\n\t\tif (value !== void 0) {\n\t\t\tif (modifier) value = modifier(value);\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = value;\n\t\t\treturn result;\n\t\t}\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) result = modifier(result);\n\t\treturn result;\n\t};\n}\nfunction maxfn(max) {\n\treturn function(v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\nfunction assertArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\nfunction zeroArray(array, length) {\n\tfor (let i = 0; i < length; i++) if (typeof array[i] !== \"number\") array[i] = 0;\n\treturn array;\n}\nvar color_default = Color;\n\n//#endregion\n//#region src/theme/color.ts\n/**\n* Returns the most readable text color (black or white) for a given background color.\n* @param hexColor The background color in hex format.\n* @param black The hex value for black, used for contrast calculation (default is PALETTE.black).\n* @param white The hex value for white, used for contrast calculation (default is PALETTE.white).\n* @returns The hex value of the recommended text color for optimal contrast.\n* @example\n* // Returns '#000000' or '#ffffff' depending on the contrast with the background\n* getContrastTextColor('#ff0000');\n*/\nconst getContrastTextColor = (hexColor, black = PALETTE.black, white = PALETTE.white) => {\n\tlet bg;\n\ttry {\n\t\tbg = color_default(hexColor);\n\t} catch {\n\t\treturn white;\n\t}\n\tconst blackColor = color_default(black);\n\tconst whiteColor = color_default(white);\n\tconst contrastWithBlack = bg.contrast(blackColor);\n\treturn bg.contrast(whiteColor) > contrastWithBlack ? white : black;\n};\n/**\n* Generates a color scale value and its appropriate contrast text color.\n* @param baseColorHex The base color in hex format.\n* @param white The hex value for white, used for contrast calculation.\n* @param black The hex value for black, used for contrast calculation.\n* @param index The scale index (0 for base, higher for lighter/darker variants).\n* @param isDark Whether the base color is considered dark (true) or light (false).\n* @returns An object with the scaled color hex and the recommended onColor for text contrast.\n* @example\n* // Example usage:\n* // getScaleValue('#ff0000', '#ffffff', '#000000', 100, true);\n*/\nconst getScaleValue = (baseColorHex, white, black, index, isDark) => {\n\tconst color = color_default(baseColorHex);\n\tconst amount = index / 1e3;\n\tlet finalColorHex;\n\tif (index === 0) finalColorHex = color.hex();\n\telse if (isDark) finalColorHex = color.lighten(amount).hex();\n\telse finalColorHex = color.darken(amount).hex();\n\treturn {\n\t\tcolor: finalColorHex,\n\t\tonColor: getContrastTextColor(finalColorHex, black, white)\n\t};\n};\n/**\n* Creates a color scale object for a given color token, generating lighter or darker variants and their contrast text colors.\n* @param colorName The scalable color token name to use as the key for the scale.\n* @param baseColorHex The base color in hex format to generate the scale from.\n* @param white The hex value for white, used for contrast calculation.\n* @param black The hex value for black, used for contrast calculation.\n* @param isDark Whether the base color is considered dark (true) or light (false).\n* @returns An object containing the color scale and recommended contrast text colors for each variant.\n* @example\n* // Example usage:\n* // createColorScale('brand', '#ff0000', '#ffffff', '#000000', true);\n*/\nconst createColorScale = (colorName, baseColorHex, white, black, isDark) => ({\n\t[colorName]: getScaleValue(baseColorHex, white, black, 0, isDark),\n\t100: getScaleValue(baseColorHex, white, black, 100, isDark),\n\t200: getScaleValue(baseColorHex, white, black, 200, isDark),\n\t300: getScaleValue(baseColorHex, white, black, 300, isDark),\n\t400: getScaleValue(baseColorHex, white, black, 400, isDark),\n\t500: getScaleValue(baseColorHex, white, black, 500, isDark),\n\t600: getScaleValue(baseColorHex, white, black, 600, isDark),\n\t700: getScaleValue(baseColorHex, white, black, 700, isDark),\n\t800: getScaleValue(baseColorHex, white, black, 800, isDark),\n\t900: getScaleValue(baseColorHex, white, black, 900, isDark)\n});\n/**\n* Creates a color scale theme object for a given color token, automatically determining if the base color is dark or light.\n* @param colorName The scalable color token name to use as the key for the scale.\n* @param baseColorHex The base color in hex format to generate the scale from.\n* @param white The hex value for white, used for contrast calculation.\n* @param black The hex value for black, used for contrast calculation.\n* @returns An object containing the color scale and recommended contrast text colors for each variant.\n* @example\n* // Example usage:\n* // createColorScaleTheme('brand', '#ff0000', '#ffffff', '#000000');\n*/\nconst createColorScaleTheme = (colorName, baseColorHex, white, black) => {\n\treturn createColorScale(colorName, baseColorHex, white, black, color_default(baseColorHex).luminosity() < .5);\n};\nconst colorTheme = {\n\ttransparent: PALETTE.transparent,\n\tblack: createColorScaleTheme(\"black\", PALETTE.black, PALETTE.white, PALETTE.black),\n\twhite: createColorScaleTheme(\"white\", PALETTE.white, PALETTE.white, PALETTE.black),\n\tgray: createColorScaleTheme(\"gray\", PALETTE.gray, PALETTE.white, PALETTE.black),\n\tbrand: createColorScaleTheme(\"brand\", PALETTE.brand, PALETTE.white, PALETTE.black),\n\tinfo: createColorScaleTheme(\"info\", PALETTE.info, PALETTE.white, PALETTE.black),\n\tsuccess: createColorScaleTheme(\"success\", PALETTE.success, PALETTE.white, PALETTE.black),\n\twarning: createColorScaleTheme(\"warning\", PALETTE.warning, PALETTE.white, PALETTE.black),\n\terror: createColorScaleTheme(\"error\", PALETTE.error, PALETTE.white, PALETTE.black)\n};\n\n//#endregion\n//#region src/theme/font.ts\nconst fontTheme = {\n\tfamily: {\n\t\tbrand: \"\\\"Momo Trust Display\\\", system-ui, -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, \\\"Helvetica Neue\\\", Arial, sans-serif\",\n\t\tsans: \"\\\"Inter Variable\\\", Inter, system-ui, -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, \\\"Helvetica Neue\\\", Arial, sans-serif\",\n\t\tmono: \"\\\"SF Mono\\\", \\\"Fira Code Variable\\\", \\\"Fira Code\\\", \\\"Fira Mono\\\", \\\"Roboto Mono\\\", monospace\",\n\t\tserif: \"\\\"Roboto Serif Variable\\\", \\\"Roboto Serif\\\", Georgia, Cambria, \\\"Times New Roman\\\", Times, serif\"\n\t},\n\tweight: {\n\t\tlight: \"200\",\n\t\tregular: \"400\",\n\t\tmedium: \"500\",\n\t\tsemibold: \"600\",\n\t\tbold: \"700\",\n\t\textrabold: \"800\"\n\t},\n\tlineHeights: {\n\t\ttight: \"1.25\",\n\t\tnormal: \"1.5\",\n\t\tloose: \"1.75\"\n\t},\n\tsize: {\n\t\troot: \"16px\",\n\t\tbody: {\n\t\t\txsmall: \"0.75rem\",\n\t\t\tsmall: \"0.875rem\",\n\t\t\tmedium: \"1rem\",\n\t\t\tlarge: \"1.125rem\",\n\t\t\txlarge: \"1.25rem\",\n\t\t\txxlarge: \"1.5rem\"\n\t\t},\n\t\tlabel: {\n\t\t\txsmall: \"0.625rem\",\n\t\t\tsmall: \"0.75rem\",\n\t\t\tmedium: \"0.875rem\",\n\t\t\tlarge: \"1rem\",\n\t\t\txlarge: \"1.125rem\",\n\t\t\txxlarge: \"1.25rem\"\n\t\t},\n\t\ttitle: {\n\t\t\txsmall: \"1.125rem\",\n\t\t\tsmall: \"1.25rem\",\n\t\t\tmedium: \"1.5rem\",\n\t\t\tlarge: \"1.75rem\",\n\t\t\txlarge: \"2rem\",\n\t\t\txxlarge: \"2.5rem\"\n\t\t},\n\t\theadline: {\n\t\t\txsmall: \"1.5rem\",\n\t\t\tsmall: \"1.75rem\",\n\t\t\tmedium: \"2rem\",\n\t\t\tlarge: \"2.5rem\",\n\t\t\txlarge: \"3rem\",\n\t\t\txxlarge: \"4rem\"\n\t\t},\n\t\tdisplay: {\n\t\t\txsmall: \"2rem\",\n\t\t\tsmall: \"3rem\",\n\t\t\tmedium: \"4rem\",\n\t\t\tlarge: \"5rem\",\n\t\t\txlarge: \"6rem\",\n\t\t\txxlarge: \"8rem\"\n\t\t}\n\t}\n};\n\n//#endregion\n//#region src/theme/spacing.ts\nconst spacingTheme = {\n\tnone: \"0rem\",\n\txsmall: \"0.25rem\",\n\tsmall: \"0.5rem\",\n\tmedium: \"0.75rem\",\n\tlarge: \"1rem\",\n\txlarge: \"1.25rem\",\n\txxlarge: \"1.75rem\",\n\txxxlarge: \"2rem\",\n\txxxxlarge: \"3rem\"\n};\n\n//#endregion\n//#region src/theme.css.ts\nconst theme = createGlobalTheme(\":root\", pitto, {\n\tborder: borderTheme,\n\tfont: fontTheme,\n\tspacing: spacingTheme,\n\tcolor: colorTheme\n});\n\n//#endregion\nexport { BG_COLOR_TOKENS, COLOR_SCALES, COLOR_TOKEN_KEYS, PALETTE, PURE_COLOR_TOKENS, SCALABLE_COLOR_TOKENS, SPACING_TOKENS, borderContract, borderProperties, borderTheme, colorContract, colorProperties, colorTheme, createColorScale, createColorScaleTheme, fontContract, fontTheme, getContrastTextColor, getScaleValue, pitto, responsiveProperties, spacingContract, spacingProperties, spacingTheme, sprinkles, theme, typographyProperties };","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import React, { type ElementType, type ReactNode } from 'react';\n\nimport clsx from 'clsx';\n\nimport { type Sprinkles, sprinkles } from '@pittorica/styles';\n\nexport type BoxProps<T extends ElementType = 'div'> = {\n as?: T;\n className?: string;\n children?: ReactNode;\n ref?: React.Ref<Element>;\n} & Sprinkles &\n Omit<React.ComponentPropsWithoutRef<T>, keyof Sprinkles | 'as' | 'ref'>;\n\nfunction Box<T extends ElementType = 'div'>(\n props: BoxProps<T>\n): React.ReactElement {\n const { as: Component = 'div', className, children, ref, ...rest } = props;\n\n const sprinkleProps: Record<string, unknown> = {};\n const htmlProps: Record<string, unknown> = {};\n\n for (const key of Object.keys(rest)) {\n if (sprinkles.properties.has(key as keyof Sprinkles)) {\n sprinkleProps[key] = rest[key as keyof typeof rest];\n } else {\n htmlProps[key] = rest[key as keyof typeof rest];\n }\n }\n\n const atomicClasses = sprinkles(sprinkleProps as Sprinkles);\n\n return (\n <Component\n ref={ref}\n className={clsx(atomicClasses, className)}\n {...(htmlProps as React.ComponentPropsWithoutRef<T>)}\n >\n {children}\n </Component>\n );\n}\n\nBox.displayName = 'Box';\n\nexport { Box };\n","//#region rolldown:runtime\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\tvalue: mod,\n\tenumerable: true\n}) : target, mod));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js\nvar stylesheets = {};\nvar injectStyles = (_ref) => {\n\tvar { fileScope, css } = _ref;\n\tvar fileScopeId = fileScope.packageName ? [fileScope.packageName, fileScope.filePath].join(\"/\") : fileScope.filePath;\n\tvar stylesheet = stylesheets[fileScopeId];\n\tif (!stylesheet) {\n\t\tvar styleEl = document.createElement(\"style\");\n\t\tif (fileScope.packageName) styleEl.setAttribute(\"data-package\", fileScope.packageName);\n\t\tstyleEl.setAttribute(\"data-file\", fileScope.filePath);\n\t\tstyleEl.setAttribute(\"type\", \"text/css\");\n\t\tstylesheet = stylesheets[fileScopeId] = styleEl;\n\t\tdocument.head.appendChild(styleEl);\n\t}\n\tstylesheet.innerHTML = css;\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.cjs.prod.js\nvar require_vanilla_extract_private_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tfunction getVarName(variable) {\n\t\tvar matches = variable.match(/^var\\((.*)\\)$/);\n\t\tif (matches) return matches[1];\n\t\treturn variable;\n\t}\n\tfunction get(obj, path) {\n\t\tvar result = obj;\n\t\tfor (var key of path) {\n\t\t\tif (!(key in result)) throw new Error(\"Path \".concat(path.join(\" -> \"), \" does not exist in object\"));\n\t\t\tresult = result[key];\n\t\t}\n\t\treturn result;\n\t}\n\tfunction walkObject(obj, fn) {\n\t\tvar path = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tvar clone = {};\n\t\tfor (var key in obj) {\n\t\t\tvar _value = obj[key];\n\t\t\tvar currentPath = [...path, key];\n\t\t\tif (typeof _value === \"string\" || typeof _value === \"number\" || _value == null) clone[key] = fn(_value, currentPath);\n\t\t\telse if (typeof _value === \"object\" && !Array.isArray(_value)) clone[key] = walkObject(_value, fn, currentPath);\n\t\t\telse console.warn(\"Skipping invalid key \\\"\".concat(currentPath.join(\".\"), \"\\\". Should be a string, number, null or object. Received: \\\"\").concat(Array.isArray(_value) ? \"Array\" : typeof _value, \"\\\"\"));\n\t\t}\n\t\treturn clone;\n\t}\n\texports.get = get;\n\texports.getVarName = getVarName;\n\texports.walkObject = walkObject;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.cjs.dev.js\nvar require_vanilla_extract_private_cjs_dev = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.cjs.js\nvar require_vanilla_extract_private_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tif (process.env.NODE_ENV === \"production\") module.exports = require_vanilla_extract_private_cjs_prod();\n\telse module.exports = require_vanilla_extract_private_cjs_dev();\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js\n/*! https://mths.be/cssesc v3.0.0 by @mathias */\nvar require_cssesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tvar hasOwnProperty = {}.hasOwnProperty;\n\tvar merge = function merge(options, defaults) {\n\t\tif (!options) return defaults;\n\t\tvar result = {};\n\t\tfor (var key in defaults) result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];\n\t\treturn result;\n\t};\n\tvar regexAnySingleEscape = /[ -,\\.\\/:-@\\[-\\^`\\{-~]/;\n\tvar regexSingleEscape = /[ -,\\.\\/:-@\\[\\]\\^`\\{-~]/;\n\tvar regexExcessiveSpaces = /(^|\\\\+)?(\\\\[A-F0-9]{1,6})\\x20(?![a-fA-F0-9\\x20])/g;\n\tvar cssesc = function cssesc(string, options) {\n\t\toptions = merge(options, cssesc.options);\n\t\tif (options.quotes != \"single\" && options.quotes != \"double\") options.quotes = \"single\";\n\t\tvar quote = options.quotes == \"double\" ? \"\\\"\" : \"'\";\n\t\tvar isIdentifier = options.isIdentifier;\n\t\tvar firstChar = string.charAt(0);\n\t\tvar output = \"\";\n\t\tvar counter = 0;\n\t\tvar length = string.length;\n\t\twhile (counter < length) {\n\t\t\tvar character = string.charAt(counter++);\n\t\t\tvar codePoint = character.charCodeAt();\n\t\t\tvar value = void 0;\n\t\t\tif (codePoint < 32 || codePoint > 126) {\n\t\t\t\tif (codePoint >= 55296 && codePoint <= 56319 && counter < length) {\n\t\t\t\t\tvar extra = string.charCodeAt(counter++);\n\t\t\t\t\tif ((extra & 64512) == 56320) codePoint = ((codePoint & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\telse counter--;\n\t\t\t\t}\n\t\t\t\tvalue = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n\t\t\t} else if (options.escapeEverything) if (regexAnySingleEscape.test(character)) value = \"\\\\\" + character;\n\t\t\telse value = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n\t\t\telse if (/[\\t\\n\\f\\r\\x0B]/.test(character)) value = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n\t\t\telse if (character == \"\\\\\" || !isIdentifier && (character == \"\\\"\" && quote == character || character == \"'\" && quote == character) || isIdentifier && regexSingleEscape.test(character)) value = \"\\\\\" + character;\n\t\t\telse value = character;\n\t\t\toutput += value;\n\t\t}\n\t\tif (isIdentifier) {\n\t\t\tif (/^-[-\\d]/.test(output)) output = \"\\\\-\" + output.slice(1);\n\t\t\telse if (/\\d/.test(firstChar)) output = \"\\\\3\" + firstChar + \" \" + output.slice(1);\n\t\t}\n\t\toutput = output.replace(regexExcessiveSpaces, function($0, $1, $2) {\n\t\t\tif ($1 && $1.length % 2) return $0;\n\t\t\treturn ($1 || \"\") + $2;\n\t\t});\n\t\tif (!isIdentifier && options.wrap) return quote + output + quote;\n\t\treturn output;\n\t};\n\tcssesc.options = {\n\t\t\"escapeEverything\": false,\n\t\t\"isIdentifier\": false,\n\t\t\"quotes\": \"single\",\n\t\t\"wrap\": false\n\t};\n\tcssesc.version = \"3.0.0\";\n\tmodule.exports = cssesc;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js\nvar import_cssesc = /* @__PURE__ */ __toESM(require_cssesc());\nvar import_vanilla_extract_private_cjs = require_vanilla_extract_private_cjs();\nvar AhoCorasick = class {\n\tconstructor(keywords) {\n\t\tconst { failure, gotoFn, output } = this._buildTables(keywords);\n\t\tthis.gotoFn = gotoFn;\n\t\tthis.output = output;\n\t\tthis.failure = failure;\n\t}\n\t_buildTables(keywords) {\n\t\tconst gotoFn = { 0: {} };\n\t\tconst output = {};\n\t\tlet state = 0;\n\t\tfor (const word of keywords) {\n\t\t\tlet curr = 0;\n\t\t\tfor (const l of word) if (gotoFn[curr] && l in gotoFn[curr]) curr = gotoFn[curr][l];\n\t\t\telse {\n\t\t\t\tstate++;\n\t\t\t\tgotoFn[curr][l] = state;\n\t\t\t\tgotoFn[state] = {};\n\t\t\t\tcurr = state;\n\t\t\t\toutput[state] = [];\n\t\t\t}\n\t\t\toutput[curr].push(word);\n\t\t}\n\t\tconst failure = {};\n\t\tconst xs = [];\n\t\tfor (const l in gotoFn[0]) {\n\t\t\tconst state2 = gotoFn[0][l];\n\t\t\tfailure[state2] = 0;\n\t\t\txs.push(state2);\n\t\t}\n\t\twhile (xs.length > 0) {\n\t\t\tconst r = xs.shift();\n\t\t\tif (r !== void 0) for (const l in gotoFn[r]) {\n\t\t\t\tconst s = gotoFn[r][l];\n\t\t\t\txs.push(s);\n\t\t\t\tlet state2 = failure[r];\n\t\t\t\twhile (state2 > 0 && !(l in gotoFn[state2])) state2 = failure[state2];\n\t\t\t\tif (l in gotoFn[state2]) {\n\t\t\t\t\tconst fs = gotoFn[state2][l];\n\t\t\t\t\tfailure[s] = fs;\n\t\t\t\t\toutput[s] = [...output[s], ...output[fs]];\n\t\t\t\t} else failure[s] = 0;\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tgotoFn,\n\t\t\toutput,\n\t\t\tfailure\n\t\t};\n\t}\n\tsearch(str) {\n\t\tlet state = 0;\n\t\tconst results = [];\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\tconst l = str[i];\n\t\t\twhile (state > 0 && !(l in this.gotoFn[state])) state = this.failure[state];\n\t\t\tif (!(l in this.gotoFn[state])) continue;\n\t\t\tstate = this.gotoFn[state][l];\n\t\t\tif (this.output[state].length > 0) {\n\t\t\t\tconst foundStrs = this.output[state];\n\t\t\t\tresults.push([i, foundStrs]);\n\t\t\t}\n\t\t}\n\t\treturn results;\n\t}\n\tmatch(str) {\n\t\tlet state = 0;\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\tconst l = str[i];\n\t\t\twhile (state > 0 && !(l in this.gotoFn[state])) state = this.failure[state];\n\t\t\tif (!(l in this.gotoFn[state])) continue;\n\t\t\tstate = this.gotoFn[state][l];\n\t\t\tif (this.output[state].length > 0) return true;\n\t\t}\n\t\treturn false;\n\t}\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js\nvar mockAdapter = {\n\tappendCss: () => {},\n\tregisterClassName: () => {},\n\tonEndFileScope: () => {},\n\tregisterComposition: () => {},\n\tmarkCompositionUsed: () => {},\n\tgetIdentOption: () => process.env.NODE_ENV === \"production\" ? \"short\" : \"debug\"\n};\nvar adapterStack = [mockAdapter];\nvar currentAdapter = () => {\n\tif (adapterStack.length < 1) throw new Error(\"No adapter configured\");\n\treturn adapterStack[adapterStack.length - 1];\n};\nvar hasConfiguredAdapter = false;\nvar setAdapterIfNotSet = (newAdapter) => {\n\tif (!hasConfiguredAdapter) setAdapter(newAdapter);\n};\nvar setAdapter = (newAdapter) => {\n\tif (!newAdapter) throw new Error(\"No adapter provided when calling \\\"setAdapter\\\"\");\n\thasConfiguredAdapter = true;\n\tadapterStack.push(newAdapter);\n};\nvar appendCss = function appendCss() {\n\treturn currentAdapter().appendCss(...arguments);\n};\nvar registerClassName = function registerClassName() {\n\treturn currentAdapter().registerClassName(...arguments);\n};\nvar registerComposition = function registerComposition() {\n\treturn currentAdapter().registerComposition(...arguments);\n};\nvar markCompositionUsed = function markCompositionUsed() {\n\treturn currentAdapter().markCompositionUsed(...arguments);\n};\nvar getIdentOption = function getIdentOption() {\n\tvar adapter = currentAdapter();\n\tif (!(\"getIdentOption\" in adapter)) return process.env.NODE_ENV === \"production\" ? \"short\" : \"debug\";\n\treturn adapter.getIdentOption(...arguments);\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js\nfunction _taggedTemplateLiteral(strings, raw) {\n\tif (!raw) raw = strings.slice(0);\n\treturn Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } }));\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/types.js\nvar require_types = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.AttributeAction = exports.IgnoreCaseMode = exports.SelectorType = void 0;\n\t(function(SelectorType) {\n\t\tSelectorType[\"Attribute\"] = \"attribute\";\n\t\tSelectorType[\"Pseudo\"] = \"pseudo\";\n\t\tSelectorType[\"PseudoElement\"] = \"pseudo-element\";\n\t\tSelectorType[\"Tag\"] = \"tag\";\n\t\tSelectorType[\"Universal\"] = \"universal\";\n\t\tSelectorType[\"Adjacent\"] = \"adjacent\";\n\t\tSelectorType[\"Child\"] = \"child\";\n\t\tSelectorType[\"Descendant\"] = \"descendant\";\n\t\tSelectorType[\"Parent\"] = \"parent\";\n\t\tSelectorType[\"Sibling\"] = \"sibling\";\n\t\tSelectorType[\"ColumnCombinator\"] = \"column-combinator\";\n\t})(exports.SelectorType || (exports.SelectorType = {}));\n\t/**\n\t* Modes for ignore case.\n\t*\n\t* This could be updated to an enum, and the object is\n\t* the current stand-in that will allow code to be updated\n\t* without big changes.\n\t*/\n\texports.IgnoreCaseMode = {\n\t\tUnknown: null,\n\t\tQuirksMode: \"quirks\",\n\t\tIgnoreCase: true,\n\t\tCaseSensitive: false\n\t};\n\t(function(AttributeAction) {\n\t\tAttributeAction[\"Any\"] = \"any\";\n\t\tAttributeAction[\"Element\"] = \"element\";\n\t\tAttributeAction[\"End\"] = \"end\";\n\t\tAttributeAction[\"Equals\"] = \"equals\";\n\t\tAttributeAction[\"Exists\"] = \"exists\";\n\t\tAttributeAction[\"Hyphen\"] = \"hyphen\";\n\t\tAttributeAction[\"Not\"] = \"not\";\n\t\tAttributeAction[\"Start\"] = \"start\";\n\t})(exports.AttributeAction || (exports.AttributeAction = {}));\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/parse.js\nvar require_parse = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.parse = exports.isTraversal = void 0;\n\tvar types_1 = require_types();\n\tvar reName = /^[^\\\\#]?(?:\\\\(?:[\\da-f]{1,6}\\s?|.)|[\\w\\-\\u00b0-\\uFFFF])+/;\n\tvar reEscape = /\\\\([\\da-f]{1,6}\\s?|(\\s)|.)/gi;\n\tvar actionTypes = new Map([\n\t\t[126, types_1.AttributeAction.Element],\n\t\t[94, types_1.AttributeAction.Start],\n\t\t[36, types_1.AttributeAction.End],\n\t\t[42, types_1.AttributeAction.Any],\n\t\t[33, types_1.AttributeAction.Not],\n\t\t[124, types_1.AttributeAction.Hyphen]\n\t]);\n\tvar unpackPseudos = new Set([\n\t\t\"has\",\n\t\t\"not\",\n\t\t\"matches\",\n\t\t\"is\",\n\t\t\"where\",\n\t\t\"host\",\n\t\t\"host-context\"\n\t]);\n\t/**\n\t* Checks whether a specific selector is a traversal.\n\t* This is useful eg. in swapping the order of elements that\n\t* are not traversals.\n\t*\n\t* @param selector Selector to check.\n\t*/\n\tfunction isTraversal(selector) {\n\t\tswitch (selector.type) {\n\t\t\tcase types_1.SelectorType.Adjacent:\n\t\t\tcase types_1.SelectorType.Child:\n\t\t\tcase types_1.SelectorType.Descendant:\n\t\t\tcase types_1.SelectorType.Parent:\n\t\t\tcase types_1.SelectorType.Sibling:\n\t\t\tcase types_1.SelectorType.ColumnCombinator: return true;\n\t\t\tdefault: return false;\n\t\t}\n\t}\n\texports.isTraversal = isTraversal;\n\tvar stripQuotesFromPseudos = new Set([\"contains\", \"icontains\"]);\n\tfunction funescape(_, escaped, escapedWhitespace) {\n\t\tvar high = parseInt(escaped, 16) - 65536;\n\t\treturn high !== high || escapedWhitespace ? escaped : high < 0 ? String.fromCharCode(high + 65536) : String.fromCharCode(high >> 10 | 55296, high & 1023 | 56320);\n\t}\n\tfunction unescapeCSS(str) {\n\t\treturn str.replace(reEscape, funescape);\n\t}\n\tfunction isQuote(c) {\n\t\treturn c === 39 || c === 34;\n\t}\n\tfunction isWhitespace(c) {\n\t\treturn c === 32 || c === 9 || c === 10 || c === 12 || c === 13;\n\t}\n\t/**\n\t* Parses `selector`, optionally with the passed `options`.\n\t*\n\t* @param selector Selector to parse.\n\t* @param options Options for parsing.\n\t* @returns Returns a two-dimensional array.\n\t* The first dimension represents selectors separated by commas (eg. `sub1, sub2`),\n\t* the second contains the relevant tokens for that selector.\n\t*/\n\tfunction parse(selector) {\n\t\tvar subselects = [];\n\t\tvar endIndex = parseSelector(subselects, \"\".concat(selector), 0);\n\t\tif (endIndex < selector.length) throw new Error(\"Unmatched selector: \".concat(selector.slice(endIndex)));\n\t\treturn subselects;\n\t}\n\texports.parse = parse;\n\tfunction parseSelector(subselects, selector, selectorIndex) {\n\t\tvar tokens = [];\n\t\tfunction getName(offset) {\n\t\t\tvar match = selector.slice(selectorIndex + offset).match(reName);\n\t\t\tif (!match) throw new Error(\"Expected name, found \".concat(selector.slice(selectorIndex)));\n\t\t\tvar name = match[0];\n\t\t\tselectorIndex += offset + name.length;\n\t\t\treturn unescapeCSS(name);\n\t\t}\n\t\tfunction stripWhitespace(offset) {\n\t\t\tselectorIndex += offset;\n\t\t\twhile (selectorIndex < selector.length && isWhitespace(selector.charCodeAt(selectorIndex))) selectorIndex++;\n\t\t}\n\t\tfunction readValueWithParenthesis() {\n\t\t\tselectorIndex += 1;\n\t\t\tvar start = selectorIndex;\n\t\t\tvar counter = 1;\n\t\t\tfor (; counter > 0 && selectorIndex < selector.length; selectorIndex++) if (selector.charCodeAt(selectorIndex) === 40 && !isEscaped(selectorIndex)) counter++;\n\t\t\telse if (selector.charCodeAt(selectorIndex) === 41 && !isEscaped(selectorIndex)) counter--;\n\t\t\tif (counter) throw new Error(\"Parenthesis not matched\");\n\t\t\treturn unescapeCSS(selector.slice(start, selectorIndex - 1));\n\t\t}\n\t\tfunction isEscaped(pos) {\n\t\t\tvar slashCount = 0;\n\t\t\twhile (selector.charCodeAt(--pos) === 92) slashCount++;\n\t\t\treturn (slashCount & 1) === 1;\n\t\t}\n\t\tfunction ensureNotTraversal() {\n\t\t\tif (tokens.length > 0 && isTraversal(tokens[tokens.length - 1])) throw new Error(\"Did not expect successive traversals.\");\n\t\t}\n\t\tfunction addTraversal(type) {\n\t\t\tif (tokens.length > 0 && tokens[tokens.length - 1].type === types_1.SelectorType.Descendant) {\n\t\t\t\ttokens[tokens.length - 1].type = type;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tensureNotTraversal();\n\t\t\ttokens.push({ type });\n\t\t}\n\t\tfunction addSpecialAttribute(name, action) {\n\t\t\ttokens.push({\n\t\t\t\ttype: types_1.SelectorType.Attribute,\n\t\t\t\tname,\n\t\t\t\taction,\n\t\t\t\tvalue: getName(1),\n\t\t\t\tnamespace: null,\n\t\t\t\tignoreCase: \"quirks\"\n\t\t\t});\n\t\t}\n\t\t/**\n\t\t* We have finished parsing the current part of the selector.\n\t\t*\n\t\t* Remove descendant tokens at the end if they exist,\n\t\t* and return the last index, so that parsing can be\n\t\t* picked up from here.\n\t\t*/\n\t\tfunction finalizeSubselector() {\n\t\t\tif (tokens.length && tokens[tokens.length - 1].type === types_1.SelectorType.Descendant) tokens.pop();\n\t\t\tif (tokens.length === 0) throw new Error(\"Empty sub-selector\");\n\t\t\tsubselects.push(tokens);\n\t\t}\n\t\tstripWhitespace(0);\n\t\tif (selector.length === selectorIndex) return selectorIndex;\n\t\tloop: while (selectorIndex < selector.length) {\n\t\t\tvar firstChar = selector.charCodeAt(selectorIndex);\n\t\t\tswitch (firstChar) {\n\t\t\t\tcase 32:\n\t\t\t\tcase 9:\n\t\t\t\tcase 10:\n\t\t\t\tcase 12:\n\t\t\t\tcase 13:\n\t\t\t\t\tif (tokens.length === 0 || tokens[0].type !== types_1.SelectorType.Descendant) {\n\t\t\t\t\t\tensureNotTraversal();\n\t\t\t\t\t\ttokens.push({ type: types_1.SelectorType.Descendant });\n\t\t\t\t\t}\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 62:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Child);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 60:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Parent);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 126:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Sibling);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 43:\n\t\t\t\t\taddTraversal(types_1.SelectorType.Adjacent);\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 46:\n\t\t\t\t\taddSpecialAttribute(\"class\", types_1.AttributeAction.Element);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 35:\n\t\t\t\t\taddSpecialAttribute(\"id\", types_1.AttributeAction.Equals);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 91:\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tvar name_1 = void 0;\n\t\t\t\t\tvar namespace = null;\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 124) name_1 = getName(1);\n\t\t\t\t\telse if (selector.startsWith(\"*|\", selectorIndex)) {\n\t\t\t\t\t\tnamespace = \"*\";\n\t\t\t\t\t\tname_1 = getName(2);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tname_1 = getName(0);\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 124 && selector.charCodeAt(selectorIndex + 1) !== 61) {\n\t\t\t\t\t\t\tnamespace = name_1;\n\t\t\t\t\t\t\tname_1 = getName(1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tstripWhitespace(0);\n\t\t\t\t\tvar action = types_1.AttributeAction.Exists;\n\t\t\t\t\tvar possibleAction = actionTypes.get(selector.charCodeAt(selectorIndex));\n\t\t\t\t\tif (possibleAction) {\n\t\t\t\t\t\taction = possibleAction;\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) !== 61) throw new Error(\"Expected `=`\");\n\t\t\t\t\t\tstripWhitespace(2);\n\t\t\t\t\t} else if (selector.charCodeAt(selectorIndex) === 61) {\n\t\t\t\t\t\taction = types_1.AttributeAction.Equals;\n\t\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\t}\n\t\t\t\t\tvar value = \"\";\n\t\t\t\t\tvar ignoreCase = null;\n\t\t\t\t\tif (action !== \"exists\") {\n\t\t\t\t\t\tif (isQuote(selector.charCodeAt(selectorIndex))) {\n\t\t\t\t\t\t\tvar quote = selector.charCodeAt(selectorIndex);\n\t\t\t\t\t\t\tvar sectionEnd = selectorIndex + 1;\n\t\t\t\t\t\t\twhile (sectionEnd < selector.length && (selector.charCodeAt(sectionEnd) !== quote || isEscaped(sectionEnd))) sectionEnd += 1;\n\t\t\t\t\t\t\tif (selector.charCodeAt(sectionEnd) !== quote) throw new Error(\"Attribute value didn't end\");\n\t\t\t\t\t\t\tvalue = unescapeCSS(selector.slice(selectorIndex + 1, sectionEnd));\n\t\t\t\t\t\t\tselectorIndex = sectionEnd + 1;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar valueStart = selectorIndex;\n\t\t\t\t\t\t\twhile (selectorIndex < selector.length && (!isWhitespace(selector.charCodeAt(selectorIndex)) && selector.charCodeAt(selectorIndex) !== 93 || isEscaped(selectorIndex))) selectorIndex += 1;\n\t\t\t\t\t\t\tvalue = unescapeCSS(selector.slice(valueStart, selectorIndex));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstripWhitespace(0);\n\t\t\t\t\t\tvar forceIgnore = selector.charCodeAt(selectorIndex) | 32;\n\t\t\t\t\t\tif (forceIgnore === 115) {\n\t\t\t\t\t\t\tignoreCase = false;\n\t\t\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\t\t} else if (forceIgnore === 105) {\n\t\t\t\t\t\t\tignoreCase = true;\n\t\t\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) !== 93) throw new Error(\"Attribute selector didn't terminate\");\n\t\t\t\t\tselectorIndex += 1;\n\t\t\t\t\tvar attributeSelector = {\n\t\t\t\t\t\ttype: types_1.SelectorType.Attribute,\n\t\t\t\t\t\tname: name_1,\n\t\t\t\t\t\taction,\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\tnamespace,\n\t\t\t\t\t\tignoreCase\n\t\t\t\t\t};\n\t\t\t\t\ttokens.push(attributeSelector);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 58:\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) === 58) {\n\t\t\t\t\t\ttokens.push({\n\t\t\t\t\t\t\ttype: types_1.SelectorType.PseudoElement,\n\t\t\t\t\t\t\tname: getName(2).toLowerCase(),\n\t\t\t\t\t\t\tdata: selector.charCodeAt(selectorIndex) === 40 ? readValueWithParenthesis() : null\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tvar name_2 = getName(1).toLowerCase();\n\t\t\t\t\tvar data = null;\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 40) if (unpackPseudos.has(name_2)) {\n\t\t\t\t\t\tif (isQuote(selector.charCodeAt(selectorIndex + 1))) throw new Error(\"Pseudo-selector \".concat(name_2, \" cannot be quoted\"));\n\t\t\t\t\t\tdata = [];\n\t\t\t\t\t\tselectorIndex = parseSelector(data, selector, selectorIndex + 1);\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex) !== 41) throw new Error(\"Missing closing parenthesis in :\".concat(name_2, \" (\").concat(selector, \")\"));\n\t\t\t\t\t\tselectorIndex += 1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdata = readValueWithParenthesis();\n\t\t\t\t\t\tif (stripQuotesFromPseudos.has(name_2)) {\n\t\t\t\t\t\t\tvar quot = data.charCodeAt(0);\n\t\t\t\t\t\t\tif (quot === data.charCodeAt(data.length - 1) && isQuote(quot)) data = data.slice(1, -1);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdata = unescapeCSS(data);\n\t\t\t\t\t}\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype: types_1.SelectorType.Pseudo,\n\t\t\t\t\t\tname: name_2,\n\t\t\t\t\t\tdata\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t\tcase 44:\n\t\t\t\t\tfinalizeSubselector();\n\t\t\t\t\ttokens = [];\n\t\t\t\t\tstripWhitespace(1);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (selector.startsWith(\"/*\", selectorIndex)) {\n\t\t\t\t\t\tvar endIndex = selector.indexOf(\"*/\", selectorIndex + 2);\n\t\t\t\t\t\tif (endIndex < 0) throw new Error(\"Comment was not terminated\");\n\t\t\t\t\t\tselectorIndex = endIndex + 2;\n\t\t\t\t\t\tif (tokens.length === 0) stripWhitespace(0);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tvar namespace = null;\n\t\t\t\t\tvar name_3 = void 0;\n\t\t\t\t\tif (firstChar === 42) {\n\t\t\t\t\t\tselectorIndex += 1;\n\t\t\t\t\t\tname_3 = \"*\";\n\t\t\t\t\t} else if (firstChar === 124) {\n\t\t\t\t\t\tname_3 = \"\";\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) === 124) {\n\t\t\t\t\t\t\taddTraversal(types_1.SelectorType.ColumnCombinator);\n\t\t\t\t\t\t\tstripWhitespace(2);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (reName.test(selector.slice(selectorIndex))) name_3 = getName(0);\n\t\t\t\t\telse break loop;\n\t\t\t\t\tif (selector.charCodeAt(selectorIndex) === 124 && selector.charCodeAt(selectorIndex + 1) !== 124) {\n\t\t\t\t\t\tnamespace = name_3;\n\t\t\t\t\t\tif (selector.charCodeAt(selectorIndex + 1) === 42) {\n\t\t\t\t\t\t\tname_3 = \"*\";\n\t\t\t\t\t\t\tselectorIndex += 2;\n\t\t\t\t\t\t} else name_3 = getName(1);\n\t\t\t\t\t}\n\t\t\t\t\ttokens.push(name_3 === \"*\" ? {\n\t\t\t\t\t\ttype: types_1.SelectorType.Universal,\n\t\t\t\t\t\tnamespace\n\t\t\t\t\t} : {\n\t\t\t\t\t\ttype: types_1.SelectorType.Tag,\n\t\t\t\t\t\tname: name_3,\n\t\t\t\t\t\tnamespace\n\t\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tfinalizeSubselector();\n\t\treturn selectorIndex;\n\t}\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/stringify.js\nvar require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tvar __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {\n\t\tif (pack || arguments.length === 2) {\n\t\t\tfor (var i = 0, l = from.length, ar; i < l; i++) if (ar || !(i in from)) {\n\t\t\t\tif (!ar) ar = Array.prototype.slice.call(from, 0, i);\n\t\t\t\tar[i] = from[i];\n\t\t\t}\n\t\t}\n\t\treturn to.concat(ar || Array.prototype.slice.call(from));\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.stringify = void 0;\n\tvar types_1 = require_types();\n\tvar attribValChars = [\"\\\\\", \"\\\"\"];\n\tvar pseudoValChars = __spreadArray(__spreadArray([], attribValChars, true), [\"(\", \")\"], false);\n\tvar charsToEscapeInAttributeValue = new Set(attribValChars.map(function(c) {\n\t\treturn c.charCodeAt(0);\n\t}));\n\tvar charsToEscapeInPseudoValue = new Set(pseudoValChars.map(function(c) {\n\t\treturn c.charCodeAt(0);\n\t}));\n\tvar charsToEscapeInName = new Set(__spreadArray(__spreadArray([], pseudoValChars, true), [\n\t\t\"~\",\n\t\t\"^\",\n\t\t\"$\",\n\t\t\"*\",\n\t\t\"+\",\n\t\t\"!\",\n\t\t\"|\",\n\t\t\":\",\n\t\t\"[\",\n\t\t\"]\",\n\t\t\" \",\n\t\t\".\"\n\t], false).map(function(c) {\n\t\treturn c.charCodeAt(0);\n\t}));\n\t/**\n\t* Turns `selector` back into a string.\n\t*\n\t* @param selector Selector to stringify.\n\t*/\n\tfunction stringify(selector) {\n\t\treturn selector.map(function(token) {\n\t\t\treturn token.map(stringifyToken).join(\"\");\n\t\t}).join(\", \");\n\t}\n\texports.stringify = stringify;\n\tfunction stringifyToken(token, index, arr) {\n\t\tswitch (token.type) {\n\t\t\tcase types_1.SelectorType.Child: return index === 0 ? \"> \" : \" > \";\n\t\t\tcase types_1.SelectorType.Parent: return index === 0 ? \"< \" : \" < \";\n\t\t\tcase types_1.SelectorType.Sibling: return index === 0 ? \"~ \" : \" ~ \";\n\t\t\tcase types_1.SelectorType.Adjacent: return index === 0 ? \"+ \" : \" + \";\n\t\t\tcase types_1.SelectorType.Descendant: return \" \";\n\t\t\tcase types_1.SelectorType.ColumnCombinator: return index === 0 ? \"|| \" : \" || \";\n\t\t\tcase types_1.SelectorType.Universal: return token.namespace === \"*\" && index + 1 < arr.length && \"name\" in arr[index + 1] ? \"\" : \"\".concat(getNamespace(token.namespace), \"*\");\n\t\t\tcase types_1.SelectorType.Tag: return getNamespacedName(token);\n\t\t\tcase types_1.SelectorType.PseudoElement: return \"::\".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? \"\" : \"(\".concat(escapeName(token.data, charsToEscapeInPseudoValue), \")\"));\n\t\t\tcase types_1.SelectorType.Pseudo: return \":\".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? \"\" : \"(\".concat(typeof token.data === \"string\" ? escapeName(token.data, charsToEscapeInPseudoValue) : stringify(token.data), \")\"));\n\t\t\tcase types_1.SelectorType.Attribute:\n\t\t\t\tif (token.name === \"id\" && token.action === types_1.AttributeAction.Equals && token.ignoreCase === \"quirks\" && !token.namespace) return \"#\".concat(escapeName(token.value, charsToEscapeInName));\n\t\t\t\tif (token.name === \"class\" && token.action === types_1.AttributeAction.Element && token.ignoreCase === \"quirks\" && !token.namespace) return \".\".concat(escapeName(token.value, charsToEscapeInName));\n\t\t\t\tvar name_1 = getNamespacedName(token);\n\t\t\t\tif (token.action === types_1.AttributeAction.Exists) return \"[\".concat(name_1, \"]\");\n\t\t\t\treturn \"[\".concat(name_1).concat(getActionValue(token.action), \"=\\\"\").concat(escapeName(token.value, charsToEscapeInAttributeValue), \"\\\"\").concat(token.ignoreCase === null ? \"\" : token.ignoreCase ? \" i\" : \" s\", \"]\");\n\t\t}\n\t}\n\tfunction getActionValue(action) {\n\t\tswitch (action) {\n\t\t\tcase types_1.AttributeAction.Equals: return \"\";\n\t\t\tcase types_1.AttributeAction.Element: return \"~\";\n\t\t\tcase types_1.AttributeAction.Start: return \"^\";\n\t\t\tcase types_1.AttributeAction.End: return \"$\";\n\t\t\tcase types_1.AttributeAction.Any: return \"*\";\n\t\t\tcase types_1.AttributeAction.Not: return \"!\";\n\t\t\tcase types_1.AttributeAction.Hyphen: return \"|\";\n\t\t\tcase types_1.AttributeAction.Exists: throw new Error(\"Shouldn't be here\");\n\t\t}\n\t}\n\tfunction getNamespacedName(token) {\n\t\treturn \"\".concat(getNamespace(token.namespace)).concat(escapeName(token.name, charsToEscapeInName));\n\t}\n\tfunction getNamespace(namespace) {\n\t\treturn namespace !== null ? \"\".concat(namespace === \"*\" ? \"*\" : escapeName(namespace, charsToEscapeInName), \"|\") : \"\";\n\t}\n\tfunction escapeName(str, charsToEscape) {\n\t\tvar lastIdx = 0;\n\t\tvar ret = \"\";\n\t\tfor (var i = 0; i < str.length; i++) if (charsToEscape.has(str.charCodeAt(i))) {\n\t\t\tret += \"\".concat(str.slice(lastIdx, i), \"\\\\\").concat(str.charAt(i));\n\t\t\tlastIdx = i + 1;\n\t\t}\n\t\treturn ret.length > 0 ? ret + str.slice(lastIdx) : str;\n\t}\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/index.js\nvar require_commonjs = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tvar __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {\n\t\tif (k2 === void 0) k2 = k;\n\t\tvar desc = Object.getOwnPropertyDescriptor(m, k);\n\t\tif (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn m[k];\n\t\t\t}\n\t\t};\n\t\tObject.defineProperty(o, k2, desc);\n\t}) : (function(o, m, k, k2) {\n\t\tif (k2 === void 0) k2 = k;\n\t\to[k2] = m[k];\n\t}));\n\tvar __exportStar = exports && exports.__exportStar || function(m, exports$1) {\n\t\tfor (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.stringify = exports.parse = exports.isTraversal = void 0;\n\t__exportStar(require_types(), exports);\n\tvar parse_1 = require_parse();\n\tObject.defineProperty(exports, \"isTraversal\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn parse_1.isTraversal;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"parse\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn parse_1.parse;\n\t\t}\n\t});\n\tvar stringify_1 = require_stringify();\n\tObject.defineProperty(exports, \"stringify\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn stringify_1.stringify;\n\t\t}\n\t});\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/dedent@1.7.1/node_modules/dedent/dist/dedent.mjs\nvar import_commonjs = require_commonjs();\nfunction ownKeys$2(object, enumerableOnly) {\n\tvar keys = Object.keys(object);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar symbols = Object.getOwnPropertySymbols(object);\n\t\tenumerableOnly && (symbols = symbols.filter(function(sym) {\n\t\t\treturn Object.getOwnPropertyDescriptor(object, sym).enumerable;\n\t\t})), keys.push.apply(keys, symbols);\n\t}\n\treturn keys;\n}\nfunction _objectSpread(target) {\n\tfor (var i = 1; i < arguments.length; i++) {\n\t\tvar source = null != arguments[i] ? arguments[i] : {};\n\t\ti % 2 ? ownKeys$2(Object(source), !0).forEach(function(key) {\n\t\t\t_defineProperty$2(target, key, source[key]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function(key) {\n\t\t\tObject.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n\t\t});\n\t}\n\treturn target;\n}\nfunction _defineProperty$2(obj, key, value) {\n\tkey = _toPropertyKey(key);\n\tif (key in obj) Object.defineProperty(obj, key, {\n\t\tvalue,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\telse obj[key] = value;\n\treturn obj;\n}\nfunction _toPropertyKey(arg) {\n\tvar key = _toPrimitive(arg, \"string\");\n\treturn typeof key === \"symbol\" ? key : String(key);\n}\nfunction _toPrimitive(input, hint) {\n\tif (typeof input !== \"object\" || input === null) return input;\n\tvar prim = input[Symbol.toPrimitive];\n\tif (prim !== void 0) {\n\t\tvar res = prim.call(input, hint || \"default\");\n\t\tif (typeof res !== \"object\") return res;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (hint === \"string\" ? String : Number)(input);\n}\nconst dedent = createDedent({});\nvar dedent_default = dedent;\nfunction createDedent(options) {\n\tdedent.withOptions = (newOptions) => createDedent(_objectSpread(_objectSpread({}, options), newOptions));\n\treturn dedent;\n\tfunction dedent(strings, ...values) {\n\t\tconst raw = typeof strings === \"string\" ? [strings] : strings.raw;\n\t\tconst { alignValues = false, escapeSpecialCharacters = Array.isArray(strings), trimWhitespace = true } = options;\n\t\tlet result = \"\";\n\t\tfor (let i = 0; i < raw.length; i++) {\n\t\t\tlet next = raw[i];\n\t\t\tif (escapeSpecialCharacters) next = next.replace(/\\\\\\n[ \\t]*/g, \"\").replace(/\\\\`/g, \"`\").replace(/\\\\\\$/g, \"$\").replace(/\\\\\\{/g, \"{\");\n\t\t\tresult += next;\n\t\t\tif (i < values.length) {\n\t\t\t\tconst value = alignValues ? alignValue(values[i], result) : values[i];\n\t\t\t\tresult += value;\n\t\t\t}\n\t\t}\n\t\tconst lines = result.split(\"\\n\");\n\t\tlet mindent = null;\n\t\tfor (const l of lines) {\n\t\t\tconst m = l.match(/^(\\s+)\\S+/);\n\t\t\tif (m) {\n\t\t\t\tconst indent = m[1].length;\n\t\t\t\tif (!mindent) mindent = indent;\n\t\t\t\telse mindent = Math.min(mindent, indent);\n\t\t\t}\n\t\t}\n\t\tif (mindent !== null) {\n\t\t\tconst m = mindent;\n\t\t\tresult = lines.map((l) => l[0] === \" \" || l[0] === \"\t\" ? l.slice(m) : l).join(\"\\n\");\n\t\t}\n\t\tif (trimWhitespace) result = result.trim();\n\t\tif (escapeSpecialCharacters) result = result.replace(/\\\\n/g, \"\\n\");\n\t\tif (typeof Bun !== \"undefined\") result = result.replace(/\\\\u(?:\\{([\\da-fA-F]{1,6})\\}|([\\da-fA-F]{4}))/g, (_, braced, unbraced) => {\n\t\t\tvar _ref;\n\t\t\tconst hex = (_ref = braced !== null && braced !== void 0 ? braced : unbraced) !== null && _ref !== void 0 ? _ref : \"\";\n\t\t\treturn String.fromCodePoint(parseInt(hex, 16));\n\t\t});\n\t\treturn result;\n\t}\n}\n/**\n* Adjusts the indentation of a multi-line interpolated value to match the current line.\n*/\nfunction alignValue(value, precedingText) {\n\tif (typeof value !== \"string\" || !value.includes(\"\\n\")) return value;\n\tconst indentMatch = precedingText.slice(precedingText.lastIndexOf(\"\\n\") + 1).match(/^(\\s+)/);\n\tif (indentMatch) {\n\t\tconst indent = indentMatch[1];\n\t\treturn value.replace(/\\n/g, `\\n${indent}`);\n\t}\n\treturn value;\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/index.js\n/*! @license MediaQueryParser - MIT License - Tom Golden (github@tbjgolden.com) */\nvar require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t/*! *****************************************************************************\n\tCopyright (c) Microsoft Corporation.\n\t\n\tPermission to use, copy, modify, and/or distribute this software for any\n\tpurpose with or without fee is hereby granted.\n\t\n\tTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n\tREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n\tAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n\tINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n\tLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n\tOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n\tPERFORMANCE OF THIS SOFTWARE.\n\t***************************************************************************** */\n\tvar __assign = function() {\n\t\t__assign = Object.assign || function __assign(t) {\n\t\t\tfor (var s, i = 1, n = arguments.length; i < n; i++) {\n\t\t\t\ts = arguments[i];\n\t\t\t\tfor (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n\t\t\t}\n\t\t\treturn t;\n\t\t};\n\t\treturn __assign.apply(this, arguments);\n\t};\n\tfunction __rest(s, e) {\n\t\tvar t = {};\n\t\tfor (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n\t\tif (s != null && typeof Object.getOwnPropertySymbols === \"function\") {\n\t\t\tfor (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n\t\t}\n\t\treturn t;\n\t}\n\tfunction __values(o) {\n\t\tvar s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n\t\tif (m) return m.call(o);\n\t\tif (o && typeof o.length === \"number\") return { next: function() {\n\t\t\tif (o && i >= o.length) o = void 0;\n\t\t\treturn {\n\t\t\t\tvalue: o && o[i++],\n\t\t\t\tdone: !o\n\t\t\t};\n\t\t} };\n\t\tthrow new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n\t}\n\tfunction __read(o, n) {\n\t\tvar m = typeof Symbol === \"function\" && o[Symbol.iterator];\n\t\tif (!m) return o;\n\t\tvar i = m.call(o), r, ar = [], e;\n\t\ttry {\n\t\t\twhile ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n\t\t} catch (error) {\n\t\t\te = { error };\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (r && !r.done && (m = i[\"return\"])) m.call(i);\n\t\t\t} finally {\n\t\t\t\tif (e) throw e.error;\n\t\t\t}\n\t\t}\n\t\treturn ar;\n\t}\n\tvar weirdNewlines = /(\\u000D|\\u000C|\\u000D\\u000A)/g;\n\tvar nullOrSurrogates = /[\\u0000\\uD800-\\uDFFF]/g;\n\tvar commentRegex = /(\\/\\*)[\\s\\S]*?(\\*\\/)/g;\n\tvar lexicalAnalysis = function lexicalAnalysis(str, index) {\n\t\tif (index === void 0) index = 0;\n\t\tstr = str.replace(weirdNewlines, \"\\n\").replace(nullOrSurrogates, \"�\");\n\t\tstr = str.replace(commentRegex, \"\");\n\t\tvar tokens = [];\n\t\tfor (; index < str.length; index += 1) {\n\t\t\tvar code = str.charCodeAt(index);\n\t\t\tif (code === 9 || code === 32 || code === 10) {\n\t\t\t\tvar code_1 = str.charCodeAt(++index);\n\t\t\t\twhile (code_1 === 9 || code_1 === 32 || code_1 === 10) code_1 = str.charCodeAt(++index);\n\t\t\t\tindex -= 1;\n\t\t\t\ttokens.push({ type: \"<whitespace-token>\" });\n\t\t\t} else if (code === 34) {\n\t\t\t\tvar result = consumeString(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], value = _a[1];\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<string-token>\",\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else if (code === 35) {\n\t\t\t\tif (index + 1 < str.length) {\n\t\t\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\t\t\tif (nextCode === 95 || nextCode >= 65 && nextCode <= 90 || nextCode >= 97 && nextCode <= 122 || nextCode >= 128 || nextCode >= 48 && nextCode <= 57 || nextCode === 92 && index + 2 < str.length && str.charCodeAt(index + 2) !== 10) {\n\t\t\t\t\t\tvar flag = wouldStartIdentifier(str, index + 1) ? \"id\" : \"unrestricted\";\n\t\t\t\t\t\tvar result = consumeIdentUnsafe(str, index + 1);\n\t\t\t\t\t\tif (result !== null) {\n\t\t\t\t\t\t\tvar _b = __read(result, 2), lastIndex = _b[0], value = _b[1];\n\t\t\t\t\t\t\ttokens.push({\n\t\t\t\t\t\t\t\ttype: \"<hash-token>\",\n\t\t\t\t\t\t\t\tvalue: value.toLowerCase(),\n\t\t\t\t\t\t\t\tflag\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 39) {\n\t\t\t\tvar result = consumeString(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _c = __read(result, 2), lastIndex = _c[0], value = _c[1];\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<string-token>\",\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else if (code === 40) tokens.push({ type: \"<(-token>\" });\n\t\t\telse if (code === 41) tokens.push({ type: \"<)-token>\" });\n\t\t\telse if (code === 43) {\n\t\t\t\tvar plusNumeric = consumeNumeric(str, index);\n\t\t\t\tif (plusNumeric === null) tokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t\telse {\n\t\t\t\t\tvar _d = __read(plusNumeric, 2), lastIndex = _d[0], tokenTuple = _d[1];\n\t\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t\t});\n\t\t\t\t\telse tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t}\n\t\t\t} else if (code === 44) tokens.push({ type: \"<comma-token>\" });\n\t\t\telse if (code === 45) {\n\t\t\t\tvar minusNumeric = consumeNumeric(str, index);\n\t\t\t\tif (minusNumeric !== null) {\n\t\t\t\t\tvar _e = __read(minusNumeric, 2), lastIndex = _e[0], tokenTuple = _e[1];\n\t\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t\t});\n\t\t\t\t\telse tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (index + 2 < str.length) {\n\t\t\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\t\t\tvar nextNextCode = str.charCodeAt(index + 2);\n\t\t\t\t\tif (nextCode === 45 && nextNextCode === 62) {\n\t\t\t\t\t\ttokens.push({ type: \"<CDC-token>\" });\n\t\t\t\t\t\tindex += 2;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvar result = consumeIdentLike(str, index);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _f = __read(result, 3), lastIndex = _f[0], value = _f[1], type = _f[2];\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 46) {\n\t\t\t\tvar minusNumeric = consumeNumeric(str, index);\n\t\t\t\tif (minusNumeric === null) tokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t\telse {\n\t\t\t\t\tvar _g = __read(minusNumeric, 2), lastIndex = _g[0], tokenTuple = _g[1];\n\t\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t\t});\n\t\t\t\t\telse tokens.push({\n\t\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\t\tflag: \"number\"\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else if (code === 58) tokens.push({ type: \"<colon-token>\" });\n\t\t\telse if (code === 59) tokens.push({ type: \"<semicolon-token>\" });\n\t\t\telse if (code === 60) {\n\t\t\t\tif (index + 3 < str.length) {\n\t\t\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\t\t\tvar nextNextCode = str.charCodeAt(index + 2);\n\t\t\t\t\tvar nextNextNextCode = str.charCodeAt(index + 3);\n\t\t\t\t\tif (nextCode === 33 && nextNextCode === 45 && nextNextNextCode === 45) {\n\t\t\t\t\t\ttokens.push({ type: \"<CDO-token>\" });\n\t\t\t\t\t\tindex += 3;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 64) {\n\t\t\t\tvar result = consumeIdent(str, index + 1);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _h = __read(result, 2), lastIndex = _h[0], value = _h[1];\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype: \"<at-keyword-token>\",\n\t\t\t\t\t\tvalue: value.toLowerCase()\n\t\t\t\t\t});\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\t\tvalue: code\n\t\t\t\t});\n\t\t\t} else if (code === 91) tokens.push({ type: \"<[-token>\" });\n\t\t\telse if (code === 92) {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _j = __read(result, 2), lastIndex = _j[0], value = _j[1];\n\t\t\t\tstr = str.slice(0, index) + value + str.slice(lastIndex + 1);\n\t\t\t\tindex -= 1;\n\t\t\t} else if (code === 93) tokens.push({ type: \"<]-token>\" });\n\t\t\telse if (code === 123) tokens.push({ type: \"<{-token>\" });\n\t\t\telse if (code === 125) tokens.push({ type: \"<}-token>\" });\n\t\t\telse if (code >= 48 && code <= 57) {\n\t\t\t\tvar result = consumeNumeric(str, index);\n\t\t\t\tvar _k = __read(result, 2), lastIndex = _k[0], tokenTuple = _k[1];\n\t\t\t\tif (tokenTuple[0] === \"<dimension-token>\") tokens.push({\n\t\t\t\t\ttype: \"<dimension-token>\",\n\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\tunit: tokenTuple[2].toLowerCase(),\n\t\t\t\t\tflag: \"number\"\n\t\t\t\t});\n\t\t\t\telse if (tokenTuple[0] === \"<number-token>\") tokens.push({\n\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\tflag: tokenTuple[2]\n\t\t\t\t});\n\t\t\t\telse tokens.push({\n\t\t\t\t\ttype: tokenTuple[0],\n\t\t\t\t\tvalue: tokenTuple[1],\n\t\t\t\t\tflag: \"number\"\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else if (code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128) {\n\t\t\t\tvar result = consumeIdentLike(str, index);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _l = __read(result, 3), lastIndex = _l[0], value = _l[1], type = _l[2];\n\t\t\t\ttokens.push({\n\t\t\t\t\ttype,\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t\tindex = lastIndex;\n\t\t\t} else tokens.push({\n\t\t\t\ttype: \"<delim-token>\",\n\t\t\t\tvalue: code\n\t\t\t});\n\t\t}\n\t\ttokens.push({ type: \"<EOF-token>\" });\n\t\treturn tokens;\n\t};\n\tvar consumeString = function consumeString(str, index) {\n\t\tif (str.length <= index + 1) return null;\n\t\tvar firstCode = str.charCodeAt(index);\n\t\tvar charCodes = [];\n\t\tfor (var i = index + 1; i < str.length; i += 1) {\n\t\t\tvar code = str.charCodeAt(i);\n\t\t\tif (code === firstCode) return [i, String.fromCharCode.apply(null, charCodes)];\n\t\t\telse if (code === 92) {\n\t\t\t\tvar result = consumeEscape(str, i);\n\t\t\t\tif (result === null) return null;\n\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], charCode = _a[1];\n\t\t\t\tcharCodes.push(charCode);\n\t\t\t\ti = lastIndex;\n\t\t\t} else if (code === 10) return null;\n\t\t\telse charCodes.push(code);\n\t\t}\n\t\treturn null;\n\t};\n\tvar wouldStartIdentifier = function wouldStartIdentifier(str, index) {\n\t\tif (str.length <= index) return false;\n\t\tvar code = str.charCodeAt(index);\n\t\tif (code === 45) {\n\t\t\tif (str.length <= index + 1) return false;\n\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\tif (nextCode === 45 || nextCode === 95 || nextCode >= 65 && nextCode <= 90 || nextCode >= 97 && nextCode <= 122 || nextCode >= 128) return true;\n\t\t\telse if (nextCode === 92) {\n\t\t\t\tif (str.length <= index + 2) return false;\n\t\t\t\treturn str.charCodeAt(index + 2) !== 10;\n\t\t\t} else return false;\n\t\t} else if (code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128) return true;\n\t\telse if (code === 92) {\n\t\t\tif (str.length <= index + 1) return false;\n\t\t\tvar nextCode = str.charCodeAt(index + 1);\n\t\t\treturn nextCode !== 10;\n\t\t} else return false;\n\t};\n\tvar consumeEscape = function consumeEscape(str, index) {\n\t\tif (str.length <= index + 1) return null;\n\t\tif (str.charCodeAt(index) !== 92) return null;\n\t\tvar code = str.charCodeAt(index + 1);\n\t\tif (code === 10) return null;\n\t\telse if (code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102) {\n\t\t\tvar hexCharCodes = [code];\n\t\t\tvar min = Math.min(index + 7, str.length);\n\t\t\tvar i = index + 2;\n\t\t\tfor (; i < min; i += 1) {\n\t\t\t\tvar code_2 = str.charCodeAt(i);\n\t\t\t\tif (code_2 >= 48 && code_2 <= 57 || code_2 >= 65 && code_2 <= 70 || code_2 >= 97 && code_2 <= 102) hexCharCodes.push(code_2);\n\t\t\t\telse break;\n\t\t\t}\n\t\t\tif (i < str.length) {\n\t\t\t\tvar code_3 = str.charCodeAt(i);\n\t\t\t\tif (code_3 === 9 || code_3 === 32 || code_3 === 10) i += 1;\n\t\t\t}\n\t\t\treturn [i - 1, parseInt(String.fromCharCode.apply(null, hexCharCodes), 16)];\n\t\t} else return [index + 1, code];\n\t};\n\tvar consumeNumeric = function consumeNumeric(str, index) {\n\t\tvar numberResult = consumeNumber(str, index);\n\t\tif (numberResult === null) return null;\n\t\tvar _a = __read(numberResult, 3), numberEndIndex = _a[0], numberValue = _a[1], numberFlag = _a[2];\n\t\tvar identResult = consumeIdent(str, numberEndIndex + 1);\n\t\tif (identResult !== null) {\n\t\t\tvar _b = __read(identResult, 2);\n\t\t\treturn [_b[0], [\n\t\t\t\t\"<dimension-token>\",\n\t\t\t\tnumberValue,\n\t\t\t\t_b[1]\n\t\t\t]];\n\t\t}\n\t\tif (numberEndIndex + 1 < str.length && str.charCodeAt(numberEndIndex + 1) === 37) return [numberEndIndex + 1, [\"<percentage-token>\", numberValue]];\n\t\treturn [numberEndIndex, [\n\t\t\t\"<number-token>\",\n\t\t\tnumberValue,\n\t\t\tnumberFlag\n\t\t]];\n\t};\n\tvar consumeNumber = function consumeNumber(str, index) {\n\t\tif (str.length <= index) return null;\n\t\tvar flag = \"integer\";\n\t\tvar numberChars = [];\n\t\tvar firstCode = str.charCodeAt(index);\n\t\tif (firstCode === 43 || firstCode === 45) {\n\t\t\tindex += 1;\n\t\t\tif (firstCode === 45) numberChars.push(45);\n\t\t}\n\t\twhile (index < str.length) {\n\t\t\tvar code = str.charCodeAt(index);\n\t\t\tif (code >= 48 && code <= 57) {\n\t\t\t\tnumberChars.push(code);\n\t\t\t\tindex += 1;\n\t\t\t} else break;\n\t\t}\n\t\tif (index + 1 < str.length) {\n\t\t\tvar nextCode = str.charCodeAt(index);\n\t\t\tvar nextNextCode = str.charCodeAt(index + 1);\n\t\t\tif (nextCode === 46 && nextNextCode >= 48 && nextNextCode <= 57) {\n\t\t\t\tnumberChars.push(nextCode, nextNextCode);\n\t\t\t\tflag = \"number\";\n\t\t\t\tindex += 2;\n\t\t\t\twhile (index < str.length) {\n\t\t\t\t\tvar code = str.charCodeAt(index);\n\t\t\t\t\tif (code >= 48 && code <= 57) {\n\t\t\t\t\t\tnumberChars.push(code);\n\t\t\t\t\t\tindex += 1;\n\t\t\t\t\t} else break;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (index + 1 < str.length) {\n\t\t\tvar nextCode = str.charCodeAt(index);\n\t\t\tvar nextNextCode = str.charCodeAt(index + 1);\n\t\t\tvar nextNextNextCode = str.charCodeAt(index + 2);\n\t\t\tif (nextCode === 69 || nextCode === 101) {\n\t\t\t\tvar nextNextIsDigit = nextNextCode >= 48 && nextNextCode <= 57;\n\t\t\t\tif (nextNextIsDigit || (nextNextCode === 43 || nextNextCode === 45) && nextNextNextCode >= 48 && nextNextNextCode <= 57) {\n\t\t\t\t\tflag = \"number\";\n\t\t\t\t\tif (nextNextIsDigit) {\n\t\t\t\t\t\tnumberChars.push(69, nextNextCode);\n\t\t\t\t\t\tindex += 2;\n\t\t\t\t\t} else if (nextNextCode === 45) {\n\t\t\t\t\t\tnumberChars.push(69, 45, nextNextNextCode);\n\t\t\t\t\t\tindex += 3;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnumberChars.push(69, nextNextNextCode);\n\t\t\t\t\t\tindex += 3;\n\t\t\t\t\t}\n\t\t\t\t\twhile (index < str.length) {\n\t\t\t\t\t\tvar code = str.charCodeAt(index);\n\t\t\t\t\t\tif (code >= 48 && code <= 57) {\n\t\t\t\t\t\t\tnumberChars.push(code);\n\t\t\t\t\t\t\tindex += 1;\n\t\t\t\t\t\t} else break;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tvar numberString = String.fromCharCode.apply(null, numberChars);\n\t\tvar value = flag === \"number\" ? parseFloat(numberString) : parseInt(numberString);\n\t\tif (value === -0) value = 0;\n\t\treturn Number.isNaN(value) ? null : [\n\t\t\tindex - 1,\n\t\t\tvalue,\n\t\t\tflag\n\t\t];\n\t};\n\tvar consumeIdentUnsafe = function consumeIdentUnsafe(str, index) {\n\t\tif (str.length <= index) return null;\n\t\tvar identChars = [];\n\t\tfor (var code = str.charCodeAt(index); index < str.length; code = str.charCodeAt(++index)) {\n\t\t\tif (code === 45 || code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128 || code >= 48 && code <= 57) {\n\t\t\t\tidentChars.push(code);\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], code_4 = _a[1];\n\t\t\t\t\tidentChars.push(code_4);\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\treturn index === 0 ? null : [index - 1, String.fromCharCode.apply(null, identChars)];\n\t};\n\tvar consumeIdent = function consumeIdent(str, index) {\n\t\tif (str.length <= index || !wouldStartIdentifier(str, index)) return null;\n\t\tvar identChars = [];\n\t\tfor (var code = str.charCodeAt(index); index < str.length; code = str.charCodeAt(++index)) {\n\t\t\tif (code === 45 || code === 95 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 128 || code >= 48 && code <= 57) {\n\t\t\t\tidentChars.push(code);\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result !== null) {\n\t\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], code_5 = _a[1];\n\t\t\t\t\tidentChars.push(code_5);\n\t\t\t\t\tindex = lastIndex;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\treturn [index - 1, String.fromCharCode.apply(null, identChars)];\n\t};\n\tvar consumeUrl = function consumeUrl(str, index) {\n\t\tvar code = str.charCodeAt(index);\n\t\twhile (code === 9 || code === 32 || code === 10) code = str.charCodeAt(++index);\n\t\tvar urlChars = [];\n\t\tvar hasFinishedWord = false;\n\t\twhile (index < str.length) {\n\t\t\tif (code === 41) return [index, String.fromCharCode.apply(null, urlChars)];\n\t\t\telse if (code === 34 || code === 39 || code === 40) return null;\n\t\t\telse if (code === 9 || code === 32 || code === 10) {\n\t\t\t\tif (!hasFinishedWord && urlChars.length !== 0) hasFinishedWord = true;\n\t\t\t} else if (code === 92) {\n\t\t\t\tvar result = consumeEscape(str, index);\n\t\t\t\tif (result === null || hasFinishedWord) return null;\n\t\t\t\tvar _a = __read(result, 2), lastIndex = _a[0], value = _a[1];\n\t\t\t\turlChars.push(value);\n\t\t\t\tindex = lastIndex;\n\t\t\t} else {\n\t\t\t\tif (hasFinishedWord) return null;\n\t\t\t\turlChars.push(code);\n\t\t\t}\n\t\t\tcode = str.charCodeAt(++index);\n\t\t}\n\t\treturn null;\n\t};\n\tvar consumeIdentLike = function consumeIdentLike(str, index) {\n\t\tvar result = consumeIdent(str, index);\n\t\tif (result === null) return null;\n\t\tvar _a = __read(result, 2), lastIndex = _a[0], value = _a[1];\n\t\tif (value.toLowerCase() === \"url\") {\n\t\t\tif (str.length > lastIndex + 1) {\n\t\t\t\tvar nextCode = str.charCodeAt(lastIndex + 1);\n\t\t\t\tif (nextCode === 40) {\n\t\t\t\t\tfor (var offset = 2; lastIndex + offset < str.length; offset += 1) {\n\t\t\t\t\t\tvar nextNextCode = str.charCodeAt(lastIndex + offset);\n\t\t\t\t\t\tif (nextNextCode === 34 || nextNextCode === 39) return [\n\t\t\t\t\t\t\tlastIndex + 1,\n\t\t\t\t\t\t\tvalue.toLowerCase(),\n\t\t\t\t\t\t\t\"<function-token>\"\n\t\t\t\t\t\t];\n\t\t\t\t\t\telse if (nextNextCode !== 9 && nextNextCode !== 32 && nextNextCode !== 10) {\n\t\t\t\t\t\t\tvar result_1 = consumeUrl(str, lastIndex + offset);\n\t\t\t\t\t\t\tif (result_1 === null) return null;\n\t\t\t\t\t\t\tvar _b = __read(result_1, 2);\n\t\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\t\t_b[0],\n\t\t\t\t\t\t\t\t_b[1],\n\t\t\t\t\t\t\t\t\"<url-token>\"\n\t\t\t\t\t\t\t];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn [\n\t\t\t\t\t\tlastIndex + 1,\n\t\t\t\t\t\tvalue.toLowerCase(),\n\t\t\t\t\t\t\"<function-token>\"\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (str.length > lastIndex + 1) {\n\t\t\tvar nextCode = str.charCodeAt(lastIndex + 1);\n\t\t\tif (nextCode === 40) return [\n\t\t\t\tlastIndex + 1,\n\t\t\t\tvalue.toLowerCase(),\n\t\t\t\t\"<function-token>\"\n\t\t\t];\n\t\t}\n\t\treturn [\n\t\t\tlastIndex,\n\t\t\tvalue.toLowerCase(),\n\t\t\t\"<ident-token>\"\n\t\t];\n\t};\n\tvar simplifyAST = function simplifyAST(ast) {\n\t\tfor (var i = ast.length - 1; i >= 0; i--) ast[i] = simplifyMediaQuery(ast[i]);\n\t\treturn ast;\n\t};\n\tvar simplifyMediaQuery = function simplifyMediaQuery(mediaQuery) {\n\t\tif (mediaQuery.mediaCondition === null) return mediaQuery;\n\t\tvar mediaCondition = simplifyMediaCondition(mediaQuery.mediaCondition);\n\t\tif (mediaCondition.operator === null && mediaCondition.children.length === 1 && \"children\" in mediaCondition.children[0]) mediaCondition = mediaCondition.children[0];\n\t\treturn {\n\t\t\tmediaPrefix: mediaQuery.mediaPrefix,\n\t\t\tmediaType: mediaQuery.mediaType,\n\t\t\tmediaCondition\n\t\t};\n\t};\n\tvar simplifyMediaCondition = function simplifyMediaCondition(mediaCondition) {\n\t\tfor (var i = mediaCondition.children.length - 1; i >= 0; i--) {\n\t\t\tvar unsimplifiedChild = mediaCondition.children[i];\n\t\t\tif (!(\"context\" in unsimplifiedChild)) {\n\t\t\t\tvar child = simplifyMediaCondition(unsimplifiedChild);\n\t\t\t\tif (child.operator === null && child.children.length === 1) mediaCondition.children[i] = child.children[0];\n\t\t\t\telse if (child.operator === mediaCondition.operator && (child.operator === \"and\" || child.operator === \"or\")) {\n\t\t\t\t\tvar spliceArgs = [i, 1];\n\t\t\t\t\tfor (var i_1 = 0; i_1 < child.children.length; i_1++) spliceArgs.push(child.children[i_1]);\n\t\t\t\t\tmediaCondition.children.splice.apply(mediaCondition.children, spliceArgs);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn mediaCondition;\n\t};\n\tvar createError = function createError(message, err) {\n\t\tif (err instanceof Error) return new Error(\"\".concat(err.message.trim(), \"\\n\").concat(message.trim()));\n\t\telse return new Error(message.trim());\n\t};\n\tvar toAST = function toAST(str) {\n\t\treturn simplifyAST(toUnflattenedAST(str));\n\t};\n\tvar toUnflattenedAST = function toUnflattenedAST(str) {\n\t\tvar tokenList = lexicalAnalysis(str.trim());\n\t\tif (tokenList === null) throw createError(\"Failed tokenizing\");\n\t\tvar startIndex = 0;\n\t\tvar endIndex = tokenList.length - 1;\n\t\tif (tokenList[0].type === \"<at-keyword-token>\" && tokenList[0].value === \"media\") {\n\t\t\tif (tokenList[1].type !== \"<whitespace-token>\") throw createError(\"Expected whitespace after media\");\n\t\t\tstartIndex = 2;\n\t\t\tfor (var i = 2; i < tokenList.length - 1; i++) {\n\t\t\t\tvar token = tokenList[i];\n\t\t\t\tif (token.type === \"<{-token>\") {\n\t\t\t\t\tendIndex = i;\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (token.type === \"<semicolon-token>\") throw createError(\"Expected '{' in media query but found ';'\");\n\t\t\t}\n\t\t}\n\t\ttokenList = tokenList.slice(startIndex, endIndex);\n\t\treturn syntacticAnalysis(tokenList);\n\t};\n\tvar removeWhitespace = function removeWhitespace(tokenList) {\n\t\tvar newTokenList = [];\n\t\tvar before = false;\n\t\tfor (var i = 0; i < tokenList.length; i++) if (tokenList[i].type === \"<whitespace-token>\") {\n\t\t\tbefore = true;\n\t\t\tif (newTokenList.length > 0) newTokenList[newTokenList.length - 1].wsAfter = true;\n\t\t} else {\n\t\t\tnewTokenList.push(__assign(__assign({}, tokenList[i]), {\n\t\t\t\twsBefore: before,\n\t\t\t\twsAfter: false\n\t\t\t}));\n\t\t\tbefore = false;\n\t\t}\n\t\treturn newTokenList;\n\t};\n\tvar syntacticAnalysis = function syntacticAnalysis(tokenList) {\n\t\tvar e_1, _a;\n\t\tvar mediaQueryList = [[]];\n\t\tfor (var i = 0; i < tokenList.length; i++) {\n\t\t\tvar token = tokenList[i];\n\t\t\tif (token.type === \"<comma-token>\") mediaQueryList.push([]);\n\t\t\telse mediaQueryList[mediaQueryList.length - 1].push(token);\n\t\t}\n\t\tvar mediaQueries = mediaQueryList.map(removeWhitespace);\n\t\tif (mediaQueries.length === 1 && mediaQueries[0].length === 0) return [{\n\t\t\tmediaCondition: null,\n\t\t\tmediaPrefix: null,\n\t\t\tmediaType: \"all\"\n\t\t}];\n\t\telse {\n\t\t\tvar mediaQueryTokens = mediaQueries.map(function(mediaQueryTokens) {\n\t\t\t\tif (mediaQueryTokens.length === 0) return null;\n\t\t\t\telse return tokenizeMediaQuery(mediaQueryTokens);\n\t\t\t});\n\t\t\tvar nonNullMediaQueryTokens = [];\n\t\t\ttry {\n\t\t\t\tfor (var mediaQueryTokens_1 = __values(mediaQueryTokens), mediaQueryTokens_1_1 = mediaQueryTokens_1.next(); !mediaQueryTokens_1_1.done; mediaQueryTokens_1_1 = mediaQueryTokens_1.next()) {\n\t\t\t\t\tvar mediaQueryToken = mediaQueryTokens_1_1.value;\n\t\t\t\t\tif (mediaQueryToken !== null) nonNullMediaQueryTokens.push(mediaQueryToken);\n\t\t\t\t}\n\t\t\t} catch (e_1_1) {\n\t\t\t\te_1 = { error: e_1_1 };\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (mediaQueryTokens_1_1 && !mediaQueryTokens_1_1.done && (_a = mediaQueryTokens_1[\"return\"])) _a.call(mediaQueryTokens_1);\n\t\t\t\t} finally {\n\t\t\t\t\tif (e_1) throw e_1.error;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (nonNullMediaQueryTokens.length === 0) throw createError(\"No valid media queries\");\n\t\t\treturn nonNullMediaQueryTokens;\n\t\t}\n\t};\n\tvar tokenizeMediaQuery = function tokenizeMediaQuery(tokens) {\n\t\tvar firstToken = tokens[0];\n\t\tif (firstToken.type === \"<(-token>\") try {\n\t\t\treturn {\n\t\t\t\tmediaPrefix: null,\n\t\t\t\tmediaType: \"all\",\n\t\t\t\tmediaCondition: tokenizeMediaCondition(tokens, true)\n\t\t\t};\n\t\t} catch (err) {\n\t\t\tthrow createError(\"Expected media condition after '('\", err);\n\t\t}\n\t\telse if (firstToken.type === \"<ident-token>\") {\n\t\t\tvar mediaPrefix = null;\n\t\t\tvar mediaType = void 0;\n\t\t\tvar value = firstToken.value;\n\t\t\tif (value === \"only\" || value === \"not\") mediaPrefix = value;\n\t\t\tvar firstIndex = mediaPrefix === null ? 0 : 1;\n\t\t\tif (tokens.length <= firstIndex) throw createError(\"Expected extra token in media query\");\n\t\t\tvar firstNonUnaryToken = tokens[firstIndex];\n\t\t\tif (firstNonUnaryToken.type === \"<ident-token>\") {\n\t\t\t\tvar value_1 = firstNonUnaryToken.value;\n\t\t\t\tif (value_1 === \"all\") mediaType = \"all\";\n\t\t\t\telse if (value_1 === \"print\" || value_1 === \"screen\") mediaType = value_1;\n\t\t\t\telse if (value_1 === \"tty\" || value_1 === \"tv\" || value_1 === \"projection\" || value_1 === \"handheld\" || value_1 === \"braille\" || value_1 === \"embossed\" || value_1 === \"aural\" || value_1 === \"speech\") {\n\t\t\t\t\tmediaPrefix = mediaPrefix === \"not\" ? null : \"not\";\n\t\t\t\t\tmediaType = \"all\";\n\t\t\t\t} else throw createError(\"Unknown ident '\".concat(value_1, \"' in media query\"));\n\t\t\t} else if (mediaPrefix === \"not\" && firstNonUnaryToken.type === \"<(-token>\") {\n\t\t\t\tvar tokensWithParens = [{\n\t\t\t\t\ttype: \"<(-token>\",\n\t\t\t\t\twsBefore: false,\n\t\t\t\t\twsAfter: false\n\t\t\t\t}];\n\t\t\t\ttokensWithParens.push.apply(tokensWithParens, tokens);\n\t\t\t\ttokensWithParens.push({\n\t\t\t\t\ttype: \"<)-token>\",\n\t\t\t\t\twsBefore: false,\n\t\t\t\t\twsAfter: false\n\t\t\t\t});\n\t\t\t\ttry {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tmediaPrefix: null,\n\t\t\t\t\t\tmediaType: \"all\",\n\t\t\t\t\t\tmediaCondition: tokenizeMediaCondition(tokensWithParens, true)\n\t\t\t\t\t};\n\t\t\t\t} catch (err) {\n\t\t\t\t\tthrow createError(\"Expected media condition after '('\", err);\n\t\t\t\t}\n\t\t\t} else throw createError(\"Invalid media query\");\n\t\t\tif (firstIndex + 1 === tokens.length) return {\n\t\t\t\tmediaPrefix,\n\t\t\t\tmediaType,\n\t\t\t\tmediaCondition: null\n\t\t\t};\n\t\t\telse if (firstIndex + 4 < tokens.length) {\n\t\t\t\tvar secondNonUnaryToken = tokens[firstIndex + 1];\n\t\t\t\tif (secondNonUnaryToken.type === \"<ident-token>\" && secondNonUnaryToken.value === \"and\") try {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tmediaPrefix,\n\t\t\t\t\t\tmediaType,\n\t\t\t\t\t\tmediaCondition: tokenizeMediaCondition(tokens.slice(firstIndex + 2), false)\n\t\t\t\t\t};\n\t\t\t\t} catch (err) {\n\t\t\t\t\tthrow createError(\"Expected media condition after 'and'\", err);\n\t\t\t\t}\n\t\t\t\telse throw createError(\"Expected 'and' after media prefix\");\n\t\t\t} else throw createError(\"Expected media condition after media prefix\");\n\t\t} else throw createError(\"Expected media condition or media prefix\");\n\t};\n\tvar tokenizeMediaCondition = function tokenizeMediaCondition(tokens, mayContainOr, previousOperator) {\n\t\tif (previousOperator === void 0) previousOperator = null;\n\t\tif (tokens.length < 3 || tokens[0].type !== \"<(-token>\" || tokens[tokens.length - 1].type !== \"<)-token>\") throw new Error(\"Invalid media condition\");\n\t\tvar endIndexOfFirstFeature = tokens.length - 1;\n\t\tvar maxDepth = 0;\n\t\tvar count = 0;\n\t\tfor (var i = 0; i < tokens.length; i++) {\n\t\t\tvar token = tokens[i];\n\t\t\tif (token.type === \"<(-token>\") {\n\t\t\t\tcount += 1;\n\t\t\t\tmaxDepth = Math.max(maxDepth, count);\n\t\t\t} else if (token.type === \"<)-token>\") count -= 1;\n\t\t\tif (count === 0) {\n\t\t\t\tendIndexOfFirstFeature = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (count !== 0) throw new Error(\"Mismatched parens\\nInvalid media condition\");\n\t\tvar child;\n\t\tvar featureTokens = tokens.slice(0, endIndexOfFirstFeature + 1);\n\t\tif (maxDepth === 1) child = tokenizeMediaFeature(featureTokens);\n\t\telse if (featureTokens[1].type === \"<ident-token>\" && featureTokens[1].value === \"not\") child = tokenizeMediaCondition(featureTokens.slice(2, -1), true, \"not\");\n\t\telse child = tokenizeMediaCondition(featureTokens.slice(1, -1), true);\n\t\tif (endIndexOfFirstFeature === tokens.length - 1) return {\n\t\t\toperator: previousOperator,\n\t\t\tchildren: [child]\n\t\t};\n\t\telse {\n\t\t\tvar nextToken = tokens[endIndexOfFirstFeature + 1];\n\t\t\tif (nextToken.type !== \"<ident-token>\") throw new Error(\"Invalid operator\\nInvalid media condition\");\n\t\t\telse if (previousOperator !== null && previousOperator !== nextToken.value) throw new Error(\"'\".concat(nextToken.value, \"' and '\").concat(previousOperator, \"' must not be at same level\\nInvalid media condition\"));\n\t\t\telse if (nextToken.value === \"or\" && !mayContainOr) throw new Error(\"Cannot use 'or' at top level of a media query\\nInvalid media condition\");\n\t\t\telse if (nextToken.value !== \"and\" && nextToken.value !== \"or\") throw new Error(\"Invalid operator: '\".concat(nextToken.value, \"'\\nInvalid media condition\"));\n\t\t\tvar siblings = tokenizeMediaCondition(tokens.slice(endIndexOfFirstFeature + 2), mayContainOr, nextToken.value);\n\t\t\treturn {\n\t\t\t\toperator: nextToken.value,\n\t\t\t\tchildren: [child].concat(siblings.children)\n\t\t\t};\n\t\t}\n\t};\n\tvar tokenizeMediaFeature = function tokenizeMediaFeature(rawTokens) {\n\t\tif (rawTokens.length < 3 || rawTokens[0].type !== \"<(-token>\" || rawTokens[rawTokens.length - 1].type !== \"<)-token>\") throw new Error(\"Invalid media feature\");\n\t\tvar tokens = [rawTokens[0]];\n\t\tfor (var i = 1; i < rawTokens.length; i++) {\n\t\t\tif (i < rawTokens.length - 2) {\n\t\t\t\tvar a = rawTokens[i];\n\t\t\t\tvar b = rawTokens[i + 1];\n\t\t\t\tvar c = rawTokens[i + 2];\n\t\t\t\tif (a.type === \"<number-token>\" && a.value > 0 && b.type === \"<delim-token>\" && b.value === 47 && c.type === \"<number-token>\" && c.value > 0) {\n\t\t\t\t\ttokens.push({\n\t\t\t\t\t\ttype: \"<ratio-token>\",\n\t\t\t\t\t\tnumerator: a.value,\n\t\t\t\t\t\tdenominator: c.value,\n\t\t\t\t\t\twsBefore: a.wsBefore,\n\t\t\t\t\t\twsAfter: c.wsAfter\n\t\t\t\t\t});\n\t\t\t\t\ti += 2;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\ttokens.push(rawTokens[i]);\n\t\t}\n\t\tvar nextToken = tokens[1];\n\t\tif (nextToken.type === \"<ident-token>\" && tokens.length === 3) return {\n\t\t\tcontext: \"boolean\",\n\t\t\tfeature: nextToken.value\n\t\t};\n\t\telse if (tokens.length === 5 && tokens[1].type === \"<ident-token>\" && tokens[2].type === \"<colon-token>\") {\n\t\t\tvar valueToken = tokens[3];\n\t\t\tif (valueToken.type === \"<number-token>\" || valueToken.type === \"<dimension-token>\" || valueToken.type === \"<ratio-token>\" || valueToken.type === \"<ident-token>\") {\n\t\t\t\tvar feature = tokens[1].value;\n\t\t\t\tvar prefix = null;\n\t\t\t\tvar slice = feature.slice(0, 4);\n\t\t\t\tif (slice === \"min-\") {\n\t\t\t\t\tprefix = \"min\";\n\t\t\t\t\tfeature = feature.slice(4);\n\t\t\t\t} else if (slice === \"max-\") {\n\t\t\t\t\tprefix = \"max\";\n\t\t\t\t\tfeature = feature.slice(4);\n\t\t\t\t}\n\t\t\t\tvalueToken.wsBefore;\n\t\t\t\tvalueToken.wsAfter;\n\t\t\t\tvar value = __rest(valueToken, [\"wsBefore\", \"wsAfter\"]);\n\t\t\t\treturn {\n\t\t\t\t\tcontext: \"value\",\n\t\t\t\t\tprefix,\n\t\t\t\t\tfeature,\n\t\t\t\t\tvalue\n\t\t\t\t};\n\t\t\t}\n\t\t} else if (tokens.length >= 5) try {\n\t\t\tvar range = tokenizeRange(tokens);\n\t\t\treturn {\n\t\t\t\tcontext: \"range\",\n\t\t\t\tfeature: range.featureName,\n\t\t\t\trange\n\t\t\t};\n\t\t} catch (err) {\n\t\t\tthrow createError(\"Invalid media feature\", err);\n\t\t}\n\t\tthrow new Error(\"Invalid media feature\");\n\t};\n\tvar tokenizeRange = function tokenizeRange(tokens) {\n\t\tvar _a, _b, _c, _d;\n\t\tif (tokens.length < 5 || tokens[0].type !== \"<(-token>\" || tokens[tokens.length - 1].type !== \"<)-token>\") throw new Error(\"Invalid range\");\n\t\tvar range = {\n\t\t\tleftToken: null,\n\t\t\tleftOp: null,\n\t\t\tfeatureName: \"\",\n\t\t\trightOp: null,\n\t\t\trightToken: null\n\t\t};\n\t\tvar hasLeft = tokens[1].type === \"<number-token>\" || tokens[1].type === \"<dimension-token>\" || tokens[1].type === \"<ratio-token>\" || tokens[1].type === \"<ident-token>\" && tokens[1].value === \"infinite\";\n\t\tif (tokens[2].type === \"<delim-token>\") {\n\t\t\tif (tokens[2].value === 60) if (tokens[3].type === \"<delim-token>\" && tokens[3].value === 61 && !tokens[3].wsBefore) range[hasLeft ? \"leftOp\" : \"rightOp\"] = \"<=\";\n\t\t\telse range[hasLeft ? \"leftOp\" : \"rightOp\"] = \"<\";\n\t\t\telse if (tokens[2].value === 62) if (tokens[3].type === \"<delim-token>\" && tokens[3].value === 61 && !tokens[3].wsBefore) range[hasLeft ? \"leftOp\" : \"rightOp\"] = \">=\";\n\t\t\telse range[hasLeft ? \"leftOp\" : \"rightOp\"] = \">\";\n\t\t\telse if (tokens[2].value === 61) range[hasLeft ? \"leftOp\" : \"rightOp\"] = \"=\";\n\t\t\telse throw new Error(\"Invalid range\");\n\t\t\tif (hasLeft) range.leftToken = tokens[1];\n\t\t\telse if (tokens[1].type === \"<ident-token>\") range.featureName = tokens[1].value;\n\t\t\telse throw new Error(\"Invalid range\");\n\t\t\tvar tokenIndexAfterFirstOp = 2 + ((_b = (_a = range[hasLeft ? \"leftOp\" : \"rightOp\"]) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);\n\t\t\tvar tokenAfterFirstOp = tokens[tokenIndexAfterFirstOp];\n\t\t\tif (hasLeft) if (tokenAfterFirstOp.type === \"<ident-token>\") {\n\t\t\t\trange.featureName = tokenAfterFirstOp.value;\n\t\t\t\tif (tokens.length >= 7) {\n\t\t\t\t\tvar secondOpToken = tokens[tokenIndexAfterFirstOp + 1];\n\t\t\t\t\tvar followingToken = tokens[tokenIndexAfterFirstOp + 2];\n\t\t\t\t\tif (secondOpToken.type === \"<delim-token>\") {\n\t\t\t\t\t\tvar charCode = secondOpToken.value;\n\t\t\t\t\t\tif (charCode === 60) if (followingToken.type === \"<delim-token>\" && followingToken.value === 61 && !followingToken.wsBefore) range.rightOp = \"<=\";\n\t\t\t\t\t\telse range.rightOp = \"<\";\n\t\t\t\t\t\telse if (charCode === 62) if (followingToken.type === \"<delim-token>\" && followingToken.value === 61 && !followingToken.wsBefore) range.rightOp = \">=\";\n\t\t\t\t\t\telse range.rightOp = \">\";\n\t\t\t\t\t\telse throw new Error(\"Invalid range\");\n\t\t\t\t\t\trange.rightToken = tokens[tokenIndexAfterFirstOp + 1 + ((_d = (_c = range.rightOp) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0)];\n\t\t\t\t\t} else throw new Error(\"Invalid range\");\n\t\t\t\t} else if (tokenIndexAfterFirstOp + 2 !== tokens.length) throw new Error(\"Invalid range\");\n\t\t\t} else throw new Error(\"Invalid range\");\n\t\t\telse range.rightToken = tokenAfterFirstOp;\n\t\t\tvar validRange = null;\n\t\t\tvar lt = range.leftToken, leftOp = range.leftOp, featureName = range.featureName, rightOp = range.rightOp, rt = range.rightToken;\n\t\t\tvar leftToken = null;\n\t\t\tif (lt !== null) {\n\t\t\t\tif (lt.type === \"<ident-token>\") {\n\t\t\t\t\tvar type = lt.type, value = lt.value;\n\t\t\t\t\tif (value === \"infinite\") leftToken = {\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t};\n\t\t\t\t} else if (lt.type === \"<number-token>\" || lt.type === \"<dimension-token>\" || lt.type === \"<ratio-token>\") {\n\t\t\t\t\tlt.wsBefore;\n\t\t\t\t\tlt.wsAfter;\n\t\t\t\t\tleftToken = __rest(lt, [\"wsBefore\", \"wsAfter\"]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar rightToken = null;\n\t\t\tif (rt !== null) {\n\t\t\t\tif (rt.type === \"<ident-token>\") {\n\t\t\t\t\tvar type = rt.type, value = rt.value;\n\t\t\t\t\tif (value === \"infinite\") rightToken = {\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t};\n\t\t\t\t} else if (rt.type === \"<number-token>\" || rt.type === \"<dimension-token>\" || rt.type === \"<ratio-token>\") {\n\t\t\t\t\trt.wsBefore;\n\t\t\t\t\trt.wsAfter;\n\t\t\t\t\trightToken = __rest(rt, [\"wsBefore\", \"wsAfter\"]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (leftToken !== null && rightToken !== null) if ((leftOp === \"<\" || leftOp === \"<=\") && (rightOp === \"<\" || rightOp === \"<=\")) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\telse if ((leftOp === \">\" || leftOp === \">=\") && (rightOp === \">\" || rightOp === \">=\")) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\telse throw new Error(\"Invalid range\");\n\t\t\telse if (leftToken === null && leftOp === null && rightOp !== null && rightToken !== null) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\telse if (leftToken !== null && leftOp !== null && rightOp === null && rightToken === null) validRange = {\n\t\t\t\tleftToken,\n\t\t\t\tleftOp,\n\t\t\t\tfeatureName,\n\t\t\t\trightOp,\n\t\t\t\trightToken\n\t\t\t};\n\t\t\treturn validRange;\n\t\t} else throw new Error(\"Invalid range\");\n\t};\n\texports.toAST = toAST;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/transformCss-fd0786e1.esm.js\nvar import_dist = require_dist();\nfunction toPrimitive$1(t, r) {\n\tif (\"object\" != typeof t || !t) return t;\n\tvar e = t[Symbol.toPrimitive];\n\tif (void 0 !== e) {\n\t\tvar i = e.call(t, r || \"default\");\n\t\tif (\"object\" != typeof i) return i;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (\"string\" === r ? String : Number)(t);\n}\nfunction toPropertyKey$1(t) {\n\tvar i = toPrimitive$1(t, \"string\");\n\treturn \"symbol\" == typeof i ? i : String(i);\n}\nfunction _defineProperty$1(obj, key, value) {\n\tkey = toPropertyKey$1(key);\n\tif (key in obj) Object.defineProperty(obj, key, {\n\t\tvalue,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\telse obj[key] = value;\n\treturn obj;\n}\nfunction ownKeys$1(e, r) {\n\tvar t = Object.keys(e);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar o = Object.getOwnPropertySymbols(e);\n\t\tr && (o = o.filter(function(r) {\n\t\t\treturn Object.getOwnPropertyDescriptor(e, r).enumerable;\n\t\t})), t.push.apply(t, o);\n\t}\n\treturn t;\n}\nfunction _objectSpread2$1(e) {\n\tfor (var r = 1; r < arguments.length; r++) {\n\t\tvar t = null != arguments[r] ? arguments[r] : {};\n\t\tr % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {\n\t\t\t_defineProperty$1(e, r, t[r]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {\n\t\t\tObject.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n\t\t});\n\t}\n\treturn e;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n\tif (source == null) return {};\n\tvar target = {};\n\tvar sourceKeys = Object.keys(source);\n\tvar key, i;\n\tfor (i = 0; i < sourceKeys.length; i++) {\n\t\tkey = sourceKeys[i];\n\t\tif (excluded.indexOf(key) >= 0) continue;\n\t\ttarget[key] = source[key];\n\t}\n\treturn target;\n}\nfunction _objectWithoutProperties(source, excluded) {\n\tif (source == null) return {};\n\tvar target = _objectWithoutPropertiesLoose(source, excluded);\n\tvar key, i;\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\t\tfor (i = 0; i < sourceSymbolKeys.length; i++) {\n\t\t\tkey = sourceSymbolKeys[i];\n\t\t\tif (excluded.indexOf(key) >= 0) continue;\n\t\t\tif (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n\t\t\ttarget[key] = source[key];\n\t\t}\n\t}\n\treturn target;\n}\nfunction forEach(obj, fn) {\n\tfor (var _key in obj) fn(obj[_key], _key);\n}\nfunction omit(obj, omitKeys) {\n\tvar result = {};\n\tfor (var _key2 in obj) if (omitKeys.indexOf(_key2) === -1) result[_key2] = obj[_key2];\n\treturn result;\n}\nfunction mapKeys(obj, fn) {\n\tvar result = {};\n\tfor (var _key3 in obj) result[fn(obj[_key3], _key3)] = obj[_key3];\n\treturn result;\n}\nfunction composeStylesIntoSet(set) {\n\tfor (var _len = arguments.length, classNames = new Array(_len > 1 ? _len - 1 : 0), _key5 = 1; _key5 < _len; _key5++) classNames[_key5 - 1] = arguments[_key5];\n\tfor (var className of classNames) {\n\t\tif (className.length === 0) continue;\n\t\tif (typeof className === \"string\") if (className.includes(\" \")) composeStylesIntoSet(set, ...className.trim().split(\" \"));\n\t\telse set.add(className);\n\t\telse if (Array.isArray(className)) composeStylesIntoSet(set, ...className);\n\t}\n}\nfunction dedupeAndJoinClassList(classNames) {\n\tvar set = /* @__PURE__ */ new Set();\n\tcomposeStylesIntoSet(set, ...classNames);\n\treturn Array.from(set).join(\" \");\n}\nvar _templateObject$1;\nfunction escapeRegex(string) {\n\treturn string.replace(/[-/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\");\n}\nvar validateSelector = (selector, targetClassName) => {\n\tvar replaceTarget = () => {\n\t\tvar targetRegex = new RegExp(\".\".concat(escapeRegex((0, import_cssesc.default)(targetClassName, { isIdentifier: true }))), \"g\");\n\t\treturn selector.replace(targetRegex, \"&\");\n\t};\n\tvar selectorParts;\n\ttry {\n\t\tselectorParts = (0, import_commonjs.parse)(selector);\n\t} catch (err) {\n\t\tthrow new Error(\"Invalid selector: \".concat(replaceTarget()), { cause: err });\n\t}\n\tselectorParts.forEach((tokens) => {\n\t\ttry {\n\t\t\tfor (var i = tokens.length - 1; i >= -1; i--) {\n\t\t\t\tif (!tokens[i]) throw new Error();\n\t\t\t\tvar token = tokens[i];\n\t\t\t\tif (token.type === \"child\" || token.type === \"parent\" || token.type === \"sibling\" || token.type === \"adjacent\" || token.type === \"descendant\") throw new Error();\n\t\t\t\tif (token.type === \"attribute\" && token.name === \"class\" && token.value === targetClassName) return;\n\t\t\t}\n\t\t} catch (err) {\n\t\t\tthrow new Error(dedent_default(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral([\n\t\t\t\t\"\\n Invalid selector: \",\n\t\t\t\t\"\\n \\n Style selectors must target the '&' character (along with any modifiers), e.g. \",\n\t\t\t\t\" or \",\n\t\t\t\t\".\\n \\n This is to ensure that each style block only affects the styling of a single class.\\n \\n If your selector is targeting another class, you should move it to the style definition for that class, e.g. given we have styles for 'parent' and 'child' elements, instead of adding a selector of \",\n\t\t\t\t\") to 'parent', you should add \",\n\t\t\t\t\" to 'child').\\n \\n If your selector is targeting something global, use the 'globalStyle' function instead, e.g. if you wanted to write \",\n\t\t\t\t\", you should instead write 'globalStyle(\",\n\t\t\t\t\", { ... })'\\n \"\n\t\t\t])), replaceTarget(), \"`${parent} &`\", \"`${parent} &:hover`\", \"`& ${child}`\", \"`${parent} &`\", \"`& h1`\", \"`${parent} h1`\"), { cause: err });\n\t\t}\n\t});\n};\n/** e.g. @media screen and (min-width: 500px) */\nvar ConditionalRuleset = class ConditionalRuleset {\n\t/**\n\t* Stores information about where conditions must be in relation to other conditions\n\t*\n\t* e.g. mobile -> tablet, desktop\n\t*/\n\tconstructor() {\n\t\tthis.ruleset = /* @__PURE__ */ new Map();\n\t\tthis.precedenceLookup = /* @__PURE__ */ new Map();\n\t}\n\tfindOrCreateCondition(conditionQuery) {\n\t\tvar targetCondition = this.ruleset.get(conditionQuery);\n\t\tif (!targetCondition) {\n\t\t\ttargetCondition = {\n\t\t\t\tquery: conditionQuery,\n\t\t\t\trules: [],\n\t\t\t\tchildren: new ConditionalRuleset()\n\t\t\t};\n\t\t\tthis.ruleset.set(conditionQuery, targetCondition);\n\t\t}\n\t\treturn targetCondition;\n\t}\n\tgetConditionalRulesetByPath(conditionPath) {\n\t\tvar currRuleset = this;\n\t\tfor (var query of conditionPath) currRuleset = currRuleset.findOrCreateCondition(query).children;\n\t\treturn currRuleset;\n\t}\n\taddRule(rule, conditionQuery, conditionPath) {\n\t\tvar targetCondition = this.getConditionalRulesetByPath(conditionPath).findOrCreateCondition(conditionQuery);\n\t\tif (!targetCondition) throw new Error(\"Failed to add conditional rule\");\n\t\ttargetCondition.rules.push(rule);\n\t}\n\taddConditionPrecedence(conditionPath, conditionOrder) {\n\t\tvar ruleset = this.getConditionalRulesetByPath(conditionPath);\n\t\tfor (var i = 0; i < conditionOrder.length; i++) {\n\t\t\tvar _ruleset$precedenceLo;\n\t\t\tvar query = conditionOrder[i];\n\t\t\tvar conditionPrecedence = (_ruleset$precedenceLo = ruleset.precedenceLookup.get(query)) !== null && _ruleset$precedenceLo !== void 0 ? _ruleset$precedenceLo : /* @__PURE__ */ new Set();\n\t\t\tfor (var lowerPrecedenceCondition of conditionOrder.slice(i + 1)) conditionPrecedence.add(lowerPrecedenceCondition);\n\t\t\truleset.precedenceLookup.set(query, conditionPrecedence);\n\t\t}\n\t}\n\tisCompatible(incomingRuleset) {\n\t\tfor (var [condition, orderPrecedence] of this.precedenceLookup.entries()) for (var lowerPrecedenceCondition of orderPrecedence) {\n\t\t\tvar _incomingRuleset$prec;\n\t\t\tif ((_incomingRuleset$prec = incomingRuleset.precedenceLookup.get(lowerPrecedenceCondition)) !== null && _incomingRuleset$prec !== void 0 && _incomingRuleset$prec.has(condition)) return false;\n\t\t}\n\t\tfor (var { query, children } of incomingRuleset.ruleset.values()) {\n\t\t\tvar matchingCondition = this.ruleset.get(query);\n\t\t\tif (matchingCondition && !matchingCondition.children.isCompatible(children)) return false;\n\t\t}\n\t\treturn true;\n\t}\n\tmerge(incomingRuleset) {\n\t\tfor (var { query, rules, children } of incomingRuleset.ruleset.values()) {\n\t\t\tvar matchingCondition = this.ruleset.get(query);\n\t\t\tif (matchingCondition) {\n\t\t\t\tmatchingCondition.rules.push(...rules);\n\t\t\t\tmatchingCondition.children.merge(children);\n\t\t\t} else this.ruleset.set(query, {\n\t\t\t\tquery,\n\t\t\t\trules,\n\t\t\t\tchildren\n\t\t\t});\n\t\t}\n\t\tfor (var [condition, incomingOrderPrecedence] of incomingRuleset.precedenceLookup.entries()) {\n\t\t\tvar _this$precedenceLooku;\n\t\t\tvar orderPrecedence = (_this$precedenceLooku = this.precedenceLookup.get(condition)) !== null && _this$precedenceLooku !== void 0 ? _this$precedenceLooku : /* @__PURE__ */ new Set();\n\t\t\tthis.precedenceLookup.set(condition, new Set([...orderPrecedence, ...incomingOrderPrecedence]));\n\t\t}\n\t}\n\t/**\n\t* Merge another ConditionalRuleset into this one if they are compatible\n\t*\n\t* @returns true if successful, false if the ruleset is incompatible\n\t*/\n\tmergeIfCompatible(incomingRuleset) {\n\t\tif (!this.isCompatible(incomingRuleset)) return false;\n\t\tthis.merge(incomingRuleset);\n\t\treturn true;\n\t}\n\tgetSortedRuleset() {\n\t\tvar _this = this;\n\t\tvar sortedRuleset = [];\n\t\tvar _loop = function _loop(dependents) {\n\t\t\tvar conditionForQuery = _this.ruleset.get(query);\n\t\t\tif (!conditionForQuery) throw new Error(\"Can't find condition for \".concat(query));\n\t\t\tvar firstMatchingDependent = sortedRuleset.findIndex((condition) => dependents.has(condition.query));\n\t\t\tif (firstMatchingDependent > -1) sortedRuleset.splice(firstMatchingDependent, 0, conditionForQuery);\n\t\t\telse sortedRuleset.push(conditionForQuery);\n\t\t};\n\t\tfor (var [query, dependents] of this.precedenceLookup.entries()) _loop(dependents);\n\t\treturn sortedRuleset;\n\t}\n\trenderToArray() {\n\t\tvar arr = [];\n\t\tfor (var { query, rules, children } of this.getSortedRuleset()) {\n\t\t\tvar selectors = {};\n\t\t\tfor (var rule of rules) selectors[rule.selector] = _objectSpread2$1(_objectSpread2$1({}, selectors[rule.selector]), rule.rule);\n\t\t\tObject.assign(selectors, ...children.renderToArray());\n\t\t\tarr.push({ [query]: selectors });\n\t\t}\n\t\treturn arr;\n\t}\n};\nvar simplePseudoMap = {\n\t\":-moz-any-link\": true,\n\t\":-moz-full-screen\": true,\n\t\":-moz-placeholder\": true,\n\t\":-moz-read-only\": true,\n\t\":-moz-read-write\": true,\n\t\":-ms-fullscreen\": true,\n\t\":-ms-input-placeholder\": true,\n\t\":-webkit-any-link\": true,\n\t\":-webkit-full-screen\": true,\n\t\"::-moz-color-swatch\": true,\n\t\"::-moz-list-bullet\": true,\n\t\"::-moz-list-number\": true,\n\t\"::-moz-page-sequence\": true,\n\t\"::-moz-page\": true,\n\t\"::-moz-placeholder\": true,\n\t\"::-moz-progress-bar\": true,\n\t\"::-moz-range-progress\": true,\n\t\"::-moz-range-thumb\": true,\n\t\"::-moz-range-track\": true,\n\t\"::-moz-scrolled-page-sequence\": true,\n\t\"::-moz-selection\": true,\n\t\"::-ms-backdrop\": true,\n\t\"::-ms-browse\": true,\n\t\"::-ms-check\": true,\n\t\"::-ms-clear\": true,\n\t\"::-ms-fill-lower\": true,\n\t\"::-ms-fill-upper\": true,\n\t\"::-ms-fill\": true,\n\t\"::-ms-reveal\": true,\n\t\"::-ms-thumb\": true,\n\t\"::-ms-ticks-after\": true,\n\t\"::-ms-ticks-before\": true,\n\t\"::-ms-tooltip\": true,\n\t\"::-ms-track\": true,\n\t\"::-ms-value\": true,\n\t\"::-webkit-backdrop\": true,\n\t\"::-webkit-calendar-picker-indicator\": true,\n\t\"::-webkit-inner-spin-button\": true,\n\t\"::-webkit-input-placeholder\": true,\n\t\"::-webkit-meter-bar\": true,\n\t\"::-webkit-meter-even-less-good-value\": true,\n\t\"::-webkit-meter-inner-element\": true,\n\t\"::-webkit-meter-optimum-value\": true,\n\t\"::-webkit-meter-suboptimum-value\": true,\n\t\"::-webkit-outer-spin-button\": true,\n\t\"::-webkit-progress-bar\": true,\n\t\"::-webkit-progress-inner-element\": true,\n\t\"::-webkit-progress-inner-value\": true,\n\t\"::-webkit-progress-value\": true,\n\t\"::-webkit-resizer\": true,\n\t\"::-webkit-scrollbar-button\": true,\n\t\"::-webkit-scrollbar-corner\": true,\n\t\"::-webkit-scrollbar-thumb\": true,\n\t\"::-webkit-scrollbar-track-piece\": true,\n\t\"::-webkit-scrollbar-track\": true,\n\t\"::-webkit-scrollbar\": true,\n\t\"::-webkit-search-cancel-button\": true,\n\t\"::-webkit-search-results-button\": true,\n\t\"::-webkit-slider-runnable-track\": true,\n\t\"::-webkit-slider-thumb\": true,\n\t\"::after\": true,\n\t\"::backdrop\": true,\n\t\"::before\": true,\n\t\"::cue\": true,\n\t\"::file-selector-button\": true,\n\t\"::first-letter\": true,\n\t\"::first-line\": true,\n\t\"::grammar-error\": true,\n\t\"::marker\": true,\n\t\"::placeholder\": true,\n\t\"::selection\": true,\n\t\"::spelling-error\": true,\n\t\"::target-text\": true,\n\t\"::view-transition-group\": true,\n\t\"::view-transition-image-pair\": true,\n\t\"::view-transition-new\": true,\n\t\"::view-transition-old\": true,\n\t\"::view-transition\": true,\n\t\":active\": true,\n\t\":after\": true,\n\t\":any-link\": true,\n\t\":before\": true,\n\t\":blank\": true,\n\t\":checked\": true,\n\t\":default\": true,\n\t\":defined\": true,\n\t\":disabled\": true,\n\t\":empty\": true,\n\t\":enabled\": true,\n\t\":first-child\": true,\n\t\":first-letter\": true,\n\t\":first-line\": true,\n\t\":first-of-type\": true,\n\t\":first\": true,\n\t\":focus-visible\": true,\n\t\":focus-within\": true,\n\t\":focus\": true,\n\t\":fullscreen\": true,\n\t\":hover\": true,\n\t\":in-range\": true,\n\t\":indeterminate\": true,\n\t\":invalid\": true,\n\t\":last-child\": true,\n\t\":last-of-type\": true,\n\t\":left\": true,\n\t\":link\": true,\n\t\":only-child\": true,\n\t\":only-of-type\": true,\n\t\":optional\": true,\n\t\":out-of-range\": true,\n\t\":placeholder-shown\": true,\n\t\":read-only\": true,\n\t\":read-write\": true,\n\t\":required\": true,\n\t\":right\": true,\n\t\":root\": true,\n\t\":scope\": true,\n\t\":target\": true,\n\t\":valid\": true,\n\t\":visited\": true\n};\nvar simplePseudos = Object.keys(simplePseudoMap);\nvar simplePseudoLookup = simplePseudoMap;\nvar _templateObject$2;\nvar createMediaQueryError = (mediaQuery, msg) => new Error(dedent_default(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral([\n\t\"\\n Invalid media query: \\\"\",\n\t\"\\\"\\n\\n \",\n\t\"\\n\\n Read more on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries\\n \"\n])), mediaQuery, msg));\nvar validateMediaQuery = (mediaQuery) => {\n\tif (mediaQuery === \"@media \") throw createMediaQueryError(mediaQuery, \"Query is empty\");\n\ttry {\n\t\t(0, import_dist.toAST)(mediaQuery);\n\t} catch (e) {\n\t\tthrow createMediaQueryError(mediaQuery, e.message);\n\t}\n};\nvar _excluded$1 = [\"vars\"], _excluded2 = [\"content\"];\nvar DECLARATION = \"__DECLARATION\";\nvar UNITLESS = {\n\tanimationIterationCount: true,\n\tborderImage: true,\n\tborderImageOutset: true,\n\tborderImageSlice: true,\n\tborderImageWidth: true,\n\tboxFlex: true,\n\tboxFlexGroup: true,\n\tcolumnCount: true,\n\tcolumns: true,\n\tflex: true,\n\tflexGrow: true,\n\tflexShrink: true,\n\tfontWeight: true,\n\tgridArea: true,\n\tgridColumn: true,\n\tgridColumnEnd: true,\n\tgridColumnStart: true,\n\tgridRow: true,\n\tgridRowEnd: true,\n\tgridRowStart: true,\n\tinitialLetter: true,\n\tlineClamp: true,\n\tlineHeight: true,\n\tmaxLines: true,\n\topacity: true,\n\torder: true,\n\torphans: true,\n\tscale: true,\n\ttabSize: true,\n\tWebkitLineClamp: true,\n\twidows: true,\n\tzIndex: true,\n\tzoom: true,\n\tfillOpacity: true,\n\tfloodOpacity: true,\n\tmaskBorder: true,\n\tmaskBorderOutset: true,\n\tmaskBorderSlice: true,\n\tmaskBorderWidth: true,\n\tshapeImageThreshold: true,\n\tstopOpacity: true,\n\tstrokeDashoffset: true,\n\tstrokeMiterlimit: true,\n\tstrokeOpacity: true,\n\tstrokeWidth: true\n};\nfunction dashify(str) {\n\treturn str.replace(/([A-Z])/g, \"-$1\").replace(/^ms-/, \"-ms-\").toLowerCase();\n}\nfunction replaceBetweenIndexes(target, startIndex, endIndex, replacement) {\n\tvar start = target.slice(0, startIndex);\n\tvar end = target.slice(endIndex);\n\treturn \"\".concat(start).concat(replacement).concat(end);\n}\nvar DOUBLE_SPACE = \" \";\nvar specialKeys = [\n\t...simplePseudos,\n\t\"@layer\",\n\t\"@media\",\n\t\"@supports\",\n\t\"@container\",\n\t\"@starting-style\",\n\t\"selectors\"\n];\nvar Stylesheet = class {\n\tconstructor(localClassNames, composedClassLists) {\n\t\tthis.rules = [];\n\t\tthis.conditionalRulesets = [new ConditionalRuleset()];\n\t\tthis.fontFaceRules = [];\n\t\tthis.keyframesRules = [];\n\t\tthis.propertyRules = [];\n\t\tthis.localClassNamesMap = new Map(localClassNames.map((localClassName) => [localClassName, localClassName]));\n\t\tthis.localClassNamesSearch = new AhoCorasick(localClassNames);\n\t\tthis.layers = /* @__PURE__ */ new Map();\n\t\tthis.composedClassLists = composedClassLists.map((_ref) => {\n\t\t\tvar { identifier, classList } = _ref;\n\t\t\treturn {\n\t\t\t\tidentifier,\n\t\t\t\tregex: RegExp(\"(\".concat(classList, \")\"), \"g\")\n\t\t\t};\n\t\t}).reverse();\n\t}\n\tprocessCssObj(root) {\n\t\tif (root.type === \"fontFace\") {\n\t\t\tthis.fontFaceRules.push(root.rule);\n\t\t\treturn;\n\t\t}\n\t\tif (root.type === \"property\") {\n\t\t\tthis.propertyRules.push(root);\n\t\t\treturn;\n\t\t}\n\t\tif (root.type === \"keyframes\") {\n\t\t\troot.rule = Object.fromEntries(Object.entries(root.rule).map((_ref2) => {\n\t\t\t\tvar [keyframe, rule] = _ref2;\n\t\t\t\treturn [keyframe, this.transformVars(this.transformProperties(rule))];\n\t\t\t}));\n\t\t\tthis.keyframesRules.push(root);\n\t\t\treturn;\n\t\t}\n\t\tthis.currConditionalRuleset = new ConditionalRuleset();\n\t\tif (root.type === \"layer\") {\n\t\t\tvar layerDefinition = \"@layer \".concat(root.name);\n\t\t\tthis.addLayer([layerDefinition]);\n\t\t} else {\n\t\t\tvar mainRule = omit(root.rule, specialKeys);\n\t\t\tthis.addRule({\n\t\t\t\tselector: root.selector,\n\t\t\t\trule: mainRule\n\t\t\t});\n\t\t\tthis.transformLayer(root, root.rule[\"@layer\"]);\n\t\t\tthis.transformMedia(root, root.rule[\"@media\"]);\n\t\t\tthis.transformSupports(root, root.rule[\"@supports\"]);\n\t\t\tthis.transformContainer(root, root.rule[\"@container\"]);\n\t\t\tthis.transformStartingStyle(root, root.rule[\"@starting-style\"]);\n\t\t\tthis.transformSimplePseudos(root, root.rule);\n\t\t\tthis.transformSelectors(root, root.rule);\n\t\t}\n\t\tif (!this.conditionalRulesets[this.conditionalRulesets.length - 1].mergeIfCompatible(this.currConditionalRuleset)) this.conditionalRulesets.push(this.currConditionalRuleset);\n\t}\n\taddConditionalRule(cssRule, conditions) {\n\t\tvar rule = this.transformVars(this.transformProperties(cssRule.rule));\n\t\tvar selector = this.transformSelector(cssRule.selector);\n\t\tif (!this.currConditionalRuleset) throw new Error(\"Couldn't add conditional rule\");\n\t\tvar conditionQuery = conditions[conditions.length - 1];\n\t\tvar parentConditions = conditions.slice(0, conditions.length - 1);\n\t\tthis.currConditionalRuleset.addRule({\n\t\t\tselector,\n\t\t\trule\n\t\t}, conditionQuery, parentConditions);\n\t}\n\taddRule(cssRule) {\n\t\tvar rule = this.transformVars(this.transformProperties(cssRule.rule));\n\t\tvar selector = this.transformSelector(cssRule.selector);\n\t\tthis.rules.push({\n\t\t\tselector,\n\t\t\trule\n\t\t});\n\t}\n\taddLayer(layer) {\n\t\tvar uniqueLayerKey = layer.join(\" - \");\n\t\tthis.layers.set(uniqueLayerKey, layer);\n\t}\n\ttransformProperties(cssRule) {\n\t\treturn this.transformContent(this.pixelifyProperties(cssRule));\n\t}\n\tpixelifyProperties(cssRule) {\n\t\tforEach(cssRule, (value, key) => {\n\t\t\tif (typeof value === \"number\" && value !== 0 && !UNITLESS[key]) cssRule[key] = \"\".concat(value, \"px\");\n\t\t});\n\t\treturn cssRule;\n\t}\n\ttransformVars(_ref3) {\n\t\tvar { vars } = _ref3, rest = _objectWithoutProperties(_ref3, _excluded$1);\n\t\tif (!vars) return rest;\n\t\treturn _objectSpread2$1(_objectSpread2$1({}, mapKeys(vars, (_value, key) => (0, import_vanilla_extract_private_cjs.getVarName)(key))), rest);\n\t}\n\ttransformContent(_ref4) {\n\t\tvar { content } = _ref4, rest = _objectWithoutProperties(_ref4, _excluded2);\n\t\tif (typeof content === \"undefined\") return rest;\n\t\treturn _objectSpread2$1({ content: (Array.isArray(content) ? content : [content]).map((value) => value && (value.includes(\"\\\"\") || value.includes(\"'\") || /^([A-Za-z-]+\\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)(\\s|$)/.test(value)) ? value : \"\\\"\".concat(value, \"\\\"\")) }, rest);\n\t}\n\ttransformClassname(identifier) {\n\t\treturn \".\".concat((0, import_cssesc.default)(identifier, { isIdentifier: true }));\n\t}\n\ttransformSelector(selector) {\n\t\tvar transformedSelector = selector;\n\t\tvar _loop = function _loop(identifier) {\n\t\t\ttransformedSelector = transformedSelector.replace(regex, () => {\n\t\t\t\tmarkCompositionUsed(identifier);\n\t\t\t\treturn identifier;\n\t\t\t});\n\t\t};\n\t\tfor (var { identifier, regex } of this.composedClassLists) _loop(identifier);\n\t\tif (this.localClassNamesMap.has(transformedSelector)) return this.transformClassname(transformedSelector);\n\t\tvar results = this.localClassNamesSearch.search(transformedSelector);\n\t\tvar lastReplaceIndex = transformedSelector.length;\n\t\tfor (var i = results.length - 1; i >= 0; i--) {\n\t\t\tvar [endIndex, [firstMatch]] = results[i];\n\t\t\tvar startIndex = endIndex - firstMatch.length + 1;\n\t\t\tif (lastReplaceIndex <= endIndex) continue;\n\t\t\tlastReplaceIndex = startIndex;\n\t\t\tif (transformedSelector[startIndex - 1] !== \".\") transformedSelector = replaceBetweenIndexes(transformedSelector, startIndex, endIndex + 1, this.transformClassname(firstMatch));\n\t\t}\n\t\treturn transformedSelector;\n\t}\n\ttransformSelectors(root, rule, conditions) {\n\t\tforEach(rule.selectors, (selectorRule, selector) => {\n\t\t\tif (root.type !== \"local\") throw new Error(\"Selectors are not allowed within \".concat(root.type === \"global\" ? \"\\\"globalStyle\\\"\" : \"\\\"selectors\\\"\"));\n\t\t\tvar transformedSelector = this.transformSelector(selector.replace(RegExp(\"&\", \"g\"), root.selector));\n\t\t\tvalidateSelector(transformedSelector, root.selector);\n\t\t\tvar rule = {\n\t\t\t\tselector: transformedSelector,\n\t\t\t\trule: omit(selectorRule, specialKeys)\n\t\t\t};\n\t\t\tif (conditions) this.addConditionalRule(rule, conditions);\n\t\t\telse this.addRule(rule);\n\t\t\tvar selectorRoot = {\n\t\t\t\ttype: \"selector\",\n\t\t\t\tselector: transformedSelector,\n\t\t\t\trule: selectorRule\n\t\t\t};\n\t\t\tthis.transformLayer(selectorRoot, selectorRule[\"@layer\"], conditions);\n\t\t\tthis.transformSupports(selectorRoot, selectorRule[\"@supports\"], conditions);\n\t\t\tthis.transformMedia(selectorRoot, selectorRule[\"@media\"], conditions);\n\t\t\tthis.transformContainer(selectorRoot, selectorRule[\"@container\"], conditions);\n\t\t\tthis.transformStartingStyle(selectorRoot, selectorRule[\"@starting-style\"], conditions);\n\t\t});\n\t}\n\ttransformMedia(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional;\n\t\t\t(_this$currConditional = this.currConditionalRuleset) === null || _this$currConditional === void 0 || _this$currConditional.addConditionPrecedence(parentConditions, Object.keys(rules).map((query) => \"@media \".concat(query)));\n\t\t\tfor (var [query, mediaRule] of Object.entries(rules)) {\n\t\t\t\tvar mediaQuery = \"@media \".concat(query);\n\t\t\t\tvalidateMediaQuery(mediaQuery);\n\t\t\t\tvar conditions = [...parentConditions, mediaQuery];\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(mediaRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, mediaRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, mediaRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformLayer(root, mediaRule[\"@layer\"], conditions);\n\t\t\t\tthis.transformSupports(root, mediaRule[\"@supports\"], conditions);\n\t\t\t\tthis.transformContainer(root, mediaRule[\"@container\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, mediaRule[\"@starting-style\"], conditions);\n\t\t\t}\n\t\t}\n\t}\n\ttransformContainer(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional2;\n\t\t\t(_this$currConditional2 = this.currConditionalRuleset) === null || _this$currConditional2 === void 0 || _this$currConditional2.addConditionPrecedence(parentConditions, Object.keys(rules).map((query) => \"@container \".concat(query)));\n\t\t\tforEach(rules, (containerRule, query) => {\n\t\t\t\tvar containerQuery = \"@container \".concat(query);\n\t\t\t\tvar conditions = [...parentConditions, containerQuery];\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(containerRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, containerRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, containerRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformLayer(root, containerRule[\"@layer\"], conditions);\n\t\t\t\tthis.transformSupports(root, containerRule[\"@supports\"], conditions);\n\t\t\t\tthis.transformMedia(root, containerRule[\"@media\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, containerRule[\"@starting-style\"], conditions);\n\t\t\t});\n\t\t}\n\t}\n\ttransformLayer(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional3;\n\t\t\t(_this$currConditional3 = this.currConditionalRuleset) === null || _this$currConditional3 === void 0 || _this$currConditional3.addConditionPrecedence(parentConditions, Object.keys(rules).map((name) => \"@layer \".concat(name)));\n\t\t\tforEach(rules, (layerRule, name) => {\n\t\t\t\tvar conditions = [...parentConditions, \"@layer \".concat(name)];\n\t\t\t\tthis.addLayer(conditions);\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(layerRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, layerRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, layerRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformMedia(root, layerRule[\"@media\"], conditions);\n\t\t\t\tthis.transformSupports(root, layerRule[\"@supports\"], conditions);\n\t\t\t\tthis.transformContainer(root, layerRule[\"@container\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, layerRule[\"@starting-style\"], conditions);\n\t\t\t});\n\t\t}\n\t}\n\ttransformSupports(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional4;\n\t\t\t(_this$currConditional4 = this.currConditionalRuleset) === null || _this$currConditional4 === void 0 || _this$currConditional4.addConditionPrecedence(parentConditions, Object.keys(rules).map((query) => \"@supports \".concat(query)));\n\t\t\tforEach(rules, (supportsRule, query) => {\n\t\t\t\tvar conditions = [...parentConditions, \"@supports \".concat(query)];\n\t\t\t\tthis.addConditionalRule({\n\t\t\t\t\tselector: root.selector,\n\t\t\t\t\trule: omit(supportsRule, specialKeys)\n\t\t\t\t}, conditions);\n\t\t\t\tif (root.type === \"local\") {\n\t\t\t\t\tthis.transformSimplePseudos(root, supportsRule, conditions);\n\t\t\t\t\tthis.transformSelectors(root, supportsRule, conditions);\n\t\t\t\t}\n\t\t\t\tthis.transformLayer(root, supportsRule[\"@layer\"], conditions);\n\t\t\t\tthis.transformMedia(root, supportsRule[\"@media\"], conditions);\n\t\t\t\tthis.transformContainer(root, supportsRule[\"@container\"], conditions);\n\t\t\t\tthis.transformStartingStyle(root, supportsRule[\"@starting-style\"], conditions);\n\t\t\t});\n\t\t}\n\t}\n\ttransformSimplePseudos(root, rule, conditions) {\n\t\tfor (var key of Object.keys(rule)) if (simplePseudoLookup[key]) {\n\t\t\tif (root.type !== \"local\") throw new Error(\"Simple pseudos are not valid in \".concat(root.type === \"global\" ? \"\\\"globalStyle\\\"\" : \"\\\"selectors\\\"\"));\n\t\t\tif (conditions) this.addConditionalRule({\n\t\t\t\tselector: \"\".concat(root.selector).concat(key),\n\t\t\t\trule: rule[key]\n\t\t\t}, conditions);\n\t\t\telse this.addRule({\n\t\t\t\tconditions,\n\t\t\t\tselector: \"\".concat(root.selector).concat(key),\n\t\t\t\trule: rule[key]\n\t\t\t});\n\t\t}\n\t}\n\ttransformStartingStyle(root, rules) {\n\t\tvar parentConditions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n\t\tif (rules) {\n\t\t\tvar _this$currConditional5;\n\t\t\tvar nestedAtRuleKey = Object.keys(rules).find((key) => key.startsWith(\"@\"));\n\t\t\tif (nestedAtRuleKey) throw new Error(\"Nested at-rules (e.g. \\\"\".concat(nestedAtRuleKey, \"\\\") are not allowed inside @starting-style.\"));\n\t\t\t(_this$currConditional5 = this.currConditionalRuleset) === null || _this$currConditional5 === void 0 || _this$currConditional5.addConditionPrecedence(parentConditions, [\"@starting-style\"]);\n\t\t\tvar conditions = [...parentConditions, \"@starting-style\"];\n\t\t\tthis.addConditionalRule({\n\t\t\t\tselector: root.selector,\n\t\t\t\trule: omit(rules, specialKeys)\n\t\t\t}, conditions);\n\t\t\tif (root.type === \"local\") {\n\t\t\t\tthis.transformSimplePseudos(root, rules, conditions);\n\t\t\t\tthis.transformSelectors(root, rules, conditions);\n\t\t\t}\n\t\t}\n\t}\n\ttoCss() {\n\t\tvar css = [];\n\t\tfor (var fontFaceRule of this.fontFaceRules) css.push(renderCss({ \"@font-face\": fontFaceRule }));\n\t\tfor (var property of this.propertyRules) css.push(renderCss({ [\"@property \".concat(property.name)]: property.rule }));\n\t\tfor (var keyframe of this.keyframesRules) css.push(renderCss({ [\"@keyframes \".concat(keyframe.name)]: keyframe.rule }));\n\t\tfor (var layer of this.layers.values()) {\n\t\t\tvar [definition, ...nesting] = layer.reverse();\n\t\t\tvar cssObj = { [definition]: DECLARATION };\n\t\t\tfor (var part of nesting) cssObj = { [part]: cssObj };\n\t\t\tcss.push(renderCss(cssObj));\n\t\t}\n\t\tfor (var rule of this.rules) css.push(renderCss({ [rule.selector]: rule.rule }));\n\t\tfor (var conditionalRuleset of this.conditionalRulesets) for (var conditionalRule of conditionalRuleset.renderToArray()) css.push(renderCss(conditionalRule));\n\t\treturn css.filter(Boolean);\n\t}\n};\nfunction renderCss(v) {\n\tvar indent = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : \"\";\n\tvar rules = [];\n\tvar _loop2 = function _loop2(key) {\n\t\tvar value = v[key];\n\t\tif (value && Array.isArray(value)) rules.push(...value.map((v) => renderCss({ [key]: v }, indent)));\n\t\telse if (value && typeof value === \"object\") {\n\t\t\tif (!(Object.keys(value).length === 0)) rules.push(\"\".concat(indent).concat(key, \" {\\n\").concat(renderCss(value, indent + DOUBLE_SPACE), \"\\n\").concat(indent, \"}\"));\n\t\t} else if (value === DECLARATION) rules.push(\"\".concat(indent).concat(key, \";\"));\n\t\telse rules.push(\"\".concat(indent).concat(key.startsWith(\"--\") ? key : dashify(key), \": \").concat(value, \";\"));\n\t};\n\tfor (var key of Object.keys(v)) _loop2(key);\n\treturn rules.join(\"\\n\");\n}\nfunction transformCss(_ref5) {\n\tvar { localClassNames, cssObjs, composedClassLists } = _ref5;\n\tvar stylesheet = new Stylesheet(localClassNames, composedClassLists);\n\tfor (var root of cssObjs) stylesheet.processCssObj(root);\n\treturn stylesheet.toCss();\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js\nfunction murmur2(str) {\n\tvar h = 0;\n\tvar k, i = 0, len = str.length;\n\tfor (; len >= 4; ++i, len -= 4) {\n\t\tk = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;\n\t\tk = (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);\n\t\tk ^= k >>> 24;\n\t\th = (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);\n\t}\n\tswitch (len) {\n\t\tcase 3: h ^= (str.charCodeAt(i + 2) & 255) << 16;\n\t\tcase 2: h ^= (str.charCodeAt(i + 1) & 255) << 8;\n\t\tcase 1:\n\t\t\th ^= str.charCodeAt(i) & 255;\n\t\t\th = (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);\n\t}\n\th ^= h >>> 13;\n\th = (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);\n\treturn ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js\nvar _templateObject;\nvar refCounter = 0;\nvar fileScopes = [];\nfunction hasFileScope() {\n\treturn fileScopes.length > 0;\n}\nfunction getFileScope() {\n\tif (fileScopes.length === 0) throw new Error(dedent_default(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n Styles were unable to be assigned to a file. This is generally caused by one of the following:\\n\\n - You may have created styles outside of a '.css.ts' context\\n - You may have incorrect configuration. See https://vanilla-extract.style/documentation/getting-started\\n \"]))));\n\treturn fileScopes[0];\n}\nfunction getAndIncrementRefCounter() {\n\treturn refCounter++;\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js\n/**\n* @module LRUCache\n*/\nconst perf = typeof performance === \"object\" && performance && typeof performance.now === \"function\" ? performance : Date;\nconst warned = /* @__PURE__ */ new Set();\n/* c8 ignore start */\nconst PROCESS = typeof process === \"object\" && !!process ? process : {};\n/* c8 ignore start */\nconst emitWarning = (msg, type, code, fn) => {\n\ttypeof PROCESS.emitWarning === \"function\" ? PROCESS.emitWarning(msg, type, code, fn) : console.error(`[${code}] ${type}: ${msg}`);\n};\nlet AC = globalThis.AbortController;\nlet AS = globalThis.AbortSignal;\n/* c8 ignore start */\nif (typeof AC === \"undefined\") {\n\tAS = class AbortSignal {\n\t\tonabort;\n\t\t_onabort = [];\n\t\treason;\n\t\taborted = false;\n\t\taddEventListener(_, fn) {\n\t\t\tthis._onabort.push(fn);\n\t\t}\n\t};\n\tAC = class AbortController {\n\t\tconstructor() {\n\t\t\twarnACPolyfill();\n\t\t}\n\t\tsignal = new AS();\n\t\tabort(reason) {\n\t\t\tif (this.signal.aborted) return;\n\t\t\tthis.signal.reason = reason;\n\t\t\tthis.signal.aborted = true;\n\t\t\tfor (const fn of this.signal._onabort) fn(reason);\n\t\t\tthis.signal.onabort?.(reason);\n\t\t}\n\t};\n\tlet printACPolyfillWarning = PROCESS.env?.LRU_CACHE_IGNORE_AC_WARNING !== \"1\";\n\tconst warnACPolyfill = () => {\n\t\tif (!printACPolyfillWarning) return;\n\t\tprintACPolyfillWarning = false;\n\t\temitWarning(\"AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.\", \"NO_ABORT_CONTROLLER\", \"ENOTSUP\", warnACPolyfill);\n\t};\n}\n/* c8 ignore stop */\nconst shouldWarn = (code) => !warned.has(code);\nconst isPosInt = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n);\n/* c8 ignore start */\nconst getUintArray = (max) => !isPosInt(max) ? null : max <= Math.pow(2, 8) ? Uint8Array : max <= Math.pow(2, 16) ? Uint16Array : max <= Math.pow(2, 32) ? Uint32Array : max <= Number.MAX_SAFE_INTEGER ? ZeroArray : null;\n/* c8 ignore stop */\nvar ZeroArray = class extends Array {\n\tconstructor(size) {\n\t\tsuper(size);\n\t\tthis.fill(0);\n\t}\n};\nvar Stack = class Stack {\n\theap;\n\tlength;\n\tstatic #constructing = false;\n\tstatic create(max) {\n\t\tconst HeapCls = getUintArray(max);\n\t\tif (!HeapCls) return [];\n\t\tStack.#constructing = true;\n\t\tconst s = new Stack(max, HeapCls);\n\t\tStack.#constructing = false;\n\t\treturn s;\n\t}\n\tconstructor(max, HeapCls) {\n\t\t/* c8 ignore start */\n\t\tif (!Stack.#constructing) throw new TypeError(\"instantiate Stack using Stack.create(n)\");\n\t\t/* c8 ignore stop */\n\t\tthis.heap = new HeapCls(max);\n\t\tthis.length = 0;\n\t}\n\tpush(n) {\n\t\tthis.heap[this.length++] = n;\n\t}\n\tpop() {\n\t\treturn this.heap[--this.length];\n\t}\n};\n/**\n* Default export, the thing you're using this module to get.\n*\n* The `K` and `V` types define the key and value types, respectively. The\n* optional `FC` type defines the type of the `context` object passed to\n* `cache.fetch()` and `cache.memo()`.\n*\n* Keys and values **must not** be `null` or `undefined`.\n*\n* All properties from the options object (with the exception of `max`,\n* `maxSize`, `fetchMethod`, `memoMethod`, `dispose` and `disposeAfter`) are\n* added as normal public members. (The listed options are read-only getters.)\n*\n* Changing any of these will alter the defaults for subsequent method calls.\n*/\nvar LRUCache = class LRUCache {\n\t#max;\n\t#maxSize;\n\t#dispose;\n\t#disposeAfter;\n\t#fetchMethod;\n\t#memoMethod;\n\t/**\n\t* {@link LRUCache.OptionsBase.ttl}\n\t*/\n\tttl;\n\t/**\n\t* {@link LRUCache.OptionsBase.ttlResolution}\n\t*/\n\tttlResolution;\n\t/**\n\t* {@link LRUCache.OptionsBase.ttlAutopurge}\n\t*/\n\tttlAutopurge;\n\t/**\n\t* {@link LRUCache.OptionsBase.updateAgeOnGet}\n\t*/\n\tupdateAgeOnGet;\n\t/**\n\t* {@link LRUCache.OptionsBase.updateAgeOnHas}\n\t*/\n\tupdateAgeOnHas;\n\t/**\n\t* {@link LRUCache.OptionsBase.allowStale}\n\t*/\n\tallowStale;\n\t/**\n\t* {@link LRUCache.OptionsBase.noDisposeOnSet}\n\t*/\n\tnoDisposeOnSet;\n\t/**\n\t* {@link LRUCache.OptionsBase.noUpdateTTL}\n\t*/\n\tnoUpdateTTL;\n\t/**\n\t* {@link LRUCache.OptionsBase.maxEntrySize}\n\t*/\n\tmaxEntrySize;\n\t/**\n\t* {@link LRUCache.OptionsBase.sizeCalculation}\n\t*/\n\tsizeCalculation;\n\t/**\n\t* {@link LRUCache.OptionsBase.noDeleteOnFetchRejection}\n\t*/\n\tnoDeleteOnFetchRejection;\n\t/**\n\t* {@link LRUCache.OptionsBase.noDeleteOnStaleGet}\n\t*/\n\tnoDeleteOnStaleGet;\n\t/**\n\t* {@link LRUCache.OptionsBase.allowStaleOnFetchAbort}\n\t*/\n\tallowStaleOnFetchAbort;\n\t/**\n\t* {@link LRUCache.OptionsBase.allowStaleOnFetchRejection}\n\t*/\n\tallowStaleOnFetchRejection;\n\t/**\n\t* {@link LRUCache.OptionsBase.ignoreFetchAbort}\n\t*/\n\tignoreFetchAbort;\n\t#size;\n\t#calculatedSize;\n\t#keyMap;\n\t#keyList;\n\t#valList;\n\t#next;\n\t#prev;\n\t#head;\n\t#tail;\n\t#free;\n\t#disposed;\n\t#sizes;\n\t#starts;\n\t#ttls;\n\t#hasDispose;\n\t#hasFetchMethod;\n\t#hasDisposeAfter;\n\t/**\n\t* Do not call this method unless you need to inspect the\n\t* inner workings of the cache. If anything returned by this\n\t* object is modified in any way, strange breakage may occur.\n\t*\n\t* These fields are private for a reason!\n\t*\n\t* @internal\n\t*/\n\tstatic unsafeExposeInternals(c) {\n\t\treturn {\n\t\t\tstarts: c.#starts,\n\t\t\tttls: c.#ttls,\n\t\t\tsizes: c.#sizes,\n\t\t\tkeyMap: c.#keyMap,\n\t\t\tkeyList: c.#keyList,\n\t\t\tvalList: c.#valList,\n\t\t\tnext: c.#next,\n\t\t\tprev: c.#prev,\n\t\t\tget head() {\n\t\t\t\treturn c.#head;\n\t\t\t},\n\t\t\tget tail() {\n\t\t\t\treturn c.#tail;\n\t\t\t},\n\t\t\tfree: c.#free,\n\t\t\tisBackgroundFetch: (p) => c.#isBackgroundFetch(p),\n\t\t\tbackgroundFetch: (k, index, options, context) => c.#backgroundFetch(k, index, options, context),\n\t\t\tmoveToTail: (index) => c.#moveToTail(index),\n\t\t\tindexes: (options) => c.#indexes(options),\n\t\t\trindexes: (options) => c.#rindexes(options),\n\t\t\tisStale: (index) => c.#isStale(index)\n\t\t};\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.max} (read-only)\n\t*/\n\tget max() {\n\t\treturn this.#max;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.maxSize} (read-only)\n\t*/\n\tget maxSize() {\n\t\treturn this.#maxSize;\n\t}\n\t/**\n\t* The total computed size of items in the cache (read-only)\n\t*/\n\tget calculatedSize() {\n\t\treturn this.#calculatedSize;\n\t}\n\t/**\n\t* The number of items stored in the cache (read-only)\n\t*/\n\tget size() {\n\t\treturn this.#size;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.fetchMethod} (read-only)\n\t*/\n\tget fetchMethod() {\n\t\treturn this.#fetchMethod;\n\t}\n\tget memoMethod() {\n\t\treturn this.#memoMethod;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.dispose} (read-only)\n\t*/\n\tget dispose() {\n\t\treturn this.#dispose;\n\t}\n\t/**\n\t* {@link LRUCache.OptionsBase.disposeAfter} (read-only)\n\t*/\n\tget disposeAfter() {\n\t\treturn this.#disposeAfter;\n\t}\n\tconstructor(options) {\n\t\tconst { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;\n\t\tif (max !== 0 && !isPosInt(max)) throw new TypeError(\"max option must be a nonnegative integer\");\n\t\tconst UintArray = max ? getUintArray(max) : Array;\n\t\tif (!UintArray) throw new Error(\"invalid max value: \" + max);\n\t\tthis.#max = max;\n\t\tthis.#maxSize = maxSize;\n\t\tthis.maxEntrySize = maxEntrySize || this.#maxSize;\n\t\tthis.sizeCalculation = sizeCalculation;\n\t\tif (this.sizeCalculation) {\n\t\t\tif (!this.#maxSize && !this.maxEntrySize) throw new TypeError(\"cannot set sizeCalculation without setting maxSize or maxEntrySize\");\n\t\t\tif (typeof this.sizeCalculation !== \"function\") throw new TypeError(\"sizeCalculation set to non-function\");\n\t\t}\n\t\tif (memoMethod !== void 0 && typeof memoMethod !== \"function\") throw new TypeError(\"memoMethod must be a function if defined\");\n\t\tthis.#memoMethod = memoMethod;\n\t\tif (fetchMethod !== void 0 && typeof fetchMethod !== \"function\") throw new TypeError(\"fetchMethod must be a function if specified\");\n\t\tthis.#fetchMethod = fetchMethod;\n\t\tthis.#hasFetchMethod = !!fetchMethod;\n\t\tthis.#keyMap = /* @__PURE__ */ new Map();\n\t\tthis.#keyList = new Array(max).fill(void 0);\n\t\tthis.#valList = new Array(max).fill(void 0);\n\t\tthis.#next = new UintArray(max);\n\t\tthis.#prev = new UintArray(max);\n\t\tthis.#head = 0;\n\t\tthis.#tail = 0;\n\t\tthis.#free = Stack.create(max);\n\t\tthis.#size = 0;\n\t\tthis.#calculatedSize = 0;\n\t\tif (typeof dispose === \"function\") this.#dispose = dispose;\n\t\tif (typeof disposeAfter === \"function\") {\n\t\t\tthis.#disposeAfter = disposeAfter;\n\t\t\tthis.#disposed = [];\n\t\t} else {\n\t\t\tthis.#disposeAfter = void 0;\n\t\t\tthis.#disposed = void 0;\n\t\t}\n\t\tthis.#hasDispose = !!this.#dispose;\n\t\tthis.#hasDisposeAfter = !!this.#disposeAfter;\n\t\tthis.noDisposeOnSet = !!noDisposeOnSet;\n\t\tthis.noUpdateTTL = !!noUpdateTTL;\n\t\tthis.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection;\n\t\tthis.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection;\n\t\tthis.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort;\n\t\tthis.ignoreFetchAbort = !!ignoreFetchAbort;\n\t\tif (this.maxEntrySize !== 0) {\n\t\t\tif (this.#maxSize !== 0) {\n\t\t\t\tif (!isPosInt(this.#maxSize)) throw new TypeError(\"maxSize must be a positive integer if specified\");\n\t\t\t}\n\t\t\tif (!isPosInt(this.maxEntrySize)) throw new TypeError(\"maxEntrySize must be a positive integer if specified\");\n\t\t\tthis.#initializeSizeTracking();\n\t\t}\n\t\tthis.allowStale = !!allowStale;\n\t\tthis.noDeleteOnStaleGet = !!noDeleteOnStaleGet;\n\t\tthis.updateAgeOnGet = !!updateAgeOnGet;\n\t\tthis.updateAgeOnHas = !!updateAgeOnHas;\n\t\tthis.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0 ? ttlResolution : 1;\n\t\tthis.ttlAutopurge = !!ttlAutopurge;\n\t\tthis.ttl = ttl || 0;\n\t\tif (this.ttl) {\n\t\t\tif (!isPosInt(this.ttl)) throw new TypeError(\"ttl must be a positive integer if specified\");\n\t\t\tthis.#initializeTTLTracking();\n\t\t}\n\t\tif (this.#max === 0 && this.ttl === 0 && this.#maxSize === 0) throw new TypeError(\"At least one of max, maxSize, or ttl is required\");\n\t\tif (!this.ttlAutopurge && !this.#max && !this.#maxSize) {\n\t\t\tconst code = \"LRU_CACHE_UNBOUNDED\";\n\t\t\tif (shouldWarn(code)) {\n\t\t\t\twarned.add(code);\n\t\t\t\temitWarning(\"TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.\", \"UnboundedCacheWarning\", code, LRUCache);\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Return the number of ms left in the item's TTL. If item is not in cache,\n\t* returns `0`. Returns `Infinity` if item is in cache without a defined TTL.\n\t*/\n\tgetRemainingTTL(key) {\n\t\treturn this.#keyMap.has(key) ? Infinity : 0;\n\t}\n\t#initializeTTLTracking() {\n\t\tconst ttls = new ZeroArray(this.#max);\n\t\tconst starts = new ZeroArray(this.#max);\n\t\tthis.#ttls = ttls;\n\t\tthis.#starts = starts;\n\t\tthis.#setItemTTL = (index, ttl, start = perf.now()) => {\n\t\t\tstarts[index] = ttl !== 0 ? start : 0;\n\t\t\tttls[index] = ttl;\n\t\t\tif (ttl !== 0 && this.ttlAutopurge) {\n\t\t\t\tconst t = setTimeout(() => {\n\t\t\t\t\tif (this.#isStale(index)) this.#delete(this.#keyList[index], \"expire\");\n\t\t\t\t}, ttl + 1);\n\t\t\t\t/* c8 ignore start */\n\t\t\t\tif (t.unref) t.unref();\n\t\t\t}\n\t\t};\n\t\tthis.#updateItemAge = (index) => {\n\t\t\tstarts[index] = ttls[index] !== 0 ? perf.now() : 0;\n\t\t};\n\t\tthis.#statusTTL = (status, index) => {\n\t\t\tif (ttls[index]) {\n\t\t\t\tconst ttl = ttls[index];\n\t\t\t\tconst start = starts[index];\n\t\t\t\t/* c8 ignore next */\n\t\t\t\tif (!ttl || !start) return;\n\t\t\t\tstatus.ttl = ttl;\n\t\t\t\tstatus.start = start;\n\t\t\t\tstatus.now = cachedNow || getNow();\n\t\t\t\tstatus.remainingTTL = ttl - (status.now - start);\n\t\t\t}\n\t\t};\n\t\tlet cachedNow = 0;\n\t\tconst getNow = () => {\n\t\t\tconst n = perf.now();\n\t\t\tif (this.ttlResolution > 0) {\n\t\t\t\tcachedNow = n;\n\t\t\t\tconst t = setTimeout(() => cachedNow = 0, this.ttlResolution);\n\t\t\t\t/* c8 ignore start */\n\t\t\t\tif (t.unref) t.unref();\n\t\t\t}\n\t\t\treturn n;\n\t\t};\n\t\tthis.getRemainingTTL = (key) => {\n\t\t\tconst index = this.#keyMap.get(key);\n\t\t\tif (index === void 0) return 0;\n\t\t\tconst ttl = ttls[index];\n\t\t\tconst start = starts[index];\n\t\t\tif (!ttl || !start) return Infinity;\n\t\t\treturn ttl - ((cachedNow || getNow()) - start);\n\t\t};\n\t\tthis.#isStale = (index) => {\n\t\t\tconst s = starts[index];\n\t\t\tconst t = ttls[index];\n\t\t\treturn !!t && !!s && (cachedNow || getNow()) - s > t;\n\t\t};\n\t}\n\t#updateItemAge = () => {};\n\t#statusTTL = () => {};\n\t#setItemTTL = () => {};\n\t/* c8 ignore stop */\n\t#isStale = () => false;\n\t#initializeSizeTracking() {\n\t\tconst sizes = new ZeroArray(this.#max);\n\t\tthis.#calculatedSize = 0;\n\t\tthis.#sizes = sizes;\n\t\tthis.#removeItemSize = (index) => {\n\t\t\tthis.#calculatedSize -= sizes[index];\n\t\t\tsizes[index] = 0;\n\t\t};\n\t\tthis.#requireSize = (k, v, size, sizeCalculation) => {\n\t\t\tif (this.#isBackgroundFetch(v)) return 0;\n\t\t\tif (!isPosInt(size)) if (sizeCalculation) {\n\t\t\t\tif (typeof sizeCalculation !== \"function\") throw new TypeError(\"sizeCalculation must be a function\");\n\t\t\t\tsize = sizeCalculation(v, k);\n\t\t\t\tif (!isPosInt(size)) throw new TypeError(\"sizeCalculation return invalid (expect positive integer)\");\n\t\t\t} else throw new TypeError(\"invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.\");\n\t\t\treturn size;\n\t\t};\n\t\tthis.#addItemSize = (index, size, status) => {\n\t\t\tsizes[index] = size;\n\t\t\tif (this.#maxSize) {\n\t\t\t\tconst maxSize = this.#maxSize - sizes[index];\n\t\t\t\twhile (this.#calculatedSize > maxSize) this.#evict(true);\n\t\t\t}\n\t\t\tthis.#calculatedSize += sizes[index];\n\t\t\tif (status) {\n\t\t\t\tstatus.entrySize = size;\n\t\t\t\tstatus.totalCalculatedSize = this.#calculatedSize;\n\t\t\t}\n\t\t};\n\t}\n\t#removeItemSize = (_i) => {};\n\t#addItemSize = (_i, _s, _st) => {};\n\t#requireSize = (_k, _v, size, sizeCalculation) => {\n\t\tif (size || sizeCalculation) throw new TypeError(\"cannot set size without setting maxSize or maxEntrySize on cache\");\n\t\treturn 0;\n\t};\n\t*#indexes({ allowStale = this.allowStale } = {}) {\n\t\tif (this.#size) for (let i = this.#tail;;) {\n\t\t\tif (!this.#isValidIndex(i)) break;\n\t\t\tif (allowStale || !this.#isStale(i)) yield i;\n\t\t\tif (i === this.#head) break;\n\t\t\telse i = this.#prev[i];\n\t\t}\n\t}\n\t*#rindexes({ allowStale = this.allowStale } = {}) {\n\t\tif (this.#size) for (let i = this.#head;;) {\n\t\t\tif (!this.#isValidIndex(i)) break;\n\t\t\tif (allowStale || !this.#isStale(i)) yield i;\n\t\t\tif (i === this.#tail) break;\n\t\t\telse i = this.#next[i];\n\t\t}\n\t}\n\t#isValidIndex(index) {\n\t\treturn index !== void 0 && this.#keyMap.get(this.#keyList[index]) === index;\n\t}\n\t/**\n\t* Return a generator yielding `[key, value]` pairs,\n\t* in order from most recently used to least recently used.\n\t*/\n\t*entries() {\n\t\tfor (const i of this.#indexes()) if (this.#valList[i] !== void 0 && this.#keyList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield [this.#keyList[i], this.#valList[i]];\n\t}\n\t/**\n\t* Inverse order version of {@link LRUCache.entries}\n\t*\n\t* Return a generator yielding `[key, value]` pairs,\n\t* in order from least recently used to most recently used.\n\t*/\n\t*rentries() {\n\t\tfor (const i of this.#rindexes()) if (this.#valList[i] !== void 0 && this.#keyList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield [this.#keyList[i], this.#valList[i]];\n\t}\n\t/**\n\t* Return a generator yielding the keys in the cache,\n\t* in order from most recently used to least recently used.\n\t*/\n\t*keys() {\n\t\tfor (const i of this.#indexes()) {\n\t\t\tconst k = this.#keyList[i];\n\t\t\tif (k !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield k;\n\t\t}\n\t}\n\t/**\n\t* Inverse order version of {@link LRUCache.keys}\n\t*\n\t* Return a generator yielding the keys in the cache,\n\t* in order from least recently used to most recently used.\n\t*/\n\t*rkeys() {\n\t\tfor (const i of this.#rindexes()) {\n\t\t\tconst k = this.#keyList[i];\n\t\t\tif (k !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield k;\n\t\t}\n\t}\n\t/**\n\t* Return a generator yielding the values in the cache,\n\t* in order from most recently used to least recently used.\n\t*/\n\t*values() {\n\t\tfor (const i of this.#indexes()) if (this.#valList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield this.#valList[i];\n\t}\n\t/**\n\t* Inverse order version of {@link LRUCache.values}\n\t*\n\t* Return a generator yielding the values in the cache,\n\t* in order from least recently used to most recently used.\n\t*/\n\t*rvalues() {\n\t\tfor (const i of this.#rindexes()) if (this.#valList[i] !== void 0 && !this.#isBackgroundFetch(this.#valList[i])) yield this.#valList[i];\n\t}\n\t/**\n\t* Iterating over the cache itself yields the same results as\n\t* {@link LRUCache.entries}\n\t*/\n\t[Symbol.iterator]() {\n\t\treturn this.entries();\n\t}\n\t/**\n\t* A String value that is used in the creation of the default string\n\t* description of an object. Called by the built-in method\n\t* `Object.prototype.toString`.\n\t*/\n\t[Symbol.toStringTag] = \"LRUCache\";\n\t/**\n\t* Find a value for which the supplied fn method returns a truthy value,\n\t* similar to `Array.find()`. fn is called as `fn(value, key, cache)`.\n\t*/\n\tfind(fn, getOptions = {}) {\n\t\tfor (const i of this.#indexes()) {\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0) continue;\n\t\t\tif (fn(value, this.#keyList[i], this)) return this.get(this.#keyList[i], getOptions);\n\t\t}\n\t}\n\t/**\n\t* Call the supplied function on each item in the cache, in order from most\n\t* recently used to least recently used.\n\t*\n\t* `fn` is called as `fn(value, key, cache)`.\n\t*\n\t* If `thisp` is provided, function will be called in the `this`-context of\n\t* the provided object, or the cache if no `thisp` object is provided.\n\t*\n\t* Does not update age or recenty of use, or iterate over stale values.\n\t*/\n\tforEach(fn, thisp = this) {\n\t\tfor (const i of this.#indexes()) {\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0) continue;\n\t\t\tfn.call(thisp, value, this.#keyList[i], this);\n\t\t}\n\t}\n\t/**\n\t* The same as {@link LRUCache.forEach} but items are iterated over in\n\t* reverse order. (ie, less recently used items are iterated over first.)\n\t*/\n\trforEach(fn, thisp = this) {\n\t\tfor (const i of this.#rindexes()) {\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0) continue;\n\t\t\tfn.call(thisp, value, this.#keyList[i], this);\n\t\t}\n\t}\n\t/**\n\t* Delete any stale entries. Returns true if anything was removed,\n\t* false otherwise.\n\t*/\n\tpurgeStale() {\n\t\tlet deleted = false;\n\t\tfor (const i of this.#rindexes({ allowStale: true })) if (this.#isStale(i)) {\n\t\t\tthis.#delete(this.#keyList[i], \"expire\");\n\t\t\tdeleted = true;\n\t\t}\n\t\treturn deleted;\n\t}\n\t/**\n\t* Get the extended info about a given entry, to get its value, size, and\n\t* TTL info simultaneously. Returns `undefined` if the key is not present.\n\t*\n\t* Unlike {@link LRUCache#dump}, which is designed to be portable and survive\n\t* serialization, the `start` value is always the current timestamp, and the\n\t* `ttl` is a calculated remaining time to live (negative if expired).\n\t*\n\t* Always returns stale values, if their info is found in the cache, so be\n\t* sure to check for expirations (ie, a negative {@link LRUCache.Entry#ttl})\n\t* if relevant.\n\t*/\n\tinfo(key) {\n\t\tconst i = this.#keyMap.get(key);\n\t\tif (i === void 0) return void 0;\n\t\tconst v = this.#valList[i];\n\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\tif (value === void 0) return void 0;\n\t\tconst entry = { value };\n\t\tif (this.#ttls && this.#starts) {\n\t\t\tconst ttl = this.#ttls[i];\n\t\t\tconst start = this.#starts[i];\n\t\t\tif (ttl && start) {\n\t\t\t\tentry.ttl = ttl - (perf.now() - start);\n\t\t\t\tentry.start = Date.now();\n\t\t\t}\n\t\t}\n\t\tif (this.#sizes) entry.size = this.#sizes[i];\n\t\treturn entry;\n\t}\n\t/**\n\t* Return an array of [key, {@link LRUCache.Entry}] tuples which can be\n\t* passed to {@link LRLUCache#load}.\n\t*\n\t* The `start` fields are calculated relative to a portable `Date.now()`\n\t* timestamp, even if `performance.now()` is available.\n\t*\n\t* Stale entries are always included in the `dump`, even if\n\t* {@link LRUCache.OptionsBase.allowStale} is false.\n\t*\n\t* Note: this returns an actual array, not a generator, so it can be more\n\t* easily passed around.\n\t*/\n\tdump() {\n\t\tconst arr = [];\n\t\tfor (const i of this.#indexes({ allowStale: true })) {\n\t\t\tconst key = this.#keyList[i];\n\t\t\tconst v = this.#valList[i];\n\t\t\tconst value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t\t\tif (value === void 0 || key === void 0) continue;\n\t\t\tconst entry = { value };\n\t\t\tif (this.#ttls && this.#starts) {\n\t\t\t\tentry.ttl = this.#ttls[i];\n\t\t\t\tconst age = perf.now() - this.#starts[i];\n\t\t\t\tentry.start = Math.floor(Date.now() - age);\n\t\t\t}\n\t\t\tif (this.#sizes) entry.size = this.#sizes[i];\n\t\t\tarr.unshift([key, entry]);\n\t\t}\n\t\treturn arr;\n\t}\n\t/**\n\t* Reset the cache and load in the items in entries in the order listed.\n\t*\n\t* The shape of the resulting cache may be different if the same options are\n\t* not used in both caches.\n\t*\n\t* The `start` fields are assumed to be calculated relative to a portable\n\t* `Date.now()` timestamp, even if `performance.now()` is available.\n\t*/\n\tload(arr) {\n\t\tthis.clear();\n\t\tfor (const [key, entry] of arr) {\n\t\t\tif (entry.start) {\n\t\t\t\tconst age = Date.now() - entry.start;\n\t\t\t\tentry.start = perf.now() - age;\n\t\t\t}\n\t\t\tthis.set(key, entry.value, entry);\n\t\t}\n\t}\n\t/**\n\t* Add a value to the cache.\n\t*\n\t* Note: if `undefined` is specified as a value, this is an alias for\n\t* {@link LRUCache#delete}\n\t*\n\t* Fields on the {@link LRUCache.SetOptions} options param will override\n\t* their corresponding values in the constructor options for the scope\n\t* of this single `set()` operation.\n\t*\n\t* If `start` is provided, then that will set the effective start\n\t* time for the TTL calculation. Note that this must be a previous\n\t* value of `performance.now()` if supported, or a previous value of\n\t* `Date.now()` if not.\n\t*\n\t* Options object may also include `size`, which will prevent\n\t* calling the `sizeCalculation` function and just use the specified\n\t* number if it is a positive integer, and `noDisposeOnSet` which\n\t* will prevent calling a `dispose` function in the case of\n\t* overwrites.\n\t*\n\t* If the `size` (or return value of `sizeCalculation`) for a given\n\t* entry is greater than `maxEntrySize`, then the item will not be\n\t* added to the cache.\n\t*\n\t* Will update the recency of the entry.\n\t*\n\t* If the value is `undefined`, then this is an alias for\n\t* `cache.delete(key)`. `undefined` is never stored in the cache.\n\t*/\n\tset(k, v, setOptions = {}) {\n\t\tif (v === void 0) {\n\t\t\tthis.delete(k);\n\t\t\treturn this;\n\t\t}\n\t\tconst { ttl = this.ttl, start, noDisposeOnSet = this.noDisposeOnSet, sizeCalculation = this.sizeCalculation, status } = setOptions;\n\t\tlet { noUpdateTTL = this.noUpdateTTL } = setOptions;\n\t\tconst size = this.#requireSize(k, v, setOptions.size || 0, sizeCalculation);\n\t\tif (this.maxEntrySize && size > this.maxEntrySize) {\n\t\t\tif (status) {\n\t\t\t\tstatus.set = \"miss\";\n\t\t\t\tstatus.maxEntrySizeExceeded = true;\n\t\t\t}\n\t\t\tthis.#delete(k, \"set\");\n\t\t\treturn this;\n\t\t}\n\t\tlet index = this.#size === 0 ? void 0 : this.#keyMap.get(k);\n\t\tif (index === void 0) {\n\t\t\tindex = this.#size === 0 ? this.#tail : this.#free.length !== 0 ? this.#free.pop() : this.#size === this.#max ? this.#evict(false) : this.#size;\n\t\t\tthis.#keyList[index] = k;\n\t\t\tthis.#valList[index] = v;\n\t\t\tthis.#keyMap.set(k, index);\n\t\t\tthis.#next[this.#tail] = index;\n\t\t\tthis.#prev[index] = this.#tail;\n\t\t\tthis.#tail = index;\n\t\t\tthis.#size++;\n\t\t\tthis.#addItemSize(index, size, status);\n\t\t\tif (status) status.set = \"add\";\n\t\t\tnoUpdateTTL = false;\n\t\t} else {\n\t\t\tthis.#moveToTail(index);\n\t\t\tconst oldVal = this.#valList[index];\n\t\t\tif (v !== oldVal) {\n\t\t\t\tif (this.#hasFetchMethod && this.#isBackgroundFetch(oldVal)) {\n\t\t\t\t\toldVal.__abortController.abort(/* @__PURE__ */ new Error(\"replaced\"));\n\t\t\t\t\tconst { __staleWhileFetching: s } = oldVal;\n\t\t\t\t\tif (s !== void 0 && !noDisposeOnSet) {\n\t\t\t\t\t\tif (this.#hasDispose) this.#dispose?.(s, k, \"set\");\n\t\t\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\t\t\ts,\n\t\t\t\t\t\t\tk,\n\t\t\t\t\t\t\t\"set\"\n\t\t\t\t\t\t]);\n\t\t\t\t\t}\n\t\t\t\t} else if (!noDisposeOnSet) {\n\t\t\t\t\tif (this.#hasDispose) this.#dispose?.(oldVal, k, \"set\");\n\t\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\t\toldVal,\n\t\t\t\t\t\tk,\n\t\t\t\t\t\t\"set\"\n\t\t\t\t\t]);\n\t\t\t\t}\n\t\t\t\tthis.#removeItemSize(index);\n\t\t\t\tthis.#addItemSize(index, size, status);\n\t\t\t\tthis.#valList[index] = v;\n\t\t\t\tif (status) {\n\t\t\t\t\tstatus.set = \"replace\";\n\t\t\t\t\tconst oldValue = oldVal && this.#isBackgroundFetch(oldVal) ? oldVal.__staleWhileFetching : oldVal;\n\t\t\t\t\tif (oldValue !== void 0) status.oldValue = oldValue;\n\t\t\t\t}\n\t\t\t} else if (status) status.set = \"update\";\n\t\t}\n\t\tif (ttl !== 0 && !this.#ttls) this.#initializeTTLTracking();\n\t\tif (this.#ttls) {\n\t\t\tif (!noUpdateTTL) this.#setItemTTL(index, ttl, start);\n\t\t\tif (status) this.#statusTTL(status, index);\n\t\t}\n\t\tif (!noDisposeOnSet && this.#hasDisposeAfter && this.#disposed) {\n\t\t\tconst dt = this.#disposed;\n\t\t\tlet task;\n\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t}\n\t\treturn this;\n\t}\n\t/**\n\t* Evict the least recently used item, returning its value or\n\t* `undefined` if cache is empty.\n\t*/\n\tpop() {\n\t\ttry {\n\t\t\twhile (this.#size) {\n\t\t\t\tconst val = this.#valList[this.#head];\n\t\t\t\tthis.#evict(true);\n\t\t\t\tif (this.#isBackgroundFetch(val)) {\n\t\t\t\t\tif (val.__staleWhileFetching) return val.__staleWhileFetching;\n\t\t\t\t} else if (val !== void 0) return val;\n\t\t\t}\n\t\t} finally {\n\t\t\tif (this.#hasDisposeAfter && this.#disposed) {\n\t\t\t\tconst dt = this.#disposed;\n\t\t\t\tlet task;\n\t\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t\t}\n\t\t}\n\t}\n\t#evict(free) {\n\t\tconst head = this.#head;\n\t\tconst k = this.#keyList[head];\n\t\tconst v = this.#valList[head];\n\t\tif (this.#hasFetchMethod && this.#isBackgroundFetch(v)) v.__abortController.abort(/* @__PURE__ */ new Error(\"evicted\"));\n\t\telse if (this.#hasDispose || this.#hasDisposeAfter) {\n\t\t\tif (this.#hasDispose) this.#dispose?.(v, k, \"evict\");\n\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\tv,\n\t\t\t\tk,\n\t\t\t\t\"evict\"\n\t\t\t]);\n\t\t}\n\t\tthis.#removeItemSize(head);\n\t\tif (free) {\n\t\t\tthis.#keyList[head] = void 0;\n\t\t\tthis.#valList[head] = void 0;\n\t\t\tthis.#free.push(head);\n\t\t}\n\t\tif (this.#size === 1) {\n\t\t\tthis.#head = this.#tail = 0;\n\t\t\tthis.#free.length = 0;\n\t\t} else this.#head = this.#next[head];\n\t\tthis.#keyMap.delete(k);\n\t\tthis.#size--;\n\t\treturn head;\n\t}\n\t/**\n\t* Check if a key is in the cache, without updating the recency of use.\n\t* Will return false if the item is stale, even though it is technically\n\t* in the cache.\n\t*\n\t* Check if a key is in the cache, without updating the recency of\n\t* use. Age is updated if {@link LRUCache.OptionsBase.updateAgeOnHas} is set\n\t* to `true` in either the options or the constructor.\n\t*\n\t* Will return `false` if the item is stale, even though it is technically in\n\t* the cache. The difference can be determined (if it matters) by using a\n\t* `status` argument, and inspecting the `has` field.\n\t*\n\t* Will not update item age unless\n\t* {@link LRUCache.OptionsBase.updateAgeOnHas} is set.\n\t*/\n\thas(k, hasOptions = {}) {\n\t\tconst { updateAgeOnHas = this.updateAgeOnHas, status } = hasOptions;\n\t\tconst index = this.#keyMap.get(k);\n\t\tif (index !== void 0) {\n\t\t\tconst v = this.#valList[index];\n\t\t\tif (this.#isBackgroundFetch(v) && v.__staleWhileFetching === void 0) return false;\n\t\t\tif (!this.#isStale(index)) {\n\t\t\t\tif (updateAgeOnHas) this.#updateItemAge(index);\n\t\t\t\tif (status) {\n\t\t\t\t\tstatus.has = \"hit\";\n\t\t\t\t\tthis.#statusTTL(status, index);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t} else if (status) {\n\t\t\t\tstatus.has = \"stale\";\n\t\t\t\tthis.#statusTTL(status, index);\n\t\t\t}\n\t\t} else if (status) status.has = \"miss\";\n\t\treturn false;\n\t}\n\t/**\n\t* Like {@link LRUCache#get} but doesn't update recency or delete stale\n\t* items.\n\t*\n\t* Returns `undefined` if the item is stale, unless\n\t* {@link LRUCache.OptionsBase.allowStale} is set.\n\t*/\n\tpeek(k, peekOptions = {}) {\n\t\tconst { allowStale = this.allowStale } = peekOptions;\n\t\tconst index = this.#keyMap.get(k);\n\t\tif (index === void 0 || !allowStale && this.#isStale(index)) return;\n\t\tconst v = this.#valList[index];\n\t\treturn this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;\n\t}\n\t#backgroundFetch(k, index, options, context) {\n\t\tconst v = index === void 0 ? void 0 : this.#valList[index];\n\t\tif (this.#isBackgroundFetch(v)) return v;\n\t\tconst ac = new AC();\n\t\tconst { signal } = options;\n\t\tsignal?.addEventListener(\"abort\", () => ac.abort(signal.reason), { signal: ac.signal });\n\t\tconst fetchOpts = {\n\t\t\tsignal: ac.signal,\n\t\t\toptions,\n\t\t\tcontext\n\t\t};\n\t\tconst cb = (v, updateCache = false) => {\n\t\t\tconst { aborted } = ac.signal;\n\t\t\tconst ignoreAbort = options.ignoreFetchAbort && v !== void 0;\n\t\t\tif (options.status) if (aborted && !updateCache) {\n\t\t\t\toptions.status.fetchAborted = true;\n\t\t\t\toptions.status.fetchError = ac.signal.reason;\n\t\t\t\tif (ignoreAbort) options.status.fetchAbortIgnored = true;\n\t\t\t} else options.status.fetchResolved = true;\n\t\t\tif (aborted && !ignoreAbort && !updateCache) return fetchFail(ac.signal.reason);\n\t\t\tconst bf = p;\n\t\t\tif (this.#valList[index] === p) if (v === void 0) if (bf.__staleWhileFetching) this.#valList[index] = bf.__staleWhileFetching;\n\t\t\telse this.#delete(k, \"fetch\");\n\t\t\telse {\n\t\t\t\tif (options.status) options.status.fetchUpdated = true;\n\t\t\t\tthis.set(k, v, fetchOpts.options);\n\t\t\t}\n\t\t\treturn v;\n\t\t};\n\t\tconst eb = (er) => {\n\t\t\tif (options.status) {\n\t\t\t\toptions.status.fetchRejected = true;\n\t\t\t\toptions.status.fetchError = er;\n\t\t\t}\n\t\t\treturn fetchFail(er);\n\t\t};\n\t\tconst fetchFail = (er) => {\n\t\t\tconst { aborted } = ac.signal;\n\t\t\tconst allowStaleAborted = aborted && options.allowStaleOnFetchAbort;\n\t\t\tconst allowStale = allowStaleAborted || options.allowStaleOnFetchRejection;\n\t\t\tconst noDelete = allowStale || options.noDeleteOnFetchRejection;\n\t\t\tconst bf = p;\n\t\t\tif (this.#valList[index] === p) {\n\t\t\t\tif (!noDelete || bf.__staleWhileFetching === void 0) this.#delete(k, \"fetch\");\n\t\t\t\telse if (!allowStaleAborted) this.#valList[index] = bf.__staleWhileFetching;\n\t\t\t}\n\t\t\tif (allowStale) {\n\t\t\t\tif (options.status && bf.__staleWhileFetching !== void 0) options.status.returnedStale = true;\n\t\t\t\treturn bf.__staleWhileFetching;\n\t\t\t} else if (bf.__returned === bf) throw er;\n\t\t};\n\t\tconst pcall = (res, rej) => {\n\t\t\tconst fmp = this.#fetchMethod?.(k, v, fetchOpts);\n\t\t\tif (fmp && fmp instanceof Promise) fmp.then((v) => res(v === void 0 ? void 0 : v), rej);\n\t\t\tac.signal.addEventListener(\"abort\", () => {\n\t\t\t\tif (!options.ignoreFetchAbort || options.allowStaleOnFetchAbort) {\n\t\t\t\t\tres(void 0);\n\t\t\t\t\tif (options.allowStaleOnFetchAbort) res = (v) => cb(v, true);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tif (options.status) options.status.fetchDispatched = true;\n\t\tconst p = new Promise(pcall).then(cb, eb);\n\t\tconst bf = Object.assign(p, {\n\t\t\t__abortController: ac,\n\t\t\t__staleWhileFetching: v,\n\t\t\t__returned: void 0\n\t\t});\n\t\tif (index === void 0) {\n\t\t\tthis.set(k, bf, {\n\t\t\t\t...fetchOpts.options,\n\t\t\t\tstatus: void 0\n\t\t\t});\n\t\t\tindex = this.#keyMap.get(k);\n\t\t} else this.#valList[index] = bf;\n\t\treturn bf;\n\t}\n\t#isBackgroundFetch(p) {\n\t\tif (!this.#hasFetchMethod) return false;\n\t\tconst b = p;\n\t\treturn !!b && b instanceof Promise && b.hasOwnProperty(\"__staleWhileFetching\") && b.__abortController instanceof AC;\n\t}\n\tasync fetch(k, fetchOptions = {}) {\n\t\tconst { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, allowStaleOnFetchAbort = this.allowStaleOnFetchAbort, context, forceRefresh = false, status, signal } = fetchOptions;\n\t\tif (!this.#hasFetchMethod) {\n\t\t\tif (status) status.fetch = \"get\";\n\t\t\treturn this.get(k, {\n\t\t\t\tallowStale,\n\t\t\t\tupdateAgeOnGet,\n\t\t\t\tnoDeleteOnStaleGet,\n\t\t\t\tstatus\n\t\t\t});\n\t\t}\n\t\tconst options = {\n\t\t\tallowStale,\n\t\t\tupdateAgeOnGet,\n\t\t\tnoDeleteOnStaleGet,\n\t\t\tttl,\n\t\t\tnoDisposeOnSet,\n\t\t\tsize,\n\t\t\tsizeCalculation,\n\t\t\tnoUpdateTTL,\n\t\t\tnoDeleteOnFetchRejection,\n\t\t\tallowStaleOnFetchRejection,\n\t\t\tallowStaleOnFetchAbort,\n\t\t\tignoreFetchAbort,\n\t\t\tstatus,\n\t\t\tsignal\n\t\t};\n\t\tlet index = this.#keyMap.get(k);\n\t\tif (index === void 0) {\n\t\t\tif (status) status.fetch = \"miss\";\n\t\t\tconst p = this.#backgroundFetch(k, index, options, context);\n\t\t\treturn p.__returned = p;\n\t\t} else {\n\t\t\tconst v = this.#valList[index];\n\t\t\tif (this.#isBackgroundFetch(v)) {\n\t\t\t\tconst stale = allowStale && v.__staleWhileFetching !== void 0;\n\t\t\t\tif (status) {\n\t\t\t\t\tstatus.fetch = \"inflight\";\n\t\t\t\t\tif (stale) status.returnedStale = true;\n\t\t\t\t}\n\t\t\t\treturn stale ? v.__staleWhileFetching : v.__returned = v;\n\t\t\t}\n\t\t\tconst isStale = this.#isStale(index);\n\t\t\tif (!forceRefresh && !isStale) {\n\t\t\t\tif (status) status.fetch = \"hit\";\n\t\t\t\tthis.#moveToTail(index);\n\t\t\t\tif (updateAgeOnGet) this.#updateItemAge(index);\n\t\t\t\tif (status) this.#statusTTL(status, index);\n\t\t\t\treturn v;\n\t\t\t}\n\t\t\tconst p = this.#backgroundFetch(k, index, options, context);\n\t\t\tconst staleVal = p.__staleWhileFetching !== void 0 && allowStale;\n\t\t\tif (status) {\n\t\t\t\tstatus.fetch = isStale ? \"stale\" : \"refresh\";\n\t\t\t\tif (staleVal && isStale) status.returnedStale = true;\n\t\t\t}\n\t\t\treturn staleVal ? p.__staleWhileFetching : p.__returned = p;\n\t\t}\n\t}\n\tasync forceFetch(k, fetchOptions = {}) {\n\t\tconst v = await this.fetch(k, fetchOptions);\n\t\tif (v === void 0) throw new Error(\"fetch() returned undefined\");\n\t\treturn v;\n\t}\n\tmemo(k, memoOptions = {}) {\n\t\tconst memoMethod = this.#memoMethod;\n\t\tif (!memoMethod) throw new Error(\"no memoMethod provided to constructor\");\n\t\tconst { context, forceRefresh, ...options } = memoOptions;\n\t\tconst v = this.get(k, options);\n\t\tif (!forceRefresh && v !== void 0) return v;\n\t\tconst vv = memoMethod(k, v, {\n\t\t\toptions,\n\t\t\tcontext\n\t\t});\n\t\tthis.set(k, vv, options);\n\t\treturn vv;\n\t}\n\t/**\n\t* Return a value from the cache. Will update the recency of the cache\n\t* entry found.\n\t*\n\t* If the key is not found, get() will return `undefined`.\n\t*/\n\tget(k, getOptions = {}) {\n\t\tconst { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, status } = getOptions;\n\t\tconst index = this.#keyMap.get(k);\n\t\tif (index !== void 0) {\n\t\t\tconst value = this.#valList[index];\n\t\t\tconst fetching = this.#isBackgroundFetch(value);\n\t\t\tif (status) this.#statusTTL(status, index);\n\t\t\tif (this.#isStale(index)) {\n\t\t\t\tif (status) status.get = \"stale\";\n\t\t\t\tif (!fetching) {\n\t\t\t\t\tif (!noDeleteOnStaleGet) this.#delete(k, \"expire\");\n\t\t\t\t\tif (status && allowStale) status.returnedStale = true;\n\t\t\t\t\treturn allowStale ? value : void 0;\n\t\t\t\t} else {\n\t\t\t\t\tif (status && allowStale && value.__staleWhileFetching !== void 0) status.returnedStale = true;\n\t\t\t\t\treturn allowStale ? value.__staleWhileFetching : void 0;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (status) status.get = \"hit\";\n\t\t\t\tif (fetching) return value.__staleWhileFetching;\n\t\t\t\tthis.#moveToTail(index);\n\t\t\t\tif (updateAgeOnGet) this.#updateItemAge(index);\n\t\t\t\treturn value;\n\t\t\t}\n\t\t} else if (status) status.get = \"miss\";\n\t}\n\t#connect(p, n) {\n\t\tthis.#prev[n] = p;\n\t\tthis.#next[p] = n;\n\t}\n\t#moveToTail(index) {\n\t\tif (index !== this.#tail) {\n\t\t\tif (index === this.#head) this.#head = this.#next[index];\n\t\t\telse this.#connect(this.#prev[index], this.#next[index]);\n\t\t\tthis.#connect(this.#tail, index);\n\t\t\tthis.#tail = index;\n\t\t}\n\t}\n\t/**\n\t* Deletes a key out of the cache.\n\t*\n\t* Returns true if the key was deleted, false otherwise.\n\t*/\n\tdelete(k) {\n\t\treturn this.#delete(k, \"delete\");\n\t}\n\t#delete(k, reason) {\n\t\tlet deleted = false;\n\t\tif (this.#size !== 0) {\n\t\t\tconst index = this.#keyMap.get(k);\n\t\t\tif (index !== void 0) {\n\t\t\t\tdeleted = true;\n\t\t\t\tif (this.#size === 1) this.#clear(reason);\n\t\t\t\telse {\n\t\t\t\t\tthis.#removeItemSize(index);\n\t\t\t\t\tconst v = this.#valList[index];\n\t\t\t\t\tif (this.#isBackgroundFetch(v)) v.__abortController.abort(/* @__PURE__ */ new Error(\"deleted\"));\n\t\t\t\t\telse if (this.#hasDispose || this.#hasDisposeAfter) {\n\t\t\t\t\t\tif (this.#hasDispose) this.#dispose?.(v, k, reason);\n\t\t\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\t\t\tv,\n\t\t\t\t\t\t\tk,\n\t\t\t\t\t\t\treason\n\t\t\t\t\t\t]);\n\t\t\t\t\t}\n\t\t\t\t\tthis.#keyMap.delete(k);\n\t\t\t\t\tthis.#keyList[index] = void 0;\n\t\t\t\t\tthis.#valList[index] = void 0;\n\t\t\t\t\tif (index === this.#tail) this.#tail = this.#prev[index];\n\t\t\t\t\telse if (index === this.#head) this.#head = this.#next[index];\n\t\t\t\t\telse {\n\t\t\t\t\t\tconst pi = this.#prev[index];\n\t\t\t\t\t\tthis.#next[pi] = this.#next[index];\n\t\t\t\t\t\tconst ni = this.#next[index];\n\t\t\t\t\t\tthis.#prev[ni] = this.#prev[index];\n\t\t\t\t\t}\n\t\t\t\t\tthis.#size--;\n\t\t\t\t\tthis.#free.push(index);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (this.#hasDisposeAfter && this.#disposed?.length) {\n\t\t\tconst dt = this.#disposed;\n\t\t\tlet task;\n\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t}\n\t\treturn deleted;\n\t}\n\t/**\n\t* Clear the cache entirely, throwing away all values.\n\t*/\n\tclear() {\n\t\treturn this.#clear(\"delete\");\n\t}\n\t#clear(reason) {\n\t\tfor (const index of this.#rindexes({ allowStale: true })) {\n\t\t\tconst v = this.#valList[index];\n\t\t\tif (this.#isBackgroundFetch(v)) v.__abortController.abort(/* @__PURE__ */ new Error(\"deleted\"));\n\t\t\telse {\n\t\t\t\tconst k = this.#keyList[index];\n\t\t\t\tif (this.#hasDispose) this.#dispose?.(v, k, reason);\n\t\t\t\tif (this.#hasDisposeAfter) this.#disposed?.push([\n\t\t\t\t\tv,\n\t\t\t\t\tk,\n\t\t\t\t\treason\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\t\tthis.#keyMap.clear();\n\t\tthis.#valList.fill(void 0);\n\t\tthis.#keyList.fill(void 0);\n\t\tif (this.#ttls && this.#starts) {\n\t\t\tthis.#ttls.fill(0);\n\t\t\tthis.#starts.fill(0);\n\t\t}\n\t\tif (this.#sizes) this.#sizes.fill(0);\n\t\tthis.#head = 0;\n\t\tthis.#tail = 0;\n\t\tthis.#free.length = 0;\n\t\tthis.#calculatedSize = 0;\n\t\tthis.#size = 0;\n\t\tif (this.#hasDisposeAfter && this.#disposed) {\n\t\t\tconst dt = this.#disposed;\n\t\t\tlet task;\n\t\t\twhile (task = dt?.shift()) this.#disposeAfter?.(...task);\n\t\t}\n\t}\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/utils.js\nconst isDate = (d) => d instanceof Date;\nconst isEmpty = (o) => Object.keys(o).length === 0;\nconst isObject = (o) => o != null && typeof o === \"object\";\nconst hasOwnProperty = (o, ...args) => Object.prototype.hasOwnProperty.call(o, ...args);\nconst isEmptyObject = (o) => isObject(o) && isEmpty(o);\nconst makeObjectWithoutPrototype = () => Object.create(null);\n\n//#endregion\n//#region ../../node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/diff.js\nconst diff = (lhs, rhs) => {\n\tif (lhs === rhs) return {};\n\tif (!isObject(lhs) || !isObject(rhs)) return rhs;\n\tconst deletedValues = Object.keys(lhs).reduce((acc, key) => {\n\t\tif (!hasOwnProperty(rhs, key)) acc[key] = void 0;\n\t\treturn acc;\n\t}, makeObjectWithoutPrototype());\n\tif (isDate(lhs) || isDate(rhs)) {\n\t\tif (lhs.valueOf() == rhs.valueOf()) return {};\n\t\treturn rhs;\n\t}\n\treturn Object.keys(rhs).reduce((acc, key) => {\n\t\tif (!hasOwnProperty(lhs, key)) {\n\t\t\tacc[key] = rhs[key];\n\t\t\treturn acc;\n\t\t}\n\t\tconst difference = diff(lhs[key], rhs[key]);\n\t\tif (isEmptyObject(difference) && !isDate(difference) && (isEmptyObject(lhs[key]) || !isEmptyObject(rhs[key]))) return acc;\n\t\tacc[key] = difference;\n\t\treturn acc;\n\t}, deletedValues);\n};\nvar diff_default = diff;\n\n//#endregion\n//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js\nvar require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tlet p = process || {}, argv = p.argv || [], env = p.env || {};\n\tlet isColorSupported = !(!!env.NO_COLOR || argv.includes(\"--no-color\")) && (!!env.FORCE_COLOR || argv.includes(\"--color\") || p.platform === \"win32\" || (p.stdout || {}).isTTY && env.TERM !== \"dumb\" || !!env.CI);\n\tlet formatter = (open, close, replace = open) => (input) => {\n\t\tlet string = \"\" + input, index = string.indexOf(close, open.length);\n\t\treturn ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;\n\t};\n\tlet replaceClose = (string, close, replace, index) => {\n\t\tlet result = \"\", cursor = 0;\n\t\tdo {\n\t\t\tresult += string.substring(cursor, index) + replace;\n\t\t\tcursor = index + close.length;\n\t\t\tindex = string.indexOf(close, cursor);\n\t\t} while (~index);\n\t\treturn result + string.substring(cursor);\n\t};\n\tlet createColors = (enabled = isColorSupported) => {\n\t\tlet f = enabled ? formatter : () => String;\n\t\treturn {\n\t\t\tisColorSupported: enabled,\n\t\t\treset: f(\"\\x1B[0m\", \"\\x1B[0m\"),\n\t\t\tbold: f(\"\\x1B[1m\", \"\\x1B[22m\", \"\\x1B[22m\\x1B[1m\"),\n\t\t\tdim: f(\"\\x1B[2m\", \"\\x1B[22m\", \"\\x1B[22m\\x1B[2m\"),\n\t\t\titalic: f(\"\\x1B[3m\", \"\\x1B[23m\"),\n\t\t\tunderline: f(\"\\x1B[4m\", \"\\x1B[24m\"),\n\t\t\tinverse: f(\"\\x1B[7m\", \"\\x1B[27m\"),\n\t\t\thidden: f(\"\\x1B[8m\", \"\\x1B[28m\"),\n\t\t\tstrikethrough: f(\"\\x1B[9m\", \"\\x1B[29m\"),\n\t\t\tblack: f(\"\\x1B[30m\", \"\\x1B[39m\"),\n\t\t\tred: f(\"\\x1B[31m\", \"\\x1B[39m\"),\n\t\t\tgreen: f(\"\\x1B[32m\", \"\\x1B[39m\"),\n\t\t\tyellow: f(\"\\x1B[33m\", \"\\x1B[39m\"),\n\t\t\tblue: f(\"\\x1B[34m\", \"\\x1B[39m\"),\n\t\t\tmagenta: f(\"\\x1B[35m\", \"\\x1B[39m\"),\n\t\t\tcyan: f(\"\\x1B[36m\", \"\\x1B[39m\"),\n\t\t\twhite: f(\"\\x1B[37m\", \"\\x1B[39m\"),\n\t\t\tgray: f(\"\\x1B[90m\", \"\\x1B[39m\"),\n\t\t\tbgBlack: f(\"\\x1B[40m\", \"\\x1B[49m\"),\n\t\t\tbgRed: f(\"\\x1B[41m\", \"\\x1B[49m\"),\n\t\t\tbgGreen: f(\"\\x1B[42m\", \"\\x1B[49m\"),\n\t\t\tbgYellow: f(\"\\x1B[43m\", \"\\x1B[49m\"),\n\t\t\tbgBlue: f(\"\\x1B[44m\", \"\\x1B[49m\"),\n\t\t\tbgMagenta: f(\"\\x1B[45m\", \"\\x1B[49m\"),\n\t\t\tbgCyan: f(\"\\x1B[46m\", \"\\x1B[49m\"),\n\t\t\tbgWhite: f(\"\\x1B[47m\", \"\\x1B[49m\"),\n\t\t\tblackBright: f(\"\\x1B[90m\", \"\\x1B[39m\"),\n\t\t\tredBright: f(\"\\x1B[91m\", \"\\x1B[39m\"),\n\t\t\tgreenBright: f(\"\\x1B[92m\", \"\\x1B[39m\"),\n\t\t\tyellowBright: f(\"\\x1B[93m\", \"\\x1B[39m\"),\n\t\t\tblueBright: f(\"\\x1B[94m\", \"\\x1B[39m\"),\n\t\t\tmagentaBright: f(\"\\x1B[95m\", \"\\x1B[39m\"),\n\t\t\tcyanBright: f(\"\\x1B[96m\", \"\\x1B[39m\"),\n\t\t\twhiteBright: f(\"\\x1B[97m\", \"\\x1B[39m\"),\n\t\t\tbgBlackBright: f(\"\\x1B[100m\", \"\\x1B[49m\"),\n\t\t\tbgRedBright: f(\"\\x1B[101m\", \"\\x1B[49m\"),\n\t\t\tbgGreenBright: f(\"\\x1B[102m\", \"\\x1B[49m\"),\n\t\t\tbgYellowBright: f(\"\\x1B[103m\", \"\\x1B[49m\"),\n\t\t\tbgBlueBright: f(\"\\x1B[104m\", \"\\x1B[49m\"),\n\t\t\tbgMagentaBright: f(\"\\x1B[105m\", \"\\x1B[49m\"),\n\t\t\tbgCyanBright: f(\"\\x1B[106m\", \"\\x1B[49m\"),\n\t\t\tbgWhiteBright: f(\"\\x1B[107m\", \"\\x1B[49m\")\n\t\t};\n\t};\n\tmodule.exports = createColors();\n\tmodule.exports.createColors = createColors;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js\nvar require_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tvar isMergeableObject = function isMergeableObject(value) {\n\t\treturn isNonNullObject(value) && !isSpecial(value);\n\t};\n\tfunction isNonNullObject(value) {\n\t\treturn !!value && typeof value === \"object\";\n\t}\n\tfunction isSpecial(value) {\n\t\tvar stringValue = Object.prototype.toString.call(value);\n\t\treturn stringValue === \"[object RegExp]\" || stringValue === \"[object Date]\" || isReactElement(value);\n\t}\n\tvar REACT_ELEMENT_TYPE = typeof Symbol === \"function\" && Symbol.for ? Symbol.for(\"react.element\") : 60103;\n\tfunction isReactElement(value) {\n\t\treturn value.$$typeof === REACT_ELEMENT_TYPE;\n\t}\n\tfunction emptyTarget(val) {\n\t\treturn Array.isArray(val) ? [] : {};\n\t}\n\tfunction cloneUnlessOtherwiseSpecified(value, options) {\n\t\treturn options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;\n\t}\n\tfunction defaultArrayMerge(target, source, options) {\n\t\treturn target.concat(source).map(function(element) {\n\t\t\treturn cloneUnlessOtherwiseSpecified(element, options);\n\t\t});\n\t}\n\tfunction getMergeFunction(key, options) {\n\t\tif (!options.customMerge) return deepmerge;\n\t\tvar customMerge = options.customMerge(key);\n\t\treturn typeof customMerge === \"function\" ? customMerge : deepmerge;\n\t}\n\tfunction getEnumerableOwnPropertySymbols(target) {\n\t\treturn Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol);\n\t\t}) : [];\n\t}\n\tfunction getKeys(target) {\n\t\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));\n\t}\n\tfunction propertyIsOnObject(object, property) {\n\t\ttry {\n\t\t\treturn property in object;\n\t\t} catch (_) {\n\t\t\treturn false;\n\t\t}\n\t}\n\tfunction propertyIsUnsafe(target, key) {\n\t\treturn propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));\n\t}\n\tfunction mergeObject(target, source, options) {\n\t\tvar destination = {};\n\t\tif (options.isMergeableObject(target)) getKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t\tgetKeys(source).forEach(function(key) {\n\t\t\tif (propertyIsUnsafe(target, key)) return;\n\t\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) destination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t\telse destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t});\n\t\treturn destination;\n\t}\n\tfunction deepmerge(target, source, options) {\n\t\toptions = options || {};\n\t\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\t\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\t\tvar sourceIsArray = Array.isArray(source);\n\t\tif (!(sourceIsArray === Array.isArray(target))) return cloneUnlessOtherwiseSpecified(source, options);\n\t\telse if (sourceIsArray) return options.arrayMerge(target, source, options);\n\t\telse return mergeObject(target, source, options);\n\t}\n\tdeepmerge.all = function deepmergeAll(array, options) {\n\t\tif (!Array.isArray(array)) throw new Error(\"first argument should be an array\");\n\t\treturn array.reduce(function(prev, next) {\n\t\t\treturn deepmerge(prev, next, options);\n\t\t}, {});\n\t};\n\tvar deepmerge_1 = deepmerge;\n\tmodule.exports = deepmerge_1;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js\nvar import_picocolors = /* @__PURE__ */ __toESM(require_picocolors());\nvar import_cjs = /* @__PURE__ */ __toESM(require_cjs());\nvar localClassNames = /* @__PURE__ */ new Set();\nvar composedClassLists = [];\nvar bufferedCSSObjs = [];\nvar browserRuntimeAdapter = {\n\tappendCss: (cssObj) => {\n\t\tbufferedCSSObjs.push(cssObj);\n\t},\n\tregisterClassName: (className) => {\n\t\tlocalClassNames.add(className);\n\t},\n\tregisterComposition: (composition) => {\n\t\tcomposedClassLists.push(composition);\n\t},\n\tmarkCompositionUsed: () => {},\n\tonEndFileScope: (fileScope) => {\n\t\tinjectStyles({\n\t\t\tfileScope,\n\t\t\tcss: transformCss({\n\t\t\t\tlocalClassNames: Array.from(localClassNames),\n\t\t\t\tcomposedClassLists,\n\t\t\t\tcssObjs: bufferedCSSObjs\n\t\t\t}).join(\"\\n\")\n\t\t});\n\t\tbufferedCSSObjs = [];\n\t},\n\tgetIdentOption: () => process.env.NODE_ENV === \"production\" ? \"short\" : \"debug\"\n};\nif (typeof window !== \"undefined\") setAdapterIfNotSet(browserRuntimeAdapter);\nvar getLastSlashBeforeIndex = (path, index) => {\n\tvar pathIndex = index - 1;\n\twhile (pathIndex >= 0) {\n\t\tif (path[pathIndex] === \"/\") return pathIndex;\n\t\tpathIndex--;\n\t}\n\treturn -1;\n};\n/**\n* Assumptions:\n* - The path is always normalized to use posix file separators (/) (see `addFileScope`)\n* - The path is always relative to the project root, i.e. there will never be a leading slash (see `addFileScope`)\n* - As long as `.css` is there, we have a valid `.css.*` file path, because otherwise there wouldn't\n* be a file scope to begin with\n*\n* The LRU cache we use can't cache undefined/null values, so we opt to return an empty string,\n* rather than using a custom Symbol or something similar.\n*/\nvar _getDebugFileName = (path) => {\n\tvar file;\n\tvar lastIndexOfDotCss = path.lastIndexOf(\".css\");\n\tif (lastIndexOfDotCss === -1) return \"\";\n\tvar lastSlashIndex = getLastSlashBeforeIndex(path, lastIndexOfDotCss);\n\tfile = path.slice(lastSlashIndex + 1, lastIndexOfDotCss);\n\tif (lastSlashIndex === -1) return file;\n\tvar secondLastSlashIndex = getLastSlashBeforeIndex(path, lastSlashIndex - 1);\n\tvar dir = path.slice(secondLastSlashIndex + 1, lastSlashIndex);\n\treturn file !== \"index\" ? file : dir;\n};\nvar memoizedGetDebugFileName = () => {\n\tvar cache = new LRUCache({ max: 500 });\n\treturn (path) => {\n\t\tvar cachedResult = cache.get(path);\n\t\tif (cachedResult) return cachedResult;\n\t\tvar result = _getDebugFileName(path);\n\t\tcache.set(path, result);\n\t\treturn result;\n\t};\n};\nvar getDebugFileName = memoizedGetDebugFileName();\nfunction getDevPrefix(_ref) {\n\tvar { debugId, debugFileName } = _ref;\n\tvar parts = debugId ? [debugId.replace(/\\s/g, \"_\")] : [];\n\tif (debugFileName) {\n\t\tvar { filePath } = getFileScope();\n\t\tvar _debugFileName = getDebugFileName(filePath);\n\t\tif (_debugFileName) parts.unshift(_debugFileName);\n\t}\n\treturn parts.join(\"_\");\n}\nfunction normalizeIdentifier(identifier) {\n\treturn identifier.match(/^[0-9]/) ? \"_\".concat(identifier) : identifier;\n}\nfunction generateIdentifier(arg) {\n\tvar identOption = getIdentOption();\n\tvar { debugId, debugFileName = true } = _objectSpread2$1(_objectSpread2$1({}, typeof arg === \"string\" ? { debugId: arg } : null), typeof arg === \"object\" ? arg : null);\n\tvar refCount = getAndIncrementRefCounter().toString(36);\n\tvar { filePath, packageName } = getFileScope();\n\tvar fileScopeHash = murmur2(packageName ? \"\".concat(packageName).concat(filePath) : filePath);\n\tvar identifier = \"\".concat(fileScopeHash).concat(refCount);\n\tif (identOption === \"debug\") {\n\t\tvar devPrefix = getDevPrefix({\n\t\t\tdebugId,\n\t\t\tdebugFileName\n\t\t});\n\t\tif (devPrefix) identifier = \"\".concat(devPrefix, \"__\").concat(identifier);\n\t\treturn normalizeIdentifier(identifier);\n\t}\n\tif (typeof identOption === \"function\") {\n\t\tidentifier = identOption({\n\t\t\thash: identifier,\n\t\t\tdebugId,\n\t\t\tfilePath,\n\t\t\tpackageName\n\t\t});\n\t\tif (!identifier.match(/^[A-Z_][0-9A-Z_-]+$/i)) throw new Error(\"Identifier function returned invalid indentifier: \\\"\".concat(identifier, \"\\\"\"));\n\t\treturn identifier;\n\t}\n\treturn normalizeIdentifier(identifier);\n}\nvar normaliseObject = (obj) => (0, import_vanilla_extract_private_cjs.walkObject)(obj, () => \"\");\nfunction validateContract(contract, tokens) {\n\tvar theDiff = diff_default(normaliseObject(contract), normaliseObject(tokens));\n\tvar valid = Object.keys(theDiff).length === 0;\n\treturn {\n\t\tvalid,\n\t\tdiffString: valid ? \"\" : renderDiff(contract, theDiff)\n\t};\n}\nfunction diffLine(value, nesting, type) {\n\tvar whitespace = [...Array(nesting).keys()].map(() => \" \").join(\"\");\n\tvar line = \"\".concat(type ? type : \" \").concat(whitespace).concat(value);\n\tif (process.env.NODE_ENV !== \"test\") {\n\t\tif (type === \"-\") return import_picocolors.default.red(line);\n\t\tif (type === \"+\") return import_picocolors.default.green(line);\n\t}\n\treturn line;\n}\nfunction renderDiff(orig, diff) {\n\tvar nesting = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;\n\tvar lines = [];\n\tif (nesting === 0) lines.push(diffLine(\"{\", 0));\n\tvar innerNesting = nesting + 1;\n\tfor (var key of Object.keys(diff).sort()) {\n\t\tvar value = diff[key];\n\t\tif (!(key in orig)) lines.push(diffLine(\"\".concat(key, \": ...,\"), innerNesting, \"+\"));\n\t\telse if (typeof value === \"object\") {\n\t\t\tlines.push(diffLine(\"\".concat(key, \": {\"), innerNesting));\n\t\t\tlines.push(renderDiff(orig[key], diff[key], innerNesting));\n\t\t\tlines.push(diffLine(\"}\", innerNesting));\n\t\t} else lines.push(diffLine(\"\".concat(key, \": ...,\"), innerNesting, \"-\"));\n\t}\n\tif (nesting === 0) lines.push(diffLine(\"}\", 0));\n\treturn lines.join(\"\\n\");\n}\nvar buildPropertyRule = (_ref) => {\n\tvar { syntax, inherits, initialValue } = _ref;\n\treturn _objectSpread2$1({\n\t\tsyntax: \"\\\"\".concat(Array.isArray(syntax) ? syntax.join(\" | \") : syntax, \"\\\"\"),\n\t\tinherits: inherits ? \"true\" : \"false\"\n\t}, initialValue != null ? { initialValue } : {});\n};\nfunction createVar(debugIdOrDeclaration, debugId) {\n\tvar cssVarName = (0, import_cssesc.default)(generateIdentifier({\n\t\tdebugId: typeof debugIdOrDeclaration === \"string\" ? debugIdOrDeclaration : debugId,\n\t\tdebugFileName: false\n\t}), { isIdentifier: true });\n\tif (debugIdOrDeclaration && typeof debugIdOrDeclaration === \"object\") appendCss({\n\t\ttype: \"property\",\n\t\tname: \"--\".concat(cssVarName),\n\t\trule: buildPropertyRule(debugIdOrDeclaration)\n\t}, getFileScope());\n\treturn \"var(--\".concat(cssVarName, \")\");\n}\nfunction assignVars(varContract, tokens) {\n\tvar varSetters = {};\n\tvar { valid, diffString } = validateContract(varContract, tokens);\n\tif (!valid) throw new Error(\"Tokens don't match contract.\\n\".concat(diffString));\n\t(0, import_vanilla_extract_private_cjs.walkObject)(tokens, (value, path) => {\n\t\tvarSetters[(0, import_vanilla_extract_private_cjs.get)(varContract, path)] = String(value);\n\t});\n\treturn varSetters;\n}\nfunction createThemeContract(tokens) {\n\treturn (0, import_vanilla_extract_private_cjs.walkObject)(tokens, (_value, path) => {\n\t\treturn createVar(path.join(\"-\"));\n\t});\n}\nvar _excluded = [\"@layer\"];\nfunction createGlobalTheme(selector, arg2, arg3) {\n\tvar themeContractProvided = Boolean(arg3);\n\tvar { layerName, tokens } = extractLayerFromTokens(themeContractProvided ? arg3 : arg2);\n\tvar themeContract = themeContractProvided ? arg2 : createThemeContract(tokens);\n\tvar rule = { vars: assignVars(themeContract, tokens) };\n\tif (layerName) rule = { \"@layer\": { [layerName]: rule } };\n\tappendCss({\n\t\ttype: \"global\",\n\t\tselector,\n\t\trule\n\t}, getFileScope());\n\tif (!themeContractProvided) return themeContract;\n}\nfunction extractLayerFromTokens(tokens) {\n\tif (\"@layer\" in tokens) {\n\t\tvar { \"@layer\": layerName } = tokens;\n\t\treturn {\n\t\t\tlayerName,\n\t\t\ttokens: _objectWithoutProperties(tokens, _excluded)\n\t\t};\n\t}\n\treturn { tokens };\n}\nfunction composedStyle(rules, debugId) {\n\tvar className = generateIdentifier(debugId);\n\tregisterClassName(className, getFileScope());\n\tvar classList = [];\n\tvar styleRules = [];\n\tfor (var rule of rules) if (typeof rule === \"string\") classList.push(rule);\n\telse styleRules.push(rule);\n\tvar result = className;\n\tif (classList.length > 0) {\n\t\tresult = \"\".concat(className, \" \").concat(dedupeAndJoinClassList(classList));\n\t\tregisterComposition({\n\t\t\tidentifier: className,\n\t\t\tclassList: result\n\t\t}, getFileScope());\n\t\tif (styleRules.length > 0) markCompositionUsed(className);\n\t}\n\tif (styleRules.length > 0) appendCss({\n\t\ttype: \"local\",\n\t\tselector: className,\n\t\trule: import_cjs.default.all(styleRules, { arrayMerge: (_, sourceArray) => sourceArray })\n\t}, getFileScope());\n\treturn result;\n}\nfunction style(rule, debugId) {\n\tif (Array.isArray(rule)) return composedStyle(rule, debugId);\n\tvar className = generateIdentifier(debugId);\n\tregisterClassName(className, getFileScope());\n\tappendCss({\n\t\ttype: \"local\",\n\t\tselector: className,\n\t\trule\n\t}, getFileScope());\n\treturn className;\n}\n/**\n* @deprecated The same functionality is now provided by the 'style' function when you pass it an array\n*/\nfunction composeStyles() {\n\tvar compose = hasFileScope() ? composedStyle : dedupeAndJoinClassList;\n\tfor (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) classNames[_key] = arguments[_key];\n\treturn compose(classNames);\n}\n\n//#endregion\n//#region src/contracts/border.css.ts\nconst borderContract = createThemeContract({ radius: {\n\tnone: \"\",\n\txsmall: \"\",\n\tsmall: \"\",\n\tmedium: \"\",\n\tlarge: \"\",\n\txlarge: \"\",\n\txxlarge: \"\",\n\tfull: \"\"\n} });\n\n//#endregion\n//#region src/contracts/color.css.ts\nconst SCALABLE_COLOR_TOKENS = [\n\t\"black\",\n\t\"white\",\n\t\"gray\",\n\t\"brand\",\n\t\"info\",\n\t\"success\",\n\t\"warning\",\n\t\"error\"\n];\nconst PURE_COLOR_TOKENS = [\"transparent\", ...SCALABLE_COLOR_TOKENS];\nconst COLOR_SCALES = [\n\t\"100\",\n\t\"200\",\n\t\"300\",\n\t\"400\",\n\t\"500\",\n\t\"600\",\n\t\"700\",\n\t\"800\",\n\t\"900\"\n];\nconst colorScaleContract = (color) => ({\n\t[color]: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t100: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t200: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t300: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t400: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t500: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t600: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t700: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t800: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t},\n\t900: {\n\t\tcolor: \"\",\n\t\tonColor: \"\"\n\t}\n});\nconst colorContract = createThemeContract({\n\ttransparent: \"\",\n\tblack: colorScaleContract(\"black\"),\n\twhite: colorScaleContract(\"white\"),\n\tgray: colorScaleContract(\"gray\"),\n\tbrand: colorScaleContract(\"brand\"),\n\tinfo: colorScaleContract(\"info\"),\n\tsuccess: colorScaleContract(\"success\"),\n\twarning: colorScaleContract(\"warning\"),\n\terror: colorScaleContract(\"error\")\n});\n\n//#endregion\n//#region src/contracts/font.css.ts\nconst fontSizeScale = {\n\txsmall: \"\",\n\tsmall: \"\",\n\tmedium: \"\",\n\tlarge: \"\",\n\txlarge: \"\",\n\txxlarge: \"\"\n};\nconst fontContract = createThemeContract({\n\tfamily: {\n\t\tbrand: \"\",\n\t\tsans: \"\",\n\t\tmono: \"\",\n\t\tserif: \"\"\n\t},\n\tweight: {\n\t\tlight: \"\",\n\t\tregular: \"\",\n\t\tmedium: \"\",\n\t\tsemibold: \"\",\n\t\tbold: \"\",\n\t\textrabold: \"\"\n\t},\n\tlineHeights: {\n\t\ttight: \"\",\n\t\tnormal: \"\",\n\t\tloose: \"\"\n\t},\n\tsize: {\n\t\troot: \"\",\n\t\tbody: fontSizeScale,\n\t\tlabel: fontSizeScale,\n\t\ttitle: fontSizeScale,\n\t\theadline: fontSizeScale,\n\t\tdisplay: fontSizeScale\n\t}\n});\n\n//#endregion\n//#region src/contracts/spacing.css.ts\nconst SPACING_TOKENS = [\n\t\"none\",\n\t\"xsmall\",\n\t\"small\",\n\t\"medium\",\n\t\"large\",\n\t\"xlarge\",\n\t\"xxlarge\",\n\t\"xxxlarge\",\n\t\"xxxxlarge\"\n];\nconst spacingContract = createThemeContract({\n\tnone: \"\",\n\txsmall: \"\",\n\tsmall: \"\",\n\tmedium: \"\",\n\tlarge: \"\",\n\txlarge: \"\",\n\txxlarge: \"\",\n\txxxlarge: \"\",\n\txxxxlarge: \"\"\n});\n\n//#endregion\n//#region src/contract.css.ts\nconst pitto = createThemeContract({\n\tborder: borderContract,\n\tcolor: colorContract,\n\tfont: fontContract,\n\tspacing: spacingContract\n});\n\n//#endregion\n//#region src/palette.ts\nconst PALETTE = {\n\ttransparent: \"rgba(0,0,0,0)\",\n\tblack: \"#1a1313\",\n\twhite: \"#f4f4f4\",\n\tgray: \"#757575\",\n\tbrand: \"#314CB6\",\n\tinfo: \"#0a81d1\",\n\tsuccess: \"#004f2d\",\n\twarning: \"#e9b44c\",\n\terror: \"#9b2915\"\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/css/functionSerializer/dist/vanilla-extract-css-functionSerializer.esm.js\nfunction addFunctionSerializer(target, recipe) {\n\tObject.defineProperty(target, \"__recipe__\", {\n\t\tvalue: recipe,\n\t\twritable: false\n\t});\n\treturn target;\n}\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+sprinkles@1.6.5_@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/sprinkles/dist/createSprinkles-74286718.esm.js\nfunction toPrimitive(t, r) {\n\tif (\"object\" != typeof t || !t) return t;\n\tvar e = t[Symbol.toPrimitive];\n\tif (void 0 !== e) {\n\t\tvar i = e.call(t, r || \"default\");\n\t\tif (\"object\" != typeof i) return i;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (\"string\" === r ? String : Number)(t);\n}\nfunction toPropertyKey(t) {\n\tvar i = toPrimitive(t, \"string\");\n\treturn \"symbol\" == typeof i ? i : String(i);\n}\nfunction _defineProperty(obj, key, value) {\n\tkey = toPropertyKey(key);\n\tif (key in obj) Object.defineProperty(obj, key, {\n\t\tvalue,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\telse obj[key] = value;\n\treturn obj;\n}\nfunction ownKeys(e, r) {\n\tvar t = Object.keys(e);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar o = Object.getOwnPropertySymbols(e);\n\t\tr && (o = o.filter(function(r) {\n\t\t\treturn Object.getOwnPropertyDescriptor(e, r).enumerable;\n\t\t})), t.push.apply(t, o);\n\t}\n\treturn t;\n}\nfunction _objectSpread2(e) {\n\tfor (var r = 1; r < arguments.length; r++) {\n\t\tvar t = null != arguments[r] ? arguments[r] : {};\n\t\tr % 2 ? ownKeys(Object(t), !0).forEach(function(r) {\n\t\t\t_defineProperty(e, r, t[r]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {\n\t\t\tObject.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n\t\t});\n\t}\n\treturn e;\n}\nvar createSprinkles$1 = (composeStyles) => function() {\n\tfor (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];\n\tvar sprinklesStyles = Object.assign({}, ...args.map((a) => a.styles));\n\tvar sprinklesKeys = Object.keys(sprinklesStyles);\n\tvar shorthandNames = sprinklesKeys.filter((property) => \"mappings\" in sprinklesStyles[property]);\n\tvar sprinklesFn = (props) => {\n\t\tvar classNames = [];\n\t\tvar shorthands = {};\n\t\tvar nonShorthands = _objectSpread2({}, props);\n\t\tvar hasShorthands = false;\n\t\tfor (var shorthand of shorthandNames) {\n\t\t\tvar value = props[shorthand];\n\t\t\tif (value != null) {\n\t\t\t\tvar sprinkle = sprinklesStyles[shorthand];\n\t\t\t\thasShorthands = true;\n\t\t\t\tfor (var propMapping of sprinkle.mappings) {\n\t\t\t\t\tshorthands[propMapping] = value;\n\t\t\t\t\tif (nonShorthands[propMapping] == null) delete nonShorthands[propMapping];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tvar finalProps = hasShorthands ? _objectSpread2(_objectSpread2({}, shorthands), nonShorthands) : props;\n\t\tvar _loop = function _loop() {\n\t\t\tvar propValue = finalProps[prop];\n\t\t\tvar sprinkle = sprinklesStyles[prop];\n\t\t\ttry {\n\t\t\t\tif (sprinkle.mappings) return 1;\n\t\t\t\tif (typeof propValue === \"string\" || typeof propValue === \"number\") {\n\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\t\tif (!sprinkle.values[propValue].defaultClass) throw new Error();\n\t\t\t\t\t}\n\t\t\t\t\tclassNames.push(sprinkle.values[propValue].defaultClass);\n\t\t\t\t} else if (Array.isArray(propValue)) for (var responsiveIndex = 0; responsiveIndex < propValue.length; responsiveIndex++) {\n\t\t\t\t\tvar responsiveValue = propValue[responsiveIndex];\n\t\t\t\t\tif (responsiveValue != null) {\n\t\t\t\t\t\tvar conditionName = sprinkle.responsiveArray[responsiveIndex];\n\t\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\t\t\tif (!sprinkle.values[responsiveValue].conditions[conditionName]) throw new Error();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclassNames.push(sprinkle.values[responsiveValue].conditions[conditionName]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse for (var _conditionName in propValue) {\n\t\t\t\t\tvar _value = propValue[_conditionName];\n\t\t\t\t\tif (_value != null) {\n\t\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\t\t\tif (!sprinkle.values[_value].conditions[_conditionName]) throw new Error();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclassNames.push(sprinkle.values[_value].conditions[_conditionName]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\t\tclass SprinklesError extends Error {\n\t\t\t\t\t\tconstructor(message) {\n\t\t\t\t\t\t\tsuper(message);\n\t\t\t\t\t\t\tthis.name = \"SprinklesError\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tvar format = (v) => typeof v === \"string\" ? \"\\\"\".concat(v, \"\\\"\") : v;\n\t\t\t\t\tvar invalidPropValue = (prop, value, possibleValues) => {\n\t\t\t\t\t\tthrow new SprinklesError(\"\\\"\".concat(prop, \"\\\" has no value \").concat(format(value), \". Possible values are \").concat(Object.keys(possibleValues).map(format).join(\", \")));\n\t\t\t\t\t};\n\t\t\t\t\tif (!sprinkle) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" is not a valid sprinkle\"));\n\t\t\t\t\tif (typeof propValue === \"string\" || typeof propValue === \"number\") {\n\t\t\t\t\t\tif (!(propValue in sprinkle.values)) invalidPropValue(prop, propValue, sprinkle.values);\n\t\t\t\t\t\tif (!sprinkle.values[propValue].defaultClass) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" has no default condition. You must specify which conditions to target explicitly. Possible options are \").concat(Object.keys(sprinkle.values[propValue].conditions).map(format).join(\", \")));\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof propValue === \"object\") {\n\t\t\t\t\t\tif (!(\"conditions\" in sprinkle.values[Object.keys(sprinkle.values)[0]])) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" is not a conditional property\"));\n\t\t\t\t\t\tif (Array.isArray(propValue)) {\n\t\t\t\t\t\t\tif (!(\"responsiveArray\" in sprinkle)) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" does not support responsive arrays\"));\n\t\t\t\t\t\t\tvar breakpointCount = sprinkle.responsiveArray.length;\n\t\t\t\t\t\t\tif (breakpointCount < propValue.length) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" only supports up to \").concat(breakpointCount, \" breakpoints. You passed \").concat(propValue.length));\n\t\t\t\t\t\t\tfor (var _responsiveValue of propValue) if (!sprinkle.values[_responsiveValue]) invalidPropValue(prop, _responsiveValue, sprinkle.values);\n\t\t\t\t\t\t} else for (var _conditionName2 in propValue) {\n\t\t\t\t\t\t\tvar _value2 = propValue[_conditionName2];\n\t\t\t\t\t\t\tif (_value2 != null) {\n\t\t\t\t\t\t\t\tif (!sprinkle.values[_value2]) invalidPropValue(prop, _value2, sprinkle.values);\n\t\t\t\t\t\t\t\tif (!sprinkle.values[_value2].conditions[_conditionName2]) throw new SprinklesError(\"\\\"\".concat(prop, \"\\\" has no condition named \").concat(format(_conditionName2), \". Possible values are \").concat(Object.keys(sprinkle.values[_value2].conditions).map(format).join(\", \")));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t};\n\t\tfor (var prop in finalProps) if (_loop()) continue;\n\t\treturn composeStyles(classNames.join(\" \"));\n\t};\n\treturn Object.assign(sprinklesFn, { properties: new Set(sprinklesKeys) });\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/@vanilla-extract+sprinkles@1.6.5_@vanilla-extract+css@1.18.0/node_modules/@vanilla-extract/sprinkles/dist/vanilla-extract-sprinkles.esm.js\nfunction defineProperties(options) {\n\tvar styles = \"shorthands\" in options ? Object.fromEntries(Object.entries(options.shorthands).map((_ref) => {\n\t\tvar [prop, mappings] = _ref;\n\t\treturn [prop, { mappings }];\n\t})) : {};\n\tvar _loop = function _loop(key) {\n\t\tvar property = options.properties[key];\n\t\tstyles[key] = { values: {} };\n\t\tif (\"responsiveArray\" in options) styles[key].responsiveArray = options.responsiveArray;\n\t\tvar processValue = (valueName, value) => {\n\t\t\tif (\"conditions\" in options) {\n\t\t\t\tstyles[key].values[valueName] = { conditions: {} };\n\t\t\t\tvar defaultConditions = options.defaultCondition ? Array.isArray(options.defaultCondition) ? options.defaultCondition : [options.defaultCondition] : [];\n\t\t\t\tvar defaultClasses = [];\n\t\t\t\tfor (var _conditionName in options.conditions) {\n\t\t\t\t\tvar styleValue = typeof value === \"object\" ? value : { [key]: value };\n\t\t\t\t\tvar condition = options.conditions[_conditionName];\n\t\t\t\t\tif (condition[\"@supports\"]) styleValue = { \"@supports\": { [condition[\"@supports\"]]: styleValue } };\n\t\t\t\t\tif (condition[\"@container\"]) styleValue = { \"@container\": { [condition[\"@container\"]]: styleValue } };\n\t\t\t\t\tif (condition[\"@media\"]) styleValue = { \"@media\": { [condition[\"@media\"]]: styleValue } };\n\t\t\t\t\tif (condition.selector) styleValue = { selectors: { [condition.selector]: styleValue } };\n\t\t\t\t\tif (options[\"@layer\"]) styleValue = { \"@layer\": { [options[\"@layer\"]]: styleValue } };\n\t\t\t\t\tvar className = style(styleValue, \"\".concat(key, \"_\").concat(String(valueName), \"_\").concat(_conditionName));\n\t\t\t\t\tstyles[key].values[valueName].conditions[_conditionName] = className;\n\t\t\t\t\tif (defaultConditions.indexOf(_conditionName) > -1) defaultClasses.push(className);\n\t\t\t\t}\n\t\t\t\tif (defaultClasses.length > 0) styles[key].values[valueName].defaultClass = defaultClasses.join(\" \");\n\t\t\t} else {\n\t\t\t\tvar _styleValue = typeof value === \"object\" ? value : { [key]: value };\n\t\t\t\tif (options[\"@layer\"]) _styleValue = { \"@layer\": { [options[\"@layer\"]]: _styleValue } };\n\t\t\t\tstyles[key].values[valueName] = { defaultClass: style(_styleValue, \"\".concat(key, \"_\").concat(String(valueName))) };\n\t\t\t}\n\t\t};\n\t\tif (Array.isArray(property)) for (var value of property) processValue(value, value);\n\t\telse for (var valueName in property) {\n\t\t\tvar _value = property[valueName];\n\t\t\tprocessValue(valueName, _value);\n\t\t}\n\t};\n\tfor (var key in options.properties) _loop(key);\n\treturn {\n\t\tconditions: \"conditions\" in options ? {\n\t\t\tdefaultCondition: options.defaultCondition,\n\t\t\tconditionNames: Object.keys(options.conditions),\n\t\t\tresponsiveArray: options.responsiveArray\n\t\t} : void 0,\n\t\tstyles\n\t};\n}\nvar mockComposeStyles = (classList) => classList;\nfunction createSprinkles() {\n\tfor (var _len = arguments.length, config = new Array(_len), _key = 0; _key < _len; _key++) config[_key] = arguments[_key];\n\treturn addFunctionSerializer(createSprinkles$1(hasFileScope() ? composeStyles : mockComposeStyles)(...config), {\n\t\timportPath: \"@vanilla-extract/sprinkles/createRuntimeSprinkles\",\n\t\timportName: \"createSprinkles\",\n\t\targs: config\n\t});\n}\n\n//#endregion\n//#region src/sprinkles/borders.css.ts\nconst borderProperties = defineProperties({ properties: { borderRadius: pitto.border.radius } });\n\n//#endregion\n//#region src/sprinkles/color.css.ts\nconst generateColorMap = () => {\n\tconst colorMap = {};\n\tconst colorContract = pitto.color;\n\tcolorMap[\"transparent\"] = colorContract.transparent;\n\tcolorMap[\"inherit\"] = \"inherit\";\n\tcolorMap[\"currentColor\"] = \"currentColor\";\n\tfor (const baseKey of Object.keys(colorContract)) {\n\t\tif (baseKey === \"transparent\") continue;\n\t\tconst colorScale = colorContract[baseKey];\n\t\tconst safeScale = colorScale;\n\t\tfor (const levelKey of Object.keys(colorScale)) {\n\t\t\tconst typedLevelKey = levelKey;\n\t\t\tconst levelTokens = safeScale[typedLevelKey];\n\t\t\tif (!levelTokens) continue;\n\t\t\tif (typedLevelKey === baseKey) {\n\t\t\t\tconst colorKey = baseKey;\n\t\t\t\tcolorMap[colorKey] = levelTokens.color;\n\t\t\t\tconst onColorKey = `on${baseKey.charAt(0).toUpperCase() + baseKey.slice(1)}`;\n\t\t\t\tcolorMap[onColorKey] = levelTokens.onColor;\n\t\t\t} else {\n\t\t\t\tconst scaledColorKey = `${baseKey}${typedLevelKey}`;\n\t\t\t\tcolorMap[scaledColorKey] = levelTokens.color;\n\t\t\t\tconst onScaledColorKey = `on${baseKey.charAt(0).toUpperCase() + baseKey.slice(1)}${typedLevelKey}`;\n\t\t\t\tcolorMap[onScaledColorKey] = levelTokens.onColor;\n\t\t\t}\n\t\t}\n\t}\n\treturn colorMap;\n};\nconst flatColorMap = generateColorMap();\nconst COLOR_TOKEN_KEYS = Object.keys(flatColorMap);\nconst BG_COLOR_TOKENS = COLOR_TOKEN_KEYS.filter((key) => !key.startsWith(\"on\"));\nconst colorProperties = defineProperties({\n\tproperties: {\n\t\tbackgroundColor: flatColorMap,\n\t\tcolor: flatColorMap\n\t},\n\tshorthands: {\n\t\tbg: [\"backgroundColor\"],\n\t\tc: [\"color\"]\n\t}\n});\n\n//#endregion\n//#region src/sprinkles/responsive.css.ts\nconst sizeMap = Object.assign({}, pitto.spacing, {\n\t\"100%\": \"100%\",\n\tauto: \"auto\"\n});\nconst responsiveProperties = defineProperties({\n\tconditions: {\n\t\tmobile: {},\n\t\ttablet: { \"@media\": \"screen and (min-width: 768px)\" },\n\t\tdesktop: { \"@media\": \"screen and (min-width: 1024px)\" },\n\t\twide: { \"@media\": \"screen and (min-width: 1200px)\" }\n\t},\n\tdefaultCondition: \"mobile\",\n\tproperties: {\n\t\tdisplay: [\n\t\t\t\"none\",\n\t\t\t\"block\",\n\t\t\t\"inline\",\n\t\t\t\"inline-block\",\n\t\t\t\"flex\",\n\t\t\t\"inline-flex\",\n\t\t\t\"grid\",\n\t\t\t\"inline-grid\"\n\t\t],\n\t\tgridTemplateColumns: {\n\t\t\t1: \"repeat(1, minmax(0, 1fr))\",\n\t\t\t2: \"repeat(2, minmax(0, 1fr))\",\n\t\t\t3: \"repeat(3, minmax(0, 1fr))\",\n\t\t\t4: \"repeat(4, minmax(0, 1fr))\",\n\t\t\t5: \"repeat(5, minmax(0, 1fr))\",\n\t\t\t6: \"repeat(6, minmax(0, 1fr))\",\n\t\t\t7: \"repeat(7, minmax(0, 1fr))\",\n\t\t\t8: \"repeat(8, minmax(0, 1fr))\",\n\t\t\t9: \"repeat(9, minmax(0, 1fr))\",\n\t\t\t10: \"repeat(10, minmax(0, 1fr))\",\n\t\t\t11: \"repeat(11, minmax(0, 1fr))\",\n\t\t\t12: \"repeat(12, minmax(0, 1fr))\",\n\t\t\tnone: \"none\"\n\t\t},\n\t\tgridColumn: {\n\t\t\tauto: \"auto\",\n\t\t\t\"span-1\": \"span 1 / span 1\",\n\t\t\t\"span-2\": \"span 2 / span 2\",\n\t\t\t\"span-3\": \"span 3 / span 3\",\n\t\t\t\"span-4\": \"span 4 / span 4\",\n\t\t\t\"span-5\": \"span 5 / span 5\",\n\t\t\t\"span-6\": \"span 6 / span 6\",\n\t\t\t\"span-7\": \"span 7 / span 7\",\n\t\t\t\"span-8\": \"span 8 / span 8\",\n\t\t\t\"span-9\": \"span 9 / span 9\",\n\t\t\t\"span-10\": \"span 10 / span 10\",\n\t\t\t\"span-11\": \"span 11 / span 11\",\n\t\t\t\"span-12\": \"span 12 / span 12\",\n\t\t\tfull: \"1 / -1\",\n\t\t\tstart: \"1\",\n\t\t\tend: \"-1\"\n\t\t},\n\t\tgridRow: {\n\t\t\tauto: \"auto\",\n\t\t\t\"span-1\": \"span 1 / span 1\",\n\t\t\t\"span-2\": \"span 2 / span 2\",\n\t\t\t\"span-3\": \"span 3 / span 3\",\n\t\t\t\"span-4\": \"span 4 / span 4\",\n\t\t\t\"span-5\": \"span 5 / span 5\",\n\t\t\t\"span-6\": \"span 6 / span 6\",\n\t\t\t\"span-7\": \"span 7 / span 7\",\n\t\t\t\"span-8\": \"span 8 / span 8\",\n\t\t\t\"span-9\": \"span 9 / span 9\",\n\t\t\t\"span-10\": \"span 10 / span 10\",\n\t\t\t\"span-11\": \"span 11 / span 11\",\n\t\t\t\"span-12\": \"span 12 / span 12\",\n\t\t\tfull: \"1 / -1\"\n\t\t},\n\t\tgridAutoFlow: [\n\t\t\t\"row\",\n\t\t\t\"column\",\n\t\t\t\"dense\",\n\t\t\t\"row dense\",\n\t\t\t\"column dense\"\n\t\t],\n\t\tflexDirection: [\n\t\t\t\"row\",\n\t\t\t\"column\",\n\t\t\t\"row-reverse\",\n\t\t\t\"column-reverse\"\n\t\t],\n\t\talignItems: [\n\t\t\t\"stretch\",\n\t\t\t\"flex-start\",\n\t\t\t\"center\",\n\t\t\t\"flex-end\",\n\t\t\t\"baseline\"\n\t\t],\n\t\tjustifyContent: [\n\t\t\t\"flex-start\",\n\t\t\t\"center\",\n\t\t\t\"flex-end\",\n\t\t\t\"space-between\",\n\t\t\t\"space-around\",\n\t\t\t\"space-evenly\"\n\t\t],\n\t\tflexWrap: [\n\t\t\t\"nowrap\",\n\t\t\t\"wrap\",\n\t\t\t\"wrap-reverse\"\n\t\t],\n\t\twidth: sizeMap,\n\t\tmaxWidth: {\n\t\t\tnone: \"none\",\n\t\t\t\"100%\": \"100%\",\n\t\t\tsmall: \"640px\",\n\t\t\tmedium: \"768px\",\n\t\t\tlarge: \"1024px\",\n\t\t\txlarge: \"1280px\",\n\t\t\txxlarge: \"1536px\"\n\t\t},\n\t\theight: sizeMap\n\t},\n\tshorthands: { placeItems: [\"alignItems\", \"justifyContent\"] }\n});\n\n//#endregion\n//#region src/sprinkles/spacing.css.ts\nconst spacingProperties = defineProperties({\n\tproperties: {\n\t\tpadding: pitto.spacing,\n\t\tpaddingTop: pitto.spacing,\n\t\tpaddingBottom: pitto.spacing,\n\t\tpaddingLeft: pitto.spacing,\n\t\tpaddingRight: pitto.spacing,\n\t\tpaddingX: pitto.spacing,\n\t\tpaddingY: pitto.spacing,\n\t\tmargin: pitto.spacing,\n\t\tmarginTop: pitto.spacing,\n\t\tmarginBottom: pitto.spacing,\n\t\tmarginLeft: pitto.spacing,\n\t\tmarginRight: pitto.spacing,\n\t\tmarginX: pitto.spacing,\n\t\tmarginY: pitto.spacing,\n\t\tgap: pitto.spacing,\n\t\tcolumnGap: pitto.spacing,\n\t\trowGap: pitto.spacing\n\t},\n\tshorthands: {\n\t\tp: [\"padding\"],\n\t\tpt: [\"paddingTop\"],\n\t\tpb: [\"paddingBottom\"],\n\t\tpl: [\"paddingLeft\"],\n\t\tpr: [\"paddingRight\"],\n\t\tpx: [\"paddingLeft\", \"paddingRight\"],\n\t\tpy: [\"paddingTop\", \"paddingBottom\"],\n\t\tm: [\"margin\"],\n\t\tmt: [\"marginTop\"],\n\t\tmb: [\"marginBottom\"],\n\t\tml: [\"marginLeft\"],\n\t\tmr: [\"marginRight\"],\n\t\tmx: [\"marginLeft\", \"marginRight\"],\n\t\tmy: [\"marginTop\", \"marginBottom\"],\n\t\tg: [\"gap\"],\n\t\tcg: [\"columnGap\"],\n\t\trg: [\"rowGap\"]\n\t}\n});\n\n//#endregion\n//#region src/sprinkles/typography.css.ts\nconst fontWeightMap = {\n\tlight: pitto.font.weight.light,\n\tregular: pitto.font.weight.regular,\n\tmedium: pitto.font.weight.medium,\n\tsemibold: pitto.font.weight.semibold,\n\tbold: pitto.font.weight.bold,\n\textrabold: pitto.font.weight.extrabold\n};\nconst fontSizeMap = {\n\tbodyXsmall: pitto.font.size.body.xsmall,\n\tbodySmall: pitto.font.size.body.small,\n\tbodyMedium: pitto.font.size.body.medium,\n\tbodyLarge: pitto.font.size.body.large,\n\tbodyXlarge: pitto.font.size.body.xlarge,\n\tbodyXxlarge: pitto.font.size.body.xxlarge,\n\tlabelXsmall: pitto.font.size.label.xsmall,\n\tlabelSmall: pitto.font.size.label.small,\n\tlabelMedium: pitto.font.size.label.medium,\n\tlabelLarge: pitto.font.size.label.large,\n\tlabelXlarge: pitto.font.size.label.xlarge,\n\tlabelXxlarge: pitto.font.size.label.xxlarge,\n\ttitleXsmall: pitto.font.size.title.xsmall,\n\ttitleSmall: pitto.font.size.title.small,\n\ttitleMedium: pitto.font.size.title.medium,\n\ttitleLarge: pitto.font.size.title.large,\n\ttitleXlarge: pitto.font.size.title.xlarge,\n\ttitleXxlarge: pitto.font.size.title.xxlarge,\n\theadlineXsmall: pitto.font.size.headline.xsmall,\n\theadlineSmall: pitto.font.size.headline.small,\n\theadlineMedium: pitto.font.size.headline.medium,\n\theadlineLarge: pitto.font.size.headline.large,\n\theadlineXlarge: pitto.font.size.headline.xlarge,\n\theadlineXxlarge: pitto.font.size.headline.xxlarge,\n\tdisplayXsmall: pitto.font.size.display.xsmall,\n\tdisplaySmall: pitto.font.size.display.small,\n\tdisplayMedium: pitto.font.size.display.medium,\n\tdisplayLarge: pitto.font.size.display.large,\n\tdisplayXlarge: pitto.font.size.display.xlarge,\n\tdisplayXxlarge: pitto.font.size.display.xxlarge\n};\nconst typographyProperties = defineProperties({ properties: {\n\tfontWeight: fontWeightMap,\n\tfontSize: fontSizeMap\n} });\n\n//#endregion\n//#region src/sprinkles.css.ts\nconst sprinkles = createSprinkles(borderProperties, colorProperties, responsiveProperties, spacingProperties, typographyProperties);\n\n//#endregion\n//#region src/theme/border.ts\nconst borderTheme = { radius: {\n\tnone: \"0rem\",\n\txsmall: \"0.25rem\",\n\tsmall: \"0.5rem\",\n\tmedium: \"0.75rem\",\n\tlarge: \"1rem\",\n\txlarge: \"1.75rem\",\n\txxlarge: \"3rem\",\n\tfull: \"50%\"\n} };\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-name@2.1.0/node_modules/color-name/index.js\nconst colors = {\n\taliceblue: [\n\t\t240,\n\t\t248,\n\t\t255\n\t],\n\tantiquewhite: [\n\t\t250,\n\t\t235,\n\t\t215\n\t],\n\taqua: [\n\t\t0,\n\t\t255,\n\t\t255\n\t],\n\taquamarine: [\n\t\t127,\n\t\t255,\n\t\t212\n\t],\n\tazure: [\n\t\t240,\n\t\t255,\n\t\t255\n\t],\n\tbeige: [\n\t\t245,\n\t\t245,\n\t\t220\n\t],\n\tbisque: [\n\t\t255,\n\t\t228,\n\t\t196\n\t],\n\tblack: [\n\t\t0,\n\t\t0,\n\t\t0\n\t],\n\tblanchedalmond: [\n\t\t255,\n\t\t235,\n\t\t205\n\t],\n\tblue: [\n\t\t0,\n\t\t0,\n\t\t255\n\t],\n\tblueviolet: [\n\t\t138,\n\t\t43,\n\t\t226\n\t],\n\tbrown: [\n\t\t165,\n\t\t42,\n\t\t42\n\t],\n\tburlywood: [\n\t\t222,\n\t\t184,\n\t\t135\n\t],\n\tcadetblue: [\n\t\t95,\n\t\t158,\n\t\t160\n\t],\n\tchartreuse: [\n\t\t127,\n\t\t255,\n\t\t0\n\t],\n\tchocolate: [\n\t\t210,\n\t\t105,\n\t\t30\n\t],\n\tcoral: [\n\t\t255,\n\t\t127,\n\t\t80\n\t],\n\tcornflowerblue: [\n\t\t100,\n\t\t149,\n\t\t237\n\t],\n\tcornsilk: [\n\t\t255,\n\t\t248,\n\t\t220\n\t],\n\tcrimson: [\n\t\t220,\n\t\t20,\n\t\t60\n\t],\n\tcyan: [\n\t\t0,\n\t\t255,\n\t\t255\n\t],\n\tdarkblue: [\n\t\t0,\n\t\t0,\n\t\t139\n\t],\n\tdarkcyan: [\n\t\t0,\n\t\t139,\n\t\t139\n\t],\n\tdarkgoldenrod: [\n\t\t184,\n\t\t134,\n\t\t11\n\t],\n\tdarkgray: [\n\t\t169,\n\t\t169,\n\t\t169\n\t],\n\tdarkgreen: [\n\t\t0,\n\t\t100,\n\t\t0\n\t],\n\tdarkgrey: [\n\t\t169,\n\t\t169,\n\t\t169\n\t],\n\tdarkkhaki: [\n\t\t189,\n\t\t183,\n\t\t107\n\t],\n\tdarkmagenta: [\n\t\t139,\n\t\t0,\n\t\t139\n\t],\n\tdarkolivegreen: [\n\t\t85,\n\t\t107,\n\t\t47\n\t],\n\tdarkorange: [\n\t\t255,\n\t\t140,\n\t\t0\n\t],\n\tdarkorchid: [\n\t\t153,\n\t\t50,\n\t\t204\n\t],\n\tdarkred: [\n\t\t139,\n\t\t0,\n\t\t0\n\t],\n\tdarksalmon: [\n\t\t233,\n\t\t150,\n\t\t122\n\t],\n\tdarkseagreen: [\n\t\t143,\n\t\t188,\n\t\t143\n\t],\n\tdarkslateblue: [\n\t\t72,\n\t\t61,\n\t\t139\n\t],\n\tdarkslategray: [\n\t\t47,\n\t\t79,\n\t\t79\n\t],\n\tdarkslategrey: [\n\t\t47,\n\t\t79,\n\t\t79\n\t],\n\tdarkturquoise: [\n\t\t0,\n\t\t206,\n\t\t209\n\t],\n\tdarkviolet: [\n\t\t148,\n\t\t0,\n\t\t211\n\t],\n\tdeeppink: [\n\t\t255,\n\t\t20,\n\t\t147\n\t],\n\tdeepskyblue: [\n\t\t0,\n\t\t191,\n\t\t255\n\t],\n\tdimgray: [\n\t\t105,\n\t\t105,\n\t\t105\n\t],\n\tdimgrey: [\n\t\t105,\n\t\t105,\n\t\t105\n\t],\n\tdodgerblue: [\n\t\t30,\n\t\t144,\n\t\t255\n\t],\n\tfirebrick: [\n\t\t178,\n\t\t34,\n\t\t34\n\t],\n\tfloralwhite: [\n\t\t255,\n\t\t250,\n\t\t240\n\t],\n\tforestgreen: [\n\t\t34,\n\t\t139,\n\t\t34\n\t],\n\tfuchsia: [\n\t\t255,\n\t\t0,\n\t\t255\n\t],\n\tgainsboro: [\n\t\t220,\n\t\t220,\n\t\t220\n\t],\n\tghostwhite: [\n\t\t248,\n\t\t248,\n\t\t255\n\t],\n\tgold: [\n\t\t255,\n\t\t215,\n\t\t0\n\t],\n\tgoldenrod: [\n\t\t218,\n\t\t165,\n\t\t32\n\t],\n\tgray: [\n\t\t128,\n\t\t128,\n\t\t128\n\t],\n\tgreen: [\n\t\t0,\n\t\t128,\n\t\t0\n\t],\n\tgreenyellow: [\n\t\t173,\n\t\t255,\n\t\t47\n\t],\n\tgrey: [\n\t\t128,\n\t\t128,\n\t\t128\n\t],\n\thoneydew: [\n\t\t240,\n\t\t255,\n\t\t240\n\t],\n\thotpink: [\n\t\t255,\n\t\t105,\n\t\t180\n\t],\n\tindianred: [\n\t\t205,\n\t\t92,\n\t\t92\n\t],\n\tindigo: [\n\t\t75,\n\t\t0,\n\t\t130\n\t],\n\tivory: [\n\t\t255,\n\t\t255,\n\t\t240\n\t],\n\tkhaki: [\n\t\t240,\n\t\t230,\n\t\t140\n\t],\n\tlavender: [\n\t\t230,\n\t\t230,\n\t\t250\n\t],\n\tlavenderblush: [\n\t\t255,\n\t\t240,\n\t\t245\n\t],\n\tlawngreen: [\n\t\t124,\n\t\t252,\n\t\t0\n\t],\n\tlemonchiffon: [\n\t\t255,\n\t\t250,\n\t\t205\n\t],\n\tlightblue: [\n\t\t173,\n\t\t216,\n\t\t230\n\t],\n\tlightcoral: [\n\t\t240,\n\t\t128,\n\t\t128\n\t],\n\tlightcyan: [\n\t\t224,\n\t\t255,\n\t\t255\n\t],\n\tlightgoldenrodyellow: [\n\t\t250,\n\t\t250,\n\t\t210\n\t],\n\tlightgray: [\n\t\t211,\n\t\t211,\n\t\t211\n\t],\n\tlightgreen: [\n\t\t144,\n\t\t238,\n\t\t144\n\t],\n\tlightgrey: [\n\t\t211,\n\t\t211,\n\t\t211\n\t],\n\tlightpink: [\n\t\t255,\n\t\t182,\n\t\t193\n\t],\n\tlightsalmon: [\n\t\t255,\n\t\t160,\n\t\t122\n\t],\n\tlightseagreen: [\n\t\t32,\n\t\t178,\n\t\t170\n\t],\n\tlightskyblue: [\n\t\t135,\n\t\t206,\n\t\t250\n\t],\n\tlightslategray: [\n\t\t119,\n\t\t136,\n\t\t153\n\t],\n\tlightslategrey: [\n\t\t119,\n\t\t136,\n\t\t153\n\t],\n\tlightsteelblue: [\n\t\t176,\n\t\t196,\n\t\t222\n\t],\n\tlightyellow: [\n\t\t255,\n\t\t255,\n\t\t224\n\t],\n\tlime: [\n\t\t0,\n\t\t255,\n\t\t0\n\t],\n\tlimegreen: [\n\t\t50,\n\t\t205,\n\t\t50\n\t],\n\tlinen: [\n\t\t250,\n\t\t240,\n\t\t230\n\t],\n\tmagenta: [\n\t\t255,\n\t\t0,\n\t\t255\n\t],\n\tmaroon: [\n\t\t128,\n\t\t0,\n\t\t0\n\t],\n\tmediumaquamarine: [\n\t\t102,\n\t\t205,\n\t\t170\n\t],\n\tmediumblue: [\n\t\t0,\n\t\t0,\n\t\t205\n\t],\n\tmediumorchid: [\n\t\t186,\n\t\t85,\n\t\t211\n\t],\n\tmediumpurple: [\n\t\t147,\n\t\t112,\n\t\t219\n\t],\n\tmediumseagreen: [\n\t\t60,\n\t\t179,\n\t\t113\n\t],\n\tmediumslateblue: [\n\t\t123,\n\t\t104,\n\t\t238\n\t],\n\tmediumspringgreen: [\n\t\t0,\n\t\t250,\n\t\t154\n\t],\n\tmediumturquoise: [\n\t\t72,\n\t\t209,\n\t\t204\n\t],\n\tmediumvioletred: [\n\t\t199,\n\t\t21,\n\t\t133\n\t],\n\tmidnightblue: [\n\t\t25,\n\t\t25,\n\t\t112\n\t],\n\tmintcream: [\n\t\t245,\n\t\t255,\n\t\t250\n\t],\n\tmistyrose: [\n\t\t255,\n\t\t228,\n\t\t225\n\t],\n\tmoccasin: [\n\t\t255,\n\t\t228,\n\t\t181\n\t],\n\tnavajowhite: [\n\t\t255,\n\t\t222,\n\t\t173\n\t],\n\tnavy: [\n\t\t0,\n\t\t0,\n\t\t128\n\t],\n\toldlace: [\n\t\t253,\n\t\t245,\n\t\t230\n\t],\n\tolive: [\n\t\t128,\n\t\t128,\n\t\t0\n\t],\n\tolivedrab: [\n\t\t107,\n\t\t142,\n\t\t35\n\t],\n\torange: [\n\t\t255,\n\t\t165,\n\t\t0\n\t],\n\torangered: [\n\t\t255,\n\t\t69,\n\t\t0\n\t],\n\torchid: [\n\t\t218,\n\t\t112,\n\t\t214\n\t],\n\tpalegoldenrod: [\n\t\t238,\n\t\t232,\n\t\t170\n\t],\n\tpalegreen: [\n\t\t152,\n\t\t251,\n\t\t152\n\t],\n\tpaleturquoise: [\n\t\t175,\n\t\t238,\n\t\t238\n\t],\n\tpalevioletred: [\n\t\t219,\n\t\t112,\n\t\t147\n\t],\n\tpapayawhip: [\n\t\t255,\n\t\t239,\n\t\t213\n\t],\n\tpeachpuff: [\n\t\t255,\n\t\t218,\n\t\t185\n\t],\n\tperu: [\n\t\t205,\n\t\t133,\n\t\t63\n\t],\n\tpink: [\n\t\t255,\n\t\t192,\n\t\t203\n\t],\n\tplum: [\n\t\t221,\n\t\t160,\n\t\t221\n\t],\n\tpowderblue: [\n\t\t176,\n\t\t224,\n\t\t230\n\t],\n\tpurple: [\n\t\t128,\n\t\t0,\n\t\t128\n\t],\n\trebeccapurple: [\n\t\t102,\n\t\t51,\n\t\t153\n\t],\n\tred: [\n\t\t255,\n\t\t0,\n\t\t0\n\t],\n\trosybrown: [\n\t\t188,\n\t\t143,\n\t\t143\n\t],\n\troyalblue: [\n\t\t65,\n\t\t105,\n\t\t225\n\t],\n\tsaddlebrown: [\n\t\t139,\n\t\t69,\n\t\t19\n\t],\n\tsalmon: [\n\t\t250,\n\t\t128,\n\t\t114\n\t],\n\tsandybrown: [\n\t\t244,\n\t\t164,\n\t\t96\n\t],\n\tseagreen: [\n\t\t46,\n\t\t139,\n\t\t87\n\t],\n\tseashell: [\n\t\t255,\n\t\t245,\n\t\t238\n\t],\n\tsienna: [\n\t\t160,\n\t\t82,\n\t\t45\n\t],\n\tsilver: [\n\t\t192,\n\t\t192,\n\t\t192\n\t],\n\tskyblue: [\n\t\t135,\n\t\t206,\n\t\t235\n\t],\n\tslateblue: [\n\t\t106,\n\t\t90,\n\t\t205\n\t],\n\tslategray: [\n\t\t112,\n\t\t128,\n\t\t144\n\t],\n\tslategrey: [\n\t\t112,\n\t\t128,\n\t\t144\n\t],\n\tsnow: [\n\t\t255,\n\t\t250,\n\t\t250\n\t],\n\tspringgreen: [\n\t\t0,\n\t\t255,\n\t\t127\n\t],\n\tsteelblue: [\n\t\t70,\n\t\t130,\n\t\t180\n\t],\n\ttan: [\n\t\t210,\n\t\t180,\n\t\t140\n\t],\n\tteal: [\n\t\t0,\n\t\t128,\n\t\t128\n\t],\n\tthistle: [\n\t\t216,\n\t\t191,\n\t\t216\n\t],\n\ttomato: [\n\t\t255,\n\t\t99,\n\t\t71\n\t],\n\tturquoise: [\n\t\t64,\n\t\t224,\n\t\t208\n\t],\n\tviolet: [\n\t\t238,\n\t\t130,\n\t\t238\n\t],\n\twheat: [\n\t\t245,\n\t\t222,\n\t\t179\n\t],\n\twhite: [\n\t\t255,\n\t\t255,\n\t\t255\n\t],\n\twhitesmoke: [\n\t\t245,\n\t\t245,\n\t\t245\n\t],\n\tyellow: [\n\t\t255,\n\t\t255,\n\t\t0\n\t],\n\tyellowgreen: [\n\t\t154,\n\t\t205,\n\t\t50\n\t]\n};\nfor (const key in colors) Object.freeze(colors[key]);\nvar color_name_default = Object.freeze(colors);\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-string@2.1.4/node_modules/color-string/index.js\nconst reverseNames = Object.create(null);\nfor (const name in color_name_default) if (Object.hasOwn(color_name_default, name)) reverseNames[color_name_default[name]] = name;\nconst cs = {\n\tto: {},\n\tget: {}\n};\ncs.get = function(string) {\n\tconst prefix = string.slice(0, 3).toLowerCase();\n\tlet value;\n\tlet model;\n\tswitch (prefix) {\n\t\tcase \"hsl\":\n\t\t\tvalue = cs.get.hsl(string);\n\t\t\tmodel = \"hsl\";\n\t\t\tbreak;\n\t\tcase \"hwb\":\n\t\t\tvalue = cs.get.hwb(string);\n\t\t\tmodel = \"hwb\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tvalue = cs.get.rgb(string);\n\t\t\tmodel = \"rgb\";\n\t\t\tbreak;\n\t}\n\tif (!value) return null;\n\treturn {\n\t\tmodel,\n\t\tvalue\n\t};\n};\ncs.get.rgb = function(string) {\n\tif (!string) return null;\n\tconst abbr = /^#([a-f\\d]{3,4})$/i;\n\tconst hex = /^#([a-f\\d]{6})([a-f\\d]{2})?$/i;\n\tconst rgba = /^rgba?\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(?=[\\s,])\\s*(?:,\\s*)?([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(?=[\\s,])\\s*(?:,\\s*)?([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)\\s*(?:[\\s,|/]\\s*([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(%?)\\s*)?\\)$/i;\n\tconst per = /^rgba?\\(\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*(?:[\\s,|/]\\s*([+-]?[\\d.]+)(%?)\\s*)?\\)$/i;\n\tconst keyword = /^(\\w+)$/;\n\tlet rgb = [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t1\n\t];\n\tlet match;\n\tlet i;\n\tlet hexAlpha;\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\tconst i2 = i * 2;\n\t\t\trgb[i] = Number.parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\t\tif (hexAlpha) rgb[3] = Number.parseInt(hexAlpha, 16) / 255;\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\t\tfor (i = 0; i < 3; i++) rgb[i] = Number.parseInt(match[i] + match[i], 16);\n\t\tif (hexAlpha) rgb[3] = Number.parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) rgb[i] = Number.parseFloat(match[i + 1]);\n\t\tif (match[4]) rgb[3] = match[5] ? Number.parseFloat(match[4]) * .01 : Number.parseFloat(match[4]);\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) rgb[i] = Math.round(Number.parseFloat(match[i + 1]) * 2.55);\n\t\tif (match[4]) rgb[3] = match[5] ? Number.parseFloat(match[4]) * .01 : Number.parseFloat(match[4]);\n\t} else if (match = string.toLowerCase().match(keyword)) {\n\t\tif (match[1] === \"transparent\") return [\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0\n\t\t];\n\t\tif (!Object.hasOwn(color_name_default, match[1])) return null;\n\t\trgb = color_name_default[match[1]].slice();\n\t\trgb[3] = 1;\n\t\treturn rgb;\n\t} else return null;\n\tfor (i = 0; i < 3; i++) rgb[i] = clamp(rgb[i], 0, 255);\n\trgb[3] = clamp(rgb[3], 0, 1);\n\treturn rgb;\n};\ncs.get.hsl = function(string) {\n\tif (!string) return null;\n\tconst match = string.match(/^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*(?:[,|/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:e[+-]?\\d+)?)\\s*)?\\)$/i);\n\tif (match) {\n\t\tconst alpha = Number.parseFloat(match[4]);\n\t\treturn [\n\t\t\t(Number.parseFloat(match[1]) % 360 + 360) % 360,\n\t\t\tclamp(Number.parseFloat(match[2]), 0, 100),\n\t\t\tclamp(Number.parseFloat(match[3]), 0, 100),\n\t\t\tclamp(Number.isNaN(alpha) ? 1 : alpha, 0, 1)\n\t\t];\n\t}\n\treturn null;\n};\ncs.get.hwb = function(string) {\n\tif (!string) return null;\n\tconst match = string.match(/^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*[\\s,]\\s*([+-]?[\\d.]+)%\\s*[\\s,]\\s*([+-]?[\\d.]+)%\\s*(?:[\\s,]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:e[+-]?\\d+)?)\\s*)?\\)$/i);\n\tif (match) {\n\t\tconst alpha = Number.parseFloat(match[4]);\n\t\treturn [\n\t\t\t(Number.parseFloat(match[1]) % 360 + 360) % 360,\n\t\t\tclamp(Number.parseFloat(match[2]), 0, 100),\n\t\t\tclamp(Number.parseFloat(match[3]), 0, 100),\n\t\t\tclamp(Number.isNaN(alpha) ? 1 : alpha, 0, 1)\n\t\t];\n\t}\n\treturn null;\n};\ncs.to.hex = function(...rgba) {\n\treturn \"#\" + hexDouble(rgba[0]) + hexDouble(rgba[1]) + hexDouble(rgba[2]) + (rgba[3] < 1 ? hexDouble(Math.round(rgba[3] * 255)) : \"\");\n};\ncs.to.rgb = function(...rgba) {\n\treturn rgba.length < 4 || rgba[3] === 1 ? \"rgb(\" + Math.round(rgba[0]) + \", \" + Math.round(rgba[1]) + \", \" + Math.round(rgba[2]) + \")\" : \"rgba(\" + Math.round(rgba[0]) + \", \" + Math.round(rgba[1]) + \", \" + Math.round(rgba[2]) + \", \" + rgba[3] + \")\";\n};\ncs.to.rgb.percent = function(...rgba) {\n\tconst r = Math.round(rgba[0] / 255 * 100);\n\tconst g = Math.round(rgba[1] / 255 * 100);\n\tconst b = Math.round(rgba[2] / 255 * 100);\n\treturn rgba.length < 4 || rgba[3] === 1 ? \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\" : \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + rgba[3] + \")\";\n};\ncs.to.hsl = function(...hsla) {\n\treturn hsla.length < 4 || hsla[3] === 1 ? \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\" : \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \" + hsla[3] + \")\";\n};\ncs.to.hwb = function(...hwba) {\n\tlet a = \"\";\n\tif (hwba.length >= 4 && hwba[3] !== 1) a = \", \" + hwba[3];\n\treturn \"hwb(\" + hwba[0] + \", \" + hwba[1] + \"%, \" + hwba[2] + \"%\" + a + \")\";\n};\ncs.to.keyword = function(...rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\nfunction clamp(number_, min, max) {\n\treturn Math.min(Math.max(min, number_), max);\n}\nfunction hexDouble(number_) {\n\tconst string_ = Math.round(number_).toString(16).toUpperCase();\n\treturn string_.length < 2 ? \"0\" + string_ : string_;\n}\nvar color_string_default = cs;\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/conversions.js\nconst reverseKeywords = {};\nfor (const key of Object.keys(color_name_default)) reverseKeywords[color_name_default[key]] = key;\nconst convert$1 = {\n\trgb: {\n\t\tchannels: 3,\n\t\tlabels: \"rgb\"\n\t},\n\thsl: {\n\t\tchannels: 3,\n\t\tlabels: \"hsl\"\n\t},\n\thsv: {\n\t\tchannels: 3,\n\t\tlabels: \"hsv\"\n\t},\n\thwb: {\n\t\tchannels: 3,\n\t\tlabels: \"hwb\"\n\t},\n\tcmyk: {\n\t\tchannels: 4,\n\t\tlabels: \"cmyk\"\n\t},\n\txyz: {\n\t\tchannels: 3,\n\t\tlabels: \"xyz\"\n\t},\n\tlab: {\n\t\tchannels: 3,\n\t\tlabels: \"lab\"\n\t},\n\toklab: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"okl\",\n\t\t\t\"oka\",\n\t\t\t\"okb\"\n\t\t]\n\t},\n\tlch: {\n\t\tchannels: 3,\n\t\tlabels: \"lch\"\n\t},\n\toklch: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"okl\",\n\t\t\t\"okc\",\n\t\t\t\"okh\"\n\t\t]\n\t},\n\thex: {\n\t\tchannels: 1,\n\t\tlabels: [\"hex\"]\n\t},\n\tkeyword: {\n\t\tchannels: 1,\n\t\tlabels: [\"keyword\"]\n\t},\n\tansi16: {\n\t\tchannels: 1,\n\t\tlabels: [\"ansi16\"]\n\t},\n\tansi256: {\n\t\tchannels: 1,\n\t\tlabels: [\"ansi256\"]\n\t},\n\thcg: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"h\",\n\t\t\t\"c\",\n\t\t\t\"g\"\n\t\t]\n\t},\n\tapple: {\n\t\tchannels: 3,\n\t\tlabels: [\n\t\t\t\"r16\",\n\t\t\t\"g16\",\n\t\t\t\"b16\"\n\t\t]\n\t},\n\tgray: {\n\t\tchannels: 1,\n\t\tlabels: [\"gray\"]\n\t}\n};\nvar conversions_default = convert$1;\nconst LAB_FT = (6 / 29) ** 3;\nfunction srgbNonlinearTransform(c) {\n\tconst cc = c > .0031308 ? 1.055 * c ** (1 / 2.4) - .055 : c * 12.92;\n\treturn Math.min(Math.max(0, cc), 1);\n}\nfunction srgbNonlinearTransformInv(c) {\n\treturn c > .04045 ? ((c + .055) / 1.055) ** 2.4 : c / 12.92;\n}\nfor (const model of Object.keys(convert$1)) {\n\tif (!(\"channels\" in convert$1[model])) throw new Error(\"missing channels property: \" + model);\n\tif (!(\"labels\" in convert$1[model])) throw new Error(\"missing channel labels property: \" + model);\n\tif (convert$1[model].labels.length !== convert$1[model].channels) throw new Error(\"channel and label counts mismatch: \" + model);\n\tconst { channels, labels } = convert$1[model];\n\tdelete convert$1[model].channels;\n\tdelete convert$1[model].labels;\n\tObject.defineProperty(convert$1[model], \"channels\", { value: channels });\n\tObject.defineProperty(convert$1[model], \"labels\", { value: labels });\n}\nconvert$1.rgb.hsl = function(rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\tswitch (max) {\n\t\tcase min:\n\t\t\th = 0;\n\t\t\tbreak;\n\t\tcase r:\n\t\t\th = (g - b) / delta;\n\t\t\tbreak;\n\t\tcase g:\n\t\t\th = 2 + (b - r) / delta;\n\t\t\tbreak;\n\t\tcase b:\n\t\t\th = 4 + (r - g) / delta;\n\t\t\tbreak;\n\t}\n\th = Math.min(h * 60, 360);\n\tif (h < 0) h += 360;\n\tconst l = (min + max) / 2;\n\tif (max === min) s = 0;\n\telse if (l <= .5) s = delta / (max + min);\n\telse s = delta / (2 - max - min);\n\treturn [\n\t\th,\n\t\ts * 100,\n\t\tl * 100\n\t];\n};\nconvert$1.rgb.hsv = function(rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function(c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\t\tswitch (v) {\n\t\t\tcase r:\n\t\t\t\th = bdif - gdif;\n\t\t\t\tbreak;\n\t\t\tcase g:\n\t\t\t\th = 1 / 3 + rdif - bdif;\n\t\t\t\tbreak;\n\t\t\tcase b:\n\t\t\t\th = 2 / 3 + gdif - rdif;\n\t\t\t\tbreak;\n\t\t}\n\t\tif (h < 0) h += 1;\n\t\telse if (h > 1) h -= 1;\n\t}\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\nconvert$1.rgb.hwb = function(rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert$1.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\treturn [\n\t\th,\n\t\tw * 100,\n\t\tb * 100\n\t];\n};\nconvert$1.rgb.oklab = function(rgb) {\n\tconst r = srgbNonlinearTransformInv(rgb[0] / 255);\n\tconst g = srgbNonlinearTransformInv(rgb[1] / 255);\n\tconst b = srgbNonlinearTransformInv(rgb[2] / 255);\n\tconst lp = Math.cbrt(.4122214708 * r + .5363325363 * g + .0514459929 * b);\n\tconst mp = Math.cbrt(.2119034982 * r + .6806995451 * g + .1073969566 * b);\n\tconst sp = Math.cbrt(.0883024619 * r + .2817188376 * g + .6299787005 * b);\n\tconst l = .2104542553 * lp + .793617785 * mp - .0040720468 * sp;\n\tconst aa = 1.9779984951 * lp - 2.428592205 * mp + .4505937099 * sp;\n\tconst bb = .0259040371 * lp + .7827717662 * mp - .808675766 * sp;\n\treturn [\n\t\tl * 100,\n\t\taa * 100,\n\t\tbb * 100\n\t];\n};\nconvert$1.rgb.cmyk = function(rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\treturn [\n\t\tc * 100,\n\t\tm * 100,\n\t\ty * 100,\n\t\tk * 100\n\t];\n};\nfunction comparativeDistance(x, y) {\n\treturn (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2;\n}\nconvert$1.rgb.keyword = function(rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) return reversed;\n\tlet currentClosestDistance = Number.POSITIVE_INFINITY;\n\tlet currentClosestKeyword;\n\tfor (const keyword of Object.keys(color_name_default)) {\n\t\tconst value = color_name_default[keyword];\n\t\tconst distance = comparativeDistance(rgb, value);\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\treturn currentClosestKeyword;\n};\nconvert$1.keyword.rgb = function(keyword) {\n\treturn [...color_name_default[keyword]];\n};\nconvert$1.rgb.xyz = function(rgb) {\n\tconst r = srgbNonlinearTransformInv(rgb[0] / 255);\n\tconst g = srgbNonlinearTransformInv(rgb[1] / 255);\n\tconst b = srgbNonlinearTransformInv(rgb[2] / 255);\n\tconst x = r * .4124564 + g * .3575761 + b * .1804375;\n\tconst y = r * .2126729 + g * .7151522 + b * .072175;\n\tconst z = r * .0193339 + g * .119192 + b * .9503041;\n\treturn [\n\t\tx * 100,\n\t\ty * 100,\n\t\tz * 100\n\t];\n};\nconvert$1.rgb.lab = function(rgb) {\n\tconst xyz = convert$1.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\tx = x > LAB_FT ? x ** (1 / 3) : 7.787 * x + 16 / 116;\n\ty = y > LAB_FT ? y ** (1 / 3) : 7.787 * y + 16 / 116;\n\tz = z > LAB_FT ? z ** (1 / 3) : 7.787 * z + 16 / 116;\n\treturn [\n\t\t116 * y - 16,\n\t\t500 * (x - y),\n\t\t200 * (y - z)\n\t];\n};\nconvert$1.hsl.rgb = function(hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t3;\n\tlet value;\n\tif (s === 0) {\n\t\tvalue = l * 255;\n\t\treturn [\n\t\t\tvalue,\n\t\t\tvalue,\n\t\t\tvalue\n\t\t];\n\t}\n\tconst t2 = l < .5 ? l * (1 + s) : l + s - l * s;\n\tconst t1 = 2 * l - t2;\n\tconst rgb = [\n\t\t0,\n\t\t0,\n\t\t0\n\t];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) t3++;\n\t\tif (t3 > 1) t3--;\n\t\tif (6 * t3 < 1) value = t1 + (t2 - t1) * 6 * t3;\n\t\telse if (2 * t3 < 1) value = t2;\n\t\telse if (3 * t3 < 2) value = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\telse value = t1;\n\t\trgb[i] = value * 255;\n\t}\n\treturn rgb;\n};\nconvert$1.hsl.hsv = function(hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, .01);\n\tl *= 2;\n\ts *= l <= 1 ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\treturn [\n\t\th,\n\t\t(l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s)) * 100,\n\t\tv * 100\n\t];\n};\nconvert$1.hsv.rgb = function(hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - s * f);\n\tconst t = 255 * v * (1 - s * (1 - f));\n\tv *= 255;\n\tswitch (hi) {\n\t\tcase 0: return [\n\t\t\tv,\n\t\t\tt,\n\t\t\tp\n\t\t];\n\t\tcase 1: return [\n\t\t\tq,\n\t\t\tv,\n\t\t\tp\n\t\t];\n\t\tcase 2: return [\n\t\t\tp,\n\t\t\tv,\n\t\t\tt\n\t\t];\n\t\tcase 3: return [\n\t\t\tp,\n\t\t\tq,\n\t\t\tv\n\t\t];\n\t\tcase 4: return [\n\t\t\tt,\n\t\t\tp,\n\t\t\tv\n\t\t];\n\t\tcase 5: return [\n\t\t\tv,\n\t\t\tp,\n\t\t\tq\n\t\t];\n\t}\n};\nconvert$1.hsv.hsl = function(hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, .01);\n\tlet sl;\n\tlet l;\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= lmin <= 1 ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\treturn [\n\t\th,\n\t\tsl * 100,\n\t\tl * 100\n\t];\n};\nconvert$1.hwb.rgb = function(hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\tif ((i & 1) !== 0) f = 1 - f;\n\tconst n = wh + f * (v - wh);\n\tlet r;\n\tlet g;\n\tlet b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0:\n\t\t\tr = v;\n\t\t\tg = n;\n\t\t\tb = wh;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tr = n;\n\t\t\tg = v;\n\t\t\tb = wh;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tr = wh;\n\t\t\tg = v;\n\t\t\tb = n;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tr = wh;\n\t\t\tg = n;\n\t\t\tb = v;\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tr = n;\n\t\t\tg = wh;\n\t\t\tb = v;\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tr = v;\n\t\t\tg = wh;\n\t\t\tb = n;\n\t\t\tbreak;\n\t}\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.cmyk.rgb = function(cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.xyz.rgb = function(xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\tr = x * 3.2404542 + y * -1.5371385 + z * -.4985314;\n\tg = x * -.969266 + y * 1.8760108 + z * .041556;\n\tb = x * .0556434 + y * -.2040259 + z * 1.0572252;\n\tr = srgbNonlinearTransform(r);\n\tg = srgbNonlinearTransform(g);\n\tb = srgbNonlinearTransform(b);\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.xyz.lab = function(xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\tx = x > LAB_FT ? x ** (1 / 3) : 7.787 * x + 16 / 116;\n\ty = y > LAB_FT ? y ** (1 / 3) : 7.787 * y + 16 / 116;\n\tz = z > LAB_FT ? z ** (1 / 3) : 7.787 * z + 16 / 116;\n\treturn [\n\t\t116 * y - 16,\n\t\t500 * (x - y),\n\t\t200 * (y - z)\n\t];\n};\nconvert$1.xyz.oklab = function(xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tconst lp = Math.cbrt(.8189330101 * x + .3618667424 * y - .1288597137 * z);\n\tconst mp = Math.cbrt(.0329845436 * x + .9293118715 * y + .0361456387 * z);\n\tconst sp = Math.cbrt(.0482003018 * x + .2643662691 * y + .633851707 * z);\n\tconst l = .2104542553 * lp + .793617785 * mp - .0040720468 * sp;\n\tconst a = 1.9779984951 * lp - 2.428592205 * mp + .4505937099 * sp;\n\tconst b = .0259040371 * lp + .7827717662 * mp - .808675766 * sp;\n\treturn [\n\t\tl * 100,\n\t\ta * 100,\n\t\tb * 100\n\t];\n};\nconvert$1.oklab.oklch = function(oklab) {\n\treturn convert$1.lab.lch(oklab);\n};\nconvert$1.oklab.xyz = function(oklab) {\n\tconst ll = oklab[0] / 100;\n\tconst a = oklab[1] / 100;\n\tconst b = oklab[2] / 100;\n\tconst l = (.999999998 * ll + .396337792 * a + .215803758 * b) ** 3;\n\tconst m = (1.000000008 * ll - .105561342 * a - .063854175 * b) ** 3;\n\tconst s = (1.000000055 * ll - .089484182 * a - 1.291485538 * b) ** 3;\n\tconst x = 1.227013851 * l - .55779998 * m + .281256149 * s;\n\tconst y = -.040580178 * l + 1.11225687 * m - .071676679 * s;\n\tconst z = -.076381285 * l - .421481978 * m + 1.58616322 * s;\n\treturn [\n\t\tx * 100,\n\t\ty * 100,\n\t\tz * 100\n\t];\n};\nconvert$1.oklab.rgb = function(oklab) {\n\tconst ll = oklab[0] / 100;\n\tconst aa = oklab[1] / 100;\n\tconst bb = oklab[2] / 100;\n\tconst l = (ll + .3963377774 * aa + .2158037573 * bb) ** 3;\n\tconst m = (ll - .1055613458 * aa - .0638541728 * bb) ** 3;\n\tconst s = (ll - .0894841775 * aa - 1.291485548 * bb) ** 3;\n\tconst r = srgbNonlinearTransform(4.0767416621 * l - 3.3077115913 * m + .2309699292 * s);\n\tconst g = srgbNonlinearTransform(-1.2684380046 * l + 2.6097574011 * m - .3413193965 * s);\n\tconst b = srgbNonlinearTransform(-.0041960863 * l - .7034186147 * m + 1.707614701 * s);\n\treturn [\n\t\tr * 255,\n\t\tg * 255,\n\t\tb * 255\n\t];\n};\nconvert$1.oklch.oklab = function(oklch) {\n\treturn convert$1.lch.lab(oklch);\n};\nconvert$1.lab.xyz = function(lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > LAB_FT ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > LAB_FT ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > LAB_FT ? z2 : (z - 16 / 116) / 7.787;\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\treturn [\n\t\tx,\n\t\ty,\n\t\tz\n\t];\n};\nconvert$1.lab.lch = function(lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\th = Math.atan2(b, a) * 360 / 2 / Math.PI;\n\tif (h < 0) h += 360;\n\treturn [\n\t\tl,\n\t\tMath.sqrt(a * a + b * b),\n\t\th\n\t];\n};\nconvert$1.lch.lab = function(lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst hr = lch[2] / 360 * 2 * Math.PI;\n\treturn [\n\t\tl,\n\t\tc * Math.cos(hr),\n\t\tc * Math.sin(hr)\n\t];\n};\nconvert$1.rgb.ansi16 = function(args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert$1.rgb.hsv(args)[2] : saturation;\n\tvalue = Math.round(value / 50);\n\tif (value === 0) return 30;\n\tlet ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255));\n\tif (value === 2) ansi += 60;\n\treturn ansi;\n};\nconvert$1.hsv.ansi16 = function(args) {\n\treturn convert$1.rgb.ansi16(convert$1.hsv.rgb(args), args[2]);\n};\nconvert$1.rgb.ansi256 = function(args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\tif (r >> 4 === g >> 4 && g >> 4 === b >> 4) {\n\t\tif (r < 8) return 16;\n\t\tif (r > 248) return 231;\n\t\treturn Math.round((r - 8) / 247 * 24) + 232;\n\t}\n\treturn 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5);\n};\nconvert$1.ansi16.rgb = function(args) {\n\targs = args[0];\n\tlet color = args % 10;\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) color += 3.5;\n\t\tcolor = color / 10.5 * 255;\n\t\treturn [\n\t\t\tcolor,\n\t\t\tcolor,\n\t\t\tcolor\n\t\t];\n\t}\n\tconst mult = (Math.trunc(args > 50) + 1) * .5;\n\treturn [\n\t\t(color & 1) * mult * 255,\n\t\t(color >> 1 & 1) * mult * 255,\n\t\t(color >> 2 & 1) * mult * 255\n\t];\n};\nconvert$1.ansi256.rgb = function(args) {\n\targs = args[0];\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [\n\t\t\tc,\n\t\t\tc,\n\t\t\tc\n\t\t];\n\t}\n\targs -= 16;\n\tlet rem;\n\treturn [\n\t\tMath.floor(args / 36) / 5 * 255,\n\t\tMath.floor((rem = args % 36) / 6) / 5 * 255,\n\t\trem % 6 / 5 * 255\n\t];\n};\nconvert$1.rgb.hex = function(args) {\n\tconst string = (((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255)).toString(16).toUpperCase();\n\treturn \"000000\".slice(string.length) + string;\n};\nconvert$1.hex.rgb = function(args) {\n\tconst match = args.toString(16).match(/[a-f\\d]{6}|[a-f\\d]{3}/i);\n\tif (!match) return [\n\t\t0,\n\t\t0,\n\t\t0\n\t];\n\tlet colorString = match[0];\n\tif (match[0].length === 3) colorString = [...colorString].map((char) => char + char).join(\"\");\n\tconst integer = Number.parseInt(colorString, 16);\n\treturn [\n\t\tinteger >> 16 & 255,\n\t\tinteger >> 8 & 255,\n\t\tinteger & 255\n\t];\n};\nconvert$1.rgb.hcg = function(rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = max - min;\n\tlet hue;\n\tconst grayscale = chroma < 1 ? min / (1 - chroma) : 0;\n\tif (chroma <= 0) hue = 0;\n\telse if (max === r) hue = (g - b) / chroma % 6;\n\telse if (max === g) hue = 2 + (b - r) / chroma;\n\telse hue = 4 + (r - g) / chroma;\n\thue /= 6;\n\thue %= 1;\n\treturn [\n\t\thue * 360,\n\t\tchroma * 100,\n\t\tgrayscale * 100\n\t];\n};\nconvert$1.hsl.hcg = function(hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tconst c = l < .5 ? 2 * s * l : 2 * s * (1 - l);\n\tlet f = 0;\n\tif (c < 1) f = (l - .5 * c) / (1 - c);\n\treturn [\n\t\thsl[0],\n\t\tc * 100,\n\t\tf * 100\n\t];\n};\nconvert$1.hsv.hcg = function(hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst c = s * v;\n\tlet f = 0;\n\tif (c < 1) f = (v - c) / (1 - c);\n\treturn [\n\t\thsv[0],\n\t\tc * 100,\n\t\tf * 100\n\t];\n};\nconvert$1.hcg.rgb = function(hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tif (c === 0) return [\n\t\tg * 255,\n\t\tg * 255,\n\t\tg * 255\n\t];\n\tconst pure = [\n\t\t0,\n\t\t0,\n\t\t0\n\t];\n\tconst hi = h % 1 * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1;\n\t\t\tpure[1] = v;\n\t\t\tpure[2] = 0;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tpure[0] = w;\n\t\t\tpure[1] = 1;\n\t\t\tpure[2] = 0;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tpure[0] = 0;\n\t\t\tpure[1] = 1;\n\t\t\tpure[2] = v;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tpure[0] = 0;\n\t\t\tpure[1] = w;\n\t\t\tpure[2] = 1;\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tpure[0] = v;\n\t\t\tpure[1] = 0;\n\t\t\tpure[2] = 1;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tpure[0] = 1;\n\t\t\tpure[1] = 0;\n\t\t\tpure[2] = w;\n\t}\n\tmg = (1 - c) * g;\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\nconvert$1.hcg.hsv = function(hcg) {\n\tconst c = hcg[1] / 100;\n\tconst v = c + hcg[2] / 100 * (1 - c);\n\tlet f = 0;\n\tif (v > 0) f = c / v;\n\treturn [\n\t\thcg[0],\n\t\tf * 100,\n\t\tv * 100\n\t];\n};\nconvert$1.hcg.hsl = function(hcg) {\n\tconst c = hcg[1] / 100;\n\tconst l = hcg[2] / 100 * (1 - c) + .5 * c;\n\tlet s = 0;\n\tif (l > 0 && l < .5) s = c / (2 * l);\n\telse if (l >= .5 && l < 1) s = c / (2 * (1 - l));\n\treturn [\n\t\thcg[0],\n\t\ts * 100,\n\t\tl * 100\n\t];\n};\nconvert$1.hcg.hwb = function(hcg) {\n\tconst c = hcg[1] / 100;\n\tconst v = c + hcg[2] / 100 * (1 - c);\n\treturn [\n\t\thcg[0],\n\t\t(v - c) * 100,\n\t\t(1 - v) * 100\n\t];\n};\nconvert$1.hwb.hcg = function(hwb) {\n\tconst w = hwb[1] / 100;\n\tconst v = 1 - hwb[2] / 100;\n\tconst c = v - w;\n\tlet g = 0;\n\tif (c < 1) g = (v - c) / (1 - c);\n\treturn [\n\t\thwb[0],\n\t\tc * 100,\n\t\tg * 100\n\t];\n};\nconvert$1.apple.rgb = function(apple) {\n\treturn [\n\t\tapple[0] / 65535 * 255,\n\t\tapple[1] / 65535 * 255,\n\t\tapple[2] / 65535 * 255\n\t];\n};\nconvert$1.rgb.apple = function(rgb) {\n\treturn [\n\t\trgb[0] / 255 * 65535,\n\t\trgb[1] / 255 * 65535,\n\t\trgb[2] / 255 * 65535\n\t];\n};\nconvert$1.gray.rgb = function(args) {\n\treturn [\n\t\targs[0] / 100 * 255,\n\t\targs[0] / 100 * 255,\n\t\targs[0] / 100 * 255\n\t];\n};\nconvert$1.gray.hsl = function(args) {\n\treturn [\n\t\t0,\n\t\t0,\n\t\targs[0]\n\t];\n};\nconvert$1.gray.hsv = convert$1.gray.hsl;\nconvert$1.gray.hwb = function(gray) {\n\treturn [\n\t\t0,\n\t\t100,\n\t\tgray[0]\n\t];\n};\nconvert$1.gray.cmyk = function(gray) {\n\treturn [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\tgray[0]\n\t];\n};\nconvert$1.gray.lab = function(gray) {\n\treturn [\n\t\tgray[0],\n\t\t0,\n\t\t0\n\t];\n};\nconvert$1.gray.hex = function(gray) {\n\tconst value = Math.round(gray[0] / 100 * 255) & 255;\n\tconst string = ((value << 16) + (value << 8) + value).toString(16).toUpperCase();\n\treturn \"000000\".slice(string.length) + string;\n};\nconvert$1.rgb.gray = function(rgb) {\n\treturn [(rgb[0] + rgb[1] + rgb[2]) / 3 / 255 * 100];\n};\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/route.js\nfunction buildGraph() {\n\tconst graph = {};\n\tconst models = Object.keys(conversions_default);\n\tfor (let { length } = models, i = 0; i < length; i++) graph[models[i]] = {\n\t\tdistance: -1,\n\t\tparent: null\n\t};\n\treturn graph;\n}\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel];\n\tgraph[fromModel].distance = 0;\n\twhile (queue.length > 0) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions_default[current]);\n\t\tfor (let { length } = adjacents, i = 0; i < length; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\treturn graph;\n}\nfunction link(from, to) {\n\treturn function(args) {\n\t\treturn to(from(args));\n\t};\n}\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions_default[graph[toModel].parent][toModel];\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions_default[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\tfn.conversion = path;\n\treturn fn;\n}\nfunction route(fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\tconst models = Object.keys(graph);\n\tfor (let { length } = models, i = 0; i < length; i++) {\n\t\tconst toModel = models[i];\n\t\tif (graph[toModel].parent === null) continue;\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\treturn conversion;\n}\nvar route_default = route;\n\n//#endregion\n//#region ../../node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/index.js\nconst convert = {};\nconst models = Object.keys(conversions_default);\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function(...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === void 0 || arg0 === null) return arg0;\n\t\tif (arg0.length > 1) args = arg0;\n\t\treturn fn(args);\n\t};\n\tif (\"conversion\" in fn) wrappedFn.conversion = fn.conversion;\n\treturn wrappedFn;\n}\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function(...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === void 0 || arg0 === null) return arg0;\n\t\tif (arg0.length > 1) args = arg0;\n\t\tconst result = fn(args);\n\t\tif (typeof result === \"object\") for (let { length } = result, i = 0; i < length; i++) result[i] = Math.round(result[i]);\n\t\treturn result;\n\t};\n\tif (\"conversion\" in fn) wrappedFn.conversion = fn.conversion;\n\treturn wrappedFn;\n}\nfor (const fromModel of models) {\n\tconvert[fromModel] = {};\n\tObject.defineProperty(convert[fromModel], \"channels\", { value: conversions_default[fromModel].channels });\n\tObject.defineProperty(convert[fromModel], \"labels\", { value: conversions_default[fromModel].labels });\n\tconst routes = route_default(fromModel);\n\tconst routeModels = Object.keys(routes);\n\tfor (const toModel of routeModels) {\n\t\tconst fn = routes[toModel];\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t}\n}\nvar color_convert_default = convert;\n\n//#endregion\n//#region ../../node_modules/.pnpm/color@5.0.3/node_modules/color/index.js\nconst skippedModels = [\n\t\"keyword\",\n\t\"gray\",\n\t\"hex\"\n];\nconst hashedModelKeys = {};\nfor (const model of Object.keys(color_convert_default)) hashedModelKeys[[...color_convert_default[model].labels].sort().join(\"\")] = model;\nconst limiters = {};\nfunction Color(object, model) {\n\tif (!(this instanceof Color)) return new Color(object, model);\n\tif (model && model in skippedModels) model = null;\n\tif (model && !(model in color_convert_default)) throw new Error(\"Unknown model: \" + model);\n\tlet i;\n\tlet channels;\n\tif (object == null) {\n\t\tthis.model = \"rgb\";\n\t\tthis.color = [\n\t\t\t0,\n\t\t\t0,\n\t\t\t0\n\t\t];\n\t\tthis.valpha = 1;\n\t} else if (object instanceof Color) {\n\t\tthis.model = object.model;\n\t\tthis.color = [...object.color];\n\t\tthis.valpha = object.valpha;\n\t} else if (typeof object === \"string\") {\n\t\tconst result = color_string_default.get(object);\n\t\tif (result === null) throw new Error(\"Unable to parse color from string: \" + object);\n\t\tthis.model = result.model;\n\t\tchannels = color_convert_default[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === \"number\" ? result.value[channels] : 1;\n\t} else if (object.length > 0) {\n\t\tthis.model = model || \"rgb\";\n\t\tchannels = color_convert_default[this.model].channels;\n\t\tthis.color = zeroArray(Array.prototype.slice.call(object, 0, channels), channels);\n\t\tthis.valpha = typeof object[channels] === \"number\" ? object[channels] : 1;\n\t} else if (typeof object === \"number\") {\n\t\tthis.model = \"rgb\";\n\t\tthis.color = [\n\t\t\tobject >> 16 & 255,\n\t\t\tobject >> 8 & 255,\n\t\t\tobject & 255\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\t\tconst keys = Object.keys(object);\n\t\tif (\"alpha\" in object) {\n\t\t\tkeys.splice(keys.indexOf(\"alpha\"), 1);\n\t\t\tthis.valpha = typeof object.alpha === \"number\" ? object.alpha : 0;\n\t\t}\n\t\tconst hashedKeys = keys.sort().join(\"\");\n\t\tif (!(hashedKeys in hashedModelKeys)) throw new Error(\"Unable to parse color from object: \" + JSON.stringify(object));\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\t\tconst { labels } = color_convert_default[this.model];\n\t\tconst color = [];\n\t\tfor (i = 0; i < labels.length; i++) color.push(object[labels[i]]);\n\t\tthis.color = zeroArray(color);\n\t}\n\tif (limiters[this.model]) {\n\t\tchannels = color_convert_default[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tconst limit = limiters[this.model][i];\n\t\t\tif (limit) this.color[i] = limit(this.color[i]);\n\t\t}\n\t}\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\tif (Object.freeze) Object.freeze(this);\n}\nColor.prototype = {\n\ttoString() {\n\t\treturn this.string();\n\t},\n\ttoJSON() {\n\t\treturn this[this.model]();\n\t},\n\tstring(places) {\n\t\tlet self = this.model in color_string_default.to ? this : this.rgb();\n\t\tself = self.round(typeof places === \"number\" ? places : 1);\n\t\tconst arguments_ = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn color_string_default.to[self.model](...arguments_);\n\t},\n\tpercentString(places) {\n\t\tconst self = this.rgb().round(typeof places === \"number\" ? places : 1);\n\t\tconst arguments_ = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn color_string_default.to.rgb.percent(...arguments_);\n\t},\n\tarray() {\n\t\treturn this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];\n\t},\n\tobject() {\n\t\tconst result = {};\n\t\tconst { channels } = color_convert_default[this.model];\n\t\tconst { labels } = color_convert_default[this.model];\n\t\tfor (let i = 0; i < channels; i++) result[labels[i]] = this.color[i];\n\t\tif (this.valpha !== 1) result.alpha = this.valpha;\n\t\treturn result;\n\t},\n\tunitArray() {\n\t\tconst rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\t\tif (this.valpha !== 1) rgb.push(this.valpha);\n\t\treturn rgb;\n\t},\n\tunitObject() {\n\t\tconst rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\t\tif (this.valpha !== 1) rgb.alpha = this.valpha;\n\t\treturn rgb;\n\t},\n\tround(places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);\n\t},\n\talpha(value) {\n\t\tif (value !== void 0) return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);\n\t\treturn this.valpha;\n\t},\n\tred: getset(\"rgb\", 0, maxfn(255)),\n\tgreen: getset(\"rgb\", 1, maxfn(255)),\n\tblue: getset(\"rgb\", 2, maxfn(255)),\n\thue: getset([\n\t\t\"hsl\",\n\t\t\"hsv\",\n\t\t\"hsl\",\n\t\t\"hwb\",\n\t\t\"hcg\"\n\t], 0, (value) => (value % 360 + 360) % 360),\n\tsaturationl: getset(\"hsl\", 1, maxfn(100)),\n\tlightness: getset(\"hsl\", 2, maxfn(100)),\n\tsaturationv: getset(\"hsv\", 1, maxfn(100)),\n\tvalue: getset(\"hsv\", 2, maxfn(100)),\n\tchroma: getset(\"hcg\", 1, maxfn(100)),\n\tgray: getset(\"hcg\", 2, maxfn(100)),\n\twhite: getset(\"hwb\", 1, maxfn(100)),\n\twblack: getset(\"hwb\", 2, maxfn(100)),\n\tcyan: getset(\"cmyk\", 0, maxfn(100)),\n\tmagenta: getset(\"cmyk\", 1, maxfn(100)),\n\tyellow: getset(\"cmyk\", 2, maxfn(100)),\n\tblack: getset(\"cmyk\", 3, maxfn(100)),\n\tx: getset(\"xyz\", 0, maxfn(95.047)),\n\ty: getset(\"xyz\", 1, maxfn(100)),\n\tz: getset(\"xyz\", 2, maxfn(108.833)),\n\tl: getset(\"lab\", 0, maxfn(100)),\n\ta: getset(\"lab\", 1),\n\tb: getset(\"lab\", 2),\n\tkeyword(value) {\n\t\tif (value !== void 0) return new Color(value);\n\t\treturn color_convert_default[this.model].keyword(this.color);\n\t},\n\thex(value) {\n\t\tif (value !== void 0) return new Color(value);\n\t\treturn color_string_default.to.hex(...this.rgb().round().color);\n\t},\n\thexa(value) {\n\t\tif (value !== void 0) return new Color(value);\n\t\tconst rgbArray = this.rgb().round().color;\n\t\tlet alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n\t\tif (alphaHex.length === 1) alphaHex = \"0\" + alphaHex;\n\t\treturn color_string_default.to.hex(...rgbArray) + alphaHex;\n\t},\n\trgbNumber() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn (rgb[0] & 255) << 16 | (rgb[1] & 255) << 8 | rgb[2] & 255;\n\t},\n\tluminosity() {\n\t\tconst rgb = this.rgb().color;\n\t\tconst lum = [];\n\t\tfor (const [i, element] of rgb.entries()) {\n\t\t\tconst chan = element / 255;\n\t\t\tlum[i] = chan <= .04045 ? chan / 12.92 : ((chan + .055) / 1.055) ** 2.4;\n\t\t}\n\t\treturn .2126 * lum[0] + .7152 * lum[1] + .0722 * lum[2];\n\t},\n\tcontrast(color2) {\n\t\tconst lum1 = this.luminosity();\n\t\tconst lum2 = color2.luminosity();\n\t\tif (lum1 > lum2) return (lum1 + .05) / (lum2 + .05);\n\t\treturn (lum2 + .05) / (lum1 + .05);\n\t},\n\tlevel(color2) {\n\t\tconst contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7) return \"AAA\";\n\t\treturn contrastRatio >= 4.5 ? \"AA\" : \"\";\n\t},\n\tisDark() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 1e4 < 128;\n\t},\n\tisLight() {\n\t\treturn !this.isDark();\n\t},\n\tnegate() {\n\t\tconst rgb = this.rgb();\n\t\tfor (let i = 0; i < 3; i++) rgb.color[i] = 255 - rgb.color[i];\n\t\treturn rgb;\n\t},\n\tlighten(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\tdarken(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\tsaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\tdesaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\twhiten(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\tblacken(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\tgrayscale() {\n\t\tconst rgb = this.rgb().color;\n\t\tconst value = rgb[0] * .3 + rgb[1] * .59 + rgb[2] * .11;\n\t\treturn Color.rgb(value, value, value);\n\t},\n\tfade(ratio) {\n\t\treturn this.alpha(this.valpha - this.valpha * ratio);\n\t},\n\topaquer(ratio) {\n\t\treturn this.alpha(this.valpha + this.valpha * ratio);\n\t},\n\trotate(degrees) {\n\t\tconst hsl = this.hsl();\n\t\tlet hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\tmix(mixinColor, weight) {\n\t\tif (!mixinColor || !mixinColor.rgb) throw new Error(\"Argument to \\\"mix\\\" was not a Color instance, but rather an instance of \" + typeof mixinColor);\n\t\tconst color1 = mixinColor.rgb();\n\t\tconst color2 = this.rgb();\n\t\tconst p = weight === void 0 ? .5 : weight;\n\t\tconst w = 2 * p - 1;\n\t\tconst a = color1.alpha() - color2.alpha();\n\t\tconst w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2;\n\t\tconst w2 = 1 - w1;\n\t\treturn Color.rgb(w1 * color1.red() + w2 * color2.red(), w1 * color1.green() + w2 * color2.green(), w1 * color1.blue() + w2 * color2.blue(), color1.alpha() * p + color2.alpha() * (1 - p));\n\t}\n};\nfor (const model of Object.keys(color_convert_default)) {\n\tif (skippedModels.includes(model)) continue;\n\tconst { channels } = color_convert_default[model];\n\tColor.prototype[model] = function(...arguments_) {\n\t\tif (this.model === model) return new Color(this);\n\t\tif (arguments_.length > 0) return new Color(arguments_, model);\n\t\treturn new Color([...assertArray(color_convert_default[this.model][model].raw(this.color)), this.valpha], model);\n\t};\n\tColor[model] = function(...arguments_) {\n\t\tlet color = arguments_[0];\n\t\tif (typeof color === \"number\") color = zeroArray(arguments_, channels);\n\t\treturn new Color(color, model);\n\t};\n}\nfunction roundTo(number, places) {\n\treturn Number(number.toFixed(places));\n}\nfunction roundToPlace(places) {\n\treturn function(number) {\n\t\treturn roundTo(number, places);\n\t};\n}\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\tfor (const m of model) (limiters[m] ||= [])[channel] = modifier;\n\tmodel = model[0];\n\treturn function(value) {\n\t\tlet result;\n\t\tif (value !== void 0) {\n\t\t\tif (modifier) value = modifier(value);\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = value;\n\t\t\treturn result;\n\t\t}\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) result = modifier(result);\n\t\treturn result;\n\t};\n}\nfunction maxfn(max) {\n\treturn function(v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\nfunction assertArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\nfunction zeroArray(array, length) {\n\tfor (let i = 0; i < length; i++) if (typeof array[i] !== \"number\") array[i] = 0;\n\treturn array;\n}\nvar color_default = Color;\n\n//#endregion\n//#region src/theme/color.ts\n/**\n* Returns the most readable text color (black or white) for a given background color.\n* @param hexColor The background color in hex format.\n* @param black The hex value for black, used for contrast calculation (default is PALETTE.black).\n* @param white The hex value for white, used for contrast calculation (default is PALETTE.white).\n* @returns The hex value of the recommended text color for optimal contrast.\n* @example\n* // Returns '#000000' or '#ffffff' depending on the contrast with the background\n* getContrastTextColor('#ff0000');\n*/\nconst getContrastTextColor = (hexColor, black = PALETTE.black, white = PALETTE.white) => {\n\tlet bg;\n\ttry {\n\t\tbg = color_default(hexColor);\n\t} catch {\n\t\treturn white;\n\t}\n\tconst blackColor = color_default(black);\n\tconst whiteColor = color_default(white);\n\tconst contrastWithBlack = bg.contrast(blackColor);\n\treturn bg.contrast(whiteColor) > contrastWithBlack ? white : black;\n};\n/**\n* Generates a color scale value and its appropriate contrast text color.\n* @param baseColorHex The base color in hex format.\n* @param white The hex value for white, used for contrast calculation.\n* @param black The hex value for black, used for contrast calculation.\n* @param index The scale index (0 for base, higher for lighter/darker variants).\n* @param isDark Whether the base color is considered dark (true) or light (false).\n* @returns An object with the scaled color hex and the recommended onColor for text contrast.\n* @example\n* // Example usage:\n* // getScaleValue('#ff0000', '#ffffff', '#000000', 100, true);\n*/\nconst getScaleValue = (baseColorHex, white, black, index, isDark) => {\n\tconst color = color_default(baseColorHex);\n\tconst amount = index / 1e3;\n\tlet finalColorHex;\n\tif (index === 0) finalColorHex = color.hex();\n\telse if (isDark) finalColorHex = color.lighten(amount).hex();\n\telse finalColorHex = color.darken(amount).hex();\n\treturn {\n\t\tcolor: finalColorHex,\n\t\tonColor: getContrastTextColor(finalColorHex, black, white)\n\t};\n};\n/**\n* Creates a color scale object for a given color token, generating lighter or darker variants and their contrast text colors.\n* @param colorName The scalable color token name to use as the key for the scale.\n* @param baseColorHex The base color in hex format to generate the scale from.\n* @param white The hex value for white, used for contrast calculation.\n* @param black The hex value for black, used for contrast calculation.\n* @param isDark Whether the base color is considered dark (true) or light (false).\n* @returns An object containing the color scale and recommended contrast text colors for each variant.\n* @example\n* // Example usage:\n* // createColorScale('brand', '#ff0000', '#ffffff', '#000000', true);\n*/\nconst createColorScale = (colorName, baseColorHex, white, black, isDark) => ({\n\t[colorName]: getScaleValue(baseColorHex, white, black, 0, isDark),\n\t100: getScaleValue(baseColorHex, white, black, 100, isDark),\n\t200: getScaleValue(baseColorHex, white, black, 200, isDark),\n\t300: getScaleValue(baseColorHex, white, black, 300, isDark),\n\t400: getScaleValue(baseColorHex, white, black, 400, isDark),\n\t500: getScaleValue(baseColorHex, white, black, 500, isDark),\n\t600: getScaleValue(baseColorHex, white, black, 600, isDark),\n\t700: getScaleValue(baseColorHex, white, black, 700, isDark),\n\t800: getScaleValue(baseColorHex, white, black, 800, isDark),\n\t900: getScaleValue(baseColorHex, white, black, 900, isDark)\n});\n/**\n* Creates a color scale theme object for a given color token, automatically determining if the base color is dark or light.\n* @param colorName The scalable color token name to use as the key for the scale.\n* @param baseColorHex The base color in hex format to generate the scale from.\n* @param white The hex value for white, used for contrast calculation.\n* @param black The hex value for black, used for contrast calculation.\n* @returns An object containing the color scale and recommended contrast text colors for each variant.\n* @example\n* // Example usage:\n* // createColorScaleTheme('brand', '#ff0000', '#ffffff', '#000000');\n*/\nconst createColorScaleTheme = (colorName, baseColorHex, white, black) => {\n\treturn createColorScale(colorName, baseColorHex, white, black, color_default(baseColorHex).luminosity() < .5);\n};\nconst colorTheme = {\n\ttransparent: PALETTE.transparent,\n\tblack: createColorScaleTheme(\"black\", PALETTE.black, PALETTE.white, PALETTE.black),\n\twhite: createColorScaleTheme(\"white\", PALETTE.white, PALETTE.white, PALETTE.black),\n\tgray: createColorScaleTheme(\"gray\", PALETTE.gray, PALETTE.white, PALETTE.black),\n\tbrand: createColorScaleTheme(\"brand\", PALETTE.brand, PALETTE.white, PALETTE.black),\n\tinfo: createColorScaleTheme(\"info\", PALETTE.info, PALETTE.white, PALETTE.black),\n\tsuccess: createColorScaleTheme(\"success\", PALETTE.success, PALETTE.white, PALETTE.black),\n\twarning: createColorScaleTheme(\"warning\", PALETTE.warning, PALETTE.white, PALETTE.black),\n\terror: createColorScaleTheme(\"error\", PALETTE.error, PALETTE.white, PALETTE.black)\n};\n\n//#endregion\n//#region src/theme/font.ts\nconst fontTheme = {\n\tfamily: {\n\t\tbrand: \"\\\"Momo Trust Display\\\", system-ui, -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, \\\"Helvetica Neue\\\", Arial, sans-serif\",\n\t\tsans: \"\\\"Inter Variable\\\", Inter, system-ui, -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, \\\"Helvetica Neue\\\", Arial, sans-serif\",\n\t\tmono: \"\\\"SF Mono\\\", \\\"Fira Code Variable\\\", \\\"Fira Code\\\", \\\"Fira Mono\\\", \\\"Roboto Mono\\\", monospace\",\n\t\tserif: \"\\\"Roboto Serif Variable\\\", \\\"Roboto Serif\\\", Georgia, Cambria, \\\"Times New Roman\\\", Times, serif\"\n\t},\n\tweight: {\n\t\tlight: \"200\",\n\t\tregular: \"400\",\n\t\tmedium: \"500\",\n\t\tsemibold: \"600\",\n\t\tbold: \"700\",\n\t\textrabold: \"800\"\n\t},\n\tlineHeights: {\n\t\ttight: \"1.25\",\n\t\tnormal: \"1.5\",\n\t\tloose: \"1.75\"\n\t},\n\tsize: {\n\t\troot: \"16px\",\n\t\tbody: {\n\t\t\txsmall: \"0.75rem\",\n\t\t\tsmall: \"0.875rem\",\n\t\t\tmedium: \"1rem\",\n\t\t\tlarge: \"1.125rem\",\n\t\t\txlarge: \"1.25rem\",\n\t\t\txxlarge: \"1.5rem\"\n\t\t},\n\t\tlabel: {\n\t\t\txsmall: \"0.625rem\",\n\t\t\tsmall: \"0.75rem\",\n\t\t\tmedium: \"0.875rem\",\n\t\t\tlarge: \"1rem\",\n\t\t\txlarge: \"1.125rem\",\n\t\t\txxlarge: \"1.25rem\"\n\t\t},\n\t\ttitle: {\n\t\t\txsmall: \"1.125rem\",\n\t\t\tsmall: \"1.25rem\",\n\t\t\tmedium: \"1.5rem\",\n\t\t\tlarge: \"1.75rem\",\n\t\t\txlarge: \"2rem\",\n\t\t\txxlarge: \"2.5rem\"\n\t\t},\n\t\theadline: {\n\t\t\txsmall: \"1.5rem\",\n\t\t\tsmall: \"1.75rem\",\n\t\t\tmedium: \"2rem\",\n\t\t\tlarge: \"2.5rem\",\n\t\t\txlarge: \"3rem\",\n\t\t\txxlarge: \"4rem\"\n\t\t},\n\t\tdisplay: {\n\t\t\txsmall: \"2rem\",\n\t\t\tsmall: \"3rem\",\n\t\t\tmedium: \"4rem\",\n\t\t\tlarge: \"5rem\",\n\t\t\txlarge: \"6rem\",\n\t\t\txxlarge: \"8rem\"\n\t\t}\n\t}\n};\n\n//#endregion\n//#region src/theme/spacing.ts\nconst spacingTheme = {\n\tnone: \"0rem\",\n\txsmall: \"0.25rem\",\n\tsmall: \"0.5rem\",\n\tmedium: \"0.75rem\",\n\tlarge: \"1rem\",\n\txlarge: \"1.25rem\",\n\txxlarge: \"1.75rem\",\n\txxxlarge: \"2rem\",\n\txxxxlarge: \"3rem\"\n};\n\n//#endregion\n//#region src/theme.css.ts\nconst theme = createGlobalTheme(\":root\", pitto, {\n\tborder: borderTheme,\n\tfont: fontTheme,\n\tspacing: spacingTheme,\n\tcolor: colorTheme\n});\n\n//#endregion\nexport { BG_COLOR_TOKENS, COLOR_SCALES, COLOR_TOKEN_KEYS, PALETTE, PURE_COLOR_TOKENS, SCALABLE_COLOR_TOKENS, SPACING_TOKENS, borderContract, borderProperties, borderTheme, colorContract, colorProperties, colorTheme, createColorScale, createColorScaleTheme, fontContract, fontTheme, getContrastTextColor, getScaleValue, pitto, responsiveProperties, spacingContract, spacingProperties, spacingTheme, sprinkles, theme, typographyProperties };","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import React from 'react';\n\nimport clsx from 'clsx';\n\nimport { Box, type BoxProps } from '@pittorica/box-react';\nimport { SPACING_TOKENS, type SpacingToken } from '@pittorica/styles';\n\nimport { stackStyle } from './stack.css.js';\n\nexport const STACK_DIRECTIONS = [\n 'horizontal',\n 'horizontal-reversed',\n 'vertical',\n 'vertical-reversed',\n] as const;\n\nexport type StackDirection = (typeof STACK_DIRECTIONS)[number];\n\nexport const STACK_ALIGNS = ['start', 'center', 'end', 'stretch'] as const;\n\nexport type StackAlign = (typeof STACK_ALIGNS)[number];\n\nexport const STACK_JUSTIFIES = [\n 'start',\n 'center',\n 'end',\n 'spaceBetween',\n 'spaceAround',\n 'spaceEvenly',\n] as const;\n\nexport type StackJustify = (typeof STACK_JUSTIFIES)[number];\n\nexport interface StackProps extends Omit<\n BoxProps,\n 'as' | 'display' | 'flexDirection' | 'alignItems' | 'justifyContent' | 'gap'\n> {\n direction?: StackDirection;\n align?: StackAlign;\n justify?: StackJustify;\n gap?: SpacingToken | string;\n}\n\nexport const Stack: React.FC<StackProps> = ({\n direction = 'horizontal',\n align = 'center',\n justify = 'center',\n gap,\n className,\n ...props\n}) => {\n const isGapToken = gap && SPACING_TOKENS.includes(gap as SpacingToken);\n const stackClass = isGapToken\n ? stackStyle({\n direction,\n align,\n justify,\n gap: gap as SpacingToken,\n })\n : stackStyle({\n direction,\n align,\n justify,\n });\n\n return (\n <Box\n as=\"div\"\n className={clsx(stackClass, className)}\n style={{\n ...(!SPACING_TOKENS.includes(gap as SpacingToken) && { gap: gap }),\n ...props.style,\n }}\n {...props}\n />\n );\n};\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,40,41,42],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,SAASA,wBAAsB,QAAQ,UAAQ;AAG7C,QAAO,eAAe,QAAQ,cAAc;EAC1C,OAAOC;EACP,UAAU;EACX,CAAC;AACF,QAAO;;ACPT,IAAIC,gBAAc,EAAE;AACpB,IAAIC,kBAAe,SAAQ;CACzB,IAAI,EACF,WACA,QACE;CACJ,IAAI,cAAc,UAAU,cAAc,CAAC,UAAU,aAAa,UAAU,SAAS,CAAC,KAAK,IAAI,GAAG,UAAU;CAC5G,IAAI,aAAaD,cAAY;AAC7B,KAAI,CAAC,YAAY;EACf,IAAI,UAAU,SAAS,cAAc,QAAQ;AAC7C,MAAI,UAAU,YACZ,SAAQ,aAAa,gBAAgB,UAAU,YAAY;AAE7D,UAAQ,aAAa,aAAa,UAAU,SAAS;AACrD,UAAQ,aAAa,QAAQ,WAAW;AACxC,eAAa,cAAY,eAAe;AACxC,WAAS,KAAK,YAAY,QAAQ;;AAEpC,YAAW,YAAY;;AClBzB,SAAS,WAAW,UAAU;CAC5B,IAAI,UAAU,SAAS,MAAM,gBAAgB;AAC7C,KA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AAQ;EACP;EACA;EACA;EACA;CACDxU,OAAO;EACN;EACA;EACA;EACA;CACDyU,gBAAgB;EACf;EACA;EACA;EACA;CACDrU,MAAM;EACL;EACA;EACA;EACA;CACDsU,YAAY;EACX;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACD7U,MAAM;EACL;EACA;EACA;EACA;CACD8U,UAAU;EACT;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACD3W,MAAM;EACL;EACA;EACA;EACA;CACDN,OAAO;EACN;EACA;EACA;EACA;CACDkX,aAAa;EACZ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,sBAAsB;EACrB;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACD5Y,SAAS;EACR;EACA;EACA;EACA;CACD6Y,QAAQ;EACP;EACA;EACA;EACA;CACDC,kBAAkB;EACjB;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,iBAAiB;EAChB;EACA;EACA;EACA;CACDC,mBAAmB;EAClB;EACA;EACA;EACA;CACDC,iBAAiB;EAChB;EACA;EACA;EACA;CACDC,iBAAiB;EAChB;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDlb,KAAK;EACJ;EACA;EACA;EACA;CACDmb,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,KAAK;EACJ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDnc,OAAO;EACN;EACA;EACA;EACA;CACDoc,YAAY;EACX;EACA;EACA;EACA;CACDxc,QAAQ;EACP;EACA;EACA;EACA;CACDyc,aAAa;EACZ;EACA;EACA;EAAA;CAED;AACD,KAAK,MAAMzqD,OAAO8hD,SAAQ9jD,QAAOwQ,OAAOszC,SAAO9hD,KAAK;AACpD,IAAI0qD,uBAAqB1sD,OAAOwQ,OAAOszC,SAAO;AAI9C,IAAM6I,iBAAe3sD,OAAO0K,OAAO,KAAK;AACxC,KAAK,MAAMoC,QAAQ4/C,qBAAoB,KAAI1sD,OAAO4sD,OAAOF,sBAAoB5/C,KAAK,CAAE6/C,gBAAaD,qBAAmB5/C,SAASA;AAC7H,IAAM+/C,OAAK;CACVj0C,IAAI,EAAE;CACNtM,KAAK,EAAA;CACL;AACDugD,KAAGvgD,MAAM,SAASuP,QAAQ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AI,CAAC,kBAAkB;EACvB59B,GAAG,CAAC,QAAO;EACZ;CACA,CAAC;AAIF,IAAM69B,UAAUjqC,OAAO0U,OAAO,EAAE,EAAE2wB,MAAMG,SAAS;CAChD,QAAQ;CACR0E,MAAM;CACN,CAAC;AACF,IAAMC,uBAAuB3gC,iBAAiB;CAC7C8e,YAAY;EACX8hB,QAAQ,EAAE;EACVC,QAAQ,EAAE,UAAU,iCAAiC;EACrDC,SAAS,EAAE,UAAU,kCAAkC;EACvDC,MAAM,EAAE,UAAU,kCAAiC;EACnD;CACDpC,kBAAkB;CAClBJ,YAAY;EACX/C,SAAS;GACR;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACDwF,qBAAqB;GACpB,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ9H,MAAM;GACN;EACD5e,YAAY;GACXomB,MAAM;GACN,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,WAAW;GACX,WAAW;GACX,WAAW;GACXjH,MAAM;GACNj2B,OAAO;GACPgZ,KAAK;GACL;EACD/B,SAAS;GACRimB,MAAM;GACN,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,UAAU;GACV,WAAW;GACX,WAAW;GACX,WAAW;GACXjH,MAAM;GACN;EACDwH,cAAc;GACb;GACA;GACA;GACA;GACA;GACA;EACDC,eAAe;GACd;GACA;GACA;GACA;GACA;EACDC,YAAY;GACX;GACA;GACA;GACA;GACA;GACA;EACDC,gBAAgB;GACf;GACA;GACA;GACA;GACA;GACA;GACA;EACDC,UAAU;GACT;GACA;GACA;GACA;EACDC,OAAOb;EACPc,UAAU;GACTrI,MAAM;GACN,QAAQ;GACRE,O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X,KAAKiX,SAASjC;EACxC6L,gBAAgBtJ,MAAME,KAAKzX,KAAKiX,SAAShC;EACzC6L,iBAAiBvJ,MAAME,KAAKzX,KAAKiX,SAAS/B;EAC1C6L,eAAexJ,MAAME,KAAKzX,KAAKkX,QAAQrC;EACvCmM,cAAczJ,MAAME,KAAKzX,KAAKkX,QAAQpC;EACtCmM,eAAe1J,MAAME,KAAKzX,KAAKkX,QAAQnC;EACvCmM,cAAc3J,MAAME,KAAKzX,KAAKkX,QAAQlC;EACtCmM,eAAe5J,MAAME,KAAKzX,KAAKkX,QAAQjC;EACvCmM,gBAAgB7J,MAAME,KAAKzX,KAAKkX,QAAQhC;EACxC;CAID,EAAG,CAAC;AAIJ,IAAMqM,YAAY5G,gBAAgBI,kBAAkBiB,iBAAiBK,sBAAsBe,mBAAmBiE,qBAAqB;AAInI,IAAMG,cAAc,EAAE7M,QAAQ;CAC7BC,MAAM;CACNC,QAAQ;CACRC,OAAO;CACPC,QAAQ;CACRC,OAAO;CACPC,QAAQ;CACRC,SAAS;CACTC,MAAM;CACP,EAAG;AAIH,IAAMsM,SAAS;CACdC,WAAW;EACV;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDxV,OAAO;EACN;EACA;EACA;EACA;CACDyV,gBAAgB;EACf;EACA;EACA;EACA;CACDrV,MAAM;EACL;EACA;EACA;EACA;CACDsV,YAAY;EACX;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACD7V,MAAM;EACL;EACA;EACA;EACA;CACD8V,UAAU;EACT;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACD3X,MAAM;EACL;EACA;EACA;EACA;CACDN,OAAO;EACN;EACA;EACA;EACA;CACDkY,aAAa;EACZ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,sBAAsB;EACrB;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACD5Z,SAAS;EACR;EACA;EACA;EACA;CACD6Z,QAAQ;EACP;EACA;EACA;EACA;CACDC,kBAAkB;EACjB;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,gBAAgB;EACf;EACA;EACA;EACA;CACDC,iBAAiB;EAChB;EACA;EACA;EACA;CACDC,mBAAmB;EAClB;EACA;EACA;EACA;CACDC,iBAAiB;EAChB;EACA;EACA;EACA;CACDC,iBAAiB;EAChB;EACA;EACA;EACA;CACDC,cAAc;EACb;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,OAAO;EACN;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,MAAM;EACL;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,eAAe;EACd;EACA;EACA;EACA;CACDlc,KAAK;EACJ;EACA;EACA;EACA;CACDmc,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,aAAa;EACZ;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,YAAY;EACX;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,UAAU;EACT;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,QAAQ;EACP;EACA;EACA;EACA;CACDC,SAAS;EACR;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CACDC,WAAW;EACV;EACA;EACA;EACA;CAC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