PageSourceSearch

https://dewesoft.com/_next/static/chunks/1zktcvlov-326.js

js dewesoft.com collected 2026-10-02 07:41:40 UTC 486,506 bytes, 17 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,927628,e=>{"use strict";e.i(540191);var t=e.i(329160),t=t,r=t,i=t,a=e.i(281122),n=e.i(375660),o=t,s=t,l=t,c=t,d=t,u=t,p=e.i(278241),h=t;e.i(219499);var f=t;e.s([],98104),e.i(98104);var t=t,r=t,i=t,o=t,s=t,l=t,c=t,d=t,u=t,h=t,f=t;e.s(["AuthenticateWithRedirectCallback",()=>t.r,"ClerkDegraded",()=>r.i,"ClerkFailed",()=>i.a,"ClerkLoaded",()=>a.ClerkLoaded,"ClerkLoading",()=>n.ClerkLoading,"MultisessionAppSupport",()=>f.c,"RedirectToCreateOrganization",()=>o.l,"RedirectToOrganizationProfile",()=>s.u,"RedirectToSignIn",()=>l.d,"RedirectToSignUp",()=>c.f,"RedirectToTasks",()=>d.p,"RedirectToUserProfile",()=>u.m,"Show",()=>h.h,"UNSAFE_PortalProvider",()=>p.UNSAFE_PortalProvider],927628)},937012,e=>{"use strict";var t=e.i(821786),r=e.i(798140),i=e.i(817997),a=e.i(504287),n=e.i(540191),o=e.i(870197),s=e.i(547733),l=e.i(497481),c=e.i(936702),d=e.i(140385),u=e.i(664202),p=e.i(73680),h=e.i(47502),f=e.i(161249),g=e.i(686369);e.s(["APIKeys",()=>r.APIKeys,"CreateOrganization",()=>i.CreateOrganization,"GoogleOneTap",()=>a.GoogleOneTap,"HandleSSOCallback",()=>n.HandleSSOCallback,"OAuthConsent",()=>o.OAuthConsent,"OrganizationList",()=>s.OrganizationList,"OrganizationProfile",()=>t.OrganizationProfile,"OrganizationSwitcher",()=>l.OrganizationSwitcher,"PricingTable",()=>c.PricingTable,"SignIn",()=>t.SignIn,"SignInButton",()=>n.SignInButton,"SignInWithMetamaskButton",()=>n.SignInWithMetamaskButton,"SignOutButton",()=>n.SignOutButton,"SignUp",()=>t.SignUp,"SignUpButton",()=>n.SignUpButton,"TaskChooseOrganization",()=>d.TaskChooseOrganization,"TaskResetPassword",()=>u.TaskResetPassword,"TaskSetupMFA",()=>p.TaskSetupMFA,"UserAvatar",()=>h.UserAvatar,"UserButton",()=>f.UserButton,"UserProfile",()=>t.UserProfile,"Waitlist",()=>g.Waitlist])},890691,e=>{"use strict";e.i(540191);var t=e.i(210329),r=e.i(404809),i=e.i(23859),i=i,a=e.i(143961),a=a,n=e.i(235238),n=n,o=e.i(442081),o=o,s=e.i(543702),s=s,l=e.i(235696),c=e.i(592674),c=c,d=i,u=i,p=i,h=e.i(333076),h=h,f=e.i(531343),f=f,g=e.i(49314),g=g;e.i(849396);var m=e.i(457107),m=m;e.i(951267);var v=m,b=m,y=m,x=e.i(980914),x=x,S=m,w=m,k=m,_=m,y=m,x=x,S=m,w=m,k=m,_=m,v=m,b=m;e.s([],222114),e.i(222114);var i=i,a=a,n=n,o=o,s=s,c=c,d=i,u=i,p=i,h=h,f=f,g=g,y=m,x=x,S=m,w=m,k=m,_=m,v=m,b=m;e.s(["EmailLinkErrorCode",()=>v._,"EmailLinkErrorCodeStatus",()=>b.v,"isClerkAPIResponseError",()=>y.C,"isClerkRuntimeError",()=>x.n,"isEmailLinkError",()=>S.a,"isKnownError",()=>w.o,"isMetamaskError",()=>k.s,"isReverificationCancelledError",()=>_.d,"useAPIKeys",()=>g.o,"useAuth",()=>t.useAuth,"useClerk",()=>r.useClerk,"useEmailLink",()=>i.y,"useOAuthConsent",()=>
1a.c,"useOrganization",()=>n.l,"useOrganizationCreationDefaults",()=>s.u,"useOrganizationList",()=>o.d,"useReverification",()=>f.f,"useSession",()=>l.useSession,"useSessionList",()=>c.m,"useSignIn",()=>d.g,"useSignUp",()=>u._,"useUser",()=>h.h,"useWaitlist",()=>p.v],890691)},689998,e=>{"use strict";var t=e.i(219499),r=e.i(278241),i=e.i(317552),a=e.i(169334),n=e.i(709733);let o="u">typeof window?n.default.useLayoutEffect:n.default.useEffect,s=n.default.createContext(void 0);s.displayName="ClerkNextOptionsCtx";let l=()=>{let e=n.default.useContext(s);return null==e?void 0:e.value},c=e=>{let{children:t,options:r}=e;return n.default.createElement(s.Provider,{value:{value:r}},t)};var d=e.i(801089),u=e.i(708863),p=e.i(621241),h=e.i(728148),f=e.i(271227);let g=e=>{var t;let r=e.publishableKey||"pk_live_Y2xlcmsuZGV3ZXNvZnQuY29tJA",i=e.proxyUrl||u.default.env.NEXT_PUBLIC_CLERK_PROXY_URL||"",a=e.domain||u.default.env.NEXT_PUBLIC_CLERK_DOMAIN||"";return{...e,publishableKey:r,__internal_clerkJSUrl:e.__internal_clerkJSUrl||u.default.env.NEXT_PUBLIC_CLERK_JS_URL,__internal_clerkJSVersion:e.__internal_clerkJSVersion||u.default.env.NEXT_PUBLIC_CLERK_JS_VERSION,__internal_clerkUIUrl:e.__internal_clerkUIUrl||u.default.env.NEXT_PUBLIC_CLERK_UI_URL,__internal_clerkUIVersion:e.__internal_clerkUIVersion||u.default.env.NEXT_PUBLIC_CLERK_UI_VERSION,prefetchUI:function(e){if(!1===e||"false"===u.default.env.NEXT_PUBLIC_CLERK_PREFETCH_UI)return!1}(e.prefetchUI),proxyUrl:i||(0,p.getAutoProxyUrlFromEnvironment)({hasDomain:!!a,hasProxyUrl:!!i,publishableKey:r}),domain:a,isSatellite:e.isSatellite||(0,h.isTruthy)(u.default.env.NEXT_PUBLIC_CLERK_IS_SATELLITE),signInUrl:e.signInUrl||"/account/sign-in",signUpUrl:e.signUpUrl||"/account/sign-up",signInForceRedirectUrl:e.signInForceRedirectUrl||u.default.env.NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL||"",signUpForceRedirectUrl:e.signUpForceRedirectUrl||u.default.env.NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL||"",signInFallbackRedirectUrl:e.signInFallbackRedirectUrl||u.default.env.NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL||"",signUpFallbackRedirectUrl:e.signUpFallbackRedirectUrl||u.default.env.NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL||"",newSubscriptionRedirectUrl:e.newSubscriptionRedirectUrl||u.default.env.NEXT_PUBLIC_CLERK_CHECKOUT_CONTINUE_URL||"",telemetry:null!=(t=e.telemetry)?t:{disabled:(0,h.isTruthy)(u.default.env.NEXT_PUBLIC_CLERK_TELEMETRY_DISABLED),debug:(0,h.isTruthy)(u.default.env.NEXT_PUBLIC_CLERK_TELEMETRY_DEBUG)},sdkMetadata:f.SDK_METADATA,unsafe_disableDevelopmentModeConsoleWarning:(0,h.isTruthy)(u.default.env.NEXT_PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING)}};e.i(902375);var m=e.i(998384),m=m,v=e.i(404809),b=e.i(267104);let y=()=>{var e,t;let r=(0,v.useClerk)(),{pagesRouter:i}=(0,b.usePagesRouter)();return null==(t=r.telemetry)||t.record((0,m.i)({router:i?"pages":"app",...(null==(e=null==globalThis?void 0:globalThis.next)?void 0:e.version)?{nextjsVersion:globalThis.next.version}:{}})),null};var x=e.i(730893);let S=(0,x.createServerReference)("006c92e5071105b57090555b86b5c8fd43d97a9404",x.callServer,void 0,x.findSourceMapURL,"invalidateCacheAction");e.i(540191);var w=e.i(995451);function k(e){let{publishableKey:t,__internal_clerkJSUrl:r,__internal_clerkJSVersion:i,__internal_clerkUIUrl:a,__internal_clerkUIVersion:o,nonce:s,domain:l,proxyUrl:c,prefetchUI:d}=e,u={publishableKey:t,__internal_clerkJSUrl:r,__internal_clerkJSVersion:i,__internal_clerkUIUrl:a,__internal_clerkUIVersion:o,nonce:s,domain:l,proxyUrl:c};return n.default.createElement(n.default.Fragment,null,n.default.createElement("script",{src:(0,w.clerkJSScriptUrl)(u),"data-clerk-js-script":!0,async:!0,crossOrigin:"anonymous",...(0,w.buildClerkJSScriptAttributes)(u)}),!1!==d&&n.default.createElement("link",{rel:"preload",href:(0,w.clerkUIScriptUrl)(u),as:"script",crossOrigin:"anonymous",nonce:s}))}function _(){let{publishableKey:e,__internal_clerkJSUrl:t,__internal_clerkJSVersion:r,__internal_clerkUIUrl:i,__internal_clerkUIVersion:a,nonce:o,prefetchUI:s}=l(),{domain:c,proxyUrl:d}=(0,v.useClerk)();return e?n.default.createElement(k,{publishableKey:e,__internal_clerkJSUrl:t,__internal_clerkJSVersion:r,__internal_clerkUIUrl:i,__internal_clerkUIVersion:a,nonce:o,domain:c,proxyUrl:d,prefetchUI:s}):null}let R=e=>{var t;return null!=window.__clerk_internal_navigations||(window.__clerk_internal_navigations={}),null!=(t=window.__clerk_internal_navigations)[e]||(t[e]={}),window.__clerk_internal_navigations[e]},j=e=>{let{windowNav:t,routerNav:r,name:i}=e,[a,o]=(0,n.useTransition)();t&&(R(i).fun=(e,a)=>{var n,s;let l=R(i);return(null!=(s=null==(n=l.promisesBuffer)?void 0:n.length)?s:0)>0&&l.pendingDestination===e?new Promise(e=>{null!=l.promisesBuffer||(l.promisesBuffer=[]),l.promisesBuffer.push(e)}):(l.pendingDestination=e,new Promise(i=>{null!=l.promisesBuffer||(l.promisesBuffer=[]),l.promisesBuffer.push(i),o(()=>{var i;(null==(i=null==a?void 0:a.__internal_metadata)?void 0:i.navigationType)==="internal"?t(null,"",e):r(e)})}))});let s=()=>{var e;let t=R(i);
1null==(e=t.promisesBuffer)||e.forEach(e=>e()),t.promisesBuffer=[],t.pendingDestination=void 0};return(0,n.useEffect)(()=>(s(),s),[]),(0,n.useEffect)(()=>{a||s()},[a]),(0,n.useCallback)((e,t)=>R(i).fun(e,t),[])},C=(0,i.default)(()=>e.A(428965).then(e=>e.KeylessCreatorOrReader)),P=e=>{let r,i,{__internal_invokeMiddlewareOnAuthStateChange:s=!0,__internal_scriptsSlot:l,children:d}=e,u=(0,a.useRouter)(),p=(r=(0,a.useRouter)(),j({windowNav:"u">typeof window?window.history.pushState.bind(window.history):void 0,routerNav:r.push.bind(r),name:"push"})),h=(i=(0,a.useRouter)(),j({windowNav:"u">typeof window?window.history.replaceState.bind(window.history):void 0,routerNav:i.replace.bind(i),name:"replace"}));o(()=>{window.__internal_onBeforeSetActive=e=>new Promise(t=>{var r;let i=(null==(r=null==window?void 0:window.next)?void 0:r.version)||"";(i.startsWith("15")||i.startsWith("16"))&&"sign-out"===e?t():S().then(()=>t())}),window.__internal_onAfterSetActive=()=>{if(s)return u.refresh()}},[]);let f=g({...e,routerPush:p,routerReplace:h});return n.default.createElement(c,{options:f},n.default.createElement(t.InternalClerkProvider,{...f},n.default.createElement(y,null),null!=l?l:n.default.createElement(_,null),d))};e.s(["ClientClerkProvider",0,e=>{let{children:t,disableKeyless:i=!1,...a}=e,o=g(a).publishableKey;return l()?a.initialState?n.default.createElement(r.InitialStateProvider,{initialState:a.initialState},t):t:o||!d.canUseKeyless||i?n.default.createElement(P,{...a},t):n.default.createElement(C,null,n.default.createElement(P,{...a},t))}],689998)},833394,e=>{"use strict";var t=e.i(586498),r=e.i(137175);e.s(["default",0,function({locale:e,...i}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...i})}])},390452,e=>{"use strict";let t;var r,i=e.i(137175),a=e.i(177490),n=new Map("WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,c
1olumnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRen
1dering,glyphOrientationVertical".split(",").concat("".split(",")).map(e=>[e,!0])),o=/&|@/,s=(r=e=>n.has(e)||e.startsWith("--")||o.test(e),t=Object.create(null),e=>(void 0===t[e]&&(t[e]=r(e)),t[e])),l=e.i(944500);function c(e,t){let r={};for(let i in e){let a=t(i,e[i]);r[a[0]]=a[1]}return r}var d=e.i(259501);function u(e,t){let r={};return(0,d.walkObject)(e,(e,t)=>{e&&(r[t.join(".")]=e.value)},{stop:t}),r}var p=e.i(245695),h=Object.defineProperty,f=(e,t,r)=>{let i;return(i="symbol"!=typeof t?t+"":t)in e?h(e,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[i]=r};function g(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=typeof e;if("string"===t)return`s:${e}`;if("number"===t)return`n:${e}`;if("boolean"===t)return`b:${e}`;if("function"===t)return`f:${e.name||"anonymous"}`;if(Array.isArray(e))return`a:[${e.map(g).join(",")}]`;if("object"===t){let t=Object.keys(e).sort();return`o:{${t.map(t=>`${t}:${g(e[t])}`).join(",")}}`}return String(e)}class m{constructor(e=500){f(this,"cache",new Map),f(this,"maxSize"),this.maxSize=e}get(e){let t=this.cache.get(e);return void 0!==t&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;void 0!==e&&this.cache.delete(e)}this.cache.set(e,t)}clear(){this.cache.clear()}}let v=e=>{let t=new m;return function(...r){let i=1===r.length?g(r[0]):r.map(g).join("|"),a=t.get(i);return void 0===a&&(a=e.apply(this,r),t.set(i,a)),a}};function b(e,...t){for(let r of t)!function e(t,r){if(null==r)return t;for(let i of Object.keys(r))if(void 0!==r[i]&&"__proto__"!==i)if(!(0,p.isObject)(t[i])&&(0,p.isObject)(r[i]))Object.assign(t,{[i]:r[i]});else if(t[i]&&(0,p.isObject)(r[i]))e(t[i],r[i]);else if(Array.isArray(r[i])&&Array.isArray(t[i])){let a=0;for(;a<r[i].length;a++)(0,p.isObject)(t[i][a])&&(0,p.isObject)(r[i][a])?e(t[i][a],r[i][a]):t[i][a]=r[i][a]}else Object.assign(t,{[i]:r[i]});return t}(e,r);return e}var y=e.i(211476),x=e.i(332152);function S(e=""){let t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=RegExp("px|em|rem"),i=e.match(RegExp(`${t.source}(${r.source})`));return i?.[1]}function w(e=""){if("number"==typeof e)return`${e}px`;let t=S(e);return t&&"px"!==t?"em"===t||"rem"===t?`${16*parseFloat(e)}px`:void 0:e}function k(e=""){let t=S(e);return t&&"rem"!==t?"em"===t?`${parseFloat(e)}rem`:"px"===t?`${parseFloat(e)/16}rem`:void 0:e}function _(e){let t=parseFloat(w(e)??"")-.04;return k(`${t}px`)}function R({min:e,max:t}){return null==e&&null==t?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}let j=/^@|&|&$/,C=["value","type","description"],P=(...e)=>{let t=b({},...e.map(function e(t){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(t=>e(t));let r=Object.create(Object.getPrototypeOf(t));for(let i of Object.keys(t))r[i]=e(t[i]);return r}));return t.theme?.tokens&&(0,d.walkObject)(t.theme.tokens,e=>{let t=Object.keys(e).filter(e=>!C.includes(e)).length>0,r=C.some(t=>null!=e[t]);return t&&r&&(e.DEFAULT||(e.DEFAULT={}),C.forEach(t=>{var r;null!=e[t]&&((r=e.DEFAULT)[t]||(r[t]=e[t]),delete e[t])})),e},{stop:e=>e&&"object"==typeof e&&!Array.isArray(e)&&C.some(t=>null!=e[t])}),t},I=Object.freeze(Object.create(null)),z=Object.freeze([]);function T(){return Object.create(null)}let E=e=>({minMax:RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
2)+\\(\\s*max(-device)?-${e}`,"i"),min:RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
3)+\\(\\s*min(-device)?-${e}`,"i"),max:RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),O=E("width"),A=E("height"),F=e=>({isMin:Q(e.minMax,e.maxMin,e.min),isMax:Q(e.maxMin,e.minMax,e.max)}),{isMin:W,isMax:L}=F(O),{isMin:D,isMax:N}=F(A),B=/print/i,H=/^print$/i,M=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,U=/(\d)/,V=Number.MAX_VALUE,$={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function q(e){let t=M.exec(e)||(W(e)||D(e)?U.exec(e):null);return t?"0"===t[0]?0:parseFloat(t[1])*($[t[2]]||1):V}function Q(e,t,r){return i=>e.test(i)||!t.test(i)&&r.test(i)}let G=v((e,t)=>{var r,i;let a,n,o,s,l=(r=e,i=t,a=B.test(r),n=H.test(r),o=B.test(i),s=H.test(i),a&&o?!n&&s?1:n&&!s?-1:r.localeCompare(i):a?1:o?-1:null);if(null!==l)return l;let c=W(e)||D(e),d=L(e)||N(e),u=W(t)||D(t),p=L(t)||N(t);if(c&&p)return -1;if(d&&u)return 1;let h=q(e),f=q(t);return h===V&&f===V?e.localeCompare(t):h===V?1:f===V?-1:h!==f?h>f?d?-1:1:d?1:-1:e.localeCompare(t)});function K(e){return e.sort(([e],[t])=>G(e,t))}let X=/\s*!(important)?/i,Y=v(e=>!!(0,p.isString)(e)&&X.test(e)),J=v(e=>(0,p.isString)(e)?e.replace(X,"").trim():e);function Z(e){var t;let{transform:r,conditions:i,normalize:a}=e,n=(t=e,v(function(...e){let r;return b({},...1===(r=function(...e){return e.filter(e=>!!(0,p.isObject)(e)&&Object.keys((0,l.compact)(e)).length>0)}(...e)).length?r:r.map(e=>t.normalize(e)))}));return v(function(...e){let t=a(n(...e)),o=T();return(0,d.walkObject)(t,(e,t)=>{if(null==e)return;let[a,...n]=i.sort(t).map(i.resolve),s=Y(e);s&&(e=J(e));let l=r(a,e)??I;l=(0,d.walkObject)(l,e=>(0,p.isString)(e)&&s?`${e} !important`:e,{getKey:e=>i.expandAtRule(e)}),function(e,t,r){let i=e;for(let e of t)e&&(i[e]||(i[e]=T()),i=i[e]);b(i,r)}(o,n.flat(),l)}),function e(t){let r=[],i=[],a={};for(let[n,o]of Object.entries(t))n.startsWith("@media")?r.push([n,o]
3):n.startsWith("@container")?i.push([n,o]):(0,p.isObject)(o)?a[n]=e(o):a[n]=o;let n=K(r),o=K(i);return{...a,...Object.fromEntries(n),...Object.fromEntries(o)}}(o)})}var ee=e.i(433132),et=e.i(578874);let er=e=>({base:I,variants:I,defaultVariants:I,compoundVariants:[],...e}),ei={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},ea={reset:0,base:1,tokens:2,recipes:3},en=/[^a-zA-Z0-9_\u0081-\uffff-]/g,eo=/[A-Z]/g;function es(e,t={}){let{fallback:r="",prefix:i=""}=t,a=["-",i,`${e}`.replace(en,e=>`\\${e}`)].filter(Boolean).join("-").replace(eo,e=>`-${e.toLowerCase()}`);return{var:a,ref:`var(${a}${r?`, ${r}`:""})`}}let el=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,ec=function(e,t){return t?"\0"===e?"�":"-"===e&&1===e.length?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},ed=e=>(e+"").replace(el,ec),eu=(e,t)=>{let r="",i=0,a="char",n="",o="",s=[];for(;i<e.length;){let l=e[i];if("{"===l){let a=e.indexOf("}",i);if(-1===a)break;let n=e.slice(i+1,a);r+=t(n)??n,i=a+1;continue}if("token"===a&&","===l){""===e[i]&&i++,a="fallback",s.push(a);let l=t(n);l?.endsWith(")")&&(r+=l.slice(0,-1)),n="",o="";continue}if("fallback"===a&&", var("===o+l){let t=ep(e.slice(i+1))+i+1,n=e.slice(i+1,t);if(-1===t)break;r+=", var("+n+")",i=t+1,a=s.pop()??a,o="";continue}if("token"===a||"fallback"===a){if(i++,")"===l){a=s.pop()??a??"char",o+=l;let e=n?t(n)??ed(n):n;if(o){if(!(o=o.slice(1).trim()).startsWith("token(")&&o.endsWith(")")&&(o=o.slice(0,-1)),o.includes("token(")){let e=eu(o,t);e&&(o=e.slice(0,-1))}else if(o){let e=t(o);e&&(o=e)}}let i=r.at(-1);o?i?.trim()?r+=e.slice(0,-1)+", "+o+")":r+=o:r+=e||")",n="",o="",a="char";continue}"token"===a&&(n+=l),"fallback"===a&&(o+=l);continue}let c=e.indexOf("token(",i);if(-1!==c){let t=c+6;r+=e.slice(i,c),i=t,a="token",s.push(a);continue}r+=l,i++}return r},ep=e=>{let t=0,r=["("];for(;t<e.length;){let i=e[t];if("("===i)r.push(i);else if(")"===i&&(r.pop(),0===r.length))break;t++}return t};function eh(e){let t={};return e.forEach((e,r)=>{e instanceof Map?t[r]=Object.fromEntries(e):t[r]=e}),t}let ef=/({([^}]*)})/g,eg=/[{}]/g,em=/\w+\.\w+/,ev=e=>{if(!(0,p.isString)(e))return[];let t=e.match(ef);return t?t.map(e=>e.replace(eg,"").trim()):[]};function eb(e,t){if(null==t||!Array.isArray(t))return t;switch(e){case"easings":return`cubic-bezier(${t.join(", ")})`;case"animations":case"fonts":case"gradients":case"shadows":return t.join(", ");default:return t}}let ey=/calc/g;function ex(e){return(0,p.isObject)(e)&&e.reference?e.reference:String(e)}let eS=(e,...t)=>t.map(ex).join(` ${e} `).replace(ey,""),ew=(...e)=>`calc(${eS("+",...e)})`,ek=(...e)=>`calc(${eS("-",...e)})`,e_=(...e)=>`calc(${eS("*",...e)})`,eR=(...e)=>`calc(${eS("/",...e)})`,ej=e=>{let t=ex(e);return null==t||Number.isNaN(parseFloat(t))?e_(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},eC=Object.assign(e=>({add:(...t)=>eC(ew(e,...t)),subtract:(...t)=>eC(ek(e,...t)),multiply:(...t)=>eC(e_(e,...t)),divide:(...t)=>eC(eR(e,...t)),negate:()=>eC(ej(e)),toString:()=>e.toString()}),{add:ew,subtract:ek,multiply:e_,divide:eR,negate:ej}),eP=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),eI=[{enforce:"pre",transform(e){let{prefix:t,allTokens:r,formatCssVar:i,formatTokenName:a,registerToken:n}=e;r.filter(({extensions:e})=>"spacing"===e.category).forEach(e=>{let r=e.path.slice(),o=i(r,t);if((0,p.isString)(e.value)&&"0rem"===e.value)return;let s=[...e.path],l=s[s.length-1];null!=l&&(s[s.length-1]=`-${l}`),n({...e,value:eC.negate(o.ref),name:a(s),path:s,extensions:{...e.extensions,negative:!0,prop:`-${e.extensions.prop}`,originalPath:r}})})}},{enforce:"post",transform(e){let{allTokens:t,registerToken:r,formatTokenName:i}=e,a=t.filter(({extensions:e})=>"colors"===e.category),n=new Map,o=new Map;a.forEach(e=>{let{colorPalette:t}=e.extensions;t&&(t.keys.forEach(e=>{n.set(i(e),e)}),t.roots.forEach(r=>{let a=i(r),s=o.get(a)||[];if(s.push(e),o.set(a,s),e.extensions.default&&1===r.length){let e=t.keys[0]?.filter(Boolean);if(!e.length)return;let a=r.concat(e);n.set(i(a),[])}}))}),n.forEach(e=>
3{let t=["colors","colorPalette",...e].filter(Boolean),a=i(t),n=i(t.slice(1));r({name:a,value:a,originalValue:a,path:t,extensions:{condition:"base",originalPath:t,category:"colors",prop:n,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(e=>eP.has(e.extensions.category)&&!e.extensions.negative).forEach(e=>{Object.assign(e.extensions,{pixelValue:w(e.value)})})}},{enforce:"post",transform(e){let t=[],r=[];e.allTokens.forEach(e=>{""===e.value?t.push(e):r.push(e)}),e.allTokens.splice(0,e.allTokens.length,...r),t.forEach(t=>{if(e.tokenMap.get(t.name)!==t)return;let r=e.allTokens.find(e=>e.name===t.name);r?(t.extensions.conditions&&!r.extensions.conditions&&(r.extensions.conditions=t.extensions.conditions),e.tokenMap.set(t.name,r)):e.tokenMap.delete(t.name)})}}],ez=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){let{prefix:r,formatCssVar:i}=t,{negative:a,originalPath:n}=e.extensions;return{cssVar:i((a?n:e.path).filter(Boolean),r)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){let{prefix:r,formatCssVar:i,getByName:a}=t,n=ev(e.value);return n.length&&n.forEach(t=>{if(!a(t))return;let n=i(t.split("."),r);e.value=e.value.replaceAll(`{${t}}`,n.ref)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match:e=>"colors"===e.extensions.category&&!e.extensions.virtual,transform(e,t){let r=e.path.slice();if(r.pop(),r.shift(),0===r.length){let t=[...e.path];t.shift(),r=t}if(0===r.length)return{};let i=r.reduce((e,t,r,i)=>{let a=i.slice(0,r+1);return e.push(a),e},[]),a=r[0],n=t.formatTokenName(r),o=e.path.slice(e.path.indexOf(a)+1).reduce((e,t,r,i)=>(e.push(i.slice(r)),e),[]);return 0===o.length&&o.push([""]),{colorPalette:{value:n,roots:i,keys:o}}}}],eT=e=>(0,p.isObject)(e)&&Object.prototype.hasOwnProperty.call(e,"value");function eE(e){return"DEFAULT"===e[0]?e:e.filter(e=>"DEFAULT"!==e)}function eO(e){return e.filter(e=>"base"!==e)}Array.from(new Set(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]));let eA=e=>(t,r)=>{let i=r.utils.colorMix(t);if(i.invalid)return{[e]:t};let a="--mix-"+e;return{[a]:i.value,[e]:`var(${a}, ${i.color})`}};function eF(...e){let t,r,i=P(...e),{theme:a={},utilities:n={},globalCss:o={},cssVarsRoot:h=":where(:root, :host)",cssVarsPrefix:f="chakra",preflight:g}=i,m={names:r=Object.values(t=i.layers??ei).sort((e,t)=>ea[e]-ea[t]),atRule:`@layer ${r.join(", ")};`,wrap(e,r){if(i.disableLayers)return r;let a=t[e];return{[`@layer ${a}`]:r}}},S=function(e){let{prefix:t="",tokens:r={},semanticTokens:i={},breakpoints:a={}}=e,n=e=>e.join("."),o=[],s=new Map,u=new Map,h=new Map,f=new Map,g=new Map,m=new Map,b=new Map,y=new Map,x=[];function S(e,t){o.push(e),"base"!==e.extensions.condition&&s.has(e.name)||s.set(e.name,e),t&&y.forEach(r=>{r.enforce===t&&z(r,e)})}let w=a?{breakpoints:(0,d.mapObject)(a,e=>({value:e})),sizes:c(a,(e,t)=>[`breakpoint-${e}`,{value:t}])}:{breakpoints:{},sizes:{}},k=(0,l.compact)({...r,breakpoints:w.breakpoints,sizes:{...r.sizes,...w.sizes}});function _(e){return s.get(e)}let R={},j=v((e,t)=>g.get(e)??t),C=v(e=>R[e]||null),P=v(e=>eu(e,e=>{if(!e)return;if(e.includes("/")){let t=((e,t)=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};let[r,i]=e.split("/");if(!r||!i)return{invalid:!0,value:r};let a=t(r),n=_(`opacity.${i}`)?.value;if(!n&&isNaN(Number(i)))return{invalid:!0,value:r};let o=n?100*Number(n)+"%":`${i}%`,s=a??r;return{invalid:!1,color:s,value:`color-mix(in srgb, ${s} ${o}, transparent)`}})(e,e=>j(e));if(t.invalid)throw Error("Invalid color mix at "+e+": "+t.value);return t.value}let t=j(e);return t||(em.test(e)?ed(e):e)})),I={prefix:t,allTokens:o,tokenMap:s,registerToken:S,getByName:_,formatTokenName:n,formatCssVar:(e,t)=>es(e.join("-"),{prefix:t}),flatMap:g,cssVarMap:h,categoryMap:b,colorPaletteMap:f,getVar:j,getCategoryValues:C,expandReferenceInValue:P};function z(e,t){if(t.extensions.references||(0,p.isFunction)(e.match)&&!e.match(t))return;let r=e.transform(t,I);switch(!0){case"extensions"===e.type:Object.assign(t.extensions,r);break;case"value"===e.type:t.value=r;break;default:t[e.type]=r}}function T(e){x.forEach(t=>{t.enforce===e&&t.transform(I)})}
3function E(e){y.forEach(t=>{t.enforce===e&&o.forEach(e=>{z(t,e)})})}return(0,d.walkObject)(k,(e,t)=>{let r=t.includes("DEFAULT"),i=(t=eE(t))[0],a=n(t),o=eb(i,((0,p.isString)(e)?{value:e}:e).value),s={value:o,originalValue:o,name:a,path:t,extensions:{condition:"base",originalPath:t,category:i,prop:n(t.slice(1))}};r&&(s.extensions.default=!0),S(s)},{stop:eT}),(0,d.walkObject)(i,(e,t)=>{let r=t.includes("DEFAULT"),i=(t=eO(eE(t)))[0],a=n(t),o=function(e,t){let r={};for(let i in t)r[i]=eb(e,t[i]);return r}(i,((0,p.isString)(e.value)||Array.isArray(e.value)?{value:{base:e.value}}:e).value),s={value:o.base??"",originalValue:o.base??"",name:a,path:t,extensions:{originalPath:t,category:i,conditions:o,condition:"base",prop:n(t.slice(1))}};r&&(s.extensions.default=!0),S(s)},{stop:eT}),!function(...e){e.forEach(e=>{y.set(e.name,e)})}(...ez),!function(...e){x.push(...e)}(...eI),T("pre"),E("pre"),o.slice().forEach(e=>{let t=function(e){if(!e.extensions.conditions)return;let{conditions:t}=e.extensions,r=[];return(0,d.walkObject)(t,(t,i)=>{let a=eO(i);if(!a.length)return;let n={...e,value:t,extensions:{...e.extensions,condition:a.join(":")}};r.push(n)}),r}(e);t&&0!==t.length&&t.forEach(e=>{S(e)})}),o.forEach(e=>{let t;if(t=e.value,!ef.test(t))return;let r=function(e){let t=ev(e),r=[];for(let e=0;e<t.length;e++){let i=_(t[e]);i&&r.push(i)}return r}(e.value);e.extensions.references=r.reduce((e,t)=>(e[t.name]=t,e),{})}),o.forEach(e=>{!function e(t){if(!t.extensions?.references)return t.extensions?.cssVar?.ref??t.value;let r=t.extensions.references??{},i=t.value,a=Object.keys(r);for(let t=0;t<a.length;t++){let n=a[t],o=r[n];if(o.extensions.conditions)continue;let s=e(o);i=i.replace(`{${n}}`,s)}return t.value=i,delete t.extensions.references,t.value}(e)}),T("post"),E("post"),o.forEach(e=>{!function(e){let{condition:t}=e.extensions;t&&(u.has(t)||u.set(t,new Set),u.get(t).add(e))}(e),function(e){let{category:t,prop:r,condition:i,conditions:a}=e.extensions;if(!t)return;b.has(t)||b.set(t,new Map);let n=b.get(t),o=n.get(r);null==i||"base"===i?n.set(r,e):a&&!o&&n.set(r,e)}(e),function(e){let{condition:t,negative:r,virtual:i,cssVar:a}=e.extensions;!r&&!i&&t&&a&&""!==e.value&&(h.has(t)||h.set(t,new Map),h.get(t).set(a.var,e.value))}(e),function(e){let{category:t,prop:r,cssVar:i,negative:a}=e.extensions;if(!t)return;m.has(t)||m.set(t,new Map);let n=a?e.extensions.conditions?e.originalValue:e.value:i.ref;m.get(t).set(r,n),g.set([t,r].join("."),n)}(e),function(e){let{colorPalette:t,virtual:r,default:i}=e.extensions;t&&!r&&t.roots.forEach(r=>{var a,o;let s,l=n(r);f.has(l)||f.set(l,new Map);let c=_(n((a=[...e.path],o=[...r],-1===(s=a.findIndex((e,t)=>o.every((e,r)=>a[t+r]===e)))||(a.splice(s,o.length),a.splice(s,0,"colorPalette")),a)));if(!c||!c.extensions.cssVar)return;let{var:d}=c.extensions.cssVar;if(f.get(l).set(d,e.extensions.cssVar.ref),i&&1===r.length){let i=_(n(["colors","colorPalette"]));if(!i)return;let a=_(n(e.path));if(!a)return;let o=t.keys[0]?.filter(Boolean);if(!o.length)return;let s=n(r.concat(o));f.has(s)||f.set(s,new Map),f.get(s).set(i.extensions.cssVar.var,a.extensions.cssVar.ref)}})}(e)}),R=eh(m),I}({breakpoints:a.breakpoints,tokens:a.tokens,semanticTokens:a.semanticTokens,prefix:f}),w=function(e){var t;let r,i,a,n=Object.fromEntries(Object.entries(e).sort(([,e],[,t])=>parseInt(e,10)<parseInt(t,10)?-1:1).map(([e,t],r,i)=>{let a=null;return r<=i.length-1&&(a=i[r+1]?.[1]),null!=a&&(a=_(a)),[e,{name:e,min:k(t),max:a}]}));function o(e){return R(n[e])}let s=Object.fromEntries(Object.entries((i=Object.keys(n),r=[],(t=i).forEach((e,i)=>{let a=i,n=t[++a];for(;n;)r.push([e,n]),n=t[++a]}),a=r,Object.fromEntries(i.flatMap(e=>{let t=n[e],r=[`${e}Down`,R({max:_(t.min)})];return[[e,R({min:t.min})],[`${e}Only`,o(e)],r]}).filter(([,e])=>""!==e).concat(a.map(([e,t])=>{let r=n[e],i=n[t];return[`${e}To${t.charAt(0).toUpperCase()+t.slice(1)}`,R({min:r.min,max:_(i.min)})]}))))));return{values:Object.values(n),only:o,keys:function(){return(0,x.uniq)(["base",...Object.keys(n)])},conditions:s,getCondition:e=>s[e],up:function(e){return R({min:n[e].min})},down:function(e){return R({max:_(n[e].min)})}}}(a.breakpoints??I),C=(e=>{let{breakpoints:t,conditions:r={}}=e,i=Object.assign({},c(r,(e,t)=>[`_${e}`,t]),t.conditions);function a(){return Object.keys(i)}function n(e){return a().includes(e)||j.test(e)||e.startsWith("_")}return{keys:a,sort:v(e=>e.filter(e=>"base"!==e).sort((e,t)=>
3{let r=n(e),i=n(t);return r&&!i?1:!r&&i?-1:0})),has:n,resolve:function(e){return Reflect.get(i,e)||e},breakpoints:t.keys(),expandAtRule:function(e){return e.startsWith("@breakpoint")?t.getCondition(e.replace("@breakpoint ","")):e}}})({conditions:i.conditions??I,breakpoints:w}),E=function(e){let t,r=c(e.config,(e,t)=>[e,t]),i=e.tokens,a=new Map,n=new Map;function o(e,t){r[e]=t,s(e,t)}let s=(e,t)=>{let r=u(t);r&&(n.set(e,r),d(e,t))},l=new Map,d=(e,t)=>{if(!t)return;let r=u(t,e=>`type:Tokens["${e}"]`);if("object"==typeof r&&r.type)return void l.set(e,new Set([`type:${r.type}`]));if(r){let t=new Set(Object.keys(r));l.set(e,t)}let i=l.get(e)??new Set;t.property&&l.set(e,i.add(`CssProperties["${t.property}"]`))},u=(e,t)=>{let{values:r}=e,a=e=>{let r=t?.(e);return r?{[r]:r}:void 0};if((0,p.isString)(r))return a?.(r)??i.getCategoryValues(r)??I;if(Array.isArray(r)){let e={};for(let t=0;t<r.length;t++)e[r[t]]=r[t];return e}return(0,p.isFunction)(r)?r(t?a:i.getCategoryValues):r},h=v((e,t)=>({[e]:e.startsWith("--")?i.getVar(t,t):t})),f=Object.assign(i.getVar,{raw:e=>i.getByName(e)}),g=v((e,t)=>{let a=b(e);(0,p.isString)(t)&&!t.includes("_EMO_")&&(t=i.expandReferenceInValue(t));let o=r[a];if(!o)return h(a,t);let s=n.get(a)?.[t];return o.transform?o.transform(s??t,{raw:t,token:f,utils:{colorMix:e=>((e,t)=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};let[r,i]=e.split("/");if(!r||!i||"currentBg"===r)return{invalid:!0,value:r};let a=t(`colors.${r}`),n=t.raw(`opacity.${i}`)?.value;if(!n&&isNaN(Number(i)))return{invalid:!0,value:r};let o=n?100*Number(n)+"%":`${i}%`,s=a??r;return{invalid:!1,color:s,value:`color-mix(in srgb, ${s} ${o}, transparent)`}})(e,f)}}):h(e,s??t)});for(let[e,t]of Object.entries(r)){let{shorthand:r}=t??{};r&&(Array.isArray(r)?r:[r]).forEach(t=>a.set(t,e))}for(let[e,a]of(o("colorPalette",{values:Object.keys(t=eh(i.colorPaletteMap)),transform:v(e=>t[e])}),Object.entries(r)))a&&s(e,a);for(let[e,t]of Object.entries(r))t&&d(e,t);let m=a.size>0,b=v(e=>a.get(e)??e);return{keys:()=>[...Array.from(a.keys()),...Object.keys(r)],hasShorthand:m,transform:g,shorthands:a,resolveShorthand:b,register:o,getTypes:()=>{let e=new Map;for(let[t,r]of l.entries()){if(0===r.size){e.set(t,["string"]);continue}let i=Array.from(r).map(e=>e.startsWith("CssProperties")?e:e.startsWith("type:")?e.replace("type:",""):JSON.stringify(e));e.set(t,i)}return e},addPropertyType:(e,t)=>{let r=l.get(e)??new Set;l.set(e,new Set([...r,...t]))}}}({config:n,tokens:S});!function(){let{textStyles:e,layerStyles:t,animationStyles:r}=a;for(let[i,a]of Object.entries((0,l.compact)({textStyle:e,layerStyle:t,animationStyle:r}))){let e=u(a??I,eW);E.register(i,{values:Object.keys(e),transform:t=>D(e[t])})}}(),E.addPropertyType("animationName",Object.keys(a.keyframes??I));let O=new Set(["css",...E.keys(),...C.keys()]),A=v(e=>O.has(e)||s(e)),F=e=>{if(Array.isArray(e)){let t=T();for(let r=0;r<e.length;r++){let i=e[r];null!=i&&(t[C.breakpoints[r]]=i)}return t}return e},W=function(e){let{utility:t,normalize:r}=e,{hasShorthand:i,resolveShorthand:a}=t;return function(e){return(0,d.walkObject)(e,r,{stop:e=>Array.isArray(e),getKey:i?a:void 0})}}({utility:E,normalize:F}),L=function(e){let{conditions:t,isValidProperty:r}=e,i=v((e,i)=>!r(e)||!i.split(",").every(e=>"base"===e||t.has(e)));return function(e){return(0,d.walkObject)(e,e=>e,{stop:e=>Array.isArray(e),getKey:(e,r)=>!(0,p.isObject)(r)||t.has(e)?e:i(e,Object.keys(r).join(","))?(function(e){let t=[],r=0,i="",a=!1;for(let n=0;n<e.length;n++){let o=e[n];if("\\"===o&&!a){a=!0,i+=o;continue}if(a){a=!1,i+=o;continue}"("===o?r++:")"===o&&r--,","===o&&0===r?(t.push(i.trim()),i=""):i+=o}return i&&t.push(i.trim()),t})(e).map(e=>{let t,r=e.startsWith("&")?e.slice(1):e;return(t=r.toLowerCase()).startsWith(":host-context")||t.startsWith(":host")||t.startsWith("::slotted")?`${r} &`:`&${r}`}).join(", "):e})}}({conditions:C,isValidProperty:A}),D=Z({transform:E.transform,conditions:C,normalize:W}),N=function(e){let{css:t,conditions:r,normalize:i,layers:a}=e;return function n(o={}){let s=er(o),{base:d,defaultVariants:u,compoundVariants:p}=s,h=c(s.variants,(e,t)=>[e,c(t,(e,t)=>[e,i(t)])]),f=Z({conditions:r,normalize:i,transform:(e,t)=>
3h[e]?.[t]}),g=(e={})=>{var r,n;let o,s=i({...u,...(0,l.compact)(e)}),c={...i(d)};b(c,f(s));let h=(r=p,n=s,o=I,r.forEach(e=>{Object.entries(e).every(([e,t])=>"css"===e||(Array.isArray(t)?t:[t]).some(t=>n[e]===t))&&(o=t(o,e.css))}),o);return a.wrap("recipes",t(c,h))},m=Object.keys(h),v=c(h,(e,t)=>[e,Object.keys(t)]);return Object.assign(e=>t(g(e)),{className:o.className,__cva__:!0,variantMap:v,variantKeys:m,raw:g,config:o,splitVariantProps:e=>{let t=(0,et.omit)(e,["recipe"]),[r,i]=(0,y.splitProps)(t,m),a=m.includes("colorPalette"),n=m.includes("orientation");return a||(r.colorPalette=e.colorPalette||u.colorPalette),n&&(i.orientation=e.orientation),[r,i]},merge(t){return n((function(e){let{css:t}=e;return function(e,r){let i=er(r.config),a=(0,x.uniq)(e.variantKeys,Object.keys(r.variants)),n=t(e.base,i.base),o=Object.fromEntries(a.map(r=>[r,t(e.config.variants[r],i.variants[r])])),s=b(e.config.defaultVariants,i.defaultVariants),l=[...e.compoundVariants,...i.compoundVariants];return{className:(0,ee.cx)(e.className,r.className),base:n,variants:o,defaultVariants:s,compoundVariants:l}}})(e)(this,t))}})}}({css:D,conditions:C,normalize:W,layers:m}),B=function(e){let{cva:t}=e;return function(e=I){let r=Object.entries(((e=I)=>{let t=(e.slots??[]).map(t=>{let r,i;return[t,{base:e.base?.[t]??I,variants:T(),defaultVariants:e.defaultVariants??I,compoundVariants:e.compoundVariants?(r=e.compoundVariants,i=t,r.filter(e=>e.css[i]).map(e=>({...e,css:e.css[i]}))):z}]});for(let[r,i]of Object.entries(e.variants??{}))for(let[e,a]of Object.entries(i))t.forEach(([t,i])=>{var n;(n=i.variants)[r]??(n[r]={}),i.variants[r][e]=a[t]??I});return Object.fromEntries(t)})(e)).map(([e,r])=>[e,t(r)]),i=e.variants??I,a=Object.keys(i),n=c(i,(e,t)=>[e,Object.keys(t)]),o={};return e.className&&(o=Object.fromEntries(e.slots.map(t=>[t,`${e.className}__${t}`]))),Object.assign(function(e){return Object.fromEntries(r.map(([t,r])=>[t,r(e)]))},{variantMap:n,variantKeys:a,splitVariantProps:function(t){let r=(0,et.omit)(t,["recipe"]),[i,n]=(0,y.splitProps)(r,a),o=a.includes("colorPalette"),s=a.includes("orientation");return o||(i.colorPalette=t.colorPalette||e.defaultVariants?.colorPalette),s&&(n.orientation=t.orientation),[i,n]},classNameMap:o})}}({cva:N});function H(){let e={};for(let[t,r]of S.cssVarMap.entries()){let i=Object.fromEntries(r);if(0===Object.keys(i).length)continue;let a="base"===t?h:C.resolve(t),n=a.startsWith("@");b(e,D(L({[a]:n?{[h]:i}:i})))}return m.wrap("tokens",e)}function M(){let e=Object.assign({},c(a.keyframes??I,(e,t)=>[`@keyframes ${e}`,t]),D(L(o)));return m.wrap("base",e)}function U(){let e=function(e){let{preflight:t}=e;if(!t)return{};let{scope:r="",level:i="parent"}=(0,p.isObject)(t)?t:{},a="";r&&"parent"===i?a=`${r} `:r&&"element"===i&&(a=`&${r}`);let n={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAp
3pearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},o={[r||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};return"element"===i?Object.assign(o,Object.entries(n).reduce((e,[t,r])=>(e[t]={[a]:r},e),{})):a?o[a]=n:Object.assign(o,n),o}({preflight:g});return m.wrap("reset",e)}let V=function(e){let t=new Map;for(let r of new Set(e.allTokens.map(e=>e.name))){let i=e.getByName(r);if(!i?.extensions.cssVar)continue;let{cssVar:a,virtual:n,conditions:o}=i.extensions,s=o||n?a.ref:i.value;t.set(r,{value:s,variable:a.ref})}return t}(S),$=(e,t)=>V.get(e)?.value||t;function q(e){return Object.hasOwnProperty.call(a.recipes??I,e)}function Q(e){return Object.hasOwnProperty.call(a.slotRecipes??I,e)}$.var=(e,t)=>V.get(e)?.variable||t;let G=[U(),M(),H()],K={layerStyles:eL(a.layerStyles??I),textStyles:eL(a.textStyles??I),animationStyles:eL(a.animationStyles??I),tokens:eD(S,Object.keys(a.tokens??I),(e,t)=>!e.extensions.conditions&&!t.includes("colorPalette")),semanticTokens:eD(S,Object.keys(a.semanticTokens??I),e=>!!e.extensions.conditions),keyframes:eN(a.keyframes??I),breakpoints:eN(a.breakpoints??I)};return{$$chakra:!0,_config:i,_global:G,breakpoints:w,tokens:S,conditions:C,utility:E,token:$,properties:O,layers:m,isValidProperty:A,splitCssProps:function(e){return(0,y.splitProps)(e,A)},normalizeValue:F,getTokenCss:H,getGlobalCss:M,getPreflightCss:U,css:D,cva:N,sva:B,getRecipe:function(e,t){return a.recipes?.[e]??t},getSlotRecipe:function(e,t){return a.slotRecipes?.[e]??t},hasRecipe:function(e){return q(e)||Q(e)},isRecipe:q,isSlotRecipe:Q,query:K}}let eW=e=>(0,p.isObject)(e)&&"value"in e,eL=e=>({list:()=>Object.keys(u(e,eW)),search(e){return this.list().filter(t=>t.includes(e))}}),eD=(e,t,r)=>({categoryKeys:t,list(t){let i=e.categoryMap.get(t),a=i?[...i.entries()]:[],n=[];for(let e=0;e<a.length;e++){let[t,i]=a[e];r(i,t)&&n.push(t)}return n},search(e,t){return this.list(e).filter(e=>e.includes(t))}}),eN=e=>({list:()=>Object.keys(e),search(e){return this.list().filter(t=>t.includes(e))}});var eB=e.i(280971);let eH=(e,t)=>null!=t?`${e}(${t})`:t,eM=e=>{if(/^var\(--.+\)$/.test(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},eU=e=>({values:["outside","inside","mixed","none"],transform(t,{token:r}){let i=r("colors.colorPalette.focusRing");return({inside:{"--focus-ring-color":i,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":i,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":i,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":i,[e]:{outline:"none"}}})[t]??{}}}),eV=eA("borderColor"),e$=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),eq=(0,eB.defineConditions)({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invali
vendor: 23,906 bytes, line 3
3d:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),eQ=es("bg-currentcolor"),eG=e=>e===eQ.ref||"currentBg"===e,eK=e=>({...e("colors"),currentBg:eQ}),eX=(0,eB.defineConfig)({conditions:eq,utilities:{background:{values:eK,shorthand:["bg"],transform(e,t){if(eG(t.raw))return{background:eQ.ref};let r=eA("background")(e,t);return{...r,[eQ.var]:r?.background}}},backgroundColor:{values:eK,shorthand:["bgColor"],transform(e,t){if(eG(t.raw))return{backgroundColor:eQ.ref};let r=eA("backgroundColor")(e,t);return{...r,[eQ.var]:r?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},backgroundGradient:{shorthand:["bgGradient"],values:e=>({...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}),transform:e=>({"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e})},gradientFrom:{values:eK,transform:eA("--gradient-from")},gradientTo:{values:eK,transform:eA("--gradient-to")},gradientVia:{values:eK,transform:(e,t)=>({...eA("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"})},backgroundImage:{values:e=>({...e("gradients"),...e("assets")}),shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:eK,transform:eA("borderColor")},borderTopColor:{values:eK,transform:eA("borderTopColor")},borderBlockStartColor:{values:eK,transform:eA("borderBlockStartColor")},borderBottomColor:{values:eK,transform:eA("borderBottomColor")},borderBlockEndColor:{values:eK,transform:eA("borderBlockEndColor")},borderLeftColor:{values:eK,transform:eA("borderLeftColor")},borderInlineStartColor:{values:eK,shorthand:["borderStartColor"],transform:eA("borderInlineStartColor")},borderRightColor:{values:eK,transform:eA("borderRightColor")},borderInlineEndColor:{values:eK,shorthand:["borderEndColor"],transform:eA("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:eK,transform:eA("color")},fill:{values:eK,transform:eA("fill")},stroke:{values:eK,transform:eA("stroke")},accentColor:{values:eK,transform:eA("accentColor")},divideX:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}})},divideY:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}})},divideColor:{values:eK,transform:(e,t)=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":eV(e,t)})},divideStyle:{property:"borderStyle",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}})},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:eK,transform:eA("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform:e=>"auto"!==e?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}},blur:{values:"blurs",transform:e=>({"--blur":eH("blur",e)})},brightness:{transform:e=>({"--brightness":eH("brightness",e)})},contrast:{transform:e=>({"--contrast":eH("contrast",e)})},grayscale:{transform:e=>({"--grayscale":eH("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":eH("hue-rotate",eM(e))})},invert:{transform:e=>({"--invert":eH("invert",e)})},saturate:{transform:e=>({"--saturate":eH("saturate",e)})},sepia:{transform:e=>({"--sepia":eH("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":eH("drop-shadow",e)})},backdropFilter:{transform:e=>"auto"!==e?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":eH("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":eH("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":eH("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":eH("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":eH("hue-rotate",eM(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":eH("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":eH("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":eH("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":eH("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:eK,transform:eA("outlineColor")},focusRing:eU("&:is(:focus, [data-focus])"),focusVisibleRing:eU("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:eK,transform:eA("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:t,token:r})=>({[r.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform:(e,{raw:t,token:r})=>({[r.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}})},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:eK,transform:eA("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform:e=>({"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"})},ringColor:{values:eK,transform:eA("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:eK,transform:eA("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:eK,transform:eA("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return"auto"===e&&(t="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),"auto-gpu"===e&&(t="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:t}}},skewX:{transform:e=>({"--skew-x":eM(e)})},skewY:{transform:e=>({"--skew-y":eM(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform:e=>"auto"!==e?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}},spaceXReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}})},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}})},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform:e=>"auto"!==e?{rotate:eM(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}},rotateX:{transform:e=>({"--rotate-x":eM(e)})},rotateY:{transform:e=>({"--rotate-y":eM(e)})},translate:{transform:e=>"auto"!==e?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return e$("all");case"position":return e$("left, right, top, bottom, inset-inline, inset-block");case"colors":return e$("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return e$("opacity");case"shadow":return e$("box-shadow");case"transform":return e$("transform");case"size":return e$("width, height");case"backgrounds":return e$("background, background-color, background-image, background-position");case"common":return e$("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform:e=>!0===e?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},lineClamp:{transform:e=>"none"===e?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform:e=>({"--border-spacing-x":e})},borderSpacingY:{values:"spacing",transform:e=>({"--border-spacing-y":e})},srOnly:{values:{type:"boolean"},transform:e=>eY[e]||{}},debug:{values:{type:"boolean"},transform:e=>e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}},caretColor:{values:eK,transform:eA("caretColor")},cursor:{values:"cursor"}}}),eY={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}},eJ="var(--chakra-empty, )",eZ=(0,eB.defineGlobalStyles)({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":eJ,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,eJ])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,eJ])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}}),e0=(0,eB.defineLayerStyles)({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}}),e1=(0,eB.defineAnimationStyles)({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}}
3,"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}),e2=(0,eB.defineRecipe)({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}}),e5=(0,eB.defineRecipe)({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px","--outline-color-legacy":"colors.colorPalette.muted","--outline-color":"colors.colorPalette.border",borderColor:"var(--outline-color, var(--outline-color-legacy))",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),e3=(0,eB.defineRecipe)({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),{variants:e4,defaultVariants:e6}=e2,e8=(0,eB.defineRecipe)({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:e4,defaultVariants:e6}
3),e7=(0,eB.defineRecipe)({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}}),e9=(0,eB.defineRecipe)({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}}),te=(0,eB.defineRecipe)({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}}),tt=(0,eB.defineRecipe)({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}}),tr=(0,eB.defineRecipe)({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}}),ti=(0,eB.defineRecipe)({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:tr.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}}),ta=(0,eB.defineRecipe)({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}}),tn=(0,eB.defineRecipe)({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusVisibleRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}}),to=(0,eB.defineRecipe)({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}}),ts=(0,eB.defineRecipe)({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px s
3olid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),tl=(0,eB.defineRecipe)({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}}),tc=(0,eB.defineRecipe)({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}}),td=(0,eB.defineRecipe)({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}}),tu=(0,eB.defineRecipe)({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}}),tp=(0,eB.defineRecipe)({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}}),th=eB.defineSemanticTokens
vendor: 2,400 bytes, line 3
3.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}
3,border:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}},border:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}},border:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}},border:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}},border:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}},border:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}},border:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.400}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}},border:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.400}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}},border:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.400}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}
3",_dark:"{colors.cyan.500}"}},border:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.400}"}}}}),tf=eB.defineSemanticTokens.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),tg=eB.defineSemanticTokens.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}}
3,"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}});var tm=e.i(645817),tv=e.i(332354),tv=tv,tb=e.i(412709),ty=(0,tb.createAnatomy)("clipboard").parts("root","control","trigger","indicator","input","label");ty.build();var tx=(0,tb.createAnatomy)("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);tx.build();var tS=tx.extendWith("view"),tw=(0,tb.createAnatomy)("date-picker").parts("clearTrigger","content","control","input","label","monthSelect","nextTrigger","positioner","presetTrigger","prevTrigger","rangeText","root","table","tableBody","tableCell","tableCellTrigger","tableHead","tableHeader","tableRow","trigger","view","viewControl","viewTrigger","yearSelect");tw.build();var tk=tw.extendWith("view","valueText"),t_=e.i(80512),t_=t_,tR=(0,tb.createAnatomy)("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");tR.build();var tj=e.i(550502),tC=e.i(324357),tP=e.i(692258),tP=tP,tI=(0,tb.createAnatomy)("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");tI.build();var tz=tI.extendWith("empty"),tT=e.i(754497),tT=tT,tE=e.i(698272),tE=tE,tO=e.i(450573),tO=tO,tA=e.i(858981),tA=tA,tF=e.i(161261),tF=tF,tW=(0,tb.createAnatomy)("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");tW.build();var tL=(0,tb.createAnatomy)("splitter").parts("root","panel","resizeTrigger","resizeTriggerIndicator");tL.build();var tD=e.i(975723),tD=tD;let tN=tv.anatomy.extendWith("itemBody"),tB=(0,tb.createAnatomy)("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),tH=(0,tb.createAnatomy)("alert").parts("title","description","root","indicator","content"),tM=(0,tb.createAnatomy)("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),tU=(0,tb.createAnatomy)("blockquote").parts("root","icon","content","caption"),tV=(0,tb.createAnatomy)("card").parts("root","header","body","footer","title","description"),t$=(0,tb.createAnatomy)("checkbox-card",["root","control","label","description","addon","indicator","content"]),tq=(0,tb.createAnatomy)("data-list").parts("root","item","itemLabel","itemValue"),tQ=tk.extendWith("indicatorGroup"),tG=t_.anatomy.extendWith("header","body","footer","backdrop"),tK=t_.anatomy.extendWith("header","body","footer","backdrop"),tX=tR.extendWith("textarea"),tY=(0,tb.createAnatomy)("empty-state",["root","content","indicator","title","description"]),tJ=tj.fieldAnatomy.extendWith("requiredIndicator"),tZ=tC.fieldsetAnatomy.extendWith("content"),t0=tP.anatomy.extendWith("itemContent","dropzoneContent","fileText"),t1=(0,tb.createAnatomy)("list").parts("root","item","indicator"),t2=tT.anatomy.extendWith("itemCommand"),t5=(0,tb.createAnatomy)("select").parts("root","field","indicator"),t3=tE.anatomy.extendWith("header","body","footer"),t4=tO.anatomy.extendWith("itemAddon","itemIndicator"),t6=t4.extendWith("itemContent","itemDescription"),t8=tA.anatomy.extendWith("itemIndicator"),t7=tF.anatomy.extendWith("indicatorGroup"),t9=tm.comboboxAnatomy.extendWith("indicatorGroup","empty"),re=tW.extendWith("markerIndicator","markerLabel"),rt=(0,tb.createAnatomy)("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),rr=(0,tb.createAnatomy)("status").parts("root","indicator"),ri=(0,tb.createAnatomy)("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),ra=tD.anatomy.extendWith("indicator"),rn=(0,tb.createAnatomy)("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),ro=(0,tb.createAnatomy)("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),rs=(0,tb.createAnatomy)("tabs").parts("root","trigger","list","content","contentGroup","indicator"),rl=(0,tb.createAnatomy)("tag").parts("root","label","closeTrigger","startElement","endElement"),rc=(0,tb.createAnatomy)("timeline").parts("root","item","content","separator","indicator","connector","title","description"),rd=tS.extendWith("channelText"),ru=(0,tb.createAnatomy)("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]),rp=tL.extendWith("resizeTriggerSeparator","resizeTriggerIndicator");ty.extendWith("valueText");let rh=(0,eB.defineSlotRecipe)({className:"chakra-accordion",slots:tN.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px s
3olid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}}),rf=(0,eB.defineSlotRecipe)({className:"chakra-action-bar",slots:tB.keys(),base:{positioner:{position:"fixed",display:"flex",pointerEvents:"none",insetInline:"0","--action-bar-offset":"spacing.4"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}},variants:{placement:{bottom:{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"center"}},"bottom-start":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-start",ps:"var(--action-bar-offset)"}},"bottom-end":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-end",pe:"var(--action-bar-offset)"}}}},defaultVariants:{placement:"bottom"}}),rg=(0,eB.defineSlotRecipe)({slots:tH.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}});var rm=e.i(720788),rm=rm;let rv=(0,eB.defineSlotRecipe)({slots:rm.anatomy.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",borderColor:"var(--outline-shadow, var(--outline-shadow-legacy))"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}}),rb=(0,eB.defineSlotRecipe)({className:"chakra-blockquote",slots:tU.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}}),ry=(0,eB.defineSlotRecipe)({className:"chakra-breadcrumb",slots:tM.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}}),rx=(0,eB.defineSlotRecipe)({className:"chakra-card",slots:tV.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}});var rS=e.i(445976);let rw=(0,eB.defineSlotRecipe)({className:"carousel",slots:rS.carouselAnatomy.keys(),base:{root:{position:"relative",display:"flex",gap:"2",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},item:{_horizontal:{width:"100%"},_vertical:{height:"100%"}},control:{display:"flex",alignItems:"center",_horizontal:{flexDirection:"row",width:"100%"},_vertical:{flexDirection:"column",height:"100%"}},indicatorGroup:{display:"flex",justifyContent:"center",gap:"3",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},indicator:{width:"2.5",height:"2.5",borderRadius:"full",bg:"colorPalette.subtle",cursor:"button",_current:{bg:"colorPalette.solid"}}},defaultVariants:{}});var rk=e.i(749279);let r_=(0,eB.defineSlotRecipe)({slots:rk.checkboxAnatomy.keys(),className:"chakra-checkbox",base
vendor: 5,027 bytes, line 3
3:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:e3.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:e3.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:e3.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:e3.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:e3.variants?.size?.lg}},variant:{outline:{control:e3.variants?.variant?.outline},solid:{control:e3.variants?.variant?.solid},subtle:{control:e3.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),rR=(0,eB.defineSlotRecipe)({slots:t$.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:e3.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:e3.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:e3.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:e3.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:e3.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:e3.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:e3.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:e3.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),rj=(0,eB.defineSlotRecipe)({slots:ru.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",
3insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0",overflowX:"auto",overflowY:"hidden"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative",paddingInlineEnd:"var(--code-block-padding)","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",top:"0",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}});var rC=e.i(901634),rC=rC;let rP=(0,eB.defineSlotRecipe)({slots:rC.anatomy.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"expand-height"}},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"collapse-height"}}}}}),rI=(0,eB.defineSlotRecipe)({className:"colorPicker",slots:rd.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3","--color-picker-z-index":"zIndex.popover",zIndex:"calc(var(--color-picker-z-index) + var(--layer-index, 0))",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}}
vendor: 5,181 bytes, line 3
3,area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...e7.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...tr.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:tr.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:tr.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:tr.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:tr.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:tr.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:tr.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:tr.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:tr.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:tr.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),rz=(0,eB.defineSlotRecipe)({className:"chakra-combobox",slots:t9.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},control:{pos:"relative","--padding-factor":"1","--combobox-input-padding-end":"var(--combobox-input-padding-x)","&:has([data-part=trigger]), &:has([data-part=clear-trigger])":{"--combobox-input-padding-end":"calc(var(--combobox-input-height) * var(--padding-factor))"},"&:has([data-part=trigger]):has([data-part=clear-trigger]:not([hidden]))":{"--padding-factor":"1.5"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",ps:"var(--combobox-input-padding-x)",pe:"var(--combobox-input-padding-end)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--combobox-z-index":"zIndex.popover",zIndex:"calc(var(--combobox-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}
3},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}}),rT=(0,eB.defineSlotRecipe)({slots:tq.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}}),rE=(0,eB.defineStyle)({display:"inline-flex",alignItems:"center",justifyContent:"center",boxSize:"var(--datepicker-nav-trigger-size)",borderRadius:"l2",color:"fg",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"},_focusVisible:{boxShadow:"0 0 0 2px var(--colors-color-palette-focus-ring)"},_disabled:{opacity:.5},_icon:{boxSize:"4"}}),rO=(0,eB.defineStyle)({height:"var(--datepicker-select-height)",ps:"2",pe:"8",textStyle:"sm",borderWidth:"1px",borderRadius:"l2",outline:"none",focu
3sVisibleRing:"inside",appearance:"none",fieldSizing:"content",backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\")",backgroundRepeat:"no-repeat",backgroundPosition:"right 0.375rem center",backgroundSize:"1.25em"}),rA=(0,eB.defineSlotRecipe)({className:"date-picker",slots:tQ.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full","--datepicker-indicators-offset":"sizes.3",_disabled:{opacity:.5}},label:{textStyle:"sm",fontWeight:"medium"},indicatorGroup:{position:"absolute",insetEnd:"var(--datepicker-indicators-offset)",top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",gap:"1"},control:{display:"flex",alignItems:"center",gap:"2",width:"full",position:"relative"},input:{flex:"1",minWidth:"0",height:"var(--datepicker-input-height)","--input-height":"var(--datepicker-input-height)",px:"var(--datepicker-input-px)",textStyle:"sm",bg:"transparent",borderRadius:"l2",outline:"0",appearance:"none",color:"fg","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",borderRadius:"l1",color:"fg.muted",outline:"none",_hover:{color:"fg"},focusVisibleRing:"inside",focusRingWidth:"2px",_icon:{boxSize:"4"}},content:{display:"flex",flexDirection:"column",gap:"3",p:"3",minW:"18rem",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",color:"fg","--date-picker-z-index":"zIndex.popover",zIndex:"calc(var(--date-picker-z-index) + var(--layer-index, 0))",outline:"none",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},view:{display:"flex",flexDirection:"column",gap:"3"},viewControl:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",height:"var(--datepicker-nav-trigger-size)"},viewTrigger:{display:"inline-flex",flex:"1",alignItems:"center",justifyContent:"center",gap:"1",py:"1.5",px:"2",textStyle:"sm",fontWeight:"semibold",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"}},prevTrigger:rE,nextTrigger:rE,rangeText:{textStyle:"sm",fontWeight:"semibold"},table:{borderCollapse:"separate",borderSpacing:"0"},tableHeader:{width:"var(--table-cell-size)",py:"2",textStyle:"xs",fontWeight:"medium",color:"fg.muted",textAlign:"center",textTransform:"uppercase","&[data-type='week-number']":{color:"fg.subtle"}},tableCell:{py:"0.5","&[data-type='week-number']":{color:"fg.subtle"}},tableCellTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"var(--table-cell-size)",minHeight:"var(--table-cell-size)",textStyle:"sm",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",focusRingOffset:"0px",cursor:"default",position:"relative",_hover:{bg:"colorPalette.subtle"},"[data-view=month] &, [data-view=year] &":{width:"calc(var(--table-cell-size) * 1.75)"},_today:{color:"colorPalette.fg",fontWeight:"semibold",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationThickness:"2px"},"&[data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",_hover:{bg:"colorPalette.solid"}},"&[data-in-range]":{bg:"colorPalette.subtle",color:"colorPalette.fg",borderRadius:"0",_hover:{bg:"colorPalette.subtle"}},"&[data-in-range][data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"0",_hover:{bg:"colorPalette.solid"},"&[data-range-start][data-range-end]":{borderRadius:"l2"},"&[data-range-start]:not([data-range-end])":{borderStartRadius:"l2",borderEndRadius:"0"},"&[data-range-end]:not([data-range-start])":{borderEndRadius:"l2",borderStartRadius:"0"}},_disabled:{opacity:.4}},monthSelect:rO,yearSelect:rO,clearTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",flexShrink:0,textStyle:"xs",borderRadius:"l2",color:"fg.muted",_hover:{color:"fg"},focusVisibleRing:"inside",_icon:{width:"4",height:"4"}}},variants:{size:{xs:{root:{"--datepicker-input-height":"sizes.8","--datepicker-input-px":"sizes.2","--datepicker-indicators-offset":"sizes.2"},view:{"--table-cell-size":"sizes.8","--datepicker-nav-trigger-size":"sizes.7","--datepicker-select-height":"sizes.8"}},sm:{root:{"--datepicker-input-height":"sizes.9","--datepicker-input-px":"sizes.2.5","--datepicker-indicators-offset":"sizes.2.5"},view:{"--table-cell-size":"sizes.9","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.9"}},md:{root:{"--datepicker-input-height":"sizes.10","--datepicker-input-px":"sizes.3"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.10"}},lg:{root:{"--datepicker-input-height":"sizes.11","--datepicker-input-px":"sizes.4"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}},xl:{root:{"--datepicker-input-height":"sizes.12","--datepicker-input-px":"sizes.4.5"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}}},hideOutsideDays:{true:{tableCellTrigger:{"&[data-outside-range]":{visibility:"hidden"}}}},variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}},indicatorGroup:{insetEnd:"0"}}}},defaultVariants:{size:"md",variant:"outline"}}),rF=(0,eB.defineSlotRecipe)({slots:tG.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}}),rW=(0,eB.defineSlotRecipe)({slots:tK.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh","--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"}
3,content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}}),rL=(0,eB.defineStyle)({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),rD=(0,eB.defineSlotRecipe)({slots:tX.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...rL,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...rL,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}}),rN=(0,eB.defineSlotRecipe)({slots:tY.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}}),rB=(0,eB.defineSlotRecipe)({className:"chakra-field",slots:tJ.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}}),rH=(0,eB.defineSlotRecipe)({className:"fieldset",slots:tZ.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),rM=(0,eB.defineSlotRecipe)({className:"chakra-file-upload",slots:t0.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}});var rU=(0,tb.createAnatomy)("floating-panel").parts("trigger","positioner","content","header","body","title","resizeTrigger","dragTrigger","stageTrigger","closeTrigger","control");rU.build();let rV=(0,eB.defineSlotRecipe)({slots:rU.keys(),className:"chakra-floating-panel",base:{positioner:{"--floating-panel-z-index":"zIndex.popover",zIndex:"calc(var(--floating-panel-z-index) + var(--layer-index, 0))","&:has([data-topmost])":{"--layer-index":"100"},"&:has([data-behind])":{"--layer-index":"-100"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",overflow:"hidden",outline:0,position:"relative",_open:{animationName:"scale-in, fade-in",animationDuration:"moderate"}},dragTrigger:{flex:"1",display:"flex",alignItems:"center",gap:"2",minW:"
30"},header:{display:"flex",alignItems:"center",gap:"2",px:"3",py:"2",borderBottomWidth:"1px",bg:"bg.subtle",flex:"none"},title:{fontWeight:"semibold",textStyle:"sm",flex:"1",truncate:!0},body:{flex:"1",overflow:"auto",p:"3",textStyle:"sm"},resizeTrigger:{zIndex:"1","--size":"sizes.2.5",'&[data-axis="n"], &[data-axis="s"]':{h:"var(--size)"},'&[data-axis="e"], &[data-axis="w"]':{w:"var(--size)"},'&[data-axis]:is([data-axis="ne"], [data-axis="nw"], [data-axis="se"], [data-axis="sw"])':{w:"var(--size)",h:"var(--size)"}}}});var r$=e.i(652018),r$=r$;let rq=(0,eB.defineSlotRecipe)({className:"chakra-hover-card",slots:r$.anatomy.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3","--hover-card-z-index":"zIndex.popover",zIndex:"calc(var(--hover-card-z-index) + var(--layer-index, 0))",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderLeftWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}}),rQ=(0,eB.defineSlotRecipe)({className:"chakra-list",slots:t1.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}}),rG=(0,eB.defineSlotRecipe)({className:"chakra-listbox",slots:tz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}});var rK=e.i(913474),rK=rK;let rX=(0,eB.defineSlotRecipe)({className:"chakra-marquee",slots:rK.anatomy.keys(),base:{root:{position:"relative",width:"100%","--marquee-edge-color":"colors.bg","--marquee-edge-size":"20%","&[data-paused]":{animationPlayState:"paused !important","& *":{animationPlayState:"paused !important"}}},viewport:{overflow:"hidden",display:"flex",width:"100%",height:"100%"},content:{display:"flex",minWidth:"max-content",animationTimingFunction:"linear",animationFillMode:"forwards",animationDuration:"var(--marquee-duration)",animationDelay:"var(--marquee-delay)",animationIterationCount:"var(--marquee-loop-count)",_motionReduce:{animation:"none !important"},"&[data-side='start'], &[data-side='end']":{animationName:"marqueeX"},"&[data-side='top'], &[data-side='bottom']":{animationName:"marqueeY"},"&[data-reverse]":{animationDirection:"reverse"},"&[data-orientation='horizontal']":{flexDirection:"row"},"&[data-orientation='vertical']":{flexDirection:"column"}},edge:{position:"absolute",zIndex:"1",pointerEvents:"none","&[data-side='start']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineStart:"0",background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)"}},"&[data-side='end']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineEnd:"0",background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)"}},"&[data-side='top']":{height:"var(--marquee-edge-size)",insetX:"0",top:"0",background:"linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"},"&[data-side='bottom']":{height:"var(--marquee-edge-size)",insetX:"0",bottom:"0",background:"linear-gradient(to top, var(--marquee-edge-color, white), transparent)"}}}}),rY=(0,eB.defineSlotRecipe)({className:"chakra-menu",slots:t2.keys(),base:{content:{outline:0,"--menu-bg":"colors.bg.panel",bg:"var(--menu-bg)",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.popover",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",to
vendor: 5,195 bytes, line 3
3p:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--menu-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}}),rJ=(0,eB.defineSlotRecipe)({className:"chakra-select",slots:t7.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--select-z-index":"zIndex.popover",zIndex:"calc(var(--select-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}},ghost:{trigger:{bg:"transparent",_expanded:{bg:"bg.muted"}}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}}),rZ=(0,eB.defineSlotRecipe)({className:"chakra-native-select",slots:t5.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:rJ.variants?.variant.outline.trigger},subtle:{field:rJ.variants?.variant.subtle.trigger}
3,plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}},ghost:{field:rJ.variants?.variant.ghost.trigger}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:rJ.defaultVariants});var r0=(0,tb.createAnatomy)("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");r0.build();let r1=(0,eB.defineStyle)({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),r2=(0,eB.defineSlotRecipe)({className:"chakra-number-input",slots:r0.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...tr.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...r1,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...r1,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:tr.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:tr.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:tr.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:tr.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:c(tr.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}});var r5=(0,tb.createAnatomy)("pinInput").parts("root","label","input","control");r5.build();let{variants:r3,defaultVariants:r4}=tr,r6=(0,eB.defineSlotRecipe)({className:"chakra-pin-input",slots:r5.keys(),base:{input:{...tr.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:c(r3.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:c(r3.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:r4}),r8=(0,eB.defineSlotRecipe)({className:"chakra-popover",slots:t3.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}});var r7=e.i(942357),r7=r7;let r9=(0,eB.defineSlotRecipe)({slots:r7.anatomy.keys(),className:"chakra-
3progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}});var r7=r7;let ie=(0,eB.defineSlotRecipe)({className:"chakra-progress-circle",slots:r7.anatomy.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}});var it=(0,tb.createAnatomy)("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");it.build();let ir=(0,eB.defineSlotRecipe)({slots:it.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}}),ii=(0,eB.defineSlotRecipe)({className:"chakra-radio-card",slots:t6.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.5"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:ts.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:ts.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:ts.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:ts.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:ts.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:ts.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:ts.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemControl:{_disabled:{bg:"unset"}},itemIndicator:ts.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),ia=(0,eB.defineSlotRecipe)({className:"chakra-radio-group",slots:t4.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:ts.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:ts.variants?.variant?.outline},subtle:{itemControl:ts.variants?.variant?.subtle},solid:{itemControl:ts.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:ts.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:ts.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:ts.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:ts.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),io=(0,eB.defineSlotRecipe)({className:"chakra-rating-group",slots:t8.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}});var is=(0,tb.createAnatomy)("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");is.build();let il=(0,eB.defineSlotRecipe)({className:"chakra-scroll-area",slots:is.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}}
3,variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}});var ic=e.i(804121);let id=(0,eB.defineSlotRecipe)({className:"chakra-segment-group",slots:ic.segmentGroupAnatomy.keys(),base:{root:{"--segment-radius":"radii.l2","--segment-indicator-bg":{_light:"colors.bg",_dark:"colors.bg.emphasized"},"--segment-indicator-shadow":"shadows.sm",borderRadius:"var(--segment-radius)",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"var(--segment-indicator-shadow)",pos:"absolute",bg:"var(--segment-indicator-bg)",width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}}),iu=(0,eB.defineSlotRecipe)({className:"chakra-slider",slots:re.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",transition:"shadow",_focusVisible:{ring:"3px",ringColor:"colorPalette.focusRing/50"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&:has(.chakra-sli
3der__markerLabel)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}}),ip=(0,eB.defineSlotRecipe)({slots:rp.keys(),className:"splitter",base:{resizeTrigger:{"--splitter-border-color":"colors.border","--splitter-thumb-color":"colors.bg","--splitter-thumb-size":"sizes.2","--splitter-thumb-inset":"calc(var(--splitter-thumb-size) * -0.5)","--splitter-border-size":"1px","--splitter-handle-size":"sizes.6",outline:"0",display:"grid",placeItems:"center",position:"relative",_focus:{"--splitter-border-color":"colors.border.emphasized","--splitter-thumb-color":"colors.colorPalette.subtle"},_dragging:{"--splitter-thumb-color":"colors.colorPalette.focusRing"},_horizontal:{minWidth:"var(--splitter-thumb-size)",marginInline:"var(--splitter-thumb-inset)"},_vertical:{minHeight:"var(--splitter-thumb-size)",marginBlock:"var(--splitter-thumb-inset)"}},resizeTriggerSeparator:{position:"absolute",bg:"var(--splitter-border-color)","[data-part='resize-trigger'][data-orientation=horizontal] &":{insetInlineEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetBlock:"0",insetInlineStart:"auto",w:"var(--splitter-border-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{insetBlockEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetInline:"0",
3insetBlockStart:"auto",h:"var(--splitter-border-size)"}},resizeTriggerIndicator:{position:"relative",rounded:"full",bg:"var(--splitter-thumb-color)",shadow:"xs",borderWidth:"1px",zIndex:"1","[data-part='resize-trigger'][data-orientation=horizontal] &":{w:"full",h:"var(--splitter-handle-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{w:"var(--splitter-handle-size)",h:"full"},"[data-part='resize-trigger'][data-focus]:focus-visible &":{outlineWidth:"2px",outlineColor:"colorPalette.focusRing",outlineStyle:"solid"},"[data-part='resize-trigger'][data-disabled] &":{visibility:"hidden"}}}}),ih=(0,eB.defineSlotRecipe)({className:"chakra-stat",slots:rt.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}}),ig=(0,eB.defineSlotRecipe)({className:"chakra-status",slots:rr.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),im=(0,eB.defineSlotRecipe)({className:"chakra-steps",slots:ri.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}}),iv=(0,eB.defineSlotRecipe)({slots:ra.keys(),className:"chakra-switch",base
vendor: 4,416 bytes, line 3
3:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}}),ib=(0,eB.defineSlotRecipe)({className:"chakra-table",slots:rn.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}}),iy=(0,eB.defineSlotRecipe)({slots:rs.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",curs
3or:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-trigger-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-trigger-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}}),ix=e2.variants?.variant,iS=(0,eB.defineSlotRecipe)({slots:rl.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:ix?.subtle},solid:{root:ix?.solid},outline:{root:ix?.outline},surface:{root:ix?.surface}}},defaultVariants:{size:"md",variant:"surface"}});var iw=e.i(854365),iw=iw;let ik=(0,eB.defineSlotRecipe)({slots:iw.anatomy.keys(),className:"tags-input",base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}}
3,control:{"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",minH:"var(--tags-input-height)","--input-height":"var(--tags-input-height)",px:"var(--tags-input-px)",py:"var(--tags-input-py)",gap:"var(--tags-input-gap)",display:"flex",flexWrap:"wrap",alignItems:"center",borderRadius:"l2",pos:"relative",transitionProperty:"border-color, box-shadow",transitionDuration:"normal",_disabled:{opacity:"0.5"},_invalid:{borderColor:"var(--error-color)"}},input:{flex:"1",minWidth:"20",outline:"none",bg:"transparent",color:"fg",px:"calc(var(--tags-input-item-px) / 1.25)",height:"var(--tags-input-item-height)",_readOnly:{display:"none"}},item:{maxWidth:"100%",minWidth:"0"},itemText:{lineClamp:"1",minWidth:"0"},itemInput:{outline:"none",bg:"transparent",minWidth:"2ch",color:"inherit",px:"var(--tags-input-item-px)",height:"var(--tags-input-item-height)"},itemPreview:{height:"var(--tags-input-item-height)",userSelect:"none",display:"inline-flex",alignItems:"center",gap:"1",rounded:"l1",px:"var(--tags-input-item-px)",maxWidth:"100%"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:"0",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},me:"-1",opacity:"0.4",_hover:{opacity:"1"},"[data-highlighted] &":{opacity:"1"},_icon:{boxSize:"80%"}},clearTrigger:{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},color:"fg.muted",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1",_icon:{boxSize:"5"}}},variants:{size:{xs:{root:{"--tags-input-height":"sizes.8","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"xs"}},sm:{root:{"--tags-input-height":"sizes.9","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"sm"}},md:{root:{"--tags-input-height":"sizes.10","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.7","--tags-input-item-px":"spacing.2",textStyle:"sm"}},lg:{root:{"--tags-input-height":"sizes.11","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.8","--tags-input-item-px":"spacing.2",textStyle:"md"}}},variant:{outline:{control:{borderWidth:"1px",bg:"bg",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}},subtle:{control:{bg:"bg.muted",borderWidth:"1px",borderColor:"transparent",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"bg",borderWidth:"1px",_highlighted:{bg:"colorPalette.subtle",borderColor:"colorPalette.emphasized"}}},flushed:{control:{borderRadius:"0",px:"0",bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",_focus:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}}}},defaultVariants:{size:"md",variant:"outline"}}),i_=(0,eB.defineSlotRecipe)({slots:rc.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{"--timeline-content-gap":"spacing.6",display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"--timeline-content-gap":"0"}},separator:{display:"var(--timeline-separator-display)",position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"}
3,indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"var(--timeline-content-gap)",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},showLastSeparator:{true:{item:{_last:{"--timeline-separator-display":"initial"}}},false:{item:{_last:{"--timeline-separator-display":"none"}}}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid",showLastSeparator:!1}}),iR=(0,eB.defineSlotRecipe)({slots:ro.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}});var ij=e.i(449957),ij=ij;let iC=(0,eB.defineSlotRecipe)({slots:ij.anatomy.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px",borderColor:"var(--tooltip-bg)"}}});var iP=(0,tb.createAnatomy)("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","nodeRenameInput","root","tree");iP.build();let iI=(0,eB.defineStyle)({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg
3:"bg.muted"},_disabled:{layerStyle:"disabled"}}),iz=(0,eB.defineStyle)({flex:"1"}),iT=(0,eB.defineStyle)({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),iE=(0,eB.defineStyle)({_selected:{layerStyle:"fill.solid"}}),iO=(0,eB.defineSlotRecipe)({slots:iP.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:iI,item:iI,itemText:iz,branchText:iz,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:iT,item:iT},solid:{branchControl:iE,item:iE}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),iA=(0,eB.defineTextStyles)({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}}),iF=eB.defineTokens.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}}),iW=eB.defineTokens.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),iL=eB.defineTokens.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),iD=eB.defineTokens.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),iN=eB.defineTokens.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"}
3,950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),iB=eB.defineTokens.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),iH=eB.defineTokens.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),iM=eB.defineTokens.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}),iU=eB.defineTokens.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),iV=eB.defineTokens.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),i$='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',iq=eB.defineTokens.fonts({heading:{value:`Inter, ${i$}`},body:{value:`Inter, ${i$}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),iQ=(0,eB.defineKeyframes)({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"var(--collapsed-height, 0)"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"var(--collapsed-height, 0)"}},"expand-width":{from:{width:"var(--collapsed-width, 0)"},to:{width:"var(--width)"}},"collapse-width":{from:{width:"var(--width)"},to:{width:"var(--collapsed-width, 0)"}},"fade-in":{from:{opacity:0}
3,to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 calc(var(--slide-from-top-distance, 0.5rem) * -1)"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 var(--slide-from-bottom-distance, 0.5rem)"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"calc(var(--slide-from-left-distance, 0.5rem) * -1) 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"var(--slide-from-right-distance, 0.5rem) 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 calc(var(--slide-to-top-distance, 0.5rem) * -1)"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 var(--slide-to-bottom-distance, 0.5rem)"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"calc(var(--slide-to-left-distance, 0.5rem) * -1) 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"var(--slide-to-right-distance, 0.5rem) 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}},marqueeX:{from:{transform:"translateX(0%)"},to:{transform:"translateX(var(--marquee-translate))"}},marqueeY:{from:{transform:"translateY(0%)"},to:{transform:"translateY(var(--marquee-translate))"}}}),iG=eB.defineTokens.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),iK=eB.defineTokens.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),iX=eB.defineTokens.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),iY=eB.defineTokens.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),iJ=eB.defineTokens.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),iZ=eB.defineTokens.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),i0=eB.defineTokens.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),i1=eB.defineTokens.sizes({...iJ,...iY,...i0,...iZ}),i2=eB.defineTokens.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:0x7fffffff}}),i5=P(eX,(0,eB.defineConfig)({preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:eZ,theme:{breakpoints:{sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},keyframes:iQ,tokens:{aspectRatios:iW,animations:iF,blurs:iL,borders:iD,colors:iN,durations:iH,easings:iM,fonts:iq,fontSizes:iU,fontWeights:iV,letterSpacings:iG,lineHeights:iK,radii:iX,spacing:iY,sizes:i1,zIndex:i2,cursor:iB},semanticTokens:{colors:th,shadows:tg,radii:tf},recipes:{badge:e2,button:e5,code:e8,container:e9,heading:te,input:tr,inputAddon:ti,kbd:ta,link:tn,mark:to,separator:tl,skeleton:tc,skipNavLink:td,spinner:tu,textarea:tp,icon:tt,checkmark:e3,radiomark:ts,colorSwatch:e7},slotRecipes:{accordion:rh,actionBar:rf,alert:rg,avatar:rv,blockquote:rb,breadcrumb:ry,card:rx,carousel:rw,checkbox:r_,checkboxCard:rR,codeBlock:rj,collapsible:rP,dataList:rT,datePicker:rA,dialog:rF,drawer:rW,editable:rD,emptyState:rN,field:rB,fieldset:rH,fileUpload:rM,hoverCard:rq,list:rQ,listbox:rG,menu:rY,nativeSelect:rZ,numberInput:r2,pinInput:r6,popover:r8,progress:r9,progressCircle:ie,radioCard:ii,radioGroup:ia,ratingGroup:io,scrollArea:il,segmentGroup:id,select:rJ,combobox:rz,slider:iu,splitter:ip,stat:ih,steps:im,switch:iv,table:ib,tabs:iy,tag:iS,tagsInput:ik,toast:iR,tooltip:iC,status:ig,timeline:i_,colorPicker:rI,qrCode:ir,treeView:iO,marquee:rX,floatingPanel:rV},textStyles:iA,layerStyles:e0,animationStyles:e1}}));eF(i5);let i3=eF(i5,(0,eB.defineConfig)({cssVarsPrefix:"ds",globalCss:{a:{color:"orange.500",_hover:{textDecoration:"underline"}},"*:is(:focus, [data-focus])":{outlineColor:"var(--ds-colors-ds-orange-500) !important"}},theme:{slotRecipes:{checkbox:{slots:rk.checkboxAnatomy.keys(),base:{root:{alignItems:"flex-start"}}}},tokens:{colors:{whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"}},dsOrange:{DEFAULT:{value:"#f15d2d"},50:{value:"#fcded4"},100:{value:"#f9b9a5"},200:{value:"#f7a78d"},300:{value:"#f69475"},400:{value:"#f4825d"},500:{value:"#f15d2d"},600:{value:"#dc410f"},700:{value:"#c43a0d"},800:{value:"#ac330c"},900:{value:"#7d2508"}},dsBlack:{DEFAULT:{value:"#232323"},50:{value:"#7c8395"},100:{value:"#636a7b"},200:{value:"#585e6c"},300:{value:"#4c525e"},400:{value:"#414550"},500:{value:"#2A2D34"},600:{value:"#232323"},700:{value:"#131518"},800:{value:"#08080a"},900:{value:"#000000"}}},sizes:{"9xl":{value:"96em"}},fonts:{heading:{value:"var(--font-roboto-condensed)"},body:{value:"var(--font-roboto)"},mono:{value:"var(--font-roboto-slab)"}}},semanticTokens:{shadows:{"inner-lg":{value:{_light:"inset 0 10px 20px 0 color-mix(in srgb, black 10%, transparent)",_dark:"inset 0 10px 20px 0 color-mix(in srgb, black 10%, transparent)"}}}
3,colors:{focusRing:{value:{base:"{colors.red.500}",_dark:"{colors.red.500}"}},dsOrange:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.dsOrange.700}",_dark:"{colors.dsOrange.300}"}},subtle:{value:{_light:"{colors.dsOrange.50}",_dark:"{colors.dsOrange.900}"}},muted:{value:{_light:"{colors.dsOrange.100}",_dark:"{colors.dsOrange.800}"}},emphasized:{value:{_light:"{colors.dsOrange.300}",_dark:"{colors.dsOrange.700}"}},solid:{value:{_light:"{colors.dsOrange.500}",_dark:"{colors.dsOrange.500}"}},focusRing:{value:{_light:"{colors.dsOrange.500}",_dark:"{colors.dsOrange.500}"}},border:{value:{_light:"{colors.dsOrange.500}",_dark:"{colors.dsOrange.400}"}}}}}}}));e.s(["Provider",0,function({children:e}){return(0,i.jsx)(a.ChakraProvider,{value:i3,children:e})}],390452)},657694,(e,t,r)=>{t.exports={en:["US","GB","CA","AU","NZ","IN","ZA","DK","CZ","PL","RO","TR"],de:["DE","AT","CH"],es:["ES","MX","AR","EC","CO","PE","BO","CL","CR","CU","PA","PR","UY","VE"],fr:["FR","CA","BE","NL","MA","TN","DZ"],it:["IT","CH"],ko:["KR"],pt:["BR","PT"],ru:["RU","UA","BY","KG","KZ","AZ","GE","MD","TJ","TM","UZ"],sv:["SE"],sl:["SI"],fi:["FI"],zh_CN:["CN","TW","HK"]}},546251,(e,t,r)=>{"use strict";t.exports="3.29.1"},106824,(e,t,r)=>{function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function a(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}t.exports=i,i.prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},i.prototype.emit=function(e){var t,r,i,o,s,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var c=Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(void 0===(r=this._events[e]))return!1;if(a(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(n(r))for(s=0,o=Array.prototype.slice.call(arguments,1),i=(l=r.slice()).length;s<i;s++)l[s].apply(this,o);return!0},i.prototype.addListener=function(e,t){var r;if(!a(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,a(t.listener)?t.listener:t),this._events[e]?n(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,n(this._events[e])&&!this._events[e].warned&&(r=void 0===this._maxListeners?i.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(e,t){if(!a(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},i.prototype.removeListener=function(e,t){var r,i,o,s;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(r=this._events[e]).length,i=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(r)){for(s=o;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){i=s;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(a(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){return this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},i.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(a(t))return 1;if(t)return t.length}return 0},i.listenerCount=function(e,t){return e.listenerCount(t)}},639326,(e,t,r)=>{"use strict";
3t.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},834105,(e,t,r)=>{"use strict";var i=e.r(106824);function a(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}e.r(639326)(a,i),a.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},a.prototype.getModifiedState=function(e){return this.fn(e)},a.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},t.exports=a},549896,(e,t,r)=>{"use strict";t.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},143938,(e,t,r)=>{"use strict";function i(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}t.exports=function(e){i(e)||(e={});for(var t=1,r=arguments.length;t<r;t++){var a=arguments[t];i(a)&&function e(t,r){if(t===r)return t;for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a)&&"__proto__"!==a&&"constructor"!==a){var n=r[a],o=t[a];(void 0===o||void 0!==n)&&(i(o)&&i(n)?t[a]=e(o,n):t[a]="object"==typeof n&&null!==n?e(Array.isArray(n)?[]:{},n):n)}return t}(e,a)}return e}},207919,(e,t,r)=>{"use strict";t.exports=function(e){return e&&Object.keys(e).length>0}},784516,(e,t,r)=>{"use strict";t.exports=function(e,t){if(null===e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i<n.length;i++)r=n[i],t.indexOf(r)>=0||(a[r]=e[r]);return a}},777250,(e,t,r)=>{"use strict";function i(e){e=e||{},this.params=e.params||[]}i.prototype={constructor:i,addParams:function(e){var t=this.params.slice();return t.push(e),new i({params:t})},removeParams:function(e){return new i({params:this.params.filter(function(t){return t.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter(function(e){return void 0===t[e.$$id]}).map(function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r})}},t.exports=i},265209,(e,t,r)=>{"use strict";function i(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach(function(e){var i=e.$$id;r[i]=t[i],r._rawResults[i]=t[i]})}i.prototype={constructor:i},t.exports=i},332595,(e,t,r)=>{"use strict";var i=e.r(143938);function a(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var n={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:n._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(i){r.push({indexName:e,params:n._getDisjunctiveFacetSearchParams(t,i)})}),t.getRefinedHierarchicalFacets().forEach(function(i){var a=t.getHierarchicalFacetByName(i),o=t.getHierarchicalRefinement(i),s=t._getHierarchicalFacetSeparator(a);if(o.length>0&&o[0].split(s).length>1){var l=o[0].split(s).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:a.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(s)})},[]);l.forEach(function(i,o){var s=n._getDisjunctiveFacetSearchParams(t,i.attribute,0===o);function c(e){return a.attributes.some(function(t){return t===e.split(":")[0]})}var d=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!c(e)});r.length>0&&e.push(r)}return"string"!=typeof t||c(t)||e.push(t),e},[]),u=l[o-1];o>0?s.facetFilters=d.concat(u.attribute+":"+u.value):d.length>0?s.facetFilters=d:delete s.facetFilters,r.push({indexName:e,params:s})})}}),r},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:n._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(n._getHitsHierarchicalFacetsAttributes(e)).sort(),r=n._getFacetFilters(e),o=n._getNumericFilters(e),s=n._getTagFilters(e),l={};return t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o),a(i({},e.getQueryParams(),l))},_getCompositionHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets.map(function(t){return e.disjunctiveFacetsRefinements&&e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].length>0?"disjunctive("+t+")":t})).concat(n._getHitsHierarchicalFacetsAttributes(e)).sort(),r=n._getFacetFilters(e),o=n._getNumericFilters(e),s=n._getTagFilters(e),l={};t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o);var c=e.getQueryParams();return delete c.highlightPreTag,delete c.highlightPostTag,delete c.index,a(i({},c,l))},_getDisjunctiveFacetSearchParams:function(e,t,r){var o=n._getFacetFilters(e,t,r),s=n._getNumericFilters(e,t),l=n._getTagFilters(e),c={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};l.length>0&&(c.tagFilters=l);var d=e.getHierarchicalFacetByName(t);return d?c.facets=n._getDisjunctiveHierarchicalFacetAttribute(e,d,r):c.facets=t,s.length>0&&(c.numericFilters=s),o.length>0&&(c.facetFilters=o),a(i({},e.getQueryParams(),c))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];
3return Object.keys(e.numericRefinements).forEach(function(i){var a=e.numericRefinements[i]||{};Object.keys(a).forEach(function(e){var n=a[e]||[];t!==i&&n.forEach(function(t){if(Array.isArray(t)){var a=t.map(function(t){return i+e+t});r.push(a)}else r.push(i+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var i=[],a=e.facetsRefinements||{};Object.keys(a).sort().forEach(function(e){(a[e]||[]).slice().sort().forEach(function(t){i.push(e+":"+t)})});var n=e.facetsExcludes||{};Object.keys(n).sort().forEach(function(e){(n[e]||[]).sort().forEach(function(t){i.push(e+":-"+t)})});var o=e.disjunctiveFacetsRefinements||{};Object.keys(o).sort().forEach(function(e){var r=o[e]||[];if(e!==t&&r&&0!==r.length){var a=[];r.slice().sort().forEach(function(t){a.push(e+":"+t)}),i.push(a)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(a){var n,o,l=(s[a]||[])[0];if(void 0!==l){var c=e.getHierarchicalFacetByName(a),d=e._getHierarchicalFacetSeparator(c),u=e._getHierarchicalRootPath(c);if(t===a){if(-1===l.indexOf(d)||!u&&!0===r||u&&u.split(d).length===l.split(d).length)return;u?(o=u.split(d).length-1,l=u):(o=l.split(d).length-2,l=l.slice(0,l.lastIndexOf(d))),n=c.attributes[o]}else o=l.split(d).length-1,n=c.attributes[o];n&&i.push([n+":"+l])}}),i},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var i=e.getHierarchicalRefinement(r.name)[0];if(!i)return t.push(r.attributes[0]),t;var a=e._getHierarchicalFacetSeparator(r),n=i.split(a).length,o=r.attributes.slice(0,n+1);return t.concat(o)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var i=e._getHierarchicalFacetSeparator(t);if(!0===r){var a=e._getHierarchicalRootPath(t),n=0;return a&&(n=a.split(i).length),[t.attributes[n]]}var o=(e.getHierarchicalRefinement(t.name)[0]||"").split(i).length-1;return t.attributes.slice(0,o+1)},getSearchForFacetQuery:function(e,t,r,o){var s=o.isDisjunctiveFacet(e)?o.clearRefinements(e):o,l={facetQuery:t,facetName:e};return"number"==typeof r&&(l.maxFacetHits=r),a(i({},n._getHitsSearchParams(s),l))}};t.exports=n},940587,(e,t,r)=>{"use strict";t.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},911882,(e,t,r)=>{"use strict";t.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},469128,(e,t,r)=>{"use strict";t.exports=function(e,t){return e.filter(function(r,i){return t.indexOf(r)>-1&&e.indexOf(r)===i})}},964524,(e,t,r)=>{"use strict";t.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},294757,(e,t,r)=>{"use strict";t.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},427717,(e,t,r)=>{"use strict";var i=e.r(940587),a=e.r(207919),n=e.r(784516),o={addRefinement:function(e,t,r){if(o.isRefined(e,t,r))return e;var a=""+r,n=e[t]?e[t].concat(a):[a],s={};return s[t]=n,i(s,e)},removeRefinement:function(e,t,r){if(void 0===r)return o.clearRefinement(e,function(e,r){return t===r});var i=""+r;return o.clearRefinement(e,function(e,r){return t===r&&i===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");return o.isRefined(e,t,r)?o.removeRefinement(e,t,r):o.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return n(e,[t]);if("function"==typeof t){var i=!1,o=Object.keys(e).reduce(function(a,n){var o=e[n]||[],s=o.filter(function(e){return!t(e,n,r)});return s.length!==o.length&&(i=!0),a[n]=s,a},{});return i?o:e}},isRefined:function(e,t,r){var i=!!e[t]&&e[t].length>0;return void 0!==r&&i?-1!==e[t].indexOf(""+r):i}};t.exports=o},453776,(e,t,r)=>{"use strict";var i=e.r(940587),a=e.r(911882),n=e.r(469128),o=e.r(143938),s=e.r(207919),l=e.r(784516),c=e.r(964524),d=e.r(294757),u=e.r(427717);function p(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return p(t[r],e)}):e===t}function h(e){var t=e?h._parseNumbers(e):{};void 0===t.userToken||d(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invali
3d. This can lead to wrong analytics.\n  - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var i=-1!==h.PARAMETERS.indexOf(e),a=void 0!==t[e];!i&&a&&(r[e]=t[e])})}function f(e){var t=parseFloat(e);return isFinite(t)?t:null}h.PARAMETERS=Object.keys(new h),h._parseNumbers=function(e){if(e instanceof h)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(r){var i=e[r];if("string"==typeof i){var a=parseFloat(i);isNaN(a)?t[r]=i:isFinite(a)?t[r]=a:t[r]=null}else"number"!=typeof i||isFinite(i)||(t[r]=null)}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var i=e.numericRefinements[t]||{};r[t]={}
vendor: 4,818 bytes, line 3
3,Object.keys(i).forEach(function(e){var a=i[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null}):"string"==typeof e?f(e):"number"!=typeof e||isFinite(e)?e:null});r[t][e]=a})}),t.numericRefinements=r}return o(e,t)},h.make=function(e){var t=new h(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},h.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&s(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},h.prototype={constructor:h,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:u.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:u.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:u.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:u.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var i=c(r);if(this.isNumericRefined(e,t,i))return this;var a=o({},this.numericRefinements);return a[e]=o({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(i,a){return a===e&&i.op===t&&p(i.val,c(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,i){return i===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return l(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,i=Object.keys(r).reduce(function(i,a){var n=r[a],o={};return Object.keys(n=n||{}
vendor: 8,277 bytes, line 3
3).forEach(function(r){var i=n[r]||[],s=[];i.forEach(function(t){e({val:t,op:r},a,"numeric")||s.push(t)}),s.length!==i.length&&(t=!0),o[r]=s}),i[a]=o,i},{});return t?i:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return u.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:u.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return u.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:u.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return u.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:u.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return u.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:u.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return u.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:u.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return u.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:u.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:u.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:u.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:u.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),a={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?a[e]=[]:a[e]=[t.slice(0,t.lastIndexOf(r))]:a[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i(a,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i(r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i(t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&u.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&u.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&u.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var i,n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var o=c(r),s=void 0!==(i=this.numericRefinements[e][t],a(i,function(e){return p(e,o)}));return n&&s},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=n(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return n(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;
3return Object.keys(this).forEach(function(i){var a=r[i];-1===e.indexOf(i)&&void 0!==a&&(t[i]=a)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=h.validate(this,e);if(t)throw t;var r=this,i=h._parseNumbers(e),a=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),n=Object.keys(i).reduce(function(e,t){var r=void 0!==e[t],a=void 0!==i[t];return r&&!a?l(e,[t]):(a&&(e[t]=i[t]),e)},a);return new this.constructor(n)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return a(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},t.exports=h},617317,(e,t,r)=>{"use strict";t.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},632472,(e,t,r)=>{"use strict";t.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},141584,(e,t,r)=>{"use strict";var i=e.r(911882);t.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var a=t.split(":"),n=i(r,function(e){return e[0]===a[0]});return a.length>1||!n?(e[0].push(a[0]),e[1].push(a[1])):(e[0].push(n[0]),e[1].push(n[1])),e},[[],[]])}},903949,(e,t,r)=>{"use strict";t.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){var i="number"==typeof e[r]?e[r]:0,a=t[r];void 0!==a&&a>=i&&(void 0!==e[r]&&delete e[r],e[r]=a)}),e},{})}},945677,(e,t,r)=>{"use strict";t.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var i=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return i.sort(function(e,t){for(var i=-1;++i<e.criteria.length;){var a=function(e,t){if(e!==t){var r=void 0!==e,i=null===e,a=void 0!==t,n=null===t;if(!n&&e>t||i&&a||!r)return 1;if(!i&&e<t||n&&r||!a)return -1}return 0}(e.criteria[i],t.criteria[i]);if(a){if(i>=r.length)return a;if("desc"===r[i])return-a;return a}}return e.index-t.index}),i.map(function(e){return e.value})}},663688,(e,t,r)=>{"use strict";t.exports=function(e){return function(t,r){var i,c,d,u,p,h=e.hierarchicalFacets[r],f=e.hierarchicalFacetsRefinements[h.name]&&e.hierarchicalFacetsRefinements[h.name][0]||"",g=e._getHierarchicalFacetSeparator(h),m=e._getHierarchicalRootPath(h),v=e._getHierarchicalShowParentLevel(h),b=n(e._getHierarchicalFacetSortBy(h)),y=t.every(function(e){return e.exhaustive}),x=(i=b,c=g,d=m,u=v,p=f,function(e,t,r){var n=e;if(r>0){var h=0;for(n=e;h<r;)n=a(n&&Array.isArray(n.data)?n.data:[],function(e){return e.isRefined}),h++}if(n){var f=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,i,a,o,s;return t=e[0],r=n.path||d,i=p,a=c,o=d,s=u,(!o||0===t.indexOf(o)&&o!==t)&&(!o&&-1===t.indexOf(a)||o&&t.split(a).length-o.split(a).length==1||-1===t.indexOf(a)&&-1===i.indexOf(a)||0===i.indexOf(t)||0===t.indexOf(r+a)&&(s||0===t.indexOf(i)))});n.data=o(f.map(function(e){var r,i,a,n,o,d,u=e[0];return r=e[1],i=u,a=c,n=l(p),o=t.exhaustive,{name:(d=i.split(a))[d.length-1].trim(),path:i,escapedValue:s(i),count:r,isRefined:n===i||0===n.indexOf(i+a),exhaustive:o,data:null}}),i[0],i[1])}return e}),S=t;return m&&(S=t.slice(m.split(g).length)),S.reduce(x,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:y,data:null})}};var i=e.r(549896),a=e.r(911882),n=e.r(141584),o=e.r(945677),s=i.escapeFacetValue,l=i.unescapeFacetValue},194667,(e,t,r)=>{"use strict";var i=e.r(617317),a=e.r(940587),n=e.r(549896),o=e.r(911882),s=e.r(632472),l=e.r(141584),c=e.r(903949),d=e.r(945677),u=n.escapeFacetValue,p=n.unescapeFacetValue,h=e.r(663688);function f(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function g(e,t,r){t&&t[r]&&(e.stats=t[r])}function m(e,t,r){var n=t[0]||{};this._rawResults=t;var l=this;
3Object.keys(n).forEach(function(e){l[e]=n[e]});var d=a(r,{persistHierarchicalRootCount:!1});Object.keys(d).forEach(function(e){l[e]=d[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var u=e.getRefinedDisjunctiveFacets(),m=f(e.facets),v=f(e.disjunctiveFacets),b=1,y=n.facets||{};Object.keys(y).forEach(function(t){var r=y[t],i=(d=e.hierarchicalFacets,o(d,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(i){var a=i.attributes.indexOf(t),c=s(e.hierarchicalFacets,function(e){return e.name===i.name});l.hierarchicalFacets[c][a]={attribute:t,data:r,exhaustive:n.exhaustiveFacetsCount}}else{var d,u,p=-1!==e.disjunctiveFacets.indexOf(t),h=-1!==e.facets.indexOf(t);p&&(u=v[t],l.disjunctiveFacets[u]={name:t,data:r,exhaustive:n.exhaustiveFacetsCount},g(l.disjunctiveFacets[u],n.facets_stats,t)),h&&(u=m[t],l.facets[u]={name:t,data:r,exhaustive:n.exhaustiveFacetsCount},g(l.facets[u],n.facets_stats,t))}}),this.hierarchicalFacets=i(this.hierarchicalFacets),u.forEach(function(r){var i=t[b],o=i&&i.facets?i.facets:{},d=e.getHierarchicalFacetByName(r);Object.keys(o).forEach(function(t){var r,u=o[t];if(d){r=s(e.hierarchicalFacets,function(e){return e.name===d.name});var h=s(l.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===h)return;l.hierarchicalFacets[r][h].data=l.persistHierarchicalRootCount?c(l.hierarchicalFacets[r][h].data,u):a(u,l.hierarchicalFacets[r][h].data)}else{r=v[t];var f=n.facets&&n.facets[t]||{};l.disjunctiveFacets[r]={name:t,data:c(f,u),exhaustive:i.exhaustiveFacetsCount},g(l.disjunctiveFacets[r],i.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(i){!l.disjunctiveFacets[r].data[i]&&e.disjunctiveFacetsRefinements[t].indexOf(p(i))>-1&&(l.disjunctiveFacets[r].data[i]=0)})}}),b++}),e.getRefinedHierarchicalFacets().forEach(function(r){var i=e.getHierarchicalFacetByName(r),n=e._getHierarchicalFacetSeparator(i),o=e.getHierarchicalRefinement(r);0===o.length||o[0].split(n).length<2||t.slice(b).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var c=r[t],d=s(e.hierarchicalFacets,function(e){return e.name===i.name}),u=s(l.hierarchicalFacets[d],function(e){return e.attribute===t});if(-1!==u){var p={};if(o.length>0&&!l.persistHierarchicalRootCount){var h=o[0].split(n)[0];p[h]=l.hierarchicalFacets[d][u].data[h]}l.hierarchicalFacets[d][u].data=a(p,c,l.hierarchicalFacets[d][u].data)}}),b++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],i=m[t];l.facets[i]={name:t,data:y[t],exhaustive:n.exhaustiveFacetsCount},r.forEach(function(e){l.facets[i]=l.facets[i]||{name:t},l.facets[i].data=l.facets[i].data||{},l.facets[i].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(h(e)),this.facets=i(this.facets),this.disjunctiveFacets=i(this.disjunctiveFacets),this._state=e}function v(e,t){var r=o(e,function(e){return e.name===t});return r&&r.stats}function b(e,t,r,i,a){var n=o(a,function(e){return e.name===r}),s=n&&n.data&&n.data[i]?n.data[i]:0;return{type:t,attributeName:r,name:i,count:s,exhaustive:n&&n.exhaustive||!1}}m.prototype.getFacetByName=function(e){function t(t){return t.name===e}return o(this.facets,t)||o(this.disjunctiveFacets,t)||o(this.hierarchicalFacets,t)},m.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],m.prototype.getFacetValues=function(e,t){var r,i=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var i=o(e.facets,r);return i?Object.keys(i.data).map(function(r){var a=u(r);return{name:r,escapedValue:a,count:i.data[r],isRefined:e._state.isFacetRefined(t,a),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var a=o(e.disjunctiveFacets,r);return a?Object.keys(a.data).map(function(r){var i=u(r);return{name:r,escapedValue:i,count:a.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,i)}}):[]}if(e._state.isHierarchicalFacet(t)){var n=o(e.hierarchicalFacets,r);if(!n)return n;var s=e._state.getHierarchicalFacetByName(t),l=e._state._getHierarchicalFacetSeparator(s),c=p(e._state.getHierarchicalRefinement(t)[0]||"");0===c.indexOf(s.rootPath)&&(c=c.replace(s.rootPath+l,""));var d=c.split(l);return d.unshift(t),function e(t,r,i){t.isRefined=t.name===(r[i]&&r[i].trim()),t.data&&t.data.forEach(function(t){e(t,r,i+1)})}(n,d,0),n}}(this,e);if(i){var n=a(t,{sortBy:m.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return r=Array.isArray(i)?[e]:s._state.getHierarchicalFacetByName(i.name).attributes,function e(t,r,i,n){if(n=n||0,Array.isArray(r))return t(r,i[n]);if(!r.data||0===r.data.length)return r;var o=r.data.map(function(r){return e(t,r,i,n+1)});return a({data:t(o,i[n])},r)}(function(e,t){var r,i,a,o,c,u,p,h=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(n.facetOrdering&&h)return i=[],a=[],o=h.hide||[],c=(h.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name,r=o.indexOf(t)>-1;r||void 0===c[t]?r||a.push(e):i[c[t]]=e}),i=i.filter(function(e){return e}),"hidden"===(u=h.sortRemainingBy)?i:(r="alpha"===u?[["path","name"],["asc","asc"]]:[["count"],["desc"]],i.concat(d(a,r[0],r[1])));if(Array.isArray(n.sortBy)){var f=l(n.sortBy,m.DEFAULT_SORT),g=d(e,f[0],f[1]),v=h&&h.hide?h.hide:[];if(v.length>0){var b=[];return g.forEach(function(e){var t=e.path||e.name;-1===v.indexOf(t)&&b.push(e)}),b}return g}if("function"==typeof n.sortBy)return p=n.sortBy,e.sort(p);throw Error("options.sortBy is optional but if defined it must be either an array of str
3ing (predicates) or a sorting function")},i,r)}},m.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?v(this.facets,e):this._state.isDisjunctiveFacet(e)?v(this.disjunctiveFacets,e):void 0},m.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(i){e.facetsRefinements[i].forEach(function(a){r.push(b(e,"facet",i,a,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(i){e.facetsExcludes[i].forEach(function(a){r.push(b(e,"exclude",i,a,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(i){e.disjunctiveFacetsRefinements[i].forEach(function(a){r.push(b(e,"disjunctive",i,a,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(i){e.hierarchicalFacetsRefinements[i].forEach(function(a){var n,s,l,c,d,u,p,h,f,g,m;r.push((n=e,s=i,l=a,c=t.hierarchicalFacets,d=n.getHierarchicalFacetByName(s),u=n._getHierarchicalFacetSeparator(d),p=l.split(u),h=o(c,function(e){return e.name===s}),g=(f=p.reduce(function(e,t){var r=e&&o(e.data,function(e){return e.name===t});return void 0!==r?r:e},h))&&f.count||0,m=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:s,name:f&&f.path||"",count:g,exhaustive:m}))})}),Object.keys(e.numericRefinements).forEach(function(t){var i=e.numericRefinements[t];
3Object.keys(i).forEach(function(e){i[e].forEach(function(i){r.push({type:"numeric",attributeName:t,name:i,numericValue:i,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},t.exports=m},185783,(e,t,r)=>{t.exports=function(e){return e.reduce(function(e,t){return e.concat(t)},[])}},721265,(e,t,r)=>{"use strict";var i=e.r(911882),a=e.r(185783);t.exports=function(e,t){var r,n,o={};return t.forEach(function(t){t.forEach(function(t,r){e.includes(t.objectID)||(o[t.objectID]?o[t.objectID]={indexSum:o[t.objectID].indexSum+r,count:o[t.objectID].count+1}:o[t.objectID]={indexSum:r,count:1})})}),(r=t.length,n=[],Object.keys(o).forEach(function(e){o[e].count<2&&(o[e].indexSum+=100),n.push({objectID:e,avgOfIndices:o[e].indexSum/r})}),n.sort(function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1})).reduce(function(e,r){var n=i(a(t),function(e){return e.objectID===r.objectID});return n?e.concat(n):e},[])}},466862,(e,t,r)=>{"use strict";var i=e.r(106824),a=e.r(834105),n=e.r(549896).escapeFacetValue,o=e.r(639326),s=e.r(143938),l=e.r(207919),c=e.r(784516),d=e.r(777250),u=e.r(265209),p=e.r(332595),h=e.r(453776),f=e.r(194667),g=e.r(721265),m=e.r(546251);function v(e,t,r,i){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+m+")"),this.setClient(e);var a=r||{};a.index=t,this.state=h.make(a),this.recommendState=new d({params:a.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=i,this._recommendCache={}}function b(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function y(){return this.state.page}o(v,i),v.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},v.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},v.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},v.prototype.recommend=function(){return this._recommend(),this},v.prototype.getQuery=function(){var e=this.state;return p._getHitsSearchParams(e)},v.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,i=p._getQueries(r.index,r),a=this;return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(i).then(function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new f(r,e.results),r)}).catch(function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(i).then(function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new f(r,e.results),state:r,_originalResponse:e}},function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e})},v.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var i=r.getModifiedState(t),a=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:c(p._getHitsSearchParams(i),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),n="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(n);var o=this.client.initIndex(i.index);if("function"!=typeof o.findAnswers)throw Error(n);return o.findAnswers(i.query,e.queryLanguages,a)},v.prototype.searchForFacetValues=function(e,t,r,i){var a,o="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,s="function"==typeof this.client.initIndex;if(!o&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var l=this.state.setQueryParameters(i||{}),c=l.isDisjunctiveFacet(e),d=p.getSearchForFacetQuery(e,t,r,l);this._currentNbQueries++;var u=this;o?a=this.client.searchForFacetValues([{indexName:l.index,params:d}]):s?a=this.client.initIndex(l.index).searchForFacetValues(d):(delete d.facetName,a=this.client.search([{type:"facet",facet:e,indexName:l.index,params:d}]).then(function(e){return e.results[0]}
3)),this.emit("searchForFacetValues",{state:l,facet:e,query:t});var h=this.lastResults&&this.lastResults.index===l.index&&this.lastResults.renderingContent&&this.lastResults.renderingContent.facetOrdering&&this.lastResults.renderingContent.facetOrdering.values&&this.lastResults.renderingContent.facetOrdering.values[e]&&this.lastResults.renderingContent.facetOrdering.values[e].hide||[];return a.then(function(t){return u._currentNbQueries--,0===u._currentNbQueries&&u.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits=t.facetHits.reduce(function(t,r){return h.indexOf(r.value)>-1||(r.escapedValue=n(r.value),r.isRefined=c?l.isDisjunctiveFacetRefined(e,r.escapedValue):l.isFacetRefined(e,r.escapedValue),t.push(r)),t},[]),t},function(e){throw u._currentNbQueries--,0===u._currentNbQueries&&u.emit("searchQueueEmpty"),e})},v.prototype.searchForCompositionFacetValues=function(e,t,r,i){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var a,o=this.state.setQueryParameters(i||{}),s=o.isDisjunctiveFacet(e);this._currentNbQueries++;var l=this;return a=this.client.searchForFacetValues({compositionID:o.index,facetName:e,searchForFacetValuesRequest:{params:{query:t,maxFacetHits:r,searchQuery:p._getCompositionHitsSearchParams(o)}}}),this.emit("searchForFacetValues",{state:o,facet:e,query:t}),a.then(function(t){return l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),(t=t.results[0]).facetHits.forEach(function(t){t.escapedValue=n(t.value),t.isRefined=s?o.isDisjunctiveFacetRefined(e,t.escapedValue):o.isFacetRefined(e,t.escapedValue)}),t},function(e){throw l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),e})},v.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},v.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},v.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},v.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},v.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},v.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},v.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},v.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},v.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},v.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},v.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},v.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},v.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},v.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},v.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},v.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParam
vendor: 4,059 bytes, line 3
3s(e)}),this},v.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},v.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},v.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},v.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},v.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},v.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},v.prototype.setCurrentPage=b,v.prototype.setPage=b,v.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},v.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},v.prototype.setState=function(e){return this._change({state:h.make(e),isPageReset:!1}),this},v.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new h(e),this},v.prototype.hasRefinements=function(e){return!!l(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},v.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},v.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},v.prototype.hasTag=function(e){return this.state.isTagRefined(e)},v.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},v.prototype.getIndex=function(){return this.state.index},v.prototype.getCurrentPage=y,v.prototype.getPage=y,v.prototype.getTags=function(){return this.state.tagRefinements},v.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var i=r[e];t.push({value:i,operator:e,type:"numeric"})}),t},v.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},v.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},v.prototype._search=function(e){var t=this.state,r=[],i=[];e.onlyWithDerivedHelpers||(i=p._getQueries(t.index,t),r.push({state:t,queriesCount:i.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var a=this.derivedHelpers.map(function(e){var i=e.getModifiedState(t),a=i.index?p._getQueries(i.index,i):[];return r.push({state:i,queriesCount:a.length,helper:e}),e.emit("search",{state:i,results:e.lastResults}),a}),n=Array.prototype.concat.apply(i,a),o=this._queryId++;if(this._currentNbQueries++,!n.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,o));
3try{this.client.search(n).then(this._dispatchAlgoliaResponse.bind(this,r,o)).catch(this._dispatchAlgoliaError.bind(this,o))}catch(e){this.emit("error",{error:e})}},v.prototype._runComposition=function(){var e=this.state,t=[],r=this.derivedHelpers.map(function(r){var i=r.getModifiedState(e),a=p._getCompositionQueries(i);return t.push({state:i,helper:r}),r.emit("search",{state:i,results:r.lastResults}),a}),i=Array.prototype.concat.apply([],r),a=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,t,a));if(i.length>1)throw Error("Only one query is allowed when using a composition.");var n=i[0];try{this.client.search(n).then(this._dispatchAlgoliaResponse.bind(this,t,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},v.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),i=[{state:t,index:r,helper:this}],a=t.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var n=this._recommendCache,o=this.derivedHelpers.map(function(t){var r=t.getModifiedState(e).index;if(!r)return[];var o=t.getModifiedRecommendState(new d);return i.push({state:o,index:r,helper:t}),a=Array.prototype.concat.apply(a,o.params.map(function(e){return e.$$id})),t.emit("fetch",{recommend:{state:o,results:t.lastRecommendResults}}),o._buildQueries(r,n)}),s=Array.prototype.concat.apply(this.recommendState._buildQueries(r,n),o);if(0!==s.length){if(s.length>0&&void 0===this.client.getRecommendations)return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var l=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(s).then(this._dispatchRecommendResponse.bind(this,l,i,a)).catch(this._dispatchRecommendError.bind(this,l))}catch(e){this.emit("error",{error:e})}}},v.prototype._dispatchAlgoliaResponse=function(e,t,r){var i=this;if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var a=r.results.slice(),n=Object.keys(r).reduce(function(e,t){return"results"!==t&&(e[t]=r[t]),e},{});Object.keys(n).length<=0&&(n=void 0),e.forEach(function(e){var t=e.state,r=e.queriesCount,o=e.helper,s=void 0!==r?a.splice(0,r):a;if(!t.index)return void o.emit("result",{results:null,state:t});if(s.length>0&&s[0].feedID){var l=s.map(function(e){var r=new f(t,[e],i._searchResultsOptions);return void 0!==n&&(r._rawContent=n),r});o.lastResults=new f(t,[s[0]],i._searchResultsOptions),o.lastResults.feeds=l,void 0!==n&&(o.lastResults._rawContent=n)}else o.lastResults=new f(t,s,i._searchResultsOptions),void 0!==n&&(o.lastResults._rawContent=n);o.emit("result",{results:o.lastResults,state:t})})}},v.prototype._dispatchRecommendResponse=function(e,t,r,i){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var a=this._recommendCache,n={};r.filter(function(e){return void 0===a[e]}).forEach(function(e,t){n[e]||(n[e]=[]),n[e].push(t)}),Object.keys(n).forEach(function(e){var t=n[e],o=i.results[t[0]];if(1===t.length){a[e]=o;return}a[e]=Object.assign({},o,{hits:g(r,t.map(function(e){return i.results[e].hits}))})});var o={};r.forEach(function(e){o[e]=a[e]}),t.forEach(function(e){var t=e.state,r=e.helper;e.index?(r.lastRecommendResults=new u(t,o),r.emit("recommend:result",{recommend:{results:r.lastRecommendResults,state:t}})):r.emit("recommend:result",{results:null,state:t})})}},v.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},v.prototype._dispatchRecommendError=function(e,t){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryId
3Received,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},v.prototype.containsRefinement=function(e,t,r,i){return e||0!==t.length||0!==r.length||0!==i.length},v.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},v.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},v.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},v.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},v.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+m+")"),this.client=e),this},v.prototype.getClient=function(){return this.client},v.prototype.derive=function(e,t){var r=new a(this,e,t);return this.derivedHelpers.push(r),r},v.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},v.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},t.exports=v},553422,(e,t,r)=>{"use strict";var i=e.r(466862),a=e.r(777250),n=e.r(265209),o=e.r(453776),s=e.r(194667);function l(e,t,r,a){return new i(e,t,r,a)}l.version=e.r(546251),l.AlgoliaSearchHelper=i,l.SearchParameters=o,l.RecommendParameters=a,l.SearchResults=s,l.RecommendResults=n,t.exports=l},231473,(e,t,r)=>{"use strict";t.exports=TypeError},787405,(e,t,r)=>{var i="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=i&&a&&"function"==typeof a.get?a.get:null,o=i&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,d=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,b=String.prototype.slice,y=String.prototype.replace,x=String.prototype.toUpperCase,S=String.prototype.toLowerCase,w=RegExp.prototype.test,k=Array.prototype.concat,_=Array.prototype.join,R=Array.prototype.slice,j=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,z="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===z?"object":"symbol")?Symbol.toStringTag:null,E=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function A(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var i=e<0?-j(-e):j(e);if(i!==e){var a=String(i),n=b.call(t,a.length+1);return y.call(a,r,"$&_")+"."+y.call(y.call(n,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,r,"$&_")}var F={},W=F.custom,L=V(W)?W:null,D={__proto__:null,double:'"',single:"'"},N={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function B(e,t,r){var i=D[r.quoteStyle||t];return i+e+i}function H(e){return!T||!("object"==typeof e&&(T in e||void 0!==e[T]))}function M(e){return"[object Array]"===Q(e)&&H(e)}function U(e){return"[object RegExp]"===Q(e)&&H(e)}function V(e){if(z)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
3if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}t.exports=function t(r,i,a,s){var l,g,x,w,j,P=i||{};if(q(P,"quoteStyle")&&!q(D,P.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(q(P,"maxStringLength")&&("number"==typeof P.maxStringLength?P.maxStringLength<0&&P.maxStringLength!==1/0:null!==P.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var W=!q(P,"customInspect")||P.customInspect;if("boolean"!=typeof W&&"symbol"!==W)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(P,"indent")&&null!==P.indent&&"	"!==P.indent&&!(parseInt(P.indent,10)===P.indent&&P.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(P,"numericSeparator")&&"boolean"!=typeof P.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $=P.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return function e(t,r){if(t.length>r.maxStringLength){var i=t.length-r.maxStringLength;return e(b.call(t,0,r.maxStringLength),r)+("... "+i)+" more character"+(i>1?"s":"")}var a=N[r.quoteStyle||"single"];return a.lastIndex=0,B(y.call(y.call(t,a,"\\$1"),/[\x00-\x1f]/g,K),"single",r)}(r,P);if("number"==typeof r){if(0===r)return 1/0/r>0?"0":"-0";var et=String(r);return $?A(r,et):et}if("bigint"==typeof r){var er=String(r)+"n";return $?A(r,er):er}var ei=void 0===P.depth?5:P.depth;if(void 0===a&&(a=0),a>=ei&&ei>0&&"object"==typeof r)return M(r)?"[Array]":"[Object]";var ea=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=_.call(Array(e.indent+1)," ")}return{base:r,prev:_.call(Array(t+1),r)}}(P,a);if(void 0===s)s=[];else if(G(s,r)>=0)return"[Circular]";function en(e,r,i){if(r&&(s=R.call(s)).push(r),i){var n={depth:P.depth};return q(P,"quoteStyle")&&(n.quoteStyle=P.quoteStyle),t(e,n,a+1,s)}return t(e,P,a+1,s)}if("function"==typeof r&&!U(r)){var eo=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(r),es=ee(r,en);return"[Function"+(eo?": "+eo:" (anonymous)")+"]"+(es.length>0?" { "+_.call(es,", ")+" }":"")}if(V(r)){var el=z?y.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(r);return"object"!=typeof r||z?el:X(el)}if((ec=r)&&"object"==typeof ec&&("u">typeof HTMLElement&&ec instanceof HTMLElement||"string"==typeof ec.nodeName&&"function"==typeof ec.getAttribute)){for(var ec,ed,eu="<"+S.call(String(r.nodeName)),ep=r.attributes||[],eh=0;eh<ep.length;eh++){eu+=" "+ep[eh].name+"="+B((ed=ep[eh].value,y.call(String(ed),/"/g,"&quot;")),"double",P)}return eu+=">",r.childNodes&&r.childNodes.length&&(eu+="..."),eu+="</"+S.call(String(r.nodeName))+">"}if(M(r)){if(0===r.length)return"[]";var ef=ee(r,en);return ea&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(ef)?"["+Z(ef,ea)+"]":"[ "+_.call(ef,", ")+" ]"}if("[object Error]"===Q(l=r)&&H(l)){var eg=ee(r,en);return"cause"in Error.prototype||!("cause"in r)||E.call(r,"cause")?0===eg.length?"["+String(r)+"]":"{ ["+String(r)+"] "+_.call(eg,", ")+" }":"{ ["+String(r)+"] "+_.call(k.call("[cause]: "+en(r.cause),eg),", ")+" }"}if("object"==typeof r&&W){if(L&&"function"==typeof r[L]&&F)return F(r,{depth:ei-a});else if("symbol"!==W&&"function"==typeof r.inspect)return r.inspect()}if(function(e){if(!n||!e||"object"!=typeof e)return!1;try{n.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(r)){var em=[];return o&&o.call(r,function(e,t){em.push(en(t,r,!0)+" => "+en(e,r))}),J("Map",n.call(r),em,ea)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{n.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(r)){var ev=[];return d&&d.call(r,function(e){ev.push(en(e,r))}),J("Set",c.call(r),ev,ea)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(r))return Y("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(r))return Y("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(r))return Y("WeakRef");if("[object Number]"===Q(g=r)&&H(g))return X(en(Number(r)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(r))return X(en(C.call(r)));if("[object Boolean]"===Q(x=r)&&H(x))return X(f.call(r));if("[object String]"===Q(w=r)&&H(w))return X(en(String(r)));if("u">typeof window&&r===window)return"{ [object Window] }";if("u">typeof globalThis&&r===globalThis||r===e.g)return"{ [object globalThis] }";if(!("[object Date]"===Q(j=r)&&H(j))&&!U(r)){var eb=ee(r,en),ey=O?O(r)===Object.prototype:r instanceof Object||r.constructor===Object,ex=r instanceof Object?"":"null prototype",eS=!ey&&T&&Object(r)===r&&T in r?b.call(Q(r),8,-1):ex?"Object":"",ew=(ey||"function"!=typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"")+(eS||ex?"["+_.call(k.call([],eS||[],ex||[]),": ")+"] ":"");return 0===eb.length?ew+"{}":ea?ew+"{"+Z(eb,ea)+"}":ew+"{ "+_.call(eb,", ")+" }"}return String(r)};var $=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return $.call(e,t)}function Q(e){return g.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return -1}function K(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function X(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}
3function J(e,t,r,i){return e+" ("+t+") {"+(i?Z(r,i):_.call(r,", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+_.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,i=M(e),a=[];if(i){a.length=e.length;for(var n=0;n<e.length;n++)a[n]=q(e,n)?t(e[n],e):""}var o="function"==typeof P?P(e):[];if(z){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var l in e)if(q(e,l)&&(!i||String(Number(l))!==l||!(l<e.length)))if(z&&r["$"+l]instanceof Symbol)continue;else w.call(/[^\w$]/,l)?a.push(t(l,e)+": "+t(e[l],e)):a.push(l+": "+t(e[l],e));if("function"==typeof P)for(var c=0;c<o.length;c++)E.call(e,o[c])&&a.push("["+t(o[c])+"]: "+t(e[o[c]],e));return a}},174353,(e,t,r)=>{"use strict";var i=e.r(787405),a=e.r(231473),n=function(e,t,r){for(var i,a=e;null!=(i=a.next);a=i)if(i.key===t)return a.next=i.next,r||(i.next=e.next,e.next=i),i},o=function(e,t){if(e){var r=n(e,t);return r&&r.value}},s=function(e,t,r){var i=n(e,t);i?i.value=r:e.next={key:t,next:e.next,value:r}},l=function(e,t){if(e)return n(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){var r=l(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return o(e,t)},has:function(t){var r;return!!(r=e)&&!!n(r,t)},set:function(t,r){e||(e={next:void 0}),s(e,t,r)}};return t}},314174,(e,t,r)=>{"use strict";t.exports=Object},892715,(e,t,r)=>{"use strict";t.exports=Error},607829,(e,t,r)=>{"use strict";t.exports=EvalError},498493,(e,t,r)=>{"use strict";t.exports=RangeError},167914,(e,t,r)=>{"use strict";t.exports=ReferenceError},26857,(e,t,r)=>{"use strict";t.exports=SyntaxError},991878,(e,t,r)=>{"use strict";t.exports=URIError},978866,(e,t,r)=>{"use strict";t.exports=Math.abs},365335,(e,t,r)=>{"use strict";t.exports=Math.floor},922083,(e,t,r)=>{"use strict";t.exports=Math.max},640465,(e,t,r)=>{"use strict";t.exports=Math.min},18849,(e,t,r)=>{"use strict";t.exports=Math.pow},97988,(e,t,r)=>{"use strict";t.exports=Math.round},636469,(e,t,r)=>{"use strict";t.exports=Number.isNaN||function(e){return e!=e}},366205,(e,t,r)=>{"use strict";var i=e.r(636469);t.exports=function(e){return i(e)||0===e?e:e<0?-1:1}},484153,(e,t,r)=>{"use strict";t.exports=Object.getOwnPropertyDescriptor},83585,(e,t,r)=>{"use strict";var i=e.r(484153);if(i)try{i([],"length")}catch(e){i=null}t.exports=i},393155,(e,t,r)=>{"use strict";var i=Object.defineProperty||!1;if(i)try{i({},"a",{value:1})}catch(e){i=!1}t.exports=i},199260,(e,t,r)=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var i in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(e,t);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},811880,(e,t,r)=>{"use strict";var i="u">typeof Symbol&&Symbol,a=e.r(199260);t.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&a()}},277146,(e,t,r)=>{"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},818991,(e,t,r)=>{"use strict";t.exports=e.r(314174).getPrototypeOf||null},992819,(e,t,r)=>{"use strict";var i=Object.prototype.toString,a=Math.max,n=function(e,t){for(var r=[],i=0;i<e.length;i+=1)r[i]=e[i];for(var a=0;a<t.length;a+=1)r[a+e.length]=t[a];return r},o=function(e,t){for(var r=[],i=t||0,a=0;i<e.length;i+=1,a+=1)r[a]=e[i];return r},s=function(e,t){for(var r="",i=0;i<e.length;i+=1)r+=e[i],i+1<e.length&&(r+=t);return r};t.exports=function(e){var t,r=this;if("function"!=typeof r||"[object Function]"!==i.apply(r))throw TypeError("Function.prototype.bind called on incompatible "+r);
3for(var l=o(arguments,1),c=a(0,r.length-l.length),d=[],u=0;u<c;u++)d[u]="$"+u;if(t=Function("binder","return function ("+s(d,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof t){var i=r.apply(this,n(l,arguments));return Object(i)===i?i:this}return r.apply(e,n(l,arguments))}),r.prototype){var p=function(){};p.prototype=r.prototype,t.prototype=new p,p.prototype=null}return t}},78387,(e,t,r)=>{"use strict";var i=e.r(992819);t.exports=Function.prototype.bind||i},487957,(e,t,r)=>{"use strict";t.exports=Function.prototype.call},996077,(e,t,r)=>{"use strict";t.exports=Function.prototype.apply},628403,(e,t,r)=>{"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},510938,(e,t,r)=>{"use strict";var i=e.r(78387),a=e.r(996077),n=e.r(487957);t.exports=e.r(628403)||i.call(n,a)},954767,(e,t,r)=>{"use strict";var i=e.r(78387),a=e.r(231473),n=e.r(487957),o=e.r(510938);t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new a("a function is required");return o(i,n,e)}},905408,(e,t,r)=>{"use strict";var i,a=e.r(954767),n=e.r(83585);try{i=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!i&&n&&n(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;t.exports=o&&"function"==typeof o.get?a([o.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},211915,(e,t,r)=>{"use strict";var i=e.r(277146),a=e.r(818991),n=e.r(905408);t.exports=i?function(e){return i(e)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return a(e)}:n?function(e){return n(e)}:null},816322,(e,t,r)=>{"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty;t.exports=e.r(78387).call(i,a)},343473,(e,t,r)=>{"use strict";var i=e.r(314174),a=e.r(892715),n=e.r(607829),o=e.r(498493),s=e.r(167914),l=e.r(26857),c=e.r(231473),d=e.r(991878),u=e.r(978866),p=e.r(365335),h=e.r(922083),f=e.r(640465),g=e.r(18849),m=e.r(97988),v=e.r(366205),b=Function,y=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=e.r(83585),S=e.r(393155),w=function(){throw new c},k=x?function(){try{return arguments.callee,w}catch(e){try{return x(arguments,"callee").get}catch(e){return w}}}():w,_=e.r(811880)(),R=e.r(211915),j=e.r(818991),C=e.r(277146),P=e.r(996077),I=e.r(487957),z={},T="u">typeof Uint8Array&&R?R(Uint8Array):void 0,E={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":_&&R?R([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":z,"%AsyncGenerator%":z,"%AsyncGeneratorFunction%":z,"%AsyncIteratorPrototype%":z,"%Atomics%":"u"<typeof Atomics?void 0:Atomics,"%BigInt%":"u"<typeof BigInt?void 0:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":n,"%Float16Array%":"u"<typeof Float16Array?void 0:Float16Array,"%Float32Array%":"u"<typeof Float32Array?void 0:Float32Array,"%Float64Array%":"u"<typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":z,"%Int8Array%":"u"<typeof Int8Array?void 0:Int8Array,"%Int16Array%":"u"<typeof Int16Array?void 0:Int16Array,"%Int32Array%":"u"<typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
3IteratorPrototype%":_&&R?R(R([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"u"<typeof Map?void 0:Map,"%MapIteratorPrototype%":"u">typeof Map&&_&&R?R(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?void 0:Promise,"%Proxy%":"u"<typeof Proxy?void 0:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"u"<typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?void 0:Set,"%SetIteratorPrototype%":"u">typeof Set&&_&&R?R(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&R?R(""[Symbol.iterator]()):void 0,"%Symbol%":_?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":k,"%TypedArray%":T,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?void 0:Uint32Array,"%URIError%":d,"%WeakMap%":"u"<typeof WeakMap?void 0:WeakMap,"%WeakRef%":"u"<typeof WeakRef?void 0:WeakRef,"%WeakSet%":"u"<typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":P,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":j,"%Math.abs%":u,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":f,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":v,"%Reflect.getPrototypeOf%":C};if(R)try{null.error}catch(e){var O=R(R(e));E["%Error.prototype%"]=O}var A=function e(t){var r;if("%AsyncFunction%"===t)r=y("async function () {}");else if("%GeneratorFunction%"===t)r=y("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=y("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&R&&(r=R(a.prototype))}return E[t]=r,r},F={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},W=e.r(78387),L=e.r(816322),D=W.call(I,Array.prototype.concat),N=W.call(P,Array.prototype.splice),B=W.call(I,String.prototype.replace),H=W.call(I,String.prototype.slice),M=W.call(I,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,$=function(e){var t=H(e,0,1),r=H(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var i=[];return B(e,U,function(e,t,r,a){i[i.length]=r?B(a,V,"$1"):t||e}),i},q=function(e,t){var r,i=e;if(L(F,i)&&(i="%"+(r=F[i])[0]+"%"),L(E,i)){var a=E[i];if(a===z&&(a=A(i)),void 0===a&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:a}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===M(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=$(e),i=r.length>0?r[0]:"",a=q("%"+i+"%",t),n=a.name,o=a.value,s=!1,d=a.alias;d&&(i=d[0],N(r,D([0,1],d)));for(var u=1,p=!0;u<r.length;u+=1){var h=r[u],f=H(h,0,1),g=H(h,-1);if(('"'===f||"'"===f||"`"===f||'"'===g||"'"===g||"`"===g)&&f!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&p||(s=!0),i+="."+h,L(E,n="%"+i+"%"))o=E[n];
3else if(null!=o){if(!(h in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&u+1>=r.length){var m=x(o,h);o=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:o[h]}else p=L(o,h),o=o[h];p&&!s&&(E[n]=o)}}return o}},795081,(e,t,r)=>{"use strict";var i=e.r(343473),a=e.r(954767),n=a([i("%String.prototype.indexOf%")]);t.exports=function(e,t){var r=i(e,!!t);return"function"==typeof r&&n(e,".prototype.")>-1?a([r]):r}},975251,(e,t,r)=>{"use strict";var i=e.r(343473),a=e.r(795081),n=e.r(787405),o=e.r(231473),s=i("%Map%",!0),l=a("Map.prototype.get",!0),c=a("Map.prototype.set",!0),d=a("Map.prototype.has",!0),u=a("Map.prototype.delete",!0),p=a("Map.prototype.size",!0);t.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+n(e))},delete:function(t){if(e){var r=u(e,t);return 0===p(e)&&(e=void 0),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&d(e,t)},set:function(t,r){e||(e=new s),c(e,t,r)}};return t}},720719,(e,t,r)=>{"use strict";var i=e.r(343473),a=e.r(795081),n=e.r(787405),o=e.r(975251),s=e.r(231473),l=i("%WeakMap%",!0),c=a("WeakMap.prototype.get",!0),d=a("WeakMap.prototype.set",!0),u=a("WeakMap.prototype.has",!0),p=a("WeakMap.prototype.delete",!0);t.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+n(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(o&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?c(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):!!t&&t.has(r)},set:function(r,i){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),d(e,r,i)):o&&(t||(t=o()),t.set(r,i))}};return r}:o},305479,(e,t,r)=>{"use strict";var i=e.r(231473),a=e.r(787405),n=e.r(174353),o=e.r(975251),s=e.r(720719)||o||n;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+(e&&Object(e)===e?"the given object key":a(e)))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=s()),e.set(t,r)}};return t}},483671,(e,t,r)=>{"use strict";var i=String.prototype.replace,a=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(e){return i.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},679320,(e,t,r)=>{"use strict";var i=e.r(483671),a=e.r(305479),n=e.r(393155),o=Object.prototype.hasOwnProperty,s=Array.isArray,l=a(),c=function(e,t){return l.set(e,t),e},d=function(e){return l.has(e)},u=function(e){return l.get(e)},p=function(e,t){l.set(e,t)},h=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(s(r)){for(var i=[],a=0;a<r.length;++a)void 0!==r[a]&&(i[i.length]=r[a]);t.obj[t.prop]=i}}},g=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)void 0!==e[i]&&(r[i]=e[i]);return r},m=function(e,t,r){"__proto__"===t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};t.exports={arrayToObject:g,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return m(e,r,t[r]),e},e)},combine:function(e,t,r,i,a){if(d(e)){if(a)throw RangeError("Array limit exceeded. Only "+r+" element"+(1===r?"":"s")+" allowed in an array.");var n=u(e)+1;return e[n]=t,p(e,n),e}var o=[].concat(e,t);if(o.length>r){if(a)throw RangeError("Array limit exceeded. Only "+r+" element"+(1===r?"":"s")+" allowed in an array.");return c(g(o,{plainObjects:i}),o.length-1)}return o},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=a(),i=0;i<t.length;++i)for(var n=t[i],o=n.obj[n.prop],s=Object.keys(o),l=0;l<s.length;++l){var c=s[l],d=o[c];"object"!=typeof d||null===d||r.has(d)||(t[t.length]={obj:o,prop:c},r.set(d,!0))}return f(t),e},decode:function(e,t,r){var i=e.replace(/\+/g," ");if("iso-8859-1"===r)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},encode:function(e,t,r,a,n){if(0===e.length)return e;var o=e;
3if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;l+=1024){var c=o.length>=1024?o.slice(l,l+1024):o;if(l+1024<o.length){var d=c.charCodeAt(c.length-1);d>=55296&&d<=56319&&(c=c.slice(0,-1),l-=1)}for(var u=[],p=0;p<c.length;++p){var f=c.charCodeAt(p);if(45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||n===i.RFC1738&&(40===f||41===f)){u[u.length]=c.charAt(p);continue}if(f<128){u[u.length]=h[f];continue}if(f<2048){u[u.length]=h[192|f>>6]+h[128|63&f];continue}if(f<55296||f>=57344){u[u.length]=h[224|f>>12]+h[128|f>>6&63]+h[128|63&f];continue}p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u[u.length]=h[240|f>>18]+h[128|f>>12&63]+h[128|f>>6&63]+h[128|63&f]}s+=u.join("")}return s},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:d,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:c,maybeMap:function(e,t){if(s(e)){for(var r=[],i=0;i<e.length;i+=1)r[r.length]=t(e[i]);return r}return t(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(s(t)){var a=t.length;if(i&&"number"==typeof i.arrayLimit&&a>=i.arrayLimit){if(i.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(1===i.arrayLimit?"":"s")+" allowed in an array.");return c(g(t.concat(r),i),a)}t[a]=r}else if(!t||"object"!=typeof t)return[t,r];else if(d(t)){var n=u(t)+1;t[n]=r,p(t,n)}else{if(i&&i.strictMerge)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(d(r)){for(var l=Object.keys(r),h=i&&i.plainObjects?{__proto__:null,0:t}:{0:t},f=0;f<l.length;f++)h[parseInt(l[f],10)+1]=r[l[f]];return c(h,u(r)+1)}var v=[t].concat(r);if(i&&"number"==typeof i.arrayLimit&&v.length>i.arrayLimit){if(i.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(1===i.arrayLimit?"":"s")+" allowed in an array.");return c(g(v,i),v.length-1)}return v}var b=t;if(s(t)&&!s(r)&&(b=g(t,i)),s(t)&&s(r)){if(r.forEach(function(r,a){if(o.call(t,a)){var n=t[a];n&&"object"==typeof n&&r&&"object"==typeof r?t[a]=e(n,r,i):t[t.length]=r}else t[a]=r}),i&&"number"==typeof i.arrayLimit&&t.length>i.arrayLimit){if(i.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(1===i.arrayLimit?"":"s")+" allowed in an array.");return c(g(t,i),t.length-1)}return t}return Object.keys(r).reduce(function(t,a){var n=r[a];if(o.call(t,a)?m(t,a,e(t[a],n,i)):m(t,a,n),d(r)&&!d(t)&&c(t,u(r)),d(t)){var s=parseInt(a,10);String(s)===a&&s>=0&&s>u(t)&&p(t,s)}return t},b)}}},211325,(e,t,r)=>{"use strict";var i=e.r(305479),a=e.r(679320),n=e.r(483671),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,d=function(e,t){c.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,p=n.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:a.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:n.formatters[p],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},g=function e(t,r,n,o,s,c,u,p,g,m,v,b,y,x,S,w,k,_){for(var R,j,C=t,P=_,I=0,z=!1;void 0!==(P=P.get(f))&&!z;){var T=P.get(t);if(I+=1,void 0!==T)if(T===I)throw RangeError("Cyclic object value");else z=!0;void 0===P.get(f)&&(I=0)}if("function"==typeof m?C=m(r,C):C instanceof Date?C=y(C):"comma"===n&&l(C)&&(C=a.maybeMap(C,function(e){return e instanceof Date?y(e):e})),null===C){if(c)return S(g&&!w?g(r,h.encoder,k,"key",x):r);C=""}if("string"==typeof(R=C)||"number"==typeof R||"boolean"==typeof R||"symbol"==typeof R||"bigint"==typeof R||a.isBuffer(C))return g?[S(w?r:g(r,h.encoder,k,"key",x))+"="+S(g(C,h.encoder,k,"value",x))]:[S(r)+"="+S(String(C))];var E=[];if(void 0===C)return E;if("comma"===n&&l(C))w&&g&&(C=a.maybeMap(C,function(e){return null==e?e:g(e)})),j=[{value:C.length>0?C.join(",")||null:void 0}];else if(l(m))j=m;else{var O=Object.keys(C);j=v?O.sort(v):O}var A=p?String(r).replace(/\./g,"%2E"):String(r),F=o&&l(C)&&1===C.length?A+"[]":A;if(s&&l(C)&&0===C.length)return F+"[]";for(var W=0;W<j.length;++W){var L=j[W],D="object"==typeof L&&L&&void 0!==L.value?L.value:C[L];if(!u||null!==D){var N=b&&p?String(L).replace(/\./g,"%2E"):String(L),B=l(C)?"function"==typeof n?n(F,N):F:F+(b?"."+N:"["+N+"]");
3_.set(t,I);var H=i();H.set(f,_),d(E,e(D,B,n,o,s,c,u,p,"comma"===n&&w&&l(C)?null:g,m,v,b,y,x,S,w,k,H))}}return E},m=function(e){if(!e)return h;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=n.default;if(void 0!==e.format){if(!o.call(n.formatters,e.format))throw TypeError("Unknown format option provided.");i=e.format}var a=n.formatters[i],c=h.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var d=void 0===e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:d,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:
3h.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:c,format:i,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};t.exports=function(e,t){var r,a=e,n=m(t);"function"==typeof n.filter?a=(0,n.filter)("",a):l(n.filter)&&(r=n.filter);var o=[];if("object"!=typeof a||null===a)return"";var c=s[n.arrayFormat],u="comma"===c&&n.commaRoundTrip;r||(r=Object.keys(a)),n.sort&&r.sort(n.sort);for(var p=i(),h=0;h<r.length;++h){var f=r[h];if(null!=f){var v=a[f];n.skipNulls&&null===v||d(o,g(v,f,c,u,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,p))}}var b=o.join(n.delimiter),y=!0===n.addQueryPrefix?"?":"";return n.charsetSentinel&&("iso-8859-1"===n.charset?y+="utf8=%26%2310003%3B"+n.delimiter:y+="utf8=%E2%9C%93"+n.delimiter),b.length>0?y+b:""}},437245,(e,t,r)=>{"use strict";var i=e.r(679320),a=Object.prototype.hasOwnProperty,n=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:i.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e,t,r,i){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1){if(i&&t.throwOnLimitExceeded)for(var a=0,n=e.indexOf(",");n>-1;){if((a+=1)>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");n=e.indexOf(",",n+1)}return e.split(",")}if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t){var r={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==c?c+1:c);if(t.throwOnLimitExceeded&&void 0!==c&&d.length>c)throw RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var u=-1,p=t.charset;if(t.charsetSentinel)for(h=0;h<d.length;++h)0===d[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[h]?p="utf-8":"utf8=%26%2310003%3B"===d[h]&&(p="iso-8859-1"),u=h,h=d.length);for(h=0;h<d.length;++h)if(h!==u){var h,f,g,m=d[h],v=m.indexOf("]="),b=-1===v?m.indexOf("="):v+1;if(-1===b?(f=t.decoder(m,o.decoder,p,"key"),g=t.strictNullHandling?null:""):null!==(f=t.decoder(m.slice(0,b),o.decoder,p,"key"))&&(g=i.maybeMap(s(m.slice(b+1),t,n(r[f])?r[f].length:0,-1===m.indexOf("[]=")),function(e){return t.decoder(e,o.decoder,p,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=String(g).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),m.indexOf("[]=")>-1&&(g=n(g)?[g]:g),t.comma&&n(g)&&g.length>t.arrayLimit&&(g=i.combine([],g,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)),null!==f){var y=a.call(r,f);y&&("combine"===t.duplicates||m.indexOf("[]=")>-1)?r[f]=i.combine(r[f],g,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded):y&&"last"!==t.duplicates||(r[f]=g)}}return r},c=function(e,t,r,a){var n=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");n=Array.isArray(t)&&t[o]?t[o].length:0}for(var l=a?t:s(t,r,n),c=e.length-1;c>=0;--c){var d,u=e[c];if("[]"===u&&r.parseArrays)d=i.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:i.combine([],l,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded);else{d=r.plainObjects?{__proto__:null}:{};var p="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,h=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,f=parseInt(h,10),g=!isNaN(f)&&u!==h&&String(f)===h&&f>=0&&r.parseArrays;if(r.parseArrays||""!==h)if(g&&f<r.arrayLimit)(d=[])[f]=l;else if(g&&r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");else g?(d[f]=l,i.markOverflow(d,f)):"__proto__"!==h&&(d[h]=l);else d={0:l}}l=d}return l},d=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&a.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var i=[],n=r.indexOf("["),o=n>=0?r.slice(0,n):r;if(o){if(!t.plainObjects&&a.call(Object.prototype,o)&&!t.allowPrototypes)return;i[i.length]=o}for(var s=r.length,l=n,c=0;l>=0&&c<t.depth;){for(var d=1,u=l+1,p=-1;u<s&&p<0;){var h=r.charCodeAt(u);91===h?d+=1:93===h&&0==(d-=1)&&(p=u),u+=1}if(p<0)return i[i.length]="["+r.slice(l)+"]",i;var f=r.slice(l,p+1),g=f.slice(1,-1);if(!t.plainObjects&&a.call(Object.prototype,g)&&!t.allowPrototypes)return;
3i[i.length]=f,c+=1,l=r.indexOf("[",p+1)}if(l>=0){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");i[i.length]="["+r.slice(l)+"]"}return i},u=function(e,t,r,i){if(e){var a=d(e,r);if(a)return c(a,t,r,i)}},p=function(e){if(!e)return o;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?o.charset:e.charset,r=void 0===e.duplicates?o.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:o.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};t.exports=function(e,t){var r=p(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var a="string"==typeof e?l(e,r):e,n=r.plainObjects?{__proto__:null}:{},o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],d=u(c,a[c],r,"string"==typeof e);n=i.merge(n,d,r)}return!0===r.allowSparse?n:i.compact(n)}},142973,(e,t,r)=>{"use strict";var i=e.r(211325),a=e.r(437245);t.exports={formats:e.r(483671),parse:a,stringify:i}},10171,(e,t,r)=>{"use strict";var i=e.r(709733),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=i.useState,o=i.useEffect,s=i.useLayoutEffect,l=i.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var d="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),i=n({inst:{value:r,getSnapshot:t}}),a=i[0].inst,d=i[1];return s(function(){a.value=r,a.getSnapshot=t,c(a)&&d({inst:a})},[e,r,t]),o(function(){return c(a)&&d({inst:a}),e(function(){c(a)&&d({inst:a})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:d},118850,(e,t,r)=>{"use strict";t.exports=e.r(10171)},435494,e=>{"use strict";var t=e.i(137175),r=e.i(390059),i=e.i(132070),a=e.i(540735),n=e.i(50395),o=e.i(881653),s=e.i(713742),l=e.i(935328),c=e.i(924079),d=e.i(342630),u=e.i(432095),p=e.i(468904),h=e.i(119085),f=e.i(491610),g=e.i(273803);function m(){let{open:e}=(0,g.useMenuContext)();return(0,t.jsx)(r.Box,{as:f.FiChevronDown,transition:"transform 0.3s",transform:e?"rotate(180deg)":"rotate(0deg)"})}var v=e.i(307150),b=e.i(519329),y=e.i(313528),x=e.i(112218),S=e.i(3376),w=e.i(709733),k=e.i(586498),_=e.i(219862);let R="(pointer: coarse)",j=e=>{let t=window.matchMedia(R);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)};function C(){return(0,w.useSyncExternalStore)(j,()=>window.matchMedia(R).matches,()=>!1)}let P=({productsHomeLabel:e,productsHomepage:i,categoriesLabel:a,daqCategories:n,otherCategoriesLabel:o,otherCategories:l,shopHomepageLabel:p,shopHomepage:h})=>
3{let f=(0,k.useLocale)(),g=C(),m=(n??[]).filter(e=>null!==e.slug),R=(l??[]).filter(e=>null!==e.slug),j=e=>(e.products??[]).filter(e=>null!==e.slug),P=e=>j(e).length>0,I=e=>e.find(P)?.id??null,[z,T]=(0,w.useState)("daq"),[E,O]=(0,w.useState)(I(m)),A=e=>{T(e),O(I("daq"===e?m:R))},F=("daq"===z?m:R).find(e=>e.id===E),W="2px solid";return(0,t.jsxs)(b.HStack,{w:"full",minH:"380px",alignItems:"stretch",textStyle:"sm",borderTop:"1px solid #2a2a2a",background:"linear-gradient(#1E1E1E, #111)",children:[(0,t.jsxs)(y.VStack,{minW:"230px",alignItems:"stretch",gap:.5,py:4,px:3,borderRight:"1px solid #2a2a2a",children:[(0,t.jsx)(u.Menu.Item,{value:"products-homepage",bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",w:"full",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(i,f),children:(0,t.jsx)(r.Box,{w:"full",py:2,pl:3,pr:2,rounded:"sm",color:"whiteAlpha.800",borderLeft:W,borderColor:"transparent",transition:"background 0.12s, color 0.12s",_hover:{bg:"whiteAlpha.100",color:"white"},children:e})})})}),[["daq",a],["other",o]].map(([e,r])=>{let i=z===e;return(0,t.jsx)(s.Button,{unstyled:!0,type:"button",textAlign:"left",w:"full",py:2,pl:3,pr:2,rounded:"sm",borderLeft:W,borderColor:i?"dsOrange.500":"transparent",bg:i?"whiteAlpha.100":"transparent",color:i?"white":"whiteAlpha.700",transition:"background 0.12s, color 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",color:"white"},onMouseEnter:()=>A(e),onFocus:()=>A(e),onClick:()=>A(e),children:(0,t.jsxs)(b.HStack,{justify:"space-between",children:[(0,t.jsx)(S.Text,{children:r}),(0,t.jsx)(S.Text,{textStyle:"md",lineHeight:"1",color:i?"dsOrange.400":"whiteAlpha.500",children:"›"})]})},e)}),h&&p&&(0,t.jsx)(u.Menu.Item,{value:"shop-homepage",bg:"none",p:0,m:0,mt:3,children:(0,t.jsx)(c.Link,{variant:"plain",w:"full",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(h,f),title:h.title,children:(0,t.jsx)(r.Box,{w:"full",py:2,pl:3,pr:2,rounded:"sm",fontWeight:"bold",color:"dsOrange",borderLeft:W,borderColor:"transparent",transition:"background 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",borderColor:"dsOrange.500"},children:p})})})})]}),(0,t.jsx)(r.Box,{minW:"250px",borderRight:"1px solid #2a2a2a",position:"relative",children:["daq","other"].map(e=>{let r="daq"===e?m:R;return(0,t.jsx)(y.VStack,{display:z===e?"flex":"none",alignItems:"stretch",gap:.5,py:4,px:3,children:r.map(e=>{let r=E===e.id,i=g&&!r;return(0,t.jsx)(u.Menu.Item,{value:e.id,closeOnSelect:!i,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",w:"full",asChild:!0,onMouseEnter:()=>!g&&O(e.id),onFocus:()=>!g&&O(e.id),children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,f),title:e.shortName,onClick:t=>{i&&(t.preventDefault(),O(e.id))},children:(0,t.jsxs)(b.HStack,{justify:"space-between",w:"full",py:2,pl:3,pr:2,rounded:"sm",borderLeft:W,borderColor:r?"dsOrange.500":"transparent",bg:r?"whiteAlpha.100":"transparent",color:r?"white":"whiteAlpha.700",transition:"background 0.12s, color 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",color:"white"},children:[(0,t.jsx)(S.Text,{children:e.shortName}),P(e)&&(0,t.jsx)(S.Text,{textStyle:"md",lineHeight:"1",color:r?"dsOrange.400":"whiteAlpha.400",children:"›"})]})})})},e.id)})},e)})}),(0,t.jsxs)(r.Box,{flex:"1",py:4,px:5,minW:0,children:[[...m,...R].filter(P).map(e=>{let i=j(e),a=E===e.id;return(0,t.jsxs)(r.Box,{display:a?"block":"none",children:[(0,t.jsx)(c.Link,{variant:"plain",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,f),children:(0,t.jsxs)(b.HStack,{gap:2,mb:4,color:"whiteAlpha.800",_hover:{color:"white"},children:[(0,t.jsx)(S.Text,{fontWeight:"bold",children:e.shortName}),(0,t.jsxs)(S.Text,{textStyle:"2xs",color:"dsOrange.400",letterSpacing:"0.04em",children:[i.length," →"]})]})})}),(0,t.jsx)(x.SimpleGrid,{columns:{base:3,xl:4},rowGap:1,columnGap:1,rounded:"lg",p:4,children:i.map(r=>(0,t.jsx)(u.Menu.Item,{value:`${e.id}:${r.id}`,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",color:"white",display:"flex",w:"full",alignItems:"flex-end",justifyContent:"center",rounded:"md",p:2,opacity:.7,transition:"background 0.12s, opacity 0.12s",_hover:{opacity:1,bg:"whiteAlpha.100"},asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(r,f),title:r.name,children:(0,t.jsxs)(y.VStack,{gap:1,justify:"flex-end",children:[r.menuImage?.responsiveImage&&(0,t.jsx)(_.Image,{data:r.menuImage.responsiveImage}),(0,t.jsx)(S.Text,{textStyle:"sm",textAlign:"center",children:r.name})]})})})},r.id))})]},e.id)}),F&&!P(F)&&(0,t.jsx)(c.Link,{variant:"plain",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(F,f),children:(0,t.jsxs)(y.VStack,{align:"flex-start",ga
3p:1,color:"whiteAlpha.700",_hover:{color:"white"},children:[(0,t.jsx)(S.Text,{fontWeight:"bold",color:"whiteAlpha.800",children:F.shortName}),(0,t.jsxs)(S.Text,{textStyle:"xs",color:"dsOrange.400",children:[e," →"]})]})})})]})]})},I=({solutionsHomeLabel:e,applicationsHomepage:i,areasLabel:a,applicationAreas:n,industriesLabel:o,applicationIndustries:l})=>{let p=(0,k.useLocale)(),h=C(),f=(n??[]).filter(e=>null!==e.slug),g=(l??[]).filter(e=>null!==e.slug),m=e=>(e.solutions??[]).filter(e=>null!==e.slug),x=e=>m(e).length>0,R=e=>e.find(x)?.id??null,[j,P]=(0,w.useState)("areas"),[I,z]=(0,w.useState)(R(f)),T=e=>{P(e),z(R("areas"===e?f:g))},E=("areas"===j?f:g).find(e=>e.id===I),O="2px solid";return(0,t.jsxs)(b.HStack,{w:"full",minH:"380px",alignItems:"stretch",textStyle:"sm",borderTop:"1px solid #2a2a2a",background:"linear-gradient(#1E1E1E, #111)",children:[(0,t.jsxs)(y.VStack,{minW:"230px",alignItems:"stretch",gap:.5,py:4,px:3,borderRight:"1px solid #2a2a2a",children:[(0,t.jsx)(u.Menu.Item,{value:"solutions-home",bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",w:"full",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(i,p),children:(0,t.jsx)(r.Box,{w:"full",py:2,pl:3,pr:2,rounded:"sm",color:"whiteAlpha.800",borderLeft:O,borderColor:"transparent",transition:"background 0.12s, color 0.12s",_hover:{bg:"whiteAlpha.100",color:"white"},children:e})})})}),[["areas",a],["industries",o]].map(([e,r])=>{let i=j===e;return(0,t.jsx)(s.Button,{unstyled:!0,type:"button",textAlign:"left",w:"full",py:2,pl:3,pr:2,rounded:"sm",borderLeft:O,borderColor:i?"dsOrange.500":"transparent",bg:i?"whiteAlpha.100":"transparent",color:i?"white":"whiteAlpha.700",transition:"background 0.12s, color 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",color:"white"},onMouseEnter:()=>T(e),onFocus:()=>T(e),onClick:()=>T(e),children:(0,t.jsxs)(b.HStack,{justify:"space-between",children:[(0,t.jsx)(S.Text,{children:r}),(0,t.jsx)(S.Text,{textStyle:"md",lineHeight:"1",color:i?"dsOrange.400":"whiteAlpha.500",children:"›"})]})},e)})]}),(0,t.jsx)(r.Box,{minW:"250px",borderRight:"1px solid #2a2a2a",position:"relative",children:["areas","industries"].map(e=>{let r="areas"===e?f:g;return(0,t.jsx)(y.VStack,{display:j===e?"flex":"none",alignItems:"stretch",gap:.5,py:4,px:3,children:r.map(e=>{let r=I===e.id,i=h&&!r;return(0,t.jsx)(u.Menu.Item,{value:e.id,closeOnSelect:!i,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",w:"full",asChild:!0,onMouseEnter:()=>!h&&z(e.id),onFocus:()=>!h&&z(e.id),children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,p),title:e.name,onClick:t=>{i&&(t.preventDefault(),z(e.id))},children:(0,t.jsxs)(b.HStack,{justify:"space-between",w:"full",py:2,pl:3,pr:2,rounded:"sm",borderLeft:O,borderColor:r?"dsOrange.500":"transparent",bg:r?"whiteAlpha.100":"transparent",color:r?"white":"whiteAlpha.700",transition:"background 0.12s, color 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",color:"white"},children:[(0,t.jsx)(S.Text,{children:e.shortName}),x(e)&&(0,t.jsx)(S.Text,{textStyle:"md",lineHeight:"1",color:r?"dsOrange.400":"whiteAlpha.400",children:"›"})]})})})},e.id)})},e)})}),(0,t.jsxs)(r.Box,{flex:"1",py:4,px:5,minW:0,children:[[...f,...g].filter(x).map(e=>{let i=m(e),a=I===e.id;return(0,t.jsxs)(r.Box,{display:a?"block":"none",children:[(0,t.jsx)(c.Link,{variant:"plain",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,p),children:(0,t.jsxs)(b.HStack,{gap:2,mb:4,color:"whiteAlpha.800",_hover:{color:"white"},children:[(0,t.jsx)(S.Text,{fontWeight:"bold",children:e.shortName}),(0,t.jsxs)(S.Text,{textStyle:"2xs",color:"dsOrange.400",letterSpacing:"0.04em",children:[i.length," →"]})]})})}),(0,t.jsx)(r.Box,{css:{columnWidth:"15rem",columnGap:"1.5rem"},children:i.map(i=>(0,t.jsx)(r.Box,{css:{breakInside:"avoid"},children:(0,t.jsx)(u.Menu.Item,{value:`${e.id}:${i.id}`,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",color:"white",w:"full",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(i,p),title:i.title,children:(0,t.jsxs)(b.HStack,{w:"full",gap:2.5,py:1.5,pl:2.5,pr:2,borderLeft:O,borderColor:"transparent",rounded:"sm",transition:"background 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",borderColor:"dsOrange.500","& img":{opacity:1},"& p":{color:"white"}},children:[i.menuImage?.responsiveImage&&(0,t.jsx)(_.Image,{data:i.menuImage.responsiveImage,style:{width:"26px",minWidth:"26px",opacity:.75}}),(0,t.jsx)(S.Text,{textStyle:"sm",lineHeight:"1.25",color:"whiteAlpha.700",overflowWrap:"break-word",children:i.title})]})})})})},i.id))})]},e.id)}),E&&!x(E)&&(0,t.jsx)(c.Link,{variant:"plain",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(E,p),children:(0,t.jsxs)(y.VStack,{align:"flex-start",ga
3p:1,color:"whiteAlpha.700",_hover:{color:"white"},children:[(0,t.jsx)(S.Text,{fontWeight:"bold",color:"whiteAlpha.800",children:E.shortName}),(0,t.jsxs)(S.Text,{textStyle:"xs",color:"dsOrange.400",children:[e," →"]})]})})})]})]})};var z=e.i(944279);let T={alignSelf:"flex-start",textStyle:"2xs",fontWeight:"bold",letterSpacing:"0.08em",textTransform:"uppercase",color:"dsOrange.400",pb:1.5,mb:2,borderBottom:"1px solid",borderColor:"whiteAlpha.200"},E={display:"block",width:"100%",py:1.5,px:2.5,rounded:"sm",borderLeft:"2px solid",borderColor:"transparent",color:"whiteAlpha.700",transition:"background 0.12s, color 0.12s, border-color 0.12s",_hover:{bg:"whiteAlpha.100",borderColor:"dsOrange.500",color:"white"}},O=({contactLabel:e,contact:i,contactDescription:a,distributorsLabel:o,distributors:s,distributorsDescription:l,downloadsLabel:p,downloads:h,forumLabel:f,forum:g,supportLabel:m,support:w,developerLabel:_,developer:R,tagsLabel:j,developerTags:C})=>{let P=(0,k.useLocale)();return(0,t.jsxs)(b.HStack,{w:"full",alignItems:"stretch",textStyle:"sm",borderTop:"1px solid #2a2a2a",children:[(0,t.jsx)(y.VStack,{alignItems:"stretch",gap:2,py:5,w:"240px",children:[["contact",e,a,i],["distributor",o,l,s]].map(([e,r,i,a])=>a?(0,t.jsx)(u.Menu.Item,{value:`${e}-page`,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:{...E,display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0,p:3},asChild:!0,children:(0,t.jsxs)(d.default,{href:(0,v.generateUrlUsingContentType)(a,P),title:r,children:[(0,t.jsx)(S.Text,{fontWeight:"bold",color:"white",children:r}),(0,t.jsx)(S.Text,{textStyle:"xs",color:"whiteAlpha.600",mt:1.5,lineHeight:"1.4",children:i})]})})},e):null)}),(0,t.jsx)(n.Flex,{flex:"1",p:5,px:8,gap:5,background:"linear-gradient(#1E1E1E, #111);",borderLeft:"1px solid #2A2A2A",borderRight:"1px solid #2A2A2A",children:(0,t.jsxs)(x.SimpleGrid,{columns:4,gap:4,w:"full",children:[(0,t.jsxs)(y.VStack,{gap:.5,align:"flex-start",children:[(0,t.jsx)(S.Text,{css:T,children:p}),h?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:E,asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,P),title:e.title,children:e.title})})},e.id))]}),(0,t.jsxs)(y.VStack,{gap:.5,align:"flex-start",children:[(0,t.jsx)(S.Text,{css:T,children:f}),g?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.url,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",css:E,children:e.title})},e.url))]}),(0,t.jsxs)(y.VStack,{gap:.5,align:"flex-start",children:[(0,t.jsx)(S.Text,{css:T,children:m}),w?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.url,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",css:E,children:e.title})},e.url))]}),(0,t.jsxs)(y.VStack,{gap:.5,align:"flex-start",children:[(0,t.jsx)(S.Text,{css:T,children:_}),R?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.url,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",css:E,children:e.title})},e.url)),(0,t.jsx)(S.Text,{css:T,mt:4,children:j}),(0,t.jsx)(r.Box,{children:C?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.url,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(z.Badge,{bg:"dsOrange",color:"white",mr:2,mb:2,_hover:{bgColor:"dsOrange.400"},children:e.title})})},e.url))})]})]})})]})},A=({cover:e,aboutUsLabel:i,localTeamsLabel:a,localTeamLinks:n,blogLabel:o,eventsLabel:s,aboutUsLinks:l,blogLinks:p,eventsLinks:h})=>{let f=(0,k.useLocale)();return(0,t.jsxs)(b.HStack,{alignItems:"flex-start",textStyle:"sm",borderTop:"1px solid #2a2a2a",w:"full",gap:8,background:"linear-gradient(#1E1E1E, #111);",children:[e?.responsiveImage&&(0,t.jsx)(r.Box,{flex:3,children:(0,t.jsx)(_.Image,{data:e.responsiveImage})}),(0,t.jsxs)(y.VStack,{alignItems:"flex-start",gap:.5,py:8,flex:1,children:[(0,t.jsx)(S.Text,{css:T,children:i}),l?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:E,asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,f),title:e.title,children:e.title})},e.id)},e.id))]}
3),(0,t.jsxs)(y.VStack,{alignItems:"flex-start",gap:.5,py:8,flex:1,children:[(0,t.jsx)(S.Text,{css:T,children:a}),n?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:E,asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,f),title:e.title,children:e.title})},e.id)},e.id))]}),(0,t.jsxs)(y.VStack,{alignItems:"flex-start",gap:.5,py:8,flex:1,children:[(0,t.jsx)(S.Text,{css:T,children:o}),p?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:E,asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,f),title:e.title,children:e.title})},e.id)},e.id))]}),(0,t.jsxs)(y.VStack,{alignItems:"flex-start",gap:.5,py:8,flex:1,children:[(0,t.jsx)(S.Text,{css:T,children:s}),h?.map(e=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:E,asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,f),title:e.title,children:e.title})},e.id)},e.id))]})]})};var F=e.i(311436);let W=({cover:e,academyHomeLabel:i,academiaHomeLabel:a,trainingHomeLabel:n,onlineTrainingHomeLabel:o,academyHomepageLink:s,acadmySubpageLinks:l,onlineTrainingLinks:p})=>{let h=(0,k.useLocale)(),f=(0,F.useTranslations)();return(0,t.jsxs)(b.HStack,{alignItems:"flex-start",textStyle:"sm",borderTop:"1px solid #2a2a2a",w:"full",gap:8,background:"linear-gradient(#1E1E1E, #111);",children:[e?.responsiveImage&&(0,t.jsx)(r.Box,{w:"40%",hideBelow:"lg",children:(0,t.jsx)(_.Image,{data:e.responsiveImage})}),s&&(0,t.jsx)(y.VStack,{alignItems:"stretch",gap:.5,py:8,w:{base:"50%",lg:"30%"},children:(0,t.jsx)(u.Menu.Item,{value:s.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:{...E,display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0,p:3},asChild:!0,children:(0,t.jsxs)(d.default,{href:(0,v.generateUrlUsingContentType)(s,h),title:s.title,children:[(0,t.jsx)(S.Text,{fontWeight:"bold",color:"white",children:i}),(0,t.jsx)(S.Text,{textStyle:"xs",color:"whiteAlpha.600",mt:1.5,lineHeight:"1.4",children:s.excerpt})]})})},s.id)}),(0,t.jsxs)(y.VStack,{alignItems:"stretch",gap:.5,py:8,w:{base:"50%",lg:"30%"},children:[(0,t.jsx)(S.Text,{css:T,children:f("ForAcademia")}),l.map((e,r)=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:{...E,display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0},asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,h),title:e.title,children:0===r?a:e.title})})},e.id))]}),(0,t.jsxs)(y.VStack,{alignItems:"stretch",gap:.5,py:8,w:{base:"50%",lg:"30%"},children:[(0,t.jsx)(S.Text,{css:T,children:f("ForProfessionals")}),p?.map((e,r)=>(0,t.jsx)(u.Menu.Item,{value:e.slug,bg:"none",p:0,m:0,children:(0,t.jsx)(c.Link,{variant:"plain",css:{...E,display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0},asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,h),title:e.title,children:0===r?n:1===r?o:e.title})},e.id)},e.id))]})]})};function L({menuItem:e,locale:r}){let a=e.dropdownContent.length>0,n=e.internalLink?.slug=="shop";return a?(0,t.jsxs)(u.Menu.Root,{children:[(0,t.jsx)(u.Menu.Trigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{variant:"plain",color:"gray.100",fontSize:"md",_hover:{color:"dsOrange.500"},_active:{color:"dsOrange.300"},children:[e.name,(0,t.jsx)(m,{})]})}),(0,t.jsx)(p.Portal,{children:(0,t.jsx)(u.Menu.Content,{position:"absolute",left:"0px",top:"55px",w:"full",bg:"dsBlack.600",rounded:"none",p:0,children:(0,t.jsx)(i.Container,{maxW:"9xl",children:e.dropdownContent[0]&&(e=>{if(!e)return null;switch(e.__typename){case"MenuDropdownProductRecord":return(0,t.jsx)(P,{...e});case"MenuDropdownApplicationRecord":return(0,t.jsx)(I,{...e});case"MenuDropdownSupportRecord":return(0,t.jsx)(O,{...e});case"MenuDropdownAboutRecord":return(0,t.jsx)(A,{...e});case"MenuDropdownTrainingRecord":return(0,t.jsx)(W,{...e})}})(e.dropdownContent[0])})})})]}):(0,t.jsx)(s.Button,{variant:"plain",color:n?"dsOrange.500":"gray.100",fontSize:"md",_hover:{color:"dsOrange.500"},_active:{color:"dsOrange.300"},asChild:!0,children:(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:e.internalLink?.__typename&&e.internalLink?.slug?(0,v.generateUrlUsingContentType)(e.internalLink,r):e.externalLink||"#",onClick:()=>{n&&(0,h.track)("SHOP",{locale:r,referrer:window.location.pathname,source:"menu"})},children:e.name})})})}function D({headerMenu:e,locale:r,menuRef:i}){return(0,t.jsx)(b.HStack,{gap:0,hideBelow:"lg",children:e?.map(e=>(0,t.jsx)(L,{menuItem:e,locale:r,menuRef:i},e.name))})}var N=e.i(169334),B=e.i(10655),H=e.i(42761),M=e.i(470796),U=e.i(6
357694);function V(){let e=(0,F.useTranslations)(),i=(0,N.useParams)(),a=Object.keys(U.default),n=i.locale?.replace("-","_"),o=a.includes(n)?n:"en",{pageData:l}=(0,M.useLanguageStore)();return(0,t.jsx)(r.Box,{hideBelow:"sm",children:(0,t.jsxs)(u.Menu.Root,{children:[(0,t.jsx)(u.Menu.Trigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{size:"sm",variant:"plain",color:"gray.100","aria-label":e("Language"),title:e("Language"),_hover:{background:"dsBlack.500"},_active:{background:"dsBlack.500"},display:"flex",alignItems:"center",border:"none",gap:2,children:[(0,t.jsx)(H.FaGlobeAmericas,{}),o.replace("zh_CN","zh-CN").toUpperCase(),(0,t.jsx)(m,{})]})}),(0,t.jsx)(p.Portal,{children:(0,t.jsx)(u.Menu.Positioner,{children:(0,t.jsx)(u.Menu.Content,{bg:"dsBlack.600",color:"white",px:0,children:(0,t.jsx)(y.VStack,{gap:0,children:a.map(i=>(0,t.jsx)(B.LinkBox,{_hover:{bg:"whiteAlpha.100"},w:"full",px:3,py:2,children:(0,t.jsxs)(b.HStack,{children:[(0,t.jsx)(r.Box,{w:"24px",children:o==i&&(0,t.jsx)(H.FaCheck,{})}),(0,t.jsx)(B.LinkOverlay,{color:"white",w:"90px",asChild:!0,children:(0,t.jsx)(c.Link,{href:(e=>{if(l){let t=(0,v.generateUrlUsingContentType)(l,e);if(t&&"#"!==t)return t}return"en"===e?"/":`/${e.replace("_","-")}`})(i),children:e("zh_CN"===i?"zh-CN":i)})})]})},i))})})})})]})})}var $=e.i(744341),q=e.i(416107),Q=e.i(233999),G=e.i(816634),K=e.i(808054),X=e.i(898549);let Y=()=>{let e=(0,F.useTranslations)(),r=(0,K.useCollapsibleContext)();return(0,t.jsx)(q.Collapsible.Trigger,{asChild:!0,children:(0,t.jsx)(G.IconButton,{"aria-label":e("Menu"),variant:"plain",size:"sm",color:"gray.100",hideFrom:"lg",_hover:{bg:"dsBlack.500"},children:(0,t.jsx)(Q.Icon,{size:"md",children:r.open?(0,t.jsx)(X.LuX,{}):(0,t.jsx)(X.LuAlignRight,{})})})})},J=({productsHomeLabel:e,productsHomepage:r,categoriesLabel:i,daqCategories:a,otherCategoriesLabel:n,otherCategories:o,allProductsLabel:s,shopHomepageLabel:l,shopHomepage:u})=>{let p=(0,k.useLocale)(),h=Array.from(new Map([...a??[],...o??[]].flatMap(e=>e.products??[]).filter(e=>null!==e.slug).map(e=>[e.id,e])).values());return(0,t.jsxs)(y.VStack,{alignItems:"flex-start",pl:10,children:[(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(r,p),children:e})}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:i}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:a?.map(e=>null!==e.slug&&(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,p),title:e.name,children:e.shortName})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:n}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:o?.map(e=>null!==e.slug&&(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,p),title:e.name,children:e.shortName})},e.id))}),u&&l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Text,{fontWeight:"bold",children:l}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(u,p),title:u.title,children:u.title})})})]}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:s}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:h.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,p),title:e.name,children:e.name})},e.id))})]})},Z=({solutionsHomeLabel:e,applicationsHomepage:r,areasLabel:i,applicationAreas:a,industriesLabel:n,applicationIndustries:o,allSolutionsLabel:s})=>{let l=(0,k.useLocale)(),u=Array.from(new Map([...a??[],...o??[]].flatMap(e=>e.solutions??[]).filter(e=>null!==e.slug).map(e=>[e.id,e])).values());return(0,t.jsxs)(y.VStack,{alignItems:"flex-start",pl:10,children:[(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(r,l),children:e})}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:i}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:a?.map(e=>null!==e.slug&&(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,l),title:e.name,children:e.shortName})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:n}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:o?.map(e=>null!==e.slug&&(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,l),title:e.name,children:e.shortName})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:s}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:u.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,l),title:e.title,children:e.title})},e.id))})]})},ee=({contactLabel:e,contact:r,distributorsLabel:i,distributors:a,downloadsLabel:n,downloads:o,forumLabel:s,forum:l,supportLabel:u,support:p,developerLabel:h,developer:f})=>
3{let g=(0,k.useLocale)();return(0,t.jsxs)(y.VStack,{alignItems:"flex-start",pl:10,children:[(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(r,g),children:e})}),(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(a,g),children:i})}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:n}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:o?.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,g),title:e.title,children:e.title})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:s}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:l?.map(e=>(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",color:"white",children:e.title},e.title))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:u}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:p?.map(e=>(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",color:"white",children:e.title},e.title))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:h}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:f?.map(e=>(0,t.jsx)(c.Link,{href:e.url,title:e.title,target:"_blank",rel:"noopener noreferrer",color:"white",children:e.title},e.title))})]})},et=({aboutUsLabel:e,localTeamsLabel:r,localTeamLinks:i,blogLabel:a,eventsLabel:n,aboutUsLinks:o,blogLinks:s,eventsLinks:l})=>{let u=(0,k.useLocale)();return(0,t.jsxs)(y.VStack,{alignItems:"flex-start",pl:10,children:[(0,t.jsx)(S.Text,{fontWeight:"bold",children:e}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:o?.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,u),title:e.title,children:e.title})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:r}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:i?.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,u),title:e.title,children:e.title})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:a}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:s?.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,u),title:e.title,children:e.title})},e.id))}),(0,t.jsx)(S.Text,{fontWeight:"bold",children:n}),(0,t.jsx)(y.VStack,{alignItems:"flex-start",pl:5,children:l?.map(e=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e,u),title:e.title,children:e.title})},e.id))})]})},er=({academyHomeLabel:e,academiaHomeLabel:r,trainingHomeLabel:i,onlineTrainingHomeLabel:a,academyHomepageLink:n,acadmySubpageLinks:o,onlineTrainingLinks:s})=>{let l=(0,k.useLocale)();return(0,t.jsxs)(y.VStack,{alignItems:"flex-start",pl:10,children:[n&&(0,t.jsx)(c.Link,{variant:"plain",color:"white",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0,asChild:!0,children:(0,t.jsxs)(d.default,{href:(0,v.generateUrlUsingContentType)(n,l),title:n.title,children:[e,(0,t.jsx)(S.Text,{color:"gray.500",children:n.excerpt})]})},n.id),o.map((e,i)=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0,asChild:!0,children:(0,t.jsxs)(d.default,{href:(0,v.generateUrlUsingContentType)(e,l),title:e.title,children:[0===i?r:e.title,(0,t.jsx)(S.Text,{color:"gray.500",children:e.excerpt})]})},e.id)),s?.map((e,r)=>(0,t.jsx)(c.Link,{variant:"plain",color:"white",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0,asChild:!0,children:(0,t.jsxs)(d.default,{href:(0,v.generateUrlUsingContentType)(e,l),title:e.title,children:[0===r?i:1===r?a:e.title,(0,t.jsx)(S.Text,{color:"gray.500",children:e.title})]})},e.id))]})};var ei=e.i(480170),ea=e.i(952824),en=e.i(348466),eo=e.i(679732),es=e.i(183532),el=e.i(331242);let{withContext:ec,PropsProvider:ed}=(0,e.i(421291).createRecipeContext)({key:"kbd"}),eu=ec("kbd");function ep(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
3))),i.forEach(function(t){ep(e,t,r[t])})}return e}function ef(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eg=e.i(553422);function em(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ev(e){if((void 0===e?"undefined":em(e))!=="object"||null===e||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function eb(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t.map(function(e){var t;return"https://www.algolia.com/doc/api-reference/widgets/"+e.name+"/js/"+(void 0!==(t=e.connector)&&t?"#connector":"")}).join(", ");return function(e){return[e,"See documentation: ".concat(i)].filter(Boolean).join("\n\n")}}function ey(e,t){if(null==e)return{};var r,i,a=function(e,t){if(null==e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i<n.length;i++)r=n[i],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var ex=function(e,t){t.facets,t.disjunctiveFacets,t.facetsRefinements,t.facetsExcludes,t.disjunctiveFacetsRefinements,t.numericRefinements,t.tagRefinements,t.hierarchicalFacets,t.hierarchicalFacetsRefinements,t.ruleContexts;var r=ey(t,["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"]);return e.setQueryParameters(r)},eS=function(e,t){var r=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,r){return r.indexOf(e)===t});return r.length>0?e.setQueryParameters({ruleContexts:r}):e},ew=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){var r,i,a,n,o,s,l,c;return ex((c=eS((r=e.setQueryParameters({hierarchicalFacetsRefinements:eh({},e.hierarchicalFacetsRefinements,t.hierarchicalFacetsRefinements)}),i=r.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var r=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}(e,function(e){return e.name===t.name});if(-1===r)return e.concat(t);var i=e.slice();return i.splice(r,1,t),i},r.hierarchicalFacets)}),a=t.tagRefinements.reduce(function(e,t){return e.addTagRefinement(t)},i),n=a.setQueryParameters({numericRefinements:eh({},a.numericRefinements,t.numericRefinements)}),o=n.setQueryParameters({disjunctiveFacetsRefinements:eh({},n.disjunctiveFacetsRefinements,t.disjunctiveFacetsRefinements)}),s=o.setQueryParameters({facetsExcludes:eh({},o.facetsExcludes,t.facetsExcludes)}),l=s.setQueryParameters({facetsRefinements:eh({},s.facetsRefinements,t.facetsRefinements)}),t.disjunctiveFacets.reduce(function(e,t){return e.addDisjunctiveFacet(t)},l)),t),t.facets.reduce(function(e,t){return e.addFacet(t)},c)),t)})};function ek(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}var e_=eb({name:"configure",connector:!0});function eR(e,t){return e.setQueryParameters(Object.keys(t.searchParameters).reduce(function(e,t){return ef(eh({},e),ep({},t,void 0))},{}))}var ej=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ek,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ek;return function(r){if(!r||!ev(r.searchParameters))throw Error(e_("The `searchParameters` option expects an object."));var i={};return{$$type:"ais.configure",init:function(t){var r=t.instantSearchInstance;e(ef(eh({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(ef(eh({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!1)},dispose:function(e){var i=e.state;return t(),eR(i,r)},getRenderState:function(e,t){var r,i=this.getWidgetRenderState(t);return ef(eh({},e),{configure:ef(eh({},i),{widgetParams:ef(eh({},i.widgetParams),{searchParameters:ew(new eg.default.SearchParameters(null==(r=e.configure)?void 0:r.widgetParams.searchParameters),new eg.default.SearchParameters(i.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return i.refine||(i.refine=function(e){var i=ew(eR(t.state,r),new eg.default.SearchParameters(e));r.searchParameters=e,t.setState(i).search()}),{refine:i.refine,widgetParams:r}},getWidgetSearchParameters:function(e,t){var i=t.uiState;return ew(e,new eg.default.SearchParameters(eh({},i.configure,r.searchParameters)))},getWidgetUiState:function(e){return ef(eh({},e),{configure:eh({},e.configure,r.searchParameters)})}}}};function eC(e){if(Array.isArray(e))return e}
3function eP(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function ez(e,t){if(e){if("string"==typeof e)return eI(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eI(e,t)}}function eT(e,t){return eC(e)||function(e,t){var r,i,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n=[],o=!0,s=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(n.push(r.value),!t||n.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(s)throw i}}return n}}(e,t)||ez(e,t)||eP()}function eE(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var eO=Object.prototype.hasOwnProperty;function eA(e,t,r){var i,a;if((null==r?void 0:r(e,t))||e===t)return!0;if(e&&t&&(i=e.constructor)===t.constructor){if(i===Date)return e.getTime()===t.getTime();if(i===RegExp)return e.toString()===t.toString();if(i===Array){if((a=e.length)===t.length)for(;a--&&eA(e[a],t[a],r););return -1===a}if(!i||(void 0===e?"undefined":em(e))==="object"){for(i in a=0,e)if(eO.call(e,i)&&++a&&!eO.call(t,i)||!(i in t)||!eA(e[i],t[i],r))return!1;return Object.keys(t).length===a}}return e!=e&&t!=t}function eF(e){var t,r,i;return new eg.default.SearchResults(e,[{query:null!=(t=e.query)?t:"",page:null!=(r=e.page)?r:0,hitsPerPage:null!=(i=e.hitsPerPage)?i:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function eW(e){var t=e.getHelper(),r=e.getResults()||eF(t.state),i=e.getScopedResults().map(function(t){var i=t.indexId===e.getIndexId()?r:eF(t.helper.state);return ef(eh({},t),{results:t.results||i})});return{results:r,scopedResults:i,recommendResults:t.lastRecommendResults}}var eL=(0,w.createContext)(null);function eD(e,t){if(!e)throw Error("Invariant failed")}function eN(){var e=(0,w.useContext)(eL);return eD(null!==e),e}var eB=(0,w.createContext)(null);function eH(){var e=(0,w.useContext)(eB);return eD(null!==e),e}var eM=(0,w.createContext)(null);function eU(){return(0,w.useContext)(eM)}var eV=(0,w.createContext)(null);function e$(){return(0,w.useContext)(eV)}function eq(e){var t=eT((0,w.useState)(function(){return e}),2),r=t[0],i=t[1];return eA(r,e)||i(e),r}var eQ=w.use,eG="u">typeof window?w.useLayoutEffect:w.useEffect,eK=(0,w.createContext)({countRef:{current:0},waitForResultsRef:null,ignoreMultipleHooksWarning:!1});function eX(){return(0,w.useContext)(eK)}function eY(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=eC(t=[r,i])||eE(t)||ez(t)||eP(),n=a[0],o=eT(a.slice(1),1)[0],s=void 0===o?{}:o,l=s.skipSuspense,c=ey(s,["skipSuspense"]),d=eU(),u=e$(),p=eH(),h=eN(),f=eq(void 0===n?{}:n),g=eq(c),m=(0,w.useRef)(!0),v=(0,w.useRef)(null),b=(0,w.useRef)(p.status),y=(0,w.useMemo)(function(){return eh({},e(function(e,t){if(t){m.current=!0;return}if(m.current){var r=e.instantSearchInstance;e.widgetParams;var i=ey(e,["instantSearchInstance","widgetParams"]);eA(i,v.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&r.status===b.current||(k(i),v.current=i,b.current=r.status)}},function(){m.current=!1})(f),g)},[e,f,g]),x=eT((0,w.useState)(function(){if(y.getWidgetRenderState){var e,t=h.getHelper(),r=h.getWidgetUiState({})[h.getIndexId()];t.state=(null==(e=y.getWidgetSearchParameters)?void 0:e.call(y,t.state,{uiState:r}))||t.state;var i=eW(h),a=i.results,n=i.scopedResults,o=i.recommendResults,s=y.getWidgetRenderState({helper:t,parent:h,instantSearchInstance:p,results:"recommend"===y.dependsOn&&o&&u?o[u.recommendIdx.current++]:a,scopedResults:n,state:t.state,renderState:p.renderState,templatesConfig:p.templatesConfig,createURL:h.createURL,searchMetadata:{isSearchStalled:"stalled"===p.status},status:p.status,error:p.error});return s.widgetParams,ey(s,["widgetParams"])}return{}}),2),S=x[0],k=x[1];return!function(e){var t,r,i,a=e.widget,n=e.parentIndex,o=e.props,s=e.shouldSsr,l=e.skipSuspense,c=eX(),d=c.waitForResultsRef,u=c.countRef;c.ignoreMultipleHooksWarning;var p=(0,w.useRef)(o);(0,w.useEffect)(function(){p.current=o},[o]);var h=(0,w.useRef)(a);(0,w.useEffect)(function(){h.current=a},[a]);var f=(0,w.useRef)(null),g=s&&!n.getWidgets().includes(a),m=eH();eG(function(){var e=h.current;return f.current?(clearTimeout(f.current),eA(o,p.current)||(n.removeWidgets([e]),n.addWidgets([a]))):s||n.addWidgets([a]),function(){f.current=setTimeout(function(){m._schedule(function(){m._preventWidgetCleanup||n.removeWidgets([e])})})}},[n,a,s,m,o]),(g||(null==d||null==(t=d.current)?void 0:t.status)==="pending")&&n.addWidgets([a]),(null==d?void 0:d.current)&&!l&&(eQ(d.current),"ais.dynamicWidgets"!==a.$$type&&"ais.feeds"!==a.$$type&&(null==(i=m.helper)?void 0:i.lastResults)&&eQ(d.current)),(null==d||null==(r=d.current)?void 0:r.status)==="fulfilled"&&(u.current+=1)}({widget:y,parentIndex:h,props:f,shouldSsr:!!d,skipSuspense:void 0!==l&&l}),S}function eJ(e){return eY(ej,{searchParameters:eh({},e)},{$$widgetType:"ais.configure"}),null}var eZ=e.i(708863);function e0(e){return function(e){if(Array.isArray(e))return eI(e)}(e)||eE(e)||ez(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
3function e1(e){return(e1=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function e2(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e2=function(){return!!e})()}function e5(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function e3(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function e4(e,t,r){return t&&e3(e.prototype,t),r&&e3(e,r),e}function e6(e,t){return(e6=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function e8(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var e7=e.i(106824);function e9(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}}).fallback;return"u"<typeof window?t():e({window:window})}function te(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(!e.transporter)return[e.applicationID,e.apiKey];var t=e.transporter,r=t.headers||t.baseHeaders,i=t.queryParameters||t.baseQueryParameters,a="x-algolia-application-id",n="x-algolia-api-key";return[r[a]||i[a],r[n]||i[n]]}function tt(e,t){for(var r,i=0;i<e.length;i++)if(t(r=e[i],i,e))return r}var tr="2.17.2",ti="https://cdn.jsdelivr.net/npm/search-insights@".concat(tr,"/dist/search-insights.min.js");function ta(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,r=e.insightsInitParams,i=e.onEvent,a=e.$$internal,n=void 0!==a&&a,o=e.$$automatic,s=void 0!==o&&o,l=t;t||null===t||e9(function(e){var t=e.window,r=t.AlgoliaAnalyticsObject||"aa";"string"==typeof r&&(l=t[r]),l||(t.AlgoliaAnalyticsObject=r,t[r]||(t[r]=function(){for(var e=arguments.length,i=Array(e),a=0;a<e;a++)i[a]=arguments[a];t[r].queue||(t[r].queue=[]),t[r].queue.push(i)},t[r].version=tr,t[r].shouldAddScript=!0),l=t[r])});var c=l||ek;return function(e){var t,a,o,l=e.instantSearchInstance,d=l.middleware.filter(function(e){return"ais.insights"===e.instance.$$type&&e.instance.$$internal}).map(function(e){return e.creator});l.unuse.apply(l,e0(d));var u=eT(te(l.client),2),p=u[0],h=u[1],f=void 0,g=void 0,m=void 0,v=c.queue;return Array.isArray(v)&&(g=(t=eT(["setUserToken","init"].map(function(e){return eT(tt(v.slice().reverse(),function(t){return eT(t,1)[0]===e})||[],2)[1]}),2))[0],f=t[1]),c("getUserToken",null,function(e,t){m=to(t)}),(r||!tn(c))&&c("init",eh({appId:p,apiKey:h,partial:!0},r)),{$$type:"ais.insights",$$internal:n,$$automatic:s,onStateChange:function(){},subscribe:function(){if(c.shouldAddScript){var e="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var t=document.createElement("script");t.async=!0,t.src=ti,t.onerror=function(){l.emit("error",Error(e))},document.body.appendChild(t),c.shouldAddScript=!1}catch(t){c.shouldAddScript=!1,l.emit("error",Error(e))}}},started:function(){c("addAlgoliaAgent","insights-middleware"),o=l.mainHelper;var e,t,d,u,p,h,v,b,y,x,S,w,k=c.queue;Array.isArray(k)&&(g=(x=eT(["setUserToken","init"].map(function(e){return eT(tt(k.slice().reverse(),function(t){return eT(t,1)[0]===e})||[],2)[1]}),2))[0],f=x[1]),u=(null==(d=(e=l)._initialResults)||null==(t=d[e.indexName])?void 0:t.state)||{},p=e.mainHelper.state,a={userToken:u.userToken||p.userToken,clickAnalytics:u.clickAnalytics||p.clickAnalytics},s||o.overrideStateWithoutTriggeringChangeEvent(ef(eh({},o.state),{clickAnalytics:!0})),n||l.scheduleSearch();var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=to(e);if(r){var i=o.state.userToken;t?a():setTimeout(a,0)}function a(){o.overrideStateWithoutTriggeringChangeEvent(ef(eh({},o.state),{userToken:r})),i&&i!==e&&l.scheduleSearch()}};function R(e){_(e,!0),c("setUserToken",e)}var j=void 0,C=function(){if(("u"<typeof document?"undefined":em(document))==="object"&&"string"==typeof document.cookie)for(var e="".concat("_ALGOLIA","="),t=document.cookie.split(";"),r=0;r<t.length;r++){for(var i=t[r];" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))return i.substring(e.length,i.length)}}();j=C||"anonymous-".concat("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));var P=a.userToken;(null==r?void 0:r.userToken)&&(S=r.userToken),S?R(S):P?R(P):m?R(m):g?R(g):j&&(R(j),((null==r?void 0:r.useCookie)||(null==f?void 0:f.useCookie))&&(h=j,v=(null==r?void 0:r.cookieDuration)||(null==f?void 0:f.cookieDuration),(b=new Date).setTime(b.getTime()+(v||15552e6)),y="expires=".concat(b.toUTCString()),document.cookie="_ALGOLIA=".concat(h,";").concat(y,";path=/"))),c("onUserTokenChange",function(e){return _(e,!0)},{immediate:!0});var I=c;tn(c)&&(I=function(e,t){var r=eT(te(l.client),2);return c(e,t,{headers:{"X-Algolia-Application-Id":r[0],"X-Algolia-API-Key":r[1]}})});var z=new Set;l.mainHelper.derivedHelpers[0].on("result",function(e){var t=e.results;t&&(!t.queryID||t.queryID!==w)&&(w=t.queryID,z.clear())}),l.sendEventToInsights=function(e){if(i)i(e,I);else if(e.insightsMethod){if("viewedObjectIDs"===e.insightsMethod){var t=e.payload,r=t.objectIDs.filter(function(e){return!z.has(e)});if(0===r.length)return;r.forEach(function(e){return z.add(e)}),t.objectIDs=r}e.payload.algoliaSource=["instantsearch"],s&&e.payload.algoliaSource.pu
3sh("instantsearch-automatic"),"internal"===e.eventModifier&&e.payload.algoliaSource.push("instantsearch-internal"),I(e.insightsMethod,e.payload)}}},unsubscribe:function(){c("onUserTokenChange",void 0),l.sendEventToInsights=ek,o&&a&&(o.overrideStateWithoutTriggeringChangeEvent(eh({},o.state,a)),l.scheduleSearch())}}}}function tn(e){var t=eT((e.version||"").split(".").map(Number),2),r=t[0],i=t[1];return r>=3||2===r&&i>=6||1===r&&i>=10}function to(e){if(e)return"number"==typeof e?e.toString():e}var ts=["ais.index","ais.feedContainer"];function tl(e){return ts.includes(e.$$type)}function tc(e,t,r){var i=t.getHelper();return{uiState:r,helper:i,parent:t,instantSearchInstance:e,state:i.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function td(e,t,r){var i=t.getResultsForWidget(r),a=t.getHelper();return{helper:a,parent:t,instantSearchInstance:e,results:i,scopedResults:t.getScopedResults(),state:i&&"_state"in i?i._state:a.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function tu(e){var t=e.renderState,r=e.instantSearchInstance,i=e.parent,a=i?i.getIndexId():r.mainIndex.getIndexId();r.renderState=ef(eh({},r.renderState),ep({},a,eh({},r.renderState[a],t)))}var tp=e.i(142973),th=function(e){e&&(window.document.title=e)},tf=function(){function e(t){var r=this,i=t.windowTitle,a=t.writeDelay,n=t.createURL,o=t.parseURL,s=t.getLocation,l=t.start,c=t.dispose,d=t.push,u=t.cleanUrlOnDispose;e5(this,e),ep(this,"$$type","ais.browser"),ep(this,"windowTitle",void 0),ep(this,"writeDelay",void 0),ep(this,"_createURL",void 0),ep(this,"parseURL",void 0),ep(this,"getLocation",void 0),ep(this,"writeTimer",void 0),ep(this,"_onPopState",void 0),ep(this,"inPopState",!1),ep(this,"isDisposed",!1),ep(this,"latestAcknowledgedHistory",0),ep(this,"_start",void 0),ep(this,"_dispose",void 0),ep(this,"_push",void 0),ep(this,"_cleanUrlOnDispose",void 0),this.windowTitle=i,this.writeTimer=void 0,this.writeDelay=void 0===a?400:a,this._createURL=n,this.parseURL=o,this.getLocation=s,this._start=l,this._dispose=c,this._push=d,this._cleanUrlOnDispose=void 0===u||u,e9(function(e){var t=e.window;th(r.windowTitle&&r.windowTitle(r.read())),r.latestAcknowledgedHistory=t.history.length})}return e4(e,[{key:"read",value:function(){return this.parseURL({qsModule:tp.default,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;e9(function(r){var i=r.window,a=t.createURL(e),n=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){th(n),t.shouldWrite(a)&&(t._push?t._push(a):i.history.pushState(e,n||"",a),t.latestAcknowledgedHistory=i.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},e9(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:tp.default,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,e9(function(t){var r=t.window;e._onPopState&&r.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return e9(function(r){var i=r.window;if(t.isDisposed&&!t._cleanUrlOnDispose)return!1;var a=!(t.isDisposed&&t.latestAcknowledgedHistory!==i.history.length);return!t.inPopState&&a&&e!==i.location.href})}}]),e}();function tg(e){return e.configure,ey(e,["configure"])}function tm(e){return e!==Object(e)}var tv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,r=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,r=void 0===t?function(e){var t=e.qsModule,r=e.routeState,i=e.location,a=i.protocol,n=i.hostname,o=i.port,s=void 0===o?"":o,l=i.pathname,c=i.hash,d=t.stringify(r),u=""===s?"":":".concat(s);
3return d?"".concat(a,"//").concat(n).concat(u).concat(l,"?").concat(d).concat(c):"".concat(a,"//").concat(n).concat(u).concat(l).concat(c)}:t,i=e.parseURL,a=void 0===i?function(e){var t=e.qsModule,r=e.location;return t.parse(r.search.slice(1),{arrayLimit:99})}:i,n=e.writeDelay,o=e.windowTitle,s=e.getLocation;return new tf({createURL:r,parseURL:a,writeDelay:void 0===n?400:n,windowTitle:o,getLocation:void 0===s?function(){return e9(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:s,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,i=e.stateMapping,a=void 0===i?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,r){return ef(eh({},t),ep({},r,tg(e[r])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var i=e[r];return(void 0===i?"undefined":em(i))!=="object"||null===i?t:ef(eh({},t),ep({},r,tg(i)))},{})}}:i,n=e.$$internal,o=void 0!==n&&n;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var i=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),n=Object.keys(e).reduce(function(t,r){return ef(eh({},t),ep({},r,e[r]))},i),o=a.stateToRoute(n);return r.createURL(o)};var i=void 0,n=t._initialUiState;return{$$type:"ais.router({router:".concat(r.$$type||"__unknown__",", stateMapping:").concat(a.$$type||"__unknown__","})"),$$internal:o,onStateChange:function(e){var t=e.uiState,n=a.stateToRoute(t);(void 0===i||!function e(t,r){if(t===r)return!0;if(tm(t)||tm(r)||"function"==typeof t||"function"==typeof r)return t===r;if(Object.keys(t).length!==Object.keys(r).length)return!1;var i=!0,a=!1,n=void 0;try{for(var o,s=Object.keys(t)[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var l=o.value;if(!(l in r)||!e(t[l],r[l]))return!1}}catch(e){a=!0,n=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw n}}return!0}(i,n))&&(r.write(n),i=n)},subscribe:function(){t._initialUiState=eh({},n,a.routeToState(r.read())),r.onUpdate(function(e){t.mainIndex.getWidgets().length>0&&t.setUiState(a.routeToState(e))})},started:function(){var e;null==(e=r.start)||e.call(r)},unsubscribe:function(){r.dispose()}}}},tb=0,ty=Promise.resolve();function tx(e){var t=null,r=!1,i=function(){for(var i=arguments.length,a=Array(i),n=0;n<i;n++)a[n]=arguments[n];null===t&&(t=ty.then(function(){if(t=null,r){r=!1;return}e.apply(void 0,e0(a))}))};return i.wait=function(){if(null===t)throw Error("The deferred function should be called before calling `wait()`");return t},i.cancel=function(){null!==t&&(r=!0)},i}function tS(e){for(var t=e.getParent(),r=[e.getHelper().state];null!==t;)r=[t.getHelper().state].concat(r),t=t.getParent();return r}var tw=eb({name:"index-widget"});function tk(e,t){var r=t.state,i=t.recommendState,a=t.isPageReset,n=t._uiState;r!==e.state&&(e.state=r,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:a,_uiState:n})),i!==e.recommendState&&(e.recommendState=i)}function t_(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,r){return!tl(r)&&(r.getWidgetUiState||r.getWidgetState)?r.getWidgetUiState?r.getWidgetUiState(e,t):r.getWidgetState(e,t):e},r)}function tR(e,t){var r=t.initialSearchParameters,i=ey(t,["initialSearchParameters"]);return e.reduce(function(e,t){return!t.getWidgetSearchParameters||tl(t)?e:"search"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,i):t.getWidgetSearchParameters(e,i)},r)}function tj(e,t){var r=t.initialRecommendParameters,i=ey(t,["initialRecommendParameters"]);return e.reduce(function(e,t){return!tl(t)&&"recommend"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,i):e},r)}var tC=function(e){if(void 0===e||void 0===e.indexName&&!e.EXPERIMENTAL_isolated)throw Error(tw("The `indexName` option is required."));var t=e.indexName,r=void 0===t?"":t,i=e.indexId,a=void 0===i?r:i,n=e.EXPERIMENTAL_isolated,o=void 0!==n&&n,s=[],l={},c=null,d=null,u=null,p=null,h=null,f=!1,g=!1;return{$$type:"ais.index",$$widgetType:"ais.index",_isolated:o,getIndexName:function(){return r},getIndexId:function(){return a},getHelper:function(){return u},getResults:function(){return(null==p?void 0:p.lastResults)?(p.lastResults._state=u.state,p.lastResults):null},getResultsForWidget:function(e){return"recommend"!==e.dependsOn||tl(e)||void 0===e.$$id?this.getResults():(null==u?void 0:u.lastRecommendResults)?u.lastRecommendResults[e.$$id]:null},getPreviousState:function(){return h},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(tl).reduce(function(t,r){return t.concat.apply(t,[{indexId:r.getIndexId(),results:r.getResults(),helper:r.getHelper()}].concat(e0(e(r.getWidgets()))))},[])}(e?e.getWidgets():0===r.length?this.getWidgets():[this])},getParent:function(){return o?null:d},createURL:function(e){return"function"==typeof e?c._createURL(ep({},a,e(l))):c._createURL(ep({},a,t_(s,{searchParameters:e,helper:u})))},scheduleLocalSearch:tx(function(){o&&(null==u||u.search())}),getWidgets:function(){return s},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(tw("The `addWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(tw("The widget definition expects a `render` and/or an `init` method."));return r.forEach(function(e){(e.parent=t,!tl(e))&&(c&&"recommend"===e.dependsOn?c._hasRecommendWidget=!0:c?c._hasSearchWidget=!0:"recommend"===e.dependsOn?f=!0:g=!0,"recommend"===e.dependsOn&&(e.$$id=tb++))}),s=s.concat(r),c&&r.length&&(tk(u,{state:tR(s,{uiState:l,initialSearchParameters:u.state}),recommendState:tj(s,{uiState:l,initialRecommendParameters:u.recommendState}),_uiState:l}
3),r.forEach(function(e){e.getRenderState&&tu({renderState:e.getRenderState(c.renderState[t.getIndexId()]||{},tc(c,t,c._initialUiState)),instantSearchInstance:c,parent:t})}),r.forEach(function(e){e.init&&e.init(tc(c,t,c._initialUiState))}),o?this.scheduleLocalSearch():c.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(tw("The `removeWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.dispose}))throw Error(tw("The widget definition expects a `dispose` method."));if((s=s.filter(function(e){return -1===r.indexOf(e)})).forEach(function(e){e.parent=void 0,tl(e)||(c&&"recommend"===e.dependsOn?c._hasRecommendWidget=!0:c?c._hasSearchWidget=!0:"recommend"===e.dependsOn?f=!0:g=!0)}),c&&r.length){var i=r.reduce(function(e,r){var i=r.dispose({helper:u,state:e.cleanedSearchState,recommendState:e.cleanedRecommendState,parent:t});return e8(i,eg.default.RecommendParameters)?e.cleanedRecommendState=i:i&&(e.cleanedSearchState=i),e},{cleanedSearchState:u.state,cleanedRecommendState:u.recommendState}),a=i.cleanedSearchState,n=i.cleanedRecommendState,d=c.future.preserveSharedStateOnUnmount?tR(s,{uiState:l,initialSearchParameters:new eg.default.SearchParameters({index:this.getIndexName()})}):tR(s,{uiState:t_(s,{searchParameters:a,helper:u}),initialSearchParameters:a});l=t_(s,{searchParameters:d,helper:u}),u.setState(d),u.recommendState=n,s.length&&(o?this.scheduleLocalSearch():c.scheduleSearch())}return this},init:function(e){var t,i=this,n=e.instantSearchInstance,m=e.parent,v=e.uiState;if(null===u){c=n,d=m,l=v[a]||{};var b=n.mainHelper,y=tR(s,{uiState:l,initialSearchParameters:new eg.default.SearchParameters({index:r})}),x=tj(s,{uiState:l,initialRecommendParameters:new eg.default.RecommendParameters});(u=(0,eg.default)(b.getClient(),y.index,y)).recommendState=x,u.search=function(){return o?(n.status="loading",i.render({instantSearchInstance:n}),n.compositionID?u.searchWithComposition():u.searchOnlyWithDerivedHelpers()):n.onStateChange?(n.onStateChange({uiState:n.mainIndex.getWidgetUiState({}),setUiState:function(e){return n.setUiState(e,!1)}}),b):b.search()},u.searchWithoutTriggeringOnStateChange=function(){return b.search()},u.searchForFacetValues=function(e,t,r,a){var n=ew.apply(void 0,[b.state].concat(e0(tS(i)))).setQueryParameters(a);return b.searchForFacetValues(e,t,r,n)};var S=r?u:(0,eg.default)({},"__empty_index__",{});p=(o?S:function(e,t){for(;e;){if(e._isolated)return e.getHelper();e=e.getParent()}return t}(m,b)).derive(function(){return ew.apply(void 0,[b.state].concat(e0(tS(i))))},function(){return i.getHelper().recommendState});var w=null==(t=n._initialResults)?void 0:t[this.getIndexId()];if(null==w?void 0:w.results){var k=new eg.default.SearchResults(new eg.default.SearchParameters(w.state),w.results);p.lastResults=k,u.lastResults=k}if(null==w?void 0:w.recommendResults){var _=new eg.default.RecommendResults(new eg.default.RecommendParameters({params:w.recommendResults.params}),w.recommendResults.results);p.lastRecommendResults=_,u.lastRecommendResults=_}u.on("change",function(e){e.isPageReset&&function e(t){var r=t.filter(tl);0!==r.length&&r.forEach(function(t){var r=t.getHelper();tk(r,{state:r.state.resetPage(),recommendState:r.recommendState,isPageReset:!0}),e(t.getWidgets())})}(s)}),p.on("search",function(){n.scheduleStalledRender()}),p.on("result",function(e){var t=e.results;n.scheduleRender(),u.lastResults=t,h=null==t?void 0:t._state}),p.on("recommend:result",function(e){var t=e.recommend;n.scheduleRender(),u.lastRecommendResults=t.results}),s.forEach(function(e){e.getRenderState&&tu({renderState:e.getRenderState(n.renderState[i.getIndexId()]||{},tc(n,i,v)),instantSearchInstance:n,parent:i})}),s.forEach(function(e){e.init&&e.init(tc(n,i,v))}),u.on("change",function(e){var t=e.state,r=e._uiState;l=t_(s,{searchParameters:t,helper:u},r||{}),n.onStateChange||n.onInternalStateChange()}),w&&n.scheduleRender(),f&&(n._hasRecommendWidget=!0),g&&(n._hasSearchWidget=!0)}},render:function(e){var t=this,i=e.instantSearchInstance;"error"===i.status&&!i.mainHelper.hasPendingRequests()&&h&&u.setState(h);var a=this.getResults()||(null==p?void 0:p.lastRecommendResults)||o&&!r?s:s.filter(function(e){return e.shouldRender});(a=a.filter(function(e){return!e.shouldRender||e.shouldRender({instantSearchInstance:i})}
3)).forEach(function(e){e.getRenderState&&tu({renderState:e.getRenderState(i.renderState[t.getIndexId()]||{},td(i,t,e)),instantSearchInstance:i,parent:t})}),a.forEach(function(e){e.render&&e.render(td(i,t,e))})},dispose:function(){var e=this;s.forEach(function(t){t.dispose&&u&&t.dispose({helper:u,state:u.state,recommendState:u.recommendState,parent:e})}),c=null,d=null,null==u||u.removeAllListeners(),u=null,null==p||p.detach(),p=null},getWidgetUiState:function(e){return s.filter(tl).filter(function(e){return!e._isolated}).reduce(function(e,t){return t.getWidgetUiState(e)},ef(eh({},e),ep({},a,eh({},e[a],l))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var r=t.uiState;return tR(s,{uiState:r,initialSearchParameters:e})},shouldRender:function(){return!0},refreshUiState:function(){l=t_(s,{searchParameters:this.getHelper().state,helper:this.getHelper()},l)},setIndexUiState:function(e){var t="function"==typeof e?e(l):e;c.setUiState(function(e){return ef(eh({},e),ep({},a,t))})}}},tP=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.descendantName,i=t.modifierName;return"".concat("ais","-").concat(e).concat(r?"-".concat(r):"").concat(i?"--".concat(i):"")}};function tI(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}function tz(){return(tz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}var tT={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tE=/[&<>"']/g,tO=RegExp(tE.source),tA={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},tF=/&(amp|quot|lt|gt|#39);/g,tW=RegExp(tF.source);function tL(e){return e&&tW.test(e)?e.replace(tF,function(e){return tA[e]}):e}var tD={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},tN="<mark>",tB="</mark>";function tH(e){var t;return ev(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(t,r){return ef(eh({},t),ep({},r,tH(e[r])))},{}):Array.isArray(e)?e.map(tH):ef(eh({},e),{value:((t=e.value)&&tO.test(t)?t.replace(tE,function(e){return tT[e]}):t).replace(RegExp(tD.highlightPreTag,"g"),tN).replace(RegExp(tD.highlightPostTag,"g"),tB)})}var tM=tP("Highlight");function tU(e){return e.map(function(e){return e.isHighlighted?tN+e.value+tB:e.value}).join("")}var tV=new RegExp(/\w/i);function t$(e){return e.some(function(e){return e.isHighlighted})?e.map(function(t,r){var i,a,n,o,s,l,c;return ef(eh({},t),{isHighlighted:(s=e[r],l=null==(i=null==(n=e[r+1])?void 0:n.isHighlighted)||i,c=null==(a=null==(o=e[r-1])?void 0:o.isHighlighted)||a,tV.test(tL(s.value))||c!==l?!s.isHighlighted:!c)})}):e.map(function(e){return ef(eh({},e),{isHighlighted:!1})})}function tq(e){var t=e.split(tN),r=t.shift(),i=r?[{value:r,isHighlighted:!1}]:[];return t.forEach(function(e){var t=e.split(tB);i.push({value:t[0],isHighlighted:!0}),""!==t[1]&&i.push({value:t[1],isHighlighted:!1})}),i}var tQ=tP("ReverseHighlight"),tG=tP("Snippet"),tK=tP("ReverseSnippet");function tX(e){return btoa(encodeURIComponent(JSON.stringify(e)))}function tY(e){var t;return(null==(t=e.compositionFeedsResults)?void 0:t.length)?e.compositionFeedsResults:e.results||[]}function tJ(e){var t=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var a=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[a++])})};return Object.keys(e).map(function(r){var i;return t("%s=%s",r,(i=e[r],"[object Object]"===Object.prototype.toString.call(i)||"[object Array]"===Object.prototype.toString.call(i))?JSON.stringify(e[r]):e[r])}).join("&")}function tZ(e,t){var r=e[t.getIndexId()]||{};t.getHelper().setState(t.getWidgetSearchParameters(t.getHelper().state,{uiState:r})),t.getWidgets().filter(tl).forEach(function(t){return tZ(e,t)})}var t0=eb({name:"instantsearch"});function t1(){return"#"}var t2={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},t5=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){e5(this,t),ep(r=function(e,t){t=e1(t);var r=e2()?Reflect.construct(t,[],e1(e).constructor):t.apply(e,void 0);if(r&&("object"===em(r)||"function"==typeof r))return r;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,t),"client",void 0),ep(r,"indexName",void 0),ep(r,"compositionID",void 0),ep(r,"insightsClient",void 0),ep(r,"onStateChange",null),ep(r,"future",void 0),ep(r,"helper",void 0),ep(r,"mainHelper",void 0),ep(r,"mainIndex",void 0),ep(r,"started",void 0),ep(r,"templatesConfig",void 0),ep(r,"render
3State",{}),ep(r,"_stalledSearchDelay",void 0),ep(r,"_searchStalledTimer",void 0),ep(r,"_initialUiState",void 0),ep(r,"_initialResults",void 0),ep(r,"_manuallyResetScheduleSearch",!1),ep(r,"_resetScheduleSearch",void 0),ep(r,"_createURL",void 0),ep(r,"_searchFunction",void 0),ep(r,"_mainHelperSearch",void 0),ep(r,"_hasSearchWidget",!1),ep(r,"_hasRecommendWidget",!1),ep(r,"_insights",void 0),ep(r,"middleware",[]),ep(r,"sendEventToInsights",void 0),ep(r,"status","idle"),ep(r,"error",void 0),ep(r,"scheduleSearch",tx(function(){r.started&&r.mainHelper.search()})),ep(r,"scheduleRender",tx(function(){var e,t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(null==(e=r.mainHelper)?void 0:e.hasPendingRequests())||(clearTimeout(r._searchStalledTimer),r._searchStalledTimer=null,t&&(r.status="idle",r.error=void 0)),r.mainIndex.render({instantSearchInstance:r}),r.emit("render")})),ep(r,"onInternalStateChange",tx(function(){var e=r.mainIndex.getWidgetUiState({});r.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),r.setMaxListeners(100);var r,i=e.indexName,a=e.compositionID,n=e.numberLocale,o=e.initialUiState,s=e.routing,l=void 0===s?null:s,c=e.insights,d=void 0===c?void 0:c,u=e.searchFunction,p=e.stalledSearchDelay,h=e.searchClient,f=void 0===h?null:h,g=e.insightsClient,m=void 0===g?null:g,v=e.onStateChange,b=e.future,y=void 0===b?eh({},t2,e.future||{}):b;if(null===f)throw Error(t0("The `searchClient` option is required."));if("function"!=typeof f.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof f.addAlgoliaAgent&&f.addAlgoliaAgent("instantsearch.js (".concat("4.104.0",")")),m&&"function"!=typeof m)throw Error(t0("The `insightsClient` option should be a function."));if(r.client=f,r.future=y,r.insightsClient=m,r.indexName=void 0===i?"":i,r.compositionID=a,r.helper=null,r.mainHelper=null,r.mainIndex=tC({indexName:r.compositionID||r.indexName}),r.onStateChange=void 0===v?null:v,r.started=!1,r.templatesConfig={helpers:{formatNumber:function(e,t){var r;return r=Number(t(e)),r.toLocaleString(n)},highlight:function(e,t){try{var r,i,a,n,o,s,l,c,d,u=JSON.parse(e);return t((i=(r=ef(eh({},u),{hit:this})).attribute,a=r.highlightedTagName,n=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=(tI(o._highlightResult,i)||{}).value,d=tM({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===c?"":c).replace(RegExp(tN,"g"),"<".concat(n,' class="').concat(d,'">')).replace(RegExp(tB,"g"),"</".concat(n,">"))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var r,i,a,n,o,s,l,c,d,u=JSON.parse(e);return t((i=(r=ef(eh({},u),{hit:this})).attribute,a=r.highlightedTagName,n=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=(tI(o._highlightResult,i)||{}).value,d=tQ({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),tU(t$(tq(void 0===c?"":c))).replace(RegExp(tN,"g"),"<".concat(n,' class="').concat(d,'">')).replace(RegExp(tB,"g"),"</".concat(n,">"))))}catch(e){throw Error('\n  The reverseHighlight helper expects a JSON object of the format:\n  { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var r,i,a,n,o,s,l,c,d,u=JSON.parse(e);return t((i=(r=ef(eh({},u),{hit:this})).attribute,a=r.highlightedTagName,n=void 0===a?"mark":a,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,c=(tI(o._snippetResult,i)||{}).value,d=tG({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===c?"":c).replace(RegExp(tN,"g"),"<".concat(n,' class="').concat(d,'">')).replace(RegExp(tB,"g"),"</".concat(n,">"))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var r,i,a,n,o,s,l,c,d,u=JSON.parse(e);return t((i=(r=ef(eh({},u),{hit:this})).attribute,a=r.highlightedTagName,n=void 0===a?"mark":a,o=r.hit,s=r.cssClasse
3s,l=void 0===s?{}:s,c=(tI(o._snippetResult,i)||{}).value,d=tK({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),tU(t$(tq(void 0===c?"":c))).replace(RegExp(tN,"g"),"<".concat(n,' class="').concat(d,'">')).replace(RegExp(tB,"g"),"</".concat(n,">"))))}catch(e){throw Error('\n  The reverseSnippet helper expects a JSON object of the format:\n  { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var r,i=JSON.parse(e),a=i.method,n=i.payload;return t((r=eh({objectIDs:[this.objectID]},n),function(e){var t,r=e.method,i=e.payload;if((void 0===i?"undefined":em(i))!=="object")throw Error("The insights helper expects the payload to be an object.");try{t=tX(i)}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(r,'" data-insights-payload="').concat(t,'"')}({method:a,payload:r})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},r._stalledSearchDelay=void 0===p?200:p,r._searchStalledTimer=null,r._createURL=t1,r._initialUiState=void 0===o?{}:o,r._initialResults=null,r._insights=d,u&&(r._searchFunction=u),r.sendEventToInsights=ek,l){var x="boolean"==typeof l?{}:l;x.$$internal=!0,r.use(tv(x))}if(d){var S="boolean"==typeof d?{}:d;S.$$internal=!0,r.use(ta(S))}return e9(function(e){var t,r;return(null==(r=e.window.navigator)||null==(t=r.userAgent)?void 0:t.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&r.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,r=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,i={widgets:[]},a=document.createElement("meta"),n=document.querySelector("head");return a.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:r,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e;i.ua=(e=t.client).transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,r,i){var a=tc(r,r.mainIndex,r._initialUiState);t.forEach(function(t){var n={};if(t.getWidgetRenderState){var o=t.getWidgetRenderState(a);o&&o.widgetParams&&(n=o.widgetParams)}var s=Object.keys(n).filter(function(e){return void 0!==n[e]});i.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),tl(t)&&e(t.getWidgets(),r,i)})}(t.mainIndex.getWidgets(),t,i),t.middleware.forEach(function(e){return i.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),a.content=JSON.stringify(i),n.appendChild(a)},0)},started:function(){},unsubscribe:function(){a.remove()}}}}({$$internal:!0})),r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e6(t,e),e4(t,[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=r.map(function(t){var r=eh({$$type:"__unknown__",$$internal:!1,subscribe:ek,started:ek,unsubscribe:ek,onStateChange:ek},t({instantSearchInstance:e}));return e.middleware.push({creator:t,instance:r}),r});return this.started&&a.forEach(function(e){e.subscribe(),e.started()}),this}},{key:"unuse",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.middleware.filter(function(e){return t.includes(e.creator)}).forEach(function(e){return e.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(e){return!t.includes(e.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.use.apply(this,e0(t))}},{key:"addWidget",value:function(e){return this.addWidgets([e])}},{key:"addWidgets",value:function(e){if(!Array.isArray(e))throw Error(t0("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(this.compositionID&&e.some(function(e){return!Array.isArray(e)&&tl(e)&&!e._isolated}))throw Error(t0("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(e),this}},{key:"removeWidget",value:function(e){return this.removeWidgets([e])}},{key:"removeWidgets",value:function(e){if(!Array.isArray(e))throw Error(t0("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));return this.mainIndex.removeWidgets(e),this}},{key:"start",value:function(){var e=this;if(this.started)throw Error(t0("The `start` method has already been called once."));var t=this.mainHelper||(0,eg.default)(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(t.searchForFacetValues=t.searchForCompositionFacetValues.bind(t)),t.search=function(){return e.status="loading",e.scheduleRender(!1),e._hasSearchWidget&&(e.compositionID?t.searchWithComposition():t.searchOnlyWithDerivedHelpers()),e._hasRecommendWidget&&t.recommend(),t},this._searchFunction){var r={search:function(){return new Promise(ek)}};this._mainHelperSearch=t.search.bind(t),t.search=function(){var i=e.mainIndex.getHelper(),a=(0,eg.default)(r,i.state.index,i.state);return a.once("search",function(t){var r=t.state;i.overrideStateWithoutTriggeringChangeEvent(r),e._mainHelperSearch()}),a.on("change",function(e){var t=e.state;i.setState(t)}),e._searchFunction(a),t}}if(t.on("error",function(t){var r=t.error;if(!e8(r,Error)){var i=r;r=Object.keys(i).reduce(function(e,t){return e[t]=i[t],e},Error(i.message))}r.error=r,e.error=r,e.status="error",e.scheduleRender(!1),e.emit("error",r)}),this.mainHelper=t,this.middleware.forEach(function(e){e.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){!function(e,t){if(t&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var r=[Object.keys(t).reduce(function(e,r){var i=t[r],a=i.state,n=i.requestParam
3s,o=tY(i),s=o&&a?o.map(function(e,t){return eh({indexName:a.index||e.index},(null==n?void 0:n[t])||e.params?{params:tJ((null==n?void 0:n[t])||e.params.split("&").reduce(function(e,t){var r=eT(t.split("="),2),i=r[0],a=r[1];return e[i]=a?decodeURIComponent(a):"",e},{}))}:{})}):[];return e.concat(s)},[])],i=Object.keys(t).reduce(function(e,r){var i=tY(t[r]);return i?e.concat(i):e},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var a=e.search.bind(e);e.search=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];var o=Array.isArray(t)?t.map(function(e){return ef(eh({},e),{params:tJ(e.params)})}):tJ(t.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[o].concat(e0(i))},function(){return a.apply(void 0,[t].concat(e0(i)))})},e.transporter.responsesCache.set({method:"search",args:r},{results:i})}if(!("transporter"in e)){var n="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:r}));e.cache=ef(eh({},e.cache),ep({},n,JSON.stringify({results:Object.keys(t).map(function(e){return tY(t[e])})})))}}}(this.client,this._initialResults),this.mainHelper._recommendCache=Object.keys(i=this._initialResults).reduce(function(e,t){var r=i[t];return r.recommendResults?eh({},e,r.recommendResults.results):e},{});var i,a=this.scheduleSearch;this.scheduleSearch=tx(ek),this._manuallyResetScheduleSearch?this._resetScheduleSearch=function(){e.scheduleSearch=a}:tx(function(){e.scheduleSearch=a})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(ta({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null==(e=this.mainHelper)||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(t0("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var i="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&r?this.onStateChange({uiState:i,setUiState:function(e){tZ("function"==typeof e?e(i):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(tZ(i,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(t0("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(t0("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),t}(e7.default),t3=e.i(118850),t4="7.38.0",t6=["react (".concat(w.version,")"),"react-instantsearch (".concat(t4,")"),"react-instantsearch-core (".concat(t4,")")],t8="react-instantsearch-server (".concat(t4,")");function t7(e,t){"function"==typeof e.addAlgoliaAgent&&t.filter(Boolean).forEach(function(t){e.addAlgoliaAgent(t)})}function t9(e){var t=e.children,r=function(e){var t=eT((0,w.useReducer)(function(e){return e+1},0),2)[1],r=eU(),i=e$(),a=eX().waitForResultsRef,n=null==i?void 0:i.initialResults,o=(0,w.useRef)(e),s=r||n||a,l=(0,w.useRef)(null);if((null==i?void 0:i.ssrSearchRef)&&(l=i.ssrSearchRef),null===l.current){var c,d,u,p=new t5(e);p._schedule=function(e){p._schedule.queue.push(e),clearTimeout(p._schedule.timer),p._schedule.timer=setTimeout(function(){p._schedule.queue.forEach(function(e){e()}),p._schedule.queue=[]},0)},p._schedule.queue=[],s&&(p._initialResults=n||{}
3,p._manuallyResetScheduleSearch=!0),t7(e.searchClient,e0(t6).concat([r&&t8,(u="u">typeof window&&(null==(c=window.next)?void 0:c.version)||(void 0!==eZ.default?null==(d=eZ.default.env)?void 0:d.NEXT_RUNTIME:void 0))?"next.js (".concat(u,")"):null])),s&&p.start(),r&&r.notifyServer({search:p}),e.routing,l.current=p}var h,f=l.current,g=o.current;g.indexName!==e.indexName&&(f.helper.setIndex(e.indexName||"").search(),o.current=e),g.searchClient!==e.searchClient&&(t7(e.searchClient,e0(t6).concat([r&&t8])),f.mainHelper.setClient(e.searchClient).search(),o.current=e),g.onStateChange!==e.onStateChange&&(f.onStateChange=e.onStateChange,o.current=e),g.searchFunction!==e.searchFunction&&(f._searchFunction=e.searchFunction,o.current=e),g.stalledSearchDelay!==e.stalledSearchDelay&&(f._stalledSearchDelay=null!=(h=e.stalledSearchDelay)?h:200,o.current=e),eA(g.future,e.future)||(f.future=eh({},t2,e.future),o.current=e);var m=(0,w.useRef)(null);return(0,t3.useSyncExternalStore)((0,w.useCallback)(function(){var e=l.current;return null===m.current?e.started||(e.start(),t()):(clearTimeout(m.current),e._preventWidgetCleanup=!1),function(){null!=i&&i.ssrSearchRef||(clearTimeout(e._schedule.timer),m.current=setTimeout(function(){e.dispose()}),e._preventWidgetCleanup=!0)}},[t,i]),function(){return l.current},function(){return l.current})}(ey(e,["children"]));return r.started?w.default.createElement(eB.Provider,{value:r},w.default.createElement(eL.Provider,{value:r.mainIndex},t,w.default.createElement(re,{search:r}))):null}function re(e){var t=e.search;return(0,w.useEffect)(function(){t._resetScheduleSearch&&t._resetScheduleSearch()},[t]),null}function rt(e){var t=e.helper,r=e.widgetType;e.methodName;var i=e.args,a=e.instantSearchInstance;if(1===i.length&&"object"===em(i[0]))return[i[0]];var n=eT(i[0].split(":"),2),o=n[0],s=n[1],l=i[1],c=i[2],d=i[3]||{};if(!l||("click"===o||"conversion"===o)&&!c)return[];var u=Array.isArray(l)?l:[l];if(0===u.length)return[];var p=u[0].__queryID,h=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],i=0;i<Math.ceil(e.length/t);i++)r.push(e.slice(i*t,(i+1)*t));return r}(u),f=h.map(function(e){return e.map(function(e){return e.objectID})}),g=h.map(function(e){return e.map(function(e){return e.__position})});return"view"===o?"idle"!==a.status?[]:h.map(function(e,i){var a;return{insightsMethod:"viewedObjectIDs",widgetType:r,eventType:o,payload:eh({eventName:c||"Hits Viewed",index:(null==(a=t.lastResults)?void 0:a.index)||t.state.index,objectIDs:f[i]},d),hits:e,eventModifier:s}}):"click"===o?h.map(function(e,i){var a;return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:r,eventType:o,payload:eh({eventName:c||"Hit Clicked",index:(null==(a=t.lastResults)?void 0:a.index)||t.state.index,queryID:p,objectIDs:f[i],positions:g[i]},d),hits:e,eventModifier:s}}):"conversion"===o?h.map(function(e,i){var a;return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:r,eventType:o,payload:eh({eventName:c||"Hit Converted",index:(null==(a=t.lastResults)?void 0:a.index)||t.state.index,queryID:p,objectIDs:f[i]},d),hits:e,eventModifier:s}}):[]}function rr(e,t){if(void 0===e||"function"!=typeof e)throw Error("The render function is not valid (received type ".concat(Object.prototype.toString.call(e).slice(8,-1),").\n\n").concat(t))}var ri=eb({name:"hits",connector:!0}),ra=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ek;return rr(e,ri()),function(r){var i,a,n=r||{},o=n.escapeHTML,s=void 0===o||o,l=n.transformItems,c=void 0===l?function(e){return e}:l;return{$$type:"ais.hits",init:function(t){e(ef(eh({},this.getWidgetRenderState(t)),{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){var r=this.getWidgetRenderState(t);e(ef(eh({},r),{instantSearchInstance:t.instantSearchInstance}),!1),r.sendEvent("view:internal",r.items)},getRenderState:function(e,t){return ef(eh({},e),{hits:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t,n,o,l,d,u,p,h,f,g,m,v,b,y,x,S,w,k,_,R=e.results,j=e.helper,C=e.instantSearchInstance;if(i||(n=(t={instantSearchInstance:C,helper:j,widgetType:this.$$type}).instantSearchInstance,o=t.helper,l=t.widgetType,d={},u=void 0,i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];rt({widgetType:l,helper:o,methodName:"sendEvent",args:t,instantSearchInstance:n}
3).forEach(function(e){"click"===e.eventType&&"internal"===e.eventModifier&&d[e.eventType]||(d[e.eventType]=!0,n.sendEventToInsights(e))}),clearTimeout(u),u=setTimeout(function(){d={}},0)}),a||(h=(p={helper:j,widgetType:this.$$type,instantSearchInstance:C}).helper,f=p.widgetType,g=p.instantSearchInstance,a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=rt({widgetType:f,helper:h,methodName:"bindEvent",args:t,instantSearchInstance:g});return i.length?"data-insights-event=".concat(tX(i)):""}),!R)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:i,bindEvent:a,widgetParams:r};s&&R.hits.length>0&&(void 0===(m=R.hits).__escaped&&((m=m.map(function(e){var t=e;if(null==t)throw TypeError("Cannot destructure "+t);var r=tz({},e);return r._highlightResult&&(r._highlightResult=tH(r._highlightResult)),r._snippetResult&&(r._snippetResult=tH(r._snippetResult)),r})).__escaped=!0),R.hits=m);var P=c((v=R.hits,b=R.page,y=R.hitsPerPage,x=v.map(function(e,t){return ef(eh({},e),{__position:y*b+t+1})}),(S=R.queryID)?x.map(function(e){return ef(eh({},e),{__queryID:S})}):x),{results:R}),I=null==(_=R.renderingContent)||null==(k=_.widgets)||null==(w=k.banners)?void 0:w[0];return{hits:P,items:P,results:R,banner:I,sendEvent:i,bindEvent:a,widgetParams:r}},dispose:function(e){var r=e.state;return(t(),s)?r.setQueryParameters(Object.keys(tD).reduce(function(e,t){return ef(eh({},e),ep({},t,void 0))},{})):r},getWidgetSearchParameters:function(e,t){return s?e.setQueryParameters(tD):e}}}},rn=eb({name:"search-box",connector:!0}),ro=function(e,t){return t(e)},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ek;return rr(e,rn()),function(r){var i,a,n=(r||{}).queryHook,o=void 0===n?ro:n;return{$$type:"ais.searchBox",init:function(t){var r=t.instantSearchInstance;e(ef(eh({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(ef(eh({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!1)},dispose:function(e){var r=e.state;return t(),r.setQueryParameter("query",void 0)},getRenderState:function(e,t){return ef(eh({},e),{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,n=e.instantSearchInstance,s=e.state;return i||(i=function(e){o(e,function(e){return t.setQuery(e).search()})},a=function(){t.setQuery("").search()}),{query:s.query||"",refine:i,clear:a,widgetParams:r,isSearchStalled:"stalled"===n.status}},getWidgetUiState:function(e,t){var r=t.searchParameters.query||"";return""===r||e&&e.query===r?e:ef(eh({},e),{query:r})},getWidgetSearchParameters:function(e,t){var r=t.uiState;return e.setQueryParameter("query",r.query||"")}}}};function rl(e={serializable:!0}){let t={};return{get(r,i,a={miss:()=>Promise.resolve()}){let n=JSON.stringify(r);if(n in t)return Promise.resolve(e.serializable?JSON.parse(t[n]):t[n]);let o=i();return o.then(e=>a.miss(e)).then(()=>o)},set:(r,i)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(i):i,Promise.resolve(i)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}async function*rc(e){let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}async function*rd(e){let t=new TextDecoder("utf-8"),r=[],i=0,a=!1,n=!0;for await(let o of Symbol.asyncIterator in e?e:rc(e)){let e=t.decode(o,{stream:!0}),s=0;for(a&&(a=!1,e.length>0&&"\n"===e[0]&&(s=1));s<e.length;){let t,o,l=e.indexOf("\r",s),c=e.indexOf("\n",s);if(-1===l&&-1===c){let t=e.slice(s);if(r.push(t),(i+=t.length)>0xa00000)throw Error("SSE line buffer exceeded 10MB");break}-1!==l&&(-1===c||l<c)?(t=l,l+1<e.length?o="\n"===e[l+1]?2:1:(a=!0,o=1)):(t=c,o=1);let d=e.slice(s,t);r.push(d);let u=1===r.length?r[0]:r.join("");r.length=0,i=0,n&&(u.startsWith("\uFEFF")&&(u=u.slice(1)),n=!1),yield u,s=t+o}}let o=t.decode();if(o&&r.push(o),r.length>0){let e=r.join("");n&&e.startsWith("\uFEFF")&&(e=e.slice(1)),yield e}}var ru=class{data=[];eventType="";lastEventId=null;retry=null;decode(e){let t,r;if(""===e)return this.dispatch();if(":"===e[0])return null;let i=e.indexOf(":");switch(-1===i?(t=e,r=""):(t=e.slice(0,i)," "===(r=e.slice(i+1))[0]&&(r=r.slice(1))),t){case"data":this.data.push(r);break;case"event":this.eventType=r;break;case"id":r.includes("\0")||(this.lastEventId=r);break;case"retry":/^[0-9]+$/.test(r)&&(this.retry=parseInt(r,10))}return null}dispatch(){let e=this.eventType;if(this.eventType="",0===this.data.length)return null;let t={data:this.data.join("\n"),event:e,id:this.lastEventId,retry:this.retry};return this.data=[],t}};async function*rp(e){let t=new ru;for await(let r of rd(e)){let e=t.decode(r);null!==e&&(yield e)}}function rh(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}
3var rf=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},rg=class extends rf{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},rm=class extends rg{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",e,"RetryError")}},rv=class extends rg{status;constructor(e,t,r,i="ApiError"){super(e,r,i),this.status=t}},rb=class extends rf{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},ry=class extends rv{error;constructor(e,t,r,i){super(e,t,i,"DetailedApiError"),this.error=r}};function rx(e,t,r){var i;let a=Object.keys(i=r).filter(e=>void 0!==i[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(i[e])?i[e].join(","):i[e]).replace(/\+/g,"%20")}`).join("&"),n=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return a.length&&(n+=`?${a}`),n}function rS(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}function rw(e,t,r){let i={Accept:"application/json",...e,...t,...r},a={};
3return Object.keys(i).forEach(e=>{let t=i[e];a[e.toLowerCase()]=t}),a}function rk(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function r_(e,t,r){if(null==r||"string"==typeof r&&0===r.length)throw Error(`Parameter \`${e}\` is required when calling \`${t}\`.`)}var rR="5.55.1";let rj=function(e,t){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let{compression:r,...i}={};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:i,...a}){let n=function(e,t,r="WithinHeaders"){let i={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?i:{},queryParameters:()=>"WithinQueryParameters"===r?i:{}}}(e,t,r),o=function({hosts:e,hostsCache:t,baseHeaders:r,logger:i,baseQueryParameters:a,algoliaAgent:n,timeouts:o,requester:s,requestsCache:l,responsesCache:c,compress:d,compression:u}){async function p(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(rh(e))))),i=r.filter(e=>e.isUp()),a=r.filter(e=>e.isTimedOut()),n=[...i,...a];return{hosts:n.length>0?n:e,getTimeout:(e,t)=>(0===a.length&&0===e?1:a.length+3+e)*t}}async function h(l,c,h){let f=[],g=rS(l,c),m=rw(r,l.headers,c.headers),v="gzip"===u&&void 0!==g&&g.length>750&&("POST"===l.method||"PUT"===l.method);v&&void 0===d&&i.info("Compression is disabled because no compress method is available.");let b=v&&void 0!==d,y=b?await d(g):g;b&&(m["content-encoding"]="gzip");let x="GET"===l.method?{...l.data,...c.data}:{},S={...a,...l.queryParameters,...x};if(n.value&&(S["x-algolia-agent"]=n.value),c&&c.queryParameters)for(let e of Object.keys(c.queryParameters))c.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(c.queryParameters[e])?S[e]=c.queryParameters[e].toString():S[e]=c.queryParameters[e];let w=0,k=async(e,r)=>{let a=e.pop();if(void 0===a)throw new rm(f.map(e=>rk(e)));let n={...o,...c.timeouts},d={data:y,headers:m,method:l.method,url:rx(a,l.path,S),connectTimeout:r(w,n.connect),responseTimeout:r(w,h?n.read:n.write)},u=t=>{let r={request:d,response:t,host:a,triesLeft:e.length};return f.push(r),r},p=await s.send(d);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(p)){let n=u(p);return p.isTimedOut&&w++,i.info("Retryable failure",rk(n)),await t.set(a,rh(a,p.isTimedOut?"timed out":"down")),k(e,r)}if(function({status:e}){return 2==~~(e/100)}(p)){if(204!==p.status&&0!==p.content.length)try{return JSON.parse(p.content)}catch(e){throw new rb(e.message,p)}return}throw u(p),function({content:e,status:t},r){try{let i=JSON.parse(e);if("error"in i)return new ry(i.message,t,i.error,r);return new rv(i.message,t,r)}catch{}return new rv(e,t,r)}(p,f)},_=e.filter(e=>"readWrite"===e.accept||(h?"read"===e.accept:"write"===e.accept)),R=await p(_);return k([...R.hosts].reverse(),R.getTimeout)}async function*f(t,i={}){if(!s.sendStream)throw Error("This requester does not support streaming");let l=rS(t,i),c=rw(r,t.headers,i.headers);c.accept="text/event-stream";let d="GET"===t.method?{...t.data,...i.data}:{},u={...a,...t.queryParameters,...d};if(n.value&&(u["x-algolia-agent"]=n.value),i&&i.queryParameters)for(let e of Object.keys(i.queryParameters))i.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(i.queryParameters[e])?u[e]=i.queryParameters[e].toString():u[e]=i.queryParameters[e];let h=t.useReadTransporter||"GET"===t.method,g=e.filter(e=>"readWrite"===e.accept||(h?"read"===e.accept:"write"===e.accept)),m=(await p(g)).hosts[0];if(!m)throw new rm([]);let v={...o,...i.timeouts},b={data:l,headers:c,method:t.method,url:rx(m,t.path,u),connectTimeout:v.connect,responseTimeout:h?v.read:v.write},y=await s.sendStream(b);yield*rp(y)}return{hostsCache:t,requester:s,timeouts:o,logger:i,algoliaAgent:n,baseHeaders:r,baseQueryParameters:a,hosts:e,request:function(e,t={}){let i=e.useReadTransporter||"GET"===e.method;if(!0!==(t.cacheable||e.cacheable))return h(e,t,i);let n={request:e,requestOptions:t,transporter:{queryParameters:a,headers:r}};return c.get(n,()=>l.get(n,()=>l.set(n,h(e,t,i)).then(e=>Promise.all([l.delete(n),e]),e=>Promise.all([l.delete(n),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>c.set(n,e)})},requestStream:f,requestsCache:l,responsesCache:c}}({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(function(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),i=e[t];e[t]=e[r],e[r]=i}return e}([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}
3])),...a,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let i,a=(i={value:`Algolia for JavaScript (${r})`,add(e){let t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===i.value.indexOf(t)&&(i.value=`${i.value}${t}`),i}}).add({segment:t,version:r});return e.forEach(e=>a.add(e)),a}({algoliaAgents:i,client:"Lite",version:rR}),baseHeaders:{"content-type":"text/plain",...n.headers(),...a.baseHeaders},baseQueryParameters:{...n.queryParameters(),...a.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},customPost({path:e,parameters:t,body:r},i){r_("path","customPost",e);let a="/{path}".replace("{path}",e);return o.request({method:"POST",path:a,queryParameters:t||{},headers:{},data:r||{}},i)},getRecommendations(e,t){e&&Array.isArray(e)&&(e={requests:e}),r_("getRecommendationsParams","getRecommendations",e),r_("getRecommendationsParams.requests","getRecommendations",e.requests);let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(r,t)},search(e,t){e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),r_("searchMethodParams","search",e),r_("searchMethodParams.requests","search",e.requests);let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(r,t)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let i=(e,i)=>setTimeout(()=>{r.abort(),t({status:0,content:i,isTimedOut:!0})},e),a=i(e.connectTimeout,"Connection timeout"),n;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:rl(),requestsCache:rl({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],i=r.shift();return void 0===i?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,a,n={miss:()=>Promise.resolve()})=>i.get(t,a,n).catch(()=>e({caches:r}).get(t,a,n)),set:(t,a)=>i.set(t,a).catch(()=>e({caches:r}).set(t,a)),delete:t=>i.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>i.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t,r=`algolia-client-js-${e.key}`;function i(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function a(){return JSON.parse(i().getItem(r)||"{}")}function n(){return new Promise(e=>setTimeout(e,0))}return{get:(t,o,s={miss:()=>Promise.resolve()})=>n().then(()=>{let n,l,c,d,{namespace:u,changed:p}=(n=e.timeToLive?1e3*e.timeToLive:null,l=a(),c=new Date().getTime(),d=!1,{namespace:Object.fromEntries(Object.entries(l).filter(([,e])=>e&&void 0!==e.timestamp&&(!n||!(e.timestamp+n<c))||(d=!0,!1))),changed:d}),h=u[JSON.stringify(t)];return(p&&i().setItem(r,JSON.stringify(u)),h)?h.value:o().then(e=>s.miss(e).then(()=>e))}),set:(e,t)=>n().then(()=>{let n=a();return n[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},i().setItem(r,JSON.stringify(n)),t}),delete:e=>n().then(()=>{let t=a();delete t[JSON.stringify(e)],i().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{i().removeItem(r)})}}({key:`${rR}-${e}`}),rl()]}),...i})}("X5GPCKPY7W","5b1257a06f94ce33b479b7aad62b6bfa"),rC=new Map,rP=null,rI=null;function rz(e){return{results:e.map(e=>({hits:[],nbHits:0,page:0,nbPages:0,processingTimeMS:0,hitsPerPage:0,exhaustiveNbHits:!1,query:e.params?.query??"",params:""}))}}function rT(){rP&&clearTimeout(rP),rP=null,rI?.(),rI=null}let rE={...rj,search(e,t){let r=Array.isArray(e)?e:e.requests;if(r.every(e=>(e.params?.query??"").trim().length<3))return Promise.resolve(rz(r));let i=r.map(e=>`${e.indexName}:${e.params?.query||""}`).join("|"),a=function(e){let t=rC.get(e);if(t)return rC.delete(e),rC.set(e,t),t}(i);return a?(rT(),new Promise(e=>setTimeout(()=>e(a),0))):new Promise(a=>{rT(),rI=()=>a(rz(r)),rP=setTimeout(()=>{rI=null,rj.search(e,t).then(e=>{let t=e.results,r={...e,results:t.map(e=>({...e,hits:e.hits.map(e=>({...e}))}))};for(rC.set(i,r);rC.size>50;){let e=rC.keys().next();if(e.done)break;rC.delete(e.value)}a(r)}).catch(()=>a(rz(r)))},300)})}},rO={product:{labelKey:"Search.TypeProduct",icon:X.LuCpu}
3,solution:{labelKey:"Search.TypeSolution",icon:X.LuActivity},techspec:{labelKey:"SearchTypeSpecs",icon:X.LuRuler},techspectable:{labelKey:"Search.TypeSpecTable",icon:X.LuTable},blogpost:{labelKey:"SearchTypeBlogPost",icon:X.LuFileText},blogcategory:{labelKey:"SearchTypeBlogCategory",icon:X.LuFolder},page:{labelKey:"SearchTypePage",icon:X.LuFile},download:{labelKey:"SearchTypeDownload",icon:X.LuDownload},downloadhomepage:{labelKey:"SearchTypeDownload",icon:X.LuDownload},downloadcategory:{labelKey:"Search.TypeDownloadCategory",icon:X.LuFolderDown},careeropportunity:{labelKey:"Search.TypeCareer",icon:X.LuBriefcase},careeropportunities:{labelKey:"Search.TypeCareer",icon:X.LuBriefcase},careeropportunitieshomepage:{labelKey:"Search.TypeCareer",icon:X.LuBriefcase}},rA={labelKey:"Search.TypeOther",icon:X.LuFile};function rF(e){return(e||"other").toLowerCase()}function rW(e){return"download"===e}var rL=e.i(60580);function rD(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])},[]).filter(Boolean).join(" ")}var rN=function(e){var t=e.createElement,r=e.Fragment,i=function(e){var r=e.classNames,i=e.children,a=e.highlightedTagName,n=e.isHighlighted,o=e.nonHighlightedTagName;return t(n?a:o,{className:n?r.highlighted:r.nonHighlighted},i)};return function(e){var a=e.parts,n=e.highlightedTagName,o=void 0===n?"mark":n,s=e.nonHighlightedTagName,l=void 0===s?"span":s,
3c=e.separator,d=void 0===c?", ":c,u=e.className,p=e.classNames,h=void 0===p?{}:p;return t("span",ef(eh({},ey(e,["parts","highlightedTagName","nonHighlightedTagName","separator","className","classNames"])),{className:rD(h.root,u)}),a.map(function(e,n){var s=n===a.length-1;return t(r,{key:n},e.map(function(e,r){return t(i,{key:r,classNames:h,highlightedTagName:o,nonHighlightedTagName:l,isHighlighted:e.isHighlighted},e.value)}),!s&&t("span",{className:h.separator},d))}))}}({createElement:w.createElement,Fragment:w.Fragment});function rB(e){var t=e.classNames,r=void 0===t?{}:t,i=ey(e,["classNames"]);return w.default.createElement(rN,eh({classNames:{root:rD("ais-Highlight",r.root),highlighted:rD("ais-Highlight-highlighted",r.highlighted),nonHighlighted:rD("ais-Highlight-nonHighlighted",r.nonHighlighted),separator:rD("ais-Highlight-separator",r.separator)}},i))}function rH(e){var t=e.hit,r=e.attribute,i=e.highlightedTagName,a=e.nonHighlightedTagName,n=e.separator,o=ey(e,["hit","attribute","highlightedTagName","nonHighlightedTagName","separator"]),s=tI(t._highlightResult,r)||[],l=(Array.isArray(s)?s:[s]).map(function(e){return tq(tL(e.value||""))});return w.default.createElement(rB,ef(eh({},o),{parts:l,highlightedTagName:i,nonHighlightedTagName:a,separator:n}))}let rM={"& mark":{bg:"dsOrange.50",color:"inherit"}},rU=(0,w.memo)(function({hit:e,normalizedType:i,isActive:a,onActivate:o,onOpen:s}){let{icon:l}=rO[i]??rA,d=rW(i)?[e.version,e.fileType,e.language,e.attribute1,e.attribute2].filter(e=>!!e):[],u=d.length>0?d.join(" · "):e.category;return(0,t.jsx)(c.Link,{href:e.url||"#",display:"block",borderLeftWidth:"2px",borderLeftColor:a?"dsOrange.500":"transparent",borderBottomWidth:"1px",borderBottomColor:"border.subtle",bg:a?"bg.subtle":"transparent",color:"fg",textDecoration:"none",_hover:{bg:"bg.subtle",textDecoration:"none"},transition:"background-color 0.15s, border-color 0.15s",onClick:t=>s(e,t),onMouseMove:()=>o(e),"aria-current":a?"true":void 0,children:(0,t.jsxs)(n.Flex,{align:"center",gap:3,ps:3,pe:4,py:2.5,children:[(0,t.jsx)(Q.Icon,{size:"sm",flexShrink:0,color:a?"dsOrange.500":"fg.subtle",children:(0,t.jsx)(l,{})}),(0,t.jsxs)(r.Box,{flex:"1",minWidth:"0",children:[(0,t.jsx)(S.Text,{textStyle:"sm",fontWeight:"medium",truncate:!0,css:rM,children:(0,t.jsx)(rH,{attribute:"title",hit:e})}),u&&(0,t.jsx)(S.Text,{textStyle:"xs",color:"fg.muted",truncate:!0,fontFamily:d.length>0?"mono":void 0,children:u})]})]})})}),rV=(0,w.memo)(function({labelKey:e,count:r}){let i=(0,F.useTranslations)();return(0,t.jsxs)(n.Flex,{align:"baseline",gap:2,px:3,py:2,bg:"bg.muted",borderBottomWidth:"1px",borderColor:"border.subtle",position:"sticky",top:"0",zIndex:1,children:[(0,t.jsx)(S.Text,{fontFamily:"heading",textStyle:"xs",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"widest",color:"fg.muted",children:i(e)}),(0,t.jsx)(S.Text,{fontFamily:"mono",textStyle:"2xs",color:"fg.subtle",children:r})]})}),r$=(0,w.memo)(function({groups:e,activeHit:i,onActivate:a,onOpen:n}){let o=(0,w.useRef)(null),s=i?.objectID;return(0,w.useEffect)(()=>{o.current?.scrollIntoView({block:"nearest"})},[s]),(0,t.jsx)(r.Box,{height:"100%",overflowY:"auto",children:e.map(e=>(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(rV,{labelKey:(rO[e.type]??rA).labelKey,count:e.hits.length}),e.hits.map(i=>(0,t.jsx)(r.Box,{ref:i.objectID===s?o:void 0,scrollMarginTop:"2.25rem",children:(0,t.jsx)(rU,{hit:i,normalizedType:e.type,isActive:i.objectID===s,onActivate:a,onOpen:n})},i.objectID))]},e.type))})}),rq=(0,w.memo)(function(){return(0,t.jsx)(r.Box,{children:[0,1,2].map(e=>(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(r.Box,{px:3,py:2,bg:"bg.muted",children:(0,t.jsx)(rL.Skeleton,{height:"3",width:"24"})}),[0,1,2].map(e=>(0,t.jsx)(r.Box,{ps:5,pe:4,py:2.5,children:(0,t.jsx)(rL.SkeletonText,{noOfLines:2,gap:2})},e))]},e))})});var rQ=e.i(992398);let rG=({children:e})=>(0,t.jsx)(S.Text,{fontFamily:"heading",textStyle:"xs",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"widest",color:"dsOrange.600",mb:2,children:e}),rK=({label:e,value:r})=>(0,t.jsxs)(n.Flex,{gap:4,align:"baseline",children:[(0,t.jsx)(S.Text,{fontFamily:"heading",textStyle:"xs",textTransform:"uppercase",letterSpacing:"wider",color:"fg.muted",flex:"0 0 8rem",children:e}),(0,t.jsx)(S.Text,{fontFamily:"mono",textStyle:"sm",children:r})]}),rX=(0,w.memo)(function({hit:e,normalizedType:i}){let a=(0,F.useTranslations)(),l=e.image?.url||e.imageUrl,d=rW(i),u=e.description||e.content,p=[e.attribute1,e.attribute2].filter(
3Boolean);return(0,t.jsxs)(r.Box,{p:6,children:[e.category&&!d&&(0,t.jsx)(rG,{children:e.category}),(0,t.jsx)(rQ.Heading,{as:"h2",textStyle:"2xl",children:e.title}),e.subtitle&&(0,t.jsx)(S.Text,{textStyle:"md",color:"fg.muted",mt:1,children:e.subtitle}),l&&(0,t.jsx)(r.Box,{borderRadius:"l2",overflow:"hidden",mt:5,maxWidth:"20rem",children:(0,t.jsx)(o.Image,{src:l,alt:e.image?.alt||e.title,width:"100%",objectFit:"cover"})}),u&&(0,t.jsx)(S.Text,{textStyle:"sm",color:"fg.muted",mt:5,lineClamp:4,children:u}),d&&(0,t.jsxs)(n.Flex,{direction:"column",gap:2,mt:5,children:[e.version&&(0,t.jsx)(rK,{label:a("Version"),value:e.version}),e.fileType&&(0,t.jsx)(rK,{label:a("FileType"),value:e.fileType}),e.language&&(0,t.jsx)(rK,{label:a("Search.FileLanguage"),value:e.language}),p.length>0&&(0,t.jsx)(S.Text,{fontFamily:"mono",textStyle:"sm",color:"fg.muted",children:p.join(" · ")})]}),d?e.externalUrl&&(0,t.jsx)(s.Button,{colorPalette:"orange",mt:6,asChild:!0,children:(0,t.jsx)(c.Link,{href:e.externalUrl,target:"_blank",rel:"noopener noreferrer",children:a("Search.DownloadFile")})}):(0,t.jsx)(s.Button,{colorPalette:"orange",mt:6,asChild:!0,children:(0,t.jsx)(c.Link,{href:e.url||"#",children:a(i.startsWith("techspec")?"Search.ViewTechSpecs":"Search.ViewPage")})})]})}),rY=(0,w.memo)(function(){return(0,t.jsxs)(r.Box,{p:6,children:[(0,t.jsx)(rL.Skeleton,{height:"3",width:"20",mb:4}),(0,t.jsx)(rL.Skeleton,{height:"7",width:"60%",mb:5}),(0,t.jsx)(rL.Skeleton,{height:"40",maxWidth:"20rem",mb:5}),(0,t.jsx)(rL.SkeletonText,{noOfLines:4,gap:3})]})}),rJ={"@media (prefers-reduced-motion: reduce)":{animationDuration:"0ms !important"}},rZ=({list:e,preview:r,footer:i})=>(0,t.jsxs)(en.Grid,{templateColumns:{base:"1fr",md:"1fr 1fr"},templateRows:"minmax(0, 1fr) auto",height:"min(60vh, 34rem)",borderTopWidth:"1px",borderColor:"border.subtle",children:[(0,t.jsx)(eo.GridItem,{borderRightWidth:{md:"1px"},borderColor:"border.subtle",minHeight:"0",overflow:"hidden",children:e}),(0,t.jsx)(eo.GridItem,{bg:"bg.subtle",overflowY:"auto",minHeight:"0",hideBelow:"md",children:r}),(0,t.jsx)(eo.GridItem,{colSpan:{base:1,md:2},children:i})]}),r0=({keys:e,label:r})=>(0,t.jsxs)(n.Flex,{align:"center",gap:1.5,children:[e.map(e=>(0,t.jsx)(eu,{size:"sm",children:e},e)),(0,t.jsx)(S.Text,{textStyle:"xs",color:"fg.muted",children:r})]}),r1=()=>{let e=(0,F.useTranslations)();return(0,t.jsxs)(n.Flex,{borderTopWidth:"1px",borderColor:"border.subtle",px:4,py:2,gap:5,justify:"flex-end",hideBelow:"md",children:[(0,t.jsx)(r0,{keys:["↑","↓"],label:e("Search.HintNavigate")}),(0,t.jsx)(r0,{keys:["↵"],label:e("Search.HintOpen")}),(0,t.jsx)(r0,{keys:["esc"],label:e("Search.HintClose")})]})};function r2({onClose:e}){let i=(0,F.useTranslations)(),a=(0,N.useRouter)(),o=(0,w.useRef)(null),{query:s,refine:l}=eY(rs,void 0,void 0),{status:c}=function(){var e,t,r,i,a,n,o,s,l,c,d,u,p,h,f,g,m,v,b=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).catchError,y=eH(),x=(e=eH(),r=(t=eN()).getIndexId(),a=(i=eT((0,w.useState)(function(){return e.getUiState()}),2))[0],n=i[1],o=a[r],l=(s=eT((0,w.useState)(function(){return e.renderState}),2))[0],c=s[1],d=l[r]||{},u=(0,w.useCallback)(function(t){e.setUiState(t)},[e]),p=(0,w.useCallback)(function(e){t.setIndexUiState(e)},[t]),(0,w.useEffect)(function(){function t(){n(e.getUiState()),c(e.renderState)}return e.addListener("render",t),t(),function(){e.removeListener("render",t)}},[e]),{uiState:a,setUiState:u,indexUiState:o,setIndexUiState:p,renderState:l,indexRenderState:d}),S=x.uiState,k=x.setUiState,_=x.indexUiState,R=x.setIndexUiState,j=x.renderState,C=x.indexRenderState,P=(h=eH(),f=eN(),m=(g=eT((0,w.useState)(function(){var e=eW(f);return{results:e.results,scopedResults:e.scopedResults}}),2))[0],v=g[1],(0,w.useEffect)(function(){function e(){var e=f.getResults();if(null!==e)v({results:e,scopedResults:f.getScopedResults()});else if(0===h.mainIndex.getIndexName().length){var t=h.mainIndex.getWidgets().find(tl);t&&v({results:eW(f).results,scopedResults:t.getScopedResults()})}}return h.addListener("render",e),e(),function(){h.removeListener("render",e)}},[h,f]),m),I=P.results,z=P.scopedResults,T=(0,w.useCallback)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return y.use.apply(y,e0(t)),function(){y.unuse.apply(y,e0(t))}},[y]),E=(0,w.useCallback)(function(){y.refresh()},[y]);return eG(function(){if(b){var e=function(){};return y.addListener("error",e),function(){return y.removeListener("error",e)}}return function(){}},[y,b]),{results:I,scopedResults:z,uiState:S,setUiState:k,indexUiState:_,setIndexUiState:R,renderState:j,indexRenderState:C,addMiddlewares:T,refresh:E,status:y.status,error:y.error}}(),{hits:d}=eY(ra,void 0,void 0),[u,p]=(0,w.useState)(null);(0,w.useEffect)(()=>{o.current?.focus()},[]);let h=(0,w.useMemo)(()=>{let e=new Map;for(let t of d){let r=rF(t.contentType),i=e.get(r);i?i.push(t):e.set(r,[t])}return[...e].map(([e,t])=>({type:e,hits:t}))},[d]),f=(0,w.useMemo)(()=>h.flatMap(e=>e.hits),[h]),g=f.find(e=>e.objectID===u)??f[0]??null,m=(0,w.useCallback)((t,r)=>{if(t.url){if(r&&(r.ctrlKey||r.metaKey||1===r.button))return void window.open(t.url,"_blank");e(),a.push(t.url)}},[e,a]),v=(0,w.useCallback)((e,t)=>{t.preventDefault(),m(e,t)},[m]),b=(0,w.useCallback)(e=>{p(e.objectID)},[]),y=(0,w.useCallback)(e=>{if(0===f.length)return;let t=(f.findIndex(e=>e.objectID===g?.objectID)+e+f.length)%f.length;p(f[t].objectID)},[g?.objectID,f]),x=s.trim().length<3,k="loading"===c||"stalled"===c,_=g?rF(g.contentType):"";return(0,t.jsxs)(r.Box,{onKeyDown:e=>{"ArrowDown"===e.key?(e.preventDefault(),y(1)):"ArrowUp"===e.key?(e.preventDefault(),y(-1)):"Enter"===e.key&&g&&(e.preventDefault(),m(g))},children:[(0,t.jsxs)(n.Flex,{align:"center",gap:2,p:3,children:[(0,t.jsx)(el.InputGroup,{flex:"1",startElement:(0,t.jsx)($.IoSearch,{}),endElement:s?(0,t.jsx)(ei.CloseButton,{size:"xs",me:"-2","aria-label":i("Close"),onClick:()=>{l(""),o.current?.focus()}}):(0,t.jsx)(eu,{size:"sm",hideBelow:"sm",children:"⌘K"}),children:(0,t.jsx)(es.Input,{ref:o,value:s,onChange:e=>l(e.target.value),placeholder:i("SearchDS"),size:"lg",variant:"subtle",autoComplete:"off"})}),(0,t.jsx)(ea.Dialog.CloseTrigger,{asChild:!0,position:"static",children:(0,t.jsx)(ei.CloseButton,{size:"sm",variant:"ghost","aria-label":i("Close")})})]}),!x&&(k?(0,t.jsx)(rZ,{list:(0,t.jsx)(rq,{}),preview:(0,t.jsx)(rY,{}),footer:(0,t.jsx)(r1,{})}):0===f.length?(0,t.jsx)(r.Box,{borderTopWidth:"1px",borderColor:"border.subtle",px:4,py:10,textAlign:"center",children:(0,t.jsx)(S.Text,{textStyle:"sm",color:"fg.muted",children:i("Search.NoResults")})}):(0,t.jsx)(rZ,{list:(0,t.jsx)(r$,{groups:h,activeHit:g,onActivate:b,onOpen:v}),preview:g&&(0,t.jsx)(rX,{hit:g,normalizedType:_}),footer:(0,t.jsx)(r1,{})})),(x||!k&&0===f.length)&&(0,t.jsx)(r1,{})]})}function r5({locale:e="en"}={}){let[r,i]=(0,w.useState)(!1),a=(0,F.useTranslations)(),n=(0,w.useCallback)(()=>i(!1),[]);return(0,w.useEffect)(()=>{let e=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key&&(e.preventDefault(),i(!0))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),(0,t.jsxs)(ea.Dialog.Root,{open:r,onOpenChange:e=>i(e.open),placement:"top",motionPreset:"slide-in-top",lazyMount:!0,unmountOnExit:!0,children:[(0,t.jsx)(ea.Dialog.Trigger,{asChild:!0,children:(0,t.jsx)(s.Button,{size:"sm",variant:"plain",color:"gray.100","aria-label":a("SearchDS"),title:a("SearchDS"),_hover:{bg:"dsBlack.500"},children:(0,t.jsx)($.IoSearch,{})})}),(0,t.jsxs)(p.Portal,{children:[(0,t.jsx)(ea.Dialog.Backdrop,{bg:"blackAlpha.700",css:rJ}),(0,t.jsx)(ea.Dialog.Positioner,{p:4,pt:{base:4,md:"8vh"},children:(0,t.jsxs)(ea.Dialog.Content,{maxWidth:"68rem",width:"full",overflow:"hidden",css:rJ,children:[(0,t.jsx)(ea.Dialog.Title,{srOnly:!0,children:a("SearchDS")}),(0,t.jsxs)(t9,{searchClient:rE,indexName:`dewesoft-site-${e}`,future:{preserveSharedStateOnUnmount:!0},children:[(0,t.jsx)(eJ,{hitsPerPage:50,distinct:!0,attributesToSnippet:["description:50"],highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"}),(0,t.jsx)(r2,{onClose:n})]})]})})]})]})}var r3=e.i(661730),r4=e.i(161249),r6=e.i(210329),r8=e.i(404809);function r7(){let e=(0,F.useTranslations)(),i=(0,N.usePathname)(),a=(0,N.useRouter)(),n=(0,k.useL
3ocale)(),{isLoaded:o,userId:l}=(0,r6.useAuth)(),{signOut:c}=(0,r8.useClerk)(),u=n&&"en"!==n?`/${n}`:"",p=`${u}/account/sign-in`,h=`${u}/account/profile`,f=u||"/",g=i?.startsWith(`${u}/account`),m=i&&!g?`${p}?redirect_url=${encodeURIComponent(i)}`:p,v=g?f:i||f;return o?l?(0,t.jsx)(r.Box,{px:2,display:"flex",alignItems:"center",children:(0,t.jsx)(r4.UserButton,{userProfileUrl:h,userProfileMode:"navigation",appearance:{elements:{userButtonPopoverActionButton__manageAccount:{display:"none"},userButtonPopoverActionButton__signOut:{display:"none"}}},children:(0,t.jsxs)(r4.UserButton.MenuItems,{children:[(0,t.jsx)(r4.UserButton.Action,{label:e("Auth.EditProfile"),labelIcon:(0,t.jsx)($.IoPersonOutline,{}),onClick:()=>a.push(h)}),(0,t.jsx)(r4.UserButton.Action,{label:"Dewesoft Account",labelIcon:(0,t.jsx)($.IoBusinessOutline,{}),onClick:()=>window.open("https://account.dewesoft.com/we-are-dewesoft","_blank","noopener,noreferrer")}),(0,t.jsx)(r4.UserButton.Action,{label:"Dewesoft Configurator",labelIcon:(0,t.jsx)($.IoConstructOutline,{}),onClick:()=>window.open("https://configurator.dewesoft.com","_blank","noopener,noreferrer")}),(0,t.jsx)(r4.UserButton.Action,{label:e("Auth.SignOut"),labelIcon:(0,t.jsx)(r3.MdLogout,{}),onClick:()=>c(()=>window.location.assign(v))})]})})}):(0,t.jsx)(s.Button,{size:"sm",variant:"plain",color:"gray.100","aria-label":e("Auth.SignIn"),title:e("Auth.SignIn"),_hover:{bg:"dsBlack.500"},asChild:!0,children:(0,t.jsx)(d.default,{href:m,title:e("Auth.SignIn"),"aria-label":e("Auth.SignIn"),children:(0,t.jsx)($.IoLockClosedOutline,{})})}):(0,t.jsx)(r.Box,{px:2,display:"flex",alignItems:"center",children:(0,t.jsx)(rL.SkeletonCircle,{size:"8"})})}e.s(["default",0,function({headerMenu:e,contactPage:u,locale:p}){let g=(0,w.useRef)(null),m=(0,F.useTranslations)(),b=null;u?.__typename&&u.slug&&(b=(0,v.generateUrlUsingContentType)(u,p));let[y,x]=(0,w.useState)(!1),S=(0,w.useRef)(!1),k=(0,N.usePathname)();return(0,w.useEffect)(()=>{S.current=y},[y]),(0,w.useEffect)(()=>{S.current&&(x(!1),window.scrollTo(0,0))},[k]),(0,t.jsx)(r.Box,{ref:g,as:"nav",bg:"dsBlack.600",children:(0,t.jsxs)(a.CollapsibleRoot,{open:y,onOpenChange:e=>x(e.open),children:[(0,t.jsx)(i.Container,{maxW:"9xl",children:(0,t.jsxs)(n.Flex,{align:"center",justify:"space-between",h:"55px",overflow:"hidden",children:[(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:`/${"en"!==p?p:""}`,title:m("Home"),children:(0,t.jsx)(o.Image,{src:"/img/dewesoft-logo.svg",alt:"Dewesoft Logo",height:"20px"})})}),(0,t.jsx)(D,{headerMenu:e||[],locale:p,menuRef:g}),(0,t.jsxs)(n.Flex,{align:"center",children:[b&&(0,t.jsx)(s.Button,{size:"sm",variant:"plain",color:"gray.100","aria-label":m("ContactUs"),title:m("ContactUs"),_hover:{bg:"dsBlack.500"},asChild:!0,children:(0,t.jsx)(c.Link,{variant:"plain",color:"white",asChild:!0,children:(0,t.jsx)(d.default,{href:b,children:(0,t.jsx)($.IoMailOutline,{})})})}),(0,t.jsx)(r5,{locale:p}),(0,t.jsx)(r7,{}),(0,t.jsx)(V,{}),(0,t.jsx)(Y,{})]})]})}),(0,t.jsx)(a.CollapsibleContent,{hideFrom:"lg",maxW:"full",children:(0,t.jsx)(r.Box,{color:"white",children:(0,t.jsx)(l.Accordion.Root,{collapsible:!0,multiple:!0,borderTop:"1px solid",borderColor:"blackAlpha.500",children:e.map(e=>(0,t.jsxs)(l.Accordion.Item,{value:e.name,borderColor:"blackAlpha.500",children:[(0,t.jsxs)(l.Accordion.ItemTrigger,{display:"flex",px:5,py:3,justifyContent:"space-between",children:[e.name,(0,t.jsx)(l.Accordion.ItemIndicator,{children:(0,t.jsx)(f.FiChevronDown,{})})]}),(0,t.jsx)(l.Accordion.ItemContent,{pr:10,children:(0,t.jsxs)(l.Accordion.ItemBody,{children:[e.dropdownContent[0]&&(e=>{if(!e)return null;switch(e.__typename){case"MenuDropdownProductRecord":return(0,t.jsx)(J,{...e});case"MenuDropdownApplicationRecord":return(0,t.jsx)(Z,{...e});case"MenuDropdownSupportRecord":return(0,t.jsx)(ee,{...e});case"MenuDropdownAboutRecord":return(0,t.jsx)(et,{...e});case"MenuDropdownTrainingRecord":return(0,t.jsx)(er,{...e})}})(e.dropdownContent[0]),e.internalLink&&(0,t.jsx)(c.Link,{variant:"plain",color:"white",ml:10,asChild:!0,children:(0,t.jsx)(d.default,{href:(0,v.generateUrlUsingContentType)(e.internalLink,p),title:e.internalLink.title,onClick:()=>{e.internalLink?.slug==="shop"&&(0,h.track)("SHOP",{locale:p,referrer:window.location.pathname,source:"menu"})},children:e.internalLink.title})})]})})]},e.name))})})})]})})}],435494)},431570,(e,t,r)=>{"use strict";
3Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({html:e,height:t=null,width:r=null,children:n,dataNtpc:o=""}){return(0,a.useEffect)(()=>{o&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${o}`}})},[o]),(0,i.jsxs)(i.Fragment,{children:[n,e?(0,i.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":o,dangerouslySetInnerHTML:{__html:e}}):null]})};let i=e.r(137175),a=e.r(709733)},110761,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});let n="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59776,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return d},htmlEscapeJsonString:function(){return c}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,s={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},l=/[&"'<>]/g;function c(e){return e.replace(o,e=>n[e])}function d(e){return e.replace(l,e=>s[e])}},525096,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return x},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return b}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});let n=e.r(481258),o=e.r(744066),s=e.r(137175),l=n._(e.r(665137)),c=o._(e.r(709733)),d=e.r(69448),u=e.r(377947),p=e.r(110761),h=e.r(59776),f=new Map,g=new Set,m=e=>{let{src:t,id:r,onLoad:i=()=>{},onReady:a=null,dangerouslySetInnerHTML:n,children:o="",strategy:s="afterInteractive",onError:c,stylesheets:d}=e,p=r||t;if(p&&g.has(p))return;if(f.has(t)){g.add(p),f.get(t).then(i,c);return}let h=()=>{a&&a(),g.add(p)},m=document.createElement("script"),v=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),i&&i.call(this,t),h()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});n?(m.innerHTML=n.__html||"",h()):o?(m.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",h()):t&&(m.src=t,f.set(t,v)),(0,u.setAttributesFromProps)(m,e),"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),d&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(m)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>m(e))}):m(e)}function b(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function y(e){let{id:t,src:r="",onLoad:i=()=>{},onReady:a=null,strategy:n="afterInteractive",onError:o,stylesheets:u,...f}=e,{updateScripts:v,scripts:b,getIsSsr:y,appDir:x,nonce:S}=(0,c.useContext)(d.HeadManagerContext);S=f.nonce||S;let w=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;w.current||(a&&e&&g.has(e)&&a(),w.current=!0)},[a,t,r]);let k=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!k.current){if("afterInteractive"===n)m(e);else"lazyOnload"===n&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>m(e))}));k.current=!0}},[e,n]),("beforeInteractive"===n||"worker"===n)&&(v?(b[n]=(b[n]||[]).concat([{id:t,src:r,onLoad:i,onReady:a,onError:o,...f,nonce:S}]),v(b)):y&&y()?g.add(t||r):y&&!y()&&m({...e,nonce:S}
3)),x){if(u&&u.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===n)if(!r)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,h.htmlEscapeJsonString)(JSON.stringify([0,{...f,id:t}]))})`}});else return l.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:S,crossOrigin:f.crossOrigin}:{as:"script",nonce:S,crossOrigin:f.crossOrigin}),(0,s.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,h.htmlEscapeJsonString)(JSON.stringify([r,{...f,id:t}]))})`}});"afterInteractive"===n&&r&&l.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:S,crossOrigin:f.crossOrigin}:{as:"script",nonce:S,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let x=y;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},4660,(e,t,r)=>{t.exports=e.r(525096)},160703,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:i="dataLayer",auth:l,preview:c,dataLayer:d,nonce:u}=e;s=i;let p=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&p.searchParams.set("id",t),"dataLayer"!==i&&p.searchParams.set("l",i),l&&p.searchParams.set("gtm_auth",l),c&&(p.searchParams.set("gtm_preview",c),p.searchParams.set("gtm_cookies_win","x")),(0,n.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
4      (function(w,l){
5        w[l]=w[l]||[];
6        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
7        ${d?`w[l].push(${JSON.stringify(d)})`:""}
8      })(window,'${i}');`},nonce:u}),(0,a.jsx)(o.default,{id:"_next-gtm","data-ntpc":"GTM",src:p.href,nonce:u})]})};let a=e.r(137175),n=e.r(709733),o=i(e.r(4660)),s="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||s;window[r]=window[r]||[],window[r].push(e)}},116548,(e,t,r)=>{"use strict";let i;var a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:a="dataLayer",nonce:l}=e;return void 0===i&&(i=a),(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
9          window['${a}'] = window['${a}'] || [];
10          function gtag(){window['${a}'].push(arguments);}
11          gtag('js', new Date());
12
13          gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:l}),(0,n.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},r.sendGAEvent=function(){void 0===i?console.warn("@next/third-parties: GA has not been initialized"):window[i]?window[i].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${i} does not exist`)};let n=e.r(137175),o=e.r(709733),s=a(e.r(4660))},829305,e=>{"use strict";var t=e.i(708863),r=e.i(709733);function i(){return"u">typeof window}function a(){return"production"}function n(){return(i()?window.vam:a())||"production"}function o(){return"production"===n()}function s(){return"development"===n()}function l(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}e.s(["Analytics",0,function(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0},t){var r;if(!i())return;let{beforeSend:n,src:o,dataset:c}=function(e,t){var r,i;let n=e;if(t)try{n={...null==(r=JSON.parse(t))?void 0:r.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=a();return}window.vam=e}(n.mode);
13let o={sdkn:"@vercel/analytics"+(n.framework?`/${n.framework}`:""),sdkv:"2.0.1"};return n.disableAutoTrack&&(o.disableAutoTrack="1"),n.viewEndpoint&&(o.viewEndpoint=l(n.viewEndpoint)),n.eventEndpoint&&(o.eventEndpoint=l(n.eventEndpoint)),n.sessionEndpoint&&(o.sessionEndpoint=l(n.sessionEndpoint)),s()&&!1===n.debug&&(o.debug="false"),n.dsn&&(o.dsn=n.dsn),n.endpoint?o.endpoint=n.endpoint:n.basePath&&(o.endpoint=l(`${n.basePath}/insights`)),{beforeSend:n.beforeSend,src:(i=n).scriptSrc?l(i.scriptSrc):s()?"https://va.vercel-scripts.com/v1/script.debug.js":i.basePath?l(`${i.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:o}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(r=window.va)||r.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${o}"]`))return;let d=document.createElement("script");for(let[e,t]of(d.src=o,Object.entries(c)))d.dataset[e]=t;d.defer=!0,d.onerror=()=>{let e=s()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${o}. ${e}`)},document.head.appendChild(d)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null},"track",0,function(e,t,r){var a,n;if(!i()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(o())console.warn(e);else throw Error(e);return}if(!t){null==(a=window.va)||a.call(window,"event",{name:e,options:r});return}try{let i=function(e,t){if(!e)return;let r=e,i=[];for(let[a,n]of Object.entries(e))"object"==typeof n&&null!==n&&(t.strip?r=function(e,{[e]:t,...r}){return r}(a,r):i.push(a));if(i.length>0&&!t.strip)throw Error(`The following properties are not valid: ${i.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}(t,{strip:o()});null==(n=window.va)||n.call(window,"event",{name:e,data:i,options:r})}catch(e){e instanceof Error&&s()&&console.error(e)}}])},305419,e=>{"use strict";var t=e.i(708863),r=e.i(709733),i=e.i(169334);function a(){return false}function n(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function o(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function s(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!i.current){let r=function(e={},t){var r;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:i,src:n,dataset:s}=function(e,t){var r,i;let n=e;if(t)try{n={...null==(r=JSON.parse(t))?void 0:r.speedInsights,...e}}catch{}let s={sdkn:"@vercel/speed-insights"+(n.framework?`/${n.framework}`:""),sdkv:"2.0.0"};return n.sampleRate&&(s.sampleRate=n.sampleRate.toString()),n.route&&(s.route=n.route),a()&&!1===n.debug&&(s.debug="false"),n.dsn&&(s.dsn=n.dsn),n.endpoint?s.endpoint=o(n.endpoint):n.basePath&&(s.endpoint=o(`${n.basePath}/speed-insights/vitals`)),{src:(i=n).scriptSrc?o(i.scriptSrc):a()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":i.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":i.basePath?o(`${i.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:n.beforeSend,dataset:s}}(e,t);if(document.head.querySelector(`script[src*="${n}"]`))return null;
13i&&(null==(r=window.si)||r.call(window,"beforeSend",i));let l=document.createElement("script");for(let[e,t]of(l.src=n,l.defer=!0,Object.entries(s)))l.dataset[e]=t;return l.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${n}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(l),{setRoute:e=>{l.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());r&&(i.current=r.setRoute)}},[e]),(0,r.useEffect)(()=>{i.current&&e.route&&i.current(e.route)},[e.route]),null}function l(e){let a=(()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)()||new URLSearchParams,r=(0,i.usePathname)();if(!e)return null;let a=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!a)return r;let o=r;try{let e=Object.entries(a);for(let[t,r]of e)if(!Array.isArray(r)){let e=n(r);e.test(o)&&(o=o.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=n(r.join("/"));e.test(o)&&(o=o.replace(e,`/[...${t}]`))}return o}catch{return r}})();return r.default.createElement(s,{route:a,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
13(),configString:function(){if(void 0!==t.default&&void 0!==t.default.env)return'{"analytics":{"scriptSrc":"0432e557ccb12789/script.js","viewEndpoint":"0432e557ccb12789/view","eventEndpoint":"0432e557ccb12789/event","sessionEndpoint":"0432e557ccb12789/session"},"speedInsights":{"scriptSrc":"4999c5804871d25d/script.js","endpoint":"4999c5804871d25d/vitals"}}'}()})}e.s(["SpeedInsights",0,function(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(l,{...e}))}])},702945,e=>{"use strict";var t=e.i(137175),r=e.i(709733),i=e.i(169334),a=e.i(470796);e.s(["default",0,function({children:e}){let n=(0,i.useParams)(),{initialize:o,currentLocale:s}=(0,a.useLanguageStore)(),l=n.locale||"en";return(0,r.useEffect)(()=>{l&&l!==s&&o(l)},[l,s,o]),(0,t.jsx)(t.Fragment,{children:e})}])},825702,e=>{"use strict";let t;var r=e.i(709733);let i="opt-in",a="opt-out",n="show--consent",o="show--preferences",s="disable--interaction",l="data-category",c="button",d="aria-hidden",u="btn-group",p="click",h="data-role",f="consentModal",g="preferencesModal",m=new class{constructor(){this.t={mode:i,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",secure:!0,sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={ae:{},se:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}},v=(e,t)=>-1!==e.indexOf(t),b=e=>!!e&&"object"==typeof e&&!Array.isArray(e),y=e=>"function"==typeof e,x=e=>Object.keys(e),S=e=>Array.from(new Set(e)),w=e=>e.preventDefault(),k=e=>{let t=document.createElement(e);return e===c&&(t.type=e),t},_=(e,t,r)=>e.setAttribute(t,r),R=(e,t,r)=>{e.removeAttribute(r?"data-"+t:t)},j=(e,t,r)=>e.getAttribute(r?"data-"+t:t),C=(e,t)=>e.appendChild(t),P=(e,t)=>{let r;return r="cm__"+t,e.classList.add(r)},I=(e,t)=>{let r;return r="pm__"+t,e.classList.add(r)},z=e=>{if("object"!=typeof e)return e;if(e instanceof Date)return new Date(e.getTime());let t=Array.isArray(e)?[]:{};for(let r in e){let i=e[r];t[r]=z(i)}return t},T=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),E=(e,t,r,i)=>{e.addEventListener(t,r),i&&m.o.m.push({pe:e,ge:t,me:r})},O=()=>{let e=m.t.cookie.expiresAfterDays;return y(e)?e(m.o.F):e},A=(e,t)=>{let r=e||[],i=t||[];return r.filter(e=>!v(i,e)).concat(i.filter(e=>!v(r,e)))},F=e=>{m.o.R=S(e),m.o.F=(()=>{let e="custom",{R:t,O:r,B:i}=m.o,a=t.length;return a===r.length?e="all":a===i.length&&(e="necessary"),e})()},W=(e,t,r,i)=>{let a="accept-",{show:n,showPreferences:o,hide:s,hidePreferences:l,acceptCategory:c}=t,d=e||document,u=e=>{let t;return t=`[data-cc="${e}"]`,d.querySelectorAll(t)},h=(e,t)=>{w(e),c(t),l(),s()},f=u("show-preferencesModal"),g=u("show-consentModal"),v=u(a+"all"),b=u(a+"necessary"),y=u(a+"custom"),x=m.t.lazyHtmlGeneration;for(let e of f)_(e,"aria-haspopup","dialog"),E(e,p,e=>{w(e),o()}),x&&(E(e,"mouseenter",e=>{w(e),m.o.N||r(t,i)},!0),E(e,"focus",()=>{m.o.N||r(t,i)}));for(let e of g)_(e,"aria-haspopup","dialog"),E(e,p,e=>{w(e),n(!0)},!0);for(let e of v)E(e,p,e=>{h(e,"all")},!0);for(let e of y)E(e,p,e=>{h(e)},!0);for(let e of b)E(e,p,e=>{h(e,[])},!0)},L=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},D=(e,t)=>{let r=i=>{i.target.removeEventListener("transitionend",r),"opacity"===i.propertyName&&"1"===getComputedStyle(e).opacity&&L(1===t?m.ne.be:m.ne.ve)};E(e,"transitionend",r)},N=e=>{let r;clearTimeout(t),e?(r=m.ne.ye,r.classList.add(s)):t=setTimeout(()=>{let e;e=m.ne.ye,e.classList.remove(s)},500)},B=["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5","M 3.572 13.406 L 8.281 18.115 L 20.428 5.885","M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "],H=(e=0,t=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${t}"><path d="${B[e]}"/></svg>`,M=e=>{let t,r=m.ne,i=m.o;t=e===r.he,E(i.i.disablePageInteraction?r.ye:t?r.Ce:r.ye,"keydown",r=>{if("Tab"!==r.key||!(t?i.k&&!i.A:i.A))return;let a=document.activeElement,n=t?i.q:i.K;0!==n.length&&(r.shiftKey?a!==n[0]&&e.contains(a)||(w(r),L(n[1])):a!==n[1]&&e.contains(a)||(w(r),L(n[0])))},!0)},U=["[href]",c,"input","details","[tabindex]"].map(e=>e+':not([tabindex="-1"])').join(","),V=e=>{let{o:t,ne:r}=m,i=(e,t)=>{let r=e.querySelectorAll(U);t[0]=r[0],t[1]=r[r.length-1]};1===e&&t.T&&i(r.he,t.q),2===e&&t.N&&i(r.we,t.K)},$=(e,t,r)=>{let{de:i,le:a,ie:n,_e:o,ue:s,fe:l}=m.ce,c=m.re;if(t){let i={modalName:t};return e===c.fe?y(l)&&l(i):e===c._e?y(o)&&o(i):(i.modal=r,y(s)&&s(i)),T(e,i)}let d={cookie:m.o.p};e===c.ie?y(n)&&n(z(d)):e===c.le?y(a)&&a(z(d)):(d.changedCategories=m.o.L,d.changedServices=m.o.ee,y(i)&&i(z(d))),T(e,z(d))},q=(e,t)=>
13{try{return e()}catch(e){return t||console.warn("CookieConsent:",e),!1}},Q=e=>{let{Y:t,ee:r,O:i,X:a,oe:n,p:o,L:s}=m.o;for(let e of i)for(let i of r[e]||t[e]||[]){let r=a[e][i];if(!r)continue;let{onAccept:n,onReject:o}=r;!r.Se&&v(t[e],i)?(r.Se=!0,y(n)&&n()):r.Se&&!v(t[e],i)&&(r.Se=!1,y(o)&&o())}if(!m.t.manageScriptTags)return;let c=e||o.categories||[],d=(e,i)=>{if(i>=e.length)return;let a=n[i];if(a.xe)return d(e,i+1);let o=a.Me,u=a.De,p=a.Te,h=v(c,u),f=!!p&&v(t[u],p);if(!p&&!a.ke&&h||!p&&a.ke&&!h&&v(s,u)||p&&!a.ke&&f||p&&a.ke&&!f&&v(r[u]||[],p)){a.xe=!0;let t=j(o,"type",!0);R(o,"type",!!t),R(o,l);let r=j(o,"src",!0);r&&R(o,"src",!0);let n=k("script");for(let{nodeName:e}of(n.textContent=o.innerHTML,o.attributes))_(n,e,o[e]||j(o,e));t&&(n.type=t),r?n.src=r:r=o.src;let s=!!r&&(!t||["text/javascript","module"].includes(t));if(s&&(n.onload=n.onerror=()=>{d(e,++i)}),o.replaceWith(n),s)return}d(e,++i)};d(n,0)},G="bottom",K="left",X="center",Y="right",J="inline",Z="wide",ee="pm--",et=["middle","top",G],er=[K,X,Y],ei={box:{Ee:[Z,J],Ae:et,Ne:er,He:G,Ve:Y},cloud:{Ee:[J],Ae:et,Ne:er,He:G,Ve:X},bar:{Ee:[J],Ae:et.slice(1),Ne:[],He:G,Ve:""}},ea={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[Z],Ae:[],Ne:[K,Y],He:"",Ve:K}},en=e=>{let t=m.o.i.guiOptions,r=t&&t.consentModal,i=t&&t.preferencesModal;0===e&&eo(m.ne.he,ei,r,"cm--","box","cm"),1===e&&eo(m.ne.we,ea,i,ee,"box","pm")},eo=(e,t,r,i,a,n)=>{e.className=n;let o=r&&r.layout,s=r&&r.position,l=r&&r.flipButtons,c=!r||!1!==r.equalWeightButtons,d=o&&o.split(" ")||[],u=d[0],p=d[1],h=u in t?u:a,f=t[h],g=v(f.Ee,p)&&p,b=s&&s.split(" ")||[],y=b[0],x=i===ee?b[0]:b[1],S=v(f.Ae,y)?y:f.He,w=v(f.Ne,x)?x:f.Ve,k=t=>{t&&e.classList.add(i+t)};k(h),k(g),k(S),k(w),l&&k("flip");let _=n+"__btn--secondary";if("cm"===n){let{Ie:e,Le:t}=m.ne;e&&(c?e.classList.remove(_):e.classList.add(_)),t&&(c?t.classList.remove(_):t.classList.add(_))}else{let{je:e}=m.ne;e&&(c?e.classList.remove(_):e.classList.add(_))}},es=(e,t)=>{let r,i=m.o,a=m.ne,{hide:n,hidePreferences:o,acceptCategory:s}=e,l=e=>{s(e),o(),n()},f=i.u&&i.u.preferencesModal;if(!f)return;let v=f.title,y=f.closeIconLabel,S=f.acceptAllBtn,w=f.acceptNecessaryBtn,R=f.savePreferencesBtn,j=f.sections||[],P=S||w||R;if(a.Fe)a.Pe=k("div"),I(a.Pe,"body");else{let e,t;a.Fe=k("div"),e=a.Fe,e.classList.add("pm-wrapper");let r=k("div");r.classList.add("pm-overlay"),C(a.Fe,r),E(r,p,o),a.we=k("div"),t=a.we,t.classList.add("pm"),_(a.we,"role","dialog"),_(a.we,d,!0),_(a.we,"aria-modal",!0),_(a.we,"aria-labelledby","pm__title"),E(a.ye,"keydown",e=>{27===e.keyCode&&o()},!0),a.Oe=k("div"),I(a.Oe,"header"),a.Re=k("h2"),I(a.Re,"title"),a.Re.id="pm__title",a.Be=k(c),I(a.Be,"close-btn"),_(a.Be,"aria-label",f.closeIconLabel||""),E(a.Be,p,o),a.$e=k("span"),a.$e.innerHTML=H(),C(a.Be,a.$e),a.Ge=k("div"),I(a.Ge,"body"),a.Je=k("div"),I(a.Je,"footer"),k("div").classList.add("btns");var z=k("div"),T=k("div");I(z,u),I(T,u),C(a.Je,z),C(a.Je,T),C(a.Oe,a.Re),C(a.Oe,a.Be),a.ve=k("div"),_(a.ve,"tabIndex",-1),C(a.we,a.ve),C(a.we,a.Oe),C(a.we,a.Ge),P&&C(a.we,a.Je),C(a.Fe,a.we)}v&&(a.Re.innerHTML=v,y&&_(a.Be,"aria-label",y)),j.forEach((e,t)=>{let n=e.title,o=e.description,s=e.linkedCategory,l=s&&i.P[s],u=e.cookieTable,h=u&&u.body,g=u&&u.caption,m=h&&h.length>0,v=!!l,y=v&&i.X[s],S=b(y)&&x(y)||[],w=v&&(!!o||!!m||x(y).length>0);var R,j,P=k("div");if(I(P,"section"),w||o){var z=k("div");I(z,"section-desc-wrapper")}let T=S.length;if(w&&T>0){let e=k("div");for(let t of(I(e,"section-services"),S)){let r=y[t],i=r&&r.label||t,a=k("div"),n=k("div"),o=k("div"),c=k("div");I(a,"service"),I(c,"service-title"),I(n,"service-header"),I(o,"service-icon");let d=el(i,t,l,!0,s);c.innerHTML=i,C(n,o),C(n,c),C(a,n),C(a,d),C(e,a)}C(z,e)}if(n){var O=k("div"),A=k(v?c:"div");if(I(O,"section-title-wrapper"),I(A,"section-title"),A.innerHTML=n,C(O,A),v){let e=k("span");e.innerHTML=H(2,3.5),I(e,"section-arrow"),C(O,e),P.className+="--toggle";let t=el(n,s,l),r=f.serviceCounterLabel;if(T>0&&"string"==typeof r){let e=k("span");I(e,"badge"),I(e,"service-counter"),_(e,d,!0),_(e,"data-servicecounter",T),r&&_(e,"data-counterlabel",r=(r=r.split("|")).length>1&&T>
131?r[1]:r[0]),e.innerHTML=T+(r?" "+r:""),C(A,e)}if(w){I(P,"section--expandable");var F=s+"-desc";_(A,"aria-expanded",!1),_(A,"aria-controls",F)}C(O,t)}else _(A,"role","heading"),_(A,"aria-level","3");C(P,O)}if(o){var W=k("p");I(W,"section-desc"),W.innerHTML=o,C(z,W)}if(w&&(_(z,d,"true"),z.id=F,R=z,j=A,E(A,p,()=>{P.classList.contains("is-expanded")?(P.classList.remove("is-expanded"),_(j,"aria-expanded","false"),_(R,d,"true")):(P.classList.add("is-expanded"),_(j,"aria-expanded","true"),_(R,d,"false"))}),m)){let e=k("table"),r=k("thead"),i=k("tbody");if(g){let t=k("caption");I(t,"table-caption"),t.innerHTML=g,e.appendChild(t)}I(e,"section-table"),I(r,"table-head"),I(i,"table-body");let n=u.headers,o=x(n),s=a.Ue.createDocumentFragment(),l=k("tr");for(let e of o){let r=n[e],i=k("th");i.id="cc__row-"+r+t,_(i,"scope","col"),I(i,"table-th"),i.innerHTML=r,C(s,i)}C(l,s),C(r,l);let c=a.Ue.createDocumentFragment();for(let e of h){let r=k("tr");for(let i of(I(r,"table-tr"),o)){let a=n[i],o=e[i],s=k("td"),l=k("div");I(s,"table-td"),_(s,"data-column",a),_(s,"headers","cc__row-"+a+t),l.insertAdjacentHTML("beforeend",o),C(s,l),C(r,s)}C(c,r)}C(i,c),C(e,r),C(e,i),C(z,e)}(w||o)&&C(P,z);let L=a.Pe||a.Ge;v?(r||I(r=k("div"),"section-toggles"),r.appendChild(P)):r=null,C(L,r||P)}),S&&(a.ze||(a.ze=k(c),I(a.ze,"btn"),_(a.ze,h,"all"),C(z,a.ze),E(a.ze,p,()=>l("all"))),a.ze.innerHTML=S),w&&(a.je||(a.je=k(c),I(a.je,"btn"),_(a.je,h,"necessary"),C(z,a.je),E(a.je,p,()=>l([]))),a.je.innerHTML=w),R&&(a.qe||(a.qe=k(c),I(a.qe,"btn"),I(a.qe,"btn--secondary"),_(a.qe,h,"save"),C(T,a.qe),E(a.qe,p,()=>l())),a.qe.innerHTML=R),a.Pe&&(a.we.replaceChild(a.Pe,a.Ge),a.Ge=a.Pe),en(1),i.N||(i.N=!0,$(m.re.ue,g,a.we),t(e),C(a.Ce,a.Fe),M(a.we),setTimeout(()=>{let e;return e=a.Fe,e.classList.add("cc--anim")},100)),V(2)};function el(e,t,r,i,a){let n=m.o,o=m.ne,s=k("label"),c=k("input"),u=k("span"),h=k("span"),f=k("span"),g=k("span"),b=k("span");if(g.innerHTML=H(1,3),b.innerHTML=H(0,3),c.type="checkbox",s.classList.add("section__toggle-wrapper"),c.classList.add("section__toggle"),g.classList.add("toggle__icon-on"),b.classList.add("toggle__icon-off"),u.classList.add("toggle__icon"),h.classList.add("toggle__icon-circle"),f.classList.add("toggle__label"),_(u,d,"true"),i?(s.classList.add("toggle-service"),_(c,l,a),o.se[a][t]=c):o.ae[t]=c,i?E(c,"change",()=>{let e=o.se[a],t=o.ae[a];for(let t in n.Z[a]=[],e){let r=e[t];r.checked&&n.Z[a].push(r.value)}t.checked=n.Z[a].length>0}):E(c,p,()=>{let e=o.se[t],r=c.checked;for(let i in n.Z[t]=[],e)e[i].checked=r,r&&n.Z[t].push(i)}),c.value=t,f.textContent=e.replace(/<.*>.*<\/.*>/gm,""),C(h,b),C(h,g),C(u,h),n.D)(r.readOnly||r.enabled)&&(c.checked=!0);else if(i){let e=n.Y[a];c.checked=r.readOnly||v(e,t)}else v(n.R,t)&&(c.checked=!0);return r.readOnly&&(c.disabled=!0),C(s,c),C(s,u),C(s,f),s}let ec=()=>{let e=k("span");return m.ne.Ke||(m.ne.Ke=e),e},ed=(e,t)=>{let r=m.o,i=m.ne,{hide:a,showPreferences:n,acceptCategory:o}=e,s=r.u&&r.u.consentModal;if(!s)return;let l=s.acceptAllBtn,g=s.acceptNecessaryBtn,v=s.showPreferencesBtn,b=s.closeIconLabel,y=s.footer,x=s.label,S=s.title,w=e=>{a(),o(e)};if(!i.Qe){let e,t;i.Qe=k("div"),i.he=k("div"),i.We=k("div"),i.Xe=k("div"),i.Ye=k("div"),e=i.Qe,e.classList.add("cm-wrapper"),t=i.he,t.classList.add("cm"),P(i.We,"body"),P(i.Xe,"texts"),P(i.Ye,"btns"),_(i.he,"role","dialog"),_(i.he,"aria-modal","true"),_(i.he,d,"false"),_(i.he,"aria-describedby","cm__desc"),x?_(i.he,"aria-label",x):S&&_(i.he,"aria-labelledby","cm__title");let a=r.i.guiOptions,n=a&&a.consentModal,o="box"===(n&&n.layout||"box").split(" ")[0];S&&b&&o&&(i.Le||(i.Le=k(c),i.Le.innerHTML=H(),P(i.Le,"btn"),P(i.Le,"btn--close"),E(i.Le,p,()=>{w([])}),C(i.We,i.Le)),_(i.Le,"aria-label",b)),C(i.We,i.Xe),(l||g||v)&&C(i.We,i.Ye),i.be=k("div"),_(i.be,"tabIndex",-1),C(i.he,i.be),C(i.he,i.We),C(i.Qe,i.he)}S&&(i.Ze||(i.Ze=k("h2"),i.Ze.className=i.Ze.id="cm__title",C(i.Xe,i.Ze)),i.Ze.innerHTML=S);let R=s.description;if(R&&(r.V&&(R=R.replace("{{revisionMessage}}",r.I?"":s.revisionMessage||"")),i.et||(i.et=k("p"),i.et.className=i.et.id="cm__desc",C(i.Xe,i.et)),i.et.innerHTML=R),l&&(i.tt||(i.tt=k(c),C(i.tt,ec()),P(i.tt,"btn"),_(i.tt,h,"all"),E(i.tt,p,()=>{w("all")})),i.tt.firstElementChild.innerHTML=l),g&&(i.Ie||(i.Ie=k(c),C(i.Ie,ec()),P(i.Ie,"btn"),_(i.Ie,h,"necessary"),E(i.Ie,p,()=>{w([])}
13)),i.Ie.firstElementChild.innerHTML=g),v&&(i.ot||(i.ot=k(c),C(i.ot,ec()),P(i.ot,"btn"),P(i.ot,"btn--secondary"),_(i.ot,h,"show"),E(i.ot,"mouseenter",()=>{r.N||es(e,t)}),E(i.ot,p,n)),i.ot.firstElementChild.innerHTML=v),i.nt||(i.nt=k("div"),P(i.nt,u),l&&C(i.nt,i.tt),g&&C(i.nt,i.Ie),(l||g)&&C(i.We,i.nt),C(i.Ye,i.nt)),i.ot&&!i.st&&(i.st=k("div"),i.Ie&&i.tt?(P(i.st,u),C(i.st,i.ot),C(i.Ye,i.st)):(C(i.nt,i.ot),P(i.nt,u+"--uneven"))),y){if(!i.ct){let e=k("div"),t=k("div");i.ct=k("div"),P(e,"footer"),P(t,"links"),P(i.ct,"link-group"),C(t,i.ct),C(e,t),C(i.he,e)}i.ct.innerHTML=y}en(0),r.T||(r.T=!0,$(m.re.ue,f,i.he),t(e),C(i.Ce,i.Qe),M(i.he),setTimeout(()=>{let e;return e=i.Qe,e.classList.add("cc--anim")},100)),V(1),W(i.We,e,es,t)},eu=e=>{if("string"!=typeof e)return null;if(e in m.o._)return e;let t=e.slice(0,2);return t in m.o._?t:null},ep=()=>m.o.l||m.o.i.language.default,eh=e=>{e&&(m.o.l=e)},ef=async e=>{let t=m.o,r=eu(e)?e:ep(),i=t._[r];if("string"==typeof i?i=await (async e=>{try{let t=await fetch(e);return await t.json()}catch(e){return console.error(e),!1}})(i):y(i)&&(i=await i()),!i)throw`Could not load translation for the '${r}' language`;return t.u=i,eh(r),!0},eg=()=>{let e=m.ne;if(e.Ce)return;e.Ce=k("div"),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),(()=>{let e=m.o.i.language.rtl,t=m.ne.Ce;e&&t&&(Array.isArray(e)||(e=[e]),v(e,m.o.l)?t.classList.add("cc--rtl"):t.classList.remove("cc--rtl"))})();let t=m.o.i.root;t&&"string"==typeof t&&(t=document.querySelector(t)),(t||e.Ue.body).appendChild(e.Ce)},em=(e,t)=>{if(t instanceof RegExp)return e.filter(e=>t.test(e));{let r=e.indexOf(t);return r>-1?[e[r]]:[]}},ev=(e,t,r)=>{if(0===e.length)return;let i=r||m.t.cookie.domain,a=t||m.t.cookie.path,n="www."===i.slice(0,4),o=n&&i.substring(4),s=(e,t)=>{t&&"."!==t.slice(0,1)&&(t="."+t),document.cookie=e+"=; path="+a+(t?"; domain="+t:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(let t of e)s(t,r),r||s(t,i),n&&s(t,o)},eb=e=>v(m.o.D?[]:m.o.R,e),ey=(e,t)=>v(m.o.D?[]:m.o.Y[t]||[],e),ex=e=>{let{ne:t,o:r}=m;if(!r.k){let i;if(!r.T){if(!e)return;ed(eS,eg)}r.k=!0,r.J=document.activeElement,r.v&&N(!0),D(t.he,1),i=t.ye,i.classList.add(n),_(t.he,d,"false"),setTimeout(()=>{L(m.ne.be)},100),$(m.re.fe,f)}};var eS={show:ex,hide:()=>{let e,{ne:t,o:r,re:i}=m;r.k&&(r.k=!1,r.v&&N(),L(t.Ke,!0),e=t.ye,e.classList.remove(n),_(t.he,d,"true"),L(r.J),r.J=null,$(i._e,f))},showPreferences:()=>{let e,t=m.o;t.A||(t.N||es(eS,eg),t.A=!0,t.k?t.U=document.activeElement:t.J=document.activeElement,D(m.ne.we,2),e=m.ne.ye,e.classList.add(o),_(m.ne.we,d,"false"),setTimeout(()=>{L(m.ne.ve)},100),$(m.re.fe,g))},hidePreferences:()=>{let e,t=m.o;t.A&&(t.A=!1,(()=>{let e=ew(),t=m.o.P,r=m.ne.ae,i=m.ne.se,a=e=>v(m.o.$,e);for(let n in r){let o=!!t[n].readOnly;for(let t in r[n].checked=o||(e?eb(n):a(n)),i[n])i[n][t].checked=o||(e?ey(t,n):a(n))}})(),L(m.ne.$e,!0),e=m.ne.ye,e.classList.remove(o),_(m.ne.we,d,"true"),t.k?(L(t.U),t.U=null):(L(t.J),t.J=null),$(m.re._e,g))},acceptCategory:(e,t=[])=>{((e,t)=>
13{let{O:r,R:i,B:a,N:n,Z:o,$:s,X:l}=m.o,c=[];if(e)for(let t of(Array.isArray(e)?c.push(...e):"string"==typeof e&&(c="all"===e?r:[e]),r))o[t]=v(c,t)?x(l[t]):[];else c=[...i,...s],n&&(c=(()=>{let e=m.ne.ae;if(!e)return[];let t=[];for(let r in e)e[r].checked&&t.push(r);return t})());(c=c.filter(e=>!v(r,e)||!v(t,e))).push(...a),F(c)})(e,t),(()=>{let e=m.o,{Z:t,B:r,Y:i,X:a,O:n}=e;for(let o of(e.te=z(i),n)){let n=x(a[o]),s=t[o]&&t[o].length>0,l=v(r,o);if(0!==n.length){if(i[o]=[],l)i[o].push(...n);else if(s){let e=t[o];i[o].push(...e)}else i[o]=e.Z[o];i[o]=S(i[o])}}})(),(()=>{let e=m.o;e.L=m.t.mode===a&&e.D?A(e.$,e.R):A(e.R,e.p.categories);let t=e.L.length>0,r=!1;for(let t of e.O)e.ee[t]=A(e.Y[t],e.te[t]),e.ee[t].length>0&&(r=!0);let n=m.ne.ae;for(let t in n)n[t].checked=v(e.R,t);for(let t of e.O){let r=m.ne.se[t],i=e.Y[t];for(let e in r)r[e].checked=v(i,e)}e.C||(e.C=new Date),e.M||(e.M="10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))),e.p={categories:z(e.R),revision:m.t.revision,data:e.h,consentTimestamp:e.C.toISOString(),consentId:e.M,services:z(e.Y),languageCode:m.o.l},e.S&&(e.p.lastConsentTimestamp=e.S.toISOString());let o=!1,s=t||r;(e.D||s)&&(e.D&&(e.D=!1,o=!0),e.S=e.S?new Date:e.C,e.p.lastConsentTimestamp=e.S.toISOString(),(e=>{let t,r,{hostname:i,protocol:a}=location,{name:n,path:o,domain:s,sameSite:l,useLocalStorage:c,secure:d}=m.t.cookie,u=e?(r=(t=m.o.S)?new Date-t:0,864e5*O()-r):864e5*O(),p=new Date;p.setTime(p.getTime()+u),m.o.p.expirationTime=p.getTime();let h=JSON.stringify(m.o.p),f=n+"="+encodeURIComponent(h)+(0!==u?"; expires="+p.toUTCString():"")+"; Path="+o+"; SameSite="+l;v(i,".")&&(f+="; Domain="+s),d&&"https:"===a&&(f+="; Secure"),c?q(()=>localStorage.setItem(n,h)):document.cookie=f,m.o.p})(),m.t.autoClearCookies&&(o||s)&&(e=>{let t,r=m.o,i=(e=>{let t=document.cookie.split(/;\s*/),r=[];for(let i of t){let t=i.split("=")[0];e?q(()=>{e.test(t)&&r.push(t)}):r.push(t)}return r})(),a=(t=m.o,(e?t.O:t.L).filter(e=>{let r=t.P[e];return!!r&&!r.readOnly&&!!r.autoClear}));for(let e in r.ee)for(let t of r.ee[e]){let a=r.X[e][t].cookies;if(!v(r.Y[e],t)&&a)for(let e of a)ev(em(i,e.name),e.path,e.domain)}for(let t of a){let a=r.P[t].autoClear,n=a&&a.cookies||[],o=v(r.L,t),s=!v(r.R,t),l=o&&s;if(e?s:l)for(let e of(a.reloadPage&&l&&(r.j=!0),n))ev(em(i,e.name),e.path,e.domain)}})(o),Q()),o&&($(m.re.ie),$(m.re.le),m.t.mode===i)||(s&&$(m.re.de),e.j&&(e.j=!1,location.reload()))})()}};let ew=()=>!m.o.D,ek=async e=>{let{o:t,t:r,re:i}=m,n=window;if(!n._ccRun){if(n._ccRun=!0,(e=>{let{ne:t,t:r,o:i}=m,{cookie:n}=r,o=m.ce,s=e.cookie,c=e.categories,d=x(c)||[],u=navigator,p=document;t.Ue=p,t.ye=p.documentElement,n.domain=location.hostname,i.i=e,i.P=c,i.O=d,i._=e.language.translations,i.v=!!e.disablePageInteraction,o.ie=e.onFirstConsent,o.le=e.onConsent,o.de=e.onChange,o._e=e.onModalHide,o.fe=e.onModalShow,o.ue=e.onModalReady;let{mode:h,autoShow:f,lazyHtmlGeneration:g,autoClearCookies:y,revision:S,manageScriptTags:w,hideFromBots:k}=e;h===a&&(r.mode=h),"boolean"==typeof y&&(r.autoClearCookies=y),"boolean"==typeof w&&(r.manageScriptTags=w),"number"==typeof S&&S>=0&&(r.revision=S,i.V=!0),"boolean"==typeof f&&(r.autoShow=f),"boolean"==typeof g&&(r.lazyHtmlGeneration=g),!1===k&&(r.hideFromBots=!1),!0===r.hideFromBots&&u&&(i.G=u.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(u.userAgent)||u.webdriver),b(s)&&(r.cookie={...n,...s}),r.autoClearCookies,i.V,r.manageScriptTags,(e=>{let{P:t,X:r,Y:i,Z:a,B:n}=m.o;for(let o of e){let e=t[o],s=e.services||{},l=b(s)&&x(s)||[];for(let t of(r[o]={},i[o]=[],a[o]=[],e.readOnly&&(n.push(o),i[o]=l),m.ne.se[o]={},l)){let e=s[t];e.Se=!1,r[o][t]=e}}})(d),(()=>{let e,t;if(!m.t.manageScriptTags)return;let r=m.o;for(let i of(e=document,t="script["+l+"]",e.querySelectorAll(t))){let e=j(i,l),t=i.dataset.service||"",a=!1;if(e&&"!"===e.charAt(0)&&(e=e.slice(1),a=!0),"!"===t.charAt(0)&&(t=t.slice(1),a=!0),v(r.O,e)&&(r.oe.push({Me:i,xe:!1,ke:a,De:e,Te:t}),t)){let i=r.X[e];i[t]||(i[t]={Se:!1})}}})(),eh((()=>{let e=m.o.i.language.autoDetect;if(e){let t=eu({browser:navigator.language,document:document.documentElement.lang}[e]);if(t)return t}return ep()})())})(e),t.G)return;(()=>{let e,t=m.o,r=m.t,i=(e=>{var t,r,i;let a,n=e||m.t.cookie.name,o=m.t.cookie.useLocalStorage;return t=o?q(()=>localStorage.getItem(n))||"":(r=n,i=!0,(a=document.cookie.match("(^|;)\\s*"+r+"\\s*=\\s*([^;]+)"))?i?a.pop():r:""),q(()=>JSON.parse(o?t:decodeURIComponent(t)),!0)||{}})(),{categories:n,services:o,consentId:s,consentTimestamp:l,lastConsentTimestamp:c,data:d,revision:u}=i,p=Array.isArray(n);t.p=i,t.M=s;let h=!!s&&"string"==typeof s;t.C=l,t.C&&(t.C=new Date(l)),t.S=c,t.S&&(t.S=new Date(c)),t.h=void 0!==d?d:null,t.V&&h&&u!==r.revision&&(t.I=!1),t.D=!(h&&t.I&&t.C&&t.S&&p),r.cookie.useLocalStorage&&!t.D&&(t.D=(new Date).getTime()>(i.expirationTime||0),t.D&&(e=r.cookie.name,q(()=>
13localStorage.removeItem(e)))),t.D,(()=>{let e=m.o;for(let t of e.O){let r=e.P[t];if(r.readOnly||r.enabled){e.$.push(t);let r=e.X[t]||{};for(let i in r)e.Z[t].push(i),e.i.mode===a&&e.Y[t].push(i)}}})(),t.D?r.mode===a&&(t.R=[...t.$]):(t.Y={...t.Y,...o},t.Z={...t.Y},F([...t.B,...n]))})();let o=ew();if(!await ef())return!1;if(W(null,eS,es,eg),m.o.D&&ed(eS,eg),m.t.lazyHtmlGeneration||es(eS,eg),r.autoShow&&!o&&ex(!0),o)return Q(),$(i.le);r.mode===a&&Q(t.$)}};e.s(["default",0,()=>((0,r.useEffect)(()=>{ek({guiOptions:{consentModal:{layout:"box",position:"bottom left",equalWeightButtons:!1,flipButtons:!1},preferencesModal:{layout:"bar",position:"left",equalWeightButtons:!0,flipButtons:!1}},categories:{necessary:{readOnly:!0},analytics:{},marketing:{}},language:{default:"en",autoDetect:"browser",translations:{en:{consentModal:{title:"Signal-to-Cookie Ratio!",description:"We use cookies for analytics and marketing to keep our data (and your experience) accurate and reliable.",closeIconLabel:"",acceptAllBtn:"Accept all",acceptNecessaryBtn:"Reject all",showPreferencesBtn:"Manage preferences",footer:'<a href="https://dewesoft.com/privacy-policy">Privacy Policy</a>\n<a href="https://dewesoft.com/terms-and-conditions">Terms and conditions</a>'},preferencesModal:{title:"Consent Preferences Center",closeIconLabel:"Close modal",acceptAllBtn:"Accept all",acceptNecessaryBtn:"Reject all",savePreferencesBtn:"Save preferences",serviceCounterLabel:"Service|Services",sections:[{title:"Cookie Usage",description:"We use cookies to understand how our website is used, improve its performance, and deliver relevant content. Some cookies are essential for the site to function properly, while others help us analyze traffic and support our marketing efforts. You can manage your cookie preferences at any time in the settings."},{title:'Strictly Necessary Cookies <span class="pm__badge">Always Enabled</span>',description:"These cookies are essential for the website to function properly. They enable core features such as secure login, navigation, and access to certain areas. Without them, the site cannot operate as intended.",linkedCategory:"necessary"},{title:"Analytics Cookies",description:"Analytics cookies help us understand how visitors use our website. By collecting anonymous data, we can measure performance, improve usability, and make sure the content you see is as useful as possible.",linkedCategory:"analytics"},{title:"Marketing Cookies",description:"Marketing cookies allow us to provide more personalized communication and content. They help us tailor your experience, ensuring that the information you receive from Dewesoft is relevant to your interests.",linkedCategory:"marketing"},{title:"More information",description:'For any query in relation to my policy on cookies and your choices, please <a class="cc__link" href="https://dewesoft.com/contact">contact us</a>.'}]}}}}})},[]),null)],825702)},546179,e=>{"use strict";var t=e.i(137175),r=e.i(924079),i=e.i(457426);function a(e){return(0,i.GenIcon)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12.5 1H3.5C2.122 1 1 2.122 1 3.5V12.5C1 13.878 2.122 15 3.5 15H12.5C13.878 15 15 13.878 15 12.5V3.5C15 2.122 13.878 1 12.5 1ZM14 12.5C14 13.327 13.327 14 12.5 14H3.5C2.673 14 2 13.327 2 12.5V3.5C2 2.673 2.673 2 3.5 2H12.5C13.327 2 14 2.673 14 3.5V12.5ZM12 3H4C3.448 3 3 3.448 3 4V6C3 6.552 3.448 7 4 7H12C12.552 7 13 6.552 13 6V4C13 3.448 12.552 3 12 3ZM12 6H4V4H12V6ZM12 8H9C8.448 8 8 8.448 8 9V12C8 12.552 8.448 13 9 13H12C12.552 13 13 12.552 13 12V9C13 8.448 12.552 8 12 8ZM12 12H9V9H12V12ZM7 8.5C7 8.776 6.776 9 6.5 9H3.5C3.224 9 3 8.776 3 8.5C3 8.224 3.224 8 3.5 8H6.5C6.776 8 7 8.224 7 8.5ZM7 10.5C7 10.776 6.776 11 6.5 11H3.5C3.224 11 3 10.776 3 10.5C3 10.224 3.224 10 3.5 10H6.5C6.776 10 7 10.224 7 10.5ZM7 12.5C7 12.776 6.776 13 6.5 13H3.5C3.224 13 3 12.776 3 12.5C3 12.224 3.224 12 3.5 12H6.5C6.776 12 7 12.224 7 12.5Z"},child:[]}]})(e)}var n=e.i(169334);e.s(["default",0,function({isEnabled:e}){let i=(0,n.usePathname)();return e?(0,t.jsxs)(r.Link,{href:`/api/preview/disable?redirect=${i}`,textDecoration:"none",_hover:{textDecoration:"none"},display:"flex",alignItems:"center",bg:"red.500",color:"white",borderRadius:"md",fontWeight:"medium",fontSize:"sm","aria-label":"Exit Preview Mode",children:[(0,t.jsx)(a,{}),(0,t.jsx)("span",{children:"Exit Preview"})]}):null}],546179)},180250,e=>{"use strict";var t=e.i(137175),r=e.i(4660);e.s(["default",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{id:"linkedin-init",strategy:"afterInteractive",children:`
14          _linkedin_partner_id = "9431522";
15          window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
16          window._linkedin_data_partner_ids.push(_linkedin_partner_id);
17        `}),(0,t.jsx)(r.default,{id:"linkedin-insight",src:"https://snap.licdn.com/li.lms-analytics/insight.min.js",strategy:"afterInteractive"}),(0,t.jsx)("noscript",{children:(0,t.jsx)("img",{height:"1",width:"1",style:{display:"none"},alt:"",src:"https://px.ads.linkedin.com/collect/?pid=9431522&fmt=gif"})})]})}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.