PageSourceSearch

https://www.bellwork.ai/_next/static/chunks/11nwhz8.cxru1.js?dpl=dpl_FCTR9YHpKoQXM9fvhs7He3syoYEP

js bellwork.ai collected 2026-10-05 13:37:09 UTC 26,313 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,765491,e=>{"use strict";let t;var r=e.i(271645),n=e.i(820783),i=e.i(248425),o=e.i(30207),s=e.i(843476),a="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:d=!1,trapped:v=!1,onMountAutoFocus:m,onUnmountAutoFocus:y,...b}=e,[g,w]=r.useState(null),E=(0,o.useCallbackRef)(m),x=(0,o.useCallbackRef)(y),R=r.useRef(null),C=(0,n.useComposedRefs)(t,e=>w(e)),A=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(v){let e=function(e){if(A.paused||!g)return;let t=e.target;g.contains(t)?R.current=t:p(R.current,{select:!0})},t=function(e){if(A.paused||!g)return;let t=e.relatedTarget;null!==t&&(g.contains(t)||p(R.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(g)});return g&&r.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[v,g,A.paused]),r.useEffect(()=>{if(g){h.add(A);let e=document.activeElement;if(!g.contains(e)){let t=new CustomEvent(a,u);g.addEventListener(a,E),g.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(p(n,{select:t}),document.activeElement!==r)return}(c(g).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(g))}return()=>{g.removeEventListener(a,E),setTimeout(()=>{let t=new CustomEvent(l,u);g.addEventListener(l,x),g.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),g.removeEventListener(l,x),h.remove(A)},0)}}},[g,E,x,A]);let S=r.useCallback(e=>{if(!d&&!v||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){var n;let t,i=e.currentTarget,[o,s]=[f(t=c(n=i),n),f(t.reverse(),n)];o&&s?e.shiftKey||r!==s?e.shiftKey&&r===o&&(e.preventDefault(),d&&p(s,{select:!0})):(e.preventDefault(),d&&p(o,{select:!0})):r===i&&e.preventDefault()}},[d,v,A.paused]);return(0,s.jsx)(i.Primitive.div,{tabIndex:-1,...b,ref:C,onKeyDown:S})});function c(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function f(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function p(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}d.displayName="FocusScope";var h=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=v(t,e)).unshift(e)},remove(e){t=v(t,e),t[0]?.resume()}});function v(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}e.s(["FocusScope",0,d])},726330,774606,e=>{"use strict";var t,r=e.i(271645),n=e.i(981140),i=e.i(248425),o=e.i(820783),s=e.i(30207),a=e.i(843476),l="dismissableLayer.update",u=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=r.forwardRef((e,d)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:h,onPointerDownOutside:v,onFocusOutside:m,onInteractOutside:y,onDismiss:b,...g}=e,w=r.useContext(u),[E,x]=r.useState(null),R=E?.ownerDocument??globalThis?.document,[,C]=r.useState({}),A=(0,o.useComposedRefs)(d,e=>x(e)),S=Array.from(w.layers),[P]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),k=S.indexOf(P),L=E?S.indexOf(E):-1,T=w.layersWithOutsidePointerEventsDisabled.size>0,D=L>=k,F=function(e,t=globalThis?.document){let n=(0,s.useCallbackRef)(e),i=r.useRef(!1),o=r.useRef(()=>{});return r.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let r=function(){f("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...w.branches].some(e=>e.contains(t));D&&!r&&(v?.(e),y?.(e),e.defaultPrevented||b?.())},R),j=function(e,t=globalThis?.document){let n=(0,s.useCallbackRef)(e),i=r.useRef(!1);return r.useEffect(()=>{let e=e=>{e.target&&!i.current&&f("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(m?.(e),y?.(e),e.defaultPrevented||b?.())},R);return!function(e,t=globalThis?.document){let n=(0,s.useCallbackRef)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{L===w.layers.size-1&&(h?.(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},R),r.useEffect(()=>{if(E)return p&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(E)),w.layers.add(E),c(),()=>{p&&1===w.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[E,R,p,w]),r.useEffect(()=>()=>{E&&(w.layers.delete(E),w.layersWithOutsidePointerEventsDisabled.delete(E),c())},[E,w]),r.useEffect(()=>{let e=()=>C({});return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,a.jsx)(i.Primitive.div,{...g,ref:A,style:{pointerEvents:T?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,n.composeEventHandlers)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,n.composeEventHandlers)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,n.composeEventHandlers)(e.onPointerDownCapture,F.onPointerDownCapture)})});function c(){let e=new CustomEvent(l);document.dispatchEvent(e)}function f(e,t,r,{discrete:n}){let o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,i.dispatchDiscreteCustomEvent)(o,s):o.dispatchEvent(s)}d.displayName="DismissableLayer",r.forwardRef((e,t)=>
1{let n=r.useContext(u),s=r.useRef(null),l=(0,o.useComposedRefs)(t,s);return r.useEffect(()=>{let e=s.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,a.jsx)(i.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,d],726330);var p=e.i(174080),h=e.i(934620),v=r.forwardRef((e,t)=>{let{container:n,...o}=e,[s,l]=r.useState(!1);(0,h.useLayoutEffect)(()=>l(!0),[]);let u=n||s&&globalThis?.document?.body;return u?p.default.createPortal((0,a.jsx)(i.Primitive.div,{...o,ref:t}),u):null});v.displayName="Portal",e.s(["Portal",0,v],774606)},303536,e=>{"use strict";var t=e.i(271645),r=0;function n(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??n()),document.body.insertAdjacentElement("beforeend",e[1]??n()),r++,()=>{1===r&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),r--}},[])}])},635804,e=>{"use strict";var t=e.i(271645),r=e.i(934620);e.s(["useSize",0,function(e){let[n,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;i({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),n}])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},853660,959411,e=>{"use strict";var t=e.i(271645),r=e.i(258950),n=e.i(953760),i=e.i(248425),o=e.i(843476),s=t.forwardRef((e,t)=>{let{children:r,width:n=10,height:s=5,...a}=e;return(0,o.jsx)(i.Primitive.svg,{...a,ref:t,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,o.jsx)("polygon",{points:"0,0 30,0 15,10"})})});s.displayName="Arrow";var a=e.i(820783),l=e.i(30030),u=e.i(30207),d=e.i(934620),c=e.i(635804),f="Popper",[p,h]=(0,l.createContextScope)(f),[v,m]=p(f),y=e=>{let{__scopePopper:r,children:n}=e,[i,s]=t.useState(null);return(0,o.jsx)(v,{scope:r,anchor:i,onAnchorChange:s,children:n})};y.displayName=f;var b="PopperAnchor",g=t.forwardRef((e,r)=>{let{__scopePopper:n,virtualRef:s,...l}=e,u=m(b,n),d=t.useRef(null),c=(0,a.useComposedRefs)(r,d),f=t.useRef(null);return t.useEffect(()=>{let e=f.current;f.current=s?.current||d.current,e!==f.current&&u.onAnchorChange(f.current)}),s?null:(0,o.jsx)(i.Primitive.div,{...l,ref:c})});g.displayName=b;var w="PopperContent",[E,x]=p(w),R=t.forwardRef((e,s)=>{let{__scopePopper:l,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:y=0,avoidCollisions:b=!0,collisionBoundary:g=[],collisionPadding:x=0,sticky:R="partial",hideWhenDetached:C=!1,updatePositionStrategy:A="optimized",onPlaced:S,...T}=e,D=m(w,l),[F,j]=t.useState(null),O=(0,a.useComposedRefs)(s,e=>j(e)),[I,N]=t.useState(null),z=(0,c.useSize)(I),H=z?.width??0,M=z?.height??0,K="number"==typeof x?x:{top:0,right:0,bottom:0,left:0,...x},W=Array.isArray(g)?g:[g],$=W.length>0,B={padding:K,boundary:W.filter(P),altBoundary:$},{refs:_,floatingStyles:U,placement:V,isPositioned:G,middlewareData:Y}=(0,r.useFloating)({strategy:"fixed",placement:f+("center"!==h?"-"+h:""),whileElementsMounted:(...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===A}),elements:{reference:D.anchor},middleware:[(0,r.offset)({mainAxis:p+M,alignmentAxis:v}),b&&(0,r.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?(0,r.limitShift)():void 0,...B}),b&&(0,r.flip)({...B}),(0,r.size)({...B,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}}),I&&(0,r.arrow)({element:I,padding:y}),k({arrowWidth:H,arrowHeight:M}),C&&(0,r.hide)({strategy:"referenceHidden",...B})]}),[q,X]=L(V),Z=(0,u.useCallbackRef)(S);(0,d.useLayoutEffect)(()=>{G&&Z?.()},[G,Z]);let J=Y.arrow?.x,Q=Y.arrow?.y,ee=Y.arrow?.centerOffset!==0,[et,er]=t.useState();return(0,d.useLayoutEffect)(()=>{F&&er(window.getComputedStyle(F).zIndex)},[F]),(0,o.jsx)("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:G?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,o.jsx)(E,{scope:l,placedSide:q,onArrowChange:N,arrowX:J,arrowY:Q,shouldHideArrow:ee,children:(0,o.jsx)(i.Primitive.div,{"data-side":q,"data-align":X,...T,ref:O,style:{...T.
1style,animation:G?void 0:"none"}})})})});R.displayName=w;var C="PopperArrow",A={top:"bottom",right:"left",bottom:"top",left:"right"},S=t.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=x(C,r),a=A[i.placedSide];return(0,o.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,o.jsx)(s,{...n,ref:t,style:{...n.style,display:"block"}})})});function P(e){return null!==e}S.displayName=C;var k=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=L(r),d={start:"0%",center:"50%",end:"100%"}[u],c=(i.arrow?.x??0)+s/2,f=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===l?(p=o?d:`${c}px`,h=`${-a}px`):"top"===l?(p=o?d:`${c}px`,h=`${n.floating.height+a}px`):"right"===l?(p=`${-a}px`,h=o?d:`${f}px`):"left"===l&&(p=`${n.floating.width+a}px`,h=o?d:`${f}px`),{data:{x:p,y:h}}}});function L(e){let[t,r="center"]=e.split("-");return[t,r]}e.s(["Anchor",0,g,"Arrow",0,S,"Content",0,R,"Root",0,y,"createPopperScope",0,h],853660);var T=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),D=t.forwardRef((e,t)=>(0,o.jsx)(i.Primitive.span,{...e,ref:t,style:{...T,...e.style}}));D.displayName="VisuallyHidden",e.s(["Root",0,D,"VISUALLY_HIDDEN_STYLES",0,T],959411)},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),i=e.i(843476);function o(e){var r;let o,s=(r=e,(o=t.forwardRef((e,r)=>{let{children:i,...o}=e;if(t.isValidElement(i)){var s;let e,a,l=(s=i,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,i.props);return i.type!==t.Fragment&&(u.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(i,u)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,o),l=t.forwardRef((e,r)=>{let{children:n,...o}=e,l=t.Children.toArray(n),u=l.find(a);if(u){let e=u.props.children,n=l.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(s,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,i.jsx)(s,{...o,ref:r,children:n})});return l.displayName=`${e}.Slot`,l}var s=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var l=new WeakMap;function u(e,t){var r,n;let i,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,n=t,i=r.length,(s=(o=d(n))>=0?o:i+o)<0||s>=i?-1:s);return -1===a?void 0:e[a]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=d(e),a=s>=0?s:o+s,l=a<0||a>=o?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;s<0&&a++;let c=[...this.#e],f=!1;for(let e=a;e<u;e++)if(a===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||c[e-1]!==t||(f=!0);let r=c[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=u(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=u(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return u(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let s=e+"CollectionProvider",[a,l]=(0,r.createContextScope)(s),[u,d]=a(s,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:r,children:n}=e,o=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,i.jsx)(u,{scope:r,itemMap:s,collectionRef:o,children:n})};c.displayName=s;let f=e+"CollectionSlot",p=o(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:o}=e,s=d(f,r),a=(0,n.useComposedRefs)(t,s.collectionRef);return(0,i.jsx)(p,{ref:a,children:o})});h.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",y=o(v),b=t.default.forwardRef((e,r)=>{let{scope:o,children:s,...a}=e,l=t.default.useRef(null),u=(0,n.useComposedRefs)(r,l),c=d(v,o);return t.default.useEffect(()=>(c.itemMap.set(l,{ref:l,...a}),()=>void c.itemMap.delete(l))),(0,i.jsx)(y,{...{[m]:""},ref:u,children:s})});return b.displayName=v,[{Provider:c,Slot:h,ItemSlot:b},function(r){let n=d(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}],75830)},586318,e=>{"use strict";var t=e.i(271645),r=e.i(843476),n=t.createContext(void 0);e.s(["DirectionProvider",0,e=>{let{dir:t,children:i}=e;return(0,r.jsx)(n.Provider,{value:t,children:i})},"useDirection",0,function(e){let r=t.useContext(n);return e||r||"ltr"}])},842727,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(75830),i=e.i(820783),o=e.i(30030),s=e.i(610772),a=e.i(248425),l=e.i(30207),u=e.i(369340),d=e.i(586318),c=e.i(843476),f="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[v,m,y]=(0,n.createCollection)(h),[b,g]=(0,o.createContextScope)(h,[y]),[w,E]=b(h),x=t.forwardRef((e,t)=>(0,c.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,c.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,c.jsx)(R,{...e,ref:t})})}));x.displayName=h;var R=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,orientation:s,loop:v=!1,dir:y,currentTabStopId:b,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:E,onEntryFocus:x,preventScrollOnEntryFocus:R=!1,...C}=e,A=t.useRef(null),S=(0,i.useComposedRefs)(n,A),k=(0,d.useDirection)(y),[L,T]=(0,u.useControllableState)({prop:b,defaultProp:g??null,onChange:E,caller:h}),[D,F]=t.useState(!1),j=(0,l.useCallbackRef)(x),O=m(o),I=t.useRef(!1),[N,z]=t.useState(0);return t.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(f,j),()=>e.removeEventListener(f,j)},[j]),(0,c.jsx)(w,{scope:o,orientation:s,dir:k,loop:v,currentTabStopId:L,onItemFocus:t.useCallback(e=>T(e),[T]),onItemShiftTab:t.useCallback(()=>F(!0),[]),onFocusableItemAdd:t.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>z(e=>e-1),[]),children:(0,c.jsx)(a.Primitive.div,{tabIndex:D||0===N?-1:0,"data-orientation":s,...C,ref:S,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{I.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!I.current;if(e.target===e.currentTarget&&t&&!D){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===L),...e].filter(Boolean).map(e=>e.ref.current),R)}}I.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>F(!1))})})}
1),C="RovingFocusGroupItem",A=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,focusable:o=!0,active:l=!1,tabStopId:u,children:d,...f}=e,p=(0,s.useId)(),h=u||p,y=E(C,i),b=y.currentTabStopId===h,g=m(i),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:R}=y;return t.useEffect(()=>{if(o)return w(),()=>x()},[o,w,x]),(0,c.jsx)(v.ItemSlot,{scope:i,id:h,focusable:o,active:l,children:(0,c.jsx)(a.Primitive.span,{tabIndex:b?0:-1,"data-orientation":y.orientation,...f,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{o?y.onItemFocus(h):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>y.onItemFocus(h)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void y.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return S[i]}(e,y.orientation,y.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=y.loop?(r=i,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(o+1)}setTimeout(()=>P(i))}}),children:"function"==typeof d?d({isCurrentTabStop:b,hasTabStop:null!=R}):d})})});A.displayName=C;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",0,A,"Root",0,x,"createRovingFocusGroupScope",0,g])},926209,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(30030),i=e.i(842727),o=e.i(296626),s=e.i(248425),a=e.i(586318),l=e.i(369340),u=e.i(610772),d=e.i(843476),c="Tabs",[f,p]=(0,n.createContextScope)(c,[i.createRovingFocusGroupScope]),h=(0,i.createRovingFocusGroupScope)(),[v,m]=f(c),y=t.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:f="horizontal",dir:p,activationMode:h="automatic",...m}=e,y=(0,a.useDirection)(p),[b,g]=(0,l.useControllableState)({prop:n,onChange:i,defaultProp:o??"",caller:c});return(0,d.jsx)(v,{scope:r,baseId:(0,u.useId)(),value:b,onValueChange:g,orientation:f,dir:y,activationMode:h,children:(0,d.jsx)(s.Primitive.div,{dir:y,"data-orientation":f,...m,ref:t})})});y.displayName=c;var b="TabsList",g=t.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=m(b,r),l=h(r);return(0,d.jsx)(i.Root,{asChild:!0,...l,orientation:a.orientation,dir:a.dir,loop:n,children:(0,d.jsx)(s.Primitive.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});g.displayName=b;var w="TabsTrigger",E=t.forwardRef((e,t)=>{let{__scopeTabs:n,value:o,disabled:a=!1,...l}=e,u=m(w,n),c=h(n),f=C(u.baseId,o),p=A(u.baseId,o),v=o===u.value;return(0,d.jsx)(i.Item,{asChild:!0,...c,focusable:!a,active:v,children:(0,d.jsx)(s.Primitive.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":p,"data-state":v?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:f,...l,ref:t,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(o)}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&u.onValueChange(o)}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==u.activationMode;v||a||!e||u.onValueChange(o)})})})});E.displayName=w;var x="TabsContent",R=t.forwardRef((e,r)=>{let{__scopeTabs:n,value:i,forceMount:a,children:l,...u}=e,c=m(x,n),f=C(c.baseId,i),p=A(c.baseId,i),h=i===c.value,v=t.useRef(h);return t.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.jsx)(o.Presence,{present:a||h,children:({present:t})=>(0,d.jsx)(s.Primitive.div,{"data-state":h?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":f,hidden:!t,id:p,tabIndex:0,...u,ref:r,style:{...e.style,animationDuration:v.current?"0s":void 0},children:t&&l})})});function C(e,t){return`${e}-trigger-${t}`}function A(e,t){return`${e}-content-${t}`}R.displayName=x,e.s(["Content",0,R,"List",0,g,"Root",0,y,"Tabs",0,y,"TabsContent",0,R,"TabsList",0,g,"TabsTrigger",0,E,"Trigger",0,E])}]);

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.