UNPKG

next

Version:

The React Framework

1 lines • 411 kB
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33250,(__turbopack_context__,module,exports)=>{},78205,(__turbopack_context__,module,exports)=>{"use strict";var React=__turbopack_context__.r(30337);function is(x,y){return x===y&&(0!==x||1/x==1/y)||x!=x&&y!=y}var objectIs="function"==typeof Object.is?Object.is:is,useState=React.useState,useEffect=React.useEffect,useLayoutEffect=React.useLayoutEffect,useDebugValue=React.useDebugValue;function useSyncExternalStore$2(subscribe,getSnapshot){var value1=getSnapshot(),_useState=useState({inst:{value:value1,getSnapshot:getSnapshot}}),inst=_useState[0].inst,forceUpdate=_useState[1];return useLayoutEffect(function(){inst.value=value1,inst.getSnapshot=getSnapshot,checkIfSnapshotChanged(inst)&&forceUpdate({inst:inst})},[subscribe,value1,getSnapshot]),useEffect(function(){return checkIfSnapshotChanged(inst)&&forceUpdate({inst:inst}),subscribe(function(){checkIfSnapshotChanged(inst)&&forceUpdate({inst:inst})})},[subscribe]),useDebugValue(value1),value1}function checkIfSnapshotChanged(inst){var latestGetSnapshot=inst.getSnapshot;inst=inst.value;try{var nextValue=latestGetSnapshot();return!objectIs(inst,nextValue)}catch(error){return!0}}function useSyncExternalStore$1(subscribe,getSnapshot){return getSnapshot()}var shim="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?useSyncExternalStore$1:useSyncExternalStore$2;exports.useSyncExternalStore=void 0!==React.useSyncExternalStore?React.useSyncExternalStore:shim},46610,(__turbopack_context__,module,exports)=>{"use strict";module.exports=__turbopack_context__.r(78205)},79331,__turbopack_context__=>{"use strict";let hook;var options,medium,SpecialModule,SizeMode,Environment,originalBodyPointerEvents,currentNonce,originalBodyPointerEvents1,originalBodyPointerEvents2,__TURBOPACK__imported__module__78555__=__turbopack_context__.i(78555),__TURBOPACK__imported__module__30337__=__turbopack_context__.i(30337);__turbopack_context__.i(33250);var __TURBOPACK__imported__module__46610__=__turbopack_context__.i(46610);let noop=()=>{},UNDEFINED=noop(),OBJECT=Object,isUndefined=v=>v===UNDEFINED,mergeObjects=(a,b)=>({...a,...b}),table=new WeakMap,counter=0,stableHash=arg=>{let result,index,type=typeof arg,constructor=arg&&arg.constructor,isDate=constructor==Date;if(OBJECT(arg)!==arg||isDate||constructor==RegExp)result=isDate?arg.toJSON():"symbol"==type?arg.toString():"string"==type?JSON.stringify(arg):""+arg;else{if(result=table.get(arg))return result;if(result=++counter+"~",table.set(arg,result),constructor==Array){for(index=0,result="@";index<arg.length;index++)result+=stableHash(arg[index])+",";table.set(arg,result)}if(constructor==OBJECT){result="#";let keys=OBJECT.keys(arg).sort();for(;!isUndefined(index=keys.pop());)isUndefined(arg[index])||(result+=index+":"+stableHash(arg[index])+",");table.set(arg,result)}}return result},SWRGlobalState=new WeakMap,EMPTY_CACHE={},INITIAL_CACHE={},STR_UNDEFINED="undefined",isWindowDefined=typeof window!=STR_UNDEFINED,isDocumentDefined=typeof document!=STR_UNDEFINED,createCacheHelper=(cache,key)=>{let state=SWRGlobalState.get(cache);return[()=>!isUndefined(key)&&cache.get(key)||EMPTY_CACHE,info=>{if(!isUndefined(key)){let prev=cache.get(key);key in INITIAL_CACHE||(INITIAL_CACHE[key]=prev),state[5](key,mergeObjects(prev,info),prev||EMPTY_CACHE)}},state[6],()=>!isUndefined(key)&&key in INITIAL_CACHE?INITIAL_CACHE[key]:!isUndefined(key)&&cache.get(key)||EMPTY_CACHE]},online=!0,[onWindowEvent,offWindowEvent]=isWindowDefined&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[noop,noop],defaultConfigOptions={initFocus:callback=>(isDocumentDefined&&document.addEventListener("visibilitychange",callback),onWindowEvent("focus",callback),()=>{isDocumentDefined&&document.removeEventListener("visibilitychange",callback),offWindowEvent("focus",callback)}),initReconnect:callback=>{let onOnline=()=>{online=!0,callback()},onOffline=()=>{online=!1};return onWindowEvent("online",onOnline),onWindowEvent("offline",onOffline),()=>{offWindowEvent("online",onOnline),offWindowEvent("offline",onOffline)}}},IS_REACT_LEGACY=!__TURBOPACK__imported__module__30337__.default.useId,IS_SERVER=!isWindowDefined||"Deno"in window,useIsomorphicLayoutEffect=IS_SERVER?__TURBOPACK__imported__module__30337__.useEffect:__TURBOPACK__imported__module__30337__.useLayoutEffect,navigatorConnection="undefined"!=typeof navigator&&navigator.connection,slowConnection=!IS_SERVER&&navigatorConnection&&(["slow-2g","2g"].includes(navigatorConnection.effectiveType)||navigatorConnection.saveData),serialize=key=>{if("function"==typeof key)try{key=key()}catch(err){key=""}let args=key;return[key="string"==typeof key?key:(Array.isArray(key)?key.length:key)?stableHash(key):"",args]},__timestamp=0,getTimestamp=()=>++__timestamp;async function internalMutate(...args){let[cache,_key,_data,_opts]=args,options=mergeObjects({populateCache:!0,throwOnError:!0},"boolean"==typeof _opts?{revalidate:_opts}:_opts||{}),populateCache=options.populateCache,rollbackOnErrorOption=options.rollbackOnError,optimisticData=options.optimisticData,revalidate=!1!==options.revalidate,throwOnError=options.throwOnError;if("function"==typeof _key){let matchedKeys=[];for(let key of cache.keys())!/^\$(inf|sub)\$/.test(key)&&_key(cache.get(key)._k)&&matchedKeys.push(key);return Promise.all(matchedKeys.map(mutateByKey))}return mutateByKey(_key);async function mutateByKey(_k){let error,[key]=serialize(_k);if(!key)return;let[get,set]=createCacheHelper(cache,key),[EVENT_REVALIDATORS,MUTATION,FETCH,PRELOAD]=SWRGlobalState.get(cache),startRevalidate=()=>{let revalidators=EVENT_REVALIDATORS[key];return revalidate&&(delete FETCH[key],delete PRELOAD[key],revalidators&&revalidators[0])?revalidators[0](2).then(()=>get().data):get().data};if(args.length<3)return startRevalidate();let data=_data,beforeMutationTs=getTimestamp();MUTATION[key]=[beforeMutationTs,0];let hasOptimisticData=!isUndefined(optimisticData),state=get(),displayedData=state.data,currentData=state._c,committedData=isUndefined(currentData)?displayedData:currentData;if(hasOptimisticData&&set({data:optimisticData="function"==typeof optimisticData?optimisticData(committedData,displayedData):optimisticData,_c:committedData}),"function"==typeof data)try{data=data(committedData)}catch(err){error=err}if(data&&"function"==typeof data.then){let error1;if(data=await data.catch(err=>{error=err}),beforeMutationTs!==MUTATION[key][0]){if(error)throw error;return data}error&&hasOptimisticData&&(error1=error,"function"==typeof rollbackOnErrorOption?rollbackOnErrorOption(error1):!1!==rollbackOnErrorOption)&&(populateCache=!0,set({data:committedData,_c:UNDEFINED}))}if(populateCache&&!error&&("function"==typeof populateCache?set({data:populateCache(data,committedData),error:UNDEFINED,_c:UNDEFINED}):set({data,error:UNDEFINED,_c:UNDEFINED})),MUTATION[key][1]=getTimestamp(),Promise.resolve(startRevalidate()).then(()=>{set({_c:UNDEFINED})}),error){if(throwOnError)throw error;return}return data}}let revalidateAllKeys=(revalidators,type)=>{for(let key in revalidators)revalidators[key][0]&&revalidators[key][0](type)},initCache=(provider,options)=>{if(!SWRGlobalState.has(provider)){let opts=mergeObjects(defaultConfigOptions,options),EVENT_REVALIDATORS={},mutate=internalMutate.bind(UNDEFINED,provider),unmount=noop,subscriptions={},subscribe=(key,callback)=>{let subs=subscriptions[key]||[];return subscriptions[key]=subs,subs.push(callback),()=>subs.splice(subs.indexOf(callback),1)},setter=(key,value1,prev)=>{provider.set(key,value1);let subs=subscriptions[key];if(subs)for(let fn of subs)fn(value1,prev)},initProvider=()=>{if(!SWRGlobalState.has(provider)&&(SWRGlobalState.set(provider,[EVENT_REVALIDATORS,{},{},{},mutate,setter,subscribe]),!IS_SERVER)){let releaseFocus=opts.initFocus(setTimeout.bind(UNDEFINED,revalidateAllKeys.bind(UNDEFINED,EVENT_REVALIDATORS,0))),releaseReconnect=opts.initReconnect(setTimeout.bind(UNDEFINED,revalidateAllKeys.bind(UNDEFINED,EVENT_REVALIDATORS,1)));unmount=()=>{releaseFocus&&releaseFocus(),releaseReconnect&&releaseReconnect(),SWRGlobalState.delete(provider)}}};return initProvider(),[provider,mutate,initProvider,unmount]}return[provider,SWRGlobalState.get(provider)[4]]},[cache,mutate]=initCache(new Map),defaultConfig=mergeObjects({onLoadingSlow:noop,onSuccess:noop,onError:noop,onErrorRetry:(_,__,config,revalidate,opts)=>{let maxRetryCount=config.errorRetryCount,currentRetryCount=opts.retryCount,timeout=~~((Math.random()+.5)*(1<<(currentRetryCount<8?currentRetryCount:8)))*config.errorRetryInterval;(isUndefined(maxRetryCount)||!(currentRetryCount>maxRetryCount))&&setTimeout(revalidate,timeout,opts)},onDiscarded:noop,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:slowConnection?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:slowConnection?5e3:3e3,compare:(currentData,newData)=>stableHash(currentData)==stableHash(newData),isPaused:()=>!1,cache,mutate,fallback:{}},{isOnline:()=>online,isVisible:()=>{let visibilityState=isDocumentDefined&&document.visibilityState;return isUndefined(visibilityState)||"hidden"!==visibilityState}}),mergeConfigs=(a,b)=>{let v=mergeObjects(a,b);if(b){let{use:u1,fallback:f1}=a,{use:u2,fallback:f2}=b;u1&&u2&&(v.use=u1.concat(u2)),f1&&f2&&(v.fallback=mergeObjects(f1,f2))}return v},SWRConfigContext=(0,__TURBOPACK__imported__module__30337__.createContext)({}),enableDevtools=isWindowDefined&&window.__SWR_DEVTOOLS_USE__,BUILT_IN_MIDDLEWARE=(enableDevtools?window.__SWR_DEVTOOLS_USE__:[]).concat(useSWRNext=>(key_,fetcher_,config)=>{let fetcher=fetcher_&&((...args)=>{let[key]=serialize(key_),[,,,PRELOAD]=SWRGlobalState.get(cache);if(key.startsWith("$inf$"))return fetcher_(...args);let req=PRELOAD[key];return isUndefined(req)?fetcher_(...args):(delete PRELOAD[key],req)});return useSWRNext(key_,fetcher,config)});enableDevtools&&(window.__SWR_DEVTOOLS_REACT__=__TURBOPACK__imported__module__30337__.default);let use1=__TURBOPACK__imported__module__30337__.default.use||(promise=>{if("pending"===promise.status)throw promise;if("fulfilled"===promise.status)return promise.value;if("rejected"===promise.status)throw promise.reason;throw promise.status="pending",promise.then(v=>{promise.status="fulfilled",promise.value=v},e=>{promise.status="rejected",promise.reason=e}),promise}),WITH_DEDUPE={dedupe:!0};OBJECT.defineProperty(props=>{let{value:value1}=props,parentConfig=(0,__TURBOPACK__imported__module__30337__.useContext)(SWRConfigContext),isFunctionalConfig="function"==typeof value1,config=(0,__TURBOPACK__imported__module__30337__.useMemo)(()=>isFunctionalConfig?value1(parentConfig):value1,[isFunctionalConfig,parentConfig,value1]),extendedConfig=(0,__TURBOPACK__imported__module__30337__.useMemo)(()=>isFunctionalConfig?config:mergeConfigs(parentConfig,config),[isFunctionalConfig,parentConfig,config]),provider=config&&config.provider,cacheContextRef=(0,__TURBOPACK__imported__module__30337__.useRef)(UNDEFINED);provider&&!cacheContextRef.current&&(cacheContextRef.current=initCache(provider(extendedConfig.cache||cache),config));let cacheContext=cacheContextRef.current;return cacheContext&&(extendedConfig.cache=cacheContext[0],extendedConfig.mutate=cacheContext[1]),useIsomorphicLayoutEffect(()=>{if(cacheContext)return cacheContext[2]&&cacheContext[2](),cacheContext[3]},[]),(0,__TURBOPACK__imported__module__30337__.createElement)(SWRConfigContext.Provider,mergeObjects(props,{value:extendedConfig}))},"defaultValue",{value:defaultConfig});let useSWR=(hook=(_key,fetcher,config)=>{let{cache,compare,suspense,fallbackData,revalidateOnMount,revalidateIfStale,refreshInterval,refreshWhenHidden,refreshWhenOffline,keepPreviousData}=config,[EVENT_REVALIDATORS,MUTATION,FETCH,PRELOAD]=SWRGlobalState.get(cache),[key,fnArg]=serialize(_key),initialMountedRef=(0,__TURBOPACK__imported__module__30337__.useRef)(!1),unmountedRef=(0,__TURBOPACK__imported__module__30337__.useRef)(!1),keyRef=(0,__TURBOPACK__imported__module__30337__.useRef)(key),fetcherRef=(0,__TURBOPACK__imported__module__30337__.useRef)(fetcher),configRef=(0,__TURBOPACK__imported__module__30337__.useRef)(config),isActive=()=>configRef.current.isVisible()&&configRef.current.isOnline(),[getCache,setCache,subscribeCache,getInitialCache]=createCacheHelper(cache,key),stateDependencies=(0,__TURBOPACK__imported__module__30337__.useRef)({}).current,fallback=isUndefined(fallbackData)?config.fallback[key]:fallbackData,isEqual=(prev,current)=>{for(let _ in stateDependencies)if("data"===_){if(!compare(prev[_],current[_])&&(!isUndefined(prev[_])||!compare(returnedData,current[_])))return!1}else if(current[_]!==prev[_])return!1;return!0},getSnapshot=(0,__TURBOPACK__imported__module__30337__.useMemo)(()=>{let shouldStartRequest=!!key&&!!fetcher&&(isUndefined(revalidateOnMount)?!configRef.current.isPaused()&&!suspense&&(!!isUndefined(revalidateIfStale)||revalidateIfStale):revalidateOnMount),getSelectedCache=state=>{let snapshot=mergeObjects(state);return(delete snapshot._k,shouldStartRequest)?{isValidating:!0,isLoading:!0,...snapshot}:snapshot},cachedData=getCache(),initialData=getInitialCache(),clientSnapshot=getSelectedCache(cachedData),serverSnapshot=cachedData===initialData?clientSnapshot:getSelectedCache(initialData),memorizedSnapshot=clientSnapshot;return[()=>{let newSnapshot=getSelectedCache(getCache());return isEqual(newSnapshot,memorizedSnapshot)?(memorizedSnapshot.data=newSnapshot.data,memorizedSnapshot.isLoading=newSnapshot.isLoading,memorizedSnapshot.isValidating=newSnapshot.isValidating,memorizedSnapshot.error=newSnapshot.error,memorizedSnapshot):(memorizedSnapshot=newSnapshot,newSnapshot)},()=>serverSnapshot]},[cache,key]),cached=(0,__TURBOPACK__imported__module__46610__.useSyncExternalStore)((0,__TURBOPACK__imported__module__30337__.useCallback)(callback=>subscribeCache(key,(current,prev)=>{isEqual(prev,current)||callback()}),[cache,key]),getSnapshot[0],getSnapshot[1]),isInitialMount=!initialMountedRef.current,hasRevalidator=EVENT_REVALIDATORS[key]&&EVENT_REVALIDATORS[key].length>0,cachedData=cached.data,data=isUndefined(cachedData)?fallback:cachedData,error=cached.error,laggyDataRef=(0,__TURBOPACK__imported__module__30337__.useRef)(data),returnedData=keepPreviousData?isUndefined(cachedData)?laggyDataRef.current:cachedData:data,shouldDoInitialRevalidation=(!hasRevalidator||!!isUndefined(error))&&(isInitialMount&&!isUndefined(revalidateOnMount)?revalidateOnMount:!configRef.current.isPaused()&&(suspense?!isUndefined(data)&&revalidateIfStale:isUndefined(data)||revalidateIfStale)),defaultValidatingState=!!(key&&fetcher&&isInitialMount&&shouldDoInitialRevalidation),isValidating=isUndefined(cached.isValidating)?defaultValidatingState:cached.isValidating,isLoading=isUndefined(cached.isLoading)?defaultValidatingState:cached.isLoading,revalidate=(0,__TURBOPACK__imported__module__30337__.useCallback)(async revalidateOpts=>{let newData,startAt,currentFetcher=fetcherRef.current;if(!key||!currentFetcher||unmountedRef.current||configRef.current.isPaused())return!1;let loading=!0,opts=revalidateOpts||{},shouldStartNewRequest=!FETCH[key]||!opts.dedupe,callbackSafeguard=()=>IS_REACT_LEGACY?!unmountedRef.current&&key===keyRef.current&&initialMountedRef.current:key===keyRef.current,finalState={isValidating:!1,isLoading:!1},finishRequestAndUpdateState=()=>{setCache(finalState)},cleanupState=()=>{let requestInfo=FETCH[key];requestInfo&&requestInfo[1]===startAt&&delete FETCH[key]},initialState={isValidating:!0};isUndefined(getCache().data)&&(initialState.isLoading=!0);try{if(shouldStartNewRequest&&(setCache(initialState),config.loadingTimeout&&isUndefined(getCache().data)&&setTimeout(()=>{loading&&callbackSafeguard()&&configRef.current.onLoadingSlow(key,config)},config.loadingTimeout),FETCH[key]=[currentFetcher(fnArg),getTimestamp()]),[newData,startAt]=FETCH[key],newData=await newData,shouldStartNewRequest&&setTimeout(cleanupState,config.dedupingInterval),!FETCH[key]||FETCH[key][1]!==startAt)return shouldStartNewRequest&&callbackSafeguard()&&configRef.current.onDiscarded(key),!1;finalState.error=UNDEFINED;let mutationInfo=MUTATION[key];if(!isUndefined(mutationInfo)&&(startAt<=mutationInfo[0]||startAt<=mutationInfo[1]||0===mutationInfo[1]))return finishRequestAndUpdateState(),shouldStartNewRequest&&callbackSafeguard()&&configRef.current.onDiscarded(key),!1;let cacheData=getCache().data;finalState.data=compare(cacheData,newData)?cacheData:newData,shouldStartNewRequest&&callbackSafeguard()&&configRef.current.onSuccess(newData,key,config)}catch(err){cleanupState();let currentConfig=configRef.current,{shouldRetryOnError}=currentConfig;!currentConfig.isPaused()&&(finalState.error=err,shouldStartNewRequest&&callbackSafeguard())&&(currentConfig.onError(err,key,currentConfig),(!0===shouldRetryOnError||"function"==typeof shouldRetryOnError&&shouldRetryOnError(err))&&isActive()&&currentConfig.onErrorRetry(err,key,currentConfig,_opts=>{let revalidators=EVENT_REVALIDATORS[key];revalidators&&revalidators[0]&&revalidators[0](3,_opts)},{retryCount:(opts.retryCount||0)+1,dedupe:!0}))}return loading=!1,finishRequestAndUpdateState(),!0},[key,cache]),boundMutate=(0,__TURBOPACK__imported__module__30337__.useCallback)((...args)=>internalMutate(cache,keyRef.current,...args),[]);if(useIsomorphicLayoutEffect(()=>{fetcherRef.current=fetcher,configRef.current=config,isUndefined(cachedData)||(laggyDataRef.current=cachedData)}),useIsomorphicLayoutEffect(()=>{var callback;let keyedRevalidators;if(!key)return;let softRevalidate=revalidate.bind(UNDEFINED,WITH_DEDUPE),nextFocusRevalidatedAt=0,unsubEvents=(callback=(type,opts={})=>{if(0==type){let now=Date.now();configRef.current.revalidateOnFocus&&now>nextFocusRevalidatedAt&&isActive()&&(nextFocusRevalidatedAt=now+configRef.current.focusThrottleInterval,softRevalidate())}else if(1==type)configRef.current.revalidateOnReconnect&&isActive()&&softRevalidate();else if(2==type)return revalidate();else if(3==type)return revalidate(opts)},(keyedRevalidators=EVENT_REVALIDATORS[key]||(EVENT_REVALIDATORS[key]=[])).push(callback),()=>{let index=keyedRevalidators.indexOf(callback);index>=0&&(keyedRevalidators[index]=keyedRevalidators[keyedRevalidators.length-1],keyedRevalidators.pop())});if(unmountedRef.current=!1,keyRef.current=key,initialMountedRef.current=!0,setCache({_k:fnArg}),shouldDoInitialRevalidation)if(isUndefined(data)||IS_SERVER)softRevalidate();else isWindowDefined&&typeof window.requestAnimationFrame!=STR_UNDEFINED?window.requestAnimationFrame(softRevalidate):setTimeout(softRevalidate,1);return()=>{unmountedRef.current=!0,unsubEvents()}},[key]),useIsomorphicLayoutEffect(()=>{let timer;function next(){let interval="function"==typeof refreshInterval?refreshInterval(getCache().data):refreshInterval;interval&&-1!==timer&&(timer=setTimeout(execute,interval))}function execute(){!getCache().error&&(refreshWhenHidden||configRef.current.isVisible())&&(refreshWhenOffline||configRef.current.isOnline())?revalidate(WITH_DEDUPE).then(next):next()}return next(),()=>{timer&&(clearTimeout(timer),timer=-1)}},[refreshInterval,refreshWhenHidden,refreshWhenOffline,key]),(0,__TURBOPACK__imported__module__30337__.useDebugValue)(returnedData),suspense&&isUndefined(data)&&key){if(!IS_REACT_LEGACY&&IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");fetcherRef.current=fetcher,configRef.current=config,unmountedRef.current=!1;let req=PRELOAD[key];if(isUndefined(req)||use1(boundMutate(req)),isUndefined(error)){let promise=revalidate(WITH_DEDUPE);isUndefined(returnedData)||(promise.status="fulfilled",promise.value=!0),use1(promise)}else throw error}return{mutate:boundMutate,get data(){return stateDependencies.data=!0,returnedData},get error(){return stateDependencies.error=!0,error},get isValidating(){return stateDependencies.isValidating=!0,isValidating},get isLoading(){return stateDependencies.isLoading=!0,isLoading}}},function useSWRArgs(...args){let fallbackConfig=mergeObjects(defaultConfig,(0,__TURBOPACK__imported__module__30337__.useContext)(SWRConfigContext)),[key,fn,_config]="function"==typeof args[1]?[args[0],args[1],args[2]||{}]:[args[0],null,(null===args[1]?args[2]:args[1])||{}],config=mergeConfigs(fallbackConfig,_config),next=hook,{use}=config,middleware=(use||[]).concat(BUILT_IN_MIDDLEWARE);for(let i=middleware.length;i--;)next=middleware[i](next);return next(key,fn||config.fetcher||null,config)}),toPascalCase=string=>{let camelCase=string.replace(/^([A-Z])|[\s-_]+(\w)/g,(match,p1,p2)=>p2?p2.toUpperCase():p1.toLowerCase());return camelCase.charAt(0).toUpperCase()+camelCase.slice(1)},mergeClasses=(...classes)=>classes.filter((className,index,array)=>!!className&&""!==className.trim()&&array.indexOf(className)===index).join(" ").trim();var defaultAttributes={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let Icon=(0,__TURBOPACK__imported__module__30337__.forwardRef)(({color="currentColor",size=24,strokeWidth=2,absoluteStrokeWidth,className="",children,iconNode,...rest},ref)=>(0,__TURBOPACK__imported__module__30337__.createElement)("svg",{ref,...defaultAttributes,width:size,height:size,stroke:color,strokeWidth:absoluteStrokeWidth?24*Number(strokeWidth)/Number(size):strokeWidth,className:mergeClasses("lucide",className),...!children&&!(props=>{for(let prop in props)if(prop.startsWith("aria-")||"role"===prop||"title"===prop)return!0})(rest)&&{"aria-hidden":"true"},...rest},[...iconNode.map(([tag,attrs])=>(0,__TURBOPACK__imported__module__30337__.createElement)(tag,attrs)),...Array.isArray(children)?children:[children]])),createLucideIcon=(iconName,iconNode)=>{let Component=(0,__TURBOPACK__imported__module__30337__.forwardRef)(({className,...props},ref)=>(0,__TURBOPACK__imported__module__30337__.createElement)(Icon,{ref,iconNode,className:mergeClasses(`lucide-${toPascalCase(iconName).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${iconName}`,className),...props}));return Component.displayName=toPascalCase(iconName),Component},RefreshCw=createLucideIcon("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),TriangleAlert=createLucideIcon("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);class NetworkError extends Error{constructor(message,options){super(message),this.name="NetworkError",options&&"cause"in options&&(this.cause=options.cause)}}function ErrorState({error}){let isNetwork=error instanceof NetworkError,message=isNetwork?"Unable to connect to the bundle analyzer server. Please ensure the server is running and try again.":error?.message??"An unexpected error occurred.";return(0,__TURBOPACK__imported__module__78555__.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,__TURBOPACK__imported__module__78555__.jsxs)("div",{className:"text-center space-y-4 max-w-md px-6",children:[(0,__TURBOPACK__imported__module__78555__.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-destructive/10 text-destructive mb-2",children:(0,__TURBOPACK__imported__module__78555__.jsx)(TriangleAlert,{className:"w-8 h-8"})}),(0,__TURBOPACK__imported__module__78555__.jsxs)("div",{children:[(0,__TURBOPACK__imported__module__78555__.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-2",children:isNetwork?"Server Connection Lost":"Error"}),(0,__TURBOPACK__imported__module__78555__.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:message}),(0,__TURBOPACK__imported__module__78555__.jsxs)("button",{onClick:()=>{window.location.reload()},className:"inline-flex items-center gap-2 px-4 py-2 rounded-md bg-primary text-primary-foreground hover:bg-primary/90 transition-colors text-sm font-medium",children:[(0,__TURBOPACK__imported__module__78555__.jsx)(RefreshCw,{className:"w-4 h-4"}),"Retry Connection"]})]})]})})}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}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}let __TURBOPACK__default__export__=clsx,getGroupRecursive=(classParts,classPartObject)=>{if(0===classParts.length)return classPartObject.classGroupId;let currentClassPart=classParts[0],nextClassPartObject=classPartObject.nextPart.get(currentClassPart),classGroupFromNextClassPart=nextClassPartObject?getGroupRecursive(classParts.slice(1),nextClassPartObject):void 0;if(classGroupFromNextClassPart)return classGroupFromNextClassPart;if(0===classPartObject.validators.length)return;let classRest=classParts.join("-");return classPartObject.validators.find(({validator})=>validator(classRest))?.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,processClassesRecursively=(classGroup,classPartObject,classGroupId,theme)=>{classGroup.forEach(classDefinition=>{if("string"==typeof classDefinition){(""===classDefinition?classPartObject:getPart(classPartObject,classDefinition)).classGroupId=classGroupId;return}"function"==typeof classDefinition?isThemeGetter(classDefinition)?processClassesRecursively(classDefinition(theme),classPartObject,classGroupId,theme):classPartObject.validators.push({validator:classDefinition,classGroupId}):Object.entries(classDefinition).forEach(([key,classGroup])=>{processClassesRecursively(classGroup,getPart(classPartObject,key),classGroupId,theme)})})},getPart=(classPartObject,path)=>{let currentClassPartObject=classPartObject;return path.split("-").forEach(pathPart=>{currentClassPartObject.nextPart.has(pathPart)||currentClassPartObject.nextPart.set(pathPart,{nextPart:new Map,validators:[]}),currentClassPartObject=currentClassPartObject.nextPart.get(pathPart)}),currentClassPartObject},isThemeGetter=func=>func.isThemeGetter,getPrefixedClassGroupEntries=(classGroupEntries,prefix)=>prefix?classGroupEntries.map(([classGroupId,classGroup])=>[classGroupId,classGroup.map(classDefinition=>"string"==typeof classDefinition?prefix+classDefinition:"object"==typeof classDefinition?Object.fromEntries(Object.entries(classDefinition).map(([key,value1])=>[prefix+key,value1])):classDefinition)]):classGroupEntries,sortModifiers=modifiers=>{if(modifiers.length<=1)return modifiers;let sortedModifiers=[],unsortedModifiers=[];return modifiers.forEach(modifier=>{"["===modifier[0]?(sortedModifiers.push(...unsortedModifiers.sort(),modifier),unsortedModifiers=[]):unsortedModifiers.push(modifier)}),sortedModifiers.push(...unsortedModifiers.sort()),sortedModifiers},SPLIT_CLASSES_REGEX=/\s+/;function twJoin(){let argument,resolvedValue,index=0,string="";for(;index<arguments.length;)(argument=arguments[index++])&&(resolvedValue=toValue(argument))&&(string&&(string+=" "),string+=resolvedValue);return string}let toValue=mix=>{let resolvedValue;if("string"==typeof mix)return mix;let string="";for(let k=0;k<mix.length;k++)mix[k]&&(resolvedValue=toValue(mix[k]))&&(string&&(string+=" "),string+=resolvedValue);return string};function createTailwindMerge(createConfigFirst,...createConfigRest){let configUtils,cacheGet,cacheSet,functionToCall=initTailwindMerge;function initTailwindMerge(classList){let config;return cacheGet=(configUtils={cache:(maxCacheSize=>{if(maxCacheSize<1)return{get:()=>void 0,set:()=>{}};let cacheSize=0,cache=new Map,previousCache=new Map,update=(key,value1)=>{cache.set(key,value1),++cacheSize>maxCacheSize&&(cacheSize=0,previousCache=cache,cache=new Map)};return{get(key){let value1=cache.get(key);return void 0!==value1?value1:void 0!==(value1=previousCache.get(key))?(update(key,value1),value1):void 0},set(key,value1){cache.has(key)?cache.set(key,value1):update(key,value1)}}})((config=createConfigRest.reduce((previousConfig,createConfigCurrent)=>createConfigCurrent(previousConfig),createConfigFirst())).cacheSize),parseClassName:(config=>{let{separator,experimentalParseClassName}=config,isSeparatorSingleCharacter=1===separator.length,firstSeparatorCharacter=separator[0],separatorLength=separator.length,parseClassName=className=>{let postfixModifierPosition,modifiers=[],bracketDepth=0,modifierStart=0;for(let index=0;index<className.length;index++){let currentCharacter=className[index];if(0===bracketDepth){if(currentCharacter===firstSeparatorCharacter&&(isSeparatorSingleCharacter||className.slice(index,index+separatorLength)===separator)){modifiers.push(className.slice(modifierStart,index)),modifierStart=index+separatorLength;continue}if("/"===currentCharacter){postfixModifierPosition=index;continue}}"["===currentCharacter?bracketDepth++:"]"===currentCharacter&&bracketDepth--}let baseClassNameWithImportantModifier=0===modifiers.length?className:className.substring(modifierStart),hasImportantModifier=baseClassNameWithImportantModifier.startsWith("!"),baseClassName=hasImportantModifier?baseClassNameWithImportantModifier.substring(1):baseClassNameWithImportantModifier;return{modifiers,hasImportantModifier,baseClassName,maybePostfixModifierPosition:postfixModifierPosition&&postfixModifierPosition>modifierStart?postfixModifierPosition-modifierStart:void 0}};return experimentalParseClassName?className=>experimentalParseClassName({className,parseClassName}):parseClassName})(config),...(config=>{let classMap=(config=>{let{theme,prefix}=config,classMap={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(config.classGroups),prefix).forEach(([classGroupId,classGroup])=>{processClassesRecursively(classGroup,classMap,classGroupId,theme)}),classMap})(config),{conflictingClassGroups,conflictingClassGroupModifiers}=config;return{getClassGroupId:className=>{let classParts=className.split("-");return""===classParts[0]&&1!==classParts.length&&classParts.shift(),getGroupRecursive(classParts,classMap)||(className=>{if(arbitraryPropertyRegex.test(className)){let arbitraryPropertyClassName=arbitraryPropertyRegex.exec(className)[1],property=arbitraryPropertyClassName?.substring(0,arbitraryPropertyClassName.indexOf(":"));if(property)return"arbitrary.."+property}})(className)},getConflictingClassGroupIds:(classGroupId,hasPostfixModifier)=>{let conflicts=conflictingClassGroups[classGroupId]||[];return hasPostfixModifier&&conflictingClassGroupModifiers[classGroupId]?[...conflicts,...conflictingClassGroupModifiers[classGroupId]]:conflicts}}})(config)}).cache.get,cacheSet=configUtils.cache.set,functionToCall=tailwindMerge,tailwindMerge(classList)}function tailwindMerge(classList){let cachedResult=cacheGet(classList);if(cachedResult)return cachedResult;let result=((classList,configUtils)=>{let{parseClassName,getClassGroupId,getConflictingClassGroupIds}=configUtils,classGroupsInConflict=[],classNames=classList.trim().split(SPLIT_CLASSES_REGEX),result="";for(let index=classNames.length-1;index>=0;index-=1){let originalClassName=classNames[index],{modifiers,hasImportantModifier,baseClassName,maybePostfixModifierPosition}=parseClassName(originalClassName),hasPostfixModifier=!!maybePostfixModifierPosition,classGroupId=getClassGroupId(hasPostfixModifier?baseClassName.substring(0,maybePostfixModifierPosition):baseClassName);if(!classGroupId){if(!hasPostfixModifier||!(classGroupId=getClassGroupId(baseClassName))){result=originalClassName+(result.length>0?" "+result:result);continue}hasPostfixModifier=!1}let variantModifier=sortModifiers(modifiers).join(":"),modifierId=hasImportantModifier?variantModifier+"!":variantModifier,classId=modifierId+classGroupId;if(classGroupsInConflict.includes(classId))continue;classGroupsInConflict.push(classId);let conflictGroups=getConflictingClassGroupIds(classGroupId,hasPostfixModifier);for(let i=0;i<conflictGroups.length;++i){let group=conflictGroups[i];classGroupsInConflict.push(modifierId+group)}result=originalClassName+(result.length>0?" "+result:result)}return result})(classList,configUtils);return cacheSet(classList,result),result}return function callTailwindMerge(){return functionToCall(twJoin.apply(null,arguments))}}let fromTheme=key=>{let themeGetter=theme=>theme[key]||[];return themeGetter.isThemeGetter=!0,themeGetter},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength=value1=>isNumber(value1)||stringLengths.has(value1)||fractionRegex.test(value1),isArbitraryLength=value1=>getIsArbitraryValue(value1,"length",isLengthOnly),isNumber=value1=>!!value1&&!Number.isNaN(Number(value1)),isArbitraryNumber=value1=>getIsArbitraryValue(value1,"number",isNumber),isInteger=value1=>!!value1&&Number.isInteger(Number(value1)),isPercent=value1=>value1.endsWith("%")&&isNumber(value1.slice(0,-1)),isArbitraryValue=value1=>arbitraryValueRegex.test(value1),isTshirtSize=value1=>tshirtUnitRegex.test(value1),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=value1=>getIsArbitraryValue(value1,sizeLabels,isNever),isArbitraryPosition=value1=>getIsArbitraryValue(value1,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=value1=>getIsArbitraryValue(value1,imageLabels,isImage),isArbitraryShadow=value1=>getIsArbitraryValue(value1,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(value1,label,testValue)=>{let result=arbitraryValueRegex.exec(value1);return!!result&&(result[1]?"string"==typeof label?result[1]===label:label.has(result[1]):testValue(result[2]))},isLengthOnly=value1=>lengthUnitRegex.test(value1)&&!colorFunctionRegex.test(value1),isNever=()=>!1,isShadow=value1=>shadowRegex.test(value1),isImage=value1=>imageRegex.test(value1),twMerge=createTailwindMerge(()=>{let colors=fromTheme("colors"),spacing=fromTheme("spacing"),blur=fromTheme("blur"),brightness=fromTheme("brightness"),borderColor=fromTheme("borderColor"),borderRadius=fromTheme("borderRadius"),borderSpacing=fromTheme("borderSpacing"),borderWidth=fromTheme("borderWidth"),contrast=fromTheme("contrast"),grayscale=fromTheme("grayscale"),hueRotate=fromTheme("hueRotate"),invert=fromTheme("invert"),gap=fromTheme("gap"),gradientColorStops=fromTheme("gradientColorStops"),gradientColorStopPositions=fromTheme("gradientColorStopPositions"),inset=fromTheme("inset"),margin=fromTheme("margin"),opacity=fromTheme("opacity"),padding=fromTheme("padding"),saturate=fromTheme("saturate"),scale=fromTheme("scale"),sepia=fromTheme("sepia"),skew=fromTheme("skew"),space=fromTheme("space"),translate=fromTheme("translate"),getOverscroll=()=>["auto","contain","none"],getOverflow=()=>["auto","hidden","clip","visible","scroll"],getSpacingWithAutoAndArbitrary=()=>["auto",isArbitraryValue,spacing],getSpacingWithArbitrary=()=>[isArbitraryValue,spacing],getLengthWithEmptyAndArbitrary=()=>["",isLength,isArbitraryLength],getNumberWithAutoAndArbitrary=()=>["auto",isNumber,isArbitraryValue],getPositions=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],getLineStyles=()=>["solid","dashed","dotted","double","none"],getBlendModes=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],getAlign=()=>["start","end","center","between","around","evenly","stretch"],getZeroAndEmpty=()=>["","0",isArbitraryValue],getBreaks=()=>["auto","avoid","all","avoid-page","page","left","right","column"],getNumberAndArbitrary=()=>[isNumber,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:getNumberAndArbitrary(),borderColor:[colors],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:getSpacingWithArbitrary(),borderWidth:getLengthWithEmptyAndArbitrary(),contrast:getNumberAndArbitrary(),grayscale:getZeroAndEmpty(),hueRotate:getNumberAndArbitrary(),invert:getZeroAndEmpty(),gap:getSpacingWithArbitrary(),gradientColorStops:[colors],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:getSpacingWithAutoAndArbitrary(),margin:getSpacingWithAutoAndArbitrary(),opacity:getNumberAndArbitrary(),padding:getSpacingWithArbitrary(),saturate:getNumberAndArbitrary(),scale:getNumberAndArbitrary(),sepia:getZeroAndEmpty(),skew:getNumberAndArbitrary(),space:getSpacingWithArbitrary(),translate:getSpacingWithArbitrary()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":getBreaks()}],"break-before":[{"break-before":getBreaks()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...getPositions(),isArbitraryValue]}],overflow:[{overflow:getOverflow()}],"overflow-x":[{"overflow-x":getOverflow()}],"overflow-y":[{"overflow-y":getOverflow()}],overscroll:[{overscroll:getOverscroll()}],"overscroll-x":[{"overscroll-x":getOverscroll()}],"overscroll-y":[{"overscroll-y":getOverscroll()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[inset]}],"inset-x":[{"inset-x":[inset]}],"inset-y":[{"inset-y":[inset]}],start:[{start:[inset]}],end:[{end:[inset]}],top:[{top:[inset]}],right:[{right:[inset]}],bottom:[{bottom:[inset]}],left:[{left:[inset]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:getSpacingWithAutoAndArbitrary()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:getZeroAndEmpty()}],shrink:[{shrink:getZeroAndEmpty()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":getNumberWithAutoAndArbitrary()}],"col-end":[{"col-end":getNumberWithAutoAndArbitrary()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":getNumberWithAutoAndArbitrary()}],"row-end":[{"row-end":getNumberWithAutoAndArbitrary()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[gap]}],"gap-x":[{"gap-x":[gap]}],"gap-y":[{"gap-y":[gap]}],"justify-content":[{justify:["normal",...getAlign()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...getAlign(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...getAlign(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[padding]}],px:[{px:[padding]}],py:[{py:[padding]}],ps:[{ps:[padding]}],pe:[{pe:[padding]}],pt:[{pt:[padding]}],pr:[{pr:[padding]}],pb:[{pb:[padding]}],pl:[{pl:[padding]}],m:[{m:[margin]}],mx:[{mx:[margin]}],my:[{my:[margin]}],ms:[{ms:[margin]}],me:[{me:[margin]}],mt:[{mt:[margin]}],mr:[{mr:[margin]}],mb:[{mb:[margin]}],ml:[{ml:[margin]}],"space-x":[{"space-x":[space]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[space]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,spacing]}],"min-w":[{"min-w":[isArbitraryValue,spacing,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,spacing,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,spacing,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,spacing,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,spacing,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,spacing,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[colors]}],"placeholder-opacity":[{"placeholder-opacity":[opacity]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[colors]}],"text-opacity":[{"text-opacity":[opacity]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...getLineStyles(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength,isArbitraryValue]}],"text-decoration-color":[{decoration:[colors]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:getSpacingWithArbitrary()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[opacity]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...getPositions(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[colors]}],"gradient-from-pos":[{from:[gradientColorStopPositions]}],"gradient-via-pos":[{via:[gradientColorStopPositions]}],"gradient-to-pos":[{to:[gradientColorStopPositions]}],"gradient-from":[{from:[gradientColorStops]}],"gradient-via":[{via:[gradientColorStops]}],"gradient-to":[{to:[gradientColorStops]}],rounded:[{rounded:[borderRadius]}],"rounded-s":[{"rounded-s":[borderRadius]}],"rounded-e":[{"rounded-e":[borderRadius]}],"rounded-t":[{"rounded-t":[borderRadius]}],"rounded-r":[{"rounded-r":[borderRadius]}],"rounded-b":[{"rounded-b":[borderRadius]}],"rounded-l":[{"rounded-l":[borderRadius]}],"rounded-ss":[{"rounded-ss":[borderRadius]}],"rounded-se":[{"rounded-se":[borderRadius]}],"rounded-ee":[{"rounded-ee":[borderRadius]}],"rounded-es":[{"rounded-es":[borderRadius]}],"rounded-tl":[{"rounded-tl":[borderRadius]}],"rounded-tr":[{"rounded-tr":[borderRadius]}],"rounded-br":[{"rounded-br":[borderRadius]}],"rounded-bl":[{"rounded-bl":[borderRadius]}],"border-w":[{border:[borderWidth]}],"border-w-x":[{"border-x":[borderWidth]}],"border-w-y":[{"border-y":[borderWidth]}],"border-w-s":[{"border-s":[borderWidth]}],"border-w-e":[{"border-e":[borderWidth]}],"border-w-t":[{"border-t":[borderWidth]}],"border-w-r":[{"border-r":[borderWidth]}],"border-w-b":[{"border-b":[borderWidth]}],"border-w-l":[{"border-l":[borderWidth]}],"border-opacity":[{"border-opacity":[opacity]}],"border-style":[{border:[...getLineStyles(),"hidden"]}],"divide-x":[{"divide-x":[borderWidth]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[borderWidth]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[opacity]}],"divide-style":[{divide:getLineStyles()}],"border-color":[{border:[borderColor]}],"border-color-x":[{"border-x":[borderColor]}],"border-color-y":[{"border-y":[borderColor]}],"border-color-s":[{"border-s":[borderColor]}],"border-color-e":[{"border-e":[borderColor]}],"border-color-t":[{"border-t":[borderColor]}],"border-color-r":[{"border-r":[borderColor]}],"border-color-b":[{"border-b":[borderColor]}],"border-color-l":[{"border-l":[borderColor]}],"divide-color":[{divide:[borderColor]}],"outline-style":[{outline:["",...getLineStyles()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[colors]}],"ring-w":[{ring:getLengthWithEmptyAndArbitrary()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[colors]}],"ring-opacity":[{"ring-opacity":[opacity]}],"ring-offset-w":[{"ring-offset":[isLength,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[colors]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[opacity]}],"mix-blend":[{"mix-blend":[...getBlendModes(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":getBlendModes()}],filter:[{filter:["","none"]}],blur:[{blur:[blur]}],brightness:[{brightness:[brightness]}],contrast:[{contrast:[contrast]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[grayscale]}],"hue-rotate":[{"hue-rotate":[hueRotate]}],invert:[{invert:[invert]}],saturate:[{saturate:[saturate]}],sepia:[{sepia:[sepia]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[blur]}],"backdrop-brightness":[{"backdrop-brightness":[brightness]}],"backdrop-contrast":[{"backdrop-contrast":[contrast]}],"backdrop-grayscale":[{"backdrop-grayscale":[grayscale]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[hueRotate]}],"backdrop-invert":[{"backdrop-invert":[invert]}],"backdrop-opacity":[{"backdrop-opacity":[opacity]}],"backdrop-saturate":[{"backdrop-saturate":[saturate]}],"backdrop-sepia":[{"backdrop-sepia":[sepia]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[borderSpacing]}],"border-spacing-x":[{"border-spacing-x":[borderSpacing]}],"border-spacing-y":[{"border-spacing-y":[borderSpacing]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:getNumberAndArbitrary()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:getNumberAndArbitrary()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[scale]}],"scale-x":[{"scale-x":[scale]}],"scale-y":[{"scale-y":[scale]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[translate]}],"translate-y":[{"translate-y":[translate]}],"skew-x":[{"skew-x":[skew]}],"skew-y":[{"skew-y":[skew]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",colors]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[colors]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":getSpacingWithArbitrary()}],"scroll-mx":[{"scroll-mx":getSpacingWithArbitrary()}],"scroll-my":[{"scroll-my":getSpacingWithArbi